[2026-08-22 00:00:27] local.INFO: TCP Data received {"connection_id":161983,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:00:27] local.INFO: Processing buffer {"connection_id":161983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:00:27] local.INFO: Packet analysis {"connection_id":161983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:00:27] local.INFO: Extracted packet for processing {"connection_id":161983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558177280001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787336931000,"timestamp_ms":1787336931000,"timestamp_seconds":1787336931,"priority":1,"record_length":96,"hex_timestamp":"000001a0259536b8"} 
[2026-08-22 00: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-22 00:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 00: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-22 00:00:27] 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-22 00: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-22 00: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-22 00:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558177280001,"66":25973,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558177280001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:00:27] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:00:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558177280001,"power":25973,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":161983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:00:27] local.INFO: GPS data processed {"connection_id":161983,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:00:27] local.INFO: Acknowledgment sent {"connection_id":161983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:00:51] local.INFO: TCP Data received {"connection_id":160592,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:00:51] local.INFO: Processing buffer {"connection_id":160592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:00:51] local.INFO: IMEI packet received {"connection_id":160592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":160592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:00:56] local.INFO: TCP Data received {"connection_id":160592,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:00:56] local.INFO: Processing buffer {"connection_id":160592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:00:56] local.INFO: IMEI packet received {"connection_id":160592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":160592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:00:56] local.INFO: TCP Data received {"connection_id":160592,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:00:56] local.INFO: Processing buffer {"connection_id":160592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:00:56] local.INFO: Packet analysis {"connection_id":160592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:00:56] local.INFO: Extracted packet for processing {"connection_id":160592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558177280001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787336931000,"timestamp_ms":1787336931000,"timestamp_seconds":1787336931,"priority":1,"record_length":96,"hex_timestamp":"000001a0259536b8"} 
[2026-08-22 00: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-22 00:00: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-22 00: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-22 00:00:56] 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-22 00: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-22 00: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-22 00:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558177280001,"66":25973,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558177280001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:00:56] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558177280001,"power":25973,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":160592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:00:56] local.INFO: GPS data processed {"connection_id":160592,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:00:56] local.INFO: Acknowledgment sent {"connection_id":160592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:01:27] local.INFO: TCP Data received {"connection_id":160592,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:01:27] local.INFO: Processing buffer {"connection_id":160592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:01:27] local.INFO: Packet analysis {"connection_id":160592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:01:27] local.INFO: Extracted packet for processing {"connection_id":160592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558177280001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787336931000,"timestamp_ms":1787336931000,"timestamp_seconds":1787336931,"priority":1,"record_length":96,"hex_timestamp":"000001a0259536b8"} 
[2026-08-22 00: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-22 00:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 00: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-22 00:01:27] 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-22 00: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-22 00: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-22 00:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558177280001,"66":25973,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558177280001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:01:28] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:01:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558177280001,"power":25973,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":160592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:01:28] local.INFO: GPS data processed {"connection_id":160592,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:01:28] local.INFO: Acknowledgment sent {"connection_id":160592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:01:51] local.INFO: TCP Data received {"connection_id":161984,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:01:51] local.INFO: Processing buffer {"connection_id":161984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:01:51] local.INFO: IMEI packet received {"connection_id":161984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":161984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:01:56] local.INFO: TCP Data received {"connection_id":161984,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:01:56] local.INFO: Processing buffer {"connection_id":161984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:01:56] local.INFO: IMEI packet received {"connection_id":161984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":161984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:01:57] local.INFO: TCP Data received {"connection_id":161984,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:01:57] local.INFO: Processing buffer {"connection_id":161984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:01:57] local.INFO: Packet analysis {"connection_id":161984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:01:57] local.INFO: Extracted packet for processing {"connection_id":161984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:01:57] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00:01: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-22 00:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558177280001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787336931000,"timestamp_ms":1787336931000,"timestamp_seconds":1787336931,"priority":1,"record_length":96,"hex_timestamp":"000001a0259536b8"} 
[2026-08-22 00:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:01: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-22 00:01: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":226,"data_length":795,"current_offset":136} 
[2026-08-22 00:01:57] 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-22 00:01: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-22 00:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558177280001,"66":25973,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558177280001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:01:57] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:01:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558177280001,"power":25973,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":161984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:01:57] local.INFO: GPS data processed {"connection_id":161984,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:01:57] local.INFO: Acknowledgment sent {"connection_id":161984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:02:28] local.INFO: TCP Data received {"connection_id":161984,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:02:28] local.INFO: Processing buffer {"connection_id":161984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:02:28] local.INFO: Packet analysis {"connection_id":161984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:02:28] local.INFO: Extracted packet for processing {"connection_id":161984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:02:28] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00:02: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-22 00:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558177280001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787336931000,"timestamp_ms":1787336931000,"timestamp_seconds":1787336931,"priority":1,"record_length":96,"hex_timestamp":"000001a0259536b8"} 
[2026-08-22 00:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 00:02: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":226,"data_length":795,"current_offset":136} 
[2026-08-22 00:02:28] 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-22 00:02: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-22 00:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558177280001,"66":25973,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558177280001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:02:28] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:02:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558177280001,"power":25973,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":161984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:02:28] local.INFO: GPS data processed {"connection_id":161984,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:02:28] local.INFO: Acknowledgment sent {"connection_id":161984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:02:50] local.INFO: TCP Data received {"connection_id":160593,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:02:50] local.INFO: Processing buffer {"connection_id":160593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:02:50] local.INFO: IMEI packet received {"connection_id":160593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":160593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:02:56] local.INFO: TCP Data received {"connection_id":160593,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:02:56] local.INFO: Processing buffer {"connection_id":160593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:02:56] local.INFO: IMEI packet received {"connection_id":160593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":160593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:02:57] local.INFO: TCP Data received {"connection_id":160593,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:02:57] local.INFO: Processing buffer {"connection_id":160593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:02:57] local.INFO: Packet analysis {"connection_id":160593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:02:57] local.INFO: Extracted packet for processing {"connection_id":160593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:02:57] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558177280001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787336931000,"timestamp_ms":1787336931000,"timestamp_seconds":1787336931,"priority":1,"record_length":96,"hex_timestamp":"000001a0259536b8"} 
[2026-08-22 00: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-22 00:02: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-22 00: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-22 00:02:57] 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-22 00: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-22 00: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-22 00:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558177280001,"66":25973,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558177280001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:02:57] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:02:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558177280001,"power":25973,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":160593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:02:57] local.INFO: GPS data processed {"connection_id":160593,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:02:57] local.INFO: Acknowledgment sent {"connection_id":160593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:03:28] local.INFO: TCP Data received {"connection_id":160593,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:03:28] local.INFO: Processing buffer {"connection_id":160593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:03:28] local.INFO: Packet analysis {"connection_id":160593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:03:28] local.INFO: Extracted packet for processing {"connection_id":160593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:03:28] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558177280001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787336931000,"timestamp_ms":1787336931000,"timestamp_seconds":1787336931,"priority":1,"record_length":96,"hex_timestamp":"000001a0259536b8"} 
[2026-08-22 00:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 00:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-22 00:03:28] 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-22 00:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558177280001,"66":25973,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558177280001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:03:28] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:03:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558177280001,"power":25973,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":160593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:03:28] local.INFO: GPS data processed {"connection_id":160593,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:03:28] local.INFO: Acknowledgment sent {"connection_id":160593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:03:56] local.INFO: TCP Data received {"connection_id":161985,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:03:56] local.INFO: Processing buffer {"connection_id":161985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:03:56] local.INFO: IMEI packet received {"connection_id":161985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":161985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:04:01] local.INFO: TCP Data received {"connection_id":161985,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:04:01] local.INFO: Processing buffer {"connection_id":161985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:04:01] local.INFO: IMEI packet received {"connection_id":161985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":161985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:04:01] local.INFO: TCP Data received {"connection_id":161985,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:04:01] local.INFO: Processing buffer {"connection_id":161985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:04:01] local.INFO: Packet analysis {"connection_id":161985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:04:01] local.INFO: Extracted packet for processing {"connection_id":161985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 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-22 00:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558177280001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787336931000,"timestamp_ms":1787336931000,"timestamp_seconds":1787336931,"priority":1,"record_length":96,"hex_timestamp":"000001a0259536b8"} 
[2026-08-22 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-22 00:04: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-22 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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-22 00:04:01] 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-22 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-22 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-22 00:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558177280001,"66":25973,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558177280001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:04:01] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558177280001,"power":25973,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":161985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:04:01] local.INFO: GPS data processed {"connection_id":161985,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:04:01] local.INFO: Acknowledgment sent {"connection_id":161985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:04:06] local.INFO: TCP Data received {"connection_id":161985,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:04:06] local.INFO: Processing buffer {"connection_id":161985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-22 00:04:06] local.INFO: Packet analysis {"connection_id":161985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:04:06] local.INFO: Extracted packet for processing {"connection_id":161985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-22 00:04:06] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558177280001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787336931000,"timestamp_ms":1787336931000,"timestamp_seconds":1787336931,"priority":1,"record_length":96,"hex_timestamp":"000001a0259536b8"} 
[2026-08-22 00:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 00:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-22 00:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558177280001,"66":25973,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558177280001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:04:06] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:04:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558177280001,"power":25973,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":161985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:04:06] local.INFO: GPS data processed {"connection_id":161985,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:04:06] local.INFO: Acknowledgment sent {"connection_id":161985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:04:51] local.INFO: TCP Data received {"connection_id":159665,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:04:51] local.INFO: Processing buffer {"connection_id":159665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:04:51] local.INFO: IMEI packet received {"connection_id":159665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":159665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:04:56] local.INFO: TCP Data received {"connection_id":159665,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:04:56] local.INFO: Processing buffer {"connection_id":159665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:04:56] local.INFO: IMEI packet received {"connection_id":159665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":159665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:04:56] local.INFO: TCP Data received {"connection_id":159665,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:04:56] local.INFO: Processing buffer {"connection_id":159665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:04:56] local.INFO: Packet analysis {"connection_id":159665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:04:56] local.INFO: Extracted packet for processing {"connection_id":159665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558254336001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787337232000,"timestamp_ms":1787337232000,"timestamp_seconds":1787337232,"priority":1,"record_length":96,"hex_timestamp":"000001a02599ce80"} 
[2026-08-22 00: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-22 00:04: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-22 00: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 00:04: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-22 00: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-22 00: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-22 00:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558254336001,"66":25549,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558254336001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:04:56] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:04:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558254336001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":159665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:04:56] local.INFO: GPS data processed {"connection_id":159665,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:04:56] local.INFO: Acknowledgment sent {"connection_id":159665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:05:28] local.INFO: TCP Data received {"connection_id":159665,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:05:28] local.INFO: Processing buffer {"connection_id":159665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:05:28] local.INFO: Packet analysis {"connection_id":159665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:05:28] local.INFO: Extracted packet for processing {"connection_id":159665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:05:28] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558254336001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787337232000,"timestamp_ms":1787337232000,"timestamp_seconds":1787337232,"priority":1,"record_length":96,"hex_timestamp":"000001a02599ce80"} 
[2026-08-22 00: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-22 00:05: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-22 00: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 00:05:28] 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-22 00: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-22 00: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-22 00:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558254336001,"66":25549,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558254336001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:05:28] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:05:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558254336001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":159665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:05:28] local.INFO: GPS data processed {"connection_id":159665,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:05:28] local.INFO: Acknowledgment sent {"connection_id":159665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:05:51] local.INFO: TCP Data received {"connection_id":161986,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:05:51] local.INFO: Processing buffer {"connection_id":161986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:05:51] local.INFO: IMEI packet received {"connection_id":161986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":161986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:05:56] local.INFO: TCP Data received {"connection_id":161986,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:05:56] local.INFO: Processing buffer {"connection_id":161986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:05:56] local.INFO: IMEI packet received {"connection_id":161986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":161986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:05:56] local.INFO: TCP Data received {"connection_id":161986,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:05:56] local.INFO: Processing buffer {"connection_id":161986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:05:56] local.INFO: Packet analysis {"connection_id":161986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:05:56] local.INFO: Extracted packet for processing {"connection_id":161986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558254336001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787337232000,"timestamp_ms":1787337232000,"timestamp_seconds":1787337232,"priority":1,"record_length":96,"hex_timestamp":"000001a02599ce80"} 
[2026-08-22 00: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-22 00:05: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-22 00: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 00:05: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-22 00: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-22 00: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-22 00:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558254336001,"66":25549,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558254336001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:05:56] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558254336001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":161986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:05:57] local.INFO: GPS data processed {"connection_id":161986,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:05:57] local.INFO: Acknowledgment sent {"connection_id":161986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:06:27] local.INFO: TCP Data received {"connection_id":161986,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:06:27] local.INFO: Processing buffer {"connection_id":161986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:06:27] local.INFO: Packet analysis {"connection_id":161986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:06:27] local.INFO: Extracted packet for processing {"connection_id":161986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558254336001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787337232000,"timestamp_ms":1787337232000,"timestamp_seconds":1787337232,"priority":1,"record_length":96,"hex_timestamp":"000001a02599ce80"} 
[2026-08-22 00: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-22 00:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 00:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 00:06:27] 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-22 00: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-22 00: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-22 00:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558254336001,"66":25549,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558254336001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:06:27] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558254336001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":161986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:06:28] local.INFO: GPS data processed {"connection_id":161986,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:06:28] local.INFO: Acknowledgment sent {"connection_id":161986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:06:50] local.INFO: TCP Data received {"connection_id":159396,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:06:50] local.INFO: Processing buffer {"connection_id":159396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:06:50] local.INFO: IMEI packet received {"connection_id":159396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":159396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:06:56] local.INFO: TCP Data received {"connection_id":159396,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:06:56] local.INFO: Processing buffer {"connection_id":159396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:06:56] local.INFO: IMEI packet received {"connection_id":159396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":159396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:06:56] local.INFO: TCP Data received {"connection_id":159396,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:06:56] local.INFO: Processing buffer {"connection_id":159396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:06:56] local.INFO: Packet analysis {"connection_id":159396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:06:56] local.INFO: Extracted packet for processing {"connection_id":159396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558254336001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787337232000,"timestamp_ms":1787337232000,"timestamp_seconds":1787337232,"priority":1,"record_length":96,"hex_timestamp":"000001a02599ce80"} 
[2026-08-22 00: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-22 00:06: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-22 00: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 00:06: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-22 00: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-22 00: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-22 00:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558254336001,"66":25549,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558254336001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:06:56] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558254336001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":159396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:06:56] local.INFO: GPS data processed {"connection_id":159396,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:06:56] local.INFO: Acknowledgment sent {"connection_id":159396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:07:27] local.INFO: TCP Data received {"connection_id":159396,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:07:27] local.INFO: Processing buffer {"connection_id":159396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:07:27] local.INFO: Packet analysis {"connection_id":159396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:07:27] local.INFO: Extracted packet for processing {"connection_id":159396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558254336001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787337232000,"timestamp_ms":1787337232000,"timestamp_seconds":1787337232,"priority":1,"record_length":96,"hex_timestamp":"000001a02599ce80"} 
[2026-08-22 00: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-22 00:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 00: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 00:07:27] 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-22 00: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-22 00: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-22 00:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558254336001,"66":25549,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558254336001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:07:27] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:07:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558254336001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":159396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:07:27] local.INFO: GPS data processed {"connection_id":159396,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:07:27] local.INFO: Acknowledgment sent {"connection_id":159396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:07:50] local.INFO: TCP Data received {"connection_id":161987,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:07:50] local.INFO: Processing buffer {"connection_id":161987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:07:50] local.INFO: IMEI packet received {"connection_id":161987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":161987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:07:56] local.INFO: TCP Data received {"connection_id":161987,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:07:56] local.INFO: Processing buffer {"connection_id":161987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:07:56] local.INFO: IMEI packet received {"connection_id":161987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":161987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:07:56] local.INFO: TCP Data received {"connection_id":161987,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:07:56] local.INFO: Processing buffer {"connection_id":161987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:07:56] local.INFO: Packet analysis {"connection_id":161987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:07:56] local.INFO: Extracted packet for processing {"connection_id":161987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558254336001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787337232000,"timestamp_ms":1787337232000,"timestamp_seconds":1787337232,"priority":1,"record_length":96,"hex_timestamp":"000001a02599ce80"} 
[2026-08-22 00:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:07: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-22 00:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 00:07: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-22 00:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558254336001,"66":25549,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558254336001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:07:56] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558254336001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":161987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:07:56] local.INFO: GPS data processed {"connection_id":161987,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:07:56] local.INFO: Acknowledgment sent {"connection_id":161987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:08:28] local.INFO: TCP Data received {"connection_id":161987,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:08:28] local.INFO: Processing buffer {"connection_id":161987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:08:28] local.INFO: Packet analysis {"connection_id":161987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:08:28] local.INFO: Extracted packet for processing {"connection_id":161987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:08:28] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558254336001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787337232000,"timestamp_ms":1787337232000,"timestamp_seconds":1787337232,"priority":1,"record_length":96,"hex_timestamp":"000001a02599ce80"} 
[2026-08-22 00: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-22 00:08: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-22 00:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 00:08:28] 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-22 00: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-22 00: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-22 00:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558254336001,"66":25549,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558254336001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:08:28] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558254336001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":161987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:08:28] local.INFO: GPS data processed {"connection_id":161987,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:08:28] local.INFO: Acknowledgment sent {"connection_id":161987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:08:56] local.INFO: TCP Data received {"connection_id":161988,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:08:56] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:08:56] local.INFO: IMEI packet received {"connection_id":161988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":161988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:09:01] local.INFO: TCP Data received {"connection_id":161988,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:09:01] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:09:01] local.INFO: IMEI packet received {"connection_id":161988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":161988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:09:02] local.INFO: TCP Data received {"connection_id":161988,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:09:02] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:09:02] local.INFO: Packet analysis {"connection_id":161988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:09:02] local.INFO: Extracted packet for processing {"connection_id":161988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558254336001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787337232000,"timestamp_ms":1787337232000,"timestamp_seconds":1787337232,"priority":1,"record_length":96,"hex_timestamp":"000001a02599ce80"} 
[2026-08-22 00:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 00:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 00:09:02] 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-22 00:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558254336001,"66":25549,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558254336001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:09:02] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558254336001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":161988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:09:02] local.INFO: GPS data processed {"connection_id":161988,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:09:02] local.INFO: Acknowledgment sent {"connection_id":161988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:09:06] local.INFO: TCP Data received {"connection_id":161988,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:09:06] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02599ce80012d7fadc005afe078001300082a..."} 
[2026-08-22 00:09:06] local.INFO: Packet analysis {"connection_id":161988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:09:06] local.INFO: Extracted packet for processing {"connection_id":161988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02599"} 
[2026-08-22 00:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558254336001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787337232000,"timestamp_ms":1787337232000,"timestamp_seconds":1787337232,"priority":1,"record_length":96,"hex_timestamp":"000001a02599ce80"} 
[2026-08-22 00: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-22 00:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 00:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 00:09:06] 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-22 00: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-22 00: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-22 00:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558254336001,"66":25549,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558254336001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:09:06] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558254336001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":161988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:09:06] local.INFO: GPS data processed {"connection_id":161988,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:09:06] local.INFO: Acknowledgment sent {"connection_id":161988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:09:51] local.INFO: TCP Data received {"connection_id":159397,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:09:51] local.INFO: Processing buffer {"connection_id":159397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:09:51] local.INFO: IMEI packet received {"connection_id":159397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":159397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:09:54] local.INFO: TCP Data received {"connection_id":159397,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:09:54] local.INFO: Processing buffer {"connection_id":159397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:09:54] local.INFO: IMEI packet received {"connection_id":159397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":159397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:09:55] local.INFO: TCP Data received {"connection_id":159397,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259e0c70012d7fadc005afe078001200082c..."} 
[2026-08-22 00:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259e0c70012d7fadc005afe078001200082c..."} 
[2026-08-22 00:09:55] local.INFO: Processing buffer {"connection_id":159397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259e0c70012d7fadc005afe078001200082c..."} 
[2026-08-22 00:09:55] local.INFO: Packet analysis {"connection_id":159397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0259e"} 
[2026-08-22 00:09:55] local.INFO: Extracted packet for processing {"connection_id":159397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0259e"} 
[2026-08-22 00:09:55] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":18,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-22 00:09: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-22 00:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558331392001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787337510000,"timestamp_ms":1787337510000,"timestamp_seconds":1787337510,"priority":1,"record_length":96,"hex_timestamp":"000001a0259e0c70"} 
[2026-08-22 00: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-22 00:09: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-22 00:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 00:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558331392001,"66":25712,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558331392001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:09:55] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:09:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558331392001,"power":25712,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":159397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:09:55] local.INFO: GPS data processed {"connection_id":159397,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:09:55] local.INFO: Acknowledgment sent {"connection_id":159397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:10:26] local.INFO: TCP Data received {"connection_id":159397,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259e1c10012d7fa44005afe000001200fa2c..."} 
[2026-08-22 00:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259e1c10012d7fa44005afe000001200fa2c..."} 
[2026-08-22 00:10:26] local.INFO: Processing buffer {"connection_id":159397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259e1c10012d7fa44005afe000001200fa2c..."} 
[2026-08-22 00:10:26] local.INFO: Packet analysis {"connection_id":159397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0259e"} 
[2026-08-22 00:10:26] local.INFO: Extracted packet for processing {"connection_id":159397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0259e"} 
[2026-08-22 00:10:26] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95412224,"longitude_deg":76.333984,"latitude_deg":9.5412224,"altitude":18,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afe000","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558402560001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-22 00:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787337514000,"timestamp_ms":1787337514000,"timestamp_seconds":1787337514,"priority":1,"record_length":96,"hex_timestamp":"000001a0259e1c10"} 
[2026-08-22 00: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-22 00:10: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-22 00: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 00:10:26] 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-22 00: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-22 00: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-22 00:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558402560001,"66":27484,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558402560001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:10:26] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:10:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-22 00:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558402560001,"power":27484,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-22 00:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":159397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:10:26] local.INFO: GPS data processed {"connection_id":159397,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:10:26] local.INFO: Acknowledgment sent {"connection_id":159397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:10:56] local.INFO: TCP Data received {"connection_id":159398,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:10:56] local.INFO: Processing buffer {"connection_id":159398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:10:56] local.INFO: IMEI packet received {"connection_id":159398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":159398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:11:01] local.INFO: TCP Data received {"connection_id":159398,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:11:01] local.INFO: Processing buffer {"connection_id":159398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:11:01] local.INFO: IMEI packet received {"connection_id":159398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":159398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:11:01] local.INFO: TCP Data received {"connection_id":159398,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259e6e18012d7fa44005afe000001200fa29..."} 
[2026-08-22 00:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259e6e18012d7fa44005afe000001200fa29..."} 
[2026-08-22 00:11:01] local.INFO: Processing buffer {"connection_id":159398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259e6e18012d7fa44005afe000001200fa29..."} 
[2026-08-22 00:11:01] local.INFO: Packet analysis {"connection_id":159398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0259e"} 
[2026-08-22 00:11:01] local.INFO: Extracted packet for processing {"connection_id":159398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0259e"} 
[2026-08-22 00:11:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95412224,"longitude_deg":76.333984,"latitude_deg":9.5412224,"altitude":18,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afe000","is_valid_coordinates":true} 
[2026-08-22 00:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558403584001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732167102464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787337535000,"timestamp_ms":1787337535000,"timestamp_seconds":1787337535,"priority":1,"record_length":96,"hex_timestamp":"000001a0259e6e18"} 
[2026-08-22 00:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:11: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-22 00:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 00:11:01] 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-22 00:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558403584001,"66":27865,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9197546732167102464},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558403584001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:11:01] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:11:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732167102464,"description":"Unknown IO ID 45"} 
[2026-08-22 00:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558403584001,"power":27865,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197546732167102464}} 
[2026-08-22 00:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":159398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:11:02] local.INFO: GPS data processed {"connection_id":159398,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:11:02] local.INFO: Acknowledgment sent {"connection_id":159398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:11:06] local.INFO: TCP Data received {"connection_id":159398,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259ec020012d7fa44005afe000001200fa27..."} 
[2026-08-22 00:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259ec020012d7fa44005afe000001200fa27..."} 
[2026-08-22 00:11:06] local.INFO: Processing buffer {"connection_id":159398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259ec020012d7fa44005afe000001200fa27..."} 
[2026-08-22 00:11:06] local.INFO: Packet analysis {"connection_id":159398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0259e"} 
[2026-08-22 00:11:06] local.INFO: Extracted packet for processing {"connection_id":159398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0259e"} 
[2026-08-22 00:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95412224,"longitude_deg":76.333984,"latitude_deg":9.5412224,"altitude":18,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afe000","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558408960001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-22 00:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732167102464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 00:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787337556000,"timestamp_ms":1787337556000,"timestamp_seconds":1787337556,"priority":1,"record_length":96,"hex_timestamp":"000001a0259ec020"} 
[2026-08-22 00: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-22 00:11: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-22 00: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 00:11:06] 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-22 00: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-22 00: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-22 00:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558408960001,"66":26908,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9197546732167102464},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 00:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558408960001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:11:06] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 00:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732167102464,"description":"Unknown IO ID 45"} 
[2026-08-22 00:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558408960001,"power":26908,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197546732167102464}} 
[2026-08-22 00:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":159398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:11:06] local.INFO: GPS data processed {"connection_id":159398,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:11:06] local.INFO: Acknowledgment sent {"connection_id":159398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:11:51] local.INFO: TCP Data received {"connection_id":159399,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:11:51] local.INFO: Processing buffer {"connection_id":159399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:11:51] local.INFO: IMEI packet received {"connection_id":159399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":159399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:11:55] local.INFO: TCP Data received {"connection_id":159399,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:11:55] local.INFO: Processing buffer {"connection_id":159399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:11:55] local.INFO: IMEI packet received {"connection_id":159399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":159399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:11:56] local.INFO: TCP Data received {"connection_id":159399,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259f0288012d7fa48005afdef0001300c52b..."} 
[2026-08-22 00:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259f0288012d7fa48005afdef0001300c52b..."} 
[2026-08-22 00:11:56] local.INFO: Processing buffer {"connection_id":159399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259f0288012d7fa48005afdef0001300c52b..."} 
[2026-08-22 00:11:56] local.INFO: Packet analysis {"connection_id":159399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0259f"} 
[2026-08-22 00:11:56] local.INFO: Extracted packet for processing {"connection_id":159399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0259f"} 
[2026-08-22 00:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411952,"longitude_deg":76.3339904,"latitude_deg":9.5411952,"altitude":19,"angle":197,"satellites":43,"speed":7,"hex_longitude":"2d7fa480","hex_latitude":"05afdef0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558414336001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925313175781376,"note":"Value kept but may cause issues"} 
[2026-08-22 00:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732167102464,"note":"Value kept but may cause issues"} 
[2026-08-22 00: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-22 00:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787337573000,"timestamp_ms":1787337573000,"timestamp_seconds":1787337573,"priority":1,"record_length":96,"hex_timestamp":"000001a0259f0288"} 
[2026-08-22 00: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-22 00: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-22 00: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":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-22 00:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558414336001,"66":27821,"250":206,"85":12544,"24":7,"16":388925313175781376,"45":9197546732167102464},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558414336001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:11:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925313175781376,"km_value":388925313175781.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732167102464,"description":"Unknown IO ID 45"} 
[2026-08-22 00:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558414336001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9197546732167102464}} 
[2026-08-22 00:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":159399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:11:56] local.INFO: GPS data processed {"connection_id":159399,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:11:56] local.INFO: Acknowledgment sent {"connection_id":159399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:12:27] local.INFO: TCP Data received {"connection_id":159399,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259f19f8012d7fa5c005afd958001100d22e..."} 
[2026-08-22 00:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259f19f8012d7fa5c005afd958001100d22e..."} 
[2026-08-22 00:12:27] local.INFO: Processing buffer {"connection_id":159399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259f19f8012d7fa5c005afd958001100d22e..."} 
[2026-08-22 00:12:27] local.INFO: Packet analysis {"connection_id":159399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0259f"} 
[2026-08-22 00:12:27] local.INFO: Extracted packet for processing {"connection_id":159399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0259f"} 
[2026-08-22 00:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95410520,"longitude_deg":76.3340224,"latitude_deg":9.541052,"altitude":17,"angle":210,"satellites":46,"speed":8,"hex_longitude":"2d7fa5c0","hex_latitude":"05afd958","is_valid_coordinates":true} 
[2026-08-22 00:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558418688001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925386190225408,"note":"Value kept but may cause issues"} 
[2026-08-22 00:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100911210496,"note":"Value kept but may cause issues"} 
[2026-08-22 00:12: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-22 00:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787337579000,"timestamp_ms":1787337579000,"timestamp_seconds":1787337579,"priority":1,"record_length":96,"hex_timestamp":"000001a0259f19f8"} 
[2026-08-22 00:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:12: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-22 00:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 00:12: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-22 00:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558418688001,"66":27821,"250":206,"85":12544,"24":8,"16":388925386190225408,"45":9197617100911210496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558418688001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:12:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925386190225408,"km_value":388925386190225.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100911210496,"description":"Unknown IO ID 45"} 
[2026-08-22 00:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558418688001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9197617100911210496}} 
[2026-08-22 00:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":159399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:12:27] local.INFO: GPS data processed {"connection_id":159399,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:12:27] local.INFO: Acknowledgment sent {"connection_id":159399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:12:51] local.INFO: TCP Data received {"connection_id":161989,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:12:51] local.INFO: Processing buffer {"connection_id":161989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:12:51] local.INFO: IMEI packet received {"connection_id":161989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":161989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:12:56] local.INFO: TCP Data received {"connection_id":161989,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:12:56] local.INFO: Processing buffer {"connection_id":161989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:12:56] local.INFO: IMEI packet received {"connection_id":161989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":161989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:12:57] local.INFO: TCP Data received {"connection_id":161989,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259f1de0012d7fa5c005afd8a0001000df2f..."} 
[2026-08-22 00:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259f1de0012d7fa5c005afd8a0001000df2f..."} 
[2026-08-22 00:12:57] local.INFO: Processing buffer {"connection_id":161989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259f1de0012d7fa5c005afd8a0001000df2f..."} 
[2026-08-22 00:12:57] local.INFO: Packet analysis {"connection_id":161989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0259f"} 
[2026-08-22 00:12:57] local.INFO: Extracted packet for processing {"connection_id":161989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0259f"} 
[2026-08-22 00:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95410336,"longitude_deg":76.3340224,"latitude_deg":9.5410336,"altitude":16,"angle":223,"satellites":47,"speed":8,"hex_longitude":"2d7fa5c0","hex_latitude":"05afd8a0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558420224001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925394780160000,"note":"Value kept but may cause issues"} 
[2026-08-22 00:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631732224,"note":"Value kept but may cause issues"} 
[2026-08-22 00:12: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-22 00:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787337580000,"timestamp_ms":1787337580000,"timestamp_seconds":1787337580,"priority":1,"record_length":96,"hex_timestamp":"000001a0259f1de0"} 
[2026-08-22 00: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-22 00: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-22 00: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":173,"data_length":795,"current_offset":136} 
[2026-08-22 00:12: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-22 00: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-22 00: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-22 00:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558420224001,"66":27767,"250":206,"85":12544,"24":8,"16":388925394780160000,"45":9197968944631732224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558420224001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:12:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925394780160000,"km_value":388925394780160,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631732224,"description":"Unknown IO ID 45"} 
[2026-08-22 00:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558420224001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9197968944631732224}} 
[2026-08-22 00:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":161989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:12:57] local.INFO: GPS data processed {"connection_id":161989,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:12:57] local.INFO: Acknowledgment sent {"connection_id":161989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:13:28] local.INFO: TCP Data received {"connection_id":161989,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259f25b0012d7fa4c005afd7c0000f00f72f..."} 
[2026-08-22 00:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259f25b0012d7fa4c005afd7c0000f00f72f..."} 
[2026-08-22 00:13:28] local.INFO: Processing buffer {"connection_id":161989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259f25b0012d7fa4c005afd7c0000f00f72f..."} 
[2026-08-22 00:13:28] local.INFO: Packet analysis {"connection_id":161989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0259f"} 
[2026-08-22 00:13:28] local.INFO: Extracted packet for processing {"connection_id":161989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0259f"} 
[2026-08-22 00:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410112,"longitude_deg":76.3339968,"latitude_deg":9.5410112,"altitude":15,"angle":247,"satellites":47,"speed":9,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-08-22 00:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558420480001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925411960029184,"note":"Value kept but may cause issues"} 
[2026-08-22 00:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631685120,"note":"Value kept but may cause issues"} 
[2026-08-22 00:13: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-22 00:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787337582000,"timestamp_ms":1787337582000,"timestamp_seconds":1787337582,"priority":1,"record_length":96,"hex_timestamp":"000001a0259f25b0"} 
[2026-08-22 00:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:13: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-22 00:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 00:13:28] 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-22 00:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558420480001,"66":27984,"250":206,"85":12544,"24":9,"16":388925411960029184,"45":9197968944631685120},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558420480001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:13:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925411960029184,"km_value":388925411960029.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631685120,"description":"Unknown IO ID 45"} 
[2026-08-22 00:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558420480001,"power":27984,"unknown_250":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9197968944631685120}} 
[2026-08-22 00:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":161989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:13:28] local.INFO: GPS data processed {"connection_id":161989,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:13:28] local.INFO: Acknowledgment sent {"connection_id":161989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:13:51] local.INFO: TCP Data received {"connection_id":159666,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:13:51] local.INFO: Processing buffer {"connection_id":159666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:13:51] local.INFO: IMEI packet received {"connection_id":159666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":159666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:13:56] local.INFO: TCP Data received {"connection_id":159666,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:13:56] local.INFO: Processing buffer {"connection_id":159666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:13:56] local.INFO: IMEI packet received {"connection_id":159666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":159666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:13:57] local.INFO: TCP Data received {"connection_id":159666,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259f2d80012d7fa34005afd798000f010f2f..."} 
[2026-08-22 00:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259f2d80012d7fa34005afd798000f010f2f..."} 
[2026-08-22 00:13:57] local.INFO: Processing buffer {"connection_id":159666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259f2d80012d7fa34005afd798000f010f2f..."} 
[2026-08-22 00:13:57] local.INFO: Packet analysis {"connection_id":159666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0259f"} 
[2026-08-22 00:13:57] local.INFO: Extracted packet for processing {"connection_id":159666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0259f"} 
[2026-08-22 00:13:57] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95410072,"longitude_deg":76.3339584,"latitude_deg":9.5410072,"altitude":15,"angle":271,"satellites":47,"speed":10,"hex_longitude":"2d7fa340","hex_latitude":"05afd798","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558420992001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925429139898368,"note":"Value kept but may cause issues"} 
[2026-08-22 00:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654917120,"note":"Value kept but may cause issues"} 
[2026-08-22 00:13: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-22 00:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787337584000,"timestamp_ms":1787337584000,"timestamp_seconds":1787337584,"priority":1,"record_length":96,"hex_timestamp":"000001a0259f2d80"} 
[2026-08-22 00: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-22 00:13: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-22 00: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":80,"data_length":795,"current_offset":136} 
[2026-08-22 00:13: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-22 00: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-22 00: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-22 00:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558420992001,"66":28006,"250":206,"85":12544,"24":10,"16":388925429139898368,"45":9197687469654917120},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558420992001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:13:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:13:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925429139898368,"km_value":388925429139898.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654917120,"description":"Unknown IO ID 45"} 
[2026-08-22 00:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558420992001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9197687469654917120}} 
[2026-08-22 00:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":159666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:13:57] local.INFO: GPS data processed {"connection_id":159666,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:13:57] local.INFO: Acknowledgment sent {"connection_id":159666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:14:28] local.INFO: TCP Data received {"connection_id":159666,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259f3550012d7fa18005afd830000d011e2e..."} 
[2026-08-22 00:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259f3550012d7fa18005afd830000d011e2e..."} 
[2026-08-22 00:14:28] local.INFO: Processing buffer {"connection_id":159666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259f3550012d7fa18005afd830000d011e2e..."} 
[2026-08-22 00:14:28] local.INFO: Packet analysis {"connection_id":159666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0259f"} 
[2026-08-22 00:14:28] local.INFO: Extracted packet for processing {"connection_id":159666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0259f"} 
[2026-08-22 00:14:28] local.INFO: GPS Element Parsed {"raw_longitude":763339136,"raw_latitude":95410224,"longitude_deg":76.3339136,"latitude_deg":9.5410224,"altitude":13,"angle":286,"satellites":46,"speed":10,"hex_longitude":"2d7fa180","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558421504001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925450614734848,"note":"Value kept but may cause issues"} 
[2026-08-22 00:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189840896,"note":"Value kept but may cause issues"} 
[2026-08-22 00:14: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-22 00:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787337586000,"timestamp_ms":1787337586000,"timestamp_seconds":1787337586,"priority":1,"record_length":96,"hex_timestamp":"000001a0259f3550"} 
[2026-08-22 00: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-22 00: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-22 00: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 00:14:28] 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-22 00: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-22 00: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-22 00:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558421504001,"66":28028,"250":206,"85":12544,"24":10,"16":388925450614734848,"45":9197265257189840896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558421504001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:14:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:14:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925450614734848,"km_value":388925450614734.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189840896,"description":"Unknown IO ID 45"} 
[2026-08-22 00:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558421504001,"power":28028,"unknown_250":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9197265257189840896}} 
[2026-08-22 00:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":159666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:14:28] local.INFO: GPS data processed {"connection_id":159666,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:14:28] local.INFO: Acknowledgment sent {"connection_id":159666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:14:51] local.INFO: TCP Data received {"connection_id":159400,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:14:51] local.INFO: Processing buffer {"connection_id":159400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:14:51] local.INFO: IMEI packet received {"connection_id":159400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":159400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:14:56] local.INFO: TCP Data received {"connection_id":159400,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:14:56] local.INFO: Processing buffer {"connection_id":159400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:14:56] local.INFO: IMEI packet received {"connection_id":159400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":159400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:14:57] local.INFO: TCP Data received {"connection_id":159400,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259f6c00012d7f99c005afdac0000901112c..."} 
[2026-08-22 00:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259f6c00012d7f99c005afdac0000901112c..."} 
[2026-08-22 00:14:57] local.INFO: Processing buffer {"connection_id":159400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259f6c00012d7f99c005afdac0000901112c..."} 
[2026-08-22 00:14:57] local.INFO: Packet analysis {"connection_id":159400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0259f"} 
[2026-08-22 00:14:57] local.INFO: Extracted packet for processing {"connection_id":159400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0259f"} 
[2026-08-22 00:14:57] local.INFO: GPS Element Parsed {"raw_longitude":763337152,"raw_latitude":95410880,"longitude_deg":76.3337152,"latitude_deg":9.541088,"altitude":9,"angle":273,"satellites":44,"speed":4,"hex_longitude":"2d7f99c0","hex_latitude":"05afdac0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558422016001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925553693949952,"note":"Value kept but may cause issues"} 
[2026-08-22 00:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196772675980636160,"note":"Value kept but may cause issues"} 
[2026-08-22 00:14: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-22 00:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787337600000,"timestamp_ms":1787337600000,"timestamp_seconds":1787337600,"priority":1,"record_length":96,"hex_timestamp":"000001a0259f6c00"} 
[2026-08-22 00: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-22 00: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-22 00: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-22 00:14: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-22 00: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-22 00: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-22 00:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558422016001,"66":27843,"250":206,"85":12544,"24":4,"16":388925553693949952,"45":9196772675980636160},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558422016001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:14:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925553693949952,"km_value":388925553693949.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196772675980636160,"description":"Unknown IO ID 45"} 
[2026-08-22 00:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558422016001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9196772675980636160}} 
[2026-08-22 00:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":159400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:14:57] local.INFO: GPS data processed {"connection_id":159400,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:14:57] local.INFO: Acknowledgment sent {"connection_id":159400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:15:28] local.INFO: TCP Data received {"connection_id":159400,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259f8758012d7f964005afdb18000901152e..."} 
[2026-08-22 00:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259f8758012d7f964005afdb18000901152e..."} 
[2026-08-22 00:15:28] local.INFO: Processing buffer {"connection_id":159400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259f8758012d7f964005afdb18000901152e..."} 
[2026-08-22 00:15:28] local.INFO: Packet analysis {"connection_id":159400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0259f"} 
[2026-08-22 00:15:28] local.INFO: Extracted packet for processing {"connection_id":159400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0259f"} 
[2026-08-22 00:15:28] local.INFO: GPS Element Parsed {"raw_longitude":763336256,"raw_latitude":95410968,"longitude_deg":76.3336256,"latitude_deg":9.5410968,"altitude":9,"angle":277,"satellites":46,"speed":5,"hex_longitude":"2d7f9640","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558425600001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194591244911296512,"note":"Value kept but may cause issues"} 
[2026-08-22 00:15: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-22 00:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787337607000,"timestamp_ms":1787337607000,"timestamp_seconds":1787337607,"priority":1,"record_length":96,"hex_timestamp":"000001a0259f8758"} 
[2026-08-22 00: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-22 00: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-22 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 00:15:28] 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-22 00: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-22 00: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-22 00:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558425600001,"66":27843,"250":206,"85":12544,"24":5,"16":388925596643622912,"45":9194591244911296512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558425600001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:15:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194591244911296512,"description":"Unknown IO ID 45"} 
[2026-08-22 00:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558425600001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9194591244911296512}} 
[2026-08-22 00:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":159400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:15:28] local.INFO: GPS data processed {"connection_id":159400,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:15:28] local.INFO: Acknowledgment sent {"connection_id":159400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:15:50] local.INFO: TCP Data received {"connection_id":159667,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:15:50] local.INFO: Processing buffer {"connection_id":159667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:15:50] local.INFO: IMEI packet received {"connection_id":159667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":159667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:15:56] local.INFO: TCP Data received {"connection_id":159667,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:15:56] local.INFO: Processing buffer {"connection_id":159667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:15:56] local.INFO: IMEI packet received {"connection_id":159667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":159667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:15:57] local.INFO: TCP Data received {"connection_id":159667,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:15:57] local.INFO: Processing buffer {"connection_id":159667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:15:57] local.INFO: Packet analysis {"connection_id":159667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:15:57] local.INFO: Extracted packet for processing {"connection_id":159667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:15:57] local.INFO: GPS Element Parsed {"raw_longitude":763335040,"raw_latitude":95411088,"longitude_deg":76.333504,"latitude_deg":9.5411088,"altitude":9,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d7f9180","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558427392001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492831744,"note":"Value kept but may cause issues"} 
[2026-08-22 00:15: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-22 00:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787337909000,"timestamp_ms":1787337909000,"timestamp_seconds":1787337909,"priority":1,"record_length":96,"hex_timestamp":"000001a025a42308"} 
[2026-08-22 00: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-22 00: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-22 00: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":195,"data_length":795,"current_offset":136} 
[2026-08-22 00:15: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-22 00: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-22 00: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-22 00:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558427392001,"66":26321,"250":206,"85":12544,"24":0,"16":388925596643622912,"45":9193606082492831744},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558427392001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:15:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:15:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492831744,"description":"Unknown IO ID 45"} 
[2026-08-22 00:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558427392001,"power":26321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492831744}} 
[2026-08-22 00:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":159667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:15:57] local.INFO: GPS data processed {"connection_id":159667,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:15:57] local.INFO: Acknowledgment sent {"connection_id":159667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:16:28] local.INFO: TCP Data received {"connection_id":159667,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:16:28] local.INFO: Processing buffer {"connection_id":159667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:16:28] local.INFO: Packet analysis {"connection_id":159667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:16:28] local.INFO: Extracted packet for processing {"connection_id":159667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:16:28] local.INFO: GPS Element Parsed {"raw_longitude":763335040,"raw_latitude":95411088,"longitude_deg":76.333504,"latitude_deg":9.5411088,"altitude":9,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d7f9180","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558427392001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492831744,"note":"Value kept but may cause issues"} 
[2026-08-22 00:16: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-22 00:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787337909000,"timestamp_ms":1787337909000,"timestamp_seconds":1787337909,"priority":1,"record_length":96,"hex_timestamp":"000001a025a42308"} 
[2026-08-22 00: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-22 00:16: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-22 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 00:16:28] 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-22 00: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-22 00: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-22 00:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558427392001,"66":26321,"250":206,"85":12544,"24":0,"16":388925596643622912,"45":9193606082492831744},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558427392001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:16:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:16:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492831744,"description":"Unknown IO ID 45"} 
[2026-08-22 00:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558427392001,"power":26321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492831744}} 
[2026-08-22 00:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":159667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:16:28] local.INFO: GPS data processed {"connection_id":159667,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:16:28] local.INFO: Acknowledgment sent {"connection_id":159667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:16:51] local.INFO: TCP Data received {"connection_id":159401,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:16:51] local.INFO: Processing buffer {"connection_id":159401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:16:51] local.INFO: IMEI packet received {"connection_id":159401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":159401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:16:56] local.INFO: TCP Data received {"connection_id":159401,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:16:56] local.INFO: Processing buffer {"connection_id":159401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:16:56] local.INFO: IMEI packet received {"connection_id":159401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":159401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:16:57] local.INFO: TCP Data received {"connection_id":159401,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:16:57] local.INFO: Processing buffer {"connection_id":159401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:16:57] local.INFO: Packet analysis {"connection_id":159401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:16:57] local.INFO: Extracted packet for processing {"connection_id":159401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:16:57] local.INFO: GPS Element Parsed {"raw_longitude":763335040,"raw_latitude":95411088,"longitude_deg":76.333504,"latitude_deg":9.5411088,"altitude":9,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d7f9180","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558427392001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492831744,"note":"Value kept but may cause issues"} 
[2026-08-22 00:16: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-22 00:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787337909000,"timestamp_ms":1787337909000,"timestamp_seconds":1787337909,"priority":1,"record_length":96,"hex_timestamp":"000001a025a42308"} 
[2026-08-22 00: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-22 00: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-22 00: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":195,"data_length":795,"current_offset":136} 
[2026-08-22 00:16: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-22 00: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-22 00: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-22 00:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558427392001,"66":26321,"250":206,"85":12544,"24":0,"16":388925596643622912,"45":9193606082492831744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558427392001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:16:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:16:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492831744,"description":"Unknown IO ID 45"} 
[2026-08-22 00:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558427392001,"power":26321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492831744}} 
[2026-08-22 00:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":159401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:16:57] local.INFO: GPS data processed {"connection_id":159401,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:16:57] local.INFO: Acknowledgment sent {"connection_id":159401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:17:28] local.INFO: TCP Data received {"connection_id":159401,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:17:28] local.INFO: Processing buffer {"connection_id":159401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:17:28] local.INFO: Packet analysis {"connection_id":159401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:17:28] local.INFO: Extracted packet for processing {"connection_id":159401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:17:28] local.INFO: GPS Element Parsed {"raw_longitude":763335040,"raw_latitude":95411088,"longitude_deg":76.333504,"latitude_deg":9.5411088,"altitude":9,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d7f9180","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-08-22 00:17: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-22 00:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558427392001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492831744,"note":"Value kept but may cause issues"} 
[2026-08-22 00:17: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-22 00:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787337909000,"timestamp_ms":1787337909000,"timestamp_seconds":1787337909,"priority":1,"record_length":96,"hex_timestamp":"000001a025a42308"} 
[2026-08-22 00:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:17: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-22 00:17: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":195,"data_length":795,"current_offset":136} 
[2026-08-22 00:17:28] 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-22 00:17: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-22 00:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558427392001,"66":26321,"250":206,"85":12544,"24":0,"16":388925596643622912,"45":9193606082492831744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558427392001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:17:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492831744,"description":"Unknown IO ID 45"} 
[2026-08-22 00:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558427392001,"power":26321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492831744}} 
[2026-08-22 00:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":159401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:17:28] local.INFO: GPS data processed {"connection_id":159401,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:17:28] local.INFO: Acknowledgment sent {"connection_id":159401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:17:50] local.INFO: TCP Data received {"connection_id":161990,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:17:50] local.INFO: Processing buffer {"connection_id":161990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:17:50] local.INFO: IMEI packet received {"connection_id":161990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":161990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:17:56] local.INFO: TCP Data received {"connection_id":161990,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:17:56] local.INFO: Processing buffer {"connection_id":161990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:17:56] local.INFO: IMEI packet received {"connection_id":161990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":161990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:17:57] local.INFO: TCP Data received {"connection_id":161990,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:17:57] local.INFO: Processing buffer {"connection_id":161990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:17:57] local.INFO: Packet analysis {"connection_id":161990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:17:57] local.INFO: Extracted packet for processing {"connection_id":161990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:17:57] local.INFO: GPS Element Parsed {"raw_longitude":763335040,"raw_latitude":95411088,"longitude_deg":76.333504,"latitude_deg":9.5411088,"altitude":9,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d7f9180","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558427392001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492831744,"note":"Value kept but may cause issues"} 
[2026-08-22 00:17: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-22 00:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787337909000,"timestamp_ms":1787337909000,"timestamp_seconds":1787337909,"priority":1,"record_length":96,"hex_timestamp":"000001a025a42308"} 
[2026-08-22 00: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-22 00: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-22 00: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":195,"data_length":795,"current_offset":136} 
[2026-08-22 00:17: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-22 00: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-22 00: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-22 00:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558427392001,"66":26321,"250":206,"85":12544,"24":0,"16":388925596643622912,"45":9193606082492831744},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558427392001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:17:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492831744,"description":"Unknown IO ID 45"} 
[2026-08-22 00:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558427392001,"power":26321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492831744}} 
[2026-08-22 00:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":161990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:17:57] local.INFO: GPS data processed {"connection_id":161990,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:17:57] local.INFO: Acknowledgment sent {"connection_id":161990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:18:28] local.INFO: TCP Data received {"connection_id":161990,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:18:28] local.INFO: Processing buffer {"connection_id":161990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:18:28] local.INFO: Packet analysis {"connection_id":161990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:18:28] local.INFO: Extracted packet for processing {"connection_id":161990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:18:28] local.INFO: GPS Element Parsed {"raw_longitude":763335040,"raw_latitude":95411088,"longitude_deg":76.333504,"latitude_deg":9.5411088,"altitude":9,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d7f9180","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558427392001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492831744,"note":"Value kept but may cause issues"} 
[2026-08-22 00:18: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-22 00:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787337909000,"timestamp_ms":1787337909000,"timestamp_seconds":1787337909,"priority":1,"record_length":96,"hex_timestamp":"000001a025a42308"} 
[2026-08-22 00: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-22 00:18: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-22 00: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":195,"data_length":795,"current_offset":136} 
[2026-08-22 00:18:28] 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-22 00: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-22 00: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-22 00:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558427392001,"66":26321,"250":206,"85":12544,"24":0,"16":388925596643622912,"45":9193606082492831744},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558427392001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:18:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492831744,"description":"Unknown IO ID 45"} 
[2026-08-22 00:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558427392001,"power":26321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492831744}} 
[2026-08-22 00:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":161990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:18:28] local.INFO: GPS data processed {"connection_id":161990,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:18:28] local.INFO: Acknowledgment sent {"connection_id":161990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:18:50] local.INFO: TCP Data received {"connection_id":159668,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:18:50] local.INFO: Processing buffer {"connection_id":159668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:18:50] local.INFO: IMEI packet received {"connection_id":159668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":159668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:18:56] local.INFO: TCP Data received {"connection_id":159668,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:18:56] local.INFO: Processing buffer {"connection_id":159668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:18:56] local.INFO: IMEI packet received {"connection_id":159668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":159668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:18:57] local.INFO: TCP Data received {"connection_id":159668,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:18:57] local.INFO: Processing buffer {"connection_id":159668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:18:57] local.INFO: Packet analysis {"connection_id":159668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:18:57] local.INFO: Extracted packet for processing {"connection_id":159668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:18:57] local.INFO: GPS Element Parsed {"raw_longitude":763335040,"raw_latitude":95411088,"longitude_deg":76.333504,"latitude_deg":9.5411088,"altitude":9,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d7f9180","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558427392001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492831744,"note":"Value kept but may cause issues"} 
[2026-08-22 00:18: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-22 00:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787337909000,"timestamp_ms":1787337909000,"timestamp_seconds":1787337909,"priority":1,"record_length":96,"hex_timestamp":"000001a025a42308"} 
[2026-08-22 00: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-22 00:18: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-22 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 00:18: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-22 00: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-22 00: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-22 00:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558427392001,"66":26321,"250":206,"85":12544,"24":0,"16":388925596643622912,"45":9193606082492831744},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558427392001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:18:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:18:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492831744,"description":"Unknown IO ID 45"} 
[2026-08-22 00:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558427392001,"power":26321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492831744}} 
[2026-08-22 00:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":159668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:18:57] local.INFO: GPS data processed {"connection_id":159668,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:18:57] local.INFO: Acknowledgment sent {"connection_id":159668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:19:28] local.INFO: TCP Data received {"connection_id":159668,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:19:28] local.INFO: Processing buffer {"connection_id":159668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:19:28] local.INFO: Packet analysis {"connection_id":159668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:19:28] local.INFO: Extracted packet for processing {"connection_id":159668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:19:28] local.INFO: GPS Element Parsed {"raw_longitude":763335040,"raw_latitude":95411088,"longitude_deg":76.333504,"latitude_deg":9.5411088,"altitude":9,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d7f9180","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558427392001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492831744,"note":"Value kept but may cause issues"} 
[2026-08-22 00:19: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-22 00:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787337909000,"timestamp_ms":1787337909000,"timestamp_seconds":1787337909,"priority":1,"record_length":96,"hex_timestamp":"000001a025a42308"} 
[2026-08-22 00: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-22 00:19: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-22 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 00:19:28] 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-22 00: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-22 00: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-22 00:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558427392001,"66":26321,"250":206,"85":12544,"24":0,"16":388925596643622912,"45":9193606082492831744},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558427392001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:19:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492831744,"description":"Unknown IO ID 45"} 
[2026-08-22 00:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558427392001,"power":26321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492831744}} 
[2026-08-22 00:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":159668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:19:28] local.INFO: GPS data processed {"connection_id":159668,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:19:28] local.INFO: Acknowledgment sent {"connection_id":159668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:19:50] local.INFO: TCP Data received {"connection_id":159402,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:19:50] local.INFO: Processing buffer {"connection_id":159402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:19:50] local.INFO: IMEI packet received {"connection_id":159402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":159402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:19:56] local.INFO: TCP Data received {"connection_id":159402,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:19:56] local.INFO: Processing buffer {"connection_id":159402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:19:56] local.INFO: IMEI packet received {"connection_id":159402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":159402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:19:57] local.INFO: TCP Data received {"connection_id":159402,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:19:57] local.INFO: Processing buffer {"connection_id":159402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:19:57] local.INFO: Packet analysis {"connection_id":159402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:19:57] local.INFO: Extracted packet for processing {"connection_id":159402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:19:57] local.INFO: GPS Element Parsed {"raw_longitude":763335040,"raw_latitude":95411088,"longitude_deg":76.333504,"latitude_deg":9.5411088,"altitude":9,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d7f9180","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558427392001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492831744,"note":"Value kept but may cause issues"} 
[2026-08-22 00:19: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-22 00:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787337909000,"timestamp_ms":1787337909000,"timestamp_seconds":1787337909,"priority":1,"record_length":96,"hex_timestamp":"000001a025a42308"} 
[2026-08-22 00: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-22 00: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-22 00: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":195,"data_length":795,"current_offset":136} 
[2026-08-22 00:19: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-22 00: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-22 00: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-22 00:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558427392001,"66":26321,"250":206,"85":12544,"24":0,"16":388925596643622912,"45":9193606082492831744},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558427392001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:19:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:19:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492831744,"description":"Unknown IO ID 45"} 
[2026-08-22 00:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558427392001,"power":26321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492831744}} 
[2026-08-22 00:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":159402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:19:57] local.INFO: GPS data processed {"connection_id":159402,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:19:57] local.INFO: Acknowledgment sent {"connection_id":159402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:20:28] local.INFO: TCP Data received {"connection_id":159402,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:20:28] local.INFO: Processing buffer {"connection_id":159402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025a42308012d7f918005afdb900009011320..."} 
[2026-08-22 00:20:28] local.INFO: Packet analysis {"connection_id":159402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:20:28] local.INFO: Extracted packet for processing {"connection_id":159402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025a4"} 
[2026-08-22 00:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763335040,"raw_latitude":95411088,"longitude_deg":76.333504,"latitude_deg":9.5411088,"altitude":9,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d7f9180","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558427392001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492831744,"note":"Value kept but may cause issues"} 
[2026-08-22 00:20: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-22 00:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787337909000,"timestamp_ms":1787337909000,"timestamp_seconds":1787337909,"priority":1,"record_length":96,"hex_timestamp":"000001a025a42308"} 
[2026-08-22 00: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-22 00:20: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-22 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 00:20:28] 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-22 00: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-22 00: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-22 00:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558427392001,"66":26321,"250":206,"85":12544,"24":0,"16":388925596643622912,"45":9193606082492831744},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558427392001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:20:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492831744,"description":"Unknown IO ID 45"} 
[2026-08-22 00:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558427392001,"power":26321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492831744}} 
[2026-08-22 00:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":159402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:20:28] local.INFO: GPS data processed {"connection_id":159402,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:20:28] local.INFO: Acknowledgment sent {"connection_id":159402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:20:50] local.INFO: TCP Data received {"connection_id":161991,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:20:50] local.INFO: Processing buffer {"connection_id":161991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:20:50] local.INFO: IMEI packet received {"connection_id":161991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":161991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:20:56] local.INFO: TCP Data received {"connection_id":161991,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:20:56] local.INFO: Processing buffer {"connection_id":161991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:20:56] local.INFO: IMEI packet received {"connection_id":161991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":161991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:20:56] local.INFO: TCP Data received {"connection_id":161991,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025a8bad0012d7f918005afdb900008011325..."} 
[2026-08-22 00:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025a8bad0012d7f918005afdb900008011325..."} 
[2026-08-22 00:20:56] local.INFO: Processing buffer {"connection_id":161991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025a8bad0012d7f918005afdb900008011325..."} 
[2026-08-22 00:20:56] local.INFO: Packet analysis {"connection_id":161991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025a8"} 
[2026-08-22 00:20:56] local.INFO: Extracted packet for processing {"connection_id":161991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025a8"} 
[2026-08-22 00:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763335040,"raw_latitude":95411088,"longitude_deg":76.333504,"latitude_deg":9.5411088,"altitude":8,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d7f9180","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558504704001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192269076353486848,"note":"Value kept but may cause issues"} 
[2026-08-22 00: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-22 00:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787338210000,"timestamp_ms":1787338210000,"timestamp_seconds":1787338210,"priority":1,"record_length":96,"hex_timestamp":"000001a025a8bad0"} 
[2026-08-22 00: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-22 00: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-22 00: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-22 00:20: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-22 00: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-22 00: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-22 00:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558504704001,"66":26115,"250":206,"85":12544,"24":0,"16":388925596643622912,"45":9192269076353486848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558504704001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:20:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192269076353486848,"description":"Unknown IO ID 45"} 
[2026-08-22 00:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558504704001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192269076353486848}} 
[2026-08-22 00:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":161991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:20:56] local.INFO: GPS data processed {"connection_id":161991,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:20:56] local.INFO: Acknowledgment sent {"connection_id":161991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:21:28] local.INFO: TCP Data received {"connection_id":161991,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025a8bad0012d7f918005afdb900008011325..."} 
[2026-08-22 00:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025a8bad0012d7f918005afdb900008011325..."} 
[2026-08-22 00:21:28] local.INFO: Processing buffer {"connection_id":161991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025a8bad0012d7f918005afdb900008011325..."} 
[2026-08-22 00:21:28] local.INFO: Packet analysis {"connection_id":161991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025a8"} 
[2026-08-22 00:21:28] local.INFO: Extracted packet for processing {"connection_id":161991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025a8"} 
[2026-08-22 00:21:28] local.INFO: GPS Element Parsed {"raw_longitude":763335040,"raw_latitude":95411088,"longitude_deg":76.333504,"latitude_deg":9.5411088,"altitude":8,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d7f9180","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558504704001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192269076353486848,"note":"Value kept but may cause issues"} 
[2026-08-22 00:21: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-22 00:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787338210000,"timestamp_ms":1787338210000,"timestamp_seconds":1787338210,"priority":1,"record_length":96,"hex_timestamp":"000001a025a8bad0"} 
[2026-08-22 00: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-22 00:21: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-22 00: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-22 00:21:28] 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-22 00: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-22 00: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-22 00:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558504704001,"66":26115,"250":206,"85":12544,"24":0,"16":388925596643622912,"45":9192269076353486848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558504704001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:21:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:21:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192269076353486848,"description":"Unknown IO ID 45"} 
[2026-08-22 00:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558504704001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192269076353486848}} 
[2026-08-22 00:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":161991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:21:28] local.INFO: GPS data processed {"connection_id":161991,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:21:28] local.INFO: Acknowledgment sent {"connection_id":161991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:21:51] local.INFO: TCP Data received {"connection_id":159403,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:21:51] local.INFO: Processing buffer {"connection_id":159403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:21:51] local.INFO: IMEI packet received {"connection_id":159403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":159403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:21:56] local.INFO: TCP Data received {"connection_id":159403,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:21:56] local.INFO: Processing buffer {"connection_id":159403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:21:56] local.INFO: IMEI packet received {"connection_id":159403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":159403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:21:57] local.INFO: TCP Data received {"connection_id":159403,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025a8bad0012d7f918005afdb900008011325..."} 
[2026-08-22 00:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025a8bad0012d7f918005afdb900008011325..."} 
[2026-08-22 00:21:57] local.INFO: Processing buffer {"connection_id":159403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025a8bad0012d7f918005afdb900008011325..."} 
[2026-08-22 00:21:57] local.INFO: Packet analysis {"connection_id":159403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025a8"} 
[2026-08-22 00:21:57] local.INFO: Extracted packet for processing {"connection_id":159403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025a8"} 
[2026-08-22 00:21:57] local.INFO: GPS Element Parsed {"raw_longitude":763335040,"raw_latitude":95411088,"longitude_deg":76.333504,"latitude_deg":9.5411088,"altitude":8,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d7f9180","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558504704001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192269076353486848,"note":"Value kept but may cause issues"} 
[2026-08-22 00:21: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-22 00:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787338210000,"timestamp_ms":1787338210000,"timestamp_seconds":1787338210,"priority":1,"record_length":96,"hex_timestamp":"000001a025a8bad0"} 
[2026-08-22 00: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-22 00: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-22 00: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-22 00:21:57] 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-22 00: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-22 00: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-22 00:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558504704001,"66":26115,"250":206,"85":12544,"24":0,"16":388925596643622912,"45":9192269076353486848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558504704001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:21:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:21:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192269076353486848,"description":"Unknown IO ID 45"} 
[2026-08-22 00:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558504704001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192269076353486848}} 
[2026-08-22 00:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":159403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:21:57] local.INFO: GPS data processed {"connection_id":159403,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:21:57] local.INFO: Acknowledgment sent {"connection_id":159403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:22:28] local.INFO: TCP Data received {"connection_id":159403,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025a8bad0012d7f918005afdb900008011325..."} 
[2026-08-22 00:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025a8bad0012d7f918005afdb900008011325..."} 
[2026-08-22 00:22:28] local.INFO: Processing buffer {"connection_id":159403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025a8bad0012d7f918005afdb900008011325..."} 
[2026-08-22 00:22:28] local.INFO: Packet analysis {"connection_id":159403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025a8"} 
[2026-08-22 00:22:28] local.INFO: Extracted packet for processing {"connection_id":159403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025a8"} 
[2026-08-22 00:22:28] local.INFO: GPS Element Parsed {"raw_longitude":763335040,"raw_latitude":95411088,"longitude_deg":76.333504,"latitude_deg":9.5411088,"altitude":8,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d7f9180","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-08-22 00:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558504704001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192269076353486848,"note":"Value kept but may cause issues"} 
[2026-08-22 00:22: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-22 00:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787338210000,"timestamp_ms":1787338210000,"timestamp_seconds":1787338210,"priority":1,"record_length":96,"hex_timestamp":"000001a025a8bad0"} 
[2026-08-22 00:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:22: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-22 00:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-22 00:22:28] 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-22 00:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558504704001,"66":26115,"250":206,"85":12544,"24":0,"16":388925596643622912,"45":9192269076353486848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558504704001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:22:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:22:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192269076353486848,"description":"Unknown IO ID 45"} 
[2026-08-22 00:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558504704001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192269076353486848}} 
[2026-08-22 00:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":159403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:22:28] local.INFO: GPS data processed {"connection_id":159403,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:22:28] local.INFO: Acknowledgment sent {"connection_id":159403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:22:50] local.INFO: TCP Data received {"connection_id":161992,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:22:50] local.INFO: Processing buffer {"connection_id":161992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:22:50] local.INFO: IMEI packet received {"connection_id":161992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":161992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:22:51] local.INFO: TCP Data received {"connection_id":161992,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:22:51] local.INFO: Processing buffer {"connection_id":161992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:22:51] local.INFO: IMEI packet received {"connection_id":161992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":161992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:22:56] local.INFO: TCP Data received {"connection_id":161992,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:22:56] local.INFO: Processing buffer {"connection_id":161992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:22:56] local.INFO: IMEI packet received {"connection_id":161992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":161992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:22:57] local.INFO: TCP Data received {"connection_id":161992,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025aa8ba8012d7f918005afdb900008011321..."} 
[2026-08-22 00:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025aa8ba8012d7f918005afdb900008011321..."} 
[2026-08-22 00:22:57] local.INFO: Processing buffer {"connection_id":161992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025aa8ba8012d7f918005afdb900008011321..."} 
[2026-08-22 00:22:57] local.INFO: Packet analysis {"connection_id":161992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025aa"} 
[2026-08-22 00:22:57] local.INFO: Extracted packet for processing {"connection_id":161992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025aa"} 
[2026-08-22 00:22:57] local.INFO: GPS Element Parsed {"raw_longitude":763335040,"raw_latitude":95411088,"longitude_deg":76.333504,"latitude_deg":9.5411088,"altitude":8,"angle":275,"satellites":33,"speed":0,"hex_longitude":"2d7f9180","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-08-22 00:22: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-22 00:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558581760001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192269076353486848,"note":"Value kept but may cause issues"} 
[2026-08-22 00: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-22 00:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787338329000,"timestamp_ms":1787338329000,"timestamp_seconds":1787338329,"priority":1,"record_length":96,"hex_timestamp":"000001a025aa8ba8"} 
[2026-08-22 00: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-22 00: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-22 00: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-22 00:22: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-22 00: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-22 00: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-22 00:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558581760001,"66":26028,"250":206,"85":12544,"24":0,"16":388925596643622912,"45":9192269076353486848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558581760001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:22:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192269076353486848,"description":"Unknown IO ID 45"} 
[2026-08-22 00:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558581760001,"power":26028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192269076353486848}} 
[2026-08-22 00:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":161992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:22:57] local.INFO: GPS data processed {"connection_id":161992,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:22:57] local.INFO: Acknowledgment sent {"connection_id":161992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:23:27] local.INFO: TCP Data received {"connection_id":161992,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025aa9f30012d7f8b0005afdf380008007222..."} 
[2026-08-22 00:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025aa9f30012d7f8b0005afdf380008007222..."} 
[2026-08-22 00:23:27] local.INFO: Processing buffer {"connection_id":161992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025aa9f30012d7f8b0005afdf380008007222..."} 
[2026-08-22 00:23:27] local.INFO: Packet analysis {"connection_id":161992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025aa"} 
[2026-08-22 00:23:27] local.INFO: Extracted packet for processing {"connection_id":161992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025aa"} 
[2026-08-22 00:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763333376,"raw_latitude":95412024,"longitude_deg":76.3333376,"latitude_deg":9.5412024,"altitude":8,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d7f8b00","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 00:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558612224001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925596643622912,"note":"Value kept but may cause issues"} 
[2026-08-22 00:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192269076353486848,"note":"Value kept but may cause issues"} 
[2026-08-22 00:23: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-22 00:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787338334000,"timestamp_ms":1787338334000,"timestamp_seconds":1787338334,"priority":1,"record_length":96,"hex_timestamp":"000001a025aa9f30"} 
[2026-08-22 00:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:23: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-22 00:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 00:23:27] 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-22 00:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558612224001,"66":25875,"250":206,"85":12544,"24":0,"16":388925596643622912,"45":9192269076353486848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558612224001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:23:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925596643622912,"km_value":388925596643622.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192269076353486848,"description":"Unknown IO ID 45"} 
[2026-08-22 00:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558612224001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192269076353486848}} 
[2026-08-22 00:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":161992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:23:27] local.INFO: GPS data processed {"connection_id":161992,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:23:27] local.INFO: Acknowledgment sent {"connection_id":161992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:23:51] local.INFO: TCP Data received {"connection_id":159404,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:23:51] local.INFO: Processing buffer {"connection_id":159404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:23:51] local.INFO: IMEI packet received {"connection_id":159404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":159404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:23:56] local.INFO: TCP Data received {"connection_id":159404,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:23:56] local.INFO: Processing buffer {"connection_id":159404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:23:56] local.INFO: IMEI packet received {"connection_id":159404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":159404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:23:57] local.INFO: TCP Data received {"connection_id":159404,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025aaaed0012d7f8b8005afe2d0000600fa22..."} 
[2026-08-22 00:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025aaaed0012d7f8b8005afe2d0000600fa22..."} 
[2026-08-22 00:23:57] local.INFO: Processing buffer {"connection_id":159404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025aaaed0012d7f8b8005afe2d0000600fa22..."} 
[2026-08-22 00:23:57] local.INFO: Packet analysis {"connection_id":159404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025aa"} 
[2026-08-22 00:23:57] local.INFO: Extracted packet for processing {"connection_id":159404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025aa"} 
[2026-08-22 00:23:57] local.INFO: GPS Element Parsed {"raw_longitude":763333504,"raw_latitude":95412944,"longitude_deg":76.3333504,"latitude_deg":9.5412944,"altitude":6,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8b80","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558613504001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925639593295872,"note":"Value kept but may cause issues"} 
[2026-08-22 00:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190439489005107200,"note":"Value kept but may cause issues"} 
[2026-08-22 00: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-22 00:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787338338000,"timestamp_ms":1787338338000,"timestamp_seconds":1787338338,"priority":1,"record_length":96,"hex_timestamp":"000001a025aaaed0"} 
[2026-08-22 00: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-22 00: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-22 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 00:23: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-22 00: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-22 00: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-22 00:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558613504001,"66":25702,"250":206,"85":12544,"24":0,"16":388925639593295872,"45":9190439489005107200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558613504001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:23:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:23:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925639593295872,"km_value":388925639593295.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190439489005107200,"description":"Unknown IO ID 45"} 
[2026-08-22 00:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558613504001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190439489005107200}} 
[2026-08-22 00:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":159404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:23:57] local.INFO: GPS data processed {"connection_id":159404,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:23:57] local.INFO: Acknowledgment sent {"connection_id":159404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:24:28] local.INFO: TCP Data received {"connection_id":159404,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025aaba88012d7f8b8005afe2d0000600fa25..."} 
[2026-08-22 00:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025aaba88012d7f8b8005afe2d0000600fa25..."} 
[2026-08-22 00:24:28] local.INFO: Processing buffer {"connection_id":159404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025aaba88012d7f8b8005afe2d0000600fa25..."} 
[2026-08-22 00:24:28] local.INFO: Packet analysis {"connection_id":159404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025aa"} 
[2026-08-22 00:24:28] local.INFO: Extracted packet for processing {"connection_id":159404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025aa"} 
[2026-08-22 00:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763333504,"raw_latitude":95412944,"longitude_deg":76.3333504,"latitude_deg":9.5412944,"altitude":6,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8b80","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00:24: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-22 00:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558614528001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:24: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-22 00:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787338341000,"timestamp_ms":1787338341000,"timestamp_seconds":1787338341,"priority":1,"record_length":96,"hex_timestamp":"000001a025aaba88"} 
[2026-08-22 00:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:24: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-22 00:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 00:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 00:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558614528001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558614528001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:24:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558614528001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":159404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:24:28] local.INFO: GPS data processed {"connection_id":159404,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:24:28] local.INFO: Acknowledgment sent {"connection_id":159404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:24:50] local.INFO: TCP Data received {"connection_id":159669,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:24:50] local.INFO: Processing buffer {"connection_id":159669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:24:50] local.INFO: IMEI packet received {"connection_id":159669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":159669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:24:56] local.INFO: TCP Data received {"connection_id":159669,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:24:56] local.INFO: Processing buffer {"connection_id":159669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:24:56] local.INFO: IMEI packet received {"connection_id":159669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":159669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:24:57] local.INFO: TCP Data received {"connection_id":159669,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025ab5e98012d7f8ac005afe2b0000600fa23..."} 
[2026-08-22 00:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ab5e98012d7f8ac005afe2b0000600fa23..."} 
[2026-08-22 00:24:57] local.INFO: Processing buffer {"connection_id":159669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ab5e98012d7f8ac005afe2b0000600fa23..."} 
[2026-08-22 00:24:57] local.INFO: Packet analysis {"connection_id":159669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:24:57] local.INFO: Extracted packet for processing {"connection_id":159669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412912,"longitude_deg":76.3333312,"latitude_deg":9.5412912,"altitude":6,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2b0","is_valid_coordinates":true} 
[2026-08-22 00:24: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-22 00:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558615296001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:24: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-22 00:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787338383000,"timestamp_ms":1787338383000,"timestamp_seconds":1787338383,"priority":1,"record_length":96,"hex_timestamp":"000001a025ab5e98"} 
[2026-08-22 00: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-22 00: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-22 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 00:24:57] 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-22 00: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-22 00: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-22 00:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558615296001,"66":25843,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558615296001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:24:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558615296001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":159669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:24:57] local.INFO: GPS data processed {"connection_id":159669,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:24:57] local.INFO: Acknowledgment sent {"connection_id":159669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:25:28] local.INFO: TCP Data received {"connection_id":159669,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025abc428012d7f8b8005afe2d0000600fa23..."} 
[2026-08-22 00:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025abc428012d7f8b8005afe2d0000600fa23..."} 
[2026-08-22 00:25:28] local.INFO: Processing buffer {"connection_id":159669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025abc428012d7f8b8005afe2d0000600fa23..."} 
[2026-08-22 00:25:28] local.INFO: Packet analysis {"connection_id":159669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:25:28] local.INFO: Extracted packet for processing {"connection_id":159669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763333504,"raw_latitude":95412944,"longitude_deg":76.3333504,"latitude_deg":9.5412944,"altitude":6,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8b80","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558626048001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261156864,"note":"Value kept but may cause issues"} 
[2026-08-22 00: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-22 00:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787338409000,"timestamp_ms":1787338409000,"timestamp_seconds":1787338409,"priority":1,"record_length":96,"hex_timestamp":"000001a025abc428"} 
[2026-08-22 00: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-22 00: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-22 00: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 00:25:28] 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-22 00: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-22 00: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-22 00:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558626048001,"66":25299,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261156864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558626048001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:25:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:25:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261156864,"description":"Unknown IO ID 45"} 
[2026-08-22 00:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558626048001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261156864}} 
[2026-08-22 00:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":159669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:25:28] local.INFO: GPS data processed {"connection_id":159669,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:25:28] local.INFO: Acknowledgment sent {"connection_id":159669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:25:50] local.INFO: TCP Data received {"connection_id":160594,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:25:50] local.INFO: Processing buffer {"connection_id":160594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:25:50] local.INFO: IMEI packet received {"connection_id":160594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":160594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:25:56] local.INFO: TCP Data received {"connection_id":160594,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:25:56] local.INFO: Processing buffer {"connection_id":160594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:25:56] local.INFO: IMEI packet received {"connection_id":160594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":160594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:25:56] local.INFO: TCP Data received {"connection_id":160594,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025abc428012d7f8b8005afe2d0000600fa23..."} 
[2026-08-22 00:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025abc428012d7f8b8005afe2d0000600fa23..."} 
[2026-08-22 00:25:56] local.INFO: Processing buffer {"connection_id":160594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025abc428012d7f8b8005afe2d0000600fa23..."} 
[2026-08-22 00:25:56] local.INFO: Packet analysis {"connection_id":160594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:25:56] local.INFO: Extracted packet for processing {"connection_id":160594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763333504,"raw_latitude":95412944,"longitude_deg":76.3333504,"latitude_deg":9.5412944,"altitude":6,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8b80","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00:25: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-22 00:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558632704001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:25: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-22 00:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787338409000,"timestamp_ms":1787338409000,"timestamp_seconds":1787338409,"priority":1,"record_length":96,"hex_timestamp":"000001a025abc428"} 
[2026-08-22 00: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-22 00: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-22 00:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-22 00:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558632704001,"66":25299,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558632704001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:25:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558632704001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":160594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:25:56] local.INFO: GPS data processed {"connection_id":160594,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:25:56] local.INFO: Acknowledgment sent {"connection_id":160594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:26:28] local.INFO: TCP Data received {"connection_id":160594,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025abcbf8012d7f8b8005afe2d0000600fa24..."} 
[2026-08-22 00:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025abcbf8012d7f8b8005afe2d0000600fa24..."} 
[2026-08-22 00:26:28] local.INFO: Processing buffer {"connection_id":160594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025abcbf8012d7f8b8005afe2d0000600fa24..."} 
[2026-08-22 00:26:28] local.INFO: Packet analysis {"connection_id":160594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:26:28] local.INFO: Extracted packet for processing {"connection_id":160594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:26:28] local.INFO: GPS Element Parsed {"raw_longitude":763333504,"raw_latitude":95412944,"longitude_deg":76.3333504,"latitude_deg":9.5412944,"altitude":6,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8b80","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00:26: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-22 00:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558632704001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:26: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-22 00:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787338411000,"timestamp_ms":1787338411000,"timestamp_seconds":1787338411,"priority":1,"record_length":96,"hex_timestamp":"000001a025abcbf8"} 
[2026-08-22 00: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-22 00:26: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-22 00:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-22 00:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558632704001,"66":24995,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558632704001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:26:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:26:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558632704001,"power":24995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":160594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:26:28] local.INFO: GPS data processed {"connection_id":160594,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:26:28] local.INFO: Acknowledgment sent {"connection_id":160594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:26:50] local.INFO: TCP Data received {"connection_id":159405,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:26:50] local.INFO: Processing buffer {"connection_id":159405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:26:50] local.INFO: IMEI packet received {"connection_id":159405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":159405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:26:56] local.INFO: TCP Data received {"connection_id":159405,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:26:56] local.INFO: Processing buffer {"connection_id":159405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:26:56] local.INFO: IMEI packet received {"connection_id":159405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":159405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:26:56] local.INFO: TCP Data received {"connection_id":159405,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025abf6f0012d7f8b8005afe2d0000600fa20..."} 
[2026-08-22 00:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025abf6f0012d7f8b8005afe2d0000600fa20..."} 
[2026-08-22 00:26:56] local.INFO: Processing buffer {"connection_id":159405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025abf6f0012d7f8b8005afe2d0000600fa20..."} 
[2026-08-22 00:26:56] local.INFO: Packet analysis {"connection_id":159405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:26:56] local.INFO: Extracted packet for processing {"connection_id":159405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763333504,"raw_latitude":95412944,"longitude_deg":76.3333504,"latitude_deg":9.5412944,"altitude":6,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8b80","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558633216001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00: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-22 00:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787338422000,"timestamp_ms":1787338422000,"timestamp_seconds":1787338422,"priority":1,"record_length":96,"hex_timestamp":"000001a025abf6f0"} 
[2026-08-22 00: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-22 00:26: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-22 00: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-22 00:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558633216001,"66":25375,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558633216001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:26:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558633216001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":159405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:26:56] local.INFO: GPS data processed {"connection_id":159405,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:26:56] local.INFO: Acknowledgment sent {"connection_id":159405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:27:27] local.INFO: TCP Data received {"connection_id":159405,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025abf6f0012d7f8b8005afe2d0000600fa20..."} 
[2026-08-22 00:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025abf6f0012d7f8b8005afe2d0000600fa20..."} 
[2026-08-22 00:27:27] local.INFO: Processing buffer {"connection_id":159405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025abf6f0012d7f8b8005afe2d0000600fa20..."} 
[2026-08-22 00:27:27] local.INFO: Packet analysis {"connection_id":159405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:27:27] local.INFO: Extracted packet for processing {"connection_id":159405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763333504,"raw_latitude":95412944,"longitude_deg":76.3333504,"latitude_deg":9.5412944,"altitude":6,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8b80","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558633216001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:27: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-22 00:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787338422000,"timestamp_ms":1787338422000,"timestamp_seconds":1787338422,"priority":1,"record_length":96,"hex_timestamp":"000001a025abf6f0"} 
[2026-08-22 00:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:27: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-22 00:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-22 00:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558633216001,"66":25375,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558633216001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:27:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558633216001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":159405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:27:27] local.INFO: GPS data processed {"connection_id":159405,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:27:27] local.INFO: Acknowledgment sent {"connection_id":159405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:27:56] local.INFO: TCP Data received {"connection_id":161993,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:27:56] local.INFO: Processing buffer {"connection_id":161993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:27:56] local.INFO: IMEI packet received {"connection_id":161993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":161993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:28:01] local.INFO: TCP Data received {"connection_id":161993,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:28:01] local.INFO: Processing buffer {"connection_id":161993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:28:01] local.INFO: IMEI packet received {"connection_id":161993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":161993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:28:01] local.INFO: TCP Data received {"connection_id":161993,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025abf6f0012d7f8b8005afe2d0000600fa20..."} 
[2026-08-22 00:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025abf6f0012d7f8b8005afe2d0000600fa20..."} 
[2026-08-22 00:28:01] local.INFO: Processing buffer {"connection_id":161993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025abf6f0012d7f8b8005afe2d0000600fa20..."} 
[2026-08-22 00:28:01] local.INFO: Packet analysis {"connection_id":161993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:28:01] local.INFO: Extracted packet for processing {"connection_id":161993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763333504,"raw_latitude":95412944,"longitude_deg":76.3333504,"latitude_deg":9.5412944,"altitude":6,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8b80","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00:28: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-22 00:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558633216001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:28: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-22 00:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787338422000,"timestamp_ms":1787338422000,"timestamp_seconds":1787338422,"priority":1,"record_length":96,"hex_timestamp":"000001a025abf6f0"} 
[2026-08-22 00: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-22 00:28: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-22 00:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-22 00:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558633216001,"66":25375,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558633216001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:28:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558633216001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":161993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:28:01] local.INFO: GPS data processed {"connection_id":161993,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:28:01] local.INFO: Acknowledgment sent {"connection_id":161993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:28:06] local.INFO: TCP Data received {"connection_id":161993,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025abf6f0012d7f8b8005afe2d0000600fa20..."} 
[2026-08-22 00:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025abf6f0012d7f8b8005afe2d0000600fa20..."} 
[2026-08-22 00:28:06] local.INFO: Processing buffer {"connection_id":161993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025abf6f0012d7f8b8005afe2d0000600fa20..."} 
[2026-08-22 00:28:06] local.INFO: Packet analysis {"connection_id":161993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:28:06] local.INFO: Extracted packet for processing {"connection_id":161993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763333504,"raw_latitude":95412944,"longitude_deg":76.3333504,"latitude_deg":9.5412944,"altitude":6,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8b80","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00:28: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-22 00:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558633216001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:28:06] 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-22 00:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787338422000,"timestamp_ms":1787338422000,"timestamp_seconds":1787338422,"priority":1,"record_length":96,"hex_timestamp":"000001a025abf6f0"} 
[2026-08-22 00: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-22 00: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-22 00: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-22 00:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558633216001,"66":25375,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558633216001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:28:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558633216001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":161993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:28:06] local.INFO: GPS data processed {"connection_id":161993,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:28:06] local.INFO: Acknowledgment sent {"connection_id":161993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:28:51] local.INFO: TCP Data received {"connection_id":159406,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:28:51] local.INFO: Processing buffer {"connection_id":159406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:28:51] local.INFO: IMEI packet received {"connection_id":159406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":159406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:28:56] local.INFO: TCP Data received {"connection_id":159406,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:28:56] local.INFO: Processing buffer {"connection_id":159406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:28:56] local.INFO: IMEI packet received {"connection_id":159406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":159406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:28:57] local.INFO: TCP Data received {"connection_id":159406,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025abf6f0012d7f8b8005afe2d0000600fa20..."} 
[2026-08-22 00:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025abf6f0012d7f8b8005afe2d0000600fa20..."} 
[2026-08-22 00:28:57] local.INFO: Processing buffer {"connection_id":159406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025abf6f0012d7f8b8005afe2d0000600fa20..."} 
[2026-08-22 00:28:57] local.INFO: Packet analysis {"connection_id":159406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:28:57] local.INFO: Extracted packet for processing {"connection_id":159406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ab"} 
[2026-08-22 00:28:57] local.INFO: GPS Element Parsed {"raw_longitude":763333504,"raw_latitude":95412944,"longitude_deg":76.3333504,"latitude_deg":9.5412944,"altitude":6,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8b80","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00:28: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-22 00:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558633216001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:28: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-22 00:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787338422000,"timestamp_ms":1787338422000,"timestamp_seconds":1787338422,"priority":1,"record_length":96,"hex_timestamp":"000001a025abf6f0"} 
[2026-08-22 00: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-22 00: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-22 00: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-22 00:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558633216001,"66":25375,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558633216001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:28:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:28:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558633216001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":159406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:28:57] local.INFO: GPS data processed {"connection_id":159406,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:28:57] local.INFO: Acknowledgment sent {"connection_id":159406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:29:28] local.INFO: TCP Data received {"connection_id":159406,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:29:28] local.INFO: Processing buffer {"connection_id":159406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:29:28] local.INFO: Packet analysis {"connection_id":159406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:29:28] local.INFO: Extracted packet for processing {"connection_id":159406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:29:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558636032001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:29: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-22 00:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787338724000,"timestamp_ms":1787338724000,"timestamp_seconds":1787338724,"priority":1,"record_length":96,"hex_timestamp":"000001a025b092a0"} 
[2026-08-22 00:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:29: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-22 00:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 00:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558636032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558636032001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:29:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558636032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":159406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:29:28] local.INFO: GPS data processed {"connection_id":159406,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:29:28] local.INFO: Acknowledgment sent {"connection_id":159406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:29:50] local.INFO: TCP Data received {"connection_id":161994,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:29:50] local.INFO: Processing buffer {"connection_id":161994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:29:50] local.INFO: IMEI packet received {"connection_id":161994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":161994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:29:56] local.INFO: TCP Data received {"connection_id":161994,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:29:56] local.INFO: Processing buffer {"connection_id":161994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:29:56] local.INFO: IMEI packet received {"connection_id":161994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":161994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:29:56] local.INFO: TCP Data received {"connection_id":161994,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:29:56] local.INFO: Processing buffer {"connection_id":161994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:29:56] local.INFO: Packet analysis {"connection_id":161994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:29:56] local.INFO: Extracted packet for processing {"connection_id":161994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558636032001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:29: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-22 00:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787338724000,"timestamp_ms":1787338724000,"timestamp_seconds":1787338724,"priority":1,"record_length":96,"hex_timestamp":"000001a025b092a0"} 
[2026-08-22 00: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-22 00: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-22 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 00:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558636032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558636032001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:29:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558636032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":161994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:29:56] local.INFO: GPS data processed {"connection_id":161994,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:29:56] local.INFO: Acknowledgment sent {"connection_id":161994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:30:27] local.INFO: TCP Data received {"connection_id":161994,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:30:27] local.INFO: Processing buffer {"connection_id":161994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:30:27] local.INFO: Packet analysis {"connection_id":161994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:30:27] local.INFO: Extracted packet for processing {"connection_id":161994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558636032001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:30: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-22 00:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787338724000,"timestamp_ms":1787338724000,"timestamp_seconds":1787338724,"priority":1,"record_length":96,"hex_timestamp":"000001a025b092a0"} 
[2026-08-22 00: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-22 00:30: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-22 00:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 00:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558636032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558636032001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:30:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558636032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":161994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:30:28] local.INFO: GPS data processed {"connection_id":161994,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:30:28] local.INFO: Acknowledgment sent {"connection_id":161994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:30:50] local.INFO: TCP Data received {"connection_id":159407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:30:50] local.INFO: Processing buffer {"connection_id":159407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:30:50] local.INFO: IMEI packet received {"connection_id":159407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":159407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:30:56] local.INFO: TCP Data received {"connection_id":159407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:30:56] local.INFO: Processing buffer {"connection_id":159407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:30:56] local.INFO: IMEI packet received {"connection_id":159407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":159407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:30:56] local.INFO: TCP Data received {"connection_id":159407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:30:56] local.INFO: Processing buffer {"connection_id":159407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:30:56] local.INFO: Packet analysis {"connection_id":159407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:30:56] local.INFO: Extracted packet for processing {"connection_id":159407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558636032001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:30: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-22 00:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787338724000,"timestamp_ms":1787338724000,"timestamp_seconds":1787338724,"priority":1,"record_length":96,"hex_timestamp":"000001a025b092a0"} 
[2026-08-22 00: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-22 00: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-22 00:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 00:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558636032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558636032001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:30:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558636032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":159407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:30:56] local.INFO: GPS data processed {"connection_id":159407,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:30:56] local.INFO: Acknowledgment sent {"connection_id":159407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:31:27] local.INFO: TCP Data received {"connection_id":159407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:31:27] local.INFO: Processing buffer {"connection_id":159407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:31:27] local.INFO: Packet analysis {"connection_id":159407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:31:27] local.INFO: Extracted packet for processing {"connection_id":159407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558636032001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:31: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-22 00:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787338724000,"timestamp_ms":1787338724000,"timestamp_seconds":1787338724,"priority":1,"record_length":96,"hex_timestamp":"000001a025b092a0"} 
[2026-08-22 00: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-22 00:31: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-22 00:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 00:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558636032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558636032001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:31:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558636032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":159407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:31:27] local.INFO: GPS data processed {"connection_id":159407,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:31:27] local.INFO: Acknowledgment sent {"connection_id":159407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:31:50] local.INFO: TCP Data received {"connection_id":159408,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:31:50] local.INFO: Processing buffer {"connection_id":159408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:31:50] local.INFO: IMEI packet received {"connection_id":159408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":159408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:31:56] local.INFO: TCP Data received {"connection_id":159408,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:31:56] local.INFO: Processing buffer {"connection_id":159408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:31:56] local.INFO: IMEI packet received {"connection_id":159408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":159408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:31:56] local.INFO: TCP Data received {"connection_id":159408,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:31:56] local.INFO: Processing buffer {"connection_id":159408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:31:56] local.INFO: Packet analysis {"connection_id":159408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:31:56] local.INFO: Extracted packet for processing {"connection_id":159408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558636032001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:31: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-22 00:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787338724000,"timestamp_ms":1787338724000,"timestamp_seconds":1787338724,"priority":1,"record_length":96,"hex_timestamp":"000001a025b092a0"} 
[2026-08-22 00: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-22 00:31: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-22 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 00:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558636032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558636032001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:31:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558636032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":159408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:31:56] local.INFO: GPS data processed {"connection_id":159408,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:31:56] local.INFO: Acknowledgment sent {"connection_id":159408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:32:28] local.INFO: TCP Data received {"connection_id":159408,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:32:28] local.INFO: Processing buffer {"connection_id":159408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:32:28] local.INFO: Packet analysis {"connection_id":159408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:32:28] local.INFO: Extracted packet for processing {"connection_id":159408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:32:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558636032001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:32: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-22 00:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787338724000,"timestamp_ms":1787338724000,"timestamp_seconds":1787338724,"priority":1,"record_length":96,"hex_timestamp":"000001a025b092a0"} 
[2026-08-22 00: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-22 00:32: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-22 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 00:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558636032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558636032001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:32:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:32:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558636032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":159408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:32:28] local.INFO: GPS data processed {"connection_id":159408,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:32:28] local.INFO: Acknowledgment sent {"connection_id":159408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:32:56] local.INFO: TCP Data received {"connection_id":160595,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:32:56] local.INFO: Processing buffer {"connection_id":160595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:32:56] local.INFO: IMEI packet received {"connection_id":160595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":160595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:33:01] local.INFO: TCP Data received {"connection_id":160595,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:33:01] local.INFO: Processing buffer {"connection_id":160595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:33:01] local.INFO: IMEI packet received {"connection_id":160595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":160595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:33:01] local.INFO: TCP Data received {"connection_id":160595,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:33:01] local.INFO: Processing buffer {"connection_id":160595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:33:01] local.INFO: Packet analysis {"connection_id":160595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:33:01] local.INFO: Extracted packet for processing {"connection_id":160595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558636032001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:33: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-22 00:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787338724000,"timestamp_ms":1787338724000,"timestamp_seconds":1787338724,"priority":1,"record_length":96,"hex_timestamp":"000001a025b092a0"} 
[2026-08-22 00: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-22 00:33: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-22 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 00:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558636032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558636032001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:33:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558636032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":160595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:33:01] local.INFO: GPS data processed {"connection_id":160595,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:33:01] local.INFO: Acknowledgment sent {"connection_id":160595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:33:06] local.INFO: TCP Data received {"connection_id":160595,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:33:06] local.INFO: Processing buffer {"connection_id":160595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:33:06] local.INFO: Packet analysis {"connection_id":160595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:33:06] local.INFO: Extracted packet for processing {"connection_id":160595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:33:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558636032001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:33:06] 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-22 00:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787338724000,"timestamp_ms":1787338724000,"timestamp_seconds":1787338724,"priority":1,"record_length":96,"hex_timestamp":"000001a025b092a0"} 
[2026-08-22 00:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 00:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 00:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558636032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558636032001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:33:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558636032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":160595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:33:06] local.INFO: GPS data processed {"connection_id":160595,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:33:06] local.INFO: Acknowledgment sent {"connection_id":160595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:33:50] local.INFO: TCP Data received {"connection_id":161995,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:33:50] local.INFO: Processing buffer {"connection_id":161995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:33:50] local.INFO: IMEI packet received {"connection_id":161995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":161995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:33:56] local.INFO: TCP Data received {"connection_id":161995,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:33:56] local.INFO: Processing buffer {"connection_id":161995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:33:56] local.INFO: IMEI packet received {"connection_id":161995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":161995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:33:56] local.INFO: TCP Data received {"connection_id":161995,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:33:56] local.INFO: Processing buffer {"connection_id":161995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b092a0012d7f8ac005afe2d0000500fa1f..."} 
[2026-08-22 00:33:56] local.INFO: Packet analysis {"connection_id":161995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:33:56] local.INFO: Extracted packet for processing {"connection_id":161995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b0"} 
[2026-08-22 00:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558636032001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493698048,"note":"Value kept but may cause issues"} 
[2026-08-22 00:33: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-22 00:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787338724000,"timestamp_ms":1787338724000,"timestamp_seconds":1787338724,"priority":1,"record_length":96,"hex_timestamp":"000001a025b092a0"} 
[2026-08-22 00: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-22 00: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-22 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 00:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558636032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190580226493698048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558636032001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:33:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493698048,"description":"Unknown IO ID 45"} 
[2026-08-22 00:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558636032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493698048}} 
[2026-08-22 00:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":161995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:33:56] local.INFO: GPS data processed {"connection_id":161995,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:33:56] local.INFO: Acknowledgment sent {"connection_id":161995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:34:28] local.INFO: TCP Data received {"connection_id":161995,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:34:28] local.INFO: Processing buffer {"connection_id":161995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:34:28] local.INFO: Packet analysis {"connection_id":161995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:34:28] local.INFO: Extracted packet for processing {"connection_id":161995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:34:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558713344001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:34: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-22 00:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787339025000,"timestamp_ms":1787339025000,"timestamp_seconds":1787339025,"priority":1,"record_length":96,"hex_timestamp":"000001a025b52a68"} 
[2026-08-22 00: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-22 00:34: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-22 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00:34: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-22 00: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-22 00:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558713344001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558713344001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:34:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558713344001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":161995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:34:28] local.INFO: GPS data processed {"connection_id":161995,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:34:28] local.INFO: Acknowledgment sent {"connection_id":161995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:34:50] local.INFO: TCP Data received {"connection_id":159670,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:34:50] local.INFO: Processing buffer {"connection_id":159670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:34:50] local.INFO: IMEI packet received {"connection_id":159670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":159670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:34:56] local.INFO: TCP Data received {"connection_id":159670,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:34:56] local.INFO: Processing buffer {"connection_id":159670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:34:56] local.INFO: IMEI packet received {"connection_id":159670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":159670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:34:56] local.INFO: TCP Data received {"connection_id":159670,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:34:56] local.INFO: Processing buffer {"connection_id":159670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:34:56] local.INFO: Packet analysis {"connection_id":159670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:34:56] local.INFO: Extracted packet for processing {"connection_id":159670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558713344001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:34: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-22 00:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787339025000,"timestamp_ms":1787339025000,"timestamp_seconds":1787339025,"priority":1,"record_length":96,"hex_timestamp":"000001a025b52a68"} 
[2026-08-22 00: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-22 00: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-22 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:34: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-22 00: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-22 00: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-22 00:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558713344001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558713344001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:34:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558713344001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":159670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:34:56] local.INFO: GPS data processed {"connection_id":159670,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:34:56] local.INFO: Acknowledgment sent {"connection_id":159670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:35:28] local.INFO: TCP Data received {"connection_id":159670,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:35:28] local.INFO: Processing buffer {"connection_id":159670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:35:28] local.INFO: Packet analysis {"connection_id":159670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:35:28] local.INFO: Extracted packet for processing {"connection_id":159670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558713344001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:35: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-22 00:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787339025000,"timestamp_ms":1787339025000,"timestamp_seconds":1787339025,"priority":1,"record_length":96,"hex_timestamp":"000001a025b52a68"} 
[2026-08-22 00: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-22 00: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-22 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558713344001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558713344001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:35:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558713344001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":159670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:35:28] local.INFO: GPS data processed {"connection_id":159670,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:35:28] local.INFO: Acknowledgment sent {"connection_id":159670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:35:50] local.INFO: TCP Data received {"connection_id":159409,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:35:50] local.INFO: Processing buffer {"connection_id":159409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:35:50] local.INFO: IMEI packet received {"connection_id":159409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":159409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:35:55] local.INFO: TCP Data received {"connection_id":159409,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:35:55] local.INFO: Processing buffer {"connection_id":159409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:35:55] local.INFO: IMEI packet received {"connection_id":159409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":159409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:35:56] local.INFO: TCP Data received {"connection_id":159409,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:35:56] local.INFO: Processing buffer {"connection_id":159409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:35:56] local.INFO: Packet analysis {"connection_id":159409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:35:56] local.INFO: Extracted packet for processing {"connection_id":159409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558713344001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:35: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-22 00:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787339025000,"timestamp_ms":1787339025000,"timestamp_seconds":1787339025,"priority":1,"record_length":96,"hex_timestamp":"000001a025b52a68"} 
[2026-08-22 00: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-22 00:35: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-22 00: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:35: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-22 00: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-22 00: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-22 00:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558713344001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558713344001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:35:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558713344001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":159409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:35:56] local.INFO: GPS data processed {"connection_id":159409,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:35:56] local.INFO: Acknowledgment sent {"connection_id":159409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:36:27] local.INFO: TCP Data received {"connection_id":159409,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:36:27] local.INFO: Processing buffer {"connection_id":159409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:36:27] local.INFO: Packet analysis {"connection_id":159409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:36:27] local.INFO: Extracted packet for processing {"connection_id":159409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558713344001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:36: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-22 00:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787339025000,"timestamp_ms":1787339025000,"timestamp_seconds":1787339025,"priority":1,"record_length":96,"hex_timestamp":"000001a025b52a68"} 
[2026-08-22 00: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-22 00:36: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-22 00:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558713344001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558713344001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:36:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558713344001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":159409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:36:27] local.INFO: GPS data processed {"connection_id":159409,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:36:27] local.INFO: Acknowledgment sent {"connection_id":159409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:36:56] local.INFO: TCP Data received {"connection_id":159671,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:36:56] local.INFO: Processing buffer {"connection_id":159671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:36:56] local.INFO: IMEI packet received {"connection_id":159671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":159671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:37:01] local.INFO: TCP Data received {"connection_id":159671,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:37:01] local.INFO: Processing buffer {"connection_id":159671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:37:01] local.INFO: IMEI packet received {"connection_id":159671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":159671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:37:01] local.INFO: TCP Data received {"connection_id":159671,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:37:01] local.INFO: Processing buffer {"connection_id":159671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:37:01] local.INFO: Packet analysis {"connection_id":159671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:37:01] local.INFO: Extracted packet for processing {"connection_id":159671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 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-22 00:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558713344001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:37: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-22 00:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787339025000,"timestamp_ms":1787339025000,"timestamp_seconds":1787339025,"priority":1,"record_length":96,"hex_timestamp":"000001a025b52a68"} 
[2026-08-22 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-22 00:37: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-22 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:37: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-22 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-22 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-22 00:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558713344001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558713344001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:37:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558713344001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":159671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:37:01] local.INFO: GPS data processed {"connection_id":159671,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:37:01] local.INFO: Acknowledgment sent {"connection_id":159671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:37:07] local.INFO: TCP Data received {"connection_id":159671,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:37:07] local.INFO: Processing buffer {"connection_id":159671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:37:07] local.INFO: Packet analysis {"connection_id":159671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:37:07] local.INFO: Extracted packet for processing {"connection_id":159671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:37:07] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558713344001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:37:07] 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-22 00:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787339025000,"timestamp_ms":1787339025000,"timestamp_seconds":1787339025,"priority":1,"record_length":96,"hex_timestamp":"000001a025b52a68"} 
[2026-08-22 00:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 00:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:37:07] 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-22 00:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558713344001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558713344001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:37:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:37:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558713344001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":159671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:37:07] local.INFO: GPS data processed {"connection_id":159671,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:37:07] local.INFO: Acknowledgment sent {"connection_id":159671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:37:51] local.INFO: TCP Data received {"connection_id":161996,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:37:51] local.INFO: Processing buffer {"connection_id":161996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:37:51] local.INFO: IMEI packet received {"connection_id":161996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":161996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:37:56] local.INFO: TCP Data received {"connection_id":161996,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:37:56] local.INFO: Processing buffer {"connection_id":161996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:37:56] local.INFO: IMEI packet received {"connection_id":161996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":161996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:37:56] local.INFO: TCP Data received {"connection_id":161996,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:37:56] local.INFO: Processing buffer {"connection_id":161996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:37:56] local.INFO: Packet analysis {"connection_id":161996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:37:56] local.INFO: Extracted packet for processing {"connection_id":161996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558713344001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:37: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-22 00:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787339025000,"timestamp_ms":1787339025000,"timestamp_seconds":1787339025,"priority":1,"record_length":96,"hex_timestamp":"000001a025b52a68"} 
[2026-08-22 00: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-22 00: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-22 00: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:37: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-22 00: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-22 00: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-22 00:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558713344001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558713344001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:37:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558713344001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":161996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:37:56] local.INFO: GPS data processed {"connection_id":161996,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:37:56] local.INFO: Acknowledgment sent {"connection_id":161996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:38:27] local.INFO: TCP Data received {"connection_id":161996,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:38:27] local.INFO: Processing buffer {"connection_id":161996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:38:27] local.INFO: Packet analysis {"connection_id":161996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:38:27] local.INFO: Extracted packet for processing {"connection_id":161996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558713344001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:38: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-22 00:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787339025000,"timestamp_ms":1787339025000,"timestamp_seconds":1787339025,"priority":1,"record_length":96,"hex_timestamp":"000001a025b52a68"} 
[2026-08-22 00: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-22 00:38: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-22 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558713344001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558713344001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:38:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558713344001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":161996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:38:27] local.INFO: GPS data processed {"connection_id":161996,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:38:27] local.INFO: Acknowledgment sent {"connection_id":161996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:38:51] local.INFO: TCP Data received {"connection_id":161997,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:38:51] local.INFO: Processing buffer {"connection_id":161997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:38:51] local.INFO: IMEI packet received {"connection_id":161997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":161997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:38:56] local.INFO: TCP Data received {"connection_id":161997,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:38:56] local.INFO: Processing buffer {"connection_id":161997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:38:56] local.INFO: IMEI packet received {"connection_id":161997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":161997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:38:56] local.INFO: TCP Data received {"connection_id":161997,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:38:56] local.INFO: Processing buffer {"connection_id":161997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b52a68012d7f8ac005afe2d0000500fa26..."} 
[2026-08-22 00:38:56] local.INFO: Packet analysis {"connection_id":161997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:38:56] local.INFO: Extracted packet for processing {"connection_id":161997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b5"} 
[2026-08-22 00:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558713344001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:38: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-22 00:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787339025000,"timestamp_ms":1787339025000,"timestamp_seconds":1787339025,"priority":1,"record_length":96,"hex_timestamp":"000001a025b52a68"} 
[2026-08-22 00: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-22 00:38: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-22 00:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:38: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-22 00: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-22 00: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-22 00:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558713344001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558713344001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:38:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558713344001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":161997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:38:56] local.INFO: GPS data processed {"connection_id":161997,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:38:56] local.INFO: Acknowledgment sent {"connection_id":161997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:39:28] local.INFO: TCP Data received {"connection_id":161997,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:39:28] local.INFO: Processing buffer {"connection_id":161997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:39:28] local.INFO: Packet analysis {"connection_id":161997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:39:28] local.INFO: Extracted packet for processing {"connection_id":161997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558790400001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:39: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-22 00:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787339326000,"timestamp_ms":1787339326000,"timestamp_seconds":1787339326,"priority":1,"record_length":96,"hex_timestamp":"000001a025b9c230"} 
[2026-08-22 00:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:39: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-22 00:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:39:28] 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-22 00:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558790400001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558790400001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:39:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558790400001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":161997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:39:28] local.INFO: GPS data processed {"connection_id":161997,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:39:28] local.INFO: Acknowledgment sent {"connection_id":161997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:39:50] local.INFO: TCP Data received {"connection_id":159410,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:39:50] local.INFO: Processing buffer {"connection_id":159410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:39:50] local.INFO: IMEI packet received {"connection_id":159410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":159410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:39:56] local.INFO: TCP Data received {"connection_id":159410,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:39:56] local.INFO: Processing buffer {"connection_id":159410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:39:56] local.INFO: IMEI packet received {"connection_id":159410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":159410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:39:56] local.INFO: TCP Data received {"connection_id":159410,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:39:56] local.INFO: Processing buffer {"connection_id":159410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:39:56] local.INFO: Packet analysis {"connection_id":159410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:39:56] local.INFO: Extracted packet for processing {"connection_id":159410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558790400001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00: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-22 00:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787339326000,"timestamp_ms":1787339326000,"timestamp_seconds":1787339326,"priority":1,"record_length":96,"hex_timestamp":"000001a025b9c230"} 
[2026-08-22 00: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-22 00: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-22 00: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":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:39: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-22 00: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-22 00: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-22 00:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558790400001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558790400001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:39:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558790400001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":159410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:39:56] local.INFO: GPS data processed {"connection_id":159410,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:39:56] local.INFO: Acknowledgment sent {"connection_id":159410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:40:27] local.INFO: TCP Data received {"connection_id":159410,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:40:27] local.INFO: Processing buffer {"connection_id":159410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:40:27] local.INFO: Packet analysis {"connection_id":159410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:40:27] local.INFO: Extracted packet for processing {"connection_id":159410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558790400001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:40: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-22 00:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787339326000,"timestamp_ms":1787339326000,"timestamp_seconds":1787339326,"priority":1,"record_length":96,"hex_timestamp":"000001a025b9c230"} 
[2026-08-22 00: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-22 00:40: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-22 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:40:27] 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-22 00: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-22 00: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-22 00:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558790400001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558790400001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:40:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:40:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558790400001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":159410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:40:27] local.INFO: GPS data processed {"connection_id":159410,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:40:27] local.INFO: Acknowledgment sent {"connection_id":159410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:40:50] local.INFO: TCP Data received {"connection_id":159672,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:40:50] local.INFO: Processing buffer {"connection_id":159672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:40:50] local.INFO: IMEI packet received {"connection_id":159672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":159672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:40:56] local.INFO: TCP Data received {"connection_id":159672,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:40:56] local.INFO: Processing buffer {"connection_id":159672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:40:56] local.INFO: IMEI packet received {"connection_id":159672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":159672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:40:56] local.INFO: TCP Data received {"connection_id":159672,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:40:56] local.INFO: Processing buffer {"connection_id":159672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:40:56] local.INFO: Packet analysis {"connection_id":159672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:40:56] local.INFO: Extracted packet for processing {"connection_id":159672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558790400001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00: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-22 00:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787339326000,"timestamp_ms":1787339326000,"timestamp_seconds":1787339326,"priority":1,"record_length":96,"hex_timestamp":"000001a025b9c230"} 
[2026-08-22 00: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-22 00:40: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-22 00:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:40: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-22 00: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-22 00: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-22 00:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558790400001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558790400001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:40:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558790400001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":159672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:40:56] local.INFO: GPS data processed {"connection_id":159672,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:40:56] local.INFO: Acknowledgment sent {"connection_id":159672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:41:27] local.INFO: TCP Data received {"connection_id":159672,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:41:27] local.INFO: Processing buffer {"connection_id":159672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:41:27] local.INFO: Packet analysis {"connection_id":159672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:41:27] local.INFO: Extracted packet for processing {"connection_id":159672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558790400001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:41: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-22 00:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787339326000,"timestamp_ms":1787339326000,"timestamp_seconds":1787339326,"priority":1,"record_length":96,"hex_timestamp":"000001a025b9c230"} 
[2026-08-22 00: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-22 00:41: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-22 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:41:27] 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-22 00: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-22 00: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-22 00:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558790400001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558790400001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:41:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558790400001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":159672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:41:27] local.INFO: GPS data processed {"connection_id":159672,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:41:27] local.INFO: Acknowledgment sent {"connection_id":159672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:41:56] local.INFO: TCP Data received {"connection_id":159411,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:41:56] local.INFO: Processing buffer {"connection_id":159411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:41:56] local.INFO: IMEI packet received {"connection_id":159411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":159411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:41:57] local.INFO: TCP Data received {"connection_id":159411,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:41:57] local.INFO: Processing buffer {"connection_id":159411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:41:57] local.INFO: Packet analysis {"connection_id":159411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:41:57] local.INFO: Extracted packet for processing {"connection_id":159411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:41:57] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558790400001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:41: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-22 00:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787339326000,"timestamp_ms":1787339326000,"timestamp_seconds":1787339326,"priority":1,"record_length":96,"hex_timestamp":"000001a025b9c230"} 
[2026-08-22 00: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-22 00: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:41:57] 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-22 00: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-22 00: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-22 00:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558790400001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558790400001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:41:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558790400001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":159411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:41:57] local.INFO: GPS data processed {"connection_id":159411,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:41:57] local.INFO: Acknowledgment sent {"connection_id":159411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:42:28] local.INFO: TCP Data received {"connection_id":159411,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:42:28] local.INFO: Processing buffer {"connection_id":159411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:42:28] local.INFO: Packet analysis {"connection_id":159411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:42:28] local.INFO: Extracted packet for processing {"connection_id":159411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558790400001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:42: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-22 00:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787339326000,"timestamp_ms":1787339326000,"timestamp_seconds":1787339326,"priority":1,"record_length":96,"hex_timestamp":"000001a025b9c230"} 
[2026-08-22 00: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-22 00:42: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-22 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:42:28] 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-22 00:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00: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-22 00:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558790400001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558790400001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:42:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558790400001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":159411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:42:28] local.INFO: GPS data processed {"connection_id":159411,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:42:28] local.INFO: Acknowledgment sent {"connection_id":159411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:42:56] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:42:56] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:42:56] local.INFO: IMEI packet received {"connection_id":161998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":161998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:43:01] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:43:01] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:43:01] local.INFO: IMEI packet received {"connection_id":161998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":161998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:43:01] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:43:01] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:43:01] local.INFO: Packet analysis {"connection_id":161998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:43:01] local.INFO: Extracted packet for processing {"connection_id":161998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:43:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00:43: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-22 00:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558790400001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:43: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-22 00:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787339326000,"timestamp_ms":1787339326000,"timestamp_seconds":1787339326,"priority":1,"record_length":96,"hex_timestamp":"000001a025b9c230"} 
[2026-08-22 00:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:43: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-22 00:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00:43: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-22 00:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558790400001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558790400001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:43:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:43:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558790400001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":161998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:43:01] local.INFO: GPS data processed {"connection_id":161998,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:43:01] local.INFO: Acknowledgment sent {"connection_id":161998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:43:06] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:43:06] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:43:06] local.INFO: Packet analysis {"connection_id":161998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:43:06] local.INFO: Extracted packet for processing {"connection_id":161998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558790400001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:43:06] 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-22 00:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787339326000,"timestamp_ms":1787339326000,"timestamp_seconds":1787339326,"priority":1,"record_length":96,"hex_timestamp":"000001a025b9c230"} 
[2026-08-22 00: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-22 00:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 00:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558790400001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558790400001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:43:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558790400001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":161998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:43:06] local.INFO: GPS data processed {"connection_id":161998,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:43:06] local.INFO: Acknowledgment sent {"connection_id":161998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:43:51] local.INFO: TCP Data received {"connection_id":159412,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:43:51] local.INFO: Processing buffer {"connection_id":159412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:43:51] local.INFO: IMEI packet received {"connection_id":159412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":159412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:43:56] local.INFO: TCP Data received {"connection_id":159412,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:43:56] local.INFO: Processing buffer {"connection_id":159412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:43:56] local.INFO: IMEI packet received {"connection_id":159412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":159412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:43:56] local.INFO: TCP Data received {"connection_id":159412,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:43:56] local.INFO: Processing buffer {"connection_id":159412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025b9c230012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:43:56] local.INFO: Packet analysis {"connection_id":159412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:43:56] local.INFO: Extracted packet for processing {"connection_id":159412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025b9"} 
[2026-08-22 00:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558790400001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:43: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-22 00:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787339326000,"timestamp_ms":1787339326000,"timestamp_seconds":1787339326,"priority":1,"record_length":96,"hex_timestamp":"000001a025b9c230"} 
[2026-08-22 00: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-22 00:43: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-22 00: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":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:43: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-22 00: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-22 00: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-22 00:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558790400001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558790400001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:43:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558790400001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":159412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:43:56] local.INFO: GPS data processed {"connection_id":159412,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:43:56] local.INFO: Acknowledgment sent {"connection_id":159412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:44:28] local.INFO: TCP Data received {"connection_id":159412,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:44:28] local.INFO: Processing buffer {"connection_id":159412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:44:28] local.INFO: Packet analysis {"connection_id":159412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:44:28] local.INFO: Extracted packet for processing {"connection_id":159412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:44:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558867456001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:44: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-22 00:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787339627000,"timestamp_ms":1787339627000,"timestamp_seconds":1787339627,"priority":1,"record_length":96,"hex_timestamp":"000001a025be59f8"} 
[2026-08-22 00: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-22 00:44: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-22 00:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:44:28] 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-22 00: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-22 00: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-22 00:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558867456001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558867456001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:44:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558867456001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":159412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:44:28] local.INFO: GPS data processed {"connection_id":159412,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:44:28] local.INFO: Acknowledgment sent {"connection_id":159412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:44:50] local.INFO: TCP Data received {"connection_id":159673,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:44:50] local.INFO: Processing buffer {"connection_id":159673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:44:50] local.INFO: IMEI packet received {"connection_id":159673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":159673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:44:56] local.INFO: TCP Data received {"connection_id":159673,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:44:56] local.INFO: Processing buffer {"connection_id":159673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:44:56] local.INFO: IMEI packet received {"connection_id":159673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":159673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:44:56] local.INFO: TCP Data received {"connection_id":159673,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:44:56] local.INFO: Processing buffer {"connection_id":159673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:44:56] local.INFO: Packet analysis {"connection_id":159673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:44:56] local.INFO: Extracted packet for processing {"connection_id":159673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558867456001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00: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-22 00:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787339627000,"timestamp_ms":1787339627000,"timestamp_seconds":1787339627,"priority":1,"record_length":96,"hex_timestamp":"000001a025be59f8"} 
[2026-08-22 00: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-22 00:44: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-22 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:44: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-22 00: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-22 00: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-22 00:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558867456001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558867456001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:44:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558867456001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":159673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:44:56] local.INFO: GPS data processed {"connection_id":159673,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:44:56] local.INFO: Acknowledgment sent {"connection_id":159673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:45:27] local.INFO: TCP Data received {"connection_id":159673,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:45:27] local.INFO: Processing buffer {"connection_id":159673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:45:27] local.INFO: Packet analysis {"connection_id":159673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:45:27] local.INFO: Extracted packet for processing {"connection_id":159673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:45:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558867456001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:45: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-22 00:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787339627000,"timestamp_ms":1787339627000,"timestamp_seconds":1787339627,"priority":1,"record_length":96,"hex_timestamp":"000001a025be59f8"} 
[2026-08-22 00: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-22 00:45: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-22 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:45:27] 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-22 00: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-22 00: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-22 00:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558867456001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558867456001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:45:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:45:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558867456001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":159673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:45:27] local.INFO: GPS data processed {"connection_id":159673,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:45:27] local.INFO: Acknowledgment sent {"connection_id":159673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:45:50] local.INFO: TCP Data received {"connection_id":159674,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:45:50] local.INFO: Processing buffer {"connection_id":159674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:45:50] local.INFO: IMEI packet received {"connection_id":159674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":159674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:45:56] local.INFO: TCP Data received {"connection_id":159674,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:45:56] local.INFO: Processing buffer {"connection_id":159674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:45:56] local.INFO: IMEI packet received {"connection_id":159674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":159674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:45:56] local.INFO: TCP Data received {"connection_id":159674,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:45:56] local.INFO: Processing buffer {"connection_id":159674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:45:56] local.INFO: Packet analysis {"connection_id":159674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:45:56] local.INFO: Extracted packet for processing {"connection_id":159674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558867456001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:45: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-22 00:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787339627000,"timestamp_ms":1787339627000,"timestamp_seconds":1787339627,"priority":1,"record_length":96,"hex_timestamp":"000001a025be59f8"} 
[2026-08-22 00: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-22 00: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-22 00: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":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:45: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-22 00: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-22 00: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-22 00:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558867456001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558867456001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:45:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558867456001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":159674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:45:56] local.INFO: GPS data processed {"connection_id":159674,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:45:56] local.INFO: Acknowledgment sent {"connection_id":159674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:46:27] local.INFO: TCP Data received {"connection_id":159674,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:46:27] local.INFO: Processing buffer {"connection_id":159674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:46:27] local.INFO: Packet analysis {"connection_id":159674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:46:27] local.INFO: Extracted packet for processing {"connection_id":159674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558867456001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:46: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-22 00:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787339627000,"timestamp_ms":1787339627000,"timestamp_seconds":1787339627,"priority":1,"record_length":96,"hex_timestamp":"000001a025be59f8"} 
[2026-08-22 00: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-22 00:46: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-22 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:46:27] 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-22 00: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-22 00: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-22 00:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558867456001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558867456001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:46:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558867456001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":159674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:46:27] local.INFO: GPS data processed {"connection_id":159674,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:46:27] local.INFO: Acknowledgment sent {"connection_id":159674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:46:50] local.INFO: TCP Data received {"connection_id":160596,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:46:50] local.INFO: Processing buffer {"connection_id":160596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:46:50] local.INFO: IMEI packet received {"connection_id":160596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":160596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:46:56] local.INFO: TCP Data received {"connection_id":160596,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:46:56] local.INFO: Processing buffer {"connection_id":160596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:46:56] local.INFO: IMEI packet received {"connection_id":160596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":160596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:46:56] local.INFO: TCP Data received {"connection_id":160596,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:46:56] local.INFO: Processing buffer {"connection_id":160596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:46:56] local.INFO: Packet analysis {"connection_id":160596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:46:56] local.INFO: Extracted packet for processing {"connection_id":160596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558867456001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00: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-22 00:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787339627000,"timestamp_ms":1787339627000,"timestamp_seconds":1787339627,"priority":1,"record_length":96,"hex_timestamp":"000001a025be59f8"} 
[2026-08-22 00: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-22 00: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-22 00: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-22 00: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-22 00: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-22 00: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-22 00:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558867456001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558867456001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:46:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558867456001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":160596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:46:56] local.INFO: GPS data processed {"connection_id":160596,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:46:56] local.INFO: Acknowledgment sent {"connection_id":160596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:47:27] local.INFO: TCP Data received {"connection_id":160596,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:47:27] local.INFO: Processing buffer {"connection_id":160596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:47:27] local.INFO: Packet analysis {"connection_id":160596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:47:27] local.INFO: Extracted packet for processing {"connection_id":160596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558867456001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:47: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-22 00:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787339627000,"timestamp_ms":1787339627000,"timestamp_seconds":1787339627,"priority":1,"record_length":96,"hex_timestamp":"000001a025be59f8"} 
[2026-08-22 00: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-22 00:47: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-22 00: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":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:47:27] 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-22 00: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-22 00: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-22 00:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558867456001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558867456001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:47:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:47:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558867456001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":160596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:47:27] local.INFO: GPS data processed {"connection_id":160596,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:47:27] local.INFO: Acknowledgment sent {"connection_id":160596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:47:56] local.INFO: TCP Data received {"connection_id":159675,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:47:56] local.INFO: Processing buffer {"connection_id":159675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:47:56] local.INFO: IMEI packet received {"connection_id":159675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":159675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:48:01] local.INFO: TCP Data received {"connection_id":159675,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:48:01] local.INFO: Processing buffer {"connection_id":159675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:48:01] local.INFO: IMEI packet received {"connection_id":159675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":159675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:48:01] local.INFO: TCP Data received {"connection_id":159675,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:48:01] local.INFO: Processing buffer {"connection_id":159675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:48:01] local.INFO: Packet analysis {"connection_id":159675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:48:01] local.INFO: Extracted packet for processing {"connection_id":159675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558867456001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:48: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-22 00:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787339627000,"timestamp_ms":1787339627000,"timestamp_seconds":1787339627,"priority":1,"record_length":96,"hex_timestamp":"000001a025be59f8"} 
[2026-08-22 00: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-22 00:48: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-22 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558867456001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558867456001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:48:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558867456001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":159675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:48:01] local.INFO: GPS data processed {"connection_id":159675,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:48:01] local.INFO: Acknowledgment sent {"connection_id":159675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:48:06] local.INFO: TCP Data received {"connection_id":159675,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:48:06] local.INFO: Processing buffer {"connection_id":159675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:48:06] local.INFO: Packet analysis {"connection_id":159675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:48:06] local.INFO: Extracted packet for processing {"connection_id":159675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558867456001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:48:06] 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-22 00:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787339627000,"timestamp_ms":1787339627000,"timestamp_seconds":1787339627,"priority":1,"record_length":96,"hex_timestamp":"000001a025be59f8"} 
[2026-08-22 00: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-22 00:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 00:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558867456001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558867456001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:48:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558867456001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":159675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:48:06] local.INFO: GPS data processed {"connection_id":159675,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:48:06] local.INFO: Acknowledgment sent {"connection_id":159675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:48:51] local.INFO: TCP Data received {"connection_id":159676,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:48:51] local.INFO: Processing buffer {"connection_id":159676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:48:51] local.INFO: IMEI packet received {"connection_id":159676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":159676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:48:56] local.INFO: TCP Data received {"connection_id":159676,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:48:56] local.INFO: Processing buffer {"connection_id":159676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:48:56] local.INFO: IMEI packet received {"connection_id":159676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":159676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:48:56] local.INFO: TCP Data received {"connection_id":159676,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:48:56] local.INFO: Processing buffer {"connection_id":159676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025be59f8012d7f8ac005afe2d0000500fa22..."} 
[2026-08-22 00:48:56] local.INFO: Packet analysis {"connection_id":159676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:48:56] local.INFO: Extracted packet for processing {"connection_id":159676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025be"} 
[2026-08-22 00:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558867456001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00: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-22 00:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787339627000,"timestamp_ms":1787339627000,"timestamp_seconds":1787339627,"priority":1,"record_length":96,"hex_timestamp":"000001a025be59f8"} 
[2026-08-22 00: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-22 00: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-22 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:48: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-22 00: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-22 00: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-22 00:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558867456001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558867456001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:48:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558867456001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":159676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:48:56] local.INFO: GPS data processed {"connection_id":159676,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:48:56] local.INFO: Acknowledgment sent {"connection_id":159676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:52:26] local.INFO: TCP Data received {"connection_id":159677,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:52:26] local.INFO: Processing buffer {"connection_id":159677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:52:26] local.INFO: IMEI packet received {"connection_id":159677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":159677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:52:31] local.INFO: TCP Data received {"connection_id":159677,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:52:31] local.INFO: Processing buffer {"connection_id":159677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:52:31] local.INFO: IMEI packet received {"connection_id":159677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":159677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:52:33] local.INFO: TCP Data received {"connection_id":159677,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:52:33] local.INFO: Processing buffer {"connection_id":159677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:52:33] local.INFO: Packet analysis {"connection_id":159677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:52:33] local.INFO: Extracted packet for processing {"connection_id":159677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558944512001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:52: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-22 00:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787339928000,"timestamp_ms":1787339928000,"timestamp_seconds":1787339928,"priority":1,"record_length":96,"hex_timestamp":"000001a025c2f1c0"} 
[2026-08-22 00: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-22 00:52: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-22 00: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-22 00: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-22 00: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-22 00: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-22 00:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558944512001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558944512001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:52:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558944512001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":159677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:52:33] local.INFO: GPS data processed {"connection_id":159677,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:52:33] local.INFO: Acknowledgment sent {"connection_id":159677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:52:56] local.INFO: TCP Data received {"connection_id":160597,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:52:56] local.INFO: Processing buffer {"connection_id":160597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:52:56] local.INFO: IMEI packet received {"connection_id":160597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":160597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:53:01] local.INFO: TCP Data received {"connection_id":160597,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:53:01] local.INFO: Processing buffer {"connection_id":160597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:53:01] local.INFO: IMEI packet received {"connection_id":160597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":160597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:53:02] local.INFO: TCP Data received {"connection_id":160597,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:53:02] local.INFO: Processing buffer {"connection_id":160597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:53:02] local.INFO: Packet analysis {"connection_id":160597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:53:02] local.INFO: Extracted packet for processing {"connection_id":160597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558944512001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:53:02] 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-22 00:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787339928000,"timestamp_ms":1787339928000,"timestamp_seconds":1787339928,"priority":1,"record_length":96,"hex_timestamp":"000001a025c2f1c0"} 
[2026-08-22 00:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:53: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-22 00:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:53: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-22 00:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558944512001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558944512001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:53:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558944512001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":160597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:53:02] local.INFO: GPS data processed {"connection_id":160597,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:53:02] local.INFO: Acknowledgment sent {"connection_id":160597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:53:35] local.INFO: TCP Data received {"connection_id":160597,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:53:35] local.INFO: Processing buffer {"connection_id":160597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:53:35] local.INFO: Packet analysis {"connection_id":160597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:53:35] local.INFO: Extracted packet for processing {"connection_id":160597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:53:35] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558944512001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:53: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-22 00:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787339928000,"timestamp_ms":1787339928000,"timestamp_seconds":1787339928,"priority":1,"record_length":96,"hex_timestamp":"000001a025c2f1c0"} 
[2026-08-22 00:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:53: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-22 00:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:53: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-22 00:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558944512001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558944512001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:53:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:53:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558944512001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":160597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:53:35] local.INFO: GPS data processed {"connection_id":160597,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:53:35] local.INFO: Acknowledgment sent {"connection_id":160597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:53:50] local.INFO: TCP Data received {"connection_id":159678,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:53:50] local.INFO: Processing buffer {"connection_id":159678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:53:50] local.INFO: IMEI packet received {"connection_id":159678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":159678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:53:56] local.INFO: TCP Data received {"connection_id":159678,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:53:56] local.INFO: Processing buffer {"connection_id":159678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:53:56] local.INFO: IMEI packet received {"connection_id":159678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":159678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:53:57] local.INFO: TCP Data received {"connection_id":159678,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:53:57] local.INFO: Processing buffer {"connection_id":159678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:53:57] local.INFO: Packet analysis {"connection_id":159678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:53:57] local.INFO: Extracted packet for processing {"connection_id":159678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:53:57] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558944512001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:53: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-22 00:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787339928000,"timestamp_ms":1787339928000,"timestamp_seconds":1787339928,"priority":1,"record_length":96,"hex_timestamp":"000001a025c2f1c0"} 
[2026-08-22 00: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-22 00:53: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-22 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:53:57] 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-22 00: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-22 00: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-22 00:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558944512001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558944512001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:53:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:53:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558944512001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":159678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:53:57] local.INFO: GPS data processed {"connection_id":159678,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:53:57] local.INFO: Acknowledgment sent {"connection_id":159678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:54:30] local.INFO: TCP Data received {"connection_id":159678,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:54:30] local.INFO: Processing buffer {"connection_id":159678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:54:30] local.INFO: Packet analysis {"connection_id":159678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:54:30] local.INFO: Extracted packet for processing {"connection_id":159678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:54:30] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558944512001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:54: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-22 00:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787339928000,"timestamp_ms":1787339928000,"timestamp_seconds":1787339928,"priority":1,"record_length":96,"hex_timestamp":"000001a025c2f1c0"} 
[2026-08-22 00: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-22 00:54: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-22 00: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:54: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-22 00: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-22 00: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-22 00:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558944512001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558944512001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:54:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:54:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558944512001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":159678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:54:30] local.INFO: GPS data processed {"connection_id":159678,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:54:30] local.INFO: Acknowledgment sent {"connection_id":159678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:54:50] local.INFO: TCP Data received {"connection_id":159413,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:54:50] local.INFO: Processing buffer {"connection_id":159413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:54:50] local.INFO: IMEI packet received {"connection_id":159413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":159413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:54:55] local.INFO: TCP Data received {"connection_id":159413,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:54:55] local.INFO: Processing buffer {"connection_id":159413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:54:55] local.INFO: IMEI packet received {"connection_id":159413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":159413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:54:56] local.INFO: TCP Data received {"connection_id":159413,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:54:56] local.INFO: Processing buffer {"connection_id":159413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:54:56] local.INFO: Packet analysis {"connection_id":159413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:54:56] local.INFO: Extracted packet for processing {"connection_id":159413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558944512001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:54: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-22 00:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787339928000,"timestamp_ms":1787339928000,"timestamp_seconds":1787339928,"priority":1,"record_length":96,"hex_timestamp":"000001a025c2f1c0"} 
[2026-08-22 00: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-22 00: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-22 00:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:54: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-22 00: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-22 00: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-22 00:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558944512001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558944512001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:54:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558944512001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":159413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:54:56] local.INFO: GPS data processed {"connection_id":159413,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:54:56] local.INFO: Acknowledgment sent {"connection_id":159413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:55:27] local.INFO: TCP Data received {"connection_id":159413,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:55:27] local.INFO: Processing buffer {"connection_id":159413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:55:27] local.INFO: Packet analysis {"connection_id":159413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:55:27] local.INFO: Extracted packet for processing {"connection_id":159413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 00:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558944512001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:55: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-22 00:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787339928000,"timestamp_ms":1787339928000,"timestamp_seconds":1787339928,"priority":1,"record_length":96,"hex_timestamp":"000001a025c2f1c0"} 
[2026-08-22 00:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 00:55: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-22 00:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 00:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 00:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558944512001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558944512001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:55:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558944512001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":159413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:55:27] local.INFO: GPS data processed {"connection_id":159413,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:55:27] local.INFO: Acknowledgment sent {"connection_id":159413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:55:56] local.INFO: TCP Data received {"connection_id":159679,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:55:56] local.INFO: Processing buffer {"connection_id":159679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:55:56] local.INFO: IMEI packet received {"connection_id":159679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":159679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:56:01] local.INFO: TCP Data received {"connection_id":159679,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:56:01] local.INFO: Processing buffer {"connection_id":159679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:56:01] local.INFO: IMEI packet received {"connection_id":159679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":159679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:56:02] local.INFO: TCP Data received {"connection_id":159679,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:56:02] local.INFO: Processing buffer {"connection_id":159679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:56:02] local.INFO: Packet analysis {"connection_id":159679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:56:02] local.INFO: Extracted packet for processing {"connection_id":159679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558944512001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:56:02] 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-22 00:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787339928000,"timestamp_ms":1787339928000,"timestamp_seconds":1787339928,"priority":1,"record_length":96,"hex_timestamp":"000001a025c2f1c0"} 
[2026-08-22 00: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-22 00:56: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-22 00: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:56: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-22 00: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-22 00: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-22 00:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558944512001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558944512001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:56:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558944512001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":159679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:56:02] local.INFO: GPS data processed {"connection_id":159679,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:56:02] local.INFO: Acknowledgment sent {"connection_id":159679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:56:06] local.INFO: TCP Data received {"connection_id":159679,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:56:06] local.INFO: Processing buffer {"connection_id":159679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:56:06] local.INFO: Packet analysis {"connection_id":159679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:56:06] local.INFO: Extracted packet for processing {"connection_id":159679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558944512001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:56:06] 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-22 00:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787339928000,"timestamp_ms":1787339928000,"timestamp_seconds":1787339928,"priority":1,"record_length":96,"hex_timestamp":"000001a025c2f1c0"} 
[2026-08-22 00: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-22 00:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 00:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 00: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-22 00: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-22 00:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558944512001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558944512001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:56:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558944512001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":159679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:56:06] local.INFO: GPS data processed {"connection_id":159679,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:56:06] local.INFO: Acknowledgment sent {"connection_id":159679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:56:51] local.INFO: TCP Data received {"connection_id":160598,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:56:51] local.INFO: Processing buffer {"connection_id":160598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:56:51] local.INFO: IMEI packet received {"connection_id":160598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":160598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:56:56] local.INFO: TCP Data received {"connection_id":160598,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:56:56] local.INFO: Processing buffer {"connection_id":160598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:56:56] local.INFO: IMEI packet received {"connection_id":160598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":160598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:56:56] local.INFO: TCP Data received {"connection_id":160598,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:56:56] local.INFO: Processing buffer {"connection_id":160598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025c2f1c0012d7f8ac005afe2d0000300fa23..."} 
[2026-08-22 00:56:56] local.INFO: Packet analysis {"connection_id":160598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:56:56] local.INFO: Extracted packet for processing {"connection_id":160598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025c2"} 
[2026-08-22 00:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558944512001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:56: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-22 00:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787339928000,"timestamp_ms":1787339928000,"timestamp_seconds":1787339928,"priority":1,"record_length":96,"hex_timestamp":"000001a025c2f1c0"} 
[2026-08-22 00: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-22 00: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-22 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 00:56: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-22 00: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-22 00: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-22 00:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558944512001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558944512001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:56:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558944512001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":160598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:56:56] local.INFO: GPS data processed {"connection_id":160598,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:56:56] local.INFO: Acknowledgment sent {"connection_id":160598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:57:27] local.INFO: TCP Data received {"connection_id":160598,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 00:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 00:57:27] local.INFO: Processing buffer {"connection_id":160598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 00:57:27] local.INFO: Packet analysis {"connection_id":160598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 00:57:27] local.INFO: Extracted packet for processing {"connection_id":160598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 00:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559021568001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:57: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-22 00:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787340394000,"timestamp_ms":1787340394000,"timestamp_seconds":1787340394,"priority":1,"record_length":96,"hex_timestamp":"000001a025ca0e10"} 
[2026-08-22 00: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-22 00:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 00:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:57:27] 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-22 00: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-22 00: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-22 00:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559021568001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559021568001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:57:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559021568001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":160598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:57:27] local.INFO: GPS data processed {"connection_id":160598,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:57:27] local.INFO: Acknowledgment sent {"connection_id":160598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:57:51] local.INFO: TCP Data received {"connection_id":160599,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:57:51] local.INFO: Processing buffer {"connection_id":160599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:57:51] local.INFO: IMEI packet received {"connection_id":160599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":160599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:57:56] local.INFO: TCP Data received {"connection_id":160599,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:57:56] local.INFO: Processing buffer {"connection_id":160599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:57:56] local.INFO: IMEI packet received {"connection_id":160599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":160599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:57:57] local.INFO: TCP Data received {"connection_id":160599,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 00:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 00:57:57] local.INFO: Processing buffer {"connection_id":160599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 00:57:57] local.INFO: Packet analysis {"connection_id":160599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 00:57:57] local.INFO: Extracted packet for processing {"connection_id":160599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 00:57:57] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559021568001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:57: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-22 00:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787340394000,"timestamp_ms":1787340394000,"timestamp_seconds":1787340394,"priority":1,"record_length":96,"hex_timestamp":"000001a025ca0e10"} 
[2026-08-22 00: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-22 00:57: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-22 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:57:57] 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-22 00: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-22 00: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-22 00:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559021568001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559021568001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:57:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:57:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559021568001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":160599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:57:57] local.INFO: GPS data processed {"connection_id":160599,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:57:57] local.INFO: Acknowledgment sent {"connection_id":160599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:58:28] local.INFO: TCP Data received {"connection_id":160599,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 00:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 00:58:28] local.INFO: Processing buffer {"connection_id":160599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 00:58:28] local.INFO: Packet analysis {"connection_id":160599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 00:58:28] local.INFO: Extracted packet for processing {"connection_id":160599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 00:58:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559021568001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:58: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-22 00:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787340394000,"timestamp_ms":1787340394000,"timestamp_seconds":1787340394,"priority":1,"record_length":96,"hex_timestamp":"000001a025ca0e10"} 
[2026-08-22 00: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-22 00:58: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-22 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:58:28] 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-22 00: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-22 00: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-22 00:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559021568001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559021568001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:58:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559021568001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":160599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:58:28] local.INFO: GPS data processed {"connection_id":160599,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:58:28] local.INFO: Acknowledgment sent {"connection_id":160599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:58:50] local.INFO: TCP Data received {"connection_id":159414,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:58:50] local.INFO: Processing buffer {"connection_id":159414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:58:50] local.INFO: IMEI packet received {"connection_id":159414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":159414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 00:58:56] local.INFO: TCP Data received {"connection_id":159414,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:58:56] local.INFO: Processing buffer {"connection_id":159414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:58:56] local.INFO: IMEI packet received {"connection_id":159414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 00:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":159414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 00:58:56] local.INFO: TCP Data received {"connection_id":159414,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 00:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 00:58:56] local.INFO: Processing buffer {"connection_id":159414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 00:58:56] local.INFO: Packet analysis {"connection_id":159414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 00:58:56] local.INFO: Extracted packet for processing {"connection_id":159414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 00:58:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559021568001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00: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-22 00:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787340394000,"timestamp_ms":1787340394000,"timestamp_seconds":1787340394,"priority":1,"record_length":96,"hex_timestamp":"000001a025ca0e10"} 
[2026-08-22 00: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-22 00:58: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-22 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:58: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-22 00: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-22 00: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-22 00:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559021568001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559021568001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:58:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:58:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559021568001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":159414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:58:56] local.INFO: GPS data processed {"connection_id":159414,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:58:56] local.INFO: Acknowledgment sent {"connection_id":159414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:59:27] local.INFO: TCP Data received {"connection_id":159414,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 00:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 00:59:27] local.INFO: Processing buffer {"connection_id":159414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 00:59:27] local.INFO: Packet analysis {"connection_id":159414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 00:59:27] local.INFO: Extracted packet for processing {"connection_id":159414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 00:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 00: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-22 00:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559021568001,"note":"Value kept but may cause issues"} 
[2026-08-22 00:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 00:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 00:59: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-22 00:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787340394000,"timestamp_ms":1787340394000,"timestamp_seconds":1787340394,"priority":1,"record_length":96,"hex_timestamp":"000001a025ca0e10"} 
[2026-08-22 00: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-22 00:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 00:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 00:59:27] 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-22 00: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-22 00: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-22 00:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 00:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 00:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 00:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 00:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 00:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 00:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559021568001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 00:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 00:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 00:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559021568001,"description":"Unknown IO ID 0"} 
[2026-08-22 00:59:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 00:59:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 00:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 00:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 00:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559021568001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 00:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":159414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 00:59:27] local.INFO: GPS data processed {"connection_id":159414,"processed":1,"errors":0,"total":1} 
[2026-08-22 00:59:27] local.INFO: Acknowledgment sent {"connection_id":159414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 00:59:56] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:59:56] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 00:59:56] local.INFO: IMEI packet received {"connection_id":161999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 00:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":161999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:00:01] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:00:01] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:00:01] local.INFO: IMEI packet received {"connection_id":161999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":161999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:00:01] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 01:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 01:00:01] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 01:00:01] local.INFO: Packet analysis {"connection_id":161999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 01:00:01] local.INFO: Extracted packet for processing {"connection_id":161999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 01:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559021568001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:00: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-22 01:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787340394000,"timestamp_ms":1787340394000,"timestamp_seconds":1787340394,"priority":1,"record_length":96,"hex_timestamp":"000001a025ca0e10"} 
[2026-08-22 01: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-22 01:00: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-22 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 01:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559021568001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559021568001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:00:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559021568001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":161999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:00:01] local.INFO: GPS data processed {"connection_id":161999,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:00:01] local.INFO: Acknowledgment sent {"connection_id":161999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:00:06] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 01:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 01:00:06] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 01:00:06] local.INFO: Packet analysis {"connection_id":161999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 01:00:06] local.INFO: Extracted packet for processing {"connection_id":161999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 01:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559021568001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:00:06] 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-22 01:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787340394000,"timestamp_ms":1787340394000,"timestamp_seconds":1787340394,"priority":1,"record_length":96,"hex_timestamp":"000001a025ca0e10"} 
[2026-08-22 01: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-22 01:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 01:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559021568001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559021568001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:00:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559021568001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":161999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:00:06] local.INFO: GPS data processed {"connection_id":161999,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:00:06] local.INFO: Acknowledgment sent {"connection_id":161999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:00:51] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:00:51] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:00:51] local.INFO: IMEI packet received {"connection_id":162000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":162000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:00:56] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:00:56] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:00:56] local.INFO: IMEI packet received {"connection_id":162000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":162000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:00:56] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 01:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 01:00:56] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 01:00:56] local.INFO: Packet analysis {"connection_id":162000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 01:00:56] local.INFO: Extracted packet for processing {"connection_id":162000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 01:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559021568001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787340394000,"timestamp_ms":1787340394000,"timestamp_seconds":1787340394,"priority":1,"record_length":96,"hex_timestamp":"000001a025ca0e10"} 
[2026-08-22 01: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-22 01:00: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-22 01:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 01:00: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-22 01: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-22 01: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-22 01:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559021568001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559021568001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:00:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559021568001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":162000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:00:56] local.INFO: GPS data processed {"connection_id":162000,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:00:56] local.INFO: Acknowledgment sent {"connection_id":162000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:01:27] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 01:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 01:01:27] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 01:01:27] local.INFO: Packet analysis {"connection_id":162000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 01:01:27] local.INFO: Extracted packet for processing {"connection_id":162000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 01:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559021568001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:01: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-22 01:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787340394000,"timestamp_ms":1787340394000,"timestamp_seconds":1787340394,"priority":1,"record_length":96,"hex_timestamp":"000001a025ca0e10"} 
[2026-08-22 01: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-22 01:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 01:01:27] 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-22 01: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-22 01: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-22 01:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559021568001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559021568001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:01:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559021568001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":162000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:01:27] local.INFO: GPS data processed {"connection_id":162000,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:01:27] local.INFO: Acknowledgment sent {"connection_id":162000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:01:51] local.INFO: TCP Data received {"connection_id":160600,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:01:51] local.INFO: Processing buffer {"connection_id":160600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:01:51] local.INFO: IMEI packet received {"connection_id":160600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":160600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:01:56] local.INFO: TCP Data received {"connection_id":160600,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:01:56] local.INFO: Processing buffer {"connection_id":160600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:01:56] local.INFO: IMEI packet received {"connection_id":160600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":160600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:01:57] local.INFO: TCP Data received {"connection_id":160600,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 01:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 01:01:57] local.INFO: Processing buffer {"connection_id":160600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ca0e10012d7f8ac005afe2d0000100fa22..."} 
[2026-08-22 01:01:57] local.INFO: Packet analysis {"connection_id":160600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 01:01:57] local.INFO: Extracted packet for processing {"connection_id":160600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ca"} 
[2026-08-22 01:01:57] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:01: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-22 01:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559021568001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:01: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-22 01:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787340394000,"timestamp_ms":1787340394000,"timestamp_seconds":1787340394,"priority":1,"record_length":96,"hex_timestamp":"000001a025ca0e10"} 
[2026-08-22 01:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:01: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-22 01:01: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":178,"data_length":795,"current_offset":136} 
[2026-08-22 01:01:57] 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-22 01:01: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-22 01:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559021568001,"66":25778,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559021568001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:01:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:01:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559021568001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":160600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:01:57] local.INFO: GPS data processed {"connection_id":160600,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:01:57] local.INFO: Acknowledgment sent {"connection_id":160600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:02:28] local.INFO: TCP Data received {"connection_id":160600,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:02:28] local.INFO: Processing buffer {"connection_id":160600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:02:28] local.INFO: Packet analysis {"connection_id":160600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:02:28] local.INFO: Extracted packet for processing {"connection_id":160600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:02:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:02: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-22 01:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559140864001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:02: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-22 01:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787340695000,"timestamp_ms":1787340695000,"timestamp_seconds":1787340695,"priority":1,"record_length":96,"hex_timestamp":"000001a025cea5d8"} 
[2026-08-22 01:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:02: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-22 01:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 01:02:28] 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-22 01:02: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-22 01:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559140864001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559140864001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:02:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:02:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559140864001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":160600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:02:28] local.INFO: GPS data processed {"connection_id":160600,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:02:28] local.INFO: Acknowledgment sent {"connection_id":160600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:02:50] local.INFO: TCP Data received {"connection_id":159680,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:02:50] local.INFO: Processing buffer {"connection_id":159680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:02:50] local.INFO: IMEI packet received {"connection_id":159680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":159680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:02:56] local.INFO: TCP Data received {"connection_id":159680,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:02:56] local.INFO: Processing buffer {"connection_id":159680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:02:56] local.INFO: IMEI packet received {"connection_id":159680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":159680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:02:56] local.INFO: TCP Data received {"connection_id":159680,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:02:56] local.INFO: Processing buffer {"connection_id":159680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:02:56] local.INFO: Packet analysis {"connection_id":159680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:02:56] local.INFO: Extracted packet for processing {"connection_id":159680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:02:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559140864001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:02: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-22 01:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787340695000,"timestamp_ms":1787340695000,"timestamp_seconds":1787340695,"priority":1,"record_length":96,"hex_timestamp":"000001a025cea5d8"} 
[2026-08-22 01: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-22 01:02: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-22 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 01:02: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-22 01: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-22 01: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-22 01:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559140864001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559140864001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:02:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:02:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559140864001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":159680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:02:56] local.INFO: GPS data processed {"connection_id":159680,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:02:56] local.INFO: Acknowledgment sent {"connection_id":159680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:03:27] local.INFO: TCP Data received {"connection_id":159680,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:03:27] local.INFO: Processing buffer {"connection_id":159680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:03:27] local.INFO: Packet analysis {"connection_id":159680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:03:27] local.INFO: Extracted packet for processing {"connection_id":159680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559140864001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:03: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-22 01:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787340695000,"timestamp_ms":1787340695000,"timestamp_seconds":1787340695,"priority":1,"record_length":96,"hex_timestamp":"000001a025cea5d8"} 
[2026-08-22 01:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:03: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-22 01:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 01:03:27] 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-22 01:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559140864001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559140864001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:03:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559140864001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":159680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:03:27] local.INFO: GPS data processed {"connection_id":159680,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:03:27] local.INFO: Acknowledgment sent {"connection_id":159680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:03:50] local.INFO: TCP Data received {"connection_id":159681,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:03:50] local.INFO: Processing buffer {"connection_id":159681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:03:50] local.INFO: IMEI packet received {"connection_id":159681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":159681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:03:56] local.INFO: TCP Data received {"connection_id":159681,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:03:56] local.INFO: Processing buffer {"connection_id":159681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:03:56] local.INFO: IMEI packet received {"connection_id":159681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":159681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:03:56] local.INFO: TCP Data received {"connection_id":159681,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:03:56] local.INFO: Processing buffer {"connection_id":159681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:03:56] local.INFO: Packet analysis {"connection_id":159681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:03:56] local.INFO: Extracted packet for processing {"connection_id":159681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559140864001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787340695000,"timestamp_ms":1787340695000,"timestamp_seconds":1787340695,"priority":1,"record_length":96,"hex_timestamp":"000001a025cea5d8"} 
[2026-08-22 01: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-22 01: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-22 01: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":178,"data_length":795,"current_offset":136} 
[2026-08-22 01:03: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-22 01: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-22 01: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-22 01:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559140864001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559140864001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:03:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559140864001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":159681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:03:56] local.INFO: GPS data processed {"connection_id":159681,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:03:56] local.INFO: Acknowledgment sent {"connection_id":159681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:04:27] local.INFO: TCP Data received {"connection_id":159681,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:04:28] local.INFO: Processing buffer {"connection_id":159681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:04:28] local.INFO: Packet analysis {"connection_id":159681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:04:28] local.INFO: Extracted packet for processing {"connection_id":159681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559140864001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:04: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-22 01:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787340695000,"timestamp_ms":1787340695000,"timestamp_seconds":1787340695,"priority":1,"record_length":96,"hex_timestamp":"000001a025cea5d8"} 
[2026-08-22 01: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-22 01:04: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-22 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 01:04:28] 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-22 01: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-22 01: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-22 01:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559140864001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559140864001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:04:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:04:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559140864001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":159681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:04:28] local.INFO: GPS data processed {"connection_id":159681,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:04:28] local.INFO: Acknowledgment sent {"connection_id":159681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:04:56] local.INFO: TCP Data received {"connection_id":159682,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:04:56] local.INFO: Processing buffer {"connection_id":159682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:04:56] local.INFO: IMEI packet received {"connection_id":159682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":159682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:05:01] local.INFO: TCP Data received {"connection_id":159682,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:05:01] local.INFO: Processing buffer {"connection_id":159682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:05:01] local.INFO: IMEI packet received {"connection_id":159682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":159682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:05:01] local.INFO: TCP Data received {"connection_id":159682,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:05:01] local.INFO: Processing buffer {"connection_id":159682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:05:01] local.INFO: Packet analysis {"connection_id":159682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:05:01] local.INFO: Extracted packet for processing {"connection_id":159682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559140864001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:05: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-22 01:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787340695000,"timestamp_ms":1787340695000,"timestamp_seconds":1787340695,"priority":1,"record_length":96,"hex_timestamp":"000001a025cea5d8"} 
[2026-08-22 01: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-22 01:05: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-22 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 01:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559140864001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559140864001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:05:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559140864001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":159682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:05:01] local.INFO: GPS data processed {"connection_id":159682,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:05:01] local.INFO: Acknowledgment sent {"connection_id":159682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:05:06] local.INFO: TCP Data received {"connection_id":159682,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:05:06] local.INFO: Processing buffer {"connection_id":159682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:05:06] local.INFO: Packet analysis {"connection_id":159682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:05:06] local.INFO: Extracted packet for processing {"connection_id":159682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559140864001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:05:06] 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-22 01:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787340695000,"timestamp_ms":1787340695000,"timestamp_seconds":1787340695,"priority":1,"record_length":96,"hex_timestamp":"000001a025cea5d8"} 
[2026-08-22 01: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-22 01:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 01:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559140864001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559140864001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:05:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559140864001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":159682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:05:06] local.INFO: GPS data processed {"connection_id":159682,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:05:06] local.INFO: Acknowledgment sent {"connection_id":159682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:05:51] local.INFO: TCP Data received {"connection_id":159683,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:05:51] local.INFO: Processing buffer {"connection_id":159683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:05:51] local.INFO: IMEI packet received {"connection_id":159683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":159683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:05:56] local.INFO: TCP Data received {"connection_id":159683,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:05:56] local.INFO: Processing buffer {"connection_id":159683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:05:56] local.INFO: IMEI packet received {"connection_id":159683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":159683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:05:56] local.INFO: TCP Data received {"connection_id":159683,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:05:56] local.INFO: Processing buffer {"connection_id":159683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:05:56] local.INFO: Packet analysis {"connection_id":159683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:05:56] local.INFO: Extracted packet for processing {"connection_id":159683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559140864001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:05: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-22 01:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787340695000,"timestamp_ms":1787340695000,"timestamp_seconds":1787340695,"priority":1,"record_length":96,"hex_timestamp":"000001a025cea5d8"} 
[2026-08-22 01: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-22 01:05: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-22 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 01:05: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-22 01: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-22 01: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-22 01:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559140864001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559140864001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:05:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559140864001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":159683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:05:56] local.INFO: GPS data processed {"connection_id":159683,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:05:56] local.INFO: Acknowledgment sent {"connection_id":159683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:06:27] local.INFO: TCP Data received {"connection_id":159683,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:06:27] local.INFO: Processing buffer {"connection_id":159683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:06:27] local.INFO: Packet analysis {"connection_id":159683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:06:27] local.INFO: Extracted packet for processing {"connection_id":159683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559140864001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:06: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-22 01:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787340695000,"timestamp_ms":1787340695000,"timestamp_seconds":1787340695,"priority":1,"record_length":96,"hex_timestamp":"000001a025cea5d8"} 
[2026-08-22 01: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-22 01:06: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-22 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 01:06:27] 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-22 01: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-22 01: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-22 01:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559140864001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559140864001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:06:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559140864001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":159683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:06:27] local.INFO: GPS data processed {"connection_id":159683,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:06:27] local.INFO: Acknowledgment sent {"connection_id":159683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:06:51] local.INFO: TCP Data received {"connection_id":160601,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:06:51] local.INFO: Processing buffer {"connection_id":160601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:06:51] local.INFO: IMEI packet received {"connection_id":160601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":160601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:06:56] local.INFO: TCP Data received {"connection_id":160601,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:06:56] local.INFO: Processing buffer {"connection_id":160601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:06:56] local.INFO: IMEI packet received {"connection_id":160601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":160601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:06:56] local.INFO: TCP Data received {"connection_id":160601,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:06:56] local.INFO: Processing buffer {"connection_id":160601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025cea5d8012d7f8ac005afe2d0000100fa24..."} 
[2026-08-22 01:06:56] local.INFO: Packet analysis {"connection_id":160601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:06:56] local.INFO: Extracted packet for processing {"connection_id":160601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ce"} 
[2026-08-22 01:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":1,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559140864001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:06: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-22 01:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787340695000,"timestamp_ms":1787340695000,"timestamp_seconds":1787340695,"priority":1,"record_length":96,"hex_timestamp":"000001a025cea5d8"} 
[2026-08-22 01: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-22 01:06: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-22 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 01:06: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-22 01: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-22 01: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-22 01:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559140864001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559140864001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:06:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559140864001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":160601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:06:56] local.INFO: GPS data processed {"connection_id":160601,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:06:56] local.INFO: Acknowledgment sent {"connection_id":160601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:07:27] local.INFO: TCP Data received {"connection_id":160601,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:07:27] local.INFO: Processing buffer {"connection_id":160601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:07:27] local.INFO: Packet analysis {"connection_id":160601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:07:27] local.INFO: Extracted packet for processing {"connection_id":160601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559217920001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:07: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-22 01:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787340996000,"timestamp_ms":1787340996000,"timestamp_seconds":1787340996,"priority":1,"record_length":96,"hex_timestamp":"000001a025d33da0"} 
[2026-08-22 01: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-22 01:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559217920001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559217920001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:07:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:07:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559217920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":160601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:07:27] local.INFO: GPS data processed {"connection_id":160601,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:07:27] local.INFO: Acknowledgment sent {"connection_id":160601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:07:50] local.INFO: TCP Data received {"connection_id":162001,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:07:50] local.INFO: Processing buffer {"connection_id":162001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:07:50] local.INFO: IMEI packet received {"connection_id":162001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":162001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:07:56] local.INFO: TCP Data received {"connection_id":162001,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:07:56] local.INFO: Processing buffer {"connection_id":162001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:07:56] local.INFO: IMEI packet received {"connection_id":162001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":162001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:07:56] local.INFO: TCP Data received {"connection_id":162001,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:07:56] local.INFO: Processing buffer {"connection_id":162001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:07:56] local.INFO: Packet analysis {"connection_id":162001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:07:56] local.INFO: Extracted packet for processing {"connection_id":162001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559217920001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:07: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-22 01:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787340996000,"timestamp_ms":1787340996000,"timestamp_seconds":1787340996,"priority":1,"record_length":96,"hex_timestamp":"000001a025d33da0"} 
[2026-08-22 01:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:07: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-22 01:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:07: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-22 01:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559217920001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559217920001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:07:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559217920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":162001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:07:56] local.INFO: GPS data processed {"connection_id":162001,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:07:56] local.INFO: Acknowledgment sent {"connection_id":162001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:08:27] local.INFO: TCP Data received {"connection_id":162001,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:08:27] local.INFO: Processing buffer {"connection_id":162001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:08:27] local.INFO: Packet analysis {"connection_id":162001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:08:27] local.INFO: Extracted packet for processing {"connection_id":162001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559217920001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:08: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-22 01:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787340996000,"timestamp_ms":1787340996000,"timestamp_seconds":1787340996,"priority":1,"record_length":96,"hex_timestamp":"000001a025d33da0"} 
[2026-08-22 01: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-22 01:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559217920001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559217920001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:08:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559217920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":162001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:08:27] local.INFO: GPS data processed {"connection_id":162001,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:08:27] local.INFO: Acknowledgment sent {"connection_id":162001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:08:56] local.INFO: TCP Data received {"connection_id":159415,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:08:56] local.INFO: Processing buffer {"connection_id":159415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:08:56] local.INFO: IMEI packet received {"connection_id":159415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":159415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:09:01] local.INFO: TCP Data received {"connection_id":159415,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:09:01] local.INFO: Processing buffer {"connection_id":159415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:09:01] local.INFO: IMEI packet received {"connection_id":159415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":159415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:09:01] local.INFO: TCP Data received {"connection_id":159415,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:09:01] local.INFO: Processing buffer {"connection_id":159415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:09:01] local.INFO: Packet analysis {"connection_id":159415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:09:01] local.INFO: Extracted packet for processing {"connection_id":159415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559217920001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:09: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-22 01:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787340996000,"timestamp_ms":1787340996000,"timestamp_seconds":1787340996,"priority":1,"record_length":96,"hex_timestamp":"000001a025d33da0"} 
[2026-08-22 01: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-22 01:09: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-22 01: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:09: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-22 01: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-22 01: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-22 01:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559217920001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559217920001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:09:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559217920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":159415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:09:01] local.INFO: GPS data processed {"connection_id":159415,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:09:01] local.INFO: Acknowledgment sent {"connection_id":159415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:09:06] local.INFO: TCP Data received {"connection_id":159415,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:09:06] local.INFO: Processing buffer {"connection_id":159415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:09:06] local.INFO: Packet analysis {"connection_id":159415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:09:06] local.INFO: Extracted packet for processing {"connection_id":159415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559217920001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:09:06] 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-22 01:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787340996000,"timestamp_ms":1787340996000,"timestamp_seconds":1787340996,"priority":1,"record_length":96,"hex_timestamp":"000001a025d33da0"} 
[2026-08-22 01: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-22 01:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559217920001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559217920001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:09:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559217920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":159415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:09:06] local.INFO: GPS data processed {"connection_id":159415,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:09:06] local.INFO: Acknowledgment sent {"connection_id":159415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:09:51] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:09:51] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:09:51] local.INFO: IMEI packet received {"connection_id":162002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":162002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:09:56] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:09:56] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:09:56] local.INFO: IMEI packet received {"connection_id":162002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":162002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:09:56] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:09:56] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:09:56] local.INFO: Packet analysis {"connection_id":162002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:09:56] local.INFO: Extracted packet for processing {"connection_id":162002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559217920001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:09: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-22 01:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787340996000,"timestamp_ms":1787340996000,"timestamp_seconds":1787340996,"priority":1,"record_length":96,"hex_timestamp":"000001a025d33da0"} 
[2026-08-22 01: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-22 01:09: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-22 01: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:09: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-22 01: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-22 01: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-22 01:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559217920001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559217920001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:09:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559217920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":162002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:09:56] local.INFO: GPS data processed {"connection_id":162002,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:09:56] local.INFO: Acknowledgment sent {"connection_id":162002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:10:27] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:10:27] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:10:27] local.INFO: Packet analysis {"connection_id":162002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:10:27] local.INFO: Extracted packet for processing {"connection_id":162002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:10:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559217920001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:10: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-22 01:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787340996000,"timestamp_ms":1787340996000,"timestamp_seconds":1787340996,"priority":1,"record_length":96,"hex_timestamp":"000001a025d33da0"} 
[2026-08-22 01:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559217920001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559217920001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:10:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:10:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559217920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":162002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:10:27] local.INFO: GPS data processed {"connection_id":162002,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:10:27] local.INFO: Acknowledgment sent {"connection_id":162002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:10:51] local.INFO: TCP Data received {"connection_id":159416,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:10:51] local.INFO: Processing buffer {"connection_id":159416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:10:51] local.INFO: IMEI packet received {"connection_id":159416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":159416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:10:56] local.INFO: TCP Data received {"connection_id":159416,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:10:56] local.INFO: Processing buffer {"connection_id":159416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:10:56] local.INFO: IMEI packet received {"connection_id":159416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":159416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:10:56] local.INFO: TCP Data received {"connection_id":159416,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:10:56] local.INFO: Processing buffer {"connection_id":159416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:10:56] local.INFO: Packet analysis {"connection_id":159416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:10:56] local.INFO: Extracted packet for processing {"connection_id":159416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559217920001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787340996000,"timestamp_ms":1787340996000,"timestamp_seconds":1787340996,"priority":1,"record_length":96,"hex_timestamp":"000001a025d33da0"} 
[2026-08-22 01: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-22 01: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-22 01: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:10: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-22 01: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-22 01: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-22 01:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559217920001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559217920001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:10:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559217920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":159416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:10:56] local.INFO: GPS data processed {"connection_id":159416,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:10:56] local.INFO: Acknowledgment sent {"connection_id":159416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:11:27] local.INFO: TCP Data received {"connection_id":159416,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:11:27] local.INFO: Processing buffer {"connection_id":159416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:11:27] local.INFO: Packet analysis {"connection_id":159416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:11:27] local.INFO: Extracted packet for processing {"connection_id":159416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559217920001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:11: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-22 01:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787340996000,"timestamp_ms":1787340996000,"timestamp_seconds":1787340996,"priority":1,"record_length":96,"hex_timestamp":"000001a025d33da0"} 
[2026-08-22 01:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559217920001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559217920001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:11:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559217920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":159416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:11:27] local.INFO: GPS data processed {"connection_id":159416,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:11:27] local.INFO: Acknowledgment sent {"connection_id":159416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:11:50] local.INFO: TCP Data received {"connection_id":160602,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:11:50] local.INFO: Processing buffer {"connection_id":160602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:11:50] local.INFO: IMEI packet received {"connection_id":160602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":160602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:11:56] local.INFO: TCP Data received {"connection_id":160602,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:11:56] local.INFO: Processing buffer {"connection_id":160602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:11:56] local.INFO: IMEI packet received {"connection_id":160602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":160602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:11:56] local.INFO: TCP Data received {"connection_id":160602,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:11:56] local.INFO: Processing buffer {"connection_id":160602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d33da0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 01:11:56] local.INFO: Packet analysis {"connection_id":160602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:11:56] local.INFO: Extracted packet for processing {"connection_id":160602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d3"} 
[2026-08-22 01:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559217920001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787340996000,"timestamp_ms":1787340996000,"timestamp_seconds":1787340996,"priority":1,"record_length":96,"hex_timestamp":"000001a025d33da0"} 
[2026-08-22 01: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-22 01: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-22 01: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:11: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-22 01: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-22 01: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-22 01:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559217920001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559217920001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:11:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559217920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":160602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:11:56] local.INFO: GPS data processed {"connection_id":160602,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:11:56] local.INFO: Acknowledgment sent {"connection_id":160602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:12:27] local.INFO: TCP Data received {"connection_id":160602,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:12:27] local.INFO: Processing buffer {"connection_id":160602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:12:27] local.INFO: Packet analysis {"connection_id":160602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:12:27] local.INFO: Extracted packet for processing {"connection_id":160602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559294976001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:12: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-22 01:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787341297000,"timestamp_ms":1787341297000,"timestamp_seconds":1787341297,"priority":1,"record_length":96,"hex_timestamp":"000001a025d7d568"} 
[2026-08-22 01:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559294976001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559294976001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:12:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559294976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":160602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:12:27] local.INFO: GPS data processed {"connection_id":160602,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:12:27] local.INFO: Acknowledgment sent {"connection_id":160602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:12:50] local.INFO: TCP Data received {"connection_id":159684,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:12:50] local.INFO: Processing buffer {"connection_id":159684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:12:50] local.INFO: IMEI packet received {"connection_id":159684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":159684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:12:56] local.INFO: TCP Data received {"connection_id":159684,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:12:56] local.INFO: Processing buffer {"connection_id":159684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:12:56] local.INFO: IMEI packet received {"connection_id":159684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":159684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:12:56] local.INFO: TCP Data received {"connection_id":159684,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:12:56] local.INFO: Processing buffer {"connection_id":159684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:12:56] local.INFO: Packet analysis {"connection_id":159684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:12:56] local.INFO: Extracted packet for processing {"connection_id":159684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:12:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559294976001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:12: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-22 01:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787341297000,"timestamp_ms":1787341297000,"timestamp_seconds":1787341297,"priority":1,"record_length":96,"hex_timestamp":"000001a025d7d568"} 
[2026-08-22 01: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-22 01:12: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-22 01:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:12: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-22 01: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-22 01: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-22 01:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559294976001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559294976001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:12:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559294976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":159684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:12:56] local.INFO: GPS data processed {"connection_id":159684,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:12:56] local.INFO: Acknowledgment sent {"connection_id":159684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:13:28] local.INFO: TCP Data received {"connection_id":159684,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:13:28] local.INFO: Processing buffer {"connection_id":159684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:13:28] local.INFO: Packet analysis {"connection_id":159684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:13:28] local.INFO: Extracted packet for processing {"connection_id":159684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559294976001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:13: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-22 01:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787341297000,"timestamp_ms":1787341297000,"timestamp_seconds":1787341297,"priority":1,"record_length":96,"hex_timestamp":"000001a025d7d568"} 
[2026-08-22 01:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:13: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-22 01:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559294976001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559294976001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:13:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559294976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":159684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:13:28] local.INFO: GPS data processed {"connection_id":159684,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:13:28] local.INFO: Acknowledgment sent {"connection_id":159684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:13:56] local.INFO: TCP Data received {"connection_id":159685,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:13:56] local.INFO: Processing buffer {"connection_id":159685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:13:56] local.INFO: IMEI packet received {"connection_id":159685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":159685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:14:01] local.INFO: TCP Data received {"connection_id":159685,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:14:01] local.INFO: Processing buffer {"connection_id":159685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:14:01] local.INFO: IMEI packet received {"connection_id":159685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":159685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:14:01] local.INFO: TCP Data received {"connection_id":159685,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:14:01] local.INFO: Processing buffer {"connection_id":159685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:14:01] local.INFO: Packet analysis {"connection_id":159685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:14:01] local.INFO: Extracted packet for processing {"connection_id":159685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559294976001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:14: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-22 01:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787341297000,"timestamp_ms":1787341297000,"timestamp_seconds":1787341297,"priority":1,"record_length":96,"hex_timestamp":"000001a025d7d568"} 
[2026-08-22 01:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:14: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-22 01:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:14: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-22 01:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559294976001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559294976001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:14:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559294976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":159685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:14:01] local.INFO: GPS data processed {"connection_id":159685,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:14:01] local.INFO: Acknowledgment sent {"connection_id":159685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:14:06] local.INFO: TCP Data received {"connection_id":159685,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:14:06] local.INFO: Processing buffer {"connection_id":159685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:14:06] local.INFO: Packet analysis {"connection_id":159685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:14:06] local.INFO: Extracted packet for processing {"connection_id":159685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559294976001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:14:06] 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-22 01:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787341297000,"timestamp_ms":1787341297000,"timestamp_seconds":1787341297,"priority":1,"record_length":96,"hex_timestamp":"000001a025d7d568"} 
[2026-08-22 01:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559294976001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559294976001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:14:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559294976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":159685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:14:06] local.INFO: GPS data processed {"connection_id":159685,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:14:06] local.INFO: Acknowledgment sent {"connection_id":159685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:14:51] local.INFO: TCP Data received {"connection_id":160603,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:14:51] local.INFO: Processing buffer {"connection_id":160603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:14:51] local.INFO: IMEI packet received {"connection_id":160603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":160603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:14:56] local.INFO: TCP Data received {"connection_id":160603,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:14:56] local.INFO: Processing buffer {"connection_id":160603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:14:56] local.INFO: IMEI packet received {"connection_id":160603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":160603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:14:56] local.INFO: TCP Data received {"connection_id":160603,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:14:56] local.INFO: Processing buffer {"connection_id":160603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:14:56] local.INFO: Packet analysis {"connection_id":160603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:14:56] local.INFO: Extracted packet for processing {"connection_id":160603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559294976001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787341297000,"timestamp_ms":1787341297000,"timestamp_seconds":1787341297,"priority":1,"record_length":96,"hex_timestamp":"000001a025d7d568"} 
[2026-08-22 01: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-22 01: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-22 01: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:14: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-22 01: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-22 01: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-22 01:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559294976001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559294976001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:14:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559294976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":160603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:14:56] local.INFO: GPS data processed {"connection_id":160603,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:14:56] local.INFO: Acknowledgment sent {"connection_id":160603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:15:27] local.INFO: TCP Data received {"connection_id":160603,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:15:27] local.INFO: Processing buffer {"connection_id":160603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:15:27] local.INFO: Packet analysis {"connection_id":160603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:15:27] local.INFO: Extracted packet for processing {"connection_id":160603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559294976001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:15: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-22 01:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787341297000,"timestamp_ms":1787341297000,"timestamp_seconds":1787341297,"priority":1,"record_length":96,"hex_timestamp":"000001a025d7d568"} 
[2026-08-22 01:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559294976001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559294976001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:15:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559294976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":160603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:15:27] local.INFO: GPS data processed {"connection_id":160603,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:15:27] local.INFO: Acknowledgment sent {"connection_id":160603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:15:50] local.INFO: TCP Data received {"connection_id":160604,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:15:50] local.INFO: Processing buffer {"connection_id":160604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:15:50] local.INFO: IMEI packet received {"connection_id":160604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":160604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:15:55] local.INFO: TCP Data received {"connection_id":160604,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:15:55] local.INFO: Processing buffer {"connection_id":160604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:15:55] local.INFO: IMEI packet received {"connection_id":160604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":160604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:15:56] local.INFO: TCP Data received {"connection_id":160604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:15:56] local.INFO: Processing buffer {"connection_id":160604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:15:56] local.INFO: Packet analysis {"connection_id":160604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:15:56] local.INFO: Extracted packet for processing {"connection_id":160604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559294976001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:15: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-22 01:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787341297000,"timestamp_ms":1787341297000,"timestamp_seconds":1787341297,"priority":1,"record_length":96,"hex_timestamp":"000001a025d7d568"} 
[2026-08-22 01: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-22 01: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-22 01: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:15: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-22 01: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-22 01: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-22 01:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559294976001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559294976001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:15:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559294976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":160604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:15:56] local.INFO: GPS data processed {"connection_id":160604,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:15:56] local.INFO: Acknowledgment sent {"connection_id":160604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:16:01] local.INFO: TCP Data received {"connection_id":160604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:16:01] local.INFO: Processing buffer {"connection_id":160604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:16:01] local.INFO: Packet analysis {"connection_id":160604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:16:01] local.INFO: Extracted packet for processing {"connection_id":160604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559294976001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:16: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-22 01:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787341297000,"timestamp_ms":1787341297000,"timestamp_seconds":1787341297,"priority":1,"record_length":96,"hex_timestamp":"000001a025d7d568"} 
[2026-08-22 01: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-22 01:16: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-22 01:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:16: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-22 01: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-22 01: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-22 01:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559294976001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559294976001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:16:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559294976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":160604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:16:01] local.INFO: GPS data processed {"connection_id":160604,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:16:01] local.INFO: Acknowledgment sent {"connection_id":160604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:16:32] local.INFO: TCP Data received {"connection_id":160604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:16:32] local.INFO: Processing buffer {"connection_id":160604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:16:32] local.INFO: Packet analysis {"connection_id":160604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:16:32] local.INFO: Extracted packet for processing {"connection_id":160604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559294976001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:16:32] 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-22 01:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787341297000,"timestamp_ms":1787341297000,"timestamp_seconds":1787341297,"priority":1,"record_length":96,"hex_timestamp":"000001a025d7d568"} 
[2026-08-22 01: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-22 01:16: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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:16: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-22 01: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-22 01: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-22 01:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559294976001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559294976001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:16:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559294976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":160604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:16:32] local.INFO: GPS data processed {"connection_id":160604,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:16:32] local.INFO: Acknowledgment sent {"connection_id":160604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:16:51] local.INFO: TCP Data received {"connection_id":159686,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:16:51] local.INFO: Processing buffer {"connection_id":159686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:16:51] local.INFO: IMEI packet received {"connection_id":159686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":159686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:16:56] local.INFO: TCP Data received {"connection_id":159686,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:16:56] local.INFO: Processing buffer {"connection_id":159686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:16:56] local.INFO: IMEI packet received {"connection_id":159686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":159686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:16:56] local.INFO: TCP Data received {"connection_id":159686,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:16:56] local.INFO: Processing buffer {"connection_id":159686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025d7d568012d7f8ac005afe2d0000300fa1e..."} 
[2026-08-22 01:16:56] local.INFO: Packet analysis {"connection_id":159686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:16:56] local.INFO: Extracted packet for processing {"connection_id":159686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025d7"} 
[2026-08-22 01:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559294976001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787341297000,"timestamp_ms":1787341297000,"timestamp_seconds":1787341297,"priority":1,"record_length":96,"hex_timestamp":"000001a025d7d568"} 
[2026-08-22 01: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-22 01: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-22 01:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:16: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-22 01: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-22 01: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-22 01:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559294976001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559294976001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:16:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559294976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":159686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:16:56] local.INFO: GPS data processed {"connection_id":159686,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:16:56] local.INFO: Acknowledgment sent {"connection_id":159686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:17:27] local.INFO: TCP Data received {"connection_id":159686,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:17:27] local.INFO: Processing buffer {"connection_id":159686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:17:27] local.INFO: Packet analysis {"connection_id":159686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:17:27] local.INFO: Extracted packet for processing {"connection_id":159686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559372032001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:17: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-22 01:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787341598000,"timestamp_ms":1787341598000,"timestamp_seconds":1787341598,"priority":1,"record_length":96,"hex_timestamp":"000001a025dc6d30"} 
[2026-08-22 01: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-22 01:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01: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-22 01:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559372032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559372032001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:17:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559372032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":159686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:17:27] local.INFO: GPS data processed {"connection_id":159686,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:17:27] local.INFO: Acknowledgment sent {"connection_id":159686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:17:50] local.INFO: TCP Data received {"connection_id":162003,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:17:50] local.INFO: Processing buffer {"connection_id":162003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:17:50] local.INFO: IMEI packet received {"connection_id":162003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":162003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:17:56] local.INFO: TCP Data received {"connection_id":162003,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:17:56] local.INFO: Processing buffer {"connection_id":162003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:17:56] local.INFO: IMEI packet received {"connection_id":162003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":162003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:17:56] local.INFO: TCP Data received {"connection_id":162003,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:17:56] local.INFO: Processing buffer {"connection_id":162003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:17:56] local.INFO: Packet analysis {"connection_id":162003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:17:56] local.INFO: Extracted packet for processing {"connection_id":162003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559372032001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:17: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-22 01:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787341598000,"timestamp_ms":1787341598000,"timestamp_seconds":1787341598,"priority":1,"record_length":96,"hex_timestamp":"000001a025dc6d30"} 
[2026-08-22 01: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-22 01: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-22 01: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:17: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-22 01: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-22 01: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-22 01:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559372032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559372032001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:17:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559372032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":162003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:17:56] local.INFO: GPS data processed {"connection_id":162003,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:17:56] local.INFO: Acknowledgment sent {"connection_id":162003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:18:27] local.INFO: TCP Data received {"connection_id":162003,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:18:27] local.INFO: Processing buffer {"connection_id":162003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:18:27] local.INFO: Packet analysis {"connection_id":162003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:18:27] local.INFO: Extracted packet for processing {"connection_id":162003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:18:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559372032001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:18: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-22 01:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787341598000,"timestamp_ms":1787341598000,"timestamp_seconds":1787341598,"priority":1,"record_length":96,"hex_timestamp":"000001a025dc6d30"} 
[2026-08-22 01: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-22 01:18: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-22 01:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559372032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559372032001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:18:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559372032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":162003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:18:28] local.INFO: GPS data processed {"connection_id":162003,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:18:28] local.INFO: Acknowledgment sent {"connection_id":162003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:18:56] local.INFO: TCP Data received {"connection_id":160605,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:18:56] local.INFO: Processing buffer {"connection_id":160605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:18:56] local.INFO: IMEI packet received {"connection_id":160605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":160605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:19:02] local.INFO: TCP Data received {"connection_id":160605,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:19:02] local.INFO: Processing buffer {"connection_id":160605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:19:02] local.INFO: IMEI packet received {"connection_id":160605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":160605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:19:02] local.INFO: TCP Data received {"connection_id":160605,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:19:02] local.INFO: Processing buffer {"connection_id":160605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:19:02] local.INFO: Packet analysis {"connection_id":160605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:19:02] local.INFO: Extracted packet for processing {"connection_id":160605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:19: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-22 01:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559372032001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:19:02] 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-22 01:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787341598000,"timestamp_ms":1787341598000,"timestamp_seconds":1787341598,"priority":1,"record_length":96,"hex_timestamp":"000001a025dc6d30"} 
[2026-08-22 01:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:19: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-22 01:19: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-22 01:19: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-22 01:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559372032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559372032001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:19:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559372032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":160605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:19:02] local.INFO: GPS data processed {"connection_id":160605,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:19:02] local.INFO: Acknowledgment sent {"connection_id":160605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:19:06] local.INFO: TCP Data received {"connection_id":160605,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:19:06] local.INFO: Processing buffer {"connection_id":160605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:19:06] local.INFO: Packet analysis {"connection_id":160605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:19:06] local.INFO: Extracted packet for processing {"connection_id":160605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559372032001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:19:06] 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-22 01:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787341598000,"timestamp_ms":1787341598000,"timestamp_seconds":1787341598,"priority":1,"record_length":96,"hex_timestamp":"000001a025dc6d30"} 
[2026-08-22 01: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-22 01:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559372032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559372032001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:19:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559372032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":160605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:19:06] local.INFO: GPS data processed {"connection_id":160605,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:19:06] local.INFO: Acknowledgment sent {"connection_id":160605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:19:51] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:19:51] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:19:51] local.INFO: IMEI packet received {"connection_id":162004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":162004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:19:56] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:19:56] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:19:56] local.INFO: IMEI packet received {"connection_id":162004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":162004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:19:56] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:19:56] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:19:56] local.INFO: Packet analysis {"connection_id":162004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:19:56] local.INFO: Extracted packet for processing {"connection_id":162004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559372032001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787341598000,"timestamp_ms":1787341598000,"timestamp_seconds":1787341598,"priority":1,"record_length":96,"hex_timestamp":"000001a025dc6d30"} 
[2026-08-22 01: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-22 01: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-22 01: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:19: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-22 01: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-22 01: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-22 01:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559372032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559372032001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:19:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559372032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":162004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:19:56] local.INFO: GPS data processed {"connection_id":162004,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:19:56] local.INFO: Acknowledgment sent {"connection_id":162004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:20:28] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:20:28] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:20:28] local.INFO: Packet analysis {"connection_id":162004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:20:28] local.INFO: Extracted packet for processing {"connection_id":162004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559372032001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:20: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-22 01:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787341598000,"timestamp_ms":1787341598000,"timestamp_seconds":1787341598,"priority":1,"record_length":96,"hex_timestamp":"000001a025dc6d30"} 
[2026-08-22 01: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-22 01:20: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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559372032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559372032001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:20:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559372032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":162004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:20:28] local.INFO: GPS data processed {"connection_id":162004,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:20:28] local.INFO: Acknowledgment sent {"connection_id":162004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:20:51] local.INFO: TCP Data received {"connection_id":160606,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:20:51] local.INFO: Processing buffer {"connection_id":160606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:20:51] local.INFO: IMEI packet received {"connection_id":160606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":160606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:20:56] local.INFO: TCP Data received {"connection_id":160606,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:20:56] local.INFO: Processing buffer {"connection_id":160606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:20:56] local.INFO: IMEI packet received {"connection_id":160606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":160606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:20:56] local.INFO: TCP Data received {"connection_id":160606,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:20:56] local.INFO: Processing buffer {"connection_id":160606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:20:56] local.INFO: Packet analysis {"connection_id":160606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:20:56] local.INFO: Extracted packet for processing {"connection_id":160606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559372032001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787341598000,"timestamp_ms":1787341598000,"timestamp_seconds":1787341598,"priority":1,"record_length":96,"hex_timestamp":"000001a025dc6d30"} 
[2026-08-22 01: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-22 01: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-22 01:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:20: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-22 01: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-22 01: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-22 01:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559372032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559372032001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:20:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559372032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":160606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:20:56] local.INFO: GPS data processed {"connection_id":160606,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:20:56] local.INFO: Acknowledgment sent {"connection_id":160606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:21:27] local.INFO: TCP Data received {"connection_id":160606,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:21:27] local.INFO: Processing buffer {"connection_id":160606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:21:27] local.INFO: Packet analysis {"connection_id":160606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:21:27] local.INFO: Extracted packet for processing {"connection_id":160606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559372032001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:21: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-22 01:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787341598000,"timestamp_ms":1787341598000,"timestamp_seconds":1787341598,"priority":1,"record_length":96,"hex_timestamp":"000001a025dc6d30"} 
[2026-08-22 01:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559372032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559372032001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:21:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559372032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":160606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:21:27] local.INFO: GPS data processed {"connection_id":160606,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:21:27] local.INFO: Acknowledgment sent {"connection_id":160606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:21:50] local.INFO: TCP Data received {"connection_id":159417,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:21:50] local.INFO: Processing buffer {"connection_id":159417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:21:50] local.INFO: IMEI packet received {"connection_id":159417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":159417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:21:56] local.INFO: TCP Data received {"connection_id":159417,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:21:56] local.INFO: Processing buffer {"connection_id":159417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:21:56] local.INFO: IMEI packet received {"connection_id":159417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":159417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:21:56] local.INFO: TCP Data received {"connection_id":159417,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:21:56] local.INFO: Processing buffer {"connection_id":159417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025dc6d30012d7f8ac005afe2d0000400fa24..."} 
[2026-08-22 01:21:56] local.INFO: Packet analysis {"connection_id":159417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:21:56] local.INFO: Extracted packet for processing {"connection_id":159417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025dc"} 
[2026-08-22 01:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559372032001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787341598000,"timestamp_ms":1787341598000,"timestamp_seconds":1787341598,"priority":1,"record_length":96,"hex_timestamp":"000001a025dc6d30"} 
[2026-08-22 01: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-22 01: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-22 01: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:21: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-22 01: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-22 01: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-22 01:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559372032001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559372032001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:21:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559372032001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":159417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:21:56] local.INFO: GPS data processed {"connection_id":159417,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:21:56] local.INFO: Acknowledgment sent {"connection_id":159417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:22:27] local.INFO: TCP Data received {"connection_id":159417,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:22:27] local.INFO: Processing buffer {"connection_id":159417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:22:27] local.INFO: Packet analysis {"connection_id":159417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:22:27] local.INFO: Extracted packet for processing {"connection_id":159417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559449088001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:22: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-22 01:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787341899000,"timestamp_ms":1787341899000,"timestamp_seconds":1787341899,"priority":1,"record_length":96,"hex_timestamp":"000001a025e104f8"} 
[2026-08-22 01:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559449088001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559449088001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:22:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559449088001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":159417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:22:27] local.INFO: GPS data processed {"connection_id":159417,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:22:27] local.INFO: Acknowledgment sent {"connection_id":159417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:22:50] local.INFO: TCP Data received {"connection_id":160607,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:22:50] local.INFO: Processing buffer {"connection_id":160607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:22:50] local.INFO: IMEI packet received {"connection_id":160607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":160607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:22:56] local.INFO: TCP Data received {"connection_id":160607,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:22:56] local.INFO: Processing buffer {"connection_id":160607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:22:56] local.INFO: IMEI packet received {"connection_id":160607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":160607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:22:56] local.INFO: TCP Data received {"connection_id":160607,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:22:56] local.INFO: Processing buffer {"connection_id":160607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:22:56] local.INFO: Packet analysis {"connection_id":160607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:22:56] local.INFO: Extracted packet for processing {"connection_id":160607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:22:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559449088001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:22: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-22 01:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787341899000,"timestamp_ms":1787341899000,"timestamp_seconds":1787341899,"priority":1,"record_length":96,"hex_timestamp":"000001a025e104f8"} 
[2026-08-22 01: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-22 01:22: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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:22: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-22 01: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-22 01: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-22 01:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559449088001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559449088001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:22:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:22:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559449088001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":160607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:22:56] local.INFO: GPS data processed {"connection_id":160607,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:22:56] local.INFO: Acknowledgment sent {"connection_id":160607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:23:28] local.INFO: TCP Data received {"connection_id":160607,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:23:28] local.INFO: Processing buffer {"connection_id":160607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:23:28] local.INFO: Packet analysis {"connection_id":160607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:23:28] local.INFO: Extracted packet for processing {"connection_id":160607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:23:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559449088001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:23: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-22 01:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787341899000,"timestamp_ms":1787341899000,"timestamp_seconds":1787341899,"priority":1,"record_length":96,"hex_timestamp":"000001a025e104f8"} 
[2026-08-22 01:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:23: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-22 01:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559449088001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559449088001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:23:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:23:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559449088001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":160607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:23:28] local.INFO: GPS data processed {"connection_id":160607,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:23:28] local.INFO: Acknowledgment sent {"connection_id":160607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:23:56] local.INFO: TCP Data received {"connection_id":162005,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:23:56] local.INFO: Processing buffer {"connection_id":162005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:23:56] local.INFO: IMEI packet received {"connection_id":162005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":162005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:24:01] local.INFO: TCP Data received {"connection_id":162005,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:24:01] local.INFO: Processing buffer {"connection_id":162005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:24:01] local.INFO: IMEI packet received {"connection_id":162005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":162005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:24:01] local.INFO: TCP Data received {"connection_id":162005,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:24:01] local.INFO: Processing buffer {"connection_id":162005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:24:01] local.INFO: Packet analysis {"connection_id":162005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:24:01] local.INFO: Extracted packet for processing {"connection_id":162005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559449088001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:24: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-22 01:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787341899000,"timestamp_ms":1787341899000,"timestamp_seconds":1787341899,"priority":1,"record_length":96,"hex_timestamp":"000001a025e104f8"} 
[2026-08-22 01: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-22 01:24: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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:24: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-22 01: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-22 01: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-22 01:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559449088001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559449088001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:24:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:24:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559449088001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":162005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:24:01] local.INFO: GPS data processed {"connection_id":162005,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:24:01] local.INFO: Acknowledgment sent {"connection_id":162005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:24:06] local.INFO: TCP Data received {"connection_id":162005,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:24:06] local.INFO: Processing buffer {"connection_id":162005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:24:06] local.INFO: Packet analysis {"connection_id":162005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:24:06] local.INFO: Extracted packet for processing {"connection_id":162005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559449088001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:24:06] 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-22 01:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787341899000,"timestamp_ms":1787341899000,"timestamp_seconds":1787341899,"priority":1,"record_length":96,"hex_timestamp":"000001a025e104f8"} 
[2026-08-22 01: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-22 01:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559449088001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559449088001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:24:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559449088001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":162005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:24:06] local.INFO: GPS data processed {"connection_id":162005,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:24:06] local.INFO: Acknowledgment sent {"connection_id":162005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:24:51] local.INFO: TCP Data received {"connection_id":159687,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:24:51] local.INFO: Processing buffer {"connection_id":159687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:24:51] local.INFO: IMEI packet received {"connection_id":159687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":159687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:24:56] local.INFO: TCP Data received {"connection_id":159687,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:24:56] local.INFO: Processing buffer {"connection_id":159687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:24:56] local.INFO: IMEI packet received {"connection_id":159687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":159687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:24:56] local.INFO: TCP Data received {"connection_id":159687,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:24:56] local.INFO: Processing buffer {"connection_id":159687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:24:56] local.INFO: Packet analysis {"connection_id":159687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:24:56] local.INFO: Extracted packet for processing {"connection_id":159687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559449088001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787341899000,"timestamp_ms":1787341899000,"timestamp_seconds":1787341899,"priority":1,"record_length":96,"hex_timestamp":"000001a025e104f8"} 
[2026-08-22 01: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-22 01: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-22 01:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559449088001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559449088001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:24:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559449088001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":159687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:24:56] local.INFO: GPS data processed {"connection_id":159687,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:24:56] local.INFO: Acknowledgment sent {"connection_id":159687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:25:28] local.INFO: TCP Data received {"connection_id":159687,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:25:28] local.INFO: Processing buffer {"connection_id":159687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:25:28] local.INFO: Packet analysis {"connection_id":159687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:25:28] local.INFO: Extracted packet for processing {"connection_id":159687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559449088001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787341899000,"timestamp_ms":1787341899000,"timestamp_seconds":1787341899,"priority":1,"record_length":96,"hex_timestamp":"000001a025e104f8"} 
[2026-08-22 01: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-22 01:25: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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559449088001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559449088001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:25:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:25:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559449088001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":159687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:25:28] local.INFO: GPS data processed {"connection_id":159687,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:25:28] local.INFO: Acknowledgment sent {"connection_id":159687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:25:50] local.INFO: TCP Data received {"connection_id":159418,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:25:50] local.INFO: Processing buffer {"connection_id":159418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:25:50] local.INFO: IMEI packet received {"connection_id":159418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":159418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:25:56] local.INFO: TCP Data received {"connection_id":159418,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:25:56] local.INFO: Processing buffer {"connection_id":159418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:25:56] local.INFO: IMEI packet received {"connection_id":159418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":159418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:25:56] local.INFO: TCP Data received {"connection_id":159418,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:25:56] local.INFO: Processing buffer {"connection_id":159418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:25:56] local.INFO: Packet analysis {"connection_id":159418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:25:56] local.INFO: Extracted packet for processing {"connection_id":159418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559449088001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:25: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-22 01:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787341899000,"timestamp_ms":1787341899000,"timestamp_seconds":1787341899,"priority":1,"record_length":96,"hex_timestamp":"000001a025e104f8"} 
[2026-08-22 01: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-22 01:25: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-22 01:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559449088001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559449088001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:25:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559449088001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":159418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:25:56] local.INFO: GPS data processed {"connection_id":159418,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:25:56] local.INFO: Acknowledgment sent {"connection_id":159418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:26:27] local.INFO: TCP Data received {"connection_id":159418,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:26:27] local.INFO: Processing buffer {"connection_id":159418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:26:27] local.INFO: Packet analysis {"connection_id":159418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:26:27] local.INFO: Extracted packet for processing {"connection_id":159418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559449088001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:26: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-22 01:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787341899000,"timestamp_ms":1787341899000,"timestamp_seconds":1787341899,"priority":1,"record_length":96,"hex_timestamp":"000001a025e104f8"} 
[2026-08-22 01:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559449088001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559449088001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:26:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559449088001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":159418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:26:27] local.INFO: GPS data processed {"connection_id":159418,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:26:27] local.INFO: Acknowledgment sent {"connection_id":159418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:26:50] local.INFO: TCP Data received {"connection_id":159419,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:26:50] local.INFO: Processing buffer {"connection_id":159419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:26:50] local.INFO: IMEI packet received {"connection_id":159419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":159419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:26:56] local.INFO: TCP Data received {"connection_id":159419,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:26:56] local.INFO: Processing buffer {"connection_id":159419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:26:56] local.INFO: IMEI packet received {"connection_id":159419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":159419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:26:56] local.INFO: TCP Data received {"connection_id":159419,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:26:56] local.INFO: Processing buffer {"connection_id":159419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e104f8012d7f8ac005afe2d0000400fa20..."} 
[2026-08-22 01:26:56] local.INFO: Packet analysis {"connection_id":159419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:26:56] local.INFO: Extracted packet for processing {"connection_id":159419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e1"} 
[2026-08-22 01:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559449088001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787341899000,"timestamp_ms":1787341899000,"timestamp_seconds":1787341899,"priority":1,"record_length":96,"hex_timestamp":"000001a025e104f8"} 
[2026-08-22 01: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-22 01: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-22 01:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559449088001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559449088001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:26:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559449088001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":159419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:26:56] local.INFO: GPS data processed {"connection_id":159419,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:26:56] local.INFO: Acknowledgment sent {"connection_id":159419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:27:27] local.INFO: TCP Data received {"connection_id":159419,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:27:27] local.INFO: Processing buffer {"connection_id":159419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:27:27] local.INFO: Packet analysis {"connection_id":159419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:27:27] local.INFO: Extracted packet for processing {"connection_id":159419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559526144001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:27: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-22 01:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787342200000,"timestamp_ms":1787342200000,"timestamp_seconds":1787342200,"priority":1,"record_length":96,"hex_timestamp":"000001a025e59cc0"} 
[2026-08-22 01:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559526144001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559526144001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:27:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559526144001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":159419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:27:27] local.INFO: GPS data processed {"connection_id":159419,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:27:27] local.INFO: Acknowledgment sent {"connection_id":159419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:27:56] local.INFO: TCP Data received {"connection_id":162006,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:27:56] local.INFO: Processing buffer {"connection_id":162006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:27:56] local.INFO: IMEI packet received {"connection_id":162006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":162006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:28:01] local.INFO: TCP Data received {"connection_id":162006,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:28:01] local.INFO: Processing buffer {"connection_id":162006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:28:01] local.INFO: IMEI packet received {"connection_id":162006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":162006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:28:01] local.INFO: TCP Data received {"connection_id":162006,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:28:01] local.INFO: Processing buffer {"connection_id":162006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:28:01] local.INFO: Packet analysis {"connection_id":162006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:28:01] local.INFO: Extracted packet for processing {"connection_id":162006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559526144001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:28: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-22 01:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787342200000,"timestamp_ms":1787342200000,"timestamp_seconds":1787342200,"priority":1,"record_length":96,"hex_timestamp":"000001a025e59cc0"} 
[2026-08-22 01: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-22 01: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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:28: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-22 01: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-22 01: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-22 01:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559526144001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559526144001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:28:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559526144001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":162006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:28:01] local.INFO: GPS data processed {"connection_id":162006,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:28:01] local.INFO: Acknowledgment sent {"connection_id":162006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:28:06] local.INFO: TCP Data received {"connection_id":162006,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:28:06] local.INFO: Processing buffer {"connection_id":162006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:28:06] local.INFO: Packet analysis {"connection_id":162006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:28:06] local.INFO: Extracted packet for processing {"connection_id":162006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559526144001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:28:06] 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-22 01:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787342200000,"timestamp_ms":1787342200000,"timestamp_seconds":1787342200,"priority":1,"record_length":96,"hex_timestamp":"000001a025e59cc0"} 
[2026-08-22 01:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559526144001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559526144001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:28:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559526144001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":162006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:28:06] local.INFO: GPS data processed {"connection_id":162006,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:28:06] local.INFO: Acknowledgment sent {"connection_id":162006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:28:51] local.INFO: TCP Data received {"connection_id":159688,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:28:51] local.INFO: Processing buffer {"connection_id":159688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:28:51] local.INFO: IMEI packet received {"connection_id":159688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":159688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:28:56] local.INFO: TCP Data received {"connection_id":159688,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:28:56] local.INFO: Processing buffer {"connection_id":159688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:28:56] local.INFO: IMEI packet received {"connection_id":159688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":159688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:28:56] local.INFO: TCP Data received {"connection_id":159688,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:28:56] local.INFO: Processing buffer {"connection_id":159688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:28:56] local.INFO: Packet analysis {"connection_id":159688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:28:56] local.INFO: Extracted packet for processing {"connection_id":159688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559526144001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:28: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-22 01:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787342200000,"timestamp_ms":1787342200000,"timestamp_seconds":1787342200,"priority":1,"record_length":96,"hex_timestamp":"000001a025e59cc0"} 
[2026-08-22 01: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-22 01: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-22 01:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:28: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-22 01: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-22 01: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-22 01:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559526144001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559526144001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:28:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559526144001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":159688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:28:56] local.INFO: GPS data processed {"connection_id":159688,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:28:56] local.INFO: Acknowledgment sent {"connection_id":159688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:29:27] local.INFO: TCP Data received {"connection_id":159688,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:29:27] local.INFO: Processing buffer {"connection_id":159688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:29:27] local.INFO: Packet analysis {"connection_id":159688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:29:27] local.INFO: Extracted packet for processing {"connection_id":159688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:29:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559526144001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:29: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-22 01:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787342200000,"timestamp_ms":1787342200000,"timestamp_seconds":1787342200,"priority":1,"record_length":96,"hex_timestamp":"000001a025e59cc0"} 
[2026-08-22 01: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-22 01:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559526144001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559526144001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:29:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:29:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559526144001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":159688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:29:27] local.INFO: GPS data processed {"connection_id":159688,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:29:27] local.INFO: Acknowledgment sent {"connection_id":159688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:29:51] local.INFO: TCP Data received {"connection_id":159420,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:29:51] local.INFO: Processing buffer {"connection_id":159420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:29:51] local.INFO: IMEI packet received {"connection_id":159420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":159420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:29:56] local.INFO: TCP Data received {"connection_id":159420,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:29:56] local.INFO: Processing buffer {"connection_id":159420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:29:56] local.INFO: IMEI packet received {"connection_id":159420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":159420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:29:56] local.INFO: TCP Data received {"connection_id":159420,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:29:56] local.INFO: Processing buffer {"connection_id":159420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:29:56] local.INFO: Packet analysis {"connection_id":159420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:29:56] local.INFO: Extracted packet for processing {"connection_id":159420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559526144001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:29: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-22 01:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787342200000,"timestamp_ms":1787342200000,"timestamp_seconds":1787342200,"priority":1,"record_length":96,"hex_timestamp":"000001a025e59cc0"} 
[2026-08-22 01: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-22 01: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-22 01: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:29: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-22 01: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-22 01: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-22 01:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559526144001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559526144001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:29:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559526144001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":159420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:29:56] local.INFO: GPS data processed {"connection_id":159420,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:29:56] local.INFO: Acknowledgment sent {"connection_id":159420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:30:27] local.INFO: TCP Data received {"connection_id":159420,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:30:27] local.INFO: Processing buffer {"connection_id":159420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:30:27] local.INFO: Packet analysis {"connection_id":159420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:30:27] local.INFO: Extracted packet for processing {"connection_id":159420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559526144001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:30: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-22 01:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787342200000,"timestamp_ms":1787342200000,"timestamp_seconds":1787342200,"priority":1,"record_length":96,"hex_timestamp":"000001a025e59cc0"} 
[2026-08-22 01: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-22 01:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559526144001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559526144001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:30:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559526144001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":159420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:30:27] local.INFO: GPS data processed {"connection_id":159420,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:30:27] local.INFO: Acknowledgment sent {"connection_id":159420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:30:50] local.INFO: TCP Data received {"connection_id":162007,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:30:50] local.INFO: Processing buffer {"connection_id":162007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:30:50] local.INFO: IMEI packet received {"connection_id":162007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":162007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:30:56] local.INFO: TCP Data received {"connection_id":162007,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:30:56] local.INFO: Processing buffer {"connection_id":162007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:30:56] local.INFO: IMEI packet received {"connection_id":162007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":162007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:30:56] local.INFO: TCP Data received {"connection_id":162007,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:30:56] local.INFO: Processing buffer {"connection_id":162007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:30:56] local.INFO: Packet analysis {"connection_id":162007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:30:56] local.INFO: Extracted packet for processing {"connection_id":162007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559526144001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:30: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-22 01:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787342200000,"timestamp_ms":1787342200000,"timestamp_seconds":1787342200,"priority":1,"record_length":96,"hex_timestamp":"000001a025e59cc0"} 
[2026-08-22 01: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-22 01: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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:30: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-22 01: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-22 01: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-22 01:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559526144001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559526144001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:30:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559526144001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":162007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:30:56] local.INFO: GPS data processed {"connection_id":162007,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:30:56] local.INFO: Acknowledgment sent {"connection_id":162007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:31:27] local.INFO: TCP Data received {"connection_id":162007,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:31:27] local.INFO: Processing buffer {"connection_id":162007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:31:27] local.INFO: Packet analysis {"connection_id":162007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:31:27] local.INFO: Extracted packet for processing {"connection_id":162007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559526144001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:31: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-22 01:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787342200000,"timestamp_ms":1787342200000,"timestamp_seconds":1787342200,"priority":1,"record_length":96,"hex_timestamp":"000001a025e59cc0"} 
[2026-08-22 01: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-22 01:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559526144001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559526144001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:31:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559526144001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":162007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:31:27] local.INFO: GPS data processed {"connection_id":162007,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:31:27] local.INFO: Acknowledgment sent {"connection_id":162007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:31:50] local.INFO: TCP Data received {"connection_id":159421,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:31:50] local.INFO: Processing buffer {"connection_id":159421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:31:50] local.INFO: IMEI packet received {"connection_id":159421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":159421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:31:56] local.INFO: TCP Data received {"connection_id":159421,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:31:56] local.INFO: Processing buffer {"connection_id":159421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:31:56] local.INFO: IMEI packet received {"connection_id":159421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":159421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:31:57] local.INFO: TCP Data received {"connection_id":159421,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:31:57] local.INFO: Processing buffer {"connection_id":159421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025e59cc0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:31:57] local.INFO: Packet analysis {"connection_id":159421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:31:57] local.INFO: Extracted packet for processing {"connection_id":159421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025e5"} 
[2026-08-22 01:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559526144001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:31: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-22 01:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787342200000,"timestamp_ms":1787342200000,"timestamp_seconds":1787342200,"priority":1,"record_length":96,"hex_timestamp":"000001a025e59cc0"} 
[2026-08-22 01: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-22 01:31: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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:31:57] 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-22 01: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-22 01: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-22 01:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559526144001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559526144001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:31:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559526144001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":159421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:31:57] local.INFO: GPS data processed {"connection_id":159421,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:31:57] local.INFO: Acknowledgment sent {"connection_id":159421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:32:28] local.INFO: TCP Data received {"connection_id":159421,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:32:28] local.INFO: Processing buffer {"connection_id":159421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:32:28] local.INFO: Packet analysis {"connection_id":159421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:32:28] local.INFO: Extracted packet for processing {"connection_id":159421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:32:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559603200001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:32: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-22 01:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787342500000,"timestamp_ms":1787342500000,"timestamp_seconds":1787342500,"priority":1,"record_length":96,"hex_timestamp":"000001a025ea30a0"} 
[2026-08-22 01: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-22 01:32: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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559603200001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559603200001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:32:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:32:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559603200001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":159421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:32:28] local.INFO: GPS data processed {"connection_id":159421,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:32:28] local.INFO: Acknowledgment sent {"connection_id":159421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:32:51] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:32:51] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:32:51] local.INFO: IMEI packet received {"connection_id":162008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":162008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:32:56] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:32:56] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:32:56] local.INFO: IMEI packet received {"connection_id":162008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":162008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:32:56] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:32:56] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:32:56] local.INFO: Packet analysis {"connection_id":162008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:32:56] local.INFO: Extracted packet for processing {"connection_id":162008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559603200001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:32: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-22 01:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787342500000,"timestamp_ms":1787342500000,"timestamp_seconds":1787342500,"priority":1,"record_length":96,"hex_timestamp":"000001a025ea30a0"} 
[2026-08-22 01: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-22 01:32: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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:32: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-22 01: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-22 01: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-22 01:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559603200001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559603200001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:32:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559603200001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":162008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:32:56] local.INFO: GPS data processed {"connection_id":162008,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:32:56] local.INFO: Acknowledgment sent {"connection_id":162008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:33:01] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:33:01] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:33:01] local.INFO: Packet analysis {"connection_id":162008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:33:01] local.INFO: Extracted packet for processing {"connection_id":162008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559603200001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:33: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-22 01:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787342500000,"timestamp_ms":1787342500000,"timestamp_seconds":1787342500,"priority":1,"record_length":96,"hex_timestamp":"000001a025ea30a0"} 
[2026-08-22 01: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-22 01:33: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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:33: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-22 01: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-22 01: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-22 01:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559603200001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559603200001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:33:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559603200001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":162008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:33:01] local.INFO: GPS data processed {"connection_id":162008,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:33:01] local.INFO: Acknowledgment sent {"connection_id":162008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:33:32] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:33:32] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:33:32] local.INFO: Packet analysis {"connection_id":162008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:33:32] local.INFO: Extracted packet for processing {"connection_id":162008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559603200001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:33:32] 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-22 01:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787342500000,"timestamp_ms":1787342500000,"timestamp_seconds":1787342500,"priority":1,"record_length":96,"hex_timestamp":"000001a025ea30a0"} 
[2026-08-22 01: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-22 01:33: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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:33: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-22 01: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-22 01: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-22 01:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559603200001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559603200001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:33:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559603200001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":162008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:33:32] local.INFO: GPS data processed {"connection_id":162008,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:33:32] local.INFO: Acknowledgment sent {"connection_id":162008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:33:51] local.INFO: TCP Data received {"connection_id":160608,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:33:51] local.INFO: Processing buffer {"connection_id":160608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:33:51] local.INFO: IMEI packet received {"connection_id":160608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":160608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:33:56] local.INFO: TCP Data received {"connection_id":160608,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:33:56] local.INFO: Processing buffer {"connection_id":160608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:33:56] local.INFO: IMEI packet received {"connection_id":160608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":160608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:33:56] local.INFO: TCP Data received {"connection_id":160608,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:33:56] local.INFO: Processing buffer {"connection_id":160608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:33:56] local.INFO: Packet analysis {"connection_id":160608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:33:56] local.INFO: Extracted packet for processing {"connection_id":160608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559603200001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:33: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-22 01:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787342500000,"timestamp_ms":1787342500000,"timestamp_seconds":1787342500,"priority":1,"record_length":96,"hex_timestamp":"000001a025ea30a0"} 
[2026-08-22 01: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-22 01:33: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-22 01: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:33: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-22 01: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-22 01: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-22 01:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559603200001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559603200001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:33:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559603200001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":160608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:33:56] local.INFO: GPS data processed {"connection_id":160608,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:33:56] local.INFO: Acknowledgment sent {"connection_id":160608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:34:27] local.INFO: TCP Data received {"connection_id":160608,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:34:27] local.INFO: Processing buffer {"connection_id":160608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:34:27] local.INFO: Packet analysis {"connection_id":160608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:34:27] local.INFO: Extracted packet for processing {"connection_id":160608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:34:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559603200001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:34: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-22 01:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787342500000,"timestamp_ms":1787342500000,"timestamp_seconds":1787342500,"priority":1,"record_length":96,"hex_timestamp":"000001a025ea30a0"} 
[2026-08-22 01: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-22 01:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559603200001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559603200001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:34:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:34:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559603200001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":160608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:34:27] local.INFO: GPS data processed {"connection_id":160608,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:34:27] local.INFO: Acknowledgment sent {"connection_id":160608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:34:51] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:34:51] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:34:51] local.INFO: IMEI packet received {"connection_id":162009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":162009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:34:56] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:34:56] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:34:56] local.INFO: IMEI packet received {"connection_id":162009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":162009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:34:56] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:34:56] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:34:56] local.INFO: Packet analysis {"connection_id":162009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:34:56] local.INFO: Extracted packet for processing {"connection_id":162009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559603200001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:34: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-22 01:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787342500000,"timestamp_ms":1787342500000,"timestamp_seconds":1787342500,"priority":1,"record_length":96,"hex_timestamp":"000001a025ea30a0"} 
[2026-08-22 01: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-22 01:34: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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:34: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-22 01: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-22 01: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-22 01:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559603200001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559603200001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:34:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559603200001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":162009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:34:56] local.INFO: GPS data processed {"connection_id":162009,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:34:56] local.INFO: Acknowledgment sent {"connection_id":162009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:35:27] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:35:27] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:35:27] local.INFO: Packet analysis {"connection_id":162009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:35:27] local.INFO: Extracted packet for processing {"connection_id":162009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559603200001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:35: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-22 01:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787342500000,"timestamp_ms":1787342500000,"timestamp_seconds":1787342500,"priority":1,"record_length":96,"hex_timestamp":"000001a025ea30a0"} 
[2026-08-22 01:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559603200001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559603200001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:35:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:35:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559603200001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":162009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:35:27] local.INFO: GPS data processed {"connection_id":162009,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:35:27] local.INFO: Acknowledgment sent {"connection_id":162009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:35:50] local.INFO: TCP Data received {"connection_id":159422,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:35:50] local.INFO: Processing buffer {"connection_id":159422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:35:50] local.INFO: IMEI packet received {"connection_id":159422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":159422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:35:56] local.INFO: TCP Data received {"connection_id":159422,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:35:56] local.INFO: Processing buffer {"connection_id":159422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:35:56] local.INFO: IMEI packet received {"connection_id":159422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":159422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:35:56] local.INFO: TCP Data received {"connection_id":159422,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:35:56] local.INFO: Processing buffer {"connection_id":159422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:35:56] local.INFO: Packet analysis {"connection_id":159422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:35:56] local.INFO: Extracted packet for processing {"connection_id":159422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559603200001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:35: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-22 01:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787342500000,"timestamp_ms":1787342500000,"timestamp_seconds":1787342500,"priority":1,"record_length":96,"hex_timestamp":"000001a025ea30a0"} 
[2026-08-22 01: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-22 01: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-22 01: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:35: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-22 01: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-22 01: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-22 01:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559603200001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559603200001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:35:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559603200001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":159422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:35:56] local.INFO: GPS data processed {"connection_id":159422,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:35:56] local.INFO: Acknowledgment sent {"connection_id":159422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:36:27] local.INFO: TCP Data received {"connection_id":159422,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:36:27] local.INFO: Processing buffer {"connection_id":159422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:36:27] local.INFO: Packet analysis {"connection_id":159422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:36:27] local.INFO: Extracted packet for processing {"connection_id":159422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559603200001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:36: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-22 01:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787342500000,"timestamp_ms":1787342500000,"timestamp_seconds":1787342500,"priority":1,"record_length":96,"hex_timestamp":"000001a025ea30a0"} 
[2026-08-22 01: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-22 01:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559603200001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559603200001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:36:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559603200001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":159422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:36:27] local.INFO: GPS data processed {"connection_id":159422,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:36:27] local.INFO: Acknowledgment sent {"connection_id":159422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:36:50] local.INFO: TCP Data received {"connection_id":160609,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:36:50] local.INFO: Processing buffer {"connection_id":160609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:36:50] local.INFO: IMEI packet received {"connection_id":160609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":160609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:36:56] local.INFO: TCP Data received {"connection_id":160609,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:36:56] local.INFO: Processing buffer {"connection_id":160609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:36:56] local.INFO: IMEI packet received {"connection_id":160609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":160609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:36:56] local.INFO: TCP Data received {"connection_id":160609,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:36:56] local.INFO: Processing buffer {"connection_id":160609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025ea30a0012d7f8ac005afe2d0000500fa23..."} 
[2026-08-22 01:36:56] local.INFO: Packet analysis {"connection_id":160609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:36:56] local.INFO: Extracted packet for processing {"connection_id":160609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ea"} 
[2026-08-22 01:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559603200001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:36: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-22 01:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787342500000,"timestamp_ms":1787342500000,"timestamp_seconds":1787342500,"priority":1,"record_length":96,"hex_timestamp":"000001a025ea30a0"} 
[2026-08-22 01: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-22 01: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-22 01: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:36: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-22 01: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-22 01: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-22 01:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559603200001,"66":25756,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559603200001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:36:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559603200001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":160609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:36:56] local.INFO: GPS data processed {"connection_id":160609,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:36:56] local.INFO: Acknowledgment sent {"connection_id":160609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:37:27] local.INFO: TCP Data received {"connection_id":160609,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:37:27] local.INFO: Processing buffer {"connection_id":160609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:37:27] local.INFO: Packet analysis {"connection_id":160609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:37:27] local.INFO: Extracted packet for processing {"connection_id":160609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559680000001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:37: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-22 01:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787342801000,"timestamp_ms":1787342801000,"timestamp_seconds":1787342801,"priority":1,"record_length":96,"hex_timestamp":"000001a025eec868"} 
[2026-08-22 01: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-22 01:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 01:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559680000001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559680000001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:37:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559680000001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":160609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:37:27] local.INFO: GPS data processed {"connection_id":160609,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:37:27] local.INFO: Acknowledgment sent {"connection_id":160609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:37:51] local.INFO: TCP Data received {"connection_id":162010,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:37:51] local.INFO: Processing buffer {"connection_id":162010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:37:51] local.INFO: IMEI packet received {"connection_id":162010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":162010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:37:56] local.INFO: TCP Data received {"connection_id":162010,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:37:56] local.INFO: Processing buffer {"connection_id":162010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:37:56] local.INFO: IMEI packet received {"connection_id":162010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":162010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:37:56] local.INFO: TCP Data received {"connection_id":162010,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:37:56] local.INFO: Processing buffer {"connection_id":162010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:37:56] local.INFO: Packet analysis {"connection_id":162010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:37:56] local.INFO: Extracted packet for processing {"connection_id":162010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559680000001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:37: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-22 01:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787342801000,"timestamp_ms":1787342801000,"timestamp_seconds":1787342801,"priority":1,"record_length":96,"hex_timestamp":"000001a025eec868"} 
[2026-08-22 01: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-22 01:37: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-22 01: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:37: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-22 01: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-22 01: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-22 01:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559680000001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559680000001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:37:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559680000001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":162010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:37:56] local.INFO: GPS data processed {"connection_id":162010,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:37:56] local.INFO: Acknowledgment sent {"connection_id":162010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:38:27] local.INFO: TCP Data received {"connection_id":162010,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:38:27] local.INFO: Processing buffer {"connection_id":162010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:38:27] local.INFO: Packet analysis {"connection_id":162010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:38:27] local.INFO: Extracted packet for processing {"connection_id":162010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559680000001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:38: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-22 01:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787342801000,"timestamp_ms":1787342801000,"timestamp_seconds":1787342801,"priority":1,"record_length":96,"hex_timestamp":"000001a025eec868"} 
[2026-08-22 01: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-22 01:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559680000001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559680000001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:38:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559680000001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":162010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:38:27] local.INFO: GPS data processed {"connection_id":162010,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:38:27] local.INFO: Acknowledgment sent {"connection_id":162010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:38:50] local.INFO: TCP Data received {"connection_id":159689,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:38:50] local.INFO: Processing buffer {"connection_id":159689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:38:50] local.INFO: IMEI packet received {"connection_id":159689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":159689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:38:55] local.INFO: TCP Data received {"connection_id":159689,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:38:55] local.INFO: Processing buffer {"connection_id":159689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:38:55] local.INFO: IMEI packet received {"connection_id":159689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":159689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:38:56] local.INFO: TCP Data received {"connection_id":159689,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:38:56] local.INFO: Processing buffer {"connection_id":159689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:38:56] local.INFO: Packet analysis {"connection_id":159689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:38:56] local.INFO: Extracted packet for processing {"connection_id":159689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559680000001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:38: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-22 01:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787342801000,"timestamp_ms":1787342801000,"timestamp_seconds":1787342801,"priority":1,"record_length":96,"hex_timestamp":"000001a025eec868"} 
[2026-08-22 01: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-22 01:38: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-22 01:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:38: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-22 01: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-22 01: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-22 01:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559680000001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559680000001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:38:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559680000001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":159689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:38:56] local.INFO: GPS data processed {"connection_id":159689,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:38:56] local.INFO: Acknowledgment sent {"connection_id":159689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:39:27] local.INFO: TCP Data received {"connection_id":159689,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:39:27] local.INFO: Processing buffer {"connection_id":159689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:39:27] local.INFO: Packet analysis {"connection_id":159689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:39:27] local.INFO: Extracted packet for processing {"connection_id":159689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559680000001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:39: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-22 01:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787342801000,"timestamp_ms":1787342801000,"timestamp_seconds":1787342801,"priority":1,"record_length":96,"hex_timestamp":"000001a025eec868"} 
[2026-08-22 01: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-22 01:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559680000001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559680000001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:39:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:39:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559680000001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":159689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:39:27] local.INFO: GPS data processed {"connection_id":159689,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:39:27] local.INFO: Acknowledgment sent {"connection_id":159689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:39:51] local.INFO: TCP Data received {"connection_id":159690,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:39:51] local.INFO: Processing buffer {"connection_id":159690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:39:51] local.INFO: IMEI packet received {"connection_id":159690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":159690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:39:55] local.INFO: TCP Data received {"connection_id":159690,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:39:55] local.INFO: Processing buffer {"connection_id":159690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:39:55] local.INFO: IMEI packet received {"connection_id":159690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":159690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:39:56] local.INFO: TCP Data received {"connection_id":159690,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:39:56] local.INFO: Processing buffer {"connection_id":159690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:39:56] local.INFO: Packet analysis {"connection_id":159690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:39:56] local.INFO: Extracted packet for processing {"connection_id":159690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559680000001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787342801000,"timestamp_ms":1787342801000,"timestamp_seconds":1787342801,"priority":1,"record_length":96,"hex_timestamp":"000001a025eec868"} 
[2026-08-22 01: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-22 01: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-22 01: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:39: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-22 01: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-22 01: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-22 01:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559680000001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559680000001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:39:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559680000001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":159690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:39:56] local.INFO: GPS data processed {"connection_id":159690,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:39:56] local.INFO: Acknowledgment sent {"connection_id":159690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:40:27] local.INFO: TCP Data received {"connection_id":159690,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:40:27] local.INFO: Processing buffer {"connection_id":159690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:40:27] local.INFO: Packet analysis {"connection_id":159690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:40:27] local.INFO: Extracted packet for processing {"connection_id":159690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559680000001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:40: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-22 01:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787342801000,"timestamp_ms":1787342801000,"timestamp_seconds":1787342801,"priority":1,"record_length":96,"hex_timestamp":"000001a025eec868"} 
[2026-08-22 01: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-22 01:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559680000001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559680000001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:40:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:40:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559680000001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":159690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:40:27] local.INFO: GPS data processed {"connection_id":159690,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:40:27] local.INFO: Acknowledgment sent {"connection_id":159690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:40:50] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:40:50] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:40:50] local.INFO: IMEI packet received {"connection_id":162011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":162011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:40:55] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:40:55] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:40:55] local.INFO: IMEI packet received {"connection_id":162011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":162011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:40:56] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:40:56] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:40:56] local.INFO: Packet analysis {"connection_id":162011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:40:56] local.INFO: Extracted packet for processing {"connection_id":162011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559680000001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787342801000,"timestamp_ms":1787342801000,"timestamp_seconds":1787342801,"priority":1,"record_length":96,"hex_timestamp":"000001a025eec868"} 
[2026-08-22 01: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-22 01:40: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-22 01:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:40: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-22 01: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-22 01: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-22 01:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559680000001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559680000001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:40:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559680000001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":162011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:40:56] local.INFO: GPS data processed {"connection_id":162011,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:40:56] local.INFO: Acknowledgment sent {"connection_id":162011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:41:27] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:41:27] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:41:27] local.INFO: Packet analysis {"connection_id":162011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:41:27] local.INFO: Extracted packet for processing {"connection_id":162011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559680000001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:41: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-22 01:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787342801000,"timestamp_ms":1787342801000,"timestamp_seconds":1787342801,"priority":1,"record_length":96,"hex_timestamp":"000001a025eec868"} 
[2026-08-22 01: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-22 01:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559680000001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559680000001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:41:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559680000001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":162011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:41:27] local.INFO: GPS data processed {"connection_id":162011,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:41:27] local.INFO: Acknowledgment sent {"connection_id":162011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:41:50] local.INFO: TCP Data received {"connection_id":159423,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:41:50] local.INFO: Processing buffer {"connection_id":159423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:41:50] local.INFO: IMEI packet received {"connection_id":159423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":159423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:41:55] local.INFO: TCP Data received {"connection_id":159423,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:41:55] local.INFO: Processing buffer {"connection_id":159423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:41:55] local.INFO: IMEI packet received {"connection_id":159423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":159423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:41:56] local.INFO: TCP Data received {"connection_id":159423,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:41:56] local.INFO: Processing buffer {"connection_id":159423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025eec868012d7f8ac005afe2d0000500fa25..."} 
[2026-08-22 01:41:56] local.INFO: Packet analysis {"connection_id":159423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:41:56] local.INFO: Extracted packet for processing {"connection_id":159423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025ee"} 
[2026-08-22 01:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559680000001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787342801000,"timestamp_ms":1787342801000,"timestamp_seconds":1787342801,"priority":1,"record_length":96,"hex_timestamp":"000001a025eec868"} 
[2026-08-22 01: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-22 01: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-22 01: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 01:41: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-22 01: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-22 01: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-22 01:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559680000001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559680000001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:41:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559680000001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":159423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:41:56] local.INFO: GPS data processed {"connection_id":159423,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:41:56] local.INFO: Acknowledgment sent {"connection_id":159423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:42:28] local.INFO: TCP Data received {"connection_id":159423,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:42:28] local.INFO: Processing buffer {"connection_id":159423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:42:28] local.INFO: Packet analysis {"connection_id":159423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:42:28] local.INFO: Extracted packet for processing {"connection_id":159423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559757056001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:42: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-22 01:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787343102000,"timestamp_ms":1787343102000,"timestamp_seconds":1787343102,"priority":1,"record_length":96,"hex_timestamp":"000001a025f36030"} 
[2026-08-22 01: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-22 01:42: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-22 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01: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-22 01:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559757056001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559757056001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:42:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559757056001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":159423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:42:28] local.INFO: GPS data processed {"connection_id":159423,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:42:28] local.INFO: Acknowledgment sent {"connection_id":159423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:42:55] local.INFO: TCP Data received {"connection_id":159424,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:42:55] local.INFO: Processing buffer {"connection_id":159424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:42:55] local.INFO: IMEI packet received {"connection_id":159424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":159424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:43:01] local.INFO: TCP Data received {"connection_id":159424,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:43:01] local.INFO: Processing buffer {"connection_id":159424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:43:01] local.INFO: IMEI packet received {"connection_id":159424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":159424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:43:01] local.INFO: TCP Data received {"connection_id":159424,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:43:01] local.INFO: Processing buffer {"connection_id":159424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:43:01] local.INFO: Packet analysis {"connection_id":159424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:43:01] local.INFO: Extracted packet for processing {"connection_id":159424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:43:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:43: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-22 01:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559757056001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:43: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-22 01:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787343102000,"timestamp_ms":1787343102000,"timestamp_seconds":1787343102,"priority":1,"record_length":96,"hex_timestamp":"000001a025f36030"} 
[2026-08-22 01:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:43: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-22 01:43: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":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:43:01] 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-22 01:43: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-22 01:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559757056001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559757056001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:43:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:43:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559757056001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":159424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:43:01] local.INFO: GPS data processed {"connection_id":159424,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:43:01] local.INFO: Acknowledgment sent {"connection_id":159424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:43:33] local.INFO: TCP Data received {"connection_id":159424,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:43:33] local.INFO: Processing buffer {"connection_id":159424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:43:33] local.INFO: Packet analysis {"connection_id":159424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:43:33] local.INFO: Extracted packet for processing {"connection_id":159424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:43: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-22 01:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559757056001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:43: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-22 01:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787343102000,"timestamp_ms":1787343102000,"timestamp_seconds":1787343102,"priority":1,"record_length":96,"hex_timestamp":"000001a025f36030"} 
[2026-08-22 01:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:43: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-22 01:43: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-22 01:43: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-22 01:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559757056001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559757056001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:43:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559757056001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":159424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:43:33] local.INFO: GPS data processed {"connection_id":159424,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:43:33] local.INFO: Acknowledgment sent {"connection_id":159424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:43:50] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:43:50] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:43:50] local.INFO: IMEI packet received {"connection_id":162012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":162012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:43:56] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:43:56] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:43:56] local.INFO: IMEI packet received {"connection_id":162012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":162012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:43:56] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:43:56] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:43:56] local.INFO: Packet analysis {"connection_id":162012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:43:56] local.INFO: Extracted packet for processing {"connection_id":162012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559757056001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:43: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-22 01:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787343102000,"timestamp_ms":1787343102000,"timestamp_seconds":1787343102,"priority":1,"record_length":96,"hex_timestamp":"000001a025f36030"} 
[2026-08-22 01: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-22 01:43: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-22 01: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":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:43: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-22 01: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-22 01: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-22 01:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559757056001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559757056001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:43:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559757056001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":162012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:43:56] local.INFO: GPS data processed {"connection_id":162012,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:43:56] local.INFO: Acknowledgment sent {"connection_id":162012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:44:27] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:44:27] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:44:27] local.INFO: Packet analysis {"connection_id":162012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:44:27] local.INFO: Extracted packet for processing {"connection_id":162012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559757056001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:44: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-22 01:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787343102000,"timestamp_ms":1787343102000,"timestamp_seconds":1787343102,"priority":1,"record_length":96,"hex_timestamp":"000001a025f36030"} 
[2026-08-22 01: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-22 01:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:44:27] 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-22 01: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-22 01: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-22 01:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559757056001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559757056001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:44:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559757056001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":162012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:44:27] local.INFO: GPS data processed {"connection_id":162012,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:44:27] local.INFO: Acknowledgment sent {"connection_id":162012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:44:50] local.INFO: TCP Data received {"connection_id":159691,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:44:50] local.INFO: Processing buffer {"connection_id":159691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:44:50] local.INFO: IMEI packet received {"connection_id":159691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":159691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:44:55] local.INFO: TCP Data received {"connection_id":159691,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:44:55] local.INFO: Processing buffer {"connection_id":159691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:44:55] local.INFO: IMEI packet received {"connection_id":159691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":159691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:44:56] local.INFO: TCP Data received {"connection_id":159691,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:44:56] local.INFO: Processing buffer {"connection_id":159691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:44:56] local.INFO: Packet analysis {"connection_id":159691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:44:56] local.INFO: Extracted packet for processing {"connection_id":159691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559757056001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787343102000,"timestamp_ms":1787343102000,"timestamp_seconds":1787343102,"priority":1,"record_length":96,"hex_timestamp":"000001a025f36030"} 
[2026-08-22 01: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-22 01:44: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-22 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:44: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-22 01: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-22 01: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-22 01:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559757056001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559757056001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:44:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559757056001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":159691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:44:56] local.INFO: GPS data processed {"connection_id":159691,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:44:56] local.INFO: Acknowledgment sent {"connection_id":159691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:45:27] local.INFO: TCP Data received {"connection_id":159691,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:45:27] local.INFO: Processing buffer {"connection_id":159691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:45:27] local.INFO: Packet analysis {"connection_id":159691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:45:27] local.INFO: Extracted packet for processing {"connection_id":159691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:45:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559757056001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:45: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-22 01:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787343102000,"timestamp_ms":1787343102000,"timestamp_seconds":1787343102,"priority":1,"record_length":96,"hex_timestamp":"000001a025f36030"} 
[2026-08-22 01: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-22 01:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:45:27] 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-22 01: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-22 01: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-22 01:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559757056001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559757056001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:45:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:45:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559757056001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":159691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:45:27] local.INFO: GPS data processed {"connection_id":159691,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:45:27] local.INFO: Acknowledgment sent {"connection_id":159691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:45:50] local.INFO: TCP Data received {"connection_id":160610,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:45:50] local.INFO: Processing buffer {"connection_id":160610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:45:50] local.INFO: IMEI packet received {"connection_id":160610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":160610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:45:56] local.INFO: TCP Data received {"connection_id":160610,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:45:56] local.INFO: Processing buffer {"connection_id":160610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:45:56] local.INFO: IMEI packet received {"connection_id":160610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":160610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:45:56] local.INFO: TCP Data received {"connection_id":160610,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:45:56] local.INFO: Processing buffer {"connection_id":160610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:45:56] local.INFO: Packet analysis {"connection_id":160610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:45:56] local.INFO: Extracted packet for processing {"connection_id":160610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559757056001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:45: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-22 01:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787343102000,"timestamp_ms":1787343102000,"timestamp_seconds":1787343102,"priority":1,"record_length":96,"hex_timestamp":"000001a025f36030"} 
[2026-08-22 01: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-22 01: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-22 01: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":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:45: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-22 01: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-22 01: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-22 01:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559757056001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559757056001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:45:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559757056001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":160610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:45:56] local.INFO: GPS data processed {"connection_id":160610,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:45:56] local.INFO: Acknowledgment sent {"connection_id":160610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:46:27] local.INFO: TCP Data received {"connection_id":160610,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:46:27] local.INFO: Processing buffer {"connection_id":160610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:46:27] local.INFO: Packet analysis {"connection_id":160610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:46:27] local.INFO: Extracted packet for processing {"connection_id":160610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559757056001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:46: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-22 01:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787343102000,"timestamp_ms":1787343102000,"timestamp_seconds":1787343102,"priority":1,"record_length":96,"hex_timestamp":"000001a025f36030"} 
[2026-08-22 01: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-22 01:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:46:27] 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-22 01: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-22 01: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-22 01:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559757056001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559757056001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:46:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559757056001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":160610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:46:27] local.INFO: GPS data processed {"connection_id":160610,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:46:27] local.INFO: Acknowledgment sent {"connection_id":160610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:46:50] local.INFO: TCP Data received {"connection_id":159692,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:46:50] local.INFO: Processing buffer {"connection_id":159692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:46:50] local.INFO: IMEI packet received {"connection_id":159692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":159692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:46:55] local.INFO: TCP Data received {"connection_id":159692,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:46:55] local.INFO: Processing buffer {"connection_id":159692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:46:55] local.INFO: IMEI packet received {"connection_id":159692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":159692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:46:56] local.INFO: TCP Data received {"connection_id":159692,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:46:56] local.INFO: Processing buffer {"connection_id":159692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f36030012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:46:56] local.INFO: Packet analysis {"connection_id":159692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:46:56] local.INFO: Extracted packet for processing {"connection_id":159692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f3"} 
[2026-08-22 01:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559757056001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787343102000,"timestamp_ms":1787343102000,"timestamp_seconds":1787343102,"priority":1,"record_length":96,"hex_timestamp":"000001a025f36030"} 
[2026-08-22 01: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-22 01: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-22 01: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":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:46: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-22 01: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-22 01: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-22 01:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559757056001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559757056001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:46:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559757056001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":159692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:46:56] local.INFO: GPS data processed {"connection_id":159692,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:46:56] local.INFO: Acknowledgment sent {"connection_id":159692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:47:27] local.INFO: TCP Data received {"connection_id":159692,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:47:27] local.INFO: Processing buffer {"connection_id":159692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:47:27] local.INFO: Packet analysis {"connection_id":159692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:47:27] local.INFO: Extracted packet for processing {"connection_id":159692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559834112001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:47: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-22 01:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787343404000,"timestamp_ms":1787343404000,"timestamp_seconds":1787343404,"priority":1,"record_length":96,"hex_timestamp":"000001a025f7fbe0"} 
[2026-08-22 01: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-22 01:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01: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":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:47:27] 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-22 01: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-22 01: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-22 01:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559834112001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559834112001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:47:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:47:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559834112001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":159692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:47:27] local.INFO: GPS data processed {"connection_id":159692,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:47:27] local.INFO: Acknowledgment sent {"connection_id":159692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:47:55] local.INFO: TCP Data received {"connection_id":159425,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:47:55] local.INFO: Processing buffer {"connection_id":159425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:47:55] local.INFO: IMEI packet received {"connection_id":159425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":159425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:48:00] local.INFO: TCP Data received {"connection_id":159425,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:48:00] local.INFO: Processing buffer {"connection_id":159425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:48:00] local.INFO: IMEI packet received {"connection_id":159425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":159425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:48:01] local.INFO: TCP Data received {"connection_id":159425,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:48:01] local.INFO: Processing buffer {"connection_id":159425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:48:01] local.INFO: Packet analysis {"connection_id":159425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:48:01] local.INFO: Extracted packet for processing {"connection_id":159425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 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-22 01:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559834112001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:48: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-22 01:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787343404000,"timestamp_ms":1787343404000,"timestamp_seconds":1787343404,"priority":1,"record_length":96,"hex_timestamp":"000001a025f7fbe0"} 
[2026-08-22 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-22 01:48: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-22 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:48:01] 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-22 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-22 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-22 01:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559834112001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559834112001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:48:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559834112001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":159425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:48:01] local.INFO: GPS data processed {"connection_id":159425,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:48:01] local.INFO: Acknowledgment sent {"connection_id":159425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:48:32] local.INFO: TCP Data received {"connection_id":159425,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:48:32] local.INFO: Processing buffer {"connection_id":159425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:48:32] local.INFO: Packet analysis {"connection_id":159425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:48:32] local.INFO: Extracted packet for processing {"connection_id":159425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559834112001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:48:32] 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-22 01:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787343404000,"timestamp_ms":1787343404000,"timestamp_seconds":1787343404,"priority":1,"record_length":96,"hex_timestamp":"000001a025f7fbe0"} 
[2026-08-22 01: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-22 01:48: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-22 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559834112001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559834112001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:48:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:48:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559834112001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":159425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:48:32] local.INFO: GPS data processed {"connection_id":159425,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:48:32] local.INFO: Acknowledgment sent {"connection_id":159425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:48:50] local.INFO: TCP Data received {"connection_id":159693,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:48:50] local.INFO: Processing buffer {"connection_id":159693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:48:50] local.INFO: IMEI packet received {"connection_id":159693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":159693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:48:55] local.INFO: TCP Data received {"connection_id":159693,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:48:55] local.INFO: Processing buffer {"connection_id":159693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:48:55] local.INFO: IMEI packet received {"connection_id":159693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":159693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:48:56] local.INFO: TCP Data received {"connection_id":159693,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:48:56] local.INFO: Processing buffer {"connection_id":159693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:48:56] local.INFO: Packet analysis {"connection_id":159693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:48:56] local.INFO: Extracted packet for processing {"connection_id":159693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559834112001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787343404000,"timestamp_ms":1787343404000,"timestamp_seconds":1787343404,"priority":1,"record_length":96,"hex_timestamp":"000001a025f7fbe0"} 
[2026-08-22 01: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-22 01: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-22 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:48: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-22 01: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-22 01: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-22 01:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559834112001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559834112001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:48:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559834112001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":159693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:48:56] local.INFO: GPS data processed {"connection_id":159693,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:48:56] local.INFO: Acknowledgment sent {"connection_id":159693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:49:27] local.INFO: TCP Data received {"connection_id":159693,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:49:27] local.INFO: Processing buffer {"connection_id":159693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:49:27] local.INFO: Packet analysis {"connection_id":159693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:49:27] local.INFO: Extracted packet for processing {"connection_id":159693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559834112001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:49: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-22 01:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787343404000,"timestamp_ms":1787343404000,"timestamp_seconds":1787343404,"priority":1,"record_length":96,"hex_timestamp":"000001a025f7fbe0"} 
[2026-08-22 01: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-22 01:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:49:27] 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-22 01: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-22 01: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-22 01:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559834112001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559834112001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:49:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559834112001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":159693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:49:27] local.INFO: GPS data processed {"connection_id":159693,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:49:27] local.INFO: Acknowledgment sent {"connection_id":159693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:49:50] local.INFO: TCP Data received {"connection_id":159426,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:49:50] local.INFO: Processing buffer {"connection_id":159426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:49:50] local.INFO: IMEI packet received {"connection_id":159426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":159426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:49:55] local.INFO: TCP Data received {"connection_id":159426,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:49:55] local.INFO: Processing buffer {"connection_id":159426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:49:55] local.INFO: IMEI packet received {"connection_id":159426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":159426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:49:56] local.INFO: TCP Data received {"connection_id":159426,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:49:56] local.INFO: Processing buffer {"connection_id":159426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:49:56] local.INFO: Packet analysis {"connection_id":159426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:49:56] local.INFO: Extracted packet for processing {"connection_id":159426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559834112001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:49: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-22 01:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787343404000,"timestamp_ms":1787343404000,"timestamp_seconds":1787343404,"priority":1,"record_length":96,"hex_timestamp":"000001a025f7fbe0"} 
[2026-08-22 01: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-22 01: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-22 01: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":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:49: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-22 01: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-22 01: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-22 01:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559834112001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559834112001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:49:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559834112001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":159426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:49:56] local.INFO: GPS data processed {"connection_id":159426,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:49:56] local.INFO: Acknowledgment sent {"connection_id":159426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:50:01] local.INFO: TCP Data received {"connection_id":159426,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:50:01] local.INFO: Processing buffer {"connection_id":159426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:50:01] local.INFO: Packet analysis {"connection_id":159426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:50:01] local.INFO: Extracted packet for processing {"connection_id":159426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559834112001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:50: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-22 01:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787343404000,"timestamp_ms":1787343404000,"timestamp_seconds":1787343404,"priority":1,"record_length":96,"hex_timestamp":"000001a025f7fbe0"} 
[2026-08-22 01: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-22 01:50: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-22 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:50:01] 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-22 01: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-22 01: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-22 01:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559834112001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559834112001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:50:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559834112001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":159426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:50:01] local.INFO: GPS data processed {"connection_id":159426,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:50:01] local.INFO: Acknowledgment sent {"connection_id":159426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:50:32] local.INFO: TCP Data received {"connection_id":159426,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:50:32] local.INFO: Processing buffer {"connection_id":159426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:50:32] local.INFO: Packet analysis {"connection_id":159426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:50:32] local.INFO: Extracted packet for processing {"connection_id":159426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:50: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-22 01:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559834112001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:50:32] 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-22 01:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787343404000,"timestamp_ms":1787343404000,"timestamp_seconds":1787343404,"priority":1,"record_length":96,"hex_timestamp":"000001a025f7fbe0"} 
[2026-08-22 01:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:50: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-22 01:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:50: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-22 01:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559834112001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559834112001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:50:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:50:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559834112001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":159426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:50:32] local.INFO: GPS data processed {"connection_id":159426,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:50:32] local.INFO: Acknowledgment sent {"connection_id":159426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:50:50] local.INFO: TCP Data received {"connection_id":159694,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:50:50] local.INFO: Processing buffer {"connection_id":159694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:50:50] local.INFO: IMEI packet received {"connection_id":159694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":159694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:50:55] local.INFO: TCP Data received {"connection_id":159694,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:50:55] local.INFO: Processing buffer {"connection_id":159694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:50:55] local.INFO: IMEI packet received {"connection_id":159694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":159694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:50:56] local.INFO: TCP Data received {"connection_id":159694,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:50:56] local.INFO: Processing buffer {"connection_id":159694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:50:56] local.INFO: Packet analysis {"connection_id":159694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:50:56] local.INFO: Extracted packet for processing {"connection_id":159694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559834112001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:50: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-22 01:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787343404000,"timestamp_ms":1787343404000,"timestamp_seconds":1787343404,"priority":1,"record_length":96,"hex_timestamp":"000001a025f7fbe0"} 
[2026-08-22 01: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-22 01: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-22 01: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":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:50: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-22 01: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-22 01: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-22 01:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559834112001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559834112001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:50:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559834112001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":159694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:50:56] local.INFO: GPS data processed {"connection_id":159694,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:50:56] local.INFO: Acknowledgment sent {"connection_id":159694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:51:27] local.INFO: TCP Data received {"connection_id":159694,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:51:27] local.INFO: Processing buffer {"connection_id":159694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:51:27] local.INFO: Packet analysis {"connection_id":159694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:51:27] local.INFO: Extracted packet for processing {"connection_id":159694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559834112001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:51: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-22 01:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787343404000,"timestamp_ms":1787343404000,"timestamp_seconds":1787343404,"priority":1,"record_length":96,"hex_timestamp":"000001a025f7fbe0"} 
[2026-08-22 01: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-22 01:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:51:27] 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-22 01: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-22 01: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-22 01:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559834112001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559834112001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:51:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559834112001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":159694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:51:27] local.INFO: GPS data processed {"connection_id":159694,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:51:27] local.INFO: Acknowledgment sent {"connection_id":159694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:51:50] local.INFO: TCP Data received {"connection_id":162013,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:51:50] local.INFO: Processing buffer {"connection_id":162013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:51:50] local.INFO: IMEI packet received {"connection_id":162013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":162013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:51:55] local.INFO: TCP Data received {"connection_id":162013,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:51:55] local.INFO: Processing buffer {"connection_id":162013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:51:55] local.INFO: IMEI packet received {"connection_id":162013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":162013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:51:56] local.INFO: TCP Data received {"connection_id":162013,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:51:56] local.INFO: Processing buffer {"connection_id":162013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025f7fbe0012d7f8ac005afe2d0000500fa24..."} 
[2026-08-22 01:51:56] local.INFO: Packet analysis {"connection_id":162013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:51:56] local.INFO: Extracted packet for processing {"connection_id":162013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025f7"} 
[2026-08-22 01:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":5,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559834112001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:51: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-22 01:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787343404000,"timestamp_ms":1787343404000,"timestamp_seconds":1787343404,"priority":1,"record_length":96,"hex_timestamp":"000001a025f7fbe0"} 
[2026-08-22 01: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-22 01: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-22 01: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":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:51: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-22 01: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-22 01: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-22 01:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559834112001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559834112001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:51:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559834112001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":162013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:51:56] local.INFO: GPS data processed {"connection_id":162013,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:51:56] local.INFO: Acknowledgment sent {"connection_id":162013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:52:27] local.INFO: TCP Data received {"connection_id":162013,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:52:27] local.INFO: Processing buffer {"connection_id":162013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:52:27] local.INFO: Packet analysis {"connection_id":162013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:52:27] local.INFO: Extracted packet for processing {"connection_id":162013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559911424001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:52: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-22 01:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787343704000,"timestamp_ms":1787343704000,"timestamp_seconds":1787343704,"priority":1,"record_length":96,"hex_timestamp":"000001a025fc8fc0"} 
[2026-08-22 01: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-22 01:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 01: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 01:52: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-22 01: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-22 01: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-22 01:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559911424001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559911424001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:52:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:52:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559911424001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":162013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:52:27] local.INFO: GPS data processed {"connection_id":162013,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:52:27] local.INFO: Acknowledgment sent {"connection_id":162013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:52:55] local.INFO: TCP Data received {"connection_id":159427,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:52:56] local.INFO: Processing buffer {"connection_id":159427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:52:56] local.INFO: IMEI packet received {"connection_id":159427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":159427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:53:00] local.INFO: TCP Data received {"connection_id":159427,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:53:00] local.INFO: Processing buffer {"connection_id":159427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:53:00] local.INFO: IMEI packet received {"connection_id":159427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":159427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:53:01] local.INFO: TCP Data received {"connection_id":159427,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:53:01] local.INFO: Processing buffer {"connection_id":159427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:53:01] local.INFO: Packet analysis {"connection_id":159427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:53:01] local.INFO: Extracted packet for processing {"connection_id":159427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559911424001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:53: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-22 01:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787343704000,"timestamp_ms":1787343704000,"timestamp_seconds":1787343704,"priority":1,"record_length":96,"hex_timestamp":"000001a025fc8fc0"} 
[2026-08-22 01: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-22 01:53: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-22 01: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":112,"data_length":795,"current_offset":136} 
[2026-08-22 01:53: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-22 01: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-22 01: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-22 01:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559911424001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559911424001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:53:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559911424001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":159427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:53:01] local.INFO: GPS data processed {"connection_id":159427,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:53:01] local.INFO: Acknowledgment sent {"connection_id":159427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:53:06] local.INFO: TCP Data received {"connection_id":159427,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:53:06] local.INFO: Processing buffer {"connection_id":159427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:53:06] local.INFO: Packet analysis {"connection_id":159427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:53:06] local.INFO: Extracted packet for processing {"connection_id":159427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:53:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559911424001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:53:06] 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-22 01:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787343704000,"timestamp_ms":1787343704000,"timestamp_seconds":1787343704,"priority":1,"record_length":96,"hex_timestamp":"000001a025fc8fc0"} 
[2026-08-22 01: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-22 01:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 01:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 01:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559911424001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559911424001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:53:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:53:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559911424001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":159427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:53:06] local.INFO: GPS data processed {"connection_id":159427,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:53:06] local.INFO: Acknowledgment sent {"connection_id":159427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:53:50] local.INFO: TCP Data received {"connection_id":159695,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:53:50] local.INFO: Processing buffer {"connection_id":159695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:53:50] local.INFO: IMEI packet received {"connection_id":159695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":159695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:53:55] local.INFO: TCP Data received {"connection_id":159695,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:53:55] local.INFO: Processing buffer {"connection_id":159695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:53:55] local.INFO: IMEI packet received {"connection_id":159695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":159695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:53:56] local.INFO: TCP Data received {"connection_id":159695,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:53:56] local.INFO: Processing buffer {"connection_id":159695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:53:56] local.INFO: Packet analysis {"connection_id":159695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:53:56] local.INFO: Extracted packet for processing {"connection_id":159695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559911424001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:53: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-22 01:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787343704000,"timestamp_ms":1787343704000,"timestamp_seconds":1787343704,"priority":1,"record_length":96,"hex_timestamp":"000001a025fc8fc0"} 
[2026-08-22 01: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-22 01:53: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-22 01: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":112,"data_length":795,"current_offset":136} 
[2026-08-22 01:53: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-22 01: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-22 01: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-22 01:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559911424001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559911424001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:53:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559911424001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":159695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:53:56] local.INFO: GPS data processed {"connection_id":159695,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:53:56] local.INFO: Acknowledgment sent {"connection_id":159695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:54:27] local.INFO: TCP Data received {"connection_id":159695,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:54:27] local.INFO: Processing buffer {"connection_id":159695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:54:27] local.INFO: Packet analysis {"connection_id":159695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:54:27] local.INFO: Extracted packet for processing {"connection_id":159695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559911424001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:54: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-22 01:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787343704000,"timestamp_ms":1787343704000,"timestamp_seconds":1787343704,"priority":1,"record_length":96,"hex_timestamp":"000001a025fc8fc0"} 
[2026-08-22 01: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-22 01:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 01:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 01:54: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-22 01: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-22 01: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-22 01:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559911424001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559911424001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:54:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:54:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559911424001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":159695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:54:27] local.INFO: GPS data processed {"connection_id":159695,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:54:27] local.INFO: Acknowledgment sent {"connection_id":159695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:54:50] local.INFO: TCP Data received {"connection_id":160611,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:54:51] local.INFO: Processing buffer {"connection_id":160611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:54:51] local.INFO: IMEI packet received {"connection_id":160611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":160611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:54:56] local.INFO: TCP Data received {"connection_id":160611,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:54:56] local.INFO: Processing buffer {"connection_id":160611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:54:56] local.INFO: IMEI packet received {"connection_id":160611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":160611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:54:56] local.INFO: TCP Data received {"connection_id":160611,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:54:56] local.INFO: Processing buffer {"connection_id":160611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:54:56] local.INFO: Packet analysis {"connection_id":160611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:54:56] local.INFO: Extracted packet for processing {"connection_id":160611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559911424001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:54: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-22 01:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787343704000,"timestamp_ms":1787343704000,"timestamp_seconds":1787343704,"priority":1,"record_length":96,"hex_timestamp":"000001a025fc8fc0"} 
[2026-08-22 01: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-22 01:54: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-22 01:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 01:54: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-22 01: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-22 01: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-22 01:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559911424001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559911424001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:54:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559911424001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":160611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:54:56] local.INFO: GPS data processed {"connection_id":160611,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:54:56] local.INFO: Acknowledgment sent {"connection_id":160611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:55:28] local.INFO: TCP Data received {"connection_id":160611,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:55:28] local.INFO: Processing buffer {"connection_id":160611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:55:28] local.INFO: Packet analysis {"connection_id":160611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:55:28] local.INFO: Extracted packet for processing {"connection_id":160611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:55:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559911424001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:55: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-22 01:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787343704000,"timestamp_ms":1787343704000,"timestamp_seconds":1787343704,"priority":1,"record_length":96,"hex_timestamp":"000001a025fc8fc0"} 
[2026-08-22 01: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-22 01:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 01: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 01:55:28] 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-22 01: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-22 01: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-22 01:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559911424001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559911424001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:55:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559911424001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":160611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:55:28] local.INFO: GPS data processed {"connection_id":160611,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:55:28] local.INFO: Acknowledgment sent {"connection_id":160611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:55:50] local.INFO: TCP Data received {"connection_id":162014,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:55:50] local.INFO: Processing buffer {"connection_id":162014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:55:50] local.INFO: IMEI packet received {"connection_id":162014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":162014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:55:55] local.INFO: TCP Data received {"connection_id":162014,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:55:55] local.INFO: Processing buffer {"connection_id":162014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:55:55] local.INFO: IMEI packet received {"connection_id":162014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":162014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:55:56] local.INFO: TCP Data received {"connection_id":162014,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:55:56] local.INFO: Processing buffer {"connection_id":162014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:55:56] local.INFO: Packet analysis {"connection_id":162014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:55:56] local.INFO: Extracted packet for processing {"connection_id":162014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559911424001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:55: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-22 01:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787343704000,"timestamp_ms":1787343704000,"timestamp_seconds":1787343704,"priority":1,"record_length":96,"hex_timestamp":"000001a025fc8fc0"} 
[2026-08-22 01: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-22 01:55: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-22 01: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":112,"data_length":795,"current_offset":136} 
[2026-08-22 01:55: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-22 01: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-22 01: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-22 01:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559911424001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559911424001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:55:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559911424001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":162014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:55:56] local.INFO: GPS data processed {"connection_id":162014,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:55:56] local.INFO: Acknowledgment sent {"connection_id":162014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:56:27] local.INFO: TCP Data received {"connection_id":162014,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:56:27] local.INFO: Processing buffer {"connection_id":162014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:56:27] local.INFO: Packet analysis {"connection_id":162014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:56:27] local.INFO: Extracted packet for processing {"connection_id":162014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559911424001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:56: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-22 01:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787343704000,"timestamp_ms":1787343704000,"timestamp_seconds":1787343704,"priority":1,"record_length":96,"hex_timestamp":"000001a025fc8fc0"} 
[2026-08-22 01: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-22 01:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 01:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 01:56: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-22 01: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-22 01: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-22 01:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559911424001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559911424001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:56:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559911424001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":162014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:56:27] local.INFO: GPS data processed {"connection_id":162014,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:56:27] local.INFO: Acknowledgment sent {"connection_id":162014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:56:50] local.INFO: TCP Data received {"connection_id":159428,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:56:50] local.INFO: Processing buffer {"connection_id":159428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:56:50] local.INFO: IMEI packet received {"connection_id":159428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":159428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:56:55] local.INFO: TCP Data received {"connection_id":159428,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:56:55] local.INFO: Processing buffer {"connection_id":159428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:56:55] local.INFO: IMEI packet received {"connection_id":159428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":159428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:56:56] local.INFO: TCP Data received {"connection_id":159428,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:56:56] local.INFO: Processing buffer {"connection_id":159428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025fc8fc0012d7f8ac005afe2d0000400fa25..."} 
[2026-08-22 01:56:56] local.INFO: Packet analysis {"connection_id":159428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:56:56] local.INFO: Extracted packet for processing {"connection_id":159428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a025fc"} 
[2026-08-22 01:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":4,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559911424001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:56: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-22 01:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787343704000,"timestamp_ms":1787343704000,"timestamp_seconds":1787343704,"priority":1,"record_length":96,"hex_timestamp":"000001a025fc8fc0"} 
[2026-08-22 01: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-22 01:56: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-22 01: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 01:56: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-22 01: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-22 01: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-22 01:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559911424001,"66":25734,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559911424001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:56:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559911424001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":159428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:56:56] local.INFO: GPS data processed {"connection_id":159428,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:56:56] local.INFO: Acknowledgment sent {"connection_id":159428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:57:27] local.INFO: TCP Data received {"connection_id":159428,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:57:27] local.INFO: Processing buffer {"connection_id":159428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:57:27] local.INFO: Packet analysis {"connection_id":159428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 01:57:27] local.INFO: Extracted packet for processing {"connection_id":159428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 01:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559988224001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:57: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-22 01:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787344005000,"timestamp_ms":1787344005000,"timestamp_seconds":1787344005,"priority":1,"record_length":96,"hex_timestamp":"000001a026012788"} 
[2026-08-22 01: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-22 01:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:57:27] 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-22 01: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-22 01: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-22 01:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559988224001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559988224001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:57:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559988224001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":159428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:57:27] local.INFO: GPS data processed {"connection_id":159428,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:57:27] local.INFO: Acknowledgment sent {"connection_id":159428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:57:55] local.INFO: TCP Data received {"connection_id":159696,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:57:55] local.INFO: Processing buffer {"connection_id":159696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:57:55] local.INFO: IMEI packet received {"connection_id":159696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":159696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:58:00] local.INFO: TCP Data received {"connection_id":159696,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:58:00] local.INFO: Processing buffer {"connection_id":159696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:58:00] local.INFO: IMEI packet received {"connection_id":159696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":159696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:58:01] local.INFO: TCP Data received {"connection_id":159696,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:58:01] local.INFO: Processing buffer {"connection_id":159696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:58:01] local.INFO: Packet analysis {"connection_id":159696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 01:58:01] local.INFO: Extracted packet for processing {"connection_id":159696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 01:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559988224001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:58: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-22 01:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787344005000,"timestamp_ms":1787344005000,"timestamp_seconds":1787344005,"priority":1,"record_length":96,"hex_timestamp":"000001a026012788"} 
[2026-08-22 01: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-22 01:58: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-22 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:58:01] 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-22 01: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-22 01: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-22 01:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559988224001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559988224001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:58:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559988224001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":159696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:58:01] local.INFO: GPS data processed {"connection_id":159696,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:58:01] local.INFO: Acknowledgment sent {"connection_id":159696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:58:06] local.INFO: TCP Data received {"connection_id":159696,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:58:06] local.INFO: Processing buffer {"connection_id":159696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:58:06] local.INFO: Packet analysis {"connection_id":159696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 01:58:06] local.INFO: Extracted packet for processing {"connection_id":159696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 01:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 01:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559988224001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:58:06] 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-22 01:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787344005000,"timestamp_ms":1787344005000,"timestamp_seconds":1787344005,"priority":1,"record_length":96,"hex_timestamp":"000001a026012788"} 
[2026-08-22 01:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 01:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 01:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 01:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 01:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559988224001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559988224001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:58:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559988224001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":159696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:58:06] local.INFO: GPS data processed {"connection_id":159696,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:58:06] local.INFO: Acknowledgment sent {"connection_id":159696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:58:50] local.INFO: TCP Data received {"connection_id":162015,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:58:50] local.INFO: Processing buffer {"connection_id":162015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:58:50] local.INFO: IMEI packet received {"connection_id":162015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":162015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:58:55] local.INFO: TCP Data received {"connection_id":162015,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:58:55] local.INFO: Processing buffer {"connection_id":162015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:58:55] local.INFO: IMEI packet received {"connection_id":162015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":162015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:58:56] local.INFO: TCP Data received {"connection_id":162015,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:58:56] local.INFO: Processing buffer {"connection_id":162015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:58:56] local.INFO: Packet analysis {"connection_id":162015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 01:58:56] local.INFO: Extracted packet for processing {"connection_id":162015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 01:58:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559988224001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787344005000,"timestamp_ms":1787344005000,"timestamp_seconds":1787344005,"priority":1,"record_length":96,"hex_timestamp":"000001a026012788"} 
[2026-08-22 01: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-22 01:58: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-22 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:58: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-22 01: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-22 01: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-22 01:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559988224001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559988224001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:58:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:58:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559988224001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":162015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:58:56] local.INFO: GPS data processed {"connection_id":162015,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:58:56] local.INFO: Acknowledgment sent {"connection_id":162015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:59:28] local.INFO: TCP Data received {"connection_id":162015,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:59:28] local.INFO: Processing buffer {"connection_id":162015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:59:28] local.INFO: Packet analysis {"connection_id":162015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 01:59:28] local.INFO: Extracted packet for processing {"connection_id":162015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 01:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559988224001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01:59: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-22 01:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787344005000,"timestamp_ms":1787344005000,"timestamp_seconds":1787344005,"priority":1,"record_length":96,"hex_timestamp":"000001a026012788"} 
[2026-08-22 01: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-22 01:59: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-22 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 01:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 01: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-22 01: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-22 01:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559988224001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559988224001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:59:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559988224001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":162015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:59:28] local.INFO: GPS data processed {"connection_id":162015,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:59:28] local.INFO: Acknowledgment sent {"connection_id":162015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 01:59:50] local.INFO: TCP Data received {"connection_id":160612,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:59:50] local.INFO: Processing buffer {"connection_id":160612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:59:50] local.INFO: IMEI packet received {"connection_id":160612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 01:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":160612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 01:59:55] local.INFO: TCP Data received {"connection_id":160612,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:59:55] local.INFO: Processing buffer {"connection_id":160612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 01:59:55] local.INFO: IMEI packet received {"connection_id":160612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 01:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":160612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 01:59:56] local.INFO: TCP Data received {"connection_id":160612,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:59:56] local.INFO: Processing buffer {"connection_id":160612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 01:59:56] local.INFO: Packet analysis {"connection_id":160612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 01:59:56] local.INFO: Extracted packet for processing {"connection_id":160612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 01:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 01: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-22 01:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559988224001,"note":"Value kept but may cause issues"} 
[2026-08-22 01:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 01:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 01: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-22 01:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787344005000,"timestamp_ms":1787344005000,"timestamp_seconds":1787344005,"priority":1,"record_length":96,"hex_timestamp":"000001a026012788"} 
[2026-08-22 01: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-22 01: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-22 01: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-22 01: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-22 01: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-22 01: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-22 01:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 01:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 01:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 01:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 01:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 01:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 01:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559988224001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 01:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 01:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 01:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559988224001,"description":"Unknown IO ID 0"} 
[2026-08-22 01:59:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 01:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 01:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 01:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 01:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559988224001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 01:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":160612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 01:59:56] local.INFO: GPS data processed {"connection_id":160612,"processed":1,"errors":0,"total":1} 
[2026-08-22 01:59:56] local.INFO: Acknowledgment sent {"connection_id":160612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:00:27] local.INFO: TCP Data received {"connection_id":160612,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 02:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 02:00:27] local.INFO: Processing buffer {"connection_id":160612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 02:00:27] local.INFO: Packet analysis {"connection_id":160612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 02:00:27] local.INFO: Extracted packet for processing {"connection_id":160612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 02:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559988224001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:00: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-22 02:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787344005000,"timestamp_ms":1787344005000,"timestamp_seconds":1787344005,"priority":1,"record_length":96,"hex_timestamp":"000001a026012788"} 
[2026-08-22 02: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-22 02:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 02: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 02:00:27] 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-22 02: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-22 02: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-22 02:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559988224001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559988224001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:00:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:00:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559988224001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":160612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:00:27] local.INFO: GPS data processed {"connection_id":160612,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:00:27] local.INFO: Acknowledgment sent {"connection_id":160612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:00:50] local.INFO: TCP Data received {"connection_id":162016,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:00:50] local.INFO: Processing buffer {"connection_id":162016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:00:50] local.INFO: IMEI packet received {"connection_id":162016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":162016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:00:55] local.INFO: TCP Data received {"connection_id":162016,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:00:55] local.INFO: Processing buffer {"connection_id":162016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:00:55] local.INFO: IMEI packet received {"connection_id":162016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":162016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:00:56] local.INFO: TCP Data received {"connection_id":162016,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 02:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 02:00:56] local.INFO: Processing buffer {"connection_id":162016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 02:00:56] local.INFO: Packet analysis {"connection_id":162016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 02:00:56] local.INFO: Extracted packet for processing {"connection_id":162016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 02:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559988224001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02: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-22 02:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787344005000,"timestamp_ms":1787344005000,"timestamp_seconds":1787344005,"priority":1,"record_length":96,"hex_timestamp":"000001a026012788"} 
[2026-08-22 02: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-22 02:00: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-22 02:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 02:00: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-22 02: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-22 02: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-22 02:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559988224001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559988224001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:00:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559988224001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":162016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:00:56] local.INFO: GPS data processed {"connection_id":162016,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:00:56] local.INFO: Acknowledgment sent {"connection_id":162016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:01:27] local.INFO: TCP Data received {"connection_id":162016,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 02:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 02:01:27] local.INFO: Processing buffer {"connection_id":162016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 02:01:27] local.INFO: Packet analysis {"connection_id":162016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 02:01:27] local.INFO: Extracted packet for processing {"connection_id":162016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 02:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559988224001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:01: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-22 02:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787344005000,"timestamp_ms":1787344005000,"timestamp_seconds":1787344005,"priority":1,"record_length":96,"hex_timestamp":"000001a026012788"} 
[2026-08-22 02: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-22 02:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 02:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 02:01:27] 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-22 02: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-22 02: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-22 02:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559988224001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559988224001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:01:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559988224001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":162016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:01:27] local.INFO: GPS data processed {"connection_id":162016,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:01:27] local.INFO: Acknowledgment sent {"connection_id":162016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:01:50] local.INFO: TCP Data received {"connection_id":159697,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:01:50] local.INFO: Processing buffer {"connection_id":159697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:01:50] local.INFO: IMEI packet received {"connection_id":159697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":159697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:01:55] local.INFO: TCP Data received {"connection_id":159697,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:01:55] local.INFO: Processing buffer {"connection_id":159697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:01:55] local.INFO: IMEI packet received {"connection_id":159697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":159697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:01:56] local.INFO: TCP Data received {"connection_id":159697,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 02:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 02:01:56] local.INFO: Processing buffer {"connection_id":159697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026012788012d7f8ac005afe2d0000300fa25..."} 
[2026-08-22 02:01:56] local.INFO: Packet analysis {"connection_id":159697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 02:01:56] local.INFO: Extracted packet for processing {"connection_id":159697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02601"} 
[2026-08-22 02:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457559988224001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:01: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-22 02:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787344005000,"timestamp_ms":1787344005000,"timestamp_seconds":1787344005,"priority":1,"record_length":96,"hex_timestamp":"000001a026012788"} 
[2026-08-22 02: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-22 02:01: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-22 02: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":134,"data_length":795,"current_offset":136} 
[2026-08-22 02:01: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-22 02: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-22 02: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-22 02:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457559988224001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457559988224001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:01:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457559988224001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":159697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:01:56] local.INFO: GPS data processed {"connection_id":159697,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:01:56] local.INFO: Acknowledgment sent {"connection_id":159697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:02:27] local.INFO: TCP Data received {"connection_id":159697,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:02:27] local.INFO: Processing buffer {"connection_id":159697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:02:27] local.INFO: Packet analysis {"connection_id":159697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:02:27] local.INFO: Extracted packet for processing {"connection_id":159697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560065280001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:02: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-22 02:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787344306000,"timestamp_ms":1787344306000,"timestamp_seconds":1787344306,"priority":1,"record_length":96,"hex_timestamp":"000001a02605bf50"} 
[2026-08-22 02: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-22 02:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:02: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-22 02: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-22 02: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-22 02:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560065280001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560065280001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:02:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560065280001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":159697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:02:27] local.INFO: GPS data processed {"connection_id":159697,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:02:27] local.INFO: Acknowledgment sent {"connection_id":159697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:02:55] local.INFO: TCP Data received {"connection_id":162017,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:02:55] local.INFO: Processing buffer {"connection_id":162017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:02:55] local.INFO: IMEI packet received {"connection_id":162017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":162017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:03:00] local.INFO: TCP Data received {"connection_id":162017,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:03:00] local.INFO: Processing buffer {"connection_id":162017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:03:00] local.INFO: IMEI packet received {"connection_id":162017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":162017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:03:01] local.INFO: TCP Data received {"connection_id":162017,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:03:01] local.INFO: Processing buffer {"connection_id":162017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:03:01] local.INFO: Packet analysis {"connection_id":162017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:03:01] local.INFO: Extracted packet for processing {"connection_id":162017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:03:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560065280001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:03: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-22 02:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787344306000,"timestamp_ms":1787344306000,"timestamp_seconds":1787344306,"priority":1,"record_length":96,"hex_timestamp":"000001a02605bf50"} 
[2026-08-22 02: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-22 02:03: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-22 02: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-22 02: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-22 02: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-22 02: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-22 02:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560065280001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560065280001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:03:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:03:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560065280001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":162017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:03:01] local.INFO: GPS data processed {"connection_id":162017,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:03:01] local.INFO: Acknowledgment sent {"connection_id":162017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:03:06] local.INFO: TCP Data received {"connection_id":162017,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:03:06] local.INFO: Processing buffer {"connection_id":162017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:03:06] local.INFO: Packet analysis {"connection_id":162017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:03:06] local.INFO: Extracted packet for processing {"connection_id":162017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560065280001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:03:06] 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-22 02:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787344306000,"timestamp_ms":1787344306000,"timestamp_seconds":1787344306,"priority":1,"record_length":96,"hex_timestamp":"000001a02605bf50"} 
[2026-08-22 02: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-22 02:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 02: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-22 02: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-22 02:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560065280001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560065280001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:03:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560065280001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":162017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:03:06] local.INFO: GPS data processed {"connection_id":162017,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:03:06] local.INFO: Acknowledgment sent {"connection_id":162017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:03:50] local.INFO: TCP Data received {"connection_id":159698,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:03:50] local.INFO: Processing buffer {"connection_id":159698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:03:50] local.INFO: IMEI packet received {"connection_id":159698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":159698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:03:55] local.INFO: TCP Data received {"connection_id":159698,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:03:55] local.INFO: Processing buffer {"connection_id":159698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:03:55] local.INFO: IMEI packet received {"connection_id":159698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":159698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:03:56] local.INFO: TCP Data received {"connection_id":159698,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:03:56] local.INFO: Processing buffer {"connection_id":159698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:03:56] local.INFO: Packet analysis {"connection_id":159698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:03:56] local.INFO: Extracted packet for processing {"connection_id":159698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560065280001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02: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-22 02:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787344306000,"timestamp_ms":1787344306000,"timestamp_seconds":1787344306,"priority":1,"record_length":96,"hex_timestamp":"000001a02605bf50"} 
[2026-08-22 02: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-22 02:03: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-22 02: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-22 02: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-22 02: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-22 02: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-22 02:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560065280001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560065280001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:03:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560065280001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":159698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:03:56] local.INFO: GPS data processed {"connection_id":159698,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:03:56] local.INFO: Acknowledgment sent {"connection_id":159698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:04:28] local.INFO: TCP Data received {"connection_id":159698,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:04:28] local.INFO: Processing buffer {"connection_id":159698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:04:28] local.INFO: Packet analysis {"connection_id":159698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:04:28] local.INFO: Extracted packet for processing {"connection_id":159698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560065280001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:04: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-22 02:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787344306000,"timestamp_ms":1787344306000,"timestamp_seconds":1787344306,"priority":1,"record_length":96,"hex_timestamp":"000001a02605bf50"} 
[2026-08-22 02: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-22 02:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:04:28] 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-22 02: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-22 02: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-22 02:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560065280001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560065280001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:04:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:04:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560065280001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":159698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:04:28] local.INFO: GPS data processed {"connection_id":159698,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:04:28] local.INFO: Acknowledgment sent {"connection_id":159698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:04:50] local.INFO: TCP Data received {"connection_id":160613,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:04:50] local.INFO: Processing buffer {"connection_id":160613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:04:50] local.INFO: IMEI packet received {"connection_id":160613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":160613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:04:55] local.INFO: TCP Data received {"connection_id":160613,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:04:55] local.INFO: Processing buffer {"connection_id":160613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:04:55] local.INFO: IMEI packet received {"connection_id":160613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":160613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:04:56] local.INFO: TCP Data received {"connection_id":160613,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:04:56] local.INFO: Processing buffer {"connection_id":160613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:04:56] local.INFO: Packet analysis {"connection_id":160613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:04:56] local.INFO: Extracted packet for processing {"connection_id":160613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560065280001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:04: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-22 02:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787344306000,"timestamp_ms":1787344306000,"timestamp_seconds":1787344306,"priority":1,"record_length":96,"hex_timestamp":"000001a02605bf50"} 
[2026-08-22 02: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-22 02:04: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-22 02: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:04: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-22 02: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-22 02: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-22 02:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560065280001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560065280001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:04:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:04:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560065280001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":160613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:04:56] local.INFO: GPS data processed {"connection_id":160613,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:04:56] local.INFO: Acknowledgment sent {"connection_id":160613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:05:27] local.INFO: TCP Data received {"connection_id":160613,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:05:27] local.INFO: Processing buffer {"connection_id":160613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:05:27] local.INFO: Packet analysis {"connection_id":160613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:05:27] local.INFO: Extracted packet for processing {"connection_id":160613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560065280001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:05: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-22 02:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787344306000,"timestamp_ms":1787344306000,"timestamp_seconds":1787344306,"priority":1,"record_length":96,"hex_timestamp":"000001a02605bf50"} 
[2026-08-22 02:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:05: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-22 02:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560065280001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560065280001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:05:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560065280001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":160613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:05:27] local.INFO: GPS data processed {"connection_id":160613,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:05:27] local.INFO: Acknowledgment sent {"connection_id":160613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:05:50] local.INFO: TCP Data received {"connection_id":162018,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:05:50] local.INFO: Processing buffer {"connection_id":162018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:05:50] local.INFO: IMEI packet received {"connection_id":162018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":162018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:05:55] local.INFO: TCP Data received {"connection_id":162018,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:05:55] local.INFO: Processing buffer {"connection_id":162018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:05:55] local.INFO: IMEI packet received {"connection_id":162018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":162018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:05:56] local.INFO: TCP Data received {"connection_id":162018,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:05:56] local.INFO: Processing buffer {"connection_id":162018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:05:56] local.INFO: Packet analysis {"connection_id":162018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:05:56] local.INFO: Extracted packet for processing {"connection_id":162018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560065280001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:05: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-22 02:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787344306000,"timestamp_ms":1787344306000,"timestamp_seconds":1787344306,"priority":1,"record_length":96,"hex_timestamp":"000001a02605bf50"} 
[2026-08-22 02: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-22 02:05: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-22 02: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:05: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-22 02: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-22 02: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-22 02:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560065280001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560065280001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:05:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560065280001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":162018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:05:56] local.INFO: GPS data processed {"connection_id":162018,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:05:56] local.INFO: Acknowledgment sent {"connection_id":162018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:06:27] local.INFO: TCP Data received {"connection_id":162018,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:06:27] local.INFO: Processing buffer {"connection_id":162018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:06:27] local.INFO: Packet analysis {"connection_id":162018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:06:27] local.INFO: Extracted packet for processing {"connection_id":162018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560065280001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:06: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-22 02:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787344306000,"timestamp_ms":1787344306000,"timestamp_seconds":1787344306,"priority":1,"record_length":96,"hex_timestamp":"000001a02605bf50"} 
[2026-08-22 02: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-22 02:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:06: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-22 02: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-22 02: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-22 02:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560065280001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560065280001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:06:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560065280001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":162018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:06:27] local.INFO: GPS data processed {"connection_id":162018,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:06:27] local.INFO: Acknowledgment sent {"connection_id":162018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:06:50] local.INFO: TCP Data received {"connection_id":160614,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:06:50] local.INFO: Processing buffer {"connection_id":160614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:06:50] local.INFO: IMEI packet received {"connection_id":160614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":160614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:06:55] local.INFO: TCP Data received {"connection_id":160614,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:06:55] local.INFO: Processing buffer {"connection_id":160614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:06:55] local.INFO: IMEI packet received {"connection_id":160614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":160614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:06:56] local.INFO: TCP Data received {"connection_id":160614,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:06:56] local.INFO: Processing buffer {"connection_id":160614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02605bf50012d7f8ac005afe2d0000300fa24..."} 
[2026-08-22 02:06:56] local.INFO: Packet analysis {"connection_id":160614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:06:56] local.INFO: Extracted packet for processing {"connection_id":160614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02605"} 
[2026-08-22 02:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560065280001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:06: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-22 02:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787344306000,"timestamp_ms":1787344306000,"timestamp_seconds":1787344306,"priority":1,"record_length":96,"hex_timestamp":"000001a02605bf50"} 
[2026-08-22 02: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-22 02:06: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-22 02: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:06: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-22 02: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-22 02: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-22 02:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560065280001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560065280001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:06:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560065280001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":160614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:06:56] local.INFO: GPS data processed {"connection_id":160614,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:06:56] local.INFO: Acknowledgment sent {"connection_id":160614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:07:28] local.INFO: TCP Data received {"connection_id":160614,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:07:28] local.INFO: Processing buffer {"connection_id":160614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:07:28] local.INFO: Packet analysis {"connection_id":160614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:07:28] local.INFO: Extracted packet for processing {"connection_id":160614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560142336001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:07: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-22 02:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787344607000,"timestamp_ms":1787344607000,"timestamp_seconds":1787344607,"priority":1,"record_length":96,"hex_timestamp":"000001a0260a5718"} 
[2026-08-22 02: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-22 02:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560142336001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560142336001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:07:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560142336001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":160614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:07:28] local.INFO: GPS data processed {"connection_id":160614,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:07:28] local.INFO: Acknowledgment sent {"connection_id":160614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:07:55] local.INFO: TCP Data received {"connection_id":159699,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:07:55] local.INFO: Processing buffer {"connection_id":159699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:07:55] local.INFO: IMEI packet received {"connection_id":159699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":159699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:08:00] local.INFO: TCP Data received {"connection_id":159699,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:08:00] local.INFO: Processing buffer {"connection_id":159699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:08:00] local.INFO: IMEI packet received {"connection_id":159699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":159699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:08:01] local.INFO: TCP Data received {"connection_id":159699,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:08:01] local.INFO: Processing buffer {"connection_id":159699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:08:01] local.INFO: Packet analysis {"connection_id":159699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:08:01] local.INFO: Extracted packet for processing {"connection_id":159699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:08: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-22 02:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560142336001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:08: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-22 02:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787344607000,"timestamp_ms":1787344607000,"timestamp_seconds":1787344607,"priority":1,"record_length":96,"hex_timestamp":"000001a0260a5718"} 
[2026-08-22 02:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:08: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-22 02:08: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-22 02:08: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-22 02:08: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-22 02:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560142336001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560142336001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:08:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560142336001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":159699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:08:01] local.INFO: GPS data processed {"connection_id":159699,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:08:01] local.INFO: Acknowledgment sent {"connection_id":159699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:08:32] local.INFO: TCP Data received {"connection_id":159699,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:08:32] local.INFO: Processing buffer {"connection_id":159699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:08:32] local.INFO: Packet analysis {"connection_id":159699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:08:32] local.INFO: Extracted packet for processing {"connection_id":159699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560142336001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:08:32] 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-22 02:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787344607000,"timestamp_ms":1787344607000,"timestamp_seconds":1787344607,"priority":1,"record_length":96,"hex_timestamp":"000001a0260a5718"} 
[2026-08-22 02: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-22 02:08: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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:08: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-22 02: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-22 02: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-22 02:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560142336001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560142336001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:08:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560142336001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":159699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:08:32] local.INFO: GPS data processed {"connection_id":159699,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:08:32] local.INFO: Acknowledgment sent {"connection_id":159699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:08:50] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:08:50] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:08:50] local.INFO: IMEI packet received {"connection_id":162019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":162019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:08:55] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:08:55] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:08:55] local.INFO: IMEI packet received {"connection_id":162019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":162019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:08:56] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:08:56] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:08:56] local.INFO: Packet analysis {"connection_id":162019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:08:56] local.INFO: Extracted packet for processing {"connection_id":162019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560142336001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02: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-22 02:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787344607000,"timestamp_ms":1787344607000,"timestamp_seconds":1787344607,"priority":1,"record_length":96,"hex_timestamp":"000001a0260a5718"} 
[2026-08-22 02: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-22 02:08: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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:08: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-22 02: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-22 02: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-22 02:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560142336001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560142336001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:08:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560142336001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":162019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:08:56] local.INFO: GPS data processed {"connection_id":162019,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:08:56] local.INFO: Acknowledgment sent {"connection_id":162019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:09:27] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:09:27] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:09:27] local.INFO: Packet analysis {"connection_id":162019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:09:27] local.INFO: Extracted packet for processing {"connection_id":162019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560142336001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:09: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-22 02:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787344607000,"timestamp_ms":1787344607000,"timestamp_seconds":1787344607,"priority":1,"record_length":96,"hex_timestamp":"000001a0260a5718"} 
[2026-08-22 02: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-22 02:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560142336001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560142336001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:09:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560142336001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":162019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:09:28] local.INFO: GPS data processed {"connection_id":162019,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:09:28] local.INFO: Acknowledgment sent {"connection_id":162019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:09:50] local.INFO: TCP Data received {"connection_id":160615,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:09:50] local.INFO: Processing buffer {"connection_id":160615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:09:50] local.INFO: IMEI packet received {"connection_id":160615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":160615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:09:55] local.INFO: TCP Data received {"connection_id":160615,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:09:55] local.INFO: Processing buffer {"connection_id":160615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:09:55] local.INFO: IMEI packet received {"connection_id":160615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":160615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:09:56] local.INFO: TCP Data received {"connection_id":160615,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:09:56] local.INFO: Processing buffer {"connection_id":160615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:09:56] local.INFO: Packet analysis {"connection_id":160615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:09:56] local.INFO: Extracted packet for processing {"connection_id":160615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560142336001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:09: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-22 02:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787344607000,"timestamp_ms":1787344607000,"timestamp_seconds":1787344607,"priority":1,"record_length":96,"hex_timestamp":"000001a0260a5718"} 
[2026-08-22 02: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-22 02: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-22 02: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-22 02: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-22 02: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-22 02: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-22 02:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560142336001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560142336001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:09:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560142336001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":160615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:09:56] local.INFO: GPS data processed {"connection_id":160615,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:09:56] local.INFO: Acknowledgment sent {"connection_id":160615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:10:28] local.INFO: TCP Data received {"connection_id":160615,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:10:28] local.INFO: Processing buffer {"connection_id":160615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:10:28] local.INFO: Packet analysis {"connection_id":160615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:10:28] local.INFO: Extracted packet for processing {"connection_id":160615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560142336001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:10: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-22 02:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787344607000,"timestamp_ms":1787344607000,"timestamp_seconds":1787344607,"priority":1,"record_length":96,"hex_timestamp":"000001a0260a5718"} 
[2026-08-22 02:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560142336001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560142336001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:10:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560142336001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":160615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:10:28] local.INFO: GPS data processed {"connection_id":160615,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:10:28] local.INFO: Acknowledgment sent {"connection_id":160615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:10:50] local.INFO: TCP Data received {"connection_id":160616,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:10:50] local.INFO: Processing buffer {"connection_id":160616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:10:50] local.INFO: IMEI packet received {"connection_id":160616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":160616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:10:55] local.INFO: TCP Data received {"connection_id":160616,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:10:55] local.INFO: Processing buffer {"connection_id":160616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:10:55] local.INFO: IMEI packet received {"connection_id":160616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":160616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:10:56] local.INFO: TCP Data received {"connection_id":160616,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:10:56] local.INFO: Processing buffer {"connection_id":160616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:10:56] local.INFO: Packet analysis {"connection_id":160616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:10:56] local.INFO: Extracted packet for processing {"connection_id":160616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560142336001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02: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-22 02:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787344607000,"timestamp_ms":1787344607000,"timestamp_seconds":1787344607,"priority":1,"record_length":96,"hex_timestamp":"000001a0260a5718"} 
[2026-08-22 02: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-22 02: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-22 02: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:10: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-22 02: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-22 02: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-22 02:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560142336001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560142336001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:10:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560142336001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":160616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:10:56] local.INFO: GPS data processed {"connection_id":160616,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:10:56] local.INFO: Acknowledgment sent {"connection_id":160616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:11:27] local.INFO: TCP Data received {"connection_id":160616,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:11:27] local.INFO: Processing buffer {"connection_id":160616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:11:27] local.INFO: Packet analysis {"connection_id":160616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:11:27] local.INFO: Extracted packet for processing {"connection_id":160616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560142336001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:11: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-22 02:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787344607000,"timestamp_ms":1787344607000,"timestamp_seconds":1787344607,"priority":1,"record_length":96,"hex_timestamp":"000001a0260a5718"} 
[2026-08-22 02:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560142336001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560142336001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:11:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560142336001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":160616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:11:27] local.INFO: GPS data processed {"connection_id":160616,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:11:27] local.INFO: Acknowledgment sent {"connection_id":160616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:11:55] local.INFO: TCP Data received {"connection_id":160617,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:11:55] local.INFO: Processing buffer {"connection_id":160617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:11:55] local.INFO: IMEI packet received {"connection_id":160617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":160617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:12:00] local.INFO: TCP Data received {"connection_id":160617,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:12:00] local.INFO: Processing buffer {"connection_id":160617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:12:00] local.INFO: IMEI packet received {"connection_id":160617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":160617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:12:01] local.INFO: TCP Data received {"connection_id":160617,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:12:01] local.INFO: Processing buffer {"connection_id":160617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:12:01] local.INFO: Packet analysis {"connection_id":160617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:12:01] local.INFO: Extracted packet for processing {"connection_id":160617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:12:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560142336001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:12: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-22 02:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787344607000,"timestamp_ms":1787344607000,"timestamp_seconds":1787344607,"priority":1,"record_length":96,"hex_timestamp":"000001a0260a5718"} 
[2026-08-22 02: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-22 02:12: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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:12: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-22 02: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-22 02: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-22 02:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560142336001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560142336001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:12:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560142336001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":160617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:12:01] local.INFO: GPS data processed {"connection_id":160617,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:12:01] local.INFO: Acknowledgment sent {"connection_id":160617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:12:07] local.INFO: TCP Data received {"connection_id":160617,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:12:07] local.INFO: Processing buffer {"connection_id":160617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260a5718012d7f8ac005afe2d0000300fa22..."} 
[2026-08-22 02:12:07] local.INFO: Packet analysis {"connection_id":160617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:12:07] local.INFO: Extracted packet for processing {"connection_id":160617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260a"} 
[2026-08-22 02:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560142336001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:12:07] 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-22 02:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787344607000,"timestamp_ms":1787344607000,"timestamp_seconds":1787344607,"priority":1,"record_length":96,"hex_timestamp":"000001a0260a5718"} 
[2026-08-22 02:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:12: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-22 02:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560142336001,"66":25712,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560142336001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:12:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560142336001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":160617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:12:07] local.INFO: GPS data processed {"connection_id":160617,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:12:07] local.INFO: Acknowledgment sent {"connection_id":160617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:12:50] local.INFO: TCP Data received {"connection_id":162020,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:12:50] local.INFO: Processing buffer {"connection_id":162020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:12:50] local.INFO: IMEI packet received {"connection_id":162020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":162020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:12:55] local.INFO: TCP Data received {"connection_id":162020,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:12:55] local.INFO: Processing buffer {"connection_id":162020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:12:55] local.INFO: IMEI packet received {"connection_id":162020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":162020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:12:56] local.INFO: TCP Data received {"connection_id":162020,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:12:56] local.INFO: Processing buffer {"connection_id":162020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:12:56] local.INFO: Packet analysis {"connection_id":162020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:12:56] local.INFO: Extracted packet for processing {"connection_id":162020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:12:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560219392001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:12: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-22 02:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787344908000,"timestamp_ms":1787344908000,"timestamp_seconds":1787344908,"priority":1,"record_length":96,"hex_timestamp":"000001a0260eeee0"} 
[2026-08-22 02: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-22 02:12: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-22 02:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:12: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-22 02: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-22 02: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-22 02:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560219392001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560219392001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:12:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560219392001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":162020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:12:56] local.INFO: GPS data processed {"connection_id":162020,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:12:56] local.INFO: Acknowledgment sent {"connection_id":162020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:13:27] local.INFO: TCP Data received {"connection_id":162020,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:13:27] local.INFO: Processing buffer {"connection_id":162020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:13:27] local.INFO: Packet analysis {"connection_id":162020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:13:27] local.INFO: Extracted packet for processing {"connection_id":162020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560219392001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:13: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-22 02:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787344908000,"timestamp_ms":1787344908000,"timestamp_seconds":1787344908,"priority":1,"record_length":96,"hex_timestamp":"000001a0260eeee0"} 
[2026-08-22 02:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:13: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-22 02:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:13: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-22 02:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560219392001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560219392001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:13:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:13:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560219392001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":162020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:13:27] local.INFO: GPS data processed {"connection_id":162020,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:13:27] local.INFO: Acknowledgment sent {"connection_id":162020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:13:50] local.INFO: TCP Data received {"connection_id":159700,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:13:50] local.INFO: Processing buffer {"connection_id":159700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:13:50] local.INFO: IMEI packet received {"connection_id":159700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":159700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:13:55] local.INFO: TCP Data received {"connection_id":159700,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:13:55] local.INFO: Processing buffer {"connection_id":159700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:13:55] local.INFO: IMEI packet received {"connection_id":159700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":159700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:13:56] local.INFO: TCP Data received {"connection_id":159700,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:13:56] local.INFO: Processing buffer {"connection_id":159700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:13:56] local.INFO: Packet analysis {"connection_id":159700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:13:56] local.INFO: Extracted packet for processing {"connection_id":159700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:13:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560219392001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02: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-22 02:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787344908000,"timestamp_ms":1787344908000,"timestamp_seconds":1787344908,"priority":1,"record_length":96,"hex_timestamp":"000001a0260eeee0"} 
[2026-08-22 02: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-22 02:13: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-22 02: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":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:13: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-22 02: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-22 02: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-22 02:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560219392001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560219392001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:13:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:13:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560219392001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":159700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:13:56] local.INFO: GPS data processed {"connection_id":159700,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:13:56] local.INFO: Acknowledgment sent {"connection_id":159700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:14:27] local.INFO: TCP Data received {"connection_id":159700,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:14:27] local.INFO: Processing buffer {"connection_id":159700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:14:27] local.INFO: Packet analysis {"connection_id":159700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:14:27] local.INFO: Extracted packet for processing {"connection_id":159700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560219392001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:14: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-22 02:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787344908000,"timestamp_ms":1787344908000,"timestamp_seconds":1787344908,"priority":1,"record_length":96,"hex_timestamp":"000001a0260eeee0"} 
[2026-08-22 02: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-22 02:14: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-22 02: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:14: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-22 02: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-22 02: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-22 02:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560219392001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560219392001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:14:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560219392001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":159700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:14:27] local.INFO: GPS data processed {"connection_id":159700,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:14:27] local.INFO: Acknowledgment sent {"connection_id":159700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:14:50] local.INFO: TCP Data received {"connection_id":159429,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:14:50] local.INFO: Processing buffer {"connection_id":159429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:14:50] local.INFO: IMEI packet received {"connection_id":159429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":159429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:14:55] local.INFO: TCP Data received {"connection_id":159429,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:14:55] local.INFO: Processing buffer {"connection_id":159429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:14:55] local.INFO: IMEI packet received {"connection_id":159429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":159429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:14:56] local.INFO: TCP Data received {"connection_id":159429,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:14:56] local.INFO: Processing buffer {"connection_id":159429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:14:56] local.INFO: Packet analysis {"connection_id":159429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:14:56] local.INFO: Extracted packet for processing {"connection_id":159429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560219392001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02: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-22 02:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787344908000,"timestamp_ms":1787344908000,"timestamp_seconds":1787344908,"priority":1,"record_length":96,"hex_timestamp":"000001a0260eeee0"} 
[2026-08-22 02: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-22 02:14: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-22 02: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":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:14: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-22 02: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-22 02: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-22 02:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560219392001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560219392001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:14:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560219392001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":159429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:14:56] local.INFO: GPS data processed {"connection_id":159429,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:14:56] local.INFO: Acknowledgment sent {"connection_id":159429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:15:27] local.INFO: TCP Data received {"connection_id":159429,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:15:27] local.INFO: Processing buffer {"connection_id":159429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:15:27] local.INFO: Packet analysis {"connection_id":159429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:15:27] local.INFO: Extracted packet for processing {"connection_id":159429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560219392001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:15: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-22 02:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787344908000,"timestamp_ms":1787344908000,"timestamp_seconds":1787344908,"priority":1,"record_length":96,"hex_timestamp":"000001a0260eeee0"} 
[2026-08-22 02:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:15: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-22 02:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:15: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-22 02:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560219392001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560219392001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:15:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560219392001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":159429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:15:27] local.INFO: GPS data processed {"connection_id":159429,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:15:27] local.INFO: Acknowledgment sent {"connection_id":159429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:15:50] local.INFO: TCP Data received {"connection_id":159701,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:15:50] local.INFO: Processing buffer {"connection_id":159701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:15:50] local.INFO: IMEI packet received {"connection_id":159701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":159701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:15:55] local.INFO: TCP Data received {"connection_id":159701,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:15:55] local.INFO: Processing buffer {"connection_id":159701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:15:55] local.INFO: IMEI packet received {"connection_id":159701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":159701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:15:56] local.INFO: TCP Data received {"connection_id":159701,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:15:56] local.INFO: Processing buffer {"connection_id":159701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:15:56] local.INFO: Packet analysis {"connection_id":159701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:15:56] local.INFO: Extracted packet for processing {"connection_id":159701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560219392001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:15: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-22 02:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787344908000,"timestamp_ms":1787344908000,"timestamp_seconds":1787344908,"priority":1,"record_length":96,"hex_timestamp":"000001a0260eeee0"} 
[2026-08-22 02: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-22 02:15: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-22 02: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":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:15: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-22 02: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-22 02: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-22 02:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560219392001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560219392001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:15:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560219392001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":159701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:15:56] local.INFO: GPS data processed {"connection_id":159701,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:15:56] local.INFO: Acknowledgment sent {"connection_id":159701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:16:27] local.INFO: TCP Data received {"connection_id":159701,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:16:27] local.INFO: Processing buffer {"connection_id":159701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:16:27] local.INFO: Packet analysis {"connection_id":159701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:16:27] local.INFO: Extracted packet for processing {"connection_id":159701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560219392001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:16: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-22 02:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787344908000,"timestamp_ms":1787344908000,"timestamp_seconds":1787344908,"priority":1,"record_length":96,"hex_timestamp":"000001a0260eeee0"} 
[2026-08-22 02: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-22 02:16: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-22 02: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:16: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-22 02: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-22 02: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-22 02:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560219392001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560219392001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:16:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560219392001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":159701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:16:27] local.INFO: GPS data processed {"connection_id":159701,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:16:27] local.INFO: Acknowledgment sent {"connection_id":159701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:16:55] local.INFO: TCP Data received {"connection_id":160618,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:16:55] local.INFO: Processing buffer {"connection_id":160618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:16:55] local.INFO: IMEI packet received {"connection_id":160618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":160618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:17:00] local.INFO: TCP Data received {"connection_id":160618,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:17:00] local.INFO: Processing buffer {"connection_id":160618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:17:00] local.INFO: IMEI packet received {"connection_id":160618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":160618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:17:01] local.INFO: TCP Data received {"connection_id":160618,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:17:01] local.INFO: Processing buffer {"connection_id":160618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:17:01] local.INFO: Packet analysis {"connection_id":160618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:17:01] local.INFO: Extracted packet for processing {"connection_id":160618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560219392001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:17: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-22 02:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787344908000,"timestamp_ms":1787344908000,"timestamp_seconds":1787344908,"priority":1,"record_length":96,"hex_timestamp":"000001a0260eeee0"} 
[2026-08-22 02: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-22 02:17: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-22 02: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:17: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-22 02: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-22 02: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-22 02:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560219392001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560219392001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:17:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560219392001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":160618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:17:01] local.INFO: GPS data processed {"connection_id":160618,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:17:01] local.INFO: Acknowledgment sent {"connection_id":160618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:17:06] local.INFO: TCP Data received {"connection_id":160618,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:17:06] local.INFO: Processing buffer {"connection_id":160618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0260eeee0012d7f8ac005afe2d0000300fa20..."} 
[2026-08-22 02:17:06] local.INFO: Packet analysis {"connection_id":160618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:17:06] local.INFO: Extracted packet for processing {"connection_id":160618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0260e"} 
[2026-08-22 02:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":3,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560219392001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:17:06] 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-22 02:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787344908000,"timestamp_ms":1787344908000,"timestamp_seconds":1787344908,"priority":1,"record_length":96,"hex_timestamp":"000001a0260eeee0"} 
[2026-08-22 02:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:17:06] 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-22 02:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-22 02:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 02:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560219392001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560219392001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:17:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560219392001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":160618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:17:06] local.INFO: GPS data processed {"connection_id":160618,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:17:06] local.INFO: Acknowledgment sent {"connection_id":160618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:17:50] local.INFO: TCP Data received {"connection_id":162021,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:17:50] local.INFO: Processing buffer {"connection_id":162021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:17:50] local.INFO: IMEI packet received {"connection_id":162021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":162021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:17:55] local.INFO: TCP Data received {"connection_id":162021,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:17:55] local.INFO: Processing buffer {"connection_id":162021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:17:55] local.INFO: IMEI packet received {"connection_id":162021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":162021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:17:56] local.INFO: TCP Data received {"connection_id":162021,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:17:56] local.INFO: Processing buffer {"connection_id":162021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:17:56] local.INFO: Packet analysis {"connection_id":162021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:17:56] local.INFO: Extracted packet for processing {"connection_id":162021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560296448001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:17: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-22 02:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787345209000,"timestamp_ms":1787345209000,"timestamp_seconds":1787345209,"priority":1,"record_length":96,"hex_timestamp":"000001a0261386a8"} 
[2026-08-22 02: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-22 02: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-22 02: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:17: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-22 02: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-22 02: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-22 02:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560296448001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560296448001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:17:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560296448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":162021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:17:56] local.INFO: GPS data processed {"connection_id":162021,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:17:56] local.INFO: Acknowledgment sent {"connection_id":162021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:18:27] local.INFO: TCP Data received {"connection_id":162021,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:18:27] local.INFO: Processing buffer {"connection_id":162021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:18:27] local.INFO: Packet analysis {"connection_id":162021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:18:27] local.INFO: Extracted packet for processing {"connection_id":162021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560296448001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:18: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-22 02:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787345209000,"timestamp_ms":1787345209000,"timestamp_seconds":1787345209,"priority":1,"record_length":96,"hex_timestamp":"000001a0261386a8"} 
[2026-08-22 02: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-22 02:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560296448001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560296448001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:18:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560296448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":162021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:18:27] local.INFO: GPS data processed {"connection_id":162021,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:18:27] local.INFO: Acknowledgment sent {"connection_id":162021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:18:50] local.INFO: TCP Data received {"connection_id":159430,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:18:50] local.INFO: Processing buffer {"connection_id":159430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:18:50] local.INFO: IMEI packet received {"connection_id":159430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":159430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:18:55] local.INFO: TCP Data received {"connection_id":159430,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:18:55] local.INFO: Processing buffer {"connection_id":159430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:18:55] local.INFO: IMEI packet received {"connection_id":159430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":159430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:18:56] local.INFO: TCP Data received {"connection_id":159430,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:18:56] local.INFO: Processing buffer {"connection_id":159430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:18:56] local.INFO: Packet analysis {"connection_id":159430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:18:56] local.INFO: Extracted packet for processing {"connection_id":159430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560296448001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02: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-22 02:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787345209000,"timestamp_ms":1787345209000,"timestamp_seconds":1787345209,"priority":1,"record_length":96,"hex_timestamp":"000001a0261386a8"} 
[2026-08-22 02: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-22 02:18: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-22 02:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:18: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-22 02: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-22 02: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-22 02:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560296448001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560296448001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:18:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560296448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":159430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:18:56] local.INFO: GPS data processed {"connection_id":159430,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:18:56] local.INFO: Acknowledgment sent {"connection_id":159430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:19:27] local.INFO: TCP Data received {"connection_id":159430,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:19:27] local.INFO: Processing buffer {"connection_id":159430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:19:27] local.INFO: Packet analysis {"connection_id":159430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:19:27] local.INFO: Extracted packet for processing {"connection_id":159430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560296448001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:19: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-22 02:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787345209000,"timestamp_ms":1787345209000,"timestamp_seconds":1787345209,"priority":1,"record_length":96,"hex_timestamp":"000001a0261386a8"} 
[2026-08-22 02: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-22 02:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560296448001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560296448001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:19:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560296448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":159430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:19:27] local.INFO: GPS data processed {"connection_id":159430,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:19:27] local.INFO: Acknowledgment sent {"connection_id":159430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:19:50] local.INFO: TCP Data received {"connection_id":159431,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:19:50] local.INFO: Processing buffer {"connection_id":159431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:19:50] local.INFO: IMEI packet received {"connection_id":159431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":159431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:19:55] local.INFO: TCP Data received {"connection_id":159431,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:19:55] local.INFO: Processing buffer {"connection_id":159431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:19:55] local.INFO: IMEI packet received {"connection_id":159431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":159431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:19:56] local.INFO: TCP Data received {"connection_id":159431,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:19:56] local.INFO: Processing buffer {"connection_id":159431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:19:56] local.INFO: Packet analysis {"connection_id":159431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:19:56] local.INFO: Extracted packet for processing {"connection_id":159431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560296448001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02: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-22 02:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787345209000,"timestamp_ms":1787345209000,"timestamp_seconds":1787345209,"priority":1,"record_length":96,"hex_timestamp":"000001a0261386a8"} 
[2026-08-22 02: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-22 02:19: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-22 02: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:19: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-22 02: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-22 02: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-22 02:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560296448001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560296448001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:19:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560296448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":159431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:19:56] local.INFO: GPS data processed {"connection_id":159431,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:19:56] local.INFO: Acknowledgment sent {"connection_id":159431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:20:27] local.INFO: TCP Data received {"connection_id":159431,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:20:27] local.INFO: Processing buffer {"connection_id":159431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:20:27] local.INFO: Packet analysis {"connection_id":159431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:20:27] local.INFO: Extracted packet for processing {"connection_id":159431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560296448001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:20: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-22 02:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787345209000,"timestamp_ms":1787345209000,"timestamp_seconds":1787345209,"priority":1,"record_length":96,"hex_timestamp":"000001a0261386a8"} 
[2026-08-22 02:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560296448001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560296448001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:20:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:20:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560296448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":159431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:20:27] local.INFO: GPS data processed {"connection_id":159431,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:20:27] local.INFO: Acknowledgment sent {"connection_id":159431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:20:50] local.INFO: TCP Data received {"connection_id":159432,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:20:50] local.INFO: Processing buffer {"connection_id":159432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:20:50] local.INFO: IMEI packet received {"connection_id":159432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":159432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:20:55] local.INFO: TCP Data received {"connection_id":159432,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:20:55] local.INFO: Processing buffer {"connection_id":159432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:20:55] local.INFO: IMEI packet received {"connection_id":159432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":159432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:20:56] local.INFO: TCP Data received {"connection_id":159432,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:20:56] local.INFO: Processing buffer {"connection_id":159432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:20:56] local.INFO: Packet analysis {"connection_id":159432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:20:56] local.INFO: Extracted packet for processing {"connection_id":159432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560296448001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02: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-22 02:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787345209000,"timestamp_ms":1787345209000,"timestamp_seconds":1787345209,"priority":1,"record_length":96,"hex_timestamp":"000001a0261386a8"} 
[2026-08-22 02: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-22 02:20: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-22 02:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:20: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-22 02: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-22 02: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-22 02:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560296448001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560296448001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:20:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560296448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":159432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:20:56] local.INFO: GPS data processed {"connection_id":159432,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:20:56] local.INFO: Acknowledgment sent {"connection_id":159432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:21:28] local.INFO: TCP Data received {"connection_id":159432,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:21:28] local.INFO: Processing buffer {"connection_id":159432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:21:28] local.INFO: Packet analysis {"connection_id":159432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:21:28] local.INFO: Extracted packet for processing {"connection_id":159432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:21:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560296448001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:21: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-22 02:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787345209000,"timestamp_ms":1787345209000,"timestamp_seconds":1787345209,"priority":1,"record_length":96,"hex_timestamp":"000001a0261386a8"} 
[2026-08-22 02: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-22 02:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560296448001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560296448001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:21:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:21:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560296448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":159432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:21:28] local.INFO: GPS data processed {"connection_id":159432,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:21:28] local.INFO: Acknowledgment sent {"connection_id":159432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:21:55] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:21:55] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:21:55] local.INFO: IMEI packet received {"connection_id":162022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":162022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:22:00] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:22:00] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:22:00] local.INFO: IMEI packet received {"connection_id":162022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":162022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:22:01] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:22:01] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:22:01] local.INFO: Packet analysis {"connection_id":162022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:22:01] local.INFO: Extracted packet for processing {"connection_id":162022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560296448001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:22: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-22 02:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787345209000,"timestamp_ms":1787345209000,"timestamp_seconds":1787345209,"priority":1,"record_length":96,"hex_timestamp":"000001a0261386a8"} 
[2026-08-22 02: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-22 02:22: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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:22: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-22 02: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-22 02: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-22 02:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560296448001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560296448001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:22:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560296448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":162022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:22:01] local.INFO: GPS data processed {"connection_id":162022,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:22:01] local.INFO: Acknowledgment sent {"connection_id":162022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:22:06] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:22:06] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261386a8012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:22:06] local.INFO: Packet analysis {"connection_id":162022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:22:06] local.INFO: Extracted packet for processing {"connection_id":162022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02613"} 
[2026-08-22 02:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560296448001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:22:06] 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-22 02:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787345209000,"timestamp_ms":1787345209000,"timestamp_seconds":1787345209,"priority":1,"record_length":96,"hex_timestamp":"000001a0261386a8"} 
[2026-08-22 02:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 02:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560296448001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560296448001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:22:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560296448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":162022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:22:06] local.INFO: GPS data processed {"connection_id":162022,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:22:06] local.INFO: Acknowledgment sent {"connection_id":162022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:22:50] local.INFO: TCP Data received {"connection_id":159433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:22:50] local.INFO: Processing buffer {"connection_id":159433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:22:50] local.INFO: IMEI packet received {"connection_id":159433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":159433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:22:55] local.INFO: TCP Data received {"connection_id":159433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:22:55] local.INFO: Processing buffer {"connection_id":159433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:22:55] local.INFO: IMEI packet received {"connection_id":159433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":159433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:22:56] local.INFO: TCP Data received {"connection_id":159433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:22:56] local.INFO: Processing buffer {"connection_id":159433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:22:56] local.INFO: Packet analysis {"connection_id":159433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:22:56] local.INFO: Extracted packet for processing {"connection_id":159433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:22:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560373504001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:22: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-22 02:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787345510000,"timestamp_ms":1787345510000,"timestamp_seconds":1787345510,"priority":1,"record_length":96,"hex_timestamp":"000001a026181e70"} 
[2026-08-22 02: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-22 02:22: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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:22: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-22 02: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-22 02: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-22 02:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560373504001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560373504001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:22:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:22:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560373504001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":159433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:22:56] local.INFO: GPS data processed {"connection_id":159433,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:22:56] local.INFO: Acknowledgment sent {"connection_id":159433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:23:28] local.INFO: TCP Data received {"connection_id":159433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:23:28] local.INFO: Processing buffer {"connection_id":159433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:23:28] local.INFO: Packet analysis {"connection_id":159433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:23:28] local.INFO: Extracted packet for processing {"connection_id":159433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:23:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560373504001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:23: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-22 02:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787345510000,"timestamp_ms":1787345510000,"timestamp_seconds":1787345510,"priority":1,"record_length":96,"hex_timestamp":"000001a026181e70"} 
[2026-08-22 02:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560373504001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560373504001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:23:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:23:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560373504001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":159433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:23:28] local.INFO: GPS data processed {"connection_id":159433,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:23:28] local.INFO: Acknowledgment sent {"connection_id":159433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:23:50] local.INFO: TCP Data received {"connection_id":160619,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:23:50] local.INFO: Processing buffer {"connection_id":160619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:23:50] local.INFO: IMEI packet received {"connection_id":160619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":160619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:23:55] local.INFO: TCP Data received {"connection_id":160619,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:23:55] local.INFO: Processing buffer {"connection_id":160619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:23:55] local.INFO: IMEI packet received {"connection_id":160619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":160619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:23:56] local.INFO: TCP Data received {"connection_id":160619,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:23:56] local.INFO: Processing buffer {"connection_id":160619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:23:56] local.INFO: Packet analysis {"connection_id":160619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:23:56] local.INFO: Extracted packet for processing {"connection_id":160619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560373504001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02: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-22 02:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787345510000,"timestamp_ms":1787345510000,"timestamp_seconds":1787345510,"priority":1,"record_length":96,"hex_timestamp":"000001a026181e70"} 
[2026-08-22 02: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-22 02:23: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-22 02: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:23: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-22 02: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-22 02: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-22 02:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560373504001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560373504001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:23:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560373504001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":160619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:23:56] local.INFO: GPS data processed {"connection_id":160619,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:23:56] local.INFO: Acknowledgment sent {"connection_id":160619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:24:28] local.INFO: TCP Data received {"connection_id":160619,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:24:28] local.INFO: Processing buffer {"connection_id":160619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:24:28] local.INFO: Packet analysis {"connection_id":160619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:24:28] local.INFO: Extracted packet for processing {"connection_id":160619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560373504001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:24: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-22 02:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787345510000,"timestamp_ms":1787345510000,"timestamp_seconds":1787345510,"priority":1,"record_length":96,"hex_timestamp":"000001a026181e70"} 
[2026-08-22 02:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560373504001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560373504001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:24:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560373504001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":160619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:24:28] local.INFO: GPS data processed {"connection_id":160619,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:24:28] local.INFO: Acknowledgment sent {"connection_id":160619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:24:50] local.INFO: TCP Data received {"connection_id":159702,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:24:50] local.INFO: Processing buffer {"connection_id":159702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:24:50] local.INFO: IMEI packet received {"connection_id":159702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":159702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:24:55] local.INFO: TCP Data received {"connection_id":159702,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:24:55] local.INFO: Processing buffer {"connection_id":159702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:24:55] local.INFO: IMEI packet received {"connection_id":159702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":159702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:24:56] local.INFO: TCP Data received {"connection_id":159702,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:24:56] local.INFO: Processing buffer {"connection_id":159702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:24:56] local.INFO: Packet analysis {"connection_id":159702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:24:56] local.INFO: Extracted packet for processing {"connection_id":159702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560373504001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02: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-22 02:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787345510000,"timestamp_ms":1787345510000,"timestamp_seconds":1787345510,"priority":1,"record_length":96,"hex_timestamp":"000001a026181e70"} 
[2026-08-22 02: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-22 02:24: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-22 02:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:24: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-22 02: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-22 02: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-22 02:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560373504001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560373504001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:24:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560373504001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":159702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:24:56] local.INFO: GPS data processed {"connection_id":159702,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:24:56] local.INFO: Acknowledgment sent {"connection_id":159702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:25:27] local.INFO: TCP Data received {"connection_id":159702,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:25:27] local.INFO: Processing buffer {"connection_id":159702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:25:27] local.INFO: Packet analysis {"connection_id":159702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:25:27] local.INFO: Extracted packet for processing {"connection_id":159702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560373504001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02: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-22 02:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787345510000,"timestamp_ms":1787345510000,"timestamp_seconds":1787345510,"priority":1,"record_length":96,"hex_timestamp":"000001a026181e70"} 
[2026-08-22 02: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-22 02:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560373504001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560373504001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:25:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560373504001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":159702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:25:27] local.INFO: GPS data processed {"connection_id":159702,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:25:27] local.INFO: Acknowledgment sent {"connection_id":159702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:25:50] local.INFO: TCP Data received {"connection_id":162023,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:25:50] local.INFO: Processing buffer {"connection_id":162023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:25:50] local.INFO: IMEI packet received {"connection_id":162023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":162023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:25:55] local.INFO: TCP Data received {"connection_id":162023,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:25:55] local.INFO: Processing buffer {"connection_id":162023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:25:55] local.INFO: IMEI packet received {"connection_id":162023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":162023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:25:56] local.INFO: TCP Data received {"connection_id":162023,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:25:56] local.INFO: Processing buffer {"connection_id":162023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:25:56] local.INFO: Packet analysis {"connection_id":162023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:25:56] local.INFO: Extracted packet for processing {"connection_id":162023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560373504001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:25: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-22 02:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787345510000,"timestamp_ms":1787345510000,"timestamp_seconds":1787345510,"priority":1,"record_length":96,"hex_timestamp":"000001a026181e70"} 
[2026-08-22 02: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-22 02:25: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-22 02: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:25: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-22 02: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-22 02: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-22 02:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560373504001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560373504001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:25:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560373504001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":162023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:25:56] local.INFO: GPS data processed {"connection_id":162023,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:25:56] local.INFO: Acknowledgment sent {"connection_id":162023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:26:27] local.INFO: TCP Data received {"connection_id":162023,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:26:27] local.INFO: Processing buffer {"connection_id":162023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:26:27] local.INFO: Packet analysis {"connection_id":162023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:26:27] local.INFO: Extracted packet for processing {"connection_id":162023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560373504001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:26: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-22 02:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787345510000,"timestamp_ms":1787345510000,"timestamp_seconds":1787345510,"priority":1,"record_length":96,"hex_timestamp":"000001a026181e70"} 
[2026-08-22 02:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560373504001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560373504001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:26:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560373504001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":162023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:26:27] local.INFO: GPS data processed {"connection_id":162023,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:26:27] local.INFO: Acknowledgment sent {"connection_id":162023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:26:55] local.INFO: TCP Data received {"connection_id":159703,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:26:55] local.INFO: Processing buffer {"connection_id":159703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:26:55] local.INFO: IMEI packet received {"connection_id":159703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":159703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:27:00] local.INFO: TCP Data received {"connection_id":159703,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:27:00] local.INFO: Processing buffer {"connection_id":159703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:27:00] local.INFO: IMEI packet received {"connection_id":159703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":159703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:27:01] local.INFO: TCP Data received {"connection_id":159703,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:27:01] local.INFO: Processing buffer {"connection_id":159703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:27:01] local.INFO: Packet analysis {"connection_id":159703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:27:01] local.INFO: Extracted packet for processing {"connection_id":159703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560373504001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:27: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-22 02:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787345510000,"timestamp_ms":1787345510000,"timestamp_seconds":1787345510,"priority":1,"record_length":96,"hex_timestamp":"000001a026181e70"} 
[2026-08-22 02: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-22 02:27: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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:27: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-22 02: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-22 02: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-22 02:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560373504001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560373504001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:27:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560373504001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":159703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:27:01] local.INFO: GPS data processed {"connection_id":159703,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:27:01] local.INFO: Acknowledgment sent {"connection_id":159703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:27:06] local.INFO: TCP Data received {"connection_id":159703,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:27:06] local.INFO: Processing buffer {"connection_id":159703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026181e70012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 02:27:06] local.INFO: Packet analysis {"connection_id":159703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:27:06] local.INFO: Extracted packet for processing {"connection_id":159703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02618"} 
[2026-08-22 02:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560373504001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:27:06] 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-22 02:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787345510000,"timestamp_ms":1787345510000,"timestamp_seconds":1787345510,"priority":1,"record_length":96,"hex_timestamp":"000001a026181e70"} 
[2026-08-22 02: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-22 02:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 02: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-22 02: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-22 02:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560373504001,"66":25702,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560373504001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:27:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560373504001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":159703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:27:06] local.INFO: GPS data processed {"connection_id":159703,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:27:06] local.INFO: Acknowledgment sent {"connection_id":159703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:27:50] local.INFO: TCP Data received {"connection_id":159704,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:27:50] local.INFO: Processing buffer {"connection_id":159704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:27:50] local.INFO: IMEI packet received {"connection_id":159704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":159704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:27:55] local.INFO: TCP Data received {"connection_id":159704,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:27:55] local.INFO: Processing buffer {"connection_id":159704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:27:55] local.INFO: IMEI packet received {"connection_id":159704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":159704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:27:56] local.INFO: TCP Data received {"connection_id":159704,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:27:56] local.INFO: Processing buffer {"connection_id":159704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:27:56] local.INFO: Packet analysis {"connection_id":159704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0261c"} 
[2026-08-22 02:27:56] local.INFO: Extracted packet for processing {"connection_id":159704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0261c"} 
[2026-08-22 02:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560450560001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02: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-22 02:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787345811000,"timestamp_ms":1787345811000,"timestamp_seconds":1787345811,"priority":1,"record_length":96,"hex_timestamp":"000001a0261cb638"} 
[2026-08-22 02: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-22 02:27: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-22 02: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:27: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-22 02: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-22 02: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-22 02:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560450560001,"66":25691,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560450560001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:27:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560450560001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":159704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:27:56] local.INFO: GPS data processed {"connection_id":159704,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:27:56] local.INFO: Acknowledgment sent {"connection_id":159704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:28:28] local.INFO: TCP Data received {"connection_id":159704,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:28:28] local.INFO: Processing buffer {"connection_id":159704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:28:28] local.INFO: Packet analysis {"connection_id":159704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0261c"} 
[2026-08-22 02:28:28] local.INFO: Extracted packet for processing {"connection_id":159704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0261c"} 
[2026-08-22 02:28:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560450560001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:28: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-22 02:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787345811000,"timestamp_ms":1787345811000,"timestamp_seconds":1787345811,"priority":1,"record_length":96,"hex_timestamp":"000001a0261cb638"} 
[2026-08-22 02: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-22 02:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560450560001,"66":25691,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560450560001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:28:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:28:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560450560001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":159704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:28:28] local.INFO: GPS data processed {"connection_id":159704,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:28:28] local.INFO: Acknowledgment sent {"connection_id":159704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:28:50] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:28:50] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:28:50] local.INFO: IMEI packet received {"connection_id":162024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":162024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:28:55] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:28:55] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:28:55] local.INFO: IMEI packet received {"connection_id":162024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":162024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:28:56] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:28:56] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:28:56] local.INFO: Packet analysis {"connection_id":162024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0261c"} 
[2026-08-22 02:28:56] local.INFO: Extracted packet for processing {"connection_id":162024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0261c"} 
[2026-08-22 02:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560450560001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:28: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-22 02:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787345811000,"timestamp_ms":1787345811000,"timestamp_seconds":1787345811,"priority":1,"record_length":96,"hex_timestamp":"000001a0261cb638"} 
[2026-08-22 02: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-22 02:28: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-22 02:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:28: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-22 02: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-22 02: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-22 02:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560450560001,"66":25691,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560450560001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:28:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560450560001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":162024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:28:56] local.INFO: GPS data processed {"connection_id":162024,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:28:56] local.INFO: Acknowledgment sent {"connection_id":162024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:29:27] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:29:27] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:29:27] local.INFO: Packet analysis {"connection_id":162024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0261c"} 
[2026-08-22 02:29:27] local.INFO: Extracted packet for processing {"connection_id":162024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0261c"} 
[2026-08-22 02:29:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560450560001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:29: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-22 02:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787345811000,"timestamp_ms":1787345811000,"timestamp_seconds":1787345811,"priority":1,"record_length":96,"hex_timestamp":"000001a0261cb638"} 
[2026-08-22 02: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-22 02:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560450560001,"66":25691,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560450560001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:29:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:29:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560450560001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":162024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:29:27] local.INFO: GPS data processed {"connection_id":162024,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:29:27] local.INFO: Acknowledgment sent {"connection_id":162024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:29:50] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:29:50] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:29:50] local.INFO: IMEI packet received {"connection_id":162025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":162025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:29:55] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:29:55] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:29:55] local.INFO: IMEI packet received {"connection_id":162025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":162025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:29:56] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:29:56] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:29:56] local.INFO: Packet analysis {"connection_id":162025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0261c"} 
[2026-08-22 02:29:56] local.INFO: Extracted packet for processing {"connection_id":162025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0261c"} 
[2026-08-22 02:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560450560001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:29: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-22 02:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787345811000,"timestamp_ms":1787345811000,"timestamp_seconds":1787345811,"priority":1,"record_length":96,"hex_timestamp":"000001a0261cb638"} 
[2026-08-22 02: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-22 02:29: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-22 02: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:29: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-22 02: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-22 02: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-22 02:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560450560001,"66":25691,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560450560001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:29:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560450560001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":162025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:29:56] local.INFO: GPS data processed {"connection_id":162025,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:29:56] local.INFO: Acknowledgment sent {"connection_id":162025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:30:27] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:30:27] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:30:27] local.INFO: Packet analysis {"connection_id":162025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0261c"} 
[2026-08-22 02:30:27] local.INFO: Extracted packet for processing {"connection_id":162025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0261c"} 
[2026-08-22 02:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560450560001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:30: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-22 02:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787345811000,"timestamp_ms":1787345811000,"timestamp_seconds":1787345811,"priority":1,"record_length":96,"hex_timestamp":"000001a0261cb638"} 
[2026-08-22 02: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-22 02:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560450560001,"66":25691,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560450560001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:30:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560450560001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":162025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:30:27] local.INFO: GPS data processed {"connection_id":162025,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:30:27] local.INFO: Acknowledgment sent {"connection_id":162025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:30:50] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:30:50] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:30:50] local.INFO: IMEI packet received {"connection_id":162026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":162026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:30:55] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:30:55] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:30:55] local.INFO: IMEI packet received {"connection_id":162026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":162026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:30:56] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:30:56] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:30:56] local.INFO: Packet analysis {"connection_id":162026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0261c"} 
[2026-08-22 02:30:56] local.INFO: Extracted packet for processing {"connection_id":162026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0261c"} 
[2026-08-22 02:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560450560001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:30: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-22 02:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787345811000,"timestamp_ms":1787345811000,"timestamp_seconds":1787345811,"priority":1,"record_length":96,"hex_timestamp":"000001a0261cb638"} 
[2026-08-22 02: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-22 02:30: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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:30: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-22 02: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-22 02: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-22 02:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560450560001,"66":25691,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560450560001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:30:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560450560001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":162026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:30:56] local.INFO: GPS data processed {"connection_id":162026,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:30:56] local.INFO: Acknowledgment sent {"connection_id":162026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:31:28] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:31:28] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0261cb638012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:31:28] local.INFO: Packet analysis {"connection_id":162026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0261c"} 
[2026-08-22 02:31:28] local.INFO: Extracted packet for processing {"connection_id":162026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0261c"} 
[2026-08-22 02:31:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560450560001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:31: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-22 02:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787345811000,"timestamp_ms":1787345811000,"timestamp_seconds":1787345811,"priority":1,"record_length":96,"hex_timestamp":"000001a0261cb638"} 
[2026-08-22 02: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-22 02:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560450560001,"66":25691,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 02:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560450560001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:31:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 02:31:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560450560001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":162026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:31:28] local.INFO: GPS data processed {"connection_id":162026,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:31:28] local.INFO: Acknowledgment sent {"connection_id":162026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:33:55] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:33:55] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:33:55] local.INFO: IMEI packet received {"connection_id":162027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":162027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:34:00] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:34:00] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:34:00] local.INFO: IMEI packet received {"connection_id":162027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":162027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:34:06] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:34:06] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:34:06] local.INFO: IMEI packet received {"connection_id":162027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":162027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:34:08] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:34:08] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:34:08] local.INFO: Packet analysis {"connection_id":162027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:34:08] local.INFO: Extracted packet for processing {"connection_id":162027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560527616001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:34:08] 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-22 02:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787346112000,"timestamp_ms":1787346112000,"timestamp_seconds":1787346112,"priority":1,"record_length":96,"hex_timestamp":"000001a026214e00"} 
[2026-08-22 02:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:34:08] 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-22 02:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-22 02:34: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-22 02:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560527616001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560527616001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:34:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560527616001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":162027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:34:08] local.INFO: GPS data processed {"connection_id":162027,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:34:08] local.INFO: Acknowledgment sent {"connection_id":162027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:34:12] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:34:12] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:34:12] local.INFO: Packet analysis {"connection_id":162027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:34:12] local.INFO: Extracted packet for processing {"connection_id":162027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:34:12] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560527616001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02: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-22 02:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787346112000,"timestamp_ms":1787346112000,"timestamp_seconds":1787346112,"priority":1,"record_length":96,"hex_timestamp":"000001a026214e00"} 
[2026-08-22 02: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-22 02:34:12] 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-22 02: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-22 02:34:12] 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-22 02: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-22 02: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-22 02:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560527616001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560527616001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:34:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560527616001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":162027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:34:12] local.INFO: GPS data processed {"connection_id":162027,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:34:12] local.INFO: Acknowledgment sent {"connection_id":162027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:34:50] local.INFO: TCP Data received {"connection_id":160620,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:34:50] local.INFO: Processing buffer {"connection_id":160620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:34:50] local.INFO: IMEI packet received {"connection_id":160620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":160620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:34:55] local.INFO: TCP Data received {"connection_id":160620,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:34:55] local.INFO: Processing buffer {"connection_id":160620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:34:55] local.INFO: IMEI packet received {"connection_id":160620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":160620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:34:56] local.INFO: TCP Data received {"connection_id":160620,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:34:56] local.INFO: Processing buffer {"connection_id":160620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:34:56] local.INFO: Packet analysis {"connection_id":160620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:34:56] local.INFO: Extracted packet for processing {"connection_id":160620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560527616001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:34: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-22 02:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787346112000,"timestamp_ms":1787346112000,"timestamp_seconds":1787346112,"priority":1,"record_length":96,"hex_timestamp":"000001a026214e00"} 
[2026-08-22 02: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-22 02:34: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-22 02: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-22 02:34: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-22 02: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-22 02: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-22 02:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560527616001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560527616001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:34:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560527616001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":160620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:34:56] local.INFO: GPS data processed {"connection_id":160620,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:34:56] local.INFO: Acknowledgment sent {"connection_id":160620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:35:28] local.INFO: TCP Data received {"connection_id":160620,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:35:28] local.INFO: Processing buffer {"connection_id":160620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:35:28] local.INFO: Packet analysis {"connection_id":160620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:35:28] local.INFO: Extracted packet for processing {"connection_id":160620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560527616001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:35: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-22 02:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787346112000,"timestamp_ms":1787346112000,"timestamp_seconds":1787346112,"priority":1,"record_length":96,"hex_timestamp":"000001a026214e00"} 
[2026-08-22 02: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-22 02:35:28] 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-22 02: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-22 02:35:28] 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-22 02: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-22 02: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-22 02:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560527616001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560527616001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:35:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560527616001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":160620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:35:28] local.INFO: GPS data processed {"connection_id":160620,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:35:28] local.INFO: Acknowledgment sent {"connection_id":160620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:35:55] local.INFO: TCP Data received {"connection_id":159705,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:35:55] local.INFO: Processing buffer {"connection_id":159705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:35:55] local.INFO: IMEI packet received {"connection_id":159705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":159705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:36:00] local.INFO: TCP Data received {"connection_id":159705,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:36:00] local.INFO: Processing buffer {"connection_id":159705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:36:00] local.INFO: IMEI packet received {"connection_id":159705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":159705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:36:02] local.INFO: TCP Data received {"connection_id":159705,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:36:02] local.INFO: Processing buffer {"connection_id":159705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:36:02] local.INFO: Packet analysis {"connection_id":159705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:36:02] local.INFO: Extracted packet for processing {"connection_id":159705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560527616001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:36:02] 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-22 02:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787346112000,"timestamp_ms":1787346112000,"timestamp_seconds":1787346112,"priority":1,"record_length":96,"hex_timestamp":"000001a026214e00"} 
[2026-08-22 02: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-22 02:36: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-22 02: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-22 02:36:02] 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-22 02: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-22 02: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-22 02:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560527616001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560527616001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:36:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560527616001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":159705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:36:02] local.INFO: GPS data processed {"connection_id":159705,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:36:02] local.INFO: Acknowledgment sent {"connection_id":159705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:36:06] local.INFO: TCP Data received {"connection_id":159705,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:36:06] local.INFO: Processing buffer {"connection_id":159705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:36:06] local.INFO: Packet analysis {"connection_id":159705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:36:06] local.INFO: Extracted packet for processing {"connection_id":159705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560527616001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:36:06] 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-22 02:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787346112000,"timestamp_ms":1787346112000,"timestamp_seconds":1787346112,"priority":1,"record_length":96,"hex_timestamp":"000001a026214e00"} 
[2026-08-22 02:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:36:06] 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-22 02:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-22 02:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 02:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560527616001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560527616001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:36:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560527616001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":159705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:36:06] local.INFO: GPS data processed {"connection_id":159705,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:36:06] local.INFO: Acknowledgment sent {"connection_id":159705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:36:55] local.INFO: TCP Data received {"connection_id":159706,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:36:55] local.INFO: Processing buffer {"connection_id":159706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:36:55] local.INFO: IMEI packet received {"connection_id":159706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":159706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:36:55] local.INFO: TCP Data received {"connection_id":159706,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:36:55] local.INFO: Processing buffer {"connection_id":159706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:36:55] local.INFO: IMEI packet received {"connection_id":159706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":159706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:36:56] local.INFO: TCP Data received {"connection_id":159706,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:36:56] local.INFO: Processing buffer {"connection_id":159706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:36:56] local.INFO: Packet analysis {"connection_id":159706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:36:56] local.INFO: Extracted packet for processing {"connection_id":159706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560527616001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02: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-22 02:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787346112000,"timestamp_ms":1787346112000,"timestamp_seconds":1787346112,"priority":1,"record_length":96,"hex_timestamp":"000001a026214e00"} 
[2026-08-22 02: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-22 02:36: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-22 02: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":91,"data_length":795,"current_offset":136} 
[2026-08-22 02:36: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-22 02: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-22 02: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-22 02:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560527616001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560527616001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:36:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560527616001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":159706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:36:56] local.INFO: GPS data processed {"connection_id":159706,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:36:56] local.INFO: Acknowledgment sent {"connection_id":159706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:37:01] local.INFO: TCP Data received {"connection_id":159706,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:37:01] local.INFO: Processing buffer {"connection_id":159706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:37:01] local.INFO: Packet analysis {"connection_id":159706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:37:01] local.INFO: Extracted packet for processing {"connection_id":159706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560527616001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:37:01] 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-22 02:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787346112000,"timestamp_ms":1787346112000,"timestamp_seconds":1787346112,"priority":1,"record_length":96,"hex_timestamp":"000001a026214e00"} 
[2026-08-22 02: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-22 02:37: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-22 02: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-22 02:37:01] 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-22 02: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-22 02: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-22 02:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560527616001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560527616001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:37:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560527616001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":159706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:37:01] local.INFO: GPS data processed {"connection_id":159706,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:37:01] local.INFO: Acknowledgment sent {"connection_id":159706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:37:32] local.INFO: TCP Data received {"connection_id":159706,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:37:32] local.INFO: Processing buffer {"connection_id":159706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:37:32] local.INFO: Packet analysis {"connection_id":159706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:37:32] local.INFO: Extracted packet for processing {"connection_id":159706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560527616001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:37: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-22 02:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787346112000,"timestamp_ms":1787346112000,"timestamp_seconds":1787346112,"priority":1,"record_length":96,"hex_timestamp":"000001a026214e00"} 
[2026-08-22 02: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-22 02:37: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-22 02: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":91,"data_length":795,"current_offset":136} 
[2026-08-22 02:37:32] 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-22 02: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-22 02: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-22 02:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560527616001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560527616001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:37:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:37:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560527616001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":159706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:37:32] local.INFO: GPS data processed {"connection_id":159706,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:37:32] local.INFO: Acknowledgment sent {"connection_id":159706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:37:51] local.INFO: TCP Data received {"connection_id":159434,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:37:51] local.INFO: Processing buffer {"connection_id":159434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:37:51] local.INFO: IMEI packet received {"connection_id":159434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":159434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:37:55] local.INFO: TCP Data received {"connection_id":159434,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:37:55] local.INFO: Processing buffer {"connection_id":159434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:37:55] local.INFO: IMEI packet received {"connection_id":159434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":159434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:37:56] local.INFO: TCP Data received {"connection_id":159434,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:37:56] local.INFO: Processing buffer {"connection_id":159434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:37:56] local.INFO: Packet analysis {"connection_id":159434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:37:56] local.INFO: Extracted packet for processing {"connection_id":159434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560527616001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:37: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-22 02:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787346112000,"timestamp_ms":1787346112000,"timestamp_seconds":1787346112,"priority":1,"record_length":96,"hex_timestamp":"000001a026214e00"} 
[2026-08-22 02: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-22 02:37: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-22 02: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":91,"data_length":795,"current_offset":136} 
[2026-08-22 02:37: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-22 02: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-22 02: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-22 02:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560527616001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560527616001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:37:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560527616001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":159434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:37:56] local.INFO: GPS data processed {"connection_id":159434,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:37:56] local.INFO: Acknowledgment sent {"connection_id":159434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:38:28] local.INFO: TCP Data received {"connection_id":159434,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:38:28] local.INFO: Processing buffer {"connection_id":159434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026214e00012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:38:28] local.INFO: Packet analysis {"connection_id":159434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:38:28] local.INFO: Extracted packet for processing {"connection_id":159434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02621"} 
[2026-08-22 02:38:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560527616001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:38: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-22 02:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787346112000,"timestamp_ms":1787346112000,"timestamp_seconds":1787346112,"priority":1,"record_length":96,"hex_timestamp":"000001a026214e00"} 
[2026-08-22 02:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:38:28] 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-22 02:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-22 02:38:28] 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-22 02:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560527616001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560527616001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:38:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560527616001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":159434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:38:28] local.INFO: GPS data processed {"connection_id":159434,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:38:28] local.INFO: Acknowledgment sent {"connection_id":159434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:38:52] local.INFO: TCP Data received {"connection_id":159707,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:38:52] local.INFO: Processing buffer {"connection_id":159707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:38:52] local.INFO: IMEI packet received {"connection_id":159707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":159707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:38:55] local.INFO: TCP Data received {"connection_id":159707,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:38:55] local.INFO: Processing buffer {"connection_id":159707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:38:55] local.INFO: IMEI packet received {"connection_id":159707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":159707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:38:56] local.INFO: TCP Data received {"connection_id":159707,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:38:56] local.INFO: Processing buffer {"connection_id":159707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:38:56] local.INFO: Packet analysis {"connection_id":159707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:38:56] local.INFO: Extracted packet for processing {"connection_id":159707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560604672001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 02:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787346483000,"timestamp_ms":1787346483000,"timestamp_seconds":1787346483,"priority":1,"record_length":96,"hex_timestamp":"000001a02626f738"} 
[2026-08-22 02: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-22 02:38: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-22 02:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:38: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-22 02: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-22 02: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-22 02:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560604672001,"66":25680,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 02:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560604672001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:38:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 02:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560604672001,"power":25680,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":159707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:38:56] local.INFO: GPS data processed {"connection_id":159707,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:38:56] local.INFO: Acknowledgment sent {"connection_id":159707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:39:27] local.INFO: TCP Data received {"connection_id":159707,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:39:27] local.INFO: Processing buffer {"connection_id":159707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:39:27] local.INFO: Packet analysis {"connection_id":159707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:39:27] local.INFO: Extracted packet for processing {"connection_id":159707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560604672001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 02:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787346483000,"timestamp_ms":1787346483000,"timestamp_seconds":1787346483,"priority":1,"record_length":96,"hex_timestamp":"000001a02626f738"} 
[2026-08-22 02: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-22 02:39: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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560604672001,"66":25680,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 02:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560604672001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:39:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 02:39:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560604672001,"power":25680,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":159707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:39:27] local.INFO: GPS data processed {"connection_id":159707,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:39:27] local.INFO: Acknowledgment sent {"connection_id":159707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:39:50] local.INFO: TCP Data received {"connection_id":159435,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:39:50] local.INFO: Processing buffer {"connection_id":159435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:39:50] local.INFO: IMEI packet received {"connection_id":159435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":159435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:39:55] local.INFO: TCP Data received {"connection_id":159435,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:39:55] local.INFO: Processing buffer {"connection_id":159435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:39:55] local.INFO: IMEI packet received {"connection_id":159435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":159435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:39:56] local.INFO: TCP Data received {"connection_id":159435,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:39:56] local.INFO: Processing buffer {"connection_id":159435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:39:56] local.INFO: Packet analysis {"connection_id":159435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:39:56] local.INFO: Extracted packet for processing {"connection_id":159435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560604672001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 02:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787346483000,"timestamp_ms":1787346483000,"timestamp_seconds":1787346483,"priority":1,"record_length":96,"hex_timestamp":"000001a02626f738"} 
[2026-08-22 02: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-22 02:39: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-22 02: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:39: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-22 02: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-22 02: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-22 02:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560604672001,"66":25680,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 02:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560604672001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:39:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 02:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560604672001,"power":25680,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":159435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:39:56] local.INFO: GPS data processed {"connection_id":159435,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:39:56] local.INFO: Acknowledgment sent {"connection_id":159435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:40:27] local.INFO: TCP Data received {"connection_id":159435,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:40:27] local.INFO: Processing buffer {"connection_id":159435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:40:27] local.INFO: Packet analysis {"connection_id":159435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:40:27] local.INFO: Extracted packet for processing {"connection_id":159435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560604672001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 02:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787346483000,"timestamp_ms":1787346483000,"timestamp_seconds":1787346483,"priority":1,"record_length":96,"hex_timestamp":"000001a02626f738"} 
[2026-08-22 02: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-22 02:40: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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560604672001,"66":25680,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 02:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560604672001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:40:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 02:40:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560604672001,"power":25680,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":159435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:40:27] local.INFO: GPS data processed {"connection_id":159435,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:40:27] local.INFO: Acknowledgment sent {"connection_id":159435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:40:55] local.INFO: TCP Data received {"connection_id":159436,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:40:55] local.INFO: Processing buffer {"connection_id":159436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:40:55] local.INFO: IMEI packet received {"connection_id":159436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":159436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:41:00] local.INFO: TCP Data received {"connection_id":159436,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:41:00] local.INFO: Processing buffer {"connection_id":159436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:41:00] local.INFO: IMEI packet received {"connection_id":159436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":159436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:41:02] local.INFO: TCP Data received {"connection_id":159436,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:41:02] local.INFO: Processing buffer {"connection_id":159436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:41:02] local.INFO: Packet analysis {"connection_id":159436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:41:02] local.INFO: Extracted packet for processing {"connection_id":159436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 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-22 02:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560604672001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 02:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787346483000,"timestamp_ms":1787346483000,"timestamp_seconds":1787346483,"priority":1,"record_length":96,"hex_timestamp":"000001a02626f738"} 
[2026-08-22 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-22 02:41: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-22 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:41: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-22 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-22 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-22 02:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560604672001,"66":25680,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 02:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560604672001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:41:02] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 02:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560604672001,"power":25680,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":159436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:41:02] local.INFO: GPS data processed {"connection_id":159436,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:41:02] local.INFO: Acknowledgment sent {"connection_id":159436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:41:06] local.INFO: TCP Data received {"connection_id":159436,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:41:06] local.INFO: Processing buffer {"connection_id":159436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:41:06] local.INFO: Packet analysis {"connection_id":159436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:41:06] local.INFO: Extracted packet for processing {"connection_id":159436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560604672001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 02:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787346483000,"timestamp_ms":1787346483000,"timestamp_seconds":1787346483,"priority":1,"record_length":96,"hex_timestamp":"000001a02626f738"} 
[2026-08-22 02: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-22 02:41:06] 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-22 02:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 02: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-22 02: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-22 02:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560604672001,"66":25680,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 02:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560604672001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:41:06] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 02:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560604672001,"power":25680,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":159436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:41:06] local.INFO: GPS data processed {"connection_id":159436,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:41:06] local.INFO: Acknowledgment sent {"connection_id":159436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:41:55] local.INFO: TCP Data received {"connection_id":159708,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:41:55] local.INFO: Processing buffer {"connection_id":159708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:41:55] local.INFO: IMEI packet received {"connection_id":159708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":159708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:42:00] local.INFO: TCP Data received {"connection_id":159708,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:42:00] local.INFO: Processing buffer {"connection_id":159708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:42:00] local.INFO: IMEI packet received {"connection_id":159708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":159708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:42:01] local.INFO: TCP Data received {"connection_id":159708,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:42:01] local.INFO: Processing buffer {"connection_id":159708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:42:01] local.INFO: Packet analysis {"connection_id":159708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:42:01] local.INFO: Extracted packet for processing {"connection_id":159708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560604672001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 02:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787346483000,"timestamp_ms":1787346483000,"timestamp_seconds":1787346483,"priority":1,"record_length":96,"hex_timestamp":"000001a02626f738"} 
[2026-08-22 02:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:42: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-22 02:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:42: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-22 02:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560604672001,"66":25680,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 02:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560604672001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:42:01] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 02:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560604672001,"power":25680,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":159708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:42:01] local.INFO: GPS data processed {"connection_id":159708,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:42:01] local.INFO: Acknowledgment sent {"connection_id":159708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:42:33] local.INFO: TCP Data received {"connection_id":159708,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:42:33] local.INFO: Processing buffer {"connection_id":159708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:42:33] local.INFO: Packet analysis {"connection_id":159708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:42:33] local.INFO: Extracted packet for processing {"connection_id":159708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:42: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-22 02:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560604672001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 02:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787346483000,"timestamp_ms":1787346483000,"timestamp_seconds":1787346483,"priority":1,"record_length":96,"hex_timestamp":"000001a02626f738"} 
[2026-08-22 02:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:42: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-22 02:42: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-22 02:42: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-22 02:42: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-22 02:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560604672001,"66":25680,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 02:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560604672001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:42:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 02:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560604672001,"power":25680,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":159708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:42:33] local.INFO: GPS data processed {"connection_id":159708,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:42:33] local.INFO: Acknowledgment sent {"connection_id":159708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:42:50] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:42:50] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:42:50] local.INFO: IMEI packet received {"connection_id":162028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":162028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:42:56] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:42:56] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:42:56] local.INFO: IMEI packet received {"connection_id":162028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":162028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:42:57] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:42:57] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:42:57] local.INFO: Packet analysis {"connection_id":162028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:42:57] local.INFO: Extracted packet for processing {"connection_id":162028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:42:57] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560604672001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 02:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787346483000,"timestamp_ms":1787346483000,"timestamp_seconds":1787346483,"priority":1,"record_length":96,"hex_timestamp":"000001a02626f738"} 
[2026-08-22 02: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-22 02:42:57] 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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560604672001,"66":25680,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 02:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560604672001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:42:57] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 02:42:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560604672001,"power":25680,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":162028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:42:57] local.INFO: GPS data processed {"connection_id":162028,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:42:57] local.INFO: Acknowledgment sent {"connection_id":162028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:43:28] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:43:28] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02626f738012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:43:28] local.INFO: Packet analysis {"connection_id":162028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:43:28] local.INFO: Extracted packet for processing {"connection_id":162028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02626"} 
[2026-08-22 02:43:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560604672001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 02:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787346483000,"timestamp_ms":1787346483000,"timestamp_seconds":1787346483,"priority":1,"record_length":96,"hex_timestamp":"000001a02626f738"} 
[2026-08-22 02: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-22 02:43:28] 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-22 02:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560604672001,"66":25680,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 02:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560604672001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:43:28] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 02:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560604672001,"power":25680,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":162028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:43:28] local.INFO: GPS data processed {"connection_id":162028,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:43:28] local.INFO: Acknowledgment sent {"connection_id":162028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:43:50] local.INFO: TCP Data received {"connection_id":159437,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:43:50] local.INFO: Processing buffer {"connection_id":159437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:43:50] local.INFO: IMEI packet received {"connection_id":159437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":159437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:43:55] local.INFO: TCP Data received {"connection_id":159437,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:43:55] local.INFO: Processing buffer {"connection_id":159437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:43:55] local.INFO: IMEI packet received {"connection_id":159437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":159437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:43:56] local.INFO: TCP Data received {"connection_id":159437,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:43:56] local.INFO: Processing buffer {"connection_id":159437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:43:56] local.INFO: Packet analysis {"connection_id":159437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:43:56] local.INFO: Extracted packet for processing {"connection_id":159437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560699648001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:43: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-22 02:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787346784000,"timestamp_ms":1787346784000,"timestamp_seconds":1787346784,"priority":1,"record_length":96,"hex_timestamp":"000001a0262b8f00"} 
[2026-08-22 02: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-22 02:43: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-22 02: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":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:43: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-22 02: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-22 02: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-22 02:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560699648001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560699648001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:43:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560699648001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":159437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:43:56] local.INFO: GPS data processed {"connection_id":159437,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:43:56] local.INFO: Acknowledgment sent {"connection_id":159437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:44:27] local.INFO: TCP Data received {"connection_id":159437,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:44:27] local.INFO: Processing buffer {"connection_id":159437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:44:27] local.INFO: Packet analysis {"connection_id":159437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:44:27] local.INFO: Extracted packet for processing {"connection_id":159437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560699648001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:44:27] 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-22 02:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787346784000,"timestamp_ms":1787346784000,"timestamp_seconds":1787346784,"priority":1,"record_length":96,"hex_timestamp":"000001a0262b8f00"} 
[2026-08-22 02: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-22 02:44: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-22 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 02: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-22 02: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-22 02:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560699648001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560699648001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:44:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560699648001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":159437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:44:27] local.INFO: GPS data processed {"connection_id":159437,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:44:27] local.INFO: Acknowledgment sent {"connection_id":159437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:44:57] local.INFO: TCP Data received {"connection_id":160621,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:44:57] local.INFO: Processing buffer {"connection_id":160621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:44:57] local.INFO: IMEI packet received {"connection_id":160621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":160621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:45:00] local.INFO: TCP Data received {"connection_id":160621,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:45:00] local.INFO: Processing buffer {"connection_id":160621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:45:00] local.INFO: IMEI packet received {"connection_id":160621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":160621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:45:01] local.INFO: TCP Data received {"connection_id":160621,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:45:01] local.INFO: Processing buffer {"connection_id":160621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:45:01] local.INFO: Packet analysis {"connection_id":160621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:45:01] local.INFO: Extracted packet for processing {"connection_id":160621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560699648001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:45:01] 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-22 02:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787346784000,"timestamp_ms":1787346784000,"timestamp_seconds":1787346784,"priority":1,"record_length":96,"hex_timestamp":"000001a0262b8f00"} 
[2026-08-22 02: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-22 02:45: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-22 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:45: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-22 02: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-22 02: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-22 02:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560699648001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560699648001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:45:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560699648001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":160621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:45:01] local.INFO: GPS data processed {"connection_id":160621,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:45:01] local.INFO: Acknowledgment sent {"connection_id":160621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:45:06] local.INFO: TCP Data received {"connection_id":160621,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:45:06] local.INFO: Processing buffer {"connection_id":160621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:45:06] local.INFO: Packet analysis {"connection_id":160621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:45:06] local.INFO: Extracted packet for processing {"connection_id":160621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560699648001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:45:06] 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-22 02:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787346784000,"timestamp_ms":1787346784000,"timestamp_seconds":1787346784,"priority":1,"record_length":96,"hex_timestamp":"000001a0262b8f00"} 
[2026-08-22 02: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-22 02:45:06] 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-22 02:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 02: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-22 02: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-22 02:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560699648001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560699648001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560699648001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":160621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:45:06] local.INFO: GPS data processed {"connection_id":160621,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:45:06] local.INFO: Acknowledgment sent {"connection_id":160621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:45:50] local.INFO: TCP Data received {"connection_id":160622,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:45:50] local.INFO: Processing buffer {"connection_id":160622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:45:50] local.INFO: IMEI packet received {"connection_id":160622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":160622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:45:55] local.INFO: TCP Data received {"connection_id":160622,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:45:55] local.INFO: Processing buffer {"connection_id":160622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:45:55] local.INFO: IMEI packet received {"connection_id":160622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":160622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:45:56] local.INFO: TCP Data received {"connection_id":160622,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:45:56] local.INFO: Processing buffer {"connection_id":160622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:45:56] local.INFO: Packet analysis {"connection_id":160622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:45:56] local.INFO: Extracted packet for processing {"connection_id":160622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560699648001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:45: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-22 02:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787346784000,"timestamp_ms":1787346784000,"timestamp_seconds":1787346784,"priority":1,"record_length":96,"hex_timestamp":"000001a0262b8f00"} 
[2026-08-22 02: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-22 02:45: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-22 02: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-22 02: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-22 02: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-22 02: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-22 02:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560699648001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560699648001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:45:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560699648001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":160622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:45:56] local.INFO: GPS data processed {"connection_id":160622,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:45:56] local.INFO: Acknowledgment sent {"connection_id":160622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:46:27] local.INFO: TCP Data received {"connection_id":160622,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:46:27] local.INFO: Processing buffer {"connection_id":160622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:46:27] local.INFO: Packet analysis {"connection_id":160622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:46:27] local.INFO: Extracted packet for processing {"connection_id":160622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560699648001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:46:27] 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-22 02:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787346784000,"timestamp_ms":1787346784000,"timestamp_seconds":1787346784,"priority":1,"record_length":96,"hex_timestamp":"000001a0262b8f00"} 
[2026-08-22 02: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-22 02:46: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-22 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 02: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-22 02: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-22 02:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560699648001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560699648001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:46:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560699648001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":160622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:46:27] local.INFO: GPS data processed {"connection_id":160622,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:46:27] local.INFO: Acknowledgment sent {"connection_id":160622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:46:50] local.INFO: TCP Data received {"connection_id":159438,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:46:50] local.INFO: Processing buffer {"connection_id":159438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:46:50] local.INFO: IMEI packet received {"connection_id":159438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":159438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:46:57] local.INFO: TCP Data received {"connection_id":159438,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:46:57] local.INFO: Processing buffer {"connection_id":159438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:46:57] local.INFO: IMEI packet received {"connection_id":159438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":159438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:46:58] local.INFO: TCP Data received {"connection_id":159438,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:46:58] local.INFO: Processing buffer {"connection_id":159438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:46:58] local.INFO: Packet analysis {"connection_id":159438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:46:58] local.INFO: Extracted packet for processing {"connection_id":159438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560699648001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:46:58] 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-22 02:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787346784000,"timestamp_ms":1787346784000,"timestamp_seconds":1787346784,"priority":1,"record_length":96,"hex_timestamp":"000001a0262b8f00"} 
[2026-08-22 02:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:46:58] 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-22 02:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:46:58] 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-22 02:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560699648001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560699648001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:46:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:46:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560699648001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":159438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:46:58] local.INFO: GPS data processed {"connection_id":159438,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:46:58] local.INFO: Acknowledgment sent {"connection_id":159438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:47:30] local.INFO: TCP Data received {"connection_id":159438,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:47:30] local.INFO: Processing buffer {"connection_id":159438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:47:30] local.INFO: Packet analysis {"connection_id":159438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:47:30] local.INFO: Extracted packet for processing {"connection_id":159438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:47:30] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560699648001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:47:30] 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-22 02:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787346784000,"timestamp_ms":1787346784000,"timestamp_seconds":1787346784,"priority":1,"record_length":96,"hex_timestamp":"000001a0262b8f00"} 
[2026-08-22 02: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-22 02:47: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-22 02: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-22 02: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-22 02: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-22 02: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-22 02:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560699648001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560699648001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:47:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:47:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560699648001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":159438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:47:30] local.INFO: GPS data processed {"connection_id":159438,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:47:30] local.INFO: Acknowledgment sent {"connection_id":159438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:47:50] local.INFO: TCP Data received {"connection_id":162029,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:47:50] local.INFO: Processing buffer {"connection_id":162029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:47:50] local.INFO: IMEI packet received {"connection_id":162029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":162029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:47:57] local.INFO: TCP Data received {"connection_id":162029,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:47:57] local.INFO: Processing buffer {"connection_id":162029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:47:57] local.INFO: IMEI packet received {"connection_id":162029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":162029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:47:57] local.INFO: TCP Data received {"connection_id":162029,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:47:57] local.INFO: Processing buffer {"connection_id":162029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:47:57] local.INFO: Packet analysis {"connection_id":162029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:47:57] local.INFO: Extracted packet for processing {"connection_id":162029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:47:57] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560699648001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:47: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-22 02:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787346784000,"timestamp_ms":1787346784000,"timestamp_seconds":1787346784,"priority":1,"record_length":96,"hex_timestamp":"000001a0262b8f00"} 
[2026-08-22 02: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-22 02:47:57] 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-22 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:47:57] 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-22 02: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-22 02: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-22 02:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560699648001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560699648001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:47:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:47:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560699648001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":162029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:47:58] local.INFO: GPS data processed {"connection_id":162029,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:47:58] local.INFO: Acknowledgment sent {"connection_id":162029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:48:29] local.INFO: TCP Data received {"connection_id":162029,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:48:29] local.INFO: Processing buffer {"connection_id":162029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0262b8f00012d7f8ac005afe2d0000000fa24..."} 
[2026-08-22 02:48:29] local.INFO: Packet analysis {"connection_id":162029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:48:29] local.INFO: Extracted packet for processing {"connection_id":162029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0262b"} 
[2026-08-22 02:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560699648001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:48: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-22 02:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787346784000,"timestamp_ms":1787346784000,"timestamp_seconds":1787346784,"priority":1,"record_length":96,"hex_timestamp":"000001a0262b8f00"} 
[2026-08-22 02: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-22 02:48: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-22 02: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":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:48: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-22 02: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-22 02: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-22 02:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560699648001,"66":25702,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560699648001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:48:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560699648001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":162029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:48:29] local.INFO: GPS data processed {"connection_id":162029,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:48:29] local.INFO: Acknowledgment sent {"connection_id":162029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:48:50] local.INFO: TCP Data received {"connection_id":159439,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:48:50] local.INFO: Processing buffer {"connection_id":159439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:48:50] local.INFO: IMEI packet received {"connection_id":159439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":159439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:48:55] local.INFO: TCP Data received {"connection_id":159439,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:48:55] local.INFO: Processing buffer {"connection_id":159439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:48:55] local.INFO: IMEI packet received {"connection_id":159439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":159439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:48:56] local.INFO: TCP Data received {"connection_id":159439,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:48:56] local.INFO: Processing buffer {"connection_id":159439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:48:56] local.INFO: Packet analysis {"connection_id":159439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:48:56] local.INFO: Extracted packet for processing {"connection_id":159439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560776704001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:48: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-22 02:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787347085000,"timestamp_ms":1787347085000,"timestamp_seconds":1787347085,"priority":1,"record_length":96,"hex_timestamp":"000001a0263026c8"} 
[2026-08-22 02: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-22 02:48: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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:48: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-22 02: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-22 02: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-22 02:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560776704001,"66":25680,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560776704001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:48:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560776704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":159439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:48:56] local.INFO: GPS data processed {"connection_id":159439,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:48:56] local.INFO: Acknowledgment sent {"connection_id":159439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:49:28] local.INFO: TCP Data received {"connection_id":159439,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:49:28] local.INFO: Processing buffer {"connection_id":159439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:49:28] local.INFO: Packet analysis {"connection_id":159439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:49:28] local.INFO: Extracted packet for processing {"connection_id":159439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560776704001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:49: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-22 02:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787347085000,"timestamp_ms":1787347085000,"timestamp_seconds":1787347085,"priority":1,"record_length":96,"hex_timestamp":"000001a0263026c8"} 
[2026-08-22 02:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:49:28] 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-22 02:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560776704001,"66":25680,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560776704001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:49:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560776704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":159439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:49:28] local.INFO: GPS data processed {"connection_id":159439,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:49:28] local.INFO: Acknowledgment sent {"connection_id":159439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:49:55] local.INFO: TCP Data received {"connection_id":159709,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:49:55] local.INFO: Processing buffer {"connection_id":159709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:49:55] local.INFO: IMEI packet received {"connection_id":159709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":159709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:50:00] local.INFO: TCP Data received {"connection_id":159709,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:50:00] local.INFO: Processing buffer {"connection_id":159709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:50:00] local.INFO: IMEI packet received {"connection_id":159709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":159709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:50:01] local.INFO: TCP Data received {"connection_id":159709,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:50:01] local.INFO: Processing buffer {"connection_id":159709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:50:01] local.INFO: Packet analysis {"connection_id":159709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:50:01] local.INFO: Extracted packet for processing {"connection_id":159709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560776704001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:50:01] 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-22 02:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787347085000,"timestamp_ms":1787347085000,"timestamp_seconds":1787347085,"priority":1,"record_length":96,"hex_timestamp":"000001a0263026c8"} 
[2026-08-22 02: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-22 02:50: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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:50: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-22 02: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-22 02: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-22 02:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560776704001,"66":25680,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560776704001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:50:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560776704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":159709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:50:01] local.INFO: GPS data processed {"connection_id":159709,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:50:01] local.INFO: Acknowledgment sent {"connection_id":159709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:50:06] local.INFO: TCP Data received {"connection_id":159709,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:50:06] local.INFO: Processing buffer {"connection_id":159709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:50:06] local.INFO: Packet analysis {"connection_id":159709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:50:06] local.INFO: Extracted packet for processing {"connection_id":159709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560776704001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:50:06] 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-22 02:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787347085000,"timestamp_ms":1787347085000,"timestamp_seconds":1787347085,"priority":1,"record_length":96,"hex_timestamp":"000001a0263026c8"} 
[2026-08-22 02:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:50:06] 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-22 02:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 02:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560776704001,"66":25680,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560776704001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:50:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560776704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":159709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:50:06] local.INFO: GPS data processed {"connection_id":159709,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:50:06] local.INFO: Acknowledgment sent {"connection_id":159709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:50:50] local.INFO: TCP Data received {"connection_id":160623,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:50:50] local.INFO: Processing buffer {"connection_id":160623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:50:50] local.INFO: IMEI packet received {"connection_id":160623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":160623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:50:55] local.INFO: TCP Data received {"connection_id":160623,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:50:55] local.INFO: Processing buffer {"connection_id":160623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:50:55] local.INFO: IMEI packet received {"connection_id":160623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":160623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:50:56] local.INFO: TCP Data received {"connection_id":160623,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:50:56] local.INFO: Processing buffer {"connection_id":160623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:50:56] local.INFO: Packet analysis {"connection_id":160623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:50:56] local.INFO: Extracted packet for processing {"connection_id":160623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560776704001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:50: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-22 02:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787347085000,"timestamp_ms":1787347085000,"timestamp_seconds":1787347085,"priority":1,"record_length":96,"hex_timestamp":"000001a0263026c8"} 
[2026-08-22 02: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-22 02:50: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-22 02: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:50: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-22 02: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-22 02: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-22 02:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560776704001,"66":25680,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560776704001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:50:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560776704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":160623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:50:56] local.INFO: GPS data processed {"connection_id":160623,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:50:56] local.INFO: Acknowledgment sent {"connection_id":160623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:51:27] local.INFO: TCP Data received {"connection_id":160623,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:51:27] local.INFO: Processing buffer {"connection_id":160623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:51:27] local.INFO: Packet analysis {"connection_id":160623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:51:27] local.INFO: Extracted packet for processing {"connection_id":160623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560776704001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:51:27] 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-22 02:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787347085000,"timestamp_ms":1787347085000,"timestamp_seconds":1787347085,"priority":1,"record_length":96,"hex_timestamp":"000001a0263026c8"} 
[2026-08-22 02: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-22 02:51: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-22 02:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560776704001,"66":25680,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560776704001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:51:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560776704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":160623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:51:27] local.INFO: GPS data processed {"connection_id":160623,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:51:27] local.INFO: Acknowledgment sent {"connection_id":160623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:51:50] local.INFO: TCP Data received {"connection_id":159440,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:51:50] local.INFO: Processing buffer {"connection_id":159440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:51:50] local.INFO: IMEI packet received {"connection_id":159440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":159440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:51:58] local.INFO: TCP Data received {"connection_id":159440,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:51:58] local.INFO: Processing buffer {"connection_id":159440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:51:58] local.INFO: IMEI packet received {"connection_id":159440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":159440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:51:59] local.INFO: TCP Data received {"connection_id":159440,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:51:59] local.INFO: Processing buffer {"connection_id":159440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:51:59] local.INFO: Packet analysis {"connection_id":159440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:51:59] local.INFO: Extracted packet for processing {"connection_id":159440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560776704001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:51:59] 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-22 02:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787347085000,"timestamp_ms":1787347085000,"timestamp_seconds":1787347085,"priority":1,"record_length":96,"hex_timestamp":"000001a0263026c8"} 
[2026-08-22 02: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-22 02:51: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-22 02: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-22 02: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-22 02: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-22 02: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-22 02:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560776704001,"66":25680,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560776704001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560776704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":159440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:51:59] local.INFO: GPS data processed {"connection_id":159440,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:51:59] local.INFO: Acknowledgment sent {"connection_id":159440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:52:30] local.INFO: TCP Data received {"connection_id":159440,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:52:30] local.INFO: Processing buffer {"connection_id":159440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:52:30] local.INFO: Packet analysis {"connection_id":159440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:52:30] local.INFO: Extracted packet for processing {"connection_id":159440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560776704001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:52:30] 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-22 02:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787347085000,"timestamp_ms":1787347085000,"timestamp_seconds":1787347085,"priority":1,"record_length":96,"hex_timestamp":"000001a0263026c8"} 
[2026-08-22 02: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-22 02:52: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-22 02: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-22 02: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-22 02: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-22 02: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-22 02:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560776704001,"66":25680,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560776704001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:52:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:52:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560776704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":159440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:52:30] local.INFO: GPS data processed {"connection_id":159440,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:52:30] local.INFO: Acknowledgment sent {"connection_id":159440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:52:51] local.INFO: TCP Data received {"connection_id":162030,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:52:51] local.INFO: Processing buffer {"connection_id":162030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:52:51] local.INFO: IMEI packet received {"connection_id":162030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":162030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:52:55] local.INFO: TCP Data received {"connection_id":162030,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:52:55] local.INFO: Processing buffer {"connection_id":162030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:52:55] local.INFO: IMEI packet received {"connection_id":162030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":162030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:52:56] local.INFO: TCP Data received {"connection_id":162030,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:52:56] local.INFO: Processing buffer {"connection_id":162030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:52:56] local.INFO: Packet analysis {"connection_id":162030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:52:56] local.INFO: Extracted packet for processing {"connection_id":162030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560776704001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:52: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-22 02:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787347085000,"timestamp_ms":1787347085000,"timestamp_seconds":1787347085,"priority":1,"record_length":96,"hex_timestamp":"000001a0263026c8"} 
[2026-08-22 02: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-22 02:52: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-22 02:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:52: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-22 02: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-22 02: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-22 02:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560776704001,"66":25680,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560776704001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:52:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560776704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":162030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:52:56] local.INFO: GPS data processed {"connection_id":162030,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:52:56] local.INFO: Acknowledgment sent {"connection_id":162030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:53:27] local.INFO: TCP Data received {"connection_id":162030,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:53:27] local.INFO: Processing buffer {"connection_id":162030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263026c8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 02:53:27] local.INFO: Packet analysis {"connection_id":162030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:53:27] local.INFO: Extracted packet for processing {"connection_id":162030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02630"} 
[2026-08-22 02:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560776704001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:53:27] 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-22 02:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787347085000,"timestamp_ms":1787347085000,"timestamp_seconds":1787347085,"priority":1,"record_length":96,"hex_timestamp":"000001a0263026c8"} 
[2026-08-22 02: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-22 02:53: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-22 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 02:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560776704001,"66":25680,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 02:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560776704001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:53:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 02:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560776704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":162030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:53:27] local.INFO: GPS data processed {"connection_id":162030,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:53:27] local.INFO: Acknowledgment sent {"connection_id":162030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:53:50] local.INFO: TCP Data received {"connection_id":159710,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:53:50] local.INFO: Processing buffer {"connection_id":159710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:53:50] local.INFO: IMEI packet received {"connection_id":159710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":159710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:53:55] local.INFO: TCP Data received {"connection_id":159710,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:53:55] local.INFO: Processing buffer {"connection_id":159710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:53:55] local.INFO: IMEI packet received {"connection_id":159710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":159710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:53:56] local.INFO: TCP Data received {"connection_id":159710,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:53:56] local.INFO: Processing buffer {"connection_id":159710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:53:56] local.INFO: Packet analysis {"connection_id":159710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:53:56] local.INFO: Extracted packet for processing {"connection_id":159710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560853760001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:53:56] 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-22 02:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787347386000,"timestamp_ms":1787347386000,"timestamp_seconds":1787347386,"priority":1,"record_length":96,"hex_timestamp":"000001a02634be90"} 
[2026-08-22 02: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-22 02: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-22 02: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":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:53: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-22 02: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-22 02: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-22 02:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560853760001,"66":25680,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 02:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560853760001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:53:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 02:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560853760001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":159710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:53:57] local.INFO: GPS data processed {"connection_id":159710,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:53:57] local.INFO: Acknowledgment sent {"connection_id":159710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:54:28] local.INFO: TCP Data received {"connection_id":159710,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:54:28] local.INFO: Processing buffer {"connection_id":159710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:54:28] local.INFO: Packet analysis {"connection_id":159710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:54:28] local.INFO: Extracted packet for processing {"connection_id":159710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:54:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560853760001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:54:28] 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-22 02:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787347386000,"timestamp_ms":1787347386000,"timestamp_seconds":1787347386,"priority":1,"record_length":96,"hex_timestamp":"000001a02634be90"} 
[2026-08-22 02:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:54:28] 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-22 02:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:54:28] 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-22 02:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560853760001,"66":25680,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 02:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560853760001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:54:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 02:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560853760001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":159710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:54:28] local.INFO: GPS data processed {"connection_id":159710,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:54:28] local.INFO: Acknowledgment sent {"connection_id":159710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:54:50] local.INFO: TCP Data received {"connection_id":159711,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:54:50] local.INFO: Processing buffer {"connection_id":159711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:54:50] local.INFO: IMEI packet received {"connection_id":159711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":159711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:54:55] local.INFO: TCP Data received {"connection_id":159711,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:54:55] local.INFO: Processing buffer {"connection_id":159711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:54:55] local.INFO: IMEI packet received {"connection_id":159711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":159711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:54:56] local.INFO: TCP Data received {"connection_id":159711,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:54:56] local.INFO: Processing buffer {"connection_id":159711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:54:56] local.INFO: Packet analysis {"connection_id":159711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:54:56] local.INFO: Extracted packet for processing {"connection_id":159711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560853760001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:54:56] 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-22 02:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787347386000,"timestamp_ms":1787347386000,"timestamp_seconds":1787347386,"priority":1,"record_length":96,"hex_timestamp":"000001a02634be90"} 
[2026-08-22 02: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-22 02:54: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-22 02:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:54: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-22 02: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-22 02: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-22 02:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560853760001,"66":25680,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 02:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560853760001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:54:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 02:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560853760001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":159711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:54:56] local.INFO: GPS data processed {"connection_id":159711,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:54:56] local.INFO: Acknowledgment sent {"connection_id":159711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:55:27] local.INFO: TCP Data received {"connection_id":159711,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:55:27] local.INFO: Processing buffer {"connection_id":159711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:55:27] local.INFO: Packet analysis {"connection_id":159711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:55:27] local.INFO: Extracted packet for processing {"connection_id":159711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 02:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560853760001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:55:27] 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-22 02:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787347386000,"timestamp_ms":1787347386000,"timestamp_seconds":1787347386,"priority":1,"record_length":96,"hex_timestamp":"000001a02634be90"} 
[2026-08-22 02:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 02:55: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-22 02:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 02:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 02:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 02:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560853760001,"66":25680,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 02:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560853760001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:55:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 02:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560853760001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":159711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:55:27] local.INFO: GPS data processed {"connection_id":159711,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:55:27] local.INFO: Acknowledgment sent {"connection_id":159711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:55:50] local.INFO: TCP Data received {"connection_id":160624,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:55:50] local.INFO: Processing buffer {"connection_id":160624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:55:50] local.INFO: IMEI packet received {"connection_id":160624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":160624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:55:55] local.INFO: TCP Data received {"connection_id":160624,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:55:55] local.INFO: Processing buffer {"connection_id":160624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:55:55] local.INFO: IMEI packet received {"connection_id":160624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":160624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:55:56] local.INFO: TCP Data received {"connection_id":160624,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:55:56] local.INFO: Processing buffer {"connection_id":160624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:55:56] local.INFO: Packet analysis {"connection_id":160624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:55:56] local.INFO: Extracted packet for processing {"connection_id":160624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560853760001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:55:56] 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-22 02:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787347386000,"timestamp_ms":1787347386000,"timestamp_seconds":1787347386,"priority":1,"record_length":96,"hex_timestamp":"000001a02634be90"} 
[2026-08-22 02: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-22 02:55: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-22 02: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-22 02: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-22 02: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-22 02: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-22 02:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560853760001,"66":25680,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 02:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560853760001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:55:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 02:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560853760001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":160624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:55:56] local.INFO: GPS data processed {"connection_id":160624,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:55:56] local.INFO: Acknowledgment sent {"connection_id":160624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:56:27] local.INFO: TCP Data received {"connection_id":160624,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:56:27] local.INFO: Processing buffer {"connection_id":160624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:56:27] local.INFO: Packet analysis {"connection_id":160624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:56:27] local.INFO: Extracted packet for processing {"connection_id":160624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560853760001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:56:27] 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-22 02:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787347386000,"timestamp_ms":1787347386000,"timestamp_seconds":1787347386,"priority":1,"record_length":96,"hex_timestamp":"000001a02634be90"} 
[2026-08-22 02: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-22 02:56: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-22 02:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 02: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-22 02: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-22 02:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560853760001,"66":25680,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 02:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560853760001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:56:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 02:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560853760001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":160624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:56:27] local.INFO: GPS data processed {"connection_id":160624,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:56:27] local.INFO: Acknowledgment sent {"connection_id":160624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:56:50] local.INFO: TCP Data received {"connection_id":162031,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:56:50] local.INFO: Processing buffer {"connection_id":162031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:56:50] local.INFO: IMEI packet received {"connection_id":162031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":162031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:56:55] local.INFO: TCP Data received {"connection_id":162031,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:56:55] local.INFO: Processing buffer {"connection_id":162031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:56:55] local.INFO: IMEI packet received {"connection_id":162031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":162031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:56:56] local.INFO: TCP Data received {"connection_id":162031,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:56:56] local.INFO: Processing buffer {"connection_id":162031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:56:56] local.INFO: Packet analysis {"connection_id":162031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:56:56] local.INFO: Extracted packet for processing {"connection_id":162031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560853760001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:56:56] 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-22 02:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787347386000,"timestamp_ms":1787347386000,"timestamp_seconds":1787347386,"priority":1,"record_length":96,"hex_timestamp":"000001a02634be90"} 
[2026-08-22 02: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-22 02:56: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-22 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:56: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-22 02: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-22 02: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-22 02:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560853760001,"66":25680,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 02:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560853760001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:56:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 02:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560853760001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":162031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:56:56] local.INFO: GPS data processed {"connection_id":162031,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:56:56] local.INFO: Acknowledgment sent {"connection_id":162031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:57:27] local.INFO: TCP Data received {"connection_id":162031,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:57:27] local.INFO: Processing buffer {"connection_id":162031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:57:27] local.INFO: Packet analysis {"connection_id":162031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:57:27] local.INFO: Extracted packet for processing {"connection_id":162031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560853760001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:57:27] 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-22 02:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787347386000,"timestamp_ms":1787347386000,"timestamp_seconds":1787347386,"priority":1,"record_length":96,"hex_timestamp":"000001a02634be90"} 
[2026-08-22 02: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-22 02:57: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-22 02:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 02: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-22 02: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-22 02:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560853760001,"66":25680,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 02:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560853760001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:57:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 02:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560853760001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":162031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:57:27] local.INFO: GPS data processed {"connection_id":162031,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:57:27] local.INFO: Acknowledgment sent {"connection_id":162031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:57:50] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:57:50] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:57:50] local.INFO: IMEI packet received {"connection_id":162032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":162032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:57:55] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:57:55] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:57:55] local.INFO: IMEI packet received {"connection_id":162032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":162032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:57:56] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:57:56] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:57:56] local.INFO: Packet analysis {"connection_id":162032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:57:56] local.INFO: Extracted packet for processing {"connection_id":162032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560853760001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:57:56] 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-22 02:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787347386000,"timestamp_ms":1787347386000,"timestamp_seconds":1787347386,"priority":1,"record_length":96,"hex_timestamp":"000001a02634be90"} 
[2026-08-22 02: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-22 02:57: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-22 02: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-22 02: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-22 02: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-22 02: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-22 02:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560853760001,"66":25680,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 02:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560853760001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:57:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 02:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560853760001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":162032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:57:56] local.INFO: GPS data processed {"connection_id":162032,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:57:56] local.INFO: Acknowledgment sent {"connection_id":162032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:58:27] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:58:27] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02634be90012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 02:58:27] local.INFO: Packet analysis {"connection_id":162032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:58:27] local.INFO: Extracted packet for processing {"connection_id":162032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02634"} 
[2026-08-22 02:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560853760001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:58:27] 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-22 02:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787347386000,"timestamp_ms":1787347386000,"timestamp_seconds":1787347386,"priority":1,"record_length":96,"hex_timestamp":"000001a02634be90"} 
[2026-08-22 02: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-22 02:58: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-22 02:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 02: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-22 02: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-22 02:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560853760001,"66":25680,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 02:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560853760001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:58:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 02:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560853760001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":162032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:58:27] local.INFO: GPS data processed {"connection_id":162032,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:58:27] local.INFO: Acknowledgment sent {"connection_id":162032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:58:50] local.INFO: TCP Data received {"connection_id":159712,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:58:50] local.INFO: Processing buffer {"connection_id":159712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:58:50] local.INFO: IMEI packet received {"connection_id":159712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":159712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:58:55] local.INFO: TCP Data received {"connection_id":159712,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:58:55] local.INFO: Processing buffer {"connection_id":159712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:58:55] local.INFO: IMEI packet received {"connection_id":159712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":159712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:58:56] local.INFO: TCP Data received {"connection_id":159712,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 02:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 02:58:56] local.INFO: Processing buffer {"connection_id":159712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 02:58:56] local.INFO: Packet analysis {"connection_id":159712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 02:58:56] local.INFO: Extracted packet for processing {"connection_id":159712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 02:58:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560930816001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:58:56] 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-22 02:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787347687000,"timestamp_ms":1787347687000,"timestamp_seconds":1787347687,"priority":1,"record_length":96,"hex_timestamp":"000001a026395658"} 
[2026-08-22 02: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-22 02:58: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-22 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:58: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-22 02: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-22 02: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-22 02:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560930816001,"66":25702,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 02:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560930816001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:58:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 02:58:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560930816001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":159712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:58:56] local.INFO: GPS data processed {"connection_id":159712,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:58:56] local.INFO: Acknowledgment sent {"connection_id":159712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:59:27] local.INFO: TCP Data received {"connection_id":159712,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 02:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 02:59:27] local.INFO: Processing buffer {"connection_id":159712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 02:59:27] local.INFO: Packet analysis {"connection_id":159712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 02:59:27] local.INFO: Extracted packet for processing {"connection_id":159712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 02:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560930816001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:59:27] 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-22 02:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787347687000,"timestamp_ms":1787347687000,"timestamp_seconds":1787347687,"priority":1,"record_length":96,"hex_timestamp":"000001a026395658"} 
[2026-08-22 02: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-22 02:59: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-22 02:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 02: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-22 02: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-22 02:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560930816001,"66":25702,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 02:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560930816001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:59:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 02:59:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560930816001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":159712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:59:27] local.INFO: GPS data processed {"connection_id":159712,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:59:27] local.INFO: Acknowledgment sent {"connection_id":159712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 02:59:50] local.INFO: TCP Data received {"connection_id":159441,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:59:50] local.INFO: Processing buffer {"connection_id":159441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:59:50] local.INFO: IMEI packet received {"connection_id":159441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 02:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":159441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 02:59:55] local.INFO: TCP Data received {"connection_id":159441,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:59:55] local.INFO: Processing buffer {"connection_id":159441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 02:59:55] local.INFO: IMEI packet received {"connection_id":159441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 02:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":159441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 02:59:57] local.INFO: TCP Data received {"connection_id":159441,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 02:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 02:59:57] local.INFO: Processing buffer {"connection_id":159441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 02:59:57] local.INFO: Packet analysis {"connection_id":159441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 02:59:57] local.INFO: Extracted packet for processing {"connection_id":159441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 02:59:57] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 02: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-22 02:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560930816001,"note":"Value kept but may cause issues"} 
[2026-08-22 02:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 02:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 02:59:57] 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-22 02:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787347687000,"timestamp_ms":1787347687000,"timestamp_seconds":1787347687,"priority":1,"record_length":96,"hex_timestamp":"000001a026395658"} 
[2026-08-22 02: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-22 02:59:57] 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-22 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 02:59:57] 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-22 02: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-22 02: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-22 02:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 02:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 02:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 02:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 02:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 02:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 02:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560930816001,"66":25702,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 02:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 02:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 02:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560930816001,"description":"Unknown IO ID 0"} 
[2026-08-22 02:59:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 02:59:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 02:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 02:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 02:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560930816001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 02:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":159441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 02:59:57] local.INFO: GPS data processed {"connection_id":159441,"processed":1,"errors":0,"total":1} 
[2026-08-22 02:59:57] local.INFO: Acknowledgment sent {"connection_id":159441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:00:28] local.INFO: TCP Data received {"connection_id":159441,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:00:28] local.INFO: Processing buffer {"connection_id":159441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:00:28] local.INFO: Packet analysis {"connection_id":159441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 03:00:28] local.INFO: Extracted packet for processing {"connection_id":159441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 03:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560930816001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:00:28] 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-22 03:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787347687000,"timestamp_ms":1787347687000,"timestamp_seconds":1787347687,"priority":1,"record_length":96,"hex_timestamp":"000001a026395658"} 
[2026-08-22 03: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-22 03:00:28] 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-22 03:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 03:00:28] 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-22 03: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-22 03: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-22 03:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560930816001,"66":25702,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560930816001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:00:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:00:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560930816001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":159441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:00:28] local.INFO: GPS data processed {"connection_id":159441,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:00:28] local.INFO: Acknowledgment sent {"connection_id":159441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:00:50] local.INFO: TCP Data received {"connection_id":159713,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:00:50] local.INFO: Processing buffer {"connection_id":159713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:00:50] local.INFO: IMEI packet received {"connection_id":159713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":159713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:00:55] local.INFO: TCP Data received {"connection_id":159713,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:00:55] local.INFO: Processing buffer {"connection_id":159713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:00:55] local.INFO: IMEI packet received {"connection_id":159713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":159713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:00:56] local.INFO: TCP Data received {"connection_id":159713,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:00:56] local.INFO: Processing buffer {"connection_id":159713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:00:56] local.INFO: Packet analysis {"connection_id":159713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 03:00:56] local.INFO: Extracted packet for processing {"connection_id":159713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 03:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560930816001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:00:56] 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-22 03:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787347687000,"timestamp_ms":1787347687000,"timestamp_seconds":1787347687,"priority":1,"record_length":96,"hex_timestamp":"000001a026395658"} 
[2026-08-22 03: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-22 03:00: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-22 03:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 03:00: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-22 03: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-22 03: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-22 03:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560930816001,"66":25702,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560930816001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:00:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560930816001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":159713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:00:56] local.INFO: GPS data processed {"connection_id":159713,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:00:56] local.INFO: Acknowledgment sent {"connection_id":159713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:01:27] local.INFO: TCP Data received {"connection_id":159713,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:01:27] local.INFO: Processing buffer {"connection_id":159713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:01:27] local.INFO: Packet analysis {"connection_id":159713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 03:01:27] local.INFO: Extracted packet for processing {"connection_id":159713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 03:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560930816001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:01:27] 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-22 03:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787347687000,"timestamp_ms":1787347687000,"timestamp_seconds":1787347687,"priority":1,"record_length":96,"hex_timestamp":"000001a026395658"} 
[2026-08-22 03: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-22 03:01: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-22 03:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 03:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560930816001,"66":25702,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560930816001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:01:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560930816001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":159713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:01:27] local.INFO: GPS data processed {"connection_id":159713,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:01:27] local.INFO: Acknowledgment sent {"connection_id":159713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:01:50] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:01:50] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:01:50] local.INFO: IMEI packet received {"connection_id":162033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":162033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:01:55] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:01:55] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:01:55] local.INFO: IMEI packet received {"connection_id":162033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":162033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:01:56] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:01:56] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:01:56] local.INFO: Packet analysis {"connection_id":162033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 03:01:56] local.INFO: Extracted packet for processing {"connection_id":162033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 03:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560930816001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:01:56] 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-22 03:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787347687000,"timestamp_ms":1787347687000,"timestamp_seconds":1787347687,"priority":1,"record_length":96,"hex_timestamp":"000001a026395658"} 
[2026-08-22 03: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-22 03:01: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-22 03: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-22 03: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-22 03: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-22 03: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-22 03:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560930816001,"66":25702,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560930816001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:01:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560930816001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":162033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:01:56] local.INFO: GPS data processed {"connection_id":162033,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:01:56] local.INFO: Acknowledgment sent {"connection_id":162033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:02:27] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:02:27] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:02:27] local.INFO: Packet analysis {"connection_id":162033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 03:02:27] local.INFO: Extracted packet for processing {"connection_id":162033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 03:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560930816001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:02:27] 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-22 03:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787347687000,"timestamp_ms":1787347687000,"timestamp_seconds":1787347687,"priority":1,"record_length":96,"hex_timestamp":"000001a026395658"} 
[2026-08-22 03: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-22 03:02: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-22 03:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 03:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560930816001,"66":25702,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560930816001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:02:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560930816001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":162033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:02:27] local.INFO: GPS data processed {"connection_id":162033,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:02:27] local.INFO: Acknowledgment sent {"connection_id":162033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:02:55] local.INFO: TCP Data received {"connection_id":159442,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:02:55] local.INFO: Processing buffer {"connection_id":159442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:02:55] local.INFO: IMEI packet received {"connection_id":159442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":159442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:03:00] local.INFO: TCP Data received {"connection_id":159442,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:03:00] local.INFO: Processing buffer {"connection_id":159442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:03:00] local.INFO: IMEI packet received {"connection_id":159442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":159442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:03:01] local.INFO: TCP Data received {"connection_id":159442,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:03:01] local.INFO: Processing buffer {"connection_id":159442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:03:01] local.INFO: Packet analysis {"connection_id":159442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 03:03:01] local.INFO: Extracted packet for processing {"connection_id":159442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 03:03:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560930816001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:03:01] 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-22 03:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787347687000,"timestamp_ms":1787347687000,"timestamp_seconds":1787347687,"priority":1,"record_length":96,"hex_timestamp":"000001a026395658"} 
[2026-08-22 03: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-22 03:03: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-22 03: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":80,"data_length":795,"current_offset":136} 
[2026-08-22 03:03: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-22 03: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-22 03: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-22 03:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560930816001,"66":25702,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560930816001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:03:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:03:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560930816001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":159442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:03:01] local.INFO: GPS data processed {"connection_id":159442,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:03:01] local.INFO: Acknowledgment sent {"connection_id":159442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:03:06] local.INFO: TCP Data received {"connection_id":159442,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:03:06] local.INFO: Processing buffer {"connection_id":159442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026395658012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:03:06] local.INFO: Packet analysis {"connection_id":159442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 03:03:06] local.INFO: Extracted packet for processing {"connection_id":159442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02639"} 
[2026-08-22 03:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457560930816001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:03:06] 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-22 03:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787347687000,"timestamp_ms":1787347687000,"timestamp_seconds":1787347687,"priority":1,"record_length":96,"hex_timestamp":"000001a026395658"} 
[2026-08-22 03: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-22 03:03:06] 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-22 03:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 03:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457560930816001,"66":25702,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457560930816001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:03:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457560930816001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":159442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:03:06] local.INFO: GPS data processed {"connection_id":159442,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:03:06] local.INFO: Acknowledgment sent {"connection_id":159442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:03:50] local.INFO: TCP Data received {"connection_id":162034,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:03:50] local.INFO: Processing buffer {"connection_id":162034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:03:50] local.INFO: IMEI packet received {"connection_id":162034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":162034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:03:56] local.INFO: TCP Data received {"connection_id":162034,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:03:56] local.INFO: Processing buffer {"connection_id":162034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:03:56] local.INFO: IMEI packet received {"connection_id":162034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":162034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:03:56] local.INFO: TCP Data received {"connection_id":162034,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:03:56] local.INFO: Processing buffer {"connection_id":162034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:03:56] local.INFO: Packet analysis {"connection_id":162034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:03:56] local.INFO: Extracted packet for processing {"connection_id":162034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561007872001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:03:56] 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-22 03:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787347988000,"timestamp_ms":1787347988000,"timestamp_seconds":1787347988,"priority":1,"record_length":96,"hex_timestamp":"000001a0263dee20"} 
[2026-08-22 03: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-22 03:03: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-22 03: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 03:03: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-22 03: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-22 03: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-22 03:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561007872001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561007872001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:03:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561007872001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":162034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:03:56] local.INFO: GPS data processed {"connection_id":162034,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:03:56] local.INFO: Acknowledgment sent {"connection_id":162034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:04:28] local.INFO: TCP Data received {"connection_id":162034,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:04:28] local.INFO: Processing buffer {"connection_id":162034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:04:28] local.INFO: Packet analysis {"connection_id":162034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:04:28] local.INFO: Extracted packet for processing {"connection_id":162034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561007872001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:04:28] 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-22 03:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787347988000,"timestamp_ms":1787347988000,"timestamp_seconds":1787347988,"priority":1,"record_length":96,"hex_timestamp":"000001a0263dee20"} 
[2026-08-22 03: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-22 03:04:28] 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-22 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 03:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 03: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-22 03: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-22 03:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561007872001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561007872001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:04:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:04:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561007872001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":162034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:04:28] local.INFO: GPS data processed {"connection_id":162034,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:04:28] local.INFO: Acknowledgment sent {"connection_id":162034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:04:55] local.INFO: TCP Data received {"connection_id":162035,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:04:55] local.INFO: Processing buffer {"connection_id":162035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:04:55] local.INFO: IMEI packet received {"connection_id":162035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":162035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:05:00] local.INFO: TCP Data received {"connection_id":162035,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:05:00] local.INFO: Processing buffer {"connection_id":162035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:05:00] local.INFO: IMEI packet received {"connection_id":162035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":162035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:05:07] local.INFO: TCP Data received {"connection_id":162035,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:05:07] local.INFO: Processing buffer {"connection_id":162035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:05:07] local.INFO: Packet analysis {"connection_id":162035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:05:07] local.INFO: Extracted packet for processing {"connection_id":162035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561007872001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:05:07] 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-22 03:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787347988000,"timestamp_ms":1787347988000,"timestamp_seconds":1787347988,"priority":1,"record_length":96,"hex_timestamp":"000001a0263dee20"} 
[2026-08-22 03: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-22 03:05: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-22 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 03:05: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-22 03:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03: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-22 03:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561007872001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561007872001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:05:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561007872001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":162035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:05:07] local.INFO: GPS data processed {"connection_id":162035,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:05:07] local.INFO: Acknowledgment sent {"connection_id":162035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:05:08] local.INFO: TCP Data received {"connection_id":162035,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:05:08] local.INFO: Processing buffer {"connection_id":162035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:05:08] local.INFO: Packet analysis {"connection_id":162035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:05:08] local.INFO: Extracted packet for processing {"connection_id":162035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:05:08] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561007872001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:05:08] 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-22 03:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787347988000,"timestamp_ms":1787347988000,"timestamp_seconds":1787347988,"priority":1,"record_length":96,"hex_timestamp":"000001a0263dee20"} 
[2026-08-22 03: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-22 03:05:08] 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-22 03: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-22 03: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-22 03: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-22 03: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-22 03:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561007872001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561007872001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:05:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:05:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561007872001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":162035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:05:08] local.INFO: GPS data processed {"connection_id":162035,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:05:08] local.INFO: Acknowledgment sent {"connection_id":162035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:05:50] local.INFO: TCP Data received {"connection_id":160625,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:05:50] local.INFO: Processing buffer {"connection_id":160625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:05:50] local.INFO: IMEI packet received {"connection_id":160625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":160625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:05:55] local.INFO: TCP Data received {"connection_id":160625,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:05:55] local.INFO: Processing buffer {"connection_id":160625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:05:55] local.INFO: IMEI packet received {"connection_id":160625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":160625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:05:57] local.INFO: TCP Data received {"connection_id":160625,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:05:57] local.INFO: Processing buffer {"connection_id":160625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:05:57] local.INFO: Packet analysis {"connection_id":160625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:05:57] local.INFO: Extracted packet for processing {"connection_id":160625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:05:57] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561007872001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:05:57] 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-22 03:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787347988000,"timestamp_ms":1787347988000,"timestamp_seconds":1787347988,"priority":1,"record_length":96,"hex_timestamp":"000001a0263dee20"} 
[2026-08-22 03: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-22 03:05:57] 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-22 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 03:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 03: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-22 03: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-22 03:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561007872001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561007872001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:05:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:05:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561007872001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":160625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:05:57] local.INFO: GPS data processed {"connection_id":160625,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:05:57] local.INFO: Acknowledgment sent {"connection_id":160625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:06:28] local.INFO: TCP Data received {"connection_id":160625,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:06:28] local.INFO: Processing buffer {"connection_id":160625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:06:28] local.INFO: Packet analysis {"connection_id":160625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:06:28] local.INFO: Extracted packet for processing {"connection_id":160625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:06:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:06: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-22 03:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561007872001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:06:28] 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-22 03:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787347988000,"timestamp_ms":1787347988000,"timestamp_seconds":1787347988,"priority":1,"record_length":96,"hex_timestamp":"000001a0263dee20"} 
[2026-08-22 03:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:06:28] 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-22 03:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 03:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 03:06: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-22 03:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561007872001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561007872001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:06:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:06:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561007872001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":160625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:06:28] local.INFO: GPS data processed {"connection_id":160625,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:06:28] local.INFO: Acknowledgment sent {"connection_id":160625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:06:50] local.INFO: TCP Data received {"connection_id":162036,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:06:50] local.INFO: Processing buffer {"connection_id":162036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:06:50] local.INFO: IMEI packet received {"connection_id":162036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":162036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:06:56] local.INFO: TCP Data received {"connection_id":162036,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:06:56] local.INFO: Processing buffer {"connection_id":162036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:06:56] local.INFO: IMEI packet received {"connection_id":162036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":162036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:06:57] local.INFO: TCP Data received {"connection_id":162036,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:06:57] local.INFO: Processing buffer {"connection_id":162036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:06:57] local.INFO: Packet analysis {"connection_id":162036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:06:57] local.INFO: Extracted packet for processing {"connection_id":162036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:06:57] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561007872001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:06:57] 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-22 03:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787347988000,"timestamp_ms":1787347988000,"timestamp_seconds":1787347988,"priority":1,"record_length":96,"hex_timestamp":"000001a0263dee20"} 
[2026-08-22 03: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-22 03:06:57] 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-22 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 03:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 03: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-22 03: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-22 03:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561007872001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561007872001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:06:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:06:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561007872001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":162036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:06:57] local.INFO: GPS data processed {"connection_id":162036,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:06:57] local.INFO: Acknowledgment sent {"connection_id":162036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:07:28] local.INFO: TCP Data received {"connection_id":162036,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:07:28] local.INFO: Processing buffer {"connection_id":162036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:07:28] local.INFO: Packet analysis {"connection_id":162036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:07:28] local.INFO: Extracted packet for processing {"connection_id":162036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561007872001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:07:28] 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-22 03:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787347988000,"timestamp_ms":1787347988000,"timestamp_seconds":1787347988,"priority":1,"record_length":96,"hex_timestamp":"000001a0263dee20"} 
[2026-08-22 03: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-22 03:07:28] 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-22 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 03:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 03: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-22 03: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-22 03:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561007872001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561007872001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:07:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561007872001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":162036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:07:28] local.INFO: GPS data processed {"connection_id":162036,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:07:28] local.INFO: Acknowledgment sent {"connection_id":162036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:07:50] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:07:50] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:07:50] local.INFO: IMEI packet received {"connection_id":162037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":162037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:07:55] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:07:55] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:07:55] local.INFO: IMEI packet received {"connection_id":162037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":162037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:07:56] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:07:56] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:07:56] local.INFO: Packet analysis {"connection_id":162037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:07:56] local.INFO: Extracted packet for processing {"connection_id":162037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561007872001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:07:56] 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-22 03:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787347988000,"timestamp_ms":1787347988000,"timestamp_seconds":1787347988,"priority":1,"record_length":96,"hex_timestamp":"000001a0263dee20"} 
[2026-08-22 03:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:07: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-22 03:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 03:07: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-22 03:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561007872001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561007872001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:07:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561007872001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":162037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:07:56] local.INFO: GPS data processed {"connection_id":162037,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:07:56] local.INFO: Acknowledgment sent {"connection_id":162037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:08:33] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:08:33] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0263dee20012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:08:33] local.INFO: Packet analysis {"connection_id":162037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:08:33] local.INFO: Extracted packet for processing {"connection_id":162037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0263d"} 
[2026-08-22 03:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:08: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-22 03:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561007872001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:08:33] 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-22 03:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787347988000,"timestamp_ms":1787347988000,"timestamp_seconds":1787347988,"priority":1,"record_length":96,"hex_timestamp":"000001a0263dee20"} 
[2026-08-22 03:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:08: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-22 03:08: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-22 03:08: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-22 03:08: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-22 03:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561007872001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561007872001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:08:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561007872001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":162037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:08:33] local.INFO: GPS data processed {"connection_id":162037,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:08:33] local.INFO: Acknowledgment sent {"connection_id":162037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:08:55] local.INFO: TCP Data received {"connection_id":159714,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:08:55] local.INFO: Processing buffer {"connection_id":159714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:08:55] local.INFO: IMEI packet received {"connection_id":159714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":159714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:09:01] local.INFO: TCP Data received {"connection_id":159714,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:09:01] local.INFO: Processing buffer {"connection_id":159714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:09:01] local.INFO: IMEI packet received {"connection_id":159714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":159714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:09:12] local.INFO: TCP Data received {"connection_id":159714,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:09:12] local.INFO: Processing buffer {"connection_id":159714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:09:12] local.INFO: Packet analysis {"connection_id":159714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:09:12] local.INFO: Extracted packet for processing {"connection_id":159714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561084928001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:09:12] 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-22 03:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787348289000,"timestamp_ms":1787348289000,"timestamp_seconds":1787348289,"priority":1,"record_length":96,"hex_timestamp":"000001a0264285e8"} 
[2026-08-22 03: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-22 03:09:12] 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-22 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561084928001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561084928001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:09:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561084928001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":159714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:09:12] local.INFO: GPS data processed {"connection_id":159714,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:09:12] local.INFO: Acknowledgment sent {"connection_id":159714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:09:14] local.INFO: TCP Data received {"connection_id":159714,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:09:14] local.INFO: Processing buffer {"connection_id":159714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:09:14] local.INFO: Packet analysis {"connection_id":159714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:09:14] local.INFO: Extracted packet for processing {"connection_id":159714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:09:14] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561084928001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:09:14] 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-22 03:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787348289000,"timestamp_ms":1787348289000,"timestamp_seconds":1787348289,"priority":1,"record_length":96,"hex_timestamp":"000001a0264285e8"} 
[2026-08-22 03: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-22 03:09:14] 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-22 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 03: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-22 03: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-22 03:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561084928001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561084928001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:09:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:09:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561084928001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":159714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:09:14] local.INFO: GPS data processed {"connection_id":159714,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:09:14] local.INFO: Acknowledgment sent {"connection_id":159714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:09:55] local.INFO: TCP Data received {"connection_id":160626,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:09:55] local.INFO: Processing buffer {"connection_id":160626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:09:55] local.INFO: IMEI packet received {"connection_id":160626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":160626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:10:02] local.INFO: TCP Data received {"connection_id":160626,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:10:02] local.INFO: Processing buffer {"connection_id":160626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:10:02] local.INFO: IMEI packet received {"connection_id":160626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":160626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:10:03] local.INFO: TCP Data received {"connection_id":160626,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:10:03] local.INFO: Processing buffer {"connection_id":160626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:10:03] local.INFO: Packet analysis {"connection_id":160626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:10:03] local.INFO: Extracted packet for processing {"connection_id":160626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:10:03] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:10: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-22 03:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561084928001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:10:03] 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-22 03:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787348289000,"timestamp_ms":1787348289000,"timestamp_seconds":1787348289,"priority":1,"record_length":96,"hex_timestamp":"000001a0264285e8"} 
[2026-08-22 03:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:10: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-22 03:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:10: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-22 03:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561084928001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561084928001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:10:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:10:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561084928001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":160626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:10:03] local.INFO: GPS data processed {"connection_id":160626,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:10:03] local.INFO: Acknowledgment sent {"connection_id":160626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:10:05] local.INFO: TCP Data received {"connection_id":160626,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:10:05] local.INFO: Processing buffer {"connection_id":160626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:10:05] local.INFO: Packet analysis {"connection_id":160626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:10:05] local.INFO: Extracted packet for processing {"connection_id":160626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:10:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561084928001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:10:05] 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-22 03:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787348289000,"timestamp_ms":1787348289000,"timestamp_seconds":1787348289,"priority":1,"record_length":96,"hex_timestamp":"000001a0264285e8"} 
[2026-08-22 03:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:10:05] 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-22 03:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561084928001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561084928001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:10:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:10:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561084928001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":160626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:10:05] local.INFO: GPS data processed {"connection_id":160626,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:10:05] local.INFO: Acknowledgment sent {"connection_id":160626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:10:50] local.INFO: TCP Data received {"connection_id":159443,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:10:50] local.INFO: Processing buffer {"connection_id":159443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:10:50] local.INFO: IMEI packet received {"connection_id":159443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":159443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:10:55] local.INFO: TCP Data received {"connection_id":159443,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:10:55] local.INFO: Processing buffer {"connection_id":159443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:10:55] local.INFO: IMEI packet received {"connection_id":159443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":159443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:10:56] local.INFO: TCP Data received {"connection_id":159443,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:10:56] local.INFO: Processing buffer {"connection_id":159443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:10:56] local.INFO: Packet analysis {"connection_id":159443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:10:56] local.INFO: Extracted packet for processing {"connection_id":159443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561084928001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:10:56] 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-22 03:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787348289000,"timestamp_ms":1787348289000,"timestamp_seconds":1787348289,"priority":1,"record_length":96,"hex_timestamp":"000001a0264285e8"} 
[2026-08-22 03: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-22 03:10: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-22 03: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":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:10: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-22 03: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-22 03: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-22 03:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561084928001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561084928001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:10:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561084928001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":159443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:10:56] local.INFO: GPS data processed {"connection_id":159443,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:10:56] local.INFO: Acknowledgment sent {"connection_id":159443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:11:27] local.INFO: TCP Data received {"connection_id":159443,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:11:27] local.INFO: Processing buffer {"connection_id":159443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:11:27] local.INFO: Packet analysis {"connection_id":159443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:11:27] local.INFO: Extracted packet for processing {"connection_id":159443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561084928001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:11:27] 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-22 03:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787348289000,"timestamp_ms":1787348289000,"timestamp_seconds":1787348289,"priority":1,"record_length":96,"hex_timestamp":"000001a0264285e8"} 
[2026-08-22 03:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:11: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-22 03:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561084928001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561084928001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:11:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561084928001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":159443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:11:27] local.INFO: GPS data processed {"connection_id":159443,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:11:27] local.INFO: Acknowledgment sent {"connection_id":159443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:11:50] local.INFO: TCP Data received {"connection_id":160627,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:11:50] local.INFO: Processing buffer {"connection_id":160627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:11:50] local.INFO: IMEI packet received {"connection_id":160627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":160627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:11:59] local.INFO: TCP Data received {"connection_id":160627,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:11:59] local.INFO: Processing buffer {"connection_id":160627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:11:59] local.INFO: IMEI packet received {"connection_id":160627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":160627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:12:00] local.INFO: TCP Data received {"connection_id":160627,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:12:00] local.INFO: Processing buffer {"connection_id":160627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:12:00] local.INFO: Packet analysis {"connection_id":160627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:12:00] local.INFO: Extracted packet for processing {"connection_id":160627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561084928001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:12:00] 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-22 03:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787348289000,"timestamp_ms":1787348289000,"timestamp_seconds":1787348289,"priority":1,"record_length":96,"hex_timestamp":"000001a0264285e8"} 
[2026-08-22 03: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-22 03: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-22 03: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":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:12: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-22 03: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-22 03: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-22 03:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561084928001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561084928001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:12:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561084928001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":160627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:12:00] local.INFO: GPS data processed {"connection_id":160627,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:12:00] local.INFO: Acknowledgment sent {"connection_id":160627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:12:32] local.INFO: TCP Data received {"connection_id":160627,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:12:32] local.INFO: Processing buffer {"connection_id":160627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:12:32] local.INFO: Packet analysis {"connection_id":160627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:12:32] local.INFO: Extracted packet for processing {"connection_id":160627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561084928001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:12:32] 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-22 03:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787348289000,"timestamp_ms":1787348289000,"timestamp_seconds":1787348289,"priority":1,"record_length":96,"hex_timestamp":"000001a0264285e8"} 
[2026-08-22 03: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-22 03:12: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-22 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 03: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-22 03: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-22 03:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561084928001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561084928001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:12:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561084928001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":160627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:12:32] local.INFO: GPS data processed {"connection_id":160627,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:12:32] local.INFO: Acknowledgment sent {"connection_id":160627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:13:25] local.INFO: TCP Data received {"connection_id":159715,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:13:25] local.INFO: Processing buffer {"connection_id":159715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:13:25] local.INFO: IMEI packet received {"connection_id":159715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":159715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:13:25] local.INFO: TCP Data received {"connection_id":159715,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:13:25] local.INFO: Processing buffer {"connection_id":159715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:13:25] local.INFO: IMEI packet received {"connection_id":159715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":159715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:13:26] local.INFO: TCP Data received {"connection_id":159715,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:13:26] local.INFO: Processing buffer {"connection_id":159715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:13:26] local.INFO: Packet analysis {"connection_id":159715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:13:26] local.INFO: Extracted packet for processing {"connection_id":159715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561084928001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:13:26] 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-22 03:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787348289000,"timestamp_ms":1787348289000,"timestamp_seconds":1787348289,"priority":1,"record_length":96,"hex_timestamp":"000001a0264285e8"} 
[2026-08-22 03: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-22 03:13:26] 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-22 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561084928001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561084928001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:13:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561084928001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":159715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:13:26] local.INFO: GPS data processed {"connection_id":159715,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:13:26] local.INFO: Acknowledgment sent {"connection_id":159715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:13:27] local.INFO: TCP Data received {"connection_id":159715,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:13:27] local.INFO: Processing buffer {"connection_id":159715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264285e8012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 03:13:27] local.INFO: Packet analysis {"connection_id":159715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:13:27] local.INFO: Extracted packet for processing {"connection_id":159715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02642"} 
[2026-08-22 03:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561084928001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:13:27] 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-22 03:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787348289000,"timestamp_ms":1787348289000,"timestamp_seconds":1787348289,"priority":1,"record_length":96,"hex_timestamp":"000001a0264285e8"} 
[2026-08-22 03:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:13: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-22 03:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561084928001,"66":25647,"27":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 03:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561084928001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:13:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 03:13:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561084928001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":159715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:13:27] local.INFO: GPS data processed {"connection_id":159715,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:13:27] local.INFO: Acknowledgment sent {"connection_id":159715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:13:49] local.INFO: TCP Data received {"connection_id":160628,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:13:49] local.INFO: Processing buffer {"connection_id":160628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:13:49] local.INFO: IMEI packet received {"connection_id":160628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":160628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:13:50] local.INFO: TCP Data received {"connection_id":160628,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:13:50] local.INFO: Processing buffer {"connection_id":160628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:13:50] local.INFO: IMEI packet received {"connection_id":160628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":160628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:13:55] local.INFO: TCP Data received {"connection_id":160628,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:13:55] local.INFO: Processing buffer {"connection_id":160628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:13:55] local.INFO: IMEI packet received {"connection_id":160628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":160628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:13:56] local.INFO: TCP Data received {"connection_id":160628,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:13:56] local.INFO: Processing buffer {"connection_id":160628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:13:56] local.INFO: Packet analysis {"connection_id":160628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:13:56] local.INFO: Extracted packet for processing {"connection_id":160628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:13:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561161984001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787348590000,"timestamp_ms":1787348590000,"timestamp_seconds":1787348590,"priority":1,"record_length":96,"hex_timestamp":"000001a026471db0"} 
[2026-08-22 03: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-22 03:13: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-22 03: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":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:13: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-22 03: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-22 03: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-22 03:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561161984001,"66":25680,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561161984001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:13:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:13:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561161984001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":160628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:13:56] local.INFO: GPS data processed {"connection_id":160628,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:13:56] local.INFO: Acknowledgment sent {"connection_id":160628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:14:27] local.INFO: TCP Data received {"connection_id":160628,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:14:27] local.INFO: Processing buffer {"connection_id":160628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:14:27] local.INFO: Packet analysis {"connection_id":160628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:14:27] local.INFO: Extracted packet for processing {"connection_id":160628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561161984001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:14: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-22 03:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787348590000,"timestamp_ms":1787348590000,"timestamp_seconds":1787348590,"priority":1,"record_length":96,"hex_timestamp":"000001a026471db0"} 
[2026-08-22 03: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-22 03:14: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-22 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561161984001,"66":25680,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561161984001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:14:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561161984001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":160628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:14:27] local.INFO: GPS data processed {"connection_id":160628,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:14:27] local.INFO: Acknowledgment sent {"connection_id":160628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:14:55] local.INFO: TCP Data received {"connection_id":159444,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:14:55] local.INFO: Processing buffer {"connection_id":159444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:14:55] local.INFO: IMEI packet received {"connection_id":159444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":159444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:15:00] local.INFO: TCP Data received {"connection_id":159444,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:15:00] local.INFO: Processing buffer {"connection_id":159444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:15:00] local.INFO: IMEI packet received {"connection_id":159444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":159444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:15:01] local.INFO: TCP Data received {"connection_id":159444,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:15:01] local.INFO: Processing buffer {"connection_id":159444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:15:01] local.INFO: Packet analysis {"connection_id":159444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:15:01] local.INFO: Extracted packet for processing {"connection_id":159444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:15: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-22 03:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561161984001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:15: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-22 03:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787348590000,"timestamp_ms":1787348590000,"timestamp_seconds":1787348590,"priority":1,"record_length":96,"hex_timestamp":"000001a026471db0"} 
[2026-08-22 03:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:15: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-22 03:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:15: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-22 03:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561161984001,"66":25680,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561161984001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:15:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561161984001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":159444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:15:01] local.INFO: GPS data processed {"connection_id":159444,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:15:01] local.INFO: Acknowledgment sent {"connection_id":159444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:15:06] local.INFO: TCP Data received {"connection_id":159444,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:15:06] local.INFO: Processing buffer {"connection_id":159444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:15:06] local.INFO: Packet analysis {"connection_id":159444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:15:06] local.INFO: Extracted packet for processing {"connection_id":159444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561161984001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:15:06] 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-22 03:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787348590000,"timestamp_ms":1787348590000,"timestamp_seconds":1787348590,"priority":1,"record_length":96,"hex_timestamp":"000001a026471db0"} 
[2026-08-22 03:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:15:06] 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-22 03:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:15: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-22 03:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561161984001,"66":25680,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561161984001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:15:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561161984001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":159444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:15:06] local.INFO: GPS data processed {"connection_id":159444,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:15:06] local.INFO: Acknowledgment sent {"connection_id":159444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:15:50] local.INFO: TCP Data received {"connection_id":159716,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:15:50] local.INFO: Processing buffer {"connection_id":159716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:15:50] local.INFO: IMEI packet received {"connection_id":159716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":159716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:15:55] local.INFO: TCP Data received {"connection_id":159716,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:15:55] local.INFO: Processing buffer {"connection_id":159716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:15:55] local.INFO: IMEI packet received {"connection_id":159716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":159716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:15:56] local.INFO: TCP Data received {"connection_id":159716,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:15:56] local.INFO: Processing buffer {"connection_id":159716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:15:56] local.INFO: Packet analysis {"connection_id":159716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:15:56] local.INFO: Extracted packet for processing {"connection_id":159716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561161984001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:15: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-22 03:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787348590000,"timestamp_ms":1787348590000,"timestamp_seconds":1787348590,"priority":1,"record_length":96,"hex_timestamp":"000001a026471db0"} 
[2026-08-22 03: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-22 03:15: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-22 03: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":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:15: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-22 03: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-22 03: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-22 03:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561161984001,"66":25680,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561161984001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:15:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561161984001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":159716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:15:56] local.INFO: GPS data processed {"connection_id":159716,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:15:56] local.INFO: Acknowledgment sent {"connection_id":159716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:16:27] local.INFO: TCP Data received {"connection_id":159716,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:16:27] local.INFO: Processing buffer {"connection_id":159716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:16:27] local.INFO: Packet analysis {"connection_id":159716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:16:27] local.INFO: Extracted packet for processing {"connection_id":159716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561161984001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:16: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-22 03:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787348590000,"timestamp_ms":1787348590000,"timestamp_seconds":1787348590,"priority":1,"record_length":96,"hex_timestamp":"000001a026471db0"} 
[2026-08-22 03: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-22 03:16: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-22 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561161984001,"66":25680,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561161984001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:16:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561161984001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":159716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:16:27] local.INFO: GPS data processed {"connection_id":159716,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:16:27] local.INFO: Acknowledgment sent {"connection_id":159716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:16:50] local.INFO: TCP Data received {"connection_id":159717,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:16:50] local.INFO: Processing buffer {"connection_id":159717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:16:50] local.INFO: IMEI packet received {"connection_id":159717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":159717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:16:55] local.INFO: TCP Data received {"connection_id":159717,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:16:55] local.INFO: Processing buffer {"connection_id":159717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:16:55] local.INFO: IMEI packet received {"connection_id":159717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":159717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:16:56] local.INFO: TCP Data received {"connection_id":159717,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:16:56] local.INFO: Processing buffer {"connection_id":159717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:16:56] local.INFO: Packet analysis {"connection_id":159717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:16:56] local.INFO: Extracted packet for processing {"connection_id":159717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561161984001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787348590000,"timestamp_ms":1787348590000,"timestamp_seconds":1787348590,"priority":1,"record_length":96,"hex_timestamp":"000001a026471db0"} 
[2026-08-22 03: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-22 03:16: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-22 03:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:16: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-22 03: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-22 03: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-22 03:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561161984001,"66":25680,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561161984001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:16:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561161984001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":159717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:16:56] local.INFO: GPS data processed {"connection_id":159717,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:16:56] local.INFO: Acknowledgment sent {"connection_id":159717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:17:27] local.INFO: TCP Data received {"connection_id":159717,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:17:27] local.INFO: Processing buffer {"connection_id":159717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:17:27] local.INFO: Packet analysis {"connection_id":159717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:17:27] local.INFO: Extracted packet for processing {"connection_id":159717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561161984001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:17: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-22 03:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787348590000,"timestamp_ms":1787348590000,"timestamp_seconds":1787348590,"priority":1,"record_length":96,"hex_timestamp":"000001a026471db0"} 
[2026-08-22 03: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-22 03:17: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-22 03:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03: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-22 03:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561161984001,"66":25680,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561161984001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:17:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561161984001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":159717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:17:27] local.INFO: GPS data processed {"connection_id":159717,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:17:27] local.INFO: Acknowledgment sent {"connection_id":159717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:17:50] local.INFO: TCP Data received {"connection_id":160629,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:17:50] local.INFO: Processing buffer {"connection_id":160629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:17:50] local.INFO: IMEI packet received {"connection_id":160629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":160629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:17:55] local.INFO: TCP Data received {"connection_id":160629,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:17:55] local.INFO: Processing buffer {"connection_id":160629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:17:55] local.INFO: IMEI packet received {"connection_id":160629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":160629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:17:56] local.INFO: TCP Data received {"connection_id":160629,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:17:56] local.INFO: Processing buffer {"connection_id":160629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:17:56] local.INFO: Packet analysis {"connection_id":160629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:17:56] local.INFO: Extracted packet for processing {"connection_id":160629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561161984001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:17: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-22 03:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787348590000,"timestamp_ms":1787348590000,"timestamp_seconds":1787348590,"priority":1,"record_length":96,"hex_timestamp":"000001a026471db0"} 
[2026-08-22 03: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-22 03:17: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-22 03: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-22 03: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-22 03: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-22 03: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-22 03:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561161984001,"66":25680,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561161984001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:17:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561161984001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":160629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:17:56] local.INFO: GPS data processed {"connection_id":160629,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:17:56] local.INFO: Acknowledgment sent {"connection_id":160629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:18:27] local.INFO: TCP Data received {"connection_id":160629,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:18:27] local.INFO: Processing buffer {"connection_id":160629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026471db0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 03:18:27] local.INFO: Packet analysis {"connection_id":160629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:18:27] local.INFO: Extracted packet for processing {"connection_id":160629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02647"} 
[2026-08-22 03:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561161984001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:18: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-22 03:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787348590000,"timestamp_ms":1787348590000,"timestamp_seconds":1787348590,"priority":1,"record_length":96,"hex_timestamp":"000001a026471db0"} 
[2026-08-22 03: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-22 03:18: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-22 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 03:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561161984001,"66":25680,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561161984001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:18:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561161984001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":160629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:18:27] local.INFO: GPS data processed {"connection_id":160629,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:18:27] local.INFO: Acknowledgment sent {"connection_id":160629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:18:50] local.INFO: TCP Data received {"connection_id":160630,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:18:50] local.INFO: Processing buffer {"connection_id":160630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:18:50] local.INFO: IMEI packet received {"connection_id":160630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":160630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:18:55] local.INFO: TCP Data received {"connection_id":160630,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:18:55] local.INFO: Processing buffer {"connection_id":160630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:18:55] local.INFO: IMEI packet received {"connection_id":160630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":160630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:18:56] local.INFO: TCP Data received {"connection_id":160630,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:18:56] local.INFO: Processing buffer {"connection_id":160630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:18:56] local.INFO: Packet analysis {"connection_id":160630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:18:56] local.INFO: Extracted packet for processing {"connection_id":160630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561239040001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787348891000,"timestamp_ms":1787348891000,"timestamp_seconds":1787348891,"priority":1,"record_length":96,"hex_timestamp":"000001a0264bb578"} 
[2026-08-22 03: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-22 03:18: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-22 03:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 03:18: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-22 03: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-22 03: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-22 03:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561239040001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561239040001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:18:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561239040001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":160630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:18:56] local.INFO: GPS data processed {"connection_id":160630,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:18:56] local.INFO: Acknowledgment sent {"connection_id":160630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:19:27] local.INFO: TCP Data received {"connection_id":160630,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:19:27] local.INFO: Processing buffer {"connection_id":160630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:19:27] local.INFO: Packet analysis {"connection_id":160630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:19:27] local.INFO: Extracted packet for processing {"connection_id":160630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561239040001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:19: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-22 03:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787348891000,"timestamp_ms":1787348891000,"timestamp_seconds":1787348891,"priority":1,"record_length":96,"hex_timestamp":"000001a0264bb578"} 
[2026-08-22 03: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-22 03:19: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-22 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 03:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561239040001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561239040001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:19:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561239040001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":160630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:19:27] local.INFO: GPS data processed {"connection_id":160630,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:19:27] local.INFO: Acknowledgment sent {"connection_id":160630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:19:50] local.INFO: TCP Data received {"connection_id":159718,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:19:50] local.INFO: Processing buffer {"connection_id":159718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:19:50] local.INFO: IMEI packet received {"connection_id":159718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":159718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:19:55] local.INFO: TCP Data received {"connection_id":159718,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:19:55] local.INFO: Processing buffer {"connection_id":159718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:19:55] local.INFO: IMEI packet received {"connection_id":159718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":159718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:19:56] local.INFO: TCP Data received {"connection_id":159718,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:19:56] local.INFO: Processing buffer {"connection_id":159718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:19:56] local.INFO: Packet analysis {"connection_id":159718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:19:56] local.INFO: Extracted packet for processing {"connection_id":159718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561239040001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787348891000,"timestamp_ms":1787348891000,"timestamp_seconds":1787348891,"priority":1,"record_length":96,"hex_timestamp":"000001a0264bb578"} 
[2026-08-22 03: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-22 03:19: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-22 03: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-22 03: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-22 03: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-22 03: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-22 03:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561239040001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561239040001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:19:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561239040001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":159718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:19:56] local.INFO: GPS data processed {"connection_id":159718,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:19:56] local.INFO: Acknowledgment sent {"connection_id":159718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:20:27] local.INFO: TCP Data received {"connection_id":159718,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:20:27] local.INFO: Processing buffer {"connection_id":159718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:20:27] local.INFO: Packet analysis {"connection_id":159718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:20:27] local.INFO: Extracted packet for processing {"connection_id":159718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561239040001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:20: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-22 03:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787348891000,"timestamp_ms":1787348891000,"timestamp_seconds":1787348891,"priority":1,"record_length":96,"hex_timestamp":"000001a0264bb578"} 
[2026-08-22 03:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:20: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-22 03:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 03:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561239040001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561239040001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:20:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:20:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561239040001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":159718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:20:27] local.INFO: GPS data processed {"connection_id":159718,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:20:27] local.INFO: Acknowledgment sent {"connection_id":159718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:20:50] local.INFO: TCP Data received {"connection_id":160631,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:20:50] local.INFO: Processing buffer {"connection_id":160631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:20:50] local.INFO: IMEI packet received {"connection_id":160631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":160631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:20:55] local.INFO: TCP Data received {"connection_id":160631,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:20:55] local.INFO: Processing buffer {"connection_id":160631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:20:55] local.INFO: IMEI packet received {"connection_id":160631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":160631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:20:56] local.INFO: TCP Data received {"connection_id":160631,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:20:56] local.INFO: Processing buffer {"connection_id":160631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:20:56] local.INFO: Packet analysis {"connection_id":160631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:20:56] local.INFO: Extracted packet for processing {"connection_id":160631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561239040001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787348891000,"timestamp_ms":1787348891000,"timestamp_seconds":1787348891,"priority":1,"record_length":96,"hex_timestamp":"000001a0264bb578"} 
[2026-08-22 03: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-22 03:20: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-22 03:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 03:20: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-22 03: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-22 03: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-22 03:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561239040001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561239040001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:20:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561239040001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":160631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:20:56] local.INFO: GPS data processed {"connection_id":160631,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:20:56] local.INFO: Acknowledgment sent {"connection_id":160631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:21:27] local.INFO: TCP Data received {"connection_id":160631,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:21:27] local.INFO: Processing buffer {"connection_id":160631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:21:27] local.INFO: Packet analysis {"connection_id":160631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:21:27] local.INFO: Extracted packet for processing {"connection_id":160631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561239040001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:21: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-22 03:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787348891000,"timestamp_ms":1787348891000,"timestamp_seconds":1787348891,"priority":1,"record_length":96,"hex_timestamp":"000001a0264bb578"} 
[2026-08-22 03:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:21: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-22 03:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 03:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561239040001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561239040001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:21:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561239040001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":160631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:21:27] local.INFO: GPS data processed {"connection_id":160631,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:21:27] local.INFO: Acknowledgment sent {"connection_id":160631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:21:50] local.INFO: TCP Data received {"connection_id":159719,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:21:50] local.INFO: Processing buffer {"connection_id":159719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:21:50] local.INFO: IMEI packet received {"connection_id":159719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":159719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:21:55] local.INFO: TCP Data received {"connection_id":159719,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:21:55] local.INFO: Processing buffer {"connection_id":159719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:21:55] local.INFO: IMEI packet received {"connection_id":159719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":159719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:21:56] local.INFO: TCP Data received {"connection_id":159719,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:21:56] local.INFO: Processing buffer {"connection_id":159719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:21:56] local.INFO: Packet analysis {"connection_id":159719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:21:56] local.INFO: Extracted packet for processing {"connection_id":159719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561239040001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787348891000,"timestamp_ms":1787348891000,"timestamp_seconds":1787348891,"priority":1,"record_length":96,"hex_timestamp":"000001a0264bb578"} 
[2026-08-22 03: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-22 03:21: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-22 03: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-22 03: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-22 03: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-22 03: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-22 03:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561239040001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561239040001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:21:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561239040001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":159719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:21:56] local.INFO: GPS data processed {"connection_id":159719,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:21:56] local.INFO: Acknowledgment sent {"connection_id":159719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:22:27] local.INFO: TCP Data received {"connection_id":159719,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:22:27] local.INFO: Processing buffer {"connection_id":159719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:22:27] local.INFO: Packet analysis {"connection_id":159719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:22:27] local.INFO: Extracted packet for processing {"connection_id":159719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561239040001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:22: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-22 03:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787348891000,"timestamp_ms":1787348891000,"timestamp_seconds":1787348891,"priority":1,"record_length":96,"hex_timestamp":"000001a0264bb578"} 
[2026-08-22 03:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:22: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-22 03:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 03:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561239040001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561239040001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:22:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561239040001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":159719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:22:27] local.INFO: GPS data processed {"connection_id":159719,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:22:27] local.INFO: Acknowledgment sent {"connection_id":159719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:22:55] local.INFO: TCP Data received {"connection_id":159445,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:22:55] local.INFO: Processing buffer {"connection_id":159445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:22:55] local.INFO: IMEI packet received {"connection_id":159445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":159445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:23:00] local.INFO: TCP Data received {"connection_id":159445,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:23:00] local.INFO: Processing buffer {"connection_id":159445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:23:00] local.INFO: IMEI packet received {"connection_id":159445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":159445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:23:01] local.INFO: TCP Data received {"connection_id":159445,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:23:01] local.INFO: Processing buffer {"connection_id":159445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:23:01] local.INFO: Packet analysis {"connection_id":159445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:23:01] local.INFO: Extracted packet for processing {"connection_id":159445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561239040001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:23: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-22 03:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787348891000,"timestamp_ms":1787348891000,"timestamp_seconds":1787348891,"priority":1,"record_length":96,"hex_timestamp":"000001a0264bb578"} 
[2026-08-22 03:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:23: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-22 03:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 03:23: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-22 03:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561239040001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561239040001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:23:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561239040001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":159445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:23:01] local.INFO: GPS data processed {"connection_id":159445,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:23:01] local.INFO: Acknowledgment sent {"connection_id":159445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:23:06] local.INFO: TCP Data received {"connection_id":159445,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:23:06] local.INFO: Processing buffer {"connection_id":159445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0264bb578012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 03:23:06] local.INFO: Packet analysis {"connection_id":159445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:23:06] local.INFO: Extracted packet for processing {"connection_id":159445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0264b"} 
[2026-08-22 03:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561239040001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:23:06] 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-22 03:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787348891000,"timestamp_ms":1787348891000,"timestamp_seconds":1787348891,"priority":1,"record_length":96,"hex_timestamp":"000001a0264bb578"} 
[2026-08-22 03:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:23:06] 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-22 03:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 03:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561239040001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561239040001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:23:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561239040001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":159445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:23:06] local.INFO: GPS data processed {"connection_id":159445,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:23:06] local.INFO: Acknowledgment sent {"connection_id":159445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:23:50] local.INFO: TCP Data received {"connection_id":159720,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:23:50] local.INFO: Processing buffer {"connection_id":159720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:23:50] local.INFO: IMEI packet received {"connection_id":159720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":159720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:23:51] local.INFO: TCP Data received {"connection_id":159720,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:23:51] local.INFO: Processing buffer {"connection_id":159720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:23:51] local.INFO: IMEI packet received {"connection_id":159720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":159720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:23:55] local.INFO: TCP Data received {"connection_id":159720,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:23:55] local.INFO: Processing buffer {"connection_id":159720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:23:55] local.INFO: IMEI packet received {"connection_id":159720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":159720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:23:56] local.INFO: TCP Data received {"connection_id":159720,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:23:56] local.INFO: Processing buffer {"connection_id":159720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:23:56] local.INFO: Packet analysis {"connection_id":159720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:23:56] local.INFO: Extracted packet for processing {"connection_id":159720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561316096001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787349192000,"timestamp_ms":1787349192000,"timestamp_seconds":1787349192,"priority":1,"record_length":96,"hex_timestamp":"000001a026504d40"} 
[2026-08-22 03: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-22 03:23: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-22 03: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:23: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-22 03: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-22 03: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-22 03:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561316096001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561316096001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:23:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561316096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":159720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:23:56] local.INFO: GPS data processed {"connection_id":159720,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:23:56] local.INFO: Acknowledgment sent {"connection_id":159720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:24:27] local.INFO: TCP Data received {"connection_id":159720,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:24:27] local.INFO: Processing buffer {"connection_id":159720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:24:27] local.INFO: Packet analysis {"connection_id":159720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:24:27] local.INFO: Extracted packet for processing {"connection_id":159720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561316096001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:24: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-22 03:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787349192000,"timestamp_ms":1787349192000,"timestamp_seconds":1787349192,"priority":1,"record_length":96,"hex_timestamp":"000001a026504d40"} 
[2026-08-22 03:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:24: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-22 03:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561316096001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561316096001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:24:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:24:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561316096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":159720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:24:27] local.INFO: GPS data processed {"connection_id":159720,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:24:27] local.INFO: Acknowledgment sent {"connection_id":159720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:24:50] local.INFO: TCP Data received {"connection_id":159446,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:24:50] local.INFO: Processing buffer {"connection_id":159446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:24:50] local.INFO: IMEI packet received {"connection_id":159446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":159446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:24:55] local.INFO: TCP Data received {"connection_id":159446,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:24:55] local.INFO: Processing buffer {"connection_id":159446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:24:55] local.INFO: IMEI packet received {"connection_id":159446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":159446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:24:56] local.INFO: TCP Data received {"connection_id":159446,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:24:56] local.INFO: Processing buffer {"connection_id":159446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:24:56] local.INFO: Packet analysis {"connection_id":159446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:24:56] local.INFO: Extracted packet for processing {"connection_id":159446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561316096001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787349192000,"timestamp_ms":1787349192000,"timestamp_seconds":1787349192,"priority":1,"record_length":96,"hex_timestamp":"000001a026504d40"} 
[2026-08-22 03: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-22 03:24: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-22 03:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:24: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-22 03: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-22 03: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-22 03:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561316096001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561316096001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:24:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561316096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":159446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:24:56] local.INFO: GPS data processed {"connection_id":159446,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:24:56] local.INFO: Acknowledgment sent {"connection_id":159446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:25:27] local.INFO: TCP Data received {"connection_id":159446,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:25:27] local.INFO: Processing buffer {"connection_id":159446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:25:27] local.INFO: Packet analysis {"connection_id":159446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:25:27] local.INFO: Extracted packet for processing {"connection_id":159446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561316096001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787349192000,"timestamp_ms":1787349192000,"timestamp_seconds":1787349192,"priority":1,"record_length":96,"hex_timestamp":"000001a026504d40"} 
[2026-08-22 03: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-22 03:25: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-22 03:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561316096001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561316096001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:25:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561316096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":159446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:25:27] local.INFO: GPS data processed {"connection_id":159446,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:25:27] local.INFO: Acknowledgment sent {"connection_id":159446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:25:50] local.INFO: TCP Data received {"connection_id":159721,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:25:50] local.INFO: Processing buffer {"connection_id":159721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:25:50] local.INFO: IMEI packet received {"connection_id":159721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":159721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:25:55] local.INFO: TCP Data received {"connection_id":159721,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:25:55] local.INFO: Processing buffer {"connection_id":159721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:25:55] local.INFO: IMEI packet received {"connection_id":159721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":159721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:25:56] local.INFO: TCP Data received {"connection_id":159721,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:25:56] local.INFO: Processing buffer {"connection_id":159721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:25:56] local.INFO: Packet analysis {"connection_id":159721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:25:56] local.INFO: Extracted packet for processing {"connection_id":159721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561316096001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:25: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-22 03:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787349192000,"timestamp_ms":1787349192000,"timestamp_seconds":1787349192,"priority":1,"record_length":96,"hex_timestamp":"000001a026504d40"} 
[2026-08-22 03: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-22 03: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-22 03: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:25: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-22 03: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-22 03: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-22 03:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561316096001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561316096001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:25:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561316096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":159721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:25:56] local.INFO: GPS data processed {"connection_id":159721,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:25:56] local.INFO: Acknowledgment sent {"connection_id":159721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:26:27] local.INFO: TCP Data received {"connection_id":159721,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:26:27] local.INFO: Processing buffer {"connection_id":159721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:26:27] local.INFO: Packet analysis {"connection_id":159721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:26:27] local.INFO: Extracted packet for processing {"connection_id":159721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561316096001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:26: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-22 03:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787349192000,"timestamp_ms":1787349192000,"timestamp_seconds":1787349192,"priority":1,"record_length":96,"hex_timestamp":"000001a026504d40"} 
[2026-08-22 03:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:26: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-22 03:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561316096001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561316096001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:26:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561316096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":159721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:26:27] local.INFO: GPS data processed {"connection_id":159721,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:26:27] local.INFO: Acknowledgment sent {"connection_id":159721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:26:50] local.INFO: TCP Data received {"connection_id":159447,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:26:50] local.INFO: Processing buffer {"connection_id":159447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:26:50] local.INFO: IMEI packet received {"connection_id":159447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":159447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:26:57] local.INFO: TCP Data received {"connection_id":159447,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:26:57] local.INFO: Processing buffer {"connection_id":159447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:26:57] local.INFO: IMEI packet received {"connection_id":159447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":159447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:27:00] local.INFO: TCP Data received {"connection_id":159447,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:27:00] local.INFO: Processing buffer {"connection_id":159447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:27:00] local.INFO: IMEI packet received {"connection_id":159447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":159447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:27:01] local.INFO: TCP Data received {"connection_id":159447,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:27:01] local.INFO: Processing buffer {"connection_id":159447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:27:01] local.INFO: Packet analysis {"connection_id":159447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:27:01] local.INFO: Extracted packet for processing {"connection_id":159447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561316096001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:27: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-22 03:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787349192000,"timestamp_ms":1787349192000,"timestamp_seconds":1787349192,"priority":1,"record_length":96,"hex_timestamp":"000001a026504d40"} 
[2026-08-22 03: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-22 03:27: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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:27: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-22 03: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-22 03: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-22 03:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561316096001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561316096001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:27:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561316096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":159447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:27:01] local.INFO: GPS data processed {"connection_id":159447,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:27:01] local.INFO: Acknowledgment sent {"connection_id":159447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:27:32] local.INFO: TCP Data received {"connection_id":159447,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:27:32] local.INFO: Processing buffer {"connection_id":159447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:27:32] local.INFO: Packet analysis {"connection_id":159447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:27:32] local.INFO: Extracted packet for processing {"connection_id":159447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561316096001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:27:32] 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-22 03:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787349192000,"timestamp_ms":1787349192000,"timestamp_seconds":1787349192,"priority":1,"record_length":96,"hex_timestamp":"000001a026504d40"} 
[2026-08-22 03: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-22 03:27: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-22 03:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:27: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-22 03: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-22 03: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-22 03:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561316096001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561316096001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:27:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561316096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":159447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:27:32] local.INFO: GPS data processed {"connection_id":159447,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:27:32] local.INFO: Acknowledgment sent {"connection_id":159447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:27:55] local.INFO: TCP Data received {"connection_id":160632,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:27:55] local.INFO: Processing buffer {"connection_id":160632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:27:55] local.INFO: IMEI packet received {"connection_id":160632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":160632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:28:00] local.INFO: TCP Data received {"connection_id":160632,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:28:00] local.INFO: Processing buffer {"connection_id":160632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:28:00] local.INFO: IMEI packet received {"connection_id":160632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":160632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:28:01] local.INFO: TCP Data received {"connection_id":160632,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:28:01] local.INFO: Processing buffer {"connection_id":160632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:28:01] local.INFO: Packet analysis {"connection_id":160632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:28:01] local.INFO: Extracted packet for processing {"connection_id":160632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561316096001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:28: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-22 03:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787349192000,"timestamp_ms":1787349192000,"timestamp_seconds":1787349192,"priority":1,"record_length":96,"hex_timestamp":"000001a026504d40"} 
[2026-08-22 03: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-22 03:28: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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:28: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-22 03: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-22 03: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-22 03:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561316096001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561316096001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:28:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561316096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":160632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:28:01] local.INFO: GPS data processed {"connection_id":160632,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:28:01] local.INFO: Acknowledgment sent {"connection_id":160632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:28:06] local.INFO: TCP Data received {"connection_id":160632,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:28:06] local.INFO: Processing buffer {"connection_id":160632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026504d40012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 03:28:06] local.INFO: Packet analysis {"connection_id":160632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:28:06] local.INFO: Extracted packet for processing {"connection_id":160632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02650"} 
[2026-08-22 03:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561316096001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:28:06] 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-22 03:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787349192000,"timestamp_ms":1787349192000,"timestamp_seconds":1787349192,"priority":1,"record_length":96,"hex_timestamp":"000001a026504d40"} 
[2026-08-22 03:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:28:06] 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-22 03:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561316096001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561316096001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:28:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561316096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":160632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:28:06] local.INFO: GPS data processed {"connection_id":160632,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:28:06] local.INFO: Acknowledgment sent {"connection_id":160632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:28:50] local.INFO: TCP Data received {"connection_id":159722,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:28:50] local.INFO: Processing buffer {"connection_id":159722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:28:50] local.INFO: IMEI packet received {"connection_id":159722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":159722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:28:51] local.INFO: TCP Data received {"connection_id":159722,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:28:51] local.INFO: Processing buffer {"connection_id":159722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:28:51] local.INFO: IMEI packet received {"connection_id":159722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":159722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:28:55] local.INFO: TCP Data received {"connection_id":159722,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:28:55] local.INFO: Processing buffer {"connection_id":159722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:28:55] local.INFO: IMEI packet received {"connection_id":159722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":159722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:28:56] local.INFO: TCP Data received {"connection_id":159722,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:28:56] local.INFO: Processing buffer {"connection_id":159722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:28:56] local.INFO: Packet analysis {"connection_id":159722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:28:56] local.INFO: Extracted packet for processing {"connection_id":159722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561393152001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:28: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-22 03:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787349493000,"timestamp_ms":1787349493000,"timestamp_seconds":1787349493,"priority":1,"record_length":96,"hex_timestamp":"000001a02654e508"} 
[2026-08-22 03: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-22 03:28: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-22 03:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 03:28: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-22 03: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-22 03: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-22 03:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561393152001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561393152001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:28:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561393152001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":159722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:28:56] local.INFO: GPS data processed {"connection_id":159722,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:28:56] local.INFO: Acknowledgment sent {"connection_id":159722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:29:27] local.INFO: TCP Data received {"connection_id":159722,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:29:27] local.INFO: Processing buffer {"connection_id":159722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:29:27] local.INFO: Packet analysis {"connection_id":159722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:29:27] local.INFO: Extracted packet for processing {"connection_id":159722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:29:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561393152001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:29: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-22 03:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787349493000,"timestamp_ms":1787349493000,"timestamp_seconds":1787349493,"priority":1,"record_length":96,"hex_timestamp":"000001a02654e508"} 
[2026-08-22 03: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-22 03:29: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-22 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 03:29:27] 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-22 03: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-22 03: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-22 03:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561393152001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561393152001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:29:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:29:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561393152001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":159722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:29:27] local.INFO: GPS data processed {"connection_id":159722,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:29:27] local.INFO: Acknowledgment sent {"connection_id":159722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:29:50] local.INFO: TCP Data received {"connection_id":162038,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:29:50] local.INFO: Processing buffer {"connection_id":162038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:29:50] local.INFO: IMEI packet received {"connection_id":162038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":162038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:29:55] local.INFO: TCP Data received {"connection_id":162038,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:29:55] local.INFO: Processing buffer {"connection_id":162038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:29:55] local.INFO: IMEI packet received {"connection_id":162038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":162038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:29:56] local.INFO: TCP Data received {"connection_id":162038,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:29:56] local.INFO: Processing buffer {"connection_id":162038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:29:56] local.INFO: Packet analysis {"connection_id":162038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:29:56] local.INFO: Extracted packet for processing {"connection_id":162038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561393152001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:29: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-22 03:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787349493000,"timestamp_ms":1787349493000,"timestamp_seconds":1787349493,"priority":1,"record_length":96,"hex_timestamp":"000001a02654e508"} 
[2026-08-22 03: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-22 03: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-22 03: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 03:29: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-22 03: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-22 03: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-22 03:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561393152001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561393152001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:29:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561393152001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":162038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:29:56] local.INFO: GPS data processed {"connection_id":162038,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:29:56] local.INFO: Acknowledgment sent {"connection_id":162038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:30:27] local.INFO: TCP Data received {"connection_id":162038,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:30:27] local.INFO: Processing buffer {"connection_id":162038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:30:27] local.INFO: Packet analysis {"connection_id":162038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:30:27] local.INFO: Extracted packet for processing {"connection_id":162038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561393152001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:30: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-22 03:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787349493000,"timestamp_ms":1787349493000,"timestamp_seconds":1787349493,"priority":1,"record_length":96,"hex_timestamp":"000001a02654e508"} 
[2026-08-22 03: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-22 03:30: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-22 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 03:30:27] 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-22 03: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-22 03: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-22 03:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561393152001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561393152001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:30:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561393152001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":162038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:30:27] local.INFO: GPS data processed {"connection_id":162038,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:30:27] local.INFO: Acknowledgment sent {"connection_id":162038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:30:50] local.INFO: TCP Data received {"connection_id":159723,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:30:50] local.INFO: Processing buffer {"connection_id":159723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:30:50] local.INFO: IMEI packet received {"connection_id":159723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":159723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:30:55] local.INFO: TCP Data received {"connection_id":159723,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:30:55] local.INFO: Processing buffer {"connection_id":159723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:30:55] local.INFO: IMEI packet received {"connection_id":159723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":159723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:30:56] local.INFO: TCP Data received {"connection_id":159723,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:30:56] local.INFO: Processing buffer {"connection_id":159723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:30:56] local.INFO: Packet analysis {"connection_id":159723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:30:56] local.INFO: Extracted packet for processing {"connection_id":159723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561393152001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:30: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-22 03:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787349493000,"timestamp_ms":1787349493000,"timestamp_seconds":1787349493,"priority":1,"record_length":96,"hex_timestamp":"000001a02654e508"} 
[2026-08-22 03: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-22 03:30: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-22 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 03:30: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-22 03: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-22 03: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-22 03:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561393152001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561393152001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:30:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561393152001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":159723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:30:56] local.INFO: GPS data processed {"connection_id":159723,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:30:56] local.INFO: Acknowledgment sent {"connection_id":159723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:31:27] local.INFO: TCP Data received {"connection_id":159723,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:31:27] local.INFO: Processing buffer {"connection_id":159723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:31:27] local.INFO: Packet analysis {"connection_id":159723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:31:27] local.INFO: Extracted packet for processing {"connection_id":159723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561393152001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:31: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-22 03:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787349493000,"timestamp_ms":1787349493000,"timestamp_seconds":1787349493,"priority":1,"record_length":96,"hex_timestamp":"000001a02654e508"} 
[2026-08-22 03: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-22 03:31: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-22 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 03:31:27] 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-22 03: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-22 03: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-22 03:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561393152001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561393152001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:31:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561393152001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":159723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:31:27] local.INFO: GPS data processed {"connection_id":159723,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:31:27] local.INFO: Acknowledgment sent {"connection_id":159723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:31:55] local.INFO: TCP Data received {"connection_id":159448,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:31:55] local.INFO: Processing buffer {"connection_id":159448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:31:55] local.INFO: IMEI packet received {"connection_id":159448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":159448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:32:00] local.INFO: TCP Data received {"connection_id":159448,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:32:00] local.INFO: Processing buffer {"connection_id":159448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:32:00] local.INFO: IMEI packet received {"connection_id":159448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":159448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:32:01] local.INFO: TCP Data received {"connection_id":159448,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:32:01] local.INFO: Processing buffer {"connection_id":159448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:32:01] local.INFO: Packet analysis {"connection_id":159448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:32:01] local.INFO: Extracted packet for processing {"connection_id":159448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561393152001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:32: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-22 03:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787349493000,"timestamp_ms":1787349493000,"timestamp_seconds":1787349493,"priority":1,"record_length":96,"hex_timestamp":"000001a02654e508"} 
[2026-08-22 03: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-22 03:32: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-22 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 03:32:01] 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-22 03: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-22 03: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-22 03:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561393152001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561393152001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:32:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561393152001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":159448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:32:01] local.INFO: GPS data processed {"connection_id":159448,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:32:01] local.INFO: Acknowledgment sent {"connection_id":159448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:32:06] local.INFO: TCP Data received {"connection_id":159448,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:32:06] local.INFO: Processing buffer {"connection_id":159448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:32:06] local.INFO: Packet analysis {"connection_id":159448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:32:06] local.INFO: Extracted packet for processing {"connection_id":159448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561393152001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:32:06] 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-22 03:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787349493000,"timestamp_ms":1787349493000,"timestamp_seconds":1787349493,"priority":1,"record_length":96,"hex_timestamp":"000001a02654e508"} 
[2026-08-22 03:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:32:06] 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-22 03:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 03:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561393152001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561393152001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:32:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561393152001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":159448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:32:06] local.INFO: GPS data processed {"connection_id":159448,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:32:06] local.INFO: Acknowledgment sent {"connection_id":159448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:32:50] local.INFO: TCP Data received {"connection_id":160633,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:32:50] local.INFO: Processing buffer {"connection_id":160633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:32:50] local.INFO: IMEI packet received {"connection_id":160633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":160633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:32:55] local.INFO: TCP Data received {"connection_id":160633,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:32:55] local.INFO: Processing buffer {"connection_id":160633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:32:55] local.INFO: IMEI packet received {"connection_id":160633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":160633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:32:56] local.INFO: TCP Data received {"connection_id":160633,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:32:56] local.INFO: Processing buffer {"connection_id":160633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:32:56] local.INFO: Packet analysis {"connection_id":160633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:32:56] local.INFO: Extracted packet for processing {"connection_id":160633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561393152001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:32: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-22 03:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787349493000,"timestamp_ms":1787349493000,"timestamp_seconds":1787349493,"priority":1,"record_length":96,"hex_timestamp":"000001a02654e508"} 
[2026-08-22 03: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-22 03:32: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-22 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 03:32: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-22 03: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-22 03: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-22 03:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561393152001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561393152001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:32:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561393152001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":160633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:32:56] local.INFO: GPS data processed {"connection_id":160633,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:32:56] local.INFO: Acknowledgment sent {"connection_id":160633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:33:27] local.INFO: TCP Data received {"connection_id":160633,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:33:27] local.INFO: Processing buffer {"connection_id":160633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02654e508012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:33:27] local.INFO: Packet analysis {"connection_id":160633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:33:27] local.INFO: Extracted packet for processing {"connection_id":160633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02654"} 
[2026-08-22 03:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561393152001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:33: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-22 03:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787349493000,"timestamp_ms":1787349493000,"timestamp_seconds":1787349493,"priority":1,"record_length":96,"hex_timestamp":"000001a02654e508"} 
[2026-08-22 03: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-22 03:33: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-22 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 03:33:27] 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-22 03: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-22 03: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-22 03:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561393152001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561393152001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:33:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561393152001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":160633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:33:27] local.INFO: GPS data processed {"connection_id":160633,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:33:27] local.INFO: Acknowledgment sent {"connection_id":160633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:33:50] local.INFO: TCP Data received {"connection_id":160634,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:33:50] local.INFO: Processing buffer {"connection_id":160634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:33:50] local.INFO: IMEI packet received {"connection_id":160634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":160634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:33:52] local.INFO: TCP Data received {"connection_id":160634,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:33:52] local.INFO: Processing buffer {"connection_id":160634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:33:52] local.INFO: IMEI packet received {"connection_id":160634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":160634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:33:55] local.INFO: TCP Data received {"connection_id":160634,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:33:55] local.INFO: Processing buffer {"connection_id":160634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:33:55] local.INFO: IMEI packet received {"connection_id":160634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":160634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:33:56] local.INFO: TCP Data received {"connection_id":160634,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:33:56] local.INFO: Processing buffer {"connection_id":160634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:33:56] local.INFO: Packet analysis {"connection_id":160634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:33:56] local.INFO: Extracted packet for processing {"connection_id":160634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":26,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561470208001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:33: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-22 03:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787349794000,"timestamp_ms":1787349794000,"timestamp_seconds":1787349794,"priority":1,"record_length":96,"hex_timestamp":"000001a026597cd0"} 
[2026-08-22 03: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-22 03:33:56] 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-22 03: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-22 03: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-22 03: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-22 03: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-22 03:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561470208001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561470208001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:33:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561470208001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":160634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:33:56] local.INFO: GPS data processed {"connection_id":160634,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:33:56] local.INFO: Acknowledgment sent {"connection_id":160634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:34:01] local.INFO: TCP Data received {"connection_id":160634,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:34:01] local.INFO: Processing buffer {"connection_id":160634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:34:01] local.INFO: Packet analysis {"connection_id":160634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:34:01] local.INFO: Extracted packet for processing {"connection_id":160634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":26,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561470208001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:34: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-22 03:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787349794000,"timestamp_ms":1787349794000,"timestamp_seconds":1787349794,"priority":1,"record_length":96,"hex_timestamp":"000001a026597cd0"} 
[2026-08-22 03: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-22 03:34:01] 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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:34: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-22 03: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-22 03: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-22 03:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561470208001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561470208001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:34:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561470208001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":160634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:34:01] local.INFO: GPS data processed {"connection_id":160634,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:34:01] local.INFO: Acknowledgment sent {"connection_id":160634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:34:32] local.INFO: TCP Data received {"connection_id":160634,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:34:32] local.INFO: Processing buffer {"connection_id":160634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:34:32] local.INFO: Packet analysis {"connection_id":160634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:34:32] local.INFO: Extracted packet for processing {"connection_id":160634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":26,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561470208001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:34:32] 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-22 03:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787349794000,"timestamp_ms":1787349794000,"timestamp_seconds":1787349794,"priority":1,"record_length":96,"hex_timestamp":"000001a026597cd0"} 
[2026-08-22 03: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-22 03:34: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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:34: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-22 03: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-22 03: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-22 03:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561470208001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561470208001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:34:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:34:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561470208001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":160634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:34:32] local.INFO: GPS data processed {"connection_id":160634,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:34:32] local.INFO: Acknowledgment sent {"connection_id":160634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:34:50] local.INFO: TCP Data received {"connection_id":162039,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:34:50] local.INFO: Processing buffer {"connection_id":162039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:34:50] local.INFO: IMEI packet received {"connection_id":162039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":162039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:34:55] local.INFO: TCP Data received {"connection_id":162039,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:34:55] local.INFO: Processing buffer {"connection_id":162039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:34:55] local.INFO: IMEI packet received {"connection_id":162039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":162039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:34:56] local.INFO: TCP Data received {"connection_id":162039,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:34:56] local.INFO: Processing buffer {"connection_id":162039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:34:56] local.INFO: Packet analysis {"connection_id":162039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:34:56] local.INFO: Extracted packet for processing {"connection_id":162039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":26,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561470208001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:34: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-22 03:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787349794000,"timestamp_ms":1787349794000,"timestamp_seconds":1787349794,"priority":1,"record_length":96,"hex_timestamp":"000001a026597cd0"} 
[2026-08-22 03: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-22 03:34:56] 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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:34: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-22 03: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-22 03: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-22 03:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561470208001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561470208001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:34:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561470208001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":162039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:34:56] local.INFO: GPS data processed {"connection_id":162039,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:34:56] local.INFO: Acknowledgment sent {"connection_id":162039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:35:27] local.INFO: TCP Data received {"connection_id":162039,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:35:27] local.INFO: Processing buffer {"connection_id":162039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:35:27] local.INFO: Packet analysis {"connection_id":162039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:35:27] local.INFO: Extracted packet for processing {"connection_id":162039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":26,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561470208001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:35: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-22 03:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787349794000,"timestamp_ms":1787349794000,"timestamp_seconds":1787349794,"priority":1,"record_length":96,"hex_timestamp":"000001a026597cd0"} 
[2026-08-22 03:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:35:27] 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-22 03:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561470208001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561470208001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:35:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:35:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561470208001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":162039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:35:27] local.INFO: GPS data processed {"connection_id":162039,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:35:27] local.INFO: Acknowledgment sent {"connection_id":162039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:35:55] local.INFO: TCP Data received {"connection_id":162040,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:35:55] local.INFO: Processing buffer {"connection_id":162040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:35:55] local.INFO: IMEI packet received {"connection_id":162040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":162040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:36:00] local.INFO: TCP Data received {"connection_id":162040,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:36:00] local.INFO: Processing buffer {"connection_id":162040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:36:00] local.INFO: IMEI packet received {"connection_id":162040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":162040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:36:01] local.INFO: TCP Data received {"connection_id":162040,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:36:01] local.INFO: Processing buffer {"connection_id":162040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:36:01] local.INFO: Packet analysis {"connection_id":162040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:36:01] local.INFO: Extracted packet for processing {"connection_id":162040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":26,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561470208001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:36: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-22 03:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787349794000,"timestamp_ms":1787349794000,"timestamp_seconds":1787349794,"priority":1,"record_length":96,"hex_timestamp":"000001a026597cd0"} 
[2026-08-22 03: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-22 03:36:01] 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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:36: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-22 03: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-22 03: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-22 03:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561470208001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561470208001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:36:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561470208001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":162040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:36:01] local.INFO: GPS data processed {"connection_id":162040,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:36:01] local.INFO: Acknowledgment sent {"connection_id":162040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:36:06] local.INFO: TCP Data received {"connection_id":162040,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:36:06] local.INFO: Processing buffer {"connection_id":162040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:36:06] local.INFO: Packet analysis {"connection_id":162040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:36:06] local.INFO: Extracted packet for processing {"connection_id":162040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":26,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561470208001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:36:06] 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-22 03:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787349794000,"timestamp_ms":1787349794000,"timestamp_seconds":1787349794,"priority":1,"record_length":96,"hex_timestamp":"000001a026597cd0"} 
[2026-08-22 03:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:36:06] 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-22 03:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561470208001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561470208001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:36:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561470208001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":162040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:36:06] local.INFO: GPS data processed {"connection_id":162040,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:36:06] local.INFO: Acknowledgment sent {"connection_id":162040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:36:50] local.INFO: TCP Data received {"connection_id":159449,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:36:50] local.INFO: Processing buffer {"connection_id":159449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:36:50] local.INFO: IMEI packet received {"connection_id":159449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":159449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:36:55] local.INFO: TCP Data received {"connection_id":159449,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:36:55] local.INFO: Processing buffer {"connection_id":159449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:36:55] local.INFO: IMEI packet received {"connection_id":159449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":159449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:36:56] local.INFO: TCP Data received {"connection_id":159449,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:36:56] local.INFO: Processing buffer {"connection_id":159449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:36:56] local.INFO: Packet analysis {"connection_id":159449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:36:56] local.INFO: Extracted packet for processing {"connection_id":159449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":26,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561470208001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:36: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-22 03:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787349794000,"timestamp_ms":1787349794000,"timestamp_seconds":1787349794,"priority":1,"record_length":96,"hex_timestamp":"000001a026597cd0"} 
[2026-08-22 03: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-22 03:36:56] 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-22 03: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:36: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-22 03: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-22 03: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-22 03:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561470208001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561470208001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:36:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561470208001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":159449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:36:56] local.INFO: GPS data processed {"connection_id":159449,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:36:56] local.INFO: Acknowledgment sent {"connection_id":159449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:37:01] local.INFO: TCP Data received {"connection_id":159449,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:37:01] local.INFO: Processing buffer {"connection_id":159449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:37:01] local.INFO: Packet analysis {"connection_id":159449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:37:01] local.INFO: Extracted packet for processing {"connection_id":159449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":26,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561470208001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:37: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-22 03:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787349794000,"timestamp_ms":1787349794000,"timestamp_seconds":1787349794,"priority":1,"record_length":96,"hex_timestamp":"000001a026597cd0"} 
[2026-08-22 03: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-22 03:37:01] 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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:37: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-22 03: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-22 03: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-22 03:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561470208001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561470208001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:37:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561470208001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":159449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:37:01] local.INFO: GPS data processed {"connection_id":159449,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:37:01] local.INFO: Acknowledgment sent {"connection_id":159449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:37:32] local.INFO: TCP Data received {"connection_id":159449,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:37:32] local.INFO: Processing buffer {"connection_id":159449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:37:32] local.INFO: Packet analysis {"connection_id":159449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:37:32] local.INFO: Extracted packet for processing {"connection_id":159449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":26,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 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-22 03:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561470208001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:37:32] 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-22 03:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787349794000,"timestamp_ms":1787349794000,"timestamp_seconds":1787349794,"priority":1,"record_length":96,"hex_timestamp":"000001a026597cd0"} 
[2026-08-22 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-22 03:37: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-22 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":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:37: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-22 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-22 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-22 03:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561470208001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561470208001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:37:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:37:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561470208001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":159449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:37:32] local.INFO: GPS data processed {"connection_id":159449,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:37:32] local.INFO: Acknowledgment sent {"connection_id":159449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:37:50] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:37:50] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:37:50] local.INFO: IMEI packet received {"connection_id":162041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":162041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:37:55] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:37:55] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:37:55] local.INFO: IMEI packet received {"connection_id":162041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":162041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:37:56] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:37:56] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:37:56] local.INFO: Packet analysis {"connection_id":162041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:37:56] local.INFO: Extracted packet for processing {"connection_id":162041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":26,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561470208001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:37: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-22 03:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787349794000,"timestamp_ms":1787349794000,"timestamp_seconds":1787349794,"priority":1,"record_length":96,"hex_timestamp":"000001a026597cd0"} 
[2026-08-22 03: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-22 03:37:56] 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-22 03: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:37: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-22 03: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-22 03: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-22 03:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561470208001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561470208001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:37:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561470208001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":162041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:37:56] local.INFO: GPS data processed {"connection_id":162041,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:37:56] local.INFO: Acknowledgment sent {"connection_id":162041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:38:27] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:38:27] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026597cd0012d7f8ac005afe2d0000000fa1a..."} 
[2026-08-22 03:38:27] local.INFO: Packet analysis {"connection_id":162041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:38:27] local.INFO: Extracted packet for processing {"connection_id":162041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02659"} 
[2026-08-22 03:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":26,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561470208001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:38: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-22 03:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787349794000,"timestamp_ms":1787349794000,"timestamp_seconds":1787349794,"priority":1,"record_length":96,"hex_timestamp":"000001a026597cd0"} 
[2026-08-22 03: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-22 03:38:27] 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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561470208001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561470208001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:38:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561470208001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":162041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:38:27] local.INFO: GPS data processed {"connection_id":162041,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:38:27] local.INFO: Acknowledgment sent {"connection_id":162041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:38:50] local.INFO: TCP Data received {"connection_id":159450,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:38:50] local.INFO: Processing buffer {"connection_id":159450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:38:50] local.INFO: IMEI packet received {"connection_id":159450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":159450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:38:53] local.INFO: TCP Data received {"connection_id":159450,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:38:53] local.INFO: Processing buffer {"connection_id":159450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:38:53] local.INFO: IMEI packet received {"connection_id":159450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":159450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:38:54] local.INFO: TCP Data received {"connection_id":159450,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:38:54] local.INFO: Processing buffer {"connection_id":159450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:38:54] local.INFO: Packet analysis {"connection_id":159450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:38:54] local.INFO: Extracted packet for processing {"connection_id":159450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561547264001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:38: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-22 03:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787350095000,"timestamp_ms":1787350095000,"timestamp_seconds":1787350095,"priority":1,"record_length":96,"hex_timestamp":"000001a0265e1498"} 
[2026-08-22 03:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:38: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-22 03:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 03:38:54] 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-22 03:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561547264001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561547264001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:38:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:38:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561547264001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":159450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:38:54] local.INFO: GPS data processed {"connection_id":159450,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:38:54] local.INFO: Acknowledgment sent {"connection_id":159450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:39:25] local.INFO: TCP Data received {"connection_id":159450,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:39:25] local.INFO: Processing buffer {"connection_id":159450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:39:25] local.INFO: Packet analysis {"connection_id":159450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:39:25] local.INFO: Extracted packet for processing {"connection_id":159450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:39:25] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561547264001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787350095000,"timestamp_ms":1787350095000,"timestamp_seconds":1787350095,"priority":1,"record_length":96,"hex_timestamp":"000001a0265e1498"} 
[2026-08-22 03: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-22 03:39:25] 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-22 03: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 03:39:25] 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-22 03: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-22 03: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-22 03:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561547264001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561547264001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:39:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:39:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561547264001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":159450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:39:25] local.INFO: GPS data processed {"connection_id":159450,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:39:25] local.INFO: Acknowledgment sent {"connection_id":159450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:39:55] local.INFO: TCP Data received {"connection_id":159451,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:39:55] local.INFO: Processing buffer {"connection_id":159451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:39:55] local.INFO: IMEI packet received {"connection_id":159451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":159451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:40:00] local.INFO: TCP Data received {"connection_id":159451,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:40:00] local.INFO: Processing buffer {"connection_id":159451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:40:00] local.INFO: IMEI packet received {"connection_id":159451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":159451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:40:01] local.INFO: TCP Data received {"connection_id":159451,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:40:01] local.INFO: Processing buffer {"connection_id":159451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:40:01] local.INFO: Packet analysis {"connection_id":159451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:40:01] local.INFO: Extracted packet for processing {"connection_id":159451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561547264001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:40: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-22 03:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787350095000,"timestamp_ms":1787350095000,"timestamp_seconds":1787350095,"priority":1,"record_length":96,"hex_timestamp":"000001a0265e1498"} 
[2026-08-22 03: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-22 03:40: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-22 03: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 03:40:01] 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-22 03: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-22 03: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-22 03:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561547264001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561547264001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:40:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561547264001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":159451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:40:01] local.INFO: GPS data processed {"connection_id":159451,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:40:01] local.INFO: Acknowledgment sent {"connection_id":159451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:40:08] local.INFO: TCP Data received {"connection_id":159451,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:40:08] local.INFO: Processing buffer {"connection_id":159451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:40:08] local.INFO: Packet analysis {"connection_id":159451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:40:08] local.INFO: Extracted packet for processing {"connection_id":159451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561547264001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:40:08] 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-22 03:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787350095000,"timestamp_ms":1787350095000,"timestamp_seconds":1787350095,"priority":1,"record_length":96,"hex_timestamp":"000001a0265e1498"} 
[2026-08-22 03: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-22 03:40:08] 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-22 03: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 03:40:08] 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-22 03: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-22 03: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-22 03:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561547264001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561547264001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:40:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561547264001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":159451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:40:08] local.INFO: GPS data processed {"connection_id":159451,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:40:08] local.INFO: Acknowledgment sent {"connection_id":159451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:40:50] local.INFO: TCP Data received {"connection_id":162042,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:40:50] local.INFO: Processing buffer {"connection_id":162042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:40:50] local.INFO: IMEI packet received {"connection_id":162042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":162042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:40:55] local.INFO: TCP Data received {"connection_id":162042,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:40:55] local.INFO: Processing buffer {"connection_id":162042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:40:55] local.INFO: IMEI packet received {"connection_id":162042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":162042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:40:56] local.INFO: TCP Data received {"connection_id":162042,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:40:56] local.INFO: Processing buffer {"connection_id":162042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:40:56] local.INFO: Packet analysis {"connection_id":162042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:40:56] local.INFO: Extracted packet for processing {"connection_id":162042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561547264001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787350095000,"timestamp_ms":1787350095000,"timestamp_seconds":1787350095,"priority":1,"record_length":96,"hex_timestamp":"000001a0265e1498"} 
[2026-08-22 03: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-22 03:40: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-22 03:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 03:40: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-22 03: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-22 03: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-22 03:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561547264001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561547264001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:40:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561547264001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":162042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:40:56] local.INFO: GPS data processed {"connection_id":162042,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:40:56] local.INFO: Acknowledgment sent {"connection_id":162042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:41:27] local.INFO: TCP Data received {"connection_id":162042,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:41:27] local.INFO: Processing buffer {"connection_id":162042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:41:27] local.INFO: Packet analysis {"connection_id":162042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:41:27] local.INFO: Extracted packet for processing {"connection_id":162042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561547264001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:41: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-22 03:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787350095000,"timestamp_ms":1787350095000,"timestamp_seconds":1787350095,"priority":1,"record_length":96,"hex_timestamp":"000001a0265e1498"} 
[2026-08-22 03: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-22 03:41: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-22 03:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 03:41:27] 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-22 03: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-22 03: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-22 03:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561547264001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561547264001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:41:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561547264001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":162042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:41:27] local.INFO: GPS data processed {"connection_id":162042,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:41:27] local.INFO: Acknowledgment sent {"connection_id":162042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:41:50] local.INFO: TCP Data received {"connection_id":160635,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:41:50] local.INFO: Processing buffer {"connection_id":160635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:41:50] local.INFO: IMEI packet received {"connection_id":160635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":160635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:41:55] local.INFO: TCP Data received {"connection_id":160635,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:41:55] local.INFO: Processing buffer {"connection_id":160635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:41:55] local.INFO: IMEI packet received {"connection_id":160635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":160635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:41:56] local.INFO: TCP Data received {"connection_id":160635,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:41:56] local.INFO: Processing buffer {"connection_id":160635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:41:56] local.INFO: Packet analysis {"connection_id":160635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:41:56] local.INFO: Extracted packet for processing {"connection_id":160635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561547264001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787350095000,"timestamp_ms":1787350095000,"timestamp_seconds":1787350095,"priority":1,"record_length":96,"hex_timestamp":"000001a0265e1498"} 
[2026-08-22 03: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-22 03:41: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-22 03: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 03:41: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-22 03: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-22 03: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-22 03:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561547264001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561547264001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:41:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561547264001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":160635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:41:56] local.INFO: GPS data processed {"connection_id":160635,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:41:56] local.INFO: Acknowledgment sent {"connection_id":160635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:42:27] local.INFO: TCP Data received {"connection_id":160635,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:42:27] local.INFO: Processing buffer {"connection_id":160635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:42:27] local.INFO: Packet analysis {"connection_id":160635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:42:27] local.INFO: Extracted packet for processing {"connection_id":160635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561547264001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:42: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-22 03:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787350095000,"timestamp_ms":1787350095000,"timestamp_seconds":1787350095,"priority":1,"record_length":96,"hex_timestamp":"000001a0265e1498"} 
[2026-08-22 03: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-22 03:42: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-22 03:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 03:42:27] 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-22 03: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-22 03: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-22 03:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561547264001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561547264001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:42:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561547264001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":160635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:42:27] local.INFO: GPS data processed {"connection_id":160635,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:42:27] local.INFO: Acknowledgment sent {"connection_id":160635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:42:50] local.INFO: TCP Data received {"connection_id":160636,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:42:50] local.INFO: Processing buffer {"connection_id":160636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:42:50] local.INFO: IMEI packet received {"connection_id":160636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":160636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:42:55] local.INFO: TCP Data received {"connection_id":160636,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:42:55] local.INFO: Processing buffer {"connection_id":160636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:42:55] local.INFO: IMEI packet received {"connection_id":160636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":160636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:42:56] local.INFO: TCP Data received {"connection_id":160636,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:42:56] local.INFO: Processing buffer {"connection_id":160636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:42:56] local.INFO: Packet analysis {"connection_id":160636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:42:56] local.INFO: Extracted packet for processing {"connection_id":160636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561547264001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787350095000,"timestamp_ms":1787350095000,"timestamp_seconds":1787350095,"priority":1,"record_length":96,"hex_timestamp":"000001a0265e1498"} 
[2026-08-22 03: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-22 03:42: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-22 03: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 03:42: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-22 03: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-22 03: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-22 03:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561547264001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561547264001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:42:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561547264001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":160636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:42:56] local.INFO: GPS data processed {"connection_id":160636,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:42:56] local.INFO: Acknowledgment sent {"connection_id":160636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:43:27] local.INFO: TCP Data received {"connection_id":160636,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:43:27] local.INFO: Processing buffer {"connection_id":160636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0265e1498012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 03:43:27] local.INFO: Packet analysis {"connection_id":160636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:43:27] local.INFO: Extracted packet for processing {"connection_id":160636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0265e"} 
[2026-08-22 03:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561547264001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:43: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-22 03:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787350095000,"timestamp_ms":1787350095000,"timestamp_seconds":1787350095,"priority":1,"record_length":96,"hex_timestamp":"000001a0265e1498"} 
[2026-08-22 03: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-22 03:43: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-22 03: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 03:43:27] 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-22 03: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-22 03: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-22 03:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561547264001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561547264001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:43:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561547264001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":160636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:43:27] local.INFO: GPS data processed {"connection_id":160636,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:43:27] local.INFO: Acknowledgment sent {"connection_id":160636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:43:50] local.INFO: TCP Data received {"connection_id":159452,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:43:50] local.INFO: Processing buffer {"connection_id":159452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:43:50] local.INFO: IMEI packet received {"connection_id":159452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":159452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:43:54] local.INFO: TCP Data received {"connection_id":159452,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:43:54] local.INFO: Processing buffer {"connection_id":159452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:43:54] local.INFO: IMEI packet received {"connection_id":159452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":159452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:43:55] local.INFO: TCP Data received {"connection_id":159452,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:43:55] local.INFO: Processing buffer {"connection_id":159452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:43:55] local.INFO: Packet analysis {"connection_id":159452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:43:55] local.INFO: Extracted packet for processing {"connection_id":159452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561624320001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:43: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-22 03:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787350396000,"timestamp_ms":1787350396000,"timestamp_seconds":1787350396,"priority":1,"record_length":96,"hex_timestamp":"000001a02662ac60"} 
[2026-08-22 03: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-22 03:43:55] 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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:43: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-22 03: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-22 03: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-22 03:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561624320001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561624320001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:43:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:43:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561624320001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":159452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:43:55] local.INFO: GPS data processed {"connection_id":159452,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:43:55] local.INFO: Acknowledgment sent {"connection_id":159452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:44:26] local.INFO: TCP Data received {"connection_id":159452,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:44:26] local.INFO: Processing buffer {"connection_id":159452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:44:26] local.INFO: Packet analysis {"connection_id":159452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:44:26] local.INFO: Extracted packet for processing {"connection_id":159452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561624320001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:44: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-22 03:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787350396000,"timestamp_ms":1787350396000,"timestamp_seconds":1787350396,"priority":1,"record_length":96,"hex_timestamp":"000001a02662ac60"} 
[2026-08-22 03: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-22 03:44:26] 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-22 03:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561624320001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561624320001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:44:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:44:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561624320001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":159452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:44:26] local.INFO: GPS data processed {"connection_id":159452,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:44:26] local.INFO: Acknowledgment sent {"connection_id":159452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:44:50] local.INFO: TCP Data received {"connection_id":162043,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:44:50] local.INFO: Processing buffer {"connection_id":162043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:44:50] local.INFO: IMEI packet received {"connection_id":162043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":162043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:44:55] local.INFO: TCP Data received {"connection_id":162043,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:44:55] local.INFO: Processing buffer {"connection_id":162043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:44:55] local.INFO: IMEI packet received {"connection_id":162043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":162043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:44:56] local.INFO: TCP Data received {"connection_id":162043,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:44:56] local.INFO: Processing buffer {"connection_id":162043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:44:56] local.INFO: Packet analysis {"connection_id":162043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:44:56] local.INFO: Extracted packet for processing {"connection_id":162043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561624320001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787350396000,"timestamp_ms":1787350396000,"timestamp_seconds":1787350396,"priority":1,"record_length":96,"hex_timestamp":"000001a02662ac60"} 
[2026-08-22 03: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-22 03:44:56] 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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:44: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-22 03: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-22 03: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-22 03:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561624320001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561624320001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:44:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561624320001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":162043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:44:56] local.INFO: GPS data processed {"connection_id":162043,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:44:56] local.INFO: Acknowledgment sent {"connection_id":162043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:45:27] local.INFO: TCP Data received {"connection_id":162043,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:45:27] local.INFO: Processing buffer {"connection_id":162043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:45:27] local.INFO: Packet analysis {"connection_id":162043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:45:27] local.INFO: Extracted packet for processing {"connection_id":162043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:45:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561624320001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:45: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-22 03:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787350396000,"timestamp_ms":1787350396000,"timestamp_seconds":1787350396,"priority":1,"record_length":96,"hex_timestamp":"000001a02662ac60"} 
[2026-08-22 03: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-22 03:45:27] 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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561624320001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561624320001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:45:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:45:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561624320001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":162043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:45:27] local.INFO: GPS data processed {"connection_id":162043,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:45:27] local.INFO: Acknowledgment sent {"connection_id":162043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:45:50] local.INFO: TCP Data received {"connection_id":160637,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:45:50] local.INFO: Processing buffer {"connection_id":160637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:45:50] local.INFO: IMEI packet received {"connection_id":160637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":160637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:45:55] local.INFO: TCP Data received {"connection_id":160637,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:45:55] local.INFO: Processing buffer {"connection_id":160637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:45:55] local.INFO: IMEI packet received {"connection_id":160637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":160637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:45:56] local.INFO: TCP Data received {"connection_id":160637,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:45:56] local.INFO: Processing buffer {"connection_id":160637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:45:56] local.INFO: Packet analysis {"connection_id":160637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:45:56] local.INFO: Extracted packet for processing {"connection_id":160637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561624320001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:45: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-22 03:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787350396000,"timestamp_ms":1787350396000,"timestamp_seconds":1787350396,"priority":1,"record_length":96,"hex_timestamp":"000001a02662ac60"} 
[2026-08-22 03: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-22 03:45:56] 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-22 03: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:45: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-22 03: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-22 03: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-22 03:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561624320001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561624320001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:45:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561624320001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":160637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:45:56] local.INFO: GPS data processed {"connection_id":160637,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:45:56] local.INFO: Acknowledgment sent {"connection_id":160637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:46:27] local.INFO: TCP Data received {"connection_id":160637,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:46:27] local.INFO: Processing buffer {"connection_id":160637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:46:27] local.INFO: Packet analysis {"connection_id":160637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:46:27] local.INFO: Extracted packet for processing {"connection_id":160637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561624320001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:46: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-22 03:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787350396000,"timestamp_ms":1787350396000,"timestamp_seconds":1787350396,"priority":1,"record_length":96,"hex_timestamp":"000001a02662ac60"} 
[2026-08-22 03: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-22 03:46:27] 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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561624320001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561624320001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:46:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561624320001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":160637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:46:27] local.INFO: GPS data processed {"connection_id":160637,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:46:27] local.INFO: Acknowledgment sent {"connection_id":160637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:46:50] local.INFO: TCP Data received {"connection_id":160638,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:46:50] local.INFO: Processing buffer {"connection_id":160638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:46:50] local.INFO: IMEI packet received {"connection_id":160638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":160638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:46:55] local.INFO: TCP Data received {"connection_id":160638,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:46:55] local.INFO: Processing buffer {"connection_id":160638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:46:55] local.INFO: IMEI packet received {"connection_id":160638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":160638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:47:03] local.INFO: TCP Data received {"connection_id":160638,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:47:03] local.INFO: Processing buffer {"connection_id":160638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:47:03] local.INFO: Packet analysis {"connection_id":160638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:47:03] local.INFO: Extracted packet for processing {"connection_id":160638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:47:03] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561624320001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:47:03] 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-22 03:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787350396000,"timestamp_ms":1787350396000,"timestamp_seconds":1787350396,"priority":1,"record_length":96,"hex_timestamp":"000001a02662ac60"} 
[2026-08-22 03:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:47:03] 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-22 03:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:47:03] 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-22 03:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561624320001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561624320001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:47:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:47:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561624320001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":160638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:47:03] local.INFO: GPS data processed {"connection_id":160638,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:47:03] local.INFO: Acknowledgment sent {"connection_id":160638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:47:34] local.INFO: TCP Data received {"connection_id":160638,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:47:34] local.INFO: Processing buffer {"connection_id":160638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:47:34] local.INFO: Packet analysis {"connection_id":160638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:47:34] local.INFO: Extracted packet for processing {"connection_id":160638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561624320001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787350396000,"timestamp_ms":1787350396000,"timestamp_seconds":1787350396,"priority":1,"record_length":96,"hex_timestamp":"000001a02662ac60"} 
[2026-08-22 03: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-22 03:47:34] 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-22 03: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:47: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-22 03: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-22 03: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-22 03:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561624320001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561624320001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:47:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:47:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561624320001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":160638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:47:34] local.INFO: GPS data processed {"connection_id":160638,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:47:34] local.INFO: Acknowledgment sent {"connection_id":160638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:47:50] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:47:50] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:47:50] local.INFO: IMEI packet received {"connection_id":162044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":162044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:47:55] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:47:55] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:47:55] local.INFO: IMEI packet received {"connection_id":162044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":162044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:47:56] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:47:56] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:47:56] local.INFO: Packet analysis {"connection_id":162044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:47:56] local.INFO: Extracted packet for processing {"connection_id":162044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561624320001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:47: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-22 03:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787350396000,"timestamp_ms":1787350396000,"timestamp_seconds":1787350396,"priority":1,"record_length":96,"hex_timestamp":"000001a02662ac60"} 
[2026-08-22 03: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-22 03:47:56] 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-22 03: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:47: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-22 03: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-22 03: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-22 03:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561624320001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561624320001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:47:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561624320001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":162044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:47:56] local.INFO: GPS data processed {"connection_id":162044,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:47:56] local.INFO: Acknowledgment sent {"connection_id":162044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:48:27] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:48:27] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02662ac60012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 03:48:27] local.INFO: Packet analysis {"connection_id":162044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:48:27] local.INFO: Extracted packet for processing {"connection_id":162044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02662"} 
[2026-08-22 03:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561624320001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:48: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-22 03:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787350396000,"timestamp_ms":1787350396000,"timestamp_seconds":1787350396,"priority":1,"record_length":96,"hex_timestamp":"000001a02662ac60"} 
[2026-08-22 03:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:48:27] 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-22 03:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561624320001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561624320001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:48:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561624320001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":162044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:48:27] local.INFO: GPS data processed {"connection_id":162044,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:48:27] local.INFO: Acknowledgment sent {"connection_id":162044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:48:50] local.INFO: TCP Data received {"connection_id":159724,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:48:50] local.INFO: Processing buffer {"connection_id":159724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:48:50] local.INFO: IMEI packet received {"connection_id":159724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":159724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:48:55] local.INFO: TCP Data received {"connection_id":159724,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:48:55] local.INFO: Processing buffer {"connection_id":159724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:48:55] local.INFO: IMEI packet received {"connection_id":159724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":159724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:48:56] local.INFO: TCP Data received {"connection_id":159724,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:48:56] local.INFO: Processing buffer {"connection_id":159724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:48:56] local.INFO: Packet analysis {"connection_id":159724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:48:56] local.INFO: Extracted packet for processing {"connection_id":159724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":25,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561701376001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787350697000,"timestamp_ms":1787350697000,"timestamp_seconds":1787350697,"priority":1,"record_length":96,"hex_timestamp":"000001a026674428"} 
[2026-08-22 03: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-22 03:48:56] 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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:48: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-22 03: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-22 03: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-22 03:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561701376001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561701376001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:48:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561701376001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":159724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:48:56] local.INFO: GPS data processed {"connection_id":159724,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:48:56] local.INFO: Acknowledgment sent {"connection_id":159724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:49:27] local.INFO: TCP Data received {"connection_id":159724,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:49:27] local.INFO: Processing buffer {"connection_id":159724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:49:27] local.INFO: Packet analysis {"connection_id":159724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:49:27] local.INFO: Extracted packet for processing {"connection_id":159724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":25,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561701376001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:49: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-22 03:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787350697000,"timestamp_ms":1787350697000,"timestamp_seconds":1787350697,"priority":1,"record_length":96,"hex_timestamp":"000001a026674428"} 
[2026-08-22 03: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-22 03:49:27] 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-22 03:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561701376001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561701376001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:49:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561701376001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":159724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:49:27] local.INFO: GPS data processed {"connection_id":159724,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:49:27] local.INFO: Acknowledgment sent {"connection_id":159724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:49:50] local.INFO: TCP Data received {"connection_id":160639,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:49:50] local.INFO: Processing buffer {"connection_id":160639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:49:50] local.INFO: IMEI packet received {"connection_id":160639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":160639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:49:55] local.INFO: TCP Data received {"connection_id":160639,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:49:55] local.INFO: Processing buffer {"connection_id":160639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:49:55] local.INFO: IMEI packet received {"connection_id":160639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":160639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:49:56] local.INFO: TCP Data received {"connection_id":160639,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:49:56] local.INFO: Processing buffer {"connection_id":160639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:49:56] local.INFO: Packet analysis {"connection_id":160639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:49:56] local.INFO: Extracted packet for processing {"connection_id":160639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":25,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561701376001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:49: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-22 03:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787350697000,"timestamp_ms":1787350697000,"timestamp_seconds":1787350697,"priority":1,"record_length":96,"hex_timestamp":"000001a026674428"} 
[2026-08-22 03: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-22 03:49:56] 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-22 03: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:49: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-22 03: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-22 03: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-22 03:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561701376001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561701376001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:49:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561701376001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":160639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:49:56] local.INFO: GPS data processed {"connection_id":160639,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:49:56] local.INFO: Acknowledgment sent {"connection_id":160639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:50:27] local.INFO: TCP Data received {"connection_id":160639,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:50:27] local.INFO: Processing buffer {"connection_id":160639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:50:27] local.INFO: Packet analysis {"connection_id":160639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:50:27] local.INFO: Extracted packet for processing {"connection_id":160639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":25,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561701376001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:50: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-22 03:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787350697000,"timestamp_ms":1787350697000,"timestamp_seconds":1787350697,"priority":1,"record_length":96,"hex_timestamp":"000001a026674428"} 
[2026-08-22 03:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:50:27] 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-22 03:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561701376001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561701376001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:50:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561701376001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":160639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:50:27] local.INFO: GPS data processed {"connection_id":160639,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:50:27] local.INFO: Acknowledgment sent {"connection_id":160639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:50:50] local.INFO: TCP Data received {"connection_id":159725,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:50:50] local.INFO: Processing buffer {"connection_id":159725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:50:50] local.INFO: IMEI packet received {"connection_id":159725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":159725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:50:55] local.INFO: TCP Data received {"connection_id":159725,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:50:55] local.INFO: Processing buffer {"connection_id":159725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:50:55] local.INFO: IMEI packet received {"connection_id":159725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":159725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:50:56] local.INFO: TCP Data received {"connection_id":159725,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:50:56] local.INFO: Processing buffer {"connection_id":159725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:50:56] local.INFO: Packet analysis {"connection_id":159725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:50:56] local.INFO: Extracted packet for processing {"connection_id":159725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":25,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561701376001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:50: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-22 03:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787350697000,"timestamp_ms":1787350697000,"timestamp_seconds":1787350697,"priority":1,"record_length":96,"hex_timestamp":"000001a026674428"} 
[2026-08-22 03: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-22 03:50:56] 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-22 03: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:50: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-22 03: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-22 03: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-22 03:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561701376001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561701376001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:50:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561701376001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":159725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:50:56] local.INFO: GPS data processed {"connection_id":159725,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:50:56] local.INFO: Acknowledgment sent {"connection_id":159725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:51:27] local.INFO: TCP Data received {"connection_id":159725,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:51:27] local.INFO: Processing buffer {"connection_id":159725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:51:27] local.INFO: Packet analysis {"connection_id":159725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:51:27] local.INFO: Extracted packet for processing {"connection_id":159725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":25,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561701376001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:51: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-22 03:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787350697000,"timestamp_ms":1787350697000,"timestamp_seconds":1787350697,"priority":1,"record_length":96,"hex_timestamp":"000001a026674428"} 
[2026-08-22 03: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-22 03:51:27] 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-22 03:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561701376001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561701376001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:51:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561701376001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":159725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:51:27] local.INFO: GPS data processed {"connection_id":159725,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:51:27] local.INFO: Acknowledgment sent {"connection_id":159725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:51:50] local.INFO: TCP Data received {"connection_id":160640,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:51:50] local.INFO: Processing buffer {"connection_id":160640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:51:50] local.INFO: IMEI packet received {"connection_id":160640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":160640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:51:55] local.INFO: TCP Data received {"connection_id":160640,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:51:55] local.INFO: Processing buffer {"connection_id":160640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:51:55] local.INFO: IMEI packet received {"connection_id":160640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":160640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:51:56] local.INFO: TCP Data received {"connection_id":160640,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:51:56] local.INFO: Processing buffer {"connection_id":160640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:51:56] local.INFO: Packet analysis {"connection_id":160640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:51:56] local.INFO: Extracted packet for processing {"connection_id":160640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":25,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561701376001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:51: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-22 03:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787350697000,"timestamp_ms":1787350697000,"timestamp_seconds":1787350697,"priority":1,"record_length":96,"hex_timestamp":"000001a026674428"} 
[2026-08-22 03: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-22 03:51:56] 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-22 03: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:51: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-22 03: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-22 03: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-22 03:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561701376001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561701376001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:51:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561701376001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":160640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:51:56] local.INFO: GPS data processed {"connection_id":160640,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:51:56] local.INFO: Acknowledgment sent {"connection_id":160640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:52:27] local.INFO: TCP Data received {"connection_id":160640,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:52:27] local.INFO: Processing buffer {"connection_id":160640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:52:27] local.INFO: Packet analysis {"connection_id":160640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:52:27] local.INFO: Extracted packet for processing {"connection_id":160640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":25,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561701376001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:52: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-22 03:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787350697000,"timestamp_ms":1787350697000,"timestamp_seconds":1787350697,"priority":1,"record_length":96,"hex_timestamp":"000001a026674428"} 
[2026-08-22 03: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-22 03:52:27] 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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561701376001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561701376001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:52:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:52:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561701376001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":160640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:52:27] local.INFO: GPS data processed {"connection_id":160640,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:52:27] local.INFO: Acknowledgment sent {"connection_id":160640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:52:50] local.INFO: TCP Data received {"connection_id":159726,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:52:50] local.INFO: Processing buffer {"connection_id":159726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:52:50] local.INFO: IMEI packet received {"connection_id":159726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":159726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:52:55] local.INFO: TCP Data received {"connection_id":159726,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:52:55] local.INFO: Processing buffer {"connection_id":159726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:52:55] local.INFO: IMEI packet received {"connection_id":159726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":159726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:52:58] local.INFO: TCP Data received {"connection_id":159726,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:52:58] local.INFO: Processing buffer {"connection_id":159726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:52:58] local.INFO: Packet analysis {"connection_id":159726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:52:58] local.INFO: Extracted packet for processing {"connection_id":159726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:52:58] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":25,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561701376001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:52: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-22 03:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787350697000,"timestamp_ms":1787350697000,"timestamp_seconds":1787350697,"priority":1,"record_length":96,"hex_timestamp":"000001a026674428"} 
[2026-08-22 03:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:52:58] 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-22 03:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561701376001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561701376001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:52:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:52:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561701376001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":159726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:52:58] local.INFO: GPS data processed {"connection_id":159726,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:52:58] local.INFO: Acknowledgment sent {"connection_id":159726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:53:30] local.INFO: TCP Data received {"connection_id":159726,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:53:30] local.INFO: Processing buffer {"connection_id":159726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026674428012d7f8ac005afe2d0000000fa19..."} 
[2026-08-22 03:53:30] local.INFO: Packet analysis {"connection_id":159726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:53:30] local.INFO: Extracted packet for processing {"connection_id":159726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02667"} 
[2026-08-22 03:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":25,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561701376001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:53: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-22 03:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787350697000,"timestamp_ms":1787350697000,"timestamp_seconds":1787350697,"priority":1,"record_length":96,"hex_timestamp":"000001a026674428"} 
[2026-08-22 03: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-22 03:53: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-22 03: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:53: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-22 03: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-22 03: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-22 03:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561701376001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561701376001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:53:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561701376001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":159726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:53:30] local.INFO: GPS data processed {"connection_id":159726,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:53:30] local.INFO: Acknowledgment sent {"connection_id":159726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:53:55] local.INFO: TCP Data received {"connection_id":162045,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:53:55] local.INFO: Processing buffer {"connection_id":162045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:53:55] local.INFO: IMEI packet received {"connection_id":162045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":162045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:53:56] local.INFO: TCP Data received {"connection_id":162045,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:53:56] local.INFO: Processing buffer {"connection_id":162045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:53:56] local.INFO: IMEI packet received {"connection_id":162045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":162045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:53:57] local.INFO: TCP Data received {"connection_id":162045,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:53:57] local.INFO: Processing buffer {"connection_id":162045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:53:57] local.INFO: Packet analysis {"connection_id":162045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:53:57] local.INFO: Extracted packet for processing {"connection_id":162045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:53:57] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561778432001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:53: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-22 03:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787350998000,"timestamp_ms":1787350998000,"timestamp_seconds":1787350998,"priority":1,"record_length":96,"hex_timestamp":"000001a0266bdbf0"} 
[2026-08-22 03: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-22 03:53:57] 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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:53:57] 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-22 03: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-22 03: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-22 03:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561778432001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561778432001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:53:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:53:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561778432001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":162045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:53:57] local.INFO: GPS data processed {"connection_id":162045,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:53:57] local.INFO: Acknowledgment sent {"connection_id":162045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:54:00] local.INFO: TCP Data received {"connection_id":162045,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:54:00] local.INFO: Processing buffer {"connection_id":162045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:54:00] local.INFO: Packet analysis {"connection_id":162045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:54:00] local.INFO: Extracted packet for processing {"connection_id":162045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561778432001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:54: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-22 03:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787350998000,"timestamp_ms":1787350998000,"timestamp_seconds":1787350998,"priority":1,"record_length":96,"hex_timestamp":"000001a0266bdbf0"} 
[2026-08-22 03: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-22 03:54: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-22 03:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561778432001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561778432001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:54:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561778432001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":162045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:54:00] local.INFO: GPS data processed {"connection_id":162045,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:54:00] local.INFO: Acknowledgment sent {"connection_id":162045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:54:31] local.INFO: TCP Data received {"connection_id":162045,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:54:31] local.INFO: Processing buffer {"connection_id":162045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:54:31] local.INFO: Packet analysis {"connection_id":162045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:54:31] local.INFO: Extracted packet for processing {"connection_id":162045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561778432001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:54:31] 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-22 03:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787350998000,"timestamp_ms":1787350998000,"timestamp_seconds":1787350998,"priority":1,"record_length":96,"hex_timestamp":"000001a0266bdbf0"} 
[2026-08-22 03: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-22 03:54:31] 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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:54: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-22 03: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-22 03: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-22 03:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561778432001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561778432001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:54:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:54:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561778432001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":162045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:54:31] local.INFO: GPS data processed {"connection_id":162045,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:54:31] local.INFO: Acknowledgment sent {"connection_id":162045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:54:50] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:54:50] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:54:50] local.INFO: IMEI packet received {"connection_id":162046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":162046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:54:55] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:54:55] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:54:55] local.INFO: IMEI packet received {"connection_id":162046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":162046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:54:56] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:54:56] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:54:56] local.INFO: Packet analysis {"connection_id":162046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:54:56] local.INFO: Extracted packet for processing {"connection_id":162046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561778432001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:54: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-22 03:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787350998000,"timestamp_ms":1787350998000,"timestamp_seconds":1787350998,"priority":1,"record_length":96,"hex_timestamp":"000001a0266bdbf0"} 
[2026-08-22 03: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-22 03:54:56] 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-22 03:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561778432001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561778432001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:54:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561778432001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":162046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:54:56] local.INFO: GPS data processed {"connection_id":162046,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:54:56] local.INFO: Acknowledgment sent {"connection_id":162046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:55:28] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:55:28] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:55:28] local.INFO: Packet analysis {"connection_id":162046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:55:28] local.INFO: Extracted packet for processing {"connection_id":162046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:55:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561778432001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:55: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-22 03:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787350998000,"timestamp_ms":1787350998000,"timestamp_seconds":1787350998,"priority":1,"record_length":96,"hex_timestamp":"000001a0266bdbf0"} 
[2026-08-22 03: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-22 03:55:28] 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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561778432001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561778432001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:55:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561778432001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":162046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:55:28] local.INFO: GPS data processed {"connection_id":162046,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:55:28] local.INFO: Acknowledgment sent {"connection_id":162046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:55:50] local.INFO: TCP Data received {"connection_id":159727,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:55:50] local.INFO: Processing buffer {"connection_id":159727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:55:50] local.INFO: IMEI packet received {"connection_id":159727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":159727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:55:55] local.INFO: TCP Data received {"connection_id":159727,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:55:55] local.INFO: Processing buffer {"connection_id":159727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:55:55] local.INFO: IMEI packet received {"connection_id":159727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":159727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:55:56] local.INFO: TCP Data received {"connection_id":159727,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:55:56] local.INFO: Processing buffer {"connection_id":159727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:55:56] local.INFO: Packet analysis {"connection_id":159727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:55:56] local.INFO: Extracted packet for processing {"connection_id":159727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561778432001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:55: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-22 03:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787350998000,"timestamp_ms":1787350998000,"timestamp_seconds":1787350998,"priority":1,"record_length":96,"hex_timestamp":"000001a0266bdbf0"} 
[2026-08-22 03: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-22 03:55:56] 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-22 03: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:55: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-22 03: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-22 03: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-22 03:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561778432001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561778432001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:55:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561778432001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":159727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:55:56] local.INFO: GPS data processed {"connection_id":159727,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:55:56] local.INFO: Acknowledgment sent {"connection_id":159727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:56:27] local.INFO: TCP Data received {"connection_id":159727,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:56:27] local.INFO: Processing buffer {"connection_id":159727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:56:27] local.INFO: Packet analysis {"connection_id":159727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:56:27] local.INFO: Extracted packet for processing {"connection_id":159727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561778432001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:56: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-22 03:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787350998000,"timestamp_ms":1787350998000,"timestamp_seconds":1787350998,"priority":1,"record_length":96,"hex_timestamp":"000001a0266bdbf0"} 
[2026-08-22 03: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-22 03:56:27] 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-22 03:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561778432001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561778432001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:56:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561778432001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":159727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:56:27] local.INFO: GPS data processed {"connection_id":159727,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:56:27] local.INFO: Acknowledgment sent {"connection_id":159727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:56:57] local.INFO: TCP Data received {"connection_id":162047,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:56:57] local.INFO: Processing buffer {"connection_id":162047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:56:57] local.INFO: IMEI packet received {"connection_id":162047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":162047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:57:00] local.INFO: TCP Data received {"connection_id":162047,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:57:00] local.INFO: Processing buffer {"connection_id":162047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:57:00] local.INFO: IMEI packet received {"connection_id":162047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":162047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:57:01] local.INFO: TCP Data received {"connection_id":162047,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:57:01] local.INFO: Processing buffer {"connection_id":162047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:57:01] local.INFO: Packet analysis {"connection_id":162047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:57:01] local.INFO: Extracted packet for processing {"connection_id":162047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:57:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561778432001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:57: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-22 03:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787350998000,"timestamp_ms":1787350998000,"timestamp_seconds":1787350998,"priority":1,"record_length":96,"hex_timestamp":"000001a0266bdbf0"} 
[2026-08-22 03:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:57:01] 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-22 03:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:57: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-22 03:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561778432001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561778432001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:57:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561778432001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":162047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:57:01] local.INFO: GPS data processed {"connection_id":162047,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:57:01] local.INFO: Acknowledgment sent {"connection_id":162047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:57:06] local.INFO: TCP Data received {"connection_id":162047,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:57:06] local.INFO: Processing buffer {"connection_id":162047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:57:06] local.INFO: Packet analysis {"connection_id":162047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:57:06] local.INFO: Extracted packet for processing {"connection_id":162047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 03:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561778432001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:57:06] 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-22 03:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787350998000,"timestamp_ms":1787350998000,"timestamp_seconds":1787350998,"priority":1,"record_length":96,"hex_timestamp":"000001a0266bdbf0"} 
[2026-08-22 03:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 03:57:06] 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-22 03:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 03:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 03:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561778432001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561778432001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:57:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561778432001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":162047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:57:06] local.INFO: GPS data processed {"connection_id":162047,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:57:06] local.INFO: Acknowledgment sent {"connection_id":162047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:57:50] local.INFO: TCP Data received {"connection_id":159453,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:57:50] local.INFO: Processing buffer {"connection_id":159453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:57:50] local.INFO: IMEI packet received {"connection_id":159453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":159453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:57:55] local.INFO: TCP Data received {"connection_id":159453,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:57:55] local.INFO: Processing buffer {"connection_id":159453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:57:55] local.INFO: IMEI packet received {"connection_id":159453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":159453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:57:56] local.INFO: TCP Data received {"connection_id":159453,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:57:56] local.INFO: Processing buffer {"connection_id":159453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:57:56] local.INFO: Packet analysis {"connection_id":159453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:57:56] local.INFO: Extracted packet for processing {"connection_id":159453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561778432001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787350998000,"timestamp_ms":1787350998000,"timestamp_seconds":1787350998,"priority":1,"record_length":96,"hex_timestamp":"000001a0266bdbf0"} 
[2026-08-22 03: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-22 03:57:56] 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-22 03: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:57: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-22 03: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-22 03: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-22 03:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561778432001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561778432001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:57:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561778432001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":159453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:57:56] local.INFO: GPS data processed {"connection_id":159453,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:57:56] local.INFO: Acknowledgment sent {"connection_id":159453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:58:27] local.INFO: TCP Data received {"connection_id":159453,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:58:27] local.INFO: Processing buffer {"connection_id":159453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:58:27] local.INFO: Packet analysis {"connection_id":159453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:58:27] local.INFO: Extracted packet for processing {"connection_id":159453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561778432001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:58: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-22 03:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787350998000,"timestamp_ms":1787350998000,"timestamp_seconds":1787350998,"priority":1,"record_length":96,"hex_timestamp":"000001a0266bdbf0"} 
[2026-08-22 03: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-22 03:58:27] 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-22 03:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561778432001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561778432001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:58:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561778432001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":159453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:58:27] local.INFO: GPS data processed {"connection_id":159453,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:58:27] local.INFO: Acknowledgment sent {"connection_id":159453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:58:50] local.INFO: TCP Data received {"connection_id":159454,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:58:50] local.INFO: Processing buffer {"connection_id":159454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:58:50] local.INFO: IMEI packet received {"connection_id":159454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":159454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:58:56] local.INFO: TCP Data received {"connection_id":159454,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:58:56] local.INFO: Processing buffer {"connection_id":159454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:58:56] local.INFO: IMEI packet received {"connection_id":159454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":159454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:58:57] local.INFO: TCP Data received {"connection_id":159454,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:58:57] local.INFO: Processing buffer {"connection_id":159454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0266bdbf0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:58:57] local.INFO: Packet analysis {"connection_id":159454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:58:57] local.INFO: Extracted packet for processing {"connection_id":159454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0266b"} 
[2026-08-22 03:58:57] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561778432001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:58: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-22 03:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787350998000,"timestamp_ms":1787350998000,"timestamp_seconds":1787350998,"priority":1,"record_length":96,"hex_timestamp":"000001a0266bdbf0"} 
[2026-08-22 03: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-22 03:58:57] 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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:58:57] 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-22 03: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-22 03: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-22 03:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561778432001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561778432001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:58:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:58:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561778432001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":159454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:58:57] local.INFO: GPS data processed {"connection_id":159454,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:58:57] local.INFO: Acknowledgment sent {"connection_id":159454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:59:28] local.INFO: TCP Data received {"connection_id":159454,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:59:28] local.INFO: Processing buffer {"connection_id":159454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:59:28] local.INFO: Packet analysis {"connection_id":159454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 03:59:28] local.INFO: Extracted packet for processing {"connection_id":159454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 03:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561855488001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03:59: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-22 03:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787351299000,"timestamp_ms":1787351299000,"timestamp_seconds":1787351299,"priority":1,"record_length":96,"hex_timestamp":"000001a0267073b8"} 
[2026-08-22 03: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-22 03:59:28] 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-22 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 03: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-22 03: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-22 03:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561855488001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561855488001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:59:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561855488001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":159454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:59:28] local.INFO: GPS data processed {"connection_id":159454,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:59:28] local.INFO: Acknowledgment sent {"connection_id":159454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 03:59:50] local.INFO: TCP Data received {"connection_id":159728,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:59:50] local.INFO: Processing buffer {"connection_id":159728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:59:50] local.INFO: IMEI packet received {"connection_id":159728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 03:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":159728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 03:59:55] local.INFO: TCP Data received {"connection_id":159728,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:59:55] local.INFO: Processing buffer {"connection_id":159728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 03:59:55] local.INFO: IMEI packet received {"connection_id":159728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 03:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":159728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 03:59:56] local.INFO: TCP Data received {"connection_id":159728,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:59:56] local.INFO: Processing buffer {"connection_id":159728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 03:59:56] local.INFO: Packet analysis {"connection_id":159728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 03:59:56] local.INFO: Extracted packet for processing {"connection_id":159728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 03:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 03: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-22 03:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561855488001,"note":"Value kept but may cause issues"} 
[2026-08-22 03:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 03:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 03: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-22 03:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787351299000,"timestamp_ms":1787351299000,"timestamp_seconds":1787351299,"priority":1,"record_length":96,"hex_timestamp":"000001a0267073b8"} 
[2026-08-22 03: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-22 03:59:56] 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-22 03: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 03:59: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-22 03: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-22 03: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-22 03:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 03:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 03:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 03:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 03:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 03:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 03:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561855488001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 03:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 03:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 03:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561855488001,"description":"Unknown IO ID 0"} 
[2026-08-22 03:59:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 03:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 03:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 03:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 03:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561855488001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 03:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":159728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 03:59:56] local.INFO: GPS data processed {"connection_id":159728,"processed":1,"errors":0,"total":1} 
[2026-08-22 03:59:56] local.INFO: Acknowledgment sent {"connection_id":159728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:00:27] local.INFO: TCP Data received {"connection_id":159728,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:00:27] local.INFO: Processing buffer {"connection_id":159728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:00:27] local.INFO: Packet analysis {"connection_id":159728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 04:00:27] local.INFO: Extracted packet for processing {"connection_id":159728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 04:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561855488001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:00: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-22 04:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787351299000,"timestamp_ms":1787351299000,"timestamp_seconds":1787351299,"priority":1,"record_length":96,"hex_timestamp":"000001a0267073b8"} 
[2026-08-22 04: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-22 04:00:27] 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-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561855488001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561855488001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:00:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:00:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561855488001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":159728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:00:27] local.INFO: GPS data processed {"connection_id":159728,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:00:27] local.INFO: Acknowledgment sent {"connection_id":159728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:00:55] local.INFO: TCP Data received {"connection_id":160641,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:00:55] local.INFO: Processing buffer {"connection_id":160641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:00:55] local.INFO: IMEI packet received {"connection_id":160641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":160641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:01:00] local.INFO: TCP Data received {"connection_id":160641,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:01:00] local.INFO: Processing buffer {"connection_id":160641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:01:00] local.INFO: IMEI packet received {"connection_id":160641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":160641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:01:01] local.INFO: TCP Data received {"connection_id":160641,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:01:01] local.INFO: Processing buffer {"connection_id":160641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:01:01] local.INFO: Packet analysis {"connection_id":160641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 04:01:01] local.INFO: Extracted packet for processing {"connection_id":160641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 04:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561855488001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:01: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-22 04:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787351299000,"timestamp_ms":1787351299000,"timestamp_seconds":1787351299,"priority":1,"record_length":96,"hex_timestamp":"000001a0267073b8"} 
[2026-08-22 04: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-22 04:01:01] 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-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:01: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-22 04: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-22 04: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-22 04:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561855488001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561855488001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:01:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:01:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561855488001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":160641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:01:01] local.INFO: GPS data processed {"connection_id":160641,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:01:01] local.INFO: Acknowledgment sent {"connection_id":160641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:01:05] local.INFO: TCP Data received {"connection_id":160641,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:01:05] local.INFO: Processing buffer {"connection_id":160641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:01:05] local.INFO: Packet analysis {"connection_id":160641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 04:01:05] local.INFO: Extracted packet for processing {"connection_id":160641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 04:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561855488001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:01:05] 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-22 04:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787351299000,"timestamp_ms":1787351299000,"timestamp_seconds":1787351299,"priority":1,"record_length":96,"hex_timestamp":"000001a0267073b8"} 
[2026-08-22 04: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-22 04:01:05] 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-22 04: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561855488001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561855488001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:01:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561855488001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":160641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:01:05] local.INFO: GPS data processed {"connection_id":160641,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:01:05] local.INFO: Acknowledgment sent {"connection_id":160641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:01:50] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:01:50] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:01:50] local.INFO: IMEI packet received {"connection_id":162048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":162048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:01:55] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:01:55] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:01:55] local.INFO: IMEI packet received {"connection_id":162048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":162048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:01:56] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:01:56] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:01:56] local.INFO: Packet analysis {"connection_id":162048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 04:01:56] local.INFO: Extracted packet for processing {"connection_id":162048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 04:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561855488001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:01: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-22 04:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787351299000,"timestamp_ms":1787351299000,"timestamp_seconds":1787351299,"priority":1,"record_length":96,"hex_timestamp":"000001a0267073b8"} 
[2026-08-22 04: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-22 04:01:56] 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-22 04: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:01: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-22 04: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-22 04: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-22 04:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561855488001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561855488001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:01:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561855488001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":162048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:01:56] local.INFO: GPS data processed {"connection_id":162048,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:01:56] local.INFO: Acknowledgment sent {"connection_id":162048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:02:27] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:02:27] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:02:27] local.INFO: Packet analysis {"connection_id":162048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 04:02:27] local.INFO: Extracted packet for processing {"connection_id":162048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 04:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561855488001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:02: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-22 04:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787351299000,"timestamp_ms":1787351299000,"timestamp_seconds":1787351299,"priority":1,"record_length":96,"hex_timestamp":"000001a0267073b8"} 
[2026-08-22 04: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-22 04:02:27] 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-22 04:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561855488001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561855488001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:02:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561855488001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":162048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:02:27] local.INFO: GPS data processed {"connection_id":162048,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:02:27] local.INFO: Acknowledgment sent {"connection_id":162048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:02:50] local.INFO: TCP Data received {"connection_id":159455,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:02:50] local.INFO: Processing buffer {"connection_id":159455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:02:50] local.INFO: IMEI packet received {"connection_id":159455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":159455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:02:55] local.INFO: TCP Data received {"connection_id":159455,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:02:55] local.INFO: Processing buffer {"connection_id":159455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:02:55] local.INFO: IMEI packet received {"connection_id":159455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":159455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:02:56] local.INFO: TCP Data received {"connection_id":159455,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:02:56] local.INFO: Processing buffer {"connection_id":159455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:02:56] local.INFO: Packet analysis {"connection_id":159455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 04:02:56] local.INFO: Extracted packet for processing {"connection_id":159455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 04:02:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561855488001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:02: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-22 04:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787351299000,"timestamp_ms":1787351299000,"timestamp_seconds":1787351299,"priority":1,"record_length":96,"hex_timestamp":"000001a0267073b8"} 
[2026-08-22 04: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-22 04:02:56] 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-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:02: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-22 04: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-22 04: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-22 04:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561855488001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561855488001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:02:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:02:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561855488001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":159455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:02:56] local.INFO: GPS data processed {"connection_id":159455,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:02:56] local.INFO: Acknowledgment sent {"connection_id":159455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:03:28] local.INFO: TCP Data received {"connection_id":159455,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:03:28] local.INFO: Processing buffer {"connection_id":159455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:03:28] local.INFO: Packet analysis {"connection_id":159455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 04:03:28] local.INFO: Extracted packet for processing {"connection_id":159455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 04:03:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561855488001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:03: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-22 04:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787351299000,"timestamp_ms":1787351299000,"timestamp_seconds":1787351299,"priority":1,"record_length":96,"hex_timestamp":"000001a0267073b8"} 
[2026-08-22 04:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:03:28] 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-22 04:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561855488001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561855488001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:03:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:03:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561855488001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":159455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:03:28] local.INFO: GPS data processed {"connection_id":159455,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:03:28] local.INFO: Acknowledgment sent {"connection_id":159455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:03:50] local.INFO: TCP Data received {"connection_id":162049,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:03:50] local.INFO: Processing buffer {"connection_id":162049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:03:50] local.INFO: IMEI packet received {"connection_id":162049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":162049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:03:55] local.INFO: TCP Data received {"connection_id":162049,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:03:55] local.INFO: Processing buffer {"connection_id":162049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:03:55] local.INFO: IMEI packet received {"connection_id":162049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":162049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:03:56] local.INFO: TCP Data received {"connection_id":162049,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:03:56] local.INFO: Processing buffer {"connection_id":162049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267073b8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:03:56] local.INFO: Packet analysis {"connection_id":162049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 04:03:56] local.INFO: Extracted packet for processing {"connection_id":162049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02670"} 
[2026-08-22 04:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561855488001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787351299000,"timestamp_ms":1787351299000,"timestamp_seconds":1787351299,"priority":1,"record_length":96,"hex_timestamp":"000001a0267073b8"} 
[2026-08-22 04: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-22 04:03:56] 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-22 04: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:03: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-22 04: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-22 04: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-22 04:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561855488001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561855488001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:03:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561855488001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":162049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:03:56] local.INFO: GPS data processed {"connection_id":162049,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:03:56] local.INFO: Acknowledgment sent {"connection_id":162049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:04:27] local.INFO: TCP Data received {"connection_id":162049,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:04:27] local.INFO: Processing buffer {"connection_id":162049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:04:27] local.INFO: Packet analysis {"connection_id":162049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:04:27] local.INFO: Extracted packet for processing {"connection_id":162049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:04:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561932544001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:04: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-22 04:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787351600000,"timestamp_ms":1787351600000,"timestamp_seconds":1787351600,"priority":1,"record_length":96,"hex_timestamp":"000001a026750b80"} 
[2026-08-22 04:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:04:27] 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-22 04:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561932544001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561932544001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:04:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:04:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561932544001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":162049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:04:27] local.INFO: GPS data processed {"connection_id":162049,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:04:27] local.INFO: Acknowledgment sent {"connection_id":162049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:04:55] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:04:55] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:04:55] local.INFO: IMEI packet received {"connection_id":162050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":162050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:05:00] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:05:00] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:05:00] local.INFO: IMEI packet received {"connection_id":162050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":162050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:05:01] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:05:01] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:05:01] local.INFO: Packet analysis {"connection_id":162050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:05:01] local.INFO: Extracted packet for processing {"connection_id":162050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561932544001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:05: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-22 04:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787351600000,"timestamp_ms":1787351600000,"timestamp_seconds":1787351600,"priority":1,"record_length":96,"hex_timestamp":"000001a026750b80"} 
[2026-08-22 04: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-22 04:05:01] 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-22 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561932544001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561932544001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:05:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561932544001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":162050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:05:01] local.INFO: GPS data processed {"connection_id":162050,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:05:01] local.INFO: Acknowledgment sent {"connection_id":162050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:05:06] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:05:06] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:05:06] local.INFO: Packet analysis {"connection_id":162050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:05:06] local.INFO: Extracted packet for processing {"connection_id":162050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561932544001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:05:06] 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-22 04:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787351600000,"timestamp_ms":1787351600000,"timestamp_seconds":1787351600,"priority":1,"record_length":96,"hex_timestamp":"000001a026750b80"} 
[2026-08-22 04:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:05:06] 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-22 04:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:05: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-22 04:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561932544001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561932544001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:05:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561932544001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":162050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:05:06] local.INFO: GPS data processed {"connection_id":162050,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:05:06] local.INFO: Acknowledgment sent {"connection_id":162050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:05:10] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:05:10] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:05:10] local.INFO: Packet analysis {"connection_id":162050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:05:10] local.INFO: Extracted packet for processing {"connection_id":162050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561932544001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:05:10] 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-22 04:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787351600000,"timestamp_ms":1787351600000,"timestamp_seconds":1787351600,"priority":1,"record_length":96,"hex_timestamp":"000001a026750b80"} 
[2026-08-22 04:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:05:10] 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-22 04:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":162050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":162050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":162050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561932544001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561932544001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:05:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561932544001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":162050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:05:10] local.INFO: GPS data processed {"connection_id":162050,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:05:10] local.INFO: Acknowledgment sent {"connection_id":162050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:05:50] local.INFO: TCP Data received {"connection_id":159729,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:05:50] local.INFO: Processing buffer {"connection_id":159729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:05:50] local.INFO: IMEI packet received {"connection_id":159729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":159729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:05:55] local.INFO: TCP Data received {"connection_id":159729,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:05:55] local.INFO: Processing buffer {"connection_id":159729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:05:55] local.INFO: IMEI packet received {"connection_id":159729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":159729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:05:56] local.INFO: TCP Data received {"connection_id":159729,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:05:56] local.INFO: Processing buffer {"connection_id":159729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:05:56] local.INFO: Packet analysis {"connection_id":159729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:05:56] local.INFO: Extracted packet for processing {"connection_id":159729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561932544001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:05: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-22 04:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787351600000,"timestamp_ms":1787351600000,"timestamp_seconds":1787351600,"priority":1,"record_length":96,"hex_timestamp":"000001a026750b80"} 
[2026-08-22 04: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-22 04:05:56] 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-22 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:05: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-22 04: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-22 04: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-22 04:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561932544001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561932544001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:05:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561932544001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":159729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:05:56] local.INFO: GPS data processed {"connection_id":159729,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:05:56] local.INFO: Acknowledgment sent {"connection_id":159729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:06:27] local.INFO: TCP Data received {"connection_id":159729,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:06:27] local.INFO: Processing buffer {"connection_id":159729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:06:27] local.INFO: Packet analysis {"connection_id":159729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:06:27] local.INFO: Extracted packet for processing {"connection_id":159729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561932544001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:06: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-22 04:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787351600000,"timestamp_ms":1787351600000,"timestamp_seconds":1787351600,"priority":1,"record_length":96,"hex_timestamp":"000001a026750b80"} 
[2026-08-22 04: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-22 04:06:27] 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-22 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561932544001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561932544001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:06:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561932544001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":159729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:06:27] local.INFO: GPS data processed {"connection_id":159729,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:06:27] local.INFO: Acknowledgment sent {"connection_id":159729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:06:50] local.INFO: TCP Data received {"connection_id":159456,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:06:50] local.INFO: Processing buffer {"connection_id":159456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:06:50] local.INFO: IMEI packet received {"connection_id":159456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":159456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:06:55] local.INFO: TCP Data received {"connection_id":159456,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:06:55] local.INFO: Processing buffer {"connection_id":159456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:06:55] local.INFO: IMEI packet received {"connection_id":159456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":159456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:06:56] local.INFO: TCP Data received {"connection_id":159456,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:06:56] local.INFO: Processing buffer {"connection_id":159456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:06:56] local.INFO: Packet analysis {"connection_id":159456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:06:56] local.INFO: Extracted packet for processing {"connection_id":159456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561932544001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:06: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-22 04:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787351600000,"timestamp_ms":1787351600000,"timestamp_seconds":1787351600,"priority":1,"record_length":96,"hex_timestamp":"000001a026750b80"} 
[2026-08-22 04: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-22 04:06:56] 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-22 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:06: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-22 04: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-22 04: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-22 04:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561932544001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561932544001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:06:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561932544001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":159456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:06:56] local.INFO: GPS data processed {"connection_id":159456,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:06:56] local.INFO: Acknowledgment sent {"connection_id":159456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:07:27] local.INFO: TCP Data received {"connection_id":159456,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:07:27] local.INFO: Processing buffer {"connection_id":159456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:07:27] local.INFO: Packet analysis {"connection_id":159456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:07:27] local.INFO: Extracted packet for processing {"connection_id":159456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561932544001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:07: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-22 04:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787351600000,"timestamp_ms":1787351600000,"timestamp_seconds":1787351600,"priority":1,"record_length":96,"hex_timestamp":"000001a026750b80"} 
[2026-08-22 04: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-22 04:07:27] 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-22 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561932544001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561932544001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:07:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:07:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561932544001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":159456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:07:27] local.INFO: GPS data processed {"connection_id":159456,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:07:27] local.INFO: Acknowledgment sent {"connection_id":159456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:07:50] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:07:50] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:07:50] local.INFO: IMEI packet received {"connection_id":162051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":162051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:07:55] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:07:55] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:07:55] local.INFO: IMEI packet received {"connection_id":162051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":162051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:07:56] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:07:56] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:07:56] local.INFO: Packet analysis {"connection_id":162051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:07:56] local.INFO: Extracted packet for processing {"connection_id":162051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561932544001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:07: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-22 04:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787351600000,"timestamp_ms":1787351600000,"timestamp_seconds":1787351600,"priority":1,"record_length":96,"hex_timestamp":"000001a026750b80"} 
[2026-08-22 04:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:07:56] 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-22 04:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:07: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-22 04:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561932544001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561932544001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:07:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561932544001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":162051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:07:56] local.INFO: GPS data processed {"connection_id":162051,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:07:56] local.INFO: Acknowledgment sent {"connection_id":162051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:08:27] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:08:27] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:08:27] local.INFO: Packet analysis {"connection_id":162051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:08:27] local.INFO: Extracted packet for processing {"connection_id":162051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561932544001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:08: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-22 04:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787351600000,"timestamp_ms":1787351600000,"timestamp_seconds":1787351600,"priority":1,"record_length":96,"hex_timestamp":"000001a026750b80"} 
[2026-08-22 04: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-22 04:08:27] 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-22 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561932544001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561932544001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:08:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561932544001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":162051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:08:27] local.INFO: GPS data processed {"connection_id":162051,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:08:27] local.INFO: Acknowledgment sent {"connection_id":162051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:08:50] local.INFO: TCP Data received {"connection_id":160642,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:08:50] local.INFO: Processing buffer {"connection_id":160642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:08:50] local.INFO: IMEI packet received {"connection_id":160642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":160642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:08:55] local.INFO: TCP Data received {"connection_id":160642,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:08:55] local.INFO: Processing buffer {"connection_id":160642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:08:55] local.INFO: IMEI packet received {"connection_id":160642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":160642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:08:56] local.INFO: TCP Data received {"connection_id":160642,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:08:56] local.INFO: Processing buffer {"connection_id":160642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026750b80012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:08:56] local.INFO: Packet analysis {"connection_id":160642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:08:56] local.INFO: Extracted packet for processing {"connection_id":160642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02675"} 
[2026-08-22 04:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457561932544001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787351600000,"timestamp_ms":1787351600000,"timestamp_seconds":1787351600,"priority":1,"record_length":96,"hex_timestamp":"000001a026750b80"} 
[2026-08-22 04: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-22 04:08:56] 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-22 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:08: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-22 04: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-22 04: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-22 04:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457561932544001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457561932544001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:08:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457561932544001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":160642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:08:56] local.INFO: GPS data processed {"connection_id":160642,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:08:56] local.INFO: Acknowledgment sent {"connection_id":160642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:09:27] local.INFO: TCP Data received {"connection_id":160642,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:09:27] local.INFO: Processing buffer {"connection_id":160642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:09:27] local.INFO: Packet analysis {"connection_id":160642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:09:27] local.INFO: Extracted packet for processing {"connection_id":160642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562009600001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:09: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-22 04:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787351901000,"timestamp_ms":1787351901000,"timestamp_seconds":1787351901,"priority":1,"record_length":96,"hex_timestamp":"000001a02679a348"} 
[2026-08-22 04: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-22 04:09:27] 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-22 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:09:27] 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-22 04: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-22 04: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-22 04:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562009600001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562009600001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:09:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562009600001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":160642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:09:27] local.INFO: GPS data processed {"connection_id":160642,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:09:27] local.INFO: Acknowledgment sent {"connection_id":160642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:09:50] local.INFO: TCP Data received {"connection_id":159457,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:09:50] local.INFO: Processing buffer {"connection_id":159457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:09:50] local.INFO: IMEI packet received {"connection_id":159457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":159457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:09:55] local.INFO: TCP Data received {"connection_id":159457,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:09:55] local.INFO: Processing buffer {"connection_id":159457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:09:55] local.INFO: IMEI packet received {"connection_id":159457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":159457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:09:56] local.INFO: TCP Data received {"connection_id":159457,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:09:56] local.INFO: Processing buffer {"connection_id":159457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:09:56] local.INFO: Packet analysis {"connection_id":159457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:09:56] local.INFO: Extracted packet for processing {"connection_id":159457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562009600001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:09: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-22 04:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787351901000,"timestamp_ms":1787351901000,"timestamp_seconds":1787351901,"priority":1,"record_length":96,"hex_timestamp":"000001a02679a348"} 
[2026-08-22 04: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-22 04:09:56] 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-22 04: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-22 04: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-22 04: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-22 04: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-22 04:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562009600001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562009600001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:09:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562009600001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":159457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:09:56] local.INFO: GPS data processed {"connection_id":159457,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:09:56] local.INFO: Acknowledgment sent {"connection_id":159457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:10:27] local.INFO: TCP Data received {"connection_id":159457,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:10:27] local.INFO: Processing buffer {"connection_id":159457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:10:27] local.INFO: Packet analysis {"connection_id":159457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:10:27] local.INFO: Extracted packet for processing {"connection_id":159457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:10:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562009600001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:10: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-22 04:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787351901000,"timestamp_ms":1787351901000,"timestamp_seconds":1787351901,"priority":1,"record_length":96,"hex_timestamp":"000001a02679a348"} 
[2026-08-22 04:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:10:27] 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-22 04:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:10:27] 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-22 04:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562009600001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562009600001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:10:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:10:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562009600001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":159457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:10:27] local.INFO: GPS data processed {"connection_id":159457,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:10:27] local.INFO: Acknowledgment sent {"connection_id":159457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:10:50] local.INFO: TCP Data received {"connection_id":159458,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:10:50] local.INFO: Processing buffer {"connection_id":159458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:10:50] local.INFO: IMEI packet received {"connection_id":159458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":159458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:10:55] local.INFO: TCP Data received {"connection_id":159458,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:10:55] local.INFO: Processing buffer {"connection_id":159458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:10:55] local.INFO: IMEI packet received {"connection_id":159458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":159458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:10:56] local.INFO: TCP Data received {"connection_id":159458,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:10:56] local.INFO: Processing buffer {"connection_id":159458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:10:56] local.INFO: Packet analysis {"connection_id":159458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:10:56] local.INFO: Extracted packet for processing {"connection_id":159458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562009600001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787351901000,"timestamp_ms":1787351901000,"timestamp_seconds":1787351901,"priority":1,"record_length":96,"hex_timestamp":"000001a02679a348"} 
[2026-08-22 04: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-22 04:10:56] 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-22 04: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-22 04: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-22 04: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-22 04: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-22 04:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562009600001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562009600001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:10:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562009600001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":159458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:10:56] local.INFO: GPS data processed {"connection_id":159458,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:10:56] local.INFO: Acknowledgment sent {"connection_id":159458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:11:27] local.INFO: TCP Data received {"connection_id":159458,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:11:27] local.INFO: Processing buffer {"connection_id":159458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:11:27] local.INFO: Packet analysis {"connection_id":159458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:11:27] local.INFO: Extracted packet for processing {"connection_id":159458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562009600001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:11: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-22 04:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787351901000,"timestamp_ms":1787351901000,"timestamp_seconds":1787351901,"priority":1,"record_length":96,"hex_timestamp":"000001a02679a348"} 
[2026-08-22 04:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:11:27] 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-22 04:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:11:27] 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-22 04:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562009600001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562009600001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:11:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562009600001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":159458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:11:27] local.INFO: GPS data processed {"connection_id":159458,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:11:27] local.INFO: Acknowledgment sent {"connection_id":159458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:11:50] local.INFO: TCP Data received {"connection_id":162052,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:11:50] local.INFO: Processing buffer {"connection_id":162052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:11:50] local.INFO: IMEI packet received {"connection_id":162052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":162052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:11:55] local.INFO: TCP Data received {"connection_id":162052,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:11:55] local.INFO: Processing buffer {"connection_id":162052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:11:55] local.INFO: IMEI packet received {"connection_id":162052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":162052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:11:56] local.INFO: TCP Data received {"connection_id":162052,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:11:56] local.INFO: Processing buffer {"connection_id":162052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:11:56] local.INFO: Packet analysis {"connection_id":162052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:11:56] local.INFO: Extracted packet for processing {"connection_id":162052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562009600001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787351901000,"timestamp_ms":1787351901000,"timestamp_seconds":1787351901,"priority":1,"record_length":96,"hex_timestamp":"000001a02679a348"} 
[2026-08-22 04: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-22 04:11:56] 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-22 04: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-22 04: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-22 04: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-22 04: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-22 04:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562009600001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562009600001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:11:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562009600001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":162052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:11:56] local.INFO: GPS data processed {"connection_id":162052,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:11:56] local.INFO: Acknowledgment sent {"connection_id":162052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:12:27] local.INFO: TCP Data received {"connection_id":162052,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:12:27] local.INFO: Processing buffer {"connection_id":162052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:12:27] local.INFO: Packet analysis {"connection_id":162052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:12:27] local.INFO: Extracted packet for processing {"connection_id":162052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562009600001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:12: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-22 04:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787351901000,"timestamp_ms":1787351901000,"timestamp_seconds":1787351901,"priority":1,"record_length":96,"hex_timestamp":"000001a02679a348"} 
[2026-08-22 04:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:12:27] 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-22 04:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:12:27] 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-22 04:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562009600001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562009600001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:12:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562009600001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":162052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:12:27] local.INFO: GPS data processed {"connection_id":162052,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:12:27] local.INFO: Acknowledgment sent {"connection_id":162052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:12:50] local.INFO: TCP Data received {"connection_id":162053,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:12:50] local.INFO: Processing buffer {"connection_id":162053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:12:50] local.INFO: IMEI packet received {"connection_id":162053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":162053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:12:55] local.INFO: TCP Data received {"connection_id":162053,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:12:55] local.INFO: Processing buffer {"connection_id":162053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:12:55] local.INFO: IMEI packet received {"connection_id":162053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":162053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:12:56] local.INFO: TCP Data received {"connection_id":162053,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:12:56] local.INFO: Processing buffer {"connection_id":162053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:12:56] local.INFO: Packet analysis {"connection_id":162053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:12:56] local.INFO: Extracted packet for processing {"connection_id":162053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:12:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562009600001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:12: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-22 04:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787351901000,"timestamp_ms":1787351901000,"timestamp_seconds":1787351901,"priority":1,"record_length":96,"hex_timestamp":"000001a02679a348"} 
[2026-08-22 04: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-22 04:12:56] 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-22 04:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:12: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-22 04: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-22 04: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-22 04:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562009600001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562009600001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:12:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562009600001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":162053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:12:56] local.INFO: GPS data processed {"connection_id":162053,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:12:56] local.INFO: Acknowledgment sent {"connection_id":162053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:13:27] local.INFO: TCP Data received {"connection_id":162053,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:13:27] local.INFO: Processing buffer {"connection_id":162053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:13:27] local.INFO: Packet analysis {"connection_id":162053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:13:27] local.INFO: Extracted packet for processing {"connection_id":162053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562009600001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:13: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-22 04:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787351901000,"timestamp_ms":1787351901000,"timestamp_seconds":1787351901,"priority":1,"record_length":96,"hex_timestamp":"000001a02679a348"} 
[2026-08-22 04:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:13:27] 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-22 04:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:13:27] 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-22 04:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562009600001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562009600001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:13:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:13:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562009600001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":162053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:13:27] local.INFO: GPS data processed {"connection_id":162053,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:13:27] local.INFO: Acknowledgment sent {"connection_id":162053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:13:50] local.INFO: TCP Data received {"connection_id":159730,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:13:50] local.INFO: Processing buffer {"connection_id":159730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:13:50] local.INFO: IMEI packet received {"connection_id":159730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":159730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:13:55] local.INFO: TCP Data received {"connection_id":159730,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:13:55] local.INFO: Processing buffer {"connection_id":159730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:13:55] local.INFO: IMEI packet received {"connection_id":159730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":159730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:13:56] local.INFO: TCP Data received {"connection_id":159730,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:13:56] local.INFO: Processing buffer {"connection_id":159730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02679a348012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 04:13:56] local.INFO: Packet analysis {"connection_id":159730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:13:56] local.INFO: Extracted packet for processing {"connection_id":159730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02679"} 
[2026-08-22 04:13:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562009600001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787351901000,"timestamp_ms":1787351901000,"timestamp_seconds":1787351901,"priority":1,"record_length":96,"hex_timestamp":"000001a02679a348"} 
[2026-08-22 04: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-22 04:13:56] 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-22 04: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:13: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-22 04: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-22 04: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-22 04:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562009600001,"66":25647,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562009600001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:13:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:13:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562009600001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":159730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:13:56] local.INFO: GPS data processed {"connection_id":159730,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:13:56] local.INFO: Acknowledgment sent {"connection_id":159730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:14:27] local.INFO: TCP Data received {"connection_id":159730,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:14:27] local.INFO: Processing buffer {"connection_id":159730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:14:27] local.INFO: Packet analysis {"connection_id":159730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:14:27] local.INFO: Extracted packet for processing {"connection_id":159730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562086656001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:14: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-22 04:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787352202000,"timestamp_ms":1787352202000,"timestamp_seconds":1787352202,"priority":1,"record_length":96,"hex_timestamp":"000001a0267e3b10"} 
[2026-08-22 04: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-22 04:14:27] 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-22 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562086656001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562086656001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:14:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562086656001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":159730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:14:27] local.INFO: GPS data processed {"connection_id":159730,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:14:27] local.INFO: Acknowledgment sent {"connection_id":159730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:14:50] local.INFO: TCP Data received {"connection_id":159731,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:14:50] local.INFO: Processing buffer {"connection_id":159731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:14:50] local.INFO: IMEI packet received {"connection_id":159731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":159731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:14:55] local.INFO: TCP Data received {"connection_id":159731,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:14:55] local.INFO: Processing buffer {"connection_id":159731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:14:55] local.INFO: IMEI packet received {"connection_id":159731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":159731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:14:56] local.INFO: TCP Data received {"connection_id":159731,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:14:56] local.INFO: Processing buffer {"connection_id":159731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:14:56] local.INFO: Packet analysis {"connection_id":159731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:14:56] local.INFO: Extracted packet for processing {"connection_id":159731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562086656001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787352202000,"timestamp_ms":1787352202000,"timestamp_seconds":1787352202,"priority":1,"record_length":96,"hex_timestamp":"000001a0267e3b10"} 
[2026-08-22 04: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-22 04:14:56] 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-22 04: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":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:14: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-22 04: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-22 04: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-22 04:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562086656001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562086656001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:14:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562086656001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":159731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:14:56] local.INFO: GPS data processed {"connection_id":159731,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:14:56] local.INFO: Acknowledgment sent {"connection_id":159731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:15:27] local.INFO: TCP Data received {"connection_id":159731,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:15:27] local.INFO: Processing buffer {"connection_id":159731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:15:27] local.INFO: Packet analysis {"connection_id":159731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:15:27] local.INFO: Extracted packet for processing {"connection_id":159731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562086656001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:15: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-22 04:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787352202000,"timestamp_ms":1787352202000,"timestamp_seconds":1787352202,"priority":1,"record_length":96,"hex_timestamp":"000001a0267e3b10"} 
[2026-08-22 04:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:15:27] 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-22 04:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562086656001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562086656001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:15:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562086656001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":159731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:15:27] local.INFO: GPS data processed {"connection_id":159731,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:15:27] local.INFO: Acknowledgment sent {"connection_id":159731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:15:50] local.INFO: TCP Data received {"connection_id":159459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:15:50] local.INFO: Processing buffer {"connection_id":159459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:15:50] local.INFO: IMEI packet received {"connection_id":159459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":159459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:15:55] local.INFO: TCP Data received {"connection_id":159459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:15:55] local.INFO: Processing buffer {"connection_id":159459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:15:55] local.INFO: IMEI packet received {"connection_id":159459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":159459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:15:56] local.INFO: TCP Data received {"connection_id":159459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:15:56] local.INFO: Processing buffer {"connection_id":159459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:15:56] local.INFO: Packet analysis {"connection_id":159459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:15:56] local.INFO: Extracted packet for processing {"connection_id":159459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562086656001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:15: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-22 04:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787352202000,"timestamp_ms":1787352202000,"timestamp_seconds":1787352202,"priority":1,"record_length":96,"hex_timestamp":"000001a0267e3b10"} 
[2026-08-22 04: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-22 04:15:56] 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-22 04: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":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:15: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-22 04: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-22 04: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-22 04:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562086656001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562086656001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:15:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562086656001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":159459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:15:56] local.INFO: GPS data processed {"connection_id":159459,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:15:56] local.INFO: Acknowledgment sent {"connection_id":159459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:16:27] local.INFO: TCP Data received {"connection_id":159459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:16:27] local.INFO: Processing buffer {"connection_id":159459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:16:27] local.INFO: Packet analysis {"connection_id":159459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:16:27] local.INFO: Extracted packet for processing {"connection_id":159459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562086656001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:16: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-22 04:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787352202000,"timestamp_ms":1787352202000,"timestamp_seconds":1787352202,"priority":1,"record_length":96,"hex_timestamp":"000001a0267e3b10"} 
[2026-08-22 04: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-22 04:16:27] 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-22 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562086656001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562086656001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:16:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562086656001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":159459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:16:27] local.INFO: GPS data processed {"connection_id":159459,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:16:27] local.INFO: Acknowledgment sent {"connection_id":159459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:16:50] local.INFO: TCP Data received {"connection_id":159732,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:16:50] local.INFO: Processing buffer {"connection_id":159732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:16:50] local.INFO: IMEI packet received {"connection_id":159732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":159732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:16:55] local.INFO: TCP Data received {"connection_id":159732,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:16:55] local.INFO: Processing buffer {"connection_id":159732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:16:55] local.INFO: IMEI packet received {"connection_id":159732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":159732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:16:56] local.INFO: TCP Data received {"connection_id":159732,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:16:56] local.INFO: Processing buffer {"connection_id":159732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:16:56] local.INFO: Packet analysis {"connection_id":159732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:16:56] local.INFO: Extracted packet for processing {"connection_id":159732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562086656001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787352202000,"timestamp_ms":1787352202000,"timestamp_seconds":1787352202,"priority":1,"record_length":96,"hex_timestamp":"000001a0267e3b10"} 
[2026-08-22 04: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-22 04:16:56] 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-22 04:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:16: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-22 04: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-22 04: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-22 04:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562086656001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562086656001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:16:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562086656001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":159732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:16:56] local.INFO: GPS data processed {"connection_id":159732,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:16:56] local.INFO: Acknowledgment sent {"connection_id":159732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:17:27] local.INFO: TCP Data received {"connection_id":159732,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:17:27] local.INFO: Processing buffer {"connection_id":159732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:17:27] local.INFO: Packet analysis {"connection_id":159732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:17:27] local.INFO: Extracted packet for processing {"connection_id":159732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562086656001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:17: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-22 04:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787352202000,"timestamp_ms":1787352202000,"timestamp_seconds":1787352202,"priority":1,"record_length":96,"hex_timestamp":"000001a0267e3b10"} 
[2026-08-22 04: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-22 04:17:27] 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-22 04:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04: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-22 04:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562086656001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562086656001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:17:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562086656001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":159732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:17:27] local.INFO: GPS data processed {"connection_id":159732,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:17:27] local.INFO: Acknowledgment sent {"connection_id":159732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:17:50] local.INFO: TCP Data received {"connection_id":159733,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:17:50] local.INFO: Processing buffer {"connection_id":159733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:17:50] local.INFO: IMEI packet received {"connection_id":159733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":159733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:17:55] local.INFO: TCP Data received {"connection_id":159733,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:17:55] local.INFO: Processing buffer {"connection_id":159733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:17:55] local.INFO: IMEI packet received {"connection_id":159733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":159733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:17:56] local.INFO: TCP Data received {"connection_id":159733,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:17:56] local.INFO: Processing buffer {"connection_id":159733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:17:56] local.INFO: Packet analysis {"connection_id":159733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:17:56] local.INFO: Extracted packet for processing {"connection_id":159733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562086656001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:17: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-22 04:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787352202000,"timestamp_ms":1787352202000,"timestamp_seconds":1787352202,"priority":1,"record_length":96,"hex_timestamp":"000001a0267e3b10"} 
[2026-08-22 04: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-22 04:17:56] 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-22 04: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-22 04: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-22 04: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-22 04: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-22 04:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562086656001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562086656001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:17:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562086656001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":159733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:17:56] local.INFO: GPS data processed {"connection_id":159733,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:17:56] local.INFO: Acknowledgment sent {"connection_id":159733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:18:27] local.INFO: TCP Data received {"connection_id":159733,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:18:27] local.INFO: Processing buffer {"connection_id":159733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:18:27] local.INFO: Packet analysis {"connection_id":159733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:18:27] local.INFO: Extracted packet for processing {"connection_id":159733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562086656001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:18: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-22 04:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787352202000,"timestamp_ms":1787352202000,"timestamp_seconds":1787352202,"priority":1,"record_length":96,"hex_timestamp":"000001a0267e3b10"} 
[2026-08-22 04: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-22 04:18:27] 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-22 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 04:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562086656001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562086656001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:18:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562086656001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":159733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:18:27] local.INFO: GPS data processed {"connection_id":159733,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:18:27] local.INFO: Acknowledgment sent {"connection_id":159733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:18:55] local.INFO: TCP Data received {"connection_id":160643,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:18:55] local.INFO: Processing buffer {"connection_id":160643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:18:55] local.INFO: IMEI packet received {"connection_id":160643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":160643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:19:01] local.INFO: TCP Data received {"connection_id":160643,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:19:01] local.INFO: Processing buffer {"connection_id":160643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:19:01] local.INFO: IMEI packet received {"connection_id":160643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":160643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:19:02] local.INFO: TCP Data received {"connection_id":160643,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:19:02] local.INFO: Processing buffer {"connection_id":160643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0267e3b10012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 04:19:02] local.INFO: Packet analysis {"connection_id":160643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:19:02] local.INFO: Extracted packet for processing {"connection_id":160643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0267e"} 
[2026-08-22 04:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:19: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-22 04:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562086656001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:19:02] 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-22 04:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787352202000,"timestamp_ms":1787352202000,"timestamp_seconds":1787352202,"priority":1,"record_length":96,"hex_timestamp":"000001a0267e3b10"} 
[2026-08-22 04:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:19: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-22 04:19: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-22 04:19: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-22 04:19: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-22 04:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562086656001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562086656001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:19:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562086656001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":160643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:19:02] local.INFO: GPS data processed {"connection_id":160643,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:19:02] local.INFO: Acknowledgment sent {"connection_id":160643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:19:03] local.INFO: TCP Data received {"connection_id":160643,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:19:03] local.INFO: Processing buffer {"connection_id":160643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:19:03] local.INFO: Packet analysis {"connection_id":160643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:19:03] local.INFO: Extracted packet for processing {"connection_id":160643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:19:03] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562163712001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:19:03] 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-22 04:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787352503000,"timestamp_ms":1787352503000,"timestamp_seconds":1787352503,"priority":1,"record_length":96,"hex_timestamp":"000001a02682d2d8"} 
[2026-08-22 04:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:19:03] 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-22 04:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:19:03] 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-22 04:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562163712001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562163712001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:19:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:19:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562163712001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":160643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:19:03] local.INFO: GPS data processed {"connection_id":160643,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:19:03] local.INFO: Acknowledgment sent {"connection_id":160643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:19:34] local.INFO: TCP Data received {"connection_id":160643,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:19:34] local.INFO: Processing buffer {"connection_id":160643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:19:34] local.INFO: Packet analysis {"connection_id":160643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:19:34] local.INFO: Extracted packet for processing {"connection_id":160643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:19:34] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562163712001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:19: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-22 04:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787352503000,"timestamp_ms":1787352503000,"timestamp_seconds":1787352503,"priority":1,"record_length":96,"hex_timestamp":"000001a02682d2d8"} 
[2026-08-22 04: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-22 04:19:34] 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-22 04: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:19: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-22 04: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-22 04: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-22 04:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562163712001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562163712001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:19:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:19:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562163712001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":160643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:19:34] local.INFO: GPS data processed {"connection_id":160643,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:19:34] local.INFO: Acknowledgment sent {"connection_id":160643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:19:50] local.INFO: TCP Data received {"connection_id":159734,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:19:50] local.INFO: Processing buffer {"connection_id":159734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:19:50] local.INFO: IMEI packet received {"connection_id":159734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":159734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:19:55] local.INFO: TCP Data received {"connection_id":159734,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:19:55] local.INFO: Processing buffer {"connection_id":159734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:19:55] local.INFO: IMEI packet received {"connection_id":159734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":159734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:19:56] local.INFO: TCP Data received {"connection_id":159734,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:19:56] local.INFO: Processing buffer {"connection_id":159734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:19:56] local.INFO: Packet analysis {"connection_id":159734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:19:56] local.INFO: Extracted packet for processing {"connection_id":159734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562163712001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787352503000,"timestamp_ms":1787352503000,"timestamp_seconds":1787352503,"priority":1,"record_length":96,"hex_timestamp":"000001a02682d2d8"} 
[2026-08-22 04: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-22 04:19:56] 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-22 04: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:19: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-22 04: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-22 04: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-22 04:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562163712001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562163712001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:19:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562163712001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":159734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:19:56] local.INFO: GPS data processed {"connection_id":159734,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:19:56] local.INFO: Acknowledgment sent {"connection_id":159734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:20:28] local.INFO: TCP Data received {"connection_id":159734,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:20:28] local.INFO: Processing buffer {"connection_id":159734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:20:28] local.INFO: Packet analysis {"connection_id":159734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:20:28] local.INFO: Extracted packet for processing {"connection_id":159734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562163712001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:20: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-22 04:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787352503000,"timestamp_ms":1787352503000,"timestamp_seconds":1787352503,"priority":1,"record_length":96,"hex_timestamp":"000001a02682d2d8"} 
[2026-08-22 04: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-22 04:20:28] 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-22 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:20:28] 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-22 04: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-22 04: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-22 04:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562163712001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562163712001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:20:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562163712001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":159734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:20:28] local.INFO: GPS data processed {"connection_id":159734,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:20:28] local.INFO: Acknowledgment sent {"connection_id":159734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:20:50] local.INFO: TCP Data received {"connection_id":159735,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:20:50] local.INFO: Processing buffer {"connection_id":159735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:20:50] local.INFO: IMEI packet received {"connection_id":159735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":159735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:20:55] local.INFO: TCP Data received {"connection_id":159735,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:20:55] local.INFO: Processing buffer {"connection_id":159735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:20:55] local.INFO: IMEI packet received {"connection_id":159735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":159735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:20:56] local.INFO: TCP Data received {"connection_id":159735,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:20:56] local.INFO: Processing buffer {"connection_id":159735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:20:56] local.INFO: Packet analysis {"connection_id":159735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:20:56] local.INFO: Extracted packet for processing {"connection_id":159735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562163712001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787352503000,"timestamp_ms":1787352503000,"timestamp_seconds":1787352503,"priority":1,"record_length":96,"hex_timestamp":"000001a02682d2d8"} 
[2026-08-22 04: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-22 04:20:56] 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-22 04:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:20: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-22 04: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-22 04: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-22 04:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562163712001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562163712001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:20:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562163712001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":159735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:20:56] local.INFO: GPS data processed {"connection_id":159735,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:20:56] local.INFO: Acknowledgment sent {"connection_id":159735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:21:27] local.INFO: TCP Data received {"connection_id":159735,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:21:27] local.INFO: Processing buffer {"connection_id":159735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:21:27] local.INFO: Packet analysis {"connection_id":159735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:21:27] local.INFO: Extracted packet for processing {"connection_id":159735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562163712001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:21: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-22 04:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787352503000,"timestamp_ms":1787352503000,"timestamp_seconds":1787352503,"priority":1,"record_length":96,"hex_timestamp":"000001a02682d2d8"} 
[2026-08-22 04:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:21:27] 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-22 04:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:21:27] 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-22 04:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562163712001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562163712001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:21:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562163712001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":159735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:21:27] local.INFO: GPS data processed {"connection_id":159735,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:21:27] local.INFO: Acknowledgment sent {"connection_id":159735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:21:50] local.INFO: TCP Data received {"connection_id":159460,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:21:50] local.INFO: Processing buffer {"connection_id":159460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:21:50] local.INFO: IMEI packet received {"connection_id":159460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":159460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:21:55] local.INFO: TCP Data received {"connection_id":159460,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:21:55] local.INFO: Processing buffer {"connection_id":159460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:21:55] local.INFO: IMEI packet received {"connection_id":159460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":159460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:21:56] local.INFO: TCP Data received {"connection_id":159460,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:21:56] local.INFO: Processing buffer {"connection_id":159460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:21:56] local.INFO: Packet analysis {"connection_id":159460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:21:56] local.INFO: Extracted packet for processing {"connection_id":159460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562163712001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787352503000,"timestamp_ms":1787352503000,"timestamp_seconds":1787352503,"priority":1,"record_length":96,"hex_timestamp":"000001a02682d2d8"} 
[2026-08-22 04: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-22 04:21:56] 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-22 04: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:21: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-22 04: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-22 04: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-22 04:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562163712001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562163712001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:21:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562163712001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":159460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:21:56] local.INFO: GPS data processed {"connection_id":159460,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:21:56] local.INFO: Acknowledgment sent {"connection_id":159460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:22:27] local.INFO: TCP Data received {"connection_id":159460,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:22:27] local.INFO: Processing buffer {"connection_id":159460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:22:27] local.INFO: Packet analysis {"connection_id":159460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:22:27] local.INFO: Extracted packet for processing {"connection_id":159460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562163712001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:22: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-22 04:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787352503000,"timestamp_ms":1787352503000,"timestamp_seconds":1787352503,"priority":1,"record_length":96,"hex_timestamp":"000001a02682d2d8"} 
[2026-08-22 04:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:22:27] 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-22 04:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:22:27] 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-22 04:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562163712001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562163712001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:22:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562163712001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":159460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:22:27] local.INFO: GPS data processed {"connection_id":159460,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:22:27] local.INFO: Acknowledgment sent {"connection_id":159460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:22:55] local.INFO: TCP Data received {"connection_id":162054,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:22:55] local.INFO: Processing buffer {"connection_id":162054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:22:55] local.INFO: IMEI packet received {"connection_id":162054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":162054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:23:00] local.INFO: TCP Data received {"connection_id":162054,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:23:00] local.INFO: Processing buffer {"connection_id":162054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:23:00] local.INFO: IMEI packet received {"connection_id":162054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":162054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:23:03] local.INFO: TCP Data received {"connection_id":162054,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:23:03] local.INFO: Processing buffer {"connection_id":162054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:23:03] local.INFO: Packet analysis {"connection_id":162054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:23:03] local.INFO: Extracted packet for processing {"connection_id":162054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:23:03] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:23: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-22 04:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562163712001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:23:03] 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-22 04:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787352503000,"timestamp_ms":1787352503000,"timestamp_seconds":1787352503,"priority":1,"record_length":96,"hex_timestamp":"000001a02682d2d8"} 
[2026-08-22 04:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:23:03] 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-22 04:23: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:23:03] 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-22 04:23: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-22 04:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562163712001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562163712001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:23:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:23:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562163712001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":162054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:23:03] local.INFO: GPS data processed {"connection_id":162054,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:23:03] local.INFO: Acknowledgment sent {"connection_id":162054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:23:05] local.INFO: TCP Data received {"connection_id":162054,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:23:05] local.INFO: Processing buffer {"connection_id":162054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:23:05] local.INFO: Packet analysis {"connection_id":162054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:23:05] local.INFO: Extracted packet for processing {"connection_id":162054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:23:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562163712001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:23:05] 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-22 04:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787352503000,"timestamp_ms":1787352503000,"timestamp_seconds":1787352503,"priority":1,"record_length":96,"hex_timestamp":"000001a02682d2d8"} 
[2026-08-22 04:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:23:05] 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-22 04:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562163712001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562163712001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:23:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:23:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562163712001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":162054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:23:05] local.INFO: GPS data processed {"connection_id":162054,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:23:05] local.INFO: Acknowledgment sent {"connection_id":162054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:23:50] local.INFO: TCP Data received {"connection_id":159736,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:23:50] local.INFO: Processing buffer {"connection_id":159736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:23:50] local.INFO: IMEI packet received {"connection_id":159736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":159736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:23:55] local.INFO: TCP Data received {"connection_id":159736,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:23:55] local.INFO: Processing buffer {"connection_id":159736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:23:55] local.INFO: IMEI packet received {"connection_id":159736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":159736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:23:56] local.INFO: TCP Data received {"connection_id":159736,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:23:56] local.INFO: Processing buffer {"connection_id":159736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02682d2d8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 04:23:56] local.INFO: Packet analysis {"connection_id":159736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:23:56] local.INFO: Extracted packet for processing {"connection_id":159736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02682"} 
[2026-08-22 04:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562163712001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787352503000,"timestamp_ms":1787352503000,"timestamp_seconds":1787352503,"priority":1,"record_length":96,"hex_timestamp":"000001a02682d2d8"} 
[2026-08-22 04: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-22 04:23:56] 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-22 04: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:23: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-22 04: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-22 04: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-22 04:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562163712001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562163712001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:23:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562163712001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":159736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:23:56] local.INFO: GPS data processed {"connection_id":159736,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:23:56] local.INFO: Acknowledgment sent {"connection_id":159736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:24:27] local.INFO: TCP Data received {"connection_id":159736,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:24:27] local.INFO: Processing buffer {"connection_id":159736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:24:27] local.INFO: Packet analysis {"connection_id":159736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:24:27] local.INFO: Extracted packet for processing {"connection_id":159736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562240768001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:24: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-22 04:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787352804000,"timestamp_ms":1787352804000,"timestamp_seconds":1787352804,"priority":1,"record_length":96,"hex_timestamp":"000001a026876aa0"} 
[2026-08-22 04:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 04:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:24:27] 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-22 04:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562240768001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562240768001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:24:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:24:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562240768001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":159736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:24:27] local.INFO: GPS data processed {"connection_id":159736,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:24:27] local.INFO: Acknowledgment sent {"connection_id":159736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:24:50] local.INFO: TCP Data received {"connection_id":160644,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:24:50] local.INFO: Processing buffer {"connection_id":160644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:24:50] local.INFO: IMEI packet received {"connection_id":160644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":160644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:24:55] local.INFO: TCP Data received {"connection_id":160644,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:24:55] local.INFO: Processing buffer {"connection_id":160644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:24:55] local.INFO: IMEI packet received {"connection_id":160644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":160644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:24:56] local.INFO: TCP Data received {"connection_id":160644,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:24:56] local.INFO: Processing buffer {"connection_id":160644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:24:56] local.INFO: Packet analysis {"connection_id":160644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:24:56] local.INFO: Extracted packet for processing {"connection_id":160644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562240768001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787352804000,"timestamp_ms":1787352804000,"timestamp_seconds":1787352804,"priority":1,"record_length":96,"hex_timestamp":"000001a026876aa0"} 
[2026-08-22 04: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-22 04:24:56] 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-22 04:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:24: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-22 04: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-22 04: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-22 04:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562240768001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562240768001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:24:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562240768001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":160644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:24:56] local.INFO: GPS data processed {"connection_id":160644,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:24:56] local.INFO: Acknowledgment sent {"connection_id":160644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:25:27] local.INFO: TCP Data received {"connection_id":160644,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:25:27] local.INFO: Processing buffer {"connection_id":160644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:25:27] local.INFO: Packet analysis {"connection_id":160644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:25:27] local.INFO: Extracted packet for processing {"connection_id":160644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562240768001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787352804000,"timestamp_ms":1787352804000,"timestamp_seconds":1787352804,"priority":1,"record_length":96,"hex_timestamp":"000001a026876aa0"} 
[2026-08-22 04: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-22 04:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 04:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:25:27] 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-22 04: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-22 04: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-22 04:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562240768001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562240768001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:25:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562240768001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":160644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:25:27] local.INFO: GPS data processed {"connection_id":160644,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:25:27] local.INFO: Acknowledgment sent {"connection_id":160644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:25:50] local.INFO: TCP Data received {"connection_id":160645,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:25:50] local.INFO: Processing buffer {"connection_id":160645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:25:50] local.INFO: IMEI packet received {"connection_id":160645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":160645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:25:55] local.INFO: TCP Data received {"connection_id":160645,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:25:55] local.INFO: Processing buffer {"connection_id":160645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:25:55] local.INFO: IMEI packet received {"connection_id":160645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":160645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:25:56] local.INFO: TCP Data received {"connection_id":160645,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:25:56] local.INFO: Processing buffer {"connection_id":160645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:25:56] local.INFO: Packet analysis {"connection_id":160645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:25:56] local.INFO: Extracted packet for processing {"connection_id":160645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562240768001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:25: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-22 04:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787352804000,"timestamp_ms":1787352804000,"timestamp_seconds":1787352804,"priority":1,"record_length":96,"hex_timestamp":"000001a026876aa0"} 
[2026-08-22 04: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-22 04:25:56] 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-22 04: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-22 04: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-22 04: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-22 04: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-22 04:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562240768001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562240768001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:25:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562240768001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":160645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:25:56] local.INFO: GPS data processed {"connection_id":160645,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:25:56] local.INFO: Acknowledgment sent {"connection_id":160645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:26:27] local.INFO: TCP Data received {"connection_id":160645,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:26:27] local.INFO: Processing buffer {"connection_id":160645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:26:27] local.INFO: Packet analysis {"connection_id":160645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:26:27] local.INFO: Extracted packet for processing {"connection_id":160645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562240768001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:26: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-22 04:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787352804000,"timestamp_ms":1787352804000,"timestamp_seconds":1787352804,"priority":1,"record_length":96,"hex_timestamp":"000001a026876aa0"} 
[2026-08-22 04:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 04:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:26:27] 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-22 04:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562240768001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562240768001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:26:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562240768001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":160645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:26:27] local.INFO: GPS data processed {"connection_id":160645,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:26:27] local.INFO: Acknowledgment sent {"connection_id":160645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:26:50] local.INFO: TCP Data received {"connection_id":159461,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:26:50] local.INFO: Processing buffer {"connection_id":159461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:26:50] local.INFO: IMEI packet received {"connection_id":159461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":159461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:26:55] local.INFO: TCP Data received {"connection_id":159461,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:26:55] local.INFO: Processing buffer {"connection_id":159461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:26:55] local.INFO: IMEI packet received {"connection_id":159461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":159461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:26:56] local.INFO: TCP Data received {"connection_id":159461,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:26:56] local.INFO: Processing buffer {"connection_id":159461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:26:56] local.INFO: Packet analysis {"connection_id":159461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:26:56] local.INFO: Extracted packet for processing {"connection_id":159461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562240768001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787352804000,"timestamp_ms":1787352804000,"timestamp_seconds":1787352804,"priority":1,"record_length":96,"hex_timestamp":"000001a026876aa0"} 
[2026-08-22 04: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-22 04:26:56] 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-22 04: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-22 04: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-22 04: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-22 04: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-22 04:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562240768001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562240768001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:26:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562240768001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":159461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:26:56] local.INFO: GPS data processed {"connection_id":159461,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:26:56] local.INFO: Acknowledgment sent {"connection_id":159461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:27:27] local.INFO: TCP Data received {"connection_id":159461,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:27:27] local.INFO: Processing buffer {"connection_id":159461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:27:27] local.INFO: Packet analysis {"connection_id":159461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:27:27] local.INFO: Extracted packet for processing {"connection_id":159461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562240768001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:27: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-22 04:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787352804000,"timestamp_ms":1787352804000,"timestamp_seconds":1787352804,"priority":1,"record_length":96,"hex_timestamp":"000001a026876aa0"} 
[2026-08-22 04:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 04:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:27:27] 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-22 04:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562240768001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562240768001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:27:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562240768001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":159461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:27:27] local.INFO: GPS data processed {"connection_id":159461,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:27:27] local.INFO: Acknowledgment sent {"connection_id":159461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:27:55] local.INFO: TCP Data received {"connection_id":159462,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:27:55] local.INFO: Processing buffer {"connection_id":159462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:27:55] local.INFO: IMEI packet received {"connection_id":159462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":159462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:28:00] local.INFO: TCP Data received {"connection_id":159462,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:28:00] local.INFO: Processing buffer {"connection_id":159462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:28:00] local.INFO: IMEI packet received {"connection_id":159462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":159462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:28:01] local.INFO: TCP Data received {"connection_id":159462,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:28:01] local.INFO: Processing buffer {"connection_id":159462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:28:01] local.INFO: Packet analysis {"connection_id":159462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:28:01] local.INFO: Extracted packet for processing {"connection_id":159462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562240768001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:28: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-22 04:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787352804000,"timestamp_ms":1787352804000,"timestamp_seconds":1787352804,"priority":1,"record_length":96,"hex_timestamp":"000001a026876aa0"} 
[2026-08-22 04: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-22 04:28:01] 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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:28:01] 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-22 04: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-22 04: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-22 04:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562240768001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562240768001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:28:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562240768001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":159462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:28:01] local.INFO: GPS data processed {"connection_id":159462,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:28:01] local.INFO: Acknowledgment sent {"connection_id":159462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:28:05] local.INFO: TCP Data received {"connection_id":159462,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:28:05] local.INFO: Processing buffer {"connection_id":159462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:28:05] local.INFO: Packet analysis {"connection_id":159462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:28:05] local.INFO: Extracted packet for processing {"connection_id":159462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:28:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562240768001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:28:05] 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-22 04:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787352804000,"timestamp_ms":1787352804000,"timestamp_seconds":1787352804,"priority":1,"record_length":96,"hex_timestamp":"000001a026876aa0"} 
[2026-08-22 04: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-22 04:28:05] 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-22 04: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562240768001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562240768001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:28:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:28:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562240768001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":159462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:28:05] local.INFO: GPS data processed {"connection_id":159462,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:28:05] local.INFO: Acknowledgment sent {"connection_id":159462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:28:50] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:28:50] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:28:50] local.INFO: IMEI packet received {"connection_id":162055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":162055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:28:55] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:28:55] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:28:55] local.INFO: IMEI packet received {"connection_id":162055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":162055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:28:56] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:28:56] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026876aa0012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:28:56] local.INFO: Packet analysis {"connection_id":162055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:28:56] local.INFO: Extracted packet for processing {"connection_id":162055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02687"} 
[2026-08-22 04:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562240768001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:28: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-22 04:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787352804000,"timestamp_ms":1787352804000,"timestamp_seconds":1787352804,"priority":1,"record_length":96,"hex_timestamp":"000001a026876aa0"} 
[2026-08-22 04: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-22 04:28:56] 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-22 04:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:28: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-22 04: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-22 04: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-22 04:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562240768001,"66":25625,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562240768001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:28:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562240768001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":162055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:28:56] local.INFO: GPS data processed {"connection_id":162055,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:28:56] local.INFO: Acknowledgment sent {"connection_id":162055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:29:27] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:29:27] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:29:27] local.INFO: Packet analysis {"connection_id":162055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:29:27] local.INFO: Extracted packet for processing {"connection_id":162055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:29:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562317824001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:29: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-22 04:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787353105000,"timestamp_ms":1787353105000,"timestamp_seconds":1787353105,"priority":1,"record_length":96,"hex_timestamp":"000001a0268c0268"} 
[2026-08-22 04: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-22 04:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562317824001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562317824001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:29:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:29:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562317824001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":162055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:29:27] local.INFO: GPS data processed {"connection_id":162055,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:29:27] local.INFO: Acknowledgment sent {"connection_id":162055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:29:50] local.INFO: TCP Data received {"connection_id":162056,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:29:50] local.INFO: Processing buffer {"connection_id":162056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:29:50] local.INFO: IMEI packet received {"connection_id":162056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":162056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:29:55] local.INFO: TCP Data received {"connection_id":162056,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:29:55] local.INFO: Processing buffer {"connection_id":162056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:29:55] local.INFO: IMEI packet received {"connection_id":162056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":162056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:29:56] local.INFO: TCP Data received {"connection_id":162056,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:29:56] local.INFO: Processing buffer {"connection_id":162056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:29:56] local.INFO: Packet analysis {"connection_id":162056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:29:56] local.INFO: Extracted packet for processing {"connection_id":162056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562317824001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:29: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-22 04:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787353105000,"timestamp_ms":1787353105000,"timestamp_seconds":1787353105,"priority":1,"record_length":96,"hex_timestamp":"000001a0268c0268"} 
[2026-08-22 04: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-22 04:29:56] 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-22 04: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:29: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-22 04: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-22 04: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-22 04:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562317824001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562317824001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:29:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562317824001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":162056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:29:56] local.INFO: GPS data processed {"connection_id":162056,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:29:56] local.INFO: Acknowledgment sent {"connection_id":162056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:30:27] local.INFO: TCP Data received {"connection_id":162056,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:30:27] local.INFO: Processing buffer {"connection_id":162056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:30:27] local.INFO: Packet analysis {"connection_id":162056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:30:27] local.INFO: Extracted packet for processing {"connection_id":162056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562317824001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:30: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-22 04:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787353105000,"timestamp_ms":1787353105000,"timestamp_seconds":1787353105,"priority":1,"record_length":96,"hex_timestamp":"000001a0268c0268"} 
[2026-08-22 04: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-22 04:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562317824001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562317824001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:30:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562317824001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":162056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:30:27] local.INFO: GPS data processed {"connection_id":162056,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:30:27] local.INFO: Acknowledgment sent {"connection_id":162056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:30:50] local.INFO: TCP Data received {"connection_id":159737,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:30:50] local.INFO: Processing buffer {"connection_id":159737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:30:50] local.INFO: IMEI packet received {"connection_id":159737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":159737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:30:55] local.INFO: TCP Data received {"connection_id":159737,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:30:55] local.INFO: Processing buffer {"connection_id":159737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:30:55] local.INFO: IMEI packet received {"connection_id":159737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":159737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:30:56] local.INFO: TCP Data received {"connection_id":159737,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:30:56] local.INFO: Processing buffer {"connection_id":159737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:30:56] local.INFO: Packet analysis {"connection_id":159737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:30:56] local.INFO: Extracted packet for processing {"connection_id":159737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562317824001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:30: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-22 04:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787353105000,"timestamp_ms":1787353105000,"timestamp_seconds":1787353105,"priority":1,"record_length":96,"hex_timestamp":"000001a0268c0268"} 
[2026-08-22 04: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-22 04:30:56] 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-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:30: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-22 04: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-22 04: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-22 04:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562317824001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562317824001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:30:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562317824001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":159737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:30:56] local.INFO: GPS data processed {"connection_id":159737,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:30:56] local.INFO: Acknowledgment sent {"connection_id":159737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:31:27] local.INFO: TCP Data received {"connection_id":159737,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:31:27] local.INFO: Processing buffer {"connection_id":159737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:31:27] local.INFO: Packet analysis {"connection_id":159737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:31:27] local.INFO: Extracted packet for processing {"connection_id":159737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562317824001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:31: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-22 04:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787353105000,"timestamp_ms":1787353105000,"timestamp_seconds":1787353105,"priority":1,"record_length":96,"hex_timestamp":"000001a0268c0268"} 
[2026-08-22 04: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-22 04:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562317824001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562317824001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:31:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562317824001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":159737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:31:27] local.INFO: GPS data processed {"connection_id":159737,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:31:27] local.INFO: Acknowledgment sent {"connection_id":159737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:31:55] local.INFO: TCP Data received {"connection_id":159738,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:31:55] local.INFO: Processing buffer {"connection_id":159738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:31:55] local.INFO: IMEI packet received {"connection_id":159738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":159738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:32:00] local.INFO: TCP Data received {"connection_id":159738,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:32:00] local.INFO: Processing buffer {"connection_id":159738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:32:00] local.INFO: IMEI packet received {"connection_id":159738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":159738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:32:01] local.INFO: TCP Data received {"connection_id":159738,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:32:01] local.INFO: Processing buffer {"connection_id":159738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:32:01] local.INFO: Packet analysis {"connection_id":159738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:32:01] local.INFO: Extracted packet for processing {"connection_id":159738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562317824001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:32: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-22 04:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787353105000,"timestamp_ms":1787353105000,"timestamp_seconds":1787353105,"priority":1,"record_length":96,"hex_timestamp":"000001a0268c0268"} 
[2026-08-22 04: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-22 04:32:01] 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-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:32: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-22 04: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-22 04: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-22 04:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562317824001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562317824001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:32:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562317824001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":159738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:32:01] local.INFO: GPS data processed {"connection_id":159738,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:32:01] local.INFO: Acknowledgment sent {"connection_id":159738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:32:05] local.INFO: TCP Data received {"connection_id":159738,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:32:05] local.INFO: Processing buffer {"connection_id":159738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:32:05] local.INFO: Packet analysis {"connection_id":159738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:32:05] local.INFO: Extracted packet for processing {"connection_id":159738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562317824001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:32:05] 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-22 04:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787353105000,"timestamp_ms":1787353105000,"timestamp_seconds":1787353105,"priority":1,"record_length":96,"hex_timestamp":"000001a0268c0268"} 
[2026-08-22 04: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-22 04:32:05] 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-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562317824001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562317824001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:32:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562317824001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":159738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:32:05] local.INFO: GPS data processed {"connection_id":159738,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:32:05] local.INFO: Acknowledgment sent {"connection_id":159738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:32:50] local.INFO: TCP Data received {"connection_id":162057,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:32:50] local.INFO: Processing buffer {"connection_id":162057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:32:50] local.INFO: IMEI packet received {"connection_id":162057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":162057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:32:55] local.INFO: TCP Data received {"connection_id":162057,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:32:55] local.INFO: Processing buffer {"connection_id":162057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:32:55] local.INFO: IMEI packet received {"connection_id":162057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":162057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:32:56] local.INFO: TCP Data received {"connection_id":162057,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:32:56] local.INFO: Processing buffer {"connection_id":162057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:32:56] local.INFO: Packet analysis {"connection_id":162057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:32:56] local.INFO: Extracted packet for processing {"connection_id":162057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562317824001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:32: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-22 04:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787353105000,"timestamp_ms":1787353105000,"timestamp_seconds":1787353105,"priority":1,"record_length":96,"hex_timestamp":"000001a0268c0268"} 
[2026-08-22 04: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-22 04:32:56] 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-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:32: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-22 04: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-22 04: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-22 04:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562317824001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562317824001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:32:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562317824001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":162057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:32:56] local.INFO: GPS data processed {"connection_id":162057,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:32:56] local.INFO: Acknowledgment sent {"connection_id":162057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:33:27] local.INFO: TCP Data received {"connection_id":162057,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:33:27] local.INFO: Processing buffer {"connection_id":162057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:33:27] local.INFO: Packet analysis {"connection_id":162057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:33:27] local.INFO: Extracted packet for processing {"connection_id":162057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562317824001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:33: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-22 04:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787353105000,"timestamp_ms":1787353105000,"timestamp_seconds":1787353105,"priority":1,"record_length":96,"hex_timestamp":"000001a0268c0268"} 
[2026-08-22 04: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-22 04:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562317824001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562317824001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:33:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562317824001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":162057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:33:27] local.INFO: GPS data processed {"connection_id":162057,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:33:27] local.INFO: Acknowledgment sent {"connection_id":162057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:33:50] local.INFO: TCP Data received {"connection_id":159739,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:33:50] local.INFO: Processing buffer {"connection_id":159739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:33:50] local.INFO: IMEI packet received {"connection_id":159739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":159739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:33:55] local.INFO: TCP Data received {"connection_id":159739,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:33:55] local.INFO: Processing buffer {"connection_id":159739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:33:55] local.INFO: IMEI packet received {"connection_id":159739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":159739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:33:56] local.INFO: TCP Data received {"connection_id":159739,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:33:56] local.INFO: Processing buffer {"connection_id":159739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0268c0268012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 04:33:56] local.INFO: Packet analysis {"connection_id":159739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:33:56] local.INFO: Extracted packet for processing {"connection_id":159739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0268c"} 
[2026-08-22 04:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562317824001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:33: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-22 04:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787353105000,"timestamp_ms":1787353105000,"timestamp_seconds":1787353105,"priority":1,"record_length":96,"hex_timestamp":"000001a0268c0268"} 
[2026-08-22 04: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-22 04:33:56] 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-22 04: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-22 04: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-22 04: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-22 04: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-22 04:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562317824001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562317824001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:33:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562317824001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":159739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:33:56] local.INFO: GPS data processed {"connection_id":159739,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:33:56] local.INFO: Acknowledgment sent {"connection_id":159739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:34:27] local.INFO: TCP Data received {"connection_id":159739,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:34:27] local.INFO: Processing buffer {"connection_id":159739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:34:27] local.INFO: Packet analysis {"connection_id":159739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:34:27] local.INFO: Extracted packet for processing {"connection_id":159739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:34:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562394880001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:34: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-22 04:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787353406000,"timestamp_ms":1787353406000,"timestamp_seconds":1787353406,"priority":1,"record_length":96,"hex_timestamp":"000001a026909a30"} 
[2026-08-22 04: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-22 04:34:27] 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-22 04:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:34:27] 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-22 04: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-22 04: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-22 04:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562394880001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562394880001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:34:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:34:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562394880001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":159739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:34:27] local.INFO: GPS data processed {"connection_id":159739,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:34:27] local.INFO: Acknowledgment sent {"connection_id":159739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:34:50] local.INFO: TCP Data received {"connection_id":160646,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:34:50] local.INFO: Processing buffer {"connection_id":160646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:34:50] local.INFO: IMEI packet received {"connection_id":160646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":160646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:34:55] local.INFO: TCP Data received {"connection_id":160646,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:34:55] local.INFO: Processing buffer {"connection_id":160646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:34:55] local.INFO: IMEI packet received {"connection_id":160646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":160646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:34:56] local.INFO: TCP Data received {"connection_id":160646,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:34:56] local.INFO: Processing buffer {"connection_id":160646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:34:56] local.INFO: Packet analysis {"connection_id":160646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:34:56] local.INFO: Extracted packet for processing {"connection_id":160646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562394880001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:34: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-22 04:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787353406000,"timestamp_ms":1787353406000,"timestamp_seconds":1787353406,"priority":1,"record_length":96,"hex_timestamp":"000001a026909a30"} 
[2026-08-22 04: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-22 04:34:56] 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-22 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:34: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-22 04: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-22 04: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-22 04:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562394880001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562394880001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:34:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562394880001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":160646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:34:56] local.INFO: GPS data processed {"connection_id":160646,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:34:56] local.INFO: Acknowledgment sent {"connection_id":160646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:35:27] local.INFO: TCP Data received {"connection_id":160646,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:35:27] local.INFO: Processing buffer {"connection_id":160646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:35:27] local.INFO: Packet analysis {"connection_id":160646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:35:27] local.INFO: Extracted packet for processing {"connection_id":160646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562394880001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:35: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-22 04:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787353406000,"timestamp_ms":1787353406000,"timestamp_seconds":1787353406,"priority":1,"record_length":96,"hex_timestamp":"000001a026909a30"} 
[2026-08-22 04:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:35:27] 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-22 04:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:35:27] 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-22 04:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562394880001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562394880001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:35:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:35:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562394880001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":160646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:35:27] local.INFO: GPS data processed {"connection_id":160646,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:35:27] local.INFO: Acknowledgment sent {"connection_id":160646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:35:55] local.INFO: TCP Data received {"connection_id":159463,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:35:55] local.INFO: Processing buffer {"connection_id":159463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:35:55] local.INFO: IMEI packet received {"connection_id":159463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":159463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:36:00] local.INFO: TCP Data received {"connection_id":159463,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:36:00] local.INFO: Processing buffer {"connection_id":159463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:36:00] local.INFO: IMEI packet received {"connection_id":159463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":159463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:36:01] local.INFO: TCP Data received {"connection_id":159463,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:36:01] local.INFO: Processing buffer {"connection_id":159463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:36:01] local.INFO: Packet analysis {"connection_id":159463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:36:01] local.INFO: Extracted packet for processing {"connection_id":159463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562394880001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:36: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-22 04:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787353406000,"timestamp_ms":1787353406000,"timestamp_seconds":1787353406,"priority":1,"record_length":96,"hex_timestamp":"000001a026909a30"} 
[2026-08-22 04: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-22 04:36:01] 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-22 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:36: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-22 04: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-22 04: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-22 04:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562394880001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562394880001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:36:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562394880001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":159463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:36:01] local.INFO: GPS data processed {"connection_id":159463,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:36:01] local.INFO: Acknowledgment sent {"connection_id":159463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:36:06] local.INFO: TCP Data received {"connection_id":159463,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:36:06] local.INFO: Processing buffer {"connection_id":159463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:36:06] local.INFO: Packet analysis {"connection_id":159463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:36:06] local.INFO: Extracted packet for processing {"connection_id":159463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562394880001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:36:06] 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-22 04:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787353406000,"timestamp_ms":1787353406000,"timestamp_seconds":1787353406,"priority":1,"record_length":96,"hex_timestamp":"000001a026909a30"} 
[2026-08-22 04:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:36:06] 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-22 04:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562394880001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562394880001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:36:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562394880001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":159463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:36:06] local.INFO: GPS data processed {"connection_id":159463,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:36:06] local.INFO: Acknowledgment sent {"connection_id":159463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:36:50] local.INFO: TCP Data received {"connection_id":162058,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:36:50] local.INFO: Processing buffer {"connection_id":162058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:36:50] local.INFO: IMEI packet received {"connection_id":162058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":162058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:36:55] local.INFO: TCP Data received {"connection_id":162058,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:36:55] local.INFO: Processing buffer {"connection_id":162058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:36:55] local.INFO: IMEI packet received {"connection_id":162058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":162058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:36:56] local.INFO: TCP Data received {"connection_id":162058,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:36:56] local.INFO: Processing buffer {"connection_id":162058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:36:56] local.INFO: Packet analysis {"connection_id":162058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:36:56] local.INFO: Extracted packet for processing {"connection_id":162058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562394880001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:36: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-22 04:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787353406000,"timestamp_ms":1787353406000,"timestamp_seconds":1787353406,"priority":1,"record_length":96,"hex_timestamp":"000001a026909a30"} 
[2026-08-22 04: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-22 04:36:56] 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-22 04: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:36: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-22 04: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-22 04: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-22 04:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562394880001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562394880001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:36:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562394880001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":162058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:36:56] local.INFO: GPS data processed {"connection_id":162058,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:36:56] local.INFO: Acknowledgment sent {"connection_id":162058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:37:27] local.INFO: TCP Data received {"connection_id":162058,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:37:27] local.INFO: Processing buffer {"connection_id":162058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:37:27] local.INFO: Packet analysis {"connection_id":162058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:37:27] local.INFO: Extracted packet for processing {"connection_id":162058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562394880001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:37: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-22 04:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787353406000,"timestamp_ms":1787353406000,"timestamp_seconds":1787353406,"priority":1,"record_length":96,"hex_timestamp":"000001a026909a30"} 
[2026-08-22 04: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-22 04:37:27] 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-22 04:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:37:27] 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-22 04: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-22 04: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-22 04:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562394880001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562394880001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:37:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562394880001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":162058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:37:27] local.INFO: GPS data processed {"connection_id":162058,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:37:27] local.INFO: Acknowledgment sent {"connection_id":162058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:37:50] local.INFO: TCP Data received {"connection_id":162059,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:37:50] local.INFO: Processing buffer {"connection_id":162059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:37:50] local.INFO: IMEI packet received {"connection_id":162059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":162059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:37:55] local.INFO: TCP Data received {"connection_id":162059,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:37:55] local.INFO: Processing buffer {"connection_id":162059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:37:55] local.INFO: IMEI packet received {"connection_id":162059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":162059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:37:56] local.INFO: TCP Data received {"connection_id":162059,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:37:56] local.INFO: Processing buffer {"connection_id":162059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:37:56] local.INFO: Packet analysis {"connection_id":162059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:37:56] local.INFO: Extracted packet for processing {"connection_id":162059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562394880001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:37: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-22 04:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787353406000,"timestamp_ms":1787353406000,"timestamp_seconds":1787353406,"priority":1,"record_length":96,"hex_timestamp":"000001a026909a30"} 
[2026-08-22 04: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-22 04:37:56] 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-22 04: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:37: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-22 04: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-22 04: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-22 04:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562394880001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562394880001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:37:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562394880001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":162059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:37:56] local.INFO: GPS data processed {"connection_id":162059,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:37:56] local.INFO: Acknowledgment sent {"connection_id":162059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:38:27] local.INFO: TCP Data received {"connection_id":162059,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:38:27] local.INFO: Processing buffer {"connection_id":162059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:38:27] local.INFO: Packet analysis {"connection_id":162059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:38:27] local.INFO: Extracted packet for processing {"connection_id":162059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562394880001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:38: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-22 04:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787353406000,"timestamp_ms":1787353406000,"timestamp_seconds":1787353406,"priority":1,"record_length":96,"hex_timestamp":"000001a026909a30"} 
[2026-08-22 04: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-22 04:38:27] 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-22 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:38:27] 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-22 04: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-22 04: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-22 04:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562394880001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562394880001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:38:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562394880001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":162059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:38:27] local.INFO: GPS data processed {"connection_id":162059,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:38:27] local.INFO: Acknowledgment sent {"connection_id":162059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:38:50] local.INFO: TCP Data received {"connection_id":159464,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:38:50] local.INFO: Processing buffer {"connection_id":159464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:38:50] local.INFO: IMEI packet received {"connection_id":159464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":159464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:38:55] local.INFO: TCP Data received {"connection_id":159464,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:38:55] local.INFO: Processing buffer {"connection_id":159464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:38:55] local.INFO: IMEI packet received {"connection_id":159464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":159464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:38:56] local.INFO: TCP Data received {"connection_id":159464,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:38:56] local.INFO: Processing buffer {"connection_id":159464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026909a30012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:38:56] local.INFO: Packet analysis {"connection_id":159464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:38:56] local.INFO: Extracted packet for processing {"connection_id":159464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02690"} 
[2026-08-22 04:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562394880001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:38: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-22 04:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787353406000,"timestamp_ms":1787353406000,"timestamp_seconds":1787353406,"priority":1,"record_length":96,"hex_timestamp":"000001a026909a30"} 
[2026-08-22 04: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-22 04:38:56] 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-22 04:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 04:38: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-22 04: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-22 04: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-22 04:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562394880001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562394880001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:38:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562394880001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":159464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:38:56] local.INFO: GPS data processed {"connection_id":159464,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:38:56] local.INFO: Acknowledgment sent {"connection_id":159464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:39:27] local.INFO: TCP Data received {"connection_id":159464,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:39:27] local.INFO: Processing buffer {"connection_id":159464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:39:27] local.INFO: Packet analysis {"connection_id":159464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:39:27] local.INFO: Extracted packet for processing {"connection_id":159464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562471936001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:39: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-22 04:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787353707000,"timestamp_ms":1787353707000,"timestamp_seconds":1787353707,"priority":1,"record_length":96,"hex_timestamp":"000001a0269531f8"} 
[2026-08-22 04: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-22 04:39:27] 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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:39:27] 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-22 04: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-22 04: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-22 04:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562471936001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562471936001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:39:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:39:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562471936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":159464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:39:27] local.INFO: GPS data processed {"connection_id":159464,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:39:27] local.INFO: Acknowledgment sent {"connection_id":159464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:39:55] local.INFO: TCP Data received {"connection_id":159740,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:39:55] local.INFO: Processing buffer {"connection_id":159740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:39:55] local.INFO: IMEI packet received {"connection_id":159740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":159740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:40:00] local.INFO: TCP Data received {"connection_id":159740,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:40:00] local.INFO: Processing buffer {"connection_id":159740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:40:00] local.INFO: IMEI packet received {"connection_id":159740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":159740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:40:01] local.INFO: TCP Data received {"connection_id":159740,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:40:01] local.INFO: Processing buffer {"connection_id":159740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:40:01] local.INFO: Packet analysis {"connection_id":159740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:40:01] local.INFO: Extracted packet for processing {"connection_id":159740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562471936001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:40: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-22 04:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787353707000,"timestamp_ms":1787353707000,"timestamp_seconds":1787353707,"priority":1,"record_length":96,"hex_timestamp":"000001a0269531f8"} 
[2026-08-22 04: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-22 04:40:01] 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-22 04: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:40:01] 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-22 04: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-22 04: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-22 04:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562471936001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562471936001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:40:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562471936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":159740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:40:01] local.INFO: GPS data processed {"connection_id":159740,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:40:01] local.INFO: Acknowledgment sent {"connection_id":159740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:40:05] local.INFO: TCP Data received {"connection_id":159740,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:40:05] local.INFO: Processing buffer {"connection_id":159740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:40:05] local.INFO: Packet analysis {"connection_id":159740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:40:05] local.INFO: Extracted packet for processing {"connection_id":159740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:40:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562471936001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:40:05] 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-22 04:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787353707000,"timestamp_ms":1787353707000,"timestamp_seconds":1787353707,"priority":1,"record_length":96,"hex_timestamp":"000001a0269531f8"} 
[2026-08-22 04: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-22 04:40:05] 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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562471936001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562471936001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:40:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:40:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562471936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":159740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:40:05] local.INFO: GPS data processed {"connection_id":159740,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:40:05] local.INFO: Acknowledgment sent {"connection_id":159740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:40:50] local.INFO: TCP Data received {"connection_id":159741,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:40:50] local.INFO: Processing buffer {"connection_id":159741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:40:50] local.INFO: IMEI packet received {"connection_id":159741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":159741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:40:55] local.INFO: TCP Data received {"connection_id":159741,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:40:55] local.INFO: Processing buffer {"connection_id":159741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:40:55] local.INFO: IMEI packet received {"connection_id":159741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":159741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:40:56] local.INFO: TCP Data received {"connection_id":159741,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:40:56] local.INFO: Processing buffer {"connection_id":159741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:40:56] local.INFO: Packet analysis {"connection_id":159741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:40:56] local.INFO: Extracted packet for processing {"connection_id":159741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562471936001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787353707000,"timestamp_ms":1787353707000,"timestamp_seconds":1787353707,"priority":1,"record_length":96,"hex_timestamp":"000001a0269531f8"} 
[2026-08-22 04: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-22 04:40:56] 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-22 04:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:40: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-22 04: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-22 04: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-22 04:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562471936001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562471936001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:40:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562471936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":159741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:40:56] local.INFO: GPS data processed {"connection_id":159741,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:40:56] local.INFO: Acknowledgment sent {"connection_id":159741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:41:27] local.INFO: TCP Data received {"connection_id":159741,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:41:27] local.INFO: Processing buffer {"connection_id":159741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:41:27] local.INFO: Packet analysis {"connection_id":159741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:41:27] local.INFO: Extracted packet for processing {"connection_id":159741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562471936001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:41: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-22 04:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787353707000,"timestamp_ms":1787353707000,"timestamp_seconds":1787353707,"priority":1,"record_length":96,"hex_timestamp":"000001a0269531f8"} 
[2026-08-22 04: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-22 04:41:27] 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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:41:27] 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-22 04: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-22 04: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-22 04:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562471936001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562471936001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:41:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562471936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":159741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:41:27] local.INFO: GPS data processed {"connection_id":159741,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:41:27] local.INFO: Acknowledgment sent {"connection_id":159741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:41:50] local.INFO: TCP Data received {"connection_id":160647,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:41:50] local.INFO: Processing buffer {"connection_id":160647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:41:50] local.INFO: IMEI packet received {"connection_id":160647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":160647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:41:55] local.INFO: TCP Data received {"connection_id":160647,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:41:55] local.INFO: Processing buffer {"connection_id":160647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:41:55] local.INFO: IMEI packet received {"connection_id":160647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":160647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:41:56] local.INFO: TCP Data received {"connection_id":160647,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:41:56] local.INFO: Processing buffer {"connection_id":160647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:41:56] local.INFO: Packet analysis {"connection_id":160647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:41:56] local.INFO: Extracted packet for processing {"connection_id":160647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562471936001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787353707000,"timestamp_ms":1787353707000,"timestamp_seconds":1787353707,"priority":1,"record_length":96,"hex_timestamp":"000001a0269531f8"} 
[2026-08-22 04: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-22 04:41:56] 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-22 04: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:41: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-22 04: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-22 04: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-22 04:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562471936001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562471936001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:41:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562471936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":160647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:41:56] local.INFO: GPS data processed {"connection_id":160647,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:41:56] local.INFO: Acknowledgment sent {"connection_id":160647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:42:27] local.INFO: TCP Data received {"connection_id":160647,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:42:27] local.INFO: Processing buffer {"connection_id":160647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:42:27] local.INFO: Packet analysis {"connection_id":160647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:42:27] local.INFO: Extracted packet for processing {"connection_id":160647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562471936001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:42: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-22 04:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787353707000,"timestamp_ms":1787353707000,"timestamp_seconds":1787353707,"priority":1,"record_length":96,"hex_timestamp":"000001a0269531f8"} 
[2026-08-22 04: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-22 04:42:27] 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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:42:27] 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-22 04: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-22 04: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-22 04:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562471936001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562471936001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:42:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562471936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":160647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:42:27] local.INFO: GPS data processed {"connection_id":160647,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:42:27] local.INFO: Acknowledgment sent {"connection_id":160647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:42:50] local.INFO: TCP Data received {"connection_id":159465,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:42:50] local.INFO: Processing buffer {"connection_id":159465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:42:50] local.INFO: IMEI packet received {"connection_id":159465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":159465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:42:55] local.INFO: TCP Data received {"connection_id":159465,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:42:55] local.INFO: Processing buffer {"connection_id":159465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:42:55] local.INFO: IMEI packet received {"connection_id":159465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":159465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:42:56] local.INFO: TCP Data received {"connection_id":159465,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:42:56] local.INFO: Processing buffer {"connection_id":159465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:42:56] local.INFO: Packet analysis {"connection_id":159465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:42:56] local.INFO: Extracted packet for processing {"connection_id":159465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562471936001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787353707000,"timestamp_ms":1787353707000,"timestamp_seconds":1787353707,"priority":1,"record_length":96,"hex_timestamp":"000001a0269531f8"} 
[2026-08-22 04: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-22 04:42:56] 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-22 04: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:42: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-22 04: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-22 04: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-22 04:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562471936001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562471936001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:42:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562471936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":159465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:42:56] local.INFO: GPS data processed {"connection_id":159465,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:42:56] local.INFO: Acknowledgment sent {"connection_id":159465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:43:27] local.INFO: TCP Data received {"connection_id":159465,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:43:27] local.INFO: Processing buffer {"connection_id":159465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:43:27] local.INFO: Packet analysis {"connection_id":159465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:43:27] local.INFO: Extracted packet for processing {"connection_id":159465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562471936001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:43: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-22 04:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787353707000,"timestamp_ms":1787353707000,"timestamp_seconds":1787353707,"priority":1,"record_length":96,"hex_timestamp":"000001a0269531f8"} 
[2026-08-22 04: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-22 04:43:27] 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-22 04:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:43:27] 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-22 04: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-22 04: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-22 04:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562471936001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562471936001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:43:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562471936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":159465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:43:27] local.INFO: GPS data processed {"connection_id":159465,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:43:27] local.INFO: Acknowledgment sent {"connection_id":159465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:43:50] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:43:50] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:43:50] local.INFO: IMEI packet received {"connection_id":162060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":162060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:43:55] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:43:55] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:43:55] local.INFO: IMEI packet received {"connection_id":162060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":162060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:43:56] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:43:56] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269531f8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:43:56] local.INFO: Packet analysis {"connection_id":162060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:43:56] local.INFO: Extracted packet for processing {"connection_id":162060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02695"} 
[2026-08-22 04:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562471936001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:43: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-22 04:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787353707000,"timestamp_ms":1787353707000,"timestamp_seconds":1787353707,"priority":1,"record_length":96,"hex_timestamp":"000001a0269531f8"} 
[2026-08-22 04: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-22 04:43:56] 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-22 04: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:43: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-22 04: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-22 04: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-22 04:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562471936001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562471936001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:43:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562471936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":162060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:43:56] local.INFO: GPS data processed {"connection_id":162060,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:43:56] local.INFO: Acknowledgment sent {"connection_id":162060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:44:27] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:44:27] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:44:27] local.INFO: Packet analysis {"connection_id":162060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:44:27] local.INFO: Extracted packet for processing {"connection_id":162060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562548992001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:44: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-22 04:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787354008000,"timestamp_ms":1787354008000,"timestamp_seconds":1787354008,"priority":1,"record_length":96,"hex_timestamp":"000001a02699c9c0"} 
[2026-08-22 04: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-22 04:44:27] 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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:44:27] 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-22 04: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-22 04: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-22 04:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562548992001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562548992001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:44:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562548992001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":162060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:44:27] local.INFO: GPS data processed {"connection_id":162060,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:44:27] local.INFO: Acknowledgment sent {"connection_id":162060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:44:50] local.INFO: TCP Data received {"connection_id":159466,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:44:50] local.INFO: Processing buffer {"connection_id":159466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:44:50] local.INFO: IMEI packet received {"connection_id":159466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":159466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:44:55] local.INFO: TCP Data received {"connection_id":159466,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:44:55] local.INFO: Processing buffer {"connection_id":159466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:44:55] local.INFO: IMEI packet received {"connection_id":159466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":159466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:44:56] local.INFO: TCP Data received {"connection_id":159466,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:44:56] local.INFO: Processing buffer {"connection_id":159466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:44:56] local.INFO: Packet analysis {"connection_id":159466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:44:56] local.INFO: Extracted packet for processing {"connection_id":159466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562548992001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787354008000,"timestamp_ms":1787354008000,"timestamp_seconds":1787354008,"priority":1,"record_length":96,"hex_timestamp":"000001a02699c9c0"} 
[2026-08-22 04: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-22 04:44:56] 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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:44: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-22 04: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-22 04: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-22 04:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562548992001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562548992001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:44:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562548992001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":159466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:44:56] local.INFO: GPS data processed {"connection_id":159466,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:44:56] local.INFO: Acknowledgment sent {"connection_id":159466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:45:27] local.INFO: TCP Data received {"connection_id":159466,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:45:27] local.INFO: Processing buffer {"connection_id":159466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:45:27] local.INFO: Packet analysis {"connection_id":159466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:45:27] local.INFO: Extracted packet for processing {"connection_id":159466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:45:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562548992001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:45: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-22 04:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787354008000,"timestamp_ms":1787354008000,"timestamp_seconds":1787354008,"priority":1,"record_length":96,"hex_timestamp":"000001a02699c9c0"} 
[2026-08-22 04: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-22 04:45:27] 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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:45:27] 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-22 04: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-22 04: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-22 04:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562548992001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562548992001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:45:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:45:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562548992001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":159466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:45:27] local.INFO: GPS data processed {"connection_id":159466,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:45:27] local.INFO: Acknowledgment sent {"connection_id":159466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:45:50] local.INFO: TCP Data received {"connection_id":160648,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:45:50] local.INFO: Processing buffer {"connection_id":160648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:45:50] local.INFO: IMEI packet received {"connection_id":160648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":160648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:45:55] local.INFO: TCP Data received {"connection_id":160648,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:45:55] local.INFO: Processing buffer {"connection_id":160648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:45:55] local.INFO: IMEI packet received {"connection_id":160648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":160648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:45:56] local.INFO: TCP Data received {"connection_id":160648,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:45:56] local.INFO: Processing buffer {"connection_id":160648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:45:56] local.INFO: Packet analysis {"connection_id":160648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:45:56] local.INFO: Extracted packet for processing {"connection_id":160648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562548992001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:45: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-22 04:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787354008000,"timestamp_ms":1787354008000,"timestamp_seconds":1787354008,"priority":1,"record_length":96,"hex_timestamp":"000001a02699c9c0"} 
[2026-08-22 04: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-22 04:45:56] 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-22 04: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:45: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-22 04: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-22 04: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-22 04:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562548992001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562548992001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:45:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562548992001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":160648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:45:56] local.INFO: GPS data processed {"connection_id":160648,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:45:56] local.INFO: Acknowledgment sent {"connection_id":160648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:46:27] local.INFO: TCP Data received {"connection_id":160648,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:46:27] local.INFO: Processing buffer {"connection_id":160648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:46:27] local.INFO: Packet analysis {"connection_id":160648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:46:27] local.INFO: Extracted packet for processing {"connection_id":160648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562548992001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:46: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-22 04:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787354008000,"timestamp_ms":1787354008000,"timestamp_seconds":1787354008,"priority":1,"record_length":96,"hex_timestamp":"000001a02699c9c0"} 
[2026-08-22 04: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-22 04:46:27] 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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:46:27] 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-22 04: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-22 04: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-22 04:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562548992001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562548992001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:46:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562548992001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":160648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:46:27] local.INFO: GPS data processed {"connection_id":160648,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:46:27] local.INFO: Acknowledgment sent {"connection_id":160648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:46:50] local.INFO: TCP Data received {"connection_id":160649,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:46:50] local.INFO: Processing buffer {"connection_id":160649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:46:50] local.INFO: IMEI packet received {"connection_id":160649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":160649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:46:55] local.INFO: TCP Data received {"connection_id":160649,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:46:55] local.INFO: Processing buffer {"connection_id":160649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:46:55] local.INFO: IMEI packet received {"connection_id":160649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":160649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:46:56] local.INFO: TCP Data received {"connection_id":160649,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:46:56] local.INFO: Processing buffer {"connection_id":160649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:46:56] local.INFO: Packet analysis {"connection_id":160649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:46:56] local.INFO: Extracted packet for processing {"connection_id":160649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 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-22 04:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562548992001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04: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-22 04:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787354008000,"timestamp_ms":1787354008000,"timestamp_seconds":1787354008,"priority":1,"record_length":96,"hex_timestamp":"000001a02699c9c0"} 
[2026-08-22 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-22 04:46:56] 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-22 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":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:46: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-22 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-22 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-22 04:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562548992001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562548992001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:46:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562548992001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":160649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:46:56] local.INFO: GPS data processed {"connection_id":160649,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:46:56] local.INFO: Acknowledgment sent {"connection_id":160649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:47:27] local.INFO: TCP Data received {"connection_id":160649,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:47:27] local.INFO: Processing buffer {"connection_id":160649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:47:27] local.INFO: Packet analysis {"connection_id":160649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:47:27] local.INFO: Extracted packet for processing {"connection_id":160649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 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-22 04:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562548992001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:47: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-22 04:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787354008000,"timestamp_ms":1787354008000,"timestamp_seconds":1787354008,"priority":1,"record_length":96,"hex_timestamp":"000001a02699c9c0"} 
[2026-08-22 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-22 04:47:27] 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-22 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":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:47:27] 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-22 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-22 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-22 04:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562548992001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562548992001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:47:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:47:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562548992001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":160649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:47:27] local.INFO: GPS data processed {"connection_id":160649,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:47:27] local.INFO: Acknowledgment sent {"connection_id":160649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:47:50] local.INFO: TCP Data received {"connection_id":159467,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:47:50] local.INFO: Processing buffer {"connection_id":159467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:47:50] local.INFO: IMEI packet received {"connection_id":159467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":159467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:47:55] local.INFO: TCP Data received {"connection_id":159467,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:47:55] local.INFO: Processing buffer {"connection_id":159467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:47:55] local.INFO: IMEI packet received {"connection_id":159467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":159467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:47:56] local.INFO: TCP Data received {"connection_id":159467,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:47:56] local.INFO: Processing buffer {"connection_id":159467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:47:56] local.INFO: Packet analysis {"connection_id":159467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:47:56] local.INFO: Extracted packet for processing {"connection_id":159467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562548992001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:47: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-22 04:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787354008000,"timestamp_ms":1787354008000,"timestamp_seconds":1787354008,"priority":1,"record_length":96,"hex_timestamp":"000001a02699c9c0"} 
[2026-08-22 04: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-22 04:47:56] 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-22 04: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:47: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-22 04: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-22 04: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-22 04:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562548992001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562548992001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:47:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562548992001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":159467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:47:56] local.INFO: GPS data processed {"connection_id":159467,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:47:56] local.INFO: Acknowledgment sent {"connection_id":159467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:48:28] local.INFO: TCP Data received {"connection_id":159467,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:48:28] local.INFO: Processing buffer {"connection_id":159467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:48:28] local.INFO: Packet analysis {"connection_id":159467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:48:28] local.INFO: Extracted packet for processing {"connection_id":159467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:48:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562548992001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:48: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-22 04:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787354008000,"timestamp_ms":1787354008000,"timestamp_seconds":1787354008,"priority":1,"record_length":96,"hex_timestamp":"000001a02699c9c0"} 
[2026-08-22 04:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:48:28] 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-22 04:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:48:28] 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-22 04:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562548992001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562548992001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:48:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:48:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562548992001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":159467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:48:28] local.INFO: GPS data processed {"connection_id":159467,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:48:28] local.INFO: Acknowledgment sent {"connection_id":159467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:49:01] local.INFO: TCP Data received {"connection_id":160650,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:49:01] local.INFO: Processing buffer {"connection_id":160650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:49:01] local.INFO: IMEI packet received {"connection_id":160650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":160650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:49:02] local.INFO: TCP Data received {"connection_id":160650,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:49:02] local.INFO: Processing buffer {"connection_id":160650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:49:02] local.INFO: IMEI packet received {"connection_id":160650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":160650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:49:03] local.INFO: TCP Data received {"connection_id":160650,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:49:03] local.INFO: Processing buffer {"connection_id":160650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:49:03] local.INFO: Packet analysis {"connection_id":160650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:49:03] local.INFO: Extracted packet for processing {"connection_id":160650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:49:03] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562548992001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:49:03] 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-22 04:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787354008000,"timestamp_ms":1787354008000,"timestamp_seconds":1787354008,"priority":1,"record_length":96,"hex_timestamp":"000001a02699c9c0"} 
[2026-08-22 04:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:49:03] 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-22 04:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:49:03] 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-22 04:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562548992001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562548992001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:49:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:49:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562548992001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":160650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:49:03] local.INFO: GPS data processed {"connection_id":160650,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:49:03] local.INFO: Acknowledgment sent {"connection_id":160650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:49:06] local.INFO: TCP Data received {"connection_id":160650,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:49:06] local.INFO: Processing buffer {"connection_id":160650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02699c9c0012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:49:06] local.INFO: Packet analysis {"connection_id":160650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:49:06] local.INFO: Extracted packet for processing {"connection_id":160650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02699"} 
[2026-08-22 04:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562548992001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:49:06] 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-22 04:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787354008000,"timestamp_ms":1787354008000,"timestamp_seconds":1787354008,"priority":1,"record_length":96,"hex_timestamp":"000001a02699c9c0"} 
[2026-08-22 04:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:49:06] 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-22 04:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562548992001,"66":25615,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 04:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562548992001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:49:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 04:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562548992001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":160650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:49:06] local.INFO: GPS data processed {"connection_id":160650,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:49:06] local.INFO: Acknowledgment sent {"connection_id":160650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:49:50] local.INFO: TCP Data received {"connection_id":159742,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:49:50] local.INFO: Processing buffer {"connection_id":159742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:49:50] local.INFO: IMEI packet received {"connection_id":159742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":159742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:49:55] local.INFO: TCP Data received {"connection_id":159742,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:49:55] local.INFO: Processing buffer {"connection_id":159742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:49:55] local.INFO: IMEI packet received {"connection_id":159742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":159742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:49:56] local.INFO: TCP Data received {"connection_id":159742,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:49:56] local.INFO: Processing buffer {"connection_id":159742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:49:56] local.INFO: Packet analysis {"connection_id":159742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:49:56] local.INFO: Extracted packet for processing {"connection_id":159742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562626048001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:49: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-22 04:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787354309000,"timestamp_ms":1787354309000,"timestamp_seconds":1787354309,"priority":1,"record_length":96,"hex_timestamp":"000001a0269e6188"} 
[2026-08-22 04: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-22 04:49:56] 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-22 04: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:49: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-22 04: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-22 04: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-22 04:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562626048001,"66":25582,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 04:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562626048001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:49:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 04:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562626048001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":159742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:49:56] local.INFO: GPS data processed {"connection_id":159742,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:49:56] local.INFO: Acknowledgment sent {"connection_id":159742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:50:27] local.INFO: TCP Data received {"connection_id":159742,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:50:27] local.INFO: Processing buffer {"connection_id":159742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:50:27] local.INFO: Packet analysis {"connection_id":159742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:50:27] local.INFO: Extracted packet for processing {"connection_id":159742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562626048001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:50:27] 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-22 04:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787354309000,"timestamp_ms":1787354309000,"timestamp_seconds":1787354309,"priority":1,"record_length":96,"hex_timestamp":"000001a0269e6188"} 
[2026-08-22 04:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 04:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:50:27] 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-22 04:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562626048001,"66":25582,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 04:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562626048001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:50:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 04:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562626048001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":159742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:50:27] local.INFO: GPS data processed {"connection_id":159742,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:50:27] local.INFO: Acknowledgment sent {"connection_id":159742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:50:52] local.INFO: TCP Data received {"connection_id":159743,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:50:52] local.INFO: Processing buffer {"connection_id":159743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:50:52] local.INFO: IMEI packet received {"connection_id":159743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":159743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:50:55] local.INFO: TCP Data received {"connection_id":159743,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:50:55] local.INFO: Processing buffer {"connection_id":159743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:50:55] local.INFO: IMEI packet received {"connection_id":159743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":159743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:50:56] local.INFO: TCP Data received {"connection_id":159743,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:50:56] local.INFO: Processing buffer {"connection_id":159743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:50:56] local.INFO: Packet analysis {"connection_id":159743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:50:56] local.INFO: Extracted packet for processing {"connection_id":159743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562626048001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:50: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-22 04:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787354309000,"timestamp_ms":1787354309000,"timestamp_seconds":1787354309,"priority":1,"record_length":96,"hex_timestamp":"000001a0269e6188"} 
[2026-08-22 04: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-22 04:50:56] 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-22 04: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:50: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-22 04: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-22 04: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-22 04:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562626048001,"66":25582,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 04:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562626048001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:50:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 04:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562626048001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":159743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:50:56] local.INFO: GPS data processed {"connection_id":159743,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:50:56] local.INFO: Acknowledgment sent {"connection_id":159743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:51:27] local.INFO: TCP Data received {"connection_id":159743,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:51:27] local.INFO: Processing buffer {"connection_id":159743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:51:27] local.INFO: Packet analysis {"connection_id":159743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:51:27] local.INFO: Extracted packet for processing {"connection_id":159743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562626048001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:51:27] 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-22 04:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787354309000,"timestamp_ms":1787354309000,"timestamp_seconds":1787354309,"priority":1,"record_length":96,"hex_timestamp":"000001a0269e6188"} 
[2026-08-22 04: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-22 04:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 04:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:51:27] 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-22 04: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-22 04: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-22 04:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562626048001,"66":25582,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 04:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562626048001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:51:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 04:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562626048001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":159743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:51:27] local.INFO: GPS data processed {"connection_id":159743,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:51:27] local.INFO: Acknowledgment sent {"connection_id":159743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:51:50] local.INFO: TCP Data received {"connection_id":159468,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:51:50] local.INFO: Processing buffer {"connection_id":159468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:51:50] local.INFO: IMEI packet received {"connection_id":159468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":159468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:51:55] local.INFO: TCP Data received {"connection_id":159468,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:51:55] local.INFO: Processing buffer {"connection_id":159468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:51:55] local.INFO: IMEI packet received {"connection_id":159468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":159468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:51:56] local.INFO: TCP Data received {"connection_id":159468,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:51:56] local.INFO: Processing buffer {"connection_id":159468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:51:56] local.INFO: Packet analysis {"connection_id":159468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:51:56] local.INFO: Extracted packet for processing {"connection_id":159468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562626048001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:51: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-22 04:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787354309000,"timestamp_ms":1787354309000,"timestamp_seconds":1787354309,"priority":1,"record_length":96,"hex_timestamp":"000001a0269e6188"} 
[2026-08-22 04: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-22 04:51:56] 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-22 04: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:51: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-22 04: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-22 04: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-22 04:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562626048001,"66":25582,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 04:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562626048001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:51:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 04:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562626048001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":159468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:51:56] local.INFO: GPS data processed {"connection_id":159468,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:51:56] local.INFO: Acknowledgment sent {"connection_id":159468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:52:27] local.INFO: TCP Data received {"connection_id":159468,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:52:27] local.INFO: Processing buffer {"connection_id":159468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:52:27] local.INFO: Packet analysis {"connection_id":159468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:52:27] local.INFO: Extracted packet for processing {"connection_id":159468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562626048001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:52:27] 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-22 04:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787354309000,"timestamp_ms":1787354309000,"timestamp_seconds":1787354309,"priority":1,"record_length":96,"hex_timestamp":"000001a0269e6188"} 
[2026-08-22 04: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-22 04:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:52:27] 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-22 04: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-22 04: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-22 04:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562626048001,"66":25582,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 04:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562626048001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:52:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 04:52:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562626048001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":159468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:52:27] local.INFO: GPS data processed {"connection_id":159468,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:52:27] local.INFO: Acknowledgment sent {"connection_id":159468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:52:55] local.INFO: TCP Data received {"connection_id":159744,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:52:55] local.INFO: Processing buffer {"connection_id":159744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:52:55] local.INFO: IMEI packet received {"connection_id":159744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":159744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:53:00] local.INFO: TCP Data received {"connection_id":159744,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:53:00] local.INFO: Processing buffer {"connection_id":159744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:53:00] local.INFO: IMEI packet received {"connection_id":159744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":159744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:53:01] local.INFO: TCP Data received {"connection_id":159744,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:53:01] local.INFO: Processing buffer {"connection_id":159744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:53:01] local.INFO: Packet analysis {"connection_id":159744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:53:01] local.INFO: Extracted packet for processing {"connection_id":159744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562626048001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:53:01] 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-22 04:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787354309000,"timestamp_ms":1787354309000,"timestamp_seconds":1787354309,"priority":1,"record_length":96,"hex_timestamp":"000001a0269e6188"} 
[2026-08-22 04: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-22 04:53:01] 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-22 04: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:53:01] 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-22 04: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-22 04: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-22 04:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562626048001,"66":25582,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 04:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562626048001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:53:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 04:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562626048001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":159744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:53:01] local.INFO: GPS data processed {"connection_id":159744,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:53:01] local.INFO: Acknowledgment sent {"connection_id":159744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:53:05] local.INFO: TCP Data received {"connection_id":159744,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:53:05] local.INFO: Processing buffer {"connection_id":159744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:53:05] local.INFO: Packet analysis {"connection_id":159744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:53:05] local.INFO: Extracted packet for processing {"connection_id":159744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562626048001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:53: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-22 04:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787354309000,"timestamp_ms":1787354309000,"timestamp_seconds":1787354309,"priority":1,"record_length":96,"hex_timestamp":"000001a0269e6188"} 
[2026-08-22 04:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:53:05] 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-22 04:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562626048001,"66":25582,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 04:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562626048001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:53:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 04:53:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562626048001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":159744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:53:05] local.INFO: GPS data processed {"connection_id":159744,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:53:05] local.INFO: Acknowledgment sent {"connection_id":159744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:53:50] local.INFO: TCP Data received {"connection_id":159745,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:53:50] local.INFO: Processing buffer {"connection_id":159745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:53:50] local.INFO: IMEI packet received {"connection_id":159745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":159745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:53:55] local.INFO: TCP Data received {"connection_id":159745,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:53:55] local.INFO: Processing buffer {"connection_id":159745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:53:55] local.INFO: IMEI packet received {"connection_id":159745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":159745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:53:56] local.INFO: TCP Data received {"connection_id":159745,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:53:56] local.INFO: Processing buffer {"connection_id":159745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0269e6188012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 04:53:56] local.INFO: Packet analysis {"connection_id":159745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:53:56] local.INFO: Extracted packet for processing {"connection_id":159745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0269e"} 
[2026-08-22 04:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562626048001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:53: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-22 04:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787354309000,"timestamp_ms":1787354309000,"timestamp_seconds":1787354309,"priority":1,"record_length":96,"hex_timestamp":"000001a0269e6188"} 
[2026-08-22 04: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-22 04:53:56] 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-22 04: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 04:53: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-22 04: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-22 04: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-22 04:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562626048001,"66":25582,"28":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 04:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562626048001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:53:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 04:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562626048001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":159745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:53:56] local.INFO: GPS data processed {"connection_id":159745,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:53:56] local.INFO: Acknowledgment sent {"connection_id":159745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:54:27] local.INFO: TCP Data received {"connection_id":159745,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:54:27] local.INFO: Processing buffer {"connection_id":159745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:54:27] local.INFO: Packet analysis {"connection_id":159745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:54:27] local.INFO: Extracted packet for processing {"connection_id":159745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562703104001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 04:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787354610000,"timestamp_ms":1787354610000,"timestamp_seconds":1787354610,"priority":1,"record_length":96,"hex_timestamp":"000001a026a2f950"} 
[2026-08-22 04: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-22 04:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 04:54:27] 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-22 04: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-22 04: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-22 04:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562703104001,"66":25625,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 04:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562703104001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:54:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 04:54:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562703104001,"power":25625,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":159745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:54:27] local.INFO: GPS data processed {"connection_id":159745,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:54:27] local.INFO: Acknowledgment sent {"connection_id":159745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:54:50] local.INFO: TCP Data received {"connection_id":162061,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:54:50] local.INFO: Processing buffer {"connection_id":162061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:54:50] local.INFO: IMEI packet received {"connection_id":162061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":162061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:54:55] local.INFO: TCP Data received {"connection_id":162061,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:54:55] local.INFO: Processing buffer {"connection_id":162061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:54:55] local.INFO: IMEI packet received {"connection_id":162061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":162061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:54:56] local.INFO: TCP Data received {"connection_id":162061,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:54:56] local.INFO: Processing buffer {"connection_id":162061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:54:56] local.INFO: Packet analysis {"connection_id":162061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:54:56] local.INFO: Extracted packet for processing {"connection_id":162061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562703104001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 04:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787354610000,"timestamp_ms":1787354610000,"timestamp_seconds":1787354610,"priority":1,"record_length":96,"hex_timestamp":"000001a026a2f950"} 
[2026-08-22 04: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-22 04:54:56] 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-22 04:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 04:54:56] 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-22 04: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-22 04: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-22 04:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562703104001,"66":25625,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 04:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562703104001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:54:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 04:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562703104001,"power":25625,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":162061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:54:56] local.INFO: GPS data processed {"connection_id":162061,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:54:56] local.INFO: Acknowledgment sent {"connection_id":162061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:55:27] local.INFO: TCP Data received {"connection_id":162061,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:55:27] local.INFO: Processing buffer {"connection_id":162061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:55:27] local.INFO: Packet analysis {"connection_id":162061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:55:27] local.INFO: Extracted packet for processing {"connection_id":162061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562703104001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 04:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787354610000,"timestamp_ms":1787354610000,"timestamp_seconds":1787354610,"priority":1,"record_length":96,"hex_timestamp":"000001a026a2f950"} 
[2026-08-22 04:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 04:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 04:55:27] 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-22 04:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562703104001,"66":25625,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 04:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562703104001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:55:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 04:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562703104001,"power":25625,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":162061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:55:27] local.INFO: GPS data processed {"connection_id":162061,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:55:27] local.INFO: Acknowledgment sent {"connection_id":162061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:55:55] local.INFO: TCP Data received {"connection_id":159746,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:55:55] local.INFO: Processing buffer {"connection_id":159746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:55:55] local.INFO: IMEI packet received {"connection_id":159746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":159746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:56:00] local.INFO: TCP Data received {"connection_id":159746,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:56:00] local.INFO: Processing buffer {"connection_id":159746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:56:00] local.INFO: IMEI packet received {"connection_id":159746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":159746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:56:01] local.INFO: TCP Data received {"connection_id":159746,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:56:01] local.INFO: Processing buffer {"connection_id":159746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:56:01] local.INFO: Packet analysis {"connection_id":159746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:56:01] local.INFO: Extracted packet for processing {"connection_id":159746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562703104001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 04:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787354610000,"timestamp_ms":1787354610000,"timestamp_seconds":1787354610,"priority":1,"record_length":96,"hex_timestamp":"000001a026a2f950"} 
[2026-08-22 04: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-22 04:56:01] 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-22 04:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 04:56:01] 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-22 04: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-22 04: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-22 04:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562703104001,"66":25625,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 04:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562703104001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:56:01] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 04:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562703104001,"power":25625,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":159746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:56:01] local.INFO: GPS data processed {"connection_id":159746,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:56:01] local.INFO: Acknowledgment sent {"connection_id":159746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:56:05] local.INFO: TCP Data received {"connection_id":159746,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:56:05] local.INFO: Processing buffer {"connection_id":159746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:56:05] local.INFO: Packet analysis {"connection_id":159746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:56:05] local.INFO: Extracted packet for processing {"connection_id":159746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562703104001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 04:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787354610000,"timestamp_ms":1787354610000,"timestamp_seconds":1787354610,"priority":1,"record_length":96,"hex_timestamp":"000001a026a2f950"} 
[2026-08-22 04:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:56:05] 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-22 04:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 04:56:05] 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-22 04:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 04:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562703104001,"66":25625,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 04:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562703104001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:56:05] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 04:56:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562703104001,"power":25625,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":159746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:56:05] local.INFO: GPS data processed {"connection_id":159746,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:56:05] local.INFO: Acknowledgment sent {"connection_id":159746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:56:50] local.INFO: TCP Data received {"connection_id":160651,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:56:50] local.INFO: Processing buffer {"connection_id":160651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:56:50] local.INFO: IMEI packet received {"connection_id":160651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":160651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:56:55] local.INFO: TCP Data received {"connection_id":160651,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:56:55] local.INFO: Processing buffer {"connection_id":160651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:56:55] local.INFO: IMEI packet received {"connection_id":160651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":160651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:56:56] local.INFO: TCP Data received {"connection_id":160651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:56:56] local.INFO: Processing buffer {"connection_id":160651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:56:56] local.INFO: Packet analysis {"connection_id":160651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:56:56] local.INFO: Extracted packet for processing {"connection_id":160651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562703104001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 04:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787354610000,"timestamp_ms":1787354610000,"timestamp_seconds":1787354610,"priority":1,"record_length":96,"hex_timestamp":"000001a026a2f950"} 
[2026-08-22 04: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-22 04:56:56] 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-22 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 04:56:56] 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-22 04: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-22 04: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-22 04:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562703104001,"66":25625,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 04:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562703104001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:56:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 04:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562703104001,"power":25625,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":160651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:56:56] local.INFO: GPS data processed {"connection_id":160651,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:56:56] local.INFO: Acknowledgment sent {"connection_id":160651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:57:00] local.INFO: TCP Data received {"connection_id":160651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:57:00] local.INFO: Processing buffer {"connection_id":160651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:57:00] local.INFO: Packet analysis {"connection_id":160651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:57:00] local.INFO: Extracted packet for processing {"connection_id":160651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:57:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562703104001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 04:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787354610000,"timestamp_ms":1787354610000,"timestamp_seconds":1787354610,"priority":1,"record_length":96,"hex_timestamp":"000001a026a2f950"} 
[2026-08-22 04: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-22 04:57: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-22 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 04:57: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-22 04: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-22 04: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-22 04:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562703104001,"66":25625,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 04:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562703104001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:57:00] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 04:57:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562703104001,"power":25625,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":160651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:57:00] local.INFO: GPS data processed {"connection_id":160651,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:57:00] local.INFO: Acknowledgment sent {"connection_id":160651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:57:32] local.INFO: TCP Data received {"connection_id":160651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:57:32] local.INFO: Processing buffer {"connection_id":160651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:57:32] local.INFO: Packet analysis {"connection_id":160651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:57:32] local.INFO: Extracted packet for processing {"connection_id":160651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 04:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562703104001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 04:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787354610000,"timestamp_ms":1787354610000,"timestamp_seconds":1787354610,"priority":1,"record_length":96,"hex_timestamp":"000001a026a2f950"} 
[2026-08-22 04:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 04:57: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-22 04:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 04:57:32] 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-22 04:57: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-22 04:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 04:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562703104001,"66":25625,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 04:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562703104001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:57:32] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 04:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562703104001,"power":25625,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":160651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:57:32] local.INFO: GPS data processed {"connection_id":160651,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:57:32] local.INFO: Acknowledgment sent {"connection_id":160651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:57:50] local.INFO: TCP Data received {"connection_id":159747,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:57:50] local.INFO: Processing buffer {"connection_id":159747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:57:50] local.INFO: IMEI packet received {"connection_id":159747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":159747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:57:55] local.INFO: TCP Data received {"connection_id":159747,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:57:55] local.INFO: Processing buffer {"connection_id":159747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:57:55] local.INFO: IMEI packet received {"connection_id":159747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":159747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:57:56] local.INFO: TCP Data received {"connection_id":159747,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:57:56] local.INFO: Processing buffer {"connection_id":159747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:57:56] local.INFO: Packet analysis {"connection_id":159747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:57:56] local.INFO: Extracted packet for processing {"connection_id":159747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562703104001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 04:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787354610000,"timestamp_ms":1787354610000,"timestamp_seconds":1787354610,"priority":1,"record_length":96,"hex_timestamp":"000001a026a2f950"} 
[2026-08-22 04: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-22 04:57:56] 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-22 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 04:57:56] 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-22 04: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-22 04: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-22 04:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562703104001,"66":25625,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 04:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562703104001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:57:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 04:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562703104001,"power":25625,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":159747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:57:56] local.INFO: GPS data processed {"connection_id":159747,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:57:56] local.INFO: Acknowledgment sent {"connection_id":159747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:58:27] local.INFO: TCP Data received {"connection_id":159747,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:58:27] local.INFO: Processing buffer {"connection_id":159747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:58:27] local.INFO: Packet analysis {"connection_id":159747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:58:27] local.INFO: Extracted packet for processing {"connection_id":159747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562703104001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 04:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787354610000,"timestamp_ms":1787354610000,"timestamp_seconds":1787354610,"priority":1,"record_length":96,"hex_timestamp":"000001a026a2f950"} 
[2026-08-22 04: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-22 04:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 04:58:27] 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-22 04: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-22 04: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-22 04:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562703104001,"66":25625,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 04:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562703104001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:58:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 04:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562703104001,"power":25625,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":159747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:58:27] local.INFO: GPS data processed {"connection_id":159747,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:58:27] local.INFO: Acknowledgment sent {"connection_id":159747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:58:50] local.INFO: TCP Data received {"connection_id":162062,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:58:50] local.INFO: Processing buffer {"connection_id":162062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:58:50] local.INFO: IMEI packet received {"connection_id":162062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":162062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:58:55] local.INFO: TCP Data received {"connection_id":162062,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:58:55] local.INFO: Processing buffer {"connection_id":162062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:58:55] local.INFO: IMEI packet received {"connection_id":162062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":162062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:58:56] local.INFO: TCP Data received {"connection_id":162062,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:58:56] local.INFO: Processing buffer {"connection_id":162062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a2f950012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 04:58:56] local.INFO: Packet analysis {"connection_id":162062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:58:56] local.INFO: Extracted packet for processing {"connection_id":162062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a2"} 
[2026-08-22 04:58:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562703104001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 04:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787354610000,"timestamp_ms":1787354610000,"timestamp_seconds":1787354610,"priority":1,"record_length":96,"hex_timestamp":"000001a026a2f950"} 
[2026-08-22 04: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-22 04:58:56] 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-22 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 04:58:56] 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-22 04: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-22 04: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-22 04:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562703104001,"66":25625,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 04:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562703104001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:58:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 04:58:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562703104001,"power":25625,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":162062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:58:56] local.INFO: GPS data processed {"connection_id":162062,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:58:56] local.INFO: Acknowledgment sent {"connection_id":162062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:59:27] local.INFO: TCP Data received {"connection_id":162062,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:59:27] local.INFO: Processing buffer {"connection_id":162062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:59:27] local.INFO: Packet analysis {"connection_id":162062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 04:59:27] local.INFO: Extracted packet for processing {"connection_id":162062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 04:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562780160001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 04:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787354911000,"timestamp_ms":1787354911000,"timestamp_seconds":1787354911,"priority":1,"record_length":96,"hex_timestamp":"000001a026a79118"} 
[2026-08-22 04: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-22 04:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 04:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 04: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-22 04: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-22 04:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562780160001,"66":25615,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 04:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562780160001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:59:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 04:59:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562780160001,"power":25615,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":162062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:59:27] local.INFO: GPS data processed {"connection_id":162062,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:59:27] local.INFO: Acknowledgment sent {"connection_id":162062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 04:59:50] local.INFO: TCP Data received {"connection_id":162063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:59:50] local.INFO: Processing buffer {"connection_id":162063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:59:50] local.INFO: IMEI packet received {"connection_id":162063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 04:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":162063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 04:59:55] local.INFO: TCP Data received {"connection_id":162063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:59:55] local.INFO: Processing buffer {"connection_id":162063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 04:59:55] local.INFO: IMEI packet received {"connection_id":162063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 04:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":162063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 04:59:56] local.INFO: TCP Data received {"connection_id":162063,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:59:56] local.INFO: Processing buffer {"connection_id":162063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 04:59:56] local.INFO: Packet analysis {"connection_id":162063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 04:59:56] local.INFO: Extracted packet for processing {"connection_id":162063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 04:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 04: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-22 04:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562780160001,"note":"Value kept but may cause issues"} 
[2026-08-22 04:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 04:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 04:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 04:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787354911000,"timestamp_ms":1787354911000,"timestamp_seconds":1787354911,"priority":1,"record_length":96,"hex_timestamp":"000001a026a79118"} 
[2026-08-22 04: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-22 04:59:56] 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-22 04: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 04:59: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-22 04: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-22 04: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-22 04:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 04:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 04:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 04:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 04:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 04:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 04:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562780160001,"66":25615,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 04:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 04:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 04:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562780160001,"description":"Unknown IO ID 0"} 
[2026-08-22 04:59:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 04:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 04:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 04:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 04:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562780160001,"power":25615,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 04:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":162063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 04:59:56] local.INFO: GPS data processed {"connection_id":162063,"processed":1,"errors":0,"total":1} 
[2026-08-22 04:59:56] local.INFO: Acknowledgment sent {"connection_id":162063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:00:27] local.INFO: TCP Data received {"connection_id":162063,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:00:27] local.INFO: Processing buffer {"connection_id":162063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:00:27] local.INFO: Packet analysis {"connection_id":162063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:00:27] local.INFO: Extracted packet for processing {"connection_id":162063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562780160001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787354911000,"timestamp_ms":1787354911000,"timestamp_seconds":1787354911,"priority":1,"record_length":96,"hex_timestamp":"000001a026a79118"} 
[2026-08-22 05: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-22 05:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 05:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 05: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-22 05: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-22 05:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562780160001,"66":25615,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562780160001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:00:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:00:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562780160001,"power":25615,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":162063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:00:27] local.INFO: GPS data processed {"connection_id":162063,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:00:27] local.INFO: Acknowledgment sent {"connection_id":162063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:00:55] local.INFO: TCP Data received {"connection_id":159748,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:00:55] local.INFO: Processing buffer {"connection_id":159748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:00:55] local.INFO: IMEI packet received {"connection_id":159748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":159748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:01:00] local.INFO: TCP Data received {"connection_id":159748,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:01:00] local.INFO: Processing buffer {"connection_id":159748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:01:00] local.INFO: IMEI packet received {"connection_id":159748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":159748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:01:01] local.INFO: TCP Data received {"connection_id":159748,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:01:01] local.INFO: Processing buffer {"connection_id":159748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:01:01] local.INFO: Packet analysis {"connection_id":159748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:01:01] local.INFO: Extracted packet for processing {"connection_id":159748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562780160001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787354911000,"timestamp_ms":1787354911000,"timestamp_seconds":1787354911,"priority":1,"record_length":96,"hex_timestamp":"000001a026a79118"} 
[2026-08-22 05: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-22 05:01:01] 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-22 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 05:01: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-22 05: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-22 05: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-22 05:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562780160001,"66":25615,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562780160001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:01:01] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:01:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562780160001,"power":25615,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":159748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:01:01] local.INFO: GPS data processed {"connection_id":159748,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:01:01] local.INFO: Acknowledgment sent {"connection_id":159748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:01:05] local.INFO: TCP Data received {"connection_id":159748,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:01:05] local.INFO: Processing buffer {"connection_id":159748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:01:05] local.INFO: Packet analysis {"connection_id":159748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:01:05] local.INFO: Extracted packet for processing {"connection_id":159748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562780160001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787354911000,"timestamp_ms":1787354911000,"timestamp_seconds":1787354911,"priority":1,"record_length":96,"hex_timestamp":"000001a026a79118"} 
[2026-08-22 05: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-22 05:01:05] 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-22 05: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 05:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 05: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-22 05: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-22 05:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562780160001,"66":25615,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562780160001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:01:05] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562780160001,"power":25615,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":159748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:01:06] local.INFO: GPS data processed {"connection_id":159748,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:01:06] local.INFO: Acknowledgment sent {"connection_id":159748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:01:51] local.INFO: TCP Data received {"connection_id":159749,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:01:51] local.INFO: Processing buffer {"connection_id":159749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:01:51] local.INFO: IMEI packet received {"connection_id":159749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":159749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:01:55] local.INFO: TCP Data received {"connection_id":159749,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:01:55] local.INFO: Processing buffer {"connection_id":159749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:01:55] local.INFO: IMEI packet received {"connection_id":159749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":159749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:01:56] local.INFO: TCP Data received {"connection_id":159749,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:01:56] local.INFO: Processing buffer {"connection_id":159749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:01:56] local.INFO: Packet analysis {"connection_id":159749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:01:56] local.INFO: Extracted packet for processing {"connection_id":159749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562780160001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787354911000,"timestamp_ms":1787354911000,"timestamp_seconds":1787354911,"priority":1,"record_length":96,"hex_timestamp":"000001a026a79118"} 
[2026-08-22 05: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-22 05:01:56] 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-22 05: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 05:01: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-22 05: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-22 05: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-22 05:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562780160001,"66":25615,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562780160001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:01:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562780160001,"power":25615,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":159749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:01:56] local.INFO: GPS data processed {"connection_id":159749,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:01:56] local.INFO: Acknowledgment sent {"connection_id":159749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:02:00] local.INFO: TCP Data received {"connection_id":159749,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:02:00] local.INFO: Processing buffer {"connection_id":159749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:02:00] local.INFO: Packet analysis {"connection_id":159749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:02:00] local.INFO: Extracted packet for processing {"connection_id":159749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562780160001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787354911000,"timestamp_ms":1787354911000,"timestamp_seconds":1787354911,"priority":1,"record_length":96,"hex_timestamp":"000001a026a79118"} 
[2026-08-22 05: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-22 05:02: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-22 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 05:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 05: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-22 05: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-22 05:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562780160001,"66":25615,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562780160001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:02:00] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:02:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562780160001,"power":25615,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":159749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:02:00] local.INFO: GPS data processed {"connection_id":159749,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:02:00] local.INFO: Acknowledgment sent {"connection_id":159749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:02:32] local.INFO: TCP Data received {"connection_id":159749,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:02:32] local.INFO: Processing buffer {"connection_id":159749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:02:32] local.INFO: Packet analysis {"connection_id":159749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:02:32] local.INFO: Extracted packet for processing {"connection_id":159749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562780160001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787354911000,"timestamp_ms":1787354911000,"timestamp_seconds":1787354911,"priority":1,"record_length":96,"hex_timestamp":"000001a026a79118"} 
[2026-08-22 05: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-22 05:02: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-22 05: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 05:02: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-22 05: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-22 05: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-22 05:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562780160001,"66":25615,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562780160001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:02:32] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:02:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562780160001,"power":25615,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":159749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:02:32] local.INFO: GPS data processed {"connection_id":159749,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:02:32] local.INFO: Acknowledgment sent {"connection_id":159749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:02:50] local.INFO: TCP Data received {"connection_id":159750,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:02:50] local.INFO: Processing buffer {"connection_id":159750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:02:50] local.INFO: IMEI packet received {"connection_id":159750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":159750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:02:55] local.INFO: TCP Data received {"connection_id":159750,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:02:55] local.INFO: Processing buffer {"connection_id":159750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:02:55] local.INFO: IMEI packet received {"connection_id":159750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":159750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:02:56] local.INFO: TCP Data received {"connection_id":159750,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:02:56] local.INFO: Processing buffer {"connection_id":159750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:02:56] local.INFO: Packet analysis {"connection_id":159750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:02:56] local.INFO: Extracted packet for processing {"connection_id":159750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:02:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562780160001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787354911000,"timestamp_ms":1787354911000,"timestamp_seconds":1787354911,"priority":1,"record_length":96,"hex_timestamp":"000001a026a79118"} 
[2026-08-22 05: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-22 05:02:56] 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-22 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 05:02: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-22 05: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-22 05: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-22 05:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562780160001,"66":25615,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562780160001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:02:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:02:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562780160001,"power":25615,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":159750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:02:56] local.INFO: GPS data processed {"connection_id":159750,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:02:56] local.INFO: Acknowledgment sent {"connection_id":159750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:03:27] local.INFO: TCP Data received {"connection_id":159750,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:03:27] local.INFO: Processing buffer {"connection_id":159750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:03:27] local.INFO: Packet analysis {"connection_id":159750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:03:27] local.INFO: Extracted packet for processing {"connection_id":159750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562780160001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787354911000,"timestamp_ms":1787354911000,"timestamp_seconds":1787354911,"priority":1,"record_length":96,"hex_timestamp":"000001a026a79118"} 
[2026-08-22 05:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 05:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 05:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562780160001,"66":25615,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562780160001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:03:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562780160001,"power":25615,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":159750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:03:27] local.INFO: GPS data processed {"connection_id":159750,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:03:27] local.INFO: Acknowledgment sent {"connection_id":159750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:03:50] local.INFO: TCP Data received {"connection_id":160652,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:03:50] local.INFO: Processing buffer {"connection_id":160652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:03:50] local.INFO: IMEI packet received {"connection_id":160652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":160652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:03:55] local.INFO: TCP Data received {"connection_id":160652,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:03:55] local.INFO: Processing buffer {"connection_id":160652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:03:55] local.INFO: IMEI packet received {"connection_id":160652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":160652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:03:56] local.INFO: TCP Data received {"connection_id":160652,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:03:56] local.INFO: Processing buffer {"connection_id":160652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026a79118012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:03:56] local.INFO: Packet analysis {"connection_id":160652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:03:56] local.INFO: Extracted packet for processing {"connection_id":160652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026a7"} 
[2026-08-22 05:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562780160001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787354911000,"timestamp_ms":1787354911000,"timestamp_seconds":1787354911,"priority":1,"record_length":96,"hex_timestamp":"000001a026a79118"} 
[2026-08-22 05: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-22 05:03:56] 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-22 05: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 05:03: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-22 05: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-22 05: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-22 05:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562780160001,"66":25615,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562780160001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:03:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562780160001,"power":25615,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":160652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:03:56] local.INFO: GPS data processed {"connection_id":160652,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:03:56] local.INFO: Acknowledgment sent {"connection_id":160652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:04:27] local.INFO: TCP Data received {"connection_id":160652,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:04:27] local.INFO: Processing buffer {"connection_id":160652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:04:27] local.INFO: Packet analysis {"connection_id":160652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:04:27] local.INFO: Extracted packet for processing {"connection_id":160652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:04:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562857216001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787355212000,"timestamp_ms":1787355212000,"timestamp_seconds":1787355212,"priority":1,"record_length":96,"hex_timestamp":"000001a026ac28e0"} 
[2026-08-22 05:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 05:04:27] 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-22 05:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562857216001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562857216001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:04:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:04:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562857216001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":160652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:04:27] local.INFO: GPS data processed {"connection_id":160652,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:04:27] local.INFO: Acknowledgment sent {"connection_id":160652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:04:55] local.INFO: TCP Data received {"connection_id":159469,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:04:55] local.INFO: Processing buffer {"connection_id":159469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:04:55] local.INFO: IMEI packet received {"connection_id":159469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":159469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:05:00] local.INFO: TCP Data received {"connection_id":159469,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:05:00] local.INFO: Processing buffer {"connection_id":159469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:05:00] local.INFO: IMEI packet received {"connection_id":159469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":159469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:05:01] local.INFO: TCP Data received {"connection_id":159469,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:05:01] local.INFO: Processing buffer {"connection_id":159469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:05:01] local.INFO: Packet analysis {"connection_id":159469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:05:01] local.INFO: Extracted packet for processing {"connection_id":159469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562857216001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787355212000,"timestamp_ms":1787355212000,"timestamp_seconds":1787355212,"priority":1,"record_length":96,"hex_timestamp":"000001a026ac28e0"} 
[2026-08-22 05: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-22 05:05:01] 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-22 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 05:05:01] 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-22 05: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-22 05: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-22 05:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562857216001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562857216001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:05:01] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562857216001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":159469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:05:01] local.INFO: GPS data processed {"connection_id":159469,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:05:01] local.INFO: Acknowledgment sent {"connection_id":159469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:05:05] local.INFO: TCP Data received {"connection_id":159469,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:05:05] local.INFO: Processing buffer {"connection_id":159469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:05:05] local.INFO: Packet analysis {"connection_id":159469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:05:05] local.INFO: Extracted packet for processing {"connection_id":159469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562857216001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787355212000,"timestamp_ms":1787355212000,"timestamp_seconds":1787355212,"priority":1,"record_length":96,"hex_timestamp":"000001a026ac28e0"} 
[2026-08-22 05:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:05:05] 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-22 05:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 05:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 05:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562857216001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562857216001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:05:05] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562857216001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":159469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:05:05] local.INFO: GPS data processed {"connection_id":159469,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:05:05] local.INFO: Acknowledgment sent {"connection_id":159469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:05:50] local.INFO: TCP Data received {"connection_id":162064,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:05:50] local.INFO: Processing buffer {"connection_id":162064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:05:50] local.INFO: IMEI packet received {"connection_id":162064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":162064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:05:55] local.INFO: TCP Data received {"connection_id":162064,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:05:55] local.INFO: Processing buffer {"connection_id":162064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:05:55] local.INFO: IMEI packet received {"connection_id":162064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":162064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:05:56] local.INFO: TCP Data received {"connection_id":162064,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:05:56] local.INFO: Processing buffer {"connection_id":162064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:05:56] local.INFO: Packet analysis {"connection_id":162064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:05:56] local.INFO: Extracted packet for processing {"connection_id":162064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562857216001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787355212000,"timestamp_ms":1787355212000,"timestamp_seconds":1787355212,"priority":1,"record_length":96,"hex_timestamp":"000001a026ac28e0"} 
[2026-08-22 05: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-22 05:05:56] 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-22 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 05:05: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-22 05: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-22 05: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-22 05:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562857216001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562857216001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:05:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562857216001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":162064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:05:56] local.INFO: GPS data processed {"connection_id":162064,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:05:56] local.INFO: Acknowledgment sent {"connection_id":162064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:06:27] local.INFO: TCP Data received {"connection_id":162064,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:06:27] local.INFO: Processing buffer {"connection_id":162064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:06:27] local.INFO: Packet analysis {"connection_id":162064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:06:27] local.INFO: Extracted packet for processing {"connection_id":162064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562857216001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787355212000,"timestamp_ms":1787355212000,"timestamp_seconds":1787355212,"priority":1,"record_length":96,"hex_timestamp":"000001a026ac28e0"} 
[2026-08-22 05: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-22 05:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 05:06:27] 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-22 05: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-22 05: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-22 05:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562857216001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562857216001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:06:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562857216001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":162064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:06:27] local.INFO: GPS data processed {"connection_id":162064,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:06:27] local.INFO: Acknowledgment sent {"connection_id":162064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:06:50] local.INFO: TCP Data received {"connection_id":159470,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:06:50] local.INFO: Processing buffer {"connection_id":159470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:06:50] local.INFO: IMEI packet received {"connection_id":159470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":159470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:06:55] local.INFO: TCP Data received {"connection_id":159470,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:06:55] local.INFO: Processing buffer {"connection_id":159470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:06:55] local.INFO: IMEI packet received {"connection_id":159470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":159470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:06:56] local.INFO: TCP Data received {"connection_id":159470,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:06:56] local.INFO: Processing buffer {"connection_id":159470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:06:56] local.INFO: Packet analysis {"connection_id":159470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:06:56] local.INFO: Extracted packet for processing {"connection_id":159470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562857216001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787355212000,"timestamp_ms":1787355212000,"timestamp_seconds":1787355212,"priority":1,"record_length":96,"hex_timestamp":"000001a026ac28e0"} 
[2026-08-22 05: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-22 05:06:56] 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-22 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 05:06: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-22 05: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-22 05: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-22 05:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562857216001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562857216001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:06:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562857216001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":159470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:06:56] local.INFO: GPS data processed {"connection_id":159470,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:06:56] local.INFO: Acknowledgment sent {"connection_id":159470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:07:27] local.INFO: TCP Data received {"connection_id":159470,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:07:27] local.INFO: Processing buffer {"connection_id":159470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:07:27] local.INFO: Packet analysis {"connection_id":159470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:07:27] local.INFO: Extracted packet for processing {"connection_id":159470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562857216001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787355212000,"timestamp_ms":1787355212000,"timestamp_seconds":1787355212,"priority":1,"record_length":96,"hex_timestamp":"000001a026ac28e0"} 
[2026-08-22 05: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-22 05:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 05:07:27] 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-22 05: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-22 05: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-22 05:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562857216001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562857216001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:07:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:07:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562857216001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":159470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:07:27] local.INFO: GPS data processed {"connection_id":159470,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:07:27] local.INFO: Acknowledgment sent {"connection_id":159470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:07:50] local.INFO: TCP Data received {"connection_id":160653,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:07:50] local.INFO: Processing buffer {"connection_id":160653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:07:50] local.INFO: IMEI packet received {"connection_id":160653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":160653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:07:55] local.INFO: TCP Data received {"connection_id":160653,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:07:55] local.INFO: Processing buffer {"connection_id":160653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:07:55] local.INFO: IMEI packet received {"connection_id":160653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":160653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:07:56] local.INFO: TCP Data received {"connection_id":160653,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:07:56] local.INFO: Processing buffer {"connection_id":160653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:07:56] local.INFO: Packet analysis {"connection_id":160653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:07:56] local.INFO: Extracted packet for processing {"connection_id":160653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562857216001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787355212000,"timestamp_ms":1787355212000,"timestamp_seconds":1787355212,"priority":1,"record_length":96,"hex_timestamp":"000001a026ac28e0"} 
[2026-08-22 05:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:07:56] 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-22 05:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 05:07: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-22 05:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562857216001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562857216001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:07:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562857216001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":160653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:07:56] local.INFO: GPS data processed {"connection_id":160653,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:07:56] local.INFO: Acknowledgment sent {"connection_id":160653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:08:27] local.INFO: TCP Data received {"connection_id":160653,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:08:27] local.INFO: Processing buffer {"connection_id":160653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:08:27] local.INFO: Packet analysis {"connection_id":160653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:08:27] local.INFO: Extracted packet for processing {"connection_id":160653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562857216001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787355212000,"timestamp_ms":1787355212000,"timestamp_seconds":1787355212,"priority":1,"record_length":96,"hex_timestamp":"000001a026ac28e0"} 
[2026-08-22 05: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-22 05:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 05:08:27] 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-22 05: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-22 05: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-22 05:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562857216001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562857216001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:08:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562857216001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":160653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:08:27] local.INFO: GPS data processed {"connection_id":160653,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:08:27] local.INFO: Acknowledgment sent {"connection_id":160653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:08:50] local.INFO: TCP Data received {"connection_id":159471,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:08:50] local.INFO: Processing buffer {"connection_id":159471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:08:50] local.INFO: IMEI packet received {"connection_id":159471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":159471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:08:55] local.INFO: TCP Data received {"connection_id":159471,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:08:55] local.INFO: Processing buffer {"connection_id":159471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:08:55] local.INFO: IMEI packet received {"connection_id":159471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":159471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:08:56] local.INFO: TCP Data received {"connection_id":159471,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:08:56] local.INFO: Processing buffer {"connection_id":159471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ac28e0012d7f8ac005afe2d0000000fa26..."} 
[2026-08-22 05:08:56] local.INFO: Packet analysis {"connection_id":159471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:08:56] local.INFO: Extracted packet for processing {"connection_id":159471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ac"} 
[2026-08-22 05:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562857216001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787355212000,"timestamp_ms":1787355212000,"timestamp_seconds":1787355212,"priority":1,"record_length":96,"hex_timestamp":"000001a026ac28e0"} 
[2026-08-22 05: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-22 05:08:56] 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-22 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 05:08: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-22 05: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-22 05: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-22 05:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562857216001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562857216001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:08:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562857216001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":159471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:08:56] local.INFO: GPS data processed {"connection_id":159471,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:08:56] local.INFO: Acknowledgment sent {"connection_id":159471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:09:27] local.INFO: TCP Data received {"connection_id":159471,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:09:27] local.INFO: Processing buffer {"connection_id":159471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:09:27] local.INFO: Packet analysis {"connection_id":159471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:09:27] local.INFO: Extracted packet for processing {"connection_id":159471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562934272001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787355513000,"timestamp_ms":1787355513000,"timestamp_seconds":1787355513,"priority":1,"record_length":96,"hex_timestamp":"000001a026b0c0a8"} 
[2026-08-22 05: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-22 05:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:09:27] 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-22 05: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-22 05: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-22 05:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562934272001,"66":25593,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562934272001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:09:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562934272001,"power":25593,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":159471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:09:27] local.INFO: GPS data processed {"connection_id":159471,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:09:27] local.INFO: Acknowledgment sent {"connection_id":159471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:09:55] local.INFO: TCP Data received {"connection_id":160654,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:09:55] local.INFO: Processing buffer {"connection_id":160654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:09:55] local.INFO: IMEI packet received {"connection_id":160654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":160654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:10:00] local.INFO: TCP Data received {"connection_id":160654,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:10:00] local.INFO: Processing buffer {"connection_id":160654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:10:00] local.INFO: IMEI packet received {"connection_id":160654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":160654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:10:01] local.INFO: TCP Data received {"connection_id":160654,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:10:01] local.INFO: Processing buffer {"connection_id":160654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:10:01] local.INFO: Packet analysis {"connection_id":160654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:10:01] local.INFO: Extracted packet for processing {"connection_id":160654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562934272001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787355513000,"timestamp_ms":1787355513000,"timestamp_seconds":1787355513,"priority":1,"record_length":96,"hex_timestamp":"000001a026b0c0a8"} 
[2026-08-22 05: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-22 05:10:01] 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-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:10: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-22 05: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-22 05: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-22 05:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562934272001,"66":25593,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562934272001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:10:01] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562934272001,"power":25593,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":160654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:10:01] local.INFO: GPS data processed {"connection_id":160654,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:10:01] local.INFO: Acknowledgment sent {"connection_id":160654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:10:05] local.INFO: TCP Data received {"connection_id":160654,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:10:05] local.INFO: Processing buffer {"connection_id":160654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:10:05] local.INFO: Packet analysis {"connection_id":160654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:10:05] local.INFO: Extracted packet for processing {"connection_id":160654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:10:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562934272001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787355513000,"timestamp_ms":1787355513000,"timestamp_seconds":1787355513,"priority":1,"record_length":96,"hex_timestamp":"000001a026b0c0a8"} 
[2026-08-22 05:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:10:05] 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-22 05:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 05:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562934272001,"66":25593,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562934272001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:10:05] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:10:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562934272001,"power":25593,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":160654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:10:05] local.INFO: GPS data processed {"connection_id":160654,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:10:05] local.INFO: Acknowledgment sent {"connection_id":160654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:10:50] local.INFO: TCP Data received {"connection_id":159751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:10:50] local.INFO: Processing buffer {"connection_id":159751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:10:50] local.INFO: IMEI packet received {"connection_id":159751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":159751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:10:55] local.INFO: TCP Data received {"connection_id":159751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:10:55] local.INFO: Processing buffer {"connection_id":159751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:10:55] local.INFO: IMEI packet received {"connection_id":159751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":159751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:10:57] local.INFO: TCP Data received {"connection_id":159751,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:10:57] local.INFO: Processing buffer {"connection_id":159751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:10:57] local.INFO: Packet analysis {"connection_id":159751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:10:57] local.INFO: Extracted packet for processing {"connection_id":159751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:10:57] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562934272001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787355513000,"timestamp_ms":1787355513000,"timestamp_seconds":1787355513,"priority":1,"record_length":96,"hex_timestamp":"000001a026b0c0a8"} 
[2026-08-22 05: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-22 05:10:57] 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-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:10:57] 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-22 05: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-22 05: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-22 05:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562934272001,"66":25593,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562934272001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:10:57] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:10:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562934272001,"power":25593,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":159751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:10:57] local.INFO: GPS data processed {"connection_id":159751,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:10:57] local.INFO: Acknowledgment sent {"connection_id":159751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:11:28] local.INFO: TCP Data received {"connection_id":159751,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:11:28] local.INFO: Processing buffer {"connection_id":159751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:11:28] local.INFO: Packet analysis {"connection_id":159751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:11:28] local.INFO: Extracted packet for processing {"connection_id":159751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562934272001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787355513000,"timestamp_ms":1787355513000,"timestamp_seconds":1787355513,"priority":1,"record_length":96,"hex_timestamp":"000001a026b0c0a8"} 
[2026-08-22 05:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:11:28] 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-22 05:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:11:28] 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-22 05:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562934272001,"66":25593,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562934272001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:11:28] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562934272001,"power":25593,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":159751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:11:28] local.INFO: GPS data processed {"connection_id":159751,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:11:28] local.INFO: Acknowledgment sent {"connection_id":159751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:11:50] local.INFO: TCP Data received {"connection_id":160655,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:11:50] local.INFO: Processing buffer {"connection_id":160655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:11:50] local.INFO: IMEI packet received {"connection_id":160655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":160655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:11:55] local.INFO: TCP Data received {"connection_id":160655,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:11:55] local.INFO: Processing buffer {"connection_id":160655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:11:55] local.INFO: IMEI packet received {"connection_id":160655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":160655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:11:56] local.INFO: TCP Data received {"connection_id":160655,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:11:56] local.INFO: Processing buffer {"connection_id":160655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:11:56] local.INFO: Packet analysis {"connection_id":160655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:11:56] local.INFO: Extracted packet for processing {"connection_id":160655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562934272001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787355513000,"timestamp_ms":1787355513000,"timestamp_seconds":1787355513,"priority":1,"record_length":96,"hex_timestamp":"000001a026b0c0a8"} 
[2026-08-22 05: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-22 05:11:56] 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-22 05: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-22 05: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-22 05: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-22 05: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-22 05:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562934272001,"66":25593,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562934272001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:11:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562934272001,"power":25593,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":160655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:11:56] local.INFO: GPS data processed {"connection_id":160655,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:11:56] local.INFO: Acknowledgment sent {"connection_id":160655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:12:27] local.INFO: TCP Data received {"connection_id":160655,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:12:27] local.INFO: Processing buffer {"connection_id":160655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:12:27] local.INFO: Packet analysis {"connection_id":160655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:12:27] local.INFO: Extracted packet for processing {"connection_id":160655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562934272001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787355513000,"timestamp_ms":1787355513000,"timestamp_seconds":1787355513,"priority":1,"record_length":96,"hex_timestamp":"000001a026b0c0a8"} 
[2026-08-22 05:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:12:27] 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-22 05:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562934272001,"66":25593,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562934272001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:12:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562934272001,"power":25593,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":160655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:12:27] local.INFO: GPS data processed {"connection_id":160655,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:12:27] local.INFO: Acknowledgment sent {"connection_id":160655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:12:50] local.INFO: TCP Data received {"connection_id":159472,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:12:50] local.INFO: Processing buffer {"connection_id":159472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:12:50] local.INFO: IMEI packet received {"connection_id":159472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":159472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:12:55] local.INFO: TCP Data received {"connection_id":159472,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:12:55] local.INFO: Processing buffer {"connection_id":159472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:12:55] local.INFO: IMEI packet received {"connection_id":159472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":159472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:12:56] local.INFO: TCP Data received {"connection_id":159472,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:12:56] local.INFO: Processing buffer {"connection_id":159472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:12:56] local.INFO: Packet analysis {"connection_id":159472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:12:56] local.INFO: Extracted packet for processing {"connection_id":159472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:12:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562934272001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787355513000,"timestamp_ms":1787355513000,"timestamp_seconds":1787355513,"priority":1,"record_length":96,"hex_timestamp":"000001a026b0c0a8"} 
[2026-08-22 05: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-22 05:12:56] 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-22 05:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:12: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-22 05: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-22 05: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-22 05:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562934272001,"66":25593,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562934272001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:12:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562934272001,"power":25593,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":159472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:12:56] local.INFO: GPS data processed {"connection_id":159472,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:12:56] local.INFO: Acknowledgment sent {"connection_id":159472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:13:31] local.INFO: TCP Data received {"connection_id":159472,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:13:31] local.INFO: Processing buffer {"connection_id":159472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:13:31] local.INFO: Packet analysis {"connection_id":159472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:13:31] local.INFO: Extracted packet for processing {"connection_id":159472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562934272001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787355513000,"timestamp_ms":1787355513000,"timestamp_seconds":1787355513,"priority":1,"record_length":96,"hex_timestamp":"000001a026b0c0a8"} 
[2026-08-22 05:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:13: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-22 05:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:13:31] 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-22 05:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562934272001,"66":25593,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562934272001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:13:31] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:13:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562934272001,"power":25593,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":159472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:13:31] local.INFO: GPS data processed {"connection_id":159472,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:13:31] local.INFO: Acknowledgment sent {"connection_id":159472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:13:50] local.INFO: TCP Data received {"connection_id":160656,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:13:50] local.INFO: Processing buffer {"connection_id":160656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:13:50] local.INFO: IMEI packet received {"connection_id":160656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":160656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:13:55] local.INFO: TCP Data received {"connection_id":160656,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:13:55] local.INFO: Processing buffer {"connection_id":160656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:13:55] local.INFO: IMEI packet received {"connection_id":160656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":160656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:13:56] local.INFO: TCP Data received {"connection_id":160656,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:13:56] local.INFO: Processing buffer {"connection_id":160656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b0c0a8012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:13:56] local.INFO: Packet analysis {"connection_id":160656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:13:56] local.INFO: Extracted packet for processing {"connection_id":160656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b0"} 
[2026-08-22 05:13:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457562934272001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787355513000,"timestamp_ms":1787355513000,"timestamp_seconds":1787355513,"priority":1,"record_length":96,"hex_timestamp":"000001a026b0c0a8"} 
[2026-08-22 05: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-22 05:13:56] 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-22 05: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:13: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-22 05: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-22 05: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-22 05:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457562934272001,"66":25593,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457562934272001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:13:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:13:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457562934272001,"power":25593,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":160656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:13:56] local.INFO: GPS data processed {"connection_id":160656,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:13:56] local.INFO: Acknowledgment sent {"connection_id":160656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:14:27] local.INFO: TCP Data received {"connection_id":160656,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:14:27] local.INFO: Processing buffer {"connection_id":160656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:14:27] local.INFO: Packet analysis {"connection_id":160656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:14:27] local.INFO: Extracted packet for processing {"connection_id":160656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563011328001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787355814000,"timestamp_ms":1787355814000,"timestamp_seconds":1787355814,"priority":1,"record_length":96,"hex_timestamp":"000001a026b55870"} 
[2026-08-22 05: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-22 05:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:14:27] 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-22 05: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-22 05: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-22 05:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563011328001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563011328001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:14:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563011328001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":160656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:14:27] local.INFO: GPS data processed {"connection_id":160656,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:14:27] local.INFO: Acknowledgment sent {"connection_id":160656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:14:50] local.INFO: TCP Data received {"connection_id":162065,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:14:50] local.INFO: Processing buffer {"connection_id":162065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:14:50] local.INFO: IMEI packet received {"connection_id":162065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":162065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:14:55] local.INFO: TCP Data received {"connection_id":162065,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:14:55] local.INFO: Processing buffer {"connection_id":162065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:14:55] local.INFO: IMEI packet received {"connection_id":162065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":162065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:14:56] local.INFO: TCP Data received {"connection_id":162065,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:14:56] local.INFO: Processing buffer {"connection_id":162065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:14:56] local.INFO: Packet analysis {"connection_id":162065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:14:56] local.INFO: Extracted packet for processing {"connection_id":162065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563011328001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787355814000,"timestamp_ms":1787355814000,"timestamp_seconds":1787355814,"priority":1,"record_length":96,"hex_timestamp":"000001a026b55870"} 
[2026-08-22 05: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-22 05:14:56] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:14: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-22 05: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-22 05: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-22 05:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563011328001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563011328001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:14:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563011328001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":162065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:14:56] local.INFO: GPS data processed {"connection_id":162065,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:14:56] local.INFO: Acknowledgment sent {"connection_id":162065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:15:27] local.INFO: TCP Data received {"connection_id":162065,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:15:27] local.INFO: Processing buffer {"connection_id":162065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:15:27] local.INFO: Packet analysis {"connection_id":162065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:15:27] local.INFO: Extracted packet for processing {"connection_id":162065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563011328001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787355814000,"timestamp_ms":1787355814000,"timestamp_seconds":1787355814,"priority":1,"record_length":96,"hex_timestamp":"000001a026b55870"} 
[2026-08-22 05:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:15:27] 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-22 05:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563011328001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563011328001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:15:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563011328001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":162065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:15:27] local.INFO: GPS data processed {"connection_id":162065,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:15:27] local.INFO: Acknowledgment sent {"connection_id":162065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:15:50] local.INFO: TCP Data received {"connection_id":162066,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:15:50] local.INFO: Processing buffer {"connection_id":162066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:15:50] local.INFO: IMEI packet received {"connection_id":162066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":162066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:15:55] local.INFO: TCP Data received {"connection_id":162066,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:15:55] local.INFO: Processing buffer {"connection_id":162066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:15:55] local.INFO: IMEI packet received {"connection_id":162066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":162066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:15:56] local.INFO: TCP Data received {"connection_id":162066,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:15:56] local.INFO: Processing buffer {"connection_id":162066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:15:56] local.INFO: Packet analysis {"connection_id":162066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:15:56] local.INFO: Extracted packet for processing {"connection_id":162066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563011328001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787355814000,"timestamp_ms":1787355814000,"timestamp_seconds":1787355814,"priority":1,"record_length":96,"hex_timestamp":"000001a026b55870"} 
[2026-08-22 05: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-22 05:15:56] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:15: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-22 05: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-22 05: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-22 05:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563011328001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563011328001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:15:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563011328001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":162066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:15:56] local.INFO: GPS data processed {"connection_id":162066,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:15:56] local.INFO: Acknowledgment sent {"connection_id":162066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:16:27] local.INFO: TCP Data received {"connection_id":162066,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:16:27] local.INFO: Processing buffer {"connection_id":162066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:16:27] local.INFO: Packet analysis {"connection_id":162066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:16:27] local.INFO: Extracted packet for processing {"connection_id":162066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563011328001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787355814000,"timestamp_ms":1787355814000,"timestamp_seconds":1787355814,"priority":1,"record_length":96,"hex_timestamp":"000001a026b55870"} 
[2026-08-22 05: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-22 05:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:16:27] 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-22 05: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-22 05: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-22 05:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563011328001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563011328001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:16:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563011328001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":162066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:16:27] local.INFO: GPS data processed {"connection_id":162066,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:16:27] local.INFO: Acknowledgment sent {"connection_id":162066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:16:50] local.INFO: TCP Data received {"connection_id":159473,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:16:50] local.INFO: Processing buffer {"connection_id":159473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:16:50] local.INFO: IMEI packet received {"connection_id":159473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":159473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:16:55] local.INFO: TCP Data received {"connection_id":159473,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:16:55] local.INFO: Processing buffer {"connection_id":159473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:16:55] local.INFO: IMEI packet received {"connection_id":159473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":159473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:16:56] local.INFO: TCP Data received {"connection_id":159473,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:16:56] local.INFO: Processing buffer {"connection_id":159473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:16:56] local.INFO: Packet analysis {"connection_id":159473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:16:56] local.INFO: Extracted packet for processing {"connection_id":159473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563011328001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787355814000,"timestamp_ms":1787355814000,"timestamp_seconds":1787355814,"priority":1,"record_length":96,"hex_timestamp":"000001a026b55870"} 
[2026-08-22 05: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-22 05:16:56] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:16: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-22 05: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-22 05: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-22 05:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563011328001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563011328001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:16:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563011328001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":159473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:16:56] local.INFO: GPS data processed {"connection_id":159473,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:16:56] local.INFO: Acknowledgment sent {"connection_id":159473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:17:00] local.INFO: TCP Data received {"connection_id":159473,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:17:00] local.INFO: Processing buffer {"connection_id":159473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:17:00] local.INFO: Packet analysis {"connection_id":159473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:17:00] local.INFO: Extracted packet for processing {"connection_id":159473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563011328001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787355814000,"timestamp_ms":1787355814000,"timestamp_seconds":1787355814,"priority":1,"record_length":96,"hex_timestamp":"000001a026b55870"} 
[2026-08-22 05: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-22 05:17: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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:17:00] 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-22 05: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-22 05: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-22 05:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563011328001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563011328001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:17:00] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:17:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563011328001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":159473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:17:00] local.INFO: GPS data processed {"connection_id":159473,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:17:00] local.INFO: Acknowledgment sent {"connection_id":159473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:17:32] local.INFO: TCP Data received {"connection_id":159473,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:17:32] local.INFO: Processing buffer {"connection_id":159473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:17:32] local.INFO: Packet analysis {"connection_id":159473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:17:32] local.INFO: Extracted packet for processing {"connection_id":159473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563011328001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787355814000,"timestamp_ms":1787355814000,"timestamp_seconds":1787355814,"priority":1,"record_length":96,"hex_timestamp":"000001a026b55870"} 
[2026-08-22 05:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:17: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-22 05:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:17:32] 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-22 05:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563011328001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563011328001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:17:32] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563011328001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":159473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:17:32] local.INFO: GPS data processed {"connection_id":159473,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:17:32] local.INFO: Acknowledgment sent {"connection_id":159473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:17:50] local.INFO: TCP Data received {"connection_id":160657,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:17:50] local.INFO: Processing buffer {"connection_id":160657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:17:50] local.INFO: IMEI packet received {"connection_id":160657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":160657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:17:55] local.INFO: TCP Data received {"connection_id":160657,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:17:55] local.INFO: Processing buffer {"connection_id":160657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:17:55] local.INFO: IMEI packet received {"connection_id":160657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":160657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:17:56] local.INFO: TCP Data received {"connection_id":160657,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:17:56] local.INFO: Processing buffer {"connection_id":160657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:17:56] local.INFO: Packet analysis {"connection_id":160657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:17:56] local.INFO: Extracted packet for processing {"connection_id":160657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563011328001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787355814000,"timestamp_ms":1787355814000,"timestamp_seconds":1787355814,"priority":1,"record_length":96,"hex_timestamp":"000001a026b55870"} 
[2026-08-22 05: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-22 05:17:56] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:17: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-22 05: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-22 05: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-22 05:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563011328001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563011328001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:17:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563011328001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":160657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:17:56] local.INFO: GPS data processed {"connection_id":160657,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:17:56] local.INFO: Acknowledgment sent {"connection_id":160657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:18:27] local.INFO: TCP Data received {"connection_id":160657,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:18:27] local.INFO: Processing buffer {"connection_id":160657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:18:27] local.INFO: Packet analysis {"connection_id":160657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:18:27] local.INFO: Extracted packet for processing {"connection_id":160657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563011328001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787355814000,"timestamp_ms":1787355814000,"timestamp_seconds":1787355814,"priority":1,"record_length":96,"hex_timestamp":"000001a026b55870"} 
[2026-08-22 05: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-22 05:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:18:27] 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-22 05: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-22 05: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-22 05:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563011328001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563011328001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:18:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563011328001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":160657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:18:27] local.INFO: GPS data processed {"connection_id":160657,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:18:27] local.INFO: Acknowledgment sent {"connection_id":160657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:18:50] local.INFO: TCP Data received {"connection_id":160658,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:18:50] local.INFO: Processing buffer {"connection_id":160658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:18:50] local.INFO: IMEI packet received {"connection_id":160658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":160658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:18:55] local.INFO: TCP Data received {"connection_id":160658,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:18:55] local.INFO: Processing buffer {"connection_id":160658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:18:55] local.INFO: IMEI packet received {"connection_id":160658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":160658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:18:56] local.INFO: TCP Data received {"connection_id":160658,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:18:56] local.INFO: Processing buffer {"connection_id":160658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b55870012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:18:56] local.INFO: Packet analysis {"connection_id":160658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:18:56] local.INFO: Extracted packet for processing {"connection_id":160658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b5"} 
[2026-08-22 05:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563011328001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787355814000,"timestamp_ms":1787355814000,"timestamp_seconds":1787355814,"priority":1,"record_length":96,"hex_timestamp":"000001a026b55870"} 
[2026-08-22 05: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-22 05:18:56] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:18: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-22 05: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-22 05: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-22 05:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563011328001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563011328001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:18:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563011328001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":160658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:18:56] local.INFO: GPS data processed {"connection_id":160658,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:18:56] local.INFO: Acknowledgment sent {"connection_id":160658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:19:27] local.INFO: TCP Data received {"connection_id":160658,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:19:27] local.INFO: Processing buffer {"connection_id":160658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:19:27] local.INFO: Packet analysis {"connection_id":160658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:19:27] local.INFO: Extracted packet for processing {"connection_id":160658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563088384001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787356115000,"timestamp_ms":1787356115000,"timestamp_seconds":1787356115,"priority":1,"record_length":96,"hex_timestamp":"000001a026b9f038"} 
[2026-08-22 05: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-22 05:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:19:27] 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-22 05: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-22 05: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-22 05:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563088384001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563088384001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:19:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563088384001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":160658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:19:27] local.INFO: GPS data processed {"connection_id":160658,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:19:27] local.INFO: Acknowledgment sent {"connection_id":160658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:19:50] local.INFO: TCP Data received {"connection_id":159474,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:19:50] local.INFO: Processing buffer {"connection_id":159474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:19:50] local.INFO: IMEI packet received {"connection_id":159474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":159474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:19:55] local.INFO: TCP Data received {"connection_id":159474,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:19:55] local.INFO: Processing buffer {"connection_id":159474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:19:55] local.INFO: IMEI packet received {"connection_id":159474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":159474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:19:56] local.INFO: TCP Data received {"connection_id":159474,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:19:56] local.INFO: Processing buffer {"connection_id":159474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:19:56] local.INFO: Packet analysis {"connection_id":159474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:19:56] local.INFO: Extracted packet for processing {"connection_id":159474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563088384001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787356115000,"timestamp_ms":1787356115000,"timestamp_seconds":1787356115,"priority":1,"record_length":96,"hex_timestamp":"000001a026b9f038"} 
[2026-08-22 05: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-22 05:19:56] 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-22 05: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:19: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-22 05: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-22 05: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-22 05:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563088384001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563088384001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:19:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563088384001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":159474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:19:56] local.INFO: GPS data processed {"connection_id":159474,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:19:56] local.INFO: Acknowledgment sent {"connection_id":159474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:20:27] local.INFO: TCP Data received {"connection_id":159474,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:20:27] local.INFO: Processing buffer {"connection_id":159474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:20:27] local.INFO: Packet analysis {"connection_id":159474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:20:27] local.INFO: Extracted packet for processing {"connection_id":159474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563088384001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787356115000,"timestamp_ms":1787356115000,"timestamp_seconds":1787356115,"priority":1,"record_length":96,"hex_timestamp":"000001a026b9f038"} 
[2026-08-22 05:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:20:27] 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-22 05:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563088384001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563088384001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:20:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:20:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563088384001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":159474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:20:27] local.INFO: GPS data processed {"connection_id":159474,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:20:27] local.INFO: Acknowledgment sent {"connection_id":159474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:20:50] local.INFO: TCP Data received {"connection_id":160659,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:20:50] local.INFO: Processing buffer {"connection_id":160659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:20:50] local.INFO: IMEI packet received {"connection_id":160659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":160659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:20:55] local.INFO: TCP Data received {"connection_id":160659,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:20:55] local.INFO: Processing buffer {"connection_id":160659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:20:55] local.INFO: IMEI packet received {"connection_id":160659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":160659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:20:56] local.INFO: TCP Data received {"connection_id":160659,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:20:56] local.INFO: Processing buffer {"connection_id":160659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:20:56] local.INFO: Packet analysis {"connection_id":160659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:20:56] local.INFO: Extracted packet for processing {"connection_id":160659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563088384001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787356115000,"timestamp_ms":1787356115000,"timestamp_seconds":1787356115,"priority":1,"record_length":96,"hex_timestamp":"000001a026b9f038"} 
[2026-08-22 05: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-22 05:20:56] 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-22 05:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:20: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-22 05: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-22 05: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-22 05:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563088384001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563088384001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:20:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563088384001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":160659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:20:56] local.INFO: GPS data processed {"connection_id":160659,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:20:56] local.INFO: Acknowledgment sent {"connection_id":160659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:21:27] local.INFO: TCP Data received {"connection_id":160659,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:21:27] local.INFO: Processing buffer {"connection_id":160659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:21:27] local.INFO: Packet analysis {"connection_id":160659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:21:27] local.INFO: Extracted packet for processing {"connection_id":160659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563088384001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787356115000,"timestamp_ms":1787356115000,"timestamp_seconds":1787356115,"priority":1,"record_length":96,"hex_timestamp":"000001a026b9f038"} 
[2026-08-22 05:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:21:27] 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-22 05:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563088384001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563088384001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:21:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563088384001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":160659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:21:27] local.INFO: GPS data processed {"connection_id":160659,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:21:27] local.INFO: Acknowledgment sent {"connection_id":160659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:21:50] local.INFO: TCP Data received {"connection_id":159752,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:21:50] local.INFO: Processing buffer {"connection_id":159752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:21:50] local.INFO: IMEI packet received {"connection_id":159752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":159752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:21:55] local.INFO: TCP Data received {"connection_id":159752,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:21:55] local.INFO: Processing buffer {"connection_id":159752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:21:55] local.INFO: IMEI packet received {"connection_id":159752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":159752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:21:56] local.INFO: TCP Data received {"connection_id":159752,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:21:56] local.INFO: Processing buffer {"connection_id":159752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:21:56] local.INFO: Packet analysis {"connection_id":159752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:21:56] local.INFO: Extracted packet for processing {"connection_id":159752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563088384001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787356115000,"timestamp_ms":1787356115000,"timestamp_seconds":1787356115,"priority":1,"record_length":96,"hex_timestamp":"000001a026b9f038"} 
[2026-08-22 05: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-22 05:21:56] 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-22 05: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:21: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-22 05: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-22 05: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-22 05:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563088384001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563088384001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:21:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563088384001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":159752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:21:56] local.INFO: GPS data processed {"connection_id":159752,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:21:56] local.INFO: Acknowledgment sent {"connection_id":159752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:22:27] local.INFO: TCP Data received {"connection_id":159752,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:22:27] local.INFO: Processing buffer {"connection_id":159752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:22:27] local.INFO: Packet analysis {"connection_id":159752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:22:27] local.INFO: Extracted packet for processing {"connection_id":159752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563088384001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787356115000,"timestamp_ms":1787356115000,"timestamp_seconds":1787356115,"priority":1,"record_length":96,"hex_timestamp":"000001a026b9f038"} 
[2026-08-22 05:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:22:27] 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-22 05:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563088384001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563088384001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:22:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563088384001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":159752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:22:27] local.INFO: GPS data processed {"connection_id":159752,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:22:27] local.INFO: Acknowledgment sent {"connection_id":159752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:22:50] local.INFO: TCP Data received {"connection_id":160660,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:22:50] local.INFO: Processing buffer {"connection_id":160660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:22:50] local.INFO: IMEI packet received {"connection_id":160660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":160660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:22:55] local.INFO: TCP Data received {"connection_id":160660,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:22:55] local.INFO: Processing buffer {"connection_id":160660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:22:55] local.INFO: IMEI packet received {"connection_id":160660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":160660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:22:56] local.INFO: TCP Data received {"connection_id":160660,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:22:56] local.INFO: Processing buffer {"connection_id":160660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:22:56] local.INFO: Packet analysis {"connection_id":160660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:22:56] local.INFO: Extracted packet for processing {"connection_id":160660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:22:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563088384001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787356115000,"timestamp_ms":1787356115000,"timestamp_seconds":1787356115,"priority":1,"record_length":96,"hex_timestamp":"000001a026b9f038"} 
[2026-08-22 05: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-22 05:22:56] 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-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:22: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-22 05: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-22 05: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-22 05:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563088384001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563088384001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:22:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:22:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563088384001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":160660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:22:56] local.INFO: GPS data processed {"connection_id":160660,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:22:56] local.INFO: Acknowledgment sent {"connection_id":160660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:23:27] local.INFO: TCP Data received {"connection_id":160660,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:23:27] local.INFO: Processing buffer {"connection_id":160660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:23:27] local.INFO: Packet analysis {"connection_id":160660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:23:27] local.INFO: Extracted packet for processing {"connection_id":160660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563088384001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787356115000,"timestamp_ms":1787356115000,"timestamp_seconds":1787356115,"priority":1,"record_length":96,"hex_timestamp":"000001a026b9f038"} 
[2026-08-22 05:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:23:27] 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-22 05:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563088384001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563088384001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:23:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563088384001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":160660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:23:27] local.INFO: GPS data processed {"connection_id":160660,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:23:27] local.INFO: Acknowledgment sent {"connection_id":160660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:23:55] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:23:55] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:23:55] local.INFO: IMEI packet received {"connection_id":162067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":162067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:24:00] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:24:00] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:24:00] local.INFO: IMEI packet received {"connection_id":162067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":162067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:24:01] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:24:01] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:24:01] local.INFO: Packet analysis {"connection_id":162067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:24:01] local.INFO: Extracted packet for processing {"connection_id":162067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563088384001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787356115000,"timestamp_ms":1787356115000,"timestamp_seconds":1787356115,"priority":1,"record_length":96,"hex_timestamp":"000001a026b9f038"} 
[2026-08-22 05: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-22 05:24:01] 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-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:24: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-22 05: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-22 05: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-22 05:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563088384001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563088384001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:24:01] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:24:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563088384001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":162067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:24:01] local.INFO: GPS data processed {"connection_id":162067,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:24:01] local.INFO: Acknowledgment sent {"connection_id":162067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:24:05] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:24:05] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026b9f038012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:24:05] local.INFO: Packet analysis {"connection_id":162067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:24:05] local.INFO: Extracted packet for processing {"connection_id":162067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026b9"} 
[2026-08-22 05:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563088384001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787356115000,"timestamp_ms":1787356115000,"timestamp_seconds":1787356115,"priority":1,"record_length":96,"hex_timestamp":"000001a026b9f038"} 
[2026-08-22 05:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:24:05] 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-22 05:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 05:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563088384001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563088384001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:24:05] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:24:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563088384001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":162067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:24:05] local.INFO: GPS data processed {"connection_id":162067,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:24:05] local.INFO: Acknowledgment sent {"connection_id":162067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:24:50] local.INFO: TCP Data received {"connection_id":160661,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:24:50] local.INFO: Processing buffer {"connection_id":160661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:24:50] local.INFO: IMEI packet received {"connection_id":160661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":160661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:24:55] local.INFO: TCP Data received {"connection_id":160661,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:24:55] local.INFO: Processing buffer {"connection_id":160661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:24:55] local.INFO: IMEI packet received {"connection_id":160661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":160661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:24:56] local.INFO: TCP Data received {"connection_id":160661,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:24:56] local.INFO: Processing buffer {"connection_id":160661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:24:56] local.INFO: Packet analysis {"connection_id":160661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:24:56] local.INFO: Extracted packet for processing {"connection_id":160661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563165440001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787356416000,"timestamp_ms":1787356416000,"timestamp_seconds":1787356416,"priority":1,"record_length":96,"hex_timestamp":"000001a026be8800"} 
[2026-08-22 05: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-22 05:24:56] 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-22 05:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:24: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-22 05: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-22 05: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-22 05:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563165440001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563165440001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:24:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563165440001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":160661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:24:56] local.INFO: GPS data processed {"connection_id":160661,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:24:56] local.INFO: Acknowledgment sent {"connection_id":160661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:25:28] local.INFO: TCP Data received {"connection_id":160661,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:25:28] local.INFO: Processing buffer {"connection_id":160661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:25:28] local.INFO: Packet analysis {"connection_id":160661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:25:28] local.INFO: Extracted packet for processing {"connection_id":160661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563165440001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787356416000,"timestamp_ms":1787356416000,"timestamp_seconds":1787356416,"priority":1,"record_length":96,"hex_timestamp":"000001a026be8800"} 
[2026-08-22 05: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-22 05:25:28] 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-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:25:28] 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-22 05: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-22 05: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-22 05:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563165440001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563165440001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:25:28] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:25:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563165440001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":160661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:25:28] local.INFO: GPS data processed {"connection_id":160661,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:25:28] local.INFO: Acknowledgment sent {"connection_id":160661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:25:50] local.INFO: TCP Data received {"connection_id":162068,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:25:50] local.INFO: Processing buffer {"connection_id":162068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:25:50] local.INFO: IMEI packet received {"connection_id":162068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":162068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:25:55] local.INFO: TCP Data received {"connection_id":162068,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:25:55] local.INFO: Processing buffer {"connection_id":162068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:25:55] local.INFO: IMEI packet received {"connection_id":162068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":162068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:25:56] local.INFO: TCP Data received {"connection_id":162068,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:25:56] local.INFO: Processing buffer {"connection_id":162068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:25:56] local.INFO: Packet analysis {"connection_id":162068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:25:56] local.INFO: Extracted packet for processing {"connection_id":162068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563165440001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787356416000,"timestamp_ms":1787356416000,"timestamp_seconds":1787356416,"priority":1,"record_length":96,"hex_timestamp":"000001a026be8800"} 
[2026-08-22 05: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-22 05:25:56] 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-22 05: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:25: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-22 05: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-22 05: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-22 05:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563165440001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563165440001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:25:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563165440001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":162068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:25:56] local.INFO: GPS data processed {"connection_id":162068,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:25:56] local.INFO: Acknowledgment sent {"connection_id":162068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:26:27] local.INFO: TCP Data received {"connection_id":162068,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:26:27] local.INFO: Processing buffer {"connection_id":162068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:26:27] local.INFO: Packet analysis {"connection_id":162068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:26:27] local.INFO: Extracted packet for processing {"connection_id":162068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563165440001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787356416000,"timestamp_ms":1787356416000,"timestamp_seconds":1787356416,"priority":1,"record_length":96,"hex_timestamp":"000001a026be8800"} 
[2026-08-22 05:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:26:27] 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-22 05:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:26:27] 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-22 05:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563165440001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563165440001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:26:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563165440001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":162068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:26:27] local.INFO: GPS data processed {"connection_id":162068,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:26:27] local.INFO: Acknowledgment sent {"connection_id":162068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:26:50] local.INFO: TCP Data received {"connection_id":160662,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:26:50] local.INFO: Processing buffer {"connection_id":160662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:26:50] local.INFO: IMEI packet received {"connection_id":160662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":160662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:26:55] local.INFO: TCP Data received {"connection_id":160662,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:26:55] local.INFO: Processing buffer {"connection_id":160662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:26:55] local.INFO: IMEI packet received {"connection_id":160662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":160662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:26:56] local.INFO: TCP Data received {"connection_id":160662,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:26:56] local.INFO: Processing buffer {"connection_id":160662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:26:56] local.INFO: Packet analysis {"connection_id":160662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:26:56] local.INFO: Extracted packet for processing {"connection_id":160662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563165440001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787356416000,"timestamp_ms":1787356416000,"timestamp_seconds":1787356416,"priority":1,"record_length":96,"hex_timestamp":"000001a026be8800"} 
[2026-08-22 05: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-22 05:26:56] 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-22 05: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:26: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-22 05: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-22 05: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-22 05:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563165440001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563165440001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:26:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563165440001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":160662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:26:56] local.INFO: GPS data processed {"connection_id":160662,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:26:56] local.INFO: Acknowledgment sent {"connection_id":160662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:27:27] local.INFO: TCP Data received {"connection_id":160662,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:27:27] local.INFO: Processing buffer {"connection_id":160662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:27:27] local.INFO: Packet analysis {"connection_id":160662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:27:27] local.INFO: Extracted packet for processing {"connection_id":160662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563165440001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787356416000,"timestamp_ms":1787356416000,"timestamp_seconds":1787356416,"priority":1,"record_length":96,"hex_timestamp":"000001a026be8800"} 
[2026-08-22 05:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:27:27] 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-22 05:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:27:27] 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-22 05:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563165440001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563165440001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:27:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563165440001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":160662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:27:27] local.INFO: GPS data processed {"connection_id":160662,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:27:27] local.INFO: Acknowledgment sent {"connection_id":160662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:27:50] local.INFO: TCP Data received {"connection_id":160663,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:27:50] local.INFO: Processing buffer {"connection_id":160663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:27:50] local.INFO: IMEI packet received {"connection_id":160663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":160663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:27:55] local.INFO: TCP Data received {"connection_id":160663,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:27:55] local.INFO: Processing buffer {"connection_id":160663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:27:55] local.INFO: IMEI packet received {"connection_id":160663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":160663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:27:56] local.INFO: TCP Data received {"connection_id":160663,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:27:56] local.INFO: Processing buffer {"connection_id":160663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:27:56] local.INFO: Packet analysis {"connection_id":160663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:27:56] local.INFO: Extracted packet for processing {"connection_id":160663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563165440001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787356416000,"timestamp_ms":1787356416000,"timestamp_seconds":1787356416,"priority":1,"record_length":96,"hex_timestamp":"000001a026be8800"} 
[2026-08-22 05: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-22 05:27:56] 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-22 05: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:27: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-22 05: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-22 05: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-22 05:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563165440001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563165440001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:27:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563165440001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":160663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:27:56] local.INFO: GPS data processed {"connection_id":160663,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:27:56] local.INFO: Acknowledgment sent {"connection_id":160663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:28:27] local.INFO: TCP Data received {"connection_id":160663,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:28:27] local.INFO: Processing buffer {"connection_id":160663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:28:27] local.INFO: Packet analysis {"connection_id":160663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:28:27] local.INFO: Extracted packet for processing {"connection_id":160663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:28:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563165440001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787356416000,"timestamp_ms":1787356416000,"timestamp_seconds":1787356416,"priority":1,"record_length":96,"hex_timestamp":"000001a026be8800"} 
[2026-08-22 05: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-22 05:28:27] 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-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:28:27] 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-22 05: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-22 05: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-22 05:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563165440001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563165440001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:28:27] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:28:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563165440001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":160663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:28:27] local.INFO: GPS data processed {"connection_id":160663,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:28:27] local.INFO: Acknowledgment sent {"connection_id":160663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:28:55] local.INFO: TCP Data received {"connection_id":159475,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:28:55] local.INFO: Processing buffer {"connection_id":159475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:28:55] local.INFO: IMEI packet received {"connection_id":159475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":159475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:29:00] local.INFO: TCP Data received {"connection_id":159475,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:29:00] local.INFO: Processing buffer {"connection_id":159475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:29:00] local.INFO: IMEI packet received {"connection_id":159475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":159475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:29:01] local.INFO: TCP Data received {"connection_id":159475,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:29:01] local.INFO: Processing buffer {"connection_id":159475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:29:01] local.INFO: Packet analysis {"connection_id":159475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:29:01] local.INFO: Extracted packet for processing {"connection_id":159475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563165440001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787356416000,"timestamp_ms":1787356416000,"timestamp_seconds":1787356416,"priority":1,"record_length":96,"hex_timestamp":"000001a026be8800"} 
[2026-08-22 05: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-22 05:29:01] 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-22 05: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:29: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-22 05: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-22 05: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-22 05:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563165440001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563165440001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:29:01] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563165440001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":159475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:29:01] local.INFO: GPS data processed {"connection_id":159475,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:29:01] local.INFO: Acknowledgment sent {"connection_id":159475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:29:05] local.INFO: TCP Data received {"connection_id":159475,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:29:05] local.INFO: Processing buffer {"connection_id":159475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026be8800012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:29:05] local.INFO: Packet analysis {"connection_id":159475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:29:05] local.INFO: Extracted packet for processing {"connection_id":159475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026be"} 
[2026-08-22 05:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563165440001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787356416000,"timestamp_ms":1787356416000,"timestamp_seconds":1787356416,"priority":1,"record_length":96,"hex_timestamp":"000001a026be8800"} 
[2026-08-22 05: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-22 05:29:05] 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-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 05: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-22 05: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-22 05:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563165440001,"66":25604,"249":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-08-22 05:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563165440001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:29:05] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-22 05:29:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563165440001,"power":25604,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":159475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:29:05] local.INFO: GPS data processed {"connection_id":159475,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:29:05] local.INFO: Acknowledgment sent {"connection_id":159475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:29:50] local.INFO: TCP Data received {"connection_id":162069,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:29:50] local.INFO: Processing buffer {"connection_id":162069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:29:50] local.INFO: IMEI packet received {"connection_id":162069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":162069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:29:55] local.INFO: TCP Data received {"connection_id":162069,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:29:55] local.INFO: Processing buffer {"connection_id":162069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:29:55] local.INFO: IMEI packet received {"connection_id":162069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":162069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:29:56] local.INFO: TCP Data received {"connection_id":162069,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:29:56] local.INFO: Processing buffer {"connection_id":162069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:29:56] local.INFO: Packet analysis {"connection_id":162069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:29:56] local.INFO: Extracted packet for processing {"connection_id":162069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563242496001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:29: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-22 05:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787356717000,"timestamp_ms":1787356717000,"timestamp_seconds":1787356717,"priority":1,"record_length":96,"hex_timestamp":"000001a026c31fc8"} 
[2026-08-22 05: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-22 05:29:56] 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-22 05: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:29: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-22 05: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-22 05: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-22 05:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563242496001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563242496001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:29:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563242496001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":162069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:29:56] local.INFO: GPS data processed {"connection_id":162069,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:29:56] local.INFO: Acknowledgment sent {"connection_id":162069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:30:27] local.INFO: TCP Data received {"connection_id":162069,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:30:27] local.INFO: Processing buffer {"connection_id":162069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:30:27] local.INFO: Packet analysis {"connection_id":162069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:30:27] local.INFO: Extracted packet for processing {"connection_id":162069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563242496001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:30: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-22 05:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787356717000,"timestamp_ms":1787356717000,"timestamp_seconds":1787356717,"priority":1,"record_length":96,"hex_timestamp":"000001a026c31fc8"} 
[2026-08-22 05: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-22 05:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:30:27] 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-22 05: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-22 05: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-22 05:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563242496001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563242496001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:30:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563242496001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":162069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:30:27] local.INFO: GPS data processed {"connection_id":162069,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:30:27] local.INFO: Acknowledgment sent {"connection_id":162069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:30:50] local.INFO: TCP Data received {"connection_id":162070,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:30:50] local.INFO: Processing buffer {"connection_id":162070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:30:50] local.INFO: IMEI packet received {"connection_id":162070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":162070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:30:55] local.INFO: TCP Data received {"connection_id":162070,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:30:55] local.INFO: Processing buffer {"connection_id":162070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:30:55] local.INFO: IMEI packet received {"connection_id":162070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":162070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:30:56] local.INFO: TCP Data received {"connection_id":162070,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:30:56] local.INFO: Processing buffer {"connection_id":162070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:30:56] local.INFO: Packet analysis {"connection_id":162070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:30:56] local.INFO: Extracted packet for processing {"connection_id":162070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563242496001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:30: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-22 05:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787356717000,"timestamp_ms":1787356717000,"timestamp_seconds":1787356717,"priority":1,"record_length":96,"hex_timestamp":"000001a026c31fc8"} 
[2026-08-22 05: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-22 05:30:56] 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-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:30: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-22 05: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-22 05: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-22 05:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563242496001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563242496001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:30:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563242496001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":162070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:30:56] local.INFO: GPS data processed {"connection_id":162070,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:30:56] local.INFO: Acknowledgment sent {"connection_id":162070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:31:27] local.INFO: TCP Data received {"connection_id":162070,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:31:27] local.INFO: Processing buffer {"connection_id":162070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:31:27] local.INFO: Packet analysis {"connection_id":162070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:31:27] local.INFO: Extracted packet for processing {"connection_id":162070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563242496001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:31: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-22 05:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787356717000,"timestamp_ms":1787356717000,"timestamp_seconds":1787356717,"priority":1,"record_length":96,"hex_timestamp":"000001a026c31fc8"} 
[2026-08-22 05: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-22 05:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:31:27] 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-22 05: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-22 05: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-22 05:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563242496001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563242496001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:31:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563242496001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":162070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:31:27] local.INFO: GPS data processed {"connection_id":162070,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:31:27] local.INFO: Acknowledgment sent {"connection_id":162070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:31:50] local.INFO: TCP Data received {"connection_id":159753,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:31:50] local.INFO: Processing buffer {"connection_id":159753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:31:50] local.INFO: IMEI packet received {"connection_id":159753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":159753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:31:55] local.INFO: TCP Data received {"connection_id":159753,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:31:55] local.INFO: Processing buffer {"connection_id":159753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:31:55] local.INFO: IMEI packet received {"connection_id":159753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":159753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:31:56] local.INFO: TCP Data received {"connection_id":159753,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:31:56] local.INFO: Processing buffer {"connection_id":159753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:31:56] local.INFO: Packet analysis {"connection_id":159753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:31:56] local.INFO: Extracted packet for processing {"connection_id":159753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563242496001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:31: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-22 05:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787356717000,"timestamp_ms":1787356717000,"timestamp_seconds":1787356717,"priority":1,"record_length":96,"hex_timestamp":"000001a026c31fc8"} 
[2026-08-22 05: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-22 05:31:56] 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-22 05: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:31: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-22 05: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-22 05: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-22 05:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563242496001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563242496001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:31:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563242496001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":159753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:31:56] local.INFO: GPS data processed {"connection_id":159753,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:31:56] local.INFO: Acknowledgment sent {"connection_id":159753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:32:27] local.INFO: TCP Data received {"connection_id":159753,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:32:27] local.INFO: Processing buffer {"connection_id":159753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:32:27] local.INFO: Packet analysis {"connection_id":159753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:32:27] local.INFO: Extracted packet for processing {"connection_id":159753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563242496001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:32: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-22 05:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787356717000,"timestamp_ms":1787356717000,"timestamp_seconds":1787356717,"priority":1,"record_length":96,"hex_timestamp":"000001a026c31fc8"} 
[2026-08-22 05: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-22 05:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:32:27] 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-22 05: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-22 05: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-22 05:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563242496001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563242496001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:32:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563242496001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":159753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:32:27] local.INFO: GPS data processed {"connection_id":159753,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:32:27] local.INFO: Acknowledgment sent {"connection_id":159753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:32:55] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:32:55] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:32:55] local.INFO: IMEI packet received {"connection_id":162071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":162071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:33:00] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:33:00] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:33:00] local.INFO: IMEI packet received {"connection_id":162071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":162071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:33:01] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:33:01] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:33:01] local.INFO: Packet analysis {"connection_id":162071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:33:01] local.INFO: Extracted packet for processing {"connection_id":162071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563242496001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:33: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-22 05:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787356717000,"timestamp_ms":1787356717000,"timestamp_seconds":1787356717,"priority":1,"record_length":96,"hex_timestamp":"000001a026c31fc8"} 
[2026-08-22 05: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-22 05:33:01] 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-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:33: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-22 05: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-22 05: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-22 05:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563242496001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563242496001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:33:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563242496001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":162071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:33:01] local.INFO: GPS data processed {"connection_id":162071,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:33:01] local.INFO: Acknowledgment sent {"connection_id":162071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:33:05] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:33:05] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:33:05] local.INFO: Packet analysis {"connection_id":162071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:33:05] local.INFO: Extracted packet for processing {"connection_id":162071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:33:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563242496001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:33:05] 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-22 05:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787356717000,"timestamp_ms":1787356717000,"timestamp_seconds":1787356717,"priority":1,"record_length":96,"hex_timestamp":"000001a026c31fc8"} 
[2026-08-22 05: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-22 05:33:05] 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-22 05:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 05: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-22 05: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-22 05:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563242496001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563242496001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:33:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:33:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563242496001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":162071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:33:05] local.INFO: GPS data processed {"connection_id":162071,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:33:05] local.INFO: Acknowledgment sent {"connection_id":162071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:33:50] local.INFO: TCP Data received {"connection_id":159476,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:33:50] local.INFO: Processing buffer {"connection_id":159476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:33:50] local.INFO: IMEI packet received {"connection_id":159476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":159476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:33:55] local.INFO: TCP Data received {"connection_id":159476,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:33:55] local.INFO: Processing buffer {"connection_id":159476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:33:55] local.INFO: IMEI packet received {"connection_id":159476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":159476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:33:56] local.INFO: TCP Data received {"connection_id":159476,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:33:56] local.INFO: Processing buffer {"connection_id":159476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c31fc8012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:33:56] local.INFO: Packet analysis {"connection_id":159476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:33:56] local.INFO: Extracted packet for processing {"connection_id":159476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c3"} 
[2026-08-22 05:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563242496001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:33: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-22 05:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787356717000,"timestamp_ms":1787356717000,"timestamp_seconds":1787356717,"priority":1,"record_length":96,"hex_timestamp":"000001a026c31fc8"} 
[2026-08-22 05: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-22 05:33:56] 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-22 05: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:33: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-22 05: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-22 05: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-22 05:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563242496001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563242496001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:33:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563242496001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":159476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:33:56] local.INFO: GPS data processed {"connection_id":159476,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:33:56] local.INFO: Acknowledgment sent {"connection_id":159476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:34:29] local.INFO: TCP Data received {"connection_id":159476,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:34:29] local.INFO: Processing buffer {"connection_id":159476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:34:29] local.INFO: Packet analysis {"connection_id":159476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:34:29] local.INFO: Extracted packet for processing {"connection_id":159476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:34:29] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563319552001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:34: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-22 05:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787357018000,"timestamp_ms":1787357018000,"timestamp_seconds":1787357018,"priority":1,"record_length":96,"hex_timestamp":"000001a026c7b790"} 
[2026-08-22 05: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-22 05:34: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-22 05: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:34: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-22 05: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-22 05: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-22 05:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563319552001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563319552001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:34:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:34:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563319552001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":159476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:34:29] local.INFO: GPS data processed {"connection_id":159476,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:34:29] local.INFO: Acknowledgment sent {"connection_id":159476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:34:50] local.INFO: TCP Data received {"connection_id":159477,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:34:50] local.INFO: Processing buffer {"connection_id":159477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:34:50] local.INFO: IMEI packet received {"connection_id":159477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":159477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:34:55] local.INFO: TCP Data received {"connection_id":159477,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:34:55] local.INFO: Processing buffer {"connection_id":159477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:34:55] local.INFO: IMEI packet received {"connection_id":159477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":159477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:34:56] local.INFO: TCP Data received {"connection_id":159477,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:34:56] local.INFO: Processing buffer {"connection_id":159477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:34:56] local.INFO: Packet analysis {"connection_id":159477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:34:56] local.INFO: Extracted packet for processing {"connection_id":159477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563319552001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:34: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-22 05:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357018000,"timestamp_ms":1787357018000,"timestamp_seconds":1787357018,"priority":1,"record_length":96,"hex_timestamp":"000001a026c7b790"} 
[2026-08-22 05: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-22 05:34:56] 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-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:34: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-22 05: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-22 05: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-22 05:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563319552001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563319552001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:34:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563319552001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":159477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:34:56] local.INFO: GPS data processed {"connection_id":159477,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:34:56] local.INFO: Acknowledgment sent {"connection_id":159477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:35:27] local.INFO: TCP Data received {"connection_id":159477,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:35:27] local.INFO: Processing buffer {"connection_id":159477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:35:27] local.INFO: Packet analysis {"connection_id":159477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:35:27] local.INFO: Extracted packet for processing {"connection_id":159477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563319552001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:35: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-22 05:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787357018000,"timestamp_ms":1787357018000,"timestamp_seconds":1787357018,"priority":1,"record_length":96,"hex_timestamp":"000001a026c7b790"} 
[2026-08-22 05:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:35:27] 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-22 05:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563319552001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563319552001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:35:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:35:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563319552001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":159477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:35:27] local.INFO: GPS data processed {"connection_id":159477,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:35:27] local.INFO: Acknowledgment sent {"connection_id":159477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:35:50] local.INFO: TCP Data received {"connection_id":162072,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:35:50] local.INFO: Processing buffer {"connection_id":162072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:35:50] local.INFO: IMEI packet received {"connection_id":162072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":162072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:35:55] local.INFO: TCP Data received {"connection_id":162072,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:35:55] local.INFO: Processing buffer {"connection_id":162072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:35:55] local.INFO: IMEI packet received {"connection_id":162072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":162072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:35:56] local.INFO: TCP Data received {"connection_id":162072,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:35:56] local.INFO: Processing buffer {"connection_id":162072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:35:56] local.INFO: Packet analysis {"connection_id":162072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:35:56] local.INFO: Extracted packet for processing {"connection_id":162072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563319552001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:35: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-22 05:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357018000,"timestamp_ms":1787357018000,"timestamp_seconds":1787357018,"priority":1,"record_length":96,"hex_timestamp":"000001a026c7b790"} 
[2026-08-22 05: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-22 05:35:56] 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-22 05: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:35: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-22 05: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-22 05: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-22 05:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563319552001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563319552001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:35:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563319552001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":162072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:35:56] local.INFO: GPS data processed {"connection_id":162072,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:35:56] local.INFO: Acknowledgment sent {"connection_id":162072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:36:27] local.INFO: TCP Data received {"connection_id":162072,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:36:27] local.INFO: Processing buffer {"connection_id":162072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:36:27] local.INFO: Packet analysis {"connection_id":162072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:36:27] local.INFO: Extracted packet for processing {"connection_id":162072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563319552001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:36: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-22 05:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787357018000,"timestamp_ms":1787357018000,"timestamp_seconds":1787357018,"priority":1,"record_length":96,"hex_timestamp":"000001a026c7b790"} 
[2026-08-22 05: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-22 05:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:36:27] 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-22 05: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-22 05: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-22 05:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563319552001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563319552001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:36:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563319552001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":162072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:36:27] local.INFO: GPS data processed {"connection_id":162072,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:36:27] local.INFO: Acknowledgment sent {"connection_id":162072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:36:55] local.INFO: TCP Data received {"connection_id":162073,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:36:55] local.INFO: Processing buffer {"connection_id":162073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:36:55] local.INFO: IMEI packet received {"connection_id":162073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":162073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:37:00] local.INFO: TCP Data received {"connection_id":162073,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:37:00] local.INFO: Processing buffer {"connection_id":162073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:37:00] local.INFO: IMEI packet received {"connection_id":162073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":162073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:37:01] local.INFO: TCP Data received {"connection_id":162073,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:37:01] local.INFO: Processing buffer {"connection_id":162073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:37:01] local.INFO: Packet analysis {"connection_id":162073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:37:01] local.INFO: Extracted packet for processing {"connection_id":162073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563319552001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:37: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-22 05:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787357018000,"timestamp_ms":1787357018000,"timestamp_seconds":1787357018,"priority":1,"record_length":96,"hex_timestamp":"000001a026c7b790"} 
[2026-08-22 05: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-22 05:37:01] 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-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:37: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-22 05: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-22 05: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-22 05:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563319552001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563319552001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:37:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563319552001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":162073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:37:01] local.INFO: GPS data processed {"connection_id":162073,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:37:01] local.INFO: Acknowledgment sent {"connection_id":162073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:37:05] local.INFO: TCP Data received {"connection_id":162073,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:37:05] local.INFO: Processing buffer {"connection_id":162073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:37:05] local.INFO: Packet analysis {"connection_id":162073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:37:05] local.INFO: Extracted packet for processing {"connection_id":162073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563319552001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:37:05] 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-22 05:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787357018000,"timestamp_ms":1787357018000,"timestamp_seconds":1787357018,"priority":1,"record_length":96,"hex_timestamp":"000001a026c7b790"} 
[2026-08-22 05:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:37:05] 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-22 05:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 05:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563319552001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563319552001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:37:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563319552001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":162073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:37:05] local.INFO: GPS data processed {"connection_id":162073,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:37:05] local.INFO: Acknowledgment sent {"connection_id":162073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:37:50] local.INFO: TCP Data received {"connection_id":160664,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:37:50] local.INFO: Processing buffer {"connection_id":160664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:37:50] local.INFO: IMEI packet received {"connection_id":160664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":160664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:37:58] local.INFO: TCP Data received {"connection_id":160664,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:37:58] local.INFO: Processing buffer {"connection_id":160664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:37:58] local.INFO: IMEI packet received {"connection_id":160664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":160664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:37:59] local.INFO: TCP Data received {"connection_id":160664,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:37:59] local.INFO: Processing buffer {"connection_id":160664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:37:59] local.INFO: Packet analysis {"connection_id":160664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:37:59] local.INFO: Extracted packet for processing {"connection_id":160664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 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-22 05:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563319552001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:37: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-22 05:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787357018000,"timestamp_ms":1787357018000,"timestamp_seconds":1787357018,"priority":1,"record_length":96,"hex_timestamp":"000001a026c7b790"} 
[2026-08-22 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-22 05: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-22 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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:37:59] 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-22 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-22 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-22 05:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563319552001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563319552001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:37:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:37:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563319552001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":160664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:37:59] local.INFO: GPS data processed {"connection_id":160664,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:37:59] local.INFO: Acknowledgment sent {"connection_id":160664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:38:30] local.INFO: TCP Data received {"connection_id":160664,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:38:30] local.INFO: Processing buffer {"connection_id":160664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:38:30] local.INFO: Packet analysis {"connection_id":160664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:38:30] local.INFO: Extracted packet for processing {"connection_id":160664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 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-22 05:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563319552001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05: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-22 05:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787357018000,"timestamp_ms":1787357018000,"timestamp_seconds":1787357018,"priority":1,"record_length":96,"hex_timestamp":"000001a026c7b790"} 
[2026-08-22 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-22 05: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-22 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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:38:30] 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-22 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-22 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-22 05:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563319552001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563319552001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:38:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:38:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563319552001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":160664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:38:30] local.INFO: GPS data processed {"connection_id":160664,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:38:30] local.INFO: Acknowledgment sent {"connection_id":160664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:38:50] local.INFO: TCP Data received {"connection_id":159478,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:38:50] local.INFO: Processing buffer {"connection_id":159478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:38:50] local.INFO: IMEI packet received {"connection_id":159478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":159478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:38:55] local.INFO: TCP Data received {"connection_id":159478,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:38:55] local.INFO: Processing buffer {"connection_id":159478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:38:55] local.INFO: IMEI packet received {"connection_id":159478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":159478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:38:56] local.INFO: TCP Data received {"connection_id":159478,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:38:56] local.INFO: Processing buffer {"connection_id":159478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026c7b790012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 05:38:56] local.INFO: Packet analysis {"connection_id":159478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:38:56] local.INFO: Extracted packet for processing {"connection_id":159478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026c7"} 
[2026-08-22 05:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563319552001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:38: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-22 05:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357018000,"timestamp_ms":1787357018000,"timestamp_seconds":1787357018,"priority":1,"record_length":96,"hex_timestamp":"000001a026c7b790"} 
[2026-08-22 05: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-22 05:38:56] 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-22 05:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:38: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-22 05: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-22 05: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-22 05:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563319552001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563319552001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:38:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563319552001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":159478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:38:56] local.INFO: GPS data processed {"connection_id":159478,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:38:56] local.INFO: Acknowledgment sent {"connection_id":159478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:39:27] local.INFO: TCP Data received {"connection_id":159478,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:39:27] local.INFO: Processing buffer {"connection_id":159478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:39:27] local.INFO: Packet analysis {"connection_id":159478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:39:27] local.INFO: Extracted packet for processing {"connection_id":159478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563396608001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:39: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-22 05:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787357319000,"timestamp_ms":1787357319000,"timestamp_seconds":1787357319,"priority":1,"record_length":96,"hex_timestamp":"000001a026cc4f58"} 
[2026-08-22 05: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-22 05:39:27] 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-22 05:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:39:27] 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-22 05: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-22 05: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-22 05:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563396608001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563396608001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:39:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:39:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563396608001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":159478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:39:27] local.INFO: GPS data processed {"connection_id":159478,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:39:27] local.INFO: Acknowledgment sent {"connection_id":159478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:39:55] local.INFO: TCP Data received {"connection_id":159479,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:39:55] local.INFO: Processing buffer {"connection_id":159479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:39:55] local.INFO: IMEI packet received {"connection_id":159479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":159479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:40:00] local.INFO: TCP Data received {"connection_id":159479,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:40:00] local.INFO: Processing buffer {"connection_id":159479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:40:00] local.INFO: IMEI packet received {"connection_id":159479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":159479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:40:01] local.INFO: TCP Data received {"connection_id":159479,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:40:01] local.INFO: Processing buffer {"connection_id":159479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:40:01] local.INFO: Packet analysis {"connection_id":159479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:40:01] local.INFO: Extracted packet for processing {"connection_id":159479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563396608001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:40: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-22 05:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787357319000,"timestamp_ms":1787357319000,"timestamp_seconds":1787357319,"priority":1,"record_length":96,"hex_timestamp":"000001a026cc4f58"} 
[2026-08-22 05: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-22 05:40:01] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:40:01] 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-22 05: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-22 05: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-22 05:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563396608001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563396608001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:40:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563396608001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":159479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:40:01] local.INFO: GPS data processed {"connection_id":159479,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:40:01] local.INFO: Acknowledgment sent {"connection_id":159479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:40:05] local.INFO: TCP Data received {"connection_id":159479,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:40:05] local.INFO: Processing buffer {"connection_id":159479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:40:05] local.INFO: Packet analysis {"connection_id":159479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:40:05] local.INFO: Extracted packet for processing {"connection_id":159479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:40:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563396608001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:40:05] 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-22 05:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787357319000,"timestamp_ms":1787357319000,"timestamp_seconds":1787357319,"priority":1,"record_length":96,"hex_timestamp":"000001a026cc4f58"} 
[2026-08-22 05: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-22 05:40:05] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:40:05] 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-22 05: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-22 05: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-22 05:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563396608001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563396608001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:40:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:40:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563396608001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":159479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:40:05] local.INFO: GPS data processed {"connection_id":159479,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:40:05] local.INFO: Acknowledgment sent {"connection_id":159479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:40:50] local.INFO: TCP Data received {"connection_id":159480,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:40:50] local.INFO: Processing buffer {"connection_id":159480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:40:50] local.INFO: IMEI packet received {"connection_id":159480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":159480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:40:55] local.INFO: TCP Data received {"connection_id":159480,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:40:55] local.INFO: Processing buffer {"connection_id":159480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:40:55] local.INFO: IMEI packet received {"connection_id":159480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":159480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:40:56] local.INFO: TCP Data received {"connection_id":159480,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:40:56] local.INFO: Processing buffer {"connection_id":159480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:40:56] local.INFO: Packet analysis {"connection_id":159480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:40:56] local.INFO: Extracted packet for processing {"connection_id":159480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563396608001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05: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-22 05:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357319000,"timestamp_ms":1787357319000,"timestamp_seconds":1787357319,"priority":1,"record_length":96,"hex_timestamp":"000001a026cc4f58"} 
[2026-08-22 05: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-22 05:40:56] 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-22 05:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:40: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-22 05: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-22 05: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-22 05:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563396608001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563396608001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:40:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563396608001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":159480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:40:56] local.INFO: GPS data processed {"connection_id":159480,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:40:56] local.INFO: Acknowledgment sent {"connection_id":159480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:41:27] local.INFO: TCP Data received {"connection_id":159480,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:41:27] local.INFO: Processing buffer {"connection_id":159480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:41:27] local.INFO: Packet analysis {"connection_id":159480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:41:27] local.INFO: Extracted packet for processing {"connection_id":159480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563396608001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:41: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-22 05:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787357319000,"timestamp_ms":1787357319000,"timestamp_seconds":1787357319,"priority":1,"record_length":96,"hex_timestamp":"000001a026cc4f58"} 
[2026-08-22 05: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-22 05:41:27] 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-22 05:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:41:27] 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-22 05: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-22 05: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-22 05:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563396608001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563396608001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:41:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563396608001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":159480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:41:27] local.INFO: GPS data processed {"connection_id":159480,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:41:27] local.INFO: Acknowledgment sent {"connection_id":159480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:41:50] local.INFO: TCP Data received {"connection_id":159481,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:41:50] local.INFO: Processing buffer {"connection_id":159481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:41:50] local.INFO: IMEI packet received {"connection_id":159481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":159481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:41:55] local.INFO: TCP Data received {"connection_id":159481,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:41:55] local.INFO: Processing buffer {"connection_id":159481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:41:55] local.INFO: IMEI packet received {"connection_id":159481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":159481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:41:56] local.INFO: TCP Data received {"connection_id":159481,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:41:56] local.INFO: Processing buffer {"connection_id":159481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:41:56] local.INFO: Packet analysis {"connection_id":159481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:41:56] local.INFO: Extracted packet for processing {"connection_id":159481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563396608001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05: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-22 05:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357319000,"timestamp_ms":1787357319000,"timestamp_seconds":1787357319,"priority":1,"record_length":96,"hex_timestamp":"000001a026cc4f58"} 
[2026-08-22 05: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-22 05:41:56] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:41: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-22 05: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-22 05: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-22 05:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563396608001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563396608001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:41:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563396608001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":159481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:41:56] local.INFO: GPS data processed {"connection_id":159481,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:41:56] local.INFO: Acknowledgment sent {"connection_id":159481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:42:27] local.INFO: TCP Data received {"connection_id":159481,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:42:27] local.INFO: Processing buffer {"connection_id":159481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:42:27] local.INFO: Packet analysis {"connection_id":159481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:42:27] local.INFO: Extracted packet for processing {"connection_id":159481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563396608001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:42: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-22 05:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787357319000,"timestamp_ms":1787357319000,"timestamp_seconds":1787357319,"priority":1,"record_length":96,"hex_timestamp":"000001a026cc4f58"} 
[2026-08-22 05: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-22 05:42:27] 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-22 05:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:42:27] 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-22 05: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-22 05: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-22 05:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563396608001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563396608001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:42:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563396608001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":159481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:42:27] local.INFO: GPS data processed {"connection_id":159481,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:42:27] local.INFO: Acknowledgment sent {"connection_id":159481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:42:50] local.INFO: TCP Data received {"connection_id":160665,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:42:50] local.INFO: Processing buffer {"connection_id":160665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:42:50] local.INFO: IMEI packet received {"connection_id":160665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":160665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:42:55] local.INFO: TCP Data received {"connection_id":160665,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:42:55] local.INFO: Processing buffer {"connection_id":160665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:42:55] local.INFO: IMEI packet received {"connection_id":160665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":160665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:42:56] local.INFO: TCP Data received {"connection_id":160665,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:42:56] local.INFO: Processing buffer {"connection_id":160665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:42:56] local.INFO: Packet analysis {"connection_id":160665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:42:56] local.INFO: Extracted packet for processing {"connection_id":160665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563396608001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05: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-22 05:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357319000,"timestamp_ms":1787357319000,"timestamp_seconds":1787357319,"priority":1,"record_length":96,"hex_timestamp":"000001a026cc4f58"} 
[2026-08-22 05: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-22 05:42:56] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:42: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-22 05: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-22 05: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-22 05:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563396608001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563396608001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:42:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563396608001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":160665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:42:56] local.INFO: GPS data processed {"connection_id":160665,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:42:56] local.INFO: Acknowledgment sent {"connection_id":160665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:43:14] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:43:14] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:43:14] local.INFO: IMEI packet received {"connection_id":162074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 05:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":162074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:43:15] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:43:15] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:43:15] local.INFO: IMEI packet received {"connection_id":162074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":162074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:43:19] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:43:19] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:43:19] local.INFO: IMEI packet received {"connection_id":162074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":162074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:43:20] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-22 05:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-22 05:43:20] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-22 05:43:20] local.INFO: Packet analysis {"connection_id":162074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-22 05:43:20] local.INFO: Extracted packet for processing {"connection_id":162074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-22 05:43:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-22 05:43:20] 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-22 05:43:20] 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-22 05:43:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 05:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162074,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-22 05:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-22 05:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 05:43:20] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 05:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":162074,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 05:43:20] local.ERROR: GPS data processing failed {"connection_id":162074,"error":"No valid data to process"} 
[2026-08-22 05:43:20] local.INFO: Acknowledgment sent {"connection_id":162074,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 05:43:27] local.INFO: TCP Data received {"connection_id":160665,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:43:27] local.INFO: Processing buffer {"connection_id":160665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:43:27] local.INFO: Packet analysis {"connection_id":160665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:43:27] local.INFO: Extracted packet for processing {"connection_id":160665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563396608001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:43: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-22 05:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787357319000,"timestamp_ms":1787357319000,"timestamp_seconds":1787357319,"priority":1,"record_length":96,"hex_timestamp":"000001a026cc4f58"} 
[2026-08-22 05: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-22 05:43:27] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:43:27] 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-22 05: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-22 05: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-22 05:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563396608001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563396608001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:43:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563396608001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":160665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:43:27] local.INFO: GPS data processed {"connection_id":160665,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:43:27] local.INFO: Acknowledgment sent {"connection_id":160665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:43:50] local.INFO: TCP Data received {"connection_id":162075,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:43:50] local.INFO: Processing buffer {"connection_id":162075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:43:50] local.INFO: IMEI packet received {"connection_id":162075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":162075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:43:51] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d09900012d196580071fefa80043008908..."} 
[2026-08-22 05:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d09900012d196580071fefa80043008908..."} 
[2026-08-22 05:43:51] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d09900012d196580071fefa80043008908..."} 
[2026-08-22 05:43:51] local.INFO: Packet analysis {"connection_id":162074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:43:51] local.INFO: Extracted packet for processing {"connection_id":162074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533480,"longitude_deg":75.6639104,"latitude_deg":11.953348,"altitude":67,"angle":137,"satellites":8,"speed":1,"hex_longitude":"2d196580","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-22 05:43:51] 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-22 05:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787357600000,"timestamp_ms":1787357600000,"timestamp_seconds":1787357600,"priority":1,"record_length":96,"hex_timestamp":"000001a026d09900"} 
[2026-08-22 05: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-22 05:43:51] 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-22 05: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-08-22 05:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 05:43:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6907079240273810151,"note":"Value kept but may cause issues"} 
[2026-08-22 05:43:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4026007620,"note":"Value kept but may cause issues"} 
[2026-08-22 05:43:51] local.WARNING: Large IO value detected {"io_id":101,"raw_value":4613691458782774272,"note":"Value kept but may cause issues"} 
[2026-08-22 05:43:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-1717560307888422912,"note":"Value kept but may cause issues"} 
[2026-08-22 05:43:51] local.WARNING: Large IO value detected {"io_id":19,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-08-22 05:43:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 05:43:51] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2954361355555047936,"note":"Value kept but may cause issues"} 
[2026-08-22 05:43:51] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,102,83,24,241,157,16,232,27,10,66,1,240,255,37,45,31,4,113,205,91,101,248,42,239,8,2,50,160,19,206,17],"length":533,"final_offset":663,"validated_count":32,"validation_warnings":[]} 
[2026-08-22 05:43:51] 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-22 05: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-22 05:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:43:51] 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-22 05:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13852,"102":206,"83":41984,"24":1,"16":14329015921803264},"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]} 
[2026-08-22 05:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-22 05:43:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 05:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:43:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13852,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null}} 
[2026-08-22 05:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":162074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:43:51] local.INFO: GPS data processed {"connection_id":162074,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:43:51] local.INFO: Acknowledgment sent {"connection_id":162074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:43:55] local.INFO: TCP Data received {"connection_id":162075,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:43:55] local.INFO: Processing buffer {"connection_id":162075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:43:55] local.INFO: IMEI packet received {"connection_id":162075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":162075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:43:56] local.INFO: TCP Data received {"connection_id":162075,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:43:56] local.INFO: Processing buffer {"connection_id":162075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026cc4f58012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 05:43:56] local.INFO: Packet analysis {"connection_id":162075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:43:56] local.INFO: Extracted packet for processing {"connection_id":162075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026cc"} 
[2026-08-22 05:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563396608001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:43: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-22 05:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357319000,"timestamp_ms":1787357319000,"timestamp_seconds":1787357319,"priority":1,"record_length":96,"hex_timestamp":"000001a026cc4f58"} 
[2026-08-22 05: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-22 05:43:56] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:43: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-22 05: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-22 05: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-22 05:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563396608001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563396608001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:43:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563396608001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":162075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:43:56] local.INFO: GPS data processed {"connection_id":162075,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:43:56] local.INFO: Acknowledgment sent {"connection_id":162075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:44:22] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d0b840012d1966c0071fee380044009808..."} 
[2026-08-22 05:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d0b840012d1966c0071fee380044009808..."} 
[2026-08-22 05:44:22] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d0b840012d1966c0071fee380044009808..."} 
[2026-08-22 05:44:22] local.INFO: Packet analysis {"connection_id":162074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:44:22] local.INFO: Extracted packet for processing {"connection_id":162074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:44:22] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533112,"longitude_deg":75.6639424,"latitude_deg":11.9533112,"altitude":68,"angle":152,"satellites":8,"speed":1,"hex_longitude":"2d1966c0","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-22 05:44: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-22 05:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563545600001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329041691607040,"note":"Value kept but may cause issues"} 
[2026-08-22 05:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684900864,"note":"Value kept but may cause issues"} 
[2026-08-22 05:44: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-22 05:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787357608000,"timestamp_ms":1787357608000,"timestamp_seconds":1787357608,"priority":1,"record_length":96,"hex_timestamp":"000001a026d0b840"} 
[2026-08-22 05:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 05:44: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":28,"data_length":795,"current_offset":136} 
[2026-08-22 05:44:22] 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-22 05:44: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-22 05:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:44:22] 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-22 05:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563545600001,"66":14048,"102":206,"83":41984,"24":1,"16":14329041691607040,"45":1830009591684900864},"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-22 05:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563545600001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:44:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 05:44:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329041691607040,"km_value":14329041691607.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684900864,"description":"Unknown IO ID 45"} 
[2026-08-22 05:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563545600001,"power":14048,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1830009591684900864}} 
[2026-08-22 05:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":162074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:44:22] local.INFO: GPS data processed {"connection_id":162074,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:44:22] local.INFO: Acknowledgment sent {"connection_id":162074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:44:27] local.INFO: TCP Data received {"connection_id":162075,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:44:27] local.INFO: Processing buffer {"connection_id":162075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:44:27] local.INFO: Packet analysis {"connection_id":162075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:44:27] local.INFO: Extracted packet for processing {"connection_id":162075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563473664001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:44: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-22 05:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787357620000,"timestamp_ms":1787357620000,"timestamp_seconds":1787357620,"priority":1,"record_length":96,"hex_timestamp":"000001a026d0e720"} 
[2026-08-22 05: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-22 05:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:44:27] 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-22 05: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-22 05: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-22 05:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563473664001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563473664001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:44:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563473664001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":162075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:44:27] local.INFO: GPS data processed {"connection_id":162075,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:44:27] local.INFO: Acknowledgment sent {"connection_id":162075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:44:50] local.INFO: TCP Data received {"connection_id":160666,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:44:50] local.INFO: Processing buffer {"connection_id":160666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:44:50] local.INFO: IMEI packet received {"connection_id":160666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":160666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:44:52] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d1ecd8012d19cc00071ff7980030001309..."} 
[2026-08-22 05:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d1ecd8012d19cc00071ff7980030001309..."} 
[2026-08-22 05:44:52] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d1ecd8012d19cc00071ff7980030001309..."} 
[2026-08-22 05:44:52] local.INFO: Packet analysis {"connection_id":162074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d1"} 
[2026-08-22 05:44:52] local.INFO: Extracted packet for processing {"connection_id":162074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d1"} 
[2026-08-22 05:44:52] local.INFO: GPS Element Parsed {"raw_longitude":756665344,"raw_latitude":119535512,"longitude_deg":75.6665344,"latitude_deg":11.9535512,"altitude":48,"angle":19,"satellites":9,"speed":17,"hex_longitude":"2d19cc00","hex_latitude":"071ff798","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563567616001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14330373131468800,"note":"Value kept but may cause issues"} 
[2026-08-22 05:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039309832192,"note":"Value kept but may cause issues"} 
[2026-08-22 05:44: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-22 05:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787357687000,"timestamp_ms":1787357687000,"timestamp_seconds":1787357687,"priority":1,"record_length":96,"hex_timestamp":"000001a026d1ecd8"} 
[2026-08-22 05: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-22 05:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 05: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 05:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 05: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-22 05: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-22 05:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:44:52] 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-22 05:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563567616001,"66":13972,"101":206,"83":41984,"24":17,"16":14330373131468800,"45":1858720039309832192},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 05:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563567616001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:44:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 05:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14330373131468800,"km_value":14330373131468.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039309832192,"description":"Unknown IO ID 45"} 
[2026-08-22 05:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563567616001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1858720039309832192}} 
[2026-08-22 05:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":162074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:44:53] local.INFO: GPS data processed {"connection_id":162074,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:44:53] local.INFO: Acknowledgment sent {"connection_id":162074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:44:55] local.INFO: TCP Data received {"connection_id":160666,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:44:55] local.INFO: Processing buffer {"connection_id":160666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:44:55] local.INFO: IMEI packet received {"connection_id":160666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":160666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:44:56] local.INFO: TCP Data received {"connection_id":160666,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:44:56] local.INFO: Processing buffer {"connection_id":160666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:44:56] local.INFO: Packet analysis {"connection_id":160666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:44:56] local.INFO: Extracted packet for processing {"connection_id":160666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563473664001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05: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-22 05:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357620000,"timestamp_ms":1787357620000,"timestamp_seconds":1787357620,"priority":1,"record_length":96,"hex_timestamp":"000001a026d0e720"} 
[2026-08-22 05: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-22 05:44:56] 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-22 05:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:44: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-22 05: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-22 05: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-22 05:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563473664001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563473664001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:44:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563473664001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":160666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:44:56] local.INFO: GPS data processed {"connection_id":160666,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:44:56] local.INFO: Acknowledgment sent {"connection_id":160666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:45:00] local.INFO: TCP Data received {"connection_id":160666,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:45:00] local.INFO: Processing buffer {"connection_id":160666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:45:00] local.INFO: Packet analysis {"connection_id":160666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:45:00] local.INFO: Extracted packet for processing {"connection_id":160666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563473664001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:45: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-22 05:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787357620000,"timestamp_ms":1787357620000,"timestamp_seconds":1787357620,"priority":1,"record_length":96,"hex_timestamp":"000001a026d0e720"} 
[2026-08-22 05: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-22 05:45: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-22 05:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:45:00] 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-22 05: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-22 05: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-22 05:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563473664001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563473664001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:45:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:45:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563473664001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":160666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:45:00] local.INFO: GPS data processed {"connection_id":160666,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:45:00] local.INFO: Acknowledgment sent {"connection_id":160666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:45:23] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d1f4a8012d19cd80071ffa70002f00200a..."} 
[2026-08-22 05:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d1f4a8012d19cd80071ffa70002f00200a..."} 
[2026-08-22 05:45:23] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d1f4a8012d19cd80071ffa70002f00200a..."} 
[2026-08-22 05:45:23] local.INFO: Packet analysis {"connection_id":162074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d1"} 
[2026-08-22 05:45:23] local.INFO: Extracted packet for processing {"connection_id":162074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d1"} 
[2026-08-22 05:45:23] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119536240,"longitude_deg":75.6665728,"latitude_deg":11.953624,"altitude":47,"angle":32,"satellites":10,"speed":17,"hex_longitude":"2d19cd80","hex_latitude":"071ffa70","is_valid_coordinates":true} 
[2026-08-22 05:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563567872001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14330411786174464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858860776798263296,"note":"Value kept but may cause issues"} 
[2026-08-22 05:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787357689000,"timestamp_ms":1787357689000,"timestamp_seconds":1787357689,"priority":1,"record_length":96,"hex_timestamp":"000001a026d1f4a8"} 
[2026-08-22 05:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 05:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-22 05:45:23] 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-22 05:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:45:23] 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-22 05:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563567872001,"66":13972,"101":206,"83":41984,"24":17,"16":14330411786174464,"45":1858860776798263296},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 05:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563567872001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:45:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 05:45:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14330411786174464,"km_value":14330411786174.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858860776798263296,"description":"Unknown IO ID 45"} 
[2026-08-22 05:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563567872001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1858860776798263296}} 
[2026-08-22 05:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":162074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:45:23] local.INFO: GPS data processed {"connection_id":162074,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:45:23] local.INFO: Acknowledgment sent {"connection_id":162074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:45:31] local.INFO: TCP Data received {"connection_id":160666,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:45:31] local.INFO: Processing buffer {"connection_id":160666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:45:31] local.INFO: Packet analysis {"connection_id":160666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:45:31] local.INFO: Extracted packet for processing {"connection_id":160666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:45:31] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563473664001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:45:31] 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-22 05:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787357620000,"timestamp_ms":1787357620000,"timestamp_seconds":1787357620,"priority":1,"record_length":96,"hex_timestamp":"000001a026d0e720"} 
[2026-08-22 05: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-22 05:45: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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:45:31] 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-22 05: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-22 05: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-22 05:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563473664001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563473664001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:45:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:45:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563473664001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":160666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:45:31] local.INFO: GPS data processed {"connection_id":160666,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:45:31] local.INFO: Acknowledgment sent {"connection_id":160666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:45:50] local.INFO: TCP Data received {"connection_id":160667,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:45:50] local.INFO: Processing buffer {"connection_id":160667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:45:50] local.INFO: IMEI packet received {"connection_id":160667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":160667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:45:54] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d2df08012d19ad00072095d8000f00060a..."} 
[2026-08-22 05:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d2df08012d19ad00072095d8000f00060a..."} 
[2026-08-22 05:45:54] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d2df08012d19ad00072095d8000f00060a..."} 
[2026-08-22 05:45:54] local.INFO: Packet analysis {"connection_id":162074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d2"} 
[2026-08-22 05:45:54] local.INFO: Extracted packet for processing {"connection_id":162074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d2"} 
[2026-08-22 05:45:54] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119576024,"longitude_deg":75.6657408,"latitude_deg":11.9576024,"altitude":15,"angle":6,"satellites":10,"speed":38,"hex_longitude":"2d19ad00","hex_latitude":"072095d8","is_valid_coordinates":true} 
[2026-08-22 05:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563583232001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14332615104397312,"note":"Value kept but may cause issues"} 
[2026-08-22 05:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849994315041779712,"note":"Value kept but may cause issues"} 
[2026-08-22 05:45: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-22 05:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787357749000,"timestamp_ms":1787357749000,"timestamp_seconds":1787357749,"priority":1,"record_length":96,"hex_timestamp":"000001a026d2df08"} 
[2026-08-22 05:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 05:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-22 05:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 05:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:45:54] 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-22 05:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563583232001,"66":12819,"101":206,"83":41984,"24":38,"16":14332615104397312,"45":1849994315041779712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 05:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563583232001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:45:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 05:45:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14332615104397312,"km_value":14332615104397.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849994315041779712,"description":"Unknown IO ID 45"} 
[2026-08-22 05:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563583232001,"power":12819,"unknown_101":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1849994315041779712}} 
[2026-08-22 05:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":162074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:45:54] local.INFO: GPS data processed {"connection_id":162074,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:45:54] local.INFO: Acknowledgment sent {"connection_id":162074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:45:55] local.INFO: TCP Data received {"connection_id":160667,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:45:55] local.INFO: Processing buffer {"connection_id":160667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:45:55] local.INFO: IMEI packet received {"connection_id":160667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":160667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:45:56] local.INFO: TCP Data received {"connection_id":160667,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:45:56] local.INFO: Processing buffer {"connection_id":160667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:45:56] local.INFO: Packet analysis {"connection_id":160667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:45:56] local.INFO: Extracted packet for processing {"connection_id":160667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563473664001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:45: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-22 05:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357620000,"timestamp_ms":1787357620000,"timestamp_seconds":1787357620,"priority":1,"record_length":96,"hex_timestamp":"000001a026d0e720"} 
[2026-08-22 05: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-22 05:45:56] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:45: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-22 05: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-22 05: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-22 05:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563473664001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563473664001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:45:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563473664001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":160667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:45:56] local.INFO: GPS data processed {"connection_id":160667,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:45:56] local.INFO: Acknowledgment sent {"connection_id":160667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:46:25] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d2e2f0012d19ae80072098b0000f00130a..."} 
[2026-08-22 05:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d2e2f0012d19ae80072098b0000f00130a..."} 
[2026-08-22 05:46:25] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d2e2f0012d19ae80072098b0000f00130a..."} 
[2026-08-22 05:46:25] local.INFO: Packet analysis {"connection_id":162074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d2"} 
[2026-08-22 05:46:25] local.INFO: Extracted packet for processing {"connection_id":162074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d2"} 
[2026-08-22 05:46:25] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119576752,"longitude_deg":75.6657792,"latitude_deg":11.9576752,"altitude":15,"angle":19,"satellites":10,"speed":36,"hex_longitude":"2d19ae80","hex_latitude":"072098b0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563583744001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14332658054070272,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850135052530604032,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46: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-22 05:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787357750000,"timestamp_ms":1787357750000,"timestamp_seconds":1787357750,"priority":1,"record_length":96,"hex_timestamp":"000001a026d2e2f0"} 
[2026-08-22 05: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-22 05:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 05: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11541891552120320,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263887090155776,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503818297540608,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3758096384,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":38,"raw_value":-3299150604787918016,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675341143365648408,"corrected_to":0} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":109,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2147950637,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72181838867595520,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":53,"raw_value":7926561261146394195,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3929604096,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2309801251744856330,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755545470075121,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195156224,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84752407116324876,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:25] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,235,160,215,45,128,142,13,10,66,180,113,8,168,1,240,121,227,234,38,32,4,205,43,109,194,239,53,2,50,7,34,164,250,69,64],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":8675341143365648408,"validated":0}]} 
[2026-08-22 05:46:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080870550590849024,"timestamp_seconds":1080870550590849.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 05: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-22 05:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:46:25] 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-22 05:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563583744001,"66":12819,"101":206,"83":41984,"24":36,"16":14332658054070272,"45":1850135052530604032},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 05:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563583744001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:46:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 05:46:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14332658054070272,"km_value":14332658054070.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850135052530604032,"description":"Unknown IO ID 45"} 
[2026-08-22 05:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563583744001,"power":12819,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1850135052530604032}} 
[2026-08-22 05:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":162074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:46:25] local.INFO: GPS data processed {"connection_id":162074,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:46:25] local.INFO: Acknowledgment sent {"connection_id":162074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:46:27] local.INFO: TCP Data received {"connection_id":160667,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:46:27] local.INFO: Processing buffer {"connection_id":160667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:46:27] local.INFO: Packet analysis {"connection_id":160667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:46:27] local.INFO: Extracted packet for processing {"connection_id":160667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563473664001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46: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-22 05:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787357620000,"timestamp_ms":1787357620000,"timestamp_seconds":1787357620,"priority":1,"record_length":96,"hex_timestamp":"000001a026d0e720"} 
[2026-08-22 05: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-22 05:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:46:27] 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-22 05: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-22 05: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-22 05:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563473664001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563473664001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:46:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563473664001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":160667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:46:27] local.INFO: GPS data processed {"connection_id":160667,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:46:27] local.INFO: Acknowledgment sent {"connection_id":160667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:46:51] local.INFO: TCP Data received {"connection_id":159754,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:46:51] local.INFO: Processing buffer {"connection_id":159754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:46:51] local.INFO: IMEI packet received {"connection_id":159754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":159754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:46:55] local.INFO: TCP Data received {"connection_id":159754,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:46:55] local.INFO: Processing buffer {"connection_id":159754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:46:55] local.INFO: IMEI packet received {"connection_id":159754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":159754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:46:56] local.INFO: TCP Data received {"connection_id":159754,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:46:56] local.INFO: Processing buffer {"connection_id":159754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:46:56] local.INFO: Packet analysis {"connection_id":159754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:46:56] local.INFO: Extracted packet for processing {"connection_id":159754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563473664001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05: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-22 05:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357620000,"timestamp_ms":1787357620000,"timestamp_seconds":1787357620,"priority":1,"record_length":96,"hex_timestamp":"000001a026d0e720"} 
[2026-08-22 05: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-22 05:46:56] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:46: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-22 05: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-22 05: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-22 05:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563473664001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563473664001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:46:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563473664001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":159754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:46:56] local.INFO: GPS data processed {"connection_id":159754,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:46:56] local.INFO: Acknowledgment sent {"connection_id":159754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:46:56] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d392b8012d193b800720b4680003012a0c..."} 
[2026-08-22 05:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d392b8012d193b800720b4680003012a0c..."} 
[2026-08-22 05:46:56] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d392b8012d193b800720b4680003012a0c..."} 
[2026-08-22 05:46:56] local.INFO: Packet analysis {"connection_id":162074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d3"} 
[2026-08-22 05:46:56] local.INFO: Extracted packet for processing {"connection_id":162074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d3"} 
[2026-08-22 05:46:56] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119583848,"longitude_deg":75.6628352,"latitude_deg":11.9583848,"altitude":3,"angle":298,"satellites":12,"speed":41,"hex_longitude":"2d193b80","hex_latitude":"0720b468","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563594752001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14334509184974848,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821213498675298304,"note":"Value kept but may cause issues"} 
[2026-08-22 05:46:56] 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-22 05:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357795000,"timestamp_ms":1787357795000,"timestamp_seconds":1787357795,"priority":1,"record_length":96,"hex_timestamp":"000001a026d392b8"} 
[2026-08-22 05: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-22 05:46:56] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 05: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 05:46:56] 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-22 05: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-22 05: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-22 05:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:46:56] 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-22 05:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563594752001,"66":13656,"103":206,"83":41984,"24":41,"16":14334509184974848,"45":1821213498675298304},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 05:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563594752001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:46:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 05:46:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14334509184974848,"km_value":14334509184974.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821213498675298304,"description":"Unknown IO ID 45"} 
[2026-08-22 05:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563594752001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1821213498675298304}} 
[2026-08-22 05:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":162074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:46:56] local.INFO: GPS data processed {"connection_id":162074,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:46:56] local.INFO: Acknowledgment sent {"connection_id":162074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:47:27] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d3b5e0012d1919000720c4e8000301250d..."} 
[2026-08-22 05:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d3b5e0012d1919000720c4e8000301250d..."} 
[2026-08-22 05:47:27] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d3b5e0012d1919000720c4e8000301250d..."} 
[2026-08-22 05:47:27] local.INFO: Packet analysis {"connection_id":162074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d3"} 
[2026-08-22 05:47:27] local.INFO: Extracted packet for processing {"connection_id":162074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d3"} 
[2026-08-22 05:47:27] local.INFO: GPS Element Parsed {"raw_longitude":756619520,"raw_latitude":119588072,"longitude_deg":75.661952,"latitude_deg":11.9588072,"altitude":3,"angle":293,"satellites":13,"speed":44,"hex_longitude":"2d191900","hex_latitude":"0720c4e8","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563595520001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14334981631377408,"note":"Value kept but may cause issues"} 
[2026-08-22 05:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642675947520,"note":"Value kept but may cause issues"} 
[2026-08-22 05:47: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-22 05:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787357804000,"timestamp_ms":1787357804000,"timestamp_seconds":1787357804,"priority":1,"record_length":96,"hex_timestamp":"000001a026d3b5e0"} 
[2026-08-22 05: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-22 05:47:27] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 05: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-22 05:47: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-22 05: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-22 05: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-22 05:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:47:27] 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-22 05:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563595520001,"66":13580,"103":206,"83":41984,"24":44,"16":14334981631377408,"45":1818187642675947520},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 05:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563595520001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:47:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 05:47:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14334981631377408,"km_value":14334981631377.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642675947520,"description":"Unknown IO ID 45"} 
[2026-08-22 05:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563595520001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1818187642675947520}} 
[2026-08-22 05:47:27] local.INFO: TCP Data received {"connection_id":159754,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:47:27] local.INFO: Processing buffer {"connection_id":159754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:47:27] local.INFO: Packet analysis {"connection_id":159754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:47:27] local.INFO: Extracted packet for processing {"connection_id":159754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563473664001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:47: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-22 05:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787357620000,"timestamp_ms":1787357620000,"timestamp_seconds":1787357620,"priority":1,"record_length":96,"hex_timestamp":"000001a026d0e720"} 
[2026-08-22 05: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-22 05:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:47:27] 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-22 05: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-22 05: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-22 05:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563473664001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563473664001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:47:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:47:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563473664001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":162074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:47:27] local.INFO: GPS data processed {"connection_id":162074,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:47:27] local.INFO: Acknowledgment sent {"connection_id":162074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":159754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:47:27] local.INFO: GPS data processed {"connection_id":159754,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:47:27] local.INFO: Acknowledgment sent {"connection_id":159754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:47:50] local.INFO: TCP Data received {"connection_id":159482,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:47:50] local.INFO: Processing buffer {"connection_id":159482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:47:50] local.INFO: IMEI packet received {"connection_id":159482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":159482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:47:54] local.INFO: TCP Data received {"connection_id":162076,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:47:54] local.INFO: Processing buffer {"connection_id":162076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:47:54] local.INFO: IMEI packet received {"connection_id":162076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 05:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":162076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:47:54] local.INFO: TCP Data received {"connection_id":162076,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:47:54] local.INFO: Processing buffer {"connection_id":162076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:47:54] local.INFO: IMEI packet received {"connection_id":162076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":162076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:47:55] local.INFO: TCP Data received {"connection_id":159482,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:47:55] local.INFO: Processing buffer {"connection_id":159482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:47:55] local.INFO: IMEI packet received {"connection_id":159482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":159482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:47:56] local.INFO: TCP Data received {"connection_id":159482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:47:56] local.INFO: Processing buffer {"connection_id":159482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:47:56] local.INFO: Packet analysis {"connection_id":159482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:47:56] local.INFO: Extracted packet for processing {"connection_id":159482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563473664001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:47: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-22 05:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357620000,"timestamp_ms":1787357620000,"timestamp_seconds":1787357620,"priority":1,"record_length":96,"hex_timestamp":"000001a026d0e720"} 
[2026-08-22 05: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-22 05:47:56] 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-22 05:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:47: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-22 05: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-22 05: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-22 05:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563473664001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563473664001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:47:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563473664001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":159482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:47:56] local.INFO: GPS data processed {"connection_id":159482,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:47:56] local.INFO: Acknowledgment sent {"connection_id":159482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:47:58] local.INFO: TCP Data received {"connection_id":162076,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:47:58] local.INFO: Processing buffer {"connection_id":162076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:47:58] local.INFO: IMEI packet received {"connection_id":162076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":162076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:47:59] local.INFO: TCP Data received {"connection_id":162076,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d47160012d18bb0007216048001501430d..."} 
[2026-08-22 05:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d47160012d18bb0007216048001501430d..."} 
[2026-08-22 05:47:59] local.INFO: Processing buffer {"connection_id":162076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d47160012d18bb0007216048001501430d..."} 
[2026-08-22 05:47:59] local.INFO: Packet analysis {"connection_id":162076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d4"} 
[2026-08-22 05:47:59] local.INFO: Extracted packet for processing {"connection_id":162076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d4"} 
[2026-08-22 05:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756595456,"raw_latitude":119627848,"longitude_deg":75.6595456,"latitude_deg":11.9627848,"altitude":21,"angle":323,"satellites":13,"speed":43,"hex_longitude":"2d18bb00","hex_latitude":"07216048","is_valid_coordinates":true} 
[2026-08-22 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-22 05:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563609600001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14337361043259392,"note":"Value kept but may cause issues"} 
[2026-08-22 05:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783284745574647808,"note":"Value kept but may cause issues"} 
[2026-08-22 05:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787357852000,"timestamp_ms":1787357852000,"timestamp_seconds":1787357852,"priority":1,"record_length":96,"hex_timestamp":"000001a026d47160"} 
[2026-08-22 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-22 05:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-22 05:47:59] 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-22 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-22 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-22 05:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:47:59] 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-22 05:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563609600001,"66":13656,"103":206,"83":41984,"24":43,"16":14337361043259392,"45":1783284745574647808},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 05:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563609600001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:47:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 05:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14337361043259392,"km_value":14337361043259.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783284745574647808,"description":"Unknown IO ID 45"} 
[2026-08-22 05:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563609600001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1783284745574647808}} 
[2026-08-22 05:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":162076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:47:59] local.INFO: GPS data processed {"connection_id":162076,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:47:59] local.INFO: Acknowledgment sent {"connection_id":162076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:48:27] local.INFO: TCP Data received {"connection_id":159482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:48:27] local.INFO: Processing buffer {"connection_id":159482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:48:27] local.INFO: Packet analysis {"connection_id":159482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:48:27] local.INFO: Extracted packet for processing {"connection_id":159482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563473664001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:48: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-22 05:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787357620000,"timestamp_ms":1787357620000,"timestamp_seconds":1787357620,"priority":1,"record_length":96,"hex_timestamp":"000001a026d0e720"} 
[2026-08-22 05:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:48:27] 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-22 05:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563473664001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563473664001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:48:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563473664001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":159482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:48:27] local.INFO: GPS data processed {"connection_id":159482,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:48:27] local.INFO: Acknowledgment sent {"connection_id":159482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:48:30] local.INFO: TCP Data received {"connection_id":162076,"ip":"42.106.6.46","data_length":93,"data_hex":"00000000000000518e01000001a026d48cb8012d18a94007217538001a01360d..."} 
[2026-08-22 05:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162076,"packet_length":93,"packet_hex":"00000000000000518e01000001a026d48cb8012d18a94007217538001a01360d..."} 
[2026-08-22 05:48:30] local.INFO: Processing buffer {"connection_id":162076,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a026d48cb8012d18a94007217538001a01360d..."} 
[2026-08-22 05:48:30] local.INFO: Packet analysis {"connection_id":162076,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a026d4"} 
[2026-08-22 05:48:30] local.INFO: Extracted packet for processing {"connection_id":162076,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a026d4"} 
[2026-08-22 05:48:30] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119633208,"longitude_deg":75.6590912,"latitude_deg":11.9633208,"altitude":26,"angle":310,"satellites":13,"speed":41,"hex_longitude":"2d18a940","hex_latitude":"07217538","is_valid_coordinates":true} 
[2026-08-22 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":93,"current_offset":40} 
[2026-08-22 05:48: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-22 05:48: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-22 05:48:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:48:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 05:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162076,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-22 05:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162076,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-22 05:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162076,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-22 05:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 05:48:30] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 05:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":162076,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 05:48:30] local.ERROR: GPS data processing failed {"connection_id":162076,"error":"No valid data to process"} 
[2026-08-22 05:48:30] local.INFO: Acknowledgment sent {"connection_id":162076,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 05:48:50] local.INFO: TCP Data received {"connection_id":159483,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:48:50] local.INFO: Processing buffer {"connection_id":159483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:48:50] local.INFO: IMEI packet received {"connection_id":159483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":159483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:48:55] local.INFO: TCP Data received {"connection_id":159483,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:48:55] local.INFO: Processing buffer {"connection_id":159483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:48:55] local.INFO: IMEI packet received {"connection_id":159483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":159483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:48:56] local.INFO: TCP Data received {"connection_id":159483,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:48:56] local.INFO: Processing buffer {"connection_id":159483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d0e720012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 05:48:56] local.INFO: Packet analysis {"connection_id":159483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:48:56] local.INFO: Extracted packet for processing {"connection_id":159483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d0"} 
[2026-08-22 05:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563473664001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05: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-22 05:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357620000,"timestamp_ms":1787357620000,"timestamp_seconds":1787357620,"priority":1,"record_length":96,"hex_timestamp":"000001a026d0e720"} 
[2026-08-22 05: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-22 05:48:56] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:48: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-22 05: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-22 05: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-22 05:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563473664001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563473664001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:48:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563473664001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":159483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:48:56] local.INFO: GPS data processed {"connection_id":159483,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:48:56] local.INFO: Acknowledgment sent {"connection_id":159483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:49:01] local.INFO: TCP Data received {"connection_id":162076,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d5a5f8012d1824c007219f30003200890e..."} 
[2026-08-22 05:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d5a5f8012d1824c007219f30003200890e..."} 
[2026-08-22 05:49:01] local.INFO: Processing buffer {"connection_id":162076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d5a5f8012d1824c007219f30003200890e..."} 
[2026-08-22 05:49:01] local.INFO: Packet analysis {"connection_id":162076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:49:01] local.INFO: Extracted packet for processing {"connection_id":162076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:49:01] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119643952,"longitude_deg":75.6556992,"latitude_deg":11.9643952,"altitude":50,"angle":137,"satellites":14,"speed":3,"hex_longitude":"2d1824c0","hex_latitude":"07219f30","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563629824001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14339740455141376,"note":"Value kept but may cause issues"} 
[2026-08-22 05:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755444955136,"note":"Value kept but may cause issues"} 
[2026-08-22 05:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787357931000,"timestamp_ms":1787357931000,"timestamp_seconds":1787357931,"priority":1,"record_length":96,"hex_timestamp":"000001a026d5a5f8"} 
[2026-08-22 05: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-22 05:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 05: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 05:49:01] 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-22 05: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-22 05: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-22 05:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:49:01] 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-22 05:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563629824001,"66":13276,"105":206,"83":41984,"24":3,"16":14339740455141376,"45":1739585755444955136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563629824001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:49:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14339740455141376,"km_value":14339740455141.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755444955136,"description":"Unknown IO ID 45"} 
[2026-08-22 05:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563629824001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739585755444955136}} 
[2026-08-22 05:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":162076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:49:01] local.INFO: GPS data processed {"connection_id":162076,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:49:01] local.INFO: Acknowledgment sent {"connection_id":162076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:49:27] local.INFO: TCP Data received {"connection_id":159483,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:49:27] local.INFO: Processing buffer {"connection_id":159483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:49:27] local.INFO: Packet analysis {"connection_id":159483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:49:27] local.INFO: Extracted packet for processing {"connection_id":159483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563550720001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:49: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-22 05:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787357921000,"timestamp_ms":1787357921000,"timestamp_seconds":1787357921,"priority":1,"record_length":96,"hex_timestamp":"000001a026d57ee8"} 
[2026-08-22 05: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-22 05:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:49:27] 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-22 05: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-22 05: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-22 05:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563550720001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563550720001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:49:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563550720001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":159483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:49:27] local.INFO: GPS data processed {"connection_id":159483,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:49:27] local.INFO: Acknowledgment sent {"connection_id":159483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:49:32] local.INFO: TCP Data received {"connection_id":162076,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d5a9e0012d18250007219ef00033005c0e..."} 
[2026-08-22 05:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d5a9e0012d18250007219ef00033005c0e..."} 
[2026-08-22 05:49:32] local.INFO: Processing buffer {"connection_id":162076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d5a9e0012d18250007219ef00033005c0e..."} 
[2026-08-22 05:49:32] local.INFO: Packet analysis {"connection_id":162076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:49:32] local.INFO: Extracted packet for processing {"connection_id":162076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119643888,"longitude_deg":75.6557056,"latitude_deg":11.9643888,"altitude":51,"angle":92,"satellites":14,"speed":0,"hex_longitude":"2d182500","hex_latitude":"07219ef0","is_valid_coordinates":true} 
[2026-08-22 05:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563630336001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14339744750108672,"note":"Value kept but may cause issues"} 
[2026-08-22 05:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492933238784,"note":"Value kept but may cause issues"} 
[2026-08-22 05:49:32] local.INFO: IO Element Parsed {"io_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-22 05:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787357932000,"timestamp_ms":1787357932000,"timestamp_seconds":1787357932,"priority":1,"record_length":96,"hex_timestamp":"000001a026d5a9e0"} 
[2026-08-22 05:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 05:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 05:49:32] 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-22 05:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:49:32] 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-22 05:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563630336001,"66":13276,"105":206,"83":41984,"24":0,"16":14339744750108672,"45":1739726492933238784},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563630336001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:49:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14339744750108672,"km_value":14339744750108.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492933238784,"description":"Unknown IO ID 45"} 
[2026-08-22 05:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563630336001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492933238784}} 
[2026-08-22 05:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":162076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:49:32] local.INFO: GPS data processed {"connection_id":162076,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:49:32] local.INFO: Acknowledgment sent {"connection_id":162076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:49:50] local.INFO: TCP Data received {"connection_id":159755,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:49:50] local.INFO: Processing buffer {"connection_id":159755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:49:50] local.INFO: IMEI packet received {"connection_id":159755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":159755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:49:54] local.INFO: TCP Data received {"connection_id":159756,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:49:54] local.INFO: Processing buffer {"connection_id":159756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:49:54] local.INFO: IMEI packet received {"connection_id":159756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 05:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":159756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:49:55] local.INFO: TCP Data received {"connection_id":159755,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:49:55] local.INFO: Processing buffer {"connection_id":159755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:49:55] local.INFO: IMEI packet received {"connection_id":159755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":159755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:49:56] local.INFO: TCP Data received {"connection_id":159755,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:49:56] local.INFO: Processing buffer {"connection_id":159755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:49:56] local.INFO: Packet analysis {"connection_id":159755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:49:56] local.INFO: Extracted packet for processing {"connection_id":159755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563550720001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:49: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-22 05:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357921000,"timestamp_ms":1787357921000,"timestamp_seconds":1787357921,"priority":1,"record_length":96,"hex_timestamp":"000001a026d57ee8"} 
[2026-08-22 05: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-22 05:49:56] 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-22 05: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:49: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-22 05: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-22 05: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-22 05:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563550720001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563550720001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:49:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563550720001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":159755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:49:56] local.INFO: GPS data processed {"connection_id":159755,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:49:56] local.INFO: Acknowledgment sent {"connection_id":159755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:49:59] local.INFO: TCP Data received {"connection_id":159756,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:49:59] local.INFO: Processing buffer {"connection_id":159756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:49:59] local.INFO: IMEI packet received {"connection_id":159756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":159756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:50:00] local.INFO: TCP Data received {"connection_id":159756,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d5b1b0012d18250007219ef0003200090e..."} 
[2026-08-22 05:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d5b1b0012d18250007219ef0003200090e..."} 
[2026-08-22 05:50:00] local.INFO: Processing buffer {"connection_id":159756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d5b1b0012d18250007219ef0003200090e..."} 
[2026-08-22 05:50:00] local.INFO: Packet analysis {"connection_id":159756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:50:00] local.INFO: Extracted packet for processing {"connection_id":159756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:50:00] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119643888,"longitude_deg":75.6557056,"latitude_deg":11.9643888,"altitude":50,"angle":9,"satellites":14,"speed":0,"hex_longitude":"2d182500","hex_latitude":"07219ef0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563630592001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14339744750108672,"note":"Value kept but may cause issues"} 
[2026-08-22 05:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861677400064,"note":"Value kept but may cause issues"} 
[2026-08-22 05:50:00] local.INFO: IO Element Parsed {"io_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-22 05:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787357934000,"timestamp_ms":1787357934000,"timestamp_seconds":1787357934,"priority":1,"record_length":96,"hex_timestamp":"000001a026d5b1b0"} 
[2026-08-22 05: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-22 05:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 05: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 05:50:00] 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-22 05: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-22 05: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-22 05:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:50:00] 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-22 05:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563630592001,"66":13156,"105":206,"83":41984,"24":0,"16":14339744750108672,"45":1739796861677400064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563630592001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:50:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:50:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14339744750108672,"km_value":14339744750108.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861677400064,"description":"Unknown IO ID 45"} 
[2026-08-22 05:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563630592001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861677400064}} 
[2026-08-22 05:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":159756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:50:00] local.INFO: GPS data processed {"connection_id":159756,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:50:00] local.INFO: Acknowledgment sent {"connection_id":159756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:50:27] local.INFO: TCP Data received {"connection_id":159755,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:50:27] local.INFO: Processing buffer {"connection_id":159755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:50:27] local.INFO: Packet analysis {"connection_id":159755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:50:27] local.INFO: Extracted packet for processing {"connection_id":159755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563550720001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:50: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-22 05:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787357921000,"timestamp_ms":1787357921000,"timestamp_seconds":1787357921,"priority":1,"record_length":96,"hex_timestamp":"000001a026d57ee8"} 
[2026-08-22 05:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:50:27] 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-22 05:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563550720001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563550720001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:50:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563550720001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":159755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:50:27] local.INFO: GPS data processed {"connection_id":159755,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:50:27] local.INFO: Acknowledgment sent {"connection_id":159755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:50:31] local.INFO: TCP Data received {"connection_id":159756,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d70970012d181f800721ad68003b002a15..."} 
[2026-08-22 05:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d70970012d181f800721ad68003b002a15..."} 
[2026-08-22 05:50:31] local.INFO: Processing buffer {"connection_id":159756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d70970012d181f800721ad68003b002a15..."} 
[2026-08-22 05:50:31] local.INFO: Packet analysis {"connection_id":159756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d7"} 
[2026-08-22 05:50:31] local.INFO: Extracted packet for processing {"connection_id":159756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d7"} 
[2026-08-22 05:50:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647592,"longitude_deg":75.6555648,"latitude_deg":11.9647592,"altitude":59,"angle":42,"satellites":21,"speed":12,"hex_longitude":"2d181f80","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563653120001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340015333048320,"note":"Value kept but may cause issues"} 
[2026-08-22 05:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841240576,"note":"Value kept but may cause issues"} 
[2026-08-22 05:50:31] local.INFO: IO Element Parsed {"io_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-22 05:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787358022000,"timestamp_ms":1787358022000,"timestamp_seconds":1787358022,"priority":1,"record_length":96,"hex_timestamp":"000001a026d70970"} 
[2026-08-22 05: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-22 05:50:31] 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-22 05: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-22 05:50:31] 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-22 05: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-22 05: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-22 05:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:50:31] 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-22 05:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563653120001,"66":13580,"105":206,"83":41984,"24":12,"16":14340015333048320,"45":1737826536841240576},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563653120001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:50:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:50:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340015333048320,"km_value":14340015333048.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841240576,"description":"Unknown IO ID 45"} 
[2026-08-22 05:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563653120001,"power":13580,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737826536841240576}} 
[2026-08-22 05:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":159756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:50:31] local.INFO: GPS data processed {"connection_id":159756,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:50:31] local.INFO: Acknowledgment sent {"connection_id":159756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:50:50] local.INFO: TCP Data received {"connection_id":159484,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:50:50] local.INFO: Processing buffer {"connection_id":159484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:50:50] local.INFO: IMEI packet received {"connection_id":159484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":159484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:50:54] local.INFO: TCP Data received {"connection_id":159757,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:50:54] local.INFO: Processing buffer {"connection_id":159757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:50:54] local.INFO: IMEI packet received {"connection_id":159757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 05:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":159757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:50:55] local.INFO: TCP Data received {"connection_id":159484,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:50:55] local.INFO: Processing buffer {"connection_id":159484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:50:55] local.INFO: IMEI packet received {"connection_id":159484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":159484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:50:56] local.INFO: TCP Data received {"connection_id":159484,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:50:56] local.INFO: Processing buffer {"connection_id":159484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:50:56] local.INFO: Packet analysis {"connection_id":159484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:50:56] local.INFO: Extracted packet for processing {"connection_id":159484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563550720001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:50: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-22 05:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357921000,"timestamp_ms":1787357921000,"timestamp_seconds":1787357921,"priority":1,"record_length":96,"hex_timestamp":"000001a026d57ee8"} 
[2026-08-22 05: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-22 05:50:56] 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-22 05: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:50: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-22 05: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-22 05: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-22 05:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563550720001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563550720001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:50:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563550720001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":159484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:50:56] local.INFO: GPS data processed {"connection_id":159484,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:50:56] local.INFO: Acknowledgment sent {"connection_id":159484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:50:59] local.INFO: TCP Data received {"connection_id":159757,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:50:59] local.INFO: Processing buffer {"connection_id":159757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:50:59] local.INFO: IMEI packet received {"connection_id":159757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":159757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:51:00] local.INFO: TCP Data received {"connection_id":159757,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d71528012d1821800721b000003c000715..."} 
[2026-08-22 05:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d71528012d1821800721b000003c000715..."} 
[2026-08-22 05:51:00] local.INFO: Processing buffer {"connection_id":159757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d71528012d1821800721b000003c000715..."} 
[2026-08-22 05:51:00] local.INFO: Packet analysis {"connection_id":159757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d7"} 
[2026-08-22 05:51:00] local.INFO: Extracted packet for processing {"connection_id":159757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d7"} 
[2026-08-22 05:51:00] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648256,"longitude_deg":75.655616,"latitude_deg":11.9648256,"altitude":60,"angle":7,"satellites":21,"speed":7,"hex_longitude":"2d182180","hex_latitude":"0721b000","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563653632001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340058282721280,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306439680,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.INFO: IO Element Parsed {"io_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-22 05:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787358025000,"timestamp_ms":1787358025000,"timestamp_seconds":1787358025,"priority":1,"record_length":96,"hex_timestamp":"000001a026d71528"} 
[2026-08-22 05: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-22 05:51:00] 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-22 05: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751526641,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2720182015924109366,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2167638812828631050,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13462121,"corrected_to":0} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3606183937,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2796552249,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635489448651369,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3221692837,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4061200384,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-8502570239563608493,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755416621056241,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,242,160,1,45,171,58,21,10,66,249,192,168,245,240,247,227,38,33,4,113,205,7,234,29,96,239,49,2,50,54,52,164],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":247,"original":13462121,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 05:51:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251444317921214464,"timestamp_seconds":4251444317921214.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 05: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-22 05:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:51:00] 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-22 05:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563653632001,"66":13298,"105":206,"83":41984,"24":7,"16":14340058282721280,"45":1738248749306439680},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563653632001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:51:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:51:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340058282721280,"km_value":14340058282721.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306439680,"description":"Unknown IO ID 45"} 
[2026-08-22 05:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563653632001,"power":13298,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738248749306439680}} 
[2026-08-22 05:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":159757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:51:00] local.INFO: GPS data processed {"connection_id":159757,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:51:00] local.INFO: Acknowledgment sent {"connection_id":159757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:51:27] local.INFO: TCP Data received {"connection_id":159484,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:51:27] local.INFO: Processing buffer {"connection_id":159484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:51:27] local.INFO: Packet analysis {"connection_id":159484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:51:27] local.INFO: Extracted packet for processing {"connection_id":159484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563550720001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51: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-22 05:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787357921000,"timestamp_ms":1787357921000,"timestamp_seconds":1787357921,"priority":1,"record_length":96,"hex_timestamp":"000001a026d57ee8"} 
[2026-08-22 05: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-22 05:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:51:27] 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-22 05: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-22 05: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-22 05:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563550720001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563550720001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:51:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563550720001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":159484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:51:27] local.INFO: GPS data processed {"connection_id":159484,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:51:27] local.INFO: Acknowledgment sent {"connection_id":159484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:51:31] local.INFO: TCP Data received {"connection_id":159757,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d71910012d1821400721b098003c014515..."} 
[2026-08-22 05:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d71910012d1821400721b098003c014515..."} 
[2026-08-22 05:51:31] local.INFO: Processing buffer {"connection_id":159757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d71910012d1821400721b098003c014515..."} 
[2026-08-22 05:51:31] local.INFO: Packet analysis {"connection_id":159757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d7"} 
[2026-08-22 05:51:31] local.INFO: Extracted packet for processing {"connection_id":159757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d7"} 
[2026-08-22 05:51:31] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648408,"longitude_deg":75.6556096,"latitude_deg":11.9648408,"altitude":60,"angle":325,"satellites":21,"speed":5,"hex_longitude":"2d182140","hex_latitude":"0721b098","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563654400001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340066872655872,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260030976,"note":"Value kept but may cause issues"} 
[2026-08-22 05:51:31] local.INFO: IO Element Parsed {"io_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-22 05:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787358026000,"timestamp_ms":1787358026000,"timestamp_seconds":1787358026,"priority":1,"record_length":96,"hex_timestamp":"000001a026d71910"} 
[2026-08-22 05: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-22 05:51:31] 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-22 05:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-22 05:51:31] 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-22 05: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-22 05: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-22 05:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:51:31] 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-22 05:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563654400001,"66":13298,"105":206,"83":41984,"24":5,"16":14340066872655872,"45":1738811699260030976},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563654400001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:51:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:51:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340066872655872,"km_value":14340066872655.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260030976,"description":"Unknown IO ID 45"} 
[2026-08-22 05:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563654400001,"power":13298,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738811699260030976}} 
[2026-08-22 05:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":159757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:51:31] local.INFO: GPS data processed {"connection_id":159757,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:51:31] local.INFO: Acknowledgment sent {"connection_id":159757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:51:55] local.INFO: TCP Data received {"connection_id":159485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:51:55] local.INFO: Processing buffer {"connection_id":159485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:51:55] local.INFO: IMEI packet received {"connection_id":159485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":159485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:51:59] local.INFO: TCP Data received {"connection_id":159486,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:51:59] local.INFO: Processing buffer {"connection_id":159486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:51:59] local.INFO: IMEI packet received {"connection_id":159486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 05:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":159486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:52:00] local.INFO: TCP Data received {"connection_id":159485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:52:00] local.INFO: Processing buffer {"connection_id":159485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:52:00] local.INFO: IMEI packet received {"connection_id":159485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":159485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:52:01] local.INFO: TCP Data received {"connection_id":159485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:52:01] local.INFO: Processing buffer {"connection_id":159485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:52:01] local.INFO: Packet analysis {"connection_id":159485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:52:01] local.INFO: Extracted packet for processing {"connection_id":159485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563550720001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52: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-22 05:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787357921000,"timestamp_ms":1787357921000,"timestamp_seconds":1787357921,"priority":1,"record_length":96,"hex_timestamp":"000001a026d57ee8"} 
[2026-08-22 05: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-22 05:52:01] 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-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:52: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-22 05: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-22 05: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-22 05:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563550720001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563550720001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:52:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:52:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563550720001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":159485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:52:01] local.INFO: GPS data processed {"connection_id":159485,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:52:01] local.INFO: Acknowledgment sent {"connection_id":159485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:52:04] local.INFO: TCP Data received {"connection_id":159486,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:52:04] local.INFO: Processing buffer {"connection_id":159486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:52:04] local.INFO: IMEI packet received {"connection_id":159486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":159486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:52:05] local.INFO: TCP Data received {"connection_id":159486,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d747f0012d1820000721b050003d00e515..."} 
[2026-08-22 05:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d747f0012d1820000721b050003d00e515..."} 
[2026-08-22 05:52:05] local.INFO: Processing buffer {"connection_id":159486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d747f0012d1820000721b050003d00e515..."} 
[2026-08-22 05:52:05] local.INFO: Packet analysis {"connection_id":159486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d7"} 
[2026-08-22 05:52:05] local.INFO: Extracted packet for processing {"connection_id":159486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d7"} 
[2026-08-22 05:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648336,"longitude_deg":75.6555776,"latitude_deg":11.9648336,"altitude":61,"angle":229,"satellites":21,"speed":4,"hex_longitude":"2d182000","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-08-22 05:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563654656001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340088347492352,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330515892224,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.INFO: IO Element Parsed {"io_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-22 05:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787358038000,"timestamp_ms":1787358038000,"timestamp_seconds":1787358038,"priority":1,"record_length":96,"hex_timestamp":"000001a026d747f0"} 
[2026-08-22 05:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:52:05] 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-22 05:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-22 05:52:05] 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-22 05:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:52:05] 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-22 05:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563654656001,"66":13580,"105":206,"83":41984,"24":4,"16":14340088347492352,"45":1738741330515892224},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563654656001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:52:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340088347492352,"km_value":14340088347492.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330515892224,"description":"Unknown IO ID 45"} 
[2026-08-22 05:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563654656001,"power":13580,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1738741330515892224}} 
[2026-08-22 05:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":159486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:52:05] local.INFO: GPS data processed {"connection_id":159486,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:52:05] local.INFO: Acknowledgment sent {"connection_id":159486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:52:05] local.INFO: TCP Data received {"connection_id":159486,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d74bd8012d181fc00721afd8003d00cf15..."} 
[2026-08-22 05:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d74bd8012d181fc00721afd8003d00cf15..."} 
[2026-08-22 05:52:05] local.INFO: Processing buffer {"connection_id":159486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d74bd8012d181fc00721afd8003d00cf15..."} 
[2026-08-22 05:52:05] local.INFO: Packet analysis {"connection_id":159486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d7"} 
[2026-08-22 05:52:05] local.INFO: Extracted packet for processing {"connection_id":159486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d7"} 
[2026-08-22 05:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648216,"longitude_deg":75.6555712,"latitude_deg":11.9648216,"altitude":61,"angle":207,"satellites":21,"speed":5,"hex_longitude":"2d181fc0","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-08-22 05:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563657728001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340096937426944,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794985472,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.INFO: IO Element Parsed {"io_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-22 05:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787358039000,"timestamp_ms":1787358039000,"timestamp_seconds":1787358039,"priority":1,"record_length":96,"hex_timestamp":"000001a026d74bd8"} 
[2026-08-22 05:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:52:05] 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-22 05:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751526642,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2089678068211777593,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6058748903761641482,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3607207937,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2875195450,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937931881,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":249,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3221692840,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292489429463469,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4061921280,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,242,160,25,45,64,176,60,21,10,66,128,9,1,240,12,227,38,33,4,113,205,249,28,239,52,2,50,7,58,164],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 05:52:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395765114670940160,"timestamp_seconds":4395765114670940.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 05:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:52:05] 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-22 05:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563657728001,"66":13928,"105":206,"83":41984,"24":5,"16":14340096937426944,"45":1738389486794985472},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563657728001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:52:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340096937426944,"km_value":14340096937426.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794985472,"description":"Unknown IO ID 45"} 
[2026-08-22 05:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563657728001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738389486794985472}} 
[2026-08-22 05:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":159486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:52:05] local.INFO: GPS data processed {"connection_id":159486,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:52:05] local.INFO: Acknowledgment sent {"connection_id":159486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:52:05] local.INFO: TCP Data received {"connection_id":159485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:52:05] local.INFO: Processing buffer {"connection_id":159485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:52:05] local.INFO: Packet analysis {"connection_id":159485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:52:05] local.INFO: Extracted packet for processing {"connection_id":159485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563550720001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:05] 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-22 05:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787357921000,"timestamp_ms":1787357921000,"timestamp_seconds":1787357921,"priority":1,"record_length":96,"hex_timestamp":"000001a026d57ee8"} 
[2026-08-22 05:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:52:05] 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-22 05:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 05:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563550720001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563550720001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:52:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:52:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563550720001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":159485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:52:05] local.INFO: GPS data processed {"connection_id":159485,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:52:05] local.INFO: Acknowledgment sent {"connection_id":159485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:52:37] local.INFO: TCP Data received {"connection_id":159486,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d79de0012d181f800721af30003d00ce15..."} 
[2026-08-22 05:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d79de0012d181f800721af30003d00ce15..."} 
[2026-08-22 05:52:37] local.INFO: Processing buffer {"connection_id":159486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d79de0012d181f800721af30003d00ce15..."} 
[2026-08-22 05:52:37] local.INFO: Packet analysis {"connection_id":159486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d7"} 
[2026-08-22 05:52:37] local.INFO: Extracted packet for processing {"connection_id":159486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d7"} 
[2026-08-22 05:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":21,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 05:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563657984001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050777088,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:37] local.INFO: IO Element Parsed {"io_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-22 05:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787358060000,"timestamp_ms":1787358060000,"timestamp_seconds":1787358060,"priority":1,"record_length":96,"hex_timestamp":"000001a026d79de0"} 
[2026-08-22 05:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:52:37] 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-22 05:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-22 05:52:37] 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-22 05:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:52:37] 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-22 05:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563657984001,"66":13004,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738319118050777088},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563657984001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:52:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050777088,"description":"Unknown IO ID 45"} 
[2026-08-22 05:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563657984001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050777088}} 
[2026-08-22 05:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":159486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:52:37] local.INFO: GPS data processed {"connection_id":159486,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:52:37] local.INFO: Acknowledgment sent {"connection_id":159486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:52:50] local.INFO: TCP Data received {"connection_id":160668,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:52:50] local.INFO: Processing buffer {"connection_id":160668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:52:50] local.INFO: IMEI packet received {"connection_id":160668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":160668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:52:54] local.INFO: TCP Data received {"connection_id":162077,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:52:54] local.INFO: Processing buffer {"connection_id":162077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:52:54] local.INFO: IMEI packet received {"connection_id":162077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 05:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":162077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:52:55] local.INFO: TCP Data received {"connection_id":160668,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:52:55] local.INFO: Processing buffer {"connection_id":160668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:52:55] local.INFO: IMEI packet received {"connection_id":160668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":160668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:52:56] local.INFO: TCP Data received {"connection_id":160668,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:52:56] local.INFO: Processing buffer {"connection_id":160668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:52:56] local.INFO: Packet analysis {"connection_id":160668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:52:56] local.INFO: Extracted packet for processing {"connection_id":160668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563550720001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:52: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-22 05:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357921000,"timestamp_ms":1787357921000,"timestamp_seconds":1787357921,"priority":1,"record_length":96,"hex_timestamp":"000001a026d57ee8"} 
[2026-08-22 05: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-22 05:52:56] 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-22 05:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:52: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-22 05: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-22 05: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-22 05:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563550720001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563550720001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:52:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563550720001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":160668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:52:56] local.INFO: GPS data processed {"connection_id":160668,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:52:56] local.INFO: Acknowledgment sent {"connection_id":160668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:52:59] local.INFO: TCP Data received {"connection_id":162077,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:52:59] local.INFO: Processing buffer {"connection_id":162077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:52:59] local.INFO: IMEI packet received {"connection_id":162077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":162077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:53:04] local.INFO: TCP Data received {"connection_id":162077,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d7efe8012d181f800721af30003d00ce19..."} 
[2026-08-22 05:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d7efe8012d181f800721af30003d00ce19..."} 
[2026-08-22 05:53:04] local.INFO: Processing buffer {"connection_id":162077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d7efe8012d181f800721af30003d00ce19..."} 
[2026-08-22 05:53:04] local.INFO: Packet analysis {"connection_id":162077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d7"} 
[2026-08-22 05:53:04] local.INFO: Extracted packet for processing {"connection_id":162077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d7"} 
[2026-08-22 05:53:04] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":25,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 05:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563663360001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 05:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 05:53:04] local.INFO: IO Element Parsed {"io_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-22 05:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787358081000,"timestamp_ms":1787358081000,"timestamp_seconds":1787358081,"priority":1,"record_length":96,"hex_timestamp":"000001a026d7efe8"} 
[2026-08-22 05: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-22 05:53:04] 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-22 05: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 05:53:04] 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-22 05: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-22 05: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-22 05:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:53:04] 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-22 05:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563663360001,"66":13015,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563663360001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:53:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:53:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 05:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563663360001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 05:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":162077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:53:04] local.INFO: GPS data processed {"connection_id":162077,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:53:04] local.INFO: Acknowledgment sent {"connection_id":162077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:53:27] local.INFO: TCP Data received {"connection_id":160668,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:53:27] local.INFO: Processing buffer {"connection_id":160668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:53:27] local.INFO: Packet analysis {"connection_id":160668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:53:27] local.INFO: Extracted packet for processing {"connection_id":160668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563550720001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:53: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-22 05:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787357921000,"timestamp_ms":1787357921000,"timestamp_seconds":1787357921,"priority":1,"record_length":96,"hex_timestamp":"000001a026d57ee8"} 
[2026-08-22 05: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-22 05:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:53:27] 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-22 05: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-22 05: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-22 05:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563550720001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563550720001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:53:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563550720001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":160668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:53:27] local.INFO: GPS data processed {"connection_id":160668,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:53:27] local.INFO: Acknowledgment sent {"connection_id":160668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:53:35] local.INFO: TCP Data received {"connection_id":162077,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d841f0012d181f800721af30003d00ce1c..."} 
[2026-08-22 05:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d841f0012d181f800721af30003d00ce1c..."} 
[2026-08-22 05:53:35] local.INFO: Processing buffer {"connection_id":162077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d841f0012d181f800721af30003d00ce1c..."} 
[2026-08-22 05:53:35] local.INFO: Packet analysis {"connection_id":162077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d8"} 
[2026-08-22 05:53:35] local.INFO: Extracted packet for processing {"connection_id":162077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d8"} 
[2026-08-22 05:53:35] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":28,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 05:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563668736001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 05:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 05:53:35] local.INFO: IO Element Parsed {"io_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-22 05:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787358102000,"timestamp_ms":1787358102000,"timestamp_seconds":1787358102,"priority":1,"record_length":96,"hex_timestamp":"000001a026d841f0"} 
[2026-08-22 05:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 05:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 05:53:35] 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-22 05:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":162077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":162077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":162077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:53:35] 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-22 05:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563668736001,"66":12993,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563668736001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:53:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:53:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 05:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563668736001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 05:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":162077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:53:35] local.INFO: GPS data processed {"connection_id":162077,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:53:35] local.INFO: Acknowledgment sent {"connection_id":162077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:53:50] local.INFO: TCP Data received {"connection_id":159487,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:53:50] local.INFO: Processing buffer {"connection_id":159487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:53:50] local.INFO: IMEI packet received {"connection_id":159487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":159487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:53:54] local.INFO: TCP Data received {"connection_id":159758,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:53:54] local.INFO: Processing buffer {"connection_id":159758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:53:54] local.INFO: IMEI packet received {"connection_id":159758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 05:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":159758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:53:55] local.INFO: TCP Data received {"connection_id":159487,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:53:55] local.INFO: Processing buffer {"connection_id":159487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:53:55] local.INFO: IMEI packet received {"connection_id":159487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":159487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:53:56] local.INFO: TCP Data received {"connection_id":159487,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:53:56] local.INFO: Processing buffer {"connection_id":159487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d57ee8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 05:53:56] local.INFO: Packet analysis {"connection_id":159487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:53:56] local.INFO: Extracted packet for processing {"connection_id":159487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d5"} 
[2026-08-22 05:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563550720001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:53: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-22 05:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787357921000,"timestamp_ms":1787357921000,"timestamp_seconds":1787357921,"priority":1,"record_length":96,"hex_timestamp":"000001a026d57ee8"} 
[2026-08-22 05: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-22 05:53:56] 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-22 05: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:53: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-22 05: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-22 05: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-22 05:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563550720001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563550720001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:53:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563550720001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":159487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:53:56] local.INFO: GPS data processed {"connection_id":159487,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:53:56] local.INFO: Acknowledgment sent {"connection_id":159487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:53:59] local.INFO: TCP Data received {"connection_id":159758,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:53:59] local.INFO: Processing buffer {"connection_id":159758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:53:59] local.INFO: IMEI packet received {"connection_id":159758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":159758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:54:00] local.INFO: TCP Data received {"connection_id":159758,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d893f8012d181f800721af30003d00ce1b..."} 
[2026-08-22 05:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d893f8012d181f800721af30003d00ce1b..."} 
[2026-08-22 05:54:00] local.INFO: Processing buffer {"connection_id":159758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d893f8012d181f800721af30003d00ce1b..."} 
[2026-08-22 05:54:00] local.INFO: Packet analysis {"connection_id":159758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d8"} 
[2026-08-22 05:54:00] local.INFO: Extracted packet for processing {"connection_id":159758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d8"} 
[2026-08-22 05:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":27,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563674112001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 05:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 05:54:00] local.INFO: IO Element Parsed {"io_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-22 05:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787358123000,"timestamp_ms":1787358123000,"timestamp_seconds":1787358123,"priority":1,"record_length":96,"hex_timestamp":"000001a026d893f8"} 
[2026-08-22 05: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-22 05:54:00] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 05: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-22 05:54:00] 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-22 05: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-22 05: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-22 05:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:54:00] 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-22 05:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563674112001,"66":12950,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563674112001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:54:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 05:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563674112001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 05:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":159758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:54:00] local.INFO: GPS data processed {"connection_id":159758,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:54:00] local.INFO: Acknowledgment sent {"connection_id":159758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:54:27] local.INFO: TCP Data received {"connection_id":159487,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:54:27] local.INFO: Processing buffer {"connection_id":159487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:54:27] local.INFO: Packet analysis {"connection_id":159487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:54:27] local.INFO: Extracted packet for processing {"connection_id":159487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563627776001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:54: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-22 05:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787358222000,"timestamp_ms":1787358222000,"timestamp_seconds":1787358222,"priority":1,"record_length":96,"hex_timestamp":"000001a026da16b0"} 
[2026-08-22 05: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-22 05:54:27] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:54:27] 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-22 05: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-22 05: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-22 05:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563627776001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563627776001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:54:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:54:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563627776001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":159487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:54:27] local.INFO: GPS data processed {"connection_id":159487,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:54:27] local.INFO: Acknowledgment sent {"connection_id":159487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:54:31] local.INFO: TCP Data received {"connection_id":159758,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d8e600012d181f800721af30003d00ce1f..."} 
[2026-08-22 05:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d8e600012d181f800721af30003d00ce1f..."} 
[2026-08-22 05:54:31] local.INFO: Processing buffer {"connection_id":159758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d8e600012d181f800721af30003d00ce1f..."} 
[2026-08-22 05:54:31] local.INFO: Packet analysis {"connection_id":159758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d8"} 
[2026-08-22 05:54:31] local.INFO: Extracted packet for processing {"connection_id":159758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d8"} 
[2026-08-22 05:54:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":31,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563679488001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 05:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 05:54:31] local.INFO: IO Element Parsed {"io_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-22 05:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787358144000,"timestamp_ms":1787358144000,"timestamp_seconds":1787358144,"priority":1,"record_length":96,"hex_timestamp":"000001a026d8e600"} 
[2026-08-22 05: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-22 05:54:31] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 05: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 05:54:31] 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-22 05: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-22 05: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-22 05:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:54:31] 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-22 05:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563679488001,"66":12972,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563679488001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:54:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:54:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 05:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563679488001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 05:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":159758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:54:31] local.INFO: GPS data processed {"connection_id":159758,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:54:31] local.INFO: Acknowledgment sent {"connection_id":159758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:54:53] local.INFO: TCP Data received {"connection_id":159489,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:54:53] local.INFO: Processing buffer {"connection_id":159489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:54:53] local.INFO: IMEI packet received {"connection_id":159489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 05:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":159489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:54:53] local.INFO: TCP Data received {"connection_id":159489,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:54:54] local.INFO: Processing buffer {"connection_id":159489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:54:54] local.INFO: IMEI packet received {"connection_id":159489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":159489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:54:55] local.INFO: TCP Data received {"connection_id":159488,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:54:55] local.INFO: Processing buffer {"connection_id":159488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:54:55] local.INFO: IMEI packet received {"connection_id":159488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":159488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:54:59] local.INFO: TCP Data received {"connection_id":159489,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:54:59] local.INFO: Processing buffer {"connection_id":159489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:54:59] local.INFO: IMEI packet received {"connection_id":159489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":159489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:55:00] local.INFO: TCP Data received {"connection_id":159489,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d93808012d181f800721af30003d00ce22..."} 
[2026-08-22 05:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d93808012d181f800721af30003d00ce22..."} 
[2026-08-22 05:55:00] local.INFO: Processing buffer {"connection_id":159489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d93808012d181f800721af30003d00ce22..."} 
[2026-08-22 05:55:00] local.INFO: Packet analysis {"connection_id":159489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d9"} 
[2026-08-22 05:55:00] local.INFO: Extracted packet for processing {"connection_id":159489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d9"} 
[2026-08-22 05:55:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":34,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 05:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563684864001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 05:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 05:55:00] local.INFO: IO Element Parsed {"io_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-22 05:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787358165000,"timestamp_ms":1787358165000,"timestamp_seconds":1787358165,"priority":1,"record_length":96,"hex_timestamp":"000001a026d93808"} 
[2026-08-22 05:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 05:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 05:55:00] 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-22 05:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:55:00] 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-22 05:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563684864001,"66":12950,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563684864001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:55:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:55:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 05:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563684864001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 05:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":159489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:55:00] local.INFO: GPS data processed {"connection_id":159489,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:55:00] local.INFO: Acknowledgment sent {"connection_id":159489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:55:00] local.INFO: TCP Data received {"connection_id":159488,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:55:00] local.INFO: Processing buffer {"connection_id":159488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:55:00] local.INFO: IMEI packet received {"connection_id":159488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":159488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:55:01] local.INFO: TCP Data received {"connection_id":159488,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:55:01] local.INFO: Processing buffer {"connection_id":159488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:55:01] local.INFO: Packet analysis {"connection_id":159488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:55:01] local.INFO: Extracted packet for processing {"connection_id":159488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563627776001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:55: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-22 05:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787358222000,"timestamp_ms":1787358222000,"timestamp_seconds":1787358222,"priority":1,"record_length":96,"hex_timestamp":"000001a026da16b0"} 
[2026-08-22 05:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:55:01] 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-22 05:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:55:01] 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-22 05:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563627776001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563627776001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:55:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563627776001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":159488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:55:01] local.INFO: GPS data processed {"connection_id":159488,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:55:01] local.INFO: Acknowledgment sent {"connection_id":159488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:55:05] local.INFO: TCP Data received {"connection_id":159488,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:55:05] local.INFO: Processing buffer {"connection_id":159488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:55:05] local.INFO: Packet analysis {"connection_id":159488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:55:05] local.INFO: Extracted packet for processing {"connection_id":159488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:55:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563627776001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:55:05] 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-22 05:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787358222000,"timestamp_ms":1787358222000,"timestamp_seconds":1787358222,"priority":1,"record_length":96,"hex_timestamp":"000001a026da16b0"} 
[2026-08-22 05:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:55:05] 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-22 05:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:55:05] 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-22 05:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563627776001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563627776001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:55:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:55:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563627776001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":159488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:55:05] local.INFO: GPS data processed {"connection_id":159488,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:55:05] local.INFO: Acknowledgment sent {"connection_id":159488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:55:31] local.INFO: TCP Data received {"connection_id":159489,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d98a10012d181f800721af30003d00ce25..."} 
[2026-08-22 05:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d98a10012d181f800721af30003d00ce25..."} 
[2026-08-22 05:55:31] local.INFO: Processing buffer {"connection_id":159489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d98a10012d181f800721af30003d00ce25..."} 
[2026-08-22 05:55:31] local.INFO: Packet analysis {"connection_id":159489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d9"} 
[2026-08-22 05:55:31] local.INFO: Extracted packet for processing {"connection_id":159489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d9"} 
[2026-08-22 05:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 05:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563690240001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 05:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 05:55:31] local.INFO: IO Element Parsed {"io_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-22 05:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787358186000,"timestamp_ms":1787358186000,"timestamp_seconds":1787358186,"priority":1,"record_length":96,"hex_timestamp":"000001a026d98a10"} 
[2026-08-22 05:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:55:31] 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-22 05:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 05:55:31] 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-22 05:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 05:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:55:31] 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-22 05:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563690240001,"66":12939,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563690240001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:55:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:55:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 05:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563690240001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 05:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":159489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:55:31] local.INFO: GPS data processed {"connection_id":159489,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:55:31] local.INFO: Acknowledgment sent {"connection_id":159489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:55:50] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:55:50] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:55:50] local.INFO: IMEI packet received {"connection_id":162078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":162078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:55:54] local.INFO: TCP Data received {"connection_id":159759,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:55:54] local.INFO: Processing buffer {"connection_id":159759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:55:54] local.INFO: IMEI packet received {"connection_id":159759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 05:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":159759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:55:55] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:55:55] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:55:55] local.INFO: IMEI packet received {"connection_id":162078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":162078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:55:56] local.INFO: TCP Data received {"connection_id":159759,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:55:56] local.INFO: Processing buffer {"connection_id":159759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:55:56] local.INFO: IMEI packet received {"connection_id":159759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":159759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:55:56] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:55:56] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:55:56] local.INFO: Packet analysis {"connection_id":162078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:55:56] local.INFO: Extracted packet for processing {"connection_id":162078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563627776001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:55: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-22 05:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787358222000,"timestamp_ms":1787358222000,"timestamp_seconds":1787358222,"priority":1,"record_length":96,"hex_timestamp":"000001a026da16b0"} 
[2026-08-22 05: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-22 05:55:56] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:55: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-22 05: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-22 05: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-22 05:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563627776001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563627776001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:55:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563627776001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":162078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:55:56] local.INFO: GPS data processed {"connection_id":162078,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:55:56] local.INFO: Acknowledgment sent {"connection_id":162078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:55:59] local.INFO: TCP Data received {"connection_id":159759,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:55:59] local.INFO: Processing buffer {"connection_id":159759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:55:59] local.INFO: IMEI packet received {"connection_id":159759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":159759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:56:00] local.INFO: TCP Data received {"connection_id":159759,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026d9dc18012d181f800721af30003d00ce25..."} 
[2026-08-22 05:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026d9dc18012d181f800721af30003d00ce25..."} 
[2026-08-22 05:56:00] local.INFO: Processing buffer {"connection_id":159759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026d9dc18012d181f800721af30003d00ce25..."} 
[2026-08-22 05:56:00] local.INFO: Packet analysis {"connection_id":159759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026d9"} 
[2026-08-22 05:56:00] local.INFO: Extracted packet for processing {"connection_id":159759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026d9"} 
[2026-08-22 05:56:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563695616001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 05:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 05:56:00] local.INFO: IO Element Parsed {"io_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-22 05:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787358207000,"timestamp_ms":1787358207000,"timestamp_seconds":1787358207,"priority":1,"record_length":96,"hex_timestamp":"000001a026d9dc18"} 
[2026-08-22 05: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-22 05:56:00] 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-22 05: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 05:56:00] 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-22 05: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-22 05: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-22 05:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:56:00] 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-22 05:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563695616001,"66":12906,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563695616001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:56:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:56:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 05:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563695616001,"power":12906,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 05:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":159759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:56:00] local.INFO: GPS data processed {"connection_id":159759,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:56:00] local.INFO: Acknowledgment sent {"connection_id":159759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:56:27] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:56:27] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:56:27] local.INFO: Packet analysis {"connection_id":162078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:56:27] local.INFO: Extracted packet for processing {"connection_id":162078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563627776001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:56: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-22 05:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787358222000,"timestamp_ms":1787358222000,"timestamp_seconds":1787358222,"priority":1,"record_length":96,"hex_timestamp":"000001a026da16b0"} 
[2026-08-22 05: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-22 05:56:27] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:56:27] 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-22 05: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-22 05: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-22 05:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563627776001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563627776001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:56:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563627776001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":162078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:56:27] local.INFO: GPS data processed {"connection_id":162078,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:56:27] local.INFO: Acknowledgment sent {"connection_id":162078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:56:31] local.INFO: TCP Data received {"connection_id":159759,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026da2e20012d181f800721af30003d00ce25..."} 
[2026-08-22 05:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026da2e20012d181f800721af30003d00ce25..."} 
[2026-08-22 05:56:31] local.INFO: Processing buffer {"connection_id":159759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026da2e20012d181f800721af30003d00ce25..."} 
[2026-08-22 05:56:31] local.INFO: Packet analysis {"connection_id":159759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:56:31] local.INFO: Extracted packet for processing {"connection_id":159759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 05:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563700992001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 05:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 05:56:31] local.INFO: IO Element Parsed {"io_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-22 05:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787358228000,"timestamp_ms":1787358228000,"timestamp_seconds":1787358228,"priority":1,"record_length":96,"hex_timestamp":"000001a026da2e20"} 
[2026-08-22 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-22 05:56:31] 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-22 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-22 05:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 05:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:56:31] 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-22 05:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563700992001,"66":12885,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563700992001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:56:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:56:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 05:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563700992001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 05:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":159759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:56:31] local.INFO: GPS data processed {"connection_id":159759,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:56:31] local.INFO: Acknowledgment sent {"connection_id":159759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:56:50] local.INFO: TCP Data received {"connection_id":159490,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:56:50] local.INFO: Processing buffer {"connection_id":159490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:56:50] local.INFO: IMEI packet received {"connection_id":159490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":159490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:56:54] local.INFO: TCP Data received {"connection_id":159491,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:56:54] local.INFO: Processing buffer {"connection_id":159491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:56:54] local.INFO: IMEI packet received {"connection_id":159491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 05:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":159491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:56:55] local.INFO: TCP Data received {"connection_id":159490,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:56:55] local.INFO: Processing buffer {"connection_id":159490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:56:55] local.INFO: IMEI packet received {"connection_id":159490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":159490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:56:56] local.INFO: TCP Data received {"connection_id":159490,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:56:56] local.INFO: Processing buffer {"connection_id":159490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:56:56] local.INFO: Packet analysis {"connection_id":159490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:56:56] local.INFO: Extracted packet for processing {"connection_id":159490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563627776001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:56: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-22 05:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787358222000,"timestamp_ms":1787358222000,"timestamp_seconds":1787358222,"priority":1,"record_length":96,"hex_timestamp":"000001a026da16b0"} 
[2026-08-22 05: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-22 05:56:56] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:56: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-22 05: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-22 05: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-22 05:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563627776001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563627776001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:56:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563627776001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":159490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:56:56] local.INFO: GPS data processed {"connection_id":159490,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:56:56] local.INFO: Acknowledgment sent {"connection_id":159490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:56:59] local.INFO: TCP Data received {"connection_id":159491,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:56:59] local.INFO: Processing buffer {"connection_id":159491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:56:59] local.INFO: IMEI packet received {"connection_id":159491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":159491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:57:00] local.INFO: TCP Data received {"connection_id":159491,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026da8028012d181f800721af30003d00ce24..."} 
[2026-08-22 05:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026da8028012d181f800721af30003d00ce24..."} 
[2026-08-22 05:57:00] local.INFO: Processing buffer {"connection_id":159491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026da8028012d181f800721af30003d00ce24..."} 
[2026-08-22 05:57:00] local.INFO: Packet analysis {"connection_id":159491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:57:00] local.INFO: Extracted packet for processing {"connection_id":159491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:57:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":36,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563706368001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 05:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 05:57:00] local.INFO: IO Element Parsed {"io_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-22 05:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787358249000,"timestamp_ms":1787358249000,"timestamp_seconds":1787358249,"priority":1,"record_length":96,"hex_timestamp":"000001a026da8028"} 
[2026-08-22 05: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-22 05:57:00] 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-22 05: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 05:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 05: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-22 05: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-22 05:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:57:00] 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-22 05:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563706368001,"66":12852,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563706368001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:57:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:57:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 05:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563706368001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 05:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":159491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:57:00] local.INFO: GPS data processed {"connection_id":159491,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:57:00] local.INFO: Acknowledgment sent {"connection_id":159491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:57:27] local.INFO: TCP Data received {"connection_id":159490,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:57:27] local.INFO: Processing buffer {"connection_id":159490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:57:27] local.INFO: Packet analysis {"connection_id":159490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:57:27] local.INFO: Extracted packet for processing {"connection_id":159490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563627776001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:57: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-22 05:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787358222000,"timestamp_ms":1787358222000,"timestamp_seconds":1787358222,"priority":1,"record_length":96,"hex_timestamp":"000001a026da16b0"} 
[2026-08-22 05: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-22 05:57:27] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:57:27] 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-22 05: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-22 05: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-22 05:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563627776001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563627776001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:57:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563627776001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":159490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:57:27] local.INFO: GPS data processed {"connection_id":159490,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:57:27] local.INFO: Acknowledgment sent {"connection_id":159490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:57:31] local.INFO: TCP Data received {"connection_id":159491,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026dad230012d181f800721af30003d00ce25..."} 
[2026-08-22 05:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026dad230012d181f800721af30003d00ce25..."} 
[2026-08-22 05:57:31] local.INFO: Processing buffer {"connection_id":159491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026dad230012d181f800721af30003d00ce25..."} 
[2026-08-22 05:57:31] local.INFO: Packet analysis {"connection_id":159491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:57:31] local.INFO: Extracted packet for processing {"connection_id":159491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:57:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563711744001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 05:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 05:57:31] local.INFO: IO Element Parsed {"io_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-22 05:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787358270000,"timestamp_ms":1787358270000,"timestamp_seconds":1787358270,"priority":1,"record_length":96,"hex_timestamp":"000001a026dad230"} 
[2026-08-22 05: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-22 05:57:31] 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-22 05: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 05:57:31] 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-22 05: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-22 05: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-22 05:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:57:31] 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-22 05:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563711744001,"66":12809,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563711744001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:57:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:57:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 05:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563711744001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 05:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":159491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:57:31] local.INFO: GPS data processed {"connection_id":159491,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:57:31] local.INFO: Acknowledgment sent {"connection_id":159491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:57:50] local.INFO: TCP Data received {"connection_id":162079,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:57:50] local.INFO: Processing buffer {"connection_id":162079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:57:50] local.INFO: IMEI packet received {"connection_id":162079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":162079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:57:55] local.INFO: TCP Data received {"connection_id":162079,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:57:55] local.INFO: Processing buffer {"connection_id":162079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:57:55] local.INFO: IMEI packet received {"connection_id":162079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":162079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:57:56] local.INFO: TCP Data received {"connection_id":162079,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:57:56] local.INFO: Processing buffer {"connection_id":162079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:57:56] local.INFO: Packet analysis {"connection_id":162079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:57:56] local.INFO: Extracted packet for processing {"connection_id":162079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563627776001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05: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-22 05:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787358222000,"timestamp_ms":1787358222000,"timestamp_seconds":1787358222,"priority":1,"record_length":96,"hex_timestamp":"000001a026da16b0"} 
[2026-08-22 05: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-22 05:57:56] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:57: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-22 05: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-22 05: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-22 05:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563627776001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563627776001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:57:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563627776001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":162079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:57:56] local.INFO: GPS data processed {"connection_id":162079,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:57:56] local.INFO: Acknowledgment sent {"connection_id":162079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:57:59] local.INFO: TCP Data received {"connection_id":160669,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:57:59] local.INFO: Processing buffer {"connection_id":160669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:57:59] local.INFO: IMEI packet received {"connection_id":160669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 05:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":160669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:58:02] local.INFO: TCP Data received {"connection_id":160669,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:58:02] local.INFO: Processing buffer {"connection_id":160669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:58:02] local.INFO: IMEI packet received {"connection_id":160669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":160669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:58:03] local.INFO: TCP Data received {"connection_id":160669,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026db2438012d181f800721af30003d00ce25..."} 
[2026-08-22 05:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026db2438012d181f800721af30003d00ce25..."} 
[2026-08-22 05:58:03] local.INFO: Processing buffer {"connection_id":160669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026db2438012d181f800721af30003d00ce25..."} 
[2026-08-22 05:58:03] local.INFO: Packet analysis {"connection_id":160669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026db"} 
[2026-08-22 05:58:03] local.INFO: Extracted packet for processing {"connection_id":160669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026db"} 
[2026-08-22 05:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563717120001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 05:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787358291000,"timestamp_ms":1787358291000,"timestamp_seconds":1787358291,"priority":1,"record_length":96,"hex_timestamp":"000001a026db2438"} 
[2026-08-22 05: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-22 05:58:03] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 05: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-22 05:58:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:03] local.WARNING: Large IO value detected {"io_id":38,"raw_value":-2840654256005439616,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2939158589,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 05:58:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052612042274058669,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427211501757582875,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:03] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:03] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,242,160,128,45,175,61,36,10,66,46,37,220,1,240,106,227,38,33,4,113,205,56,31,48,34,239,50,2,7,164,64],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 05:58:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739894622715904,"timestamp_seconds":4395739894622716.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 05: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-22 05:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:58:03] 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-22 05:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563717120001,"66":12798,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563717120001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:58:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 05:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563717120001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 05:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":160669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:58:03] local.INFO: GPS data processed {"connection_id":160669,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:58:03] local.INFO: Acknowledgment sent {"connection_id":160669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:58:08] local.INFO: TCP Data received {"connection_id":160669,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026db7640012d181f800721af30003d00ce25..."} 
[2026-08-22 05:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026db7640012d181f800721af30003d00ce25..."} 
[2026-08-22 05:58:08] local.INFO: Processing buffer {"connection_id":160669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026db7640012d181f800721af30003d00ce25..."} 
[2026-08-22 05:58:08] local.INFO: Packet analysis {"connection_id":160669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026db"} 
[2026-08-22 05:58:08] local.INFO: Extracted packet for processing {"connection_id":160669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026db"} 
[2026-08-22 05:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563722496001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:08] local.INFO: IO Element Parsed {"io_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-22 05:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787358312000,"timestamp_ms":1787358312000,"timestamp_seconds":1787358312,"priority":1,"record_length":96,"hex_timestamp":"000001a026db7640"} 
[2026-08-22 05: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-22 05:58:08] 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-22 05: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 05:58: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-22 05: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-22 05: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-22 05:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:58:08] 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-22 05:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563722496001,"66":12809,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563722496001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:58:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:58:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 05:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563722496001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 05:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":160669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:58:08] local.INFO: GPS data processed {"connection_id":160669,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:58:08] local.INFO: Acknowledgment sent {"connection_id":160669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:58:27] local.INFO: TCP Data received {"connection_id":162079,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:58:27] local.INFO: Processing buffer {"connection_id":162079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:58:27] local.INFO: Packet analysis {"connection_id":162079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:58:27] local.INFO: Extracted packet for processing {"connection_id":162079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563627776001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58: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-22 05:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787358222000,"timestamp_ms":1787358222000,"timestamp_seconds":1787358222,"priority":1,"record_length":96,"hex_timestamp":"000001a026da16b0"} 
[2026-08-22 05: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-22 05:58:27] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:58:27] 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-22 05: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-22 05: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-22 05:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563627776001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563627776001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:58:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563627776001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":162079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:58:27] local.INFO: GPS data processed {"connection_id":162079,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:58:27] local.INFO: Acknowledgment sent {"connection_id":162079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:58:38] local.INFO: TCP Data received {"connection_id":160669,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026dbc848012d181f800721af30003d00ce25..."} 
[2026-08-22 05:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026dbc848012d181f800721af30003d00ce25..."} 
[2026-08-22 05:58:38] local.INFO: Processing buffer {"connection_id":160669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026dbc848012d181f800721af30003d00ce25..."} 
[2026-08-22 05:58:38] local.INFO: Packet analysis {"connection_id":160669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026db"} 
[2026-08-22 05:58:38] local.INFO: Extracted packet for processing {"connection_id":160669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026db"} 
[2026-08-22 05:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 05:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 05:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563727872001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:38] local.INFO: IO Element Parsed {"io_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-22 05:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787358333000,"timestamp_ms":1787358333000,"timestamp_seconds":1787358333,"priority":1,"record_length":96,"hex_timestamp":"000001a026dbc848"} 
[2026-08-22 05:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 05:58:38] 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-22 05:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-22 05:58:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:38] local.WARNING: Large IO value detected {"io_id":38,"raw_value":-2794474767638847616,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2939158589,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 05:58:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427211501757582882,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:38] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:38] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,242,160,36,45,128,175,61,37,10,66,210,1,240,52,227,38,33,4,113,205,220,31,48,239,50,2,7,164,64],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 05:58:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739894622715904,"timestamp_seconds":4395739894622716.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 05:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 05:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:58:38] 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-22 05:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563727872001,"66":12798,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563727872001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:58:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:58:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 05:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563727872001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 05:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":160669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:58:39] local.INFO: GPS data processed {"connection_id":160669,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:58:39] local.INFO: Acknowledgment sent {"connection_id":160669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:58:50] local.INFO: TCP Data received {"connection_id":159492,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:58:50] local.INFO: Processing buffer {"connection_id":159492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:58:50] local.INFO: IMEI packet received {"connection_id":159492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":159492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:58:54] local.INFO: TCP Data received {"connection_id":159760,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:58:54] local.INFO: Processing buffer {"connection_id":159760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:58:54] local.INFO: IMEI packet received {"connection_id":159760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 05:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":159760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:58:55] local.INFO: TCP Data received {"connection_id":159492,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:58:55] local.INFO: Processing buffer {"connection_id":159492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:58:55] local.INFO: IMEI packet received {"connection_id":159492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 05:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":159492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:58:56] local.INFO: TCP Data received {"connection_id":159492,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:58:56] local.INFO: Processing buffer {"connection_id":159492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026da16b0012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:58:56] local.INFO: Packet analysis {"connection_id":159492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:58:56] local.INFO: Extracted packet for processing {"connection_id":159492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026da"} 
[2026-08-22 05:58:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563627776001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05: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-22 05:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787358222000,"timestamp_ms":1787358222000,"timestamp_seconds":1787358222,"priority":1,"record_length":96,"hex_timestamp":"000001a026da16b0"} 
[2026-08-22 05: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-22 05:58:56] 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-22 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 05:58: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-22 05: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-22 05: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-22 05:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563627776001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563627776001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:58:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:58:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563627776001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":159492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:58:56] local.INFO: GPS data processed {"connection_id":159492,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:58:56] local.INFO: Acknowledgment sent {"connection_id":159492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:58:59] local.INFO: TCP Data received {"connection_id":159760,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:58:59] local.INFO: Processing buffer {"connection_id":159760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:58:59] local.INFO: IMEI packet received {"connection_id":159760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":159760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 05:59:00] local.INFO: TCP Data received {"connection_id":159760,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026dc1a50012d181f800721af30003d00ce24..."} 
[2026-08-22 05:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026dc1a50012d181f800721af30003d00ce24..."} 
[2026-08-22 05:59:00] local.INFO: Processing buffer {"connection_id":159760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026dc1a50012d181f800721af30003d00ce24..."} 
[2026-08-22 05:59:00] local.INFO: Packet analysis {"connection_id":159760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026dc"} 
[2026-08-22 05:59:00] local.INFO: Extracted packet for processing {"connection_id":159760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026dc"} 
[2026-08-22 05:59:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":36,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563733248001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 05:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 05:59:00] local.INFO: IO Element Parsed {"io_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-22 05:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787358354000,"timestamp_ms":1787358354000,"timestamp_seconds":1787358354,"priority":1,"record_length":96,"hex_timestamp":"000001a026dc1a50"} 
[2026-08-22 05: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-22 05:59:00] 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-22 05: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 05:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 05: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-22 05: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-22 05:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:59:00] 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-22 05:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563733248001,"66":12776,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563733248001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:59:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:59:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 05:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563733248001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 05:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":159760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:59:00] local.INFO: GPS data processed {"connection_id":159760,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:59:00] local.INFO: Acknowledgment sent {"connection_id":159760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:59:27] local.INFO: TCP Data received {"connection_id":159492,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:59:27] local.INFO: Processing buffer {"connection_id":159492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 05:59:27] local.INFO: Packet analysis {"connection_id":159492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 05:59:27] local.INFO: Extracted packet for processing {"connection_id":159492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 05:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563704832001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 05:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 05:59: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-22 05:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787358523000,"timestamp_ms":1787358523000,"timestamp_seconds":1787358523,"priority":1,"record_length":96,"hex_timestamp":"000001a026deae78"} 
[2026-08-22 05: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-22 05:59:27] 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-22 05:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 05:59:27] 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-22 05: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-22 05: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-22 05:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 05:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 05:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 05:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 05:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563704832001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 05:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 05:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 05:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563704832001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:59:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 05:59:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 05:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 05:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563704832001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 05:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":159492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:59:27] local.INFO: GPS data processed {"connection_id":159492,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:59:27] local.INFO: Acknowledgment sent {"connection_id":159492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:59:31] local.INFO: TCP Data received {"connection_id":159760,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026dc6c58012d181f800721af30003d00ce25..."} 
[2026-08-22 05:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026dc6c58012d181f800721af30003d00ce25..."} 
[2026-08-22 05:59:31] local.INFO: Processing buffer {"connection_id":159760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026dc6c58012d181f800721af30003d00ce25..."} 
[2026-08-22 05:59:31] local.INFO: Packet analysis {"connection_id":159760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026dc"} 
[2026-08-22 05:59:31] local.INFO: Extracted packet for processing {"connection_id":159760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026dc"} 
[2026-08-22 05:59:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 05: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-22 05:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563738624001,"note":"Value kept but may cause issues"} 
[2026-08-22 05:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 05:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 05:59:31] local.INFO: IO Element Parsed {"io_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-22 05:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787358375000,"timestamp_ms":1787358375000,"timestamp_seconds":1787358375,"priority":1,"record_length":96,"hex_timestamp":"000001a026dc6c58"} 
[2026-08-22 05: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-22 05:59:31] 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-22 05: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 05:59:31] 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-22 05: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-22 05: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-22 05:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 05:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 05:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 05:59:31] 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-22 05:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 05:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 05:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563738624001,"66":12776,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 05:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 05:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 05:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563738624001,"description":"Unknown IO ID 0"} 
[2026-08-22 05:59:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 05:59:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 05:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 05:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 05:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563738624001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 05:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":159760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 05:59:31] local.INFO: GPS data processed {"connection_id":159760,"processed":1,"errors":0,"total":1} 
[2026-08-22 05:59:31] local.INFO: Acknowledgment sent {"connection_id":159760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 05:59:54] local.INFO: TCP Data received {"connection_id":159493,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:59:54] local.INFO: Processing buffer {"connection_id":159493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:59:54] local.INFO: IMEI packet received {"connection_id":159493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 05:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":159493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:59:55] local.INFO: TCP Data received {"connection_id":160670,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:59:55] local.INFO: Processing buffer {"connection_id":160670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 05:59:55] local.INFO: IMEI packet received {"connection_id":160670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 05:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":160670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 05:59:59] local.INFO: TCP Data received {"connection_id":159493,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:59:59] local.INFO: Processing buffer {"connection_id":159493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 05:59:59] local.INFO: IMEI packet received {"connection_id":159493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 05:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":159493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:00:00] local.INFO: TCP Data received {"connection_id":159493,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026dcbe60012d181f800721af30003d00ce25..."} 
[2026-08-22 06:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026dcbe60012d181f800721af30003d00ce25..."} 
[2026-08-22 06:00:00] local.INFO: Processing buffer {"connection_id":159493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026dcbe60012d181f800721af30003d00ce25..."} 
[2026-08-22 06:00:00] local.INFO: Packet analysis {"connection_id":159493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026dc"} 
[2026-08-22 06:00:00] local.INFO: Extracted packet for processing {"connection_id":159493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026dc"} 
[2026-08-22 06:00:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563744000001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:00:00] local.INFO: IO Element Parsed {"io_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-22 06:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787358396000,"timestamp_ms":1787358396000,"timestamp_seconds":1787358396,"priority":1,"record_length":96,"hex_timestamp":"000001a026dcbe60"} 
[2026-08-22 06: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-22 06:00:00] 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-22 06: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 06:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:00:00] 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-22 06:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563744000001,"66":12689,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563744000001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:00:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:00:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563744000001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":159493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:00:00] local.INFO: GPS data processed {"connection_id":159493,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:00:00] local.INFO: Acknowledgment sent {"connection_id":159493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:00:00] local.INFO: TCP Data received {"connection_id":160670,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:00:00] local.INFO: Processing buffer {"connection_id":160670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:00:00] local.INFO: IMEI packet received {"connection_id":160670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":160670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:00:01] local.INFO: TCP Data received {"connection_id":160670,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:00:01] local.INFO: Processing buffer {"connection_id":160670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:00:01] local.INFO: Packet analysis {"connection_id":160670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:00:01] local.INFO: Extracted packet for processing {"connection_id":160670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563704832001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:00: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-22 06:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787358523000,"timestamp_ms":1787358523000,"timestamp_seconds":1787358523,"priority":1,"record_length":96,"hex_timestamp":"000001a026deae78"} 
[2026-08-22 06: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-22 06:00:01] 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-22 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:00: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-22 06: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-22 06: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-22 06:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563704832001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563704832001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:00:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563704832001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":160670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:00:01] local.INFO: GPS data processed {"connection_id":160670,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:00:01] local.INFO: Acknowledgment sent {"connection_id":160670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:00:05] local.INFO: TCP Data received {"connection_id":160670,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:00:05] local.INFO: Processing buffer {"connection_id":160670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:00:05] local.INFO: Packet analysis {"connection_id":160670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:00:05] local.INFO: Extracted packet for processing {"connection_id":160670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563704832001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:00:05] 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-22 06:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787358523000,"timestamp_ms":1787358523000,"timestamp_seconds":1787358523,"priority":1,"record_length":96,"hex_timestamp":"000001a026deae78"} 
[2026-08-22 06:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:00:05] 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-22 06:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563704832001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563704832001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:00:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563704832001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":160670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:00:05] local.INFO: GPS data processed {"connection_id":160670,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:00:05] local.INFO: Acknowledgment sent {"connection_id":160670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:00:30] local.INFO: TCP Data received {"connection_id":159493,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026dd1068012d181f800721af30003d00ce26..."} 
[2026-08-22 06:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026dd1068012d181f800721af30003d00ce26..."} 
[2026-08-22 06:00:30] local.INFO: Processing buffer {"connection_id":159493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026dd1068012d181f800721af30003d00ce26..."} 
[2026-08-22 06:00:30] local.INFO: Packet analysis {"connection_id":159493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026dd"} 
[2026-08-22 06:00:30] local.INFO: Extracted packet for processing {"connection_id":159493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026dd"} 
[2026-08-22 06:00:30] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563749376001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787358417000,"timestamp_ms":1787358417000,"timestamp_seconds":1787358417,"priority":1,"record_length":96,"hex_timestamp":"000001a026dd1068"} 
[2026-08-22 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-22 06:00:30] 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-22 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 06:00:30] 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-22 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-22 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-22 06:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:00:30] 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-22 06:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563749376001,"66":12722,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563749376001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:00:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563749376001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":159493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:00:30] local.INFO: GPS data processed {"connection_id":159493,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:00:30] local.INFO: Acknowledgment sent {"connection_id":159493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:00:50] local.INFO: TCP Data received {"connection_id":160671,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:00:50] local.INFO: Processing buffer {"connection_id":160671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:00:50] local.INFO: IMEI packet received {"connection_id":160671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":160671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:00:54] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:00:54] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:00:54] local.INFO: IMEI packet received {"connection_id":162080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":162080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:00:55] local.INFO: TCP Data received {"connection_id":160671,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:00:55] local.INFO: Processing buffer {"connection_id":160671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:00:55] local.INFO: IMEI packet received {"connection_id":160671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":160671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:00:56] local.INFO: TCP Data received {"connection_id":160671,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:00:56] local.INFO: Processing buffer {"connection_id":160671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:00:56] local.INFO: Packet analysis {"connection_id":160671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:00:56] local.INFO: Extracted packet for processing {"connection_id":160671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563704832001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787358523000,"timestamp_ms":1787358523000,"timestamp_seconds":1787358523,"priority":1,"record_length":96,"hex_timestamp":"000001a026deae78"} 
[2026-08-22 06: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-22 06:00:56] 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-22 06:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:00: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-22 06: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-22 06: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-22 06:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563704832001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563704832001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:00:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563704832001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":160671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:00:56] local.INFO: GPS data processed {"connection_id":160671,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:00:56] local.INFO: Acknowledgment sent {"connection_id":160671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:00:59] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:00:59] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:00:59] local.INFO: IMEI packet received {"connection_id":162080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":162080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:01:00] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026dd6270012d181f800721af30003d00ce25..."} 
[2026-08-22 06:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026dd6270012d181f800721af30003d00ce25..."} 
[2026-08-22 06:01:00] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026dd6270012d181f800721af30003d00ce25..."} 
[2026-08-22 06:01:00] local.INFO: Packet analysis {"connection_id":162080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026dd"} 
[2026-08-22 06:01:00] local.INFO: Extracted packet for processing {"connection_id":162080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026dd"} 
[2026-08-22 06:01:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563754752001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:01:00] local.INFO: IO Element Parsed {"io_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-22 06:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787358438000,"timestamp_ms":1787358438000,"timestamp_seconds":1787358438,"priority":1,"record_length":96,"hex_timestamp":"000001a026dd6270"} 
[2026-08-22 06: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-22 06:01:00] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 06:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:01:00] 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-22 06:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563754752001,"66":12722,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563754752001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:01:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:01:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563754752001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":162080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:01:00] local.INFO: GPS data processed {"connection_id":162080,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:01:00] local.INFO: Acknowledgment sent {"connection_id":162080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:01:27] local.INFO: TCP Data received {"connection_id":160671,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:01:27] local.INFO: Processing buffer {"connection_id":160671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:01:27] local.INFO: Packet analysis {"connection_id":160671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:01:27] local.INFO: Extracted packet for processing {"connection_id":160671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563704832001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:01: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-22 06:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787358523000,"timestamp_ms":1787358523000,"timestamp_seconds":1787358523,"priority":1,"record_length":96,"hex_timestamp":"000001a026deae78"} 
[2026-08-22 06: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-22 06:01:27] 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-22 06:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:01:27] 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-22 06: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-22 06: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-22 06:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563704832001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563704832001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:01:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563704832001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":160671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:01:27] local.INFO: GPS data processed {"connection_id":160671,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:01:27] local.INFO: Acknowledgment sent {"connection_id":160671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:01:31] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026ddb478012d181f800721af30003d00ce25..."} 
[2026-08-22 06:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ddb478012d181f800721af30003d00ce25..."} 
[2026-08-22 06:01:31] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ddb478012d181f800721af30003d00ce25..."} 
[2026-08-22 06:01:31] local.INFO: Packet analysis {"connection_id":162080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026dd"} 
[2026-08-22 06:01:31] local.INFO: Extracted packet for processing {"connection_id":162080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026dd"} 
[2026-08-22 06:01:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563760128001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:01:31] local.INFO: IO Element Parsed {"io_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-22 06:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787358459000,"timestamp_ms":1787358459000,"timestamp_seconds":1787358459,"priority":1,"record_length":96,"hex_timestamp":"000001a026ddb478"} 
[2026-08-22 06:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:01:31] 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-22 06:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 06:01:31] 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-22 06:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:01:31] 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-22 06:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563760128001,"66":12645,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563760128001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:01:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:01:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563760128001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":162080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:01:31] local.INFO: GPS data processed {"connection_id":162080,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:01:31] local.INFO: Acknowledgment sent {"connection_id":162080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:01:50] local.INFO: TCP Data received {"connection_id":159494,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:01:50] local.INFO: Processing buffer {"connection_id":159494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:01:50] local.INFO: IMEI packet received {"connection_id":159494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":159494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:01:53] local.INFO: TCP Data received {"connection_id":162081,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:01:53] local.INFO: Processing buffer {"connection_id":162081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:01:53] local.INFO: IMEI packet received {"connection_id":162081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":162081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:01:53] local.INFO: TCP Data received {"connection_id":162081,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:01:53] local.INFO: Processing buffer {"connection_id":162081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:01:53] local.INFO: IMEI packet received {"connection_id":162081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":162081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:01:55] local.INFO: TCP Data received {"connection_id":159494,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:01:55] local.INFO: Processing buffer {"connection_id":159494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:01:55] local.INFO: IMEI packet received {"connection_id":159494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":159494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:01:56] local.INFO: TCP Data received {"connection_id":159494,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:01:56] local.INFO: Processing buffer {"connection_id":159494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:01:56] local.INFO: Packet analysis {"connection_id":159494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:01:56] local.INFO: Extracted packet for processing {"connection_id":159494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563704832001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:01: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-22 06:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787358523000,"timestamp_ms":1787358523000,"timestamp_seconds":1787358523,"priority":1,"record_length":96,"hex_timestamp":"000001a026deae78"} 
[2026-08-22 06: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-22 06:01:56] 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-22 06: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:01: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-22 06: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-22 06: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-22 06:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563704832001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563704832001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:01:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563704832001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":159494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:01:56] local.INFO: GPS data processed {"connection_id":159494,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:01:56] local.INFO: Acknowledgment sent {"connection_id":159494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:01:59] local.INFO: TCP Data received {"connection_id":162081,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:01:59] local.INFO: Processing buffer {"connection_id":162081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:01:59] local.INFO: IMEI packet received {"connection_id":162081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":162081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:02:00] local.INFO: TCP Data received {"connection_id":162081,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026de0680012d181f800721af30003d00ce26..."} 
[2026-08-22 06:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026de0680012d181f800721af30003d00ce26..."} 
[2026-08-22 06:02:00] local.INFO: Processing buffer {"connection_id":162081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026de0680012d181f800721af30003d00ce26..."} 
[2026-08-22 06:02:00] local.INFO: Packet analysis {"connection_id":162081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:02:00] local.INFO: Extracted packet for processing {"connection_id":162081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:02:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563765504001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:02:00] local.INFO: IO Element Parsed {"io_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-22 06:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787358480000,"timestamp_ms":1787358480000,"timestamp_seconds":1787358480,"priority":1,"record_length":96,"hex_timestamp":"000001a026de0680"} 
[2026-08-22 06: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-22 06:02:00] 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-22 06: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-22 06:02:00] 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-22 06: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-22 06: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-22 06:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:02:00] 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-22 06:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563765504001,"66":12678,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563765504001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:02:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:02:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563765504001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":162081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:02:00] local.INFO: GPS data processed {"connection_id":162081,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:02:00] local.INFO: Acknowledgment sent {"connection_id":162081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:02:27] local.INFO: TCP Data received {"connection_id":159494,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:02:27] local.INFO: Processing buffer {"connection_id":159494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:02:27] local.INFO: Packet analysis {"connection_id":159494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:02:27] local.INFO: Extracted packet for processing {"connection_id":159494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563704832001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:02: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-22 06:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787358523000,"timestamp_ms":1787358523000,"timestamp_seconds":1787358523,"priority":1,"record_length":96,"hex_timestamp":"000001a026deae78"} 
[2026-08-22 06: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-22 06:02:27] 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-22 06:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:02:27] 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-22 06: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-22 06: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-22 06:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563704832001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563704832001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:02:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563704832001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":159494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:02:27] local.INFO: GPS data processed {"connection_id":159494,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:02:27] local.INFO: Acknowledgment sent {"connection_id":159494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:02:31] local.INFO: TCP Data received {"connection_id":162081,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026de5888012d181f800721af30003d00ce27..."} 
[2026-08-22 06:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026de5888012d181f800721af30003d00ce27..."} 
[2026-08-22 06:02:31] local.INFO: Processing buffer {"connection_id":162081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026de5888012d181f800721af30003d00ce27..."} 
[2026-08-22 06:02:31] local.INFO: Packet analysis {"connection_id":162081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:02:31] local.INFO: Extracted packet for processing {"connection_id":162081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:02:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563770880001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:02:31] local.INFO: IO Element Parsed {"io_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-22 06:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787358501000,"timestamp_ms":1787358501000,"timestamp_seconds":1787358501,"priority":1,"record_length":96,"hex_timestamp":"000001a026de5888"} 
[2026-08-22 06: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-22 06:02:31] 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-22 06: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 06:02:31] 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-22 06: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-22 06: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-22 06:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:02:31] 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-22 06:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563770880001,"66":12645,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563770880001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:02:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:02:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563770880001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":162081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:02:31] local.INFO: GPS data processed {"connection_id":162081,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:02:31] local.INFO: Acknowledgment sent {"connection_id":162081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:02:50] local.INFO: TCP Data received {"connection_id":159761,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:02:50] local.INFO: Processing buffer {"connection_id":159761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:02:50] local.INFO: IMEI packet received {"connection_id":159761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":159761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:02:53] local.INFO: TCP Data received {"connection_id":160672,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:02:53] local.INFO: Processing buffer {"connection_id":160672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:02:53] local.INFO: IMEI packet received {"connection_id":160672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":160672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:02:55] local.INFO: TCP Data received {"connection_id":159761,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:02:55] local.INFO: Processing buffer {"connection_id":159761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:02:55] local.INFO: IMEI packet received {"connection_id":159761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":159761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:02:56] local.INFO: TCP Data received {"connection_id":159761,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:02:56] local.INFO: Processing buffer {"connection_id":159761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:02:56] local.INFO: Packet analysis {"connection_id":159761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:02:56] local.INFO: Extracted packet for processing {"connection_id":159761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:02:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563704832001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:02: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-22 06:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787358523000,"timestamp_ms":1787358523000,"timestamp_seconds":1787358523,"priority":1,"record_length":96,"hex_timestamp":"000001a026deae78"} 
[2026-08-22 06: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-22 06:02:56] 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-22 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:02: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-22 06: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-22 06: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-22 06:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563704832001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563704832001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:02:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:02:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563704832001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":159761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:02:56] local.INFO: GPS data processed {"connection_id":159761,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:02:56] local.INFO: Acknowledgment sent {"connection_id":159761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:02:56] local.INFO: TCP Data received {"connection_id":160672,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:02:56] local.INFO: Processing buffer {"connection_id":160672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:02:56] local.INFO: IMEI packet received {"connection_id":160672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":160672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:02:59] local.INFO: TCP Data received {"connection_id":160672,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:02:59] local.INFO: Processing buffer {"connection_id":160672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:02:59] local.INFO: IMEI packet received {"connection_id":160672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":160672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:03:00] local.INFO: TCP Data received {"connection_id":160672,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026e1b7d0012d181f800721af30003d00ce29..."} 
[2026-08-22 06:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e1b7d0012d181f800721af30003d00ce29..."} 
[2026-08-22 06:03:00] local.INFO: Processing buffer {"connection_id":160672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e1b7d0012d181f800721af30003d00ce29..."} 
[2026-08-22 06:03:00] local.INFO: Packet analysis {"connection_id":160672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e1"} 
[2026-08-22 06:03:00] local.INFO: Extracted packet for processing {"connection_id":160672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e1"} 
[2026-08-22 06:03:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563827712001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:03:00] local.INFO: IO Element Parsed {"io_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-22 06:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787358722000,"timestamp_ms":1787358722000,"timestamp_seconds":1787358722,"priority":1,"record_length":96,"hex_timestamp":"000001a026e1b7d0"} 
[2026-08-22 06: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-22 06:03:00] 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-22 06: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 06:03:00] 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-22 06: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-22 06: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-22 06:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:03:00] 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-22 06:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563827712001,"66":12537,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563827712001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:03:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:03:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563827712001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":160672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:03:00] local.INFO: GPS data processed {"connection_id":160672,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:03:00] local.INFO: Acknowledgment sent {"connection_id":160672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:03:27] local.INFO: TCP Data received {"connection_id":159761,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:03:27] local.INFO: Processing buffer {"connection_id":159761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:03:27] local.INFO: Packet analysis {"connection_id":159761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:03:27] local.INFO: Extracted packet for processing {"connection_id":159761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563704832001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:03: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-22 06:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787358523000,"timestamp_ms":1787358523000,"timestamp_seconds":1787358523,"priority":1,"record_length":96,"hex_timestamp":"000001a026deae78"} 
[2026-08-22 06:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:03:27] 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-22 06:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:03:27] 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-22 06:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563704832001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563704832001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:03:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563704832001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":159761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:03:27] local.INFO: GPS data processed {"connection_id":159761,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:03:27] local.INFO: Acknowledgment sent {"connection_id":159761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:03:31] local.INFO: TCP Data received {"connection_id":160672,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026e205f0012d181f800721af30003d00ce27..."} 
[2026-08-22 06:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e205f0012d181f800721af30003d00ce27..."} 
[2026-08-22 06:03:31] local.INFO: Processing buffer {"connection_id":160672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e205f0012d181f800721af30003d00ce27..."} 
[2026-08-22 06:03:31] local.INFO: Packet analysis {"connection_id":160672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e2"} 
[2026-08-22 06:03:31] local.INFO: Extracted packet for processing {"connection_id":160672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e2"} 
[2026-08-22 06:03:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563832832001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:03:31] local.INFO: IO Element Parsed {"io_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-22 06:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787358742000,"timestamp_ms":1787358742000,"timestamp_seconds":1787358742,"priority":1,"record_length":96,"hex_timestamp":"000001a026e205f0"} 
[2026-08-22 06: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-22 06:03:31] 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-22 06: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:03:31] 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-22 06: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-22 06: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-22 06:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:03:31] 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-22 06:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563832832001,"66":12526,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563832832001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:03:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:03:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563832832001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":160672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:03:31] local.INFO: GPS data processed {"connection_id":160672,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:03:31] local.INFO: Acknowledgment sent {"connection_id":160672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:03:50] local.INFO: TCP Data received {"connection_id":162082,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:03:50] local.INFO: Processing buffer {"connection_id":162082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:03:50] local.INFO: IMEI packet received {"connection_id":162082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":162082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:03:53] local.INFO: TCP Data received {"connection_id":159495,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:03:53] local.INFO: Processing buffer {"connection_id":159495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:03:53] local.INFO: IMEI packet received {"connection_id":159495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":159495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:03:55] local.INFO: TCP Data received {"connection_id":162082,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:03:55] local.INFO: Processing buffer {"connection_id":162082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:03:55] local.INFO: IMEI packet received {"connection_id":162082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":162082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:03:56] local.INFO: TCP Data received {"connection_id":162082,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:03:56] local.INFO: Processing buffer {"connection_id":162082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026deae78012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 06:03:56] local.INFO: Packet analysis {"connection_id":162082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:03:56] local.INFO: Extracted packet for processing {"connection_id":162082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026de"} 
[2026-08-22 06:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563704832001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787358523000,"timestamp_ms":1787358523000,"timestamp_seconds":1787358523,"priority":1,"record_length":96,"hex_timestamp":"000001a026deae78"} 
[2026-08-22 06: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-22 06:03:56] 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-22 06: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:03: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-22 06: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-22 06: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-22 06:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563704832001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563704832001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:03:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563704832001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":162082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:03:56] local.INFO: GPS data processed {"connection_id":162082,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:03:56] local.INFO: Acknowledgment sent {"connection_id":162082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:03:59] local.INFO: TCP Data received {"connection_id":159495,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:03:59] local.INFO: Processing buffer {"connection_id":159495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:03:59] local.INFO: IMEI packet received {"connection_id":159495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":159495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:04:00] local.INFO: TCP Data received {"connection_id":159495,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026e25410012d181f800721af30003d00ce28..."} 
[2026-08-22 06:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e25410012d181f800721af30003d00ce28..."} 
[2026-08-22 06:04:00] local.INFO: Processing buffer {"connection_id":159495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e25410012d181f800721af30003d00ce28..."} 
[2026-08-22 06:04:00] local.INFO: Packet analysis {"connection_id":159495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e2"} 
[2026-08-22 06:04:00] local.INFO: Extracted packet for processing {"connection_id":159495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e2"} 
[2026-08-22 06:04:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563837952001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:04:00] local.INFO: IO Element Parsed {"io_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-22 06:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787358762000,"timestamp_ms":1787358762000,"timestamp_seconds":1787358762,"priority":1,"record_length":96,"hex_timestamp":"000001a026e25410"} 
[2026-08-22 06: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-22 06:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:04:00] 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-22 06: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-22 06: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-22 06:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:04:00] 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-22 06:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563837952001,"66":12461,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563837952001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:04:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:04:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563837952001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":159495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:04:00] local.INFO: GPS data processed {"connection_id":159495,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:04:00] local.INFO: Acknowledgment sent {"connection_id":159495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:04:27] local.INFO: TCP Data received {"connection_id":162082,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:04:27] local.INFO: Processing buffer {"connection_id":162082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:04:27] local.INFO: Packet analysis {"connection_id":162082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:04:27] local.INFO: Extracted packet for processing {"connection_id":162082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:04:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563781888001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:04: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-22 06:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787358824000,"timestamp_ms":1787358824000,"timestamp_seconds":1787358824,"priority":1,"record_length":96,"hex_timestamp":"000001a026e34640"} 
[2026-08-22 06:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:04:27] 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-22 06:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:04:27] 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-22 06:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563781888001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563781888001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:04:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:04:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563781888001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":162082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:04:27] local.INFO: GPS data processed {"connection_id":162082,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:04:27] local.INFO: Acknowledgment sent {"connection_id":162082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:04:31] local.INFO: TCP Data received {"connection_id":159495,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026e2a230012d181f800721af30003d00ce29..."} 
[2026-08-22 06:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e2a230012d181f800721af30003d00ce29..."} 
[2026-08-22 06:04:31] local.INFO: Processing buffer {"connection_id":159495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e2a230012d181f800721af30003d00ce29..."} 
[2026-08-22 06:04:31] local.INFO: Packet analysis {"connection_id":159495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e2"} 
[2026-08-22 06:04:31] local.INFO: Extracted packet for processing {"connection_id":159495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e2"} 
[2026-08-22 06:04:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563843072001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:04:31] local.INFO: IO Element Parsed {"io_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-22 06:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787358782000,"timestamp_ms":1787358782000,"timestamp_seconds":1787358782,"priority":1,"record_length":96,"hex_timestamp":"000001a026e2a230"} 
[2026-08-22 06: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-22 06:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 06:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:04:31] 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-22 06:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563843072001,"66":12504,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563843072001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:04:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:04:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563843072001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":159495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:04:31] local.INFO: GPS data processed {"connection_id":159495,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:04:31] local.INFO: Acknowledgment sent {"connection_id":159495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:04:55] local.INFO: TCP Data received {"connection_id":159762,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:04:55] local.INFO: Processing buffer {"connection_id":159762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:04:55] local.INFO: IMEI packet received {"connection_id":159762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":159762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:04:59] local.INFO: TCP Data received {"connection_id":159763,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:04:59] local.INFO: Processing buffer {"connection_id":159763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:04:59] local.INFO: IMEI packet received {"connection_id":159763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":159763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:05:00] local.INFO: TCP Data received {"connection_id":159762,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:05:00] local.INFO: Processing buffer {"connection_id":159762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:05:00] local.INFO: IMEI packet received {"connection_id":159762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":159762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:05:01] local.INFO: TCP Data received {"connection_id":159762,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:05:01] local.INFO: Processing buffer {"connection_id":159762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:05:01] local.INFO: Packet analysis {"connection_id":159762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:05:01] local.INFO: Extracted packet for processing {"connection_id":159762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563781888001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05: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-22 06:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787358824000,"timestamp_ms":1787358824000,"timestamp_seconds":1787358824,"priority":1,"record_length":96,"hex_timestamp":"000001a026e34640"} 
[2026-08-22 06: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-22 06:05:01] 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-22 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:05:01] 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-22 06: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-22 06: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-22 06:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563781888001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563781888001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:05:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563781888001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":159762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:05:01] local.INFO: GPS data processed {"connection_id":159762,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:05:01] local.INFO: Acknowledgment sent {"connection_id":159762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:05:02] local.INFO: TCP Data received {"connection_id":159763,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:05:02] local.INFO: Processing buffer {"connection_id":159763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:05:02] local.INFO: IMEI packet received {"connection_id":159763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":159763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:05:02] local.INFO: TCP Data received {"connection_id":159763,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026e2ec68012d181f800721af30003d00ce28..."} 
[2026-08-22 06:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e2ec68012d181f800721af30003d00ce28..."} 
[2026-08-22 06:05:02] local.INFO: Processing buffer {"connection_id":159763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e2ec68012d181f800721af30003d00ce28..."} 
[2026-08-22 06:05:02] local.INFO: Packet analysis {"connection_id":159763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e2"} 
[2026-08-22 06:05:02] local.INFO: Extracted packet for processing {"connection_id":159763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e2"} 
[2026-08-22 06:05:02] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563848192001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05:02] local.INFO: IO Element Parsed {"io_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-22 06:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787358801000,"timestamp_ms":1787358801000,"timestamp_seconds":1787358801,"priority":1,"record_length":96,"hex_timestamp":"000001a026e2ec68"} 
[2026-08-22 06: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-22 06:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 06:05:02] 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-22 06: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-22 06: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-22 06:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:05:02] 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-22 06:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563848192001,"66":12515,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563848192001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:05:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:05:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563848192001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":159763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:05:02] local.INFO: GPS data processed {"connection_id":159763,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:05:02] local.INFO: Acknowledgment sent {"connection_id":159763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:05:04] local.INFO: TCP Data received {"connection_id":159763,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026e33a88012d181f800721af30003d00ce29..."} 
[2026-08-22 06:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e33a88012d181f800721af30003d00ce29..."} 
[2026-08-22 06:05:04] local.INFO: Processing buffer {"connection_id":159763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e33a88012d181f800721af30003d00ce29..."} 
[2026-08-22 06:05:04] local.INFO: Packet analysis {"connection_id":159763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:05:04] local.INFO: Extracted packet for processing {"connection_id":159763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563853056001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05:04] local.INFO: IO Element Parsed {"io_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-22 06:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787358821000,"timestamp_ms":1787358821000,"timestamp_seconds":1787358821,"priority":1,"record_length":96,"hex_timestamp":"000001a026e33a88"} 
[2026-08-22 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-22 06:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-22 06:05:04] 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-22 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-22 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-22 06:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:05:04] 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-22 06:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563853056001,"66":12504,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563853056001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:05:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563853056001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":159763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:05:04] local.INFO: GPS data processed {"connection_id":159763,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:05:04] local.INFO: Acknowledgment sent {"connection_id":159763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:05:05] local.INFO: TCP Data received {"connection_id":159762,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:05:05] local.INFO: Processing buffer {"connection_id":159762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:05:05] local.INFO: Packet analysis {"connection_id":159762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:05:05] local.INFO: Extracted packet for processing {"connection_id":159762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563781888001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05:05] 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-22 06:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787358824000,"timestamp_ms":1787358824000,"timestamp_seconds":1787358824,"priority":1,"record_length":96,"hex_timestamp":"000001a026e34640"} 
[2026-08-22 06:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:05:05] 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-22 06:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:05:05] 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-22 06:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563781888001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563781888001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:05:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563781888001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":159762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:05:05] local.INFO: GPS data processed {"connection_id":159762,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:05:05] local.INFO: Acknowledgment sent {"connection_id":159762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:05:34] local.INFO: TCP Data received {"connection_id":159763,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a026e388a8012d181f800721af30003d00ce27..."} 
[2026-08-22 06:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e388a8012d181f800721af30003d00ce27..."} 
[2026-08-22 06:05:34] local.INFO: Processing buffer {"connection_id":159763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e388a8012d181f800721af30003d00ce27..."} 
[2026-08-22 06:05:34] local.INFO: Packet analysis {"connection_id":159763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:05:34] local.INFO: Extracted packet for processing {"connection_id":159763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:05:34] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563858176001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05: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-22 06:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787358841000,"timestamp_ms":1787358841000,"timestamp_seconds":1787358841,"priority":1,"record_length":96,"hex_timestamp":"000001a026e388a8"} 
[2026-08-22 06: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-22 06:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 06:05:34] 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-22 06: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-22 06: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-22 06:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:05:34] 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-22 06:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563858176001,"66":12504,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563858176001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:05:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:05:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563858176001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":159763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:05:35] local.INFO: GPS data processed {"connection_id":159763,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:05:35] local.INFO: Acknowledgment sent {"connection_id":159763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:05:50] local.INFO: TCP Data received {"connection_id":160673,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:05:50] local.INFO: Processing buffer {"connection_id":160673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:05:50] local.INFO: IMEI packet received {"connection_id":160673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":160673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:05:54] local.INFO: TCP Data received {"connection_id":159496,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:05:54] local.INFO: Processing buffer {"connection_id":159496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:05:54] local.INFO: IMEI packet received {"connection_id":159496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":159496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:05:55] local.INFO: TCP Data received {"connection_id":160673,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:05:55] local.INFO: Processing buffer {"connection_id":160673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:05:55] local.INFO: IMEI packet received {"connection_id":160673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":160673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:05:56] local.INFO: TCP Data received {"connection_id":160673,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:05:56] local.INFO: Processing buffer {"connection_id":160673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:05:56] local.INFO: Packet analysis {"connection_id":160673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:05:56] local.INFO: Extracted packet for processing {"connection_id":160673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563781888001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:05: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-22 06:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787358824000,"timestamp_ms":1787358824000,"timestamp_seconds":1787358824,"priority":1,"record_length":96,"hex_timestamp":"000001a026e34640"} 
[2026-08-22 06: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-22 06:05:56] 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-22 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:05: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-22 06: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-22 06: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-22 06:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563781888001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563781888001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:05:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563781888001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":160673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:05:56] local.INFO: GPS data processed {"connection_id":160673,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:05:56] local.INFO: Acknowledgment sent {"connection_id":160673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:05:59] local.INFO: TCP Data received {"connection_id":159496,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:05:59] local.INFO: Processing buffer {"connection_id":159496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:05:59] local.INFO: IMEI packet received {"connection_id":159496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":159496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:06:00] local.INFO: TCP Data received {"connection_id":159496,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a026e3d6c8012d181f800721af30003d00ce27..."} 
[2026-08-22 06:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e3d6c8012d181f800721af30003d00ce27..."} 
[2026-08-22 06:06:00] local.INFO: Processing buffer {"connection_id":159496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e3d6c8012d181f800721af30003d00ce27..."} 
[2026-08-22 06:06:00] local.INFO: Packet analysis {"connection_id":159496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:06:00] local.INFO: Extracted packet for processing {"connection_id":159496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:06:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563863296001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:06:00] local.INFO: IO Element Parsed {"io_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-22 06:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787358861000,"timestamp_ms":1787358861000,"timestamp_seconds":1787358861,"priority":1,"record_length":96,"hex_timestamp":"000001a026e3d6c8"} 
[2026-08-22 06: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-22 06:06:00] 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-22 06: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 06:06:00] 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-22 06: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-22 06: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-22 06:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:06:00] 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-22 06:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563863296001,"66":12461,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563863296001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:06:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:06:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563863296001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":159496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:06:00] local.INFO: GPS data processed {"connection_id":159496,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:06:00] local.INFO: Acknowledgment sent {"connection_id":159496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:06:27] local.INFO: TCP Data received {"connection_id":160673,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:06:27] local.INFO: Processing buffer {"connection_id":160673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:06:27] local.INFO: Packet analysis {"connection_id":160673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:06:27] local.INFO: Extracted packet for processing {"connection_id":160673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563781888001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:06: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-22 06:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787358824000,"timestamp_ms":1787358824000,"timestamp_seconds":1787358824,"priority":1,"record_length":96,"hex_timestamp":"000001a026e34640"} 
[2026-08-22 06: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-22 06:06:27] 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-22 06:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:06:27] 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-22 06: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-22 06: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-22 06:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563781888001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563781888001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:06:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563781888001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":160673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:06:27] local.INFO: GPS data processed {"connection_id":160673,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:06:27] local.INFO: Acknowledgment sent {"connection_id":160673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:06:31] local.INFO: TCP Data received {"connection_id":159496,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a026e424e8012d181f800721af30003d00ce29..."} 
[2026-08-22 06:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e424e8012d181f800721af30003d00ce29..."} 
[2026-08-22 06:06:31] local.INFO: Processing buffer {"connection_id":159496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e424e8012d181f800721af30003d00ce29..."} 
[2026-08-22 06:06:31] local.INFO: Packet analysis {"connection_id":159496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e4"} 
[2026-08-22 06:06:31] local.INFO: Extracted packet for processing {"connection_id":159496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e4"} 
[2026-08-22 06:06:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563868416001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:06:31] local.INFO: IO Element Parsed {"io_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-22 06:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787358881000,"timestamp_ms":1787358881000,"timestamp_seconds":1787358881,"priority":1,"record_length":96,"hex_timestamp":"000001a026e424e8"} 
[2026-08-22 06: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-22 06:06:31] 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-22 06: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 06:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:06:31] 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-22 06:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563868416001,"66":12439,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563868416001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:06:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:06:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563868416001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":159496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:06:31] local.INFO: GPS data processed {"connection_id":159496,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:06:31] local.INFO: Acknowledgment sent {"connection_id":159496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:06:50] local.INFO: TCP Data received {"connection_id":159764,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:06:50] local.INFO: Processing buffer {"connection_id":159764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:06:50] local.INFO: IMEI packet received {"connection_id":159764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":159764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:06:54] local.INFO: TCP Data received {"connection_id":162083,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:06:54] local.INFO: Processing buffer {"connection_id":162083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:06:54] local.INFO: IMEI packet received {"connection_id":162083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":162083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:06:55] local.INFO: TCP Data received {"connection_id":159764,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:06:55] local.INFO: Processing buffer {"connection_id":159764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:06:55] local.INFO: IMEI packet received {"connection_id":159764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":159764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:06:56] local.INFO: TCP Data received {"connection_id":159764,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:06:56] local.INFO: Processing buffer {"connection_id":159764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:06:56] local.INFO: Packet analysis {"connection_id":159764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:06:56] local.INFO: Extracted packet for processing {"connection_id":159764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563781888001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:06: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-22 06:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787358824000,"timestamp_ms":1787358824000,"timestamp_seconds":1787358824,"priority":1,"record_length":96,"hex_timestamp":"000001a026e34640"} 
[2026-08-22 06: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-22 06:06:56] 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-22 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:06: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-22 06: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-22 06: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-22 06:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563781888001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563781888001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:06:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563781888001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":159764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:06:56] local.INFO: GPS data processed {"connection_id":159764,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:06:56] local.INFO: Acknowledgment sent {"connection_id":159764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:06:59] local.INFO: TCP Data received {"connection_id":162083,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:06:59] local.INFO: Processing buffer {"connection_id":162083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:06:59] local.INFO: IMEI packet received {"connection_id":162083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":162083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:07:00] local.INFO: TCP Data received {"connection_id":162083,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a026e46750012d181f800721af30003d00ce28..."} 
[2026-08-22 06:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e46750012d181f800721af30003d00ce28..."} 
[2026-08-22 06:07:00] local.INFO: Processing buffer {"connection_id":162083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e46750012d181f800721af30003d00ce28..."} 
[2026-08-22 06:07:00] local.INFO: Packet analysis {"connection_id":162083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e4"} 
[2026-08-22 06:07:00] local.INFO: Extracted packet for processing {"connection_id":162083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e4"} 
[2026-08-22 06:07:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563873536001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:07:00] local.INFO: IO Element Parsed {"io_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-22 06:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787358898000,"timestamp_ms":1787358898000,"timestamp_seconds":1787358898,"priority":1,"record_length":96,"hex_timestamp":"000001a026e46750"} 
[2026-08-22 06: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-22 06:07:00] 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-22 06: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 06:07:00] 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-22 06: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-22 06: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-22 06:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:07:00] 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-22 06:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563873536001,"66":12461,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563873536001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:07:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:07:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563873536001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":162083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:07:00] local.INFO: GPS data processed {"connection_id":162083,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:07:00] local.INFO: Acknowledgment sent {"connection_id":162083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:07:27] local.INFO: TCP Data received {"connection_id":159764,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:07:27] local.INFO: Processing buffer {"connection_id":159764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:07:27] local.INFO: Packet analysis {"connection_id":159764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:07:27] local.INFO: Extracted packet for processing {"connection_id":159764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563781888001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:07: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-22 06:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787358824000,"timestamp_ms":1787358824000,"timestamp_seconds":1787358824,"priority":1,"record_length":96,"hex_timestamp":"000001a026e34640"} 
[2026-08-22 06: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-22 06:07:27] 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-22 06:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:07:27] 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-22 06: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-22 06: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-22 06:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563781888001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563781888001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:07:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:07:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563781888001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":159764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:07:27] local.INFO: GPS data processed {"connection_id":159764,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:07:27] local.INFO: Acknowledgment sent {"connection_id":159764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:07:31] local.INFO: TCP Data received {"connection_id":162083,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a026e46b38012d181f800721af30003d00ce28..."} 
[2026-08-22 06:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e46b38012d181f800721af30003d00ce28..."} 
[2026-08-22 06:07:31] local.INFO: Processing buffer {"connection_id":162083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e46b38012d181f800721af30003d00ce28..."} 
[2026-08-22 06:07:31] local.INFO: Packet analysis {"connection_id":162083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e4"} 
[2026-08-22 06:07:31] local.INFO: Extracted packet for processing {"connection_id":162083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e4"} 
[2026-08-22 06:07:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06:07:31] 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-22 06:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563877888001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:07:31] local.INFO: IO Element Parsed {"io_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-22 06:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787358899000,"timestamp_ms":1787358899000,"timestamp_seconds":1787358899,"priority":1,"record_length":96,"hex_timestamp":"000001a026e46b38"} 
[2026-08-22 06: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-22 06:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 06: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 06:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:07:31] 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-22 06:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563877888001,"66":4623,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563877888001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:07:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:07:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563877888001,"power":4623,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":162083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:07:31] local.INFO: GPS data processed {"connection_id":162083,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:07:31] local.INFO: Acknowledgment sent {"connection_id":162083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:07:50] local.INFO: TCP Data received {"connection_id":159765,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:07:50] local.INFO: Processing buffer {"connection_id":159765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:07:50] local.INFO: IMEI packet received {"connection_id":159765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":159765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:07:53] local.INFO: TCP Data received {"connection_id":159497,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:07:53] local.INFO: Processing buffer {"connection_id":159497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:07:53] local.INFO: IMEI packet received {"connection_id":159497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":159497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:07:55] local.INFO: TCP Data received {"connection_id":159765,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:07:55] local.INFO: Processing buffer {"connection_id":159765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:07:55] local.INFO: IMEI packet received {"connection_id":159765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":159765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:07:56] local.INFO: TCP Data received {"connection_id":159765,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:07:56] local.INFO: Processing buffer {"connection_id":159765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:07:56] local.INFO: Packet analysis {"connection_id":159765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:07:56] local.INFO: Extracted packet for processing {"connection_id":159765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563781888001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:07: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-22 06:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787358824000,"timestamp_ms":1787358824000,"timestamp_seconds":1787358824,"priority":1,"record_length":96,"hex_timestamp":"000001a026e34640"} 
[2026-08-22 06:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:07:56] 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-22 06:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:07: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-22 06:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563781888001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563781888001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:07:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563781888001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":159765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:07:56] local.INFO: GPS data processed {"connection_id":159765,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:07:56] local.INFO: Acknowledgment sent {"connection_id":159765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:07:59] local.INFO: TCP Data received {"connection_id":159497,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:07:59] local.INFO: Processing buffer {"connection_id":159497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:07:59] local.INFO: IMEI packet received {"connection_id":159497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":159497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:08:00] local.INFO: TCP Data received {"connection_id":159497,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a026e46b38012d181f800721af30003d00ce28..."} 
[2026-08-22 06:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e46b38012d181f800721af30003d00ce28..."} 
[2026-08-22 06:08:00] local.INFO: Processing buffer {"connection_id":159497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e46b38012d181f800721af30003d00ce28..."} 
[2026-08-22 06:08:00] local.INFO: Packet analysis {"connection_id":159497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e4"} 
[2026-08-22 06:08:00] local.INFO: Extracted packet for processing {"connection_id":159497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e4"} 
[2026-08-22 06:08:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06:08:00] 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-22 06:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563878144001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:00] local.INFO: IO Element Parsed {"io_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-22 06:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787358899000,"timestamp_ms":1787358899000,"timestamp_seconds":1787358899,"priority":1,"record_length":96,"hex_timestamp":"000001a026e46b38"} 
[2026-08-22 06: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-22 06:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 06: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":18,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 06:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:00] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709952,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:00] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185650,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:00] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4611686018427387905,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:00] local.WARNING: Large IO value detected {"io_id":61,"raw_value":58028925179133952,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:00] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832554,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:00] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3519563991043604686,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:00] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3817383937,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2939158589,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:00] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,105,83,24,241,157,16,242,160,103,45,128,175,61,40,10,66,36,41,214,1,240,173,227,38,33],"length":429,"final_offset":559,"validated_count":26,"validation_warnings":[]} 
[2026-08-22 06:08:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739907507617823,"timestamp_seconds":4395739907507618.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:08:00] 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-22 06:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563878144001,"66":4623,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563878144001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:08:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:08:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563878144001,"power":4623,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":159497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:08:00] local.INFO: GPS data processed {"connection_id":159497,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:08:00] local.INFO: Acknowledgment sent {"connection_id":159497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:08:27] local.INFO: TCP Data received {"connection_id":159765,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:08:27] local.INFO: Processing buffer {"connection_id":159765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:08:27] local.INFO: Packet analysis {"connection_id":159765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:08:27] local.INFO: Extracted packet for processing {"connection_id":159765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563781888001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08: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-22 06:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787358824000,"timestamp_ms":1787358824000,"timestamp_seconds":1787358824,"priority":1,"record_length":96,"hex_timestamp":"000001a026e34640"} 
[2026-08-22 06: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-22 06:08:27] 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-22 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:08:27] 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-22 06: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-22 06: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-22 06:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563781888001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563781888001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:08:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563781888001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":159765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:08:27] local.INFO: GPS data processed {"connection_id":159765,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:08:27] local.INFO: Acknowledgment sent {"connection_id":159765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:08:31] local.INFO: TCP Data received {"connection_id":159497,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a026e47308012d181f800721af30003d00ce29..."} 
[2026-08-22 06:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e47308012d181f800721af30003d00ce29..."} 
[2026-08-22 06:08:31] local.INFO: Processing buffer {"connection_id":159497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e47308012d181f800721af30003d00ce29..."} 
[2026-08-22 06:08:31] local.INFO: Packet analysis {"connection_id":159497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e4"} 
[2026-08-22 06:08:31] local.INFO: Extracted packet for processing {"connection_id":159497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e4"} 
[2026-08-22 06:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563878144001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:31] local.INFO: IO Element Parsed {"io_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-22 06:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787358901000,"timestamp_ms":1787358901000,"timestamp_seconds":1787358901,"priority":1,"record_length":96,"hex_timestamp":"000001a026e47308"} 
[2026-08-22 06: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-22 06:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 06: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":18,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 06:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:31] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709952,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:31] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185650,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:31] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4611686018427387905,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:31] local.WARNING: Large IO value detected {"io_id":61,"raw_value":58026726155878400,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:31] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832556,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:31] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3519563991043604686,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:31] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3822503937,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2939158589,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:31] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,105,83,24,241,157,16,242,160,107,45,128,175,61,40,10,66,103,36,1,240,151,227,38,33],"length":429,"final_offset":559,"validated_count":25,"validation_warnings":[]} 
[2026-08-22 06:08:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739907507617858,"timestamp_seconds":4395739907507618.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:08:31] 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-22 06:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563878144001,"66":2590,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563878144001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:08:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:08:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563878144001,"power":2590,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":159497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:08:31] local.INFO: GPS data processed {"connection_id":159497,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:08:31] local.INFO: Acknowledgment sent {"connection_id":159497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:08:50] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:08:50] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:08:50] local.INFO: IMEI packet received {"connection_id":162084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":162084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:08:53] local.INFO: TCP Data received {"connection_id":160674,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:08:53] local.INFO: Processing buffer {"connection_id":160674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:08:53] local.INFO: IMEI packet received {"connection_id":160674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":160674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:08:55] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:08:55] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:08:55] local.INFO: IMEI packet received {"connection_id":162084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":162084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:08:56] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:08:56] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e34640012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:08:56] local.INFO: Packet analysis {"connection_id":162084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:08:56] local.INFO: Extracted packet for processing {"connection_id":162084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e3"} 
[2026-08-22 06:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563781888001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787358824000,"timestamp_ms":1787358824000,"timestamp_seconds":1787358824,"priority":1,"record_length":96,"hex_timestamp":"000001a026e34640"} 
[2026-08-22 06: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-22 06:08:56] 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-22 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:08: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-22 06: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-22 06: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-22 06:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563781888001,"66":25604,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563781888001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:08:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563781888001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":162084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:08:56] local.INFO: GPS data processed {"connection_id":162084,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:08:56] local.INFO: Acknowledgment sent {"connection_id":162084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:08:59] local.INFO: TCP Data received {"connection_id":160674,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:08:59] local.INFO: Processing buffer {"connection_id":160674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:08:59] local.INFO: IMEI packet received {"connection_id":160674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":160674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:09:00] local.INFO: TCP Data received {"connection_id":160674,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a026e47308012d181f800721af30003d00ce29..."} 
[2026-08-22 06:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e47308012d181f800721af30003d00ce29..."} 
[2026-08-22 06:09:00] local.INFO: Processing buffer {"connection_id":160674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e47308012d181f800721af30003d00ce29..."} 
[2026-08-22 06:09:00] local.INFO: Packet analysis {"connection_id":160674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e4"} 
[2026-08-22 06:09:00] local.INFO: Extracted packet for processing {"connection_id":160674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e4"} 
[2026-08-22 06:09:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563878144001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:00] local.INFO: IO Element Parsed {"io_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-22 06:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787358901000,"timestamp_ms":1787358901000,"timestamp_seconds":1787358901,"priority":1,"record_length":96,"hex_timestamp":"000001a026e47308"} 
[2026-08-22 06: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-22 06:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 06: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":18,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 06:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:00] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709952,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:00] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185650,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:00] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4611686018427387905,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:00] local.WARNING: Large IO value detected {"io_id":61,"raw_value":58026726155878400,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:00] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832556,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:00] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3519563991043604686,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:00] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3822503937,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2939158589,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:00] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,105,83,24,241,157,16,242,160,107,45,128,175,61,40,10,66,103,36,1,240,151,227,38,33],"length":429,"final_offset":559,"validated_count":25,"validation_warnings":[]} 
[2026-08-22 06:09:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739907507617858,"timestamp_seconds":4395739907507618.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:09:00] 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-22 06:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563878144001,"66":2590,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563878144001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:09:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:09:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563878144001,"power":2590,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":160674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:09:00] local.INFO: GPS data processed {"connection_id":160674,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:09:00] local.INFO: Acknowledgment sent {"connection_id":160674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:09:27] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:09:27] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:09:27] local.INFO: Packet analysis {"connection_id":162084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:09:27] local.INFO: Extracted packet for processing {"connection_id":162084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563858944001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09: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-22 06:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787359125000,"timestamp_ms":1787359125000,"timestamp_seconds":1787359125,"priority":1,"record_length":96,"hex_timestamp":"000001a026e7de08"} 
[2026-08-22 06: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-22 06:09:27] 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-22 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:09:27] 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-22 06: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-22 06: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-22 06:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563858944001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563858944001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:09:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563858944001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":162084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:09:27] local.INFO: GPS data processed {"connection_id":162084,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:09:27] local.INFO: Acknowledgment sent {"connection_id":162084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:09:52] local.INFO: TCP Data received {"connection_id":160674,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a026e47308012d181f800721af30003d00ce29..."} 
[2026-08-22 06:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e47308012d181f800721af30003d00ce29..."} 
[2026-08-22 06:09:52] local.INFO: Processing buffer {"connection_id":160674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e47308012d181f800721af30003d00ce29..."} 
[2026-08-22 06:09:52] local.INFO: Packet analysis {"connection_id":160674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e4"} 
[2026-08-22 06:09:52] local.INFO: Extracted packet for processing {"connection_id":160674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e4"} 
[2026-08-22 06:09:52] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563878144001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09: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-22 06:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787358901000,"timestamp_ms":1787358901000,"timestamp_seconds":1787358901,"priority":1,"record_length":96,"hex_timestamp":"000001a026e47308"} 
[2026-08-22 06: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-22 06:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 06: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":18,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 06:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:52] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709952,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:52] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185650,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:52] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4611686018427387905,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:52] local.WARNING: Large IO value detected {"io_id":61,"raw_value":58026726155878400,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:52] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832556,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:52] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3519563991043604686,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:52] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3822503937,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:52] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2939158589,"note":"Value kept but may cause issues"} 
[2026-08-22 06:09:52] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,105,83,24,241,157,16,242,160,107,45,128,175,61,40,10,66,103,36,1,240,151,227,38,33],"length":429,"final_offset":559,"validated_count":25,"validation_warnings":[]} 
[2026-08-22 06:09:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739907507617858,"timestamp_seconds":4395739907507618.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:09:52] 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-22 06:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563878144001,"66":2590,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563878144001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:09:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:09:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563878144001,"power":2590,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":160674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:09:52] local.INFO: GPS data processed {"connection_id":160674,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:09:52] local.INFO: Acknowledgment sent {"connection_id":160674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:09:53] local.INFO: TCP Data received {"connection_id":162086,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:09:53] local.INFO: Processing buffer {"connection_id":162086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:09:53] local.INFO: IMEI packet received {"connection_id":162086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":162086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:09:55] local.INFO: TCP Data received {"connection_id":162085,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:09:55] local.INFO: Processing buffer {"connection_id":162085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:09:55] local.INFO: IMEI packet received {"connection_id":162085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":162085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:09:59] local.INFO: TCP Data received {"connection_id":162086,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:09:59] local.INFO: Processing buffer {"connection_id":162086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:09:59] local.INFO: IMEI packet received {"connection_id":162086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":162086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:10:00] local.INFO: TCP Data received {"connection_id":162086,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a026e47308012d181f800721af30003d00ce29..."} 
[2026-08-22 06:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e47308012d181f800721af30003d00ce29..."} 
[2026-08-22 06:10:00] local.INFO: Processing buffer {"connection_id":162086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e47308012d181f800721af30003d00ce29..."} 
[2026-08-22 06:10:00] local.INFO: Packet analysis {"connection_id":162086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e4"} 
[2026-08-22 06:10:00] local.INFO: Extracted packet for processing {"connection_id":162086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e4"} 
[2026-08-22 06:10:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563878144001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:00] local.INFO: IO Element Parsed {"io_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-22 06:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787358901000,"timestamp_ms":1787358901000,"timestamp_seconds":1787358901,"priority":1,"record_length":96,"hex_timestamp":"000001a026e47308"} 
[2026-08-22 06: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-22 06:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 06: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":18,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 06:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:00] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709952,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:00] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185650,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:00] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4611686018427387905,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:00] local.WARNING: Large IO value detected {"io_id":61,"raw_value":58026726155878400,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:00] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832556,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:00] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3519563991043604686,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:00] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3822503937,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2939158589,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:00] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,105,83,24,241,157,16,242,160,107,45,128,175,61,40,10,66,103,36,1,240,151,227,38,33],"length":429,"final_offset":559,"validated_count":25,"validation_warnings":[]} 
[2026-08-22 06:10:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739907507617858,"timestamp_seconds":4395739907507618.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:10:00] 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-22 06:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563878144001,"66":2590,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563878144001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:10:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:10:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563878144001,"power":2590,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":162086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:10:00] local.INFO: GPS data processed {"connection_id":162086,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:10:00] local.INFO: Acknowledgment sent {"connection_id":162086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:10:00] local.INFO: TCP Data received {"connection_id":162085,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:10:00] local.INFO: Processing buffer {"connection_id":162085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:10:00] local.INFO: IMEI packet received {"connection_id":162085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":162085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:10:01] local.INFO: TCP Data received {"connection_id":162085,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:10:01] local.INFO: Processing buffer {"connection_id":162085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:10:01] local.INFO: Packet analysis {"connection_id":162085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:10:01] local.INFO: Extracted packet for processing {"connection_id":162085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563858944001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10: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-22 06:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787359125000,"timestamp_ms":1787359125000,"timestamp_seconds":1787359125,"priority":1,"record_length":96,"hex_timestamp":"000001a026e7de08"} 
[2026-08-22 06: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-22 06:10:01] 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-22 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:10: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-22 06: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-22 06: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-22 06:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563858944001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563858944001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:10:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563858944001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":162085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:10:01] local.INFO: GPS data processed {"connection_id":162085,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:10:01] local.INFO: Acknowledgment sent {"connection_id":162085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:10:31] local.INFO: TCP Data received {"connection_id":162086,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:10:31] local.INFO: Processing buffer {"connection_id":162086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:10:31] local.INFO: Packet analysis {"connection_id":162086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e8"} 
[2026-08-22 06:10:31] local.INFO: Extracted packet for processing {"connection_id":162086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e8"} 
[2026-08-22 06:10:31] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648000,"longitude_deg":75.6555456,"latitude_deg":11.9648,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af00","is_valid_coordinates":true} 
[2026-08-22 06:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563878656001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:31] local.INFO: IO Element Parsed {"io_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-22 06:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787359187000,"timestamp_ms":1787359187000,"timestamp_seconds":1787359187,"priority":1,"record_length":96,"hex_timestamp":"000001a026e8d038"} 
[2026-08-22 06:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 06:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-08-22 06:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:31] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-990791918021509120,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6906583137996690152,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:31] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-9221364675709485824,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:31] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620844183792,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:31] local.WARNING: Large IO value detected {"io_id":151,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-2970122661060968441,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-5823154056183535872,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:31] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:31] local.INFO: IO Element Parsed {"io_data_count":30,"io_data_keys":[0,105,83,24,241,157,16,242,160,107,45,128,175,61,40,10,66,103,240,173,50,1,31,206,4,151,227,33,106,44],"length":524,"final_offset":654,"validated_count":30,"validation_warnings":[]} 
[2026-08-22 06:10:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739911802585088,"timestamp_seconds":4395739911802585.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:10:31] 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-22 06:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563878656001,"66":2155,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563878656001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:10:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:10:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563878656001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":162086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:10:31] local.INFO: GPS data processed {"connection_id":162086,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:10:31] local.INFO: Acknowledgment sent {"connection_id":162086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:10:32] local.INFO: TCP Data received {"connection_id":162085,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:10:32] local.INFO: Processing buffer {"connection_id":162085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:10:32] local.INFO: Packet analysis {"connection_id":162085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:10:32] local.INFO: Extracted packet for processing {"connection_id":162085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563858944001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:32] 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-22 06:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787359125000,"timestamp_ms":1787359125000,"timestamp_seconds":1787359125,"priority":1,"record_length":96,"hex_timestamp":"000001a026e7de08"} 
[2026-08-22 06: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-22 06:10:32] 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-22 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:10:32] 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-22 06: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-22 06: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-22 06:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563858944001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563858944001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:10:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563858944001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":162085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:10:32] local.INFO: GPS data processed {"connection_id":162085,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:10:32] local.INFO: Acknowledgment sent {"connection_id":162085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:10:50] local.INFO: TCP Data received {"connection_id":159498,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:10:50] local.INFO: Processing buffer {"connection_id":159498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:10:50] local.INFO: IMEI packet received {"connection_id":159498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":159498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:10:54] local.INFO: TCP Data received {"connection_id":159499,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:10:54] local.INFO: Processing buffer {"connection_id":159499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:10:54] local.INFO: IMEI packet received {"connection_id":159499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":159499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:10:55] local.INFO: TCP Data received {"connection_id":159498,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:10:55] local.INFO: Processing buffer {"connection_id":159498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:10:55] local.INFO: IMEI packet received {"connection_id":159498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":159498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:10:56] local.INFO: TCP Data received {"connection_id":159498,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:10:56] local.INFO: Processing buffer {"connection_id":159498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:10:56] local.INFO: Packet analysis {"connection_id":159498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:10:56] local.INFO: Extracted packet for processing {"connection_id":159498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563858944001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787359125000,"timestamp_ms":1787359125000,"timestamp_seconds":1787359125,"priority":1,"record_length":96,"hex_timestamp":"000001a026e7de08"} 
[2026-08-22 06: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-22 06:10:56] 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-22 06: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-22 06: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-22 06: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-22 06: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-22 06:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563858944001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563858944001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:10:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563858944001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":159498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:10:56] local.INFO: GPS data processed {"connection_id":159498,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:10:56] local.INFO: Acknowledgment sent {"connection_id":159498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:10:59] local.INFO: TCP Data received {"connection_id":159499,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:10:59] local.INFO: Processing buffer {"connection_id":159499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:10:59] local.INFO: IMEI packet received {"connection_id":159499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":159499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:11:00] local.INFO: TCP Data received {"connection_id":159499,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:11:00] local.INFO: Processing buffer {"connection_id":159499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:11:00] local.INFO: Packet analysis {"connection_id":159499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e8"} 
[2026-08-22 06:11:00] local.INFO: Extracted packet for processing {"connection_id":159499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e8"} 
[2026-08-22 06:11:00] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648000,"longitude_deg":75.6555456,"latitude_deg":11.9648,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af00","is_valid_coordinates":true} 
[2026-08-22 06:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563878656001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:00] local.INFO: IO Element Parsed {"io_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-22 06:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787359187000,"timestamp_ms":1787359187000,"timestamp_seconds":1787359187,"priority":1,"record_length":96,"hex_timestamp":"000001a026e8d038"} 
[2026-08-22 06: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-22 06:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 06: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":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-08-22 06:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:00] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-990791918021509120,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6906583137996690152,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:00] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-9221364675709485824,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:00] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620844183792,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:00] local.WARNING: Large IO value detected {"io_id":151,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:00] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-2970122661060968441,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-5823154056183535872,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:00] local.INFO: IO Element Parsed {"io_data_count":30,"io_data_keys":[0,105,83,24,241,157,16,242,160,107,45,128,175,61,40,10,66,103,240,173,50,1,31,206,4,151,227,33,106,44],"length":524,"final_offset":654,"validated_count":30,"validation_warnings":[]} 
[2026-08-22 06:11:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739911802585088,"timestamp_seconds":4395739911802585.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:11:00] 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-22 06:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563878656001,"66":2155,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563878656001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:11:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:11:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563878656001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":159499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:11:00] local.INFO: GPS data processed {"connection_id":159499,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:11:00] local.INFO: Acknowledgment sent {"connection_id":159499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:11:27] local.INFO: TCP Data received {"connection_id":159498,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:11:27] local.INFO: Processing buffer {"connection_id":159498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:11:27] local.INFO: Packet analysis {"connection_id":159498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:11:27] local.INFO: Extracted packet for processing {"connection_id":159498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563858944001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11: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-22 06:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787359125000,"timestamp_ms":1787359125000,"timestamp_seconds":1787359125,"priority":1,"record_length":96,"hex_timestamp":"000001a026e7de08"} 
[2026-08-22 06:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:11:27] 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-22 06:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:11:27] 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-22 06:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563858944001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563858944001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:11:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563858944001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":159498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:11:27] local.INFO: GPS data processed {"connection_id":159498,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:11:27] local.INFO: Acknowledgment sent {"connection_id":159498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:11:31] local.INFO: TCP Data received {"connection_id":159499,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:11:31] local.INFO: Processing buffer {"connection_id":159499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:11:31] local.INFO: Packet analysis {"connection_id":159499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e8"} 
[2026-08-22 06:11:31] local.INFO: Extracted packet for processing {"connection_id":159499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e8"} 
[2026-08-22 06:11:31] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648000,"longitude_deg":75.6555456,"latitude_deg":11.9648,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af00","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563878656001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:31] local.INFO: IO Element Parsed {"io_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-22 06:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787359187000,"timestamp_ms":1787359187000,"timestamp_seconds":1787359187,"priority":1,"record_length":96,"hex_timestamp":"000001a026e8d038"} 
[2026-08-22 06: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-22 06:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 06: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":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-08-22 06:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:31] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-990791918021509120,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6906583137996690152,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:31] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-9221364675709485824,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:31] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620844183792,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:31] local.WARNING: Large IO value detected {"io_id":151,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-2970122661060968441,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-5823154056183535872,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:31] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:31] local.INFO: IO Element Parsed {"io_data_count":30,"io_data_keys":[0,105,83,24,241,157,16,242,160,107,45,128,175,61,40,10,66,103,240,173,50,1,31,206,4,151,227,33,106,44],"length":524,"final_offset":654,"validated_count":30,"validation_warnings":[]} 
[2026-08-22 06:11:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739911802585088,"timestamp_seconds":4395739911802585.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:11:31] 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-22 06:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563878656001,"66":2155,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563878656001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:11:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:11:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563878656001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":159499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:11:31] local.INFO: GPS data processed {"connection_id":159499,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:11:31] local.INFO: Acknowledgment sent {"connection_id":159499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:11:50] local.INFO: TCP Data received {"connection_id":162087,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:11:50] local.INFO: Processing buffer {"connection_id":162087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:11:50] local.INFO: IMEI packet received {"connection_id":162087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":162087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:11:54] local.INFO: TCP Data received {"connection_id":162088,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:11:54] local.INFO: Processing buffer {"connection_id":162088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:11:54] local.INFO: IMEI packet received {"connection_id":162088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":162088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:11:55] local.INFO: TCP Data received {"connection_id":162087,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:11:55] local.INFO: Processing buffer {"connection_id":162087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:11:55] local.INFO: IMEI packet received {"connection_id":162087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":162087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:11:56] local.INFO: TCP Data received {"connection_id":162087,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:11:56] local.INFO: Processing buffer {"connection_id":162087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:11:56] local.INFO: Packet analysis {"connection_id":162087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:11:56] local.INFO: Extracted packet for processing {"connection_id":162087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563858944001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787359125000,"timestamp_ms":1787359125000,"timestamp_seconds":1787359125,"priority":1,"record_length":96,"hex_timestamp":"000001a026e7de08"} 
[2026-08-22 06: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-22 06:11:56] 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-22 06: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-22 06: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-22 06: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-22 06: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-22 06:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563858944001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563858944001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:11:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563858944001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":162087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:11:56] local.INFO: GPS data processed {"connection_id":162087,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:11:56] local.INFO: Acknowledgment sent {"connection_id":162087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:11:59] local.INFO: TCP Data received {"connection_id":162088,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:11:59] local.INFO: Processing buffer {"connection_id":162088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:11:59] local.INFO: IMEI packet received {"connection_id":162088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":162088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:12:00] local.INFO: TCP Data received {"connection_id":162088,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:12:00] local.INFO: Processing buffer {"connection_id":162088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:12:00] local.INFO: Packet analysis {"connection_id":162088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e8"} 
[2026-08-22 06:12:00] local.INFO: Extracted packet for processing {"connection_id":162088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e8"} 
[2026-08-22 06:12:00] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648000,"longitude_deg":75.6555456,"latitude_deg":11.9648,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af00","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563878656001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:00] local.INFO: IO Element Parsed {"io_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-22 06:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787359187000,"timestamp_ms":1787359187000,"timestamp_seconds":1787359187,"priority":1,"record_length":96,"hex_timestamp":"000001a026e8d038"} 
[2026-08-22 06: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-22 06:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 06: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":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-08-22 06:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:00] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-990791918021509120,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6906583137996690152,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:00] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-9221364675709485824,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:00] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620844183792,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:00] local.WARNING: Large IO value detected {"io_id":151,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:00] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-2970122661060968441,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-5823154056183535872,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:00] local.INFO: IO Element Parsed {"io_data_count":30,"io_data_keys":[0,105,83,24,241,157,16,242,160,107,45,128,175,61,40,10,66,103,240,173,50,1,31,206,4,151,227,33,106,44],"length":524,"final_offset":654,"validated_count":30,"validation_warnings":[]} 
[2026-08-22 06:12:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739911802585088,"timestamp_seconds":4395739911802585.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:12:00] 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-22 06:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563878656001,"66":2155,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563878656001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:12:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:12:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563878656001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":162088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:12:00] local.INFO: GPS data processed {"connection_id":162088,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:12:00] local.INFO: Acknowledgment sent {"connection_id":162088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:12:27] local.INFO: TCP Data received {"connection_id":162087,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:12:27] local.INFO: Processing buffer {"connection_id":162087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:12:27] local.INFO: Packet analysis {"connection_id":162087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:12:27] local.INFO: Extracted packet for processing {"connection_id":162087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563858944001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12: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-22 06:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787359125000,"timestamp_ms":1787359125000,"timestamp_seconds":1787359125,"priority":1,"record_length":96,"hex_timestamp":"000001a026e7de08"} 
[2026-08-22 06:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:12:27] 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-22 06:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:12:27] 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-22 06:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563858944001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563858944001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:12:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563858944001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":162087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:12:27] local.INFO: GPS data processed {"connection_id":162087,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:12:27] local.INFO: Acknowledgment sent {"connection_id":162087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:12:31] local.INFO: TCP Data received {"connection_id":162088,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:12:31] local.INFO: Processing buffer {"connection_id":162088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:12:31] local.INFO: Packet analysis {"connection_id":162088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e8"} 
[2026-08-22 06:12:31] local.INFO: Extracted packet for processing {"connection_id":162088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e8"} 
[2026-08-22 06:12:31] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648000,"longitude_deg":75.6555456,"latitude_deg":11.9648,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af00","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563878656001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:31] local.INFO: IO Element Parsed {"io_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-22 06:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787359187000,"timestamp_ms":1787359187000,"timestamp_seconds":1787359187,"priority":1,"record_length":96,"hex_timestamp":"000001a026e8d038"} 
[2026-08-22 06: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-22 06:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 06: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":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-08-22 06:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:31] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-990791918021509120,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6906583137996690152,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:31] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-9221364675709485824,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:31] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620844183792,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:31] local.WARNING: Large IO value detected {"io_id":151,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-2970122661060968441,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-5823154056183535872,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:31] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:31] local.INFO: IO Element Parsed {"io_data_count":30,"io_data_keys":[0,105,83,24,241,157,16,242,160,107,45,128,175,61,40,10,66,103,240,173,50,1,31,206,4,151,227,33,106,44],"length":524,"final_offset":654,"validated_count":30,"validation_warnings":[]} 
[2026-08-22 06:12:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739911802585088,"timestamp_seconds":4395739911802585.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:12:31] 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-22 06:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563878656001,"66":2155,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 06:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563878656001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:12:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:12:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563878656001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":162088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:12:31] local.INFO: GPS data processed {"connection_id":162088,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:12:31] local.INFO: Acknowledgment sent {"connection_id":162088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:12:50] local.INFO: TCP Data received {"connection_id":159500,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:12:50] local.INFO: Processing buffer {"connection_id":159500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:12:50] local.INFO: IMEI packet received {"connection_id":159500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":159500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:12:54] local.INFO: TCP Data received {"connection_id":160675,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:12:54] local.INFO: Processing buffer {"connection_id":160675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:12:54] local.INFO: IMEI packet received {"connection_id":160675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":160675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:12:55] local.INFO: TCP Data received {"connection_id":159500,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:12:55] local.INFO: Processing buffer {"connection_id":159500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:12:55] local.INFO: IMEI packet received {"connection_id":159500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":159500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:12:56] local.INFO: TCP Data received {"connection_id":159500,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:12:56] local.INFO: Processing buffer {"connection_id":159500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:12:56] local.INFO: Packet analysis {"connection_id":159500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:12:56] local.INFO: Extracted packet for processing {"connection_id":159500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:12:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563858944001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:12: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-22 06:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787359125000,"timestamp_ms":1787359125000,"timestamp_seconds":1787359125,"priority":1,"record_length":96,"hex_timestamp":"000001a026e7de08"} 
[2026-08-22 06: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-22 06:12:56] 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-22 06:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:12: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-22 06: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-22 06: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-22 06:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563858944001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563858944001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:12:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563858944001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":159500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:12:56] local.INFO: GPS data processed {"connection_id":159500,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:12:56] local.INFO: Acknowledgment sent {"connection_id":159500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:12:59] local.INFO: TCP Data received {"connection_id":160675,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:12:59] local.INFO: Processing buffer {"connection_id":160675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:12:59] local.INFO: IMEI packet received {"connection_id":160675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":160675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:13:00] local.INFO: TCP Data received {"connection_id":160675,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:13:00] local.INFO: Processing buffer {"connection_id":160675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:13:00] local.INFO: Packet analysis {"connection_id":160675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e8"} 
[2026-08-22 06:13:00] local.INFO: Extracted packet for processing {"connection_id":160675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e8"} 
[2026-08-22 06:13:00] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648000,"longitude_deg":75.6555456,"latitude_deg":11.9648,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af00","is_valid_coordinates":true} 
[2026-08-22 06:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563878656001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:00] local.INFO: IO Element Parsed {"io_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-22 06:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787359187000,"timestamp_ms":1787359187000,"timestamp_seconds":1787359187,"priority":1,"record_length":96,"hex_timestamp":"000001a026e8d038"} 
[2026-08-22 06: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-22 06:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 06: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":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-08-22 06:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:00] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-990791918021509120,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6906583137996690152,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:00] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-9221364675709485824,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:00] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620844183792,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:00] local.WARNING: Large IO value detected {"io_id":151,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:00] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-2970122661060968441,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-5823154056183535872,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:00] local.INFO: IO Element Parsed {"io_data_count":30,"io_data_keys":[0,105,83,24,241,157,16,242,160,107,45,128,175,61,40,10,66,103,240,173,50,1,31,206,4,151,227,33,106,44],"length":524,"final_offset":654,"validated_count":30,"validation_warnings":[]} 
[2026-08-22 06:13:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739911802585088,"timestamp_seconds":4395739911802585.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:13:00] 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-22 06:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563878656001,"66":2155,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563878656001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:13:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:13:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563878656001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":160675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:13:00] local.INFO: GPS data processed {"connection_id":160675,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:13:00] local.INFO: Acknowledgment sent {"connection_id":160675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:13:27] local.INFO: TCP Data received {"connection_id":159500,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:13:27] local.INFO: Processing buffer {"connection_id":159500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:13:27] local.INFO: Packet analysis {"connection_id":159500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:13:27] local.INFO: Extracted packet for processing {"connection_id":159500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563858944001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13: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-22 06:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787359125000,"timestamp_ms":1787359125000,"timestamp_seconds":1787359125,"priority":1,"record_length":96,"hex_timestamp":"000001a026e7de08"} 
[2026-08-22 06:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:13:27] 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-22 06:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:13:27] 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-22 06:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563858944001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563858944001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:13:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:13:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563858944001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":159500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:13:27] local.INFO: GPS data processed {"connection_id":159500,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:13:27] local.INFO: Acknowledgment sent {"connection_id":159500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:13:31] local.INFO: TCP Data received {"connection_id":160675,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:13:31] local.INFO: Processing buffer {"connection_id":160675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e8d038012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:13:31] local.INFO: Packet analysis {"connection_id":160675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e8"} 
[2026-08-22 06:13:31] local.INFO: Extracted packet for processing {"connection_id":160675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e8"} 
[2026-08-22 06:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648000,"longitude_deg":75.6555456,"latitude_deg":11.9648,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af00","is_valid_coordinates":true} 
[2026-08-22 06:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563878656001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:31] local.INFO: IO Element Parsed {"io_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-22 06:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787359187000,"timestamp_ms":1787359187000,"timestamp_seconds":1787359187,"priority":1,"record_length":96,"hex_timestamp":"000001a026e8d038"} 
[2026-08-22 06:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 06:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-08-22 06:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:31] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-990791918021509120,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6906583137996690152,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:31] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-9221364675709485824,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:31] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620844183792,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:31] local.WARNING: Large IO value detected {"io_id":151,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-2970122661060968441,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-5823154056183535872,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:31] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:31] local.INFO: IO Element Parsed {"io_data_count":30,"io_data_keys":[0,105,83,24,241,157,16,242,160,107,45,128,175,61,40,10,66,103,240,173,50,1,31,206,4,151,227,33,106,44],"length":524,"final_offset":654,"validated_count":30,"validation_warnings":[]} 
[2026-08-22 06:13:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739911802585088,"timestamp_seconds":4395739911802585.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:13:31] 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-22 06:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563878656001,"66":2155,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563878656001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:13:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:13:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563878656001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":160675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:13:31] local.INFO: GPS data processed {"connection_id":160675,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:13:31] local.INFO: Acknowledgment sent {"connection_id":160675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:13:50] local.INFO: TCP Data received {"connection_id":159766,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:13:50] local.INFO: Processing buffer {"connection_id":159766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:13:50] local.INFO: IMEI packet received {"connection_id":159766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":159766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:13:53] local.INFO: TCP Data received {"connection_id":159501,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:13:53] local.INFO: Processing buffer {"connection_id":159501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:13:53] local.INFO: IMEI packet received {"connection_id":159501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":159501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:13:55] local.INFO: TCP Data received {"connection_id":159766,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:13:55] local.INFO: Processing buffer {"connection_id":159766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:13:55] local.INFO: IMEI packet received {"connection_id":159766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":159766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:13:56] local.INFO: TCP Data received {"connection_id":159766,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:13:56] local.INFO: Processing buffer {"connection_id":159766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026e7de08012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:13:56] local.INFO: Packet analysis {"connection_id":159766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:13:56] local.INFO: Extracted packet for processing {"connection_id":159766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026e7"} 
[2026-08-22 06:13:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563858944001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787359125000,"timestamp_ms":1787359125000,"timestamp_seconds":1787359125,"priority":1,"record_length":96,"hex_timestamp":"000001a026e7de08"} 
[2026-08-22 06: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-22 06:13:56] 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-22 06: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:13: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-22 06: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-22 06: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-22 06:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563858944001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563858944001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:13:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:13:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563858944001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":159766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:13:56] local.INFO: GPS data processed {"connection_id":159766,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:13:56] local.INFO: Acknowledgment sent {"connection_id":159766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:13:59] local.INFO: TCP Data received {"connection_id":159501,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:13:59] local.INFO: Processing buffer {"connection_id":159501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:13:59] local.INFO: IMEI packet received {"connection_id":159501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":159501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:14:00] local.INFO: TCP Data received {"connection_id":159501,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026ebb280012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ebb280012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:14:00] local.INFO: Processing buffer {"connection_id":159501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ebb280012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:14:00] local.INFO: Packet analysis {"connection_id":159501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026eb"} 
[2026-08-22 06:14:00] local.INFO: Extracted packet for processing {"connection_id":159501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026eb"} 
[2026-08-22 06:14:00] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648000,"longitude_deg":75.6555456,"latitude_deg":11.9648,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af00","is_valid_coordinates":true} 
[2026-08-22 06:14:00] 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-22 06:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563951872001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074011136,"note":"Value kept but may cause issues"} 
[2026-08-22 06:14:00] local.INFO: IO Element Parsed {"io_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-22 06:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787359376000,"timestamp_ms":1787359376000,"timestamp_seconds":1787359376,"priority":1,"record_length":96,"hex_timestamp":"000001a026ebb280"} 
[2026-08-22 06: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-22 06:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6400,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 06: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 06:14:00] 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-22 06: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-22 06: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-22 06:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:14:00] 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-22 06:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563951872001,"66":2166,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738037643074011136},"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-22 06:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563951872001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:14:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074011136,"description":"Unknown IO ID 45"} 
[2026-08-22 06:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563951872001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074011136}} 
[2026-08-22 06:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":159501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:14:00] local.INFO: GPS data processed {"connection_id":159501,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:14:00] local.INFO: Acknowledgment sent {"connection_id":159501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:14:27] local.INFO: TCP Data received {"connection_id":159766,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:14:27] local.INFO: Processing buffer {"connection_id":159766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:14:27] local.INFO: Packet analysis {"connection_id":159766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:14:27] local.INFO: Extracted packet for processing {"connection_id":159766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563936000001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:14: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-22 06:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787359426000,"timestamp_ms":1787359426000,"timestamp_seconds":1787359426,"priority":1,"record_length":96,"hex_timestamp":"000001a026ec75d0"} 
[2026-08-22 06: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-22 06:14:27] 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-22 06:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:14:27] 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-22 06: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-22 06: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-22 06:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563936000001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563936000001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:14:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563936000001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":159766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:14:27] local.INFO: GPS data processed {"connection_id":159766,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:14:27] local.INFO: Acknowledgment sent {"connection_id":159766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:14:31] local.INFO: TCP Data received {"connection_id":159501,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026ebb280012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ebb280012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:14:31] local.INFO: Processing buffer {"connection_id":159501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ebb280012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:14:31] local.INFO: Packet analysis {"connection_id":159501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026eb"} 
[2026-08-22 06:14:31] local.INFO: Extracted packet for processing {"connection_id":159501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026eb"} 
[2026-08-22 06:14:31] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648000,"longitude_deg":75.6555456,"latitude_deg":11.9648,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af00","is_valid_coordinates":true} 
[2026-08-22 06:14:31] 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-22 06:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564000256001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074011136,"note":"Value kept but may cause issues"} 
[2026-08-22 06:14:31] local.INFO: IO Element Parsed {"io_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-22 06:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787359376000,"timestamp_ms":1787359376000,"timestamp_seconds":1787359376,"priority":1,"record_length":96,"hex_timestamp":"000001a026ebb280"} 
[2026-08-22 06: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-22 06:14:31] 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-22 06: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 06:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 06: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-22 06: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-22 06:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:14:31] 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-22 06:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564000256001,"66":2166,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738037643074011136},"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-22 06:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564000256001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:14:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:14:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074011136,"description":"Unknown IO ID 45"} 
[2026-08-22 06:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564000256001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074011136}} 
[2026-08-22 06:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":159501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:14:31] local.INFO: GPS data processed {"connection_id":159501,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:14:31] local.INFO: Acknowledgment sent {"connection_id":159501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:14:55] local.INFO: TCP Data received {"connection_id":162089,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:14:55] local.INFO: Processing buffer {"connection_id":162089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:14:55] local.INFO: IMEI packet received {"connection_id":162089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":162089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:14:59] local.INFO: TCP Data received {"connection_id":160676,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:14:59] local.INFO: Processing buffer {"connection_id":160676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:14:59] local.INFO: IMEI packet received {"connection_id":160676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":160676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:15:00] local.INFO: TCP Data received {"connection_id":162089,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:15:00] local.INFO: Processing buffer {"connection_id":162089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:15:00] local.INFO: IMEI packet received {"connection_id":162089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":162089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:15:01] local.INFO: TCP Data received {"connection_id":162089,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:15:01] local.INFO: Processing buffer {"connection_id":162089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:15:01] local.INFO: Packet analysis {"connection_id":162089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:15:01] local.INFO: Extracted packet for processing {"connection_id":162089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:15: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-22 06:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563936000001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15: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-22 06:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787359426000,"timestamp_ms":1787359426000,"timestamp_seconds":1787359426,"priority":1,"record_length":96,"hex_timestamp":"000001a026ec75d0"} 
[2026-08-22 06:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:15:01] 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-22 06:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:15:01] 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-22 06:15: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-22 06:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563936000001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563936000001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:15:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563936000001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":162089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:15:01] local.INFO: GPS data processed {"connection_id":162089,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:15:01] local.INFO: Acknowledgment sent {"connection_id":162089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:15:03] local.INFO: TCP Data received {"connection_id":160676,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:15:03] local.INFO: Processing buffer {"connection_id":160676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:15:03] local.INFO: IMEI packet received {"connection_id":160676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":160676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:15:05] local.INFO: TCP Data received {"connection_id":162089,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:15:05] local.INFO: Processing buffer {"connection_id":162089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:15:05] local.INFO: Packet analysis {"connection_id":162089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:15:05] local.INFO: Extracted packet for processing {"connection_id":162089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563936000001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15:05] 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-22 06:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787359426000,"timestamp_ms":1787359426000,"timestamp_seconds":1787359426,"priority":1,"record_length":96,"hex_timestamp":"000001a026ec75d0"} 
[2026-08-22 06:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:15:05] 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-22 06:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:15:05] 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-22 06:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563936000001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563936000001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:15:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:15:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563936000001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":162089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:15:05] local.INFO: GPS data processed {"connection_id":162089,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:15:05] local.INFO: Acknowledgment sent {"connection_id":162089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:15:14] local.INFO: TCP Data received {"connection_id":160676,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026ebb280012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ebb280012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:15:14] local.INFO: Processing buffer {"connection_id":160676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ebb280012d181ec00721af00003d00ce27..."} 
[2026-08-22 06:15:14] local.INFO: Packet analysis {"connection_id":160676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026eb"} 
[2026-08-22 06:15:14] local.INFO: Extracted packet for processing {"connection_id":160676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026eb"} 
[2026-08-22 06:15:14] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648000,"longitude_deg":75.6555456,"latitude_deg":11.9648,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af00","is_valid_coordinates":true} 
[2026-08-22 06:15: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-22 06:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564000256001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074011136,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15: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-22 06:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787359376000,"timestamp_ms":1787359376000,"timestamp_seconds":1787359376,"priority":1,"record_length":96,"hex_timestamp":"000001a026ebb280"} 
[2026-08-22 06:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:15:14] 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-22 06: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 06:15: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-22 06:15: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-22 06:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:15: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-22 06:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564000256001,"66":2166,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738037643074011136},"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-22 06:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564000256001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:15:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:15:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074011136,"description":"Unknown IO ID 45"} 
[2026-08-22 06:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564000256001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074011136}} 
[2026-08-22 06:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":160676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:15:14] local.INFO: GPS data processed {"connection_id":160676,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:15:14] local.INFO: Acknowledgment sent {"connection_id":160676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:15:15] local.INFO: TCP Data received {"connection_id":160676,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026ec1810012d181f800721af30003d00ce28..."} 
[2026-08-22 06:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ec1810012d181f800721af30003d00ce28..."} 
[2026-08-22 06:15:15] local.INFO: Processing buffer {"connection_id":160676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ec1810012d181f800721af30003d00ce28..."} 
[2026-08-22 06:15:15] local.INFO: Packet analysis {"connection_id":160676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:15:15] local.INFO: Extracted packet for processing {"connection_id":160676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564000256001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074011136,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15: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-22 06:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787359402000,"timestamp_ms":1787359402000,"timestamp_seconds":1787359402,"priority":1,"record_length":96,"hex_timestamp":"000001a026ec1810"} 
[2026-08-22 06: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-22 06:15:15] 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-22 06: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-22 06: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-22 06: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-22 06: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-22 06:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:15: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-22 06:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564000256001,"66":12461,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738037643074011136},"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-22 06:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564000256001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:15:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074011136,"description":"Unknown IO ID 45"} 
[2026-08-22 06:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564000256001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074011136}} 
[2026-08-22 06:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":160676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:15:15] local.INFO: GPS data processed {"connection_id":160676,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:15:15] local.INFO: Acknowledgment sent {"connection_id":160676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:15:50] local.INFO: TCP Data received {"connection_id":159767,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:15:50] local.INFO: Processing buffer {"connection_id":159767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:15:50] local.INFO: IMEI packet received {"connection_id":159767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":159767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:15:54] local.INFO: TCP Data received {"connection_id":160677,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:15:54] local.INFO: Processing buffer {"connection_id":160677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:15:54] local.INFO: IMEI packet received {"connection_id":160677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":160677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:15:55] local.INFO: TCP Data received {"connection_id":159767,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:15:55] local.INFO: Processing buffer {"connection_id":159767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:15:55] local.INFO: IMEI packet received {"connection_id":159767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":159767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:15:56] local.INFO: TCP Data received {"connection_id":159767,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:15:56] local.INFO: Processing buffer {"connection_id":159767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:15:56] local.INFO: Packet analysis {"connection_id":159767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:15:56] local.INFO: Extracted packet for processing {"connection_id":159767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563936000001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15: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-22 06:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787359426000,"timestamp_ms":1787359426000,"timestamp_seconds":1787359426,"priority":1,"record_length":96,"hex_timestamp":"000001a026ec75d0"} 
[2026-08-22 06: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-22 06:15:56] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:15:56] 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-22 06: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-22 06: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-22 06:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563936000001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563936000001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:15:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563936000001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":159767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:15:56] local.INFO: GPS data processed {"connection_id":159767,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:15:56] local.INFO: Acknowledgment sent {"connection_id":159767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:15:59] local.INFO: TCP Data received {"connection_id":160677,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:15:59] local.INFO: Processing buffer {"connection_id":160677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:15:59] local.INFO: IMEI packet received {"connection_id":160677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":160677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:15:59] local.INFO: TCP Data received {"connection_id":160677,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026ec6a18012d181f800721af30003d00ce24..."} 
[2026-08-22 06:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ec6a18012d181f800721af30003d00ce24..."} 
[2026-08-22 06:15:59] local.INFO: Processing buffer {"connection_id":160677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ec6a18012d181f800721af30003d00ce24..."} 
[2026-08-22 06:15:59] local.INFO: Packet analysis {"connection_id":160677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:15:59] local.INFO: Extracted packet for processing {"connection_id":160677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":36,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564006912001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787359423000,"timestamp_ms":1787359423000,"timestamp_seconds":1787359423,"priority":1,"record_length":96,"hex_timestamp":"000001a026ec6a18"} 
[2026-08-22 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-22 06:15:59] 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-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 06:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 06:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:15:59] 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-22 06:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564006912001,"66":12461,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564006912001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:16:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:16:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564006912001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":160677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:16:00] local.INFO: GPS data processed {"connection_id":160677,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:16:00] local.INFO: Acknowledgment sent {"connection_id":160677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:16:27] local.INFO: TCP Data received {"connection_id":159767,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:16:27] local.INFO: Processing buffer {"connection_id":159767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:16:27] local.INFO: Packet analysis {"connection_id":159767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:16:27] local.INFO: Extracted packet for processing {"connection_id":159767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563936000001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:16: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-22 06:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787359426000,"timestamp_ms":1787359426000,"timestamp_seconds":1787359426,"priority":1,"record_length":96,"hex_timestamp":"000001a026ec75d0"} 
[2026-08-22 06: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-22 06:16:27] 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-22 06:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:16:27] 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-22 06: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-22 06: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-22 06:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563936000001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563936000001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:16:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563936000001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":159767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:16:27] local.INFO: GPS data processed {"connection_id":159767,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:16:27] local.INFO: Acknowledgment sent {"connection_id":159767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:16:31] local.INFO: TCP Data received {"connection_id":160677,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026ecbc20012d181f800721af30003d00ce23..."} 
[2026-08-22 06:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ecbc20012d181f800721af30003d00ce23..."} 
[2026-08-22 06:16:31] local.INFO: Processing buffer {"connection_id":160677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ecbc20012d181f800721af30003d00ce23..."} 
[2026-08-22 06:16:31] local.INFO: Packet analysis {"connection_id":160677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:16:31] local.INFO: Extracted packet for processing {"connection_id":160677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:16:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":35,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564012288001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:16:31] local.INFO: IO Element Parsed {"io_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-22 06:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787359444000,"timestamp_ms":1787359444000,"timestamp_seconds":1787359444,"priority":1,"record_length":96,"hex_timestamp":"000001a026ecbc20"} 
[2026-08-22 06: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-22 06:16:31] 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-22 06: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 06:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:16:31] 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-22 06:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564012288001,"66":12428,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564012288001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:16:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:16:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564012288001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":160677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:16:31] local.INFO: GPS data processed {"connection_id":160677,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:16:31] local.INFO: Acknowledgment sent {"connection_id":160677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:16:50] local.INFO: TCP Data received {"connection_id":159768,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:16:50] local.INFO: Processing buffer {"connection_id":159768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:16:50] local.INFO: IMEI packet received {"connection_id":159768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":159768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:16:54] local.INFO: TCP Data received {"connection_id":160678,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:16:54] local.INFO: Processing buffer {"connection_id":160678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:16:54] local.INFO: IMEI packet received {"connection_id":160678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":160678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:16:55] local.INFO: TCP Data received {"connection_id":159768,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:16:55] local.INFO: Processing buffer {"connection_id":159768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:16:55] local.INFO: IMEI packet received {"connection_id":159768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":159768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:16:56] local.INFO: TCP Data received {"connection_id":159768,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:16:56] local.INFO: Processing buffer {"connection_id":159768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:16:56] local.INFO: Packet analysis {"connection_id":159768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:16:56] local.INFO: Extracted packet for processing {"connection_id":159768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563936000001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787359426000,"timestamp_ms":1787359426000,"timestamp_seconds":1787359426,"priority":1,"record_length":96,"hex_timestamp":"000001a026ec75d0"} 
[2026-08-22 06: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-22 06:16:56] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:16:56] 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-22 06: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-22 06: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-22 06:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563936000001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563936000001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:16:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563936000001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":159768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:16:56] local.INFO: GPS data processed {"connection_id":159768,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:16:56] local.INFO: Acknowledgment sent {"connection_id":159768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:16:59] local.INFO: TCP Data received {"connection_id":160678,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:16:59] local.INFO: Processing buffer {"connection_id":160678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:16:59] local.INFO: IMEI packet received {"connection_id":160678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":160678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:17:00] local.INFO: TCP Data received {"connection_id":160678,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026ed0e28012d181f800721af30003d00ce26..."} 
[2026-08-22 06:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ed0e28012d181f800721af30003d00ce26..."} 
[2026-08-22 06:17:00] local.INFO: Processing buffer {"connection_id":160678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ed0e28012d181f800721af30003d00ce26..."} 
[2026-08-22 06:17:00] local.INFO: Packet analysis {"connection_id":160678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ed"} 
[2026-08-22 06:17:00] local.INFO: Extracted packet for processing {"connection_id":160678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ed"} 
[2026-08-22 06:17:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564017664001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:17:00] local.INFO: IO Element Parsed {"io_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-22 06:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787359465000,"timestamp_ms":1787359465000,"timestamp_seconds":1787359465,"priority":1,"record_length":96,"hex_timestamp":"000001a026ed0e28"} 
[2026-08-22 06: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-22 06:17:00] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 06:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:17:00] 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-22 06:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564017664001,"66":12406,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564017664001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:17:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:17:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564017664001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":160678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:17:00] local.INFO: GPS data processed {"connection_id":160678,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:17:00] local.INFO: Acknowledgment sent {"connection_id":160678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:17:27] local.INFO: TCP Data received {"connection_id":159768,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:17:27] local.INFO: Processing buffer {"connection_id":159768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:17:27] local.INFO: Packet analysis {"connection_id":159768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:17:27] local.INFO: Extracted packet for processing {"connection_id":159768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563936000001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:17: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-22 06:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787359426000,"timestamp_ms":1787359426000,"timestamp_seconds":1787359426,"priority":1,"record_length":96,"hex_timestamp":"000001a026ec75d0"} 
[2026-08-22 06: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-22 06:17:27] 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-22 06:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:17:27] 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-22 06:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06: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-22 06:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563936000001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563936000001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:17:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563936000001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":159768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:17:27] local.INFO: GPS data processed {"connection_id":159768,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:17:27] local.INFO: Acknowledgment sent {"connection_id":159768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:17:30] local.INFO: TCP Data received {"connection_id":160678,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026ed6030012d181f800721af30003d00ce26..."} 
[2026-08-22 06:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ed6030012d181f800721af30003d00ce26..."} 
[2026-08-22 06:17:30] local.INFO: Processing buffer {"connection_id":160678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ed6030012d181f800721af30003d00ce26..."} 
[2026-08-22 06:17:30] local.INFO: Packet analysis {"connection_id":160678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ed"} 
[2026-08-22 06:17:30] local.INFO: Extracted packet for processing {"connection_id":160678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ed"} 
[2026-08-22 06:17:30] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564023040001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787359486000,"timestamp_ms":1787359486000,"timestamp_seconds":1787359486,"priority":1,"record_length":96,"hex_timestamp":"000001a026ed6030"} 
[2026-08-22 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-22 06:17:30] 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-22 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 06:17:30] 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-22 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-22 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-22 06:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:17:30] 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-22 06:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564023040001,"66":12461,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564023040001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:17:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:17:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564023040001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":160678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:17:30] local.INFO: GPS data processed {"connection_id":160678,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:17:30] local.INFO: Acknowledgment sent {"connection_id":160678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:17:50] local.INFO: TCP Data received {"connection_id":159502,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:17:50] local.INFO: Processing buffer {"connection_id":159502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:17:50] local.INFO: IMEI packet received {"connection_id":159502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":159502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:17:54] local.INFO: TCP Data received {"connection_id":159503,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:17:54] local.INFO: Processing buffer {"connection_id":159503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:17:54] local.INFO: IMEI packet received {"connection_id":159503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":159503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:17:55] local.INFO: TCP Data received {"connection_id":159502,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:17:55] local.INFO: Processing buffer {"connection_id":159502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:17:55] local.INFO: IMEI packet received {"connection_id":159502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":159502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:17:56] local.INFO: TCP Data received {"connection_id":159502,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:17:56] local.INFO: Processing buffer {"connection_id":159502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:17:56] local.INFO: Packet analysis {"connection_id":159502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:17:56] local.INFO: Extracted packet for processing {"connection_id":159502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563936000001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:17: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-22 06:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787359426000,"timestamp_ms":1787359426000,"timestamp_seconds":1787359426,"priority":1,"record_length":96,"hex_timestamp":"000001a026ec75d0"} 
[2026-08-22 06: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-22 06:17:56] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:17:56] 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-22 06: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-22 06: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-22 06:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563936000001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563936000001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:17:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563936000001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":159502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:17:56] local.INFO: GPS data processed {"connection_id":159502,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:17:56] local.INFO: Acknowledgment sent {"connection_id":159502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:17:59] local.INFO: TCP Data received {"connection_id":159503,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:17:59] local.INFO: Processing buffer {"connection_id":159503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:17:59] local.INFO: IMEI packet received {"connection_id":159503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":159503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:18:00] local.INFO: TCP Data received {"connection_id":159503,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026edb238012d181f800721af30003d00ce26..."} 
[2026-08-22 06:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026edb238012d181f800721af30003d00ce26..."} 
[2026-08-22 06:18:00] local.INFO: Processing buffer {"connection_id":159503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026edb238012d181f800721af30003d00ce26..."} 
[2026-08-22 06:18:00] local.INFO: Packet analysis {"connection_id":159503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ed"} 
[2026-08-22 06:18:00] local.INFO: Extracted packet for processing {"connection_id":159503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ed"} 
[2026-08-22 06:18:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564028416001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:18:00] local.INFO: IO Element Parsed {"io_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-22 06:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787359507000,"timestamp_ms":1787359507000,"timestamp_seconds":1787359507,"priority":1,"record_length":96,"hex_timestamp":"000001a026edb238"} 
[2026-08-22 06: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-22 06:18:00] 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-22 06: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 06:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:18:00] 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-22 06:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564028416001,"66":12428,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564028416001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:18:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:18:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564028416001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":159503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:18:00] local.INFO: GPS data processed {"connection_id":159503,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:18:00] local.INFO: Acknowledgment sent {"connection_id":159503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:18:27] local.INFO: TCP Data received {"connection_id":159502,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:18:27] local.INFO: Processing buffer {"connection_id":159502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:18:27] local.INFO: Packet analysis {"connection_id":159502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:18:27] local.INFO: Extracted packet for processing {"connection_id":159502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563936000001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:18: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-22 06:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787359426000,"timestamp_ms":1787359426000,"timestamp_seconds":1787359426,"priority":1,"record_length":96,"hex_timestamp":"000001a026ec75d0"} 
[2026-08-22 06: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-22 06:18:27] 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-22 06:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:18:27] 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-22 06: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-22 06: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-22 06:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563936000001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563936000001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:18:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563936000001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":159502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:18:27] local.INFO: GPS data processed {"connection_id":159502,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:18:27] local.INFO: Acknowledgment sent {"connection_id":159502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:18:31] local.INFO: TCP Data received {"connection_id":159503,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026ee0440012d181f800721af30003d00ce26..."} 
[2026-08-22 06:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ee0440012d181f800721af30003d00ce26..."} 
[2026-08-22 06:18:31] local.INFO: Processing buffer {"connection_id":159503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ee0440012d181f800721af30003d00ce26..."} 
[2026-08-22 06:18:31] local.INFO: Packet analysis {"connection_id":159503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ee"} 
[2026-08-22 06:18:31] local.INFO: Extracted packet for processing {"connection_id":159503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ee"} 
[2026-08-22 06:18:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564033792001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:18:31] local.INFO: IO Element Parsed {"io_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-22 06:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787359528000,"timestamp_ms":1787359528000,"timestamp_seconds":1787359528,"priority":1,"record_length":96,"hex_timestamp":"000001a026ee0440"} 
[2026-08-22 06: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-22 06:18:31] 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-22 06: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 06:18:31] 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-22 06: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-22 06: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-22 06:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:18:31] 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-22 06:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564033792001,"66":12428,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564033792001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:18:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:18:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564033792001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":159503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:18:31] local.INFO: GPS data processed {"connection_id":159503,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:18:31] local.INFO: Acknowledgment sent {"connection_id":159503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:18:50] local.INFO: TCP Data received {"connection_id":159504,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:18:50] local.INFO: Processing buffer {"connection_id":159504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:18:50] local.INFO: IMEI packet received {"connection_id":159504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":159504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:18:54] local.INFO: TCP Data received {"connection_id":162090,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:18:54] local.INFO: Processing buffer {"connection_id":162090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:18:54] local.INFO: IMEI packet received {"connection_id":162090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":162090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:18:54] local.INFO: TCP Data received {"connection_id":162090,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:18:54] local.INFO: Processing buffer {"connection_id":162090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:18:54] local.INFO: IMEI packet received {"connection_id":162090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":162090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:18:55] local.INFO: TCP Data received {"connection_id":159504,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:18:55] local.INFO: Processing buffer {"connection_id":159504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:18:55] local.INFO: IMEI packet received {"connection_id":159504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":159504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:18:56] local.INFO: TCP Data received {"connection_id":159504,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:18:56] local.INFO: Processing buffer {"connection_id":159504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ec75d0012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 06:18:56] local.INFO: Packet analysis {"connection_id":159504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:18:56] local.INFO: Extracted packet for processing {"connection_id":159504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ec"} 
[2026-08-22 06:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457563936000001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787359426000,"timestamp_ms":1787359426000,"timestamp_seconds":1787359426,"priority":1,"record_length":96,"hex_timestamp":"000001a026ec75d0"} 
[2026-08-22 06: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-22 06:18:56] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:18:56] 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-22 06: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-22 06: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-22 06:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457563936000001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457563936000001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:18:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457563936000001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":159504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:18:56] local.INFO: GPS data processed {"connection_id":159504,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:18:56] local.INFO: Acknowledgment sent {"connection_id":159504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:18:59] local.INFO: TCP Data received {"connection_id":162090,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:18:59] local.INFO: Processing buffer {"connection_id":162090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:18:59] local.INFO: IMEI packet received {"connection_id":162090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":162090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:19:00] local.INFO: TCP Data received {"connection_id":162090,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026ee5648012d181f800721af30003d00ce29..."} 
[2026-08-22 06:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ee5648012d181f800721af30003d00ce29..."} 
[2026-08-22 06:19:00] local.INFO: Processing buffer {"connection_id":162090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ee5648012d181f800721af30003d00ce29..."} 
[2026-08-22 06:19:00] local.INFO: Packet analysis {"connection_id":162090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ee"} 
[2026-08-22 06:19:00] local.INFO: Extracted packet for processing {"connection_id":162090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ee"} 
[2026-08-22 06:19:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564039168001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:19:00] local.INFO: IO Element Parsed {"io_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-22 06:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787359549000,"timestamp_ms":1787359549000,"timestamp_seconds":1787359549,"priority":1,"record_length":96,"hex_timestamp":"000001a026ee5648"} 
[2026-08-22 06: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-22 06:19:00] 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-22 06: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 06:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:19:00] 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-22 06:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564039168001,"66":12428,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564039168001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:19:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:19:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564039168001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":162090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:19:00] local.INFO: GPS data processed {"connection_id":162090,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:19:00] local.INFO: Acknowledgment sent {"connection_id":162090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:19:27] local.INFO: TCP Data received {"connection_id":159504,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:19:27] local.INFO: Processing buffer {"connection_id":159504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:19:27] local.INFO: Packet analysis {"connection_id":159504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:19:27] local.INFO: Extracted packet for processing {"connection_id":159504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564013056001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:19: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-22 06:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787359727000,"timestamp_ms":1787359727000,"timestamp_seconds":1787359727,"priority":1,"record_length":96,"hex_timestamp":"000001a026f10d98"} 
[2026-08-22 06: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-22 06:19:27] 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-22 06:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:19:27] 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-22 06: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-22 06: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-22 06:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564013056001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564013056001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:19:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564013056001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":159504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:19:27] local.INFO: GPS data processed {"connection_id":159504,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:19:27] local.INFO: Acknowledgment sent {"connection_id":159504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:19:31] local.INFO: TCP Data received {"connection_id":162090,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026eea850012d181f800721af30003d00ce28..."} 
[2026-08-22 06:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026eea850012d181f800721af30003d00ce28..."} 
[2026-08-22 06:19:31] local.INFO: Processing buffer {"connection_id":162090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026eea850012d181f800721af30003d00ce28..."} 
[2026-08-22 06:19:31] local.INFO: Packet analysis {"connection_id":162090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ee"} 
[2026-08-22 06:19:31] local.INFO: Extracted packet for processing {"connection_id":162090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ee"} 
[2026-08-22 06:19:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564044544001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:19:31] local.INFO: IO Element Parsed {"io_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-22 06:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787359570000,"timestamp_ms":1787359570000,"timestamp_seconds":1787359570,"priority":1,"record_length":96,"hex_timestamp":"000001a026eea850"} 
[2026-08-22 06: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-22 06:19:31] 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-22 06: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 06:19:31] 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-22 06: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-22 06: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-22 06:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:19:31] 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-22 06:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564044544001,"66":12406,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564044544001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:19:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:19:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564044544001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":162090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:19:31] local.INFO: GPS data processed {"connection_id":162090,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:19:31] local.INFO: Acknowledgment sent {"connection_id":162090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:19:53] local.INFO: TCP Data received {"connection_id":160680,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:19:53] local.INFO: Processing buffer {"connection_id":160680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:19:53] local.INFO: IMEI packet received {"connection_id":160680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":160680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:19:55] local.INFO: TCP Data received {"connection_id":160679,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:19:55] local.INFO: Processing buffer {"connection_id":160679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:19:55] local.INFO: IMEI packet received {"connection_id":160679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":160679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:19:57] local.INFO: TCP Data received {"connection_id":160680,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:19:57] local.INFO: Processing buffer {"connection_id":160680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:19:57] local.INFO: IMEI packet received {"connection_id":160680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":160680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:19:59] local.INFO: TCP Data received {"connection_id":160680,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:19:59] local.INFO: Processing buffer {"connection_id":160680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:19:59] local.INFO: IMEI packet received {"connection_id":160680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":160680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:20:00] local.INFO: TCP Data received {"connection_id":160680,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026eefa58012d181f800721af30003d00ce25..."} 
[2026-08-22 06:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026eefa58012d181f800721af30003d00ce25..."} 
[2026-08-22 06:20:00] local.INFO: Processing buffer {"connection_id":160680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026eefa58012d181f800721af30003d00ce25..."} 
[2026-08-22 06:20:00] local.INFO: Packet analysis {"connection_id":160680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ee"} 
[2026-08-22 06:20:00] local.INFO: Extracted packet for processing {"connection_id":160680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ee"} 
[2026-08-22 06:20:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564049920001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:20:00] local.INFO: IO Element Parsed {"io_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-22 06:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787359591000,"timestamp_ms":1787359591000,"timestamp_seconds":1787359591,"priority":1,"record_length":96,"hex_timestamp":"000001a026eefa58"} 
[2026-08-22 06: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-22 06:20:00] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 06:20:00] 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-22 06: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-22 06: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-22 06:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:20:00] 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-22 06:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564049920001,"66":12406,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564049920001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:20:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:20:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564049920001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":160680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:20:00] local.INFO: GPS data processed {"connection_id":160680,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:20:00] local.INFO: Acknowledgment sent {"connection_id":160680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:20:01] local.INFO: TCP Data received {"connection_id":160679,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:20:01] local.INFO: Processing buffer {"connection_id":160679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:20:01] local.INFO: IMEI packet received {"connection_id":160679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":160679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:20:02] local.INFO: TCP Data received {"connection_id":160679,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:20:02] local.INFO: Processing buffer {"connection_id":160679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:20:02] local.INFO: Packet analysis {"connection_id":160679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:20:02] local.INFO: Extracted packet for processing {"connection_id":160679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:20: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-22 06:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564013056001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:20:02] 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-22 06:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787359727000,"timestamp_ms":1787359727000,"timestamp_seconds":1787359727,"priority":1,"record_length":96,"hex_timestamp":"000001a026f10d98"} 
[2026-08-22 06:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:20:02] 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-22 06:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:20:02] 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-22 06:20: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-22 06:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564013056001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564013056001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:20:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564013056001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":160679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:20:02] local.INFO: GPS data processed {"connection_id":160679,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:20:02] local.INFO: Acknowledgment sent {"connection_id":160679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:20:31] local.INFO: TCP Data received {"connection_id":160680,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026ef4c60012d181f800721af30003d00ce27..."} 
[2026-08-22 06:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ef4c60012d181f800721af30003d00ce27..."} 
[2026-08-22 06:20:31] local.INFO: Processing buffer {"connection_id":160680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ef4c60012d181f800721af30003d00ce27..."} 
[2026-08-22 06:20:31] local.INFO: Packet analysis {"connection_id":160680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ef"} 
[2026-08-22 06:20:31] local.INFO: Extracted packet for processing {"connection_id":160680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ef"} 
[2026-08-22 06:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564055296001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:20:31] local.INFO: IO Element Parsed {"io_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-22 06:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787359612000,"timestamp_ms":1787359612000,"timestamp_seconds":1787359612,"priority":1,"record_length":96,"hex_timestamp":"000001a026ef4c60"} 
[2026-08-22 06: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-22 06:20:31] 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-22 06:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 06:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:20:31] 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-22 06:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564055296001,"66":12406,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564055296001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:20:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:20:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564055296001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":160680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:20:31] local.INFO: GPS data processed {"connection_id":160680,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:20:31] local.INFO: Acknowledgment sent {"connection_id":160680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:20:33] local.INFO: TCP Data received {"connection_id":160679,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:20:33] local.INFO: Processing buffer {"connection_id":160679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:20:33] local.INFO: Packet analysis {"connection_id":160679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:20:33] local.INFO: Extracted packet for processing {"connection_id":160679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:20: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-22 06:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564013056001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:20: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-22 06:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787359727000,"timestamp_ms":1787359727000,"timestamp_seconds":1787359727,"priority":1,"record_length":96,"hex_timestamp":"000001a026f10d98"} 
[2026-08-22 06:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:20: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-22 06:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:20:33] 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-22 06:20: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-22 06:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564013056001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564013056001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:20:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:20:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564013056001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":160679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:20:33] local.INFO: GPS data processed {"connection_id":160679,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:20:33] local.INFO: Acknowledgment sent {"connection_id":160679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:20:37] local.INFO: TCP Data received {"connection_id":159769,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:20:37] local.INFO: Processing buffer {"connection_id":159769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:20:37] local.INFO: IMEI packet received {"connection_id":159769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":159769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:20:42] local.INFO: TCP Data received {"connection_id":159769,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:20:42] local.INFO: Processing buffer {"connection_id":159769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:20:42] local.INFO: IMEI packet received {"connection_id":159769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":159769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:20:42] local.INFO: TCP Data received {"connection_id":159769,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-08-22 06:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-08-22 06:20:42] local.INFO: Processing buffer {"connection_id":159769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-08-22 06:20:42] local.INFO: Packet analysis {"connection_id":159769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-22 06:20:42] local.INFO: Extracted packet for processing {"connection_id":159769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-22 06:20: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-22 06: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-22 06:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122032265831120896,"note":"Value kept but may cause issues"} 
[2026-08-22 06:20:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,39,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-22 06:20:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":28000,"timestamp_seconds":28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06:20:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 06:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159769,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159769,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-22 06:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159769,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-22 06:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 06:20:42] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 06:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":159769,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 06:20:42] local.ERROR: GPS data processing failed {"connection_id":159769,"error":"No valid data to process"} 
[2026-08-22 06:20:42] local.INFO: Acknowledgment sent {"connection_id":159769,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 06:20:50] local.INFO: TCP Data received {"connection_id":159505,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:20:50] local.INFO: Processing buffer {"connection_id":159505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:20:50] local.INFO: IMEI packet received {"connection_id":159505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":159505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:20:55] local.INFO: TCP Data received {"connection_id":159505,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:20:55] local.INFO: Processing buffer {"connection_id":159505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:20:55] local.INFO: IMEI packet received {"connection_id":159505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":159505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:20:56] local.INFO: TCP Data received {"connection_id":159505,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:20:56] local.INFO: Processing buffer {"connection_id":159505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:20:56] local.INFO: Packet analysis {"connection_id":159505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:20:56] local.INFO: Extracted packet for processing {"connection_id":159505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564013056001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787359727000,"timestamp_ms":1787359727000,"timestamp_seconds":1787359727,"priority":1,"record_length":96,"hex_timestamp":"000001a026f10d98"} 
[2026-08-22 06: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-22 06:20:56] 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-22 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:20: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-22 06: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-22 06: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-22 06:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564013056001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564013056001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:20:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564013056001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":159505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:20:56] local.INFO: GPS data processed {"connection_id":159505,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:20:56] local.INFO: Acknowledgment sent {"connection_id":159505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:20:59] local.INFO: TCP Data received {"connection_id":160681,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:20:59] local.INFO: Processing buffer {"connection_id":160681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:20:59] local.INFO: IMEI packet received {"connection_id":160681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":160681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:21:00] local.INFO: TCP Data received {"connection_id":160681,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:21:00] local.INFO: Processing buffer {"connection_id":160681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:21:00] local.INFO: IMEI packet received {"connection_id":160681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":160681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:21:00] local.INFO: TCP Data received {"connection_id":160681,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026ef9e68012d181f800721af30003d00ce26..."} 
[2026-08-22 06:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ef9e68012d181f800721af30003d00ce26..."} 
[2026-08-22 06:21:00] local.INFO: Processing buffer {"connection_id":160681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ef9e68012d181f800721af30003d00ce26..."} 
[2026-08-22 06:21:00] local.INFO: Packet analysis {"connection_id":160681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ef"} 
[2026-08-22 06:21:00] local.INFO: Extracted packet for processing {"connection_id":160681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ef"} 
[2026-08-22 06:21:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564060672001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:21:00] local.INFO: IO Element Parsed {"io_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-22 06:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787359633000,"timestamp_ms":1787359633000,"timestamp_seconds":1787359633,"priority":1,"record_length":96,"hex_timestamp":"000001a026ef9e68"} 
[2026-08-22 06: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-22 06:21:00] 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-22 06: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 06:21:00] 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-22 06: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-22 06: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-22 06:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:21:00] 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-22 06:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564060672001,"66":12385,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564060672001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:21:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:21:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564060672001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":160681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:21:00] local.INFO: GPS data processed {"connection_id":160681,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:21:00] local.INFO: Acknowledgment sent {"connection_id":160681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:21:04] local.INFO: TCP Data received {"connection_id":160681,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026eff070012d181f800721af30003d00ce26..."} 
[2026-08-22 06:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026eff070012d181f800721af30003d00ce26..."} 
[2026-08-22 06:21:04] local.INFO: Processing buffer {"connection_id":160681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026eff070012d181f800721af30003d00ce26..."} 
[2026-08-22 06:21:04] local.INFO: Packet analysis {"connection_id":160681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ef"} 
[2026-08-22 06:21:04] local.INFO: Extracted packet for processing {"connection_id":160681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ef"} 
[2026-08-22 06:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564066048001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:21:04] local.INFO: IO Element Parsed {"io_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-22 06:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787359654000,"timestamp_ms":1787359654000,"timestamp_seconds":1787359654,"priority":1,"record_length":96,"hex_timestamp":"000001a026eff070"} 
[2026-08-22 06: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-22 06:21:04] 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-22 06: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 06:21:04] 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-22 06: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-22 06: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-22 06:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:21:04] 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-22 06:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564066048001,"66":12341,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564066048001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:21:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:21:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564066048001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":160681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:21:04] local.INFO: GPS data processed {"connection_id":160681,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:21:04] local.INFO: Acknowledgment sent {"connection_id":160681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:21:13] local.INFO: TCP Data received {"connection_id":159769,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-08-22 06:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159769,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-08-22 06:21:13] local.INFO: Processing buffer {"connection_id":159769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-08-22 06:21:13] local.INFO: Packet analysis {"connection_id":159769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-22 06:21:13] local.INFO: Extracted packet for processing {"connection_id":159769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-22 06:21: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-22 06: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-22 06:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122032265831120896,"note":"Value kept but may cause issues"} 
[2026-08-22 06:21:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,47,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-22 06:21:13] 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-22 06:21:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 06:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159769,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159769,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-22 06:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159769,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-22 06:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 06:21:13] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 06:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":159769,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 06:21:13] local.ERROR: GPS data processing failed {"connection_id":159769,"error":"No valid data to process"} 
[2026-08-22 06:21:13] local.INFO: Acknowledgment sent {"connection_id":159769,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 06:21:27] local.INFO: TCP Data received {"connection_id":159505,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:21:27] local.INFO: Processing buffer {"connection_id":159505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:21:27] local.INFO: Packet analysis {"connection_id":159505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:21:27] local.INFO: Extracted packet for processing {"connection_id":159505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564013056001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:21: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-22 06:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787359727000,"timestamp_ms":1787359727000,"timestamp_seconds":1787359727,"priority":1,"record_length":96,"hex_timestamp":"000001a026f10d98"} 
[2026-08-22 06:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:21:27] 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-22 06:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:21:27] 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-22 06:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564013056001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564013056001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:21:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564013056001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":159505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:21:27] local.INFO: GPS data processed {"connection_id":159505,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:21:27] local.INFO: Acknowledgment sent {"connection_id":159505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:21:45] local.INFO: TCP Data received {"connection_id":159769,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-22 06:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159769,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-22 06:21:45] local.INFO: Processing buffer {"connection_id":159769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-22 06:21:45] local.INFO: Packet analysis {"connection_id":159769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-22 06:21:45] local.INFO: Extracted packet for processing {"connection_id":159769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-22 06: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-22 06: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-22 06:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122032265831120896,"note":"Value kept but may cause issues"} 
[2026-08-22 06:21:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,47,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-22 06:21:45] 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-22 06:21:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 06:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159769,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159769,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-22 06:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159769,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-22 06:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 06:21:45] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 06:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":159769,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 06:21:45] local.ERROR: GPS data processing failed {"connection_id":159769,"error":"No valid data to process"} 
[2026-08-22 06:21:45] local.INFO: Acknowledgment sent {"connection_id":159769,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 06:21:47] local.INFO: TCP Data received {"connection_id":160681,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f04278012d181f800721af30003d00ce25..."} 
[2026-08-22 06:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f04278012d181f800721af30003d00ce25..."} 
[2026-08-22 06:21:47] local.INFO: Processing buffer {"connection_id":160681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f04278012d181f800721af30003d00ce25..."} 
[2026-08-22 06:21:47] local.INFO: Packet analysis {"connection_id":160681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f0"} 
[2026-08-22 06:21:47] local.INFO: Extracted packet for processing {"connection_id":160681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f0"} 
[2026-08-22 06:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06:21: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-22 06:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564071424001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:21: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-22 06:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787359675000,"timestamp_ms":1787359675000,"timestamp_seconds":1787359675,"priority":1,"record_length":96,"hex_timestamp":"000001a026f04278"} 
[2026-08-22 06:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:21:47] 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-22 06:21: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":53,"data_length":795,"current_offset":136} 
[2026-08-22 06:21:47] 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-22 06:21: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-22 06:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:21: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-22 06:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564071424001,"66":12319,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564071424001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:21:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564071424001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":160681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:21:47] local.INFO: GPS data processed {"connection_id":160681,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:21:47] local.INFO: Acknowledgment sent {"connection_id":160681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:21:50] local.INFO: TCP Data received {"connection_id":159506,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:21:50] local.INFO: Processing buffer {"connection_id":159506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:21:50] local.INFO: IMEI packet received {"connection_id":159506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":159506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:21:54] local.INFO: TCP Data received {"connection_id":159507,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:21:54] local.INFO: Processing buffer {"connection_id":159507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:21:54] local.INFO: IMEI packet received {"connection_id":159507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":159507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:21:55] local.INFO: TCP Data received {"connection_id":159506,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:21:55] local.INFO: Processing buffer {"connection_id":159506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:21:55] local.INFO: IMEI packet received {"connection_id":159506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":159506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:21:56] local.INFO: TCP Data received {"connection_id":159506,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:21:56] local.INFO: Processing buffer {"connection_id":159506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:21:56] local.INFO: Packet analysis {"connection_id":159506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:21:56] local.INFO: Extracted packet for processing {"connection_id":159506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564013056001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787359727000,"timestamp_ms":1787359727000,"timestamp_seconds":1787359727,"priority":1,"record_length":96,"hex_timestamp":"000001a026f10d98"} 
[2026-08-22 06: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-22 06:21:56] 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-22 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:21: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-22 06: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-22 06: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-22 06:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564013056001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564013056001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:21:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564013056001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":159506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:21:56] local.INFO: GPS data processed {"connection_id":159506,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:21:56] local.INFO: Acknowledgment sent {"connection_id":159506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:21:59] local.INFO: TCP Data received {"connection_id":159507,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:21:59] local.INFO: Processing buffer {"connection_id":159507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:21:59] local.INFO: IMEI packet received {"connection_id":159507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":159507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:22:00] local.INFO: TCP Data received {"connection_id":159507,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f09480012d181f800721af30003d00ce27..."} 
[2026-08-22 06:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f09480012d181f800721af30003d00ce27..."} 
[2026-08-22 06:22:00] local.INFO: Processing buffer {"connection_id":159507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f09480012d181f800721af30003d00ce27..."} 
[2026-08-22 06:22:00] local.INFO: Packet analysis {"connection_id":159507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f0"} 
[2026-08-22 06:22:00] local.INFO: Extracted packet for processing {"connection_id":159507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f0"} 
[2026-08-22 06:22:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564076800001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:00] local.INFO: IO Element Parsed {"io_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-22 06:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787359696000,"timestamp_ms":1787359696000,"timestamp_seconds":1787359696,"priority":1,"record_length":96,"hex_timestamp":"000001a026f09480"} 
[2026-08-22 06: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-22 06:22:00] 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-22 06: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 06:22:00] 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-22 06: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-22 06: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-22 06:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:22:00] 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-22 06:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564076800001,"66":12298,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564076800001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:22:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:22:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564076800001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":159507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:22:00] local.INFO: GPS data processed {"connection_id":159507,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:22:00] local.INFO: Acknowledgment sent {"connection_id":159507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:22:16] local.INFO: TCP Data received {"connection_id":159769,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026f31cf00100000000000000000000000000..."} 
[2026-08-22 06:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f31cf00100000000000000000000000000..."} 
[2026-08-22 06:22:16] local.INFO: Processing buffer {"connection_id":159769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f31cf00100000000000000000000000000..."} 
[2026-08-22 06:22:16] local.INFO: Packet analysis {"connection_id":159769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f3"} 
[2026-08-22 06:22:16] local.INFO: Extracted packet for processing {"connection_id":159769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f3"} 
[2026-08-22 06:22:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122032265831120896,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,47,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-22 06:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787359862000,"timestamp_ms":1787359862000,"timestamp_seconds":1787359862,"priority":1,"record_length":96,"hex_timestamp":"000001a026f31cf0"} 
[2026-08-22 06: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-22 06:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-22 06:22: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-22 06: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-22 06: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-22 06:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:22: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-22 06:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":159769,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-22 06:22:16] local.INFO: GPS data processed {"connection_id":159769,"processed":0,"errors":0,"total":1} 
[2026-08-22 06:22:16] local.INFO: Acknowledgment sent {"connection_id":159769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:22:27] local.INFO: TCP Data received {"connection_id":159506,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:22:27] local.INFO: Processing buffer {"connection_id":159506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:22:27] local.INFO: Packet analysis {"connection_id":159506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:22:27] local.INFO: Extracted packet for processing {"connection_id":159506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564013056001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22: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-22 06:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787359727000,"timestamp_ms":1787359727000,"timestamp_seconds":1787359727,"priority":1,"record_length":96,"hex_timestamp":"000001a026f10d98"} 
[2026-08-22 06:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:22:27] 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-22 06:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:22:27] 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-22 06:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564013056001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564013056001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:22:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564013056001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":159506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:22:27] local.INFO: GPS data processed {"connection_id":159506,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:22:27] local.INFO: Acknowledgment sent {"connection_id":159506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:22:31] local.INFO: TCP Data received {"connection_id":159507,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f0e688012d181f800721af30003d00ce27..."} 
[2026-08-22 06:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f0e688012d181f800721af30003d00ce27..."} 
[2026-08-22 06:22:31] local.INFO: Processing buffer {"connection_id":159507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f0e688012d181f800721af30003d00ce27..."} 
[2026-08-22 06:22:31] local.INFO: Packet analysis {"connection_id":159507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f0"} 
[2026-08-22 06:22:31] local.INFO: Extracted packet for processing {"connection_id":159507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f0"} 
[2026-08-22 06:22:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564082176001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.INFO: IO Element Parsed {"io_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-22 06:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787359717000,"timestamp_ms":1787359717000,"timestamp_seconds":1787359717,"priority":1,"record_length":96,"hex_timestamp":"000001a026f0e688"} 
[2026-08-22 06: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-22 06:22:31] 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-22 06: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 06:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185650,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4611686018427387905,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2805274485155764255,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3491979443325960398,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513884453194236110,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.WARNING: Large IO value detected {"io_id":61,"raw_value":58027825667506176,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832545,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.WARNING: Large IO value detected {"io_id":38,"raw_value":4014759937,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2939158589,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 06:22:31] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4064280576,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:31] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,242,160,66,45,128,175,61,37,10,240,38,158,1,97,227,33,4,113,205,250,31,48,239,2,50,7,41],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 06:22:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739903212650496,"timestamp_seconds":4395739903212650.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:22:31] 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-22 06:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564082176001,"66":12287,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564082176001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:22:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:22:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564082176001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":159507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:22:31] local.INFO: GPS data processed {"connection_id":159507,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:22:31] local.INFO: Acknowledgment sent {"connection_id":159507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:22:50] local.INFO: TCP Data received {"connection_id":160682,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:22:50] local.INFO: Processing buffer {"connection_id":160682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:22:50] local.INFO: IMEI packet received {"connection_id":160682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":160682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:22:54] local.INFO: TCP Data received {"connection_id":162091,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:22:54] local.INFO: Processing buffer {"connection_id":162091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:22:54] local.INFO: IMEI packet received {"connection_id":162091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":162091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:22:55] local.INFO: TCP Data received {"connection_id":160682,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:22:55] local.INFO: Processing buffer {"connection_id":160682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:22:55] local.INFO: IMEI packet received {"connection_id":160682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":160682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:22:56] local.INFO: TCP Data received {"connection_id":160682,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:22:56] local.INFO: Processing buffer {"connection_id":160682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:22:56] local.INFO: Packet analysis {"connection_id":160682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:22:56] local.INFO: Extracted packet for processing {"connection_id":160682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:22:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564013056001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22: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-22 06:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787359727000,"timestamp_ms":1787359727000,"timestamp_seconds":1787359727,"priority":1,"record_length":96,"hex_timestamp":"000001a026f10d98"} 
[2026-08-22 06: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-22 06:22:56] 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-22 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:22: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-22 06: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-22 06: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-22 06:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564013056001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564013056001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:22:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:22:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564013056001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":160682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:22:56] local.INFO: GPS data processed {"connection_id":160682,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:22:56] local.INFO: Acknowledgment sent {"connection_id":160682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:22:58] local.INFO: TCP Data received {"connection_id":159769,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026f45958012d88990005cf66c8000a00b00a..."} 
[2026-08-22 06:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f45958012d88990005cf66c8000a00b00a..."} 
[2026-08-22 06:22:58] local.INFO: Processing buffer {"connection_id":159769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f45958012d88990005cf66c8000a00b00a..."} 
[2026-08-22 06:22:58] local.INFO: Packet analysis {"connection_id":159769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f4"} 
[2026-08-22 06:22:58] local.INFO: Extracted packet for processing {"connection_id":159769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f4"} 
[2026-08-22 06:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763926784,"raw_latitude":97478344,"longitude_deg":76.3926784,"latitude_deg":9.7478344,"altitude":10,"angle":176,"satellites":10,"speed":38,"hex_longitude":"2d889900","hex_latitude":"05cf66c8","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564143104001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122034353185226752,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8604338169366966272,"note":"Value kept but may cause issues"} 
[2026-08-22 06:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787359943000,"timestamp_ms":1787359943000,"timestamp_seconds":1787359943,"priority":1,"record_length":96,"hex_timestamp":"000001a026f45958"} 
[2026-08-22 06: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-22 06:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 06:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:22:58] 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-22 06:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564143104001,"66":13656,"46":206,"85":13824,"24":38,"16":122034353185226752,"45":-8604338169366966272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,45]} 
[2026-08-22 06:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564143104001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:22:58] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-22 06:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122034353185226752,"km_value":122034353185226.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8604338169366966272,"description":"Unknown IO ID 45"} 
[2026-08-22 06:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564143104001,"power":13656,"unknown_46":206,"unknown_85":13824,"ignition":38,"odometer":null,"unknown_45":-8604338169366966272}} 
[2026-08-22 06:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":159769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:22:58] local.INFO: GPS data processed {"connection_id":159769,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:22:58] local.INFO: Acknowledgment sent {"connection_id":159769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:22:59] local.INFO: TCP Data received {"connection_id":162091,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:22:59] local.INFO: Processing buffer {"connection_id":162091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:22:59] local.INFO: IMEI packet received {"connection_id":162091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":162091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:23:00] local.INFO: TCP Data received {"connection_id":162091,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f13890012d181f800721af30003d00ce27..."} 
[2026-08-22 06:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f13890012d181f800721af30003d00ce27..."} 
[2026-08-22 06:23:00] local.INFO: Processing buffer {"connection_id":162091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f13890012d181f800721af30003d00ce27..."} 
[2026-08-22 06:23:00] local.INFO: Packet analysis {"connection_id":162091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:23:00] local.INFO: Extracted packet for processing {"connection_id":162091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:23:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564087552001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:23:00] local.INFO: IO Element Parsed {"io_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-22 06:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787359738000,"timestamp_ms":1787359738000,"timestamp_seconds":1787359738,"priority":1,"record_length":96,"hex_timestamp":"000001a026f13890"} 
[2026-08-22 06: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-22 06:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 06:23:00] 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-22 06: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-22 06: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-22 06:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:23:00] 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-22 06:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564087552001,"66":12254,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564087552001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:23:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:23:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564087552001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":162091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:23:00] local.INFO: GPS data processed {"connection_id":162091,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:23:00] local.INFO: Acknowledgment sent {"connection_id":162091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:23:27] local.INFO: TCP Data received {"connection_id":160682,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:23:27] local.INFO: Processing buffer {"connection_id":160682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:23:27] local.INFO: Packet analysis {"connection_id":160682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:23:27] local.INFO: Extracted packet for processing {"connection_id":160682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564013056001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:23: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-22 06:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787359727000,"timestamp_ms":1787359727000,"timestamp_seconds":1787359727,"priority":1,"record_length":96,"hex_timestamp":"000001a026f10d98"} 
[2026-08-22 06:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:23:27] 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-22 06:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:23:27] 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-22 06:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564013056001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564013056001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:23:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564013056001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":160682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:23:27] local.INFO: GPS data processed {"connection_id":160682,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:23:27] local.INFO: Acknowledgment sent {"connection_id":160682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:23:29] local.INFO: TCP Data received {"connection_id":159769,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026f48068012d889a8005cf4268000600b20c..."} 
[2026-08-22 06:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f48068012d889a8005cf4268000600b20c..."} 
[2026-08-22 06:23:29] local.INFO: Processing buffer {"connection_id":159769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f48068012d889a8005cf4268000600b20c..."} 
[2026-08-22 06:23:29] local.INFO: Packet analysis {"connection_id":159769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f4"} 
[2026-08-22 06:23:29] local.INFO: Extracted packet for processing {"connection_id":159769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f4"} 
[2026-08-22 06:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763927168,"raw_latitude":97469032,"longitude_deg":76.3927168,"latitude_deg":9.7469032,"altitude":6,"angle":178,"satellites":12,"speed":40,"hex_longitude":"2d889a80","hex_latitude":"05cf4268","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564145408001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122034808451760128,"note":"Value kept but may cause issues"} 
[2026-08-22 06:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8603845588160165888,"note":"Value kept but may cause issues"} 
[2026-08-22 06:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787359953000,"timestamp_ms":1787359953000,"timestamp_seconds":1787359953,"priority":1,"record_length":96,"hex_timestamp":"000001a026f48068"} 
[2026-08-22 06: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-22 06:23:29] 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-22 06: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-22 06:23:29] 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-22 06: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-22 06: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-22 06:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:23:29] 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-22 06:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564145408001,"66":13798,"46":206,"85":13824,"24":40,"16":122034808451760128,"45":-8603845588160165888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,45]} 
[2026-08-22 06:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564145408001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:23:29] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-22 06:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122034808451760128,"km_value":122034808451760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8603845588160165888,"description":"Unknown IO ID 45"} 
[2026-08-22 06:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564145408001,"power":13798,"unknown_46":206,"unknown_85":13824,"ignition":40,"odometer":null,"unknown_45":-8603845588160165888}} 
[2026-08-22 06:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":159769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:23:30] local.INFO: GPS data processed {"connection_id":159769,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:23:30] local.INFO: Acknowledgment sent {"connection_id":159769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:23:31] local.INFO: TCP Data received {"connection_id":162091,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f18a98012d181f800721af30003d00ce26..."} 
[2026-08-22 06:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f18a98012d181f800721af30003d00ce26..."} 
[2026-08-22 06:23:31] local.INFO: Processing buffer {"connection_id":162091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f18a98012d181f800721af30003d00ce26..."} 
[2026-08-22 06:23:31] local.INFO: Packet analysis {"connection_id":162091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:23:31] local.INFO: Extracted packet for processing {"connection_id":162091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:23:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564092928001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:23:31] local.INFO: IO Element Parsed {"io_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-22 06:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787359759000,"timestamp_ms":1787359759000,"timestamp_seconds":1787359759,"priority":1,"record_length":96,"hex_timestamp":"000001a026f18a98"} 
[2026-08-22 06: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-22 06:23:31] 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-22 06: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-22 06:23:31] 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-22 06: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-22 06: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-22 06:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:23:31] 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-22 06:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564092928001,"66":12287,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564092928001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:23:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:23:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564092928001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":162091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:23:31] local.INFO: GPS data processed {"connection_id":162091,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:23:31] local.INFO: Acknowledgment sent {"connection_id":162091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:23:50] local.INFO: TCP Data received {"connection_id":160683,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:23:50] local.INFO: Processing buffer {"connection_id":160683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:23:50] local.INFO: IMEI packet received {"connection_id":160683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":160683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:23:54] local.INFO: TCP Data received {"connection_id":160684,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:23:54] local.INFO: Processing buffer {"connection_id":160684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:23:54] local.INFO: IMEI packet received {"connection_id":160684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":160684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:23:55] local.INFO: TCP Data received {"connection_id":160683,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:23:55] local.INFO: Processing buffer {"connection_id":160683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:23:55] local.INFO: IMEI packet received {"connection_id":160683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":160683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:23:56] local.INFO: TCP Data received {"connection_id":160683,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:23:56] local.INFO: Processing buffer {"connection_id":160683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f10d98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:23:56] local.INFO: Packet analysis {"connection_id":160683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:23:56] local.INFO: Extracted packet for processing {"connection_id":160683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564013056001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787359727000,"timestamp_ms":1787359727000,"timestamp_seconds":1787359727,"priority":1,"record_length":96,"hex_timestamp":"000001a026f10d98"} 
[2026-08-22 06: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-22 06:23:56] 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-22 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:23: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-22 06: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-22 06: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-22 06:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564013056001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564013056001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:23:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564013056001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":160683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:23:56] local.INFO: GPS data processed {"connection_id":160683,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:23:56] local.INFO: Acknowledgment sent {"connection_id":160683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:23:59] local.INFO: TCP Data received {"connection_id":160684,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:23:59] local.INFO: Processing buffer {"connection_id":160684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:23:59] local.INFO: IMEI packet received {"connection_id":160684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":160684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:24:00] local.INFO: TCP Data received {"connection_id":160684,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f1dca0012d181f800721af30003d00ce28..."} 
[2026-08-22 06:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f1dca0012d181f800721af30003d00ce28..."} 
[2026-08-22 06:24:00] local.INFO: Processing buffer {"connection_id":160684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f1dca0012d181f800721af30003d00ce28..."} 
[2026-08-22 06:24:00] local.INFO: Packet analysis {"connection_id":160684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:24:00] local.INFO: Extracted packet for processing {"connection_id":160684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f1"} 
[2026-08-22 06:24:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564098304001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:00] local.INFO: IO Element Parsed {"io_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-22 06:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787359780000,"timestamp_ms":1787359780000,"timestamp_seconds":1787359780,"priority":1,"record_length":96,"hex_timestamp":"000001a026f1dca0"} 
[2026-08-22 06: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-22 06:24:00] 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-22 06: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 06:24:00] 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-22 06: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-22 06: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-22 06:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:24:00] 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-22 06:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564098304001,"66":12254,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564098304001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:24:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:24:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564098304001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":160684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:24:00] local.INFO: GPS data processed {"connection_id":160684,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:24:00] local.INFO: Acknowledgment sent {"connection_id":160684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:24:01] local.INFO: TCP Data received {"connection_id":159769,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026f49fa8012d889b4005cf1fb0000700b10c..."} 
[2026-08-22 06:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f49fa8012d889b4005cf1fb0000700b10c..."} 
[2026-08-22 06:24:01] local.INFO: Processing buffer {"connection_id":159769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f49fa8012d889b4005cf1fb0000700b10c..."} 
[2026-08-22 06:24:01] local.INFO: Packet analysis {"connection_id":159769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f4"} 
[2026-08-22 06:24:01] local.INFO: Extracted packet for processing {"connection_id":159769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f4"} 
[2026-08-22 06:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763927360,"raw_latitude":97460144,"longitude_deg":76.392736,"latitude_deg":9.7460144,"altitude":7,"angle":177,"satellites":12,"speed":46,"hex_longitude":"2d889b40","hex_latitude":"05cf1fb0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564147968001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122035237948489728,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8603423375697483776,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787359961000,"timestamp_ms":1787359961000,"timestamp_seconds":1787359961,"priority":1,"record_length":96,"hex_timestamp":"000001a026f49fa8"} 
[2026-08-22 06: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-22 06:24:01] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-22 06:24:01] 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-22 06: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-22 06: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-22 06:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:24:01] 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-22 06:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564147968001,"66":13820,"46":206,"85":13824,"24":46,"16":122035237948489728,"45":-8603423375697483776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,45]} 
[2026-08-22 06:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564147968001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:24:01] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-22 06:24:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122035237948489728,"km_value":122035237948489.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8603423375697483776,"description":"Unknown IO ID 45"} 
[2026-08-22 06:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564147968001,"power":13820,"unknown_46":206,"unknown_85":13824,"ignition":46,"odometer":null,"unknown_45":-8603423375697483776}} 
[2026-08-22 06:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":159769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:24:01] local.INFO: GPS data processed {"connection_id":159769,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:24:01] local.INFO: Acknowledgment sent {"connection_id":159769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:24:26] local.INFO: TCP Data received {"connection_id":160683,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:24:26] local.INFO: Processing buffer {"connection_id":160683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:24:26] local.INFO: Packet analysis {"connection_id":160683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:24:26] local.INFO: Extracted packet for processing {"connection_id":160683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:24:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564090112001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24: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-22 06:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787360028000,"timestamp_ms":1787360028000,"timestamp_seconds":1787360028,"priority":1,"record_length":96,"hex_timestamp":"000001a026f5a560"} 
[2026-08-22 06: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-22 06:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 06:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:24:26] 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-22 06: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-22 06: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-22 06:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564090112001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564090112001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:24:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564090112001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":160683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:24:26] local.INFO: GPS data processed {"connection_id":160683,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:24:26] local.INFO: Acknowledgment sent {"connection_id":160683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:24:30] local.INFO: TCP Data received {"connection_id":160684,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f22ea8012d181f800721af30003d00ce28..."} 
[2026-08-22 06:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f22ea8012d181f800721af30003d00ce28..."} 
[2026-08-22 06:24:30] local.INFO: Processing buffer {"connection_id":160684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f22ea8012d181f800721af30003d00ce28..."} 
[2026-08-22 06:24:30] local.INFO: Packet analysis {"connection_id":160684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f2"} 
[2026-08-22 06:24:30] local.INFO: Extracted packet for processing {"connection_id":160684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f2"} 
[2026-08-22 06:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564103680001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787359801000,"timestamp_ms":1787359801000,"timestamp_seconds":1787359801,"priority":1,"record_length":96,"hex_timestamp":"000001a026f22ea8"} 
[2026-08-22 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-22 06:24: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-22 06:24:30] 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-22 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-22 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-22 06:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:24:30] 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-22 06:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564103680001,"66":12254,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564103680001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:24:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564103680001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":160684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:24:30] local.INFO: GPS data processed {"connection_id":160684,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:24:30] local.INFO: Acknowledgment sent {"connection_id":160684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:24:32] local.INFO: TCP Data received {"connection_id":159769,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026f5ff38012d889c0005cd96d0000000bf0e..."} 
[2026-08-22 06:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f5ff38012d889c0005cd96d0000000bf0e..."} 
[2026-08-22 06:24:32] local.INFO: Processing buffer {"connection_id":159769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f5ff38012d889c0005cd96d0000000bf0e..."} 
[2026-08-22 06:24:32] local.INFO: Packet analysis {"connection_id":159769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:24:32] local.INFO: Extracted packet for processing {"connection_id":159769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763927552,"raw_latitude":97359568,"longitude_deg":76.3927552,"latitude_deg":9.7359568,"altitude":0,"angle":191,"satellites":14,"speed":54,"hex_longitude":"2d889c00","hex_latitude":"05cd96d0","is_valid_coordinates":true} 
[2026-08-22 06:24: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-22 06:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564171264001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122040138506174464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8601312313397819392,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787360051000,"timestamp_ms":1787360051000,"timestamp_seconds":1787360051,"priority":1,"record_length":96,"hex_timestamp":"000001a026f5ff38"} 
[2026-08-22 06:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:24:32] 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-22 06:24: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":28,"data_length":795,"current_offset":136} 
[2026-08-22 06:24:32] 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-22 06:24: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-22 06:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:24:32] 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-22 06:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564171264001,"66":13939,"113":206,"85":13824,"24":54,"16":122040138506174464,"45":-8601312313397819392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-08-22 06:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564171264001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:24:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-22 06:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122040138506174464,"km_value":122040138506174.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8601312313397819392,"description":"Unknown IO ID 45"} 
[2026-08-22 06:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564171264001,"power":13939,"unknown_113":206,"unknown_85":13824,"ignition":54,"odometer":null,"unknown_45":-8601312313397819392}} 
[2026-08-22 06:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":159769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:24:33] local.INFO: GPS data processed {"connection_id":159769,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:24:33] local.INFO: Acknowledgment sent {"connection_id":159769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:24:54] local.INFO: TCP Data received {"connection_id":159508,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:24:54] local.INFO: Processing buffer {"connection_id":159508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:24:54] local.INFO: IMEI packet received {"connection_id":159508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":159508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:24:55] local.INFO: TCP Data received {"connection_id":160685,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:24:55] local.INFO: Processing buffer {"connection_id":160685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:24:55] local.INFO: IMEI packet received {"connection_id":160685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":160685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:24:55] local.INFO: TCP Data received {"connection_id":160686,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:24:55] local.INFO: Processing buffer {"connection_id":160686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:24:55] local.INFO: IMEI packet received {"connection_id":160686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":160686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:24:56] local.INFO: TCP Data received {"connection_id":160686,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:24:56] local.INFO: Processing buffer {"connection_id":160686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:24:56] local.INFO: IMEI packet received {"connection_id":160686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":160686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:24:59] local.INFO: TCP Data received {"connection_id":159508,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:24:59] local.INFO: Processing buffer {"connection_id":159508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:24:59] local.INFO: IMEI packet received {"connection_id":159508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":159508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:24:59] local.INFO: TCP Data received {"connection_id":159508,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f280b0012d181f800721af30003d00ce27..."} 
[2026-08-22 06:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f280b0012d181f800721af30003d00ce27..."} 
[2026-08-22 06:24:59] local.INFO: Processing buffer {"connection_id":159508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f280b0012d181f800721af30003d00ce27..."} 
[2026-08-22 06:24:59] local.INFO: Packet analysis {"connection_id":159508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f2"} 
[2026-08-22 06:24:59] local.INFO: Extracted packet for processing {"connection_id":159508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f2"} 
[2026-08-22 06:24:59] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564109056001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787359822000,"timestamp_ms":1787359822000,"timestamp_seconds":1787359822,"priority":1,"record_length":96,"hex_timestamp":"000001a026f280b0"} 
[2026-08-22 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-22 06:24:59] 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-22 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-22 06:24:59] 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-22 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-22 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-22 06:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:24:59] 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-22 06:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564109056001,"66":12265,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564109056001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:24:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:24:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564109056001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":159508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:25:00] local.INFO: GPS data processed {"connection_id":159508,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:25:00] local.INFO: Acknowledgment sent {"connection_id":159508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:25:00] local.INFO: TCP Data received {"connection_id":160685,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:25:00] local.INFO: Processing buffer {"connection_id":160685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:25:00] local.INFO: IMEI packet received {"connection_id":160685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":160685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:25:01] local.INFO: TCP Data received {"connection_id":160685,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:25:01] local.INFO: Processing buffer {"connection_id":160685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:25:01] local.INFO: Packet analysis {"connection_id":160685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:25:01] local.INFO: Extracted packet for processing {"connection_id":160685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564090112001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25: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-22 06:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787360028000,"timestamp_ms":1787360028000,"timestamp_seconds":1787360028,"priority":1,"record_length":96,"hex_timestamp":"000001a026f5a560"} 
[2026-08-22 06: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-22 06:25:01] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:25:01] 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-22 06: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-22 06: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-22 06:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564090112001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564090112001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:25:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564090112001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":160685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:25:01] local.INFO: GPS data processed {"connection_id":160685,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:25:01] local.INFO: Acknowledgment sent {"connection_id":160685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:25:02] local.INFO: TCP Data received {"connection_id":160686,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:25:02] local.INFO: Processing buffer {"connection_id":160686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:25:02] local.INFO: IMEI packet received {"connection_id":160686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":160686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:25:03] local.INFO: TCP Data received {"connection_id":160686,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026f612c0012d88998005cd7d28000000b40e..."} 
[2026-08-22 06:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f612c0012d88998005cd7d28000000b40e..."} 
[2026-08-22 06:25:03] local.INFO: Processing buffer {"connection_id":160686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f612c0012d88998005cd7d28000000b40e..."} 
[2026-08-22 06:25:03] local.INFO: Packet analysis {"connection_id":160686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f6"} 
[2026-08-22 06:25:03] local.INFO: Extracted packet for processing {"connection_id":160686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f6"} 
[2026-08-22 06:25:03] local.INFO: GPS Element Parsed {"raw_longitude":763926912,"raw_latitude":97353000,"longitude_deg":76.3926912,"latitude_deg":9.7353,"altitude":0,"angle":180,"satellites":14,"speed":52,"hex_longitude":"2d889980","hex_latitude":"05cd7d28","is_valid_coordinates":true} 
[2026-08-22 06:25: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-22 06:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564173056001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122040460628721664,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8603001163260440576,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787360056000,"timestamp_ms":1787360056000,"timestamp_seconds":1787360056,"priority":1,"record_length":96,"hex_timestamp":"000001a026f612c0"} 
[2026-08-22 06:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:25:03] 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-22 06:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-22 06:25:03] 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-22 06:25: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-22 06:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:25:03] 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-22 06:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564173056001,"66":13689,"113":206,"85":13824,"24":52,"16":122040460628721664,"45":-8603001163260440576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-08-22 06:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564173056001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:25:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-22 06:25:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122040460628721664,"km_value":122040460628721.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8603001163260440576,"description":"Unknown IO ID 45"} 
[2026-08-22 06:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564173056001,"power":13689,"unknown_113":206,"unknown_85":13824,"ignition":52,"odometer":null,"unknown_45":-8603001163260440576}} 
[2026-08-22 06:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":160686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:25:03] local.INFO: GPS data processed {"connection_id":160686,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:25:03] local.INFO: Acknowledgment sent {"connection_id":160686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:25:31] local.INFO: TCP Data received {"connection_id":159508,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f2d2b8012d181f800721af30003d00ce27..."} 
[2026-08-22 06:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f2d2b8012d181f800721af30003d00ce27..."} 
[2026-08-22 06:25:31] local.INFO: Processing buffer {"connection_id":159508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f2d2b8012d181f800721af30003d00ce27..."} 
[2026-08-22 06:25:31] local.INFO: Packet analysis {"connection_id":159508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f2"} 
[2026-08-22 06:25:31] local.INFO: Extracted packet for processing {"connection_id":159508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f2"} 
[2026-08-22 06:25:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564114432001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:31] local.INFO: IO Element Parsed {"io_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-22 06:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787359843000,"timestamp_ms":1787359843000,"timestamp_seconds":1787359843,"priority":1,"record_length":96,"hex_timestamp":"000001a026f2d2b8"} 
[2026-08-22 06: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-22 06:25:31] 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-22 06: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 06:25:31] 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-22 06: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-22 06: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-22 06:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:25:31] 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-22 06:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564114432001,"66":12265,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564114432001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:25:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:25:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564114432001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":159508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:25:31] local.INFO: GPS data processed {"connection_id":159508,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:25:31] local.INFO: Acknowledgment sent {"connection_id":159508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:25:32] local.INFO: TCP Data received {"connection_id":160685,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:25:32] local.INFO: Processing buffer {"connection_id":160685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:25:32] local.INFO: Packet analysis {"connection_id":160685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:25:32] local.INFO: Extracted packet for processing {"connection_id":160685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564090112001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:32] 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-22 06:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787360028000,"timestamp_ms":1787360028000,"timestamp_seconds":1787360028,"priority":1,"record_length":96,"hex_timestamp":"000001a026f5a560"} 
[2026-08-22 06: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-22 06:25:32] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:25:32] 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-22 06: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-22 06: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-22 06:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564090112001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564090112001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:25:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564090112001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":160685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:25:32] local.INFO: GPS data processed {"connection_id":160685,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:25:32] local.INFO: Acknowledgment sent {"connection_id":160685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:25:34] local.INFO: TCP Data received {"connection_id":160686,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026f6ce40012d88928005ccda48000000af0e..."} 
[2026-08-22 06:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f6ce40012d88928005ccda48000000af0e..."} 
[2026-08-22 06:25:34] local.INFO: Processing buffer {"connection_id":160686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f6ce40012d88928005ccda48000000af0e..."} 
[2026-08-22 06:25:34] local.INFO: Packet analysis {"connection_id":160686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f6"} 
[2026-08-22 06:25:34] local.INFO: Extracted packet for processing {"connection_id":160686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f6"} 
[2026-08-22 06:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763925120,"raw_latitude":97311304,"longitude_deg":76.392512,"latitude_deg":9.7311304,"altitude":0,"angle":175,"satellites":14,"speed":32,"hex_longitude":"2d889280","hex_latitude":"05ccda48","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564186112001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122042582342565888,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8605815913039511552,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787360104000,"timestamp_ms":1787360104000,"timestamp_seconds":1787360104,"priority":1,"record_length":96,"hex_timestamp":"000001a026f6ce40"} 
[2026-08-22 06: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-22 06:25:34] 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-22 06: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 06:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751624596,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2292187141,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5650681625722224640,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.WARNING: Large IO value detected {"io_id":38,"raw_value":4137895937,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3978297344,"corrected_to":0} 
[2026-08-22 06:25:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549776383,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2885615822,"corrected_to":0} 
[2026-08-22 06:25:34] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648453267304875,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2495873024,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3438305280,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.WARNING: Large IO value detected {"io_id":136,"raw_value":-6809436258217492480,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755575534846193,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:34] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,255,85,24,241,157,16,149,160,194,45,192,226,14,10,66,148,190,128,228,167,64,1,240,82,227,38,204,4,113,205,18,159,161,239,53,2,177,5,136,54],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":204,"original":3978297344,"validated":0},{"io_id":205,"original":2885615822,"validated":0}]} 
[2026-08-22 06:25:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":205668805640192,"timestamp_seconds":205668805640.192,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:25:34] 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-22 06:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564186112001,"66":13689,"255":206,"85":13824,"24":32,"16":122042582342565888,"45":-8605815913039511552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,45]} 
[2026-08-22 06:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564186112001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:25:34] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-22 06:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122042582342565888,"km_value":122042582342565.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8605815913039511552,"description":"Unknown IO ID 45"} 
[2026-08-22 06:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564186112001,"power":13689,"unknown_255":206,"unknown_85":13824,"ignition":32,"odometer":null,"unknown_45":-8605815913039511552}} 
[2026-08-22 06:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":160686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:25:34] local.INFO: GPS data processed {"connection_id":160686,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:25:34] local.INFO: Acknowledgment sent {"connection_id":160686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:25:50] local.INFO: TCP Data received {"connection_id":162092,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:25:50] local.INFO: Processing buffer {"connection_id":162092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:25:50] local.INFO: IMEI packet received {"connection_id":162092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":162092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:25:54] local.INFO: TCP Data received {"connection_id":159509,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:25:54] local.INFO: Processing buffer {"connection_id":159509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:25:54] local.INFO: IMEI packet received {"connection_id":159509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":159509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:25:54] local.INFO: TCP Data received {"connection_id":159509,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:25:54] local.INFO: Processing buffer {"connection_id":159509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:25:54] local.INFO: IMEI packet received {"connection_id":159509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":159509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:25:55] local.INFO: TCP Data received {"connection_id":162092,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:25:55] local.INFO: Processing buffer {"connection_id":162092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:25:55] local.INFO: IMEI packet received {"connection_id":162092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":162092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:25:56] local.INFO: TCP Data received {"connection_id":162092,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:25:56] local.INFO: Processing buffer {"connection_id":162092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:25:56] local.INFO: Packet analysis {"connection_id":162092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:25:56] local.INFO: Extracted packet for processing {"connection_id":162092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564090112001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25: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-22 06:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787360028000,"timestamp_ms":1787360028000,"timestamp_seconds":1787360028,"priority":1,"record_length":96,"hex_timestamp":"000001a026f5a560"} 
[2026-08-22 06: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-22 06:25:56] 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-22 06: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":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:25:56] 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-22 06: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-22 06: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-22 06:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564090112001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564090112001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:25:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564090112001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":162092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:25:56] local.INFO: GPS data processed {"connection_id":162092,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:25:56] local.INFO: Acknowledgment sent {"connection_id":162092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:25:59] local.INFO: TCP Data received {"connection_id":159509,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:25:59] local.INFO: Processing buffer {"connection_id":159509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:25:59] local.INFO: IMEI packet received {"connection_id":159509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":159509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:25:59] local.INFO: TCP Data received {"connection_id":159509,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f65910012d181f800721af30003d00ce29..."} 
[2026-08-22 06:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f65910012d181f800721af30003d00ce29..."} 
[2026-08-22 06:25:59] local.INFO: Processing buffer {"connection_id":159509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f65910012d181f800721af30003d00ce29..."} 
[2026-08-22 06:25:59] local.INFO: Packet analysis {"connection_id":159509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f6"} 
[2026-08-22 06:25:59] local.INFO: Extracted packet for processing {"connection_id":159509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f6"} 
[2026-08-22 06:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564173568001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787360074000,"timestamp_ms":1787360074000,"timestamp_seconds":1787360074,"priority":1,"record_length":96,"hex_timestamp":"000001a026f65910"} 
[2026-08-22 06: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-22 06:25:59] 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-22 06: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 06:25:59] 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-22 06: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-22 06: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-22 06:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:25:59] 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-22 06:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564173568001,"66":12178,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564173568001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:25:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564173568001,"power":12178,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":159509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:26:00] local.INFO: GPS data processed {"connection_id":159509,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:26:00] local.INFO: Acknowledgment sent {"connection_id":159509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:26:05] local.INFO: TCP Data received {"connection_id":160686,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026f6f550012d8894c005ccb7c8000000b10e..."} 
[2026-08-22 06:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f6f550012d8894c005ccb7c8000000b10e..."} 
[2026-08-22 06:26:05] local.INFO: Processing buffer {"connection_id":160686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f6f550012d8894c005ccb7c8000000b10e..."} 
[2026-08-22 06:26:05] local.INFO: Packet analysis {"connection_id":160686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f6"} 
[2026-08-22 06:26:05] local.INFO: Extracted packet for processing {"connection_id":160686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f6"} 
[2026-08-22 06:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763925696,"raw_latitude":97302472,"longitude_deg":76.3925696,"latitude_deg":9.7302472,"altitude":0,"angle":177,"satellites":14,"speed":34,"hex_longitude":"2d8894c0","hex_latitude":"05ccb7c8","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564186624001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122043011839295488,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8605675175551547392,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787360114000,"timestamp_ms":1787360114000,"timestamp_seconds":1787360114,"priority":1,"record_length":96,"hex_timestamp":"000001a026f6f550"} 
[2026-08-22 06: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-22 06:26:05] 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-22 06: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-22 06:26:05] 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-22 06: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-22 06: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-22 06:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:26: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-22 06:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564186624001,"66":13646,"145":206,"85":13824,"24":34,"16":122043011839295488,"45":-8605675175551547392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,45]} 
[2026-08-22 06:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564186624001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:26:05] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-22 06:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122043011839295488,"km_value":122043011839295.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8605675175551547392,"description":"Unknown IO ID 45"} 
[2026-08-22 06:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564186624001,"power":13646,"unknown_145":206,"unknown_85":13824,"ignition":34,"odometer":null,"unknown_45":-8605675175551547392}} 
[2026-08-22 06:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":160686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:26:05] local.INFO: GPS data processed {"connection_id":160686,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:26:05] local.INFO: Acknowledgment sent {"connection_id":160686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:26:27] local.INFO: TCP Data received {"connection_id":162092,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:26:27] local.INFO: Processing buffer {"connection_id":162092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:26:27] local.INFO: Packet analysis {"connection_id":162092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:26:27] local.INFO: Extracted packet for processing {"connection_id":162092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564090112001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26: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-22 06:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787360028000,"timestamp_ms":1787360028000,"timestamp_seconds":1787360028,"priority":1,"record_length":96,"hex_timestamp":"000001a026f5a560"} 
[2026-08-22 06:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:26:27] 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-22 06:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:26:27] 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-22 06:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564090112001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564090112001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:26:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564090112001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":162092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:26:27] local.INFO: GPS data processed {"connection_id":162092,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:26:27] local.INFO: Acknowledgment sent {"connection_id":162092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:26:31] local.INFO: TCP Data received {"connection_id":159509,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f6ab18012d181f800721af30003d00ce29..."} 
[2026-08-22 06:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f6ab18012d181f800721af30003d00ce29..."} 
[2026-08-22 06:26:31] local.INFO: Processing buffer {"connection_id":159509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f6ab18012d181f800721af30003d00ce29..."} 
[2026-08-22 06:26:31] local.INFO: Packet analysis {"connection_id":159509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f6"} 
[2026-08-22 06:26:31] local.INFO: Extracted packet for processing {"connection_id":159509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f6"} 
[2026-08-22 06:26:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564178944001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26:31] local.INFO: IO Element Parsed {"io_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-22 06:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787360095000,"timestamp_ms":1787360095000,"timestamp_seconds":1787360095,"priority":1,"record_length":96,"hex_timestamp":"000001a026f6ab18"} 
[2026-08-22 06: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-22 06:26:31] 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-22 06: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-22 06:26:31] 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-22 06: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-22 06: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-22 06:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:26:31] 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-22 06:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564178944001,"66":12178,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564178944001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:26:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:26:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564178944001,"power":12178,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":159509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:26:31] local.INFO: GPS data processed {"connection_id":159509,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:26:31] local.INFO: Acknowledgment sent {"connection_id":159509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:26:36] local.INFO: TCP Data received {"connection_id":160686,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026f71c60012d88980005cc92e8000000ac0e..."} 
[2026-08-22 06:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f71c60012d88980005cc92e8000000ac0e..."} 
[2026-08-22 06:26:36] local.INFO: Processing buffer {"connection_id":160686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f71c60012d88980005cc92e8000000ac0e..."} 
[2026-08-22 06:26:36] local.INFO: Packet analysis {"connection_id":160686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f7"} 
[2026-08-22 06:26:36] local.INFO: Extracted packet for processing {"connection_id":160686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f7"} 
[2026-08-22 06:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763926528,"raw_latitude":97293032,"longitude_deg":76.3926528,"latitude_deg":9.7293032,"altitude":0,"angle":172,"satellites":14,"speed":40,"hex_longitude":"2d889800","hex_latitude":"05cc92e8","is_valid_coordinates":true} 
[2026-08-22 06:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564189184001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122043471400796160,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8605041856856209408,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787360124000,"timestamp_ms":1787360124000,"timestamp_seconds":1787360124,"priority":1,"record_length":96,"hex_timestamp":"000001a026f71c60"} 
[2026-08-22 06:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:26:36] 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-22 06:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-22 06:26:36] 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-22 06:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:26:36] 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-22 06:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564189184001,"66":13580,"145":206,"85":13824,"24":40,"16":122043471400796160,"45":-8605041856856209408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,45]} 
[2026-08-22 06:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564189184001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:26:36] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-22 06:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122043471400796160,"km_value":122043471400796.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8605041856856209408,"description":"Unknown IO ID 45"} 
[2026-08-22 06:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564189184001,"power":13580,"unknown_145":206,"unknown_85":13824,"ignition":40,"odometer":null,"unknown_45":-8605041856856209408}} 
[2026-08-22 06:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":160686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:26:36] local.INFO: GPS data processed {"connection_id":160686,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:26:36] local.INFO: Acknowledgment sent {"connection_id":160686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:26:50] local.INFO: TCP Data received {"connection_id":160687,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:26:50] local.INFO: Processing buffer {"connection_id":160687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:26:50] local.INFO: IMEI packet received {"connection_id":160687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":160687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:26:53] local.INFO: TCP Data received {"connection_id":159510,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:26:53] local.INFO: Processing buffer {"connection_id":159510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:26:53] local.INFO: IMEI packet received {"connection_id":159510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":159510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:26:55] local.INFO: TCP Data received {"connection_id":160687,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:26:55] local.INFO: Processing buffer {"connection_id":160687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:26:55] local.INFO: IMEI packet received {"connection_id":160687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":160687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:26:56] local.INFO: TCP Data received {"connection_id":160687,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:26:56] local.INFO: Processing buffer {"connection_id":160687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:26:56] local.INFO: Packet analysis {"connection_id":160687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:26:56] local.INFO: Extracted packet for processing {"connection_id":160687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564090112001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787360028000,"timestamp_ms":1787360028000,"timestamp_seconds":1787360028,"priority":1,"record_length":96,"hex_timestamp":"000001a026f5a560"} 
[2026-08-22 06: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-22 06:26:56] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:26:56] 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-22 06: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-22 06: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-22 06:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564090112001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564090112001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:26:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564090112001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":160687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:26:56] local.INFO: GPS data processed {"connection_id":160687,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:26:56] local.INFO: Acknowledgment sent {"connection_id":160687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:26:56] local.INFO: TCP Data received {"connection_id":159511,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:26:56] local.INFO: Processing buffer {"connection_id":159511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:26:56] local.INFO: IMEI packet received {"connection_id":159511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":159511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:26:57] local.INFO: TCP Data received {"connection_id":159510,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:26:57] local.INFO: Processing buffer {"connection_id":159510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:26:57] local.INFO: IMEI packet received {"connection_id":159510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":159510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:26:57] local.INFO: TCP Data received {"connection_id":159511,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:26:57] local.INFO: Processing buffer {"connection_id":159511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:26:57] local.INFO: IMEI packet received {"connection_id":159511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":159511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:26:58] local.INFO: TCP Data received {"connection_id":159510,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:26:58] local.INFO: Processing buffer {"connection_id":159510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:26:58] local.INFO: IMEI packet received {"connection_id":159510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":159510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:26:59] local.INFO: TCP Data received {"connection_id":159510,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f6fd20012d181f800721af30003d00ce26..."} 
[2026-08-22 06:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f6fd20012d181f800721af30003d00ce26..."} 
[2026-08-22 06:26:59] local.INFO: Processing buffer {"connection_id":159510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f6fd20012d181f800721af30003d00ce26..."} 
[2026-08-22 06:26:59] local.INFO: Packet analysis {"connection_id":159510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f6"} 
[2026-08-22 06:26:59] local.INFO: Extracted packet for processing {"connection_id":159510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f6"} 
[2026-08-22 06:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564184320001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787360116000,"timestamp_ms":1787360116000,"timestamp_seconds":1787360116,"priority":1,"record_length":96,"hex_timestamp":"000001a026f6fd20"} 
[2026-08-22 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-22 06:26:59] 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-22 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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-22 06:26:59] 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-22 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-22 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-22 06:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:26:59] 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-22 06:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564184320001,"66":12232,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564184320001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:26:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564184320001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":159510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:26:59] local.INFO: GPS data processed {"connection_id":159510,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:26:59] local.INFO: Acknowledgment sent {"connection_id":159510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:27:03] local.INFO: TCP Data received {"connection_id":159511,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:27:03] local.INFO: Processing buffer {"connection_id":159511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:27:03] local.INFO: IMEI packet received {"connection_id":159511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":159511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:27:04] local.INFO: TCP Data received {"connection_id":159511,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026f84540012d88894005cba420000500ae10..."} 
[2026-08-22 06:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f84540012d88894005cba420000500ae10..."} 
[2026-08-22 06:27:04] local.INFO: Processing buffer {"connection_id":159511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f84540012d88894005cba420000500ae10..."} 
[2026-08-22 06:27:04] local.INFO: Packet analysis {"connection_id":159511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f8"} 
[2026-08-22 06:27:04] local.INFO: Extracted packet for processing {"connection_id":159511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f8"} 
[2026-08-22 06:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763922752,"raw_latitude":97231904,"longitude_deg":76.3922752,"latitude_deg":9.7231904,"altitude":5,"angle":174,"satellites":16,"speed":49,"hex_longitude":"2d888940","hex_latitude":"05cba420","is_valid_coordinates":true} 
[2026-08-22 06:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564209408001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122046486467837952,"note":"Value kept but may cause issues"} 
[2026-08-22 06:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8608841769057552384,"note":"Value kept but may cause issues"} 
[2026-08-22 06:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787360200000,"timestamp_ms":1787360200000,"timestamp_seconds":1787360200,"priority":1,"record_length":96,"hex_timestamp":"000001a026f84540"} 
[2026-08-22 06:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:27:04] 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-22 06:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-22 06:27:04] 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-22 06:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:27:04] 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-22 06:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564209408001,"66":13852,"144":206,"85":13824,"24":49,"16":122046486467837952,"45":-8608841769057552384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,85,24,16,45]} 
[2026-08-22 06:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564209408001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:27:04] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-22 06:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122046486467837952,"km_value":122046486467837.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8608841769057552384,"description":"Unknown IO ID 45"} 
[2026-08-22 06:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564209408001,"power":13852,"unknown_144":206,"unknown_85":13824,"ignition":49,"odometer":null,"unknown_45":-8608841769057552384}} 
[2026-08-22 06:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":159511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:27:04] local.INFO: GPS data processed {"connection_id":159511,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:27:04] local.INFO: Acknowledgment sent {"connection_id":159511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:27:27] local.INFO: TCP Data received {"connection_id":160687,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:27:27] local.INFO: Processing buffer {"connection_id":160687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:27:27] local.INFO: Packet analysis {"connection_id":160687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:27:27] local.INFO: Extracted packet for processing {"connection_id":160687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564090112001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:27: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-22 06:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787360028000,"timestamp_ms":1787360028000,"timestamp_seconds":1787360028,"priority":1,"record_length":96,"hex_timestamp":"000001a026f5a560"} 
[2026-08-22 06:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:27:27] 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-22 06:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:27:27] 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-22 06:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564090112001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564090112001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:27:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564090112001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":160687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:27:27] local.INFO: GPS data processed {"connection_id":160687,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:27:27] local.INFO: Acknowledgment sent {"connection_id":160687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:27:30] local.INFO: TCP Data received {"connection_id":159510,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f74f28012d181f800721af30003d00ce28..."} 
[2026-08-22 06:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f74f28012d181f800721af30003d00ce28..."} 
[2026-08-22 06:27:30] local.INFO: Processing buffer {"connection_id":159510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f74f28012d181f800721af30003d00ce28..."} 
[2026-08-22 06:27:30] local.INFO: Packet analysis {"connection_id":159510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f7"} 
[2026-08-22 06:27:30] local.INFO: Extracted packet for processing {"connection_id":159510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f7"} 
[2026-08-22 06:27:30] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564189696001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787360137000,"timestamp_ms":1787360137000,"timestamp_seconds":1787360137,"priority":1,"record_length":96,"hex_timestamp":"000001a026f74f28"} 
[2026-08-22 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-22 06:27:30] 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-22 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 06:27:30] 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-22 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-22 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-22 06:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:27:30] 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-22 06:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564189696001,"66":12232,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564189696001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:27:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564189696001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":159510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:27:30] local.INFO: GPS data processed {"connection_id":159510,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:27:30] local.INFO: Acknowledgment sent {"connection_id":159510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:27:35] local.INFO: TCP Data received {"connection_id":159511,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026f86480012d888b4005cb7e98000700b310..."} 
[2026-08-22 06:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f86480012d888b4005cb7e98000700b310..."} 
[2026-08-22 06:27:35] local.INFO: Processing buffer {"connection_id":159511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f86480012d888b4005cb7e98000700b310..."} 
[2026-08-22 06:27:35] local.INFO: Packet analysis {"connection_id":159511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f8"} 
[2026-08-22 06:27:35] local.INFO: Extracted packet for processing {"connection_id":159511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f8"} 
[2026-08-22 06:27:35] local.INFO: GPS Element Parsed {"raw_longitude":763923264,"raw_latitude":97222296,"longitude_deg":76.3923264,"latitude_deg":9.7222296,"altitude":7,"angle":179,"satellites":16,"speed":46,"hex_longitude":"2d888b40","hex_latitude":"05cb7e98","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564211200001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122046954619273216,"note":"Value kept but may cause issues"} 
[2026-08-22 06:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8608278819106447360,"note":"Value kept but may cause issues"} 
[2026-08-22 06:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787360208000,"timestamp_ms":1787360208000,"timestamp_seconds":1787360208,"priority":1,"record_length":96,"hex_timestamp":"000001a026f86480"} 
[2026-08-22 06: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-22 06:27:35] 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-22 06: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-22 06:27:35] 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-22 06: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-22 06: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-22 06:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:27:35] 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-22 06:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564211200001,"66":13787,"144":206,"85":13824,"24":46,"16":122046954619273216,"45":-8608278819106447360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,85,24,16,45]} 
[2026-08-22 06:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564211200001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:27:35] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-22 06:27:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122046954619273216,"km_value":122046954619273.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8608278819106447360,"description":"Unknown IO ID 45"} 
[2026-08-22 06:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564211200001,"power":13787,"unknown_144":206,"unknown_85":13824,"ignition":46,"odometer":null,"unknown_45":-8608278819106447360}} 
[2026-08-22 06:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":159511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:27:35] local.INFO: GPS data processed {"connection_id":159511,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:27:35] local.INFO: Acknowledgment sent {"connection_id":159511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:27:50] local.INFO: TCP Data received {"connection_id":159770,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:27:50] local.INFO: Processing buffer {"connection_id":159770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:27:50] local.INFO: IMEI packet received {"connection_id":159770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":159770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:27:55] local.INFO: TCP Data received {"connection_id":159770,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:27:55] local.INFO: Processing buffer {"connection_id":159770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:27:55] local.INFO: IMEI packet received {"connection_id":159770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":159770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:27:56] local.INFO: TCP Data received {"connection_id":159770,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:27:56] local.INFO: Processing buffer {"connection_id":159770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:27:56] local.INFO: Packet analysis {"connection_id":159770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:27:56] local.INFO: Extracted packet for processing {"connection_id":159770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564090112001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787360028000,"timestamp_ms":1787360028000,"timestamp_seconds":1787360028,"priority":1,"record_length":96,"hex_timestamp":"000001a026f5a560"} 
[2026-08-22 06: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-22 06:27:56] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:27:56] 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-22 06: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-22 06: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-22 06:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564090112001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564090112001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:27:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564090112001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":159770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:27:56] local.INFO: GPS data processed {"connection_id":159770,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:27:56] local.INFO: Acknowledgment sent {"connection_id":159770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:27:59] local.INFO: TCP Data received {"connection_id":160688,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:27:59] local.INFO: Processing buffer {"connection_id":160688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:27:59] local.INFO: IMEI packet received {"connection_id":160688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":160688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:28:00] local.INFO: TCP Data received {"connection_id":160688,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:28:00] local.INFO: Processing buffer {"connection_id":160688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:28:00] local.INFO: IMEI packet received {"connection_id":160688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":160688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:28:00] local.INFO: TCP Data received {"connection_id":160688,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f7a130012d181f800721af30003d00ce29..."} 
[2026-08-22 06:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f7a130012d181f800721af30003d00ce29..."} 
[2026-08-22 06:28:00] local.INFO: Processing buffer {"connection_id":160688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f7a130012d181f800721af30003d00ce29..."} 
[2026-08-22 06:28:00] local.INFO: Packet analysis {"connection_id":160688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f7"} 
[2026-08-22 06:28:00] local.INFO: Extracted packet for processing {"connection_id":160688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f7"} 
[2026-08-22 06:28:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564195072001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:00] local.INFO: IO Element Parsed {"io_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-22 06:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787360158000,"timestamp_ms":1787360158000,"timestamp_seconds":1787360158,"priority":1,"record_length":96,"hex_timestamp":"000001a026f7a130"} 
[2026-08-22 06: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-22 06:28:00] 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-22 06: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 06:28:00] 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-22 06: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-22 06: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-22 06:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:28:00] 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-22 06:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564195072001,"66":12211,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564195072001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:28:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:28:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564195072001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":160688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:28:00] local.INFO: GPS data processed {"connection_id":160688,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:28:00] local.INFO: Acknowledgment sent {"connection_id":160688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:28:01] local.INFO: TCP Data received {"connection_id":159512,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:28:01] local.INFO: Processing buffer {"connection_id":159512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:28:01] local.INFO: IMEI packet received {"connection_id":159512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":159512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:28:03] local.INFO: TCP Data received {"connection_id":159512,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:28:03] local.INFO: Processing buffer {"connection_id":159512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:28:03] local.INFO: IMEI packet received {"connection_id":159512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":159512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:28:04] local.INFO: TCP Data received {"connection_id":160688,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f7f338012d181f800721af30003d00ce29..."} 
[2026-08-22 06:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f7f338012d181f800721af30003d00ce29..."} 
[2026-08-22 06:28:04] local.INFO: Processing buffer {"connection_id":160688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f7f338012d181f800721af30003d00ce29..."} 
[2026-08-22 06:28:04] local.INFO: Packet analysis {"connection_id":160688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f7"} 
[2026-08-22 06:28:04] local.INFO: Extracted packet for processing {"connection_id":160688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f7"} 
[2026-08-22 06:28:04] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564200448001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:04] local.INFO: IO Element Parsed {"io_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-22 06:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787360179000,"timestamp_ms":1787360179000,"timestamp_seconds":1787360179,"priority":1,"record_length":96,"hex_timestamp":"000001a026f7f338"} 
[2026-08-22 06: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-22 06:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 06:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:28:04] 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-22 06:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564200448001,"66":12232,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564200448001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:28:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:28:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564200448001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":160688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:28:04] local.INFO: GPS data processed {"connection_id":160688,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:28:04] local.INFO: Acknowledgment sent {"connection_id":160688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:28:06] local.INFO: TCP Data received {"connection_id":159512,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:28:06] local.INFO: Processing buffer {"connection_id":159512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:28:06] local.INFO: IMEI packet received {"connection_id":159512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":159512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:28:08] local.INFO: TCP Data received {"connection_id":159512,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026f883c0012d88898005cb5958000500b910..."} 
[2026-08-22 06:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f883c0012d88898005cb5958000500b910..."} 
[2026-08-22 06:28:08] local.INFO: Processing buffer {"connection_id":159512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f883c0012d88898005cb5958000500b910..."} 
[2026-08-22 06:28:08] local.INFO: Packet analysis {"connection_id":159512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f8"} 
[2026-08-22 06:28:08] local.INFO: Extracted packet for processing {"connection_id":159512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f8"} 
[2026-08-22 06:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763922816,"raw_latitude":97212760,"longitude_deg":76.3922816,"latitude_deg":9.721276,"altitude":5,"angle":185,"satellites":16,"speed":48,"hex_longitude":"2d888980","hex_latitude":"05cb5958","is_valid_coordinates":true} 
[2026-08-22 06:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564213248001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122047418475741184,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8607715869155485696,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787360216000,"timestamp_ms":1787360216000,"timestamp_seconds":1787360216,"priority":1,"record_length":96,"hex_timestamp":"000001a026f883c0"} 
[2026-08-22 06:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:28:08] 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-22 06:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-22 06:28:08] 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-22 06:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:28: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-22 06:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564213248001,"66":13646,"144":206,"85":13824,"24":48,"16":122047418475741184,"45":-8607715869155485696},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,85,24,16,45]} 
[2026-08-22 06:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564213248001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:28:08] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-22 06:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122047418475741184,"km_value":122047418475741.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8607715869155485696,"description":"Unknown IO ID 45"} 
[2026-08-22 06:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564213248001,"power":13646,"unknown_144":206,"unknown_85":13824,"ignition":48,"odometer":null,"unknown_45":-8607715869155485696}} 
[2026-08-22 06:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":159512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:28:08] local.INFO: GPS data processed {"connection_id":159512,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:28:08] local.INFO: Acknowledgment sent {"connection_id":159512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:28:09] local.INFO: TCP Data received {"connection_id":159512,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026f8a300012d88850005cb3658000200ba10..."} 
[2026-08-22 06:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f8a300012d88850005cb3658000200ba10..."} 
[2026-08-22 06:28:09] local.INFO: Processing buffer {"connection_id":159512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f8a300012d88850005cb3658000200ba10..."} 
[2026-08-22 06:28:09] local.INFO: Packet analysis {"connection_id":159512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f8"} 
[2026-08-22 06:28:09] local.INFO: Extracted packet for processing {"connection_id":159512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f8"} 
[2026-08-22 06:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763921664,"raw_latitude":97203800,"longitude_deg":76.3921664,"latitude_deg":9.72038,"altitude":2,"angle":186,"satellites":16,"speed":47,"hex_longitude":"2d888500","hex_latitude":"05cb3658","is_valid_coordinates":true} 
[2026-08-22 06:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564215296001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122047856562405376,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8608208450367170560,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787360224000,"timestamp_ms":1787360224000,"timestamp_seconds":1787360224,"priority":1,"record_length":96,"hex_timestamp":"000001a026f8a300"} 
[2026-08-22 06:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:28:09] 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-22 06:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-22 06:28:09] 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-22 06:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:28: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-22 06:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564215296001,"66":13526,"144":206,"85":13824,"24":47,"16":122047856562405376,"45":-8608208450367170560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,85,24,16,45]} 
[2026-08-22 06:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564215296001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:28:09] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-22 06:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122047856562405376,"km_value":122047856562405.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8608208450367170560,"description":"Unknown IO ID 45"} 
[2026-08-22 06:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564215296001,"power":13526,"unknown_144":206,"unknown_85":13824,"ignition":47,"odometer":null,"unknown_45":-8608208450367170560}} 
[2026-08-22 06:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":159512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:28:09] local.INFO: GPS data processed {"connection_id":159512,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:28:09] local.INFO: Acknowledgment sent {"connection_id":159512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:28:27] local.INFO: TCP Data received {"connection_id":159770,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:28:27] local.INFO: Processing buffer {"connection_id":159770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:28:27] local.INFO: Packet analysis {"connection_id":159770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:28:27] local.INFO: Extracted packet for processing {"connection_id":159770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:28:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564090112001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28: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-22 06:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787360028000,"timestamp_ms":1787360028000,"timestamp_seconds":1787360028,"priority":1,"record_length":96,"hex_timestamp":"000001a026f5a560"} 
[2026-08-22 06: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-22 06:28:27] 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-22 06:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:28:27] 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-22 06: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-22 06: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-22 06:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564090112001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564090112001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:28:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:28:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564090112001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":159770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:28:27] local.INFO: GPS data processed {"connection_id":159770,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:28:27] local.INFO: Acknowledgment sent {"connection_id":159770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:28:35] local.INFO: TCP Data received {"connection_id":160688,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f84540012d181f800721af30003d00ce29..."} 
[2026-08-22 06:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f84540012d181f800721af30003d00ce29..."} 
[2026-08-22 06:28:35] local.INFO: Processing buffer {"connection_id":160688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f84540012d181f800721af30003d00ce29..."} 
[2026-08-22 06:28:35] local.INFO: Packet analysis {"connection_id":160688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f8"} 
[2026-08-22 06:28:35] local.INFO: Extracted packet for processing {"connection_id":160688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f8"} 
[2026-08-22 06:28:35] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564205824001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:35] local.INFO: IO Element Parsed {"io_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-22 06:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787360200000,"timestamp_ms":1787360200000,"timestamp_seconds":1787360200,"priority":1,"record_length":96,"hex_timestamp":"000001a026f84540"} 
[2026-08-22 06: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-22 06:28:35] 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-22 06: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 06:28:35] 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-22 06: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-22 06: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-22 06:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:28:35] 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-22 06:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564205824001,"66":12189,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564205824001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:28:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:28:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564205824001,"power":12189,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":160688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:28:35] local.INFO: GPS data processed {"connection_id":160688,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:28:35] local.INFO: Acknowledgment sent {"connection_id":160688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:28:40] local.INFO: TCP Data received {"connection_id":159512,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026f9b470012d88770005ca18300005009b11..."} 
[2026-08-22 06:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f9b470012d88770005ca18300005009b11..."} 
[2026-08-22 06:28:40] local.INFO: Processing buffer {"connection_id":159512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f9b470012d88770005ca18300005009b11..."} 
[2026-08-22 06:28:40] local.INFO: Packet analysis {"connection_id":159512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f9"} 
[2026-08-22 06:28:40] local.INFO: Extracted packet for processing {"connection_id":159512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f9"} 
[2026-08-22 06:28:40] local.INFO: GPS Element Parsed {"raw_longitude":763918080,"raw_latitude":97130544,"longitude_deg":76.391808,"latitude_deg":9.7130544,"altitude":5,"angle":155,"satellites":17,"speed":41,"hex_longitude":"2d887700","hex_latitude":"05ca1830","is_valid_coordinates":true} 
[2026-08-22 06:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564235264001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122051468629901312,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8613415737457364992,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:40] 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-22 06:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787360294000,"timestamp_ms":1787360294000,"timestamp_seconds":1787360294,"priority":1,"record_length":96,"hex_timestamp":"000001a026f9b470"} 
[2026-08-22 06:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:28:40] 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-22 06:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-22 06:28:40] 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-22 06:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:28: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-22 06:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564235264001,"66":13798,"95":206,"85":13824,"24":41,"16":122051468629901312,"45":-8613415737457364992},"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-22 06:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564235264001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:28:40] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-22 06:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122051468629901312,"km_value":122051468629901.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8613415737457364992,"description":"Unknown IO ID 45"} 
[2026-08-22 06:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564235264001,"power":13798,"unknown_95":206,"unknown_85":13824,"ignition":41,"odometer":null,"unknown_45":-8613415737457364992}} 
[2026-08-22 06:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":159512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:28:40] local.INFO: GPS data processed {"connection_id":159512,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:28:40] local.INFO: Acknowledgment sent {"connection_id":159512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:28:50] local.INFO: TCP Data received {"connection_id":162093,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:28:50] local.INFO: Processing buffer {"connection_id":162093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:28:50] local.INFO: IMEI packet received {"connection_id":162093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":162093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:28:54] local.INFO: TCP Data received {"connection_id":162094,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:28:54] local.INFO: Processing buffer {"connection_id":162094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:28:54] local.INFO: IMEI packet received {"connection_id":162094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":162094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:28:55] local.INFO: TCP Data received {"connection_id":162093,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:28:55] local.INFO: Processing buffer {"connection_id":162093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:28:55] local.INFO: IMEI packet received {"connection_id":162093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":162093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:28:56] local.INFO: TCP Data received {"connection_id":162093,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:28:56] local.INFO: Processing buffer {"connection_id":162093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:28:56] local.INFO: Packet analysis {"connection_id":162093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:28:56] local.INFO: Extracted packet for processing {"connection_id":162093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564090112001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28: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-22 06:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787360028000,"timestamp_ms":1787360028000,"timestamp_seconds":1787360028,"priority":1,"record_length":96,"hex_timestamp":"000001a026f5a560"} 
[2026-08-22 06: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-22 06:28:56] 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-22 06:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:28:56] 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-22 06: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-22 06: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-22 06:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564090112001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564090112001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:28:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564090112001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":162093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:28:56] local.INFO: GPS data processed {"connection_id":162093,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:28:56] local.INFO: Acknowledgment sent {"connection_id":162093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:28:56] local.INFO: TCP Data received {"connection_id":160689,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:28:56] local.INFO: Processing buffer {"connection_id":160689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:28:56] local.INFO: IMEI packet received {"connection_id":160689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":160689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:28:59] local.INFO: TCP Data received {"connection_id":162094,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:28:59] local.INFO: Processing buffer {"connection_id":162094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:28:59] local.INFO: IMEI packet received {"connection_id":162094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":162094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:28:59] local.INFO: TCP Data received {"connection_id":162094,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f89748012d181f800721af30003d00ce29..."} 
[2026-08-22 06:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f89748012d181f800721af30003d00ce29..."} 
[2026-08-22 06:28:59] local.INFO: Processing buffer {"connection_id":162094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f89748012d181f800721af30003d00ce29..."} 
[2026-08-22 06:28:59] local.INFO: Packet analysis {"connection_id":162094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f8"} 
[2026-08-22 06:28:59] local.INFO: Extracted packet for processing {"connection_id":162094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f8"} 
[2026-08-22 06:28:59] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564211200001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787360221000,"timestamp_ms":1787360221000,"timestamp_seconds":1787360221,"priority":1,"record_length":96,"hex_timestamp":"000001a026f89748"} 
[2026-08-22 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-22 06:28:59] 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-22 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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-22 06:28:59] 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-22 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-22 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-22 06:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:28:59] 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-22 06:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564211200001,"66":12232,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564211200001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:28:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:28:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564211200001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":162094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:29:00] local.INFO: GPS data processed {"connection_id":162094,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:29:00] local.INFO: Acknowledgment sent {"connection_id":162094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:29:01] local.INFO: TCP Data received {"connection_id":160689,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:29:01] local.INFO: Processing buffer {"connection_id":160689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:29:01] local.INFO: IMEI packet received {"connection_id":160689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":160689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:29:02] local.INFO: TCP Data received {"connection_id":160689,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026f9cbe0012d88804005ca0240000400a910..."} 
[2026-08-22 06:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f9cbe0012d88804005ca0240000400a910..."} 
[2026-08-22 06:29:02] local.INFO: Processing buffer {"connection_id":160689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f9cbe0012d88804005ca0240000400a910..."} 
[2026-08-22 06:29:02] local.INFO: Packet analysis {"connection_id":160689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f9"} 
[2026-08-22 06:29:02] local.INFO: Extracted packet for processing {"connection_id":160689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f9"} 
[2026-08-22 06:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763920448,"raw_latitude":97124928,"longitude_deg":76.3920448,"latitude_deg":9.7124928,"altitude":4,"angle":169,"satellites":16,"speed":38,"hex_longitude":"2d888040","hex_latitude":"05ca0240","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564235264001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122051764982644736,"note":"Value kept but may cause issues"} 
[2026-08-22 06:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8613415737457364992,"note":"Value kept but may cause issues"} 
[2026-08-22 06:29:02] 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-22 06:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787360300000,"timestamp_ms":1787360300000,"timestamp_seconds":1787360300,"priority":1,"record_length":96,"hex_timestamp":"000001a026f9cbe0"} 
[2026-08-22 06: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-22 06:29:02] 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-22 06: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-22 06:29:02] 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-22 06: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-22 06: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-22 06:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:29:02] 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-22 06:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564235264001,"66":13798,"95":206,"85":13824,"24":38,"16":122051764982644736,"45":-8613415737457364992},"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-22 06:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564235264001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:29:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-22 06:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122051764982644736,"km_value":122051764982644.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8613415737457364992,"description":"Unknown IO ID 45"} 
[2026-08-22 06:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564235264001,"power":13798,"unknown_95":206,"unknown_85":13824,"ignition":38,"odometer":null,"unknown_45":-8613415737457364992}} 
[2026-08-22 06:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":160689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:29:02] local.INFO: GPS data processed {"connection_id":160689,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:29:02] local.INFO: Acknowledgment sent {"connection_id":160689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:29:27] local.INFO: TCP Data received {"connection_id":162093,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:29:27] local.INFO: Processing buffer {"connection_id":162093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f5a560012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 06:29:27] local.INFO: Packet analysis {"connection_id":162093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:29:27] local.INFO: Extracted packet for processing {"connection_id":162093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f5"} 
[2026-08-22 06:29:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564090112001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:29: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-22 06:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787360028000,"timestamp_ms":1787360028000,"timestamp_seconds":1787360028,"priority":1,"record_length":96,"hex_timestamp":"000001a026f5a560"} 
[2026-08-22 06: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-22 06:29:27] 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-22 06:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:29:27] 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-22 06: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-22 06: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-22 06:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564090112001,"66":25593,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564090112001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:29:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:29:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564090112001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":162093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:29:27] local.INFO: GPS data processed {"connection_id":162093,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:29:27] local.INFO: Acknowledgment sent {"connection_id":162093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:29:31] local.INFO: TCP Data received {"connection_id":162094,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f8e950012d181f800721af30003d00ce29..."} 
[2026-08-22 06:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f8e950012d181f800721af30003d00ce29..."} 
[2026-08-22 06:29:31] local.INFO: Processing buffer {"connection_id":162094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f8e950012d181f800721af30003d00ce29..."} 
[2026-08-22 06:29:31] local.INFO: Packet analysis {"connection_id":162094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f8"} 
[2026-08-22 06:29:31] local.INFO: Extracted packet for processing {"connection_id":162094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f8"} 
[2026-08-22 06:29:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564216576001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:29:31] local.INFO: IO Element Parsed {"io_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-22 06:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787360242000,"timestamp_ms":1787360242000,"timestamp_seconds":1787360242,"priority":1,"record_length":96,"hex_timestamp":"000001a026f8e950"} 
[2026-08-22 06:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:29:31] 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-22 06:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 06:29:31] 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-22 06:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:29:31] 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-22 06:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564216576001,"66":12232,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564216576001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:29:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:29:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564216576001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":162094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:29:31] local.INFO: GPS data processed {"connection_id":162094,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:29:31] local.INFO: Acknowledgment sent {"connection_id":162094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:29:33] local.INFO: TCP Data received {"connection_id":160689,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026f9f2f0012d88850005c9df78000200a611..."} 
[2026-08-22 06:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f9f2f0012d88850005c9df78000200a611..."} 
[2026-08-22 06:29:33] local.INFO: Processing buffer {"connection_id":160689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f9f2f0012d88850005c9df78000200a611..."} 
[2026-08-22 06:29:33] local.INFO: Packet analysis {"connection_id":160689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f9"} 
[2026-08-22 06:29:33] local.INFO: Extracted packet for processing {"connection_id":160689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f9"} 
[2026-08-22 06:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763921664,"raw_latitude":97116024,"longitude_deg":76.3921664,"latitude_deg":9.7116024,"altitude":2,"angle":166,"satellites":17,"speed":23,"hex_longitude":"2d888500","hex_latitude":"05c9df78","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564236800001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122052203069308928,"note":"Value kept but may cause issues"} 
[2026-08-22 06:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8610812093924229120,"note":"Value kept but may cause issues"} 
[2026-08-22 06:29:33] 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-22 06:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787360310000,"timestamp_ms":1787360310000,"timestamp_seconds":1787360310,"priority":1,"record_length":96,"hex_timestamp":"000001a026f9f2f0"} 
[2026-08-22 06: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-22 06:29:33] 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-22 06: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-22 06:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:29:33] 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-22 06:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564236800001,"66":13656,"95":206,"85":13824,"24":23,"16":122052203069308928,"45":-8610812093924229120},"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-22 06:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564236800001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:29:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-22 06:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122052203069308928,"km_value":122052203069308.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8610812093924229120,"description":"Unknown IO ID 45"} 
[2026-08-22 06:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564236800001,"power":13656,"unknown_95":206,"unknown_85":13824,"ignition":23,"odometer":null,"unknown_45":-8610812093924229120}} 
[2026-08-22 06:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":160689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:29:33] local.INFO: GPS data processed {"connection_id":160689,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:29:33] local.INFO: Acknowledgment sent {"connection_id":160689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:29:55] local.INFO: TCP Data received {"connection_id":162096,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:29:55] local.INFO: Processing buffer {"connection_id":162096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:29:55] local.INFO: IMEI packet received {"connection_id":162096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":162096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:29:56] local.INFO: TCP Data received {"connection_id":162095,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:29:56] local.INFO: Processing buffer {"connection_id":162095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:29:56] local.INFO: IMEI packet received {"connection_id":162095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":162095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:29:57] local.INFO: TCP Data received {"connection_id":160690,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:29:57] local.INFO: Processing buffer {"connection_id":160690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:29:57] local.INFO: IMEI packet received {"connection_id":160690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":160690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:29:59] local.INFO: TCP Data received {"connection_id":162095,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:29:59] local.INFO: Processing buffer {"connection_id":162095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:29:59] local.INFO: IMEI packet received {"connection_id":162095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":162095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:29:59] local.INFO: TCP Data received {"connection_id":160690,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:29:59] local.INFO: Processing buffer {"connection_id":160690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:29:59] local.INFO: IMEI packet received {"connection_id":160690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":160690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:30:00] local.INFO: TCP Data received {"connection_id":162095,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f93b58012d181f800721af30003d00ce2a..."} 
[2026-08-22 06:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f93b58012d181f800721af30003d00ce2a..."} 
[2026-08-22 06:30:00] local.INFO: Processing buffer {"connection_id":162095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f93b58012d181f800721af30003d00ce2a..."} 
[2026-08-22 06:30:00] local.INFO: Packet analysis {"connection_id":162095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f9"} 
[2026-08-22 06:30:00] local.INFO: Extracted packet for processing {"connection_id":162095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f9"} 
[2026-08-22 06:30:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564221952001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:00] local.INFO: IO Element Parsed {"io_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-22 06:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787360263000,"timestamp_ms":1787360263000,"timestamp_seconds":1787360263,"priority":1,"record_length":96,"hex_timestamp":"000001a026f93b58"} 
[2026-08-22 06: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-22 06:30:00] 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-22 06: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 06:30:00] 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-22 06: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-22 06: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-22 06:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:30:00] 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-22 06:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564221952001,"66":12232,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564221952001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:30:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:30:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564221952001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":162095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:30:00] local.INFO: GPS data processed {"connection_id":162095,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:30:00] local.INFO: Acknowledgment sent {"connection_id":162095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:30:00] local.INFO: TCP Data received {"connection_id":162096,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:30:00] local.INFO: Processing buffer {"connection_id":162096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:30:00] local.INFO: IMEI packet received {"connection_id":162096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":162096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:30:00] local.INFO: TCP Data received {"connection_id":160690,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026fa44f8012d88858005c9d790000400aa11..."} 
[2026-08-22 06:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fa44f8012d88858005c9d790000400aa11..."} 
[2026-08-22 06:30:00] local.INFO: Processing buffer {"connection_id":160690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fa44f8012d88858005c9d790000400aa11..."} 
[2026-08-22 06:30:00] local.INFO: Packet analysis {"connection_id":160690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:30:00] local.INFO: Extracted packet for processing {"connection_id":160690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763921792,"raw_latitude":97114000,"longitude_deg":76.3921792,"latitude_deg":9.7114,"altitude":4,"angle":170,"satellites":17,"speed":0,"hex_longitude":"2d888580","hex_latitude":"05c9d790","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564239360001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122052301853556736,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8609475087787132928,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:00] 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-22 06:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787360331000,"timestamp_ms":1787360331000,"timestamp_seconds":1787360331,"priority":1,"record_length":96,"hex_timestamp":"000001a026fa44f8"} 
[2026-08-22 06: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-22 06:30:00] 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-22 06: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-22 06:30:00] 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-22 06: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-22 06: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-22 06:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:30:00] 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-22 06:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564239360001,"66":13722,"95":206,"85":13824,"24":0,"16":122052301853556736,"45":-8609475087787132928},"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-22 06:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564239360001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:30:00] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-22 06:30:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122052301853556736,"km_value":122052301853556.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8609475087787132928,"description":"Unknown IO ID 45"} 
[2026-08-22 06:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564239360001,"power":13722,"unknown_95":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8609475087787132928}} 
[2026-08-22 06:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":160690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:30:00] local.INFO: GPS data processed {"connection_id":160690,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:30:00] local.INFO: Acknowledgment sent {"connection_id":160690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:30:01] local.INFO: TCP Data received {"connection_id":162096,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:30:01] local.INFO: Processing buffer {"connection_id":162096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:30:01] local.INFO: Packet analysis {"connection_id":162096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:30:01] local.INFO: Extracted packet for processing {"connection_id":162096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564167168001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30: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-22 06:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787360329000,"timestamp_ms":1787360329000,"timestamp_seconds":1787360329,"priority":1,"record_length":96,"hex_timestamp":"000001a026fa3d28"} 
[2026-08-22 06: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-22 06:30:01] 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-22 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:30:01] 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-22 06: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-22 06: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-22 06:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564167168001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564167168001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:30:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564167168001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":162096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:30:01] local.INFO: GPS data processed {"connection_id":162096,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:30:01] local.INFO: Acknowledgment sent {"connection_id":162096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:30:04] local.INFO: TCP Data received {"connection_id":162095,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f98d60012d181f800721af30003d00ce29..."} 
[2026-08-22 06:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f98d60012d181f800721af30003d00ce29..."} 
[2026-08-22 06:30:04] local.INFO: Processing buffer {"connection_id":162095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f98d60012d181f800721af30003d00ce29..."} 
[2026-08-22 06:30:04] local.INFO: Packet analysis {"connection_id":162095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f9"} 
[2026-08-22 06:30:04] local.INFO: Extracted packet for processing {"connection_id":162095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f9"} 
[2026-08-22 06:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564227328001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:04] local.INFO: IO Element Parsed {"io_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-22 06:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787360284000,"timestamp_ms":1787360284000,"timestamp_seconds":1787360284,"priority":1,"record_length":96,"hex_timestamp":"000001a026f98d60"} 
[2026-08-22 06: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-22 06:30:04] 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-22 06: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 06:30:04] 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-22 06: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-22 06: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-22 06:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:30:04] 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-22 06:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564227328001,"66":12211,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564227328001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:30:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:30:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564227328001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":162095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:30:04] local.INFO: GPS data processed {"connection_id":162095,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:30:04] local.INFO: Acknowledgment sent {"connection_id":162095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:30:31] local.INFO: TCP Data received {"connection_id":160690,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026fa9700012d8889c005c9b668000500b412..."} 
[2026-08-22 06:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fa9700012d8889c005c9b668000500b412..."} 
[2026-08-22 06:30:31] local.INFO: Processing buffer {"connection_id":160690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fa9700012d8889c005c9b668000500b412..."} 
[2026-08-22 06:30:31] local.INFO: Packet analysis {"connection_id":160690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:30:31] local.INFO: Extracted packet for processing {"connection_id":160690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:30:31] local.INFO: GPS Element Parsed {"raw_longitude":763922880,"raw_latitude":97105512,"longitude_deg":76.392288,"latitude_deg":9.7105512,"altitude":5,"angle":180,"satellites":18,"speed":25,"hex_longitude":"2d8889c0","hex_latitude":"05c9b668","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564244736001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122052714170417152,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8609334350299295744,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:31] 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-22 06:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787360352000,"timestamp_ms":1787360352000,"timestamp_seconds":1787360352,"priority":1,"record_length":96,"hex_timestamp":"000001a026fa9700"} 
[2026-08-22 06: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-22 06:30:31] 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-22 06: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-22 06:30:31] 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-22 06: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-22 06: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-22 06:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:30:31] 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-22 06:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564244736001,"66":13722,"95":206,"85":13824,"24":25,"16":122052714170417152,"45":-8609334350299295744},"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-22 06:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564244736001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:30:31] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-22 06:30:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122052714170417152,"km_value":122052714170417.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8609334350299295744,"description":"Unknown IO ID 45"} 
[2026-08-22 06:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564244736001,"power":13722,"unknown_95":206,"unknown_85":13824,"ignition":25,"odometer":null,"unknown_45":-8609334350299295744}} 
[2026-08-22 06:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":160690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:30:31] local.INFO: GPS data processed {"connection_id":160690,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:30:31] local.INFO: Acknowledgment sent {"connection_id":160690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:30:32] local.INFO: TCP Data received {"connection_id":162096,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:30:32] local.INFO: Processing buffer {"connection_id":162096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:30:32] local.INFO: Packet analysis {"connection_id":162096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:30:32] local.INFO: Extracted packet for processing {"connection_id":162096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564167168001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:32] 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-22 06:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787360329000,"timestamp_ms":1787360329000,"timestamp_seconds":1787360329,"priority":1,"record_length":96,"hex_timestamp":"000001a026fa3d28"} 
[2026-08-22 06:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:30:32] 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-22 06:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:30:32] 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-22 06:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564167168001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564167168001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:30:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:30:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564167168001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":162096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:30:32] local.INFO: GPS data processed {"connection_id":162096,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:30:32] local.INFO: Acknowledgment sent {"connection_id":162096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:30:38] local.INFO: TCP Data received {"connection_id":162095,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026f9df68012d181f800721af30003d00ce29..."} 
[2026-08-22 06:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026f9df68012d181f800721af30003d00ce29..."} 
[2026-08-22 06:30:38] local.INFO: Processing buffer {"connection_id":162095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026f9df68012d181f800721af30003d00ce29..."} 
[2026-08-22 06:30:38] local.INFO: Packet analysis {"connection_id":162095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026f9"} 
[2026-08-22 06:30:38] local.INFO: Extracted packet for processing {"connection_id":162095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026f9"} 
[2026-08-22 06:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564232704001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:38] local.INFO: IO Element Parsed {"io_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-22 06:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787360305000,"timestamp_ms":1787360305000,"timestamp_seconds":1787360305,"priority":1,"record_length":96,"hex_timestamp":"000001a026f9df68"} 
[2026-08-22 06:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:30:38] 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-22 06:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 06:30:38] 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-22 06:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":162095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":162095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":162095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:30:38] 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-22 06:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564232704001,"66":12232,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564232704001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:30:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:30:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564232704001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":162095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:30:38] local.INFO: GPS data processed {"connection_id":162095,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:30:38] local.INFO: Acknowledgment sent {"connection_id":162095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:30:50] local.INFO: TCP Data received {"connection_id":162097,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:30:50] local.INFO: Processing buffer {"connection_id":162097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:30:50] local.INFO: IMEI packet received {"connection_id":162097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":162097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:30:54] local.INFO: TCP Data received {"connection_id":160691,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:30:54] local.INFO: Processing buffer {"connection_id":160691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:30:54] local.INFO: IMEI packet received {"connection_id":160691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":160691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:30:55] local.INFO: TCP Data received {"connection_id":162097,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:30:55] local.INFO: Processing buffer {"connection_id":162097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:30:55] local.INFO: IMEI packet received {"connection_id":162097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":162097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:30:56] local.INFO: TCP Data received {"connection_id":162097,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:30:56] local.INFO: Processing buffer {"connection_id":162097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:30:56] local.INFO: Packet analysis {"connection_id":162097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:30:56] local.INFO: Extracted packet for processing {"connection_id":162097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564167168001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:30: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-22 06:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787360329000,"timestamp_ms":1787360329000,"timestamp_seconds":1787360329,"priority":1,"record_length":96,"hex_timestamp":"000001a026fa3d28"} 
[2026-08-22 06: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-22 06:30:56] 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-22 06:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:30: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-22 06: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-22 06: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-22 06:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564167168001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564167168001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:30:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564167168001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":162097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:30:56] local.INFO: GPS data processed {"connection_id":162097,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:30:56] local.INFO: Acknowledgment sent {"connection_id":162097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:30:56] local.INFO: TCP Data received {"connection_id":159771,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:30:56] local.INFO: Processing buffer {"connection_id":159771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:30:56] local.INFO: IMEI packet received {"connection_id":159771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":159771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:30:59] local.INFO: TCP Data received {"connection_id":160691,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:30:59] local.INFO: Processing buffer {"connection_id":160691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:30:59] local.INFO: IMEI packet received {"connection_id":160691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":160691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:31:00] local.INFO: TCP Data received {"connection_id":160691,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026fa3170012d181f800721af30003d00ce29..."} 
[2026-08-22 06:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fa3170012d181f800721af30003d00ce29..."} 
[2026-08-22 06:31:00] local.INFO: Processing buffer {"connection_id":160691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fa3170012d181f800721af30003d00ce29..."} 
[2026-08-22 06:31:00] local.INFO: Packet analysis {"connection_id":160691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:31:00] local.INFO: Extracted packet for processing {"connection_id":160691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:31:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564238080001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:00] local.INFO: IO Element Parsed {"io_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-22 06:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787360326000,"timestamp_ms":1787360326000,"timestamp_seconds":1787360326,"priority":1,"record_length":96,"hex_timestamp":"000001a026fa3170"} 
[2026-08-22 06: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-22 06:31:00] 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-22 06: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 06:31:00] 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-22 06: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-22 06: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-22 06:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:31:00] 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-22 06:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564238080001,"66":12254,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564238080001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:31:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:31:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564238080001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:31:00] local.INFO: TCP Data received {"connection_id":159771,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:31:00] local.INFO: Processing buffer {"connection_id":159771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:31:00] local.INFO: IMEI packet received {"connection_id":159771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":159771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":160691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:31:00] local.INFO: GPS data processed {"connection_id":160691,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:31:00] local.INFO: Acknowledgment sent {"connection_id":160691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:31:00] local.INFO: TCP Data received {"connection_id":159771,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:31:00] local.INFO: Processing buffer {"connection_id":159771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:31:00] local.INFO: IMEI packet received {"connection_id":159771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":159771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:31:01] local.INFO: TCP Data received {"connection_id":159771,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026fbead8012d886ec005c92e18000900d114..."} 
[2026-08-22 06:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fbead8012d886ec005c92e18000900d114..."} 
[2026-08-22 06:31:01] local.INFO: Processing buffer {"connection_id":159771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fbead8012d886ec005c92e18000900d114..."} 
[2026-08-22 06:31:01] local.INFO: Packet analysis {"connection_id":159771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fb"} 
[2026-08-22 06:31:01] local.INFO: Extracted packet for processing {"connection_id":159771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fb"} 
[2026-08-22 06:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763915968,"raw_latitude":97070616,"longitude_deg":76.3915968,"latitude_deg":9.7070616,"altitude":9,"angle":209,"satellites":20,"speed":26,"hex_longitude":"2d886ec0","hex_latitude":"05c92e18","is_valid_coordinates":true} 
[2026-08-22 06:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564271616001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122054505171779584,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8614119424914116608,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:01] 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-22 06:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787360439000,"timestamp_ms":1787360439000,"timestamp_seconds":1787360439,"priority":1,"record_length":96,"hex_timestamp":"000001a026fbead8"} 
[2026-08-22 06:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:31:01] 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-22 06:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-22 06:31:01] 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-22 06:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:31:01] 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-22 06:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564271616001,"66":13602,"95":206,"85":13824,"24":26,"16":122054505171779584,"45":-8614119424914116608},"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-22 06:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564271616001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:31:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-22 06:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122054505171779584,"km_value":122054505171779.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8614119424914116608,"description":"Unknown IO ID 45"} 
[2026-08-22 06:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564271616001,"power":13602,"unknown_95":206,"unknown_85":13824,"ignition":26,"odometer":null,"unknown_45":-8614119424914116608}} 
[2026-08-22 06:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":159771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:31:01] local.INFO: GPS data processed {"connection_id":159771,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:31:01] local.INFO: Acknowledgment sent {"connection_id":159771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:31:02] local.INFO: TCP Data received {"connection_id":159771,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026fbeec0012d886dc005c92b80000900c614..."} 
[2026-08-22 06:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fbeec0012d886dc005c92b80000900c614..."} 
[2026-08-22 06:31:02] local.INFO: Processing buffer {"connection_id":159771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fbeec0012d886dc005c92b80000900c614..."} 
[2026-08-22 06:31:02] local.INFO: Packet analysis {"connection_id":159771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fb"} 
[2026-08-22 06:31:02] local.INFO: Extracted packet for processing {"connection_id":159771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fb"} 
[2026-08-22 06:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763915712,"raw_latitude":97069952,"longitude_deg":76.3915712,"latitude_deg":9.7069952,"altitude":9,"angle":198,"satellites":20,"speed":28,"hex_longitude":"2d886dc0","hex_latitude":"05c92b80","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564272384001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122054539531517952,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8615737906030569472,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:02] 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-22 06:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787360440000,"timestamp_ms":1787360440000,"timestamp_seconds":1787360440,"priority":1,"record_length":96,"hex_timestamp":"000001a026fbeec0"} 
[2026-08-22 06: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-22 06:31:02] 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-22 06: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-22 06:31:02] 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-22 06: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-22 06: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-22 06:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:31:02] 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-22 06:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564272384001,"66":13602,"95":206,"85":13824,"24":28,"16":122054539531517952,"45":-8615737906030569472},"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-22 06:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564272384001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:31:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-22 06:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122054539531517952,"km_value":122054539531517.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8615737906030569472,"description":"Unknown IO ID 45"} 
[2026-08-22 06:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564272384001,"power":13602,"unknown_95":206,"unknown_85":13824,"ignition":28,"odometer":null,"unknown_45":-8615737906030569472}} 
[2026-08-22 06:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":159771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:31:02] local.INFO: GPS data processed {"connection_id":159771,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:31:02] local.INFO: Acknowledgment sent {"connection_id":159771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:31:27] local.INFO: TCP Data received {"connection_id":162097,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:31:27] local.INFO: Processing buffer {"connection_id":162097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:31:27] local.INFO: Packet analysis {"connection_id":162097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:31:27] local.INFO: Extracted packet for processing {"connection_id":162097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564167168001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31: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-22 06:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787360329000,"timestamp_ms":1787360329000,"timestamp_seconds":1787360329,"priority":1,"record_length":96,"hex_timestamp":"000001a026fa3d28"} 
[2026-08-22 06: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-22 06:31:27] 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-22 06:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:31:27] 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-22 06: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-22 06: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-22 06:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564167168001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564167168001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:31:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564167168001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":162097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:31:27] local.INFO: GPS data processed {"connection_id":162097,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:31:27] local.INFO: Acknowledgment sent {"connection_id":162097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:31:30] local.INFO: TCP Data received {"connection_id":160691,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026fa8378012d181f800721af30003d00ce29..."} 
[2026-08-22 06:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fa8378012d181f800721af30003d00ce29..."} 
[2026-08-22 06:31:30] local.INFO: Processing buffer {"connection_id":160691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fa8378012d181f800721af30003d00ce29..."} 
[2026-08-22 06:31:30] local.INFO: Packet analysis {"connection_id":160691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:31:30] local.INFO: Extracted packet for processing {"connection_id":160691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564243456001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787360347000,"timestamp_ms":1787360347000,"timestamp_seconds":1787360347,"priority":1,"record_length":96,"hex_timestamp":"000001a026fa8378"} 
[2026-08-22 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-22 06:31:30] 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-22 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-22 06:31:30] 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-22 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-22 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-22 06:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:31:30] 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-22 06:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564243456001,"66":12254,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564243456001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:31:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:31:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564243456001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":160691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:31:30] local.INFO: GPS data processed {"connection_id":160691,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:31:30] local.INFO: Acknowledgment sent {"connection_id":160691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:31:32] local.INFO: TCP Data received {"connection_id":159771,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026fc9aa0012d885dc005c8d190000800a614..."} 
[2026-08-22 06:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fc9aa0012d885dc005c8d190000800a614..."} 
[2026-08-22 06:31:32] local.INFO: Processing buffer {"connection_id":159771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fc9aa0012d885dc005c8d190000800a614..."} 
[2026-08-22 06:31:32] local.INFO: Packet analysis {"connection_id":159771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:31:32] local.INFO: Extracted packet for processing {"connection_id":159771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763911616,"raw_latitude":97046928,"longitude_deg":76.3911616,"latitude_deg":9.7046928,"altitude":8,"angle":166,"satellites":20,"speed":16,"hex_longitude":"2d885dc0","hex_latitude":"05c8d190","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564281344001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122055849496543232,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8620804455616616448,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:32] 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-22 06:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787360484000,"timestamp_ms":1787360484000,"timestamp_seconds":1787360484,"priority":1,"record_length":96,"hex_timestamp":"000001a026fc9aa0"} 
[2026-08-22 06: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-22 06:31: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-22 06: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-22 06:31:32] 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-22 06: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-22 06: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-22 06:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:31:32] 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-22 06:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564281344001,"66":13798,"97":206,"85":13824,"24":16,"16":122055849496543232,"45":-8620804455616616448},"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-22 06:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564281344001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:31:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-22 06:31:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122055849496543232,"km_value":122055849496543.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8620804455616616448,"description":"Unknown IO ID 45"} 
[2026-08-22 06:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564281344001,"power":13798,"unknown_97":206,"unknown_85":13824,"ignition":16,"odometer":null,"unknown_45":-8620804455616616448}} 
[2026-08-22 06:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":159771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:31:33] local.INFO: GPS data processed {"connection_id":159771,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:31:33] local.INFO: Acknowledgment sent {"connection_id":159771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:31:50] local.INFO: TCP Data received {"connection_id":159513,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:31:50] local.INFO: Processing buffer {"connection_id":159513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:31:50] local.INFO: IMEI packet received {"connection_id":159513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":159513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:31:54] local.INFO: TCP Data received {"connection_id":159514,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:31:54] local.INFO: Processing buffer {"connection_id":159514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:31:54] local.INFO: IMEI packet received {"connection_id":159514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":159514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:31:55] local.INFO: TCP Data received {"connection_id":159513,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:31:55] local.INFO: Processing buffer {"connection_id":159513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:31:55] local.INFO: IMEI packet received {"connection_id":159513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":159513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:31:56] local.INFO: TCP Data received {"connection_id":159513,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:31:56] local.INFO: Processing buffer {"connection_id":159513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:31:56] local.INFO: Packet analysis {"connection_id":159513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:31:56] local.INFO: Extracted packet for processing {"connection_id":159513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564167168001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31: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-22 06:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787360329000,"timestamp_ms":1787360329000,"timestamp_seconds":1787360329,"priority":1,"record_length":96,"hex_timestamp":"000001a026fa3d28"} 
[2026-08-22 06: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-22 06:31:56] 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-22 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:31: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-22 06: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-22 06: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-22 06:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564167168001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564167168001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:31:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564167168001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":159513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:31:56] local.INFO: GPS data processed {"connection_id":159513,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:31:56] local.INFO: Acknowledgment sent {"connection_id":159513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:31:56] local.INFO: TCP Data received {"connection_id":159515,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:31:56] local.INFO: Processing buffer {"connection_id":159515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:31:56] local.INFO: IMEI packet received {"connection_id":159515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":159515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:31:59] local.INFO: TCP Data received {"connection_id":159514,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:31:59] local.INFO: Processing buffer {"connection_id":159514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:31:59] local.INFO: IMEI packet received {"connection_id":159514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":159514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:31:59] local.INFO: TCP Data received {"connection_id":159514,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026fad580012d181f800721af30003d00ce27..."} 
[2026-08-22 06:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fad580012d181f800721af30003d00ce27..."} 
[2026-08-22 06:31:59] local.INFO: Processing buffer {"connection_id":159514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fad580012d181f800721af30003d00ce27..."} 
[2026-08-22 06:31:59] local.INFO: Packet analysis {"connection_id":159514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:31:59] local.INFO: Extracted packet for processing {"connection_id":159514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564248832001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787360368000,"timestamp_ms":1787360368000,"timestamp_seconds":1787360368,"priority":1,"record_length":96,"hex_timestamp":"000001a026fad580"} 
[2026-08-22 06: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-22 06:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-22 06:31:59] 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-22 06: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-22 06: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-22 06:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:31:59] 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-22 06:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564248832001,"66":12232,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564248832001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:31:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564248832001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":159514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:32:00] local.INFO: GPS data processed {"connection_id":159514,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:32:00] local.INFO: Acknowledgment sent {"connection_id":159514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:32:01] local.INFO: TCP Data received {"connection_id":159515,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:32:01] local.INFO: Processing buffer {"connection_id":159515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:32:01] local.INFO: IMEI packet received {"connection_id":159515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":159515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:32:01] local.INFO: TCP Data received {"connection_id":159515,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:32:01] local.INFO: Processing buffer {"connection_id":159515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:32:01] local.INFO: IMEI packet received {"connection_id":159515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":159515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:32:02] local.INFO: TCP Data received {"connection_id":159515,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026fcb210012d88610005c8c8c00006009a14..."} 
[2026-08-22 06:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fcb210012d88610005c8c8c00006009a14..."} 
[2026-08-22 06:32:02] local.INFO: Processing buffer {"connection_id":159515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fcb210012d88610005c8c8c00006009a14..."} 
[2026-08-22 06:32:02] local.INFO: Packet analysis {"connection_id":159515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:32:02] local.INFO: Extracted packet for processing {"connection_id":159515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763912448,"raw_latitude":97044672,"longitude_deg":76.3912448,"latitude_deg":9.7044672,"altitude":6,"angle":154,"satellites":20,"speed":11,"hex_longitude":"2d886100","hex_latitude":"05c8c8c0","is_valid_coordinates":true} 
[2026-08-22 06:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564283904001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122055969755627520,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8620522980640714752,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:02] 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-22 06:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787360490000,"timestamp_ms":1787360490000,"timestamp_seconds":1787360490,"priority":1,"record_length":96,"hex_timestamp":"000001a026fcb210"} 
[2026-08-22 06:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-22 06:32:02] 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-22 06:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:32:02] 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-22 06:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564283904001,"66":13765,"97":206,"85":13824,"24":11,"16":122055969755627520,"45":-8620522980640714752},"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-22 06:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564283904001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:32:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-22 06:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122055969755627520,"km_value":122055969755627.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8620522980640714752,"description":"Unknown IO ID 45"} 
[2026-08-22 06:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564283904001,"power":13765,"unknown_97":206,"unknown_85":13824,"ignition":11,"odometer":null,"unknown_45":-8620522980640714752}} 
[2026-08-22 06:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":159515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:32:02] local.INFO: GPS data processed {"connection_id":159515,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:32:02] local.INFO: Acknowledgment sent {"connection_id":159515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:32:04] local.INFO: TCP Data received {"connection_id":159515,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026fcb5f8012d88618005c8c7d00005008814..."} 
[2026-08-22 06:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fcb5f8012d88618005c8c7d00005008814..."} 
[2026-08-22 06:32:04] local.INFO: Processing buffer {"connection_id":159515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fcb5f8012d88618005c8c7d00005008814..."} 
[2026-08-22 06:32:04] local.INFO: Packet analysis {"connection_id":159515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:32:04] local.INFO: Extracted packet for processing {"connection_id":159515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763912576,"raw_latitude":97044432,"longitude_deg":76.3912576,"latitude_deg":9.7044432,"altitude":5,"angle":136,"satellites":20,"speed":10,"hex_longitude":"2d886180","hex_latitude":"05c8c7d0","is_valid_coordinates":true} 
[2026-08-22 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-22 06:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564285440001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122055982640529408,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8619608186966982656,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:04] 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-22 06:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787360491000,"timestamp_ms":1787360491000,"timestamp_seconds":1787360491,"priority":1,"record_length":96,"hex_timestamp":"000001a026fcb5f8"} 
[2026-08-22 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-22 06:32:04] 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-22 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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-08-22 06:32:04] 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-22 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-22 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-22 06:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:32:04] 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-22 06:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564285440001,"66":13656,"97":206,"85":13824,"24":10,"16":122055982640529408,"45":-8619608186966982656},"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-22 06:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564285440001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:32:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-22 06:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122055982640529408,"km_value":122055982640529.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8619608186966982656,"description":"Unknown IO ID 45"} 
[2026-08-22 06:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564285440001,"power":13656,"unknown_97":206,"unknown_85":13824,"ignition":10,"odometer":null,"unknown_45":-8619608186966982656}} 
[2026-08-22 06:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":159515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:32:04] local.INFO: GPS data processed {"connection_id":159515,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:32:04] local.INFO: Acknowledgment sent {"connection_id":159515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:32:27] local.INFO: TCP Data received {"connection_id":159513,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:32:27] local.INFO: Processing buffer {"connection_id":159513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:32:27] local.INFO: Packet analysis {"connection_id":159513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:32:27] local.INFO: Extracted packet for processing {"connection_id":159513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564167168001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32: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-22 06:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787360329000,"timestamp_ms":1787360329000,"timestamp_seconds":1787360329,"priority":1,"record_length":96,"hex_timestamp":"000001a026fa3d28"} 
[2026-08-22 06: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-22 06:32:27] 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-22 06:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:32:27] 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-22 06: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-22 06: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-22 06:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564167168001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564167168001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:32:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564167168001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":159513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:32:27] local.INFO: GPS data processed {"connection_id":159513,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:32:27] local.INFO: Acknowledgment sent {"connection_id":159513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:32:31] local.INFO: TCP Data received {"connection_id":159514,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026fb2788012d181f800721af30003d00ce28..."} 
[2026-08-22 06:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fb2788012d181f800721af30003d00ce28..."} 
[2026-08-22 06:32:31] local.INFO: Processing buffer {"connection_id":159514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fb2788012d181f800721af30003d00ce28..."} 
[2026-08-22 06:32:31] local.INFO: Packet analysis {"connection_id":159514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fb"} 
[2026-08-22 06:32:31] local.INFO: Extracted packet for processing {"connection_id":159514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fb"} 
[2026-08-22 06:32:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564254208001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:31] local.INFO: IO Element Parsed {"io_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-22 06:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787360389000,"timestamp_ms":1787360389000,"timestamp_seconds":1787360389,"priority":1,"record_length":96,"hex_timestamp":"000001a026fb2788"} 
[2026-08-22 06: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-22 06:32:31] 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-22 06: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 06:32:31] 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-22 06: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-22 06: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-22 06:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:32:31] 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-22 06:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564254208001,"66":12254,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564254208001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:32:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:32:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564254208001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":159514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:32:31] local.INFO: GPS data processed {"connection_id":159514,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:32:31] local.INFO: Acknowledgment sent {"connection_id":159514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:32:35] local.INFO: TCP Data received {"connection_id":159515,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026fcb9e0012d88628005c8c7280005007814..."} 
[2026-08-22 06:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fcb9e0012d88628005c8c7280005007814..."} 
[2026-08-22 06:32:35] local.INFO: Processing buffer {"connection_id":159515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fcb9e0012d88628005c8c7280005007814..."} 
[2026-08-22 06:32:35] local.INFO: Packet analysis {"connection_id":159515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:32:35] local.INFO: Extracted packet for processing {"connection_id":159515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:32:35] local.INFO: GPS Element Parsed {"raw_longitude":763912832,"raw_latitude":97044264,"longitude_deg":76.3912832,"latitude_deg":9.7044264,"altitude":5,"angle":120,"satellites":20,"speed":10,"hex_longitude":"2d886280","hex_latitude":"05c8c728","is_valid_coordinates":true} 
[2026-08-22 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-22 06:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564285696001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122055995525431296,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8619467449478688768,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32: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-22 06:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787360492000,"timestamp_ms":1787360492000,"timestamp_seconds":1787360492,"priority":1,"record_length":96,"hex_timestamp":"000001a026fcb9e0"} 
[2026-08-22 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-22 06:32:35] 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-22 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-22 06:32:35] 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-22 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-22 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-22 06:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:32:35] 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-22 06:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564285696001,"66":13787,"97":206,"85":13824,"24":10,"16":122055995525431296,"45":-8619467449478688768},"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-22 06:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564285696001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-22 06:32:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122055995525431296,"km_value":122055995525431.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8619467449478688768,"description":"Unknown IO ID 45"} 
[2026-08-22 06:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564285696001,"power":13787,"unknown_97":206,"unknown_85":13824,"ignition":10,"odometer":null,"unknown_45":-8619467449478688768}} 
[2026-08-22 06:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":159515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:32:35] local.INFO: GPS data processed {"connection_id":159515,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:32:35] local.INFO: Acknowledgment sent {"connection_id":159515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:32:50] local.INFO: TCP Data received {"connection_id":160692,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:32:50] local.INFO: Processing buffer {"connection_id":160692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:32:50] local.INFO: IMEI packet received {"connection_id":160692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":160692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:32:54] local.INFO: TCP Data received {"connection_id":159772,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:32:54] local.INFO: Processing buffer {"connection_id":159772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:32:54] local.INFO: IMEI packet received {"connection_id":159772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":159772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:32:54] local.INFO: TCP Data received {"connection_id":159772,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:32:54] local.INFO: Processing buffer {"connection_id":159772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:32:54] local.INFO: IMEI packet received {"connection_id":159772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":159772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:32:55] local.INFO: TCP Data received {"connection_id":160692,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:32:55] local.INFO: Processing buffer {"connection_id":160692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:32:55] local.INFO: IMEI packet received {"connection_id":160692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":160692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:32:56] local.INFO: TCP Data received {"connection_id":160692,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:32:56] local.INFO: Processing buffer {"connection_id":160692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:32:56] local.INFO: Packet analysis {"connection_id":160692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:32:56] local.INFO: Extracted packet for processing {"connection_id":160692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564167168001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32: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-22 06:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787360329000,"timestamp_ms":1787360329000,"timestamp_seconds":1787360329,"priority":1,"record_length":96,"hex_timestamp":"000001a026fa3d28"} 
[2026-08-22 06: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-22 06:32:56] 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-22 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:32: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-22 06: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-22 06: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-22 06:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564167168001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564167168001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:32:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564167168001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":160692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:32:56] local.INFO: GPS data processed {"connection_id":160692,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:32:56] local.INFO: Acknowledgment sent {"connection_id":160692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:32:56] local.INFO: TCP Data received {"connection_id":162098,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:32:56] local.INFO: Processing buffer {"connection_id":162098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:32:56] local.INFO: IMEI packet received {"connection_id":162098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":162098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:32:58] local.INFO: TCP Data received {"connection_id":162098,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:32:58] local.INFO: Processing buffer {"connection_id":162098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:32:58] local.INFO: IMEI packet received {"connection_id":162098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":162098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:32:59] local.INFO: TCP Data received {"connection_id":159772,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:32:59] local.INFO: Processing buffer {"connection_id":159772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:32:59] local.INFO: IMEI packet received {"connection_id":159772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":159772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:32:59] local.INFO: TCP Data received {"connection_id":159772,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026fb7990012d181f800721af30003d00ce29..."} 
[2026-08-22 06:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fb7990012d181f800721af30003d00ce29..."} 
[2026-08-22 06:32:59] local.INFO: Processing buffer {"connection_id":159772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fb7990012d181f800721af30003d00ce29..."} 
[2026-08-22 06:32:59] local.INFO: Packet analysis {"connection_id":159772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fb"} 
[2026-08-22 06:32:59] local.INFO: Extracted packet for processing {"connection_id":159772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fb"} 
[2026-08-22 06:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564259584001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787360410000,"timestamp_ms":1787360410000,"timestamp_seconds":1787360410,"priority":1,"record_length":96,"hex_timestamp":"000001a026fb7990"} 
[2026-08-22 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-22 06:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-22 06:32:59] 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-22 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-22 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-22 06:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:32:59] 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-22 06:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564259584001,"66":12254,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564259584001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:32:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:32:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564259584001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":159772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:33:00] local.INFO: GPS data processed {"connection_id":159772,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:33:00] local.INFO: Acknowledgment sent {"connection_id":159772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:33:01] local.INFO: TCP Data received {"connection_id":162098,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:33:01] local.INFO: Processing buffer {"connection_id":162098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:33:01] local.INFO: IMEI packet received {"connection_id":162098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":162098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:33:02] local.INFO: TCP Data received {"connection_id":162098,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026fcbdc8012d88638005c8c6d80005006514..."} 
[2026-08-22 06:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fcbdc8012d88638005c8c6d80005006514..."} 
[2026-08-22 06:33:02] local.INFO: Processing buffer {"connection_id":162098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fcbdc8012d88638005c8c6d80005006514..."} 
[2026-08-22 06:33:02] local.INFO: Packet analysis {"connection_id":162098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:33:02] local.INFO: Extracted packet for processing {"connection_id":162098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763913088,"raw_latitude":97044184,"longitude_deg":76.3913088,"latitude_deg":9.7044184,"altitude":5,"angle":101,"satellites":20,"speed":12,"hex_longitude":"2d886380","hex_latitude":"05c8c6d8","is_valid_coordinates":true} 
[2026-08-22 06:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564285952001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122056008410333184,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8619185974502021120,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33:02] 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-22 06:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787360493000,"timestamp_ms":1787360493000,"timestamp_seconds":1787360493,"priority":1,"record_length":96,"hex_timestamp":"000001a026fcbdc8"} 
[2026-08-22 06:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-22 06:33:02] 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-22 06:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:33:02] 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-22 06:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564285952001,"66":13787,"97":206,"85":13824,"24":12,"16":122056008410333184,"45":-8619185974502021120},"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-22 06:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564285952001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:33:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-22 06:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122056008410333184,"km_value":122056008410333.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8619185974502021120,"description":"Unknown IO ID 45"} 
[2026-08-22 06:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564285952001,"power":13787,"unknown_97":206,"unknown_85":13824,"ignition":12,"odometer":null,"unknown_45":-8619185974502021120}} 
[2026-08-22 06:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":162098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:33:02] local.INFO: GPS data processed {"connection_id":162098,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:33:02] local.INFO: Acknowledgment sent {"connection_id":162098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:33:27] local.INFO: TCP Data received {"connection_id":160692,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:33:27] local.INFO: Processing buffer {"connection_id":160692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:33:27] local.INFO: Packet analysis {"connection_id":160692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:33:27] local.INFO: Extracted packet for processing {"connection_id":160692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564167168001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33: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-22 06:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787360329000,"timestamp_ms":1787360329000,"timestamp_seconds":1787360329,"priority":1,"record_length":96,"hex_timestamp":"000001a026fa3d28"} 
[2026-08-22 06: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-22 06:33:27] 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-22 06:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:33:27] 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-22 06: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-22 06: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-22 06:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564167168001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564167168001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:33:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564167168001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":160692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:33:27] local.INFO: GPS data processed {"connection_id":160692,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:33:27] local.INFO: Acknowledgment sent {"connection_id":160692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:33:31] local.INFO: TCP Data received {"connection_id":159772,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026fbcb98012d181f800721af30003d00ce2a..."} 
[2026-08-22 06:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fbcb98012d181f800721af30003d00ce2a..."} 
[2026-08-22 06:33:31] local.INFO: Processing buffer {"connection_id":159772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fbcb98012d181f800721af30003d00ce2a..."} 
[2026-08-22 06:33:31] local.INFO: Packet analysis {"connection_id":159772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fb"} 
[2026-08-22 06:33:31] local.INFO: Extracted packet for processing {"connection_id":159772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fb"} 
[2026-08-22 06:33:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564264960001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33:31] local.INFO: IO Element Parsed {"io_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-22 06:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787360431000,"timestamp_ms":1787360431000,"timestamp_seconds":1787360431,"priority":1,"record_length":96,"hex_timestamp":"000001a026fbcb98"} 
[2026-08-22 06: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-22 06:33:31] 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-22 06: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-22 06:33:31] 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-22 06: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-22 06: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-22 06:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:33:31] 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-22 06:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564264960001,"66":12254,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564264960001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:33:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:33:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564264960001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":159772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:33:31] local.INFO: GPS data processed {"connection_id":159772,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:33:31] local.INFO: Acknowledgment sent {"connection_id":159772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:33:34] local.INFO: TCP Data received {"connection_id":162098,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026fcc598012d88668005c8c6900004005814..."} 
[2026-08-22 06:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fcc598012d88668005c8c6900004005814..."} 
[2026-08-22 06:33:34] local.INFO: Processing buffer {"connection_id":162098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fcc598012d88668005c8c6900004005814..."} 
[2026-08-22 06:33:34] local.INFO: Packet analysis {"connection_id":162098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:33:34] local.INFO: Extracted packet for processing {"connection_id":162098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763913856,"raw_latitude":97044112,"longitude_deg":76.3913856,"latitude_deg":9.7044112,"altitude":4,"angle":88,"satellites":20,"speed":17,"hex_longitude":"2d886680","hex_latitude":"05c8c690","is_valid_coordinates":true} 
[2026-08-22 06:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564286208001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122056047065038848,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8618904499525330944,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33:34] 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-22 06:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787360495000,"timestamp_ms":1787360495000,"timestamp_seconds":1787360495,"priority":1,"record_length":96,"hex_timestamp":"000001a026fcc598"} 
[2026-08-22 06:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:33:34] 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-22 06:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-22 06:33:34] 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-22 06:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:33:34] 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-22 06:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564286208001,"66":13580,"97":206,"85":13824,"24":17,"16":122056047065038848,"45":-8618904499525330944},"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-22 06:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564286208001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:33:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-22 06:33:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122056047065038848,"km_value":122056047065038.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8618904499525330944,"description":"Unknown IO ID 45"} 
[2026-08-22 06:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564286208001,"power":13580,"unknown_97":206,"unknown_85":13824,"ignition":17,"odometer":null,"unknown_45":-8618904499525330944}} 
[2026-08-22 06:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":162098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:33:34] local.INFO: GPS data processed {"connection_id":162098,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:33:34] local.INFO: Acknowledgment sent {"connection_id":162098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:33:50] local.INFO: TCP Data received {"connection_id":159516,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:33:50] local.INFO: Processing buffer {"connection_id":159516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:33:50] local.INFO: IMEI packet received {"connection_id":159516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":159516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:33:53] local.INFO: TCP Data received {"connection_id":159517,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:33:53] local.INFO: Processing buffer {"connection_id":159517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:33:53] local.INFO: IMEI packet received {"connection_id":159517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":159517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:33:55] local.INFO: TCP Data received {"connection_id":159516,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:33:55] local.INFO: Processing buffer {"connection_id":159516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:33:55] local.INFO: IMEI packet received {"connection_id":159516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":159516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:33:56] local.INFO: TCP Data received {"connection_id":159516,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:33:56] local.INFO: Processing buffer {"connection_id":159516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fa3d28012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 06:33:56] local.INFO: Packet analysis {"connection_id":159516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:33:56] local.INFO: Extracted packet for processing {"connection_id":159516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fa"} 
[2026-08-22 06:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564167168001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33: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-22 06:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787360329000,"timestamp_ms":1787360329000,"timestamp_seconds":1787360329,"priority":1,"record_length":96,"hex_timestamp":"000001a026fa3d28"} 
[2026-08-22 06: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-22 06:33:56] 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-22 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 06:33: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-22 06: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-22 06: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-22 06:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564167168001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564167168001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:33:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564167168001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":159516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:33:56] local.INFO: GPS data processed {"connection_id":159516,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:33:56] local.INFO: Acknowledgment sent {"connection_id":159516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:33:57] local.INFO: TCP Data received {"connection_id":159517,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:33:57] local.INFO: Processing buffer {"connection_id":159517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:33:57] local.INFO: IMEI packet received {"connection_id":159517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":159517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:33:58] local.INFO: TCP Data received {"connection_id":159517,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:33:58] local.INFO: Processing buffer {"connection_id":159517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:33:58] local.INFO: IMEI packet received {"connection_id":159517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":159517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:33:59] local.INFO: TCP Data received {"connection_id":159517,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026fc1da0012d181f800721af30003d00ce29..."} 
[2026-08-22 06:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fc1da0012d181f800721af30003d00ce29..."} 
[2026-08-22 06:33:59] local.INFO: Processing buffer {"connection_id":159517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fc1da0012d181f800721af30003d00ce29..."} 
[2026-08-22 06:33:59] local.INFO: Packet analysis {"connection_id":159517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:33:59] local.INFO: Extracted packet for processing {"connection_id":159517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564270336001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787360452000,"timestamp_ms":1787360452000,"timestamp_seconds":1787360452,"priority":1,"record_length":96,"hex_timestamp":"000001a026fc1da0"} 
[2026-08-22 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-22 06:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-22 06:33:59] 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-22 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-22 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-22 06:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:33:59] 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-22 06:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564270336001,"66":12232,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564270336001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:33:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:33:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564270336001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":159517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:33:59] local.INFO: GPS data processed {"connection_id":159517,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:33:59] local.INFO: Acknowledgment sent {"connection_id":159517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:34:04] local.INFO: TCP Data received {"connection_id":160693,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:34:04] local.INFO: Processing buffer {"connection_id":160693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:34:04] local.INFO: IMEI packet received {"connection_id":160693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":160693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:34:06] local.INFO: TCP Data received {"connection_id":160693,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:34:06] local.INFO: Processing buffer {"connection_id":160693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:34:06] local.INFO: IMEI packet received {"connection_id":160693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":160693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:34:15] local.INFO: TCP Data received {"connection_id":160693,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026fe5fc0012d892dc005c8e378000d003a14..."} 
[2026-08-22 06:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fe5fc0012d892dc005c8e378000d003a14..."} 
[2026-08-22 06:34:15] local.INFO: Processing buffer {"connection_id":160693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fe5fc0012d892dc005c8e378000d003a14..."} 
[2026-08-22 06:34:15] local.INFO: Packet analysis {"connection_id":160693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:34:15] local.INFO: Extracted packet for processing {"connection_id":160693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:34:15] local.INFO: GPS Element Parsed {"raw_longitude":763964864,"raw_latitude":97051512,"longitude_deg":76.3964864,"latitude_deg":9.7051512,"altitude":13,"angle":58,"satellites":20,"speed":6,"hex_longitude":"2d892dc0","hex_latitude":"05c8e378","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564312320001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122058529556135936,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8563242822879041536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] 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-22 06:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787360600000,"timestamp_ms":1787360600000,"timestamp_seconds":1787360600,"priority":1,"record_length":96,"hex_timestamp":"000001a026fe5fc0"} 
[2026-08-22 06: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-22 06:34: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-22 06: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-22 06:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751624610,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3368757248,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2295791621,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] local.WARNING: Large IO value detected {"io_id":136,"raw_value":-6088860336279519224,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5646898206211047424,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3875536896,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] local.WARNING: Large IO value detected {"io_id":38,"raw_value":4251047937,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3583508490,"corrected_to":0} 
[2026-08-22 06:34:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632826568944481,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2875261134,"corrected_to":0} 
[2026-08-22 06:34:15] local.WARNING: Large IO value detected {"io_id":53,"raw_value":5620718470908923477,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2728001536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:15] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,96,85,24,241,157,16,163,160,5,45,64,222,12,20,10,66,179,128,219,136,1,240,187,227,162,38,200,4,113,205,32,97,215,152,239,53,2,177,8,28,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":200,"original":3583508490,"validated":0},{"io_id":205,"original":2875261134,"validated":0}]} 
[2026-08-22 06:34:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008885567268323328,"timestamp_seconds":1008885567268323.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:34:15] 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-22 06:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564312320001,"66":13624,"96":206,"85":13824,"24":6,"16":122058529556135936,"45":-8563242822879041536},"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-22 06:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564312320001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:34:15] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 06:34:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122058529556135936,"km_value":122058529556135.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8563242822879041536,"description":"Unknown IO ID 45"} 
[2026-08-22 06:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564312320001,"power":13624,"unknown_96":206,"unknown_85":13824,"ignition":6,"odometer":null,"unknown_45":-8563242822879041536}} 
[2026-08-22 06:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":160693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:34:15] local.INFO: GPS data processed {"connection_id":160693,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:34:15] local.INFO: Acknowledgment sent {"connection_id":160693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:34:18] local.INFO: TCP Data received {"connection_id":160693,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026fea610012d8946c005c8f028000a004613..."} 
[2026-08-22 06:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fea610012d8946c005c8f028000a004613..."} 
[2026-08-22 06:34:18] local.INFO: Processing buffer {"connection_id":160693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fea610012d8946c005c8f028000a004613..."} 
[2026-08-22 06:34:18] local.INFO: Packet analysis {"connection_id":160693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:34:18] local.INFO: Extracted packet for processing {"connection_id":160693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:34:18] local.INFO: GPS Element Parsed {"raw_longitude":763971264,"raw_latitude":97054760,"longitude_deg":76.3971264,"latitude_deg":9.705476,"altitude":10,"angle":70,"satellites":19,"speed":20,"hex_longitude":"2d8946c0","hex_latitude":"05c8f028","is_valid_coordinates":true} 
[2026-08-22 06:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564313600001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122058877448486912,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8561976185483724800,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34: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-22 06:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787360618000,"timestamp_ms":1787360618000,"timestamp_seconds":1787360618,"priority":1,"record_length":96,"hex_timestamp":"000001a026fea610"} 
[2026-08-22 06:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:34: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-22 06:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-22 06:34:18] 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-22 06:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:34:18] 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-22 06:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564313600001,"66":13580,"96":206,"85":13824,"24":20,"16":122058877448486912,"45":-8561976185483724800},"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-22 06:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564313600001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:34:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 06:34:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122058877448486912,"km_value":122058877448486.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8561976185483724800,"description":"Unknown IO ID 45"} 
[2026-08-22 06:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564313600001,"power":13580,"unknown_96":206,"unknown_85":13824,"ignition":20,"odometer":null,"unknown_45":-8561976185483724800}} 
[2026-08-22 06:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":160693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:34:18] local.INFO: GPS data processed {"connection_id":160693,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:34:18] local.INFO: Acknowledgment sent {"connection_id":160693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:34:28] local.INFO: TCP Data received {"connection_id":159773,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:34:28] local.INFO: Processing buffer {"connection_id":159773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:34:28] local.INFO: IMEI packet received {"connection_id":159773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":159773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:34:30] local.INFO: TCP Data received {"connection_id":159773,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:34:30] local.INFO: Processing buffer {"connection_id":159773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:34:30] local.INFO: IMEI packet received {"connection_id":159773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":159773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:34:30] local.INFO: TCP Data received {"connection_id":159517,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026fc6fa8012d181f800721af30003d00ce29..."} 
[2026-08-22 06:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fc6fa8012d181f800721af30003d00ce29..."} 
[2026-08-22 06:34:30] local.INFO: Processing buffer {"connection_id":159517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fc6fa8012d181f800721af30003d00ce29..."} 
[2026-08-22 06:34:30] local.INFO: Packet analysis {"connection_id":159517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:34:30] local.INFO: Extracted packet for processing {"connection_id":159517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:34:30] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564275712001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787360473000,"timestamp_ms":1787360473000,"timestamp_seconds":1787360473,"priority":1,"record_length":96,"hex_timestamp":"000001a026fc6fa8"} 
[2026-08-22 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-22 06:34:30] 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-22 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 06:34:30] 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-22 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-22 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-22 06:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:34:30] 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-22 06:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564275712001,"66":12211,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564275712001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:34:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:34:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564275712001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":159517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:34:30] local.INFO: GPS data processed {"connection_id":159517,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:34:30] local.INFO: Acknowledgment sent {"connection_id":159517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:34:56] local.INFO: TCP Data received {"connection_id":159519,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:34:56] local.INFO: Processing buffer {"connection_id":159519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:34:56] local.INFO: IMEI packet received {"connection_id":159519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":159519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:34:59] local.INFO: TCP Data received {"connection_id":159518,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:34:59] local.INFO: Processing buffer {"connection_id":159518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:34:59] local.INFO: IMEI packet received {"connection_id":159518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":159518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:35:00] local.INFO: TCP Data received {"connection_id":159518,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:35:00] local.INFO: Processing buffer {"connection_id":159518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:35:00] local.INFO: IMEI packet received {"connection_id":159518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":159518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:35:00] local.INFO: TCP Data received {"connection_id":159520,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:35:00] local.INFO: Processing buffer {"connection_id":159520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:35:00] local.INFO: IMEI packet received {"connection_id":159520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":159520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:35:00] local.INFO: TCP Data received {"connection_id":159518,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026fcc1b0012d181f800721af30003d00ce28..."} 
[2026-08-22 06:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fcc1b0012d181f800721af30003d00ce28..."} 
[2026-08-22 06:35:00] local.INFO: Processing buffer {"connection_id":159518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fcc1b0012d181f800721af30003d00ce28..."} 
[2026-08-22 06:35:00] local.INFO: Packet analysis {"connection_id":159518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:35:00] local.INFO: Extracted packet for processing {"connection_id":159518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fc"} 
[2026-08-22 06:35:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564281088001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:00] local.INFO: IO Element Parsed {"io_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-22 06:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787360494000,"timestamp_ms":1787360494000,"timestamp_seconds":1787360494,"priority":1,"record_length":96,"hex_timestamp":"000001a026fcc1b0"} 
[2026-08-22 06: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-22 06:35:00] 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-22 06: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 06:35:00] 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-22 06: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-22 06: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-22 06:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:35:00] 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-22 06:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564281088001,"66":12265,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564281088001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:35:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:35:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564281088001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":159518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:35:00] local.INFO: GPS data processed {"connection_id":159518,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:35:00] local.INFO: Acknowledgment sent {"connection_id":159518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:35:01] local.INFO: TCP Data received {"connection_id":159519,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:35:01] local.INFO: Processing buffer {"connection_id":159519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:35:01] local.INFO: IMEI packet received {"connection_id":159519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":159519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:35:02] local.INFO: TCP Data received {"connection_id":159519,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026fed8d8012d89600005c8fbd00009003a14..."} 
[2026-08-22 06:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fed8d8012d89600005c8fbd00009003a14..."} 
[2026-08-22 06:35:02] local.INFO: Processing buffer {"connection_id":159519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fed8d8012d89600005c8fbd00009003a14..."} 
[2026-08-22 06:35:02] local.INFO: Packet analysis {"connection_id":159519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:35:02] local.INFO: Extracted packet for processing {"connection_id":159519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763977728,"raw_latitude":97057744,"longitude_deg":76.3977728,"latitude_deg":9.7057744,"altitude":9,"angle":58,"satellites":20,"speed":22,"hex_longitude":"2d896000","hex_latitude":"05c8fbd0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564318208001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122059221045870592,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8554939311065126912,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35: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-22 06:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787360631000,"timestamp_ms":1787360631000,"timestamp_seconds":1787360631,"priority":1,"record_length":96,"hex_timestamp":"000001a026fed8d8"} 
[2026-08-22 06: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-22 06:35:02] 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-22 06: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751624610,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":2147862744,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298249221,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3369441280,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5646781657978503168,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":38,"raw_value":4256423937,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3684696074,"corrected_to":0} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636468701211489,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2875195598,"corrected_to":0} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":136,"raw_value":-2954354995419938806,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392043,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2733047808,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-4251171912287203755,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755536880140529,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:02] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,96,85,24,241,157,16,163,160,95,45,192,227,13,20,10,66,76,64,225,14,5,1,240,38,200,4,113,205,136,184,239,51,2,177,32,53,54],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":200,"original":3684696074,"validated":0},{"io_id":205,"original":2875195598,"validated":0}]} 
[2026-08-22 06:35:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720652987798913024,"timestamp_seconds":720652987798913.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:35:02] 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-22 06:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564318208001,"66":13646,"96":206,"85":13824,"24":22,"16":122059221045870592,"45":-8554939311065126912},"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-22 06:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564318208001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:35:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 06:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122059221045870592,"km_value":122059221045870.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8554939311065126912,"description":"Unknown IO ID 45"} 
[2026-08-22 06:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564318208001,"power":13646,"unknown_96":206,"unknown_85":13824,"ignition":22,"odometer":null,"unknown_45":-8554939311065126912}} 
[2026-08-22 06:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":159519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:35:02] local.INFO: GPS data processed {"connection_id":159519,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:35:02] local.INFO: Acknowledgment sent {"connection_id":159519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:35:04] local.INFO: TCP Data received {"connection_id":159518,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026fd13b8012d181f800721af30003d00ce29..."} 
[2026-08-22 06:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fd13b8012d181f800721af30003d00ce29..."} 
[2026-08-22 06:35:04] local.INFO: Processing buffer {"connection_id":159518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fd13b8012d181f800721af30003d00ce29..."} 
[2026-08-22 06:35:04] local.INFO: Packet analysis {"connection_id":159518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fd"} 
[2026-08-22 06:35:04] local.INFO: Extracted packet for processing {"connection_id":159518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fd"} 
[2026-08-22 06:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564286464001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:04] local.INFO: IO Element Parsed {"io_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-22 06:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787360515000,"timestamp_ms":1787360515000,"timestamp_seconds":1787360515,"priority":1,"record_length":96,"hex_timestamp":"000001a026fd13b8"} 
[2026-08-22 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-22 06:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 06:35:04] 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-22 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-22 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-22 06:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:35:04] 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-22 06:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564286464001,"66":12211,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564286464001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:35:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:35:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564286464001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":159518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:35:04] local.INFO: GPS data processed {"connection_id":159518,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:35:04] local.INFO: Acknowledgment sent {"connection_id":159518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:35:05] local.INFO: TCP Data received {"connection_id":159520,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:35:05] local.INFO: Processing buffer {"connection_id":159520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:35:05] local.INFO: IMEI packet received {"connection_id":159520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":159520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:35:06] local.INFO: TCP Data received {"connection_id":159520,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:35:06] local.INFO: Processing buffer {"connection_id":159520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:35:06] local.INFO: Packet analysis {"connection_id":159520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:35:06] local.INFO: Extracted packet for processing {"connection_id":159520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564244224001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:06] 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-22 06:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787360630000,"timestamp_ms":1787360630000,"timestamp_seconds":1787360630,"priority":1,"record_length":96,"hex_timestamp":"000001a026fed4f0"} 
[2026-08-22 06:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:35:06] 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-22 06:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 06:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564244224001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564244224001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:35:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564244224001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":159520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:35:06] local.INFO: GPS data processed {"connection_id":159520,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:35:06] local.INFO: Acknowledgment sent {"connection_id":159520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:35:33] local.INFO: TCP Data received {"connection_id":159519,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026ff1758012d89784005c90a500009002f14..."} 
[2026-08-22 06:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ff1758012d89784005c90a500009002f14..."} 
[2026-08-22 06:35:33] local.INFO: Processing buffer {"connection_id":159519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ff1758012d89784005c90a500009002f14..."} 
[2026-08-22 06:35:33] local.INFO: Packet analysis {"connection_id":159519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ff"} 
[2026-08-22 06:35:33] local.INFO: Extracted packet for processing {"connection_id":159519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ff"} 
[2026-08-22 06:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763983936,"raw_latitude":97061456,"longitude_deg":76.3983936,"latitude_deg":9.7061456,"altitude":9,"angle":47,"satellites":20,"speed":12,"hex_longitude":"2d897840","hex_latitude":"05c90a50","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564321536001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122059564643254272,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8547832067902418944,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:33] 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-22 06:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787360647000,"timestamp_ms":1787360647000,"timestamp_seconds":1787360647,"priority":1,"record_length":96,"hex_timestamp":"000001a026ff1758"} 
[2026-08-22 06: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-22 06:35:33] 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-22 06: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-22 06:35:33] 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-22 06: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-22 06: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-22 06:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:35:33] 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-22 06:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564321536001,"66":13091,"96":206,"85":13824,"24":12,"16":122059564643254272,"45":-8547832067902418944},"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-22 06:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564321536001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:35:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 06:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122059564643254272,"km_value":122059564643254.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8547832067902418944,"description":"Unknown IO ID 45"} 
[2026-08-22 06:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564321536001,"power":13091,"unknown_96":206,"unknown_85":13824,"ignition":12,"odometer":null,"unknown_45":-8547832067902418944}} 
[2026-08-22 06:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":159519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:35:33] local.INFO: GPS data processed {"connection_id":159519,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:35:33] local.INFO: Acknowledgment sent {"connection_id":159519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:35:35] local.INFO: TCP Data received {"connection_id":159518,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026fd65c0012d181f800721af30003d00ce28..."} 
[2026-08-22 06:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fd65c0012d181f800721af30003d00ce28..."} 
[2026-08-22 06:35:35] local.INFO: Processing buffer {"connection_id":159518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fd65c0012d181f800721af30003d00ce28..."} 
[2026-08-22 06:35:35] local.INFO: Packet analysis {"connection_id":159518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fd"} 
[2026-08-22 06:35:35] local.INFO: Extracted packet for processing {"connection_id":159518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fd"} 
[2026-08-22 06:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564291840001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:35] local.INFO: IO Element Parsed {"io_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-22 06:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787360536000,"timestamp_ms":1787360536000,"timestamp_seconds":1787360536,"priority":1,"record_length":96,"hex_timestamp":"000001a026fd65c0"} 
[2026-08-22 06: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-22 06:35:35] 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-22 06: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 06:35:35] 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-22 06: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-22 06: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-22 06:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:35:35] 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-22 06:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564291840001,"66":12254,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564291840001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:35:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564291840001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":159518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:35:35] local.INFO: GPS data processed {"connection_id":159518,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:35:35] local.INFO: Acknowledgment sent {"connection_id":159518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:35:50] local.INFO: TCP Data received {"connection_id":162099,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:35:50] local.INFO: Processing buffer {"connection_id":162099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:35:50] local.INFO: IMEI packet received {"connection_id":162099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":162099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:35:54] local.INFO: TCP Data received {"connection_id":159774,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:35:54] local.INFO: Processing buffer {"connection_id":159774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:35:54] local.INFO: IMEI packet received {"connection_id":159774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":159774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:35:55] local.INFO: TCP Data received {"connection_id":162099,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:35:55] local.INFO: Processing buffer {"connection_id":162099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:35:55] local.INFO: IMEI packet received {"connection_id":162099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":162099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:35:56] local.INFO: TCP Data received {"connection_id":162099,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:35:56] local.INFO: Processing buffer {"connection_id":162099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:35:56] local.INFO: Packet analysis {"connection_id":162099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:35:56] local.INFO: Extracted packet for processing {"connection_id":162099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564244224001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35: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-22 06:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787360630000,"timestamp_ms":1787360630000,"timestamp_seconds":1787360630,"priority":1,"record_length":96,"hex_timestamp":"000001a026fed4f0"} 
[2026-08-22 06: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-22 06:35:56] 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-22 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 06:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564244224001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564244224001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:35:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564244224001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":162099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:35:56] local.INFO: GPS data processed {"connection_id":162099,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:35:56] local.INFO: Acknowledgment sent {"connection_id":162099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:35:56] local.INFO: TCP Data received {"connection_id":159775,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:35:56] local.INFO: Processing buffer {"connection_id":159775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:35:56] local.INFO: IMEI packet received {"connection_id":159775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":159775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:35:59] local.INFO: TCP Data received {"connection_id":159774,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:35:59] local.INFO: Processing buffer {"connection_id":159774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:35:59] local.INFO: IMEI packet received {"connection_id":159774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":159774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:35:59] local.INFO: TCP Data received {"connection_id":159774,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026fdb7c8012d181f800721af30003d00ce28..."} 
[2026-08-22 06:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fdb7c8012d181f800721af30003d00ce28..."} 
[2026-08-22 06:35:59] local.INFO: Processing buffer {"connection_id":159774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fdb7c8012d181f800721af30003d00ce28..."} 
[2026-08-22 06:35:59] local.INFO: Packet analysis {"connection_id":159774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fd"} 
[2026-08-22 06:35:59] local.INFO: Extracted packet for processing {"connection_id":159774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fd"} 
[2026-08-22 06:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564297216001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787360557000,"timestamp_ms":1787360557000,"timestamp_seconds":1787360557,"priority":1,"record_length":96,"hex_timestamp":"000001a026fdb7c8"} 
[2026-08-22 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-22 06:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-22 06:35:59] 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-22 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-22 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-22 06:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:35:59] 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-22 06:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564297216001,"66":12254,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564297216001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:35:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:35:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564297216001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":159774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:36:00] local.INFO: GPS data processed {"connection_id":159774,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:36:00] local.INFO: Acknowledgment sent {"connection_id":159774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:36:01] local.INFO: TCP Data received {"connection_id":159775,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:36:01] local.INFO: Processing buffer {"connection_id":159775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:36:01] local.INFO: IMEI packet received {"connection_id":159775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":159775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:36:02] local.INFO: TCP Data received {"connection_id":159775,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026ff6960012d897bc005c90cf00009003614..."} 
[2026-08-22 06:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ff6960012d897bc005c90cf00009003614..."} 
[2026-08-22 06:36:02] local.INFO: Processing buffer {"connection_id":159775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ff6960012d897bc005c90cf00009003614..."} 
[2026-08-22 06:36:02] local.INFO: Packet analysis {"connection_id":159775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ff"} 
[2026-08-22 06:36:02] local.INFO: Extracted packet for processing {"connection_id":159775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ff"} 
[2026-08-22 06:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763984832,"raw_latitude":97062128,"longitude_deg":76.3984832,"latitude_deg":9.7062128,"altitude":9,"angle":54,"satellites":20,"speed":0,"hex_longitude":"2d897bc0","hex_latitude":"05c90cf0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564325632001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122059624772796416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8541006299716235264,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36: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-22 06:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787360668000,"timestamp_ms":1787360668000,"timestamp_seconds":1787360668,"priority":1,"record_length":96,"hex_timestamp":"000001a026ff6960"} 
[2026-08-22 06: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-22 06:36:02] 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-22 06: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-22 06:36:02] 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-22 06: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-22 06: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-22 06:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:36:02] 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-22 06:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564325632001,"66":13374,"96":206,"85":13824,"24":0,"16":122059624772796416,"45":-8541006299716235264},"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-22 06:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564325632001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:36:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 06:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122059624772796416,"km_value":122059624772796.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8541006299716235264,"description":"Unknown IO ID 45"} 
[2026-08-22 06:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564325632001,"power":13374,"unknown_96":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8541006299716235264}} 
[2026-08-22 06:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":159775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:36:02] local.INFO: GPS data processed {"connection_id":159775,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:36:02] local.INFO: Acknowledgment sent {"connection_id":159775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:36:27] local.INFO: TCP Data received {"connection_id":162099,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:36:27] local.INFO: Processing buffer {"connection_id":162099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:36:27] local.INFO: Packet analysis {"connection_id":162099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:36:27] local.INFO: Extracted packet for processing {"connection_id":162099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564244224001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36: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-22 06:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787360630000,"timestamp_ms":1787360630000,"timestamp_seconds":1787360630,"priority":1,"record_length":96,"hex_timestamp":"000001a026fed4f0"} 
[2026-08-22 06: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-22 06:36:27] 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-22 06:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 06:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564244224001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564244224001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:36:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564244224001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":162099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:36:27] local.INFO: GPS data processed {"connection_id":162099,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:36:27] local.INFO: Acknowledgment sent {"connection_id":162099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:36:31] local.INFO: TCP Data received {"connection_id":159774,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026fe09d0012d181f800721af30003d00ce27..."} 
[2026-08-22 06:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fe09d0012d181f800721af30003d00ce27..."} 
[2026-08-22 06:36:31] local.INFO: Processing buffer {"connection_id":159774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fe09d0012d181f800721af30003d00ce27..."} 
[2026-08-22 06:36:31] local.INFO: Packet analysis {"connection_id":159774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:36:31] local.INFO: Extracted packet for processing {"connection_id":159774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:36:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564302592001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:31] local.INFO: IO Element Parsed {"io_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-22 06:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787360578000,"timestamp_ms":1787360578000,"timestamp_seconds":1787360578,"priority":1,"record_length":96,"hex_timestamp":"000001a026fe09d0"} 
[2026-08-22 06: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-22 06:36:31] 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-22 06: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-22 06:36:31] 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-22 06: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-22 06: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-22 06:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:36:31] 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-22 06:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564302592001,"66":12298,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564302592001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:36:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:36:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564302592001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":159774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:36:31] local.INFO: GPS data processed {"connection_id":159774,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:36:31] local.INFO: Acknowledgment sent {"connection_id":159774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:36:33] local.INFO: TCP Data received {"connection_id":159775,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a026ffbb68012d897bc005c90cf00009003617..."} 
[2026-08-22 06:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ffbb68012d897bc005c90cf00009003617..."} 
[2026-08-22 06:36:33] local.INFO: Processing buffer {"connection_id":159775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ffbb68012d897bc005c90cf00009003617..."} 
[2026-08-22 06:36:33] local.INFO: Packet analysis {"connection_id":159775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ff"} 
[2026-08-22 06:36:33] local.INFO: Extracted packet for processing {"connection_id":159775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ff"} 
[2026-08-22 06:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763984832,"raw_latitude":97062128,"longitude_deg":76.3984832,"latitude_deg":9.7062128,"altitude":9,"angle":54,"satellites":23,"speed":0,"hex_longitude":"2d897bc0","hex_latitude":"05c90cf0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564331008001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122059624772796416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8540021137297575936,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:33] 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-22 06:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787360689000,"timestamp_ms":1787360689000,"timestamp_seconds":1787360689,"priority":1,"record_length":96,"hex_timestamp":"000001a026ffbb68"} 
[2026-08-22 06: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-22 06:36:33] 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-22 06: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 06:36:33] 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-22 06: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-22 06: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-22 06:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:36:33] 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-22 06:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564331008001,"66":13559,"96":206,"85":13824,"24":0,"16":122059624772796416,"45":-8540021137297575936},"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-22 06:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564331008001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:36:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 06:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122059624772796416,"km_value":122059624772796.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8540021137297575936,"description":"Unknown IO ID 45"} 
[2026-08-22 06:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564331008001,"power":13559,"unknown_96":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8540021137297575936}} 
[2026-08-22 06:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":159775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:36:33] local.INFO: GPS data processed {"connection_id":159775,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:36:33] local.INFO: Acknowledgment sent {"connection_id":159775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:36:50] local.INFO: TCP Data received {"connection_id":160694,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:36:50] local.INFO: Processing buffer {"connection_id":160694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:36:50] local.INFO: IMEI packet received {"connection_id":160694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":160694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:36:54] local.INFO: TCP Data received {"connection_id":159521,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:36:54] local.INFO: Processing buffer {"connection_id":159521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:36:54] local.INFO: IMEI packet received {"connection_id":159521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":159521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:36:55] local.INFO: TCP Data received {"connection_id":160694,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:36:55] local.INFO: Processing buffer {"connection_id":160694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:36:55] local.INFO: IMEI packet received {"connection_id":160694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":160694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:36:56] local.INFO: TCP Data received {"connection_id":160694,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:36:56] local.INFO: Processing buffer {"connection_id":160694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:36:56] local.INFO: Packet analysis {"connection_id":160694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:36:56] local.INFO: Extracted packet for processing {"connection_id":160694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564244224001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36: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-22 06:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787360630000,"timestamp_ms":1787360630000,"timestamp_seconds":1787360630,"priority":1,"record_length":96,"hex_timestamp":"000001a026fed4f0"} 
[2026-08-22 06: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-22 06:36:56] 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-22 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 06:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564244224001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564244224001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:36:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564244224001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":160694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:36:56] local.INFO: GPS data processed {"connection_id":160694,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:36:56] local.INFO: Acknowledgment sent {"connection_id":160694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:36:56] local.INFO: TCP Data received {"connection_id":160695,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:36:56] local.INFO: Processing buffer {"connection_id":160695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:36:56] local.INFO: IMEI packet received {"connection_id":160695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":160695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:36:59] local.INFO: TCP Data received {"connection_id":159521,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:36:59] local.INFO: Processing buffer {"connection_id":159521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:36:59] local.INFO: IMEI packet received {"connection_id":159521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":159521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:36:59] local.INFO: TCP Data received {"connection_id":159521,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026fe5bd8012d181f800721af30003d00ce22..."} 
[2026-08-22 06:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fe5bd8012d181f800721af30003d00ce22..."} 
[2026-08-22 06:36:59] local.INFO: Processing buffer {"connection_id":159521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fe5bd8012d181f800721af30003d00ce22..."} 
[2026-08-22 06:36:59] local.INFO: Packet analysis {"connection_id":159521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:36:59] local.INFO: Extracted packet for processing {"connection_id":159521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":34,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564307968001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787360599000,"timestamp_ms":1787360599000,"timestamp_seconds":1787360599,"priority":1,"record_length":96,"hex_timestamp":"000001a026fe5bd8"} 
[2026-08-22 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-22 06:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185650,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4611686018427387905,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2809062646310836255,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513884453194236110,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":61,"raw_value":58028925179133952,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832563,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797378306254,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":38,"raw_value":4240551937,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2939158589,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174250,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4064280576,"note":"Value kept but may cause issues"} 
[2026-08-22 06:36:59] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,242,160,183,45,128,175,61,40,10,66,101,19,1,240,179,227,38,33,4,113,205,111,31,48,41,239,47,2,50,7,42],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 06:36:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739903212650496,"timestamp_seconds":4395739903212650.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 06:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:36:59] 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-22 06:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564307968001,"66":12298,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564307968001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:36:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:36:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564307968001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:37:00] local.INFO: TCP Data received {"connection_id":160695,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:37:00] local.INFO: Processing buffer {"connection_id":160695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:37:00] local.INFO: IMEI packet received {"connection_id":160695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":160695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":159521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:37:00] local.INFO: GPS data processed {"connection_id":159521,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:37:00] local.INFO: Acknowledgment sent {"connection_id":159521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:37:01] local.INFO: TCP Data received {"connection_id":160695,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:37:01] local.INFO: Processing buffer {"connection_id":160695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:37:01] local.INFO: IMEI packet received {"connection_id":160695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":160695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:37:02] local.INFO: TCP Data received {"connection_id":160695,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027016148012d89d84005c8e358000600a319..."} 
[2026-08-22 06:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027016148012d89d84005c8e358000600a319..."} 
[2026-08-22 06:37:02] local.INFO: Processing buffer {"connection_id":160695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027016148012d89d84005c8e358000600a319..."} 
[2026-08-22 06:37:02] local.INFO: Packet analysis {"connection_id":160695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02701"} 
[2026-08-22 06:37:02] local.INFO: Extracted packet for processing {"connection_id":160695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02701"} 
[2026-08-22 06:37:02] local.INFO: GPS Element Parsed {"raw_longitude":764008512,"raw_latitude":97051480,"longitude_deg":76.4008512,"latitude_deg":9.705148,"altitude":6,"angle":163,"satellites":25,"speed":41,"hex_longitude":"2d89d840","hex_latitude":"05c8e358","is_valid_coordinates":true} 
[2026-08-22 06:37: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-22 06:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564361472001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122061480198668288,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8517292032928671744,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37: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-22 06:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787360797000,"timestamp_ms":1787360797000,"timestamp_seconds":1787360797,"priority":1,"record_length":96,"hex_timestamp":"000001a027016148"} 
[2026-08-22 06:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:37:02] 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-22 06:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 06:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751624613,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2310815749,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5646024094466965504,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:02] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13478752,"corrected_to":0} 
[2026-08-22 06:37:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937948512,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2875195598,"corrected_to":0} 
[2026-08-22 06:37:02] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648455934882219,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:02] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2774466560,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3374862336,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:02] local.WARNING: Large IO value detected {"io_id":137,"raw_value":-7025609057339178999,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:02] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755498225434865,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:02] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,96,85,24,241,157,16,165,160,7,45,39,9,25,10,66,255,64,42,251,1,240,203,227,201,4,113,205,187,192,239,53,2,177,5,18,137,54],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":203,"original":13478752,"validated":0},{"io_id":205,"original":2875195598,"validated":0}]} 
[2026-08-22 06:37:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576636781540212736,"timestamp_seconds":576636781540212.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:37:02] 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-22 06:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564361472001,"66":13602,"96":206,"85":13824,"24":41,"16":122061480198668288,"45":-8517292032928671744},"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-22 06:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564361472001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:37:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 06:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122061480198668288,"km_value":122061480198668.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8517292032928671744,"description":"Unknown IO ID 45"} 
[2026-08-22 06:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564361472001,"power":13602,"unknown_96":206,"unknown_85":13824,"ignition":41,"odometer":null,"unknown_45":-8517292032928671744}} 
[2026-08-22 06:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":160695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:37:02] local.INFO: GPS data processed {"connection_id":160695,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:37:02] local.INFO: Acknowledgment sent {"connection_id":160695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:37:27] local.INFO: TCP Data received {"connection_id":160694,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:37:27] local.INFO: Processing buffer {"connection_id":160694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:37:27] local.INFO: Packet analysis {"connection_id":160694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:37:27] local.INFO: Extracted packet for processing {"connection_id":160694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564244224001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37: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-22 06:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787360630000,"timestamp_ms":1787360630000,"timestamp_seconds":1787360630,"priority":1,"record_length":96,"hex_timestamp":"000001a026fed4f0"} 
[2026-08-22 06: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-22 06:37:27] 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-22 06:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 06:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564244224001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564244224001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:37:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564244224001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":160694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:37:27] local.INFO: GPS data processed {"connection_id":160694,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:37:27] local.INFO: Acknowledgment sent {"connection_id":160694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:37:31] local.INFO: TCP Data received {"connection_id":159521,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026feade0012d181f800721af30003d00ce2a..."} 
[2026-08-22 06:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026feade0012d181f800721af30003d00ce2a..."} 
[2026-08-22 06:37:31] local.INFO: Processing buffer {"connection_id":159521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026feade0012d181f800721af30003d00ce2a..."} 
[2026-08-22 06:37:31] local.INFO: Packet analysis {"connection_id":159521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:37:31] local.INFO: Extracted packet for processing {"connection_id":159521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:37:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564313344001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.INFO: IO Element Parsed {"io_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-22 06:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787360620000,"timestamp_ms":1787360620000,"timestamp_seconds":1787360620,"priority":1,"record_length":96,"hex_timestamp":"000001a026feade0"} 
[2026-08-22 06: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-22 06:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185650,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4611686018427387905,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2809152840624052255,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513884453194236110,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":61,"raw_value":58028925179133952,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832563,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3437091822867382478,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":38,"raw_value":4245927937,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2939158589,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143914,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4064280576,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:31] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,242,160,9,45,128,175,61,39,10,66,183,40,101,1,240,222,227,38,33,4,113,205,193,31,48,239,47,2,50,7,41],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 06:37:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739881737814016,"timestamp_seconds":4395739881737814.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:37:31] 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-22 06:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564313344001,"66":12298,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564313344001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:37:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:37:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564313344001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":159521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:37:31] local.INFO: GPS data processed {"connection_id":159521,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:37:31] local.INFO: Acknowledgment sent {"connection_id":159521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:37:34] local.INFO: TCP Data received {"connection_id":160695,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027018470012d89e3c005c8c0a0000600a119..."} 
[2026-08-22 06:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027018470012d89e3c005c8c0a0000600a119..."} 
[2026-08-22 06:37:34] local.INFO: Processing buffer {"connection_id":160695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027018470012d89e3c005c8c0a0000600a119..."} 
[2026-08-22 06:37:34] local.INFO: Packet analysis {"connection_id":160695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02701"} 
[2026-08-22 06:37:34] local.INFO: Extracted packet for processing {"connection_id":160695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02701"} 
[2026-08-22 06:37:34] local.INFO: GPS Element Parsed {"raw_longitude":764011456,"raw_latitude":97042592,"longitude_deg":76.4011456,"latitude_deg":9.7042592,"altitude":6,"angle":161,"satellites":25,"speed":38,"hex_longitude":"2d89e3c0","hex_latitude":"05c8c0a0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564364032001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122061931170234368,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8513984701954566144,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:34] 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-22 06:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787360806000,"timestamp_ms":1787360806000,"timestamp_seconds":1787360806,"priority":1,"record_length":96,"hex_timestamp":"000001a027018470"} 
[2026-08-22 06: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-22 06:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-22 06:37:34] 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-22 06: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-22 06: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-22 06:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:37:34] 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-22 06:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564364032001,"66":13656,"96":206,"85":13824,"24":38,"16":122061931170234368,"45":-8513984701954566144},"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-22 06:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564364032001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:37:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 06:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-22 06:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122061931170234368,"km_value":122061931170234.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8513984701954566144,"description":"Unknown IO ID 45"} 
[2026-08-22 06:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564364032001,"power":13656,"unknown_96":206,"unknown_85":13824,"ignition":38,"odometer":null,"unknown_45":-8513984701954566144}} 
[2026-08-22 06:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":160695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:37:34] local.INFO: GPS data processed {"connection_id":160695,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:37:34] local.INFO: Acknowledgment sent {"connection_id":160695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:37:50] local.INFO: TCP Data received {"connection_id":159776,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:37:50] local.INFO: Processing buffer {"connection_id":159776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:37:50] local.INFO: IMEI packet received {"connection_id":159776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":159776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:37:54] local.INFO: TCP Data received {"connection_id":162100,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:37:54] local.INFO: Processing buffer {"connection_id":162100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:37:54] local.INFO: IMEI packet received {"connection_id":162100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":162100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:37:55] local.INFO: TCP Data received {"connection_id":159776,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:37:55] local.INFO: Processing buffer {"connection_id":159776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:37:55] local.INFO: IMEI packet received {"connection_id":159776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":159776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:37:56] local.INFO: TCP Data received {"connection_id":159776,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:37:56] local.INFO: Processing buffer {"connection_id":159776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:37:56] local.INFO: Packet analysis {"connection_id":159776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:37:56] local.INFO: Extracted packet for processing {"connection_id":159776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564244224001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:37: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-22 06:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787360630000,"timestamp_ms":1787360630000,"timestamp_seconds":1787360630,"priority":1,"record_length":96,"hex_timestamp":"000001a026fed4f0"} 
[2026-08-22 06: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-22 06:37:56] 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-22 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 06:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564244224001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564244224001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:37:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564244224001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":159776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:37:56] local.INFO: GPS data processed {"connection_id":159776,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:37:56] local.INFO: Acknowledgment sent {"connection_id":159776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:37:58] local.INFO: TCP Data received {"connection_id":159777,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:37:58] local.INFO: Processing buffer {"connection_id":159777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:37:58] local.INFO: IMEI packet received {"connection_id":159777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":159777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:37:59] local.INFO: TCP Data received {"connection_id":162100,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:37:59] local.INFO: Processing buffer {"connection_id":162100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:37:59] local.INFO: IMEI packet received {"connection_id":162100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":162100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:38:00] local.INFO: TCP Data received {"connection_id":162100,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026feffe8012d181f800721af30003d00ce27..."} 
[2026-08-22 06:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026feffe8012d181f800721af30003d00ce27..."} 
[2026-08-22 06:38:00] local.INFO: Processing buffer {"connection_id":162100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026feffe8012d181f800721af30003d00ce27..."} 
[2026-08-22 06:38:00] local.INFO: Packet analysis {"connection_id":162100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:38:00] local.INFO: Extracted packet for processing {"connection_id":162100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:38:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564318720001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.INFO: IO Element Parsed {"io_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-22 06:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787360641000,"timestamp_ms":1787360641000,"timestamp_seconds":1787360641,"priority":1,"record_length":96,"hex_timestamp":"000001a026feffe8"} 
[2026-08-22 06: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-22 06:38:00] 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-22 06: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185650,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4611686018427387905,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2809243034937268255,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513884453194236110,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":61,"raw_value":58027825667506176,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832563,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471609757902,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":38,"raw_value":4251303937,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2939158589,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174250,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4064280576,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:00] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,242,160,91,45,128,175,61,34,10,66,9,39,183,1,240,222,227,38,33,4,113,205,19,31,48,41,239,47,2,50,7],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 06:38:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739916097552384,"timestamp_seconds":4395739916097552.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:38:00] 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-22 06:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564318720001,"66":12319,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564318720001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:38:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:38:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564318720001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":162100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:38:00] local.INFO: GPS data processed {"connection_id":162100,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:38:00] local.INFO: Acknowledgment sent {"connection_id":162100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:38:05] local.INFO: TCP Data received {"connection_id":159777,"ip":"42.106.6.37","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-22 06:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159777,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-22 06:38:05] local.INFO: Processing buffer {"connection_id":159777,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-22 06:38:05] local.INFO: IMEI packet received {"connection_id":159777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":159777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:38:27] local.INFO: TCP Data received {"connection_id":159776,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:38:27] local.INFO: Processing buffer {"connection_id":159776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:38:27] local.INFO: Packet analysis {"connection_id":159776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:38:27] local.INFO: Extracted packet for processing {"connection_id":159776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564244224001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38: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-22 06:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787360630000,"timestamp_ms":1787360630000,"timestamp_seconds":1787360630,"priority":1,"record_length":96,"hex_timestamp":"000001a026fed4f0"} 
[2026-08-22 06: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-22 06:38:27] 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-22 06:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 06:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564244224001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564244224001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:38:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564244224001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":159776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:38:27] local.INFO: GPS data processed {"connection_id":159776,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:38:27] local.INFO: Acknowledgment sent {"connection_id":159776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:38:30] local.INFO: TCP Data received {"connection_id":162100,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026ff51f0012d181f800721af30003d00ce26..."} 
[2026-08-22 06:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ff51f0012d181f800721af30003d00ce26..."} 
[2026-08-22 06:38:30] local.INFO: Processing buffer {"connection_id":162100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ff51f0012d181f800721af30003d00ce26..."} 
[2026-08-22 06:38:30] local.INFO: Packet analysis {"connection_id":162100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ff"} 
[2026-08-22 06:38:30] local.INFO: Extracted packet for processing {"connection_id":162100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ff"} 
[2026-08-22 06:38:30] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 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-22 06:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564324096001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787360662000,"timestamp_ms":1787360662000,"timestamp_seconds":1787360662,"priority":1,"record_length":96,"hex_timestamp":"000001a026ff51f0"} 
[2026-08-22 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-22 06:38:30] 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-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 06:38:30] 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-22 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-22 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-22 06:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:38:30] 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-22 06:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564324096001,"66":12298,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564324096001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:38:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:38:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564324096001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":162100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:38:31] local.INFO: GPS data processed {"connection_id":162100,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:38:31] local.INFO: Acknowledgment sent {"connection_id":162100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:38:53] local.INFO: TCP Data received {"connection_id":159523,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:38:53] local.INFO: Processing buffer {"connection_id":159523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:38:53] local.INFO: IMEI packet received {"connection_id":159523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":159523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:38:55] local.INFO: TCP Data received {"connection_id":159522,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:38:55] local.INFO: Processing buffer {"connection_id":159522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:38:55] local.INFO: IMEI packet received {"connection_id":159522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":159522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:38:59] local.INFO: TCP Data received {"connection_id":159523,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:38:59] local.INFO: Processing buffer {"connection_id":159523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:38:59] local.INFO: IMEI packet received {"connection_id":159523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":159523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:39:00] local.INFO: TCP Data received {"connection_id":159523,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026ffa3f8012d181f800721af30003d00ce27..."} 
[2026-08-22 06:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026ffa3f8012d181f800721af30003d00ce27..."} 
[2026-08-22 06:39:00] local.INFO: Processing buffer {"connection_id":159523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026ffa3f8012d181f800721af30003d00ce27..."} 
[2026-08-22 06:39:00] local.INFO: Packet analysis {"connection_id":159523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ff"} 
[2026-08-22 06:39:00] local.INFO: Extracted packet for processing {"connection_id":159523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ff"} 
[2026-08-22 06:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564329472001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.INFO: IO Element Parsed {"io_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-22 06:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787360683000,"timestamp_ms":1787360683000,"timestamp_seconds":1787360683,"priority":1,"record_length":96,"hex_timestamp":"000001a026ffa3f8"} 
[2026-08-22 06: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-22 06:39:00] 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-22 06: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185650,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4611686018427387905,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2809423423563700255,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513884453194236110,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":61,"raw_value":58027825667506176,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832563,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195246865940686,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":38,"raw_value":4262055937,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2939158589,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594538,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4064280576,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:00] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,242,160,255,45,128,175,61,39,10,66,173,42,91,1,240,227,38,33,4,113,205,183,31,48,40,239,47,2,50,7,41],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 06:39:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395739898917683200,"timestamp_seconds":4395739898917683.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:39:00] 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-22 06:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564329472001,"66":12287,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564329472001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:39:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:39:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564329472001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":159523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:39:00] local.INFO: GPS data processed {"connection_id":159523,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:39:00] local.INFO: Acknowledgment sent {"connection_id":159523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:39:00] local.INFO: TCP Data received {"connection_id":159522,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:39:00] local.INFO: Processing buffer {"connection_id":159522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:39:00] local.INFO: IMEI packet received {"connection_id":159522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":159522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:39:01] local.INFO: TCP Data received {"connection_id":159522,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:39:01] local.INFO: Processing buffer {"connection_id":159522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:39:01] local.INFO: Packet analysis {"connection_id":159522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:39:01] local.INFO: Extracted packet for processing {"connection_id":159522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564244224001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787360630000,"timestamp_ms":1787360630000,"timestamp_seconds":1787360630,"priority":1,"record_length":96,"hex_timestamp":"000001a026fed4f0"} 
[2026-08-22 06: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-22 06:39:01] 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-22 06:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 06:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564244224001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564244224001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:39:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:39:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564244224001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":159522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:39:01] local.INFO: GPS data processed {"connection_id":159522,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:39:01] local.INFO: Acknowledgment sent {"connection_id":159522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:39:05] local.INFO: TCP Data received {"connection_id":159522,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:39:05] local.INFO: Processing buffer {"connection_id":159522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fed4f0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:39:05] local.INFO: Packet analysis {"connection_id":159522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:39:05] local.INFO: Extracted packet for processing {"connection_id":159522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026fe"} 
[2026-08-22 06:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564244224001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:05] 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-22 06:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787360630000,"timestamp_ms":1787360630000,"timestamp_seconds":1787360630,"priority":1,"record_length":96,"hex_timestamp":"000001a026fed4f0"} 
[2026-08-22 06: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-22 06:39:05] 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-22 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 06:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564244224001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564244224001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:39:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564244224001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":159522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:39:05] local.INFO: GPS data processed {"connection_id":159522,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:39:05] local.INFO: Acknowledgment sent {"connection_id":159522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:39:31] local.INFO: TCP Data received {"connection_id":159523,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a026fff600012d181f800721af30003d00ce29..."} 
[2026-08-22 06:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a026fff600012d181f800721af30003d00ce29..."} 
[2026-08-22 06:39:31] local.INFO: Processing buffer {"connection_id":159523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a026fff600012d181f800721af30003d00ce29..."} 
[2026-08-22 06:39:31] local.INFO: Packet analysis {"connection_id":159523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a026ff"} 
[2026-08-22 06:39:31] local.INFO: Extracted packet for processing {"connection_id":159523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a026ff"} 
[2026-08-22 06:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564334848001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:31] local.INFO: IO Element Parsed {"io_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-22 06:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787360704000,"timestamp_ms":1787360704000,"timestamp_seconds":1787360704,"priority":1,"record_length":96,"hex_timestamp":"000001a026fff600"} 
[2026-08-22 06: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-22 06:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 06:39:31] 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-22 06: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-22 06: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-22 06:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:39:31] 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-22 06:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564334848001,"66":12287,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564334848001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:39:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:39:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564334848001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":159523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:39:31] local.INFO: GPS data processed {"connection_id":159523,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:39:31] local.INFO: Acknowledgment sent {"connection_id":159523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:39:50] local.INFO: TCP Data received {"connection_id":162101,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:39:50] local.INFO: Processing buffer {"connection_id":162101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:39:50] local.INFO: IMEI packet received {"connection_id":162101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":162101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:39:53] local.INFO: TCP Data received {"connection_id":159779,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:39:53] local.INFO: Processing buffer {"connection_id":159779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:39:53] local.INFO: IMEI packet received {"connection_id":159779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":159779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:39:54] local.INFO: TCP Data received {"connection_id":159779,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:39:54] local.INFO: Processing buffer {"connection_id":159779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:39:54] local.INFO: IMEI packet received {"connection_id":159779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":159779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:39:55] local.INFO: TCP Data received {"connection_id":162101,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:39:55] local.INFO: Processing buffer {"connection_id":162101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:39:55] local.INFO: IMEI packet received {"connection_id":162101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":162101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:39:56] local.INFO: TCP Data received {"connection_id":162101,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:39:56] local.INFO: Processing buffer {"connection_id":162101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:39:56] local.INFO: Packet analysis {"connection_id":162101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:39:56] local.INFO: Extracted packet for processing {"connection_id":162101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564321280001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787360931000,"timestamp_ms":1787360931000,"timestamp_seconds":1787360931,"priority":1,"record_length":96,"hex_timestamp":"000001a027036cb8"} 
[2026-08-22 06: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-22 06:39:56] 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-22 06:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:39:56] 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-22 06: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-22 06: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-22 06:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564321280001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564321280001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:39:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564321280001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":162101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:39:56] local.INFO: GPS data processed {"connection_id":162101,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:39:56] local.INFO: Acknowledgment sent {"connection_id":162101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:39:59] local.INFO: TCP Data received {"connection_id":159779,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:39:59] local.INFO: Processing buffer {"connection_id":159779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:39:59] local.INFO: IMEI packet received {"connection_id":159779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":159779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:39:59] local.INFO: TCP Data received {"connection_id":159779,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027004808012d181f800721af30003d00ce28..."} 
[2026-08-22 06:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027004808012d181f800721af30003d00ce28..."} 
[2026-08-22 06:39:59] local.INFO: Processing buffer {"connection_id":159779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027004808012d181f800721af30003d00ce28..."} 
[2026-08-22 06:39:59] local.INFO: Packet analysis {"connection_id":159779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02700"} 
[2026-08-22 06:39:59] local.INFO: Extracted packet for processing {"connection_id":159779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02700"} 
[2026-08-22 06:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564340224001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787360725000,"timestamp_ms":1787360725000,"timestamp_seconds":1787360725,"priority":1,"record_length":96,"hex_timestamp":"000001a027004808"} 
[2026-08-22 06: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-22 06:39:59] 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-22 06: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 06:39:59] 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-22 06: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-22 06: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-22 06:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:39:59] 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-22 06:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564340224001,"66":12287,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564340224001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:39:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:39:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564340224001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":159779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:40:00] local.INFO: GPS data processed {"connection_id":159779,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:40:00] local.INFO: Acknowledgment sent {"connection_id":159779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:40:27] local.INFO: TCP Data received {"connection_id":162101,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:40:27] local.INFO: Processing buffer {"connection_id":162101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:40:27] local.INFO: Packet analysis {"connection_id":162101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:40:27] local.INFO: Extracted packet for processing {"connection_id":162101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564321280001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:40: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-22 06:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787360931000,"timestamp_ms":1787360931000,"timestamp_seconds":1787360931,"priority":1,"record_length":96,"hex_timestamp":"000001a027036cb8"} 
[2026-08-22 06: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-22 06:40:27] 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-22 06:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:40:27] 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-22 06: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-22 06: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-22 06:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564321280001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564321280001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:40:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:40:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564321280001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":162101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:40:27] local.INFO: GPS data processed {"connection_id":162101,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:40:27] local.INFO: Acknowledgment sent {"connection_id":162101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:40:31] local.INFO: TCP Data received {"connection_id":159779,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027009a10012d181f800721af30003d00ce27..."} 
[2026-08-22 06:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027009a10012d181f800721af30003d00ce27..."} 
[2026-08-22 06:40:31] local.INFO: Processing buffer {"connection_id":159779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027009a10012d181f800721af30003d00ce27..."} 
[2026-08-22 06:40:31] local.INFO: Packet analysis {"connection_id":159779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02700"} 
[2026-08-22 06:40:31] local.INFO: Extracted packet for processing {"connection_id":159779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02700"} 
[2026-08-22 06:40:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564345600001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:40:31] local.INFO: IO Element Parsed {"io_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-22 06:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787360746000,"timestamp_ms":1787360746000,"timestamp_seconds":1787360746,"priority":1,"record_length":96,"hex_timestamp":"000001a027009a10"} 
[2026-08-22 06: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-22 06:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 06:40:31] 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-22 06: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-22 06: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-22 06:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:40:31] 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-22 06:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564345600001,"66":12298,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564345600001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:40:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:40:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564345600001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":159779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:40:31] local.INFO: GPS data processed {"connection_id":159779,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:40:31] local.INFO: Acknowledgment sent {"connection_id":159779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:40:50] local.INFO: TCP Data received {"connection_id":159524,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:40:50] local.INFO: Processing buffer {"connection_id":159524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:40:50] local.INFO: IMEI packet received {"connection_id":159524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":159524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:40:55] local.INFO: TCP Data received {"connection_id":159524,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:40:55] local.INFO: Processing buffer {"connection_id":159524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:40:55] local.INFO: IMEI packet received {"connection_id":159524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":159524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:40:56] local.INFO: TCP Data received {"connection_id":159524,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:40:56] local.INFO: Processing buffer {"connection_id":159524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:40:56] local.INFO: Packet analysis {"connection_id":159524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:40:56] local.INFO: Extracted packet for processing {"connection_id":159524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564321280001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787360931000,"timestamp_ms":1787360931000,"timestamp_seconds":1787360931,"priority":1,"record_length":96,"hex_timestamp":"000001a027036cb8"} 
[2026-08-22 06: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-22 06:40:56] 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-22 06:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:40:56] 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-22 06: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-22 06: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-22 06:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564321280001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564321280001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:40:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564321280001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":159524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:40:56] local.INFO: GPS data processed {"connection_id":159524,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:40:56] local.INFO: Acknowledgment sent {"connection_id":159524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:40:57] local.INFO: TCP Data received {"connection_id":160697,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:40:57] local.INFO: Processing buffer {"connection_id":160697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:40:57] local.INFO: IMEI packet received {"connection_id":160697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":160697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:40:59] local.INFO: TCP Data received {"connection_id":160697,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:40:59] local.INFO: Processing buffer {"connection_id":160697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:40:59] local.INFO: IMEI packet received {"connection_id":160697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":160697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:41:04] local.INFO: TCP Data received {"connection_id":160697,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:41:04] local.INFO: Processing buffer {"connection_id":160697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:41:04] local.INFO: IMEI packet received {"connection_id":160697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":160697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:41:04] local.INFO: TCP Data received {"connection_id":160697,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027042068012d181f800721af30003d00ce28..."} 
[2026-08-22 06:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027042068012d181f800721af30003d00ce28..."} 
[2026-08-22 06:41:04] local.INFO: Processing buffer {"connection_id":160697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027042068012d181f800721af30003d00ce28..."} 
[2026-08-22 06:41:04] local.INFO: Packet analysis {"connection_id":160697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02704"} 
[2026-08-22 06:41:04] local.INFO: Extracted packet for processing {"connection_id":160697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02704"} 
[2026-08-22 06:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564404736001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:41:04] local.INFO: IO Element Parsed {"io_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-22 06:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787360977000,"timestamp_ms":1787360977000,"timestamp_seconds":1787360977,"priority":1,"record_length":96,"hex_timestamp":"000001a027042068"} 
[2026-08-22 06: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-22 06:41:04] 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-22 06: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 06:41:04] 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-22 06: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-22 06: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-22 06:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:41:04] 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-22 06:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564404736001,"66":12287,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564404736001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:41:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564404736001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":160697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:41:05] local.INFO: GPS data processed {"connection_id":160697,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:41:05] local.INFO: Acknowledgment sent {"connection_id":160697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:41:09] local.INFO: TCP Data received {"connection_id":160697,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027047270012d181f800721af30003d00ce29..."} 
[2026-08-22 06:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027047270012d181f800721af30003d00ce29..."} 
[2026-08-22 06:41:09] local.INFO: Processing buffer {"connection_id":160697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027047270012d181f800721af30003d00ce29..."} 
[2026-08-22 06:41:09] local.INFO: Packet analysis {"connection_id":160697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02704"} 
[2026-08-22 06:41:09] local.INFO: Extracted packet for processing {"connection_id":160697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02704"} 
[2026-08-22 06:41:09] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564410112001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:41:09] local.INFO: IO Element Parsed {"io_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-22 06:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787360998000,"timestamp_ms":1787360998000,"timestamp_seconds":1787360998,"priority":1,"record_length":96,"hex_timestamp":"000001a027047270"} 
[2026-08-22 06: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-22 06:41:09] 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-22 06: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 06:41:09] 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-22 06: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-22 06: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-22 06:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:41:09] 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-22 06:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564410112001,"66":11874,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564410112001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:41:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:41:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564410112001,"power":11874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":160697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:41:09] local.INFO: GPS data processed {"connection_id":160697,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:41:09] local.INFO: Acknowledgment sent {"connection_id":160697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:41:27] local.INFO: TCP Data received {"connection_id":159524,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:41:27] local.INFO: Processing buffer {"connection_id":159524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:41:27] local.INFO: Packet analysis {"connection_id":159524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:41:27] local.INFO: Extracted packet for processing {"connection_id":159524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564321280001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:41: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-22 06:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787360931000,"timestamp_ms":1787360931000,"timestamp_seconds":1787360931,"priority":1,"record_length":96,"hex_timestamp":"000001a027036cb8"} 
[2026-08-22 06: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-22 06:41:27] 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-22 06:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:41:27] 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-22 06: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-22 06: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-22 06:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564321280001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564321280001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:41:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564321280001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":159524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:41:27] local.INFO: GPS data processed {"connection_id":159524,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:41:27] local.INFO: Acknowledgment sent {"connection_id":159524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:41:50] local.INFO: TCP Data received {"connection_id":160698,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:41:50] local.INFO: Processing buffer {"connection_id":160698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:41:50] local.INFO: IMEI packet received {"connection_id":160698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":160698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:41:54] local.INFO: TCP Data received {"connection_id":162102,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:41:54] local.INFO: Processing buffer {"connection_id":162102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:41:54] local.INFO: IMEI packet received {"connection_id":162102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":162102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:41:55] local.INFO: TCP Data received {"connection_id":160698,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:41:55] local.INFO: Processing buffer {"connection_id":160698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:41:55] local.INFO: IMEI packet received {"connection_id":160698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":160698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:41:56] local.INFO: TCP Data received {"connection_id":160698,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:41:56] local.INFO: Processing buffer {"connection_id":160698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:41:56] local.INFO: Packet analysis {"connection_id":160698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:41:56] local.INFO: Extracted packet for processing {"connection_id":160698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564321280001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787360931000,"timestamp_ms":1787360931000,"timestamp_seconds":1787360931,"priority":1,"record_length":96,"hex_timestamp":"000001a027036cb8"} 
[2026-08-22 06: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-22 06:41:56] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:41:56] 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-22 06: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-22 06: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-22 06:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564321280001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564321280001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:41:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564321280001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":160698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:41:56] local.INFO: GPS data processed {"connection_id":160698,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:41:56] local.INFO: Acknowledgment sent {"connection_id":160698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:41:59] local.INFO: TCP Data received {"connection_id":162102,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:41:59] local.INFO: Processing buffer {"connection_id":162102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:41:59] local.INFO: IMEI packet received {"connection_id":162102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":162102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:42:00] local.INFO: TCP Data received {"connection_id":162102,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02704c478012d181f800721af30003d00ce26..."} 
[2026-08-22 06:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02704c478012d181f800721af30003d00ce26..."} 
[2026-08-22 06:42:00] local.INFO: Processing buffer {"connection_id":162102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02704c478012d181f800721af30003d00ce26..."} 
[2026-08-22 06:42:00] local.INFO: Packet analysis {"connection_id":162102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02704"} 
[2026-08-22 06:42:00] local.INFO: Extracted packet for processing {"connection_id":162102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02704"} 
[2026-08-22 06:42:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564415488001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:42:00] local.INFO: IO Element Parsed {"io_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-22 06:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787361019000,"timestamp_ms":1787361019000,"timestamp_seconds":1787361019,"priority":1,"record_length":96,"hex_timestamp":"000001a02704c478"} 
[2026-08-22 06: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-22 06:42:00] 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-22 06: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-22 06:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:42:00] 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-22 06:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564415488001,"66":12319,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564415488001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:42:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:42:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564415488001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":162102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:42:00] local.INFO: GPS data processed {"connection_id":162102,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:42:00] local.INFO: Acknowledgment sent {"connection_id":162102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:42:27] local.INFO: TCP Data received {"connection_id":160698,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:42:27] local.INFO: Processing buffer {"connection_id":160698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:42:27] local.INFO: Packet analysis {"connection_id":160698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:42:27] local.INFO: Extracted packet for processing {"connection_id":160698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564321280001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:42: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-22 06:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787360931000,"timestamp_ms":1787360931000,"timestamp_seconds":1787360931,"priority":1,"record_length":96,"hex_timestamp":"000001a027036cb8"} 
[2026-08-22 06: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-22 06:42:27] 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-22 06:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:42:27] 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-22 06: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-22 06: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-22 06:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564321280001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564321280001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:42:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564321280001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":160698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:42:27] local.INFO: GPS data processed {"connection_id":160698,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:42:27] local.INFO: Acknowledgment sent {"connection_id":160698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:42:31] local.INFO: TCP Data received {"connection_id":162102,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027051680012d181f800721af30003d00ce28..."} 
[2026-08-22 06:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027051680012d181f800721af30003d00ce28..."} 
[2026-08-22 06:42:31] local.INFO: Processing buffer {"connection_id":162102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027051680012d181f800721af30003d00ce28..."} 
[2026-08-22 06:42:31] local.INFO: Packet analysis {"connection_id":162102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02705"} 
[2026-08-22 06:42:31] local.INFO: Extracted packet for processing {"connection_id":162102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02705"} 
[2026-08-22 06:42:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564420864001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:42:31] local.INFO: IO Element Parsed {"io_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-22 06:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787361040000,"timestamp_ms":1787361040000,"timestamp_seconds":1787361040,"priority":1,"record_length":96,"hex_timestamp":"000001a027051680"} 
[2026-08-22 06: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-22 06:42:31] 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-22 06: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 06:42:31] 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-22 06: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-22 06: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-22 06:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:42:31] 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-22 06:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564420864001,"66":12287,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564420864001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:42:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:42:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564420864001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":162102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:42:31] local.INFO: GPS data processed {"connection_id":162102,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:42:31] local.INFO: Acknowledgment sent {"connection_id":162102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:42:50] local.INFO: TCP Data received {"connection_id":159525,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:42:50] local.INFO: Processing buffer {"connection_id":159525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:42:50] local.INFO: IMEI packet received {"connection_id":159525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":159525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:42:53] local.INFO: TCP Data received {"connection_id":159526,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:42:53] local.INFO: Processing buffer {"connection_id":159526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:42:53] local.INFO: IMEI packet received {"connection_id":159526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":159526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:42:53] local.INFO: TCP Data received {"connection_id":159526,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:42:53] local.INFO: Processing buffer {"connection_id":159526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:42:53] local.INFO: IMEI packet received {"connection_id":159526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":159526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:42:55] local.INFO: TCP Data received {"connection_id":159525,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:42:55] local.INFO: Processing buffer {"connection_id":159525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:42:55] local.INFO: IMEI packet received {"connection_id":159525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":159525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:42:56] local.INFO: TCP Data received {"connection_id":159525,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:42:56] local.INFO: Processing buffer {"connection_id":159525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:42:56] local.INFO: Packet analysis {"connection_id":159525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:42:56] local.INFO: Extracted packet for processing {"connection_id":159525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564321280001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787360931000,"timestamp_ms":1787360931000,"timestamp_seconds":1787360931,"priority":1,"record_length":96,"hex_timestamp":"000001a027036cb8"} 
[2026-08-22 06: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-22 06:42:56] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:42:56] 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-22 06: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-22 06: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-22 06:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564321280001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564321280001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:42:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564321280001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":159525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:42:56] local.INFO: GPS data processed {"connection_id":159525,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:42:56] local.INFO: Acknowledgment sent {"connection_id":159525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:42:59] local.INFO: TCP Data received {"connection_id":159526,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:42:59] local.INFO: Processing buffer {"connection_id":159526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:42:59] local.INFO: IMEI packet received {"connection_id":159526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":159526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:43:00] local.INFO: TCP Data received {"connection_id":159526,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027056888012d181f800721af30003d00ce29..."} 
[2026-08-22 06:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027056888012d181f800721af30003d00ce29..."} 
[2026-08-22 06:43:00] local.INFO: Processing buffer {"connection_id":159526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027056888012d181f800721af30003d00ce29..."} 
[2026-08-22 06:43:00] local.INFO: Packet analysis {"connection_id":159526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02705"} 
[2026-08-22 06:43:00] local.INFO: Extracted packet for processing {"connection_id":159526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02705"} 
[2026-08-22 06:43:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":61,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564426240001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14340105527361536,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:00] local.INFO: IO Element Parsed {"io_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-22 06:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787361061000,"timestamp_ms":1787361061000,"timestamp_seconds":1787361061,"priority":1,"record_length":96,"hex_timestamp":"000001a027056888"} 
[2026-08-22 06: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-22 06:43:00] 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-22 06: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 06:43:00] 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-22 06: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-22 06: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-22 06:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:43:00] 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-22 06:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564426240001,"66":13678,"105":206,"83":41984,"24":0,"16":14340105527361536,"45":1738248749306556416},"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-22 06:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564426240001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:43:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:43:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14340105527361536,"km_value":14340105527361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-22 06:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564426240001,"power":13678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-22 06:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":159526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:43:00] local.INFO: GPS data processed {"connection_id":159526,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:43:00] local.INFO: Acknowledgment sent {"connection_id":159526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:43:05] local.INFO: TCP Data received {"connection_id":160700,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:43:05] local.INFO: Processing buffer {"connection_id":160700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:43:05] local.INFO: IMEI packet received {"connection_id":160700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":160700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:43:06] local.INFO: TCP Data received {"connection_id":160700,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027067610012d8b634005c7e8080000004b1a..."} 
[2026-08-22 06:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027067610012d8b634005c7e8080000004b1a..."} 
[2026-08-22 06:43:06] local.INFO: Processing buffer {"connection_id":160700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027067610012d8b634005c7e8080000004b1a..."} 
[2026-08-22 06:43:06] local.INFO: Packet analysis {"connection_id":160700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02706"} 
[2026-08-22 06:43:06] local.INFO: Extracted packet for processing {"connection_id":160700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02706"} 
[2026-08-22 06:43:06] local.INFO: GPS Element Parsed {"raw_longitude":764109632,"raw_latitude":96987144,"longitude_deg":76.4109632,"latitude_deg":9.6987144,"altitude":0,"angle":75,"satellites":26,"speed":6,"hex_longitude":"2d8b6340","hex_latitude":"05c7e808","is_valid_coordinates":true} 
[2026-08-22 06:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564448768001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122069735125811200,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8403083561147031552,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] 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-22 06:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787361130000,"timestamp_ms":1787361130000,"timestamp_seconds":1787361130,"priority":1,"record_length":96,"hex_timestamp":"000001a027067610"} 
[2026-08-22 06:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:43:06] 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-22 06:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751624621,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2164260864,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2336882693,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":64,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5643732712234680320,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13479603,"corrected_to":0} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":39,"raw_value":4026609035,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":199,"raw_value":4039639041,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633573893254835,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930966734,"corrected_to":0} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3221604337,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2910060544,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3354564608,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":139,"raw_value":5116095533032669185,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.WARNING: Large IO value detected {"io_id":52,"raw_value":6773639989776404051,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,179,83,24,241,157,16,173,160,86,45,128,237,26,10,66,75,239,51,64,1,240,247,227,39,199,4,113,205,14,72,80,2,177,5,7,139,52],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":247,"original":13479603,"validated":0},{"io_id":205,"original":2930966734,"validated":0}]} 
[2026-08-22 06:43:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":124356483809280,"timestamp_seconds":124356483809.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:43: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-22 06:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564448768001,"66":13461,"179":206,"83":16384,"24":6,"16":122069735125811200,"45":-8403083561147031552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-22 06:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564448768001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:43:06] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-22 06:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122069735125811200,"km_value":122069735125811.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8403083561147031552,"description":"Unknown IO ID 45"} 
[2026-08-22 06:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564448768001,"power":13461,"unknown_179":206,"unknown_83":16384,"ignition":6,"odometer":null,"unknown_45":-8403083561147031552}} 
[2026-08-22 06:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":160700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:43:06] local.INFO: GPS data processed {"connection_id":160700,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:43:06] local.INFO: Acknowledgment sent {"connection_id":160700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:43:27] local.INFO: TCP Data received {"connection_id":159525,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:43:27] local.INFO: Processing buffer {"connection_id":159525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:43:27] local.INFO: Packet analysis {"connection_id":159525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:43:27] local.INFO: Extracted packet for processing {"connection_id":159525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564321280001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43: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-22 06:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787360931000,"timestamp_ms":1787360931000,"timestamp_seconds":1787360931,"priority":1,"record_length":96,"hex_timestamp":"000001a027036cb8"} 
[2026-08-22 06: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-22 06:43:27] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:43:27] 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-22 06: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-22 06: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-22 06:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564321280001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564321280001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:43:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564321280001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":159525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:43:27] local.INFO: GPS data processed {"connection_id":159525,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:43:27] local.INFO: Acknowledgment sent {"connection_id":159525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:43:31] local.INFO: TCP Data received {"connection_id":159526,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027071250012d17c0c007215e300040013224..."} 
[2026-08-22 06:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027071250012d17c0c007215e300040013224..."} 
[2026-08-22 06:43:31] local.INFO: Processing buffer {"connection_id":159526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027071250012d17c0c007215e300040013224..."} 
[2026-08-22 06:43:31] local.INFO: Packet analysis {"connection_id":159526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02707"} 
[2026-08-22 06:43:31] local.INFO: Extracted packet for processing {"connection_id":159526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02707"} 
[2026-08-22 06:43:31] local.INFO: GPS Element Parsed {"raw_longitude":756531392,"raw_latitude":119627312,"longitude_deg":75.6531392,"latitude_deg":11.9627312,"altitude":64,"angle":306,"satellites":36,"speed":10,"hex_longitude":"2d17c0c0","hex_latitude":"07215e30","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564454656001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14341849284083712,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1717982550977511424,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:31] 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-22 06:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787361170000,"timestamp_ms":1787361170000,"timestamp_seconds":1787361170,"priority":1,"record_length":96,"hex_timestamp":"000001a027071250"} 
[2026-08-22 06: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-22 06:43:31] 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-22 06: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 06:43:31] 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-22 06: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-22 06: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-22 06:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:43:31] 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-22 06:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564454656001,"66":14157,"107":206,"83":41984,"24":10,"16":14341849284083712,"45":1717982550977511424},"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-22 06:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564454656001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:43:31] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 06:43:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14341849284083712,"km_value":14341849284083.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1717982550977511424,"description":"Unknown IO ID 45"} 
[2026-08-22 06:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564454656001,"power":14157,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1717982550977511424}} 
[2026-08-22 06:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":159526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:43:31] local.INFO: GPS data processed {"connection_id":159526,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:43:31] local.INFO: Acknowledgment sent {"connection_id":159526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:43:38] local.INFO: TCP Data received {"connection_id":160700,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027074900012d8bc28005c7e5000003005f1a..."} 
[2026-08-22 06:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027074900012d8bc28005c7e5000003005f1a..."} 
[2026-08-22 06:43:38] local.INFO: Processing buffer {"connection_id":160700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027074900012d8bc28005c7e5000003005f1a..."} 
[2026-08-22 06:43:38] local.INFO: Packet analysis {"connection_id":160700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02707"} 
[2026-08-22 06:43:38] local.INFO: Extracted packet for processing {"connection_id":160700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02707"} 
[2026-08-22 06:43:38] local.INFO: GPS Element Parsed {"raw_longitude":764134016,"raw_latitude":96986368,"longitude_deg":76.4134016,"latitude_deg":9.6986368,"altitude":3,"angle":95,"satellites":26,"speed":17,"hex_longitude":"2d8bc280","hex_latitude":"05c7e500","is_valid_coordinates":true} 
[2026-08-22 06:43: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-22 06:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564461312001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122070933421686784,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8377891550731573248,"note":"Value kept but may cause issues"} 
[2026-08-22 06:43:38] 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-22 06:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787361184000,"timestamp_ms":1787361184000,"timestamp_seconds":1787361184,"priority":1,"record_length":96,"hex_timestamp":"000001a027074900"} 
[2026-08-22 06:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:43:38] 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-22 06:43: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":122,"data_length":795,"current_offset":136} 
[2026-08-22 06:43:38] 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-22 06:43: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-22 06:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:43: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-22 06:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564461312001,"66":13102,"179":206,"83":16384,"24":17,"16":122070933421686784,"45":-8377891550731573248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-22 06:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564461312001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:43:38] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-22 06:43:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122070933421686784,"km_value":122070933421686.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8377891550731573248,"description":"Unknown IO ID 45"} 
[2026-08-22 06:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564461312001,"power":13102,"unknown_179":206,"unknown_83":16384,"ignition":17,"odometer":null,"unknown_45":-8377891550731573248}} 
[2026-08-22 06:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":160700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:43:38] local.INFO: GPS data processed {"connection_id":160700,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:43:38] local.INFO: Acknowledgment sent {"connection_id":160700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:43:52] local.INFO: TCP Data received {"connection_id":159781,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:43:52] local.INFO: Processing buffer {"connection_id":159781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:43:52] local.INFO: IMEI packet received {"connection_id":159781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":159781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:43:54] local.INFO: TCP Data received {"connection_id":159781,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:43:54] local.INFO: Processing buffer {"connection_id":159781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:43:54] local.INFO: IMEI packet received {"connection_id":159781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":159781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:43:54] local.INFO: TCP Data received {"connection_id":159781,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:43:54] local.INFO: Processing buffer {"connection_id":159781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:43:54] local.INFO: IMEI packet received {"connection_id":159781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":159781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:43:55] local.INFO: TCP Data received {"connection_id":162103,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:43:55] local.INFO: Processing buffer {"connection_id":162103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:43:55] local.INFO: IMEI packet received {"connection_id":162103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":162103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:43:55] local.INFO: TCP Data received {"connection_id":159781,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:43:55] local.INFO: Processing buffer {"connection_id":159781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:43:55] local.INFO: IMEI packet received {"connection_id":159781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":159781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:43:56] local.INFO: TCP Data received {"connection_id":159527,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:43:56] local.INFO: Processing buffer {"connection_id":159527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:43:56] local.INFO: IMEI packet received {"connection_id":159527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":159527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:43:57] local.INFO: TCP Data received {"connection_id":159527,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:43:57] local.INFO: Processing buffer {"connection_id":159527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:43:57] local.INFO: IMEI packet received {"connection_id":159527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":159527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:43:59] local.INFO: TCP Data received {"connection_id":159527,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:43:59] local.INFO: Processing buffer {"connection_id":159527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:43:59] local.INFO: IMEI packet received {"connection_id":159527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":159527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:44:00] local.INFO: TCP Data received {"connection_id":162103,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:44:00] local.INFO: Processing buffer {"connection_id":162103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:44:00] local.INFO: IMEI packet received {"connection_id":162103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":162103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:44:01] local.INFO: TCP Data received {"connection_id":162103,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:44:01] local.INFO: Processing buffer {"connection_id":162103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:44:01] local.INFO: Packet analysis {"connection_id":162103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:44:01] local.INFO: Extracted packet for processing {"connection_id":162103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564321280001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:44: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-22 06:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787360931000,"timestamp_ms":1787360931000,"timestamp_seconds":1787360931,"priority":1,"record_length":96,"hex_timestamp":"000001a027036cb8"} 
[2026-08-22 06: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-22 06:44:01] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:44:01] 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-22 06: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-22 06: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-22 06:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564321280001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564321280001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:44:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564321280001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":162103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:44:01] local.INFO: GPS data processed {"connection_id":162103,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:44:01] local.INFO: Acknowledgment sent {"connection_id":162103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:44:01] local.INFO: TCP Data received {"connection_id":159527,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:44:01] local.INFO: Processing buffer {"connection_id":159527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:44:01] local.INFO: IMEI packet received {"connection_id":159527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":159527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:44:02] local.INFO: TCP Data received {"connection_id":159527,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027079720012d8bd64005c7e4080004005d1a..."} 
[2026-08-22 06:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027079720012d8bd64005c7e4080004005d1a..."} 
[2026-08-22 06:44:02] local.INFO: Processing buffer {"connection_id":159527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027079720012d8bd64005c7e4080004005d1a..."} 
[2026-08-22 06:44:02] local.INFO: Packet analysis {"connection_id":159527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02707"} 
[2026-08-22 06:44:02] local.INFO: Extracted packet for processing {"connection_id":159527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02707"} 
[2026-08-22 06:44:02] local.INFO: GPS Element Parsed {"raw_longitude":764139072,"raw_latitude":96986120,"longitude_deg":76.4139072,"latitude_deg":9.698612,"altitude":4,"angle":93,"satellites":26,"speed":5,"hex_longitude":"2d8bd640","hex_latitude":"05c7e408","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564463104001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122071178234822656,"note":"Value kept but may cause issues"} 
[2026-08-22 06:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8375991594638835712,"note":"Value kept but may cause issues"} 
[2026-08-22 06:44:02] 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-22 06:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787361204000,"timestamp_ms":1787361204000,"timestamp_seconds":1787361204,"priority":1,"record_length":96,"hex_timestamp":"000001a027079720"} 
[2026-08-22 06: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-22 06:44: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-22 06: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 06:44:02] 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-22 06: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-22 06: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-22 06:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:44:02] 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-22 06:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564463104001,"66":13428,"179":206,"83":16384,"24":5,"16":122071178234822656,"45":-8375991594638835712},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-22 06:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564463104001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:44:02] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-22 06:44:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122071178234822656,"km_value":122071178234822.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8375991594638835712,"description":"Unknown IO ID 45"} 
[2026-08-22 06:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564463104001,"power":13428,"unknown_179":206,"unknown_83":16384,"ignition":5,"odometer":null,"unknown_45":-8375991594638835712}} 
[2026-08-22 06:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":159527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:44:02] local.INFO: GPS data processed {"connection_id":159527,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:44:02] local.INFO: Acknowledgment sent {"connection_id":159527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:44:05] local.INFO: TCP Data received {"connection_id":162103,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:44:05] local.INFO: Processing buffer {"connection_id":162103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027036cb8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:44:05] local.INFO: Packet analysis {"connection_id":162103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:44:05] local.INFO: Extracted packet for processing {"connection_id":162103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02703"} 
[2026-08-22 06:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564321280001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:44:05] 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-22 06:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787360931000,"timestamp_ms":1787360931000,"timestamp_seconds":1787360931,"priority":1,"record_length":96,"hex_timestamp":"000001a027036cb8"} 
[2026-08-22 06: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-22 06:44:05] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:44:05] 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-22 06: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-22 06: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-22 06:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564321280001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564321280001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:44:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564321280001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":162103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:44:05] local.INFO: GPS data processed {"connection_id":162103,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:44:05] local.INFO: Acknowledgment sent {"connection_id":162103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:44:33] local.INFO: TCP Data received {"connection_id":159527,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02707b278012d8bdc0005c7e480000500511a..."} 
[2026-08-22 06:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02707b278012d8bdc0005c7e480000500511a..."} 
[2026-08-22 06:44:33] local.INFO: Processing buffer {"connection_id":159527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02707b278012d8bdc0005c7e480000500511a..."} 
[2026-08-22 06:44:33] local.INFO: Packet analysis {"connection_id":159527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02707"} 
[2026-08-22 06:44:33] local.INFO: Extracted packet for processing {"connection_id":159527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02707"} 
[2026-08-22 06:44:33] local.INFO: GPS Element Parsed {"raw_longitude":764140544,"raw_latitude":96986240,"longitude_deg":76.4140544,"latitude_deg":9.698624,"altitude":5,"angle":81,"satellites":26,"speed":6,"hex_longitude":"2d8bdc00","hex_latitude":"05c7e480","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564468224001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122071246954299392,"note":"Value kept but may cause issues"} 
[2026-08-22 06:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8370432463848863744,"note":"Value kept but may cause issues"} 
[2026-08-22 06:44:33] 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-22 06:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787361211000,"timestamp_ms":1787361211000,"timestamp_seconds":1787361211,"priority":1,"record_length":96,"hex_timestamp":"000001a02707b278"} 
[2026-08-22 06: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-22 06:44: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-22 06: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-22 06:44:33] 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-22 06: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-22 06: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-22 06:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:44:33] 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-22 06:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564468224001,"66":13276,"179":206,"83":16384,"24":6,"16":122071246954299392,"45":-8370432463848863744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-22 06:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564468224001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:44:33] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-22 06:44:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122071246954299392,"km_value":122071246954299.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8370432463848863744,"description":"Unknown IO ID 45"} 
[2026-08-22 06:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564468224001,"power":13276,"unknown_179":206,"unknown_83":16384,"ignition":6,"odometer":null,"unknown_45":-8370432463848863744}} 
[2026-08-22 06:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":159527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:44:33] local.INFO: GPS data processed {"connection_id":159527,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:44:33] local.INFO: Acknowledgment sent {"connection_id":159527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:44:50] local.INFO: TCP Data received {"connection_id":162104,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:44:50] local.INFO: Processing buffer {"connection_id":162104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:44:50] local.INFO: IMEI packet received {"connection_id":162104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":162104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:44:55] local.INFO: TCP Data received {"connection_id":162104,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:44:55] local.INFO: Processing buffer {"connection_id":162104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:44:55] local.INFO: IMEI packet received {"connection_id":162104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":162104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:44:56] local.INFO: TCP Data received {"connection_id":162104,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:44:56] local.INFO: Processing buffer {"connection_id":162104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:44:56] local.INFO: Packet analysis {"connection_id":162104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:44:56] local.INFO: Extracted packet for processing {"connection_id":162104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564398336001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787361232000,"timestamp_ms":1787361232000,"timestamp_seconds":1787361232,"priority":1,"record_length":96,"hex_timestamp":"000001a027080480"} 
[2026-08-22 06: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-22 06:44:56] 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-22 06:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:44:56] 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-22 06: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-22 06: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-22 06:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564398336001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564398336001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:44:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564398336001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":162104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:44:56] local.INFO: GPS data processed {"connection_id":162104,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:44:56] local.INFO: Acknowledgment sent {"connection_id":162104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:44:56] local.INFO: TCP Data received {"connection_id":160702,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:44:56] local.INFO: Processing buffer {"connection_id":160702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:44:56] local.INFO: IMEI packet received {"connection_id":160702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":160702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:45:01] local.INFO: TCP Data received {"connection_id":160702,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:45:01] local.INFO: Processing buffer {"connection_id":160702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:45:01] local.INFO: IMEI packet received {"connection_id":160702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":160702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:45:02] local.INFO: TCP Data received {"connection_id":160702,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02707c9e8012d8bdf8005c7e5080006005e1a..."} 
[2026-08-22 06:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02707c9e8012d8bdf8005c7e5080006005e1a..."} 
[2026-08-22 06:45:02] local.INFO: Processing buffer {"connection_id":160702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02707c9e8012d8bdf8005c7e5080006005e1a..."} 
[2026-08-22 06:45:02] local.INFO: Packet analysis {"connection_id":160702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02707"} 
[2026-08-22 06:45:02] local.INFO: Extracted packet for processing {"connection_id":160702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02707"} 
[2026-08-22 06:45:02] local.INFO: GPS Element Parsed {"raw_longitude":764141440,"raw_latitude":96986376,"longitude_deg":76.414144,"latitude_deg":9.6986376,"altitude":6,"angle":94,"satellites":26,"speed":6,"hex_longitude":"2d8bdf80","hex_latitude":"05c7e508","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564470016001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122071289903972352,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8368813982732746752,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:02] 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-22 06:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787361217000,"timestamp_ms":1787361217000,"timestamp_seconds":1787361217,"priority":1,"record_length":96,"hex_timestamp":"000001a02707c9e8"} 
[2026-08-22 06: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-22 06:45: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-22 06: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 06:45:02] 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-22 06: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-22 06: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-22 06:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:45:02] 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-22 06:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564470016001,"66":13178,"179":206,"83":16384,"24":6,"16":122071289903972352,"45":-8368813982732746752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-22 06:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564470016001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:45:02] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-22 06:45:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122071289903972352,"km_value":122071289903972.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8368813982732746752,"description":"Unknown IO ID 45"} 
[2026-08-22 06:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564470016001,"power":13178,"unknown_179":206,"unknown_83":16384,"ignition":6,"odometer":null,"unknown_45":-8368813982732746752}} 
[2026-08-22 06:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":160702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:45:02] local.INFO: GPS data processed {"connection_id":160702,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:45:02] local.INFO: Acknowledgment sent {"connection_id":160702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:45:27] local.INFO: TCP Data received {"connection_id":162104,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:45:27] local.INFO: Processing buffer {"connection_id":162104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:45:27] local.INFO: Packet analysis {"connection_id":162104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:45:27] local.INFO: Extracted packet for processing {"connection_id":162104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:45:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564398336001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45: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-22 06:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787361232000,"timestamp_ms":1787361232000,"timestamp_seconds":1787361232,"priority":1,"record_length":96,"hex_timestamp":"000001a027080480"} 
[2026-08-22 06: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-22 06:45:27] 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-22 06:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:45:27] 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-22 06: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-22 06: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-22 06:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564398336001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564398336001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:45:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:45:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564398336001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":162104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:45:27] local.INFO: GPS data processed {"connection_id":162104,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:45:27] local.INFO: Acknowledgment sent {"connection_id":162104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:45:33] local.INFO: TCP Data received {"connection_id":160702,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027097b80012d8c7ac005c7e458000e003119..."} 
[2026-08-22 06:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027097b80012d8c7ac005c7e458000e003119..."} 
[2026-08-22 06:45:33] local.INFO: Processing buffer {"connection_id":160702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027097b80012d8c7ac005c7e458000e003119..."} 
[2026-08-22 06:45:33] local.INFO: Packet analysis {"connection_id":160702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02709"} 
[2026-08-22 06:45:33] local.INFO: Extracted packet for processing {"connection_id":160702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02709"} 
[2026-08-22 06:45:33] local.INFO: GPS Element Parsed {"raw_longitude":764181184,"raw_latitude":96986200,"longitude_deg":76.4181184,"latitude_deg":9.69862,"altitude":14,"angle":49,"satellites":25,"speed":11,"hex_longitude":"2d8c7ac0","hex_latitude":"05c7e458","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564499712001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122073304243634176,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8324270567668346880,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] 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-22 06:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787361328000,"timestamp_ms":1787361328000,"timestamp_seconds":1787361328,"priority":1,"record_length":96,"hex_timestamp":"000001a027097b80"} 
[2026-08-22 06: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-22 06:45:33] 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-22 06: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-22 06:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2968059904,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2356740101,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] local.WARNING: Large IO value detected {"io_id":10,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] local.WARNING: Large IO value detected {"io_id":176,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3282115601409497712,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] local.WARNING: Large IO value detected {"io_id":199,"raw_value":-2744943925632100096,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930966734,"corrected_to":0} 
[2026-08-22 06:45:33] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2684431756,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57894454061585216,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3352969216,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] local.WARNING: Large IO value detected {"io_id":9,"raw_value":4958464484876648453,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] local.WARNING: Large IO value detected {"io_id":174,"raw_value":-5548207883969095680,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:33] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,179,83,24,241,157,16,177,160,115,45,226,14,25,10,66,92,192,223,13,176,84,64,1,240,161,227,39,199,4,113,205,12,76,120,232,239,51,2,5,11,9,174,77],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2930966734,"validated":0}]} 
[2026-08-22 06:45:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008836110719713280,"timestamp_seconds":1008836110719713.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:45:33] 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-22 06:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564499712001,"66":13276,"179":206,"83":16384,"24":11,"16":122073304243634176,"45":-8324270567668346880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-22 06:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564499712001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:45:33] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-22 06:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122073304243634176,"km_value":122073304243634.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8324270567668346880,"description":"Unknown IO ID 45"} 
[2026-08-22 06:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564499712001,"power":13276,"unknown_179":206,"unknown_83":16384,"ignition":11,"odometer":null,"unknown_45":-8324270567668346880}} 
[2026-08-22 06:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":160702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:45:33] local.INFO: GPS data processed {"connection_id":160702,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:45:33] local.INFO: Acknowledgment sent {"connection_id":160702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:45:50] local.INFO: TCP Data received {"connection_id":162105,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:45:50] local.INFO: Processing buffer {"connection_id":162105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:45:50] local.INFO: IMEI packet received {"connection_id":162105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":162105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:45:55] local.INFO: TCP Data received {"connection_id":162105,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:45:55] local.INFO: Processing buffer {"connection_id":162105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:45:55] local.INFO: IMEI packet received {"connection_id":162105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":162105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:45:56] local.INFO: TCP Data received {"connection_id":162105,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:45:56] local.INFO: Processing buffer {"connection_id":162105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:45:56] local.INFO: Packet analysis {"connection_id":162105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:45:56] local.INFO: Extracted packet for processing {"connection_id":162105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564398336001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:45: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-22 06:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787361232000,"timestamp_ms":1787361232000,"timestamp_seconds":1787361232,"priority":1,"record_length":96,"hex_timestamp":"000001a027080480"} 
[2026-08-22 06: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-22 06:45:56] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:45:56] 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-22 06: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-22 06: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-22 06:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564398336001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564398336001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:45:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564398336001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":162105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:45:56] local.INFO: GPS data processed {"connection_id":162105,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:45:56] local.INFO: Acknowledgment sent {"connection_id":162105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:45:56] local.INFO: TCP Data received {"connection_id":159782,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:45:56] local.INFO: Processing buffer {"connection_id":159782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:45:56] local.INFO: IMEI packet received {"connection_id":159782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":159782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:46:01] local.INFO: TCP Data received {"connection_id":159782,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:46:01] local.INFO: Processing buffer {"connection_id":159782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:46:01] local.INFO: IMEI packet received {"connection_id":159782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":159782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:46:01] local.INFO: TCP Data received {"connection_id":159782,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:46:01] local.INFO: Processing buffer {"connection_id":159782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:46:01] local.INFO: IMEI packet received {"connection_id":159782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":159782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:46:02] local.INFO: TCP Data received {"connection_id":159782,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027097f68012d8c7c0005c7e4e8000e004919..."} 
[2026-08-22 06:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027097f68012d8c7c0005c7e4e8000e004919..."} 
[2026-08-22 06:46:02] local.INFO: Processing buffer {"connection_id":159782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027097f68012d8c7c0005c7e4e8000e004919..."} 
[2026-08-22 06:46:02] local.INFO: Packet analysis {"connection_id":159782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02709"} 
[2026-08-22 06:46:02] local.INFO: Extracted packet for processing {"connection_id":159782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02709"} 
[2026-08-22 06:46:02] local.INFO: GPS Element Parsed {"raw_longitude":764181504,"raw_latitude":96986344,"longitude_deg":76.4181504,"latitude_deg":9.6986344,"altitude":14,"angle":73,"satellites":25,"speed":13,"hex_longitude":"2d8c7c00","hex_latitude":"05c7e4e8","is_valid_coordinates":true} 
[2026-08-22 06:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564499968001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122073321423503360,"note":"Value kept but may cause issues"} 
[2026-08-22 06:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8324129830179940352,"note":"Value kept but may cause issues"} 
[2026-08-22 06:46:02] 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-22 06:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787361329000,"timestamp_ms":1787361329000,"timestamp_seconds":1787361329,"priority":1,"record_length":96,"hex_timestamp":"000001a027097f68"} 
[2026-08-22 06:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 06:46:02] 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-22 06:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:46:02] 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-22 06:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564499968001,"66":13276,"179":206,"83":16384,"24":13,"16":122073321423503360,"45":-8324129830179940352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-22 06:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564499968001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:46:02] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-22 06:46:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122073321423503360,"km_value":122073321423503.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8324129830179940352,"description":"Unknown IO ID 45"} 
[2026-08-22 06:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564499968001,"power":13276,"unknown_179":206,"unknown_83":16384,"ignition":13,"odometer":null,"unknown_45":-8324129830179940352}} 
[2026-08-22 06:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":159782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:46:02] local.INFO: GPS data processed {"connection_id":159782,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:46:02] local.INFO: Acknowledgment sent {"connection_id":159782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:46:27] local.INFO: TCP Data received {"connection_id":162105,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:46:27] local.INFO: Processing buffer {"connection_id":162105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:46:27] local.INFO: Packet analysis {"connection_id":162105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:46:27] local.INFO: Extracted packet for processing {"connection_id":162105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564398336001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:46: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-22 06:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787361232000,"timestamp_ms":1787361232000,"timestamp_seconds":1787361232,"priority":1,"record_length":96,"hex_timestamp":"000001a027080480"} 
[2026-08-22 06: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-22 06:46:27] 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-22 06:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:46:27] 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-22 06: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-22 06: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-22 06:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564398336001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564398336001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:46:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564398336001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":162105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:46:27] local.INFO: GPS data processed {"connection_id":162105,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:46:27] local.INFO: Acknowledgment sent {"connection_id":162105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:46:50] local.INFO: TCP Data received {"connection_id":159528,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:46:50] local.INFO: Processing buffer {"connection_id":159528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:46:50] local.INFO: IMEI packet received {"connection_id":159528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":159528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:46:50] local.INFO: TCP Data received {"connection_id":159782,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027098350012d8c7dc005c7e528000e005619..."} 
[2026-08-22 06:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027098350012d8c7dc005c7e528000e005619..."} 
[2026-08-22 06:46:50] local.INFO: Processing buffer {"connection_id":159782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027098350012d8c7dc005c7e528000e005619..."} 
[2026-08-22 06:46:50] local.INFO: Packet analysis {"connection_id":159782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02709"} 
[2026-08-22 06:46:50] local.INFO: Extracted packet for processing {"connection_id":159782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02709"} 
[2026-08-22 06:46:50] local.INFO: GPS Element Parsed {"raw_longitude":764181952,"raw_latitude":96986408,"longitude_deg":76.4181952,"latitude_deg":9.6986408,"altitude":14,"angle":86,"satellites":25,"speed":17,"hex_longitude":"2d8c7dc0","hex_latitude":"05c7e528","is_valid_coordinates":true} 
[2026-08-22 06:46: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-22 06:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564500224001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122073342898339840,"note":"Value kept but may cause issues"} 
[2026-08-22 06:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8323777986459015168,"note":"Value kept but may cause issues"} 
[2026-08-22 06:46:50] 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-22 06:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787361330000,"timestamp_ms":1787361330000,"timestamp_seconds":1787361330,"priority":1,"record_length":96,"hex_timestamp":"000001a027098350"} 
[2026-08-22 06:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:46: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-22 06:46: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":220,"data_length":795,"current_offset":136} 
[2026-08-22 06:46:50] 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-22 06:46: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-22 06:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":159782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":159782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":159782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:46:50] 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-22 06:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564500224001,"66":13276,"179":206,"83":16384,"24":17,"16":122073342898339840,"45":-8323777986459015168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-22 06:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564500224001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:46:50] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-22 06:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122073342898339840,"km_value":122073342898339.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8323777986459015168,"description":"Unknown IO ID 45"} 
[2026-08-22 06:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564500224001,"power":13276,"unknown_179":206,"unknown_83":16384,"ignition":17,"odometer":null,"unknown_45":-8323777986459015168}} 
[2026-08-22 06:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":159782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:46:50] local.INFO: GPS data processed {"connection_id":159782,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:46:50] local.INFO: Acknowledgment sent {"connection_id":159782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:46:55] local.INFO: TCP Data received {"connection_id":159528,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:46:55] local.INFO: Processing buffer {"connection_id":159528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:46:55] local.INFO: IMEI packet received {"connection_id":159528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":159528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:46:56] local.INFO: TCP Data received {"connection_id":159528,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:46:56] local.INFO: Processing buffer {"connection_id":159528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:46:56] local.INFO: Packet analysis {"connection_id":159528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:46:56] local.INFO: Extracted packet for processing {"connection_id":159528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564398336001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787361232000,"timestamp_ms":1787361232000,"timestamp_seconds":1787361232,"priority":1,"record_length":96,"hex_timestamp":"000001a027080480"} 
[2026-08-22 06: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-22 06:46:56] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:46:56] 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-22 06: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-22 06: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-22 06:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564398336001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564398336001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:46:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564398336001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":159528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:46:56] local.INFO: GPS data processed {"connection_id":159528,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:46:56] local.INFO: Acknowledgment sent {"connection_id":159528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:47:02] local.INFO: TCP Data received {"connection_id":159783,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:47:02] local.INFO: Processing buffer {"connection_id":159783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:47:02] local.INFO: IMEI packet received {"connection_id":159783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":159783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:47:06] local.INFO: TCP Data received {"connection_id":159783,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:47:06] local.INFO: Processing buffer {"connection_id":159783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:47:06] local.INFO: IMEI packet received {"connection_id":159783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":159783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:47:07] local.INFO: TCP Data received {"connection_id":159783,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0270aac30012d8cb68005c73d58000900ac19..."} 
[2026-08-22 06:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270aac30012d8cb68005c73d58000900ac19..."} 
[2026-08-22 06:47:07] local.INFO: Processing buffer {"connection_id":159783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270aac30012d8cb68005c73d58000900ac19..."} 
[2026-08-22 06:47:07] local.INFO: Packet analysis {"connection_id":159783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270a"} 
[2026-08-22 06:47:07] local.INFO: Extracted packet for processing {"connection_id":159783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270a"} 
[2026-08-22 06:47:07] local.INFO: GPS Element Parsed {"raw_longitude":764196480,"raw_latitude":96943448,"longitude_deg":76.419648,"latitude_deg":9.6943448,"altitude":9,"angle":172,"satellites":25,"speed":37,"hex_longitude":"2d8cb680","hex_latitude":"05c73d58","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564517632001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122075958533423104,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8307100594097741824,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:07] 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-22 06:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787361406000,"timestamp_ms":1787361406000,"timestamp_seconds":1787361406,"priority":1,"record_length":96,"hex_timestamp":"000001a0270aac30"} 
[2026-08-22 06: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-22 06:47:07] 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-22 06: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":3,"data_length":795,"current_offset":136} 
[2026-08-22 06:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159355428270,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:07] local.WARNING: Large IO value detected {"io_id":179,"raw_value":58075379546980364,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2359951365,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:07] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2978938880,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:07] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3744464900,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930966734,"corrected_to":0} 
[2026-08-22 06:47:07] local.WARNING: Large IO value detected {"io_id":248,"raw_value":2147560844,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:07] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3221604322,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,178,83,24,241,157,16,179,160,101,45,192,130,6,25,10,66,64,168,3,27,128,1,240,227,177,39,199,4,113,205,18,248,169,32,239,50,2,5,12],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2930966734,"validated":0}]} 
[2026-08-22 06:47:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648719664345907200,"timestamp_seconds":648719664345907.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:47: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-22 06:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564517632001,"66":13319,"178":206,"83":16384,"24":37,"16":122075958533423104,"45":-8307100594097741824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-08-22 06:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564517632001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:47:07] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-22 06:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122075958533423104,"km_value":122075958533423.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8307100594097741824,"description":"Unknown IO ID 45"} 
[2026-08-22 06:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564517632001,"power":13319,"unknown_178":206,"unknown_83":16384,"ignition":37,"odometer":null,"unknown_45":-8307100594097741824}} 
[2026-08-22 06:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":159783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:47:07] local.INFO: GPS data processed {"connection_id":159783,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:47:07] local.INFO: Acknowledgment sent {"connection_id":159783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:47:27] local.INFO: TCP Data received {"connection_id":159528,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:47:27] local.INFO: Processing buffer {"connection_id":159528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:47:27] local.INFO: Packet analysis {"connection_id":159528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:47:27] local.INFO: Extracted packet for processing {"connection_id":159528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564398336001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47: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-22 06:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787361232000,"timestamp_ms":1787361232000,"timestamp_seconds":1787361232,"priority":1,"record_length":96,"hex_timestamp":"000001a027080480"} 
[2026-08-22 06: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-22 06:47:27] 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-22 06:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:47:27] 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-22 06: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-22 06: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-22 06:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564398336001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564398336001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:47:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:47:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564398336001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":159528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:47:27] local.INFO: GPS data processed {"connection_id":159528,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:47:27] local.INFO: Acknowledgment sent {"connection_id":159528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:47:38] local.INFO: TCP Data received {"connection_id":159783,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0270ad340012d8cb9c005c71818000b00b219..."} 
[2026-08-22 06:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270ad340012d8cb9c005c71818000b00b219..."} 
[2026-08-22 06:47:38] local.INFO: Processing buffer {"connection_id":159783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270ad340012d8cb9c005c71818000b00b219..."} 
[2026-08-22 06:47:38] local.INFO: Packet analysis {"connection_id":159783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270a"} 
[2026-08-22 06:47:38] local.INFO: Extracted packet for processing {"connection_id":159783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270a"} 
[2026-08-22 06:47:38] local.INFO: GPS Element Parsed {"raw_longitude":764197312,"raw_latitude":96933912,"longitude_deg":76.4197312,"latitude_deg":9.6933912,"altitude":11,"angle":178,"satellites":25,"speed":41,"hex_longitude":"2d8cb9c0","hex_latitude":"05c71818","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564519936001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122076422389891072,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8307311700332423168,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:38] 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-22 06:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787361416000,"timestamp_ms":1787361416000,"timestamp_seconds":1787361416,"priority":1,"record_length":96,"hex_timestamp":"000001a0270ad340"} 
[2026-08-22 06: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-22 06:47: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-22 06: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-22 06:47:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2359984133,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:38] local.WARNING: Large IO value detected {"io_id":9,"raw_value":-821905636850073595,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:38] local.WARNING: Large IO value detected {"io_id":199,"raw_value":-2082914806174115584,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930966734,"corrected_to":0} 
[2026-08-22 06:47:38] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2979528704,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:38] local.WARNING: Large IO value detected {"io_id":41,"raw_value":57894454061585216,"note":"Value kept but may cause issues"} 
[2026-08-22 06:47:38] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,178,83,24,241,157,16,179,160,137,45,64,94,9,25,10,66,101,192,130,6,1,240,105,227,39,199,4,113,205,33,170,48,239,52,2,177,5,13,41],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2930966734,"validated":0}]} 
[2026-08-22 06:47:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648707569717936128,"timestamp_seconds":648707569717936.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:47: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-22 06:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564519936001,"66":13341,"178":206,"83":16384,"24":41,"16":122076422389891072,"45":-8307311700332423168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-08-22 06:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564519936001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:47:38] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-22 06:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122076422389891072,"km_value":122076422389891.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8307311700332423168,"description":"Unknown IO ID 45"} 
[2026-08-22 06:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564519936001,"power":13341,"unknown_178":206,"unknown_83":16384,"ignition":41,"odometer":null,"unknown_45":-8307311700332423168}} 
[2026-08-22 06:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":159783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:47:38] local.INFO: GPS data processed {"connection_id":159783,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:47:38] local.INFO: Acknowledgment sent {"connection_id":159783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:47:55] local.INFO: TCP Data received {"connection_id":159784,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:47:55] local.INFO: Processing buffer {"connection_id":159784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:47:55] local.INFO: IMEI packet received {"connection_id":159784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":159784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:47:56] local.INFO: TCP Data received {"connection_id":160704,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:47:56] local.INFO: Processing buffer {"connection_id":160704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:47:56] local.INFO: IMEI packet received {"connection_id":160704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":160704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:48:00] local.INFO: TCP Data received {"connection_id":159784,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:48:00] local.INFO: Processing buffer {"connection_id":159784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:48:00] local.INFO: IMEI packet received {"connection_id":159784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":159784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:48:01] local.INFO: TCP Data received {"connection_id":159784,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:48:01] local.INFO: Processing buffer {"connection_id":159784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:48:01] local.INFO: Packet analysis {"connection_id":159784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:48:01] local.INFO: Extracted packet for processing {"connection_id":159784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564398336001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:48: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-22 06:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787361232000,"timestamp_ms":1787361232000,"timestamp_seconds":1787361232,"priority":1,"record_length":96,"hex_timestamp":"000001a027080480"} 
[2026-08-22 06: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-22 06:48:01] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:48:01] 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-22 06: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-22 06: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-22 06:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564398336001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564398336001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:48:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564398336001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":159784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:48:01] local.INFO: GPS data processed {"connection_id":159784,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:48:01] local.INFO: Acknowledgment sent {"connection_id":159784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:48:02] local.INFO: TCP Data received {"connection_id":160704,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:48:02] local.INFO: Processing buffer {"connection_id":160704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:48:02] local.INFO: IMEI packet received {"connection_id":160704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":160704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:48:03] local.INFO: TCP Data received {"connection_id":160704,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0270af668012d8cbcc005c6f420000900aa19..."} 
[2026-08-22 06:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270af668012d8cbcc005c6f420000900aa19..."} 
[2026-08-22 06:48:03] local.INFO: Processing buffer {"connection_id":160704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270af668012d8cbcc005c6f420000900aa19..."} 
[2026-08-22 06:48:03] local.INFO: Packet analysis {"connection_id":160704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270a"} 
[2026-08-22 06:48:03] local.INFO: Extracted packet for processing {"connection_id":160704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270a"} 
[2026-08-22 06:48:03] local.INFO: GPS Element Parsed {"raw_longitude":764198080,"raw_latitude":96924704,"longitude_deg":76.419808,"latitude_deg":9.6924704,"altitude":9,"angle":170,"satellites":25,"speed":42,"hex_longitude":"2d8cbcc0","hex_latitude":"05c6f420","is_valid_coordinates":true} 
[2026-08-22 06:48: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-22 06:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564522496001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122076873361457152,"note":"Value kept but may cause issues"} 
[2026-08-22 06:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8306396906660554752,"note":"Value kept but may cause issues"} 
[2026-08-22 06:48: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-22 06:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787361425000,"timestamp_ms":1787361425000,"timestamp_seconds":1787361425,"priority":1,"record_length":96,"hex_timestamp":"000001a0270af668"} 
[2026-08-22 06:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06:48: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":29,"data_length":795,"current_offset":136} 
[2026-08-22 06:48:03] 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-22 06:48: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-22 06:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:48:03] 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-22 06:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564522496001,"66":13298,"178":206,"83":16384,"24":42,"16":122076873361457152,"45":-8306396906660554752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-08-22 06:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564522496001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:48:03] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-22 06:48:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122076873361457152,"km_value":122076873361457.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8306396906660554752,"description":"Unknown IO ID 45"} 
[2026-08-22 06:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564522496001,"power":13298,"unknown_178":206,"unknown_83":16384,"ignition":42,"odometer":null,"unknown_45":-8306396906660554752}} 
[2026-08-22 06:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":160704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:48:03] local.INFO: GPS data processed {"connection_id":160704,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:48:03] local.INFO: Acknowledgment sent {"connection_id":160704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:48:05] local.INFO: TCP Data received {"connection_id":159784,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:48:05] local.INFO: Processing buffer {"connection_id":159784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:48:05] local.INFO: Packet analysis {"connection_id":159784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:48:05] local.INFO: Extracted packet for processing {"connection_id":159784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564398336001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:48:05] 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-22 06:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787361232000,"timestamp_ms":1787361232000,"timestamp_seconds":1787361232,"priority":1,"record_length":96,"hex_timestamp":"000001a027080480"} 
[2026-08-22 06: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-22 06:48:05] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:48:05] 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-22 06: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-22 06: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-22 06:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564398336001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564398336001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:48:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564398336001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":159784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:48:05] local.INFO: GPS data processed {"connection_id":159784,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:48:05] local.INFO: Acknowledgment sent {"connection_id":159784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:48:34] local.INFO: TCP Data received {"connection_id":160704,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0270b1d78012d8cc28005c6cf38000700b119..."} 
[2026-08-22 06:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270b1d78012d8cc28005c6cf38000700b119..."} 
[2026-08-22 06:48:34] local.INFO: Processing buffer {"connection_id":160704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270b1d78012d8cc28005c6cf38000700b119..."} 
[2026-08-22 06:48:34] local.INFO: Packet analysis {"connection_id":160704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270b"} 
[2026-08-22 06:48:34] local.INFO: Extracted packet for processing {"connection_id":160704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270b"} 
[2026-08-22 06:48:34] local.INFO: GPS Element Parsed {"raw_longitude":764199552,"raw_latitude":96915256,"longitude_deg":76.4199552,"latitude_deg":9.6915256,"altitude":7,"angle":177,"satellites":25,"speed":35,"hex_longitude":"2d8cc280","hex_latitude":"05c6cf38","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564524800001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122077337217925120,"note":"Value kept but may cause issues"} 
[2026-08-22 06:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8305552481732780032,"note":"Value kept but may cause issues"} 
[2026-08-22 06:48:34] 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-22 06:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787361435000,"timestamp_ms":1787361435000,"timestamp_seconds":1787361435,"priority":1,"record_length":96,"hex_timestamp":"000001a0270b1d78"} 
[2026-08-22 06: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-22 06:48: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-22 06: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-22 06:48:34] 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-22 06: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-22 06: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-22 06:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:48:34] 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-22 06:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564524800001,"66":13276,"178":206,"83":16384,"24":35,"16":122077337217925120,"45":-8305552481732780032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-08-22 06:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564524800001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:48:34] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-22 06:48:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122077337217925120,"km_value":122077337217925.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8305552481732780032,"description":"Unknown IO ID 45"} 
[2026-08-22 06:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564524800001,"power":13276,"unknown_178":206,"unknown_83":16384,"ignition":35,"odometer":null,"unknown_45":-8305552481732780032}} 
[2026-08-22 06:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":160704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:48:34] local.INFO: GPS data processed {"connection_id":160704,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:48:34] local.INFO: Acknowledgment sent {"connection_id":160704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:48:50] local.INFO: TCP Data received {"connection_id":162107,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:48:50] local.INFO: Processing buffer {"connection_id":162107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:48:50] local.INFO: IMEI packet received {"connection_id":162107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":162107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:48:54] local.INFO: TCP Data received {"connection_id":162108,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:48:54] local.INFO: Processing buffer {"connection_id":162108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:48:54] local.INFO: IMEI packet received {"connection_id":162108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":162108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:48:56] local.INFO: TCP Data received {"connection_id":162107,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:48:56] local.INFO: Processing buffer {"connection_id":162107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:48:56] local.INFO: IMEI packet received {"connection_id":162107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":162107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:48:57] local.INFO: TCP Data received {"connection_id":162108,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:48:57] local.INFO: Processing buffer {"connection_id":162108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:48:57] local.INFO: IMEI packet received {"connection_id":162108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":162108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:48:57] local.INFO: TCP Data received {"connection_id":162107,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:48:57] local.INFO: Processing buffer {"connection_id":162107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:48:57] local.INFO: Packet analysis {"connection_id":162107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:48:57] local.INFO: Extracted packet for processing {"connection_id":162107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564398336001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:48: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-22 06:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787361232000,"timestamp_ms":1787361232000,"timestamp_seconds":1787361232,"priority":1,"record_length":96,"hex_timestamp":"000001a027080480"} 
[2026-08-22 06: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-22 06:48:57] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:48:57] 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-22 06: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-22 06: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-22 06:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564398336001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564398336001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:48:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564398336001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":162107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:48:57] local.INFO: GPS data processed {"connection_id":162107,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:48:57] local.INFO: Acknowledgment sent {"connection_id":162107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:48:59] local.INFO: TCP Data received {"connection_id":162109,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:48:59] local.INFO: Processing buffer {"connection_id":162109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:48:59] local.INFO: IMEI packet received {"connection_id":162109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":162109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:49:01] local.INFO: TCP Data received {"connection_id":162108,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:49:01] local.INFO: Processing buffer {"connection_id":162108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:49:01] local.INFO: IMEI packet received {"connection_id":162108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":162108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:49:03] local.INFO: TCP Data received {"connection_id":162108,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0270b4488012d8cc34005c6ac58000600b619..."} 
[2026-08-22 06:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270b4488012d8cc34005c6ac58000600b619..."} 
[2026-08-22 06:49:03] local.INFO: Processing buffer {"connection_id":162108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270b4488012d8cc34005c6ac58000600b619..."} 
[2026-08-22 06:49:03] local.INFO: Packet analysis {"connection_id":162108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270b"} 
[2026-08-22 06:49:03] local.INFO: Extracted packet for processing {"connection_id":162108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270b"} 
[2026-08-22 06:49:03] local.INFO: GPS Element Parsed {"raw_longitude":764199744,"raw_latitude":96906328,"longitude_deg":76.4199744,"latitude_deg":9.6906328,"altitude":6,"angle":182,"satellites":25,"speed":37,"hex_longitude":"2d8cc340","hex_latitude":"05c6ac58","is_valid_coordinates":true} 
[2026-08-22 06:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564527360001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122077771009622016,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8303934000619112448,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49: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-22 06:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787361445000,"timestamp_ms":1787361445000,"timestamp_seconds":1787361445,"priority":1,"record_length":96,"hex_timestamp":"000001a0270b4488"} 
[2026-08-22 06:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 06:49:03] 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-22 06:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:49:03] 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-22 06:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564527360001,"66":13396,"178":206,"83":16384,"24":37,"16":122077771009622016,"45":-8303934000619112448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-08-22 06:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564527360001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:49:03] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-22 06:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122077771009622016,"km_value":122077771009622.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8303934000619112448,"description":"Unknown IO ID 45"} 
[2026-08-22 06:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564527360001,"power":13396,"unknown_178":206,"unknown_83":16384,"ignition":37,"odometer":null,"unknown_45":-8303934000619112448}} 
[2026-08-22 06:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":162108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:49:03] local.INFO: GPS data processed {"connection_id":162108,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:49:03] local.INFO: Acknowledgment sent {"connection_id":162108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:49:03] local.INFO: TCP Data received {"connection_id":162109,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:49:03] local.INFO: Processing buffer {"connection_id":162109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:49:03] local.INFO: IMEI packet received {"connection_id":162109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":162109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:49:04] local.INFO: TCP Data received {"connection_id":162109,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0270967f8012d17924007217a78004300ad29..."} 
[2026-08-22 06:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270967f8012d17924007217a78004300ad29..."} 
[2026-08-22 06:49:04] local.INFO: Processing buffer {"connection_id":162109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270967f8012d17924007217a78004300ad29..."} 
[2026-08-22 06:49:04] local.INFO: Packet analysis {"connection_id":162109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02709"} 
[2026-08-22 06:49:04] local.INFO: Extracted packet for processing {"connection_id":162109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02709"} 
[2026-08-22 06:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756519488,"raw_latitude":119634552,"longitude_deg":75.6519488,"latitude_deg":11.9634552,"altitude":67,"angle":173,"satellites":41,"speed":12,"hex_longitude":"2d179240","hex_latitude":"07217a78","is_valid_coordinates":true} 
[2026-08-22 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-22 06:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564498432001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14343305277997056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1698490408842805248,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:04] 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-22 06:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787361323000,"timestamp_ms":1787361323000,"timestamp_seconds":1787361323,"priority":1,"record_length":96,"hex_timestamp":"000001a0270967f8"} 
[2026-08-22 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-22 06:49:04] 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-22 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 06:49:04] 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-22 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-22 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-22 06:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:49:04] 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-22 06:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564498432001,"66":13243,"107":206,"83":41984,"24":12,"16":14343305277997056,"45":1698490408842805248},"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-22 06:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564498432001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:49:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 06:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14343305277997056,"km_value":14343305277997.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1698490408842805248,"description":"Unknown IO ID 45"} 
[2026-08-22 06:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564498432001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1698490408842805248}} 
[2026-08-22 06:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":162109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:49:04] local.INFO: GPS data processed {"connection_id":162109,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:49:04] local.INFO: Acknowledgment sent {"connection_id":162109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:49:09] local.INFO: TCP Data received {"connection_id":162109,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027096fc8012d179300072178100042009628..."} 
[2026-08-22 06:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027096fc8012d179300072178100042009628..."} 
[2026-08-22 06:49:09] local.INFO: Processing buffer {"connection_id":162109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027096fc8012d179300072178100042009628..."} 
[2026-08-22 06:49:09] local.INFO: Packet analysis {"connection_id":162109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02709"} 
[2026-08-22 06:49:09] local.INFO: Extracted packet for processing {"connection_id":162109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02709"} 
[2026-08-22 06:49:09] local.INFO: GPS Element Parsed {"raw_longitude":756519680,"raw_latitude":119633936,"longitude_deg":75.651968,"latitude_deg":11.9633936,"altitude":66,"angle":150,"satellites":40,"speed":12,"hex_longitude":"2d179300","hex_latitude":"07217810","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564498688001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14343335342768128,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1698490408842721280,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:09] 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-22 06:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787361325000,"timestamp_ms":1787361325000,"timestamp_seconds":1787361325,"priority":1,"record_length":96,"hex_timestamp":"000001a027096fc8"} 
[2026-08-22 06: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-22 06:49:09] 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-22 06: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-22 06:49:09] 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-22 06: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-22 06: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-22 06:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:49:09] 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-22 06:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564498688001,"66":13276,"107":206,"83":41984,"24":12,"16":14343335342768128,"45":1698490408842721280},"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-22 06:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564498688001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:49:09] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 06:49:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14343335342768128,"km_value":14343335342768.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1698490408842721280,"description":"Unknown IO ID 45"} 
[2026-08-22 06:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564498688001,"power":13276,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1698490408842721280}} 
[2026-08-22 06:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":162109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:49:09] local.INFO: GPS data processed {"connection_id":162109,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:49:09] local.INFO: Acknowledgment sent {"connection_id":162109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:49:28] local.INFO: TCP Data received {"connection_id":162107,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:49:28] local.INFO: Processing buffer {"connection_id":162107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027080480012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 06:49:28] local.INFO: Packet analysis {"connection_id":162107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:49:28] local.INFO: Extracted packet for processing {"connection_id":162107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02708"} 
[2026-08-22 06:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564398336001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49: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-22 06:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787361232000,"timestamp_ms":1787361232000,"timestamp_seconds":1787361232,"priority":1,"record_length":96,"hex_timestamp":"000001a027080480"} 
[2026-08-22 06:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:49:28] 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-22 06:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:49:28] 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-22 06:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564398336001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564398336001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:49:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564398336001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":162107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:49:28] local.INFO: GPS data processed {"connection_id":162107,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:49:28] local.INFO: Acknowledgment sent {"connection_id":162107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:49:39] local.INFO: TCP Data received {"connection_id":162108,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0270b67b0012d8cc44005c68970000700ae19..."} 
[2026-08-22 06:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270b67b0012d8cc44005c68970000700ae19..."} 
[2026-08-22 06:49:39] local.INFO: Processing buffer {"connection_id":162108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270b67b0012d8cc44005c68970000700ae19..."} 
[2026-08-22 06:49:39] local.INFO: Packet analysis {"connection_id":162108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270b"} 
[2026-08-22 06:49:39] local.INFO: Extracted packet for processing {"connection_id":162108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270b"} 
[2026-08-22 06:49:39] local.INFO: GPS Element Parsed {"raw_longitude":764200000,"raw_latitude":96897392,"longitude_deg":76.42,"latitude_deg":9.6897392,"altitude":7,"angle":174,"satellites":25,"speed":44,"hex_longitude":"2d8cc440","hex_latitude":"05c68970","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564529920001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122078204801318912,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8303722894388865024,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787361454000,"timestamp_ms":1787361454000,"timestamp_seconds":1787361454,"priority":1,"record_length":96,"hex_timestamp":"000001a0270b67b0"} 
[2026-08-22 06: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-22 06:49:39] 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-22 06: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-22 06:49: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-22 06: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-22 06: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-22 06:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:49: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-22 06:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564529920001,"66":13526,"211":206,"83":16384,"24":44,"16":122078204801318912,"45":-8303722894388865024},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,83,24,16,45]} 
[2026-08-22 06:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564529920001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:49:39] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-22 06:49:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122078204801318912,"km_value":122078204801318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8303722894388865024,"description":"Unknown IO ID 45"} 
[2026-08-22 06:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564529920001,"power":13526,"unknown_211":206,"unknown_83":16384,"ignition":44,"odometer":null,"unknown_45":-8303722894388865024}} 
[2026-08-22 06:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":162108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:49:39] local.INFO: GPS data processed {"connection_id":162108,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:49:39] local.INFO: Acknowledgment sent {"connection_id":162108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:49:50] local.INFO: TCP Data received {"connection_id":159529,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:49:50] local.INFO: Processing buffer {"connection_id":159529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:49:50] local.INFO: IMEI packet received {"connection_id":159529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":159529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:49:53] local.INFO: TCP Data received {"connection_id":159530,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:49:53] local.INFO: Processing buffer {"connection_id":159530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:49:53] local.INFO: IMEI packet received {"connection_id":159530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":159530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:49:55] local.INFO: TCP Data received {"connection_id":159529,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:49:55] local.INFO: Processing buffer {"connection_id":159529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:49:55] local.INFO: IMEI packet received {"connection_id":159529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":159529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:49:56] local.INFO: TCP Data received {"connection_id":159529,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:49:56] local.INFO: Processing buffer {"connection_id":159529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:49:56] local.INFO: Packet analysis {"connection_id":159529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:49:56] local.INFO: Extracted packet for processing {"connection_id":159529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564475392001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49: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-22 06:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787361533000,"timestamp_ms":1787361533000,"timestamp_seconds":1787361533,"priority":1,"record_length":96,"hex_timestamp":"000001a0270c9c48"} 
[2026-08-22 06: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-22 06:49:56] 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-22 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564475392001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564475392001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:49:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564475392001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":159529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:49:56] local.INFO: GPS data processed {"connection_id":159529,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:49:56] local.INFO: Acknowledgment sent {"connection_id":159529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:49:56] local.INFO: TCP Data received {"connection_id":160705,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:49:56] local.INFO: Processing buffer {"connection_id":160705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:49:56] local.INFO: IMEI packet received {"connection_id":160705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":160705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:49:58] local.INFO: TCP Data received {"connection_id":159530,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:49:58] local.INFO: Processing buffer {"connection_id":159530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:49:58] local.INFO: IMEI packet received {"connection_id":159530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":159530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:49:59] local.INFO: TCP Data received {"connection_id":159530,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027097f68012d17958007217348004100a128..."} 
[2026-08-22 06:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027097f68012d17958007217348004100a128..."} 
[2026-08-22 06:49:59] local.INFO: Processing buffer {"connection_id":159530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027097f68012d17958007217348004100a128..."} 
[2026-08-22 06:49:59] local.INFO: Packet analysis {"connection_id":159530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02709"} 
[2026-08-22 06:49:59] local.INFO: Extracted packet for processing {"connection_id":159530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02709"} 
[2026-08-22 06:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756520320,"raw_latitude":119632712,"longitude_deg":75.652032,"latitude_deg":11.9632712,"altitude":65,"angle":161,"satellites":40,"speed":12,"hex_longitude":"2d179580","hex_latitude":"07217348","is_valid_coordinates":true} 
[2026-08-22 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-22 06:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564499200001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14343404062244864,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1698701515075096576,"note":"Value kept but may cause issues"} 
[2026-08-22 06:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787361329000,"timestamp_ms":1787361329000,"timestamp_seconds":1787361329,"priority":1,"record_length":96,"hex_timestamp":"000001a027097f68"} 
[2026-08-22 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-22 06:49:59] 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-22 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 06:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 06:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:49:59] 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-22 06:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564499200001,"66":13222,"107":206,"83":41984,"24":12,"16":14343404062244864,"45":1698701515075096576},"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-22 06:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564499200001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:49:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 06:49:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14343404062244864,"km_value":14343404062244.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1698701515075096576,"description":"Unknown IO ID 45"} 
[2026-08-22 06:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564499200001,"power":13222,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1698701515075096576}} 
[2026-08-22 06:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":159530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:49:59] local.INFO: GPS data processed {"connection_id":159530,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:49:59] local.INFO: Acknowledgment sent {"connection_id":159530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:50:01] local.INFO: TCP Data received {"connection_id":160705,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:50:01] local.INFO: Processing buffer {"connection_id":160705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:50:01] local.INFO: IMEI packet received {"connection_id":160705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":160705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:50:03] local.INFO: TCP Data received {"connection_id":160705,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0270d1948012d8cd5c005c581c0000800aa19..."} 
[2026-08-22 06:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270d1948012d8cd5c005c581c0000800aa19..."} 
[2026-08-22 06:50:03] local.INFO: Processing buffer {"connection_id":160705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270d1948012d8cd5c005c581c0000800aa19..."} 
[2026-08-22 06:50:03] local.INFO: Packet analysis {"connection_id":160705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270d"} 
[2026-08-22 06:50:03] local.INFO: Extracted packet for processing {"connection_id":160705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270d"} 
[2026-08-22 06:50:03] local.INFO: GPS Element Parsed {"raw_longitude":764204480,"raw_latitude":96829888,"longitude_deg":76.420448,"latitude_deg":9.6829888,"altitude":8,"angle":170,"satellites":25,"speed":36,"hex_longitude":"2d8cd5c0","hex_latitude":"05c581c0","is_valid_coordinates":true} 
[2026-08-22 06:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564557824001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122081511926136832,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8299922982220404736,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787361565000,"timestamp_ms":1787361565000,"timestamp_seconds":1787361565,"priority":1,"record_length":96,"hex_timestamp":"000001a0270d1948"} 
[2026-08-22 06:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:50:03] 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-22 06:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-22 06:50:03] 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-22 06:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:50:03] 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-22 06:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564557824001,"66":13450,"210":206,"83":16384,"24":36,"16":122081511926136832,"45":-8299922982220404736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,83,24,16,45]} 
[2026-08-22 06:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564557824001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:50:03] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-22 06:50:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122081511926136832,"km_value":122081511926136.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8299922982220404736,"description":"Unknown IO ID 45"} 
[2026-08-22 06:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564557824001,"power":13450,"unknown_210":206,"unknown_83":16384,"ignition":36,"odometer":null,"unknown_45":-8299922982220404736}} 
[2026-08-22 06:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":160705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:50:03] local.INFO: GPS data processed {"connection_id":160705,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:50:03] local.INFO: Acknowledgment sent {"connection_id":160705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:50:27] local.INFO: TCP Data received {"connection_id":159529,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:50:27] local.INFO: Processing buffer {"connection_id":159529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:50:27] local.INFO: Packet analysis {"connection_id":159529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:50:27] local.INFO: Extracted packet for processing {"connection_id":159529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564475392001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50: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-22 06:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787361533000,"timestamp_ms":1787361533000,"timestamp_seconds":1787361533,"priority":1,"record_length":96,"hex_timestamp":"000001a0270c9c48"} 
[2026-08-22 06:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:50:27] 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-22 06:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564475392001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564475392001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:50:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564475392001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":159529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:50:27] local.INFO: GPS data processed {"connection_id":159529,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:50:27] local.INFO: Acknowledgment sent {"connection_id":159529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:50:30] local.INFO: TCP Data received {"connection_id":159530,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02709d170012d17964007217080004200a627..."} 
[2026-08-22 06:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02709d170012d17964007217080004200a627..."} 
[2026-08-22 06:50:30] local.INFO: Processing buffer {"connection_id":159530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02709d170012d17964007217080004200a627..."} 
[2026-08-22 06:50:30] local.INFO: Packet analysis {"connection_id":159530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02709"} 
[2026-08-22 06:50:30] local.INFO: Extracted packet for processing {"connection_id":159530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02709"} 
[2026-08-22 06:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756520512,"raw_latitude":119632000,"longitude_deg":75.6520512,"latitude_deg":11.9632,"altitude":66,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d179640","hex_latitude":"07217080","is_valid_coordinates":true} 
[2026-08-22 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-22 06:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564500224001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14343438421983232,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1699405202516559872,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50:30] 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-22 06:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787361350000,"timestamp_ms":1787361350000,"timestamp_seconds":1787361350,"priority":1,"record_length":96,"hex_timestamp":"000001a02709d170"} 
[2026-08-22 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-22 06:50:30] 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-22 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-22 06:50:30] 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-22 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-22 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-22 06:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:50:30] 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-22 06:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564500224001,"66":13135,"107":206,"83":41984,"24":0,"16":14343438421983232,"45":1699405202516559872},"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-22 06:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564500224001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:50:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 06:50:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14343438421983232,"km_value":14343438421983.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1699405202516559872,"description":"Unknown IO ID 45"} 
[2026-08-22 06:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564500224001,"power":13135,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1699405202516559872}} 
[2026-08-22 06:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":159530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:50:30] local.INFO: GPS data processed {"connection_id":159530,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:50:30] local.INFO: Acknowledgment sent {"connection_id":159530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:50:35] local.INFO: TCP Data received {"connection_id":160705,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0270d4440012d8cdb4005c55dc8000700ae19..."} 
[2026-08-22 06:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270d4440012d8cdb4005c55dc8000700ae19..."} 
[2026-08-22 06:50:35] local.INFO: Processing buffer {"connection_id":160705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270d4440012d8cdb4005c55dc8000700ae19..."} 
[2026-08-22 06:50:35] local.INFO: Packet analysis {"connection_id":160705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270d"} 
[2026-08-22 06:50:35] local.INFO: Extracted packet for processing {"connection_id":160705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270d"} 
[2026-08-22 06:50:35] local.INFO: GPS Element Parsed {"raw_longitude":764205888,"raw_latitude":96820680,"longitude_deg":76.4205888,"latitude_deg":9.682068,"altitude":7,"angle":174,"satellites":25,"speed":31,"hex_longitude":"2d8cdb40","hex_latitude":"05c55dc8","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564560640001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122081962897702912,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8298515607339286528,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787361576000,"timestamp_ms":1787361576000,"timestamp_seconds":1787361576,"priority":1,"record_length":96,"hex_timestamp":"000001a0270d4440"} 
[2026-08-22 06: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-22 06:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-22 06:50:35] 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-22 06: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-22 06: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-22 06:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:50:35] 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-22 06:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564560640001,"66":13559,"210":206,"83":16384,"24":31,"16":122081962897702912,"45":-8298515607339286528},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,83,24,16,45]} 
[2026-08-22 06:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564560640001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:50:35] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-22 06:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122081962897702912,"km_value":122081962897702.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8298515607339286528,"description":"Unknown IO ID 45"} 
[2026-08-22 06:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564560640001,"power":13559,"unknown_210":206,"unknown_83":16384,"ignition":31,"odometer":null,"unknown_45":-8298515607339286528}} 
[2026-08-22 06:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":160705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:50:35] local.INFO: GPS data processed {"connection_id":160705,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:50:35] local.INFO: Acknowledgment sent {"connection_id":160705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:50:49] local.INFO: TCP Data received {"connection_id":159786,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:50:49] local.INFO: Processing buffer {"connection_id":159786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:50:49] local.INFO: IMEI packet received {"connection_id":159786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":159786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:50:53] local.INFO: TCP Data received {"connection_id":159787,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:50:53] local.INFO: Processing buffer {"connection_id":159787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:50:53] local.INFO: IMEI packet received {"connection_id":159787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":159787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:50:55] local.INFO: TCP Data received {"connection_id":159786,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:50:55] local.INFO: Processing buffer {"connection_id":159786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:50:55] local.INFO: IMEI packet received {"connection_id":159786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":159786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:50:56] local.INFO: TCP Data received {"connection_id":159786,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:50:56] local.INFO: Processing buffer {"connection_id":159786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:50:56] local.INFO: Packet analysis {"connection_id":159786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:50:56] local.INFO: Extracted packet for processing {"connection_id":159786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564475392001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50: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-22 06:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787361533000,"timestamp_ms":1787361533000,"timestamp_seconds":1787361533,"priority":1,"record_length":96,"hex_timestamp":"000001a0270c9c48"} 
[2026-08-22 06: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-22 06:50:56] 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-22 06:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564475392001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564475392001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:50:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564475392001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":159786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:50:56] local.INFO: GPS data processed {"connection_id":159786,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:50:56] local.INFO: Acknowledgment sent {"connection_id":159786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:50:56] local.INFO: TCP Data received {"connection_id":160706,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:50:56] local.INFO: Processing buffer {"connection_id":160706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:50:56] local.INFO: IMEI packet received {"connection_id":160706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":160706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:50:57] local.INFO: TCP Data received {"connection_id":160706,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:50:57] local.INFO: Processing buffer {"connection_id":160706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:50:57] local.INFO: IMEI packet received {"connection_id":160706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":160706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:50:59] local.INFO: TCP Data received {"connection_id":159787,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:50:59] local.INFO: Processing buffer {"connection_id":159787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:50:59] local.INFO: IMEI packet received {"connection_id":159787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":159787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:50:59] local.INFO: TCP Data received {"connection_id":159787,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0270a2378012d17964007217080004200a628..."} 
[2026-08-22 06:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270a2378012d17964007217080004200a628..."} 
[2026-08-22 06:50:59] local.INFO: Processing buffer {"connection_id":159787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270a2378012d17964007217080004200a628..."} 
[2026-08-22 06:50:59] local.INFO: Packet analysis {"connection_id":159787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270a"} 
[2026-08-22 06:50:59] local.INFO: Extracted packet for processing {"connection_id":159787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270a"} 
[2026-08-22 06:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756520512,"raw_latitude":119632000,"longitude_deg":75.6520512,"latitude_deg":11.9632,"altitude":66,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d179640","hex_latitude":"07217080","is_valid_coordinates":true} 
[2026-08-22 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-22 06:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564505600001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14343438421983232,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1699616308748910592,"note":"Value kept but may cause issues"} 
[2026-08-22 06:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787361371000,"timestamp_ms":1787361371000,"timestamp_seconds":1787361371,"priority":1,"record_length":96,"hex_timestamp":"000001a0270a2378"} 
[2026-08-22 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-22 06:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-22 06:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 06:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:50:59] 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-22 06:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564505600001,"66":13102,"107":206,"83":41984,"24":0,"16":14343438421983232,"45":1699616308748910592},"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-22 06:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564505600001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:51:00] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 06:51:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14343438421983232,"km_value":14343438421983.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1699616308748910592,"description":"Unknown IO ID 45"} 
[2026-08-22 06:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564505600001,"power":13102,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1699616308748910592}} 
[2026-08-22 06:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":159787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:51:00] local.INFO: GPS data processed {"connection_id":159787,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:51:00] local.INFO: Acknowledgment sent {"connection_id":159787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:51:01] local.INFO: TCP Data received {"connection_id":160706,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:51:01] local.INFO: Processing buffer {"connection_id":160706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:51:01] local.INFO: IMEI packet received {"connection_id":160706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":160706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:51:02] local.INFO: TCP Data received {"connection_id":160706,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0270d6f38012d8cddc005c538b0000900b119..."} 
[2026-08-22 06:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270d6f38012d8cddc005c538b0000900b119..."} 
[2026-08-22 06:51:02] local.INFO: Processing buffer {"connection_id":160706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270d6f38012d8cddc005c538b0000900b119..."} 
[2026-08-22 06:51:02] local.INFO: Packet analysis {"connection_id":160706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270d"} 
[2026-08-22 06:51:02] local.INFO: Extracted packet for processing {"connection_id":160706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270d"} 
[2026-08-22 06:51:02] local.INFO: GPS Element Parsed {"raw_longitude":764206528,"raw_latitude":96811184,"longitude_deg":76.4206528,"latitude_deg":9.6811184,"altitude":9,"angle":177,"satellites":25,"speed":34,"hex_longitude":"2d8cddc0","hex_latitude":"05c538b0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564563456001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122082426754170880,"note":"Value kept but may cause issues"} 
[2026-08-22 06:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8296967494969735168,"note":"Value kept but may cause issues"} 
[2026-08-22 06:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787361587000,"timestamp_ms":1787361587000,"timestamp_seconds":1787361587,"priority":1,"record_length":96,"hex_timestamp":"000001a0270d6f38"} 
[2026-08-22 06: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-22 06:51:02] 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-22 06: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 06:51:02] 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-22 06: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-22 06: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-22 06:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:51:02] 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-22 06:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564563456001,"66":13450,"210":206,"83":16384,"24":34,"16":122082426754170880,"45":-8296967494969735168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,83,24,16,45]} 
[2026-08-22 06:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564563456001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:51:02] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-22 06:51:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122082426754170880,"km_value":122082426754170.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8296967494969735168,"description":"Unknown IO ID 45"} 
[2026-08-22 06:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564563456001,"power":13450,"unknown_210":206,"unknown_83":16384,"ignition":34,"odometer":null,"unknown_45":-8296967494969735168}} 
[2026-08-22 06:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":160706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:51:02] local.INFO: GPS data processed {"connection_id":160706,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:51:02] local.INFO: Acknowledgment sent {"connection_id":160706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:51:27] local.INFO: TCP Data received {"connection_id":159786,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:51:27] local.INFO: Processing buffer {"connection_id":159786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:51:27] local.INFO: Packet analysis {"connection_id":159786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:51:27] local.INFO: Extracted packet for processing {"connection_id":159786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564475392001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:51: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-22 06:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787361533000,"timestamp_ms":1787361533000,"timestamp_seconds":1787361533,"priority":1,"record_length":96,"hex_timestamp":"000001a0270c9c48"} 
[2026-08-22 06: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-22 06:51:27] 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-22 06:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564475392001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564475392001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:51:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564475392001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":159786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:51:27] local.INFO: GPS data processed {"connection_id":159786,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:51:27] local.INFO: Acknowledgment sent {"connection_id":159786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:51:32] local.INFO: TCP Data received {"connection_id":159787,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0270da9d0012d17964007217080004200a627..."} 
[2026-08-22 06:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270da9d0012d17964007217080004200a627..."} 
[2026-08-22 06:51:32] local.INFO: Processing buffer {"connection_id":159787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270da9d0012d17964007217080004200a627..."} 
[2026-08-22 06:51:32] local.INFO: Packet analysis {"connection_id":159787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270d"} 
[2026-08-22 06:51:32] local.INFO: Extracted packet for processing {"connection_id":159787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270d"} 
[2026-08-22 06:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756520512,"raw_latitude":119632000,"longitude_deg":75.6520512,"latitude_deg":11.9632,"altitude":66,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d179640","hex_latitude":"07217080","is_valid_coordinates":true} 
[2026-08-22 06:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564564736001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14343438421983232,"note":"Value kept but may cause issues"} 
[2026-08-22 06:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1699616308748910592,"note":"Value kept but may cause issues"} 
[2026-08-22 06:51:32] 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-22 06:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787361602000,"timestamp_ms":1787361602000,"timestamp_seconds":1787361602,"priority":1,"record_length":96,"hex_timestamp":"000001a0270da9d0"} 
[2026-08-22 06:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:51:32] 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-22 06:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-22 06:51:32] 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-22 06:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:51:32] 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-22 06:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564564736001,"66":12591,"107":206,"83":41984,"24":0,"16":14343438421983232,"45":1699616308748910592},"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-22 06:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564564736001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:51:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 06:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14343438421983232,"km_value":14343438421983.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1699616308748910592,"description":"Unknown IO ID 45"} 
[2026-08-22 06:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564564736001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1699616308748910592}} 
[2026-08-22 06:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":159787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:51:32] local.INFO: GPS data processed {"connection_id":159787,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:51:32] local.INFO: Acknowledgment sent {"connection_id":159787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:51:33] local.INFO: TCP Data received {"connection_id":160706,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0270efda8012d8d02c005c42330000300d619..."} 
[2026-08-22 06:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270efda8012d8d02c005c42330000300d619..."} 
[2026-08-22 06:51:33] local.INFO: Processing buffer {"connection_id":160706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270efda8012d8d02c005c42330000300d619..."} 
[2026-08-22 06:51:33] local.INFO: Packet analysis {"connection_id":160706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270e"} 
[2026-08-22 06:51:33] local.INFO: Extracted packet for processing {"connection_id":160706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270e"} 
[2026-08-22 06:51:33] local.INFO: GPS Element Parsed {"raw_longitude":764216000,"raw_latitude":96740144,"longitude_deg":76.4216,"latitude_deg":9.6740144,"altitude":3,"angle":214,"satellites":25,"speed":15,"hex_longitude":"2d8d02c0","hex_latitude":"05c42330","is_valid_coordinates":true} 
[2026-08-22 06:51: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-22 06:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564592128001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122085935742451712,"note":"Value kept but may cause issues"} 
[2026-08-22 06:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8285778864666011648,"note":"Value kept but may cause issues"} 
[2026-08-22 06:51:33] 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-22 06:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787361689000,"timestamp_ms":1787361689000,"timestamp_seconds":1787361689,"priority":1,"record_length":96,"hex_timestamp":"000001a0270efda8"} 
[2026-08-22 06:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06:51: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 06:51:33] 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-22 06:51: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-22 06:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:51:33] 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-22 06:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564592128001,"66":13472,"207":206,"83":16384,"24":15,"16":122085935742451712,"45":-8285778864666011648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-22 06:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564592128001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:51:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 06:51:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122085935742451712,"km_value":122085935742451.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8285778864666011648,"description":"Unknown IO ID 45"} 
[2026-08-22 06:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564592128001,"power":13472,"unknown_207":206,"unknown_83":16384,"ignition":15,"odometer":null,"unknown_45":-8285778864666011648}} 
[2026-08-22 06:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":160706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:51:33] local.INFO: GPS data processed {"connection_id":160706,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:51:33] local.INFO: Acknowledgment sent {"connection_id":160706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:51:49] local.INFO: TCP Data received {"connection_id":162110,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:51:49] local.INFO: Processing buffer {"connection_id":162110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:51:49] local.INFO: IMEI packet received {"connection_id":162110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":162110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:51:53] local.INFO: TCP Data received {"connection_id":159531,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:51:53] local.INFO: Processing buffer {"connection_id":159531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:51:53] local.INFO: IMEI packet received {"connection_id":159531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":159531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:51:55] local.INFO: TCP Data received {"connection_id":162110,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:51:55] local.INFO: Processing buffer {"connection_id":162110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:51:55] local.INFO: IMEI packet received {"connection_id":162110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":162110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:51:56] local.INFO: TCP Data received {"connection_id":162110,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:51:56] local.INFO: Processing buffer {"connection_id":162110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:51:56] local.INFO: Packet analysis {"connection_id":162110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:51:56] local.INFO: Extracted packet for processing {"connection_id":162110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564475392001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:51: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-22 06:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787361533000,"timestamp_ms":1787361533000,"timestamp_seconds":1787361533,"priority":1,"record_length":96,"hex_timestamp":"000001a0270c9c48"} 
[2026-08-22 06:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:51:56] 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-22 06:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564475392001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564475392001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:51:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564475392001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":162110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:51:56] local.INFO: GPS data processed {"connection_id":162110,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:51:56] local.INFO: Acknowledgment sent {"connection_id":162110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:51:59] local.INFO: TCP Data received {"connection_id":159531,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:51:59] local.INFO: Processing buffer {"connection_id":159531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:51:59] local.INFO: IMEI packet received {"connection_id":159531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":159531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:52:00] local.INFO: TCP Data received {"connection_id":159531,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0270dfbd8012d17964007217080004200a627..."} 
[2026-08-22 06:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270dfbd8012d17964007217080004200a627..."} 
[2026-08-22 06:52:00] local.INFO: Processing buffer {"connection_id":159531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270dfbd8012d17964007217080004200a627..."} 
[2026-08-22 06:52:00] local.INFO: Packet analysis {"connection_id":159531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270d"} 
[2026-08-22 06:52:00] local.INFO: Extracted packet for processing {"connection_id":159531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270d"} 
[2026-08-22 06:52:00] local.INFO: GPS Element Parsed {"raw_longitude":756520512,"raw_latitude":119632000,"longitude_deg":75.6520512,"latitude_deg":11.9632,"altitude":66,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d179640","hex_latitude":"07217080","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564570112001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14343438421983232,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1699616308748910592,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:00] 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-22 06:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787361623000,"timestamp_ms":1787361623000,"timestamp_seconds":1787361623,"priority":1,"record_length":96,"hex_timestamp":"000001a0270dfbd8"} 
[2026-08-22 06: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-22 06:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 06:52:00] 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-22 06: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-22 06: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-22 06:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:52:00] 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-22 06:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564570112001,"66":12548,"107":206,"83":41984,"24":0,"16":14343438421983232,"45":1699616308748910592},"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-22 06:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564570112001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:52:00] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 06:52:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14343438421983232,"km_value":14343438421983.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1699616308748910592,"description":"Unknown IO ID 45"} 
[2026-08-22 06:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564570112001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1699616308748910592}} 
[2026-08-22 06:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":159531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:52:00] local.INFO: GPS data processed {"connection_id":159531,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:52:00] local.INFO: Acknowledgment sent {"connection_id":159531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:52:02] local.INFO: TCP Data received {"connection_id":159532,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:52:02] local.INFO: Processing buffer {"connection_id":159532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:52:02] local.INFO: IMEI packet received {"connection_id":159532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":159532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:52:04] local.INFO: TCP Data received {"connection_id":159532,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:52:04] local.INFO: Processing buffer {"connection_id":159532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:52:04] local.INFO: IMEI packet received {"connection_id":159532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":159532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:52:05] local.INFO: TCP Data received {"connection_id":159532,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0270f0190012d8d01c005c42210000300e319..."} 
[2026-08-22 06:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270f0190012d8d01c005c42210000300e319..."} 
[2026-08-22 06:52:05] local.INFO: Processing buffer {"connection_id":159532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270f0190012d8d01c005c42210000300e319..."} 
[2026-08-22 06:52:05] local.INFO: Packet analysis {"connection_id":159532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270f"} 
[2026-08-22 06:52:05] local.INFO: Extracted packet for processing {"connection_id":159532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270f"} 
[2026-08-22 06:52:05] local.INFO: GPS Element Parsed {"raw_longitude":764215744,"raw_latitude":96739856,"longitude_deg":76.4215744,"latitude_deg":9.6739856,"altitude":3,"angle":227,"satellites":25,"speed":12,"hex_longitude":"2d8d01c0","hex_latitude":"05c42210","is_valid_coordinates":true} 
[2026-08-22 06:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564592384001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122085952922320896,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8285849233410281472,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:05] 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-22 06:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787361690000,"timestamp_ms":1787361690000,"timestamp_seconds":1787361690,"priority":1,"record_length":96,"hex_timestamp":"000001a0270f0190"} 
[2026-08-22 06:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:52: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-22 06:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 06:52:05] 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-22 06:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:52: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-22 06:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564592384001,"66":13472,"207":206,"83":16384,"24":12,"16":122085952922320896,"45":-8285849233410281472},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-22 06:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564592384001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:52:05] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 06:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122085952922320896,"km_value":122085952922320.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8285849233410281472,"description":"Unknown IO ID 45"} 
[2026-08-22 06:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564592384001,"power":13472,"unknown_207":206,"unknown_83":16384,"ignition":12,"odometer":null,"unknown_45":-8285849233410281472}} 
[2026-08-22 06:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":159532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:52:05] local.INFO: GPS data processed {"connection_id":159532,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:52:05] local.INFO: Acknowledgment sent {"connection_id":159532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:52:06] local.INFO: TCP Data received {"connection_id":159532,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0270f0578012d8d00c005c42150000300f119..."} 
[2026-08-22 06:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270f0578012d8d00c005c42150000300f119..."} 
[2026-08-22 06:52:06] local.INFO: Processing buffer {"connection_id":159532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270f0578012d8d00c005c42150000300f119..."} 
[2026-08-22 06:52:06] local.INFO: Packet analysis {"connection_id":159532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270f"} 
[2026-08-22 06:52:06] local.INFO: Extracted packet for processing {"connection_id":159532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270f"} 
[2026-08-22 06:52:06] local.INFO: GPS Element Parsed {"raw_longitude":764215488,"raw_latitude":96739664,"longitude_deg":76.4215488,"latitude_deg":9.6739664,"altitude":3,"angle":241,"satellites":25,"speed":12,"hex_longitude":"2d8d00c0","hex_latitude":"05c42150","is_valid_coordinates":true} 
[2026-08-22 06:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564592640001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122085970102190080,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8286130708387065856,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:06] 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-22 06:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787361691000,"timestamp_ms":1787361691000,"timestamp_seconds":1787361691,"priority":1,"record_length":96,"hex_timestamp":"000001a0270f0578"} 
[2026-08-22 06:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:52: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-22 06:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 06:52:06] 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-22 06:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:52: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-22 06:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564592640001,"66":13461,"207":206,"83":16384,"24":12,"16":122085970102190080,"45":-8286130708387065856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-22 06:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564592640001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:52:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 06:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122085970102190080,"km_value":122085970102190.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8286130708387065856,"description":"Unknown IO ID 45"} 
[2026-08-22 06:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564592640001,"power":13461,"unknown_207":206,"unknown_83":16384,"ignition":12,"odometer":null,"unknown_45":-8286130708387065856}} 
[2026-08-22 06:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":159532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:52:07] local.INFO: GPS data processed {"connection_id":159532,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:52:07] local.INFO: Acknowledgment sent {"connection_id":159532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:52:27] local.INFO: TCP Data received {"connection_id":162110,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:52:27] local.INFO: Processing buffer {"connection_id":162110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:52:27] local.INFO: Packet analysis {"connection_id":162110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:52:27] local.INFO: Extracted packet for processing {"connection_id":162110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564475392001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52: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-22 06:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787361533000,"timestamp_ms":1787361533000,"timestamp_seconds":1787361533,"priority":1,"record_length":96,"hex_timestamp":"000001a0270c9c48"} 
[2026-08-22 06:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:52:27] 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-22 06:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564475392001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564475392001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:52:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:52:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564475392001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":162110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:52:27] local.INFO: GPS data processed {"connection_id":162110,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:52:27] local.INFO: Acknowledgment sent {"connection_id":162110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:52:30] local.INFO: TCP Data received {"connection_id":159531,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0270e4de0012d17964007217080004200a627..."} 
[2026-08-22 06:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270e4de0012d17964007217080004200a627..."} 
[2026-08-22 06:52:30] local.INFO: Processing buffer {"connection_id":159531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270e4de0012d17964007217080004200a627..."} 
[2026-08-22 06:52:30] local.INFO: Packet analysis {"connection_id":159531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270e"} 
[2026-08-22 06:52:30] local.INFO: Extracted packet for processing {"connection_id":159531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270e"} 
[2026-08-22 06:52:30] local.INFO: GPS Element Parsed {"raw_longitude":756520512,"raw_latitude":119632000,"longitude_deg":75.6520512,"latitude_deg":11.9632,"altitude":66,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d179640","hex_latitude":"07217080","is_valid_coordinates":true} 
[2026-08-22 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-22 06:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564575488001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14343438421983232,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1699616308748910592,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:30] 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-22 06:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787361644000,"timestamp_ms":1787361644000,"timestamp_seconds":1787361644,"priority":1,"record_length":96,"hex_timestamp":"000001a0270e4de0"} 
[2026-08-22 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-22 06:52:30] 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-22 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 06:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184211972301,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-22 06:52:30] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2952867095,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:30] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:30] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4115136512,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:30] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:30] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,107,83,24,241,157,16,245,160,169,45,64,112,66,39,10,87,5,1,240,123,227,33,4,113,205,97,150,128,42,239,49,2,50,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-22 06:52:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755983892937179136,"timestamp_seconds":4755983892937179.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 06:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:52:30] 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-22 06:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564575488001,"66":12526,"107":206,"83":41984,"24":0,"16":14343438421983232,"45":1699616308748910592},"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-22 06:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564575488001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:52:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 06:52:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14343438421983232,"km_value":14343438421983.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1699616308748910592,"description":"Unknown IO ID 45"} 
[2026-08-22 06:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564575488001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1699616308748910592}} 
[2026-08-22 06:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":159531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:52:31] local.INFO: GPS data processed {"connection_id":159531,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:52:31] local.INFO: Acknowledgment sent {"connection_id":159531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:52:37] local.INFO: TCP Data received {"connection_id":159532,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0270f0d48012d8cfe4005c420300003010019..."} 
[2026-08-22 06:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270f0d48012d8cfe4005c420300003010019..."} 
[2026-08-22 06:52:37] local.INFO: Processing buffer {"connection_id":159532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270f0d48012d8cfe4005c420300003010019..."} 
[2026-08-22 06:52:37] local.INFO: Packet analysis {"connection_id":159532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270f"} 
[2026-08-22 06:52:37] local.INFO: Extracted packet for processing {"connection_id":159532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270f"} 
[2026-08-22 06:52:37] local.INFO: GPS Element Parsed {"raw_longitude":764214848,"raw_latitude":96739376,"longitude_deg":76.4214848,"latitude_deg":9.6739376,"altitude":3,"angle":256,"satellites":25,"speed":16,"hex_longitude":"2d8cfe40","hex_latitude":"05c42030","is_valid_coordinates":true} 
[2026-08-22 06:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564592896001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122086000166961152,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8286412183363825664,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:37] 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-22 06:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787361693000,"timestamp_ms":1787361693000,"timestamp_seconds":1787361693,"priority":1,"record_length":96,"hex_timestamp":"000001a0270f0d48"} 
[2026-08-22 06:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-22 06:52:37] 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-22 06:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:52:37] 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-22 06:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564592896001,"66":13472,"207":206,"83":16384,"24":16,"16":122086000166961152,"45":-8286412183363825664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-22 06:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564592896001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:52:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 06:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122086000166961152,"km_value":122086000166961.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8286412183363825664,"description":"Unknown IO ID 45"} 
[2026-08-22 06:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564592896001,"power":13472,"unknown_207":206,"unknown_83":16384,"ignition":16,"odometer":null,"unknown_45":-8286412183363825664}} 
[2026-08-22 06:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":159532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:52:37] local.INFO: GPS data processed {"connection_id":159532,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:52:37] local.INFO: Acknowledgment sent {"connection_id":159532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:52:49] local.INFO: TCP Data received {"connection_id":159788,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:52:49] local.INFO: Processing buffer {"connection_id":159788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:52:49] local.INFO: IMEI packet received {"connection_id":159788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":159788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:52:53] local.INFO: TCP Data received {"connection_id":159533,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:52:53] local.INFO: Processing buffer {"connection_id":159533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:52:53] local.INFO: IMEI packet received {"connection_id":159533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":159533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:52:53] local.INFO: TCP Data received {"connection_id":159789,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:52:53] local.INFO: Processing buffer {"connection_id":159789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:52:53] local.INFO: IMEI packet received {"connection_id":159789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":159789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:52:55] local.INFO: TCP Data received {"connection_id":159788,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:52:55] local.INFO: Processing buffer {"connection_id":159788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:52:55] local.INFO: IMEI packet received {"connection_id":159788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":159788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:52:56] local.INFO: TCP Data received {"connection_id":159788,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:52:56] local.INFO: Processing buffer {"connection_id":159788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:52:56] local.INFO: Packet analysis {"connection_id":159788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:52:56] local.INFO: Extracted packet for processing {"connection_id":159788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564475392001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52: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-22 06:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787361533000,"timestamp_ms":1787361533000,"timestamp_seconds":1787361533,"priority":1,"record_length":96,"hex_timestamp":"000001a0270c9c48"} 
[2026-08-22 06: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-22 06:52:56] 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-22 06:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564475392001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564475392001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:52:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564475392001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":159788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:52:56] local.INFO: GPS data processed {"connection_id":159788,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:52:56] local.INFO: Acknowledgment sent {"connection_id":159788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:52:57] local.INFO: TCP Data received {"connection_id":159789,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:52:57] local.INFO: Processing buffer {"connection_id":159789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:52:57] local.INFO: IMEI packet received {"connection_id":159789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":159789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:52:57] local.INFO: TCP Data received {"connection_id":159533,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:52:57] local.INFO: Processing buffer {"connection_id":159533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:52:57] local.INFO: IMEI packet received {"connection_id":159533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":159533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:52:57] local.INFO: TCP Data received {"connection_id":159533,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:52:57] local.INFO: Processing buffer {"connection_id":159533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:52:57] local.INFO: IMEI packet received {"connection_id":159533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":159533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:52:58] local.INFO: TCP Data received {"connection_id":159789,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:52:58] local.INFO: Processing buffer {"connection_id":159789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:52:58] local.INFO: IMEI packet received {"connection_id":159789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":159789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:52:59] local.INFO: TCP Data received {"connection_id":159789,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0270e9fe8012d17964007217080004200a629..."} 
[2026-08-22 06:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270e9fe8012d17964007217080004200a629..."} 
[2026-08-22 06:52:59] local.INFO: Processing buffer {"connection_id":159789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270e9fe8012d17964007217080004200a629..."} 
[2026-08-22 06:52:59] local.INFO: Packet analysis {"connection_id":159789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270e"} 
[2026-08-22 06:52:59] local.INFO: Extracted packet for processing {"connection_id":159789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270e"} 
[2026-08-22 06:52:59] local.INFO: GPS Element Parsed {"raw_longitude":756520512,"raw_latitude":119632000,"longitude_deg":75.6520512,"latitude_deg":11.9632,"altitude":66,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d179640","hex_latitude":"07217080","is_valid_coordinates":true} 
[2026-08-22 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-22 06:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564580864001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14343438421983232,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1699616308748910592,"note":"Value kept but may cause issues"} 
[2026-08-22 06:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787361665000,"timestamp_ms":1787361665000,"timestamp_seconds":1787361665,"priority":1,"record_length":96,"hex_timestamp":"000001a0270e9fe8"} 
[2026-08-22 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-22 06:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:52:59] 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-22 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-22 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-22 06:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:52:59] 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-22 06:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564580864001,"66":14102,"107":206,"83":41984,"24":0,"16":14343438421983232,"45":1699616308748910592},"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-22 06:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564580864001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:52:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 06:52:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14343438421983232,"km_value":14343438421983.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1699616308748910592,"description":"Unknown IO ID 45"} 
[2026-08-22 06:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564580864001,"power":14102,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1699616308748910592}} 
[2026-08-22 06:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":159789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:52:59] local.INFO: GPS data processed {"connection_id":159789,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:52:59] local.INFO: Acknowledgment sent {"connection_id":159789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:53:01] local.INFO: TCP Data received {"connection_id":159533,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:53:01] local.INFO: Processing buffer {"connection_id":159533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:53:01] local.INFO: IMEI packet received {"connection_id":159533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":159533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:53:01] local.INFO: TCP Data received {"connection_id":159533,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0270f3c28012d8cdc0005c416b80003010019..."} 
[2026-08-22 06:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270f3c28012d8cdc0005c416b80003010019..."} 
[2026-08-22 06:53:01] local.INFO: Processing buffer {"connection_id":159533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270f3c28012d8cdc0005c416b80003010019..."} 
[2026-08-22 06:53:01] local.INFO: Packet analysis {"connection_id":159533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270f"} 
[2026-08-22 06:53:01] local.INFO: Extracted packet for processing {"connection_id":159533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270f"} 
[2026-08-22 06:53:01] local.INFO: GPS Element Parsed {"raw_longitude":764206080,"raw_latitude":96736952,"longitude_deg":76.420608,"latitude_deg":9.6736952,"altitude":3,"angle":256,"satellites":25,"speed":40,"hex_longitude":"2d8cdc00","hex_latitude":"05c416b8","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564593408001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122086438253625344,"note":"Value kept but may cause issues"} 
[2026-08-22 06:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8287115870805676032,"note":"Value kept but may cause issues"} 
[2026-08-22 06:53: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-22 06:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787361705000,"timestamp_ms":1787361705000,"timestamp_seconds":1787361705,"priority":1,"record_length":96,"hex_timestamp":"000001a0270f3c28"} 
[2026-08-22 06: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-22 06:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 06:53:01] 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-22 06: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-22 06: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-22 06:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:53:01] 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-22 06:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564593408001,"66":13396,"207":206,"83":16384,"24":40,"16":122086438253625344,"45":-8287115870805676032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-22 06:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564593408001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:53:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 06:53:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122086438253625344,"km_value":122086438253625.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8287115870805676032,"description":"Unknown IO ID 45"} 
[2026-08-22 06:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564593408001,"power":13396,"unknown_207":206,"unknown_83":16384,"ignition":40,"odometer":null,"unknown_45":-8287115870805676032}} 
[2026-08-22 06:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":159533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:53:01] local.INFO: GPS data processed {"connection_id":159533,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:53:01] local.INFO: Acknowledgment sent {"connection_id":159533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:53:27] local.INFO: TCP Data received {"connection_id":159788,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:53:27] local.INFO: Processing buffer {"connection_id":159788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:53:27] local.INFO: Packet analysis {"connection_id":159788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:53:27] local.INFO: Extracted packet for processing {"connection_id":159788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564475392001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:53: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-22 06:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787361533000,"timestamp_ms":1787361533000,"timestamp_seconds":1787361533,"priority":1,"record_length":96,"hex_timestamp":"000001a0270c9c48"} 
[2026-08-22 06: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-22 06:53:27] 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-22 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564475392001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564475392001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:53:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564475392001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":159788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:53:27] local.INFO: GPS data processed {"connection_id":159788,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:53:27] local.INFO: Acknowledgment sent {"connection_id":159788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:53:30] local.INFO: TCP Data received {"connection_id":159789,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027100360012d17bdc0072160800041009d28..."} 
[2026-08-22 06:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027100360012d17bdc0072160800041009d28..."} 
[2026-08-22 06:53:30] local.INFO: Processing buffer {"connection_id":159789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027100360012d17bdc0072160800041009d28..."} 
[2026-08-22 06:53:30] local.INFO: Packet analysis {"connection_id":159789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02710"} 
[2026-08-22 06:53:30] local.INFO: Extracted packet for processing {"connection_id":159789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02710"} 
[2026-08-22 06:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756530624,"raw_latitude":119627904,"longitude_deg":75.6530624,"latitude_deg":11.9627904,"altitude":65,"angle":157,"satellites":40,"speed":9,"hex_longitude":"2d17bdc0","hex_latitude":"07216080","is_valid_coordinates":true} 
[2026-08-22 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-22 06:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564609280001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14344039717404672,"note":"Value kept but may cause issues"} 
[2026-08-22 06:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710664201583808512,"note":"Value kept but may cause issues"} 
[2026-08-22 06:53:30] 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-22 06:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787361756000,"timestamp_ms":1787361756000,"timestamp_seconds":1787361756,"priority":1,"record_length":96,"hex_timestamp":"000001a027100360"} 
[2026-08-22 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-22 06:53:30] 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-22 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 06:53:30] 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-22 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-22 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-22 06:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:53:30] 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-22 06:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564609280001,"66":14211,"107":206,"83":41984,"24":9,"16":14344039717404672,"45":1710664201583808512},"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-22 06:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564609280001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:53:31] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 06:53:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14344039717404672,"km_value":14344039717404.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710664201583808512,"description":"Unknown IO ID 45"} 
[2026-08-22 06:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564609280001,"power":14211,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1710664201583808512}} 
[2026-08-22 06:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":159789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:53:31] local.INFO: GPS data processed {"connection_id":159789,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:53:31] local.INFO: Acknowledgment sent {"connection_id":159789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:53:32] local.INFO: TCP Data received {"connection_id":159533,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0270f5f50012d8cb94005c40b70000400fb19..."} 
[2026-08-22 06:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270f5f50012d8cb94005c40b70000400fb19..."} 
[2026-08-22 06:53:32] local.INFO: Processing buffer {"connection_id":159533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270f5f50012d8cb94005c40b70000400fb19..."} 
[2026-08-22 06:53:32] local.INFO: Packet analysis {"connection_id":159533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270f"} 
[2026-08-22 06:53:32] local.INFO: Extracted packet for processing {"connection_id":159533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270f"} 
[2026-08-22 06:53:32] local.INFO: GPS Element Parsed {"raw_longitude":764197184,"raw_latitude":96734064,"longitude_deg":76.4197184,"latitude_deg":9.6734064,"altitude":4,"angle":251,"satellites":25,"speed":42,"hex_longitude":"2d8cb940","hex_latitude":"05c40b70","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564596480001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122086884930224128,"note":"Value kept but may cause issues"} 
[2026-08-22 06:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8296756388758636544,"note":"Value kept but may cause issues"} 
[2026-08-22 06:53:32] 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-22 06:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787361714000,"timestamp_ms":1787361714000,"timestamp_seconds":1787361714,"priority":1,"record_length":96,"hex_timestamp":"000001a0270f5f50"} 
[2026-08-22 06: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-22 06:53: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-22 06: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-22 06:53:32] 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-22 06: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-22 06: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-22 06:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:53:32] 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-22 06:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564596480001,"66":13396,"207":206,"83":16384,"24":42,"16":122086884930224128,"45":-8296756388758636544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-22 06:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564596480001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:53:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 06:53:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122086884930224128,"km_value":122086884930224.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8296756388758636544,"description":"Unknown IO ID 45"} 
[2026-08-22 06:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564596480001,"power":13396,"unknown_207":206,"unknown_83":16384,"ignition":42,"odometer":null,"unknown_45":-8296756388758636544}} 
[2026-08-22 06:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":159533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:53:32] local.INFO: GPS data processed {"connection_id":159533,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:53:32] local.INFO: Acknowledgment sent {"connection_id":159533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:53:53] local.INFO: TCP Data received {"connection_id":159536,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:53:53] local.INFO: Processing buffer {"connection_id":159536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:53:53] local.INFO: IMEI packet received {"connection_id":159536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":159536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:53:54] local.INFO: TCP Data received {"connection_id":159535,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:53:54] local.INFO: Processing buffer {"connection_id":159535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:53:54] local.INFO: IMEI packet received {"connection_id":159535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":159535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:53:54] local.INFO: TCP Data received {"connection_id":159536,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:53:54] local.INFO: Processing buffer {"connection_id":159536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:53:54] local.INFO: IMEI packet received {"connection_id":159536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":159536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:53:55] local.INFO: TCP Data received {"connection_id":159534,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:53:55] local.INFO: Processing buffer {"connection_id":159534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:53:55] local.INFO: IMEI packet received {"connection_id":159534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":159534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:53:56] local.INFO: TCP Data received {"connection_id":159535,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:53:56] local.INFO: Processing buffer {"connection_id":159535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:53:56] local.INFO: IMEI packet received {"connection_id":159535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":159535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:53:59] local.INFO: TCP Data received {"connection_id":159536,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:53:59] local.INFO: Processing buffer {"connection_id":159536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:53:59] local.INFO: IMEI packet received {"connection_id":159536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":159536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:54:00] local.INFO: TCP Data received {"connection_id":159534,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:54:00] local.INFO: Processing buffer {"connection_id":159534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:54:00] local.INFO: IMEI packet received {"connection_id":159534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":159534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:54:01] local.INFO: TCP Data received {"connection_id":159534,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:54:01] local.INFO: Processing buffer {"connection_id":159534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:54:01] local.INFO: Packet analysis {"connection_id":159534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:54:01] local.INFO: Extracted packet for processing {"connection_id":159534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564475392001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54: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-22 06:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787361533000,"timestamp_ms":1787361533000,"timestamp_seconds":1787361533,"priority":1,"record_length":96,"hex_timestamp":"000001a0270c9c48"} 
[2026-08-22 06: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-22 06:54:01] 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-22 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564475392001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564475392001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:54:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564475392001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":159534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:54:01] local.INFO: GPS data processed {"connection_id":159534,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:54:01] local.INFO: Acknowledgment sent {"connection_id":159534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:54:01] local.INFO: TCP Data received {"connection_id":159536,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027100b30012d17bf0007215ed00040008029..."} 
[2026-08-22 06:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027100b30012d17bf0007215ed00040008029..."} 
[2026-08-22 06:54:01] local.INFO: Processing buffer {"connection_id":159536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027100b30012d17bf0007215ed00040008029..."} 
[2026-08-22 06:54:01] local.INFO: Packet analysis {"connection_id":159536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02710"} 
[2026-08-22 06:54:01] local.INFO: Extracted packet for processing {"connection_id":159536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02710"} 
[2026-08-22 06:54:01] local.INFO: GPS Element Parsed {"raw_longitude":756530944,"raw_latitude":119627472,"longitude_deg":75.6530944,"latitude_deg":11.9627472,"altitude":64,"angle":128,"satellites":41,"speed":9,"hex_longitude":"2d17bf00","hex_latitude":"07215ed0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564609536001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14344065487208448,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710734570327932928,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:01] 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-22 06:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787361758000,"timestamp_ms":1787361758000,"timestamp_seconds":1787361758,"priority":1,"record_length":96,"hex_timestamp":"000001a027100b30"} 
[2026-08-22 06: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-22 06:54:01] 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-22 06: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 06:54:01] 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-22 06: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-22 06: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-22 06:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:54:01] 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-22 06:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564609536001,"66":14211,"107":206,"83":41984,"24":9,"16":14344065487208448,"45":1710734570327932928},"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-22 06:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564609536001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:54:01] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 06:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14344065487208448,"km_value":14344065487208.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710734570327932928,"description":"Unknown IO ID 45"} 
[2026-08-22 06:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564609536001,"power":14211,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1710734570327932928}} 
[2026-08-22 06:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":159536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:54:01] local.INFO: GPS data processed {"connection_id":159536,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:54:01] local.INFO: Acknowledgment sent {"connection_id":159536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:54:01] local.INFO: TCP Data received {"connection_id":159535,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:54:01] local.INFO: Processing buffer {"connection_id":159535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:54:01] local.INFO: IMEI packet received {"connection_id":159535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":159535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:54:02] local.INFO: TCP Data received {"connection_id":159535,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02710d268012d8b638005c3c2f0000001121a..."} 
[2026-08-22 06:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02710d268012d8b638005c3c2f0000001121a..."} 
[2026-08-22 06:54:02] local.INFO: Processing buffer {"connection_id":159535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02710d268012d8b638005c3c2f0000001121a..."} 
[2026-08-22 06:54:02] local.INFO: Packet analysis {"connection_id":159535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02710"} 
[2026-08-22 06:54:02] local.INFO: Extracted packet for processing {"connection_id":159535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02710"} 
[2026-08-22 06:54:02] local.INFO: GPS Element Parsed {"raw_longitude":764109696,"raw_latitude":96715504,"longitude_deg":76.4109696,"latitude_deg":9.6715504,"altitude":0,"angle":274,"satellites":26,"speed":43,"hex_longitude":"2d8b6380","hex_latitude":"05c3c2f0","is_valid_coordinates":true} 
[2026-08-22 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-22 06:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564620800001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122091278681767936,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8393583780753115136,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787361809000,"timestamp_ms":1787361809000,"timestamp_seconds":1787361809,"priority":1,"record_length":96,"hex_timestamp":"000001a02710d268"} 
[2026-08-22 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-22 06:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 06:54:02] 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-22 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-22 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-22 06:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:54:02] 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-22 06:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564620800001,"66":13515,"78":206,"83":16384,"24":43,"16":122091278681767936,"45":-8393583780753115136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,45]} 
[2026-08-22 06:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564620800001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:54:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-22 06:54:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122091278681767936,"km_value":122091278681767.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8393583780753115136,"description":"Unknown IO ID 45"} 
[2026-08-22 06:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564620800001,"power":13515,"unknown_78":206,"unknown_83":16384,"ignition":43,"odometer":null,"unknown_45":-8393583780753115136}} 
[2026-08-22 06:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":159535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:54:02] local.INFO: GPS data processed {"connection_id":159535,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:54:02] local.INFO: Acknowledgment sent {"connection_id":159535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:54:32] local.INFO: TCP Data received {"connection_id":159534,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:54:32] local.INFO: Processing buffer {"connection_id":159534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0270c9c48012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:54:32] local.INFO: Packet analysis {"connection_id":159534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:54:32] local.INFO: Extracted packet for processing {"connection_id":159534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0270c"} 
[2026-08-22 06:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:54: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-22 06:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564475392001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:32] 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-22 06:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787361533000,"timestamp_ms":1787361533000,"timestamp_seconds":1787361533,"priority":1,"record_length":96,"hex_timestamp":"000001a0270c9c48"} 
[2026-08-22 06:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:54:32] 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-22 06:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06:54: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-22 06:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564475392001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564475392001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:54:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564475392001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":159534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:54:32] local.INFO: GPS data processed {"connection_id":159534,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:54:32] local.INFO: Acknowledgment sent {"connection_id":159534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:54:32] local.INFO: TCP Data received {"connection_id":159536,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027112088012d181e400721a6380048006029..."} 
[2026-08-22 06:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027112088012d181e400721a6380048006029..."} 
[2026-08-22 06:54:32] local.INFO: Processing buffer {"connection_id":159536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027112088012d181e400721a6380048006029..."} 
[2026-08-22 06:54:32] local.INFO: Packet analysis {"connection_id":159536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:54:32] local.INFO: Extracted packet for processing {"connection_id":159536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:54:32] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119645752,"longitude_deg":75.6555328,"latitude_deg":11.9645752,"altitude":72,"angle":96,"satellites":41,"speed":10,"hex_longitude":"2d181e40","hex_latitude":"0721a638","is_valid_coordinates":true} 
[2026-08-22 06:54: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-22 06:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564627968001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14345719049617408,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864183808,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:32] local.INFO: IO Element Parsed {"io_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-22 06:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787361829000,"timestamp_ms":1787361829000,"timestamp_seconds":1787361829,"priority":1,"record_length":96,"hex_timestamp":"000001a027112088"} 
[2026-08-22 06:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:54:32] 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-22 06:54: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 06:54:32] 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-22 06:54: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-22 06:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:54:32] 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-22 06:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564627968001,"66":13167,"105":206,"83":41984,"24":10,"16":14345719049617408,"45":1737545061864183808},"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-22 06:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564627968001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:54:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:54:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14345719049617408,"km_value":14345719049617.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864183808,"description":"Unknown IO ID 45"} 
[2026-08-22 06:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564627968001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737545061864183808}} 
[2026-08-22 06:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":159536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:54:32] local.INFO: GPS data processed {"connection_id":159536,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:54:32] local.INFO: Acknowledgment sent {"connection_id":159536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:54:51] local.INFO: TCP Data received {"connection_id":160707,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:54:51] local.INFO: Processing buffer {"connection_id":160707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:54:51] local.INFO: IMEI packet received {"connection_id":160707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":160707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:54:55] local.INFO: TCP Data received {"connection_id":159535,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02710de20012d8b560005c3c278000001061a..."} 
[2026-08-22 06:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02710de20012d8b560005c3c278000001061a..."} 
[2026-08-22 06:54:55] local.INFO: Processing buffer {"connection_id":159535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02710de20012d8b560005c3c278000001061a..."} 
[2026-08-22 06:54:55] local.INFO: Packet analysis {"connection_id":159535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02710"} 
[2026-08-22 06:54:55] local.INFO: Extracted packet for processing {"connection_id":159535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02710"} 
[2026-08-22 06:54:55] local.INFO: GPS Element Parsed {"raw_longitude":764106240,"raw_latitude":96715384,"longitude_deg":76.410624,"latitude_deg":9.6715384,"altitude":0,"angle":262,"satellites":26,"speed":46,"hex_longitude":"2d8b5600","hex_latitude":"05c3c278","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564623104001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122091446185492480,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8402731717495689216,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787361812000,"timestamp_ms":1787361812000,"timestamp_seconds":1787361812,"priority":1,"record_length":96,"hex_timestamp":"000001a02710de20"} 
[2026-08-22 06: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-22 06:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-22 06:54: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-22 06: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-22 06: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-22 06:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:54:55] 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-22 06:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564623104001,"66":12885,"78":206,"83":16384,"24":46,"16":122091446185492480,"45":-8402731717495689216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,45]} 
[2026-08-22 06:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564623104001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:54:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-22 06:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122091446185492480,"km_value":122091446185492.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8402731717495689216,"description":"Unknown IO ID 45"} 
[2026-08-22 06:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564623104001,"power":12885,"unknown_78":206,"unknown_83":16384,"ignition":46,"odometer":null,"unknown_45":-8402731717495689216}} 
[2026-08-22 06:54:55] local.INFO: TCP Data received {"connection_id":160707,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:54:55] local.INFO: Processing buffer {"connection_id":160707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:54:55] local.INFO: IMEI packet received {"connection_id":160707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":160707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":159535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:54:55] local.INFO: GPS data processed {"connection_id":159535,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:54:55] local.INFO: Acknowledgment sent {"connection_id":159535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:54:56] local.INFO: TCP Data received {"connection_id":160707,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:54:56] local.INFO: Processing buffer {"connection_id":160707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:54:56] local.INFO: Packet analysis {"connection_id":160707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:54:56] local.INFO: Extracted packet for processing {"connection_id":160707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564552448001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:54: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-22 06:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787361835000,"timestamp_ms":1787361835000,"timestamp_seconds":1787361835,"priority":1,"record_length":96,"hex_timestamp":"000001a0271137f8"} 
[2026-08-22 06: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-22 06:54:56] 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-22 06:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564552448001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564552448001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:54:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564552448001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":160707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:54:56] local.INFO: GPS data processed {"connection_id":160707,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:54:56] local.INFO: Acknowledgment sent {"connection_id":160707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:54:59] local.INFO: TCP Data received {"connection_id":159537,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:54:59] local.INFO: Processing buffer {"connection_id":159537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:54:59] local.INFO: IMEI packet received {"connection_id":159537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":159537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:55:01] local.INFO: TCP Data received {"connection_id":162111,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:55:01] local.INFO: Processing buffer {"connection_id":162111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:55:01] local.INFO: IMEI packet received {"connection_id":162111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":162111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:55:04] local.INFO: TCP Data received {"connection_id":162111,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:55:04] local.INFO: Processing buffer {"connection_id":162111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:55:04] local.INFO: IMEI packet received {"connection_id":162111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":162111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:55:04] local.INFO: TCP Data received {"connection_id":159537,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:55:04] local.INFO: Processing buffer {"connection_id":159537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:55:04] local.INFO: IMEI packet received {"connection_id":159537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":159537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:55:04] local.INFO: TCP Data received {"connection_id":162111,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02710fd60012d8b31c005c3be280002010f1a..."} 
[2026-08-22 06:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02710fd60012d8b31c005c3be280002010f1a..."} 
[2026-08-22 06:55:04] local.INFO: Processing buffer {"connection_id":162111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02710fd60012d8b31c005c3be280002010f1a..."} 
[2026-08-22 06:55:04] local.INFO: Packet analysis {"connection_id":162111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02710"} 
[2026-08-22 06:55:04] local.INFO: Extracted packet for processing {"connection_id":162111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02710"} 
[2026-08-22 06:55:04] local.INFO: GPS Element Parsed {"raw_longitude":764096960,"raw_latitude":96714280,"longitude_deg":76.409696,"latitude_deg":9.671428,"altitude":2,"angle":271,"satellites":26,"speed":39,"hex_longitude":"2d8b31c0","hex_latitude":"05c3be28","is_valid_coordinates":true} 
[2026-08-22 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-22 06:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564623872001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122091892862091264,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8406531629681313792,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787361820000,"timestamp_ms":1787361820000,"timestamp_seconds":1787361820,"priority":1,"record_length":96,"hex_timestamp":"000001a02710fd60"} 
[2026-08-22 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-22 06:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 06:55:04] 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-22 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-22 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-22 06:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:55:04] 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-22 06:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564623872001,"66":13222,"78":206,"83":16384,"24":39,"16":122091892862091264,"45":-8406531629681313792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,45]} 
[2026-08-22 06:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564623872001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:55:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-22 06:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122091892862091264,"km_value":122091892862091.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8406531629681313792,"description":"Unknown IO ID 45"} 
[2026-08-22 06:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564623872001,"power":13222,"unknown_78":206,"unknown_83":16384,"ignition":39,"odometer":null,"unknown_45":-8406531629681313792}} 
[2026-08-22 06:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":162111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:55:04] local.INFO: GPS data processed {"connection_id":162111,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:55:04] local.INFO: Acknowledgment sent {"connection_id":162111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:55:04] local.INFO: TCP Data received {"connection_id":159537,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027112470012d181f400721a5f80048007228..."} 
[2026-08-22 06:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027112470012d181f400721a5f80048007228..."} 
[2026-08-22 06:55:04] local.INFO: Processing buffer {"connection_id":159537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027112470012d181f400721a5f80048007228..."} 
[2026-08-22 06:55:04] local.INFO: Packet analysis {"connection_id":159537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:55:04] local.INFO: Extracted packet for processing {"connection_id":159537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645688,"longitude_deg":75.6555584,"latitude_deg":11.9645688,"altitude":72,"angle":114,"satellites":40,"speed":8,"hex_longitude":"2d181f40","hex_latitude":"0721a5f8","is_valid_coordinates":true} 
[2026-08-22 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-22 06:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564628224001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14345727639552000,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585080320,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55:04] local.INFO: IO Element Parsed {"io_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-22 06:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787361830000,"timestamp_ms":1787361830000,"timestamp_seconds":1787361830,"priority":1,"record_length":96,"hex_timestamp":"000001a027112470"} 
[2026-08-22 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-22 06:55:04] 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-22 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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-22 06:55:04] 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-22 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-22 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-22 06:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:55:04] 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-22 06:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564628224001,"66":13167,"105":206,"83":41984,"24":8,"16":14345727639552000,"45":1737896905585080320},"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-22 06:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564628224001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:55:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14345727639552000,"km_value":14345727639552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585080320,"description":"Unknown IO ID 45"} 
[2026-08-22 06:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564628224001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737896905585080320}} 
[2026-08-22 06:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":159537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:55:05] local.INFO: GPS data processed {"connection_id":159537,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:55:05] local.INFO: Acknowledgment sent {"connection_id":159537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:55:09] local.INFO: TCP Data received {"connection_id":159537,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027112c40012d1820400721a5300049008029..."} 
[2026-08-22 06:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027112c40012d1820400721a5300049008029..."} 
[2026-08-22 06:55:09] local.INFO: Processing buffer {"connection_id":159537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027112c40012d1820400721a5300049008029..."} 
[2026-08-22 06:55:09] local.INFO: Packet analysis {"connection_id":159537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:55:09] local.INFO: Extracted packet for processing {"connection_id":159537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:55:09] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119645488,"longitude_deg":75.655584,"latitude_deg":11.9645488,"altitude":73,"angle":128,"satellites":41,"speed":9,"hex_longitude":"2d182040","hex_latitude":"0721a530","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564628480001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14345744819421184,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561774592,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55:09] local.INFO: IO Element Parsed {"io_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-22 06:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787361832000,"timestamp_ms":1787361832000,"timestamp_seconds":1787361832,"priority":1,"record_length":96,"hex_timestamp":"000001a027112c40"} 
[2026-08-22 06: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-22 06:55:09] 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-22 06: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-22 06:55:09] 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-22 06: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-22 06: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-22 06:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:55:09] 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-22 06:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564628480001,"66":13167,"105":206,"83":41984,"24":9,"16":14345744819421184,"45":1738178380561774592},"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-22 06:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564628480001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:55:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:55:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14345744819421184,"km_value":14345744819421.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561774592,"description":"Unknown IO ID 45"} 
[2026-08-22 06:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564628480001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738178380561774592}} 
[2026-08-22 06:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":159537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:55:09] local.INFO: GPS data processed {"connection_id":159537,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:55:09] local.INFO: Acknowledgment sent {"connection_id":159537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:55:27] local.INFO: TCP Data received {"connection_id":160707,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:55:27] local.INFO: Processing buffer {"connection_id":160707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:55:27] local.INFO: Packet analysis {"connection_id":160707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:55:27] local.INFO: Extracted packet for processing {"connection_id":160707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564552448001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55: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-22 06:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787361835000,"timestamp_ms":1787361835000,"timestamp_seconds":1787361835,"priority":1,"record_length":96,"hex_timestamp":"000001a0271137f8"} 
[2026-08-22 06:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:55:27] 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-22 06:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564552448001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564552448001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:55:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564552448001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":160707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:55:27] local.INFO: GPS data processed {"connection_id":160707,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:55:27] local.INFO: Acknowledgment sent {"connection_id":160707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:55:36] local.INFO: TCP Data received {"connection_id":162111,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027113028012d8b0e8005c3c0380006010f1a..."} 
[2026-08-22 06:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027113028012d8b0e8005c3c0380006010f1a..."} 
[2026-08-22 06:55:36] local.INFO: Processing buffer {"connection_id":162111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027113028012d8b0e8005c3c0380006010f1a..."} 
[2026-08-22 06:55:36] local.INFO: Packet analysis {"connection_id":162111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:55:36] local.INFO: Extracted packet for processing {"connection_id":162111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:55:36] local.INFO: GPS Element Parsed {"raw_longitude":764087936,"raw_latitude":96714808,"longitude_deg":76.4087936,"latitude_deg":9.6714808,"altitude":6,"angle":271,"satellites":26,"speed":31,"hex_longitude":"2d8b0e80","hex_latitude":"05c3c038","is_valid_coordinates":true} 
[2026-08-22 06:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564625920001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122092326653788160,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8416735097587357696,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787361833000,"timestamp_ms":1787361833000,"timestamp_seconds":1787361833,"priority":1,"record_length":96,"hex_timestamp":"000001a027113028"} 
[2026-08-22 06:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-22 06:55: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-22 06:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:55:36] 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-22 06:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564625920001,"66":13319,"79":206,"83":16384,"24":31,"16":122092326653788160,"45":-8416735097587357696},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,45]} 
[2026-08-22 06:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564625920001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:55:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-22 06:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122092326653788160,"km_value":122092326653788.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8416735097587357696,"description":"Unknown IO ID 45"} 
[2026-08-22 06:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564625920001,"power":13319,"unknown_79":206,"unknown_83":16384,"ignition":31,"odometer":null,"unknown_45":-8416735097587357696}} 
[2026-08-22 06:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":162111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:55:36] local.INFO: GPS data processed {"connection_id":162111,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:55:36] local.INFO: Acknowledgment sent {"connection_id":162111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:55:49] local.INFO: TCP Data received {"connection_id":162112,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:55:49] local.INFO: Processing buffer {"connection_id":162112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:55:49] local.INFO: IMEI packet received {"connection_id":162112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":162112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:55:50] local.INFO: TCP Data received {"connection_id":159790,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:55:50] local.INFO: Processing buffer {"connection_id":159790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:55:50] local.INFO: IMEI packet received {"connection_id":159790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":159790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:55:54] local.INFO: TCP Data received {"connection_id":159790,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:55:54] local.INFO: Processing buffer {"connection_id":159790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:55:54] local.INFO: IMEI packet received {"connection_id":159790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":159790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:55:55] local.INFO: TCP Data received {"connection_id":162112,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:55:55] local.INFO: Processing buffer {"connection_id":162112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:55:55] local.INFO: IMEI packet received {"connection_id":162112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":162112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:55:56] local.INFO: TCP Data received {"connection_id":162112,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:55:56] local.INFO: Processing buffer {"connection_id":162112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:55:56] local.INFO: Packet analysis {"connection_id":162112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:55:56] local.INFO: Extracted packet for processing {"connection_id":162112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564552448001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:55: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-22 06:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787361835000,"timestamp_ms":1787361835000,"timestamp_seconds":1787361835,"priority":1,"record_length":96,"hex_timestamp":"000001a0271137f8"} 
[2026-08-22 06: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-22 06:55:56] 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-22 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564552448001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564552448001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:55:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564552448001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":162112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:55:56] local.INFO: GPS data processed {"connection_id":162112,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:55:56] local.INFO: Acknowledgment sent {"connection_id":162112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:55:56] local.INFO: TCP Data received {"connection_id":159538,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:55:56] local.INFO: Processing buffer {"connection_id":159538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:55:56] local.INFO: IMEI packet received {"connection_id":159538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":159538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:55:57] local.INFO: TCP Data received {"connection_id":159538,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:55:57] local.INFO: Processing buffer {"connection_id":159538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:55:57] local.INFO: IMEI packet received {"connection_id":159538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":159538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:55:59] local.INFO: TCP Data received {"connection_id":159790,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:55:59] local.INFO: Processing buffer {"connection_id":159790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:55:59] local.INFO: IMEI packet received {"connection_id":159790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":159790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:56:00] local.INFO: TCP Data received {"connection_id":159790,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271137f8012d1822c00721a2d00049008f2a..."} 
[2026-08-22 06:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271137f8012d1822c00721a2d00049008f2a..."} 
[2026-08-22 06:56:00] local.INFO: Processing buffer {"connection_id":159790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271137f8012d1822c00721a2d00049008f2a..."} 
[2026-08-22 06:56:00] local.INFO: Packet analysis {"connection_id":159790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:56:00] local.INFO: Extracted packet for processing {"connection_id":159790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:56:00] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119644880,"longitude_deg":75.655648,"latitude_deg":11.964488,"altitude":73,"angle":143,"satellites":42,"speed":13,"hex_longitude":"2d1822c0","hex_latitude":"0721a2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564628992001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14345787769094144,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538434048,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:00] local.INFO: IO Element Parsed {"io_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-22 06:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787361835000,"timestamp_ms":1787361835000,"timestamp_seconds":1787361835,"priority":1,"record_length":96,"hex_timestamp":"000001a0271137f8"} 
[2026-08-22 06: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-22 06:56:00] 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-22 06: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-22 06:56:00] 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-22 06: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-22 06: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-22 06:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:56:00] 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-22 06:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564628992001,"66":13167,"105":206,"83":41984,"24":13,"16":14345787769094144,"45":1738459855538434048},"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-22 06:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564628992001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:56:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:56:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14345787769094144,"km_value":14345787769094.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538434048,"description":"Unknown IO ID 45"} 
[2026-08-22 06:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564628992001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1738459855538434048}} 
[2026-08-22 06:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":159790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:56:00] local.INFO: GPS data processed {"connection_id":159790,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:56:00] local.INFO: Acknowledgment sent {"connection_id":159790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:56:01] local.INFO: TCP Data received {"connection_id":159538,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:56:01] local.INFO: Processing buffer {"connection_id":159538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:56:01] local.INFO: IMEI packet received {"connection_id":159538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":159538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:56:02] local.INFO: TCP Data received {"connection_id":159538,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027115738012d8ae88005c3c340000901121a..."} 
[2026-08-22 06:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027115738012d8ae88005c3c340000901121a..."} 
[2026-08-22 06:56:02] local.INFO: Processing buffer {"connection_id":159538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027115738012d8ae88005c3c340000901121a..."} 
[2026-08-22 06:56:02] local.INFO: Packet analysis {"connection_id":159538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:56:02] local.INFO: Extracted packet for processing {"connection_id":159538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:56:02] local.INFO: GPS Element Parsed {"raw_longitude":764078208,"raw_latitude":96715584,"longitude_deg":76.4078208,"latitude_deg":9.6715584,"altitude":9,"angle":274,"satellites":26,"speed":43,"hex_longitude":"2d8ae880","hex_latitude":"05c3c340","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564629248001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122092790510256128,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8426657090516273152,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787361843000,"timestamp_ms":1787361843000,"timestamp_seconds":1787361843,"priority":1,"record_length":96,"hex_timestamp":"000001a027115738"} 
[2026-08-22 06: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-22 06:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-22 06:56:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4746795302378242053,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2340683781,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:02] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13476942,"corrected_to":0} 
[2026-08-22 06:56:02] local.WARNING: Large IO value detected {"io_id":195,"raw_value":-5366038955995358720,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2756575438,"corrected_to":0} 
[2026-08-22 06:56:02] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511012,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:02] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3232366592,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3283226624,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:02] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57883025153610560,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:02] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,79,83,24,241,157,16,194,160,253,45,192,190,2,26,10,66,78,193,222,210,128,1,240,203,227,39,195,4,113,205,25,93,161,152,239,48,177,5,43,122],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":203,"original":13476942,"validated":0},{"io_id":205,"original":2756575438,"validated":0}]} 
[2026-08-22 06:56:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432643643549876224,"timestamp_seconds":432643643549876.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:56:02] 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-22 06:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564629248001,"66":13319,"79":206,"83":16384,"24":43,"16":122092790510256128,"45":-8426657090516273152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,45]} 
[2026-08-22 06:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564629248001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:56:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-22 06:56:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122092790510256128,"km_value":122092790510256.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8426657090516273152,"description":"Unknown IO ID 45"} 
[2026-08-22 06:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564629248001,"power":13319,"unknown_79":206,"unknown_83":16384,"ignition":43,"odometer":null,"unknown_45":-8426657090516273152}} 
[2026-08-22 06:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":159538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:56:02] local.INFO: GPS data processed {"connection_id":159538,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:56:02] local.INFO: Acknowledgment sent {"connection_id":159538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:56:27] local.INFO: TCP Data received {"connection_id":162112,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:56:27] local.INFO: Processing buffer {"connection_id":162112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:56:27] local.INFO: Packet analysis {"connection_id":162112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:56:27] local.INFO: Extracted packet for processing {"connection_id":162112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564552448001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56: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-22 06:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787361835000,"timestamp_ms":1787361835000,"timestamp_seconds":1787361835,"priority":1,"record_length":96,"hex_timestamp":"000001a0271137f8"} 
[2026-08-22 06: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-22 06:56:27] 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-22 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564552448001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564552448001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:56:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564552448001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":162112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:56:27] local.INFO: GPS data processed {"connection_id":162112,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:56:27] local.INFO: Acknowledgment sent {"connection_id":162112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:56:31] local.INFO: TCP Data received {"connection_id":159790,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027113fc8012d1824800721a0f0004b00812a..."} 
[2026-08-22 06:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027113fc8012d1824800721a0f0004b00812a..."} 
[2026-08-22 06:56:31] local.INFO: Processing buffer {"connection_id":159790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027113fc8012d1824800721a0f0004b00812a..."} 
[2026-08-22 06:56:31] local.INFO: Packet analysis {"connection_id":159790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:56:31] local.INFO: Extracted packet for processing {"connection_id":159790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119644400,"longitude_deg":75.6556928,"latitude_deg":11.96444,"altitude":75,"angle":129,"satellites":42,"speed":14,"hex_longitude":"2d182480","hex_latitude":"0721a0f0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564629760001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14345822128832512,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542980055040,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:31] local.INFO: IO Element Parsed {"io_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-22 06:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787361837000,"timestamp_ms":1787361837000,"timestamp_seconds":1787361837,"priority":1,"record_length":96,"hex_timestamp":"000001a027113fc8"} 
[2026-08-22 06: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-22 06:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-22 06:56:31] 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-22 06: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-22 06: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-22 06:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:56:31] 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-22 06:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564629760001,"66":13243,"105":206,"83":41984,"24":14,"16":14345822128832512,"45":1739163542980055040},"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-22 06:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564629760001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:56:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:56:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14345822128832512,"km_value":14345822128832.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542980055040,"description":"Unknown IO ID 45"} 
[2026-08-22 06:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564629760001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1739163542980055040}} 
[2026-08-22 06:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":159790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:56:31] local.INFO: GPS data processed {"connection_id":159790,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:56:31] local.INFO: Acknowledgment sent {"connection_id":159790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:56:33] local.INFO: TCP Data received {"connection_id":159538,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027118618012d8ac48005c3c938000601211a..."} 
[2026-08-22 06:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027118618012d8ac48005c3c938000601211a..."} 
[2026-08-22 06:56:33] local.INFO: Processing buffer {"connection_id":159538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027118618012d8ac48005c3c938000601211a..."} 
[2026-08-22 06:56:33] local.INFO: Packet analysis {"connection_id":159538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:56:33] local.INFO: Extracted packet for processing {"connection_id":159538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:56:33] local.INFO: GPS Element Parsed {"raw_longitude":764068992,"raw_latitude":96717112,"longitude_deg":76.4068992,"latitude_deg":9.6717112,"altitude":6,"angle":289,"satellites":26,"speed":28,"hex_longitude":"2d8ac480","hex_latitude":"05c3c938","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564631808001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122093241481822208,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8437353139631079424,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787361855000,"timestamp_ms":1787361855000,"timestamp_seconds":1787361855,"priority":1,"record_length":96,"hex_timestamp":"000001a027118618"} 
[2026-08-22 06: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-22 06:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-22 06:56:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5872695209219719173,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2338553861,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:33] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:33] local.WARNING: Large IO value detected {"io_id":195,"raw_value":-5615988735313438208,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2756575438,"corrected_to":0} 
[2026-08-22 06:56:33] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040164,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:33] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3237937152,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3283326976,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:33] local.WARNING: Large IO value detected {"io_id":173,"raw_value":57883025153610560,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:33] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,79,83,24,241,157,16,194,160,48,45,128,192,6,26,10,66,253,190,2,78,193,222,1,240,85,227,39,195,4,113,205,43,175,132,248,239,51,177,5,40,173],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2756575438,"validated":0}]} 
[2026-08-22 06:56:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648819724199329792,"timestamp_seconds":648819724199329.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 06: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-22 06:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:56:33] 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-22 06:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564631808001,"66":13526,"79":206,"83":16384,"24":28,"16":122093241481822208,"45":-8437353139631079424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,45]} 
[2026-08-22 06:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564631808001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:56:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-22 06:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-22 06:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122093241481822208,"km_value":122093241481822.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8437353139631079424,"description":"Unknown IO ID 45"} 
[2026-08-22 06:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564631808001,"power":13526,"unknown_79":206,"unknown_83":16384,"ignition":28,"odometer":null,"unknown_45":-8437353139631079424}} 
[2026-08-22 06:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":159538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:56:33] local.INFO: GPS data processed {"connection_id":159538,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:56:33] local.INFO: Acknowledgment sent {"connection_id":159538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:56:49] local.INFO: TCP Data received {"connection_id":160708,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:56:49] local.INFO: Processing buffer {"connection_id":160708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:56:49] local.INFO: IMEI packet received {"connection_id":160708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":160708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:56:54] local.INFO: TCP Data received {"connection_id":162113,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:56:54] local.INFO: Processing buffer {"connection_id":162113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:56:54] local.INFO: IMEI packet received {"connection_id":162113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":162113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:56:54] local.INFO: TCP Data received {"connection_id":159791,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:56:54] local.INFO: Processing buffer {"connection_id":159791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:56:54] local.INFO: IMEI packet received {"connection_id":159791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":159791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:56:54] local.INFO: TCP Data received {"connection_id":162113,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:56:54] local.INFO: Processing buffer {"connection_id":162113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:56:54] local.INFO: IMEI packet received {"connection_id":162113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":162113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:56:55] local.INFO: TCP Data received {"connection_id":160708,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:56:55] local.INFO: Processing buffer {"connection_id":160708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:56:55] local.INFO: IMEI packet received {"connection_id":160708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":160708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:56:56] local.INFO: TCP Data received {"connection_id":160708,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:56:56] local.INFO: Processing buffer {"connection_id":160708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:56:56] local.INFO: Packet analysis {"connection_id":160708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:56:56] local.INFO: Extracted packet for processing {"connection_id":160708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564552448001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56: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-22 06:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787361835000,"timestamp_ms":1787361835000,"timestamp_seconds":1787361835,"priority":1,"record_length":96,"hex_timestamp":"000001a0271137f8"} 
[2026-08-22 06: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-22 06:56:56] 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-22 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564552448001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564552448001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:56:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564552448001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":160708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:56:56] local.INFO: GPS data processed {"connection_id":160708,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:56:56] local.INFO: Acknowledgment sent {"connection_id":160708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:56:56] local.INFO: TCP Data received {"connection_id":159791,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:56:56] local.INFO: Processing buffer {"connection_id":159791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:56:56] local.INFO: IMEI packet received {"connection_id":159791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":159791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:56:59] local.INFO: TCP Data received {"connection_id":162113,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:56:59] local.INFO: Processing buffer {"connection_id":162113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:56:59] local.INFO: IMEI packet received {"connection_id":162113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":162113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:56:59] local.INFO: TCP Data received {"connection_id":162113,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271166d8012d18318007219810004e00752a..."} 
[2026-08-22 06:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271166d8012d18318007219810004e00752a..."} 
[2026-08-22 06:56:59] local.INFO: Processing buffer {"connection_id":162113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271166d8012d18318007219810004e00752a..."} 
[2026-08-22 06:56:59] local.INFO: Packet analysis {"connection_id":162113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:56:59] local.INFO: Extracted packet for processing {"connection_id":162113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:56:59] local.INFO: GPS Element Parsed {"raw_longitude":756560256,"raw_latitude":119642128,"longitude_deg":75.6560256,"latitude_deg":11.9642128,"altitude":78,"angle":117,"satellites":42,"speed":14,"hex_longitude":"2d183180","hex_latitude":"07219810","is_valid_coordinates":true} 
[2026-08-22 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-22 06:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564630272001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14346015402360832,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124189175808,"note":"Value kept but may cause issues"} 
[2026-08-22 06:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787361847000,"timestamp_ms":1787361847000,"timestamp_seconds":1787361847,"priority":1,"record_length":96,"hex_timestamp":"000001a0271166d8"} 
[2026-08-22 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-22 06:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-22 06:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 06:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:56:59] 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-22 06:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564630272001,"66":13135,"105":206,"83":41984,"24":14,"16":14346015402360832,"45":1739656124189175808},"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-22 06:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564630272001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:56:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:56:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14346015402360832,"km_value":14346015402360.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124189175808,"description":"Unknown IO ID 45"} 
[2026-08-22 06:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564630272001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1739656124189175808}} 
[2026-08-22 06:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":162113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:57:00] local.INFO: GPS data processed {"connection_id":162113,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:57:00] local.INFO: Acknowledgment sent {"connection_id":162113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:57:01] local.INFO: TCP Data received {"connection_id":159791,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:57:01] local.INFO: Processing buffer {"connection_id":159791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:57:01] local.INFO: IMEI packet received {"connection_id":159791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":159791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:57:02] local.INFO: TCP Data received {"connection_id":159791,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027138da0012d89d34005c42078000701221f..."} 
[2026-08-22 06:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027138da0012d89d34005c42078000701221f..."} 
[2026-08-22 06:57:02] local.INFO: Processing buffer {"connection_id":159791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027138da0012d89d34005c42078000701221f..."} 
[2026-08-22 06:57:02] local.INFO: Packet analysis {"connection_id":159791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02713"} 
[2026-08-22 06:57:02] local.INFO: Extracted packet for processing {"connection_id":159791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02713"} 
[2026-08-22 06:57:02] local.INFO: GPS Element Parsed {"raw_longitude":764007232,"raw_latitude":96739448,"longitude_deg":76.4007232,"latitude_deg":9.6739448,"altitude":7,"angle":290,"satellites":31,"speed":32,"hex_longitude":"2d89d340","hex_latitude":"05c42078","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564665344001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122096385397882880,"note":"Value kept but may cause issues"} 
[2026-08-22 06:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8505681190222290944,"note":"Value kept but may cause issues"} 
[2026-08-22 06:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787361988000,"timestamp_ms":1787361988000,"timestamp_seconds":1787361988,"priority":1,"record_length":96,"hex_timestamp":"000001a027138da0"} 
[2026-08-22 06: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-22 06:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 06: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 06:57:02] 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-22 06: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-22 06: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-22 06:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:57:02] 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-22 06:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564665344001,"66":13222,"189":206,"85":12288,"24":32,"16":122096385397882880,"45":-8505681190222290944},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-22 06:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564665344001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:57:02] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-22 06:57:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 06:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122096385397882880,"km_value":122096385397882.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8505681190222290944,"description":"Unknown IO ID 45"} 
[2026-08-22 06:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564665344001,"power":13222,"unknown_189":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":-8505681190222290944}} 
[2026-08-22 06:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":159791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:57:02] local.INFO: GPS data processed {"connection_id":159791,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:57:02] local.INFO: Acknowledgment sent {"connection_id":159791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:57:27] local.INFO: TCP Data received {"connection_id":160708,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:57:27] local.INFO: Processing buffer {"connection_id":160708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:57:27] local.INFO: Packet analysis {"connection_id":160708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:57:27] local.INFO: Extracted packet for processing {"connection_id":160708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564552448001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:57: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-22 06:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787361835000,"timestamp_ms":1787361835000,"timestamp_seconds":1787361835,"priority":1,"record_length":96,"hex_timestamp":"000001a0271137f8"} 
[2026-08-22 06: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-22 06:57:27] 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-22 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564552448001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564552448001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:57:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564552448001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":160708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:57:27] local.INFO: GPS data processed {"connection_id":160708,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:57:27] local.INFO: Acknowledgment sent {"connection_id":160708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:57:30] local.INFO: TCP Data received {"connection_id":162113,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027117290012d18348007219708004f00562a..."} 
[2026-08-22 06:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027117290012d18348007219708004f00562a..."} 
[2026-08-22 06:57:30] local.INFO: Processing buffer {"connection_id":162113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027117290012d18348007219708004f00562a..."} 
[2026-08-22 06:57:30] local.INFO: Packet analysis {"connection_id":162113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:57:30] local.INFO: Extracted packet for processing {"connection_id":162113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:57:30] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119641864,"longitude_deg":75.6561024,"latitude_deg":11.9641864,"altitude":79,"angle":86,"satellites":42,"speed":9,"hex_longitude":"2d183480","hex_latitude":"07219708","is_valid_coordinates":true} 
[2026-08-22 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-22 06:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564632832001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14346054057066496,"note":"Value kept but may cause issues"} 
[2026-08-22 06:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743315298885832704,"note":"Value kept but may cause issues"} 
[2026-08-22 06:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787361850000,"timestamp_ms":1787361850000,"timestamp_seconds":1787361850,"priority":1,"record_length":96,"hex_timestamp":"000001a027117290"} 
[2026-08-22 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-22 06:57:30] 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-22 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-22 06:57:30] 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-22 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-22 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-22 06:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:57:30] 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-22 06:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564632832001,"66":13167,"105":206,"83":41984,"24":9,"16":14346054057066496,"45":1743315298885832704},"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-22 06:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564632832001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:57:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:57:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14346054057066496,"km_value":14346054057066.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743315298885832704,"description":"Unknown IO ID 45"} 
[2026-08-22 06:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564632832001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1743315298885832704}} 
[2026-08-22 06:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":162113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:57:31] local.INFO: GPS data processed {"connection_id":162113,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:57:31] local.INFO: Acknowledgment sent {"connection_id":162113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:57:33] local.INFO: TCP Data received {"connection_id":159791,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02713bc80012d89b1c005c42c90000801211f..."} 
[2026-08-22 06:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02713bc80012d89b1c005c42c90000801211f..."} 
[2026-08-22 06:57:33] local.INFO: Processing buffer {"connection_id":159791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02713bc80012d89b1c005c42c90000801211f..."} 
[2026-08-22 06:57:33] local.INFO: Packet analysis {"connection_id":159791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02713"} 
[2026-08-22 06:57:33] local.INFO: Extracted packet for processing {"connection_id":159791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02713"} 
[2026-08-22 06:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763998656,"raw_latitude":96742544,"longitude_deg":76.3998656,"latitude_deg":9.6742544,"altitude":8,"angle":289,"satellites":31,"speed":24,"hex_longitude":"2d89b1c0","hex_latitude":"05c42c90","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564668928001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122096823484547072,"note":"Value kept but may cause issues"} 
[2026-08-22 06:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8515392076917999616,"note":"Value kept but may cause issues"} 
[2026-08-22 06:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787362000000,"timestamp_ms":1787362000000,"timestamp_seconds":1787362000,"priority":1,"record_length":96,"hex_timestamp":"000001a02713bc80"} 
[2026-08-22 06: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-22 06:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-22 06:57:33] 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-22 06: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-22 06: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-22 06:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:57:33] 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-22 06:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564668928001,"66":13428,"189":206,"85":12288,"24":24,"16":122096823484547072,"45":-8515392076917999616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-22 06:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564668928001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:57:33] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-22 06:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 06:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122096823484547072,"km_value":122096823484547.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8515392076917999616,"description":"Unknown IO ID 45"} 
[2026-08-22 06:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564668928001,"power":13428,"unknown_189":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":-8515392076917999616}} 
[2026-08-22 06:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":159791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:57:33] local.INFO: GPS data processed {"connection_id":159791,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:57:33] local.INFO: Acknowledgment sent {"connection_id":159791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:57:49] local.INFO: TCP Data received {"connection_id":159539,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:57:50] local.INFO: Processing buffer {"connection_id":159539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:57:50] local.INFO: IMEI packet received {"connection_id":159539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":159539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:57:51] local.INFO: TCP Data received {"connection_id":159540,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:57:51] local.INFO: Processing buffer {"connection_id":159540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:57:51] local.INFO: IMEI packet received {"connection_id":159540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":159540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:57:53] local.INFO: TCP Data received {"connection_id":159540,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:57:53] local.INFO: Processing buffer {"connection_id":159540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:57:53] local.INFO: IMEI packet received {"connection_id":159540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":159540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:57:55] local.INFO: TCP Data received {"connection_id":159539,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:57:55] local.INFO: Processing buffer {"connection_id":159539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:57:55] local.INFO: IMEI packet received {"connection_id":159539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":159539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:57:56] local.INFO: TCP Data received {"connection_id":159539,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:57:56] local.INFO: Processing buffer {"connection_id":159539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:57:56] local.INFO: Packet analysis {"connection_id":159539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:57:56] local.INFO: Extracted packet for processing {"connection_id":159539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564552448001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787361835000,"timestamp_ms":1787361835000,"timestamp_seconds":1787361835,"priority":1,"record_length":96,"hex_timestamp":"000001a0271137f8"} 
[2026-08-22 06: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-22 06:57:56] 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-22 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564552448001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564552448001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:57:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564552448001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":159539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:57:56] local.INFO: GPS data processed {"connection_id":159539,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:57:56] local.INFO: Acknowledgment sent {"connection_id":159539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:57:56] local.INFO: TCP Data received {"connection_id":159541,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:57:56] local.INFO: Processing buffer {"connection_id":159541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:57:56] local.INFO: IMEI packet received {"connection_id":159541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":159541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:57:59] local.INFO: TCP Data received {"connection_id":159540,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:57:59] local.INFO: Processing buffer {"connection_id":159540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:57:59] local.INFO: IMEI packet received {"connection_id":159540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":159540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:58:00] local.INFO: TCP Data received {"connection_id":159540,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02711c498012d183680072196b8004f005427..."} 
[2026-08-22 06:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02711c498012d183680072196b8004f005427..."} 
[2026-08-22 06:58:00] local.INFO: Processing buffer {"connection_id":159540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02711c498012d183680072196b8004f005427..."} 
[2026-08-22 06:58:00] local.INFO: Packet analysis {"connection_id":159540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:58:00] local.INFO: Extracted packet for processing {"connection_id":159540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:58:00] local.INFO: GPS Element Parsed {"raw_longitude":756561536,"raw_latitude":119641784,"longitude_deg":75.6561536,"latitude_deg":11.9641784,"altitude":79,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d183680","hex_latitude":"072196b8","is_valid_coordinates":true} 
[2026-08-22 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-22 06:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564633600001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14346079826870272,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744159723815897088,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:00] local.INFO: IO Element Parsed {"io_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-22 06:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787361871000,"timestamp_ms":1787361871000,"timestamp_seconds":1787361871,"priority":1,"record_length":96,"hex_timestamp":"000001a02711c498"} 
[2026-08-22 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-22 06:58:00] 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-22 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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-22 06:58:00] 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-22 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-22 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-22 06:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:58:00] 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-22 06:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564633600001,"66":13102,"105":206,"83":41984,"24":0,"16":14346079826870272,"45":1744159723815897088},"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-22 06:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564633600001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:58:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:58:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14346079826870272,"km_value":14346079826870.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744159723815897088,"description":"Unknown IO ID 45"} 
[2026-08-22 06:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564633600001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744159723815897088}} 
[2026-08-22 06:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":159540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:58:00] local.INFO: GPS data processed {"connection_id":159540,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:58:00] local.INFO: Acknowledgment sent {"connection_id":159540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:58:00] local.INFO: TCP Data received {"connection_id":159541,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:58:00] local.INFO: Processing buffer {"connection_id":159541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:58:00] local.INFO: IMEI packet received {"connection_id":159541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":159541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:58:01] local.INFO: TCP Data received {"connection_id":159541,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02713ef48012d898e4005c439480008012220..."} 
[2026-08-22 06:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02713ef48012d898e4005c439480008012220..."} 
[2026-08-22 06:58:01] local.INFO: Processing buffer {"connection_id":159541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02713ef48012d898e4005c439480008012220..."} 
[2026-08-22 06:58:01] local.INFO: Packet analysis {"connection_id":159541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02713"} 
[2026-08-22 06:58:01] local.INFO: Extracted packet for processing {"connection_id":159541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02713"} 
[2026-08-22 06:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763989568,"raw_latitude":96745800,"longitude_deg":76.3989568,"latitude_deg":9.67458,"altitude":8,"angle":290,"satellites":32,"speed":29,"hex_longitude":"2d898e40","hex_latitude":"05c43948","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564672000001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122097283046047744,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8524821488637014016,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787362013000,"timestamp_ms":1787362013000,"timestamp_seconds":1787362013,"priority":1,"record_length":96,"hex_timestamp":"000001a02713ef48"} 
[2026-08-22 06: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-22 06:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-22 06:58:01] 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-22 06: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-22 06: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-22 06:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:58:01] 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-22 06:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564672000001,"66":13178,"189":206,"85":12288,"24":29,"16":122097283046047744,"45":-8524821488637014016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-22 06:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564672000001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:58:01] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-22 06:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 06:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122097283046047744,"km_value":122097283046047.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8524821488637014016,"description":"Unknown IO ID 45"} 
[2026-08-22 06:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564672000001,"power":13178,"unknown_189":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":-8524821488637014016}} 
[2026-08-22 06:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":159541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:58:01] local.INFO: GPS data processed {"connection_id":159541,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:58:01] local.INFO: Acknowledgment sent {"connection_id":159541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:58:27] local.INFO: TCP Data received {"connection_id":159539,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:58:27] local.INFO: Processing buffer {"connection_id":159539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:58:27] local.INFO: Packet analysis {"connection_id":159539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:58:27] local.INFO: Extracted packet for processing {"connection_id":159539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564552448001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58: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-22 06:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787361835000,"timestamp_ms":1787361835000,"timestamp_seconds":1787361835,"priority":1,"record_length":96,"hex_timestamp":"000001a0271137f8"} 
[2026-08-22 06: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-22 06:58:27] 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-22 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564552448001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564552448001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:58:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564552448001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":159539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:58:27] local.INFO: GPS data processed {"connection_id":159539,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:58:27] local.INFO: Acknowledgment sent {"connection_id":159539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:58:31] local.INFO: TCP Data received {"connection_id":159540,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271216a0012d183680072196b8004f005428..."} 
[2026-08-22 06:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271216a0012d183680072196b8004f005428..."} 
[2026-08-22 06:58:31] local.INFO: Processing buffer {"connection_id":159540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271216a0012d183680072196b8004f005428..."} 
[2026-08-22 06:58:31] local.INFO: Packet analysis {"connection_id":159540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02712"} 
[2026-08-22 06:58:31] local.INFO: Extracted packet for processing {"connection_id":159540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02712"} 
[2026-08-22 06:58:31] local.INFO: GPS Element Parsed {"raw_longitude":756561536,"raw_latitude":119641784,"longitude_deg":75.6561536,"latitude_deg":11.9641784,"altitude":79,"angle":84,"satellites":40,"speed":0,"hex_longitude":"2d183680","hex_latitude":"072196b8","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564638976001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14346079826870272,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744722673769297920,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:31] local.INFO: IO Element Parsed {"io_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-22 06:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787361892000,"timestamp_ms":1787361892000,"timestamp_seconds":1787361892,"priority":1,"record_length":96,"hex_timestamp":"000001a0271216a0"} 
[2026-08-22 06: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-22 06:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 06:58:31] 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-22 06: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-22 06: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-22 06:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:58:31] 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-22 06:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564638976001,"66":13048,"105":206,"83":41984,"24":0,"16":14346079826870272,"45":1744722673769297920},"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-22 06:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564638976001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:58:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 06:58:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14346079826870272,"km_value":14346079826870.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744722673769297920,"description":"Unknown IO ID 45"} 
[2026-08-22 06:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564638976001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744722673769297920}} 
[2026-08-22 06:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":159540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:58:31] local.INFO: GPS data processed {"connection_id":159540,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:58:31] local.INFO: Acknowledgment sent {"connection_id":159540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:58:32] local.INFO: TCP Data received {"connection_id":159541,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027142dc8012d896cc005c445400006011f20..."} 
[2026-08-22 06:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027142dc8012d896cc005c445400006011f20..."} 
[2026-08-22 06:58:32] local.INFO: Processing buffer {"connection_id":159541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027142dc8012d896cc005c445400006011f20..."} 
[2026-08-22 06:58:32] local.INFO: Packet analysis {"connection_id":159541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02714"} 
[2026-08-22 06:58:32] local.INFO: Extracted packet for processing {"connection_id":159541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02714"} 
[2026-08-22 06:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763980992,"raw_latitude":96748864,"longitude_deg":76.3980992,"latitude_deg":9.6748864,"altitude":6,"angle":287,"satellites":32,"speed":11,"hex_longitude":"2d896cc0","hex_latitude":"05c44540","is_valid_coordinates":true} 
[2026-08-22 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-22 06:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564675328001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122097721132711936,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8534813850309408768,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787362029000,"timestamp_ms":1787362029000,"timestamp_seconds":1787362029,"priority":1,"record_length":96,"hex_timestamp":"000001a027142dc8"} 
[2026-08-22 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-22 06:58: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-22 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-22 06:58:32] 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-22 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-22 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-22 06:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:58:32] 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-22 06:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564675328001,"66":12939,"189":206,"85":12288,"24":11,"16":122097721132711936,"45":-8534813850309408768},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-22 06:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564675328001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:58:32] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-22 06:58:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 06:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122097721132711936,"km_value":122097721132711.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8534813850309408768,"description":"Unknown IO ID 45"} 
[2026-08-22 06:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564675328001,"power":12939,"unknown_189":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":-8534813850309408768}} 
[2026-08-22 06:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":159541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:58:32] local.INFO: GPS data processed {"connection_id":159541,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:58:32] local.INFO: Acknowledgment sent {"connection_id":159541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:58:52] local.INFO: TCP Data received {"connection_id":162115,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:58:52] local.INFO: Processing buffer {"connection_id":162115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:58:52] local.INFO: IMEI packet received {"connection_id":162115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":162115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:58:53] local.INFO: TCP Data received {"connection_id":162115,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:58:53] local.INFO: Processing buffer {"connection_id":162115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:58:53] local.INFO: IMEI packet received {"connection_id":162115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":162115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:58:55] local.INFO: TCP Data received {"connection_id":162114,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:58:55] local.INFO: Processing buffer {"connection_id":162114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:58:55] local.INFO: IMEI packet received {"connection_id":162114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":162114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:58:57] local.INFO: TCP Data received {"connection_id":162115,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:58:57] local.INFO: Processing buffer {"connection_id":162115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:58:57] local.INFO: IMEI packet received {"connection_id":162115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":162115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:58:57] local.INFO: TCP Data received {"connection_id":162115,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02714e560012d18a800072174c8004c006e2a..."} 
[2026-08-22 06:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02714e560012d18a800072174c8004c006e2a..."} 
[2026-08-22 06:58:57] local.INFO: Processing buffer {"connection_id":162115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02714e560012d18a800072174c8004c006e2a..."} 
[2026-08-22 06:58:57] local.INFO: Packet analysis {"connection_id":162115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02714"} 
[2026-08-22 06:58:57] local.INFO: Extracted packet for processing {"connection_id":162115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02714"} 
[2026-08-22 06:58:57] local.INFO: GPS Element Parsed {"raw_longitude":756590592,"raw_latitude":119633096,"longitude_deg":75.6590592,"latitude_deg":11.9633096,"altitude":76,"angle":110,"satellites":42,"speed":20,"hex_longitude":"2d18a800","hex_latitude":"072174c8","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564688128001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14347548705685504,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766888828183855104,"note":"Value kept but may cause issues"} 
[2026-08-22 06:58:57] 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-22 06:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787362076000,"timestamp_ms":1787362076000,"timestamp_seconds":1787362076,"priority":1,"record_length":96,"hex_timestamp":"000001a02714e560"} 
[2026-08-22 06: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-22 06:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 06:58:57] 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-22 06: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-22 06: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-22 06:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:58:57] 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-22 06:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564688128001,"66":12722,"106":206,"83":41984,"24":20,"16":14347548705685504,"45":1766888828183855104},"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-22 06:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564688128001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:58:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 06:58:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14347548705685504,"km_value":14347548705685.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766888828183855104,"description":"Unknown IO ID 45"} 
[2026-08-22 06:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564688128001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1766888828183855104}} 
[2026-08-22 06:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":162115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:58:58] local.INFO: GPS data processed {"connection_id":162115,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:58:58] local.INFO: Acknowledgment sent {"connection_id":162115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:58:58] local.INFO: TCP Data received {"connection_id":159792,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:58:58] local.INFO: Processing buffer {"connection_id":159792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:58:58] local.INFO: IMEI packet received {"connection_id":159792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 06:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":159792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:59:01] local.INFO: TCP Data received {"connection_id":162114,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:59:01] local.INFO: Processing buffer {"connection_id":162114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:59:01] local.INFO: IMEI packet received {"connection_id":162114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":162114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:59:02] local.INFO: TCP Data received {"connection_id":162114,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:59:02] local.INFO: Processing buffer {"connection_id":162114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:59:02] local.INFO: Packet analysis {"connection_id":162114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:59:02] local.INFO: Extracted packet for processing {"connection_id":162114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:59:02] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564552448001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:02] 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-22 06:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787361835000,"timestamp_ms":1787361835000,"timestamp_seconds":1787361835,"priority":1,"record_length":96,"hex_timestamp":"000001a0271137f8"} 
[2026-08-22 06: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-22 06:59:02] 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-22 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06: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-22 06: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-22 06:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564552448001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564552448001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:59:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:59:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564552448001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":162114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:59:02] local.INFO: GPS data processed {"connection_id":162114,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:59:02] local.INFO: Acknowledgment sent {"connection_id":162114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:59:04] local.INFO: TCP Data received {"connection_id":159792,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:59:04] local.INFO: Processing buffer {"connection_id":159792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 06:59:04] local.INFO: IMEI packet received {"connection_id":159792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 06:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":159792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:59:08] local.INFO: TCP Data received {"connection_id":162114,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:59:08] local.INFO: Processing buffer {"connection_id":162114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271137f8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 06:59:08] local.INFO: Packet analysis {"connection_id":162114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:59:08] local.INFO: Extracted packet for processing {"connection_id":162114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02711"} 
[2026-08-22 06:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564552448001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:08] 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-22 06:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787361835000,"timestamp_ms":1787361835000,"timestamp_seconds":1787361835,"priority":1,"record_length":96,"hex_timestamp":"000001a0271137f8"} 
[2026-08-22 06:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:59: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-22 06:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 06:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 06:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564552448001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564552448001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:59:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564552448001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":162114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:59:08] local.INFO: GPS data processed {"connection_id":162114,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:59:08] local.INFO: Acknowledgment sent {"connection_id":162114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:59:08] local.INFO: TCP Data received {"connection_id":159792,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027147418012d895c4005c44b900008012a20..."} 
[2026-08-22 06:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027147418012d895c4005c44b900008012a20..."} 
[2026-08-22 06:59:08] local.INFO: Processing buffer {"connection_id":159792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027147418012d895c4005c44b900008012a20..."} 
[2026-08-22 06:59:08] local.INFO: Packet analysis {"connection_id":159792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02714"} 
[2026-08-22 06:59:08] local.INFO: Extracted packet for processing {"connection_id":159792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02714"} 
[2026-08-22 06:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763976768,"raw_latitude":96750480,"longitude_deg":76.3976768,"latitude_deg":9.675048,"altitude":8,"angle":298,"satellites":32,"speed":9,"hex_longitude":"2d895c40","hex_latitude":"05c44b90","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564679424001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122097940176044032,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8544243262028431360,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787362047000,"timestamp_ms":1787362047000,"timestamp_seconds":1787362047,"priority":1,"record_length":96,"hex_timestamp":"000001a027147418"} 
[2026-08-22 06:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:59: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-22 06:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 06:59:08] 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-22 06:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:59: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-22 06:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564679424001,"66":13276,"189":206,"85":12288,"24":9,"16":122097940176044032,"45":-8544243262028431360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-22 06:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564679424001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:59:08] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-22 06:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 06:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122097940176044032,"km_value":122097940176044.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8544243262028431360,"description":"Unknown IO ID 45"} 
[2026-08-22 06:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564679424001,"power":13276,"unknown_189":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":-8544243262028431360}} 
[2026-08-22 06:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":159792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:59:08] local.INFO: GPS data processed {"connection_id":159792,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:59:08] local.INFO: Acknowledgment sent {"connection_id":159792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:59:28] local.INFO: TCP Data received {"connection_id":162115,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02714ed30012d18ab80072172f8004d007a29..."} 
[2026-08-22 06:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02714ed30012d18ab80072172f8004d007a29..."} 
[2026-08-22 06:59:28] local.INFO: Processing buffer {"connection_id":162115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02714ed30012d18ab80072172f8004d007a29..."} 
[2026-08-22 06:59:28] local.INFO: Packet analysis {"connection_id":162115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02714"} 
[2026-08-22 06:59:28] local.INFO: Extracted packet for processing {"connection_id":162115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02714"} 
[2026-08-22 06:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756591488,"raw_latitude":119632632,"longitude_deg":75.6591488,"latitude_deg":11.9632632,"altitude":77,"angle":122,"satellites":41,"speed":20,"hex_longitude":"2d18ab80","hex_latitude":"072172f8","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564691456001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14347595950325760,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776670083623733248,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:28] 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-22 06:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787362078000,"timestamp_ms":1787362078000,"timestamp_seconds":1787362078,"priority":1,"record_length":96,"hex_timestamp":"000001a02714ed30"} 
[2026-08-22 06: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-22 06:59:28] 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-22 06:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 06:59:28] 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-22 06: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-22 06: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-22 06:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:59:28] 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-22 06:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564691456001,"66":12722,"106":206,"83":41984,"24":20,"16":14347595950325760,"45":1776670083623733248},"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-22 06:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564691456001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:59:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 06:59:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14347595950325760,"km_value":14347595950325.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776670083623733248,"description":"Unknown IO ID 45"} 
[2026-08-22 06:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564691456001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1776670083623733248}} 
[2026-08-22 06:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":162115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:59:28] local.INFO: GPS data processed {"connection_id":162115,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:59:28] local.INFO: Acknowledgment sent {"connection_id":162115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:59:41] local.INFO: TCP Data received {"connection_id":159792,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027147fd0012d89598005c44cd00008011a20..."} 
[2026-08-22 06:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027147fd0012d89598005c44cd00008011a20..."} 
[2026-08-22 06:59:41] local.INFO: Processing buffer {"connection_id":159792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027147fd0012d89598005c44cd00008011a20..."} 
[2026-08-22 06:59:41] local.INFO: Packet analysis {"connection_id":159792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02714"} 
[2026-08-22 06:59:41] local.INFO: Extracted packet for processing {"connection_id":159792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02714"} 
[2026-08-22 06:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763976064,"raw_latitude":96750800,"longitude_deg":76.3976064,"latitude_deg":9.67508,"altitude":8,"angle":282,"satellites":32,"speed":9,"hex_longitude":"2d895980","hex_latitude":"05c44cd0","is_valid_coordinates":true} 
[2026-08-22 06:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 06:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564684032001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122097974535782400,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8548887599143743488,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787362050000,"timestamp_ms":1787362050000,"timestamp_seconds":1787362050,"priority":1,"record_length":96,"hex_timestamp":"000001a027147fd0"} 
[2026-08-22 06:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 06:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 06:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 06:59:41] 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-22 06:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 06:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 06:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 06:59: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-22 06:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 06:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 06:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564684032001,"66":12982,"189":206,"85":12288,"24":9,"16":122097974535782400,"45":-8548887599143743488},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-22 06:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 06:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 06:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564684032001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:59:41] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-22 06:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 06:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122097974535782400,"km_value":122097974535782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8548887599143743488,"description":"Unknown IO ID 45"} 
[2026-08-22 06:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564684032001,"power":12982,"unknown_189":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":-8548887599143743488}} 
[2026-08-22 06:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":159792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:59:42] local.INFO: GPS data processed {"connection_id":159792,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:59:42] local.INFO: Acknowledgment sent {"connection_id":159792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:59:50] local.INFO: TCP Data received {"connection_id":159542,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:59:50] local.INFO: Processing buffer {"connection_id":159542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:59:50] local.INFO: IMEI packet received {"connection_id":159542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 06:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":159542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:59:54] local.INFO: TCP Data received {"connection_id":159543,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:59:54] local.INFO: Processing buffer {"connection_id":159543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:59:54] local.INFO: IMEI packet received {"connection_id":159543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 06:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":159543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 06:59:55] local.INFO: TCP Data received {"connection_id":159542,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:59:55] local.INFO: Processing buffer {"connection_id":159542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 06:59:55] local.INFO: IMEI packet received {"connection_id":159542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 06:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":159542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:59:56] local.INFO: TCP Data received {"connection_id":159542,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:59:56] local.INFO: Processing buffer {"connection_id":159542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 06:59:56] local.INFO: Packet analysis {"connection_id":159542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 06:59:56] local.INFO: Extracted packet for processing {"connection_id":159542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 06:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 06: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-22 06:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564629760001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 06: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-22 06:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787362141000,"timestamp_ms":1787362141000,"timestamp_seconds":1787362141,"priority":1,"record_length":96,"hex_timestamp":"000001a02715e348"} 
[2026-08-22 06: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-22 06:59:56] 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-22 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 06:59:56] 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-22 06: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-22 06: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-22 06:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 06:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 06:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 06:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 06:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564629760001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 06:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 06:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 06:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564629760001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:59:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 06:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 06:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 06:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564629760001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 06:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":159542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:59:56] local.INFO: GPS data processed {"connection_id":159542,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:59:56] local.INFO: Acknowledgment sent {"connection_id":159542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 06:59:58] local.INFO: TCP Data received {"connection_id":159543,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:59:58] local.INFO: Processing buffer {"connection_id":159543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 06:59:58] local.INFO: IMEI packet received {"connection_id":159543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 06:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":159543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 06:59:59] local.INFO: TCP Data received {"connection_id":159543,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02715b468012d18e5400720f090003d009126..."} 
[2026-08-22 06:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02715b468012d18e5400720f090003d009126..."} 
[2026-08-22 06:59:59] local.INFO: Processing buffer {"connection_id":159543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02715b468012d18e5400720f090003d009126..."} 
[2026-08-22 06:59:59] local.INFO: Packet analysis {"connection_id":159543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 06:59:59] local.INFO: Extracted packet for processing {"connection_id":159543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 06:59:59] local.INFO: GPS Element Parsed {"raw_longitude":756606272,"raw_latitude":119599248,"longitude_deg":75.6606272,"latitude_deg":11.9599248,"altitude":61,"angle":145,"satellites":38,"speed":25,"hex_longitude":"2d18e540","hex_latitude":"0720f090","is_valid_coordinates":true} 
[2026-08-22 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-22 06:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564703488001,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14349429901361152,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791025307428003840,"note":"Value kept but may cause issues"} 
[2026-08-22 06:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 06:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787362129000,"timestamp_ms":1787362129000,"timestamp_seconds":1787362129,"priority":1,"record_length":96,"hex_timestamp":"000001a02715b468"} 
[2026-08-22 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-22 06:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 06:59:59] 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-22 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-22 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-22 06:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 06:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 06:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 06:59:59] 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-22 06:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 06:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 06:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564703488001,"66":12580,"103":206,"83":41984,"24":25,"16":14349429901361152,"45":1791025307428003840},"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-22 06:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 06:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 06:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564703488001,"description":"Unknown IO ID 0"} 
[2026-08-22 06:59:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 06:59:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 06:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14349429901361152,"km_value":14349429901361.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 06:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791025307428003840,"description":"Unknown IO ID 45"} 
[2026-08-22 06:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564703488001,"power":12580,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1791025307428003840}} 
[2026-08-22 06:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":159543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 06:59:59] local.INFO: GPS data processed {"connection_id":159543,"processed":1,"errors":0,"total":1} 
[2026-08-22 06:59:59] local.INFO: Acknowledgment sent {"connection_id":159543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:00:01] local.INFO: TCP Data received {"connection_id":159544,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:00:01] local.INFO: Processing buffer {"connection_id":159544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:00:01] local.INFO: IMEI packet received {"connection_id":159544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":159544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:00:04] local.INFO: TCP Data received {"connection_id":159544,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:00:04] local.INFO: Processing buffer {"connection_id":159544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:00:04] local.INFO: IMEI packet received {"connection_id":159544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":159544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:00:05] local.INFO: TCP Data received {"connection_id":159544,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027167f88012d88a28005c492a00007013622..."} 
[2026-08-22 07:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027167f88012d88a28005c492a00007013622..."} 
[2026-08-22 07:00:05] local.INFO: Processing buffer {"connection_id":159544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027167f88012d88a28005c492a00007013622..."} 
[2026-08-22 07:00:05] local.INFO: Packet analysis {"connection_id":159544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02716"} 
[2026-08-22 07:00:05] local.INFO: Extracted packet for processing {"connection_id":159544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02716"} 
[2026-08-22 07:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763929216,"raw_latitude":96768672,"longitude_deg":76.3929216,"latitude_deg":9.6768672,"altitude":7,"angle":310,"satellites":34,"speed":44,"hex_longitude":"2d88a280","hex_latitude":"05c492a0","is_valid_coordinates":true} 
[2026-08-22 07:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564717824001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122100388307402752,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8599060513738117120,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787362181000,"timestamp_ms":1787362181000,"timestamp_seconds":1787362181,"priority":1,"record_length":96,"hex_timestamp":"000001a027167f88"} 
[2026-08-22 07:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-22 07:00: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-22 07:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:00: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-22 07:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564717824001,"66":13059,"189":206,"85":12288,"24":44,"16":122100388307402752,"45":-8599060513738117120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-22 07:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564717824001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:00:05] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-22 07:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 07:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122100388307402752,"km_value":122100388307402.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8599060513738117120,"description":"Unknown IO ID 45"} 
[2026-08-22 07:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564717824001,"power":13059,"unknown_189":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":-8599060513738117120}} 
[2026-08-22 07:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":159544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:00:05] local.INFO: GPS data processed {"connection_id":159544,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:00:05] local.INFO: Acknowledgment sent {"connection_id":159544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:00:27] local.INFO: TCP Data received {"connection_id":159542,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:00:27] local.INFO: Processing buffer {"connection_id":159542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:00:27] local.INFO: Packet analysis {"connection_id":159542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:00:27] local.INFO: Extracted packet for processing {"connection_id":159542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564629760001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00: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-22 07:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787362141000,"timestamp_ms":1787362141000,"timestamp_seconds":1787362141,"priority":1,"record_length":96,"hex_timestamp":"000001a02715e348"} 
[2026-08-22 07: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-22 07:00:27] 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-22 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:00:27] 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-22 07: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-22 07: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-22 07:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564629760001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564629760001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:00:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:00:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564629760001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":159542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:00:27] local.INFO: GPS data processed {"connection_id":159542,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:00:27] local.INFO: Acknowledgment sent {"connection_id":159542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:00:30] local.INFO: TCP Data received {"connection_id":159543,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02715df60012d18f6000720d7f0003b008628..."} 
[2026-08-22 07:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02715df60012d18f6000720d7f0003b008628..."} 
[2026-08-22 07:00:30] local.INFO: Processing buffer {"connection_id":159543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02715df60012d18f6000720d7f0003b008628..."} 
[2026-08-22 07:00:30] local.INFO: Packet analysis {"connection_id":159543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:00:30] local.INFO: Extracted packet for processing {"connection_id":159543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:00:30] local.INFO: GPS Element Parsed {"raw_longitude":756610560,"raw_latitude":119592944,"longitude_deg":75.661056,"latitude_deg":11.9592944,"altitude":59,"angle":134,"satellites":40,"speed":28,"hex_longitude":"2d18f600","hex_latitude":"0720d7f0","is_valid_coordinates":true} 
[2026-08-22 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-22 07:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564705024001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14349794973581312,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793910425938595840,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00: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-22 07:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787362140000,"timestamp_ms":1787362140000,"timestamp_seconds":1787362140,"priority":1,"record_length":96,"hex_timestamp":"000001a02715df60"} 
[2026-08-22 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-22 07:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-22 07:00:30] 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-22 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-22 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-22 07:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:00:30] 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-22 07:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564705024001,"66":14070,"103":206,"83":41984,"24":28,"16":14349794973581312,"45":1793910425938595840},"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-22 07:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564705024001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:00:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 07:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14349794973581312,"km_value":14349794973581.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793910425938595840,"description":"Unknown IO ID 45"} 
[2026-08-22 07:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564705024001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1793910425938595840}} 
[2026-08-22 07:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":159543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:00:30] local.INFO: GPS data processed {"connection_id":159543,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:00:30] local.INFO: Acknowledgment sent {"connection_id":159543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:00:36] local.INFO: TCP Data received {"connection_id":159544,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02716a2b0012d88854005c4ab980005012f21..."} 
[2026-08-22 07:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02716a2b0012d88854005c4ab980005012f21..."} 
[2026-08-22 07:00:36] local.INFO: Processing buffer {"connection_id":159544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02716a2b0012d88854005c4ab980005012f21..."} 
[2026-08-22 07:00:36] local.INFO: Packet analysis {"connection_id":159544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02716"} 
[2026-08-22 07:00:36] local.INFO: Extracted packet for processing {"connection_id":159544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02716"} 
[2026-08-22 07:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763921728,"raw_latitude":96775064,"longitude_deg":76.3921728,"latitude_deg":9.6775064,"altitude":5,"angle":303,"satellites":33,"speed":38,"hex_longitude":"2d888540","hex_latitude":"05c4ab98","is_valid_coordinates":true} 
[2026-08-22 07:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564718336001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122100860753805312,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8601171576063090688,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787362190000,"timestamp_ms":1787362190000,"timestamp_seconds":1787362190,"priority":1,"record_length":96,"hex_timestamp":"000001a02716a2b0"} 
[2026-08-22 07:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-22 07:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165193899431,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:36] local.WARNING: Large IO value detected {"io_id":189,"raw_value":58077509850759178,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297413637,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814181582,"corrected_to":0} 
[2026-08-22 07:00:36] local.WARNING: Large IO value detected {"io_id":156,"raw_value":4160826761,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:36] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147861606,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422375,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:36] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3360620544,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3294375936,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,189,85,24,241,157,16,201,160,119,45,141,8,34,10,66,41,128,1,240,46,227,39,196,4,113,205,22,156,18,176,239,51,2,177,5,6],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2814181582,"validated":0}]} 
[2026-08-22 07:00:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504744152901877760,"timestamp_seconds":504744152901877.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:00:36] 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-22 07:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564718336001,"66":13417,"189":206,"85":12288,"24":38,"16":122100860753805312,"45":-8601171576063090688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-22 07:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564718336001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:00:36] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-22 07:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 07:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122100860753805312,"km_value":122100860753805.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8601171576063090688,"description":"Unknown IO ID 45"} 
[2026-08-22 07:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564718336001,"power":13417,"unknown_189":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":-8601171576063090688}} 
[2026-08-22 07:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":159544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:00:36] local.INFO: GPS data processed {"connection_id":159544,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:00:36] local.INFO: Acknowledgment sent {"connection_id":159544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:00:49] local.INFO: TCP Data received {"connection_id":160709,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:00:49] local.INFO: Processing buffer {"connection_id":160709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:00:49] local.INFO: IMEI packet received {"connection_id":160709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":160709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:00:55] local.INFO: TCP Data received {"connection_id":162116,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:00:55] local.INFO: Processing buffer {"connection_id":162116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:00:55] local.INFO: IMEI packet received {"connection_id":162116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":162116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:00:55] local.INFO: TCP Data received {"connection_id":160709,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:00:55] local.INFO: Processing buffer {"connection_id":160709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:00:55] local.INFO: IMEI packet received {"connection_id":160709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":160709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:00:56] local.INFO: TCP Data received {"connection_id":160709,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:00:56] local.INFO: Processing buffer {"connection_id":160709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:00:56] local.INFO: Packet analysis {"connection_id":160709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:00:56] local.INFO: Extracted packet for processing {"connection_id":160709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564629760001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07: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-22 07:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787362141000,"timestamp_ms":1787362141000,"timestamp_seconds":1787362141,"priority":1,"record_length":96,"hex_timestamp":"000001a02715e348"} 
[2026-08-22 07: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-22 07:00:56] 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-22 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:00:56] 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-22 07: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-22 07: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-22 07:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564629760001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564629760001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:00:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564629760001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":160709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:00:56] local.INFO: GPS data processed {"connection_id":160709,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:00:56] local.INFO: Acknowledgment sent {"connection_id":160709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:00:56] local.INFO: TCP Data received {"connection_id":159793,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:00:56] local.INFO: Processing buffer {"connection_id":159793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:00:56] local.INFO: IMEI packet received {"connection_id":159793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":159793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:00:59] local.INFO: TCP Data received {"connection_id":162116,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:00:59] local.INFO: Processing buffer {"connection_id":162116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:00:59] local.INFO: IMEI packet received {"connection_id":162116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":162116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:01:03] local.INFO: TCP Data received {"connection_id":162116,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02716c9c0012d19b9c00720a9f80031008128..."} 
[2026-08-22 07:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02716c9c0012d19b9c00720a9f80031008128..."} 
[2026-08-22 07:01:03] local.INFO: Processing buffer {"connection_id":162116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02716c9c0012d19b9c00720a9f80031008128..."} 
[2026-08-22 07:01:03] local.INFO: Packet analysis {"connection_id":162116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02716"} 
[2026-08-22 07:01:03] local.INFO: Extracted packet for processing {"connection_id":162116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02716"} 
[2026-08-22 07:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119581176,"longitude_deg":75.6660672,"latitude_deg":11.9581176,"altitude":49,"angle":129,"satellites":40,"speed":26,"hex_longitude":"2d19b9c0","hex_latitude":"0720a9f8","is_valid_coordinates":true} 
[2026-08-22 07:01: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-22 07:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564722176001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14352341889187840,"note":"Value kept but may cause issues"} 
[2026-08-22 07:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002485698560,"note":"Value kept but may cause issues"} 
[2026-08-22 07:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787362200000,"timestamp_ms":1787362200000,"timestamp_seconds":1787362200,"priority":1,"record_length":96,"hex_timestamp":"000001a02716c9c0"} 
[2026-08-22 07:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:01:03] 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-22 07:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 07:01:03] 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-22 07:01: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-22 07:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:01:03] 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-22 07:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564722176001,"66":14243,"103":206,"83":41984,"24":26,"16":14352341889187840,"45":1850698002485698560},"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-22 07:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564722176001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:01:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 07:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14352341889187840,"km_value":14352341889187.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002485698560,"description":"Unknown IO ID 45"} 
[2026-08-22 07:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564722176001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1850698002485698560}} 
[2026-08-22 07:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":162116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:01:03] local.INFO: GPS data processed {"connection_id":162116,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:01:03] local.INFO: Acknowledgment sent {"connection_id":162116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:01:12] local.INFO: TCP Data received {"connection_id":159793,"ip":"42.106.6.37","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-22 07:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159793,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-22 07:01:12] local.INFO: Processing buffer {"connection_id":159793,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-22 07:01:12] local.INFO: IMEI packet received {"connection_id":159793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":159793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:01:14] local.INFO: TCP Data received {"connection_id":159793,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:01:14] local.INFO: Processing buffer {"connection_id":159793,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-22 07:01:14] local.INFO: IMEI packet received {"connection_id":159793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":159793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:01:27] local.INFO: TCP Data received {"connection_id":160709,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:01:27] local.INFO: Processing buffer {"connection_id":160709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:01:27] local.INFO: Packet analysis {"connection_id":160709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:01:27] local.INFO: Extracted packet for processing {"connection_id":160709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564629760001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:01: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-22 07:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787362141000,"timestamp_ms":1787362141000,"timestamp_seconds":1787362141,"priority":1,"record_length":96,"hex_timestamp":"000001a02715e348"} 
[2026-08-22 07: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-22 07:01:27] 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-22 07:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:01:27] 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-22 07: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-22 07: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-22 07:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564629760001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564629760001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:01:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564629760001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":160709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:01:27] local.INFO: GPS data processed {"connection_id":160709,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:01:27] local.INFO: Acknowledgment sent {"connection_id":160709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:01:47] local.INFO: TCP Data received {"connection_id":162116,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027178540012d19cb8007201c38002c00962a..."} 
[2026-08-22 07:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027178540012d19cb8007201c38002c00962a..."} 
[2026-08-22 07:01:47] local.INFO: Processing buffer {"connection_id":162116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027178540012d19cb8007201c38002c00962a..."} 
[2026-08-22 07:01:47] local.INFO: Packet analysis {"connection_id":162116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02717"} 
[2026-08-22 07:01:47] local.INFO: Extracted packet for processing {"connection_id":162116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02717"} 
[2026-08-22 07:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119544888,"longitude_deg":75.6665216,"latitude_deg":11.9544888,"altitude":44,"angle":150,"satellites":42,"speed":26,"hex_longitude":"2d19cb80","hex_latitude":"07201c38","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564732672001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14354231674798080,"note":"Value kept but may cause issues"} 
[2026-08-22 07:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854990495872942080,"note":"Value kept but may cause issues"} 
[2026-08-22 07: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-22 07:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787362248000,"timestamp_ms":1787362248000,"timestamp_seconds":1787362248,"priority":1,"record_length":96,"hex_timestamp":"000001a027178540"} 
[2026-08-22 07: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-22 07:01: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-22 07: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 07:01: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-22 07: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-22 07: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-22 07:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:01: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-22 07:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564732672001,"66":14265,"101":206,"83":41984,"24":26,"16":14354231674798080,"45":1854990495872942080},"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-22 07:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564732672001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:01:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 07:01:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14354231674798080,"km_value":14354231674798.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854990495872942080,"description":"Unknown IO ID 45"} 
[2026-08-22 07:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564732672001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1854990495872942080}} 
[2026-08-22 07:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":162116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:01:47] local.INFO: GPS data processed {"connection_id":162116,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:01:47] local.INFO: Acknowledgment sent {"connection_id":162116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:01:49] local.INFO: TCP Data received {"connection_id":159794,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:01:49] local.INFO: Processing buffer {"connection_id":159794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:01:49] local.INFO: IMEI packet received {"connection_id":159794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":159794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:01:53] local.INFO: TCP Data received {"connection_id":159795,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:01:53] local.INFO: Processing buffer {"connection_id":159795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:01:53] local.INFO: IMEI packet received {"connection_id":159795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":159795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:01:54] local.INFO: TCP Data received {"connection_id":159795,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:01:54] local.INFO: Processing buffer {"connection_id":159795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:01:54] local.INFO: IMEI packet received {"connection_id":159795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":159795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:01:55] local.INFO: TCP Data received {"connection_id":159794,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:01:55] local.INFO: Processing buffer {"connection_id":159794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:01:55] local.INFO: IMEI packet received {"connection_id":159794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":159794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:01:55] local.INFO: TCP Data received {"connection_id":159795,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:01:55] local.INFO: Processing buffer {"connection_id":159795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:01:55] local.INFO: IMEI packet received {"connection_id":159795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":159795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:01:56] local.INFO: TCP Data received {"connection_id":159794,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:01:56] local.INFO: Processing buffer {"connection_id":159794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:01:56] local.INFO: Packet analysis {"connection_id":159794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:01:56] local.INFO: Extracted packet for processing {"connection_id":159794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564629760001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:01: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-22 07:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787362141000,"timestamp_ms":1787362141000,"timestamp_seconds":1787362141,"priority":1,"record_length":96,"hex_timestamp":"000001a02715e348"} 
[2026-08-22 07: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-22 07:01:56] 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-22 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:01:56] 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-22 07: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-22 07: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-22 07:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564629760001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564629760001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:01:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564629760001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":159794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:01:56] local.INFO: GPS data processed {"connection_id":159794,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:01:56] local.INFO: Acknowledgment sent {"connection_id":159794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:01:56] local.INFO: TCP Data received {"connection_id":159795,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:01:56] local.INFO: Processing buffer {"connection_id":159795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:01:56] local.INFO: IMEI packet received {"connection_id":159795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":159795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:02:27] local.INFO: TCP Data received {"connection_id":159794,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:02:27] local.INFO: Processing buffer {"connection_id":159794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:02:27] local.INFO: Packet analysis {"connection_id":159794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:02:27] local.INFO: Extracted packet for processing {"connection_id":159794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564629760001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:02: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-22 07:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787362141000,"timestamp_ms":1787362141000,"timestamp_seconds":1787362141,"priority":1,"record_length":96,"hex_timestamp":"000001a02715e348"} 
[2026-08-22 07: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-22 07:02:27] 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-22 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:02:27] 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-22 07: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-22 07: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-22 07:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564629760001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564629760001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:02:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564629760001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":159794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:02:27] local.INFO: GPS data processed {"connection_id":159794,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:02:27] local.INFO: Acknowledgment sent {"connection_id":159794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:02:49] local.INFO: TCP Data received {"connection_id":162117,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:02:49] local.INFO: Processing buffer {"connection_id":162117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:02:49] local.INFO: IMEI packet received {"connection_id":162117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":162117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:02:55] local.INFO: TCP Data received {"connection_id":162117,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:02:55] local.INFO: Processing buffer {"connection_id":162117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:02:55] local.INFO: IMEI packet received {"connection_id":162117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":162117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:02:56] local.INFO: TCP Data received {"connection_id":162117,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:02:56] local.INFO: Processing buffer {"connection_id":162117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:02:56] local.INFO: Packet analysis {"connection_id":162117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:02:56] local.INFO: Extracted packet for processing {"connection_id":162117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:02:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564629760001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:02: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-22 07:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787362141000,"timestamp_ms":1787362141000,"timestamp_seconds":1787362141,"priority":1,"record_length":96,"hex_timestamp":"000001a02715e348"} 
[2026-08-22 07: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-22 07:02:56] 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-22 07:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:02:56] 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-22 07: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-22 07: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-22 07:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564629760001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564629760001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:02:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:02:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564629760001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":162117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:02:56] local.INFO: GPS data processed {"connection_id":162117,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:02:56] local.INFO: Acknowledgment sent {"connection_id":162117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:03:27] local.INFO: TCP Data received {"connection_id":162117,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:03:27] local.INFO: Processing buffer {"connection_id":162117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:03:27] local.INFO: Packet analysis {"connection_id":162117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:03:27] local.INFO: Extracted packet for processing {"connection_id":162117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564629760001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:03: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-22 07:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787362141000,"timestamp_ms":1787362141000,"timestamp_seconds":1787362141,"priority":1,"record_length":96,"hex_timestamp":"000001a02715e348"} 
[2026-08-22 07:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:03:27] 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-22 07:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:03:27] 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-22 07:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564629760001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564629760001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:03:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564629760001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":162117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:03:27] local.INFO: GPS data processed {"connection_id":162117,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:03:27] local.INFO: Acknowledgment sent {"connection_id":162117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:03:55] local.INFO: TCP Data received {"connection_id":160710,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:03:55] local.INFO: Processing buffer {"connection_id":160710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:03:55] local.INFO: IMEI packet received {"connection_id":160710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":160710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:04:00] local.INFO: TCP Data received {"connection_id":160710,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:04:00] local.INFO: Processing buffer {"connection_id":160710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:04:00] local.INFO: IMEI packet received {"connection_id":160710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":160710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:04:01] local.INFO: TCP Data received {"connection_id":160710,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:04:01] local.INFO: Processing buffer {"connection_id":160710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:04:01] local.INFO: Packet analysis {"connection_id":160710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:04:01] local.INFO: Extracted packet for processing {"connection_id":160710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564629760001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:04: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-22 07:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787362141000,"timestamp_ms":1787362141000,"timestamp_seconds":1787362141,"priority":1,"record_length":96,"hex_timestamp":"000001a02715e348"} 
[2026-08-22 07: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-22 07:04:01] 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-22 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:04:01] 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-22 07: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-22 07: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-22 07:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564629760001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564629760001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:04:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564629760001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":160710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:04:01] local.INFO: GPS data processed {"connection_id":160710,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:04:01] local.INFO: Acknowledgment sent {"connection_id":160710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:04:05] local.INFO: TCP Data received {"connection_id":160710,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:04:05] local.INFO: Processing buffer {"connection_id":160710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02715e348012d7f8ac005afe2d0000000fa1b..."} 
[2026-08-22 07:04:05] local.INFO: Packet analysis {"connection_id":160710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:04:05] local.INFO: Extracted packet for processing {"connection_id":160710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02715"} 
[2026-08-22 07:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":27,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564629760001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:04:05] 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-22 07:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787362141000,"timestamp_ms":1787362141000,"timestamp_seconds":1787362141,"priority":1,"record_length":96,"hex_timestamp":"000001a02715e348"} 
[2026-08-22 07: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-22 07:04:05] 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-22 07:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:04:05] 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-22 07: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-22 07: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-22 07:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564629760001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564629760001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:04:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:04:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564629760001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":160710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:04:05] local.INFO: GPS data processed {"connection_id":160710,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:04:05] local.INFO: Acknowledgment sent {"connection_id":160710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:04:50] local.INFO: TCP Data received {"connection_id":162119,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:04:50] local.INFO: Processing buffer {"connection_id":162119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:04:50] local.INFO: IMEI packet received {"connection_id":162119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":162119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:04:55] local.INFO: TCP Data received {"connection_id":162119,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:04:55] local.INFO: Processing buffer {"connection_id":162119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:04:55] local.INFO: IMEI packet received {"connection_id":162119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":162119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:04:56] local.INFO: TCP Data received {"connection_id":162119,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:04:56] local.INFO: Processing buffer {"connection_id":162119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:04:56] local.INFO: Packet analysis {"connection_id":162119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:04:56] local.INFO: Extracted packet for processing {"connection_id":162119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564708096001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:04: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-22 07:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787362446000,"timestamp_ms":1787362446000,"timestamp_seconds":1787362446,"priority":1,"record_length":96,"hex_timestamp":"000001a0271a8ab0"} 
[2026-08-22 07: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-22 07:04:56] 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-22 07:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564708096001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564708096001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:04:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:04:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564708096001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":162119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:04:56] local.INFO: GPS data processed {"connection_id":162119,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:04:56] local.INFO: Acknowledgment sent {"connection_id":162119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:05:27] local.INFO: TCP Data received {"connection_id":162119,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:05:27] local.INFO: Processing buffer {"connection_id":162119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:05:27] local.INFO: Packet analysis {"connection_id":162119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:05:27] local.INFO: Extracted packet for processing {"connection_id":162119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564708096001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:05: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-22 07:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787362446000,"timestamp_ms":1787362446000,"timestamp_seconds":1787362446,"priority":1,"record_length":96,"hex_timestamp":"000001a0271a8ab0"} 
[2026-08-22 07:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:05:27] 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-22 07:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564708096001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564708096001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:05:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564708096001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":162119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:05:27] local.INFO: GPS data processed {"connection_id":162119,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:05:27] local.INFO: Acknowledgment sent {"connection_id":162119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:05:49] local.INFO: TCP Data received {"connection_id":159798,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:05:49] local.INFO: Processing buffer {"connection_id":159798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:05:49] local.INFO: IMEI packet received {"connection_id":159798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":159798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:05:55] local.INFO: TCP Data received {"connection_id":159798,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:05:55] local.INFO: Processing buffer {"connection_id":159798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:05:55] local.INFO: IMEI packet received {"connection_id":159798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":159798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:05:56] local.INFO: TCP Data received {"connection_id":159798,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:05:56] local.INFO: Processing buffer {"connection_id":159798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:05:56] local.INFO: Packet analysis {"connection_id":159798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:05:56] local.INFO: Extracted packet for processing {"connection_id":159798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564708096001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:05: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-22 07:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787362446000,"timestamp_ms":1787362446000,"timestamp_seconds":1787362446,"priority":1,"record_length":96,"hex_timestamp":"000001a0271a8ab0"} 
[2026-08-22 07: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-22 07:05:56] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564708096001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564708096001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:05:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564708096001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":159798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:05:56] local.INFO: GPS data processed {"connection_id":159798,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:05:56] local.INFO: Acknowledgment sent {"connection_id":159798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:06:15] local.INFO: TCP Data received {"connection_id":160711,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:06:15] local.INFO: Processing buffer {"connection_id":160711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:06:15] local.INFO: IMEI packet received {"connection_id":160711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":160711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:06:16] local.INFO: TCP Data received {"connection_id":160711,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0271bdaa0012d861b0005c4d610000a012421..."} 
[2026-08-22 07:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271bdaa0012d861b0005c4d610000a012421..."} 
[2026-08-22 07:06:16] local.INFO: Processing buffer {"connection_id":160711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271bdaa0012d861b0005c4d610000a012421..."} 
[2026-08-22 07:06:16] local.INFO: Packet analysis {"connection_id":160711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271b"} 
[2026-08-22 07:06:16] local.INFO: Extracted packet for processing {"connection_id":160711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271b"} 
[2026-08-22 07:06:16] local.INFO: GPS Element Parsed {"raw_longitude":763763456,"raw_latitude":96785936,"longitude_deg":76.3763456,"latitude_deg":9.6785936,"altitude":10,"angle":292,"satellites":33,"speed":0,"hex_longitude":"2d861b00","hex_latitude":"05c4d610","is_valid_coordinates":true} 
[2026-08-22 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-22 07:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564802816001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122109227350097920,"note":"Value kept but may cause issues"} 
[2026-08-22 07:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8783426623478820864,"note":"Value kept but may cause issues"} 
[2026-08-22 07:06:16] 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-22 07:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787362532000,"timestamp_ms":1787362532000,"timestamp_seconds":1787362532,"priority":1,"record_length":96,"hex_timestamp":"000001a0271bdaa0"} 
[2026-08-22 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-22 07: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-22 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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-22 07:06: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-22 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-22 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-22 07:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:06: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-22 07:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564802816001,"66":12993,"216":206,"85":12288,"24":0,"16":122109227350097920,"45":-8783426623478820864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-22 07:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564802816001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:06:16] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 07:06:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 07:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122109227350097920,"km_value":122109227350097.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8783426623478820864,"description":"Unknown IO ID 45"} 
[2026-08-22 07:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564802816001,"power":12993,"unknown_216":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8783426623478820864}} 
[2026-08-22 07:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":160711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:06:16] local.INFO: GPS data processed {"connection_id":160711,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:06:16] local.INFO: Acknowledgment sent {"connection_id":160711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:06:27] local.INFO: TCP Data received {"connection_id":159798,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:06:27] local.INFO: Processing buffer {"connection_id":159798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:06:27] local.INFO: Packet analysis {"connection_id":159798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:06:27] local.INFO: Extracted packet for processing {"connection_id":159798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564708096001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:06: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-22 07:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787362446000,"timestamp_ms":1787362446000,"timestamp_seconds":1787362446,"priority":1,"record_length":96,"hex_timestamp":"000001a0271a8ab0"} 
[2026-08-22 07: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-22 07:06:27] 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-22 07:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564708096001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564708096001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:06:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564708096001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":159798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:06:27] local.INFO: GPS data processed {"connection_id":159798,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:06:27] local.INFO: Acknowledgment sent {"connection_id":159798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:06:49] local.INFO: TCP Data received {"connection_id":162121,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:06:49] local.INFO: Processing buffer {"connection_id":162121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:06:49] local.INFO: IMEI packet received {"connection_id":162121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":162121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:06:55] local.INFO: TCP Data received {"connection_id":162121,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:06:55] local.INFO: Processing buffer {"connection_id":162121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:06:55] local.INFO: IMEI packet received {"connection_id":162121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":162121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:06:56] local.INFO: TCP Data received {"connection_id":162121,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:06:56] local.INFO: Processing buffer {"connection_id":162121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:06:56] local.INFO: Packet analysis {"connection_id":162121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:06:56] local.INFO: Extracted packet for processing {"connection_id":162121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564708096001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:06: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-22 07:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787362446000,"timestamp_ms":1787362446000,"timestamp_seconds":1787362446,"priority":1,"record_length":96,"hex_timestamp":"000001a0271a8ab0"} 
[2026-08-22 07: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-22 07:06:56] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564708096001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564708096001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:06:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564708096001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":162121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:06:56] local.INFO: GPS data processed {"connection_id":162121,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:06:56] local.INFO: Acknowledgment sent {"connection_id":162121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:06:57] local.INFO: TCP Data received {"connection_id":160714,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:06:57] local.INFO: Processing buffer {"connection_id":160714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:06:57] local.INFO: IMEI packet received {"connection_id":160714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":160714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:06:57] local.INFO: TCP Data received {"connection_id":160714,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:06:57] local.INFO: Processing buffer {"connection_id":160714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:06:57] local.INFO: IMEI packet received {"connection_id":160714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":160714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:06:59] local.INFO: TCP Data received {"connection_id":160713,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:06:59] local.INFO: Processing buffer {"connection_id":160713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:06:59] local.INFO: IMEI packet received {"connection_id":160713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":160713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:07:00] local.INFO: TCP Data received {"connection_id":160714,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:07:00] local.INFO: Processing buffer {"connection_id":160714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:07:00] local.INFO: IMEI packet received {"connection_id":160714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":160714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:07:00] local.INFO: TCP Data received {"connection_id":160714,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0271c2ca8012d861b0005c4d610000a01241f..."} 
[2026-08-22 07:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271c2ca8012d861b0005c4d610000a01241f..."} 
[2026-08-22 07:07:00] local.INFO: Processing buffer {"connection_id":160714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271c2ca8012d861b0005c4d610000a01241f..."} 
[2026-08-22 07:07:00] local.INFO: Packet analysis {"connection_id":160714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271c"} 
[2026-08-22 07:07:00] local.INFO: Extracted packet for processing {"connection_id":160714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271c"} 
[2026-08-22 07:07:00] local.INFO: GPS Element Parsed {"raw_longitude":763763456,"raw_latitude":96785936,"longitude_deg":76.3763456,"latitude_deg":9.6785936,"altitude":10,"angle":292,"satellites":31,"speed":0,"hex_longitude":"2d861b00","hex_latitude":"05c4d610","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564808192001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122109227350097920,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8783426623478820864,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:00] 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-22 07:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787362553000,"timestamp_ms":1787362553000,"timestamp_seconds":1787362553,"priority":1,"record_length":96,"hex_timestamp":"000001a0271c2ca8"} 
[2026-08-22 07: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-22 07:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-22 07:07:00] 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-22 07: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-22 07: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-22 07:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:07:00] 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-22 07:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564808192001,"66":12298,"216":206,"85":12288,"24":0,"16":122109227350097920,"45":-8783426623478820864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-22 07:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564808192001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:07:00] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 07:07:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 07:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122109227350097920,"km_value":122109227350097.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8783426623478820864,"description":"Unknown IO ID 45"} 
[2026-08-22 07:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564808192001,"power":12298,"unknown_216":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8783426623478820864}} 
[2026-08-22 07:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":160714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:07:00] local.INFO: GPS data processed {"connection_id":160714,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:07:00] local.INFO: Acknowledgment sent {"connection_id":160714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:07:03] local.INFO: TCP Data received {"connection_id":160713,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271abd78012d196940071fedd8003e011c29..."} 
[2026-08-22 07:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271abd78012d196940071fedd8003e011c29..."} 
[2026-08-22 07:07:03] local.INFO: Processing buffer {"connection_id":160713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271abd78012d196940071fedd8003e011c29..."} 
[2026-08-22 07:07:03] local.INFO: Packet analysis {"connection_id":160713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:07:03] local.INFO: Extracted packet for processing {"connection_id":160713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:07:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564784128001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787362459000,"timestamp_ms":1787362459000,"timestamp_seconds":1787362459,"priority":1,"record_length":96,"hex_timestamp":"000001a0271abd78"} 
[2026-08-22 07: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-22 07:07: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-22 07: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 07:07:03] 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-22 07: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-22 07: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-22 07:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:07:03] 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-22 07:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564784128001,"66":12972,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564784128001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:07:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564784128001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":160713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:07:03] local.INFO: GPS data processed {"connection_id":160713,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:07:03] local.INFO: Acknowledgment sent {"connection_id":160713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:07:27] local.INFO: TCP Data received {"connection_id":162121,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:07:27] local.INFO: Processing buffer {"connection_id":162121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:07:27] local.INFO: Packet analysis {"connection_id":162121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:07:27] local.INFO: Extracted packet for processing {"connection_id":162121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564708096001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07: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-22 07:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787362446000,"timestamp_ms":1787362446000,"timestamp_seconds":1787362446,"priority":1,"record_length":96,"hex_timestamp":"000001a0271a8ab0"} 
[2026-08-22 07: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-22 07:07:27] 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-22 07:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564708096001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564708096001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:07:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:07:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564708096001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":162121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:07:27] local.INFO: GPS data processed {"connection_id":162121,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:07:27] local.INFO: Acknowledgment sent {"connection_id":162121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:07:31] local.INFO: TCP Data received {"connection_id":160714,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0271c7eb0012d861b0005c4d610000a012420..."} 
[2026-08-22 07:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271c7eb0012d861b0005c4d610000a012420..."} 
[2026-08-22 07:07:31] local.INFO: Processing buffer {"connection_id":160714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271c7eb0012d861b0005c4d610000a012420..."} 
[2026-08-22 07:07:31] local.INFO: Packet analysis {"connection_id":160714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271c"} 
[2026-08-22 07:07:31] local.INFO: Extracted packet for processing {"connection_id":160714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271c"} 
[2026-08-22 07:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763763456,"raw_latitude":96785936,"longitude_deg":76.3763456,"latitude_deg":9.6785936,"altitude":10,"angle":292,"satellites":32,"speed":0,"hex_longitude":"2d861b00","hex_latitude":"05c4d610","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564813568001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122109227350097920,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8783426623478820864,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:31] 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-22 07:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787362574000,"timestamp_ms":1787362574000,"timestamp_seconds":1787362574,"priority":1,"record_length":96,"hex_timestamp":"000001a0271c7eb0"} 
[2026-08-22 07: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-22 07:07:31] 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-22 07: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 07:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":415692429833404708,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:31] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902099608064,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:31] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:31] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-5620492334958379007,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2817545206720464411,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2249916421,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:31] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:31] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460568058953934,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:31] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3591372810,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2799173838,"corrected_to":0} 
[2026-08-22 07:07:31] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2147560838,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:31] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3518103552,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3302363136,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:31] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,216,85,24,241,157,16,209,160,218,45,214,10,33,66,136,34,54,1,240,150,227,39,196,4,113,205,146,27,31,239,49,2,177,5],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2799173838,"validated":0}]} 
[2026-08-22 07:07:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720897130918576128,"timestamp_seconds":720897130918576.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07: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-22 07:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:07:31] 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-22 07:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564813568001,"66":13048,"216":206,"85":12288,"24":0,"16":122109227350097920,"45":-8783426623478820864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-22 07:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564813568001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:07:31] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 07:07:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 07:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122109227350097920,"km_value":122109227350097.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8783426623478820864,"description":"Unknown IO ID 45"} 
[2026-08-22 07:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564813568001,"power":13048,"unknown_216":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8783426623478820864}} 
[2026-08-22 07:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":160714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:07:31] local.INFO: GPS data processed {"connection_id":160714,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:07:31] local.INFO: Acknowledgment sent {"connection_id":160714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:07:37] local.INFO: TCP Data received {"connection_id":160713,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271b0f80012d196940071fedd8003e011c29..."} 
[2026-08-22 07:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271b0f80012d196940071fedd8003e011c29..."} 
[2026-08-22 07:07:37] local.INFO: Processing buffer {"connection_id":160713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271b0f80012d196940071fedd8003e011c29..."} 
[2026-08-22 07:07:37] local.INFO: Packet analysis {"connection_id":160713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271b"} 
[2026-08-22 07:07:37] local.INFO: Extracted packet for processing {"connection_id":160713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271b"} 
[2026-08-22 07:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564789504001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787362480000,"timestamp_ms":1787362480000,"timestamp_seconds":1787362480,"priority":1,"record_length":96,"hex_timestamp":"000001a0271b0f80"} 
[2026-08-22 07:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:07:37] 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-22 07:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 07:07:37] 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-22 07:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:07:37] 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-22 07:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564789504001,"66":12950,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564789504001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:07:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564789504001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":160713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:07:37] local.INFO: GPS data processed {"connection_id":160713,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:07:37] local.INFO: Acknowledgment sent {"connection_id":160713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:07:53] local.INFO: TCP Data received {"connection_id":159799,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:07:53] local.INFO: Processing buffer {"connection_id":159799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:07:53] local.INFO: IMEI packet received {"connection_id":159799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":159799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:07:55] local.INFO: TCP Data received {"connection_id":159548,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:07:55] local.INFO: Processing buffer {"connection_id":159548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:07:55] local.INFO: IMEI packet received {"connection_id":159548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":159548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:07:56] local.INFO: TCP Data received {"connection_id":162122,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:07:56] local.INFO: Processing buffer {"connection_id":162122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:07:56] local.INFO: IMEI packet received {"connection_id":162122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":162122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:07:57] local.INFO: TCP Data received {"connection_id":162122,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:07:57] local.INFO: Processing buffer {"connection_id":162122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:07:57] local.INFO: IMEI packet received {"connection_id":162122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":162122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:07:59] local.INFO: TCP Data received {"connection_id":159799,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:07:59] local.INFO: Processing buffer {"connection_id":159799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:07:59] local.INFO: IMEI packet received {"connection_id":159799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":159799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:07:59] local.INFO: TCP Data received {"connection_id":159799,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271b6188012d196940071fedd8003e011c29..."} 
[2026-08-22 07:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271b6188012d196940071fedd8003e011c29..."} 
[2026-08-22 07:07:59] local.INFO: Processing buffer {"connection_id":159799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271b6188012d196940071fedd8003e011c29..."} 
[2026-08-22 07:07:59] local.INFO: Packet analysis {"connection_id":159799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271b"} 
[2026-08-22 07:07:59] local.INFO: Extracted packet for processing {"connection_id":159799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271b"} 
[2026-08-22 07:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564794880001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:07: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-22 07:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787362501000,"timestamp_ms":1787362501000,"timestamp_seconds":1787362501,"priority":1,"record_length":96,"hex_timestamp":"000001a0271b6188"} 
[2026-08-22 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-22 07:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 07:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:07:59] 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-22 07:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564794880001,"66":12939,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564794880001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:07:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:07:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564794880001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":159799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:08:00] local.INFO: GPS data processed {"connection_id":159799,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:08:00] local.INFO: Acknowledgment sent {"connection_id":159799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:08:00] local.INFO: TCP Data received {"connection_id":159548,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:08:00] local.INFO: Processing buffer {"connection_id":159548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:08:00] local.INFO: IMEI packet received {"connection_id":159548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":159548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:08:01] local.INFO: TCP Data received {"connection_id":159548,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:08:01] local.INFO: Processing buffer {"connection_id":159548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:08:01] local.INFO: Packet analysis {"connection_id":159548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:08:01] local.INFO: Extracted packet for processing {"connection_id":159548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:08: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-22 07:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564708096001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08: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-22 07:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787362446000,"timestamp_ms":1787362446000,"timestamp_seconds":1787362446,"priority":1,"record_length":96,"hex_timestamp":"000001a0271a8ab0"} 
[2026-08-22 07:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:08:01] 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-22 07:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:08: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-22 07:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564708096001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564708096001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:08:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564708096001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":159548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:08:01] local.INFO: GPS data processed {"connection_id":159548,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:08:01] local.INFO: Acknowledgment sent {"connection_id":159548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:08:01] local.INFO: TCP Data received {"connection_id":162122,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:08:01] local.INFO: Processing buffer {"connection_id":162122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:08:01] local.INFO: IMEI packet received {"connection_id":162122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":162122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:08:02] local.INFO: TCP Data received {"connection_id":162122,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0271cd0b8012d861b0005c4d610000a012422..."} 
[2026-08-22 07:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271cd0b8012d861b0005c4d610000a012422..."} 
[2026-08-22 07:08:02] local.INFO: Processing buffer {"connection_id":162122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271cd0b8012d861b0005c4d610000a012422..."} 
[2026-08-22 07:08:02] local.INFO: Packet analysis {"connection_id":162122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271c"} 
[2026-08-22 07:08:02] local.INFO: Extracted packet for processing {"connection_id":162122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271c"} 
[2026-08-22 07:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763763456,"raw_latitude":96785936,"longitude_deg":76.3763456,"latitude_deg":9.6785936,"altitude":10,"angle":292,"satellites":34,"speed":0,"hex_longitude":"2d861b00","hex_latitude":"05c4d610","is_valid_coordinates":true} 
[2026-08-22 07:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564818944001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122109227350097920,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8783426623478820864,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:02] 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-22 07:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787362595000,"timestamp_ms":1787362595000,"timestamp_seconds":1787362595,"priority":1,"record_length":96,"hex_timestamp":"000001a0271cd0b8"} 
[2026-08-22 07:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:08:02] 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-22 07:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-22 07:08:02] 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-22 07:08: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-22 07:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:08:02] 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-22 07:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564818944001,"66":12298,"216":206,"85":12288,"24":0,"16":122109227350097920,"45":-8783426623478820864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-22 07:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564818944001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:08:02] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 07:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 07:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122109227350097920,"km_value":122109227350097.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8783426623478820864,"description":"Unknown IO ID 45"} 
[2026-08-22 07:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564818944001,"power":12298,"unknown_216":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8783426623478820864}} 
[2026-08-22 07:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":162122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:08:02] local.INFO: GPS data processed {"connection_id":162122,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:08:02] local.INFO: Acknowledgment sent {"connection_id":162122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:08:05] local.INFO: TCP Data received {"connection_id":159548,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:08:05] local.INFO: Processing buffer {"connection_id":159548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:08:05] local.INFO: Packet analysis {"connection_id":159548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:08:05] local.INFO: Extracted packet for processing {"connection_id":159548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564708096001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:05] 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-22 07:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787362446000,"timestamp_ms":1787362446000,"timestamp_seconds":1787362446,"priority":1,"record_length":96,"hex_timestamp":"000001a0271a8ab0"} 
[2026-08-22 07: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-22 07:08:05] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564708096001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564708096001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:08:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564708096001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":159548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:08:05] local.INFO: GPS data processed {"connection_id":159548,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:08:05] local.INFO: Acknowledgment sent {"connection_id":159548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:08:31] local.INFO: TCP Data received {"connection_id":159799,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271bb390012d196940071fedd8003e011c28..."} 
[2026-08-22 07:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271bb390012d196940071fedd8003e011c28..."} 
[2026-08-22 07:08:31] local.INFO: Processing buffer {"connection_id":159799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271bb390012d196940071fedd8003e011c28..."} 
[2026-08-22 07:08:31] local.INFO: Packet analysis {"connection_id":159799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271b"} 
[2026-08-22 07:08:31] local.INFO: Extracted packet for processing {"connection_id":159799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271b"} 
[2026-08-22 07:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564800256001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787362522000,"timestamp_ms":1787362522000,"timestamp_seconds":1787362522,"priority":1,"record_length":96,"hex_timestamp":"000001a0271bb390"} 
[2026-08-22 07: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-22 07:08:31] 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-22 07: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 07:08:31] 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-22 07: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-22 07: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-22 07:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:08:31] 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-22 07:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564800256001,"66":12885,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564800256001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:08:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:08:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564800256001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":159799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:08:31] local.INFO: GPS data processed {"connection_id":159799,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:08:31] local.INFO: Acknowledgment sent {"connection_id":159799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:08:33] local.INFO: TCP Data received {"connection_id":162122,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0271e5370012d84f50005c537380006012325..."} 
[2026-08-22 07:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271e5370012d84f50005c537380006012325..."} 
[2026-08-22 07:08:33] local.INFO: Processing buffer {"connection_id":162122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271e5370012d84f50005c537380006012325..."} 
[2026-08-22 07:08:33] local.INFO: Packet analysis {"connection_id":162122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271e"} 
[2026-08-22 07:08:33] local.INFO: Extracted packet for processing {"connection_id":162122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271e"} 
[2026-08-22 07:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763688192,"raw_latitude":96810808,"longitude_deg":76.3688192,"latitude_deg":9.6810808,"altitude":6,"angle":291,"satellites":37,"speed":43,"hex_longitude":"2d84f500","hex_latitude":"05c53738","is_valid_coordinates":true} 
[2026-08-22 07:08: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-22 07:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564849664001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122113075640795136,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8866180266625386496,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787362694000,"timestamp_ms":1787362694000,"timestamp_seconds":1787362694,"priority":1,"record_length":96,"hex_timestamp":"000001a0271e5370"} 
[2026-08-22 07:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:08:33] 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-22 07:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-22 07:08:33] 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-22 07:08: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-22 07:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:08:33] 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-22 07:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564849664001,"66":13189,"215":206,"85":12288,"24":43,"16":122113075640795136,"45":-8866180266625386496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,45]} 
[2026-08-22 07:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564849664001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:08:33] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-22 07:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 07:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122113075640795136,"km_value":122113075640795.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8866180266625386496,"description":"Unknown IO ID 45"} 
[2026-08-22 07:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564849664001,"power":13189,"unknown_215":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":-8866180266625386496}} 
[2026-08-22 07:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":162122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:08:33] local.INFO: GPS data processed {"connection_id":162122,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:08:33] local.INFO: Acknowledgment sent {"connection_id":162122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:08:50] local.INFO: TCP Data received {"connection_id":159800,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:08:50] local.INFO: Processing buffer {"connection_id":159800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:08:50] local.INFO: IMEI packet received {"connection_id":159800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":159800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:08:54] local.INFO: TCP Data received {"connection_id":159801,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:08:54] local.INFO: Processing buffer {"connection_id":159801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:08:54] local.INFO: IMEI packet received {"connection_id":159801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":159801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:08:55] local.INFO: TCP Data received {"connection_id":159800,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:08:55] local.INFO: Processing buffer {"connection_id":159800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:08:55] local.INFO: IMEI packet received {"connection_id":159800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":159800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:08:56] local.INFO: TCP Data received {"connection_id":159800,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:08:56] local.INFO: Processing buffer {"connection_id":159800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:08:56] local.INFO: Packet analysis {"connection_id":159800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:08:56] local.INFO: Extracted packet for processing {"connection_id":159800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564708096001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07: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-22 07:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787362446000,"timestamp_ms":1787362446000,"timestamp_seconds":1787362446,"priority":1,"record_length":96,"hex_timestamp":"000001a0271a8ab0"} 
[2026-08-22 07: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-22 07:08:56] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564708096001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564708096001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:08:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564708096001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":159800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:08:56] local.INFO: GPS data processed {"connection_id":159800,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:08:56] local.INFO: Acknowledgment sent {"connection_id":159800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:08:56] local.INFO: TCP Data received {"connection_id":160715,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:08:56] local.INFO: Processing buffer {"connection_id":160715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:08:56] local.INFO: IMEI packet received {"connection_id":160715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":160715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:08:57] local.INFO: TCP Data received {"connection_id":160715,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:08:57] local.INFO: Processing buffer {"connection_id":160715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:08:57] local.INFO: IMEI packet received {"connection_id":160715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":160715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:08:59] local.INFO: TCP Data received {"connection_id":159801,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:08:59] local.INFO: Processing buffer {"connection_id":159801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:08:59] local.INFO: IMEI packet received {"connection_id":159801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":159801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:08:59] local.INFO: TCP Data received {"connection_id":159801,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271c0598012d196940071fedd8003e011c28..."} 
[2026-08-22 07:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271c0598012d196940071fedd8003e011c28..."} 
[2026-08-22 07:08:59] local.INFO: Processing buffer {"connection_id":159801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271c0598012d196940071fedd8003e011c28..."} 
[2026-08-22 07:08:59] local.INFO: Packet analysis {"connection_id":159801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271c"} 
[2026-08-22 07:08:59] local.INFO: Extracted packet for processing {"connection_id":159801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271c"} 
[2026-08-22 07:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564805632001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:08: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-22 07:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787362543000,"timestamp_ms":1787362543000,"timestamp_seconds":1787362543,"priority":1,"record_length":96,"hex_timestamp":"000001a0271c0598"} 
[2026-08-22 07: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-22 07:08:59] 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-22 07: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 07:08:59] 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-22 07: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-22 07: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-22 07:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:08:59] 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-22 07:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564805632001,"66":12874,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564805632001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:08:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564805632001,"power":12874,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":159801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:08:59] local.INFO: GPS data processed {"connection_id":159801,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:08:59] local.INFO: Acknowledgment sent {"connection_id":159801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:09:01] local.INFO: TCP Data received {"connection_id":160715,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:09:01] local.INFO: Processing buffer {"connection_id":160715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:09:01] local.INFO: IMEI packet received {"connection_id":160715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":160715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:09:02] local.INFO: TCP Data received {"connection_id":160715,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0271e5b40012d84ed4005c53b500006012e25..."} 
[2026-08-22 07:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271e5b40012d84ed4005c53b500006012e25..."} 
[2026-08-22 07:09:02] local.INFO: Processing buffer {"connection_id":160715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271e5b40012d84ed4005c53b500006012e25..."} 
[2026-08-22 07:09:02] local.INFO: Packet analysis {"connection_id":160715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271e"} 
[2026-08-22 07:09:02] local.INFO: Extracted packet for processing {"connection_id":160715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271e"} 
[2026-08-22 07:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763686208,"raw_latitude":96811856,"longitude_deg":76.3686208,"latitude_deg":9.6811856,"altitude":6,"angle":302,"satellites":37,"speed":45,"hex_longitude":"2d84ed40","hex_latitude":"05c53b50","is_valid_coordinates":true} 
[2026-08-22 07:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564849664001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122113183014977536,"note":"Value kept but may cause issues"} 
[2026-08-22 07:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8866180266625386496,"note":"Value kept but may cause issues"} 
[2026-08-22 07:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787362696000,"timestamp_ms":1787362696000,"timestamp_seconds":1787362696,"priority":1,"record_length":96,"hex_timestamp":"000001a0271e5b40"} 
[2026-08-22 07:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:09:02] 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-22 07:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-22 07:09:02] 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-22 07:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:09:02] 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-22 07:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564849664001,"66":13189,"215":206,"85":12288,"24":45,"16":122113183014977536,"45":-8866180266625386496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,45]} 
[2026-08-22 07:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564849664001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:09:02] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-22 07:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 07:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122113183014977536,"km_value":122113183014977.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8866180266625386496,"description":"Unknown IO ID 45"} 
[2026-08-22 07:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564849664001,"power":13189,"unknown_215":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":-8866180266625386496}} 
[2026-08-22 07:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":160715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:09:02] local.INFO: GPS data processed {"connection_id":160715,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:09:02] local.INFO: Acknowledgment sent {"connection_id":160715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:09:27] local.INFO: TCP Data received {"connection_id":159800,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:09:27] local.INFO: Processing buffer {"connection_id":159800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271a8ab0012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 07:09:27] local.INFO: Packet analysis {"connection_id":159800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:09:27] local.INFO: Extracted packet for processing {"connection_id":159800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271a"} 
[2026-08-22 07:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564708096001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:09: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-22 07:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787362446000,"timestamp_ms":1787362446000,"timestamp_seconds":1787362446,"priority":1,"record_length":96,"hex_timestamp":"000001a0271a8ab0"} 
[2026-08-22 07: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-22 07:09:27] 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-22 07:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564708096001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564708096001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:09:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564708096001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":159800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:09:27] local.INFO: GPS data processed {"connection_id":159800,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:09:27] local.INFO: Acknowledgment sent {"connection_id":159800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:09:30] local.INFO: TCP Data received {"connection_id":159801,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271c57a0012d196940071fedd8003e011c28..."} 
[2026-08-22 07:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271c57a0012d196940071fedd8003e011c28..."} 
[2026-08-22 07:09:30] local.INFO: Processing buffer {"connection_id":159801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271c57a0012d196940071fedd8003e011c28..."} 
[2026-08-22 07:09:30] local.INFO: Packet analysis {"connection_id":159801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271c"} 
[2026-08-22 07:09:30] local.INFO: Extracted packet for processing {"connection_id":159801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271c"} 
[2026-08-22 07:09:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564811008001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:09: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-22 07:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787362564000,"timestamp_ms":1787362564000,"timestamp_seconds":1787362564,"priority":1,"record_length":96,"hex_timestamp":"000001a0271c57a0"} 
[2026-08-22 07: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-22 07:09:30] 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-22 07: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-22 07:09:30] 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-22 07: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-22 07: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-22 07:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:09:30] 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-22 07:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564811008001,"66":12809,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564811008001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:09:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:09:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564811008001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":159801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:09:30] local.INFO: GPS data processed {"connection_id":159801,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:09:30] local.INFO: Acknowledgment sent {"connection_id":159801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:09:33] local.INFO: TCP Data received {"connection_id":160715,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0271e72b0012d84d84005c547f00006012024..."} 
[2026-08-22 07:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271e72b0012d84d84005c547f00006012024..."} 
[2026-08-22 07:09:33] local.INFO: Processing buffer {"connection_id":160715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271e72b0012d84d84005c547f00006012024..."} 
[2026-08-22 07:09:33] local.INFO: Packet analysis {"connection_id":160715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271e"} 
[2026-08-22 07:09:33] local.INFO: Extracted packet for processing {"connection_id":160715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271e"} 
[2026-08-22 07:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763680832,"raw_latitude":96815088,"longitude_deg":76.3680832,"latitude_deg":9.6815088,"altitude":6,"angle":288,"satellites":36,"speed":29,"hex_longitude":"2d84d840","hex_latitude":"05c547f0","is_valid_coordinates":true} 
[2026-08-22 07:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564850176001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122113483662688256,"note":"Value kept but may cause issues"} 
[2026-08-22 07:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8868361697694625792,"note":"Value kept but may cause issues"} 
[2026-08-22 07:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787362702000,"timestamp_ms":1787362702000,"timestamp_seconds":1787362702,"priority":1,"record_length":96,"hex_timestamp":"000001a0271e72b0"} 
[2026-08-22 07:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:09:33] 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-22 07:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-22 07:09:33] 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-22 07:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:09:33] 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-22 07:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564850176001,"66":12917,"215":206,"85":12288,"24":29,"16":122113483662688256,"45":-8868361697694625792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,45]} 
[2026-08-22 07:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564850176001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:09:33] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-22 07:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 07:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122113483662688256,"km_value":122113483662688.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8868361697694625792,"description":"Unknown IO ID 45"} 
[2026-08-22 07:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564850176001,"power":12917,"unknown_215":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":-8868361697694625792}} 
[2026-08-22 07:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":160715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:09:33] local.INFO: GPS data processed {"connection_id":160715,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:09:33] local.INFO: Acknowledgment sent {"connection_id":160715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:09:51] local.INFO: TCP Data received {"connection_id":159802,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:09:51] local.INFO: Processing buffer {"connection_id":159802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:09:51] local.INFO: IMEI packet received {"connection_id":159802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":159802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:09:53] local.INFO: TCP Data received {"connection_id":159803,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:09:54] local.INFO: Processing buffer {"connection_id":159803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:09:54] local.INFO: IMEI packet received {"connection_id":159803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":159803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:09:55] local.INFO: TCP Data received {"connection_id":159802,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:09:55] local.INFO: Processing buffer {"connection_id":159802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:09:55] local.INFO: IMEI packet received {"connection_id":159802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":159802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:09:56] local.INFO: TCP Data received {"connection_id":159802,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:09:56] local.INFO: Processing buffer {"connection_id":159802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:09:56] local.INFO: Packet analysis {"connection_id":159802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:09:56] local.INFO: Extracted packet for processing {"connection_id":159802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564786176001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:09: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-22 07:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787362754000,"timestamp_ms":1787362754000,"timestamp_seconds":1787362754,"priority":1,"record_length":96,"hex_timestamp":"000001a0271f3dd0"} 
[2026-08-22 07: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-22 07:09:56] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564786176001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564786176001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:09:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564786176001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":159802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:09:56] local.INFO: GPS data processed {"connection_id":159802,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:09:56] local.INFO: Acknowledgment sent {"connection_id":159802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:09:56] local.INFO: TCP Data received {"connection_id":162123,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:09:56] local.INFO: Processing buffer {"connection_id":162123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:09:56] local.INFO: IMEI packet received {"connection_id":162123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":162123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:09:59] local.INFO: TCP Data received {"connection_id":159803,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:09:59] local.INFO: Processing buffer {"connection_id":159803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:09:59] local.INFO: IMEI packet received {"connection_id":159803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":159803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:10:00] local.INFO: TCP Data received {"connection_id":159802,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:10:00] local.INFO: Processing buffer {"connection_id":159802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:10:00] local.INFO: Packet analysis {"connection_id":159802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:10:00] local.INFO: Extracted packet for processing {"connection_id":159802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564786176001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10: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-22 07:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787362754000,"timestamp_ms":1787362754000,"timestamp_seconds":1787362754,"priority":1,"record_length":96,"hex_timestamp":"000001a0271f3dd0"} 
[2026-08-22 07: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-22 07:10: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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564786176001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564786176001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:10:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564786176001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":159802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:10:00] local.INFO: GPS data processed {"connection_id":159802,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:10:00] local.INFO: Acknowledgment sent {"connection_id":159802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:10:01] local.INFO: TCP Data received {"connection_id":159803,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271ca9a8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271ca9a8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:10:01] local.INFO: Processing buffer {"connection_id":159803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271ca9a8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:10:01] local.INFO: Packet analysis {"connection_id":159803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271c"} 
[2026-08-22 07:10:01] local.INFO: Extracted packet for processing {"connection_id":159803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271c"} 
[2026-08-22 07:10:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564816384001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10: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-22 07:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787362585000,"timestamp_ms":1787362585000,"timestamp_seconds":1787362585,"priority":1,"record_length":96,"hex_timestamp":"000001a0271ca9a8"} 
[2026-08-22 07: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-22 07:10:01] 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-22 07: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-22 07:10:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:01] local.WARNING: Large IO value detected {"io_id":39,"raw_value":1880648673664788800,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:01] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 07:10:01] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512585446470061,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:01] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300732480208051238,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:01] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:01] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,160,5,45,64,237,62,40,10,66,179,97,1,240,139,227,39,31,4,113,205,189,105,216,41,239,50,2,51,7,164,220],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 07:10:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883263452512256,"timestamp_seconds":4467883263452512.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07: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-22 07:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:10:01] 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-22 07:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564816384001,"66":12819,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564816384001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:10:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:10:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564816384001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":159803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:10:01] local.INFO: GPS data processed {"connection_id":159803,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:10:01] local.INFO: Acknowledgment sent {"connection_id":159803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:10:01] local.INFO: TCP Data received {"connection_id":162123,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:10:01] local.INFO: Processing buffer {"connection_id":162123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:10:01] local.INFO: IMEI packet received {"connection_id":162123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":162123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:10:05] local.INFO: TCP Data received {"connection_id":162123,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0271f9f78012d83f94005c571380005012c24..."} 
[2026-08-22 07:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271f9f78012d83f94005c571380005012c24..."} 
[2026-08-22 07:10:05] local.INFO: Processing buffer {"connection_id":162123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271f9f78012d83f94005c571380005012c24..."} 
[2026-08-22 07:10:05] local.INFO: Packet analysis {"connection_id":162123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:10:05] local.INFO: Extracted packet for processing {"connection_id":162123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:10:05] local.INFO: GPS Element Parsed {"raw_longitude":763623744,"raw_latitude":96825656,"longitude_deg":76.3623744,"latitude_deg":9.6825656,"altitude":5,"angle":300,"satellites":36,"speed":39,"hex_longitude":"2d83f940","hex_latitude":"05c57138","is_valid_coordinates":true} 
[2026-08-22 07:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564869376001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122116464369991680,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8930145455080667136,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787362779000,"timestamp_ms":1787362779000,"timestamp_seconds":1787362779,"priority":1,"record_length":96,"hex_timestamp":"000001a0271f9f78"} 
[2026-08-22 07:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-22 07:10:05] 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-22 07:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:10: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-22 07:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564869376001,"66":13374,"123":206,"85":12288,"24":39,"16":122116464369991680,"45":-8930145455080667136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-22 07:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564869376001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:10:05] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-22 07:10:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 07:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122116464369991680,"km_value":122116464369991.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8930145455080667136,"description":"Unknown IO ID 45"} 
[2026-08-22 07:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564869376001,"power":13374,"unknown_123":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":-8930145455080667136}} 
[2026-08-22 07:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":162123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:10:05] local.INFO: GPS data processed {"connection_id":162123,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:10:05] local.INFO: Acknowledgment sent {"connection_id":162123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:10:31] local.INFO: TCP Data received {"connection_id":159802,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:10:31] local.INFO: Processing buffer {"connection_id":159802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:10:31] local.INFO: Packet analysis {"connection_id":159802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:10:31] local.INFO: Extracted packet for processing {"connection_id":159802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:10:31] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564786176001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:31] 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-22 07:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787362754000,"timestamp_ms":1787362754000,"timestamp_seconds":1787362754,"priority":1,"record_length":96,"hex_timestamp":"000001a0271f3dd0"} 
[2026-08-22 07:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:10:31] 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-22 07:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564786176001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564786176001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:10:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:10:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564786176001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":159802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:10:31] local.INFO: GPS data processed {"connection_id":159802,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:10:31] local.INFO: Acknowledgment sent {"connection_id":159802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:10:32] local.INFO: TCP Data received {"connection_id":159803,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271cfbb0012d196940071fedd8003e011c29..."} 
[2026-08-22 07:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271cfbb0012d196940071fedd8003e011c29..."} 
[2026-08-22 07:10:32] local.INFO: Processing buffer {"connection_id":159803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271cfbb0012d196940071fedd8003e011c29..."} 
[2026-08-22 07:10:32] local.INFO: Packet analysis {"connection_id":159803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271c"} 
[2026-08-22 07:10:32] local.INFO: Extracted packet for processing {"connection_id":159803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271c"} 
[2026-08-22 07:10:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564821760001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787362606000,"timestamp_ms":1787362606000,"timestamp_seconds":1787362606,"priority":1,"record_length":96,"hex_timestamp":"000001a0271cfbb0"} 
[2026-08-22 07: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-22 07:10:32] 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-22 07: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503818685120512,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":39,"raw_value":1903738417848084800,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4107546747252048128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":216,"raw_value":17452668964306944,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182087975698688,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052611982194848173,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300732480208051239,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195047680,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84751907826376685,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:32] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,160,87,45,64,237,62,40,10,66,5,179,1,240,85,227,39,31,4,113,205,15,105,216,41,239,50,2,51,7,164,220,69,104],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-08-22 07:10:32] 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-22 07: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-22 07:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:10:32] 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-22 07:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564821760001,"66":12841,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564821760001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:10:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:10:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564821760001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":159803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:10:32] local.INFO: GPS data processed {"connection_id":159803,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:10:32] local.INFO: Acknowledgment sent {"connection_id":159803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:10:36] local.INFO: TCP Data received {"connection_id":162123,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0271fab30012d83ee4005c575f80005011e21..."} 
[2026-08-22 07:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271fab30012d83ee4005c575f80005011e21..."} 
[2026-08-22 07:10:36] local.INFO: Processing buffer {"connection_id":162123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271fab30012d83ee4005c575f80005011e21..."} 
[2026-08-22 07:10:36] local.INFO: Packet analysis {"connection_id":162123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:10:36] local.INFO: Extracted packet for processing {"connection_id":162123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:10:36] local.INFO: GPS Element Parsed {"raw_longitude":763620928,"raw_latitude":96826872,"longitude_deg":76.3620928,"latitude_deg":9.6826872,"altitude":5,"angle":286,"satellites":33,"speed":40,"hex_longitude":"2d83ee40","hex_latitude":"05c575f8","is_valid_coordinates":true} 
[2026-08-22 07:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564871424001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122116610398879744,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8937041592008493056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787362782000,"timestamp_ms":1787362782000,"timestamp_seconds":1787362782,"priority":1,"record_length":96,"hex_timestamp":"000001a0271fab30"} 
[2026-08-22 07:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:10:36] 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-22 07:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 07:10:36] 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-22 07:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:10:36] 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-22 07:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564871424001,"66":13341,"123":206,"85":12288,"24":40,"16":122116610398879744,"45":-8937041592008493056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-22 07:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564871424001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:10:36] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-22 07:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 07:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122116610398879744,"km_value":122116610398879.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8937041592008493056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564871424001,"power":13341,"unknown_123":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":-8937041592008493056}} 
[2026-08-22 07:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":162123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:10:36] local.INFO: GPS data processed {"connection_id":162123,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:10:36] local.INFO: Acknowledgment sent {"connection_id":162123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:10:49] local.INFO: TCP Data received {"connection_id":160716,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:10:49] local.INFO: Processing buffer {"connection_id":160716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:10:49] local.INFO: IMEI packet received {"connection_id":160716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":160716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:10:53] local.INFO: TCP Data received {"connection_id":162124,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:10:53] local.INFO: Processing buffer {"connection_id":162124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:10:53] local.INFO: IMEI packet received {"connection_id":162124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":162124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:10:54] local.INFO: TCP Data received {"connection_id":162124,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:10:54] local.INFO: Processing buffer {"connection_id":162124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:10:54] local.INFO: IMEI packet received {"connection_id":162124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":162124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:10:55] local.INFO: TCP Data received {"connection_id":160716,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:10:55] local.INFO: Processing buffer {"connection_id":160716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:10:55] local.INFO: IMEI packet received {"connection_id":160716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":160716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:10:56] local.INFO: TCP Data received {"connection_id":160716,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:10:56] local.INFO: Processing buffer {"connection_id":160716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:10:56] local.INFO: Packet analysis {"connection_id":160716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:10:56] local.INFO: Extracted packet for processing {"connection_id":160716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564786176001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07: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-22 07:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787362754000,"timestamp_ms":1787362754000,"timestamp_seconds":1787362754,"priority":1,"record_length":96,"hex_timestamp":"000001a0271f3dd0"} 
[2026-08-22 07: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-22 07:10:56] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564786176001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564786176001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:10:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564786176001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":160716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:10:56] local.INFO: GPS data processed {"connection_id":160716,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:10:56] local.INFO: Acknowledgment sent {"connection_id":160716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:10:59] local.INFO: TCP Data received {"connection_id":162124,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:10:59] local.INFO: Processing buffer {"connection_id":162124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:10:59] local.INFO: IMEI packet received {"connection_id":162124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":162124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:11:00] local.INFO: TCP Data received {"connection_id":162124,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271d4db8012d196940071fedd8003e011c28..."} 
[2026-08-22 07:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271d4db8012d196940071fedd8003e011c28..."} 
[2026-08-22 07:11:00] local.INFO: Processing buffer {"connection_id":162124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271d4db8012d196940071fedd8003e011c28..."} 
[2026-08-22 07:11:00] local.INFO: Packet analysis {"connection_id":162124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271d"} 
[2026-08-22 07:11:00] local.INFO: Extracted packet for processing {"connection_id":162124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271d"} 
[2026-08-22 07:11:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564827136001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787362627000,"timestamp_ms":1787362627000,"timestamp_seconds":1787362627,"priority":1,"record_length":96,"hex_timestamp":"000001a0271d4db8"} 
[2026-08-22 07: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-22 07:11:00] 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-22 07: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 07:11:00] 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-22 07: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-22 07: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-22 07:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:11:00] 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-22 07:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564827136001,"66":12798,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564827136001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:11:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:11:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564827136001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":162124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:11:00] local.INFO: GPS data processed {"connection_id":162124,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:11:00] local.INFO: Acknowledgment sent {"connection_id":162124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:11:01] local.INFO: TCP Data received {"connection_id":159549,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:01] local.INFO: Processing buffer {"connection_id":159549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:01] local.INFO: IMEI packet received {"connection_id":159549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":159549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:11:02] local.INFO: TCP Data received {"connection_id":159549,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:02] local.INFO: Processing buffer {"connection_id":159549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:02] local.INFO: IMEI packet received {"connection_id":159549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":159549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:11:03] local.INFO: TCP Data received {"connection_id":159549,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027207268012d83ae8005c5ce880007001124..."} 
[2026-08-22 07:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027207268012d83ae8005c5ce880007001124..."} 
[2026-08-22 07:11:03] local.INFO: Processing buffer {"connection_id":159549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027207268012d83ae8005c5ce880007001124..."} 
[2026-08-22 07:11:03] local.INFO: Packet analysis {"connection_id":159549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02720"} 
[2026-08-22 07:11:03] local.INFO: Extracted packet for processing {"connection_id":159549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02720"} 
[2026-08-22 07:11:03] local.INFO: GPS Element Parsed {"raw_longitude":763604608,"raw_latitude":96849544,"longitude_deg":76.3604608,"latitude_deg":9.6849544,"altitude":7,"angle":17,"satellites":36,"speed":49,"hex_longitude":"2d83ae80","hex_latitude":"05c5ce88","is_valid_coordinates":true} 
[2026-08-22 07:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564883200001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122118903911415808,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8961600283722702848,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787362833000,"timestamp_ms":1787362833000,"timestamp_seconds":1787362833,"priority":1,"record_length":96,"hex_timestamp":"000001a027207268"} 
[2026-08-22 07:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-22 07:11:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2207023109,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:03] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2264924160,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3313313792,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:03] local.WARNING: Large IO value detected {"io_id":197,"raw_value":8921630874723820288,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2826633422,"corrected_to":0} 
[2026-08-22 07:11:03] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3623955843,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252840,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:03] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3649044480,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:03] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57887616473650480,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-763358841846218747,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:03] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,123,85,24,241,157,16,218,160,40,45,137,6,36,10,66,217,192,129,5,20,64,1,240,46,227,39,197,4,113,205,13,12,141,224,239,50,2,177,14,237,31],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2826633422,"validated":0}]} 
[2026-08-22 07:11:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432367704786796544,"timestamp_seconds":432367704786796.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:11:03] 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-22 07:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564883200001,"66":13363,"123":206,"85":12288,"24":49,"16":122118903911415808,"45":-8961600283722702848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-22 07:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564883200001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:11:03] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-22 07:11:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 07:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122118903911415808,"km_value":122118903911415.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8961600283722702848,"description":"Unknown IO ID 45"} 
[2026-08-22 07:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564883200001,"power":13363,"unknown_123":206,"unknown_85":12288,"ignition":49,"odometer":null,"unknown_45":-8961600283722702848}} 
[2026-08-22 07:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":159549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:11:03] local.INFO: GPS data processed {"connection_id":159549,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:11:03] local.INFO: Acknowledgment sent {"connection_id":159549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:11:11] local.INFO: TCP Data received {"connection_id":159549,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0272089d8012d83b38005c5ebb00007000422..."} 
[2026-08-22 07:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272089d8012d83b38005c5ebb00007000422..."} 
[2026-08-22 07:11:11] local.INFO: Processing buffer {"connection_id":159549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272089d8012d83b38005c5ebb00007000422..."} 
[2026-08-22 07:11:11] local.INFO: Packet analysis {"connection_id":159549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02720"} 
[2026-08-22 07:11:11] local.INFO: Extracted packet for processing {"connection_id":159549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02720"} 
[2026-08-22 07:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763605888,"raw_latitude":96857008,"longitude_deg":76.3605888,"latitude_deg":9.6857008,"altitude":7,"angle":4,"satellites":34,"speed":48,"hex_longitude":"2d83b380","hex_latitude":"05c5ebb0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564885248001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122119268983635968,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8958081846511499264,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787362839000,"timestamp_ms":1787362839000,"timestamp_seconds":1787362839,"priority":1,"record_length":96,"hex_timestamp":"000001a0272089d8"} 
[2026-08-22 07: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-22 07:11:11] 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-22 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-22 07:11:11] 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-22 07: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-22 07: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-22 07:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:11: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-22 07:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564885248001,"66":13048,"123":206,"85":12288,"24":48,"16":122119268983635968,"45":-8958081846511499264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-22 07:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564885248001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:11:11] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-22 07:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 07:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122119268983635968,"km_value":122119268983635.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8958081846511499264,"description":"Unknown IO ID 45"} 
[2026-08-22 07:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564885248001,"power":13048,"unknown_123":206,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":-8958081846511499264}} 
[2026-08-22 07:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":159549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:11:11] local.INFO: GPS data processed {"connection_id":159549,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:11:11] local.INFO: Acknowledgment sent {"connection_id":159549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:11:27] local.INFO: TCP Data received {"connection_id":160716,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:11:27] local.INFO: Processing buffer {"connection_id":160716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:11:27] local.INFO: Packet analysis {"connection_id":160716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:11:27] local.INFO: Extracted packet for processing {"connection_id":160716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564786176001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11: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-22 07:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787362754000,"timestamp_ms":1787362754000,"timestamp_seconds":1787362754,"priority":1,"record_length":96,"hex_timestamp":"000001a0271f3dd0"} 
[2026-08-22 07:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:11:27] 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-22 07:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564786176001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564786176001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:11:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564786176001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":160716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:11:27] local.INFO: GPS data processed {"connection_id":160716,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:11:27] local.INFO: Acknowledgment sent {"connection_id":160716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:11:31] local.INFO: TCP Data received {"connection_id":162124,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271d9fc0012d196940071fedd8003e011c29..."} 
[2026-08-22 07:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271d9fc0012d196940071fedd8003e011c29..."} 
[2026-08-22 07:11:31] local.INFO: Processing buffer {"connection_id":162124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271d9fc0012d196940071fedd8003e011c29..."} 
[2026-08-22 07:11:31] local.INFO: Packet analysis {"connection_id":162124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271d"} 
[2026-08-22 07:11:31] local.INFO: Extracted packet for processing {"connection_id":162124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271d"} 
[2026-08-22 07:11:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564832512001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787362648000,"timestamp_ms":1787362648000,"timestamp_seconds":1787362648,"priority":1,"record_length":96,"hex_timestamp":"000001a0271d9fc0"} 
[2026-08-22 07: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-22 07:11:31] 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-22 07: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 07:11:31] 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-22 07: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-22 07: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-22 07:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:11:31] 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-22 07:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564832512001,"66":12798,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564832512001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:11:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:11:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564832512001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":162124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:11:31] local.INFO: GPS data processed {"connection_id":162124,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:11:31] local.INFO: Acknowledgment sent {"connection_id":162124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:11:49] local.INFO: TCP Data received {"connection_id":159804,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:11:49] local.INFO: Processing buffer {"connection_id":159804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:11:49] local.INFO: IMEI packet received {"connection_id":159804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":159804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:11:53] local.INFO: TCP Data received {"connection_id":162126,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:11:53] local.INFO: Processing buffer {"connection_id":162126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:11:53] local.INFO: IMEI packet received {"connection_id":162126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":162126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:11:54] local.INFO: TCP Data received {"connection_id":162125,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:54] local.INFO: Processing buffer {"connection_id":162125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:54] local.INFO: IMEI packet received {"connection_id":162125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":162125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:11:55] local.INFO: TCP Data received {"connection_id":159804,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:11:55] local.INFO: Processing buffer {"connection_id":159804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:11:55] local.INFO: IMEI packet received {"connection_id":159804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":159804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:11:55] local.INFO: TCP Data received {"connection_id":162125,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:55] local.INFO: Processing buffer {"connection_id":162125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:55] local.INFO: IMEI packet received {"connection_id":162125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":162125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:11:56] local.INFO: TCP Data received {"connection_id":159804,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:11:56] local.INFO: Processing buffer {"connection_id":159804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:11:56] local.INFO: Packet analysis {"connection_id":159804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:11:56] local.INFO: Extracted packet for processing {"connection_id":159804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564786176001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07: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-22 07:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787362754000,"timestamp_ms":1787362754000,"timestamp_seconds":1787362754,"priority":1,"record_length":96,"hex_timestamp":"000001a0271f3dd0"} 
[2026-08-22 07: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-22 07:11:56] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564786176001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564786176001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:11:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564786176001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":159804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:11:56] local.INFO: GPS data processed {"connection_id":159804,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:11:56] local.INFO: Acknowledgment sent {"connection_id":159804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:11:56] local.INFO: TCP Data received {"connection_id":162125,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:56] local.INFO: Processing buffer {"connection_id":162125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:56] local.INFO: IMEI packet received {"connection_id":162125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":162125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:11:57] local.INFO: TCP Data received {"connection_id":162125,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:57] local.INFO: Processing buffer {"connection_id":162125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:11:57] local.INFO: IMEI packet received {"connection_id":162125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":162125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:11:57] local.INFO: TCP Data received {"connection_id":162126,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:11:57] local.INFO: Processing buffer {"connection_id":162126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:11:57] local.INFO: IMEI packet received {"connection_id":162126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":162126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:11:58] local.INFO: TCP Data received {"connection_id":162126,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:11:58] local.INFO: Processing buffer {"connection_id":162126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:11:58] local.INFO: IMEI packet received {"connection_id":162126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":162126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:11:59] local.INFO: TCP Data received {"connection_id":162126,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271df1c8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271df1c8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:11:59] local.INFO: Processing buffer {"connection_id":162126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271df1c8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:11:59] local.INFO: Packet analysis {"connection_id":162126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271d"} 
[2026-08-22 07:11:59] local.INFO: Extracted packet for processing {"connection_id":162126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271d"} 
[2026-08-22 07:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564837888001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:11: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-22 07:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787362669000,"timestamp_ms":1787362669000,"timestamp_seconds":1787362669,"priority":1,"record_length":96,"hex_timestamp":"000001a0271df1c8"} 
[2026-08-22 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-22 07:11:59] 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-22 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 07:11:59] 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-22 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-22 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-22 07:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:11:59] 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-22 07:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564837888001,"66":12776,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564837888001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:11:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:11:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564837888001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":162126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:11:59] local.INFO: GPS data processed {"connection_id":162126,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:11:59] local.INFO: Acknowledgment sent {"connection_id":162126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:12:27] local.INFO: TCP Data received {"connection_id":159804,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:12:27] local.INFO: Processing buffer {"connection_id":159804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:12:27] local.INFO: Packet analysis {"connection_id":159804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:12:27] local.INFO: Extracted packet for processing {"connection_id":159804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564786176001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:12: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-22 07:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787362754000,"timestamp_ms":1787362754000,"timestamp_seconds":1787362754,"priority":1,"record_length":96,"hex_timestamp":"000001a0271f3dd0"} 
[2026-08-22 07:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:12:27] 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-22 07:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564786176001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564786176001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:12:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564786176001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":159804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:12:27] local.INFO: GPS data processed {"connection_id":159804,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:12:27] local.INFO: Acknowledgment sent {"connection_id":159804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:12:30] local.INFO: TCP Data received {"connection_id":162126,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271e43d0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271e43d0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:12:30] local.INFO: Processing buffer {"connection_id":162126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271e43d0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:12:30] local.INFO: Packet analysis {"connection_id":162126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271e"} 
[2026-08-22 07:12:30] local.INFO: Extracted packet for processing {"connection_id":162126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271e"} 
[2026-08-22 07:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564843264001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:12: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-22 07:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787362690000,"timestamp_ms":1787362690000,"timestamp_seconds":1787362690,"priority":1,"record_length":96,"hex_timestamp":"000001a0271e43d0"} 
[2026-08-22 07: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-22 07:12:30] 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-22 07: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 07:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:12:30] 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-22 07:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564843264001,"66":12743,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564843264001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:12:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564843264001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":162126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:12:30] local.INFO: GPS data processed {"connection_id":162126,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:12:30] local.INFO: Acknowledgment sent {"connection_id":162126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:12:53] local.INFO: TCP Data received {"connection_id":159552,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:12:53] local.INFO: Processing buffer {"connection_id":159552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:12:53] local.INFO: IMEI packet received {"connection_id":159552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":159552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:12:55] local.INFO: TCP Data received {"connection_id":159550,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:12:55] local.INFO: Processing buffer {"connection_id":159550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:12:55] local.INFO: IMEI packet received {"connection_id":159550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":159550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:12:59] local.INFO: TCP Data received {"connection_id":159552,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:12:59] local.INFO: Processing buffer {"connection_id":159552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:12:59] local.INFO: IMEI packet received {"connection_id":159552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":159552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:12:59] local.INFO: TCP Data received {"connection_id":159552,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271e95d8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271e95d8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:12:59] local.INFO: Processing buffer {"connection_id":159552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271e95d8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:12:59] local.INFO: Packet analysis {"connection_id":159552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271e"} 
[2026-08-22 07:12:59] local.INFO: Extracted packet for processing {"connection_id":159552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271e"} 
[2026-08-22 07:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564848640001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:12: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-22 07:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787362711000,"timestamp_ms":1787362711000,"timestamp_seconds":1787362711,"priority":1,"record_length":96,"hex_timestamp":"000001a0271e95d8"} 
[2026-08-22 07: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-22 07:12:59] 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-22 07: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-22 07:12:59] 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-22 07: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-22 07: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-22 07:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:12:59] 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-22 07:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564848640001,"66":12722,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564848640001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:12:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:12:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564848640001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":159552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:13:00] local.INFO: GPS data processed {"connection_id":159552,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:13:00] local.INFO: Acknowledgment sent {"connection_id":159552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:13:00] local.INFO: TCP Data received {"connection_id":159550,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:13:00] local.INFO: Processing buffer {"connection_id":159550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:13:00] local.INFO: IMEI packet received {"connection_id":159550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":159550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:13:01] local.INFO: TCP Data received {"connection_id":159550,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:13:01] local.INFO: Processing buffer {"connection_id":159550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:13:01] local.INFO: Packet analysis {"connection_id":159550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:13:01] local.INFO: Extracted packet for processing {"connection_id":159550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564786176001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:13: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-22 07:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787362754000,"timestamp_ms":1787362754000,"timestamp_seconds":1787362754,"priority":1,"record_length":96,"hex_timestamp":"000001a0271f3dd0"} 
[2026-08-22 07:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:13:01] 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-22 07:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564786176001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564786176001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:13:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564786176001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":159550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:13:01] local.INFO: GPS data processed {"connection_id":159550,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:13:01] local.INFO: Acknowledgment sent {"connection_id":159550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:13:05] local.INFO: TCP Data received {"connection_id":159550,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:13:05] local.INFO: Processing buffer {"connection_id":159550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:13:05] local.INFO: Packet analysis {"connection_id":159550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:13:05] local.INFO: Extracted packet for processing {"connection_id":159550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564786176001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:13:05] 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-22 07:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787362754000,"timestamp_ms":1787362754000,"timestamp_seconds":1787362754,"priority":1,"record_length":96,"hex_timestamp":"000001a0271f3dd0"} 
[2026-08-22 07: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-22 07:13:05] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564786176001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564786176001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:13:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564786176001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":159550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:13:05] local.INFO: GPS data processed {"connection_id":159550,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:13:05] local.INFO: Acknowledgment sent {"connection_id":159550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:13:31] local.INFO: TCP Data received {"connection_id":159552,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271ee7e0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271ee7e0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:13:31] local.INFO: Processing buffer {"connection_id":159552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271ee7e0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:13:31] local.INFO: Packet analysis {"connection_id":159552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271e"} 
[2026-08-22 07:13:31] local.INFO: Extracted packet for processing {"connection_id":159552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271e"} 
[2026-08-22 07:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564854016001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787362732000,"timestamp_ms":1787362732000,"timestamp_seconds":1787362732,"priority":1,"record_length":96,"hex_timestamp":"000001a0271ee7e0"} 
[2026-08-22 07:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:13:31] 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-22 07:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 07:13:31] 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-22 07:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:13:31] 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-22 07:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564854016001,"66":12722,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564854016001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:13:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:13:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564854016001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":159552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:13:31] local.INFO: GPS data processed {"connection_id":159552,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:13:31] local.INFO: Acknowledgment sent {"connection_id":159552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:13:50] local.INFO: TCP Data received {"connection_id":159553,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:13:50] local.INFO: Processing buffer {"connection_id":159553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:13:50] local.INFO: IMEI packet received {"connection_id":159553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":159553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:13:53] local.INFO: TCP Data received {"connection_id":160718,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:13:53] local.INFO: Processing buffer {"connection_id":160718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:13:53] local.INFO: IMEI packet received {"connection_id":160718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":160718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:13:55] local.INFO: TCP Data received {"connection_id":159553,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:13:55] local.INFO: Processing buffer {"connection_id":159553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:13:55] local.INFO: IMEI packet received {"connection_id":159553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":159553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:13:56] local.INFO: TCP Data received {"connection_id":159553,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:13:56] local.INFO: Processing buffer {"connection_id":159553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:13:56] local.INFO: Packet analysis {"connection_id":159553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:13:56] local.INFO: Extracted packet for processing {"connection_id":159553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:13:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564786176001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07: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-22 07:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787362754000,"timestamp_ms":1787362754000,"timestamp_seconds":1787362754,"priority":1,"record_length":96,"hex_timestamp":"000001a0271f3dd0"} 
[2026-08-22 07: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-22 07:13:56] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564786176001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564786176001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:13:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:13:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564786176001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":159553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:13:56] local.INFO: GPS data processed {"connection_id":159553,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:13:56] local.INFO: Acknowledgment sent {"connection_id":159553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:13:59] local.INFO: TCP Data received {"connection_id":160718,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:13:59] local.INFO: Processing buffer {"connection_id":160718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:13:59] local.INFO: IMEI packet received {"connection_id":160718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":160718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:14:00] local.INFO: TCP Data received {"connection_id":160718,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0271f39e8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271f39e8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:14:00] local.INFO: Processing buffer {"connection_id":160718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271f39e8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:14:00] local.INFO: Packet analysis {"connection_id":160718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:14:00] local.INFO: Extracted packet for processing {"connection_id":160718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:14:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564859392001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787362753000,"timestamp_ms":1787362753000,"timestamp_seconds":1787362753,"priority":1,"record_length":96,"hex_timestamp":"000001a0271f39e8"} 
[2026-08-22 07: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-22 07:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 07:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:14:00] 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-22 07:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564859392001,"66":12722,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564859392001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:14:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564859392001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":160718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:14:00] local.INFO: GPS data processed {"connection_id":160718,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:14:00] local.INFO: Acknowledgment sent {"connection_id":160718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:14:27] local.INFO: TCP Data received {"connection_id":159553,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:14:27] local.INFO: Processing buffer {"connection_id":159553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0271f3dd0012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:14:27] local.INFO: Packet analysis {"connection_id":159553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:14:27] local.INFO: Extracted packet for processing {"connection_id":159553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0271f"} 
[2026-08-22 07:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564786176001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14: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-22 07:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787362754000,"timestamp_ms":1787362754000,"timestamp_seconds":1787362754,"priority":1,"record_length":96,"hex_timestamp":"000001a0271f3dd0"} 
[2026-08-22 07: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-22 07:14:27] 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-22 07:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564786176001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564786176001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:14:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564786176001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":159553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:14:27] local.INFO: GPS data processed {"connection_id":159553,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:14:27] local.INFO: Acknowledgment sent {"connection_id":159553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:14:31] local.INFO: TCP Data received {"connection_id":160718,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02722c040012d196940071fedd8003e011c27..."} 
[2026-08-22 07:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02722c040012d196940071fedd8003e011c27..."} 
[2026-08-22 07:14:31] local.INFO: Processing buffer {"connection_id":160718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02722c040012d196940071fedd8003e011c27..."} 
[2026-08-22 07:14:31] local.INFO: Packet analysis {"connection_id":160718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02722"} 
[2026-08-22 07:14:31] local.INFO: Extracted packet for processing {"connection_id":160718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02722"} 
[2026-08-22 07:14:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564918528001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787362984000,"timestamp_ms":1787362984000,"timestamp_seconds":1787362984,"priority":1,"record_length":96,"hex_timestamp":"000001a02722c040"} 
[2026-08-22 07: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-22 07:14:31] 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-22 07: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-22 07:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:31] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":10241,"corrected_to":0} 
[2026-08-22 07:14:31] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744329842879960,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:31] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 07:14:31] local.WARNING: Large IO value detected {"io_id":58,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:31] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:31] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,160,28,45,64,237,62,39,10,66,202,40,120,1,240,69,227,31,4,113,205,212,105,216,37,239,49,2,51,7,58,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":202,"original":10241,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 07:14:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07: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-22 07:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:14:31] 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-22 07:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564918528001,"66":12526,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564918528001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:14:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:14:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564918528001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":160718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:14:31] local.INFO: GPS data processed {"connection_id":160718,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:14:31] local.INFO: Acknowledgment sent {"connection_id":160718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:14:52] local.INFO: TCP Data received {"connection_id":159805,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:14:52] local.INFO: Processing buffer {"connection_id":159805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:14:52] local.INFO: IMEI packet received {"connection_id":159805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":159805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:14:55] local.INFO: TCP Data received {"connection_id":159805,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:14:55] local.INFO: Processing buffer {"connection_id":159805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:14:55] local.INFO: IMEI packet received {"connection_id":159805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":159805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:14:55] local.INFO: TCP Data received {"connection_id":159805,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:14:55] local.INFO: Processing buffer {"connection_id":159805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:14:55] local.INFO: Packet analysis {"connection_id":159805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:14:55] local.INFO: Extracted packet for processing {"connection_id":159805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564865024001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:14: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-22 07:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787363060000,"timestamp_ms":1787363060000,"timestamp_seconds":1787363060,"priority":1,"record_length":96,"hex_timestamp":"000001a02723e920"} 
[2026-08-22 07: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-22 07:14:55] 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-22 07:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:14: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-22 07: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-22 07: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-22 07:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564865024001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564865024001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:14:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:14:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564865024001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":159805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:14:55] local.INFO: GPS data processed {"connection_id":159805,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:14:55] local.INFO: Acknowledgment sent {"connection_id":159805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:14:59] local.INFO: TCP Data received {"connection_id":159806,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:14:59] local.INFO: Processing buffer {"connection_id":159806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:14:59] local.INFO: IMEI packet received {"connection_id":159806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":159806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:15:00] local.INFO: TCP Data received {"connection_id":159805,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:15:00] local.INFO: Processing buffer {"connection_id":159805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:15:00] local.INFO: Packet analysis {"connection_id":159805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:15:00] local.INFO: Extracted packet for processing {"connection_id":159805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:15:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564865024001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15: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-22 07:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787363060000,"timestamp_ms":1787363060000,"timestamp_seconds":1787363060,"priority":1,"record_length":96,"hex_timestamp":"000001a02723e920"} 
[2026-08-22 07: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-22 07:15: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-22 07:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:15: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-22 07: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-22 07: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-22 07:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564865024001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564865024001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:15:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:15:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564865024001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":159805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:15:00] local.INFO: GPS data processed {"connection_id":159805,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:15:00] local.INFO: Acknowledgment sent {"connection_id":159805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:15:04] local.INFO: TCP Data received {"connection_id":159806,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:15:04] local.INFO: Processing buffer {"connection_id":159806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:15:04] local.INFO: IMEI packet received {"connection_id":159806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":159806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:15:08] local.INFO: TCP Data received {"connection_id":159806,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027231248012d196940071fedd8003e011c29..."} 
[2026-08-22 07:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027231248012d196940071fedd8003e011c29..."} 
[2026-08-22 07:15:08] local.INFO: Processing buffer {"connection_id":159806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027231248012d196940071fedd8003e011c29..."} 
[2026-08-22 07:15:08] local.INFO: Packet analysis {"connection_id":159806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:15:08] local.INFO: Extracted packet for processing {"connection_id":159806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564923904001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787363005000,"timestamp_ms":1787363005000,"timestamp_seconds":1787363005,"priority":1,"record_length":96,"hex_timestamp":"000001a027231248"} 
[2026-08-22 07: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-22 07:15:08] 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-22 07: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:15:08] 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-22 07: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-22 07: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-22 07:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:15:08] 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-22 07:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564923904001,"66":12558,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564923904001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:15:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:15:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564923904001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":159806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:15:08] local.INFO: GPS data processed {"connection_id":159806,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:15:08] local.INFO: Acknowledgment sent {"connection_id":159806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:15:09] local.INFO: TCP Data received {"connection_id":159806,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027236450012d196940071fedd8003e011c29..."} 
[2026-08-22 07:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027236450012d196940071fedd8003e011c29..."} 
[2026-08-22 07:15:09] local.INFO: Processing buffer {"connection_id":159806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027236450012d196940071fedd8003e011c29..."} 
[2026-08-22 07:15:09] local.INFO: Packet analysis {"connection_id":159806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:15:09] local.INFO: Extracted packet for processing {"connection_id":159806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:15:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564929280001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787363026000,"timestamp_ms":1787363026000,"timestamp_seconds":1787363026,"priority":1,"record_length":96,"hex_timestamp":"000001a027236450"} 
[2026-08-22 07: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-22 07:15:09] 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-22 07: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-22 07:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744329842879960,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:09] local.WARNING: Large IO value detected {"io_id":58,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:09] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 07:15:09] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:09] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:09] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,192,45,64,237,62,39,10,66,110,38,28,1,240,58,227,31,4,113,205,120,105,216,239,49,2,51,7,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 07:15:09] 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-22 07: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-22 07:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:15:09] 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-22 07:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564929280001,"66":12558,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564929280001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:15:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:15:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564929280001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":159806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:15:09] local.INFO: GPS data processed {"connection_id":159806,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:15:09] local.INFO: Acknowledgment sent {"connection_id":159806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:15:31] local.INFO: TCP Data received {"connection_id":159805,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:15:31] local.INFO: Processing buffer {"connection_id":159805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:15:31] local.INFO: Packet analysis {"connection_id":159805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:15:31] local.INFO: Extracted packet for processing {"connection_id":159805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:15:31] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564865024001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:31] 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-22 07:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787363060000,"timestamp_ms":1787363060000,"timestamp_seconds":1787363060,"priority":1,"record_length":96,"hex_timestamp":"000001a02723e920"} 
[2026-08-22 07: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-22 07:15:31] 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-22 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:15: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-22 07: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-22 07: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-22 07:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564865024001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564865024001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:15:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:15:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564865024001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":159805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:15:31] local.INFO: GPS data processed {"connection_id":159805,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:15:31] local.INFO: Acknowledgment sent {"connection_id":159805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:15:49] local.INFO: TCP Data received {"connection_id":162127,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:15:49] local.INFO: Processing buffer {"connection_id":162127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:15:49] local.INFO: IMEI packet received {"connection_id":162127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":162127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:15:53] local.INFO: TCP Data received {"connection_id":160719,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:15:53] local.INFO: Processing buffer {"connection_id":160719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:15:53] local.INFO: IMEI packet received {"connection_id":160719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":160719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:15:55] local.INFO: TCP Data received {"connection_id":162127,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:15:55] local.INFO: Processing buffer {"connection_id":162127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:15:55] local.INFO: IMEI packet received {"connection_id":162127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":162127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:15:56] local.INFO: TCP Data received {"connection_id":162127,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:15:56] local.INFO: Processing buffer {"connection_id":162127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:15:56] local.INFO: Packet analysis {"connection_id":162127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:15:56] local.INFO: Extracted packet for processing {"connection_id":162127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564865024001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15: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-22 07:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787363060000,"timestamp_ms":1787363060000,"timestamp_seconds":1787363060,"priority":1,"record_length":96,"hex_timestamp":"000001a02723e920"} 
[2026-08-22 07: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-22 07:15:56] 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-22 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:15:56] 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-22 07: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-22 07: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-22 07:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564865024001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564865024001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:15:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564865024001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":162127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:15:56] local.INFO: GPS data processed {"connection_id":162127,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:15:56] local.INFO: Acknowledgment sent {"connection_id":162127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:15:59] local.INFO: TCP Data received {"connection_id":160719,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:15:59] local.INFO: Processing buffer {"connection_id":160719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:15:59] local.INFO: IMEI packet received {"connection_id":160719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":160719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:15:59] local.INFO: TCP Data received {"connection_id":160719,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02723b658012d196940071fedd8003e011c28..."} 
[2026-08-22 07:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02723b658012d196940071fedd8003e011c28..."} 
[2026-08-22 07:15:59] local.INFO: Processing buffer {"connection_id":160719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02723b658012d196940071fedd8003e011c28..."} 
[2026-08-22 07:15:59] local.INFO: Packet analysis {"connection_id":160719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:15:59] local.INFO: Extracted packet for processing {"connection_id":160719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564934656001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15: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-22 07:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787363047000,"timestamp_ms":1787363047000,"timestamp_seconds":1787363047,"priority":1,"record_length":96,"hex_timestamp":"000001a02723b658"} 
[2026-08-22 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-22 07:15:59] 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-22 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-22 07:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744329842879960,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 07:15:59] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":671165721,"corrected_to":0} 
[2026-08-22 07:15:59] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:59] local.WARNING: Large IO value detected {"io_id":58,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:59] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 07:15:59] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,160,18,45,64,237,62,41,10,66,192,39,110,1,240,14,227,31,4,113,205,202,105,216,40,239,49,2,51,7,120,58,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":202,"original":671165721,"validated":0}]} 
[2026-08-22 07:15:59] 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-22 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-22 07:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:15:59] 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-22 07:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564934656001,"66":12548,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564934656001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:15:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:15:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564934656001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":160719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:16:00] local.INFO: GPS data processed {"connection_id":160719,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:16:00] local.INFO: Acknowledgment sent {"connection_id":160719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:16:27] local.INFO: TCP Data received {"connection_id":162127,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:16:27] local.INFO: Processing buffer {"connection_id":162127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:16:27] local.INFO: Packet analysis {"connection_id":162127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:16:27] local.INFO: Extracted packet for processing {"connection_id":162127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564865024001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:16: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-22 07:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787363060000,"timestamp_ms":1787363060000,"timestamp_seconds":1787363060,"priority":1,"record_length":96,"hex_timestamp":"000001a02723e920"} 
[2026-08-22 07: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-22 07:16:27] 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-22 07:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:16:27] 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-22 07: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-22 07: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-22 07:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564865024001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564865024001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:16:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564865024001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":162127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:16:27] local.INFO: GPS data processed {"connection_id":162127,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:16:27] local.INFO: Acknowledgment sent {"connection_id":162127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:16:30] local.INFO: TCP Data received {"connection_id":160719,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027240860012d196940071fedd8003e011c28..."} 
[2026-08-22 07:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027240860012d196940071fedd8003e011c28..."} 
[2026-08-22 07:16:30] local.INFO: Processing buffer {"connection_id":160719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027240860012d196940071fedd8003e011c28..."} 
[2026-08-22 07:16:30] local.INFO: Packet analysis {"connection_id":160719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02724"} 
[2026-08-22 07:16:30] local.INFO: Extracted packet for processing {"connection_id":160719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02724"} 
[2026-08-22 07:16:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564940032001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:16: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-22 07:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787363068000,"timestamp_ms":1787363068000,"timestamp_seconds":1787363068,"priority":1,"record_length":96,"hex_timestamp":"000001a027240860"} 
[2026-08-22 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-22 07:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 07:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-22 07:16:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 07:16:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:16:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-08-22 07:16:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 07:16:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 07:16:30] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:16:30] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,100,45,64,237,62,41,10,66,18,192,1,240,238,227,39,31,4,113,205,28,105,216,239,49,2,51,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 07:16:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883263452512256,"timestamp_seconds":4467883263452512.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 07:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:16:30] 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-22 07:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564940032001,"66":12504,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564940032001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:16:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:16:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564940032001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":160719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:16:30] local.INFO: GPS data processed {"connection_id":160719,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:16:30] local.INFO: Acknowledgment sent {"connection_id":160719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:16:50] local.INFO: TCP Data received {"connection_id":159808,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:16:50] local.INFO: Processing buffer {"connection_id":159808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:16:50] local.INFO: IMEI packet received {"connection_id":159808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":159808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:16:54] local.INFO: TCP Data received {"connection_id":159808,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:16:54] local.INFO: Processing buffer {"connection_id":159808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:16:54] local.INFO: IMEI packet received {"connection_id":159808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":159808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:16:55] local.INFO: TCP Data received {"connection_id":159809,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:16:55] local.INFO: Processing buffer {"connection_id":159809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:16:55] local.INFO: IMEI packet received {"connection_id":159809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":159809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:16:59] local.INFO: TCP Data received {"connection_id":159808,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:16:59] local.INFO: Processing buffer {"connection_id":159808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:16:59] local.INFO: IMEI packet received {"connection_id":159808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":159808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:17:00] local.INFO: TCP Data received {"connection_id":159808,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027245a68012d196940071fedd8003e011c28..."} 
[2026-08-22 07:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027245a68012d196940071fedd8003e011c28..."} 
[2026-08-22 07:17:00] local.INFO: Processing buffer {"connection_id":159808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027245a68012d196940071fedd8003e011c28..."} 
[2026-08-22 07:17:00] local.INFO: Packet analysis {"connection_id":159808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02724"} 
[2026-08-22 07:17:00] local.INFO: Extracted packet for processing {"connection_id":159808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02724"} 
[2026-08-22 07:17:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564945408001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787363089000,"timestamp_ms":1787363089000,"timestamp_seconds":1787363089,"priority":1,"record_length":96,"hex_timestamp":"000001a027245a68"} 
[2026-08-22 07: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-22 07:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 07:17:00] 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-22 07: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-22 07: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-22 07:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:17:00] 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-22 07:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564945408001,"66":12548,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564945408001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:17:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:17:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564945408001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":159808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:17:00] local.INFO: GPS data processed {"connection_id":159808,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:17:00] local.INFO: Acknowledgment sent {"connection_id":159808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:17:00] local.INFO: TCP Data received {"connection_id":159809,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:17:00] local.INFO: Processing buffer {"connection_id":159809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:17:00] local.INFO: IMEI packet received {"connection_id":159809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":159809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:17:01] local.INFO: TCP Data received {"connection_id":159809,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:17:01] local.INFO: Processing buffer {"connection_id":159809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:17:01] local.INFO: Packet analysis {"connection_id":159809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:17:01] local.INFO: Extracted packet for processing {"connection_id":159809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564865024001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17: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-22 07:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787363060000,"timestamp_ms":1787363060000,"timestamp_seconds":1787363060,"priority":1,"record_length":96,"hex_timestamp":"000001a02723e920"} 
[2026-08-22 07: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-22 07:17:01] 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-22 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:17:01] 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-22 07: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-22 07: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-22 07:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564865024001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564865024001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:17:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564865024001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":159809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:17:01] local.INFO: GPS data processed {"connection_id":159809,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:17:01] local.INFO: Acknowledgment sent {"connection_id":159809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:17:03] local.INFO: TCP Data received {"connection_id":162129,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:17:03] local.INFO: Processing buffer {"connection_id":162129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:17:03] local.INFO: IMEI packet received {"connection_id":162129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":162129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:17:05] local.INFO: TCP Data received {"connection_id":162129,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:17:05] local.INFO: Processing buffer {"connection_id":162129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:17:05] local.INFO: IMEI packet received {"connection_id":162129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":162129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:17:05] local.INFO: TCP Data received {"connection_id":159809,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:17:05] local.INFO: Processing buffer {"connection_id":159809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:17:05] local.INFO: Packet analysis {"connection_id":159809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:17:05] local.INFO: Extracted packet for processing {"connection_id":159809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564865024001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:05] 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-22 07:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787363060000,"timestamp_ms":1787363060000,"timestamp_seconds":1787363060,"priority":1,"record_length":96,"hex_timestamp":"000001a02723e920"} 
[2026-08-22 07: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-22 07:17:05] 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-22 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:17:05] 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-22 07: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-22 07: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-22 07:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564865024001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564865024001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:17:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:17:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564865024001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":159809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:17:05] local.INFO: GPS data processed {"connection_id":159809,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:17:05] local.INFO: Acknowledgment sent {"connection_id":159809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:17:07] local.INFO: TCP Data received {"connection_id":162129,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0272596d0012d837f8005ca7bc8000c001820..."} 
[2026-08-22 07:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272596d0012d837f8005ca7bc8000c001820..."} 
[2026-08-22 07:17:07] local.INFO: Processing buffer {"connection_id":162129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272596d0012d837f8005ca7bc8000c001820..."} 
[2026-08-22 07:17:07] local.INFO: Packet analysis {"connection_id":162129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02725"} 
[2026-08-22 07:17:07] local.INFO: Extracted packet for processing {"connection_id":162129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02725"} 
[2026-08-22 07:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763592576,"raw_latitude":97156040,"longitude_deg":76.3592576,"latitude_deg":9.715604,"altitude":12,"angle":24,"satellites":32,"speed":52,"hex_longitude":"2d837f80","hex_latitude":"05ca7bc8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564969984001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122136556227002368,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8974196288851525632,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787363170000,"timestamp_ms":1787363170000,"timestamp_seconds":1787363170,"priority":1,"record_length":96,"hex_timestamp":"000001a0272596d0"} 
[2026-08-22 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-22 07:17: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-22 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-22 07:17:07] 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-22 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-22 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-22 07:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07: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-22 07:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564969984001,"66":13243,"155":206,"85":15104,"24":52,"16":122136556227002368,"45":-8974196288851525632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-22 07:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564969984001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:17:07] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-22 07:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122136556227002368,"km_value":122136556227002.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8974196288851525632,"description":"Unknown IO ID 45"} 
[2026-08-22 07:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564969984001,"power":13243,"unknown_155":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":-8974196288851525632}} 
[2026-08-22 07:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":162129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:17:07] local.INFO: GPS data processed {"connection_id":162129,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:17:07] local.INFO: Acknowledgment sent {"connection_id":162129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:17:08] local.INFO: TCP Data received {"connection_id":162129,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02725b228012d838b4005caa0c8000c000e20..."} 
[2026-08-22 07:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02725b228012d838b4005caa0c8000c000e20..."} 
[2026-08-22 07:17:08] local.INFO: Processing buffer {"connection_id":162129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02725b228012d838b4005caa0c8000c000e20..."} 
[2026-08-22 07:17:08] local.INFO: Packet analysis {"connection_id":162129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02725"} 
[2026-08-22 07:17:08] local.INFO: Extracted packet for processing {"connection_id":162129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02725"} 
[2026-08-22 07:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763595584,"raw_latitude":97165512,"longitude_deg":76.3595584,"latitude_deg":9.7165512,"altitude":12,"angle":14,"satellites":32,"speed":56,"hex_longitude":"2d838b40","hex_latitude":"05caa0c8","is_valid_coordinates":true} 
[2026-08-22 07:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564971520001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122137037263339520,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8971311170338437120,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787363177000,"timestamp_ms":1787363177000,"timestamp_seconds":1787363177,"priority":1,"record_length":96,"hex_timestamp":"000001a02725b228"} 
[2026-08-22 07:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:17: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-22 07:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-22 07:17: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-22 07:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:17: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-22 07:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564971520001,"66":13254,"155":206,"85":15104,"24":56,"16":122137037263339520,"45":-8971311170338437120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-22 07:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564971520001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:17:08] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-22 07:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122137037263339520,"km_value":122137037263339.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8971311170338437120,"description":"Unknown IO ID 45"} 
[2026-08-22 07:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564971520001,"power":13254,"unknown_155":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":-8971311170338437120}} 
[2026-08-22 07:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":162129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:17:08] local.INFO: GPS data processed {"connection_id":162129,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:17:08] local.INFO: Acknowledgment sent {"connection_id":162129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:17:31] local.INFO: TCP Data received {"connection_id":159808,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02724ac70012d196940071fedd8003e011c28..."} 
[2026-08-22 07:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02724ac70012d196940071fedd8003e011c28..."} 
[2026-08-22 07:17:31] local.INFO: Processing buffer {"connection_id":159808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02724ac70012d196940071fedd8003e011c28..."} 
[2026-08-22 07:17:31] local.INFO: Packet analysis {"connection_id":159808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02724"} 
[2026-08-22 07:17:31] local.INFO: Extracted packet for processing {"connection_id":159808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02724"} 
[2026-08-22 07:17:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564950784001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787363110000,"timestamp_ms":1787363110000,"timestamp_seconds":1787363110,"priority":1,"record_length":96,"hex_timestamp":"000001a02724ac70"} 
[2026-08-22 07: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-22 07:17:31] 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-22 07: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 07:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:31] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 07:17:31] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:31] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:31] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,8,45,64,237,62,40,10,66,182,100,1,240,14,227,39,31,4,113,205,192,105,216,239,48,2,51,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 07:17:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883263452512256,"timestamp_seconds":4467883263452512.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07: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-22 07:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:17:31] 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-22 07:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564950784001,"66":12537,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564950784001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:17:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:17:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564950784001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":159808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:17:31] local.INFO: GPS data processed {"connection_id":159808,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:17:31] local.INFO: Acknowledgment sent {"connection_id":159808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:17:39] local.INFO: TCP Data received {"connection_id":162129,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02725cd80012d83960005cac698000c001022..."} 
[2026-08-22 07:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02725cd80012d83960005cac698000c001022..."} 
[2026-08-22 07:17:39] local.INFO: Processing buffer {"connection_id":162129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02725cd80012d83960005cac698000c001022..."} 
[2026-08-22 07:17:39] local.INFO: Packet analysis {"connection_id":162129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02725"} 
[2026-08-22 07:17:39] local.INFO: Extracted packet for processing {"connection_id":162129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02725"} 
[2026-08-22 07:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763598336,"raw_latitude":97175192,"longitude_deg":76.3598336,"latitude_deg":9.7175192,"altitude":12,"angle":16,"satellites":34,"speed":56,"hex_longitude":"2d839600","hex_latitude":"05cac698","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564973312001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122137526889611264,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8968003839359662080,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787363184000,"timestamp_ms":1787363184000,"timestamp_seconds":1787363184,"priority":1,"record_length":96,"hex_timestamp":"000001a02725cd80"} 
[2026-08-22 07: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-22 07:17: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-22 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 07:17: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-22 07: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-22 07: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-22 07:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:17: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-22 07:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564973312001,"66":13472,"155":206,"85":15104,"24":56,"16":122137526889611264,"45":-8968003839359662080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-22 07:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564973312001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:17:39] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-22 07:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122137526889611264,"km_value":122137526889611.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8968003839359662080,"description":"Unknown IO ID 45"} 
[2026-08-22 07:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564973312001,"power":13472,"unknown_155":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":-8968003839359662080}} 
[2026-08-22 07:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":162129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:17:39] local.INFO: GPS data processed {"connection_id":162129,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:17:39] local.INFO: Acknowledgment sent {"connection_id":162129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:17:50] local.INFO: TCP Data received {"connection_id":162130,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:17:50] local.INFO: Processing buffer {"connection_id":162130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:17:50] local.INFO: IMEI packet received {"connection_id":162130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":162130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:17:53] local.INFO: TCP Data received {"connection_id":162132,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:17:53] local.INFO: Processing buffer {"connection_id":162132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:17:53] local.INFO: IMEI packet received {"connection_id":162132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":162132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:17:54] local.INFO: TCP Data received {"connection_id":162131,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:17:54] local.INFO: Processing buffer {"connection_id":162131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:17:54] local.INFO: IMEI packet received {"connection_id":162131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":162131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:17:54] local.INFO: TCP Data received {"connection_id":162131,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:17:54] local.INFO: Processing buffer {"connection_id":162131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:17:54] local.INFO: IMEI packet received {"connection_id":162131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":162131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:17:55] local.INFO: TCP Data received {"connection_id":162130,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:17:55] local.INFO: Processing buffer {"connection_id":162130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:17:55] local.INFO: IMEI packet received {"connection_id":162130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":162130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:17:56] local.INFO: TCP Data received {"connection_id":162130,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:17:56] local.INFO: Processing buffer {"connection_id":162130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:17:56] local.INFO: Packet analysis {"connection_id":162130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:17:56] local.INFO: Extracted packet for processing {"connection_id":162130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564865024001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17: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-22 07:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787363060000,"timestamp_ms":1787363060000,"timestamp_seconds":1787363060,"priority":1,"record_length":96,"hex_timestamp":"000001a02723e920"} 
[2026-08-22 07: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-22 07:17:56] 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-22 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:17:56] 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-22 07: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-22 07: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-22 07:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564865024001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564865024001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:17:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564865024001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":162130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:17:56] local.INFO: GPS data processed {"connection_id":162130,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:17:56] local.INFO: Acknowledgment sent {"connection_id":162130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:17:56] local.INFO: TCP Data received {"connection_id":162132,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:17:56] local.INFO: Processing buffer {"connection_id":162132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:17:56] local.INFO: IMEI packet received {"connection_id":162132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":162132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:17:59] local.INFO: TCP Data received {"connection_id":162131,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:17:59] local.INFO: Processing buffer {"connection_id":162131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:17:59] local.INFO: IMEI packet received {"connection_id":162131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":162131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:17:59] local.INFO: TCP Data received {"connection_id":162131,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02724fe78012d196940071fedd8003e011c27..."} 
[2026-08-22 07:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02724fe78012d196940071fedd8003e011c27..."} 
[2026-08-22 07:17:59] local.INFO: Processing buffer {"connection_id":162131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02724fe78012d196940071fedd8003e011c27..."} 
[2026-08-22 07:17:59] local.INFO: Packet analysis {"connection_id":162131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02724"} 
[2026-08-22 07:17:59] local.INFO: Extracted packet for processing {"connection_id":162131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02724"} 
[2026-08-22 07:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564956160001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:17: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-22 07:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787363131000,"timestamp_ms":1787363131000,"timestamp_seconds":1787363131,"priority":1,"record_length":96,"hex_timestamp":"000001a02724fe78"} 
[2026-08-22 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-22 07:17:59] 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-22 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 07:17:59] 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-22 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-22 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-22 07:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:17:59] 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-22 07:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564956160001,"66":12526,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564956160001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:17:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:17:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564956160001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":162131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:18:00] local.INFO: GPS data processed {"connection_id":162131,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:18:00] local.INFO: Acknowledgment sent {"connection_id":162131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:18:00] local.INFO: TCP Data received {"connection_id":162132,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:18:00] local.INFO: Processing buffer {"connection_id":162132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:18:00] local.INFO: IMEI packet received {"connection_id":162132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":162132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:18:01] local.INFO: TCP Data received {"connection_id":162132,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02726f278012d83cc4005cc3f68000e001a22..."} 
[2026-08-22 07:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02726f278012d83cc4005cc3f68000e001a22..."} 
[2026-08-22 07:18:01] local.INFO: Processing buffer {"connection_id":162132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02726f278012d83cc4005cc3f68000e001a22..."} 
[2026-08-22 07:18:01] local.INFO: Packet analysis {"connection_id":162132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02726"} 
[2026-08-22 07:18:01] local.INFO: Extracted packet for processing {"connection_id":162132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02726"} 
[2026-08-22 07:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763612224,"raw_latitude":97271656,"longitude_deg":76.3612224,"latitude_deg":9.7271656,"altitude":14,"angle":26,"satellites":34,"speed":53,"hex_longitude":"2d83cc40","hex_latitude":"05cc3f68","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564993280001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122142277123440640,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8951467184452012032,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18:01] 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-22 07:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787363259000,"timestamp_ms":1787363259000,"timestamp_seconds":1787363259,"priority":1,"record_length":96,"hex_timestamp":"000001a02726f278"} 
[2026-08-22 07: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-22 07:18: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-22 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-22 07:18:01] 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-22 07: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-22 07: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-22 07:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:18:01] 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-22 07:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564993280001,"66":13276,"63":206,"85":15104,"24":53,"16":122142277123440640,"45":-8951467184452012032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-22 07:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564993280001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:18:01] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-22 07:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122142277123440640,"km_value":122142277123440.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8951467184452012032,"description":"Unknown IO ID 45"} 
[2026-08-22 07:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564993280001,"power":13276,"unknown_63":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":-8951467184452012032}} 
[2026-08-22 07:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":162132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:18:01] local.INFO: GPS data processed {"connection_id":162132,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:18:01] local.INFO: Acknowledgment sent {"connection_id":162132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:18:27] local.INFO: TCP Data received {"connection_id":162130,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:18:27] local.INFO: Processing buffer {"connection_id":162130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:18:27] local.INFO: Packet analysis {"connection_id":162130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:18:27] local.INFO: Extracted packet for processing {"connection_id":162130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564865024001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18: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-22 07:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787363060000,"timestamp_ms":1787363060000,"timestamp_seconds":1787363060,"priority":1,"record_length":96,"hex_timestamp":"000001a02723e920"} 
[2026-08-22 07: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-22 07:18:27] 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-22 07:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:18:27] 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-22 07: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-22 07: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-22 07:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564865024001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564865024001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:18:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564865024001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":162130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:18:27] local.INFO: GPS data processed {"connection_id":162130,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:18:27] local.INFO: Acknowledgment sent {"connection_id":162130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:18:31] local.INFO: TCP Data received {"connection_id":162131,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027255080012d196940071fedd8003e011c25..."} 
[2026-08-22 07:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027255080012d196940071fedd8003e011c25..."} 
[2026-08-22 07:18:31] local.INFO: Processing buffer {"connection_id":162131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027255080012d196940071fedd8003e011c25..."} 
[2026-08-22 07:18:31] local.INFO: Packet analysis {"connection_id":162131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02725"} 
[2026-08-22 07:18:31] local.INFO: Extracted packet for processing {"connection_id":162131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02725"} 
[2026-08-22 07:18:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564961536001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787363152000,"timestamp_ms":1787363152000,"timestamp_seconds":1787363152,"priority":1,"record_length":96,"hex_timestamp":"000001a027255080"} 
[2026-08-22 07: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-22 07:18:31] 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-22 07: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:18:31] 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-22 07: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-22 07: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-22 07:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:18:31] 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-22 07:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564961536001,"66":12526,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564961536001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:18:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:18:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564961536001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":162131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:18:31] local.INFO: GPS data processed {"connection_id":162131,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:18:31] local.INFO: Acknowledgment sent {"connection_id":162131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:18:32] local.INFO: TCP Data received {"connection_id":162132,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027270600012d83d6c005cc57f8000e000d20..."} 
[2026-08-22 07:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027270600012d83d6c005cc57f8000e000d20..."} 
[2026-08-22 07:18:32] local.INFO: Processing buffer {"connection_id":162132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027270600012d83d6c005cc57f8000e000d20..."} 
[2026-08-22 07:18:32] local.INFO: Packet analysis {"connection_id":162132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02727"} 
[2026-08-22 07:18:32] local.INFO: Extracted packet for processing {"connection_id":162132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02727"} 
[2026-08-22 07:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763614912,"raw_latitude":97277944,"longitude_deg":76.3614912,"latitude_deg":9.7277944,"altitude":14,"angle":13,"satellites":32,"speed":55,"hex_longitude":"2d83d6c0","hex_latitude":"05cc57f8","is_valid_coordinates":true} 
[2026-08-22 07:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564994304001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122142607835922432,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8949707965846296576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18:32] 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-22 07:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787363264000,"timestamp_ms":1787363264000,"timestamp_seconds":1787363264,"priority":1,"record_length":96,"hex_timestamp":"000001a027270600"} 
[2026-08-22 07:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:18: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-22 07:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 07:18:32] 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-22 07:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:18:32] 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-22 07:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564994304001,"66":13243,"63":206,"85":15104,"24":55,"16":122142607835922432,"45":-8949707965846296576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-22 07:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564994304001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:18:32] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-22 07:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122142607835922432,"km_value":122142607835922.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8949707965846296576,"description":"Unknown IO ID 45"} 
[2026-08-22 07:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564994304001,"power":13243,"unknown_63":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":-8949707965846296576}} 
[2026-08-22 07:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":162132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:18:32] local.INFO: GPS data processed {"connection_id":162132,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:18:32] local.INFO: Acknowledgment sent {"connection_id":162132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:18:49] local.INFO: TCP Data received {"connection_id":160720,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:18:49] local.INFO: Processing buffer {"connection_id":160720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:18:49] local.INFO: IMEI packet received {"connection_id":160720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":160720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:18:54] local.INFO: TCP Data received {"connection_id":159554,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:18:54] local.INFO: Processing buffer {"connection_id":159554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:18:54] local.INFO: IMEI packet received {"connection_id":159554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":159554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:18:55] local.INFO: TCP Data received {"connection_id":160720,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:18:55] local.INFO: Processing buffer {"connection_id":160720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:18:55] local.INFO: IMEI packet received {"connection_id":160720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":160720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:18:56] local.INFO: TCP Data received {"connection_id":160720,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:18:56] local.INFO: Processing buffer {"connection_id":160720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:18:56] local.INFO: Packet analysis {"connection_id":160720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:18:56] local.INFO: Extracted packet for processing {"connection_id":160720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564865024001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07: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-22 07:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787363060000,"timestamp_ms":1787363060000,"timestamp_seconds":1787363060,"priority":1,"record_length":96,"hex_timestamp":"000001a02723e920"} 
[2026-08-22 07: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-22 07:18:56] 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-22 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:18:56] 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-22 07: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-22 07: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-22 07:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564865024001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564865024001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:18:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564865024001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":160720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:18:56] local.INFO: GPS data processed {"connection_id":160720,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:18:56] local.INFO: Acknowledgment sent {"connection_id":160720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:18:57] local.INFO: TCP Data received {"connection_id":159554,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:18:57] local.INFO: Processing buffer {"connection_id":159554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:18:57] local.INFO: IMEI packet received {"connection_id":159554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":159554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:18:57] local.INFO: TCP Data received {"connection_id":159554,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02725a288012d196940071fedd8003e011c28..."} 
[2026-08-22 07:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02725a288012d196940071fedd8003e011c28..."} 
[2026-08-22 07:18:57] local.INFO: Processing buffer {"connection_id":159554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02725a288012d196940071fedd8003e011c28..."} 
[2026-08-22 07:18:57] local.INFO: Packet analysis {"connection_id":159554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02725"} 
[2026-08-22 07:18:57] local.INFO: Extracted packet for processing {"connection_id":159554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02725"} 
[2026-08-22 07:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564966912001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:18: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-22 07:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787363173000,"timestamp_ms":1787363173000,"timestamp_seconds":1787363173,"priority":1,"record_length":96,"hex_timestamp":"000001a02725a288"} 
[2026-08-22 07: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-22 07:18:57] 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-22 07: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:18:57] 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-22 07: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-22 07: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-22 07:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:18:57] 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-22 07:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564966912001,"66":12504,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564966912001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:18:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:18:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564966912001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":159554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:18:58] local.INFO: GPS data processed {"connection_id":159554,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:18:58] local.INFO: Acknowledgment sent {"connection_id":159554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:19:13] local.INFO: TCP Data received {"connection_id":162133,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:19:13] local.INFO: Processing buffer {"connection_id":162133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:19:13] local.INFO: IMEI packet received {"connection_id":162133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":162133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:19:26] local.INFO: TCP Data received {"connection_id":162133,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:19:26] local.INFO: Processing buffer {"connection_id":162133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:19:26] local.INFO: IMEI packet received {"connection_id":162133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":162133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:19:27] local.INFO: TCP Data received {"connection_id":160720,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:19:27] local.INFO: Processing buffer {"connection_id":160720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02723e920012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:19:27] local.INFO: Packet analysis {"connection_id":160720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:19:27] local.INFO: Extracted packet for processing {"connection_id":160720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02723"} 
[2026-08-22 07:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564865024001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:19: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-22 07:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787363060000,"timestamp_ms":1787363060000,"timestamp_seconds":1787363060,"priority":1,"record_length":96,"hex_timestamp":"000001a02723e920"} 
[2026-08-22 07: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-22 07:19:27] 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-22 07:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:19:27] 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-22 07: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-22 07: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-22 07:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564865024001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564865024001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:19:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564865024001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":160720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:19:27] local.INFO: GPS data processed {"connection_id":160720,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:19:27] local.INFO: Acknowledgment sent {"connection_id":160720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:19:27] local.INFO: TCP Data received {"connection_id":162133,"ip":"42.106.6.37","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-22 07:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162133,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-22 07:19:27] local.INFO: Processing buffer {"connection_id":162133,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-22 07:19:27] local.INFO: IMEI packet received {"connection_id":162133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":162133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:19:29] local.INFO: TCP Data received {"connection_id":159554,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02725f490012d196940071fedd8003e011c28..."} 
[2026-08-22 07:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02725f490012d196940071fedd8003e011c28..."} 
[2026-08-22 07:19:29] local.INFO: Processing buffer {"connection_id":159554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02725f490012d196940071fedd8003e011c28..."} 
[2026-08-22 07:19:29] local.INFO: Packet analysis {"connection_id":159554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02725"} 
[2026-08-22 07:19:29] local.INFO: Extracted packet for processing {"connection_id":159554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02725"} 
[2026-08-22 07:19:29] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564972288001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787363194000,"timestamp_ms":1787363194000,"timestamp_seconds":1787363194,"priority":1,"record_length":96,"hex_timestamp":"000001a02725f490"} 
[2026-08-22 07: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-22 07:19:29] 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-22 07: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 07:19:29] 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-22 07: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-22 07: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-22 07:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:19:29] 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-22 07:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564972288001,"66":12504,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564972288001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:19:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:19:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564972288001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":159554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:19:29] local.INFO: GPS data processed {"connection_id":159554,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:19:29] local.INFO: Acknowledgment sent {"connection_id":159554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:19:49] local.INFO: TCP Data received {"connection_id":159810,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:19:49] local.INFO: Processing buffer {"connection_id":159810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:19:49] local.INFO: IMEI packet received {"connection_id":159810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":159810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:19:53] local.INFO: TCP Data received {"connection_id":160721,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:19:53] local.INFO: Processing buffer {"connection_id":160721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:19:53] local.INFO: IMEI packet received {"connection_id":160721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":160721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:19:54] local.INFO: TCP Data received {"connection_id":159810,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:19:54] local.INFO: Processing buffer {"connection_id":159810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:19:54] local.INFO: IMEI packet received {"connection_id":159810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":159810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:19:55] local.INFO: TCP Data received {"connection_id":159810,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:19:55] local.INFO: Processing buffer {"connection_id":159810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:19:55] local.INFO: Packet analysis {"connection_id":159810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:19:55] local.INFO: Extracted packet for processing {"connection_id":159810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564943360001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:19: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-22 07:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787363366000,"timestamp_ms":1787363366000,"timestamp_seconds":1787363366,"priority":1,"record_length":96,"hex_timestamp":"000001a027289470"} 
[2026-08-22 07:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:19:55] 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-22 07:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564943360001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564943360001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:19:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:19:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564943360001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":159810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:19:55] local.INFO: GPS data processed {"connection_id":159810,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:19:55] local.INFO: Acknowledgment sent {"connection_id":159810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:19:59] local.INFO: TCP Data received {"connection_id":160721,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:19:59] local.INFO: Processing buffer {"connection_id":160721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:19:59] local.INFO: IMEI packet received {"connection_id":160721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":160721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:19:59] local.INFO: TCP Data received {"connection_id":160721,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027264698012d196940071fedd8003e011c28..."} 
[2026-08-22 07:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027264698012d196940071fedd8003e011c28..."} 
[2026-08-22 07:19:59] local.INFO: Processing buffer {"connection_id":160721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027264698012d196940071fedd8003e011c28..."} 
[2026-08-22 07:19:59] local.INFO: Packet analysis {"connection_id":160721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02726"} 
[2026-08-22 07:19:59] local.INFO: Extracted packet for processing {"connection_id":160721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02726"} 
[2026-08-22 07:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564977664001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:19: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-22 07:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787363215000,"timestamp_ms":1787363215000,"timestamp_seconds":1787363215,"priority":1,"record_length":96,"hex_timestamp":"000001a027264698"} 
[2026-08-22 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-22 07:19:59] 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-22 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 07:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:19:59] 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-22 07:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564977664001,"66":12504,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564977664001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:19:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:19:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564977664001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":160721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:20:00] local.INFO: GPS data processed {"connection_id":160721,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:20:00] local.INFO: Acknowledgment sent {"connection_id":160721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:20:26] local.INFO: TCP Data received {"connection_id":159810,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:20:26] local.INFO: Processing buffer {"connection_id":159810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:20:26] local.INFO: Packet analysis {"connection_id":159810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:20:26] local.INFO: Extracted packet for processing {"connection_id":159810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:20:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564943360001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:20: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-22 07:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787363366000,"timestamp_ms":1787363366000,"timestamp_seconds":1787363366,"priority":1,"record_length":96,"hex_timestamp":"000001a027289470"} 
[2026-08-22 07: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-22 07:20:26] 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-22 07:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564943360001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564943360001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:20:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564943360001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":159810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:20:26] local.INFO: GPS data processed {"connection_id":159810,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:20:26] local.INFO: Acknowledgment sent {"connection_id":159810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:20:31] local.INFO: TCP Data received {"connection_id":160721,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0272698a0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272698a0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:20:31] local.INFO: Processing buffer {"connection_id":160721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272698a0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:20:31] local.INFO: Packet analysis {"connection_id":160721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02726"} 
[2026-08-22 07:20:31] local.INFO: Extracted packet for processing {"connection_id":160721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02726"} 
[2026-08-22 07:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564983040001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787363236000,"timestamp_ms":1787363236000,"timestamp_seconds":1787363236,"priority":1,"record_length":96,"hex_timestamp":"000001a0272698a0"} 
[2026-08-22 07: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-22 07:20:31] 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-22 07:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 07:20:31] 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-22 07: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-22 07: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-22 07:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:20:31] 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-22 07:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564983040001,"66":12145,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564983040001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:20:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:20:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564983040001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":160721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:20:31] local.INFO: GPS data processed {"connection_id":160721,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:20:31] local.INFO: Acknowledgment sent {"connection_id":160721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:20:53] local.INFO: TCP Data received {"connection_id":159555,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:20:53] local.INFO: Processing buffer {"connection_id":159555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:20:53] local.INFO: IMEI packet received {"connection_id":159555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":159555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:20:55] local.INFO: TCP Data received {"connection_id":159812,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:20:55] local.INFO: Processing buffer {"connection_id":159812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:20:55] local.INFO: IMEI packet received {"connection_id":159812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":159812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:20:59] local.INFO: TCP Data received {"connection_id":159555,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:20:59] local.INFO: Processing buffer {"connection_id":159555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:20:59] local.INFO: IMEI packet received {"connection_id":159555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":159555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:20:59] local.INFO: TCP Data received {"connection_id":159555,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02726eaa8012d196940071fedd8003e011c28..."} 
[2026-08-22 07:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02726eaa8012d196940071fedd8003e011c28..."} 
[2026-08-22 07:20:59] local.INFO: Processing buffer {"connection_id":159555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02726eaa8012d196940071fedd8003e011c28..."} 
[2026-08-22 07:20:59] local.INFO: Packet analysis {"connection_id":159555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02726"} 
[2026-08-22 07:20:59] local.INFO: Extracted packet for processing {"connection_id":159555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02726"} 
[2026-08-22 07:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564988416001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:20: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-22 07:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787363257000,"timestamp_ms":1787363257000,"timestamp_seconds":1787363257,"priority":1,"record_length":96,"hex_timestamp":"000001a02726eaa8"} 
[2026-08-22 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-22 07:20:59] 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-22 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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-22 07:20:59] 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-22 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-22 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-22 07:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:20:59] 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-22 07:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564988416001,"66":12461,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564988416001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:20:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564988416001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":159555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:21:00] local.INFO: GPS data processed {"connection_id":159555,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:21:00] local.INFO: Acknowledgment sent {"connection_id":159555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:21:00] local.INFO: TCP Data received {"connection_id":159812,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:21:00] local.INFO: Processing buffer {"connection_id":159812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:21:00] local.INFO: IMEI packet received {"connection_id":159812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":159812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:21:01] local.INFO: TCP Data received {"connection_id":159812,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:21:01] local.INFO: Processing buffer {"connection_id":159812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:21:01] local.INFO: Packet analysis {"connection_id":159812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:21:01] local.INFO: Extracted packet for processing {"connection_id":159812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:21: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-22 07:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564943360001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:21: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-22 07:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787363366000,"timestamp_ms":1787363366000,"timestamp_seconds":1787363366,"priority":1,"record_length":96,"hex_timestamp":"000001a027289470"} 
[2026-08-22 07:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:21:01] 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-22 07:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:21: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-22 07:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564943360001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564943360001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:21:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564943360001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":159812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:21:01] local.INFO: GPS data processed {"connection_id":159812,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:21:01] local.INFO: Acknowledgment sent {"connection_id":159812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:21:05] local.INFO: TCP Data received {"connection_id":159812,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:21:05] local.INFO: Processing buffer {"connection_id":159812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:21:05] local.INFO: Packet analysis {"connection_id":159812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:21:05] local.INFO: Extracted packet for processing {"connection_id":159812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564943360001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:21:05] 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-22 07:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787363366000,"timestamp_ms":1787363366000,"timestamp_seconds":1787363366,"priority":1,"record_length":96,"hex_timestamp":"000001a027289470"} 
[2026-08-22 07: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-22 07:21:05] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564943360001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564943360001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:21:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:21:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564943360001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":159812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:21:05] local.INFO: GPS data processed {"connection_id":159812,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:21:05] local.INFO: Acknowledgment sent {"connection_id":159812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:21:31] local.INFO: TCP Data received {"connection_id":159555,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027273cb0012d196940071fedd8003e011c28..."} 
[2026-08-22 07:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027273cb0012d196940071fedd8003e011c28..."} 
[2026-08-22 07:21:31] local.INFO: Processing buffer {"connection_id":159555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027273cb0012d196940071fedd8003e011c28..."} 
[2026-08-22 07:21:31] local.INFO: Packet analysis {"connection_id":159555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02727"} 
[2026-08-22 07:21:31] local.INFO: Extracted packet for processing {"connection_id":159555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02727"} 
[2026-08-22 07:21:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564993792001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787363278000,"timestamp_ms":1787363278000,"timestamp_seconds":1787363278,"priority":1,"record_length":96,"hex_timestamp":"000001a027273cb0"} 
[2026-08-22 07: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-22 07:21:31] 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-22 07: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 07:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:21:31] 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-22 07:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564993792001,"66":12461,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564993792001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:21:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:21:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564993792001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":159555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:21:31] local.INFO: GPS data processed {"connection_id":159555,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:21:31] local.INFO: Acknowledgment sent {"connection_id":159555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:21:50] local.INFO: TCP Data received {"connection_id":162135,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:21:50] local.INFO: Processing buffer {"connection_id":162135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:21:50] local.INFO: IMEI packet received {"connection_id":162135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":162135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:21:53] local.INFO: TCP Data received {"connection_id":162136,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:21:53] local.INFO: Processing buffer {"connection_id":162136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:21:53] local.INFO: IMEI packet received {"connection_id":162136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":162136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:21:55] local.INFO: TCP Data received {"connection_id":162135,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:21:55] local.INFO: Processing buffer {"connection_id":162135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:21:55] local.INFO: IMEI packet received {"connection_id":162135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":162135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:21:56] local.INFO: TCP Data received {"connection_id":162135,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:21:56] local.INFO: Processing buffer {"connection_id":162135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:21:56] local.INFO: Packet analysis {"connection_id":162135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:21:56] local.INFO: Extracted packet for processing {"connection_id":162135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564943360001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07: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-22 07:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787363366000,"timestamp_ms":1787363366000,"timestamp_seconds":1787363366,"priority":1,"record_length":96,"hex_timestamp":"000001a027289470"} 
[2026-08-22 07: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-22 07:21:56] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564943360001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564943360001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:21:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564943360001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":162135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:21:56] local.INFO: GPS data processed {"connection_id":162135,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:21:56] local.INFO: Acknowledgment sent {"connection_id":162135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:21:59] local.INFO: TCP Data received {"connection_id":162136,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:21:59] local.INFO: Processing buffer {"connection_id":162136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:21:59] local.INFO: IMEI packet received {"connection_id":162136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":162136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:21:59] local.INFO: TCP Data received {"connection_id":162136,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027278eb8012d196940071fedd8003e011c24..."} 
[2026-08-22 07:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027278eb8012d196940071fedd8003e011c24..."} 
[2026-08-22 07:21:59] local.INFO: Processing buffer {"connection_id":162136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027278eb8012d196940071fedd8003e011c24..."} 
[2026-08-22 07:21:59] local.INFO: Packet analysis {"connection_id":162136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02727"} 
[2026-08-22 07:21:59] local.INFO: Extracted packet for processing {"connection_id":162136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02727"} 
[2026-08-22 07:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564999168001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:21: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-22 07:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787363299000,"timestamp_ms":1787363299000,"timestamp_seconds":1787363299,"priority":1,"record_length":96,"hex_timestamp":"000001a027278eb8"} 
[2026-08-22 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-22 07:21:59] 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-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 07:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:21:59] 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-22 07:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564999168001,"66":12461,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564999168001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:21:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564999168001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":162136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:22:00] local.INFO: GPS data processed {"connection_id":162136,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:22:00] local.INFO: Acknowledgment sent {"connection_id":162136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:22:27] local.INFO: TCP Data received {"connection_id":162135,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:22:27] local.INFO: Processing buffer {"connection_id":162135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:22:27] local.INFO: Packet analysis {"connection_id":162135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:22:27] local.INFO: Extracted packet for processing {"connection_id":162135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564943360001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:22: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-22 07:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787363366000,"timestamp_ms":1787363366000,"timestamp_seconds":1787363366,"priority":1,"record_length":96,"hex_timestamp":"000001a027289470"} 
[2026-08-22 07:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:22:27] 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-22 07:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564943360001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564943360001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:22:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564943360001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":162135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:22:27] local.INFO: GPS data processed {"connection_id":162135,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:22:27] local.INFO: Acknowledgment sent {"connection_id":162135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:22:31] local.INFO: TCP Data received {"connection_id":162136,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02727e0c0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02727e0c0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:22:31] local.INFO: Processing buffer {"connection_id":162136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02727e0c0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:22:31] local.INFO: Packet analysis {"connection_id":162136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02727"} 
[2026-08-22 07:22:31] local.INFO: Extracted packet for processing {"connection_id":162136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02727"} 
[2026-08-22 07:22:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565004544001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787363320000,"timestamp_ms":1787363320000,"timestamp_seconds":1787363320,"priority":1,"record_length":96,"hex_timestamp":"000001a02727e0c0"} 
[2026-08-22 07: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-22 07:22:31] 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-22 07: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 07:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:22:31] 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-22 07:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565004544001,"66":12504,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565004544001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:22:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:22:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565004544001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":162136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:22:31] local.INFO: GPS data processed {"connection_id":162136,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:22:31] local.INFO: Acknowledgment sent {"connection_id":162136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:22:49] local.INFO: TCP Data received {"connection_id":159557,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:22:49] local.INFO: Processing buffer {"connection_id":159557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:22:49] local.INFO: IMEI packet received {"connection_id":159557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":159557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:22:53] local.INFO: TCP Data received {"connection_id":159813,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:22:53] local.INFO: Processing buffer {"connection_id":159813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:22:53] local.INFO: IMEI packet received {"connection_id":159813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":159813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:22:59] local.INFO: TCP Data received {"connection_id":159813,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:22:59] local.INFO: Processing buffer {"connection_id":159813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:22:59] local.INFO: IMEI packet received {"connection_id":159813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":159813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:22:59] local.INFO: TCP Data received {"connection_id":159813,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0272832c8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272832c8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:22:59] local.INFO: Processing buffer {"connection_id":159813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272832c8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:22:59] local.INFO: Packet analysis {"connection_id":159813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:22:59] local.INFO: Extracted packet for processing {"connection_id":159813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565009920001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:22: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-22 07:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787363341000,"timestamp_ms":1787363341000,"timestamp_seconds":1787363341,"priority":1,"record_length":96,"hex_timestamp":"000001a0272832c8"} 
[2026-08-22 07: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-22 07:22:59] 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-22 07: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 07:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:22:59] 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-22 07:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565009920001,"66":12504,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565009920001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:22:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565009920001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":159813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:22:59] local.INFO: GPS data processed {"connection_id":159813,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:22:59] local.INFO: Acknowledgment sent {"connection_id":159813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:23:03] local.INFO: TCP Data received {"connection_id":159557,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:23:03] local.INFO: Processing buffer {"connection_id":159557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:23:03] local.INFO: IMEI packet received {"connection_id":159557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":159557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:23:14] local.INFO: TCP Data received {"connection_id":159557,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:23:14] local.INFO: Processing buffer {"connection_id":159557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:23:14] local.INFO: Packet analysis {"connection_id":159557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:23:14] local.INFO: Extracted packet for processing {"connection_id":159557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:23:14] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564943360001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:23:14] 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-22 07:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787363366000,"timestamp_ms":1787363366000,"timestamp_seconds":1787363366,"priority":1,"record_length":96,"hex_timestamp":"000001a027289470"} 
[2026-08-22 07: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-22 07:23: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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564943360001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564943360001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:23:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:23:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564943360001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":159557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:23:14] local.INFO: GPS data processed {"connection_id":159557,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:23:14] local.INFO: Acknowledgment sent {"connection_id":159557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:23:14] local.INFO: TCP Data received {"connection_id":159557,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:23:14] local.INFO: Processing buffer {"connection_id":159557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:23:14] local.INFO: Packet analysis {"connection_id":159557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:23:14] local.INFO: Extracted packet for processing {"connection_id":159557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:23:14] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564943360001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:23:14] 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-22 07:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787363366000,"timestamp_ms":1787363366000,"timestamp_seconds":1787363366,"priority":1,"record_length":96,"hex_timestamp":"000001a027289470"} 
[2026-08-22 07: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-22 07:23: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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564943360001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564943360001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:23:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:23:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564943360001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":159557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:23:14] local.INFO: GPS data processed {"connection_id":159557,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:23:14] local.INFO: Acknowledgment sent {"connection_id":159557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:23:30] local.INFO: TCP Data received {"connection_id":159813,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0272884d0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272884d0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:23:30] local.INFO: Processing buffer {"connection_id":159813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272884d0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:23:30] local.INFO: Packet analysis {"connection_id":159813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:23:30] local.INFO: Extracted packet for processing {"connection_id":159813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:23:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565015296001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:23: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-22 07:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787363362000,"timestamp_ms":1787363362000,"timestamp_seconds":1787363362,"priority":1,"record_length":96,"hex_timestamp":"000001a0272884d0"} 
[2026-08-22 07: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-22 07:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 07:23:30] 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-22 07: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-22 07: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-22 07:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:23:30] 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-22 07:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565015296001,"66":12504,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565015296001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:23:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:23:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565015296001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":159813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:23:30] local.INFO: GPS data processed {"connection_id":159813,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:23:30] local.INFO: Acknowledgment sent {"connection_id":159813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:23:49] local.INFO: TCP Data received {"connection_id":162137,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:23:49] local.INFO: Processing buffer {"connection_id":162137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:23:49] local.INFO: IMEI packet received {"connection_id":162137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":162137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:23:55] local.INFO: TCP Data received {"connection_id":162137,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:23:55] local.INFO: Processing buffer {"connection_id":162137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:23:55] local.INFO: IMEI packet received {"connection_id":162137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":162137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:23:56] local.INFO: TCP Data received {"connection_id":162137,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:23:56] local.INFO: Processing buffer {"connection_id":162137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:23:56] local.INFO: Packet analysis {"connection_id":162137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:23:56] local.INFO: Extracted packet for processing {"connection_id":162137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564943360001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07: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-22 07:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787363366000,"timestamp_ms":1787363366000,"timestamp_seconds":1787363366,"priority":1,"record_length":96,"hex_timestamp":"000001a027289470"} 
[2026-08-22 07: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-22 07:23:56] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564943360001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564943360001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:23:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564943360001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":162137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:23:56] local.INFO: GPS data processed {"connection_id":162137,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:23:56] local.INFO: Acknowledgment sent {"connection_id":162137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:23:59] local.INFO: TCP Data received {"connection_id":159816,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:23:59] local.INFO: Processing buffer {"connection_id":159816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:23:59] local.INFO: IMEI packet received {"connection_id":159816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":159816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:24:04] local.INFO: TCP Data received {"connection_id":159816,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:24:04] local.INFO: Processing buffer {"connection_id":159816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:24:04] local.INFO: IMEI packet received {"connection_id":159816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":159816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:24:04] local.INFO: TCP Data received {"connection_id":159816,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02728d6d8012d196940071fedd8003e011c25..."} 
[2026-08-22 07:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02728d6d8012d196940071fedd8003e011c25..."} 
[2026-08-22 07:24:04] local.INFO: Processing buffer {"connection_id":159816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02728d6d8012d196940071fedd8003e011c25..."} 
[2026-08-22 07:24:04] local.INFO: Packet analysis {"connection_id":159816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:24:04] local.INFO: Extracted packet for processing {"connection_id":159816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:24:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565020672001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787363383000,"timestamp_ms":1787363383000,"timestamp_seconds":1787363383,"priority":1,"record_length":96,"hex_timestamp":"000001a02728d6d8"} 
[2026-08-22 07: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-22 07:24:04] 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-22 07: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 07:24:04] 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-22 07: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-22 07: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-22 07:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:24:04] 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-22 07:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565020672001,"66":12504,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565020672001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:24:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:24:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565020672001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":159816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:24:04] local.INFO: GPS data processed {"connection_id":159816,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:24:04] local.INFO: Acknowledgment sent {"connection_id":159816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:24:09] local.INFO: TCP Data received {"connection_id":159816,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0272928e0012d196940071fedd8003e011c25..."} 
[2026-08-22 07:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272928e0012d196940071fedd8003e011c25..."} 
[2026-08-22 07:24:09] local.INFO: Processing buffer {"connection_id":159816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272928e0012d196940071fedd8003e011c25..."} 
[2026-08-22 07:24:09] local.INFO: Packet analysis {"connection_id":159816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02729"} 
[2026-08-22 07:24:09] local.INFO: Extracted packet for processing {"connection_id":159816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02729"} 
[2026-08-22 07:24:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565026048001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787363404000,"timestamp_ms":1787363404000,"timestamp_seconds":1787363404,"priority":1,"record_length":96,"hex_timestamp":"000001a0272928e0"} 
[2026-08-22 07: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-22 07:24:09] 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-22 07: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":216,"data_length":795,"current_offset":136} 
[2026-08-22 07:24: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-22 07: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-22 07: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-22 07:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:24:09] 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-22 07:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565026048001,"66":12439,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565026048001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:24:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:24:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565026048001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":159816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:24:09] local.INFO: GPS data processed {"connection_id":159816,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:24:09] local.INFO: Acknowledgment sent {"connection_id":159816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:24:26] local.INFO: TCP Data received {"connection_id":159815,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:24:26] local.INFO: Processing buffer {"connection_id":159815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:24:26] local.INFO: IMEI packet received {"connection_id":159815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":159815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:24:27] local.INFO: TCP Data received {"connection_id":162137,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:24:27] local.INFO: Processing buffer {"connection_id":162137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027289470012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 07:24:27] local.INFO: Packet analysis {"connection_id":162137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:24:27] local.INFO: Extracted packet for processing {"connection_id":162137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02728"} 
[2026-08-22 07:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457564943360001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:24: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-22 07:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787363366000,"timestamp_ms":1787363366000,"timestamp_seconds":1787363366,"priority":1,"record_length":96,"hex_timestamp":"000001a027289470"} 
[2026-08-22 07:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:24:27] 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-22 07:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457564943360001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457564943360001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:24:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:24:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457564943360001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":162137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:24:27] local.INFO: GPS data processed {"connection_id":162137,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:24:27] local.INFO: Acknowledgment sent {"connection_id":162137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:24:27] local.INFO: TCP Data received {"connection_id":159815,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0272c97c8012d840e0005ce7e58000f000727..."} 
[2026-08-22 07:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272c97c8012d840e0005ce7e58000f000727..."} 
[2026-08-22 07:24:27] local.INFO: Processing buffer {"connection_id":159815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272c97c8012d840e0005ce7e58000f000727..."} 
[2026-08-22 07:24:27] local.INFO: Packet analysis {"connection_id":159815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272c"} 
[2026-08-22 07:24:27] local.INFO: Extracted packet for processing {"connection_id":159815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272c"} 
[2026-08-22 07:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763629056,"raw_latitude":97418840,"longitude_deg":76.3629056,"latitude_deg":9.741884,"altitude":15,"angle":7,"satellites":39,"speed":53,"hex_longitude":"2d840e00","hex_latitude":"05ce7e58","is_valid_coordinates":true} 
[2026-08-22 07:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565086976001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122149501258432512,"note":"Value kept but may cause issues"} 
[2026-08-22 07:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8932326885999327232,"note":"Value kept but may cause issues"} 
[2026-08-22 07:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787363629000,"timestamp_ms":1787363629000,"timestamp_seconds":1787363629,"priority":1,"record_length":96,"hex_timestamp":"000001a0272c97c8"} 
[2026-08-22 07:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-22 07:24:27] 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-22 07:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565086976001,"66":13254,"140":206,"85":15104,"24":53,"16":122149501258432512,"45":-8932326885999327232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,85,24,16,45]} 
[2026-08-22 07:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565086976001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:24:27] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-22 07:24:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122149501258432512,"km_value":122149501258432.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8932326885999327232,"description":"Unknown IO ID 45"} 
[2026-08-22 07:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565086976001,"power":13254,"unknown_140":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":-8932326885999327232}} 
[2026-08-22 07:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":159815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:24:27] local.INFO: GPS data processed {"connection_id":159815,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:24:27] local.INFO: Acknowledgment sent {"connection_id":159815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:24:49] local.INFO: TCP Data received {"connection_id":160722,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:24:49] local.INFO: Processing buffer {"connection_id":160722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:24:49] local.INFO: IMEI packet received {"connection_id":160722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":160722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:24:53] local.INFO: TCP Data received {"connection_id":159558,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:24:53] local.INFO: Processing buffer {"connection_id":159558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:24:53] local.INFO: IMEI packet received {"connection_id":159558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":159558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:24:54] local.INFO: TCP Data received {"connection_id":159558,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:24:54] local.INFO: Processing buffer {"connection_id":159558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:24:54] local.INFO: IMEI packet received {"connection_id":159558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":159558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:24:54] local.INFO: TCP Data received {"connection_id":160722,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:24:54] local.INFO: Processing buffer {"connection_id":160722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:24:54] local.INFO: IMEI packet received {"connection_id":160722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":160722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:24:55] local.INFO: TCP Data received {"connection_id":160722,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:24:55] local.INFO: Processing buffer {"connection_id":160722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:24:55] local.INFO: Packet analysis {"connection_id":160722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:24:55] local.INFO: Extracted packet for processing {"connection_id":160722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565021696001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07: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-22 07:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787363676000,"timestamp_ms":1787363676000,"timestamp_seconds":1787363676,"priority":1,"record_length":96,"hex_timestamp":"000001a0272d4f60"} 
[2026-08-22 07: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-22 07:24:55] 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-22 07:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565021696001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565021696001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:24:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565021696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":160722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:24:55] local.INFO: GPS data processed {"connection_id":160722,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:24:55] local.INFO: Acknowledgment sent {"connection_id":160722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:24:56] local.INFO: TCP Data received {"connection_id":159559,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:24:56] local.INFO: Processing buffer {"connection_id":159559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:24:56] local.INFO: IMEI packet received {"connection_id":159559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":159559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:24:59] local.INFO: TCP Data received {"connection_id":159558,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:24:59] local.INFO: Processing buffer {"connection_id":159558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:24:59] local.INFO: IMEI packet received {"connection_id":159558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":159558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:24:59] local.INFO: TCP Data received {"connection_id":159559,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:24:59] local.INFO: Processing buffer {"connection_id":159559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:24:59] local.INFO: IMEI packet received {"connection_id":159559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":159559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:25:00] local.INFO: TCP Data received {"connection_id":159558,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027297ae8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027297ae8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:25:00] local.INFO: Processing buffer {"connection_id":159558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027297ae8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:25:00] local.INFO: Packet analysis {"connection_id":159558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02729"} 
[2026-08-22 07:25:00] local.INFO: Extracted packet for processing {"connection_id":159558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02729"} 
[2026-08-22 07:25:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565031424001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787363425000,"timestamp_ms":1787363425000,"timestamp_seconds":1787363425,"priority":1,"record_length":96,"hex_timestamp":"000001a027297ae8"} 
[2026-08-22 07: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-22 07:25:00] 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-22 07: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:25:00] 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-22 07: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-22 07: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-22 07:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:25:00] 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-22 07:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565031424001,"66":12461,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565031424001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:25:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:25:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565031424001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":159558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:25:00] local.INFO: GPS data processed {"connection_id":159558,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:25:00] local.INFO: Acknowledgment sent {"connection_id":159558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:25:00] local.INFO: TCP Data received {"connection_id":159559,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0272cb320012d84134005cea570000e000627..."} 
[2026-08-22 07:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272cb320012d84134005cea570000e000627..."} 
[2026-08-22 07:25:00] local.INFO: Processing buffer {"connection_id":159559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272cb320012d84134005cea570000e000627..."} 
[2026-08-22 07:25:00] local.INFO: Packet analysis {"connection_id":159559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272c"} 
[2026-08-22 07:25:00] local.INFO: Extracted packet for processing {"connection_id":159559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272c"} 
[2026-08-22 07:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763630400,"raw_latitude":97428848,"longitude_deg":76.36304,"latitude_deg":9.7428848,"altitude":14,"angle":6,"satellites":39,"speed":59,"hex_longitude":"2d841340","hex_latitude":"05cea570","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565089024001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122149986589736960,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931200986089891840,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787363636000,"timestamp_ms":1787363636000,"timestamp_seconds":1787363636,"priority":1,"record_length":96,"hex_timestamp":"000001a0272cb320"} 
[2026-08-22 07: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-22 07:25:00] 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-22 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 07:25: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-22 07: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-22 07: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-22 07:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:25:00] 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-22 07:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565089024001,"66":13428,"140":206,"85":15104,"24":59,"16":122149986589736960,"45":-8931200986089891840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,85,24,16,45]} 
[2026-08-22 07:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565089024001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:25:00] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-22 07:25:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122149986589736960,"km_value":122149986589736.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931200986089891840,"description":"Unknown IO ID 45"} 
[2026-08-22 07:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565089024001,"power":13428,"unknown_140":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":-8931200986089891840}} 
[2026-08-22 07:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":159559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:25:00] local.INFO: GPS data processed {"connection_id":159559,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:25:00] local.INFO: Acknowledgment sent {"connection_id":159559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:25:26] local.INFO: TCP Data received {"connection_id":160722,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:25:26] local.INFO: Processing buffer {"connection_id":160722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:25:26] local.INFO: Packet analysis {"connection_id":160722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:25:26] local.INFO: Extracted packet for processing {"connection_id":160722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565021696001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25: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-22 07:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787363676000,"timestamp_ms":1787363676000,"timestamp_seconds":1787363676,"priority":1,"record_length":96,"hex_timestamp":"000001a0272d4f60"} 
[2026-08-22 07: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-22 07:25:26] 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-22 07:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565021696001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565021696001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:25:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565021696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":160722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:25:26] local.INFO: GPS data processed {"connection_id":160722,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:25:26] local.INFO: Acknowledgment sent {"connection_id":160722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:25:31] local.INFO: TCP Data received {"connection_id":159558,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02729ccf0012d196940071fedd8003e011c28..."} 
[2026-08-22 07:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02729ccf0012d196940071fedd8003e011c28..."} 
[2026-08-22 07:25:31] local.INFO: Processing buffer {"connection_id":159558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02729ccf0012d196940071fedd8003e011c28..."} 
[2026-08-22 07:25:31] local.INFO: Packet analysis {"connection_id":159558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02729"} 
[2026-08-22 07:25:31] local.INFO: Extracted packet for processing {"connection_id":159558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02729"} 
[2026-08-22 07:25:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565036800001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787363446000,"timestamp_ms":1787363446000,"timestamp_seconds":1787363446,"priority":1,"record_length":96,"hex_timestamp":"000001a02729ccf0"} 
[2026-08-22 07: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-22 07:25:31] 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-22 07: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 07:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:25:31] 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-22 07:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565036800001,"66":12461,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565036800001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:25:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:25:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565036800001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":159558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:25:31] local.INFO: GPS data processed {"connection_id":159558,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:25:31] local.INFO: Acknowledgment sent {"connection_id":159558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:25:31] local.INFO: TCP Data received {"connection_id":159559,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0272de3d0012d841f4005d033380008000722..."} 
[2026-08-22 07:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272de3d0012d841f4005d033380008000722..."} 
[2026-08-22 07:25:31] local.INFO: Processing buffer {"connection_id":159559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272de3d0012d841f4005d033380008000722..."} 
[2026-08-22 07:25:31] local.INFO: Packet analysis {"connection_id":159559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:25:31] local.INFO: Extracted packet for processing {"connection_id":159559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763633472,"raw_latitude":97530680,"longitude_deg":76.3633472,"latitude_deg":9.753068,"altitude":8,"angle":7,"satellites":34,"speed":41,"hex_longitude":"2d841f40","hex_latitude":"05d03338","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565108736001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122154951571931136,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8927823286343049216,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787363714000,"timestamp_ms":1787363714000,"timestamp_seconds":1787363714,"priority":1,"record_length":96,"hex_timestamp":"000001a0272de3d0"} 
[2026-08-22 07: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-22 07:25:31] 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-22 07: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 07:25:31] 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-22 07: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-22 07: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-22 07:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:25:31] 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-22 07:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565108736001,"66":13330,"110":206,"85":15104,"24":41,"16":122154951571931136,"45":-8927823286343049216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-22 07:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565108736001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:25:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-22 07:25:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122154951571931136,"km_value":122154951571931.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8927823286343049216,"description":"Unknown IO ID 45"} 
[2026-08-22 07:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565108736001,"power":13330,"unknown_110":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-8927823286343049216}} 
[2026-08-22 07:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":159559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:25:31] local.INFO: GPS data processed {"connection_id":159559,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:25:31] local.INFO: Acknowledgment sent {"connection_id":159559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:25:53] local.INFO: TCP Data received {"connection_id":162138,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:25:53] local.INFO: Processing buffer {"connection_id":162138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:25:53] local.INFO: IMEI packet received {"connection_id":162138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":162138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:25:55] local.INFO: TCP Data received {"connection_id":159817,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:25:55] local.INFO: Processing buffer {"connection_id":159817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:25:55] local.INFO: IMEI packet received {"connection_id":159817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":159817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:25:56] local.INFO: TCP Data received {"connection_id":159818,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:25:56] local.INFO: Processing buffer {"connection_id":159818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:25:56] local.INFO: IMEI packet received {"connection_id":159818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":159818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:25:57] local.INFO: TCP Data received {"connection_id":162138,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:25:57] local.INFO: Processing buffer {"connection_id":162138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:25:57] local.INFO: IMEI packet received {"connection_id":162138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":162138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:25:58] local.INFO: TCP Data received {"connection_id":162138,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0272d5348012d196940071fedd8003e011c28..."} 
[2026-08-22 07:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272d5348012d196940071fedd8003e011c28..."} 
[2026-08-22 07:25:58] local.INFO: Processing buffer {"connection_id":162138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272d5348012d196940071fedd8003e011c28..."} 
[2026-08-22 07:25:58] local.INFO: Packet analysis {"connection_id":162138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:25:58] local.INFO: Extracted packet for processing {"connection_id":162138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:25:58] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565095936001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787363677000,"timestamp_ms":1787363677000,"timestamp_seconds":1787363677,"priority":1,"record_length":96,"hex_timestamp":"000001a0272d5348"} 
[2026-08-22 07: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-22 07:25:58] 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-22 07: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 07:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:25:58] 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-22 07:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565095936001,"66":12232,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565095936001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:25:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:25:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565095936001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":162138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:25:58] local.INFO: GPS data processed {"connection_id":162138,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:25:58] local.INFO: Acknowledgment sent {"connection_id":162138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:25:59] local.INFO: TCP Data received {"connection_id":159818,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:25:59] local.INFO: Processing buffer {"connection_id":159818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:25:59] local.INFO: IMEI packet received {"connection_id":159818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":159818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:26:00] local.INFO: TCP Data received {"connection_id":159817,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:26:00] local.INFO: Processing buffer {"connection_id":159817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:26:00] local.INFO: IMEI packet received {"connection_id":159817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":159817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:26:01] local.INFO: TCP Data received {"connection_id":159817,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:26:01] local.INFO: Processing buffer {"connection_id":159817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:26:01] local.INFO: Packet analysis {"connection_id":159817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:26:01] local.INFO: Extracted packet for processing {"connection_id":159817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565021696001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26: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-22 07:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787363676000,"timestamp_ms":1787363676000,"timestamp_seconds":1787363676,"priority":1,"record_length":96,"hex_timestamp":"000001a0272d4f60"} 
[2026-08-22 07: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-22 07:26:01] 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-22 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565021696001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565021696001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:26:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:26:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565021696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":159817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:26:01] local.INFO: GPS data processed {"connection_id":159817,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:26:01] local.INFO: Acknowledgment sent {"connection_id":159817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:26:01] local.INFO: TCP Data received {"connection_id":159818,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:26:01] local.INFO: Processing buffer {"connection_id":159818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:26:01] local.INFO: IMEI packet received {"connection_id":159818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":159818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:26:03] local.INFO: TCP Data received {"connection_id":159818,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0272e0310012d84218005d052a00009016325..."} 
[2026-08-22 07:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272e0310012d84218005d052a00009016325..."} 
[2026-08-22 07:26:03] local.INFO: Processing buffer {"connection_id":159818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272e0310012d84218005d052a00009016325..."} 
[2026-08-22 07:26:03] local.INFO: Packet analysis {"connection_id":159818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272e"} 
[2026-08-22 07:26:03] local.INFO: Extracted packet for processing {"connection_id":159818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272e"} 
[2026-08-22 07:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763634048,"raw_latitude":97538720,"longitude_deg":76.3634048,"latitude_deg":9.753872,"altitude":9,"angle":355,"satellites":37,"speed":39,"hex_longitude":"2d842180","hex_latitude":"05d052a0","is_valid_coordinates":true} 
[2026-08-22 07:26: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-22 07:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565110784001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122155342413955072,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8926345542713001984,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787363722000,"timestamp_ms":1787363722000,"timestamp_seconds":1787363722,"priority":1,"record_length":96,"hex_timestamp":"000001a0272e0310"} 
[2026-08-22 07:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:26: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-22 07:26: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":18,"data_length":795,"current_offset":136} 
[2026-08-22 07:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2060398124523765765,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3279780238712575192,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:03] local.WARNING: Large IO value detected {"io_id":207,"raw_value":4091520313005713152,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2811035854,"corrected_to":0} 
[2026-08-22 07:26:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221606275,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:03] local.WARNING: Large IO value detected {"io_id":177,"raw_value":4182376448,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3479236608,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:03] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57886594271434043,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:03] local.WARNING: Large IO value detected {"io_id":54,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:03] local.WARNING: Large IO value detected {"io_id":167,"raw_value":-8286396448904308736,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:03] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:03] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,110,85,24,241,157,16,251,160,196,45,15,9,38,10,66,250,165,128,238,40,134,64,1,240,7,227,39,207,4,113,205,53,79,31,168,239,51,141,2,177,5,12,59,46,54,167,90],"length":626,"final_offset":756,"validated_count":48,"validation_warnings":[{"io_id":205,"original":2811035854,"validated":0}]} 
[2026-08-22 07:26:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576468594916392960,"timestamp_seconds":576468594916393.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:26:03] 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-22 07:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565110784001,"66":13254,"110":206,"85":15104,"24":39,"16":122155342413955072,"45":-8926345542713001984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-22 07:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565110784001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:26:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-22 07:26:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122155342413955072,"km_value":122155342413955.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8926345542713001984,"description":"Unknown IO ID 45"} 
[2026-08-22 07:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565110784001,"power":13254,"unknown_110":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-8926345542713001984}} 
[2026-08-22 07:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":159818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:26:03] local.INFO: GPS data processed {"connection_id":159818,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:26:03] local.INFO: Acknowledgment sent {"connection_id":159818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:26:05] local.INFO: TCP Data received {"connection_id":159817,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:26:05] local.INFO: Processing buffer {"connection_id":159817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:26:05] local.INFO: Packet analysis {"connection_id":159817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:26:05] local.INFO: Extracted packet for processing {"connection_id":159817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565021696001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:05] 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-22 07:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787363676000,"timestamp_ms":1787363676000,"timestamp_seconds":1787363676,"priority":1,"record_length":96,"hex_timestamp":"000001a0272d4f60"} 
[2026-08-22 07: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-22 07:26:05] 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-22 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565021696001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565021696001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:26:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565021696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":159817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:26:05] local.INFO: GPS data processed {"connection_id":159817,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:26:05] local.INFO: Acknowledgment sent {"connection_id":159817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:26:05] local.INFO: TCP Data received {"connection_id":159818,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0272e1a80012d841d0005d06ad0000a015824..."} 
[2026-08-22 07:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272e1a80012d841d0005d06ad0000a015824..."} 
[2026-08-22 07:26:05] local.INFO: Processing buffer {"connection_id":159818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272e1a80012d841d0005d06ad0000a015824..."} 
[2026-08-22 07:26:05] local.INFO: Packet analysis {"connection_id":159818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272e"} 
[2026-08-22 07:26:05] local.INFO: Extracted packet for processing {"connection_id":159818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272e"} 
[2026-08-22 07:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763632896,"raw_latitude":97544912,"longitude_deg":76.3632896,"latitude_deg":9.7544912,"altitude":10,"angle":344,"satellites":36,"speed":39,"hex_longitude":"2d841d00","hex_latitude":"05d06ad0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565112832001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122155647356633088,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8925712224013344768,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787363728000,"timestamp_ms":1787363728000,"timestamp_seconds":1787363728,"priority":1,"record_length":96,"hex_timestamp":"000001a0272e1a80"} 
[2026-08-22 07: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-22 07:26:05] 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-22 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 07:26:05] 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-22 07: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-22 07: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-22 07:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:26: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-22 07:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565112832001,"66":13037,"110":206,"85":15104,"24":39,"16":122155647356633088,"45":-8925712224013344768},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-22 07:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565112832001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:26:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-22 07:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122155647356633088,"km_value":122155647356633.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8925712224013344768,"description":"Unknown IO ID 45"} 
[2026-08-22 07:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565112832001,"power":13037,"unknown_110":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-8925712224013344768}} 
[2026-08-22 07:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":159818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:26:06] local.INFO: GPS data processed {"connection_id":159818,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:26:06] local.INFO: Acknowledgment sent {"connection_id":159818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:26:29] local.INFO: TCP Data received {"connection_id":162138,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0272da550012d196940071fedd8003e011c28..."} 
[2026-08-22 07:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272da550012d196940071fedd8003e011c28..."} 
[2026-08-22 07:26:29] local.INFO: Processing buffer {"connection_id":162138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272da550012d196940071fedd8003e011c28..."} 
[2026-08-22 07:26:29] local.INFO: Packet analysis {"connection_id":162138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:26:29] local.INFO: Extracted packet for processing {"connection_id":162138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:26:29] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565101312001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787363698000,"timestamp_ms":1787363698000,"timestamp_seconds":1787363698,"priority":1,"record_length":96,"hex_timestamp":"000001a0272da550"} 
[2026-08-22 07: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-22 07:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 07:26:29] 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-22 07: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-22 07: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-22 07:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:26:29] 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-22 07:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565101312001,"66":12461,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565101312001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:26:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:26:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565101312001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":162138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:26:29] local.INFO: GPS data processed {"connection_id":162138,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:26:29] local.INFO: Acknowledgment sent {"connection_id":162138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:26:41] local.INFO: TCP Data received {"connection_id":159818,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0272e4190012d84170005d08768000b000026..."} 
[2026-08-22 07:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272e4190012d84170005d08768000b000026..."} 
[2026-08-22 07:26:41] local.INFO: Processing buffer {"connection_id":159818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272e4190012d84170005d08768000b000026..."} 
[2026-08-22 07:26:41] local.INFO: Packet analysis {"connection_id":159818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272e"} 
[2026-08-22 07:26:41] local.INFO: Extracted packet for processing {"connection_id":159818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272e"} 
[2026-08-22 07:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763631360,"raw_latitude":97552232,"longitude_deg":76.363136,"latitude_deg":9.7552232,"altitude":11,"angle":0,"satellites":38,"speed":20,"hex_longitude":"2d841700","hex_latitude":"05d08768","is_valid_coordinates":true} 
[2026-08-22 07:26: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-22 07:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565114368001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122156012428853248,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8926978861406957568,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787363738000,"timestamp_ms":1787363738000,"timestamp_seconds":1787363738,"priority":1,"record_length":96,"hex_timestamp":"000001a0272e4190"} 
[2026-08-22 07:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:26:41] 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-22 07:26: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-22 07:26:41] 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-22 07:26: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-22 07:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:26: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-22 07:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565114368001,"66":13276,"110":206,"85":15104,"24":20,"16":122156012428853248,"45":-8926978861406957568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-22 07:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565114368001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:26:41] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-22 07:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122156012428853248,"km_value":122156012428853.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8926978861406957568,"description":"Unknown IO ID 45"} 
[2026-08-22 07:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565114368001,"power":13276,"unknown_110":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-8926978861406957568}} 
[2026-08-22 07:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":159818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:26:41] local.INFO: GPS data processed {"connection_id":159818,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:26:41] local.INFO: Acknowledgment sent {"connection_id":159818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:26:50] local.INFO: TCP Data received {"connection_id":159560,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:26:50] local.INFO: Processing buffer {"connection_id":159560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:26:50] local.INFO: IMEI packet received {"connection_id":159560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":159560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:26:54] local.INFO: TCP Data received {"connection_id":160723,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:26:54] local.INFO: Processing buffer {"connection_id":160723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:26:54] local.INFO: IMEI packet received {"connection_id":160723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":160723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:26:55] local.INFO: TCP Data received {"connection_id":159560,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:26:55] local.INFO: Processing buffer {"connection_id":159560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:26:55] local.INFO: IMEI packet received {"connection_id":159560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":159560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:26:56] local.INFO: TCP Data received {"connection_id":159560,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:26:56] local.INFO: Processing buffer {"connection_id":159560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:26:56] local.INFO: Packet analysis {"connection_id":159560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:26:56] local.INFO: Extracted packet for processing {"connection_id":159560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565021696001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07: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-22 07:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787363676000,"timestamp_ms":1787363676000,"timestamp_seconds":1787363676,"priority":1,"record_length":96,"hex_timestamp":"000001a0272d4f60"} 
[2026-08-22 07: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-22 07:26:56] 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-22 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565021696001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565021696001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:26:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565021696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":159560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:26:56] local.INFO: GPS data processed {"connection_id":159560,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:26:56] local.INFO: Acknowledgment sent {"connection_id":159560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:26:59] local.INFO: TCP Data received {"connection_id":160723,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:26:59] local.INFO: Processing buffer {"connection_id":160723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:26:59] local.INFO: IMEI packet received {"connection_id":160723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":160723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:26:59] local.INFO: TCP Data received {"connection_id":160723,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0272df758012d196940071fedd8003e011c28..."} 
[2026-08-22 07:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272df758012d196940071fedd8003e011c28..."} 
[2026-08-22 07:26:59] local.INFO: Processing buffer {"connection_id":160723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272df758012d196940071fedd8003e011c28..."} 
[2026-08-22 07:26:59] local.INFO: Packet analysis {"connection_id":160723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:26:59] local.INFO: Extracted packet for processing {"connection_id":160723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565106688001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:26: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-22 07:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787363719000,"timestamp_ms":1787363719000,"timestamp_seconds":1787363719,"priority":1,"record_length":96,"hex_timestamp":"000001a0272df758"} 
[2026-08-22 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-22 07:26:59] 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-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 07:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:26:59] 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-22 07:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565106688001,"66":12439,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565106688001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:26:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565106688001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":160723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:27:00] local.INFO: GPS data processed {"connection_id":160723,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:27:00] local.INFO: Acknowledgment sent {"connection_id":160723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:27:27] local.INFO: TCP Data received {"connection_id":159560,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:27:27] local.INFO: Processing buffer {"connection_id":159560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:27:27] local.INFO: Packet analysis {"connection_id":159560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:27:27] local.INFO: Extracted packet for processing {"connection_id":159560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565021696001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:27: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-22 07:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787363676000,"timestamp_ms":1787363676000,"timestamp_seconds":1787363676,"priority":1,"record_length":96,"hex_timestamp":"000001a0272d4f60"} 
[2026-08-22 07:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:27:27] 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-22 07:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565021696001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565021696001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:27:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565021696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":159560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:27:27] local.INFO: GPS data processed {"connection_id":159560,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:27:27] local.INFO: Acknowledgment sent {"connection_id":159560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:27:30] local.INFO: TCP Data received {"connection_id":160723,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0272e4960012d196940071fedd8003e011c28..."} 
[2026-08-22 07:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272e4960012d196940071fedd8003e011c28..."} 
[2026-08-22 07:27:30] local.INFO: Processing buffer {"connection_id":160723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272e4960012d196940071fedd8003e011c28..."} 
[2026-08-22 07:27:30] local.INFO: Packet analysis {"connection_id":160723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272e"} 
[2026-08-22 07:27:30] local.INFO: Extracted packet for processing {"connection_id":160723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272e"} 
[2026-08-22 07:27:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565112064001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:27: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-22 07:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787363740000,"timestamp_ms":1787363740000,"timestamp_seconds":1787363740,"priority":1,"record_length":96,"hex_timestamp":"000001a0272e4960"} 
[2026-08-22 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-22 07:27:30] 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-22 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:27:30] 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-22 07:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565112064001,"66":12439,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565112064001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:27:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565112064001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":160723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:27:31] local.INFO: GPS data processed {"connection_id":160723,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:27:31] local.INFO: Acknowledgment sent {"connection_id":160723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:27:33] local.INFO: TCP Data received {"connection_id":162139,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:27:33] local.INFO: Processing buffer {"connection_id":162139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:27:33] local.INFO: IMEI packet received {"connection_id":162139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":162139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:27:36] local.INFO: TCP Data received {"connection_id":162139,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:27:36] local.INFO: Processing buffer {"connection_id":162139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:27:36] local.INFO: IMEI packet received {"connection_id":162139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":162139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:27:40] local.INFO: TCP Data received {"connection_id":162139,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:27:40] local.INFO: Processing buffer {"connection_id":162139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:27:40] local.INFO: IMEI packet received {"connection_id":162139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":162139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:27:41] local.INFO: TCP Data received {"connection_id":162139,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0272f3f78012d84138005d1d6800008016426..."} 
[2026-08-22 07:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272f3f78012d84138005d1d6800008016426..."} 
[2026-08-22 07:27:41] local.INFO: Processing buffer {"connection_id":162139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272f3f78012d84138005d1d6800008016426..."} 
[2026-08-22 07:27:41] local.INFO: Packet analysis {"connection_id":162139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272f"} 
[2026-08-22 07:27:41] local.INFO: Extracted packet for processing {"connection_id":162139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272f"} 
[2026-08-22 07:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763630464,"raw_latitude":97638016,"longitude_deg":76.3630464,"latitude_deg":9.7638016,"altitude":8,"angle":356,"satellites":38,"speed":56,"hex_longitude":"2d841380","hex_latitude":"05d1d680","is_valid_coordinates":true} 
[2026-08-22 07:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565133568001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122160221496803328,"note":"Value kept but may cause issues"} 
[2026-08-22 07:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8929652873661874176,"note":"Value kept but may cause issues"} 
[2026-08-22 07:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787363803000,"timestamp_ms":1787363803000,"timestamp_seconds":1787363803,"priority":1,"record_length":96,"hex_timestamp":"000001a0272f3f78"} 
[2026-08-22 07:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:27:41] 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-22 07:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-22 07:27:41] 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-22 07:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:27: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-22 07:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565133568001,"66":13222,"220":206,"85":15104,"24":56,"16":122160221496803328,"45":-8929652873661874176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-22 07:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565133568001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:27:41] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-22 07:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122160221496803328,"km_value":122160221496803.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8929652873661874176,"description":"Unknown IO ID 45"} 
[2026-08-22 07:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565133568001,"power":13222,"unknown_220":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":-8929652873661874176}} 
[2026-08-22 07:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":162139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:27:41] local.INFO: GPS data processed {"connection_id":162139,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:27:41] local.INFO: Acknowledgment sent {"connection_id":162139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:27:50] local.INFO: TCP Data received {"connection_id":162140,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:27:50] local.INFO: Processing buffer {"connection_id":162140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:27:50] local.INFO: IMEI packet received {"connection_id":162140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":162140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:27:53] local.INFO: TCP Data received {"connection_id":160724,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:27:54] local.INFO: Processing buffer {"connection_id":160724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:27:54] local.INFO: IMEI packet received {"connection_id":160724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":160724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:27:55] local.INFO: TCP Data received {"connection_id":162140,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:27:55] local.INFO: Processing buffer {"connection_id":162140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:27:55] local.INFO: IMEI packet received {"connection_id":162140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":162140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:27:55] local.INFO: TCP Data received {"connection_id":162140,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:27:55] local.INFO: Processing buffer {"connection_id":162140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:27:55] local.INFO: Packet analysis {"connection_id":162140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:27:55] local.INFO: Extracted packet for processing {"connection_id":162140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565021696001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:27: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-22 07:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787363676000,"timestamp_ms":1787363676000,"timestamp_seconds":1787363676,"priority":1,"record_length":96,"hex_timestamp":"000001a0272d4f60"} 
[2026-08-22 07: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-22 07:27:55] 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-22 07:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565021696001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565021696001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:27:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565021696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":162140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:27:56] local.INFO: GPS data processed {"connection_id":162140,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:27:56] local.INFO: Acknowledgment sent {"connection_id":162140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:27:59] local.INFO: TCP Data received {"connection_id":160724,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:27:59] local.INFO: Processing buffer {"connection_id":160724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:27:59] local.INFO: IMEI packet received {"connection_id":160724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":160724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:27:59] local.INFO: TCP Data received {"connection_id":160724,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0272e9b68012d196940071fedd8003e011c26..."} 
[2026-08-22 07:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272e9b68012d196940071fedd8003e011c26..."} 
[2026-08-22 07:27:59] local.INFO: Processing buffer {"connection_id":160724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272e9b68012d196940071fedd8003e011c26..."} 
[2026-08-22 07:27:59] local.INFO: Packet analysis {"connection_id":160724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272e"} 
[2026-08-22 07:27:59] local.INFO: Extracted packet for processing {"connection_id":160724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272e"} 
[2026-08-22 07:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565117440001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:27: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-22 07:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787363761000,"timestamp_ms":1787363761000,"timestamp_seconds":1787363761,"priority":1,"record_length":96,"hex_timestamp":"000001a0272e9b68"} 
[2026-08-22 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-22 07:27:59] 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-22 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:27:59] 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-22 07:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565117440001,"66":12461,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565117440001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:27:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565117440001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":160724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:28:00] local.INFO: GPS data processed {"connection_id":160724,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:28:00] local.INFO: Acknowledgment sent {"connection_id":160724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:28:06] local.INFO: TCP Data received {"connection_id":159561,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:28:06] local.INFO: Processing buffer {"connection_id":159561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:28:06] local.INFO: IMEI packet received {"connection_id":159561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":159561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:28:07] local.INFO: TCP Data received {"connection_id":159561,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:28:07] local.INFO: Processing buffer {"connection_id":159561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:28:07] local.INFO: IMEI packet received {"connection_id":159561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":159561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:28:11] local.INFO: TCP Data received {"connection_id":159561,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:28:11] local.INFO: Processing buffer {"connection_id":159561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:28:11] local.INFO: IMEI packet received {"connection_id":159561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":159561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:28:12] local.INFO: TCP Data received {"connection_id":159561,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0272f5ad0012d840e4005d1f7780007015825..."} 
[2026-08-22 07:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272f5ad0012d840e4005d1f7780007015825..."} 
[2026-08-22 07:28:12] local.INFO: Processing buffer {"connection_id":159561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272f5ad0012d840e4005d1f7780007015825..."} 
[2026-08-22 07:28:12] local.INFO: Packet analysis {"connection_id":159561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272f"} 
[2026-08-22 07:28:12] local.INFO: Extracted packet for processing {"connection_id":159561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272f"} 
[2026-08-22 07:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763629120,"raw_latitude":97646456,"longitude_deg":76.362912,"latitude_deg":9.7646456,"altitude":7,"angle":344,"satellites":37,"speed":33,"hex_longitude":"2d840e40","hex_latitude":"05d1f778","is_valid_coordinates":true} 
[2026-08-22 07:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565133568001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122160633813663744,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8929652873661874176,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787363810000,"timestamp_ms":1787363810000,"timestamp_seconds":1787363810,"priority":1,"record_length":96,"hex_timestamp":"000001a0272f5ad0"} 
[2026-08-22 07:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:28: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-22 07:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-22 07:28: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-22 07:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:28: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-22 07:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565133568001,"66":12287,"220":206,"85":15104,"24":33,"16":122160633813663744,"45":-8929652873661874176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-22 07:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565133568001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:28:12] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-22 07:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122160633813663744,"km_value":122160633813663.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8929652873661874176,"description":"Unknown IO ID 45"} 
[2026-08-22 07:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565133568001,"power":12287,"unknown_220":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-8929652873661874176}} 
[2026-08-22 07:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":159561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:28:12] local.INFO: GPS data processed {"connection_id":159561,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:28:12] local.INFO: Acknowledgment sent {"connection_id":159561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:28:13] local.INFO: TCP Data received {"connection_id":159561,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0272f6688012d840d8005d1fa900006014923..."} 
[2026-08-22 07:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272f6688012d840d8005d1fa900006014923..."} 
[2026-08-22 07:28:13] local.INFO: Processing buffer {"connection_id":159561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272f6688012d840d8005d1fa900006014923..."} 
[2026-08-22 07:28:13] local.INFO: Packet analysis {"connection_id":159561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272f"} 
[2026-08-22 07:28:13] local.INFO: Extracted packet for processing {"connection_id":159561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272f"} 
[2026-08-22 07:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763628928,"raw_latitude":97647248,"longitude_deg":76.3628928,"latitude_deg":9.7647248,"altitude":6,"angle":329,"satellites":35,"speed":10,"hex_longitude":"2d840d80","hex_latitude":"05d1fa90","is_valid_coordinates":true} 
[2026-08-22 07:28: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-22 07:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565135360001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122160676763336704,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931130617287444480,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787363813000,"timestamp_ms":1787363813000,"timestamp_seconds":1787363813,"priority":1,"record_length":96,"hex_timestamp":"000001a0272f6688"} 
[2026-08-22 07:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:28: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-22 07:28: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":255,"data_length":795,"current_offset":136} 
[2026-08-22 07:28:13] 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-22 07:28: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-22 07:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:28: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-22 07:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565135360001,"66":12602,"220":206,"85":15104,"24":10,"16":122160676763336704,"45":-8931130617287444480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-22 07:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565135360001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:28:13] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-22 07:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122160676763336704,"km_value":122160676763336.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931130617287444480,"description":"Unknown IO ID 45"} 
[2026-08-22 07:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565135360001,"power":12602,"unknown_220":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-8931130617287444480}} 
[2026-08-22 07:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":159561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:28:13] local.INFO: GPS data processed {"connection_id":159561,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:28:13] local.INFO: Acknowledgment sent {"connection_id":159561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:28:27] local.INFO: TCP Data received {"connection_id":162140,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:28:27] local.INFO: Processing buffer {"connection_id":162140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:28:27] local.INFO: Packet analysis {"connection_id":162140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:28:27] local.INFO: Extracted packet for processing {"connection_id":162140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:28:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565021696001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28: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-22 07:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787363676000,"timestamp_ms":1787363676000,"timestamp_seconds":1787363676,"priority":1,"record_length":96,"hex_timestamp":"000001a0272d4f60"} 
[2026-08-22 07: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-22 07:28:27] 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-22 07:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565021696001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565021696001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:28:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:28:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565021696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":162140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:28:27] local.INFO: GPS data processed {"connection_id":162140,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:28:27] local.INFO: Acknowledgment sent {"connection_id":162140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:28:30] local.INFO: TCP Data received {"connection_id":160724,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0272eed70012d196940071fedd8003e011c28..."} 
[2026-08-22 07:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272eed70012d196940071fedd8003e011c28..."} 
[2026-08-22 07:28:31] local.INFO: Processing buffer {"connection_id":160724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272eed70012d196940071fedd8003e011c28..."} 
[2026-08-22 07:28:31] local.INFO: Packet analysis {"connection_id":160724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272e"} 
[2026-08-22 07:28:31] local.INFO: Extracted packet for processing {"connection_id":160724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272e"} 
[2026-08-22 07:28:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565122816001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787363782000,"timestamp_ms":1787363782000,"timestamp_seconds":1787363782,"priority":1,"record_length":96,"hex_timestamp":"000001a0272eed70"} 
[2026-08-22 07: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-22 07:28:31] 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-22 07: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 07:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:28:31] 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-22 07:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565122816001,"66":12461,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565122816001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:28:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:28:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565122816001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":160724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:28:31] local.INFO: GPS data processed {"connection_id":160724,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:28:31] local.INFO: Acknowledgment sent {"connection_id":160724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:28:49] local.INFO: TCP Data received {"connection_id":159562,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:28:49] local.INFO: Processing buffer {"connection_id":159562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:28:49] local.INFO: IMEI packet received {"connection_id":159562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":159562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:28:53] local.INFO: TCP Data received {"connection_id":159563,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:28:53] local.INFO: Processing buffer {"connection_id":159563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:28:53] local.INFO: IMEI packet received {"connection_id":159563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":159563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:28:55] local.INFO: TCP Data received {"connection_id":159562,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:28:55] local.INFO: Processing buffer {"connection_id":159562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:28:55] local.INFO: IMEI packet received {"connection_id":159562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":159562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:28:56] local.INFO: TCP Data received {"connection_id":159562,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:28:56] local.INFO: Processing buffer {"connection_id":159562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:28:56] local.INFO: Packet analysis {"connection_id":159562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:28:56] local.INFO: Extracted packet for processing {"connection_id":159562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565021696001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28: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-22 07:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787363676000,"timestamp_ms":1787363676000,"timestamp_seconds":1787363676,"priority":1,"record_length":96,"hex_timestamp":"000001a0272d4f60"} 
[2026-08-22 07: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-22 07:28:56] 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-22 07:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565021696001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565021696001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:28:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565021696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":159562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:28:56] local.INFO: GPS data processed {"connection_id":159562,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:28:56] local.INFO: Acknowledgment sent {"connection_id":159562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:28:56] local.INFO: TCP Data received {"connection_id":159819,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:28:56] local.INFO: Processing buffer {"connection_id":159819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:28:56] local.INFO: IMEI packet received {"connection_id":159819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":159819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:28:59] local.INFO: TCP Data received {"connection_id":159563,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:28:59] local.INFO: Processing buffer {"connection_id":159563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:28:59] local.INFO: IMEI packet received {"connection_id":159563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":159563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:28:59] local.INFO: TCP Data received {"connection_id":159563,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0272f3f78012d196940071fedd8003e011c26..."} 
[2026-08-22 07:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272f3f78012d196940071fedd8003e011c26..."} 
[2026-08-22 07:28:59] local.INFO: Processing buffer {"connection_id":159563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272f3f78012d196940071fedd8003e011c26..."} 
[2026-08-22 07:28:59] local.INFO: Packet analysis {"connection_id":159563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272f"} 
[2026-08-22 07:28:59] local.INFO: Extracted packet for processing {"connection_id":159563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272f"} 
[2026-08-22 07:28:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565128192001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:28: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-22 07:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787363803000,"timestamp_ms":1787363803000,"timestamp_seconds":1787363803,"priority":1,"record_length":96,"hex_timestamp":"000001a0272f3f78"} 
[2026-08-22 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-22 07:28:59] 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-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 07:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:28:59] 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-22 07:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565128192001,"66":12439,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565128192001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:28:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:28:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565128192001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":159563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:29:00] local.INFO: GPS data processed {"connection_id":159563,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:29:00] local.INFO: Acknowledgment sent {"connection_id":159563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:29:01] local.INFO: TCP Data received {"connection_id":159819,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:29:01] local.INFO: Processing buffer {"connection_id":159819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:29:01] local.INFO: IMEI packet received {"connection_id":159819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":159819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:29:02] local.INFO: TCP Data received {"connection_id":159819,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02730be48012d83f00005d33c600007015125..."} 
[2026-08-22 07:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02730be48012d83f00005d33c600007015125..."} 
[2026-08-22 07:29:02] local.INFO: Processing buffer {"connection_id":159819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02730be48012d83f00005d33c600007015125..."} 
[2026-08-22 07:29:02] local.INFO: Packet analysis {"connection_id":159819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02730"} 
[2026-08-22 07:29:02] local.INFO: Extracted packet for processing {"connection_id":159819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02730"} 
[2026-08-22 07:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763621376,"raw_latitude":97729632,"longitude_deg":76.3621376,"latitude_deg":9.7729632,"altitude":7,"angle":337,"satellites":37,"speed":55,"hex_longitude":"2d83f000","hex_latitude":"05d33c60","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565157632001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122164787047038976,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8937956385452802048,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787363901000,"timestamp_ms":1787363901000,"timestamp_seconds":1787363901,"priority":1,"record_length":96,"hex_timestamp":"000001a02730be48"} 
[2026-08-22 07: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-22 07:29:02] 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-22 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-22 07:29:02] 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-22 07: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-22 07: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-22 07:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:29:02] 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-22 07:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565157632001,"66":13200,"220":206,"85":15104,"24":55,"16":122164787047038976,"45":-8937956385452802048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-22 07:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565157632001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:29:02] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-22 07:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122164787047038976,"km_value":122164787047038.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8937956385452802048,"description":"Unknown IO ID 45"} 
[2026-08-22 07:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565157632001,"power":13200,"unknown_220":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":-8937956385452802048}} 
[2026-08-22 07:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":159819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:29:02] local.INFO: GPS data processed {"connection_id":159819,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:29:02] local.INFO: Acknowledgment sent {"connection_id":159819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:29:27] local.INFO: TCP Data received {"connection_id":159562,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:29:27] local.INFO: Processing buffer {"connection_id":159562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272d4f60012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 07:29:27] local.INFO: Packet analysis {"connection_id":159562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:29:27] local.INFO: Extracted packet for processing {"connection_id":159562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272d"} 
[2026-08-22 07:29:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565021696001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29: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-22 07:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787363676000,"timestamp_ms":1787363676000,"timestamp_seconds":1787363676,"priority":1,"record_length":96,"hex_timestamp":"000001a0272d4f60"} 
[2026-08-22 07: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-22 07:29:27] 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-22 07:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565021696001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565021696001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:29:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:29:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565021696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":159562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:29:27] local.INFO: GPS data processed {"connection_id":159562,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:29:27] local.INFO: Acknowledgment sent {"connection_id":159562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:29:31] local.INFO: TCP Data received {"connection_id":159563,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0272f9180012d196940071fedd8003e011c27..."} 
[2026-08-22 07:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272f9180012d196940071fedd8003e011c27..."} 
[2026-08-22 07:29:31] local.INFO: Processing buffer {"connection_id":159563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272f9180012d196940071fedd8003e011c27..."} 
[2026-08-22 07:29:31] local.INFO: Packet analysis {"connection_id":159563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272f"} 
[2026-08-22 07:29:31] local.INFO: Extracted packet for processing {"connection_id":159563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272f"} 
[2026-08-22 07:29:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565133568001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787363824000,"timestamp_ms":1787363824000,"timestamp_seconds":1787363824,"priority":1,"record_length":96,"hex_timestamp":"000001a0272f9180"} 
[2026-08-22 07:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:29:31] 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-22 07:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:29:31] 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-22 07:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:29:31] 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-22 07:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565133568001,"66":12428,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565133568001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:29:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:29:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565133568001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":159563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:29:31] local.INFO: GPS data processed {"connection_id":159563,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:29:31] local.INFO: Acknowledgment sent {"connection_id":159563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:29:33] local.INFO: TCP Data received {"connection_id":159819,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02730d9a0012d83e0c005d35d480008014d24..."} 
[2026-08-22 07:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02730d9a0012d83e0c005d35d480008014d24..."} 
[2026-08-22 07:29:33] local.INFO: Processing buffer {"connection_id":159819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02730d9a0012d83e0c005d35d480008014d24..."} 
[2026-08-22 07:29:33] local.INFO: Packet analysis {"connection_id":159819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02730"} 
[2026-08-22 07:29:33] local.INFO: Extracted packet for processing {"connection_id":159819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02730"} 
[2026-08-22 07:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763617472,"raw_latitude":97738056,"longitude_deg":76.3617472,"latitude_deg":9.7738056,"altitude":8,"angle":333,"satellites":36,"speed":39,"hex_longitude":"2d83e0c0","hex_latitude":"05d35d48","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565158656001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122165233723637760,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8939645235311648768,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787363908000,"timestamp_ms":1787363908000,"timestamp_seconds":1787363908,"priority":1,"record_length":96,"hex_timestamp":"000001a02730d9a0"} 
[2026-08-22 07: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-22 07:29: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-22 07: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-22 07:29:33] 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-22 07: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-22 07: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-22 07:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:29:33] 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-22 07:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565158656001,"66":12982,"220":206,"85":15104,"24":39,"16":122165233723637760,"45":-8939645235311648768},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-22 07:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565158656001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:29:33] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-22 07:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122165233723637760,"km_value":122165233723637.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8939645235311648768,"description":"Unknown IO ID 45"} 
[2026-08-22 07:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565158656001,"power":12982,"unknown_220":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-8939645235311648768}} 
[2026-08-22 07:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":159819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:29:34] local.INFO: GPS data processed {"connection_id":159819,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:29:34] local.INFO: Acknowledgment sent {"connection_id":159819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:29:49] local.INFO: TCP Data received {"connection_id":159564,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:29:49] local.INFO: Processing buffer {"connection_id":159564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:29:49] local.INFO: IMEI packet received {"connection_id":159564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":159564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:29:53] local.INFO: TCP Data received {"connection_id":162141,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:29:53] local.INFO: Processing buffer {"connection_id":162141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:29:53] local.INFO: IMEI packet received {"connection_id":162141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":162141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:29:54] local.INFO: TCP Data received {"connection_id":159564,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:29:54] local.INFO: Processing buffer {"connection_id":159564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:29:54] local.INFO: IMEI packet received {"connection_id":159564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":159564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:29:55] local.INFO: TCP Data received {"connection_id":159564,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:29:55] local.INFO: Processing buffer {"connection_id":159564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:29:55] local.INFO: Packet analysis {"connection_id":159564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:29:55] local.INFO: Extracted packet for processing {"connection_id":159564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:29:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565101056001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29: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-22 07:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787363977000,"timestamp_ms":1787363977000,"timestamp_seconds":1787363977,"priority":1,"record_length":96,"hex_timestamp":"000001a02731e728"} 
[2026-08-22 07: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-22 07:29:55] 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-22 07:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565101056001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565101056001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:29:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:29:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565101056001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":159564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:29:55] local.INFO: GPS data processed {"connection_id":159564,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:29:55] local.INFO: Acknowledgment sent {"connection_id":159564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:29:56] local.INFO: TCP Data received {"connection_id":159565,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:29:56] local.INFO: Processing buffer {"connection_id":159565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:29:56] local.INFO: IMEI packet received {"connection_id":159565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":159565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:29:56] local.INFO: TCP Data received {"connection_id":159565,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:29:56] local.INFO: Processing buffer {"connection_id":159565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:29:56] local.INFO: IMEI packet received {"connection_id":159565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":159565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:29:59] local.INFO: TCP Data received {"connection_id":162141,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:29:59] local.INFO: Processing buffer {"connection_id":162141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:29:59] local.INFO: IMEI packet received {"connection_id":162141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":162141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:29:59] local.INFO: TCP Data received {"connection_id":162141,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0272fe388012d196940071fedd8003e011c23..."} 
[2026-08-22 07:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0272fe388012d196940071fedd8003e011c23..."} 
[2026-08-22 07:29:59] local.INFO: Processing buffer {"connection_id":162141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0272fe388012d196940071fedd8003e011c23..."} 
[2026-08-22 07:29:59] local.INFO: Packet analysis {"connection_id":162141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0272f"} 
[2026-08-22 07:29:59] local.INFO: Extracted packet for processing {"connection_id":162141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0272f"} 
[2026-08-22 07:29:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565138944001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:29: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-22 07:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787363845000,"timestamp_ms":1787363845000,"timestamp_seconds":1787363845,"priority":1,"record_length":96,"hex_timestamp":"000001a0272fe388"} 
[2026-08-22 07: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-22 07:29:59] 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-22 07: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 07:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:29:59] 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-22 07:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565138944001,"66":12428,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565138944001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:29:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:29:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565138944001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":162141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:29:59] local.INFO: GPS data processed {"connection_id":162141,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:29:59] local.INFO: Acknowledgment sent {"connection_id":162141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:30:02] local.INFO: TCP Data received {"connection_id":159565,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:30:02] local.INFO: Processing buffer {"connection_id":159565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:30:02] local.INFO: IMEI packet received {"connection_id":159565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":159565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:30:02] local.INFO: TCP Data received {"connection_id":159565,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027310880012d83d2c005d37d40000a015125..."} 
[2026-08-22 07:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027310880012d83d2c005d37d40000a015125..."} 
[2026-08-22 07:30:02] local.INFO: Processing buffer {"connection_id":159565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027310880012d83d2c005d37d40000a015125..."} 
[2026-08-22 07:30:02] local.INFO: Packet analysis {"connection_id":159565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:30:02] local.INFO: Extracted packet for processing {"connection_id":159565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763613888,"raw_latitude":97746240,"longitude_deg":76.3613888,"latitude_deg":9.774624,"altitude":10,"angle":337,"satellites":37,"speed":26,"hex_longitude":"2d83d2c0","hex_latitude":"05d37d40","is_valid_coordinates":true} 
[2026-08-22 07:30: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-22 07:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565160448001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122165667515334656,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8943937728704329728,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787363920000,"timestamp_ms":1787363920000,"timestamp_seconds":1787363920,"priority":1,"record_length":96,"hex_timestamp":"000001a027310880"} 
[2026-08-22 07:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:30: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-22 07:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-22 07:30:03] 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-22 07:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:30:03] 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-22 07:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565160448001,"66":12863,"220":206,"85":15104,"24":26,"16":122165667515334656,"45":-8943937728704329728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-22 07:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565160448001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:30:03] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-22 07:30:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122165667515334656,"km_value":122165667515334.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8943937728704329728,"description":"Unknown IO ID 45"} 
[2026-08-22 07:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565160448001,"power":12863,"unknown_220":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-8943937728704329728}} 
[2026-08-22 07:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":159565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:30:03] local.INFO: GPS data processed {"connection_id":159565,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:30:03] local.INFO: Acknowledgment sent {"connection_id":159565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:30:26] local.INFO: TCP Data received {"connection_id":159564,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:30:26] local.INFO: Processing buffer {"connection_id":159564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:30:26] local.INFO: Packet analysis {"connection_id":159564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:30:26] local.INFO: Extracted packet for processing {"connection_id":159564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:30:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565101056001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30: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-22 07:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787363977000,"timestamp_ms":1787363977000,"timestamp_seconds":1787363977,"priority":1,"record_length":96,"hex_timestamp":"000001a02731e728"} 
[2026-08-22 07: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-22 07:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565101056001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565101056001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:30:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:30:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565101056001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":159564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:30:26] local.INFO: GPS data processed {"connection_id":159564,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:30:26] local.INFO: Acknowledgment sent {"connection_id":159564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:30:30] local.INFO: TCP Data received {"connection_id":162141,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027303590012d196940071fedd8003e011c24..."} 
[2026-08-22 07:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027303590012d196940071fedd8003e011c24..."} 
[2026-08-22 07:30:30] local.INFO: Processing buffer {"connection_id":162141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027303590012d196940071fedd8003e011c24..."} 
[2026-08-22 07:30:30] local.INFO: Packet analysis {"connection_id":162141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02730"} 
[2026-08-22 07:30:30] local.INFO: Extracted packet for processing {"connection_id":162141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02730"} 
[2026-08-22 07:30:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565144320001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30: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-22 07:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787363866000,"timestamp_ms":1787363866000,"timestamp_seconds":1787363866,"priority":1,"record_length":96,"hex_timestamp":"000001a027303590"} 
[2026-08-22 07: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-22 07:30:30] 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-22 07: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 07:30:30] 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-22 07: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-22 07: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-22 07:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:30:30] 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-22 07:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565144320001,"66":12461,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565144320001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:30:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:30:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565144320001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":162141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:30:30] local.INFO: GPS data processed {"connection_id":162141,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:30:30] local.INFO: Acknowledgment sent {"connection_id":162141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:30:34] local.INFO: TCP Data received {"connection_id":159565,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027326fe0012d83864005d54cb8000b016026..."} 
[2026-08-22 07:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027326fe0012d83864005d54cb8000b016026..."} 
[2026-08-22 07:30:34] local.INFO: Processing buffer {"connection_id":159565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027326fe0012d83864005d54cb8000b016026..."} 
[2026-08-22 07:30:34] local.INFO: Packet analysis {"connection_id":159565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02732"} 
[2026-08-22 07:30:34] local.INFO: Extracted packet for processing {"connection_id":159565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02732"} 
[2026-08-22 07:30:34] local.INFO: GPS Element Parsed {"raw_longitude":763594304,"raw_latitude":97864888,"longitude_deg":76.3594304,"latitude_deg":9.7864888,"altitude":11,"angle":352,"satellites":38,"speed":60,"hex_longitude":"2d838640","hex_latitude":"05d54cb8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565185536001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122171512965824512,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8967722364206243840,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787364012000,"timestamp_ms":1787364012000,"timestamp_seconds":1787364012,"priority":1,"record_length":96,"hex_timestamp":"000001a027326fe0"} 
[2026-08-22 07: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-22 07:30:34] 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-22 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-22 07:30:34] 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-22 07: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-22 07: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-22 07:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:30:34] 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-22 07:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565185536001,"66":13124,"219":206,"85":15104,"24":60,"16":122171512965824512,"45":-8967722364206243840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-08-22 07:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565185536001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:30:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-22 07:30:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122171512965824512,"km_value":122171512965824.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8967722364206243840,"description":"Unknown IO ID 45"} 
[2026-08-22 07:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565185536001,"power":13124,"unknown_219":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":-8967722364206243840}} 
[2026-08-22 07:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":159565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:30:34] local.INFO: GPS data processed {"connection_id":159565,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:30:34] local.INFO: Acknowledgment sent {"connection_id":159565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:30:50] local.INFO: TCP Data received {"connection_id":162142,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:30:50] local.INFO: Processing buffer {"connection_id":162142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:30:50] local.INFO: IMEI packet received {"connection_id":162142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":162142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:30:53] local.INFO: TCP Data received {"connection_id":162143,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:30:53] local.INFO: Processing buffer {"connection_id":162143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:30:53] local.INFO: IMEI packet received {"connection_id":162143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":162143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:30:55] local.INFO: TCP Data received {"connection_id":162142,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:30:55] local.INFO: Processing buffer {"connection_id":162142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:30:55] local.INFO: IMEI packet received {"connection_id":162142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":162142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:30:56] local.INFO: TCP Data received {"connection_id":162142,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:30:56] local.INFO: Processing buffer {"connection_id":162142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:30:56] local.INFO: Packet analysis {"connection_id":162142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:30:56] local.INFO: Extracted packet for processing {"connection_id":162142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565101056001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30: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-22 07:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787363977000,"timestamp_ms":1787363977000,"timestamp_seconds":1787363977,"priority":1,"record_length":96,"hex_timestamp":"000001a02731e728"} 
[2026-08-22 07: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-22 07:30:56] 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-22 07:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565101056001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565101056001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:30:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565101056001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":162142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:30:56] local.INFO: GPS data processed {"connection_id":162142,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:30:56] local.INFO: Acknowledgment sent {"connection_id":162142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:30:56] local.INFO: TCP Data received {"connection_id":159820,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:30:56] local.INFO: Processing buffer {"connection_id":159820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:30:56] local.INFO: IMEI packet received {"connection_id":159820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":159820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:30:59] local.INFO: TCP Data received {"connection_id":162143,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:30:59] local.INFO: Processing buffer {"connection_id":162143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:30:59] local.INFO: IMEI packet received {"connection_id":162143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":162143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:30:59] local.INFO: TCP Data received {"connection_id":162143,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027308798012d196940071fedd8003e011c21..."} 
[2026-08-22 07:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027308798012d196940071fedd8003e011c21..."} 
[2026-08-22 07:30:59] local.INFO: Processing buffer {"connection_id":162143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027308798012d196940071fedd8003e011c21..."} 
[2026-08-22 07:30:59] local.INFO: Packet analysis {"connection_id":162143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02730"} 
[2026-08-22 07:30:59] local.INFO: Extracted packet for processing {"connection_id":162143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02730"} 
[2026-08-22 07:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565149696001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:30: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-22 07:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787363887000,"timestamp_ms":1787363887000,"timestamp_seconds":1787363887,"priority":1,"record_length":96,"hex_timestamp":"000001a027308798"} 
[2026-08-22 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-22 07:30:59] 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-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 07:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:30:59] 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-22 07:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565149696001,"66":12428,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565149696001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:30:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:30:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565149696001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":162143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:30:59] local.INFO: GPS data processed {"connection_id":162143,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:30:59] local.INFO: Acknowledgment sent {"connection_id":162143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:31:02] local.INFO: TCP Data received {"connection_id":159820,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:31:02] local.INFO: Processing buffer {"connection_id":159820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:31:02] local.INFO: IMEI packet received {"connection_id":159820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":159820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:31:03] local.INFO: TCP Data received {"connection_id":159820,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027328750012d8380c005d56fa0000c015f26..."} 
[2026-08-22 07:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027328750012d8380c005d56fa0000c015f26..."} 
[2026-08-22 07:31:03] local.INFO: Processing buffer {"connection_id":159820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027328750012d8380c005d56fa0000c015f26..."} 
[2026-08-22 07:31:03] local.INFO: Packet analysis {"connection_id":159820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02732"} 
[2026-08-22 07:31:03] local.INFO: Extracted packet for processing {"connection_id":159820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02732"} 
[2026-08-22 07:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763592896,"raw_latitude":97873824,"longitude_deg":76.3592896,"latitude_deg":9.7873824,"altitude":12,"angle":351,"satellites":38,"speed":58,"hex_longitude":"2d8380c0","hex_latitude":"05d56fa0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565187072001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122171951052488704,"note":"Value kept but may cause issues"} 
[2026-08-22 07:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8969411214064175104,"note":"Value kept but may cause issues"} 
[2026-08-22 07:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787364018000,"timestamp_ms":1787364018000,"timestamp_seconds":1787364018,"priority":1,"record_length":96,"hex_timestamp":"000001a027328750"} 
[2026-08-22 07: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-22 07:31:03] 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-22 07: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-22 07:31:03] 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-22 07: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-22 07: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-22 07:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:31:03] 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-22 07:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565187072001,"66":12993,"219":206,"85":15104,"24":58,"16":122171951052488704,"45":-8969411214064175104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-08-22 07:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565187072001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:31:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-22 07:31:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122171951052488704,"km_value":122171951052488.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8969411214064175104,"description":"Unknown IO ID 45"} 
[2026-08-22 07:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565187072001,"power":12993,"unknown_219":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":-8969411214064175104}} 
[2026-08-22 07:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":159820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:31:03] local.INFO: GPS data processed {"connection_id":159820,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:31:03] local.INFO: Acknowledgment sent {"connection_id":159820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:31:27] local.INFO: TCP Data received {"connection_id":162142,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:31:27] local.INFO: Processing buffer {"connection_id":162142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:31:27] local.INFO: Packet analysis {"connection_id":162142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:31:27] local.INFO: Extracted packet for processing {"connection_id":162142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565101056001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:31: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-22 07:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787363977000,"timestamp_ms":1787363977000,"timestamp_seconds":1787363977,"priority":1,"record_length":96,"hex_timestamp":"000001a02731e728"} 
[2026-08-22 07: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-22 07:31:27] 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-22 07:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565101056001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565101056001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:31:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565101056001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":162142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:31:27] local.INFO: GPS data processed {"connection_id":162142,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:31:27] local.INFO: Acknowledgment sent {"connection_id":162142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:31:33] local.INFO: TCP Data received {"connection_id":162143,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02730d9a0012d196940071fedd8003e011c25..."} 
[2026-08-22 07:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02730d9a0012d196940071fedd8003e011c25..."} 
[2026-08-22 07:31:33] local.INFO: Processing buffer {"connection_id":162143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02730d9a0012d196940071fedd8003e011c25..."} 
[2026-08-22 07:31:33] local.INFO: Packet analysis {"connection_id":162143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02730"} 
[2026-08-22 07:31:33] local.INFO: Extracted packet for processing {"connection_id":162143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02730"} 
[2026-08-22 07:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565155072001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:31: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-22 07:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787363908000,"timestamp_ms":1787363908000,"timestamp_seconds":1787363908,"priority":1,"record_length":96,"hex_timestamp":"000001a02730d9a0"} 
[2026-08-22 07:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 07:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:31: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-22 07:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565155072001,"66":12428,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565155072001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:31:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:31:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565155072001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":162143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:31:33] local.INFO: GPS data processed {"connection_id":162143,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:31:33] local.INFO: Acknowledgment sent {"connection_id":162143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:31:33] local.INFO: TCP Data received {"connection_id":159820,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02732a2a8012d837b8005d59560000c016025..."} 
[2026-08-22 07:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02732a2a8012d837b8005d59560000c016025..."} 
[2026-08-22 07:31:33] local.INFO: Processing buffer {"connection_id":159820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02732a2a8012d837b8005d59560000c016025..."} 
[2026-08-22 07:31:33] local.INFO: Packet analysis {"connection_id":159820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02732"} 
[2026-08-22 07:31:33] local.INFO: Extracted packet for processing {"connection_id":159820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02732"} 
[2026-08-22 07:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763591552,"raw_latitude":97883488,"longitude_deg":76.3591552,"latitude_deg":9.7883488,"altitude":12,"angle":352,"satellites":37,"speed":54,"hex_longitude":"2d837b80","hex_latitude":"05d59560","is_valid_coordinates":true} 
[2026-08-22 07:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565188608001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122172423498891264,"note":"Value kept but may cause issues"} 
[2026-08-22 07:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8970959326433796096,"note":"Value kept but may cause issues"} 
[2026-08-22 07:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787364025000,"timestamp_ms":1787364025000,"timestamp_seconds":1787364025,"priority":1,"record_length":96,"hex_timestamp":"000001a02732a2a8"} 
[2026-08-22 07:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-22 07:31:33] 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-22 07:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:31:33] 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-22 07:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565188608001,"66":13254,"219":206,"85":15104,"24":54,"16":122172423498891264,"45":-8970959326433796096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-08-22 07:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565188608001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:31:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-22 07:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122172423498891264,"km_value":122172423498891.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8970959326433796096,"description":"Unknown IO ID 45"} 
[2026-08-22 07:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565188608001,"power":13254,"unknown_219":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":-8970959326433796096}} 
[2026-08-22 07:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":159820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:31:33] local.INFO: GPS data processed {"connection_id":159820,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:31:33] local.INFO: Acknowledgment sent {"connection_id":159820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:31:50] local.INFO: TCP Data received {"connection_id":159821,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:31:50] local.INFO: Processing buffer {"connection_id":159821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:31:50] local.INFO: IMEI packet received {"connection_id":159821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":159821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:31:53] local.INFO: TCP Data received {"connection_id":160725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:31:53] local.INFO: Processing buffer {"connection_id":160725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:31:53] local.INFO: IMEI packet received {"connection_id":160725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":160725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:31:54] local.INFO: TCP Data received {"connection_id":160725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:31:54] local.INFO: Processing buffer {"connection_id":160725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:31:54] local.INFO: IMEI packet received {"connection_id":160725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":160725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:31:55] local.INFO: TCP Data received {"connection_id":159821,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:31:55] local.INFO: Processing buffer {"connection_id":159821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:31:55] local.INFO: IMEI packet received {"connection_id":159821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":159821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:31:55] local.INFO: TCP Data received {"connection_id":159821,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:31:55] local.INFO: Processing buffer {"connection_id":159821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:31:55] local.INFO: Packet analysis {"connection_id":159821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:31:55] local.INFO: Extracted packet for processing {"connection_id":159821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565101056001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:31: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-22 07:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787363977000,"timestamp_ms":1787363977000,"timestamp_seconds":1787363977,"priority":1,"record_length":96,"hex_timestamp":"000001a02731e728"} 
[2026-08-22 07: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-22 07:31:55] 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-22 07: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":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565101056001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565101056001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:31:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:31:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565101056001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":159821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:31:56] local.INFO: GPS data processed {"connection_id":159821,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:31:56] local.INFO: Acknowledgment sent {"connection_id":159821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:31:59] local.INFO: TCP Data received {"connection_id":160725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:31:59] local.INFO: Processing buffer {"connection_id":160725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:31:59] local.INFO: IMEI packet received {"connection_id":160725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":160725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:32:01] local.INFO: TCP Data received {"connection_id":159822,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:32:01] local.INFO: Processing buffer {"connection_id":159822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:32:01] local.INFO: IMEI packet received {"connection_id":159822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":159822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:32:04] local.INFO: TCP Data received {"connection_id":160725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:32:04] local.INFO: Processing buffer {"connection_id":160725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:32:04] local.INFO: IMEI packet received {"connection_id":160725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":160725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:32:04] local.INFO: TCP Data received {"connection_id":160725,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027312ba8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027312ba8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:32:04] local.INFO: Processing buffer {"connection_id":160725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027312ba8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:32:04] local.INFO: Packet analysis {"connection_id":160725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:32:04] local.INFO: Extracted packet for processing {"connection_id":160725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565160448001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787363929000,"timestamp_ms":1787363929000,"timestamp_seconds":1787363929,"priority":1,"record_length":96,"hex_timestamp":"000001a027312ba8"} 
[2026-08-22 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-22 07:32:04] 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-22 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 07:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:32:04] 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-22 07:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565160448001,"66":12428,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565160448001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:32:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:32:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565160448001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":160725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:32:05] local.INFO: GPS data processed {"connection_id":160725,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:32:05] local.INFO: Acknowledgment sent {"connection_id":160725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:32:06] local.INFO: TCP Data received {"connection_id":159822,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:32:06] local.INFO: Processing buffer {"connection_id":159822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:32:06] local.INFO: IMEI packet received {"connection_id":159822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":159822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:32:07] local.INFO: TCP Data received {"connection_id":159822,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02733a860012d83068005d68c200006010727..."} 
[2026-08-22 07:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02733a860012d83068005d68c200006010727..."} 
[2026-08-22 07:32:07] local.INFO: Processing buffer {"connection_id":159822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02733a860012d83068005d68c200006010727..."} 
[2026-08-22 07:32:07] local.INFO: Packet analysis {"connection_id":159822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02733"} 
[2026-08-22 07:32:07] local.INFO: Extracted packet for processing {"connection_id":159822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02733"} 
[2026-08-22 07:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763561600,"raw_latitude":97946656,"longitude_deg":76.35616,"latitude_deg":9.7946656,"altitude":6,"angle":263,"satellites":39,"speed":36,"hex_longitude":"2d830680","hex_latitude":"05d68c20","is_valid_coordinates":true} 
[2026-08-22 07:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565207040001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122176130055667712,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9003399317481037824,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:07] 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-22 07:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787364092000,"timestamp_ms":1787364092000,"timestamp_seconds":1787364092,"priority":1,"record_length":96,"hex_timestamp":"000001a02733a860"} 
[2026-08-22 07:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:32: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-22 07:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-22 07:32:07] 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-22 07:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:32: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-22 07:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565207040001,"66":13091,"156":206,"85":15104,"24":36,"16":122176130055667712,"45":-9003399317481037824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-22 07:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565207040001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:32:07] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-22 07:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122176130055667712,"km_value":122176130055667.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9003399317481037824,"description":"Unknown IO ID 45"} 
[2026-08-22 07:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565207040001,"power":13091,"unknown_156":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9003399317481037824}} 
[2026-08-22 07:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":159822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:32:07] local.INFO: GPS data processed {"connection_id":159822,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:32:07] local.INFO: Acknowledgment sent {"connection_id":159822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:32:08] local.INFO: TCP Data received {"connection_id":159822,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02733d358012d82e34005d687680007010526..."} 
[2026-08-22 07:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02733d358012d82e34005d687680007010526..."} 
[2026-08-22 07:32:08] local.INFO: Processing buffer {"connection_id":159822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02733d358012d82e34005d687680007010526..."} 
[2026-08-22 07:32:08] local.INFO: Packet analysis {"connection_id":159822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02733"} 
[2026-08-22 07:32:08] local.INFO: Extracted packet for processing {"connection_id":159822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02733"} 
[2026-08-22 07:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763552576,"raw_latitude":97945448,"longitude_deg":76.3552576,"latitude_deg":9.7945448,"altitude":7,"angle":261,"satellites":38,"speed":25,"hex_longitude":"2d82e340","hex_latitude":"05d68768","is_valid_coordinates":true} 
[2026-08-22 07:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565207552001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122176563847364608,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9005369642318028800,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:08] 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-22 07:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787364103000,"timestamp_ms":1787364103000,"timestamp_seconds":1787364103,"priority":1,"record_length":96,"hex_timestamp":"000001a02733d358"} 
[2026-08-22 07:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:32: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-22 07:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-22 07:32:08] 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-22 07:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:32: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-22 07:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565207552001,"66":13059,"156":206,"85":15104,"24":25,"16":122176563847364608,"45":-9005369642318028800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-22 07:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565207552001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:32:08] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-22 07:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122176563847364608,"km_value":122176563847364.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9005369642318028800,"description":"Unknown IO ID 45"} 
[2026-08-22 07:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565207552001,"power":13059,"unknown_156":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9005369642318028800}} 
[2026-08-22 07:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":159822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:32:08] local.INFO: GPS data processed {"connection_id":159822,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:32:08] local.INFO: Acknowledgment sent {"connection_id":159822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:32:09] local.INFO: TCP Data received {"connection_id":160725,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027317db0012d196940071fedd8003e011c24..."} 
[2026-08-22 07:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027317db0012d196940071fedd8003e011c24..."} 
[2026-08-22 07:32:09] local.INFO: Processing buffer {"connection_id":160725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027317db0012d196940071fedd8003e011c24..."} 
[2026-08-22 07:32:09] local.INFO: Packet analysis {"connection_id":160725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:32:09] local.INFO: Extracted packet for processing {"connection_id":160725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:32:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565165824001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787363950000,"timestamp_ms":1787363950000,"timestamp_seconds":1787363950,"priority":1,"record_length":96,"hex_timestamp":"000001a027317db0"} 
[2026-08-22 07:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:32:09] 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-22 07:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 07:32:09] 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-22 07:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:32:09] 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-22 07:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565165824001,"66":12406,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565165824001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:32:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:32:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565165824001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":160725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:32:09] local.INFO: GPS data processed {"connection_id":160725,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:32:09] local.INFO: Acknowledgment sent {"connection_id":160725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:32:27] local.INFO: TCP Data received {"connection_id":159821,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:32:27] local.INFO: Processing buffer {"connection_id":159821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:32:27] local.INFO: Packet analysis {"connection_id":159821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:32:27] local.INFO: Extracted packet for processing {"connection_id":159821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565101056001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32: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-22 07:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787363977000,"timestamp_ms":1787363977000,"timestamp_seconds":1787363977,"priority":1,"record_length":96,"hex_timestamp":"000001a02731e728"} 
[2026-08-22 07: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-22 07:32:27] 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-22 07:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565101056001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565101056001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:32:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565101056001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":159821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:32:27] local.INFO: GPS data processed {"connection_id":159821,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:32:27] local.INFO: Acknowledgment sent {"connection_id":159821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:32:39] local.INFO: TCP Data received {"connection_id":159822,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02733f298012d82d08005d685580009011225..."} 
[2026-08-22 07:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02733f298012d82d08005d685580009011225..."} 
[2026-08-22 07:32:39] local.INFO: Processing buffer {"connection_id":159822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02733f298012d82d08005d685580009011225..."} 
[2026-08-22 07:32:39] local.INFO: Packet analysis {"connection_id":159822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02733"} 
[2026-08-22 07:32:39] local.INFO: Extracted packet for processing {"connection_id":159822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02733"} 
[2026-08-22 07:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763547776,"raw_latitude":97944920,"longitude_deg":76.3547776,"latitude_deg":9.794492,"altitude":9,"angle":274,"satellites":37,"speed":15,"hex_longitude":"2d82d080","hex_latitude":"05d68558","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565210368001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122176795775598592,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9015291635247388672,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:39] 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-22 07:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787364111000,"timestamp_ms":1787364111000,"timestamp_seconds":1787364111,"priority":1,"record_length":96,"hex_timestamp":"000001a02733f298"} 
[2026-08-22 07: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-22 07:32: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-22 07: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":3,"data_length":795,"current_offset":136} 
[2026-08-22 07:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163549732263,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2200305669,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3221608037,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-08-22 07:32:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3595405312,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:39] local.WARNING: Large IO value detected {"io_id":219,"raw_value":58077557095399457,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,156,85,24,241,157,16,14,160,168,45,128,140,6,39,10,66,38,152,192,1,240,51,227,214,4,113,205,44,98,37,239,2,178,5,9,33,219],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-08-22 07:32:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504690294010740736,"timestamp_seconds":504690294010740.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07: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-22 07:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:32: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-22 07:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565210368001,"66":12906,"156":206,"85":15104,"24":15,"16":122176795775598592,"45":-9015291635247388672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-22 07:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565210368001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:32:39] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-22 07:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122176795775598592,"km_value":122176795775598.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9015291635247388672,"description":"Unknown IO ID 45"} 
[2026-08-22 07:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565210368001,"power":12906,"unknown_156":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9015291635247388672}} 
[2026-08-22 07:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":159822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:32:39] local.INFO: GPS data processed {"connection_id":159822,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:32:39] local.INFO: Acknowledgment sent {"connection_id":159822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:32:49] local.INFO: TCP Data received {"connection_id":159566,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:32:49] local.INFO: Processing buffer {"connection_id":159566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:32:49] local.INFO: IMEI packet received {"connection_id":159566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":159566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:32:52] local.INFO: TCP Data received {"connection_id":159567,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:32:52] local.INFO: Processing buffer {"connection_id":159567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:32:52] local.INFO: IMEI packet received {"connection_id":159567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":159567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:32:53] local.INFO: TCP Data received {"connection_id":162144,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:32:53] local.INFO: Processing buffer {"connection_id":162144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:32:53] local.INFO: IMEI packet received {"connection_id":162144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":162144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:32:55] local.INFO: TCP Data received {"connection_id":159566,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:32:55] local.INFO: Processing buffer {"connection_id":159566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:32:55] local.INFO: IMEI packet received {"connection_id":159566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":159566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:32:56] local.INFO: TCP Data received {"connection_id":159566,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:32:56] local.INFO: Processing buffer {"connection_id":159566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:32:56] local.INFO: Packet analysis {"connection_id":159566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:32:56] local.INFO: Extracted packet for processing {"connection_id":159566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565101056001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32: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-22 07:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787363977000,"timestamp_ms":1787363977000,"timestamp_seconds":1787363977,"priority":1,"record_length":96,"hex_timestamp":"000001a02731e728"} 
[2026-08-22 07: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-22 07:32:56] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565101056001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565101056001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:32:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565101056001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":159566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:32:56] local.INFO: GPS data processed {"connection_id":159566,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:32:56] local.INFO: Acknowledgment sent {"connection_id":159566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:32:56] local.INFO: TCP Data received {"connection_id":159567,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:32:56] local.INFO: Processing buffer {"connection_id":159567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:32:56] local.INFO: IMEI packet received {"connection_id":159567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":159567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:32:57] local.INFO: TCP Data received {"connection_id":162144,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:32:57] local.INFO: Processing buffer {"connection_id":162144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:32:57] local.INFO: IMEI packet received {"connection_id":162144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":162144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:32:57] local.INFO: TCP Data received {"connection_id":162144,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02731cfb8012d196940071fedd8003e011c23..."} 
[2026-08-22 07:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02731cfb8012d196940071fedd8003e011c23..."} 
[2026-08-22 07:32:57] local.INFO: Processing buffer {"connection_id":162144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02731cfb8012d196940071fedd8003e011c23..."} 
[2026-08-22 07:32:57] local.INFO: Packet analysis {"connection_id":162144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:32:57] local.INFO: Extracted packet for processing {"connection_id":162144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:32:57] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565171200001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:32: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-22 07:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787363971000,"timestamp_ms":1787363971000,"timestamp_seconds":1787363971,"priority":1,"record_length":96,"hex_timestamp":"000001a02731cfb8"} 
[2026-08-22 07: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-22 07:32:57] 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-22 07: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 07:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:32:57] 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-22 07:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565171200001,"66":12428,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565171200001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:32:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:32:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565171200001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":162144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:32:58] local.INFO: GPS data processed {"connection_id":162144,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:32:58] local.INFO: Acknowledgment sent {"connection_id":162144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:32:59] local.INFO: TCP Data received {"connection_id":159567,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:32:59] local.INFO: Processing buffer {"connection_id":159567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:32:59] local.INFO: IMEI packet received {"connection_id":159567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":159567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:33:00] local.INFO: TCP Data received {"connection_id":159567,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027342948012d82cd8005d686200008012828..."} 
[2026-08-22 07:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027342948012d82cd8005d686200008012828..."} 
[2026-08-22 07:33:00] local.INFO: Processing buffer {"connection_id":159567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027342948012d82cd8005d686200008012828..."} 
[2026-08-22 07:33:00] local.INFO: Packet analysis {"connection_id":159567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02734"} 
[2026-08-22 07:33:00] local.INFO: Extracted packet for processing {"connection_id":159567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02734"} 
[2026-08-22 07:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763547008,"raw_latitude":97945120,"longitude_deg":76.3547008,"latitude_deg":9.794512,"altitude":8,"angle":296,"satellites":40,"speed":3,"hex_longitude":"2d82cd80","hex_latitude":"05d68620","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565212416001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122176838725271552,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020569291060848640,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33:00] 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-22 07:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787364125000,"timestamp_ms":1787364125000,"timestamp_seconds":1787364125,"priority":1,"record_length":96,"hex_timestamp":"000001a027342948"} 
[2026-08-22 07: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-22 07:33:00] 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-22 07: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-22 07:33:00] 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-22 07: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-22 07: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-22 07:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:33:00] 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-22 07:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565212416001,"66":12841,"156":206,"85":15104,"24":3,"16":122176838725271552,"45":-9020569291060848640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-22 07:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565212416001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:33:00] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-22 07:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122176838725271552,"km_value":122176838725271.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020569291060848640,"description":"Unknown IO ID 45"} 
[2026-08-22 07:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565212416001,"power":12841,"unknown_156":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":-9020569291060848640}} 
[2026-08-22 07:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":159567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:33:00] local.INFO: GPS data processed {"connection_id":159567,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:33:00] local.INFO: Acknowledgment sent {"connection_id":159567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:33:27] local.INFO: TCP Data received {"connection_id":159566,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:33:27] local.INFO: Processing buffer {"connection_id":159566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:33:27] local.INFO: Packet analysis {"connection_id":159566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:33:27] local.INFO: Extracted packet for processing {"connection_id":159566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565101056001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33: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-22 07:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787363977000,"timestamp_ms":1787363977000,"timestamp_seconds":1787363977,"priority":1,"record_length":96,"hex_timestamp":"000001a02731e728"} 
[2026-08-22 07:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:33:27] 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-22 07:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565101056001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565101056001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:33:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565101056001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":159566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:33:27] local.INFO: GPS data processed {"connection_id":159566,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:33:27] local.INFO: Acknowledgment sent {"connection_id":159566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:33:29] local.INFO: TCP Data received {"connection_id":162144,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273221c0012d196940071fedd8003e011c24..."} 
[2026-08-22 07:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273221c0012d196940071fedd8003e011c24..."} 
[2026-08-22 07:33:29] local.INFO: Processing buffer {"connection_id":162144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273221c0012d196940071fedd8003e011c24..."} 
[2026-08-22 07:33:29] local.INFO: Packet analysis {"connection_id":162144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02732"} 
[2026-08-22 07:33:29] local.INFO: Extracted packet for processing {"connection_id":162144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02732"} 
[2026-08-22 07:33:29] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07:33: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-22 07:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565176576001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787363992000,"timestamp_ms":1787363992000,"timestamp_seconds":1787363992,"priority":1,"record_length":96,"hex_timestamp":"000001a0273221c0"} 
[2026-08-22 07:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:33:29] 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-22 07:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 07:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:33: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-22 07:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:33:29] 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-22 07:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565176576001,"66":12428,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565176576001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:33:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:33:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565176576001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":162144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:33:29] local.INFO: GPS data processed {"connection_id":162144,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:33:29] local.INFO: Acknowledgment sent {"connection_id":162144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:33:31] local.INFO: TCP Data received {"connection_id":159567,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0273536d0012d82a54005d78130000c016421..."} 
[2026-08-22 07:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273536d0012d82a54005d78130000c016421..."} 
[2026-08-22 07:33:31] local.INFO: Processing buffer {"connection_id":159567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273536d0012d82a54005d78130000c016421..."} 
[2026-08-22 07:33:31] local.INFO: Packet analysis {"connection_id":159567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02735"} 
[2026-08-22 07:33:31] local.INFO: Extracted packet for processing {"connection_id":159567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02735"} 
[2026-08-22 07:33:31] local.INFO: GPS Element Parsed {"raw_longitude":763536704,"raw_latitude":98009392,"longitude_deg":76.3536704,"latitude_deg":9.8009392,"altitude":12,"angle":356,"satellites":33,"speed":52,"hex_longitude":"2d82a540","hex_latitude":"05d78130","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565231616001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122180090015514624,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031757921371160576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787364194000,"timestamp_ms":1787364194000,"timestamp_seconds":1787364194,"priority":1,"record_length":96,"hex_timestamp":"000001a0273536d0"} 
[2026-08-22 07: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-22 07:33:31] 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-22 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-22 07:33:31] 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-22 07: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-22 07: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-22 07:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:33:31] 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-22 07:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565231616001,"66":13319,"155":206,"85":15104,"24":52,"16":122180090015514624,"45":-9031757921371160576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-22 07:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565231616001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:33:31] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-22 07:33:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122180090015514624,"km_value":122180090015514.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031757921371160576,"description":"Unknown IO ID 45"} 
[2026-08-22 07:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565231616001,"power":13319,"unknown_155":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":-9031757921371160576}} 
[2026-08-22 07:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":159567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:33:31] local.INFO: GPS data processed {"connection_id":159567,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:33:31] local.INFO: Acknowledgment sent {"connection_id":159567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:33:49] local.INFO: TCP Data received {"connection_id":159823,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:33:49] local.INFO: Processing buffer {"connection_id":159823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:33:49] local.INFO: IMEI packet received {"connection_id":159823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":159823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:33:53] local.INFO: TCP Data received {"connection_id":160726,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:33:53] local.INFO: Processing buffer {"connection_id":160726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:33:53] local.INFO: IMEI packet received {"connection_id":160726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":160726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:33:54] local.INFO: TCP Data received {"connection_id":159568,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:33:54] local.INFO: Processing buffer {"connection_id":159568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:33:54] local.INFO: IMEI packet received {"connection_id":159568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":159568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:33:55] local.INFO: TCP Data received {"connection_id":159823,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:33:55] local.INFO: Processing buffer {"connection_id":159823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:33:55] local.INFO: IMEI packet received {"connection_id":159823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":159823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:33:55] local.INFO: TCP Data received {"connection_id":159823,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:33:55] local.INFO: Processing buffer {"connection_id":159823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:33:55] local.INFO: Packet analysis {"connection_id":159823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:33:55] local.INFO: Extracted packet for processing {"connection_id":159823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565101056001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33: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-22 07:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787363977000,"timestamp_ms":1787363977000,"timestamp_seconds":1787363977,"priority":1,"record_length":96,"hex_timestamp":"000001a02731e728"} 
[2026-08-22 07: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-22 07:33:55] 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-22 07:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565101056001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565101056001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:33:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565101056001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":159823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:33:56] local.INFO: GPS data processed {"connection_id":159823,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:33:56] local.INFO: Acknowledgment sent {"connection_id":159823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:33:57] local.INFO: TCP Data received {"connection_id":159568,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:33:57] local.INFO: Processing buffer {"connection_id":159568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:33:57] local.INFO: IMEI packet received {"connection_id":159568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":159568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:33:59] local.INFO: TCP Data received {"connection_id":160726,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:33:59] local.INFO: Processing buffer {"connection_id":160726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:33:59] local.INFO: IMEI packet received {"connection_id":160726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":160726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:33:59] local.INFO: TCP Data received {"connection_id":160726,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273273c8012d196940071fedd8003e011c24..."} 
[2026-08-22 07:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273273c8012d196940071fedd8003e011c24..."} 
[2026-08-22 07:33:59] local.INFO: Processing buffer {"connection_id":160726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273273c8012d196940071fedd8003e011c24..."} 
[2026-08-22 07:33:59] local.INFO: Packet analysis {"connection_id":160726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02732"} 
[2026-08-22 07:33:59] local.INFO: Extracted packet for processing {"connection_id":160726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02732"} 
[2026-08-22 07:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565181952001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:33: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-22 07:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787364013000,"timestamp_ms":1787364013000,"timestamp_seconds":1787364013,"priority":1,"record_length":96,"hex_timestamp":"000001a0273273c8"} 
[2026-08-22 07: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-22 07:33:59] 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-22 07: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 07:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:33:59] 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-22 07:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565181952001,"66":12428,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565181952001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:33:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:33:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565181952001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":160726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:33:59] local.INFO: GPS data processed {"connection_id":160726,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:33:59] local.INFO: Acknowledgment sent {"connection_id":160726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:34:01] local.INFO: TCP Data received {"connection_id":159568,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:34:01] local.INFO: Processing buffer {"connection_id":159568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:34:01] local.INFO: IMEI packet received {"connection_id":159568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":159568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:34:02] local.INFO: TCP Data received {"connection_id":159568,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027355228012d82a28005d7a5d0000c016323..."} 
[2026-08-22 07:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027355228012d82a28005d7a5d0000c016323..."} 
[2026-08-22 07:34:02] local.INFO: Processing buffer {"connection_id":159568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027355228012d82a28005d7a5d0000c016323..."} 
[2026-08-22 07:34:02] local.INFO: Packet analysis {"connection_id":159568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02735"} 
[2026-08-22 07:34:02] local.INFO: Extracted packet for processing {"connection_id":159568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02735"} 
[2026-08-22 07:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763536000,"raw_latitude":98018768,"longitude_deg":76.3536,"latitude_deg":9.8018768,"altitude":12,"angle":355,"satellites":35,"speed":52,"hex_longitude":"2d82a280","hex_latitude":"05d7a5d0","is_valid_coordinates":true} 
[2026-08-22 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-22 07:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565233664001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122180545282048000,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032743083787079680,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787364201000,"timestamp_ms":1787364201000,"timestamp_seconds":1787364201,"priority":1,"record_length":96,"hex_timestamp":"000001a027355228"} 
[2026-08-22 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-22 07:34:02] 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-22 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-22 07:34:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2193080325,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:02] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57885559184315707,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:02] local.WARNING: Large IO value detected {"io_id":214,"raw_value":-6989586578706323712,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-08-22 07:34:02] local.WARNING: Large IO value detected {"io_id":150,"raw_value":2818649474,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2885733798,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3601209344,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:02] local.WARNING: Large IO value detected {"io_id":52,"raw_value":7759703452937601029,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:02] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,155,85,24,241,157,16,18,160,23,45,192,90,12,32,10,66,17,248,64,53,37,156,220,1,240,46,227,39,214,4,113,205,40,150,186,48,239,50,2,178,5,36,52],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-08-22 07:34:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865082696331952128,"timestamp_seconds":865082696331952.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 07:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:34:02] 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-22 07:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565233664001,"66":13352,"155":206,"85":15104,"24":52,"16":122180545282048000,"45":-9032743083787079680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-22 07:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565233664001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:34:02] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-22 07:34:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122180545282048000,"km_value":122180545282048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032743083787079680,"description":"Unknown IO ID 45"} 
[2026-08-22 07:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565233664001,"power":13352,"unknown_155":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":-9032743083787079680}} 
[2026-08-22 07:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":159568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:34:02] local.INFO: GPS data processed {"connection_id":159568,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:34:02] local.INFO: Acknowledgment sent {"connection_id":159568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:34:27] local.INFO: TCP Data received {"connection_id":159823,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:34:27] local.INFO: Processing buffer {"connection_id":159823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02731e728012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 07:34:27] local.INFO: Packet analysis {"connection_id":159823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:34:27] local.INFO: Extracted packet for processing {"connection_id":159823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02731"} 
[2026-08-22 07:34:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565101056001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34: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-22 07:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787363977000,"timestamp_ms":1787363977000,"timestamp_seconds":1787363977,"priority":1,"record_length":96,"hex_timestamp":"000001a02731e728"} 
[2026-08-22 07: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-22 07:34:27] 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-22 07:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565101056001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565101056001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:34:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:34:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565101056001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":159823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:34:27] local.INFO: GPS data processed {"connection_id":159823,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:34:27] local.INFO: Acknowledgment sent {"connection_id":159823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:34:31] local.INFO: TCP Data received {"connection_id":160726,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02732c5d0012d196940071fedd8003e011c23..."} 
[2026-08-22 07:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02732c5d0012d196940071fedd8003e011c23..."} 
[2026-08-22 07:34:31] local.INFO: Processing buffer {"connection_id":160726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02732c5d0012d196940071fedd8003e011c23..."} 
[2026-08-22 07:34:31] local.INFO: Packet analysis {"connection_id":160726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02732"} 
[2026-08-22 07:34:31] local.INFO: Extracted packet for processing {"connection_id":160726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02732"} 
[2026-08-22 07:34:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565187328001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787364034000,"timestamp_ms":1787364034000,"timestamp_seconds":1787364034,"priority":1,"record_length":96,"hex_timestamp":"000001a02732c5d0"} 
[2026-08-22 07: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-22 07:34:31] 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-22 07: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 07:34:31] 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-22 07: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-22 07: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-22 07:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:34:31] 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-22 07:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565187328001,"66":12428,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565187328001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:34:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:34:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565187328001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":160726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:34:31] local.INFO: GPS data processed {"connection_id":160726,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:34:31] local.INFO: Acknowledgment sent {"connection_id":160726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:34:37] local.INFO: TCP Data received {"connection_id":159568,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027357168012d82a00005d7cc48000b016224..."} 
[2026-08-22 07:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027357168012d82a00005d7cc48000b016224..."} 
[2026-08-22 07:34:37] local.INFO: Processing buffer {"connection_id":159568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027357168012d82a00005d7cc48000b016224..."} 
[2026-08-22 07:34:37] local.INFO: Packet analysis {"connection_id":159568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02735"} 
[2026-08-22 07:34:37] local.INFO: Extracted packet for processing {"connection_id":159568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02735"} 
[2026-08-22 07:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763535360,"raw_latitude":98028616,"longitude_deg":76.353536,"latitude_deg":9.8028616,"altitude":11,"angle":354,"satellites":36,"speed":45,"hex_longitude":"2d82a000","hex_latitude":"05d7cc48","is_valid_coordinates":true} 
[2026-08-22 07:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565235456001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122181022023417856,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033517139970633728,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787364209000,"timestamp_ms":1787364209000,"timestamp_seconds":1787364209,"priority":1,"record_length":96,"hex_timestamp":"000001a027357168"} 
[2026-08-22 07:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:34:37] 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-22 07:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-22 07:34:37] 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-22 07:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:34:37] 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-22 07:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565235456001,"66":12722,"155":206,"85":15104,"24":45,"16":122181022023417856,"45":-9033517139970633728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-22 07:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565235456001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:34:37] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-22 07:34:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122181022023417856,"km_value":122181022023417.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033517139970633728,"description":"Unknown IO ID 45"} 
[2026-08-22 07:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565235456001,"power":12722,"unknown_155":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9033517139970633728}} 
[2026-08-22 07:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":159568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:34:37] local.INFO: GPS data processed {"connection_id":159568,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:34:37] local.INFO: Acknowledgment sent {"connection_id":159568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:34:49] local.INFO: TCP Data received {"connection_id":159824,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:34:49] local.INFO: Processing buffer {"connection_id":159824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:34:49] local.INFO: IMEI packet received {"connection_id":159824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":159824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:34:53] local.INFO: TCP Data received {"connection_id":159825,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:34:53] local.INFO: Processing buffer {"connection_id":159825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:34:53] local.INFO: IMEI packet received {"connection_id":159825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":159825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:34:55] local.INFO: TCP Data received {"connection_id":159824,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:34:55] local.INFO: Processing buffer {"connection_id":159824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:34:55] local.INFO: IMEI packet received {"connection_id":159824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":159824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:34:56] local.INFO: TCP Data received {"connection_id":159824,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:34:56] local.INFO: Processing buffer {"connection_id":159824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:34:56] local.INFO: Packet analysis {"connection_id":159824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:34:56] local.INFO: Extracted packet for processing {"connection_id":159824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565178112001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34: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-22 07:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787364273000,"timestamp_ms":1787364273000,"timestamp_seconds":1787364273,"priority":1,"record_length":96,"hex_timestamp":"000001a027366b68"} 
[2026-08-22 07: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-22 07:34:56] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565178112001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565178112001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:34:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565178112001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":159824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:34:56] local.INFO: GPS data processed {"connection_id":159824,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:34:56] local.INFO: Acknowledgment sent {"connection_id":159824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:34:57] local.INFO: TCP Data received {"connection_id":159826,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:34:57] local.INFO: Processing buffer {"connection_id":159826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:34:57] local.INFO: IMEI packet received {"connection_id":159826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":159826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:34:57] local.INFO: TCP Data received {"connection_id":159826,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:34:57] local.INFO: Processing buffer {"connection_id":159826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:34:57] local.INFO: IMEI packet received {"connection_id":159826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":159826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:34:59] local.INFO: TCP Data received {"connection_id":159825,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:34:59] local.INFO: Processing buffer {"connection_id":159825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:34:59] local.INFO: IMEI packet received {"connection_id":159825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":159825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:34:59] local.INFO: TCP Data received {"connection_id":159825,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273317d8012d196940071fedd8003e011c23..."} 
[2026-08-22 07:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273317d8012d196940071fedd8003e011c23..."} 
[2026-08-22 07:34:59] local.INFO: Processing buffer {"connection_id":159825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273317d8012d196940071fedd8003e011c23..."} 
[2026-08-22 07:34:59] local.INFO: Packet analysis {"connection_id":159825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02733"} 
[2026-08-22 07:34:59] local.INFO: Extracted packet for processing {"connection_id":159825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02733"} 
[2026-08-22 07:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565192704001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:34: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-22 07:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787364055000,"timestamp_ms":1787364055000,"timestamp_seconds":1787364055,"priority":1,"record_length":96,"hex_timestamp":"000001a0273317d8"} 
[2026-08-22 07: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-22 07:34:59] 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-22 07: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 07:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:34:59] 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-22 07:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565192704001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565192704001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:34:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:34:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565192704001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":159825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:35:00] local.INFO: GPS data processed {"connection_id":159825,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:35:00] local.INFO: Acknowledgment sent {"connection_id":159825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:35:01] local.INFO: TCP Data received {"connection_id":159826,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:35:01] local.INFO: Processing buffer {"connection_id":159826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:35:01] local.INFO: IMEI packet received {"connection_id":159826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":159826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:35:02] local.INFO: TCP Data received {"connection_id":159826,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0273590a8012d829f0005d7ef18000a016624..."} 
[2026-08-22 07:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273590a8012d829f0005d7ef18000a016624..."} 
[2026-08-22 07:35:02] local.INFO: Processing buffer {"connection_id":159826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273590a8012d829f0005d7ef18000a016624..."} 
[2026-08-22 07:35:02] local.INFO: Packet analysis {"connection_id":159826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02735"} 
[2026-08-22 07:35:02] local.INFO: Extracted packet for processing {"connection_id":159826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02735"} 
[2026-08-22 07:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763535104,"raw_latitude":98037528,"longitude_deg":76.3535104,"latitude_deg":9.8037528,"altitude":10,"angle":358,"satellites":36,"speed":46,"hex_longitude":"2d829f00","hex_latitude":"05d7ef18","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565237504001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122181455815114752,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034220827409889280,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787364217000,"timestamp_ms":1787364217000,"timestamp_seconds":1787364217,"priority":1,"record_length":96,"hex_timestamp":"000001a0273590a8"} 
[2026-08-22 07: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-22 07:35:02] 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-22 07: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 07:35:02] 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-22 07: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-22 07: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-22 07:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:35:02] 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-22 07:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565237504001,"66":12798,"155":206,"85":15104,"24":46,"16":122181455815114752,"45":-9034220827409889280},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-22 07:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565237504001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:35:02] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-22 07:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122181455815114752,"km_value":122181455815114.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034220827409889280,"description":"Unknown IO ID 45"} 
[2026-08-22 07:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565237504001,"power":12798,"unknown_155":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9034220827409889280}} 
[2026-08-22 07:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":159826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:35:02] local.INFO: GPS data processed {"connection_id":159826,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:35:02] local.INFO: Acknowledgment sent {"connection_id":159826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:35:27] local.INFO: TCP Data received {"connection_id":159824,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:35:27] local.INFO: Processing buffer {"connection_id":159824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:35:27] local.INFO: Packet analysis {"connection_id":159824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:35:27] local.INFO: Extracted packet for processing {"connection_id":159824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565178112001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35: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-22 07:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787364273000,"timestamp_ms":1787364273000,"timestamp_seconds":1787364273,"priority":1,"record_length":96,"hex_timestamp":"000001a027366b68"} 
[2026-08-22 07:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:35:27] 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-22 07:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565178112001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565178112001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:35:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:35:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565178112001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":159824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:35:27] local.INFO: GPS data processed {"connection_id":159824,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:35:27] local.INFO: Acknowledgment sent {"connection_id":159824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:35:31] local.INFO: TCP Data received {"connection_id":159825,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273369e0012d196940071fedd8003e011c23..."} 
[2026-08-22 07:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273369e0012d196940071fedd8003e011c23..."} 
[2026-08-22 07:35:31] local.INFO: Processing buffer {"connection_id":159825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273369e0012d196940071fedd8003e011c23..."} 
[2026-08-22 07:35:31] local.INFO: Packet analysis {"connection_id":159825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02733"} 
[2026-08-22 07:35:31] local.INFO: Extracted packet for processing {"connection_id":159825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02733"} 
[2026-08-22 07:35:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565198080001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787364076000,"timestamp_ms":1787364076000,"timestamp_seconds":1787364076,"priority":1,"record_length":96,"hex_timestamp":"000001a0273369e0"} 
[2026-08-22 07: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-22 07:35:31] 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-22 07: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 07:35:31] 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-22 07: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-22 07: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-22 07:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:35:31] 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-22 07:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565198080001,"66":12374,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565198080001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:35:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:35:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565198080001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":159825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:35:31] local.INFO: GPS data processed {"connection_id":159825,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:35:31] local.INFO: Acknowledgment sent {"connection_id":159825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:35:34] local.INFO: TCP Data received {"connection_id":159826,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02736fbf0012d82580005d98b00000b015c27..."} 
[2026-08-22 07:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02736fbf0012d82580005d98b00000b015c27..."} 
[2026-08-22 07:35:34] local.INFO: Processing buffer {"connection_id":159826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02736fbf0012d82580005d98b00000b015c27..."} 
[2026-08-22 07:35:34] local.INFO: Packet analysis {"connection_id":159826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:35:34] local.INFO: Extracted packet for processing {"connection_id":159826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763516928,"raw_latitude":98142976,"longitude_deg":76.3516928,"latitude_deg":9.8142976,"altitude":11,"angle":348,"satellites":39,"speed":50,"hex_longitude":"2d825800","hex_latitude":"05d98b00","is_valid_coordinates":true} 
[2026-08-22 07:35: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-22 07:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565261568001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122186695675215872,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9052305594636511232,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787364310000,"timestamp_ms":1787364310000,"timestamp_seconds":1787364310,"priority":1,"record_length":96,"hex_timestamp":"000001a02736fbf0"} 
[2026-08-22 07:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:35:34] 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-22 07:35: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-22 07:35:34] 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-22 07:35: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-22 07:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:35:34] 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-22 07:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565261568001,"66":13276,"70":206,"85":15104,"24":50,"16":122186695675215872,"45":-9052305594636511232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,85,24,16,45]} 
[2026-08-22 07:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565261568001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:35:34] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-22 07:35:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122186695675215872,"km_value":122186695675215.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9052305594636511232,"description":"Unknown IO ID 45"} 
[2026-08-22 07:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565261568001,"power":13276,"unknown_70":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-9052305594636511232}} 
[2026-08-22 07:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":159826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:35:34] local.INFO: GPS data processed {"connection_id":159826,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:35:34] local.INFO: Acknowledgment sent {"connection_id":159826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:35:49] local.INFO: TCP Data received {"connection_id":162145,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:35:49] local.INFO: Processing buffer {"connection_id":162145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:35:49] local.INFO: IMEI packet received {"connection_id":162145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":162145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:35:54] local.INFO: TCP Data received {"connection_id":160727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:35:54] local.INFO: Processing buffer {"connection_id":160727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:35:54] local.INFO: IMEI packet received {"connection_id":160727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":160727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:35:55] local.INFO: TCP Data received {"connection_id":162145,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:35:55] local.INFO: Processing buffer {"connection_id":162145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:35:55] local.INFO: IMEI packet received {"connection_id":162145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":162145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:35:56] local.INFO: TCP Data received {"connection_id":162145,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:35:56] local.INFO: Processing buffer {"connection_id":162145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:35:56] local.INFO: Packet analysis {"connection_id":162145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:35:56] local.INFO: Extracted packet for processing {"connection_id":162145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565178112001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35: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-22 07:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787364273000,"timestamp_ms":1787364273000,"timestamp_seconds":1787364273,"priority":1,"record_length":96,"hex_timestamp":"000001a027366b68"} 
[2026-08-22 07: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-22 07:35:56] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565178112001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565178112001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:35:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565178112001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":162145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:35:56] local.INFO: GPS data processed {"connection_id":162145,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:35:56] local.INFO: Acknowledgment sent {"connection_id":162145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:35:59] local.INFO: TCP Data received {"connection_id":160727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:35:59] local.INFO: Processing buffer {"connection_id":160727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:35:59] local.INFO: IMEI packet received {"connection_id":160727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":160727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:35:59] local.INFO: TCP Data received {"connection_id":160727,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02733bbe8012d196940071fedd8003e011c25..."} 
[2026-08-22 07:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02733bbe8012d196940071fedd8003e011c25..."} 
[2026-08-22 07:35:59] local.INFO: Processing buffer {"connection_id":160727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02733bbe8012d196940071fedd8003e011c25..."} 
[2026-08-22 07:35:59] local.INFO: Packet analysis {"connection_id":160727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02733"} 
[2026-08-22 07:35:59] local.INFO: Extracted packet for processing {"connection_id":160727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02733"} 
[2026-08-22 07:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565203456001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:35: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-22 07:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787364097000,"timestamp_ms":1787364097000,"timestamp_seconds":1787364097,"priority":1,"record_length":96,"hex_timestamp":"000001a02733bbe8"} 
[2026-08-22 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-22 07:35:59] 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-22 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 07:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:35:59] 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-22 07:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565203456001,"66":12374,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565203456001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:35:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:35:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565203456001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":160727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:35:59] local.INFO: GPS data processed {"connection_id":160727,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:35:59] local.INFO: Acknowledgment sent {"connection_id":160727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:36:06] local.INFO: TCP Data received {"connection_id":159827,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:36:06] local.INFO: Processing buffer {"connection_id":159827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:36:06] local.INFO: IMEI packet received {"connection_id":159827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":159827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:36:06] local.INFO: TCP Data received {"connection_id":159827,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:36:06] local.INFO: Processing buffer {"connection_id":159827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:36:06] local.INFO: IMEI packet received {"connection_id":159827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":159827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:36:07] local.INFO: TCP Data received {"connection_id":159827,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:36:07] local.INFO: Processing buffer {"connection_id":159827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:36:07] local.INFO: IMEI packet received {"connection_id":159827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":159827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:36:08] local.INFO: TCP Data received {"connection_id":159827,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:36:08] local.INFO: Processing buffer {"connection_id":159827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:36:08] local.INFO: IMEI packet received {"connection_id":159827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":159827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:36:27] local.INFO: TCP Data received {"connection_id":162145,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:36:27] local.INFO: Processing buffer {"connection_id":162145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:36:27] local.INFO: Packet analysis {"connection_id":162145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:36:27] local.INFO: Extracted packet for processing {"connection_id":162145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565178112001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:36: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-22 07:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787364273000,"timestamp_ms":1787364273000,"timestamp_seconds":1787364273,"priority":1,"record_length":96,"hex_timestamp":"000001a027366b68"} 
[2026-08-22 07: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-22 07:36:27] 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-22 07:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565178112001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565178112001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:36:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565178112001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":162145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:36:27] local.INFO: GPS data processed {"connection_id":162145,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:36:27] local.INFO: Acknowledgment sent {"connection_id":162145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:36:31] local.INFO: TCP Data received {"connection_id":160727,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027340df0012d196940071fedd8003e011c25..."} 
[2026-08-22 07:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027340df0012d196940071fedd8003e011c25..."} 
[2026-08-22 07:36:31] local.INFO: Processing buffer {"connection_id":160727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027340df0012d196940071fedd8003e011c25..."} 
[2026-08-22 07:36:31] local.INFO: Packet analysis {"connection_id":160727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02734"} 
[2026-08-22 07:36:31] local.INFO: Extracted packet for processing {"connection_id":160727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02734"} 
[2026-08-22 07:36:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565208832001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787364118000,"timestamp_ms":1787364118000,"timestamp_seconds":1787364118,"priority":1,"record_length":96,"hex_timestamp":"000001a027340df0"} 
[2026-08-22 07: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-22 07:36:31] 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-22 07: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 07:36:31] 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-22 07: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-22 07: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-22 07:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:36:31] 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-22 07:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565208832001,"66":12363,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565208832001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:36:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:36:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565208832001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":160727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:36:31] local.INFO: GPS data processed {"connection_id":160727,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:36:31] local.INFO: Acknowledgment sent {"connection_id":160727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:36:49] local.INFO: TCP Data received {"connection_id":159828,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:36:49] local.INFO: Processing buffer {"connection_id":159828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:36:49] local.INFO: IMEI packet received {"connection_id":159828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":159828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:36:53] local.INFO: TCP Data received {"connection_id":159569,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:36:53] local.INFO: Processing buffer {"connection_id":159569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:36:53] local.INFO: IMEI packet received {"connection_id":159569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":159569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:36:55] local.INFO: TCP Data received {"connection_id":159828,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:36:55] local.INFO: Processing buffer {"connection_id":159828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:36:55] local.INFO: IMEI packet received {"connection_id":159828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":159828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:36:56] local.INFO: TCP Data received {"connection_id":159828,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:36:56] local.INFO: Processing buffer {"connection_id":159828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:36:56] local.INFO: Packet analysis {"connection_id":159828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:36:56] local.INFO: Extracted packet for processing {"connection_id":159828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565178112001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:36: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-22 07:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787364273000,"timestamp_ms":1787364273000,"timestamp_seconds":1787364273,"priority":1,"record_length":96,"hex_timestamp":"000001a027366b68"} 
[2026-08-22 07: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-22 07:36:56] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565178112001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565178112001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:36:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565178112001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":159828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:36:56] local.INFO: GPS data processed {"connection_id":159828,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:36:56] local.INFO: Acknowledgment sent {"connection_id":159828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:36:59] local.INFO: TCP Data received {"connection_id":159569,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:36:59] local.INFO: Processing buffer {"connection_id":159569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:36:59] local.INFO: IMEI packet received {"connection_id":159569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":159569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:36:59] local.INFO: TCP Data received {"connection_id":159569,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027345ff8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027345ff8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:36:59] local.INFO: Processing buffer {"connection_id":159569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027345ff8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:36:59] local.INFO: Packet analysis {"connection_id":159569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02734"} 
[2026-08-22 07:36:59] local.INFO: Extracted packet for processing {"connection_id":159569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02734"} 
[2026-08-22 07:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565214208001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:36: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-22 07:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787364139000,"timestamp_ms":1787364139000,"timestamp_seconds":1787364139,"priority":1,"record_length":96,"hex_timestamp":"000001a027345ff8"} 
[2026-08-22 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-22 07:36:59] 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-22 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-22 07:36:59] 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-22 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-22 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-22 07:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:36:59] 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-22 07:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565214208001,"66":12406,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565214208001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:36:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:36:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565214208001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":159569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:37:00] local.INFO: GPS data processed {"connection_id":159569,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:37:00] local.INFO: Acknowledgment sent {"connection_id":159569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:37:27] local.INFO: TCP Data received {"connection_id":159828,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:37:27] local.INFO: Processing buffer {"connection_id":159828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:37:27] local.INFO: Packet analysis {"connection_id":159828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:37:27] local.INFO: Extracted packet for processing {"connection_id":159828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565178112001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:37: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-22 07:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787364273000,"timestamp_ms":1787364273000,"timestamp_seconds":1787364273,"priority":1,"record_length":96,"hex_timestamp":"000001a027366b68"} 
[2026-08-22 07: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-22 07:37:27] 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-22 07:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565178112001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565178112001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:37:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565178112001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":159828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:37:27] local.INFO: GPS data processed {"connection_id":159828,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:37:27] local.INFO: Acknowledgment sent {"connection_id":159828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:37:30] local.INFO: TCP Data received {"connection_id":159569,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02737e268012d196940071fedd8003e011c26..."} 
[2026-08-22 07:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02737e268012d196940071fedd8003e011c26..."} 
[2026-08-22 07:37:30] local.INFO: Processing buffer {"connection_id":159569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02737e268012d196940071fedd8003e011c26..."} 
[2026-08-22 07:37:30] local.INFO: Packet analysis {"connection_id":159569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02737"} 
[2026-08-22 07:37:30] local.INFO: Extracted packet for processing {"connection_id":159569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02737"} 
[2026-08-22 07:37:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565273344001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:37: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-22 07:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787364369000,"timestamp_ms":1787364369000,"timestamp_seconds":1787364369,"priority":1,"record_length":96,"hex_timestamp":"000001a02737e268"} 
[2026-08-22 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-22 07:37: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-22 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 07:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:37:30] 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-22 07:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565273344001,"66":12374,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565273344001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:37:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:37:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565273344001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":159569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:37:30] local.INFO: GPS data processed {"connection_id":159569,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:37:30] local.INFO: Acknowledgment sent {"connection_id":159569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:37:49] local.INFO: TCP Data received {"connection_id":159571,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:37:49] local.INFO: Processing buffer {"connection_id":159571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:37:49] local.INFO: IMEI packet received {"connection_id":159571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":159571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:37:53] local.INFO: TCP Data received {"connection_id":159829,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:37:53] local.INFO: Processing buffer {"connection_id":159829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:37:53] local.INFO: IMEI packet received {"connection_id":159829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":159829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:37:55] local.INFO: TCP Data received {"connection_id":159571,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:37:55] local.INFO: Processing buffer {"connection_id":159571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:37:55] local.INFO: IMEI packet received {"connection_id":159571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":159571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:37:55] local.INFO: TCP Data received {"connection_id":159571,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:37:55] local.INFO: Processing buffer {"connection_id":159571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:37:55] local.INFO: Packet analysis {"connection_id":159571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:37:55] local.INFO: Extracted packet for processing {"connection_id":159571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565178112001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:37: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-22 07:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787364273000,"timestamp_ms":1787364273000,"timestamp_seconds":1787364273,"priority":1,"record_length":96,"hex_timestamp":"000001a027366b68"} 
[2026-08-22 07:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:37:55] 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-22 07:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565178112001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565178112001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:37:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:37:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565178112001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":159571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:37:56] local.INFO: GPS data processed {"connection_id":159571,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:37:56] local.INFO: Acknowledgment sent {"connection_id":159571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:37:59] local.INFO: TCP Data received {"connection_id":159829,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:37:59] local.INFO: Processing buffer {"connection_id":159829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:37:59] local.INFO: IMEI packet received {"connection_id":159829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":159829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:37:59] local.INFO: TCP Data received {"connection_id":159829,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027383858012d196940071fedd8003e011c21..."} 
[2026-08-22 07:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027383858012d196940071fedd8003e011c21..."} 
[2026-08-22 07:37:59] local.INFO: Processing buffer {"connection_id":159829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027383858012d196940071fedd8003e011c21..."} 
[2026-08-22 07:37:59] local.INFO: Packet analysis {"connection_id":159829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02738"} 
[2026-08-22 07:37:59] local.INFO: Extracted packet for processing {"connection_id":159829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02738"} 
[2026-08-22 07:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565278464001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:37: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-22 07:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787364391000,"timestamp_ms":1787364391000,"timestamp_seconds":1787364391,"priority":1,"record_length":96,"hex_timestamp":"000001a027383858"} 
[2026-08-22 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-22 07:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 07:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:37:59] 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-22 07:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565278464001,"66":12385,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565278464001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:37:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:37:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565278464001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":159829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:38:00] local.INFO: GPS data processed {"connection_id":159829,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:38:00] local.INFO: Acknowledgment sent {"connection_id":159829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:38:27] local.INFO: TCP Data received {"connection_id":159571,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:38:27] local.INFO: Processing buffer {"connection_id":159571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:38:27] local.INFO: Packet analysis {"connection_id":159571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:38:27] local.INFO: Extracted packet for processing {"connection_id":159571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565178112001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:38: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-22 07:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787364273000,"timestamp_ms":1787364273000,"timestamp_seconds":1787364273,"priority":1,"record_length":96,"hex_timestamp":"000001a027366b68"} 
[2026-08-22 07: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-22 07:38:27] 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-22 07:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565178112001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565178112001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:38:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565178112001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":159571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:38:27] local.INFO: GPS data processed {"connection_id":159571,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:38:27] local.INFO: Acknowledgment sent {"connection_id":159571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:38:31] local.INFO: TCP Data received {"connection_id":159829,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027388a60012d196940071fedd8003e011c26..."} 
[2026-08-22 07:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027388a60012d196940071fedd8003e011c26..."} 
[2026-08-22 07:38:31] local.INFO: Processing buffer {"connection_id":159829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027388a60012d196940071fedd8003e011c26..."} 
[2026-08-22 07:38:31] local.INFO: Packet analysis {"connection_id":159829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02738"} 
[2026-08-22 07:38:31] local.INFO: Extracted packet for processing {"connection_id":159829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02738"} 
[2026-08-22 07:38:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565284096001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787364412000,"timestamp_ms":1787364412000,"timestamp_seconds":1787364412,"priority":1,"record_length":96,"hex_timestamp":"000001a027388a60"} 
[2026-08-22 07: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-22 07:38:31] 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-22 07: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 07:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:38:31] 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-22 07:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565284096001,"66":12385,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565284096001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:38:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:38:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565284096001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":159829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:38:31] local.INFO: GPS data processed {"connection_id":159829,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:38:31] local.INFO: Acknowledgment sent {"connection_id":159829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:38:49] local.INFO: TCP Data received {"connection_id":160728,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:38:49] local.INFO: Processing buffer {"connection_id":160728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:38:49] local.INFO: IMEI packet received {"connection_id":160728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":160728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:38:53] local.INFO: TCP Data received {"connection_id":162146,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:38:53] local.INFO: Processing buffer {"connection_id":162146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:38:53] local.INFO: IMEI packet received {"connection_id":162146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":162146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:38:54] local.INFO: TCP Data received {"connection_id":162146,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:38:54] local.INFO: Processing buffer {"connection_id":162146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:38:54] local.INFO: IMEI packet received {"connection_id":162146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":162146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:38:55] local.INFO: TCP Data received {"connection_id":160728,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:38:55] local.INFO: Processing buffer {"connection_id":160728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:38:55] local.INFO: IMEI packet received {"connection_id":160728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":160728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:38:56] local.INFO: TCP Data received {"connection_id":160728,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:38:56] local.INFO: Processing buffer {"connection_id":160728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:38:56] local.INFO: Packet analysis {"connection_id":160728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:38:56] local.INFO: Extracted packet for processing {"connection_id":160728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565178112001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:38: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-22 07:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787364273000,"timestamp_ms":1787364273000,"timestamp_seconds":1787364273,"priority":1,"record_length":96,"hex_timestamp":"000001a027366b68"} 
[2026-08-22 07: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-22 07:38:56] 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-22 07:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565178112001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565178112001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:38:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565178112001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":160728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:38:56] local.INFO: GPS data processed {"connection_id":160728,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:38:56] local.INFO: Acknowledgment sent {"connection_id":160728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:38:59] local.INFO: TCP Data received {"connection_id":162146,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:38:59] local.INFO: Processing buffer {"connection_id":162146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:38:59] local.INFO: IMEI packet received {"connection_id":162146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":162146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:38:59] local.INFO: TCP Data received {"connection_id":162146,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02738dc68012d196940071fedd8003e011c27..."} 
[2026-08-22 07:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02738dc68012d196940071fedd8003e011c27..."} 
[2026-08-22 07:38:59] local.INFO: Processing buffer {"connection_id":162146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02738dc68012d196940071fedd8003e011c27..."} 
[2026-08-22 07:38:59] local.INFO: Packet analysis {"connection_id":162146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02738"} 
[2026-08-22 07:38:59] local.INFO: Extracted packet for processing {"connection_id":162146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02738"} 
[2026-08-22 07:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565289472001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:38: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-22 07:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787364433000,"timestamp_ms":1787364433000,"timestamp_seconds":1787364433,"priority":1,"record_length":96,"hex_timestamp":"000001a02738dc68"} 
[2026-08-22 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-22 07:38:59] 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-22 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 07:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:38:59] 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-22 07:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565289472001,"66":12385,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565289472001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:38:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:38:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565289472001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":162146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:38:59] local.INFO: GPS data processed {"connection_id":162146,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:38:59] local.INFO: Acknowledgment sent {"connection_id":162146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:39:27] local.INFO: TCP Data received {"connection_id":160728,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:39:27] local.INFO: Processing buffer {"connection_id":160728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027366b68012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:39:27] local.INFO: Packet analysis {"connection_id":160728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:39:27] local.INFO: Extracted packet for processing {"connection_id":160728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02736"} 
[2026-08-22 07:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565178112001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:39: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-22 07:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787364273000,"timestamp_ms":1787364273000,"timestamp_seconds":1787364273,"priority":1,"record_length":96,"hex_timestamp":"000001a027366b68"} 
[2026-08-22 07: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-22 07:39:27] 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-22 07:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565178112001,"66":25495,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565178112001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:39:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:39:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565178112001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":160728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:39:27] local.INFO: GPS data processed {"connection_id":160728,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:39:27] local.INFO: Acknowledgment sent {"connection_id":160728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:39:31] local.INFO: TCP Data received {"connection_id":162146,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027392e70012d196940071fedd8003e011c27..."} 
[2026-08-22 07:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027392e70012d196940071fedd8003e011c27..."} 
[2026-08-22 07:39:31] local.INFO: Processing buffer {"connection_id":162146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027392e70012d196940071fedd8003e011c27..."} 
[2026-08-22 07:39:31] local.INFO: Packet analysis {"connection_id":162146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02739"} 
[2026-08-22 07:39:31] local.INFO: Extracted packet for processing {"connection_id":162146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02739"} 
[2026-08-22 07:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565294848001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787364454000,"timestamp_ms":1787364454000,"timestamp_seconds":1787364454,"priority":1,"record_length":96,"hex_timestamp":"000001a027392e70"} 
[2026-08-22 07: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-22 07:39:31] 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-22 07: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 07:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:39:31] 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-22 07:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565294848001,"66":12374,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565294848001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:39:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:39:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565294848001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":162146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:39:31] local.INFO: GPS data processed {"connection_id":162146,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:39:31] local.INFO: Acknowledgment sent {"connection_id":162146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:39:53] local.INFO: TCP Data received {"connection_id":159573,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:39:53] local.INFO: Processing buffer {"connection_id":159573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:39:53] local.INFO: IMEI packet received {"connection_id":159573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":159573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:39:55] local.INFO: TCP Data received {"connection_id":159572,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:39:55] local.INFO: Processing buffer {"connection_id":159572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:39:55] local.INFO: IMEI packet received {"connection_id":159572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":159572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:39:57] local.INFO: TCP Data received {"connection_id":159573,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:39:57] local.INFO: Processing buffer {"connection_id":159573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:39:57] local.INFO: IMEI packet received {"connection_id":159573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":159573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:39:58] local.INFO: TCP Data received {"connection_id":159573,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:39:58] local.INFO: Processing buffer {"connection_id":159573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:39:58] local.INFO: IMEI packet received {"connection_id":159573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":159573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:39:59] local.INFO: TCP Data received {"connection_id":159573,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027398078012d196940071fedd8003e011c25..."} 
[2026-08-22 07:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027398078012d196940071fedd8003e011c25..."} 
[2026-08-22 07:39:59] local.INFO: Processing buffer {"connection_id":159573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027398078012d196940071fedd8003e011c25..."} 
[2026-08-22 07:39:59] local.INFO: Packet analysis {"connection_id":159573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02739"} 
[2026-08-22 07:39:59] local.INFO: Extracted packet for processing {"connection_id":159573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02739"} 
[2026-08-22 07:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565300224001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:39: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-22 07:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787364475000,"timestamp_ms":1787364475000,"timestamp_seconds":1787364475,"priority":1,"record_length":96,"hex_timestamp":"000001a027398078"} 
[2026-08-22 07: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-22 07:39:59] 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-22 07: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 07:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:39:59] 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-22 07:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565300224001,"66":12113,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565300224001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:39:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:39:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565300224001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":159573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:39:59] local.INFO: GPS data processed {"connection_id":159573,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:39:59] local.INFO: Acknowledgment sent {"connection_id":159573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:40:00] local.INFO: TCP Data received {"connection_id":159572,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:40:00] local.INFO: Processing buffer {"connection_id":159572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:40:00] local.INFO: IMEI packet received {"connection_id":159572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":159572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:40:01] local.INFO: TCP Data received {"connection_id":159572,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:40:01] local.INFO: Processing buffer {"connection_id":159572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:40:01] local.INFO: Packet analysis {"connection_id":159572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:40:01] local.INFO: Extracted packet for processing {"connection_id":159572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565253888001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:40: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-22 07:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787364570000,"timestamp_ms":1787364570000,"timestamp_seconds":1787364570,"priority":1,"record_length":96,"hex_timestamp":"000001a0273af390"} 
[2026-08-22 07: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-22 07:40:01] 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-22 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565253888001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565253888001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:40:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565253888001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":159572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:40:01] local.INFO: GPS data processed {"connection_id":159572,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:40:01] local.INFO: Acknowledgment sent {"connection_id":159572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:40:05] local.INFO: TCP Data received {"connection_id":159572,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:40:05] local.INFO: Processing buffer {"connection_id":159572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:40:05] local.INFO: Packet analysis {"connection_id":159572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:40:05] local.INFO: Extracted packet for processing {"connection_id":159572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:40:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565253888001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:40:05] 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-22 07:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787364570000,"timestamp_ms":1787364570000,"timestamp_seconds":1787364570,"priority":1,"record_length":96,"hex_timestamp":"000001a0273af390"} 
[2026-08-22 07: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-22 07:40:05] 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-22 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565253888001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565253888001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:40:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:40:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565253888001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":159572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:40:05] local.INFO: GPS data processed {"connection_id":159572,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:40:05] local.INFO: Acknowledgment sent {"connection_id":159572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:40:30] local.INFO: TCP Data received {"connection_id":159573,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02739d280012d196940071fedd8003e011c26..."} 
[2026-08-22 07:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02739d280012d196940071fedd8003e011c26..."} 
[2026-08-22 07:40:30] local.INFO: Processing buffer {"connection_id":159573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02739d280012d196940071fedd8003e011c26..."} 
[2026-08-22 07:40:30] local.INFO: Packet analysis {"connection_id":159573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02739"} 
[2026-08-22 07:40:30] local.INFO: Extracted packet for processing {"connection_id":159573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02739"} 
[2026-08-22 07:40:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565305600001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:40: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-22 07:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787364496000,"timestamp_ms":1787364496000,"timestamp_seconds":1787364496,"priority":1,"record_length":96,"hex_timestamp":"000001a02739d280"} 
[2026-08-22 07: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-22 07:40:30] 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-22 07: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-22 07:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:40:30] 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-22 07:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565305600001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565305600001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:40:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:40:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565305600001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":159573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:40:31] local.INFO: GPS data processed {"connection_id":159573,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:40:31] local.INFO: Acknowledgment sent {"connection_id":159573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:40:49] local.INFO: TCP Data received {"connection_id":162148,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:40:49] local.INFO: Processing buffer {"connection_id":162148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:40:49] local.INFO: IMEI packet received {"connection_id":162148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":162148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:40:55] local.INFO: TCP Data received {"connection_id":162148,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:40:55] local.INFO: Processing buffer {"connection_id":162148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:40:55] local.INFO: IMEI packet received {"connection_id":162148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":162148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:40:56] local.INFO: TCP Data received {"connection_id":162148,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:40:56] local.INFO: Processing buffer {"connection_id":162148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:40:56] local.INFO: Packet analysis {"connection_id":162148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:40:56] local.INFO: Extracted packet for processing {"connection_id":162148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565253888001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07: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-22 07:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787364570000,"timestamp_ms":1787364570000,"timestamp_seconds":1787364570,"priority":1,"record_length":96,"hex_timestamp":"000001a0273af390"} 
[2026-08-22 07: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-22 07:40:56] 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-22 07:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565253888001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565253888001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:40:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565253888001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":162148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:40:56] local.INFO: GPS data processed {"connection_id":162148,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:40:56] local.INFO: Acknowledgment sent {"connection_id":162148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:40:59] local.INFO: TCP Data received {"connection_id":159831,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:40:59] local.INFO: Processing buffer {"connection_id":159831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:40:59] local.INFO: IMEI packet received {"connection_id":159831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":159831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:40:59] local.INFO: TCP Data received {"connection_id":159831,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:40:59] local.INFO: Processing buffer {"connection_id":159831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:40:59] local.INFO: IMEI packet received {"connection_id":159831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":159831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:41:00] local.INFO: TCP Data received {"connection_id":159831,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273a2488012d196940071fedd8003e011c24..."} 
[2026-08-22 07:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273a2488012d196940071fedd8003e011c24..."} 
[2026-08-22 07:41:00] local.INFO: Processing buffer {"connection_id":159831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273a2488012d196940071fedd8003e011c24..."} 
[2026-08-22 07:41:00] local.INFO: Packet analysis {"connection_id":159831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:41:00] local.INFO: Extracted packet for processing {"connection_id":159831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:41:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565310976001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787364517000,"timestamp_ms":1787364517000,"timestamp_seconds":1787364517,"priority":1,"record_length":96,"hex_timestamp":"000001a0273a2488"} 
[2026-08-22 07: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-22 07:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 07:41:00] 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-22 07: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-22 07: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-22 07:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:41:00] 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-22 07:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565310976001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565310976001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:41:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:41:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565310976001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":159831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:41:00] local.INFO: GPS data processed {"connection_id":159831,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:41:00] local.INFO: Acknowledgment sent {"connection_id":159831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:41:04] local.INFO: TCP Data received {"connection_id":159831,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273a7690012d196940071fedd8003e011c27..."} 
[2026-08-22 07:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273a7690012d196940071fedd8003e011c27..."} 
[2026-08-22 07:41:04] local.INFO: Processing buffer {"connection_id":159831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273a7690012d196940071fedd8003e011c27..."} 
[2026-08-22 07:41:04] local.INFO: Packet analysis {"connection_id":159831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:41:04] local.INFO: Extracted packet for processing {"connection_id":159831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565316352001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787364538000,"timestamp_ms":1787364538000,"timestamp_seconds":1787364538,"priority":1,"record_length":96,"hex_timestamp":"000001a0273a7690"} 
[2026-08-22 07: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-22 07:41:04] 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-22 07: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 07:41:04] 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-22 07: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-22 07: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-22 07:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:41:04] 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-22 07:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565316352001,"66":12374,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565316352001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:41:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565316352001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":159831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:41:04] local.INFO: GPS data processed {"connection_id":159831,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:41:04] local.INFO: Acknowledgment sent {"connection_id":159831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:41:09] local.INFO: TCP Data received {"connection_id":159574,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:41:09] local.INFO: Processing buffer {"connection_id":159574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:41:09] local.INFO: IMEI packet received {"connection_id":159574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":159574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:41:10] local.INFO: TCP Data received {"connection_id":159574,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0273c0500012d7fa34005dc7dc00008011a26..."} 
[2026-08-22 07:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273c0500012d7fa34005dc7dc00008011a26..."} 
[2026-08-22 07:41:10] local.INFO: Processing buffer {"connection_id":159574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273c0500012d7fa34005dc7dc00008011a26..."} 
[2026-08-22 07:41:10] local.INFO: Packet analysis {"connection_id":159574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273c"} 
[2026-08-22 07:41:10] local.INFO: Extracted packet for processing {"connection_id":159574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273c"} 
[2026-08-22 07:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":98336192,"longitude_deg":76.3339584,"latitude_deg":9.8336192,"altitude":8,"angle":282,"satellites":38,"speed":17,"hex_longitude":"2d7fa340","hex_latitude":"05dc7dc0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565347328001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122202299291402240,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320789101555712,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:10] 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-22 07:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787364640000,"timestamp_ms":1787364640000,"timestamp_seconds":1787364640,"priority":1,"record_length":96,"hex_timestamp":"000001a0273c0500"} 
[2026-08-22 07: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-22 07:41: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-22 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-22 07:41:10] 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-22 07: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-22 07: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-22 07:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:41:10] 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-22 07:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565347328001,"66":13091,"251":206,"85":15104,"24":17,"16":122202299291402240,"45":9198320789101555712},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-22 07:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565347328001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:41:10] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-22 07:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122202299291402240,"km_value":122202299291402.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320789101555712,"description":"Unknown IO ID 45"} 
[2026-08-22 07:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565347328001,"power":13091,"unknown_251":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9198320789101555712}} 
[2026-08-22 07:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":159574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:41:10] local.INFO: GPS data processed {"connection_id":159574,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:41:10] local.INFO: Acknowledgment sent {"connection_id":159574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:41:27] local.INFO: TCP Data received {"connection_id":162148,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:41:27] local.INFO: Processing buffer {"connection_id":162148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:41:27] local.INFO: Packet analysis {"connection_id":162148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:41:27] local.INFO: Extracted packet for processing {"connection_id":162148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565253888001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41: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-22 07:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787364570000,"timestamp_ms":1787364570000,"timestamp_seconds":1787364570,"priority":1,"record_length":96,"hex_timestamp":"000001a0273af390"} 
[2026-08-22 07: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-22 07:41:27] 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-22 07:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565253888001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565253888001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:41:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565253888001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":162148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:41:27] local.INFO: GPS data processed {"connection_id":162148,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:41:27] local.INFO: Acknowledgment sent {"connection_id":162148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:41:35] local.INFO: TCP Data received {"connection_id":159831,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273ac898012d196940071fedd8003e011c27..."} 
[2026-08-22 07:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273ac898012d196940071fedd8003e011c27..."} 
[2026-08-22 07:41:35] local.INFO: Processing buffer {"connection_id":159831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273ac898012d196940071fedd8003e011c27..."} 
[2026-08-22 07:41:35] local.INFO: Packet analysis {"connection_id":159831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:41:35] local.INFO: Extracted packet for processing {"connection_id":159831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565321728001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787364559000,"timestamp_ms":1787364559000,"timestamp_seconds":1787364559,"priority":1,"record_length":96,"hex_timestamp":"000001a0273ac898"} 
[2026-08-22 07: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-22 07:41:35] 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-22 07: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 07:41:35] 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-22 07: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-22 07: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-22 07:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:41:35] 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-22 07:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565321728001,"66":12374,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565321728001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:41:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565321728001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":159831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:41:35] local.INFO: GPS data processed {"connection_id":159831,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:41:35] local.INFO: Acknowledgment sent {"connection_id":159831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:41:42] local.INFO: TCP Data received {"connection_id":159574,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0273cb0e0012d7f6c0005dcf8900006014d20..."} 
[2026-08-22 07:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273cb0e0012d7f6c0005dcf8900006014d20..."} 
[2026-08-22 07:41:42] local.INFO: Processing buffer {"connection_id":159574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273cb0e0012d7f6c0005dcf8900006014d20..."} 
[2026-08-22 07:41:42] local.INFO: Packet analysis {"connection_id":159574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273c"} 
[2026-08-22 07:41:42] local.INFO: Extracted packet for processing {"connection_id":159574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273c"} 
[2026-08-22 07:41:42] local.INFO: GPS Element Parsed {"raw_longitude":763325440,"raw_latitude":98367632,"longitude_deg":76.332544,"latitude_deg":9.8367632,"altitude":6,"angle":333,"satellites":32,"speed":30,"hex_longitude":"2d7f6c00","hex_latitude":"05dcf890","is_valid_coordinates":true} 
[2026-08-22 07:41: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-22 07:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565359104001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122204000098451456,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181713765483712512,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:42] 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-22 07:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787364684000,"timestamp_ms":1787364684000,"timestamp_seconds":1787364684,"priority":1,"record_length":96,"hex_timestamp":"000001a0273cb0e0"} 
[2026-08-22 07:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:41: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-22 07:41: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-22 07:41:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:42] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-8959911419977325312,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1765081294,"corrected_to":0} 
[2026-08-22 07:41:42] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392039,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3699752960,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:42] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57887066717836603,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:42] local.WARNING: Large IO value detected {"io_id":60,"raw_value":1767664148669054981,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:42] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,251,85,24,241,157,16,39,160,137,45,192,215,7,34,10,66,53,130,64,208,6,114,1,240,68,227,220,4,113,205,75,144,36,239,51,2,178,5,9,21,62,60],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1765081294,"validated":0}]} 
[2026-08-22 07:41:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432711839040536576,"timestamp_seconds":432711839040536.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:41: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-22 07:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565359104001,"66":13319,"251":206,"85":15104,"24":30,"16":122204000098451456,"45":9181713765483712512},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-22 07:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565359104001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:41:42] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-22 07:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122204000098451456,"km_value":122204000098451.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181713765483712512,"description":"Unknown IO ID 45"} 
[2026-08-22 07:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565359104001,"power":13319,"unknown_251":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9181713765483712512}} 
[2026-08-22 07:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":159574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:41:42] local.INFO: GPS data processed {"connection_id":159574,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:41:42] local.INFO: Acknowledgment sent {"connection_id":159574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:41:49] local.INFO: TCP Data received {"connection_id":162149,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:41:49] local.INFO: Processing buffer {"connection_id":162149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:41:49] local.INFO: IMEI packet received {"connection_id":162149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":162149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:41:53] local.INFO: TCP Data received {"connection_id":159832,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:41:53] local.INFO: Processing buffer {"connection_id":159832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:41:53] local.INFO: IMEI packet received {"connection_id":159832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":159832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:41:55] local.INFO: TCP Data received {"connection_id":162149,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:41:55] local.INFO: Processing buffer {"connection_id":162149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:41:55] local.INFO: IMEI packet received {"connection_id":162149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":162149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:41:55] local.INFO: TCP Data received {"connection_id":162149,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:41:55] local.INFO: Processing buffer {"connection_id":162149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:41:55] local.INFO: Packet analysis {"connection_id":162149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:41:55] local.INFO: Extracted packet for processing {"connection_id":162149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565253888001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41: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-22 07:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787364570000,"timestamp_ms":1787364570000,"timestamp_seconds":1787364570,"priority":1,"record_length":96,"hex_timestamp":"000001a0273af390"} 
[2026-08-22 07:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:41:55] 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-22 07:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565253888001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565253888001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:41:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:41:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565253888001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":162149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:41:55] local.INFO: GPS data processed {"connection_id":162149,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:41:55] local.INFO: Acknowledgment sent {"connection_id":162149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:41:56] local.INFO: TCP Data received {"connection_id":159575,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:41:56] local.INFO: Processing buffer {"connection_id":159575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:41:56] local.INFO: IMEI packet received {"connection_id":159575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":159575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:41:59] local.INFO: TCP Data received {"connection_id":159832,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:41:59] local.INFO: Processing buffer {"connection_id":159832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:41:59] local.INFO: IMEI packet received {"connection_id":159832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":159832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:41:59] local.INFO: TCP Data received {"connection_id":159832,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273b1aa0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273b1aa0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:41:59] local.INFO: Processing buffer {"connection_id":159832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273b1aa0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:41:59] local.INFO: Packet analysis {"connection_id":159832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273b"} 
[2026-08-22 07:41:59] local.INFO: Extracted packet for processing {"connection_id":159832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273b"} 
[2026-08-22 07:41:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565327104001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:41: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-22 07:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787364580000,"timestamp_ms":1787364580000,"timestamp_seconds":1787364580,"priority":1,"record_length":96,"hex_timestamp":"000001a0273b1aa0"} 
[2026-08-22 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-22 07:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 07:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:41:59] 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-22 07:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565327104001,"66":12374,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565327104001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:41:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:41:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565327104001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":159832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:41:59] local.INFO: GPS data processed {"connection_id":159832,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:41:59] local.INFO: Acknowledgment sent {"connection_id":159832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:42:06] local.INFO: TCP Data received {"connection_id":159575,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:42:06] local.INFO: Processing buffer {"connection_id":159575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:42:06] local.INFO: IMEI packet received {"connection_id":159575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":159575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:42:07] local.INFO: TCP Data received {"connection_id":159575,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:42:07] local.INFO: Processing buffer {"connection_id":159575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:42:07] local.INFO: IMEI packet received {"connection_id":159575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":159575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:42:20] local.INFO: TCP Data received {"connection_id":159575,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0273cc468012d7f620005dd07200006014222..."} 
[2026-08-22 07:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273cc468012d7f620005dd07200006014222..."} 
[2026-08-22 07:42:20] local.INFO: Processing buffer {"connection_id":159575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273cc468012d7f620005dd07200006014222..."} 
[2026-08-22 07:42:20] local.INFO: Packet analysis {"connection_id":159575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273c"} 
[2026-08-22 07:42:20] local.INFO: Extracted packet for processing {"connection_id":159575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273c"} 
[2026-08-22 07:42:20] local.INFO: GPS Element Parsed {"raw_longitude":763322880,"raw_latitude":98371360,"longitude_deg":76.332288,"latitude_deg":9.837136,"altitude":6,"angle":322,"satellites":34,"speed":39,"hex_longitude":"2d7f6200","hex_latitude":"05dd0720","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565359104001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122204219141783552,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181713765483712512,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:20] 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-22 07:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787364689000,"timestamp_ms":1787364689000,"timestamp_seconds":1787364689,"priority":1,"record_length":96,"hex_timestamp":"000001a0273cc468"} 
[2026-08-22 07: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-22 07:42:20] 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-22 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-22 07:42:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:20] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-8809040832459692800,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1765081294,"corrected_to":0} 
[2026-08-22 07:42:20] local.WARNING: Large IO value detected {"io_id":106,"raw_value":2415996287,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:20] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3221609665,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:20] local.WARNING: Large IO value detected {"io_id":51,"raw_value":4060138857,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3702038528,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:20] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57887066717836603,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:20] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2049139125379661829,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:20] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,251,85,24,241,157,16,39,160,176,45,248,6,32,10,66,137,192,215,7,34,53,130,64,1,240,227,220,4,113,205,35,106,133,144,36,239,51,2,178,5,187,60],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1765081294,"validated":0}]} 
[2026-08-22 07:42:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432711839040536576,"timestamp_seconds":432711839040536.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07: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-22 07:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:42: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-22 07:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565359104001,"66":13526,"251":206,"85":15104,"24":39,"16":122204219141783552,"45":9181713765483712512},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-22 07:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565359104001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:42:20] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-22 07:42:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122204219141783552,"km_value":122204219141783.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181713765483712512,"description":"Unknown IO ID 45"} 
[2026-08-22 07:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565359104001,"power":13526,"unknown_251":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9181713765483712512}} 
[2026-08-22 07:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":159575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:42:20] local.INFO: GPS data processed {"connection_id":159575,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:42:20] local.INFO: Acknowledgment sent {"connection_id":159575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:42:22] local.INFO: TCP Data received {"connection_id":159575,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0273cdbd8012d7f554005dd19b00006014e24..."} 
[2026-08-22 07:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273cdbd8012d7f554005dd19b00006014e24..."} 
[2026-08-22 07:42:22] local.INFO: Processing buffer {"connection_id":159575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273cdbd8012d7f554005dd19b00006014e24..."} 
[2026-08-22 07:42:22] local.INFO: Packet analysis {"connection_id":159575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273c"} 
[2026-08-22 07:42:22] local.INFO: Extracted packet for processing {"connection_id":159575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273c"} 
[2026-08-22 07:42:22] local.INFO: GPS Element Parsed {"raw_longitude":763319616,"raw_latitude":98376112,"longitude_deg":76.3319616,"latitude_deg":9.8376112,"altitude":6,"angle":334,"satellites":36,"speed":36,"hex_longitude":"2d7f5540","hex_latitude":"05dd19b0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565360384001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122204498314657792,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178899015717560320,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:22] 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-22 07:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787364695000,"timestamp_ms":1787364695000,"timestamp_seconds":1787364695,"priority":1,"record_length":96,"hex_timestamp":"000001a0273cdbd8"} 
[2026-08-22 07: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-22 07:42:22] 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-22 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-22 07:42:22] 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-22 07: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-22 07: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-22 07:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:42: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-22 07:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565360384001,"66":13135,"111":206,"85":15104,"24":36,"16":122204498314657792,"45":9178899015717560320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-22 07:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565360384001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:42:22] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-22 07:42:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122204498314657792,"km_value":122204498314657.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178899015717560320,"description":"Unknown IO ID 45"} 
[2026-08-22 07:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565360384001,"power":13135,"unknown_111":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9178899015717560320}} 
[2026-08-22 07:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":159575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:42:22] local.INFO: GPS data processed {"connection_id":159575,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:42:22] local.INFO: Acknowledgment sent {"connection_id":159575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:42:27] local.INFO: TCP Data received {"connection_id":162149,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:42:27] local.INFO: Processing buffer {"connection_id":162149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:42:27] local.INFO: Packet analysis {"connection_id":162149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:42:27] local.INFO: Extracted packet for processing {"connection_id":162149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565253888001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42: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-22 07:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787364570000,"timestamp_ms":1787364570000,"timestamp_seconds":1787364570,"priority":1,"record_length":96,"hex_timestamp":"000001a0273af390"} 
[2026-08-22 07: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-22 07:42:27] 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-22 07:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565253888001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565253888001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:42:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565253888001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":162149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:42:27] local.INFO: GPS data processed {"connection_id":162149,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:42:27] local.INFO: Acknowledgment sent {"connection_id":162149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:42:31] local.INFO: TCP Data received {"connection_id":159832,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273b6ca8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273b6ca8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:42:31] local.INFO: Processing buffer {"connection_id":159832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273b6ca8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:42:31] local.INFO: Packet analysis {"connection_id":159832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273b"} 
[2026-08-22 07:42:31] local.INFO: Extracted packet for processing {"connection_id":159832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273b"} 
[2026-08-22 07:42:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565332480001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787364601000,"timestamp_ms":1787364601000,"timestamp_seconds":1787364601,"priority":1,"record_length":96,"hex_timestamp":"000001a0273b6ca8"} 
[2026-08-22 07: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-22 07:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 07:42:31] 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-22 07: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-22 07: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-22 07:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:42:31] 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-22 07:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565332480001,"66":12385,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565332480001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:42:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:42:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565332480001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":159832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:42:31] local.INFO: GPS data processed {"connection_id":159832,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:42:31] local.INFO: Acknowledgment sent {"connection_id":159832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:42:49] local.INFO: TCP Data received {"connection_id":159833,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:42:49] local.INFO: Processing buffer {"connection_id":159833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:42:49] local.INFO: IMEI packet received {"connection_id":159833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":159833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:42:53] local.INFO: TCP Data received {"connection_id":159834,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:42:54] local.INFO: Processing buffer {"connection_id":159834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:42:54] local.INFO: IMEI packet received {"connection_id":159834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":159834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:42:55] local.INFO: TCP Data received {"connection_id":159833,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:42:55] local.INFO: Processing buffer {"connection_id":159833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:42:55] local.INFO: IMEI packet received {"connection_id":159833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":159833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:42:55] local.INFO: TCP Data received {"connection_id":159833,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:42:55] local.INFO: Processing buffer {"connection_id":159833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:42:55] local.INFO: Packet analysis {"connection_id":159833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:42:55] local.INFO: Extracted packet for processing {"connection_id":159833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565253888001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42: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-22 07:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787364570000,"timestamp_ms":1787364570000,"timestamp_seconds":1787364570,"priority":1,"record_length":96,"hex_timestamp":"000001a0273af390"} 
[2026-08-22 07: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-22 07:42:55] 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-22 07:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565253888001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565253888001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:42:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:42:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565253888001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":159833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:42:56] local.INFO: GPS data processed {"connection_id":159833,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:42:56] local.INFO: Acknowledgment sent {"connection_id":159833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:42:59] local.INFO: TCP Data received {"connection_id":159834,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:42:59] local.INFO: Processing buffer {"connection_id":159834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:42:59] local.INFO: IMEI packet received {"connection_id":159834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":159834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:42:59] local.INFO: TCP Data received {"connection_id":159834,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273bbeb0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273bbeb0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:42:59] local.INFO: Processing buffer {"connection_id":159834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273bbeb0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:42:59] local.INFO: Packet analysis {"connection_id":159834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273b"} 
[2026-08-22 07:42:59] local.INFO: Extracted packet for processing {"connection_id":159834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273b"} 
[2026-08-22 07:42:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565337856001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:42: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-22 07:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787364622000,"timestamp_ms":1787364622000,"timestamp_seconds":1787364622,"priority":1,"record_length":96,"hex_timestamp":"000001a0273bbeb0"} 
[2026-08-22 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-22 07:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 07:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:42:59] 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-22 07:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565337856001,"66":12374,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565337856001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:42:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:42:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565337856001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":159834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:42:59] local.INFO: GPS data processed {"connection_id":159834,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:42:59] local.INFO: Acknowledgment sent {"connection_id":159834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:43:01] local.INFO: TCP Data received {"connection_id":159576,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:43:01] local.INFO: Processing buffer {"connection_id":159576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:43:01] local.INFO: IMEI packet received {"connection_id":159576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":159576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:43:04] local.INFO: TCP Data received {"connection_id":159576,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:43:04] local.INFO: Processing buffer {"connection_id":159576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:43:04] local.INFO: IMEI packet received {"connection_id":159576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":159576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:43:05] local.INFO: TCP Data received {"connection_id":159576,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0273cef60012d7f4e8005dd2c300006015a24..."} 
[2026-08-22 07:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273cef60012d7f4e8005dd2c300006015a24..."} 
[2026-08-22 07:43:05] local.INFO: Processing buffer {"connection_id":159576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273cef60012d7f4e8005dd2c300006015a24..."} 
[2026-08-22 07:43:05] local.INFO: Packet analysis {"connection_id":159576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273c"} 
[2026-08-22 07:43:05] local.INFO: Extracted packet for processing {"connection_id":159576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273c"} 
[2026-08-22 07:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763317888,"raw_latitude":98380848,"longitude_deg":76.3317888,"latitude_deg":9.8380848,"altitude":6,"angle":346,"satellites":36,"speed":40,"hex_longitude":"2d7f4e80","hex_latitude":"05dd2c30","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565361920001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122204743127793664,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175310209765715968,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43:05] 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-22 07:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787364700000,"timestamp_ms":1787364700000,"timestamp_seconds":1787364700,"priority":1,"record_length":96,"hex_timestamp":"000001a0273cef60"} 
[2026-08-22 07: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-22 07:43:05] 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-22 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-22 07:43:05] 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-22 07: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-22 07: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-22 07:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:43: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-22 07:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565361920001,"66":13222,"111":206,"85":15104,"24":40,"16":122204743127793664,"45":9175310209765715968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-22 07:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565361920001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:43:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-22 07:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122204743127793664,"km_value":122204743127793.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175310209765715968,"description":"Unknown IO ID 45"} 
[2026-08-22 07:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565361920001,"power":13222,"unknown_111":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9175310209765715968}} 
[2026-08-22 07:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":159576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:43:05] local.INFO: GPS data processed {"connection_id":159576,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:43:05] local.INFO: Acknowledgment sent {"connection_id":159576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:43:06] local.INFO: TCP Data received {"connection_id":159576,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0273d1288012d7f470005dd50700007015a26..."} 
[2026-08-22 07:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273d1288012d7f470005dd50700007015a26..."} 
[2026-08-22 07:43:06] local.INFO: Processing buffer {"connection_id":159576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273d1288012d7f470005dd50700007015a26..."} 
[2026-08-22 07:43:06] local.INFO: Packet analysis {"connection_id":159576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273d"} 
[2026-08-22 07:43:06] local.INFO: Extracted packet for processing {"connection_id":159576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273d"} 
[2026-08-22 07:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763315968,"raw_latitude":98390128,"longitude_deg":76.3315968,"latitude_deg":9.8390128,"altitude":7,"angle":346,"satellites":38,"speed":46,"hex_longitude":"2d7f4700","hex_latitude":"05dd5070","is_valid_coordinates":true} 
[2026-08-22 07:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565363200001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122205202689294336,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9173410253674131456,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43:06] 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-22 07:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787364709000,"timestamp_ms":1787364709000,"timestamp_seconds":1787364709,"priority":1,"record_length":96,"hex_timestamp":"000001a0273d1288"} 
[2026-08-22 07:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:43:06] 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-22 07:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-22 07:43: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-22 07:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:43: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-22 07:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565363200001,"66":13428,"111":206,"85":15104,"24":46,"16":122205202689294336,"45":9173410253674131456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-22 07:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565363200001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:43:06] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-22 07:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122205202689294336,"km_value":122205202689294.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9173410253674131456,"description":"Unknown IO ID 45"} 
[2026-08-22 07:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565363200001,"power":13428,"unknown_111":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9173410253674131456}} 
[2026-08-22 07:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":159576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:43:07] local.INFO: GPS data processed {"connection_id":159576,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:43:07] local.INFO: Acknowledgment sent {"connection_id":159576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:43:27] local.INFO: TCP Data received {"connection_id":159833,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:43:27] local.INFO: Processing buffer {"connection_id":159833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:43:27] local.INFO: Packet analysis {"connection_id":159833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:43:27] local.INFO: Extracted packet for processing {"connection_id":159833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565253888001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43: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-22 07:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787364570000,"timestamp_ms":1787364570000,"timestamp_seconds":1787364570,"priority":1,"record_length":96,"hex_timestamp":"000001a0273af390"} 
[2026-08-22 07: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-22 07:43:27] 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-22 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565253888001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565253888001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:43:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565253888001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":159833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:43:27] local.INFO: GPS data processed {"connection_id":159833,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:43:27] local.INFO: Acknowledgment sent {"connection_id":159833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:43:30] local.INFO: TCP Data received {"connection_id":159834,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273c10b8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273c10b8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:43:30] local.INFO: Processing buffer {"connection_id":159834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273c10b8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:43:30] local.INFO: Packet analysis {"connection_id":159834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273c"} 
[2026-08-22 07:43:30] local.INFO: Extracted packet for processing {"connection_id":159834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273c"} 
[2026-08-22 07:43:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565343232001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43: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-22 07:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787364643000,"timestamp_ms":1787364643000,"timestamp_seconds":1787364643,"priority":1,"record_length":96,"hex_timestamp":"000001a0273c10b8"} 
[2026-08-22 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-22 07:43: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-22 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 07:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:43:30] 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-22 07:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565343232001,"66":12363,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565343232001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:43:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:43:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565343232001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":159834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:43:30] local.INFO: GPS data processed {"connection_id":159834,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:43:30] local.INFO: Acknowledgment sent {"connection_id":159834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:43:38] local.INFO: TCP Data received {"connection_id":159576,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0273e6a48012d7ef30005de4cb80008015622..."} 
[2026-08-22 07:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273e6a48012d7ef30005de4cb80008015622..."} 
[2026-08-22 07:43:38] local.INFO: Processing buffer {"connection_id":159576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273e6a48012d7ef30005de4cb80008015622..."} 
[2026-08-22 07:43:38] local.INFO: Packet analysis {"connection_id":159576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273e"} 
[2026-08-22 07:43:38] local.INFO: Extracted packet for processing {"connection_id":159576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273e"} 
[2026-08-22 07:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763294464,"raw_latitude":98454712,"longitude_deg":76.3294464,"latitude_deg":9.8454712,"altitude":8,"angle":342,"satellites":34,"speed":49,"hex_longitude":"2d7ef300","hex_latitude":"05de4cb8","is_valid_coordinates":true} 
[2026-08-22 07:43: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-22 07:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565386240001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122208552763785216,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150540411833038848,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787364797000,"timestamp_ms":1787364797000,"timestamp_seconds":1787364797,"priority":1,"record_length":96,"hex_timestamp":"000001a0273e6a48"} 
[2026-08-22 07:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:43:38] 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-22 07:43: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":242,"data_length":795,"current_offset":136} 
[2026-08-22 07:43:38] 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-22 07:43: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-22 07:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:43: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-22 07:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565386240001,"66":13319,"205":206,"85":15104,"24":49,"16":122208552763785216,"45":9150540411833038848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-22 07:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565386240001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122208552763785216,"km_value":122208552763785.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150540411833038848,"description":"Unknown IO ID 45"} 
[2026-08-22 07:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565386240001,"power":13319,"cell_id":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9150540411833038848}} 
[2026-08-22 07:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":159576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:43:38] local.INFO: GPS data processed {"connection_id":159576,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:43:38] local.INFO: Acknowledgment sent {"connection_id":159576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:43:49] local.INFO: TCP Data received {"connection_id":162150,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:43:49] local.INFO: Processing buffer {"connection_id":162150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:43:49] local.INFO: IMEI packet received {"connection_id":162150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":162150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:43:53] local.INFO: TCP Data received {"connection_id":159577,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:43:53] local.INFO: Processing buffer {"connection_id":159577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:43:53] local.INFO: IMEI packet received {"connection_id":159577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":159577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:43:55] local.INFO: TCP Data received {"connection_id":162150,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:43:55] local.INFO: Processing buffer {"connection_id":162150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:43:55] local.INFO: IMEI packet received {"connection_id":162150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":162150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:43:55] local.INFO: TCP Data received {"connection_id":162150,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:43:55] local.INFO: Processing buffer {"connection_id":162150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:43:55] local.INFO: Packet analysis {"connection_id":162150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:43:55] local.INFO: Extracted packet for processing {"connection_id":162150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565253888001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:43: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-22 07:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787364570000,"timestamp_ms":1787364570000,"timestamp_seconds":1787364570,"priority":1,"record_length":96,"hex_timestamp":"000001a0273af390"} 
[2026-08-22 07: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-22 07:43:55] 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-22 07:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565253888001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565253888001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:43:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:43:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565253888001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":162150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:43:55] local.INFO: GPS data processed {"connection_id":162150,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:43:55] local.INFO: Acknowledgment sent {"connection_id":162150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:43:56] local.INFO: TCP Data received {"connection_id":159578,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:43:56] local.INFO: Processing buffer {"connection_id":159578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:43:56] local.INFO: IMEI packet received {"connection_id":159578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":159578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:43:59] local.INFO: TCP Data received {"connection_id":159578,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:43:59] local.INFO: Processing buffer {"connection_id":159578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:43:59] local.INFO: IMEI packet received {"connection_id":159578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":159578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:44:00] local.INFO: TCP Data received {"connection_id":159578,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0273e85a0012d7ee84005de6e380008015320..."} 
[2026-08-22 07:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273e85a0012d7ee84005de6e380008015320..."} 
[2026-08-22 07:44:00] local.INFO: Processing buffer {"connection_id":159578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273e85a0012d7ee84005de6e380008015320..."} 
[2026-08-22 07:44:00] local.INFO: Packet analysis {"connection_id":159578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273e"} 
[2026-08-22 07:44:00] local.INFO: Extracted packet for processing {"connection_id":159578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273e"} 
[2026-08-22 07:44:00] local.INFO: GPS Element Parsed {"raw_longitude":763291712,"raw_latitude":98463288,"longitude_deg":76.3291712,"latitude_deg":9.8463288,"altitude":8,"angle":339,"satellites":32,"speed":48,"hex_longitude":"2d7ee840","hex_latitude":"05de6e38","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565388032001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122208990850449408,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147655293324015616,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787364804000,"timestamp_ms":1787364804000,"timestamp_seconds":1787364804,"priority":1,"record_length":96,"hex_timestamp":"000001a0273e85a0"} 
[2026-08-22 07: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-22 07:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-22 07:44:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:00] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3372220416,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:00] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-7208011156338629632,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:00] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2147868102,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:00] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407055,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3719165952,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:00] local.WARNING: Large IO value detected {"io_id":68,"raw_value":57719339654993211,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:00] local.WARNING: Large IO value detected {"io_id":61,"raw_value":-5852426420848148475,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:00] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,205,85,24,241,157,16,44,160,78,45,64,42,9,36,10,66,43,51,192,8,11,20,1,240,220,227,39,221,4,113,47,128,239,52,111,2,178,5,28,68,61],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[]} 
[2026-08-22 07:44:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576836931312222208,"timestamp_seconds":576836931312222.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07: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-22 07:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:44:00] 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-22 07:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565388032001,"66":13135,"205":206,"85":15104,"24":48,"16":122208990850449408,"45":9147655293324015616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-22 07:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565388032001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:44:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122208990850449408,"km_value":122208990850449.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147655293324015616,"description":"Unknown IO ID 45"} 
[2026-08-22 07:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565388032001,"power":13135,"cell_id":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9147655293324015616}} 
[2026-08-22 07:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":159578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:44:00] local.INFO: GPS data processed {"connection_id":159578,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:44:00] local.INFO: Acknowledgment sent {"connection_id":159578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:44:06] local.INFO: TCP Data received {"connection_id":159577,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:44:06] local.INFO: Processing buffer {"connection_id":159577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:44:06] local.INFO: IMEI packet received {"connection_id":159577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":159577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:44:07] local.INFO: TCP Data received {"connection_id":159577,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273c62c0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273c62c0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:44:07] local.INFO: Processing buffer {"connection_id":159577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273c62c0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:44:07] local.INFO: Packet analysis {"connection_id":159577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273c"} 
[2026-08-22 07:44:07] local.INFO: Extracted packet for processing {"connection_id":159577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273c"} 
[2026-08-22 07:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565348608001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787364664000,"timestamp_ms":1787364664000,"timestamp_seconds":1787364664,"priority":1,"record_length":96,"hex_timestamp":"000001a0273c62c0"} 
[2026-08-22 07:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:44: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-22 07:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-22 07:44:07] 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-22 07:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:44:07] 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-22 07:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565348608001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565348608001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:44:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565348608001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":159577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:44:07] local.INFO: GPS data processed {"connection_id":159577,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:44:07] local.INFO: Acknowledgment sent {"connection_id":159577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:44:27] local.INFO: TCP Data received {"connection_id":162150,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:44:27] local.INFO: Processing buffer {"connection_id":162150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273af390012d7f8ac005afe2d0000000fa23..."} 
[2026-08-22 07:44:27] local.INFO: Packet analysis {"connection_id":162150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:44:27] local.INFO: Extracted packet for processing {"connection_id":162150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273a"} 
[2026-08-22 07:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565253888001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44: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-22 07:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787364570000,"timestamp_ms":1787364570000,"timestamp_seconds":1787364570,"priority":1,"record_length":96,"hex_timestamp":"000001a0273af390"} 
[2026-08-22 07: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-22 07:44:27] 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-22 07:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 07:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565253888001,"66":25582,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565253888001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:44:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565253888001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":162150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:44:27] local.INFO: GPS data processed {"connection_id":162150,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:44:27] local.INFO: Acknowledgment sent {"connection_id":162150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:44:34] local.INFO: TCP Data received {"connection_id":159578,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0273eacb0012d7eda0005de8eb00008015424..."} 
[2026-08-22 07:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273eacb0012d7eda0005de8eb00008015424..."} 
[2026-08-22 07:44:34] local.INFO: Processing buffer {"connection_id":159578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273eacb0012d7eda0005de8eb00008015424..."} 
[2026-08-22 07:44:34] local.INFO: Packet analysis {"connection_id":159578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273e"} 
[2026-08-22 07:44:34] local.INFO: Extracted packet for processing {"connection_id":159578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273e"} 
[2026-08-22 07:44:34] local.INFO: GPS Element Parsed {"raw_longitude":763288064,"raw_latitude":98471600,"longitude_deg":76.3288064,"latitude_deg":9.84716,"altitude":8,"angle":340,"satellites":36,"speed":33,"hex_longitude":"2d7eda00","hex_latitude":"05de8eb0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565389824001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122209428937113600,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9144629437326571520,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787364814000,"timestamp_ms":1787364814000,"timestamp_seconds":1787364814,"priority":1,"record_length":96,"hex_timestamp":"000001a0273eacb0"} 
[2026-08-22 07: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-22 07:44:34] 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-22 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-22 07:44:34] 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-22 07: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-22 07: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-22 07:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:44:34] 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-22 07:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565389824001,"66":13330,"205":206,"85":15104,"24":33,"16":122209428937113600,"45":9144629437326571520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-22 07:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565389824001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:44:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122209428937113600,"km_value":122209428937113.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9144629437326571520,"description":"Unknown IO ID 45"} 
[2026-08-22 07:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565389824001,"power":13330,"cell_id":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9144629437326571520}} 
[2026-08-22 07:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":159578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:44:34] local.INFO: GPS data processed {"connection_id":159578,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:44:34] local.INFO: Acknowledgment sent {"connection_id":159578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:44:38] local.INFO: TCP Data received {"connection_id":159577,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273cb4c8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273cb4c8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:44:38] local.INFO: Processing buffer {"connection_id":159577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273cb4c8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:44:38] local.INFO: Packet analysis {"connection_id":159577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273c"} 
[2026-08-22 07:44:38] local.INFO: Extracted packet for processing {"connection_id":159577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273c"} 
[2026-08-22 07:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07:44: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-22 07:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565353984001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787364685000,"timestamp_ms":1787364685000,"timestamp_seconds":1787364685,"priority":1,"record_length":96,"hex_timestamp":"000001a0273cb4c8"} 
[2026-08-22 07:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:44:38] 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-22 07:44: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 07:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2826611882682292585,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:38] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:38] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79981774339309568,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244305903822,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 07:44:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2550213913,"corrected_to":0} 
[2026-08-22 07:44:38] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,160,45,64,237,62,39,10,66,190,38,108,1,240,97,227,31,4,113,205,200,105,216,239,48,2,51,7,36],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":2550213913,"validated":0}]} 
[2026-08-22 07:44:38] 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-22 07:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:44:38] 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-22 07:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565353984001,"66":12374,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565353984001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:44:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:44:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565353984001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":159577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:44:38] local.INFO: GPS data processed {"connection_id":159577,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:44:38] local.INFO: Acknowledgment sent {"connection_id":159577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:44:53] local.INFO: TCP Data received {"connection_id":162152,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:44:53] local.INFO: Processing buffer {"connection_id":162152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:44:53] local.INFO: IMEI packet received {"connection_id":162152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":162152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:44:55] local.INFO: TCP Data received {"connection_id":162151,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:44:55] local.INFO: Processing buffer {"connection_id":162151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:44:55] local.INFO: IMEI packet received {"connection_id":162151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":162151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:44:56] local.INFO: TCP Data received {"connection_id":159579,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:44:56] local.INFO: Processing buffer {"connection_id":159579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:44:56] local.INFO: IMEI packet received {"connection_id":159579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":159579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:44:59] local.INFO: TCP Data received {"connection_id":162152,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:44:59] local.INFO: Processing buffer {"connection_id":162152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:44:59] local.INFO: IMEI packet received {"connection_id":162152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":162152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:44:59] local.INFO: TCP Data received {"connection_id":162152,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273d06d0012d196940071fedd8003e011c20..."} 
[2026-08-22 07:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273d06d0012d196940071fedd8003e011c20..."} 
[2026-08-22 07:44:59] local.INFO: Processing buffer {"connection_id":162152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273d06d0012d196940071fedd8003e011c20..."} 
[2026-08-22 07:44:59] local.INFO: Packet analysis {"connection_id":162152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273d"} 
[2026-08-22 07:44:59] local.INFO: Extracted packet for processing {"connection_id":162152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273d"} 
[2026-08-22 07:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":32,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565359360001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:44: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-22 07:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787364706000,"timestamp_ms":1787364706000,"timestamp_seconds":1787364706,"priority":1,"record_length":96,"hex_timestamp":"000001a0273d06d0"} 
[2026-08-22 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-22 07:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 07:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:44:59] 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-22 07:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565359360001,"66":12374,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565359360001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:44:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:44:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565359360001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:44:59] local.INFO: TCP Data received {"connection_id":159579,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:44:59] local.INFO: Processing buffer {"connection_id":159579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:44:59] local.INFO: IMEI packet received {"connection_id":159579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":159579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":162152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:45:00] local.INFO: GPS data processed {"connection_id":162152,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:45:00] local.INFO: Acknowledgment sent {"connection_id":162152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:45:00] local.INFO: TCP Data received {"connection_id":162151,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:45:00] local.INFO: Processing buffer {"connection_id":162151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:45:00] local.INFO: IMEI packet received {"connection_id":162151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":162151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:45:00] local.INFO: TCP Data received {"connection_id":159579,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0273ed3c0012d7ed0c005deb430000a015d20..."} 
[2026-08-22 07:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273ed3c0012d7ed0c005deb430000a015d20..."} 
[2026-08-22 07:45:00] local.INFO: Processing buffer {"connection_id":159579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273ed3c0012d7ed0c005deb430000a015d20..."} 
[2026-08-22 07:45:00] local.INFO: Packet analysis {"connection_id":159579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273e"} 
[2026-08-22 07:45:00] local.INFO: Extracted packet for processing {"connection_id":159579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273e"} 
[2026-08-22 07:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763285696,"raw_latitude":98481200,"longitude_deg":76.3285696,"latitude_deg":9.84812,"altitude":10,"angle":349,"satellites":32,"speed":43,"hex_longitude":"2d7ed0c0","hex_latitude":"05deb430","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565392384001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122209909973450752,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140618418910572544,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787364824000,"timestamp_ms":1787364824000,"timestamp_seconds":1787364824,"priority":1,"record_length":96,"hex_timestamp":"000001a0273ed3c0"} 
[2026-08-22 07: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-22 07:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-22 07:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:00] local.WARNING: Large IO value detected {"io_id":32,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278401176254393848,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:00] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:00] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040166,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3721175040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:00] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57719339654993211,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:00] local.WARNING: Large IO value detected {"io_id":61,"raw_value":-1067351816767832059,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:00] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-4143311618504449024,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:00] local.WARNING: Large IO value detected {"io_id":15,"raw_value":7998619803667404800,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:00] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:00] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,205,85,24,241,157,16,44,160,133,45,64,110,8,32,10,66,106,76,34,78,1,240,242,227,43,39,222,4,113,51,20,26,72,37,239,2,178,5,9,248,61,221,15,93],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[]} 
[2026-08-22 07:45:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576834740877852672,"timestamp_seconds":576834740877852.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07: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-22 07:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:45:00] 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-22 07:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565392384001,"66":13189,"205":206,"85":15104,"24":43,"16":122209909973450752,"45":9140618418910572544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-22 07:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565392384001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:45:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122209909973450752,"km_value":122209909973450.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140618418910572544,"description":"Unknown IO ID 45"} 
[2026-08-22 07:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565392384001,"power":13189,"cell_id":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9140618418910572544}} 
[2026-08-22 07:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":159579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:45:00] local.INFO: GPS data processed {"connection_id":159579,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:45:00] local.INFO: Acknowledgment sent {"connection_id":159579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:45:01] local.INFO: TCP Data received {"connection_id":162151,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:45:01] local.INFO: Processing buffer {"connection_id":162151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:45:01] local.INFO: Packet analysis {"connection_id":162151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:45:01] local.INFO: Extracted packet for processing {"connection_id":162151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565329920001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45: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-22 07:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787364862000,"timestamp_ms":1787364862000,"timestamp_seconds":1787364862,"priority":1,"record_length":96,"hex_timestamp":"000001a0273f6830"} 
[2026-08-22 07: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-22 07:45:01] 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-22 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:45:01] 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-22 07: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-22 07: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-22 07:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565329920001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565329920001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:45:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565329920001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":162151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:45:01] local.INFO: GPS data processed {"connection_id":162151,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:45:01] local.INFO: Acknowledgment sent {"connection_id":162151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:45:05] local.INFO: TCP Data received {"connection_id":162151,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:45:05] local.INFO: Processing buffer {"connection_id":162151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:45:05] local.INFO: Packet analysis {"connection_id":162151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:45:05] local.INFO: Extracted packet for processing {"connection_id":162151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565329920001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:05] 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-22 07:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787364862000,"timestamp_ms":1787364862000,"timestamp_seconds":1787364862,"priority":1,"record_length":96,"hex_timestamp":"000001a0273f6830"} 
[2026-08-22 07:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:45:05] 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-22 07:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:45:05] 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-22 07:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565329920001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565329920001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:45:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565329920001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":162151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:45:05] local.INFO: GPS data processed {"connection_id":162151,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:45:05] local.INFO: Acknowledgment sent {"connection_id":162151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:45:31] local.INFO: TCP Data received {"connection_id":162152,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273d58d8012d196940071fedd8003e011c24..."} 
[2026-08-22 07:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273d58d8012d196940071fedd8003e011c24..."} 
[2026-08-22 07:45:31] local.INFO: Processing buffer {"connection_id":162152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273d58d8012d196940071fedd8003e011c24..."} 
[2026-08-22 07:45:31] local.INFO: Packet analysis {"connection_id":162152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273d"} 
[2026-08-22 07:45:31] local.INFO: Extracted packet for processing {"connection_id":162152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273d"} 
[2026-08-22 07:45:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565364736001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787364727000,"timestamp_ms":1787364727000,"timestamp_seconds":1787364727,"priority":1,"record_length":96,"hex_timestamp":"000001a0273d58d8"} 
[2026-08-22 07: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-22 07:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 07:45:31] 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-22 07: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-22 07: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-22 07:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:45:31] 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-22 07:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565364736001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565364736001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:45:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:45:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565364736001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":162152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:45:31] local.INFO: GPS data processed {"connection_id":162152,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:45:31] local.INFO: Acknowledgment sent {"connection_id":162152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:45:36] local.INFO: TCP Data received {"connection_id":159579,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0274017f8012d7e5e8005dfe9c00007015d24..."} 
[2026-08-22 07:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274017f8012d7e5e8005dfe9c00007015d24..."} 
[2026-08-22 07:45:36] local.INFO: Processing buffer {"connection_id":159579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274017f8012d7e5e8005dfe9c00007015d24..."} 
[2026-08-22 07:45:36] local.INFO: Packet analysis {"connection_id":159579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02740"} 
[2026-08-22 07:45:36] local.INFO: Extracted packet for processing {"connection_id":159579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02740"} 
[2026-08-22 07:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763256448,"raw_latitude":98560448,"longitude_deg":76.3256448,"latitude_deg":9.8560448,"altitude":7,"angle":349,"satellites":36,"speed":40,"hex_longitude":"2d7e5e80","hex_latitude":"05dfe9c0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565413888001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122214076091727872,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108741377818484736,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:36] 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-22 07:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787364907000,"timestamp_ms":1787364907000,"timestamp_seconds":1787364907,"priority":1,"record_length":96,"hex_timestamp":"000001a0274017f8"} 
[2026-08-22 07: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-22 07:45:36] 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-22 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-22 07:45:36] 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-22 07: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-22 07: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-22 07:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:45:36] 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-22 07:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565413888001,"66":13254,"207":206,"85":15104,"24":40,"16":122214076091727872,"45":9108741377818484736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 07:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565413888001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:45:36] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 07:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122214076091727872,"km_value":122214076091727.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108741377818484736,"description":"Unknown IO ID 45"} 
[2026-08-22 07:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565413888001,"power":13254,"unknown_207":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9108741377818484736}} 
[2026-08-22 07:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":159579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:45:36] local.INFO: GPS data processed {"connection_id":159579,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:45:36] local.INFO: Acknowledgment sent {"connection_id":159579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:45:50] local.INFO: TCP Data received {"connection_id":159580,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:45:50] local.INFO: Processing buffer {"connection_id":159580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:45:50] local.INFO: IMEI packet received {"connection_id":159580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":159580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:45:53] local.INFO: TCP Data received {"connection_id":159835,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:45:53] local.INFO: Processing buffer {"connection_id":159835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:45:53] local.INFO: IMEI packet received {"connection_id":159835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":159835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:45:54] local.INFO: TCP Data received {"connection_id":159835,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:45:54] local.INFO: Processing buffer {"connection_id":159835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:45:54] local.INFO: IMEI packet received {"connection_id":159835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":159835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:45:55] local.INFO: TCP Data received {"connection_id":159580,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:45:55] local.INFO: Processing buffer {"connection_id":159580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:45:55] local.INFO: IMEI packet received {"connection_id":159580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":159580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:45:55] local.INFO: TCP Data received {"connection_id":159580,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:45:55] local.INFO: Processing buffer {"connection_id":159580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:45:55] local.INFO: Packet analysis {"connection_id":159580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:45:55] local.INFO: Extracted packet for processing {"connection_id":159580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565329920001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:45: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-22 07:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787364862000,"timestamp_ms":1787364862000,"timestamp_seconds":1787364862,"priority":1,"record_length":96,"hex_timestamp":"000001a0273f6830"} 
[2026-08-22 07: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-22 07:45:55] 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-22 07:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:45: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-22 07: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-22 07: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-22 07:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565329920001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565329920001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:45:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:45:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565329920001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":159580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:45:55] local.INFO: GPS data processed {"connection_id":159580,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:45:55] local.INFO: Acknowledgment sent {"connection_id":159580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:45:56] local.INFO: TCP Data received {"connection_id":160730,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:45:56] local.INFO: Processing buffer {"connection_id":160730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:45:56] local.INFO: IMEI packet received {"connection_id":160730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":160730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:45:56] local.INFO: TCP Data received {"connection_id":160730,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:45:56] local.INFO: Processing buffer {"connection_id":160730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:45:56] local.INFO: IMEI packet received {"connection_id":160730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":160730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:45:59] local.INFO: TCP Data received {"connection_id":159835,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:45:59] local.INFO: Processing buffer {"connection_id":159835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:45:59] local.INFO: IMEI packet received {"connection_id":159835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":159835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:45:59] local.INFO: TCP Data received {"connection_id":160730,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:45:59] local.INFO: Processing buffer {"connection_id":160730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:45:59] local.INFO: IMEI packet received {"connection_id":160730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":160730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:46:00] local.INFO: TCP Data received {"connection_id":159835,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273daae0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273daae0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:46:00] local.INFO: Processing buffer {"connection_id":159835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273daae0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:46:00] local.INFO: Packet analysis {"connection_id":159835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273d"} 
[2026-08-22 07:46:00] local.INFO: Extracted packet for processing {"connection_id":159835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273d"} 
[2026-08-22 07:46:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565370112001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787364748000,"timestamp_ms":1787364748000,"timestamp_seconds":1787364748,"priority":1,"record_length":96,"hex_timestamp":"000001a0273daae0"} 
[2026-08-22 07: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-22 07:46:00] 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-22 07: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 07:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:46:00] 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-22 07:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565370112001,"66":12374,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565370112001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:46:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:46:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565370112001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":159835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:46:00] local.INFO: GPS data processed {"connection_id":159835,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:46:00] local.INFO: Acknowledgment sent {"connection_id":159835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:46:01] local.INFO: TCP Data received {"connection_id":160730,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:46:01] local.INFO: Processing buffer {"connection_id":160730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:46:01] local.INFO: IMEI packet received {"connection_id":160730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":160730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:46:02] local.INFO: TCP Data received {"connection_id":160730,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027403738012d7e564005e00be80007015624..."} 
[2026-08-22 07:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027403738012d7e564005e00be80007015624..."} 
[2026-08-22 07:46:02] local.INFO: Processing buffer {"connection_id":160730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027403738012d7e564005e00be80007015624..."} 
[2026-08-22 07:46:02] local.INFO: Packet analysis {"connection_id":160730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02740"} 
[2026-08-22 07:46:02] local.INFO: Extracted packet for processing {"connection_id":160730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02740"} 
[2026-08-22 07:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763254336,"raw_latitude":98569192,"longitude_deg":76.3254336,"latitude_deg":9.8569192,"altitude":7,"angle":342,"satellites":36,"speed":44,"hex_longitude":"2d7e5640","hex_latitude":"05e00be8","is_valid_coordinates":true} 
[2026-08-22 07:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565416192001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122214514178392064,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105856259309551616,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:02] 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-22 07:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787364915000,"timestamp_ms":1787364915000,"timestamp_seconds":1787364915,"priority":1,"record_length":96,"hex_timestamp":"000001a027403738"} 
[2026-08-22 07:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:46: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-22 07:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 07:46:02] 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-22 07:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:46:02] 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-22 07:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565416192001,"66":13222,"207":206,"85":15104,"24":44,"16":122214514178392064,"45":9105856259309551616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 07:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565416192001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:46:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 07:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122214514178392064,"km_value":122214514178392.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105856259309551616,"description":"Unknown IO ID 45"} 
[2026-08-22 07:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565416192001,"power":13222,"unknown_207":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9105856259309551616}} 
[2026-08-22 07:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":160730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:46:02] local.INFO: GPS data processed {"connection_id":160730,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:46:02] local.INFO: Acknowledgment sent {"connection_id":160730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:46:06] local.INFO: TCP Data received {"connection_id":160730,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027405a60012d7e494005e02f100007015223..."} 
[2026-08-22 07:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027405a60012d7e494005e02f100007015223..."} 
[2026-08-22 07:46:06] local.INFO: Processing buffer {"connection_id":160730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027405a60012d7e494005e02f100007015223..."} 
[2026-08-22 07:46:06] local.INFO: Packet analysis {"connection_id":160730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02740"} 
[2026-08-22 07:46:06] local.INFO: Extracted packet for processing {"connection_id":160730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02740"} 
[2026-08-22 07:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763251008,"raw_latitude":98578192,"longitude_deg":76.3251008,"latitude_deg":9.8578192,"altitude":7,"angle":338,"satellites":35,"speed":37,"hex_longitude":"2d7e4940","hex_latitude":"05e02f10","is_valid_coordinates":true} 
[2026-08-22 07:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565418240001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122214978034860032,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103534090753927168,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:06] 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-22 07:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787364924000,"timestamp_ms":1787364924000,"timestamp_seconds":1787364924,"priority":1,"record_length":96,"hex_timestamp":"000001a027405a60"} 
[2026-08-22 07:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:46: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-22 07:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-22 07:46: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-22 07:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:46: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-22 07:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565418240001,"66":13319,"207":206,"85":15104,"24":37,"16":122214978034860032,"45":9103534090753927168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 07:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565418240001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:46:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 07:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122214978034860032,"km_value":122214978034860.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103534090753927168,"description":"Unknown IO ID 45"} 
[2026-08-22 07:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565418240001,"power":13319,"unknown_207":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9103534090753927168}} 
[2026-08-22 07:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":160730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:46:06] local.INFO: GPS data processed {"connection_id":160730,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:46:06] local.INFO: Acknowledgment sent {"connection_id":160730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:46:27] local.INFO: TCP Data received {"connection_id":159580,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:46:27] local.INFO: Processing buffer {"connection_id":159580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:46:27] local.INFO: Packet analysis {"connection_id":159580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:46:27] local.INFO: Extracted packet for processing {"connection_id":159580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565329920001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46: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-22 07:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787364862000,"timestamp_ms":1787364862000,"timestamp_seconds":1787364862,"priority":1,"record_length":96,"hex_timestamp":"000001a0273f6830"} 
[2026-08-22 07: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-22 07:46:27] 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-22 07:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:46:27] 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-22 07: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-22 07: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-22 07:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565329920001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565329920001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:46:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565329920001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":159580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:46:27] local.INFO: GPS data processed {"connection_id":159580,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:46:27] local.INFO: Acknowledgment sent {"connection_id":159580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:46:31] local.INFO: TCP Data received {"connection_id":159835,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273dfce8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273dfce8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:46:31] local.INFO: Processing buffer {"connection_id":159835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273dfce8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:46:31] local.INFO: Packet analysis {"connection_id":159835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273d"} 
[2026-08-22 07:46:31] local.INFO: Extracted packet for processing {"connection_id":159835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273d"} 
[2026-08-22 07:46:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565375488001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787364769000,"timestamp_ms":1787364769000,"timestamp_seconds":1787364769,"priority":1,"record_length":96,"hex_timestamp":"000001a0273dfce8"} 
[2026-08-22 07: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-22 07:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 07:46:31] 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-22 07: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-22 07: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-22 07:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:46:31] 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-22 07:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565375488001,"66":12374,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565375488001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:46:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:46:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565375488001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":159835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:46:31] local.INFO: GPS data processed {"connection_id":159835,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:46:31] local.INFO: Acknowledgment sent {"connection_id":159835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:46:37] local.INFO: TCP Data received {"connection_id":160730,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027415460012d7e12c005e10e580009001323..."} 
[2026-08-22 07:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027415460012d7e12c005e10e580009001323..."} 
[2026-08-22 07:46:37] local.INFO: Processing buffer {"connection_id":160730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027415460012d7e12c005e10e580009001323..."} 
[2026-08-22 07:46:37] local.INFO: Packet analysis {"connection_id":160730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02741"} 
[2026-08-22 07:46:37] local.INFO: Extracted packet for processing {"connection_id":160730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02741"} 
[2026-08-22 07:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763237056,"raw_latitude":98635352,"longitude_deg":76.3237056,"latitude_deg":9.8635352,"altitude":9,"angle":19,"satellites":35,"speed":35,"hex_longitude":"2d7e12c0","hex_latitude":"05e10e58","is_valid_coordinates":true} 
[2026-08-22 07:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565436416001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122217997396869120,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084041948633210880,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:37] 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-22 07:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787364988000,"timestamp_ms":1787364988000,"timestamp_seconds":1787364988,"priority":1,"record_length":96,"hex_timestamp":"000001a027415460"} 
[2026-08-22 07:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:46:37] 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-22 07:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-22 07:46:37] 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-22 07:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:46:37] 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-22 07:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565436416001,"66":13580,"105":206,"85":15104,"24":35,"16":122217997396869120,"45":9084041948633210880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-22 07:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565436416001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:46:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 07:46:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122217997396869120,"km_value":122217997396869.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084041948633210880,"description":"Unknown IO ID 45"} 
[2026-08-22 07:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565436416001,"power":13580,"unknown_105":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9084041948633210880}} 
[2026-08-22 07:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":160730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:46:37] local.INFO: GPS data processed {"connection_id":160730,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:46:37] local.INFO: Acknowledgment sent {"connection_id":160730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:46:49] local.INFO: TCP Data received {"connection_id":159581,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:46:49] local.INFO: Processing buffer {"connection_id":159581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:46:49] local.INFO: IMEI packet received {"connection_id":159581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":159581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:46:53] local.INFO: TCP Data received {"connection_id":159582,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:46:53] local.INFO: Processing buffer {"connection_id":159582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:46:53] local.INFO: IMEI packet received {"connection_id":159582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":159582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:46:55] local.INFO: TCP Data received {"connection_id":159581,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:46:55] local.INFO: Processing buffer {"connection_id":159581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:46:55] local.INFO: IMEI packet received {"connection_id":159581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":159581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:46:56] local.INFO: TCP Data received {"connection_id":159581,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:46:56] local.INFO: Processing buffer {"connection_id":159581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:46:56] local.INFO: Packet analysis {"connection_id":159581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:46:56] local.INFO: Extracted packet for processing {"connection_id":159581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565329920001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07: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-22 07:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787364862000,"timestamp_ms":1787364862000,"timestamp_seconds":1787364862,"priority":1,"record_length":96,"hex_timestamp":"000001a0273f6830"} 
[2026-08-22 07: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-22 07:46:56] 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-22 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:46:56] 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-22 07: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-22 07: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-22 07:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565329920001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565329920001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:46:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565329920001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":159581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:46:56] local.INFO: GPS data processed {"connection_id":159581,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:46:56] local.INFO: Acknowledgment sent {"connection_id":159581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:46:56] local.INFO: TCP Data received {"connection_id":159836,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:46:56] local.INFO: Processing buffer {"connection_id":159836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:46:56] local.INFO: IMEI packet received {"connection_id":159836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":159836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:46:57] local.INFO: TCP Data received {"connection_id":159582,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:46:57] local.INFO: Processing buffer {"connection_id":159582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:46:57] local.INFO: IMEI packet received {"connection_id":159582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":159582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:46:58] local.INFO: TCP Data received {"connection_id":159836,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:46:58] local.INFO: Processing buffer {"connection_id":159836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:46:58] local.INFO: IMEI packet received {"connection_id":159836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":159836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:46:58] local.INFO: TCP Data received {"connection_id":159582,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:46:58] local.INFO: Processing buffer {"connection_id":159582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:46:58] local.INFO: IMEI packet received {"connection_id":159582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":159582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:46:59] local.INFO: TCP Data received {"connection_id":159582,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273e4ef0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273e4ef0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:46:59] local.INFO: Processing buffer {"connection_id":159582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273e4ef0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:46:59] local.INFO: Packet analysis {"connection_id":159582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273e"} 
[2026-08-22 07:46:59] local.INFO: Extracted packet for processing {"connection_id":159582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273e"} 
[2026-08-22 07:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565380864001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:46: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-22 07:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787364790000,"timestamp_ms":1787364790000,"timestamp_seconds":1787364790,"priority":1,"record_length":96,"hex_timestamp":"000001a0273e4ef0"} 
[2026-08-22 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-22 07:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 07:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:46:59] 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-22 07:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565380864001,"66":12363,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565380864001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:46:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565380864001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":159582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:46:59] local.INFO: GPS data processed {"connection_id":159582,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:46:59] local.INFO: Acknowledgment sent {"connection_id":159582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:47:02] local.INFO: TCP Data received {"connection_id":159836,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:47:02] local.INFO: Processing buffer {"connection_id":159836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:47:02] local.INFO: IMEI packet received {"connection_id":159836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":159836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:47:03] local.INFO: TCP Data received {"connection_id":159836,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027415c30012d7e15c005e114c00009001f22..."} 
[2026-08-22 07:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027415c30012d7e15c005e114c00009001f22..."} 
[2026-08-22 07:47:03] local.INFO: Processing buffer {"connection_id":159836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027415c30012d7e15c005e114c00009001f22..."} 
[2026-08-22 07:47:03] local.INFO: Packet analysis {"connection_id":159836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02741"} 
[2026-08-22 07:47:03] local.INFO: Extracted packet for processing {"connection_id":159836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02741"} 
[2026-08-22 07:47:03] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":98636992,"longitude_deg":76.3237824,"latitude_deg":9.8636992,"altitude":9,"angle":31,"satellites":34,"speed":37,"hex_longitude":"2d7e15c0","hex_latitude":"05e114c0","is_valid_coordinates":true} 
[2026-08-22 07:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565436928001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122218083296215040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084534529842894848,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:03] 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-22 07:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787364990000,"timestamp_ms":1787364990000,"timestamp_seconds":1787364990,"priority":1,"record_length":96,"hex_timestamp":"000001a027415c30"} 
[2026-08-22 07:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 07:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751624755,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3324219642456571914,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:03] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040088,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:03] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3376939017,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:03] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634368462182504,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1483210958,"corrected_to":0} 
[2026-08-22 07:47:03] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2684431742,"corrected_to":0} 
[2026-08-22 07:47:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3770808320,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:03] local.WARNING: Large IO value detected {"io_id":126,"raw_value":2702166239118098441,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:03] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521790011741778347,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:03] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755566944911601,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,85,24,241,157,16,52,160,76,45,7,9,35,10,66,57,244,1,240,166,227,51,39,224,4,113,205,29,246,17,239,104,2,178,5,8,126,49,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1483210958,"validated":0},{"io_id":246,"original":2684431742,"validated":0}]} 
[2026-08-22 07:47:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648539387388428288,"timestamp_seconds":648539387388428.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:47:03] 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-22 07:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565436928001,"66":13580,"105":206,"85":15104,"24":37,"16":122218083296215040,"45":9084534529842894848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-22 07:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565436928001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:47:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 07:47:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122218083296215040,"km_value":122218083296215.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084534529842894848,"description":"Unknown IO ID 45"} 
[2026-08-22 07:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565436928001,"power":13580,"unknown_105":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9084534529842894848}} 
[2026-08-22 07:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":159836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:47:03] local.INFO: GPS data processed {"connection_id":159836,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:47:03] local.INFO: Acknowledgment sent {"connection_id":159836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:47:27] local.INFO: TCP Data received {"connection_id":159581,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:47:27] local.INFO: Processing buffer {"connection_id":159581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:47:27] local.INFO: Packet analysis {"connection_id":159581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:47:27] local.INFO: Extracted packet for processing {"connection_id":159581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565329920001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47: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-22 07:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787364862000,"timestamp_ms":1787364862000,"timestamp_seconds":1787364862,"priority":1,"record_length":96,"hex_timestamp":"000001a0273f6830"} 
[2026-08-22 07: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-22 07:47:27] 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-22 07:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:47:27] 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-22 07: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-22 07: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-22 07:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565329920001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565329920001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:47:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:47:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565329920001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":159581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:47:27] local.INFO: GPS data processed {"connection_id":159581,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:47:27] local.INFO: Acknowledgment sent {"connection_id":159581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:47:30] local.INFO: TCP Data received {"connection_id":159582,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273ea0f8012d196940071fedd8003e011c25..."} 
[2026-08-22 07:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273ea0f8012d196940071fedd8003e011c25..."} 
[2026-08-22 07:47:30] local.INFO: Processing buffer {"connection_id":159582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273ea0f8012d196940071fedd8003e011c25..."} 
[2026-08-22 07:47:30] local.INFO: Packet analysis {"connection_id":159582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273e"} 
[2026-08-22 07:47:30] local.INFO: Extracted packet for processing {"connection_id":159582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273e"} 
[2026-08-22 07:47:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565386240001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47: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-22 07:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787364811000,"timestamp_ms":1787364811000,"timestamp_seconds":1787364811,"priority":1,"record_length":96,"hex_timestamp":"000001a0273ea0f8"} 
[2026-08-22 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-22 07:47: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-22 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-22 07:47:30] 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-22 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-22 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-22 07:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:47:30] 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-22 07:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565386240001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565386240001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:47:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:47:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565386240001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":159582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:47:30] local.INFO: GPS data processed {"connection_id":159582,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:47:30] local.INFO: Acknowledgment sent {"connection_id":159582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:47:37] local.INFO: TCP Data received {"connection_id":159836,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027416fb8012d7e1e8005e125a8000a000e23..."} 
[2026-08-22 07:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027416fb8012d7e1e8005e125a8000a000e23..."} 
[2026-08-22 07:47:37] local.INFO: Processing buffer {"connection_id":159836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027416fb8012d7e1e8005e125a8000a000e23..."} 
[2026-08-22 07:47:37] local.INFO: Packet analysis {"connection_id":159836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02741"} 
[2026-08-22 07:47:37] local.INFO: Extracted packet for processing {"connection_id":159836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02741"} 
[2026-08-22 07:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763240064,"raw_latitude":98641320,"longitude_deg":76.3240064,"latitude_deg":9.864132,"altitude":10,"angle":14,"satellites":35,"speed":40,"hex_longitude":"2d7e1e80","hex_latitude":"05e125a8","is_valid_coordinates":true} 
[2026-08-22 07:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565437440001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122218319519416320,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954773446656,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:37] 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-22 07:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787364995000,"timestamp_ms":1787364995000,"timestamp_seconds":1787364995,"priority":1,"record_length":96,"hex_timestamp":"000001a027416fb8"} 
[2026-08-22 07:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:47:37] 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-22 07:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 07:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751624755,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4405364985052528650,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:37] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3492806665,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634368462182504,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1483276494,"corrected_to":0} 
[2026-08-22 07:47:37] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366680,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3770947584,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:37] local.WARNING: Large IO value detected {"io_id":126,"raw_value":1387115148115181576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:37] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-2593847605779706283,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:37] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:37] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,85,24,241,157,16,52,160,84,45,192,14,9,35,10,66,76,7,57,1,240,242,227,39,224,4,113,205,18,254,15,72,239,49,104,2,178,5,27,126,51,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1483276494,"validated":0}]} 
[2026-08-22 07:47:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648552577233125376,"timestamp_seconds":648552577233125.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:47:37] 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-22 07:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565437440001,"66":13091,"105":206,"85":15104,"24":40,"16":122218319519416320,"45":9085378954773446656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-22 07:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565437440001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:47:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 07:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122218319519416320,"km_value":122218319519416.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954773446656,"description":"Unknown IO ID 45"} 
[2026-08-22 07:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565437440001,"power":13091,"unknown_105":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9085378954773446656}} 
[2026-08-22 07:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":159836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:47:37] local.INFO: GPS data processed {"connection_id":159836,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:47:37] local.INFO: Acknowledgment sent {"connection_id":159836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:47:49] local.INFO: TCP Data received {"connection_id":159837,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:47:49] local.INFO: Processing buffer {"connection_id":159837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:47:49] local.INFO: IMEI packet received {"connection_id":159837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":159837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:47:53] local.INFO: TCP Data received {"connection_id":162153,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:47:53] local.INFO: Processing buffer {"connection_id":162153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:47:53] local.INFO: IMEI packet received {"connection_id":162153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":162153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:47:55] local.INFO: TCP Data received {"connection_id":159837,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:47:55] local.INFO: Processing buffer {"connection_id":159837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:47:55] local.INFO: IMEI packet received {"connection_id":159837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":159837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:47:55] local.INFO: TCP Data received {"connection_id":159837,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:47:55] local.INFO: Processing buffer {"connection_id":159837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:47:55] local.INFO: Packet analysis {"connection_id":159837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:47:55] local.INFO: Extracted packet for processing {"connection_id":159837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565329920001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47: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-22 07:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787364862000,"timestamp_ms":1787364862000,"timestamp_seconds":1787364862,"priority":1,"record_length":96,"hex_timestamp":"000001a0273f6830"} 
[2026-08-22 07: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-22 07:47:55] 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-22 07:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:47: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-22 07: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-22 07: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-22 07:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565329920001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565329920001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:47:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:47:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565329920001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":159837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:47:55] local.INFO: GPS data processed {"connection_id":159837,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:47:55] local.INFO: Acknowledgment sent {"connection_id":159837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:47:56] local.INFO: TCP Data received {"connection_id":159838,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:47:56] local.INFO: Processing buffer {"connection_id":159838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:47:56] local.INFO: IMEI packet received {"connection_id":159838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":159838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:47:59] local.INFO: TCP Data received {"connection_id":162153,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:47:59] local.INFO: Processing buffer {"connection_id":162153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:47:59] local.INFO: IMEI packet received {"connection_id":162153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":162153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:47:59] local.INFO: TCP Data received {"connection_id":162153,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273ef300012d196940071fedd8003e011c26..."} 
[2026-08-22 07:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273ef300012d196940071fedd8003e011c26..."} 
[2026-08-22 07:47:59] local.INFO: Processing buffer {"connection_id":162153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273ef300012d196940071fedd8003e011c26..."} 
[2026-08-22 07:47:59] local.INFO: Packet analysis {"connection_id":162153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273e"} 
[2026-08-22 07:47:59] local.INFO: Extracted packet for processing {"connection_id":162153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273e"} 
[2026-08-22 07:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565391616001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47: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-22 07:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787364832000,"timestamp_ms":1787364832000,"timestamp_seconds":1787364832,"priority":1,"record_length":96,"hex_timestamp":"000001a0273ef300"} 
[2026-08-22 07: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-22 07:47:59] 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-22 07: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 07:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2827243242874804585,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79981774339309568,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244305903822,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 07:47:59] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-08-22 07:47:59] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,78,45,64,237,62,38,10,66,252,170,1,240,86,227,39,31,4,113,205,6,105,216,32,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 07:47:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883250567610368,"timestamp_seconds":4467883250567610.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07: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-22 07:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:47:59] 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-22 07:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565391616001,"66":12363,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565391616001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:47:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565391616001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":162153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:48:00] local.INFO: GPS data processed {"connection_id":162153,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:48:00] local.INFO: Acknowledgment sent {"connection_id":162153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:48:01] local.INFO: TCP Data received {"connection_id":159838,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:48:01] local.INFO: Processing buffer {"connection_id":159838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:48:01] local.INFO: IMEI packet received {"connection_id":159838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":159838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:48:02] local.INFO: TCP Data received {"connection_id":159838,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0274261e8012d7e27c005e20da80008013522..."} 
[2026-08-22 07:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274261e8012d7e27c005e20da80008013522..."} 
[2026-08-22 07:48:02] local.INFO: Processing buffer {"connection_id":159838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274261e8012d7e27c005e20da80008013522..."} 
[2026-08-22 07:48:02] local.INFO: Packet analysis {"connection_id":159838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02742"} 
[2026-08-22 07:48:02] local.INFO: Extracted packet for processing {"connection_id":159838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02742"} 
[2026-08-22 07:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763242432,"raw_latitude":98700712,"longitude_deg":76.3242432,"latitude_deg":9.8700712,"altitude":8,"angle":309,"satellites":34,"speed":23,"hex_longitude":"2d7e27c0","hex_latitude":"05e20da8","is_valid_coordinates":true} 
[2026-08-22 07:48: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-22 07:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565454336001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122221278751883264,"note":"Value kept but may cause issues"} 
[2026-08-22 07:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090938085579700224,"note":"Value kept but may cause issues"} 
[2026-08-22 07:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787365057000,"timestamp_ms":1787365057000,"timestamp_seconds":1787365057,"priority":1,"record_length":96,"hex_timestamp":"000001a0274261e8"} 
[2026-08-22 07:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:48: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-22 07:48: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-22 07:48:02] 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-22 07:48: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-22 07:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:48:02] 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-22 07:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565454336001,"66":13222,"60":206,"85":15104,"24":23,"16":122221278751883264,"45":9090938085579700224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-22 07:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565454336001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:48:02] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-22 07:48:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122221278751883264,"km_value":122221278751883.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090938085579700224,"description":"Unknown IO ID 45"} 
[2026-08-22 07:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565454336001,"power":13222,"unknown_60":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9090938085579700224}} 
[2026-08-22 07:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":159838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:48:02] local.INFO: GPS data processed {"connection_id":159838,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:48:02] local.INFO: Acknowledgment sent {"connection_id":159838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:48:27] local.INFO: TCP Data received {"connection_id":159837,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:48:27] local.INFO: Processing buffer {"connection_id":159837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:48:27] local.INFO: Packet analysis {"connection_id":159837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:48:27] local.INFO: Extracted packet for processing {"connection_id":159837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565329920001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:48: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-22 07:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787364862000,"timestamp_ms":1787364862000,"timestamp_seconds":1787364862,"priority":1,"record_length":96,"hex_timestamp":"000001a0273f6830"} 
[2026-08-22 07:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:48:27] 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-22 07:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:48:27] 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-22 07:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565329920001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565329920001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:48:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565329920001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":159837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:48:27] local.INFO: GPS data processed {"connection_id":159837,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:48:27] local.INFO: Acknowledgment sent {"connection_id":159837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:48:31] local.INFO: TCP Data received {"connection_id":162153,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273f4508012d196940071fedd8003e011c25..."} 
[2026-08-22 07:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273f4508012d196940071fedd8003e011c25..."} 
[2026-08-22 07:48:31] local.INFO: Processing buffer {"connection_id":162153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273f4508012d196940071fedd8003e011c25..."} 
[2026-08-22 07:48:31] local.INFO: Packet analysis {"connection_id":162153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:48:31] local.INFO: Extracted packet for processing {"connection_id":162153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:48:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07:48: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-22 07:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565396992001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787364853000,"timestamp_ms":1787364853000,"timestamp_seconds":1787364853,"priority":1,"record_length":96,"hex_timestamp":"000001a0273f4508"} 
[2026-08-22 07:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:48:31] 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-22 07:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-22 07:48:31] 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-22 07:48: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-22 07:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:48:31] 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-22 07:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565396992001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565396992001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:48:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:48:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565396992001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":162153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:48:31] local.INFO: GPS data processed {"connection_id":162153,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:48:31] local.INFO: Acknowledgment sent {"connection_id":162153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:48:33] local.INFO: TCP Data received {"connection_id":159838,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0274265d0012d7e254005e20eb80008012622..."} 
[2026-08-22 07:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274265d0012d7e254005e20eb80008012622..."} 
[2026-08-22 07:48:33] local.INFO: Processing buffer {"connection_id":159838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274265d0012d7e254005e20eb80008012622..."} 
[2026-08-22 07:48:33] local.INFO: Packet analysis {"connection_id":159838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02742"} 
[2026-08-22 07:48:33] local.INFO: Extracted packet for processing {"connection_id":159838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02742"} 
[2026-08-22 07:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763241792,"raw_latitude":98700984,"longitude_deg":76.3241792,"latitude_deg":9.8700984,"altitude":8,"angle":294,"satellites":34,"speed":25,"hex_longitude":"2d7e2540","hex_latitude":"05e20eb8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565454592001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122221308816654336,"note":"Value kept but may cause issues"} 
[2026-08-22 07:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090445504370550784,"note":"Value kept but may cause issues"} 
[2026-08-22 07:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787365058000,"timestamp_ms":1787365058000,"timestamp_seconds":1787365058,"priority":1,"record_length":96,"hex_timestamp":"000001a0274265d0"} 
[2026-08-22 07: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-22 07:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-22 07:48:33] 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-22 07: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-22 07: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-22 07:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:48:33] 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-22 07:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565454592001,"66":13222,"60":206,"85":15104,"24":25,"16":122221308816654336,"45":9090445504370550784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-22 07:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565454592001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:48:33] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-22 07:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122221308816654336,"km_value":122221308816654.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090445504370550784,"description":"Unknown IO ID 45"} 
[2026-08-22 07:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565454592001,"power":13222,"unknown_60":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9090445504370550784}} 
[2026-08-22 07:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":159838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:48:33] local.INFO: GPS data processed {"connection_id":159838,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:48:33] local.INFO: Acknowledgment sent {"connection_id":159838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:48:49] local.INFO: TCP Data received {"connection_id":160731,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:48:49] local.INFO: Processing buffer {"connection_id":160731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:48:49] local.INFO: IMEI packet received {"connection_id":160731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":160731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:48:55] local.INFO: TCP Data received {"connection_id":160731,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:48:55] local.INFO: Processing buffer {"connection_id":160731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:48:55] local.INFO: IMEI packet received {"connection_id":160731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":160731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:48:56] local.INFO: TCP Data received {"connection_id":160731,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:48:56] local.INFO: Processing buffer {"connection_id":160731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:48:56] local.INFO: Packet analysis {"connection_id":160731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:48:56] local.INFO: Extracted packet for processing {"connection_id":160731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565329920001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07: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-22 07:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787364862000,"timestamp_ms":1787364862000,"timestamp_seconds":1787364862,"priority":1,"record_length":96,"hex_timestamp":"000001a0273f6830"} 
[2026-08-22 07: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-22 07:48:56] 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-22 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:48:56] 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-22 07: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-22 07: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-22 07:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565329920001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565329920001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:48:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565329920001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":160731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:48:56] local.INFO: GPS data processed {"connection_id":160731,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:48:56] local.INFO: Acknowledgment sent {"connection_id":160731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:48:57] local.INFO: TCP Data received {"connection_id":159839,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:48:57] local.INFO: Processing buffer {"connection_id":159839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:48:57] local.INFO: IMEI packet received {"connection_id":159839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":159839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:48:59] local.INFO: TCP Data received {"connection_id":162154,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:48:59] local.INFO: Processing buffer {"connection_id":162154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:48:59] local.INFO: IMEI packet received {"connection_id":162154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":162154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:49:01] local.INFO: TCP Data received {"connection_id":159839,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:49:01] local.INFO: Processing buffer {"connection_id":159839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:49:01] local.INFO: IMEI packet received {"connection_id":159839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":159839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:49:03] local.INFO: TCP Data received {"connection_id":162154,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:49:03] local.INFO: Processing buffer {"connection_id":162154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:49:03] local.INFO: IMEI packet received {"connection_id":162154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":162154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:49:03] local.INFO: TCP Data received {"connection_id":162154,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273f9710012d196940071fedd8003e011c26..."} 
[2026-08-22 07:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273f9710012d196940071fedd8003e011c26..."} 
[2026-08-22 07:49:03] local.INFO: Processing buffer {"connection_id":162154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273f9710012d196940071fedd8003e011c26..."} 
[2026-08-22 07:49:03] local.INFO: Packet analysis {"connection_id":162154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:49:03] local.INFO: Extracted packet for processing {"connection_id":162154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:49:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565402368001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787364874000,"timestamp_ms":1787364874000,"timestamp_seconds":1787364874,"priority":1,"record_length":96,"hex_timestamp":"000001a0273f9710"} 
[2026-08-22 07:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:49:03] 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-22 07:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 07:49:03] 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-22 07:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:49:03] 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-22 07:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565402368001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565402368001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:49:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565402368001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":162154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:49:03] local.INFO: GPS data processed {"connection_id":162154,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:49:03] local.INFO: Acknowledgment sent {"connection_id":162154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:49:04] local.INFO: TCP Data received {"connection_id":162154,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0273fe918012d196940071fedd8003e011c27..."} 
[2026-08-22 07:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273fe918012d196940071fedd8003e011c27..."} 
[2026-08-22 07:49:04] local.INFO: Processing buffer {"connection_id":162154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273fe918012d196940071fedd8003e011c27..."} 
[2026-08-22 07:49:04] local.INFO: Packet analysis {"connection_id":162154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:49:04] local.INFO: Extracted packet for processing {"connection_id":162154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565407744001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787364895000,"timestamp_ms":1787364895000,"timestamp_seconds":1787364895,"priority":1,"record_length":96,"hex_timestamp":"000001a0273fe918"} 
[2026-08-22 07: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-22 07:49:04] 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-22 07: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 07:49:04] 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-22 07: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-22 07: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-22 07:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:49:04] 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-22 07:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565407744001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565407744001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:49:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565407744001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":162154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:49:04] local.INFO: GPS data processed {"connection_id":162154,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:49:04] local.INFO: Acknowledgment sent {"connection_id":162154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:49:06] local.INFO: TCP Data received {"connection_id":159839,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:49:06] local.INFO: Processing buffer {"connection_id":159839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:49:06] local.INFO: IMEI packet received {"connection_id":159839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":159839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:49:07] local.INFO: TCP Data received {"connection_id":159839,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027426da0012d7e1f0005e20fd00008011820..."} 
[2026-08-22 07:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027426da0012d7e1f0005e20fd00008011820..."} 
[2026-08-22 07:49:07] local.INFO: Processing buffer {"connection_id":159839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027426da0012d7e1f0005e20fd00008011820..."} 
[2026-08-22 07:49:07] local.INFO: Packet analysis {"connection_id":159839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02742"} 
[2026-08-22 07:49:07] local.INFO: Extracted packet for processing {"connection_id":159839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02742"} 
[2026-08-22 07:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763240192,"raw_latitude":98701264,"longitude_deg":76.3240192,"latitude_deg":9.8701264,"altitude":8,"angle":280,"satellites":32,"speed":33,"hex_longitude":"2d7e1f00","hex_latitude":"05e20fd0","is_valid_coordinates":true} 
[2026-08-22 07:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565454848001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122221386126065664,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089741816928843776,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787365060000,"timestamp_ms":1787365060000,"timestamp_seconds":1787365060,"priority":1,"record_length":96,"hex_timestamp":"000001a027426da0"} 
[2026-08-22 07:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:49: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-22 07:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-22 07:49: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-22 07:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:49: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-22 07:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565454848001,"66":13091,"60":206,"85":15104,"24":33,"16":122221386126065664,"45":9089741816928843776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-22 07:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565454848001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:49:07] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-22 07:49:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122221386126065664,"km_value":122221386126065.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089741816928843776,"description":"Unknown IO ID 45"} 
[2026-08-22 07:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565454848001,"power":13091,"unknown_60":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9089741816928843776}} 
[2026-08-22 07:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":159839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:49:07] local.INFO: GPS data processed {"connection_id":159839,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:49:07] local.INFO: Acknowledgment sent {"connection_id":159839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:49:10] local.INFO: TCP Data received {"connection_id":159839,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0274294b0012d7dfd0005e21370000a010820..."} 
[2026-08-22 07:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274294b0012d7dfd0005e21370000a010820..."} 
[2026-08-22 07:49:10] local.INFO: Processing buffer {"connection_id":159839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274294b0012d7dfd0005e21370000a010820..."} 
[2026-08-22 07:49:10] local.INFO: Packet analysis {"connection_id":159839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02742"} 
[2026-08-22 07:49:10] local.INFO: Extracted packet for processing {"connection_id":159839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02742"} 
[2026-08-22 07:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763231488,"raw_latitude":98702192,"longitude_deg":76.3231488,"latitude_deg":9.8702192,"altitude":10,"angle":264,"satellites":32,"speed":34,"hex_longitude":"2d7dfd00","hex_latitude":"05e21370","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565455360001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122221807032860672,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087982598324473856,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:10] 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-22 07:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787365070000,"timestamp_ms":1787365070000,"timestamp_seconds":1787365070,"priority":1,"record_length":96,"hex_timestamp":"000001a0274294b0"} 
[2026-08-22 07: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-22 07:49:10] 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-22 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-22 07:49:10] 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-22 07: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-22 07: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-22 07:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:49:10] 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-22 07:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565455360001,"66":13396,"61":206,"85":15104,"24":34,"16":122221807032860672,"45":9087982598324473856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-22 07:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565455360001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:49:10] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-22 07:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122221807032860672,"km_value":122221807032860.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087982598324473856,"description":"Unknown IO ID 45"} 
[2026-08-22 07:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565455360001,"power":13396,"unknown_61":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9087982598324473856}} 
[2026-08-22 07:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":159839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:49:10] local.INFO: GPS data processed {"connection_id":159839,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:49:10] local.INFO: Acknowledgment sent {"connection_id":159839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:49:27] local.INFO: TCP Data received {"connection_id":160731,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:49:27] local.INFO: Processing buffer {"connection_id":160731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0273f6830012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:49:27] local.INFO: Packet analysis {"connection_id":160731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:49:27] local.INFO: Extracted packet for processing {"connection_id":160731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0273f"} 
[2026-08-22 07:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565329920001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49: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-22 07:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787364862000,"timestamp_ms":1787364862000,"timestamp_seconds":1787364862,"priority":1,"record_length":96,"hex_timestamp":"000001a0273f6830"} 
[2026-08-22 07: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-22 07:49:27] 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-22 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:49:27] 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-22 07: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-22 07: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-22 07:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565329920001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565329920001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:49:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565329920001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":160731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:49:27] local.INFO: GPS data processed {"connection_id":160731,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:49:27] local.INFO: Acknowledgment sent {"connection_id":160731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:49:35] local.INFO: TCP Data received {"connection_id":162154,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027403b20012d196940071fedd8003e011c27..."} 
[2026-08-22 07:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027403b20012d196940071fedd8003e011c27..."} 
[2026-08-22 07:49:35] local.INFO: Processing buffer {"connection_id":162154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027403b20012d196940071fedd8003e011c27..."} 
[2026-08-22 07:49:35] local.INFO: Packet analysis {"connection_id":162154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02740"} 
[2026-08-22 07:49:35] local.INFO: Extracted packet for processing {"connection_id":162154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02740"} 
[2026-08-22 07:49:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565413120001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787364916000,"timestamp_ms":1787364916000,"timestamp_seconds":1787364916,"priority":1,"record_length":96,"hex_timestamp":"000001a027403b20"} 
[2026-08-22 07:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:49:35] 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-22 07:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 07:49:35] 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-22 07:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":162154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":162154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":162154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:49:35] 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-22 07:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565413120001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565413120001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:49:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565413120001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":162154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:49:35] local.INFO: GPS data processed {"connection_id":162154,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:49:35] local.INFO: Acknowledgment sent {"connection_id":162154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:49:41] local.INFO: TCP Data received {"connection_id":159839,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027429c80012d7df64005e211b8000b00fc21..."} 
[2026-08-22 07:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027429c80012d7df64005e211b8000b00fc21..."} 
[2026-08-22 07:49:41] local.INFO: Processing buffer {"connection_id":159839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027429c80012d7df64005e211b8000b00fc21..."} 
[2026-08-22 07:49:41] local.INFO: Packet analysis {"connection_id":159839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02742"} 
[2026-08-22 07:49:41] local.INFO: Extracted packet for processing {"connection_id":159839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02742"} 
[2026-08-22 07:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763229760,"raw_latitude":98701752,"longitude_deg":76.322976,"latitude_deg":9.8701752,"altitude":11,"angle":252,"satellites":33,"speed":36,"hex_longitude":"2d7df640","hex_latitude":"05e211b8","is_valid_coordinates":true} 
[2026-08-22 07:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565457920001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122221892932206592,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9078412449116549120,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:41] 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-22 07:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787365072000,"timestamp_ms":1787365072000,"timestamp_seconds":1787365072,"priority":1,"record_length":96,"hex_timestamp":"000001a027429c80"} 
[2026-08-22 07:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:49:41] 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-22 07:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-22 07:49:41] 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-22 07:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:49: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-22 07:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565457920001,"66":13319,"61":206,"85":15104,"24":36,"16":122221892932206592,"45":9078412449116549120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-22 07:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565457920001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:49:41] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-22 07:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122221892932206592,"km_value":122221892932206.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9078412449116549120,"description":"Unknown IO ID 45"} 
[2026-08-22 07:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565457920001,"power":13319,"unknown_61":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9078412449116549120}} 
[2026-08-22 07:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":159839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:49:41] local.INFO: GPS data processed {"connection_id":159839,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:49:41] local.INFO: Acknowledgment sent {"connection_id":159839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:49:53] local.INFO: TCP Data received {"connection_id":159840,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:49:53] local.INFO: Processing buffer {"connection_id":159840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:49:53] local.INFO: IMEI packet received {"connection_id":159840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":159840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:49:54] local.INFO: TCP Data received {"connection_id":162156,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:49:54] local.INFO: Processing buffer {"connection_id":162156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:49:54] local.INFO: IMEI packet received {"connection_id":162156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":162156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:49:55] local.INFO: TCP Data received {"connection_id":162155,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:49:55] local.INFO: Processing buffer {"connection_id":162155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:49:55] local.INFO: IMEI packet received {"connection_id":162155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":162155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:49:56] local.INFO: TCP Data received {"connection_id":162156,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:49:56] local.INFO: Processing buffer {"connection_id":162156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:49:56] local.INFO: IMEI packet received {"connection_id":162156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":162156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:49:59] local.INFO: TCP Data received {"connection_id":159840,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:49:59] local.INFO: Processing buffer {"connection_id":159840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:49:59] local.INFO: IMEI packet received {"connection_id":159840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":159840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:49:59] local.INFO: TCP Data received {"connection_id":159840,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027408d28012d196940071fedd8003e011c26..."} 
[2026-08-22 07:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027408d28012d196940071fedd8003e011c26..."} 
[2026-08-22 07:49:59] local.INFO: Processing buffer {"connection_id":159840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027408d28012d196940071fedd8003e011c26..."} 
[2026-08-22 07:49:59] local.INFO: Packet analysis {"connection_id":159840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02740"} 
[2026-08-22 07:49:59] local.INFO: Extracted packet for processing {"connection_id":159840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02740"} 
[2026-08-22 07:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565418496001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49: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-22 07:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787364937000,"timestamp_ms":1787364937000,"timestamp_seconds":1787364937,"priority":1,"record_length":96,"hex_timestamp":"000001a027408d28"} 
[2026-08-22 07: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-22 07:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 07:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2827694214440884585,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79980674827681792,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876019562086606,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 07:49:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 07:49:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,160,233,45,64,237,62,39,10,66,151,38,69,1,240,53,227,31,4,113,205,105,216,37,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 07:49:59] 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-22 07: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-22 07:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:49:59] 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-22 07:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565418496001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565418496001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:49:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:49:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565418496001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":159840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:49:59] local.INFO: GPS data processed {"connection_id":159840,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:49:59] local.INFO: Acknowledgment sent {"connection_id":159840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:50:00] local.INFO: TCP Data received {"connection_id":162155,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:50:00] local.INFO: Processing buffer {"connection_id":162155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:50:00] local.INFO: IMEI packet received {"connection_id":162155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":162155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:50:01] local.INFO: TCP Data received {"connection_id":162155,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:50:01] local.INFO: Processing buffer {"connection_id":162155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:50:01] local.INFO: Packet analysis {"connection_id":162155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:50:01] local.INFO: Extracted packet for processing {"connection_id":162155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565404672001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50: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-22 07:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787365155000,"timestamp_ms":1787365155000,"timestamp_seconds":1787365155,"priority":1,"record_length":96,"hex_timestamp":"000001a02743e0b8"} 
[2026-08-22 07: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-22 07:50:01] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565404672001,"66":25538,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565404672001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:50:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565404672001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":162155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:50:01] local.INFO: GPS data processed {"connection_id":162155,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:50:01] local.INFO: Acknowledgment sent {"connection_id":162155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:50:01] local.INFO: TCP Data received {"connection_id":162156,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:50:01] local.INFO: Processing buffer {"connection_id":162156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:50:01] local.INFO: IMEI packet received {"connection_id":162156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":162156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:50:02] local.INFO: TCP Data received {"connection_id":162156,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02742c390012d7dd40005e20288000b00f424..."} 
[2026-08-22 07:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02742c390012d7dd40005e20288000b00f424..."} 
[2026-08-22 07:50:02] local.INFO: Processing buffer {"connection_id":162156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02742c390012d7dd40005e20288000b00f424..."} 
[2026-08-22 07:50:02] local.INFO: Packet analysis {"connection_id":162156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02742"} 
[2026-08-22 07:50:02] local.INFO: Extracted packet for processing {"connection_id":162156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02742"} 
[2026-08-22 07:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763220992,"raw_latitude":98697864,"longitude_deg":76.3220992,"latitude_deg":9.8697864,"altitude":11,"angle":244,"satellites":36,"speed":42,"hex_longitude":"2d7dd400","hex_latitude":"05e20288","is_valid_coordinates":true} 
[2026-08-22 07:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565458432001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122222352493707264,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9076512493023639552,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:02] 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-22 07:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787365082000,"timestamp_ms":1787365082000,"timestamp_seconds":1787365082,"priority":1,"record_length":96,"hex_timestamp":"000001a02742c390"} 
[2026-08-22 07:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:50: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-22 07:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-22 07:50:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":6210465181045850117,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:02] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:02] local.WARNING: Large IO value detected {"io_id":226,"raw_value":587719785754403328,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805727438,"corrected_to":0} 
[2026-08-22 07:50:02] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2147869196,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792330752,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:02] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57886246379083067,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:02] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,61,85,24,241,157,16,56,160,148,45,19,10,32,66,109,15,8,60,55,101,64,1,240,166,227,39,226,4,113,205,23,94,41,34,239,51,2,178,5,79],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2805727438,"validated":0}]} 
[2026-08-22 07:50:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792910753083686912,"timestamp_seconds":792910753083686.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:50:02] 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-22 07:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565458432001,"66":13298,"61":206,"85":15104,"24":42,"16":122222352493707264,"45":9076512493023639552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-22 07:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565458432001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:50:02] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-22 07:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122222352493707264,"km_value":122222352493707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9076512493023639552,"description":"Unknown IO ID 45"} 
[2026-08-22 07:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565458432001,"power":13298,"unknown_61":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9076512493023639552}} 
[2026-08-22 07:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":162156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:50:02] local.INFO: GPS data processed {"connection_id":162156,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:50:02] local.INFO: Acknowledgment sent {"connection_id":162156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:50:05] local.INFO: TCP Data received {"connection_id":162155,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:50:05] local.INFO: Processing buffer {"connection_id":162155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:50:05] local.INFO: Packet analysis {"connection_id":162155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:50:05] local.INFO: Extracted packet for processing {"connection_id":162155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565404672001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:05] 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-22 07:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787365155000,"timestamp_ms":1787365155000,"timestamp_seconds":1787365155,"priority":1,"record_length":96,"hex_timestamp":"000001a02743e0b8"} 
[2026-08-22 07:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:50:05] 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-22 07:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565404672001,"66":25538,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565404672001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:50:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565404672001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":162155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:50:05] local.INFO: GPS data processed {"connection_id":162155,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:50:05] local.INFO: Acknowledgment sent {"connection_id":162155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:50:30] local.INFO: TCP Data received {"connection_id":159840,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02740df30012d196940071fedd8003e011c26..."} 
[2026-08-22 07:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02740df30012d196940071fedd8003e011c26..."} 
[2026-08-22 07:50:30] local.INFO: Processing buffer {"connection_id":159840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02740df30012d196940071fedd8003e011c26..."} 
[2026-08-22 07:50:30] local.INFO: Packet analysis {"connection_id":159840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02740"} 
[2026-08-22 07:50:30] local.INFO: Extracted packet for processing {"connection_id":159840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02740"} 
[2026-08-22 07:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565423872001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50: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-22 07:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787364958000,"timestamp_ms":1787364958000,"timestamp_seconds":1787364958,"priority":1,"record_length":96,"hex_timestamp":"000001a02740df30"} 
[2026-08-22 07: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-22 07:50:30] 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-22 07: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 07:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:50:30] 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-22 07:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565423872001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565423872001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:50:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:50:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565423872001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":159840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:50:31] local.INFO: GPS data processed {"connection_id":159840,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:50:31] local.INFO: Acknowledgment sent {"connection_id":159840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:50:34] local.INFO: TCP Data received {"connection_id":162156,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02744ea58012d7c604005e211f0000400ee22..."} 
[2026-08-22 07:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02744ea58012d7c604005e211f0000400ee22..."} 
[2026-08-22 07:50:34] local.INFO: Processing buffer {"connection_id":162156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02744ea58012d7c604005e211f0000400ee22..."} 
[2026-08-22 07:50:34] local.INFO: Packet analysis {"connection_id":162156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02744"} 
[2026-08-22 07:50:34] local.INFO: Extracted packet for processing {"connection_id":162156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02744"} 
[2026-08-22 07:50:34] local.INFO: GPS Element Parsed {"raw_longitude":763125824,"raw_latitude":98701808,"longitude_deg":76.3125824,"latitude_deg":9.8701808,"altitude":4,"angle":238,"satellites":34,"speed":11,"hex_longitude":"2d7c6040","hex_latitude":"05e211f0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565496320001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122226952403681280,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962937339920986112,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:34] 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-22 07:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787365223000,"timestamp_ms":1787365223000,"timestamp_seconds":1787365223,"priority":1,"record_length":96,"hex_timestamp":"000001a02744ea58"} 
[2026-08-22 07:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:50:34] 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-22 07:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-22 07:50:34] 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-22 07:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:50:34] 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-22 07:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565496320001,"66":13276,"61":206,"85":15104,"24":11,"16":122226952403681280,"45":8962937339920986112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-22 07:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565496320001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:50:34] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-22 07:50:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122226952403681280,"km_value":122226952403681.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962937339920986112,"description":"Unknown IO ID 45"} 
[2026-08-22 07:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565496320001,"power":13276,"unknown_61":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8962937339920986112}} 
[2026-08-22 07:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":162156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:50:34] local.INFO: GPS data processed {"connection_id":162156,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:50:34] local.INFO: Acknowledgment sent {"connection_id":162156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:50:49] local.INFO: TCP Data received {"connection_id":162157,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:50:49] local.INFO: Processing buffer {"connection_id":162157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:50:49] local.INFO: IMEI packet received {"connection_id":162157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":162157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:50:53] local.INFO: TCP Data received {"connection_id":160732,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:50:53] local.INFO: Processing buffer {"connection_id":160732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:50:53] local.INFO: IMEI packet received {"connection_id":160732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":160732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:50:55] local.INFO: TCP Data received {"connection_id":162157,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:50:55] local.INFO: Processing buffer {"connection_id":162157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:50:55] local.INFO: IMEI packet received {"connection_id":162157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":162157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:50:56] local.INFO: TCP Data received {"connection_id":162157,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:50:56] local.INFO: Processing buffer {"connection_id":162157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:50:56] local.INFO: Packet analysis {"connection_id":162157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:50:56] local.INFO: Extracted packet for processing {"connection_id":162157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565404672001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50: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-22 07:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787365155000,"timestamp_ms":1787365155000,"timestamp_seconds":1787365155,"priority":1,"record_length":96,"hex_timestamp":"000001a02743e0b8"} 
[2026-08-22 07: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-22 07:50:56] 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-22 07:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565404672001,"66":25538,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565404672001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:50:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565404672001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":162157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:50:56] local.INFO: GPS data processed {"connection_id":162157,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:50:56] local.INFO: Acknowledgment sent {"connection_id":162157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:50:56] local.INFO: TCP Data received {"connection_id":159841,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:50:56] local.INFO: Processing buffer {"connection_id":159841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:50:56] local.INFO: IMEI packet received {"connection_id":159841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":159841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:50:59] local.INFO: TCP Data received {"connection_id":160732,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:50:59] local.INFO: Processing buffer {"connection_id":160732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:50:59] local.INFO: IMEI packet received {"connection_id":160732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":160732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:50:59] local.INFO: TCP Data received {"connection_id":160732,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027412d50012d196940071fedd8003e011c26..."} 
[2026-08-22 07:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027412d50012d196940071fedd8003e011c26..."} 
[2026-08-22 07:50:59] local.INFO: Processing buffer {"connection_id":160732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027412d50012d196940071fedd8003e011c26..."} 
[2026-08-22 07:50:59] local.INFO: Packet analysis {"connection_id":160732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02741"} 
[2026-08-22 07:50:59] local.INFO: Extracted packet for processing {"connection_id":160732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02741"} 
[2026-08-22 07:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565429248001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50: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-22 07:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787364978000,"timestamp_ms":1787364978000,"timestamp_seconds":1787364978,"priority":1,"record_length":96,"hex_timestamp":"000001a027412d50"} 
[2026-08-22 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-22 07:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 07:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2827874603067316585,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79980674827681792,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876019562086606,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 07:50:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 07:50:59] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,141,45,64,237,62,38,10,66,59,39,233,1,240,255,227,31,4,113,205,69,105,216,37,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 07:50:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 07:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:50:59] 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-22 07:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565429248001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565429248001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:50:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565429248001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":160732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:50:59] local.INFO: GPS data processed {"connection_id":160732,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:50:59] local.INFO: Acknowledgment sent {"connection_id":160732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:51:01] local.INFO: TCP Data received {"connection_id":159841,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:51:01] local.INFO: Processing buffer {"connection_id":159841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:51:01] local.INFO: IMEI packet received {"connection_id":159841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":159841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:51:02] local.INFO: TCP Data received {"connection_id":159841,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02744f610012d7c5e0005e20f88000300da23..."} 
[2026-08-22 07:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02744f610012d7c5e0005e20f88000300da23..."} 
[2026-08-22 07:51:02] local.INFO: Processing buffer {"connection_id":159841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02744f610012d7c5e0005e20f88000300da23..."} 
[2026-08-22 07:51:02] local.INFO: Packet analysis {"connection_id":159841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02744"} 
[2026-08-22 07:51:02] local.INFO: Extracted packet for processing {"connection_id":159841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02744"} 
[2026-08-22 07:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763125248,"raw_latitude":98701192,"longitude_deg":76.3125248,"latitude_deg":9.8701192,"altitude":3,"angle":218,"satellites":35,"speed":11,"hex_longitude":"2d7c5e00","hex_latitude":"05e20f88","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565497088001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122226995353354240,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962233652479127552,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51:02] 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-22 07:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787365226000,"timestamp_ms":1787365226000,"timestamp_seconds":1787365226,"priority":1,"record_length":96,"hex_timestamp":"000001a02744f610"} 
[2026-08-22 07: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-22 07:51: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-22 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 07:51:02] 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-22 07: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-22 07: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-22 07:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:51:02] 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-22 07:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565497088001,"66":13276,"61":206,"85":15104,"24":11,"16":122226995353354240,"45":8962233652479127552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-22 07:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565497088001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:51:02] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-22 07:51:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122226995353354240,"km_value":122226995353354.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962233652479127552,"description":"Unknown IO ID 45"} 
[2026-08-22 07:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565497088001,"power":13276,"unknown_61":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8962233652479127552}} 
[2026-08-22 07:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":159841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:51:02] local.INFO: GPS data processed {"connection_id":159841,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:51:02] local.INFO: Acknowledgment sent {"connection_id":159841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:51:27] local.INFO: TCP Data received {"connection_id":162157,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:51:27] local.INFO: Processing buffer {"connection_id":162157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:51:27] local.INFO: Packet analysis {"connection_id":162157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:51:27] local.INFO: Extracted packet for processing {"connection_id":162157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565404672001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51: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-22 07:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787365155000,"timestamp_ms":1787365155000,"timestamp_seconds":1787365155,"priority":1,"record_length":96,"hex_timestamp":"000001a02743e0b8"} 
[2026-08-22 07: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-22 07:51:27] 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-22 07:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565404672001,"66":25538,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565404672001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:51:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565404672001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":162157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:51:27] local.INFO: GPS data processed {"connection_id":162157,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:51:27] local.INFO: Acknowledgment sent {"connection_id":162157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:51:30] local.INFO: TCP Data received {"connection_id":160732,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02744b3a8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02744b3a8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:51:30] local.INFO: Processing buffer {"connection_id":160732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02744b3a8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:51:30] local.INFO: Packet analysis {"connection_id":160732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02744"} 
[2026-08-22 07:51:30] local.INFO: Extracted packet for processing {"connection_id":160732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02744"} 
[2026-08-22 07:51:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565488384001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51: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-22 07:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787365209000,"timestamp_ms":1787365209000,"timestamp_seconds":1787365209,"priority":1,"record_length":96,"hex_timestamp":"000001a02744b3a8"} 
[2026-08-22 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-22 07:51:30] 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-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 07:51:30] 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-22 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-22 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-22 07:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:51:30] 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-22 07:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565488384001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565488384001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:51:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:51:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565488384001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":160732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:51:30] local.INFO: GPS data processed {"connection_id":160732,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:51:30] local.INFO: Acknowledgment sent {"connection_id":160732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:51:34] local.INFO: TCP Data received {"connection_id":159841,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02744f9f8012d7c5d4005e20e68000300ce24..."} 
[2026-08-22 07:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02744f9f8012d7c5d4005e20e68000300ce24..."} 
[2026-08-22 07:51:34] local.INFO: Processing buffer {"connection_id":159841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02744f9f8012d7c5d4005e20e68000300ce24..."} 
[2026-08-22 07:51:34] local.INFO: Packet analysis {"connection_id":159841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02744"} 
[2026-08-22 07:51:34] local.INFO: Extracted packet for processing {"connection_id":159841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02744"} 
[2026-08-22 07:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763125056,"raw_latitude":98700904,"longitude_deg":76.3125056,"latitude_deg":9.8700904,"altitude":3,"angle":206,"satellites":36,"speed":12,"hex_longitude":"2d7c5d40","hex_latitude":"05e20e68","is_valid_coordinates":true} 
[2026-08-22 07:51: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-22 07:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565497856001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122227012533223424,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961600333781370880,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51:34] 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-22 07:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787365227000,"timestamp_ms":1787365227000,"timestamp_seconds":1787365227,"priority":1,"record_length":96,"hex_timestamp":"000001a02744f9f8"} 
[2026-08-22 07:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:51:34] 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-22 07:51: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 07:51:34] 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-22 07:51: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-22 07:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:51:34] 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-22 07:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565497856001,"66":13363,"61":206,"85":15104,"24":12,"16":122227012533223424,"45":8961600333781370880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-22 07:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565497856001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:51:34] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-22 07:51:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122227012533223424,"km_value":122227012533223.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961600333781370880,"description":"Unknown IO ID 45"} 
[2026-08-22 07:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565497856001,"power":13363,"unknown_61":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8961600333781370880}} 
[2026-08-22 07:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":159841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:51:34] local.INFO: GPS data processed {"connection_id":159841,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:51:34] local.INFO: Acknowledgment sent {"connection_id":159841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:51:49] local.INFO: TCP Data received {"connection_id":160733,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:51:49] local.INFO: Processing buffer {"connection_id":160733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:51:49] local.INFO: IMEI packet received {"connection_id":160733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":160733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:51:53] local.INFO: TCP Data received {"connection_id":160734,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:51:53] local.INFO: Processing buffer {"connection_id":160734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:51:53] local.INFO: IMEI packet received {"connection_id":160734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":160734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:51:55] local.INFO: TCP Data received {"connection_id":160733,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:51:55] local.INFO: Processing buffer {"connection_id":160733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:51:55] local.INFO: IMEI packet received {"connection_id":160733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":160733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:51:56] local.INFO: TCP Data received {"connection_id":160733,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:51:56] local.INFO: Processing buffer {"connection_id":160733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:51:56] local.INFO: Packet analysis {"connection_id":160733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:51:56] local.INFO: Extracted packet for processing {"connection_id":160733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565404672001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51: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-22 07:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787365155000,"timestamp_ms":1787365155000,"timestamp_seconds":1787365155,"priority":1,"record_length":96,"hex_timestamp":"000001a02743e0b8"} 
[2026-08-22 07: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-22 07:51:56] 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-22 07:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565404672001,"66":25538,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565404672001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:51:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565404672001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":160733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:51:56] local.INFO: GPS data processed {"connection_id":160733,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:51:56] local.INFO: Acknowledgment sent {"connection_id":160733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:51:56] local.INFO: TCP Data received {"connection_id":159583,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:51:56] local.INFO: Processing buffer {"connection_id":159583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:51:56] local.INFO: IMEI packet received {"connection_id":159583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":159583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:51:59] local.INFO: TCP Data received {"connection_id":160734,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:51:59] local.INFO: Processing buffer {"connection_id":160734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:51:59] local.INFO: IMEI packet received {"connection_id":160734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":160734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:51:59] local.INFO: TCP Data received {"connection_id":160734,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0274505b0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274505b0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:51:59] local.INFO: Processing buffer {"connection_id":160734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274505b0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:51:59] local.INFO: Packet analysis {"connection_id":160734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02745"} 
[2026-08-22 07:51:59] local.INFO: Extracted packet for processing {"connection_id":160734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02745"} 
[2026-08-22 07:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565493504001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:51: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-22 07:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787365230000,"timestamp_ms":1787365230000,"timestamp_seconds":1787365230,"priority":1,"record_length":96,"hex_timestamp":"000001a0274505b0"} 
[2026-08-22 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-22 07:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 07:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:51:59] 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-22 07:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565493504001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565493504001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:51:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:51:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565493504001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":160734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:51:59] local.INFO: GPS data processed {"connection_id":160734,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:51:59] local.INFO: Acknowledgment sent {"connection_id":160734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:52:01] local.INFO: TCP Data received {"connection_id":159583,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:52:01] local.INFO: Processing buffer {"connection_id":159583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:52:01] local.INFO: IMEI packet received {"connection_id":159583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":159583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:52:02] local.INFO: TCP Data received {"connection_id":159583,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027452108012d7c538005e1fc58000400dc25..."} 
[2026-08-22 07:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027452108012d7c538005e1fc58000400dc25..."} 
[2026-08-22 07:52:02] local.INFO: Processing buffer {"connection_id":159583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027452108012d7c538005e1fc58000400dc25..."} 
[2026-08-22 07:52:02] local.INFO: Packet analysis {"connection_id":159583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02745"} 
[2026-08-22 07:52:02] local.INFO: Extracted packet for processing {"connection_id":159583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02745"} 
[2026-08-22 07:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763122560,"raw_latitude":98696280,"longitude_deg":76.312256,"latitude_deg":9.869628,"altitude":4,"angle":220,"satellites":37,"speed":20,"hex_longitude":"2d7c5380","hex_latitude":"05e1fc58","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565498112001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122227265936293888,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961389227548764160,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:02] 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-22 07:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787365237000,"timestamp_ms":1787365237000,"timestamp_seconds":1787365237,"priority":1,"record_length":96,"hex_timestamp":"000001a027452108"} 
[2026-08-22 07: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-22 07: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-22 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-22 07:52:02] 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-22 07: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-22 07: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-22 07:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:52:02] 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-22 07:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565498112001,"66":13493,"61":206,"85":15104,"24":20,"16":122227265936293888,"45":8961389227548764160},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-22 07:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565498112001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:52:02] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-22 07:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122227265936293888,"km_value":122227265936293.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961389227548764160,"description":"Unknown IO ID 45"} 
[2026-08-22 07:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565498112001,"power":13493,"unknown_61":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8961389227548764160}} 
[2026-08-22 07:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":159583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:52:02] local.INFO: GPS data processed {"connection_id":159583,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:52:02] local.INFO: Acknowledgment sent {"connection_id":159583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:52:03] local.INFO: TCP Data received {"connection_id":159583,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0274528d8012d7c504005e1f968000400e824..."} 
[2026-08-22 07:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274528d8012d7c504005e1f968000400e824..."} 
[2026-08-22 07:52:03] local.INFO: Processing buffer {"connection_id":159583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274528d8012d7c504005e1f968000400e824..."} 
[2026-08-22 07:52:03] local.INFO: Packet analysis {"connection_id":159583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02745"} 
[2026-08-22 07:52:03] local.INFO: Extracted packet for processing {"connection_id":159583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02745"} 
[2026-08-22 07:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763121728,"raw_latitude":98695528,"longitude_deg":76.3121728,"latitude_deg":9.8695528,"altitude":4,"angle":232,"satellites":36,"speed":21,"hex_longitude":"2d7c5040","hex_latitude":"05e1f968","is_valid_coordinates":true} 
[2026-08-22 07:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565500672001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122227321770868736,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958644846524651520,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:03] 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-22 07:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787365239000,"timestamp_ms":1787365239000,"timestamp_seconds":1787365239,"priority":1,"record_length":96,"hex_timestamp":"000001a0274528d8"} 
[2026-08-22 07:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 07:52:03] 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-22 07:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:52:03] 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-22 07:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565500672001,"66":13276,"61":206,"85":15104,"24":21,"16":122227321770868736,"45":8958644846524651520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-22 07:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565500672001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:52:03] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-22 07:52:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122227321770868736,"km_value":122227321770868.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958644846524651520,"description":"Unknown IO ID 45"} 
[2026-08-22 07:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565500672001,"power":13276,"unknown_61":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8958644846524651520}} 
[2026-08-22 07:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":159583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:52:03] local.INFO: GPS data processed {"connection_id":159583,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:52:03] local.INFO: Acknowledgment sent {"connection_id":159583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:52:27] local.INFO: TCP Data received {"connection_id":160733,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:52:27] local.INFO: Processing buffer {"connection_id":160733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:52:27] local.INFO: Packet analysis {"connection_id":160733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:52:27] local.INFO: Extracted packet for processing {"connection_id":160733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565404672001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52: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-22 07:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787365155000,"timestamp_ms":1787365155000,"timestamp_seconds":1787365155,"priority":1,"record_length":96,"hex_timestamp":"000001a02743e0b8"} 
[2026-08-22 07: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-22 07:52:27] 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-22 07:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565404672001,"66":25538,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565404672001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:52:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:52:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565404672001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":160733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:52:27] local.INFO: GPS data processed {"connection_id":160733,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:52:27] local.INFO: Acknowledgment sent {"connection_id":160733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:52:30] local.INFO: TCP Data received {"connection_id":160734,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0274557b8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274557b8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:52:30] local.INFO: Processing buffer {"connection_id":160734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274557b8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:52:30] local.INFO: Packet analysis {"connection_id":160734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02745"} 
[2026-08-22 07:52:30] local.INFO: Extracted packet for processing {"connection_id":160734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02745"} 
[2026-08-22 07:52:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565498880001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52: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-22 07:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787365251000,"timestamp_ms":1787365251000,"timestamp_seconds":1787365251,"priority":1,"record_length":96,"hex_timestamp":"000001a0274557b8"} 
[2026-08-22 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-22 07:52:30] 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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 07:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:52:30] 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-22 07:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565498880001,"66":12363,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565498880001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:52:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:52:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565498880001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":160734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:52:30] local.INFO: GPS data processed {"connection_id":160734,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:52:30] local.INFO: Acknowledgment sent {"connection_id":160734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:52:34] local.INFO: TCP Data received {"connection_id":159583,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02746bb30012d7bb00005e1c108000200eb23..."} 
[2026-08-22 07:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02746bb30012d7bb00005e1c108000200eb23..."} 
[2026-08-22 07:52:34] local.INFO: Processing buffer {"connection_id":159583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02746bb30012d7bb00005e1c108000200eb23..."} 
[2026-08-22 07:52:34] local.INFO: Packet analysis {"connection_id":159583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02746"} 
[2026-08-22 07:52:34] local.INFO: Extracted packet for processing {"connection_id":159583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02746"} 
[2026-08-22 07:52:34] local.INFO: GPS Element Parsed {"raw_longitude":763080704,"raw_latitude":98681096,"longitude_deg":76.3080704,"latitude_deg":9.8681096,"altitude":2,"angle":235,"satellites":35,"speed":21,"hex_longitude":"2d7bb000","hex_latitude":"05e1c108","is_valid_coordinates":true} 
[2026-08-22 07:52: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-22 07:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565522944001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920504987177986048,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122229585218633728,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:34] 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-22 07:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787365342000,"timestamp_ms":1787365342000,"timestamp_seconds":1787365342,"priority":1,"record_length":96,"hex_timestamp":"000001a02746bb30"} 
[2026-08-22 07:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:52: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-22 07:52: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":40,"data_length":795,"current_offset":136} 
[2026-08-22 07:52:34] 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-22 07:52: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-22 07:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:52:34] 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-22 07:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565522944001,"66":13450,"45":8920504987177986048,"85":15104,"24":21,"16":122229585218633728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 07:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565522944001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920504987177986048,"description":"Unknown IO ID 45"} 
[2026-08-22 07:52:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122229585218633728,"km_value":122229585218633.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:52:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565522944001,"power":13450,"unknown_45":8920504987177986048,"unknown_85":15104,"ignition":21,"odometer":null}} 
[2026-08-22 07:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":159583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:52:34] local.INFO: GPS data processed {"connection_id":159583,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:52:34] local.INFO: Acknowledgment sent {"connection_id":159583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:52:49] local.INFO: TCP Data received {"connection_id":162158,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:52:49] local.INFO: Processing buffer {"connection_id":162158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:52:49] local.INFO: IMEI packet received {"connection_id":162158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":162158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:52:53] local.INFO: TCP Data received {"connection_id":160735,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:52:53] local.INFO: Processing buffer {"connection_id":160735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:52:53] local.INFO: IMEI packet received {"connection_id":160735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":160735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:52:54] local.INFO: TCP Data received {"connection_id":160735,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:52:54] local.INFO: Processing buffer {"connection_id":160735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:52:54] local.INFO: IMEI packet received {"connection_id":160735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":160735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:52:55] local.INFO: TCP Data received {"connection_id":162158,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:52:55] local.INFO: Processing buffer {"connection_id":162158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:52:55] local.INFO: IMEI packet received {"connection_id":162158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":162158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:52:56] local.INFO: TCP Data received {"connection_id":162158,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:52:56] local.INFO: Processing buffer {"connection_id":162158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:52:56] local.INFO: Packet analysis {"connection_id":162158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:52:56] local.INFO: Extracted packet for processing {"connection_id":162158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565404672001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52: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-22 07:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787365155000,"timestamp_ms":1787365155000,"timestamp_seconds":1787365155,"priority":1,"record_length":96,"hex_timestamp":"000001a02743e0b8"} 
[2026-08-22 07: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-22 07:52:56] 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-22 07:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565404672001,"66":25538,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565404672001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:52:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565404672001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":162158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:52:56] local.INFO: GPS data processed {"connection_id":162158,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:52:56] local.INFO: Acknowledgment sent {"connection_id":162158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:52:57] local.INFO: TCP Data received {"connection_id":160736,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:52:57] local.INFO: Processing buffer {"connection_id":160736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:52:57] local.INFO: IMEI packet received {"connection_id":160736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":160736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:52:59] local.INFO: TCP Data received {"connection_id":160735,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:52:59] local.INFO: Processing buffer {"connection_id":160735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:52:59] local.INFO: IMEI packet received {"connection_id":160735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":160735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:52:59] local.INFO: TCP Data received {"connection_id":160735,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02745a9c0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02745a9c0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:52:59] local.INFO: Processing buffer {"connection_id":160735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02745a9c0012d196940071fedd8003e011c27..."} 
[2026-08-22 07:52:59] local.INFO: Packet analysis {"connection_id":160735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02745"} 
[2026-08-22 07:52:59] local.INFO: Extracted packet for processing {"connection_id":160735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02745"} 
[2026-08-22 07:52:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565504256001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:52: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-22 07:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787365272000,"timestamp_ms":1787365272000,"timestamp_seconds":1787365272,"priority":1,"record_length":96,"hex_timestamp":"000001a02745a9c0"} 
[2026-08-22 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-22 07:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-22 07:52:59] 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-22 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-22 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-22 07:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:52:59] 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-22 07:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565504256001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565504256001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:52:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:52:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565504256001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":160735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:52:59] local.INFO: GPS data processed {"connection_id":160735,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:52:59] local.INFO: Acknowledgment sent {"connection_id":160735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:53:01] local.INFO: TCP Data received {"connection_id":160736,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:53:01] local.INFO: Processing buffer {"connection_id":160736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:53:01] local.INFO: IMEI packet received {"connection_id":160736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":160736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:53:02] local.INFO: TCP Data received {"connection_id":160736,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02746c300012d7bac4005e1bf70000200fc23..."} 
[2026-08-22 07:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02746c300012d7bac4005e1bf70000200fc23..."} 
[2026-08-22 07:53:02] local.INFO: Processing buffer {"connection_id":160736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02746c300012d7bac4005e1bf70000200fc23..."} 
[2026-08-22 07:53:02] local.INFO: Packet analysis {"connection_id":160736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02746"} 
[2026-08-22 07:53:02] local.INFO: Extracted packet for processing {"connection_id":160736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02746"} 
[2026-08-22 07:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763079744,"raw_latitude":98680688,"longitude_deg":76.3079744,"latitude_deg":9.8680688,"altitude":2,"angle":252,"satellites":35,"speed":19,"hex_longitude":"2d7bac40","hex_latitude":"05e1bf70","is_valid_coordinates":true} 
[2026-08-22 07:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565527552001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912623687828572160,"note":"Value kept but may cause issues"} 
[2026-08-22 07:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122229632463273984,"note":"Value kept but may cause issues"} 
[2026-08-22 07:53:02] 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-22 07:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787365344000,"timestamp_ms":1787365344000,"timestamp_seconds":1787365344,"priority":1,"record_length":96,"hex_timestamp":"000001a02746c300"} 
[2026-08-22 07:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:53: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-22 07:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-22 07:53:02] 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-22 07:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:53:02] 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-22 07:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565527552001,"66":13450,"45":8912623687828572160,"85":15104,"24":19,"16":122229632463273984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 07:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565527552001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912623687828572160,"description":"Unknown IO ID 45"} 
[2026-08-22 07:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122229632463273984,"km_value":122229632463273.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:53:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565527552001,"power":13450,"unknown_45":8912623687828572160,"unknown_85":15104,"ignition":19,"odometer":null}} 
[2026-08-22 07:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":160736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:53:02] local.INFO: GPS data processed {"connection_id":160736,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:53:02] local.INFO: Acknowledgment sent {"connection_id":160736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:53:27] local.INFO: TCP Data received {"connection_id":162158,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:53:27] local.INFO: Processing buffer {"connection_id":162158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:53:27] local.INFO: Packet analysis {"connection_id":162158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:53:27] local.INFO: Extracted packet for processing {"connection_id":162158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565404672001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:53: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-22 07:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787365155000,"timestamp_ms":1787365155000,"timestamp_seconds":1787365155,"priority":1,"record_length":96,"hex_timestamp":"000001a02743e0b8"} 
[2026-08-22 07: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-22 07:53:27] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565404672001,"66":25538,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565404672001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:53:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565404672001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":162158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:53:27] local.INFO: GPS data processed {"connection_id":162158,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:53:27] local.INFO: Acknowledgment sent {"connection_id":162158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:53:30] local.INFO: TCP Data received {"connection_id":160735,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02745fbc8012d196940071fedd8003e011c28..."} 
[2026-08-22 07:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02745fbc8012d196940071fedd8003e011c28..."} 
[2026-08-22 07:53:30] local.INFO: Processing buffer {"connection_id":160735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02745fbc8012d196940071fedd8003e011c28..."} 
[2026-08-22 07:53:30] local.INFO: Packet analysis {"connection_id":160735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02745"} 
[2026-08-22 07:53:30] local.INFO: Extracted packet for processing {"connection_id":160735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02745"} 
[2026-08-22 07:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565509632001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:53: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-22 07:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787365293000,"timestamp_ms":1787365293000,"timestamp_seconds":1787365293,"priority":1,"record_length":96,"hex_timestamp":"000001a02745fbc8"} 
[2026-08-22 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-22 07:53:30] 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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 07:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:53:30] 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-22 07:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565509632001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565509632001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:53:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:53:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565509632001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":160735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:53:31] local.INFO: GPS data processed {"connection_id":160735,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:53:31] local.INFO: Acknowledgment sent {"connection_id":160735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:53:33] local.INFO: TCP Data received {"connection_id":160736,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02746ceb8012d7ba58005e1be380002010722..."} 
[2026-08-22 07:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02746ceb8012d7ba58005e1be380002010722..."} 
[2026-08-22 07:53:33] local.INFO: Processing buffer {"connection_id":160736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02746ceb8012d7ba58005e1be380002010722..."} 
[2026-08-22 07:53:33] local.INFO: Packet analysis {"connection_id":160736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02746"} 
[2026-08-22 07:53:33] local.INFO: Extracted packet for processing {"connection_id":160736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02746"} 
[2026-08-22 07:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763078016,"raw_latitude":98680376,"longitude_deg":76.3078016,"latitude_deg":9.8680376,"altitude":2,"angle":263,"satellites":34,"speed":24,"hex_longitude":"2d7ba580","hex_latitude":"05e1be38","is_valid_coordinates":true} 
[2026-08-22 07:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565528064001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911568156665802752,"note":"Value kept but may cause issues"} 
[2026-08-22 07:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122229718362619904,"note":"Value kept but may cause issues"} 
[2026-08-22 07:53:33] 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-22 07:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787365347000,"timestamp_ms":1787365347000,"timestamp_seconds":1787365347,"priority":1,"record_length":96,"hex_timestamp":"000001a02746ceb8"} 
[2026-08-22 07:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:53: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-22 07:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-22 07:53:33] 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-22 07:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:53:33] 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-22 07:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565528064001,"66":13189,"45":8911568156665802752,"85":15104,"24":24,"16":122229718362619904},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 07:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565528064001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911568156665802752,"description":"Unknown IO ID 45"} 
[2026-08-22 07:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122229718362619904,"km_value":122229718362619.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:53:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565528064001,"power":13189,"unknown_45":8911568156665802752,"unknown_85":15104,"ignition":24,"odometer":null}} 
[2026-08-22 07:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":160736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:53:33] local.INFO: GPS data processed {"connection_id":160736,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:53:33] local.INFO: Acknowledgment sent {"connection_id":160736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:53:49] local.INFO: TCP Data received {"connection_id":159584,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:53:49] local.INFO: Processing buffer {"connection_id":159584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:53:49] local.INFO: IMEI packet received {"connection_id":159584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":159584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:53:53] local.INFO: TCP Data received {"connection_id":159842,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:53:53] local.INFO: Processing buffer {"connection_id":159842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:53:53] local.INFO: IMEI packet received {"connection_id":159842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":159842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:53:55] local.INFO: TCP Data received {"connection_id":159584,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:53:55] local.INFO: Processing buffer {"connection_id":159584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:53:55] local.INFO: IMEI packet received {"connection_id":159584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":159584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:53:55] local.INFO: TCP Data received {"connection_id":159584,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:53:55] local.INFO: Processing buffer {"connection_id":159584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:53:55] local.INFO: Packet analysis {"connection_id":159584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:53:55] local.INFO: Extracted packet for processing {"connection_id":159584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:53:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565404672001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:53: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-22 07:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787365155000,"timestamp_ms":1787365155000,"timestamp_seconds":1787365155,"priority":1,"record_length":96,"hex_timestamp":"000001a02743e0b8"} 
[2026-08-22 07: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-22 07:53:55] 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-22 07:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565404672001,"66":25538,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565404672001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:53:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:53:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565404672001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":159584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:53:56] local.INFO: GPS data processed {"connection_id":159584,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:53:56] local.INFO: Acknowledgment sent {"connection_id":159584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:53:56] local.INFO: TCP Data received {"connection_id":159585,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:53:56] local.INFO: Processing buffer {"connection_id":159585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:53:56] local.INFO: IMEI packet received {"connection_id":159585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":159585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:53:57] local.INFO: TCP Data received {"connection_id":159842,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:53:57] local.INFO: Processing buffer {"connection_id":159842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:53:57] local.INFO: IMEI packet received {"connection_id":159842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":159842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:53:58] local.INFO: TCP Data received {"connection_id":159842,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:53:58] local.INFO: Processing buffer {"connection_id":159842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:53:58] local.INFO: IMEI packet received {"connection_id":159842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":159842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:53:58] local.INFO: TCP Data received {"connection_id":159585,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:53:58] local.INFO: Processing buffer {"connection_id":159585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:53:58] local.INFO: IMEI packet received {"connection_id":159585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":159585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:54:01] local.INFO: TCP Data received {"connection_id":159585,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:54:01] local.INFO: Processing buffer {"connection_id":159585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:54:01] local.INFO: IMEI packet received {"connection_id":159585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":159585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:54:02] local.INFO: TCP Data received {"connection_id":159585,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02746fd98012d7b86c005e1b9a8000300f823..."} 
[2026-08-22 07:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02746fd98012d7b86c005e1b9a8000300f823..."} 
[2026-08-22 07:54:02] local.INFO: Processing buffer {"connection_id":159585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02746fd98012d7b86c005e1b9a8000300f823..."} 
[2026-08-22 07:54:02] local.INFO: Packet analysis {"connection_id":159585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02746"} 
[2026-08-22 07:54:02] local.INFO: Extracted packet for processing {"connection_id":159585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02746"} 
[2026-08-22 07:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763070144,"raw_latitude":98679208,"longitude_deg":76.3070144,"latitude_deg":9.8679208,"altitude":3,"angle":248,"satellites":35,"speed":27,"hex_longitude":"2d7b86c0","hex_latitude":"05e1b9a8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565528832001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909668200572925952,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122230100614709248,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:02] 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-22 07:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787365359000,"timestamp_ms":1787365359000,"timestamp_seconds":1787365359,"priority":1,"record_length":96,"hex_timestamp":"000001a02746fd98"} 
[2026-08-22 07: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-22 07:54: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-22 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-22 07:54:02] 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-22 07: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-22 07: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-22 07:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:54:02] 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-22 07:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565528832001,"66":13330,"45":8909668200572925952,"85":15104,"24":27,"16":122230100614709248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 07:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565528832001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909668200572925952,"description":"Unknown IO ID 45"} 
[2026-08-22 07:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122230100614709248,"km_value":122230100614709.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:54:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565528832001,"power":13330,"unknown_45":8909668200572925952,"unknown_85":15104,"ignition":27,"odometer":null}} 
[2026-08-22 07:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":159585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:54:02] local.INFO: GPS data processed {"connection_id":159585,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:54:02] local.INFO: Acknowledgment sent {"connection_id":159585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:54:02] local.INFO: TCP Data received {"connection_id":159842,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0274651b8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274651b8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:54:02] local.INFO: Processing buffer {"connection_id":159842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274651b8012d196940071fedd8003e011c27..."} 
[2026-08-22 07:54:02] local.INFO: Packet analysis {"connection_id":159842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02746"} 
[2026-08-22 07:54:02] local.INFO: Extracted packet for processing {"connection_id":159842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02746"} 
[2026-08-22 07:54:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565515008001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787365315000,"timestamp_ms":1787365315000,"timestamp_seconds":1787365315,"priority":1,"record_length":96,"hex_timestamp":"000001a0274651b8"} 
[2026-08-22 07: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-22 07:54:02] 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-22 07: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 07:54:02] 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-22 07: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-22 07: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-22 07:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:54:02] 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-22 07:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565515008001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565515008001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:54:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:54:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565515008001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":159842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:54:03] local.INFO: GPS data processed {"connection_id":159842,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:54:03] local.INFO: Acknowledgment sent {"connection_id":159842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:54:03] local.INFO: TCP Data received {"connection_id":159842,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02746a3c0012d196940071fedd8003e011c28..."} 
[2026-08-22 07:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02746a3c0012d196940071fedd8003e011c28..."} 
[2026-08-22 07:54:03] local.INFO: Processing buffer {"connection_id":159842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02746a3c0012d196940071fedd8003e011c28..."} 
[2026-08-22 07:54:03] local.INFO: Packet analysis {"connection_id":159842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02746"} 
[2026-08-22 07:54:03] local.INFO: Extracted packet for processing {"connection_id":159842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02746"} 
[2026-08-22 07:54:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565520640001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787365336000,"timestamp_ms":1787365336000,"timestamp_seconds":1787365336,"priority":1,"record_length":96,"hex_timestamp":"000001a02746a3c0"} 
[2026-08-22 07: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-22 07:54:03] 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-22 07: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-22 07:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2829407906391988585,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:03] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:03] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79981774339309568,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 07:54:03] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,251,45,64,237,62,40,10,66,169,39,87,1,240,75,227,31,4,113,205,179,105,216,239,48,2,51,7,37],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 07:54:03] 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-22 07: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-22 07:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:54:03] 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-22 07:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565520640001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565520640001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:54:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:54:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565520640001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":159842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:54:04] local.INFO: GPS data processed {"connection_id":159842,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:54:04] local.INFO: Acknowledgment sent {"connection_id":159842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:54:27] local.INFO: TCP Data received {"connection_id":159584,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:54:27] local.INFO: Processing buffer {"connection_id":159584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02743e0b8012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:54:27] local.INFO: Packet analysis {"connection_id":159584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:54:27] local.INFO: Extracted packet for processing {"connection_id":159584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02743"} 
[2026-08-22 07:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565404672001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54: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-22 07:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787365155000,"timestamp_ms":1787365155000,"timestamp_seconds":1787365155,"priority":1,"record_length":96,"hex_timestamp":"000001a02743e0b8"} 
[2026-08-22 07: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-22 07:54:27] 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-22 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 07:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565404672001,"66":25538,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565404672001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:54:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:54:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565404672001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":159584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:54:27] local.INFO: GPS data processed {"connection_id":159584,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:54:27] local.INFO: Acknowledgment sent {"connection_id":159584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:54:33] local.INFO: TCP Data received {"connection_id":159585,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0274897c0012d7b460005e15d780008010921..."} 
[2026-08-22 07:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274897c0012d7b460005e15d780008010921..."} 
[2026-08-22 07:54:33] local.INFO: Processing buffer {"connection_id":159585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274897c0012d7b460005e15d780008010921..."} 
[2026-08-22 07:54:33] local.INFO: Packet analysis {"connection_id":159585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:54:33] local.INFO: Extracted packet for processing {"connection_id":159585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763053568,"raw_latitude":98655608,"longitude_deg":76.3053568,"latitude_deg":9.8655608,"altitude":8,"angle":265,"satellites":33,"speed":2,"hex_longitude":"2d7b4600","hex_latitude":"05e15d78","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565558016001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122232054824828928,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883139184011614208,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787365464000,"timestamp_ms":1787365464000,"timestamp_seconds":1787365464,"priority":1,"record_length":96,"hex_timestamp":"000001a0274897c0"} 
[2026-08-22 07: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-22 07: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-22 07: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 07:54:33] 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-22 07: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-22 07: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-22 07:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:54:33] 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-22 07:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565558016001,"66":13298,"218":206,"85":15104,"24":2,"16":122232054824828928,"45":8883139184011614208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-08-22 07:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565558016001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:54:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-22 07:54:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122232054824828928,"km_value":122232054824828.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883139184011614208,"description":"Unknown IO ID 45"} 
[2026-08-22 07:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565558016001,"power":13298,"unknown_218":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8883139184011614208}} 
[2026-08-22 07:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":159585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:54:33] local.INFO: GPS data processed {"connection_id":159585,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:54:33] local.INFO: Acknowledgment sent {"connection_id":159585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:54:45] local.INFO: TCP Data received {"connection_id":159842,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02746f5c8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02746f5c8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:54:45] local.INFO: Processing buffer {"connection_id":159842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02746f5c8012d196940071fedd8003e011c26..."} 
[2026-08-22 07:54:45] local.INFO: Packet analysis {"connection_id":159842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02746"} 
[2026-08-22 07:54:45] local.INFO: Extracted packet for processing {"connection_id":159842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02746"} 
[2026-08-22 07:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565526016001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54: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-22 07:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787365357000,"timestamp_ms":1787365357000,"timestamp_seconds":1787365357,"priority":1,"record_length":96,"hex_timestamp":"000001a02746f5c8"} 
[2026-08-22 07: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-22 07:54:45] 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-22 07: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":10,"data_length":795,"current_offset":136} 
[2026-08-22 07:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:45] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:45] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2829498100705204585,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:45] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:45] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79981774339309568,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:45] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:45] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 07:54:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:45] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,81,45,64,237,62,39,10,66,251,40,169,1,240,53,227,31,4,113,205,5,105,216,38,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 07:54:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883263452512256,"timestamp_seconds":4467883263452512.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07: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-22 07:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:54: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-22 07:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565526016001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565526016001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:54:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:54:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565526016001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":159842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:54:45] local.INFO: GPS data processed {"connection_id":159842,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:54:45] local.INFO: Acknowledgment sent {"connection_id":159842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:54:53] local.INFO: TCP Data received {"connection_id":160737,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:54:53] local.INFO: Processing buffer {"connection_id":160737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:54:53] local.INFO: IMEI packet received {"connection_id":160737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":160737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:54:55] local.INFO: TCP Data received {"connection_id":159843,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:54:55] local.INFO: Processing buffer {"connection_id":159843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:54:55] local.INFO: IMEI packet received {"connection_id":159843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":159843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:54:56] local.INFO: TCP Data received {"connection_id":160738,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:54:56] local.INFO: Processing buffer {"connection_id":160738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:54:56] local.INFO: IMEI packet received {"connection_id":160738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":160738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:54:57] local.INFO: TCP Data received {"connection_id":160738,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:54:57] local.INFO: Processing buffer {"connection_id":160738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:54:57] local.INFO: IMEI packet received {"connection_id":160738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":160738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:54:59] local.INFO: TCP Data received {"connection_id":160737,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:54:59] local.INFO: Processing buffer {"connection_id":160737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:54:59] local.INFO: IMEI packet received {"connection_id":160737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":160737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:54:59] local.INFO: TCP Data received {"connection_id":160737,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0274747d0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274747d0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:54:59] local.INFO: Processing buffer {"connection_id":160737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274747d0012d196940071fedd8003e011c26..."} 
[2026-08-22 07:54:59] local.INFO: Packet analysis {"connection_id":160737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02747"} 
[2026-08-22 07:54:59] local.INFO: Extracted packet for processing {"connection_id":160737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02747"} 
[2026-08-22 07:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565531392001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:54: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-22 07:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787365378000,"timestamp_ms":1787365378000,"timestamp_seconds":1787365378,"priority":1,"record_length":96,"hex_timestamp":"000001a0274747d0"} 
[2026-08-22 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-22 07:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 07:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 07:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:54:59] 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-22 07:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565531392001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565531392001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:54:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:54:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565531392001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":160737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:54:59] local.INFO: GPS data processed {"connection_id":160737,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:54:59] local.INFO: Acknowledgment sent {"connection_id":160737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:55:00] local.INFO: TCP Data received {"connection_id":159843,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:55:00] local.INFO: Processing buffer {"connection_id":159843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:55:00] local.INFO: IMEI packet received {"connection_id":159843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":159843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:55:01] local.INFO: TCP Data received {"connection_id":159843,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:55:01] local.INFO: Processing buffer {"connection_id":159843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:55:01] local.INFO: Packet analysis {"connection_id":159843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:55:01] local.INFO: Extracted packet for processing {"connection_id":159843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565479680001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55: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-22 07:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787365452000,"timestamp_ms":1787365452000,"timestamp_seconds":1787365452,"priority":1,"record_length":96,"hex_timestamp":"000001a0274868e0"} 
[2026-08-22 07:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:55:01] 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-22 07:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 07:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565479680001,"66":25560,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565479680001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:55:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565479680001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":159843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:55:01] local.INFO: GPS data processed {"connection_id":159843,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:55:01] local.INFO: Acknowledgment sent {"connection_id":159843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:55:01] local.INFO: TCP Data received {"connection_id":160738,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:55:01] local.INFO: Processing buffer {"connection_id":160738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:55:01] local.INFO: IMEI packet received {"connection_id":160738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":160738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:55:02] local.INFO: TCP Data received {"connection_id":160738,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027489ba8012d7b45c005e15d600008011a22..."} 
[2026-08-22 07:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027489ba8012d7b45c005e15d600008011a22..."} 
[2026-08-22 07:55:02] local.INFO: Processing buffer {"connection_id":160738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027489ba8012d7b45c005e15d600008011a22..."} 
[2026-08-22 07:55:02] local.INFO: Packet analysis {"connection_id":160738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:55:02] local.INFO: Extracted packet for processing {"connection_id":160738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763053504,"raw_latitude":98655584,"longitude_deg":76.3053504,"latitude_deg":9.8655584,"altitude":8,"angle":282,"satellites":34,"speed":2,"hex_longitude":"2d7b45c0","hex_latitude":"05e15d60","is_valid_coordinates":true} 
[2026-08-22 07:55: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-22 07:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565558784001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122232059119796224,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882787340290717696,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787365465000,"timestamp_ms":1787365465000,"timestamp_seconds":1787365465,"priority":1,"record_length":96,"hex_timestamp":"000001a027489ba8"} 
[2026-08-22 07:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:55: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-22 07:55: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-22 07:55:02] 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-22 07:55: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-22 07:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:55:02] 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-22 07:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565558784001,"66":13298,"218":206,"85":15104,"24":2,"16":122232059119796224,"45":8882787340290717696},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-08-22 07:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565558784001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:55:02] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-22 07:55:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122232059119796224,"km_value":122232059119796.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882787340290717696,"description":"Unknown IO ID 45"} 
[2026-08-22 07:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565558784001,"power":13298,"unknown_218":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8882787340290717696}} 
[2026-08-22 07:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":160738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:55:02] local.INFO: GPS data processed {"connection_id":160738,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:55:02] local.INFO: Acknowledgment sent {"connection_id":160738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:55:05] local.INFO: TCP Data received {"connection_id":159843,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:55:05] local.INFO: Processing buffer {"connection_id":159843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:55:05] local.INFO: Packet analysis {"connection_id":159843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:55:05] local.INFO: Extracted packet for processing {"connection_id":159843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:55:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565479680001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:05] 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-22 07:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787365452000,"timestamp_ms":1787365452000,"timestamp_seconds":1787365452,"priority":1,"record_length":96,"hex_timestamp":"000001a0274868e0"} 
[2026-08-22 07:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:55:05] 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-22 07:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 07:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565479680001,"66":25560,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565479680001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:55:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:55:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565479680001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":159843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:55:05] local.INFO: GPS data processed {"connection_id":159843,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:55:05] local.INFO: Acknowledgment sent {"connection_id":159843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:55:30] local.INFO: TCP Data received {"connection_id":160737,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0274799d8012d196940071fedd8003e011c29..."} 
[2026-08-22 07:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274799d8012d196940071fedd8003e011c29..."} 
[2026-08-22 07:55:30] local.INFO: Processing buffer {"connection_id":160737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274799d8012d196940071fedd8003e011c29..."} 
[2026-08-22 07:55:30] local.INFO: Packet analysis {"connection_id":160737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02747"} 
[2026-08-22 07:55:30] local.INFO: Extracted packet for processing {"connection_id":160737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02747"} 
[2026-08-22 07:55:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565536768001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55: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-22 07:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787365399000,"timestamp_ms":1787365399000,"timestamp_seconds":1787365399,"priority":1,"record_length":96,"hex_timestamp":"000001a0274799d8"} 
[2026-08-22 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-22 07:55:30] 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-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 07:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2829674194364340585,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79981774339309568,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876019562086606,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 07:55:30] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:30] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,160,245,45,64,237,62,38,10,66,163,40,81,1,240,227,39,31,4,113,205,169,105,216,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 07:55:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 07:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:55:30] 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-22 07:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565536768001,"66":12330,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565536768001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:55:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565536768001,"power":12330,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":160737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:55:31] local.INFO: GPS data processed {"connection_id":160737,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:55:31] local.INFO: Acknowledgment sent {"connection_id":160737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:55:34] local.INFO: TCP Data received {"connection_id":160738,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02748af30012d7b430005e15d200008010a23..."} 
[2026-08-22 07:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02748af30012d7b430005e15d200008010a23..."} 
[2026-08-22 07:55:34] local.INFO: Processing buffer {"connection_id":160738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02748af30012d7b430005e15d200008010a23..."} 
[2026-08-22 07:55:34] local.INFO: Packet analysis {"connection_id":160738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:55:34] local.INFO: Extracted packet for processing {"connection_id":160738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:55:34] local.INFO: GPS Element Parsed {"raw_longitude":763052800,"raw_latitude":98655520,"longitude_deg":76.30528,"latitude_deg":9.865552,"altitude":8,"angle":266,"satellites":35,"speed":3,"hex_longitude":"2d7b4300","hex_latitude":"05e15d20","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565559040001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122232093479534592,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882716971546533888,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787365470000,"timestamp_ms":1787365470000,"timestamp_seconds":1787365470,"priority":1,"record_length":96,"hex_timestamp":"000001a02748af30"} 
[2026-08-22 07: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-22 07:55: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-22 07: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-22 07:55:34] 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-22 07: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-22 07: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-22 07:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:55:34] 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-22 07:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565559040001,"66":13374,"218":206,"85":15104,"24":3,"16":122232093479534592,"45":8882716971546533888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-08-22 07:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565559040001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:55:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-22 07:55:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122232093479534592,"km_value":122232093479534.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882716971546533888,"description":"Unknown IO ID 45"} 
[2026-08-22 07:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565559040001,"power":13374,"unknown_218":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8882716971546533888}} 
[2026-08-22 07:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":160738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:55:34] local.INFO: GPS data processed {"connection_id":160738,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:55:34] local.INFO: Acknowledgment sent {"connection_id":160738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:55:50] local.INFO: TCP Data received {"connection_id":159844,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:55:50] local.INFO: Processing buffer {"connection_id":159844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:55:50] local.INFO: IMEI packet received {"connection_id":159844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":159844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:55:53] local.INFO: TCP Data received {"connection_id":159586,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:55:53] local.INFO: Processing buffer {"connection_id":159586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:55:53] local.INFO: IMEI packet received {"connection_id":159586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":159586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:55:55] local.INFO: TCP Data received {"connection_id":159844,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:55:55] local.INFO: Processing buffer {"connection_id":159844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:55:55] local.INFO: IMEI packet received {"connection_id":159844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":159844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:55:55] local.INFO: TCP Data received {"connection_id":159844,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:55:55] local.INFO: Processing buffer {"connection_id":159844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:55:55] local.INFO: Packet analysis {"connection_id":159844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:55:55] local.INFO: Extracted packet for processing {"connection_id":159844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:55:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565479680001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:55: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-22 07:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787365452000,"timestamp_ms":1787365452000,"timestamp_seconds":1787365452,"priority":1,"record_length":96,"hex_timestamp":"000001a0274868e0"} 
[2026-08-22 07:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:55:55] 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-22 07:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 07:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565479680001,"66":25560,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565479680001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:55:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:55:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565479680001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":159844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:55:55] local.INFO: GPS data processed {"connection_id":159844,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:55:55] local.INFO: Acknowledgment sent {"connection_id":159844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:55:56] local.INFO: TCP Data received {"connection_id":162159,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:55:56] local.INFO: Processing buffer {"connection_id":162159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:55:56] local.INFO: IMEI packet received {"connection_id":162159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":162159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:55:59] local.INFO: TCP Data received {"connection_id":159586,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:55:59] local.INFO: Processing buffer {"connection_id":159586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:55:59] local.INFO: IMEI packet received {"connection_id":159586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":159586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:56:01] local.INFO: TCP Data received {"connection_id":162159,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:56:01] local.INFO: Processing buffer {"connection_id":162159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:56:01] local.INFO: IMEI packet received {"connection_id":162159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":162159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:56:02] local.INFO: TCP Data received {"connection_id":162159,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02748bed0012d7b410005e15c98000800ff22..."} 
[2026-08-22 07:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02748bed0012d7b410005e15c98000800ff22..."} 
[2026-08-22 07:56:02] local.INFO: Processing buffer {"connection_id":162159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02748bed0012d7b410005e15c98000800ff22..."} 
[2026-08-22 07:56:02] local.INFO: Packet analysis {"connection_id":162159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:56:02] local.INFO: Extracted packet for processing {"connection_id":162159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763052288,"raw_latitude":98655384,"longitude_deg":76.3052288,"latitude_deg":9.8655384,"altitude":8,"angle":255,"satellites":34,"speed":5,"hex_longitude":"2d7b4100","hex_latitude":"05e15c98","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565560320001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881942915360563200,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122232119249338368,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:02] 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-22 07:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787365474000,"timestamp_ms":1787365474000,"timestamp_seconds":1787365474,"priority":1,"record_length":96,"hex_timestamp":"000001a02748bed0"} 
[2026-08-22 07: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-22 07: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-22 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 07:56:02] 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-22 07: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-22 07: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-22 07:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:56:02] 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-22 07:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565560320001,"66":13091,"45":8881942915360563200,"85":15104,"24":5,"16":122232119249338368},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 07:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565560320001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881942915360563200,"description":"Unknown IO ID 45"} 
[2026-08-22 07:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122232119249338368,"km_value":122232119249338.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:56:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565560320001,"power":13091,"unknown_45":8881942915360563200,"unknown_85":15104,"ignition":5,"odometer":null}} 
[2026-08-22 07:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":162159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:56:02] local.INFO: GPS data processed {"connection_id":162159,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:56:02] local.INFO: Acknowledgment sent {"connection_id":162159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:56:05] local.INFO: TCP Data received {"connection_id":159586,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02747ebe0012d196940071fedd8003e011c25..."} 
[2026-08-22 07:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02747ebe0012d196940071fedd8003e011c25..."} 
[2026-08-22 07:56:05] local.INFO: Processing buffer {"connection_id":159586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02747ebe0012d196940071fedd8003e011c25..."} 
[2026-08-22 07:56:05] local.INFO: Packet analysis {"connection_id":159586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02747"} 
[2026-08-22 07:56:05] local.INFO: Extracted packet for processing {"connection_id":159586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02747"} 
[2026-08-22 07:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565542144001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787365420000,"timestamp_ms":1787365420000,"timestamp_seconds":1787365420,"priority":1,"record_length":96,"hex_timestamp":"000001a02747ebe0"} 
[2026-08-22 07:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:56:05] 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-22 07:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-22 07:56:05] 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-22 07:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:56:05] 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-22 07:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565542144001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565542144001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:56:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565542144001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":159586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:56:05] local.INFO: GPS data processed {"connection_id":159586,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:56:05] local.INFO: Acknowledgment sent {"connection_id":159586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:56:27] local.INFO: TCP Data received {"connection_id":159844,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:56:27] local.INFO: Processing buffer {"connection_id":159844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:56:27] local.INFO: Packet analysis {"connection_id":159844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:56:27] local.INFO: Extracted packet for processing {"connection_id":159844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565479680001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56: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-22 07:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787365452000,"timestamp_ms":1787365452000,"timestamp_seconds":1787365452,"priority":1,"record_length":96,"hex_timestamp":"000001a0274868e0"} 
[2026-08-22 07: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-22 07:56:27] 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-22 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 07:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565479680001,"66":25560,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565479680001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:56:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565479680001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":159844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:56:27] local.INFO: GPS data processed {"connection_id":159844,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:56:27] local.INFO: Acknowledgment sent {"connection_id":159844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:56:33] local.INFO: TCP Data received {"connection_id":162159,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0274a2630012d7ab04005e11d68000500ef24..."} 
[2026-08-22 07:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274a2630012d7ab04005e11d68000500ef24..."} 
[2026-08-22 07:56:33] local.INFO: Processing buffer {"connection_id":162159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274a2630012d7ab04005e11d68000500ef24..."} 
[2026-08-22 07:56:33] local.INFO: Packet analysis {"connection_id":162159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274a"} 
[2026-08-22 07:56:33] local.INFO: Extracted packet for processing {"connection_id":162159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274a"} 
[2026-08-22 07:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763015232,"raw_latitude":98639208,"longitude_deg":76.3015232,"latitude_deg":9.8639208,"altitude":5,"angle":239,"satellites":36,"speed":24,"hex_longitude":"2d7ab040","hex_latitude":"05e11d68","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565581312001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122234094934294528,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849221449314297856,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:33] 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-22 07:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787365566000,"timestamp_ms":1787365566000,"timestamp_seconds":1787365566,"priority":1,"record_length":96,"hex_timestamp":"000001a0274a2630"} 
[2026-08-22 07: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-22 07: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-22 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-22 07:56:33] 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-22 07: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-22 07: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-22 07:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:56:33] 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-22 07:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565581312001,"66":13493,"217":206,"85":15104,"24":24,"16":122234094934294528,"45":8849221449314297856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-22 07:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565581312001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:56:33] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 07:56:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122234094934294528,"km_value":122234094934294.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849221449314297856,"description":"Unknown IO ID 45"} 
[2026-08-22 07:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565581312001,"power":13493,"unknown_217":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8849221449314297856}} 
[2026-08-22 07:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":162159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:56:33] local.INFO: GPS data processed {"connection_id":162159,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:56:33] local.INFO: Acknowledgment sent {"connection_id":162159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:56:37] local.INFO: TCP Data received {"connection_id":159586,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027483de8012d196940071fedd8003e011c28..."} 
[2026-08-22 07:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027483de8012d196940071fedd8003e011c28..."} 
[2026-08-22 07:56:37] local.INFO: Processing buffer {"connection_id":159586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027483de8012d196940071fedd8003e011c28..."} 
[2026-08-22 07:56:37] local.INFO: Packet analysis {"connection_id":159586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:56:37] local.INFO: Extracted packet for processing {"connection_id":159586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565547520001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787365441000,"timestamp_ms":1787365441000,"timestamp_seconds":1787365441,"priority":1,"record_length":96,"hex_timestamp":"000001a027483de8"} 
[2026-08-22 07:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:56:37] 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-22 07:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 07:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2829854582990772585,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:37] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:37] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79982873850937344,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 07:56:37] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,160,153,45,64,237,62,41,10,66,71,38,245,1,240,31,227,39,4,113,205,81,105,216,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 07:56:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883250567610368,"timestamp_seconds":4467883250567610.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 07:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:56:37] 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-22 07:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565547520001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565547520001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:56:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565547520001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":159586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:56:37] local.INFO: GPS data processed {"connection_id":159586,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:56:37] local.INFO: Acknowledgment sent {"connection_id":159586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:56:49] local.INFO: TCP Data received {"connection_id":159587,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:56:49] local.INFO: Processing buffer {"connection_id":159587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:56:49] local.INFO: IMEI packet received {"connection_id":159587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":159587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:56:53] local.INFO: TCP Data received {"connection_id":159588,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:56:53] local.INFO: Processing buffer {"connection_id":159588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:56:53] local.INFO: IMEI packet received {"connection_id":159588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":159588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:56:55] local.INFO: TCP Data received {"connection_id":159587,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:56:55] local.INFO: Processing buffer {"connection_id":159587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:56:55] local.INFO: IMEI packet received {"connection_id":159587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":159587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:56:56] local.INFO: TCP Data received {"connection_id":159587,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:56:56] local.INFO: Processing buffer {"connection_id":159587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:56:56] local.INFO: Packet analysis {"connection_id":159587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:56:56] local.INFO: Extracted packet for processing {"connection_id":159587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565479680001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56: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-22 07:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787365452000,"timestamp_ms":1787365452000,"timestamp_seconds":1787365452,"priority":1,"record_length":96,"hex_timestamp":"000001a0274868e0"} 
[2026-08-22 07: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-22 07:56:56] 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-22 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 07:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565479680001,"66":25560,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565479680001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:56:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565479680001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":159587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:56:56] local.INFO: GPS data processed {"connection_id":159587,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:56:56] local.INFO: Acknowledgment sent {"connection_id":159587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:56:58] local.INFO: TCP Data received {"connection_id":159845,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:56:58] local.INFO: Processing buffer {"connection_id":159845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:56:58] local.INFO: IMEI packet received {"connection_id":159845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":159845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:56:59] local.INFO: TCP Data received {"connection_id":159588,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:56:59] local.INFO: Processing buffer {"connection_id":159588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:56:59] local.INFO: IMEI packet received {"connection_id":159588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":159588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:56:59] local.INFO: TCP Data received {"connection_id":159588,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027488ff0012d196940071fedd8003e011c28..."} 
[2026-08-22 07:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027488ff0012d196940071fedd8003e011c28..."} 
[2026-08-22 07:56:59] local.INFO: Processing buffer {"connection_id":159588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027488ff0012d196940071fedd8003e011c28..."} 
[2026-08-22 07:56:59] local.INFO: Packet analysis {"connection_id":159588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:56:59] local.INFO: Extracted packet for processing {"connection_id":159588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:56:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565552896001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56: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-22 07:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787365462000,"timestamp_ms":1787365462000,"timestamp_seconds":1787365462,"priority":1,"record_length":96,"hex_timestamp":"000001a027488ff0"} 
[2026-08-22 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-22 07:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 07:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2829944777303988585,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79981774339309568,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 07:56:59] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-08-22 07:56:59] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,235,45,64,237,62,37,10,66,153,41,71,1,240,227,39,31,4,113,205,163,105,216,40,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 07:56:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883263452512256,"timestamp_seconds":4467883263452512.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 07:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:56:59] 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-22 07:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565552896001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565552896001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:56:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:56:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565552896001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":159588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:56:59] local.INFO: GPS data processed {"connection_id":159588,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:56:59] local.INFO: Acknowledgment sent {"connection_id":159588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:57:02] local.INFO: TCP Data received {"connection_id":159845,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:57:02] local.INFO: Processing buffer {"connection_id":159845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:57:02] local.INFO: IMEI packet received {"connection_id":159845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":159845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:57:04] local.INFO: TCP Data received {"connection_id":159845,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:57:04] local.INFO: Processing buffer {"connection_id":159845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:57:04] local.INFO: IMEI packet received {"connection_id":159845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":159845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:57:05] local.INFO: TCP Data received {"connection_id":159845,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0274a4570012d7a9f8005e112c8000400fb21..."} 
[2026-08-22 07:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274a4570012d7a9f8005e112c8000400fb21..."} 
[2026-08-22 07:57:05] local.INFO: Processing buffer {"connection_id":159845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274a4570012d7a9f8005e112c8000400fb21..."} 
[2026-08-22 07:57:05] local.INFO: Packet analysis {"connection_id":159845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274a"} 
[2026-08-22 07:57:05] local.INFO: Extracted packet for processing {"connection_id":159845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274a"} 
[2026-08-22 07:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763010944,"raw_latitude":98636488,"longitude_deg":76.3010944,"latitude_deg":9.8636488,"altitude":4,"angle":251,"satellites":33,"speed":22,"hex_longitude":"2d7a9f80","hex_latitude":"05e112c8","is_valid_coordinates":true} 
[2026-08-22 07:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565584896001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122234339747430400,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840636462524098560,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57:05] 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-22 07:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787365574000,"timestamp_ms":1787365574000,"timestamp_seconds":1787365574,"priority":1,"record_length":96,"hex_timestamp":"000001a0274a4570"} 
[2026-08-22 07:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:57: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-22 07:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 07:57:05] 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-22 07:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:57: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-22 07:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565584896001,"66":13048,"217":206,"85":15104,"24":22,"16":122234339747430400,"45":8840636462524098560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-22 07:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565584896001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:57:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 07:57:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122234339747430400,"km_value":122234339747430.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840636462524098560,"description":"Unknown IO ID 45"} 
[2026-08-22 07:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565584896001,"power":13048,"unknown_217":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8840636462524098560}} 
[2026-08-22 07:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":159845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:57:05] local.INFO: GPS data processed {"connection_id":159845,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:57:05] local.INFO: Acknowledgment sent {"connection_id":159845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:57:07] local.INFO: TCP Data received {"connection_id":159845,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0274a6c80012d7a8fc005e10da00002010621..."} 
[2026-08-22 07:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274a6c80012d7a8fc005e10da00002010621..."} 
[2026-08-22 07:57:07] local.INFO: Processing buffer {"connection_id":159845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274a6c80012d7a8fc005e10da00002010621..."} 
[2026-08-22 07:57:07] local.INFO: Packet analysis {"connection_id":159845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274a"} 
[2026-08-22 07:57:07] local.INFO: Extracted packet for processing {"connection_id":159845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274a"} 
[2026-08-22 07:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763006912,"raw_latitude":98635168,"longitude_deg":76.3006912,"latitude_deg":9.8635168,"altitude":2,"angle":262,"satellites":33,"speed":9,"hex_longitude":"2d7a8fc0","hex_latitude":"05e10da0","is_valid_coordinates":true} 
[2026-08-22 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-22 07:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565586944001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122234541610893312,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835921756663498752,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57:07] 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-22 07:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787365584000,"timestamp_ms":1787365584000,"timestamp_seconds":1787365584,"priority":1,"record_length":96,"hex_timestamp":"000001a0274a6c80"} 
[2026-08-22 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-22 07:57: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-22 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-22 07:57:07] 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-22 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-22 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-22 07:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 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-22 07:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565586944001,"66":13243,"217":206,"85":15104,"24":9,"16":122234541610893312,"45":8835921756663498752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-22 07:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565586944001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:57:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 07:57:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 07:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122234541610893312,"km_value":122234541610893.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835921756663498752,"description":"Unknown IO ID 45"} 
[2026-08-22 07:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565586944001,"power":13243,"unknown_217":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8835921756663498752}} 
[2026-08-22 07:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":159845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:57:07] local.INFO: GPS data processed {"connection_id":159845,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:57:07] local.INFO: Acknowledgment sent {"connection_id":159845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:57:27] local.INFO: TCP Data received {"connection_id":159587,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:57:27] local.INFO: Processing buffer {"connection_id":159587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:57:27] local.INFO: Packet analysis {"connection_id":159587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:57:27] local.INFO: Extracted packet for processing {"connection_id":159587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565479680001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57: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-22 07:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787365452000,"timestamp_ms":1787365452000,"timestamp_seconds":1787365452,"priority":1,"record_length":96,"hex_timestamp":"000001a0274868e0"} 
[2026-08-22 07: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-22 07:57:27] 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-22 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 07:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565479680001,"66":25560,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565479680001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:57:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565479680001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":159587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:57:27] local.INFO: GPS data processed {"connection_id":159587,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:57:27] local.INFO: Acknowledgment sent {"connection_id":159587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:57:30] local.INFO: TCP Data received {"connection_id":159588,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02748e1f8012d196940071fedd8003e011c2a..."} 
[2026-08-22 07:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02748e1f8012d196940071fedd8003e011c2a..."} 
[2026-08-22 07:57:30] local.INFO: Processing buffer {"connection_id":159588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02748e1f8012d196940071fedd8003e011c2a..."} 
[2026-08-22 07:57:30] local.INFO: Packet analysis {"connection_id":159588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:57:30] local.INFO: Extracted packet for processing {"connection_id":159588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:57:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565558272001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57: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-22 07:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787365483000,"timestamp_ms":1787365483000,"timestamp_seconds":1787365483,"priority":1,"record_length":96,"hex_timestamp":"000001a02748e1f8"} 
[2026-08-22 07: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-22 07:57:30] 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-22 07: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 07:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:57:30] 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-22 07:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565558272001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565558272001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:57:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:57:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565558272001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":159588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:57:30] local.INFO: GPS data processed {"connection_id":159588,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:57:30] local.INFO: Acknowledgment sent {"connection_id":159588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:57:38] local.INFO: TCP Data received {"connection_id":159845,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0274b7238012d7a29c005e0ef10000200c124..."} 
[2026-08-22 07:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274b7238012d7a29c005e0ef10000200c124..."} 
[2026-08-22 07:57:38] local.INFO: Processing buffer {"connection_id":159845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274b7238012d7a29c005e0ef10000200c124..."} 
[2026-08-22 07:57:38] local.INFO: Packet analysis {"connection_id":159845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274b"} 
[2026-08-22 07:57:38] local.INFO: Extracted packet for processing {"connection_id":159845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274b"} 
[2026-08-22 07:57:38] local.INFO: GPS Element Parsed {"raw_longitude":762980800,"raw_latitude":98627344,"longitude_deg":76.29808,"latitude_deg":9.8627344,"altitude":2,"angle":193,"satellites":36,"speed":8,"hex_longitude":"2d7a29c0","hex_latitude":"05e0ef10","is_valid_coordinates":true} 
[2026-08-22 07:57: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-22 07:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565605376001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122235946065199104,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802707709409597440,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787365651000,"timestamp_ms":1787365651000,"timestamp_seconds":1787365651,"priority":1,"record_length":96,"hex_timestamp":"000001a0274b7238"} 
[2026-08-22 07:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:57: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-22 07:57: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":123,"data_length":795,"current_offset":136} 
[2026-08-22 07:57:38] 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-22 07:57: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-22 07:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:57: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-22 07:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565605376001,"66":12602,"83":206,"87":12288,"24":8,"16":122235946065199104,"45":8802707709409597440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-08-22 07:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565605376001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-22 07:57:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-22 07:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122235946065199104,"km_value":122235946065199.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802707709409597440,"description":"Unknown IO ID 45"} 
[2026-08-22 07:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565605376001,"power":12602,"unknown_83":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8802707709409597440}} 
[2026-08-22 07:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":159845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:57:38] local.INFO: GPS data processed {"connection_id":159845,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:57:38] local.INFO: Acknowledgment sent {"connection_id":159845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:57:49] local.INFO: TCP Data received {"connection_id":160739,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:57:49] local.INFO: Processing buffer {"connection_id":160739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:57:49] local.INFO: IMEI packet received {"connection_id":160739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":160739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:57:55] local.INFO: TCP Data received {"connection_id":160739,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:57:55] local.INFO: Processing buffer {"connection_id":160739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:57:55] local.INFO: IMEI packet received {"connection_id":160739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":160739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:57:55] local.INFO: TCP Data received {"connection_id":160739,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:57:55] local.INFO: Processing buffer {"connection_id":160739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:57:55] local.INFO: Packet analysis {"connection_id":160739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:57:55] local.INFO: Extracted packet for processing {"connection_id":160739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565479680001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:57: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-22 07:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787365452000,"timestamp_ms":1787365452000,"timestamp_seconds":1787365452,"priority":1,"record_length":96,"hex_timestamp":"000001a0274868e0"} 
[2026-08-22 07: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-22 07:57:55] 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-22 07:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 07:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565479680001,"66":25560,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565479680001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:57:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:57:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565479680001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":160739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:57:55] local.INFO: GPS data processed {"connection_id":160739,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:57:55] local.INFO: Acknowledgment sent {"connection_id":160739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:57:56] local.INFO: TCP Data received {"connection_id":162160,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:57:56] local.INFO: Processing buffer {"connection_id":162160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:57:56] local.INFO: IMEI packet received {"connection_id":162160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":162160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:57:59] local.INFO: TCP Data received {"connection_id":160740,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:57:59] local.INFO: Processing buffer {"connection_id":160740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:57:59] local.INFO: IMEI packet received {"connection_id":160740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":160740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:58:01] local.INFO: TCP Data received {"connection_id":162160,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:58:01] local.INFO: Processing buffer {"connection_id":162160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:58:01] local.INFO: IMEI packet received {"connection_id":162160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":162160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:58:02] local.INFO: TCP Data received {"connection_id":162160,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0274b7620012d7a298005e0ee40000200cf24..."} 
[2026-08-22 07:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274b7620012d7a298005e0ee40000200cf24..."} 
[2026-08-22 07:58:02] local.INFO: Processing buffer {"connection_id":162160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274b7620012d7a298005e0ee40000200cf24..."} 
[2026-08-22 07:58:02] local.INFO: Packet analysis {"connection_id":162160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274b"} 
[2026-08-22 07:58:02] local.INFO: Extracted packet for processing {"connection_id":162160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274b"} 
[2026-08-22 07:58:02] local.INFO: GPS Element Parsed {"raw_longitude":762980736,"raw_latitude":98627136,"longitude_deg":76.2980736,"latitude_deg":9.8627136,"altitude":2,"angle":207,"satellites":36,"speed":8,"hex_longitude":"2d7a2980","hex_latitude":"05e0ee40","is_valid_coordinates":true} 
[2026-08-22 07:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565606656001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122235954655133696,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802778078153478144,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787365652000,"timestamp_ms":1787365652000,"timestamp_seconds":1787365652,"priority":1,"record_length":96,"hex_timestamp":"000001a0274b7620"} 
[2026-08-22 07:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:58: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-22 07:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-22 07:58:02] 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-22 07:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:58:02] 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-22 07:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565606656001,"66":12526,"83":206,"87":12288,"24":8,"16":122235954655133696,"45":8802778078153478144},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-08-22 07:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565606656001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-22 07:58:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-22 07:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122235954655133696,"km_value":122235954655133.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802778078153478144,"description":"Unknown IO ID 45"} 
[2026-08-22 07:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565606656001,"power":12526,"unknown_83":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8802778078153478144}} 
[2026-08-22 07:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":162160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:58:02] local.INFO: GPS data processed {"connection_id":162160,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:58:02] local.INFO: Acknowledgment sent {"connection_id":162160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:58:04] local.INFO: TCP Data received {"connection_id":160740,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:58:04] local.INFO: Processing buffer {"connection_id":160740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:58:04] local.INFO: IMEI packet received {"connection_id":160740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":160740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:58:07] local.INFO: TCP Data received {"connection_id":160740,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027493018012d196940071fedd8003e011c2a..."} 
[2026-08-22 07:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027493018012d196940071fedd8003e011c2a..."} 
[2026-08-22 07:58:07] local.INFO: Processing buffer {"connection_id":160740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027493018012d196940071fedd8003e011c2a..."} 
[2026-08-22 07:58:07] local.INFO: Packet analysis {"connection_id":160740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02749"} 
[2026-08-22 07:58:07] local.INFO: Extracted packet for processing {"connection_id":160740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02749"} 
[2026-08-22 07:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565563648001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787365503000,"timestamp_ms":1787365503000,"timestamp_seconds":1787365503,"priority":1,"record_length":96,"hex_timestamp":"000001a027493018"} 
[2026-08-22 07:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:58:07] 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-22 07:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 07:58:07] 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-22 07:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:58:07] 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-22 07:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565563648001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565563648001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:58:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:58:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565563648001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":160740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:58:08] local.INFO: GPS data processed {"connection_id":160740,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:58:08] local.INFO: Acknowledgment sent {"connection_id":160740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:58:09] local.INFO: TCP Data received {"connection_id":160740,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027498220012d196940071fedd8003e011c2a..."} 
[2026-08-22 07:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027498220012d196940071fedd8003e011c2a..."} 
[2026-08-22 07:58:09] local.INFO: Processing buffer {"connection_id":160740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027498220012d196940071fedd8003e011c2a..."} 
[2026-08-22 07:58:09] local.INFO: Packet analysis {"connection_id":160740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02749"} 
[2026-08-22 07:58:09] local.INFO: Extracted packet for processing {"connection_id":160740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02749"} 
[2026-08-22 07:58:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565568768001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787365524000,"timestamp_ms":1787365524000,"timestamp_seconds":1787365524,"priority":1,"record_length":96,"hex_timestamp":"000001a027498220"} 
[2026-08-22 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-22 07:58:09] 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-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 07:58:09] 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-22 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-22 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-22 07:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:58:09] 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-22 07:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565568768001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565568768001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:58:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:58:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565568768001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":160740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:58:09] local.INFO: GPS data processed {"connection_id":160740,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:58:09] local.INFO: Acknowledgment sent {"connection_id":160740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:58:27] local.INFO: TCP Data received {"connection_id":160739,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:58:27] local.INFO: Processing buffer {"connection_id":160739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:58:27] local.INFO: Packet analysis {"connection_id":160739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:58:27] local.INFO: Extracted packet for processing {"connection_id":160739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565479680001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58: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-22 07:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787365452000,"timestamp_ms":1787365452000,"timestamp_seconds":1787365452,"priority":1,"record_length":96,"hex_timestamp":"000001a0274868e0"} 
[2026-08-22 07: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-22 07:58:27] 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-22 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 07:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565479680001,"66":25560,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565479680001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:58:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565479680001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":160739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:58:27] local.INFO: GPS data processed {"connection_id":160739,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:58:27] local.INFO: Acknowledgment sent {"connection_id":160739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:58:33] local.INFO: TCP Data received {"connection_id":162160,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0274b7a08012d7a294005e0ed78000200e524..."} 
[2026-08-22 07:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274b7a08012d7a294005e0ed78000200e524..."} 
[2026-08-22 07:58:33] local.INFO: Processing buffer {"connection_id":162160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274b7a08012d7a294005e0ed78000200e524..."} 
[2026-08-22 07:58:33] local.INFO: Packet analysis {"connection_id":162160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274b"} 
[2026-08-22 07:58:33] local.INFO: Extracted packet for processing {"connection_id":162160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274b"} 
[2026-08-22 07:58:33] local.INFO: GPS Element Parsed {"raw_longitude":762980672,"raw_latitude":98626936,"longitude_deg":76.2980672,"latitude_deg":9.8626936,"altitude":2,"angle":229,"satellites":36,"speed":7,"hex_longitude":"2d7a2940","hex_latitude":"05e0ed78","is_valid_coordinates":true} 
[2026-08-22 07:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 07:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565606912001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122235963245068288,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802707709409247232,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 07:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787365653000,"timestamp_ms":1787365653000,"timestamp_seconds":1787365653,"priority":1,"record_length":96,"hex_timestamp":"000001a0274b7a08"} 
[2026-08-22 07:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 07:58: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-22 07:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 07:58:33] 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-22 07:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 07:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 07:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 07:58:33] 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-22 07:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 07:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 07:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565606912001,"66":12526,"83":206,"87":12288,"24":7,"16":122235963245068288,"45":8802707709409247232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-08-22 07:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 07:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 07:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565606912001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-22 07:58:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-22 07:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122235963245068288,"km_value":122235963245068.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802707709409247232,"description":"Unknown IO ID 45"} 
[2026-08-22 07:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565606912001,"power":12526,"unknown_83":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8802707709409247232}} 
[2026-08-22 07:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":162160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:58:33] local.INFO: GPS data processed {"connection_id":162160,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:58:33] local.INFO: Acknowledgment sent {"connection_id":162160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:58:49] local.INFO: TCP Data received {"connection_id":159589,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:58:49] local.INFO: Processing buffer {"connection_id":159589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:58:49] local.INFO: IMEI packet received {"connection_id":159589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":159589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:58:50] local.INFO: TCP Data received {"connection_id":159590,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:58:50] local.INFO: Processing buffer {"connection_id":159590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:58:50] local.INFO: IMEI packet received {"connection_id":159590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":159590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:58:53] local.INFO: TCP Data received {"connection_id":159846,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:58:53] local.INFO: Processing buffer {"connection_id":159846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:58:53] local.INFO: IMEI packet received {"connection_id":159846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 07:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":159846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:58:53] local.INFO: TCP Data received {"connection_id":159590,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:58:53] local.INFO: Processing buffer {"connection_id":159590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:58:53] local.INFO: IMEI packet received {"connection_id":159590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":159590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:58:54] local.INFO: TCP Data received {"connection_id":159846,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:58:54] local.INFO: Processing buffer {"connection_id":159846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:58:54] local.INFO: IMEI packet received {"connection_id":159846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":159846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:58:55] local.INFO: TCP Data received {"connection_id":159589,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:58:55] local.INFO: Processing buffer {"connection_id":159589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:58:55] local.INFO: IMEI packet received {"connection_id":159589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 07:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":159589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:58:55] local.INFO: TCP Data received {"connection_id":159846,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:58:55] local.INFO: Processing buffer {"connection_id":159846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:58:55] local.INFO: IMEI packet received {"connection_id":159846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":159846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:58:55] local.INFO: TCP Data received {"connection_id":159589,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:58:55] local.INFO: Processing buffer {"connection_id":159589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:58:55] local.INFO: Packet analysis {"connection_id":159589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:58:55] local.INFO: Extracted packet for processing {"connection_id":159589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565479680001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58: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-22 07:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787365452000,"timestamp_ms":1787365452000,"timestamp_seconds":1787365452,"priority":1,"record_length":96,"hex_timestamp":"000001a0274868e0"} 
[2026-08-22 07: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-22 07:58:55] 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-22 07:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 07:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565479680001,"66":25560,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565479680001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:58:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:58:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565479680001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":159589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:58:55] local.INFO: GPS data processed {"connection_id":159589,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:58:55] local.INFO: Acknowledgment sent {"connection_id":159589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:58:56] local.INFO: TCP Data received {"connection_id":159846,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:58:56] local.INFO: Processing buffer {"connection_id":159846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 07:58:56] local.INFO: IMEI packet received {"connection_id":159846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 07:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":159846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:58:59] local.INFO: TCP Data received {"connection_id":159590,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:58:59] local.INFO: Processing buffer {"connection_id":159590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:58:59] local.INFO: IMEI packet received {"connection_id":159590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":159590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:58:59] local.INFO: TCP Data received {"connection_id":159590,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02749d428012d196940071fedd8003e011c28..."} 
[2026-08-22 07:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02749d428012d196940071fedd8003e011c28..."} 
[2026-08-22 07:58:59] local.INFO: Processing buffer {"connection_id":159590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02749d428012d196940071fedd8003e011c28..."} 
[2026-08-22 07:58:59] local.INFO: Packet analysis {"connection_id":159590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02749"} 
[2026-08-22 07:58:59] local.INFO: Extracted packet for processing {"connection_id":159590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02749"} 
[2026-08-22 07:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 07:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565574144001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:58: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-22 07:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787365545000,"timestamp_ms":1787365545000,"timestamp_seconds":1787365545,"priority":1,"record_length":96,"hex_timestamp":"000001a02749d428"} 
[2026-08-22 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-22 07:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 07:58:59] 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-22 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-22 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-22 07:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:58:59] 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-22 07:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565574144001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565574144001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:58:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:58:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565574144001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":159590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:58:59] local.INFO: GPS data processed {"connection_id":159590,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:58:59] local.INFO: Acknowledgment sent {"connection_id":159590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:59:27] local.INFO: TCP Data received {"connection_id":159589,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:59:27] local.INFO: Processing buffer {"connection_id":159589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274868e0012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 07:59:27] local.INFO: Packet analysis {"connection_id":159589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:59:27] local.INFO: Extracted packet for processing {"connection_id":159589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02748"} 
[2026-08-22 07:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565479680001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 07:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 07:59: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-22 07:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787365452000,"timestamp_ms":1787365452000,"timestamp_seconds":1787365452,"priority":1,"record_length":96,"hex_timestamp":"000001a0274868e0"} 
[2026-08-22 07: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-22 07:59:27] 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-22 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 07:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 07:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 07:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 07:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 07:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565479680001,"66":25560,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 07:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 07:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 07:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565479680001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:59:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 07:59:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 07:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 07:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565479680001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 07:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":159589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:59:27] local.INFO: GPS data processed {"connection_id":159589,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:59:27] local.INFO: Acknowledgment sent {"connection_id":159589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:59:30] local.INFO: TCP Data received {"connection_id":159590,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0274a2630012d196940071fedd8003e011c28..."} 
[2026-08-22 07:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274a2630012d196940071fedd8003e011c28..."} 
[2026-08-22 07:59:30] local.INFO: Processing buffer {"connection_id":159590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274a2630012d196940071fedd8003e011c28..."} 
[2026-08-22 07:59:30] local.INFO: Packet analysis {"connection_id":159590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274a"} 
[2026-08-22 07:59:30] local.INFO: Extracted packet for processing {"connection_id":159590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274a"} 
[2026-08-22 07:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565579520001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:59: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-22 07:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787365566000,"timestamp_ms":1787365566000,"timestamp_seconds":1787365566,"priority":1,"record_length":96,"hex_timestamp":"000001a0274a2630"} 
[2026-08-22 07: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-22 07:59:30] 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-22 07: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 07:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:59:30] 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-22 07:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565579520001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565579520001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:59:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:59:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565579520001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":159590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:59:31] local.INFO: GPS data processed {"connection_id":159590,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:59:31] local.INFO: Acknowledgment sent {"connection_id":159590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 07:59:53] local.INFO: TCP Data received {"connection_id":159591,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:59:53] local.INFO: Processing buffer {"connection_id":159591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:59:53] local.INFO: IMEI packet received {"connection_id":159591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 07:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":159591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:59:54] local.INFO: TCP Data received {"connection_id":159591,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:59:54] local.INFO: Processing buffer {"connection_id":159591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:59:54] local.INFO: IMEI packet received {"connection_id":159591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":159591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:59:55] local.INFO: TCP Data received {"connection_id":162161,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:59:55] local.INFO: Processing buffer {"connection_id":162161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 07:59:55] local.INFO: IMEI packet received {"connection_id":162161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 07:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":162161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 07:59:59] local.INFO: TCP Data received {"connection_id":159591,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:59:59] local.INFO: Processing buffer {"connection_id":159591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 07:59:59] local.INFO: IMEI packet received {"connection_id":159591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 07:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":159591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 07:59:59] local.INFO: TCP Data received {"connection_id":159591,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0274a7838012d196940071fedd8003e011c2a..."} 
[2026-08-22 07:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274a7838012d196940071fedd8003e011c2a..."} 
[2026-08-22 07:59:59] local.INFO: Processing buffer {"connection_id":159591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274a7838012d196940071fedd8003e011c2a..."} 
[2026-08-22 07:59:59] local.INFO: Packet analysis {"connection_id":159591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274a"} 
[2026-08-22 07:59:59] local.INFO: Extracted packet for processing {"connection_id":159591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274a"} 
[2026-08-22 07:59:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 07: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-22 07:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565584896001,"note":"Value kept but may cause issues"} 
[2026-08-22 07:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 07:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 07:59: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-22 07:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787365587000,"timestamp_ms":1787365587000,"timestamp_seconds":1787365587,"priority":1,"record_length":96,"hex_timestamp":"000001a0274a7838"} 
[2026-08-22 07: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-22 07:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 07:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 07:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 07: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-22 07: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-22 07:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 07:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 07:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 07:59:59] 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-22 07:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 07:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 07:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565584896001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 07:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 07:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 07:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565584896001,"description":"Unknown IO ID 0"} 
[2026-08-22 07:59:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 07:59:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 07:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 07:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 07:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565584896001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 07:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":159591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 07:59:59] local.INFO: GPS data processed {"connection_id":159591,"processed":1,"errors":0,"total":1} 
[2026-08-22 07:59:59] local.INFO: Acknowledgment sent {"connection_id":159591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:00:00] local.INFO: TCP Data received {"connection_id":162161,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:00:00] local.INFO: Processing buffer {"connection_id":162161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:00:00] local.INFO: IMEI packet received {"connection_id":162161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":162161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:00:00] local.INFO: TCP Data received {"connection_id":162161,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:00:00] local.INFO: Processing buffer {"connection_id":162161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:00:00] local.INFO: Packet analysis {"connection_id":162161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:00:00] local.INFO: Extracted packet for processing {"connection_id":162161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565555712001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:00: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-22 08:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787365748000,"timestamp_ms":1787365748000,"timestamp_seconds":1787365748,"priority":1,"record_length":96,"hex_timestamp":"000001a0274ced20"} 
[2026-08-22 08: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-22 08:00: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-22 08: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 08:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565555712001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565555712001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:00:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:00:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565555712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":162161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:00:00] local.INFO: GPS data processed {"connection_id":162161,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:00:00] local.INFO: Acknowledgment sent {"connection_id":162161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:00:05] local.INFO: TCP Data received {"connection_id":162161,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:00:05] local.INFO: Processing buffer {"connection_id":162161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:00:05] local.INFO: Packet analysis {"connection_id":162161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:00:05] local.INFO: Extracted packet for processing {"connection_id":162161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565555712001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:00:05] 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-22 08:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787365748000,"timestamp_ms":1787365748000,"timestamp_seconds":1787365748,"priority":1,"record_length":96,"hex_timestamp":"000001a0274ced20"} 
[2026-08-22 08:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:00:05] 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-22 08:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 08:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565555712001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565555712001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:00:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565555712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":162161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:00:05] local.INFO: GPS data processed {"connection_id":162161,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:00:05] local.INFO: Acknowledgment sent {"connection_id":162161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:00:31] local.INFO: TCP Data received {"connection_id":159591,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0274ace28012d196940071fedd8003e011c26..."} 
[2026-08-22 08:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274ace28012d196940071fedd8003e011c26..."} 
[2026-08-22 08:00:31] local.INFO: Processing buffer {"connection_id":159591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274ace28012d196940071fedd8003e011c26..."} 
[2026-08-22 08:00:31] local.INFO: Packet analysis {"connection_id":159591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274a"} 
[2026-08-22 08:00:31] local.INFO: Extracted packet for processing {"connection_id":159591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274a"} 
[2026-08-22 08:00:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565590272001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787365609000,"timestamp_ms":1787365609000,"timestamp_seconds":1787365609,"priority":1,"record_length":96,"hex_timestamp":"000001a0274ace28"} 
[2026-08-22 08: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-22 08:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 08:00:31] 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-22 08: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-22 08: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-22 08:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:00:31] 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-22 08:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565590272001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565590272001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:00:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:00:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565590272001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":159591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:00:31] local.INFO: GPS data processed {"connection_id":159591,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:00:31] local.INFO: Acknowledgment sent {"connection_id":159591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:00:49] local.INFO: TCP Data received {"connection_id":162162,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:00:49] local.INFO: Processing buffer {"connection_id":162162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:00:49] local.INFO: IMEI packet received {"connection_id":162162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":162162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:00:53] local.INFO: TCP Data received {"connection_id":159847,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:00:53] local.INFO: Processing buffer {"connection_id":159847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:00:53] local.INFO: IMEI packet received {"connection_id":159847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":159847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:00:56] local.INFO: TCP Data received {"connection_id":162162,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:00:56] local.INFO: Processing buffer {"connection_id":162162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:00:56] local.INFO: IMEI packet received {"connection_id":162162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":162162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:00:56] local.INFO: TCP Data received {"connection_id":162162,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:00:56] local.INFO: Processing buffer {"connection_id":162162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:00:56] local.INFO: Packet analysis {"connection_id":162162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:00:56] local.INFO: Extracted packet for processing {"connection_id":162162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565555712001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08: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-22 08:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787365748000,"timestamp_ms":1787365748000,"timestamp_seconds":1787365748,"priority":1,"record_length":96,"hex_timestamp":"000001a0274ced20"} 
[2026-08-22 08: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-22 08:00:56] 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-22 08: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 08:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565555712001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565555712001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:00:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565555712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":162162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:00:56] local.INFO: GPS data processed {"connection_id":162162,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:00:56] local.INFO: Acknowledgment sent {"connection_id":162162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:00:57] local.INFO: TCP Data received {"connection_id":159847,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:00:57] local.INFO: Processing buffer {"connection_id":159847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:00:57] local.INFO: IMEI packet received {"connection_id":159847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":159847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:00:57] local.INFO: TCP Data received {"connection_id":159847,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0274b2030012d196940071fedd8003e011c28..."} 
[2026-08-22 08:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274b2030012d196940071fedd8003e011c28..."} 
[2026-08-22 08:00:57] local.INFO: Processing buffer {"connection_id":159847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274b2030012d196940071fedd8003e011c28..."} 
[2026-08-22 08:00:57] local.INFO: Packet analysis {"connection_id":159847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274b"} 
[2026-08-22 08:00:57] local.INFO: Extracted packet for processing {"connection_id":159847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274b"} 
[2026-08-22 08:00:57] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565595904001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:00: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-22 08:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787365630000,"timestamp_ms":1787365630000,"timestamp_seconds":1787365630,"priority":1,"record_length":96,"hex_timestamp":"000001a0274b2030"} 
[2026-08-22 08: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-22 08:00:57] 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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:00:57] 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-22 08: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-22 08: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-22 08:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:00:57] 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-22 08:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565595904001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565595904001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:00:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:00:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565595904001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":159847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:00:58] local.INFO: GPS data processed {"connection_id":159847,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:00:58] local.INFO: Acknowledgment sent {"connection_id":159847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:01:28] local.INFO: TCP Data received {"connection_id":162162,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:01:28] local.INFO: Processing buffer {"connection_id":162162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:01:28] local.INFO: Packet analysis {"connection_id":162162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:01:28] local.INFO: Extracted packet for processing {"connection_id":162162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:01:28] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565555712001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:01: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-22 08:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787365748000,"timestamp_ms":1787365748000,"timestamp_seconds":1787365748,"priority":1,"record_length":96,"hex_timestamp":"000001a0274ced20"} 
[2026-08-22 08: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-22 08:01:28] 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-22 08: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 08:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565555712001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565555712001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:01:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:01:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565555712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":162162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:01:28] local.INFO: GPS data processed {"connection_id":162162,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:01:28] local.INFO: Acknowledgment sent {"connection_id":162162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:01:29] local.INFO: TCP Data received {"connection_id":159847,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0274b7238012d196940071fedd8003e011c28..."} 
[2026-08-22 08:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274b7238012d196940071fedd8003e011c28..."} 
[2026-08-22 08:01:29] local.INFO: Processing buffer {"connection_id":159847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274b7238012d196940071fedd8003e011c28..."} 
[2026-08-22 08:01:29] local.INFO: Packet analysis {"connection_id":159847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274b"} 
[2026-08-22 08:01:29] local.INFO: Extracted packet for processing {"connection_id":159847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274b"} 
[2026-08-22 08:01:29] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565601280001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787365651000,"timestamp_ms":1787365651000,"timestamp_seconds":1787365651,"priority":1,"record_length":96,"hex_timestamp":"000001a0274b7238"} 
[2026-08-22 08: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-22 08:01:29] 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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:01:29] 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-22 08:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565601280001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565601280001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:01:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:01:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565601280001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":159847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:01:29] local.INFO: GPS data processed {"connection_id":159847,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:01:29] local.INFO: Acknowledgment sent {"connection_id":159847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:01:49] local.INFO: TCP Data received {"connection_id":160741,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:01:49] local.INFO: Processing buffer {"connection_id":160741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:01:49] local.INFO: IMEI packet received {"connection_id":160741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":160741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:01:53] local.INFO: TCP Data received {"connection_id":162163,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:01:53] local.INFO: Processing buffer {"connection_id":162163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:01:53] local.INFO: IMEI packet received {"connection_id":162163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":162163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:01:55] local.INFO: TCP Data received {"connection_id":160741,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:01:55] local.INFO: Processing buffer {"connection_id":160741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:01:55] local.INFO: IMEI packet received {"connection_id":160741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":160741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:01:56] local.INFO: TCP Data received {"connection_id":160741,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:01:56] local.INFO: Processing buffer {"connection_id":160741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:01:56] local.INFO: Packet analysis {"connection_id":160741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:01:56] local.INFO: Extracted packet for processing {"connection_id":160741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565555712001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:01: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-22 08:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787365748000,"timestamp_ms":1787365748000,"timestamp_seconds":1787365748,"priority":1,"record_length":96,"hex_timestamp":"000001a0274ced20"} 
[2026-08-22 08: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-22 08:01:56] 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-22 08: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 08:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565555712001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565555712001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:01:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565555712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":160741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:01:56] local.INFO: GPS data processed {"connection_id":160741,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:01:56] local.INFO: Acknowledgment sent {"connection_id":160741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:01:59] local.INFO: TCP Data received {"connection_id":162163,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:01:59] local.INFO: Processing buffer {"connection_id":162163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:01:59] local.INFO: IMEI packet received {"connection_id":162163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":162163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:01:59] local.INFO: TCP Data received {"connection_id":162163,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0274bc440012d196940071fedd8003e011c29..."} 
[2026-08-22 08:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274bc440012d196940071fedd8003e011c29..."} 
[2026-08-22 08:01:59] local.INFO: Processing buffer {"connection_id":162163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274bc440012d196940071fedd8003e011c29..."} 
[2026-08-22 08:01:59] local.INFO: Packet analysis {"connection_id":162163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274b"} 
[2026-08-22 08:01:59] local.INFO: Extracted packet for processing {"connection_id":162163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274b"} 
[2026-08-22 08:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565606656001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:01: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-22 08:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787365672000,"timestamp_ms":1787365672000,"timestamp_seconds":1787365672,"priority":1,"record_length":96,"hex_timestamp":"000001a0274bc440"} 
[2026-08-22 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-22 08:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 08:01:59] 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-22 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-22 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-22 08:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:01:59] 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-22 08:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565606656001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565606656001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:01:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:01:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565606656001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":162163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:01:59] local.INFO: GPS data processed {"connection_id":162163,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:01:59] local.INFO: Acknowledgment sent {"connection_id":162163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:02:27] local.INFO: TCP Data received {"connection_id":160741,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:02:27] local.INFO: Processing buffer {"connection_id":160741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:02:27] local.INFO: Packet analysis {"connection_id":160741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:02:27] local.INFO: Extracted packet for processing {"connection_id":160741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565555712001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:02: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-22 08:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787365748000,"timestamp_ms":1787365748000,"timestamp_seconds":1787365748,"priority":1,"record_length":96,"hex_timestamp":"000001a0274ced20"} 
[2026-08-22 08: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-22 08:02:27] 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-22 08: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 08:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565555712001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565555712001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:02:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565555712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":160741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:02:27] local.INFO: GPS data processed {"connection_id":160741,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:02:27] local.INFO: Acknowledgment sent {"connection_id":160741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:02:33] local.INFO: TCP Data received {"connection_id":162163,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0274c1648012d196940071fedd8003e011c29..."} 
[2026-08-22 08:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274c1648012d196940071fedd8003e011c29..."} 
[2026-08-22 08:02:33] local.INFO: Processing buffer {"connection_id":162163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274c1648012d196940071fedd8003e011c29..."} 
[2026-08-22 08:02:33] local.INFO: Packet analysis {"connection_id":162163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:02:33] local.INFO: Extracted packet for processing {"connection_id":162163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08:02: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-22 08:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565612032001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:02: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-22 08:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787365693000,"timestamp_ms":1787365693000,"timestamp_seconds":1787365693,"priority":1,"record_length":96,"hex_timestamp":"000001a0274c1648"} 
[2026-08-22 08:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:02:33] 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-22 08:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:02:33] 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-22 08:02: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-22 08:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:02: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-22 08:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565612032001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565612032001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:02:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565612032001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":162163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:02:33] local.INFO: GPS data processed {"connection_id":162163,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:02:33] local.INFO: Acknowledgment sent {"connection_id":162163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:02:49] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:02:49] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:02:49] local.INFO: IMEI packet received {"connection_id":159850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":159850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:02:53] local.INFO: TCP Data received {"connection_id":159593,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:02:53] local.INFO: Processing buffer {"connection_id":159593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:02:53] local.INFO: IMEI packet received {"connection_id":159593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":159593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:02:55] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:02:55] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:02:55] local.INFO: IMEI packet received {"connection_id":159850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":159850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:02:55] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:02:55] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:02:55] local.INFO: Packet analysis {"connection_id":159850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:02:55] local.INFO: Extracted packet for processing {"connection_id":159850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565555712001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08: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-22 08:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787365748000,"timestamp_ms":1787365748000,"timestamp_seconds":1787365748,"priority":1,"record_length":96,"hex_timestamp":"000001a0274ced20"} 
[2026-08-22 08: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-22 08:02:55] 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-22 08: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 08:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565555712001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565555712001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:02:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:02:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565555712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":159850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:02:55] local.INFO: GPS data processed {"connection_id":159850,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:02:55] local.INFO: Acknowledgment sent {"connection_id":159850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:02:59] local.INFO: TCP Data received {"connection_id":159593,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:02:59] local.INFO: Processing buffer {"connection_id":159593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:02:59] local.INFO: IMEI packet received {"connection_id":159593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":159593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:02:59] local.INFO: TCP Data received {"connection_id":159593,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0274c6850012d196940071fedd8003e011c29..."} 
[2026-08-22 08:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274c6850012d196940071fedd8003e011c29..."} 
[2026-08-22 08:02:59] local.INFO: Processing buffer {"connection_id":159593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274c6850012d196940071fedd8003e011c29..."} 
[2026-08-22 08:02:59] local.INFO: Packet analysis {"connection_id":159593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:02:59] local.INFO: Extracted packet for processing {"connection_id":159593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565617408001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:02: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-22 08:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787365714000,"timestamp_ms":1787365714000,"timestamp_seconds":1787365714,"priority":1,"record_length":96,"hex_timestamp":"000001a0274c6850"} 
[2026-08-22 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-22 08:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 08:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:02:59] 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-22 08:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565617408001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565617408001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:02:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:02:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565617408001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":159593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:02:59] local.INFO: GPS data processed {"connection_id":159593,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:02:59] local.INFO: Acknowledgment sent {"connection_id":159593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:03:27] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:03:27] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:03:27] local.INFO: Packet analysis {"connection_id":159850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:03:27] local.INFO: Extracted packet for processing {"connection_id":159850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565555712001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:03: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-22 08:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787365748000,"timestamp_ms":1787365748000,"timestamp_seconds":1787365748,"priority":1,"record_length":96,"hex_timestamp":"000001a0274ced20"} 
[2026-08-22 08:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:03:27] 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-22 08:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 08:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565555712001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565555712001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:03:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565555712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":159850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:03:27] local.INFO: GPS data processed {"connection_id":159850,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:03:27] local.INFO: Acknowledgment sent {"connection_id":159850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:03:30] local.INFO: TCP Data received {"connection_id":159593,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0274cba58012d196940071fedd8003e011c2a..."} 
[2026-08-22 08:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274cba58012d196940071fedd8003e011c2a..."} 
[2026-08-22 08:03:30] local.INFO: Processing buffer {"connection_id":159593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274cba58012d196940071fedd8003e011c2a..."} 
[2026-08-22 08:03:30] local.INFO: Packet analysis {"connection_id":159593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:03:30] local.INFO: Extracted packet for processing {"connection_id":159593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:03:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565622784001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:03: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-22 08:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787365735000,"timestamp_ms":1787365735000,"timestamp_seconds":1787365735,"priority":1,"record_length":96,"hex_timestamp":"000001a0274cba58"} 
[2026-08-22 08: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-22 08:03:30] 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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:03:30] 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-22 08:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565622784001,"66":12037,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565622784001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:03:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:03:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565622784001,"power":12037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":159593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:03:31] local.INFO: GPS data processed {"connection_id":159593,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:03:31] local.INFO: Acknowledgment sent {"connection_id":159593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:03:53] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:03:53] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:03:53] local.INFO: IMEI packet received {"connection_id":159852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":159852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:03:55] local.INFO: TCP Data received {"connection_id":159851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:03:55] local.INFO: Processing buffer {"connection_id":159851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:03:55] local.INFO: IMEI packet received {"connection_id":159851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":159851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:03:59] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:03:59] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:03:59] local.INFO: IMEI packet received {"connection_id":159852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":159852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:03:59] local.INFO: TCP Data received {"connection_id":160742,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:03:59] local.INFO: Processing buffer {"connection_id":160742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:03:59] local.INFO: IMEI packet received {"connection_id":160742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":160742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:03:59] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0274d0878012d196940071fedd8003e011c29..."} 
[2026-08-22 08:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274d0878012d196940071fedd8003e011c29..."} 
[2026-08-22 08:03:59] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274d0878012d196940071fedd8003e011c29..."} 
[2026-08-22 08:03:59] local.INFO: Packet analysis {"connection_id":159852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274d"} 
[2026-08-22 08:03:59] local.INFO: Extracted packet for processing {"connection_id":159852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274d"} 
[2026-08-22 08:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565628160001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:03: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-22 08:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787365755000,"timestamp_ms":1787365755000,"timestamp_seconds":1787365755,"priority":1,"record_length":96,"hex_timestamp":"000001a0274d0878"} 
[2026-08-22 08: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-22 08:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 08:03:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 08:03:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 08:03:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 08:03:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-08-22 08:03:59] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182130925371648,"note":"Value kept but may cause issues"} 
[2026-08-22 08:03:59] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300732480208051238,"note":"Value kept but may cause issues"} 
[2026-08-22 08:03:59] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194894592,"note":"Value kept but may cause issues"} 
[2026-08-22 08:03:59] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,160,104,45,64,237,62,41,10,66,22,196,1,240,53,227,39,31,4,113,205,32,105,216,40,239,48,2,51,7,69],"length":484,"final_offset":614,"validated_count":37,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-08-22 08:03:59] 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-22 08: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-22 08:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:03:59] 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-22 08:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565628160001,"66":11971,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565628160001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:03:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:03:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565628160001,"power":11971,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":159852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:03:59] local.INFO: GPS data processed {"connection_id":159852,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:03:59] local.INFO: Acknowledgment sent {"connection_id":159852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:04:00] local.INFO: TCP Data received {"connection_id":159851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:04:00] local.INFO: Processing buffer {"connection_id":159851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:04:00] local.INFO: IMEI packet received {"connection_id":159851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":159851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:04:00] local.INFO: TCP Data received {"connection_id":159851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:04:00] local.INFO: Processing buffer {"connection_id":159851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:04:00] local.INFO: Packet analysis {"connection_id":159851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:04:00] local.INFO: Extracted packet for processing {"connection_id":159851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:04:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565555712001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04: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-22 08:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787365748000,"timestamp_ms":1787365748000,"timestamp_seconds":1787365748,"priority":1,"record_length":96,"hex_timestamp":"000001a0274ced20"} 
[2026-08-22 08: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-22 08:04: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-22 08:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 08:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565555712001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565555712001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:04:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:04:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565555712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":159851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:04:00] local.INFO: GPS data processed {"connection_id":159851,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:04:00] local.INFO: Acknowledgment sent {"connection_id":159851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:04:01] local.INFO: TCP Data received {"connection_id":160742,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:04:01] local.INFO: Processing buffer {"connection_id":160742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:04:01] local.INFO: IMEI packet received {"connection_id":160742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":160742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:04:02] local.INFO: TCP Data received {"connection_id":160742,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0275063d8012d7a7e8005e10c500008005924..."} 
[2026-08-22 08:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275063d8012d7a7e8005e10c500008005924..."} 
[2026-08-22 08:04:02] local.INFO: Processing buffer {"connection_id":160742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275063d8012d7a7e8005e10c500008005924..."} 
[2026-08-22 08:04:02] local.INFO: Packet analysis {"connection_id":160742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02750"} 
[2026-08-22 08:04:02] local.INFO: Extracted packet for processing {"connection_id":160742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02750"} 
[2026-08-22 08:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763002496,"raw_latitude":98634832,"longitude_deg":76.3002496,"latitude_deg":9.8634832,"altitude":8,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d7a7e80","hex_latitude":"05e10c50","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565684224001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122237642577281024,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826633082431623168,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:02] 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-22 08:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787365975000,"timestamp_ms":1787365975000,"timestamp_seconds":1787365975,"priority":1,"record_length":96,"hex_timestamp":"000001a0275063d8"} 
[2026-08-22 08: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-22 08: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-22 08: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 08:04:02] 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-22 08: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-22 08: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-22 08:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:04:02] 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-22 08:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565684224001,"66":13298,"217":206,"85":15104,"24":0,"16":122237642577281024,"45":8826633082431623168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-22 08:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565684224001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:04:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 08:04:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122237642577281024,"km_value":122237642577281.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826633082431623168,"description":"Unknown IO ID 45"} 
[2026-08-22 08:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565684224001,"power":13298,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8826633082431623168}} 
[2026-08-22 08:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":160742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:04:02] local.INFO: GPS data processed {"connection_id":160742,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:04:02] local.INFO: Acknowledgment sent {"connection_id":160742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:04:05] local.INFO: TCP Data received {"connection_id":159851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:04:05] local.INFO: Processing buffer {"connection_id":159851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0274ced20012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:04:05] local.INFO: Packet analysis {"connection_id":159851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:04:05] local.INFO: Extracted packet for processing {"connection_id":159851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0274c"} 
[2026-08-22 08:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565555712001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:05] 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-22 08:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787365748000,"timestamp_ms":1787365748000,"timestamp_seconds":1787365748,"priority":1,"record_length":96,"hex_timestamp":"000001a0274ced20"} 
[2026-08-22 08: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-22 08:04:05] 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-22 08:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 08:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565555712001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565555712001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:04:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:04:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565555712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":159851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:04:05] local.INFO: GPS data processed {"connection_id":159851,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:04:05] local.INFO: Acknowledgment sent {"connection_id":159851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:04:31] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275092b8012d196940071fedd8003e011c27..."} 
[2026-08-22 08:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275092b8012d196940071fedd8003e011c27..."} 
[2026-08-22 08:04:31] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275092b8012d196940071fedd8003e011c27..."} 
[2026-08-22 08:04:31] local.INFO: Packet analysis {"connection_id":159852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02750"} 
[2026-08-22 08:04:31] local.INFO: Extracted packet for processing {"connection_id":159852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02750"} 
[2026-08-22 08:04:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565687296001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787365987000,"timestamp_ms":1787365987000,"timestamp_seconds":1787365987,"priority":1,"record_length":96,"hex_timestamp":"000001a0275092b8"} 
[2026-08-22 08: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-22 08:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:04:31] 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-22 08: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-22 08: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-22 08:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:04:31] 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-22 08:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565687296001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565687296001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:04:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:04:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565687296001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":159852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:04:31] local.INFO: GPS data processed {"connection_id":159852,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:04:31] local.INFO: Acknowledgment sent {"connection_id":159852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:04:34] local.INFO: TCP Data received {"connection_id":160742,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02750b5e0012d7a7e8005e10c500008005926..."} 
[2026-08-22 08:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02750b5e0012d7a7e8005e10c500008005926..."} 
[2026-08-22 08:04:34] local.INFO: Processing buffer {"connection_id":160742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02750b5e0012d7a7e8005e10c500008005926..."} 
[2026-08-22 08:04:34] local.INFO: Packet analysis {"connection_id":160742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02750"} 
[2026-08-22 08:04:34] local.INFO: Extracted packet for processing {"connection_id":160742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02750"} 
[2026-08-22 08:04:34] local.INFO: GPS Element Parsed {"raw_longitude":763002496,"raw_latitude":98634832,"longitude_deg":76.3002496,"latitude_deg":9.8634832,"altitude":8,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d7a7e80","hex_latitude":"05e10c50","is_valid_coordinates":true} 
[2026-08-22 08:04: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-22 08:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565689600001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122237642577281024,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826633082431623168,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:34] 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-22 08:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787365996000,"timestamp_ms":1787365996000,"timestamp_seconds":1787365996,"priority":1,"record_length":96,"hex_timestamp":"000001a02750b5e0"} 
[2026-08-22 08:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:04: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-22 08:04: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-22 08:04:34] 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-22 08:04: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-22 08:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:04:34] 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-22 08:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565689600001,"66":13254,"217":206,"85":15104,"24":0,"16":122237642577281024,"45":8826633082431623168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-22 08:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565689600001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:04:34] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 08:04:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122237642577281024,"km_value":122237642577281.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826633082431623168,"description":"Unknown IO ID 45"} 
[2026-08-22 08:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565689600001,"power":13254,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8826633082431623168}} 
[2026-08-22 08:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":160742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:04:34] local.INFO: GPS data processed {"connection_id":160742,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:04:34] local.INFO: Acknowledgment sent {"connection_id":160742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:04:50] local.INFO: TCP Data received {"connection_id":162164,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:04:50] local.INFO: Processing buffer {"connection_id":162164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:04:50] local.INFO: IMEI packet received {"connection_id":162164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":162164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:04:53] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:04:53] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:04:53] local.INFO: IMEI packet received {"connection_id":159853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":159853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:04:55] local.INFO: TCP Data received {"connection_id":162164,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:04:55] local.INFO: Processing buffer {"connection_id":162164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:04:55] local.INFO: IMEI packet received {"connection_id":162164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":162164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:04:55] local.INFO: TCP Data received {"connection_id":162164,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:04:55] local.INFO: Processing buffer {"connection_id":162164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:04:55] local.INFO: Packet analysis {"connection_id":162164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:04:55] local.INFO: Extracted packet for processing {"connection_id":162164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565631488001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08: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-22 08:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787366049000,"timestamp_ms":1787366049000,"timestamp_seconds":1787366049,"priority":1,"record_length":96,"hex_timestamp":"000001a0275184e8"} 
[2026-08-22 08: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-22 08:04:55] 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-22 08:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565631488001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565631488001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:04:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:04:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565631488001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":162164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:04:55] local.INFO: GPS data processed {"connection_id":162164,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:04:55] local.INFO: Acknowledgment sent {"connection_id":162164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:04:56] local.INFO: TCP Data received {"connection_id":159595,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:04:56] local.INFO: Processing buffer {"connection_id":159595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:04:56] local.INFO: IMEI packet received {"connection_id":159595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":159595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:04:57] local.INFO: TCP Data received {"connection_id":159595,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:04:57] local.INFO: Processing buffer {"connection_id":159595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:04:57] local.INFO: IMEI packet received {"connection_id":159595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":159595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:04:59] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:04:59] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:04:59] local.INFO: IMEI packet received {"connection_id":159853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":159853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:04:59] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02750e4c0012d196940071fedd8003e011c28..."} 
[2026-08-22 08:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02750e4c0012d196940071fedd8003e011c28..."} 
[2026-08-22 08:04:59] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02750e4c0012d196940071fedd8003e011c28..."} 
[2026-08-22 08:04:59] local.INFO: Packet analysis {"connection_id":159853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02750"} 
[2026-08-22 08:04:59] local.INFO: Extracted packet for processing {"connection_id":159853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02750"} 
[2026-08-22 08:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565692672001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:04: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-22 08:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787366008000,"timestamp_ms":1787366008000,"timestamp_seconds":1787366008,"priority":1,"record_length":96,"hex_timestamp":"000001a02750e4c0"} 
[2026-08-22 08: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-22 08:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 08:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:04:59] 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-22 08:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565692672001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565692672001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:04:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565692672001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":159853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:04:59] local.INFO: GPS data processed {"connection_id":159853,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:04:59] local.INFO: Acknowledgment sent {"connection_id":159853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:05:01] local.INFO: TCP Data received {"connection_id":159595,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:05:01] local.INFO: Processing buffer {"connection_id":159595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:05:01] local.INFO: IMEI packet received {"connection_id":159595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":159595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:05:02] local.INFO: TCP Data received {"connection_id":159595,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0275107e8012d7a7e8005e10c500008005924..."} 
[2026-08-22 08:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275107e8012d7a7e8005e10c500008005924..."} 
[2026-08-22 08:05:02] local.INFO: Processing buffer {"connection_id":159595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275107e8012d7a7e8005e10c500008005924..."} 
[2026-08-22 08:05:02] local.INFO: Packet analysis {"connection_id":159595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:05:02] local.INFO: Extracted packet for processing {"connection_id":159595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763002496,"raw_latitude":98634832,"longitude_deg":76.3002496,"latitude_deg":9.8634832,"altitude":8,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d7a7e80","hex_latitude":"05e10c50","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565694976001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122237642577281024,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826633082431623168,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05:02] 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-22 08:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787366017000,"timestamp_ms":1787366017000,"timestamp_seconds":1787366017,"priority":1,"record_length":96,"hex_timestamp":"000001a0275107e8"} 
[2026-08-22 08: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-22 08: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-22 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 08:05:02] 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-22 08: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-22 08: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-22 08:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:05:02] 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-22 08:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565694976001,"66":13374,"217":206,"85":15104,"24":0,"16":122237642577281024,"45":8826633082431623168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-22 08:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565694976001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:05:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 08:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122237642577281024,"km_value":122237642577281.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826633082431623168,"description":"Unknown IO ID 45"} 
[2026-08-22 08:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565694976001,"power":13374,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8826633082431623168}} 
[2026-08-22 08:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":159595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:05:02] local.INFO: GPS data processed {"connection_id":159595,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:05:02] local.INFO: Acknowledgment sent {"connection_id":159595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:05:26] local.INFO: TCP Data received {"connection_id":162164,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:05:26] local.INFO: Processing buffer {"connection_id":162164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:05:26] local.INFO: Packet analysis {"connection_id":162164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:05:26] local.INFO: Extracted packet for processing {"connection_id":162164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:05:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565631488001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05: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-22 08:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787366049000,"timestamp_ms":1787366049000,"timestamp_seconds":1787366049,"priority":1,"record_length":96,"hex_timestamp":"000001a0275184e8"} 
[2026-08-22 08: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-22 08:05:26] 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-22 08:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565631488001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565631488001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:05:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565631488001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":162164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:05:27] local.INFO: GPS data processed {"connection_id":162164,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:05:27] local.INFO: Acknowledgment sent {"connection_id":162164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:05:30] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275136c8012d196940071fedd8003e011c27..."} 
[2026-08-22 08:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275136c8012d196940071fedd8003e011c27..."} 
[2026-08-22 08:05:30] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275136c8012d196940071fedd8003e011c27..."} 
[2026-08-22 08:05:30] local.INFO: Packet analysis {"connection_id":159853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:05:30] local.INFO: Extracted packet for processing {"connection_id":159853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:05:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565698048001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05: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-22 08:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787366029000,"timestamp_ms":1787366029000,"timestamp_seconds":1787366029,"priority":1,"record_length":96,"hex_timestamp":"000001a0275136c8"} 
[2026-08-22 08: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-22 08:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:05:30] 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-22 08:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565698048001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565698048001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:05:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:05:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565698048001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":159853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:05:30] local.INFO: GPS data processed {"connection_id":159853,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:05:30] local.INFO: Acknowledgment sent {"connection_id":159853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:05:34] local.INFO: TCP Data received {"connection_id":159595,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0275159f0012d7a7e8005e10c500008005923..."} 
[2026-08-22 08:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275159f0012d7a7e8005e10c500008005923..."} 
[2026-08-22 08:05:34] local.INFO: Processing buffer {"connection_id":159595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275159f0012d7a7e8005e10c500008005923..."} 
[2026-08-22 08:05:34] local.INFO: Packet analysis {"connection_id":159595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:05:34] local.INFO: Extracted packet for processing {"connection_id":159595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763002496,"raw_latitude":98634832,"longitude_deg":76.3002496,"latitude_deg":9.8634832,"altitude":8,"angle":89,"satellites":35,"speed":0,"hex_longitude":"2d7a7e80","hex_latitude":"05e10c50","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565700352001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122237642577281024,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826633082431623168,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05:34] 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-22 08:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787366038000,"timestamp_ms":1787366038000,"timestamp_seconds":1787366038,"priority":1,"record_length":96,"hex_timestamp":"000001a0275159f0"} 
[2026-08-22 08: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-22 08:05: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-22 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 08:05:34] 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-22 08: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-22 08: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-22 08:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:05:34] 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-22 08:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565700352001,"66":13450,"217":206,"85":15104,"24":0,"16":122237642577281024,"45":8826633082431623168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-22 08:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565700352001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:05:34] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 08:05:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122237642577281024,"km_value":122237642577281.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826633082431623168,"description":"Unknown IO ID 45"} 
[2026-08-22 08:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565700352001,"power":13450,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8826633082431623168}} 
[2026-08-22 08:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":159595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:05:34] local.INFO: GPS data processed {"connection_id":159595,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:05:34] local.INFO: Acknowledgment sent {"connection_id":159595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:05:49] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:05:49] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:05:49] local.INFO: IMEI packet received {"connection_id":159854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":159854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:05:53] local.INFO: TCP Data received {"connection_id":159855,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:05:53] local.INFO: Processing buffer {"connection_id":159855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:05:53] local.INFO: IMEI packet received {"connection_id":159855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":159855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:05:55] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:05:55] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:05:55] local.INFO: IMEI packet received {"connection_id":159854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":159854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:05:55] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:05:55] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:05:55] local.INFO: Packet analysis {"connection_id":159854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:05:55] local.INFO: Extracted packet for processing {"connection_id":159854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565631488001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08: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-22 08:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787366049000,"timestamp_ms":1787366049000,"timestamp_seconds":1787366049,"priority":1,"record_length":96,"hex_timestamp":"000001a0275184e8"} 
[2026-08-22 08: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-22 08:05:55] 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-22 08:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565631488001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565631488001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:05:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:05:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565631488001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":159854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:05:55] local.INFO: GPS data processed {"connection_id":159854,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:05:55] local.INFO: Acknowledgment sent {"connection_id":159854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:05:59] local.INFO: TCP Data received {"connection_id":159855,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:05:59] local.INFO: Processing buffer {"connection_id":159855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:05:59] local.INFO: IMEI packet received {"connection_id":159855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":159855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:05:59] local.INFO: TCP Data received {"connection_id":159855,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275184e8012d196940071fedd8003e011c26..."} 
[2026-08-22 08:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275184e8012d196940071fedd8003e011c26..."} 
[2026-08-22 08:05:59] local.INFO: Processing buffer {"connection_id":159855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275184e8012d196940071fedd8003e011c26..."} 
[2026-08-22 08:05:59] local.INFO: Packet analysis {"connection_id":159855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:05:59] local.INFO: Extracted packet for processing {"connection_id":159855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565703424001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:05: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-22 08:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787366049000,"timestamp_ms":1787366049000,"timestamp_seconds":1787366049,"priority":1,"record_length":96,"hex_timestamp":"000001a0275184e8"} 
[2026-08-22 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-22 08:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 08:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:05:59] 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-22 08:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565703424001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565703424001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:05:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:05:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565703424001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":159855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:05:59] local.INFO: GPS data processed {"connection_id":159855,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:05:59] local.INFO: Acknowledgment sent {"connection_id":159855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:06:01] local.INFO: TCP Data received {"connection_id":159596,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:06:01] local.INFO: Processing buffer {"connection_id":159596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:06:01] local.INFO: IMEI packet received {"connection_id":159596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":159596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:06:02] local.INFO: TCP Data received {"connection_id":159596,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:06:02] local.INFO: Processing buffer {"connection_id":159596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:06:02] local.INFO: IMEI packet received {"connection_id":159596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":159596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:06:03] local.INFO: TCP Data received {"connection_id":159596,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02751abf8012d7a834005e10b880012005326..."} 
[2026-08-22 08:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02751abf8012d7a834005e10b880012005326..."} 
[2026-08-22 08:06:03] local.INFO: Processing buffer {"connection_id":159596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02751abf8012d7a834005e10b880012005326..."} 
[2026-08-22 08:06:03] local.INFO: Packet analysis {"connection_id":159596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:06:03] local.INFO: Extracted packet for processing {"connection_id":159596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:06:03] local.INFO: GPS Element Parsed {"raw_longitude":763003712,"raw_latitude":98634632,"longitude_deg":76.3003712,"latitude_deg":9.8634632,"altitude":18,"angle":83,"satellites":38,"speed":9,"hex_longitude":"2d7a8340","hex_latitude":"05e10b88","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565705728001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122237702706823168,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826633082431623168,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:03] 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-22 08:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787366059000,"timestamp_ms":1787366059000,"timestamp_seconds":1787366059,"priority":1,"record_length":96,"hex_timestamp":"000001a02751abf8"} 
[2026-08-22 08: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-22 08:06: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-22 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-22 08:06:03] 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-22 08: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-22 08: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-22 08:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:06:03] 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-22 08:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565705728001,"66":13091,"217":206,"85":15104,"24":9,"16":122237702706823168,"45":8826633082431623168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-22 08:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565705728001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:06:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 08:06:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122237702706823168,"km_value":122237702706823.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826633082431623168,"description":"Unknown IO ID 45"} 
[2026-08-22 08:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565705728001,"power":13091,"unknown_217":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8826633082431623168}} 
[2026-08-22 08:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":159596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:06:03] local.INFO: GPS data processed {"connection_id":159596,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:06:03] local.INFO: Acknowledgment sent {"connection_id":159596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:06:07] local.INFO: TCP Data received {"connection_id":159596,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02751dad8012d7a910005e10e300010004826..."} 
[2026-08-22 08:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02751dad8012d7a910005e10e300010004826..."} 
[2026-08-22 08:06:07] local.INFO: Processing buffer {"connection_id":159596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02751dad8012d7a910005e10e300010004826..."} 
[2026-08-22 08:06:07] local.INFO: Packet analysis {"connection_id":159596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:06:07] local.INFO: Extracted packet for processing {"connection_id":159596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763007232,"raw_latitude":98635312,"longitude_deg":76.3007232,"latitude_deg":9.8635312,"altitude":16,"angle":72,"satellites":38,"speed":10,"hex_longitude":"2d7a9100","hex_latitude":"05e10e30","is_valid_coordinates":true} 
[2026-08-22 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-22 08:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565711104001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122237874505515008,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827970088570947584,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:07] 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-22 08:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787366071000,"timestamp_ms":1787366071000,"timestamp_seconds":1787366071,"priority":1,"record_length":96,"hex_timestamp":"000001a02751dad8"} 
[2026-08-22 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-22 08:06: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-22 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-22 08:06:07] 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-22 08:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 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-22 08:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 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-22 08:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565711104001,"66":13091,"217":206,"85":15104,"24":10,"16":122237874505515008,"45":8827970088570947584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-22 08:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565711104001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:06:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 08:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122237874505515008,"km_value":122237874505515.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827970088570947584,"description":"Unknown IO ID 45"} 
[2026-08-22 08:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565711104001,"power":13091,"unknown_217":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8827970088570947584}} 
[2026-08-22 08:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":159596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:06:07] local.INFO: GPS data processed {"connection_id":159596,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:06:07] local.INFO: Acknowledgment sent {"connection_id":159596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:06:27] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:06:27] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:06:27] local.INFO: Packet analysis {"connection_id":159854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:06:27] local.INFO: Extracted packet for processing {"connection_id":159854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565631488001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06: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-22 08:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787366049000,"timestamp_ms":1787366049000,"timestamp_seconds":1787366049,"priority":1,"record_length":96,"hex_timestamp":"000001a0275184e8"} 
[2026-08-22 08: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-22 08:06:27] 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-22 08:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565631488001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565631488001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:06:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565631488001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":159854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:06:27] local.INFO: GPS data processed {"connection_id":159854,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:06:27] local.INFO: Acknowledgment sent {"connection_id":159854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:06:30] local.INFO: TCP Data received {"connection_id":159855,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02751d6f0012d196940071fedd8003e011c26..."} 
[2026-08-22 08:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02751d6f0012d196940071fedd8003e011c26..."} 
[2026-08-22 08:06:30] local.INFO: Processing buffer {"connection_id":159855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02751d6f0012d196940071fedd8003e011c26..."} 
[2026-08-22 08:06:30] local.INFO: Packet analysis {"connection_id":159855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:06:30] local.INFO: Extracted packet for processing {"connection_id":159855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:06:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565708544001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06: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-22 08:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787366070000,"timestamp_ms":1787366070000,"timestamp_seconds":1787366070,"priority":1,"record_length":96,"hex_timestamp":"000001a02751d6f0"} 
[2026-08-22 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-22 08:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:06:30] 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-22 08:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565708544001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565708544001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:06:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:06:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565708544001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":159855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:06:31] local.INFO: GPS data processed {"connection_id":159855,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:06:31] local.INFO: Acknowledgment sent {"connection_id":159855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:06:39] local.INFO: TCP Data received {"connection_id":159596,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027538c70012d7b420005e15cf0000e004725..."} 
[2026-08-22 08:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027538c70012d7b420005e15cf0000e004725..."} 
[2026-08-22 08:06:39] local.INFO: Processing buffer {"connection_id":159596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027538c70012d7b420005e15cf0000e004725..."} 
[2026-08-22 08:06:39] local.INFO: Packet analysis {"connection_id":159596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02753"} 
[2026-08-22 08:06:39] local.INFO: Extracted packet for processing {"connection_id":159596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02753"} 
[2026-08-22 08:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763052544,"raw_latitude":98655472,"longitude_deg":76.3052544,"latitude_deg":9.8655472,"altitude":14,"angle":71,"satellites":37,"speed":0,"hex_longitude":"2d7b4200","hex_latitude":"05e15cf0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565737216001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122240288277135360,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874694934709843968,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:39] 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-22 08:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787366182000,"timestamp_ms":1787366182000,"timestamp_seconds":1787366182,"priority":1,"record_length":96,"hex_timestamp":"000001a027538c70"} 
[2026-08-22 08: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-22 08:06: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-22 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 08:06:39] 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-22 08: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-22 08: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-22 08:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:06: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-22 08:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565737216001,"66":13276,"217":206,"85":15104,"24":0,"16":122240288277135360,"45":8874694934709843968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-22 08:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565737216001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:06:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 08:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122240288277135360,"km_value":122240288277135.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874694934709843968,"description":"Unknown IO ID 45"} 
[2026-08-22 08:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565737216001,"power":13276,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8874694934709843968}} 
[2026-08-22 08:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":159596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:06:39] local.INFO: GPS data processed {"connection_id":159596,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:06:39] local.INFO: Acknowledgment sent {"connection_id":159596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:06:49] local.INFO: TCP Data received {"connection_id":159597,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:06:49] local.INFO: Processing buffer {"connection_id":159597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:06:49] local.INFO: IMEI packet received {"connection_id":159597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":159597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:06:53] local.INFO: TCP Data received {"connection_id":160744,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:06:53] local.INFO: Processing buffer {"connection_id":160744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:06:53] local.INFO: IMEI packet received {"connection_id":160744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":160744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:06:53] local.INFO: TCP Data received {"connection_id":160743,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:06:53] local.INFO: Processing buffer {"connection_id":160743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:06:53] local.INFO: IMEI packet received {"connection_id":160743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":160743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:06:54] local.INFO: TCP Data received {"connection_id":160743,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:06:54] local.INFO: Processing buffer {"connection_id":160743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:06:54] local.INFO: IMEI packet received {"connection_id":160743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":160743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:06:55] local.INFO: TCP Data received {"connection_id":159597,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:06:55] local.INFO: Processing buffer {"connection_id":159597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:06:55] local.INFO: IMEI packet received {"connection_id":159597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":159597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:06:56] local.INFO: TCP Data received {"connection_id":159597,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:06:56] local.INFO: Processing buffer {"connection_id":159597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:06:56] local.INFO: Packet analysis {"connection_id":159597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:06:56] local.INFO: Extracted packet for processing {"connection_id":159597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565631488001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06: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-22 08:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787366049000,"timestamp_ms":1787366049000,"timestamp_seconds":1787366049,"priority":1,"record_length":96,"hex_timestamp":"000001a0275184e8"} 
[2026-08-22 08: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-22 08:06:56] 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-22 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565631488001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565631488001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:06:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565631488001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":159597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:06:56] local.INFO: GPS data processed {"connection_id":159597,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:06:56] local.INFO: Acknowledgment sent {"connection_id":159597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:06:56] local.INFO: TCP Data received {"connection_id":160744,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:06:56] local.INFO: Processing buffer {"connection_id":160744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:06:56] local.INFO: IMEI packet received {"connection_id":160744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":160744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:06:59] local.INFO: TCP Data received {"connection_id":160743,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:06:59] local.INFO: Processing buffer {"connection_id":160743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:06:59] local.INFO: IMEI packet received {"connection_id":160743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":160743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:06:59] local.INFO: TCP Data received {"connection_id":160743,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275228f8012d196940071fedd8003e011c28..."} 
[2026-08-22 08:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275228f8012d196940071fedd8003e011c28..."} 
[2026-08-22 08:06:59] local.INFO: Processing buffer {"connection_id":160743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275228f8012d196940071fedd8003e011c28..."} 
[2026-08-22 08:06:59] local.INFO: Packet analysis {"connection_id":160743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02752"} 
[2026-08-22 08:06:59] local.INFO: Extracted packet for processing {"connection_id":160743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02752"} 
[2026-08-22 08:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565713920001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:06: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-22 08:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787366091000,"timestamp_ms":1787366091000,"timestamp_seconds":1787366091,"priority":1,"record_length":96,"hex_timestamp":"000001a0275228f8"} 
[2026-08-22 08: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-22 08:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:06:59] 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-22 08:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565713920001,"66":12363,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565713920001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:06:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565713920001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":160743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:06:59] local.INFO: GPS data processed {"connection_id":160743,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:06:59] local.INFO: Acknowledgment sent {"connection_id":160743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:07:01] local.INFO: TCP Data received {"connection_id":160744,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:07:01] local.INFO: Processing buffer {"connection_id":160744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:07:01] local.INFO: IMEI packet received {"connection_id":160744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":160744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:07:02] local.INFO: TCP Data received {"connection_id":160744,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02753bb50012d7b424005e15e90000e000f24..."} 
[2026-08-22 08:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02753bb50012d7b424005e15e90000e000f24..."} 
[2026-08-22 08:07:02] local.INFO: Processing buffer {"connection_id":160744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02753bb50012d7b424005e15e90000e000f24..."} 
[2026-08-22 08:07:02] local.INFO: Packet analysis {"connection_id":160744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02753"} 
[2026-08-22 08:07:02] local.INFO: Extracted packet for processing {"connection_id":160744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02753"} 
[2026-08-22 08:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763052608,"raw_latitude":98655888,"longitude_deg":76.3052608,"latitude_deg":9.8655888,"altitude":14,"angle":15,"satellites":36,"speed":4,"hex_longitude":"2d7b4240","hex_latitude":"05e15e90","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565742592001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122240305457004544,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881661440383840256,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07:02] 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-22 08:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787366194000,"timestamp_ms":1787366194000,"timestamp_seconds":1787366194,"priority":1,"record_length":96,"hex_timestamp":"000001a02753bb50"} 
[2026-08-22 08: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-22 08:07: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-22 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 08:07:02] 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-22 08: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-22 08: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-22 08:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:07:02] 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-22 08:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565742592001,"66":13102,"217":206,"85":15104,"24":4,"16":122240305457004544,"45":8881661440383840256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-22 08:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565742592001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:07:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 08:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122240305457004544,"km_value":122240305457004.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881661440383840256,"description":"Unknown IO ID 45"} 
[2026-08-22 08:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565742592001,"power":13102,"unknown_217":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8881661440383840256}} 
[2026-08-22 08:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":160744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:07:02] local.INFO: GPS data processed {"connection_id":160744,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:07:02] local.INFO: Acknowledgment sent {"connection_id":160744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:07:27] local.INFO: TCP Data received {"connection_id":159597,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:07:27] local.INFO: Processing buffer {"connection_id":159597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:07:27] local.INFO: Packet analysis {"connection_id":159597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:07:27] local.INFO: Extracted packet for processing {"connection_id":159597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565631488001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07: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-22 08:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787366049000,"timestamp_ms":1787366049000,"timestamp_seconds":1787366049,"priority":1,"record_length":96,"hex_timestamp":"000001a0275184e8"} 
[2026-08-22 08: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-22 08:07:27] 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-22 08:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565631488001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565631488001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:07:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:07:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565631488001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":159597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:07:27] local.INFO: GPS data processed {"connection_id":159597,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:07:27] local.INFO: Acknowledgment sent {"connection_id":159597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:07:30] local.INFO: TCP Data received {"connection_id":160743,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027527b00012d196940071fedd8003e011c28..."} 
[2026-08-22 08:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027527b00012d196940071fedd8003e011c28..."} 
[2026-08-22 08:07:30] local.INFO: Processing buffer {"connection_id":160743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027527b00012d196940071fedd8003e011c28..."} 
[2026-08-22 08:07:30] local.INFO: Packet analysis {"connection_id":160743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02752"} 
[2026-08-22 08:07:30] local.INFO: Extracted packet for processing {"connection_id":160743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02752"} 
[2026-08-22 08:07:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565719296001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07: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-22 08:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787366112000,"timestamp_ms":1787366112000,"timestamp_seconds":1787366112,"priority":1,"record_length":96,"hex_timestamp":"000001a027527b00"} 
[2026-08-22 08: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-22 08:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-22 08:07:30] 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-22 08: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-22 08: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-22 08:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:07:30] 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-22 08:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565719296001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565719296001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:07:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:07:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565719296001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":160743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:07:31] local.INFO: GPS data processed {"connection_id":160743,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:07:31] local.INFO: Acknowledgment sent {"connection_id":160743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:07:33] local.INFO: TCP Data received {"connection_id":160744,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02753c320012d7b428005e16048000e000123..."} 
[2026-08-22 08:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02753c320012d7b428005e16048000e000123..."} 
[2026-08-22 08:07:33] local.INFO: Processing buffer {"connection_id":160744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02753c320012d7b428005e16048000e000123..."} 
[2026-08-22 08:07:33] local.INFO: Packet analysis {"connection_id":160744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02753"} 
[2026-08-22 08:07:33] local.INFO: Extracted packet for processing {"connection_id":160744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02753"} 
[2026-08-22 08:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763052672,"raw_latitude":98656328,"longitude_deg":76.3052672,"latitude_deg":9.8656328,"altitude":14,"angle":1,"satellites":35,"speed":11,"hex_longitude":"2d7b4280","hex_latitude":"05e16048","is_valid_coordinates":true} 
[2026-08-22 08:07: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-22 08:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565745664001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122240331226808320,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881731809128124416,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07:33] 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-22 08:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787366196000,"timestamp_ms":1787366196000,"timestamp_seconds":1787366196,"priority":1,"record_length":96,"hex_timestamp":"000001a02753c320"} 
[2026-08-22 08:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:07: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-22 08:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 08:07:33] 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-22 08:07: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-22 08:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:07:33] 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-22 08:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565745664001,"66":13472,"217":206,"85":15104,"24":11,"16":122240331226808320,"45":8881731809128124416},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-22 08:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565745664001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:07:33] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 08:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122240331226808320,"km_value":122240331226808.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881731809128124416,"description":"Unknown IO ID 45"} 
[2026-08-22 08:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565745664001,"power":13472,"unknown_217":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8881731809128124416}} 
[2026-08-22 08:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":160744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:07:33] local.INFO: GPS data processed {"connection_id":160744,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:07:33] local.INFO: Acknowledgment sent {"connection_id":160744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:07:49] local.INFO: TCP Data received {"connection_id":160745,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:07:49] local.INFO: Processing buffer {"connection_id":160745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:07:49] local.INFO: IMEI packet received {"connection_id":160745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":160745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:07:53] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:07:53] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:07:53] local.INFO: IMEI packet received {"connection_id":159856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":159856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:07:55] local.INFO: TCP Data received {"connection_id":160745,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:07:55] local.INFO: Processing buffer {"connection_id":160745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:07:55] local.INFO: IMEI packet received {"connection_id":160745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":160745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:07:56] local.INFO: TCP Data received {"connection_id":160745,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:07:56] local.INFO: Processing buffer {"connection_id":160745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:07:56] local.INFO: Packet analysis {"connection_id":160745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:07:56] local.INFO: Extracted packet for processing {"connection_id":160745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565631488001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07: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-22 08:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787366049000,"timestamp_ms":1787366049000,"timestamp_seconds":1787366049,"priority":1,"record_length":96,"hex_timestamp":"000001a0275184e8"} 
[2026-08-22 08:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:07:56] 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-22 08:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565631488001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565631488001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:07:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565631488001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":160745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:07:56] local.INFO: GPS data processed {"connection_id":160745,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:07:56] local.INFO: Acknowledgment sent {"connection_id":160745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:07:56] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:07:56] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:07:56] local.INFO: IMEI packet received {"connection_id":159857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":159857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:07:57] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:07:57] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:07:57] local.INFO: IMEI packet received {"connection_id":159856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":159856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:07:57] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02752cd08012d196940071fedd8003e011c26..."} 
[2026-08-22 08:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02752cd08012d196940071fedd8003e011c26..."} 
[2026-08-22 08:07:57] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02752cd08012d196940071fedd8003e011c26..."} 
[2026-08-22 08:07:57] local.INFO: Packet analysis {"connection_id":159856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02752"} 
[2026-08-22 08:07:57] local.INFO: Extracted packet for processing {"connection_id":159856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02752"} 
[2026-08-22 08:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565724672001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:07: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-22 08:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787366133000,"timestamp_ms":1787366133000,"timestamp_seconds":1787366133,"priority":1,"record_length":96,"hex_timestamp":"000001a02752cd08"} 
[2026-08-22 08: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-22 08:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 08:07:57] 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-22 08: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-22 08: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-22 08:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:07:57] 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-22 08:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565724672001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565724672001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:07:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:07:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565724672001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":159856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:07:57] local.INFO: GPS data processed {"connection_id":159856,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:07:57] local.INFO: Acknowledgment sent {"connection_id":159856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:08:01] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:08:01] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:08:01] local.INFO: IMEI packet received {"connection_id":159857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":159857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:08:02] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02753caf0012d7b424005e16348000e015f23..."} 
[2026-08-22 08:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02753caf0012d7b424005e16348000e015f23..."} 
[2026-08-22 08:08:02] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02753caf0012d7b424005e16348000e015f23..."} 
[2026-08-22 08:08:02] local.INFO: Packet analysis {"connection_id":159857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02753"} 
[2026-08-22 08:08:02] local.INFO: Extracted packet for processing {"connection_id":159857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02753"} 
[2026-08-22 08:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763052608,"raw_latitude":98657096,"longitude_deg":76.3052608,"latitude_deg":9.8657096,"altitude":14,"angle":351,"satellites":35,"speed":17,"hex_longitude":"2d7b4240","hex_latitude":"05e16348","is_valid_coordinates":true} 
[2026-08-22 08:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565746176001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122240365586546688,"note":"Value kept but may cause issues"} 
[2026-08-22 08:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881802177872414720,"note":"Value kept but may cause issues"} 
[2026-08-22 08:08:02] 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-22 08:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787366198000,"timestamp_ms":1787366198000,"timestamp_seconds":1787366198,"priority":1,"record_length":96,"hex_timestamp":"000001a02753caf0"} 
[2026-08-22 08:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:08: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-22 08:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 08:08:02] 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-22 08:08: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-22 08:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:08:02] 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-22 08:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565746176001,"66":13091,"217":206,"85":15104,"24":17,"16":122240365586546688,"45":8881802177872414720},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-22 08:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565746176001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:08:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 08:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122240365586546688,"km_value":122240365586546.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881802177872414720,"description":"Unknown IO ID 45"} 
[2026-08-22 08:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565746176001,"power":13091,"unknown_217":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8881802177872414720}} 
[2026-08-22 08:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":159857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:08:02] local.INFO: GPS data processed {"connection_id":159857,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:08:02] local.INFO: Acknowledgment sent {"connection_id":159857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:08:27] local.INFO: TCP Data received {"connection_id":160745,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:08:27] local.INFO: Processing buffer {"connection_id":160745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:08:27] local.INFO: Packet analysis {"connection_id":160745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:08:27] local.INFO: Extracted packet for processing {"connection_id":160745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565631488001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:08: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-22 08:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787366049000,"timestamp_ms":1787366049000,"timestamp_seconds":1787366049,"priority":1,"record_length":96,"hex_timestamp":"000001a0275184e8"} 
[2026-08-22 08: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-22 08:08:27] 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-22 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565631488001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565631488001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:08:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565631488001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":160745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:08:27] local.INFO: GPS data processed {"connection_id":160745,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:08:27] local.INFO: Acknowledgment sent {"connection_id":160745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:08:29] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027531f10012d196940071fedd8003e011c26..."} 
[2026-08-22 08:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027531f10012d196940071fedd8003e011c26..."} 
[2026-08-22 08:08:29] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027531f10012d196940071fedd8003e011c26..."} 
[2026-08-22 08:08:29] local.INFO: Packet analysis {"connection_id":159856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02753"} 
[2026-08-22 08:08:29] local.INFO: Extracted packet for processing {"connection_id":159856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02753"} 
[2026-08-22 08:08:29] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565730048001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787366154000,"timestamp_ms":1787366154000,"timestamp_seconds":1787366154,"priority":1,"record_length":96,"hex_timestamp":"000001a027531f10"} 
[2026-08-22 08: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-22 08:08:29] 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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:08:29] 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-22 08:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565730048001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565730048001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:08:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:08:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565730048001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":159856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:08:29] local.INFO: GPS data processed {"connection_id":159856,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:08:29] local.INFO: Acknowledgment sent {"connection_id":159856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:08:33] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0275401a0012d7b3d8005e18610000e015f20..."} 
[2026-08-22 08:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275401a0012d7b3d8005e18610000e015f20..."} 
[2026-08-22 08:08:33] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275401a0012d7b3d8005e18610000e015f20..."} 
[2026-08-22 08:08:33] local.INFO: Packet analysis {"connection_id":159857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02754"} 
[2026-08-22 08:08:33] local.INFO: Extracted packet for processing {"connection_id":159857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02754"} 
[2026-08-22 08:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763051392,"raw_latitude":98666000,"longitude_deg":76.3051392,"latitude_deg":9.8666,"altitude":14,"angle":351,"satellites":32,"speed":24,"hex_longitude":"2d7b3d80","hex_latitude":"05e18610","is_valid_coordinates":true} 
[2026-08-22 08:08: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-22 08:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565746688001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881731809128433664,"note":"Value kept but may cause issues"} 
[2026-08-22 08:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122240803673210880,"note":"Value kept but may cause issues"} 
[2026-08-22 08:08:33] 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-22 08:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787366212000,"timestamp_ms":1787366212000,"timestamp_seconds":1787366212,"priority":1,"record_length":96,"hex_timestamp":"000001a0275401a0"} 
[2026-08-22 08:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:08: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-22 08:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-22 08:08:33] 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-22 08:08: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-22 08:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:08:33] 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-22 08:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565746688001,"66":13243,"45":8881731809128433664,"85":15104,"24":24,"16":122240803673210880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565746688001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881731809128433664,"description":"Unknown IO ID 45"} 
[2026-08-22 08:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122240803673210880,"km_value":122240803673210.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:08:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565746688001,"power":13243,"unknown_45":8881731809128433664,"unknown_85":15104,"ignition":24,"odometer":null}} 
[2026-08-22 08:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":159857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:08:33] local.INFO: GPS data processed {"connection_id":159857,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:08:33] local.INFO: Acknowledgment sent {"connection_id":159857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:08:53] local.INFO: TCP Data received {"connection_id":159599,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:08:53] local.INFO: Processing buffer {"connection_id":159599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:08:53] local.INFO: IMEI packet received {"connection_id":159599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":159599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:08:54] local.INFO: TCP Data received {"connection_id":160746,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:08:54] local.INFO: Processing buffer {"connection_id":160746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:08:54] local.INFO: IMEI packet received {"connection_id":160746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":160746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:08:55] local.INFO: TCP Data received {"connection_id":159598,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:08:55] local.INFO: Processing buffer {"connection_id":159598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:08:55] local.INFO: IMEI packet received {"connection_id":159598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":159598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:08:56] local.INFO: TCP Data received {"connection_id":160746,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:08:56] local.INFO: Processing buffer {"connection_id":160746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:08:56] local.INFO: IMEI packet received {"connection_id":160746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":160746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:08:59] local.INFO: TCP Data received {"connection_id":159599,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:08:59] local.INFO: Processing buffer {"connection_id":159599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:08:59] local.INFO: IMEI packet received {"connection_id":159599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":159599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:08:59] local.INFO: TCP Data received {"connection_id":159599,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027537118012d196940071fedd8003e011c27..."} 
[2026-08-22 08:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027537118012d196940071fedd8003e011c27..."} 
[2026-08-22 08:08:59] local.INFO: Processing buffer {"connection_id":159599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027537118012d196940071fedd8003e011c27..."} 
[2026-08-22 08:08:59] local.INFO: Packet analysis {"connection_id":159599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02753"} 
[2026-08-22 08:08:59] local.INFO: Extracted packet for processing {"connection_id":159599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02753"} 
[2026-08-22 08:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565735424001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:08: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-22 08:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787366175000,"timestamp_ms":1787366175000,"timestamp_seconds":1787366175,"priority":1,"record_length":96,"hex_timestamp":"000001a027537118"} 
[2026-08-22 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-22 08:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 08:08:59] 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-22 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-22 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-22 08:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:08:59] 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-22 08:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565735424001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565735424001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:08:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565735424001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":159599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:08:59] local.INFO: GPS data processed {"connection_id":159599,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:08:59] local.INFO: Acknowledgment sent {"connection_id":159599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:09:00] local.INFO: TCP Data received {"connection_id":159598,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:09:00] local.INFO: Processing buffer {"connection_id":159598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:09:00] local.INFO: IMEI packet received {"connection_id":159598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":159598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:09:00] local.INFO: TCP Data received {"connection_id":159598,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:09:00] local.INFO: Processing buffer {"connection_id":159598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:09:00] local.INFO: Packet analysis {"connection_id":159598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:09:00] local.INFO: Extracted packet for processing {"connection_id":159598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:09:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565631488001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09: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-22 08:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787366049000,"timestamp_ms":1787366049000,"timestamp_seconds":1787366049,"priority":1,"record_length":96,"hex_timestamp":"000001a0275184e8"} 
[2026-08-22 08: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-22 08:09:00] 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-22 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565631488001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565631488001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:09:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:09:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565631488001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":159598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:09:00] local.INFO: GPS data processed {"connection_id":159598,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:09:00] local.INFO: Acknowledgment sent {"connection_id":159598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:09:01] local.INFO: TCP Data received {"connection_id":160746,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:09:01] local.INFO: Processing buffer {"connection_id":160746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:09:01] local.INFO: IMEI packet received {"connection_id":160746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":160746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:09:02] local.INFO: TCP Data received {"connection_id":160746,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027543850012d7b390005e1a8f8001001631b..."} 
[2026-08-22 08:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027543850012d7b390005e1a8f8001001631b..."} 
[2026-08-22 08:09:02] local.INFO: Processing buffer {"connection_id":160746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027543850012d7b390005e1a8f8001001631b..."} 
[2026-08-22 08:09:02] local.INFO: Packet analysis {"connection_id":160746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02754"} 
[2026-08-22 08:09:02] local.INFO: Extracted packet for processing {"connection_id":160746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02754"} 
[2026-08-22 08:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763050240,"raw_latitude":98674936,"longitude_deg":76.305024,"latitude_deg":9.8674936,"altitude":16,"angle":355,"satellites":27,"speed":28,"hex_longitude":"2d7b3900","hex_latitude":"05e1a8f8","is_valid_coordinates":true} 
[2026-08-22 08:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565750272001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880394802991337472,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122241241759875072,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:02] 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-22 08:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787366226000,"timestamp_ms":1787366226000,"timestamp_seconds":1787366226,"priority":1,"record_length":96,"hex_timestamp":"000001a027543850"} 
[2026-08-22 08:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:09: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-22 08:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-22 08:09:02] 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-22 08:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:09:02] 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-22 08:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565750272001,"66":13080,"45":8880394802991337472,"85":15104,"24":28,"16":122241241759875072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565750272001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880394802991337472,"description":"Unknown IO ID 45"} 
[2026-08-22 08:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122241241759875072,"km_value":122241241759875.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:09:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565750272001,"power":13080,"unknown_45":8880394802991337472,"unknown_85":15104,"ignition":28,"odometer":null}} 
[2026-08-22 08:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":160746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:09:02] local.INFO: GPS data processed {"connection_id":160746,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:09:02] local.INFO: Acknowledgment sent {"connection_id":160746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:09:05] local.INFO: TCP Data received {"connection_id":159598,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:09:05] local.INFO: Processing buffer {"connection_id":159598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275184e8012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:09:05] local.INFO: Packet analysis {"connection_id":159598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:09:05] local.INFO: Extracted packet for processing {"connection_id":159598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02751"} 
[2026-08-22 08:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565631488001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:05] 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-22 08:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787366049000,"timestamp_ms":1787366049000,"timestamp_seconds":1787366049,"priority":1,"record_length":96,"hex_timestamp":"000001a0275184e8"} 
[2026-08-22 08: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-22 08:09:05] 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-22 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565631488001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565631488001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:09:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:09:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565631488001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":159598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:09:05] local.INFO: GPS data processed {"connection_id":159598,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:09:05] local.INFO: Acknowledgment sent {"connection_id":159598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:09:30] local.INFO: TCP Data received {"connection_id":159599,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02753c708012d196940071fedd8003e011c27..."} 
[2026-08-22 08:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02753c708012d196940071fedd8003e011c27..."} 
[2026-08-22 08:09:30] local.INFO: Processing buffer {"connection_id":159599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02753c708012d196940071fedd8003e011c27..."} 
[2026-08-22 08:09:30] local.INFO: Packet analysis {"connection_id":159599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02753"} 
[2026-08-22 08:09:30] local.INFO: Extracted packet for processing {"connection_id":159599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02753"} 
[2026-08-22 08:09:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565740800001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09: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-22 08:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787366197000,"timestamp_ms":1787366197000,"timestamp_seconds":1787366197,"priority":1,"record_length":96,"hex_timestamp":"000001a02753c708"} 
[2026-08-22 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-22 08:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 08:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2833105873233844585,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79980674827681792,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 08:09:30] local.WARNING: Large IO value detected {"io_id":214,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:30] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,102,83,24,241,157,16,160,31,45,64,237,62,38,10,66,205,123,1,240,227,39,4,113,214,105,216,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 08:09:30] 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-22 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-22 08:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:09:30] 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-22 08:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565740800001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565740800001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:09:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:09:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565740800001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":159599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:09:31] local.INFO: GPS data processed {"connection_id":159599,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:09:31] local.INFO: Acknowledgment sent {"connection_id":159599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:09:33] local.INFO: TCP Data received {"connection_id":160746,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027546730012d7b370005e1cc300012016322..."} 
[2026-08-22 08:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027546730012d7b370005e1cc300012016322..."} 
[2026-08-22 08:09:33] local.INFO: Processing buffer {"connection_id":160746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027546730012d7b370005e1cc300012016322..."} 
[2026-08-22 08:09:33] local.INFO: Packet analysis {"connection_id":160746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02754"} 
[2026-08-22 08:09:33] local.INFO: Extracted packet for processing {"connection_id":160746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02754"} 
[2026-08-22 08:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763049728,"raw_latitude":98683952,"longitude_deg":76.3049728,"latitude_deg":9.8683952,"altitude":18,"angle":355,"satellites":34,"speed":25,"hex_longitude":"2d7b3700","hex_latitude":"05e1cc30","is_valid_coordinates":true} 
[2026-08-22 08:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565753856001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879128165598427136,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122241679846539264,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:33] 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-22 08:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787366238000,"timestamp_ms":1787366238000,"timestamp_seconds":1787366238,"priority":1,"record_length":96,"hex_timestamp":"000001a027546730"} 
[2026-08-22 08:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:09: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-22 08:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 08:09:33] 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-22 08:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:09:33] 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-22 08:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565753856001,"66":13254,"45":8879128165598427136,"85":15104,"24":25,"16":122241679846539264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565753856001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879128165598427136,"description":"Unknown IO ID 45"} 
[2026-08-22 08:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122241679846539264,"km_value":122241679846539.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:09:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565753856001,"power":13254,"unknown_45":8879128165598427136,"unknown_85":15104,"ignition":25,"odometer":null}} 
[2026-08-22 08:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":160746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:09:33] local.INFO: GPS data processed {"connection_id":160746,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:09:33] local.INFO: Acknowledgment sent {"connection_id":160746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:09:46] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:09:46] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:09:46] local.INFO: IMEI packet received {"connection_id":159858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":159858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:09:50] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:09:50] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:09:50] local.INFO: IMEI packet received {"connection_id":159858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":159858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:09:53] local.INFO: TCP Data received {"connection_id":160747,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:09:53] local.INFO: Processing buffer {"connection_id":160747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:09:53] local.INFO: IMEI packet received {"connection_id":160747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":160747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:09:55] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:09:55] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:09:55] local.INFO: IMEI packet received {"connection_id":159858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":159858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:09:55] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:09:55] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:09:55] local.INFO: Packet analysis {"connection_id":159858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:09:55] local.INFO: Extracted packet for processing {"connection_id":159858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:09:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565708544001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09: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-22 08:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787366351000,"timestamp_ms":1787366351000,"timestamp_seconds":1787366351,"priority":1,"record_length":96,"hex_timestamp":"000001a027562098"} 
[2026-08-22 08: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-22 08:09:55] 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-22 08:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565708544001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565708544001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:09:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:09:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565708544001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":159858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:09:55] local.INFO: GPS data processed {"connection_id":159858,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:09:55] local.INFO: Acknowledgment sent {"connection_id":159858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:09:56] local.INFO: TCP Data received {"connection_id":159859,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:09:56] local.INFO: Processing buffer {"connection_id":159859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:09:56] local.INFO: IMEI packet received {"connection_id":159859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":159859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:09:59] local.INFO: TCP Data received {"connection_id":160747,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:09:59] local.INFO: Processing buffer {"connection_id":160747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:09:59] local.INFO: IMEI packet received {"connection_id":160747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":160747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:09:59] local.INFO: TCP Data received {"connection_id":160747,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027541910012d196940071fedd8003e011c27..."} 
[2026-08-22 08:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027541910012d196940071fedd8003e011c27..."} 
[2026-08-22 08:09:59] local.INFO: Processing buffer {"connection_id":160747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027541910012d196940071fedd8003e011c27..."} 
[2026-08-22 08:09:59] local.INFO: Packet analysis {"connection_id":160747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02754"} 
[2026-08-22 08:09:59] local.INFO: Extracted packet for processing {"connection_id":160747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02754"} 
[2026-08-22 08:09:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565746432001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:09: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-22 08:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787366218000,"timestamp_ms":1787366218000,"timestamp_seconds":1787366218,"priority":1,"record_length":96,"hex_timestamp":"000001a027541910"} 
[2026-08-22 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-22 08:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:09:59] 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-22 08:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565746432001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565746432001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:09:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565746432001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":160747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:09:59] local.INFO: GPS data processed {"connection_id":160747,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:09:59] local.INFO: Acknowledgment sent {"connection_id":160747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:10:01] local.INFO: TCP Data received {"connection_id":159859,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:10:01] local.INFO: Processing buffer {"connection_id":159859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:10:01] local.INFO: IMEI packet received {"connection_id":159859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":159859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:10:02] local.INFO: TCP Data received {"connection_id":159859,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02754a998012d7b338005e1e8380017015023..."} 
[2026-08-22 08:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02754a998012d7b338005e1e8380017015023..."} 
[2026-08-22 08:10:02] local.INFO: Processing buffer {"connection_id":159859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02754a998012d7b338005e1e8380017015023..."} 
[2026-08-22 08:10:02] local.INFO: Packet analysis {"connection_id":159859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02754"} 
[2026-08-22 08:10:02] local.INFO: Extracted packet for processing {"connection_id":159859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02754"} 
[2026-08-22 08:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98691128,"longitude_deg":76.3048832,"latitude_deg":9.8691128,"altitude":23,"angle":336,"satellites":35,"speed":8,"hex_longitude":"2d7b3380","hex_latitude":"05e1e838","is_valid_coordinates":true} 
[2026-08-22 08:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565756928001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878565215647313920,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122242032033857536,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:02] 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-22 08:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787366255000,"timestamp_ms":1787366255000,"timestamp_seconds":1787366255,"priority":1,"record_length":96,"hex_timestamp":"000001a02754a998"} 
[2026-08-22 08:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:10: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-22 08:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 08:10:02] 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-22 08:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:10:02] 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-22 08:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565756928001,"66":12852,"45":8878565215647313920,"85":15104,"24":8,"16":122242032033857536},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565756928001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878565215647313920,"description":"Unknown IO ID 45"} 
[2026-08-22 08:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122242032033857536,"km_value":122242032033857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:10:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565756928001,"power":12852,"unknown_45":8878565215647313920,"unknown_85":15104,"ignition":8,"odometer":null}} 
[2026-08-22 08:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":159859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:10:02] local.INFO: GPS data processed {"connection_id":159859,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:10:02] local.INFO: Acknowledgment sent {"connection_id":159859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:10:27] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:10:27] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:10:27] local.INFO: Packet analysis {"connection_id":159858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:10:27] local.INFO: Extracted packet for processing {"connection_id":159858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:10:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565708544001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10: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-22 08:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787366351000,"timestamp_ms":1787366351000,"timestamp_seconds":1787366351,"priority":1,"record_length":96,"hex_timestamp":"000001a027562098"} 
[2026-08-22 08:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:10:27] 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-22 08:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565708544001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565708544001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:10:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:10:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565708544001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":159858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:10:27] local.INFO: GPS data processed {"connection_id":159858,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:10:27] local.INFO: Acknowledgment sent {"connection_id":159858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:10:30] local.INFO: TCP Data received {"connection_id":160747,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027546b18012d196940071fedd8003e011c27..."} 
[2026-08-22 08:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027546b18012d196940071fedd8003e011c27..."} 
[2026-08-22 08:10:30] local.INFO: Processing buffer {"connection_id":160747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027546b18012d196940071fedd8003e011c27..."} 
[2026-08-22 08:10:30] local.INFO: Packet analysis {"connection_id":160747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02754"} 
[2026-08-22 08:10:30] local.INFO: Extracted packet for processing {"connection_id":160747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02754"} 
[2026-08-22 08:10:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565751808001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10: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-22 08:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787366239000,"timestamp_ms":1787366239000,"timestamp_seconds":1787366239,"priority":1,"record_length":96,"hex_timestamp":"000001a027546b18"} 
[2026-08-22 08: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-22 08:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:10:30] 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-22 08:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565751808001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565751808001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:10:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565751808001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":160747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:10:31] local.INFO: GPS data processed {"connection_id":160747,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:10:31] local.INFO: Acknowledgment sent {"connection_id":160747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:10:33] local.INFO: TCP Data received {"connection_id":159859,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02754e430012d7b340005e1ea180018015f1f..."} 
[2026-08-22 08:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02754e430012d7b340005e1ea180018015f1f..."} 
[2026-08-22 08:10:33] local.INFO: Processing buffer {"connection_id":159859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02754e430012d7b340005e1ea180018015f1f..."} 
[2026-08-22 08:10:33] local.INFO: Packet analysis {"connection_id":159859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02754"} 
[2026-08-22 08:10:33] local.INFO: Extracted packet for processing {"connection_id":159859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02754"} 
[2026-08-22 08:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763048960,"raw_latitude":98691608,"longitude_deg":76.304896,"latitude_deg":9.8691608,"altitude":24,"angle":351,"satellites":31,"speed":2,"hex_longitude":"2d7b3400","hex_latitude":"05e1ea18","is_valid_coordinates":true} 
[2026-08-22 08:10: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-22 08:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565761280001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053230663680,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122242062098628608,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:33] 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-22 08:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787366270000,"timestamp_ms":1787366270000,"timestamp_seconds":1787366270,"priority":1,"record_length":96,"hex_timestamp":"000001a02754e430"} 
[2026-08-22 08:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:10: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-22 08:10: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":52,"data_length":795,"current_offset":136} 
[2026-08-22 08:10:33] 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-22 08:10: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-22 08:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:10:33] 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-22 08:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565761280001,"66":13015,"45":8877580053230663680,"85":15104,"24":2,"16":122242062098628608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565761280001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053230663680,"description":"Unknown IO ID 45"} 
[2026-08-22 08:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122242062098628608,"km_value":122242062098628.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:10:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565761280001,"power":13015,"unknown_45":8877580053230663680,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-08-22 08:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":159859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:10:33] local.INFO: GPS data processed {"connection_id":159859,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:10:33] local.INFO: Acknowledgment sent {"connection_id":159859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:10:49] local.INFO: TCP Data received {"connection_id":160748,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:10:49] local.INFO: Processing buffer {"connection_id":160748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:10:49] local.INFO: IMEI packet received {"connection_id":160748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":160748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:10:53] local.INFO: TCP Data received {"connection_id":162165,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:10:53] local.INFO: Processing buffer {"connection_id":162165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:10:53] local.INFO: IMEI packet received {"connection_id":162165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":162165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:10:55] local.INFO: TCP Data received {"connection_id":160748,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:10:55] local.INFO: Processing buffer {"connection_id":160748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:10:55] local.INFO: IMEI packet received {"connection_id":160748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":160748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:10:56] local.INFO: TCP Data received {"connection_id":160748,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:10:56] local.INFO: Processing buffer {"connection_id":160748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:10:56] local.INFO: Packet analysis {"connection_id":160748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:10:56] local.INFO: Extracted packet for processing {"connection_id":160748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565708544001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08: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-22 08:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787366351000,"timestamp_ms":1787366351000,"timestamp_seconds":1787366351,"priority":1,"record_length":96,"hex_timestamp":"000001a027562098"} 
[2026-08-22 08: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-22 08:10:56] 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-22 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565708544001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565708544001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:10:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565708544001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":160748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:10:56] local.INFO: GPS data processed {"connection_id":160748,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:10:56] local.INFO: Acknowledgment sent {"connection_id":160748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:10:59] local.INFO: TCP Data received {"connection_id":162165,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:10:59] local.INFO: Processing buffer {"connection_id":162165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:10:59] local.INFO: IMEI packet received {"connection_id":162165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":162165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:10:59] local.INFO: TCP Data received {"connection_id":162165,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02754bd20012d196940071fedd8003e011c28..."} 
[2026-08-22 08:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02754bd20012d196940071fedd8003e011c28..."} 
[2026-08-22 08:10:59] local.INFO: Processing buffer {"connection_id":162165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02754bd20012d196940071fedd8003e011c28..."} 
[2026-08-22 08:10:59] local.INFO: Packet analysis {"connection_id":162165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02754"} 
[2026-08-22 08:10:59] local.INFO: Extracted packet for processing {"connection_id":162165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02754"} 
[2026-08-22 08:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565757184001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10: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-22 08:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787366260000,"timestamp_ms":1787366260000,"timestamp_seconds":1787366260,"priority":1,"record_length":96,"hex_timestamp":"000001a02754bd20"} 
[2026-08-22 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-22 08:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 08:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2833372161206196585,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79982873850937344,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 08:10:59] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,160,25,45,64,237,62,39,10,66,199,113,1,240,227,31,4,205,105,216,38,239,48,2,51,7,40],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[]} 
[2026-08-22 08:10:59] 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-22 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-22 08:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:10:59] 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-22 08:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565757184001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565757184001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:10:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:10:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565757184001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":162165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:10:59] local.INFO: GPS data processed {"connection_id":162165,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:10:59] local.INFO: Acknowledgment sent {"connection_id":162165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:11:01] local.INFO: TCP Data received {"connection_id":162166,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:11:01] local.INFO: Processing buffer {"connection_id":162166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:11:01] local.INFO: IMEI packet received {"connection_id":162166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":162166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:11:06] local.INFO: TCP Data received {"connection_id":162166,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:11:06] local.INFO: Processing buffer {"connection_id":162166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:11:06] local.INFO: IMEI packet received {"connection_id":162166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":162166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:11:07] local.INFO: TCP Data received {"connection_id":162166,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a027553638012d7b338005e1ec88001801651f..."} 
[2026-08-22 08:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027553638012d7b338005e1ec88001801651f..."} 
[2026-08-22 08:11:07] local.INFO: Processing buffer {"connection_id":162166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027553638012d7b338005e1ec88001801651f..."} 
[2026-08-22 08:11:07] local.INFO: Packet analysis {"connection_id":162166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02755"} 
[2026-08-22 08:11:07] local.INFO: Extracted packet for processing {"connection_id":162166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02755"} 
[2026-08-22 08:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98692232,"longitude_deg":76.3048832,"latitude_deg":9.8692232,"altitude":24,"angle":357,"satellites":31,"speed":0,"hex_longitude":"2d7b3380","hex_latitude":"05e1ec88","is_valid_coordinates":true} 
[2026-08-22 08:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565765120001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877720790719141888,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122242092163399680,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11: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-22 08:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787366291000,"timestamp_ms":1787366291000,"timestamp_seconds":1787366291,"priority":1,"record_length":96,"hex_timestamp":"000001a027553638"} 
[2026-08-22 08:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:11:07] 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-22 08:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 08:11:07] 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-22 08:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:11:07] 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-22 08:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565765120001,"66":13319,"45":8877720790719141888,"85":15104,"24":0,"16":122242092163399680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565765120001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877720790719141888,"description":"Unknown IO ID 45"} 
[2026-08-22 08:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122242092163399680,"km_value":122242092163399.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:11:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565765120001,"power":13319,"unknown_45":8877720790719141888,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 08:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":162166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:11:07] local.INFO: GPS data processed {"connection_id":162166,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:11:07] local.INFO: Acknowledgment sent {"connection_id":162166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:11:12] local.INFO: TCP Data received {"connection_id":162166,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a027558840012d7b338005e1ec880018016520..."} 
[2026-08-22 08:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027558840012d7b338005e1ec880018016520..."} 
[2026-08-22 08:11:12] local.INFO: Processing buffer {"connection_id":162166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027558840012d7b338005e1ec880018016520..."} 
[2026-08-22 08:11:12] local.INFO: Packet analysis {"connection_id":162166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02755"} 
[2026-08-22 08:11:12] local.INFO: Extracted packet for processing {"connection_id":162166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02755"} 
[2026-08-22 08:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98692232,"longitude_deg":76.3048832,"latitude_deg":9.8692232,"altitude":24,"angle":357,"satellites":32,"speed":0,"hex_longitude":"2d7b3380","hex_latitude":"05e1ec88","is_valid_coordinates":true} 
[2026-08-22 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-22 08:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565770496001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053230946304,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122242092163399680,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11: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-22 08:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787366312000,"timestamp_ms":1787366312000,"timestamp_seconds":1787366312,"priority":1,"record_length":96,"hex_timestamp":"000001a027558840"} 
[2026-08-22 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-22 08:11:12] 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-22 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-22 08:11:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:12] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57807755851748667,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:12] local.WARNING: Large IO value detected {"io_id":225,"raw_value":6937795286093865728,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-08-22 08:11:12] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147869062,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:12] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391950,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3781380096,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-4386504742205751291,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:12] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,45,85,24,241,157,16,74,160,228,234,31,10,66,169,128,232,23,35,103,1,240,198,227,39,225,4,113,205,28,61,32,239,51,2,178,5,14,17,83],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-08-22 08:11:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729774915705372672,"timestamp_seconds":1729774915705372.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 08:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:11:12] 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-22 08:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565770496001,"66":13048,"45":8877580053230946304,"85":15104,"24":0,"16":122242092163399680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565770496001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053230946304,"description":"Unknown IO ID 45"} 
[2026-08-22 08:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122242092163399680,"km_value":122242092163399.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:11:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565770496001,"power":13048,"unknown_45":8877580053230946304,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 08:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":162166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:11:12] local.INFO: GPS data processed {"connection_id":162166,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:11:12] local.INFO: Acknowledgment sent {"connection_id":162166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:11:27] local.INFO: TCP Data received {"connection_id":160748,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:11:27] local.INFO: Processing buffer {"connection_id":160748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:11:27] local.INFO: Packet analysis {"connection_id":160748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:11:27] local.INFO: Extracted packet for processing {"connection_id":160748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565708544001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11: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-22 08:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787366351000,"timestamp_ms":1787366351000,"timestamp_seconds":1787366351,"priority":1,"record_length":96,"hex_timestamp":"000001a027562098"} 
[2026-08-22 08:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:11:27] 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-22 08:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565708544001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565708544001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:11:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565708544001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":160748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:11:27] local.INFO: GPS data processed {"connection_id":160748,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:11:27] local.INFO: Acknowledgment sent {"connection_id":160748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:11:30] local.INFO: TCP Data received {"connection_id":162165,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027550f28012d196940071fedd8003e011c27..."} 
[2026-08-22 08:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027550f28012d196940071fedd8003e011c27..."} 
[2026-08-22 08:11:30] local.INFO: Processing buffer {"connection_id":162165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027550f28012d196940071fedd8003e011c27..."} 
[2026-08-22 08:11:30] local.INFO: Packet analysis {"connection_id":162165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02755"} 
[2026-08-22 08:11:30] local.INFO: Extracted packet for processing {"connection_id":162165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02755"} 
[2026-08-22 08:11:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565762560001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08: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-22 08:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787366281000,"timestamp_ms":1787366281000,"timestamp_seconds":1787366281,"priority":1,"record_length":96,"hex_timestamp":"000001a027550f28"} 
[2026-08-22 08: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-22 08:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:11:30] 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-22 08:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565762560001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565762560001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:11:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:11:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565762560001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":162165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:11:31] local.INFO: GPS data processed {"connection_id":162165,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:11:31] local.INFO: Acknowledgment sent {"connection_id":162165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:11:53] local.INFO: TCP Data received {"connection_id":159600,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:11:53] local.INFO: Processing buffer {"connection_id":159600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:11:53] local.INFO: IMEI packet received {"connection_id":159600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":159600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:11:56] local.INFO: TCP Data received {"connection_id":159601,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:11:56] local.INFO: Processing buffer {"connection_id":159601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:11:56] local.INFO: IMEI packet received {"connection_id":159601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":159601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:11:59] local.INFO: TCP Data received {"connection_id":159600,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:11:59] local.INFO: Processing buffer {"connection_id":159600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:11:59] local.INFO: IMEI packet received {"connection_id":159600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":159600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:11:59] local.INFO: TCP Data received {"connection_id":159600,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027556130012d196940071fedd8003e011c28..."} 
[2026-08-22 08:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027556130012d196940071fedd8003e011c28..."} 
[2026-08-22 08:11:59] local.INFO: Processing buffer {"connection_id":159600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027556130012d196940071fedd8003e011c28..."} 
[2026-08-22 08:11:59] local.INFO: Packet analysis {"connection_id":159600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02755"} 
[2026-08-22 08:11:59] local.INFO: Extracted packet for processing {"connection_id":159600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02755"} 
[2026-08-22 08:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565767936001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:11: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-22 08:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787366302000,"timestamp_ms":1787366302000,"timestamp_seconds":1787366302,"priority":1,"record_length":96,"hex_timestamp":"000001a027556130"} 
[2026-08-22 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-22 08:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:11:59] 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-22 08:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565767936001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565767936001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:11:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:11:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565767936001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":159600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:11:59] local.INFO: GPS data processed {"connection_id":159600,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:11:59] local.INFO: Acknowledgment sent {"connection_id":159600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:12:01] local.INFO: TCP Data received {"connection_id":159601,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:12:01] local.INFO: Processing buffer {"connection_id":159601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:12:01] local.INFO: IMEI packet received {"connection_id":159601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":159601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:12:02] local.INFO: TCP Data received {"connection_id":159601,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02755da48012d7b338005e1ec88001801651d..."} 
[2026-08-22 08:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02755da48012d7b338005e1ec88001801651d..."} 
[2026-08-22 08:12:02] local.INFO: Processing buffer {"connection_id":159601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02755da48012d7b338005e1ec88001801651d..."} 
[2026-08-22 08:12:02] local.INFO: Packet analysis {"connection_id":159601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02755"} 
[2026-08-22 08:12:02] local.INFO: Extracted packet for processing {"connection_id":159601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02755"} 
[2026-08-22 08:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98692232,"longitude_deg":76.3048832,"latitude_deg":9.8692232,"altitude":24,"angle":357,"satellites":29,"speed":0,"hex_longitude":"2d7b3380","hex_latitude":"05e1ec88","is_valid_coordinates":true} 
[2026-08-22 08:12: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-22 08:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565775872001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053230946304,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122242092163399680,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:02] 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-22 08:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787366333000,"timestamp_ms":1787366333000,"timestamp_seconds":1787366333,"priority":1,"record_length":96,"hex_timestamp":"000001a02755da48"} 
[2026-08-22 08:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:12: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-22 08:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-22 08:12:02] 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-22 08:12: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-22 08:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:12:02] 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-22 08:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565775872001,"66":13472,"45":8877580053230946304,"85":15104,"24":0,"16":122242092163399680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565775872001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053230946304,"description":"Unknown IO ID 45"} 
[2026-08-22 08:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122242092163399680,"km_value":122242092163399.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:12:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565775872001,"power":13472,"unknown_45":8877580053230946304,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 08:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":159601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:12:02] local.INFO: GPS data processed {"connection_id":159601,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:12:02] local.INFO: Acknowledgment sent {"connection_id":159601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:12:05] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:12:05] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:12:05] local.INFO: IMEI packet received {"connection_id":159860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":159860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:12:10] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:12:10] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:12:10] local.INFO: IMEI packet received {"connection_id":159860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":159860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:12:10] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:12:10] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:12:10] local.INFO: Packet analysis {"connection_id":159860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:12:10] local.INFO: Extracted packet for processing {"connection_id":159860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565708544001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:10] 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-22 08:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787366351000,"timestamp_ms":1787366351000,"timestamp_seconds":1787366351,"priority":1,"record_length":96,"hex_timestamp":"000001a027562098"} 
[2026-08-22 08: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-22 08:12:10] 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-22 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565708544001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565708544001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:12:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565708544001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":159860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:12:10] local.INFO: GPS data processed {"connection_id":159860,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:12:10] local.INFO: Acknowledgment sent {"connection_id":159860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:12:15] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:12:15] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:12:15] local.INFO: Packet analysis {"connection_id":159860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:12:15] local.INFO: Extracted packet for processing {"connection_id":159860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:12:15] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565708544001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:15] 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-22 08:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787366351000,"timestamp_ms":1787366351000,"timestamp_seconds":1787366351,"priority":1,"record_length":96,"hex_timestamp":"000001a027562098"} 
[2026-08-22 08: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-22 08:12:15] 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-22 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565708544001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565708544001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:12:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:12:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565708544001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":159860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:12:15] local.INFO: GPS data processed {"connection_id":159860,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:12:15] local.INFO: Acknowledgment sent {"connection_id":159860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:12:30] local.INFO: TCP Data received {"connection_id":159600,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02755b338012d196940071fedd8003e011c29..."} 
[2026-08-22 08:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02755b338012d196940071fedd8003e011c29..."} 
[2026-08-22 08:12:30] local.INFO: Processing buffer {"connection_id":159600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02755b338012d196940071fedd8003e011c29..."} 
[2026-08-22 08:12:30] local.INFO: Packet analysis {"connection_id":159600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02755"} 
[2026-08-22 08:12:30] local.INFO: Extracted packet for processing {"connection_id":159600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02755"} 
[2026-08-22 08:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565773312001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12: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-22 08:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787366323000,"timestamp_ms":1787366323000,"timestamp_seconds":1787366323,"priority":1,"record_length":96,"hex_timestamp":"000001a02755b338"} 
[2026-08-22 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-22 08:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:12:30] 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-22 08:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565773312001,"66":12363,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565773312001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:12:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565773312001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":159600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:12:30] local.INFO: GPS data processed {"connection_id":159600,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:12:30] local.INFO: Acknowledgment sent {"connection_id":159600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:12:33] local.INFO: TCP Data received {"connection_id":159601,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02755f988012d7b338005e1ec88001801651d..."} 
[2026-08-22 08:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02755f988012d7b338005e1ec88001801651d..."} 
[2026-08-22 08:12:33] local.INFO: Processing buffer {"connection_id":159601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02755f988012d7b338005e1ec88001801651d..."} 
[2026-08-22 08:12:33] local.INFO: Packet analysis {"connection_id":159601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02755"} 
[2026-08-22 08:12:33] local.INFO: Extracted packet for processing {"connection_id":159601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02755"} 
[2026-08-22 08:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98692232,"longitude_deg":76.3048832,"latitude_deg":9.8692232,"altitude":24,"angle":357,"satellites":29,"speed":0,"hex_longitude":"2d7b3380","hex_latitude":"05e1ec88","is_valid_coordinates":true} 
[2026-08-22 08:12:33] 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-22 08:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565781248001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053230946304,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122242092163399680,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:33] 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-22 08:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787366341000,"timestamp_ms":1787366341000,"timestamp_seconds":1787366341,"priority":1,"record_length":96,"hex_timestamp":"000001a02755f988"} 
[2026-08-22 08: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-22 08:12: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-22 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 08:12:33] 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-22 08: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-22 08: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-22 08:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:12:33] 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-22 08:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565781248001,"66":12906,"45":8877580053230946304,"85":15104,"24":0,"16":122242092163399680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565781248001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053230946304,"description":"Unknown IO ID 45"} 
[2026-08-22 08:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122242092163399680,"km_value":122242092163399.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:12:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565781248001,"power":12906,"unknown_45":8877580053230946304,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 08:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":159601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:12:33] local.INFO: GPS data processed {"connection_id":159601,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:12:33] local.INFO: Acknowledgment sent {"connection_id":159601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:12:50] local.INFO: TCP Data received {"connection_id":160749,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:12:50] local.INFO: Processing buffer {"connection_id":160749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:12:50] local.INFO: IMEI packet received {"connection_id":160749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":160749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:12:53] local.INFO: TCP Data received {"connection_id":160750,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:12:53] local.INFO: Processing buffer {"connection_id":160750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:12:53] local.INFO: IMEI packet received {"connection_id":160750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":160750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:12:55] local.INFO: TCP Data received {"connection_id":160749,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:12:55] local.INFO: Processing buffer {"connection_id":160749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:12:55] local.INFO: IMEI packet received {"connection_id":160749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":160749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:12:55] local.INFO: TCP Data received {"connection_id":160749,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:12:55] local.INFO: Processing buffer {"connection_id":160749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:12:55] local.INFO: Packet analysis {"connection_id":160749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:12:55] local.INFO: Extracted packet for processing {"connection_id":160749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565708544001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12: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-22 08:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787366351000,"timestamp_ms":1787366351000,"timestamp_seconds":1787366351,"priority":1,"record_length":96,"hex_timestamp":"000001a027562098"} 
[2026-08-22 08: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-22 08:12:55] 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-22 08:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565708544001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565708544001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:12:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:12:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565708544001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":160749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:12:55] local.INFO: GPS data processed {"connection_id":160749,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:12:55] local.INFO: Acknowledgment sent {"connection_id":160749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:12:56] local.INFO: TCP Data received {"connection_id":159861,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:12:56] local.INFO: Processing buffer {"connection_id":159861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:12:56] local.INFO: IMEI packet received {"connection_id":159861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":159861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:12:59] local.INFO: TCP Data received {"connection_id":160750,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:12:59] local.INFO: Processing buffer {"connection_id":160750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:12:59] local.INFO: IMEI packet received {"connection_id":160750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":160750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:12:59] local.INFO: TCP Data received {"connection_id":160750,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027560158012d196940071fedd8003e011c28..."} 
[2026-08-22 08:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027560158012d196940071fedd8003e011c28..."} 
[2026-08-22 08:12:59] local.INFO: Processing buffer {"connection_id":160750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027560158012d196940071fedd8003e011c28..."} 
[2026-08-22 08:12:59] local.INFO: Packet analysis {"connection_id":160750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:12:59] local.INFO: Extracted packet for processing {"connection_id":160750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565778688001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:12: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-22 08:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787366343000,"timestamp_ms":1787366343000,"timestamp_seconds":1787366343,"priority":1,"record_length":96,"hex_timestamp":"000001a027560158"} 
[2026-08-22 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-22 08:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-22 08:12:59] 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-22 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-22 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-22 08:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:12:59] 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-22 08:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565778688001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565778688001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:12:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:12:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565778688001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":160750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:12:59] local.INFO: GPS data processed {"connection_id":160750,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:12:59] local.INFO: Acknowledgment sent {"connection_id":160750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:13:01] local.INFO: TCP Data received {"connection_id":159861,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:13:01] local.INFO: Processing buffer {"connection_id":159861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:13:01] local.INFO: IMEI packet received {"connection_id":159861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":159861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:13:04] local.INFO: TCP Data received {"connection_id":159861,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02755f988012d7b338005e1ec88001801651d..."} 
[2026-08-22 08:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02755f988012d7b338005e1ec88001801651d..."} 
[2026-08-22 08:13:04] local.INFO: Processing buffer {"connection_id":159861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02755f988012d7b338005e1ec88001801651d..."} 
[2026-08-22 08:13:04] local.INFO: Packet analysis {"connection_id":159861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02755"} 
[2026-08-22 08:13:04] local.INFO: Extracted packet for processing {"connection_id":159861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02755"} 
[2026-08-22 08:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98692232,"longitude_deg":76.3048832,"latitude_deg":9.8692232,"altitude":24,"angle":357,"satellites":29,"speed":0,"hex_longitude":"2d7b3380","hex_latitude":"05e1ec88","is_valid_coordinates":true} 
[2026-08-22 08:13:04] 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-22 08:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565783296001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053230946304,"note":"Value kept but may cause issues"} 
[2026-08-22 08:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122242092163399680,"note":"Value kept but may cause issues"} 
[2026-08-22 08:13:04] 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-22 08:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787366341000,"timestamp_ms":1787366341000,"timestamp_seconds":1787366341,"priority":1,"record_length":96,"hex_timestamp":"000001a02755f988"} 
[2026-08-22 08: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-22 08:13:04] 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-22 08: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-22 08:13:04] 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-22 08: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-22 08: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-22 08:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:13:04] 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-22 08:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565783296001,"66":12906,"45":8877580053230946304,"85":15104,"24":0,"16":122242092163399680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565783296001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053230946304,"description":"Unknown IO ID 45"} 
[2026-08-22 08:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122242092163399680,"km_value":122242092163399.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:13:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565783296001,"power":12906,"unknown_45":8877580053230946304,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 08:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":159861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:13:04] local.INFO: GPS data processed {"connection_id":159861,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:13:04] local.INFO: Acknowledgment sent {"connection_id":159861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:13:26] local.INFO: TCP Data received {"connection_id":160749,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:13:26] local.INFO: Processing buffer {"connection_id":160749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:13:26] local.INFO: Packet analysis {"connection_id":160749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:13:26] local.INFO: Extracted packet for processing {"connection_id":160749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565708544001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:13: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-22 08:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787366351000,"timestamp_ms":1787366351000,"timestamp_seconds":1787366351,"priority":1,"record_length":96,"hex_timestamp":"000001a027562098"} 
[2026-08-22 08: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-22 08:13:26] 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-22 08:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565708544001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565708544001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:13:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565708544001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":160749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:13:26] local.INFO: GPS data processed {"connection_id":160749,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:13:26] local.INFO: Acknowledgment sent {"connection_id":160749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:13:30] local.INFO: TCP Data received {"connection_id":160750,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027565360012d196940071fedd8003e011c28..."} 
[2026-08-22 08:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027565360012d196940071fedd8003e011c28..."} 
[2026-08-22 08:13:31] local.INFO: Processing buffer {"connection_id":160750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027565360012d196940071fedd8003e011c28..."} 
[2026-08-22 08:13:31] local.INFO: Packet analysis {"connection_id":160750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:13:31] local.INFO: Extracted packet for processing {"connection_id":160750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565783808001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787366364000,"timestamp_ms":1787366364000,"timestamp_seconds":1787366364,"priority":1,"record_length":96,"hex_timestamp":"000001a027565360"} 
[2026-08-22 08:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:13:31] 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-22 08:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 08:13:31] 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-22 08:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:13:31] 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-22 08:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565783808001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565783808001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:13:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:13:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565783808001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":160750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:13:31] local.INFO: GPS data processed {"connection_id":160750,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:13:31] local.INFO: Acknowledgment sent {"connection_id":160750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:13:35] local.INFO: TCP Data received {"connection_id":159861,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a027575918012d7b340005e1ec80001801651b..."} 
[2026-08-22 08:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027575918012d7b340005e1ec80001801651b..."} 
[2026-08-22 08:13:35] local.INFO: Processing buffer {"connection_id":159861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027575918012d7b340005e1ec80001801651b..."} 
[2026-08-22 08:13:35] local.INFO: Packet analysis {"connection_id":159861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02757"} 
[2026-08-22 08:13:35] local.INFO: Extracted packet for processing {"connection_id":159861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02757"} 
[2026-08-22 08:13:35] local.INFO: GPS Element Parsed {"raw_longitude":763048960,"raw_latitude":98692224,"longitude_deg":76.304896,"latitude_deg":9.8692224,"altitude":24,"angle":357,"satellites":27,"speed":0,"hex_longitude":"2d7b3400","hex_latitude":"05e1ec80","is_valid_coordinates":true} 
[2026-08-22 08:13:35] 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-22 08:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565783296001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053230946304,"note":"Value kept but may cause issues"} 
[2026-08-22 08:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122242092163399680,"note":"Value kept but may cause issues"} 
[2026-08-22 08:13: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-22 08:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787366431000,"timestamp_ms":1787366431000,"timestamp_seconds":1787366431,"priority":1,"record_length":96,"hex_timestamp":"000001a027575918"} 
[2026-08-22 08:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:13: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-22 08:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-22 08:13:35] 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-22 08:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:13:35] 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-22 08:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565783296001,"66":12689,"45":8877580053230946304,"85":15104,"24":0,"16":122242092163399680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565783296001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053230946304,"description":"Unknown IO ID 45"} 
[2026-08-22 08:13:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122242092163399680,"km_value":122242092163399.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:13:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565783296001,"power":12689,"unknown_45":8877580053230946304,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 08:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":159861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:13:35] local.INFO: GPS data processed {"connection_id":159861,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:13:35] local.INFO: Acknowledgment sent {"connection_id":159861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:13:49] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:13:49] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:13:49] local.INFO: IMEI packet received {"connection_id":159862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":159862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:13:55] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:13:55] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:13:55] local.INFO: IMEI packet received {"connection_id":159862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":159862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:13:55] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:13:55] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:13:55] local.INFO: Packet analysis {"connection_id":159862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:13:55] local.INFO: Extracted packet for processing {"connection_id":159862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:13:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565708544001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:13: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-22 08:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787366351000,"timestamp_ms":1787366351000,"timestamp_seconds":1787366351,"priority":1,"record_length":96,"hex_timestamp":"000001a027562098"} 
[2026-08-22 08: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-22 08:13:55] 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-22 08:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565708544001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565708544001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:13:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:13:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565708544001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":159862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:13:55] local.INFO: GPS data processed {"connection_id":159862,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:13:55] local.INFO: Acknowledgment sent {"connection_id":159862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:13:56] local.INFO: TCP Data received {"connection_id":160752,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:13:56] local.INFO: Processing buffer {"connection_id":160752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:13:56] local.INFO: IMEI packet received {"connection_id":160752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":160752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:13:59] local.INFO: TCP Data received {"connection_id":160751,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:13:59] local.INFO: Processing buffer {"connection_id":160751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:13:59] local.INFO: IMEI packet received {"connection_id":160751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":160751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:14:01] local.INFO: TCP Data received {"connection_id":160752,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:14:01] local.INFO: Processing buffer {"connection_id":160752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:14:01] local.INFO: IMEI packet received {"connection_id":160752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":160752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:14:02] local.INFO: TCP Data received {"connection_id":160752,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a027575918012d7b340005e1ec80001801651b..."} 
[2026-08-22 08:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027575918012d7b340005e1ec80001801651b..."} 
[2026-08-22 08:14:02] local.INFO: Processing buffer {"connection_id":160752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027575918012d7b340005e1ec80001801651b..."} 
[2026-08-22 08:14:02] local.INFO: Packet analysis {"connection_id":160752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02757"} 
[2026-08-22 08:14:02] local.INFO: Extracted packet for processing {"connection_id":160752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02757"} 
[2026-08-22 08:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763048960,"raw_latitude":98692224,"longitude_deg":76.304896,"latitude_deg":9.8692224,"altitude":24,"angle":357,"satellites":27,"speed":0,"hex_longitude":"2d7b3400","hex_latitude":"05e1ec80","is_valid_coordinates":true} 
[2026-08-22 08:14:02] 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-22 08:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565806336001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877720790719299584,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122242092163399680,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:02] 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-22 08:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787366431000,"timestamp_ms":1787366431000,"timestamp_seconds":1787366431,"priority":1,"record_length":96,"hex_timestamp":"000001a027575918"} 
[2026-08-22 08: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-22 08:14: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-22 08: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 08:14:02] 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-22 08: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-22 08: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-22 08:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:14:02] 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-22 08:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565806336001,"66":12689,"45":8877720790719299584,"85":15104,"24":0,"16":122242092163399680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565806336001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877720790719299584,"description":"Unknown IO ID 45"} 
[2026-08-22 08:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122242092163399680,"km_value":122242092163399.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:14:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565806336001,"power":12689,"unknown_45":8877720790719299584,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 08:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":160752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:14:02] local.INFO: GPS data processed {"connection_id":160752,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:14:02] local.INFO: Acknowledgment sent {"connection_id":160752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:14:04] local.INFO: TCP Data received {"connection_id":160751,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:14:04] local.INFO: Processing buffer {"connection_id":160751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:14:04] local.INFO: IMEI packet received {"connection_id":160751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":160751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:14:04] local.INFO: TCP Data received {"connection_id":160751,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02756a568012d196940071fedd8003e011c28..."} 
[2026-08-22 08:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02756a568012d196940071fedd8003e011c28..."} 
[2026-08-22 08:14:04] local.INFO: Processing buffer {"connection_id":160751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02756a568012d196940071fedd8003e011c28..."} 
[2026-08-22 08:14:04] local.INFO: Packet analysis {"connection_id":160751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:14:04] local.INFO: Extracted packet for processing {"connection_id":160751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:14:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565789184001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787366385000,"timestamp_ms":1787366385000,"timestamp_seconds":1787366385,"priority":1,"record_length":96,"hex_timestamp":"000001a02756a568"} 
[2026-08-22 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-22 08:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 08:14:04] 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-22 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-22 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-22 08:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:14:04] 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-22 08:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565789184001,"66":12363,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565789184001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:14:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:14:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565789184001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":160751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:14:04] local.INFO: GPS data processed {"connection_id":160751,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:14:04] local.INFO: Acknowledgment sent {"connection_id":160751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:14:09] local.INFO: TCP Data received {"connection_id":160751,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02756f770012d196940071fedd8003e011c27..."} 
[2026-08-22 08:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02756f770012d196940071fedd8003e011c27..."} 
[2026-08-22 08:14:09] local.INFO: Processing buffer {"connection_id":160751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02756f770012d196940071fedd8003e011c27..."} 
[2026-08-22 08:14:09] local.INFO: Packet analysis {"connection_id":160751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:14:09] local.INFO: Extracted packet for processing {"connection_id":160751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:14:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565794560001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787366406000,"timestamp_ms":1787366406000,"timestamp_seconds":1787366406,"priority":1,"record_length":96,"hex_timestamp":"000001a02756f770"} 
[2026-08-22 08:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:14: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-22 08:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-22 08:14:09] 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-22 08:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:14:09] 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-22 08:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565794560001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565794560001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:14:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:14:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565794560001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":160751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:14:09] local.INFO: GPS data processed {"connection_id":160751,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:14:09] local.INFO: Acknowledgment sent {"connection_id":160751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:14:26] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:14:26] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027562098012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:14:26] local.INFO: Packet analysis {"connection_id":159862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:14:26] local.INFO: Extracted packet for processing {"connection_id":159862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02756"} 
[2026-08-22 08:14:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565708544001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14: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-22 08:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787366351000,"timestamp_ms":1787366351000,"timestamp_seconds":1787366351,"priority":1,"record_length":96,"hex_timestamp":"000001a027562098"} 
[2026-08-22 08: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-22 08:14:26] 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-22 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565708544001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565708544001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:14:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565708544001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":159862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:14:26] local.INFO: GPS data processed {"connection_id":159862,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:14:26] local.INFO: Acknowledgment sent {"connection_id":159862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:14:33] local.INFO: TCP Data received {"connection_id":160752,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0275a9d08012d7b340005e1ec80001801651d..."} 
[2026-08-22 08:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275a9d08012d7b340005e1ec80001801651d..."} 
[2026-08-22 08:14:33] local.INFO: Processing buffer {"connection_id":160752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275a9d08012d7b340005e1ec80001801651d..."} 
[2026-08-22 08:14:33] local.INFO: Packet analysis {"connection_id":160752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:14:33] local.INFO: Extracted packet for processing {"connection_id":160752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763048960,"raw_latitude":98692224,"longitude_deg":76.304896,"latitude_deg":9.8692224,"altitude":24,"angle":357,"satellites":29,"speed":0,"hex_longitude":"2d7b3400","hex_latitude":"05e1ec80","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565806336001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877720790719299584,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122242092163399680,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:33] 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-22 08:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787366645000,"timestamp_ms":1787366645000,"timestamp_seconds":1787366645,"priority":1,"record_length":96,"hex_timestamp":"000001a0275a9d08"} 
[2026-08-22 08: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-22 08:14: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-22 08: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 08:14:33] 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-22 08: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-22 08: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-22 08:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:14:33] 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-22 08:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565806336001,"66":2253,"45":8877720790719299584,"85":15104,"24":0,"16":122242092163399680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565806336001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877720790719299584,"description":"Unknown IO ID 45"} 
[2026-08-22 08:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122242092163399680,"km_value":122242092163399.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:14:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565806336001,"power":2253,"unknown_45":8877720790719299584,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 08:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":160752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:14:33] local.INFO: GPS data processed {"connection_id":160752,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:14:33] local.INFO: Acknowledgment sent {"connection_id":160752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:14:49] local.INFO: TCP Data received {"connection_id":159602,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:14:49] local.INFO: Processing buffer {"connection_id":159602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:14:49] local.INFO: IMEI packet received {"connection_id":159602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":159602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:14:53] local.INFO: TCP Data received {"connection_id":159603,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:14:53] local.INFO: Processing buffer {"connection_id":159603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:14:53] local.INFO: IMEI packet received {"connection_id":159603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":159603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:14:55] local.INFO: TCP Data received {"connection_id":159602,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:14:55] local.INFO: Processing buffer {"connection_id":159602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:14:55] local.INFO: IMEI packet received {"connection_id":159602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":159602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:14:55] local.INFO: TCP Data received {"connection_id":159602,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:14:55] local.INFO: Processing buffer {"connection_id":159602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:14:55] local.INFO: Packet analysis {"connection_id":159602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:14:55] local.INFO: Extracted packet for processing {"connection_id":159602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565785856001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14: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-22 08:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787366650000,"timestamp_ms":1787366650000,"timestamp_seconds":1787366650,"priority":1,"record_length":96,"hex_timestamp":"000001a0275ab090"} 
[2026-08-22 08: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-22 08:14:55] 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-22 08:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565785856001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565785856001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:14:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:14:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565785856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":159602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:14:55] local.INFO: GPS data processed {"connection_id":159602,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:14:55] local.INFO: Acknowledgment sent {"connection_id":159602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:14:57] local.INFO: TCP Data received {"connection_id":159603,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:14:57] local.INFO: Processing buffer {"connection_id":159603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:14:57] local.INFO: IMEI packet received {"connection_id":159603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":159603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:14:57] local.INFO: TCP Data received {"connection_id":159603,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027574978012d196940071fedd8003e011c28..."} 
[2026-08-22 08:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027574978012d196940071fedd8003e011c28..."} 
[2026-08-22 08:14:57] local.INFO: Processing buffer {"connection_id":159603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027574978012d196940071fedd8003e011c28..."} 
[2026-08-22 08:14:57] local.INFO: Packet analysis {"connection_id":159603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02757"} 
[2026-08-22 08:14:57] local.INFO: Extracted packet for processing {"connection_id":159603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02757"} 
[2026-08-22 08:14:57] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565799936001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:14: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-22 08:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787366427000,"timestamp_ms":1787366427000,"timestamp_seconds":1787366427,"priority":1,"record_length":96,"hex_timestamp":"000001a027574978"} 
[2026-08-22 08: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-22 08:14:57] 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-22 08:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:14:57] 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-22 08: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-22 08: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-22 08:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:14:57] 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-22 08:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565799936001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565799936001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:14:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:14:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565799936001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":159603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:14:57] local.INFO: GPS data processed {"connection_id":159603,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:14:57] local.INFO: Acknowledgment sent {"connection_id":159603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:15:01] local.INFO: TCP Data received {"connection_id":160753,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:15:01] local.INFO: Processing buffer {"connection_id":160753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:15:01] local.INFO: IMEI packet received {"connection_id":160753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":160753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:15:06] local.INFO: TCP Data received {"connection_id":160753,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:15:06] local.INFO: Processing buffer {"connection_id":160753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:15:06] local.INFO: IMEI packet received {"connection_id":160753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":160753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:15:07] local.INFO: TCP Data received {"connection_id":160753,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0275a9d08012d7b340005e1ec80001801651d..."} 
[2026-08-22 08:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275a9d08012d7b340005e1ec80001801651d..."} 
[2026-08-22 08:15:07] local.INFO: Processing buffer {"connection_id":160753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275a9d08012d7b340005e1ec80001801651d..."} 
[2026-08-22 08:15:07] local.INFO: Packet analysis {"connection_id":160753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:15:07] local.INFO: Extracted packet for processing {"connection_id":160753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763048960,"raw_latitude":98692224,"longitude_deg":76.304896,"latitude_deg":9.8692224,"altitude":24,"angle":357,"satellites":29,"speed":0,"hex_longitude":"2d7b3400","hex_latitude":"05e1ec80","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565806336001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877720790719299584,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122242092163399680,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15: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-22 08:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787366645000,"timestamp_ms":1787366645000,"timestamp_seconds":1787366645,"priority":1,"record_length":96,"hex_timestamp":"000001a0275a9d08"} 
[2026-08-22 08: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-22 08:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 08: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 08:15:07] 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-22 08: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-22 08: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-22 08:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:15:07] 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-22 08:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565806336001,"66":2253,"45":8877720790719299584,"85":15104,"24":0,"16":122242092163399680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565806336001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877720790719299584,"description":"Unknown IO ID 45"} 
[2026-08-22 08:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122242092163399680,"km_value":122242092163399.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:15:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565806336001,"power":2253,"unknown_45":8877720790719299584,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 08:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":160753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:15:07] local.INFO: GPS data processed {"connection_id":160753,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:15:07] local.INFO: Acknowledgment sent {"connection_id":160753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:15:12] local.INFO: TCP Data received {"connection_id":160753,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0275a9d08012d7b340005e1ec80001801651d..."} 
[2026-08-22 08:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275a9d08012d7b340005e1ec80001801651d..."} 
[2026-08-22 08:15:12] local.INFO: Processing buffer {"connection_id":160753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275a9d08012d7b340005e1ec80001801651d..."} 
[2026-08-22 08:15:12] local.INFO: Packet analysis {"connection_id":160753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:15:12] local.INFO: Extracted packet for processing {"connection_id":160753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763048960,"raw_latitude":98692224,"longitude_deg":76.304896,"latitude_deg":9.8692224,"altitude":24,"angle":357,"satellites":29,"speed":0,"hex_longitude":"2d7b3400","hex_latitude":"05e1ec80","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565806336001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877720790719299584,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122242092163399680,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15: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-22 08:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787366645000,"timestamp_ms":1787366645000,"timestamp_seconds":1787366645,"priority":1,"record_length":96,"hex_timestamp":"000001a0275a9d08"} 
[2026-08-22 08: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-22 08:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 08: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 08:15:12] 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-22 08: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-22 08: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-22 08:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:15:12] 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-22 08:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565806336001,"66":2253,"45":8877720790719299584,"85":15104,"24":0,"16":122242092163399680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565806336001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877720790719299584,"description":"Unknown IO ID 45"} 
[2026-08-22 08:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122242092163399680,"km_value":122242092163399.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:15:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565806336001,"power":2253,"unknown_45":8877720790719299584,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 08:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":160753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:15:12] local.INFO: GPS data processed {"connection_id":160753,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:15:12] local.INFO: Acknowledgment sent {"connection_id":160753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:15:27] local.INFO: TCP Data received {"connection_id":159602,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:15:27] local.INFO: Processing buffer {"connection_id":159602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:15:27] local.INFO: Packet analysis {"connection_id":159602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:15:27] local.INFO: Extracted packet for processing {"connection_id":159602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565785856001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15: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-22 08:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787366650000,"timestamp_ms":1787366650000,"timestamp_seconds":1787366650,"priority":1,"record_length":96,"hex_timestamp":"000001a0275ab090"} 
[2026-08-22 08:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:15:27] 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-22 08:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565785856001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565785856001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:15:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565785856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":159602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:15:27] local.INFO: GPS data processed {"connection_id":159602,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:15:27] local.INFO: Acknowledgment sent {"connection_id":159602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:15:28] local.INFO: TCP Data received {"connection_id":159603,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027579b80012d196940071fedd8003e011c29..."} 
[2026-08-22 08:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027579b80012d196940071fedd8003e011c29..."} 
[2026-08-22 08:15:28] local.INFO: Processing buffer {"connection_id":159603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027579b80012d196940071fedd8003e011c29..."} 
[2026-08-22 08:15:28] local.INFO: Packet analysis {"connection_id":159603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02757"} 
[2026-08-22 08:15:28] local.INFO: Extracted packet for processing {"connection_id":159603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02757"} 
[2026-08-22 08:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565805312001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787366448000,"timestamp_ms":1787366448000,"timestamp_seconds":1787366448,"priority":1,"record_length":96,"hex_timestamp":"000001a027579b80"} 
[2026-08-22 08: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-22 08:15:28] 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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:15:28] 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-22 08: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-22 08: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-22 08:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:15:28] 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-22 08:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565805312001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565805312001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:15:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:15:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565805312001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":159603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:15:29] local.INFO: GPS data processed {"connection_id":159603,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:15:29] local.INFO: Acknowledgment sent {"connection_id":159603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:15:50] local.INFO: TCP Data received {"connection_id":162167,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:15:50] local.INFO: Processing buffer {"connection_id":162167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:15:50] local.INFO: IMEI packet received {"connection_id":162167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":162167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:15:53] local.INFO: TCP Data received {"connection_id":162168,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:15:53] local.INFO: Processing buffer {"connection_id":162168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:15:53] local.INFO: IMEI packet received {"connection_id":162168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":162168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:15:55] local.INFO: TCP Data received {"connection_id":162167,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:15:55] local.INFO: Processing buffer {"connection_id":162167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:15:55] local.INFO: IMEI packet received {"connection_id":162167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":162167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:15:55] local.INFO: TCP Data received {"connection_id":162167,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:15:55] local.INFO: Processing buffer {"connection_id":162167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:15:55] local.INFO: Packet analysis {"connection_id":162167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:15:55] local.INFO: Extracted packet for processing {"connection_id":162167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565785856001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08: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-22 08:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787366650000,"timestamp_ms":1787366650000,"timestamp_seconds":1787366650,"priority":1,"record_length":96,"hex_timestamp":"000001a0275ab090"} 
[2026-08-22 08: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-22 08:15:55] 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-22 08:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565785856001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565785856001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:15:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:15:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565785856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":162167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:15:55] local.INFO: GPS data processed {"connection_id":162167,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:15:55] local.INFO: Acknowledgment sent {"connection_id":162167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:15:56] local.INFO: TCP Data received {"connection_id":162169,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:15:56] local.INFO: Processing buffer {"connection_id":162169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:15:56] local.INFO: IMEI packet received {"connection_id":162169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":162169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:15:57] local.INFO: TCP Data received {"connection_id":162169,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:15:57] local.INFO: Processing buffer {"connection_id":162169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:15:57] local.INFO: IMEI packet received {"connection_id":162169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":162169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:15:59] local.INFO: TCP Data received {"connection_id":162168,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:15:59] local.INFO: Processing buffer {"connection_id":162168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:15:59] local.INFO: IMEI packet received {"connection_id":162168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":162168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:15:59] local.INFO: TCP Data received {"connection_id":162168,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02757ed88012d196940071fedd8003e011c2a..."} 
[2026-08-22 08:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02757ed88012d196940071fedd8003e011c2a..."} 
[2026-08-22 08:15:59] local.INFO: Processing buffer {"connection_id":162168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02757ed88012d196940071fedd8003e011c2a..."} 
[2026-08-22 08:15:59] local.INFO: Packet analysis {"connection_id":162168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02757"} 
[2026-08-22 08:15:59] local.INFO: Extracted packet for processing {"connection_id":162168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02757"} 
[2026-08-22 08:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565810688001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:15: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-22 08:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787366469000,"timestamp_ms":1787366469000,"timestamp_seconds":1787366469,"priority":1,"record_length":96,"hex_timestamp":"000001a02757ed88"} 
[2026-08-22 08: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-22 08:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:15:59] 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-22 08:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565810688001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565810688001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:15:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:15:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565810688001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":162168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:15:59] local.INFO: GPS data processed {"connection_id":162168,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:15:59] local.INFO: Acknowledgment sent {"connection_id":162168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:16:01] local.INFO: TCP Data received {"connection_id":162169,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:16:01] local.INFO: Processing buffer {"connection_id":162169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:16:01] local.INFO: IMEI packet received {"connection_id":162169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":162169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:16:02] local.INFO: TCP Data received {"connection_id":162169,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0275b9af0012d7b340005e1ec800018016520..."} 
[2026-08-22 08:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275b9af0012d7b340005e1ec800018016520..."} 
[2026-08-22 08:16:02] local.INFO: Processing buffer {"connection_id":162169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275b9af0012d7b340005e1ec800018016520..."} 
[2026-08-22 08:16:02] local.INFO: Packet analysis {"connection_id":162169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275b"} 
[2026-08-22 08:16:02] local.INFO: Extracted packet for processing {"connection_id":162169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275b"} 
[2026-08-22 08:16:02] local.INFO: GPS Element Parsed {"raw_longitude":763048960,"raw_latitude":98692224,"longitude_deg":76.304896,"latitude_deg":9.8692224,"altitude":24,"angle":357,"satellites":32,"speed":0,"hex_longitude":"2d7b3400","hex_latitude":"05e1ec80","is_valid_coordinates":true} 
[2026-08-22 08:16:02] 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-22 08:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565861120001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877720790719299584,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122242092163399680,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16:02] 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-22 08:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787366710000,"timestamp_ms":1787366710000,"timestamp_seconds":1787366710,"priority":1,"record_length":96,"hex_timestamp":"000001a0275b9af0"} 
[2026-08-22 08: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-22 08:16:02] 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-22 08:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:16:02] 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-22 08: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-22 08: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-22 08:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:16:02] 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-22 08:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565861120001,"66":2242,"45":8877720790719299584,"85":15104,"24":0,"16":122242092163399680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565861120001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877720790719299584,"description":"Unknown IO ID 45"} 
[2026-08-22 08:16:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122242092163399680,"km_value":122242092163399.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:16:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565861120001,"power":2242,"unknown_45":8877720790719299584,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 08:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":162169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:16:02] local.INFO: GPS data processed {"connection_id":162169,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:16:02] local.INFO: Acknowledgment sent {"connection_id":162169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:16:27] local.INFO: TCP Data received {"connection_id":162167,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:16:27] local.INFO: Processing buffer {"connection_id":162167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:16:27] local.INFO: Packet analysis {"connection_id":162167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:16:27] local.INFO: Extracted packet for processing {"connection_id":162167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565785856001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16: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-22 08:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787366650000,"timestamp_ms":1787366650000,"timestamp_seconds":1787366650,"priority":1,"record_length":96,"hex_timestamp":"000001a0275ab090"} 
[2026-08-22 08: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-22 08:16:27] 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-22 08:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565785856001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565785856001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:16:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565785856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":162167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:16:27] local.INFO: GPS data processed {"connection_id":162167,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:16:27] local.INFO: Acknowledgment sent {"connection_id":162167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:16:30] local.INFO: TCP Data received {"connection_id":162168,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275b73e0012d196940071fedd8003e011c27..."} 
[2026-08-22 08:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275b73e0012d196940071fedd8003e011c27..."} 
[2026-08-22 08:16:30] local.INFO: Processing buffer {"connection_id":162168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275b73e0012d196940071fedd8003e011c27..."} 
[2026-08-22 08:16:30] local.INFO: Packet analysis {"connection_id":162168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275b"} 
[2026-08-22 08:16:30] local.INFO: Extracted packet for processing {"connection_id":162168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275b"} 
[2026-08-22 08:16:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565869824001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16: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-22 08:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787366700000,"timestamp_ms":1787366700000,"timestamp_seconds":1787366700,"priority":1,"record_length":96,"hex_timestamp":"000001a0275b73e0"} 
[2026-08-22 08: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-22 08:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:16:30] 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-22 08:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565869824001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565869824001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:16:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:16:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565869824001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":162168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:16:31] local.INFO: GPS data processed {"connection_id":162168,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:16:31] local.INFO: Acknowledgment sent {"connection_id":162168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:16:35] local.INFO: TCP Data received {"connection_id":162169,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0275b9af0012d7b340005e1ec800018016520..."} 
[2026-08-22 08:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275b9af0012d7b340005e1ec800018016520..."} 
[2026-08-22 08:16:35] local.INFO: Processing buffer {"connection_id":162169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275b9af0012d7b340005e1ec800018016520..."} 
[2026-08-22 08:16:35] local.INFO: Packet analysis {"connection_id":162169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275b"} 
[2026-08-22 08:16:35] local.INFO: Extracted packet for processing {"connection_id":162169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275b"} 
[2026-08-22 08:16:35] local.INFO: GPS Element Parsed {"raw_longitude":763048960,"raw_latitude":98692224,"longitude_deg":76.304896,"latitude_deg":9.8692224,"altitude":24,"angle":357,"satellites":32,"speed":0,"hex_longitude":"2d7b3400","hex_latitude":"05e1ec80","is_valid_coordinates":true} 
[2026-08-22 08:16:35] 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-22 08:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565877760001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877720790719299584,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122242092163399680,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16: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-22 08:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787366710000,"timestamp_ms":1787366710000,"timestamp_seconds":1787366710,"priority":1,"record_length":96,"hex_timestamp":"000001a0275b9af0"} 
[2026-08-22 08: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-22 08:16:35] 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-22 08: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 08:16:35] 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-22 08: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-22 08: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-22 08:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":162169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":162169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":162169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:16:35] 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-22 08:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565877760001,"66":2242,"45":8877720790719299584,"85":15104,"24":0,"16":122242092163399680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565877760001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877720790719299584,"description":"Unknown IO ID 45"} 
[2026-08-22 08:16:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122242092163399680,"km_value":122242092163399.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:16:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565877760001,"power":2242,"unknown_45":8877720790719299584,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 08:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":162169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:16:35] local.INFO: GPS data processed {"connection_id":162169,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:16:35] local.INFO: Acknowledgment sent {"connection_id":162169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:16:50] local.INFO: TCP Data received {"connection_id":160754,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:16:50] local.INFO: Processing buffer {"connection_id":160754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:16:50] local.INFO: IMEI packet received {"connection_id":160754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":160754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:16:53] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:16:53] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:16:53] local.INFO: IMEI packet received {"connection_id":159863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":159863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:16:55] local.INFO: TCP Data received {"connection_id":160754,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:16:55] local.INFO: Processing buffer {"connection_id":160754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:16:55] local.INFO: IMEI packet received {"connection_id":160754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":160754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:16:56] local.INFO: TCP Data received {"connection_id":160754,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:16:56] local.INFO: Processing buffer {"connection_id":160754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:16:56] local.INFO: Packet analysis {"connection_id":160754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:16:56] local.INFO: Extracted packet for processing {"connection_id":160754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565785856001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08: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-22 08:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787366650000,"timestamp_ms":1787366650000,"timestamp_seconds":1787366650,"priority":1,"record_length":96,"hex_timestamp":"000001a0275ab090"} 
[2026-08-22 08: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-22 08:16:56] 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-22 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565785856001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565785856001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:16:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565785856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":160754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:16:56] local.INFO: GPS data processed {"connection_id":160754,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:16:56] local.INFO: Acknowledgment sent {"connection_id":160754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:16:56] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:16:56] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:16:56] local.INFO: IMEI packet received {"connection_id":159864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":159864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:16:58] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:16:58] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:16:58] local.INFO: IMEI packet received {"connection_id":159864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":159864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:16:59] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:16:59] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:16:59] local.INFO: IMEI packet received {"connection_id":159863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":159863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:16:59] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275bc5e8012d196940071fedd8003e011c27..."} 
[2026-08-22 08:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275bc5e8012d196940071fedd8003e011c27..."} 
[2026-08-22 08:16:59] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275bc5e8012d196940071fedd8003e011c27..."} 
[2026-08-22 08:16:59] local.INFO: Packet analysis {"connection_id":159863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275b"} 
[2026-08-22 08:16:59] local.INFO: Extracted packet for processing {"connection_id":159863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275b"} 
[2026-08-22 08:16:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565875200001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:16: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-22 08:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787366721000,"timestamp_ms":1787366721000,"timestamp_seconds":1787366721,"priority":1,"record_length":96,"hex_timestamp":"000001a0275bc5e8"} 
[2026-08-22 08: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-22 08:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 08:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:16:59] 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-22 08:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565875200001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565875200001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:16:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:16:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565875200001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":159863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:16:59] local.INFO: GPS data processed {"connection_id":159863,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:16:59] local.INFO: Acknowledgment sent {"connection_id":159863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:17:01] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:17:01] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:17:01] local.INFO: IMEI packet received {"connection_id":159864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":159864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:17:02] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0275ba6a8012d7b340005e1ec800018016523..."} 
[2026-08-22 08:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275ba6a8012d7b340005e1ec800018016523..."} 
[2026-08-22 08:17:02] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275ba6a8012d7b340005e1ec800018016523..."} 
[2026-08-22 08:17:02] local.INFO: Packet analysis {"connection_id":159864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275b"} 
[2026-08-22 08:17:02] local.INFO: Extracted packet for processing {"connection_id":159864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275b"} 
[2026-08-22 08:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763048960,"raw_latitude":98692224,"longitude_deg":76.304896,"latitude_deg":9.8692224,"altitude":24,"angle":357,"satellites":35,"speed":0,"hex_longitude":"2d7b3400","hex_latitude":"05e1ec80","is_valid_coordinates":true} 
[2026-08-22 08:17: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-22 08:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565877760001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877720790719299584,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122242092163399680,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17:02] 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-22 08:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787366713000,"timestamp_ms":1787366713000,"timestamp_seconds":1787366713,"priority":1,"record_length":96,"hex_timestamp":"000001a0275ba6a8"} 
[2026-08-22 08: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-22 08:17:02] 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-22 08: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 08:17:02] 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-22 08: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-22 08: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-22 08:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:17:02] 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-22 08:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565877760001,"66":12906,"45":8877720790719299584,"85":15104,"24":0,"16":122242092163399680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565877760001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877720790719299584,"description":"Unknown IO ID 45"} 
[2026-08-22 08:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122242092163399680,"km_value":122242092163399.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:17:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565877760001,"power":12906,"unknown_45":8877720790719299584,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 08:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":159864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:17:02] local.INFO: GPS data processed {"connection_id":159864,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:17:02] local.INFO: Acknowledgment sent {"connection_id":159864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:17:27] local.INFO: TCP Data received {"connection_id":160754,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:17:27] local.INFO: Processing buffer {"connection_id":160754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:17:27] local.INFO: Packet analysis {"connection_id":160754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:17:27] local.INFO: Extracted packet for processing {"connection_id":160754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565785856001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17: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-22 08:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787366650000,"timestamp_ms":1787366650000,"timestamp_seconds":1787366650,"priority":1,"record_length":96,"hex_timestamp":"000001a0275ab090"} 
[2026-08-22 08: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-22 08:17:27] 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-22 08:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08: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-22 08:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565785856001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565785856001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:17:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565785856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":160754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:17:27] local.INFO: GPS data processed {"connection_id":160754,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:17:27] local.INFO: Acknowledgment sent {"connection_id":160754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:17:30] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275c17f0012d196940071fedd8003e011c27..."} 
[2026-08-22 08:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275c17f0012d196940071fedd8003e011c27..."} 
[2026-08-22 08:17:30] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275c17f0012d196940071fedd8003e011c27..."} 
[2026-08-22 08:17:30] local.INFO: Packet analysis {"connection_id":159863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275c"} 
[2026-08-22 08:17:30] local.INFO: Extracted packet for processing {"connection_id":159863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275c"} 
[2026-08-22 08:17:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565880576001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17: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-22 08:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787366742000,"timestamp_ms":1787366742000,"timestamp_seconds":1787366742,"priority":1,"record_length":96,"hex_timestamp":"000001a0275c17f0"} 
[2026-08-22 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-22 08:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:17:30] 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-22 08:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565880576001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565880576001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:17:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:17:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565880576001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":159863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:17:31] local.INFO: GPS data processed {"connection_id":159863,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:17:31] local.INFO: Acknowledgment sent {"connection_id":159863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:17:33] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0275ba6a8012d7b340005e1ec800018016523..."} 
[2026-08-22 08:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275ba6a8012d7b340005e1ec800018016523..."} 
[2026-08-22 08:17:33] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275ba6a8012d7b340005e1ec800018016523..."} 
[2026-08-22 08:17:33] local.INFO: Packet analysis {"connection_id":159864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275b"} 
[2026-08-22 08:17:33] local.INFO: Extracted packet for processing {"connection_id":159864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275b"} 
[2026-08-22 08:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763048960,"raw_latitude":98692224,"longitude_deg":76.304896,"latitude_deg":9.8692224,"altitude":24,"angle":357,"satellites":35,"speed":0,"hex_longitude":"2d7b3400","hex_latitude":"05e1ec80","is_valid_coordinates":true} 
[2026-08-22 08:17: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-22 08:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565878528001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877720790719299584,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122242092163399680,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17:33] 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-22 08:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787366713000,"timestamp_ms":1787366713000,"timestamp_seconds":1787366713,"priority":1,"record_length":96,"hex_timestamp":"000001a0275ba6a8"} 
[2026-08-22 08:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:17:33] 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-22 08:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-22 08:17:33] 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-22 08:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:17:33] 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-22 08:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565878528001,"66":12906,"45":8877720790719299584,"85":15104,"24":0,"16":122242092163399680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565878528001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877720790719299584,"description":"Unknown IO ID 45"} 
[2026-08-22 08:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122242092163399680,"km_value":122242092163399.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:17:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565878528001,"power":12906,"unknown_45":8877720790719299584,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 08:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":159864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:17:33] local.INFO: GPS data processed {"connection_id":159864,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:17:33] local.INFO: Acknowledgment sent {"connection_id":159864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:17:50] local.INFO: TCP Data received {"connection_id":160755,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:17:50] local.INFO: Processing buffer {"connection_id":160755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:17:50] local.INFO: IMEI packet received {"connection_id":160755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":160755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:17:53] local.INFO: TCP Data received {"connection_id":160756,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:17:53] local.INFO: Processing buffer {"connection_id":160756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:17:53] local.INFO: IMEI packet received {"connection_id":160756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":160756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:17:55] local.INFO: TCP Data received {"connection_id":160755,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:17:55] local.INFO: Processing buffer {"connection_id":160755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:17:55] local.INFO: IMEI packet received {"connection_id":160755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":160755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:17:55] local.INFO: TCP Data received {"connection_id":160755,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:17:55] local.INFO: Processing buffer {"connection_id":160755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:17:55] local.INFO: Packet analysis {"connection_id":160755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:17:55] local.INFO: Extracted packet for processing {"connection_id":160755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565785856001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17: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-22 08:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787366650000,"timestamp_ms":1787366650000,"timestamp_seconds":1787366650,"priority":1,"record_length":96,"hex_timestamp":"000001a0275ab090"} 
[2026-08-22 08: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-22 08:17:55] 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-22 08:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565785856001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565785856001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:17:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:17:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565785856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":160755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:17:56] local.INFO: GPS data processed {"connection_id":160755,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:17:56] local.INFO: Acknowledgment sent {"connection_id":160755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:17:56] local.INFO: TCP Data received {"connection_id":162170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:17:56] local.INFO: Processing buffer {"connection_id":162170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:17:56] local.INFO: IMEI packet received {"connection_id":162170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":162170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:17:59] local.INFO: TCP Data received {"connection_id":160756,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:17:59] local.INFO: Processing buffer {"connection_id":160756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:17:59] local.INFO: IMEI packet received {"connection_id":160756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":160756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:17:59] local.INFO: TCP Data received {"connection_id":160756,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275c69f8012d196940071fedd8003e011c26..."} 
[2026-08-22 08:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275c69f8012d196940071fedd8003e011c26..."} 
[2026-08-22 08:17:59] local.INFO: Processing buffer {"connection_id":160756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275c69f8012d196940071fedd8003e011c26..."} 
[2026-08-22 08:17:59] local.INFO: Packet analysis {"connection_id":160756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275c"} 
[2026-08-22 08:17:59] local.INFO: Extracted packet for processing {"connection_id":160756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275c"} 
[2026-08-22 08:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565885952001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:17: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-22 08:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787366763000,"timestamp_ms":1787366763000,"timestamp_seconds":1787366763,"priority":1,"record_length":96,"hex_timestamp":"000001a0275c69f8"} 
[2026-08-22 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-22 08:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:17:59] 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-22 08:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565885952001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565885952001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:17:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:17:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565885952001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":160756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:17:59] local.INFO: GPS data processed {"connection_id":160756,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:17:59] local.INFO: Acknowledgment sent {"connection_id":160756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:18:00] local.INFO: TCP Data received {"connection_id":162170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:18:00] local.INFO: Processing buffer {"connection_id":162170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:18:00] local.INFO: IMEI packet received {"connection_id":162170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":162170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:18:01] local.INFO: TCP Data received {"connection_id":162170,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0275db218012d7b26c005e25a40000401611b..."} 
[2026-08-22 08:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275db218012d7b26c005e25a40000401611b..."} 
[2026-08-22 08:18:01] local.INFO: Processing buffer {"connection_id":162170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275db218012d7b26c005e25a40000401611b..."} 
[2026-08-22 08:18:01] local.INFO: Packet analysis {"connection_id":162170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275d"} 
[2026-08-22 08:18:01] local.INFO: Extracted packet for processing {"connection_id":162170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275d"} 
[2026-08-22 08:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763045568,"raw_latitude":98720320,"longitude_deg":76.3045568,"latitude_deg":9.872032,"altitude":4,"angle":353,"satellites":27,"speed":31,"hex_longitude":"2d7b26c0","hex_latitude":"05e25a40","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565909248001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875257884677971968,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122243470847901696,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:01] 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-22 08:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787366847000,"timestamp_ms":1787366847000,"timestamp_seconds":1787366847,"priority":1,"record_length":96,"hex_timestamp":"000001a0275db218"} 
[2026-08-22 08: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-22 08:18:01] 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-22 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 08:18:01] 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-22 08: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-22 08: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-22 08:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:18:01] 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-22 08:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565909248001,"66":13243,"45":8875257884677971968,"85":15104,"24":31,"16":122243470847901696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565909248001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875257884677971968,"description":"Unknown IO ID 45"} 
[2026-08-22 08:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122243470847901696,"km_value":122243470847901.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:18:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565909248001,"power":13243,"unknown_45":8875257884677971968,"unknown_85":15104,"ignition":31,"odometer":null}} 
[2026-08-22 08:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":162170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:18:01] local.INFO: GPS data processed {"connection_id":162170,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:18:01] local.INFO: Acknowledgment sent {"connection_id":162170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:18:27] local.INFO: TCP Data received {"connection_id":160755,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:18:27] local.INFO: Processing buffer {"connection_id":160755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:18:27] local.INFO: Packet analysis {"connection_id":160755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:18:27] local.INFO: Extracted packet for processing {"connection_id":160755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565785856001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18: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-22 08:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787366650000,"timestamp_ms":1787366650000,"timestamp_seconds":1787366650,"priority":1,"record_length":96,"hex_timestamp":"000001a0275ab090"} 
[2026-08-22 08: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-22 08:18:27] 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-22 08:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565785856001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565785856001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:18:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565785856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":160755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:18:27] local.INFO: GPS data processed {"connection_id":160755,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:18:27] local.INFO: Acknowledgment sent {"connection_id":160755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:18:30] local.INFO: TCP Data received {"connection_id":160756,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275cbc00012d196940071fedd8003e011c28..."} 
[2026-08-22 08:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275cbc00012d196940071fedd8003e011c28..."} 
[2026-08-22 08:18:30] local.INFO: Processing buffer {"connection_id":160756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275cbc00012d196940071fedd8003e011c28..."} 
[2026-08-22 08:18:30] local.INFO: Packet analysis {"connection_id":160756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275c"} 
[2026-08-22 08:18:30] local.INFO: Extracted packet for processing {"connection_id":160756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275c"} 
[2026-08-22 08:18:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565891328001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18: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-22 08:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787366784000,"timestamp_ms":1787366784000,"timestamp_seconds":1787366784,"priority":1,"record_length":96,"hex_timestamp":"000001a0275cbc00"} 
[2026-08-22 08: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-22 08:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 08:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2835627019036596585,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79980674827681792,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 08:18:30] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:30] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,160,23,45,64,237,62,39,10,66,197,115,1,240,31,227,4,113,205,207,105,216,38,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 08:18:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 08: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-22 08:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:18:30] 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-22 08:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565891328001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565891328001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:18:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:18:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565891328001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":160756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:18:30] local.INFO: GPS data processed {"connection_id":160756,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:18:30] local.INFO: Acknowledgment sent {"connection_id":160756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:18:35] local.INFO: TCP Data received {"connection_id":162170,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0275de0f8012d7b220005e27f400003015e18..."} 
[2026-08-22 08:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275de0f8012d7b220005e27f400003015e18..."} 
[2026-08-22 08:18:35] local.INFO: Processing buffer {"connection_id":162170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275de0f8012d7b220005e27f400003015e18..."} 
[2026-08-22 08:18:35] local.INFO: Packet analysis {"connection_id":162170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275d"} 
[2026-08-22 08:18:35] local.INFO: Extracted packet for processing {"connection_id":162170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275d"} 
[2026-08-22 08:18:35] local.INFO: GPS Element Parsed {"raw_longitude":763044352,"raw_latitude":98729792,"longitude_deg":76.3044352,"latitude_deg":9.8729792,"altitude":3,"angle":350,"satellites":24,"speed":33,"hex_longitude":"2d7b2200","hex_latitude":"05e27f40","is_valid_coordinates":true} 
[2026-08-22 08:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565912832001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873991247285075968,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122243934704369664,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18: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-22 08:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787366859000,"timestamp_ms":1787366859000,"timestamp_seconds":1787366859,"priority":1,"record_length":96,"hex_timestamp":"000001a0275de0f8"} 
[2026-08-22 08:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:18: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-22 08:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-22 08:18:35] 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-22 08:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":162170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":162170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":162170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:18:35] 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-22 08:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565912832001,"66":13254,"45":8873991247285075968,"85":15104,"24":33,"16":122243934704369664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 08:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565912832001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873991247285075968,"description":"Unknown IO ID 45"} 
[2026-08-22 08:18:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122243934704369664,"km_value":122243934704369.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:18:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457565912832001,"power":13254,"unknown_45":8873991247285075968,"unknown_85":15104,"ignition":33,"odometer":null}} 
[2026-08-22 08:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":162170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:18:35] local.INFO: GPS data processed {"connection_id":162170,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:18:35] local.INFO: Acknowledgment sent {"connection_id":162170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:18:49] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:18:49] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:18:49] local.INFO: IMEI packet received {"connection_id":159865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":159865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:18:53] local.INFO: TCP Data received {"connection_id":159866,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:18:53] local.INFO: Processing buffer {"connection_id":159866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:18:53] local.INFO: IMEI packet received {"connection_id":159866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":159866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:18:55] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:18:55] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:18:55] local.INFO: IMEI packet received {"connection_id":159865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":159865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:18:55] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:18:55] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:18:55] local.INFO: Packet analysis {"connection_id":159865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:18:55] local.INFO: Extracted packet for processing {"connection_id":159865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565785856001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18: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-22 08:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787366650000,"timestamp_ms":1787366650000,"timestamp_seconds":1787366650,"priority":1,"record_length":96,"hex_timestamp":"000001a0275ab090"} 
[2026-08-22 08: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-22 08:18:55] 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-22 08:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565785856001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565785856001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:18:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:18:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565785856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":159865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:18:56] local.INFO: GPS data processed {"connection_id":159865,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:18:56] local.INFO: Acknowledgment sent {"connection_id":159865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:18:56] local.INFO: TCP Data received {"connection_id":159867,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:18:56] local.INFO: Processing buffer {"connection_id":159867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:18:56] local.INFO: IMEI packet received {"connection_id":159867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":159867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:18:59] local.INFO: TCP Data received {"connection_id":159866,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:18:59] local.INFO: Processing buffer {"connection_id":159866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:18:59] local.INFO: IMEI packet received {"connection_id":159866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":159866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:18:59] local.INFO: TCP Data received {"connection_id":159866,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275d11f0012d196940071fedd8003e011c27..."} 
[2026-08-22 08:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275d11f0012d196940071fedd8003e011c27..."} 
[2026-08-22 08:18:59] local.INFO: Processing buffer {"connection_id":159866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275d11f0012d196940071fedd8003e011c27..."} 
[2026-08-22 08:18:59] local.INFO: Packet analysis {"connection_id":159866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275d"} 
[2026-08-22 08:18:59] local.INFO: Extracted packet for processing {"connection_id":159866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275d"} 
[2026-08-22 08:18:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565896704001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:18: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-22 08:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787366806000,"timestamp_ms":1787366806000,"timestamp_seconds":1787366806,"priority":1,"record_length":96,"hex_timestamp":"000001a0275d11f0"} 
[2026-08-22 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-22 08:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:18:59] 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-22 08:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565896704001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565896704001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:18:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:18:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565896704001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":159866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:18:59] local.INFO: GPS data processed {"connection_id":159866,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:18:59] local.INFO: Acknowledgment sent {"connection_id":159866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:19:01] local.INFO: TCP Data received {"connection_id":159867,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:19:01] local.INFO: Processing buffer {"connection_id":159867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:19:01] local.INFO: IMEI packet received {"connection_id":159867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":159867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:19:03] local.INFO: TCP Data received {"connection_id":159867,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0275e0bf0012d7b1bc005e2a1d00002015f21..."} 
[2026-08-22 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275e0bf0012d7b1bc005e2a1d00002015f21..."} 
[2026-08-22 08:19:03] local.INFO: Processing buffer {"connection_id":159867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275e0bf0012d7b1bc005e2a1d00002015f21..."} 
[2026-08-22 08:19:03] local.INFO: Packet analysis {"connection_id":159867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275e"} 
[2026-08-22 08:19:03] local.INFO: Extracted packet for processing {"connection_id":159867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275e"} 
[2026-08-22 08:19:03] local.INFO: GPS Element Parsed {"raw_longitude":763042752,"raw_latitude":98738640,"longitude_deg":76.3042752,"latitude_deg":9.873864,"altitude":2,"angle":351,"satellites":33,"speed":36,"hex_longitude":"2d7b1bc0","hex_latitude":"05e2a1d0","is_valid_coordinates":true} 
[2026-08-22 08:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565915904001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122244372791033856,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872654241148125184,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19:03] 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-22 08:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787366870000,"timestamp_ms":1787366870000,"timestamp_seconds":1787366870,"priority":1,"record_length":96,"hex_timestamp":"000001a0275e0bf0"} 
[2026-08-22 08:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:19: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-22 08:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 08:19:03] 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-22 08:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:19:03] 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-22 08:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565915904001,"66":13352,"207":206,"85":15104,"24":36,"16":122244372791033856,"45":8872654241148125184},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 08:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565915904001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:19:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 08:19:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122244372791033856,"km_value":122244372791033.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872654241148125184,"description":"Unknown IO ID 45"} 
[2026-08-22 08:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565915904001,"power":13352,"unknown_207":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8872654241148125184}} 
[2026-08-22 08:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":159867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:19:03] local.INFO: GPS data processed {"connection_id":159867,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:19:03] local.INFO: Acknowledgment sent {"connection_id":159867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:19:27] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:19:27] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275ab090012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:19:27] local.INFO: Packet analysis {"connection_id":159865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:19:27] local.INFO: Extracted packet for processing {"connection_id":159865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275a"} 
[2026-08-22 08:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565785856001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19: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-22 08:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787366650000,"timestamp_ms":1787366650000,"timestamp_seconds":1787366650,"priority":1,"record_length":96,"hex_timestamp":"000001a0275ab090"} 
[2026-08-22 08: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-22 08:19:27] 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-22 08:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565785856001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565785856001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:19:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565785856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":159865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:19:27] local.INFO: GPS data processed {"connection_id":159865,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:19:27] local.INFO: Acknowledgment sent {"connection_id":159865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:19:30] local.INFO: TCP Data received {"connection_id":159866,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275d63f8012d196940071fedd8003e011c29..."} 
[2026-08-22 08:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275d63f8012d196940071fedd8003e011c29..."} 
[2026-08-22 08:19:30] local.INFO: Processing buffer {"connection_id":159866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275d63f8012d196940071fedd8003e011c29..."} 
[2026-08-22 08:19:30] local.INFO: Packet analysis {"connection_id":159866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275d"} 
[2026-08-22 08:19:30] local.INFO: Extracted packet for processing {"connection_id":159866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275d"} 
[2026-08-22 08:19:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565902336001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19: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-22 08:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787366827000,"timestamp_ms":1787366827000,"timestamp_seconds":1787366827,"priority":1,"record_length":96,"hex_timestamp":"000001a0275d63f8"} 
[2026-08-22 08: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-22 08:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:19:30] 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-22 08:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565902336001,"66":12363,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565902336001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:19:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:19:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565902336001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":159866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:19:30] local.INFO: GPS data processed {"connection_id":159866,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:19:30] local.INFO: Acknowledgment sent {"connection_id":159866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:19:34] local.INFO: TCP Data received {"connection_id":159867,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0275e2f18012d7b16c005e2c5b00001015e1f..."} 
[2026-08-22 08:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275e2f18012d7b16c005e2c5b00001015e1f..."} 
[2026-08-22 08:19:34] local.INFO: Processing buffer {"connection_id":159867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275e2f18012d7b16c005e2c5b00001015e1f..."} 
[2026-08-22 08:19:34] local.INFO: Packet analysis {"connection_id":159867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275e"} 
[2026-08-22 08:19:34] local.INFO: Extracted packet for processing {"connection_id":159867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275e"} 
[2026-08-22 08:19:34] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98747824,"longitude_deg":76.3041472,"latitude_deg":9.8747824,"altitude":1,"angle":350,"satellites":31,"speed":46,"hex_longitude":"2d7b16c0","hex_latitude":"05e2c5b0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565918720001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122244819467632640,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870895022545948672,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19:34] 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-22 08:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787366879000,"timestamp_ms":1787366879000,"timestamp_seconds":1787366879,"priority":1,"record_length":96,"hex_timestamp":"000001a0275e2f18"} 
[2026-08-22 08: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-22 08:19:34] 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-22 08: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-22 08:19:34] 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-22 08: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-22 08: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-22 08:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:19:34] 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-22 08:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565918720001,"66":13330,"207":206,"85":15104,"24":46,"16":122244819467632640,"45":8870895022545948672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 08:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565918720001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:19:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 08:19:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122244819467632640,"km_value":122244819467632.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870895022545948672,"description":"Unknown IO ID 45"} 
[2026-08-22 08:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565918720001,"power":13330,"unknown_207":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8870895022545948672}} 
[2026-08-22 08:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":159867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:19:34] local.INFO: GPS data processed {"connection_id":159867,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:19:34] local.INFO: Acknowledgment sent {"connection_id":159867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:19:49] local.INFO: TCP Data received {"connection_id":159868,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:19:49] local.INFO: Processing buffer {"connection_id":159868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:19:49] local.INFO: IMEI packet received {"connection_id":159868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":159868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:19:53] local.INFO: TCP Data received {"connection_id":159604,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:19:53] local.INFO: Processing buffer {"connection_id":159604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:19:53] local.INFO: IMEI packet received {"connection_id":159604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":159604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:19:55] local.INFO: TCP Data received {"connection_id":159868,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:19:55] local.INFO: Processing buffer {"connection_id":159868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:19:55] local.INFO: IMEI packet received {"connection_id":159868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":159868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:19:55] local.INFO: TCP Data received {"connection_id":159868,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:19:55] local.INFO: Processing buffer {"connection_id":159868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:19:55] local.INFO: Packet analysis {"connection_id":159868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:19:55] local.INFO: Extracted packet for processing {"connection_id":159868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565862400001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19: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-22 08:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787366951000,"timestamp_ms":1787366951000,"timestamp_seconds":1787366951,"priority":1,"record_length":96,"hex_timestamp":"000001a0275f4858"} 
[2026-08-22 08:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:19:55] 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-22 08:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565862400001,"66":25473,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565862400001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:19:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:19:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565862400001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":159868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:19:55] local.INFO: GPS data processed {"connection_id":159868,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:19:55] local.INFO: Acknowledgment sent {"connection_id":159868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:19:59] local.INFO: TCP Data received {"connection_id":159604,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:19:59] local.INFO: Processing buffer {"connection_id":159604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:19:59] local.INFO: IMEI packet received {"connection_id":159604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":159604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:19:59] local.INFO: TCP Data received {"connection_id":159604,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275db600012d196940071fedd8003e011c26..."} 
[2026-08-22 08:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275db600012d196940071fedd8003e011c26..."} 
[2026-08-22 08:19:59] local.INFO: Processing buffer {"connection_id":159604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275db600012d196940071fedd8003e011c26..."} 
[2026-08-22 08:19:59] local.INFO: Packet analysis {"connection_id":159604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275d"} 
[2026-08-22 08:19:59] local.INFO: Extracted packet for processing {"connection_id":159604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275d"} 
[2026-08-22 08:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565907712001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:19: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-22 08:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787366848000,"timestamp_ms":1787366848000,"timestamp_seconds":1787366848,"priority":1,"record_length":96,"hex_timestamp":"000001a0275db600"} 
[2026-08-22 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-22 08:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-22 08:19:59] 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-22 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-22 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-22 08:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:19:59] 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-22 08:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565907712001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565907712001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:19:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:19:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565907712001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":159604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:19:59] local.INFO: GPS data processed {"connection_id":159604,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:19:59] local.INFO: Acknowledgment sent {"connection_id":159604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:20:00] local.INFO: TCP Data received {"connection_id":160757,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:20:00] local.INFO: Processing buffer {"connection_id":160757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:20:00] local.INFO: IMEI packet received {"connection_id":160757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":160757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:20:01] local.INFO: TCP Data received {"connection_id":160757,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:20:01] local.INFO: Processing buffer {"connection_id":160757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:20:01] local.INFO: IMEI packet received {"connection_id":160757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":160757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:20:06] local.INFO: TCP Data received {"connection_id":160757,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:20:06] local.INFO: Processing buffer {"connection_id":160757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:20:06] local.INFO: IMEI packet received {"connection_id":160757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":160757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:20:08] local.INFO: TCP Data received {"connection_id":160757,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0275e4e58012d7b108005e2eb780000015f1c..."} 
[2026-08-22 08:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275e4e58012d7b108005e2eb780000015f1c..."} 
[2026-08-22 08:20:08] local.INFO: Processing buffer {"connection_id":160757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275e4e58012d7b108005e2eb780000015f1c..."} 
[2026-08-22 08:20:08] local.INFO: Packet analysis {"connection_id":160757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275e"} 
[2026-08-22 08:20:08] local.INFO: Extracted packet for processing {"connection_id":160757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275e"} 
[2026-08-22 08:20:08] local.INFO: GPS Element Parsed {"raw_longitude":763039872,"raw_latitude":98757496,"longitude_deg":76.3039872,"latitude_deg":9.8757496,"altitude":0,"angle":351,"satellites":28,"speed":49,"hex_longitude":"2d7b1080","hex_latitude":"05e2eb78","is_valid_coordinates":true} 
[2026-08-22 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-22 08:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565921024001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122245296209002496,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869487647664746496,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:08] 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-22 08:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787366887000,"timestamp_ms":1787366887000,"timestamp_seconds":1787366887,"priority":1,"record_length":96,"hex_timestamp":"000001a0275e4e58"} 
[2026-08-22 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-22 08:20: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-22 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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-22 08:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277269778789690696,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:08] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-08-22 08:20:08] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3892391291,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:08] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3221611027,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3790612480,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:08] local.WARNING: Large IO value detected {"io_id":9,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:08] local.WARNING: Large IO value detected {"io_id":92,"raw_value":-677790449067098107,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:08] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-1299288449523244544,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:08] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3242818597164161024,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:08] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:08] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,207,85,24,241,157,16,77,160,11,45,192,161,2,33,10,66,76,224,127,3,178,1,240,187,227,75,39,226,4,113,205,23,60,46,31,239,50,5,12,9,92,225,7,78,87],"length":626,"final_offset":756,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-08-22 08:20:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72442556254650368,"timestamp_seconds":72442556254650.38,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 08:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:20:08] 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-22 08:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565921024001,"66":13091,"207":206,"85":15104,"24":49,"16":122245296209002496,"45":8869487647664746496},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 08:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565921024001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:20:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 08:20:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122245296209002496,"km_value":122245296209002.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869487647664746496,"description":"Unknown IO ID 45"} 
[2026-08-22 08:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565921024001,"power":13091,"unknown_207":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8869487647664746496}} 
[2026-08-22 08:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":160757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:20:08] local.INFO: GPS data processed {"connection_id":160757,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:20:08] local.INFO: Acknowledgment sent {"connection_id":160757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:20:11] local.INFO: TCP Data received {"connection_id":160757,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0275e7568012d7b0c0005e30dd8000001631a..."} 
[2026-08-22 08:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275e7568012d7b0c0005e30dd8000001631a..."} 
[2026-08-22 08:20:11] local.INFO: Processing buffer {"connection_id":160757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275e7568012d7b0c0005e30dd8000001631a..."} 
[2026-08-22 08:20:11] local.INFO: Packet analysis {"connection_id":160757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275e"} 
[2026-08-22 08:20:11] local.INFO: Extracted packet for processing {"connection_id":160757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275e"} 
[2026-08-22 08:20:11] local.INFO: GPS Element Parsed {"raw_longitude":763038720,"raw_latitude":98766296,"longitude_deg":76.303872,"latitude_deg":9.8766296,"altitude":0,"angle":355,"satellites":26,"speed":22,"hex_longitude":"2d7b0c00","hex_latitude":"05e30dd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565923072001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122245725705732096,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867728429062780928,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:11] 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-22 08:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787366897000,"timestamp_ms":1787366897000,"timestamp_seconds":1787366897,"priority":1,"record_length":96,"hex_timestamp":"000001a0275e7568"} 
[2026-08-22 08: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-22 08:20: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-22 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-22 08:20: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-22 08: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-22 08: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-22 08:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:20:11] 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-22 08:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565923072001,"66":13222,"207":206,"85":15104,"24":22,"16":122245725705732096,"45":8867728429062780928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 08:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565923072001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:20:11] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 08:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122245725705732096,"km_value":122245725705732.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867728429062780928,"description":"Unknown IO ID 45"} 
[2026-08-22 08:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565923072001,"power":13222,"unknown_207":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8867728429062780928}} 
[2026-08-22 08:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":160757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:20:12] local.INFO: GPS data processed {"connection_id":160757,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:20:12] local.INFO: Acknowledgment sent {"connection_id":160757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:20:12] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:20:12] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:20:12] local.INFO: IMEI packet received {"connection_id":159869,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":159869,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:20:13] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:20:13] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:20:13] local.INFO: IMEI packet received {"connection_id":159869,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":159869,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:20:16] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:20:16] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:20:16] local.INFO: IMEI packet received {"connection_id":159869,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":159869,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:20:17] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-08-22 08:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-08-22 08:20:17] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-08-22 08:20:17] local.INFO: Packet analysis {"connection_id":159869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-22 08:20:17] local.INFO: Extracted packet for processing {"connection_id":159869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-22 08:20:17] 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-22 08: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-22 08:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29331293737058304,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:17] 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-22 08:20:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":62000,"timestamp_seconds":62,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 08:20:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 08:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159869,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159869,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 08:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159869,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 08:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 08:20:17] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 08:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":159869,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 08:20:17] local.ERROR: GPS data processing failed {"connection_id":159869,"error":"No valid data to process"} 
[2026-08-22 08:20:17] local.INFO: Acknowledgment sent {"connection_id":159869,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 08:20:27] local.INFO: TCP Data received {"connection_id":159868,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:20:27] local.INFO: Processing buffer {"connection_id":159868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:20:27] local.INFO: Packet analysis {"connection_id":159868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:20:27] local.INFO: Extracted packet for processing {"connection_id":159868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565862400001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20: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-22 08:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787366951000,"timestamp_ms":1787366951000,"timestamp_seconds":1787366951,"priority":1,"record_length":96,"hex_timestamp":"000001a0275f4858"} 
[2026-08-22 08:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:20:27] 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-22 08:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565862400001,"66":25473,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565862400001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:20:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:20:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565862400001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":159868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:20:27] local.INFO: GPS data processed {"connection_id":159868,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:20:27] local.INFO: Acknowledgment sent {"connection_id":159868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:20:30] local.INFO: TCP Data received {"connection_id":159604,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275e0808012d196940071fedd8003e011c24..."} 
[2026-08-22 08:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275e0808012d196940071fedd8003e011c24..."} 
[2026-08-22 08:20:30] local.INFO: Processing buffer {"connection_id":159604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275e0808012d196940071fedd8003e011c24..."} 
[2026-08-22 08:20:30] local.INFO: Packet analysis {"connection_id":159604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275e"} 
[2026-08-22 08:20:30] local.INFO: Extracted packet for processing {"connection_id":159604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275e"} 
[2026-08-22 08:20:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565913088001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20: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-22 08:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787366869000,"timestamp_ms":1787366869000,"timestamp_seconds":1787366869,"priority":1,"record_length":96,"hex_timestamp":"000001a0275e0808"} 
[2026-08-22 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-22 08:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:20:30] 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-22 08:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565913088001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565913088001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:20:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:20:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565913088001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":159604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:20:30] local.INFO: GPS data processed {"connection_id":159604,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:20:30] local.INFO: Acknowledgment sent {"connection_id":159604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:20:50] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:20:50] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:20:50] local.INFO: IMEI packet received {"connection_id":159870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":159870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:20:53] local.INFO: TCP Data received {"connection_id":162171,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:20:53] local.INFO: Processing buffer {"connection_id":162171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:20:53] local.INFO: IMEI packet received {"connection_id":162171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":162171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:20:54] local.INFO: TCP Data received {"connection_id":162171,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:20:54] local.INFO: Processing buffer {"connection_id":162171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:20:54] local.INFO: IMEI packet received {"connection_id":162171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":162171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:20:55] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:20:55] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:20:55] local.INFO: IMEI packet received {"connection_id":159870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":159870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:20:55] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:20:55] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:20:55] local.INFO: Packet analysis {"connection_id":159870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:20:55] local.INFO: Extracted packet for processing {"connection_id":159870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:20:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565862400001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20: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-22 08:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787366951000,"timestamp_ms":1787366951000,"timestamp_seconds":1787366951,"priority":1,"record_length":96,"hex_timestamp":"000001a0275f4858"} 
[2026-08-22 08: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-22 08:20:55] 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-22 08:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565862400001,"66":25473,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565862400001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:20:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:20:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565862400001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":159870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:20:56] local.INFO: GPS data processed {"connection_id":159870,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:20:56] local.INFO: Acknowledgment sent {"connection_id":159870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:20:57] local.INFO: TCP Data received {"connection_id":160758,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:20:57] local.INFO: Processing buffer {"connection_id":160758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:20:57] local.INFO: IMEI packet received {"connection_id":160758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":160758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:20:57] local.INFO: TCP Data received {"connection_id":160758,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:20:57] local.INFO: Processing buffer {"connection_id":160758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:20:57] local.INFO: IMEI packet received {"connection_id":160758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":160758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:20:58] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0276084c00100000000000000000000000000..."} 
[2026-08-22 08:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276084c00100000000000000000000000000..."} 
[2026-08-22 08:20:58] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276084c00100000000000000000000000000..."} 
[2026-08-22 08:20:58] local.INFO: Packet analysis {"connection_id":159869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02760"} 
[2026-08-22 08:20:58] local.INFO: Extracted packet for processing {"connection_id":159869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02760"} 
[2026-08-22 08:20: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-22 08: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-22 08:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29331293737058304,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:58] 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-22 08:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787367032000,"timestamp_ms":1787367032000,"timestamp_seconds":1787367032,"priority":1,"record_length":96,"hex_timestamp":"000001a0276084c0"} 
[2026-08-22 08: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-22 08:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":57,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 08:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1356,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":159869,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-22 08:20:58] local.INFO: GPS data processed {"connection_id":159869,"processed":0,"errors":0,"total":1} 
[2026-08-22 08:20:58] local.INFO: Acknowledgment sent {"connection_id":159869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:20:59] local.INFO: TCP Data received {"connection_id":162171,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:20:59] local.INFO: Processing buffer {"connection_id":162171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:20:59] local.INFO: IMEI packet received {"connection_id":162171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":162171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:20:59] local.INFO: TCP Data received {"connection_id":162171,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275e5628012d196940071fedd8003e011c27..."} 
[2026-08-22 08:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275e5628012d196940071fedd8003e011c27..."} 
[2026-08-22 08:20:59] local.INFO: Processing buffer {"connection_id":162171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275e5628012d196940071fedd8003e011c27..."} 
[2026-08-22 08:20:59] local.INFO: Packet analysis {"connection_id":162171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275e"} 
[2026-08-22 08:20:59] local.INFO: Extracted packet for processing {"connection_id":162171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275e"} 
[2026-08-22 08:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565918464001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:20: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-22 08:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787366889000,"timestamp_ms":1787366889000,"timestamp_seconds":1787366889,"priority":1,"record_length":96,"hex_timestamp":"000001a0275e5628"} 
[2026-08-22 08: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-22 08:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:20:59] 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-22 08:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565918464001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565918464001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:20:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565918464001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":162171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:20:59] local.INFO: GPS data processed {"connection_id":162171,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:20:59] local.INFO: Acknowledgment sent {"connection_id":162171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:21:01] local.INFO: TCP Data received {"connection_id":160758,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:21:01] local.INFO: Processing buffer {"connection_id":160758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:21:01] local.INFO: IMEI packet received {"connection_id":160758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":160758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:21:02] local.INFO: TCP Data received {"connection_id":160758,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a027607520012d7ab38005e429f80008013628..."} 
[2026-08-22 08:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027607520012d7ab38005e429f80008013628..."} 
[2026-08-22 08:21:02] local.INFO: Processing buffer {"connection_id":160758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027607520012d7ab38005e429f80008013628..."} 
[2026-08-22 08:21:02] local.INFO: Packet analysis {"connection_id":160758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02760"} 
[2026-08-22 08:21:02] local.INFO: Extracted packet for processing {"connection_id":160758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02760"} 
[2026-08-22 08:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763016064,"raw_latitude":98839032,"longitude_deg":76.3016064,"latitude_deg":9.8839032,"altitude":8,"angle":310,"satellites":40,"speed":36,"hex_longitude":"2d7ab380","hex_latitude":"05e429f8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565956608001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122249496687017984,"note":"Value kept but may cause issues"} 
[2026-08-22 08:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848517761921505280,"note":"Value kept but may cause issues"} 
[2026-08-22 08:21:02] 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-22 08:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787367028000,"timestamp_ms":1787367028000,"timestamp_seconds":1787367028,"priority":1,"record_length":96,"hex_timestamp":"000001a027607520"} 
[2026-08-22 08: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-22 08:21:02] 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-22 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-22 08:21:02] 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-22 08: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-22 08: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-22 08:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:21:02] 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-22 08:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565956608001,"66":13363,"208":206,"85":15104,"24":36,"16":122249496687017984,"45":8848517761921505280},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 08:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565956608001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:21:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 08:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122249496687017984,"km_value":122249496687017.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848517761921505280,"description":"Unknown IO ID 45"} 
[2026-08-22 08:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565956608001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8848517761921505280}} 
[2026-08-22 08:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":160758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:21:02] local.INFO: GPS data processed {"connection_id":160758,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:21:02] local.INFO: Acknowledgment sent {"connection_id":160758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:21:05] local.INFO: TCP Data received {"connection_id":160758,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a027609848012d7a974005e441a00007013325..."} 
[2026-08-22 08:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027609848012d7a974005e441a00007013325..."} 
[2026-08-22 08:21:05] local.INFO: Processing buffer {"connection_id":160758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027609848012d7a974005e441a00007013325..."} 
[2026-08-22 08:21:05] local.INFO: Packet analysis {"connection_id":160758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02760"} 
[2026-08-22 08:21:05] local.INFO: Extracted packet for processing {"connection_id":160758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02760"} 
[2026-08-22 08:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763008832,"raw_latitude":98845088,"longitude_deg":76.3008832,"latitude_deg":9.8845088,"altitude":7,"angle":307,"satellites":37,"speed":46,"hex_longitude":"2d7a9740","hex_latitude":"05e441a0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565959168001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122249951953551360,"note":"Value kept but may cause issues"} 
[2026-08-22 08:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841551256249563136,"note":"Value kept but may cause issues"} 
[2026-08-22 08:21:05] 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-22 08:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787367037000,"timestamp_ms":1787367037000,"timestamp_seconds":1787367037,"priority":1,"record_length":96,"hex_timestamp":"000001a027609848"} 
[2026-08-22 08: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-22 08:21: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-22 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-22 08:21: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-22 08: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-22 08: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-22 08:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:21:05] 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-22 08:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565959168001,"66":13374,"208":206,"85":15104,"24":46,"16":122249951953551360,"45":8841551256249563136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 08:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565959168001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:21:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 08:21:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122249951953551360,"km_value":122249951953551.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841551256249563136,"description":"Unknown IO ID 45"} 
[2026-08-22 08:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565959168001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8841551256249563136}} 
[2026-08-22 08:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":160758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:21:05] local.INFO: GPS data processed {"connection_id":160758,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:21:05] local.INFO: Acknowledgment sent {"connection_id":160758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:21:27] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:21:27] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:21:27] local.INFO: Packet analysis {"connection_id":159870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:21:27] local.INFO: Extracted packet for processing {"connection_id":159870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565862400001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:21: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-22 08:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787366951000,"timestamp_ms":1787366951000,"timestamp_seconds":1787366951,"priority":1,"record_length":96,"hex_timestamp":"000001a0275f4858"} 
[2026-08-22 08:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:21:27] 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-22 08:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565862400001,"66":25473,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565862400001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:21:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565862400001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":159870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:21:27] local.INFO: GPS data processed {"connection_id":159870,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:21:27] local.INFO: Acknowledgment sent {"connection_id":159870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:21:30] local.INFO: TCP Data received {"connection_id":162171,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275ea830012d196940071fedd8003e011c24..."} 
[2026-08-22 08:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275ea830012d196940071fedd8003e011c24..."} 
[2026-08-22 08:21:30] local.INFO: Processing buffer {"connection_id":162171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275ea830012d196940071fedd8003e011c24..."} 
[2026-08-22 08:21:30] local.INFO: Packet analysis {"connection_id":162171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275e"} 
[2026-08-22 08:21:30] local.INFO: Extracted packet for processing {"connection_id":162171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275e"} 
[2026-08-22 08:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565923584001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:21: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-22 08:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787366910000,"timestamp_ms":1787366910000,"timestamp_seconds":1787366910,"priority":1,"record_length":96,"hex_timestamp":"000001a0275ea830"} 
[2026-08-22 08: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-22 08:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:21:30] 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-22 08:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565923584001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565923584001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:21:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565923584001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":162171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:21:30] local.INFO: GPS data processed {"connection_id":162171,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:21:30] local.INFO: Acknowledgment sent {"connection_id":162171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:21:36] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02760d6c80100000000000000000000000000..."} 
[2026-08-22 08:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02760d6c80100000000000000000000000000..."} 
[2026-08-22 08:21:36] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02760d6c80100000000000000000000000000..."} 
[2026-08-22 08:21:36] local.INFO: Packet analysis {"connection_id":159869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02760"} 
[2026-08-22 08:21:36] local.INFO: Extracted packet for processing {"connection_id":159869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02760"} 
[2026-08-22 08:21: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-22 08:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29331293737058304,"note":"Value kept but may cause issues"} 
[2026-08-22 08:21: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-22 08:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787367053000,"timestamp_ms":1787367053000,"timestamp_seconds":1787367053,"priority":1,"record_length":96,"hex_timestamp":"000001a02760d6c8"} 
[2026-08-22 08:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-22 08:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":159869,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-22 08:21:36] local.INFO: GPS data processed {"connection_id":159869,"processed":0,"errors":0,"total":1} 
[2026-08-22 08:21:36] local.INFO: Acknowledgment sent {"connection_id":159869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:21:50] local.INFO: TCP Data received {"connection_id":159605,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:21:50] local.INFO: Processing buffer {"connection_id":159605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:21:50] local.INFO: IMEI packet received {"connection_id":159605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":159605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:21:50] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0276128d00100000000000000000000000000..."} 
[2026-08-22 08:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276128d00100000000000000000000000000..."} 
[2026-08-22 08:21:50] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276128d00100000000000000000000000000..."} 
[2026-08-22 08:21:50] local.INFO: Packet analysis {"connection_id":159869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02761"} 
[2026-08-22 08:21:50] local.INFO: Extracted packet for processing {"connection_id":159869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02761"} 
[2026-08-22 08:21:50] 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-22 08:21: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-22 08:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29331293737058304,"note":"Value kept but may cause issues"} 
[2026-08-22 08:21:50] 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-22 08:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787367074000,"timestamp_ms":1787367074000,"timestamp_seconds":1787367074,"priority":1,"record_length":96,"hex_timestamp":"000001a0276128d0"} 
[2026-08-22 08:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08:21: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-22 08:21:50] 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-22 08:21: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-22 08:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":159869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":159869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":159869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":159869,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-22 08:21:50] local.INFO: GPS data processed {"connection_id":159869,"processed":0,"errors":0,"total":1} 
[2026-08-22 08:21:50] local.INFO: Acknowledgment sent {"connection_id":159869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:21:55] local.INFO: TCP Data received {"connection_id":159605,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:21:55] local.INFO: Processing buffer {"connection_id":159605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:21:55] local.INFO: IMEI packet received {"connection_id":159605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":159605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:21:56] local.INFO: TCP Data received {"connection_id":159605,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:21:56] local.INFO: Processing buffer {"connection_id":159605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:21:56] local.INFO: Packet analysis {"connection_id":159605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:21:56] local.INFO: Extracted packet for processing {"connection_id":159605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565862400001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08: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-22 08:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787366951000,"timestamp_ms":1787366951000,"timestamp_seconds":1787366951,"priority":1,"record_length":96,"hex_timestamp":"000001a0275f4858"} 
[2026-08-22 08: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-22 08:21:56] 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-22 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565862400001,"66":25473,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565862400001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:21:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565862400001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":159605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:21:56] local.INFO: GPS data processed {"connection_id":159605,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:21:56] local.INFO: Acknowledgment sent {"connection_id":159605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:21:57] local.INFO: TCP Data received {"connection_id":162172,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:21:57] local.INFO: Processing buffer {"connection_id":162172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:21:57] local.INFO: IMEI packet received {"connection_id":162172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":162172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:21:58] local.INFO: TCP Data received {"connection_id":162172,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:21:58] local.INFO: Processing buffer {"connection_id":162172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:21:58] local.INFO: IMEI packet received {"connection_id":162172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":162172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:22:04] local.INFO: TCP Data received {"connection_id":162172,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:22:04] local.INFO: Processing buffer {"connection_id":162172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:22:04] local.INFO: IMEI packet received {"connection_id":162172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":162172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:22:04] local.INFO: TCP Data received {"connection_id":162172,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275efa38012d196940071fedd8003e011c26..."} 
[2026-08-22 08:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275efa38012d196940071fedd8003e011c26..."} 
[2026-08-22 08:22:04] local.INFO: Processing buffer {"connection_id":162172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275efa38012d196940071fedd8003e011c26..."} 
[2026-08-22 08:22:04] local.INFO: Packet analysis {"connection_id":162172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275e"} 
[2026-08-22 08:22:04] local.INFO: Extracted packet for processing {"connection_id":162172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275e"} 
[2026-08-22 08:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565928960001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787366931000,"timestamp_ms":1787366931000,"timestamp_seconds":1787366931,"priority":1,"record_length":96,"hex_timestamp":"000001a0275efa38"} 
[2026-08-22 08: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-22 08:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:22:04] 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-22 08: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-22 08: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-22 08:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:22:04] 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-22 08:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565928960001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565928960001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:22:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:22:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565928960001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":162172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:22:04] local.INFO: GPS data processed {"connection_id":162172,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:22:04] local.INFO: Acknowledgment sent {"connection_id":162172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:22:09] local.INFO: TCP Data received {"connection_id":162172,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275f4c40012d196940071fedd8003e011c26..."} 
[2026-08-22 08:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275f4c40012d196940071fedd8003e011c26..."} 
[2026-08-22 08:22:09] local.INFO: Processing buffer {"connection_id":162172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275f4c40012d196940071fedd8003e011c26..."} 
[2026-08-22 08:22:09] local.INFO: Packet analysis {"connection_id":162172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:22:09] local.INFO: Extracted packet for processing {"connection_id":162172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:22:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565934336001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787366952000,"timestamp_ms":1787366952000,"timestamp_seconds":1787366952,"priority":1,"record_length":96,"hex_timestamp":"000001a0275f4c40"} 
[2026-08-22 08: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-22 08:22:09] 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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:22:09] 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-22 08:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565934336001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565934336001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:22:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:22:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565934336001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":162172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:22:09] local.INFO: GPS data processed {"connection_id":162172,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:22:09] local.INFO: Acknowledgment sent {"connection_id":162172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:22:11] local.INFO: TCP Data received {"connection_id":160758,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02760b788012d7a7a4005e458980008013423..."} 
[2026-08-22 08:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02760b788012d7a7a4005e458980008013423..."} 
[2026-08-22 08:22:11] local.INFO: Processing buffer {"connection_id":160758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02760b788012d7a7a4005e458980008013423..."} 
[2026-08-22 08:22:11] local.INFO: Packet analysis {"connection_id":160758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02760"} 
[2026-08-22 08:22:11] local.INFO: Extracted packet for processing {"connection_id":160758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02760"} 
[2026-08-22 08:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763001408,"raw_latitude":98850968,"longitude_deg":76.3001408,"latitude_deg":9.8850968,"altitude":8,"angle":308,"satellites":35,"speed":44,"hex_longitude":"2d7a7a40","hex_latitude":"05e45898","is_valid_coordinates":true} 
[2026-08-22 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-22 08:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565961472001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122250407220084736,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833599588159037440,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:11] 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-22 08:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787367045000,"timestamp_ms":1787367045000,"timestamp_seconds":1787367045,"priority":1,"record_length":96,"hex_timestamp":"000001a02760b788"} 
[2026-08-22 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-22 08:22: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-22 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 08:22:11] 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-22 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-22 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-22 08:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:22:11] 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-22 08:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565961472001,"66":13341,"208":206,"85":15104,"24":44,"16":122250407220084736,"45":8833599588159037440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 08:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565961472001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:22:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 08:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122250407220084736,"km_value":122250407220084.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833599588159037440,"description":"Unknown IO ID 45"} 
[2026-08-22 08:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565961472001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8833599588159037440}} 
[2026-08-22 08:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":160758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:22:11] local.INFO: GPS data processed {"connection_id":160758,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:22:11] local.INFO: Acknowledgment sent {"connection_id":160758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:22:27] local.INFO: TCP Data received {"connection_id":159605,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:22:27] local.INFO: Processing buffer {"connection_id":159605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:22:27] local.INFO: Packet analysis {"connection_id":159605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:22:27] local.INFO: Extracted packet for processing {"connection_id":159605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565862400001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22: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-22 08:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787366951000,"timestamp_ms":1787366951000,"timestamp_seconds":1787366951,"priority":1,"record_length":96,"hex_timestamp":"000001a0275f4858"} 
[2026-08-22 08:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:22:27] 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-22 08:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565862400001,"66":25473,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565862400001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:22:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565862400001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":159605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:22:27] local.INFO: GPS data processed {"connection_id":159605,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:22:27] local.INFO: Acknowledgment sent {"connection_id":159605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:22:31] local.INFO: TCP Data received {"connection_id":162173,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:22:31] local.INFO: Processing buffer {"connection_id":162173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:22:31] local.INFO: IMEI packet received {"connection_id":162173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":162173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:22:38] local.INFO: TCP Data received {"connection_id":162173,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:22:38] local.INFO: Processing buffer {"connection_id":162173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:22:38] local.INFO: IMEI packet received {"connection_id":162173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":162173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:22:39] local.INFO: TCP Data received {"connection_id":162173,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02761dc80012d79e1c005e493380008013324..."} 
[2026-08-22 08:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02761dc80012d79e1c005e493380008013324..."} 
[2026-08-22 08:22:39] local.INFO: Processing buffer {"connection_id":162173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02761dc80012d79e1c005e493380008013324..."} 
[2026-08-22 08:22:39] local.INFO: Packet analysis {"connection_id":162173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02761"} 
[2026-08-22 08:22:39] local.INFO: Extracted packet for processing {"connection_id":162173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02761"} 
[2026-08-22 08:22:39] local.INFO: GPS Element Parsed {"raw_longitude":762962368,"raw_latitude":98865976,"longitude_deg":76.2962368,"latitude_deg":9.8865976,"altitude":8,"angle":307,"satellites":36,"speed":11,"hex_longitude":"2d79e1c0","hex_latitude":"05e49338","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565982464001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122252851056476160,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782722986123902976,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22: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-22 08:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787367120000,"timestamp_ms":1787367120000,"timestamp_seconds":1787367120,"priority":1,"record_length":96,"hex_timestamp":"000001a02761dc80"} 
[2026-08-22 08: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-22 08:22: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-22 08: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-22 08:22:39] 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-22 08: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-22 08: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-22 08:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:22:39] 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-22 08:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565982464001,"66":13178,"39":206,"87":13824,"24":11,"16":122252851056476160,"45":8782722986123902976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-22 08:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565982464001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:22:39] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-22 08:22:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 08:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122252851056476160,"km_value":122252851056476.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782722986123902976,"description":"Unknown IO ID 45"} 
[2026-08-22 08:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565982464001,"power":13178,"unknown_39":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8782722986123902976}} 
[2026-08-22 08:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":162173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:22:39] local.INFO: GPS data processed {"connection_id":162173,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:22:39] local.INFO: Acknowledgment sent {"connection_id":162173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:22:43] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027617ad80100000000000000000000000000..."} 
[2026-08-22 08:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027617ad80100000000000000000000000000..."} 
[2026-08-22 08:22:43] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027617ad80100000000000000000000000000..."} 
[2026-08-22 08:22:43] local.INFO: Packet analysis {"connection_id":159869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02761"} 
[2026-08-22 08:22:43] local.INFO: Extracted packet for processing {"connection_id":159869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02761"} 
[2026-08-22 08:22: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-22 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-22 08:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29331293737058304,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:43] 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-22 08:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787367095000,"timestamp_ms":1787367095000,"timestamp_seconds":1787367095,"priority":1,"record_length":96,"hex_timestamp":"000001a027617ad8"} 
[2026-08-22 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-22 08:22:43] 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-22 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 08:22:43] 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-22 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-22 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-22 08:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":159869,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-22 08:22:43] local.INFO: GPS data processed {"connection_id":159869,"processed":0,"errors":0,"total":1} 
[2026-08-22 08:22:43] local.INFO: Acknowledgment sent {"connection_id":159869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:22:49] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:22:49] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:22:49] local.INFO: IMEI packet received {"connection_id":159871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":159871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:22:53] local.INFO: TCP Data received {"connection_id":159606,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:22:53] local.INFO: Processing buffer {"connection_id":159606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:22:53] local.INFO: IMEI packet received {"connection_id":159606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":159606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:22:55] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:22:55] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:22:55] local.INFO: IMEI packet received {"connection_id":159871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":159871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:22:55] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:22:55] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:22:55] local.INFO: Packet analysis {"connection_id":159871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:22:55] local.INFO: Extracted packet for processing {"connection_id":159871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:22:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565862400001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08: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-22 08:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787366951000,"timestamp_ms":1787366951000,"timestamp_seconds":1787366951,"priority":1,"record_length":96,"hex_timestamp":"000001a0275f4858"} 
[2026-08-22 08: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-22 08:22:55] 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-22 08: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":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565862400001,"66":25473,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565862400001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:22:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:22:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565862400001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":159871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:22:55] local.INFO: GPS data processed {"connection_id":159871,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:22:55] local.INFO: Acknowledgment sent {"connection_id":159871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:22:58] local.INFO: TCP Data received {"connection_id":159606,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:22:59] local.INFO: Processing buffer {"connection_id":159606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:22:59] local.INFO: IMEI packet received {"connection_id":159606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":159606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:22:59] local.INFO: TCP Data received {"connection_id":159606,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275f9e48012d196940071fedd8003e011c26..."} 
[2026-08-22 08:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275f9e48012d196940071fedd8003e011c26..."} 
[2026-08-22 08:22:59] local.INFO: Processing buffer {"connection_id":159606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275f9e48012d196940071fedd8003e011c26..."} 
[2026-08-22 08:22:59] local.INFO: Packet analysis {"connection_id":159606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:22:59] local.INFO: Extracted packet for processing {"connection_id":159606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565939712001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:22: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-22 08:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787366973000,"timestamp_ms":1787366973000,"timestamp_seconds":1787366973,"priority":1,"record_length":96,"hex_timestamp":"000001a0275f9e48"} 
[2026-08-22 08: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-22 08:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:22:59] 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-22 08:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565939712001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565939712001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:22:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565939712001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":159606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:22:59] local.INFO: GPS data processed {"connection_id":159606,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:22:59] local.INFO: Acknowledgment sent {"connection_id":159606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:23:01] local.INFO: TCP Data received {"connection_id":162174,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:23:01] local.INFO: Processing buffer {"connection_id":162174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:23:01] local.INFO: IMEI packet received {"connection_id":162174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":162174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:23:05] local.INFO: TCP Data received {"connection_id":162174,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:23:05] local.INFO: Processing buffer {"connection_id":162174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:23:05] local.INFO: IMEI packet received {"connection_id":162174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":162174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:23:06] local.INFO: TCP Data received {"connection_id":162174,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02761e068012d79e14005e494000008014f25..."} 
[2026-08-22 08:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02761e068012d79e14005e494000008014f25..."} 
[2026-08-22 08:23:06] local.INFO: Processing buffer {"connection_id":162174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02761e068012d79e14005e494000008014f25..."} 
[2026-08-22 08:23:06] local.INFO: Packet analysis {"connection_id":162174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02761"} 
[2026-08-22 08:23:06] local.INFO: Extracted packet for processing {"connection_id":162174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02761"} 
[2026-08-22 08:23:06] local.INFO: GPS Element Parsed {"raw_longitude":762962240,"raw_latitude":98866176,"longitude_deg":76.296224,"latitude_deg":9.8866176,"altitude":8,"angle":335,"satellites":37,"speed":7,"hex_longitude":"2d79e140","hex_latitude":"05e49400","is_valid_coordinates":true} 
[2026-08-22 08:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565982720001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122252863941378048,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782511879891400704,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23:06] 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-22 08:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787367121000,"timestamp_ms":1787367121000,"timestamp_seconds":1787367121,"priority":1,"record_length":96,"hex_timestamp":"000001a02761e068"} 
[2026-08-22 08:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:23:06] 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-22 08:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-22 08:23:06] 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-22 08:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:23:06] 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-22 08:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565982720001,"66":13222,"39":206,"87":13824,"24":7,"16":122252863941378048,"45":8782511879891400704},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-22 08:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565982720001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:23:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-22 08:23:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 08:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122252863941378048,"km_value":122252863941378.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782511879891400704,"description":"Unknown IO ID 45"} 
[2026-08-22 08:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565982720001,"power":13222,"unknown_39":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8782511879891400704}} 
[2026-08-22 08:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":162174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:23:06] local.INFO: GPS data processed {"connection_id":162174,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:23:06] local.INFO: Acknowledgment sent {"connection_id":162174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:23:20] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02761cce00100000000000000000000000000..."} 
[2026-08-22 08:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02761cce00100000000000000000000000000..."} 
[2026-08-22 08:23:20] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02761cce00100000000000000000000000000..."} 
[2026-08-22 08:23:20] local.INFO: Packet analysis {"connection_id":159869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02761"} 
[2026-08-22 08:23:20] local.INFO: Extracted packet for processing {"connection_id":159869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02761"} 
[2026-08-22 08:23:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-22 08:23: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-22 08:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29331293737058304,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23:20] 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-22 08:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787367116000,"timestamp_ms":1787367116000,"timestamp_seconds":1787367116,"priority":1,"record_length":96,"hex_timestamp":"000001a02761cce0"} 
[2026-08-22 08:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:23:20] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08:23: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-22 08:23: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-22 08:23: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-22 08:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":159869,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-22 08:23:20] local.INFO: GPS data processed {"connection_id":159869,"processed":0,"errors":0,"total":1} 
[2026-08-22 08:23:20] local.INFO: Acknowledgment sent {"connection_id":159869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:23:27] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:23:27] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:23:27] local.INFO: Packet analysis {"connection_id":159871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:23:27] local.INFO: Extracted packet for processing {"connection_id":159871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565862400001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23: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-22 08:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787366951000,"timestamp_ms":1787366951000,"timestamp_seconds":1787366951,"priority":1,"record_length":96,"hex_timestamp":"000001a0275f4858"} 
[2026-08-22 08:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:23:27] 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-22 08:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565862400001,"66":25473,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565862400001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:23:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565862400001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":159871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:23:27] local.INFO: GPS data processed {"connection_id":159871,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:23:27] local.INFO: Acknowledgment sent {"connection_id":159871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:23:30] local.INFO: TCP Data received {"connection_id":159606,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0275ff050012d196940071fedd8003e011c26..."} 
[2026-08-22 08:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275ff050012d196940071fedd8003e011c26..."} 
[2026-08-22 08:23:30] local.INFO: Processing buffer {"connection_id":159606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275ff050012d196940071fedd8003e011c26..."} 
[2026-08-22 08:23:30] local.INFO: Packet analysis {"connection_id":159606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:23:30] local.INFO: Extracted packet for processing {"connection_id":159606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:23:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565945088001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23: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-22 08:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787366994000,"timestamp_ms":1787366994000,"timestamp_seconds":1787366994,"priority":1,"record_length":96,"hex_timestamp":"000001a0275ff050"} 
[2026-08-22 08: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-22 08:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:23:30] 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-22 08:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565945088001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565945088001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:23:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:23:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565945088001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":159606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:23:30] local.INFO: GPS data processed {"connection_id":159606,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:23:30] local.INFO: Acknowledgment sent {"connection_id":159606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:23:37] local.INFO: TCP Data received {"connection_id":162174,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a027620390012d79e24005e492600008009227..."} 
[2026-08-22 08:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027620390012d79e24005e492600008009227..."} 
[2026-08-22 08:23:37] local.INFO: Processing buffer {"connection_id":162174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027620390012d79e24005e492600008009227..."} 
[2026-08-22 08:23:37] local.INFO: Packet analysis {"connection_id":162174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02762"} 
[2026-08-22 08:23:37] local.INFO: Extracted packet for processing {"connection_id":162174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02762"} 
[2026-08-22 08:23:37] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":98865760,"longitude_deg":76.2962496,"latitude_deg":9.886576,"altitude":8,"angle":146,"satellites":39,"speed":6,"hex_longitude":"2d79e240","hex_latitude":"05e49260","is_valid_coordinates":true} 
[2026-08-22 08:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565982976001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122252911186018304,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782371142403096576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23:37] 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-22 08:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787367130000,"timestamp_ms":1787367130000,"timestamp_seconds":1787367130,"priority":1,"record_length":96,"hex_timestamp":"000001a027620390"} 
[2026-08-22 08:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:23:37] 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-22 08:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-22 08:23:37] 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-22 08:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:23:37] 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-22 08:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565982976001,"66":13537,"39":206,"87":13824,"24":6,"16":122252911186018304,"45":8782371142403096576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-22 08:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565982976001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:23:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-22 08:23:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 08:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122252911186018304,"km_value":122252911186018.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782371142403096576,"description":"Unknown IO ID 45"} 
[2026-08-22 08:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565982976001,"power":13537,"unknown_39":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8782371142403096576}} 
[2026-08-22 08:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":162174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:23:37] local.INFO: GPS data processed {"connection_id":162174,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:23:37] local.INFO: Acknowledgment sent {"connection_id":162174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:23:49] local.INFO: TCP Data received {"connection_id":159607,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:23:49] local.INFO: Processing buffer {"connection_id":159607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:23:49] local.INFO: IMEI packet received {"connection_id":159607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":159607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:23:53] local.INFO: TCP Data received {"connection_id":160759,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:23:53] local.INFO: Processing buffer {"connection_id":160759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:23:53] local.INFO: IMEI packet received {"connection_id":160759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":160759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:23:55] local.INFO: TCP Data received {"connection_id":159607,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:23:55] local.INFO: Processing buffer {"connection_id":159607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:23:55] local.INFO: IMEI packet received {"connection_id":159607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":159607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:23:55] local.INFO: TCP Data received {"connection_id":159607,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:23:55] local.INFO: Processing buffer {"connection_id":159607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:23:55] local.INFO: Packet analysis {"connection_id":159607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:23:55] local.INFO: Extracted packet for processing {"connection_id":159607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:23:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565862400001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23: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-22 08:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787366951000,"timestamp_ms":1787366951000,"timestamp_seconds":1787366951,"priority":1,"record_length":96,"hex_timestamp":"000001a0275f4858"} 
[2026-08-22 08: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-22 08:23:55] 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-22 08: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":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565862400001,"66":25473,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565862400001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:23:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:23:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565862400001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":159607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:23:55] local.INFO: GPS data processed {"connection_id":159607,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:23:55] local.INFO: Acknowledgment sent {"connection_id":159607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:23:56] local.INFO: TCP Data received {"connection_id":160760,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:23:56] local.INFO: Processing buffer {"connection_id":160760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:23:56] local.INFO: IMEI packet received {"connection_id":160760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":160760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:23:57] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027621ee80100000000000000000000000000..."} 
[2026-08-22 08:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027621ee80100000000000000000000000000..."} 
[2026-08-22 08:23:57] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027621ee80100000000000000000000000000..."} 
[2026-08-22 08:23:57] local.INFO: Packet analysis {"connection_id":159869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02762"} 
[2026-08-22 08:23:57] local.INFO: Extracted packet for processing {"connection_id":159869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02762"} 
[2026-08-22 08:23:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29331293737058304,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23:57] 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-22 08:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787367137000,"timestamp_ms":1787367137000,"timestamp_seconds":1787367137,"priority":1,"record_length":96,"hex_timestamp":"000001a027621ee8"} 
[2026-08-22 08: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-22 08:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-08-22 08:23:57] 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-22 08: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-22 08: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-22 08:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":159869,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-22 08:23:57] local.INFO: GPS data processed {"connection_id":159869,"processed":0,"errors":0,"total":1} 
[2026-08-22 08:23:57] local.INFO: Acknowledgment sent {"connection_id":159869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:23:57] local.INFO: TCP Data received {"connection_id":160760,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:23:57] local.INFO: Processing buffer {"connection_id":160760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:23:57] local.INFO: IMEI packet received {"connection_id":160760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":160760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:23:59] local.INFO: TCP Data received {"connection_id":160759,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:23:59] local.INFO: Processing buffer {"connection_id":160759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:23:59] local.INFO: IMEI packet received {"connection_id":160759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":160759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:23:59] local.INFO: TCP Data received {"connection_id":160759,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027604258012d196940071fedd8003e011c26..."} 
[2026-08-22 08:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027604258012d196940071fedd8003e011c26..."} 
[2026-08-22 08:23:59] local.INFO: Processing buffer {"connection_id":160759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027604258012d196940071fedd8003e011c26..."} 
[2026-08-22 08:23:59] local.INFO: Packet analysis {"connection_id":160759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02760"} 
[2026-08-22 08:23:59] local.INFO: Extracted packet for processing {"connection_id":160759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02760"} 
[2026-08-22 08:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565950464001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:23: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-22 08:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787367015000,"timestamp_ms":1787367015000,"timestamp_seconds":1787367015,"priority":1,"record_length":96,"hex_timestamp":"000001a027604258"} 
[2026-08-22 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-22 08:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 08:23:59] 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-22 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-22 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-22 08:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:23:59] 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-22 08:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565950464001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565950464001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:23:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:23:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565950464001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":160759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:23:59] local.INFO: GPS data processed {"connection_id":160759,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:23:59] local.INFO: Acknowledgment sent {"connection_id":160759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:24:01] local.INFO: TCP Data received {"connection_id":160760,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:24:01] local.INFO: Processing buffer {"connection_id":160760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:24:01] local.INFO: IMEI packet received {"connection_id":160760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":160760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:24:02] local.INFO: TCP Data received {"connection_id":160760,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a027620b60012d79e28005e49170000800a626..."} 
[2026-08-22 08:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027620b60012d79e28005e49170000800a626..."} 
[2026-08-22 08:24:02] local.INFO: Processing buffer {"connection_id":160760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027620b60012d79e28005e49170000800a626..."} 
[2026-08-22 08:24:02] local.INFO: Packet analysis {"connection_id":160760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02762"} 
[2026-08-22 08:24:02] local.INFO: Extracted packet for processing {"connection_id":160760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02762"} 
[2026-08-22 08:24:02] local.INFO: GPS Element Parsed {"raw_longitude":762962560,"raw_latitude":98865520,"longitude_deg":76.296256,"latitude_deg":9.886552,"altitude":8,"angle":166,"satellites":38,"speed":4,"hex_longitude":"2d79e280","hex_latitude":"05e49170","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565985280001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122252924070920192,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782652617379700736,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:02] 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-22 08:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787367132000,"timestamp_ms":1787367132000,"timestamp_seconds":1787367132,"priority":1,"record_length":96,"hex_timestamp":"000001a027620b60"} 
[2026-08-22 08: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-22 08:24:02] 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-22 08: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-22 08:24:02] 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-22 08: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-22 08: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-22 08:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:24:02] 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-22 08:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565985280001,"66":13537,"39":206,"87":13824,"24":4,"16":122252924070920192,"45":8782652617379700736},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-22 08:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565985280001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:24:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-22 08:24:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 08:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122252924070920192,"km_value":122252924070920.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782652617379700736,"description":"Unknown IO ID 45"} 
[2026-08-22 08:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565985280001,"power":13537,"unknown_39":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8782652617379700736}} 
[2026-08-22 08:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":160760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:24:02] local.INFO: GPS data processed {"connection_id":160760,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:24:02] local.INFO: Acknowledgment sent {"connection_id":160760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:24:26] local.INFO: TCP Data received {"connection_id":159607,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:24:26] local.INFO: Processing buffer {"connection_id":159607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0275f4858012d7f8ac005afe2d0000000fa22..."} 
[2026-08-22 08:24:26] local.INFO: Packet analysis {"connection_id":159607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:24:26] local.INFO: Extracted packet for processing {"connection_id":159607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0275f"} 
[2026-08-22 08:24:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565862400001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24: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-22 08:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787366951000,"timestamp_ms":1787366951000,"timestamp_seconds":1787366951,"priority":1,"record_length":96,"hex_timestamp":"000001a0275f4858"} 
[2026-08-22 08: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-22 08:24:26] 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-22 08:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565862400001,"66":25473,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565862400001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:24:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565862400001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":159607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:24:26] local.INFO: GPS data processed {"connection_id":159607,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:24:26] local.INFO: Acknowledgment sent {"connection_id":159607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:24:30] local.INFO: TCP Data received {"connection_id":160759,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027609460012d196940071fedd8003e011c27..."} 
[2026-08-22 08:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027609460012d196940071fedd8003e011c27..."} 
[2026-08-22 08:24:30] local.INFO: Processing buffer {"connection_id":160759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027609460012d196940071fedd8003e011c27..."} 
[2026-08-22 08:24:30] local.INFO: Packet analysis {"connection_id":160759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02760"} 
[2026-08-22 08:24:30] local.INFO: Extracted packet for processing {"connection_id":160759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02760"} 
[2026-08-22 08:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565955840001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24: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-22 08:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787367036000,"timestamp_ms":1787367036000,"timestamp_seconds":1787367036,"priority":1,"record_length":96,"hex_timestamp":"000001a027609460"} 
[2026-08-22 08: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-22 08:24:30] 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-22 08: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 08:24:30] 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-22 08: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-22 08: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-22 08:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:24:30] 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-22 08:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565955840001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565955840001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:24:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565955840001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":160759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:24:31] local.INFO: GPS data processed {"connection_id":160759,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:24:31] local.INFO: Acknowledgment sent {"connection_id":160759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:24:34] local.INFO: TCP Data received {"connection_id":160760,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02763b528012d7a05c005e4a2f8000b005025..."} 
[2026-08-22 08:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02763b528012d7a05c005e4a2f8000b005025..."} 
[2026-08-22 08:24:34] local.INFO: Processing buffer {"connection_id":160760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02763b528012d7a05c005e4a2f8000b005025..."} 
[2026-08-22 08:24:34] local.INFO: Packet analysis {"connection_id":160760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:24:34] local.INFO: Extracted packet for processing {"connection_id":160760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:24:34] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98870008,"longitude_deg":76.2971584,"latitude_deg":9.8870008,"altitude":11,"angle":80,"satellites":37,"speed":6,"hex_longitude":"2d7a05c0","hex_latitude":"05e4a2f8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566012416001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122253546841178112,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791026497937750016,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:34] 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-22 08:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787367241000,"timestamp_ms":1787367241000,"timestamp_seconds":1787367241,"priority":1,"record_length":96,"hex_timestamp":"000001a02763b528"} 
[2026-08-22 08: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-22 08:24:34] 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-22 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 08:24:34] 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-22 08: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-22 08: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-22 08:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:24:34] 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-22 08:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566012416001,"66":13319,"102":206,"87":12288,"24":6,"16":122253546841178112,"45":8791026497937750016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-22 08:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566012416001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:24:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:24:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-22 08:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122253546841178112,"km_value":122253546841178.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791026497937750016,"description":"Unknown IO ID 45"} 
[2026-08-22 08:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566012416001,"power":13319,"unknown_102":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8791026497937750016}} 
[2026-08-22 08:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":160760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:24:34] local.INFO: GPS data processed {"connection_id":160760,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:24:34] local.INFO: Acknowledgment sent {"connection_id":160760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:24:36] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0276270f00100000000000000000000000000..."} 
[2026-08-22 08:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276270f00100000000000000000000000000..."} 
[2026-08-22 08:24:36] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276270f00100000000000000000000000000..."} 
[2026-08-22 08:24:36] local.INFO: Packet analysis {"connection_id":159869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02762"} 
[2026-08-22 08:24:36] local.INFO: Extracted packet for processing {"connection_id":159869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02762"} 
[2026-08-22 08:24: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-22 08:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29331293737058304,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24: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-22 08:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787367158000,"timestamp_ms":1787367158000,"timestamp_seconds":1787367158,"priority":1,"record_length":96,"hex_timestamp":"000001a0276270f0"} 
[2026-08-22 08:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:24:36] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 08:24: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-22 08:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":159869,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-22 08:24:36] local.INFO: GPS data processed {"connection_id":159869,"processed":0,"errors":0,"total":1} 
[2026-08-22 08:24:36] local.INFO: Acknowledgment sent {"connection_id":159869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:24:40] local.INFO: TCP Data received {"connection_id":162175,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:24:40] local.INFO: Processing buffer {"connection_id":162175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:24:40] local.INFO: IMEI packet received {"connection_id":162175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":162175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:24:41] local.INFO: TCP Data received {"connection_id":162175,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:24:41] local.INFO: Processing buffer {"connection_id":162175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:24:41] local.INFO: IMEI packet received {"connection_id":162175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":162175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:24:42] local.INFO: TCP Data received {"connection_id":162175,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:24:42] local.INFO: Processing buffer {"connection_id":162175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:24:42] local.INFO: IMEI packet received {"connection_id":162175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":162175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:24:44] local.INFO: TCP Data received {"connection_id":162175,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:24:44] local.INFO: Processing buffer {"connection_id":162175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:24:44] local.INFO: IMEI packet received {"connection_id":162175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":162175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:24:53] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:24:53] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:24:53] local.INFO: IMEI packet received {"connection_id":159873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":159873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:24:55] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:24:55] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:24:55] local.INFO: IMEI packet received {"connection_id":159872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":159872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:24:59] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:24:59] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:24:59] local.INFO: IMEI packet received {"connection_id":159873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":159873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:24:59] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02760e668012d196940071fedd8003e011c28..."} 
[2026-08-22 08:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02760e668012d196940071fedd8003e011c28..."} 
[2026-08-22 08:24:59] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02760e668012d196940071fedd8003e011c28..."} 
[2026-08-22 08:24:59] local.INFO: Packet analysis {"connection_id":159873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02760"} 
[2026-08-22 08:24:59] local.INFO: Extracted packet for processing {"connection_id":159873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02760"} 
[2026-08-22 08:24:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565961216001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24: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-22 08:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787367057000,"timestamp_ms":1787367057000,"timestamp_seconds":1787367057,"priority":1,"record_length":96,"hex_timestamp":"000001a02760e668"} 
[2026-08-22 08: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-22 08:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 08:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2836799545108404585,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79978475804426240,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 08:24:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 08:24:59] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,160,66,45,64,237,62,38,10,240,158,1,53,227,39,31,4,113,205,250,105,216,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 08:24:59] 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-22 08: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-22 08:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:24:59] 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-22 08:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565961216001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565961216001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:24:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:24:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565961216001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":159873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:24:59] local.INFO: GPS data processed {"connection_id":159873,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:24:59] local.INFO: Acknowledgment sent {"connection_id":159873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:25:00] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:25:00] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:25:00] local.INFO: IMEI packet received {"connection_id":159872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":159872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:25:00] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:25:00] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:25:00] local.INFO: Packet analysis {"connection_id":159872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:25:00] local.INFO: Extracted packet for processing {"connection_id":159872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565939456001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:25: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-22 08:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787367252000,"timestamp_ms":1787367252000,"timestamp_seconds":1787367252,"priority":1,"record_length":96,"hex_timestamp":"000001a02763e020"} 
[2026-08-22 08: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-22 08:25:00] 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-22 08: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-22 08:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565939456001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565939456001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:25:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:25:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565939456001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":159872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:25:00] local.INFO: GPS data processed {"connection_id":159872,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:25:00] local.INFO: Acknowledgment sent {"connection_id":159872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:25:05] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:25:05] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:25:05] local.INFO: Packet analysis {"connection_id":159872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:25:05] local.INFO: Extracted packet for processing {"connection_id":159872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565939456001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:25:05] 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-22 08:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787367252000,"timestamp_ms":1787367252000,"timestamp_seconds":1787367252,"priority":1,"record_length":96,"hex_timestamp":"000001a02763e020"} 
[2026-08-22 08: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-22 08:25:05] 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-22 08: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-22 08:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565939456001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565939456001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:25:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565939456001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":159872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:25:05] local.INFO: GPS data processed {"connection_id":159872,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:25:05] local.INFO: Acknowledgment sent {"connection_id":159872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:25:30] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027613870012d196940071fedd8003e011c29..."} 
[2026-08-22 08:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027613870012d196940071fedd8003e011c29..."} 
[2026-08-22 08:25:30] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027613870012d196940071fedd8003e011c29..."} 
[2026-08-22 08:25:30] local.INFO: Packet analysis {"connection_id":159873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02761"} 
[2026-08-22 08:25:30] local.INFO: Extracted packet for processing {"connection_id":159873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02761"} 
[2026-08-22 08:25:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565966592001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:25: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-22 08:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787367078000,"timestamp_ms":1787367078000,"timestamp_seconds":1787367078,"priority":1,"record_length":96,"hex_timestamp":"000001a027613870"} 
[2026-08-22 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-22 08:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:25:30] 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-22 08:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565966592001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565966592001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:25:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:25:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565966592001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":159873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:25:31] local.INFO: GPS data processed {"connection_id":159873,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:25:31] local.INFO: Acknowledgment sent {"connection_id":159873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:25:31] local.INFO: TCP Data received {"connection_id":160761,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:25:31] local.INFO: Processing buffer {"connection_id":160761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:25:31] local.INFO: IMEI packet received {"connection_id":160761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":160761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:25:42] local.INFO: TCP Data received {"connection_id":160761,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:25:42] local.INFO: Processing buffer {"connection_id":160761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:25:42] local.INFO: IMEI packet received {"connection_id":160761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":160761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:25:50] local.INFO: TCP Data received {"connection_id":160762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:25:50] local.INFO: Processing buffer {"connection_id":160762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:25:50] local.INFO: IMEI packet received {"connection_id":160762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":160762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:25:53] local.INFO: TCP Data received {"connection_id":160763,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:25:53] local.INFO: Processing buffer {"connection_id":160763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:25:53] local.INFO: IMEI packet received {"connection_id":160763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":160763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:25:55] local.INFO: TCP Data received {"connection_id":160762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:25:55] local.INFO: Processing buffer {"connection_id":160762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:25:55] local.INFO: IMEI packet received {"connection_id":160762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":160762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:25:55] local.INFO: TCP Data received {"connection_id":160762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:25:55] local.INFO: Processing buffer {"connection_id":160762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:25:55] local.INFO: Packet analysis {"connection_id":160762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:25:55] local.INFO: Extracted packet for processing {"connection_id":160762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:25:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565939456001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:25: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-22 08:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787367252000,"timestamp_ms":1787367252000,"timestamp_seconds":1787367252,"priority":1,"record_length":96,"hex_timestamp":"000001a02763e020"} 
[2026-08-22 08: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-22 08:25:55] 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-22 08:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-22 08:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565939456001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565939456001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:25:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:25:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565939456001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":160762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:25:55] local.INFO: GPS data processed {"connection_id":160762,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:25:55] local.INFO: Acknowledgment sent {"connection_id":160762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:25:58] local.INFO: TCP Data received {"connection_id":160763,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:25:59] local.INFO: Processing buffer {"connection_id":160763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:25:59] local.INFO: IMEI packet received {"connection_id":160763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":160763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:25:59] local.INFO: TCP Data received {"connection_id":160763,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027618e60012d196940071fedd8003e011c29..."} 
[2026-08-22 08:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027618e60012d196940071fedd8003e011c29..."} 
[2026-08-22 08:25:59] local.INFO: Processing buffer {"connection_id":160763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027618e60012d196940071fedd8003e011c29..."} 
[2026-08-22 08:25:59] local.INFO: Packet analysis {"connection_id":160763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02761"} 
[2026-08-22 08:25:59] local.INFO: Extracted packet for processing {"connection_id":160763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02761"} 
[2026-08-22 08:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565971968001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:25: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-22 08:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787367100000,"timestamp_ms":1787367100000,"timestamp_seconds":1787367100,"priority":1,"record_length":96,"hex_timestamp":"000001a027618e60"} 
[2026-08-22 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-22 08:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 08:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:25:59] 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-22 08:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565971968001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565971968001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:25:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565971968001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":160763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:25:59] local.INFO: GPS data processed {"connection_id":160763,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:25:59] local.INFO: Acknowledgment sent {"connection_id":160763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:26:11] local.INFO: TCP Data received {"connection_id":160764,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:26:11] local.INFO: Processing buffer {"connection_id":160764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:26:11] local.INFO: IMEI packet received {"connection_id":160764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":160764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:26:15] local.INFO: TCP Data received {"connection_id":160764,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:26:15] local.INFO: Processing buffer {"connection_id":160764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:26:15] local.INFO: IMEI packet received {"connection_id":160764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":160764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:26:16] local.INFO: TCP Data received {"connection_id":160764,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02764fd48012d7a604005e469a8000f00df24..."} 
[2026-08-22 08:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02764fd48012d7a604005e469a8000f00df24..."} 
[2026-08-22 08:26:16] local.INFO: Processing buffer {"connection_id":160764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02764fd48012d7a604005e469a8000f00df24..."} 
[2026-08-22 08:26:16] local.INFO: Packet analysis {"connection_id":160764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02764"} 
[2026-08-22 08:26:16] local.INFO: Extracted packet for processing {"connection_id":160764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02764"} 
[2026-08-22 08:26:16] local.INFO: GPS Element Parsed {"raw_longitude":762994752,"raw_latitude":98855336,"longitude_deg":76.2994752,"latitude_deg":9.8855336,"altitude":15,"angle":223,"satellites":36,"speed":10,"hex_longitude":"2d7a6040","hex_latitude":"05e469a8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566034944001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122255178928750592,"note":"Value kept but may cause issues"} 
[2026-08-22 08:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818188833186801664,"note":"Value kept but may cause issues"} 
[2026-08-22 08:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787367325000,"timestamp_ms":1787367325000,"timestamp_seconds":1787367325,"priority":1,"record_length":96,"hex_timestamp":"000001a02764fd48"} 
[2026-08-22 08: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-22 08:26: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-22 08: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-22 08:26:16] 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-22 08: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-22 08: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-22 08:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:26:16] 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-22 08:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566034944001,"66":13450,"95":206,"87":13824,"24":10,"16":122255178928750592,"45":8818188833186801664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-22 08:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566034944001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:26:16] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-22 08:26:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 08:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122255178928750592,"km_value":122255178928750.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818188833186801664,"description":"Unknown IO ID 45"} 
[2026-08-22 08:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566034944001,"power":13450,"unknown_95":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8818188833186801664}} 
[2026-08-22 08:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":160764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:26:16] local.INFO: GPS data processed {"connection_id":160764,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:26:16] local.INFO: Acknowledgment sent {"connection_id":160764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:26:27] local.INFO: TCP Data received {"connection_id":160762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:26:27] local.INFO: Processing buffer {"connection_id":160762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:26:27] local.INFO: Packet analysis {"connection_id":160762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:26:27] local.INFO: Extracted packet for processing {"connection_id":160762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565939456001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:26: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-22 08:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787367252000,"timestamp_ms":1787367252000,"timestamp_seconds":1787367252,"priority":1,"record_length":96,"hex_timestamp":"000001a02763e020"} 
[2026-08-22 08:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:26:27] 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-22 08:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-22 08:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565939456001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565939456001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:26:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565939456001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":160762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:26:27] local.INFO: GPS data processed {"connection_id":160762,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:26:27] local.INFO: Acknowledgment sent {"connection_id":160762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:26:30] local.INFO: TCP Data received {"connection_id":160763,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02761e068012d196940071fedd8003e011c27..."} 
[2026-08-22 08:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02761e068012d196940071fedd8003e011c27..."} 
[2026-08-22 08:26:30] local.INFO: Processing buffer {"connection_id":160763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02761e068012d196940071fedd8003e011c27..."} 
[2026-08-22 08:26:30] local.INFO: Packet analysis {"connection_id":160763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02761"} 
[2026-08-22 08:26:30] local.INFO: Extracted packet for processing {"connection_id":160763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02761"} 
[2026-08-22 08:26:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565977600001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:26: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-22 08:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787367121000,"timestamp_ms":1787367121000,"timestamp_seconds":1787367121,"priority":1,"record_length":96,"hex_timestamp":"000001a02761e068"} 
[2026-08-22 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-22 08:26:30] 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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:26:30] 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-22 08:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565977600001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565977600001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:26:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565977600001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":160763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:26:30] local.INFO: GPS data processed {"connection_id":160763,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:26:30] local.INFO: Acknowledgment sent {"connection_id":160763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:26:49] local.INFO: TCP Data received {"connection_id":160765,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:26:49] local.INFO: Processing buffer {"connection_id":160765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:26:49] local.INFO: IMEI packet received {"connection_id":160765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":160765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:26:53] local.INFO: TCP Data received {"connection_id":162176,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:26:53] local.INFO: Processing buffer {"connection_id":162176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:26:53] local.INFO: IMEI packet received {"connection_id":162176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":162176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:26:55] local.INFO: TCP Data received {"connection_id":160765,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:26:55] local.INFO: Processing buffer {"connection_id":160765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:26:55] local.INFO: IMEI packet received {"connection_id":160765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":160765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:26:55] local.INFO: TCP Data received {"connection_id":160765,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:26:55] local.INFO: Processing buffer {"connection_id":160765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:26:55] local.INFO: Packet analysis {"connection_id":160765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:26:55] local.INFO: Extracted packet for processing {"connection_id":160765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:26:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565939456001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:26: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-22 08:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787367252000,"timestamp_ms":1787367252000,"timestamp_seconds":1787367252,"priority":1,"record_length":96,"hex_timestamp":"000001a02763e020"} 
[2026-08-22 08: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-22 08:26:55] 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-22 08: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":129,"data_length":795,"current_offset":136} 
[2026-08-22 08:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565939456001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565939456001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:26:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:26:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565939456001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":160765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:26:55] local.INFO: GPS data processed {"connection_id":160765,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:26:55] local.INFO: Acknowledgment sent {"connection_id":160765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:26:56] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:26:56] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:26:56] local.INFO: IMEI packet received {"connection_id":159874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":159874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:26:57] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:26:57] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:26:57] local.INFO: IMEI packet received {"connection_id":159874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":159874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:26:59] local.INFO: TCP Data received {"connection_id":162176,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:26:59] local.INFO: Processing buffer {"connection_id":162176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:26:59] local.INFO: IMEI packet received {"connection_id":162176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":162176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:26:59] local.INFO: TCP Data received {"connection_id":162176,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027623270012d196940071fedd8003e011c27..."} 
[2026-08-22 08:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027623270012d196940071fedd8003e011c27..."} 
[2026-08-22 08:26:59] local.INFO: Processing buffer {"connection_id":162176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027623270012d196940071fedd8003e011c27..."} 
[2026-08-22 08:26:59] local.INFO: Packet analysis {"connection_id":162176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02762"} 
[2026-08-22 08:26:59] local.INFO: Extracted packet for processing {"connection_id":162176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02762"} 
[2026-08-22 08:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565982976001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:26: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-22 08:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787367142000,"timestamp_ms":1787367142000,"timestamp_seconds":1787367142,"priority":1,"record_length":96,"hex_timestamp":"000001a027623270"} 
[2026-08-22 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-22 08:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:26:59] 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-22 08:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565982976001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565982976001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:26:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565982976001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":162176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:26:59] local.INFO: GPS data processed {"connection_id":162176,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:26:59] local.INFO: Acknowledgment sent {"connection_id":162176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:27:01] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:27:01] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:27:01] local.INFO: IMEI packet received {"connection_id":159874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":159874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:27:20] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a027650130012d7a5f8005e46918000f00fa24..."} 
[2026-08-22 08:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027650130012d7a5f8005e46918000f00fa24..."} 
[2026-08-22 08:27:20] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027650130012d7a5f8005e46918000f00fa24..."} 
[2026-08-22 08:27:20] local.INFO: Packet analysis {"connection_id":159874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02765"} 
[2026-08-22 08:27:20] local.INFO: Extracted packet for processing {"connection_id":159874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02765"} 
[2026-08-22 08:27:20] local.INFO: GPS Element Parsed {"raw_longitude":762994560,"raw_latitude":98855192,"longitude_deg":76.299456,"latitude_deg":9.8855192,"altitude":15,"angle":250,"satellites":36,"speed":11,"hex_longitude":"2d7a5f80","hex_latitude":"05e46918","is_valid_coordinates":true} 
[2026-08-22 08:27: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-22 08:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566035200001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122255191813652480,"note":"Value kept but may cause issues"} 
[2026-08-22 08:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818118464442574848,"note":"Value kept but may cause issues"} 
[2026-08-22 08:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787367326000,"timestamp_ms":1787367326000,"timestamp_seconds":1787367326,"priority":1,"record_length":96,"hex_timestamp":"000001a027650130"} 
[2026-08-22 08:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:27:20] 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-22 08:27: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":138,"data_length":795,"current_offset":136} 
[2026-08-22 08:27:20] 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-22 08:27: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-22 08:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:27:20] 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-22 08:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566035200001,"66":13450,"95":206,"87":13824,"24":11,"16":122255191813652480,"45":8818118464442574848},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-22 08:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566035200001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:27:20] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-22 08:27:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 08:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122255191813652480,"km_value":122255191813652.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818118464442574848,"description":"Unknown IO ID 45"} 
[2026-08-22 08:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566035200001,"power":13450,"unknown_95":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8818118464442574848}} 
[2026-08-22 08:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":159874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:27:20] local.INFO: GPS data processed {"connection_id":159874,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:27:20] local.INFO: Acknowledgment sent {"connection_id":159874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:27:26] local.INFO: TCP Data received {"connection_id":160765,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:27:26] local.INFO: Processing buffer {"connection_id":160765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:27:26] local.INFO: Packet analysis {"connection_id":160765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:27:26] local.INFO: Extracted packet for processing {"connection_id":160765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:27:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565939456001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:27: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-22 08:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787367252000,"timestamp_ms":1787367252000,"timestamp_seconds":1787367252,"priority":1,"record_length":96,"hex_timestamp":"000001a02763e020"} 
[2026-08-22 08: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-22 08:27:26] 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-22 08: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-22 08:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565939456001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565939456001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:27:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:27:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565939456001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":160765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:27:26] local.INFO: GPS data processed {"connection_id":160765,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:27:26] local.INFO: Acknowledgment sent {"connection_id":160765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:27:30] local.INFO: TCP Data received {"connection_id":162176,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027628090012d196940071fedd8003e011c27..."} 
[2026-08-22 08:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027628090012d196940071fedd8003e011c27..."} 
[2026-08-22 08:27:30] local.INFO: Processing buffer {"connection_id":162176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027628090012d196940071fedd8003e011c27..."} 
[2026-08-22 08:27:30] local.INFO: Packet analysis {"connection_id":162176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02762"} 
[2026-08-22 08:27:30] local.INFO: Extracted packet for processing {"connection_id":162176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02762"} 
[2026-08-22 08:27:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565988352001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:27: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-22 08:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787367162000,"timestamp_ms":1787367162000,"timestamp_seconds":1787367162,"priority":1,"record_length":96,"hex_timestamp":"000001a027628090"} 
[2026-08-22 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-22 08:27:30] 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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:27:30] 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-22 08:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565988352001,"66":12363,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565988352001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:27:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565988352001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":162176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:27:30] local.INFO: GPS data processed {"connection_id":162176,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:27:30] local.INFO: Acknowledgment sent {"connection_id":162176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:27:49] local.INFO: TCP Data received {"connection_id":159608,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:27:49] local.INFO: Processing buffer {"connection_id":159608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:27:49] local.INFO: IMEI packet received {"connection_id":159608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":159608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:27:53] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:27:53] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:27:53] local.INFO: IMEI packet received {"connection_id":159875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":159875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:27:54] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:27:54] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:27:54] local.INFO: IMEI packet received {"connection_id":159875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":159875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:27:55] local.INFO: TCP Data received {"connection_id":159608,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:27:55] local.INFO: Processing buffer {"connection_id":159608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:27:55] local.INFO: IMEI packet received {"connection_id":159608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":159608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:27:55] local.INFO: TCP Data received {"connection_id":159608,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:27:55] local.INFO: Processing buffer {"connection_id":159608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:27:55] local.INFO: Packet analysis {"connection_id":159608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:27:55] local.INFO: Extracted packet for processing {"connection_id":159608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565939456001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:27: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-22 08:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787367252000,"timestamp_ms":1787367252000,"timestamp_seconds":1787367252,"priority":1,"record_length":96,"hex_timestamp":"000001a02763e020"} 
[2026-08-22 08: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-22 08:27:55] 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-22 08: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":129,"data_length":795,"current_offset":136} 
[2026-08-22 08:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565939456001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565939456001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:27:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:27:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565939456001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":159608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:27:55] local.INFO: GPS data processed {"connection_id":159608,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:27:55] local.INFO: Acknowledgment sent {"connection_id":159608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:27:56] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:27:56] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:27:56] local.INFO: IMEI packet received {"connection_id":159876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":159876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:27:59] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:27:59] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:27:59] local.INFO: IMEI packet received {"connection_id":159875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":159875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:27:59] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027660ad0012d196940071fedd8003e011c24..."} 
[2026-08-22 08:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027660ad0012d196940071fedd8003e011c24..."} 
[2026-08-22 08:27:59] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027660ad0012d196940071fedd8003e011c24..."} 
[2026-08-22 08:27:59] local.INFO: Packet analysis {"connection_id":159875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02766"} 
[2026-08-22 08:27:59] local.INFO: Extracted packet for processing {"connection_id":159875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02766"} 
[2026-08-22 08:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566047232001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:27: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-22 08:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787367394000,"timestamp_ms":1787367394000,"timestamp_seconds":1787367394,"priority":1,"record_length":96,"hex_timestamp":"000001a027660ad0"} 
[2026-08-22 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-22 08:27:59] 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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:27:59] 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-22 08:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566047232001,"66":12363,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566047232001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:27:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566047232001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":159875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:27:59] local.INFO: GPS data processed {"connection_id":159875,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:27:59] local.INFO: Acknowledgment sent {"connection_id":159875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:28:00] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:28:00] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:28:00] local.INFO: IMEI packet received {"connection_id":159876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":159876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:28:01] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:28:01] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:28:01] local.INFO: IMEI packet received {"connection_id":159876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":159876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:28:02] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a027654398012d7a3e4005e45d48000e00ff27..."} 
[2026-08-22 08:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027654398012d7a3e4005e45d48000e00ff27..."} 
[2026-08-22 08:28:02] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027654398012d7a3e4005e45d48000e00ff27..."} 
[2026-08-22 08:28:02] local.INFO: Packet analysis {"connection_id":159876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02765"} 
[2026-08-22 08:28:02] local.INFO: Extracted packet for processing {"connection_id":159876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02765"} 
[2026-08-22 08:28:02] local.INFO: GPS Element Parsed {"raw_longitude":762986048,"raw_latitude":98852168,"longitude_deg":76.2986048,"latitude_deg":9.8852168,"altitude":14,"angle":255,"satellites":39,"speed":18,"hex_longitude":"2d7a3e40","hex_latitude":"05e45d48","is_valid_coordinates":true} 
[2026-08-22 08:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566035456001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122255621310382080,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817907358210004992,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28:02] 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-22 08:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787367343000,"timestamp_ms":1787367343000,"timestamp_seconds":1787367343,"priority":1,"record_length":96,"hex_timestamp":"000001a027654398"} 
[2026-08-22 08:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:28: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-22 08:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-22 08:28:02] 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-22 08:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:28:02] 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-22 08:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566035456001,"66":13135,"39":206,"87":13824,"24":18,"16":122255621310382080,"45":8817907358210004992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-22 08:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566035456001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:28:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-22 08:28:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 08:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122255621310382080,"km_value":122255621310382.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817907358210004992,"description":"Unknown IO ID 45"} 
[2026-08-22 08:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566035456001,"power":13135,"unknown_39":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8817907358210004992}} 
[2026-08-22 08:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":159876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:28:02] local.INFO: GPS data processed {"connection_id":159876,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:28:02] local.INFO: Acknowledgment sent {"connection_id":159876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:28:07] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0276562d8012d7a2ec005e45a30000d011925..."} 
[2026-08-22 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276562d8012d7a2ec005e45a30000d011925..."} 
[2026-08-22 08:28:07] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276562d8012d7a2ec005e45a30000d011925..."} 
[2026-08-22 08:28:07] local.INFO: Packet analysis {"connection_id":159876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02765"} 
[2026-08-22 08:28:07] local.INFO: Extracted packet for processing {"connection_id":159876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02765"} 
[2026-08-22 08:28:07] local.INFO: GPS Element Parsed {"raw_longitude":762982080,"raw_latitude":98851376,"longitude_deg":76.298208,"latitude_deg":9.8851376,"altitude":13,"angle":281,"satellites":37,"speed":14,"hex_longitude":"2d7a2ec0","hex_latitude":"05e45a30","is_valid_coordinates":true} 
[2026-08-22 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-22 08:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566039808001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122255818878877696,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808548315233601536,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28: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-22 08:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787367351000,"timestamp_ms":1787367351000,"timestamp_seconds":1787367351,"priority":1,"record_length":96,"hex_timestamp":"000001a0276562d8"} 
[2026-08-22 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-22 08:28: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-22 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-22 08:28:07] 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-22 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-22 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-22 08:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:28:07] 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-22 08:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566039808001,"66":13276,"39":206,"87":13824,"24":14,"16":122255818878877696,"45":8808548315233601536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-22 08:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566039808001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:28:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-22 08:28:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 08:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122255818878877696,"km_value":122255818878877.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808548315233601536,"description":"Unknown IO ID 45"} 
[2026-08-22 08:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566039808001,"power":13276,"unknown_39":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8808548315233601536}} 
[2026-08-22 08:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":159876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:28:07] local.INFO: GPS data processed {"connection_id":159876,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:28:07] local.INFO: Acknowledgment sent {"connection_id":159876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:28:27] local.INFO: TCP Data received {"connection_id":159608,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:28:27] local.INFO: Processing buffer {"connection_id":159608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:28:27] local.INFO: Packet analysis {"connection_id":159608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:28:27] local.INFO: Extracted packet for processing {"connection_id":159608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:28:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565939456001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28: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-22 08:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787367252000,"timestamp_ms":1787367252000,"timestamp_seconds":1787367252,"priority":1,"record_length":96,"hex_timestamp":"000001a02763e020"} 
[2026-08-22 08: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-22 08:28:27] 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-22 08:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-22 08:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565939456001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565939456001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:28:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:28:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565939456001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":159608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:28:27] local.INFO: GPS data processed {"connection_id":159608,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:28:27] local.INFO: Acknowledgment sent {"connection_id":159608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:28:30] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027665cd8012d196940071fedd8003e011c27..."} 
[2026-08-22 08:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027665cd8012d196940071fedd8003e011c27..."} 
[2026-08-22 08:28:30] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027665cd8012d196940071fedd8003e011c27..."} 
[2026-08-22 08:28:30] local.INFO: Packet analysis {"connection_id":159875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02766"} 
[2026-08-22 08:28:30] local.INFO: Extracted packet for processing {"connection_id":159875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02766"} 
[2026-08-22 08:28:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566052864001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28: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-22 08:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787367415000,"timestamp_ms":1787367415000,"timestamp_seconds":1787367415,"priority":1,"record_length":96,"hex_timestamp":"000001a027665cd8"} 
[2026-08-22 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-22 08:28:30] 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-22 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-22 08:28:30] 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-22 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-22 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-22 08:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:28:30] 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-22 08:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566052864001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566052864001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:28:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566052864001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":159875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:28:31] local.INFO: GPS data processed {"connection_id":159875,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:28:31] local.INFO: Acknowledgment sent {"connection_id":159875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:28:41] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0276566c0012d7a2dc005e45ad8000d012c26..."} 
[2026-08-22 08:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276566c0012d7a2dc005e45ad8000d012c26..."} 
[2026-08-22 08:28:41] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276566c0012d7a2dc005e45ad8000d012c26..."} 
[2026-08-22 08:28:41] local.INFO: Packet analysis {"connection_id":159876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02765"} 
[2026-08-22 08:28:41] local.INFO: Extracted packet for processing {"connection_id":159876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02765"} 
[2026-08-22 08:28:41] local.INFO: GPS Element Parsed {"raw_longitude":762981824,"raw_latitude":98851544,"longitude_deg":76.2981824,"latitude_deg":9.8851544,"altitude":13,"angle":300,"satellites":38,"speed":15,"hex_longitude":"2d7a2dc0","hex_latitude":"05e45ad8","is_valid_coordinates":true} 
[2026-08-22 08:28: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-22 08:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566041856001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122255836058746880,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804185453094383616,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28:41] 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-22 08:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787367352000,"timestamp_ms":1787367352000,"timestamp_seconds":1787367352,"priority":1,"record_length":96,"hex_timestamp":"000001a0276566c0"} 
[2026-08-22 08:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:28: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-22 08:28: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":220,"data_length":795,"current_offset":136} 
[2026-08-22 08:28:41] 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-22 08:28: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-22 08:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:28:41] 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-22 08:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566041856001,"66":13276,"39":206,"87":13824,"24":15,"16":122255836058746880,"45":8804185453094383616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-22 08:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566041856001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:28:41] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-22 08:28:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 08:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122255836058746880,"km_value":122255836058746.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804185453094383616,"description":"Unknown IO ID 45"} 
[2026-08-22 08:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566041856001,"power":13276,"unknown_39":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8804185453094383616}} 
[2026-08-22 08:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":159876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:28:41] local.INFO: GPS data processed {"connection_id":159876,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:28:41] local.INFO: Acknowledgment sent {"connection_id":159876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:28:49] local.INFO: TCP Data received {"connection_id":162177,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:28:49] local.INFO: Processing buffer {"connection_id":162177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:28:49] local.INFO: IMEI packet received {"connection_id":162177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":162177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:28:53] local.INFO: TCP Data received {"connection_id":159609,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:28:53] local.INFO: Processing buffer {"connection_id":159609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:28:53] local.INFO: IMEI packet received {"connection_id":159609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":159609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:28:55] local.INFO: TCP Data received {"connection_id":162177,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:28:55] local.INFO: Processing buffer {"connection_id":162177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:28:55] local.INFO: IMEI packet received {"connection_id":162177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":162177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:28:56] local.INFO: TCP Data received {"connection_id":162177,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:28:56] local.INFO: Processing buffer {"connection_id":162177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:28:56] local.INFO: Packet analysis {"connection_id":162177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:28:56] local.INFO: Extracted packet for processing {"connection_id":162177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565939456001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28: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-22 08:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787367252000,"timestamp_ms":1787367252000,"timestamp_seconds":1787367252,"priority":1,"record_length":96,"hex_timestamp":"000001a02763e020"} 
[2026-08-22 08: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-22 08:28:56] 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-22 08:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-22 08:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565939456001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565939456001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:28:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565939456001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":162177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:28:56] local.INFO: GPS data processed {"connection_id":162177,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:28:56] local.INFO: Acknowledgment sent {"connection_id":162177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:28:56] local.INFO: TCP Data received {"connection_id":159610,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:28:56] local.INFO: Processing buffer {"connection_id":159610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:28:56] local.INFO: IMEI packet received {"connection_id":159610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":159610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:28:57] local.INFO: TCP Data received {"connection_id":159609,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:28:57] local.INFO: Processing buffer {"connection_id":159609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:28:57] local.INFO: IMEI packet received {"connection_id":159609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":159609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:28:58] local.INFO: TCP Data received {"connection_id":159609,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:28:58] local.INFO: Processing buffer {"connection_id":159609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:28:58] local.INFO: IMEI packet received {"connection_id":159609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":159609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:28:59] local.INFO: TCP Data received {"connection_id":159609,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02766aaf8012d196940071fedd8003e011c28..."} 
[2026-08-22 08:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02766aaf8012d196940071fedd8003e011c28..."} 
[2026-08-22 08:28:59] local.INFO: Processing buffer {"connection_id":159609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02766aaf8012d196940071fedd8003e011c28..."} 
[2026-08-22 08:28:59] local.INFO: Packet analysis {"connection_id":159609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02766"} 
[2026-08-22 08:28:59] local.INFO: Extracted packet for processing {"connection_id":159609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02766"} 
[2026-08-22 08:28:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566058240001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:28: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-22 08:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787367435000,"timestamp_ms":1787367435000,"timestamp_seconds":1787367435,"priority":1,"record_length":96,"hex_timestamp":"000001a02766aaf8"} 
[2026-08-22 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-22 08:28:59] 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-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 08:28:59] 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-22 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-22 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-22 08:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:28:59] 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-22 08:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566058240001,"66":12113,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566058240001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:28:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:28:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566058240001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":159609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:28:59] local.INFO: GPS data processed {"connection_id":159609,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:28:59] local.INFO: Acknowledgment sent {"connection_id":159609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:29:01] local.INFO: TCP Data received {"connection_id":159610,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:29:01] local.INFO: Processing buffer {"connection_id":159610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:29:01] local.INFO: IMEI packet received {"connection_id":159610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":159610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:29:02] local.INFO: TCP Data received {"connection_id":159610,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a027656aa8012d7a2c8005e45be0000d013a27..."} 
[2026-08-22 08:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027656aa8012d7a2c8005e45be0000d013a27..."} 
[2026-08-22 08:29:02] local.INFO: Processing buffer {"connection_id":159610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027656aa8012d7a2c8005e45be0000d013a27..."} 
[2026-08-22 08:29:02] local.INFO: Packet analysis {"connection_id":159610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02765"} 
[2026-08-22 08:29:02] local.INFO: Extracted packet for processing {"connection_id":159610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02765"} 
[2026-08-22 08:29:02] local.INFO: GPS Element Parsed {"raw_longitude":762981504,"raw_latitude":98851808,"longitude_deg":76.2981504,"latitude_deg":9.8851808,"altitude":13,"angle":314,"satellites":39,"speed":15,"hex_longitude":"2d7a2c80","hex_latitude":"05e45be0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566042112001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122255853238616064,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803903978117715968,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:02] 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-22 08:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787367353000,"timestamp_ms":1787367353000,"timestamp_seconds":1787367353,"priority":1,"record_length":96,"hex_timestamp":"000001a027656aa8"} 
[2026-08-22 08: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-22 08:29: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-22 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 08:29:02] 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-22 08: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-22 08: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-22 08:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:29:02] 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-22 08:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566042112001,"66":13363,"39":206,"87":13824,"24":15,"16":122255853238616064,"45":8803903978117715968},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-22 08:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566042112001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:29:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-22 08:29:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 08:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122255853238616064,"km_value":122255853238616.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803903978117715968,"description":"Unknown IO ID 45"} 
[2026-08-22 08:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566042112001,"power":13363,"unknown_39":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8803903978117715968}} 
[2026-08-22 08:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":159610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:29:03] local.INFO: GPS data processed {"connection_id":159610,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:29:03] local.INFO: Acknowledgment sent {"connection_id":159610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:29:27] local.INFO: TCP Data received {"connection_id":162177,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:29:27] local.INFO: Processing buffer {"connection_id":162177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02763e020012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:29:27] local.INFO: Packet analysis {"connection_id":162177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:29:27] local.INFO: Extracted packet for processing {"connection_id":162177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02763"} 
[2026-08-22 08:29:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457565939456001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29: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-22 08:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787367252000,"timestamp_ms":1787367252000,"timestamp_seconds":1787367252,"priority":1,"record_length":96,"hex_timestamp":"000001a02763e020"} 
[2026-08-22 08: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-22 08:29:27] 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-22 08:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-22 08:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457565939456001,"66":25549,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457565939456001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:29:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:29:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457565939456001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":162177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:29:27] local.INFO: GPS data processed {"connection_id":162177,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:29:27] local.INFO: Acknowledgment sent {"connection_id":162177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:29:30] local.INFO: TCP Data received {"connection_id":159609,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02766fd00012d196940071fedd8003e011c26..."} 
[2026-08-22 08:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02766fd00012d196940071fedd8003e011c26..."} 
[2026-08-22 08:29:30] local.INFO: Processing buffer {"connection_id":159609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02766fd00012d196940071fedd8003e011c26..."} 
[2026-08-22 08:29:30] local.INFO: Packet analysis {"connection_id":159609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02766"} 
[2026-08-22 08:29:30] local.INFO: Extracted packet for processing {"connection_id":159609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02766"} 
[2026-08-22 08:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566063360001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29: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-22 08:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787367456000,"timestamp_ms":1787367456000,"timestamp_seconds":1787367456,"priority":1,"record_length":96,"hex_timestamp":"000001a02766fd00"} 
[2026-08-22 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-22 08:29:30] 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-22 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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-22 08:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:29:30] 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-22 08:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566063360001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566063360001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:29:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:29:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566063360001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":159609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:29:30] local.INFO: GPS data processed {"connection_id":159609,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:29:30] local.INFO: Acknowledgment sent {"connection_id":159609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:29:34] local.INFO: TCP Data received {"connection_id":159610,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a027686848012d7a220005e46ab8000200cc28..."} 
[2026-08-22 08:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027686848012d7a220005e46ab8000200cc28..."} 
[2026-08-22 08:29:34] local.INFO: Processing buffer {"connection_id":159610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027686848012d7a220005e46ab8000200cc28..."} 
[2026-08-22 08:29:34] local.INFO: Packet analysis {"connection_id":159610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:29:34] local.INFO: Extracted packet for processing {"connection_id":159610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:29:34] local.INFO: GPS Element Parsed {"raw_longitude":762978816,"raw_latitude":98855608,"longitude_deg":76.2978816,"latitude_deg":9.8855608,"altitude":2,"angle":204,"satellites":40,"speed":12,"hex_longitude":"2d7a2200","hex_latitude":"05e46ab8","is_valid_coordinates":true} 
[2026-08-22 08:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566092288001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122256287030312960,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800667015886657536,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:34] 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-22 08:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787367549000,"timestamp_ms":1787367549000,"timestamp_seconds":1787367549,"priority":1,"record_length":96,"hex_timestamp":"000001a027686848"} 
[2026-08-22 08:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:29: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-22 08:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 08:29:34] 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-22 08:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:29:34] 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-22 08:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566092288001,"66":13102,"208":206,"85":15104,"24":12,"16":122256287030312960,"45":8800667015886657536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 08:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566092288001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:29:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 08:29:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122256287030312960,"km_value":122256287030312.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800667015886657536,"description":"Unknown IO ID 45"} 
[2026-08-22 08:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566092288001,"power":13102,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8800667015886657536}} 
[2026-08-22 08:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":159610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:29:34] local.INFO: GPS data processed {"connection_id":159610,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:29:34] local.INFO: Acknowledgment sent {"connection_id":159610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:29:47] local.INFO: TCP Data received {"connection_id":159611,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:29:47] local.INFO: Processing buffer {"connection_id":159611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:29:47] local.INFO: IMEI packet received {"connection_id":159611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":159611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:29:47] local.INFO: TCP Data received {"connection_id":159611,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027681a28012d0bfd400702aa78001f004e0b..."} 
[2026-08-22 08:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027681a28012d0bfd400702aa78001f004e0b..."} 
[2026-08-22 08:29:47] local.INFO: Processing buffer {"connection_id":159611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027681a28012d0bfd400702aa78001f004e0b..."} 
[2026-08-22 08:29:47] local.INFO: Packet analysis {"connection_id":159611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:29:47] local.INFO: Extracted packet for processing {"connection_id":159611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:29:47] local.INFO: GPS Element Parsed {"raw_longitude":755760448,"raw_latitude":117615224,"longitude_deg":75.5760448,"latitude_deg":11.7615224,"altitude":31,"angle":78,"satellites":11,"speed":5,"hex_longitude":"2d0bfd40","hex_latitude":"0702aa78","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566086144001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29335318121414656,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863213414936856576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:47] 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-22 08:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787367529000,"timestamp_ms":1787367529000,"timestamp_seconds":1787367529,"priority":1,"record_length":96,"hex_timestamp":"000001a027681a28"} 
[2026-08-22 08: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-22 08:29: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-22 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-22 08:29:47] 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-22 08: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-22 08: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-22 08:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":159611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":159611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":159611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566086144001,"66":14396,"37":206,"94":11008,"24":5,"16":29335318121414656,"45":863213414936856576},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 08:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566086144001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:29:47] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 08:29:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 08:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29335318121414656,"km_value":29335318121414.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":863213414936856576,"description":"Unknown IO ID 45"} 
[2026-08-22 08:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566086144001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":863213414936856576}} 
[2026-08-22 08:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":159611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679967,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:29:47] local.INFO: GPS data processed {"connection_id":159611,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:29:47] local.INFO: Acknowledgment sent {"connection_id":159611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:29:50] local.INFO: TCP Data received {"connection_id":162178,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:29:50] local.INFO: Processing buffer {"connection_id":162178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:29:50] local.INFO: IMEI packet received {"connection_id":162178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":162178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:29:53] local.INFO: TCP Data received {"connection_id":160766,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:29:53] local.INFO: Processing buffer {"connection_id":160766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:29:53] local.INFO: IMEI packet received {"connection_id":160766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":160766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:29:55] local.INFO: TCP Data received {"connection_id":162178,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:29:55] local.INFO: Processing buffer {"connection_id":162178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:29:55] local.INFO: IMEI packet received {"connection_id":162178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":162178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:29:59] local.INFO: TCP Data received {"connection_id":160766,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:29:59] local.INFO: Processing buffer {"connection_id":160766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:29:59] local.INFO: IMEI packet received {"connection_id":160766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":160766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:29:59] local.INFO: TCP Data received {"connection_id":160766,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027674f08012d196940071fedd8003e011c27..."} 
[2026-08-22 08:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027674f08012d196940071fedd8003e011c27..."} 
[2026-08-22 08:29:59] local.INFO: Processing buffer {"connection_id":160766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027674f08012d196940071fedd8003e011c27..."} 
[2026-08-22 08:29:59] local.INFO: Packet analysis {"connection_id":160766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02767"} 
[2026-08-22 08:29:59] local.INFO: Extracted packet for processing {"connection_id":160766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02767"} 
[2026-08-22 08:29:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566068736001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29: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-22 08:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787367477000,"timestamp_ms":1787367477000,"timestamp_seconds":1787367477,"priority":1,"record_length":96,"hex_timestamp":"000001a027674f08"} 
[2026-08-22 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-22 08:29:59] 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-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 08:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2838603431372724585,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79980674827681792,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 08:29:59] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-08-22 08:29:59] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,170,45,64,237,62,40,10,66,92,39,1,240,75,227,31,4,113,205,98,105,216,38,239,48,2,51,7,35],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 08:29:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 08:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:29:59] 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-22 08:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566068736001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566068736001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:29:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:29:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566068736001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":160766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:29:59] local.INFO: GPS data processed {"connection_id":160766,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:29:59] local.INFO: Acknowledgment sent {"connection_id":160766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:30:00] local.INFO: TCP Data received {"connection_id":162178,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:30:00] local.INFO: Processing buffer {"connection_id":162178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:30:00] local.INFO: IMEI packet received {"connection_id":162178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":162178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:30:00] local.INFO: TCP Data received {"connection_id":162178,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:30:00] local.INFO: Processing buffer {"connection_id":162178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:30:00] local.INFO: Packet analysis {"connection_id":162178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:30:00] local.INFO: Extracted packet for processing {"connection_id":162178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566016512001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30: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-22 08:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787367554000,"timestamp_ms":1787367554000,"timestamp_seconds":1787367554,"priority":1,"record_length":96,"hex_timestamp":"000001a027687bd0"} 
[2026-08-22 08: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-22 08:30:00] 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-22 08: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":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566016512001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566016512001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:30:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:30:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566016512001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":162178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:30:00] local.INFO: GPS data processed {"connection_id":162178,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:30:00] local.INFO: Acknowledgment sent {"connection_id":162178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:30:02] local.INFO: TCP Data received {"connection_id":160767,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:30:02] local.INFO: Processing buffer {"connection_id":160767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:30:02] local.INFO: IMEI packet received {"connection_id":160767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":160767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:30:05] local.INFO: TCP Data received {"connection_id":160767,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:30:05] local.INFO: Processing buffer {"connection_id":160767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:30:05] local.INFO: IMEI packet received {"connection_id":160767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":160767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:30:05] local.INFO: TCP Data received {"connection_id":162178,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:30:05] local.INFO: Processing buffer {"connection_id":162178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:30:05] local.INFO: Packet analysis {"connection_id":162178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:30:05] local.INFO: Extracted packet for processing {"connection_id":162178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566016512001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:05] 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-22 08:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787367554000,"timestamp_ms":1787367554000,"timestamp_seconds":1787367554,"priority":1,"record_length":96,"hex_timestamp":"000001a027687bd0"} 
[2026-08-22 08:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:30:05] 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-22 08:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566016512001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566016512001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:30:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:30:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566016512001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":162178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:30:05] local.INFO: GPS data processed {"connection_id":162178,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:30:05] local.INFO: Acknowledgment sent {"connection_id":162178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:30:11] local.INFO: TCP Data received {"connection_id":160767,"ip":"42.106.6.21","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a027..."} 
[2026-08-22 08:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160767,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a027..."} 
[2026-08-22 08:30:11] local.INFO: Processing buffer {"connection_id":160767,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a027..."} 
[2026-08-22 08:30:11] local.INFO: IMEI packet received {"connection_id":160767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":160767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:30:15] local.INFO: TCP Data received {"connection_id":160767,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a027687018012d7a20c005e469a80003010228..."} 
[2026-08-22 08:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027687018012d7a20c005e469a80003010228..."} 
[2026-08-22 08:30:15] local.INFO: Processing buffer {"connection_id":160767,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a027686c30012d7a218005e469f8000300e527..."} 
[2026-08-22 08:30:15] local.INFO: Packet analysis {"connection_id":160767,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:30:15] local.INFO: Extracted packet for processing {"connection_id":160767,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:30:15] local.INFO: GPS Element Parsed {"raw_longitude":762978688,"raw_latitude":98855416,"longitude_deg":76.2978688,"latitude_deg":9.8855416,"altitude":3,"angle":229,"satellites":39,"speed":8,"hex_longitude":"2d7a2180","hex_latitude":"05e469f8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566092544001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122256299915214848,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800596647142406144,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:15] 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-22 08:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787367550000,"timestamp_ms":1787367550000,"timestamp_seconds":1787367550,"priority":1,"record_length":96,"hex_timestamp":"000001a027686c30"} 
[2026-08-22 08: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-22 08:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 08:30: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-22 08: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-22 08: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-22 08:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:30:15] 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-22 08:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566092544001,"66":13102,"208":206,"85":15104,"24":8,"16":122256299915214848,"45":8800596647142406144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 08:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566092544001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:30:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 08:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122256299915214848,"km_value":122256299915214.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800596647142406144,"description":"Unknown IO ID 45"} 
[2026-08-22 08:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566092544001,"power":13102,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8800596647142406144}} 
[2026-08-22 08:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":160767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:30:15] local.INFO: GPS data processed {"connection_id":160767,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:30:15] local.INFO: Acknowledgment sent {"connection_id":160767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:30:15] local.INFO: Packet analysis {"connection_id":160767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:30:15] local.INFO: Extracted packet for processing {"connection_id":160767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:30:15] local.INFO: GPS Element Parsed {"raw_longitude":762978496,"raw_latitude":98855336,"longitude_deg":76.2978496,"latitude_deg":9.8855336,"altitude":3,"angle":258,"satellites":40,"speed":10,"hex_longitude":"2d7a20c0","hex_latitude":"05e469a8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566092800001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122256308505149440,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800455909654001664,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:15] 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-22 08:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787367551000,"timestamp_ms":1787367551000,"timestamp_seconds":1787367551,"priority":1,"record_length":96,"hex_timestamp":"000001a027687018"} 
[2026-08-22 08: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-22 08:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 08:30: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-22 08: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-22 08: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-22 08:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:30:15] 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-22 08:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566092800001,"66":12982,"208":206,"85":15104,"24":10,"16":122256308505149440,"45":8800455909654001664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 08:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566092800001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:30:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 08:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122256308505149440,"km_value":122256308505149.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800455909654001664,"description":"Unknown IO ID 45"} 
[2026-08-22 08:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566092800001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8800455909654001664}} 
[2026-08-22 08:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":160767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:30:15] local.INFO: GPS data processed {"connection_id":160767,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:30:15] local.INFO: Acknowledgment sent {"connection_id":160767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:30:18] local.INFO: TCP Data received {"connection_id":159611,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0276821f8012d0bfe400702aaa8001f005a0b..."} 
[2026-08-22 08:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276821f8012d0bfe400702aaa8001f005a0b..."} 
[2026-08-22 08:30:18] local.INFO: Processing buffer {"connection_id":159611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276821f8012d0bfe400702aaa8001f005a0b..."} 
[2026-08-22 08:30:18] local.INFO: Packet analysis {"connection_id":159611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:30:18] local.INFO: Extracted packet for processing {"connection_id":159611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:30:18] local.INFO: GPS Element Parsed {"raw_longitude":755760704,"raw_latitude":117615272,"longitude_deg":75.5760704,"latitude_deg":11.7615272,"altitude":31,"angle":90,"satellites":11,"speed":6,"hex_longitude":"2d0bfe40","hex_latitude":"0702aaa8","is_valid_coordinates":true} 
[2026-08-22 08:30: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-22 08:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566087424001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29335331006316544,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863917102378678272,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:18] 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-22 08:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787367531000,"timestamp_ms":1787367531000,"timestamp_seconds":1787367531,"priority":1,"record_length":96,"hex_timestamp":"000001a0276821f8"} 
[2026-08-22 08:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:30:18] 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-22 08:30: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":60,"data_length":795,"current_offset":136} 
[2026-08-22 08:30:18] 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-22 08:30: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-22 08:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566087424001,"66":13678,"37":206,"94":11008,"24":6,"16":29335331006316544,"45":863917102378678272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 08:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566087424001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:30:18] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 08:30:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 08:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29335331006316544,"km_value":29335331006316.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":863917102378678272,"description":"Unknown IO ID 45"} 
[2026-08-22 08:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566087424001,"power":13678,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":863917102378678272}} 
[2026-08-22 08:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":159611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679973,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:30:19] local.INFO: GPS data processed {"connection_id":159611,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:30:19] local.INFO: Acknowledgment sent {"connection_id":159611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:30:19] local.INFO: TCP Data received {"connection_id":160767,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02768c220012d7a08c005e465b00005010728..."} 
[2026-08-22 08:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02768c220012d7a08c005e465b00005010728..."} 
[2026-08-22 08:30:19] local.INFO: Processing buffer {"connection_id":160767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02768c220012d7a08c005e465b00005010728..."} 
[2026-08-22 08:30:19] local.INFO: Packet analysis {"connection_id":160767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:30:19] local.INFO: Extracted packet for processing {"connection_id":160767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:30:19] local.INFO: GPS Element Parsed {"raw_longitude":762972352,"raw_latitude":98854320,"longitude_deg":76.2972352,"latitude_deg":9.885432,"altitude":5,"angle":263,"satellites":40,"speed":15,"hex_longitude":"2d7a08c0","hex_latitude":"05e465b0","is_valid_coordinates":true} 
[2026-08-22 08:30: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-22 08:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566093056001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122256609152860160,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800244803421448192,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:19] 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-22 08:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787367572000,"timestamp_ms":1787367572000,"timestamp_seconds":1787367572,"priority":1,"record_length":96,"hex_timestamp":"000001a02768c220"} 
[2026-08-22 08:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08:30: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":182,"data_length":795,"current_offset":136} 
[2026-08-22 08:30:19] 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-22 08:30: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-22 08:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:30: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-22 08:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566093056001,"66":12982,"208":206,"85":15104,"24":15,"16":122256609152860160,"45":8800244803421448192},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 08:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566093056001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:30:19] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 08:30:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122256609152860160,"km_value":122256609152860.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800244803421448192,"description":"Unknown IO ID 45"} 
[2026-08-22 08:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566093056001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8800244803421448192}} 
[2026-08-22 08:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":160767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:30:19] local.INFO: GPS data processed {"connection_id":160767,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:30:19] local.INFO: Acknowledgment sent {"connection_id":160767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:30:30] local.INFO: TCP Data received {"connection_id":160766,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02767a110012d196940071fedd8003e011c27..."} 
[2026-08-22 08:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02767a110012d196940071fedd8003e011c27..."} 
[2026-08-22 08:30:30] local.INFO: Processing buffer {"connection_id":160766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02767a110012d196940071fedd8003e011c27..."} 
[2026-08-22 08:30:30] local.INFO: Packet analysis {"connection_id":160766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02767"} 
[2026-08-22 08:30:30] local.INFO: Extracted packet for processing {"connection_id":160766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02767"} 
[2026-08-22 08:30:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566074112001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30: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-22 08:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787367498000,"timestamp_ms":1787367498000,"timestamp_seconds":1787367498,"priority":1,"record_length":96,"hex_timestamp":"000001a02767a110"} 
[2026-08-22 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-22 08:30:30] 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-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 08:30:30] 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-22 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-22 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-22 08:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:30:30] 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-22 08:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566074112001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566074112001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:30:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:30:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566074112001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":160766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:30:30] local.INFO: GPS data processed {"connection_id":160766,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:30:30] local.INFO: Acknowledgment sent {"connection_id":160766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:30:49] local.INFO: TCP Data received {"connection_id":159612,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:30:49] local.INFO: Processing buffer {"connection_id":159612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:30:49] local.INFO: IMEI packet received {"connection_id":159612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":159612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:30:50] local.INFO: TCP Data received {"connection_id":159611,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027693f20012d0c2e000702afd8002300470b..."} 
[2026-08-22 08:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027693f20012d0c2e000702afd8002300470b..."} 
[2026-08-22 08:30:50] local.INFO: Processing buffer {"connection_id":159611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027693f20012d0c2e000702afd8002300470b..."} 
[2026-08-22 08:30:50] local.INFO: Packet analysis {"connection_id":159611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02769"} 
[2026-08-22 08:30:50] local.INFO: Extracted packet for processing {"connection_id":159611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02769"} 
[2026-08-22 08:30:50] local.INFO: GPS Element Parsed {"raw_longitude":755772928,"raw_latitude":117616600,"longitude_deg":75.5772928,"latitude_deg":11.76166,"altitude":35,"angle":71,"satellites":11,"speed":5,"hex_longitude":"2d0c2e00","hex_latitude":"0702afd8","is_valid_coordinates":true} 
[2026-08-22 08:30: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-22 08:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566105344001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29335932301737984,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876794582563489792,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:50] 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-22 08:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787367604000,"timestamp_ms":1787367604000,"timestamp_seconds":1787367604,"priority":1,"record_length":96,"hex_timestamp":"000001a027693f20"} 
[2026-08-22 08:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:30: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-22 08:30: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-22 08:30:50] 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-22 08:30: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-22 08:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":159611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":159611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":159611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566105344001,"66":14439,"37":206,"94":11008,"24":5,"16":29335932301737984,"45":876794582563489792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 08:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566105344001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:30:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 08:30:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 08:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29335932301737984,"km_value":29335932301737.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":876794582563489792,"description":"Unknown IO ID 45"} 
[2026-08-22 08:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566105344001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":876794582563489792}} 
[2026-08-22 08:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":159611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679976,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:30:50] local.INFO: GPS data processed {"connection_id":159611,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:30:50] local.INFO: Acknowledgment sent {"connection_id":159611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:30:55] local.INFO: TCP Data received {"connection_id":159612,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:30:55] local.INFO: Processing buffer {"connection_id":159612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:30:55] local.INFO: IMEI packet received {"connection_id":159612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":159612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:30:55] local.INFO: TCP Data received {"connection_id":159612,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:30:55] local.INFO: Processing buffer {"connection_id":159612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:30:55] local.INFO: Packet analysis {"connection_id":159612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:30:55] local.INFO: Extracted packet for processing {"connection_id":159612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:30:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566016512001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:30: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-22 08:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787367554000,"timestamp_ms":1787367554000,"timestamp_seconds":1787367554,"priority":1,"record_length":96,"hex_timestamp":"000001a027687bd0"} 
[2026-08-22 08: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-22 08:30:55] 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-22 08: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":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566016512001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566016512001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:30:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:30:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566016512001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":159612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:30:55] local.INFO: GPS data processed {"connection_id":159612,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:30:55] local.INFO: Acknowledgment sent {"connection_id":159612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:30:56] local.INFO: TCP Data received {"connection_id":162179,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:30:56] local.INFO: Processing buffer {"connection_id":162179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:30:56] local.INFO: IMEI packet received {"connection_id":162179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":162179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:30:58] local.INFO: TCP Data received {"connection_id":160768,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:30:58] local.INFO: Processing buffer {"connection_id":160768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:30:58] local.INFO: IMEI packet received {"connection_id":160768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":160768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:31:02] local.INFO: TCP Data received {"connection_id":162179,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:31:02] local.INFO: Processing buffer {"connection_id":162179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:31:02] local.INFO: IMEI packet received {"connection_id":162179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":162179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:31:03] local.INFO: TCP Data received {"connection_id":160768,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:31:03] local.INFO: Processing buffer {"connection_id":160768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:31:03] local.INFO: IMEI packet received {"connection_id":160768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":160768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:31:03] local.INFO: TCP Data received {"connection_id":160768,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02767f318012d196940071fedd8003e011c26..."} 
[2026-08-22 08:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02767f318012d196940071fedd8003e011c26..."} 
[2026-08-22 08:31:03] local.INFO: Processing buffer {"connection_id":160768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02767f318012d196940071fedd8003e011c26..."} 
[2026-08-22 08:31:03] local.INFO: Packet analysis {"connection_id":160768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02767"} 
[2026-08-22 08:31:03] local.INFO: Extracted packet for processing {"connection_id":160768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02767"} 
[2026-08-22 08:31:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566079488001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787367519000,"timestamp_ms":1787367519000,"timestamp_seconds":1787367519,"priority":1,"record_length":96,"hex_timestamp":"000001a02767f318"} 
[2026-08-22 08: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-22 08:31:03] 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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:31:03] 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-22 08: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-22 08: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-22 08:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:31:03] 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-22 08:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566079488001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566079488001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:31:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:31:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566079488001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":160768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:31:03] local.INFO: GPS data processed {"connection_id":160768,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:31:03] local.INFO: Acknowledgment sent {"connection_id":160768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:31:04] local.INFO: TCP Data received {"connection_id":160768,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027684520012d196940071fedd8003e011c28..."} 
[2026-08-22 08:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027684520012d196940071fedd8003e011c28..."} 
[2026-08-22 08:31:04] local.INFO: Processing buffer {"connection_id":160768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027684520012d196940071fedd8003e011c28..."} 
[2026-08-22 08:31:04] local.INFO: Packet analysis {"connection_id":160768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:31:04] local.INFO: Extracted packet for processing {"connection_id":160768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566084864001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787367540000,"timestamp_ms":1787367540000,"timestamp_seconds":1787367540,"priority":1,"record_length":96,"hex_timestamp":"000001a027684520"} 
[2026-08-22 08: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-22 08:31:04] 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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:31:04] 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-22 08: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-22 08: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-22 08:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:31:04] 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-22 08:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566084864001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566084864001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:31:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566084864001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:31:04] local.INFO: TCP Data received {"connection_id":162179,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02768d5a8012d7a024005e465680004011528..."} 
[2026-08-22 08:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02768d5a8012d7a024005e465680004011528..."} 
[2026-08-22 08:31:04] local.INFO: Processing buffer {"connection_id":162179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02768d5a8012d7a024005e465680004011528..."} 
[2026-08-22 08:31:04] local.INFO: Packet analysis {"connection_id":162179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:31:04] local.INFO: Extracted packet for processing {"connection_id":162179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:31:04] local.INFO: GPS Element Parsed {"raw_longitude":762970688,"raw_latitude":98854248,"longitude_deg":76.2970688,"latitude_deg":9.8854248,"altitude":4,"angle":277,"satellites":40,"speed":10,"hex_longitude":"2d7a0240","hex_latitude":"05e46568","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566098432001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122256690757238784,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793489403980132352,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:04] 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-22 08:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787367577000,"timestamp_ms":1787367577000,"timestamp_seconds":1787367577,"priority":1,"record_length":96,"hex_timestamp":"000001a02768d5a8"} 
[2026-08-22 08: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-22 08:31: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-22 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-22 08:31:04] 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-22 08: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-22 08: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-22 08:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:31:04] 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-22 08:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566098432001,"66":12939,"208":206,"85":15104,"24":10,"16":122256690757238784,"45":8793489403980132352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 08:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566098432001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:31:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 08:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122256690757238784,"km_value":122256690757238.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793489403980132352,"description":"Unknown IO ID 45"} 
[2026-08-22 08:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566098432001,"power":12939,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8793489403980132352}} 
[2026-08-22 08:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":160768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:31:04] local.INFO: GPS data processed {"connection_id":160768,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:31:04] local.INFO: Acknowledgment sent {"connection_id":160768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":162179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:31:04] local.INFO: GPS data processed {"connection_id":162179,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:31:04] local.INFO: Acknowledgment sent {"connection_id":162179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:31:21] local.INFO: TCP Data received {"connection_id":159611,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0276a5c48012d0c46800702c2e8002001620d..."} 
[2026-08-22 08:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276a5c48012d0c46800702c2e8002001620d..."} 
[2026-08-22 08:31:21] local.INFO: Processing buffer {"connection_id":159611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276a5c48012d0c46800702c2e8002001620d..."} 
[2026-08-22 08:31:21] local.INFO: Packet analysis {"connection_id":159611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276a"} 
[2026-08-22 08:31:21] local.INFO: Extracted packet for processing {"connection_id":159611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276a"} 
[2026-08-22 08:31:21] local.INFO: GPS Element Parsed {"raw_longitude":755779200,"raw_latitude":117621480,"longitude_deg":75.57792,"latitude_deg":11.762148,"altitude":32,"angle":354,"satellites":13,"speed":9,"hex_longitude":"2d0c4680","hex_latitude":"0702c2e8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566124288001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29336486352519168,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885027725633323008,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:21] 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-22 08:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787367677000,"timestamp_ms":1787367677000,"timestamp_seconds":1787367677,"priority":1,"record_length":96,"hex_timestamp":"000001a0276a5c48"} 
[2026-08-22 08: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-22 08:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 08:31:21] 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-22 08: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-22 08: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-22 08:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":159611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":159611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":159611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566124288001,"66":14396,"37":206,"94":11008,"24":9,"16":29336486352519168,"45":885027725633323008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 08:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566124288001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:31:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 08:31:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 08:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29336486352519168,"km_value":29336486352519.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":885027725633323008,"description":"Unknown IO ID 45"} 
[2026-08-22 08:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566124288001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":885027725633323008}} 
[2026-08-22 08:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":159611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679981,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:31:21] local.INFO: GPS data processed {"connection_id":159611,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:31:21] local.INFO: Acknowledgment sent {"connection_id":159611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:31:27] local.INFO: TCP Data received {"connection_id":159612,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:31:27] local.INFO: Processing buffer {"connection_id":159612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:31:27] local.INFO: Packet analysis {"connection_id":159612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:31:27] local.INFO: Extracted packet for processing {"connection_id":159612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566016512001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31: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-22 08:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787367554000,"timestamp_ms":1787367554000,"timestamp_seconds":1787367554,"priority":1,"record_length":96,"hex_timestamp":"000001a027687bd0"} 
[2026-08-22 08: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-22 08:31:27] 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-22 08:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566016512001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566016512001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:31:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566016512001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":159612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:31:27] local.INFO: GPS data processed {"connection_id":159612,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:31:27] local.INFO: Acknowledgment sent {"connection_id":159612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:31:35] local.INFO: TCP Data received {"connection_id":160768,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027689728012d196940071fedd8003e011c28..."} 
[2026-08-22 08:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027689728012d196940071fedd8003e011c28..."} 
[2026-08-22 08:31:35] local.INFO: Processing buffer {"connection_id":160768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027689728012d196940071fedd8003e011c28..."} 
[2026-08-22 08:31:35] local.INFO: Packet analysis {"connection_id":160768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:31:35] local.INFO: Extracted packet for processing {"connection_id":160768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566090240001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787367561000,"timestamp_ms":1787367561000,"timestamp_seconds":1787367561,"priority":1,"record_length":96,"hex_timestamp":"000001a027689728"} 
[2026-08-22 08: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-22 08:31: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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:31:35] 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-22 08: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-22 08: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-22 08:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:31:35] 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-22 08:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566090240001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566090240001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:31:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566090240001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":160768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:31:35] local.INFO: GPS data processed {"connection_id":160768,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:31:35] local.INFO: Acknowledgment sent {"connection_id":160768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:31:49] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:31:49] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:31:49] local.INFO: IMEI packet received {"connection_id":159877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":159877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:31:52] local.INFO: TCP Data received {"connection_id":159611,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0276a6030012d0c46400702c3e0002001500d..."} 
[2026-08-22 08:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276a6030012d0c46400702c3e0002001500d..."} 
[2026-08-22 08:31:52] local.INFO: Processing buffer {"connection_id":159611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276a6030012d0c46400702c3e0002001500d..."} 
[2026-08-22 08:31:52] local.INFO: Packet analysis {"connection_id":159611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276a"} 
[2026-08-22 08:31:52] local.INFO: Extracted packet for processing {"connection_id":159611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276a"} 
[2026-08-22 08:31:52] local.INFO: GPS Element Parsed {"raw_longitude":755779136,"raw_latitude":117621728,"longitude_deg":75.5779136,"latitude_deg":11.7621728,"altitude":32,"angle":336,"satellites":13,"speed":9,"hex_longitude":"2d0c4640","hex_latitude":"0702c3e0","is_valid_coordinates":true} 
[2026-08-22 08:31: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-22 08:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566125312001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29336499237421056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884535144424335360,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:52] 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-22 08:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787367678000,"timestamp_ms":1787367678000,"timestamp_seconds":1787367678,"priority":1,"record_length":96,"hex_timestamp":"000001a0276a6030"} 
[2026-08-22 08: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-22 08:31: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-22 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 08:31:52] 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-22 08: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-22 08: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-22 08:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566125312001,"66":14396,"37":206,"94":11008,"24":9,"16":29336499237421056,"45":884535144424335360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 08:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566125312001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:31:52] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 08:31:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 08:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29336499237421056,"km_value":29336499237421.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":884535144424335360,"description":"Unknown IO ID 45"} 
[2026-08-22 08:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566125312001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":884535144424335360}} 
[2026-08-22 08:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":159611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679984,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:31:52] local.INFO: GPS data processed {"connection_id":159611,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:31:52] local.INFO: Acknowledgment sent {"connection_id":159611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:31:53] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:31:53] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:31:53] local.INFO: IMEI packet received {"connection_id":159878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":159878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:31:55] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:31:55] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:31:55] local.INFO: IMEI packet received {"connection_id":159877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":159877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:31:55] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:31:55] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:31:55] local.INFO: Packet analysis {"connection_id":159877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:31:55] local.INFO: Extracted packet for processing {"connection_id":159877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566016512001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31: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-22 08:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787367554000,"timestamp_ms":1787367554000,"timestamp_seconds":1787367554,"priority":1,"record_length":96,"hex_timestamp":"000001a027687bd0"} 
[2026-08-22 08: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-22 08:31:55] 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-22 08: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":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566016512001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566016512001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:31:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:31:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566016512001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":159877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:31:55] local.INFO: GPS data processed {"connection_id":159877,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:31:55] local.INFO: Acknowledgment sent {"connection_id":159877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:31:58] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:31:58] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:31:58] local.INFO: IMEI packet received {"connection_id":159878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":159878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:31:59] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02768e930012d196940071fedd8003e011c28..."} 
[2026-08-22 08:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02768e930012d196940071fedd8003e011c28..."} 
[2026-08-22 08:31:59] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02768e930012d196940071fedd8003e011c28..."} 
[2026-08-22 08:31:59] local.INFO: Packet analysis {"connection_id":159878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:31:59] local.INFO: Extracted packet for processing {"connection_id":159878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566095616001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:31: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-22 08:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787367582000,"timestamp_ms":1787367582000,"timestamp_seconds":1787367582,"priority":1,"record_length":96,"hex_timestamp":"000001a02768e930"} 
[2026-08-22 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-22 08:31:59] 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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:31:59] 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-22 08:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566095616001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566095616001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:31:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566095616001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":159878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:31:59] local.INFO: GPS data processed {"connection_id":159878,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:31:59] local.INFO: Acknowledgment sent {"connection_id":159878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:32:23] local.INFO: TCP Data received {"connection_id":159611,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0276b0828012d0c25800702b7180019013e0d..."} 
[2026-08-22 08:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276b0828012d0c25800702b7180019013e0d..."} 
[2026-08-22 08:32:23] local.INFO: Processing buffer {"connection_id":159611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276b0828012d0c25800702b7180019013e0d..."} 
[2026-08-22 08:32:23] local.INFO: Packet analysis {"connection_id":159611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276b"} 
[2026-08-22 08:32:23] local.INFO: Extracted packet for processing {"connection_id":159611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276b"} 
[2026-08-22 08:32:23] local.INFO: GPS Element Parsed {"raw_longitude":755770752,"raw_latitude":117618456,"longitude_deg":75.5770752,"latitude_deg":11.7618456,"altitude":25,"angle":318,"satellites":13,"speed":7,"hex_longitude":"2d0c2580","hex_latitude":"0702b718","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566132480001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29336980273758208,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877709376238454784,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32:23] 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-22 08:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787367721000,"timestamp_ms":1787367721000,"timestamp_seconds":1787367721,"priority":1,"record_length":96,"hex_timestamp":"000001a0276b0828"} 
[2026-08-22 08: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-22 08:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 08:32:23] 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-22 08: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-22 08: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-22 08:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566132480001,"66":14407,"37":206,"94":11008,"24":7,"16":29336980273758208,"45":877709376238454784},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 08:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566132480001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:32:23] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 08:32:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 08:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29336980273758208,"km_value":29336980273758.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":877709376238454784,"description":"Unknown IO ID 45"} 
[2026-08-22 08:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566132480001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":877709376238454784}} 
[2026-08-22 08:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":159611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679987,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:32:23] local.INFO: GPS data processed {"connection_id":159611,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:32:23] local.INFO: Acknowledgment sent {"connection_id":159611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:32:27] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:32:27] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:32:27] local.INFO: Packet analysis {"connection_id":159877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:32:27] local.INFO: Extracted packet for processing {"connection_id":159877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566016512001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32: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-22 08:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787367554000,"timestamp_ms":1787367554000,"timestamp_seconds":1787367554,"priority":1,"record_length":96,"hex_timestamp":"000001a027687bd0"} 
[2026-08-22 08: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-22 08:32:27] 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-22 08:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566016512001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566016512001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:32:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566016512001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":159877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:32:27] local.INFO: GPS data processed {"connection_id":159877,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:32:27] local.INFO: Acknowledgment sent {"connection_id":159877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:32:31] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027693b38012d196940071fedd8003e011c24..."} 
[2026-08-22 08:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027693b38012d196940071fedd8003e011c24..."} 
[2026-08-22 08:32:31] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027693b38012d196940071fedd8003e011c24..."} 
[2026-08-22 08:32:31] local.INFO: Packet analysis {"connection_id":159878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02769"} 
[2026-08-22 08:32:31] local.INFO: Extracted packet for processing {"connection_id":159878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02769"} 
[2026-08-22 08:32:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566100992001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787367603000,"timestamp_ms":1787367603000,"timestamp_seconds":1787367603,"priority":1,"record_length":96,"hex_timestamp":"000001a027693b38"} 
[2026-08-22 08: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-22 08:32:31] 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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:32:31] 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-22 08: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-22 08: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-22 08:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:32:31] 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-22 08:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566100992001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566100992001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:32:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:32:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566100992001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":159878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:32:31] local.INFO: GPS data processed {"connection_id":159878,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:32:31] local.INFO: Acknowledgment sent {"connection_id":159878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:32:49] local.INFO: TCP Data received {"connection_id":160769,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:32:49] local.INFO: Processing buffer {"connection_id":160769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:32:49] local.INFO: IMEI packet received {"connection_id":160769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":160769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:32:53] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:32:53] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:32:53] local.INFO: IMEI packet received {"connection_id":159879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":159879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:32:54] local.INFO: TCP Data received {"connection_id":159611,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0276b0ff8012d0c24400702b8a8001901540d..."} 
[2026-08-22 08:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276b0ff8012d0c24400702b8a8001901540d..."} 
[2026-08-22 08:32:54] local.INFO: Processing buffer {"connection_id":159611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276b0ff8012d0c24400702b8a8001901540d..."} 
[2026-08-22 08:32:54] local.INFO: Packet analysis {"connection_id":159611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276b"} 
[2026-08-22 08:32:54] local.INFO: Extracted packet for processing {"connection_id":159611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276b"} 
[2026-08-22 08:32:54] local.INFO: GPS Element Parsed {"raw_longitude":755770432,"raw_latitude":117618856,"longitude_deg":75.5770432,"latitude_deg":11.7618856,"altitude":25,"angle":340,"satellites":13,"speed":11,"hex_longitude":"2d0c2440","hex_latitude":"0702b8a8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566136576001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29337006043561984,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875246470192109568,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32:54] 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-22 08:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787367723000,"timestamp_ms":1787367723000,"timestamp_seconds":1787367723,"priority":1,"record_length":96,"hex_timestamp":"000001a0276b0ff8"} 
[2026-08-22 08: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-22 08:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 08:32:54] 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-22 08: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-22 08: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-22 08:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566136576001,"66":14439,"37":206,"94":11008,"24":11,"16":29337006043561984,"45":875246470192109568},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 08:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566136576001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:32:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 08:32:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 08:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29337006043561984,"km_value":29337006043561.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":875246470192109568,"description":"Unknown IO ID 45"} 
[2026-08-22 08:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566136576001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":875246470192109568}} 
[2026-08-22 08:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":159611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679990,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:32:55] local.INFO: GPS data processed {"connection_id":159611,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:32:55] local.INFO: Acknowledgment sent {"connection_id":159611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:32:55] local.INFO: TCP Data received {"connection_id":160769,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:32:55] local.INFO: Processing buffer {"connection_id":160769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:32:55] local.INFO: IMEI packet received {"connection_id":160769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":160769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:32:55] local.INFO: TCP Data received {"connection_id":160769,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:32:55] local.INFO: Processing buffer {"connection_id":160769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:32:55] local.INFO: Packet analysis {"connection_id":160769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:32:55] local.INFO: Extracted packet for processing {"connection_id":160769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566016512001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32: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-22 08:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787367554000,"timestamp_ms":1787367554000,"timestamp_seconds":1787367554,"priority":1,"record_length":96,"hex_timestamp":"000001a027687bd0"} 
[2026-08-22 08: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-22 08:32:55] 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-22 08:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566016512001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566016512001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:32:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:32:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566016512001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":160769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:32:55] local.INFO: GPS data processed {"connection_id":160769,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:32:55] local.INFO: Acknowledgment sent {"connection_id":160769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:32:58] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:32:58] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:32:58] local.INFO: IMEI packet received {"connection_id":159879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":159879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:32:59] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027698d40012d196940071fedd8003e011c26..."} 
[2026-08-22 08:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027698d40012d196940071fedd8003e011c26..."} 
[2026-08-22 08:32:59] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027698d40012d196940071fedd8003e011c26..."} 
[2026-08-22 08:32:59] local.INFO: Packet analysis {"connection_id":159879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02769"} 
[2026-08-22 08:32:59] local.INFO: Extracted packet for processing {"connection_id":159879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02769"} 
[2026-08-22 08:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566106368001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:32: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-22 08:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787367624000,"timestamp_ms":1787367624000,"timestamp_seconds":1787367624,"priority":1,"record_length":96,"hex_timestamp":"000001a027698d40"} 
[2026-08-22 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-22 08:32:59] 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-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 08:32:59] 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-22 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-22 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-22 08:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:32:59] 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-22 08:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566106368001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566106368001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:32:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:32:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566106368001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":159879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:32:59] local.INFO: GPS data processed {"connection_id":159879,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:32:59] local.INFO: Acknowledgment sent {"connection_id":159879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:33:27] local.INFO: TCP Data received {"connection_id":160769,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:33:27] local.INFO: Processing buffer {"connection_id":160769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:33:27] local.INFO: Packet analysis {"connection_id":160769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:33:27] local.INFO: Extracted packet for processing {"connection_id":160769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566016512001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33: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-22 08:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787367554000,"timestamp_ms":1787367554000,"timestamp_seconds":1787367554,"priority":1,"record_length":96,"hex_timestamp":"000001a027687bd0"} 
[2026-08-22 08: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-22 08:33:27] 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-22 08:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566016512001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566016512001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:33:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566016512001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":160769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:33:27] local.INFO: GPS data processed {"connection_id":160769,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:33:27] local.INFO: Acknowledgment sent {"connection_id":160769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:33:30] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02769df48012d196940071fedd8003e011c25..."} 
[2026-08-22 08:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02769df48012d196940071fedd8003e011c25..."} 
[2026-08-22 08:33:30] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02769df48012d196940071fedd8003e011c25..."} 
[2026-08-22 08:33:30] local.INFO: Packet analysis {"connection_id":159879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02769"} 
[2026-08-22 08:33:30] local.INFO: Extracted packet for processing {"connection_id":159879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02769"} 
[2026-08-22 08:33:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566111744001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33: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-22 08:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787367645000,"timestamp_ms":1787367645000,"timestamp_seconds":1787367645,"priority":1,"record_length":96,"hex_timestamp":"000001a02769df48"} 
[2026-08-22 08: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-22 08:33:30] 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-22 08: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 08:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2839324985878452585,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79981774339309568,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 08:33:30] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,160,59,45,64,237,62,36,10,66,233,40,151,1,240,53,227,39,31,4,113,205,243,105,216,38,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 08:33:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 08: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-22 08:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:33:30] 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-22 08:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566111744001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566111744001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:33:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:33:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566111744001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":159879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:33:30] local.INFO: GPS data processed {"connection_id":159879,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:33:30] local.INFO: Acknowledgment sent {"connection_id":159879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:33:46] local.INFO: TCP Data received {"connection_id":159613,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159613,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:33:46] local.INFO: Processing buffer {"connection_id":159613,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:33:46] local.INFO: IMEI packet received {"connection_id":159613,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":159613,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:33:49] local.INFO: TCP Data received {"connection_id":159614,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:33:49] local.INFO: Processing buffer {"connection_id":159614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:33:49] local.INFO: IMEI packet received {"connection_id":159614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":159614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:33:52] local.INFO: TCP Data received {"connection_id":159613,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159613,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:33:52] local.INFO: Processing buffer {"connection_id":159613,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:33:52] local.INFO: IMEI packet received {"connection_id":159613,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":159613,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:33:52] local.INFO: TCP Data received {"connection_id":159613,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0276c63d0012d0c4d000703c8b8001900310f..."} 
[2026-08-22 08:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276c63d0012d0c4d000703c8b8001900310f..."} 
[2026-08-22 08:33:53] local.INFO: Processing buffer {"connection_id":159613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276c63d0012d0c4d000703c8b8001900310f..."} 
[2026-08-22 08:33:53] local.INFO: Packet analysis {"connection_id":159613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276c"} 
[2026-08-22 08:33:53] local.INFO: Extracted packet for processing {"connection_id":159613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276c"} 
[2026-08-22 08:33:53] local.INFO: GPS Element Parsed {"raw_longitude":755780864,"raw_latitude":117688504,"longitude_deg":75.5780864,"latitude_deg":11.7688504,"altitude":25,"angle":49,"satellites":15,"speed":21,"hex_longitude":"2d0c4d00","hex_latitude":"0703c8b8","is_valid_coordinates":true} 
[2026-08-22 08:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566157568001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29340897283932160,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880172282301878272,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:53] 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-22 08:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787367810000,"timestamp_ms":1787367810000,"timestamp_seconds":1787367810,"priority":1,"record_length":96,"hex_timestamp":"000001a0276c63d0"} 
[2026-08-22 08:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:33: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-22 08:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-22 08:33: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-22 08:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566157568001,"66":14439,"37":206,"94":11008,"24":21,"16":29340897283932160,"45":880172282301878272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 08:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566157568001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:33:53] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 08:33:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 08:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29340897283932160,"km_value":29340897283932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":880172282301878272,"description":"Unknown IO ID 45"} 
[2026-08-22 08:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566157568001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":880172282301878272}} 
[2026-08-22 08:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":159613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679995,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:33:53] local.INFO: GPS data processed {"connection_id":159613,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:33:53] local.INFO: Acknowledgment sent {"connection_id":159613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:33:53] local.INFO: TCP Data received {"connection_id":162180,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:33:53] local.INFO: Processing buffer {"connection_id":162180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:33:53] local.INFO: IMEI packet received {"connection_id":162180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":162180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:33:55] local.INFO: TCP Data received {"connection_id":159614,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:33:55] local.INFO: Processing buffer {"connection_id":159614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:33:55] local.INFO: IMEI packet received {"connection_id":159614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":159614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:33:55] local.INFO: TCP Data received {"connection_id":159614,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:33:55] local.INFO: Processing buffer {"connection_id":159614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:33:55] local.INFO: Packet analysis {"connection_id":159614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:33:55] local.INFO: Extracted packet for processing {"connection_id":159614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566016512001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33: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-22 08:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787367554000,"timestamp_ms":1787367554000,"timestamp_seconds":1787367554,"priority":1,"record_length":96,"hex_timestamp":"000001a027687bd0"} 
[2026-08-22 08: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-22 08:33:55] 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-22 08:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566016512001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566016512001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:33:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566016512001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":159614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:33:55] local.INFO: GPS data processed {"connection_id":159614,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:33:55] local.INFO: Acknowledgment sent {"connection_id":159614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:33:58] local.INFO: TCP Data received {"connection_id":162180,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:33:58] local.INFO: Processing buffer {"connection_id":162180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:33:58] local.INFO: IMEI packet received {"connection_id":162180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":162180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:33:59] local.INFO: TCP Data received {"connection_id":162180,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276a3150012d196940071fedd8003e011c24..."} 
[2026-08-22 08:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276a3150012d196940071fedd8003e011c24..."} 
[2026-08-22 08:33:59] local.INFO: Processing buffer {"connection_id":162180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276a3150012d196940071fedd8003e011c24..."} 
[2026-08-22 08:33:59] local.INFO: Packet analysis {"connection_id":162180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276a"} 
[2026-08-22 08:33:59] local.INFO: Extracted packet for processing {"connection_id":162180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276a"} 
[2026-08-22 08:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566117120001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:33: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-22 08:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787367666000,"timestamp_ms":1787367666000,"timestamp_seconds":1787367666,"priority":1,"record_length":96,"hex_timestamp":"000001a0276a3150"} 
[2026-08-22 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-22 08:33:59] 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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:33:59] 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-22 08:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566117120001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566117120001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:33:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:33:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566117120001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":162180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:33:59] local.INFO: GPS data processed {"connection_id":162180,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:33:59] local.INFO: Acknowledgment sent {"connection_id":162180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:34:26] local.INFO: TCP Data received {"connection_id":159614,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:34:26] local.INFO: Processing buffer {"connection_id":159614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027687bd0012d7f8ac005afe2d0000000fa1e..."} 
[2026-08-22 08:34:26] local.INFO: Packet analysis {"connection_id":159614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:34:26] local.INFO: Extracted packet for processing {"connection_id":159614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02768"} 
[2026-08-22 08:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":30,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566016512001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:34: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-22 08:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787367554000,"timestamp_ms":1787367554000,"timestamp_seconds":1787367554,"priority":1,"record_length":96,"hex_timestamp":"000001a027687bd0"} 
[2026-08-22 08: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-22 08:34:26] 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-22 08:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 08:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566016512001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566016512001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:34:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566016512001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":159614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:34:27] local.INFO: GPS data processed {"connection_id":159614,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:34:27] local.INFO: Acknowledgment sent {"connection_id":159614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:34:30] local.INFO: TCP Data received {"connection_id":162180,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276a8358012d196940071fedd8003e011c26..."} 
[2026-08-22 08:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276a8358012d196940071fedd8003e011c26..."} 
[2026-08-22 08:34:30] local.INFO: Processing buffer {"connection_id":162180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276a8358012d196940071fedd8003e011c26..."} 
[2026-08-22 08:34:30] local.INFO: Packet analysis {"connection_id":162180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276a"} 
[2026-08-22 08:34:30] local.INFO: Extracted packet for processing {"connection_id":162180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276a"} 
[2026-08-22 08:34:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566122496001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:34: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-22 08:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787367687000,"timestamp_ms":1787367687000,"timestamp_seconds":1787367687,"priority":1,"record_length":96,"hex_timestamp":"000001a0276a8358"} 
[2026-08-22 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-22 08:34:30] 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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:34:30] 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-22 08:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566122496001,"66":12363,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566122496001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:34:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:34:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566122496001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":162180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:34:30] local.INFO: GPS data processed {"connection_id":162180,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:34:30] local.INFO: Acknowledgment sent {"connection_id":162180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:34:36] local.INFO: TCP Data received {"connection_id":159615,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159615,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:34:36] local.INFO: Processing buffer {"connection_id":159615,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:34:36] local.INFO: IMEI packet received {"connection_id":159615,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":159615,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:34:37] local.INFO: TCP Data received {"connection_id":159615,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159615,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:34:37] local.INFO: Processing buffer {"connection_id":159615,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:34:37] local.INFO: IMEI packet received {"connection_id":159615,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":159615,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:34:40] local.INFO: TCP Data received {"connection_id":159615,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159615,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:34:40] local.INFO: Processing buffer {"connection_id":159615,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:34:40] local.INFO: IMEI packet received {"connection_id":159615,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":159615,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:34:43] local.INFO: TCP Data received {"connection_id":159615,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0276d0010012d0ca700070431100020001c0f..."} 
[2026-08-22 08:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276d0010012d0ca700070431100020001c0f..."} 
[2026-08-22 08:34:43] local.INFO: Processing buffer {"connection_id":159615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276d0010012d0ca700070431100020001c0f..."} 
[2026-08-22 08:34:43] local.INFO: Packet analysis {"connection_id":159615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:34:43] local.INFO: Extracted packet for processing {"connection_id":159615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:34:43] local.INFO: GPS Element Parsed {"raw_longitude":755803904,"raw_latitude":117715216,"longitude_deg":75.5803904,"latitude_deg":11.7715216,"altitude":32,"angle":28,"satellites":15,"speed":40,"hex_longitude":"2d0ca700","hex_latitude":"07043110","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566168064001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29342688285294592,"note":"Value kept but may cause issues"} 
[2026-08-22 08:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907897567513942016,"note":"Value kept but may cause issues"} 
[2026-08-22 08:34:43] 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-22 08:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787367850000,"timestamp_ms":1787367850000,"timestamp_seconds":1787367850,"priority":1,"record_length":96,"hex_timestamp":"000001a0276d0010"} 
[2026-08-22 08:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08:34: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-22 08:34: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-22 08:34: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-22 08:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566168064001,"66":14515,"16":29342688285294592,"94":11008,"24":40,"45":907897567513942016},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 08:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566168064001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29342688285294592,"km_value":29342688285294.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:34:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 08:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":907897567513942016,"description":"Unknown IO ID 45"} 
[2026-08-22 08:34:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457566168064001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":40,"unknown_45":907897567513942016}} 
[2026-08-22 08:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":159615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680000,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:34:43] local.INFO: GPS data processed {"connection_id":159615,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:34:43] local.INFO: Acknowledgment sent {"connection_id":159615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:34:51] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:34:51] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:34:51] local.INFO: IMEI packet received {"connection_id":159880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":159880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:34:53] local.INFO: TCP Data received {"connection_id":160770,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:34:53] local.INFO: Processing buffer {"connection_id":160770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:34:53] local.INFO: IMEI packet received {"connection_id":160770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":160770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:34:54] local.INFO: TCP Data received {"connection_id":160770,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:34:54] local.INFO: Processing buffer {"connection_id":160770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:34:54] local.INFO: IMEI packet received {"connection_id":160770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":160770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:34:55] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:34:55] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:34:55] local.INFO: IMEI packet received {"connection_id":159880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":159880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:34:58] local.INFO: TCP Data received {"connection_id":160770,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:34:58] local.INFO: Processing buffer {"connection_id":160770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:34:58] local.INFO: IMEI packet received {"connection_id":160770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":160770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:34:59] local.INFO: TCP Data received {"connection_id":160770,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276ad948012d196940071fedd8003e011c24..."} 
[2026-08-22 08:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276ad948012d196940071fedd8003e011c24..."} 
[2026-08-22 08:34:59] local.INFO: Processing buffer {"connection_id":160770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276ad948012d196940071fedd8003e011c24..."} 
[2026-08-22 08:34:59] local.INFO: Packet analysis {"connection_id":160770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276a"} 
[2026-08-22 08:34:59] local.INFO: Extracted packet for processing {"connection_id":160770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276a"} 
[2026-08-22 08:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566127872001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:34: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-22 08:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787367709000,"timestamp_ms":1787367709000,"timestamp_seconds":1787367709,"priority":1,"record_length":96,"hex_timestamp":"000001a0276ad948"} 
[2026-08-22 08: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-22 08:34:59] 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-22 08: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-22 08:34:59] 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-22 08: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-22 08: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-22 08:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:34:59] 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-22 08:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566127872001,"66":12363,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566127872001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:34:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:34:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566127872001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":160770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:34:59] local.INFO: GPS data processed {"connection_id":160770,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:34:59] local.INFO: Acknowledgment sent {"connection_id":160770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:35:00] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:35:00] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:35:00] local.INFO: IMEI packet received {"connection_id":159880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":159880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:35:00] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:35:00] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:35:00] local.INFO: Packet analysis {"connection_id":159880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:35:00] local.INFO: Extracted packet for processing {"connection_id":159880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 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-22 08:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566093824001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35: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-22 08:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787367859000,"timestamp_ms":1787367859000,"timestamp_seconds":1787367859,"priority":1,"record_length":96,"hex_timestamp":"000001a0276d2338"} 
[2026-08-22 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-22 08:35:00] 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-22 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566093824001,"66":25223,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566093824001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:35:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566093824001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":159880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:35:00] local.INFO: GPS data processed {"connection_id":159880,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:35:00] local.INFO: Acknowledgment sent {"connection_id":159880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:35:05] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:35:05] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:35:05] local.INFO: Packet analysis {"connection_id":159880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:35:05] local.INFO: Extracted packet for processing {"connection_id":159880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 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-22 08:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566093824001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35:05] 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-22 08:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787367859000,"timestamp_ms":1787367859000,"timestamp_seconds":1787367859,"priority":1,"record_length":96,"hex_timestamp":"000001a0276d2338"} 
[2026-08-22 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-22 08:35:05] 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-22 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566093824001,"66":25223,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566093824001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:35:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:35:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566093824001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":159880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:35:05] local.INFO: GPS data processed {"connection_id":159880,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:35:05] local.INFO: Acknowledgment sent {"connection_id":159880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:35:14] local.INFO: TCP Data received {"connection_id":159615,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0276d2720012d0cb44007045490001f00120f..."} 
[2026-08-22 08:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276d2720012d0cb44007045490001f00120f..."} 
[2026-08-22 08:35:14] local.INFO: Processing buffer {"connection_id":159615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276d2720012d0cb44007045490001f00120f..."} 
[2026-08-22 08:35:14] local.INFO: Packet analysis {"connection_id":159615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:35:14] local.INFO: Extracted packet for processing {"connection_id":159615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:35:14] local.INFO: GPS Element Parsed {"raw_longitude":755807296,"raw_latitude":117724304,"longitude_deg":75.5807296,"latitude_deg":11.7724304,"altitude":31,"angle":18,"satellites":15,"speed":34,"hex_longitude":"2d0cb440","hex_latitude":"07045490","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566169600001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29343156436729856,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911697479700910080,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35:14] 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-22 08:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787367860000,"timestamp_ms":1787367860000,"timestamp_seconds":1787367860,"priority":1,"record_length":96,"hex_timestamp":"000001a0276d2720"} 
[2026-08-22 08: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-22 08: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-22 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 08:35:14] 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-22 08: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-22 08: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-22 08:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566169600001,"66":14515,"16":29343156436729856,"94":11008,"24":34,"45":911697479700910080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 08:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566169600001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29343156436729856,"km_value":29343156436729.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:35:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 08:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":911697479700910080,"description":"Unknown IO ID 45"} 
[2026-08-22 08:35:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457566169600001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":34,"unknown_45":911697479700910080}} 
[2026-08-22 08:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":159615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680004,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:35:15] local.INFO: GPS data processed {"connection_id":159615,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:35:15] local.INFO: Acknowledgment sent {"connection_id":159615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:35:30] local.INFO: TCP Data received {"connection_id":160770,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276b2768012d196940071fedd8003e011c24..."} 
[2026-08-22 08:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276b2768012d196940071fedd8003e011c24..."} 
[2026-08-22 08:35:30] local.INFO: Processing buffer {"connection_id":160770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276b2768012d196940071fedd8003e011c24..."} 
[2026-08-22 08:35:30] local.INFO: Packet analysis {"connection_id":160770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276b"} 
[2026-08-22 08:35:30] local.INFO: Extracted packet for processing {"connection_id":160770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276b"} 
[2026-08-22 08:35:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566133504001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35: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-22 08:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787367729000,"timestamp_ms":1787367729000,"timestamp_seconds":1787367729,"priority":1,"record_length":96,"hex_timestamp":"000001a0276b2768"} 
[2026-08-22 08: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-22 08:35:30] 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-22 08: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-22 08:35:30] 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-22 08: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-22 08: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-22 08:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:35:30] 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-22 08:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566133504001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566133504001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:35:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:35:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566133504001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":160770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:35:30] local.INFO: GPS data processed {"connection_id":160770,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:35:30] local.INFO: Acknowledgment sent {"connection_id":160770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:35:49] local.INFO: TCP Data received {"connection_id":162181,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:35:49] local.INFO: Processing buffer {"connection_id":162181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:35:49] local.INFO: IMEI packet received {"connection_id":162181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":162181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:35:53] local.INFO: TCP Data received {"connection_id":159616,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:35:53] local.INFO: Processing buffer {"connection_id":159616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:35:53] local.INFO: IMEI packet received {"connection_id":159616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":159616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:35:55] local.INFO: TCP Data received {"connection_id":162181,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:35:55] local.INFO: Processing buffer {"connection_id":162181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:35:55] local.INFO: IMEI packet received {"connection_id":162181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":162181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:35:55] local.INFO: TCP Data received {"connection_id":162181,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:35:55] local.INFO: Processing buffer {"connection_id":162181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:35:55] local.INFO: Packet analysis {"connection_id":162181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:35:55] local.INFO: Extracted packet for processing {"connection_id":162181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566093824001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35: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-22 08:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787367859000,"timestamp_ms":1787367859000,"timestamp_seconds":1787367859,"priority":1,"record_length":96,"hex_timestamp":"000001a0276d2338"} 
[2026-08-22 08: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-22 08:35:55] 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-22 08:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566093824001,"66":25223,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566093824001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:35:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:35:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566093824001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":162181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:35:55] local.INFO: GPS data processed {"connection_id":162181,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:35:55] local.INFO: Acknowledgment sent {"connection_id":162181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:35:57] local.INFO: TCP Data received {"connection_id":159616,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:35:57] local.INFO: Processing buffer {"connection_id":159616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:35:57] local.INFO: IMEI packet received {"connection_id":159616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":159616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:35:58] local.INFO: TCP Data received {"connection_id":159616,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:35:58] local.INFO: Processing buffer {"connection_id":159616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:35:58] local.INFO: IMEI packet received {"connection_id":159616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":159616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:35:59] local.INFO: TCP Data received {"connection_id":159616,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276b7970012d196940071fedd8003e011c24..."} 
[2026-08-22 08:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276b7970012d196940071fedd8003e011c24..."} 
[2026-08-22 08:35:59] local.INFO: Processing buffer {"connection_id":159616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276b7970012d196940071fedd8003e011c24..."} 
[2026-08-22 08:35:59] local.INFO: Packet analysis {"connection_id":159616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276b"} 
[2026-08-22 08:35:59] local.INFO: Extracted packet for processing {"connection_id":159616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276b"} 
[2026-08-22 08:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566138624001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:35: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-22 08:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787367750000,"timestamp_ms":1787367750000,"timestamp_seconds":1787367750,"priority":1,"record_length":96,"hex_timestamp":"000001a0276b7970"} 
[2026-08-22 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-22 08:35:59] 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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:35:59] 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-22 08:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566138624001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566138624001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:35:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:35:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566138624001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":159616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:35:59] local.INFO: GPS data processed {"connection_id":159616,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:35:59] local.INFO: Acknowledgment sent {"connection_id":159616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:36:04] local.INFO: TCP Data received {"connection_id":159616,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276bcb78012d196940071fedd8003e011c25..."} 
[2026-08-22 08:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276bcb78012d196940071fedd8003e011c25..."} 
[2026-08-22 08:36:04] local.INFO: Processing buffer {"connection_id":159616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276bcb78012d196940071fedd8003e011c25..."} 
[2026-08-22 08:36:04] local.INFO: Packet analysis {"connection_id":159616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276b"} 
[2026-08-22 08:36:04] local.INFO: Extracted packet for processing {"connection_id":159616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276b"} 
[2026-08-22 08:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566144000001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787367771000,"timestamp_ms":1787367771000,"timestamp_seconds":1787367771,"priority":1,"record_length":96,"hex_timestamp":"000001a0276bcb78"} 
[2026-08-22 08: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-22 08:36:04] 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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:36:04] 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-22 08: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-22 08: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-22 08:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:36:04] 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-22 08:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566144000001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566144000001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:36:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566144000001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":159616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:36:04] local.INFO: GPS data processed {"connection_id":159616,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:36:04] local.INFO: Acknowledgment sent {"connection_id":159616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:36:11] local.INFO: TCP Data received {"connection_id":162182,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162182,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:36:11] local.INFO: Processing buffer {"connection_id":162182,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:36:11] local.INFO: IMEI packet received {"connection_id":162182,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":162182,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:36:12] local.INFO: TCP Data received {"connection_id":162182,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162182,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:36:12] local.INFO: Processing buffer {"connection_id":162182,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:36:12] local.INFO: IMEI packet received {"connection_id":162182,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":162182,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:36:17] local.INFO: TCP Data received {"connection_id":162182,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162182,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:36:17] local.INFO: Processing buffer {"connection_id":162182,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:36:17] local.INFO: IMEI packet received {"connection_id":162182,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":162182,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:36:27] local.INFO: TCP Data received {"connection_id":162181,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:36:27] local.INFO: Processing buffer {"connection_id":162181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:36:27] local.INFO: Packet analysis {"connection_id":162181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:36:27] local.INFO: Extracted packet for processing {"connection_id":162181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566093824001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:36: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-22 08:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787367859000,"timestamp_ms":1787367859000,"timestamp_seconds":1787367859,"priority":1,"record_length":96,"hex_timestamp":"000001a0276d2338"} 
[2026-08-22 08: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-22 08:36:27] 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-22 08:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566093824001,"66":25223,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566093824001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:36:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566093824001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":162181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:36:27] local.INFO: GPS data processed {"connection_id":162181,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:36:27] local.INFO: Acknowledgment sent {"connection_id":162181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:36:35] local.INFO: TCP Data received {"connection_id":159616,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276c1d80012d196940071fedd8003e011c24..."} 
[2026-08-22 08:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276c1d80012d196940071fedd8003e011c24..."} 
[2026-08-22 08:36:35] local.INFO: Processing buffer {"connection_id":159616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276c1d80012d196940071fedd8003e011c24..."} 
[2026-08-22 08:36:35] local.INFO: Packet analysis {"connection_id":159616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276c"} 
[2026-08-22 08:36:35] local.INFO: Extracted packet for processing {"connection_id":159616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276c"} 
[2026-08-22 08:36:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566149376001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787367792000,"timestamp_ms":1787367792000,"timestamp_seconds":1787367792,"priority":1,"record_length":96,"hex_timestamp":"000001a0276c1d80"} 
[2026-08-22 08: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-22 08:36: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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:36:35] 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-22 08: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-22 08: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-22 08:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:36:35] 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-22 08:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566149376001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566149376001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:36:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:36:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566149376001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":159616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:36:36] local.INFO: GPS data processed {"connection_id":159616,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:36:36] local.INFO: Acknowledgment sent {"connection_id":159616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:36:49] local.INFO: TCP Data received {"connection_id":162183,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:36:49] local.INFO: Processing buffer {"connection_id":162183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:36:49] local.INFO: IMEI packet received {"connection_id":162183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":162183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:36:53] local.INFO: TCP Data received {"connection_id":160771,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:36:53] local.INFO: Processing buffer {"connection_id":160771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:36:53] local.INFO: IMEI packet received {"connection_id":160771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":160771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:36:55] local.INFO: TCP Data received {"connection_id":162183,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:36:55] local.INFO: Processing buffer {"connection_id":162183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:36:55] local.INFO: IMEI packet received {"connection_id":162183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":162183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:36:55] local.INFO: TCP Data received {"connection_id":162183,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:36:55] local.INFO: Processing buffer {"connection_id":162183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:36:55] local.INFO: Packet analysis {"connection_id":162183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:36:55] local.INFO: Extracted packet for processing {"connection_id":162183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:36:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566093824001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:36: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-22 08:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787367859000,"timestamp_ms":1787367859000,"timestamp_seconds":1787367859,"priority":1,"record_length":96,"hex_timestamp":"000001a0276d2338"} 
[2026-08-22 08: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-22 08:36:55] 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-22 08:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566093824001,"66":25223,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566093824001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:36:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:36:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566093824001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":162183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:36:55] local.INFO: GPS data processed {"connection_id":162183,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:36:55] local.INFO: Acknowledgment sent {"connection_id":162183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:36:59] local.INFO: TCP Data received {"connection_id":160771,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:36:59] local.INFO: Processing buffer {"connection_id":160771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:36:59] local.INFO: IMEI packet received {"connection_id":160771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":160771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:36:59] local.INFO: TCP Data received {"connection_id":160771,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276c6f88012d196940071fedd8003e011c24..."} 
[2026-08-22 08:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276c6f88012d196940071fedd8003e011c24..."} 
[2026-08-22 08:36:59] local.INFO: Processing buffer {"connection_id":160771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276c6f88012d196940071fedd8003e011c24..."} 
[2026-08-22 08:36:59] local.INFO: Packet analysis {"connection_id":160771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276c"} 
[2026-08-22 08:36:59] local.INFO: Extracted packet for processing {"connection_id":160771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276c"} 
[2026-08-22 08:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566154752001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:36: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-22 08:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787367813000,"timestamp_ms":1787367813000,"timestamp_seconds":1787367813,"priority":1,"record_length":96,"hex_timestamp":"000001a0276c6f88"} 
[2026-08-22 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-22 08:36:59] 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-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 08:36:59] 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-22 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-22 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-22 08:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:36:59] 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-22 08:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566154752001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566154752001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:36:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:36:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566154752001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":160771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:36:59] local.INFO: GPS data processed {"connection_id":160771,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:36:59] local.INFO: Acknowledgment sent {"connection_id":160771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:37:15] local.INFO: TCP Data received {"connection_id":159617,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:37:15] local.INFO: Processing buffer {"connection_id":159617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:37:15] local.INFO: IMEI packet received {"connection_id":159617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":159617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:37:27] local.INFO: TCP Data received {"connection_id":162183,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:37:27] local.INFO: Processing buffer {"connection_id":162183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:37:27] local.INFO: Packet analysis {"connection_id":162183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:37:27] local.INFO: Extracted packet for processing {"connection_id":162183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566093824001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:37: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-22 08:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787367859000,"timestamp_ms":1787367859000,"timestamp_seconds":1787367859,"priority":1,"record_length":96,"hex_timestamp":"000001a0276d2338"} 
[2026-08-22 08: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-22 08:37:27] 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-22 08:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566093824001,"66":25223,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566093824001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:37:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566093824001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":162183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:37:27] local.INFO: GPS data processed {"connection_id":162183,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:37:27] local.INFO: Acknowledgment sent {"connection_id":162183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:37:31] local.INFO: TCP Data received {"connection_id":160771,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276cc190012d196940071fedd8003e011c26..."} 
[2026-08-22 08:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276cc190012d196940071fedd8003e011c26..."} 
[2026-08-22 08:37:31] local.INFO: Processing buffer {"connection_id":160771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276cc190012d196940071fedd8003e011c26..."} 
[2026-08-22 08:37:31] local.INFO: Packet analysis {"connection_id":160771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276c"} 
[2026-08-22 08:37:31] local.INFO: Extracted packet for processing {"connection_id":160771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276c"} 
[2026-08-22 08:37:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566160128001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787367834000,"timestamp_ms":1787367834000,"timestamp_seconds":1787367834,"priority":1,"record_length":96,"hex_timestamp":"000001a0276cc190"} 
[2026-08-22 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-22 08: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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:37:31] 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-22 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-22 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-22 08:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:37:31] 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-22 08:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566160128001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566160128001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:37:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:37:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566160128001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":160771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:37:31] local.INFO: GPS data processed {"connection_id":160771,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:37:31] local.INFO: Acknowledgment sent {"connection_id":160771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:37:49] local.INFO: TCP Data received {"connection_id":159618,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:37:49] local.INFO: Processing buffer {"connection_id":159618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:37:49] local.INFO: IMEI packet received {"connection_id":159618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":159618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:37:53] local.INFO: TCP Data received {"connection_id":162185,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:37:53] local.INFO: Processing buffer {"connection_id":162185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:37:53] local.INFO: IMEI packet received {"connection_id":162185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":162185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:37:55] local.INFO: TCP Data received {"connection_id":159618,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:37:55] local.INFO: Processing buffer {"connection_id":159618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:37:55] local.INFO: IMEI packet received {"connection_id":159618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":159618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:37:55] local.INFO: TCP Data received {"connection_id":159618,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:37:55] local.INFO: Processing buffer {"connection_id":159618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:37:55] local.INFO: Packet analysis {"connection_id":159618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:37:55] local.INFO: Extracted packet for processing {"connection_id":159618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566093824001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:37: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-22 08:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787367859000,"timestamp_ms":1787367859000,"timestamp_seconds":1787367859,"priority":1,"record_length":96,"hex_timestamp":"000001a0276d2338"} 
[2026-08-22 08:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:37:55] 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-22 08:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566093824001,"66":25223,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566093824001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:37:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:37:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566093824001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":159618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:37:55] local.INFO: GPS data processed {"connection_id":159618,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:37:55] local.INFO: Acknowledgment sent {"connection_id":159618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:37:58] local.INFO: TCP Data received {"connection_id":162185,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:37:58] local.INFO: Processing buffer {"connection_id":162185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:37:58] local.INFO: IMEI packet received {"connection_id":162185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":162185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:37:59] local.INFO: TCP Data received {"connection_id":162185,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276d1398012d196940071fedd8003e011c25..."} 
[2026-08-22 08:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276d1398012d196940071fedd8003e011c25..."} 
[2026-08-22 08:37:59] local.INFO: Processing buffer {"connection_id":162185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276d1398012d196940071fedd8003e011c25..."} 
[2026-08-22 08:37:59] local.INFO: Packet analysis {"connection_id":162185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:37:59] local.INFO: Extracted packet for processing {"connection_id":162185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566165504001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:37: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-22 08:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787367855000,"timestamp_ms":1787367855000,"timestamp_seconds":1787367855,"priority":1,"record_length":96,"hex_timestamp":"000001a0276d1398"} 
[2026-08-22 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-22 08:37:59] 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-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 08:37:59] 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-22 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-22 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-22 08:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:37:59] 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-22 08:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566165504001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566165504001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:37:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:37:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566165504001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":162185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:37:59] local.INFO: GPS data processed {"connection_id":162185,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:37:59] local.INFO: Acknowledgment sent {"connection_id":162185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:38:27] local.INFO: TCP Data received {"connection_id":159618,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:38:27] local.INFO: Processing buffer {"connection_id":159618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:38:27] local.INFO: Packet analysis {"connection_id":159618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:38:27] local.INFO: Extracted packet for processing {"connection_id":159618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566093824001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38: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-22 08:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787367859000,"timestamp_ms":1787367859000,"timestamp_seconds":1787367859,"priority":1,"record_length":96,"hex_timestamp":"000001a0276d2338"} 
[2026-08-22 08: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-22 08:38:27] 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-22 08:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566093824001,"66":25223,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566093824001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:38:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566093824001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":159618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:38:27] local.INFO: GPS data processed {"connection_id":159618,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:38:27] local.INFO: Acknowledgment sent {"connection_id":159618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:38:30] local.INFO: TCP Data received {"connection_id":162185,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276d65a0012d196940071fedd8003e011c25..."} 
[2026-08-22 08:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276d65a0012d196940071fedd8003e011c25..."} 
[2026-08-22 08:38:30] local.INFO: Processing buffer {"connection_id":162185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276d65a0012d196940071fedd8003e011c25..."} 
[2026-08-22 08:38:30] local.INFO: Packet analysis {"connection_id":162185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:38:30] local.INFO: Extracted packet for processing {"connection_id":162185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:38:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566170880001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38: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-22 08:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787367876000,"timestamp_ms":1787367876000,"timestamp_seconds":1787367876,"priority":1,"record_length":96,"hex_timestamp":"000001a0276d65a0"} 
[2026-08-22 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-22 08:38:30] 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-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 08:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2840321418291124585,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79978475804426240,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 08:38:30] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,193,45,64,237,62,38,10,66,111,36,29,1,240,255,227,39,31,4,113,205,121,105,216,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 08:38:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883250567610368,"timestamp_seconds":4467883250567610.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 08:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:38:30] 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-22 08:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566170880001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566170880001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:38:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:38:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566170880001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":162185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:38:30] local.INFO: GPS data processed {"connection_id":162185,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:38:30] local.INFO: Acknowledgment sent {"connection_id":162185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:38:53] local.INFO: TCP Data received {"connection_id":159620,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:38:53] local.INFO: Processing buffer {"connection_id":159620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:38:53] local.INFO: IMEI packet received {"connection_id":159620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":159620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:38:55] local.INFO: TCP Data received {"connection_id":159619,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:38:55] local.INFO: Processing buffer {"connection_id":159619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:38:55] local.INFO: IMEI packet received {"connection_id":159619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":159619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:38:58] local.INFO: TCP Data received {"connection_id":159620,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:38:58] local.INFO: Processing buffer {"connection_id":159620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:38:58] local.INFO: IMEI packet received {"connection_id":159620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":159620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:38:59] local.INFO: TCP Data received {"connection_id":159620,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276db7a8012d196940071fedd8003e011c25..."} 
[2026-08-22 08:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276db7a8012d196940071fedd8003e011c25..."} 
[2026-08-22 08:38:59] local.INFO: Processing buffer {"connection_id":159620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276db7a8012d196940071fedd8003e011c25..."} 
[2026-08-22 08:38:59] local.INFO: Packet analysis {"connection_id":159620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:38:59] local.INFO: Extracted packet for processing {"connection_id":159620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566176256001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:38: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-22 08:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787367897000,"timestamp_ms":1787367897000,"timestamp_seconds":1787367897,"priority":1,"record_length":96,"hex_timestamp":"000001a0276db7a8"} 
[2026-08-22 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-22 08:38:59] 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-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 08:38:59] 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-22 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-22 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-22 08:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:38:59] 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-22 08:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566176256001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566176256001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:38:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:38:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566176256001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":159620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:38:59] local.INFO: GPS data processed {"connection_id":159620,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:38:59] local.INFO: Acknowledgment sent {"connection_id":159620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:39:01] local.INFO: TCP Data received {"connection_id":159619,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:39:01] local.INFO: Processing buffer {"connection_id":159619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:39:01] local.INFO: IMEI packet received {"connection_id":159619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":159619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:39:02] local.INFO: TCP Data received {"connection_id":159619,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:39:02] local.INFO: Processing buffer {"connection_id":159619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:39:02] local.INFO: Packet analysis {"connection_id":159619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:39:02] local.INFO: Extracted packet for processing {"connection_id":159619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566093824001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:39:02] 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-22 08:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787367859000,"timestamp_ms":1787367859000,"timestamp_seconds":1787367859,"priority":1,"record_length":96,"hex_timestamp":"000001a0276d2338"} 
[2026-08-22 08: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-22 08:39:02] 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-22 08: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566093824001,"66":25223,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566093824001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:39:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:39:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566093824001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":159619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:39:02] local.INFO: GPS data processed {"connection_id":159619,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:39:02] local.INFO: Acknowledgment sent {"connection_id":159619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:39:05] local.INFO: TCP Data received {"connection_id":159619,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:39:05] local.INFO: Processing buffer {"connection_id":159619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276d2338012d7f8ac005afe2d0000000fa1f..."} 
[2026-08-22 08:39:05] local.INFO: Packet analysis {"connection_id":159619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:39:05] local.INFO: Extracted packet for processing {"connection_id":159619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276d"} 
[2026-08-22 08:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":31,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566093824001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:39:05] 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-22 08:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787367859000,"timestamp_ms":1787367859000,"timestamp_seconds":1787367859,"priority":1,"record_length":96,"hex_timestamp":"000001a0276d2338"} 
[2026-08-22 08: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-22 08:39:05] 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-22 08:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566093824001,"66":25223,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566093824001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:39:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566093824001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":159619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:39:05] local.INFO: GPS data processed {"connection_id":159619,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:39:05] local.INFO: Acknowledgment sent {"connection_id":159619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:39:30] local.INFO: TCP Data received {"connection_id":159620,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276e09b0012d196940071fedd8003e011c26..."} 
[2026-08-22 08:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276e09b0012d196940071fedd8003e011c26..."} 
[2026-08-22 08:39:30] local.INFO: Processing buffer {"connection_id":159620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276e09b0012d196940071fedd8003e011c26..."} 
[2026-08-22 08:39:30] local.INFO: Packet analysis {"connection_id":159620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276e"} 
[2026-08-22 08:39:30] local.INFO: Extracted packet for processing {"connection_id":159620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276e"} 
[2026-08-22 08:39:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566181632001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:39: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-22 08:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787367918000,"timestamp_ms":1787367918000,"timestamp_seconds":1787367918,"priority":1,"record_length":96,"hex_timestamp":"000001a0276e09b0"} 
[2026-08-22 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-22 08:39:30] 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-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 08:39:30] 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-22 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-22 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-22 08:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:39:30] 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-22 08:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566181632001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566181632001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:39:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:39:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566181632001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":159620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:39:30] local.INFO: GPS data processed {"connection_id":159620,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:39:30] local.INFO: Acknowledgment sent {"connection_id":159620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:39:50] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:39:50] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:39:50] local.INFO: IMEI packet received {"connection_id":159881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":159881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:39:52] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:39:52] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:39:52] local.INFO: IMEI packet received {"connection_id":159881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":159881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:39:53] local.INFO: TCP Data received {"connection_id":159882,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:39:53] local.INFO: Processing buffer {"connection_id":159882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:39:53] local.INFO: IMEI packet received {"connection_id":159882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":159882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:39:53] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:39:53] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:39:53] local.INFO: Packet analysis {"connection_id":159881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:39:53] local.INFO: Extracted packet for processing {"connection_id":159881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:39:53] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566171904001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:39:53] 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-22 08:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787368168000,"timestamp_ms":1787368168000,"timestamp_seconds":1787368168,"priority":1,"record_length":96,"hex_timestamp":"000001a02771da40"} 
[2026-08-22 08: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-22 08:39:53] 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-22 08: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-22 08:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566171904001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566171904001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:39:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:39:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566171904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":159881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:39:53] local.INFO: GPS data processed {"connection_id":159881,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:39:53] local.INFO: Acknowledgment sent {"connection_id":159881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:39:58] local.INFO: TCP Data received {"connection_id":159882,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:39:58] local.INFO: Processing buffer {"connection_id":159882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:39:58] local.INFO: IMEI packet received {"connection_id":159882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":159882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:39:59] local.INFO: TCP Data received {"connection_id":159882,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276e5bb8012d196940071fedd8003e011c26..."} 
[2026-08-22 08:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276e5bb8012d196940071fedd8003e011c26..."} 
[2026-08-22 08:39:59] local.INFO: Processing buffer {"connection_id":159882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276e5bb8012d196940071fedd8003e011c26..."} 
[2026-08-22 08:39:59] local.INFO: Packet analysis {"connection_id":159882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276e"} 
[2026-08-22 08:39:59] local.INFO: Extracted packet for processing {"connection_id":159882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276e"} 
[2026-08-22 08:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566187008001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:39: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-22 08:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787367939000,"timestamp_ms":1787367939000,"timestamp_seconds":1787367939,"priority":1,"record_length":96,"hex_timestamp":"000001a0276e5bb8"} 
[2026-08-22 08: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-22 08:39:59] 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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:39:59] 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-22 08:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566187008001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566187008001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:39:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:39:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566187008001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":159882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:39:59] local.INFO: GPS data processed {"connection_id":159882,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:39:59] local.INFO: Acknowledgment sent {"connection_id":159882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:40:01] local.INFO: TCP Data received {"connection_id":160772,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:40:01] local.INFO: Processing buffer {"connection_id":160772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:40:01] local.INFO: IMEI packet received {"connection_id":160772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":160772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:40:06] local.INFO: TCP Data received {"connection_id":160772,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:40:06] local.INFO: Processing buffer {"connection_id":160772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:40:06] local.INFO: IMEI packet received {"connection_id":160772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":160772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:40:07] local.INFO: TCP Data received {"connection_id":160772,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0276a96e0012d7a1d8005e469780009004c27..."} 
[2026-08-22 08:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276a96e0012d7a1d8005e469780009004c27..."} 
[2026-08-22 08:40:07] local.INFO: Processing buffer {"connection_id":160772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276a96e0012d7a1d8005e469780009004c27..."} 
[2026-08-22 08:40:07] local.INFO: Packet analysis {"connection_id":160772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276a"} 
[2026-08-22 08:40:07] local.INFO: Extracted packet for processing {"connection_id":160772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276a"} 
[2026-08-22 08:40:07] local.INFO: GPS Element Parsed {"raw_longitude":762977664,"raw_latitude":98855288,"longitude_deg":76.2977664,"latitude_deg":9.8855288,"altitude":9,"angle":76,"satellites":39,"speed":0,"hex_longitude":"2d7a1d80","hex_latitude":"05e46978","is_valid_coordinates":true} 
[2026-08-22 08:40:07] 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-22 08:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566128896001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122257223333183488,"note":"Value kept but may cause issues"} 
[2026-08-22 08:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799259641002940416,"note":"Value kept but may cause issues"} 
[2026-08-22 08:40:07] 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-22 08:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787367692000,"timestamp_ms":1787367692000,"timestamp_seconds":1787367692,"priority":1,"record_length":96,"hex_timestamp":"000001a0276a96e0"} 
[2026-08-22 08:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 08:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-22 08:40:07] 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-22 08:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:40:07] 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-22 08:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566128896001,"66":13602,"208":206,"85":15104,"24":0,"16":122257223333183488,"45":8799259641002940416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 08:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566128896001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:40:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 08:40:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122257223333183488,"km_value":122257223333183.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799259641002940416,"description":"Unknown IO ID 45"} 
[2026-08-22 08:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566128896001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799259641002940416}} 
[2026-08-22 08:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":160772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:40:07] local.INFO: GPS data processed {"connection_id":160772,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:40:07] local.INFO: Acknowledgment sent {"connection_id":160772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:40:24] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:40:24] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:40:24] local.INFO: Packet analysis {"connection_id":159881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:40:24] local.INFO: Extracted packet for processing {"connection_id":159881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:40:24] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566171904001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:40: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-22 08:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787368168000,"timestamp_ms":1787368168000,"timestamp_seconds":1787368168,"priority":1,"record_length":96,"hex_timestamp":"000001a02771da40"} 
[2026-08-22 08: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-22 08:40: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-22 08: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-22 08:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566171904001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566171904001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:40:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:40:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566171904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":159881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:40:24] local.INFO: GPS data processed {"connection_id":159881,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:40:24] local.INFO: Acknowledgment sent {"connection_id":159881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:40:30] local.INFO: TCP Data received {"connection_id":159882,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276eadc0012d196940071fedd8003e011c26..."} 
[2026-08-22 08:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276eadc0012d196940071fedd8003e011c26..."} 
[2026-08-22 08:40:30] local.INFO: Processing buffer {"connection_id":159882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276eadc0012d196940071fedd8003e011c26..."} 
[2026-08-22 08:40:30] local.INFO: Packet analysis {"connection_id":159882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276e"} 
[2026-08-22 08:40:30] local.INFO: Extracted packet for processing {"connection_id":159882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276e"} 
[2026-08-22 08:40:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566192384001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:40: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-22 08:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787367960000,"timestamp_ms":1787367960000,"timestamp_seconds":1787367960,"priority":1,"record_length":96,"hex_timestamp":"000001a0276eadc0"} 
[2026-08-22 08: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-22 08:40:30] 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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:40:30] 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-22 08:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566192384001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566192384001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:40:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:40:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566192384001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":159882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:40:30] local.INFO: GPS data processed {"connection_id":159882,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:40:30] local.INFO: Acknowledgment sent {"connection_id":159882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:40:39] local.INFO: TCP Data received {"connection_id":160772,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0276a96e0012d7a1d8005e469780009004c27..."} 
[2026-08-22 08:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276a96e0012d7a1d8005e469780009004c27..."} 
[2026-08-22 08:40:39] local.INFO: Processing buffer {"connection_id":160772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276a96e0012d7a1d8005e469780009004c27..."} 
[2026-08-22 08:40:39] local.INFO: Packet analysis {"connection_id":160772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276a"} 
[2026-08-22 08:40:39] local.INFO: Extracted packet for processing {"connection_id":160772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276a"} 
[2026-08-22 08:40:39] local.INFO: GPS Element Parsed {"raw_longitude":762977664,"raw_latitude":98855288,"longitude_deg":76.2977664,"latitude_deg":9.8855288,"altitude":9,"angle":76,"satellites":39,"speed":0,"hex_longitude":"2d7a1d80","hex_latitude":"05e46978","is_valid_coordinates":true} 
[2026-08-22 08:40:39] 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-22 08:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566129152001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122257223333183488,"note":"Value kept but may cause issues"} 
[2026-08-22 08:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799330009747126272,"note":"Value kept but may cause issues"} 
[2026-08-22 08:40:39] 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-22 08:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787367692000,"timestamp_ms":1787367692000,"timestamp_seconds":1787367692,"priority":1,"record_length":96,"hex_timestamp":"000001a0276a96e0"} 
[2026-08-22 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-22 08:40: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-22 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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-22 08:40:39] 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-22 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-22 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-22 08:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:40: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-22 08:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566129152001,"66":13602,"208":206,"85":15104,"24":0,"16":122257223333183488,"45":8799330009747126272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 08:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566129152001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:40:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 08:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122257223333183488,"km_value":122257223333183.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799330009747126272,"description":"Unknown IO ID 45"} 
[2026-08-22 08:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566129152001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799330009747126272}} 
[2026-08-22 08:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":160772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:40:39] local.INFO: GPS data processed {"connection_id":160772,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:40:39] local.INFO: Acknowledgment sent {"connection_id":160772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:40:49] local.INFO: TCP Data received {"connection_id":159623,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:40:49] local.INFO: Processing buffer {"connection_id":159623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:40:49] local.INFO: IMEI packet received {"connection_id":159623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":159623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:40:55] local.INFO: TCP Data received {"connection_id":159623,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:40:55] local.INFO: Processing buffer {"connection_id":159623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:40:55] local.INFO: IMEI packet received {"connection_id":159623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":159623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:40:55] local.INFO: TCP Data received {"connection_id":159623,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:40:55] local.INFO: Processing buffer {"connection_id":159623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:40:55] local.INFO: Packet analysis {"connection_id":159623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:40:55] local.INFO: Extracted packet for processing {"connection_id":159623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566171904001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:40: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-22 08:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787368168000,"timestamp_ms":1787368168000,"timestamp_seconds":1787368168,"priority":1,"record_length":96,"hex_timestamp":"000001a02771da40"} 
[2026-08-22 08: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-22 08:40:55] 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-22 08:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-22 08:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566171904001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566171904001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:40:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:40:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566171904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":159623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:40:55] local.INFO: GPS data processed {"connection_id":159623,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:40:55] local.INFO: Acknowledgment sent {"connection_id":159623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:40:56] local.INFO: TCP Data received {"connection_id":159625,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:40:56] local.INFO: Processing buffer {"connection_id":159625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:40:56] local.INFO: IMEI packet received {"connection_id":159625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":159625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:40:58] local.INFO: TCP Data received {"connection_id":159624,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:40:58] local.INFO: Processing buffer {"connection_id":159624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:40:58] local.INFO: IMEI packet received {"connection_id":159624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":159624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:41:01] local.INFO: TCP Data received {"connection_id":159625,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:41:01] local.INFO: Processing buffer {"connection_id":159625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:41:01] local.INFO: IMEI packet received {"connection_id":159625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 08:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":159625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:41:02] local.INFO: TCP Data received {"connection_id":159625,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0276a96e0012d7a1d8005e469780009004c27..."} 
[2026-08-22 08:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276a96e0012d7a1d8005e469780009004c27..."} 
[2026-08-22 08:41:02] local.INFO: Processing buffer {"connection_id":159625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276a96e0012d7a1d8005e469780009004c27..."} 
[2026-08-22 08:41:02] local.INFO: Packet analysis {"connection_id":159625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276a"} 
[2026-08-22 08:41:02] local.INFO: Extracted packet for processing {"connection_id":159625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276a"} 
[2026-08-22 08:41:02] local.INFO: GPS Element Parsed {"raw_longitude":762977664,"raw_latitude":98855288,"longitude_deg":76.2977664,"latitude_deg":9.8855288,"altitude":9,"angle":76,"satellites":39,"speed":0,"hex_longitude":"2d7a1d80","hex_latitude":"05e46978","is_valid_coordinates":true} 
[2026-08-22 08:41:02] 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-22 08:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566129152001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122257223333183488,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799330009747126272,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41:02] 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-22 08:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787367692000,"timestamp_ms":1787367692000,"timestamp_seconds":1787367692,"priority":1,"record_length":96,"hex_timestamp":"000001a0276a96e0"} 
[2026-08-22 08: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-22 08: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-22 08: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-22 08:41:02] 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-22 08: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-22 08: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-22 08:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 08:41:02] 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-22 08:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 08:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 08:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566129152001,"66":13602,"208":206,"85":15104,"24":0,"16":122257223333183488,"45":8799330009747126272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 08:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 08:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 08:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566129152001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:41:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 08:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 08:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122257223333183488,"km_value":122257223333183.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799330009747126272,"description":"Unknown IO ID 45"} 
[2026-08-22 08:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566129152001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799330009747126272}} 
[2026-08-22 08:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":159625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:41:02] local.INFO: GPS data processed {"connection_id":159625,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:41:02] local.INFO: Acknowledgment sent {"connection_id":159625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:41:03] local.INFO: TCP Data received {"connection_id":159624,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:41:03] local.INFO: Processing buffer {"connection_id":159624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:41:03] local.INFO: IMEI packet received {"connection_id":159624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":159624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:41:08] local.INFO: TCP Data received {"connection_id":159624,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276effc8012d196940071fedd8003e011c25..."} 
[2026-08-22 08:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276effc8012d196940071fedd8003e011c25..."} 
[2026-08-22 08:41:08] local.INFO: Processing buffer {"connection_id":159624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276effc8012d196940071fedd8003e011c25..."} 
[2026-08-22 08:41:08] local.INFO: Packet analysis {"connection_id":159624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276e"} 
[2026-08-22 08:41:08] local.INFO: Extracted packet for processing {"connection_id":159624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276e"} 
[2026-08-22 08:41:08] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566197760001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787367981000,"timestamp_ms":1787367981000,"timestamp_seconds":1787367981,"priority":1,"record_length":96,"hex_timestamp":"000001a0276effc8"} 
[2026-08-22 08:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:41: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-22 08:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:41:08] 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-22 08:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:41:08] 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-22 08:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566197760001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566197760001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:41:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:41:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566197760001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":159624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:41:08] local.INFO: GPS data processed {"connection_id":159624,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:41:08] local.INFO: Acknowledgment sent {"connection_id":159624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:41:08] local.INFO: TCP Data received {"connection_id":159624,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0276f51d0012d196940071fedd8003e011c27..."} 
[2026-08-22 08:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0276f51d0012d196940071fedd8003e011c27..."} 
[2026-08-22 08:41:08] local.INFO: Processing buffer {"connection_id":159624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0276f51d0012d196940071fedd8003e011c27..."} 
[2026-08-22 08:41:08] local.INFO: Packet analysis {"connection_id":159624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0276f"} 
[2026-08-22 08:41:08] local.INFO: Extracted packet for processing {"connection_id":159624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0276f"} 
[2026-08-22 08:41:08] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566203136001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787368002000,"timestamp_ms":1787368002000,"timestamp_seconds":1787368002,"priority":1,"record_length":96,"hex_timestamp":"000001a0276f51d0"} 
[2026-08-22 08:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:41: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-22 08:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:41:08] 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-22 08:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:41:08] 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-22 08:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566203136001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566203136001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:41:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:41:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566203136001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":159624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:41:09] local.INFO: GPS data processed {"connection_id":159624,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:41:09] local.INFO: Acknowledgment sent {"connection_id":159624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:41:27] local.INFO: TCP Data received {"connection_id":159623,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:41:27] local.INFO: Processing buffer {"connection_id":159623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:41:27] local.INFO: Packet analysis {"connection_id":159623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:41:27] local.INFO: Extracted packet for processing {"connection_id":159623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566171904001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41: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-22 08:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787368168000,"timestamp_ms":1787368168000,"timestamp_seconds":1787368168,"priority":1,"record_length":96,"hex_timestamp":"000001a02771da40"} 
[2026-08-22 08: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-22 08:41:27] 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-22 08:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-22 08:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566171904001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566171904001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:41:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566171904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":159623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:41:27] local.INFO: GPS data processed {"connection_id":159623,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:41:27] local.INFO: Acknowledgment sent {"connection_id":159623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:41:49] local.INFO: TCP Data received {"connection_id":159883,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:41:49] local.INFO: Processing buffer {"connection_id":159883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:41:49] local.INFO: IMEI packet received {"connection_id":159883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":159883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:41:53] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:41:53] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:41:53] local.INFO: IMEI packet received {"connection_id":159884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":159884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:41:54] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:41:54] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:41:54] local.INFO: IMEI packet received {"connection_id":159884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":159884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:41:55] local.INFO: TCP Data received {"connection_id":159883,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:41:55] local.INFO: Processing buffer {"connection_id":159883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:41:55] local.INFO: IMEI packet received {"connection_id":159883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":159883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:41:55] local.INFO: TCP Data received {"connection_id":159883,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:41:55] local.INFO: Processing buffer {"connection_id":159883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:41:55] local.INFO: Packet analysis {"connection_id":159883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:41:55] local.INFO: Extracted packet for processing {"connection_id":159883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566171904001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41: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-22 08:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787368168000,"timestamp_ms":1787368168000,"timestamp_seconds":1787368168,"priority":1,"record_length":96,"hex_timestamp":"000001a02771da40"} 
[2026-08-22 08:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:41:55] 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-22 08:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-22 08:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566171904001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566171904001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:41:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:41:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566171904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":159883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:41:55] local.INFO: GPS data processed {"connection_id":159883,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:41:55] local.INFO: Acknowledgment sent {"connection_id":159883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:41:58] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:41:58] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:41:58] local.INFO: IMEI packet received {"connection_id":159884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":159884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:41:59] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02772d828012d196940071fedd8003e011c22..."} 
[2026-08-22 08:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02772d828012d196940071fedd8003e011c22..."} 
[2026-08-22 08:41:59] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02772d828012d196940071fedd8003e011c22..."} 
[2026-08-22 08:41:59] local.INFO: Packet analysis {"connection_id":159884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02772"} 
[2026-08-22 08:41:59] local.INFO: Extracted packet for processing {"connection_id":159884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02772"} 
[2026-08-22 08:41:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566262272001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:41: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-22 08:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787368233000,"timestamp_ms":1787368233000,"timestamp_seconds":1787368233,"priority":1,"record_length":96,"hex_timestamp":"000001a02772d828"} 
[2026-08-22 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-22 08:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 08:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:41:59] 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-22 08:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566262272001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566262272001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:41:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:41:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566262272001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":159884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:41:59] local.INFO: GPS data processed {"connection_id":159884,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:41:59] local.INFO: Acknowledgment sent {"connection_id":159884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:42:16] local.INFO: TCP Data received {"connection_id":159626,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:42:16] local.INFO: Processing buffer {"connection_id":159626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:42:16] local.INFO: IMEI packet received {"connection_id":159626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":159626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:42:17] local.INFO: TCP Data received {"connection_id":159626,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027742048012d0da3c00705bf78001700a41b..."} 
[2026-08-22 08:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027742048012d0da3c00705bf78001700a41b..."} 
[2026-08-22 08:42:17] local.INFO: Processing buffer {"connection_id":159626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027742048012d0da3c00705bf78001700a41b..."} 
[2026-08-22 08:42:17] local.INFO: Packet analysis {"connection_id":159626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02774"} 
[2026-08-22 08:42:17] local.INFO: Extracted packet for processing {"connection_id":159626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02774"} 
[2026-08-22 08:42:17] local.INFO: GPS Element Parsed {"raw_longitude":755868608,"raw_latitude":117817208,"longitude_deg":75.5868608,"latitude_deg":11.7817208,"altitude":23,"angle":164,"satellites":27,"speed":0,"hex_longitude":"2d0da3c0","hex_latitude":"0705bf78","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566283776001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29353309739417600,"note":"Value kept but may cause issues"} 
[2026-08-22 08:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982840280090638336,"note":"Value kept but may cause issues"} 
[2026-08-22 08:42:17] 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-22 08:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787368317000,"timestamp_ms":1787368317000,"timestamp_seconds":1787368317,"priority":1,"record_length":96,"hex_timestamp":"000001a027742048"} 
[2026-08-22 08: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-22 08:42:17] 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-22 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 08:42: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-22 08: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-22 08: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-22 08:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566283776001,"66":14439,"167":206,"94":11008,"24":0,"16":29353309739417600,"45":982840280090638336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-22 08:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566283776001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:42:17] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-22 08:42:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 08:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29353309739417600,"km_value":29353309739417.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":982840280090638336,"description":"Unknown IO ID 45"} 
[2026-08-22 08:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566283776001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":982840280090638336}} 
[2026-08-22 08:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":159626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680036,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:42:17] local.INFO: GPS data processed {"connection_id":159626,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:42:17] local.INFO: Acknowledgment sent {"connection_id":159626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:42:27] local.INFO: TCP Data received {"connection_id":159883,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:42:27] local.INFO: Processing buffer {"connection_id":159883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:42:27] local.INFO: Packet analysis {"connection_id":159883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:42:27] local.INFO: Extracted packet for processing {"connection_id":159883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566171904001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:42: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-22 08:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787368168000,"timestamp_ms":1787368168000,"timestamp_seconds":1787368168,"priority":1,"record_length":96,"hex_timestamp":"000001a02771da40"} 
[2026-08-22 08: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-22 08:42:27] 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-22 08:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-22 08:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566171904001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566171904001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:42:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566171904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":159883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:42:27] local.INFO: GPS data processed {"connection_id":159883,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:42:27] local.INFO: Acknowledgment sent {"connection_id":159883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:42:30] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027732a30012d196940071fedd8003e011c25..."} 
[2026-08-22 08:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027732a30012d196940071fedd8003e011c25..."} 
[2026-08-22 08:42:30] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027732a30012d196940071fedd8003e011c25..."} 
[2026-08-22 08:42:30] local.INFO: Packet analysis {"connection_id":159884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02773"} 
[2026-08-22 08:42:30] local.INFO: Extracted packet for processing {"connection_id":159884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02773"} 
[2026-08-22 08:42:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566267648001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:42: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-22 08:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787368254000,"timestamp_ms":1787368254000,"timestamp_seconds":1787368254,"priority":1,"record_length":96,"hex_timestamp":"000001a027732a30"} 
[2026-08-22 08: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-22 08:42:30] 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-22 08: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 08:42:30] 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-22 08: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-22 08: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-22 08:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:42:30] 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-22 08:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566267648001,"66":11906,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566267648001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:42:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:42:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566267648001,"power":11906,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":159884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:42:30] local.INFO: GPS data processed {"connection_id":159884,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:42:30] local.INFO: Acknowledgment sent {"connection_id":159884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:42:34] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:42:34] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:42:34] local.INFO: IMEI packet received {"connection_id":159885,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":159885,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:42:37] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:42:37] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:42:37] local.INFO: IMEI packet received {"connection_id":159885,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":159885,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:42:37] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:42:37] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:42:37] local.INFO: IMEI packet received {"connection_id":159885,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":159885,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:42:37] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:42:37] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:42:37] local.INFO: IMEI packet received {"connection_id":159885,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":159885,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:42:53] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:42:53] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:42:53] local.INFO: IMEI packet received {"connection_id":159886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":159886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:42:55] local.INFO: TCP Data received {"connection_id":159627,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:42:55] local.INFO: Processing buffer {"connection_id":159627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:42:55] local.INFO: IMEI packet received {"connection_id":159627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":159627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:42:57] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:42:57] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:42:57] local.INFO: IMEI packet received {"connection_id":159886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":159886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:42:57] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027737c38012d196940071fedd8003e011c25..."} 
[2026-08-22 08:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027737c38012d196940071fedd8003e011c25..."} 
[2026-08-22 08:42:57] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027737c38012d196940071fedd8003e011c25..."} 
[2026-08-22 08:42:57] local.INFO: Packet analysis {"connection_id":159886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02773"} 
[2026-08-22 08:42:57] local.INFO: Extracted packet for processing {"connection_id":159886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02773"} 
[2026-08-22 08:42:57] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566273024001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:42: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-22 08:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787368275000,"timestamp_ms":1787368275000,"timestamp_seconds":1787368275,"priority":1,"record_length":96,"hex_timestamp":"000001a027737c38"} 
[2026-08-22 08: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-22 08:42:57] 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-22 08: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-08-22 08:42:57] 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-22 08: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-22 08: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-22 08:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:42:57] 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-22 08:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566273024001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566273024001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:42:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:42:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566273024001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":159886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:42:57] local.INFO: GPS data processed {"connection_id":159886,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:42:57] local.INFO: Acknowledgment sent {"connection_id":159886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:43:00] local.INFO: TCP Data received {"connection_id":159627,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:43:00] local.INFO: Processing buffer {"connection_id":159627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:43:00] local.INFO: IMEI packet received {"connection_id":159627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":159627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:43:00] local.INFO: TCP Data received {"connection_id":159627,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:43:00] local.INFO: Processing buffer {"connection_id":159627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:43:00] local.INFO: Packet analysis {"connection_id":159627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:43:00] local.INFO: Extracted packet for processing {"connection_id":159627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566171904001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43: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-22 08:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787368168000,"timestamp_ms":1787368168000,"timestamp_seconds":1787368168,"priority":1,"record_length":96,"hex_timestamp":"000001a02771da40"} 
[2026-08-22 08: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-22 08:43:00] 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-22 08:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-22 08:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566171904001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566171904001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:43:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:43:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566171904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":159627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:43:00] local.INFO: GPS data processed {"connection_id":159627,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:43:00] local.INFO: Acknowledgment sent {"connection_id":159627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:43:05] local.INFO: TCP Data received {"connection_id":159627,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:43:05] local.INFO: Processing buffer {"connection_id":159627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:43:05] local.INFO: Packet analysis {"connection_id":159627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:43:05] local.INFO: Extracted packet for processing {"connection_id":159627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566171904001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:05] 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-22 08:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787368168000,"timestamp_ms":1787368168000,"timestamp_seconds":1787368168,"priority":1,"record_length":96,"hex_timestamp":"000001a02771da40"} 
[2026-08-22 08: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-22 08:43:05] 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-22 08:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-22 08:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566171904001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566171904001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:43:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566171904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":159627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:43:05] local.INFO: GPS data processed {"connection_id":159627,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:43:05] local.INFO: Acknowledgment sent {"connection_id":159627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:43:28] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02773ce40012d196940071fedd8003e011c26..."} 
[2026-08-22 08:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02773ce40012d196940071fedd8003e011c26..."} 
[2026-08-22 08:43:28] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02773ce40012d196940071fedd8003e011c26..."} 
[2026-08-22 08:43:28] local.INFO: Packet analysis {"connection_id":159886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02773"} 
[2026-08-22 08:43:28] local.INFO: Extracted packet for processing {"connection_id":159886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02773"} 
[2026-08-22 08:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566278400001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787368296000,"timestamp_ms":1787368296000,"timestamp_seconds":1787368296,"priority":1,"record_length":96,"hex_timestamp":"000001a02773ce40"} 
[2026-08-22 08: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-22 08:43:28] 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-22 08:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:43:28] 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-22 08: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-22 08: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-22 08:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:43:28] 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-22 08:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566278400001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566278400001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:43:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566278400001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":159886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:43:28] local.INFO: GPS data processed {"connection_id":159886,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:43:28] local.INFO: Acknowledgment sent {"connection_id":159886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:43:50] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:43:50] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:43:50] local.INFO: IMEI packet received {"connection_id":159887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":159887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:43:53] local.INFO: TCP Data received {"connection_id":159628,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:43:53] local.INFO: Processing buffer {"connection_id":159628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:43:53] local.INFO: IMEI packet received {"connection_id":159628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":159628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:43:55] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:43:55] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:43:55] local.INFO: IMEI packet received {"connection_id":159887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":159887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:43:55] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:43:55] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:43:55] local.INFO: Packet analysis {"connection_id":159887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:43:55] local.INFO: Extracted packet for processing {"connection_id":159887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566171904001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43: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-22 08:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787368168000,"timestamp_ms":1787368168000,"timestamp_seconds":1787368168,"priority":1,"record_length":96,"hex_timestamp":"000001a02771da40"} 
[2026-08-22 08: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-22 08:43:55] 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-22 08:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-22 08:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566171904001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566171904001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:43:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:43:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566171904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":159887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:43:55] local.INFO: GPS data processed {"connection_id":159887,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:43:55] local.INFO: Acknowledgment sent {"connection_id":159887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:43:58] local.INFO: TCP Data received {"connection_id":159628,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:43:58] local.INFO: Processing buffer {"connection_id":159628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:43:58] local.INFO: IMEI packet received {"connection_id":159628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":159628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:43:59] local.INFO: TCP Data received {"connection_id":159628,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027742048012d196940071fedd8003e011c24..."} 
[2026-08-22 08:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027742048012d196940071fedd8003e011c24..."} 
[2026-08-22 08:43:59] local.INFO: Processing buffer {"connection_id":159628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027742048012d196940071fedd8003e011c24..."} 
[2026-08-22 08:43:59] local.INFO: Packet analysis {"connection_id":159628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02774"} 
[2026-08-22 08:43:59] local.INFO: Extracted packet for processing {"connection_id":159628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02774"} 
[2026-08-22 08:43:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566283776001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43: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-22 08:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787368317000,"timestamp_ms":1787368317000,"timestamp_seconds":1787368317,"priority":1,"record_length":96,"hex_timestamp":"000001a027742048"} 
[2026-08-22 08: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-22 08:43:59] 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-22 08: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 08:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2842211203901364585,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79981774339309568,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 08:43:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 08:43:59] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,160,124,45,64,237,62,37,10,66,42,216,1,240,255,227,39,31,4,113,205,52,105,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 08:43:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 08: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-22 08:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:43:59] 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-22 08:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566283776001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566283776001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:43:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:43:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566283776001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":159628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:43:59] local.INFO: GPS data processed {"connection_id":159628,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:43:59] local.INFO: Acknowledgment sent {"connection_id":159628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:44:27] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:44:27] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02771da40012d7f8ac005afe2d0000000fa1c..."} 
[2026-08-22 08:44:27] local.INFO: Packet analysis {"connection_id":159887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:44:27] local.INFO: Extracted packet for processing {"connection_id":159887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02771"} 
[2026-08-22 08:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":28,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566171904001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:44: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-22 08:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787368168000,"timestamp_ms":1787368168000,"timestamp_seconds":1787368168,"priority":1,"record_length":96,"hex_timestamp":"000001a02771da40"} 
[2026-08-22 08: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-22 08:44:27] 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-22 08:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-22 08:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566171904001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566171904001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:44:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566171904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":159887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:44:27] local.INFO: GPS data processed {"connection_id":159887,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:44:27] local.INFO: Acknowledgment sent {"connection_id":159887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:44:30] local.INFO: TCP Data received {"connection_id":159628,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027747250012d196940071fedd8003e011c25..."} 
[2026-08-22 08:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027747250012d196940071fedd8003e011c25..."} 
[2026-08-22 08:44:30] local.INFO: Processing buffer {"connection_id":159628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027747250012d196940071fedd8003e011c25..."} 
[2026-08-22 08:44:30] local.INFO: Packet analysis {"connection_id":159628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02774"} 
[2026-08-22 08:44:30] local.INFO: Extracted packet for processing {"connection_id":159628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02774"} 
[2026-08-22 08:44:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566289152001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:44: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-22 08:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787368338000,"timestamp_ms":1787368338000,"timestamp_seconds":1787368338,"priority":1,"record_length":96,"hex_timestamp":"000001a027747250"} 
[2026-08-22 08: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-22 08:44:30] 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-22 08: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 08:44:30] 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-22 08: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-22 08: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-22 08:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:44:30] 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-22 08:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566289152001,"66":12363,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566289152001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:44:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:44:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566289152001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":159628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:44:30] local.INFO: GPS data processed {"connection_id":159628,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:44:30] local.INFO: Acknowledgment sent {"connection_id":159628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:44:50] local.INFO: TCP Data received {"connection_id":162189,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:44:50] local.INFO: Processing buffer {"connection_id":162189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:44:50] local.INFO: IMEI packet received {"connection_id":162189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":162189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:44:53] local.INFO: TCP Data received {"connection_id":162190,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:44:53] local.INFO: Processing buffer {"connection_id":162190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:44:53] local.INFO: IMEI packet received {"connection_id":162190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":162190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:44:53] local.INFO: TCP Data received {"connection_id":162189,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:44:53] local.INFO: Processing buffer {"connection_id":162189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:44:53] local.INFO: IMEI packet received {"connection_id":162189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":162189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:44:54] local.INFO: TCP Data received {"connection_id":162189,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:44:54] local.INFO: Processing buffer {"connection_id":162189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:44:54] local.INFO: Packet analysis {"connection_id":162189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:44:54] local.INFO: Extracted packet for processing {"connection_id":162189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566251008001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:44: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-22 08:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787368481000,"timestamp_ms":1787368481000,"timestamp_seconds":1787368481,"priority":1,"record_length":96,"hex_timestamp":"000001a02776a0e8"} 
[2026-08-22 08:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:44:54] 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-22 08:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566251008001,"66":25201,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566251008001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:44:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:44:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566251008001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":162189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:44:55] local.INFO: GPS data processed {"connection_id":162189,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:44:55] local.INFO: Acknowledgment sent {"connection_id":162189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:44:58] local.INFO: TCP Data received {"connection_id":162190,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:44:58] local.INFO: Processing buffer {"connection_id":162190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:44:58] local.INFO: IMEI packet received {"connection_id":162190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":162190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:44:59] local.INFO: TCP Data received {"connection_id":162190,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02774c458012d196940071fedd8003e011c23..."} 
[2026-08-22 08:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02774c458012d196940071fedd8003e011c23..."} 
[2026-08-22 08:44:59] local.INFO: Processing buffer {"connection_id":162190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02774c458012d196940071fedd8003e011c23..."} 
[2026-08-22 08:44:59] local.INFO: Packet analysis {"connection_id":162190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02774"} 
[2026-08-22 08:44:59] local.INFO: Extracted packet for processing {"connection_id":162190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02774"} 
[2026-08-22 08:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566294528001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:44: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-22 08:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787368359000,"timestamp_ms":1787368359000,"timestamp_seconds":1787368359,"priority":1,"record_length":96,"hex_timestamp":"000001a02774c458"} 
[2026-08-22 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-22 08:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-22 08:44:59] 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-22 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-22 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-22 08:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:44:59] 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-22 08:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566294528001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566294528001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:44:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:44:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566294528001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":162190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:44:59] local.INFO: GPS data processed {"connection_id":162190,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:44:59] local.INFO: Acknowledgment sent {"connection_id":162190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:45:26] local.INFO: TCP Data received {"connection_id":162189,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:45:26] local.INFO: Processing buffer {"connection_id":162189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:45:26] local.INFO: Packet analysis {"connection_id":162189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:45:26] local.INFO: Extracted packet for processing {"connection_id":162189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:45:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566251008001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:45: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-22 08:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787368481000,"timestamp_ms":1787368481000,"timestamp_seconds":1787368481,"priority":1,"record_length":96,"hex_timestamp":"000001a02776a0e8"} 
[2026-08-22 08: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-22 08:45:26] 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-22 08:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566251008001,"66":25201,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566251008001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:45:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:45:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566251008001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":162189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:45:26] local.INFO: GPS data processed {"connection_id":162189,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:45:26] local.INFO: Acknowledgment sent {"connection_id":162189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:45:30] local.INFO: TCP Data received {"connection_id":162190,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027751660012d196940071fedd8003e011c25..."} 
[2026-08-22 08:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027751660012d196940071fedd8003e011c25..."} 
[2026-08-22 08:45:30] local.INFO: Processing buffer {"connection_id":162190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027751660012d196940071fedd8003e011c25..."} 
[2026-08-22 08:45:30] local.INFO: Packet analysis {"connection_id":162190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02775"} 
[2026-08-22 08:45:30] local.INFO: Extracted packet for processing {"connection_id":162190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02775"} 
[2026-08-22 08:45:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566299904001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:45: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-22 08:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787368380000,"timestamp_ms":1787368380000,"timestamp_seconds":1787368380,"priority":1,"record_length":96,"hex_timestamp":"000001a027751660"} 
[2026-08-22 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-22 08:45:30] 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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:45:30] 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-22 08:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566299904001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566299904001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:45:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:45:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566299904001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":162190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:45:30] local.INFO: GPS data processed {"connection_id":162190,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:45:30] local.INFO: Acknowledgment sent {"connection_id":162190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:45:49] local.INFO: TCP Data received {"connection_id":159629,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:45:49] local.INFO: Processing buffer {"connection_id":159629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:45:49] local.INFO: IMEI packet received {"connection_id":159629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":159629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:45:53] local.INFO: TCP Data received {"connection_id":160774,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:45:53] local.INFO: Processing buffer {"connection_id":160774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:45:53] local.INFO: IMEI packet received {"connection_id":160774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":160774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:45:55] local.INFO: TCP Data received {"connection_id":159629,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:45:55] local.INFO: Processing buffer {"connection_id":159629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:45:55] local.INFO: IMEI packet received {"connection_id":159629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":159629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:45:56] local.INFO: TCP Data received {"connection_id":159629,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:45:56] local.INFO: Processing buffer {"connection_id":159629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:45:56] local.INFO: Packet analysis {"connection_id":159629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:45:56] local.INFO: Extracted packet for processing {"connection_id":159629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566251008001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:45: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-22 08:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787368481000,"timestamp_ms":1787368481000,"timestamp_seconds":1787368481,"priority":1,"record_length":96,"hex_timestamp":"000001a02776a0e8"} 
[2026-08-22 08: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-22 08:45:56] 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-22 08:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566251008001,"66":25201,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566251008001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:45:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566251008001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":159629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:45:56] local.INFO: GPS data processed {"connection_id":159629,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:45:56] local.INFO: Acknowledgment sent {"connection_id":159629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:45:58] local.INFO: TCP Data received {"connection_id":160774,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:45:58] local.INFO: Processing buffer {"connection_id":160774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:45:58] local.INFO: IMEI packet received {"connection_id":160774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":160774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:45:59] local.INFO: TCP Data received {"connection_id":160774,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027756868012d196940071fedd8003e011c25..."} 
[2026-08-22 08:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027756868012d196940071fedd8003e011c25..."} 
[2026-08-22 08:45:59] local.INFO: Processing buffer {"connection_id":160774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027756868012d196940071fedd8003e011c25..."} 
[2026-08-22 08:45:59] local.INFO: Packet analysis {"connection_id":160774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02775"} 
[2026-08-22 08:45:59] local.INFO: Extracted packet for processing {"connection_id":160774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02775"} 
[2026-08-22 08:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566305280001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:45: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-22 08:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787368401000,"timestamp_ms":1787368401000,"timestamp_seconds":1787368401,"priority":1,"record_length":96,"hex_timestamp":"000001a027756868"} 
[2026-08-22 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-22 08:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 08:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:45:59] 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-22 08:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566305280001,"66":12363,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566305280001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:45:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566305280001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":160774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:45:59] local.INFO: GPS data processed {"connection_id":160774,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:45:59] local.INFO: Acknowledgment sent {"connection_id":160774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:46:27] local.INFO: TCP Data received {"connection_id":159629,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:46:27] local.INFO: Processing buffer {"connection_id":159629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:46:27] local.INFO: Packet analysis {"connection_id":159629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:46:27] local.INFO: Extracted packet for processing {"connection_id":159629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566251008001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:46: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-22 08:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787368481000,"timestamp_ms":1787368481000,"timestamp_seconds":1787368481,"priority":1,"record_length":96,"hex_timestamp":"000001a02776a0e8"} 
[2026-08-22 08: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-22 08:46:27] 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-22 08:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566251008001,"66":25201,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566251008001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:46:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566251008001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":159629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:46:27] local.INFO: GPS data processed {"connection_id":159629,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:46:27] local.INFO: Acknowledgment sent {"connection_id":159629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:46:31] local.INFO: TCP Data received {"connection_id":160774,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02775ba70012d196940071fedd8003e011c24..."} 
[2026-08-22 08:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02775ba70012d196940071fedd8003e011c24..."} 
[2026-08-22 08:46:31] local.INFO: Processing buffer {"connection_id":160774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02775ba70012d196940071fedd8003e011c24..."} 
[2026-08-22 08:46:31] local.INFO: Packet analysis {"connection_id":160774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02775"} 
[2026-08-22 08:46:31] local.INFO: Extracted packet for processing {"connection_id":160774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02775"} 
[2026-08-22 08:46:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566310656001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787368422000,"timestamp_ms":1787368422000,"timestamp_seconds":1787368422,"priority":1,"record_length":96,"hex_timestamp":"000001a02775ba70"} 
[2026-08-22 08: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-22 08:46:31] 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-22 08: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-22 08:46:31] 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-22 08: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-22 08: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-22 08:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:46:31] 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-22 08:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566310656001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566310656001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:46:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:46:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566310656001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":160774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:46:31] local.INFO: GPS data processed {"connection_id":160774,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:46:31] local.INFO: Acknowledgment sent {"connection_id":160774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:46:36] local.INFO: TCP Data received {"connection_id":159888,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:46:36] local.INFO: Processing buffer {"connection_id":159888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:46:36] local.INFO: IMEI packet received {"connection_id":159888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":159888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:46:53] local.INFO: TCP Data received {"connection_id":160775,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:46:53] local.INFO: Processing buffer {"connection_id":160775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:46:53] local.INFO: IMEI packet received {"connection_id":160775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":160775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:46:55] local.INFO: TCP Data received {"connection_id":162192,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:46:55] local.INFO: Processing buffer {"connection_id":162192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:46:55] local.INFO: IMEI packet received {"connection_id":162192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":162192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:46:58] local.INFO: TCP Data received {"connection_id":160775,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:46:58] local.INFO: Processing buffer {"connection_id":160775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:46:58] local.INFO: IMEI packet received {"connection_id":160775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":160775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:46:59] local.INFO: TCP Data received {"connection_id":160775,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027760c78012d196940071fedd8003e011c27..."} 
[2026-08-22 08:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027760c78012d196940071fedd8003e011c27..."} 
[2026-08-22 08:46:59] local.INFO: Processing buffer {"connection_id":160775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027760c78012d196940071fedd8003e011c27..."} 
[2026-08-22 08:46:59] local.INFO: Packet analysis {"connection_id":160775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:46:59] local.INFO: Extracted packet for processing {"connection_id":160775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566316032001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:46: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-22 08:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787368443000,"timestamp_ms":1787368443000,"timestamp_seconds":1787368443,"priority":1,"record_length":96,"hex_timestamp":"000001a027760c78"} 
[2026-08-22 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-22 08:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:46:59] 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-22 08:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566316032001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566316032001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:46:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566316032001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":160775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:46:59] local.INFO: GPS data processed {"connection_id":160775,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:46:59] local.INFO: Acknowledgment sent {"connection_id":160775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:47:00] local.INFO: TCP Data received {"connection_id":162192,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:47:00] local.INFO: Processing buffer {"connection_id":162192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:47:00] local.INFO: IMEI packet received {"connection_id":162192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":162192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:47:00] local.INFO: TCP Data received {"connection_id":162192,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:47:00] local.INFO: Processing buffer {"connection_id":162192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:47:00] local.INFO: Packet analysis {"connection_id":162192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:47:00] local.INFO: Extracted packet for processing {"connection_id":162192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:47:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566251008001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47: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-22 08:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787368481000,"timestamp_ms":1787368481000,"timestamp_seconds":1787368481,"priority":1,"record_length":96,"hex_timestamp":"000001a02776a0e8"} 
[2026-08-22 08: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-22 08:47:00] 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-22 08:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566251008001,"66":25201,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566251008001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:47:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:47:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566251008001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":162192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:47:00] local.INFO: GPS data processed {"connection_id":162192,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:47:00] local.INFO: Acknowledgment sent {"connection_id":162192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:47:05] local.INFO: TCP Data received {"connection_id":162192,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:47:05] local.INFO: Processing buffer {"connection_id":162192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:47:05] local.INFO: Packet analysis {"connection_id":162192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:47:05] local.INFO: Extracted packet for processing {"connection_id":162192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566251008001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:05] 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-22 08:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787368481000,"timestamp_ms":1787368481000,"timestamp_seconds":1787368481,"priority":1,"record_length":96,"hex_timestamp":"000001a02776a0e8"} 
[2026-08-22 08: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-22 08:47:05] 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-22 08:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566251008001,"66":25201,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566251008001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:47:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:47:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566251008001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":162192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:47:05] local.INFO: GPS data processed {"connection_id":162192,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:47:05] local.INFO: Acknowledgment sent {"connection_id":162192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:47:30] local.INFO: TCP Data received {"connection_id":160775,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027765e80012d196940071fedd8003e011c27..."} 
[2026-08-22 08:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027765e80012d196940071fedd8003e011c27..."} 
[2026-08-22 08:47:30] local.INFO: Processing buffer {"connection_id":160775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027765e80012d196940071fedd8003e011c27..."} 
[2026-08-22 08:47:30] local.INFO: Packet analysis {"connection_id":160775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:47:30] local.INFO: Extracted packet for processing {"connection_id":160775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:47:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566321408001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47: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-22 08:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787368464000,"timestamp_ms":1787368464000,"timestamp_seconds":1787368464,"priority":1,"record_length":96,"hex_timestamp":"000001a027765e80"} 
[2026-08-22 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-22 08:47:30] 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-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 08:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2842842564093876585,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79978475804426240,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 08:47:30] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,186,45,64,237,62,36,10,66,104,37,22,1,240,31,227,39,4,113,205,114,105,216,239,48,2,51,7,38],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 08:47:30] 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-22 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-22 08:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:47:30] 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-22 08:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566321408001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566321408001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:47:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:47:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566321408001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":160775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:47:30] local.INFO: GPS data processed {"connection_id":160775,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:47:30] local.INFO: Acknowledgment sent {"connection_id":160775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:47:41] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:47:41] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:47:41] local.INFO: IMEI packet received {"connection_id":159889,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":159889,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:47:41] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:47:41] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:47:41] local.INFO: IMEI packet received {"connection_id":159889,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":159889,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:47:47] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:47:47] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:47:47] local.INFO: IMEI packet received {"connection_id":159889,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":159889,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:47:47] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027770a60012d0da3c0070638b0001900001a..."} 
[2026-08-22 08:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027770a60012d0da3c0070638b0001900001a..."} 
[2026-08-22 08:47:47] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027770a60012d0da3c0070638b0001900001a..."} 
[2026-08-22 08:47:47] local.INFO: Packet analysis {"connection_id":159889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02777"} 
[2026-08-22 08:47:47] local.INFO: Extracted packet for processing {"connection_id":159889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02777"} 
[2026-08-22 08:47:47] local.INFO: GPS Element Parsed {"raw_longitude":755868608,"raw_latitude":117848240,"longitude_deg":75.5868608,"latitude_deg":11.784824,"altitude":25,"angle":0,"satellites":26,"speed":13,"hex_longitude":"2d0da3c0","hex_latitude":"070638b0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566337792001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29356509490053120,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982769911354327040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:47] 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-22 08:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787368508000,"timestamp_ms":1787368508000,"timestamp_seconds":1787368508,"priority":1,"record_length":96,"hex_timestamp":"000001a027770a60"} 
[2026-08-22 08: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-22 08:47: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-22 08: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":114,"data_length":795,"current_offset":136} 
[2026-08-22 08:47:47] 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-22 08: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-22 08: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-22 08:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":159889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":159889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":159889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566337792001,"66":14450,"167":206,"94":11008,"24":13,"16":29356509490053120,"45":982769911354327040},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-22 08:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566337792001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:47:47] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-22 08:47:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 08:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29356509490053120,"km_value":29356509490053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":982769911354327040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566337792001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":982769911354327040}} 
[2026-08-22 08:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":159889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680059,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:47:47] local.INFO: GPS data processed {"connection_id":159889,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:47:47] local.INFO: Acknowledgment sent {"connection_id":159889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:47:50] local.INFO: TCP Data received {"connection_id":162193,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:47:50] local.INFO: Processing buffer {"connection_id":162193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:47:50] local.INFO: IMEI packet received {"connection_id":162193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":162193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:47:52] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027771230012d0da34007063be80019015c1a..."} 
[2026-08-22 08:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027771230012d0da34007063be80019015c1a..."} 
[2026-08-22 08:47:52] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027771230012d0da34007063be80019015c1a..."} 
[2026-08-22 08:47:52] local.INFO: Packet analysis {"connection_id":159889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02777"} 
[2026-08-22 08:47:52] local.INFO: Extracted packet for processing {"connection_id":159889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02777"} 
[2026-08-22 08:47:52] local.INFO: GPS Element Parsed {"raw_longitude":755868480,"raw_latitude":117849064,"longitude_deg":75.586848,"latitude_deg":11.7849064,"altitude":25,"angle":348,"satellites":26,"speed":19,"hex_longitude":"2d0da340","hex_latitude":"07063be8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566338048001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29356548144758784,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982840280098582528,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:52] 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-22 08:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787368510000,"timestamp_ms":1787368510000,"timestamp_seconds":1787368510,"priority":1,"record_length":96,"hex_timestamp":"000001a027771230"} 
[2026-08-22 08: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-22 08:47: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-22 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-22 08:47:52] 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-22 08: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-22 08: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-22 08:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566338048001,"66":14515,"167":206,"94":11008,"24":19,"16":29356548144758784,"45":982840280098582528},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-22 08:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566338048001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:47:52] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-22 08:47:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 08:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29356548144758784,"km_value":29356548144758.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":982840280098582528,"description":"Unknown IO ID 45"} 
[2026-08-22 08:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566338048001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":982840280098582528}} 
[2026-08-22 08:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":159889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680060,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:47:52] local.INFO: GPS data processed {"connection_id":159889,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:47:52] local.INFO: Acknowledgment sent {"connection_id":159889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:47:53] local.INFO: TCP Data received {"connection_id":162194,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:47:53] local.INFO: Processing buffer {"connection_id":162194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:47:53] local.INFO: IMEI packet received {"connection_id":162194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":162194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:47:55] local.INFO: TCP Data received {"connection_id":162193,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:47:55] local.INFO: Processing buffer {"connection_id":162193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:47:55] local.INFO: IMEI packet received {"connection_id":162193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":162193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:47:55] local.INFO: TCP Data received {"connection_id":162193,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:47:55] local.INFO: Processing buffer {"connection_id":162193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:47:55] local.INFO: Packet analysis {"connection_id":162193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:47:55] local.INFO: Extracted packet for processing {"connection_id":162193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566251008001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47: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-22 08:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787368481000,"timestamp_ms":1787368481000,"timestamp_seconds":1787368481,"priority":1,"record_length":96,"hex_timestamp":"000001a02776a0e8"} 
[2026-08-22 08: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-22 08:47:55] 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-22 08:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566251008001,"66":25201,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566251008001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:47:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:47:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566251008001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":162193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:47:55] local.INFO: GPS data processed {"connection_id":162193,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:47:55] local.INFO: Acknowledgment sent {"connection_id":162193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:47:58] local.INFO: TCP Data received {"connection_id":162194,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:47:58] local.INFO: Processing buffer {"connection_id":162194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:47:58] local.INFO: IMEI packet received {"connection_id":162194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":162194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:47:59] local.INFO: TCP Data received {"connection_id":162194,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02776b088012d196940071fedd8003e011c27..."} 
[2026-08-22 08:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02776b088012d196940071fedd8003e011c27..."} 
[2026-08-22 08:47:59] local.INFO: Processing buffer {"connection_id":162194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02776b088012d196940071fedd8003e011c27..."} 
[2026-08-22 08:47:59] local.INFO: Packet analysis {"connection_id":162194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:47:59] local.INFO: Extracted packet for processing {"connection_id":162194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566326784001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:47: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-22 08:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787368485000,"timestamp_ms":1787368485000,"timestamp_seconds":1787368485,"priority":1,"record_length":96,"hex_timestamp":"000001a02776b088"} 
[2026-08-22 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-22 08:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:47:59] 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-22 08:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566326784001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566326784001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:47:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566326784001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":162194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:47:59] local.INFO: GPS data processed {"connection_id":162194,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:47:59] local.INFO: Acknowledgment sent {"connection_id":162194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:48:27] local.INFO: TCP Data received {"connection_id":162193,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:48:27] local.INFO: Processing buffer {"connection_id":162193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:48:27] local.INFO: Packet analysis {"connection_id":162193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:48:27] local.INFO: Extracted packet for processing {"connection_id":162193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566251008001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:48: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-22 08:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787368481000,"timestamp_ms":1787368481000,"timestamp_seconds":1787368481,"priority":1,"record_length":96,"hex_timestamp":"000001a02776a0e8"} 
[2026-08-22 08:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:48:27] 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-22 08:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566251008001,"66":25201,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566251008001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:48:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566251008001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":162193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:48:27] local.INFO: GPS data processed {"connection_id":162193,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:48:27] local.INFO: Acknowledgment sent {"connection_id":162193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:48:30] local.INFO: TCP Data received {"connection_id":162194,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027770290012d196940071fedd8003e011c23..."} 
[2026-08-22 08:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027770290012d196940071fedd8003e011c23..."} 
[2026-08-22 08:48:30] local.INFO: Processing buffer {"connection_id":162194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027770290012d196940071fedd8003e011c23..."} 
[2026-08-22 08:48:30] local.INFO: Packet analysis {"connection_id":162194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02777"} 
[2026-08-22 08:48:30] local.INFO: Extracted packet for processing {"connection_id":162194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02777"} 
[2026-08-22 08:48:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566332160001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:48: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-22 08:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787368506000,"timestamp_ms":1787368506000,"timestamp_seconds":1787368506,"priority":1,"record_length":96,"hex_timestamp":"000001a027770290"} 
[2026-08-22 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-22 08:48:30] 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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:48:30] 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-22 08:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566332160001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566332160001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:48:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566332160001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":162194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:48:30] local.INFO: GPS data processed {"connection_id":162194,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:48:30] local.INFO: Acknowledgment sent {"connection_id":162194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:48:32] local.INFO: TCP Data received {"connection_id":160776,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160776,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:48:32] local.INFO: Processing buffer {"connection_id":160776,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:48:32] local.INFO: IMEI packet received {"connection_id":160776,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":160776,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:48:33] local.INFO: TCP Data received {"connection_id":160776,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160776,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:48:33] local.INFO: Processing buffer {"connection_id":160776,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:48:33] local.INFO: IMEI packet received {"connection_id":160776,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":160776,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:48:34] local.INFO: TCP Data received {"connection_id":160776,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160776,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:48:34] local.INFO: Processing buffer {"connection_id":160776,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:48:34] local.INFO: IMEI packet received {"connection_id":160776,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":160776,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:48:37] local.INFO: TCP Data received {"connection_id":160776,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160776,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:48:37] local.INFO: Processing buffer {"connection_id":160776,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:48:37] local.INFO: IMEI packet received {"connection_id":160776,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":160776,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:48:50] local.INFO: TCP Data received {"connection_id":159631,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:48:50] local.INFO: Processing buffer {"connection_id":159631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:48:50] local.INFO: IMEI packet received {"connection_id":159631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":159631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:48:53] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:48:53] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:48:53] local.INFO: IMEI packet received {"connection_id":159890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":159890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:48:54] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:48:54] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:48:54] local.INFO: IMEI packet received {"connection_id":159890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":159890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:48:55] local.INFO: TCP Data received {"connection_id":159631,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:48:55] local.INFO: Processing buffer {"connection_id":159631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:48:55] local.INFO: IMEI packet received {"connection_id":159631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":159631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:48:56] local.INFO: TCP Data received {"connection_id":159631,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:48:56] local.INFO: Processing buffer {"connection_id":159631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:48:56] local.INFO: Packet analysis {"connection_id":159631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:48:56] local.INFO: Extracted packet for processing {"connection_id":159631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566251008001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08: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-22 08:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787368481000,"timestamp_ms":1787368481000,"timestamp_seconds":1787368481,"priority":1,"record_length":96,"hex_timestamp":"000001a02776a0e8"} 
[2026-08-22 08: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-22 08:48:56] 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-22 08:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566251008001,"66":25201,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566251008001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:48:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566251008001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":159631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:48:56] local.INFO: GPS data processed {"connection_id":159631,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:48:56] local.INFO: Acknowledgment sent {"connection_id":159631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:48:58] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:48:58] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:48:58] local.INFO: IMEI packet received {"connection_id":159890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":159890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:48:59] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027775498012d196940071fedd8003e011c26..."} 
[2026-08-22 08:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027775498012d196940071fedd8003e011c26..."} 
[2026-08-22 08:48:59] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027775498012d196940071fedd8003e011c26..."} 
[2026-08-22 08:48:59] local.INFO: Packet analysis {"connection_id":159890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02777"} 
[2026-08-22 08:48:59] local.INFO: Extracted packet for processing {"connection_id":159890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02777"} 
[2026-08-22 08:48:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566337536001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:48: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-22 08:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787368527000,"timestamp_ms":1787368527000,"timestamp_seconds":1787368527,"priority":1,"record_length":96,"hex_timestamp":"000001a027775498"} 
[2026-08-22 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-22 08:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:48:59] 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-22 08:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566337536001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566337536001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:48:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:48:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566337536001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":159890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:48:59] local.INFO: GPS data processed {"connection_id":159890,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:48:59] local.INFO: Acknowledgment sent {"connection_id":159890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:49:27] local.INFO: TCP Data received {"connection_id":159631,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:49:27] local.INFO: Processing buffer {"connection_id":159631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02776a0e8012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:49:27] local.INFO: Packet analysis {"connection_id":159631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:49:27] local.INFO: Extracted packet for processing {"connection_id":159631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02776"} 
[2026-08-22 08:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566251008001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:49: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-22 08:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787368481000,"timestamp_ms":1787368481000,"timestamp_seconds":1787368481,"priority":1,"record_length":96,"hex_timestamp":"000001a02776a0e8"} 
[2026-08-22 08: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-22 08:49:27] 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-22 08:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566251008001,"66":25201,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566251008001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:49:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566251008001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":159631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:49:27] local.INFO: GPS data processed {"connection_id":159631,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:49:27] local.INFO: Acknowledgment sent {"connection_id":159631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:49:30] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02777a6a0012d196940071fedd8003e011c23..."} 
[2026-08-22 08:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02777a6a0012d196940071fedd8003e011c23..."} 
[2026-08-22 08:49:30] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02777a6a0012d196940071fedd8003e011c23..."} 
[2026-08-22 08:49:30] local.INFO: Packet analysis {"connection_id":159890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02777"} 
[2026-08-22 08:49:30] local.INFO: Extracted packet for processing {"connection_id":159890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02777"} 
[2026-08-22 08:49:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566342912001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:49: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-22 08:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787368548000,"timestamp_ms":1787368548000,"timestamp_seconds":1787368548,"priority":1,"record_length":96,"hex_timestamp":"000001a02777a6a0"} 
[2026-08-22 08: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-22 08:49:30] 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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:49:30] 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-22 08:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566342912001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566342912001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:49:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:49:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566342912001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":159890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:49:30] local.INFO: GPS data processed {"connection_id":159890,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:49:30] local.INFO: Acknowledgment sent {"connection_id":159890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:49:49] local.INFO: TCP Data received {"connection_id":162196,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:49:49] local.INFO: Processing buffer {"connection_id":162196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:49:49] local.INFO: IMEI packet received {"connection_id":162196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":162196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:49:55] local.INFO: TCP Data received {"connection_id":162196,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:49:55] local.INFO: Processing buffer {"connection_id":162196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:49:55] local.INFO: IMEI packet received {"connection_id":162196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":162196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:49:55] local.INFO: TCP Data received {"connection_id":162196,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:49:55] local.INFO: Processing buffer {"connection_id":162196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:49:55] local.INFO: Packet analysis {"connection_id":162196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:49:55] local.INFO: Extracted packet for processing {"connection_id":162196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:49:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566331136001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:49: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-22 08:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787368783000,"timestamp_ms":1787368783000,"timestamp_seconds":1787368783,"priority":1,"record_length":96,"hex_timestamp":"000001a0277b3c98"} 
[2026-08-22 08: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-22 08:49:55] 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-22 08:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-22 08:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566331136001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566331136001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:49:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:49:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566331136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":162196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:49:55] local.INFO: GPS data processed {"connection_id":162196,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:49:55] local.INFO: Acknowledgment sent {"connection_id":162196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:49:56] local.INFO: TCP Data received {"connection_id":159891,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:49:56] local.INFO: Processing buffer {"connection_id":159891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:49:56] local.INFO: IMEI packet received {"connection_id":159891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":159891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:49:59] local.INFO: TCP Data received {"connection_id":159891,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:49:59] local.INFO: Processing buffer {"connection_id":159891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:49:59] local.INFO: IMEI packet received {"connection_id":159891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":159891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:50:03] local.INFO: TCP Data received {"connection_id":159891,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:50:03] local.INFO: Processing buffer {"connection_id":159891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:50:03] local.INFO: IMEI packet received {"connection_id":159891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":159891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:50:08] local.INFO: TCP Data received {"connection_id":159891,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02777f8a8012d196940071fedd8003e011c24..."} 
[2026-08-22 08:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02777f8a8012d196940071fedd8003e011c24..."} 
[2026-08-22 08:50:08] local.INFO: Processing buffer {"connection_id":159891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02777f8a8012d196940071fedd8003e011c24..."} 
[2026-08-22 08:50:08] local.INFO: Packet analysis {"connection_id":159891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02777"} 
[2026-08-22 08:50:08] local.INFO: Extracted packet for processing {"connection_id":159891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02777"} 
[2026-08-22 08:50:08] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566348288001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787368569000,"timestamp_ms":1787368569000,"timestamp_seconds":1787368569,"priority":1,"record_length":96,"hex_timestamp":"000001a02777f8a8"} 
[2026-08-22 08:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:50: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-22 08:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:50:08] 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-22 08:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:50:08] 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-22 08:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566348288001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566348288001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:50:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:50:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566348288001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":159891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:50:08] local.INFO: GPS data processed {"connection_id":159891,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:50:08] local.INFO: Acknowledgment sent {"connection_id":159891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:50:27] local.INFO: TCP Data received {"connection_id":162196,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:50:27] local.INFO: Processing buffer {"connection_id":162196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:50:27] local.INFO: Packet analysis {"connection_id":162196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:50:27] local.INFO: Extracted packet for processing {"connection_id":162196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566331136001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:50: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-22 08:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787368783000,"timestamp_ms":1787368783000,"timestamp_seconds":1787368783,"priority":1,"record_length":96,"hex_timestamp":"000001a0277b3c98"} 
[2026-08-22 08:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:50:27] 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-22 08:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-22 08:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566331136001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566331136001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:50:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566331136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":162196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:50:27] local.INFO: GPS data processed {"connection_id":162196,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:50:27] local.INFO: Acknowledgment sent {"connection_id":162196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:50:49] local.INFO: TCP Data received {"connection_id":159893,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:50:49] local.INFO: Processing buffer {"connection_id":159893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:50:49] local.INFO: IMEI packet received {"connection_id":159893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":159893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:50:53] local.INFO: TCP Data received {"connection_id":159632,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:50:53] local.INFO: Processing buffer {"connection_id":159632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:50:53] local.INFO: IMEI packet received {"connection_id":159632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":159632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:50:55] local.INFO: TCP Data received {"connection_id":159893,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:50:55] local.INFO: Processing buffer {"connection_id":159893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:50:55] local.INFO: IMEI packet received {"connection_id":159893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":159893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:50:55] local.INFO: TCP Data received {"connection_id":159893,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:50:55] local.INFO: Processing buffer {"connection_id":159893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:50:55] local.INFO: Packet analysis {"connection_id":159893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:50:55] local.INFO: Extracted packet for processing {"connection_id":159893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:50:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566331136001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:50: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-22 08:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787368783000,"timestamp_ms":1787368783000,"timestamp_seconds":1787368783,"priority":1,"record_length":96,"hex_timestamp":"000001a0277b3c98"} 
[2026-08-22 08: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-22 08:50:55] 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-22 08:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-22 08:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566331136001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566331136001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:50:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:50:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566331136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":159893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:50:55] local.INFO: GPS data processed {"connection_id":159893,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:50:55] local.INFO: Acknowledgment sent {"connection_id":159893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:50:58] local.INFO: TCP Data received {"connection_id":159632,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:50:58] local.INFO: Processing buffer {"connection_id":159632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:50:58] local.INFO: IMEI packet received {"connection_id":159632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":159632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:50:59] local.INFO: TCP Data received {"connection_id":159632,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027784ab0012d196940071fedd8003e011c24..."} 
[2026-08-22 08:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027784ab0012d196940071fedd8003e011c24..."} 
[2026-08-22 08:50:59] local.INFO: Processing buffer {"connection_id":159632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027784ab0012d196940071fedd8003e011c24..."} 
[2026-08-22 08:50:59] local.INFO: Packet analysis {"connection_id":159632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02778"} 
[2026-08-22 08:50:59] local.INFO: Extracted packet for processing {"connection_id":159632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02778"} 
[2026-08-22 08:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566353664001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:50: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-22 08:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787368590000,"timestamp_ms":1787368590000,"timestamp_seconds":1787368590,"priority":1,"record_length":96,"hex_timestamp":"000001a027784ab0"} 
[2026-08-22 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-22 08:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:50:59] 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-22 08:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566353664001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566353664001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:50:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566353664001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":159632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:50:59] local.INFO: GPS data processed {"connection_id":159632,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:50:59] local.INFO: Acknowledgment sent {"connection_id":159632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:51:27] local.INFO: TCP Data received {"connection_id":159893,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:51:27] local.INFO: Processing buffer {"connection_id":159893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:51:27] local.INFO: Packet analysis {"connection_id":159893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:51:27] local.INFO: Extracted packet for processing {"connection_id":159893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566331136001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:51: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-22 08:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787368783000,"timestamp_ms":1787368783000,"timestamp_seconds":1787368783,"priority":1,"record_length":96,"hex_timestamp":"000001a0277b3c98"} 
[2026-08-22 08: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-22 08:51:27] 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-22 08:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-22 08:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566331136001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566331136001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:51:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566331136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":159893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:51:27] local.INFO: GPS data processed {"connection_id":159893,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:51:27] local.INFO: Acknowledgment sent {"connection_id":159893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:51:30] local.INFO: TCP Data received {"connection_id":159632,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027789cb8012d196940071fedd8003e011c24..."} 
[2026-08-22 08:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027789cb8012d196940071fedd8003e011c24..."} 
[2026-08-22 08:51:30] local.INFO: Processing buffer {"connection_id":159632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027789cb8012d196940071fedd8003e011c24..."} 
[2026-08-22 08:51:30] local.INFO: Packet analysis {"connection_id":159632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02778"} 
[2026-08-22 08:51:30] local.INFO: Extracted packet for processing {"connection_id":159632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02778"} 
[2026-08-22 08:51:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566359040001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:51: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-22 08:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787368611000,"timestamp_ms":1787368611000,"timestamp_seconds":1787368611,"priority":1,"record_length":96,"hex_timestamp":"000001a027789cb8"} 
[2026-08-22 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-22 08:51:30] 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-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 08:51:30] 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-22 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-22 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-22 08:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:51:30] 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-22 08:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566359040001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566359040001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:51:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:51:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566359040001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":159632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:51:30] local.INFO: GPS data processed {"connection_id":159632,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:51:30] local.INFO: Acknowledgment sent {"connection_id":159632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:51:53] local.INFO: TCP Data received {"connection_id":159895,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:51:53] local.INFO: Processing buffer {"connection_id":159895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:51:53] local.INFO: IMEI packet received {"connection_id":159895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":159895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:51:55] local.INFO: TCP Data received {"connection_id":159894,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:51:55] local.INFO: Processing buffer {"connection_id":159894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:51:55] local.INFO: IMEI packet received {"connection_id":159894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":159894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:51:58] local.INFO: TCP Data received {"connection_id":159895,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:51:58] local.INFO: Processing buffer {"connection_id":159895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:51:58] local.INFO: IMEI packet received {"connection_id":159895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":159895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:51:59] local.INFO: TCP Data received {"connection_id":159895,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02778eec0012d196940071fedd8003e011c24..."} 
[2026-08-22 08:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02778eec0012d196940071fedd8003e011c24..."} 
[2026-08-22 08:51:59] local.INFO: Processing buffer {"connection_id":159895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02778eec0012d196940071fedd8003e011c24..."} 
[2026-08-22 08:51:59] local.INFO: Packet analysis {"connection_id":159895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02778"} 
[2026-08-22 08:51:59] local.INFO: Extracted packet for processing {"connection_id":159895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02778"} 
[2026-08-22 08:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566364416001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:51: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-22 08:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787368632000,"timestamp_ms":1787368632000,"timestamp_seconds":1787368632,"priority":1,"record_length":96,"hex_timestamp":"000001a02778eec0"} 
[2026-08-22 08: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-22 08:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:51:59] 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-22 08:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566364416001,"66":12363,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566364416001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:51:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:51:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566364416001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":159895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:51:59] local.INFO: GPS data processed {"connection_id":159895,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:51:59] local.INFO: Acknowledgment sent {"connection_id":159895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:52:00] local.INFO: TCP Data received {"connection_id":159894,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:52:00] local.INFO: Processing buffer {"connection_id":159894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:52:00] local.INFO: IMEI packet received {"connection_id":159894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":159894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:52:00] local.INFO: TCP Data received {"connection_id":159894,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:52:00] local.INFO: Processing buffer {"connection_id":159894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:52:00] local.INFO: Packet analysis {"connection_id":159894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:52:00] local.INFO: Extracted packet for processing {"connection_id":159894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566331136001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:52: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-22 08:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787368783000,"timestamp_ms":1787368783000,"timestamp_seconds":1787368783,"priority":1,"record_length":96,"hex_timestamp":"000001a0277b3c98"} 
[2026-08-22 08: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-22 08:52:00] 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-22 08: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-22 08:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566331136001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566331136001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:52:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:52:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566331136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":159894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:52:00] local.INFO: GPS data processed {"connection_id":159894,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:52:00] local.INFO: Acknowledgment sent {"connection_id":159894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:52:05] local.INFO: TCP Data received {"connection_id":159894,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:52:05] local.INFO: Processing buffer {"connection_id":159894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:52:05] local.INFO: Packet analysis {"connection_id":159894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:52:05] local.INFO: Extracted packet for processing {"connection_id":159894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566331136001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:52:05] 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-22 08:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787368783000,"timestamp_ms":1787368783000,"timestamp_seconds":1787368783,"priority":1,"record_length":96,"hex_timestamp":"000001a0277b3c98"} 
[2026-08-22 08:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:52:05] 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-22 08:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-22 08:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566331136001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566331136001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:52:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:52:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566331136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":159894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:52:05] local.INFO: GPS data processed {"connection_id":159894,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:52:05] local.INFO: Acknowledgment sent {"connection_id":159894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:52:30] local.INFO: TCP Data received {"connection_id":159895,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0277c7518012d196940071fedd8003e011c23..."} 
[2026-08-22 08:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277c7518012d196940071fedd8003e011c23..."} 
[2026-08-22 08:52:30] local.INFO: Processing buffer {"connection_id":159895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277c7518012d196940071fedd8003e011c23..."} 
[2026-08-22 08:52:30] local.INFO: Packet analysis {"connection_id":159895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277c"} 
[2026-08-22 08:52:30] local.INFO: Extracted packet for processing {"connection_id":159895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277c"} 
[2026-08-22 08:52:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566423552001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:52: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-22 08:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787368863000,"timestamp_ms":1787368863000,"timestamp_seconds":1787368863,"priority":1,"record_length":96,"hex_timestamp":"000001a0277c7518"} 
[2026-08-22 08: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-22 08:52: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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:52:30] 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-22 08:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566423552001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566423552001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:52:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:52:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566423552001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":159895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:52:30] local.INFO: GPS data processed {"connection_id":159895,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:52:30] local.INFO: Acknowledgment sent {"connection_id":159895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:52:50] local.INFO: TCP Data received {"connection_id":159896,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:52:50] local.INFO: Processing buffer {"connection_id":159896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:52:50] local.INFO: IMEI packet received {"connection_id":159896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":159896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:52:53] local.INFO: TCP Data received {"connection_id":159634,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:52:53] local.INFO: Processing buffer {"connection_id":159634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:52:53] local.INFO: IMEI packet received {"connection_id":159634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":159634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:52:55] local.INFO: TCP Data received {"connection_id":159896,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:52:55] local.INFO: Processing buffer {"connection_id":159896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:52:55] local.INFO: IMEI packet received {"connection_id":159896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":159896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:52:55] local.INFO: TCP Data received {"connection_id":159896,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:52:55] local.INFO: Processing buffer {"connection_id":159896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:52:55] local.INFO: Packet analysis {"connection_id":159896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:52:55] local.INFO: Extracted packet for processing {"connection_id":159896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:52:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566331136001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:52: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-22 08:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787368783000,"timestamp_ms":1787368783000,"timestamp_seconds":1787368783,"priority":1,"record_length":96,"hex_timestamp":"000001a0277b3c98"} 
[2026-08-22 08: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-22 08:52:55] 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-22 08:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-22 08:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566331136001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566331136001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:52:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:52:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566331136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":159896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:52:55] local.INFO: GPS data processed {"connection_id":159896,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:52:55] local.INFO: Acknowledgment sent {"connection_id":159896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:52:58] local.INFO: TCP Data received {"connection_id":159634,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:52:58] local.INFO: Processing buffer {"connection_id":159634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:52:58] local.INFO: IMEI packet received {"connection_id":159634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":159634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:52:59] local.INFO: TCP Data received {"connection_id":159634,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0277cc720012d196940071fedd8003e011c25..."} 
[2026-08-22 08:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277cc720012d196940071fedd8003e011c25..."} 
[2026-08-22 08:52:59] local.INFO: Processing buffer {"connection_id":159634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277cc720012d196940071fedd8003e011c25..."} 
[2026-08-22 08:52:59] local.INFO: Packet analysis {"connection_id":159634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277c"} 
[2026-08-22 08:52:59] local.INFO: Extracted packet for processing {"connection_id":159634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277c"} 
[2026-08-22 08:52:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566428928001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:52: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-22 08:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787368884000,"timestamp_ms":1787368884000,"timestamp_seconds":1787368884,"priority":1,"record_length":96,"hex_timestamp":"000001a0277cc720"} 
[2026-08-22 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-22 08:52: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-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 08:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:52:59] 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-22 08:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566428928001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566428928001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:52:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:52:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566428928001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":159634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:52:59] local.INFO: GPS data processed {"connection_id":159634,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:52:59] local.INFO: Acknowledgment sent {"connection_id":159634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:53:26] local.INFO: TCP Data received {"connection_id":159896,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:53:26] local.INFO: Processing buffer {"connection_id":159896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:53:26] local.INFO: Packet analysis {"connection_id":159896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:53:26] local.INFO: Extracted packet for processing {"connection_id":159896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566331136001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:53: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-22 08:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787368783000,"timestamp_ms":1787368783000,"timestamp_seconds":1787368783,"priority":1,"record_length":96,"hex_timestamp":"000001a0277b3c98"} 
[2026-08-22 08: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-22 08:53:26] 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-22 08:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-22 08:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566331136001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566331136001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:53:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566331136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":159896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:53:26] local.INFO: GPS data processed {"connection_id":159896,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:53:26] local.INFO: Acknowledgment sent {"connection_id":159896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:53:30] local.INFO: TCP Data received {"connection_id":159634,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0277d1928012d196940071fedd8003e011c24..."} 
[2026-08-22 08:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277d1928012d196940071fedd8003e011c24..."} 
[2026-08-22 08:53:30] local.INFO: Processing buffer {"connection_id":159634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277d1928012d196940071fedd8003e011c24..."} 
[2026-08-22 08:53:30] local.INFO: Packet analysis {"connection_id":159634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277d"} 
[2026-08-22 08:53:30] local.INFO: Extracted packet for processing {"connection_id":159634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277d"} 
[2026-08-22 08:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566434304001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:53: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-22 08:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787368905000,"timestamp_ms":1787368905000,"timestamp_seconds":1787368905,"priority":1,"record_length":96,"hex_timestamp":"000001a0277d1928"} 
[2026-08-22 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-22 08:53: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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:53:30] 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-22 08:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566434304001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566434304001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:53:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:53:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566434304001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":159634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:53:30] local.INFO: GPS data processed {"connection_id":159634,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:53:30] local.INFO: Acknowledgment sent {"connection_id":159634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:53:49] local.INFO: TCP Data received {"connection_id":160777,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:53:49] local.INFO: Processing buffer {"connection_id":160777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:53:49] local.INFO: IMEI packet received {"connection_id":160777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":160777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:53:53] local.INFO: TCP Data received {"connection_id":162198,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:53:53] local.INFO: Processing buffer {"connection_id":162198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:53:53] local.INFO: IMEI packet received {"connection_id":162198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":162198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:53:55] local.INFO: TCP Data received {"connection_id":160777,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:53:55] local.INFO: Processing buffer {"connection_id":160777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:53:55] local.INFO: IMEI packet received {"connection_id":160777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":160777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:53:55] local.INFO: TCP Data received {"connection_id":160777,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:53:55] local.INFO: Processing buffer {"connection_id":160777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:53:55] local.INFO: Packet analysis {"connection_id":160777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:53:55] local.INFO: Extracted packet for processing {"connection_id":160777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:53:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566331136001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:53: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-22 08:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787368783000,"timestamp_ms":1787368783000,"timestamp_seconds":1787368783,"priority":1,"record_length":96,"hex_timestamp":"000001a0277b3c98"} 
[2026-08-22 08: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-22 08:53:55] 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-22 08:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-22 08:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566331136001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566331136001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:53:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:53:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566331136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":160777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:53:55] local.INFO: GPS data processed {"connection_id":160777,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:53:55] local.INFO: Acknowledgment sent {"connection_id":160777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:53:58] local.INFO: TCP Data received {"connection_id":162198,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:53:58] local.INFO: Processing buffer {"connection_id":162198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:53:58] local.INFO: IMEI packet received {"connection_id":162198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":162198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:53:59] local.INFO: TCP Data received {"connection_id":162198,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0277d6b30012d196940071fedd8003e011c24..."} 
[2026-08-22 08:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277d6b30012d196940071fedd8003e011c24..."} 
[2026-08-22 08:53:59] local.INFO: Processing buffer {"connection_id":162198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277d6b30012d196940071fedd8003e011c24..."} 
[2026-08-22 08:53:59] local.INFO: Packet analysis {"connection_id":162198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277d"} 
[2026-08-22 08:53:59] local.INFO: Extracted packet for processing {"connection_id":162198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277d"} 
[2026-08-22 08:53:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566439680001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:53: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-22 08:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787368926000,"timestamp_ms":1787368926000,"timestamp_seconds":1787368926,"priority":1,"record_length":96,"hex_timestamp":"000001a0277d6b30"} 
[2026-08-22 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-22 08:53: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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:53:59] 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-22 08:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566439680001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566439680001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:53:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:53:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566439680001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":162198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:53:59] local.INFO: GPS data processed {"connection_id":162198,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:53:59] local.INFO: Acknowledgment sent {"connection_id":162198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:54:13] local.INFO: TCP Data received {"connection_id":160778,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160778,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:54:13] local.INFO: Processing buffer {"connection_id":160778,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:54:13] local.INFO: IMEI packet received {"connection_id":160778,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":160778,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:54:16] local.INFO: TCP Data received {"connection_id":160778,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160778,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:54:16] local.INFO: Processing buffer {"connection_id":160778,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:54:16] local.INFO: IMEI packet received {"connection_id":160778,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":160778,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:54:26] local.INFO: TCP Data received {"connection_id":160777,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:54:26] local.INFO: Processing buffer {"connection_id":160777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:54:26] local.INFO: Packet analysis {"connection_id":160777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:54:26] local.INFO: Extracted packet for processing {"connection_id":160777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566331136001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:54: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-22 08:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787368783000,"timestamp_ms":1787368783000,"timestamp_seconds":1787368783,"priority":1,"record_length":96,"hex_timestamp":"000001a0277b3c98"} 
[2026-08-22 08: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-22 08:54:26] 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-22 08: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-22 08:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566331136001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566331136001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:54:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566331136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":160777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:54:26] local.INFO: GPS data processed {"connection_id":160777,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:54:26] local.INFO: Acknowledgment sent {"connection_id":160777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:54:30] local.INFO: TCP Data received {"connection_id":162198,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0277dbd38012d196940071fedd8003e011c20..."} 
[2026-08-22 08:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277dbd38012d196940071fedd8003e011c20..."} 
[2026-08-22 08:54:30] local.INFO: Processing buffer {"connection_id":162198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277dbd38012d196940071fedd8003e011c20..."} 
[2026-08-22 08:54:30] local.INFO: Packet analysis {"connection_id":162198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277d"} 
[2026-08-22 08:54:30] local.INFO: Extracted packet for processing {"connection_id":162198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277d"} 
[2026-08-22 08:54:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":32,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566445056001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:54: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-22 08:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787368947000,"timestamp_ms":1787368947000,"timestamp_seconds":1787368947,"priority":1,"record_length":96,"hex_timestamp":"000001a0277dbd38"} 
[2026-08-22 08: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-22 08:54:30] 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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:54:30] 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-22 08:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566445056001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566445056001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:54:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:54:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566445056001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":162198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:54:30] local.INFO: GPS data processed {"connection_id":162198,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:54:30] local.INFO: Acknowledgment sent {"connection_id":162198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:54:46] local.INFO: TCP Data received {"connection_id":159897,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159897,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:54:46] local.INFO: Processing buffer {"connection_id":159897,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:54:46] local.INFO: IMEI packet received {"connection_id":159897,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":159897,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:54:49] local.INFO: TCP Data received {"connection_id":160779,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:54:49] local.INFO: Processing buffer {"connection_id":160779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:54:49] local.INFO: IMEI packet received {"connection_id":160779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":160779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:54:51] local.INFO: TCP Data received {"connection_id":159897,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159897,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:54:51] local.INFO: Processing buffer {"connection_id":159897,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:54:51] local.INFO: IMEI packet received {"connection_id":159897,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":159897,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:54:52] local.INFO: TCP Data received {"connection_id":159897,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0277f0170012d0b6b800705e548000d012f1d..."} 
[2026-08-22 08:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277f0170012d0b6b800705e548000d012f1d..."} 
[2026-08-22 08:54:52] local.INFO: Processing buffer {"connection_id":159897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277f0170012d0b6b800705e548000d012f1d..."} 
[2026-08-22 08:54:52] local.INFO: Packet analysis {"connection_id":159897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:54:52] local.INFO: Extracted packet for processing {"connection_id":159897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:54:52] local.INFO: GPS Element Parsed {"raw_longitude":755723136,"raw_latitude":117826888,"longitude_deg":75.5723136,"latitude_deg":11.7826888,"altitude":13,"angle":303,"satellites":29,"speed":43,"hex_longitude":"2d0b6b80","hex_latitude":"0705e548","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566469632001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29366061497319424,"note":"Value kept but may cause issues"} 
[2026-08-22 08:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":831054898900963328,"note":"Value kept but may cause issues"} 
[2026-08-22 08:54:52] 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-22 08:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787369030000,"timestamp_ms":1787369030000,"timestamp_seconds":1787369030,"priority":1,"record_length":96,"hex_timestamp":"000001a0277f0170"} 
[2026-08-22 08: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-22 08: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-22 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 08:54:52] 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-22 08: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-22 08: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-22 08:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159897,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159897,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566469632001,"66":14407,"164":206,"94":10240,"24":43,"16":29366061497319424,"45":831054898900963328},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-22 08:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566469632001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:54:52] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-22 08:54:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 08:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29366061497319424,"km_value":29366061497319.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":831054898900963328,"description":"Unknown IO ID 45"} 
[2026-08-22 08:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566469632001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_45":831054898900963328}} 
[2026-08-22 08:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":159897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680088,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:54:53] local.INFO: GPS data processed {"connection_id":159897,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:54:53] local.INFO: Acknowledgment sent {"connection_id":159897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:54:53] local.INFO: TCP Data received {"connection_id":159635,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:54:53] local.INFO: Processing buffer {"connection_id":159635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:54:53] local.INFO: IMEI packet received {"connection_id":159635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":159635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:54:55] local.INFO: TCP Data received {"connection_id":160779,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:54:55] local.INFO: Processing buffer {"connection_id":160779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:54:55] local.INFO: IMEI packet received {"connection_id":160779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":160779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:54:55] local.INFO: TCP Data received {"connection_id":160779,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:54:55] local.INFO: Processing buffer {"connection_id":160779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277b3c98012d7f8ac005afe2d0000000fa1d..."} 
[2026-08-22 08:54:55] local.INFO: Packet analysis {"connection_id":160779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:54:55] local.INFO: Extracted packet for processing {"connection_id":160779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277b"} 
[2026-08-22 08:54:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":29,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566331136001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:54: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-22 08:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787368783000,"timestamp_ms":1787368783000,"timestamp_seconds":1787368783,"priority":1,"record_length":96,"hex_timestamp":"000001a0277b3c98"} 
[2026-08-22 08: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-22 08:54:55] 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-22 08:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-22 08:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566331136001,"66":25288,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566331136001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:54:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:54:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566331136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":160779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:54:55] local.INFO: GPS data processed {"connection_id":160779,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:54:55] local.INFO: Acknowledgment sent {"connection_id":160779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:54:58] local.INFO: TCP Data received {"connection_id":159635,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:54:58] local.INFO: Processing buffer {"connection_id":159635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:54:58] local.INFO: IMEI packet received {"connection_id":159635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":159635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:54:59] local.INFO: TCP Data received {"connection_id":159635,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0277e0f40012d196940071fedd8003e011c22..."} 
[2026-08-22 08:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277e0f40012d196940071fedd8003e011c22..."} 
[2026-08-22 08:54:59] local.INFO: Processing buffer {"connection_id":159635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277e0f40012d196940071fedd8003e011c22..."} 
[2026-08-22 08:54:59] local.INFO: Packet analysis {"connection_id":159635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277e"} 
[2026-08-22 08:54:59] local.INFO: Extracted packet for processing {"connection_id":159635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277e"} 
[2026-08-22 08:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566450432001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:54: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-22 08:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787368968000,"timestamp_ms":1787368968000,"timestamp_seconds":1787368968,"priority":1,"record_length":96,"hex_timestamp":"000001a0277e0f40"} 
[2026-08-22 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-22 08:54: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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:54:59] 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-22 08:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566450432001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566450432001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:54:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:54:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566450432001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":159635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:54:59] local.INFO: GPS data processed {"connection_id":159635,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:54:59] local.INFO: Acknowledgment sent {"connection_id":159635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:55:27] local.INFO: TCP Data received {"connection_id":160779,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0277fd848012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 08:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277fd848012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 08:55:27] local.INFO: Processing buffer {"connection_id":160779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277fd848012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 08:55:27] local.INFO: Packet analysis {"connection_id":160779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:55:27] local.INFO: Extracted packet for processing {"connection_id":160779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566408448001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:55: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-22 08:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787369085000,"timestamp_ms":1787369085000,"timestamp_seconds":1787369085,"priority":1,"record_length":96,"hex_timestamp":"000001a0277fd848"} 
[2026-08-22 08:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:55:27] 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-22 08:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566408448001,"66":25299,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566408448001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:55:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566408448001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":160779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:55:27] local.INFO: GPS data processed {"connection_id":160779,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:55:27] local.INFO: Acknowledgment sent {"connection_id":160779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:55:30] local.INFO: TCP Data received {"connection_id":159635,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0277e6148012d196940071fedd8003e011c22..."} 
[2026-08-22 08:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277e6148012d196940071fedd8003e011c22..."} 
[2026-08-22 08:55:30] local.INFO: Processing buffer {"connection_id":159635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277e6148012d196940071fedd8003e011c22..."} 
[2026-08-22 08:55:30] local.INFO: Packet analysis {"connection_id":159635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277e"} 
[2026-08-22 08:55:30] local.INFO: Extracted packet for processing {"connection_id":159635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277e"} 
[2026-08-22 08:55:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566455808001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:55: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-22 08:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787368989000,"timestamp_ms":1787368989000,"timestamp_seconds":1787368989,"priority":1,"record_length":96,"hex_timestamp":"000001a0277e6148"} 
[2026-08-22 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-22 08:55:30] 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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:55:30] 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-22 08:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566455808001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566455808001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:55:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566455808001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":159635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:55:30] local.INFO: GPS data processed {"connection_id":159635,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:55:30] local.INFO: Acknowledgment sent {"connection_id":159635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:55:37] local.INFO: TCP Data received {"connection_id":160780,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160780,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:55:37] local.INFO: Processing buffer {"connection_id":160780,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:55:37] local.INFO: IMEI packet received {"connection_id":160780,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":160780,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:55:42] local.INFO: TCP Data received {"connection_id":160780,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160780,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:55:42] local.INFO: Processing buffer {"connection_id":160780,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:55:42] local.INFO: IMEI packet received {"connection_id":160780,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":160780,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:55:42] local.INFO: TCP Data received {"connection_id":160780,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0277f2c68012d0b4e800705fc08000e01381d..."} 
[2026-08-22 08:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277f2c68012d0b4e800705fc08000e01381d..."} 
[2026-08-22 08:55:42] local.INFO: Processing buffer {"connection_id":160780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277f2c68012d0b4e800705fc08000e01381d..."} 
[2026-08-22 08:55:42] local.INFO: Packet analysis {"connection_id":160780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:55:42] local.INFO: Extracted packet for processing {"connection_id":160780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:55:42] local.INFO: GPS Element Parsed {"raw_longitude":755715712,"raw_latitude":117832712,"longitude_deg":75.5715712,"latitude_deg":11.7832712,"altitude":14,"angle":312,"satellites":29,"speed":16,"hex_longitude":"2d0b4e80","hex_latitude":"0705fc08","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566471680001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29366512468885504,"note":"Value kept but may cause issues"} 
[2026-08-22 08:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822892124577286144,"note":"Value kept but may cause issues"} 
[2026-08-22 08:55: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-22 08:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787369041000,"timestamp_ms":1787369041000,"timestamp_seconds":1787369041,"priority":1,"record_length":96,"hex_timestamp":"000001a0277f2c68"} 
[2026-08-22 08: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-22 08:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 08:55: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-22 08: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-22 08: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-22 08:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160780,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160780,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566471680001,"66":14515,"164":206,"94":10240,"24":16,"16":29366512468885504,"45":822892124577286144},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-22 08:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566471680001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:55:42] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-22 08:55:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 08:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29366512468885504,"km_value":29366512468885.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":822892124577286144,"description":"Unknown IO ID 45"} 
[2026-08-22 08:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566471680001,"power":14515,"unknown_164":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":822892124577286144}} 
[2026-08-22 08:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":160780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680093,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:55:42] local.INFO: GPS data processed {"connection_id":160780,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:55:42] local.INFO: Acknowledgment sent {"connection_id":160780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:55:54] local.INFO: TCP Data received {"connection_id":160781,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:55:54] local.INFO: Processing buffer {"connection_id":160781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:55:54] local.INFO: IMEI packet received {"connection_id":160781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":160781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:55:59] local.INFO: TCP Data received {"connection_id":159636,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:55:59] local.INFO: Processing buffer {"connection_id":159636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:55:59] local.INFO: IMEI packet received {"connection_id":159636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":159636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:56:00] local.INFO: TCP Data received {"connection_id":160781,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:56:00] local.INFO: Processing buffer {"connection_id":160781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:56:00] local.INFO: IMEI packet received {"connection_id":160781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":160781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:56:00] local.INFO: TCP Data received {"connection_id":160781,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0277fd848012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 08:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277fd848012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 08:56:00] local.INFO: Processing buffer {"connection_id":160781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277fd848012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 08:56:00] local.INFO: Packet analysis {"connection_id":160781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:56:00] local.INFO: Extracted packet for processing {"connection_id":160781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:56:00] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566408448001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56: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-22 08:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787369085000,"timestamp_ms":1787369085000,"timestamp_seconds":1787369085,"priority":1,"record_length":96,"hex_timestamp":"000001a0277fd848"} 
[2026-08-22 08: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-22 08:56:00] 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-22 08: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566408448001,"66":25299,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566408448001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:56:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:56:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566408448001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":160781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:56:00] local.INFO: GPS data processed {"connection_id":160781,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:56:00] local.INFO: Acknowledgment sent {"connection_id":160781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:56:03] local.INFO: TCP Data received {"connection_id":159636,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:56:03] local.INFO: Processing buffer {"connection_id":159636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:56:03] local.INFO: IMEI packet received {"connection_id":159636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":159636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:56:04] local.INFO: TCP Data received {"connection_id":159636,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0277eb350012d196940071fedd8003e011c21..."} 
[2026-08-22 08:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277eb350012d196940071fedd8003e011c21..."} 
[2026-08-22 08:56:04] local.INFO: Processing buffer {"connection_id":159636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277eb350012d196940071fedd8003e011c21..."} 
[2026-08-22 08:56:04] local.INFO: Packet analysis {"connection_id":159636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277e"} 
[2026-08-22 08:56:04] local.INFO: Extracted packet for processing {"connection_id":159636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277e"} 
[2026-08-22 08:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566461184001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787369010000,"timestamp_ms":1787369010000,"timestamp_seconds":1787369010,"priority":1,"record_length":96,"hex_timestamp":"000001a0277eb350"} 
[2026-08-22 08: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-22 08:56:04] 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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:56:04] 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-22 08: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-22 08: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-22 08:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:56:04] 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-22 08:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566461184001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566461184001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:56:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:56:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566461184001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":159636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:56:04] local.INFO: GPS data processed {"connection_id":159636,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:56:04] local.INFO: Acknowledgment sent {"connection_id":159636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:56:09] local.INFO: TCP Data received {"connection_id":159636,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0277f0558012d196940071fedd8003e011c25..."} 
[2026-08-22 08:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277f0558012d196940071fedd8003e011c25..."} 
[2026-08-22 08:56:09] local.INFO: Processing buffer {"connection_id":159636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277f0558012d196940071fedd8003e011c25..."} 
[2026-08-22 08:56:09] local.INFO: Packet analysis {"connection_id":159636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:56:09] local.INFO: Extracted packet for processing {"connection_id":159636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:56:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566466560001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787369031000,"timestamp_ms":1787369031000,"timestamp_seconds":1787369031,"priority":1,"record_length":96,"hex_timestamp":"000001a0277f0558"} 
[2026-08-22 08: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-22 08:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:56:09] 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-22 08:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566466560001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566466560001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:56:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:56:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566466560001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":159636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:56:09] local.INFO: GPS data processed {"connection_id":159636,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:56:09] local.INFO: Acknowledgment sent {"connection_id":159636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:56:14] local.INFO: TCP Data received {"connection_id":160780,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0277f5760012d0b4d000705ff40000f001c1d..."} 
[2026-08-22 08:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277f5760012d0b4d000705ff40000f001c1d..."} 
[2026-08-22 08:56:14] local.INFO: Processing buffer {"connection_id":160780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277f5760012d0b4d000705ff40000f001c1d..."} 
[2026-08-22 08:56:14] local.INFO: Packet analysis {"connection_id":160780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:56:14] local.INFO: Extracted packet for processing {"connection_id":160780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:56:14] local.INFO: GPS Element Parsed {"raw_longitude":755715328,"raw_latitude":117833536,"longitude_deg":75.5715328,"latitude_deg":11.7833536,"altitude":15,"angle":28,"satellites":29,"speed":6,"hex_longitude":"2d0b4d00","hex_latitude":"0705ff40","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566474496001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29366568303460352,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814729350254168064,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:14] 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-22 08:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787369052000,"timestamp_ms":1787369052000,"timestamp_seconds":1787369052,"priority":1,"record_length":96,"hex_timestamp":"000001a0277f5760"} 
[2026-08-22 08: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-22 08:56: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-22 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 08:56:14] 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-22 08: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-22 08: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-22 08:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160780,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160780,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566474496001,"66":14374,"165":206,"94":10240,"24":6,"16":29366568303460352,"45":814729350254168064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-22 08:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566474496001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:56:14] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-22 08:56:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 08:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29366568303460352,"km_value":29366568303460.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":814729350254168064,"description":"Unknown IO ID 45"} 
[2026-08-22 08:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566474496001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":814729350254168064}} 
[2026-08-22 08:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":160780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680097,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:56:14] local.INFO: GPS data processed {"connection_id":160780,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:56:14] local.INFO: Acknowledgment sent {"connection_id":160780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:56:31] local.INFO: TCP Data received {"connection_id":160781,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0277fd848012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 08:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277fd848012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 08:56:31] local.INFO: Processing buffer {"connection_id":160781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277fd848012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 08:56:31] local.INFO: Packet analysis {"connection_id":160781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:56:31] local.INFO: Extracted packet for processing {"connection_id":160781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:56:31] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566408448001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:31] 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-22 08:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787369085000,"timestamp_ms":1787369085000,"timestamp_seconds":1787369085,"priority":1,"record_length":96,"hex_timestamp":"000001a0277fd848"} 
[2026-08-22 08: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-22 08:56:31] 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-22 08: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566408448001,"66":25299,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566408448001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:56:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:56:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566408448001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":160781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:56:32] local.INFO: GPS data processed {"connection_id":160781,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:56:32] local.INFO: Acknowledgment sent {"connection_id":160781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:56:36] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:56:36] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:56:36] local.INFO: IMEI packet received {"connection_id":159899,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":159899,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:56:36] local.INFO: TCP Data received {"connection_id":159898,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:56:36] local.INFO: Processing buffer {"connection_id":159898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:56:36] local.INFO: IMEI packet received {"connection_id":159898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":159898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:56:38] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:56:38] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:56:38] local.INFO: IMEI packet received {"connection_id":159899,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":159899,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:56:42] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:56:42] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:56:42] local.INFO: IMEI packet received {"connection_id":159899,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":159899,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:56:43] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0277fa580012d0b544007060b50001000131d..."} 
[2026-08-22 08:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277fa580012d0b544007060b50001000131d..."} 
[2026-08-22 08:56:43] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277fa580012d0b544007060b50001000131d..."} 
[2026-08-22 08:56:43] local.INFO: Packet analysis {"connection_id":159899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:56:43] local.INFO: Extracted packet for processing {"connection_id":159899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:56:43] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836624,"longitude_deg":75.5717184,"latitude_deg":11.7836624,"altitude":16,"angle":19,"satellites":29,"speed":0,"hex_longitude":"2d0b5440","hex_latitude":"07060b50","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566477312001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29366740102152192,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814307137789313024,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:43] 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-22 08:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787369072000,"timestamp_ms":1787369072000,"timestamp_seconds":1787369072,"priority":1,"record_length":96,"hex_timestamp":"000001a0277fa580"} 
[2026-08-22 08: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-22 08:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 08:56: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-22 08: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-22 08: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-22 08:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159899,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159899,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566477312001,"66":14407,"165":206,"94":10240,"24":0,"16":29366740102152192,"45":814307137789313024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-22 08:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566477312001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:56:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-22 08:56:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 08:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29366740102152192,"km_value":29366740102152.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":814307137789313024,"description":"Unknown IO ID 45"} 
[2026-08-22 08:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566477312001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":814307137789313024}} 
[2026-08-22 08:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":159899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680099,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:56:43] local.INFO: GPS data processed {"connection_id":159899,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:56:43] local.INFO: Acknowledgment sent {"connection_id":159899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:56:50] local.INFO: TCP Data received {"connection_id":159637,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:56:50] local.INFO: Processing buffer {"connection_id":159637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:56:50] local.INFO: IMEI packet received {"connection_id":159637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":159637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:56:53] local.INFO: TCP Data received {"connection_id":162199,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:56:53] local.INFO: Processing buffer {"connection_id":162199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:56:53] local.INFO: IMEI packet received {"connection_id":162199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":162199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:56:55] local.INFO: TCP Data received {"connection_id":159637,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:56:55] local.INFO: Processing buffer {"connection_id":159637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:56:55] local.INFO: IMEI packet received {"connection_id":159637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":159637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:56:55] local.INFO: TCP Data received {"connection_id":159637,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0277fd848012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 08:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277fd848012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 08:56:55] local.INFO: Processing buffer {"connection_id":159637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277fd848012d7f8ac005afe2d0000000fa21..."} 
[2026-08-22 08:56:55] local.INFO: Packet analysis {"connection_id":159637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:56:55] local.INFO: Extracted packet for processing {"connection_id":159637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:56:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566408448001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56: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-22 08:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787369085000,"timestamp_ms":1787369085000,"timestamp_seconds":1787369085,"priority":1,"record_length":96,"hex_timestamp":"000001a0277fd848"} 
[2026-08-22 08: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-22 08:56:55] 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-22 08:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 08:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566408448001,"66":25299,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566408448001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:56:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:56:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566408448001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":159637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:56:55] local.INFO: GPS data processed {"connection_id":159637,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:56:55] local.INFO: Acknowledgment sent {"connection_id":159637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:56:57] local.INFO: TCP Data received {"connection_id":162199,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:56:57] local.INFO: Processing buffer {"connection_id":162199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:56:57] local.INFO: IMEI packet received {"connection_id":162199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":162199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:56:57] local.INFO: TCP Data received {"connection_id":162199,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0277f5760012d196940071fedd8003e011c22..."} 
[2026-08-22 08:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277f5760012d196940071fedd8003e011c22..."} 
[2026-08-22 08:56:57] local.INFO: Processing buffer {"connection_id":162199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277f5760012d196940071fedd8003e011c22..."} 
[2026-08-22 08:56:57] local.INFO: Packet analysis {"connection_id":162199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:56:57] local.INFO: Extracted packet for processing {"connection_id":162199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566471936001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:56: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-22 08:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787369052000,"timestamp_ms":1787369052000,"timestamp_seconds":1787369052,"priority":1,"record_length":96,"hex_timestamp":"000001a0277f5760"} 
[2026-08-22 08: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-22 08:56:57] 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-22 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:56:57] 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-22 08: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-22 08: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-22 08:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:56:57] 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-22 08:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566471936001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566471936001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:56:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:56:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566471936001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":162199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:56:57] local.INFO: GPS data processed {"connection_id":162199,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:56:57] local.INFO: Acknowledgment sent {"connection_id":162199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:57:06] local.INFO: TCP Data received {"connection_id":160782,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:57:06] local.INFO: Processing buffer {"connection_id":160782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 08:57:06] local.INFO: IMEI packet received {"connection_id":160782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 08:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":160782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:57:14] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02781d800012d0b28400705fe18000c00ca1d..."} 
[2026-08-22 08:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02781d800012d0b28400705fe18000c00ca1d..."} 
[2026-08-22 08:57:14] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02781d800012d0b28400705fe18000c00ca1d..."} 
[2026-08-22 08:57:14] local.INFO: Packet analysis {"connection_id":159899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 08:57:14] local.INFO: Extracted packet for processing {"connection_id":159899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 08:57:14] local.INFO: GPS Element Parsed {"raw_longitude":755705920,"raw_latitude":117833240,"longitude_deg":75.570592,"latitude_deg":11.783324,"altitude":12,"angle":202,"satellites":29,"speed":24,"hex_longitude":"2d0b2840","hex_latitude":"0705fe18","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566518784001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29367749419466752,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804385144860485632,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57:14] 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-22 08:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787369216000,"timestamp_ms":1787369216000,"timestamp_seconds":1787369216,"priority":1,"record_length":96,"hex_timestamp":"000001a02781d800"} 
[2026-08-22 08: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-22 08:57: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-22 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 08:57:14] 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-22 08: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-22 08: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-22 08:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159899,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159899,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566518784001,"66":14428,"165":206,"94":10240,"24":24,"16":29367749419466752,"45":804385144860485632},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-22 08:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566518784001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:57:14] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-22 08:57:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 08:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29367749419466752,"km_value":29367749419466.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":804385144860485632,"description":"Unknown IO ID 45"} 
[2026-08-22 08:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566518784001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":804385144860485632}} 
[2026-08-22 08:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":159899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680102,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:57:14] local.INFO: GPS data processed {"connection_id":159899,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:57:14] local.INFO: Acknowledgment sent {"connection_id":159899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:57:26] local.INFO: TCP Data received {"connection_id":159637,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027821680012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027821680012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:57:26] local.INFO: Processing buffer {"connection_id":159637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027821680012d7f8ac005afe2d0000000fa20..."} 
[2026-08-22 08:57:26] local.INFO: Packet analysis {"connection_id":159637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 08:57:26] local.INFO: Extracted packet for processing {"connection_id":159637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 08:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412944,"longitude_deg":76.3333312,"latitude_deg":9.5412944,"altitude":0,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-08-22 08:57: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-22 08:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566485760001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57: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-22 08:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787369232000,"timestamp_ms":1787369232000,"timestamp_seconds":1787369232,"priority":1,"record_length":96,"hex_timestamp":"000001a027821680"} 
[2026-08-22 08: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-22 08:57:26] 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-22 08:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-22 08:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566485760001,"66":25321,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566485760001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:57:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566485760001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":159637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:57:26] local.INFO: GPS data processed {"connection_id":159637,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:57:26] local.INFO: Acknowledgment sent {"connection_id":159637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:57:28] local.INFO: TCP Data received {"connection_id":162199,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0277fa968012d196940071fedd8003e011c24..."} 
[2026-08-22 08:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277fa968012d196940071fedd8003e011c24..."} 
[2026-08-22 08:57:28] local.INFO: Processing buffer {"connection_id":162199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277fa968012d196940071fedd8003e011c24..."} 
[2026-08-22 08:57:28] local.INFO: Packet analysis {"connection_id":162199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:57:28] local.INFO: Extracted packet for processing {"connection_id":162199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566477312001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 08:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787369073000,"timestamp_ms":1787369073000,"timestamp_seconds":1787369073,"priority":1,"record_length":96,"hex_timestamp":"000001a0277fa968"} 
[2026-08-22 08: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-22 08:57: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-22 08: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 08:57:28] 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-22 08: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-22 08: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-22 08:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:57:28] 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-22 08:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566477312001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566477312001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:57:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566477312001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":162199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:57:29] local.INFO: GPS data processed {"connection_id":162199,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:57:29] local.INFO: Acknowledgment sent {"connection_id":162199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:57:36] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:57:36] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:57:36] local.INFO: IMEI packet received {"connection_id":159900,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":159900,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:57:42] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:57:42] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:57:42] local.INFO: IMEI packet received {"connection_id":159900,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":159900,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:57:42] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02781ef70012d0b23000705eca0000b00be1d..."} 
[2026-08-22 08:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02781ef70012d0b23000705eca0000b00be1d..."} 
[2026-08-22 08:57:42] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02781ef70012d0b23000705eca0000b00be1d..."} 
[2026-08-22 08:57:42] local.INFO: Packet analysis {"connection_id":159900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 08:57:42] local.INFO: Extracted packet for processing {"connection_id":159900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 08:57:42] local.INFO: GPS Element Parsed {"raw_longitude":755704576,"raw_latitude":117828768,"longitude_deg":75.5704576,"latitude_deg":11.7828768,"altitude":11,"angle":190,"satellites":29,"speed":32,"hex_longitude":"2d0b2300","hex_latitude":"0705eca0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566519296001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29367977052733440,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803962932395120640,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57:42] 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-22 08:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787369222000,"timestamp_ms":1787369222000,"timestamp_seconds":1787369222,"priority":1,"record_length":96,"hex_timestamp":"000001a02781ef70"} 
[2026-08-22 08: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-22 08: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-22 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 08:57: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-22 08: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-22 08: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-22 08:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566519296001,"66":14352,"165":206,"94":10240,"24":32,"16":29367977052733440,"45":803962932395120640},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-22 08:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566519296001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:57:42] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-22 08:57:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 08:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29367977052733440,"km_value":29367977052733.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":803962932395120640,"description":"Unknown IO ID 45"} 
[2026-08-22 08:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566519296001,"power":14352,"unknown_165":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":803962932395120640}} 
[2026-08-22 08:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":159900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680105,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:57:42] local.INFO: GPS data processed {"connection_id":159900,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:57:42] local.INFO: Acknowledgment sent {"connection_id":159900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:57:53] local.INFO: TCP Data received {"connection_id":162200,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:57:53] local.INFO: Processing buffer {"connection_id":162200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:57:53] local.INFO: IMEI packet received {"connection_id":162200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":162200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:57:55] local.INFO: TCP Data received {"connection_id":162201,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:57:55] local.INFO: Processing buffer {"connection_id":162201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:57:55] local.INFO: IMEI packet received {"connection_id":162201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":162201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:57:56] local.INFO: TCP Data received {"connection_id":162201,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:57:56] local.INFO: Processing buffer {"connection_id":162201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:57:56] local.INFO: IMEI packet received {"connection_id":162201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":162201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:57:57] local.INFO: TCP Data received {"connection_id":162201,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027822238012d7f8bc005afdf38000000361f..."} 
[2026-08-22 08:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027822238012d7f8bc005afdf38000000361f..."} 
[2026-08-22 08:57:57] local.INFO: Processing buffer {"connection_id":162201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027822238012d7f8bc005afdf38000000361f..."} 
[2026-08-22 08:57:57] local.INFO: Packet analysis {"connection_id":162201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 08:57:57] local.INFO: Extracted packet for processing {"connection_id":162201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 08:57:57] local.INFO: GPS Element Parsed {"raw_longitude":763333568,"raw_latitude":95412024,"longitude_deg":76.3333568,"latitude_deg":9.5412024,"altitude":0,"angle":54,"satellites":31,"speed":0,"hex_longitude":"2d7f8bc0","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566523392001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925648183230464,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261165056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57: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-22 08:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787369235000,"timestamp_ms":1787369235000,"timestamp_seconds":1787369235,"priority":1,"record_length":96,"hex_timestamp":"000001a027822238"} 
[2026-08-22 08: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-22 08:57:57] 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-22 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 08:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566523392001,"66":25071,"250":206,"85":12544,"24":0,"16":388925648183230464,"45":9190369120261165056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566523392001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:57:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:57:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925648183230464,"km_value":388925648183230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261165056,"description":"Unknown IO ID 45"} 
[2026-08-22 08:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566523392001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261165056}} 
[2026-08-22 08:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":162201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:57:57] local.INFO: GPS data processed {"connection_id":162201,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:57:57] local.INFO: Acknowledgment sent {"connection_id":162201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:57:58] local.INFO: TCP Data received {"connection_id":162200,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:57:58] local.INFO: Processing buffer {"connection_id":162200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:57:58] local.INFO: IMEI packet received {"connection_id":162200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":162200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:57:59] local.INFO: TCP Data received {"connection_id":162200,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0277ffb70012d196940071fedd8003e011c1e..."} 
[2026-08-22 08:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0277ffb70012d196940071fedd8003e011c1e..."} 
[2026-08-22 08:57:59] local.INFO: Processing buffer {"connection_id":162200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0277ffb70012d196940071fedd8003e011c1e..."} 
[2026-08-22 08:57:59] local.INFO: Packet analysis {"connection_id":162200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:57:59] local.INFO: Extracted packet for processing {"connection_id":162200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0277f"} 
[2026-08-22 08:57:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566482688001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:57: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-22 08:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787369094000,"timestamp_ms":1787369094000,"timestamp_seconds":1787369094,"priority":1,"record_length":96,"hex_timestamp":"000001a0277ffb70"} 
[2026-08-22 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-22 08:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 08:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 08:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:57:59] 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-22 08:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566482688001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566482688001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:57:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:57:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566482688001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":162200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:57:59] local.INFO: GPS data processed {"connection_id":162200,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:57:59] local.INFO: Acknowledgment sent {"connection_id":162200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:58:13] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02782f140012d0ae240070593a0001e011d1d..."} 
[2026-08-22 08:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02782f140012d0ae240070593a0001e011d1d..."} 
[2026-08-22 08:58:13] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02782f140012d0ae240070593a0001e011d1d..."} 
[2026-08-22 08:58:13] local.INFO: Packet analysis {"connection_id":159900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 08:58:13] local.INFO: Extracted packet for processing {"connection_id":159900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 08:58:13] local.INFO: GPS Element Parsed {"raw_longitude":755688000,"raw_latitude":117805984,"longitude_deg":75.5688,"latitude_deg":11.7805984,"altitude":30,"angle":285,"satellites":29,"speed":12,"hex_longitude":"2d0ae240","hex_latitude":"070593a0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566537472001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29369772349063168,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784611527739254784,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:13] 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-22 08:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787369288000,"timestamp_ms":1787369288000,"timestamp_seconds":1787369288,"priority":1,"record_length":96,"hex_timestamp":"000001a02782f140"} 
[2026-08-22 08: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-22 08:58: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-22 08: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":103,"data_length":795,"current_offset":136} 
[2026-08-22 08:58:13] 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-22 08: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-22 08: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-22 08:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566537472001,"66":14439,"165":206,"94":10240,"24":12,"16":29369772349063168,"45":784611527739254784},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-22 08:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566537472001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:58:13] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-22 08:58:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 08:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29369772349063168,"km_value":29369772349063.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":784611527739254784,"description":"Unknown IO ID 45"} 
[2026-08-22 08:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566537472001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":784611527739254784}} 
[2026-08-22 08:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":159900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680108,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:58:13] local.INFO: GPS data processed {"connection_id":159900,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:58:13] local.INFO: Acknowledgment sent {"connection_id":159900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:58:28] local.INFO: TCP Data received {"connection_id":162201,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027824948012d7f8cc005afdf600000008e1f..."} 
[2026-08-22 08:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027824948012d7f8cc005afdf600000008e1f..."} 
[2026-08-22 08:58:28] local.INFO: Processing buffer {"connection_id":162201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027824948012d7f8cc005afdf600000008e1f..."} 
[2026-08-22 08:58:28] local.INFO: Packet analysis {"connection_id":162201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 08:58:28] local.INFO: Extracted packet for processing {"connection_id":162201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 08:58:28] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95412064,"longitude_deg":76.3333824,"latitude_deg":9.5412064,"altitude":0,"angle":142,"satellites":31,"speed":1,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdf60","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566524160001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925661068132352,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190650595237640192,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58: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-22 08:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787369245000,"timestamp_ms":1787369245000,"timestamp_seconds":1787369245,"priority":1,"record_length":96,"hex_timestamp":"000001a027824948"} 
[2026-08-22 08: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-22 08:58: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-22 08: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-22 08:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566524160001,"66":25093,"250":206,"85":12544,"24":1,"16":388925661068132352,"45":9190650595237640192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566524160001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:58:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925661068132352,"km_value":388925661068132.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190650595237640192,"description":"Unknown IO ID 45"} 
[2026-08-22 08:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566524160001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190650595237640192}} 
[2026-08-22 08:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":162201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:58:28] local.INFO: GPS data processed {"connection_id":162201,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:58:28] local.INFO: Acknowledgment sent {"connection_id":162201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:58:30] local.INFO: TCP Data received {"connection_id":162200,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027804d78012d196940071fedd8003e011c23..."} 
[2026-08-22 08:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027804d78012d196940071fedd8003e011c23..."} 
[2026-08-22 08:58:30] local.INFO: Processing buffer {"connection_id":162200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027804d78012d196940071fedd8003e011c23..."} 
[2026-08-22 08:58:30] local.INFO: Packet analysis {"connection_id":162200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02780"} 
[2026-08-22 08:58:30] local.INFO: Extracted packet for processing {"connection_id":162200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02780"} 
[2026-08-22 08:58:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566488064001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58: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-22 08:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787369115000,"timestamp_ms":1787369115000,"timestamp_seconds":1787369115,"priority":1,"record_length":96,"hex_timestamp":"000001a027804d78"} 
[2026-08-22 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-22 08:58:30] 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-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 08:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2845638587803572585,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79976276781170688,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 08:58:30] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,160,169,45,64,237,62,36,10,66,87,34,5,1,240,53,227,39,31,4,113,205,97,105,216,239,48,2,51,7,32],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 08:58:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883220502839296,"timestamp_seconds":4467883220502839.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 08:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:58:30] 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-22 08:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566488064001,"66":12004,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566488064001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:58:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:58:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566488064001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":162200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:58:30] local.INFO: GPS data processed {"connection_id":162200,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:58:30] local.INFO: Acknowledgment sent {"connection_id":162200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:58:37] local.INFO: TCP Data received {"connection_id":162203,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162203,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:58:37] local.INFO: Processing buffer {"connection_id":162203,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:58:37] local.INFO: IMEI packet received {"connection_id":162203,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":162203,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:58:44] local.INFO: TCP Data received {"connection_id":162203,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162203,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:58:44] local.INFO: Processing buffer {"connection_id":162203,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:58:44] local.INFO: IMEI packet received {"connection_id":162203,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":162203,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:58:46] local.INFO: TCP Data received {"connection_id":162203,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162203,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:58:46] local.INFO: Processing buffer {"connection_id":162203,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:58:46] local.INFO: IMEI packet received {"connection_id":162203,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":162203,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:58:47] local.INFO: TCP Data received {"connection_id":162203,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02782f528012d0ae140070593e8001e010e1d..."} 
[2026-08-22 08:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02782f528012d0ae140070593e8001e010e1d..."} 
[2026-08-22 08:58:47] local.INFO: Processing buffer {"connection_id":162203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02782f528012d0ae140070593e8001e010e1d..."} 
[2026-08-22 08:58:47] local.INFO: Packet analysis {"connection_id":162203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 08:58:47] local.INFO: Extracted packet for processing {"connection_id":162203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 08:58:47] local.INFO: GPS Element Parsed {"raw_longitude":755687744,"raw_latitude":117806056,"longitude_deg":75.5687744,"latitude_deg":11.7806056,"altitude":30,"angle":270,"satellites":29,"speed":11,"hex_longitude":"2d0ae140","hex_latitude":"070593e8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566537728001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29369785233965056,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784259684018397184,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:47] 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-22 08:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787369289000,"timestamp_ms":1787369289000,"timestamp_seconds":1787369289,"priority":1,"record_length":96,"hex_timestamp":"000001a02782f528"} 
[2026-08-22 08: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-22 08:58:47] 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-22 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 08:58:47] 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-22 08: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-22 08: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-22 08:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162203,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162203,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566537728001,"66":14428,"165":206,"94":10240,"24":11,"16":29369785233965056,"45":784259684018397184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-22 08:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566537728001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:58:47] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-22 08:58:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 08:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29369785233965056,"km_value":29369785233965.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":784259684018397184,"description":"Unknown IO ID 45"} 
[2026-08-22 08:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566537728001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":784259684018397184}} 
[2026-08-22 08:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":162203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680111,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:58:47] local.INFO: GPS data processed {"connection_id":162203,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:58:47] local.INFO: Acknowledgment sent {"connection_id":162203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:58:49] local.INFO: TCP Data received {"connection_id":162204,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:58:49] local.INFO: Processing buffer {"connection_id":162204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:58:49] local.INFO: IMEI packet received {"connection_id":162204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":162204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:58:52] local.INFO: TCP Data received {"connection_id":162203,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02782f910012d0ae000070593c0002001021d..."} 
[2026-08-22 08:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02782f910012d0ae000070593c0002001021d..."} 
[2026-08-22 08:58:52] local.INFO: Processing buffer {"connection_id":162203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02782f910012d0ae000070593c0002001021d..."} 
[2026-08-22 08:58:52] local.INFO: Packet analysis {"connection_id":162203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 08:58:52] local.INFO: Extracted packet for processing {"connection_id":162203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 08:58:52] local.INFO: GPS Element Parsed {"raw_longitude":755687424,"raw_latitude":117806016,"longitude_deg":75.5687424,"latitude_deg":11.7806016,"altitude":32,"angle":258,"satellites":29,"speed":14,"hex_longitude":"2d0ae000","hex_latitude":"070593c0","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566537984001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29369802413834240,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783978209041704960,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:52] 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-22 08:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787369290000,"timestamp_ms":1787369290000,"timestamp_seconds":1787369290,"priority":1,"record_length":96,"hex_timestamp":"000001a02782f910"} 
[2026-08-22 08: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-22 08:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 08:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 08:58:52] 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-22 08: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-22 08: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-22 08:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162203,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162203,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566537984001,"66":14428,"165":206,"94":10240,"24":14,"16":29369802413834240,"45":783978209041704960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-22 08:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566537984001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:58:52] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-22 08:58:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 08:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29369802413834240,"km_value":29369802413834.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":783978209041704960,"description":"Unknown IO ID 45"} 
[2026-08-22 08:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566537984001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":783978209041704960}} 
[2026-08-22 08:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":162203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680112,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:58:52] local.INFO: GPS data processed {"connection_id":162203,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:58:52] local.INFO: Acknowledgment sent {"connection_id":162203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:58:53] local.INFO: TCP Data received {"connection_id":159901,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:58:53] local.INFO: Processing buffer {"connection_id":159901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:58:53] local.INFO: IMEI packet received {"connection_id":159901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":159901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:58:55] local.INFO: TCP Data received {"connection_id":162204,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:58:55] local.INFO: Processing buffer {"connection_id":162204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:58:55] local.INFO: IMEI packet received {"connection_id":162204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":162204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:58:55] local.INFO: TCP Data received {"connection_id":162204,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027829b50012d7f8cc005afdf280000008b1d..."} 
[2026-08-22 08:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027829b50012d7f8cc005afdf280000008b1d..."} 
[2026-08-22 08:58:55] local.INFO: Processing buffer {"connection_id":162204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027829b50012d7f8cc005afdf280000008b1d..."} 
[2026-08-22 08:58:55] local.INFO: Packet analysis {"connection_id":162204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 08:58:55] local.INFO: Extracted packet for processing {"connection_id":162204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 08:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95412008,"longitude_deg":76.3333824,"latitude_deg":9.5412008,"altitude":0,"angle":139,"satellites":29,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdf28","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566526720001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925665363099648,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214361088,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58: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-22 08:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787369266000,"timestamp_ms":1787369266000,"timestamp_seconds":1787369266,"priority":1,"record_length":96,"hex_timestamp":"000001a027829b50"} 
[2026-08-22 08: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-22 08:58:55] 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-22 08:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 08:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 08: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-22 08: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-22 08:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566526720001,"66":27604,"250":206,"85":12544,"24":0,"16":388925665363099648,"45":9190932070214361088},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566526720001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:58:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:58:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925665363099648,"km_value":388925665363099.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214361088,"description":"Unknown IO ID 45"} 
[2026-08-22 08:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566526720001,"power":27604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214361088}} 
[2026-08-22 08:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":162204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:58:56] local.INFO: GPS data processed {"connection_id":162204,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:58:56] local.INFO: Acknowledgment sent {"connection_id":162204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:58:58] local.INFO: TCP Data received {"connection_id":159901,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:58:58] local.INFO: Processing buffer {"connection_id":159901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:58:58] local.INFO: IMEI packet received {"connection_id":159901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":159901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:58:59] local.INFO: TCP Data received {"connection_id":159901,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027809f80012d196940071fedd8003e011c25..."} 
[2026-08-22 08:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027809f80012d196940071fedd8003e011c25..."} 
[2026-08-22 08:58:59] local.INFO: Processing buffer {"connection_id":159901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027809f80012d196940071fedd8003e011c25..."} 
[2026-08-22 08:58:59] local.INFO: Packet analysis {"connection_id":159901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02780"} 
[2026-08-22 08:58:59] local.INFO: Extracted packet for processing {"connection_id":159901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02780"} 
[2026-08-22 08:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566493440001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:58: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-22 08:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787369136000,"timestamp_ms":1787369136000,"timestamp_seconds":1787369136,"priority":1,"record_length":96,"hex_timestamp":"000001a027809f80"} 
[2026-08-22 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-22 08:58: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-22 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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 08:58:59] 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-22 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-22 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-22 08:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:58:59] 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-22 08:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566493440001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566493440001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:58:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:58:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566493440001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":159901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:58:59] local.INFO: GPS data processed {"connection_id":159901,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:58:59] local.INFO: Acknowledgment sent {"connection_id":159901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:59:27] local.INFO: TCP Data received {"connection_id":162204,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02782e970012d7f8cc005afdf280000008b20..."} 
[2026-08-22 08:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02782e970012d7f8cc005afdf280000008b20..."} 
[2026-08-22 08:59:27] local.INFO: Processing buffer {"connection_id":162204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02782e970012d7f8cc005afdf280000008b20..."} 
[2026-08-22 08:59:27] local.INFO: Packet analysis {"connection_id":162204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 08:59:27] local.INFO: Extracted packet for processing {"connection_id":162204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 08:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95412008,"longitude_deg":76.3333824,"latitude_deg":9.5412008,"altitude":0,"angle":139,"satellites":32,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdf28","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566532096001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925665363099648,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214346752,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59: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-22 08:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787369286000,"timestamp_ms":1787369286000,"timestamp_seconds":1787369286,"priority":1,"record_length":96,"hex_timestamp":"000001a02782e970"} 
[2026-08-22 08: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-22 08:59: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-22 08: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-22 08:59:27] 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-22 08: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-22 08: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-22 08:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566532096001,"66":27713,"250":206,"85":12544,"24":0,"16":388925665363099648,"45":9190932070214346752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566532096001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:59:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:59:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925665363099648,"km_value":388925665363099.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214346752,"description":"Unknown IO ID 45"} 
[2026-08-22 08:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566532096001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214346752}} 
[2026-08-22 08:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":162204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:59:27] local.INFO: GPS data processed {"connection_id":162204,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:59:27] local.INFO: Acknowledgment sent {"connection_id":162204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:59:30] local.INFO: TCP Data received {"connection_id":159901,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02780f188012d196940071fedd8003e011c23..."} 
[2026-08-22 08:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02780f188012d196940071fedd8003e011c23..."} 
[2026-08-22 08:59:30] local.INFO: Processing buffer {"connection_id":159901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02780f188012d196940071fedd8003e011c23..."} 
[2026-08-22 08:59:30] local.INFO: Packet analysis {"connection_id":159901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02780"} 
[2026-08-22 08:59:30] local.INFO: Extracted packet for processing {"connection_id":159901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02780"} 
[2026-08-22 08:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 08:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566498816001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59: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-22 08:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787369157000,"timestamp_ms":1787369157000,"timestamp_seconds":1787369157,"priority":1,"record_length":96,"hex_timestamp":"000001a02780f188"} 
[2026-08-22 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-22 08:59: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-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 08:59:30] 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-22 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-22 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-22 08:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:59:30] 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-22 08:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566498816001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566498816001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:59:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:59:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566498816001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":159901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:59:31] local.INFO: GPS data processed {"connection_id":159901,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:59:31] local.INFO: Acknowledgment sent {"connection_id":159901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:59:37] local.INFO: TCP Data received {"connection_id":162205,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162205,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:59:37] local.INFO: Processing buffer {"connection_id":162205,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:59:37] local.INFO: IMEI packet received {"connection_id":162205,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 08:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":162205,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:59:39] local.INFO: TCP Data received {"connection_id":162205,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162205,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:59:39] local.INFO: Processing buffer {"connection_id":162205,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 08:59:39] local.INFO: IMEI packet received {"connection_id":162205,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 08:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":162205,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:59:40] local.INFO: TCP Data received {"connection_id":162205,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027834730012d0abfc007058b90001e01041e..."} 
[2026-08-22 08:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027834730012d0abfc007058b90001e01041e..."} 
[2026-08-22 08:59:40] local.INFO: Processing buffer {"connection_id":162205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027834730012d0abfc007058b90001e01041e..."} 
[2026-08-22 08:59:40] local.INFO: Packet analysis {"connection_id":162205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02783"} 
[2026-08-22 08:59:40] local.INFO: Extracted packet for processing {"connection_id":162205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02783"} 
[2026-08-22 08:59:40] local.INFO: GPS Element Parsed {"raw_longitude":755679168,"raw_latitude":117803920,"longitude_deg":75.5679168,"latitude_deg":11.780392,"altitude":30,"angle":260,"satellites":30,"speed":16,"hex_longitude":"2d0abfc0","hex_latitude":"07058b90","is_valid_coordinates":true} 
[2026-08-22 08:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566538240001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29370206140760064,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783626365320806400,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59:40] 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-22 08:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787369310000,"timestamp_ms":1787369310000,"timestamp_seconds":1787369310,"priority":1,"record_length":96,"hex_timestamp":"000001a027834730"} 
[2026-08-22 08:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:59: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-22 08:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 08:59: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-22 08:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":162205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":162205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":162205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566538240001,"66":14407,"165":206,"94":10240,"24":16,"16":29370206140760064,"45":783626365320806400},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-22 08:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566538240001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:59:40] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-22 08:59:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 08:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29370206140760064,"km_value":29370206140760.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":783626365320806400,"description":"Unknown IO ID 45"} 
[2026-08-22 08:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566538240001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":783626365320806400}} 
[2026-08-22 08:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":162205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680117,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:59:40] local.INFO: GPS data processed {"connection_id":162205,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:59:40] local.INFO: Acknowledgment sent {"connection_id":162205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:59:41] local.INFO: TCP Data received {"connection_id":162205,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027835ea0012d0ab6c0070589b8001c00f71e..."} 
[2026-08-22 08:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027835ea0012d0ab6c0070589b8001c00f71e..."} 
[2026-08-22 08:59:41] local.INFO: Processing buffer {"connection_id":162205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027835ea0012d0ab6c0070589b8001c00f71e..."} 
[2026-08-22 08:59:41] local.INFO: Packet analysis {"connection_id":162205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02783"} 
[2026-08-22 08:59:41] local.INFO: Extracted packet for processing {"connection_id":162205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02783"} 
[2026-08-22 08:59:41] local.INFO: GPS Element Parsed {"raw_longitude":755676864,"raw_latitude":117803448,"longitude_deg":75.5676864,"latitude_deg":11.7803448,"altitude":28,"angle":247,"satellites":30,"speed":8,"hex_longitude":"2d0ab6c0","hex_latitude":"070589b8","is_valid_coordinates":true} 
[2026-08-22 08:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566543360001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29370317809909760,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":774548797321351168,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59:41] 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-22 08:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787369316000,"timestamp_ms":1787369316000,"timestamp_seconds":1787369316,"priority":1,"record_length":96,"hex_timestamp":"000001a027835ea0"} 
[2026-08-22 08:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:59:41] 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-22 08:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 08:59:41] 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-22 08:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 08:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 08:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 08:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566543360001,"66":14309,"165":206,"94":10240,"24":8,"16":29370317809909760,"45":774548797321351168},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-22 08:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 08:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 08:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566543360001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:59:41] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-22 08:59:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 08:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29370317809909760,"km_value":29370317809909.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":774548797321351168,"description":"Unknown IO ID 45"} 
[2026-08-22 08:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566543360001,"power":14309,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":774548797321351168}} 
[2026-08-22 08:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":162205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680118,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:59:42] local.INFO: GPS data processed {"connection_id":162205,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:59:42] local.INFO: Acknowledgment sent {"connection_id":162205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:59:49] local.INFO: TCP Data received {"connection_id":160784,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:59:49] local.INFO: Processing buffer {"connection_id":160784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:59:49] local.INFO: IMEI packet received {"connection_id":160784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 08:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":160784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:59:53] local.INFO: TCP Data received {"connection_id":159902,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:59:53] local.INFO: Processing buffer {"connection_id":159902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:59:53] local.INFO: IMEI packet received {"connection_id":159902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 08:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":159902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 08:59:55] local.INFO: TCP Data received {"connection_id":160784,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:59:55] local.INFO: Processing buffer {"connection_id":160784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 08:59:55] local.INFO: IMEI packet received {"connection_id":160784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 08:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":160784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:59:55] local.INFO: TCP Data received {"connection_id":160784,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027833b78012d7f8cc005afdf280000008b21..."} 
[2026-08-22 08:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027833b78012d7f8cc005afdf280000008b21..."} 
[2026-08-22 08:59:55] local.INFO: Processing buffer {"connection_id":160784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027833b78012d7f8cc005afdf280000008b21..."} 
[2026-08-22 08:59:55] local.INFO: Packet analysis {"connection_id":160784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02783"} 
[2026-08-22 08:59:55] local.INFO: Extracted packet for processing {"connection_id":160784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02783"} 
[2026-08-22 08:59:55] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95412008,"longitude_deg":76.3333824,"latitude_deg":9.5412008,"altitude":0,"angle":139,"satellites":33,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdf28","is_valid_coordinates":true} 
[2026-08-22 08:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 08:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566537216001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925665363099648,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214346752,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59: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-22 08:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787369307000,"timestamp_ms":1787369307000,"timestamp_seconds":1787369307,"priority":1,"record_length":96,"hex_timestamp":"000001a027833b78"} 
[2026-08-22 08:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 08:59:55] 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-22 08:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-22 08:59:55] 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-22 08:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 08:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 08:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 08:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 08:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 08:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 08:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566537216001,"66":27821,"250":206,"85":12544,"24":0,"16":388925665363099648,"45":9190932070214346752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 08:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 08:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 08:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566537216001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:59:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 08:59:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 08:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925665363099648,"km_value":388925665363099.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214346752,"description":"Unknown IO ID 45"} 
[2026-08-22 08:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566537216001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214346752}} 
[2026-08-22 08:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":160784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:59:55] local.INFO: GPS data processed {"connection_id":160784,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:59:55] local.INFO: Acknowledgment sent {"connection_id":160784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 08:59:58] local.INFO: TCP Data received {"connection_id":159902,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:59:58] local.INFO: Processing buffer {"connection_id":159902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 08:59:58] local.INFO: IMEI packet received {"connection_id":159902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 08:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":159902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 08:59:59] local.INFO: TCP Data received {"connection_id":159902,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027814390012d196940071fedd8003e011c24..."} 
[2026-08-22 08:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027814390012d196940071fedd8003e011c24..."} 
[2026-08-22 08:59:59] local.INFO: Processing buffer {"connection_id":159902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027814390012d196940071fedd8003e011c24..."} 
[2026-08-22 08:59:59] local.INFO: Packet analysis {"connection_id":159902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 08:59:59] local.INFO: Extracted packet for processing {"connection_id":159902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 08:59:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 08: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-22 08:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566504192001,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 08:59: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-22 08:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787369178000,"timestamp_ms":1787369178000,"timestamp_seconds":1787369178,"priority":1,"record_length":96,"hex_timestamp":"000001a027814390"} 
[2026-08-22 08: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-22 08:59: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-22 08: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 08:59:59] 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-22 08: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-22 08: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-22 08:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 08:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 08:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 08:59:59] 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-22 08:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 08:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 08:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566504192001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 08:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 08:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 08:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566504192001,"description":"Unknown IO ID 0"} 
[2026-08-22 08:59:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 08:59:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 08:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 08:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 08:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566504192001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 08:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":159902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 08:59:59] local.INFO: GPS data processed {"connection_id":159902,"processed":1,"errors":0,"total":1} 
[2026-08-22 08:59:59] local.INFO: Acknowledgment sent {"connection_id":159902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:00:12] local.INFO: TCP Data received {"connection_id":162205,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02783acc0012d0ab4c007058980001b00f61e..."} 
[2026-08-22 09:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02783acc0012d0ab4c007058980001b00f61e..."} 
[2026-08-22 09:00:12] local.INFO: Processing buffer {"connection_id":162205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02783acc0012d0ab4c007058980001b00f61e..."} 
[2026-08-22 09:00:12] local.INFO: Packet analysis {"connection_id":162205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02783"} 
[2026-08-22 09:00:12] local.INFO: Extracted packet for processing {"connection_id":162205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02783"} 
[2026-08-22 09:00:12] local.INFO: GPS Element Parsed {"raw_longitude":755676352,"raw_latitude":117803392,"longitude_deg":75.5676352,"latitude_deg":11.7803392,"altitude":27,"angle":246,"satellites":30,"speed":0,"hex_longitude":"2d0ab4c0","hex_latitude":"07058980","is_valid_coordinates":true} 
[2026-08-22 09:00: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-22 09:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566544896001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29370343579713536,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":772015522530834432,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:12] 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-22 09:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787369336000,"timestamp_ms":1787369336000,"timestamp_seconds":1787369336,"priority":1,"record_length":96,"hex_timestamp":"000001a02783acc0"} 
[2026-08-22 09:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:00:12] 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-22 09:00: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-22 09:00: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-22 09:00: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-22 09:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566544896001,"66":14407,"153":206,"94":10240,"24":0,"16":29370343579713536,"45":772015522530834432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 09:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566544896001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:00:12] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 09:00:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29370343579713536,"km_value":29370343579713.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":772015522530834432,"description":"Unknown IO ID 45"} 
[2026-08-22 09:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566544896001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":772015522530834432}} 
[2026-08-22 09:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":162205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680121,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:00:13] local.INFO: GPS data processed {"connection_id":162205,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:00:13] local.INFO: Acknowledgment sent {"connection_id":162205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:00:27] local.INFO: TCP Data received {"connection_id":160784,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027838d80012d7f8cc005afdf280000008b20..."} 
[2026-08-22 09:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027838d80012d7f8cc005afdf280000008b20..."} 
[2026-08-22 09:00:27] local.INFO: Processing buffer {"connection_id":160784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027838d80012d7f8cc005afdf280000008b20..."} 
[2026-08-22 09:00:27] local.INFO: Packet analysis {"connection_id":160784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02783"} 
[2026-08-22 09:00:27] local.INFO: Extracted packet for processing {"connection_id":160784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02783"} 
[2026-08-22 09:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95412008,"longitude_deg":76.3333824,"latitude_deg":9.5412008,"altitude":0,"angle":139,"satellites":32,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdf28","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566542592001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925665363099648,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214346752,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00: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-22 09:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787369328000,"timestamp_ms":1787369328000,"timestamp_seconds":1787369328,"priority":1,"record_length":96,"hex_timestamp":"000001a027838d80"} 
[2026-08-22 09: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-22 09:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 09:00: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-22 09: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-22 09: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-22 09:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566542592001,"66":27821,"250":206,"85":12544,"24":0,"16":388925665363099648,"45":9190932070214346752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566542592001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:00:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:00:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925665363099648,"km_value":388925665363099.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214346752,"description":"Unknown IO ID 45"} 
[2026-08-22 09:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566542592001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214346752}} 
[2026-08-22 09:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":160784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:00:27] local.INFO: GPS data processed {"connection_id":160784,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:00:27] local.INFO: Acknowledgment sent {"connection_id":160784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:00:30] local.INFO: TCP Data received {"connection_id":159902,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027819598012d196940071fedd8003e011c23..."} 
[2026-08-22 09:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027819598012d196940071fedd8003e011c23..."} 
[2026-08-22 09:00:30] local.INFO: Processing buffer {"connection_id":159902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027819598012d196940071fedd8003e011c23..."} 
[2026-08-22 09:00:30] local.INFO: Packet analysis {"connection_id":159902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 09:00:30] local.INFO: Extracted packet for processing {"connection_id":159902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 09:00:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566509568001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00: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-22 09:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787369199000,"timestamp_ms":1787369199000,"timestamp_seconds":1787369199,"priority":1,"record_length":96,"hex_timestamp":"000001a027819598"} 
[2026-08-22 09: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-22 09:00: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-22 09:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2845999365056436585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79976276781170688,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:00:30] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,45,64,237,62,35,10,66,159,37,77,1,240,228,227,39,31,4,113,205,169,105,216,36,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:00:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883246272643072,"timestamp_seconds":4467883246272643.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:00:30] 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-22 09:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566509568001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566509568001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:00:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566509568001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":159902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:00:31] local.INFO: GPS data processed {"connection_id":159902,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:00:31] local.INFO: Acknowledgment sent {"connection_id":159902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:00:34] local.INFO: TCP Data received {"connection_id":162206,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162206,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:00:34] local.INFO: Processing buffer {"connection_id":162206,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:00:34] local.INFO: IMEI packet received {"connection_id":162206,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":162206,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:00:36] local.INFO: TCP Data received {"connection_id":162206,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162206,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:00:36] local.INFO: Processing buffer {"connection_id":162206,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:00:36] local.INFO: IMEI packet received {"connection_id":162206,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":162206,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:00:37] local.INFO: TCP Data received {"connection_id":162206,"ip":"42.109.136.4","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-22 09:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162206,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-22 09:00:37] local.INFO: Processing buffer {"connection_id":162206,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-22 09:00:37] local.INFO: IMEI packet received {"connection_id":162206,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":162206,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:00:49] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:00:49] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:00:49] local.INFO: IMEI packet received {"connection_id":159903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":159903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:00:53] local.INFO: TCP Data received {"connection_id":160785,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:00:53] local.INFO: Processing buffer {"connection_id":160785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:00:53] local.INFO: IMEI packet received {"connection_id":160785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":160785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:00:55] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:00:55] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:00:55] local.INFO: IMEI packet received {"connection_id":159903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":159903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:00:55] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02783df88012d7f8cc005afdf280000008b1e..."} 
[2026-08-22 09:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02783df88012d7f8cc005afdf280000008b1e..."} 
[2026-08-22 09:00:55] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02783df88012d7f8cc005afdf280000008b1e..."} 
[2026-08-22 09:00:55] local.INFO: Packet analysis {"connection_id":159903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02783"} 
[2026-08-22 09:00:55] local.INFO: Extracted packet for processing {"connection_id":159903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02783"} 
[2026-08-22 09:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95412008,"longitude_deg":76.3333824,"latitude_deg":9.5412008,"altitude":0,"angle":139,"satellites":30,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdf28","is_valid_coordinates":true} 
[2026-08-22 09:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566547968001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925665363099648,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214346752,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00: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-22 09:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787369349000,"timestamp_ms":1787369349000,"timestamp_seconds":1787369349,"priority":1,"record_length":96,"hex_timestamp":"000001a02783df88"} 
[2026-08-22 09:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:00:55] 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-22 09:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 09:00: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-22 09:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566547968001,"66":27821,"250":206,"85":12544,"24":0,"16":388925665363099648,"45":9190932070214346752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566547968001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:00:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925665363099648,"km_value":388925665363099.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214346752,"description":"Unknown IO ID 45"} 
[2026-08-22 09:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566547968001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214346752}} 
[2026-08-22 09:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":159903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:00:55] local.INFO: GPS data processed {"connection_id":159903,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:00:55] local.INFO: Acknowledgment sent {"connection_id":159903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:00:58] local.INFO: TCP Data received {"connection_id":160785,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:00:58] local.INFO: Processing buffer {"connection_id":160785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:00:58] local.INFO: IMEI packet received {"connection_id":160785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":160785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:00:59] local.INFO: TCP Data received {"connection_id":160785,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02781e7a0012d196940071fedd8003e011c24..."} 
[2026-08-22 09:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02781e7a0012d196940071fedd8003e011c24..."} 
[2026-08-22 09:00:59] local.INFO: Processing buffer {"connection_id":160785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02781e7a0012d196940071fedd8003e011c24..."} 
[2026-08-22 09:00:59] local.INFO: Packet analysis {"connection_id":160785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 09:00:59] local.INFO: Extracted packet for processing {"connection_id":160785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 09:00:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566514944001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:00: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-22 09:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787369220000,"timestamp_ms":1787369220000,"timestamp_seconds":1787369220,"priority":1,"record_length":96,"hex_timestamp":"000001a02781e7a0"} 
[2026-08-22 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-22 09:00: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-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 09:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:00:59] 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-22 09:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566514944001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566514944001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:00:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:00:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566514944001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":160785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:00:59] local.INFO: GPS data processed {"connection_id":160785,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:00:59] local.INFO: Acknowledgment sent {"connection_id":160785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:01:26] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027842da8012d7f8cc005afdf280000008b20..."} 
[2026-08-22 09:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027842da8012d7f8cc005afdf280000008b20..."} 
[2026-08-22 09:01:26] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027842da8012d7f8cc005afdf280000008b20..."} 
[2026-08-22 09:01:26] local.INFO: Packet analysis {"connection_id":159903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02784"} 
[2026-08-22 09:01:26] local.INFO: Extracted packet for processing {"connection_id":159903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02784"} 
[2026-08-22 09:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95412008,"longitude_deg":76.3333824,"latitude_deg":9.5412008,"altitude":0,"angle":139,"satellites":32,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdf28","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566553344001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925665363099648,"note":"Value kept but may cause issues"} 
[2026-08-22 09:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214346752,"note":"Value kept but may cause issues"} 
[2026-08-22 09:01: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-22 09:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787369369000,"timestamp_ms":1787369369000,"timestamp_seconds":1787369369,"priority":1,"record_length":96,"hex_timestamp":"000001a027842da8"} 
[2026-08-22 09: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-22 09:01: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-22 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 09:01: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-22 09: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-22 09: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-22 09:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566553344001,"66":27767,"250":206,"85":12544,"24":0,"16":388925665363099648,"45":9190932070214346752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566553344001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:01:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925665363099648,"km_value":388925665363099.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214346752,"description":"Unknown IO ID 45"} 
[2026-08-22 09:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566553344001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214346752}} 
[2026-08-22 09:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":159903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:01:26] local.INFO: GPS data processed {"connection_id":159903,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:01:26] local.INFO: Acknowledgment sent {"connection_id":159903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:01:30] local.INFO: TCP Data received {"connection_id":160785,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278239a8012d196940071fedd8003e011c24..."} 
[2026-08-22 09:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278239a8012d196940071fedd8003e011c24..."} 
[2026-08-22 09:01:30] local.INFO: Processing buffer {"connection_id":160785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278239a8012d196940071fedd8003e011c24..."} 
[2026-08-22 09:01:30] local.INFO: Packet analysis {"connection_id":160785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:01:30] local.INFO: Extracted packet for processing {"connection_id":160785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:01:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566520320001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:01: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-22 09:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787369241000,"timestamp_ms":1787369241000,"timestamp_seconds":1787369241,"priority":1,"record_length":96,"hex_timestamp":"000001a0278239a8"} 
[2026-08-22 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-22 09:01: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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 09:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:01:30] 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-22 09:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566520320001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566520320001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:01:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:01:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566520320001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":160785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:01:30] local.INFO: GPS data processed {"connection_id":160785,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:01:30] local.INFO: Acknowledgment sent {"connection_id":160785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:01:53] local.INFO: TCP Data received {"connection_id":162208,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:01:53] local.INFO: Processing buffer {"connection_id":162208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:01:53] local.INFO: IMEI packet received {"connection_id":162208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":162208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:01:55] local.INFO: TCP Data received {"connection_id":162207,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:01:55] local.INFO: Processing buffer {"connection_id":162207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:01:55] local.INFO: IMEI packet received {"connection_id":162207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":162207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:01:58] local.INFO: TCP Data received {"connection_id":162208,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:01:58] local.INFO: Processing buffer {"connection_id":162208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:01:58] local.INFO: IMEI packet received {"connection_id":162208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":162208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:01:59] local.INFO: TCP Data received {"connection_id":162208,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027828bb0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027828bb0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:01:59] local.INFO: Processing buffer {"connection_id":162208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027828bb0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:01:59] local.INFO: Packet analysis {"connection_id":162208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:01:59] local.INFO: Extracted packet for processing {"connection_id":162208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566525696001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:01: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-22 09:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787369262000,"timestamp_ms":1787369262000,"timestamp_seconds":1787369262,"priority":1,"record_length":96,"hex_timestamp":"000001a027828bb0"} 
[2026-08-22 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-22 09:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 09:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:01:59] 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-22 09:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566525696001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566525696001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:01:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:01:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566525696001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":162208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:01:59] local.INFO: GPS data processed {"connection_id":162208,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:01:59] local.INFO: Acknowledgment sent {"connection_id":162208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:02:00] local.INFO: TCP Data received {"connection_id":162207,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:02:00] local.INFO: Processing buffer {"connection_id":162207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:02:00] local.INFO: IMEI packet received {"connection_id":162207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":162207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:02:00] local.INFO: TCP Data received {"connection_id":162207,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027846458012d7f8cc005afdf280000008b22..."} 
[2026-08-22 09:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027846458012d7f8cc005afdf280000008b22..."} 
[2026-08-22 09:02:00] local.INFO: Processing buffer {"connection_id":162207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027846458012d7f8cc005afdf280000008b22..."} 
[2026-08-22 09:02:00] local.INFO: Packet analysis {"connection_id":162207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02784"} 
[2026-08-22 09:02:00] local.INFO: Extracted packet for processing {"connection_id":162207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02784"} 
[2026-08-22 09:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95412008,"longitude_deg":76.3333824,"latitude_deg":9.5412008,"altitude":0,"angle":139,"satellites":34,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdf28","is_valid_coordinates":true} 
[2026-08-22 09:02: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-22 09:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566558464001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925665363099648,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214346752,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02: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-22 09:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787369383000,"timestamp_ms":1787369383000,"timestamp_seconds":1787369383,"priority":1,"record_length":96,"hex_timestamp":"000001a027846458"} 
[2026-08-22 09: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-22 09:02: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-22 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:02: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-22 09: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-22 09: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-22 09:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566558464001,"66":27800,"250":206,"85":12544,"24":0,"16":388925665363099648,"45":9190932070214346752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566558464001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:02:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:02:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925665363099648,"km_value":388925665363099.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214346752,"description":"Unknown IO ID 45"} 
[2026-08-22 09:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566558464001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214346752}} 
[2026-08-22 09:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":162207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:02:00] local.INFO: GPS data processed {"connection_id":162207,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:02:00] local.INFO: Acknowledgment sent {"connection_id":162207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:02:05] local.INFO: TCP Data received {"connection_id":162207,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027846458012d7f8cc005afdf280000008b22..."} 
[2026-08-22 09:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027846458012d7f8cc005afdf280000008b22..."} 
[2026-08-22 09:02:05] local.INFO: Processing buffer {"connection_id":162207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027846458012d7f8cc005afdf280000008b22..."} 
[2026-08-22 09:02:05] local.INFO: Packet analysis {"connection_id":162207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02784"} 
[2026-08-22 09:02:05] local.INFO: Extracted packet for processing {"connection_id":162207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02784"} 
[2026-08-22 09:02:05] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95412008,"longitude_deg":76.3333824,"latitude_deg":9.5412008,"altitude":0,"angle":139,"satellites":34,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdf28","is_valid_coordinates":true} 
[2026-08-22 09:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566558464001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925665363099648,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214346752,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:05] 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-22 09:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787369383000,"timestamp_ms":1787369383000,"timestamp_seconds":1787369383,"priority":1,"record_length":96,"hex_timestamp":"000001a027846458"} 
[2026-08-22 09:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:02: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-22 09:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:02: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-22 09:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566558464001,"66":27800,"250":206,"85":12544,"24":0,"16":388925665363099648,"45":9190932070214346752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566558464001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:02:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:02:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925665363099648,"km_value":388925665363099.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214346752,"description":"Unknown IO ID 45"} 
[2026-08-22 09:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566558464001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214346752}} 
[2026-08-22 09:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":162207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:02:05] local.INFO: GPS data processed {"connection_id":162207,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:02:05] local.INFO: Acknowledgment sent {"connection_id":162207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:02:11] local.INFO: TCP Data received {"connection_id":162209,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:02:11] local.INFO: Processing buffer {"connection_id":162209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:02:11] local.INFO: IMEI packet received {"connection_id":162209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":162209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:02:13] local.INFO: TCP Data received {"connection_id":162209,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a027813008012d7b0d4005e33c80000600b025..."} 
[2026-08-22 09:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027813008012d7b0d4005e33c80000600b025..."} 
[2026-08-22 09:02:13] local.INFO: Processing buffer {"connection_id":162209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027813008012d7b0d4005e33c80000600b025..."} 
[2026-08-22 09:02:13] local.INFO: Packet analysis {"connection_id":162209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 09:02:13] local.INFO: Extracted packet for processing {"connection_id":162209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 09:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763039040,"raw_latitude":98778240,"longitude_deg":76.303904,"latitude_deg":9.877824,"altitude":6,"angle":176,"satellites":37,"speed":17,"hex_longitude":"2d7b0d40","hex_latitude":"05e33c80","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566504704001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122263141798117376,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865546997999814656,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:13] 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-22 09:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787369173000,"timestamp_ms":1787369173000,"timestamp_seconds":1787369173,"priority":1,"record_length":96,"hex_timestamp":"000001a027813008"} 
[2026-08-22 09: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-22 09:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 09:02:13] 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-22 09: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-22 09: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-22 09:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:02: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-22 09:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566504704001,"66":13472,"208":206,"85":15104,"24":17,"16":122263141798117376,"45":8865546997999814656},"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-22 09:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566504704001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:02:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 09:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122263141798117376,"km_value":122263141798117.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865546997999814656,"description":"Unknown IO ID 45"} 
[2026-08-22 09:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566504704001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8865546997999814656}} 
[2026-08-22 09:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":162209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:02:13] local.INFO: GPS data processed {"connection_id":162209,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:02:13] local.INFO: Acknowledgment sent {"connection_id":162209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:02:30] local.INFO: TCP Data received {"connection_id":162208,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02782ddb8012d196940071fedd8003e011c22..."} 
[2026-08-22 09:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02782ddb8012d196940071fedd8003e011c22..."} 
[2026-08-22 09:02:30] local.INFO: Processing buffer {"connection_id":162208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02782ddb8012d196940071fedd8003e011c22..."} 
[2026-08-22 09:02:30] local.INFO: Packet analysis {"connection_id":162208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:02:30] local.INFO: Extracted packet for processing {"connection_id":162208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:02:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566531072001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02: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-22 09:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787369283000,"timestamp_ms":1787369283000,"timestamp_seconds":1787369283,"priority":1,"record_length":96,"hex_timestamp":"000001a02782ddb8"} 
[2026-08-22 09: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-22 09:02: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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:02:30] 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-22 09:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566531072001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566531072001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:02:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:02:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566531072001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":162208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:02:30] local.INFO: GPS data processed {"connection_id":162208,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:02:30] local.INFO: Acknowledgment sent {"connection_id":162208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:02:49] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:02:49] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:02:49] local.INFO: IMEI packet received {"connection_id":159905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":159905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:02:53] local.INFO: TCP Data received {"connection_id":160787,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:02:53] local.INFO: Processing buffer {"connection_id":160787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:02:53] local.INFO: IMEI packet received {"connection_id":160787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":160787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:02:53] local.INFO: TCP Data received {"connection_id":160787,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:02:53] local.INFO: Processing buffer {"connection_id":160787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:02:53] local.INFO: IMEI packet received {"connection_id":160787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":160787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:02:55] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:02:55] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:02:55] local.INFO: IMEI packet received {"connection_id":159905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":159905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:02:55] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027846458012d7f8cc005afdf280000008b22..."} 
[2026-08-22 09:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027846458012d7f8cc005afdf280000008b22..."} 
[2026-08-22 09:02:55] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027846458012d7f8cc005afdf280000008b22..."} 
[2026-08-22 09:02:55] local.INFO: Packet analysis {"connection_id":159905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02784"} 
[2026-08-22 09:02:55] local.INFO: Extracted packet for processing {"connection_id":159905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02784"} 
[2026-08-22 09:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95412008,"longitude_deg":76.3333824,"latitude_deg":9.5412008,"altitude":0,"angle":139,"satellites":34,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdf28","is_valid_coordinates":true} 
[2026-08-22 09:02: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-22 09:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566558464001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925665363099648,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214346752,"note":"Value kept but may cause issues"} 
[2026-08-22 09: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-22 09:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787369383000,"timestamp_ms":1787369383000,"timestamp_seconds":1787369383,"priority":1,"record_length":96,"hex_timestamp":"000001a027846458"} 
[2026-08-22 09: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-22 09:02: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-22 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:02: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-22 09: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-22 09: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-22 09:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566558464001,"66":27800,"250":206,"85":12544,"24":0,"16":388925665363099648,"45":9190932070214346752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566558464001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:02:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:02:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925665363099648,"km_value":388925665363099.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214346752,"description":"Unknown IO ID 45"} 
[2026-08-22 09:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566558464001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214346752}} 
[2026-08-22 09:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":159905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:02:55] local.INFO: GPS data processed {"connection_id":159905,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:02:55] local.INFO: Acknowledgment sent {"connection_id":159905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:02:56] local.INFO: TCP Data received {"connection_id":160788,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:02:56] local.INFO: Processing buffer {"connection_id":160788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:02:56] local.INFO: IMEI packet received {"connection_id":160788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":160788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:02:58] local.INFO: TCP Data received {"connection_id":160787,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:02:58] local.INFO: Processing buffer {"connection_id":160787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:02:58] local.INFO: IMEI packet received {"connection_id":160787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":160787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:02:59] local.INFO: TCP Data received {"connection_id":160787,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027832fc0012d196940071fedd8003e011c22..."} 
[2026-08-22 09:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027832fc0012d196940071fedd8003e011c22..."} 
[2026-08-22 09:02:59] local.INFO: Processing buffer {"connection_id":160787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027832fc0012d196940071fedd8003e011c22..."} 
[2026-08-22 09:02:59] local.INFO: Packet analysis {"connection_id":160787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02783"} 
[2026-08-22 09:02:59] local.INFO: Extracted packet for processing {"connection_id":160787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02783"} 
[2026-08-22 09:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566536448001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02: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-22 09:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787369304000,"timestamp_ms":1787369304000,"timestamp_seconds":1787369304,"priority":1,"record_length":96,"hex_timestamp":"000001a027832fc0"} 
[2026-08-22 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-22 09:02: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-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2846450336622516585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79977376292798464,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2174064641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:02:59] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-08-22 09:02:59] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,139,45,64,237,62,37,10,66,57,36,231,1,240,53,227,39,31,4,113,205,67,105,216,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:02:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883237682708480,"timestamp_seconds":4467883237682708.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 09:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:02:59] 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-22 09:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566536448001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566536448001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:02:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:02:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566536448001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":160787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:02:59] local.INFO: GPS data processed {"connection_id":160787,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:02:59] local.INFO: Acknowledgment sent {"connection_id":160787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:03:01] local.INFO: TCP Data received {"connection_id":160788,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:03:01] local.INFO: Processing buffer {"connection_id":160788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:03:01] local.INFO: IMEI packet received {"connection_id":160788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":160788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:03:02] local.INFO: TCP Data received {"connection_id":160788,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0278162d0012d7b0f4005e31a00000500ac1d..."} 
[2026-08-22 09:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278162d0012d7b0f4005e31a00000500ac1d..."} 
[2026-08-22 09:03:02] local.INFO: Processing buffer {"connection_id":160788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278162d0012d7b0f4005e31a00000500ac1d..."} 
[2026-08-22 09:03:02] local.INFO: Packet analysis {"connection_id":160788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 09:03:02] local.INFO: Extracted packet for processing {"connection_id":160788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 09:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763039552,"raw_latitude":98769408,"longitude_deg":76.3039552,"latitude_deg":9.8769408,"altitude":5,"angle":172,"satellites":29,"speed":25,"hex_longitude":"2d7b0f40","hex_latitude":"05e31a00","is_valid_coordinates":true} 
[2026-08-22 09:03: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-22 09:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566508288001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122263571294846976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866813635393781760,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03:02] 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-22 09:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787369186000,"timestamp_ms":1787369186000,"timestamp_seconds":1787369186,"priority":1,"record_length":96,"hex_timestamp":"000001a0278162d0"} 
[2026-08-22 09:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09:03: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 09:03:02] 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-22 09:03: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-22 09:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:03:02] 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-22 09:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566508288001,"66":13276,"208":206,"85":15104,"24":25,"16":122263571294846976,"45":8866813635393781760},"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-22 09:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566508288001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:03:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 09:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122263571294846976,"km_value":122263571294846.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866813635393781760,"description":"Unknown IO ID 45"} 
[2026-08-22 09:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566508288001,"power":13276,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8866813635393781760}} 
[2026-08-22 09:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":160788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:03:02] local.INFO: GPS data processed {"connection_id":160788,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:03:02] local.INFO: Acknowledgment sent {"connection_id":160788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:03:26] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027846458012d7f8cc005afdf280000008b22..."} 
[2026-08-22 09:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027846458012d7f8cc005afdf280000008b22..."} 
[2026-08-22 09:03:26] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027846458012d7f8cc005afdf280000008b22..."} 
[2026-08-22 09:03:26] local.INFO: Packet analysis {"connection_id":159905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02784"} 
[2026-08-22 09:03:26] local.INFO: Extracted packet for processing {"connection_id":159905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02784"} 
[2026-08-22 09:03:26] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95412008,"longitude_deg":76.3333824,"latitude_deg":9.5412008,"altitude":0,"angle":139,"satellites":34,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdf28","is_valid_coordinates":true} 
[2026-08-22 09:03: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-22 09:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566558464001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925665363099648,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214346752,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03: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-22 09:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787369383000,"timestamp_ms":1787369383000,"timestamp_seconds":1787369383,"priority":1,"record_length":96,"hex_timestamp":"000001a027846458"} 
[2026-08-22 09: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-22 09: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-22 09: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":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:03: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-22 09: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-22 09: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-22 09:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566558464001,"66":27800,"250":206,"85":12544,"24":0,"16":388925665363099648,"45":9190932070214346752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566558464001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:03:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:03:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925665363099648,"km_value":388925665363099.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214346752,"description":"Unknown IO ID 45"} 
[2026-08-22 09:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566558464001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214346752}} 
[2026-08-22 09:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":159905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:03:26] local.INFO: GPS data processed {"connection_id":159905,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:03:26] local.INFO: Acknowledgment sent {"connection_id":159905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:03:30] local.INFO: TCP Data received {"connection_id":160787,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278381c8012d196940071fedd8003e011c23..."} 
[2026-08-22 09:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278381c8012d196940071fedd8003e011c23..."} 
[2026-08-22 09:03:30] local.INFO: Processing buffer {"connection_id":160787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278381c8012d196940071fedd8003e011c23..."} 
[2026-08-22 09:03:30] local.INFO: Packet analysis {"connection_id":160787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02783"} 
[2026-08-22 09:03:30] local.INFO: Extracted packet for processing {"connection_id":160787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02783"} 
[2026-08-22 09:03:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566541824001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03: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-22 09:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787369325000,"timestamp_ms":1787369325000,"timestamp_seconds":1787369325,"priority":1,"record_length":96,"hex_timestamp":"000001a0278381c8"} 
[2026-08-22 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-22 09:03: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-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:03:30] 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-22 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-22 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-22 09:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:03:30] 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-22 09:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566541824001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566541824001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:03:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:03:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566541824001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":160787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:03:30] local.INFO: GPS data processed {"connection_id":160787,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:03:30] local.INFO: Acknowledgment sent {"connection_id":160787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:03:33] local.INFO: TCP Data received {"connection_id":160788,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02781a538012d7b170005e2f728000200ac1e..."} 
[2026-08-22 09:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02781a538012d7b170005e2f728000200ac1e..."} 
[2026-08-22 09:03:33] local.INFO: Processing buffer {"connection_id":160788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02781a538012d7b170005e2f728000200ac1e..."} 
[2026-08-22 09:03:33] local.INFO: Packet analysis {"connection_id":160788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 09:03:33] local.INFO: Extracted packet for processing {"connection_id":160788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 09:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763041536,"raw_latitude":98760488,"longitude_deg":76.3041536,"latitude_deg":9.8760488,"altitude":2,"angle":172,"satellites":30,"speed":21,"hex_longitude":"2d7b1700","hex_latitude":"05e2f728","is_valid_coordinates":true} 
[2026-08-22 09:03: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-22 09:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566511616001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122264017971445760,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867376585344942080,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03:33] 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-22 09:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787369203000,"timestamp_ms":1787369203000,"timestamp_seconds":1787369203,"priority":1,"record_length":96,"hex_timestamp":"000001a02781a538"} 
[2026-08-22 09:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 09:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09:03: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-22 09:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:03:33] 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-22 09:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566511616001,"66":13341,"208":206,"85":15104,"24":21,"16":122264017971445760,"45":8867376585344942080},"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-22 09:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566511616001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:03:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 09:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122264017971445760,"km_value":122264017971445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867376585344942080,"description":"Unknown IO ID 45"} 
[2026-08-22 09:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566511616001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8867376585344942080}} 
[2026-08-22 09:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":160788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:03:33] local.INFO: GPS data processed {"connection_id":160788,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:03:33] local.INFO: Acknowledgment sent {"connection_id":160788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:03:49] local.INFO: TCP Data received {"connection_id":159906,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:03:49] local.INFO: Processing buffer {"connection_id":159906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:03:49] local.INFO: IMEI packet received {"connection_id":159906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":159906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:03:53] local.INFO: TCP Data received {"connection_id":159640,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:03:53] local.INFO: Processing buffer {"connection_id":159640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:03:53] local.INFO: IMEI packet received {"connection_id":159640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":159640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:03:55] local.INFO: TCP Data received {"connection_id":159906,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:03:55] local.INFO: Processing buffer {"connection_id":159906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:03:55] local.INFO: IMEI packet received {"connection_id":159906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":159906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:03:55] local.INFO: TCP Data received {"connection_id":159906,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027846458012d7f8cc005afdf280000008b22..."} 
[2026-08-22 09:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027846458012d7f8cc005afdf280000008b22..."} 
[2026-08-22 09:03:55] local.INFO: Processing buffer {"connection_id":159906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027846458012d7f8cc005afdf280000008b22..."} 
[2026-08-22 09:03:55] local.INFO: Packet analysis {"connection_id":159906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02784"} 
[2026-08-22 09:03:55] local.INFO: Extracted packet for processing {"connection_id":159906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02784"} 
[2026-08-22 09:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95412008,"longitude_deg":76.3333824,"latitude_deg":9.5412008,"altitude":0,"angle":139,"satellites":34,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdf28","is_valid_coordinates":true} 
[2026-08-22 09:03: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-22 09:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566558464001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925665363099648,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214346752,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03: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-22 09:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787369383000,"timestamp_ms":1787369383000,"timestamp_seconds":1787369383,"priority":1,"record_length":96,"hex_timestamp":"000001a027846458"} 
[2026-08-22 09:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:03: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-22 09:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:03: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-22 09:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566558464001,"66":27800,"250":206,"85":12544,"24":0,"16":388925665363099648,"45":9190932070214346752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566558464001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:03:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:03:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925665363099648,"km_value":388925665363099.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214346752,"description":"Unknown IO ID 45"} 
[2026-08-22 09:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566558464001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214346752}} 
[2026-08-22 09:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":159906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:03:55] local.INFO: GPS data processed {"connection_id":159906,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:03:55] local.INFO: Acknowledgment sent {"connection_id":159906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:03:56] local.INFO: TCP Data received {"connection_id":162211,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:03:56] local.INFO: Processing buffer {"connection_id":162211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:03:56] local.INFO: IMEI packet received {"connection_id":162211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":162211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:03:56] local.INFO: TCP Data received {"connection_id":159640,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:03:56] local.INFO: Processing buffer {"connection_id":159640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:03:56] local.INFO: IMEI packet received {"connection_id":159640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":159640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:03:58] local.INFO: TCP Data received {"connection_id":159640,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:03:58] local.INFO: Processing buffer {"connection_id":159640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:03:58] local.INFO: IMEI packet received {"connection_id":159640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":159640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:03:59] local.INFO: TCP Data received {"connection_id":159640,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027870820012d196940071fedd8003e011c24..."} 
[2026-08-22 09:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027870820012d196940071fedd8003e011c24..."} 
[2026-08-22 09:03:59] local.INFO: Processing buffer {"connection_id":159640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027870820012d196940071fedd8003e011c24..."} 
[2026-08-22 09:03:59] local.INFO: Packet analysis {"connection_id":159640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02787"} 
[2026-08-22 09:03:59] local.INFO: Extracted packet for processing {"connection_id":159640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02787"} 
[2026-08-22 09:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566600960001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:03: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-22 09:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787369556000,"timestamp_ms":1787369556000,"timestamp_seconds":1787369556,"priority":1,"record_length":96,"hex_timestamp":"000001a027870820"} 
[2026-08-22 09: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-22 09:03: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-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:03:59] 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-22 09: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-22 09: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-22 09:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:03:59] 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-22 09:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566600960001,"66":12232,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566600960001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:03:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:03:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566600960001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":159640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:03:59] local.INFO: GPS data processed {"connection_id":159640,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:03:59] local.INFO: Acknowledgment sent {"connection_id":159640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:04:01] local.INFO: TCP Data received {"connection_id":162211,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:04:01] local.INFO: Processing buffer {"connection_id":162211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:04:01] local.INFO: IMEI packet received {"connection_id":162211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":162211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:04:02] local.INFO: TCP Data received {"connection_id":162211,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02781d418012d7b1c4005e2d2b8000000af1e..."} 
[2026-08-22 09:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02781d418012d7b1c4005e2d2b8000000af1e..."} 
[2026-08-22 09:04:02] local.INFO: Processing buffer {"connection_id":162211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02781d418012d7b1c4005e2d2b8000000af1e..."} 
[2026-08-22 09:04:02] local.INFO: Packet analysis {"connection_id":162211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 09:04:02] local.INFO: Extracted packet for processing {"connection_id":162211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 09:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763042880,"raw_latitude":98751160,"longitude_deg":76.304288,"latitude_deg":9.875116,"altitude":0,"angle":175,"satellites":30,"speed":33,"hex_longitude":"2d7b1c40","hex_latitude":"05e2d2b8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566515968001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122264477532946432,"note":"Value kept but may cause issues"} 
[2026-08-22 09:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869558016412166144,"note":"Value kept but may cause issues"} 
[2026-08-22 09:04:02] 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-22 09:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787369215000,"timestamp_ms":1787369215000,"timestamp_seconds":1787369215,"priority":1,"record_length":96,"hex_timestamp":"000001a02781d418"} 
[2026-08-22 09: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-22 09:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-22 09:04:02] 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-22 09: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-22 09: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-22 09:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:04:02] 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-22 09:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566515968001,"66":13428,"208":206,"85":15104,"24":33,"16":122264477532946432,"45":8869558016412166144},"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-22 09:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566515968001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:04:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 09:04:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122264477532946432,"km_value":122264477532946.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869558016412166144,"description":"Unknown IO ID 45"} 
[2026-08-22 09:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566515968001,"power":13428,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8869558016412166144}} 
[2026-08-22 09:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":162211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:04:02] local.INFO: GPS data processed {"connection_id":162211,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:04:02] local.INFO: Acknowledgment sent {"connection_id":162211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:04:26] local.INFO: TCP Data received {"connection_id":159906,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027884488012d7f8f0005afdf200000008b23..."} 
[2026-08-22 09:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027884488012d7f8f0005afdf200000008b23..."} 
[2026-08-22 09:04:26] local.INFO: Processing buffer {"connection_id":159906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027884488012d7f8f0005afdf200000008b23..."} 
[2026-08-22 09:04:26] local.INFO: Packet analysis {"connection_id":159906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02788"} 
[2026-08-22 09:04:26] local.INFO: Extracted packet for processing {"connection_id":159906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02788"} 
[2026-08-22 09:04:26] local.INFO: GPS Element Parsed {"raw_longitude":763334400,"raw_latitude":95412000,"longitude_deg":76.33344,"latitude_deg":9.5412,"altitude":0,"angle":139,"satellites":35,"speed":0,"hex_longitude":"2d7f8f00","hex_latitude":"05afdf20","is_valid_coordinates":true} 
[2026-08-22 09:04: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-22 09:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566562048001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925665363099648,"note":"Value kept but may cause issues"} 
[2026-08-22 09:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214346752,"note":"Value kept but may cause issues"} 
[2026-08-22 09:04: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-22 09:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787369637000,"timestamp_ms":1787369637000,"timestamp_seconds":1787369637,"priority":1,"record_length":96,"hex_timestamp":"000001a027884488"} 
[2026-08-22 09:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:04: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-22 09:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 09:04: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-22 09:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566562048001,"66":25973,"250":206,"85":12544,"24":0,"16":388925665363099648,"45":9190932070214346752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566562048001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:04:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925665363099648,"km_value":388925665363099.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214346752,"description":"Unknown IO ID 45"} 
[2026-08-22 09:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566562048001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214346752}} 
[2026-08-22 09:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":159906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:04:26] local.INFO: GPS data processed {"connection_id":159906,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:04:26] local.INFO: Acknowledgment sent {"connection_id":159906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:04:30] local.INFO: TCP Data received {"connection_id":159640,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027875a28012d196940071fedd8003e011c23..."} 
[2026-08-22 09:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027875a28012d196940071fedd8003e011c23..."} 
[2026-08-22 09:04:30] local.INFO: Processing buffer {"connection_id":159640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027875a28012d196940071fedd8003e011c23..."} 
[2026-08-22 09:04:30] local.INFO: Packet analysis {"connection_id":159640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02787"} 
[2026-08-22 09:04:30] local.INFO: Extracted packet for processing {"connection_id":159640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02787"} 
[2026-08-22 09:04:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566606336001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:04: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-22 09:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787369577000,"timestamp_ms":1787369577000,"timestamp_seconds":1787369577,"priority":1,"record_length":96,"hex_timestamp":"000001a027875a28"} 
[2026-08-22 09: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-22 09:04: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-22 09: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 09:04:30] 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-22 09: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-22 09: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-22 09:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:04:30] 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-22 09:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566606336001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566606336001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:04:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:04:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566606336001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":159640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:04:30] local.INFO: GPS data processed {"connection_id":159640,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:04:30] local.INFO: Acknowledgment sent {"connection_id":159640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:04:36] local.INFO: TCP Data received {"connection_id":162211,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02781ff10012d7b218005e2aef0000000b021..."} 
[2026-08-22 09:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02781ff10012d7b218005e2aef0000000b021..."} 
[2026-08-22 09:04:36] local.INFO: Processing buffer {"connection_id":162211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02781ff10012d7b218005e2aef0000000b021..."} 
[2026-08-22 09:04:36] local.INFO: Packet analysis {"connection_id":162211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 09:04:36] local.INFO: Extracted packet for processing {"connection_id":162211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02781"} 
[2026-08-22 09:04:36] local.INFO: GPS Element Parsed {"raw_longitude":763044224,"raw_latitude":98742000,"longitude_deg":76.3044224,"latitude_deg":9.8742,"altitude":0,"angle":176,"satellites":33,"speed":34,"hex_longitude":"2d7b2180","hex_latitude":"05e2aef0","is_valid_coordinates":true} 
[2026-08-22 09:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566519040001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122264924209545216,"note":"Value kept but may cause issues"} 
[2026-08-22 09:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871035760037509120,"note":"Value kept but may cause issues"} 
[2026-08-22 09:04:36] 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-22 09:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787369226000,"timestamp_ms":1787369226000,"timestamp_seconds":1787369226,"priority":1,"record_length":96,"hex_timestamp":"000001a02781ff10"} 
[2026-08-22 09:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-22 09:04:36] 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-22 09:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:04: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-22 09:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566519040001,"66":13319,"207":206,"85":15104,"24":34,"16":122264924209545216,"45":8871035760037509120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566519040001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:04:36] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:04:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122264924209545216,"km_value":122264924209545.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871035760037509120,"description":"Unknown IO ID 45"} 
[2026-08-22 09:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566519040001,"power":13319,"unknown_207":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8871035760037509120}} 
[2026-08-22 09:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":162211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:04:36] local.INFO: GPS data processed {"connection_id":162211,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:04:36] local.INFO: Acknowledgment sent {"connection_id":162211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:04:49] local.INFO: TCP Data received {"connection_id":159907,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:04:49] local.INFO: Processing buffer {"connection_id":159907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:04:49] local.INFO: IMEI packet received {"connection_id":159907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":159907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:04:55] local.INFO: TCP Data received {"connection_id":159907,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:04:55] local.INFO: Processing buffer {"connection_id":159907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:04:55] local.INFO: IMEI packet received {"connection_id":159907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":159907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:04:55] local.INFO: TCP Data received {"connection_id":159907,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027885040012d7f89c005afdf60000000e124..."} 
[2026-08-22 09:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027885040012d7f89c005afdf60000000e124..."} 
[2026-08-22 09:04:55] local.INFO: Processing buffer {"connection_id":159907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027885040012d7f89c005afdf60000000e124..."} 
[2026-08-22 09:04:55] local.INFO: Packet analysis {"connection_id":159907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02788"} 
[2026-08-22 09:04:55] local.INFO: Extracted packet for processing {"connection_id":159907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02788"} 
[2026-08-22 09:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763333056,"raw_latitude":95412064,"longitude_deg":76.3333056,"latitude_deg":9.5412064,"altitude":0,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7f89c0","hex_latitude":"05afdf60","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566627072001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925665363099648,"note":"Value kept but may cause issues"} 
[2026-08-22 09:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191565388911943680,"note":"Value kept but may cause issues"} 
[2026-08-22 09: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-22 09:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787369640000,"timestamp_ms":1787369640000,"timestamp_seconds":1787369640,"priority":1,"record_length":96,"hex_timestamp":"000001a027885040"} 
[2026-08-22 09: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-22 09:04:55] 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-22 09: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 09:04:55] 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-22 09: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-22 09: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-22 09:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566627072001,"66":25756,"250":206,"85":12544,"24":0,"16":388925665363099648,"45":9191565388911943680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566627072001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:04:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:04:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925665363099648,"km_value":388925665363099.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191565388911943680,"description":"Unknown IO ID 45"} 
[2026-08-22 09:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566627072001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191565388911943680}} 
[2026-08-22 09:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":159907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:04:55] local.INFO: GPS data processed {"connection_id":159907,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:04:55] local.INFO: Acknowledgment sent {"connection_id":159907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:04:58] local.INFO: TCP Data received {"connection_id":160789,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:04:58] local.INFO: Processing buffer {"connection_id":160789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:04:58] local.INFO: IMEI packet received {"connection_id":160789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":160789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:04:59] local.INFO: TCP Data received {"connection_id":160789,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:04:59] local.INFO: Processing buffer {"connection_id":160789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:04:59] local.INFO: IMEI packet received {"connection_id":160789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":160789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:05:00] local.INFO: TCP Data received {"connection_id":160789,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02787ac30012d196940071fedd8003e011c24..."} 
[2026-08-22 09:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02787ac30012d196940071fedd8003e011c24..."} 
[2026-08-22 09:05:00] local.INFO: Processing buffer {"connection_id":160789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02787ac30012d196940071fedd8003e011c24..."} 
[2026-08-22 09:05:00] local.INFO: Packet analysis {"connection_id":160789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02787"} 
[2026-08-22 09:05:00] local.INFO: Extracted packet for processing {"connection_id":160789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02787"} 
[2026-08-22 09:05:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566611712001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787369598000,"timestamp_ms":1787369598000,"timestamp_seconds":1787369598,"priority":1,"record_length":96,"hex_timestamp":"000001a02787ac30"} 
[2026-08-22 09: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-22 09:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:05:00] 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-22 09: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-22 09: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-22 09:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:05:00] 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-22 09:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566611712001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566611712001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:05:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566611712001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":160789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:05:00] local.INFO: GPS data processed {"connection_id":160789,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:05:00] local.INFO: Acknowledgment sent {"connection_id":160789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:05:01] local.INFO: TCP Data received {"connection_id":160790,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:05:01] local.INFO: Processing buffer {"connection_id":160790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:05:01] local.INFO: IMEI packet received {"connection_id":160790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":160790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:05:04] local.INFO: TCP Data received {"connection_id":160789,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02787fe38012d196940071fedd8003e011c24..."} 
[2026-08-22 09:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02787fe38012d196940071fedd8003e011c24..."} 
[2026-08-22 09:05:04] local.INFO: Processing buffer {"connection_id":160789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02787fe38012d196940071fedd8003e011c24..."} 
[2026-08-22 09:05:04] local.INFO: Packet analysis {"connection_id":160789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02787"} 
[2026-08-22 09:05:04] local.INFO: Extracted packet for processing {"connection_id":160789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02787"} 
[2026-08-22 09:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566617088001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787369619000,"timestamp_ms":1787369619000,"timestamp_seconds":1787369619,"priority":1,"record_length":96,"hex_timestamp":"000001a02787fe38"} 
[2026-08-22 09: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-22 09:05: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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:05:04] 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-22 09: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-22 09: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-22 09:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:05:04] 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-22 09:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566617088001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566617088001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:05:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566617088001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":160789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:05:04] local.INFO: GPS data processed {"connection_id":160789,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:05:04] local.INFO: Acknowledgment sent {"connection_id":160789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:05:06] local.INFO: TCP Data received {"connection_id":160790,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:05:06] local.INFO: Processing buffer {"connection_id":160790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:05:06] local.INFO: IMEI packet received {"connection_id":160790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":160790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:05:10] local.INFO: TCP Data received {"connection_id":160790,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a027822238012d7b27c005e28988000000ac21..."} 
[2026-08-22 09:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027822238012d7b27c005e28988000000ac21..."} 
[2026-08-22 09:05:10] local.INFO: Processing buffer {"connection_id":160790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027822238012d7b27c005e28988000000ac21..."} 
[2026-08-22 09:05:10] local.INFO: Packet analysis {"connection_id":160790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:05:10] local.INFO: Extracted packet for processing {"connection_id":160790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763045824,"raw_latitude":98732424,"longitude_deg":76.3045824,"latitude_deg":9.8732424,"altitude":0,"angle":172,"satellites":33,"speed":48,"hex_longitude":"2d7b27c0","hex_latitude":"05e28988","is_valid_coordinates":true} 
[2026-08-22 09:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566521856001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122265396655947776,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872513503662895104,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:10] 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-22 09:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787369235000,"timestamp_ms":1787369235000,"timestamp_seconds":1787369235,"priority":1,"record_length":96,"hex_timestamp":"000001a027822238"} 
[2026-08-22 09:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:05:10] 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-22 09:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-22 09:05:10] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":10240,"corrected_to":0} 
[2026-08-22 09:05:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:10] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2167408641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-8896861046679656704,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-22 09:05:10] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3221611343,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:10] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2885733632,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:10] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57822655093298992,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:10] local.WARNING: Large IO value detected {"io_id":128,"raw_value":5582213032973844485,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:10] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,207,85,24,241,157,16,95,160,212,45,64,210,30,10,66,208,94,165,247,2,98,1,240,220,39,227,4,113,205,17,249,8,72,40,239,50,178,5,27,138,128],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":247,"original":10240,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-22 09:05:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":193655782637568,"timestamp_seconds":193655782637.568,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:05:10] 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-22 09:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566521856001,"66":13526,"207":206,"85":15104,"24":48,"16":122265396655947776,"45":8872513503662895104},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566521856001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:05:10] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122265396655947776,"km_value":122265396655947.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872513503662895104,"description":"Unknown IO ID 45"} 
[2026-08-22 09:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566521856001,"power":13526,"unknown_207":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8872513503662895104}} 
[2026-08-22 09:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":160790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:05:10] local.INFO: GPS data processed {"connection_id":160790,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:05:10] local.INFO: Acknowledgment sent {"connection_id":160790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:05:11] local.INFO: TCP Data received {"connection_id":160790,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a027824178012d7b2cc005e26630000000a824..."} 
[2026-08-22 09:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027824178012d7b2cc005e26630000000a824..."} 
[2026-08-22 09:05:11] local.INFO: Processing buffer {"connection_id":160790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027824178012d7b2cc005e26630000000a824..."} 
[2026-08-22 09:05:11] local.INFO: Packet analysis {"connection_id":160790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:05:11] local.INFO: Extracted packet for processing {"connection_id":160790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:05:11] local.INFO: GPS Element Parsed {"raw_longitude":763047104,"raw_latitude":98723376,"longitude_deg":76.3047104,"latitude_deg":9.8723376,"altitude":0,"angle":168,"satellites":36,"speed":41,"hex_longitude":"2d7b2cc0","hex_latitude":"05e26630","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566524160001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122265839037579264,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874272722264885248,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:11] 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-22 09:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787369243000,"timestamp_ms":1787369243000,"timestamp_seconds":1787369243,"priority":1,"record_length":96,"hex_timestamp":"000001a027824178"} 
[2026-08-22 09: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-22 09:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-22 09:05:11] 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-22 09: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-22 09: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-22 09:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:05: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-22 09:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566524160001,"66":13580,"207":206,"85":15104,"24":41,"16":122265839037579264,"45":8874272722264885248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566524160001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:05:11] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122265839037579264,"km_value":122265839037579.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874272722264885248,"description":"Unknown IO ID 45"} 
[2026-08-22 09:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566524160001,"power":13580,"unknown_207":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8874272722264885248}} 
[2026-08-22 09:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":160790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:05:12] local.INFO: GPS data processed {"connection_id":160790,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:05:12] local.INFO: Acknowledgment sent {"connection_id":160790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:05:26] local.INFO: TCP Data received {"connection_id":159907,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02788a248012d7f89c005afdf60000000e11d..."} 
[2026-08-22 09:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02788a248012d7f89c005afdf60000000e11d..."} 
[2026-08-22 09:05:26] local.INFO: Processing buffer {"connection_id":159907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02788a248012d7f89c005afdf60000000e11d..."} 
[2026-08-22 09:05:26] local.INFO: Packet analysis {"connection_id":159907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02788"} 
[2026-08-22 09:05:26] local.INFO: Extracted packet for processing {"connection_id":159907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02788"} 
[2026-08-22 09:05:26] local.INFO: GPS Element Parsed {"raw_longitude":763333056,"raw_latitude":95412064,"longitude_deg":76.3333056,"latitude_deg":9.5412064,"altitude":0,"angle":225,"satellites":29,"speed":0,"hex_longitude":"2d7f89c0","hex_latitude":"05afdf60","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566627840001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925665363099648,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284229120,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05: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-22 09:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787369661000,"timestamp_ms":1787369661000,"timestamp_seconds":1787369661,"priority":1,"record_length":96,"hex_timestamp":"000001a02788a248"} 
[2026-08-22 09: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-22 09:05:26] 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-22 09:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 09:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566627840001,"66":27365,"250":206,"85":12544,"24":0,"16":388925665363099648,"45":9190087645284229120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566627840001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:05:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:05:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925665363099648,"km_value":388925665363099.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284229120,"description":"Unknown IO ID 45"} 
[2026-08-22 09:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566627840001,"power":27365,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284229120}} 
[2026-08-22 09:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":159907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:05:26] local.INFO: GPS data processed {"connection_id":159907,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:05:26] local.INFO: Acknowledgment sent {"connection_id":159907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:05:35] local.INFO: TCP Data received {"connection_id":160789,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027885040012d196940071fedd8003e011c22..."} 
[2026-08-22 09:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027885040012d196940071fedd8003e011c22..."} 
[2026-08-22 09:05:35] local.INFO: Processing buffer {"connection_id":160789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027885040012d196940071fedd8003e011c22..."} 
[2026-08-22 09:05:35] local.INFO: Packet analysis {"connection_id":160789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02788"} 
[2026-08-22 09:05:35] local.INFO: Extracted packet for processing {"connection_id":160789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02788"} 
[2026-08-22 09:05:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566622464001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787369640000,"timestamp_ms":1787369640000,"timestamp_seconds":1787369640,"priority":1,"record_length":96,"hex_timestamp":"000001a027885040"} 
[2026-08-22 09:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:05: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-22 09:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:05:35] 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-22 09:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:05:35] 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-22 09:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566622464001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566622464001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:05:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566622464001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":160789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:05:35] local.INFO: GPS data processed {"connection_id":160789,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:05:35] local.INFO: Acknowledgment sent {"connection_id":160789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:05:42] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:05:42] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:05:42] local.INFO: IMEI packet received {"connection_id":159908,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":159908,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:05:43] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02785f2c8012d0a75000705fb90000d015f1e..."} 
[2026-08-22 09:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02785f2c8012d0a75000705fb90000d015f1e..."} 
[2026-08-22 09:05:43] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02785f2c8012d0a75000705fb90000d015f1e..."} 
[2026-08-22 09:05:43] local.INFO: Packet analysis {"connection_id":159908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02785"} 
[2026-08-22 09:05:43] local.INFO: Extracted packet for processing {"connection_id":159908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02785"} 
[2026-08-22 09:05:43] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117832592,"longitude_deg":75.5660032,"latitude_deg":11.7832592,"altitude":13,"angle":351,"satellites":30,"speed":14,"hex_longitude":"2d0a7500","hex_latitude":"0705fb90","is_valid_coordinates":true} 
[2026-08-22 09:05: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-22 09:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566585600001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29372293494865920,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911562717184,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:43] 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-22 09:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787369485000,"timestamp_ms":1787369485000,"timestamp_seconds":1787369485,"priority":1,"record_length":96,"hex_timestamp":"000001a02785f2c8"} 
[2026-08-22 09:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:05:43] 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-22 09:05: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":229,"data_length":795,"current_offset":136} 
[2026-08-22 09:05:43] 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-22 09:05: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-22 09:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159908,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159908,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566585600001,"66":14407,"153":206,"94":10240,"24":14,"16":29372293494865920,"45":753578911562717184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 09:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566585600001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:05:43] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 09:05:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29372293494865920,"km_value":29372293494865.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911562717184,"description":"Unknown IO ID 45"} 
[2026-08-22 09:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566585600001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":753578911562717184}} 
[2026-08-22 09:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":159908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680152,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:05:43] local.INFO: GPS data processed {"connection_id":159908,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:05:43] local.INFO: Acknowledgment sent {"connection_id":159908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:05:49] local.INFO: TCP Data received {"connection_id":160791,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:05:49] local.INFO: Processing buffer {"connection_id":160791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:05:49] local.INFO: IMEI packet received {"connection_id":160791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":160791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:05:50] local.INFO: TCP Data received {"connection_id":160791,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:05:50] local.INFO: Processing buffer {"connection_id":160791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:05:50] local.INFO: IMEI packet received {"connection_id":160791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":160791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:05:54] local.INFO: TCP Data received {"connection_id":160791,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:05:54] local.INFO: Processing buffer {"connection_id":160791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:05:54] local.INFO: IMEI packet received {"connection_id":160791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":160791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:05:55] local.INFO: TCP Data received {"connection_id":160791,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02788f450012d7f89c005afdf60000000e11e..."} 
[2026-08-22 09:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02788f450012d7f89c005afdf60000000e11e..."} 
[2026-08-22 09:05:55] local.INFO: Processing buffer {"connection_id":160791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02788f450012d7f89c005afdf60000000e11e..."} 
[2026-08-22 09:05:55] local.INFO: Packet analysis {"connection_id":160791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02788"} 
[2026-08-22 09:05:55] local.INFO: Extracted packet for processing {"connection_id":160791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02788"} 
[2026-08-22 09:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763333056,"raw_latitude":95412064,"longitude_deg":76.3333056,"latitude_deg":9.5412064,"altitude":0,"angle":225,"satellites":30,"speed":0,"hex_longitude":"2d7f89c0","hex_latitude":"05afdf60","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566633216001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925665363099648,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284229120,"note":"Value kept but may cause issues"} 
[2026-08-22 09: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-22 09:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787369682000,"timestamp_ms":1787369682000,"timestamp_seconds":1787369682,"priority":1,"record_length":96,"hex_timestamp":"000001a02788f450"} 
[2026-08-22 09: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-22 09:05:55] 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-22 09: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 09:05: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-22 09: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-22 09: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-22 09:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566633216001,"66":27713,"250":206,"85":12544,"24":0,"16":388925665363099648,"45":9190087645284229120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566633216001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:05:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:05:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925665363099648,"km_value":388925665363099.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284229120,"description":"Unknown IO ID 45"} 
[2026-08-22 09:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566633216001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284229120}} 
[2026-08-22 09:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":160791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:05:55] local.INFO: GPS data processed {"connection_id":160791,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:05:55] local.INFO: Acknowledgment sent {"connection_id":160791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:05:56] local.INFO: TCP Data received {"connection_id":162212,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:05:56] local.INFO: Processing buffer {"connection_id":162212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:05:56] local.INFO: IMEI packet received {"connection_id":162212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":162212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:05:56] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:05:56] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:05:56] local.INFO: IMEI packet received {"connection_id":159909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":159909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:05:58] local.INFO: TCP Data received {"connection_id":162212,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:05:58] local.INFO: Processing buffer {"connection_id":162212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:05:58] local.INFO: IMEI packet received {"connection_id":162212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":162212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:05:59] local.INFO: TCP Data received {"connection_id":162212,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02788a248012d196940071fedd8003e011c24..."} 
[2026-08-22 09:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02788a248012d196940071fedd8003e011c24..."} 
[2026-08-22 09:05:59] local.INFO: Processing buffer {"connection_id":162212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02788a248012d196940071fedd8003e011c24..."} 
[2026-08-22 09:05:59] local.INFO: Packet analysis {"connection_id":162212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02788"} 
[2026-08-22 09:05:59] local.INFO: Extracted packet for processing {"connection_id":162212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02788"} 
[2026-08-22 09:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566627840001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05: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-22 09:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787369661000,"timestamp_ms":1787369661000,"timestamp_seconds":1787369661,"priority":1,"record_length":96,"hex_timestamp":"000001a02788a248"} 
[2026-08-22 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-22 09:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2847983639947188585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79975177269542912,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2265456641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:05:59] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-22 09:05:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,160,254,45,64,237,62,36,10,66,172,90,1,240,31,227,39,4,113,205,182,105,216,35,239,47,2,51,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:05:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883237682708480,"timestamp_seconds":4467883237682708.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 09:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:05:59] 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-22 09:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566627840001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566627840001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:05:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:05:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566627840001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":162212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:05:59] local.INFO: GPS data processed {"connection_id":162212,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:05:59] local.INFO: Acknowledgment sent {"connection_id":162212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:06:01] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:06:01] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:06:01] local.INFO: IMEI packet received {"connection_id":159909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":159909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:06:02] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a027826888012d7b31c005e24178000000ac24..."} 
[2026-08-22 09:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027826888012d7b31c005e24178000000ac24..."} 
[2026-08-22 09:06:02] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027826888012d7b31c005e24178000000ac24..."} 
[2026-08-22 09:06:02] local.INFO: Packet analysis {"connection_id":159909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:06:02] local.INFO: Extracted packet for processing {"connection_id":159909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763048384,"raw_latitude":98713976,"longitude_deg":76.3048384,"latitude_deg":9.8713976,"altitude":0,"angle":172,"satellites":36,"speed":41,"hex_longitude":"2d7b31c0","hex_latitude":"05e24178","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566526208001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122266298599079936,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875680097146122240,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:02] 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-22 09:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787369253000,"timestamp_ms":1787369253000,"timestamp_seconds":1787369253,"priority":1,"record_length":96,"hex_timestamp":"000001a027826888"} 
[2026-08-22 09: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-22 09:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 09:06:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5594123847101054976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:02] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3841982464,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:02] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2175088641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:02] local.WARNING: Large IO value detected {"io_id":226,"raw_value":4146593794,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275774416,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-22 09:06:02] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3489738107,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:02] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040095,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812392960,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:02] local.WARNING: Large IO value detected {"io_id":123,"raw_value":630510421677703172,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052612499302199808,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:02] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,207,85,24,241,157,16,96,160,34,45,192,137,33,10,66,95,255,128,174,212,64,1,240,116,227,94,39,226,4,113,205,21,98,15,29,239,51,208,2,178,5,6,17,123,50],"length":577,"final_offset":707,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-22 09:06:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":184872574976000,"timestamp_seconds":184872574976,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:06:02] 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-22 09:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566526208001,"66":13472,"207":206,"85":15104,"24":41,"16":122266298599079936,"45":8875680097146122240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566526208001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:06:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122266298599079936,"km_value":122266298599079.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875680097146122240,"description":"Unknown IO ID 45"} 
[2026-08-22 09:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566526208001,"power":13472,"unknown_207":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8875680097146122240}} 
[2026-08-22 09:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":159909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:06:02] local.INFO: GPS data processed {"connection_id":159909,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:06:02] local.INFO: Acknowledgment sent {"connection_id":159909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:06:03] local.INFO: TCP Data received {"connection_id":162212,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02788f450012d196940071fedd8003e011c24..."} 
[2026-08-22 09:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02788f450012d196940071fedd8003e011c24..."} 
[2026-08-22 09:06:03] local.INFO: Processing buffer {"connection_id":162212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02788f450012d196940071fedd8003e011c24..."} 
[2026-08-22 09:06:03] local.INFO: Packet analysis {"connection_id":162212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02788"} 
[2026-08-22 09:06:03] local.INFO: Extracted packet for processing {"connection_id":162212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02788"} 
[2026-08-22 09:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566633216001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787369682000,"timestamp_ms":1787369682000,"timestamp_seconds":1787369682,"priority":1,"record_length":96,"hex_timestamp":"000001a02788f450"} 
[2026-08-22 09: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-22 09:06:03] 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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:06:03] 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-22 09: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-22 09: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-22 09:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:06:03] 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-22 09:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566633216001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566633216001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:06:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566633216001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":162212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:06:03] local.INFO: GPS data processed {"connection_id":162212,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:06:03] local.INFO: Acknowledgment sent {"connection_id":162212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:06:14] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0278640e8012d0a734007060778000c01551e..."} 
[2026-08-22 09:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278640e8012d0a734007060778000c01551e..."} 
[2026-08-22 09:06:14] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278640e8012d0a734007060778000c01551e..."} 
[2026-08-22 09:06:14] local.INFO: Packet analysis {"connection_id":159908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02786"} 
[2026-08-22 09:06:14] local.INFO: Extracted packet for processing {"connection_id":159908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02786"} 
[2026-08-22 09:06:14] local.INFO: GPS Element Parsed {"raw_longitude":755659584,"raw_latitude":117835640,"longitude_deg":75.5659584,"latitude_deg":11.783564,"altitude":12,"angle":341,"satellites":30,"speed":0,"hex_longitude":"2d0a7340","hex_latitude":"07060778","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566588160001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29372443818721280,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542819569664,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:14] 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-22 09:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787369505000,"timestamp_ms":1787369505000,"timestamp_seconds":1787369505,"priority":1,"record_length":96,"hex_timestamp":"000001a0278640e8"} 
[2026-08-22 09: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-22 09:06:14] 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-22 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 09:06:14] 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-22 09: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-22 09: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-22 09:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159908,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159908,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566588160001,"66":14515,"153":206,"94":10240,"24":0,"16":29372443818721280,"45":753508542819569664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 09:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566588160001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:06:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 09:06:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29372443818721280,"km_value":29372443818721.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542819569664,"description":"Unknown IO ID 45"} 
[2026-08-22 09:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566588160001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753508542819569664}} 
[2026-08-22 09:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":159908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680157,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:06:15] local.INFO: GPS data processed {"connection_id":159908,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:06:15] local.INFO: Acknowledgment sent {"connection_id":159908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:06:26] local.INFO: TCP Data received {"connection_id":160791,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027894658012d7f89c005afdf60000000e121..."} 
[2026-08-22 09:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027894658012d7f89c005afdf60000000e121..."} 
[2026-08-22 09:06:26] local.INFO: Processing buffer {"connection_id":160791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027894658012d7f89c005afdf60000000e121..."} 
[2026-08-22 09:06:26] local.INFO: Packet analysis {"connection_id":160791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:06:26] local.INFO: Extracted packet for processing {"connection_id":160791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:06:26] local.INFO: GPS Element Parsed {"raw_longitude":763333056,"raw_latitude":95412064,"longitude_deg":76.3333056,"latitude_deg":9.5412064,"altitude":0,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7f89c0","hex_latitude":"05afdf60","is_valid_coordinates":true} 
[2026-08-22 09:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566638592001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925665363099648,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284229120,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06: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-22 09:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787369703000,"timestamp_ms":1787369703000,"timestamp_seconds":1787369703,"priority":1,"record_length":96,"hex_timestamp":"000001a027894658"} 
[2026-08-22 09:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:06: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-22 09:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-22 09:06:26] 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-22 09:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566638592001,"66":27691,"250":206,"85":12544,"24":0,"16":388925665363099648,"45":9190087645284229120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566638592001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:06:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:06:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925665363099648,"km_value":388925665363099.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284229120,"description":"Unknown IO ID 45"} 
[2026-08-22 09:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566638592001,"power":27691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284229120}} 
[2026-08-22 09:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":160791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:06:26] local.INFO: GPS data processed {"connection_id":160791,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:06:26] local.INFO: Acknowledgment sent {"connection_id":160791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:06:33] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a027828f98012d7b360005e21c98000000ae25..."} 
[2026-08-22 09:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027828f98012d7b360005e21c98000000ae25..."} 
[2026-08-22 09:06:33] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027828f98012d7b360005e21c98000000ae25..."} 
[2026-08-22 09:06:33] local.INFO: Packet analysis {"connection_id":159909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:06:33] local.INFO: Extracted packet for processing {"connection_id":159909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763049472,"raw_latitude":98704536,"longitude_deg":76.3049472,"latitude_deg":9.8704536,"altitude":0,"angle":174,"satellites":37,"speed":34,"hex_longitude":"2d7b3600","hex_latitude":"05e21c98","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566528768001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122266758160580608,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877087472027269120,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:33] 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-22 09:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787369263000,"timestamp_ms":1787369263000,"timestamp_seconds":1787369263,"priority":1,"record_length":96,"hex_timestamp":"000001a027828f98"} 
[2026-08-22 09: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-22 09:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 09:06:33] 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-22 09: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-22 09: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-22 09:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:06:33] 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-22 09:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566528768001,"66":13450,"207":206,"85":15104,"24":34,"16":122266758160580608,"45":8877087472027269120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566528768001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:06:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122266758160580608,"km_value":122266758160580.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877087472027269120,"description":"Unknown IO ID 45"} 
[2026-08-22 09:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566528768001,"power":13450,"unknown_207":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8877087472027269120}} 
[2026-08-22 09:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":159909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:06:33] local.INFO: GPS data processed {"connection_id":159909,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:06:33] local.INFO: Acknowledgment sent {"connection_id":159909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:06:34] local.INFO: TCP Data received {"connection_id":162212,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027894658012d196940071fedd8003e011c25..."} 
[2026-08-22 09:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027894658012d196940071fedd8003e011c25..."} 
[2026-08-22 09:06:34] local.INFO: Processing buffer {"connection_id":162212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027894658012d196940071fedd8003e011c25..."} 
[2026-08-22 09:06:34] local.INFO: Packet analysis {"connection_id":162212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:06:34] local.INFO: Extracted packet for processing {"connection_id":162212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:06:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09:06: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-22 09:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566638592001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787369703000,"timestamp_ms":1787369703000,"timestamp_seconds":1787369703,"priority":1,"record_length":96,"hex_timestamp":"000001a027894658"} 
[2026-08-22 09:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:06:34] 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-22 09:06: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:06:34] 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-22 09:06: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-22 09:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:06:34] 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-22 09:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566638592001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566638592001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:06:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566638592001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":162212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:06:34] local.INFO: GPS data processed {"connection_id":162212,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:06:34] local.INFO: Acknowledgment sent {"connection_id":162212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:06:36] local.INFO: TCP Data received {"connection_id":159642,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159642,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:06:36] local.INFO: Processing buffer {"connection_id":159642,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:06:36] local.INFO: IMEI packet received {"connection_id":159642,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":159642,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:06:41] local.INFO: TCP Data received {"connection_id":159642,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159642,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:06:41] local.INFO: Processing buffer {"connection_id":159642,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:06:41] local.INFO: IMEI packet received {"connection_id":159642,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":159642,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:06:42] local.INFO: TCP Data received {"connection_id":159642,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027867f68012d0a734007060750000b00ac1e..."} 
[2026-08-22 09:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027867f68012d0a734007060750000b00ac1e..."} 
[2026-08-22 09:06:42] local.INFO: Processing buffer {"connection_id":159642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027867f68012d0a734007060750000b00ac1e..."} 
[2026-08-22 09:06:42] local.INFO: Packet analysis {"connection_id":159642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02786"} 
[2026-08-22 09:06:42] local.INFO: Extracted packet for processing {"connection_id":159642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02786"} 
[2026-08-22 09:06:42] local.INFO: GPS Element Parsed {"raw_longitude":755659584,"raw_latitude":117835600,"longitude_deg":75.5659584,"latitude_deg":11.78356,"altitude":11,"angle":172,"satellites":30,"speed":1,"hex_longitude":"2d0a7340","hex_latitude":"07060750","is_valid_coordinates":true} 
[2026-08-22 09:06: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-22 09:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566593280001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29372443818721280,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753015961611106304,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:42] 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-22 09:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787369521000,"timestamp_ms":1787369521000,"timestamp_seconds":1787369521,"priority":1,"record_length":96,"hex_timestamp":"000001a027867f68"} 
[2026-08-22 09:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:06:42] 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-22 09:06: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":179,"data_length":795,"current_offset":136} 
[2026-08-22 09:06:42] 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-22 09:06: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-22 09:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566593280001,"66":14407,"153":206,"94":10240,"24":1,"16":29372443818721280,"45":753015961611106304},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 09:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566593280001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:06:42] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 09:06:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29372443818721280,"km_value":29372443818721.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":753015961611106304,"description":"Unknown IO ID 45"} 
[2026-08-22 09:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566593280001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753015961611106304}} 
[2026-08-22 09:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":159642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680161,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:06:42] local.INFO: GPS data processed {"connection_id":159642,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:06:42] local.INFO: Acknowledgment sent {"connection_id":159642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:06:53] local.INFO: TCP Data received {"connection_id":160793,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:06:53] local.INFO: Processing buffer {"connection_id":160793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:06:53] local.INFO: IMEI packet received {"connection_id":160793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":160793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:06:55] local.INFO: TCP Data received {"connection_id":160792,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:06:55] local.INFO: Processing buffer {"connection_id":160792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:06:55] local.INFO: IMEI packet received {"connection_id":160792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":160792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:06:56] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:06:56] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:06:56] local.INFO: IMEI packet received {"connection_id":159910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":159910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:06:58] local.INFO: TCP Data received {"connection_id":160793,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:06:58] local.INFO: Processing buffer {"connection_id":160793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:06:58] local.INFO: IMEI packet received {"connection_id":160793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":160793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:06:59] local.INFO: TCP Data received {"connection_id":160793,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027899860012d196940071fedd8003e011c25..."} 
[2026-08-22 09:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027899860012d196940071fedd8003e011c25..."} 
[2026-08-22 09:06:59] local.INFO: Processing buffer {"connection_id":160793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027899860012d196940071fedd8003e011c25..."} 
[2026-08-22 09:06:59] local.INFO: Packet analysis {"connection_id":160793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:06:59] local.INFO: Extracted packet for processing {"connection_id":160793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566643968001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:06: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-22 09:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787369724000,"timestamp_ms":1787369724000,"timestamp_seconds":1787369724,"priority":1,"record_length":96,"hex_timestamp":"000001a027899860"} 
[2026-08-22 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-22 09:06: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-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 09:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:06:59] 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-22 09:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566643968001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566643968001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:06:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566643968001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":160793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:06:59] local.INFO: GPS data processed {"connection_id":160793,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:06:59] local.INFO: Acknowledgment sent {"connection_id":160793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:07:00] local.INFO: TCP Data received {"connection_id":160792,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:07:00] local.INFO: Processing buffer {"connection_id":160792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:07:00] local.INFO: IMEI packet received {"connection_id":160792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":160792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:07:00] local.INFO: TCP Data received {"connection_id":160792,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027897150012d7f884005afde30000000f821..."} 
[2026-08-22 09:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027897150012d7f884005afde30000000f821..."} 
[2026-08-22 09:07:00] local.INFO: Processing buffer {"connection_id":160792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027897150012d7f884005afde30000000f821..."} 
[2026-08-22 09:07:00] local.INFO: Packet analysis {"connection_id":160792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:07:00] local.INFO: Extracted packet for processing {"connection_id":160792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:07:00] local.INFO: GPS Element Parsed {"raw_longitude":763332672,"raw_latitude":95411760,"longitude_deg":76.3332672,"latitude_deg":9.541176,"altitude":0,"angle":248,"satellites":33,"speed":1,"hex_longitude":"2d7f8840","hex_latitude":"05afde30","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566643968001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925686837936128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284229120,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07: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-22 09:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787369714000,"timestamp_ms":1787369714000,"timestamp_seconds":1787369714,"priority":1,"record_length":96,"hex_timestamp":"000001a027897150"} 
[2026-08-22 09: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-22 09: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-22 09: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":43,"data_length":795,"current_offset":136} 
[2026-08-22 09:07:00] 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-22 09: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-22 09: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-22 09:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566643968001,"66":27767,"250":206,"85":12544,"24":1,"16":388925686837936128,"45":9190087645284229120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566643968001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:07:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:07:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925686837936128,"km_value":388925686837936.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284229120,"description":"Unknown IO ID 45"} 
[2026-08-22 09:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566643968001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190087645284229120}} 
[2026-08-22 09:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":160792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:07:00] local.INFO: GPS data processed {"connection_id":160792,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:07:00] local.INFO: Acknowledgment sent {"connection_id":160792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:07:01] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:07:01] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:07:01] local.INFO: IMEI packet received {"connection_id":159910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":159910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:07:02] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02782be78012d7b3a4005e1f8f0000000ad27..."} 
[2026-08-22 09:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02782be78012d7b3a4005e1f8f0000000ad27..."} 
[2026-08-22 09:07:02] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02782be78012d7b3a4005e1f8f0000000ad27..."} 
[2026-08-22 09:07:02] local.INFO: Packet analysis {"connection_id":159910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:07:02] local.INFO: Extracted packet for processing {"connection_id":159910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763050560,"raw_latitude":98695408,"longitude_deg":76.305056,"latitude_deg":9.8695408,"altitude":0,"angle":173,"satellites":39,"speed":31,"hex_longitude":"2d7b3a40","hex_latitude":"05e1f8f0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566531328001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267204837179392,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878283740675872768,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:02] 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-22 09:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787369275000,"timestamp_ms":1787369275000,"timestamp_seconds":1787369275,"priority":1,"record_length":96,"hex_timestamp":"000001a02782be78"} 
[2026-08-22 09: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-22 09:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 09: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-22 09:07:02] 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-22 09: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-22 09: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-22 09:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:07:02] 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-22 09:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566531328001,"66":13472,"207":206,"85":15104,"24":31,"16":122267204837179392,"45":8878283740675872768},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566531328001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:07:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267204837179392,"km_value":122267204837179.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878283740675872768,"description":"Unknown IO ID 45"} 
[2026-08-22 09:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566531328001,"power":13472,"unknown_207":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8878283740675872768}} 
[2026-08-22 09:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":159910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:07:02] local.INFO: GPS data processed {"connection_id":159910,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:07:02] local.INFO: Acknowledgment sent {"connection_id":159910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:07:05] local.INFO: TCP Data received {"connection_id":160792,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02789c358012d7f884005afde48000000fb1f..."} 
[2026-08-22 09:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02789c358012d7f884005afde48000000fb1f..."} 
[2026-08-22 09:07:05] local.INFO: Processing buffer {"connection_id":160792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02789c358012d7f884005afde48000000fb1f..."} 
[2026-08-22 09:07:05] local.INFO: Packet analysis {"connection_id":160792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:07:05] local.INFO: Extracted packet for processing {"connection_id":160792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763332672,"raw_latitude":95411784,"longitude_deg":76.3332672,"latitude_deg":9.5411784,"altitude":0,"angle":251,"satellites":31,"speed":0,"hex_longitude":"2d7f8840","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-08-22 09:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566646784001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432819085312,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:05] 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-22 09:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787369735000,"timestamp_ms":1787369735000,"timestamp_seconds":1787369735,"priority":1,"record_length":96,"hex_timestamp":"000001a02789c358"} 
[2026-08-22 09:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:07: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-22 09:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:07: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-22 09:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566646784001,"66":27332,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189665432819085312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566646784001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:07:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432819085312,"description":"Unknown IO ID 45"} 
[2026-08-22 09:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566646784001,"power":27332,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432819085312}} 
[2026-08-22 09:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":160792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:07:05] local.INFO: GPS data processed {"connection_id":160792,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:07:05] local.INFO: Acknowledgment sent {"connection_id":160792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:07:13] local.INFO: TCP Data received {"connection_id":159642,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027869ea8012d0a7340070605d8000b00a01e..."} 
[2026-08-22 09:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027869ea8012d0a7340070605d8000b00a01e..."} 
[2026-08-22 09:07:13] local.INFO: Processing buffer {"connection_id":159642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027869ea8012d0a7340070605d8000b00a01e..."} 
[2026-08-22 09:07:13] local.INFO: Packet analysis {"connection_id":159642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02786"} 
[2026-08-22 09:07:13] local.INFO: Extracted packet for processing {"connection_id":159642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02786"} 
[2026-08-22 09:07:13] local.INFO: GPS Element Parsed {"raw_longitude":755659584,"raw_latitude":117835224,"longitude_deg":75.5659584,"latitude_deg":11.7835224,"altitude":11,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2d0a7340","hex_latitude":"070605d8","is_valid_coordinates":true} 
[2026-08-22 09:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566597376001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29372460998590464,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753015961611096064,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:13] 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-22 09:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787369529000,"timestamp_ms":1787369529000,"timestamp_seconds":1787369529,"priority":1,"record_length":96,"hex_timestamp":"000001a027869ea8"} 
[2026-08-22 09:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:07: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-22 09:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 09:07: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-22 09:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566597376001,"66":14428,"153":206,"94":10240,"24":0,"16":29372460998590464,"45":753015961611096064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 09:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566597376001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:07:13] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 09:07:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29372460998590464,"km_value":29372460998590.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":753015961611096064,"description":"Unknown IO ID 45"} 
[2026-08-22 09:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566597376001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753015961611096064}} 
[2026-08-22 09:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":159642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680166,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:07:14] local.INFO: GPS data processed {"connection_id":159642,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:07:14] local.INFO: Acknowledgment sent {"connection_id":159642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:07:30] local.INFO: TCP Data received {"connection_id":160793,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02789ea68012d196940071fedd8003e011c25..."} 
[2026-08-22 09:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02789ea68012d196940071fedd8003e011c25..."} 
[2026-08-22 09:07:30] local.INFO: Processing buffer {"connection_id":160793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02789ea68012d196940071fedd8003e011c25..."} 
[2026-08-22 09:07:30] local.INFO: Packet analysis {"connection_id":160793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:07:30] local.INFO: Extracted packet for processing {"connection_id":160793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:07:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566649344001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07: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-22 09:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787369745000,"timestamp_ms":1787369745000,"timestamp_seconds":1787369745,"priority":1,"record_length":96,"hex_timestamp":"000001a02789ea68"} 
[2026-08-22 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-22 09:07:30] 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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 09:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:07:30] 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-22 09:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566649344001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566649344001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:07:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:07:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566649344001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":160793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:07:30] local.INFO: GPS data processed {"connection_id":160793,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:07:30] local.INFO: Acknowledgment sent {"connection_id":160793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:07:34] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02782f910012d7b3e0005e1e4b0000000ab25..."} 
[2026-08-22 09:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02782f910012d7b3e0005e1e4b0000000ab25..."} 
[2026-08-22 09:07:34] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02782f910012d7b3e0005e1e4b0000000ab25..."} 
[2026-08-22 09:07:34] local.INFO: Packet analysis {"connection_id":159910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:07:34] local.INFO: Extracted packet for processing {"connection_id":159910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:07:34] local.INFO: GPS Element Parsed {"raw_longitude":763051520,"raw_latitude":98690224,"longitude_deg":76.305152,"latitude_deg":9.8690224,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3e00","hex_latitude":"05e1e4b0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566534400001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879480009324556288,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:34] 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-22 09:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787369290000,"timestamp_ms":1787369290000,"timestamp_seconds":1787369290,"priority":1,"record_length":96,"hex_timestamp":"000001a02782f910"} 
[2026-08-22 09: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-22 09:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 09:07:34] 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-22 09: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-22 09: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-22 09:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:07: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-22 09:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566534400001,"66":13200,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8879480009324556288},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566534400001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:07:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:07:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879480009324556288,"description":"Unknown IO ID 45"} 
[2026-08-22 09:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566534400001,"power":13200,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8879480009324556288}} 
[2026-08-22 09:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":159910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:07:34] local.INFO: GPS data processed {"connection_id":159910,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:07:34] local.INFO: Acknowledgment sent {"connection_id":159910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:07:36] local.INFO: TCP Data received {"connection_id":162213,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:07:36] local.INFO: Processing buffer {"connection_id":162213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:07:36] local.INFO: IMEI packet received {"connection_id":162213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":162213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:07:41] local.INFO: TCP Data received {"connection_id":162213,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:07:41] local.INFO: Processing buffer {"connection_id":162213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:07:41] local.INFO: IMEI packet received {"connection_id":162213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":162213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:07:42] local.INFO: TCP Data received {"connection_id":162213,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02786bde8012d0a73c007060530000b00891e..."} 
[2026-08-22 09:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02786bde8012d0a73c007060530000b00891e..."} 
[2026-08-22 09:07:42] local.INFO: Processing buffer {"connection_id":162213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02786bde8012d0a73c007060530000b00891e..."} 
[2026-08-22 09:07:42] local.INFO: Packet analysis {"connection_id":162213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02786"} 
[2026-08-22 09:07:42] local.INFO: Extracted packet for processing {"connection_id":162213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02786"} 
[2026-08-22 09:07:42] local.INFO: GPS Element Parsed {"raw_longitude":755659712,"raw_latitude":117835056,"longitude_deg":75.5659712,"latitude_deg":11.7835056,"altitude":11,"angle":137,"satellites":30,"speed":1,"hex_longitude":"2d0a73c0","hex_latitude":"07060530","is_valid_coordinates":true} 
[2026-08-22 09:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566599424001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29372473883492352,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753015961610999808,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:42] 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-22 09:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787369537000,"timestamp_ms":1787369537000,"timestamp_seconds":1787369537,"priority":1,"record_length":96,"hex_timestamp":"000001a02786bde8"} 
[2026-08-22 09:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:07: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-22 09:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 09:07: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-22 09:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566599424001,"66":14428,"153":206,"94":10240,"24":1,"16":29372473883492352,"45":753015961610999808},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 09:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566599424001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:07:42] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 09:07:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29372473883492352,"km_value":29372473883492.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":753015961610999808,"description":"Unknown IO ID 45"} 
[2026-08-22 09:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566599424001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753015961610999808}} 
[2026-08-22 09:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":162213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680169,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:07:42] local.INFO: GPS data processed {"connection_id":162213,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:07:42] local.INFO: Acknowledgment sent {"connection_id":162213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:07:50] local.INFO: TCP Data received {"connection_id":162214,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:07:50] local.INFO: Processing buffer {"connection_id":162214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:07:50] local.INFO: IMEI packet received {"connection_id":162214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":162214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:07:53] local.INFO: TCP Data received {"connection_id":162215,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:07:53] local.INFO: Processing buffer {"connection_id":162215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:07:53] local.INFO: IMEI packet received {"connection_id":162215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":162215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:07:54] local.INFO: TCP Data received {"connection_id":162214,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:07:54] local.INFO: Processing buffer {"connection_id":162214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:07:54] local.INFO: IMEI packet received {"connection_id":162214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":162214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:07:55] local.INFO: TCP Data received {"connection_id":162214,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:07:55] local.INFO: Processing buffer {"connection_id":162214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:07:55] local.INFO: Packet analysis {"connection_id":162214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:07:55] local.INFO: Extracted packet for processing {"connection_id":162214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:07:55] local.INFO: GPS Element Parsed {"raw_longitude":763332672,"raw_latitude":95411784,"longitude_deg":76.3332672,"latitude_deg":9.5411784,"altitude":0,"angle":251,"satellites":35,"speed":0,"hex_longitude":"2d7f8840","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-08-22 09:07: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-22 09:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566652160001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432819091456,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07: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-22 09:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787369742000,"timestamp_ms":1787369742000,"timestamp_seconds":1787369742,"priority":1,"record_length":96,"hex_timestamp":"000001a02789deb0"} 
[2026-08-22 09: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-22 09:07: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-22 09: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 09:07: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-22 09: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-22 09: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-22 09:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566652160001,"66":27876,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189665432819091456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566652160001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:07:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:07:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432819091456,"description":"Unknown IO ID 45"} 
[2026-08-22 09:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566652160001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432819091456}} 
[2026-08-22 09:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":162214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:07:55] local.INFO: GPS data processed {"connection_id":162214,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:07:55] local.INFO: Acknowledgment sent {"connection_id":162214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:07:56] local.INFO: TCP Data received {"connection_id":160794,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:07:56] local.INFO: Processing buffer {"connection_id":160794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:07:56] local.INFO: IMEI packet received {"connection_id":160794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":160794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:07:58] local.INFO: TCP Data received {"connection_id":162215,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:07:58] local.INFO: Processing buffer {"connection_id":162215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:07:58] local.INFO: IMEI packet received {"connection_id":162215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":162215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:07:59] local.INFO: TCP Data received {"connection_id":162215,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278a3c70012d196940071fedd8003e011c25..."} 
[2026-08-22 09:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278a3c70012d196940071fedd8003e011c25..."} 
[2026-08-22 09:07:59] local.INFO: Processing buffer {"connection_id":162215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278a3c70012d196940071fedd8003e011c25..."} 
[2026-08-22 09:07:59] local.INFO: Packet analysis {"connection_id":162215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278a"} 
[2026-08-22 09:07:59] local.INFO: Extracted packet for processing {"connection_id":162215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278a"} 
[2026-08-22 09:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566654720001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:07: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-22 09:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787369766000,"timestamp_ms":1787369766000,"timestamp_seconds":1787369766,"priority":1,"record_length":96,"hex_timestamp":"000001a0278a3c70"} 
[2026-08-22 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-22 09:07: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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 09:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:07:59] 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-22 09:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566654720001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566654720001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:07:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:07:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566654720001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":162215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:07:59] local.INFO: GPS data processed {"connection_id":162215,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:07:59] local.INFO: Acknowledgment sent {"connection_id":162215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:08:01] local.INFO: TCP Data received {"connection_id":160794,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:08:01] local.INFO: Processing buffer {"connection_id":160794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:08:01] local.INFO: IMEI packet received {"connection_id":160794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":160794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:08:02] local.INFO: TCP Data received {"connection_id":160794,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02782f910012d7b3e0005e1e4b0000000ab25..."} 
[2026-08-22 09:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02782f910012d7b3e0005e1e4b0000000ab25..."} 
[2026-08-22 09:08:02] local.INFO: Processing buffer {"connection_id":160794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02782f910012d7b3e0005e1e4b0000000ab25..."} 
[2026-08-22 09:08:02] local.INFO: Packet analysis {"connection_id":160794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:08:02] local.INFO: Extracted packet for processing {"connection_id":160794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02782"} 
[2026-08-22 09:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763051520,"raw_latitude":98690224,"longitude_deg":76.305152,"latitude_deg":9.8690224,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3e00","hex_latitude":"05e1e4b0","is_valid_coordinates":true} 
[2026-08-22 09:08:02] 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-22 09:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566538240001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880535540485894144,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:02] 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-22 09:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787369290000,"timestamp_ms":1787369290000,"timestamp_seconds":1787369290,"priority":1,"record_length":96,"hex_timestamp":"000001a02782f910"} 
[2026-08-22 09:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-22 09:08:02] 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-22 09:08: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-22 09:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:08:02] 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-22 09:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566538240001,"66":13200,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880535540485894144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566538240001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:08:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880535540485894144,"description":"Unknown IO ID 45"} 
[2026-08-22 09:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566538240001,"power":13200,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880535540485894144}} 
[2026-08-22 09:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":160794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:08:02] local.INFO: GPS data processed {"connection_id":160794,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:08:02] local.INFO: Acknowledgment sent {"connection_id":160794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:08:14] local.INFO: TCP Data received {"connection_id":162213,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02786c5b8012d0a740007060500000b007e1e..."} 
[2026-08-22 09:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02786c5b8012d0a740007060500000b007e1e..."} 
[2026-08-22 09:08:14] local.INFO: Processing buffer {"connection_id":162213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02786c5b8012d0a740007060500000b007e1e..."} 
[2026-08-22 09:08:14] local.INFO: Packet analysis {"connection_id":162213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02786"} 
[2026-08-22 09:08:14] local.INFO: Extracted packet for processing {"connection_id":162213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02786"} 
[2026-08-22 09:08:14] local.INFO: GPS Element Parsed {"raw_longitude":755659776,"raw_latitude":117835008,"longitude_deg":75.5659776,"latitude_deg":11.7835008,"altitude":11,"angle":126,"satellites":30,"speed":1,"hex_longitude":"2d0a7400","hex_latitude":"07060500","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566601472001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29372478178459648,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753156699099312128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:14] 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-22 09:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787369539000,"timestamp_ms":1787369539000,"timestamp_seconds":1787369539,"priority":1,"record_length":96,"hex_timestamp":"000001a02786c5b8"} 
[2026-08-22 09: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-22 09:08:14] 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-22 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 09:08: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-22 09: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-22 09: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-22 09:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566601472001,"66":14450,"153":206,"94":10240,"24":1,"16":29372478178459648,"45":753156699099312128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 09:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566601472001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:08:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 09:08:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29372478178459648,"km_value":29372478178459.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":753156699099312128,"description":"Unknown IO ID 45"} 
[2026-08-22 09:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566601472001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753156699099312128}} 
[2026-08-22 09:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":162213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680173,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:08:14] local.INFO: GPS data processed {"connection_id":162213,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:08:14] local.INFO: Acknowledgment sent {"connection_id":162213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:08:30] local.INFO: TCP Data received {"connection_id":162215,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278a8e78012d196940071fedd8003e011c25..."} 
[2026-08-22 09:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278a8e78012d196940071fedd8003e011c25..."} 
[2026-08-22 09:08:30] local.INFO: Processing buffer {"connection_id":162215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278a8e78012d196940071fedd8003e011c25..."} 
[2026-08-22 09:08:30] local.INFO: Packet analysis {"connection_id":162215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278a"} 
[2026-08-22 09:08:30] local.INFO: Extracted packet for processing {"connection_id":162215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278a"} 
[2026-08-22 09:08:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566660096001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08: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-22 09:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787369787000,"timestamp_ms":1787369787000,"timestamp_seconds":1787369787,"priority":1,"record_length":96,"hex_timestamp":"000001a0278a8e78"} 
[2026-08-22 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-22 09:08: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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 09:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:08:30] 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-22 09:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566660096001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566660096001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:08:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:08:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566660096001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":162215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:08:30] local.INFO: GPS data processed {"connection_id":162215,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:08:30] local.INFO: Acknowledgment sent {"connection_id":162215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:08:31] local.INFO: TCP Data received {"connection_id":162214,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:08:31] local.INFO: Processing buffer {"connection_id":162214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:08:31] local.INFO: Packet analysis {"connection_id":162214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:08:31] local.INFO: Extracted packet for processing {"connection_id":162214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763332672,"raw_latitude":95411784,"longitude_deg":76.3332672,"latitude_deg":9.5411784,"altitude":0,"angle":251,"satellites":35,"speed":0,"hex_longitude":"2d7f8840","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-08-22 09:08: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-22 09:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566652160001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432819091456,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:31] 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-22 09:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787369742000,"timestamp_ms":1787369742000,"timestamp_seconds":1787369742,"priority":1,"record_length":96,"hex_timestamp":"000001a02789deb0"} 
[2026-08-22 09: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-22 09:08: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-22 09: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-22 09: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-22 09: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-22 09: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-22 09:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566652160001,"66":27876,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189665432819091456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566652160001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:08:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:08:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432819091456,"description":"Unknown IO ID 45"} 
[2026-08-22 09:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566652160001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432819091456}} 
[2026-08-22 09:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":162214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:08:31] local.INFO: GPS data processed {"connection_id":162214,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:08:31] local.INFO: Acknowledgment sent {"connection_id":162214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:08:34] local.INFO: TCP Data received {"connection_id":160794,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02787a078012d7b3ec005e1e4a0000000ab27..."} 
[2026-08-22 09:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02787a078012d7b3ec005e1e4a0000000ab27..."} 
[2026-08-22 09:08:34] local.INFO: Processing buffer {"connection_id":160794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02787a078012d7b3ec005e1e4a0000000ab27..."} 
[2026-08-22 09:08:34] local.INFO: Packet analysis {"connection_id":160794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02787"} 
[2026-08-22 09:08:34] local.INFO: Extracted packet for processing {"connection_id":160794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02787"} 
[2026-08-22 09:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":39,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566538240001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880535540485894144,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:34] 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-22 09:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787369595000,"timestamp_ms":1787369595000,"timestamp_seconds":1787369595,"priority":1,"record_length":96,"hex_timestamp":"000001a02787a078"} 
[2026-08-22 09:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-22 09:08:34] 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-22 09:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:08: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-22 09:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566538240001,"66":12298,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880535540485894144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566538240001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:08:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:08:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880535540485894144,"description":"Unknown IO ID 45"} 
[2026-08-22 09:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566538240001,"power":12298,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880535540485894144}} 
[2026-08-22 09:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":160794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:08:34] local.INFO: GPS data processed {"connection_id":160794,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:08:34] local.INFO: Acknowledgment sent {"connection_id":160794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:08:36] local.INFO: TCP Data received {"connection_id":162216,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162216,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:08:36] local.INFO: Processing buffer {"connection_id":162216,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:08:36] local.INFO: IMEI packet received {"connection_id":162216,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":162216,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:08:42] local.INFO: TCP Data received {"connection_id":162216,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162216,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:08:42] local.INFO: Processing buffer {"connection_id":162216,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:08:42] local.INFO: IMEI packet received {"connection_id":162216,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":162216,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:08:42] local.INFO: TCP Data received {"connection_id":162216,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0278c4fb0012d0a73c00705e328001500d421..."} 
[2026-08-22 09:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278c4fb0012d0a73c00705e328001500d421..."} 
[2026-08-22 09:08:42] local.INFO: Processing buffer {"connection_id":162216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278c4fb0012d0a73c00705e328001500d421..."} 
[2026-08-22 09:08:42] local.INFO: Packet analysis {"connection_id":162216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:08:42] local.INFO: Extracted packet for processing {"connection_id":162216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:08:42] local.INFO: GPS Element Parsed {"raw_longitude":755659712,"raw_latitude":117826344,"longitude_deg":75.5659712,"latitude_deg":11.7826344,"altitude":21,"angle":212,"satellites":33,"speed":11,"hex_longitude":"2d0a73c0","hex_latitude":"0705e328","is_valid_coordinates":true} 
[2026-08-22 09:08: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-22 09:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566694400001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29372920560091136,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542818129920,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] 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-22 09:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787369902000,"timestamp_ms":1787369902000,"timestamp_seconds":1787369902,"priority":1,"record_length":96,"hex_timestamp":"000001a0278c4fb0"} 
[2026-08-22 09:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:08:42] 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-22 09:08: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":16,"data_length":795,"current_offset":136} 
[2026-08-22 09:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733147648,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":8430746224866361355,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638989846996889,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504047816081408,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2332528641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6917792910436270336,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738080462,"corrected_to":0} 
[2026-08-22 09:08:42] local.WARNING: Large IO value detected {"io_id":115,"raw_value":3221685764,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465447,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84735466691560964,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] local.WARNING: Large IO value detected {"io_id":168,"raw_value":2815132522512384,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:42] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,165,94,24,241,157,16,90,160,253,45,192,1,20,33,10,66,175,64,4,153,93,240,38,227,39,6,113,205,7,115,239,49,2,104,206,248,168],"length":628,"final_offset":758,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1738080462,"validated":0}]} 
[2026-08-22 09:08:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441370821012553728,"timestamp_seconds":1441370821012553.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162216,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162216,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566694400001,"66":14396,"165":206,"94":10240,"24":11,"16":29372920560091136,"45":753508542818129920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-22 09:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566694400001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:08:42] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-22 09:08:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29372920560091136,"km_value":29372920560091.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542818129920,"description":"Unknown IO ID 45"} 
[2026-08-22 09:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566694400001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":753508542818129920}} 
[2026-08-22 09:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":162216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680177,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:08:43] local.INFO: GPS data processed {"connection_id":162216,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:08:43] local.INFO: Acknowledgment sent {"connection_id":162216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:08:50] local.INFO: TCP Data received {"connection_id":159643,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:08:50] local.INFO: Processing buffer {"connection_id":159643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:08:50] local.INFO: IMEI packet received {"connection_id":159643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":159643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:08:53] local.INFO: TCP Data received {"connection_id":159644,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:08:53] local.INFO: Processing buffer {"connection_id":159644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:08:53] local.INFO: IMEI packet received {"connection_id":159644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":159644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:08:55] local.INFO: TCP Data received {"connection_id":159643,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:08:55] local.INFO: Processing buffer {"connection_id":159643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:08:55] local.INFO: IMEI packet received {"connection_id":159643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":159643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:08:56] local.INFO: TCP Data received {"connection_id":159643,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:08:56] local.INFO: Processing buffer {"connection_id":159643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:08:56] local.INFO: Packet analysis {"connection_id":159643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:08:56] local.INFO: Extracted packet for processing {"connection_id":159643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763332672,"raw_latitude":95411784,"longitude_deg":76.3332672,"latitude_deg":9.5411784,"altitude":0,"angle":251,"satellites":35,"speed":0,"hex_longitude":"2d7f8840","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-08-22 09:08: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-22 09:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566652160001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432819091456,"note":"Value kept but may cause issues"} 
[2026-08-22 09: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-22 09:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787369742000,"timestamp_ms":1787369742000,"timestamp_seconds":1787369742,"priority":1,"record_length":96,"hex_timestamp":"000001a02789deb0"} 
[2026-08-22 09: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-22 09:08: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-22 09: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 09:08:56] 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-22 09: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-22 09: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-22 09:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566652160001,"66":27876,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189665432819091456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566652160001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:08:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432819091456,"description":"Unknown IO ID 45"} 
[2026-08-22 09:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566652160001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432819091456}} 
[2026-08-22 09:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":159643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:08:56] local.INFO: GPS data processed {"connection_id":159643,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:08:56] local.INFO: Acknowledgment sent {"connection_id":159643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:08:56] local.INFO: TCP Data received {"connection_id":159911,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:08:56] local.INFO: Processing buffer {"connection_id":159911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:08:56] local.INFO: IMEI packet received {"connection_id":159911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":159911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:08:58] local.INFO: TCP Data received {"connection_id":159644,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:08:58] local.INFO: Processing buffer {"connection_id":159644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:08:58] local.INFO: IMEI packet received {"connection_id":159644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":159644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:08:59] local.INFO: TCP Data received {"connection_id":159644,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278ae080012d196940071fedd8003e011c24..."} 
[2026-08-22 09:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278ae080012d196940071fedd8003e011c24..."} 
[2026-08-22 09:08:59] local.INFO: Processing buffer {"connection_id":159644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278ae080012d196940071fedd8003e011c24..."} 
[2026-08-22 09:08:59] local.INFO: Packet analysis {"connection_id":159644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278a"} 
[2026-08-22 09:08:59] local.INFO: Extracted packet for processing {"connection_id":159644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278a"} 
[2026-08-22 09:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566665472001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:08: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-22 09:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787369808000,"timestamp_ms":1787369808000,"timestamp_seconds":1787369808,"priority":1,"record_length":96,"hex_timestamp":"000001a0278ae080"} 
[2026-08-22 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-22 09:08: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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 09:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:08:59] 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-22 09:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566665472001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566665472001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:08:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566665472001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":159644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:08:59] local.INFO: GPS data processed {"connection_id":159644,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:08:59] local.INFO: Acknowledgment sent {"connection_id":159644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:09:01] local.INFO: TCP Data received {"connection_id":159911,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:09:01] local.INFO: Processing buffer {"connection_id":159911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:09:01] local.INFO: IMEI packet received {"connection_id":159911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":159911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:09:03] local.INFO: TCP Data received {"connection_id":159911,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02789a418012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02789a418012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:09:03] local.INFO: Processing buffer {"connection_id":159911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02789a418012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:09:03] local.INFO: Packet analysis {"connection_id":159911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:09:03] local.INFO: Extracted packet for processing {"connection_id":159911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:09:03] 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-22 09:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566616320001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] 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-22 09:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787369727000,"timestamp_ms":1787369727000,"timestamp_seconds":1787369727,"priority":1,"record_length":96,"hex_timestamp":"000001a02789a418"} 
[2026-08-22 09: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-22 09:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437204681216,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186034,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2846875538384845607,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3822431065806405838,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2190448641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2281778555,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3221611073,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407135,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3798347776,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":96,"raw_value":2449958197289549825,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":192,"raw_value":424052532134805676,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":13510798882766852,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:03] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,207,85,24,241,157,16,97,160,249,45,228,37,10,66,190,64,1,240,227,39,226,4,113,205,34,104,49,120,36,239,52,2,178,5,96,192,33],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-08-22 09:09:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":188183992074240,"timestamp_seconds":188183992074.24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:09: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-22 09:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566616320001,"66":12232,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566616320001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:09:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566616320001,"power":12232,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":159911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:09:03] local.INFO: GPS data processed {"connection_id":159911,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:09:03] local.INFO: Acknowledgment sent {"connection_id":159911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:09:14] local.INFO: TCP Data received {"connection_id":162216,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0278c5b68012d0a72400705e028001500c321..."} 
[2026-08-22 09:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278c5b68012d0a72400705e028001500c321..."} 
[2026-08-22 09:09:14] local.INFO: Processing buffer {"connection_id":162216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278c5b68012d0a72400705e028001500c321..."} 
[2026-08-22 09:09:14] local.INFO: Packet analysis {"connection_id":162216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:09:14] local.INFO: Extracted packet for processing {"connection_id":162216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:09:14] local.INFO: GPS Element Parsed {"raw_longitude":755659328,"raw_latitude":117825576,"longitude_deg":75.5659328,"latitude_deg":11.7825576,"altitude":21,"angle":195,"satellites":33,"speed":10,"hex_longitude":"2d0a7240","hex_latitude":"0705e028","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566694912001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29372959214796800,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753156699097081856,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:14] 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-22 09:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787369905000,"timestamp_ms":1787369905000,"timestamp_seconds":1787369905,"priority":1,"record_length":96,"hex_timestamp":"000001a0278c5b68"} 
[2026-08-22 09: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-22 09:09: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-22 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 09:09:14] 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-22 09: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-22 09: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-22 09:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162216,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162216,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566694912001,"66":14396,"165":206,"94":10240,"24":10,"16":29372959214796800,"45":753156699097081856},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-22 09:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566694912001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:09:14] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-22 09:09:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29372959214796800,"km_value":29372959214796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":753156699097081856,"description":"Unknown IO ID 45"} 
[2026-08-22 09:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566694912001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":753156699097081856}} 
[2026-08-22 09:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":162216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680181,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:09:14] local.INFO: GPS data processed {"connection_id":162216,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:09:14] local.INFO: Acknowledgment sent {"connection_id":162216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:09:27] local.INFO: TCP Data received {"connection_id":159643,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:09:27] local.INFO: Processing buffer {"connection_id":159643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:09:27] local.INFO: Packet analysis {"connection_id":159643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:09:27] local.INFO: Extracted packet for processing {"connection_id":159643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763332672,"raw_latitude":95411784,"longitude_deg":76.3332672,"latitude_deg":9.5411784,"altitude":0,"angle":251,"satellites":35,"speed":0,"hex_longitude":"2d7f8840","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-08-22 09:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566652160001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432819091456,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09: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-22 09:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787369742000,"timestamp_ms":1787369742000,"timestamp_seconds":1787369742,"priority":1,"record_length":96,"hex_timestamp":"000001a02789deb0"} 
[2026-08-22 09: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-22 09:09: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-22 09: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 09:09: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-22 09: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-22 09: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-22 09:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566652160001,"66":27876,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189665432819091456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566652160001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:09:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432819091456,"description":"Unknown IO ID 45"} 
[2026-08-22 09:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566652160001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432819091456}} 
[2026-08-22 09:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":159643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:09:27] local.INFO: GPS data processed {"connection_id":159643,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:09:27] local.INFO: Acknowledgment sent {"connection_id":159643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:09:30] local.INFO: TCP Data received {"connection_id":159644,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278b3288012d196940071fedd8003e011c24..."} 
[2026-08-22 09:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278b3288012d196940071fedd8003e011c24..."} 
[2026-08-22 09:09:30] local.INFO: Processing buffer {"connection_id":159644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278b3288012d196940071fedd8003e011c24..."} 
[2026-08-22 09:09:30] local.INFO: Packet analysis {"connection_id":159644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278b"} 
[2026-08-22 09:09:30] local.INFO: Extracted packet for processing {"connection_id":159644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278b"} 
[2026-08-22 09:09:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566670848001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09: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-22 09:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787369829000,"timestamp_ms":1787369829000,"timestamp_seconds":1787369829,"priority":1,"record_length":96,"hex_timestamp":"000001a0278b3288"} 
[2026-08-22 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-22 09:09:30] 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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 09:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:09:30] 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-22 09:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566670848001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566670848001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:09:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:09:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566670848001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":159644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:09:30] local.INFO: GPS data processed {"connection_id":159644,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:09:30] local.INFO: Acknowledgment sent {"connection_id":159644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:09:35] local.INFO: TCP Data received {"connection_id":159911,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02789a418012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02789a418012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:09:35] local.INFO: Processing buffer {"connection_id":159911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02789a418012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:09:35] local.INFO: Packet analysis {"connection_id":159911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:09:35] local.INFO: Extracted packet for processing {"connection_id":159911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:09:35] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:09:35] 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-22 09:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566650112001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:35] 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-22 09:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787369727000,"timestamp_ms":1787369727000,"timestamp_seconds":1787369727,"priority":1,"record_length":96,"hex_timestamp":"000001a02789a418"} 
[2026-08-22 09:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:09:35] 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-22 09:09: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":200,"data_length":795,"current_offset":136} 
[2026-08-22 09:09:35] 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-22 09:09: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-22 09:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:09: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-22 09:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566650112001,"66":12232,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566650112001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:09:35] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:09:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566650112001,"power":12232,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":159911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:09:35] local.INFO: GPS data processed {"connection_id":159911,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:09:35] local.INFO: Acknowledgment sent {"connection_id":159911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:09:41] local.INFO: TCP Data received {"connection_id":162217,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162217,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:09:41] local.INFO: Processing buffer {"connection_id":162217,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:09:41] local.INFO: IMEI packet received {"connection_id":162217,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":162217,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:09:42] local.INFO: TCP Data received {"connection_id":162217,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162217,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:09:42] local.INFO: Processing buffer {"connection_id":162217,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:09:42] local.INFO: IMEI packet received {"connection_id":162217,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":162217,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:09:43] local.INFO: TCP Data received {"connection_id":162217,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162217,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:09:43] local.INFO: Processing buffer {"connection_id":162217,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:09:43] local.INFO: IMEI packet received {"connection_id":162217,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":162217,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:09:46] local.INFO: TCP Data received {"connection_id":162217,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162217,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:09:46] local.INFO: Processing buffer {"connection_id":162217,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:09:46] local.INFO: IMEI packet received {"connection_id":162217,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":162217,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:09:47] local.INFO: TCP Data received {"connection_id":162217,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0278d3240012d0a71c0070593a8001000e020..."} 
[2026-08-22 09:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278d3240012d0a71c0070593a8001000e020..."} 
[2026-08-22 09:09:47] local.INFO: Processing buffer {"connection_id":162217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278d3240012d0a71c0070593a8001000e020..."} 
[2026-08-22 09:09:47] local.INFO: Packet analysis {"connection_id":162217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278d"} 
[2026-08-22 09:09:47] local.INFO: Extracted packet for processing {"connection_id":162217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278d"} 
[2026-08-22 09:09:47] local.INFO: GPS Element Parsed {"raw_longitude":755659200,"raw_latitude":117805992,"longitude_deg":75.56592,"latitude_deg":11.7805992,"altitude":16,"angle":224,"satellites":32,"speed":22,"hex_longitude":"2d0a71c0","hex_latitude":"070593a8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566706944001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29374015776751616,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757026980023033856,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:47] 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-22 09:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787369960000,"timestamp_ms":1787369960000,"timestamp_seconds":1787369960,"priority":1,"record_length":96,"hex_timestamp":"000001a0278d3240"} 
[2026-08-22 09: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-22 09:09:47] 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-22 09: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":38,"data_length":795,"current_offset":136} 
[2026-08-22 09:09: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-22 09: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-22 09: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-22 09:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162217,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162217,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566706944001,"66":14439,"153":206,"94":10240,"24":22,"16":29374015776751616,"45":757026980023033856},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 09:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566706944001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:09:47] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 09:09:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29374015776751616,"km_value":29374015776751.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":757026980023033856,"description":"Unknown IO ID 45"} 
[2026-08-22 09:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566706944001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":757026980023033856}} 
[2026-08-22 09:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":162217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680185,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:09:47] local.INFO: GPS data processed {"connection_id":162217,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:09:47] local.INFO: Acknowledgment sent {"connection_id":162217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:09:49] local.INFO: TCP Data received {"connection_id":160795,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:09:49] local.INFO: Processing buffer {"connection_id":160795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:09:49] local.INFO: IMEI packet received {"connection_id":160795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":160795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:09:52] local.INFO: TCP Data received {"connection_id":162217,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0278d5950012d0a6780070587e8001200ed20..."} 
[2026-08-22 09:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278d5950012d0a6780070587e8001200ed20..."} 
[2026-08-22 09:09:52] local.INFO: Processing buffer {"connection_id":162217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278d5950012d0a6780070587e8001200ed20..."} 
[2026-08-22 09:09:52] local.INFO: Packet analysis {"connection_id":162217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278d"} 
[2026-08-22 09:09:52] local.INFO: Extracted packet for processing {"connection_id":162217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278d"} 
[2026-08-22 09:09:52] local.INFO: GPS Element Parsed {"raw_longitude":755656576,"raw_latitude":117802984,"longitude_deg":75.5656576,"latitude_deg":11.7802984,"altitude":18,"angle":237,"satellites":32,"speed":21,"hex_longitude":"2d0a6780","hex_latitude":"070587e8","is_valid_coordinates":true} 
[2026-08-22 09:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566709760001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29374209050279936,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752593749138450432,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:52] 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-22 09:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787369970000,"timestamp_ms":1787369970000,"timestamp_seconds":1787369970,"priority":1,"record_length":96,"hex_timestamp":"000001a0278d5950"} 
[2026-08-22 09: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-22 09:09: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-22 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 09:09:52] 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-22 09: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-22 09: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-22 09:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162217,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162217,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566709760001,"66":14439,"153":206,"94":10240,"24":21,"16":29374209050279936,"45":752593749138450432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 09:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566709760001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:09:52] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 09:09:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29374209050279936,"km_value":29374209050279.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":752593749138450432,"description":"Unknown IO ID 45"} 
[2026-08-22 09:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566709760001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":752593749138450432}} 
[2026-08-22 09:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":162217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680186,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:09:52] local.INFO: GPS data processed {"connection_id":162217,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:09:52] local.INFO: Acknowledgment sent {"connection_id":162217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:09:53] local.INFO: TCP Data received {"connection_id":160796,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:09:53] local.INFO: Processing buffer {"connection_id":160796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:09:53] local.INFO: IMEI packet received {"connection_id":160796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":160796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:09:53] local.INFO: TCP Data received {"connection_id":160796,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:09:53] local.INFO: Processing buffer {"connection_id":160796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:09:53] local.INFO: IMEI packet received {"connection_id":160796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":160796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:09:55] local.INFO: TCP Data received {"connection_id":160795,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:09:55] local.INFO: Processing buffer {"connection_id":160795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:09:55] local.INFO: IMEI packet received {"connection_id":160795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":160795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:09:55] local.INFO: TCP Data received {"connection_id":160795,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:09:55] local.INFO: Processing buffer {"connection_id":160795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:09:55] local.INFO: Packet analysis {"connection_id":160795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:09:55] local.INFO: Extracted packet for processing {"connection_id":160795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:09:55] local.INFO: GPS Element Parsed {"raw_longitude":763332672,"raw_latitude":95411784,"longitude_deg":76.3332672,"latitude_deg":9.5411784,"altitude":0,"angle":251,"satellites":35,"speed":0,"hex_longitude":"2d7f8840","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-08-22 09:09: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-22 09:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566652160001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432819091456,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09: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-22 09:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787369742000,"timestamp_ms":1787369742000,"timestamp_seconds":1787369742,"priority":1,"record_length":96,"hex_timestamp":"000001a02789deb0"} 
[2026-08-22 09: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-22 09: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-22 09: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 09:09: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-22 09: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-22 09: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-22 09:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566652160001,"66":27876,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189665432819091456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566652160001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:09:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:09:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432819091456,"description":"Unknown IO ID 45"} 
[2026-08-22 09:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566652160001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432819091456}} 
[2026-08-22 09:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":160795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:09:55] local.INFO: GPS data processed {"connection_id":160795,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:09:55] local.INFO: Acknowledgment sent {"connection_id":160795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:09:58] local.INFO: TCP Data received {"connection_id":160796,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:09:58] local.INFO: Processing buffer {"connection_id":160796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:09:58] local.INFO: IMEI packet received {"connection_id":160796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":160796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:09:59] local.INFO: TCP Data received {"connection_id":160796,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278b8490012d196940071fedd8003e011c25..."} 
[2026-08-22 09:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278b8490012d196940071fedd8003e011c25..."} 
[2026-08-22 09:09:59] local.INFO: Processing buffer {"connection_id":160796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278b8490012d196940071fedd8003e011c25..."} 
[2026-08-22 09:09:59] local.INFO: Packet analysis {"connection_id":160796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278b"} 
[2026-08-22 09:09:59] local.INFO: Extracted packet for processing {"connection_id":160796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278b"} 
[2026-08-22 09:09:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566676224001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:09: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-22 09:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787369850000,"timestamp_ms":1787369850000,"timestamp_seconds":1787369850,"priority":1,"record_length":96,"hex_timestamp":"000001a0278b8490"} 
[2026-08-22 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-22 09:09: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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 09:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:09:59] 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-22 09:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566676224001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566676224001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:09:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566676224001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":160796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:09:59] local.INFO: GPS data processed {"connection_id":160796,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:09:59] local.INFO: Acknowledgment sent {"connection_id":160796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:10:01] local.INFO: TCP Data received {"connection_id":162218,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:10:01] local.INFO: Processing buffer {"connection_id":162218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:10:01] local.INFO: IMEI packet received {"connection_id":162218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":162218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:10:06] local.INFO: TCP Data received {"connection_id":162218,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:10:06] local.INFO: Processing buffer {"connection_id":162218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:10:06] local.INFO: IMEI packet received {"connection_id":162218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":162218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:10:07] local.INFO: TCP Data received {"connection_id":162218,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:10:07] local.INFO: Processing buffer {"connection_id":162218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:10:07] local.INFO: Packet analysis {"connection_id":162218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:10:07] local.INFO: Extracted packet for processing {"connection_id":162218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566650112001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:07] 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-22 09:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787369896000,"timestamp_ms":1787369896000,"timestamp_seconds":1787369896,"priority":1,"record_length":96,"hex_timestamp":"000001a0278c3840"} 
[2026-08-22 09: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-22 09:10:07] 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-22 09: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 09:10:07] 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-22 09: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-22 09: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-22 09:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09: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-22 09:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566650112001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566650112001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:10:07] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:10:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566650112001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":162218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:10:07] local.INFO: GPS data processed {"connection_id":162218,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:10:07] local.INFO: Acknowledgment sent {"connection_id":162218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:10:12] local.INFO: TCP Data received {"connection_id":162218,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:10:12] local.INFO: Processing buffer {"connection_id":162218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:10:12] local.INFO: Packet analysis {"connection_id":162218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:10:12] local.INFO: Extracted packet for processing {"connection_id":162218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566650112001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:12] 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-22 09:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787369896000,"timestamp_ms":1787369896000,"timestamp_seconds":1787369896,"priority":1,"record_length":96,"hex_timestamp":"000001a0278c3840"} 
[2026-08-22 09:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:10:12] 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-22 09:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 09:10:12] 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-22 09:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:10: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-22 09:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566650112001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566650112001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:10:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566650112001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":162218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:10:12] local.INFO: GPS data processed {"connection_id":162218,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:10:12] local.INFO: Acknowledgment sent {"connection_id":162218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:10:27] local.INFO: TCP Data received {"connection_id":160795,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:10:27] local.INFO: Processing buffer {"connection_id":160795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:10:27] local.INFO: Packet analysis {"connection_id":160795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:10:27] local.INFO: Extracted packet for processing {"connection_id":160795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:10:27] local.INFO: GPS Element Parsed {"raw_longitude":763332672,"raw_latitude":95411784,"longitude_deg":76.3332672,"latitude_deg":9.5411784,"altitude":0,"angle":251,"satellites":35,"speed":0,"hex_longitude":"2d7f8840","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-08-22 09:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566652160001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432819091456,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10: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-22 09:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787369742000,"timestamp_ms":1787369742000,"timestamp_seconds":1787369742,"priority":1,"record_length":96,"hex_timestamp":"000001a02789deb0"} 
[2026-08-22 09:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:10: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-22 09:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 09:10: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-22 09:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566652160001,"66":27876,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189665432819091456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566652160001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:10:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:10:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432819091456,"description":"Unknown IO ID 45"} 
[2026-08-22 09:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566652160001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432819091456}} 
[2026-08-22 09:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":160795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:10:27] local.INFO: GPS data processed {"connection_id":160795,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:10:27] local.INFO: Acknowledgment sent {"connection_id":160795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:10:30] local.INFO: TCP Data received {"connection_id":160796,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278bd698012d196940071fedd8003e011c24..."} 
[2026-08-22 09:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278bd698012d196940071fedd8003e011c24..."} 
[2026-08-22 09:10:30] local.INFO: Processing buffer {"connection_id":160796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278bd698012d196940071fedd8003e011c24..."} 
[2026-08-22 09:10:30] local.INFO: Packet analysis {"connection_id":160796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278b"} 
[2026-08-22 09:10:30] local.INFO: Extracted packet for processing {"connection_id":160796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278b"} 
[2026-08-22 09:10:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566681600001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10: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-22 09:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787369871000,"timestamp_ms":1787369871000,"timestamp_seconds":1787369871,"priority":1,"record_length":96,"hex_timestamp":"000001a0278bd698"} 
[2026-08-22 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-22 09:10: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-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2848885583079348585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79979575316054016,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:30] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2319216641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:10:30] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,50,45,64,237,62,36,10,66,224,142,1,240,53,227,39,31,4,113,205,234,105,216,37,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:10:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883250567610368,"timestamp_seconds":4467883250567610.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 09:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:10:30] 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-22 09:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566681600001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566681600001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:10:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566681600001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":160796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:10:31] local.INFO: GPS data processed {"connection_id":160796,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:10:31] local.INFO: Acknowledgment sent {"connection_id":160796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:10:37] local.INFO: TCP Data received {"connection_id":159912,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159912,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:10:37] local.INFO: Processing buffer {"connection_id":159912,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:10:37] local.INFO: IMEI packet received {"connection_id":159912,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":159912,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:10:37] local.INFO: TCP Data received {"connection_id":159912,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159912,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:10:37] local.INFO: Processing buffer {"connection_id":159912,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:10:37] local.INFO: IMEI packet received {"connection_id":159912,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":159912,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:10:41] local.INFO: TCP Data received {"connection_id":159912,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159912,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:10:41] local.INFO: Processing buffer {"connection_id":159912,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:10:41] local.INFO: IMEI packet received {"connection_id":159912,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":159912,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:10:42] local.INFO: TCP Data received {"connection_id":159912,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0278d8448012d0a51c007057b280013010321..."} 
[2026-08-22 09:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278d8448012d0a51c007057b280013010321..."} 
[2026-08-22 09:10:42] local.INFO: Processing buffer {"connection_id":159912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278d8448012d0a51c007057b280013010321..."} 
[2026-08-22 09:10:42] local.INFO: Packet analysis {"connection_id":159912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278d"} 
[2026-08-22 09:10:42] local.INFO: Extracted packet for processing {"connection_id":159912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278d"} 
[2026-08-22 09:10:42] local.INFO: GPS Element Parsed {"raw_longitude":755651008,"raw_latitude":117799720,"longitude_deg":75.5651008,"latitude_deg":11.779972,"altitude":19,"angle":259,"satellites":33,"speed":13,"hex_longitude":"2d0a51c0","hex_latitude":"07057b28","is_valid_coordinates":true} 
[2026-08-22 09:10: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-22 09:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566712320001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29374518287925248,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":749708630626396160,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:42] 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-22 09:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787369981000,"timestamp_ms":1787369981000,"timestamp_seconds":1787369981,"priority":1,"record_length":96,"hex_timestamp":"000001a0278d8448"} 
[2026-08-22 09:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09:10: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-22 09:10: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-22 09:10: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-22 09:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566712320001,"66":14396,"153":206,"94":10240,"24":13,"16":29374518287925248,"45":749708630626396160},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 09:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566712320001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:10:42] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 09:10:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29374518287925248,"km_value":29374518287925.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":749708630626396160,"description":"Unknown IO ID 45"} 
[2026-08-22 09:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566712320001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":749708630626396160}} 
[2026-08-22 09:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":159912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680193,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:10:42] local.INFO: GPS data processed {"connection_id":159912,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:10:42] local.INFO: Acknowledgment sent {"connection_id":159912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:10:49] local.INFO: TCP Data received {"connection_id":159645,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:10:49] local.INFO: Processing buffer {"connection_id":159645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:10:49] local.INFO: IMEI packet received {"connection_id":159645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":159645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:10:53] local.INFO: TCP Data received {"connection_id":162219,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:10:53] local.INFO: Processing buffer {"connection_id":162219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:10:53] local.INFO: IMEI packet received {"connection_id":162219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":162219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:10:55] local.INFO: TCP Data received {"connection_id":159645,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:10:55] local.INFO: Processing buffer {"connection_id":159645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:10:55] local.INFO: IMEI packet received {"connection_id":159645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":159645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:10:55] local.INFO: TCP Data received {"connection_id":159645,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:10:55] local.INFO: Processing buffer {"connection_id":159645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02789deb0012d7f884005afde48000000fb23..."} 
[2026-08-22 09:10:55] local.INFO: Packet analysis {"connection_id":159645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:10:55] local.INFO: Extracted packet for processing {"connection_id":159645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02789"} 
[2026-08-22 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":763332672,"raw_latitude":95411784,"longitude_deg":76.3332672,"latitude_deg":9.5411784,"altitude":0,"angle":251,"satellites":35,"speed":0,"hex_longitude":"2d7f8840","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-08-22 09:10: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-22 09:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566652160001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432819091456,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10: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-22 09:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787369742000,"timestamp_ms":1787369742000,"timestamp_seconds":1787369742,"priority":1,"record_length":96,"hex_timestamp":"000001a02789deb0"} 
[2026-08-22 09: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-22 09:10: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-22 09: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 09:10: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-22 09: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-22 09: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-22 09:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566652160001,"66":27876,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189665432819091456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566652160001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:10:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:10:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432819091456,"description":"Unknown IO ID 45"} 
[2026-08-22 09:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566652160001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432819091456}} 
[2026-08-22 09:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":159645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:10:56] local.INFO: GPS data processed {"connection_id":159645,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:10:56] local.INFO: Acknowledgment sent {"connection_id":159645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:10:56] local.INFO: TCP Data received {"connection_id":159646,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:10:56] local.INFO: Processing buffer {"connection_id":159646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:10:56] local.INFO: IMEI packet received {"connection_id":159646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":159646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:10:56] local.INFO: TCP Data received {"connection_id":162219,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:10:56] local.INFO: Processing buffer {"connection_id":162219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:10:56] local.INFO: IMEI packet received {"connection_id":162219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":162219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:10:58] local.INFO: TCP Data received {"connection_id":162219,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:10:58] local.INFO: Processing buffer {"connection_id":162219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:10:58] local.INFO: IMEI packet received {"connection_id":162219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":162219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:10:59] local.INFO: TCP Data received {"connection_id":162219,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278c28a0012d196940071fedd8003e011c23..."} 
[2026-08-22 09:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278c28a0012d196940071fedd8003e011c23..."} 
[2026-08-22 09:10:59] local.INFO: Processing buffer {"connection_id":162219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278c28a0012d196940071fedd8003e011c23..."} 
[2026-08-22 09:10:59] local.INFO: Packet analysis {"connection_id":162219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:10:59] local.INFO: Extracted packet for processing {"connection_id":162219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566686976001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:10: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-22 09:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787369892000,"timestamp_ms":1787369892000,"timestamp_seconds":1787369892,"priority":1,"record_length":96,"hex_timestamp":"000001a0278c28a0"} 
[2026-08-22 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-22 09:10: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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 09:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:10:59] 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-22 09:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566686976001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566686976001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:10:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:10:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566686976001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":162219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:10:59] local.INFO: GPS data processed {"connection_id":162219,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:10:59] local.INFO: Acknowledgment sent {"connection_id":162219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:11:01] local.INFO: TCP Data received {"connection_id":159646,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:11:01] local.INFO: Processing buffer {"connection_id":159646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:11:01] local.INFO: IMEI packet received {"connection_id":159646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":159646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:11:02] local.INFO: TCP Data received {"connection_id":159646,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:11:02] local.INFO: Processing buffer {"connection_id":159646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:11:02] local.INFO: Packet analysis {"connection_id":159646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:11:02] local.INFO: Extracted packet for processing {"connection_id":159646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566650112001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:02] 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-22 09:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787369896000,"timestamp_ms":1787369896000,"timestamp_seconds":1787369896,"priority":1,"record_length":96,"hex_timestamp":"000001a0278c3840"} 
[2026-08-22 09:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:11:02] 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-22 09:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 09:11:02] 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-22 09:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:11:02] 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-22 09:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566650112001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566650112001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:11:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566650112001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":159646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:11:02] local.INFO: GPS data processed {"connection_id":159646,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:11:02] local.INFO: Acknowledgment sent {"connection_id":159646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:11:13] local.INFO: TCP Data received {"connection_id":159912,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0278d8830012d0a508007057b200013011e21..."} 
[2026-08-22 09:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278d8830012d0a508007057b200013011e21..."} 
[2026-08-22 09:11:13] local.INFO: Processing buffer {"connection_id":159912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278d8830012d0a508007057b200013011e21..."} 
[2026-08-22 09:11:13] local.INFO: Packet analysis {"connection_id":159912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278d"} 
[2026-08-22 09:11:13] local.INFO: Extracted packet for processing {"connection_id":159912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278d"} 
[2026-08-22 09:11:13] local.INFO: GPS Element Parsed {"raw_longitude":755650688,"raw_latitude":117799712,"longitude_deg":75.5650688,"latitude_deg":11.7799712,"altitude":19,"angle":286,"satellites":33,"speed":10,"hex_longitude":"2d0a5080","hex_latitude":"07057b20","is_valid_coordinates":true} 
[2026-08-22 09:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566715136001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29374531172827136,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743586549882103808,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:13] 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-22 09:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787369982000,"timestamp_ms":1787369982000,"timestamp_seconds":1787369982,"priority":1,"record_length":96,"hex_timestamp":"000001a0278d8830"} 
[2026-08-22 09:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:11: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-22 09:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 09:11: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-22 09:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566715136001,"66":14396,"153":206,"94":10240,"24":10,"16":29374531172827136,"45":743586549882103808},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 09:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566715136001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:11:13] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 09:11:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29374531172827136,"km_value":29374531172827.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":743586549882103808,"description":"Unknown IO ID 45"} 
[2026-08-22 09:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566715136001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":743586549882103808}} 
[2026-08-22 09:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":159912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680197,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:11:13] local.INFO: GPS data processed {"connection_id":159912,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:11:13] local.INFO: Acknowledgment sent {"connection_id":159912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:11:27] local.INFO: TCP Data received {"connection_id":159645,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:11:27] local.INFO: Processing buffer {"connection_id":159645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:11:27] local.INFO: Packet analysis {"connection_id":159645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:11:27] local.INFO: Extracted packet for processing {"connection_id":159645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411776,"longitude_deg":76.33328,"latitude_deg":9.5411776,"altitude":0,"angle":251,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde40","is_valid_coordinates":true} 
[2026-08-22 09:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566653952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432819091456,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11: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-22 09:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787370043000,"timestamp_ms":1787370043000,"timestamp_seconds":1787370043,"priority":1,"record_length":96,"hex_timestamp":"000001a0278e7678"} 
[2026-08-22 09:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 09:11:27] 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-22 09:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566653952001,"66":25875,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189665432819091456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566653952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:11:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432819091456,"description":"Unknown IO ID 45"} 
[2026-08-22 09:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566653952001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432819091456}} 
[2026-08-22 09:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":159645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:11:27] local.INFO: GPS data processed {"connection_id":159645,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:11:27] local.INFO: Acknowledgment sent {"connection_id":159645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:11:30] local.INFO: TCP Data received {"connection_id":162219,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278c7aa8012d196940071fedd8003e011c24..."} 
[2026-08-22 09:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278c7aa8012d196940071fedd8003e011c24..."} 
[2026-08-22 09:11:30] local.INFO: Processing buffer {"connection_id":162219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278c7aa8012d196940071fedd8003e011c24..."} 
[2026-08-22 09:11:30] local.INFO: Packet analysis {"connection_id":162219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:11:30] local.INFO: Extracted packet for processing {"connection_id":162219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:11:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566692352001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09: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-22 09:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787369913000,"timestamp_ms":1787369913000,"timestamp_seconds":1787369913,"priority":1,"record_length":96,"hex_timestamp":"000001a0278c7aa8"} 
[2026-08-22 09: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-22 09:11: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-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:11:30] 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-22 09: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-22 09: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-22 09:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:11:30] 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-22 09:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566692352001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566692352001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:11:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:11:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566692352001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":162219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:11:30] local.INFO: GPS data processed {"connection_id":162219,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:11:30] local.INFO: Acknowledgment sent {"connection_id":162219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:11:34] local.INFO: TCP Data received {"connection_id":159646,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:11:34] local.INFO: Processing buffer {"connection_id":159646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:11:34] local.INFO: Packet analysis {"connection_id":159646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:11:34] local.INFO: Extracted packet for processing {"connection_id":159646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:11:34] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566650112001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:34] 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-22 09:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787369896000,"timestamp_ms":1787369896000,"timestamp_seconds":1787369896,"priority":1,"record_length":96,"hex_timestamp":"000001a0278c3840"} 
[2026-08-22 09: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-22 09:11:34] 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-22 09: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 09:11:34] 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-22 09: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-22 09: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-22 09:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:11: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-22 09:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566650112001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566650112001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:11:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:11:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566650112001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":159646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:11:34] local.INFO: GPS data processed {"connection_id":159646,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:11:34] local.INFO: Acknowledgment sent {"connection_id":159646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:11:36] local.INFO: TCP Data received {"connection_id":159647,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:11:36] local.INFO: Processing buffer {"connection_id":159647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:11:36] local.INFO: IMEI packet received {"connection_id":159647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":159647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:11:42] local.INFO: TCP Data received {"connection_id":159647,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:11:42] local.INFO: Processing buffer {"connection_id":159647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:11:42] local.INFO: IMEI packet received {"connection_id":159647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":159647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:11:42] local.INFO: TCP Data received {"connection_id":159647,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0278f2a28012d0a488007058828000e013c23..."} 
[2026-08-22 09:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278f2a28012d0a488007058828000e013c23..."} 
[2026-08-22 09:11:42] local.INFO: Processing buffer {"connection_id":159647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278f2a28012d0a488007058828000e013c23..."} 
[2026-08-22 09:11:42] local.INFO: Packet analysis {"connection_id":159647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278f"} 
[2026-08-22 09:11:42] local.INFO: Extracted packet for processing {"connection_id":159647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278f"} 
[2026-08-22 09:11:42] local.INFO: GPS Element Parsed {"raw_longitude":755648640,"raw_latitude":117803048,"longitude_deg":75.564864,"latitude_deg":11.7803048,"altitude":14,"angle":316,"satellites":35,"speed":9,"hex_longitude":"2d0a4880","hex_latitude":"07058828","is_valid_coordinates":true} 
[2026-08-22 09:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566741760001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29374784575897600,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741334750069133312,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:42] 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-22 09:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787370089000,"timestamp_ms":1787370089000,"timestamp_seconds":1787370089,"priority":1,"record_length":96,"hex_timestamp":"000001a0278f2a28"} 
[2026-08-22 09:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:11:42] 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-22 09:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 09:11: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-22 09:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566741760001,"66":14352,"177":206,"94":10240,"24":9,"16":29374784575897600,"45":741334750069133312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-22 09:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566741760001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:11:42] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-22 09:11:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29374784575897600,"km_value":29374784575897.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":741334750069133312,"description":"Unknown IO ID 45"} 
[2026-08-22 09:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566741760001,"power":14352,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":741334750069133312}} 
[2026-08-22 09:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":159647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680201,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:11:42] local.INFO: GPS data processed {"connection_id":159647,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:11:42] local.INFO: Acknowledgment sent {"connection_id":159647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:11:50] local.INFO: TCP Data received {"connection_id":160797,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:11:50] local.INFO: Processing buffer {"connection_id":160797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:11:50] local.INFO: IMEI packet received {"connection_id":160797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":160797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:11:53] local.INFO: TCP Data received {"connection_id":160798,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:11:53] local.INFO: Processing buffer {"connection_id":160798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:11:53] local.INFO: IMEI packet received {"connection_id":160798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":160798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:11:55] local.INFO: TCP Data received {"connection_id":160797,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:11:55] local.INFO: Processing buffer {"connection_id":160797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:11:55] local.INFO: IMEI packet received {"connection_id":160797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":160797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:11:56] local.INFO: TCP Data received {"connection_id":160797,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:11:56] local.INFO: Processing buffer {"connection_id":160797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:11:56] local.INFO: Packet analysis {"connection_id":160797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:11:56] local.INFO: Extracted packet for processing {"connection_id":160797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411776,"longitude_deg":76.33328,"latitude_deg":9.5411776,"altitude":0,"angle":251,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde40","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566653952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432819091456,"note":"Value kept but may cause issues"} 
[2026-08-22 09: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-22 09:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787370043000,"timestamp_ms":1787370043000,"timestamp_seconds":1787370043,"priority":1,"record_length":96,"hex_timestamp":"000001a0278e7678"} 
[2026-08-22 09: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-22 09: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-22 09: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":228,"data_length":795,"current_offset":136} 
[2026-08-22 09:11: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-22 09: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-22 09: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-22 09:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566653952001,"66":25875,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189665432819091456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566653952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:11:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432819091456,"description":"Unknown IO ID 45"} 
[2026-08-22 09:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566653952001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432819091456}} 
[2026-08-22 09:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":160797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:11:56] local.INFO: GPS data processed {"connection_id":160797,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:11:56] local.INFO: Acknowledgment sent {"connection_id":160797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:11:56] local.INFO: TCP Data received {"connection_id":162220,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162220,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:11:56] local.INFO: Processing buffer {"connection_id":162220,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:11:56] local.INFO: IMEI packet received {"connection_id":162220,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":162220,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:11:58] local.INFO: TCP Data received {"connection_id":160798,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:11:58] local.INFO: Processing buffer {"connection_id":160798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:11:58] local.INFO: IMEI packet received {"connection_id":160798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":160798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:11:59] local.INFO: TCP Data received {"connection_id":160798,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278cccb0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278cccb0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:11:59] local.INFO: Processing buffer {"connection_id":160798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278cccb0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:11:59] local.INFO: Packet analysis {"connection_id":160798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:11:59] local.INFO: Extracted packet for processing {"connection_id":160798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566697728001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:11: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-22 09:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787369934000,"timestamp_ms":1787369934000,"timestamp_seconds":1787369934,"priority":1,"record_length":96,"hex_timestamp":"000001a0278cccb0"} 
[2026-08-22 09: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-22 09:11: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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:11:59] 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-22 09:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566697728001,"66":11993,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566697728001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:11:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:11:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566697728001,"power":11993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":160798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:11:59] local.INFO: GPS data processed {"connection_id":160798,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:11:59] local.INFO: Acknowledgment sent {"connection_id":160798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:12:01] local.INFO: TCP Data received {"connection_id":162220,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162220,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:12:01] local.INFO: Processing buffer {"connection_id":162220,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:12:01] local.INFO: IMEI packet received {"connection_id":162220,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":162220,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:12:02] local.INFO: TCP Data received {"connection_id":162220,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:12:02] local.INFO: Processing buffer {"connection_id":162220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:12:02] local.INFO: Packet analysis {"connection_id":162220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:12:02] local.INFO: Extracted packet for processing {"connection_id":162220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:12: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-22 09:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566650112001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:02] 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-22 09:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787369896000,"timestamp_ms":1787369896000,"timestamp_seconds":1787369896,"priority":1,"record_length":96,"hex_timestamp":"000001a0278c3840"} 
[2026-08-22 09:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:12:02] 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-22 09:12: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 09:12:02] 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-22 09:12: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-22 09:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:12:02] 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-22 09:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566650112001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566650112001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:12:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566650112001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":162220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:12:02] local.INFO: GPS data processed {"connection_id":162220,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:12:02] local.INFO: Acknowledgment sent {"connection_id":162220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:12:13] local.INFO: TCP Data received {"connection_id":159647,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0278f2e10012d0a47c0070588a8000e012723..."} 
[2026-08-22 09:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278f2e10012d0a47c0070588a8000e012723..."} 
[2026-08-22 09:12:13] local.INFO: Processing buffer {"connection_id":159647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278f2e10012d0a47c0070588a8000e012723..."} 
[2026-08-22 09:12:13] local.INFO: Packet analysis {"connection_id":159647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278f"} 
[2026-08-22 09:12:13] local.INFO: Extracted packet for processing {"connection_id":159647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278f"} 
[2026-08-22 09:12:13] local.INFO: GPS Element Parsed {"raw_longitude":755648448,"raw_latitude":117803176,"longitude_deg":75.5648448,"latitude_deg":11.7803176,"altitude":14,"angle":295,"satellites":35,"speed":9,"hex_longitude":"2d0a47c0","hex_latitude":"070588a8","is_valid_coordinates":true} 
[2026-08-22 09:12: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-22 09:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566742784001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29374797460799488,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740982906348382208,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12: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-22 09:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787370090000,"timestamp_ms":1787370090000,"timestamp_seconds":1787370090,"priority":1,"record_length":96,"hex_timestamp":"000001a0278f2e10"} 
[2026-08-22 09:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:12: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-22 09:12: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":16,"data_length":795,"current_offset":136} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733147392,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":10,"raw_value":5746600844647202831,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4405364890563248138,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504047849242624,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2394224641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2220883982,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639084336281521,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6917792914731237632,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2008088782,"corrected_to":0} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3623955722,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3221685635,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84735300261578108,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.WARNING: Large IO value detected {"io_id":184,"raw_value":4223542577072896,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:13] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,177,94,24,241,157,16,92,160,26,45,192,134,14,35,10,66,22,133,7,64,1,240,38,227,39,5,4,113,205,102,75,136,239,56,2,104,15,206,184],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2008088782,"validated":0}]} 
[2026-08-22 09:12:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009153912529813504,"timestamp_seconds":1009153912529813.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566742784001,"66":14352,"177":206,"94":10240,"24":9,"16":29374797460799488,"45":740982906348382208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-22 09:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566742784001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:12:13] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-22 09:12:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29374797460799488,"km_value":29374797460799.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":740982906348382208,"description":"Unknown IO ID 45"} 
[2026-08-22 09:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566742784001,"power":14352,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":740982906348382208}} 
[2026-08-22 09:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":159647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680205,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:12:13] local.INFO: GPS data processed {"connection_id":159647,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:12:13] local.INFO: Acknowledgment sent {"connection_id":159647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:12:27] local.INFO: TCP Data received {"connection_id":160797,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:12:27] local.INFO: Processing buffer {"connection_id":160797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:12:27] local.INFO: Packet analysis {"connection_id":160797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:12:27] local.INFO: Extracted packet for processing {"connection_id":160797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411776,"longitude_deg":76.33328,"latitude_deg":9.5411776,"altitude":0,"angle":251,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde40","is_valid_coordinates":true} 
[2026-08-22 09:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566653952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432819091456,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12: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-22 09:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787370043000,"timestamp_ms":1787370043000,"timestamp_seconds":1787370043,"priority":1,"record_length":96,"hex_timestamp":"000001a0278e7678"} 
[2026-08-22 09:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 09:12:27] 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-22 09:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566653952001,"66":25875,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189665432819091456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566653952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:12:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432819091456,"description":"Unknown IO ID 45"} 
[2026-08-22 09:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566653952001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432819091456}} 
[2026-08-22 09:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":160797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:12:27] local.INFO: GPS data processed {"connection_id":160797,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:12:27] local.INFO: Acknowledgment sent {"connection_id":160797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:12:30] local.INFO: TCP Data received {"connection_id":160798,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278d1eb8012d196940071fedd8003e011c25..."} 
[2026-08-22 09:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278d1eb8012d196940071fedd8003e011c25..."} 
[2026-08-22 09:12:30] local.INFO: Processing buffer {"connection_id":160798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278d1eb8012d196940071fedd8003e011c25..."} 
[2026-08-22 09:12:30] local.INFO: Packet analysis {"connection_id":160798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278d"} 
[2026-08-22 09:12:30] local.INFO: Extracted packet for processing {"connection_id":160798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278d"} 
[2026-08-22 09:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566703104001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12: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-22 09:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787369955000,"timestamp_ms":1787369955000,"timestamp_seconds":1787369955,"priority":1,"record_length":96,"hex_timestamp":"000001a0278d1eb8"} 
[2026-08-22 09: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-22 09:12:30] 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-22 09: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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 09:12:30] 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-22 09: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-22 09: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-22 09:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:12:30] 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-22 09:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566703104001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566703104001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:12:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566703104001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":160798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:12:30] local.INFO: GPS data processed {"connection_id":160798,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:12:30] local.INFO: Acknowledgment sent {"connection_id":160798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:12:33] local.INFO: TCP Data received {"connection_id":162220,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:12:33] local.INFO: Processing buffer {"connection_id":162220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:12:33] local.INFO: Packet analysis {"connection_id":162220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:12:33] local.INFO: Extracted packet for processing {"connection_id":162220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566650112001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:33] 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-22 09:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787369896000,"timestamp_ms":1787369896000,"timestamp_seconds":1787369896,"priority":1,"record_length":96,"hex_timestamp":"000001a0278c3840"} 
[2026-08-22 09: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-22 09:12:33] 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-22 09: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 09:12:33] 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-22 09: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-22 09: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-22 09:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:12:33] 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-22 09:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566650112001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566650112001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:12:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566650112001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":162220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:12:33] local.INFO: GPS data processed {"connection_id":162220,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:12:33] local.INFO: Acknowledgment sent {"connection_id":162220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:12:36] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:12:36] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:12:36] local.INFO: IMEI packet received {"connection_id":159913,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":159913,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:12:41] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:12:41] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:12:41] local.INFO: IMEI packet received {"connection_id":159913,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":159913,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:12:43] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0278f31f8012d0a46c0070588d8000e011023..."} 
[2026-08-22 09:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278f31f8012d0a46c0070588d8000e011023..."} 
[2026-08-22 09:12:43] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278f31f8012d0a46c0070588d8000e011023..."} 
[2026-08-22 09:12:43] local.INFO: Packet analysis {"connection_id":159913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278f"} 
[2026-08-22 09:12:43] local.INFO: Extracted packet for processing {"connection_id":159913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278f"} 
[2026-08-22 09:12:43] local.INFO: GPS Element Parsed {"raw_longitude":755648192,"raw_latitude":117803224,"longitude_deg":75.5648192,"latitude_deg":11.7803224,"altitude":14,"angle":272,"satellites":35,"speed":9,"hex_longitude":"2d0a46c0","hex_latitude":"070588d8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566743040001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29374810345701376,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740771800115881984,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] 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-22 09:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787370091000,"timestamp_ms":1787370091000,"timestamp_seconds":1787370091,"priority":1,"record_length":96,"hex_timestamp":"000001a0278f31f8"} 
[2026-08-22 09: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-22 09:12:43] 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-22 09: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-22 09:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733147648,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] local.WARNING: Large IO value detected {"io_id":10,"raw_value":5656528852126007311,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5342113630236180490,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504047849963520,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2399600641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2220883982,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825562033,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6845735320693309696,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2008088782,"corrected_to":0} 
[2026-08-22 09:12:43] local.WARNING: Large IO value detected {"io_id":180,"raw_value":4160826634,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] local.WARNING: Large IO value detected {"io_id":56,"raw_value":4223611279773184,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84735293819127168,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:43] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,177,94,24,241,157,16,92,160,42,45,128,136,14,35,10,66,26,192,134,22,1,240,60,227,39,5,4,113,205,180,75,96,239,56,2,104,7,8,206,32],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2008088782,"validated":0}]} 
[2026-08-22 09:12:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009130822785630208,"timestamp_seconds":1009130822785630.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566743040001,"66":14407,"177":206,"94":10240,"24":9,"16":29374810345701376,"45":740771800115881984},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-22 09:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566743040001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:12:43] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-22 09:12:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29374810345701376,"km_value":29374810345701.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":740771800115881984,"description":"Unknown IO ID 45"} 
[2026-08-22 09:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566743040001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":740771800115881984}} 
[2026-08-22 09:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":159913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680209,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:12:43] local.INFO: GPS data processed {"connection_id":159913,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:12:43] local.INFO: Acknowledgment sent {"connection_id":159913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:12:50] local.INFO: TCP Data received {"connection_id":160799,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:12:50] local.INFO: Processing buffer {"connection_id":160799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:12:50] local.INFO: IMEI packet received {"connection_id":160799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":160799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:12:53] local.INFO: TCP Data received {"connection_id":160800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:12:53] local.INFO: Processing buffer {"connection_id":160800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:12:53] local.INFO: IMEI packet received {"connection_id":160800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":160800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:12:55] local.INFO: TCP Data received {"connection_id":160799,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:12:55] local.INFO: Processing buffer {"connection_id":160799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:12:55] local.INFO: IMEI packet received {"connection_id":160799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":160799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:12:55] local.INFO: TCP Data received {"connection_id":160799,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:12:55] local.INFO: Processing buffer {"connection_id":160799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:12:55] local.INFO: Packet analysis {"connection_id":160799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:12:55] local.INFO: Extracted packet for processing {"connection_id":160799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411776,"longitude_deg":76.33328,"latitude_deg":9.5411776,"altitude":0,"angle":251,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde40","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566653952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432819091456,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12: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-22 09:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787370043000,"timestamp_ms":1787370043000,"timestamp_seconds":1787370043,"priority":1,"record_length":96,"hex_timestamp":"000001a0278e7678"} 
[2026-08-22 09: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-22 09:12: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-22 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 09:12: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-22 09: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-22 09: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-22 09:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566653952001,"66":25875,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189665432819091456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566653952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:12:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:12:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432819091456,"description":"Unknown IO ID 45"} 
[2026-08-22 09:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566653952001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432819091456}} 
[2026-08-22 09:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":160799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:12:55] local.INFO: GPS data processed {"connection_id":160799,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:12:55] local.INFO: Acknowledgment sent {"connection_id":160799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:12:57] local.INFO: TCP Data received {"connection_id":159648,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:12:57] local.INFO: Processing buffer {"connection_id":159648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:12:57] local.INFO: IMEI packet received {"connection_id":159648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":159648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:12:58] local.INFO: TCP Data received {"connection_id":160800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:12:58] local.INFO: Processing buffer {"connection_id":160800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:12:58] local.INFO: IMEI packet received {"connection_id":160800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":160800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:12:59] local.INFO: TCP Data received {"connection_id":160800,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278d70c0012d196940071fedd8003e011c23..."} 
[2026-08-22 09:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278d70c0012d196940071fedd8003e011c23..."} 
[2026-08-22 09:12:59] local.INFO: Processing buffer {"connection_id":160800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278d70c0012d196940071fedd8003e011c23..."} 
[2026-08-22 09:12:59] local.INFO: Packet analysis {"connection_id":160800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278d"} 
[2026-08-22 09:12:59] local.INFO: Extracted packet for processing {"connection_id":160800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278d"} 
[2026-08-22 09:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566708480001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:12: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-22 09:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787369976000,"timestamp_ms":1787369976000,"timestamp_seconds":1787369976,"priority":1,"record_length":96,"hex_timestamp":"000001a0278d70c0"} 
[2026-08-22 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-22 09:12: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-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 09:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:12:59] 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-22 09:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566708480001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566708480001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:12:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:12:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566708480001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":160800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:12:59] local.INFO: GPS data processed {"connection_id":160800,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:12:59] local.INFO: Acknowledgment sent {"connection_id":160800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:13:01] local.INFO: TCP Data received {"connection_id":159648,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:13:01] local.INFO: Processing buffer {"connection_id":159648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:13:01] local.INFO: IMEI packet received {"connection_id":159648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":159648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:13:02] local.INFO: TCP Data received {"connection_id":159648,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:13:02] local.INFO: Processing buffer {"connection_id":159648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278c3840012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:13:02] local.INFO: Packet analysis {"connection_id":159648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:13:02] local.INFO: Extracted packet for processing {"connection_id":159648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278c"} 
[2026-08-22 09:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566650112001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13:02] 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-22 09:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787369896000,"timestamp_ms":1787369896000,"timestamp_seconds":1787369896,"priority":1,"record_length":96,"hex_timestamp":"000001a0278c3840"} 
[2026-08-22 09: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-22 09:13:02] 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-22 09: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 09:13:02] 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-22 09: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-22 09: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-22 09:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:13:02] 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-22 09:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566650112001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566650112001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:13:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566650112001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":159648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:13:02] local.INFO: GPS data processed {"connection_id":159648,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:13:02] local.INFO: Acknowledgment sent {"connection_id":159648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:13:14] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02790a8f8012d09e0c007056f28000b012222..."} 
[2026-08-22 09:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02790a8f8012d09e0c007056f28000b012222..."} 
[2026-08-22 09:13:14] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02790a8f8012d09e0c007056f28000b012222..."} 
[2026-08-22 09:13:14] local.INFO: Packet analysis {"connection_id":159913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:13:14] local.INFO: Extracted packet for processing {"connection_id":159913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:13:14] local.INFO: GPS Element Parsed {"raw_longitude":755622080,"raw_latitude":117796648,"longitude_deg":75.562208,"latitude_deg":11.7796648,"altitude":11,"angle":290,"satellites":34,"speed":10,"hex_longitude":"2d09e0c0","hex_latitude":"07056f28","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566767360001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29376206210072576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":712483564954763264,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13:14] 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-22 09:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787370187000,"timestamp_ms":1787370187000,"timestamp_seconds":1787370187,"priority":1,"record_length":96,"hex_timestamp":"000001a02790a8f8"} 
[2026-08-22 09: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-22 09:13:14] 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-22 09: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 09:13:14] 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-22 09: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-22 09: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-22 09:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566767360001,"66":14439,"177":206,"94":10240,"24":10,"16":29376206210072576,"45":712483564954763264},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-22 09:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566767360001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:13:14] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-22 09:13:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29376206210072576,"km_value":29376206210072.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":712483564954763264,"description":"Unknown IO ID 45"} 
[2026-08-22 09:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566767360001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":712483564954763264}} 
[2026-08-22 09:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":159913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680213,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:13:15] local.INFO: GPS data processed {"connection_id":159913,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:13:15] local.INFO: Acknowledgment sent {"connection_id":159913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:13:27] local.INFO: TCP Data received {"connection_id":160799,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:13:27] local.INFO: Processing buffer {"connection_id":160799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:13:27] local.INFO: Packet analysis {"connection_id":160799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:13:27] local.INFO: Extracted packet for processing {"connection_id":160799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411776,"longitude_deg":76.33328,"latitude_deg":9.5411776,"altitude":0,"angle":251,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde40","is_valid_coordinates":true} 
[2026-08-22 09:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566653952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432819091456,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13: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-22 09:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787370043000,"timestamp_ms":1787370043000,"timestamp_seconds":1787370043,"priority":1,"record_length":96,"hex_timestamp":"000001a0278e7678"} 
[2026-08-22 09:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 09:13:27] 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-22 09:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566653952001,"66":25875,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189665432819091456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566653952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:13:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:13:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432819091456,"description":"Unknown IO ID 45"} 
[2026-08-22 09:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566653952001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432819091456}} 
[2026-08-22 09:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":160799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:13:27] local.INFO: GPS data processed {"connection_id":160799,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:13:27] local.INFO: Acknowledgment sent {"connection_id":160799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:13:30] local.INFO: TCP Data received {"connection_id":160800,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278dc2c8012d196940071fedd8003e011c25..."} 
[2026-08-22 09:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278dc2c8012d196940071fedd8003e011c25..."} 
[2026-08-22 09:13:30] local.INFO: Processing buffer {"connection_id":160800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278dc2c8012d196940071fedd8003e011c25..."} 
[2026-08-22 09:13:30] local.INFO: Packet analysis {"connection_id":160800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278d"} 
[2026-08-22 09:13:30] local.INFO: Extracted packet for processing {"connection_id":160800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278d"} 
[2026-08-22 09:13:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566713856001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13: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-22 09:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787369997000,"timestamp_ms":1787369997000,"timestamp_seconds":1787369997,"priority":1,"record_length":96,"hex_timestamp":"000001a0278dc2c8"} 
[2026-08-22 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-22 09:13: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-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:13:30] 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-22 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-22 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-22 09:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:13:30] 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-22 09:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566713856001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566713856001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:13:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:13:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566713856001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":160800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:13:30] local.INFO: GPS data processed {"connection_id":160800,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:13:30] local.INFO: Acknowledgment sent {"connection_id":160800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:13:34] local.INFO: TCP Data received {"connection_id":159648,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:13:34] local.INFO: Processing buffer {"connection_id":159648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:13:34] local.INFO: Packet analysis {"connection_id":159648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:13:34] local.INFO: Extracted packet for processing {"connection_id":159648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:13:34] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566693376001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13:34] 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-22 09:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787370197000,"timestamp_ms":1787370197000,"timestamp_seconds":1787370197,"priority":1,"record_length":96,"hex_timestamp":"000001a02790d008"} 
[2026-08-22 09:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:13:34] 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-22 09:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:13:34] 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-22 09:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:13: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-22 09:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566693376001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566693376001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:13:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:13:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566693376001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":159648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:13:34] local.INFO: GPS data processed {"connection_id":159648,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:13:34] local.INFO: Acknowledgment sent {"connection_id":159648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:13:36] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:13:36] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:13:36] local.INFO: IMEI packet received {"connection_id":159914,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":159914,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:13:37] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:13:37] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:13:37] local.INFO: IMEI packet received {"connection_id":159914,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":159914,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:13:37] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:13:37] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:13:37] local.INFO: IMEI packet received {"connection_id":159914,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":159914,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:13:38] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:13:39] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:13:39] local.INFO: IMEI packet received {"connection_id":159914,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":159914,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:13:49] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:13:49] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:13:49] local.INFO: IMEI packet received {"connection_id":159915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":159915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:13:55] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:13:55] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:13:55] local.INFO: IMEI packet received {"connection_id":159915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":159915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:13:55] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:13:55] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:13:55] local.INFO: Packet analysis {"connection_id":159915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:13:55] local.INFO: Extracted packet for processing {"connection_id":159915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:13:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411776,"longitude_deg":76.33328,"latitude_deg":9.5411776,"altitude":0,"angle":251,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde40","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566653952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432819091456,"note":"Value kept but may cause issues"} 
[2026-08-22 09:13: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-22 09:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787370043000,"timestamp_ms":1787370043000,"timestamp_seconds":1787370043,"priority":1,"record_length":96,"hex_timestamp":"000001a0278e7678"} 
[2026-08-22 09: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-22 09:13: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-22 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 09:13: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-22 09: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-22 09: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-22 09:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566653952001,"66":25875,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189665432819091456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566653952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:13:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:13:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432819091456,"description":"Unknown IO ID 45"} 
[2026-08-22 09:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566653952001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432819091456}} 
[2026-08-22 09:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":159915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:13:55] local.INFO: GPS data processed {"connection_id":159915,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:13:55] local.INFO: Acknowledgment sent {"connection_id":159915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:13:56] local.INFO: TCP Data received {"connection_id":162222,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:13:56] local.INFO: Processing buffer {"connection_id":162222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:13:56] local.INFO: IMEI packet received {"connection_id":162222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":162222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:13:58] local.INFO: TCP Data received {"connection_id":162221,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:13:58] local.INFO: Processing buffer {"connection_id":162221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:13:58] local.INFO: IMEI packet received {"connection_id":162221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":162221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:14:01] local.INFO: TCP Data received {"connection_id":162222,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:14:01] local.INFO: Processing buffer {"connection_id":162222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:14:01] local.INFO: IMEI packet received {"connection_id":162222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":162222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:14:02] local.INFO: TCP Data received {"connection_id":162222,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:14:02] local.INFO: Processing buffer {"connection_id":162222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:14:02] local.INFO: Packet analysis {"connection_id":162222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:14:02] local.INFO: Extracted packet for processing {"connection_id":162222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566693376001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:02] 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-22 09:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787370197000,"timestamp_ms":1787370197000,"timestamp_seconds":1787370197,"priority":1,"record_length":96,"hex_timestamp":"000001a02790d008"} 
[2026-08-22 09: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-22 09:14:02] 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-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:14:02] 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-22 09: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-22 09: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-22 09:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:14:02] 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-22 09:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566693376001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566693376001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:14:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566693376001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":162222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:14:02] local.INFO: GPS data processed {"connection_id":162222,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:14:02] local.INFO: Acknowledgment sent {"connection_id":162222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:14:03] local.INFO: TCP Data received {"connection_id":162221,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:14:03] local.INFO: Processing buffer {"connection_id":162221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:14:03] local.INFO: IMEI packet received {"connection_id":162221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":162221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:14:06] local.INFO: TCP Data received {"connection_id":162221,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278e14d0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278e14d0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:14:06] local.INFO: Processing buffer {"connection_id":162221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278e14d0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:14:06] local.INFO: Packet analysis {"connection_id":162221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:14:06] local.INFO: Extracted packet for processing {"connection_id":162221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566719232001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787370018000,"timestamp_ms":1787370018000,"timestamp_seconds":1787370018,"priority":1,"record_length":96,"hex_timestamp":"000001a0278e14d0"} 
[2026-08-22 09:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:14: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-22 09:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:14:06] 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-22 09:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:14:06] 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-22 09:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566719232001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566719232001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:14:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566719232001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":162221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:14:06] local.INFO: GPS data processed {"connection_id":162221,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:14:06] local.INFO: Acknowledgment sent {"connection_id":162221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:14:07] local.INFO: TCP Data received {"connection_id":162221,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278e66d8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278e66d8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:14:07] local.INFO: Processing buffer {"connection_id":162221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278e66d8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:14:07] local.INFO: Packet analysis {"connection_id":162221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:14:07] local.INFO: Extracted packet for processing {"connection_id":162221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566724608001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787370039000,"timestamp_ms":1787370039000,"timestamp_seconds":1787370039,"priority":1,"record_length":96,"hex_timestamp":"000001a0278e66d8"} 
[2026-08-22 09: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-22 09:14: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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:14:07] 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-22 09: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-22 09: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-22 09:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:14:07] 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-22 09:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566724608001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566724608001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:14:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566724608001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":162221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:14:07] local.INFO: GPS data processed {"connection_id":162221,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:14:07] local.INFO: Acknowledgment sent {"connection_id":162221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:14:26] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:14:26] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:14:26] local.INFO: Packet analysis {"connection_id":159915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:14:26] local.INFO: Extracted packet for processing {"connection_id":159915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:14:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411776,"longitude_deg":76.33328,"latitude_deg":9.5411776,"altitude":0,"angle":251,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde40","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566653952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432819091456,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14: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-22 09:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787370043000,"timestamp_ms":1787370043000,"timestamp_seconds":1787370043,"priority":1,"record_length":96,"hex_timestamp":"000001a0278e7678"} 
[2026-08-22 09: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-22 09:14: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-22 09: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":228,"data_length":795,"current_offset":136} 
[2026-08-22 09:14: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-22 09: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-22 09: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-22 09:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566653952001,"66":25875,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189665432819091456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566653952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:14:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432819091456,"description":"Unknown IO ID 45"} 
[2026-08-22 09:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566653952001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432819091456}} 
[2026-08-22 09:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":159915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:14:26] local.INFO: GPS data processed {"connection_id":159915,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:14:26] local.INFO: Acknowledgment sent {"connection_id":159915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:14:33] local.INFO: TCP Data received {"connection_id":162222,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:14:33] local.INFO: Processing buffer {"connection_id":162222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:14:33] local.INFO: Packet analysis {"connection_id":162222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:14:33] local.INFO: Extracted packet for processing {"connection_id":162222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566693376001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:33] 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-22 09:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787370197000,"timestamp_ms":1787370197000,"timestamp_seconds":1787370197,"priority":1,"record_length":96,"hex_timestamp":"000001a02790d008"} 
[2026-08-22 09: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-22 09:14:33] 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-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:14:33] 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-22 09: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-22 09: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-22 09:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:14:33] 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-22 09:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566693376001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566693376001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:14:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566693376001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":162222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:14:33] local.INFO: GPS data processed {"connection_id":162222,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:14:33] local.INFO: Acknowledgment sent {"connection_id":162222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:14:38] local.INFO: TCP Data received {"connection_id":162221,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278eb8e0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278eb8e0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:14:38] local.INFO: Processing buffer {"connection_id":162221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278eb8e0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:14:38] local.INFO: Packet analysis {"connection_id":162221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:14:38] local.INFO: Extracted packet for processing {"connection_id":162221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566729984001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787370060000,"timestamp_ms":1787370060000,"timestamp_seconds":1787370060,"priority":1,"record_length":96,"hex_timestamp":"000001a0278eb8e0"} 
[2026-08-22 09: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-22 09:14: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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:14:38] 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-22 09:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09: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-22 09:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":162221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":162221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":162221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:14:38] 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-22 09:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566729984001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566729984001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:14:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:14:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566729984001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":162221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:14:38] local.INFO: GPS data processed {"connection_id":162221,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:14:38] local.INFO: Acknowledgment sent {"connection_id":162221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:14:49] local.INFO: TCP Data received {"connection_id":162224,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:14:49] local.INFO: Processing buffer {"connection_id":162224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:14:49] local.INFO: IMEI packet received {"connection_id":162224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":162224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:14:53] local.INFO: TCP Data received {"connection_id":162223,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:14:53] local.INFO: Processing buffer {"connection_id":162223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:14:53] local.INFO: IMEI packet received {"connection_id":162223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":162223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:14:55] local.INFO: TCP Data received {"connection_id":162224,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:14:55] local.INFO: Processing buffer {"connection_id":162224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:14:55] local.INFO: IMEI packet received {"connection_id":162224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":162224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:14:55] local.INFO: TCP Data received {"connection_id":162224,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:14:55] local.INFO: Processing buffer {"connection_id":162224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278e7678012d7f88c005afde40000000fb20..."} 
[2026-08-22 09:14:55] local.INFO: Packet analysis {"connection_id":162224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:14:55] local.INFO: Extracted packet for processing {"connection_id":162224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278e"} 
[2026-08-22 09:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411776,"longitude_deg":76.33328,"latitude_deg":9.5411776,"altitude":0,"angle":251,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde40","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566653952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432819091456,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14: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-22 09:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787370043000,"timestamp_ms":1787370043000,"timestamp_seconds":1787370043,"priority":1,"record_length":96,"hex_timestamp":"000001a0278e7678"} 
[2026-08-22 09: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-22 09:14: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-22 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 09:14: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-22 09: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-22 09: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-22 09:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566653952001,"66":25875,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189665432819091456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566653952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:14:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:14:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432819091456,"description":"Unknown IO ID 45"} 
[2026-08-22 09:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566653952001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432819091456}} 
[2026-08-22 09:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":162224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:14:55] local.INFO: GPS data processed {"connection_id":162224,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:14:55] local.INFO: Acknowledgment sent {"connection_id":162224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:14:56] local.INFO: TCP Data received {"connection_id":159649,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:14:56] local.INFO: Processing buffer {"connection_id":159649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:14:56] local.INFO: IMEI packet received {"connection_id":159649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":159649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:14:58] local.INFO: TCP Data received {"connection_id":162223,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:14:58] local.INFO: Processing buffer {"connection_id":162223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:14:58] local.INFO: IMEI packet received {"connection_id":162223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":162223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:14:59] local.INFO: TCP Data received {"connection_id":162223,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278f0ae8012d196940071fedd8003e011c24..."} 
[2026-08-22 09:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278f0ae8012d196940071fedd8003e011c24..."} 
[2026-08-22 09:14:59] local.INFO: Processing buffer {"connection_id":162223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278f0ae8012d196940071fedd8003e011c24..."} 
[2026-08-22 09:14:59] local.INFO: Packet analysis {"connection_id":162223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278f"} 
[2026-08-22 09:14:59] local.INFO: Extracted packet for processing {"connection_id":162223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278f"} 
[2026-08-22 09:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566735360001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:14: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-22 09:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787370081000,"timestamp_ms":1787370081000,"timestamp_seconds":1787370081,"priority":1,"record_length":96,"hex_timestamp":"000001a0278f0ae8"} 
[2026-08-22 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-22 09:14: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-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 09:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:14:59] 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-22 09:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566735360001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566735360001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:14:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:14:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566735360001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":162223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:14:59] local.INFO: GPS data processed {"connection_id":162223,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:14:59] local.INFO: Acknowledgment sent {"connection_id":162223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:15:01] local.INFO: TCP Data received {"connection_id":159649,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:15:01] local.INFO: Processing buffer {"connection_id":159649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:15:01] local.INFO: IMEI packet received {"connection_id":159649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":159649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:15:02] local.INFO: TCP Data received {"connection_id":159649,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:15:02] local.INFO: Processing buffer {"connection_id":159649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:15:02] local.INFO: Packet analysis {"connection_id":159649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:15:02] local.INFO: Extracted packet for processing {"connection_id":159649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:15: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-22 09:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566693376001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:15:02] 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-22 09:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787370197000,"timestamp_ms":1787370197000,"timestamp_seconds":1787370197,"priority":1,"record_length":96,"hex_timestamp":"000001a02790d008"} 
[2026-08-22 09:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:15:02] 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-22 09:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:15:02] 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-22 09:15: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-22 09:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:15:02] 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-22 09:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566693376001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566693376001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:15:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566693376001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":159649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:15:02] local.INFO: GPS data processed {"connection_id":159649,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:15:02] local.INFO: Acknowledgment sent {"connection_id":159649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:15:27] local.INFO: TCP Data received {"connection_id":162224,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027920888012d7f88c005afde40000000fb22..."} 
[2026-08-22 09:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027920888012d7f88c005afde40000000fb22..."} 
[2026-08-22 09:15:27] local.INFO: Processing buffer {"connection_id":162224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027920888012d7f88c005afde40000000fb22..."} 
[2026-08-22 09:15:27] local.INFO: Packet analysis {"connection_id":162224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02792"} 
[2026-08-22 09:15:27] local.INFO: Extracted packet for processing {"connection_id":162224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02792"} 
[2026-08-22 09:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411776,"longitude_deg":76.33328,"latitude_deg":9.5411776,"altitude":0,"angle":251,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde40","is_valid_coordinates":true} 
[2026-08-22 09:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566731008001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307444736,"note":"Value kept but may cause issues"} 
[2026-08-22 09:15: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-22 09:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787370277000,"timestamp_ms":1787370277000,"timestamp_seconds":1787370277,"priority":1,"record_length":96,"hex_timestamp":"000001a027920888"} 
[2026-08-22 09:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 09:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 09:15:27] 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-22 09:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566731008001,"66":25604,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189806170307444736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566731008001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:15:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307444736,"description":"Unknown IO ID 45"} 
[2026-08-22 09:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566731008001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307444736}} 
[2026-08-22 09:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":162224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:15:27] local.INFO: GPS data processed {"connection_id":162224,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:15:27] local.INFO: Acknowledgment sent {"connection_id":162224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:15:30] local.INFO: TCP Data received {"connection_id":162223,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278f5cf0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278f5cf0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:15:30] local.INFO: Processing buffer {"connection_id":162223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278f5cf0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:15:30] local.INFO: Packet analysis {"connection_id":162223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278f"} 
[2026-08-22 09:15:30] local.INFO: Extracted packet for processing {"connection_id":162223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278f"} 
[2026-08-22 09:15:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566740736001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:15: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-22 09:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787370102000,"timestamp_ms":1787370102000,"timestamp_seconds":1787370102,"priority":1,"record_length":96,"hex_timestamp":"000001a0278f5cf0"} 
[2026-08-22 09: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-22 09:15:30] 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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:15:30] 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-22 09:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566740736001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566740736001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:15:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:15:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566740736001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":162223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:15:30] local.INFO: GPS data processed {"connection_id":162223,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:15:30] local.INFO: Acknowledgment sent {"connection_id":162223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:15:34] local.INFO: TCP Data received {"connection_id":159649,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:15:34] local.INFO: Processing buffer {"connection_id":159649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:15:34] local.INFO: Packet analysis {"connection_id":159649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:15:34] local.INFO: Extracted packet for processing {"connection_id":159649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566693376001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:15:34] 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-22 09:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787370197000,"timestamp_ms":1787370197000,"timestamp_seconds":1787370197,"priority":1,"record_length":96,"hex_timestamp":"000001a02790d008"} 
[2026-08-22 09: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-22 09:15:34] 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-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:15:34] 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-22 09: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-22 09: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-22 09:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:15: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-22 09:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566693376001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566693376001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:15:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:15:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566693376001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":159649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:15:34] local.INFO: GPS data processed {"connection_id":159649,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:15:34] local.INFO: Acknowledgment sent {"connection_id":159649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:15:50] local.INFO: TCP Data received {"connection_id":159650,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:15:50] local.INFO: Processing buffer {"connection_id":159650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:15:50] local.INFO: IMEI packet received {"connection_id":159650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":159650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:15:53] local.INFO: TCP Data received {"connection_id":159650,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:15:53] local.INFO: Processing buffer {"connection_id":159650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:15:53] local.INFO: IMEI packet received {"connection_id":159650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":159650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:15:54] local.INFO: TCP Data received {"connection_id":159651,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:15:54] local.INFO: Processing buffer {"connection_id":159651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:15:54] local.INFO: IMEI packet received {"connection_id":159651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":159651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:15:58] local.INFO: TCP Data received {"connection_id":159650,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:15:58] local.INFO: Processing buffer {"connection_id":159650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:15:58] local.INFO: IMEI packet received {"connection_id":159650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":159650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:15:59] local.INFO: TCP Data received {"connection_id":159650,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0278faef8012d196940071fedd8003e011c25..."} 
[2026-08-22 09:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0278faef8012d196940071fedd8003e011c25..."} 
[2026-08-22 09:15:59] local.INFO: Processing buffer {"connection_id":159650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0278faef8012d196940071fedd8003e011c25..."} 
[2026-08-22 09:15:59] local.INFO: Packet analysis {"connection_id":159650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0278f"} 
[2026-08-22 09:15:59] local.INFO: Extracted packet for processing {"connection_id":159650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0278f"} 
[2026-08-22 09:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566746112001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:15: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-22 09:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787370123000,"timestamp_ms":1787370123000,"timestamp_seconds":1787370123,"priority":1,"record_length":96,"hex_timestamp":"000001a0278faef8"} 
[2026-08-22 09: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-22 09:15: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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:15:59] 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-22 09:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566746112001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566746112001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:15:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:15:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566746112001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":159650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:15:59] local.INFO: GPS data processed {"connection_id":159650,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:15:59] local.INFO: Acknowledgment sent {"connection_id":159650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:16:00] local.INFO: TCP Data received {"connection_id":159651,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:16:00] local.INFO: Processing buffer {"connection_id":159651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:16:00] local.INFO: IMEI packet received {"connection_id":159651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":159651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:16:00] local.INFO: TCP Data received {"connection_id":159651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027921440012d7f8a4005afdf000000013e22..."} 
[2026-08-22 09:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027921440012d7f8a4005afdf000000013e22..."} 
[2026-08-22 09:16:00] local.INFO: Processing buffer {"connection_id":159651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027921440012d7f8a4005afdf000000013e22..."} 
[2026-08-22 09:16:00] local.INFO: Packet analysis {"connection_id":159651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02792"} 
[2026-08-22 09:16:00] local.INFO: Extracted packet for processing {"connection_id":159651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02792"} 
[2026-08-22 09:16:00] local.INFO: GPS Element Parsed {"raw_longitude":763333184,"raw_latitude":95411968,"longitude_deg":76.3333184,"latitude_deg":9.5411968,"altitude":0,"angle":318,"satellites":34,"speed":0,"hex_longitude":"2d7f8a40","hex_latitude":"05afdf00","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566790912001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307444736,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16: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-22 09:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787370280000,"timestamp_ms":1787370280000,"timestamp_seconds":1787370280,"priority":1,"record_length":96,"hex_timestamp":"000001a027921440"} 
[2026-08-22 09: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-22 09:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 09:16:00] 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-22 09: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-22 09: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-22 09:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566790912001,"66":25462,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9189806170307444736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566790912001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:16:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:16:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307444736,"description":"Unknown IO ID 45"} 
[2026-08-22 09:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566790912001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307444736}} 
[2026-08-22 09:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":159651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:16:00] local.INFO: GPS data processed {"connection_id":159651,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:16:00] local.INFO: Acknowledgment sent {"connection_id":159651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:16:01] local.INFO: TCP Data received {"connection_id":159652,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:16:01] local.INFO: Processing buffer {"connection_id":159652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:16:01] local.INFO: IMEI packet received {"connection_id":159652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":159652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:16:06] local.INFO: TCP Data received {"connection_id":159652,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:16:06] local.INFO: Processing buffer {"connection_id":159652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:16:06] local.INFO: IMEI packet received {"connection_id":159652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":159652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:16:07] local.INFO: TCP Data received {"connection_id":159652,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:16:07] local.INFO: Processing buffer {"connection_id":159652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:16:07] local.INFO: Packet analysis {"connection_id":159652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:16:07] local.INFO: Extracted packet for processing {"connection_id":159652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566693376001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:07] 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-22 09:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787370197000,"timestamp_ms":1787370197000,"timestamp_seconds":1787370197,"priority":1,"record_length":96,"hex_timestamp":"000001a02790d008"} 
[2026-08-22 09: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-22 09:16:07] 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-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:16:07] 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-22 09: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-22 09: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-22 09:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09: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-22 09:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566693376001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566693376001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:16:07] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566693376001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":159652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:16:07] local.INFO: GPS data processed {"connection_id":159652,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:16:07] local.INFO: Acknowledgment sent {"connection_id":159652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:16:12] local.INFO: TCP Data received {"connection_id":159652,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:16:12] local.INFO: Processing buffer {"connection_id":159652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:16:12] local.INFO: Packet analysis {"connection_id":159652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:16:12] local.INFO: Extracted packet for processing {"connection_id":159652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:16:12] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566693376001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:12] 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-22 09:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787370197000,"timestamp_ms":1787370197000,"timestamp_seconds":1787370197,"priority":1,"record_length":96,"hex_timestamp":"000001a02790d008"} 
[2026-08-22 09:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:16:12] 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-22 09:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:16: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-22 09:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:16: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-22 09:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566693376001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566693376001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:16:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566693376001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":159652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:16:12] local.INFO: GPS data processed {"connection_id":159652,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:16:12] local.INFO: Acknowledgment sent {"connection_id":159652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:16:30] local.INFO: TCP Data received {"connection_id":159650,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027900100012d196940071fedd8003e011c26..."} 
[2026-08-22 09:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027900100012d196940071fedd8003e011c26..."} 
[2026-08-22 09:16:30] local.INFO: Processing buffer {"connection_id":159650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027900100012d196940071fedd8003e011c26..."} 
[2026-08-22 09:16:30] local.INFO: Packet analysis {"connection_id":159650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:16:30] local.INFO: Extracted packet for processing {"connection_id":159650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:16:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566751488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16: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-22 09:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787370144000,"timestamp_ms":1787370144000,"timestamp_seconds":1787370144,"priority":1,"record_length":96,"hex_timestamp":"000001a027900100"} 
[2026-08-22 09: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-22 09:16:30] 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-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:16:30] 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-22 09: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-22 09: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-22 09:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:16:30] 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-22 09:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566751488001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566751488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:16:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:16:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566751488001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":159650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:16:30] local.INFO: GPS data processed {"connection_id":159650,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:16:30] local.INFO: Acknowledgment sent {"connection_id":159650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:16:31] local.INFO: TCP Data received {"connection_id":159651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027926648012d7f8a4005afdf000000013e24..."} 
[2026-08-22 09:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027926648012d7f8a4005afdf000000013e24..."} 
[2026-08-22 09:16:31] local.INFO: Processing buffer {"connection_id":159651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027926648012d7f8a4005afdf000000013e24..."} 
[2026-08-22 09:16:31] local.INFO: Packet analysis {"connection_id":159651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02792"} 
[2026-08-22 09:16:31] local.INFO: Extracted packet for processing {"connection_id":159651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02792"} 
[2026-08-22 09:16:31] local.INFO: GPS Element Parsed {"raw_longitude":763333184,"raw_latitude":95411968,"longitude_deg":76.3333184,"latitude_deg":9.5411968,"altitude":0,"angle":318,"satellites":36,"speed":0,"hex_longitude":"2d7f8a40","hex_latitude":"05afdf00","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566791680001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190228382772559872,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:31] 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-22 09:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787370301000,"timestamp_ms":1787370301000,"timestamp_seconds":1787370301,"priority":1,"record_length":96,"hex_timestamp":"000001a027926648"} 
[2026-08-22 09: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-22 09:16:31] 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-22 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 09:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566791680001,"66":27745,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9190228382772559872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566791680001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:16:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:16:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190228382772559872,"description":"Unknown IO ID 45"} 
[2026-08-22 09:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566791680001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190228382772559872}} 
[2026-08-22 09:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":159651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:16:31] local.INFO: GPS data processed {"connection_id":159651,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:16:31] local.INFO: Acknowledgment sent {"connection_id":159651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:16:49] local.INFO: TCP Data received {"connection_id":162225,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:16:49] local.INFO: Processing buffer {"connection_id":162225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:16:49] local.INFO: IMEI packet received {"connection_id":162225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":162225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:16:50] local.INFO: TCP Data received {"connection_id":162225,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:16:50] local.INFO: Processing buffer {"connection_id":162225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:16:50] local.INFO: IMEI packet received {"connection_id":162225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":162225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:16:54] local.INFO: TCP Data received {"connection_id":160802,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:16:54] local.INFO: Processing buffer {"connection_id":160802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:16:54] local.INFO: IMEI packet received {"connection_id":160802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":160802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:16:54] local.INFO: TCP Data received {"connection_id":160802,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:16:54] local.INFO: Processing buffer {"connection_id":160802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:16:54] local.INFO: IMEI packet received {"connection_id":160802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":160802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:16:55] local.INFO: TCP Data received {"connection_id":162225,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:16:55] local.INFO: Processing buffer {"connection_id":162225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:16:55] local.INFO: IMEI packet received {"connection_id":162225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":162225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:16:55] local.INFO: TCP Data received {"connection_id":162225,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02792b850012d7f8a4005afdf000000013e26..."} 
[2026-08-22 09:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02792b850012d7f8a4005afdf000000013e26..."} 
[2026-08-22 09:16:55] local.INFO: Processing buffer {"connection_id":162225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02792b850012d7f8a4005afdf000000013e26..."} 
[2026-08-22 09:16:55] local.INFO: Packet analysis {"connection_id":162225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02792"} 
[2026-08-22 09:16:55] local.INFO: Extracted packet for processing {"connection_id":162225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02792"} 
[2026-08-22 09:16:55] local.INFO: GPS Element Parsed {"raw_longitude":763333184,"raw_latitude":95411968,"longitude_deg":76.3333184,"latitude_deg":9.5411968,"altitude":0,"angle":318,"satellites":38,"speed":0,"hex_longitude":"2d7f8a40","hex_latitude":"05afdf00","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566797056001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925691132903424,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190228382772559872,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16: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-22 09:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787370322000,"timestamp_ms":1787370322000,"timestamp_seconds":1787370322,"priority":1,"record_length":96,"hex_timestamp":"000001a02792b850"} 
[2026-08-22 09: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-22 09:16: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-22 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 09:16: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-22 09: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-22 09: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-22 09:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566797056001,"66":27908,"250":206,"85":12544,"24":0,"16":388925691132903424,"45":9190228382772559872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566797056001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:16:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:16:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925691132903424,"km_value":388925691132903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190228382772559872,"description":"Unknown IO ID 45"} 
[2026-08-22 09:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566797056001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190228382772559872}} 
[2026-08-22 09:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":162225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:16:55] local.INFO: GPS data processed {"connection_id":162225,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:16:55] local.INFO: Acknowledgment sent {"connection_id":162225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:16:56] local.INFO: TCP Data received {"connection_id":159653,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:16:56] local.INFO: Processing buffer {"connection_id":159653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:16:56] local.INFO: IMEI packet received {"connection_id":159653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":159653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:16:58] local.INFO: TCP Data received {"connection_id":160802,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:16:58] local.INFO: Processing buffer {"connection_id":160802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:16:58] local.INFO: IMEI packet received {"connection_id":160802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":160802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:16:59] local.INFO: TCP Data received {"connection_id":160802,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027905308012d196940071fedd8003e011c26..."} 
[2026-08-22 09:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027905308012d196940071fedd8003e011c26..."} 
[2026-08-22 09:16:59] local.INFO: Processing buffer {"connection_id":160802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027905308012d196940071fedd8003e011c26..."} 
[2026-08-22 09:16:59] local.INFO: Packet analysis {"connection_id":160802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:16:59] local.INFO: Extracted packet for processing {"connection_id":160802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:16:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566756864001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16: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-22 09:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787370165000,"timestamp_ms":1787370165000,"timestamp_seconds":1787370165,"priority":1,"record_length":96,"hex_timestamp":"000001a027905308"} 
[2026-08-22 09: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-22 09:16: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-22 09:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2850148303464372585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79981774339309568,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2394480641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:16:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:16:59] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,160,174,45,64,237,62,37,10,66,92,1,240,53,227,39,31,4,113,205,105,216,38,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:16:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:16:59] 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-22 09:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566756864001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566756864001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:16:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:16:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566756864001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":160802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:16:59] local.INFO: GPS data processed {"connection_id":160802,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:16:59] local.INFO: Acknowledgment sent {"connection_id":160802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:17:01] local.INFO: TCP Data received {"connection_id":159653,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:17:01] local.INFO: Processing buffer {"connection_id":159653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:17:01] local.INFO: IMEI packet received {"connection_id":159653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":159653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:17:02] local.INFO: TCP Data received {"connection_id":159653,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:17:02] local.INFO: Processing buffer {"connection_id":159653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:17:02] local.INFO: Packet analysis {"connection_id":159653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:17:02] local.INFO: Extracted packet for processing {"connection_id":159653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566693376001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:17:02] 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-22 09:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787370197000,"timestamp_ms":1787370197000,"timestamp_seconds":1787370197,"priority":1,"record_length":96,"hex_timestamp":"000001a02790d008"} 
[2026-08-22 09: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-22 09:17:02] 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-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:17:02] 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-22 09: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-22 09: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-22 09:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:17:02] 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-22 09:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566693376001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566693376001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:17:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566693376001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":159653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:17:02] local.INFO: GPS data processed {"connection_id":159653,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:17:02] local.INFO: Acknowledgment sent {"connection_id":159653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:17:27] local.INFO: TCP Data received {"connection_id":162225,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027942b68012d7f8b0005afe2400000008c23..."} 
[2026-08-22 09:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027942b68012d7f8b0005afe2400000008c23..."} 
[2026-08-22 09:17:27] local.INFO: Processing buffer {"connection_id":162225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027942b68012d7f8b0005afe2400000008c23..."} 
[2026-08-22 09:17:27] local.INFO: Packet analysis {"connection_id":162225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02794"} 
[2026-08-22 09:17:27] local.INFO: Extracted packet for processing {"connection_id":162225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02794"} 
[2026-08-22 09:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763333376,"raw_latitude":95412800,"longitude_deg":76.3333376,"latitude_deg":9.54128,"altitude":0,"angle":140,"satellites":35,"speed":1,"hex_longitude":"2d7f8b00","hex_latitude":"05afe240","is_valid_coordinates":true} 
[2026-08-22 09:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566825472001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925789917151232,"note":"Value kept but may cause issues"} 
[2026-08-22 09:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261183488,"note":"Value kept but may cause issues"} 
[2026-08-22 09:17: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-22 09:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787370417000,"timestamp_ms":1787370417000,"timestamp_seconds":1787370417,"priority":1,"record_length":96,"hex_timestamp":"000001a027942b68"} 
[2026-08-22 09: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-22 09:17: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-22 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 09:17: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-22 09:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09: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-22 09:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566825472001,"66":27767,"250":206,"85":12544,"24":1,"16":388925789917151232,"45":9190369120261183488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566825472001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:17:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925789917151232,"km_value":388925789917151.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261183488,"description":"Unknown IO ID 45"} 
[2026-08-22 09:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566825472001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190369120261183488}} 
[2026-08-22 09:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":162225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:17:27] local.INFO: GPS data processed {"connection_id":162225,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:17:27] local.INFO: Acknowledgment sent {"connection_id":162225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:17:30] local.INFO: TCP Data received {"connection_id":160802,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02790a510012d196940071fedd8003e011c26..."} 
[2026-08-22 09:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02790a510012d196940071fedd8003e011c26..."} 
[2026-08-22 09:17:30] local.INFO: Processing buffer {"connection_id":160802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02790a510012d196940071fedd8003e011c26..."} 
[2026-08-22 09:17:30] local.INFO: Packet analysis {"connection_id":160802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:17:30] local.INFO: Extracted packet for processing {"connection_id":160802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:17:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566762240001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:17: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-22 09:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787370186000,"timestamp_ms":1787370186000,"timestamp_seconds":1787370186,"priority":1,"record_length":96,"hex_timestamp":"000001a02790a510"} 
[2026-08-22 09: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-22 09:17:30] 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-22 09:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:17:30] 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-22 09:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566762240001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566762240001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:17:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:17:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566762240001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":160802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:17:30] local.INFO: GPS data processed {"connection_id":160802,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:17:30] local.INFO: Acknowledgment sent {"connection_id":160802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:17:34] local.INFO: TCP Data received {"connection_id":159653,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:17:34] local.INFO: Processing buffer {"connection_id":159653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:17:34] local.INFO: Packet analysis {"connection_id":159653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:17:34] local.INFO: Extracted packet for processing {"connection_id":159653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:17:34] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 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-22 09:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566693376001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:17:34] 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-22 09:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787370197000,"timestamp_ms":1787370197000,"timestamp_seconds":1787370197,"priority":1,"record_length":96,"hex_timestamp":"000001a02790d008"} 
[2026-08-22 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-22 09:17:34] 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-22 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:17:34] 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-22 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-22 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-22 09:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:17: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-22 09:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566693376001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566693376001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:17:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:17:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566693376001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":159653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:17:34] local.INFO: GPS data processed {"connection_id":159653,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:17:34] local.INFO: Acknowledgment sent {"connection_id":159653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:17:49] local.INFO: TCP Data received {"connection_id":162226,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:17:49] local.INFO: Processing buffer {"connection_id":162226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:17:49] local.INFO: IMEI packet received {"connection_id":162226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":162226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:17:54] local.INFO: TCP Data received {"connection_id":162227,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:17:54] local.INFO: Processing buffer {"connection_id":162227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:17:54] local.INFO: IMEI packet received {"connection_id":162227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":162227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:17:55] local.INFO: TCP Data received {"connection_id":162226,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:17:55] local.INFO: Processing buffer {"connection_id":162226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:17:55] local.INFO: IMEI packet received {"connection_id":162226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":162226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:17:55] local.INFO: TCP Data received {"connection_id":162226,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027943338012d7f8b0005afe1c00000007b22..."} 
[2026-08-22 09:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027943338012d7f8b0005afe1c00000007b22..."} 
[2026-08-22 09:17:55] local.INFO: Processing buffer {"connection_id":162226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027943338012d7f8b0005afe1c00000007b22..."} 
[2026-08-22 09:17:55] local.INFO: Packet analysis {"connection_id":162226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02794"} 
[2026-08-22 09:17:55] local.INFO: Extracted packet for processing {"connection_id":162226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02794"} 
[2026-08-22 09:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763333376,"raw_latitude":95412672,"longitude_deg":76.3333376,"latitude_deg":9.5412672,"altitude":0,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d7f8b00","hex_latitude":"05afe1c0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566826752001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925794212118528,"note":"Value kept but may cause issues"} 
[2026-08-22 09:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190439489005305856,"note":"Value kept but may cause issues"} 
[2026-08-22 09:17: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-22 09:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787370419000,"timestamp_ms":1787370419000,"timestamp_seconds":1787370419,"priority":1,"record_length":96,"hex_timestamp":"000001a027943338"} 
[2026-08-22 09: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-22 09: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-22 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:17: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-22 09: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-22 09: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-22 09:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566826752001,"66":27908,"250":206,"85":12544,"24":0,"16":388925794212118528,"45":9190439489005305856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566826752001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:17:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:17:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925794212118528,"km_value":388925794212118.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190439489005305856,"description":"Unknown IO ID 45"} 
[2026-08-22 09:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566826752001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190439489005305856}} 
[2026-08-22 09:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":162226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:17:55] local.INFO: GPS data processed {"connection_id":162226,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:17:55] local.INFO: Acknowledgment sent {"connection_id":162226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:17:56] local.INFO: TCP Data received {"connection_id":159918,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:17:56] local.INFO: Processing buffer {"connection_id":159918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:17:56] local.INFO: IMEI packet received {"connection_id":159918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":159918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:17:57] local.INFO: TCP Data received {"connection_id":162227,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:17:57] local.INFO: Processing buffer {"connection_id":162227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:17:57] local.INFO: IMEI packet received {"connection_id":162227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":162227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:18:01] local.INFO: TCP Data received {"connection_id":162227,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02790f718012d196940071fedd8003e011c24..."} 
[2026-08-22 09:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02790f718012d196940071fedd8003e011c24..."} 
[2026-08-22 09:18:01] local.INFO: Processing buffer {"connection_id":162227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02790f718012d196940071fedd8003e011c24..."} 
[2026-08-22 09:18:01] local.INFO: Packet analysis {"connection_id":162227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:18:01] local.INFO: Extracted packet for processing {"connection_id":162227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:18:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566767616001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18: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-22 09:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787370207000,"timestamp_ms":1787370207000,"timestamp_seconds":1787370207,"priority":1,"record_length":96,"hex_timestamp":"000001a02790f718"} 
[2026-08-22 09: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-22 09:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:01] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:01] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2850328692090804585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:01] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:01] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79979575316054016,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:01] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:01] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:01] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2405232641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:01] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:18:01] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,160,45,64,237,62,38,10,66,1,174,240,255,227,39,31,4,113,205,105,216,36,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:18:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:18:01] 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-22 09:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566767616001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566767616001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:18:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566767616001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":162227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:18:01] local.INFO: GPS data processed {"connection_id":162227,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:18:01] local.INFO: Acknowledgment sent {"connection_id":162227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:18:01] local.INFO: TCP Data received {"connection_id":159918,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:18:01] local.INFO: Processing buffer {"connection_id":159918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:18:01] local.INFO: IMEI packet received {"connection_id":159918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":159918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:18:02] local.INFO: TCP Data received {"connection_id":159918,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:18:02] local.INFO: Processing buffer {"connection_id":159918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02790d008012d7b3ec005e1e4a0000000ab28..."} 
[2026-08-22 09:18:02] local.INFO: Packet analysis {"connection_id":159918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:18:02] local.INFO: Extracted packet for processing {"connection_id":159918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02790"} 
[2026-08-22 09:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566693376001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:02] 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-22 09:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787370197000,"timestamp_ms":1787370197000,"timestamp_seconds":1787370197,"priority":1,"record_length":96,"hex_timestamp":"000001a02790d008"} 
[2026-08-22 09: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-22 09:18:02] 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-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:18:02] 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-22 09: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-22 09: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-22 09:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:18:02] 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-22 09:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566693376001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566693376001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:18:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566693376001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":159918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:18:02] local.INFO: GPS data processed {"connection_id":159918,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:18:02] local.INFO: Acknowledgment sent {"connection_id":159918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:18:26] local.INFO: TCP Data received {"connection_id":162226,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027943b08012d7f8ac005afe1480000009024..."} 
[2026-08-22 09:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027943b08012d7f8ac005afe1480000009024..."} 
[2026-08-22 09:18:26] local.INFO: Processing buffer {"connection_id":162226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027943b08012d7f8ac005afe1480000009024..."} 
[2026-08-22 09:18:26] local.INFO: Packet analysis {"connection_id":162226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02794"} 
[2026-08-22 09:18:26] local.INFO: Extracted packet for processing {"connection_id":162226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02794"} 
[2026-08-22 09:18:26] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412552,"longitude_deg":76.3333312,"latitude_deg":9.5412552,"altitude":0,"angle":144,"satellites":36,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe148","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566827264001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925802802053120,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190439489005273088,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18: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-22 09:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787370421000,"timestamp_ms":1787370421000,"timestamp_seconds":1787370421,"priority":1,"record_length":96,"hex_timestamp":"000001a027943b08"} 
[2026-08-22 09: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-22 09:18: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-22 09: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-22 09: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-22 09: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-22 09: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-22 09:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566827264001,"66":27876,"250":206,"85":12544,"24":0,"16":388925802802053120,"45":9190439489005273088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566827264001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:18:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925802802053120,"km_value":388925802802053.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190439489005273088,"description":"Unknown IO ID 45"} 
[2026-08-22 09:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566827264001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190439489005273088}} 
[2026-08-22 09:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":162226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:18:26] local.INFO: GPS data processed {"connection_id":162226,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:18:26] local.INFO: Acknowledgment sent {"connection_id":162226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:18:32] local.INFO: TCP Data received {"connection_id":162227,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027914920012d196940071fedd8003e011c25..."} 
[2026-08-22 09:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027914920012d196940071fedd8003e011c25..."} 
[2026-08-22 09:18:32] local.INFO: Processing buffer {"connection_id":162227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027914920012d196940071fedd8003e011c25..."} 
[2026-08-22 09:18:32] local.INFO: Packet analysis {"connection_id":162227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02791"} 
[2026-08-22 09:18:32] local.INFO: Extracted packet for processing {"connection_id":162227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02791"} 
[2026-08-22 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566772992001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787370228000,"timestamp_ms":1787370228000,"timestamp_seconds":1787370228,"priority":1,"record_length":96,"hex_timestamp":"000001a027914920"} 
[2026-08-22 09:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:18: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-22 09:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:32] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2850418886404020585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:32] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:32] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79978475804426240,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:32] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:32] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2410608641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:18:32] local.WARNING: Large IO value detected {"io_id":92,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:32] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,160,165,45,64,237,62,38,10,66,1,240,227,39,31,4,113,205,92,105,216,37,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:18:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883246272643072,"timestamp_seconds":4467883246272643.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:18:32] 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-22 09:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566772992001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566772992001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:18:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:18:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566772992001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":162227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:18:32] local.INFO: GPS data processed {"connection_id":162227,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:18:32] local.INFO: Acknowledgment sent {"connection_id":162227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:18:34] local.INFO: TCP Data received {"connection_id":159918,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:18:34] local.INFO: Processing buffer {"connection_id":159918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:18:34] local.INFO: Packet analysis {"connection_id":159918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:18:34] local.INFO: Extracted packet for processing {"connection_id":159918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 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-22 09:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566770432001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:34] 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-22 09:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787370498000,"timestamp_ms":1787370498000,"timestamp_seconds":1787370498,"priority":1,"record_length":96,"hex_timestamp":"000001a0279567d0"} 
[2026-08-22 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-22 09:18:34] 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-22 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:18:34] 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-22 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-22 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-22 09:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:18: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-22 09:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566770432001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566770432001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:18:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:18:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566770432001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":159918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:18:34] local.INFO: GPS data processed {"connection_id":159918,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:18:34] local.INFO: Acknowledgment sent {"connection_id":159918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:18:41] local.INFO: TCP Data received {"connection_id":159654,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:18:41] local.INFO: Processing buffer {"connection_id":159654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:18:41] local.INFO: IMEI packet received {"connection_id":159654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":159654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:18:42] local.INFO: TCP Data received {"connection_id":159654,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027957770012d0b4b000704f5900011006222..."} 
[2026-08-22 09:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027957770012d0b4b000704f5900011006222..."} 
[2026-08-22 09:18:42] local.INFO: Processing buffer {"connection_id":159654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027957770012d0b4b000704f5900011006222..."} 
[2026-08-22 09:18:42] local.INFO: Packet analysis {"connection_id":159654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:18:42] local.INFO: Extracted packet for processing {"connection_id":159654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:18:42] local.INFO: GPS Element Parsed {"raw_longitude":755714816,"raw_latitude":117765520,"longitude_deg":75.5714816,"latitude_deg":11.776552,"altitude":17,"angle":98,"satellites":34,"speed":39,"hex_longitude":"2d0b4b00","hex_latitude":"0704f590","is_valid_coordinates":true} 
[2026-08-22 09:18: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-22 09:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566845696001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29383898496499712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803399982424655872,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:42] 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-22 09:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787370502000,"timestamp_ms":1787370502000,"timestamp_seconds":1787370502,"priority":1,"record_length":96,"hex_timestamp":"000001a027957770"} 
[2026-08-22 09:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:18: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-22 09:18: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":114,"data_length":795,"current_offset":136} 
[2026-08-22 09:18:42] 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-22 09:18: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-22 09:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566845696001,"66":14439,"96":206,"94":10240,"24":39,"16":29383898496499712,"45":803399982424655872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-22 09:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566845696001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:18:42] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 09:18:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29383898496499712,"km_value":29383898496499.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":803399982424655872,"description":"Unknown IO ID 45"} 
[2026-08-22 09:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566845696001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":803399982424655872}} 
[2026-08-22 09:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":159654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680248,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:18:42] local.INFO: GPS data processed {"connection_id":159654,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:18:42] local.INFO: Acknowledgment sent {"connection_id":159654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:18:49] local.INFO: TCP Data received {"connection_id":159655,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:18:49] local.INFO: Processing buffer {"connection_id":159655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:18:49] local.INFO: IMEI packet received {"connection_id":159655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":159655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:18:53] local.INFO: TCP Data received {"connection_id":159656,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:18:53] local.INFO: Processing buffer {"connection_id":159656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:18:53] local.INFO: IMEI packet received {"connection_id":159656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":159656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:18:55] local.INFO: TCP Data received {"connection_id":159655,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:18:55] local.INFO: Processing buffer {"connection_id":159655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:18:55] local.INFO: IMEI packet received {"connection_id":159655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":159655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:18:55] local.INFO: TCP Data received {"connection_id":159655,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027948d10012d7f8ac005afe1480000009020..."} 
[2026-08-22 09:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027948d10012d7f8ac005afe1480000009020..."} 
[2026-08-22 09:18:55] local.INFO: Processing buffer {"connection_id":159655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027948d10012d7f8ac005afe1480000009020..."} 
[2026-08-22 09:18:55] local.INFO: Packet analysis {"connection_id":159655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02794"} 
[2026-08-22 09:18:55] local.INFO: Extracted packet for processing {"connection_id":159655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02794"} 
[2026-08-22 09:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412552,"longitude_deg":76.3333312,"latitude_deg":9.5412552,"altitude":0,"angle":144,"satellites":32,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe148","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566827776001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925802802053120,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261064704,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18: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-22 09:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787370442000,"timestamp_ms":1787370442000,"timestamp_seconds":1787370442,"priority":1,"record_length":96,"hex_timestamp":"000001a027948d10"} 
[2026-08-22 09: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-22 09: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-22 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 09:18: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-22 09: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-22 09: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-22 09:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566827776001,"66":27800,"250":206,"85":12544,"24":0,"16":388925802802053120,"45":9190369120261064704},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566827776001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:18:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925802802053120,"km_value":388925802802053.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261064704,"description":"Unknown IO ID 45"} 
[2026-08-22 09:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566827776001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261064704}} 
[2026-08-22 09:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":159655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:18:56] local.INFO: GPS data processed {"connection_id":159655,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:18:56] local.INFO: Acknowledgment sent {"connection_id":159655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:18:56] local.INFO: TCP Data received {"connection_id":160804,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:18:56] local.INFO: Processing buffer {"connection_id":160804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:18:56] local.INFO: IMEI packet received {"connection_id":160804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":160804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:18:58] local.INFO: TCP Data received {"connection_id":159656,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:18:58] local.INFO: Processing buffer {"connection_id":159656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:18:58] local.INFO: IMEI packet received {"connection_id":159656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":159656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:18:59] local.INFO: TCP Data received {"connection_id":159656,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027919b28012d196940071fedd8003e011c23..."} 
[2026-08-22 09:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027919b28012d196940071fedd8003e011c23..."} 
[2026-08-22 09:18:59] local.INFO: Processing buffer {"connection_id":159656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027919b28012d196940071fedd8003e011c23..."} 
[2026-08-22 09:18:59] local.INFO: Packet analysis {"connection_id":159656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02791"} 
[2026-08-22 09:18:59] local.INFO: Extracted packet for processing {"connection_id":159656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02791"} 
[2026-08-22 09:18:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566778368001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:18: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-22 09:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787370249000,"timestamp_ms":1787370249000,"timestamp_seconds":1787370249,"priority":1,"record_length":96,"hex_timestamp":"000001a027919b28"} 
[2026-08-22 09: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-22 09:18: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-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:18:59] 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-22 09:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566778368001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566778368001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:18:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:18:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566778368001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":159656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:18:59] local.INFO: GPS data processed {"connection_id":159656,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:18:59] local.INFO: Acknowledgment sent {"connection_id":159656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:19:01] local.INFO: TCP Data received {"connection_id":160804,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:19:01] local.INFO: Processing buffer {"connection_id":160804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:19:01] local.INFO: IMEI packet received {"connection_id":160804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":160804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:19:02] local.INFO: TCP Data received {"connection_id":160804,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:19:02] local.INFO: Processing buffer {"connection_id":160804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:19:02] local.INFO: Packet analysis {"connection_id":160804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:19:02] local.INFO: Extracted packet for processing {"connection_id":160804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:19: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-22 09:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566770432001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:02] 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-22 09:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787370498000,"timestamp_ms":1787370498000,"timestamp_seconds":1787370498,"priority":1,"record_length":96,"hex_timestamp":"000001a0279567d0"} 
[2026-08-22 09:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:19:02] 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-22 09:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:19:02] 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-22 09:19: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-22 09:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:19:02] 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-22 09:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566770432001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566770432001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:19:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566770432001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":160804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:19:02] local.INFO: GPS data processed {"connection_id":160804,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:19:02] local.INFO: Acknowledgment sent {"connection_id":160804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:19:15] local.INFO: TCP Data received {"connection_id":159654,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0279592c8012d0b5d800704f1300012007420..."} 
[2026-08-22 09:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279592c8012d0b5d800704f1300012007420..."} 
[2026-08-22 09:19:15] local.INFO: Processing buffer {"connection_id":159654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279592c8012d0b5d800704f1300012007420..."} 
[2026-08-22 09:19:15] local.INFO: Packet analysis {"connection_id":159654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:19:15] local.INFO: Extracted packet for processing {"connection_id":159654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:19:15] local.INFO: GPS Element Parsed {"raw_longitude":755719552,"raw_latitude":117764400,"longitude_deg":75.5719552,"latitude_deg":11.77644,"altitude":18,"angle":116,"satellites":32,"speed":13,"hex_longitude":"2d0b5d80","hex_latitude":"0704f130","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566848512001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29384130424733696,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813744187818479616,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:15] 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-22 09:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787370509000,"timestamp_ms":1787370509000,"timestamp_seconds":1787370509,"priority":1,"record_length":96,"hex_timestamp":"000001a0279592c8"} 
[2026-08-22 09: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-22 09:19: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-22 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 09:19:15] 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-22 09: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-22 09: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-22 09:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566848512001,"66":14309,"96":206,"94":10240,"24":13,"16":29384130424733696,"45":813744187818479616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-22 09:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566848512001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:19:15] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 09:19:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29384130424733696,"km_value":29384130424733.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":813744187818479616,"description":"Unknown IO ID 45"} 
[2026-08-22 09:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566848512001,"power":14309,"unknown_96":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":813744187818479616}} 
[2026-08-22 09:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":159654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680252,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:19:15] local.INFO: GPS data processed {"connection_id":159654,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:19:15] local.INFO: Acknowledgment sent {"connection_id":159654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:19:27] local.INFO: TCP Data received {"connection_id":159655,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02794df18012d7f8ac005afe1480000009021..."} 
[2026-08-22 09:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02794df18012d7f8ac005afe1480000009021..."} 
[2026-08-22 09:19:27] local.INFO: Processing buffer {"connection_id":159655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02794df18012d7f8ac005afe1480000009021..."} 
[2026-08-22 09:19:27] local.INFO: Packet analysis {"connection_id":159655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02794"} 
[2026-08-22 09:19:27] local.INFO: Extracted packet for processing {"connection_id":159655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02794"} 
[2026-08-22 09:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412552,"longitude_deg":76.3333312,"latitude_deg":9.5412552,"altitude":0,"angle":144,"satellites":33,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe148","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566833152001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925802802053120,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261064704,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19: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-22 09:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787370463000,"timestamp_ms":1787370463000,"timestamp_seconds":1787370463,"priority":1,"record_length":96,"hex_timestamp":"000001a02794df18"} 
[2026-08-22 09: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-22 09:19: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-22 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 09:19: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-22 09: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-22 09: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-22 09:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566833152001,"66":27767,"250":206,"85":12544,"24":0,"16":388925802802053120,"45":9190369120261064704},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566833152001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:19:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925802802053120,"km_value":388925802802053.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261064704,"description":"Unknown IO ID 45"} 
[2026-08-22 09:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566833152001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261064704}} 
[2026-08-22 09:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":159655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:19:27] local.INFO: GPS data processed {"connection_id":159655,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:19:27] local.INFO: Acknowledgment sent {"connection_id":159655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:19:30] local.INFO: TCP Data received {"connection_id":159656,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027952180012d196940071fedd8003e011c27..."} 
[2026-08-22 09:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027952180012d196940071fedd8003e011c27..."} 
[2026-08-22 09:19:30] local.INFO: Processing buffer {"connection_id":159656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027952180012d196940071fedd8003e011c27..."} 
[2026-08-22 09:19:30] local.INFO: Packet analysis {"connection_id":159656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:19:30] local.INFO: Extracted packet for processing {"connection_id":159656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:19:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566837504001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19: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-22 09:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787370480000,"timestamp_ms":1787370480000,"timestamp_seconds":1787370480,"priority":1,"record_length":96,"hex_timestamp":"000001a027952180"} 
[2026-08-22 09: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-22 09:19: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-22 09:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:19:30] 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-22 09: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-22 09: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-22 09:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:19:30] 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-22 09:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566837504001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566837504001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:19:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:19:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566837504001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":159656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:19:30] local.INFO: GPS data processed {"connection_id":159656,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:19:30] local.INFO: Acknowledgment sent {"connection_id":159656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:19:34] local.INFO: TCP Data received {"connection_id":160804,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:19:34] local.INFO: Processing buffer {"connection_id":160804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:19:34] local.INFO: Packet analysis {"connection_id":160804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:19:34] local.INFO: Extracted packet for processing {"connection_id":160804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:19:34] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 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-22 09:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566770432001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:34] 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-22 09:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787370498000,"timestamp_ms":1787370498000,"timestamp_seconds":1787370498,"priority":1,"record_length":96,"hex_timestamp":"000001a0279567d0"} 
[2026-08-22 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-22 09:19:34] 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-22 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:19:34] 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-22 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-22 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-22 09:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:19: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-22 09:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566770432001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566770432001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:19:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:19:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566770432001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":160804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:19:34] local.INFO: GPS data processed {"connection_id":160804,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:19:34] local.INFO: Acknowledgment sent {"connection_id":160804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:19:34] local.INFO: TCP Data received {"connection_id":159919,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:19:34] local.INFO: Processing buffer {"connection_id":159919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:19:34] local.INFO: IMEI packet received {"connection_id":159919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":159919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:19:35] local.INFO: TCP Data received {"connection_id":159919,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:19:35] local.INFO: Processing buffer {"connection_id":159919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:19:35] local.INFO: IMEI packet received {"connection_id":159919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":159919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:19:36] local.INFO: TCP Data received {"connection_id":159919,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:19:36] local.INFO: Processing buffer {"connection_id":159919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:19:36] local.INFO: IMEI packet received {"connection_id":159919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":159919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:19:41] local.INFO: TCP Data received {"connection_id":159919,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:19:41] local.INFO: Processing buffer {"connection_id":159919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:19:41] local.INFO: IMEI packet received {"connection_id":159919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":159919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:19:42] local.INFO: TCP Data received {"connection_id":159919,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027959a98012d0b5e800704f0380013008320..."} 
[2026-08-22 09:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027959a98012d0b5e800704f0380013008320..."} 
[2026-08-22 09:19:42] local.INFO: Processing buffer {"connection_id":159919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027959a98012d0b5e800704f0380013008320..."} 
[2026-08-22 09:19:42] local.INFO: Packet analysis {"connection_id":159919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:19:42] local.INFO: Extracted packet for processing {"connection_id":159919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:19:42] local.INFO: GPS Element Parsed {"raw_longitude":755719808,"raw_latitude":117764152,"longitude_deg":75.5719808,"latitude_deg":11.7764152,"altitude":19,"angle":131,"satellites":32,"speed":5,"hex_longitude":"2d0b5e80","hex_latitude":"0704f038","is_valid_coordinates":true} 
[2026-08-22 09:19: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-22 09:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566850304001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29384147604602880,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818951474887340032,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:42] 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-22 09:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787370511000,"timestamp_ms":1787370511000,"timestamp_seconds":1787370511,"priority":1,"record_length":96,"hex_timestamp":"000001a027959a98"} 
[2026-08-22 09:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:19:42] 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-22 09:19: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 09:19:42] 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-22 09:19: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-22 09:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566850304001,"66":14407,"96":206,"94":10240,"24":5,"16":29384147604602880,"45":818951474887340032},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-22 09:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566850304001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:19:42] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 09:19:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29384147604602880,"km_value":29384147604602.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":818951474887340032,"description":"Unknown IO ID 45"} 
[2026-08-22 09:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566850304001,"power":14407,"unknown_96":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":818951474887340032}} 
[2026-08-22 09:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":159919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680256,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:19:43] local.INFO: GPS data processed {"connection_id":159919,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:19:43] local.INFO: Acknowledgment sent {"connection_id":159919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:19:49] local.INFO: TCP Data received {"connection_id":160805,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:19:49] local.INFO: Processing buffer {"connection_id":160805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:19:49] local.INFO: IMEI packet received {"connection_id":160805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":160805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:19:53] local.INFO: TCP Data received {"connection_id":162228,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:19:53] local.INFO: Processing buffer {"connection_id":162228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:19:53] local.INFO: IMEI packet received {"connection_id":162228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":162228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:19:55] local.INFO: TCP Data received {"connection_id":160805,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:19:55] local.INFO: Processing buffer {"connection_id":160805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:19:55] local.INFO: IMEI packet received {"connection_id":160805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":160805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:19:55] local.INFO: TCP Data received {"connection_id":160805,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027953120012d7f8ac005afe1480000009025..."} 
[2026-08-22 09:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027953120012d7f8ac005afe1480000009025..."} 
[2026-08-22 09:19:55] local.INFO: Processing buffer {"connection_id":160805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027953120012d7f8ac005afe1480000009025..."} 
[2026-08-22 09:19:55] local.INFO: Packet analysis {"connection_id":160805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:19:55] local.INFO: Extracted packet for processing {"connection_id":160805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95412552,"longitude_deg":76.3333312,"latitude_deg":9.5412552,"altitude":0,"angle":144,"satellites":37,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afe148","is_valid_coordinates":true} 
[2026-08-22 09:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566838528001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925802802053120,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261064704,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19: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-22 09:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787370484000,"timestamp_ms":1787370484000,"timestamp_seconds":1787370484,"priority":1,"record_length":96,"hex_timestamp":"000001a027953120"} 
[2026-08-22 09:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:19: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-22 09:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:19: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-22 09:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566838528001,"66":27843,"250":206,"85":12544,"24":0,"16":388925802802053120,"45":9190369120261064704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566838528001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:19:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:19:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925802802053120,"km_value":388925802802053.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261064704,"description":"Unknown IO ID 45"} 
[2026-08-22 09:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566838528001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120261064704}} 
[2026-08-22 09:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":160805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:19:55] local.INFO: GPS data processed {"connection_id":160805,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:19:55] local.INFO: Acknowledgment sent {"connection_id":160805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:19:58] local.INFO: TCP Data received {"connection_id":162228,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:19:58] local.INFO: Processing buffer {"connection_id":162228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:19:58] local.INFO: IMEI packet received {"connection_id":162228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":162228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:19:59] local.INFO: TCP Data received {"connection_id":162228,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027957388012d196940071fedd8003e011c24..."} 
[2026-08-22 09:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027957388012d196940071fedd8003e011c24..."} 
[2026-08-22 09:19:59] local.INFO: Processing buffer {"connection_id":162228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027957388012d196940071fedd8003e011c24..."} 
[2026-08-22 09:19:59] local.INFO: Packet analysis {"connection_id":162228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:19:59] local.INFO: Extracted packet for processing {"connection_id":162228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566842880001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:19: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-22 09:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787370501000,"timestamp_ms":1787370501000,"timestamp_seconds":1787370501,"priority":1,"record_length":96,"hex_timestamp":"000001a027957388"} 
[2026-08-22 09: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-22 09:19: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-22 09:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:19:59] 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-22 09:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566842880001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566842880001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:19:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:19:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566842880001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":162228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:19:59] local.INFO: GPS data processed {"connection_id":162228,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:19:59] local.INFO: Acknowledgment sent {"connection_id":162228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:20:01] local.INFO: TCP Data received {"connection_id":159657,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:20:01] local.INFO: Processing buffer {"connection_id":159657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:20:01] local.INFO: IMEI packet received {"connection_id":159657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":159657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:20:06] local.INFO: TCP Data received {"connection_id":159657,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:20:06] local.INFO: Processing buffer {"connection_id":159657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:20:06] local.INFO: IMEI packet received {"connection_id":159657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":159657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:20:08] local.INFO: TCP Data received {"connection_id":159657,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:20:08] local.INFO: Processing buffer {"connection_id":159657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:20:08] local.INFO: Packet analysis {"connection_id":159657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:20:08] local.INFO: Extracted packet for processing {"connection_id":159657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:20:08] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566770432001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:08] 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-22 09:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787370498000,"timestamp_ms":1787370498000,"timestamp_seconds":1787370498,"priority":1,"record_length":96,"hex_timestamp":"000001a0279567d0"} 
[2026-08-22 09: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-22 09:20:08] 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-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:20:08] 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-22 09: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-22 09: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-22 09:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:20: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-22 09:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566770432001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566770432001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:20:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:20:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566770432001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":159657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:20:08] local.INFO: GPS data processed {"connection_id":159657,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:20:08] local.INFO: Acknowledgment sent {"connection_id":159657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:20:12] local.INFO: TCP Data received {"connection_id":159657,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:20:12] local.INFO: Processing buffer {"connection_id":159657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:20:12] local.INFO: Packet analysis {"connection_id":159657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:20:12] local.INFO: Extracted packet for processing {"connection_id":159657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 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-22 09:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566770432001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:12] 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-22 09:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787370498000,"timestamp_ms":1787370498000,"timestamp_seconds":1787370498,"priority":1,"record_length":96,"hex_timestamp":"000001a0279567d0"} 
[2026-08-22 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-22 09:20:12] 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-22 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:20: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-22 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-22 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-22 09:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:20: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-22 09:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566770432001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566770432001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:20:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566770432001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":159657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:20:12] local.INFO: GPS data processed {"connection_id":159657,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:20:12] local.INFO: Acknowledgment sent {"connection_id":159657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:20:13] local.INFO: TCP Data received {"connection_id":159919,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027970db0012d0b7f000704bfa80018008f24..."} 
[2026-08-22 09:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027970db0012d0b7f000704bfa80018008f24..."} 
[2026-08-22 09:20:13] local.INFO: Processing buffer {"connection_id":159919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027970db0012d0b7f000704bfa80018008f24..."} 
[2026-08-22 09:20:13] local.INFO: Packet analysis {"connection_id":159919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02797"} 
[2026-08-22 09:20:13] local.INFO: Extracted packet for processing {"connection_id":159919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02797"} 
[2026-08-22 09:20:13] local.INFO: GPS Element Parsed {"raw_longitude":755728128,"raw_latitude":117751720,"longitude_deg":75.5728128,"latitude_deg":11.775172,"altitude":24,"angle":143,"satellites":36,"speed":18,"hex_longitude":"2d0b7f00","hex_latitude":"0704bfa8","is_valid_coordinates":true} 
[2026-08-22 09:20: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-22 09:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566874624001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29385058137669632,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827888305394882560,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:13] 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-22 09:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787370606000,"timestamp_ms":1787370606000,"timestamp_seconds":1787370606,"priority":1,"record_length":96,"hex_timestamp":"000001a027970db0"} 
[2026-08-22 09:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:20:13] 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-22 09:20: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-22 09:20: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-22 09:20: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-22 09:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566874624001,"66":14396,"96":206,"94":10240,"24":18,"16":29385058137669632,"45":827888305394882560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-22 09:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566874624001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:20:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 09:20:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29385058137669632,"km_value":29385058137669.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":827888305394882560,"description":"Unknown IO ID 45"} 
[2026-08-22 09:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566874624001,"power":14396,"unknown_96":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":827888305394882560}} 
[2026-08-22 09:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":159919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680261,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:20:14] local.INFO: GPS data processed {"connection_id":159919,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:20:14] local.INFO: Acknowledgment sent {"connection_id":159919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:20:26] local.INFO: TCP Data received {"connection_id":160805,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0279538f0012d7f89c005afe0f8000000e025..."} 
[2026-08-22 09:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279538f0012d7f89c005afe0f8000000e025..."} 
[2026-08-22 09:20:26] local.INFO: Processing buffer {"connection_id":160805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279538f0012d7f89c005afe0f8000000e025..."} 
[2026-08-22 09:20:26] local.INFO: Packet analysis {"connection_id":160805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:20:26] local.INFO: Extracted packet for processing {"connection_id":160805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:20:26] local.INFO: GPS Element Parsed {"raw_longitude":763333056,"raw_latitude":95412472,"longitude_deg":76.3333056,"latitude_deg":9.5412472,"altitude":0,"angle":224,"satellites":37,"speed":1,"hex_longitude":"2d7f89c0","hex_latitude":"05afe0f8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566843904001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120261064704,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20: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-22 09:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787370486000,"timestamp_ms":1787370486000,"timestamp_seconds":1787370486,"priority":1,"record_length":96,"hex_timestamp":"000001a0279538f0"} 
[2026-08-22 09: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-22 09: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-22 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 09:20: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-22 09: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-22 09: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-22 09:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566843904001,"66":27974,"250":206,"85":12544,"24":1,"16":388925815686955008,"45":9190369120261064704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566843904001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:20:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120261064704,"description":"Unknown IO ID 45"} 
[2026-08-22 09:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566843904001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190369120261064704}} 
[2026-08-22 09:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":160805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:20:26] local.INFO: GPS data processed {"connection_id":160805,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:20:26] local.INFO: Acknowledgment sent {"connection_id":160805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:20:30] local.INFO: TCP Data received {"connection_id":162228,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02795c590012d196940071fedd8003e011c24..."} 
[2026-08-22 09:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02795c590012d196940071fedd8003e011c24..."} 
[2026-08-22 09:20:30] local.INFO: Processing buffer {"connection_id":162228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02795c590012d196940071fedd8003e011c24..."} 
[2026-08-22 09:20:30] local.INFO: Packet analysis {"connection_id":162228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:20:30] local.INFO: Extracted packet for processing {"connection_id":162228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:20:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566848256001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20: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-22 09:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787370522000,"timestamp_ms":1787370522000,"timestamp_seconds":1787370522,"priority":1,"record_length":96,"hex_timestamp":"000001a02795c590"} 
[2026-08-22 09: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-22 09:20: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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:20:30] 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-22 09:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566848256001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566848256001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:20:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:20:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566848256001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":162228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:20:31] local.INFO: GPS data processed {"connection_id":162228,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:20:31] local.INFO: Acknowledgment sent {"connection_id":162228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:20:36] local.INFO: TCP Data received {"connection_id":160806,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160806,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:20:36] local.INFO: Processing buffer {"connection_id":160806,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:20:36] local.INFO: IMEI packet received {"connection_id":160806,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":160806,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:20:41] local.INFO: TCP Data received {"connection_id":160806,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160806,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:20:41] local.INFO: Processing buffer {"connection_id":160806,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:20:41] local.INFO: IMEI packet received {"connection_id":160806,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":160806,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:20:42] local.INFO: TCP Data received {"connection_id":160806,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027971198012d0b80800704be700018007d24..."} 
[2026-08-22 09:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027971198012d0b80800704be700018007d24..."} 
[2026-08-22 09:20:42] local.INFO: Processing buffer {"connection_id":160806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027971198012d0b80800704be700018007d24..."} 
[2026-08-22 09:20:42] local.INFO: Packet analysis {"connection_id":160806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02797"} 
[2026-08-22 09:20:42] local.INFO: Extracted packet for processing {"connection_id":160806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02797"} 
[2026-08-22 09:20:42] local.INFO: GPS Element Parsed {"raw_longitude":755728512,"raw_latitude":117751408,"longitude_deg":75.5728512,"latitude_deg":11.7751408,"altitude":24,"angle":125,"satellites":36,"speed":19,"hex_longitude":"2d0b8080","hex_latitude":"0704be70","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566875136001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29385083907473408,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828380886603900928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:42] 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-22 09:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787370607000,"timestamp_ms":1787370607000,"timestamp_seconds":1787370607,"priority":1,"record_length":96,"hex_timestamp":"000001a027971198"} 
[2026-08-22 09: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-22 09:20:42] 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-22 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 09:20:42] 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-22 09: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-22 09: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-22 09:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566875136001,"66":14309,"96":206,"94":10240,"24":19,"16":29385083907473408,"45":828380886603900928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-22 09:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566875136001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:20:42] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 09:20:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29385083907473408,"km_value":29385083907473.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":828380886603900928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566875136001,"power":14309,"unknown_96":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":828380886603900928}} 
[2026-08-22 09:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":160806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680264,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:20:42] local.INFO: GPS data processed {"connection_id":160806,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:20:42] local.INFO: Acknowledgment sent {"connection_id":160806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:20:53] local.INFO: TCP Data received {"connection_id":162231,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:20:53] local.INFO: Processing buffer {"connection_id":162231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:20:53] local.INFO: IMEI packet received {"connection_id":162231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":162231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:20:54] local.INFO: TCP Data received {"connection_id":162229,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:20:54] local.INFO: Processing buffer {"connection_id":162229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:20:54] local.INFO: IMEI packet received {"connection_id":162229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":162229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:20:56] local.INFO: TCP Data received {"connection_id":162230,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:20:56] local.INFO: Processing buffer {"connection_id":162230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:20:56] local.INFO: IMEI packet received {"connection_id":162230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":162230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:20:58] local.INFO: TCP Data received {"connection_id":162231,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:20:58] local.INFO: Processing buffer {"connection_id":162231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:20:58] local.INFO: IMEI packet received {"connection_id":162231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":162231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:20:59] local.INFO: TCP Data received {"connection_id":162231,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027961798012d196940071fedd8003e011c25..."} 
[2026-08-22 09:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027961798012d196940071fedd8003e011c25..."} 
[2026-08-22 09:20:59] local.INFO: Processing buffer {"connection_id":162231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027961798012d196940071fedd8003e011c25..."} 
[2026-08-22 09:20:59] local.INFO: Packet analysis {"connection_id":162231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02796"} 
[2026-08-22 09:20:59] local.INFO: Extracted packet for processing {"connection_id":162231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02796"} 
[2026-08-22 09:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566853632001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:20: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-22 09:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787370543000,"timestamp_ms":1787370543000,"timestamp_seconds":1787370543,"priority":1,"record_length":96,"hex_timestamp":"000001a027961798"} 
[2026-08-22 09: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-22 09:20: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-22 09:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:20:59] 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-22 09:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566853632001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566853632001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:20:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566853632001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":162231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:20:59] local.INFO: GPS data processed {"connection_id":162231,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:20:59] local.INFO: Acknowledgment sent {"connection_id":162231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:21:00] local.INFO: TCP Data received {"connection_id":162229,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:21:00] local.INFO: Processing buffer {"connection_id":162229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:21:00] local.INFO: IMEI packet received {"connection_id":162229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":162229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:21:00] local.INFO: TCP Data received {"connection_id":162229,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:21:00] local.INFO: Processing buffer {"connection_id":162229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:21:00] local.INFO: Packet analysis {"connection_id":162229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:21:00] local.INFO: Extracted packet for processing {"connection_id":162229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763333056,"raw_latitude":95412400,"longitude_deg":76.3333056,"latitude_deg":9.54124,"altitude":0,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7f89c0","hex_latitude":"05afe0b0","is_valid_coordinates":true} 
[2026-08-22 09:21: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-22 09:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566844416001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284333568,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21: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-22 09:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787370498000,"timestamp_ms":1787370498000,"timestamp_seconds":1787370498,"priority":1,"record_length":96,"hex_timestamp":"000001a0279567d0"} 
[2026-08-22 09: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-22 09:21: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-22 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-22 09:21: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-22 09: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-22 09: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-22 09:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566844416001,"66":27865,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190087645284333568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566844416001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:21:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:21:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284333568,"description":"Unknown IO ID 45"} 
[2026-08-22 09:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566844416001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284333568}} 
[2026-08-22 09:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":162229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:21:00] local.INFO: GPS data processed {"connection_id":162229,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:21:00] local.INFO: Acknowledgment sent {"connection_id":162229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:21:01] local.INFO: TCP Data received {"connection_id":162230,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:21:01] local.INFO: Processing buffer {"connection_id":162230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:21:01] local.INFO: IMEI packet received {"connection_id":162230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":162230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:21:02] local.INFO: TCP Data received {"connection_id":162230,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:21:02] local.INFO: Processing buffer {"connection_id":162230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:21:02] local.INFO: Packet analysis {"connection_id":162230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:21:02] local.INFO: Extracted packet for processing {"connection_id":162230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566770432001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:02] 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-22 09:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787370498000,"timestamp_ms":1787370498000,"timestamp_seconds":1787370498,"priority":1,"record_length":96,"hex_timestamp":"000001a0279567d0"} 
[2026-08-22 09: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-22 09:21:02] 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-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:21:02] 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-22 09: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-22 09: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-22 09:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:21:02] 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-22 09:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566770432001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566770432001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:21:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566770432001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":162230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:21:02] local.INFO: GPS data processed {"connection_id":162230,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:21:02] local.INFO: Acknowledgment sent {"connection_id":162230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:21:05] local.INFO: TCP Data received {"connection_id":162229,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:21:05] local.INFO: Processing buffer {"connection_id":162229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:21:05] local.INFO: Packet analysis {"connection_id":162229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:21:05] local.INFO: Extracted packet for processing {"connection_id":162229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763333056,"raw_latitude":95412400,"longitude_deg":76.3333056,"latitude_deg":9.54124,"altitude":0,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7f89c0","hex_latitude":"05afe0b0","is_valid_coordinates":true} 
[2026-08-22 09:21: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-22 09:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566844416001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284333568,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:05] 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-22 09:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787370498000,"timestamp_ms":1787370498000,"timestamp_seconds":1787370498,"priority":1,"record_length":96,"hex_timestamp":"000001a0279567d0"} 
[2026-08-22 09:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09: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-22 09:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-22 09:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566844416001,"66":27865,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190087645284333568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566844416001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:21:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:21:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284333568,"description":"Unknown IO ID 45"} 
[2026-08-22 09:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566844416001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284333568}} 
[2026-08-22 09:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":162229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:21:05] local.INFO: GPS data processed {"connection_id":162229,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:21:05] local.INFO: Acknowledgment sent {"connection_id":162229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:21:15] local.INFO: TCP Data received {"connection_id":160806,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02797cd18012d0bbb400704fc100018002823..."} 
[2026-08-22 09:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02797cd18012d0bbb400704fc100018002823..."} 
[2026-08-22 09:21:15] local.INFO: Processing buffer {"connection_id":160806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02797cd18012d0bbb400704fc100018002823..."} 
[2026-08-22 09:21:15] local.INFO: Packet analysis {"connection_id":160806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02797"} 
[2026-08-22 09:21:15] local.INFO: Extracted packet for processing {"connection_id":160806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02797"} 
[2026-08-22 09:21:15] local.INFO: GPS Element Parsed {"raw_longitude":755743552,"raw_latitude":117767184,"longitude_deg":75.5743552,"latitude_deg":11.7767184,"altitude":24,"angle":40,"satellites":35,"speed":21,"hex_longitude":"2d0bbb40","hex_latitude":"0704fc10","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566887424001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29386591440994304,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844987910233679872,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:15] 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-22 09:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787370655000,"timestamp_ms":1787370655000,"timestamp_seconds":1787370655,"priority":1,"record_length":96,"hex_timestamp":"000001a02797cd18"} 
[2026-08-22 09: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-22 09:21: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-22 09: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":223,"data_length":795,"current_offset":136} 
[2026-08-22 09:21: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-22 09: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-22 09: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-22 09:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566887424001,"66":14396,"96":206,"94":10240,"24":21,"16":29386591440994304,"45":844987910233679872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-22 09:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566887424001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:21:15] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 09:21:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29386591440994304,"km_value":29386591440994.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":844987910233679872,"description":"Unknown IO ID 45"} 
[2026-08-22 09:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566887424001,"power":14396,"unknown_96":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":844987910233679872}} 
[2026-08-22 09:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":160806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680269,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:21:15] local.INFO: GPS data processed {"connection_id":160806,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:21:15] local.INFO: Acknowledgment sent {"connection_id":160806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:21:30] local.INFO: TCP Data received {"connection_id":162231,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0279669a0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279669a0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:21:30] local.INFO: Processing buffer {"connection_id":162231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279669a0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:21:30] local.INFO: Packet analysis {"connection_id":162231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02796"} 
[2026-08-22 09:21:30] local.INFO: Extracted packet for processing {"connection_id":162231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02796"} 
[2026-08-22 09:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566859008001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21: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-22 09:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787370564000,"timestamp_ms":1787370564000,"timestamp_seconds":1787370564,"priority":1,"record_length":96,"hex_timestamp":"000001a0279669a0"} 
[2026-08-22 09: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-22 09:21:30] 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-22 09:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:21:30] 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-22 09: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-22 09: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-22 09:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:21:30] 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-22 09:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566859008001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566859008001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:21:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566859008001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":162231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:21:31] local.INFO: GPS data processed {"connection_id":162231,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:21:31] local.INFO: Acknowledgment sent {"connection_id":162231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:21:34] local.INFO: TCP Data received {"connection_id":162230,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:21:34] local.INFO: Processing buffer {"connection_id":162230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:21:34] local.INFO: Packet analysis {"connection_id":162230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:21:34] local.INFO: Extracted packet for processing {"connection_id":162230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:21: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-22 09:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566770432001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:34] 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-22 09:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787370498000,"timestamp_ms":1787370498000,"timestamp_seconds":1787370498,"priority":1,"record_length":96,"hex_timestamp":"000001a0279567d0"} 
[2026-08-22 09:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:21:34] 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-22 09:21: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:21:34] 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-22 09:21: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-22 09:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:21:34] 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-22 09:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566770432001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566770432001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:21:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:21:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566770432001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":162230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:21:34] local.INFO: GPS data processed {"connection_id":162230,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:21:34] local.INFO: Acknowledgment sent {"connection_id":162230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:21:46] local.INFO: TCP Data received {"connection_id":160807,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:21:46] local.INFO: Processing buffer {"connection_id":160807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:21:46] local.INFO: IMEI packet received {"connection_id":160807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":160807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:21:49] local.INFO: TCP Data received {"connection_id":160808,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:21:49] local.INFO: Processing buffer {"connection_id":160808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:21:49] local.INFO: IMEI packet received {"connection_id":160808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":160808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:21:51] local.INFO: TCP Data received {"connection_id":160807,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:21:51] local.INFO: Processing buffer {"connection_id":160807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:21:51] local.INFO: IMEI packet received {"connection_id":160807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":160807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:21:52] local.INFO: TCP Data received {"connection_id":160807,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027984248012d0bca4007052fb80024000723..."} 
[2026-08-22 09:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027984248012d0bca4007052fb80024000723..."} 
[2026-08-22 09:21:52] local.INFO: Processing buffer {"connection_id":160807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027984248012d0bca4007052fb80024000723..."} 
[2026-08-22 09:21:52] local.INFO: Packet analysis {"connection_id":160807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02798"} 
[2026-08-22 09:21:52] local.INFO: Extracted packet for processing {"connection_id":160807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02798"} 
[2026-08-22 09:21:52] local.INFO: GPS Element Parsed {"raw_longitude":755747392,"raw_latitude":117780408,"longitude_deg":75.5747392,"latitude_deg":11.7780408,"altitude":36,"angle":7,"satellites":35,"speed":13,"hex_longitude":"2d0bca40","hex_latitude":"07052fb8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566895104001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29387312995500032,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849491509864462336,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:52] 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-22 09:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787370685000,"timestamp_ms":1787370685000,"timestamp_seconds":1787370685,"priority":1,"record_length":96,"hex_timestamp":"000001a027984248"} 
[2026-08-22 09: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-22 09:21: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-22 09: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-22 09:21:52] 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-22 09: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-22 09: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-22 09:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566895104001,"66":14330,"97":206,"94":10240,"24":13,"16":29387312995500032,"45":849491509864462336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,94,24,16,45]} 
[2026-08-22 09:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566895104001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-22 09:21:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29387312995500032,"km_value":29387312995500.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":849491509864462336,"description":"Unknown IO ID 45"} 
[2026-08-22 09:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566895104001,"power":14330,"unknown_97":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":849491509864462336}} 
[2026-08-22 09:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":160807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680272,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:21:52] local.INFO: GPS data processed {"connection_id":160807,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:21:52] local.INFO: Acknowledgment sent {"connection_id":160807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:21:53] local.INFO: TCP Data received {"connection_id":160807,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0279878f8012d0bcd80070554480020000722..."} 
[2026-08-22 09:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279878f8012d0bcd80070554480020000722..."} 
[2026-08-22 09:21:53] local.INFO: Processing buffer {"connection_id":160807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279878f8012d0bcd80070554480020000722..."} 
[2026-08-22 09:21:53] local.INFO: Packet analysis {"connection_id":160807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02798"} 
[2026-08-22 09:21:53] local.INFO: Extracted packet for processing {"connection_id":160807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02798"} 
[2026-08-22 09:21:53] local.INFO: GPS Element Parsed {"raw_longitude":755748224,"raw_latitude":117789768,"longitude_deg":75.5748224,"latitude_deg":11.7789768,"altitude":32,"angle":7,"satellites":34,"speed":31,"hex_longitude":"2d0bcd80","hex_latitude":"07055448","is_valid_coordinates":true} 
[2026-08-22 09:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566895360001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29387768262033408,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849561878608721920,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:53] 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-22 09:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787370699000,"timestamp_ms":1787370699000,"timestamp_seconds":1787370699,"priority":1,"record_length":96,"hex_timestamp":"000001a0279878f8"} 
[2026-08-22 09:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-22 09:21:53] 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-22 09:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566895360001,"66":14407,"164":206,"94":10240,"24":31,"16":29387768262033408,"45":849561878608721920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-22 09:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566895360001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:21:53] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-22 09:21:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29387768262033408,"km_value":29387768262033.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":849561878608721920,"description":"Unknown IO ID 45"} 
[2026-08-22 09:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566895360001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":849561878608721920}} 
[2026-08-22 09:21:53] local.INFO: TCP Data received {"connection_id":159658,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:21:53] local.INFO: Processing buffer {"connection_id":159658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:21:53] local.INFO: IMEI packet received {"connection_id":159658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":159658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":160807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680273,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:21:53] local.INFO: GPS data processed {"connection_id":160807,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:21:53] local.INFO: Acknowledgment sent {"connection_id":160807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:21:55] local.INFO: TCP Data received {"connection_id":160808,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:21:55] local.INFO: Processing buffer {"connection_id":160808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:21:55] local.INFO: IMEI packet received {"connection_id":160808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":160808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:21:56] local.INFO: TCP Data received {"connection_id":160808,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:21:56] local.INFO: Processing buffer {"connection_id":160808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:21:56] local.INFO: Packet analysis {"connection_id":160808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:21:56] local.INFO: Extracted packet for processing {"connection_id":160808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763333056,"raw_latitude":95412400,"longitude_deg":76.3333056,"latitude_deg":9.54124,"altitude":0,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7f89c0","hex_latitude":"05afe0b0","is_valid_coordinates":true} 
[2026-08-22 09:21: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-22 09:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566844416001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284333568,"note":"Value kept but may cause issues"} 
[2026-08-22 09: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-22 09:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787370498000,"timestamp_ms":1787370498000,"timestamp_seconds":1787370498,"priority":1,"record_length":96,"hex_timestamp":"000001a0279567d0"} 
[2026-08-22 09: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-22 09:21: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-22 09: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":70,"data_length":795,"current_offset":136} 
[2026-08-22 09:21: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-22 09: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-22 09: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-22 09:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566844416001,"66":27865,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190087645284333568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566844416001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:21:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284333568,"description":"Unknown IO ID 45"} 
[2026-08-22 09:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566844416001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284333568}} 
[2026-08-22 09:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":160808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:21:56] local.INFO: GPS data processed {"connection_id":160808,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:21:56] local.INFO: Acknowledgment sent {"connection_id":160808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:21:56] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:21:56] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:21:56] local.INFO: IMEI packet received {"connection_id":159920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":159920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:21:58] local.INFO: TCP Data received {"connection_id":159658,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:21:58] local.INFO: Processing buffer {"connection_id":159658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:21:58] local.INFO: IMEI packet received {"connection_id":159658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":159658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:21:59] local.INFO: TCP Data received {"connection_id":159658,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02796bba8012d196940071fedd8003e011c27..."} 
[2026-08-22 09:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02796bba8012d196940071fedd8003e011c27..."} 
[2026-08-22 09:21:59] local.INFO: Processing buffer {"connection_id":159658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02796bba8012d196940071fedd8003e011c27..."} 
[2026-08-22 09:21:59] local.INFO: Packet analysis {"connection_id":159658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02796"} 
[2026-08-22 09:21:59] local.INFO: Extracted packet for processing {"connection_id":159658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02796"} 
[2026-08-22 09:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566864384001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:21: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-22 09:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787370585000,"timestamp_ms":1787370585000,"timestamp_seconds":1787370585,"priority":1,"record_length":96,"hex_timestamp":"000001a02796bba8"} 
[2026-08-22 09: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-22 09:21: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-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:21:59] 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-22 09:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566864384001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566864384001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:21:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566864384001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":159658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:21:59] local.INFO: GPS data processed {"connection_id":159658,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:21:59] local.INFO: Acknowledgment sent {"connection_id":159658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:22:01] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:22:01] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:22:01] local.INFO: IMEI packet received {"connection_id":159920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":159920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:22:02] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:22:02] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:22:02] local.INFO: Packet analysis {"connection_id":159920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:22:02] local.INFO: Extracted packet for processing {"connection_id":159920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:22: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-22 09:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566770432001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:22:02] 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-22 09:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787370498000,"timestamp_ms":1787370498000,"timestamp_seconds":1787370498,"priority":1,"record_length":96,"hex_timestamp":"000001a0279567d0"} 
[2026-08-22 09:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:22:02] 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-22 09:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:22:02] 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-22 09:22: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-22 09:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:22:02] 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-22 09:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566770432001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566770432001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:22:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566770432001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":159920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:22:02] local.INFO: GPS data processed {"connection_id":159920,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:22:02] local.INFO: Acknowledgment sent {"connection_id":159920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:22:27] local.INFO: TCP Data received {"connection_id":160808,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:22:27] local.INFO: Processing buffer {"connection_id":160808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:22:27] local.INFO: Packet analysis {"connection_id":160808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:22:27] local.INFO: Extracted packet for processing {"connection_id":160808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763333056,"raw_latitude":95412400,"longitude_deg":76.3333056,"latitude_deg":9.54124,"altitude":0,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7f89c0","hex_latitude":"05afe0b0","is_valid_coordinates":true} 
[2026-08-22 09:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566844416001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284333568,"note":"Value kept but may cause issues"} 
[2026-08-22 09:22: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-22 09:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787370498000,"timestamp_ms":1787370498000,"timestamp_seconds":1787370498,"priority":1,"record_length":96,"hex_timestamp":"000001a0279567d0"} 
[2026-08-22 09:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:22: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-22 09:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-22 09:22: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-22 09:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566844416001,"66":27865,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190087645284333568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566844416001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:22:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284333568,"description":"Unknown IO ID 45"} 
[2026-08-22 09:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566844416001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284333568}} 
[2026-08-22 09:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":160808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:22:27] local.INFO: GPS data processed {"connection_id":160808,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:22:27] local.INFO: Acknowledgment sent {"connection_id":160808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:22:30] local.INFO: TCP Data received {"connection_id":159658,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027970db0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027970db0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:22:30] local.INFO: Processing buffer {"connection_id":159658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027970db0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:22:30] local.INFO: Packet analysis {"connection_id":159658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02797"} 
[2026-08-22 09:22:30] local.INFO: Extracted packet for processing {"connection_id":159658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02797"} 
[2026-08-22 09:22:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566869760001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:22: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-22 09:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787370606000,"timestamp_ms":1787370606000,"timestamp_seconds":1787370606,"priority":1,"record_length":96,"hex_timestamp":"000001a027970db0"} 
[2026-08-22 09: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-22 09:22: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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:22:30] 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-22 09:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566869760001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566869760001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:22:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:22:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566869760001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":159658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:22:30] local.INFO: GPS data processed {"connection_id":159658,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:22:30] local.INFO: Acknowledgment sent {"connection_id":159658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:22:34] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:22:34] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:22:34] local.INFO: Packet analysis {"connection_id":159920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:22:34] local.INFO: Extracted packet for processing {"connection_id":159920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:22:34] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566770432001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:22:34] 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-22 09:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787370498000,"timestamp_ms":1787370498000,"timestamp_seconds":1787370498,"priority":1,"record_length":96,"hex_timestamp":"000001a0279567d0"} 
[2026-08-22 09: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-22 09:22:34] 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-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:22:34] 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-22 09: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-22 09: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-22 09:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:22:34] 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-22 09:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566770432001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566770432001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:22:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:22:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566770432001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":159920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:22:34] local.INFO: GPS data processed {"connection_id":159920,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:22:34] local.INFO: Acknowledgment sent {"connection_id":159920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:22:49] local.INFO: TCP Data received {"connection_id":160809,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:22:49] local.INFO: Processing buffer {"connection_id":160809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:22:49] local.INFO: IMEI packet received {"connection_id":160809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":160809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:22:55] local.INFO: TCP Data received {"connection_id":160809,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:22:55] local.INFO: Processing buffer {"connection_id":160809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:22:55] local.INFO: IMEI packet received {"connection_id":160809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":160809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:22:55] local.INFO: TCP Data received {"connection_id":160809,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:22:55] local.INFO: Processing buffer {"connection_id":160809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:22:55] local.INFO: Packet analysis {"connection_id":160809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:22:55] local.INFO: Extracted packet for processing {"connection_id":160809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:22:55] local.INFO: GPS Element Parsed {"raw_longitude":763333056,"raw_latitude":95412400,"longitude_deg":76.3333056,"latitude_deg":9.54124,"altitude":0,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7f89c0","hex_latitude":"05afe0b0","is_valid_coordinates":true} 
[2026-08-22 09:22: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-22 09:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566844416001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284333568,"note":"Value kept but may cause issues"} 
[2026-08-22 09: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-22 09:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787370498000,"timestamp_ms":1787370498000,"timestamp_seconds":1787370498,"priority":1,"record_length":96,"hex_timestamp":"000001a0279567d0"} 
[2026-08-22 09: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-22 09: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-22 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-22 09:22:55] 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-22 09: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-22 09: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-22 09:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566844416001,"66":27865,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190087645284333568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566844416001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:22:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:22:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284333568,"description":"Unknown IO ID 45"} 
[2026-08-22 09:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566844416001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284333568}} 
[2026-08-22 09:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":160809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:22:55] local.INFO: GPS data processed {"connection_id":160809,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:22:55] local.INFO: Acknowledgment sent {"connection_id":160809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:22:56] local.INFO: TCP Data received {"connection_id":160811,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:22:56] local.INFO: Processing buffer {"connection_id":160811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:22:56] local.INFO: IMEI packet received {"connection_id":160811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":160811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:22:58] local.INFO: TCP Data received {"connection_id":160810,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:22:58] local.INFO: Processing buffer {"connection_id":160810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:22:58] local.INFO: IMEI packet received {"connection_id":160810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":160810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:23:01] local.INFO: TCP Data received {"connection_id":160811,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:23:01] local.INFO: Processing buffer {"connection_id":160811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:23:01] local.INFO: IMEI packet received {"connection_id":160811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":160811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:23:02] local.INFO: TCP Data received {"connection_id":160811,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:23:02] local.INFO: Processing buffer {"connection_id":160811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279567d0012d7b3ec005e1e4a0000000ab29..."} 
[2026-08-22 09:23:02] local.INFO: Packet analysis {"connection_id":160811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:23:02] local.INFO: Extracted packet for processing {"connection_id":160811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566770432001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:02] 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-22 09:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787370498000,"timestamp_ms":1787370498000,"timestamp_seconds":1787370498,"priority":1,"record_length":96,"hex_timestamp":"000001a0279567d0"} 
[2026-08-22 09:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:23:02] 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-22 09:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:23:02] 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-22 09:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:23:02] 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-22 09:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566770432001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566770432001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:23:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566770432001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":160811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:23:02] local.INFO: GPS data processed {"connection_id":160811,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:23:02] local.INFO: Acknowledgment sent {"connection_id":160811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:23:03] local.INFO: TCP Data received {"connection_id":160810,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:23:03] local.INFO: Processing buffer {"connection_id":160810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:23:03] local.INFO: IMEI packet received {"connection_id":160810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":160810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:23:04] local.INFO: TCP Data received {"connection_id":160810,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027975fb8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027975fb8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:23:04] local.INFO: Processing buffer {"connection_id":160810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027975fb8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:23:04] local.INFO: Packet analysis {"connection_id":160810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02797"} 
[2026-08-22 09:23:04] local.INFO: Extracted packet for processing {"connection_id":160810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02797"} 
[2026-08-22 09:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566875136001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787370627000,"timestamp_ms":1787370627000,"timestamp_seconds":1787370627,"priority":1,"record_length":96,"hex_timestamp":"000001a027975fb8"} 
[2026-08-22 09:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:23: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-22 09:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:23:04] 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-22 09:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:23:04] 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-22 09:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566875136001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566875136001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:23:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:23:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566875136001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":160810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:23:04] local.INFO: GPS data processed {"connection_id":160810,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:23:04] local.INFO: Acknowledgment sent {"connection_id":160810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:23:09] local.INFO: TCP Data received {"connection_id":160810,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02797b1c0012d196940071fedd8003e011c26..."} 
[2026-08-22 09:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02797b1c0012d196940071fedd8003e011c26..."} 
[2026-08-22 09:23:09] local.INFO: Processing buffer {"connection_id":160810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02797b1c0012d196940071fedd8003e011c26..."} 
[2026-08-22 09:23:09] local.INFO: Packet analysis {"connection_id":160810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02797"} 
[2026-08-22 09:23:09] local.INFO: Extracted packet for processing {"connection_id":160810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02797"} 
[2026-08-22 09:23:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566880512001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787370648000,"timestamp_ms":1787370648000,"timestamp_seconds":1787370648,"priority":1,"record_length":96,"hex_timestamp":"000001a02797b1c0"} 
[2026-08-22 09:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:23:09] 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-22 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:23:09] 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-22 09:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566880512001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566880512001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:23:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:23:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566880512001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":160810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:23:09] local.INFO: GPS data processed {"connection_id":160810,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:23:09] local.INFO: Acknowledgment sent {"connection_id":160810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:23:26] local.INFO: TCP Data received {"connection_id":160809,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:23:26] local.INFO: Processing buffer {"connection_id":160809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279567d0012d7f89c005afe0b0000000e023..."} 
[2026-08-22 09:23:26] local.INFO: Packet analysis {"connection_id":160809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:23:26] local.INFO: Extracted packet for processing {"connection_id":160809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02795"} 
[2026-08-22 09:23:26] local.INFO: GPS Element Parsed {"raw_longitude":763333056,"raw_latitude":95412400,"longitude_deg":76.3333056,"latitude_deg":9.54124,"altitude":0,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7f89c0","hex_latitude":"05afe0b0","is_valid_coordinates":true} 
[2026-08-22 09:23: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-22 09:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566844416001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284333568,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23: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-22 09:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787370498000,"timestamp_ms":1787370498000,"timestamp_seconds":1787370498,"priority":1,"record_length":96,"hex_timestamp":"000001a0279567d0"} 
[2026-08-22 09: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-22 09: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-22 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-22 09:23: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-22 09: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-22 09: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-22 09:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566844416001,"66":27865,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190087645284333568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566844416001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:23:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:23:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284333568,"description":"Unknown IO ID 45"} 
[2026-08-22 09:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566844416001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284333568}} 
[2026-08-22 09:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":160809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:23:26] local.INFO: GPS data processed {"connection_id":160809,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:23:26] local.INFO: Acknowledgment sent {"connection_id":160809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:23:33] local.INFO: TCP Data received {"connection_id":160811,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:23:33] local.INFO: Processing buffer {"connection_id":160811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:23:33] local.INFO: Packet analysis {"connection_id":160811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:23:33] local.INFO: Extracted packet for processing {"connection_id":160811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":34,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:33] 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-22 09:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787370799000,"timestamp_ms":1787370799000,"timestamp_seconds":1787370799,"priority":1,"record_length":96,"hex_timestamp":"000001a02799ff98"} 
[2026-08-22 09: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-22 09:23:33] 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-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:23:33] 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-22 09: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-22 09: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-22 09:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:23:33] 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-22 09:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":2242,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:23:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":2242,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":160811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:23:33] local.INFO: GPS data processed {"connection_id":160811,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:23:33] local.INFO: Acknowledgment sent {"connection_id":160811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:23:43] local.INFO: TCP Data received {"connection_id":159659,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159659,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:23:43] local.INFO: Processing buffer {"connection_id":159659,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:23:43] local.INFO: IMEI packet received {"connection_id":159659,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":159659,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:23:46] local.INFO: TCP Data received {"connection_id":159659,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159659,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:23:46] local.INFO: Processing buffer {"connection_id":159659,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:23:46] local.INFO: IMEI packet received {"connection_id":159659,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":159659,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:23:49] local.INFO: TCP Data received {"connection_id":159660,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:23:49] local.INFO: Processing buffer {"connection_id":159660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:23:49] local.INFO: IMEI packet received {"connection_id":159660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":159660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:23:51] local.INFO: TCP Data received {"connection_id":159659,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159659,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:23:51] local.INFO: Processing buffer {"connection_id":159659,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:23:51] local.INFO: IMEI packet received {"connection_id":159659,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":159659,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:23:53] local.INFO: TCP Data received {"connection_id":159659,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02799ad90012d0c3c00070581e00017007125..."} 
[2026-08-22 09:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799ad90012d0c3c00070581e00017007125..."} 
[2026-08-22 09:23:53] local.INFO: Processing buffer {"connection_id":159659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799ad90012d0c3c00070581e00017007125..."} 
[2026-08-22 09:23:53] local.INFO: Packet analysis {"connection_id":159659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:23:53] local.INFO: Extracted packet for processing {"connection_id":159659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:23:53] local.INFO: GPS Element Parsed {"raw_longitude":755776512,"raw_latitude":117801440,"longitude_deg":75.5776512,"latitude_deg":11.780144,"altitude":23,"angle":113,"satellites":37,"speed":7,"hex_longitude":"2d0c3c00","hex_latitude":"070581e0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566918400001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29390104724242432,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881157444749996032,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:53] 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-22 09:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787370778000,"timestamp_ms":1787370778000,"timestamp_seconds":1787370778,"priority":1,"record_length":96,"hex_timestamp":"000001a02799ad90"} 
[2026-08-22 09: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-22 09:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 09:23:53] 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-22 09: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-22 09: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-22 09:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159659,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159659,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566918400001,"66":14374,"164":206,"94":10240,"24":7,"16":29390104724242432,"45":881157444749996032},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-22 09:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566918400001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:23:53] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-22 09:23:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29390104724242432,"km_value":29390104724242.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":881157444749996032,"description":"Unknown IO ID 45"} 
[2026-08-22 09:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566918400001,"power":14374,"unknown_164":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":881157444749996032}} 
[2026-08-22 09:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":159659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680286,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:23:53] local.INFO: GPS data processed {"connection_id":159659,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:23:53] local.INFO: Acknowledgment sent {"connection_id":159659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:23:53] local.INFO: TCP Data received {"connection_id":159661,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:23:53] local.INFO: Processing buffer {"connection_id":159661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:23:53] local.INFO: IMEI packet received {"connection_id":159661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":159661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:23:53] local.INFO: TCP Data received {"connection_id":159661,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:23:53] local.INFO: Processing buffer {"connection_id":159661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:23:53] local.INFO: IMEI packet received {"connection_id":159661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":159661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:23:55] local.INFO: TCP Data received {"connection_id":159660,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:23:55] local.INFO: Processing buffer {"connection_id":159660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:23:55] local.INFO: IMEI packet received {"connection_id":159660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":159660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:23:55] local.INFO: TCP Data received {"connection_id":159660,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:23:55] local.INFO: Processing buffer {"connection_id":159660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:23:55] local.INFO: Packet analysis {"connection_id":159660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:23:55] local.INFO: Extracted packet for processing {"connection_id":159660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:23:55] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":34,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284315136,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23: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-22 09:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787370797000,"timestamp_ms":1787370797000,"timestamp_seconds":1787370797,"priority":1,"record_length":96,"hex_timestamp":"000001a02799f7c8"} 
[2026-08-22 09: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-22 09:23: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-22 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 09:23: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-22 09: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-22 09: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-22 09:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":25952,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190087645284315136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:23:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:23:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284315136,"description":"Unknown IO ID 45"} 
[2026-08-22 09:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284315136}} 
[2026-08-22 09:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":159660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:23:55] local.INFO: GPS data processed {"connection_id":159660,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:23:55] local.INFO: Acknowledgment sent {"connection_id":159660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:23:56] local.INFO: TCP Data received {"connection_id":159921,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:23:56] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:23:56] local.INFO: IMEI packet received {"connection_id":159921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":159921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:23:58] local.INFO: TCP Data received {"connection_id":159661,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:23:58] local.INFO: Processing buffer {"connection_id":159661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:23:58] local.INFO: IMEI packet received {"connection_id":159661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":159661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:23:59] local.INFO: TCP Data received {"connection_id":159661,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0279803c8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279803c8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:23:59] local.INFO: Processing buffer {"connection_id":159661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279803c8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:23:59] local.INFO: Packet analysis {"connection_id":159661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02798"} 
[2026-08-22 09:23:59] local.INFO: Extracted packet for processing {"connection_id":159661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02798"} 
[2026-08-22 09:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566885888001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23: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-22 09:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787370669000,"timestamp_ms":1787370669000,"timestamp_seconds":1787370669,"priority":1,"record_length":96,"hex_timestamp":"000001a0279803c8"} 
[2026-08-22 09: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-22 09:23: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-22 09:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2852312966981556585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79978475804426240,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2523504641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:23:59] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-08-22 09:23:59] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,160,95,45,64,237,62,38,10,66,13,37,187,1,240,53,227,39,31,4,113,205,23,105,216,239,48,2,51,7,36],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:23:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:23:59] 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-22 09:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566885888001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566885888001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:23:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:23:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566885888001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":159661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:23:59] local.INFO: GPS data processed {"connection_id":159661,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:23:59] local.INFO: Acknowledgment sent {"connection_id":159661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:24:01] local.INFO: TCP Data received {"connection_id":159921,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:24:01] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:24:01] local.INFO: IMEI packet received {"connection_id":159921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":159921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:24:02] local.INFO: TCP Data received {"connection_id":159921,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:24:02] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:24:02] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:24:02] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":34,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:02] 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-22 09:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787370799000,"timestamp_ms":1787370799000,"timestamp_seconds":1787370799,"priority":1,"record_length":96,"hex_timestamp":"000001a02799ff98"} 
[2026-08-22 09: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-22 09:24:02] 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-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:24:02] 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-22 09: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-22 09: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-22 09:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:24:02] 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-22 09:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":2242,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:24:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":2242,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:24:02] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:24:02] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:24:27] local.INFO: TCP Data received {"connection_id":159660,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:24:27] local.INFO: Processing buffer {"connection_id":159660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:24:27] local.INFO: Packet analysis {"connection_id":159660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:24:27] local.INFO: Extracted packet for processing {"connection_id":159660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":34,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284315136,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24: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-22 09:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787370797000,"timestamp_ms":1787370797000,"timestamp_seconds":1787370797,"priority":1,"record_length":96,"hex_timestamp":"000001a02799f7c8"} 
[2026-08-22 09:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:24: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-22 09:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 09:24: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-22 09:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":25952,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190087645284315136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:24:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:24:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284315136,"description":"Unknown IO ID 45"} 
[2026-08-22 09:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284315136}} 
[2026-08-22 09:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":159660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:24:27] local.INFO: GPS data processed {"connection_id":159660,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:24:27] local.INFO: Acknowledgment sent {"connection_id":159660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:24:30] local.INFO: TCP Data received {"connection_id":159661,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0279855d0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279855d0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:24:30] local.INFO: Processing buffer {"connection_id":159661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279855d0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:24:30] local.INFO: Packet analysis {"connection_id":159661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02798"} 
[2026-08-22 09:24:30] local.INFO: Extracted packet for processing {"connection_id":159661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02798"} 
[2026-08-22 09:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566891264001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24: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-22 09:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787370690000,"timestamp_ms":1787370690000,"timestamp_seconds":1787370690,"priority":1,"record_length":96,"hex_timestamp":"000001a0279855d0"} 
[2026-08-22 09: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-22 09:24: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-22 09:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:24:30] 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-22 09:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566891264001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566891264001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:24:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566891264001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":159661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:24:30] local.INFO: GPS data processed {"connection_id":159661,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:24:30] local.INFO: Acknowledgment sent {"connection_id":159661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:24:34] local.INFO: TCP Data received {"connection_id":159921,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:24:34] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:24:34] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:24:34] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:24:34] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":34,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:34] 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-22 09:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787370799000,"timestamp_ms":1787370799000,"timestamp_seconds":1787370799,"priority":1,"record_length":96,"hex_timestamp":"000001a02799ff98"} 
[2026-08-22 09: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-22 09:24:34] 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-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:24:34] 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-22 09: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-22 09: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-22 09:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:24:34] 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-22 09:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":2242,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:24:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:24:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":2242,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:24:34] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:24:34] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:24:49] local.INFO: TCP Data received {"connection_id":159662,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:24:49] local.INFO: Processing buffer {"connection_id":159662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:24:49] local.INFO: IMEI packet received {"connection_id":159662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":159662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:24:53] local.INFO: TCP Data received {"connection_id":162232,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:24:53] local.INFO: Processing buffer {"connection_id":162232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:24:53] local.INFO: IMEI packet received {"connection_id":162232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":162232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:24:55] local.INFO: TCP Data received {"connection_id":159662,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:24:55] local.INFO: Processing buffer {"connection_id":159662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:24:55] local.INFO: IMEI packet received {"connection_id":159662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":159662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:24:55] local.INFO: TCP Data received {"connection_id":159662,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:24:55] local.INFO: Processing buffer {"connection_id":159662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:24:55] local.INFO: Packet analysis {"connection_id":159662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:24:55] local.INFO: Extracted packet for processing {"connection_id":159662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":34,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284315136,"note":"Value kept but may cause issues"} 
[2026-08-22 09: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-22 09:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787370797000,"timestamp_ms":1787370797000,"timestamp_seconds":1787370797,"priority":1,"record_length":96,"hex_timestamp":"000001a02799f7c8"} 
[2026-08-22 09: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-22 09:24: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-22 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 09:24: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-22 09: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-22 09: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-22 09:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":25952,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190087645284315136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:24:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284315136,"description":"Unknown IO ID 45"} 
[2026-08-22 09:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284315136}} 
[2026-08-22 09:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":159662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:24:55] local.INFO: GPS data processed {"connection_id":159662,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:24:55] local.INFO: Acknowledgment sent {"connection_id":159662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:24:56] local.INFO: TCP Data received {"connection_id":162233,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:24:56] local.INFO: Processing buffer {"connection_id":162233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:24:56] local.INFO: IMEI packet received {"connection_id":162233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":162233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:24:56] local.INFO: TCP Data received {"connection_id":162232,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:24:56] local.INFO: Processing buffer {"connection_id":162232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:24:56] local.INFO: IMEI packet received {"connection_id":162232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":162232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:24:57] local.INFO: TCP Data received {"connection_id":162232,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02798a7d8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02798a7d8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:24:57] local.INFO: Processing buffer {"connection_id":162232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02798a7d8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:24:57] local.INFO: Packet analysis {"connection_id":162232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02798"} 
[2026-08-22 09:24:57] local.INFO: Extracted packet for processing {"connection_id":162232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02798"} 
[2026-08-22 09:24:57] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566896640001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24: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-22 09:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787370711000,"timestamp_ms":1787370711000,"timestamp_seconds":1787370711,"priority":1,"record_length":96,"hex_timestamp":"000001a02798a7d8"} 
[2026-08-22 09: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-22 09:24:57] 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-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2852493355607988585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:57] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79979575316054016,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:24:57] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-08-22 09:24:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,3,45,64,237,62,38,10,66,177,95,1,240,53,227,39,31,4,113,205,187,105,216,239,48,2,51,7,37],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:24:57] 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-22 09: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-22 09:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:24:57] 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-22 09:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566896640001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566896640001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:24:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:24:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566896640001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":162232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:24:57] local.INFO: GPS data processed {"connection_id":162232,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:24:57] local.INFO: Acknowledgment sent {"connection_id":162232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:25:01] local.INFO: TCP Data received {"connection_id":162233,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:25:01] local.INFO: Processing buffer {"connection_id":162233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:25:01] local.INFO: IMEI packet received {"connection_id":162233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":162233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:25:03] local.INFO: TCP Data received {"connection_id":162233,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:25:03] local.INFO: Processing buffer {"connection_id":162233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:25:03] local.INFO: Packet analysis {"connection_id":162233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:25:03] local.INFO: Extracted packet for processing {"connection_id":162233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:25:03] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":34,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:25: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-22 09:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:03] 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-22 09:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787370799000,"timestamp_ms":1787370799000,"timestamp_seconds":1787370799,"priority":1,"record_length":96,"hex_timestamp":"000001a02799ff98"} 
[2026-08-22 09:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:25:03] 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-22 09:25: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":795,"current_offset":136} 
[2026-08-22 09:25:03] 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-22 09:25: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-22 09:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:25:03] 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-22 09:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":2242,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:25:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:25:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":2242,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":162233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:25:03] local.INFO: GPS data processed {"connection_id":162233,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:25:03] local.INFO: Acknowledgment sent {"connection_id":162233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:25:16] local.INFO: TCP Data received {"connection_id":162234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162234,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:16] local.INFO: Processing buffer {"connection_id":162234,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:16] local.INFO: IMEI packet received {"connection_id":162234,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":162234,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:25:17] local.INFO: TCP Data received {"connection_id":162234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162234,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:17] local.INFO: Processing buffer {"connection_id":162234,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:17] local.INFO: IMEI packet received {"connection_id":162234,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":162234,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:25:20] local.INFO: TCP Data received {"connection_id":162234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162234,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:20] local.INFO: Processing buffer {"connection_id":162234,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:20] local.INFO: IMEI packet received {"connection_id":162234,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":162234,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:25:26] local.INFO: TCP Data received {"connection_id":159662,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:25:26] local.INFO: Processing buffer {"connection_id":159662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:25:26] local.INFO: Packet analysis {"connection_id":159662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:25:26] local.INFO: Extracted packet for processing {"connection_id":159662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":34,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284315136,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25: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-22 09:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787370797000,"timestamp_ms":1787370797000,"timestamp_seconds":1787370797,"priority":1,"record_length":96,"hex_timestamp":"000001a02799f7c8"} 
[2026-08-22 09: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-22 09: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-22 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 09:25: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-22 09: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-22 09: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-22 09:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":25952,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190087645284315136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:25:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284315136,"description":"Unknown IO ID 45"} 
[2026-08-22 09:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284315136}} 
[2026-08-22 09:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":159662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:25:26] local.INFO: GPS data processed {"connection_id":159662,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:25:26] local.INFO: Acknowledgment sent {"connection_id":159662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:25:28] local.INFO: TCP Data received {"connection_id":162232,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02798f9e0012d196940071fedd8003e011c23..."} 
[2026-08-22 09:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02798f9e0012d196940071fedd8003e011c23..."} 
[2026-08-22 09:25:28] local.INFO: Processing buffer {"connection_id":162232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02798f9e0012d196940071fedd8003e011c23..."} 
[2026-08-22 09:25:28] local.INFO: Packet analysis {"connection_id":162232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02798"} 
[2026-08-22 09:25:28] local.INFO: Extracted packet for processing {"connection_id":162232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02798"} 
[2026-08-22 09:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566902016001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787370732000,"timestamp_ms":1787370732000,"timestamp_seconds":1787370732,"priority":1,"record_length":96,"hex_timestamp":"000001a02798f9e0"} 
[2026-08-22 09: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-22 09:25: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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:25:28] 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-22 09: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-22 09: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-22 09:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:25:28] 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-22 09:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566902016001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566902016001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:25:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:25:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566902016001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":162232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:25:28] local.INFO: GPS data processed {"connection_id":162232,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:25:28] local.INFO: Acknowledgment sent {"connection_id":162232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:25:34] local.INFO: TCP Data received {"connection_id":162233,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:25:34] local.INFO: Processing buffer {"connection_id":162233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:25:34] local.INFO: Packet analysis {"connection_id":162233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:25:34] local.INFO: Extracted packet for processing {"connection_id":162233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":34,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:34] 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-22 09:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787370799000,"timestamp_ms":1787370799000,"timestamp_seconds":1787370799,"priority":1,"record_length":96,"hex_timestamp":"000001a02799ff98"} 
[2026-08-22 09: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-22 09:25:34] 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-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:25:34] 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-22 09: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-22 09: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-22 09:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:25:34] 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-22 09:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":2242,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:25:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":2242,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":162233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:25:34] local.INFO: GPS data processed {"connection_id":162233,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:25:34] local.INFO: Acknowledgment sent {"connection_id":162233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:25:45] local.INFO: TCP Data received {"connection_id":159663,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:45] local.INFO: Processing buffer {"connection_id":159663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:45] local.INFO: IMEI packet received {"connection_id":159663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":159663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:25:46] local.INFO: TCP Data received {"connection_id":159663,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:46] local.INFO: Processing buffer {"connection_id":159663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:46] local.INFO: IMEI packet received {"connection_id":159663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":159663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:25:49] local.INFO: TCP Data received {"connection_id":159664,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:25:49] local.INFO: Processing buffer {"connection_id":159664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:25:49] local.INFO: IMEI packet received {"connection_id":159664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":159664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:25:51] local.INFO: TCP Data received {"connection_id":159663,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:51] local.INFO: Processing buffer {"connection_id":159663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:25:51] local.INFO: IMEI packet received {"connection_id":159663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":159663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:25:52] local.INFO: TCP Data received {"connection_id":159663,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0279c0338012d0c89c00704de000017009624..."} 
[2026-08-22 09:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279c0338012d0c89c00704de000017009624..."} 
[2026-08-22 09:25:52] local.INFO: Processing buffer {"connection_id":159663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279c0338012d0c89c00704de000017009624..."} 
[2026-08-22 09:25:52] local.INFO: Packet analysis {"connection_id":159663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279c"} 
[2026-08-22 09:25:52] local.INFO: Extracted packet for processing {"connection_id":159663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279c"} 
[2026-08-22 09:25:52] local.INFO: GPS Element Parsed {"raw_longitude":755796416,"raw_latitude":117759488,"longitude_deg":75.5796416,"latitude_deg":11.7759488,"altitude":23,"angle":150,"satellites":36,"speed":37,"hex_longitude":"2d0c89c0","hex_latitude":"0704de00","is_valid_coordinates":true} 
[2026-08-22 09:25: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-22 09:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566955776001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29392990942265344,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896708937204084736,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:52] 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-22 09:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787370931000,"timestamp_ms":1787370931000,"timestamp_seconds":1787370931,"priority":1,"record_length":96,"hex_timestamp":"000001a0279c0338"} 
[2026-08-22 09:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:25: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-22 09:25: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":179,"data_length":795,"current_offset":136} 
[2026-08-22 09:25:52] 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-22 09:25: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-22 09:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566955776001,"66":14396,"95":206,"94":10240,"24":37,"16":29392990942265344,"45":896708937204084736},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-22 09:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566955776001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:25:52] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-22 09:25:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29392990942265344,"km_value":29392990942265.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":896708937204084736,"description":"Unknown IO ID 45"} 
[2026-08-22 09:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566955776001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":896708937204084736}} 
[2026-08-22 09:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":159663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680299,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:25:52] local.INFO: GPS data processed {"connection_id":159663,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:25:52] local.INFO: Acknowledgment sent {"connection_id":159663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:25:54] local.INFO: TCP Data received {"connection_id":162235,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:25:54] local.INFO: Processing buffer {"connection_id":162235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:25:54] local.INFO: IMEI packet received {"connection_id":162235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":162235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:25:54] local.INFO: TCP Data received {"connection_id":159664,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:25:54] local.INFO: Processing buffer {"connection_id":159664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:25:54] local.INFO: IMEI packet received {"connection_id":159664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":159664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:25:55] local.INFO: TCP Data received {"connection_id":159664,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:25:55] local.INFO: Processing buffer {"connection_id":159664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:25:55] local.INFO: Packet analysis {"connection_id":159664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:25:55] local.INFO: Extracted packet for processing {"connection_id":159664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:25:55] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":34,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284315136,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25: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-22 09:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787370797000,"timestamp_ms":1787370797000,"timestamp_seconds":1787370797,"priority":1,"record_length":96,"hex_timestamp":"000001a02799f7c8"} 
[2026-08-22 09: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-22 09:25: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-22 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 09:25: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-22 09: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-22 09: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-22 09:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":25952,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190087645284315136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:25:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:25:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284315136,"description":"Unknown IO ID 45"} 
[2026-08-22 09:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284315136}} 
[2026-08-22 09:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":159664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:25:55] local.INFO: GPS data processed {"connection_id":159664,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:25:55] local.INFO: Acknowledgment sent {"connection_id":159664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:25:58] local.INFO: TCP Data received {"connection_id":162235,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:25:58] local.INFO: Processing buffer {"connection_id":162235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:25:58] local.INFO: IMEI packet received {"connection_id":162235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":162235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:25:59] local.INFO: TCP Data received {"connection_id":162235,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027994be8012d196940071fedd8003e011c24..."} 
[2026-08-22 09:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027994be8012d196940071fedd8003e011c24..."} 
[2026-08-22 09:25:59] local.INFO: Processing buffer {"connection_id":162235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027994be8012d196940071fedd8003e011c24..."} 
[2026-08-22 09:25:59] local.INFO: Packet analysis {"connection_id":162235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:25:59] local.INFO: Extracted packet for processing {"connection_id":162235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566907392001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25: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-22 09:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787370753000,"timestamp_ms":1787370753000,"timestamp_seconds":1787370753,"priority":1,"record_length":96,"hex_timestamp":"000001a027994be8"} 
[2026-08-22 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-22 09:25: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-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2852673744234420585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79979575316054016,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:25:59] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-08-22 09:25:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,160,167,45,64,237,62,38,10,66,85,39,3,1,240,53,227,31,4,113,205,95,105,216,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:25:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883241977675776,"timestamp_seconds":4467883241977676.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 09:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:25:59] 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-22 09:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566907392001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566907392001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:25:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566907392001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":162235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:25:59] local.INFO: GPS data processed {"connection_id":162235,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:25:59] local.INFO: Acknowledgment sent {"connection_id":162235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:26:01] local.INFO: TCP Data received {"connection_id":162236,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:26:01] local.INFO: Processing buffer {"connection_id":162236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:26:01] local.INFO: IMEI packet received {"connection_id":162236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":162236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:26:02] local.INFO: TCP Data received {"connection_id":162236,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:26:02] local.INFO: Processing buffer {"connection_id":162236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:26:02] local.INFO: Packet analysis {"connection_id":162236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:26:02] local.INFO: Extracted packet for processing {"connection_id":162236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":34,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:26: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-22 09:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:26:02] 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-22 09:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787370799000,"timestamp_ms":1787370799000,"timestamp_seconds":1787370799,"priority":1,"record_length":96,"hex_timestamp":"000001a02799ff98"} 
[2026-08-22 09:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:26:02] 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-22 09:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:26:02] 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-22 09:26: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-22 09:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:26:02] 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-22 09:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":2242,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:26:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":2242,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":162236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:26:02] local.INFO: GPS data processed {"connection_id":162236,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:26:02] local.INFO: Acknowledgment sent {"connection_id":162236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:26:26] local.INFO: TCP Data received {"connection_id":159664,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:26:26] local.INFO: Processing buffer {"connection_id":159664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:26:26] local.INFO: Packet analysis {"connection_id":159664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:26:26] local.INFO: Extracted packet for processing {"connection_id":159664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:26:26] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":34,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284315136,"note":"Value kept but may cause issues"} 
[2026-08-22 09:26: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-22 09:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787370797000,"timestamp_ms":1787370797000,"timestamp_seconds":1787370797,"priority":1,"record_length":96,"hex_timestamp":"000001a02799f7c8"} 
[2026-08-22 09: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-22 09: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-22 09: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":217,"data_length":795,"current_offset":136} 
[2026-08-22 09:26: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-22 09: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-22 09: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-22 09:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":25952,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190087645284315136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:26:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:26:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284315136,"description":"Unknown IO ID 45"} 
[2026-08-22 09:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284315136}} 
[2026-08-22 09:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":159664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:26:26] local.INFO: GPS data processed {"connection_id":159664,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:26:26] local.INFO: Acknowledgment sent {"connection_id":159664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:26:30] local.INFO: TCP Data received {"connection_id":162235,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027999df0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027999df0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:26:30] local.INFO: Processing buffer {"connection_id":162235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027999df0012d196940071fedd8003e011c25..."} 
[2026-08-22 09:26:30] local.INFO: Packet analysis {"connection_id":162235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:26:30] local.INFO: Extracted packet for processing {"connection_id":162235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:26:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566912768001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:26: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-22 09:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787370774000,"timestamp_ms":1787370774000,"timestamp_seconds":1787370774,"priority":1,"record_length":96,"hex_timestamp":"000001a027999df0"} 
[2026-08-22 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-22 09:26:30] 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-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:26:30] 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-22 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-22 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-22 09:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:26:30] 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-22 09:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566912768001,"66":12015,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566912768001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:26:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566912768001,"power":12015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":162235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:26:30] local.INFO: GPS data processed {"connection_id":162235,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:26:30] local.INFO: Acknowledgment sent {"connection_id":162235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:26:34] local.INFO: TCP Data received {"connection_id":162236,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:26:34] local.INFO: Processing buffer {"connection_id":162236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:26:34] local.INFO: Packet analysis {"connection_id":162236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:26:34] local.INFO: Extracted packet for processing {"connection_id":162236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:26:34] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":34,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:26:34] 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-22 09:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787370799000,"timestamp_ms":1787370799000,"timestamp_seconds":1787370799,"priority":1,"record_length":96,"hex_timestamp":"000001a02799ff98"} 
[2026-08-22 09:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:26:34] 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-22 09:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:26:34] 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-22 09:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:26:34] 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-22 09:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":2242,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:26:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:26:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":2242,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":162236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:26:34] local.INFO: GPS data processed {"connection_id":162236,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:26:34] local.INFO: Acknowledgment sent {"connection_id":162236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:26:53] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:26:53] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:26:53] local.INFO: IMEI packet received {"connection_id":159923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":159923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:26:54] local.INFO: TCP Data received {"connection_id":159665,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:26:54] local.INFO: Processing buffer {"connection_id":159665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:26:54] local.INFO: IMEI packet received {"connection_id":159665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":159665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:26:56] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:26:56] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:26:56] local.INFO: IMEI packet received {"connection_id":159922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":159922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:26:58] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:26:58] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:26:58] local.INFO: IMEI packet received {"connection_id":159923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":159923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:26:59] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02799eff8012d196940071fedd8003e011c23..."} 
[2026-08-22 09:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799eff8012d196940071fedd8003e011c23..."} 
[2026-08-22 09:26:59] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799eff8012d196940071fedd8003e011c23..."} 
[2026-08-22 09:26:59] local.INFO: Packet analysis {"connection_id":159923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:26:59] local.INFO: Extracted packet for processing {"connection_id":159923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566918144001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:26: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-22 09:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787370795000,"timestamp_ms":1787370795000,"timestamp_seconds":1787370795,"priority":1,"record_length":96,"hex_timestamp":"000001a02799eff8"} 
[2026-08-22 09: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-22 09:26: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-22 09: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-22 09:26:59] 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-22 09: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-22 09: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-22 09:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:26:59] 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-22 09:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566918144001,"66":11950,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566918144001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:26:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566918144001,"power":11950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":159923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:26:59] local.INFO: GPS data processed {"connection_id":159923,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:26:59] local.INFO: Acknowledgment sent {"connection_id":159923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:27:00] local.INFO: TCP Data received {"connection_id":159665,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:27:00] local.INFO: Processing buffer {"connection_id":159665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:27:00] local.INFO: IMEI packet received {"connection_id":159665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":159665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:27:00] local.INFO: TCP Data received {"connection_id":159665,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:27:00] local.INFO: Processing buffer {"connection_id":159665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:27:00] local.INFO: Packet analysis {"connection_id":159665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:27:00] local.INFO: Extracted packet for processing {"connection_id":159665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:27:00] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":34,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284315136,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27: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-22 09:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787370797000,"timestamp_ms":1787370797000,"timestamp_seconds":1787370797,"priority":1,"record_length":96,"hex_timestamp":"000001a02799f7c8"} 
[2026-08-22 09: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-22 09: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-22 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 09:27: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-22 09: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-22 09: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-22 09:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":25952,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190087645284315136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:27:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:27:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284315136,"description":"Unknown IO ID 45"} 
[2026-08-22 09:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284315136}} 
[2026-08-22 09:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":159665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:27:00] local.INFO: GPS data processed {"connection_id":159665,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:27:00] local.INFO: Acknowledgment sent {"connection_id":159665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:27:01] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:27:01] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:27:01] local.INFO: IMEI packet received {"connection_id":159922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":159922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:27:02] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:27:02] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:27:02] local.INFO: Packet analysis {"connection_id":159922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:27:02] local.INFO: Extracted packet for processing {"connection_id":159922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":34,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:27: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-22 09:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:02] 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-22 09:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787370799000,"timestamp_ms":1787370799000,"timestamp_seconds":1787370799,"priority":1,"record_length":96,"hex_timestamp":"000001a02799ff98"} 
[2026-08-22 09:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:27:02] 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-22 09:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:27:02] 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-22 09:27: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-22 09:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:27:02] 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-22 09:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":2242,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:27:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":2242,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":159922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:27:02] local.INFO: GPS data processed {"connection_id":159922,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:27:02] local.INFO: Acknowledgment sent {"connection_id":159922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:27:16] local.INFO: TCP Data received {"connection_id":159666,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:27:16] local.INFO: Processing buffer {"connection_id":159666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:27:16] local.INFO: IMEI packet received {"connection_id":159666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":159666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:27:30] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0279a4200012d196940071fedd8003e011c23..."} 
[2026-08-22 09:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279a4200012d196940071fedd8003e011c23..."} 
[2026-08-22 09:27:30] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279a4200012d196940071fedd8003e011c23..."} 
[2026-08-22 09:27:30] local.INFO: Packet analysis {"connection_id":159923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279a"} 
[2026-08-22 09:27:30] local.INFO: Extracted packet for processing {"connection_id":159923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279a"} 
[2026-08-22 09:27:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566923520001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27: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-22 09:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787370816000,"timestamp_ms":1787370816000,"timestamp_seconds":1787370816,"priority":1,"record_length":96,"hex_timestamp":"000001a0279a4200"} 
[2026-08-22 09: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-22 09:27:30] 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-22 09: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-22 09:27:30] 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-22 09: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-22 09: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-22 09:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:27:30] 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-22 09:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566923520001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566923520001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:27:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566923520001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":159923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:27:30] local.INFO: GPS data processed {"connection_id":159923,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:27:30] local.INFO: Acknowledgment sent {"connection_id":159923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:27:32] local.INFO: TCP Data received {"connection_id":159665,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:27:32] local.INFO: Processing buffer {"connection_id":159665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:27:32] local.INFO: Packet analysis {"connection_id":159665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:27:32] local.INFO: Extracted packet for processing {"connection_id":159665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":34,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284315136,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:32] 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-22 09:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787370797000,"timestamp_ms":1787370797000,"timestamp_seconds":1787370797,"priority":1,"record_length":96,"hex_timestamp":"000001a02799f7c8"} 
[2026-08-22 09: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-22 09: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-22 09: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-22 09: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-22 09: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-22 09: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-22 09:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":25952,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190087645284315136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:27:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284315136,"description":"Unknown IO ID 45"} 
[2026-08-22 09:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284315136}} 
[2026-08-22 09:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":159665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:27:32] local.INFO: GPS data processed {"connection_id":159665,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:27:32] local.INFO: Acknowledgment sent {"connection_id":159665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:27:50] local.INFO: TCP Data received {"connection_id":160812,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:27:50] local.INFO: Processing buffer {"connection_id":160812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:27:50] local.INFO: IMEI packet received {"connection_id":160812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":160812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:27:51] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:27:51] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:27:51] local.INFO: IMEI packet received {"connection_id":159924,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":159924,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:27:53] local.INFO: TCP Data received {"connection_id":160813,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:27:53] local.INFO: Processing buffer {"connection_id":160813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:27:53] local.INFO: IMEI packet received {"connection_id":160813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":160813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:27:55] local.INFO: TCP Data received {"connection_id":160812,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:27:55] local.INFO: Processing buffer {"connection_id":160812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:27:55] local.INFO: IMEI packet received {"connection_id":160812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":160812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:27:55] local.INFO: TCP Data received {"connection_id":160812,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:27:55] local.INFO: Processing buffer {"connection_id":160812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:27:55] local.INFO: Packet analysis {"connection_id":160812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:27:55] local.INFO: Extracted packet for processing {"connection_id":160812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":34,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284315136,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27: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-22 09:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787370797000,"timestamp_ms":1787370797000,"timestamp_seconds":1787370797,"priority":1,"record_length":96,"hex_timestamp":"000001a02799f7c8"} 
[2026-08-22 09: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-22 09: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-22 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 09:27: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-22 09: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-22 09: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-22 09:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":25952,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190087645284315136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:27:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:27:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284315136,"description":"Unknown IO ID 45"} 
[2026-08-22 09:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284315136}} 
[2026-08-22 09:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":160812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:27:55] local.INFO: GPS data processed {"connection_id":160812,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:27:55] local.INFO: Acknowledgment sent {"connection_id":160812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:27:56] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:27:56] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:27:56] local.INFO: IMEI packet received {"connection_id":159924,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":159924,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:27:56] local.INFO: TCP Data received {"connection_id":162237,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:27:56] local.INFO: Processing buffer {"connection_id":162237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:27:56] local.INFO: IMEI packet received {"connection_id":162237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":162237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:27:57] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0279d4770012d0d39c00704bd200014007c23..."} 
[2026-08-22 09:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279d4770012d0d39c00704bd200014007c23..."} 
[2026-08-22 09:27:57] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279d4770012d0d39c00704bd200014007c23..."} 
[2026-08-22 09:27:57] local.INFO: Packet analysis {"connection_id":159924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279d"} 
[2026-08-22 09:27:57] local.INFO: Extracted packet for processing {"connection_id":159924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279d"} 
[2026-08-22 09:27:57] local.INFO: GPS Element Parsed {"raw_longitude":755841472,"raw_latitude":117751072,"longitude_deg":75.5841472,"latitude_deg":11.7751072,"altitude":20,"angle":124,"satellites":35,"speed":5,"hex_longitude":"2d0d39c0","hex_latitude":"0704bd20","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566979328001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29395323109507072,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952792826309865472,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:57] 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-22 09:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787371014000,"timestamp_ms":1787371014000,"timestamp_seconds":1787371014,"priority":1,"record_length":96,"hex_timestamp":"000001a0279d4770"} 
[2026-08-22 09: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-22 09:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 09:27: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-22 09: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-22 09: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-22 09:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566979328001,"66":14439,"17":206,"94":11008,"24":5,"16":29395323109507072,"45":952792826309865472},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-22 09:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566979328001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:27:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29395323109507072,"km_value":29395323109507.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":952792826309865472,"description":"Unknown IO ID 45"} 
[2026-08-22 09:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566979328001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":952792826309865472}} 
[2026-08-22 09:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":159924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680312,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:27:58] local.INFO: GPS data processed {"connection_id":159924,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:27:58] local.INFO: Acknowledgment sent {"connection_id":159924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:27:58] local.INFO: TCP Data received {"connection_id":160813,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:27:58] local.INFO: Processing buffer {"connection_id":160813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:27:58] local.INFO: IMEI packet received {"connection_id":160813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":160813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:27:59] local.INFO: TCP Data received {"connection_id":160813,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0279a9408012d196940071fedd8003e011c24..."} 
[2026-08-22 09:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279a9408012d196940071fedd8003e011c24..."} 
[2026-08-22 09:27:59] local.INFO: Processing buffer {"connection_id":160813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279a9408012d196940071fedd8003e011c24..."} 
[2026-08-22 09:27:59] local.INFO: Packet analysis {"connection_id":160813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279a"} 
[2026-08-22 09:27:59] local.INFO: Extracted packet for processing {"connection_id":160813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279a"} 
[2026-08-22 09:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566928896001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27: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-22 09:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787370837000,"timestamp_ms":1787370837000,"timestamp_seconds":1787370837,"priority":1,"record_length":96,"hex_timestamp":"000001a0279a9408"} 
[2026-08-22 09: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-22 09:27: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-22 09:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2853034521487284585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79981774339309568,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2566512641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:27:59] local.WARNING: Large IO value detected {"io_id":167,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-08-22 09:27:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,160,239,45,64,237,62,35,10,66,37,75,1,240,255,227,39,31,4,113,205,167,105,216,38,48,2,51,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:27:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883241977675776,"timestamp_seconds":4467883241977676.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:27:59] 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-22 09:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566928896001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566928896001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:27:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566928896001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":160813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:27:59] local.INFO: GPS data processed {"connection_id":160813,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:27:59] local.INFO: Acknowledgment sent {"connection_id":160813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:28:01] local.INFO: TCP Data received {"connection_id":162237,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:28:01] local.INFO: Processing buffer {"connection_id":162237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:28:01] local.INFO: IMEI packet received {"connection_id":162237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":162237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:28:02] local.INFO: TCP Data received {"connection_id":162237,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:28:02] local.INFO: Processing buffer {"connection_id":162237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799ff98012d7b3ec005e1e4a0000000ab22..."} 
[2026-08-22 09:28:02] local.INFO: Packet analysis {"connection_id":162237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:28:02] local.INFO: Extracted packet for processing {"connection_id":162237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":34,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28:02] 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-22 09:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787370799000,"timestamp_ms":1787370799000,"timestamp_seconds":1787370799,"priority":1,"record_length":96,"hex_timestamp":"000001a02799ff98"} 
[2026-08-22 09:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:28:02] 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-22 09:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:28:02] 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-22 09:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:28:02] 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-22 09:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":2242,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:28:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:28:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":2242,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":162237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:28:02] local.INFO: GPS data processed {"connection_id":162237,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:28:02] local.INFO: Acknowledgment sent {"connection_id":162237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:28:26] local.INFO: TCP Data received {"connection_id":160812,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:28:26] local.INFO: Processing buffer {"connection_id":160812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02799f7c8012d7f894005afe0a0000000e022..."} 
[2026-08-22 09:28:26] local.INFO: Packet analysis {"connection_id":160812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:28:26] local.INFO: Extracted packet for processing {"connection_id":160812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02799"} 
[2026-08-22 09:28:26] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":34,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645284315136,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28: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-22 09:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787370797000,"timestamp_ms":1787370797000,"timestamp_seconds":1787370797,"priority":1,"record_length":96,"hex_timestamp":"000001a02799f7c8"} 
[2026-08-22 09: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-22 09: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-22 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 09:28: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-22 09: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-22 09: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-22 09:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566847488001,"66":25952,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190087645284315136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:28:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:28:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645284315136,"description":"Unknown IO ID 45"} 
[2026-08-22 09:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566847488001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190087645284315136}} 
[2026-08-22 09:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":160812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:28:27] local.INFO: GPS data processed {"connection_id":160812,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:28:27] local.INFO: Acknowledgment sent {"connection_id":160812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:28:30] local.INFO: TCP Data received {"connection_id":160813,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0279ae610012d196940071fedd8003e011c23..."} 
[2026-08-22 09:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279ae610012d196940071fedd8003e011c23..."} 
[2026-08-22 09:28:30] local.INFO: Processing buffer {"connection_id":160813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279ae610012d196940071fedd8003e011c23..."} 
[2026-08-22 09:28:30] local.INFO: Packet analysis {"connection_id":160813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279a"} 
[2026-08-22 09:28:30] local.INFO: Extracted packet for processing {"connection_id":160813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279a"} 
[2026-08-22 09:28:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566934272001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28: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-22 09:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787370858000,"timestamp_ms":1787370858000,"timestamp_seconds":1787370858,"priority":1,"record_length":96,"hex_timestamp":"000001a0279ae610"} 
[2026-08-22 09: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-22 09:28:30] 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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:28:30] 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-22 09:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566934272001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566934272001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:28:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566934272001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":160813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:28:30] local.INFO: GPS data processed {"connection_id":160813,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:28:30] local.INFO: Acknowledgment sent {"connection_id":160813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:28:33] local.INFO: TCP Data received {"connection_id":162237,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0279e9760012d7b3ec005e1e4a0000000ab24..."} 
[2026-08-22 09:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279e9760012d7b3ec005e1e4a0000000ab24..."} 
[2026-08-22 09:28:33] local.INFO: Processing buffer {"connection_id":162237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279e9760012d7b3ec005e1e4a0000000ab24..."} 
[2026-08-22 09:28:33] local.INFO: Packet analysis {"connection_id":162237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:28:33] local.INFO: Extracted packet for processing {"connection_id":162237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":36,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566924544001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28:33] 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-22 09:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787371100000,"timestamp_ms":1787371100000,"timestamp_seconds":1787371100,"priority":1,"record_length":96,"hex_timestamp":"000001a0279e9760"} 
[2026-08-22 09:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 09:28:33] 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-22 09:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:28:33] 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-22 09:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566924544001,"66":2231,"207":206,"85":15104,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-22 09:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566924544001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:28:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-22 09:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566924544001,"power":2231,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":162237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:28:33] local.INFO: GPS data processed {"connection_id":162237,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:28:33] local.INFO: Acknowledgment sent {"connection_id":162237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:28:37] local.INFO: TCP Data received {"connection_id":160814,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160814,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:28:37] local.INFO: Processing buffer {"connection_id":160814,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:28:37] local.INFO: IMEI packet received {"connection_id":160814,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":160814,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:28:37] local.INFO: TCP Data received {"connection_id":160814,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160814,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:28:37] local.INFO: Processing buffer {"connection_id":160814,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:28:37] local.INFO: IMEI packet received {"connection_id":160814,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":160814,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:28:42] local.INFO: TCP Data received {"connection_id":160814,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160814,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:28:42] local.INFO: Processing buffer {"connection_id":160814,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:28:42] local.INFO: IMEI packet received {"connection_id":160814,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":160814,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:28:42] local.INFO: TCP Data received {"connection_id":160814,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0279eaed0012d0d2e80070459a8001400bc25..."} 
[2026-08-22 09:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279eaed0012d0d2e80070459a8001400bc25..."} 
[2026-08-22 09:28:42] local.INFO: Processing buffer {"connection_id":160814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279eaed0012d0d2e80070459a8001400bc25..."} 
[2026-08-22 09:28:42] local.INFO: Packet analysis {"connection_id":160814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:28:42] local.INFO: Extracted packet for processing {"connection_id":160814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:28:42] local.INFO: GPS Element Parsed {"raw_longitude":755838592,"raw_latitude":117725608,"longitude_deg":75.5838592,"latitude_deg":11.7725608,"altitude":20,"angle":188,"satellites":37,"speed":10,"hex_longitude":"2d0d2e80","hex_latitude":"070459a8","is_valid_coordinates":true} 
[2026-08-22 09:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567001088001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29396590124859392,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950822501466933248,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28: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-22 09:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787371106000,"timestamp_ms":1787371106000,"timestamp_seconds":1787371106,"priority":1,"record_length":96,"hex_timestamp":"000001a0279eaed0"} 
[2026-08-22 09:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 09:28:42] 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-22 09:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567001088001,"66":14537,"17":206,"94":11008,"24":10,"16":29396590124859392,"45":950822501466933248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-22 09:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567001088001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:28:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29396590124859392,"km_value":29396590124859.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":950822501466933248,"description":"Unknown IO ID 45"} 
[2026-08-22 09:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567001088001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":950822501466933248}} 
[2026-08-22 09:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":160814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680318,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:28:42] local.INFO: GPS data processed {"connection_id":160814,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:28:42] local.INFO: Acknowledgment sent {"connection_id":160814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:28:49] local.INFO: TCP Data received {"connection_id":162238,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:28:49] local.INFO: Processing buffer {"connection_id":162238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:28:49] local.INFO: IMEI packet received {"connection_id":162238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":162238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:28:53] local.INFO: TCP Data received {"connection_id":159925,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:28:53] local.INFO: Processing buffer {"connection_id":159925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:28:53] local.INFO: IMEI packet received {"connection_id":159925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":159925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:28:54] local.INFO: TCP Data received {"connection_id":162238,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:28:54] local.INFO: Processing buffer {"connection_id":162238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:28:54] local.INFO: IMEI packet received {"connection_id":162238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":162238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:28:55] local.INFO: TCP Data received {"connection_id":162238,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:28:55] local.INFO: Processing buffer {"connection_id":162238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:28:55] local.INFO: Packet analysis {"connection_id":162238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:28:55] local.INFO: Extracted packet for processing {"connection_id":162238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566924032001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28: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-22 09:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787371094000,"timestamp_ms":1787371094000,"timestamp_seconds":1787371094,"priority":1,"record_length":96,"hex_timestamp":"000001a0279e7ff0"} 
[2026-08-22 09:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:28: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-22 09:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 09:28:55] 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-22 09:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566924032001,"66":25702,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566924032001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:28:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:28:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566924032001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":162238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:28:55] local.INFO: GPS data processed {"connection_id":162238,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:28:55] local.INFO: Acknowledgment sent {"connection_id":162238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:28:58] local.INFO: TCP Data received {"connection_id":159925,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:28:58] local.INFO: Processing buffer {"connection_id":159925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:28:58] local.INFO: IMEI packet received {"connection_id":159925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":159925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:28:59] local.INFO: TCP Data received {"connection_id":159925,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0279b3818012d196940071fedd8003e011c23..."} 
[2026-08-22 09:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279b3818012d196940071fedd8003e011c23..."} 
[2026-08-22 09:28:59] local.INFO: Processing buffer {"connection_id":159925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279b3818012d196940071fedd8003e011c23..."} 
[2026-08-22 09:28:59] local.INFO: Packet analysis {"connection_id":159925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279b"} 
[2026-08-22 09:28:59] local.INFO: Extracted packet for processing {"connection_id":159925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279b"} 
[2026-08-22 09:28:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566939648001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:28: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-22 09:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787370879000,"timestamp_ms":1787370879000,"timestamp_seconds":1787370879,"priority":1,"record_length":96,"hex_timestamp":"000001a0279b3818"} 
[2026-08-22 09: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-22 09:28: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-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:28:59] 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-22 09:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566939648001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566939648001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:28:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:28:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566939648001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":159925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:28:59] local.INFO: GPS data processed {"connection_id":159925,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:28:59] local.INFO: Acknowledgment sent {"connection_id":159925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:29:13] local.INFO: TCP Data received {"connection_id":160814,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0279ed1f8012d0d2c4007044e50001400c825..."} 
[2026-08-22 09:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279ed1f8012d0d2c4007044e50001400c825..."} 
[2026-08-22 09:29:13] local.INFO: Processing buffer {"connection_id":160814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279ed1f8012d0d2c4007044e50001400c825..."} 
[2026-08-22 09:29:13] local.INFO: Packet analysis {"connection_id":160814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:29:13] local.INFO: Extracted packet for processing {"connection_id":160814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:29:13] local.INFO: GPS Element Parsed {"raw_longitude":755838016,"raw_latitude":117722704,"longitude_deg":75.5838016,"latitude_deg":11.7722704,"altitude":20,"angle":200,"satellites":37,"speed":12,"hex_longitude":"2d0d2c40","hex_latitude":"07044e50","is_valid_coordinates":true} 
[2026-08-22 09:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567003136001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29396736153747456,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949837339047864320,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:13] 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-22 09:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787371115000,"timestamp_ms":1787371115000,"timestamp_seconds":1787371115,"priority":1,"record_length":96,"hex_timestamp":"000001a0279ed1f8"} 
[2026-08-22 09:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-22 09:29:13] 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-22 09:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567003136001,"66":14396,"17":206,"94":11008,"24":12,"16":29396736153747456,"45":949837339047864320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-22 09:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567003136001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:29:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29396736153747456,"km_value":29396736153747.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":949837339047864320,"description":"Unknown IO ID 45"} 
[2026-08-22 09:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567003136001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":949837339047864320}} 
[2026-08-22 09:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":160814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680321,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:29:13] local.INFO: GPS data processed {"connection_id":160814,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:29:13] local.INFO: Acknowledgment sent {"connection_id":160814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:29:26] local.INFO: TCP Data received {"connection_id":162238,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:29:26] local.INFO: Processing buffer {"connection_id":162238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:29:26] local.INFO: Packet analysis {"connection_id":162238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:29:26] local.INFO: Extracted packet for processing {"connection_id":162238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:29:26] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566924032001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29: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-22 09:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787371094000,"timestamp_ms":1787371094000,"timestamp_seconds":1787371094,"priority":1,"record_length":96,"hex_timestamp":"000001a0279e7ff0"} 
[2026-08-22 09: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-22 09:29: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-22 09:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 09:29: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-22 09: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-22 09: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-22 09:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566924032001,"66":25702,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566924032001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:29:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:29:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566924032001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":162238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:29:26] local.INFO: GPS data processed {"connection_id":162238,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:29:26] local.INFO: Acknowledgment sent {"connection_id":162238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:29:30] local.INFO: TCP Data received {"connection_id":159925,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0279b8a20012d196940071fedd8003e011c23..."} 
[2026-08-22 09:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279b8a20012d196940071fedd8003e011c23..."} 
[2026-08-22 09:29:30] local.INFO: Processing buffer {"connection_id":159925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279b8a20012d196940071fedd8003e011c23..."} 
[2026-08-22 09:29:30] local.INFO: Packet analysis {"connection_id":159925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279b"} 
[2026-08-22 09:29:30] local.INFO: Extracted packet for processing {"connection_id":159925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279b"} 
[2026-08-22 09:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566945024001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29: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-22 09:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787370900000,"timestamp_ms":1787370900000,"timestamp_seconds":1787370900,"priority":1,"record_length":96,"hex_timestamp":"000001a0279b8a20"} 
[2026-08-22 09: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-22 09:29: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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:29:30] 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-22 09:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566945024001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566945024001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:29:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:29:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566945024001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":159925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:29:30] local.INFO: GPS data processed {"connection_id":159925,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:29:30] local.INFO: Acknowledgment sent {"connection_id":159925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:29:37] local.INFO: TCP Data received {"connection_id":160815,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160815,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:29:37] local.INFO: Processing buffer {"connection_id":160815,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:29:37] local.INFO: IMEI packet received {"connection_id":160815,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":160815,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:29:37] local.INFO: TCP Data received {"connection_id":160815,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160815,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:29:37] local.INFO: Processing buffer {"connection_id":160815,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:29:37] local.INFO: IMEI packet received {"connection_id":160815,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":160815,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:29:41] local.INFO: TCP Data received {"connection_id":160815,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160815,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:29:41] local.INFO: Processing buffer {"connection_id":160815,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:29:41] local.INFO: IMEI packet received {"connection_id":160815,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":160815,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:29:42] local.INFO: TCP Data received {"connection_id":160815,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0279ee580012d0d2b40070449a8001400bc25..."} 
[2026-08-22 09:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279ee580012d0d2b40070449a8001400bc25..."} 
[2026-08-22 09:29:42] local.INFO: Processing buffer {"connection_id":160815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279ee580012d0d2b40070449a8001400bc25..."} 
[2026-08-22 09:29:42] local.INFO: Packet analysis {"connection_id":160815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:29:42] local.INFO: Extracted packet for processing {"connection_id":160815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:29:42] local.INFO: GPS Element Parsed {"raw_longitude":755837760,"raw_latitude":117721512,"longitude_deg":75.583776,"latitude_deg":11.7721512,"altitude":20,"angle":188,"satellites":37,"speed":8,"hex_longitude":"2d0d2b40","hex_latitude":"070449a8","is_valid_coordinates":true} 
[2026-08-22 09:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567005440001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29396796283289600,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949204020349521920,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29: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-22 09:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787371120000,"timestamp_ms":1787371120000,"timestamp_seconds":1787371120,"priority":1,"record_length":96,"hex_timestamp":"000001a0279ee580"} 
[2026-08-22 09:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 09:29:42] 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-22 09:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160815,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160815,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567005440001,"66":14439,"17":206,"94":11008,"24":8,"16":29396796283289600,"45":949204020349521920},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-22 09:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567005440001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:29:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29396796283289600,"km_value":29396796283289.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":949204020349521920,"description":"Unknown IO ID 45"} 
[2026-08-22 09:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567005440001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":949204020349521920}} 
[2026-08-22 09:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":160815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680324,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:29:42] local.INFO: GPS data processed {"connection_id":160815,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:29:42] local.INFO: Acknowledgment sent {"connection_id":160815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:29:49] local.INFO: TCP Data received {"connection_id":160816,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:29:49] local.INFO: Processing buffer {"connection_id":160816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:29:49] local.INFO: IMEI packet received {"connection_id":160816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":160816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:29:53] local.INFO: TCP Data received {"connection_id":159667,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:29:53] local.INFO: Processing buffer {"connection_id":159667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:29:53] local.INFO: IMEI packet received {"connection_id":159667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":159667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:29:55] local.INFO: TCP Data received {"connection_id":160816,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:29:55] local.INFO: Processing buffer {"connection_id":160816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:29:55] local.INFO: IMEI packet received {"connection_id":160816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":160816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:29:56] local.INFO: TCP Data received {"connection_id":160816,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:29:56] local.INFO: Processing buffer {"connection_id":160816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:29:56] local.INFO: Packet analysis {"connection_id":160816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:29:56] local.INFO: Extracted packet for processing {"connection_id":160816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566924032001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29: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-22 09:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787371094000,"timestamp_ms":1787371094000,"timestamp_seconds":1787371094,"priority":1,"record_length":96,"hex_timestamp":"000001a0279e7ff0"} 
[2026-08-22 09: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-22 09: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-22 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 09:29:56] 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-22 09: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-22 09: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-22 09:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566924032001,"66":25702,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566924032001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:29:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566924032001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":160816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:29:56] local.INFO: GPS data processed {"connection_id":160816,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:29:56] local.INFO: Acknowledgment sent {"connection_id":160816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:29:58] local.INFO: TCP Data received {"connection_id":159667,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:29:58] local.INFO: Processing buffer {"connection_id":159667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:29:58] local.INFO: IMEI packet received {"connection_id":159667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":159667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:29:59] local.INFO: TCP Data received {"connection_id":159667,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0279bdc28012d196940071fedd8003e011c24..."} 
[2026-08-22 09:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279bdc28012d196940071fedd8003e011c24..."} 
[2026-08-22 09:29:59] local.INFO: Processing buffer {"connection_id":159667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279bdc28012d196940071fedd8003e011c24..."} 
[2026-08-22 09:29:59] local.INFO: Packet analysis {"connection_id":159667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279b"} 
[2026-08-22 09:29:59] local.INFO: Extracted packet for processing {"connection_id":159667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279b"} 
[2026-08-22 09:29:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566950400001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29: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-22 09:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787370921000,"timestamp_ms":1787370921000,"timestamp_seconds":1787370921,"priority":1,"record_length":96,"hex_timestamp":"000001a0279bdc28"} 
[2026-08-22 09: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-22 09:29: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-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2853395298740148585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79979575316054016,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3381922727666778318,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2588016641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:29:59] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2919288184,"note":"Value kept but may cause issues"} 
[2026-08-22 09:29:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,160,56,45,64,237,62,35,10,66,230,148,1,240,53,227,39,31,4,113,205,239,105,216,46,2,51,7,36],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:29:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883241977675776,"timestamp_seconds":4467883241977676.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:29:59] 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-22 09:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566950400001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566950400001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:29:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:29:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566950400001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":159667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:29:59] local.INFO: GPS data processed {"connection_id":159667,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:29:59] local.INFO: Acknowledgment sent {"connection_id":159667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:30:14] local.INFO: TCP Data received {"connection_id":160815,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0279f1078012d0d29c007044010001300ca25..."} 
[2026-08-22 09:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279f1078012d0d29c007044010001300ca25..."} 
[2026-08-22 09:30:14] local.INFO: Processing buffer {"connection_id":160815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279f1078012d0d29c007044010001300ca25..."} 
[2026-08-22 09:30:14] local.INFO: Packet analysis {"connection_id":160815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279f"} 
[2026-08-22 09:30:14] local.INFO: Extracted packet for processing {"connection_id":160815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279f"} 
[2026-08-22 09:30:14] local.INFO: GPS Element Parsed {"raw_longitude":755837376,"raw_latitude":117719056,"longitude_deg":75.5837376,"latitude_deg":11.7719056,"altitude":19,"angle":202,"satellites":37,"speed":10,"hex_longitude":"2d0d29c0","hex_latitude":"07044010","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567006720001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29396916542373888,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948922545372506112,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30:14] 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-22 09:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787371131000,"timestamp_ms":1787371131000,"timestamp_seconds":1787371131,"priority":1,"record_length":96,"hex_timestamp":"000001a0279f1078"} 
[2026-08-22 09: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-22 09:30: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-22 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 09:30:14] 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-22 09: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-22 09: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-22 09:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160815,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160815,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567006720001,"66":14439,"17":206,"94":11008,"24":10,"16":29396916542373888,"45":948922545372506112},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-22 09:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567006720001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:30:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29396916542373888,"km_value":29396916542373.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":948922545372506112,"description":"Unknown IO ID 45"} 
[2026-08-22 09:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567006720001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":948922545372506112}} 
[2026-08-22 09:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":160815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680327,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:30:14] local.INFO: GPS data processed {"connection_id":160815,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:30:14] local.INFO: Acknowledgment sent {"connection_id":160815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:30:27] local.INFO: TCP Data received {"connection_id":160816,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:30:27] local.INFO: Processing buffer {"connection_id":160816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:30:27] local.INFO: Packet analysis {"connection_id":160816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:30:27] local.INFO: Extracted packet for processing {"connection_id":160816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566924032001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30: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-22 09:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787371094000,"timestamp_ms":1787371094000,"timestamp_seconds":1787371094,"priority":1,"record_length":96,"hex_timestamp":"000001a0279e7ff0"} 
[2026-08-22 09: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-22 09:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 09:30:27] 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-22 09: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-22 09: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-22 09:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566924032001,"66":25702,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566924032001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:30:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566924032001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":160816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:30:27] local.INFO: GPS data processed {"connection_id":160816,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:30:27] local.INFO: Acknowledgment sent {"connection_id":160816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:30:30] local.INFO: TCP Data received {"connection_id":159667,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0279c2e30012d196940071fedd8003e011c25..."} 
[2026-08-22 09:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279c2e30012d196940071fedd8003e011c25..."} 
[2026-08-22 09:30:30] local.INFO: Processing buffer {"connection_id":159667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279c2e30012d196940071fedd8003e011c25..."} 
[2026-08-22 09:30:30] local.INFO: Packet analysis {"connection_id":159667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279c"} 
[2026-08-22 09:30:30] local.INFO: Extracted packet for processing {"connection_id":159667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279c"} 
[2026-08-22 09:30:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566955776001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30: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-22 09:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787370942000,"timestamp_ms":1787370942000,"timestamp_seconds":1787370942,"priority":1,"record_length":96,"hex_timestamp":"000001a0279c2e30"} 
[2026-08-22 09: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-22 09:30: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-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:30:30] 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-22 09: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-22 09: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-22 09:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:30:30] 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-22 09:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566955776001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566955776001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:30:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:30:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566955776001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":159667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:30:30] local.INFO: GPS data processed {"connection_id":159667,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:30:30] local.INFO: Acknowledgment sent {"connection_id":159667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:30:36] local.INFO: TCP Data received {"connection_id":159668,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:30:36] local.INFO: Processing buffer {"connection_id":159668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:30:36] local.INFO: IMEI packet received {"connection_id":159668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":159668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:30:39] local.INFO: TCP Data received {"connection_id":159668,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:30:39] local.INFO: Processing buffer {"connection_id":159668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:30:39] local.INFO: IMEI packet received {"connection_id":159668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":159668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:30:42] local.INFO: TCP Data received {"connection_id":159668,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:30:42] local.INFO: Processing buffer {"connection_id":159668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:30:42] local.INFO: IMEI packet received {"connection_id":159668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":159668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:30:43] local.INFO: TCP Data received {"connection_id":159668,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027a07008012d0d2a400703e388001400b025..."} 
[2026-08-22 09:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a07008012d0d2a400703e388001400b025..."} 
[2026-08-22 09:30:43] local.INFO: Processing buffer {"connection_id":159668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a07008012d0d2a400703e388001400b025..."} 
[2026-08-22 09:30:43] local.INFO: Packet analysis {"connection_id":159668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a0"} 
[2026-08-22 09:30:43] local.INFO: Extracted packet for processing {"connection_id":159668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a0"} 
[2026-08-22 09:30:43] local.INFO: GPS Element Parsed {"raw_longitude":755837504,"raw_latitude":117695368,"longitude_deg":75.5837504,"latitude_deg":11.7695368,"altitude":20,"angle":176,"satellites":37,"speed":15,"hex_longitude":"2d0d2a40","hex_latitude":"0703e388","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567027456001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29398093363412992,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948218857925926912,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30:43] 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-22 09:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787371221000,"timestamp_ms":1787371221000,"timestamp_seconds":1787371221,"priority":1,"record_length":96,"hex_timestamp":"000001a027a07008"} 
[2026-08-22 09: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-22 09:30: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-22 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 09:30: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-22 09: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-22 09: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-22 09:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567027456001,"66":14407,"16":29398093363412992,"94":11008,"24":15,"45":948218857925926912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 09:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567027456001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29398093363412992,"km_value":29398093363412.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:30:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":948218857925926912,"description":"Unknown IO ID 45"} 
[2026-08-22 09:30:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567027456001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":15,"unknown_45":948218857925926912}} 
[2026-08-22 09:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":159668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680330,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:30:43] local.INFO: GPS data processed {"connection_id":159668,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:30:43] local.INFO: Acknowledgment sent {"connection_id":159668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:30:49] local.INFO: TCP Data received {"connection_id":162239,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:30:49] local.INFO: Processing buffer {"connection_id":162239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:30:49] local.INFO: IMEI packet received {"connection_id":162239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":162239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:30:53] local.INFO: TCP Data received {"connection_id":160817,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:30:53] local.INFO: Processing buffer {"connection_id":160817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:30:53] local.INFO: IMEI packet received {"connection_id":160817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":160817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:30:53] local.INFO: TCP Data received {"connection_id":160817,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:30:53] local.INFO: Processing buffer {"connection_id":160817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:30:53] local.INFO: IMEI packet received {"connection_id":160817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":160817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:30:54] local.INFO: TCP Data received {"connection_id":162239,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:30:54] local.INFO: Processing buffer {"connection_id":162239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:30:54] local.INFO: IMEI packet received {"connection_id":162239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":162239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:30:55] local.INFO: TCP Data received {"connection_id":162239,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:30:55] local.INFO: Processing buffer {"connection_id":162239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:30:55] local.INFO: Packet analysis {"connection_id":162239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:30:55] local.INFO: Extracted packet for processing {"connection_id":162239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:30:55] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566924032001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30: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-22 09:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787371094000,"timestamp_ms":1787371094000,"timestamp_seconds":1787371094,"priority":1,"record_length":96,"hex_timestamp":"000001a0279e7ff0"} 
[2026-08-22 09: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-22 09: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-22 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 09:30:55] 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-22 09: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-22 09: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-22 09:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566924032001,"66":25702,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566924032001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:30:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:30:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566924032001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":162239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:30:55] local.INFO: GPS data processed {"connection_id":162239,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:30:55] local.INFO: Acknowledgment sent {"connection_id":162239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:30:58] local.INFO: TCP Data received {"connection_id":160817,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:30:58] local.INFO: Processing buffer {"connection_id":160817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:30:58] local.INFO: IMEI packet received {"connection_id":160817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":160817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:30:59] local.INFO: TCP Data received {"connection_id":160817,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0279fb488012d196940071fedd8003e011c25..."} 
[2026-08-22 09:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279fb488012d196940071fedd8003e011c25..."} 
[2026-08-22 09:30:59] local.INFO: Processing buffer {"connection_id":160817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279fb488012d196940071fedd8003e011c25..."} 
[2026-08-22 09:30:59] local.INFO: Packet analysis {"connection_id":160817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279f"} 
[2026-08-22 09:30:59] local.INFO: Extracted packet for processing {"connection_id":160817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279f"} 
[2026-08-22 09:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567014912001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:30: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-22 09:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787371173000,"timestamp_ms":1787371173000,"timestamp_seconds":1787371173,"priority":1,"record_length":96,"hex_timestamp":"000001a0279fb488"} 
[2026-08-22 09: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-22 09:30: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-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:30:59] 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-22 09:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567014912001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567014912001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:30:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:30:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567014912001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":160817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:30:59] local.INFO: GPS data processed {"connection_id":160817,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:30:59] local.INFO: Acknowledgment sent {"connection_id":160817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:31:14] local.INFO: TCP Data received {"connection_id":159668,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027a08f48012d0d2c000703d560001100a524..."} 
[2026-08-22 09:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a08f48012d0d2c000703d560001100a524..."} 
[2026-08-22 09:31:14] local.INFO: Processing buffer {"connection_id":159668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a08f48012d0d2c000703d560001100a524..."} 
[2026-08-22 09:31:14] local.INFO: Packet analysis {"connection_id":159668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a0"} 
[2026-08-22 09:31:14] local.INFO: Extracted packet for processing {"connection_id":159668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a0"} 
[2026-08-22 09:31:14] local.INFO: GPS Element Parsed {"raw_longitude":755837952,"raw_latitude":117691744,"longitude_deg":75.5837952,"latitude_deg":11.7691744,"altitude":17,"angle":165,"satellites":36,"speed":16,"hex_longitude":"2d0d2c00","hex_latitude":"0703d560","is_valid_coordinates":true} 
[2026-08-22 09:31: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-22 09:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567032576001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29398269457072128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948641070389102592,"note":"Value kept but may cause issues"} 
[2026-08-22 09:31:14] 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-22 09:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787371229000,"timestamp_ms":1787371229000,"timestamp_seconds":1787371229,"priority":1,"record_length":96,"hex_timestamp":"000001a027a08f48"} 
[2026-08-22 09:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:31: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-22 09:31: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":71,"data_length":795,"current_offset":136} 
[2026-08-22 09:31:14] 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-22 09:31: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-22 09:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567032576001,"66":14515,"16":29398269457072128,"94":11008,"24":16,"45":948641070389102592},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 09:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567032576001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29398269457072128,"km_value":29398269457072.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:31:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":948641070389102592,"description":"Unknown IO ID 45"} 
[2026-08-22 09:31:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567032576001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":16,"unknown_45":948641070389102592}} 
[2026-08-22 09:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":159668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680333,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:31:14] local.INFO: GPS data processed {"connection_id":159668,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:31:14] local.INFO: Acknowledgment sent {"connection_id":159668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:31:26] local.INFO: TCP Data received {"connection_id":162239,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:31:26] local.INFO: Processing buffer {"connection_id":162239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:31:26] local.INFO: Packet analysis {"connection_id":162239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:31:26] local.INFO: Extracted packet for processing {"connection_id":162239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566924032001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:31: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-22 09:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787371094000,"timestamp_ms":1787371094000,"timestamp_seconds":1787371094,"priority":1,"record_length":96,"hex_timestamp":"000001a0279e7ff0"} 
[2026-08-22 09: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-22 09:31: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-22 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 09:31: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-22 09: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-22 09: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-22 09:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566924032001,"66":25702,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566924032001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:31:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566924032001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":162239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:31:26] local.INFO: GPS data processed {"connection_id":162239,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:31:26] local.INFO: Acknowledgment sent {"connection_id":162239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:31:30] local.INFO: TCP Data received {"connection_id":160817,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a00690012d196940071fedd8003e011c26..."} 
[2026-08-22 09:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a00690012d196940071fedd8003e011c26..."} 
[2026-08-22 09:31:30] local.INFO: Processing buffer {"connection_id":160817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a00690012d196940071fedd8003e011c26..."} 
[2026-08-22 09:31:30] local.INFO: Packet analysis {"connection_id":160817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a0"} 
[2026-08-22 09:31:30] local.INFO: Extracted packet for processing {"connection_id":160817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a0"} 
[2026-08-22 09:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567020288001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:31: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-22 09:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787371194000,"timestamp_ms":1787371194000,"timestamp_seconds":1787371194,"priority":1,"record_length":96,"hex_timestamp":"000001a027a00690"} 
[2026-08-22 09: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-22 09:31: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-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:31:30] 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-22 09: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-22 09: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-22 09:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:31:30] 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-22 09:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567020288001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567020288001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:31:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:31:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567020288001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":160817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:31:30] local.INFO: GPS data processed {"connection_id":160817,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:31:30] local.INFO: Acknowledgment sent {"connection_id":160817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:31:35] local.INFO: TCP Data received {"connection_id":162240,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:31:35] local.INFO: Processing buffer {"connection_id":162240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:31:35] local.INFO: IMEI packet received {"connection_id":162240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":162240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:31:36] local.INFO: TCP Data received {"connection_id":162240,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:31:36] local.INFO: Processing buffer {"connection_id":162240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:31:36] local.INFO: IMEI packet received {"connection_id":162240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":162240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:31:41] local.INFO: TCP Data received {"connection_id":162240,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:31:41] local.INFO: Processing buffer {"connection_id":162240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:31:41] local.INFO: IMEI packet received {"connection_id":162240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":162240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:31:42] local.INFO: TCP Data received {"connection_id":162240,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027a0ae88012d0d2e000703ca58001000b225..."} 
[2026-08-22 09:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a0ae88012d0d2e000703ca58001000b225..."} 
[2026-08-22 09:31:42] local.INFO: Processing buffer {"connection_id":162240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a0ae88012d0d2e000703ca58001000b225..."} 
[2026-08-22 09:31:42] local.INFO: Packet analysis {"connection_id":162240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a0"} 
[2026-08-22 09:31:42] local.INFO: Extracted packet for processing {"connection_id":162240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a0"} 
[2026-08-22 09:31:42] local.INFO: GPS Element Parsed {"raw_longitude":755838464,"raw_latitude":117688920,"longitude_deg":75.5838464,"latitude_deg":11.768892,"altitude":16,"angle":178,"satellites":37,"speed":8,"hex_longitude":"2d0d2e00","hex_latitude":"0703ca58","is_valid_coordinates":true} 
[2026-08-22 09:31: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-22 09:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567034624001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29398411190992896,"note":"Value kept but may cause issues"} 
[2026-08-22 09:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949133651597418496,"note":"Value kept but may cause issues"} 
[2026-08-22 09:31:42] 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-22 09:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787371237000,"timestamp_ms":1787371237000,"timestamp_seconds":1787371237,"priority":1,"record_length":96,"hex_timestamp":"000001a027a0ae88"} 
[2026-08-22 09:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09:31: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":179,"data_length":795,"current_offset":136} 
[2026-08-22 09:31:42] 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-22 09:31: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-22 09:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567034624001,"66":13798,"16":29398411190992896,"94":11008,"24":8,"45":949133651597418496},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 09:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567034624001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29398411190992896,"km_value":29398411190992.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:31:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":949133651597418496,"description":"Unknown IO ID 45"} 
[2026-08-22 09:31:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567034624001,"power":13798,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":949133651597418496}} 
[2026-08-22 09:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":162240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680336,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:31:42] local.INFO: GPS data processed {"connection_id":162240,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:31:42] local.INFO: Acknowledgment sent {"connection_id":162240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:31:54] local.INFO: TCP Data received {"connection_id":159926,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:31:54] local.INFO: Processing buffer {"connection_id":159926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:31:54] local.INFO: IMEI packet received {"connection_id":159926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":159926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:31:56] local.INFO: TCP Data received {"connection_id":159927,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:31:56] local.INFO: Processing buffer {"connection_id":159927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:31:56] local.INFO: IMEI packet received {"connection_id":159927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":159927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:31:58] local.INFO: TCP Data received {"connection_id":159927,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:31:58] local.INFO: Processing buffer {"connection_id":159927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:31:58] local.INFO: IMEI packet received {"connection_id":159927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":159927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:31:59] local.INFO: TCP Data received {"connection_id":159926,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:31:59] local.INFO: Processing buffer {"connection_id":159926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:31:59] local.INFO: IMEI packet received {"connection_id":159926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":159926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:32:00] local.INFO: TCP Data received {"connection_id":159926,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:32:00] local.INFO: Processing buffer {"connection_id":159926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:32:00] local.INFO: Packet analysis {"connection_id":159926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:32:00] local.INFO: Extracted packet for processing {"connection_id":159926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:32:00] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566924032001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32: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-22 09:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787371094000,"timestamp_ms":1787371094000,"timestamp_seconds":1787371094,"priority":1,"record_length":96,"hex_timestamp":"000001a0279e7ff0"} 
[2026-08-22 09: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-22 09:32: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-22 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 09:32:00] 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-22 09: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-22 09: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-22 09:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566924032001,"66":25702,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566924032001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:32:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:32:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566924032001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":159926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:32:00] local.INFO: GPS data processed {"connection_id":159926,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:32:00] local.INFO: Acknowledgment sent {"connection_id":159926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:32:03] local.INFO: TCP Data received {"connection_id":159927,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:32:03] local.INFO: Processing buffer {"connection_id":159927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:32:03] local.INFO: IMEI packet received {"connection_id":159927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":159927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:32:04] local.INFO: TCP Data received {"connection_id":159927,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a05898012d196940071fedd8003e011c25..."} 
[2026-08-22 09:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a05898012d196940071fedd8003e011c25..."} 
[2026-08-22 09:32:04] local.INFO: Processing buffer {"connection_id":159927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a05898012d196940071fedd8003e011c25..."} 
[2026-08-22 09:32:04] local.INFO: Packet analysis {"connection_id":159927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a0"} 
[2026-08-22 09:32:04] local.INFO: Extracted packet for processing {"connection_id":159927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a0"} 
[2026-08-22 09:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567025664001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787371215000,"timestamp_ms":1787371215000,"timestamp_seconds":1787371215,"priority":1,"record_length":96,"hex_timestamp":"000001a027a05898"} 
[2026-08-22 09:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:32: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-22 09:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:32:04] 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-22 09:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:32:04] 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-22 09:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567025664001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567025664001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:32:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:32:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567025664001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":159927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:32:04] local.INFO: GPS data processed {"connection_id":159927,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:32:04] local.INFO: Acknowledgment sent {"connection_id":159927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:32:05] local.INFO: TCP Data received {"connection_id":159926,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:32:05] local.INFO: Processing buffer {"connection_id":159926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:32:05] local.INFO: Packet analysis {"connection_id":159926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:32:05] local.INFO: Extracted packet for processing {"connection_id":159926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566924032001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:05] 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-22 09:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787371094000,"timestamp_ms":1787371094000,"timestamp_seconds":1787371094,"priority":1,"record_length":96,"hex_timestamp":"000001a0279e7ff0"} 
[2026-08-22 09: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-22 09:32: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-22 09:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 09:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566924032001,"66":25702,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566924032001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:32:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566924032001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":159926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:32:05] local.INFO: GPS data processed {"connection_id":159926,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:32:05] local.INFO: Acknowledgment sent {"connection_id":159926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:32:09] local.INFO: TCP Data received {"connection_id":159927,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a0aaa0012d196940071fedd8003e011c26..."} 
[2026-08-22 09:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a0aaa0012d196940071fedd8003e011c26..."} 
[2026-08-22 09:32:09] local.INFO: Processing buffer {"connection_id":159927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a0aaa0012d196940071fedd8003e011c26..."} 
[2026-08-22 09:32:09] local.INFO: Packet analysis {"connection_id":159927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a0"} 
[2026-08-22 09:32:09] local.INFO: Extracted packet for processing {"connection_id":159927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a0"} 
[2026-08-22 09:32:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567031040001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787371236000,"timestamp_ms":1787371236000,"timestamp_seconds":1787371236,"priority":1,"record_length":96,"hex_timestamp":"000001a027a0aaa0"} 
[2026-08-22 09:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:32:09] 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-22 09:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:32:09] 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-22 09:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:32:09] 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-22 09:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567031040001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567031040001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:32:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:32:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567031040001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":159927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:32:09] local.INFO: GPS data processed {"connection_id":159927,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:32:09] local.INFO: Acknowledgment sent {"connection_id":159927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:32:13] local.INFO: TCP Data received {"connection_id":162240,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027a0fca8012d0d2e800703cc40001100b224..."} 
[2026-08-22 09:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a0fca8012d0d2e800703cc40001100b224..."} 
[2026-08-22 09:32:13] local.INFO: Processing buffer {"connection_id":162240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a0fca8012d0d2e800703cc40001100b224..."} 
[2026-08-22 09:32:13] local.INFO: Packet analysis {"connection_id":162240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a0"} 
[2026-08-22 09:32:13] local.INFO: Extracted packet for processing {"connection_id":162240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a0"} 
[2026-08-22 09:32:13] local.INFO: GPS Element Parsed {"raw_longitude":755838592,"raw_latitude":117689408,"longitude_deg":75.5838592,"latitude_deg":11.7689408,"altitude":17,"angle":178,"satellites":36,"speed":0,"hex_longitude":"2d0d2e80","hex_latitude":"0703cc40","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567036672001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29398462730600448,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949696601550116864,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:13] 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-22 09:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787371257000,"timestamp_ms":1787371257000,"timestamp_seconds":1787371257,"priority":1,"record_length":96,"hex_timestamp":"000001a027a0fca8"} 
[2026-08-22 09: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-22 09:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-22 09:32:13] 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-22 09: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-22 09: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-22 09:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567036672001,"66":14537,"16":29398462730600448,"94":11008,"24":0,"45":949696601550116864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 09:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567036672001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29398462730600448,"km_value":29398462730600.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:32:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":949696601550116864,"description":"Unknown IO ID 45"} 
[2026-08-22 09:32:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567036672001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":949696601550116864}} 
[2026-08-22 09:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":162240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680341,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:32:13] local.INFO: GPS data processed {"connection_id":162240,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:32:13] local.INFO: Acknowledgment sent {"connection_id":162240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:32:36] local.INFO: TCP Data received {"connection_id":159669,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159669,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:32:36] local.INFO: Processing buffer {"connection_id":159669,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:32:36] local.INFO: IMEI packet received {"connection_id":159669,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":159669,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:32:41] local.INFO: TCP Data received {"connection_id":159669,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159669,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:32:41] local.INFO: Processing buffer {"connection_id":159669,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:32:41] local.INFO: IMEI packet received {"connection_id":159669,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":159669,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:32:42] local.INFO: TCP Data received {"connection_id":159669,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027a12b88012d0d2cc00703ccc00011014124..."} 
[2026-08-22 09:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a12b88012d0d2cc00703ccc00011014124..."} 
[2026-08-22 09:32:42] local.INFO: Processing buffer {"connection_id":159669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a12b88012d0d2cc00703ccc00011014124..."} 
[2026-08-22 09:32:42] local.INFO: Packet analysis {"connection_id":159669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a1"} 
[2026-08-22 09:32:42] local.INFO: Extracted packet for processing {"connection_id":159669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a1"} 
[2026-08-22 09:32:42] local.INFO: GPS Element Parsed {"raw_longitude":755838144,"raw_latitude":117689536,"longitude_deg":75.5838144,"latitude_deg":11.7689536,"altitude":17,"angle":321,"satellites":36,"speed":6,"hex_longitude":"2d0d2cc0","hex_latitude":"0703ccc0","is_valid_coordinates":true} 
[2026-08-22 09:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567041792001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29398488500404224,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949837339038597120,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:42] 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-22 09:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787371269000,"timestamp_ms":1787371269000,"timestamp_seconds":1787371269,"priority":1,"record_length":96,"hex_timestamp":"000001a027a12b88"} 
[2026-08-22 09:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-22 09:32:42] 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-22 09:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567041792001,"66":14548,"16":29398488500404224,"94":11008,"24":6,"45":949837339038597120},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 09:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567041792001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29398488500404224,"km_value":29398488500404.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:32:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":949837339038597120,"description":"Unknown IO ID 45"} 
[2026-08-22 09:32:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567041792001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":949837339038597120}} 
[2026-08-22 09:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":159669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680342,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:32:42] local.INFO: GPS data processed {"connection_id":159669,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:32:42] local.INFO: Acknowledgment sent {"connection_id":159669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:32:50] local.INFO: TCP Data received {"connection_id":159928,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:32:50] local.INFO: Processing buffer {"connection_id":159928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:32:50] local.INFO: IMEI packet received {"connection_id":159928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":159928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:32:53] local.INFO: TCP Data received {"connection_id":159670,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:32:53] local.INFO: Processing buffer {"connection_id":159670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:32:53] local.INFO: IMEI packet received {"connection_id":159670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":159670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:32:54] local.INFO: TCP Data received {"connection_id":159928,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:32:54] local.INFO: Processing buffer {"connection_id":159928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:32:54] local.INFO: IMEI packet received {"connection_id":159928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":159928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:32:55] local.INFO: TCP Data received {"connection_id":159928,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:32:55] local.INFO: Processing buffer {"connection_id":159928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:32:55] local.INFO: Packet analysis {"connection_id":159928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:32:55] local.INFO: Extracted packet for processing {"connection_id":159928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566924032001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32: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-22 09:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787371094000,"timestamp_ms":1787371094000,"timestamp_seconds":1787371094,"priority":1,"record_length":96,"hex_timestamp":"000001a0279e7ff0"} 
[2026-08-22 09: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-22 09:32: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-22 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 09:32:55] 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-22 09: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-22 09: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-22 09:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566924032001,"66":25702,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566924032001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:32:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:32:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566924032001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":159928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:32:55] local.INFO: GPS data processed {"connection_id":159928,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:32:55] local.INFO: Acknowledgment sent {"connection_id":159928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:32:58] local.INFO: TCP Data received {"connection_id":159670,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:32:58] local.INFO: Processing buffer {"connection_id":159670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:32:58] local.INFO: IMEI packet received {"connection_id":159670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":159670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:32:59] local.INFO: TCP Data received {"connection_id":159670,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a0fca8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a0fca8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:32:59] local.INFO: Processing buffer {"connection_id":159670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a0fca8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:32:59] local.INFO: Packet analysis {"connection_id":159670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a0"} 
[2026-08-22 09:32:59] local.INFO: Extracted packet for processing {"connection_id":159670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a0"} 
[2026-08-22 09:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567036416001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:32: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-22 09:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787371257000,"timestamp_ms":1787371257000,"timestamp_seconds":1787371257,"priority":1,"record_length":96,"hex_timestamp":"000001a027a0fca8"} 
[2026-08-22 09: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-22 09:32: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-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:32:59] 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-22 09: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-22 09: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-22 09:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:32:59] 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-22 09:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567036416001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567036416001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:32:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:32:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567036416001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":159670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:32:59] local.INFO: GPS data processed {"connection_id":159670,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:32:59] local.INFO: Acknowledgment sent {"connection_id":159670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:33:13] local.INFO: TCP Data received {"connection_id":159669,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027a12f70012d0d2c800703cd580011015325..."} 
[2026-08-22 09:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a12f70012d0d2c800703cd580011015325..."} 
[2026-08-22 09:33:13] local.INFO: Processing buffer {"connection_id":159669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a12f70012d0d2c800703cd580011015325..."} 
[2026-08-22 09:33:13] local.INFO: Packet analysis {"connection_id":159669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a1"} 
[2026-08-22 09:33:13] local.INFO: Extracted packet for processing {"connection_id":159669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a1"} 
[2026-08-22 09:33:13] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117689688,"longitude_deg":75.583808,"latitude_deg":11.7689688,"altitude":17,"angle":339,"satellites":37,"speed":7,"hex_longitude":"2d0d2c80","hex_latitude":"0703cd58","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567044864001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29398497090338816,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949344757829386240,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:13] 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-22 09:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787371270000,"timestamp_ms":1787371270000,"timestamp_seconds":1787371270,"priority":1,"record_length":96,"hex_timestamp":"000001a027a12f70"} 
[2026-08-22 09: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-22 09:33: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-22 09: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-22 09:33:13] 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-22 09: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-22 09: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-22 09:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567044864001,"66":14396,"16":29398497090338816,"94":11008,"24":7,"45":949344757829386240},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 09:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567044864001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29398497090338816,"km_value":29398497090338.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:33:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":949344757829386240,"description":"Unknown IO ID 45"} 
[2026-08-22 09:33:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567044864001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":949344757829386240}} 
[2026-08-22 09:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":159669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680345,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:33:14] local.INFO: GPS data processed {"connection_id":159669,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:33:14] local.INFO: Acknowledgment sent {"connection_id":159669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:33:27] local.INFO: TCP Data received {"connection_id":159928,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:33:27] local.INFO: Processing buffer {"connection_id":159928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0279e7ff0012d7f894005afe0a0000000e023..."} 
[2026-08-22 09:33:27] local.INFO: Packet analysis {"connection_id":159928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:33:27] local.INFO: Extracted packet for processing {"connection_id":159928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0279e"} 
[2026-08-22 09:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457566924032001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33: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-22 09:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787371094000,"timestamp_ms":1787371094000,"timestamp_seconds":1787371094,"priority":1,"record_length":96,"hex_timestamp":"000001a0279e7ff0"} 
[2026-08-22 09: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-22 09:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 09:33:27] 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-22 09: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-22 09: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-22 09:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457566924032001,"66":25702,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457566924032001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:33:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457566924032001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":159928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:33:27] local.INFO: GPS data processed {"connection_id":159928,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:33:27] local.INFO: Acknowledgment sent {"connection_id":159928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:33:30] local.INFO: TCP Data received {"connection_id":159670,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a14eb0012d196940071fedd8003e011c24..."} 
[2026-08-22 09:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a14eb0012d196940071fedd8003e011c24..."} 
[2026-08-22 09:33:30] local.INFO: Processing buffer {"connection_id":159670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a14eb0012d196940071fedd8003e011c24..."} 
[2026-08-22 09:33:30] local.INFO: Packet analysis {"connection_id":159670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a1"} 
[2026-08-22 09:33:30] local.INFO: Extracted packet for processing {"connection_id":159670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a1"} 
[2026-08-22 09:33:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567041792001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33: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-22 09:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787371278000,"timestamp_ms":1787371278000,"timestamp_seconds":1787371278,"priority":1,"record_length":96,"hex_timestamp":"000001a027a14eb0"} 
[2026-08-22 09: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-22 09:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2854928602064820585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79976276781170688,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:30] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2679408641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:33:30] local.WARNING: Large IO value detected {"io_id":98,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:30] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,160,170,45,64,237,62,38,10,66,88,37,6,1,240,255,227,39,31,4,113,205,98,105,216,35,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:33:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:33:30] 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-22 09:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567041792001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567041792001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:33:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:33:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567041792001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":159670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:33:30] local.INFO: GPS data processed {"connection_id":159670,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:33:30] local.INFO: Acknowledgment sent {"connection_id":159670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:33:44] local.INFO: TCP Data received {"connection_id":160818,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160818,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:33:44] local.INFO: Processing buffer {"connection_id":160818,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:33:44] local.INFO: IMEI packet received {"connection_id":160818,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":160818,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:33:44] local.INFO: TCP Data received {"connection_id":160818,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160818,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:33:44] local.INFO: Processing buffer {"connection_id":160818,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:33:44] local.INFO: IMEI packet received {"connection_id":160818,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":160818,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:33:45] local.INFO: TCP Data received {"connection_id":160818,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160818,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:33:45] local.INFO: Processing buffer {"connection_id":160818,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:33:45] local.INFO: IMEI packet received {"connection_id":160818,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":160818,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:33:46] local.INFO: TCP Data received {"connection_id":160818,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160818,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:33:46] local.INFO: Processing buffer {"connection_id":160818,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:33:46] local.INFO: IMEI packet received {"connection_id":160818,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":160818,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:33:49] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:33:49] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:33:49] local.INFO: IMEI packet received {"connection_id":159929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":159929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:33:52] local.INFO: TCP Data received {"connection_id":160819,"ip":"165.154.118.215","data_length":257,"data_hex":"16030100fc010000f8030349c796af67798fd6f99b53db17cb5c7070cf244f74..."} 
[2026-08-22 09:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160819,"packet_length":257,"packet_hex":"16030100fc010000f8030349c796af67798fd6f99b53db17cb5c7070cf244f74..."} 
[2026-08-22 09:33:52] local.INFO: Processing buffer {"connection_id":160819,"buffer_length":257,"buffer_hex":"16030100fc010000f8030349c796af67798fd6f99b53db17cb5c7070cf244f74..."} 
[2026-08-22 09:33:52] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":160819,"buffer_length":257,"first_bytes_hex":"16030100fc010000f8030349c796af67"} 
[2026-08-22 09:33:53] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:33:53] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:33:53] local.INFO: IMEI packet received {"connection_id":159930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":159930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:33:55] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:33:55] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:33:55] local.INFO: IMEI packet received {"connection_id":159929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":159929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:33:55] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:33:55] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:33:55] local.INFO: Packet analysis {"connection_id":159929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:33:55] local.INFO: Extracted packet for processing {"connection_id":159929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567000064001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33: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-22 09:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787371390000,"timestamp_ms":1787371390000,"timestamp_seconds":1787371390,"priority":1,"record_length":96,"hex_timestamp":"000001a027a30430"} 
[2026-08-22 09: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-22 09:33: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-22 09:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 09:33: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-22 09: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-22 09: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-22 09:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567000064001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567000064001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:33:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567000064001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":159929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:33:55] local.INFO: GPS data processed {"connection_id":159929,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:33:55] local.INFO: Acknowledgment sent {"connection_id":159929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:33:58] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:33:58] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:33:58] local.INFO: IMEI packet received {"connection_id":159930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":159930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:33:59] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a1a0b8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a1a0b8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:33:59] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a1a0b8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:33:59] local.INFO: Packet analysis {"connection_id":159930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a1"} 
[2026-08-22 09:33:59] local.INFO: Extracted packet for processing {"connection_id":159930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a1"} 
[2026-08-22 09:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567047168001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:33: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-22 09:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787371299000,"timestamp_ms":1787371299000,"timestamp_seconds":1787371299,"priority":1,"record_length":96,"hex_timestamp":"000001a027a1a0b8"} 
[2026-08-22 09: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-22 09:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:33:59] 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-22 09:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567047168001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567047168001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:33:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:33:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567047168001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":159930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:33:59] local.INFO: GPS data processed {"connection_id":159930,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:33:59] local.INFO: Acknowledgment sent {"connection_id":159930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:34:11] local.INFO: TCP Data received {"connection_id":162241,"ip":"165.154.118.215","data_length":254,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-22 09:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162241,"packet_length":254,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-22 09:34:11] local.INFO: Processing buffer {"connection_id":162241,"buffer_length":254,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-22 09:34:11] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":162241,"buffer_length":254,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-08-22 09:34:27] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:34:27] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:34:27] local.INFO: Packet analysis {"connection_id":159929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:34:27] local.INFO: Extracted packet for processing {"connection_id":159929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:34:27] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567000064001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34: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-22 09:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787371390000,"timestamp_ms":1787371390000,"timestamp_seconds":1787371390,"priority":1,"record_length":96,"hex_timestamp":"000001a027a30430"} 
[2026-08-22 09: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-22 09:34: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-22 09:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 09:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 09: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-22 09: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-22 09:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567000064001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567000064001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:34:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:34:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567000064001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":159929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:34:27] local.INFO: GPS data processed {"connection_id":159929,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:34:27] local.INFO: Acknowledgment sent {"connection_id":159929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:34:29] local.INFO: TCP Data received {"connection_id":162242,"ip":"165.154.118.215","data_length":4,"data_hex":"0d0a0d0a..."} 
[2026-08-22 09:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162242,"packet_length":4,"packet_hex":"0d0a0d0a..."} 
[2026-08-22 09:34:29] local.INFO: Processing buffer {"connection_id":162242,"buffer_length":4,"buffer_hex":"0d0a0d0a..."} 
[2026-08-22 09:34:30] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a1f2c0012d196940071fedd8003e011c24..."} 
[2026-08-22 09:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a1f2c0012d196940071fedd8003e011c24..."} 
[2026-08-22 09:34:30] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a1f2c0012d196940071fedd8003e011c24..."} 
[2026-08-22 09:34:30] local.INFO: Packet analysis {"connection_id":159930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a1"} 
[2026-08-22 09:34:30] local.INFO: Extracted packet for processing {"connection_id":159930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a1"} 
[2026-08-22 09:34:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567052544001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34: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-22 09:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787371320000,"timestamp_ms":1787371320000,"timestamp_seconds":1787371320,"priority":1,"record_length":96,"hex_timestamp":"000001a027a1f2c0"} 
[2026-08-22 09: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-22 09:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2855108990691252585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79979575316054016,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:30] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2690160641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:34:30] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:30] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:30] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,160,78,45,64,237,62,36,10,66,252,38,170,1,240,255,227,39,31,4,113,205,6,105,216,239,47,2,51,7,35],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:34:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:34:30] 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-22 09:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567052544001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567052544001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:34:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:34:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567052544001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":159930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:34:30] local.INFO: GPS data processed {"connection_id":159930,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:34:30] local.INFO: Acknowledgment sent {"connection_id":159930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:34:47] local.INFO: TCP Data received {"connection_id":160821,"ip":"165.154.118.215","data_length":41,"data_hex":"050400010280050100030a6769746875622e636f6d0050474554202f20485454..."} 
[2026-08-22 09:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160821,"packet_length":41,"packet_hex":"050400010280050100030a6769746875622e636f6d0050474554202f20485454..."} 
[2026-08-22 09:34:47] local.INFO: Processing buffer {"connection_id":160821,"buffer_length":41,"buffer_hex":"050400010280050100030a6769746875622e636f6d0050474554202f20485454..."} 
[2026-08-22 09:34:47] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":160821,"buffer_length":41,"first_bytes_hex":"050400010280050100030a6769746875"} 
[2026-08-22 09:34:49] local.INFO: TCP Data received {"connection_id":160822,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:34:49] local.INFO: Processing buffer {"connection_id":160822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:34:49] local.INFO: IMEI packet received {"connection_id":160822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":160822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:34:54] local.INFO: TCP Data received {"connection_id":160823,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:34:54] local.INFO: Processing buffer {"connection_id":160823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:34:54] local.INFO: IMEI packet received {"connection_id":160823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":160823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:34:55] local.INFO: TCP Data received {"connection_id":160822,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:34:55] local.INFO: Processing buffer {"connection_id":160822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:34:55] local.INFO: IMEI packet received {"connection_id":160822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":160822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:34:55] local.INFO: TCP Data received {"connection_id":160822,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:34:55] local.INFO: Processing buffer {"connection_id":160822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:34:55] local.INFO: Packet analysis {"connection_id":160822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:34:55] local.INFO: Extracted packet for processing {"connection_id":160822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567000064001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34: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-22 09:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787371390000,"timestamp_ms":1787371390000,"timestamp_seconds":1787371390,"priority":1,"record_length":96,"hex_timestamp":"000001a027a30430"} 
[2026-08-22 09: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-22 09:34: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-22 09: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 09:34: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-22 09: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-22 09: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-22 09:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567000064001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567000064001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:34:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:34:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567000064001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":160822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:34:55] local.INFO: GPS data processed {"connection_id":160822,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:34:55] local.INFO: Acknowledgment sent {"connection_id":160822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:34:58] local.INFO: TCP Data received {"connection_id":160823,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:34:58] local.INFO: Processing buffer {"connection_id":160823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:34:58] local.INFO: IMEI packet received {"connection_id":160823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":160823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:34:59] local.INFO: TCP Data received {"connection_id":160823,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a244c8012d196940071fedd8003e011c22..."} 
[2026-08-22 09:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a244c8012d196940071fedd8003e011c22..."} 
[2026-08-22 09:34:59] local.INFO: Processing buffer {"connection_id":160823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a244c8012d196940071fedd8003e011c22..."} 
[2026-08-22 09:34:59] local.INFO: Packet analysis {"connection_id":160823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a2"} 
[2026-08-22 09:34:59] local.INFO: Extracted packet for processing {"connection_id":160823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a2"} 
[2026-08-22 09:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567057920001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34: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-22 09:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787371341000,"timestamp_ms":1787371341000,"timestamp_seconds":1787371341,"priority":1,"record_length":96,"hex_timestamp":"000001a027a244c8"} 
[2026-08-22 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-22 09:34: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-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2855199185004468585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79980674827681792,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2695536641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:34:59] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:59] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-22 09:34:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,160,45,64,237,62,38,10,66,78,36,252,1,240,227,39,31,4,113,205,88,105,216,37,239,47,2,51,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:34:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883246272643072,"timestamp_seconds":4467883246272643.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 09:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:34:59] 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-22 09:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567057920001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567057920001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:34:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:34:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567057920001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":160823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:34:59] local.INFO: GPS data processed {"connection_id":160823,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:34:59] local.INFO: Acknowledgment sent {"connection_id":160823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:35:06] local.INFO: TCP Data received {"connection_id":159672,"ip":"165.154.118.215","data_length":11,"data_hex":"0300000b06e00000000000..."} 
[2026-08-22 09:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159672,"packet_length":11,"packet_hex":"0300000b06e00000000000..."} 
[2026-08-22 09:35:06] local.INFO: Processing buffer {"connection_id":159672,"buffer_length":11,"buffer_hex":"0300000b06e00000000000..."} 
[2026-08-22 09:35:24] local.INFO: TCP Data received {"connection_id":160824,"ip":"165.154.118.215","data_length":51,"data_hex":"030000332ee00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-22 09:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160824,"packet_length":51,"packet_hex":"030000332ee00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-22 09:35:24] local.INFO: Processing buffer {"connection_id":160824,"buffer_length":51,"buffer_hex":"030000332ee00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-22 09:35:24] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":160824,"buffer_length":51,"first_bytes_hex":"030000332ee00000000000436f6f6b69"} 
[2026-08-22 09:35:26] local.INFO: TCP Data received {"connection_id":160822,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:35:26] local.INFO: Processing buffer {"connection_id":160822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:35:26] local.INFO: Packet analysis {"connection_id":160822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:35:26] local.INFO: Extracted packet for processing {"connection_id":160822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:35:26] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567000064001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:35: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-22 09:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787371390000,"timestamp_ms":1787371390000,"timestamp_seconds":1787371390,"priority":1,"record_length":96,"hex_timestamp":"000001a027a30430"} 
[2026-08-22 09: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-22 09:35: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-22 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 09:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 09: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-22 09: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-22 09:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567000064001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567000064001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:35:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:35:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567000064001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":160822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:35:26] local.INFO: GPS data processed {"connection_id":160822,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:35:26] local.INFO: Acknowledgment sent {"connection_id":160822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:35:30] local.INFO: TCP Data received {"connection_id":160823,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a296d0012d196940071fedd8003e011c26..."} 
[2026-08-22 09:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a296d0012d196940071fedd8003e011c26..."} 
[2026-08-22 09:35:30] local.INFO: Processing buffer {"connection_id":160823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a296d0012d196940071fedd8003e011c26..."} 
[2026-08-22 09:35:30] local.INFO: Packet analysis {"connection_id":160823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a2"} 
[2026-08-22 09:35:30] local.INFO: Extracted packet for processing {"connection_id":160823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a2"} 
[2026-08-22 09:35:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567063296001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:35: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-22 09:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787371362000,"timestamp_ms":1787371362000,"timestamp_seconds":1787371362,"priority":1,"record_length":96,"hex_timestamp":"000001a027a296d0"} 
[2026-08-22 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-22 09:35: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-22 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 09:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:35:30] 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-22 09:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567063296001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567063296001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:35:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:35:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567063296001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":160823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:35:30] local.INFO: GPS data processed {"connection_id":160823,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:35:30] local.INFO: Acknowledgment sent {"connection_id":160823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:35:49] local.INFO: TCP Data received {"connection_id":160825,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:35:49] local.INFO: Processing buffer {"connection_id":160825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:35:49] local.INFO: IMEI packet received {"connection_id":160825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":160825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:35:53] local.INFO: TCP Data received {"connection_id":162243,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:35:53] local.INFO: Processing buffer {"connection_id":162243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:35:53] local.INFO: IMEI packet received {"connection_id":162243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":162243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:35:55] local.INFO: TCP Data received {"connection_id":160825,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:35:55] local.INFO: Processing buffer {"connection_id":160825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:35:55] local.INFO: IMEI packet received {"connection_id":160825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":160825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:35:55] local.INFO: TCP Data received {"connection_id":160825,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:35:55] local.INFO: Processing buffer {"connection_id":160825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:35:55] local.INFO: Packet analysis {"connection_id":160825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:35:55] local.INFO: Extracted packet for processing {"connection_id":160825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567000064001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:35: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-22 09:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787371390000,"timestamp_ms":1787371390000,"timestamp_seconds":1787371390,"priority":1,"record_length":96,"hex_timestamp":"000001a027a30430"} 
[2026-08-22 09: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-22 09:35: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-22 09:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 09:35: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-22 09: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-22 09: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-22 09:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567000064001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567000064001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:35:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:35:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567000064001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":160825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:35:55] local.INFO: GPS data processed {"connection_id":160825,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:35:55] local.INFO: Acknowledgment sent {"connection_id":160825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:35:58] local.INFO: TCP Data received {"connection_id":162243,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:35:58] local.INFO: Processing buffer {"connection_id":162243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:35:58] local.INFO: IMEI packet received {"connection_id":162243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":162243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:35:59] local.INFO: TCP Data received {"connection_id":162243,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a2e8d8012d196940071fedd8003e011c27..."} 
[2026-08-22 09:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a2e8d8012d196940071fedd8003e011c27..."} 
[2026-08-22 09:35:59] local.INFO: Processing buffer {"connection_id":162243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a2e8d8012d196940071fedd8003e011c27..."} 
[2026-08-22 09:35:59] local.INFO: Packet analysis {"connection_id":162243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a2"} 
[2026-08-22 09:35:59] local.INFO: Extracted packet for processing {"connection_id":162243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a2"} 
[2026-08-22 09:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567068672001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:35: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-22 09:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787371383000,"timestamp_ms":1787371383000,"timestamp_seconds":1787371383,"priority":1,"record_length":96,"hex_timestamp":"000001a027a2e8d8"} 
[2026-08-22 09: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-22 09: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-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:35:59] 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-22 09: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-22 09: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-22 09:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:35:59] 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-22 09:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567068672001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567068672001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:35:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:35:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567068672001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":162243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:35:59] local.INFO: GPS data processed {"connection_id":162243,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:35:59] local.INFO: Acknowledgment sent {"connection_id":162243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:36:27] local.INFO: TCP Data received {"connection_id":160825,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:36:27] local.INFO: Processing buffer {"connection_id":160825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:36:27] local.INFO: Packet analysis {"connection_id":160825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:36:27] local.INFO: Extracted packet for processing {"connection_id":160825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567000064001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36: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-22 09:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787371390000,"timestamp_ms":1787371390000,"timestamp_seconds":1787371390,"priority":1,"record_length":96,"hex_timestamp":"000001a027a30430"} 
[2026-08-22 09: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-22 09:36: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-22 09:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 09:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 09: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-22 09: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-22 09:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567000064001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567000064001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:36:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567000064001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":160825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:36:27] local.INFO: GPS data processed {"connection_id":160825,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:36:27] local.INFO: Acknowledgment sent {"connection_id":160825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:36:30] local.INFO: TCP Data received {"connection_id":162243,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a33ae0012d196940071fedd8003e011c26..."} 
[2026-08-22 09:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a33ae0012d196940071fedd8003e011c26..."} 
[2026-08-22 09:36:30] local.INFO: Processing buffer {"connection_id":162243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a33ae0012d196940071fedd8003e011c26..."} 
[2026-08-22 09:36:30] local.INFO: Packet analysis {"connection_id":162243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:36:30] local.INFO: Extracted packet for processing {"connection_id":162243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:36:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567074048001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36: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-22 09:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787371404000,"timestamp_ms":1787371404000,"timestamp_seconds":1787371404,"priority":1,"record_length":96,"hex_timestamp":"000001a027a33ae0"} 
[2026-08-22 09: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-22 09:36: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-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:36:30] 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-22 09: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-22 09: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-22 09:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:36:30] 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-22 09:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567074048001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567074048001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:36:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:36:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567074048001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":162243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:36:30] local.INFO: GPS data processed {"connection_id":162243,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:36:30] local.INFO: Acknowledgment sent {"connection_id":162243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:36:53] local.INFO: TCP Data received {"connection_id":160827,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:36:53] local.INFO: Processing buffer {"connection_id":160827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:36:53] local.INFO: IMEI packet received {"connection_id":160827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":160827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:36:55] local.INFO: TCP Data received {"connection_id":162244,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:36:55] local.INFO: Processing buffer {"connection_id":162244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:36:55] local.INFO: IMEI packet received {"connection_id":162244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":162244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:36:58] local.INFO: TCP Data received {"connection_id":160827,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:36:58] local.INFO: Processing buffer {"connection_id":160827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:36:58] local.INFO: IMEI packet received {"connection_id":160827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":160827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:36:59] local.INFO: TCP Data received {"connection_id":160827,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a38ce8012d196940071fedd8003e011c25..."} 
[2026-08-22 09:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a38ce8012d196940071fedd8003e011c25..."} 
[2026-08-22 09:36:59] local.INFO: Processing buffer {"connection_id":160827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a38ce8012d196940071fedd8003e011c25..."} 
[2026-08-22 09:36:59] local.INFO: Packet analysis {"connection_id":160827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:36:59] local.INFO: Extracted packet for processing {"connection_id":160827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567079424001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36: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-22 09:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787371425000,"timestamp_ms":1787371425000,"timestamp_seconds":1787371425,"priority":1,"record_length":96,"hex_timestamp":"000001a027a38ce8"} 
[2026-08-22 09: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-22 09:36: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-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2855559962257332585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79978475804426240,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2717040641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:36:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:36:59] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,160,232,45,64,237,62,39,10,66,150,38,68,1,240,53,227,31,4,113,205,105,216,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:36:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:36:59] 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-22 09:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567079424001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567079424001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:36:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:36:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567079424001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":160827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:36:59] local.INFO: GPS data processed {"connection_id":160827,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:36:59] local.INFO: Acknowledgment sent {"connection_id":160827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:36:59] local.INFO: TCP Data received {"connection_id":162244,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:36:59] local.INFO: Processing buffer {"connection_id":162244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:36:59] local.INFO: IMEI packet received {"connection_id":162244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":162244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:37:00] local.INFO: TCP Data received {"connection_id":162244,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:37:00] local.INFO: Processing buffer {"connection_id":162244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:37:00] local.INFO: Packet analysis {"connection_id":162244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:37:00] local.INFO: Extracted packet for processing {"connection_id":162244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567000064001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:37: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-22 09:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787371390000,"timestamp_ms":1787371390000,"timestamp_seconds":1787371390,"priority":1,"record_length":96,"hex_timestamp":"000001a027a30430"} 
[2026-08-22 09: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-22 09:37: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-22 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 09:37: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-22 09: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-22 09: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-22 09:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567000064001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567000064001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:37:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567000064001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":162244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:37:00] local.INFO: GPS data processed {"connection_id":162244,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:37:00] local.INFO: Acknowledgment sent {"connection_id":162244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:37:05] local.INFO: TCP Data received {"connection_id":162244,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:37:05] local.INFO: Processing buffer {"connection_id":162244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:37:05] local.INFO: Packet analysis {"connection_id":162244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:37:05] local.INFO: Extracted packet for processing {"connection_id":162244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567000064001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:37:05] 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-22 09:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787371390000,"timestamp_ms":1787371390000,"timestamp_seconds":1787371390,"priority":1,"record_length":96,"hex_timestamp":"000001a027a30430"} 
[2026-08-22 09:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:37: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-22 09:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 09:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567000064001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567000064001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:37:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567000064001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":162244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:37:05] local.INFO: GPS data processed {"connection_id":162244,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:37:05] local.INFO: Acknowledgment sent {"connection_id":162244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:37:30] local.INFO: TCP Data received {"connection_id":160827,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a3def0012d196940071fedd8003e011c28..."} 
[2026-08-22 09:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a3def0012d196940071fedd8003e011c28..."} 
[2026-08-22 09:37:30] local.INFO: Processing buffer {"connection_id":160827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a3def0012d196940071fedd8003e011c28..."} 
[2026-08-22 09:37:30] local.INFO: Packet analysis {"connection_id":160827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:37:30] local.INFO: Extracted packet for processing {"connection_id":160827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:37:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567084800001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:37: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-22 09:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787371446000,"timestamp_ms":1787371446000,"timestamp_seconds":1787371446,"priority":1,"record_length":96,"hex_timestamp":"000001a027a3def0"} 
[2026-08-22 09: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-22 09:37: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-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:37:30] 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-22 09: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-22 09: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-22 09:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:37:30] 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-22 09:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567084800001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567084800001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:37:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:37:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567084800001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":160827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:37:30] local.INFO: GPS data processed {"connection_id":160827,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:37:30] local.INFO: Acknowledgment sent {"connection_id":160827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:37:49] local.INFO: TCP Data received {"connection_id":159673,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:37:49] local.INFO: Processing buffer {"connection_id":159673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:37:49] local.INFO: IMEI packet received {"connection_id":159673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":159673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:37:53] local.INFO: TCP Data received {"connection_id":160828,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:37:53] local.INFO: Processing buffer {"connection_id":160828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:37:53] local.INFO: IMEI packet received {"connection_id":160828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":160828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:37:53] local.INFO: TCP Data received {"connection_id":160828,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:37:53] local.INFO: Processing buffer {"connection_id":160828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:37:53] local.INFO: IMEI packet received {"connection_id":160828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":160828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:37:54] local.INFO: TCP Data received {"connection_id":159673,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:37:54] local.INFO: Processing buffer {"connection_id":159673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:37:54] local.INFO: IMEI packet received {"connection_id":159673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":159673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:37:55] local.INFO: TCP Data received {"connection_id":159673,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:37:55] local.INFO: Processing buffer {"connection_id":159673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:37:55] local.INFO: Packet analysis {"connection_id":159673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:37:55] local.INFO: Extracted packet for processing {"connection_id":159673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567000064001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:37: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-22 09:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787371390000,"timestamp_ms":1787371390000,"timestamp_seconds":1787371390,"priority":1,"record_length":96,"hex_timestamp":"000001a027a30430"} 
[2026-08-22 09:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:37: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-22 09:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 09:37: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-22 09:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567000064001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567000064001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:37:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:37:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567000064001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":159673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:37:55] local.INFO: GPS data processed {"connection_id":159673,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:37:55] local.INFO: Acknowledgment sent {"connection_id":159673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:37:58] local.INFO: TCP Data received {"connection_id":160828,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:37:58] local.INFO: Processing buffer {"connection_id":160828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:37:58] local.INFO: IMEI packet received {"connection_id":160828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":160828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:37:59] local.INFO: TCP Data received {"connection_id":160828,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a430f8012d196940071fedd8003e011c28..."} 
[2026-08-22 09:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a430f8012d196940071fedd8003e011c28..."} 
[2026-08-22 09:37:59] local.INFO: Processing buffer {"connection_id":160828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a430f8012d196940071fedd8003e011c28..."} 
[2026-08-22 09:37:59] local.INFO: Packet analysis {"connection_id":160828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a4"} 
[2026-08-22 09:37:59] local.INFO: Extracted packet for processing {"connection_id":160828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a4"} 
[2026-08-22 09:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567090176001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:37: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-22 09:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787371467000,"timestamp_ms":1787371467000,"timestamp_seconds":1787371467,"priority":1,"record_length":96,"hex_timestamp":"000001a027a430f8"} 
[2026-08-22 09: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-22 09:37: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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:37:59] 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-22 09:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567090176001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567090176001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:37:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:37:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567090176001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":160828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:37:59] local.INFO: GPS data processed {"connection_id":160828,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:37:59] local.INFO: Acknowledgment sent {"connection_id":160828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:38:11] local.INFO: TCP Data received {"connection_id":162246,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:38:11] local.INFO: Processing buffer {"connection_id":162246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:38:11] local.INFO: IMEI packet received {"connection_id":162246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":162246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:38:16] local.INFO: TCP Data received {"connection_id":162246,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:38:16] local.INFO: Processing buffer {"connection_id":162246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:38:16] local.INFO: IMEI packet received {"connection_id":162246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":162246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:38:17] local.INFO: TCP Data received {"connection_id":162246,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:38:17] local.INFO: Processing buffer {"connection_id":162246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:38:17] local.INFO: Packet analysis {"connection_id":162246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:38:17] local.INFO: Extracted packet for processing {"connection_id":162246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:38:17] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567001600001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38:17] 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-22 09:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787371401000,"timestamp_ms":1787371401000,"timestamp_seconds":1787371401,"priority":1,"record_length":96,"hex_timestamp":"000001a027a32f28"} 
[2026-08-22 09: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-22 09:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:38:17] 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-22 09: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-22 09: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-22 09:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567001600001,"66":2231,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-22 09:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567001600001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:38:17] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457567001600001,"power":2231,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":162246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:38:17] local.INFO: GPS data processed {"connection_id":162246,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:38:17] local.INFO: Acknowledgment sent {"connection_id":162246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:38:26] local.INFO: TCP Data received {"connection_id":159673,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:38:26] local.INFO: Processing buffer {"connection_id":159673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a30430012d7f894005afe0a0000000e026..."} 
[2026-08-22 09:38:26] local.INFO: Packet analysis {"connection_id":159673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:38:26] local.INFO: Extracted packet for processing {"connection_id":159673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:38:26] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567000064001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38: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-22 09:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787371390000,"timestamp_ms":1787371390000,"timestamp_seconds":1787371390,"priority":1,"record_length":96,"hex_timestamp":"000001a027a30430"} 
[2026-08-22 09: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-22 09: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-22 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 09:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 09: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-22 09: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-22 09:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567000064001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567000064001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:38:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567000064001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":159673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:38:26] local.INFO: GPS data processed {"connection_id":159673,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:38:26] local.INFO: Acknowledgment sent {"connection_id":159673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:38:30] local.INFO: TCP Data received {"connection_id":160828,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a48300012d196940071fedd8003e011c25..."} 
[2026-08-22 09:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a48300012d196940071fedd8003e011c25..."} 
[2026-08-22 09:38:30] local.INFO: Processing buffer {"connection_id":160828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a48300012d196940071fedd8003e011c25..."} 
[2026-08-22 09:38:30] local.INFO: Packet analysis {"connection_id":160828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a4"} 
[2026-08-22 09:38:30] local.INFO: Extracted packet for processing {"connection_id":160828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a4"} 
[2026-08-22 09:38:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567095552001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38: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-22 09:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787371488000,"timestamp_ms":1787371488000,"timestamp_seconds":1787371488,"priority":1,"record_length":96,"hex_timestamp":"000001a027a48300"} 
[2026-08-22 09: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-22 09:38: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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:38:30] 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-22 09:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567095552001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567095552001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:38:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:38:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567095552001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":160828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:38:30] local.INFO: GPS data processed {"connection_id":160828,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:38:30] local.INFO: Acknowledgment sent {"connection_id":160828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:38:49] local.INFO: TCP Data received {"connection_id":160829,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:38:49] local.INFO: Processing buffer {"connection_id":160829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:38:49] local.INFO: IMEI packet received {"connection_id":160829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":160829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:38:51] local.INFO: TCP Data received {"connection_id":162247,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162247,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:38:51] local.INFO: Processing buffer {"connection_id":162247,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:38:51] local.INFO: IMEI packet received {"connection_id":162247,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":162247,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:38:52] local.INFO: TCP Data received {"connection_id":162247,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027a7fda0012d0c6dc00703df400010008e24..."} 
[2026-08-22 09:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a7fda0012d0c6dc00703df400010008e24..."} 
[2026-08-22 09:38:52] local.INFO: Processing buffer {"connection_id":162247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a7fda0012d0c6dc00703df400010008e24..."} 
[2026-08-22 09:38:52] local.INFO: Packet analysis {"connection_id":162247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:38:52] local.INFO: Extracted packet for processing {"connection_id":162247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:38:52] local.INFO: GPS Element Parsed {"raw_longitude":755789248,"raw_latitude":117694272,"longitude_deg":75.5789248,"latitude_deg":11.7694272,"altitude":16,"angle":142,"satellites":36,"speed":10,"hex_longitude":"2d0c6dc0","hex_latitude":"0703df40","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567158784001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29407559471333376,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895090456069728256,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38:52] 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-22 09:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787371716000,"timestamp_ms":1787371716000,"timestamp_seconds":1787371716,"priority":1,"record_length":96,"hex_timestamp":"000001a027a7fda0"} 
[2026-08-22 09: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-22 09:38: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-22 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 09:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567158784001,"66":14396,"16":29407559471333376,"94":11008,"24":10,"45":895090456069728256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 09:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567158784001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29407559471333376,"km_value":29407559471333.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:38:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":895090456069728256,"description":"Unknown IO ID 45"} 
[2026-08-22 09:38:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567158784001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":895090456069728256}} 
[2026-08-22 09:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":162247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680369,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:38:52] local.INFO: GPS data processed {"connection_id":162247,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:38:52] local.INFO: Acknowledgment sent {"connection_id":162247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:38:53] local.INFO: TCP Data received {"connection_id":160830,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:38:53] local.INFO: Processing buffer {"connection_id":160830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:38:53] local.INFO: IMEI packet received {"connection_id":160830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":160830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:38:54] local.INFO: TCP Data received {"connection_id":160829,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:38:54] local.INFO: Processing buffer {"connection_id":160829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:38:54] local.INFO: IMEI packet received {"connection_id":160829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":160829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:38:55] local.INFO: TCP Data received {"connection_id":160829,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:38:55] local.INFO: Processing buffer {"connection_id":160829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:38:55] local.INFO: Packet analysis {"connection_id":160829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:38:55] local.INFO: Extracted packet for processing {"connection_id":160829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:38:55] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":36,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567075840001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38: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-22 09:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787371685000,"timestamp_ms":1787371685000,"timestamp_seconds":1787371685,"priority":1,"record_length":96,"hex_timestamp":"000001a027a78488"} 
[2026-08-22 09: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-22 09: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-22 09:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 09:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567075840001,"66":25430,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567075840001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:38:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:38:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567075840001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":160829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:38:55] local.INFO: GPS data processed {"connection_id":160829,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:38:55] local.INFO: Acknowledgment sent {"connection_id":160829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:38:56] local.INFO: TCP Data received {"connection_id":159933,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:38:56] local.INFO: Processing buffer {"connection_id":159933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:38:56] local.INFO: IMEI packet received {"connection_id":159933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":159933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:38:56] local.INFO: TCP Data received {"connection_id":160830,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:38:56] local.INFO: Processing buffer {"connection_id":160830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:38:56] local.INFO: IMEI packet received {"connection_id":160830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":160830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:38:58] local.INFO: TCP Data received {"connection_id":160830,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:38:58] local.INFO: Processing buffer {"connection_id":160830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:38:58] local.INFO: IMEI packet received {"connection_id":160830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":160830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:38:59] local.INFO: TCP Data received {"connection_id":160830,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a4d508012d196940071fedd8003e011c26..."} 
[2026-08-22 09:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a4d508012d196940071fedd8003e011c26..."} 
[2026-08-22 09:38:59] local.INFO: Processing buffer {"connection_id":160830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a4d508012d196940071fedd8003e011c26..."} 
[2026-08-22 09:38:59] local.INFO: Packet analysis {"connection_id":160830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a4"} 
[2026-08-22 09:38:59] local.INFO: Extracted packet for processing {"connection_id":160830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a4"} 
[2026-08-22 09:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567100928001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:38: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-22 09:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787371509000,"timestamp_ms":1787371509000,"timestamp_seconds":1787371509,"priority":1,"record_length":96,"hex_timestamp":"000001a027a4d508"} 
[2026-08-22 09: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-22 09:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:38:59] 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-22 09:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567100928001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567100928001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:38:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:38:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567100928001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":160830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:38:59] local.INFO: GPS data processed {"connection_id":160830,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:38:59] local.INFO: Acknowledgment sent {"connection_id":160830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:39:01] local.INFO: TCP Data received {"connection_id":159933,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:39:01] local.INFO: Processing buffer {"connection_id":159933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:39:01] local.INFO: IMEI packet received {"connection_id":159933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":159933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:39:02] local.INFO: TCP Data received {"connection_id":159933,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:39:02] local.INFO: Processing buffer {"connection_id":159933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:39:02] local.INFO: Packet analysis {"connection_id":159933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:39:02] local.INFO: Extracted packet for processing {"connection_id":159933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567001600001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:02] 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-22 09:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787371401000,"timestamp_ms":1787371401000,"timestamp_seconds":1787371401,"priority":1,"record_length":96,"hex_timestamp":"000001a027a32f28"} 
[2026-08-22 09: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-22 09:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:39:02] 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-22 09: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-22 09: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-22 09:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567001600001,"66":2231,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-22 09:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567001600001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:39:02] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457567001600001,"power":2231,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":159933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:39:02] local.INFO: GPS data processed {"connection_id":159933,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:39:02] local.INFO: Acknowledgment sent {"connection_id":159933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:39:27] local.INFO: TCP Data received {"connection_id":160829,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:39:27] local.INFO: Processing buffer {"connection_id":160829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:39:27] local.INFO: Packet analysis {"connection_id":160829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:39:27] local.INFO: Extracted packet for processing {"connection_id":160829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":36,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567075840001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39: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-22 09:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787371685000,"timestamp_ms":1787371685000,"timestamp_seconds":1787371685,"priority":1,"record_length":96,"hex_timestamp":"000001a027a78488"} 
[2026-08-22 09: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-22 09:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 09:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567075840001,"66":25430,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567075840001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:39:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:39:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567075840001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":160829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:39:27] local.INFO: GPS data processed {"connection_id":160829,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:39:27] local.INFO: Acknowledgment sent {"connection_id":160829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:39:30] local.INFO: TCP Data received {"connection_id":160830,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a52710012d196940071fedd8003e011c27..."} 
[2026-08-22 09:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a52710012d196940071fedd8003e011c27..."} 
[2026-08-22 09:39:30] local.INFO: Processing buffer {"connection_id":160830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a52710012d196940071fedd8003e011c27..."} 
[2026-08-22 09:39:30] local.INFO: Packet analysis {"connection_id":160830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a5"} 
[2026-08-22 09:39:30] local.INFO: Extracted packet for processing {"connection_id":160830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a5"} 
[2026-08-22 09:39:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567106304001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39: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-22 09:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787371530000,"timestamp_ms":1787371530000,"timestamp_seconds":1787371530,"priority":1,"record_length":96,"hex_timestamp":"000001a027a52710"} 
[2026-08-22 09: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-22 09:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:39:30] 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-22 09:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567106304001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567106304001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:39:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:39:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567106304001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":160830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:39:30] local.INFO: GPS data processed {"connection_id":160830,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:39:30] local.INFO: Acknowledgment sent {"connection_id":160830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:39:33] local.INFO: TCP Data received {"connection_id":159933,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:39:33] local.INFO: Processing buffer {"connection_id":159933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:39:33] local.INFO: Packet analysis {"connection_id":159933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:39:33] local.INFO: Extracted packet for processing {"connection_id":159933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567001600001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:33] 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-22 09:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787371401000,"timestamp_ms":1787371401000,"timestamp_seconds":1787371401,"priority":1,"record_length":96,"hex_timestamp":"000001a027a32f28"} 
[2026-08-22 09:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:39:33] 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-22 09:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567001600001,"66":2231,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-22 09:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567001600001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:39:33] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457567001600001,"power":2231,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":159933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:39:33] local.INFO: GPS data processed {"connection_id":159933,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:39:33] local.INFO: Acknowledgment sent {"connection_id":159933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:39:36] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:39:36] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:39:36] local.INFO: IMEI packet received {"connection_id":159934,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":159934,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:39:40] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:39:40] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:39:40] local.INFO: IMEI packet received {"connection_id":159934,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":159934,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:39:40] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027a80188012d0c6e000703ddf0001100ab24..."} 
[2026-08-22 09:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a80188012d0c6e000703ddf0001100ab24..."} 
[2026-08-22 09:39:40] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a80188012d0c6e000703ddf0001100ab24..."} 
[2026-08-22 09:39:40] local.INFO: Packet analysis {"connection_id":159934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a8"} 
[2026-08-22 09:39:40] local.INFO: Extracted packet for processing {"connection_id":159934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a8"} 
[2026-08-22 09:39:40] local.INFO: GPS Element Parsed {"raw_longitude":755789312,"raw_latitude":117693936,"longitude_deg":75.5789312,"latitude_deg":11.7693936,"altitude":17,"angle":171,"satellites":36,"speed":13,"hex_longitude":"2d0c6e00","hex_latitude":"0703ddf0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567159296001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29407572356235264,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895583037278863360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:40] 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-22 09:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787371717000,"timestamp_ms":1787371717000,"timestamp_seconds":1787371717,"priority":1,"record_length":96,"hex_timestamp":"000001a027a80188"} 
[2026-08-22 09: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-22 09:39:40] 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-22 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 09:39:40] 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-22 09: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-22 09: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-22 09:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159934,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159934,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567159296001,"66":14396,"16":29407572356235264,"94":11008,"24":13,"45":895583037278863360},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 09:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567159296001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29407572356235264,"km_value":29407572356235.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:39:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":895583037278863360,"description":"Unknown IO ID 45"} 
[2026-08-22 09:39:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567159296001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":895583037278863360}} 
[2026-08-22 09:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":159934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680376,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:39:41] local.INFO: GPS data processed {"connection_id":159934,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:39:41] local.INFO: Acknowledgment sent {"connection_id":159934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:39:49] local.INFO: TCP Data received {"connection_id":159935,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:39:49] local.INFO: Processing buffer {"connection_id":159935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:39:49] local.INFO: IMEI packet received {"connection_id":159935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":159935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:39:53] local.INFO: TCP Data received {"connection_id":159936,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:39:53] local.INFO: Processing buffer {"connection_id":159936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:39:53] local.INFO: IMEI packet received {"connection_id":159936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":159936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:39:55] local.INFO: TCP Data received {"connection_id":159935,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:39:55] local.INFO: Processing buffer {"connection_id":159935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:39:55] local.INFO: IMEI packet received {"connection_id":159935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":159935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:39:56] local.INFO: TCP Data received {"connection_id":159935,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:39:56] local.INFO: Processing buffer {"connection_id":159935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:39:56] local.INFO: Packet analysis {"connection_id":159935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:39:56] local.INFO: Extracted packet for processing {"connection_id":159935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":36,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567075840001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09: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-22 09:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787371685000,"timestamp_ms":1787371685000,"timestamp_seconds":1787371685,"priority":1,"record_length":96,"hex_timestamp":"000001a027a78488"} 
[2026-08-22 09: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-22 09: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-22 09:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 09:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567075840001,"66":25430,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567075840001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:39:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567075840001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":159935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:39:56] local.INFO: GPS data processed {"connection_id":159935,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:39:56] local.INFO: Acknowledgment sent {"connection_id":159935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:39:56] local.INFO: TCP Data received {"connection_id":159937,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:39:56] local.INFO: Processing buffer {"connection_id":159937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:39:56] local.INFO: IMEI packet received {"connection_id":159937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":159937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:39:58] local.INFO: TCP Data received {"connection_id":159936,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:39:58] local.INFO: Processing buffer {"connection_id":159936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:39:58] local.INFO: IMEI packet received {"connection_id":159936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":159936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:39:59] local.INFO: TCP Data received {"connection_id":159936,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a57918012d196940071fedd8003e011c28..."} 
[2026-08-22 09:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a57918012d196940071fedd8003e011c28..."} 
[2026-08-22 09:39:59] local.INFO: Processing buffer {"connection_id":159936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a57918012d196940071fedd8003e011c28..."} 
[2026-08-22 09:39:59] local.INFO: Packet analysis {"connection_id":159936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a5"} 
[2026-08-22 09:39:59] local.INFO: Extracted packet for processing {"connection_id":159936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a5"} 
[2026-08-22 09:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567111680001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:39: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-22 09:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787371551000,"timestamp_ms":1787371551000,"timestamp_seconds":1787371551,"priority":1,"record_length":96,"hex_timestamp":"000001a027a57918"} 
[2026-08-22 09: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-22 09:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:39:59] 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-22 09: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-22 09: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-22 09:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:39:59] 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-22 09:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567111680001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567111680001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:39:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:39:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567111680001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":159936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:39:59] local.INFO: GPS data processed {"connection_id":159936,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:39:59] local.INFO: Acknowledgment sent {"connection_id":159936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:40:01] local.INFO: TCP Data received {"connection_id":159937,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:40:01] local.INFO: Processing buffer {"connection_id":159937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:40:01] local.INFO: IMEI packet received {"connection_id":159937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":159937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:40:02] local.INFO: TCP Data received {"connection_id":159937,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:40:02] local.INFO: Processing buffer {"connection_id":159937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:40:02] local.INFO: Packet analysis {"connection_id":159937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:40:02] local.INFO: Extracted packet for processing {"connection_id":159937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 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-22 09:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567001600001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:02] 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-22 09:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787371401000,"timestamp_ms":1787371401000,"timestamp_seconds":1787371401,"priority":1,"record_length":96,"hex_timestamp":"000001a027a32f28"} 
[2026-08-22 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-22 09:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:40:02] 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-22 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-22 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-22 09:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567001600001,"66":2231,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-22 09:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567001600001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:40:02] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457567001600001,"power":2231,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":159937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:40:02] local.INFO: GPS data processed {"connection_id":159937,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:40:02] local.INFO: Acknowledgment sent {"connection_id":159937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:40:11] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027a94d90012d0c618007036f50001500ee20..."} 
[2026-08-22 09:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a94d90012d0c618007036f50001500ee20..."} 
[2026-08-22 09:40:11] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a94d90012d0c618007036f50001500ee20..."} 
[2026-08-22 09:40:11] local.INFO: Packet analysis {"connection_id":159934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a9"} 
[2026-08-22 09:40:11] local.INFO: Extracted packet for processing {"connection_id":159934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a9"} 
[2026-08-22 09:40:11] local.INFO: GPS Element Parsed {"raw_longitude":755786112,"raw_latitude":117665616,"longitude_deg":75.5786112,"latitude_deg":11.7665616,"altitude":21,"angle":238,"satellites":32,"speed":11,"hex_longitude":"2d0c6180","hex_latitude":"07036f50","is_valid_coordinates":true} 
[2026-08-22 09:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567181056001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29408972515573760,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892346075039393792,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:11] 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-22 09:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787371802000,"timestamp_ms":1787371802000,"timestamp_seconds":1787371802,"priority":1,"record_length":96,"hex_timestamp":"000001a027a94d90"} 
[2026-08-22 09:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:40:11] 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-22 09:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-08-22 09:40:11] 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-22 09:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159934,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159934,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567181056001,"66":14613,"16":29408972515573760,"94":11008,"24":11,"45":892346075039393792},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 09:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567181056001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29408972515573760,"km_value":29408972515573.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:40:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":892346075039393792,"description":"Unknown IO ID 45"} 
[2026-08-22 09:40:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567181056001,"power":14613,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":892346075039393792}} 
[2026-08-22 09:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":159934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680380,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:40:12] local.INFO: GPS data processed {"connection_id":159934,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:40:12] local.INFO: Acknowledgment sent {"connection_id":159934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:40:27] local.INFO: TCP Data received {"connection_id":159935,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:40:27] local.INFO: Processing buffer {"connection_id":159935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:40:27] local.INFO: Packet analysis {"connection_id":159935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:40:27] local.INFO: Extracted packet for processing {"connection_id":159935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":36,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567075840001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40: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-22 09:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787371685000,"timestamp_ms":1787371685000,"timestamp_seconds":1787371685,"priority":1,"record_length":96,"hex_timestamp":"000001a027a78488"} 
[2026-08-22 09: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-22 09:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 09:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567075840001,"66":25430,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567075840001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:40:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:40:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567075840001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":159935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:40:27] local.INFO: GPS data processed {"connection_id":159935,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:40:27] local.INFO: Acknowledgment sent {"connection_id":159935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:40:31] local.INFO: TCP Data received {"connection_id":159936,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a5cb20012d196940071fedd8003e011c29..."} 
[2026-08-22 09:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a5cb20012d196940071fedd8003e011c29..."} 
[2026-08-22 09:40:31] local.INFO: Processing buffer {"connection_id":159936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a5cb20012d196940071fedd8003e011c29..."} 
[2026-08-22 09:40:31] local.INFO: Packet analysis {"connection_id":159936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a5"} 
[2026-08-22 09:40:31] local.INFO: Extracted packet for processing {"connection_id":159936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a5"} 
[2026-08-22 09:40:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567117056001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787371572000,"timestamp_ms":1787371572000,"timestamp_seconds":1787371572,"priority":1,"record_length":96,"hex_timestamp":"000001a027a5cb20"} 
[2026-08-22 09: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-22 09:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:40:31] 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-22 09: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-22 09: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-22 09:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:40:31] 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-22 09:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567117056001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567117056001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:40:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:40:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567117056001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":159936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:40:31] local.INFO: GPS data processed {"connection_id":159936,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:40:31] local.INFO: Acknowledgment sent {"connection_id":159936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:40:33] local.INFO: TCP Data received {"connection_id":159937,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:40:33] local.INFO: Processing buffer {"connection_id":159937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:40:33] local.INFO: Packet analysis {"connection_id":159937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:40:33] local.INFO: Extracted packet for processing {"connection_id":159937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567001600001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:33] 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-22 09:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787371401000,"timestamp_ms":1787371401000,"timestamp_seconds":1787371401,"priority":1,"record_length":96,"hex_timestamp":"000001a027a32f28"} 
[2026-08-22 09: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-22 09:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:40:33] 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-22 09: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-22 09: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-22 09:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567001600001,"66":2231,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-22 09:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567001600001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:40:33] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457567001600001,"power":2231,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":159937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:40:33] local.INFO: GPS data processed {"connection_id":159937,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:40:33] local.INFO: Acknowledgment sent {"connection_id":159937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:40:35] local.INFO: TCP Data received {"connection_id":159674,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:40:35] local.INFO: Processing buffer {"connection_id":159674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:40:35] local.INFO: IMEI packet received {"connection_id":159674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":159674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:40:36] local.INFO: TCP Data received {"connection_id":159674,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:40:36] local.INFO: Processing buffer {"connection_id":159674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:40:36] local.INFO: IMEI packet received {"connection_id":159674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":159674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:40:39] local.INFO: TCP Data received {"connection_id":159674,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:40:39] local.INFO: Processing buffer {"connection_id":159674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:40:39] local.INFO: IMEI packet received {"connection_id":159674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":159674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:40:42] local.INFO: TCP Data received {"connection_id":159674,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:40:42] local.INFO: Processing buffer {"connection_id":159674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:40:42] local.INFO: IMEI packet received {"connection_id":159674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":159674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:40:42] local.INFO: TCP Data received {"connection_id":159674,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027a9c6a8012d0c3700070358d8001b00fe21..."} 
[2026-08-22 09:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a9c6a8012d0c3700070358d8001b00fe21..."} 
[2026-08-22 09:40:42] local.INFO: Processing buffer {"connection_id":159674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a9c6a8012d0c3700070358d8001b00fe21..."} 
[2026-08-22 09:40:42] local.INFO: Packet analysis {"connection_id":159674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a9"} 
[2026-08-22 09:40:42] local.INFO: Extracted packet for processing {"connection_id":159674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a9"} 
[2026-08-22 09:40:42] local.INFO: GPS Element Parsed {"raw_longitude":755775232,"raw_latitude":117659864,"longitude_deg":75.5775232,"latitude_deg":11.7659864,"altitude":27,"angle":254,"satellites":33,"speed":12,"hex_longitude":"2d0c3700","hex_latitude":"070358d8","is_valid_coordinates":true} 
[2026-08-22 09:40: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-22 09:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567188992001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29409599580798976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880524126016063488,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:42] 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-22 09:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787371833000,"timestamp_ms":1787371833000,"timestamp_seconds":1787371833,"priority":1,"record_length":96,"hex_timestamp":"000001a027a9c6a8"} 
[2026-08-22 09:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:40: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-22 09:40: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":212,"data_length":795,"current_offset":136} 
[2026-08-22 09:40:42] 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-22 09:40: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-22 09:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567188992001,"66":14407,"16":29409599580798976,"94":11008,"24":12,"45":880524126016063488},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 09:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567188992001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29409599580798976,"km_value":29409599580798.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:40:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":880524126016063488,"description":"Unknown IO ID 45"} 
[2026-08-22 09:40:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567188992001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":880524126016063488}} 
[2026-08-22 09:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":159674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680384,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:40:42] local.INFO: GPS data processed {"connection_id":159674,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:40:42] local.INFO: Acknowledgment sent {"connection_id":159674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:40:43] local.INFO: TCP Data received {"connection_id":159674,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027a9ca90012d0c35c0070358b0001b010d21..."} 
[2026-08-22 09:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a9ca90012d0c35c0070358b0001b010d21..."} 
[2026-08-22 09:40:43] local.INFO: Processing buffer {"connection_id":159674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a9ca90012d0c35c0070358b0001b010d21..."} 
[2026-08-22 09:40:43] local.INFO: Packet analysis {"connection_id":159674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a9"} 
[2026-08-22 09:40:43] local.INFO: Extracted packet for processing {"connection_id":159674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a9"} 
[2026-08-22 09:40:43] local.INFO: GPS Element Parsed {"raw_longitude":755774912,"raw_latitude":117659824,"longitude_deg":75.5774912,"latitude_deg":11.7659824,"altitude":27,"angle":269,"satellites":33,"speed":13,"hex_longitude":"2d0c35c0","hex_latitude":"070358b0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567189248001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29409612465700864,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880172282295146496,"note":"Value kept but may cause issues"} 
[2026-08-22 09:40:43] 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-22 09:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787371834000,"timestamp_ms":1787371834000,"timestamp_seconds":1787371834,"priority":1,"record_length":96,"hex_timestamp":"000001a027a9ca90"} 
[2026-08-22 09: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-22 09:40: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-22 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 09:40:43] 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-22 09: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-22 09: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-22 09:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567189248001,"66":14407,"16":29409612465700864,"94":11008,"24":13,"45":880172282295146496},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 09:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567189248001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29409612465700864,"km_value":29409612465700.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:40:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":880172282295146496,"description":"Unknown IO ID 45"} 
[2026-08-22 09:40:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567189248001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":880172282295146496}} 
[2026-08-22 09:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":159674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680385,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:40:44] local.INFO: GPS data processed {"connection_id":159674,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:40:44] local.INFO: Acknowledgment sent {"connection_id":159674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:40:54] local.INFO: TCP Data received {"connection_id":160831,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:40:54] local.INFO: Processing buffer {"connection_id":160831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:40:54] local.INFO: IMEI packet received {"connection_id":160831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":160831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:40:58] local.INFO: TCP Data received {"connection_id":159675,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:40:58] local.INFO: Processing buffer {"connection_id":159675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:40:58] local.INFO: IMEI packet received {"connection_id":159675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":159675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:40:59] local.INFO: TCP Data received {"connection_id":160831,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:40:59] local.INFO: Processing buffer {"connection_id":160831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:40:59] local.INFO: IMEI packet received {"connection_id":160831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":160831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:41:01] local.INFO: TCP Data received {"connection_id":160831,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:41:01] local.INFO: Processing buffer {"connection_id":160831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:41:01] local.INFO: Packet analysis {"connection_id":160831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:41:01] local.INFO: Extracted packet for processing {"connection_id":160831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":36,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567075840001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41: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-22 09:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787371685000,"timestamp_ms":1787371685000,"timestamp_seconds":1787371685,"priority":1,"record_length":96,"hex_timestamp":"000001a027a78488"} 
[2026-08-22 09: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-22 09: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-22 09: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 09:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567075840001,"66":25430,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567075840001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:41:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:41:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567075840001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":160831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:41:01] local.INFO: GPS data processed {"connection_id":160831,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:41:01] local.INFO: Acknowledgment sent {"connection_id":160831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:41:01] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:41:01] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:41:01] local.INFO: IMEI packet received {"connection_id":159938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":159938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:41:03] local.INFO: TCP Data received {"connection_id":159675,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:41:03] local.INFO: Processing buffer {"connection_id":159675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:41:03] local.INFO: IMEI packet received {"connection_id":159675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":159675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:41:03] local.INFO: TCP Data received {"connection_id":159675,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a61d28012d196940071fedd8003e011c27..."} 
[2026-08-22 09:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a61d28012d196940071fedd8003e011c27..."} 
[2026-08-22 09:41:03] local.INFO: Processing buffer {"connection_id":159675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a61d28012d196940071fedd8003e011c27..."} 
[2026-08-22 09:41:03] local.INFO: Packet analysis {"connection_id":159675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a6"} 
[2026-08-22 09:41:03] local.INFO: Extracted packet for processing {"connection_id":159675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a6"} 
[2026-08-22 09:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567122432001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787371593000,"timestamp_ms":1787371593000,"timestamp_seconds":1787371593,"priority":1,"record_length":96,"hex_timestamp":"000001a027a61d28"} 
[2026-08-22 09:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:41:03] 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-22 09:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:41:03] 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-22 09:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567122432001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567122432001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:41:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567122432001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":159675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:41:03] local.INFO: GPS data processed {"connection_id":159675,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:41:03] local.INFO: Acknowledgment sent {"connection_id":159675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:41:04] local.INFO: TCP Data received {"connection_id":159675,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a66f30012d196940071fedd8003e011c26..."} 
[2026-08-22 09:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a66f30012d196940071fedd8003e011c26..."} 
[2026-08-22 09:41:04] local.INFO: Processing buffer {"connection_id":159675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a66f30012d196940071fedd8003e011c26..."} 
[2026-08-22 09:41:04] local.INFO: Packet analysis {"connection_id":159675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a6"} 
[2026-08-22 09:41:04] local.INFO: Extracted packet for processing {"connection_id":159675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a6"} 
[2026-08-22 09:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567127808001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787371614000,"timestamp_ms":1787371614000,"timestamp_seconds":1787371614,"priority":1,"record_length":96,"hex_timestamp":"000001a027a66f30"} 
[2026-08-22 09: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-22 09:41: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-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:41:04] 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-22 09: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-22 09: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-22 09:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:41:04] 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-22 09:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567127808001,"66":12004,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567127808001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:41:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567127808001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":159675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:41:04] local.INFO: GPS data processed {"connection_id":159675,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:41:04] local.INFO: Acknowledgment sent {"connection_id":159675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:41:05] local.INFO: TCP Data received {"connection_id":160831,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:41:05] local.INFO: Processing buffer {"connection_id":160831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a78488012d7f894005afe0a0000000e024..."} 
[2026-08-22 09:41:05] local.INFO: Packet analysis {"connection_id":160831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:41:05] local.INFO: Extracted packet for processing {"connection_id":160831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":36,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 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-22 09:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567075840001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:05] 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-22 09:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787371685000,"timestamp_ms":1787371685000,"timestamp_seconds":1787371685,"priority":1,"record_length":96,"hex_timestamp":"000001a027a78488"} 
[2026-08-22 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-22 09:41: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-22 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 09:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 09:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567075840001,"66":25430,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567075840001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:41:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567075840001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":160831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:41:05] local.INFO: GPS data processed {"connection_id":160831,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:41:05] local.INFO: Acknowledgment sent {"connection_id":160831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:41:06] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:41:06] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:41:06] local.INFO: IMEI packet received {"connection_id":159938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":159938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:41:07] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:41:07] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:41:07] local.INFO: Packet analysis {"connection_id":159938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:41:07] local.INFO: Extracted packet for processing {"connection_id":159938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567001600001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:07] 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-22 09:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787371401000,"timestamp_ms":1787371401000,"timestamp_seconds":1787371401,"priority":1,"record_length":96,"hex_timestamp":"000001a027a32f28"} 
[2026-08-22 09:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:41:07] 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-22 09:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567001600001,"66":2231,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-22 09:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567001600001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:41:07] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457567001600001,"power":2231,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":159938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:41:07] local.INFO: GPS data processed {"connection_id":159938,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:41:07] local.INFO: Acknowledgment sent {"connection_id":159938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:41:11] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:41:11] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:41:11] local.INFO: Packet analysis {"connection_id":159938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:41:11] local.INFO: Extracted packet for processing {"connection_id":159938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 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-22 09:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567001600001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:11] 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-22 09:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787371401000,"timestamp_ms":1787371401000,"timestamp_seconds":1787371401,"priority":1,"record_length":96,"hex_timestamp":"000001a027a32f28"} 
[2026-08-22 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-22 09:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:41: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-22 09:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 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-22 09:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567001600001,"66":2231,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-22 09:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567001600001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:41:11] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457567001600001,"power":2231,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":159938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:41:12] local.INFO: GPS data processed {"connection_id":159938,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:41:12] local.INFO: Acknowledgment sent {"connection_id":159938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:41:15] local.INFO: TCP Data received {"connection_id":159674,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027a9da30012d0c2e80070357c0001a010123..."} 
[2026-08-22 09:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a9da30012d0c2e80070357c0001a010123..."} 
[2026-08-22 09:41:15] local.INFO: Processing buffer {"connection_id":159674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a9da30012d0c2e80070357c0001a010123..."} 
[2026-08-22 09:41:15] local.INFO: Packet analysis {"connection_id":159674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a9"} 
[2026-08-22 09:41:15] local.INFO: Extracted packet for processing {"connection_id":159674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a9"} 
[2026-08-22 09:41:15] local.INFO: GPS Element Parsed {"raw_longitude":755773056,"raw_latitude":117659584,"longitude_deg":75.5773056,"latitude_deg":11.7659584,"altitude":26,"angle":257,"satellites":35,"speed":19,"hex_longitude":"2d0c2e80","hex_latitude":"070357c0","is_valid_coordinates":true} 
[2026-08-22 09:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567189504001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29409698365046784,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879820438574247936,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:15] 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-22 09:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787371838000,"timestamp_ms":1787371838000,"timestamp_seconds":1787371838,"priority":1,"record_length":96,"hex_timestamp":"000001a027a9da30"} 
[2026-08-22 09:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:41: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-22 09:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 09:41:15] 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-22 09:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567189504001,"66":14352,"16":29409698365046784,"94":11008,"24":19,"45":879820438574247936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 09:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567189504001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29409698365046784,"km_value":29409698365046.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:41:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":879820438574247936,"description":"Unknown IO ID 45"} 
[2026-08-22 09:41:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567189504001,"power":14352,"odometer":null,"unknown_94":11008,"ignition":19,"unknown_45":879820438574247936}} 
[2026-08-22 09:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":159674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680392,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:41:15] local.INFO: GPS data processed {"connection_id":159674,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:41:15] local.INFO: Acknowledgment sent {"connection_id":159674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:41:35] local.INFO: TCP Data received {"connection_id":159675,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a6c138012d196940071fedd8003e011c26..."} 
[2026-08-22 09:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a6c138012d196940071fedd8003e011c26..."} 
[2026-08-22 09:41:35] local.INFO: Processing buffer {"connection_id":159675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a6c138012d196940071fedd8003e011c26..."} 
[2026-08-22 09:41:35] local.INFO: Packet analysis {"connection_id":159675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a6"} 
[2026-08-22 09:41:35] local.INFO: Extracted packet for processing {"connection_id":159675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a6"} 
[2026-08-22 09:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567133184001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787371635000,"timestamp_ms":1787371635000,"timestamp_seconds":1787371635,"priority":1,"record_length":96,"hex_timestamp":"000001a027a6c138"} 
[2026-08-22 09: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-22 09:41:35] 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-22 09: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 09:41:35] 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-22 09: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-22 09: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-22 09:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:41:35] 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-22 09:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567133184001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567133184001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:41:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567133184001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":159675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:41:35] local.INFO: GPS data processed {"connection_id":159675,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:41:35] local.INFO: Acknowledgment sent {"connection_id":159675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:41:36] local.INFO: TCP Data received {"connection_id":162248,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162248,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:41:36] local.INFO: Processing buffer {"connection_id":162248,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:41:36] local.INFO: IMEI packet received {"connection_id":162248,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":162248,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:41:37] local.INFO: TCP Data received {"connection_id":162248,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162248,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:41:37] local.INFO: Processing buffer {"connection_id":162248,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:41:37] local.INFO: IMEI packet received {"connection_id":162248,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":162248,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:41:41] local.INFO: TCP Data received {"connection_id":162248,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162248,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:41:41] local.INFO: Processing buffer {"connection_id":162248,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:41:41] local.INFO: IMEI packet received {"connection_id":162248,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":162248,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:41:41] local.INFO: TCP Data received {"connection_id":162248,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162248,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:41:41] local.INFO: Processing buffer {"connection_id":162248,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:41:41] local.INFO: IMEI packet received {"connection_id":162248,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":162248,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:41:42] local.INFO: TCP Data received {"connection_id":162248,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027aa7288012d0c0780070341400014014825..."} 
[2026-08-22 09:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aa7288012d0c0780070341400014014825..."} 
[2026-08-22 09:41:42] local.INFO: Processing buffer {"connection_id":162248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aa7288012d0c0780070341400014014825..."} 
[2026-08-22 09:41:42] local.INFO: Packet analysis {"connection_id":162248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:41:42] local.INFO: Extracted packet for processing {"connection_id":162248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:41:42] local.INFO: GPS Element Parsed {"raw_longitude":755763072,"raw_latitude":117653824,"longitude_deg":75.5763072,"latitude_deg":11.7653824,"altitude":20,"angle":328,"satellites":37,"speed":13,"hex_longitude":"2d0c0780","hex_latitude":"07034140","is_valid_coordinates":true} 
[2026-08-22 09:41: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-22 09:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567200256001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29410359790010368,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867013327132321792,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:42] 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-22 09:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787371877000,"timestamp_ms":1787371877000,"timestamp_seconds":1787371877,"priority":1,"record_length":96,"hex_timestamp":"000001a027aa7288"} 
[2026-08-22 09:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:41: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-22 09:41: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":114,"data_length":795,"current_offset":136} 
[2026-08-22 09:41:42] 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-22 09:41: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-22 09:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162248,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162248,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567200256001,"66":14450,"37":206,"94":11008,"24":13,"16":29410359790010368,"45":867013327132321792},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 09:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567200256001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:41:42] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 09:41:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29410359790010368,"km_value":29410359790010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":867013327132321792,"description":"Unknown IO ID 45"} 
[2026-08-22 09:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567200256001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":867013327132321792}} 
[2026-08-22 09:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":162248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680394,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:41:42] local.INFO: GPS data processed {"connection_id":162248,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:41:42] local.INFO: Acknowledgment sent {"connection_id":162248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:41:43] local.INFO: TCP Data received {"connection_id":162248,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027aa7670012d0c0700070342780014015425..."} 
[2026-08-22 09:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aa7670012d0c0700070342780014015425..."} 
[2026-08-22 09:41:43] local.INFO: Processing buffer {"connection_id":162248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aa7670012d0c0700070342780014015425..."} 
[2026-08-22 09:41:43] local.INFO: Packet analysis {"connection_id":162248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:41:43] local.INFO: Extracted packet for processing {"connection_id":162248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:41:43] local.INFO: GPS Element Parsed {"raw_longitude":755762944,"raw_latitude":117654136,"longitude_deg":75.5762944,"latitude_deg":11.7654136,"altitude":20,"angle":340,"satellites":37,"speed":12,"hex_longitude":"2d0c0700","hex_latitude":"07034278","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567200512001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29410372674912256,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":866802220899844096,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:43] 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-22 09:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787371878000,"timestamp_ms":1787371878000,"timestamp_seconds":1787371878,"priority":1,"record_length":96,"hex_timestamp":"000001a027aa7670"} 
[2026-08-22 09: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-22 09:41: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-22 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-22 09:41: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-22 09: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-22 09: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-22 09:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162248,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162248,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567200512001,"66":14450,"37":206,"94":11008,"24":12,"16":29410372674912256,"45":866802220899844096},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 09:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567200512001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:41:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 09:41:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29410372674912256,"km_value":29410372674912.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":866802220899844096,"description":"Unknown IO ID 45"} 
[2026-08-22 09:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567200512001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":866802220899844096}} 
[2026-08-22 09:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":162248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680395,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:41:43] local.INFO: GPS data processed {"connection_id":162248,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:41:43] local.INFO: Acknowledgment sent {"connection_id":162248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:41:49] local.INFO: TCP Data received {"connection_id":162249,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:41:49] local.INFO: Processing buffer {"connection_id":162249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:41:49] local.INFO: IMEI packet received {"connection_id":162249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":162249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:41:53] local.INFO: TCP Data received {"connection_id":159676,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:41:53] local.INFO: Processing buffer {"connection_id":159676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:41:53] local.INFO: IMEI packet received {"connection_id":159676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":159676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:41:54] local.INFO: TCP Data received {"connection_id":162249,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:41:54] local.INFO: Processing buffer {"connection_id":162249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:41:54] local.INFO: IMEI packet received {"connection_id":162249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":162249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:41:55] local.INFO: TCP Data received {"connection_id":162249,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027a9e9d0012d7f894005afe0a0000000e025..."} 
[2026-08-22 09:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a9e9d0012d7f894005afe0a0000000e025..."} 
[2026-08-22 09:41:55] local.INFO: Processing buffer {"connection_id":162249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a9e9d0012d7f894005afe0a0000000e025..."} 
[2026-08-22 09:41:55] local.INFO: Packet analysis {"connection_id":162249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a9"} 
[2026-08-22 09:41:55] local.INFO: Extracted packet for processing {"connection_id":162249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a9"} 
[2026-08-22 09:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412384,"longitude_deg":76.3332928,"latitude_deg":9.5412384,"altitude":0,"angle":224,"satellites":37,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe0a0","is_valid_coordinates":true} 
[2026-08-22 09:41: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-22 09:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567151360001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41: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-22 09:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787371842000,"timestamp_ms":1787371842000,"timestamp_seconds":1787371842,"priority":1,"record_length":96,"hex_timestamp":"000001a027a9e9d0"} 
[2026-08-22 09:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:41: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-22 09:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 09:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567151360001,"66":25375,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567151360001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:41:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:41:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567151360001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":162249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:41:55] local.INFO: GPS data processed {"connection_id":162249,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:41:55] local.INFO: Acknowledgment sent {"connection_id":162249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:41:56] local.INFO: TCP Data received {"connection_id":159677,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:41:56] local.INFO: Processing buffer {"connection_id":159677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:41:56] local.INFO: IMEI packet received {"connection_id":159677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":159677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:41:58] local.INFO: TCP Data received {"connection_id":159676,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:41:58] local.INFO: Processing buffer {"connection_id":159676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:41:58] local.INFO: IMEI packet received {"connection_id":159676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":159676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:41:59] local.INFO: TCP Data received {"connection_id":159676,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a71340012d196940071fedd8003e011c27..."} 
[2026-08-22 09:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a71340012d196940071fedd8003e011c27..."} 
[2026-08-22 09:41:59] local.INFO: Processing buffer {"connection_id":159676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a71340012d196940071fedd8003e011c27..."} 
[2026-08-22 09:41:59] local.INFO: Packet analysis {"connection_id":159676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:41:59] local.INFO: Extracted packet for processing {"connection_id":159676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:41:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567138560001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:41: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-22 09:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787371656000,"timestamp_ms":1787371656000,"timestamp_seconds":1787371656,"priority":1,"record_length":96,"hex_timestamp":"000001a027a71340"} 
[2026-08-22 09: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-22 09:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:41:59] 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-22 09: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-22 09: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-22 09:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:41:59] 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-22 09:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567138560001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567138560001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:41:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:41:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567138560001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":159676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:41:59] local.INFO: GPS data processed {"connection_id":159676,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:41:59] local.INFO: Acknowledgment sent {"connection_id":159676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:42:01] local.INFO: TCP Data received {"connection_id":159677,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:42:01] local.INFO: Processing buffer {"connection_id":159677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:42:01] local.INFO: IMEI packet received {"connection_id":159677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":159677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:42:02] local.INFO: TCP Data received {"connection_id":159677,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:42:02] local.INFO: Processing buffer {"connection_id":159677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a32f28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:42:02] local.INFO: Packet analysis {"connection_id":159677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:42:02] local.INFO: Extracted packet for processing {"connection_id":159677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a3"} 
[2026-08-22 09:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:42: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-22 09:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567001600001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:02] 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-22 09:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787371401000,"timestamp_ms":1787371401000,"timestamp_seconds":1787371401,"priority":1,"record_length":96,"hex_timestamp":"000001a027a32f28"} 
[2026-08-22 09:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:42:02] 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-22 09:42: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-22 09:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567001600001,"66":2231,"24":0,"16":122267462535217152,"45":8880746646718423040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-22 09:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567001600001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:42:02] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457567001600001,"power":2231,"ignition":0,"odometer":null,"unknown_45":8880746646718423040}} 
[2026-08-22 09:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":159677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:42:02] local.INFO: GPS data processed {"connection_id":159677,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:42:02] local.INFO: Acknowledgment sent {"connection_id":159677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:42:14] local.INFO: TCP Data received {"connection_id":162248,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027aa7e40012d0c0680070345680014015f25..."} 
[2026-08-22 09:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aa7e40012d0c0680070345680014015f25..."} 
[2026-08-22 09:42:14] local.INFO: Processing buffer {"connection_id":162248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aa7e40012d0c0680070345680014015f25..."} 
[2026-08-22 09:42:14] local.INFO: Packet analysis {"connection_id":162248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:42:14] local.INFO: Extracted packet for processing {"connection_id":162248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:42:14] local.INFO: GPS Element Parsed {"raw_longitude":755762816,"raw_latitude":117654888,"longitude_deg":75.5762816,"latitude_deg":11.7654888,"altitude":20,"angle":351,"satellites":37,"speed":16,"hex_longitude":"2d0c0680","hex_latitude":"07034568","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567200768001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29410411329617920,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":866661483411568640,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:14] 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-22 09:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787371880000,"timestamp_ms":1787371880000,"timestamp_seconds":1787371880,"priority":1,"record_length":96,"hex_timestamp":"000001a027aa7e40"} 
[2026-08-22 09: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-22 09:42: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-22 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-22 09:42: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-22 09: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-22 09: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-22 09:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162248,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162248,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567200768001,"66":14374,"37":206,"94":11008,"24":16,"16":29410411329617920,"45":866661483411568640},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 09:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567200768001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:42:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 09:42:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29410411329617920,"km_value":29410411329617.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":866661483411568640,"description":"Unknown IO ID 45"} 
[2026-08-22 09:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567200768001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":866661483411568640}} 
[2026-08-22 09:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":162248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680399,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:42:14] local.INFO: GPS data processed {"connection_id":162248,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:42:14] local.INFO: Acknowledgment sent {"connection_id":162248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:42:26] local.INFO: TCP Data received {"connection_id":162249,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027aa4b78012d7f88c005afde60000000d824..."} 
[2026-08-22 09:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aa4b78012d7f88c005afde60000000d824..."} 
[2026-08-22 09:42:26] local.INFO: Processing buffer {"connection_id":162249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aa4b78012d7f88c005afde60000000d824..."} 
[2026-08-22 09:42:26] local.INFO: Packet analysis {"connection_id":162249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:42:26] local.INFO: Extracted packet for processing {"connection_id":162249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:42:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411808,"longitude_deg":76.33328,"latitude_deg":9.5411808,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde60","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567191552001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795955712,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42: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-22 09:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787371867000,"timestamp_ms":1787371867000,"timestamp_seconds":1787371867,"priority":1,"record_length":96,"hex_timestamp":"000001a027aa4b78"} 
[2026-08-22 09: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-22 09:42: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-22 09:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567191552001,"66":27767,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907795955712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567191552001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:42:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:42:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795955712,"description":"Unknown IO ID 45"} 
[2026-08-22 09:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567191552001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795955712}} 
[2026-08-22 09:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":162249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:42:26] local.INFO: GPS data processed {"connection_id":162249,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:42:26] local.INFO: Acknowledgment sent {"connection_id":162249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:42:30] local.INFO: TCP Data received {"connection_id":159676,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a76548012d196940071fedd8003e011c25..."} 
[2026-08-22 09:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a76548012d196940071fedd8003e011c25..."} 
[2026-08-22 09:42:30] local.INFO: Processing buffer {"connection_id":159676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a76548012d196940071fedd8003e011c25..."} 
[2026-08-22 09:42:30] local.INFO: Packet analysis {"connection_id":159676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:42:30] local.INFO: Extracted packet for processing {"connection_id":159676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:42:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567143936001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42: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-22 09:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787371677000,"timestamp_ms":1787371677000,"timestamp_seconds":1787371677,"priority":1,"record_length":96,"hex_timestamp":"000001a027a76548"} 
[2026-08-22 09: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-22 09:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:42:30] 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-22 09: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-22 09: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-22 09:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:42:30] 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-22 09:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567143936001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567143936001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:42:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:42:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567143936001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":159676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:42:30] local.INFO: GPS data processed {"connection_id":159676,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:42:30] local.INFO: Acknowledgment sent {"connection_id":159676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:42:33] local.INFO: TCP Data received {"connection_id":159677,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:42:33] local.INFO: Processing buffer {"connection_id":159677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:42:33] local.INFO: Packet analysis {"connection_id":159677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:42:33] local.INFO: Extracted packet for processing {"connection_id":159677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:42: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-22 09:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567078656001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:33] 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-22 09:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787371945000,"timestamp_ms":1787371945000,"timestamp_seconds":1787371945,"priority":1,"record_length":96,"hex_timestamp":"000001a027ab7c28"} 
[2026-08-22 09:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09:42: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:42:33] 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-22 09:42: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-22 09:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567078656001,"66":2231,"45":8880746646718423040,"85":15104,"24":0,"16":122267462535217152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 09:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567078656001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:42:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567078656001,"power":2231,"unknown_45":8880746646718423040,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 09:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":159677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:42:33] local.INFO: GPS data processed {"connection_id":159677,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:42:33] local.INFO: Acknowledgment sent {"connection_id":159677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:42:36] local.INFO: TCP Data received {"connection_id":160832,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160832,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:42:36] local.INFO: Processing buffer {"connection_id":160832,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:42:36] local.INFO: IMEI packet received {"connection_id":160832,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":160832,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:42:37] local.INFO: TCP Data received {"connection_id":160832,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160832,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:42:37] local.INFO: Processing buffer {"connection_id":160832,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:42:37] local.INFO: IMEI packet received {"connection_id":160832,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":160832,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:42:44] local.INFO: TCP Data received {"connection_id":160832,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160832,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:42:44] local.INFO: Processing buffer {"connection_id":160832,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:42:44] local.INFO: IMEI packet received {"connection_id":160832,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":160832,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:42:44] local.INFO: TCP Data received {"connection_id":160832,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160832,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:42:44] local.INFO: Processing buffer {"connection_id":160832,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:42:44] local.INFO: IMEI packet received {"connection_id":160832,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":160832,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:42:45] local.INFO: TCP Data received {"connection_id":160832,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027ab5900012d0bc50007035a68001800ff22..."} 
[2026-08-22 09:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ab5900012d0bc50007035a68001800ff22..."} 
[2026-08-22 09:42:45] local.INFO: Processing buffer {"connection_id":160832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ab5900012d0bc50007035a68001800ff22..."} 
[2026-08-22 09:42:45] local.INFO: Packet analysis {"connection_id":160832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:42:45] local.INFO: Extracted packet for processing {"connection_id":160832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:42:45] local.INFO: GPS Element Parsed {"raw_longitude":755746048,"raw_latitude":117660264,"longitude_deg":75.5746048,"latitude_deg":11.7660264,"altitude":24,"angle":255,"satellites":34,"speed":26,"hex_longitude":"2d0bc500","hex_latitude":"07035a68","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567212544001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29411424941899776,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855683959321595904,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:45] 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-22 09:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787371936000,"timestamp_ms":1787371936000,"timestamp_seconds":1787371936,"priority":1,"record_length":96,"hex_timestamp":"000001a027ab5900"} 
[2026-08-22 09: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-22 09:42: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-22 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 09:42: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-22 09: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-22 09: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-22 09:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567212544001,"66":14396,"37":206,"94":11008,"24":26,"16":29411424941899776,"45":855683959321595904},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 09:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567212544001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:42:45] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 09:42:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29411424941899776,"km_value":29411424941899.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":855683959321595904,"description":"Unknown IO ID 45"} 
[2026-08-22 09:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567212544001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":855683959321595904}} 
[2026-08-22 09:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":160832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680403,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:42:45] local.INFO: GPS data processed {"connection_id":160832,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:42:45] local.INFO: Acknowledgment sent {"connection_id":160832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:42:46] local.INFO: TCP Data received {"connection_id":160832,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027aba720012d0ba4c0070351d8001c00fb20..."} 
[2026-08-22 09:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aba720012d0ba4c0070351d8001c00fb20..."} 
[2026-08-22 09:42:46] local.INFO: Processing buffer {"connection_id":160832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aba720012d0ba4c0070351d8001c00fb20..."} 
[2026-08-22 09:42:46] local.INFO: Packet analysis {"connection_id":160832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:42:46] local.INFO: Extracted packet for processing {"connection_id":160832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:42:46] local.INFO: GPS Element Parsed {"raw_longitude":755737792,"raw_latitude":117658072,"longitude_deg":75.5737792,"latitude_deg":11.7658072,"altitude":28,"angle":251,"satellites":32,"speed":23,"hex_longitude":"2d0ba4c0","hex_latitude":"070351d8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567215616001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29411837258760192,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848084134950234112,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:46] 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-22 09:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787371956000,"timestamp_ms":1787371956000,"timestamp_seconds":1787371956,"priority":1,"record_length":96,"hex_timestamp":"000001a027aba720"} 
[2026-08-22 09: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-22 09:42: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-22 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 09:42: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-22 09: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-22 09: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-22 09:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567215616001,"66":14309,"37":206,"94":11008,"24":23,"16":29411837258760192,"45":848084134950234112},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 09:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567215616001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:42:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 09:42:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29411837258760192,"km_value":29411837258760.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":848084134950234112,"description":"Unknown IO ID 45"} 
[2026-08-22 09:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567215616001,"power":14309,"unknown_37":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":848084134950234112}} 
[2026-08-22 09:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":160832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680404,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:42:47] local.INFO: GPS data processed {"connection_id":160832,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:42:47] local.INFO: Acknowledgment sent {"connection_id":160832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:42:49] local.INFO: TCP Data received {"connection_id":159939,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:42:49] local.INFO: Processing buffer {"connection_id":159939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:42:49] local.INFO: IMEI packet received {"connection_id":159939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":159939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:42:54] local.INFO: TCP Data received {"connection_id":162250,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:42:54] local.INFO: Processing buffer {"connection_id":162250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:42:54] local.INFO: IMEI packet received {"connection_id":162250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":162250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:42:54] local.INFO: TCP Data received {"connection_id":159939,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:42:54] local.INFO: Processing buffer {"connection_id":159939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:42:54] local.INFO: IMEI packet received {"connection_id":159939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":159939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:42:56] local.INFO: TCP Data received {"connection_id":159678,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:42:56] local.INFO: Processing buffer {"connection_id":159678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:42:56] local.INFO: IMEI packet received {"connection_id":159678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":159678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:42:56] local.INFO: TCP Data received {"connection_id":159939,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:42:56] local.INFO: Processing buffer {"connection_id":159939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:42:56] local.INFO: Packet analysis {"connection_id":159939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:42:56] local.INFO: Extracted packet for processing {"connection_id":159939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411808,"longitude_deg":76.33328,"latitude_deg":9.5411808,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde60","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567197952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09: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-22 09:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787371875000,"timestamp_ms":1787371875000,"timestamp_seconds":1787371875,"priority":1,"record_length":96,"hex_timestamp":"000001a027aa6ab8"} 
[2026-08-22 09: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-22 09: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-22 09: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":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:42: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-22 09: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-22 09: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-22 09:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567197952001,"66":27767,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567197952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:42:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567197952001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":159939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:42:56] local.INFO: GPS data processed {"connection_id":159939,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:42:56] local.INFO: Acknowledgment sent {"connection_id":159939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:42:58] local.INFO: TCP Data received {"connection_id":162250,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:42:58] local.INFO: Processing buffer {"connection_id":162250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:42:58] local.INFO: IMEI packet received {"connection_id":162250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":162250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:42:59] local.INFO: TCP Data received {"connection_id":162250,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a7b750012d196940071fedd8003e011c21..."} 
[2026-08-22 09:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a7b750012d196940071fedd8003e011c21..."} 
[2026-08-22 09:42:59] local.INFO: Processing buffer {"connection_id":162250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a7b750012d196940071fedd8003e011c21..."} 
[2026-08-22 09:42:59] local.INFO: Packet analysis {"connection_id":162250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:42:59] local.INFO: Extracted packet for processing {"connection_id":162250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a7"} 
[2026-08-22 09:42:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567149312001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:42: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-22 09:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787371698000,"timestamp_ms":1787371698000,"timestamp_seconds":1787371698,"priority":1,"record_length":96,"hex_timestamp":"000001a027a7b750"} 
[2026-08-22 09: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-22 09:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:42:59] 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-22 09:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567149312001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567149312001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:42:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:42:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567149312001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":162250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:42:59] local.INFO: GPS data processed {"connection_id":162250,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:42:59] local.INFO: Acknowledgment sent {"connection_id":162250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:43:01] local.INFO: TCP Data received {"connection_id":159678,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:43:01] local.INFO: Processing buffer {"connection_id":159678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:43:01] local.INFO: IMEI packet received {"connection_id":159678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":159678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:43:02] local.INFO: TCP Data received {"connection_id":159678,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:43:02] local.INFO: Processing buffer {"connection_id":159678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:43:02] local.INFO: Packet analysis {"connection_id":159678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:43:02] local.INFO: Extracted packet for processing {"connection_id":159678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:43: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-22 09:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567078656001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:02] 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-22 09:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787371945000,"timestamp_ms":1787371945000,"timestamp_seconds":1787371945,"priority":1,"record_length":96,"hex_timestamp":"000001a027ab7c28"} 
[2026-08-22 09:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:43:02] 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-22 09:43: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-22 09:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567078656001,"66":2231,"45":8880746646718423040,"85":15104,"24":0,"16":122267462535217152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 09:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567078656001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:43:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567078656001,"power":2231,"unknown_45":8880746646718423040,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 09:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":159678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:43:02] local.INFO: GPS data processed {"connection_id":159678,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:43:02] local.INFO: Acknowledgment sent {"connection_id":159678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:43:04] local.INFO: TCP Data received {"connection_id":162250,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027a80958012d196940071fedd8003e011c20..."} 
[2026-08-22 09:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a80958012d196940071fedd8003e011c20..."} 
[2026-08-22 09:43:04] local.INFO: Processing buffer {"connection_id":162250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a80958012d196940071fedd8003e011c20..."} 
[2026-08-22 09:43:04] local.INFO: Packet analysis {"connection_id":162250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a8"} 
[2026-08-22 09:43:04] local.INFO: Extracted packet for processing {"connection_id":162250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a8"} 
[2026-08-22 09:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":32,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567154688001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787371719000,"timestamp_ms":1787371719000,"timestamp_seconds":1787371719,"priority":1,"record_length":96,"hex_timestamp":"000001a027a80958"} 
[2026-08-22 09:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:43: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-22 09:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2856822682642356585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:04] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:04] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79983973362565120,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:43:04] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,101,45,64,237,62,37,10,66,19,39,193,1,240,255,227,31,4,113,205,29,105,216,239,48,2,51,7,40],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:43:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883233387741184,"timestamp_seconds":4467883233387741.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:43:04] 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-22 09:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567154688001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567154688001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:43:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:43:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567154688001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":162250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:43:04] local.INFO: GPS data processed {"connection_id":162250,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:43:04] local.INFO: Acknowledgment sent {"connection_id":162250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:43:17] local.INFO: TCP Data received {"connection_id":160832,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027abb2d8012d0b9e8007035080001b010720..."} 
[2026-08-22 09:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027abb2d8012d0b9e8007035080001b010720..."} 
[2026-08-22 09:43:17] local.INFO: Processing buffer {"connection_id":160832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027abb2d8012d0b9e8007035080001b010720..."} 
[2026-08-22 09:43:17] local.INFO: Packet analysis {"connection_id":160832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:43:17] local.INFO: Extracted packet for processing {"connection_id":160832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:43:17] local.INFO: GPS Element Parsed {"raw_longitude":755736192,"raw_latitude":117657728,"longitude_deg":75.5736192,"latitude_deg":11.7657728,"altitude":27,"angle":263,"satellites":32,"speed":19,"hex_longitude":"2d0b9e80","hex_latitude":"07035080","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567220736001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29411914568171520,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":839006566950754304,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:17] 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-22 09:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787371959000,"timestamp_ms":1787371959000,"timestamp_seconds":1787371959,"priority":1,"record_length":96,"hex_timestamp":"000001a027abb2d8"} 
[2026-08-22 09: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-22 09:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 09:43:17] 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-22 09: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-22 09: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-22 09:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567220736001,"66":14428,"37":206,"94":11008,"24":19,"16":29411914568171520,"45":839006566950754304},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 09:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567220736001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:43:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 09:43:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29411914568171520,"km_value":29411914568171.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":839006566950754304,"description":"Unknown IO ID 45"} 
[2026-08-22 09:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567220736001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":839006566950754304}} 
[2026-08-22 09:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":160832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680409,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:43:18] local.INFO: GPS data processed {"connection_id":160832,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:43:18] local.INFO: Acknowledgment sent {"connection_id":160832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:43:27] local.INFO: TCP Data received {"connection_id":159939,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:43:27] local.INFO: Processing buffer {"connection_id":159939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:43:27] local.INFO: Packet analysis {"connection_id":159939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:43:27] local.INFO: Extracted packet for processing {"connection_id":159939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411808,"longitude_deg":76.33328,"latitude_deg":9.5411808,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde60","is_valid_coordinates":true} 
[2026-08-22 09:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567197952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43: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-22 09:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787371875000,"timestamp_ms":1787371875000,"timestamp_seconds":1787371875,"priority":1,"record_length":96,"hex_timestamp":"000001a027aa6ab8"} 
[2026-08-22 09: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-22 09:43: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-22 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:43:27] 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-22 09: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-22 09: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-22 09:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567197952001,"66":27767,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567197952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:43:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567197952001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":159939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:43:27] local.INFO: GPS data processed {"connection_id":159939,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:43:27] local.INFO: Acknowledgment sent {"connection_id":159939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:43:33] local.INFO: TCP Data received {"connection_id":159679,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:43:33] local.INFO: Processing buffer {"connection_id":159679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:43:33] local.INFO: IMEI packet received {"connection_id":159679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":159679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:43:33] local.INFO: TCP Data received {"connection_id":159678,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:43:33] local.INFO: Processing buffer {"connection_id":159678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:43:33] local.INFO: Packet analysis {"connection_id":159678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:43:33] local.INFO: Extracted packet for processing {"connection_id":159678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09:43: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-22 09:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567078656001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:33] 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-22 09:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787371945000,"timestamp_ms":1787371945000,"timestamp_seconds":1787371945,"priority":1,"record_length":96,"hex_timestamp":"000001a027ab7c28"} 
[2026-08-22 09:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09:43: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:43:33] 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-22 09:43: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-22 09:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567078656001,"66":2231,"45":8880746646718423040,"85":15104,"24":0,"16":122267462535217152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 09:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567078656001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:43:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567078656001,"power":2231,"unknown_45":8880746646718423040,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 09:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":159678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:43:33] local.INFO: GPS data processed {"connection_id":159678,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:43:33] local.INFO: Acknowledgment sent {"connection_id":159678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:43:41] local.INFO: TCP Data received {"connection_id":160833,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160833,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:43:41] local.INFO: Processing buffer {"connection_id":160833,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:43:41] local.INFO: IMEI packet received {"connection_id":160833,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":160833,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:43:46] local.INFO: TCP Data received {"connection_id":160833,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160833,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:43:46] local.INFO: Processing buffer {"connection_id":160833,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:43:46] local.INFO: IMEI packet received {"connection_id":160833,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":160833,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:43:46] local.INFO: TCP Data received {"connection_id":160833,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027abf540012d0b94c0070350600019011a1e..."} 
[2026-08-22 09:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027abf540012d0b94c0070350600019011a1e..."} 
[2026-08-22 09:43:46] local.INFO: Processing buffer {"connection_id":160833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027abf540012d0b94c0070350600019011a1e..."} 
[2026-08-22 09:43:46] local.INFO: Packet analysis {"connection_id":160833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:43:46] local.INFO: Extracted packet for processing {"connection_id":160833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":755733696,"raw_latitude":117657696,"longitude_deg":75.5733696,"latitude_deg":11.7657696,"altitude":25,"angle":282,"satellites":30,"speed":4,"hex_longitude":"2d0b94c0","hex_latitude":"07035060","is_valid_coordinates":true} 
[2026-08-22 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-22 09:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567221504001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29412030532288512,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":837247348346224640,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:46] 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-22 09:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787371976000,"timestamp_ms":1787371976000,"timestamp_seconds":1787371976,"priority":1,"record_length":96,"hex_timestamp":"000001a027abf540"} 
[2026-08-22 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-22 09:43: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-22 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 09:43: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-22 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-22 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-22 09:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567221504001,"66":14407,"37":206,"94":11008,"24":4,"16":29412030532288512,"45":837247348346224640},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 09:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567221504001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:43:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 09:43:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29412030532288512,"km_value":29412030532288.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":837247348346224640,"description":"Unknown IO ID 45"} 
[2026-08-22 09:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567221504001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":837247348346224640}} 
[2026-08-22 09:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":160833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680412,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:43:47] local.INFO: GPS data processed {"connection_id":160833,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:43:47] local.INFO: Acknowledgment sent {"connection_id":160833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:43:47] local.INFO: TCP Data received {"connection_id":160833,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027ac1480012d0b8840070351f80019010d1f..."} 
[2026-08-22 09:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ac1480012d0b8840070351f80019010d1f..."} 
[2026-08-22 09:43:47] local.INFO: Processing buffer {"connection_id":160833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ac1480012d0b8840070351f80019010d1f..."} 
[2026-08-22 09:43:47] local.INFO: Packet analysis {"connection_id":160833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ac"} 
[2026-08-22 09:43:47] local.INFO: Extracted packet for processing {"connection_id":160833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ac"} 
[2026-08-22 09:43:47] local.INFO: GPS Element Parsed {"raw_longitude":755730496,"raw_latitude":117658104,"longitude_deg":75.5730496,"latitude_deg":11.7658104,"altitude":25,"angle":269,"satellites":31,"speed":13,"hex_longitude":"2d0b8840","hex_latitude":"070351f8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567225856001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29412185151111168,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":834502967323287552,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:47] 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-22 09:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787371984000,"timestamp_ms":1787371984000,"timestamp_seconds":1787371984,"priority":1,"record_length":96,"hex_timestamp":"000001a027ac1480"} 
[2026-08-22 09: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-22 09:43: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-22 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 09:43:47] 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-22 09: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-22 09: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-22 09:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567225856001,"66":14407,"37":206,"94":11008,"24":13,"16":29412185151111168,"45":834502967323287552},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 09:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567225856001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:43:47] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 09:43:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29412185151111168,"km_value":29412185151111.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":834502967323287552,"description":"Unknown IO ID 45"} 
[2026-08-22 09:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567225856001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":834502967323287552}} 
[2026-08-22 09:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":160833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680413,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:43:47] local.INFO: GPS data processed {"connection_id":160833,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:43:47] local.INFO: Acknowledgment sent {"connection_id":160833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:43:49] local.INFO: TCP Data received {"connection_id":159680,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:43:49] local.INFO: Processing buffer {"connection_id":159680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:43:49] local.INFO: IMEI packet received {"connection_id":159680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":159680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:43:55] local.INFO: TCP Data received {"connection_id":159680,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:43:55] local.INFO: Processing buffer {"connection_id":159680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:43:55] local.INFO: IMEI packet received {"connection_id":159680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":159680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:43:55] local.INFO: TCP Data received {"connection_id":159680,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:43:55] local.INFO: Processing buffer {"connection_id":159680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:43:55] local.INFO: Packet analysis {"connection_id":159680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:43:55] local.INFO: Extracted packet for processing {"connection_id":159680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411808,"longitude_deg":76.33328,"latitude_deg":9.5411808,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde60","is_valid_coordinates":true} 
[2026-08-22 09:43: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-22 09:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567197952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:43: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-22 09:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787371875000,"timestamp_ms":1787371875000,"timestamp_seconds":1787371875,"priority":1,"record_length":96,"hex_timestamp":"000001a027aa6ab8"} 
[2026-08-22 09: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-22 09:43: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-22 09: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":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:43: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-22 09: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-22 09: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-22 09:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567197952001,"66":27767,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567197952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:43:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:43:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567197952001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":159680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:43:55] local.INFO: GPS data processed {"connection_id":159680,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:43:55] local.INFO: Acknowledgment sent {"connection_id":159680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:43:56] local.INFO: TCP Data received {"connection_id":162251,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:43:56] local.INFO: Processing buffer {"connection_id":162251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:43:56] local.INFO: IMEI packet received {"connection_id":162251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":162251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:44:02] local.INFO: TCP Data received {"connection_id":162251,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:44:02] local.INFO: Processing buffer {"connection_id":162251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:44:02] local.INFO: IMEI packet received {"connection_id":162251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":162251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:44:03] local.INFO: TCP Data received {"connection_id":162251,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:44:03] local.INFO: Processing buffer {"connection_id":162251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:44:03] local.INFO: Packet analysis {"connection_id":162251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:44:03] local.INFO: Extracted packet for processing {"connection_id":162251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:44:03] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567078656001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:03] 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-22 09:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787371945000,"timestamp_ms":1787371945000,"timestamp_seconds":1787371945,"priority":1,"record_length":96,"hex_timestamp":"000001a027ab7c28"} 
[2026-08-22 09: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-22 09:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:44:03] 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-22 09: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-22 09: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-22 09:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567078656001,"66":2231,"45":8880746646718423040,"85":15104,"24":0,"16":122267462535217152},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 09:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567078656001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:44:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:44:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567078656001,"power":2231,"unknown_45":8880746646718423040,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 09:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":162251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:44:03] local.INFO: GPS data processed {"connection_id":162251,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:44:03] local.INFO: Acknowledgment sent {"connection_id":162251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:44:03] local.INFO: TCP Data received {"connection_id":162252,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:44:03] local.INFO: Processing buffer {"connection_id":162252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:44:03] local.INFO: IMEI packet received {"connection_id":162252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":162252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:44:08] local.INFO: TCP Data received {"connection_id":162252,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:44:08] local.INFO: Processing buffer {"connection_id":162252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:44:08] local.INFO: IMEI packet received {"connection_id":162252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":162252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:44:09] local.INFO: TCP Data received {"connection_id":162252,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027a9a380012d196940071fedd8003e011c24..."} 
[2026-08-22 09:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a9a380012d196940071fedd8003e011c24..."} 
[2026-08-22 09:44:09] local.INFO: Processing buffer {"connection_id":162252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a9a380012d196940071fedd8003e011c24..."} 
[2026-08-22 09:44:09] local.INFO: Packet analysis {"connection_id":162252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a9"} 
[2026-08-22 09:44:09] local.INFO: Extracted packet for processing {"connection_id":162252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a9"} 
[2026-08-22 09:44:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567181568001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787371824000,"timestamp_ms":1787371824000,"timestamp_seconds":1787371824,"priority":1,"record_length":96,"hex_timestamp":"000001a027a9a380"} 
[2026-08-22 09:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:44:09] 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-22 09:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:44:09] 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-22 09:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:44:09] 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-22 09:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567181568001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567181568001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:44:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:44:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567181568001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":162252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:44:09] local.INFO: GPS data processed {"connection_id":162252,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:44:09] local.INFO: Acknowledgment sent {"connection_id":162252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:44:18] local.INFO: TCP Data received {"connection_id":160833,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027ad02c8012d0b688007034df80016011b21..."} 
[2026-08-22 09:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ad02c8012d0b688007034df80016011b21..."} 
[2026-08-22 09:44:18] local.INFO: Processing buffer {"connection_id":160833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ad02c8012d0b688007034df80016011b21..."} 
[2026-08-22 09:44:18] local.INFO: Packet analysis {"connection_id":160833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ad"} 
[2026-08-22 09:44:18] local.INFO: Extracted packet for processing {"connection_id":160833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ad"} 
[2026-08-22 09:44:18] local.INFO: GPS Element Parsed {"raw_longitude":755722368,"raw_latitude":117657080,"longitude_deg":75.5722368,"latitude_deg":11.765708,"altitude":22,"angle":283,"satellites":33,"speed":19,"hex_longitude":"2d0b6880","hex_latitude":"07034df8","is_valid_coordinates":true} 
[2026-08-22 09:44: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-22 09:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567243008001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29412786446532608,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822962493277921280,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:18] 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-22 09:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787372045000,"timestamp_ms":1787372045000,"timestamp_seconds":1787372045,"priority":1,"record_length":96,"hex_timestamp":"000001a027ad02c8"} 
[2026-08-22 09:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:44:18] 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-22 09:44: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":103,"data_length":795,"current_offset":136} 
[2026-08-22 09:44:18] 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-22 09:44: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-22 09:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567243008001,"66":14396,"37":206,"94":11008,"24":19,"16":29412786446532608,"45":822962493277921280},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 09:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567243008001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:44:18] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 09:44:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29412786446532608,"km_value":29412786446532.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":822962493277921280,"description":"Unknown IO ID 45"} 
[2026-08-22 09:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567243008001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":822962493277921280}} 
[2026-08-22 09:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":160833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680417,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:44:18] local.INFO: GPS data processed {"connection_id":160833,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:44:18] local.INFO: Acknowledgment sent {"connection_id":160833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:44:26] local.INFO: TCP Data received {"connection_id":159680,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:44:26] local.INFO: Processing buffer {"connection_id":159680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:44:26] local.INFO: Packet analysis {"connection_id":159680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:44:26] local.INFO: Extracted packet for processing {"connection_id":159680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411808,"longitude_deg":76.33328,"latitude_deg":9.5411808,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde60","is_valid_coordinates":true} 
[2026-08-22 09:44: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-22 09:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567197952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44: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-22 09:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787371875000,"timestamp_ms":1787371875000,"timestamp_seconds":1787371875,"priority":1,"record_length":96,"hex_timestamp":"000001a027aa6ab8"} 
[2026-08-22 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-22 09:44: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-22 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":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:44: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-22 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-22 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-22 09:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567197952001,"66":27767,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567197952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:44:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:44:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567197952001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":159680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:44:26] local.INFO: GPS data processed {"connection_id":159680,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:44:26] local.INFO: Acknowledgment sent {"connection_id":159680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:44:34] local.INFO: TCP Data received {"connection_id":162251,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:44:34] local.INFO: Processing buffer {"connection_id":162251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:44:34] local.INFO: Packet analysis {"connection_id":162251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:44:34] local.INFO: Extracted packet for processing {"connection_id":162251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:44:34] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 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-22 09:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567078656001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:34] 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-22 09:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787371945000,"timestamp_ms":1787371945000,"timestamp_seconds":1787371945,"priority":1,"record_length":96,"hex_timestamp":"000001a027ab7c28"} 
[2026-08-22 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-22 09:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:44:34] 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-22 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-22 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-22 09:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567078656001,"66":2231,"45":8880746646718423040,"85":15104,"24":0,"16":122267462535217152},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 09:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567078656001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:44:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:44:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567078656001,"power":2231,"unknown_45":8880746646718423040,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 09:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":162251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:44:34] local.INFO: GPS data processed {"connection_id":162251,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:44:34] local.INFO: Acknowledgment sent {"connection_id":162251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:44:38] local.INFO: TCP Data received {"connection_id":159681,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159681,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:44:38] local.INFO: Processing buffer {"connection_id":159681,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:44:38] local.INFO: IMEI packet received {"connection_id":159681,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":159681,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:44:38] local.INFO: TCP Data received {"connection_id":159681,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159681,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:44:38] local.INFO: Processing buffer {"connection_id":159681,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:44:38] local.INFO: IMEI packet received {"connection_id":159681,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":159681,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:44:39] local.INFO: TCP Data received {"connection_id":159681,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159681,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:44:39] local.INFO: Processing buffer {"connection_id":159681,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:44:39] local.INFO: IMEI packet received {"connection_id":159681,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":159681,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:44:40] local.INFO: TCP Data received {"connection_id":159681,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027ad1268012d0b5f0007034f680016011021..."} 
[2026-08-22 09:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ad1268012d0b5f0007034f680016011021..."} 
[2026-08-22 09:44:40] local.INFO: Processing buffer {"connection_id":159681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ad1268012d0b5f0007034f680016011021..."} 
[2026-08-22 09:44:40] local.INFO: Packet analysis {"connection_id":159681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ad"} 
[2026-08-22 09:44:40] local.INFO: Extracted packet for processing {"connection_id":159681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ad"} 
[2026-08-22 09:44:40] local.INFO: GPS Element Parsed {"raw_longitude":755719936,"raw_latitude":117657448,"longitude_deg":75.5719936,"latitude_deg":11.7657448,"altitude":22,"angle":272,"satellites":33,"speed":24,"hex_longitude":"2d0b5f00","hex_latitude":"07034f68","is_valid_coordinates":true} 
[2026-08-22 09:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567243520001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29412902410649600,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822047699603683328,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:40] 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-22 09:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787372049000,"timestamp_ms":1787372049000,"timestamp_seconds":1787372049,"priority":1,"record_length":96,"hex_timestamp":"000001a027ad1268"} 
[2026-08-22 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-22 09:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 09:44:40] 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-22 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-22 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-22 09:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159681,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159681,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567243520001,"66":14515,"37":206,"94":11008,"24":24,"16":29412902410649600,"45":822047699603683328},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 09:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567243520001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:44:40] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 09:44:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29412902410649600,"km_value":29412902410649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":822047699603683328,"description":"Unknown IO ID 45"} 
[2026-08-22 09:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567243520001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":822047699603683328}} 
[2026-08-22 09:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":159681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680420,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:44:40] local.INFO: GPS data processed {"connection_id":159681,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:44:40] local.INFO: Acknowledgment sent {"connection_id":159681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:44:49] local.INFO: TCP Data received {"connection_id":159940,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:44:49] local.INFO: Processing buffer {"connection_id":159940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:44:49] local.INFO: IMEI packet received {"connection_id":159940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":159940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:44:53] local.INFO: TCP Data received {"connection_id":162253,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:44:53] local.INFO: Processing buffer {"connection_id":162253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:44:53] local.INFO: IMEI packet received {"connection_id":162253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":162253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:44:53] local.INFO: TCP Data received {"connection_id":162253,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:44:53] local.INFO: Processing buffer {"connection_id":162253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:44:53] local.INFO: IMEI packet received {"connection_id":162253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":162253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:44:54] local.INFO: TCP Data received {"connection_id":159940,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:44:55] local.INFO: Processing buffer {"connection_id":159940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:44:55] local.INFO: IMEI packet received {"connection_id":159940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":159940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:44:55] local.INFO: TCP Data received {"connection_id":159940,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:44:55] local.INFO: Processing buffer {"connection_id":159940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:44:55] local.INFO: Packet analysis {"connection_id":159940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:44:55] local.INFO: Extracted packet for processing {"connection_id":159940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:44:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411808,"longitude_deg":76.33328,"latitude_deg":9.5411808,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde60","is_valid_coordinates":true} 
[2026-08-22 09:44: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-22 09:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567197952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44: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-22 09:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787371875000,"timestamp_ms":1787371875000,"timestamp_seconds":1787371875,"priority":1,"record_length":96,"hex_timestamp":"000001a027aa6ab8"} 
[2026-08-22 09: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-22 09:44: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-22 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:44: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-22 09: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-22 09: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-22 09:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567197952001,"66":27767,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567197952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:44:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:44:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567197952001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":159940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:44:55] local.INFO: GPS data processed {"connection_id":159940,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:44:55] local.INFO: Acknowledgment sent {"connection_id":159940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:44:56] local.INFO: TCP Data received {"connection_id":159682,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:44:56] local.INFO: Processing buffer {"connection_id":159682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:44:56] local.INFO: IMEI packet received {"connection_id":159682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":159682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:44:58] local.INFO: TCP Data received {"connection_id":162253,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:44:58] local.INFO: Processing buffer {"connection_id":162253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:44:58] local.INFO: IMEI packet received {"connection_id":162253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":162253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:44:59] local.INFO: TCP Data received {"connection_id":162253,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027a9f588012d196940071fedd8003e011c25..."} 
[2026-08-22 09:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027a9f588012d196940071fedd8003e011c25..."} 
[2026-08-22 09:44:59] local.INFO: Processing buffer {"connection_id":162253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027a9f588012d196940071fedd8003e011c25..."} 
[2026-08-22 09:44:59] local.INFO: Packet analysis {"connection_id":162253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027a9"} 
[2026-08-22 09:44:59] local.INFO: Extracted packet for processing {"connection_id":162253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027a9"} 
[2026-08-22 09:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567186944001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:44: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-22 09:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787371845000,"timestamp_ms":1787371845000,"timestamp_seconds":1787371845,"priority":1,"record_length":96,"hex_timestamp":"000001a027a9f588"} 
[2026-08-22 09: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-22 09:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:44:59] 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-22 09:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567186944001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567186944001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:44:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:44:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567186944001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":162253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:44:59] local.INFO: GPS data processed {"connection_id":162253,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:44:59] local.INFO: Acknowledgment sent {"connection_id":162253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:45:01] local.INFO: TCP Data received {"connection_id":159682,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:45:01] local.INFO: Processing buffer {"connection_id":159682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:45:01] local.INFO: IMEI packet received {"connection_id":159682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 09:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":159682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:45:02] local.INFO: TCP Data received {"connection_id":159682,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:45:02] local.INFO: Processing buffer {"connection_id":159682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:45:02] local.INFO: Packet analysis {"connection_id":159682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:45:02] local.INFO: Extracted packet for processing {"connection_id":159682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567078656001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:02] 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-22 09:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787371945000,"timestamp_ms":1787371945000,"timestamp_seconds":1787371945,"priority":1,"record_length":96,"hex_timestamp":"000001a027ab7c28"} 
[2026-08-22 09: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-22 09:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:45:02] 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-22 09: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-22 09: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-22 09:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567078656001,"66":2231,"45":8880746646718423040,"85":15104,"24":0,"16":122267462535217152},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 09:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567078656001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:45:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567078656001,"power":2231,"unknown_45":8880746646718423040,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 09:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":159682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:45:02] local.INFO: GPS data processed {"connection_id":159682,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:45:02] local.INFO: Acknowledgment sent {"connection_id":159682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:45:11] local.INFO: TCP Data received {"connection_id":159681,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027ad2dc0012d0b4e40070350d0001700fe23..."} 
[2026-08-22 09:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ad2dc0012d0b4e40070350d0001700fe23..."} 
[2026-08-22 09:45:12] local.INFO: Processing buffer {"connection_id":159681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ad2dc0012d0b4e40070350d0001700fe23..."} 
[2026-08-22 09:45:12] local.INFO: Packet analysis {"connection_id":159681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ad"} 
[2026-08-22 09:45:12] local.INFO: Extracted packet for processing {"connection_id":159681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ad"} 
[2026-08-22 09:45:12] local.INFO: GPS Element Parsed {"raw_longitude":755715648,"raw_latitude":117657808,"longitude_deg":75.5715648,"latitude_deg":11.7657808,"altitude":23,"angle":254,"satellites":35,"speed":21,"hex_longitude":"2d0b4e40","hex_latitude":"070350d0","is_valid_coordinates":true} 
[2026-08-22 09:45: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-22 09:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567244544001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29413108569079808,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819373687325026304,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:12] 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-22 09:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787372056000,"timestamp_ms":1787372056000,"timestamp_seconds":1787372056,"priority":1,"record_length":96,"hex_timestamp":"000001a027ad2dc0"} 
[2026-08-22 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-22 09:45:12] 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-22 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 09:45:12] 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-22 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-22 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-22 09:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159681,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159681,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567244544001,"66":14407,"37":206,"94":11008,"24":21,"16":29413108569079808,"45":819373687325026304},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 09:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567244544001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:45:12] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 09:45:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29413108569079808,"km_value":29413108569079.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":819373687325026304,"description":"Unknown IO ID 45"} 
[2026-08-22 09:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567244544001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":819373687325026304}} 
[2026-08-22 09:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":159681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680424,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:45:12] local.INFO: GPS data processed {"connection_id":159681,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:45:12] local.INFO: Acknowledgment sent {"connection_id":159681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:45:27] local.INFO: TCP Data received {"connection_id":159940,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:45:27] local.INFO: Processing buffer {"connection_id":159940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:45:27] local.INFO: Packet analysis {"connection_id":159940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:45:27] local.INFO: Extracted packet for processing {"connection_id":159940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:45:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411808,"longitude_deg":76.33328,"latitude_deg":9.5411808,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde60","is_valid_coordinates":true} 
[2026-08-22 09:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567197952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45: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-22 09:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787371875000,"timestamp_ms":1787371875000,"timestamp_seconds":1787371875,"priority":1,"record_length":96,"hex_timestamp":"000001a027aa6ab8"} 
[2026-08-22 09: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-22 09:45: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-22 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:45:27] 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-22 09: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-22 09: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-22 09:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567197952001,"66":27767,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567197952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:45:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:45:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567197952001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":159940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:45:27] local.INFO: GPS data processed {"connection_id":159940,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:45:27] local.INFO: Acknowledgment sent {"connection_id":159940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:45:30] local.INFO: TCP Data received {"connection_id":162253,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027aa4790012d196940071fedd8003e011c25..."} 
[2026-08-22 09:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aa4790012d196940071fedd8003e011c25..."} 
[2026-08-22 09:45:30] local.INFO: Processing buffer {"connection_id":162253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aa4790012d196940071fedd8003e011c25..."} 
[2026-08-22 09:45:30] local.INFO: Packet analysis {"connection_id":162253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:45:30] local.INFO: Extracted packet for processing {"connection_id":162253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:45:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567192320001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45: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-22 09:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787371866000,"timestamp_ms":1787371866000,"timestamp_seconds":1787371866,"priority":1,"record_length":96,"hex_timestamp":"000001a027aa4790"} 
[2026-08-22 09: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-22 09:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:45:30] 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-22 09: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-22 09: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-22 09:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:45:30] 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-22 09:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567192320001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567192320001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:45:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:45:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567192320001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":162253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:45:31] local.INFO: GPS data processed {"connection_id":162253,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:45:31] local.INFO: Acknowledgment sent {"connection_id":162253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:45:33] local.INFO: TCP Data received {"connection_id":159682,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:45:33] local.INFO: Processing buffer {"connection_id":159682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ab7c28012d7b3ec005e1e4a0000000ab25..."} 
[2026-08-22 09:45:33] local.INFO: Packet analysis {"connection_id":159682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:45:33] local.INFO: Extracted packet for processing {"connection_id":159682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98690208,"longitude_deg":76.3051712,"latitude_deg":9.8690208,"altitude":0,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1e4a0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567078656001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646718423040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:33] 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-22 09:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787371945000,"timestamp_ms":1787371945000,"timestamp_seconds":1787371945,"priority":1,"record_length":96,"hex_timestamp":"000001a027ab7c28"} 
[2026-08-22 09: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-22 09:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 09:45:33] 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-22 09: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-22 09: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-22 09:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 09:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 09:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 09:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567078656001,"66":2231,"45":8880746646718423040,"85":15104,"24":0,"16":122267462535217152},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 09:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 09:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 09:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567078656001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646718423040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 09:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122267462535217152,"km_value":122267462535217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:45:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457567078656001,"power":2231,"unknown_45":8880746646718423040,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-22 09:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":159682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:45:33] local.INFO: GPS data processed {"connection_id":159682,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:45:33] local.INFO: Acknowledgment sent {"connection_id":159682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:45:54] local.INFO: TCP Data received {"connection_id":160834,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160834,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:45:54] local.INFO: Processing buffer {"connection_id":160834,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:45:54] local.INFO: IMEI packet received {"connection_id":160834,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":160834,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:45:55] local.INFO: TCP Data received {"connection_id":162254,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:45:55] local.INFO: Processing buffer {"connection_id":162254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:45:55] local.INFO: IMEI packet received {"connection_id":162254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":162254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:45:55] local.INFO: TCP Data received {"connection_id":160834,"ip":"42.109.136.0","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-22 09:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160834,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-22 09:45:55] local.INFO: Processing buffer {"connection_id":160834,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-22 09:45:55] local.INFO: IMEI packet received {"connection_id":160834,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":160834,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:45:57] local.INFO: TCP Data received {"connection_id":160834,"ip":"42.109.136.0","data_length":93,"data_hex":"00000000000000518e01000001a027ae0c68012d0b410007037e400015003521..."} 
[2026-08-22 09:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160834,"packet_length":93,"packet_hex":"00000000000000518e01000001a027ae0c68012d0b410007037e400015003521..."} 
[2026-08-22 09:45:57] local.INFO: Processing buffer {"connection_id":160834,"buffer_length":110,"buffer_hex":"000f38363235363730373235373332313000000000000000518e01000001a027..."} 
[2026-08-22 09:45:57] local.INFO: IMEI packet received {"connection_id":160834,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":160834,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:45:58] local.INFO: TCP Data received {"connection_id":160834,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027ae1050012d0b424007037f680015002121..."} 
[2026-08-22 09:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ae1050012d0b424007037f680015002121..."} 
[2026-08-22 09:45:58] local.INFO: Processing buffer {"connection_id":160834,"buffer_length":888,"buffer_hex":"00000000000000518e01000001a027ae0c68012d0b410007037e400015003521..."} 
[2026-08-22 09:45:58] local.INFO: Packet analysis {"connection_id":160834,"data_field_length":81,"total_packet_length":93,"buffer_length":888,"packet_hex_start":"00000000000000518e01000001a027ae"} 
[2026-08-22 09:45:58] local.INFO: Extracted packet for processing {"connection_id":160834,"packet_length":93,"remaining_buffer_length":795,"packet_hex_start":"00000000000000518e01000001a027ae"} 
[2026-08-22 09:45:58] local.INFO: GPS Element Parsed {"raw_longitude":755712256,"raw_latitude":117669440,"longitude_deg":75.5712256,"latitude_deg":11.766944,"altitude":21,"angle":53,"satellites":33,"speed":13,"hex_longitude":"2d0b4100","hex_latitude":"07037e40","is_valid_coordinates":true} 
[2026-08-22 09:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-22 09:45:58] 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-22 09:45:58] 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-22 09:45:58] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:45:58] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 09:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160834,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-22 09:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160834,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 09:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160834,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 09:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 09:45:58] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 09:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":160834,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 09:45:58] local.ERROR: GPS data processing failed {"connection_id":160834,"error":"No valid data to process"} 
[2026-08-22 09:45:58] local.INFO: Acknowledgment sent {"connection_id":160834,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 09:45:58] local.INFO: Packet analysis {"connection_id":160834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ae"} 
[2026-08-22 09:45:58] local.INFO: Extracted packet for processing {"connection_id":160834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ae"} 
[2026-08-22 09:45:58] local.INFO: GPS Element Parsed {"raw_longitude":755712576,"raw_latitude":117669736,"longitude_deg":75.5712576,"latitude_deg":11.7669736,"altitude":21,"angle":33,"satellites":33,"speed":15,"hex_longitude":"2d0b4240","hex_latitude":"07037f68","is_valid_coordinates":true} 
[2026-08-22 09:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567260928001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29414212375674880,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":810929438026776576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:58] 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-22 09:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787372114000,"timestamp_ms":1787372114000,"timestamp_seconds":1787372114,"priority":1,"record_length":96,"hex_timestamp":"000001a027ae1050"} 
[2026-08-22 09:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:45:58] 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-22 09:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 09:45: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-22 09:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160834,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160834,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567260928001,"66":14396,"17":206,"94":11008,"24":15,"16":29414212375674880,"45":810929438026776576},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-22 09:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567260928001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:45:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29414212375674880,"km_value":29414212375674.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":810929438026776576,"description":"Unknown IO ID 45"} 
[2026-08-22 09:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567260928001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":810929438026776576}} 
[2026-08-22 09:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":160834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680428,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:45:58] local.INFO: GPS data processed {"connection_id":160834,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:45:58] local.INFO: Acknowledgment sent {"connection_id":160834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:45:58] local.INFO: TCP Data received {"connection_id":160835,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:45:58] local.INFO: Processing buffer {"connection_id":160835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:45:58] local.INFO: IMEI packet received {"connection_id":160835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":160835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:45:58] local.INFO: TCP Data received {"connection_id":160835,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:45:58] local.INFO: Processing buffer {"connection_id":160835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:45:58] local.INFO: IMEI packet received {"connection_id":160835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":160835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:45:59] local.INFO: TCP Data received {"connection_id":160834,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027ae1438012d0b4300070380f00015001521..."} 
[2026-08-22 09:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ae1438012d0b4300070380f00015001521..."} 
[2026-08-22 09:45:59] local.INFO: Processing buffer {"connection_id":160834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ae1438012d0b4300070380f00015001521..."} 
[2026-08-22 09:45:59] local.INFO: Packet analysis {"connection_id":160834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ae"} 
[2026-08-22 09:45:59] local.INFO: Extracted packet for processing {"connection_id":160834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ae"} 
[2026-08-22 09:45:59] local.INFO: GPS Element Parsed {"raw_longitude":755712768,"raw_latitude":117670128,"longitude_deg":75.5712768,"latitude_deg":11.7670128,"altitude":21,"angle":21,"satellites":33,"speed":16,"hex_longitude":"2d0b4300","hex_latitude":"070380f0","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567261184001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29414233850511360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811281281747740672,"note":"Value kept but may cause issues"} 
[2026-08-22 09:45:59] 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-22 09:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787372115000,"timestamp_ms":1787372115000,"timestamp_seconds":1787372115,"priority":1,"record_length":96,"hex_timestamp":"000001a027ae1438"} 
[2026-08-22 09: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-22 09:45:59] 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-22 09: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":60,"data_length":795,"current_offset":136} 
[2026-08-22 09:45: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-22 09: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-22 09: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-22 09:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160834,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160834,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567261184001,"66":14439,"17":206,"94":11008,"24":16,"16":29414233850511360,"45":811281281747740672},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-22 09:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567261184001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:45:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 09:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29414233850511360,"km_value":29414233850511.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":811281281747740672,"description":"Unknown IO ID 45"} 
[2026-08-22 09:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567261184001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":811281281747740672}} 
[2026-08-22 09:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":160834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680429,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:45:59] local.INFO: GPS data processed {"connection_id":160834,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:45:59] local.INFO: Acknowledgment sent {"connection_id":160834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:46:00] local.INFO: TCP Data received {"connection_id":162254,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:46:00] local.INFO: Processing buffer {"connection_id":162254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:46:00] local.INFO: IMEI packet received {"connection_id":162254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":162254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:46:00] local.INFO: TCP Data received {"connection_id":162254,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:46:00] local.INFO: Processing buffer {"connection_id":162254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:46:00] local.INFO: Packet analysis {"connection_id":162254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:46:00] local.INFO: Extracted packet for processing {"connection_id":162254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411808,"longitude_deg":76.33328,"latitude_deg":9.5411808,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde60","is_valid_coordinates":true} 
[2026-08-22 09:46: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-22 09:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567197952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46: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-22 09:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787371875000,"timestamp_ms":1787371875000,"timestamp_seconds":1787371875,"priority":1,"record_length":96,"hex_timestamp":"000001a027aa6ab8"} 
[2026-08-22 09: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-22 09: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-22 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:46: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-22 09: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-22 09: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-22 09:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567197952001,"66":27767,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567197952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:46:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567197952001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":162254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:46:00] local.INFO: GPS data processed {"connection_id":162254,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:46:00] local.INFO: Acknowledgment sent {"connection_id":162254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:46:01] local.INFO: TCP Data received {"connection_id":159941,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:46:01] local.INFO: Processing buffer {"connection_id":159941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 09:46:01] local.INFO: IMEI packet received {"connection_id":159941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 09:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":159941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:46:03] local.INFO: TCP Data received {"connection_id":160835,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:46:03] local.INFO: Processing buffer {"connection_id":160835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:46:03] local.INFO: IMEI packet received {"connection_id":160835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":160835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:46:04] local.INFO: TCP Data received {"connection_id":160835,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027aa9998012d196940071fedd8003e011c25..."} 
[2026-08-22 09:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aa9998012d196940071fedd8003e011c25..."} 
[2026-08-22 09:46:04] local.INFO: Processing buffer {"connection_id":160835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aa9998012d196940071fedd8003e011c25..."} 
[2026-08-22 09:46:04] local.INFO: Packet analysis {"connection_id":160835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:46:04] local.INFO: Extracted packet for processing {"connection_id":160835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:46:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567197696001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787371887000,"timestamp_ms":1787371887000,"timestamp_seconds":1787371887,"priority":1,"record_length":96,"hex_timestamp":"000001a027aa9998"} 
[2026-08-22 09: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-22 09:46: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-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2857544237148084585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79979575316054016,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2835312641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:46:04] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,160,245,45,64,237,62,37,10,66,163,36,81,1,240,255,227,39,31,4,113,205,173,105,216,239,48,2,51,7,32],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:46:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883250567610368,"timestamp_seconds":4467883250567610.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:46:04] 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-22 09:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567197696001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567197696001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:46:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:46:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567197696001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":160835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:46:04] local.INFO: GPS data processed {"connection_id":160835,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:46:04] local.INFO: Acknowledgment sent {"connection_id":160835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:46:04] local.INFO: TCP Data received {"connection_id":162254,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:46:04] local.INFO: Processing buffer {"connection_id":162254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:46:04] local.INFO: Packet analysis {"connection_id":162254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:46:04] local.INFO: Extracted packet for processing {"connection_id":162254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411808,"longitude_deg":76.33328,"latitude_deg":9.5411808,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde60","is_valid_coordinates":true} 
[2026-08-22 09:46: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-22 09:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567197952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:04] 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-22 09:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787371875000,"timestamp_ms":1787371875000,"timestamp_seconds":1787371875,"priority":1,"record_length":96,"hex_timestamp":"000001a027aa6ab8"} 
[2026-08-22 09: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-22 09:46: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-22 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:46: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-22 09: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-22 09: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-22 09:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567197952001,"66":27767,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567197952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:46:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567197952001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":162254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:46:04] local.INFO: GPS data processed {"connection_id":162254,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:46:04] local.INFO: Acknowledgment sent {"connection_id":162254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:46:09] local.INFO: TCP Data received {"connection_id":160835,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027aaeba0012d196940071fedd8003e011c26..."} 
[2026-08-22 09:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aaeba0012d196940071fedd8003e011c26..."} 
[2026-08-22 09:46:09] local.INFO: Processing buffer {"connection_id":160835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aaeba0012d196940071fedd8003e011c26..."} 
[2026-08-22 09:46:09] local.INFO: Packet analysis {"connection_id":160835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:46:09] local.INFO: Extracted packet for processing {"connection_id":160835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:46:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567203072001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787371908000,"timestamp_ms":1787371908000,"timestamp_seconds":1787371908,"priority":1,"record_length":96,"hex_timestamp":"000001a027aaeba0"} 
[2026-08-22 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-22 09:46:09] 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-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:46:09] 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-22 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-22 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-22 09:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:46:09] 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-22 09:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567203072001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567203072001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:46:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:46:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567203072001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":160835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:46:09] local.INFO: GPS data processed {"connection_id":160835,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:46:09] local.INFO: Acknowledgment sent {"connection_id":160835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:46:35] local.INFO: TCP Data received {"connection_id":159683,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:46:35] local.INFO: Processing buffer {"connection_id":159683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:46:35] local.INFO: IMEI packet received {"connection_id":159683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":159683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:46:36] local.INFO: TCP Data received {"connection_id":159683,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:46:36] local.INFO: Processing buffer {"connection_id":159683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:46:36] local.INFO: IMEI packet received {"connection_id":159683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":159683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:46:37] local.INFO: TCP Data received {"connection_id":159683,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:46:37] local.INFO: Processing buffer {"connection_id":159683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:46:37] local.INFO: IMEI packet received {"connection_id":159683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":159683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:46:41] local.INFO: TCP Data received {"connection_id":159683,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:46:41] local.INFO: Processing buffer {"connection_id":159683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:46:41] local.INFO: IMEI packet received {"connection_id":159683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":159683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:46:41] local.INFO: TCP Data received {"connection_id":159683,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027af0e38012d0b34000703fe180013000622..."} 
[2026-08-22 09:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027af0e38012d0b34000703fe180013000622..."} 
[2026-08-22 09:46:41] local.INFO: Processing buffer {"connection_id":159683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027af0e38012d0b34000703fe180013000622..."} 
[2026-08-22 09:46:41] local.INFO: Packet analysis {"connection_id":159683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:46:41] local.INFO: Extracted packet for processing {"connection_id":159683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:46:41] local.INFO: GPS Element Parsed {"raw_longitude":755708928,"raw_latitude":117702168,"longitude_deg":75.5708928,"latitude_deg":11.7702168,"altitude":19,"angle":6,"satellites":34,"speed":9,"hex_longitude":"2d0b3400","hex_latitude":"0703fe18","is_valid_coordinates":true} 
[2026-08-22 09:46: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-22 09:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567277568001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29415865938083840,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807270263337854976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:41] 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-22 09:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787372179000,"timestamp_ms":1787372179000,"timestamp_seconds":1787372179,"priority":1,"record_length":96,"hex_timestamp":"000001a027af0e38"} 
[2026-08-22 09:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:46:41] 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-22 09:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 09:46:41] 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-22 09:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567277568001,"66":14580,"96":206,"94":10240,"24":9,"16":29415865938083840,"45":807270263337854976},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-22 09:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567277568001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:46:41] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 09:46:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29415865938083840,"km_value":29415865938083.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":807270263337854976,"description":"Unknown IO ID 45"} 
[2026-08-22 09:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567277568001,"power":14580,"unknown_96":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":807270263337854976}} 
[2026-08-22 09:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":159683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680434,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:46:42] local.INFO: GPS data processed {"connection_id":159683,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:46:42] local.INFO: Acknowledgment sent {"connection_id":159683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:46:49] local.INFO: TCP Data received {"connection_id":160836,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:46:49] local.INFO: Processing buffer {"connection_id":160836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:46:49] local.INFO: IMEI packet received {"connection_id":160836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":160836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:46:53] local.INFO: TCP Data received {"connection_id":162255,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:46:53] local.INFO: Processing buffer {"connection_id":162255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:46:53] local.INFO: IMEI packet received {"connection_id":162255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":162255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:46:54] local.INFO: TCP Data received {"connection_id":160836,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:46:54] local.INFO: Processing buffer {"connection_id":160836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:46:54] local.INFO: IMEI packet received {"connection_id":160836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":160836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:46:55] local.INFO: TCP Data received {"connection_id":160836,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:46:55] local.INFO: Processing buffer {"connection_id":160836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aa6ab8012d7f88c005afde60000000d823..."} 
[2026-08-22 09:46:55] local.INFO: Packet analysis {"connection_id":160836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:46:55] local.INFO: Extracted packet for processing {"connection_id":160836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027aa"} 
[2026-08-22 09:46:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411808,"longitude_deg":76.33328,"latitude_deg":9.5411808,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afde60","is_valid_coordinates":true} 
[2026-08-22 09:46: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-22 09:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567197952001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46: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-22 09:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787371875000,"timestamp_ms":1787371875000,"timestamp_seconds":1787371875,"priority":1,"record_length":96,"hex_timestamp":"000001a027aa6ab8"} 
[2026-08-22 09: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-22 09:46: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-22 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:46: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-22 09: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-22 09: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-22 09:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567197952001,"66":27767,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567197952001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:46:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:46:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567197952001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":160836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:46:56] local.INFO: GPS data processed {"connection_id":160836,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:46:56] local.INFO: Acknowledgment sent {"connection_id":160836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:46:58] local.INFO: TCP Data received {"connection_id":162255,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:46:58] local.INFO: Processing buffer {"connection_id":162255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:46:58] local.INFO: IMEI packet received {"connection_id":162255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":162255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:46:59] local.INFO: TCP Data received {"connection_id":162255,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027ab3da8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ab3da8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:46:59] local.INFO: Processing buffer {"connection_id":162255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ab3da8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:46:59] local.INFO: Packet analysis {"connection_id":162255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:46:59] local.INFO: Extracted packet for processing {"connection_id":162255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ab"} 
[2026-08-22 09:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567208448001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46: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-22 09:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787371929000,"timestamp_ms":1787371929000,"timestamp_seconds":1787371929,"priority":1,"record_length":96,"hex_timestamp":"000001a027ab3da8"} 
[2026-08-22 09: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-22 09:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2857724625774516585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79980674827681792,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2846064641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:46:59] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-22 09:46:59] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,160,153,45,64,237,62,37,10,66,71,245,1,240,31,227,39,4,113,205,81,105,216,239,47,2,51,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:46:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:46:59] 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-22 09:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567208448001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567208448001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:46:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567208448001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":162255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:46:59] local.INFO: GPS data processed {"connection_id":162255,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:46:59] local.INFO: Acknowledgment sent {"connection_id":162255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:47:13] local.INFO: TCP Data received {"connection_id":159683,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027af1220012d0b34400703ff080013001a22..."} 
[2026-08-22 09:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027af1220012d0b34400703ff080013001a22..."} 
[2026-08-22 09:47:13] local.INFO: Processing buffer {"connection_id":159683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027af1220012d0b34400703ff080013001a22..."} 
[2026-08-22 09:47:13] local.INFO: Packet analysis {"connection_id":159683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:47:13] local.INFO: Extracted packet for processing {"connection_id":159683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:47:13] local.INFO: GPS Element Parsed {"raw_longitude":755708992,"raw_latitude":117702408,"longitude_deg":75.5708992,"latitude_deg":11.7702408,"altitude":19,"angle":26,"satellites":34,"speed":10,"hex_longitude":"2d0b3440","hex_latitude":"0703ff08","is_valid_coordinates":true} 
[2026-08-22 09:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567277824001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29415878822985728,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807270263337916416,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:13] 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-22 09:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787372180000,"timestamp_ms":1787372180000,"timestamp_seconds":1787372180,"priority":1,"record_length":96,"hex_timestamp":"000001a027af1220"} 
[2026-08-22 09:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:47: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-22 09:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-22 09:47:13] 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-22 09:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567277824001,"66":14580,"96":206,"94":10240,"24":10,"16":29415878822985728,"45":807270263337916416},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-22 09:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567277824001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:47:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 09:47:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29415878822985728,"km_value":29415878822985.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":807270263337916416,"description":"Unknown IO ID 45"} 
[2026-08-22 09:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567277824001,"power":14580,"unknown_96":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":807270263337916416}} 
[2026-08-22 09:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":159683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680437,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:47:13] local.INFO: GPS data processed {"connection_id":159683,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:47:13] local.INFO: Acknowledgment sent {"connection_id":159683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:47:26] local.INFO: TCP Data received {"connection_id":160836,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:47:26] local.INFO: Processing buffer {"connection_id":160836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:47:26] local.INFO: Packet analysis {"connection_id":160836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:47:26] local.INFO: Extracted packet for processing {"connection_id":160836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:47:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567200000001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47: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-22 09:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787372177000,"timestamp_ms":1787372177000,"timestamp_seconds":1787372177,"priority":1,"record_length":96,"hex_timestamp":"000001a027af0668"} 
[2026-08-22 09: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-22 09:47: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-22 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:47: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-22 09: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-22 09: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-22 09:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567200000001,"66":25832,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567200000001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:47:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567200000001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":160836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:47:26] local.INFO: GPS data processed {"connection_id":160836,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:47:26] local.INFO: Acknowledgment sent {"connection_id":160836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:47:30] local.INFO: TCP Data received {"connection_id":162255,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027aec400012d196940071fedd8003e011c26..."} 
[2026-08-22 09:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aec400012d196940071fedd8003e011c26..."} 
[2026-08-22 09:47:30] local.INFO: Processing buffer {"connection_id":162255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aec400012d196940071fedd8003e011c26..."} 
[2026-08-22 09:47:30] local.INFO: Packet analysis {"connection_id":162255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ae"} 
[2026-08-22 09:47:30] local.INFO: Extracted packet for processing {"connection_id":162255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ae"} 
[2026-08-22 09:47:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567267584001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47: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-22 09:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787372160000,"timestamp_ms":1787372160000,"timestamp_seconds":1787372160,"priority":1,"record_length":96,"hex_timestamp":"000001a027aec400"} 
[2026-08-22 09: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-22 09:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:47:30] 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-22 09: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-22 09: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-22 09:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:47:30] 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-22 09:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567267584001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567267584001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:47:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:47:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567267584001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":162255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:47:30] local.INFO: GPS data processed {"connection_id":162255,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:47:30] local.INFO: Acknowledgment sent {"connection_id":162255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:47:36] local.INFO: TCP Data received {"connection_id":162256,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162256,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:47:36] local.INFO: Processing buffer {"connection_id":162256,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:47:36] local.INFO: IMEI packet received {"connection_id":162256,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":162256,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:47:41] local.INFO: TCP Data received {"connection_id":162256,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162256,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:47:41] local.INFO: Processing buffer {"connection_id":162256,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:47:41] local.INFO: IMEI packet received {"connection_id":162256,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":162256,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:47:42] local.INFO: TCP Data received {"connection_id":162256,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027aff4b0012d0b608007043750001000661e..."} 
[2026-08-22 09:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aff4b0012d0b608007043750001000661e..."} 
[2026-08-22 09:47:42] local.INFO: Processing buffer {"connection_id":162256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aff4b0012d0b608007043750001000661e..."} 
[2026-08-22 09:47:42] local.INFO: Packet analysis {"connection_id":162256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:47:42] local.INFO: Extracted packet for processing {"connection_id":162256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:47:42] local.INFO: GPS Element Parsed {"raw_longitude":755720320,"raw_latitude":117716816,"longitude_deg":75.572032,"latitude_deg":11.7716816,"altitude":16,"angle":102,"satellites":30,"speed":7,"hex_longitude":"2d0b6080","hex_latitude":"07043750","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567291648001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29416995514482688,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818177418689046528,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] 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-22 09:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787372238000,"timestamp_ms":1787372238000,"timestamp_seconds":1787372238,"priority":1,"record_length":96,"hex_timestamp":"000001a027aff4b0"} 
[2026-08-22 09: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-22 09:47: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-22 09: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":16,"data_length":795,"current_offset":136} 
[2026-08-22 09:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] local.WARNING: Large IO value detected {"io_id":96,"raw_value":5066563019347200,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84736324611277844,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504048483237888,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2942064641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639226070184800,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698628010606848,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":861929678,"corrected_to":0} 
[2026-08-22 09:47:42] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3087084811,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] local.WARNING: Large IO value detected {"io_id":59,"raw_value":2147943451,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2179792896,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4287434559237128210,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:42] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,96,94,24,241,157,16,130,160,147,45,192,43,17,33,10,66,115,42,18,34,111,1,240,27,227,39,4,113,205,76,59,8,35,239,56,2,104,7,206,11],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":861929678,"validated":0}]} 
[2026-08-22 09:47:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153001906395938816,"timestamp_seconds":1153001906395938.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567291648001,"66":14428,"96":206,"94":10240,"24":7,"16":29416995514482688,"45":818177418689046528},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-22 09:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567291648001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:47:42] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 09:47:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29416995514482688,"km_value":29416995514482.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":818177418689046528,"description":"Unknown IO ID 45"} 
[2026-08-22 09:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567291648001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":818177418689046528}} 
[2026-08-22 09:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":162256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680440,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:47:42] local.INFO: GPS data processed {"connection_id":162256,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:47:42] local.INFO: Acknowledgment sent {"connection_id":162256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:47:49] local.INFO: TCP Data received {"connection_id":159684,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:47:49] local.INFO: Processing buffer {"connection_id":159684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:47:49] local.INFO: IMEI packet received {"connection_id":159684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":159684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:47:54] local.INFO: TCP Data received {"connection_id":162257,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:47:54] local.INFO: Processing buffer {"connection_id":162257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:47:54] local.INFO: IMEI packet received {"connection_id":162257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":162257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:47:54] local.INFO: TCP Data received {"connection_id":159684,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:47:54] local.INFO: Processing buffer {"connection_id":159684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:47:54] local.INFO: IMEI packet received {"connection_id":159684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":159684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:47:55] local.INFO: TCP Data received {"connection_id":159684,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:47:55] local.INFO: Processing buffer {"connection_id":159684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:47:55] local.INFO: Packet analysis {"connection_id":159684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:47:55] local.INFO: Extracted packet for processing {"connection_id":159684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567200000001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47: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-22 09:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787372177000,"timestamp_ms":1787372177000,"timestamp_seconds":1787372177,"priority":1,"record_length":96,"hex_timestamp":"000001a027af0668"} 
[2026-08-22 09: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-22 09:47: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-22 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:47: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-22 09: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-22 09: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-22 09:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567200000001,"66":25832,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567200000001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:47:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:47:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567200000001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":159684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:47:55] local.INFO: GPS data processed {"connection_id":159684,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:47:55] local.INFO: Acknowledgment sent {"connection_id":159684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:47:58] local.INFO: TCP Data received {"connection_id":162257,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:47:58] local.INFO: Processing buffer {"connection_id":162257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:47:58] local.INFO: IMEI packet received {"connection_id":162257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":162257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:47:59] local.INFO: TCP Data received {"connection_id":162257,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027af1608012d196940071fedd8003e011c25..."} 
[2026-08-22 09:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027af1608012d196940071fedd8003e011c25..."} 
[2026-08-22 09:47:59] local.INFO: Processing buffer {"connection_id":162257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027af1608012d196940071fedd8003e011c25..."} 
[2026-08-22 09:47:59] local.INFO: Packet analysis {"connection_id":162257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:47:59] local.INFO: Extracted packet for processing {"connection_id":162257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567272960001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:47: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-22 09:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787372181000,"timestamp_ms":1787372181000,"timestamp_seconds":1787372181,"priority":1,"record_length":96,"hex_timestamp":"000001a027af1608"} 
[2026-08-22 09: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-22 09:47:59] 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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:47:59] 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-22 09:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567272960001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567272960001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:47:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567272960001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":162257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:47:59] local.INFO: GPS data processed {"connection_id":162257,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:47:59] local.INFO: Acknowledgment sent {"connection_id":162257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:48:13] local.INFO: TCP Data received {"connection_id":162256,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027aff898012d0b6100070437100010007d1e..."} 
[2026-08-22 09:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027aff898012d0b6100070437100010007d1e..."} 
[2026-08-22 09:48:13] local.INFO: Processing buffer {"connection_id":162256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027aff898012d0b6100070437100010007d1e..."} 
[2026-08-22 09:48:13] local.INFO: Packet analysis {"connection_id":162256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:48:13] local.INFO: Extracted packet for processing {"connection_id":162256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:48:13] local.INFO: GPS Element Parsed {"raw_longitude":755720448,"raw_latitude":117716752,"longitude_deg":75.5720448,"latitude_deg":11.7716752,"altitude":16,"angle":125,"satellites":30,"speed":9,"hex_longitude":"2d0b6100","hex_latitude":"07043710","is_valid_coordinates":true} 
[2026-08-22 09:48: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-22 09:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567292928001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29417004104417280,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819795899805290496,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:13] 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-22 09:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787372239000,"timestamp_ms":1787372239000,"timestamp_seconds":1787372239,"priority":1,"record_length":96,"hex_timestamp":"000001a027aff898"} 
[2026-08-22 09:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:48: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-22 09:48: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-22 09:48: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-22 09:48: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-22 09:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567292928001,"66":14428,"96":206,"94":10240,"24":9,"16":29417004104417280,"45":819795899805290496},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-22 09:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567292928001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:48:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 09:48:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29417004104417280,"km_value":29417004104417.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":819795899805290496,"description":"Unknown IO ID 45"} 
[2026-08-22 09:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567292928001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":819795899805290496}} 
[2026-08-22 09:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":162256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680443,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:48:14] local.INFO: GPS data processed {"connection_id":162256,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:48:14] local.INFO: Acknowledgment sent {"connection_id":162256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:48:27] local.INFO: TCP Data received {"connection_id":159684,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:48:27] local.INFO: Processing buffer {"connection_id":159684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:48:27] local.INFO: Packet analysis {"connection_id":159684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:48:27] local.INFO: Extracted packet for processing {"connection_id":159684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567200000001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48: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-22 09:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787372177000,"timestamp_ms":1787372177000,"timestamp_seconds":1787372177,"priority":1,"record_length":96,"hex_timestamp":"000001a027af0668"} 
[2026-08-22 09:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 09:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:48:27] 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-22 09:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567200000001,"66":25832,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567200000001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:48:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567200000001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":159684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:48:27] local.INFO: GPS data processed {"connection_id":159684,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:48:27] local.INFO: Acknowledgment sent {"connection_id":159684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:48:30] local.INFO: TCP Data received {"connection_id":162257,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027af6810012d196940071fedd8003e011c25..."} 
[2026-08-22 09:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027af6810012d196940071fedd8003e011c25..."} 
[2026-08-22 09:48:30] local.INFO: Processing buffer {"connection_id":162257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027af6810012d196940071fedd8003e011c25..."} 
[2026-08-22 09:48:30] local.INFO: Packet analysis {"connection_id":162257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:48:30] local.INFO: Extracted packet for processing {"connection_id":162257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:48:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567278336001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48: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-22 09:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787372202000,"timestamp_ms":1787372202000,"timestamp_seconds":1787372202,"priority":1,"record_length":96,"hex_timestamp":"000001a027af6810"} 
[2026-08-22 09: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-22 09:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2858897151846324585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79979575316054016,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832590,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:30] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2915952641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:48:30] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:30] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,160,196,45,64,237,62,38,10,66,113,36,31,1,240,227,39,4,205,123,105,216,32,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:48:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883250567610368,"timestamp_seconds":4467883250567610.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:48:30] 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-22 09:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567278336001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567278336001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:48:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567278336001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":162257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:48:31] local.INFO: GPS data processed {"connection_id":162257,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:48:31] local.INFO: Acknowledgment sent {"connection_id":162257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:48:36] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:48:36] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:48:36] local.INFO: IMEI packet received {"connection_id":159942,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":159942,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:48:40] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:48:40] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:48:40] local.INFO: IMEI packet received {"connection_id":159942,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":159942,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:48:41] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027affc80012d0b618007043688001100941e..."} 
[2026-08-22 09:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027affc80012d0b618007043688001100941e..."} 
[2026-08-22 09:48:41] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027affc80012d0b618007043688001100941e..."} 
[2026-08-22 09:48:41] local.INFO: Packet analysis {"connection_id":159942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:48:41] local.INFO: Extracted packet for processing {"connection_id":159942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:48:41] local.INFO: GPS Element Parsed {"raw_longitude":755720576,"raw_latitude":117716616,"longitude_deg":75.5720576,"latitude_deg":11.7716616,"altitude":17,"angle":148,"satellites":30,"speed":6,"hex_longitude":"2d0b6180","hex_latitude":"07043688","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567293184001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29417012694351872,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819936637293629440,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:41] 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-22 09:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787372240000,"timestamp_ms":1787372240000,"timestamp_seconds":1787372240,"priority":1,"record_length":96,"hex_timestamp":"000001a027affc80"} 
[2026-08-22 09: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-22 09:48:41] 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-22 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 09:48:41] 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-22 09: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-22 09: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-22 09:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159942,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159942,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567293184001,"66":14428,"96":206,"94":10240,"24":6,"16":29417012694351872,"45":819936637293629440},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-22 09:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567293184001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:48:41] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 09:48:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29417012694351872,"km_value":29417012694351.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":819936637293629440,"description":"Unknown IO ID 45"} 
[2026-08-22 09:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567293184001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":819936637293629440}} 
[2026-08-22 09:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":159942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680446,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:48:42] local.INFO: GPS data processed {"connection_id":159942,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:48:42] local.INFO: Acknowledgment sent {"connection_id":159942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:48:49] local.INFO: TCP Data received {"connection_id":160837,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:48:49] local.INFO: Processing buffer {"connection_id":160837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:48:49] local.INFO: IMEI packet received {"connection_id":160837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":160837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:48:53] local.INFO: TCP Data received {"connection_id":160838,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:48:53] local.INFO: Processing buffer {"connection_id":160838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:48:53] local.INFO: IMEI packet received {"connection_id":160838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":160838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:48:56] local.INFO: TCP Data received {"connection_id":160837,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:48:56] local.INFO: Processing buffer {"connection_id":160837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:48:56] local.INFO: IMEI packet received {"connection_id":160837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":160837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:48:56] local.INFO: TCP Data received {"connection_id":160837,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:48:56] local.INFO: Processing buffer {"connection_id":160837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:48:56] local.INFO: Packet analysis {"connection_id":160837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:48:56] local.INFO: Extracted packet for processing {"connection_id":160837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567200000001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09: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-22 09:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787372177000,"timestamp_ms":1787372177000,"timestamp_seconds":1787372177,"priority":1,"record_length":96,"hex_timestamp":"000001a027af0668"} 
[2026-08-22 09: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-22 09: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-22 09: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":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:48: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-22 09: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-22 09: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-22 09:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567200000001,"66":25832,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567200000001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:48:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567200000001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":160837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:48:56] local.INFO: GPS data processed {"connection_id":160837,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:48:56] local.INFO: Acknowledgment sent {"connection_id":160837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:48:58] local.INFO: TCP Data received {"connection_id":160838,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:48:58] local.INFO: Processing buffer {"connection_id":160838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:48:58] local.INFO: IMEI packet received {"connection_id":160838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":160838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:48:59] local.INFO: TCP Data received {"connection_id":160838,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027afba18012d196940071fedd8003e011c27..."} 
[2026-08-22 09:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027afba18012d196940071fedd8003e011c27..."} 
[2026-08-22 09:48:59] local.INFO: Processing buffer {"connection_id":160838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027afba18012d196940071fedd8003e011c27..."} 
[2026-08-22 09:48:59] local.INFO: Packet analysis {"connection_id":160838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:48:59] local.INFO: Extracted packet for processing {"connection_id":160838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:48:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567283712001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:48: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-22 09:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787372223000,"timestamp_ms":1787372223000,"timestamp_seconds":1787372223,"priority":1,"record_length":96,"hex_timestamp":"000001a027afba18"} 
[2026-08-22 09: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-22 09:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:48:59] 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-22 09:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567283712001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567283712001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:48:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:48:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567283712001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":160838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:48:59] local.INFO: GPS data processed {"connection_id":160838,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:48:59] local.INFO: Acknowledgment sent {"connection_id":160838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:49:14] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027b1a260012d0b8d000703c408001c00b521..."} 
[2026-08-22 09:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b1a260012d0b8d000703c408001c00b521..."} 
[2026-08-22 09:49:14] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b1a260012d0b8d000703c408001c00b521..."} 
[2026-08-22 09:49:14] local.INFO: Packet analysis {"connection_id":159942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b1"} 
[2026-08-22 09:49:14] local.INFO: Extracted packet for processing {"connection_id":159942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b1"} 
[2026-08-22 09:49:14] local.INFO: GPS Element Parsed {"raw_longitude":755731712,"raw_latitude":117687304,"longitude_deg":75.5731712,"latitude_deg":11.7687304,"altitude":28,"angle":181,"satellites":33,"speed":22,"hex_longitude":"2d0b8d00","hex_latitude":"0703c408","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567316480001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29418820875583488,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833025223705417728,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:14] 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-22 09:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787372348000,"timestamp_ms":1787372348000,"timestamp_seconds":1787372348,"priority":1,"record_length":96,"hex_timestamp":"000001a027b1a260"} 
[2026-08-22 09: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-22 09:49: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-22 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-22 09:49: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-22 09: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-22 09: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-22 09:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159942,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159942,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 09:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 09:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 09:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567316480001,"66":14450,"96":206,"94":10240,"24":22,"16":29418820875583488,"45":833025223705417728},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-22 09:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 09:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 09:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567316480001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:49:14] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 09:49:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 09:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29418820875583488,"km_value":29418820875583.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":833025223705417728,"description":"Unknown IO ID 45"} 
[2026-08-22 09:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567316480001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":833025223705417728}} 
[2026-08-22 09:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":159942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680449,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:49:14] local.INFO: GPS data processed {"connection_id":159942,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:49:14] local.INFO: Acknowledgment sent {"connection_id":159942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:49:28] local.INFO: TCP Data received {"connection_id":160837,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:49:28] local.INFO: Processing buffer {"connection_id":160837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:49:28] local.INFO: Packet analysis {"connection_id":160837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:49:28] local.INFO: Extracted packet for processing {"connection_id":160837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567200000001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49: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-22 09:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787372177000,"timestamp_ms":1787372177000,"timestamp_seconds":1787372177,"priority":1,"record_length":96,"hex_timestamp":"000001a027af0668"} 
[2026-08-22 09:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:49: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-22 09:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:49:28] 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-22 09:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567200000001,"66":25832,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567200000001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:49:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567200000001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":160837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:49:28] local.INFO: GPS data processed {"connection_id":160837,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:49:28] local.INFO: Acknowledgment sent {"connection_id":160837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:49:30] local.INFO: TCP Data received {"connection_id":160838,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b00c20012d196940071fedd8003e011c26..."} 
[2026-08-22 09:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b00c20012d196940071fedd8003e011c26..."} 
[2026-08-22 09:49:30] local.INFO: Processing buffer {"connection_id":160838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b00c20012d196940071fedd8003e011c26..."} 
[2026-08-22 09:49:30] local.INFO: Packet analysis {"connection_id":160838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b0"} 
[2026-08-22 09:49:30] local.INFO: Extracted packet for processing {"connection_id":160838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b0"} 
[2026-08-22 09:49:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567289088001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49: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-22 09:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787372244000,"timestamp_ms":1787372244000,"timestamp_seconds":1787372244,"priority":1,"record_length":96,"hex_timestamp":"000001a027b00c20"} 
[2026-08-22 09: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-22 09:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:49:30] 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-22 09: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-22 09: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-22 09:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:49:30] 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-22 09:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567289088001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567289088001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:49:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:49:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567289088001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":160838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:49:30] local.INFO: GPS data processed {"connection_id":160838,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:49:30] local.INFO: Acknowledgment sent {"connection_id":160838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:49:49] local.INFO: TCP Data received {"connection_id":159685,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:49:49] local.INFO: Processing buffer {"connection_id":159685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:49:49] local.INFO: IMEI packet received {"connection_id":159685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":159685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:49:54] local.INFO: TCP Data received {"connection_id":159685,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:49:55] local.INFO: Processing buffer {"connection_id":159685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:49:55] local.INFO: IMEI packet received {"connection_id":159685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":159685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:49:55] local.INFO: TCP Data received {"connection_id":159685,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:49:55] local.INFO: Processing buffer {"connection_id":159685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:49:55] local.INFO: Packet analysis {"connection_id":159685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:49:55] local.INFO: Extracted packet for processing {"connection_id":159685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:49:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567200000001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49: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-22 09:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787372177000,"timestamp_ms":1787372177000,"timestamp_seconds":1787372177,"priority":1,"record_length":96,"hex_timestamp":"000001a027af0668"} 
[2026-08-22 09: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-22 09:49: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-22 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:49: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-22 09: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-22 09: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-22 09:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567200000001,"66":25832,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567200000001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:49:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:49:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567200000001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":159685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:49:55] local.INFO: GPS data processed {"connection_id":159685,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:49:55] local.INFO: Acknowledgment sent {"connection_id":159685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:49:56] local.INFO: TCP Data received {"connection_id":162258,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:49:56] local.INFO: Processing buffer {"connection_id":162258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:49:56] local.INFO: IMEI packet received {"connection_id":162258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":162258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:49:58] local.INFO: TCP Data received {"connection_id":162258,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:49:58] local.INFO: Processing buffer {"connection_id":162258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:49:58] local.INFO: IMEI packet received {"connection_id":162258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":162258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:49:59] local.INFO: TCP Data received {"connection_id":162258,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b05e28012d196940071fedd8003e011c27..."} 
[2026-08-22 09:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b05e28012d196940071fedd8003e011c27..."} 
[2026-08-22 09:49:59] local.INFO: Processing buffer {"connection_id":162258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b05e28012d196940071fedd8003e011c27..."} 
[2026-08-22 09:49:59] local.INFO: Packet analysis {"connection_id":162258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b0"} 
[2026-08-22 09:49:59] local.INFO: Extracted packet for processing {"connection_id":162258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b0"} 
[2026-08-22 09:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567294464001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49: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-22 09:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787372265000,"timestamp_ms":1787372265000,"timestamp_seconds":1787372265,"priority":1,"record_length":96,"hex_timestamp":"000001a027b05e28"} 
[2026-08-22 09: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-22 09:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2859167734785972585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79980674827681792,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2932080641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:59] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:49:59] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-22 09:49:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,160,186,45,64,237,62,39,10,66,104,37,22,1,240,227,31,4,113,205,105,216,36,239,47,2,51,7,35],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:49:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:49:59] 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-22 09:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567294464001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567294464001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:49:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:49:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567294464001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":162258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:49:59] local.INFO: GPS data processed {"connection_id":162258,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:49:59] local.INFO: Acknowledgment sent {"connection_id":162258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:50:26] local.INFO: TCP Data received {"connection_id":159685,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:50:26] local.INFO: Processing buffer {"connection_id":159685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:50:26] local.INFO: Packet analysis {"connection_id":159685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:50:26] local.INFO: Extracted packet for processing {"connection_id":159685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:50:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567200000001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50: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-22 09:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787372177000,"timestamp_ms":1787372177000,"timestamp_seconds":1787372177,"priority":1,"record_length":96,"hex_timestamp":"000001a027af0668"} 
[2026-08-22 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-22 09:50: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-22 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:50: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-22 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-22 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-22 09:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567200000001,"66":25832,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567200000001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:50:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:50:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567200000001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":159685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:50:26] local.INFO: GPS data processed {"connection_id":159685,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:50:26] local.INFO: Acknowledgment sent {"connection_id":159685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:50:30] local.INFO: TCP Data received {"connection_id":162258,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b0b030012d196940071fedd8003e011c26..."} 
[2026-08-22 09:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b0b030012d196940071fedd8003e011c26..."} 
[2026-08-22 09:50:30] local.INFO: Processing buffer {"connection_id":162258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b0b030012d196940071fedd8003e011c26..."} 
[2026-08-22 09:50:30] local.INFO: Packet analysis {"connection_id":162258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b0"} 
[2026-08-22 09:50:30] local.INFO: Extracted packet for processing {"connection_id":162258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b0"} 
[2026-08-22 09:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567299840001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50: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-22 09:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787372286000,"timestamp_ms":1787372286000,"timestamp_seconds":1787372286,"priority":1,"record_length":96,"hex_timestamp":"000001a027b0b030"} 
[2026-08-22 09: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-22 09:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:50:30] 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-22 09: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-22 09: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-22 09:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:50:30] 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-22 09:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567299840001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567299840001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:50:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:50:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567299840001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":162258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:50:30] local.INFO: GPS data processed {"connection_id":162258,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:50:30] local.INFO: Acknowledgment sent {"connection_id":162258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:50:53] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:50:53] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:50:53] local.INFO: IMEI packet received {"connection_id":159944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":159944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:50:54] local.INFO: TCP Data received {"connection_id":159943,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:50:54] local.INFO: Processing buffer {"connection_id":159943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:50:54] local.INFO: IMEI packet received {"connection_id":159943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":159943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:50:56] local.INFO: TCP Data received {"connection_id":159686,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:50:56] local.INFO: Processing buffer {"connection_id":159686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 09:50:56] local.INFO: IMEI packet received {"connection_id":159686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 09:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":159686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:50:58] local.INFO: TCP Data received {"connection_id":159686,"ip":"42.109.136.0","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-22 09:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159686,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-22 09:50:58] local.INFO: Processing buffer {"connection_id":159686,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-22 09:50:58] local.INFO: IMEI packet received {"connection_id":159686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 09:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":159686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:50:58] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:50:58] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:50:58] local.INFO: IMEI packet received {"connection_id":159944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":159944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:50:59] local.INFO: TCP Data received {"connection_id":160839,"ip":"194.165.16.161","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-22 09:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160839,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-22 09:50:59] local.INFO: Processing buffer {"connection_id":160839,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-22 09:50:59] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":160839,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-08-22 09:50:59] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b10238012d196940071fedd8003e011c26..."} 
[2026-08-22 09:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b10238012d196940071fedd8003e011c26..."} 
[2026-08-22 09:50:59] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b10238012d196940071fedd8003e011c26..."} 
[2026-08-22 09:50:59] local.INFO: Packet analysis {"connection_id":159944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b1"} 
[2026-08-22 09:50:59] local.INFO: Extracted packet for processing {"connection_id":159944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b1"} 
[2026-08-22 09:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567305216001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50: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-22 09:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787372307000,"timestamp_ms":1787372307000,"timestamp_seconds":1787372307,"priority":1,"record_length":96,"hex_timestamp":"000001a027b10238"} 
[2026-08-22 09: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-22 09:50:59] 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-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2859348123412404585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79980674827681792,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2942832641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832590,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:50:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:50:59] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,160,94,45,64,237,62,39,10,66,12,38,186,1,240,255,227,31,4,113,205,22,105,216,37,239,48,2,51,7,36],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:50:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:50:59] 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-22 09:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567305216001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567305216001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:50:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567305216001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":159944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:50:59] local.INFO: GPS data processed {"connection_id":159944,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:50:59] local.INFO: Acknowledgment sent {"connection_id":159944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:50:59] local.INFO: TCP Data received {"connection_id":159943,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:50:59] local.INFO: Processing buffer {"connection_id":159943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:50:59] local.INFO: IMEI packet received {"connection_id":159943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":159943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:51:00] local.INFO: TCP Data received {"connection_id":159943,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:51:00] local.INFO: Processing buffer {"connection_id":159943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:51:00] local.INFO: Packet analysis {"connection_id":159943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:51:00] local.INFO: Extracted packet for processing {"connection_id":159943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567200000001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:51: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-22 09:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787372177000,"timestamp_ms":1787372177000,"timestamp_seconds":1787372177,"priority":1,"record_length":96,"hex_timestamp":"000001a027af0668"} 
[2026-08-22 09: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-22 09:51: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-22 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:51: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-22 09: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-22 09: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-22 09:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567200000001,"66":25832,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567200000001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:51:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567200000001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":159943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:51:00] local.INFO: GPS data processed {"connection_id":159943,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:51:00] local.INFO: Acknowledgment sent {"connection_id":159943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:51:30] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b15440012d196940071fedd8003e011c26..."} 
[2026-08-22 09:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b15440012d196940071fedd8003e011c26..."} 
[2026-08-22 09:51:30] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b15440012d196940071fedd8003e011c26..."} 
[2026-08-22 09:51:30] local.INFO: Packet analysis {"connection_id":159944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b1"} 
[2026-08-22 09:51:30] local.INFO: Extracted packet for processing {"connection_id":159944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b1"} 
[2026-08-22 09:51:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567310592001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:51: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-22 09:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787372328000,"timestamp_ms":1787372328000,"timestamp_seconds":1787372328,"priority":1,"record_length":96,"hex_timestamp":"000001a027b15440"} 
[2026-08-22 09: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-22 09:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:51:30] 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-22 09: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-22 09: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-22 09:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:51:30] 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-22 09:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567310592001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567310592001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:51:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:51:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567310592001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":159944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:51:30] local.INFO: GPS data processed {"connection_id":159944,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:51:30] local.INFO: Acknowledgment sent {"connection_id":159944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:51:31] local.INFO: TCP Data received {"connection_id":159943,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:51:31] local.INFO: Processing buffer {"connection_id":159943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:51:31] local.INFO: Packet analysis {"connection_id":159943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:51:31] local.INFO: Extracted packet for processing {"connection_id":159943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:51:31] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567200000001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09:51:31] 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-22 09:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787372177000,"timestamp_ms":1787372177000,"timestamp_seconds":1787372177,"priority":1,"record_length":96,"hex_timestamp":"000001a027af0668"} 
[2026-08-22 09: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-22 09:51: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-22 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 09:51: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-22 09: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-22 09: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-22 09:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567200000001,"66":25832,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567200000001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:51:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:51:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567200000001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":159943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:51:31] local.INFO: GPS data processed {"connection_id":159943,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:51:31] local.INFO: Acknowledgment sent {"connection_id":159943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:51:49] local.INFO: TCP Data received {"connection_id":159687,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:51:49] local.INFO: Processing buffer {"connection_id":159687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:51:49] local.INFO: IMEI packet received {"connection_id":159687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":159687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:51:53] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:51:53] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:51:53] local.INFO: IMEI packet received {"connection_id":159945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":159945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:51:53] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:51:53] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:51:53] local.INFO: IMEI packet received {"connection_id":159945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":159945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:51:54] local.INFO: TCP Data received {"connection_id":159687,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:51:54] local.INFO: Processing buffer {"connection_id":159687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:51:54] local.INFO: IMEI packet received {"connection_id":159687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":159687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:51:55] local.INFO: TCP Data received {"connection_id":159687,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:51:55] local.INFO: Processing buffer {"connection_id":159687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027af0668012d7f88c005afdea8000000d824..."} 
[2026-08-22 09:51:55] local.INFO: Packet analysis {"connection_id":159687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:51:55] local.INFO: Extracted packet for processing {"connection_id":159687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027af"} 
[2026-08-22 09:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567200000001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307452928,"note":"Value kept but may cause issues"} 
[2026-08-22 09: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-22 09:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787372177000,"timestamp_ms":1787372177000,"timestamp_seconds":1787372177,"priority":1,"record_length":96,"hex_timestamp":"000001a027af0668"} 
[2026-08-22 09: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-22 09:51: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-22 09: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-22 09: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-22 09: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-22 09: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-22 09:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567200000001,"66":25832,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307452928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567200000001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:51:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:51:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307452928,"description":"Unknown IO ID 45"} 
[2026-08-22 09:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567200000001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307452928}} 
[2026-08-22 09:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":159687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:51:55] local.INFO: GPS data processed {"connection_id":159687,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:51:55] local.INFO: Acknowledgment sent {"connection_id":159687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:51:58] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:51:58] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:51:58] local.INFO: IMEI packet received {"connection_id":159945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":159945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:51:59] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b1a648012d196940071fedd8003e011c26..."} 
[2026-08-22 09:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b1a648012d196940071fedd8003e011c26..."} 
[2026-08-22 09:51:59] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b1a648012d196940071fedd8003e011c26..."} 
[2026-08-22 09:51:59] local.INFO: Packet analysis {"connection_id":159945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b1"} 
[2026-08-22 09:51:59] local.INFO: Extracted packet for processing {"connection_id":159945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b1"} 
[2026-08-22 09:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567315968001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:51: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-22 09:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787372349000,"timestamp_ms":1787372349000,"timestamp_seconds":1787372349,"priority":1,"record_length":96,"hex_timestamp":"000001a027b1a648"} 
[2026-08-22 09: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-22 09:51:59] 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-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:51:59] 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-22 09:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567315968001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567315968001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:51:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:51:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567315968001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":159945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:51:59] local.INFO: GPS data processed {"connection_id":159945,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:51:59] local.INFO: Acknowledgment sent {"connection_id":159945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:52:26] local.INFO: TCP Data received {"connection_id":159687,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:52:26] local.INFO: Processing buffer {"connection_id":159687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:52:26] local.INFO: Packet analysis {"connection_id":159687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:52:26] local.INFO: Extracted packet for processing {"connection_id":159687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:52:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567277312001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52: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-22 09:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787372478000,"timestamp_ms":1787372478000,"timestamp_seconds":1787372478,"priority":1,"record_length":96,"hex_timestamp":"000001a027b39e30"} 
[2026-08-22 09:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:52: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-22 09:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 09:52: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-22 09:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567277312001,"66":25647,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567277312001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:52:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 09:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567277312001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 09:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":159687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:52:26] local.INFO: GPS data processed {"connection_id":159687,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:52:26] local.INFO: Acknowledgment sent {"connection_id":159687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:52:30] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b1f850012d196940071fedd8003e011c25..."} 
[2026-08-22 09:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b1f850012d196940071fedd8003e011c25..."} 
[2026-08-22 09:52:30] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b1f850012d196940071fedd8003e011c25..."} 
[2026-08-22 09:52:30] local.INFO: Packet analysis {"connection_id":159945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b1"} 
[2026-08-22 09:52:30] local.INFO: Extracted packet for processing {"connection_id":159945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b1"} 
[2026-08-22 09:52:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567321344001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52: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-22 09:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787372370000,"timestamp_ms":1787372370000,"timestamp_seconds":1787372370,"priority":1,"record_length":96,"hex_timestamp":"000001a027b1f850"} 
[2026-08-22 09: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-22 09:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2859618706352052585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79981774339309568,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:30] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2958960641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:52:30] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,160,84,45,64,237,62,38,10,66,2,176,1,240,227,39,31,4,113,205,12,105,216,239,48,51,7,37],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:52:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:52:30] 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-22 09:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567321344001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567321344001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:52:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:52:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567321344001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":159945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:52:30] local.INFO: GPS data processed {"connection_id":159945,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:52:30] local.INFO: Acknowledgment sent {"connection_id":159945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:52:49] local.INFO: TCP Data received {"connection_id":162260,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:52:49] local.INFO: Processing buffer {"connection_id":162260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:52:49] local.INFO: IMEI packet received {"connection_id":162260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":162260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:52:53] local.INFO: TCP Data received {"connection_id":162261,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:52:53] local.INFO: Processing buffer {"connection_id":162261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:52:53] local.INFO: IMEI packet received {"connection_id":162261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":162261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:52:54] local.INFO: TCP Data received {"connection_id":162260,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:52:54] local.INFO: Processing buffer {"connection_id":162260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:52:54] local.INFO: IMEI packet received {"connection_id":162260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":162260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:52:55] local.INFO: TCP Data received {"connection_id":162260,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:52:55] local.INFO: Processing buffer {"connection_id":162260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:52:55] local.INFO: Packet analysis {"connection_id":162260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:52:55] local.INFO: Extracted packet for processing {"connection_id":162260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:52:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567277312001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52: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-22 09:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787372478000,"timestamp_ms":1787372478000,"timestamp_seconds":1787372478,"priority":1,"record_length":96,"hex_timestamp":"000001a027b39e30"} 
[2026-08-22 09: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-22 09: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-22 09: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":232,"data_length":795,"current_offset":136} 
[2026-08-22 09:52:55] 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-22 09: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-22 09: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-22 09:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567277312001,"66":25647,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567277312001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:52:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:52:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 09:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567277312001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 09:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":162260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:52:55] local.INFO: GPS data processed {"connection_id":162260,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:52:55] local.INFO: Acknowledgment sent {"connection_id":162260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:52:57] local.INFO: TCP Data received {"connection_id":162261,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:52:57] local.INFO: Processing buffer {"connection_id":162261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:52:57] local.INFO: IMEI packet received {"connection_id":162261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":162261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:52:58] local.INFO: TCP Data received {"connection_id":162261,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:52:58] local.INFO: Processing buffer {"connection_id":162261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:52:58] local.INFO: IMEI packet received {"connection_id":162261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":162261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:52:59] local.INFO: TCP Data received {"connection_id":162261,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b24a58012d196940071fedd8003e011c26..."} 
[2026-08-22 09:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b24a58012d196940071fedd8003e011c26..."} 
[2026-08-22 09:52:59] local.INFO: Processing buffer {"connection_id":162261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b24a58012d196940071fedd8003e011c26..."} 
[2026-08-22 09:52:59] local.INFO: Packet analysis {"connection_id":162261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b2"} 
[2026-08-22 09:52:59] local.INFO: Extracted packet for processing {"connection_id":162261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b2"} 
[2026-08-22 09:52:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567326720001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52: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-22 09:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787372391000,"timestamp_ms":1787372391000,"timestamp_seconds":1787372391,"priority":1,"record_length":96,"hex_timestamp":"000001a027b24a58"} 
[2026-08-22 09: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-22 09:52:59] 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-22 09:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2859708900665268585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79980674827681792,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:52:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:52:59] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,160,166,45,64,237,62,38,10,66,84,2,1,240,31,227,39,4,113,205,94,105,216,239,48,51,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:52:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883250567610368,"timestamp_seconds":4467883250567610.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:52:59] 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-22 09:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567326720001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567326720001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:52:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:52:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567326720001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":162261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:52:59] local.INFO: GPS data processed {"connection_id":162261,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:52:59] local.INFO: Acknowledgment sent {"connection_id":162261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:53:26] local.INFO: TCP Data received {"connection_id":162260,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:53:26] local.INFO: Processing buffer {"connection_id":162260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:53:26] local.INFO: Packet analysis {"connection_id":162260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:53:26] local.INFO: Extracted packet for processing {"connection_id":162260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567277312001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53: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-22 09:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787372478000,"timestamp_ms":1787372478000,"timestamp_seconds":1787372478,"priority":1,"record_length":96,"hex_timestamp":"000001a027b39e30"} 
[2026-08-22 09: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-22 09:53: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-22 09:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 09:53: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-22 09: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-22 09: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-22 09:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567277312001,"66":25647,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567277312001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:53:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 09:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567277312001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 09:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":162260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:53:26] local.INFO: GPS data processed {"connection_id":162260,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:53:26] local.INFO: Acknowledgment sent {"connection_id":162260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:53:30] local.INFO: TCP Data received {"connection_id":162261,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b29c60012d196940071fedd8003e011c25..."} 
[2026-08-22 09:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b29c60012d196940071fedd8003e011c25..."} 
[2026-08-22 09:53:30] local.INFO: Processing buffer {"connection_id":162261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b29c60012d196940071fedd8003e011c25..."} 
[2026-08-22 09:53:30] local.INFO: Packet analysis {"connection_id":162261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b2"} 
[2026-08-22 09:53:30] local.INFO: Extracted packet for processing {"connection_id":162261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b2"} 
[2026-08-22 09:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567332096001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53: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-22 09:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787372412000,"timestamp_ms":1787372412000,"timestamp_seconds":1787372412,"priority":1,"record_length":96,"hex_timestamp":"000001a027b29c60"} 
[2026-08-22 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-22 09:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2859799094978484585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79981774339309568,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:30] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2969712641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:53:30] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,160,248,45,64,237,62,37,10,66,166,38,84,1,240,31,227,39,4,113,205,176,105,216,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:53:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 09:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:53:30] 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-22 09:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567332096001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567332096001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:53:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:53:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567332096001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":162261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:53:30] local.INFO: GPS data processed {"connection_id":162261,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:53:30] local.INFO: Acknowledgment sent {"connection_id":162261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:53:49] local.INFO: TCP Data received {"connection_id":160841,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:53:49] local.INFO: Processing buffer {"connection_id":160841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:53:49] local.INFO: IMEI packet received {"connection_id":160841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":160841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:53:54] local.INFO: TCP Data received {"connection_id":160841,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:53:55] local.INFO: Processing buffer {"connection_id":160841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:53:55] local.INFO: IMEI packet received {"connection_id":160841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":160841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:53:56] local.INFO: TCP Data received {"connection_id":160841,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:53:56] local.INFO: Processing buffer {"connection_id":160841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:53:56] local.INFO: Packet analysis {"connection_id":160841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:53:56] local.INFO: Extracted packet for processing {"connection_id":160841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567277312001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:53: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-22 09:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787372478000,"timestamp_ms":1787372478000,"timestamp_seconds":1787372478,"priority":1,"record_length":96,"hex_timestamp":"000001a027b39e30"} 
[2026-08-22 09: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-22 09: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-22 09: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":232,"data_length":795,"current_offset":136} 
[2026-08-22 09:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567277312001,"66":25647,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567277312001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:53:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 09:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567277312001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 09:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":160841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:53:56] local.INFO: GPS data processed {"connection_id":160841,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:53:56] local.INFO: Acknowledgment sent {"connection_id":160841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:53:58] local.INFO: TCP Data received {"connection_id":159689,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:53:58] local.INFO: Processing buffer {"connection_id":159689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:53:58] local.INFO: IMEI packet received {"connection_id":159689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":159689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:53:59] local.INFO: TCP Data received {"connection_id":159689,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:53:59] local.INFO: Processing buffer {"connection_id":159689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:53:59] local.INFO: IMEI packet received {"connection_id":159689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":159689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:54:00] local.INFO: TCP Data received {"connection_id":159689,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b2ee68012d196940071fedd8003e011c26..."} 
[2026-08-22 09:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b2ee68012d196940071fedd8003e011c26..."} 
[2026-08-22 09:54:00] local.INFO: Processing buffer {"connection_id":159689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b2ee68012d196940071fedd8003e011c26..."} 
[2026-08-22 09:54:00] local.INFO: Packet analysis {"connection_id":159689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b2"} 
[2026-08-22 09:54:00] local.INFO: Extracted packet for processing {"connection_id":159689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b2"} 
[2026-08-22 09:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567337472001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787372433000,"timestamp_ms":1787372433000,"timestamp_seconds":1787372433,"priority":1,"record_length":96,"hex_timestamp":"000001a027b2ee68"} 
[2026-08-22 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-22 09:54:00] 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-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:54:00] 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-22 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-22 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-22 09:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:54:00] 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-22 09:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567337472001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567337472001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:54:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567337472001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":159689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:54:00] local.INFO: GPS data processed {"connection_id":159689,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:54:00] local.INFO: Acknowledgment sent {"connection_id":159689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:54:04] local.INFO: TCP Data received {"connection_id":159689,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b34070012d196940071fedd8003e011c24..."} 
[2026-08-22 09:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b34070012d196940071fedd8003e011c24..."} 
[2026-08-22 09:54:04] local.INFO: Processing buffer {"connection_id":159689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b34070012d196940071fedd8003e011c24..."} 
[2026-08-22 09:54:04] local.INFO: Packet analysis {"connection_id":159689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:54:04] local.INFO: Extracted packet for processing {"connection_id":159689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:54:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567342848001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787372454000,"timestamp_ms":1787372454000,"timestamp_seconds":1787372454,"priority":1,"record_length":96,"hex_timestamp":"000001a027b34070"} 
[2026-08-22 09: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-22 09:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:54:04] 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-22 09: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-22 09: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-22 09:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:54:04] 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-22 09:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567342848001,"66":12254,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567342848001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:54:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:54:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567342848001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":159689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:54:04] local.INFO: GPS data processed {"connection_id":159689,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:54:04] local.INFO: Acknowledgment sent {"connection_id":159689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:54:27] local.INFO: TCP Data received {"connection_id":160841,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:54:27] local.INFO: Processing buffer {"connection_id":160841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:54:27] local.INFO: Packet analysis {"connection_id":160841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:54:27] local.INFO: Extracted packet for processing {"connection_id":160841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567277312001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54: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-22 09:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787372478000,"timestamp_ms":1787372478000,"timestamp_seconds":1787372478,"priority":1,"record_length":96,"hex_timestamp":"000001a027b39e30"} 
[2026-08-22 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-22 09:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 09:54:27] 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-22 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-22 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-22 09:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567277312001,"66":25647,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567277312001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:54:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:54:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 09:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567277312001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 09:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":160841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:54:27] local.INFO: GPS data processed {"connection_id":160841,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:54:27] local.INFO: Acknowledgment sent {"connection_id":160841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:54:35] local.INFO: TCP Data received {"connection_id":159689,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b39278012d196940071fedd8003e011c25..."} 
[2026-08-22 09:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b39278012d196940071fedd8003e011c25..."} 
[2026-08-22 09:54:35] local.INFO: Processing buffer {"connection_id":159689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b39278012d196940071fedd8003e011c25..."} 
[2026-08-22 09:54:35] local.INFO: Packet analysis {"connection_id":159689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:54:35] local.INFO: Extracted packet for processing {"connection_id":159689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567348224001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 09:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787372475000,"timestamp_ms":1787372475000,"timestamp_seconds":1787372475,"priority":1,"record_length":96,"hex_timestamp":"000001a027b39278"} 
[2026-08-22 09: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-22 09:54: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-22 09: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-22 09:54:35] 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-22 09: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-22 09: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-22 09:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:54:35] 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-22 09:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567348224001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567348224001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:54:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567348224001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":159689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:54:35] local.INFO: GPS data processed {"connection_id":159689,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:54:35] local.INFO: Acknowledgment sent {"connection_id":159689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:54:53] local.INFO: TCP Data received {"connection_id":162262,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:54:53] local.INFO: Processing buffer {"connection_id":162262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:54:53] local.INFO: IMEI packet received {"connection_id":162262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":162262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:54:54] local.INFO: TCP Data received {"connection_id":162263,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:54:54] local.INFO: Processing buffer {"connection_id":162263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:54:54] local.INFO: IMEI packet received {"connection_id":162263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":162263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:54:58] local.INFO: TCP Data received {"connection_id":162262,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:54:58] local.INFO: Processing buffer {"connection_id":162262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:54:58] local.INFO: IMEI packet received {"connection_id":162262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":162262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:54:59] local.INFO: TCP Data received {"connection_id":162262,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b3e480012d196940071fedd8003e011c26..."} 
[2026-08-22 09:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b3e480012d196940071fedd8003e011c26..."} 
[2026-08-22 09:54:59] local.INFO: Processing buffer {"connection_id":162262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b3e480012d196940071fedd8003e011c26..."} 
[2026-08-22 09:54:59] local.INFO: Packet analysis {"connection_id":162262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:54:59] local.INFO: Extracted packet for processing {"connection_id":162262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 09:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567353600001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54: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-22 09:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787372496000,"timestamp_ms":1787372496000,"timestamp_seconds":1787372496,"priority":1,"record_length":96,"hex_timestamp":"000001a027b3e480"} 
[2026-08-22 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-22 09:54:59] 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-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2860159872231348585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79980674827681792,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832590,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2991216641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:54:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:54:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,160,64,45,237,62,36,10,66,238,38,156,1,240,31,227,39,4,113,205,248,105,216,37,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:54:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883250567610368,"timestamp_seconds":4467883250567610.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 09:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:54:59] 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-22 09:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567353600001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567353600001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:54:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:54:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567353600001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":162262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:54:59] local.INFO: GPS data processed {"connection_id":162262,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:54:59] local.INFO: Acknowledgment sent {"connection_id":162262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:54:59] local.INFO: TCP Data received {"connection_id":162263,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:54:59] local.INFO: Processing buffer {"connection_id":162263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:54:59] local.INFO: IMEI packet received {"connection_id":162263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":162263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:55:00] local.INFO: TCP Data received {"connection_id":162263,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:55:00] local.INFO: Processing buffer {"connection_id":162263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:55:00] local.INFO: Packet analysis {"connection_id":162263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:55:00] local.INFO: Extracted packet for processing {"connection_id":162263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567277312001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:55: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-22 09:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787372478000,"timestamp_ms":1787372478000,"timestamp_seconds":1787372478,"priority":1,"record_length":96,"hex_timestamp":"000001a027b39e30"} 
[2026-08-22 09:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:55: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-22 09:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 09:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567277312001,"66":25647,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567277312001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:55:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 09:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567277312001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 09:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":162263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:55:00] local.INFO: GPS data processed {"connection_id":162263,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:55:00] local.INFO: Acknowledgment sent {"connection_id":162263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:55:05] local.INFO: TCP Data received {"connection_id":162263,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:55:05] local.INFO: Processing buffer {"connection_id":162263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:55:05] local.INFO: Packet analysis {"connection_id":162263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:55:05] local.INFO: Extracted packet for processing {"connection_id":162263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:55:05] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567277312001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:55:05] 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-22 09:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787372478000,"timestamp_ms":1787372478000,"timestamp_seconds":1787372478,"priority":1,"record_length":96,"hex_timestamp":"000001a027b39e30"} 
[2026-08-22 09:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:55: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-22 09:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 09:55: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-22 09:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567277312001,"66":25647,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567277312001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:55:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:55:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 09:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567277312001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 09:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":162263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:55:05] local.INFO: GPS data processed {"connection_id":162263,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:55:05] local.INFO: Acknowledgment sent {"connection_id":162263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:55:30] local.INFO: TCP Data received {"connection_id":162262,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b43688012d196940071fedd8003e011c26..."} 
[2026-08-22 09:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b43688012d196940071fedd8003e011c26..."} 
[2026-08-22 09:55:30] local.INFO: Processing buffer {"connection_id":162262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b43688012d196940071fedd8003e011c26..."} 
[2026-08-22 09:55:30] local.INFO: Packet analysis {"connection_id":162262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b4"} 
[2026-08-22 09:55:30] local.INFO: Extracted packet for processing {"connection_id":162262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b4"} 
[2026-08-22 09:55:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567358976001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:55: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-22 09:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787372517000,"timestamp_ms":1787372517000,"timestamp_seconds":1787372517,"priority":1,"record_length":96,"hex_timestamp":"000001a027b43688"} 
[2026-08-22 09: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-22 09:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:55:30] 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-22 09: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-22 09: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-22 09:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:55:30] 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-22 09:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567358976001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567358976001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:55:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567358976001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":162262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:55:30] local.INFO: GPS data processed {"connection_id":162262,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:55:30] local.INFO: Acknowledgment sent {"connection_id":162262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:55:49] local.INFO: TCP Data received {"connection_id":159690,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:55:49] local.INFO: Processing buffer {"connection_id":159690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:55:49] local.INFO: IMEI packet received {"connection_id":159690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":159690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:55:53] local.INFO: TCP Data received {"connection_id":160842,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:55:53] local.INFO: Processing buffer {"connection_id":160842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:55:53] local.INFO: IMEI packet received {"connection_id":160842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":160842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:55:54] local.INFO: TCP Data received {"connection_id":159690,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:55:54] local.INFO: Processing buffer {"connection_id":159690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:55:54] local.INFO: IMEI packet received {"connection_id":159690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":159690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:55:55] local.INFO: TCP Data received {"connection_id":159690,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:55:55] local.INFO: Processing buffer {"connection_id":159690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:55:55] local.INFO: Packet analysis {"connection_id":159690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:55:55] local.INFO: Extracted packet for processing {"connection_id":159690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:55:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567277312001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:55: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-22 09:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787372478000,"timestamp_ms":1787372478000,"timestamp_seconds":1787372478,"priority":1,"record_length":96,"hex_timestamp":"000001a027b39e30"} 
[2026-08-22 09:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:55: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-22 09:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 09:55:55] 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-22 09:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567277312001,"66":25647,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567277312001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:55:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:55:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 09:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567277312001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 09:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":159690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:55:55] local.INFO: GPS data processed {"connection_id":159690,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:55:55] local.INFO: Acknowledgment sent {"connection_id":159690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:55:58] local.INFO: TCP Data received {"connection_id":160842,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:55:58] local.INFO: Processing buffer {"connection_id":160842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:55:58] local.INFO: IMEI packet received {"connection_id":160842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":160842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:55:59] local.INFO: TCP Data received {"connection_id":160842,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b48890012d196940071fedd8003e011c26..."} 
[2026-08-22 09:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b48890012d196940071fedd8003e011c26..."} 
[2026-08-22 09:55:59] local.INFO: Processing buffer {"connection_id":160842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b48890012d196940071fedd8003e011c26..."} 
[2026-08-22 09:55:59] local.INFO: Packet analysis {"connection_id":160842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b4"} 
[2026-08-22 09:55:59] local.INFO: Extracted packet for processing {"connection_id":160842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b4"} 
[2026-08-22 09:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567364352001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09: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-22 09:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787372538000,"timestamp_ms":1787372538000,"timestamp_seconds":1787372538,"priority":1,"record_length":96,"hex_timestamp":"000001a027b48890"} 
[2026-08-22 09: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-22 09:55:59] 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-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:55:59] 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-22 09: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-22 09: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-22 09:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:55:59] 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-22 09:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567364352001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567364352001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:55:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567364352001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":160842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:55:59] local.INFO: GPS data processed {"connection_id":160842,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:55:59] local.INFO: Acknowledgment sent {"connection_id":160842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:56:26] local.INFO: TCP Data received {"connection_id":159690,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:56:26] local.INFO: Processing buffer {"connection_id":159690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:56:26] local.INFO: Packet analysis {"connection_id":159690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:56:26] local.INFO: Extracted packet for processing {"connection_id":159690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:56:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567277312001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56: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-22 09:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787372478000,"timestamp_ms":1787372478000,"timestamp_seconds":1787372478,"priority":1,"record_length":96,"hex_timestamp":"000001a027b39e30"} 
[2026-08-22 09: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-22 09:56: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-22 09: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 09:56: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-22 09: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-22 09: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-22 09:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567277312001,"66":25647,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567277312001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:56:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 09:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567277312001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 09:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":159690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:56:26] local.INFO: GPS data processed {"connection_id":159690,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:56:26] local.INFO: Acknowledgment sent {"connection_id":159690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:56:30] local.INFO: TCP Data received {"connection_id":160842,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b4da98012d196940071fedd8003e011c26..."} 
[2026-08-22 09:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b4da98012d196940071fedd8003e011c26..."} 
[2026-08-22 09:56:30] local.INFO: Processing buffer {"connection_id":160842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b4da98012d196940071fedd8003e011c26..."} 
[2026-08-22 09:56:30] local.INFO: Packet analysis {"connection_id":160842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b4"} 
[2026-08-22 09:56:30] local.INFO: Extracted packet for processing {"connection_id":160842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b4"} 
[2026-08-22 09:56:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567369728001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56: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-22 09:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787372559000,"timestamp_ms":1787372559000,"timestamp_seconds":1787372559,"priority":1,"record_length":96,"hex_timestamp":"000001a027b4da98"} 
[2026-08-22 09: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-22 09:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2860430455170996585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79979575316054016,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:30] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3007344641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:56:30] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,160,54,45,64,237,62,38,10,66,228,146,1,240,227,39,31,4,113,205,238,105,216,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:56:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 09: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-22 09:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:56:30] 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-22 09:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567369728001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567369728001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:56:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:56:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567369728001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":160842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:56:30] local.INFO: GPS data processed {"connection_id":160842,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:56:30] local.INFO: Acknowledgment sent {"connection_id":160842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:56:49] local.INFO: TCP Data received {"connection_id":162264,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:56:49] local.INFO: Processing buffer {"connection_id":162264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:56:49] local.INFO: IMEI packet received {"connection_id":162264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":162264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:56:53] local.INFO: TCP Data received {"connection_id":159691,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:56:53] local.INFO: Processing buffer {"connection_id":159691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:56:53] local.INFO: IMEI packet received {"connection_id":159691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":159691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:56:54] local.INFO: TCP Data received {"connection_id":162264,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:56:54] local.INFO: Processing buffer {"connection_id":162264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:56:54] local.INFO: IMEI packet received {"connection_id":162264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":162264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:56:55] local.INFO: TCP Data received {"connection_id":162264,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:56:55] local.INFO: Processing buffer {"connection_id":162264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b39e30012d7f88c005afdea8000000d821..."} 
[2026-08-22 09:56:55] local.INFO: Packet analysis {"connection_id":162264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:56:55] local.INFO: Extracted packet for processing {"connection_id":162264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b3"} 
[2026-08-22 09:56:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567277312001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56: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-22 09:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787372478000,"timestamp_ms":1787372478000,"timestamp_seconds":1787372478,"priority":1,"record_length":96,"hex_timestamp":"000001a027b39e30"} 
[2026-08-22 09: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-22 09: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-22 09: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":232,"data_length":795,"current_offset":136} 
[2026-08-22 09:56:55] 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-22 09: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-22 09: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-22 09:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567277312001,"66":25647,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567277312001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:56:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:56:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 09:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567277312001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 09:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":162264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:56:55] local.INFO: GPS data processed {"connection_id":162264,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:56:55] local.INFO: Acknowledgment sent {"connection_id":162264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:56:58] local.INFO: TCP Data received {"connection_id":159691,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:56:58] local.INFO: Processing buffer {"connection_id":159691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:56:58] local.INFO: IMEI packet received {"connection_id":159691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":159691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:56:59] local.INFO: TCP Data received {"connection_id":159691,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b52ca0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b52ca0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:56:59] local.INFO: Processing buffer {"connection_id":159691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b52ca0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:56:59] local.INFO: Packet analysis {"connection_id":159691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b5"} 
[2026-08-22 09:56:59] local.INFO: Extracted packet for processing {"connection_id":159691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b5"} 
[2026-08-22 09:56:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567375104001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:56: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-22 09:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787372580000,"timestamp_ms":1787372580000,"timestamp_seconds":1787372580,"priority":1,"record_length":96,"hex_timestamp":"000001a027b52ca0"} 
[2026-08-22 09: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-22 09:56:59] 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-22 09:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:56:59] 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-22 09:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567375104001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567375104001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:56:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:56:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567375104001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":159691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:56:59] local.INFO: GPS data processed {"connection_id":159691,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:56:59] local.INFO: Acknowledgment sent {"connection_id":159691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:57:26] local.INFO: TCP Data received {"connection_id":162264,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 09:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 09:57:26] local.INFO: Processing buffer {"connection_id":162264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 09:57:26] local.INFO: Packet analysis {"connection_id":162264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 09:57:26] local.INFO: Extracted packet for processing {"connection_id":162264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 09:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567354368001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57: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-22 09:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787372780000,"timestamp_ms":1787372780000,"timestamp_seconds":1787372780,"priority":1,"record_length":96,"hex_timestamp":"000001a027b839e0"} 
[2026-08-22 09: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-22 09:57: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-22 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 09:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567354368001,"66":25625,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567354368001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:57:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 09:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567354368001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 09:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":162264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:57:26] local.INFO: GPS data processed {"connection_id":162264,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:57:26] local.INFO: Acknowledgment sent {"connection_id":162264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:57:30] local.INFO: TCP Data received {"connection_id":159691,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b57ea8012d196940071fedd8003e011c25..."} 
[2026-08-22 09:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b57ea8012d196940071fedd8003e011c25..."} 
[2026-08-22 09:57:30] local.INFO: Processing buffer {"connection_id":159691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b57ea8012d196940071fedd8003e011c25..."} 
[2026-08-22 09:57:30] local.INFO: Packet analysis {"connection_id":159691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b5"} 
[2026-08-22 09:57:30] local.INFO: Extracted packet for processing {"connection_id":159691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b5"} 
[2026-08-22 09:57:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567380480001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57: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-22 09:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787372601000,"timestamp_ms":1787372601000,"timestamp_seconds":1787372601,"priority":1,"record_length":96,"hex_timestamp":"000001a027b57ea8"} 
[2026-08-22 09: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-22 09:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2860610843797428585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79978475804426240,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832590,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100625102,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:30] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3018096641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:57:30] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,218,45,64,237,62,38,10,66,136,54,1,240,255,227,39,31,4,113,205,146,105,216,37,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:57:30] 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-22 09: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-22 09:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:57:30] 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-22 09:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567380480001,"66":12341,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567380480001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:57:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:57:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567380480001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":159691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:57:30] local.INFO: GPS data processed {"connection_id":159691,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:57:30] local.INFO: Acknowledgment sent {"connection_id":159691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:57:49] local.INFO: TCP Data received {"connection_id":159946,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:57:49] local.INFO: Processing buffer {"connection_id":159946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:57:49] local.INFO: IMEI packet received {"connection_id":159946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":159946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:57:53] local.INFO: TCP Data received {"connection_id":162265,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:57:53] local.INFO: Processing buffer {"connection_id":162265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:57:53] local.INFO: IMEI packet received {"connection_id":162265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":162265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:57:54] local.INFO: TCP Data received {"connection_id":159946,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:57:54] local.INFO: Processing buffer {"connection_id":159946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:57:54] local.INFO: IMEI packet received {"connection_id":159946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":159946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:57:55] local.INFO: TCP Data received {"connection_id":159946,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 09:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 09:57:55] local.INFO: Processing buffer {"connection_id":159946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 09:57:55] local.INFO: Packet analysis {"connection_id":159946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 09:57:55] local.INFO: Extracted packet for processing {"connection_id":159946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 09:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567354368001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57: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-22 09:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787372780000,"timestamp_ms":1787372780000,"timestamp_seconds":1787372780,"priority":1,"record_length":96,"hex_timestamp":"000001a027b839e0"} 
[2026-08-22 09: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-22 09:57: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-22 09:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 09:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567354368001,"66":25625,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567354368001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:57:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:57:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 09:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567354368001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 09:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":159946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:57:55] local.INFO: GPS data processed {"connection_id":159946,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:57:55] local.INFO: Acknowledgment sent {"connection_id":159946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:57:58] local.INFO: TCP Data received {"connection_id":162265,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:57:58] local.INFO: Processing buffer {"connection_id":162265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:57:58] local.INFO: IMEI packet received {"connection_id":162265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":162265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:57:59] local.INFO: TCP Data received {"connection_id":162265,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b5d0b0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b5d0b0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:57:59] local.INFO: Processing buffer {"connection_id":162265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b5d0b0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:57:59] local.INFO: Packet analysis {"connection_id":162265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b5"} 
[2026-08-22 09:57:59] local.INFO: Extracted packet for processing {"connection_id":162265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b5"} 
[2026-08-22 09:57:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567385856001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:57: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-22 09:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787372622000,"timestamp_ms":1787372622000,"timestamp_seconds":1787372622,"priority":1,"record_length":96,"hex_timestamp":"000001a027b5d0b0"} 
[2026-08-22 09: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-22 09:57:59] 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-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 09:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:57:59] 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-22 09:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567385856001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567385856001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:57:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:57:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567385856001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":162265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:57:59] local.INFO: GPS data processed {"connection_id":162265,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:57:59] local.INFO: Acknowledgment sent {"connection_id":162265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:58:26] local.INFO: TCP Data received {"connection_id":159946,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 09:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 09:58:26] local.INFO: Processing buffer {"connection_id":159946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 09:58:26] local.INFO: Packet analysis {"connection_id":159946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 09:58:26] local.INFO: Extracted packet for processing {"connection_id":159946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 09:58:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567354368001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58: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-22 09:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787372780000,"timestamp_ms":1787372780000,"timestamp_seconds":1787372780,"priority":1,"record_length":96,"hex_timestamp":"000001a027b839e0"} 
[2026-08-22 09: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-22 09:58: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-22 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 09:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09: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-22 09: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-22 09:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567354368001,"66":25625,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567354368001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:58:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 09:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567354368001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 09:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":159946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:58:26] local.INFO: GPS data processed {"connection_id":159946,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:58:26] local.INFO: Acknowledgment sent {"connection_id":159946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:58:30] local.INFO: TCP Data received {"connection_id":162265,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b622b8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b622b8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:58:30] local.INFO: Processing buffer {"connection_id":162265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b622b8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:58:30] local.INFO: Packet analysis {"connection_id":162265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b6"} 
[2026-08-22 09:58:30] local.INFO: Extracted packet for processing {"connection_id":162265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b6"} 
[2026-08-22 09:58:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567391232001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58: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-22 09:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787372643000,"timestamp_ms":1787372643000,"timestamp_seconds":1787372643,"priority":1,"record_length":96,"hex_timestamp":"000001a027b622b8"} 
[2026-08-22 09: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-22 09:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 09:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2860791232423860585,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79980674827681792,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832590,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:30] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3028848641,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 09:58:30] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:30] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:30] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,160,126,45,64,237,62,37,10,66,44,39,218,1,240,31,227,4,113,205,54,105,216,38,239,47,2,51,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 09:58:30] 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-22 09: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-22 09:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:58:30] 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-22 09:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567391232001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567391232001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:58:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:58:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567391232001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":162265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:58:30] local.INFO: GPS data processed {"connection_id":162265,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:58:30] local.INFO: Acknowledgment sent {"connection_id":162265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:58:49] local.INFO: TCP Data received {"connection_id":159692,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:58:49] local.INFO: Processing buffer {"connection_id":159692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:58:49] local.INFO: IMEI packet received {"connection_id":159692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":159692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:58:53] local.INFO: TCP Data received {"connection_id":159693,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:58:53] local.INFO: Processing buffer {"connection_id":159693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:58:53] local.INFO: IMEI packet received {"connection_id":159693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":159693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:58:53] local.INFO: TCP Data received {"connection_id":159693,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:58:53] local.INFO: Processing buffer {"connection_id":159693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:58:53] local.INFO: IMEI packet received {"connection_id":159693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":159693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:58:54] local.INFO: TCP Data received {"connection_id":159692,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:58:54] local.INFO: Processing buffer {"connection_id":159692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:58:54] local.INFO: IMEI packet received {"connection_id":159692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":159692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:58:55] local.INFO: TCP Data received {"connection_id":159692,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 09:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 09:58:55] local.INFO: Processing buffer {"connection_id":159692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 09:58:55] local.INFO: Packet analysis {"connection_id":159692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 09:58:55] local.INFO: Extracted packet for processing {"connection_id":159692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 09:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567354368001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58: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-22 09:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787372780000,"timestamp_ms":1787372780000,"timestamp_seconds":1787372780,"priority":1,"record_length":96,"hex_timestamp":"000001a027b839e0"} 
[2026-08-22 09: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-22 09:58: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-22 09: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-22 09: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-22 09: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-22 09: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-22 09:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567354368001,"66":25625,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567354368001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:58:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:58:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 09:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567354368001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 09:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":159692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:58:55] local.INFO: GPS data processed {"connection_id":159692,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:58:55] local.INFO: Acknowledgment sent {"connection_id":159692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:58:58] local.INFO: TCP Data received {"connection_id":159693,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:58:58] local.INFO: Processing buffer {"connection_id":159693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:58:58] local.INFO: IMEI packet received {"connection_id":159693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":159693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:58:59] local.INFO: TCP Data received {"connection_id":159693,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b674c0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b674c0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:58:59] local.INFO: Processing buffer {"connection_id":159693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b674c0012d196940071fedd8003e011c27..."} 
[2026-08-22 09:58:59] local.INFO: Packet analysis {"connection_id":159693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b6"} 
[2026-08-22 09:58:59] local.INFO: Extracted packet for processing {"connection_id":159693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b6"} 
[2026-08-22 09:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567396608001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:58: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-22 09:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787372664000,"timestamp_ms":1787372664000,"timestamp_seconds":1787372664,"priority":1,"record_length":96,"hex_timestamp":"000001a027b674c0"} 
[2026-08-22 09: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-22 09:58:59] 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-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 09:58:59] 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-22 09: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-22 09: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-22 09:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:58:59] 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-22 09:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567396608001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567396608001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:58:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:58:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567396608001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":159693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:58:59] local.INFO: GPS data processed {"connection_id":159693,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:58:59] local.INFO: Acknowledgment sent {"connection_id":159693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:59:26] local.INFO: TCP Data received {"connection_id":159692,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 09:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 09:59:26] local.INFO: Processing buffer {"connection_id":159692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 09:59:26] local.INFO: Packet analysis {"connection_id":159692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 09:59:26] local.INFO: Extracted packet for processing {"connection_id":159692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 09:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 09:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 09:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567354368001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 09:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 09:59: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-22 09:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787372780000,"timestamp_ms":1787372780000,"timestamp_seconds":1787372780,"priority":1,"record_length":96,"hex_timestamp":"000001a027b839e0"} 
[2026-08-22 09:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 09:59: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-22 09:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 09:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 09:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 09:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 09:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 09:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 09:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 09:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 09:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567354368001,"66":25625,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 09:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 09:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 09:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567354368001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:59:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 09:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 09:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 09:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567354368001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 09:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":159692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:59:26] local.INFO: GPS data processed {"connection_id":159692,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:59:26] local.INFO: Acknowledgment sent {"connection_id":159692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:59:30] local.INFO: TCP Data received {"connection_id":159693,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027b6c6c8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b6c6c8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:59:30] local.INFO: Processing buffer {"connection_id":159693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b6c6c8012d196940071fedd8003e011c26..."} 
[2026-08-22 09:59:30] local.INFO: Packet analysis {"connection_id":159693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b6"} 
[2026-08-22 09:59:30] local.INFO: Extracted packet for processing {"connection_id":159693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b6"} 
[2026-08-22 09:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 09: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-22 09:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567401984001,"note":"Value kept but may cause issues"} 
[2026-08-22 09:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 09:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 09:59: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-22 09:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787372685000,"timestamp_ms":1787372685000,"timestamp_seconds":1787372685,"priority":1,"record_length":96,"hex_timestamp":"000001a027b6c6c8"} 
[2026-08-22 09: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-22 09:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 09:59:30] 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-22 09: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-22 09: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-22 09:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 09:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 09:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 09:59:30] 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-22 09:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 09:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 09:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567401984001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 09:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 09:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 09:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567401984001,"description":"Unknown IO ID 0"} 
[2026-08-22 09:59:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 09:59:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 09:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 09:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 09:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567401984001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 09:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":159693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 09:59:30] local.INFO: GPS data processed {"connection_id":159693,"processed":1,"errors":0,"total":1} 
[2026-08-22 09:59:30] local.INFO: Acknowledgment sent {"connection_id":159693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 09:59:53] local.INFO: TCP Data received {"connection_id":159947,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:59:53] local.INFO: Processing buffer {"connection_id":159947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:59:53] local.INFO: IMEI packet received {"connection_id":159947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 09:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":159947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:59:54] local.INFO: TCP Data received {"connection_id":159694,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:59:54] local.INFO: Processing buffer {"connection_id":159694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:59:54] local.INFO: IMEI packet received {"connection_id":159694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 09:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":159694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 09:59:56] local.INFO: TCP Data received {"connection_id":159947,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:59:56] local.INFO: Processing buffer {"connection_id":159947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:59:56] local.INFO: IMEI packet received {"connection_id":159947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":159947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:59:59] local.INFO: TCP Data received {"connection_id":159947,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:59:59] local.INFO: Processing buffer {"connection_id":159947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 09:59:59] local.INFO: IMEI packet received {"connection_id":159947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 09:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":159947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 09:59:59] local.INFO: TCP Data received {"connection_id":159694,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:59:59] local.INFO: Processing buffer {"connection_id":159694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 09:59:59] local.INFO: IMEI packet received {"connection_id":159694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 09:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":159694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:00:00] local.INFO: TCP Data received {"connection_id":159947,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027ba4d20012d196940071fedd8003e011c25..."} 
[2026-08-22 10:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ba4d20012d196940071fedd8003e011c25..."} 
[2026-08-22 10:00:00] local.INFO: Processing buffer {"connection_id":159947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ba4d20012d196940071fedd8003e011c25..."} 
[2026-08-22 10:00:00] local.INFO: Packet analysis {"connection_id":159947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ba"} 
[2026-08-22 10:00:00] local.INFO: Extracted packet for processing {"connection_id":159947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ba"} 
[2026-08-22 10:00:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567461120001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787372916000,"timestamp_ms":1787372916000,"timestamp_seconds":1787372916,"priority":1,"record_length":96,"hex_timestamp":"000001a027ba4d20"} 
[2026-08-22 10: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-22 10:00:00] 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-22 10: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-22 10:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:00:00] 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-22 10:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567461120001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 10:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567461120001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:00:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 10:00:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 10:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567461120001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 10:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":159947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:00:00] local.INFO: GPS data processed {"connection_id":159947,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:00:00] local.INFO: Acknowledgment sent {"connection_id":159947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:00:01] local.INFO: TCP Data received {"connection_id":159694,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:00:01] local.INFO: Processing buffer {"connection_id":159694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:00:01] local.INFO: Packet analysis {"connection_id":159694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 10:00:01] local.INFO: Extracted packet for processing {"connection_id":159694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 10:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567354368001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00: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-22 10:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787372780000,"timestamp_ms":1787372780000,"timestamp_seconds":1787372780,"priority":1,"record_length":96,"hex_timestamp":"000001a027b839e0"} 
[2026-08-22 10: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-22 10:00: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-22 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 10:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567354368001,"66":25625,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567354368001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:00:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567354368001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":159694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:00:01] local.INFO: GPS data processed {"connection_id":159694,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:00:01] local.INFO: Acknowledgment sent {"connection_id":159694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:00:05] local.INFO: TCP Data received {"connection_id":159694,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:00:05] local.INFO: Processing buffer {"connection_id":159694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:00:05] local.INFO: Packet analysis {"connection_id":159694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 10:00:05] local.INFO: Extracted packet for processing {"connection_id":159694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 10:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567354368001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00:05] 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-22 10:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787372780000,"timestamp_ms":1787372780000,"timestamp_seconds":1787372780,"priority":1,"record_length":96,"hex_timestamp":"000001a027b839e0"} 
[2026-08-22 10:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:00: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-22 10:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 10:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567354368001,"66":25625,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567354368001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:00:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567354368001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":159694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:00:05] local.INFO: GPS data processed {"connection_id":159694,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:00:05] local.INFO: Acknowledgment sent {"connection_id":159694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:00:31] local.INFO: TCP Data received {"connection_id":159947,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027ba9f28012d196940071fedd8003e011c25..."} 
[2026-08-22 10:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ba9f28012d196940071fedd8003e011c25..."} 
[2026-08-22 10:00:31] local.INFO: Processing buffer {"connection_id":159947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ba9f28012d196940071fedd8003e011c25..."} 
[2026-08-22 10:00:31] local.INFO: Packet analysis {"connection_id":159947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ba"} 
[2026-08-22 10:00:31] local.INFO: Extracted packet for processing {"connection_id":159947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ba"} 
[2026-08-22 10:00:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567466496001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787372937000,"timestamp_ms":1787372937000,"timestamp_seconds":1787372937,"priority":1,"record_length":96,"hex_timestamp":"000001a027ba9f28"} 
[2026-08-22 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-22 10:00:31] 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-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 10:00:31] 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-22 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-22 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-22 10:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:00:31] 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-22 10:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567466496001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 10:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567466496001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:00:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 10:00:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 10:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567466496001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 10:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":159947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:00:31] local.INFO: GPS data processed {"connection_id":159947,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:00:31] local.INFO: Acknowledgment sent {"connection_id":159947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:00:49] local.INFO: TCP Data received {"connection_id":160843,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:00:49] local.INFO: Processing buffer {"connection_id":160843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:00:49] local.INFO: IMEI packet received {"connection_id":160843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":160843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:00:53] local.INFO: TCP Data received {"connection_id":159948,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:00:53] local.INFO: Processing buffer {"connection_id":159948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:00:53] local.INFO: IMEI packet received {"connection_id":159948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":159948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:00:54] local.INFO: TCP Data received {"connection_id":160843,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:00:54] local.INFO: Processing buffer {"connection_id":160843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:00:54] local.INFO: IMEI packet received {"connection_id":160843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":160843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:00:55] local.INFO: TCP Data received {"connection_id":160843,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:00:55] local.INFO: Processing buffer {"connection_id":160843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:00:55] local.INFO: Packet analysis {"connection_id":160843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 10:00:55] local.INFO: Extracted packet for processing {"connection_id":160843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 10:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567354368001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00: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-22 10:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787372780000,"timestamp_ms":1787372780000,"timestamp_seconds":1787372780,"priority":1,"record_length":96,"hex_timestamp":"000001a027b839e0"} 
[2026-08-22 10:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:00: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-22 10:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 10:00: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-22 10:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567354368001,"66":25625,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567354368001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:00:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567354368001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":160843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:00:55] local.INFO: GPS data processed {"connection_id":160843,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:00:55] local.INFO: Acknowledgment sent {"connection_id":160843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:00:58] local.INFO: TCP Data received {"connection_id":159948,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:00:58] local.INFO: Processing buffer {"connection_id":159948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:00:58] local.INFO: IMEI packet received {"connection_id":159948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":159948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:00:59] local.INFO: TCP Data received {"connection_id":159948,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027baf130012d196940071fedd8003e011c26..."} 
[2026-08-22 10:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027baf130012d196940071fedd8003e011c26..."} 
[2026-08-22 10:00:59] local.INFO: Processing buffer {"connection_id":159948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027baf130012d196940071fedd8003e011c26..."} 
[2026-08-22 10:00:59] local.INFO: Packet analysis {"connection_id":159948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ba"} 
[2026-08-22 10:00:59] local.INFO: Extracted packet for processing {"connection_id":159948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ba"} 
[2026-08-22 10:00:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567471872001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 10:00: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-22 10:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787372958000,"timestamp_ms":1787372958000,"timestamp_seconds":1787372958,"priority":1,"record_length":96,"hex_timestamp":"000001a027baf130"} 
[2026-08-22 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-22 10:00:59] 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-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 10:00:59] 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-22 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-22 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-22 10:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:00:59] 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-22 10:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567471872001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 10:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567471872001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:00:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 10:00:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 10:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567471872001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 10:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":159948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:00:59] local.INFO: GPS data processed {"connection_id":159948,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:00:59] local.INFO: Acknowledgment sent {"connection_id":159948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:01:26] local.INFO: TCP Data received {"connection_id":160843,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:01:26] local.INFO: Processing buffer {"connection_id":160843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:01:26] local.INFO: Packet analysis {"connection_id":160843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 10:01:26] local.INFO: Extracted packet for processing {"connection_id":160843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 10:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567354368001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:01: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-22 10:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787372780000,"timestamp_ms":1787372780000,"timestamp_seconds":1787372780,"priority":1,"record_length":96,"hex_timestamp":"000001a027b839e0"} 
[2026-08-22 10: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-22 10: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-22 10: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":47,"data_length":795,"current_offset":136} 
[2026-08-22 10:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567354368001,"66":25625,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567354368001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:01:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567354368001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":160843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:01:26] local.INFO: GPS data processed {"connection_id":160843,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:01:26] local.INFO: Acknowledgment sent {"connection_id":160843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:01:30] local.INFO: TCP Data received {"connection_id":159948,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027bb4338012d196940071fedd8003e011c25..."} 
[2026-08-22 10:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bb4338012d196940071fedd8003e011c25..."} 
[2026-08-22 10:01:30] local.INFO: Processing buffer {"connection_id":159948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bb4338012d196940071fedd8003e011c25..."} 
[2026-08-22 10:01:30] local.INFO: Packet analysis {"connection_id":159948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bb"} 
[2026-08-22 10:01:30] local.INFO: Extracted packet for processing {"connection_id":159948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bb"} 
[2026-08-22 10:01:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567477248001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 10:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 10:01: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-22 10:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787372979000,"timestamp_ms":1787372979000,"timestamp_seconds":1787372979,"priority":1,"record_length":96,"hex_timestamp":"000001a027bb4338"} 
[2026-08-22 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-22 10:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 10:01:30] 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-22 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-22 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-22 10:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:01:30] 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-22 10:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567477248001,"66":12287,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 10:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567477248001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:01:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 10:01:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 10:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567477248001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 10:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":159948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:01:30] local.INFO: GPS data processed {"connection_id":159948,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:01:30] local.INFO: Acknowledgment sent {"connection_id":159948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:01:49] local.INFO: TCP Data received {"connection_id":160844,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:01:49] local.INFO: Processing buffer {"connection_id":160844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:01:49] local.INFO: IMEI packet received {"connection_id":160844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":160844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:01:53] local.INFO: TCP Data received {"connection_id":162266,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:01:53] local.INFO: Processing buffer {"connection_id":162266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:01:53] local.INFO: IMEI packet received {"connection_id":162266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":162266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:01:54] local.INFO: TCP Data received {"connection_id":160844,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:01:54] local.INFO: Processing buffer {"connection_id":160844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:01:54] local.INFO: IMEI packet received {"connection_id":160844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":160844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:01:55] local.INFO: TCP Data received {"connection_id":160844,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:01:55] local.INFO: Processing buffer {"connection_id":160844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027b839e0012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:01:55] local.INFO: Packet analysis {"connection_id":160844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 10:01:55] local.INFO: Extracted packet for processing {"connection_id":160844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027b8"} 
[2026-08-22 10:01:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567354368001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:01: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-22 10:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787372780000,"timestamp_ms":1787372780000,"timestamp_seconds":1787372780,"priority":1,"record_length":96,"hex_timestamp":"000001a027b839e0"} 
[2026-08-22 10: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-22 10:01: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-22 10:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 10:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567354368001,"66":25625,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567354368001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:01:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:01:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567354368001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":160844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:01:55] local.INFO: GPS data processed {"connection_id":160844,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:01:55] local.INFO: Acknowledgment sent {"connection_id":160844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:01:58] local.INFO: TCP Data received {"connection_id":162266,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:01:58] local.INFO: Processing buffer {"connection_id":162266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:01:58] local.INFO: IMEI packet received {"connection_id":162266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":162266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:01:59] local.INFO: TCP Data received {"connection_id":162266,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027bb9540012d196940071fedd8003e011c27..."} 
[2026-08-22 10:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bb9540012d196940071fedd8003e011c27..."} 
[2026-08-22 10:01:59] local.INFO: Processing buffer {"connection_id":162266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bb9540012d196940071fedd8003e011c27..."} 
[2026-08-22 10:01:59] local.INFO: Packet analysis {"connection_id":162266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bb"} 
[2026-08-22 10:01:59] local.INFO: Extracted packet for processing {"connection_id":162266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bb"} 
[2026-08-22 10:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567482624001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 10:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 10:01: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-22 10:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787373000000,"timestamp_ms":1787373000000,"timestamp_seconds":1787373000,"priority":1,"record_length":96,"hex_timestamp":"000001a027bb9540"} 
[2026-08-22 10: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-22 10:01:59] 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-22 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 10:01:59] 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-22 10: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-22 10: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-22 10:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:01:59] 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-22 10:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567482624001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 10:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567482624001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:01:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 10:01:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 10:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567482624001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 10:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":162266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:01:59] local.INFO: GPS data processed {"connection_id":162266,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:01:59] local.INFO: Acknowledgment sent {"connection_id":162266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:02:27] local.INFO: TCP Data received {"connection_id":160844,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:02:27] local.INFO: Processing buffer {"connection_id":160844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:02:27] local.INFO: Packet analysis {"connection_id":160844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:02:27] local.INFO: Extracted packet for processing {"connection_id":160844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":28,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567431680001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787373080000,"timestamp_ms":1787373080000,"timestamp_seconds":1787373080,"priority":1,"record_length":96,"hex_timestamp":"000001a027bccdc0"} 
[2026-08-22 10: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-22 10:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 10:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 10:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567431680001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567431680001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:02:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567431680001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":160844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:02:27] local.INFO: GPS data processed {"connection_id":160844,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:02:27] local.INFO: Acknowledgment sent {"connection_id":160844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:02:31] local.INFO: TCP Data received {"connection_id":162266,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027bbe748012d196940071fedd8003e011c27..."} 
[2026-08-22 10:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bbe748012d196940071fedd8003e011c27..."} 
[2026-08-22 10:02:31] local.INFO: Processing buffer {"connection_id":162266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bbe748012d196940071fedd8003e011c27..."} 
[2026-08-22 10:02:31] local.INFO: Packet analysis {"connection_id":162266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bb"} 
[2026-08-22 10:02:31] local.INFO: Extracted packet for processing {"connection_id":162266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bb"} 
[2026-08-22 10:02:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567488000001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787373021000,"timestamp_ms":1787373021000,"timestamp_seconds":1787373021,"priority":1,"record_length":96,"hex_timestamp":"000001a027bbe748"} 
[2026-08-22 10: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-22 10:02:31] 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-22 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 10:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:31] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2862414730061748585,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:31] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:31] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79980674827681792,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:31] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:31] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471844442318,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:31] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 10:02:31] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:31] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,160,67,45,64,237,62,37,10,66,38,159,1,240,255,227,39,31,4,113,205,251,105,216,239,47,2,51,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 10:02:31] 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-22 10: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-22 10:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:02:31] 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-22 10:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567488000001,"66":12319,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 10:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567488000001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:02:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 10:02:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 10:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567488000001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 10:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":162266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:02:31] local.INFO: GPS data processed {"connection_id":162266,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:02:31] local.INFO: Acknowledgment sent {"connection_id":162266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:02:49] local.INFO: TCP Data received {"connection_id":162267,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:02:49] local.INFO: Processing buffer {"connection_id":162267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:02:49] local.INFO: IMEI packet received {"connection_id":162267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":162267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:02:53] local.INFO: TCP Data received {"connection_id":159949,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:02:53] local.INFO: Processing buffer {"connection_id":159949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:02:53] local.INFO: IMEI packet received {"connection_id":159949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":159949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:02:55] local.INFO: TCP Data received {"connection_id":162267,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:02:55] local.INFO: Processing buffer {"connection_id":162267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:02:55] local.INFO: IMEI packet received {"connection_id":162267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":162267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:02:55] local.INFO: TCP Data received {"connection_id":162267,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:02:55] local.INFO: Processing buffer {"connection_id":162267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:02:55] local.INFO: Packet analysis {"connection_id":162267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:02:55] local.INFO: Extracted packet for processing {"connection_id":162267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":28,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567431680001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787373080000,"timestamp_ms":1787373080000,"timestamp_seconds":1787373080,"priority":1,"record_length":96,"hex_timestamp":"000001a027bccdc0"} 
[2026-08-22 10: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-22 10: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-22 10: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 10:02: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-22 10: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-22 10: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-22 10:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567431680001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567431680001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:02:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:02:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567431680001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":162267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:02:55] local.INFO: GPS data processed {"connection_id":162267,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:02:55] local.INFO: Acknowledgment sent {"connection_id":162267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:02:58] local.INFO: TCP Data received {"connection_id":159949,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:02:58] local.INFO: Processing buffer {"connection_id":159949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:02:58] local.INFO: IMEI packet received {"connection_id":159949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":159949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:02:59] local.INFO: TCP Data received {"connection_id":159949,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027bc3950012d196940071fedd8003e011c26..."} 
[2026-08-22 10:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bc3950012d196940071fedd8003e011c26..."} 
[2026-08-22 10:02:59] local.INFO: Processing buffer {"connection_id":159949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bc3950012d196940071fedd8003e011c26..."} 
[2026-08-22 10:02:59] local.INFO: Packet analysis {"connection_id":159949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:02:59] local.INFO: Extracted packet for processing {"connection_id":159949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567493376001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 10:02: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-22 10:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787373042000,"timestamp_ms":1787373042000,"timestamp_seconds":1787373042,"priority":1,"record_length":96,"hex_timestamp":"000001a027bc3950"} 
[2026-08-22 10: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-22 10:02:59] 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-22 10: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 10:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:02:59] 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-22 10:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567493376001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 10:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567493376001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:02:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 10:02:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 10:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567493376001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 10:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":159949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:02:59] local.INFO: GPS data processed {"connection_id":159949,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:02:59] local.INFO: Acknowledgment sent {"connection_id":159949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:03:27] local.INFO: TCP Data received {"connection_id":162267,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:03:27] local.INFO: Processing buffer {"connection_id":162267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:03:27] local.INFO: Packet analysis {"connection_id":162267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:03:27] local.INFO: Extracted packet for processing {"connection_id":162267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":28,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567431680001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787373080000,"timestamp_ms":1787373080000,"timestamp_seconds":1787373080,"priority":1,"record_length":96,"hex_timestamp":"000001a027bccdc0"} 
[2026-08-22 10:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 10:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 10:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567431680001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567431680001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:03:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567431680001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":162267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:03:27] local.INFO: GPS data processed {"connection_id":162267,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:03:27] local.INFO: Acknowledgment sent {"connection_id":162267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:03:30] local.INFO: TCP Data received {"connection_id":159949,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027bc8b58012d196940071fedd8003e011c26..."} 
[2026-08-22 10:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bc8b58012d196940071fedd8003e011c26..."} 
[2026-08-22 10:03:30] local.INFO: Processing buffer {"connection_id":159949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bc8b58012d196940071fedd8003e011c26..."} 
[2026-08-22 10:03:30] local.INFO: Packet analysis {"connection_id":159949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:03:30] local.INFO: Extracted packet for processing {"connection_id":159949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:03:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567498752001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03: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-22 10:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787373063000,"timestamp_ms":1787373063000,"timestamp_seconds":1787373063,"priority":1,"record_length":96,"hex_timestamp":"000001a027bc8b58"} 
[2026-08-22 10: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-22 10:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 10:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2862595118688180585,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79979575316054016,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 10:03:30] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-22 10:03:30] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,160,231,45,64,237,62,39,10,66,149,67,1,240,255,227,31,4,113,205,159,105,216,37,239,47,2,51,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 10:03:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 10: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-22 10:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:03:30] 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-22 10:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567498752001,"66":12265,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 10:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567498752001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:03:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 10:03:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 10:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567498752001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 10:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":159949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:03:30] local.INFO: GPS data processed {"connection_id":159949,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:03:30] local.INFO: Acknowledgment sent {"connection_id":159949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:03:55] local.INFO: TCP Data received {"connection_id":160845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:03:55] local.INFO: Processing buffer {"connection_id":160845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:03:55] local.INFO: IMEI packet received {"connection_id":160845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":160845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:03:58] local.INFO: TCP Data received {"connection_id":160846,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:03:58] local.INFO: Processing buffer {"connection_id":160846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:03:58] local.INFO: IMEI packet received {"connection_id":160846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":160846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:03:59] local.INFO: TCP Data received {"connection_id":160845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:03:59] local.INFO: Processing buffer {"connection_id":160845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:03:59] local.INFO: IMEI packet received {"connection_id":160845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":160845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:04:00] local.INFO: TCP Data received {"connection_id":160845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:04:00] local.INFO: Processing buffer {"connection_id":160845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:04:00] local.INFO: Packet analysis {"connection_id":160845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:04:00] local.INFO: Extracted packet for processing {"connection_id":160845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:04:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":28,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567431680001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787373080000,"timestamp_ms":1787373080000,"timestamp_seconds":1787373080,"priority":1,"record_length":96,"hex_timestamp":"000001a027bccdc0"} 
[2026-08-22 10: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-22 10:04: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-22 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 10:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567431680001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567431680001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:04:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:04:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567431680001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":160845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:04:00] local.INFO: GPS data processed {"connection_id":160845,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:04:00] local.INFO: Acknowledgment sent {"connection_id":160845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:04:03] local.INFO: TCP Data received {"connection_id":160846,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:04:03] local.INFO: Processing buffer {"connection_id":160846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:04:03] local.INFO: IMEI packet received {"connection_id":160846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":160846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:04:04] local.INFO: TCP Data received {"connection_id":160846,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027bcdd60012d196940071fedd8003e011c27..."} 
[2026-08-22 10:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bcdd60012d196940071fedd8003e011c27..."} 
[2026-08-22 10:04:04] local.INFO: Processing buffer {"connection_id":160846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bcdd60012d196940071fedd8003e011c27..."} 
[2026-08-22 10:04:04] local.INFO: Packet analysis {"connection_id":160846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:04:04] local.INFO: Extracted packet for processing {"connection_id":160846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567504128001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787373084000,"timestamp_ms":1787373084000,"timestamp_seconds":1787373084,"priority":1,"record_length":96,"hex_timestamp":"000001a027bcdd60"} 
[2026-08-22 10: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-22 10:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 10: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 10:04:04] 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-22 10: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-22 10: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-22 10:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:04:04] 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-22 10:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567504128001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 10:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567504128001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:04:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 10:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 10:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567504128001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 10:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":160846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:04:04] local.INFO: GPS data processed {"connection_id":160846,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:04:04] local.INFO: Acknowledgment sent {"connection_id":160846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:04:04] local.INFO: TCP Data received {"connection_id":160845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:04:04] local.INFO: Processing buffer {"connection_id":160845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:04:04] local.INFO: Packet analysis {"connection_id":160845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:04:04] local.INFO: Extracted packet for processing {"connection_id":160845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:04:04] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":28,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567431680001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787373080000,"timestamp_ms":1787373080000,"timestamp_seconds":1787373080,"priority":1,"record_length":96,"hex_timestamp":"000001a027bccdc0"} 
[2026-08-22 10: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-22 10:04: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-22 10: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 10:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567431680001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567431680001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:04:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:04:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567431680001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":160845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:04:04] local.INFO: GPS data processed {"connection_id":160845,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:04:04] local.INFO: Acknowledgment sent {"connection_id":160845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:04:09] local.INFO: TCP Data received {"connection_id":160846,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027bd2f68012d196940071fedd8003e011c26..."} 
[2026-08-22 10:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bd2f68012d196940071fedd8003e011c26..."} 
[2026-08-22 10:04:09] local.INFO: Processing buffer {"connection_id":160846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bd2f68012d196940071fedd8003e011c26..."} 
[2026-08-22 10:04:09] local.INFO: Packet analysis {"connection_id":160846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bd"} 
[2026-08-22 10:04:09] local.INFO: Extracted packet for processing {"connection_id":160846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bd"} 
[2026-08-22 10:04:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 10:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567509504001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787373105000,"timestamp_ms":1787373105000,"timestamp_seconds":1787373105,"priority":1,"record_length":96,"hex_timestamp":"000001a027bd2f68"} 
[2026-08-22 10:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 10:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 10:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2862775507314612585,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:09] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:09] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79980674827681792,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:09] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:09] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3147120641,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 10:04:09] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:09] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,160,139,45,64,237,62,38,10,66,57,231,1,240,31,227,39,4,113,205,67,105,216,37,239,47,2,51,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 10:04:09] 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-22 10:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:04:09] 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-22 10:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567509504001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 10:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567509504001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:04:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 10:04:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 10:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567509504001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 10:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":160846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:04:09] local.INFO: GPS data processed {"connection_id":160846,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:04:09] local.INFO: Acknowledgment sent {"connection_id":160846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:04:49] local.INFO: TCP Data received {"connection_id":159695,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:04:49] local.INFO: Processing buffer {"connection_id":159695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:04:49] local.INFO: IMEI packet received {"connection_id":159695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":159695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:04:50] local.INFO: TCP Data received {"connection_id":159696,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:04:50] local.INFO: Processing buffer {"connection_id":159696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:04:50] local.INFO: IMEI packet received {"connection_id":159696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":159696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:04:53] local.INFO: TCP Data received {"connection_id":159696,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:04:53] local.INFO: Processing buffer {"connection_id":159696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:04:53] local.INFO: IMEI packet received {"connection_id":159696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":159696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:04:54] local.INFO: TCP Data received {"connection_id":159695,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:04:54] local.INFO: Processing buffer {"connection_id":159695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:04:54] local.INFO: IMEI packet received {"connection_id":159695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":159695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:04:58] local.INFO: TCP Data received {"connection_id":159696,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:04:58] local.INFO: Processing buffer {"connection_id":159696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:04:58] local.INFO: IMEI packet received {"connection_id":159696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":159696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:04:59] local.INFO: TCP Data received {"connection_id":159695,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:04:59] local.INFO: Processing buffer {"connection_id":159695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:04:59] local.INFO: Packet analysis {"connection_id":159695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:04:59] local.INFO: Extracted packet for processing {"connection_id":159695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:04:59] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":28,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567431680001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787373080000,"timestamp_ms":1787373080000,"timestamp_seconds":1787373080,"priority":1,"record_length":96,"hex_timestamp":"000001a027bccdc0"} 
[2026-08-22 10: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-22 10: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-22 10: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 10:04:59] 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-22 10: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-22 10: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-22 10:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567431680001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567431680001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:04:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:04:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567431680001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":159695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:04:59] local.INFO: GPS data processed {"connection_id":159695,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:04:59] local.INFO: Acknowledgment sent {"connection_id":159695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:04:59] local.INFO: TCP Data received {"connection_id":159696,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027bd8170012d196940071fedd8003e011c26..."} 
[2026-08-22 10:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bd8170012d196940071fedd8003e011c26..."} 
[2026-08-22 10:04:59] local.INFO: Processing buffer {"connection_id":159696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bd8170012d196940071fedd8003e011c26..."} 
[2026-08-22 10:04:59] local.INFO: Packet analysis {"connection_id":159696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bd"} 
[2026-08-22 10:04:59] local.INFO: Extracted packet for processing {"connection_id":159696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bd"} 
[2026-08-22 10:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567514880001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04: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-22 10:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787373126000,"timestamp_ms":1787373126000,"timestamp_seconds":1787373126,"priority":1,"record_length":96,"hex_timestamp":"000001a027bd8170"} 
[2026-08-22 10: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-22 10:04: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-22 10:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 10:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2862865701627828585,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79979575316054016,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 10:04:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 10:04:59] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,160,221,45,64,237,62,39,10,66,139,38,57,1,240,227,31,4,113,205,149,105,216,239,48,2,51,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 10:04:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 10: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-22 10:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:04:59] 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-22 10:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567514880001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 10:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567514880001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:04:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 10:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 10:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567514880001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 10:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":159696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:04:59] local.INFO: GPS data processed {"connection_id":159696,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:04:59] local.INFO: Acknowledgment sent {"connection_id":159696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:05:30] local.INFO: TCP Data received {"connection_id":159696,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027bdd378012d196940071fedd8003e011c27..."} 
[2026-08-22 10:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bdd378012d196940071fedd8003e011c27..."} 
[2026-08-22 10:05:30] local.INFO: Processing buffer {"connection_id":159696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bdd378012d196940071fedd8003e011c27..."} 
[2026-08-22 10:05:30] local.INFO: Packet analysis {"connection_id":159696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bd"} 
[2026-08-22 10:05:30] local.INFO: Extracted packet for processing {"connection_id":159696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bd"} 
[2026-08-22 10:05:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533016,"longitude_deg":75.6640064,"latitude_deg":11.9533016,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567520256001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356168705048576,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847447040,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05: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-22 10:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787373147000,"timestamp_ms":1787373147000,"timestamp_seconds":1787373147,"priority":1,"record_length":96,"hex_timestamp":"000001a027bdd378"} 
[2026-08-22 10: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-22 10:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 10:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185651,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2862955895941044585,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390394516308252,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79981774339309568,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990356030,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 10:05:30] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,47,45,64,237,62,38,10,66,221,39,139,1,240,233,227,31,4,113,205,231,105,216,239,48,2,51,7,37],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 10:05:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883254862577664,"timestamp_seconds":4467883254862577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 10: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-22 10:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:05:30] 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-22 10:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567520256001,"66":12298,"102":206,"83":41984,"24":0,"16":14356168705048576,"45":1831065122847447040},"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-22 10:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567520256001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:05:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 10:05:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356168705048576,"km_value":14356168705048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847447040,"description":"Unknown IO ID 45"} 
[2026-08-22 10:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567520256001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847447040}} 
[2026-08-22 10:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":159696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:05:30] local.INFO: GPS data processed {"connection_id":159696,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:05:30] local.INFO: Acknowledgment sent {"connection_id":159696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:05:31] local.INFO: TCP Data received {"connection_id":159695,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:05:31] local.INFO: Processing buffer {"connection_id":159695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:05:31] local.INFO: Packet analysis {"connection_id":159695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:05:31] local.INFO: Extracted packet for processing {"connection_id":159695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":28,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567431680001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787373080000,"timestamp_ms":1787373080000,"timestamp_seconds":1787373080,"priority":1,"record_length":96,"hex_timestamp":"000001a027bccdc0"} 
[2026-08-22 10: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-22 10:05: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-22 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 10:05: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-22 10: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-22 10: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-22 10:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567431680001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567431680001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:05:31] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567431680001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":159695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:05:31] local.INFO: GPS data processed {"connection_id":159695,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:05:31] local.INFO: Acknowledgment sent {"connection_id":159695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:05:49] local.INFO: TCP Data received {"connection_id":162268,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:05:49] local.INFO: Processing buffer {"connection_id":162268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:05:49] local.INFO: IMEI packet received {"connection_id":162268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":162268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:05:53] local.INFO: TCP Data received {"connection_id":160847,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:05:53] local.INFO: Processing buffer {"connection_id":160847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:05:53] local.INFO: IMEI packet received {"connection_id":160847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":160847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:05:54] local.INFO: TCP Data received {"connection_id":162268,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:05:54] local.INFO: Processing buffer {"connection_id":162268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:05:54] local.INFO: IMEI packet received {"connection_id":162268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":162268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:05:55] local.INFO: TCP Data received {"connection_id":162268,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:05:55] local.INFO: Processing buffer {"connection_id":162268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:05:55] local.INFO: Packet analysis {"connection_id":162268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:05:55] local.INFO: Extracted packet for processing {"connection_id":162268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":28,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567431680001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787373080000,"timestamp_ms":1787373080000,"timestamp_seconds":1787373080,"priority":1,"record_length":96,"hex_timestamp":"000001a027bccdc0"} 
[2026-08-22 10: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-22 10: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-22 10:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 10:05: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-22 10: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-22 10: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-22 10:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567431680001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567431680001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:05:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:05:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567431680001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":162268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:05:55] local.INFO: GPS data processed {"connection_id":162268,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:05:55] local.INFO: Acknowledgment sent {"connection_id":162268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:05:58] local.INFO: TCP Data received {"connection_id":160847,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:05:58] local.INFO: Processing buffer {"connection_id":160847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:05:58] local.INFO: IMEI packet received {"connection_id":160847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":160847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:05:59] local.INFO: TCP Data received {"connection_id":160847,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027c01d68012d1971c0071fec780036005a27..."} 
[2026-08-22 10:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c01d68012d1971c0071fec780036005a27..."} 
[2026-08-22 10:05:59] local.INFO: Processing buffer {"connection_id":160847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c01d68012d1971c0071fec780036005a27..."} 
[2026-08-22 10:05:59] local.INFO: Packet analysis {"connection_id":160847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c0"} 
[2026-08-22 10:05:59] local.INFO: Extracted packet for processing {"connection_id":160847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c0"} 
[2026-08-22 10:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756642240,"raw_latitude":119532664,"longitude_deg":75.664224,"latitude_deg":11.9532664,"altitude":54,"angle":90,"satellites":39,"speed":11,"hex_longitude":"2d1971c0","hex_latitude":"071fec78","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567561728001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356276079230976,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312474112,"note":"Value kept but may cause issues"} 
[2026-08-22 10:05: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-22 10:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787373297000,"timestamp_ms":1787373297000,"timestamp_seconds":1787373297,"priority":1,"record_length":96,"hex_timestamp":"000001a027c01d68"} 
[2026-08-22 10: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-22 10:05:59] 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-22 10: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-22 10:05:59] 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-22 10: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-22 10: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-22 10:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:05:59] 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-22 10:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567561728001,"66":14243,"102":206,"83":41984,"24":11,"16":14356276079230976,"45":1831487335312474112},"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-22 10:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567561728001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:05:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 10:05:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14356276079230976,"km_value":14356276079230.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312474112,"description":"Unknown IO ID 45"} 
[2026-08-22 10:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567561728001,"power":14243,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1831487335312474112}} 
[2026-08-22 10:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":160847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:05:59] local.INFO: GPS data processed {"connection_id":160847,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:05:59] local.INFO: Acknowledgment sent {"connection_id":160847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:06:27] local.INFO: TCP Data received {"connection_id":162268,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:06:27] local.INFO: Processing buffer {"connection_id":162268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:06:27] local.INFO: Packet analysis {"connection_id":162268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:06:27] local.INFO: Extracted packet for processing {"connection_id":162268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":28,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567431680001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787373080000,"timestamp_ms":1787373080000,"timestamp_seconds":1787373080,"priority":1,"record_length":96,"hex_timestamp":"000001a027bccdc0"} 
[2026-08-22 10: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-22 10:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 10:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567431680001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567431680001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:06:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567431680001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":162268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:06:27] local.INFO: GPS data processed {"connection_id":162268,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:06:27] local.INFO: Acknowledgment sent {"connection_id":162268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:06:30] local.INFO: TCP Data received {"connection_id":160847,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027c0cd30012d19cb80071ff538002a002b24..."} 
[2026-08-22 10:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c0cd30012d19cb80071ff538002a002b24..."} 
[2026-08-22 10:06:30] local.INFO: Processing buffer {"connection_id":160847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c0cd30012d19cb80071ff538002a002b24..."} 
[2026-08-22 10:06:30] local.INFO: Packet analysis {"connection_id":160847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c0"} 
[2026-08-22 10:06:30] local.INFO: Extracted packet for processing {"connection_id":160847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c0"} 
[2026-08-22 10:06:30] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119534904,"longitude_deg":75.6665216,"latitude_deg":11.9534904,"altitude":42,"angle":43,"satellites":36,"speed":15,"hex_longitude":"2d19cb80","hex_latitude":"071ff538","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567575296001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14357401360662528,"note":"Value kept but may cause issues"} 
[2026-08-22 10:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858438564332972032,"note":"Value kept but may cause issues"} 
[2026-08-22 10:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787373342000,"timestamp_ms":1787373342000,"timestamp_seconds":1787373342,"priority":1,"record_length":96,"hex_timestamp":"000001a027c0cd30"} 
[2026-08-22 10: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-22 10:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 10: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-22 10:06:30] 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-22 10: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-22 10: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-22 10:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:06:30] 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-22 10:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567575296001,"66":13559,"101":206,"83":41984,"24":15,"16":14357401360662528,"45":1858438564332972032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 10:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567575296001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:06:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 10:06:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14357401360662528,"km_value":14357401360662.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858438564332972032,"description":"Unknown IO ID 45"} 
[2026-08-22 10:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567575296001,"power":13559,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858438564332972032}} 
[2026-08-22 10:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":160847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:06:30] local.INFO: GPS data processed {"connection_id":160847,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:06:30] local.INFO: Acknowledgment sent {"connection_id":160847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:06:49] local.INFO: TCP Data received {"connection_id":162269,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:06:49] local.INFO: Processing buffer {"connection_id":162269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:06:49] local.INFO: IMEI packet received {"connection_id":162269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":162269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:06:53] local.INFO: TCP Data received {"connection_id":159950,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:06:53] local.INFO: Processing buffer {"connection_id":159950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:06:53] local.INFO: IMEI packet received {"connection_id":159950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":159950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:06:55] local.INFO: TCP Data received {"connection_id":162269,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:06:55] local.INFO: Processing buffer {"connection_id":162269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:06:55] local.INFO: IMEI packet received {"connection_id":162269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":162269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:06:55] local.INFO: TCP Data received {"connection_id":162269,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:06:55] local.INFO: Processing buffer {"connection_id":162269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027bccdc0012d7f88c005afdea8000000d81c..."} 
[2026-08-22 10:06:55] local.INFO: Packet analysis {"connection_id":162269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:06:55] local.INFO: Extracted packet for processing {"connection_id":162269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027bc"} 
[2026-08-22 10:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":28,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567431680001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787373080000,"timestamp_ms":1787373080000,"timestamp_seconds":1787373080,"priority":1,"record_length":96,"hex_timestamp":"000001a027bccdc0"} 
[2026-08-22 10: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-22 10: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-22 10: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":25,"data_length":795,"current_offset":136} 
[2026-08-22 10:06: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-22 10: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-22 10: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-22 10:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567431680001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567431680001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:06:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:06:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567431680001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":162269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:06:56] local.INFO: GPS data processed {"connection_id":162269,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:06:56] local.INFO: Acknowledgment sent {"connection_id":162269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:06:58] local.INFO: TCP Data received {"connection_id":159950,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:06:58] local.INFO: Processing buffer {"connection_id":159950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:06:58] local.INFO: IMEI packet received {"connection_id":159950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":159950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:06:59] local.INFO: TCP Data received {"connection_id":159950,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027c0d118012d19cc40071ff678002a001c24..."} 
[2026-08-22 10:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c0d118012d19cc40071ff678002a001c24..."} 
[2026-08-22 10:06:59] local.INFO: Processing buffer {"connection_id":159950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c0d118012d19cc40071ff678002a001c24..."} 
[2026-08-22 10:06:59] local.INFO: Packet analysis {"connection_id":159950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c0"} 
[2026-08-22 10:06:59] local.INFO: Extracted packet for processing {"connection_id":159950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c0"} 
[2026-08-22 10:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119535224,"longitude_deg":75.6665408,"latitude_deg":11.9535224,"altitude":42,"angle":28,"satellites":36,"speed":15,"hex_longitude":"2d19cc40","hex_latitude":"071ff678","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567575552001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14357418540531712,"note":"Value kept but may cause issues"} 
[2026-08-22 10:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039309752320,"note":"Value kept but may cause issues"} 
[2026-08-22 10:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787373343000,"timestamp_ms":1787373343000,"timestamp_seconds":1787373343,"priority":1,"record_length":96,"hex_timestamp":"000001a027c0d118"} 
[2026-08-22 10: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-22 10:06: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-22 10: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 10:06:59] 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-22 10: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-22 10: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-22 10:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:06:59] 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-22 10:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567575552001,"66":13559,"101":206,"83":41984,"24":15,"16":14357418540531712,"45":1858720039309752320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 10:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567575552001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:06:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 10:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14357418540531712,"km_value":14357418540531.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039309752320,"description":"Unknown IO ID 45"} 
[2026-08-22 10:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567575552001,"power":13559,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858720039309752320}} 
[2026-08-22 10:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":159950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:06:59] local.INFO: GPS data processed {"connection_id":159950,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:06:59] local.INFO: Acknowledgment sent {"connection_id":159950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:07:28] local.INFO: TCP Data received {"connection_id":162269,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:07:28] local.INFO: Processing buffer {"connection_id":162269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:07:28] local.INFO: Packet analysis {"connection_id":162269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:07:28] local.INFO: Extracted packet for processing {"connection_id":162269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567508480001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787373381000,"timestamp_ms":1787373381000,"timestamp_seconds":1787373381,"priority":1,"record_length":96,"hex_timestamp":"000001a027c16588"} 
[2026-08-22 10: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-22 10:07: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-22 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:07:28] 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-22 10: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-22 10: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-22 10:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567508480001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567508480001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:07:28] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567508480001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":162269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:07:28] local.INFO: GPS data processed {"connection_id":162269,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:07:28] local.INFO: Acknowledgment sent {"connection_id":162269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:07:30] local.INFO: TCP Data received {"connection_id":159950,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027c1abd8012d19bcc007203c580021015b26..."} 
[2026-08-22 10:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c1abd8012d19bcc007203c580021015b26..."} 
[2026-08-22 10:07:30] local.INFO: Processing buffer {"connection_id":159950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c1abd8012d19bcc007203c580021015b26..."} 
[2026-08-22 10:07:30] local.INFO: Packet analysis {"connection_id":159950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:07:30] local.INFO: Extracted packet for processing {"connection_id":159950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:07:30] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119553112,"longitude_deg":75.666144,"latitude_deg":11.9553112,"altitude":33,"angle":347,"satellites":38,"speed":35,"hex_longitude":"2d19bcc0","hex_latitude":"07203c58","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567586816001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14358578181701632,"note":"Value kept but may cause issues"} 
[2026-08-22 10:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857945983126452224,"note":"Value kept but may cause issues"} 
[2026-08-22 10:07: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-22 10:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787373399000,"timestamp_ms":1787373399000,"timestamp_seconds":1787373399,"priority":1,"record_length":96,"hex_timestamp":"000001a027c1abd8"} 
[2026-08-22 10: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-22 10:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 10: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 10:07:30] 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-22 10: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-22 10: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-22 10:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:07:30] 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-22 10:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567586816001,"66":14233,"103":206,"83":41984,"24":35,"16":14358578181701632,"45":1857945983126452224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 10:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567586816001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:07:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 10:07:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14358578181701632,"km_value":14358578181701.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857945983126452224,"description":"Unknown IO ID 45"} 
[2026-08-22 10:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567586816001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1857945983126452224}} 
[2026-08-22 10:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":159950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:07:31] local.INFO: GPS data processed {"connection_id":159950,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:07:31] local.INFO: Acknowledgment sent {"connection_id":159950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:07:49] local.INFO: TCP Data received {"connection_id":159697,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:07:49] local.INFO: Processing buffer {"connection_id":159697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:07:49] local.INFO: IMEI packet received {"connection_id":159697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":159697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:07:51] local.INFO: TCP Data received {"connection_id":159698,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:07:51] local.INFO: Processing buffer {"connection_id":159698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:07:51] local.INFO: IMEI packet received {"connection_id":159698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":159698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:07:52] local.INFO: TCP Data received {"connection_id":159698,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:07:52] local.INFO: Processing buffer {"connection_id":159698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:07:52] local.INFO: IMEI packet received {"connection_id":159698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":159698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:07:53] local.INFO: TCP Data received {"connection_id":159698,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:07:53] local.INFO: Processing buffer {"connection_id":159698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:07:53] local.INFO: IMEI packet received {"connection_id":159698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":159698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:07:53] local.INFO: TCP Data received {"connection_id":159698,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:07:53] local.INFO: Processing buffer {"connection_id":159698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:07:53] local.INFO: IMEI packet received {"connection_id":159698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":159698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:07:56] local.INFO: TCP Data received {"connection_id":159697,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:07:56] local.INFO: Processing buffer {"connection_id":159697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:07:56] local.INFO: IMEI packet received {"connection_id":159697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":159697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:07:57] local.INFO: TCP Data received {"connection_id":159697,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:07:57] local.INFO: Processing buffer {"connection_id":159697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:07:57] local.INFO: Packet analysis {"connection_id":159697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:07:57] local.INFO: Extracted packet for processing {"connection_id":159697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:07:57] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567508480001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787373381000,"timestamp_ms":1787373381000,"timestamp_seconds":1787373381,"priority":1,"record_length":96,"hex_timestamp":"000001a027c16588"} 
[2026-08-22 10: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-22 10:07: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-22 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:07:57] 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-22 10: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-22 10: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-22 10:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567508480001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567508480001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:07:57] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567508480001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":159697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:07:57] local.INFO: GPS data processed {"connection_id":159697,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:07:57] local.INFO: Acknowledgment sent {"connection_id":159697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:08:28] local.INFO: TCP Data received {"connection_id":159697,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:08:28] local.INFO: Processing buffer {"connection_id":159697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:08:28] local.INFO: Packet analysis {"connection_id":159697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:08:28] local.INFO: Extracted packet for processing {"connection_id":159697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:08:28] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567508480001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787373381000,"timestamp_ms":1787373381000,"timestamp_seconds":1787373381,"priority":1,"record_length":96,"hex_timestamp":"000001a027c16588"} 
[2026-08-22 10: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-22 10:08: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-22 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:08:28] 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-22 10: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-22 10: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-22 10:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567508480001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567508480001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:08:28] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567508480001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":159697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:08:28] local.INFO: GPS data processed {"connection_id":159697,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:08:28] local.INFO: Acknowledgment sent {"connection_id":159697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:08:54] local.INFO: TCP Data received {"connection_id":162271,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:08:54] local.INFO: Processing buffer {"connection_id":162271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:08:54] local.INFO: IMEI packet received {"connection_id":162271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":162271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:08:59] local.INFO: TCP Data received {"connection_id":162271,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:08:59] local.INFO: Processing buffer {"connection_id":162271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:08:59] local.INFO: IMEI packet received {"connection_id":162271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":162271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:09:00] local.INFO: TCP Data received {"connection_id":162271,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:09:00] local.INFO: Processing buffer {"connection_id":162271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:09:00] local.INFO: Packet analysis {"connection_id":162271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:09:00] local.INFO: Extracted packet for processing {"connection_id":162271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:09:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567508480001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787373381000,"timestamp_ms":1787373381000,"timestamp_seconds":1787373381,"priority":1,"record_length":96,"hex_timestamp":"000001a027c16588"} 
[2026-08-22 10: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-22 10:09: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-22 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:09:00] 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-22 10: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-22 10: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-22 10:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567508480001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567508480001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:09:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:09:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567508480001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":162271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:09:00] local.INFO: GPS data processed {"connection_id":162271,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:09:00] local.INFO: Acknowledgment sent {"connection_id":162271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:09:32] local.INFO: TCP Data received {"connection_id":162271,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:09:32] local.INFO: Processing buffer {"connection_id":162271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:09:32] local.INFO: Packet analysis {"connection_id":162271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:09:32] local.INFO: Extracted packet for processing {"connection_id":162271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567508480001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787373381000,"timestamp_ms":1787373381000,"timestamp_seconds":1787373381,"priority":1,"record_length":96,"hex_timestamp":"000001a027c16588"} 
[2026-08-22 10:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:09: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-22 10:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:09:32] 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-22 10:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567508480001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567508480001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:09:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:09:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567508480001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":162271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:09:32] local.INFO: GPS data processed {"connection_id":162271,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:09:32] local.INFO: Acknowledgment sent {"connection_id":162271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:09:49] local.INFO: TCP Data received {"connection_id":159951,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:09:49] local.INFO: Processing buffer {"connection_id":159951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:09:49] local.INFO: IMEI packet received {"connection_id":159951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":159951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:09:54] local.INFO: TCP Data received {"connection_id":159951,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:09:54] local.INFO: Processing buffer {"connection_id":159951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:09:54] local.INFO: IMEI packet received {"connection_id":159951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":159951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:09:55] local.INFO: TCP Data received {"connection_id":159951,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:09:55] local.INFO: Processing buffer {"connection_id":159951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:09:55] local.INFO: Packet analysis {"connection_id":159951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:09:55] local.INFO: Extracted packet for processing {"connection_id":159951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:09:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567508480001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787373381000,"timestamp_ms":1787373381000,"timestamp_seconds":1787373381,"priority":1,"record_length":96,"hex_timestamp":"000001a027c16588"} 
[2026-08-22 10: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-22 10:09: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-22 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:09: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-22 10: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-22 10: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-22 10:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567508480001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567508480001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:09:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:09:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567508480001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":159951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:09:55] local.INFO: GPS data processed {"connection_id":159951,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:09:55] local.INFO: Acknowledgment sent {"connection_id":159951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:10:26] local.INFO: TCP Data received {"connection_id":159951,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:10:26] local.INFO: Processing buffer {"connection_id":159951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:10:26] local.INFO: Packet analysis {"connection_id":159951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:10:26] local.INFO: Extracted packet for processing {"connection_id":159951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:10:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567508480001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787373381000,"timestamp_ms":1787373381000,"timestamp_seconds":1787373381,"priority":1,"record_length":96,"hex_timestamp":"000001a027c16588"} 
[2026-08-22 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-22 10:10: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-22 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:10:26] 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-22 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-22 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-22 10:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567508480001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567508480001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:10:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:10:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567508480001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":159951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:10:26] local.INFO: GPS data processed {"connection_id":159951,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:10:26] local.INFO: Acknowledgment sent {"connection_id":159951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:10:49] local.INFO: TCP Data received {"connection_id":162273,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:10:49] local.INFO: Processing buffer {"connection_id":162273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:10:49] local.INFO: IMEI packet received {"connection_id":162273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":162273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:10:54] local.INFO: TCP Data received {"connection_id":162273,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:10:54] local.INFO: Processing buffer {"connection_id":162273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:10:54] local.INFO: IMEI packet received {"connection_id":162273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":162273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:10:55] local.INFO: TCP Data received {"connection_id":162273,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:10:55] local.INFO: Processing buffer {"connection_id":162273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:10:55] local.INFO: Packet analysis {"connection_id":162273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:10:55] local.INFO: Extracted packet for processing {"connection_id":162273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:10:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567508480001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787373381000,"timestamp_ms":1787373381000,"timestamp_seconds":1787373381,"priority":1,"record_length":96,"hex_timestamp":"000001a027c16588"} 
[2026-08-22 10: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-22 10: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-22 10: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:10: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-22 10: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-22 10: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-22 10:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567508480001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567508480001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:10:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:10:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567508480001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":162273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:10:55] local.INFO: GPS data processed {"connection_id":162273,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:10:55] local.INFO: Acknowledgment sent {"connection_id":162273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:11:26] local.INFO: TCP Data received {"connection_id":162273,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:11:26] local.INFO: Processing buffer {"connection_id":162273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:11:26] local.INFO: Packet analysis {"connection_id":162273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:11:26] local.INFO: Extracted packet for processing {"connection_id":162273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:11:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567508480001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787373381000,"timestamp_ms":1787373381000,"timestamp_seconds":1787373381,"priority":1,"record_length":96,"hex_timestamp":"000001a027c16588"} 
[2026-08-22 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-22 10:11: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-22 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:11:26] 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-22 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-22 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-22 10:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567508480001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567508480001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:11:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:11:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567508480001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":162273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:11:26] local.INFO: GPS data processed {"connection_id":162273,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:11:26] local.INFO: Acknowledgment sent {"connection_id":162273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:11:54] local.INFO: TCP Data received {"connection_id":159700,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:11:54] local.INFO: Processing buffer {"connection_id":159700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:11:54] local.INFO: IMEI packet received {"connection_id":159700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":159700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:11:59] local.INFO: TCP Data received {"connection_id":159700,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:11:59] local.INFO: Processing buffer {"connection_id":159700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:11:59] local.INFO: IMEI packet received {"connection_id":159700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":159700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:12:00] local.INFO: TCP Data received {"connection_id":159700,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:12:00] local.INFO: Processing buffer {"connection_id":159700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c16588012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:12:00] local.INFO: Packet analysis {"connection_id":159700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:12:00] local.INFO: Extracted packet for processing {"connection_id":159700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c1"} 
[2026-08-22 10:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567508480001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787373381000,"timestamp_ms":1787373381000,"timestamp_seconds":1787373381,"priority":1,"record_length":96,"hex_timestamp":"000001a027c16588"} 
[2026-08-22 10: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-22 10:12: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-22 10: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:12:00] 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-22 10: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-22 10: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-22 10:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567508480001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567508480001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:12:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567508480001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":159700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:12:00] local.INFO: GPS data processed {"connection_id":159700,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:12:00] local.INFO: Acknowledgment sent {"connection_id":159700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:12:01] local.INFO: TCP Data received {"connection_id":159700,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:12:01] local.INFO: Processing buffer {"connection_id":159700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:12:01] local.INFO: Packet analysis {"connection_id":159700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:12:01] local.INFO: Extracted packet for processing {"connection_id":159700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:12:01] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567585536001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:12: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-22 10:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787373682000,"timestamp_ms":1787373682000,"timestamp_seconds":1787373682,"priority":1,"record_length":96,"hex_timestamp":"000001a027c5fd50"} 
[2026-08-22 10: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-22 10:12: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-22 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:12: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-22 10: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-22 10: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-22 10:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567585536001,"66":25593,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567585536001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:12:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567585536001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":159700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:12:01] local.INFO: GPS data processed {"connection_id":159700,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:12:01] local.INFO: Acknowledgment sent {"connection_id":159700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:12:32] local.INFO: TCP Data received {"connection_id":159700,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:12:32] local.INFO: Processing buffer {"connection_id":159700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:12:32] local.INFO: Packet analysis {"connection_id":159700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:12:32] local.INFO: Extracted packet for processing {"connection_id":159700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567585536001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:12:32] 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-22 10:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787373682000,"timestamp_ms":1787373682000,"timestamp_seconds":1787373682,"priority":1,"record_length":96,"hex_timestamp":"000001a027c5fd50"} 
[2026-08-22 10: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-22 10:12: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-22 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:12:32] 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-22 10: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-22 10: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-22 10:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567585536001,"66":25593,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567585536001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:12:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567585536001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":159700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:12:32] local.INFO: GPS data processed {"connection_id":159700,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:12:32] local.INFO: Acknowledgment sent {"connection_id":159700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:12:49] local.INFO: TCP Data received {"connection_id":162274,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:12:49] local.INFO: Processing buffer {"connection_id":162274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:12:49] local.INFO: IMEI packet received {"connection_id":162274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":162274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:12:54] local.INFO: TCP Data received {"connection_id":162274,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:12:54] local.INFO: Processing buffer {"connection_id":162274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:12:54] local.INFO: IMEI packet received {"connection_id":162274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":162274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:12:55] local.INFO: TCP Data received {"connection_id":162274,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:12:55] local.INFO: Processing buffer {"connection_id":162274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:12:55] local.INFO: Packet analysis {"connection_id":162274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:12:55] local.INFO: Extracted packet for processing {"connection_id":162274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567585536001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:12: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-22 10:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787373682000,"timestamp_ms":1787373682000,"timestamp_seconds":1787373682,"priority":1,"record_length":96,"hex_timestamp":"000001a027c5fd50"} 
[2026-08-22 10: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-22 10:12: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-22 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:12: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-22 10: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-22 10: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-22 10:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567585536001,"66":25593,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567585536001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:12:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:12:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567585536001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":162274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:12:55] local.INFO: GPS data processed {"connection_id":162274,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:12:55] local.INFO: Acknowledgment sent {"connection_id":162274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:12:58] local.INFO: TCP Data received {"connection_id":162275,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:12:58] local.INFO: Processing buffer {"connection_id":162275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:12:58] local.INFO: IMEI packet received {"connection_id":162275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":162275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:13:03] local.INFO: TCP Data received {"connection_id":162275,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:13:03] local.INFO: Processing buffer {"connection_id":162275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:13:03] local.INFO: IMEI packet received {"connection_id":162275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":162275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:13:04] local.INFO: TCP Data received {"connection_id":162275,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027c5edb0012d181cc00721a768004a010a25..."} 
[2026-08-22 10:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c5edb0012d181cc00721a768004a010a25..."} 
[2026-08-22 10:13:04] local.INFO: Processing buffer {"connection_id":162275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c5edb0012d181cc00721a768004a010a25..."} 
[2026-08-22 10:13:04] local.INFO: Packet analysis {"connection_id":162275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:13:04] local.INFO: Extracted packet for processing {"connection_id":162275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646056,"longitude_deg":75.6554944,"latitude_deg":11.9646056,"altitude":74,"angle":266,"satellites":37,"speed":3,"hex_longitude":"2d181cc0","hex_latitude":"0721a768","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567661056001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14366699964858368,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096806912,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13:04] local.INFO: IO Element Parsed {"io_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-22 10:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787373678000,"timestamp_ms":1787373678000,"timestamp_seconds":1787373678,"priority":1,"record_length":96,"hex_timestamp":"000001a027c5edb0"} 
[2026-08-22 10: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-22 10:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 10: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-22 10:13:04] 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-22 10: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-22 10: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-22 10:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:13:04] 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-22 10:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567661056001,"66":14189,"105":206,"83":41984,"24":3,"16":14366699964858368,"45":1737756168096806912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567661056001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:13:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:13:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14366699964858368,"km_value":14366699964858.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096806912,"description":"Unknown IO ID 45"} 
[2026-08-22 10:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567661056001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737756168096806912}} 
[2026-08-22 10:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":162275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:13:04] local.INFO: GPS data processed {"connection_id":162275,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:13:04] local.INFO: Acknowledgment sent {"connection_id":162275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:13:05] local.INFO: TCP Data received {"connection_id":162275,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027c5f198012d181c400721a720004a00f926..."} 
[2026-08-22 10:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c5f198012d181c400721a720004a00f926..."} 
[2026-08-22 10:13:05] local.INFO: Processing buffer {"connection_id":162275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c5f198012d181c400721a720004a00f926..."} 
[2026-08-22 10:13:05] local.INFO: Packet analysis {"connection_id":162275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:13:05] local.INFO: Extracted packet for processing {"connection_id":162275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119645984,"longitude_deg":75.6554816,"latitude_deg":11.9645984,"altitude":74,"angle":249,"satellites":38,"speed":5,"hex_longitude":"2d181c40","hex_latitude":"0721a720","is_valid_coordinates":true} 
[2026-08-22 10:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567661568001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14366708554792960,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120092160,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13:05] local.INFO: IO Element Parsed {"io_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-22 10:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787373679000,"timestamp_ms":1787373679000,"timestamp_seconds":1787373679,"priority":1,"record_length":96,"hex_timestamp":"000001a027c5f198"} 
[2026-08-22 10:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 10:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 10:13:05] 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-22 10:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:13:05] 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-22 10:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567661568001,"66":14189,"105":206,"83":41984,"24":5,"16":14366708554792960,"45":1737474693120092160},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567661568001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:13:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14366708554792960,"km_value":14366708554792.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120092160,"description":"Unknown IO ID 45"} 
[2026-08-22 10:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567661568001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737474693120092160}} 
[2026-08-22 10:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":162275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:13:05] local.INFO: GPS data processed {"connection_id":162275,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:13:05] local.INFO: Acknowledgment sent {"connection_id":162275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:13:26] local.INFO: TCP Data received {"connection_id":162274,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:13:26] local.INFO: Processing buffer {"connection_id":162274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:13:26] local.INFO: Packet analysis {"connection_id":162274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:13:26] local.INFO: Extracted packet for processing {"connection_id":162274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567585536001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13: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-22 10:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787373682000,"timestamp_ms":1787373682000,"timestamp_seconds":1787373682,"priority":1,"record_length":96,"hex_timestamp":"000001a027c5fd50"} 
[2026-08-22 10: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-22 10:13: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-22 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:13:26] 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-22 10: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-22 10: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-22 10:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567585536001,"66":25593,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567585536001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:13:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567585536001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":162274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:13:26] local.INFO: GPS data processed {"connection_id":162274,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:13:26] local.INFO: Acknowledgment sent {"connection_id":162274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:13:36] local.INFO: TCP Data received {"connection_id":162275,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027c5f580012d181b800721a688004a00da26..."} 
[2026-08-22 10:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c5f580012d181b800721a688004a00da26..."} 
[2026-08-22 10:13:36] local.INFO: Processing buffer {"connection_id":162275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c5f580012d181b800721a688004a00da26..."} 
[2026-08-22 10:13:36] local.INFO: Packet analysis {"connection_id":162275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:13:36] local.INFO: Extracted packet for processing {"connection_id":162275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:13:36] local.INFO: GPS Element Parsed {"raw_longitude":756554624,"raw_latitude":119645832,"longitude_deg":75.6554624,"latitude_deg":11.9645832,"altitude":74,"angle":218,"satellites":38,"speed":10,"hex_longitude":"2d181b80","hex_latitude":"0721a688","is_valid_coordinates":true} 
[2026-08-22 10:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567661824001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14366717144727552,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631718400,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13:36] local.INFO: IO Element Parsed {"io_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-22 10:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787373680000,"timestamp_ms":1787373680000,"timestamp_seconds":1787373680,"priority":1,"record_length":96,"hex_timestamp":"000001a027c5f580"} 
[2026-08-22 10:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 10:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 10:13:36] 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-22 10:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:13:36] 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-22 10:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567661824001,"66":13624,"105":206,"83":41984,"24":10,"16":14366717144727552,"45":1737333955631718400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567661824001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:13:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:13:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14366717144727552,"km_value":14366717144727.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631718400,"description":"Unknown IO ID 45"} 
[2026-08-22 10:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567661824001,"power":13624,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737333955631718400}} 
[2026-08-22 10:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":162275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:13:36] local.INFO: GPS data processed {"connection_id":162275,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:13:36] local.INFO: Acknowledgment sent {"connection_id":162275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:13:49] local.INFO: TCP Data received {"connection_id":160848,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:13:49] local.INFO: Processing buffer {"connection_id":160848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:13:49] local.INFO: IMEI packet received {"connection_id":160848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":160848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:13:53] local.INFO: TCP Data received {"connection_id":160849,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:13:53] local.INFO: Processing buffer {"connection_id":160849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:13:53] local.INFO: IMEI packet received {"connection_id":160849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":160849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:13:54] local.INFO: TCP Data received {"connection_id":160848,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:13:54] local.INFO: Processing buffer {"connection_id":160848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:13:54] local.INFO: IMEI packet received {"connection_id":160848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":160848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:13:55] local.INFO: TCP Data received {"connection_id":160848,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:13:55] local.INFO: Processing buffer {"connection_id":160848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:13:55] local.INFO: Packet analysis {"connection_id":160848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:13:55] local.INFO: Extracted packet for processing {"connection_id":160848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:13:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567585536001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13: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-22 10:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787373682000,"timestamp_ms":1787373682000,"timestamp_seconds":1787373682,"priority":1,"record_length":96,"hex_timestamp":"000001a027c5fd50"} 
[2026-08-22 10: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-22 10:13: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-22 10:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:13: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-22 10: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-22 10: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-22 10:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567585536001,"66":25593,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567585536001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:13:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:13:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567585536001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":160848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:13:55] local.INFO: GPS data processed {"connection_id":160848,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:13:55] local.INFO: Acknowledgment sent {"connection_id":160848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:13:58] local.INFO: TCP Data received {"connection_id":160849,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:13:58] local.INFO: Processing buffer {"connection_id":160849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:13:58] local.INFO: IMEI packet received {"connection_id":160849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":160849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:13:59] local.INFO: TCP Data received {"connection_id":160849,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027c5fd50012d181a800721a448004a00cf26..."} 
[2026-08-22 10:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c5fd50012d181a800721a448004a00cf26..."} 
[2026-08-22 10:13:59] local.INFO: Processing buffer {"connection_id":160849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c5fd50012d181a800721a448004a00cf26..."} 
[2026-08-22 10:13:59] local.INFO: Packet analysis {"connection_id":160849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:13:59] local.INFO: Extracted packet for processing {"connection_id":160849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756554368,"raw_latitude":119645256,"longitude_deg":75.6554368,"latitude_deg":11.9645256,"altitude":74,"angle":207,"satellites":38,"speed":13,"hex_longitude":"2d181a80","hex_latitude":"0721a448","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567662080001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14366751504465920,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849399146496,"note":"Value kept but may cause issues"} 
[2026-08-22 10:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787373682000,"timestamp_ms":1787373682000,"timestamp_seconds":1787373682,"priority":1,"record_length":96,"hex_timestamp":"000001a027c5fd50"} 
[2026-08-22 10: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-22 10:13: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-22 10: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-22 10:13:59] 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-22 10: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-22 10: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-22 10:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:13:59] 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-22 10:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567662080001,"66":14189,"105":206,"83":41984,"24":13,"16":14366751504465920,"45":1737122849399146496},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567662080001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:13:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14366751504465920,"km_value":14366751504465.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849399146496,"description":"Unknown IO ID 45"} 
[2026-08-22 10:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567662080001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1737122849399146496}} 
[2026-08-22 10:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":160849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:13:59] local.INFO: GPS data processed {"connection_id":160849,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:13:59] local.INFO: Acknowledgment sent {"connection_id":160849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:14:27] local.INFO: TCP Data received {"connection_id":160848,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:14:27] local.INFO: Processing buffer {"connection_id":160848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:14:27] local.INFO: Packet analysis {"connection_id":160848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:14:27] local.INFO: Extracted packet for processing {"connection_id":160848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567585536001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:14: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-22 10:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787373682000,"timestamp_ms":1787373682000,"timestamp_seconds":1787373682,"priority":1,"record_length":96,"hex_timestamp":"000001a027c5fd50"} 
[2026-08-22 10: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-22 10:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:14:27] 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-22 10: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-22 10: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-22 10:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567585536001,"66":25593,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567585536001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:14:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567585536001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":160848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:14:27] local.INFO: GPS data processed {"connection_id":160848,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:14:27] local.INFO: Acknowledgment sent {"connection_id":160848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:14:30] local.INFO: TCP Data received {"connection_id":160849,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:14:30] local.INFO: Processing buffer {"connection_id":160849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:14:30] local.INFO: Packet analysis {"connection_id":160849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:14:30] local.INFO: Extracted packet for processing {"connection_id":160849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:14:30] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119644584,"longitude_deg":75.6554176,"latitude_deg":11.9644584,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d1819c0","hex_latitude":"0721a1a8","is_valid_coordinates":true} 
[2026-08-22 10:14: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-22 10:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567695360001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787373817000,"timestamp_ms":1787373817000,"timestamp_seconds":1787373817,"priority":1,"record_length":96,"hex_timestamp":"000001a027c80ca8"} 
[2026-08-22 10: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-22 10:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 10: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 10:14:30] 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-22 10: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-22 10: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-22 10:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:14:30] 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-22 10:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567695360001,"66":13254,"105":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567695360001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:14:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:14:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567695360001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":160849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:14:30] local.INFO: GPS data processed {"connection_id":160849,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:14:30] local.INFO: Acknowledgment sent {"connection_id":160849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:14:49] local.INFO: TCP Data received {"connection_id":162276,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:14:49] local.INFO: Processing buffer {"connection_id":162276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:14:49] local.INFO: IMEI packet received {"connection_id":162276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":162276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:14:53] local.INFO: TCP Data received {"connection_id":159701,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:14:53] local.INFO: Processing buffer {"connection_id":159701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:14:53] local.INFO: IMEI packet received {"connection_id":159701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":159701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:14:54] local.INFO: TCP Data received {"connection_id":162276,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:14:54] local.INFO: Processing buffer {"connection_id":162276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:14:54] local.INFO: IMEI packet received {"connection_id":162276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":162276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:14:55] local.INFO: TCP Data received {"connection_id":162276,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:14:55] local.INFO: Processing buffer {"connection_id":162276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:14:55] local.INFO: Packet analysis {"connection_id":162276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:14:55] local.INFO: Extracted packet for processing {"connection_id":162276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567585536001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:14: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-22 10:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787373682000,"timestamp_ms":1787373682000,"timestamp_seconds":1787373682,"priority":1,"record_length":96,"hex_timestamp":"000001a027c5fd50"} 
[2026-08-22 10: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-22 10:14: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-22 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:14: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-22 10: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-22 10: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-22 10:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567585536001,"66":25593,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567585536001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:14:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:14:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567585536001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":162276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:14:55] local.INFO: GPS data processed {"connection_id":162276,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:14:55] local.INFO: Acknowledgment sent {"connection_id":162276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:14:58] local.INFO: TCP Data received {"connection_id":159701,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:14:58] local.INFO: Processing buffer {"connection_id":159701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:14:58] local.INFO: IMEI packet received {"connection_id":159701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":159701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:14:59] local.INFO: TCP Data received {"connection_id":159701,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:14:59] local.INFO: Processing buffer {"connection_id":159701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:14:59] local.INFO: Packet analysis {"connection_id":159701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:14:59] local.INFO: Extracted packet for processing {"connection_id":159701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119644584,"longitude_deg":75.6554176,"latitude_deg":11.9644584,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d1819c0","hex_latitude":"0721a1a8","is_valid_coordinates":true} 
[2026-08-22 10:14:59] 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-22 10:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787373817000,"timestamp_ms":1787373817000,"timestamp_seconds":1787373817,"priority":1,"record_length":96,"hex_timestamp":"000001a027c80ca8"} 
[2026-08-22 10: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-22 10:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:14:59] 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-22 10: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-22 10: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-22 10:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:14: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-22 10:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":13254,"105":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:14:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:14:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":159701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:14:59] local.INFO: GPS data processed {"connection_id":159701,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:14:59] local.INFO: Acknowledgment sent {"connection_id":159701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:15:26] local.INFO: TCP Data received {"connection_id":162276,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:15:26] local.INFO: Processing buffer {"connection_id":162276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:15:26] local.INFO: Packet analysis {"connection_id":162276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:15:26] local.INFO: Extracted packet for processing {"connection_id":162276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:15:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567585536001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:15: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-22 10:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787373682000,"timestamp_ms":1787373682000,"timestamp_seconds":1787373682,"priority":1,"record_length":96,"hex_timestamp":"000001a027c5fd50"} 
[2026-08-22 10: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-22 10:15: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-22 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:15:26] 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-22 10: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-22 10: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-22 10:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567585536001,"66":25593,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567585536001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:15:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:15:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567585536001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":162276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:15:26] local.INFO: GPS data processed {"connection_id":162276,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:15:26] local.INFO: Acknowledgment sent {"connection_id":162276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:15:30] local.INFO: TCP Data received {"connection_id":159701,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:15:30] local.INFO: Processing buffer {"connection_id":159701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:15:30] local.INFO: Packet analysis {"connection_id":159701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:15:30] local.INFO: Extracted packet for processing {"connection_id":159701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:15:30] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119644584,"longitude_deg":75.6554176,"latitude_deg":11.9644584,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d1819c0","hex_latitude":"0721a1a8","is_valid_coordinates":true} 
[2026-08-22 10:15:30] 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-22 10:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787373817000,"timestamp_ms":1787373817000,"timestamp_seconds":1787373817,"priority":1,"record_length":96,"hex_timestamp":"000001a027c80ca8"} 
[2026-08-22 10: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-22 10:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:15:30] 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-22 10: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-22 10: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-22 10:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:15:30] local.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-22 10:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":13254,"105":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:15:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:15:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":159701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:15:30] local.INFO: GPS data processed {"connection_id":159701,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:15:30] local.INFO: Acknowledgment sent {"connection_id":159701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:15:49] local.INFO: TCP Data received {"connection_id":159953,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:15:49] local.INFO: Processing buffer {"connection_id":159953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:15:49] local.INFO: IMEI packet received {"connection_id":159953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":159953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:15:53] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:15:53] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:15:53] local.INFO: IMEI packet received {"connection_id":159954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":159954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:15:54] local.INFO: TCP Data received {"connection_id":159953,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:15:54] local.INFO: Processing buffer {"connection_id":159953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:15:54] local.INFO: IMEI packet received {"connection_id":159953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":159953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:15:55] local.INFO: TCP Data received {"connection_id":159953,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:15:55] local.INFO: Processing buffer {"connection_id":159953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:15:55] local.INFO: Packet analysis {"connection_id":159953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:15:55] local.INFO: Extracted packet for processing {"connection_id":159953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567585536001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10: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-22 10:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787373682000,"timestamp_ms":1787373682000,"timestamp_seconds":1787373682,"priority":1,"record_length":96,"hex_timestamp":"000001a027c5fd50"} 
[2026-08-22 10: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-22 10: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-22 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:15: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-22 10: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-22 10: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-22 10:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567585536001,"66":25593,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567585536001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:15:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:15:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567585536001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":159953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:15:55] local.INFO: GPS data processed {"connection_id":159953,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:15:55] local.INFO: Acknowledgment sent {"connection_id":159953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:15:58] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:15:58] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:15:58] local.INFO: IMEI packet received {"connection_id":159954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":159954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:15:59] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:15:59] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:15:59] local.INFO: Packet analysis {"connection_id":159954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:15:59] local.INFO: Extracted packet for processing {"connection_id":159954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119644584,"longitude_deg":75.6554176,"latitude_deg":11.9644584,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d1819c0","hex_latitude":"0721a1a8","is_valid_coordinates":true} 
[2026-08-22 10:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787373817000,"timestamp_ms":1787373817000,"timestamp_seconds":1787373817,"priority":1,"record_length":96,"hex_timestamp":"000001a027c80ca8"} 
[2026-08-22 10: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-22 10:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:15:59] 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-22 10: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-22 10: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-22 10:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:15: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-22 10:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":13254,"105":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:15:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:15:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":159954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:15:59] local.INFO: GPS data processed {"connection_id":159954,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:15:59] local.INFO: Acknowledgment sent {"connection_id":159954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:16:26] local.INFO: TCP Data received {"connection_id":159953,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:16:26] local.INFO: Processing buffer {"connection_id":159953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:16:26] local.INFO: Packet analysis {"connection_id":159953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:16:26] local.INFO: Extracted packet for processing {"connection_id":159953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:16:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567585536001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:16: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-22 10:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787373682000,"timestamp_ms":1787373682000,"timestamp_seconds":1787373682,"priority":1,"record_length":96,"hex_timestamp":"000001a027c5fd50"} 
[2026-08-22 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-22 10:16: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-22 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:16:26] 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-22 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-22 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-22 10:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567585536001,"66":25593,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567585536001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:16:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:16:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567585536001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":159953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:16:26] local.INFO: GPS data processed {"connection_id":159953,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:16:26] local.INFO: Acknowledgment sent {"connection_id":159953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:16:30] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:16:30] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:16:30] local.INFO: Packet analysis {"connection_id":159954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:16:30] local.INFO: Extracted packet for processing {"connection_id":159954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:16:30] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119644584,"longitude_deg":75.6554176,"latitude_deg":11.9644584,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d1819c0","hex_latitude":"0721a1a8","is_valid_coordinates":true} 
[2026-08-22 10:16:30] 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-22 10:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787373817000,"timestamp_ms":1787373817000,"timestamp_seconds":1787373817,"priority":1,"record_length":96,"hex_timestamp":"000001a027c80ca8"} 
[2026-08-22 10: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-22 10:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:16:30] 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-22 10: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-22 10: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-22 10:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:16:30] local.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-22 10:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":13254,"105":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:16:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:16:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":159954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:16:30] local.INFO: GPS data processed {"connection_id":159954,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:16:30] local.INFO: Acknowledgment sent {"connection_id":159954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:16:53] local.INFO: TCP Data received {"connection_id":162277,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:16:53] local.INFO: Processing buffer {"connection_id":162277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:16:53] local.INFO: IMEI packet received {"connection_id":162277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":162277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:16:54] local.INFO: TCP Data received {"connection_id":160850,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:16:54] local.INFO: Processing buffer {"connection_id":160850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:16:54] local.INFO: IMEI packet received {"connection_id":160850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":160850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:16:58] local.INFO: TCP Data received {"connection_id":162277,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:16:58] local.INFO: Processing buffer {"connection_id":162277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:16:58] local.INFO: IMEI packet received {"connection_id":162277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":162277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:16:59] local.INFO: TCP Data received {"connection_id":162277,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:16:59] local.INFO: Processing buffer {"connection_id":162277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:16:59] local.INFO: Packet analysis {"connection_id":162277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:16:59] local.INFO: Extracted packet for processing {"connection_id":162277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:16:59] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119644584,"longitude_deg":75.6554176,"latitude_deg":11.9644584,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d1819c0","hex_latitude":"0721a1a8","is_valid_coordinates":true} 
[2026-08-22 10:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787373817000,"timestamp_ms":1787373817000,"timestamp_seconds":1787373817,"priority":1,"record_length":96,"hex_timestamp":"000001a027c80ca8"} 
[2026-08-22 10: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-22 10:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:16:59] 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-22 10: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-22 10: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-22 10:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:16:59] 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-22 10:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":13254,"105":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:16:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:16:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":162277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:16:59] local.INFO: GPS data processed {"connection_id":162277,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:16:59] local.INFO: Acknowledgment sent {"connection_id":162277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:16:59] local.INFO: TCP Data received {"connection_id":160850,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:16:59] local.INFO: Processing buffer {"connection_id":160850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:16:59] local.INFO: IMEI packet received {"connection_id":160850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":160850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:17:00] local.INFO: TCP Data received {"connection_id":160850,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:17:00] local.INFO: Processing buffer {"connection_id":160850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c5fd50012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:17:00] local.INFO: Packet analysis {"connection_id":160850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:17:00] local.INFO: Extracted packet for processing {"connection_id":160850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c5"} 
[2026-08-22 10:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567585536001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17: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-22 10:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787373682000,"timestamp_ms":1787373682000,"timestamp_seconds":1787373682,"priority":1,"record_length":96,"hex_timestamp":"000001a027c5fd50"} 
[2026-08-22 10: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-22 10:17: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-22 10:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:17:00] 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-22 10: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-22 10: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-22 10:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567585536001,"66":25593,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567585536001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:17:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:17:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567585536001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":160850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:17:00] local.INFO: GPS data processed {"connection_id":160850,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:17:00] local.INFO: Acknowledgment sent {"connection_id":160850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:17:01] local.INFO: TCP Data received {"connection_id":160850,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:17:01] local.INFO: Processing buffer {"connection_id":160850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:17:01] local.INFO: Packet analysis {"connection_id":160850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:17:01] local.INFO: Extracted packet for processing {"connection_id":160850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":37,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567662592001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17: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-22 10:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787373983000,"timestamp_ms":1787373983000,"timestamp_seconds":1787373983,"priority":1,"record_length":96,"hex_timestamp":"000001a027ca9518"} 
[2026-08-22 10: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-22 10:17: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-22 10: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 10:17:01] 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-22 10: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-22 10: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-22 10:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567662592001,"66":24908,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567662592001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:17:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567662592001,"power":24908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":160850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:17:01] local.INFO: GPS data processed {"connection_id":160850,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:17:01] local.INFO: Acknowledgment sent {"connection_id":160850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:17:30] local.INFO: TCP Data received {"connection_id":162277,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:17:30] local.INFO: Processing buffer {"connection_id":162277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:17:30] local.INFO: Packet analysis {"connection_id":162277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:17:30] local.INFO: Extracted packet for processing {"connection_id":162277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:17:30] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119644584,"longitude_deg":75.6554176,"latitude_deg":11.9644584,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d1819c0","hex_latitude":"0721a1a8","is_valid_coordinates":true} 
[2026-08-22 10:17:30] 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-22 10:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787373817000,"timestamp_ms":1787373817000,"timestamp_seconds":1787373817,"priority":1,"record_length":96,"hex_timestamp":"000001a027c80ca8"} 
[2026-08-22 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-22 10:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:17:30] 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-22 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-22 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-22 10:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:17:30] 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-22 10:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":13254,"105":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:17:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:17:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":162277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:17:30] local.INFO: GPS data processed {"connection_id":162277,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:17:30] local.INFO: Acknowledgment sent {"connection_id":162277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:17:34] local.INFO: TCP Data received {"connection_id":160850,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:17:34] local.INFO: Processing buffer {"connection_id":160850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:17:34] local.INFO: Packet analysis {"connection_id":160850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:17:34] local.INFO: Extracted packet for processing {"connection_id":160850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:17:34] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":37,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567662592001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10: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-22 10:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787373983000,"timestamp_ms":1787373983000,"timestamp_seconds":1787373983,"priority":1,"record_length":96,"hex_timestamp":"000001a027ca9518"} 
[2026-08-22 10: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-22 10:17: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-22 10: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 10:17: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-22 10: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-22 10: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-22 10:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567662592001,"66":24908,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567662592001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:17:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:17:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567662592001,"power":24908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":160850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:17:34] local.INFO: GPS data processed {"connection_id":160850,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:17:34] local.INFO: Acknowledgment sent {"connection_id":160850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:17:49] local.INFO: TCP Data received {"connection_id":160851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:17:49] local.INFO: Processing buffer {"connection_id":160851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:17:49] local.INFO: IMEI packet received {"connection_id":160851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":160851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:17:53] local.INFO: TCP Data received {"connection_id":159955,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:17:53] local.INFO: Processing buffer {"connection_id":159955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:17:53] local.INFO: IMEI packet received {"connection_id":159955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":159955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:17:56] local.INFO: TCP Data received {"connection_id":160851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:17:56] local.INFO: Processing buffer {"connection_id":160851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:17:56] local.INFO: IMEI packet received {"connection_id":160851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":160851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:17:57] local.INFO: TCP Data received {"connection_id":160851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:17:57] local.INFO: Processing buffer {"connection_id":160851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:17:57] local.INFO: Packet analysis {"connection_id":160851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:17:57] local.INFO: Extracted packet for processing {"connection_id":160851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:17:57] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":37,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567662592001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17: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-22 10:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787373983000,"timestamp_ms":1787373983000,"timestamp_seconds":1787373983,"priority":1,"record_length":96,"hex_timestamp":"000001a027ca9518"} 
[2026-08-22 10: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-22 10:17: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-22 10: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 10:17:57] 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-22 10: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-22 10: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-22 10:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567662592001,"66":24908,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567662592001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:17:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567662592001,"power":24908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":160851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:17:57] local.INFO: GPS data processed {"connection_id":160851,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:17:57] local.INFO: Acknowledgment sent {"connection_id":160851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:17:58] local.INFO: TCP Data received {"connection_id":159955,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:17:58] local.INFO: Processing buffer {"connection_id":159955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:17:58] local.INFO: IMEI packet received {"connection_id":159955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":159955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:17:59] local.INFO: TCP Data received {"connection_id":159955,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:17:59] local.INFO: Processing buffer {"connection_id":159955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:17:59] local.INFO: Packet analysis {"connection_id":159955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:17:59] local.INFO: Extracted packet for processing {"connection_id":159955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119644584,"longitude_deg":75.6554176,"latitude_deg":11.9644584,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d1819c0","hex_latitude":"0721a1a8","is_valid_coordinates":true} 
[2026-08-22 10:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787373817000,"timestamp_ms":1787373817000,"timestamp_seconds":1787373817,"priority":1,"record_length":96,"hex_timestamp":"000001a027c80ca8"} 
[2026-08-22 10: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-22 10:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:17:59] 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-22 10: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-22 10: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-22 10:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:17:59] 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-22 10:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":13254,"105":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:17:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:17:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":159955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:17:59] local.INFO: GPS data processed {"connection_id":159955,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:17:59] local.INFO: Acknowledgment sent {"connection_id":159955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:18:28] local.INFO: TCP Data received {"connection_id":160851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:18:28] local.INFO: Processing buffer {"connection_id":160851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:18:28] local.INFO: Packet analysis {"connection_id":160851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:18:28] local.INFO: Extracted packet for processing {"connection_id":160851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:18:28] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":37,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567662592001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:18: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-22 10:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787373983000,"timestamp_ms":1787373983000,"timestamp_seconds":1787373983,"priority":1,"record_length":96,"hex_timestamp":"000001a027ca9518"} 
[2026-08-22 10: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-22 10:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 10:18:28] 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-22 10: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-22 10: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-22 10:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567662592001,"66":24908,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567662592001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:18:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567662592001,"power":24908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":160851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:18:28] local.INFO: GPS data processed {"connection_id":160851,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:18:28] local.INFO: Acknowledgment sent {"connection_id":160851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:18:30] local.INFO: TCP Data received {"connection_id":159955,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:18:30] local.INFO: Processing buffer {"connection_id":159955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:18:30] local.INFO: Packet analysis {"connection_id":159955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:18:30] local.INFO: Extracted packet for processing {"connection_id":159955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:18:30] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119644584,"longitude_deg":75.6554176,"latitude_deg":11.9644584,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d1819c0","hex_latitude":"0721a1a8","is_valid_coordinates":true} 
[2026-08-22 10:18:30] 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-22 10:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787373817000,"timestamp_ms":1787373817000,"timestamp_seconds":1787373817,"priority":1,"record_length":96,"hex_timestamp":"000001a027c80ca8"} 
[2026-08-22 10: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-22 10:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:18:30] 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-22 10: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-22 10: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-22 10:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:18:30] 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-22 10:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":13254,"105":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:18:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:18:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":159955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:18:30] local.INFO: GPS data processed {"connection_id":159955,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:18:30] local.INFO: Acknowledgment sent {"connection_id":159955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:18:49] local.INFO: TCP Data received {"connection_id":159702,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:18:49] local.INFO: Processing buffer {"connection_id":159702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:18:49] local.INFO: IMEI packet received {"connection_id":159702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":159702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:18:54] local.INFO: TCP Data received {"connection_id":159702,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:18:54] local.INFO: Processing buffer {"connection_id":159702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:18:54] local.INFO: IMEI packet received {"connection_id":159702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":159702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:18:55] local.INFO: TCP Data received {"connection_id":159702,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:18:55] local.INFO: Processing buffer {"connection_id":159702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:18:55] local.INFO: Packet analysis {"connection_id":159702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:18:55] local.INFO: Extracted packet for processing {"connection_id":159702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":37,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567662592001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:18: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-22 10:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787373983000,"timestamp_ms":1787373983000,"timestamp_seconds":1787373983,"priority":1,"record_length":96,"hex_timestamp":"000001a027ca9518"} 
[2026-08-22 10: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-22 10: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-22 10:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 10:18: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-22 10: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-22 10: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-22 10:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567662592001,"66":24908,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567662592001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:18:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:18:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567662592001,"power":24908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":159702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:18:55] local.INFO: GPS data processed {"connection_id":159702,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:18:55] local.INFO: Acknowledgment sent {"connection_id":159702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:18:58] local.INFO: TCP Data received {"connection_id":162278,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:18:58] local.INFO: Processing buffer {"connection_id":162278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:18:58] local.INFO: IMEI packet received {"connection_id":162278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":162278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:19:03] local.INFO: TCP Data received {"connection_id":162278,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:19:03] local.INFO: Processing buffer {"connection_id":162278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:19:03] local.INFO: IMEI packet received {"connection_id":162278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":162278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:19:04] local.INFO: TCP Data received {"connection_id":162278,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:19:04] local.INFO: Processing buffer {"connection_id":162278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:19:04] local.INFO: Packet analysis {"connection_id":162278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:19:04] local.INFO: Extracted packet for processing {"connection_id":162278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119644584,"longitude_deg":75.6554176,"latitude_deg":11.9644584,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d1819c0","hex_latitude":"0721a1a8","is_valid_coordinates":true} 
[2026-08-22 10:19:04] 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-22 10:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:19:04] local.INFO: IO Element Parsed {"io_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-22 10:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787373817000,"timestamp_ms":1787373817000,"timestamp_seconds":1787373817,"priority":1,"record_length":96,"hex_timestamp":"000001a027c80ca8"} 
[2026-08-22 10: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-22 10:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:19:04] 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-22 10: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-22 10: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-22 10:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:19:04] 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-22 10:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":13254,"105":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:19:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:19:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":162278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:19:04] local.INFO: GPS data processed {"connection_id":162278,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:19:04] local.INFO: Acknowledgment sent {"connection_id":162278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:19:09] local.INFO: TCP Data received {"connection_id":162278,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:19:09] local.INFO: Processing buffer {"connection_id":162278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027c80ca8012d1819c00721a1a8004c001c26..."} 
[2026-08-22 10:19:09] local.INFO: Packet analysis {"connection_id":162278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:19:09] local.INFO: Extracted packet for processing {"connection_id":162278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027c8"} 
[2026-08-22 10:19:09] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119644584,"longitude_deg":75.6554176,"latitude_deg":11.9644584,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d1819c0","hex_latitude":"0721a1a8","is_valid_coordinates":true} 
[2026-08-22 10:19: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-22 10:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:19:09] local.INFO: IO Element Parsed {"io_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-22 10:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787373817000,"timestamp_ms":1787373817000,"timestamp_seconds":1787373817,"priority":1,"record_length":96,"hex_timestamp":"000001a027c80ca8"} 
[2026-08-22 10: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-22 10:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:19:09] 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-22 10: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-22 10: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-22 10:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:19:09] 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-22 10:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":13254,"105":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:19:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:19:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":162278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:19:09] local.INFO: GPS data processed {"connection_id":162278,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:19:09] local.INFO: Acknowledgment sent {"connection_id":162278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:19:26] local.INFO: TCP Data received {"connection_id":159702,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:19:26] local.INFO: Processing buffer {"connection_id":159702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:19:26] local.INFO: Packet analysis {"connection_id":159702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:19:26] local.INFO: Extracted packet for processing {"connection_id":159702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:19:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":37,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567662592001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:19: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-22 10:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787373983000,"timestamp_ms":1787373983000,"timestamp_seconds":1787373983,"priority":1,"record_length":96,"hex_timestamp":"000001a027ca9518"} 
[2026-08-22 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-22 10:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 10:19:26] 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-22 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-22 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-22 10:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567662592001,"66":24908,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567662592001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:19:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:19:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567662592001,"power":24908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":159702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:19:26] local.INFO: GPS data processed {"connection_id":159702,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:19:26] local.INFO: Acknowledgment sent {"connection_id":159702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:19:49] local.INFO: TCP Data received {"connection_id":159956,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:19:49] local.INFO: Processing buffer {"connection_id":159956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:19:49] local.INFO: IMEI packet received {"connection_id":159956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":159956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:19:53] local.INFO: TCP Data received {"connection_id":159703,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:19:53] local.INFO: Processing buffer {"connection_id":159703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:19:53] local.INFO: IMEI packet received {"connection_id":159703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":159703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:19:54] local.INFO: TCP Data received {"connection_id":159956,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:19:54] local.INFO: Processing buffer {"connection_id":159956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:19:54] local.INFO: IMEI packet received {"connection_id":159956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":159956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:19:55] local.INFO: TCP Data received {"connection_id":159956,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:19:55] local.INFO: Processing buffer {"connection_id":159956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:19:55] local.INFO: Packet analysis {"connection_id":159956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:19:55] local.INFO: Extracted packet for processing {"connection_id":159956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":37,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567662592001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:19: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-22 10:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787373983000,"timestamp_ms":1787373983000,"timestamp_seconds":1787373983,"priority":1,"record_length":96,"hex_timestamp":"000001a027ca9518"} 
[2026-08-22 10:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:19: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-22 10:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 10:19: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-22 10:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567662592001,"66":24908,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567662592001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:19:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:19:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567662592001,"power":24908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":159956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:19:55] local.INFO: GPS data processed {"connection_id":159956,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:19:55] local.INFO: Acknowledgment sent {"connection_id":159956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:19:58] local.INFO: TCP Data received {"connection_id":159703,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:19:58] local.INFO: Processing buffer {"connection_id":159703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:19:58] local.INFO: IMEI packet received {"connection_id":159703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":159703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:19:59] local.INFO: TCP Data received {"connection_id":159703,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:19:59] local.INFO: Processing buffer {"connection_id":159703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:19:59] local.INFO: Packet analysis {"connection_id":159703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:19:59] local.INFO: Extracted packet for processing {"connection_id":159703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787374121000,"timestamp_ms":1787374121000,"timestamp_seconds":1787374121,"priority":1,"record_length":96,"hex_timestamp":"000001a027ccb028"} 
[2026-08-22 10: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-22 10:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:19:59] 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-22 10: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-22 10: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-22 10:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:19:59] 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-22 10:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:19:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:19:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":159703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:19:59] local.INFO: GPS data processed {"connection_id":159703,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:19:59] local.INFO: Acknowledgment sent {"connection_id":159703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:20:27] local.INFO: TCP Data received {"connection_id":159956,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:20:27] local.INFO: Processing buffer {"connection_id":159956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:20:27] local.INFO: Packet analysis {"connection_id":159956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:20:27] local.INFO: Extracted packet for processing {"connection_id":159956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":37,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567662592001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:20: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-22 10:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787373983000,"timestamp_ms":1787373983000,"timestamp_seconds":1787373983,"priority":1,"record_length":96,"hex_timestamp":"000001a027ca9518"} 
[2026-08-22 10:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 10:20:27] 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-22 10:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567662592001,"66":24908,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567662592001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:20:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:20:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567662592001,"power":24908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":159956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:20:27] local.INFO: GPS data processed {"connection_id":159956,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:20:27] local.INFO: Acknowledgment sent {"connection_id":159956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:20:42] local.INFO: TCP Data received {"connection_id":159703,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:20:42] local.INFO: Processing buffer {"connection_id":159703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:20:42] local.INFO: Packet analysis {"connection_id":159703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:20:42] local.INFO: Extracted packet for processing {"connection_id":159703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:20:42] 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-22 10:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787374121000,"timestamp_ms":1787374121000,"timestamp_seconds":1787374121,"priority":1,"record_length":96,"hex_timestamp":"000001a027ccb028"} 
[2026-08-22 10: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-22 10:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:20:42] 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-22 10: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-22 10: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-22 10:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:20:42] 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-22 10:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:20:42] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":159703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:20:42] local.INFO: GPS data processed {"connection_id":159703,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:20:42] local.INFO: Acknowledgment sent {"connection_id":159703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:20:53] local.INFO: TCP Data received {"connection_id":162279,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:20:53] local.INFO: Processing buffer {"connection_id":162279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:20:53] local.INFO: IMEI packet received {"connection_id":162279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":162279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:20:54] local.INFO: TCP Data received {"connection_id":160852,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:20:54] local.INFO: Processing buffer {"connection_id":160852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:20:54] local.INFO: IMEI packet received {"connection_id":160852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":160852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:20:58] local.INFO: TCP Data received {"connection_id":162279,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:20:58] local.INFO: Processing buffer {"connection_id":162279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:20:58] local.INFO: IMEI packet received {"connection_id":162279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":162279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:20:59] local.INFO: TCP Data received {"connection_id":162279,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:20:59] local.INFO: Processing buffer {"connection_id":162279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:20:59] local.INFO: Packet analysis {"connection_id":162279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:20:59] local.INFO: Extracted packet for processing {"connection_id":162279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787374121000,"timestamp_ms":1787374121000,"timestamp_seconds":1787374121,"priority":1,"record_length":96,"hex_timestamp":"000001a027ccb028"} 
[2026-08-22 10: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-22 10:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:20:59] 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-22 10: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-22 10: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-22 10:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:20:59] 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-22 10:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:20:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":162279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:20:59] local.INFO: GPS data processed {"connection_id":162279,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:20:59] local.INFO: Acknowledgment sent {"connection_id":162279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:20:59] local.INFO: TCP Data received {"connection_id":160852,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:20:59] local.INFO: Processing buffer {"connection_id":160852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:20:59] local.INFO: IMEI packet received {"connection_id":160852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":160852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:21:00] local.INFO: TCP Data received {"connection_id":160852,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:21:00] local.INFO: Processing buffer {"connection_id":160852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:21:00] local.INFO: Packet analysis {"connection_id":160852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:21:00] local.INFO: Extracted packet for processing {"connection_id":160852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":37,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567662592001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:21: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-22 10:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787373983000,"timestamp_ms":1787373983000,"timestamp_seconds":1787373983,"priority":1,"record_length":96,"hex_timestamp":"000001a027ca9518"} 
[2026-08-22 10: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-22 10: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-22 10: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 10:21:00] 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-22 10: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-22 10: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-22 10:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567662592001,"66":24908,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567662592001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:21:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:21:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567662592001,"power":24908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":160852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:21:00] local.INFO: GPS data processed {"connection_id":160852,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:21:00] local.INFO: Acknowledgment sent {"connection_id":160852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:21:05] local.INFO: TCP Data received {"connection_id":160852,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:21:05] local.INFO: Processing buffer {"connection_id":160852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:21:05] local.INFO: Packet analysis {"connection_id":160852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:21:05] local.INFO: Extracted packet for processing {"connection_id":160852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":37,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567662592001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:21:05] 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-22 10:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787373983000,"timestamp_ms":1787373983000,"timestamp_seconds":1787373983,"priority":1,"record_length":96,"hex_timestamp":"000001a027ca9518"} 
[2026-08-22 10:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:21: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-22 10:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 10:21:05] 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-22 10:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567662592001,"66":24908,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567662592001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:21:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:21:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567662592001,"power":24908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":160852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:21:05] local.INFO: GPS data processed {"connection_id":160852,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:21:05] local.INFO: Acknowledgment sent {"connection_id":160852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:21:30] local.INFO: TCP Data received {"connection_id":162279,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:21:30] local.INFO: Processing buffer {"connection_id":162279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:21:30] local.INFO: Packet analysis {"connection_id":162279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:21:30] local.INFO: Extracted packet for processing {"connection_id":162279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:21:30] 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-22 10:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787374121000,"timestamp_ms":1787374121000,"timestamp_seconds":1787374121,"priority":1,"record_length":96,"hex_timestamp":"000001a027ccb028"} 
[2026-08-22 10: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-22 10:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:21:30] 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-22 10: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-22 10: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-22 10:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:21:30] 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-22 10:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:21:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":162279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:21:30] local.INFO: GPS data processed {"connection_id":162279,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:21:30] local.INFO: Acknowledgment sent {"connection_id":162279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:21:49] local.INFO: TCP Data received {"connection_id":159704,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:21:49] local.INFO: Processing buffer {"connection_id":159704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:21:49] local.INFO: IMEI packet received {"connection_id":159704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":159704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:21:53] local.INFO: TCP Data received {"connection_id":159957,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:21:53] local.INFO: Processing buffer {"connection_id":159957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:21:53] local.INFO: IMEI packet received {"connection_id":159957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":159957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:21:54] local.INFO: TCP Data received {"connection_id":159704,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:21:54] local.INFO: Processing buffer {"connection_id":159704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:21:54] local.INFO: IMEI packet received {"connection_id":159704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":159704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:21:55] local.INFO: TCP Data received {"connection_id":159704,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:21:55] local.INFO: Processing buffer {"connection_id":159704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ca9518012d7f88c005afdea8000000d825..."} 
[2026-08-22 10:21:55] local.INFO: Packet analysis {"connection_id":159704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:21:55] local.INFO: Extracted packet for processing {"connection_id":159704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ca"} 
[2026-08-22 10:21:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":37,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567662592001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:21: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-22 10:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787373983000,"timestamp_ms":1787373983000,"timestamp_seconds":1787373983,"priority":1,"record_length":96,"hex_timestamp":"000001a027ca9518"} 
[2026-08-22 10:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10: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-22 10:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 10:21: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-22 10:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567662592001,"66":24908,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567662592001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:21:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:21:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567662592001,"power":24908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":159704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:21:55] local.INFO: GPS data processed {"connection_id":159704,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:21:55] local.INFO: Acknowledgment sent {"connection_id":159704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:21:58] local.INFO: TCP Data received {"connection_id":159957,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:21:58] local.INFO: Processing buffer {"connection_id":159957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:21:58] local.INFO: IMEI packet received {"connection_id":159957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":159957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:21:59] local.INFO: TCP Data received {"connection_id":159957,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:21:59] local.INFO: Processing buffer {"connection_id":159957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:21:59] local.INFO: Packet analysis {"connection_id":159957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:21:59] local.INFO: Extracted packet for processing {"connection_id":159957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787374121000,"timestamp_ms":1787374121000,"timestamp_seconds":1787374121,"priority":1,"record_length":96,"hex_timestamp":"000001a027ccb028"} 
[2026-08-22 10: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-22 10:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:21:59] 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-22 10: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-22 10: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-22 10:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:21:59] 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-22 10:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:21:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":159957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:21:59] local.INFO: GPS data processed {"connection_id":159957,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:21:59] local.INFO: Acknowledgment sent {"connection_id":159957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:22:27] local.INFO: TCP Data received {"connection_id":159704,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:22:27] local.INFO: Processing buffer {"connection_id":159704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:22:27] local.INFO: Packet analysis {"connection_id":159704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:22:27] local.INFO: Extracted packet for processing {"connection_id":159704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567739648001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787374285000,"timestamp_ms":1787374285000,"timestamp_seconds":1787374285,"priority":1,"record_length":96,"hex_timestamp":"000001a027cf30c8"} 
[2026-08-22 10:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-22 10:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567739648001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567739648001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:22:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567739648001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":159704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:22:27] local.INFO: GPS data processed {"connection_id":159704,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:22:27] local.INFO: Acknowledgment sent {"connection_id":159704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:22:30] local.INFO: TCP Data received {"connection_id":159957,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:22:30] local.INFO: Processing buffer {"connection_id":159957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:22:30] local.INFO: Packet analysis {"connection_id":159957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:22:30] local.INFO: Extracted packet for processing {"connection_id":159957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:22:30] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:22:30] 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-22 10:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787374121000,"timestamp_ms":1787374121000,"timestamp_seconds":1787374121,"priority":1,"record_length":96,"hex_timestamp":"000001a027ccb028"} 
[2026-08-22 10: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-22 10:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:22:30] 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-22 10: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-22 10: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-22 10:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:22:30] 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-22 10:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:22:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:22:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":159957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:22:30] local.INFO: GPS data processed {"connection_id":159957,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:22:30] local.INFO: Acknowledgment sent {"connection_id":159957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:22:50] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:22:50] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:22:50] local.INFO: IMEI packet received {"connection_id":159958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":159958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:22:53] local.INFO: TCP Data received {"connection_id":160853,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:22:53] local.INFO: Processing buffer {"connection_id":160853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:22:53] local.INFO: IMEI packet received {"connection_id":160853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":160853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:22:54] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:22:54] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:22:54] local.INFO: IMEI packet received {"connection_id":159958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":159958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:22:55] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:22:55] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:22:55] local.INFO: Packet analysis {"connection_id":159958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:22:55] local.INFO: Extracted packet for processing {"connection_id":159958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:22:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567739648001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787374285000,"timestamp_ms":1787374285000,"timestamp_seconds":1787374285,"priority":1,"record_length":96,"hex_timestamp":"000001a027cf30c8"} 
[2026-08-22 10: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-22 10:22: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-22 10: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-22 10:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567739648001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567739648001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:22:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:22:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567739648001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":159958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:22:55] local.INFO: GPS data processed {"connection_id":159958,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:22:55] local.INFO: Acknowledgment sent {"connection_id":159958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:22:58] local.INFO: TCP Data received {"connection_id":160853,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:22:58] local.INFO: Processing buffer {"connection_id":160853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:22:58] local.INFO: IMEI packet received {"connection_id":160853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":160853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:22:59] local.INFO: TCP Data received {"connection_id":160853,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:22:59] local.INFO: Processing buffer {"connection_id":160853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:22:59] local.INFO: Packet analysis {"connection_id":160853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:22:59] local.INFO: Extracted packet for processing {"connection_id":160853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787374121000,"timestamp_ms":1787374121000,"timestamp_seconds":1787374121,"priority":1,"record_length":96,"hex_timestamp":"000001a027ccb028"} 
[2026-08-22 10: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-22 10:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:22:59] 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-22 10: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-22 10: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-22 10:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:22:59] 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-22 10:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:22:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":160853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:22:59] local.INFO: GPS data processed {"connection_id":160853,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:22:59] local.INFO: Acknowledgment sent {"connection_id":160853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:23:26] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:23:26] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:23:26] local.INFO: Packet analysis {"connection_id":159958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:23:26] local.INFO: Extracted packet for processing {"connection_id":159958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:23:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567739648001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787374285000,"timestamp_ms":1787374285000,"timestamp_seconds":1787374285,"priority":1,"record_length":96,"hex_timestamp":"000001a027cf30c8"} 
[2026-08-22 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-22 10:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-22 10:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 10:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567739648001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567739648001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:23:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:23:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567739648001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":159958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:23:26] local.INFO: GPS data processed {"connection_id":159958,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:23:26] local.INFO: Acknowledgment sent {"connection_id":159958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:23:30] local.INFO: TCP Data received {"connection_id":160853,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:23:30] local.INFO: Processing buffer {"connection_id":160853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:23:30] local.INFO: Packet analysis {"connection_id":160853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:23:30] local.INFO: Extracted packet for processing {"connection_id":160853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:23:30] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:23:30] 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-22 10:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787374121000,"timestamp_ms":1787374121000,"timestamp_seconds":1787374121,"priority":1,"record_length":96,"hex_timestamp":"000001a027ccb028"} 
[2026-08-22 10: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-22 10:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:23:30] 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-22 10: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-22 10: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-22 10:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:23:30] 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-22 10:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:23:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:23:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":160853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:23:30] local.INFO: GPS data processed {"connection_id":160853,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:23:30] local.INFO: Acknowledgment sent {"connection_id":160853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:23:54] local.INFO: TCP Data received {"connection_id":160854,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:23:54] local.INFO: Processing buffer {"connection_id":160854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:23:54] local.INFO: IMEI packet received {"connection_id":160854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":160854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:23:58] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:23:58] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:23:58] local.INFO: IMEI packet received {"connection_id":159959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":159959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:24:00] local.INFO: TCP Data received {"connection_id":160854,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:24:00] local.INFO: Processing buffer {"connection_id":160854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:24:00] local.INFO: IMEI packet received {"connection_id":160854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":160854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:24:00] local.INFO: TCP Data received {"connection_id":160854,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:24:00] local.INFO: Processing buffer {"connection_id":160854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:24:00] local.INFO: Packet analysis {"connection_id":160854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:24:00] local.INFO: Extracted packet for processing {"connection_id":160854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567739648001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787374285000,"timestamp_ms":1787374285000,"timestamp_seconds":1787374285,"priority":1,"record_length":96,"hex_timestamp":"000001a027cf30c8"} 
[2026-08-22 10: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-22 10:24: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-22 10: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-22 10:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567739648001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567739648001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:24:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567739648001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":160854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:24:00] local.INFO: GPS data processed {"connection_id":160854,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:24:00] local.INFO: Acknowledgment sent {"connection_id":160854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:24:03] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:24:03] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:24:03] local.INFO: IMEI packet received {"connection_id":159959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":159959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:24:04] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:24:04] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:24:04] local.INFO: Packet analysis {"connection_id":159959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:24:04] local.INFO: Extracted packet for processing {"connection_id":159959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:24:04] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:04] 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-22 10:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787374121000,"timestamp_ms":1787374121000,"timestamp_seconds":1787374121,"priority":1,"record_length":96,"hex_timestamp":"000001a027ccb028"} 
[2026-08-22 10: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-22 10:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:24:04] 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-22 10: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-22 10: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-22 10:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:24:04] 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-22 10:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:24:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:24:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":159959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:24:04] local.INFO: GPS data processed {"connection_id":159959,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:24:04] local.INFO: Acknowledgment sent {"connection_id":159959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:24:09] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:24:09] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ccb028012d18164007219e80004c001c26..."} 
[2026-08-22 10:24:09] local.INFO: Packet analysis {"connection_id":159959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:24:09] local.INFO: Extracted packet for processing {"connection_id":159959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cc"} 
[2026-08-22 10:24:09] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":38,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567697152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268189583360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:09] 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-22 10:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787374121000,"timestamp_ms":1787374121000,"timestamp_seconds":1787374121,"priority":1,"record_length":96,"hex_timestamp":"000001a027ccb028"} 
[2026-08-22 10: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-22 10:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 10:24:09] 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-22 10: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-22 10: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-22 10:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:24:09] 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-22 10:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567697152001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1736630268189583360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567697152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:24:09] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:24:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268189583360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567697152001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736630268189583360}} 
[2026-08-22 10:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":159959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:24:09] local.INFO: GPS data processed {"connection_id":159959,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:24:09] local.INFO: Acknowledgment sent {"connection_id":159959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:24:32] local.INFO: TCP Data received {"connection_id":160854,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:24:32] local.INFO: Processing buffer {"connection_id":160854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:24:32] local.INFO: Packet analysis {"connection_id":160854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:24:32] local.INFO: Extracted packet for processing {"connection_id":160854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:24: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-22 10:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567739648001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787374285000,"timestamp_ms":1787374285000,"timestamp_seconds":1787374285,"priority":1,"record_length":96,"hex_timestamp":"000001a027cf30c8"} 
[2026-08-22 10:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:24: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-22 10:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-22 10:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:24: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-22 10:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567739648001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567739648001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:24:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567739648001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":160854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:24:32] local.INFO: GPS data processed {"connection_id":160854,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:24:32] local.INFO: Acknowledgment sent {"connection_id":160854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:24:49] local.INFO: TCP Data received {"connection_id":159705,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:24:49] local.INFO: Processing buffer {"connection_id":159705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:24:49] local.INFO: IMEI packet received {"connection_id":159705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":159705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:24:53] local.INFO: TCP Data received {"connection_id":160855,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:24:53] local.INFO: Processing buffer {"connection_id":160855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:24:53] local.INFO: IMEI packet received {"connection_id":160855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":160855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:24:54] local.INFO: TCP Data received {"connection_id":159705,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:24:54] local.INFO: Processing buffer {"connection_id":159705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:24:54] local.INFO: IMEI packet received {"connection_id":159705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":159705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:24:55] local.INFO: TCP Data received {"connection_id":159705,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:24:55] local.INFO: Processing buffer {"connection_id":159705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:24:55] local.INFO: Packet analysis {"connection_id":159705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:24:55] local.INFO: Extracted packet for processing {"connection_id":159705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567739648001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787374285000,"timestamp_ms":1787374285000,"timestamp_seconds":1787374285,"priority":1,"record_length":96,"hex_timestamp":"000001a027cf30c8"} 
[2026-08-22 10: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-22 10:24: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-22 10: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-22 10:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567739648001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567739648001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:24:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567739648001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":159705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:24:55] local.INFO: GPS data processed {"connection_id":159705,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:24:55] local.INFO: Acknowledgment sent {"connection_id":159705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:24:58] local.INFO: TCP Data received {"connection_id":160855,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:24:58] local.INFO: Processing buffer {"connection_id":160855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:24:58] local.INFO: IMEI packet received {"connection_id":160855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":160855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:24:59] local.INFO: TCP Data received {"connection_id":160855,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:24:59] local.INFO: Processing buffer {"connection_id":160855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:24:59] local.INFO: Packet analysis {"connection_id":160855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:24:59] local.INFO: Extracted packet for processing {"connection_id":160855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:24:59] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":39,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567774976001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787374422000,"timestamp_ms":1787374422000,"timestamp_seconds":1787374422,"priority":1,"record_length":96,"hex_timestamp":"000001a027d147f0"} 
[2026-08-22 10: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-22 10:24:59] 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-22 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10: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-22 10: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-22 10:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:24:59] 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-22 10:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567774976001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567774976001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:24:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:24:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567774976001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":160855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:24:59] local.INFO: GPS data processed {"connection_id":160855,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:24:59] local.INFO: Acknowledgment sent {"connection_id":160855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:25:27] local.INFO: TCP Data received {"connection_id":159705,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:25:27] local.INFO: Processing buffer {"connection_id":159705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:25:27] local.INFO: Packet analysis {"connection_id":159705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:25:27] local.INFO: Extracted packet for processing {"connection_id":159705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567739648001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787374285000,"timestamp_ms":1787374285000,"timestamp_seconds":1787374285,"priority":1,"record_length":96,"hex_timestamp":"000001a027cf30c8"} 
[2026-08-22 10: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-22 10:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-22 10:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567739648001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567739648001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:25:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567739648001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":159705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:25:27] local.INFO: GPS data processed {"connection_id":159705,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:25:27] local.INFO: Acknowledgment sent {"connection_id":159705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:25:30] local.INFO: TCP Data received {"connection_id":160855,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:25:30] local.INFO: Processing buffer {"connection_id":160855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:25:30] local.INFO: Packet analysis {"connection_id":160855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:25:30] local.INFO: Extracted packet for processing {"connection_id":160855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:25:30] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":39,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567774976001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:25:30] 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-22 10:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787374422000,"timestamp_ms":1787374422000,"timestamp_seconds":1787374422,"priority":1,"record_length":96,"hex_timestamp":"000001a027d147f0"} 
[2026-08-22 10: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-22 10:25:30] 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-22 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10: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-22 10: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-22 10:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:25:30] 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-22 10:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567774976001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567774976001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:25:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:25:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567774976001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":160855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:25:30] local.INFO: GPS data processed {"connection_id":160855,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:25:30] local.INFO: Acknowledgment sent {"connection_id":160855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:25:49] local.INFO: TCP Data received {"connection_id":160856,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:25:49] local.INFO: Processing buffer {"connection_id":160856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:25:49] local.INFO: IMEI packet received {"connection_id":160856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":160856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:25:53] local.INFO: TCP Data received {"connection_id":159706,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:25:53] local.INFO: Processing buffer {"connection_id":159706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:25:53] local.INFO: IMEI packet received {"connection_id":159706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":159706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:25:54] local.INFO: TCP Data received {"connection_id":160856,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:25:54] local.INFO: Processing buffer {"connection_id":160856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:25:54] local.INFO: IMEI packet received {"connection_id":160856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":160856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:25:56] local.INFO: TCP Data received {"connection_id":160856,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:25:56] local.INFO: Processing buffer {"connection_id":160856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:25:56] local.INFO: Packet analysis {"connection_id":160856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:25:56] local.INFO: Extracted packet for processing {"connection_id":160856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567739648001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787374285000,"timestamp_ms":1787374285000,"timestamp_seconds":1787374285,"priority":1,"record_length":96,"hex_timestamp":"000001a027cf30c8"} 
[2026-08-22 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-22 10:25: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-22 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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-22 10:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 10:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567739648001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567739648001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:25:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567739648001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":160856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:25:56] local.INFO: GPS data processed {"connection_id":160856,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:25:56] local.INFO: Acknowledgment sent {"connection_id":160856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:25:58] local.INFO: TCP Data received {"connection_id":159706,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:25:58] local.INFO: Processing buffer {"connection_id":159706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:25:58] local.INFO: IMEI packet received {"connection_id":159706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":159706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:25:59] local.INFO: TCP Data received {"connection_id":159706,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:25:59] local.INFO: Processing buffer {"connection_id":159706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:25:59] local.INFO: Packet analysis {"connection_id":159706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:25:59] local.INFO: Extracted packet for processing {"connection_id":159706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":39,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567774976001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787374422000,"timestamp_ms":1787374422000,"timestamp_seconds":1787374422,"priority":1,"record_length":96,"hex_timestamp":"000001a027d147f0"} 
[2026-08-22 10: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-22 10:25:59] 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-22 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10: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-22 10: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-22 10:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:25:59] 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-22 10:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567774976001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567774976001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:25:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567774976001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":159706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:25:59] local.INFO: GPS data processed {"connection_id":159706,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:25:59] local.INFO: Acknowledgment sent {"connection_id":159706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:26:30] local.INFO: TCP Data received {"connection_id":159706,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:26:30] local.INFO: Processing buffer {"connection_id":159706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:26:30] local.INFO: Packet analysis {"connection_id":159706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:26:30] local.INFO: Extracted packet for processing {"connection_id":159706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:26:30] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":39,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567774976001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:26:30] 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-22 10:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787374422000,"timestamp_ms":1787374422000,"timestamp_seconds":1787374422,"priority":1,"record_length":96,"hex_timestamp":"000001a027d147f0"} 
[2026-08-22 10: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-22 10:26:30] 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-22 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10: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-22 10: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-22 10:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:26:30] 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-22 10:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567774976001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567774976001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:26:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567774976001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":159706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:26:30] local.INFO: GPS data processed {"connection_id":159706,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:26:30] local.INFO: Acknowledgment sent {"connection_id":159706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:26:33] local.INFO: TCP Data received {"connection_id":160856,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:26:33] local.INFO: Processing buffer {"connection_id":160856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:26:33] local.INFO: Packet analysis {"connection_id":160856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:26:33] local.INFO: Extracted packet for processing {"connection_id":160856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:26: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-22 10:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567739648001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787374285000,"timestamp_ms":1787374285000,"timestamp_seconds":1787374285,"priority":1,"record_length":96,"hex_timestamp":"000001a027cf30c8"} 
[2026-08-22 10:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:26: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-22 10:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-22 10:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:26: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-22 10:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567739648001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567739648001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:26:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567739648001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":160856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:26:33] local.INFO: GPS data processed {"connection_id":160856,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:26:33] local.INFO: Acknowledgment sent {"connection_id":160856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:26:49] local.INFO: TCP Data received {"connection_id":162280,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:26:49] local.INFO: Processing buffer {"connection_id":162280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:26:49] local.INFO: IMEI packet received {"connection_id":162280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":162280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:26:53] local.INFO: TCP Data received {"connection_id":160857,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:26:53] local.INFO: Processing buffer {"connection_id":160857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:26:53] local.INFO: IMEI packet received {"connection_id":160857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":160857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:26:54] local.INFO: TCP Data received {"connection_id":162280,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:26:54] local.INFO: Processing buffer {"connection_id":162280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:26:54] local.INFO: IMEI packet received {"connection_id":162280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":162280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:26:55] local.INFO: TCP Data received {"connection_id":162280,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:26:55] local.INFO: Processing buffer {"connection_id":162280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027cf30c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:26:55] local.INFO: Packet analysis {"connection_id":162280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:26:55] local.INFO: Extracted packet for processing {"connection_id":162280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027cf"} 
[2026-08-22 10:26:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567739648001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787374285000,"timestamp_ms":1787374285000,"timestamp_seconds":1787374285,"priority":1,"record_length":96,"hex_timestamp":"000001a027cf30c8"} 
[2026-08-22 10: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-22 10:26: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-22 10: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-22 10:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567739648001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567739648001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:26:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:26:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567739648001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":162280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:26:55] local.INFO: GPS data processed {"connection_id":162280,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:26:55] local.INFO: Acknowledgment sent {"connection_id":162280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:26:58] local.INFO: TCP Data received {"connection_id":160857,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:26:58] local.INFO: Processing buffer {"connection_id":160857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:26:58] local.INFO: IMEI packet received {"connection_id":160857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":160857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:26:59] local.INFO: TCP Data received {"connection_id":160857,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:26:59] local.INFO: Processing buffer {"connection_id":160857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:26:59] local.INFO: Packet analysis {"connection_id":160857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:26:59] local.INFO: Extracted packet for processing {"connection_id":160857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":39,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567774976001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787374422000,"timestamp_ms":1787374422000,"timestamp_seconds":1787374422,"priority":1,"record_length":96,"hex_timestamp":"000001a027d147f0"} 
[2026-08-22 10: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-22 10:26:59] 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-22 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10: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-22 10: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-22 10:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:26:59] 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-22 10:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567774976001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567774976001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:26:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567774976001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":160857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:26:59] local.INFO: GPS data processed {"connection_id":160857,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:26:59] local.INFO: Acknowledgment sent {"connection_id":160857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:27:26] local.INFO: TCP Data received {"connection_id":162280,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:27:26] local.INFO: Processing buffer {"connection_id":162280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:27:26] local.INFO: Packet analysis {"connection_id":162280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:27:26] local.INFO: Extracted packet for processing {"connection_id":162280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:27:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567816960001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:27: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-22 10:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787374585000,"timestamp_ms":1787374585000,"timestamp_seconds":1787374585,"priority":1,"record_length":96,"hex_timestamp":"000001a027d3c4a8"} 
[2026-08-22 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-22 10:27: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-22 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:27:26] 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-22 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-22 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-22 10:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567816960001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567816960001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:27:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:27:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567816960001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":162280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:27:26] local.INFO: GPS data processed {"connection_id":162280,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:27:26] local.INFO: Acknowledgment sent {"connection_id":162280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:27:30] local.INFO: TCP Data received {"connection_id":160857,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:27:30] local.INFO: Processing buffer {"connection_id":160857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:27:30] local.INFO: Packet analysis {"connection_id":160857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:27:30] local.INFO: Extracted packet for processing {"connection_id":160857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:27:30] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":39,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567774976001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:27:30] 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-22 10:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787374422000,"timestamp_ms":1787374422000,"timestamp_seconds":1787374422,"priority":1,"record_length":96,"hex_timestamp":"000001a027d147f0"} 
[2026-08-22 10: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-22 10:27:30] 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-22 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10: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-22 10: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-22 10:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:27:30] 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-22 10:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567774976001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567774976001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:27:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567774976001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":160857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:27:30] local.INFO: GPS data processed {"connection_id":160857,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:27:30] local.INFO: Acknowledgment sent {"connection_id":160857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:27:53] local.INFO: TCP Data received {"connection_id":159708,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:27:53] local.INFO: Processing buffer {"connection_id":159708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:27:53] local.INFO: IMEI packet received {"connection_id":159708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":159708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:27:54] local.INFO: TCP Data received {"connection_id":159707,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:27:54] local.INFO: Processing buffer {"connection_id":159707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:27:54] local.INFO: IMEI packet received {"connection_id":159707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":159707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:27:58] local.INFO: TCP Data received {"connection_id":159708,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:27:58] local.INFO: Processing buffer {"connection_id":159708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:27:58] local.INFO: IMEI packet received {"connection_id":159708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":159708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:27:59] local.INFO: TCP Data received {"connection_id":159708,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:27:59] local.INFO: Processing buffer {"connection_id":159708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:27:59] local.INFO: Packet analysis {"connection_id":159708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:27:59] local.INFO: Extracted packet for processing {"connection_id":159708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":39,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567774976001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787374422000,"timestamp_ms":1787374422000,"timestamp_seconds":1787374422,"priority":1,"record_length":96,"hex_timestamp":"000001a027d147f0"} 
[2026-08-22 10: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-22 10:27:59] 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-22 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10: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-22 10: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-22 10:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:27:59] 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-22 10:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567774976001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567774976001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:27:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567774976001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":159708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:27:59] local.INFO: GPS data processed {"connection_id":159708,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:27:59] local.INFO: Acknowledgment sent {"connection_id":159708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:27:59] local.INFO: TCP Data received {"connection_id":159707,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:27:59] local.INFO: Processing buffer {"connection_id":159707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:27:59] local.INFO: IMEI packet received {"connection_id":159707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":159707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:28:00] local.INFO: TCP Data received {"connection_id":159707,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:28:00] local.INFO: Processing buffer {"connection_id":159707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:28:00] local.INFO: Packet analysis {"connection_id":159707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:28:00] local.INFO: Extracted packet for processing {"connection_id":159707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567816960001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:28: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-22 10:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787374585000,"timestamp_ms":1787374585000,"timestamp_seconds":1787374585,"priority":1,"record_length":96,"hex_timestamp":"000001a027d3c4a8"} 
[2026-08-22 10: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-22 10:28: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-22 10:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:28: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-22 10: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-22 10: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-22 10:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567816960001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567816960001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:28:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:28:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567816960001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":159707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:28:00] local.INFO: GPS data processed {"connection_id":159707,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:28:00] local.INFO: Acknowledgment sent {"connection_id":159707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:28:04] local.INFO: TCP Data received {"connection_id":159707,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:28:04] local.INFO: Processing buffer {"connection_id":159707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:28:04] local.INFO: Packet analysis {"connection_id":159707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:28:04] local.INFO: Extracted packet for processing {"connection_id":159707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567816960001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:28:04] 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-22 10:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787374585000,"timestamp_ms":1787374585000,"timestamp_seconds":1787374585,"priority":1,"record_length":96,"hex_timestamp":"000001a027d3c4a8"} 
[2026-08-22 10: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-22 10:28: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-22 10:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:28: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-22 10: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-22 10: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-22 10:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567816960001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567816960001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:28:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:28:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567816960001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":159707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:28:04] local.INFO: GPS data processed {"connection_id":159707,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:28:04] local.INFO: Acknowledgment sent {"connection_id":159707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:28:30] local.INFO: TCP Data received {"connection_id":159708,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:28:30] local.INFO: Processing buffer {"connection_id":159708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:28:30] local.INFO: Packet analysis {"connection_id":159708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:28:30] local.INFO: Extracted packet for processing {"connection_id":159708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:28:30] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":39,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 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-22 10:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567774976001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:28:30] 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-22 10:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787374422000,"timestamp_ms":1787374422000,"timestamp_seconds":1787374422,"priority":1,"record_length":96,"hex_timestamp":"000001a027d147f0"} 
[2026-08-22 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-22 10:28:30] 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-22 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 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-22 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-22 10:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:28:30] 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-22 10:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567774976001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567774976001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:28:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567774976001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":159708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:28:30] local.INFO: GPS data processed {"connection_id":159708,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:28:30] local.INFO: Acknowledgment sent {"connection_id":159708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:28:49] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:28:49] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:28:49] local.INFO: IMEI packet received {"connection_id":159960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":159960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:28:54] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:28:54] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:28:54] local.INFO: IMEI packet received {"connection_id":159960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":159960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:28:55] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:28:55] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:28:55] local.INFO: Packet analysis {"connection_id":159960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:28:55] local.INFO: Extracted packet for processing {"connection_id":159960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567816960001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:28: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-22 10:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787374585000,"timestamp_ms":1787374585000,"timestamp_seconds":1787374585,"priority":1,"record_length":96,"hex_timestamp":"000001a027d3c4a8"} 
[2026-08-22 10:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:28: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-22 10:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:28: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-22 10:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567816960001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567816960001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:28:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:28:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567816960001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":159960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:28:55] local.INFO: GPS data processed {"connection_id":159960,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:28:55] local.INFO: Acknowledgment sent {"connection_id":159960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:28:58] local.INFO: TCP Data received {"connection_id":159709,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:28:58] local.INFO: Processing buffer {"connection_id":159709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:28:58] local.INFO: IMEI packet received {"connection_id":159709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":159709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:29:03] local.INFO: TCP Data received {"connection_id":159709,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:29:03] local.INFO: Processing buffer {"connection_id":159709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:29:03] local.INFO: IMEI packet received {"connection_id":159709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":159709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:29:04] local.INFO: TCP Data received {"connection_id":159709,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:29:04] local.INFO: Processing buffer {"connection_id":159709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:29:04] local.INFO: Packet analysis {"connection_id":159709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:29:04] local.INFO: Extracted packet for processing {"connection_id":159709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:29:04] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":39,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567774976001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:29:04] 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-22 10:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787374422000,"timestamp_ms":1787374422000,"timestamp_seconds":1787374422,"priority":1,"record_length":96,"hex_timestamp":"000001a027d147f0"} 
[2026-08-22 10:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:29:04] 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-22 10:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:29:04] 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-22 10:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567774976001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567774976001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:29:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:29:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567774976001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":159709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:29:04] local.INFO: GPS data processed {"connection_id":159709,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:29:04] local.INFO: Acknowledgment sent {"connection_id":159709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:29:08] local.INFO: TCP Data received {"connection_id":159709,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:29:08] local.INFO: Processing buffer {"connection_id":159709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d147f0012d18164007219e80004c001c27..."} 
[2026-08-22 10:29:08] local.INFO: Packet analysis {"connection_id":159709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:29:08] local.INFO: Extracted packet for processing {"connection_id":159709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d1"} 
[2026-08-22 10:29:08] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":39,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567774976001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:29:08] 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-22 10:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787374422000,"timestamp_ms":1787374422000,"timestamp_seconds":1787374422,"priority":1,"record_length":96,"hex_timestamp":"000001a027d147f0"} 
[2026-08-22 10: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-22 10:29:08] 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-22 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10: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-22 10: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-22 10:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:29:08] 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-22 10:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567774976001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567774976001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:29:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:29:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567774976001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":159709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:29:09] local.INFO: GPS data processed {"connection_id":159709,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:29:09] local.INFO: Acknowledgment sent {"connection_id":159709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:29:26] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:29:26] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:29:26] local.INFO: Packet analysis {"connection_id":159960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:29:26] local.INFO: Extracted packet for processing {"connection_id":159960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:29:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567816960001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:29: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-22 10:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787374585000,"timestamp_ms":1787374585000,"timestamp_seconds":1787374585,"priority":1,"record_length":96,"hex_timestamp":"000001a027d3c4a8"} 
[2026-08-22 10: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-22 10: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-22 10:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:29:26] 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-22 10: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-22 10: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-22 10:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567816960001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567816960001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:29:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:29:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567816960001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":159960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:29:26] local.INFO: GPS data processed {"connection_id":159960,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:29:26] local.INFO: Acknowledgment sent {"connection_id":159960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:29:49] local.INFO: TCP Data received {"connection_id":159961,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:29:49] local.INFO: Processing buffer {"connection_id":159961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:29:49] local.INFO: IMEI packet received {"connection_id":159961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":159961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:29:53] local.INFO: TCP Data received {"connection_id":159962,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:29:53] local.INFO: Processing buffer {"connection_id":159962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:29:53] local.INFO: IMEI packet received {"connection_id":159962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":159962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:29:54] local.INFO: TCP Data received {"connection_id":159961,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:29:54] local.INFO: Processing buffer {"connection_id":159961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:29:54] local.INFO: IMEI packet received {"connection_id":159961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":159961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:29:55] local.INFO: TCP Data received {"connection_id":159961,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:29:55] local.INFO: Processing buffer {"connection_id":159961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:29:55] local.INFO: Packet analysis {"connection_id":159961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:29:55] local.INFO: Extracted packet for processing {"connection_id":159961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:29:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567816960001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:29: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-22 10:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787374585000,"timestamp_ms":1787374585000,"timestamp_seconds":1787374585,"priority":1,"record_length":96,"hex_timestamp":"000001a027d3c4a8"} 
[2026-08-22 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-22 10: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-22 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:29: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-22 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-22 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-22 10:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567816960001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567816960001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:29:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:29:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567816960001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":159961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:29:55] local.INFO: GPS data processed {"connection_id":159961,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:29:55] local.INFO: Acknowledgment sent {"connection_id":159961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:29:58] local.INFO: TCP Data received {"connection_id":159962,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:29:58] local.INFO: Processing buffer {"connection_id":159962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:29:58] local.INFO: IMEI packet received {"connection_id":159962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":159962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:29:59] local.INFO: TCP Data received {"connection_id":159962,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:29:59] local.INFO: Processing buffer {"connection_id":159962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:29:59] local.INFO: Packet analysis {"connection_id":159962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d5"} 
[2026-08-22 10:29:59] local.INFO: Extracted packet for processing {"connection_id":159962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d5"} 
[2026-08-22 10:29:59] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":36,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567852032001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787374723000,"timestamp_ms":1787374723000,"timestamp_seconds":1787374723,"priority":1,"record_length":96,"hex_timestamp":"000001a027d5dfb8"} 
[2026-08-22 10: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-22 10:29:59] 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-22 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10: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-22 10: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-22 10:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:29:59] 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-22 10:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567852032001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567852032001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:29:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:29:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567852032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":159962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:29:59] local.INFO: GPS data processed {"connection_id":159962,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:29:59] local.INFO: Acknowledgment sent {"connection_id":159962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:30:26] local.INFO: TCP Data received {"connection_id":159961,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:30:26] local.INFO: Processing buffer {"connection_id":159961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:30:26] local.INFO: Packet analysis {"connection_id":159961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:30:26] local.INFO: Extracted packet for processing {"connection_id":159961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:30:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567816960001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:30: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-22 10:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787374585000,"timestamp_ms":1787374585000,"timestamp_seconds":1787374585,"priority":1,"record_length":96,"hex_timestamp":"000001a027d3c4a8"} 
[2026-08-22 10: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-22 10: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-22 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:30:26] 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-22 10: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-22 10: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-22 10:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567816960001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567816960001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:30:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:30:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567816960001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":159961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:30:26] local.INFO: GPS data processed {"connection_id":159961,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:30:26] local.INFO: Acknowledgment sent {"connection_id":159961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:30:30] local.INFO: TCP Data received {"connection_id":159962,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:30:30] local.INFO: Processing buffer {"connection_id":159962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:30:30] local.INFO: Packet analysis {"connection_id":159962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d5"} 
[2026-08-22 10:30:30] local.INFO: Extracted packet for processing {"connection_id":159962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d5"} 
[2026-08-22 10:30:30] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":36,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567852032001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:30:30] 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-22 10:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787374723000,"timestamp_ms":1787374723000,"timestamp_seconds":1787374723,"priority":1,"record_length":96,"hex_timestamp":"000001a027d5dfb8"} 
[2026-08-22 10: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-22 10:30:30] 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-22 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10: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-22 10: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-22 10:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:30:30] 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-22 10:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567852032001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567852032001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:30:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:30:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567852032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":159962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:30:30] local.INFO: GPS data processed {"connection_id":159962,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:30:30] local.INFO: Acknowledgment sent {"connection_id":159962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:30:50] local.INFO: TCP Data received {"connection_id":162281,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:30:50] local.INFO: Processing buffer {"connection_id":162281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:30:50] local.INFO: IMEI packet received {"connection_id":162281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":162281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:30:53] local.INFO: TCP Data received {"connection_id":159963,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:30:53] local.INFO: Processing buffer {"connection_id":159963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:30:53] local.INFO: IMEI packet received {"connection_id":159963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":159963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:30:54] local.INFO: TCP Data received {"connection_id":162281,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:30:54] local.INFO: Processing buffer {"connection_id":162281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:30:54] local.INFO: IMEI packet received {"connection_id":162281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":162281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:30:55] local.INFO: TCP Data received {"connection_id":162281,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:30:55] local.INFO: Processing buffer {"connection_id":162281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:30:55] local.INFO: Packet analysis {"connection_id":162281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:30:55] local.INFO: Extracted packet for processing {"connection_id":162281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:30:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567816960001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:30: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-22 10:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787374585000,"timestamp_ms":1787374585000,"timestamp_seconds":1787374585,"priority":1,"record_length":96,"hex_timestamp":"000001a027d3c4a8"} 
[2026-08-22 10: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-22 10: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-22 10: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-22 10: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-22 10: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-22 10: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-22 10:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567816960001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567816960001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:30:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:30:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567816960001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":162281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:30:55] local.INFO: GPS data processed {"connection_id":162281,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:30:55] local.INFO: Acknowledgment sent {"connection_id":162281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:30:58] local.INFO: TCP Data received {"connection_id":159963,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:30:58] local.INFO: Processing buffer {"connection_id":159963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:30:58] local.INFO: IMEI packet received {"connection_id":159963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":159963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:30:59] local.INFO: TCP Data received {"connection_id":159963,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:30:59] local.INFO: Processing buffer {"connection_id":159963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:30:59] local.INFO: Packet analysis {"connection_id":159963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d5"} 
[2026-08-22 10:30:59] local.INFO: Extracted packet for processing {"connection_id":159963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d5"} 
[2026-08-22 10:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":36,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567852032001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787374723000,"timestamp_ms":1787374723000,"timestamp_seconds":1787374723,"priority":1,"record_length":96,"hex_timestamp":"000001a027d5dfb8"} 
[2026-08-22 10: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-22 10:30:59] 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-22 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10: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-22 10: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-22 10:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:30:59] 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-22 10:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567852032001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567852032001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:30:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:30:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567852032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":159963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:30:59] local.INFO: GPS data processed {"connection_id":159963,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:30:59] local.INFO: Acknowledgment sent {"connection_id":159963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:31:27] local.INFO: TCP Data received {"connection_id":162281,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:31:27] local.INFO: Processing buffer {"connection_id":162281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:31:27] local.INFO: Packet analysis {"connection_id":162281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:31:27] local.INFO: Extracted packet for processing {"connection_id":162281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567816960001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:31: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-22 10:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787374585000,"timestamp_ms":1787374585000,"timestamp_seconds":1787374585,"priority":1,"record_length":96,"hex_timestamp":"000001a027d3c4a8"} 
[2026-08-22 10: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-22 10:31: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-22 10:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:31:27] 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-22 10: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-22 10: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-22 10:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567816960001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567816960001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:31:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567816960001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":162281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:31:27] local.INFO: GPS data processed {"connection_id":162281,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:31:27] local.INFO: Acknowledgment sent {"connection_id":162281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:31:30] local.INFO: TCP Data received {"connection_id":159963,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:31:30] local.INFO: Processing buffer {"connection_id":159963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:31:30] local.INFO: Packet analysis {"connection_id":159963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d5"} 
[2026-08-22 10:31:30] local.INFO: Extracted packet for processing {"connection_id":159963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d5"} 
[2026-08-22 10:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":36,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567852032001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:31:30] 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-22 10:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787374723000,"timestamp_ms":1787374723000,"timestamp_seconds":1787374723,"priority":1,"record_length":96,"hex_timestamp":"000001a027d5dfb8"} 
[2026-08-22 10: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-22 10:31:30] 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-22 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10: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-22 10: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-22 10:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:31:30] 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-22 10:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567852032001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567852032001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:31:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:31:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567852032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":159963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:31:30] local.INFO: GPS data processed {"connection_id":159963,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:31:30] local.INFO: Acknowledgment sent {"connection_id":159963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:31:49] local.INFO: TCP Data received {"connection_id":159710,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:31:49] local.INFO: Processing buffer {"connection_id":159710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:31:49] local.INFO: IMEI packet received {"connection_id":159710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":159710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:31:54] local.INFO: TCP Data received {"connection_id":160858,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:31:54] local.INFO: Processing buffer {"connection_id":160858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:31:54] local.INFO: IMEI packet received {"connection_id":160858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":160858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:31:54] local.INFO: TCP Data received {"connection_id":159710,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:31:54] local.INFO: Processing buffer {"connection_id":159710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:31:54] local.INFO: IMEI packet received {"connection_id":159710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":159710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:31:55] local.INFO: TCP Data received {"connection_id":159710,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:31:55] local.INFO: Processing buffer {"connection_id":159710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d3c4a8012d7f88c005afdea8000000d822..."} 
[2026-08-22 10:31:55] local.INFO: Packet analysis {"connection_id":159710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:31:55] local.INFO: Extracted packet for processing {"connection_id":159710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d3"} 
[2026-08-22 10:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567816960001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:31: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-22 10:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787374585000,"timestamp_ms":1787374585000,"timestamp_seconds":1787374585,"priority":1,"record_length":96,"hex_timestamp":"000001a027d3c4a8"} 
[2026-08-22 10: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-22 10: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-22 10: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-22 10: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-22 10: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-22 10: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-22 10:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567816960001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567816960001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:31:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:31:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567816960001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":159710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:31:55] local.INFO: GPS data processed {"connection_id":159710,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:31:55] local.INFO: Acknowledgment sent {"connection_id":159710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:31:58] local.INFO: TCP Data received {"connection_id":160858,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:31:58] local.INFO: Processing buffer {"connection_id":160858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:31:58] local.INFO: IMEI packet received {"connection_id":160858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":160858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:31:59] local.INFO: TCP Data received {"connection_id":160858,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:31:59] local.INFO: Processing buffer {"connection_id":160858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:31:59] local.INFO: Packet analysis {"connection_id":160858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d5"} 
[2026-08-22 10:31:59] local.INFO: Extracted packet for processing {"connection_id":160858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d5"} 
[2026-08-22 10:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":36,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567852032001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787374723000,"timestamp_ms":1787374723000,"timestamp_seconds":1787374723,"priority":1,"record_length":96,"hex_timestamp":"000001a027d5dfb8"} 
[2026-08-22 10: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-22 10:31:59] 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-22 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10: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-22 10: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-22 10:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:31:59] 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-22 10:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567852032001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567852032001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:31:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567852032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":160858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:31:59] local.INFO: GPS data processed {"connection_id":160858,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:31:59] local.INFO: Acknowledgment sent {"connection_id":160858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:32:26] local.INFO: TCP Data received {"connection_id":159710,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:32:26] local.INFO: Processing buffer {"connection_id":159710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:32:26] local.INFO: Packet analysis {"connection_id":159710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:32:26] local.INFO: Extracted packet for processing {"connection_id":159710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:32:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567893760001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787374886000,"timestamp_ms":1787374886000,"timestamp_seconds":1787374886,"priority":1,"record_length":96,"hex_timestamp":"000001a027d85c70"} 
[2026-08-22 10: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-22 10:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 10:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10: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-22 10:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567893760001,"66":24810,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567893760001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:32:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567893760001,"power":24810,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":159710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:32:26] local.INFO: GPS data processed {"connection_id":159710,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:32:26] local.INFO: Acknowledgment sent {"connection_id":159710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:32:30] local.INFO: TCP Data received {"connection_id":160858,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:32:30] local.INFO: Processing buffer {"connection_id":160858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:32:30] local.INFO: Packet analysis {"connection_id":160858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d5"} 
[2026-08-22 10:32:30] local.INFO: Extracted packet for processing {"connection_id":160858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d5"} 
[2026-08-22 10:32:30] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":36,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567852032001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:32:30] 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-22 10:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787374723000,"timestamp_ms":1787374723000,"timestamp_seconds":1787374723,"priority":1,"record_length":96,"hex_timestamp":"000001a027d5dfb8"} 
[2026-08-22 10: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-22 10:32:30] 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-22 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10: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-22 10: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-22 10:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:32:30] 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-22 10:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567852032001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567852032001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:32:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:32:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567852032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":160858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:32:31] local.INFO: GPS data processed {"connection_id":160858,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:32:31] local.INFO: Acknowledgment sent {"connection_id":160858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:32:49] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:32:49] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:32:49] local.INFO: IMEI packet received {"connection_id":159964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":159964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:32:53] local.INFO: TCP Data received {"connection_id":159965,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:32:53] local.INFO: Processing buffer {"connection_id":159965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:32:53] local.INFO: IMEI packet received {"connection_id":159965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":159965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:32:54] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:32:54] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:32:54] local.INFO: IMEI packet received {"connection_id":159964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":159964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:32:55] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:32:55] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:32:55] local.INFO: Packet analysis {"connection_id":159964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:32:55] local.INFO: Extracted packet for processing {"connection_id":159964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567893760001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787374886000,"timestamp_ms":1787374886000,"timestamp_seconds":1787374886,"priority":1,"record_length":96,"hex_timestamp":"000001a027d85c70"} 
[2026-08-22 10: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-22 10: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-22 10:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 10:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567893760001,"66":24810,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567893760001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:32:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:32:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567893760001,"power":24810,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":159964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:32:55] local.INFO: GPS data processed {"connection_id":159964,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:32:55] local.INFO: Acknowledgment sent {"connection_id":159964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:32:58] local.INFO: TCP Data received {"connection_id":159965,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:32:58] local.INFO: Processing buffer {"connection_id":159965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:32:58] local.INFO: IMEI packet received {"connection_id":159965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":159965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:32:59] local.INFO: TCP Data received {"connection_id":159965,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:32:59] local.INFO: Processing buffer {"connection_id":159965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:32:59] local.INFO: Packet analysis {"connection_id":159965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d5"} 
[2026-08-22 10:32:59] local.INFO: Extracted packet for processing {"connection_id":159965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d5"} 
[2026-08-22 10:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":36,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567852032001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787374723000,"timestamp_ms":1787374723000,"timestamp_seconds":1787374723,"priority":1,"record_length":96,"hex_timestamp":"000001a027d5dfb8"} 
[2026-08-22 10: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-22 10:32:59] 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-22 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10: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-22 10: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-22 10:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:32:59] 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-22 10:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567852032001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567852032001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:32:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:32:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567852032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":159965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:33:00] local.INFO: GPS data processed {"connection_id":159965,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:33:00] local.INFO: Acknowledgment sent {"connection_id":159965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:33:27] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:33:27] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:33:27] local.INFO: Packet analysis {"connection_id":159964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:33:27] local.INFO: Extracted packet for processing {"connection_id":159964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567893760001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787374886000,"timestamp_ms":1787374886000,"timestamp_seconds":1787374886,"priority":1,"record_length":96,"hex_timestamp":"000001a027d85c70"} 
[2026-08-22 10: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-22 10:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 10:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567893760001,"66":24810,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567893760001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:33:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567893760001,"power":24810,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":159964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:33:27] local.INFO: GPS data processed {"connection_id":159964,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:33:27] local.INFO: Acknowledgment sent {"connection_id":159964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:33:31] local.INFO: TCP Data received {"connection_id":159965,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:33:31] local.INFO: Processing buffer {"connection_id":159965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d5dfb8012d18164007219e80004c001c24..."} 
[2026-08-22 10:33:31] local.INFO: Packet analysis {"connection_id":159965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d5"} 
[2026-08-22 10:33:31] local.INFO: Extracted packet for processing {"connection_id":159965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d5"} 
[2026-08-22 10:33:31] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643776,"longitude_deg":75.655328,"latitude_deg":11.9643776,"altitude":76,"angle":28,"satellites":36,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219e80","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567852032001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14367181001195520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770889216,"note":"Value kept but may cause issues"} 
[2026-08-22 10:33:31] 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-22 10:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787374723000,"timestamp_ms":1787374723000,"timestamp_seconds":1787374723,"priority":1,"record_length":96,"hex_timestamp":"000001a027d5dfb8"} 
[2026-08-22 10: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-22 10:33:31] 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-22 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 10:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 10: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-22 10: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-22 10:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:33:31] 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-22 10:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567852032001,"66":2166,"107":206,"83":41984,"24":0,"16":14367181001195520,"45":1735645105770889216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 10:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567852032001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:33:31] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 10:33:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14367181001195520,"km_value":14367181001195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770889216,"description":"Unknown IO ID 45"} 
[2026-08-22 10:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567852032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770889216}} 
[2026-08-22 10:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":159965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:33:31] local.INFO: GPS data processed {"connection_id":159965,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:33:31] local.INFO: Acknowledgment sent {"connection_id":159965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:33:49] local.INFO: TCP Data received {"connection_id":159711,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:33:49] local.INFO: Processing buffer {"connection_id":159711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:33:49] local.INFO: IMEI packet received {"connection_id":159711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":159711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:33:54] local.INFO: TCP Data received {"connection_id":159711,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:33:54] local.INFO: Processing buffer {"connection_id":159711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:33:54] local.INFO: IMEI packet received {"connection_id":159711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":159711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:33:55] local.INFO: TCP Data received {"connection_id":159711,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:33:55] local.INFO: Processing buffer {"connection_id":159711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:33:55] local.INFO: Packet analysis {"connection_id":159711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:33:55] local.INFO: Extracted packet for processing {"connection_id":159711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567893760001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787374886000,"timestamp_ms":1787374886000,"timestamp_seconds":1787374886,"priority":1,"record_length":96,"hex_timestamp":"000001a027d85c70"} 
[2026-08-22 10: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-22 10:33: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-22 10:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 10:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567893760001,"66":24810,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567893760001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:33:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567893760001,"power":24810,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":159711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:33:55] local.INFO: GPS data processed {"connection_id":159711,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:33:55] local.INFO: Acknowledgment sent {"connection_id":159711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:33:56] local.INFO: TCP Data received {"connection_id":160859,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:33:56] local.INFO: Processing buffer {"connection_id":160859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:33:56] local.INFO: IMEI packet received {"connection_id":160859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":160859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:33:57] local.INFO: TCP Data received {"connection_id":160859,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 10:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160859,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 10:33:57] local.INFO: Processing buffer {"connection_id":160859,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 10:33:57] local.INFO: IMEI packet received {"connection_id":160859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":160859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:33:58] local.INFO: TCP Data received {"connection_id":160859,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:33:58] local.INFO: Processing buffer {"connection_id":160859,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 10:33:58] local.INFO: IMEI packet received {"connection_id":160859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":160859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:34:26] local.INFO: TCP Data received {"connection_id":159711,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:34:26] local.INFO: Processing buffer {"connection_id":159711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:34:26] local.INFO: Packet analysis {"connection_id":159711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:34:26] local.INFO: Extracted packet for processing {"connection_id":159711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567893760001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787374886000,"timestamp_ms":1787374886000,"timestamp_seconds":1787374886,"priority":1,"record_length":96,"hex_timestamp":"000001a027d85c70"} 
[2026-08-22 10: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-22 10:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 10:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567893760001,"66":24810,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567893760001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:34:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567893760001,"power":24810,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":159711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:34:26] local.INFO: GPS data processed {"connection_id":159711,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:34:26] local.INFO: Acknowledgment sent {"connection_id":159711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:34:49] local.INFO: TCP Data received {"connection_id":160860,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:34:49] local.INFO: Processing buffer {"connection_id":160860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:34:49] local.INFO: IMEI packet received {"connection_id":160860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":160860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:34:54] local.INFO: TCP Data received {"connection_id":160860,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:34:54] local.INFO: Processing buffer {"connection_id":160860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:34:54] local.INFO: IMEI packet received {"connection_id":160860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":160860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:34:56] local.INFO: TCP Data received {"connection_id":160860,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:34:56] local.INFO: Processing buffer {"connection_id":160860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:34:56] local.INFO: Packet analysis {"connection_id":160860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:34:56] local.INFO: Extracted packet for processing {"connection_id":160860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567893760001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787374886000,"timestamp_ms":1787374886000,"timestamp_seconds":1787374886,"priority":1,"record_length":96,"hex_timestamp":"000001a027d85c70"} 
[2026-08-22 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-22 10:34: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-22 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 10:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 10:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:34: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-22 10:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567893760001,"66":24810,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567893760001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:34:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567893760001,"power":24810,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":160860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:34:56] local.INFO: GPS data processed {"connection_id":160860,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:34:56] local.INFO: Acknowledgment sent {"connection_id":160860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:35:28] local.INFO: TCP Data received {"connection_id":160860,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:35:28] local.INFO: Processing buffer {"connection_id":160860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:35:28] local.INFO: Packet analysis {"connection_id":160860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:35:28] local.INFO: Extracted packet for processing {"connection_id":160860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567893760001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787374886000,"timestamp_ms":1787374886000,"timestamp_seconds":1787374886,"priority":1,"record_length":96,"hex_timestamp":"000001a027d85c70"} 
[2026-08-22 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-22 10:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 10:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 10:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:35:28] 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-22 10:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567893760001,"66":24810,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567893760001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:35:28] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567893760001,"power":24810,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":160860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:35:28] local.INFO: GPS data processed {"connection_id":160860,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:35:28] local.INFO: Acknowledgment sent {"connection_id":160860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:35:49] local.INFO: TCP Data received {"connection_id":160861,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:35:49] local.INFO: Processing buffer {"connection_id":160861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:35:49] local.INFO: IMEI packet received {"connection_id":160861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":160861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:35:54] local.INFO: TCP Data received {"connection_id":160861,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:35:54] local.INFO: Processing buffer {"connection_id":160861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:35:54] local.INFO: IMEI packet received {"connection_id":160861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":160861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:35:55] local.INFO: TCP Data received {"connection_id":160861,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:35:55] local.INFO: Processing buffer {"connection_id":160861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:35:55] local.INFO: Packet analysis {"connection_id":160861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:35:55] local.INFO: Extracted packet for processing {"connection_id":160861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567893760001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787374886000,"timestamp_ms":1787374886000,"timestamp_seconds":1787374886,"priority":1,"record_length":96,"hex_timestamp":"000001a027d85c70"} 
[2026-08-22 10: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-22 10:35: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-22 10:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 10:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:35:55] 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-22 10:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567893760001,"66":24810,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567893760001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:35:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:35:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567893760001,"power":24810,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":160861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:35:55] local.INFO: GPS data processed {"connection_id":160861,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:35:55] local.INFO: Acknowledgment sent {"connection_id":160861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:36:26] local.INFO: TCP Data received {"connection_id":160861,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:36:26] local.INFO: Processing buffer {"connection_id":160861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:36:26] local.INFO: Packet analysis {"connection_id":160861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:36:26] local.INFO: Extracted packet for processing {"connection_id":160861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567893760001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787374886000,"timestamp_ms":1787374886000,"timestamp_seconds":1787374886,"priority":1,"record_length":96,"hex_timestamp":"000001a027d85c70"} 
[2026-08-22 10: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-22 10:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 10:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:36:26] 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-22 10:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567893760001,"66":24810,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567893760001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:36:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567893760001,"power":24810,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":160861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:36:26] local.INFO: GPS data processed {"connection_id":160861,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:36:26] local.INFO: Acknowledgment sent {"connection_id":160861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:36:54] local.INFO: TCP Data received {"connection_id":160862,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:36:54] local.INFO: Processing buffer {"connection_id":160862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:36:54] local.INFO: IMEI packet received {"connection_id":160862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":160862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:36:59] local.INFO: TCP Data received {"connection_id":160862,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:36:59] local.INFO: Processing buffer {"connection_id":160862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:36:59] local.INFO: IMEI packet received {"connection_id":160862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":160862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:37:00] local.INFO: TCP Data received {"connection_id":160862,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:37:00] local.INFO: Processing buffer {"connection_id":160862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:37:00] local.INFO: Packet analysis {"connection_id":160862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:37:00] local.INFO: Extracted packet for processing {"connection_id":160862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567893760001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787374886000,"timestamp_ms":1787374886000,"timestamp_seconds":1787374886,"priority":1,"record_length":96,"hex_timestamp":"000001a027d85c70"} 
[2026-08-22 10: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-22 10:37: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-22 10:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 10:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:37: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-22 10:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567893760001,"66":24810,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567893760001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:37:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567893760001,"power":24810,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":160862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:37:00] local.INFO: GPS data processed {"connection_id":160862,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:37:00] local.INFO: Acknowledgment sent {"connection_id":160862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:37:05] local.INFO: TCP Data received {"connection_id":160862,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:37:05] local.INFO: Processing buffer {"connection_id":160862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027d85c70012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:37:05] local.INFO: Packet analysis {"connection_id":160862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:37:05] local.INFO: Extracted packet for processing {"connection_id":160862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027d8"} 
[2026-08-22 10:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567893760001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787374886000,"timestamp_ms":1787374886000,"timestamp_seconds":1787374886,"priority":1,"record_length":96,"hex_timestamp":"000001a027d85c70"} 
[2026-08-22 10:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:37: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-22 10:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 10:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:37: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-22 10:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567893760001,"66":24810,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567893760001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:37:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567893760001,"power":24810,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":160862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:37:05] local.INFO: GPS data processed {"connection_id":160862,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:37:05] local.INFO: Acknowledgment sent {"connection_id":160862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:37:49] local.INFO: TCP Data received {"connection_id":162282,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:37:49] local.INFO: Processing buffer {"connection_id":162282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:37:49] local.INFO: IMEI packet received {"connection_id":162282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":162282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:37:54] local.INFO: TCP Data received {"connection_id":162282,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:37:54] local.INFO: Processing buffer {"connection_id":162282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:37:54] local.INFO: IMEI packet received {"connection_id":162282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":162282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:37:55] local.INFO: TCP Data received {"connection_id":162282,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:37:55] local.INFO: Processing buffer {"connection_id":162282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:37:55] local.INFO: Packet analysis {"connection_id":162282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:37:55] local.INFO: Extracted packet for processing {"connection_id":162282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":30,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567970816001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787375188000,"timestamp_ms":1787375188000,"timestamp_seconds":1787375188,"priority":1,"record_length":96,"hex_timestamp":"000001a027dcf820"} 
[2026-08-22 10:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:37: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-22 10:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-22 10:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:37:55] local.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-22 10:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567970816001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567970816001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:37:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:37:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567970816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":162282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:37:55] local.INFO: GPS data processed {"connection_id":162282,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:37:55] local.INFO: Acknowledgment sent {"connection_id":162282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:38:29] local.INFO: TCP Data received {"connection_id":162282,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:38:29] local.INFO: Processing buffer {"connection_id":162282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:38:29] local.INFO: Packet analysis {"connection_id":162282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:38:29] local.INFO: Extracted packet for processing {"connection_id":162282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:38:29] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":30,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567970816001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787375188000,"timestamp_ms":1787375188000,"timestamp_seconds":1787375188,"priority":1,"record_length":96,"hex_timestamp":"000001a027dcf820"} 
[2026-08-22 10: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-22 10: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-22 10: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-22 10:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:38: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-22 10:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567970816001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567970816001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:38:29] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567970816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":162282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:38:29] local.INFO: GPS data processed {"connection_id":162282,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:38:29] local.INFO: Acknowledgment sent {"connection_id":162282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:38:49] local.INFO: TCP Data received {"connection_id":159714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:38:49] local.INFO: Processing buffer {"connection_id":159714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:38:49] local.INFO: IMEI packet received {"connection_id":159714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":159714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:38:56] local.INFO: TCP Data received {"connection_id":159714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:38:56] local.INFO: Processing buffer {"connection_id":159714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:38:56] local.INFO: IMEI packet received {"connection_id":159714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":159714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:38:57] local.INFO: TCP Data received {"connection_id":159714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:38:57] local.INFO: Processing buffer {"connection_id":159714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:38:57] local.INFO: Packet analysis {"connection_id":159714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:38:57] local.INFO: Extracted packet for processing {"connection_id":159714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":30,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567970816001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787375188000,"timestamp_ms":1787375188000,"timestamp_seconds":1787375188,"priority":1,"record_length":96,"hex_timestamp":"000001a027dcf820"} 
[2026-08-22 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-22 10:38: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-22 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-22 10:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 10:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:38: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-22 10:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567970816001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567970816001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:38:57] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567970816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":159714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:38:57] local.INFO: GPS data processed {"connection_id":159714,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:38:57] local.INFO: Acknowledgment sent {"connection_id":159714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:39:03] local.INFO: TCP Data received {"connection_id":160863,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:39:03] local.INFO: Processing buffer {"connection_id":160863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:39:03] local.INFO: IMEI packet received {"connection_id":160863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":160863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:39:04] local.INFO: TCP Data received {"connection_id":160863,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027dd0f90012d18738007218258004a005321..."} 
[2026-08-22 10:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027dd0f90012d18738007218258004a005321..."} 
[2026-08-22 10:39:04] local.INFO: Processing buffer {"connection_id":160863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027dd0f90012d18738007218258004a005321..."} 
[2026-08-22 10:39:04] local.INFO: Packet analysis {"connection_id":160863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027dd"} 
[2026-08-22 10:39:04] local.INFO: Extracted packet for processing {"connection_id":160863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027dd"} 
[2026-08-22 10:39:04] local.INFO: GPS Element Parsed {"raw_longitude":756577152,"raw_latitude":119636568,"longitude_deg":75.6577152,"latitude_deg":11.9636568,"altitude":74,"angle":83,"satellites":33,"speed":0,"hex_longitude":"2d187380","hex_latitude":"07218258","is_valid_coordinates":true} 
[2026-08-22 10:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568044288001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368632700141568,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697393846272,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:04] 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-22 10:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787375194000,"timestamp_ms":1787375194000,"timestamp_seconds":1787375194,"priority":1,"record_length":96,"hex_timestamp":"000001a027dd0f90"} 
[2026-08-22 10:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:39: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-22 10:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 10:39:04] 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-22 10:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:39:04] 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-22 10:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568044288001,"66":13276,"106":206,"83":41984,"24":0,"16":14368632700141568,"45":1761329697393846272},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568044288001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:39:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:39:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368632700141568,"km_value":14368632700141.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697393846272,"description":"Unknown IO ID 45"} 
[2026-08-22 10:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568044288001,"power":13276,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761329697393846272}} 
[2026-08-22 10:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":160863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:39:04] local.INFO: GPS data processed {"connection_id":160863,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:39:04] local.INFO: Acknowledgment sent {"connection_id":160863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:39:29] local.INFO: TCP Data received {"connection_id":159714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:39:29] local.INFO: Processing buffer {"connection_id":159714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:39:29] local.INFO: Packet analysis {"connection_id":159714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:39:29] local.INFO: Extracted packet for processing {"connection_id":159714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:39:29] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":30,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567970816001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787375188000,"timestamp_ms":1787375188000,"timestamp_seconds":1787375188,"priority":1,"record_length":96,"hex_timestamp":"000001a027dcf820"} 
[2026-08-22 10:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:39: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-22 10:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-22 10:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:39: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-22 10:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567970816001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567970816001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:39:29] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:39:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567970816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":159714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:39:29] local.INFO: GPS data processed {"connection_id":159714,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:39:29] local.INFO: Acknowledgment sent {"connection_id":159714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:39:35] local.INFO: TCP Data received {"connection_id":160863,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027de9630012d187640072184c0004b00b624..."} 
[2026-08-22 10:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027de9630012d187640072184c0004b00b624..."} 
[2026-08-22 10:39:35] local.INFO: Processing buffer {"connection_id":160863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027de9630012d187640072184c0004b00b624..."} 
[2026-08-22 10:39:35] local.INFO: Packet analysis {"connection_id":160863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027de"} 
[2026-08-22 10:39:35] local.INFO: Extracted packet for processing {"connection_id":160863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027de"} 
[2026-08-22 10:39:35] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":36,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10:39: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-22 10:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568069888001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533414400,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:35] 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-22 10:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787375294000,"timestamp_ms":1787375294000,"timestamp_seconds":1787375294,"priority":1,"record_length":96,"hex_timestamp":"000001a027de9630"} 
[2026-08-22 10:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:39: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-22 10:39: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":3,"data_length":795,"current_offset":136} 
[2026-08-22 10:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166284418410,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:35] local.WARNING: Large IO value detected {"io_id":106,"raw_value":58075809043709956,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:35] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2156396618,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:35] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3711088641,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-22 10:39:35] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:35] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3221692800,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:35] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,106,83,24,241,157,16,12,160,40,45,192,129,74,38,10,66,214,33,132,1,240,237,227,39,4,113,205,46,118,35,239,51,2,7],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-22 10:39:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404519822874640384,"timestamp_seconds":5404519822874640.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 10:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:39:35] 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-22 10:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568069888001,"66":12287,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533414400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568069888001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:39:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:39:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533414400,"description":"Unknown IO ID 45"} 
[2026-08-22 10:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568069888001,"power":12287,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533414400}} 
[2026-08-22 10:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":160863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:39:35] local.INFO: GPS data processed {"connection_id":160863,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:39:35] local.INFO: Acknowledgment sent {"connection_id":160863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:39:49] local.INFO: TCP Data received {"connection_id":159968,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:39:49] local.INFO: Processing buffer {"connection_id":159968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:39:49] local.INFO: IMEI packet received {"connection_id":159968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":159968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:39:53] local.INFO: TCP Data received {"connection_id":159715,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:39:53] local.INFO: Processing buffer {"connection_id":159715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:39:53] local.INFO: IMEI packet received {"connection_id":159715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":159715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:39:54] local.INFO: TCP Data received {"connection_id":159968,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:39:54] local.INFO: Processing buffer {"connection_id":159968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:39:54] local.INFO: IMEI packet received {"connection_id":159968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":159968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:39:55] local.INFO: TCP Data received {"connection_id":159715,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:39:55] local.INFO: Processing buffer {"connection_id":159715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:39:55] local.INFO: IMEI packet received {"connection_id":159715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":159715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:39:55] local.INFO: TCP Data received {"connection_id":159968,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:39:55] local.INFO: Processing buffer {"connection_id":159968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:39:55] local.INFO: Packet analysis {"connection_id":159968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:39:55] local.INFO: Extracted packet for processing {"connection_id":159968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:39:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":30,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567970816001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787375188000,"timestamp_ms":1787375188000,"timestamp_seconds":1787375188,"priority":1,"record_length":96,"hex_timestamp":"000001a027dcf820"} 
[2026-08-22 10:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:39: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-22 10:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-22 10:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:39: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-22 10:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567970816001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567970816001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:39:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:39:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567970816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":159968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:39:55] local.INFO: GPS data processed {"connection_id":159968,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:39:55] local.INFO: Acknowledgment sent {"connection_id":159968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:39:58] local.INFO: TCP Data received {"connection_id":159715,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:39:58] local.INFO: Processing buffer {"connection_id":159715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:39:58] local.INFO: IMEI packet received {"connection_id":159715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":159715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:39:59] local.INFO: TCP Data received {"connection_id":159715,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027dee838012d187640072184c0004b00b624..."} 
[2026-08-22 10:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027dee838012d187640072184c0004b00b624..."} 
[2026-08-22 10:39:59] local.INFO: Processing buffer {"connection_id":159715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027dee838012d187640072184c0004b00b624..."} 
[2026-08-22 10:39:59] local.INFO: Packet analysis {"connection_id":159715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027de"} 
[2026-08-22 10:39:59] local.INFO: Extracted packet for processing {"connection_id":159715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027de"} 
[2026-08-22 10:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":36,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568075264001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:39:59] 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-22 10:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787375315000,"timestamp_ms":1787375315000,"timestamp_seconds":1787375315,"priority":1,"record_length":96,"hex_timestamp":"000001a027dee838"} 
[2026-08-22 10: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-22 10:39: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-22 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 10:39:59] 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-22 10: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-22 10: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-22 10:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:39:59] 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-22 10:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568075264001,"66":12374,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568075264001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:39:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:39:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568075264001,"power":12374,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":159715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:39:59] local.INFO: GPS data processed {"connection_id":159715,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:39:59] local.INFO: Acknowledgment sent {"connection_id":159715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:40:28] local.INFO: TCP Data received {"connection_id":159968,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:40:28] local.INFO: Processing buffer {"connection_id":159968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:40:28] local.INFO: Packet analysis {"connection_id":159968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:40:28] local.INFO: Extracted packet for processing {"connection_id":159968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":30,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567970816001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787375188000,"timestamp_ms":1787375188000,"timestamp_seconds":1787375188,"priority":1,"record_length":96,"hex_timestamp":"000001a027dcf820"} 
[2026-08-22 10:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:40: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-22 10:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-22 10:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:40:28] 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-22 10:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567970816001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567970816001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:40:28] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567970816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":159968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:40:28] local.INFO: GPS data processed {"connection_id":159968,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:40:28] local.INFO: Acknowledgment sent {"connection_id":159968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:40:30] local.INFO: TCP Data received {"connection_id":159715,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027df3a40012d187640072184c0004b00b622..."} 
[2026-08-22 10:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027df3a40012d187640072184c0004b00b622..."} 
[2026-08-22 10:40:30] local.INFO: Processing buffer {"connection_id":159715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027df3a40012d187640072184c0004b00b622..."} 
[2026-08-22 10:40:30] local.INFO: Packet analysis {"connection_id":159715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027df"} 
[2026-08-22 10:40:30] local.INFO: Extracted packet for processing {"connection_id":159715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027df"} 
[2026-08-22 10:40:30] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":34,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568080640001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787375336000,"timestamp_ms":1787375336000,"timestamp_seconds":1787375336,"priority":1,"record_length":96,"hex_timestamp":"000001a027df3a40"} 
[2026-08-22 10: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-22 10:40:30] 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-22 10: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 10:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:40:30] 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-22 10:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568080640001,"66":12874,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568080640001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:40:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:40:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568080640001,"power":12874,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":159715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:40:30] local.INFO: GPS data processed {"connection_id":159715,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:40:30] local.INFO: Acknowledgment sent {"connection_id":159715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:40:53] local.INFO: TCP Data received {"connection_id":162283,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:40:53] local.INFO: Processing buffer {"connection_id":162283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:40:53] local.INFO: IMEI packet received {"connection_id":162283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":162283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:40:54] local.INFO: TCP Data received {"connection_id":160864,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:40:54] local.INFO: Processing buffer {"connection_id":160864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:40:54] local.INFO: IMEI packet received {"connection_id":160864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":160864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:40:58] local.INFO: TCP Data received {"connection_id":162283,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:40:58] local.INFO: Processing buffer {"connection_id":162283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:40:58] local.INFO: IMEI packet received {"connection_id":162283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":162283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:40:59] local.INFO: TCP Data received {"connection_id":162283,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027df8c48012d187640072184c0004b00b622..."} 
[2026-08-22 10:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027df8c48012d187640072184c0004b00b622..."} 
[2026-08-22 10:40:59] local.INFO: Processing buffer {"connection_id":162283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027df8c48012d187640072184c0004b00b622..."} 
[2026-08-22 10:40:59] local.INFO: Packet analysis {"connection_id":162283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027df"} 
[2026-08-22 10:40:59] local.INFO: Extracted packet for processing {"connection_id":162283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027df"} 
[2026-08-22 10:40:59] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":34,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568086016001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:40:59] 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-22 10:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787375357000,"timestamp_ms":1787375357000,"timestamp_seconds":1787375357,"priority":1,"record_length":96,"hex_timestamp":"000001a027df8c48"} 
[2026-08-22 10: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-22 10:40: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-22 10: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-22 10:40:59] 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-22 10: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-22 10: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-22 10:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:40:59] 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-22 10:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568086016001,"66":12863,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568086016001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:40:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:40:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568086016001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":162283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:40:59] local.INFO: GPS data processed {"connection_id":162283,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:40:59] local.INFO: Acknowledgment sent {"connection_id":162283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:40:59] local.INFO: TCP Data received {"connection_id":160864,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:40:59] local.INFO: Processing buffer {"connection_id":160864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:40:59] local.INFO: IMEI packet received {"connection_id":160864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":160864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:41:00] local.INFO: TCP Data received {"connection_id":160864,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:41:00] local.INFO: Processing buffer {"connection_id":160864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:41:00] local.INFO: Packet analysis {"connection_id":160864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:41:00] local.INFO: Extracted packet for processing {"connection_id":160864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":30,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567970816001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787375188000,"timestamp_ms":1787375188000,"timestamp_seconds":1787375188,"priority":1,"record_length":96,"hex_timestamp":"000001a027dcf820"} 
[2026-08-22 10: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-22 10:41: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-22 10:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-22 10:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:41: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-22 10:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567970816001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567970816001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:41:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:41:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567970816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":160864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:41:00] local.INFO: GPS data processed {"connection_id":160864,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:41:00] local.INFO: Acknowledgment sent {"connection_id":160864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:41:05] local.INFO: TCP Data received {"connection_id":160864,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:41:05] local.INFO: Processing buffer {"connection_id":160864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:41:05] local.INFO: Packet analysis {"connection_id":160864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:41:05] local.INFO: Extracted packet for processing {"connection_id":160864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":30,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567970816001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787375188000,"timestamp_ms":1787375188000,"timestamp_seconds":1787375188,"priority":1,"record_length":96,"hex_timestamp":"000001a027dcf820"} 
[2026-08-22 10:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:41: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-22 10:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-22 10:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:41: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-22 10:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567970816001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567970816001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:41:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567970816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":160864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:41:05] local.INFO: GPS data processed {"connection_id":160864,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:41:05] local.INFO: Acknowledgment sent {"connection_id":160864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:41:30] local.INFO: TCP Data received {"connection_id":162283,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027dfde50012d187640072184c0004b00b628..."} 
[2026-08-22 10:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027dfde50012d187640072184c0004b00b628..."} 
[2026-08-22 10:41:30] local.INFO: Processing buffer {"connection_id":162283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027dfde50012d187640072184c0004b00b628..."} 
[2026-08-22 10:41:30] local.INFO: Packet analysis {"connection_id":162283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027df"} 
[2026-08-22 10:41:30] local.INFO: Extracted packet for processing {"connection_id":162283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027df"} 
[2026-08-22 10:41:30] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":40,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568091392001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787375378000,"timestamp_ms":1787375378000,"timestamp_seconds":1787375378,"priority":1,"record_length":96,"hex_timestamp":"000001a027dfde50"} 
[2026-08-22 10: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-22 10:41: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-22 10: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 10:41:30] 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-22 10: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-22 10: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-22 10:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:41:30] 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-22 10:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568091392001,"66":12917,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568091392001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:41:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:41:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568091392001,"power":12917,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":162283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:41:30] local.INFO: GPS data processed {"connection_id":162283,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:41:30] local.INFO: Acknowledgment sent {"connection_id":162283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:41:53] local.INFO: TCP Data received {"connection_id":160866,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:41:53] local.INFO: Processing buffer {"connection_id":160866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:41:53] local.INFO: IMEI packet received {"connection_id":160866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":160866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:41:54] local.INFO: TCP Data received {"connection_id":160865,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:41:54] local.INFO: Processing buffer {"connection_id":160865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:41:54] local.INFO: IMEI packet received {"connection_id":160865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":160865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:41:58] local.INFO: TCP Data received {"connection_id":160866,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:41:58] local.INFO: Processing buffer {"connection_id":160866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:41:58] local.INFO: IMEI packet received {"connection_id":160866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":160866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:41:59] local.INFO: TCP Data received {"connection_id":160866,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e03058012d187640072184c0004b00b629..."} 
[2026-08-22 10:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e03058012d187640072184c0004b00b629..."} 
[2026-08-22 10:41:59] local.INFO: Processing buffer {"connection_id":160866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e03058012d187640072184c0004b00b629..."} 
[2026-08-22 10:41:59] local.INFO: Packet analysis {"connection_id":160866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e0"} 
[2026-08-22 10:41:59] local.INFO: Extracted packet for processing {"connection_id":160866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e0"} 
[2026-08-22 10:41:59] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":41,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568096768001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:41:59] 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-22 10:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787375399000,"timestamp_ms":1787375399000,"timestamp_seconds":1787375399,"priority":1,"record_length":96,"hex_timestamp":"000001a027e03058"} 
[2026-08-22 10: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-22 10:41: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-22 10: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 10:41:59] 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-22 10: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-22 10: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-22 10:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:41:59] 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-22 10:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568096768001,"66":12863,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568096768001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:41:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:41:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568096768001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":160866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:41:59] local.INFO: GPS data processed {"connection_id":160866,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:41:59] local.INFO: Acknowledgment sent {"connection_id":160866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:41:59] local.INFO: TCP Data received {"connection_id":160865,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:41:59] local.INFO: Processing buffer {"connection_id":160865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:41:59] local.INFO: IMEI packet received {"connection_id":160865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":160865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:42:00] local.INFO: TCP Data received {"connection_id":160865,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:42:00] local.INFO: Processing buffer {"connection_id":160865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027dcf820012d7f88c005afdea8000000d81e..."} 
[2026-08-22 10:42:00] local.INFO: Packet analysis {"connection_id":160865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:42:00] local.INFO: Extracted packet for processing {"connection_id":160865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027dc"} 
[2026-08-22 10:42:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":30,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457567970816001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787375188000,"timestamp_ms":1787375188000,"timestamp_seconds":1787375188,"priority":1,"record_length":96,"hex_timestamp":"000001a027dcf820"} 
[2026-08-22 10: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-22 10:42: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-22 10:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-22 10:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:42: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-22 10:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457567970816001,"66":25604,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 10:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457567970816001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:42:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 10:42:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457567970816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":160865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:42:00] local.INFO: GPS data processed {"connection_id":160865,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:42:00] local.INFO: Acknowledgment sent {"connection_id":160865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:42:30] local.INFO: TCP Data received {"connection_id":160866,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e08260012d187640072184c0004b00b62a..."} 
[2026-08-22 10:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e08260012d187640072184c0004b00b62a..."} 
[2026-08-22 10:42:30] local.INFO: Processing buffer {"connection_id":160866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e08260012d187640072184c0004b00b62a..."} 
[2026-08-22 10:42:30] local.INFO: Packet analysis {"connection_id":160866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e0"} 
[2026-08-22 10:42:30] local.INFO: Extracted packet for processing {"connection_id":160866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e0"} 
[2026-08-22 10:42:30] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":42,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568102144001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787375420000,"timestamp_ms":1787375420000,"timestamp_seconds":1787375420,"priority":1,"record_length":96,"hex_timestamp":"000001a027e08260"} 
[2026-08-22 10: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-22 10:42: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-22 10: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 10:42:30] 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-22 10: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-22 10: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-22 10:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:42:30] 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-22 10:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568102144001,"66":12841,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568102144001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:42:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:42:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568102144001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":160866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:42:30] local.INFO: GPS data processed {"connection_id":160866,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:42:30] local.INFO: Acknowledgment sent {"connection_id":160866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:42:31] local.INFO: TCP Data received {"connection_id":160865,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:42:31] local.INFO: Processing buffer {"connection_id":160865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:42:31] local.INFO: Packet analysis {"connection_id":160865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:42:31] local.INFO: Extracted packet for processing {"connection_id":160865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:42:31] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568048128001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:42:31] 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-22 10:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787375488000,"timestamp_ms":1787375488000,"timestamp_seconds":1787375488,"priority":1,"record_length":96,"hex_timestamp":"000001a027e18c00"} 
[2026-08-22 10: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-22 10:42: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-22 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:42:31] 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-22 10: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-22 10: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-22 10:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:42: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-22 10:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568048128001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568048128001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:42:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:42:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568048128001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":160865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:42:31] local.INFO: GPS data processed {"connection_id":160865,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:42:31] local.INFO: Acknowledgment sent {"connection_id":160865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:42:49] local.INFO: TCP Data received {"connection_id":162284,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:42:49] local.INFO: Processing buffer {"connection_id":162284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:42:49] local.INFO: IMEI packet received {"connection_id":162284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":162284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:42:54] local.INFO: TCP Data received {"connection_id":162284,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:42:54] local.INFO: Processing buffer {"connection_id":162284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:42:54] local.INFO: IMEI packet received {"connection_id":162284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":162284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:42:57] local.INFO: TCP Data received {"connection_id":162284,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:42:57] local.INFO: Processing buffer {"connection_id":162284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:42:57] local.INFO: Packet analysis {"connection_id":162284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:42:57] local.INFO: Extracted packet for processing {"connection_id":162284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:42:57] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568048128001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:42: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-22 10:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787375488000,"timestamp_ms":1787375488000,"timestamp_seconds":1787375488,"priority":1,"record_length":96,"hex_timestamp":"000001a027e18c00"} 
[2026-08-22 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-22 10:42: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-22 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:42:57] 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-22 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-22 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-22 10:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:42: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-22 10:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568048128001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568048128001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:42:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:42:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568048128001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":162284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:42:57] local.INFO: GPS data processed {"connection_id":162284,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:42:57] local.INFO: Acknowledgment sent {"connection_id":162284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:42:58] local.INFO: TCP Data received {"connection_id":159969,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:42:58] local.INFO: Processing buffer {"connection_id":159969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:42:58] local.INFO: IMEI packet received {"connection_id":159969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":159969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:43:03] local.INFO: TCP Data received {"connection_id":159969,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:43:03] local.INFO: Processing buffer {"connection_id":159969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:43:03] local.INFO: IMEI packet received {"connection_id":159969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":159969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:43:04] local.INFO: TCP Data received {"connection_id":159969,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e0d468012d187640072184c0004b00b62a..."} 
[2026-08-22 10:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e0d468012d187640072184c0004b00b62a..."} 
[2026-08-22 10:43:04] local.INFO: Processing buffer {"connection_id":159969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e0d468012d187640072184c0004b00b62a..."} 
[2026-08-22 10:43:04] local.INFO: Packet analysis {"connection_id":159969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e0"} 
[2026-08-22 10:43:04] local.INFO: Extracted packet for processing {"connection_id":159969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e0"} 
[2026-08-22 10:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":42,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568107520001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:43:04] 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-22 10:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787375441000,"timestamp_ms":1787375441000,"timestamp_seconds":1787375441,"priority":1,"record_length":96,"hex_timestamp":"000001a027e0d468"} 
[2026-08-22 10:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:43: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-22 10:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 10:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:43:04] 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-22 10:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568107520001,"66":12841,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568107520001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:43:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:43:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568107520001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":159969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:43:04] local.INFO: GPS data processed {"connection_id":159969,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:43:04] local.INFO: Acknowledgment sent {"connection_id":159969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:43:08] local.INFO: TCP Data received {"connection_id":159969,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e12670012d187640072184c0004b00b629..."} 
[2026-08-22 10:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e12670012d187640072184c0004b00b629..."} 
[2026-08-22 10:43:08] local.INFO: Processing buffer {"connection_id":159969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e12670012d187640072184c0004b00b629..."} 
[2026-08-22 10:43:08] local.INFO: Packet analysis {"connection_id":159969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:43:08] local.INFO: Extracted packet for processing {"connection_id":159969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:43:08] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":41,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10:43: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-22 10:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568112896001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:43:08] 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-22 10:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787375462000,"timestamp_ms":1787375462000,"timestamp_seconds":1787375462,"priority":1,"record_length":96,"hex_timestamp":"000001a027e12670"} 
[2026-08-22 10:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:43: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-22 10:43: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":41,"data_length":795,"current_offset":136} 
[2026-08-22 10:43:08] 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-22 10:43: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-22 10:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:43:08] 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-22 10:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568112896001,"66":12776,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568112896001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:43:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:43:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568112896001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":159969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:43:08] local.INFO: GPS data processed {"connection_id":159969,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:43:08] local.INFO: Acknowledgment sent {"connection_id":159969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:43:28] local.INFO: TCP Data received {"connection_id":162284,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:43:28] local.INFO: Processing buffer {"connection_id":162284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:43:28] local.INFO: Packet analysis {"connection_id":162284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:43:28] local.INFO: Extracted packet for processing {"connection_id":162284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:43:28] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568048128001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:43: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-22 10:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787375488000,"timestamp_ms":1787375488000,"timestamp_seconds":1787375488,"priority":1,"record_length":96,"hex_timestamp":"000001a027e18c00"} 
[2026-08-22 10:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:43:28] 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-22 10:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:43: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-22 10:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568048128001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568048128001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:43:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568048128001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":162284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:43:28] local.INFO: GPS data processed {"connection_id":162284,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:43:28] local.INFO: Acknowledgment sent {"connection_id":162284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:43:49] local.INFO: TCP Data received {"connection_id":159716,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:43:49] local.INFO: Processing buffer {"connection_id":159716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:43:49] local.INFO: IMEI packet received {"connection_id":159716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":159716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:43:53] local.INFO: TCP Data received {"connection_id":162285,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:43:53] local.INFO: Processing buffer {"connection_id":162285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:43:53] local.INFO: IMEI packet received {"connection_id":162285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":162285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:43:54] local.INFO: TCP Data received {"connection_id":159716,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:43:54] local.INFO: Processing buffer {"connection_id":159716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:43:54] local.INFO: IMEI packet received {"connection_id":159716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":159716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:43:58] local.INFO: TCP Data received {"connection_id":162285,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:43:58] local.INFO: Processing buffer {"connection_id":162285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:43:58] local.INFO: IMEI packet received {"connection_id":162285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":162285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:43:59] local.INFO: TCP Data received {"connection_id":162285,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e17878012d187640072184c0004b00b628..."} 
[2026-08-22 10:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e17878012d187640072184c0004b00b628..."} 
[2026-08-22 10:43:59] local.INFO: Processing buffer {"connection_id":162285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e17878012d187640072184c0004b00b628..."} 
[2026-08-22 10:43:59] local.INFO: Packet analysis {"connection_id":162285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:43:59] local.INFO: Extracted packet for processing {"connection_id":162285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:43:59] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":40,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568118272001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:43:59] 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-22 10:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787375483000,"timestamp_ms":1787375483000,"timestamp_seconds":1787375483,"priority":1,"record_length":96,"hex_timestamp":"000001a027e17878"} 
[2026-08-22 10: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-22 10:43: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-22 10: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 10:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:43:59] 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-22 10:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568118272001,"66":12776,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568118272001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:43:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:43:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568118272001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":162285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:43:59] local.INFO: GPS data processed {"connection_id":162285,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:43:59] local.INFO: Acknowledgment sent {"connection_id":162285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:44:16] local.INFO: TCP Data received {"connection_id":159716,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:44:16] local.INFO: Processing buffer {"connection_id":159716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:44:16] local.INFO: Packet analysis {"connection_id":159716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:44:16] local.INFO: Extracted packet for processing {"connection_id":159716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:44:16] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568048128001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:44:16] 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-22 10:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787375488000,"timestamp_ms":1787375488000,"timestamp_seconds":1787375488,"priority":1,"record_length":96,"hex_timestamp":"000001a027e18c00"} 
[2026-08-22 10:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:44: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-22 10:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568048128001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568048128001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:44:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:44:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568048128001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":159716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:44:16] local.INFO: GPS data processed {"connection_id":159716,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:44:16] local.INFO: Acknowledgment sent {"connection_id":159716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:44:30] local.INFO: TCP Data received {"connection_id":162285,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e1ca80012d187640072184c0004b00b628..."} 
[2026-08-22 10:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e1ca80012d187640072184c0004b00b628..."} 
[2026-08-22 10:44:30] local.INFO: Processing buffer {"connection_id":162285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e1ca80012d187640072184c0004b00b628..."} 
[2026-08-22 10:44:30] local.INFO: Packet analysis {"connection_id":162285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:44:30] local.INFO: Extracted packet for processing {"connection_id":162285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:44:30] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":40,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568123648001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787375504000,"timestamp_ms":1787375504000,"timestamp_seconds":1787375504,"priority":1,"record_length":96,"hex_timestamp":"000001a027e1ca80"} 
[2026-08-22 10: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-22 10:44: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-22 10: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 10:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:44:30] 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-22 10:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568123648001,"66":12798,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568123648001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:44:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:44:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568123648001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":162285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:44:30] local.INFO: GPS data processed {"connection_id":162285,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:44:30] local.INFO: Acknowledgment sent {"connection_id":162285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:44:49] local.INFO: TCP Data received {"connection_id":160867,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:44:49] local.INFO: Processing buffer {"connection_id":160867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:44:49] local.INFO: IMEI packet received {"connection_id":160867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":160867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:44:53] local.INFO: TCP Data received {"connection_id":159970,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:44:53] local.INFO: Processing buffer {"connection_id":159970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:44:53] local.INFO: IMEI packet received {"connection_id":159970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":159970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:44:54] local.INFO: TCP Data received {"connection_id":160867,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:44:54] local.INFO: Processing buffer {"connection_id":160867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:44:54] local.INFO: IMEI packet received {"connection_id":160867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":160867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:44:55] local.INFO: TCP Data received {"connection_id":160867,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:44:55] local.INFO: Processing buffer {"connection_id":160867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:44:55] local.INFO: Packet analysis {"connection_id":160867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:44:55] local.INFO: Extracted packet for processing {"connection_id":160867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:44:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568048128001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:44: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-22 10:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787375488000,"timestamp_ms":1787375488000,"timestamp_seconds":1787375488,"priority":1,"record_length":96,"hex_timestamp":"000001a027e18c00"} 
[2026-08-22 10:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:44: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-22 10:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:44: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-22 10:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:44:55] 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-22 10:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568048128001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568048128001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:44:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:44:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568048128001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":160867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:44:55] local.INFO: GPS data processed {"connection_id":160867,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:44:55] local.INFO: Acknowledgment sent {"connection_id":160867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:44:58] local.INFO: TCP Data received {"connection_id":159970,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:44:58] local.INFO: Processing buffer {"connection_id":159970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:44:58] local.INFO: IMEI packet received {"connection_id":159970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":159970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:44:59] local.INFO: TCP Data received {"connection_id":159970,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e21c88012d187640072184c0004b00b629..."} 
[2026-08-22 10:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e21c88012d187640072184c0004b00b629..."} 
[2026-08-22 10:44:59] local.INFO: Processing buffer {"connection_id":159970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e21c88012d187640072184c0004b00b629..."} 
[2026-08-22 10:44:59] local.INFO: Packet analysis {"connection_id":159970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e2"} 
[2026-08-22 10:44:59] local.INFO: Extracted packet for processing {"connection_id":159970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e2"} 
[2026-08-22 10:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":41,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568129024001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:44:59] 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-22 10:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787375525000,"timestamp_ms":1787375525000,"timestamp_seconds":1787375525,"priority":1,"record_length":96,"hex_timestamp":"000001a027e21c88"} 
[2026-08-22 10: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-22 10:44: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-22 10:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 10:44:59] 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-22 10: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-22 10: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-22 10:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:44:59] 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-22 10:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568129024001,"66":12776,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568129024001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:44:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:44:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568129024001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":159970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:44:59] local.INFO: GPS data processed {"connection_id":159970,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:44:59] local.INFO: Acknowledgment sent {"connection_id":159970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:45:27] local.INFO: TCP Data received {"connection_id":160867,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:45:27] local.INFO: Processing buffer {"connection_id":160867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:45:27] local.INFO: Packet analysis {"connection_id":160867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:45:27] local.INFO: Extracted packet for processing {"connection_id":160867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:45:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568048128001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:45: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-22 10:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787375488000,"timestamp_ms":1787375488000,"timestamp_seconds":1787375488,"priority":1,"record_length":96,"hex_timestamp":"000001a027e18c00"} 
[2026-08-22 10: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-22 10:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:45:27] 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-22 10: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-22 10: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-22 10:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:45: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-22 10:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568048128001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568048128001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:45:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:45:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568048128001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":160867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:45:27] local.INFO: GPS data processed {"connection_id":160867,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:45:27] local.INFO: Acknowledgment sent {"connection_id":160867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:45:30] local.INFO: TCP Data received {"connection_id":159970,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e26e90012d187640072184c0004b00b629..."} 
[2026-08-22 10:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e26e90012d187640072184c0004b00b629..."} 
[2026-08-22 10:45:30] local.INFO: Processing buffer {"connection_id":159970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e26e90012d187640072184c0004b00b629..."} 
[2026-08-22 10:45:30] local.INFO: Packet analysis {"connection_id":159970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e2"} 
[2026-08-22 10:45:30] local.INFO: Extracted packet for processing {"connection_id":159970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e2"} 
[2026-08-22 10:45:30] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":41,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568134400001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787375546000,"timestamp_ms":1787375546000,"timestamp_seconds":1787375546,"priority":1,"record_length":96,"hex_timestamp":"000001a027e26e90"} 
[2026-08-22 10: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-22 10:45: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-22 10: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 10:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:45:30] 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-22 10:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568134400001,"66":12287,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568134400001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:45:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:45:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568134400001,"power":12287,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":159970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:45:30] local.INFO: GPS data processed {"connection_id":159970,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:45:30] local.INFO: Acknowledgment sent {"connection_id":159970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:45:52] local.INFO: TCP Data received {"connection_id":160869,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:45:52] local.INFO: Processing buffer {"connection_id":160869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:45:52] local.INFO: IMEI packet received {"connection_id":160869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":160869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:45:53] local.INFO: TCP Data received {"connection_id":160869,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:45:53] local.INFO: Processing buffer {"connection_id":160869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:45:53] local.INFO: IMEI packet received {"connection_id":160869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":160869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:45:54] local.INFO: TCP Data received {"connection_id":160868,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:45:54] local.INFO: Processing buffer {"connection_id":160868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:45:54] local.INFO: IMEI packet received {"connection_id":160868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":160868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:45:58] local.INFO: TCP Data received {"connection_id":160869,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:45:58] local.INFO: Processing buffer {"connection_id":160869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:45:58] local.INFO: IMEI packet received {"connection_id":160869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":160869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:45:59] local.INFO: TCP Data received {"connection_id":160869,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e2c098012d187640072184c0004b00b629..."} 
[2026-08-22 10:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e2c098012d187640072184c0004b00b629..."} 
[2026-08-22 10:45:59] local.INFO: Processing buffer {"connection_id":160869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e2c098012d187640072184c0004b00b629..."} 
[2026-08-22 10:45:59] local.INFO: Packet analysis {"connection_id":160869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e2"} 
[2026-08-22 10:45:59] local.INFO: Extracted packet for processing {"connection_id":160869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e2"} 
[2026-08-22 10:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":41,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568139776001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:45:59] 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-22 10:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787375567000,"timestamp_ms":1787375567000,"timestamp_seconds":1787375567,"priority":1,"record_length":96,"hex_timestamp":"000001a027e2c098"} 
[2026-08-22 10: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-22 10:45: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-22 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 10:45:59] 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-22 10: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-22 10: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-22 10:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:45:59] 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-22 10:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568139776001,"66":12743,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568139776001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:45:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568139776001,"power":12743,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":160869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:45:59] local.INFO: GPS data processed {"connection_id":160869,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:45:59] local.INFO: Acknowledgment sent {"connection_id":160869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:45:59] local.INFO: TCP Data received {"connection_id":160868,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:45:59] local.INFO: Processing buffer {"connection_id":160868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:45:59] local.INFO: IMEI packet received {"connection_id":160868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":160868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:46:01] local.INFO: TCP Data received {"connection_id":160868,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:46:01] local.INFO: Processing buffer {"connection_id":160868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:46:01] local.INFO: Packet analysis {"connection_id":160868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:46:01] local.INFO: Extracted packet for processing {"connection_id":160868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:46:01] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568048128001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:46: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-22 10:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787375488000,"timestamp_ms":1787375488000,"timestamp_seconds":1787375488,"priority":1,"record_length":96,"hex_timestamp":"000001a027e18c00"} 
[2026-08-22 10: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-22 10:46: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-22 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:46: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-22 10: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-22 10: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-22 10:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:46:01] 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-22 10:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568048128001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568048128001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:46:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568048128001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":160868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:46:01] local.INFO: GPS data processed {"connection_id":160868,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:46:01] local.INFO: Acknowledgment sent {"connection_id":160868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:46:05] local.INFO: TCP Data received {"connection_id":160868,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:46:05] local.INFO: Processing buffer {"connection_id":160868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:46:05] local.INFO: Packet analysis {"connection_id":160868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:46:05] local.INFO: Extracted packet for processing {"connection_id":160868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568048128001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:46:05] 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-22 10:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787375488000,"timestamp_ms":1787375488000,"timestamp_seconds":1787375488,"priority":1,"record_length":96,"hex_timestamp":"000001a027e18c00"} 
[2026-08-22 10:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:46: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-22 10:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:46: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-22 10:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568048128001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568048128001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:46:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:46:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568048128001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":160868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:46:05] local.INFO: GPS data processed {"connection_id":160868,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:46:05] local.INFO: Acknowledgment sent {"connection_id":160868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:46:30] local.INFO: TCP Data received {"connection_id":160869,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e312a0012d187640072184c0004b00b626..."} 
[2026-08-22 10:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e312a0012d187640072184c0004b00b626..."} 
[2026-08-22 10:46:30] local.INFO: Processing buffer {"connection_id":160869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e312a0012d187640072184c0004b00b626..."} 
[2026-08-22 10:46:30] local.INFO: Packet analysis {"connection_id":160869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e3"} 
[2026-08-22 10:46:30] local.INFO: Extracted packet for processing {"connection_id":160869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e3"} 
[2026-08-22 10:46:30] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":38,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 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-22 10:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568145152001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787375588000,"timestamp_ms":1787375588000,"timestamp_seconds":1787375588,"priority":1,"record_length":96,"hex_timestamp":"000001a027e312a0"} 
[2026-08-22 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-22 10:46: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-22 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-22 10:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 10:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:46:30] 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-22 10:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568145152001,"66":12722,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568145152001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:46:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:46:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568145152001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":160869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:46:30] local.INFO: GPS data processed {"connection_id":160869,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:46:30] local.INFO: Acknowledgment sent {"connection_id":160869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:46:49] local.INFO: TCP Data received {"connection_id":159971,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:46:49] local.INFO: Processing buffer {"connection_id":159971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:46:49] local.INFO: IMEI packet received {"connection_id":159971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":159971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:46:53] local.INFO: TCP Data received {"connection_id":159717,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:46:53] local.INFO: Processing buffer {"connection_id":159717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:46:53] local.INFO: IMEI packet received {"connection_id":159717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":159717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:46:54] local.INFO: TCP Data received {"connection_id":159971,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:46:54] local.INFO: Processing buffer {"connection_id":159971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:46:54] local.INFO: IMEI packet received {"connection_id":159971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":159971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:46:55] local.INFO: TCP Data received {"connection_id":159971,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:46:55] local.INFO: Processing buffer {"connection_id":159971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e18c00012d7f88c005afdea8000000d823..."} 
[2026-08-22 10:46:55] local.INFO: Packet analysis {"connection_id":159971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:46:55] local.INFO: Extracted packet for processing {"connection_id":159971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e1"} 
[2026-08-22 10:46:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568048128001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:46: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-22 10:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787375488000,"timestamp_ms":1787375488000,"timestamp_seconds":1787375488,"priority":1,"record_length":96,"hex_timestamp":"000001a027e18c00"} 
[2026-08-22 10:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10: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-22 10:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 10:46: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-22 10:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:46:55] 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-22 10:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568048128001,"66":25495,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568048128001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:46:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:46:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568048128001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":159971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:46:55] local.INFO: GPS data processed {"connection_id":159971,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:46:55] local.INFO: Acknowledgment sent {"connection_id":159971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:46:55] local.INFO: TCP Data received {"connection_id":159717,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:46:55] local.INFO: Processing buffer {"connection_id":159717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:46:55] local.INFO: IMEI packet received {"connection_id":159717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":159717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:46:58] local.INFO: TCP Data received {"connection_id":159717,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:46:58] local.INFO: Processing buffer {"connection_id":159717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:46:58] local.INFO: IMEI packet received {"connection_id":159717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":159717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:46:59] local.INFO: TCP Data received {"connection_id":159717,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e364a8012d187640072184c0004b00b628..."} 
[2026-08-22 10:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e364a8012d187640072184c0004b00b628..."} 
[2026-08-22 10:46:59] local.INFO: Processing buffer {"connection_id":159717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e364a8012d187640072184c0004b00b628..."} 
[2026-08-22 10:46:59] local.INFO: Packet analysis {"connection_id":159717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e3"} 
[2026-08-22 10:46:59] local.INFO: Extracted packet for processing {"connection_id":159717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e3"} 
[2026-08-22 10:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":40,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568150528001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:46:59] 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-22 10:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787375609000,"timestamp_ms":1787375609000,"timestamp_seconds":1787375609,"priority":1,"record_length":96,"hex_timestamp":"000001a027e364a8"} 
[2026-08-22 10: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-22 10:46: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-22 10: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 10:46:59] 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-22 10: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-22 10: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-22 10:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:46:59] 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-22 10:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568150528001,"66":12689,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568150528001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:46:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568150528001,"power":12689,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":159717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:46:59] local.INFO: GPS data processed {"connection_id":159717,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:46:59] local.INFO: Acknowledgment sent {"connection_id":159717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:47:26] local.INFO: TCP Data received {"connection_id":159971,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:47:26] local.INFO: Processing buffer {"connection_id":159971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:47:26] local.INFO: Packet analysis {"connection_id":159971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:47:26] local.INFO: Extracted packet for processing {"connection_id":159971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:47:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568124928001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:47: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-22 10:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787375789000,"timestamp_ms":1787375789000,"timestamp_seconds":1787375789,"priority":1,"record_length":96,"hex_timestamp":"000001a027e623c8"} 
[2026-08-22 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-22 10:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 10:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 10:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:47: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-22 10:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568124928001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568124928001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:47:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568124928001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":159971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:47:26] local.INFO: GPS data processed {"connection_id":159971,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:47:26] local.INFO: Acknowledgment sent {"connection_id":159971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:47:30] local.INFO: TCP Data received {"connection_id":159717,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e3b6b0012d187640072184c0004b00b625..."} 
[2026-08-22 10:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e3b6b0012d187640072184c0004b00b625..."} 
[2026-08-22 10:47:30] local.INFO: Processing buffer {"connection_id":159717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e3b6b0012d187640072184c0004b00b625..."} 
[2026-08-22 10:47:30] local.INFO: Packet analysis {"connection_id":159717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e3"} 
[2026-08-22 10:47:30] local.INFO: Extracted packet for processing {"connection_id":159717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e3"} 
[2026-08-22 10:47:30] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":37,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568155904001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787375630000,"timestamp_ms":1787375630000,"timestamp_seconds":1787375630,"priority":1,"record_length":96,"hex_timestamp":"000001a027e3b6b0"} 
[2026-08-22 10: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-22 10:47: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-22 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 10:47:30] 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-22 10: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-22 10: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-22 10:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:47:30] 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-22 10:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568155904001,"66":12711,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568155904001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:47:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:47:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568155904001,"power":12711,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":159717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:47:30] local.INFO: GPS data processed {"connection_id":159717,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:47:30] local.INFO: Acknowledgment sent {"connection_id":159717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:47:50] local.INFO: TCP Data received {"connection_id":162286,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:47:50] local.INFO: Processing buffer {"connection_id":162286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:47:50] local.INFO: IMEI packet received {"connection_id":162286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":162286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:47:53] local.INFO: TCP Data received {"connection_id":160870,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:47:53] local.INFO: Processing buffer {"connection_id":160870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:47:53] local.INFO: IMEI packet received {"connection_id":160870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":160870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:47:54] local.INFO: TCP Data received {"connection_id":162286,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:47:54] local.INFO: Processing buffer {"connection_id":162286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:47:54] local.INFO: IMEI packet received {"connection_id":162286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":162286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:47:55] local.INFO: TCP Data received {"connection_id":162286,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:47:55] local.INFO: Processing buffer {"connection_id":162286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:47:55] local.INFO: Packet analysis {"connection_id":162286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:47:55] local.INFO: Extracted packet for processing {"connection_id":162286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568124928001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:47: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-22 10:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787375789000,"timestamp_ms":1787375789000,"timestamp_seconds":1787375789,"priority":1,"record_length":96,"hex_timestamp":"000001a027e623c8"} 
[2026-08-22 10:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10: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-22 10:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 10:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:47: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-22 10:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568124928001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568124928001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:47:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:47:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568124928001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":162286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:47:55] local.INFO: GPS data processed {"connection_id":162286,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:47:55] local.INFO: Acknowledgment sent {"connection_id":162286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:47:58] local.INFO: TCP Data received {"connection_id":160870,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:47:58] local.INFO: Processing buffer {"connection_id":160870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:47:58] local.INFO: IMEI packet received {"connection_id":160870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":160870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:47:59] local.INFO: TCP Data received {"connection_id":160870,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e408b8012d187640072184c0004b00b626..."} 
[2026-08-22 10:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e408b8012d187640072184c0004b00b626..."} 
[2026-08-22 10:47:59] local.INFO: Processing buffer {"connection_id":160870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e408b8012d187640072184c0004b00b626..."} 
[2026-08-22 10:47:59] local.INFO: Packet analysis {"connection_id":160870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e4"} 
[2026-08-22 10:47:59] local.INFO: Extracted packet for processing {"connection_id":160870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e4"} 
[2026-08-22 10:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":38,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568161280001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:47:59] 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-22 10:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787375651000,"timestamp_ms":1787375651000,"timestamp_seconds":1787375651,"priority":1,"record_length":96,"hex_timestamp":"000001a027e408b8"} 
[2026-08-22 10: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-22 10:47: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-22 10: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-22 10:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:47:59] 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-22 10:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568161280001,"66":12711,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568161280001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:47:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568161280001,"power":12711,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":160870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:47:59] local.INFO: GPS data processed {"connection_id":160870,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:47:59] local.INFO: Acknowledgment sent {"connection_id":160870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:48:26] local.INFO: TCP Data received {"connection_id":162286,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:48:26] local.INFO: Processing buffer {"connection_id":162286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:48:26] local.INFO: Packet analysis {"connection_id":162286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:48:26] local.INFO: Extracted packet for processing {"connection_id":162286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:48:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568124928001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:48: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-22 10:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787375789000,"timestamp_ms":1787375789000,"timestamp_seconds":1787375789,"priority":1,"record_length":96,"hex_timestamp":"000001a027e623c8"} 
[2026-08-22 10: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-22 10:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 10:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:48: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-22 10:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568124928001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568124928001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:48:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:48:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568124928001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":162286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:48:26] local.INFO: GPS data processed {"connection_id":162286,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:48:26] local.INFO: Acknowledgment sent {"connection_id":162286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:48:30] local.INFO: TCP Data received {"connection_id":160870,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e45ac0012d187640072184c0004b00b627..."} 
[2026-08-22 10:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e45ac0012d187640072184c0004b00b627..."} 
[2026-08-22 10:48:30] local.INFO: Processing buffer {"connection_id":160870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e45ac0012d187640072184c0004b00b627..."} 
[2026-08-22 10:48:30] local.INFO: Packet analysis {"connection_id":160870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e4"} 
[2026-08-22 10:48:30] local.INFO: Extracted packet for processing {"connection_id":160870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e4"} 
[2026-08-22 10:48:30] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":39,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568166656001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787375672000,"timestamp_ms":1787375672000,"timestamp_seconds":1787375672,"priority":1,"record_length":96,"hex_timestamp":"000001a027e45ac0"} 
[2026-08-22 10: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-22 10:48: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-22 10: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-22 10:48:30] 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-22 10: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-22 10: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-22 10:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:48:30] 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-22 10:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568166656001,"66":12711,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568166656001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:48:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568166656001,"power":12711,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":160870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:48:30] local.INFO: GPS data processed {"connection_id":160870,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:48:30] local.INFO: Acknowledgment sent {"connection_id":160870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:48:49] local.INFO: TCP Data received {"connection_id":160871,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:48:49] local.INFO: Processing buffer {"connection_id":160871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:48:49] local.INFO: IMEI packet received {"connection_id":160871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":160871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:48:53] local.INFO: TCP Data received {"connection_id":159972,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:48:53] local.INFO: Processing buffer {"connection_id":159972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:48:53] local.INFO: IMEI packet received {"connection_id":159972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":159972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:48:54] local.INFO: TCP Data received {"connection_id":160871,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:48:54] local.INFO: Processing buffer {"connection_id":160871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:48:54] local.INFO: IMEI packet received {"connection_id":160871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":160871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:48:55] local.INFO: TCP Data received {"connection_id":160871,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:48:55] local.INFO: Processing buffer {"connection_id":160871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:48:55] local.INFO: Packet analysis {"connection_id":160871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:48:55] local.INFO: Extracted packet for processing {"connection_id":160871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:48:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568124928001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:48: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-22 10:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787375789000,"timestamp_ms":1787375789000,"timestamp_seconds":1787375789,"priority":1,"record_length":96,"hex_timestamp":"000001a027e623c8"} 
[2026-08-22 10:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:48: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-22 10:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 10:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10: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-22 10:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568124928001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568124928001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:48:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:48:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568124928001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":160871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:48:55] local.INFO: GPS data processed {"connection_id":160871,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:48:55] local.INFO: Acknowledgment sent {"connection_id":160871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:48:58] local.INFO: TCP Data received {"connection_id":159972,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:48:58] local.INFO: Processing buffer {"connection_id":159972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:48:58] local.INFO: IMEI packet received {"connection_id":159972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":159972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:48:59] local.INFO: TCP Data received {"connection_id":159972,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e4acc8012d187640072184c0004b00b626..."} 
[2026-08-22 10:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e4acc8012d187640072184c0004b00b626..."} 
[2026-08-22 10:48:59] local.INFO: Processing buffer {"connection_id":159972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e4acc8012d187640072184c0004b00b626..."} 
[2026-08-22 10:48:59] local.INFO: Packet analysis {"connection_id":159972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e4"} 
[2026-08-22 10:48:59] local.INFO: Extracted packet for processing {"connection_id":159972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e4"} 
[2026-08-22 10:48:59] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":38,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568172032001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:48:59] 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-22 10:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787375693000,"timestamp_ms":1787375693000,"timestamp_seconds":1787375693,"priority":1,"record_length":96,"hex_timestamp":"000001a027e4acc8"} 
[2026-08-22 10: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-22 10:48: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-22 10: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-22 10:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:48:59] 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-22 10:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568172032001,"66":12667,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568172032001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:48:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:48:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568172032001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":159972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:48:59] local.INFO: GPS data processed {"connection_id":159972,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:48:59] local.INFO: Acknowledgment sent {"connection_id":159972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:49:26] local.INFO: TCP Data received {"connection_id":160871,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:49:26] local.INFO: Processing buffer {"connection_id":160871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:49:26] local.INFO: Packet analysis {"connection_id":160871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:49:26] local.INFO: Extracted packet for processing {"connection_id":160871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:49:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568124928001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:49: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-22 10:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787375789000,"timestamp_ms":1787375789000,"timestamp_seconds":1787375789,"priority":1,"record_length":96,"hex_timestamp":"000001a027e623c8"} 
[2026-08-22 10:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 10:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:49: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-22 10:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568124928001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568124928001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:49:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:49:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568124928001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":160871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:49:26] local.INFO: GPS data processed {"connection_id":160871,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:49:26] local.INFO: Acknowledgment sent {"connection_id":160871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:49:30] local.INFO: TCP Data received {"connection_id":159972,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e4fed0012d187640072184c0004b00b627..."} 
[2026-08-22 10:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e4fed0012d187640072184c0004b00b627..."} 
[2026-08-22 10:49:30] local.INFO: Processing buffer {"connection_id":159972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e4fed0012d187640072184c0004b00b627..."} 
[2026-08-22 10:49:30] local.INFO: Packet analysis {"connection_id":159972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e4"} 
[2026-08-22 10:49:30] local.INFO: Extracted packet for processing {"connection_id":159972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e4"} 
[2026-08-22 10:49:30] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":39,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568177408001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787375714000,"timestamp_ms":1787375714000,"timestamp_seconds":1787375714,"priority":1,"record_length":96,"hex_timestamp":"000001a027e4fed0"} 
[2026-08-22 10: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-22 10:49: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-22 10: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-22 10:49:30] 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-22 10: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-22 10: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-22 10:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:49:30] 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-22 10:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568177408001,"66":12602,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568177408001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:49:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:49:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568177408001,"power":12602,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":159972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:49:30] local.INFO: GPS data processed {"connection_id":159972,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:49:30] local.INFO: Acknowledgment sent {"connection_id":159972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:49:49] local.INFO: TCP Data received {"connection_id":160872,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:49:49] local.INFO: Processing buffer {"connection_id":160872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:49:49] local.INFO: IMEI packet received {"connection_id":160872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":160872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:49:53] local.INFO: TCP Data received {"connection_id":162287,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:49:53] local.INFO: Processing buffer {"connection_id":162287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:49:53] local.INFO: IMEI packet received {"connection_id":162287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":162287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:49:54] local.INFO: TCP Data received {"connection_id":160872,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:49:54] local.INFO: Processing buffer {"connection_id":160872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:49:54] local.INFO: IMEI packet received {"connection_id":160872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":160872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:49:55] local.INFO: TCP Data received {"connection_id":160872,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:49:55] local.INFO: Processing buffer {"connection_id":160872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:49:55] local.INFO: Packet analysis {"connection_id":160872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:49:55] local.INFO: Extracted packet for processing {"connection_id":160872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:49:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568124928001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:49: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-22 10:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787375789000,"timestamp_ms":1787375789000,"timestamp_seconds":1787375789,"priority":1,"record_length":96,"hex_timestamp":"000001a027e623c8"} 
[2026-08-22 10: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-22 10:49: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-22 10:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 10:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:49:55] 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-22 10:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568124928001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568124928001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:49:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:49:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568124928001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":160872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:49:55] local.INFO: GPS data processed {"connection_id":160872,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:49:55] local.INFO: Acknowledgment sent {"connection_id":160872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:49:58] local.INFO: TCP Data received {"connection_id":162287,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:49:58] local.INFO: Processing buffer {"connection_id":162287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:49:58] local.INFO: IMEI packet received {"connection_id":162287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":162287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:49:59] local.INFO: TCP Data received {"connection_id":162287,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e550d8012d187640072184c0004b00b626..."} 
[2026-08-22 10:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e550d8012d187640072184c0004b00b626..."} 
[2026-08-22 10:49:59] local.INFO: Processing buffer {"connection_id":162287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e550d8012d187640072184c0004b00b626..."} 
[2026-08-22 10:49:59] local.INFO: Packet analysis {"connection_id":162287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e5"} 
[2026-08-22 10:49:59] local.INFO: Extracted packet for processing {"connection_id":162287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e5"} 
[2026-08-22 10:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":38,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568182784001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:49:59] 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-22 10:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787375735000,"timestamp_ms":1787375735000,"timestamp_seconds":1787375735,"priority":1,"record_length":96,"hex_timestamp":"000001a027e550d8"} 
[2026-08-22 10:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 10:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-22 10:49:59] 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-22 10:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:49:59] 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-22 10:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568182784001,"66":12613,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568182784001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:49:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:49:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568182784001,"power":12613,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":162287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:49:59] local.INFO: GPS data processed {"connection_id":162287,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:49:59] local.INFO: Acknowledgment sent {"connection_id":162287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:50:26] local.INFO: TCP Data received {"connection_id":160872,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:50:26] local.INFO: Processing buffer {"connection_id":160872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:50:26] local.INFO: Packet analysis {"connection_id":160872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:50:26] local.INFO: Extracted packet for processing {"connection_id":160872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:50:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568124928001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:50: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-22 10:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787375789000,"timestamp_ms":1787375789000,"timestamp_seconds":1787375789,"priority":1,"record_length":96,"hex_timestamp":"000001a027e623c8"} 
[2026-08-22 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-22 10:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 10:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 10:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:50: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-22 10:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568124928001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568124928001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:50:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:50:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568124928001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":160872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:50:26] local.INFO: GPS data processed {"connection_id":160872,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:50:26] local.INFO: Acknowledgment sent {"connection_id":160872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:50:30] local.INFO: TCP Data received {"connection_id":162287,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e5a2e0012d187640072184c0004b00b625..."} 
[2026-08-22 10:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e5a2e0012d187640072184c0004b00b625..."} 
[2026-08-22 10:50:30] local.INFO: Processing buffer {"connection_id":162287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e5a2e0012d187640072184c0004b00b625..."} 
[2026-08-22 10:50:30] local.INFO: Packet analysis {"connection_id":162287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e5"} 
[2026-08-22 10:50:30] local.INFO: Extracted packet for processing {"connection_id":162287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e5"} 
[2026-08-22 10:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":37,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568188160001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787375756000,"timestamp_ms":1787375756000,"timestamp_seconds":1787375756,"priority":1,"record_length":96,"hex_timestamp":"000001a027e5a2e0"} 
[2026-08-22 10: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-22 10:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 10: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-22 10:50:30] 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-22 10: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-22 10: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-22 10:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:50:30] 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-22 10:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568188160001,"66":12667,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568188160001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:50:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:50:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568188160001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":162287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:50:30] local.INFO: GPS data processed {"connection_id":162287,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:50:30] local.INFO: Acknowledgment sent {"connection_id":162287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:50:53] local.INFO: TCP Data received {"connection_id":159718,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:50:53] local.INFO: Processing buffer {"connection_id":159718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:50:53] local.INFO: IMEI packet received {"connection_id":159718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":159718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:50:54] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:50:54] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:50:54] local.INFO: IMEI packet received {"connection_id":159973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":159973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:50:58] local.INFO: TCP Data received {"connection_id":159718,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:50:58] local.INFO: Processing buffer {"connection_id":159718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:50:58] local.INFO: IMEI packet received {"connection_id":159718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":159718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:50:59] local.INFO: TCP Data received {"connection_id":159718,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e5f4e8012d187640072184c0004b00b626..."} 
[2026-08-22 10:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e5f4e8012d187640072184c0004b00b626..."} 
[2026-08-22 10:50:59] local.INFO: Processing buffer {"connection_id":159718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e5f4e8012d187640072184c0004b00b626..."} 
[2026-08-22 10:50:59] local.INFO: Packet analysis {"connection_id":159718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e5"} 
[2026-08-22 10:50:59] local.INFO: Extracted packet for processing {"connection_id":159718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e5"} 
[2026-08-22 10:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":38,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568193536001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:50:59] 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-22 10:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787375777000,"timestamp_ms":1787375777000,"timestamp_seconds":1787375777,"priority":1,"record_length":96,"hex_timestamp":"000001a027e5f4e8"} 
[2026-08-22 10:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 10:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-22 10:50:59] 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-22 10:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:50:59] 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-22 10:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568193536001,"66":12591,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568193536001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:50:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568193536001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":159718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:50:59] local.INFO: GPS data processed {"connection_id":159718,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:50:59] local.INFO: Acknowledgment sent {"connection_id":159718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:50:59] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:50:59] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:50:59] local.INFO: IMEI packet received {"connection_id":159973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":159973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:51:00] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:51:00] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:51:00] local.INFO: Packet analysis {"connection_id":159973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:51:00] local.INFO: Extracted packet for processing {"connection_id":159973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568124928001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:51: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-22 10:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787375789000,"timestamp_ms":1787375789000,"timestamp_seconds":1787375789,"priority":1,"record_length":96,"hex_timestamp":"000001a027e623c8"} 
[2026-08-22 10: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-22 10:51: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-22 10: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 10:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:51: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-22 10:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568124928001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568124928001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:51:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568124928001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":159973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:51:00] local.INFO: GPS data processed {"connection_id":159973,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:51:00] local.INFO: Acknowledgment sent {"connection_id":159973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:51:05] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:51:05] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:51:05] local.INFO: Packet analysis {"connection_id":159973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:51:05] local.INFO: Extracted packet for processing {"connection_id":159973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568124928001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:51:05] 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-22 10:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787375789000,"timestamp_ms":1787375789000,"timestamp_seconds":1787375789,"priority":1,"record_length":96,"hex_timestamp":"000001a027e623c8"} 
[2026-08-22 10: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-22 10:51: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-22 10: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 10:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:51: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-22 10:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568124928001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568124928001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:51:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:51:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568124928001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":159973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:51:05] local.INFO: GPS data processed {"connection_id":159973,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:51:05] local.INFO: Acknowledgment sent {"connection_id":159973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:51:30] local.INFO: TCP Data received {"connection_id":159718,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e97b40012d187640072184c0004b00b625..."} 
[2026-08-22 10:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e97b40012d187640072184c0004b00b625..."} 
[2026-08-22 10:51:30] local.INFO: Processing buffer {"connection_id":159718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e97b40012d187640072184c0004b00b625..."} 
[2026-08-22 10:51:30] local.INFO: Packet analysis {"connection_id":159718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e9"} 
[2026-08-22 10:51:30] local.INFO: Extracted packet for processing {"connection_id":159718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e9"} 
[2026-08-22 10:51:30] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":37,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568252672001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787376008000,"timestamp_ms":1787376008000,"timestamp_seconds":1787376008,"priority":1,"record_length":96,"hex_timestamp":"000001a027e97b40"} 
[2026-08-22 10: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-22 10:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 10: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-22 10:51:30] 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-22 10: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-22 10: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-22 10:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:51:30] 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-22 10:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568252672001,"66":12602,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568252672001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:51:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:51:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568252672001,"power":12602,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":159718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:51:30] local.INFO: GPS data processed {"connection_id":159718,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:51:30] local.INFO: Acknowledgment sent {"connection_id":159718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:51:49] local.INFO: TCP Data received {"connection_id":159719,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:51:49] local.INFO: Processing buffer {"connection_id":159719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:51:49] local.INFO: IMEI packet received {"connection_id":159719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":159719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:51:54] local.INFO: TCP Data received {"connection_id":159719,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:51:54] local.INFO: Processing buffer {"connection_id":159719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:51:54] local.INFO: IMEI packet received {"connection_id":159719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":159719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:51:55] local.INFO: TCP Data received {"connection_id":159719,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:51:55] local.INFO: Processing buffer {"connection_id":159719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e623c8012d7f88c005afdea8000000d824..."} 
[2026-08-22 10:51:55] local.INFO: Packet analysis {"connection_id":159719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:51:55] local.INFO: Extracted packet for processing {"connection_id":159719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e6"} 
[2026-08-22 10:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568124928001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10: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-22 10:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787375789000,"timestamp_ms":1787375789000,"timestamp_seconds":1787375789,"priority":1,"record_length":96,"hex_timestamp":"000001a027e623c8"} 
[2026-08-22 10:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:51: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-22 10:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 10:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:51: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-22 10:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568124928001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568124928001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:51:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:51:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568124928001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":159719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:51:55] local.INFO: GPS data processed {"connection_id":159719,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:51:55] local.INFO: Acknowledgment sent {"connection_id":159719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:51:58] local.INFO: TCP Data received {"connection_id":162288,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:51:58] local.INFO: Processing buffer {"connection_id":162288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:51:58] local.INFO: IMEI packet received {"connection_id":162288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":162288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:52:03] local.INFO: TCP Data received {"connection_id":162288,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:52:03] local.INFO: Processing buffer {"connection_id":162288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:52:03] local.INFO: IMEI packet received {"connection_id":162288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":162288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:52:04] local.INFO: TCP Data received {"connection_id":162288,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027e9cd48012d187640072184c0004b00b624..."} 
[2026-08-22 10:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027e9cd48012d187640072184c0004b00b624..."} 
[2026-08-22 10:52:04] local.INFO: Processing buffer {"connection_id":162288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027e9cd48012d187640072184c0004b00b624..."} 
[2026-08-22 10:52:04] local.INFO: Packet analysis {"connection_id":162288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027e9"} 
[2026-08-22 10:52:04] local.INFO: Extracted packet for processing {"connection_id":162288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027e9"} 
[2026-08-22 10:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":36,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568258048001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:52:04] 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-22 10:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787376029000,"timestamp_ms":1787376029000,"timestamp_seconds":1787376029,"priority":1,"record_length":96,"hex_timestamp":"000001a027e9cd48"} 
[2026-08-22 10: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-22 10:52: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-22 10: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-22 10:52:04] 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-22 10: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-22 10: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-22 10:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:52:04] 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-22 10:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568258048001,"66":12613,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568258048001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:52:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568258048001,"power":12613,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":162288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:52:04] local.INFO: GPS data processed {"connection_id":162288,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:52:04] local.INFO: Acknowledgment sent {"connection_id":162288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:52:08] local.INFO: TCP Data received {"connection_id":162288,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027ea1f50012d187640072184c0004b00b625..."} 
[2026-08-22 10:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ea1f50012d187640072184c0004b00b625..."} 
[2026-08-22 10:52:08] local.INFO: Processing buffer {"connection_id":162288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ea1f50012d187640072184c0004b00b625..."} 
[2026-08-22 10:52:08] local.INFO: Packet analysis {"connection_id":162288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:52:08] local.INFO: Extracted packet for processing {"connection_id":162288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":37,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568263424001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:52:08] 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-22 10:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787376050000,"timestamp_ms":1787376050000,"timestamp_seconds":1787376050,"priority":1,"record_length":96,"hex_timestamp":"000001a027ea1f50"} 
[2026-08-22 10: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-22 10:52:08] 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-22 10: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-22 10:52:08] 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-22 10:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10: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-22 10:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:52:08] 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-22 10:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568263424001,"66":12591,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568263424001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:52:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568263424001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":162288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:52:09] local.INFO: GPS data processed {"connection_id":162288,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:52:09] local.INFO: Acknowledgment sent {"connection_id":162288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:52:26] local.INFO: TCP Data received {"connection_id":159719,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:52:26] local.INFO: Processing buffer {"connection_id":159719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:52:26] local.INFO: Packet analysis {"connection_id":159719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:52:26] local.INFO: Extracted packet for processing {"connection_id":159719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:52:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568201984001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:52: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-22 10:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787376090000,"timestamp_ms":1787376090000,"timestamp_seconds":1787376090,"priority":1,"record_length":96,"hex_timestamp":"000001a027eabb90"} 
[2026-08-22 10:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:52:26] 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-22 10:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:52: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-22 10:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568201984001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568201984001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:52:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568201984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":159719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:52:26] local.INFO: GPS data processed {"connection_id":159719,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:52:26] local.INFO: Acknowledgment sent {"connection_id":159719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:52:50] local.INFO: TCP Data received {"connection_id":159974,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:52:50] local.INFO: Processing buffer {"connection_id":159974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:52:50] local.INFO: IMEI packet received {"connection_id":159974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":159974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:52:52] local.INFO: TCP Data received {"connection_id":162289,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:52:52] local.INFO: Processing buffer {"connection_id":162289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:52:52] local.INFO: IMEI packet received {"connection_id":162289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":162289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:52:53] local.INFO: TCP Data received {"connection_id":162289,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:52:53] local.INFO: Processing buffer {"connection_id":162289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:52:53] local.INFO: IMEI packet received {"connection_id":162289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":162289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:52:54] local.INFO: TCP Data received {"connection_id":159974,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:52:54] local.INFO: Processing buffer {"connection_id":159974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:52:54] local.INFO: IMEI packet received {"connection_id":159974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":159974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:52:55] local.INFO: TCP Data received {"connection_id":159974,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:52:55] local.INFO: Processing buffer {"connection_id":159974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:52:55] local.INFO: Packet analysis {"connection_id":159974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:52:55] local.INFO: Extracted packet for processing {"connection_id":159974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:52:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568201984001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:52: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-22 10:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787376090000,"timestamp_ms":1787376090000,"timestamp_seconds":1787376090,"priority":1,"record_length":96,"hex_timestamp":"000001a027eabb90"} 
[2026-08-22 10: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-22 10:52: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-22 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:52: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-22 10: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-22 10: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-22 10:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:52: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-22 10:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568201984001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568201984001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:52:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:52:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568201984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":159974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:52:55] local.INFO: GPS data processed {"connection_id":159974,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:52:55] local.INFO: Acknowledgment sent {"connection_id":159974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:52:58] local.INFO: TCP Data received {"connection_id":162289,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:52:58] local.INFO: Processing buffer {"connection_id":162289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:52:58] local.INFO: IMEI packet received {"connection_id":162289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":162289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:52:59] local.INFO: TCP Data received {"connection_id":162289,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027ea7158012d187640072184c0004b00b622..."} 
[2026-08-22 10:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ea7158012d187640072184c0004b00b622..."} 
[2026-08-22 10:52:59] local.INFO: Processing buffer {"connection_id":162289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ea7158012d187640072184c0004b00b622..."} 
[2026-08-22 10:52:59] local.INFO: Packet analysis {"connection_id":162289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:52:59] local.INFO: Extracted packet for processing {"connection_id":162289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:52:59] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":34,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568268800001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:52:59] 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-22 10:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787376071000,"timestamp_ms":1787376071000,"timestamp_seconds":1787376071,"priority":1,"record_length":96,"hex_timestamp":"000001a027ea7158"} 
[2026-08-22 10: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-22 10:52:59] 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-22 10: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 10:52:59] 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-22 10: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-22 10: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-22 10:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:52:59] 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-22 10:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568268800001,"66":12591,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568268800001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:52:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:52:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568268800001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":162289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:52:59] local.INFO: GPS data processed {"connection_id":162289,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:52:59] local.INFO: Acknowledgment sent {"connection_id":162289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:53:04] local.INFO: TCP Data received {"connection_id":162289,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027eac360012d187640072184c0004b00b624..."} 
[2026-08-22 10:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027eac360012d187640072184c0004b00b624..."} 
[2026-08-22 10:53:04] local.INFO: Processing buffer {"connection_id":162289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027eac360012d187640072184c0004b00b624..."} 
[2026-08-22 10:53:04] local.INFO: Packet analysis {"connection_id":162289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:53:04] local.INFO: Extracted packet for processing {"connection_id":162289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:53:04] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":36,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568274176001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:04] 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-22 10:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787376092000,"timestamp_ms":1787376092000,"timestamp_seconds":1787376092,"priority":1,"record_length":96,"hex_timestamp":"000001a027eac360"} 
[2026-08-22 10: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-22 10:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 10: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 10:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:53:04] 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-22 10:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568274176001,"66":12558,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568274176001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:53:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:53:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568274176001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":162289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:53:04] local.INFO: GPS data processed {"connection_id":162289,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:53:04] local.INFO: Acknowledgment sent {"connection_id":162289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:53:27] local.INFO: TCP Data received {"connection_id":159974,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:53:27] local.INFO: Processing buffer {"connection_id":159974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:53:27] local.INFO: Packet analysis {"connection_id":159974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:53:27] local.INFO: Extracted packet for processing {"connection_id":159974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568201984001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53: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-22 10:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787376090000,"timestamp_ms":1787376090000,"timestamp_seconds":1787376090,"priority":1,"record_length":96,"hex_timestamp":"000001a027eabb90"} 
[2026-08-22 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-22 10:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:53:27] 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-22 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-22 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-22 10:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10: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-22 10:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568201984001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568201984001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:53:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568201984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":159974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:53:27] local.INFO: GPS data processed {"connection_id":159974,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:53:27] local.INFO: Acknowledgment sent {"connection_id":159974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:53:35] local.INFO: TCP Data received {"connection_id":162289,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027eb1568012d187640072184c0004b00b624..."} 
[2026-08-22 10:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027eb1568012d187640072184c0004b00b624..."} 
[2026-08-22 10:53:35] local.INFO: Processing buffer {"connection_id":162289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027eb1568012d187640072184c0004b00b624..."} 
[2026-08-22 10:53:35] local.INFO: Packet analysis {"connection_id":162289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027eb"} 
[2026-08-22 10:53:35] local.INFO: Extracted packet for processing {"connection_id":162289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027eb"} 
[2026-08-22 10:53:35] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":36,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568279552001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:35] 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-22 10:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787376113000,"timestamp_ms":1787376113000,"timestamp_seconds":1787376113,"priority":1,"record_length":96,"hex_timestamp":"000001a027eb1568"} 
[2026-08-22 10:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:53:35] 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-22 10:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-22 10:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:35] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-22 10:53:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249477148517434560,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:35] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3917168641,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:35] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2227175499,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:35] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:35] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:35] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,106,83,24,241,157,16,12,160,113,45,64,132,75,34,10,66,31,37,205,1,240,69,227,39,33,4,41,118,192,35,239,49,2,51,7,77,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-22 10:53:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404519818579673088,"timestamp_seconds":5404519818579673.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 10:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":162289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":162289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":162289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:53:35] 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-22 10:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568279552001,"66":12580,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568279552001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:53:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:53:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568279552001,"power":12580,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":162289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:53:35] local.INFO: GPS data processed {"connection_id":162289,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:53:35] local.INFO: Acknowledgment sent {"connection_id":162289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:53:49] local.INFO: TCP Data received {"connection_id":162290,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:53:49] local.INFO: Processing buffer {"connection_id":162290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:53:49] local.INFO: IMEI packet received {"connection_id":162290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":162290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:53:53] local.INFO: TCP Data received {"connection_id":159720,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:53:53] local.INFO: Processing buffer {"connection_id":159720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:53:53] local.INFO: IMEI packet received {"connection_id":159720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":159720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:53:54] local.INFO: TCP Data received {"connection_id":162290,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:53:54] local.INFO: Processing buffer {"connection_id":162290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:53:54] local.INFO: IMEI packet received {"connection_id":162290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":162290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:53:55] local.INFO: TCP Data received {"connection_id":162290,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:53:55] local.INFO: Processing buffer {"connection_id":162290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:53:55] local.INFO: Packet analysis {"connection_id":162290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:53:55] local.INFO: Extracted packet for processing {"connection_id":162290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:53:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568201984001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53: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-22 10:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787376090000,"timestamp_ms":1787376090000,"timestamp_seconds":1787376090,"priority":1,"record_length":96,"hex_timestamp":"000001a027eabb90"} 
[2026-08-22 10:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:53: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-22 10:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:53: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-22 10:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568201984001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568201984001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:53:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:53:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568201984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":162290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:53:55] local.INFO: GPS data processed {"connection_id":162290,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:53:55] local.INFO: Acknowledgment sent {"connection_id":162290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:53:55] local.INFO: TCP Data received {"connection_id":159720,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:53:55] local.INFO: Processing buffer {"connection_id":159720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:53:55] local.INFO: IMEI packet received {"connection_id":159720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":159720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:53:56] local.INFO: TCP Data received {"connection_id":159720,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027eb6770012d187640072184c0004b00b625..."} 
[2026-08-22 10:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027eb6770012d187640072184c0004b00b625..."} 
[2026-08-22 10:53:56] local.INFO: Processing buffer {"connection_id":159720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027eb6770012d187640072184c0004b00b625..."} 
[2026-08-22 10:53:56] local.INFO: Packet analysis {"connection_id":159720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027eb"} 
[2026-08-22 10:53:56] local.INFO: Extracted packet for processing {"connection_id":159720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027eb"} 
[2026-08-22 10:53:56] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":37,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568284928001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:53:56] 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-22 10:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787376134000,"timestamp_ms":1787376134000,"timestamp_seconds":1787376134,"priority":1,"record_length":96,"hex_timestamp":"000001a027eb6770"} 
[2026-08-22 10: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-22 10:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 10: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-22 10:53:56] 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-22 10: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-22 10: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-22 10:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:53:56] 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-22 10:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568284928001,"66":11961,"106":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 10:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568284928001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:53:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 10:53:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568284928001,"power":11961,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":159720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:53:56] local.INFO: GPS data processed {"connection_id":159720,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:53:56] local.INFO: Acknowledgment sent {"connection_id":159720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:54:26] local.INFO: TCP Data received {"connection_id":162290,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:54:26] local.INFO: Processing buffer {"connection_id":162290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:54:26] local.INFO: Packet analysis {"connection_id":162290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:54:26] local.INFO: Extracted packet for processing {"connection_id":162290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568201984001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54: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-22 10:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787376090000,"timestamp_ms":1787376090000,"timestamp_seconds":1787376090,"priority":1,"record_length":96,"hex_timestamp":"000001a027eabb90"} 
[2026-08-22 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-22 10:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:54:26] 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-22 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-22 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-22 10:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 10:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568201984001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568201984001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:54:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568201984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":162290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:54:26] local.INFO: GPS data processed {"connection_id":162290,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:54:26] local.INFO: Acknowledgment sent {"connection_id":162290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:54:28] local.INFO: TCP Data received {"connection_id":159720,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027ebb978012d187640072184c0004b00b624..."} 
[2026-08-22 10:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ebb978012d187640072184c0004b00b624..."} 
[2026-08-22 10:54:28] local.INFO: Processing buffer {"connection_id":159720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ebb978012d187640072184c0004b00b624..."} 
[2026-08-22 10:54:28] local.INFO: Packet analysis {"connection_id":159720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027eb"} 
[2026-08-22 10:54:28] local.INFO: Extracted packet for processing {"connection_id":159720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027eb"} 
[2026-08-22 10:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":36,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568290304001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:28] local.INFO: IO Element Parsed {"io_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-22 10:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787376155000,"timestamp_ms":1787376155000,"timestamp_seconds":1787376155,"priority":1,"record_length":96,"hex_timestamp":"000001a027ebb978"} 
[2026-08-22 10:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:54: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-22 10:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 10:54:28] 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-22 10:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:54:28] 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-22 10:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568290304001,"66":11798,"105":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568290304001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:54:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568290304001,"power":11798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":159720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:54:28] local.INFO: GPS data processed {"connection_id":159720,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:54:28] local.INFO: Acknowledgment sent {"connection_id":159720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:54:51] local.INFO: TCP Data received {"connection_id":160874,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:54:51] local.INFO: Processing buffer {"connection_id":160874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:54:51] local.INFO: IMEI packet received {"connection_id":160874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":160874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:54:54] local.INFO: TCP Data received {"connection_id":160873,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:54:54] local.INFO: Processing buffer {"connection_id":160873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:54:54] local.INFO: IMEI packet received {"connection_id":160873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":160873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:54:55] local.INFO: TCP Data received {"connection_id":160874,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:54:55] local.INFO: Processing buffer {"connection_id":160874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:54:55] local.INFO: IMEI packet received {"connection_id":160874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":160874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:54:55] local.INFO: TCP Data received {"connection_id":160874,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:54:55] local.INFO: Processing buffer {"connection_id":160874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:54:55] local.INFO: IMEI packet received {"connection_id":160874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":160874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:54:58] local.INFO: TCP Data received {"connection_id":160874,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:54:58] local.INFO: Processing buffer {"connection_id":160874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:54:58] local.INFO: IMEI packet received {"connection_id":160874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":160874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:54:59] local.INFO: TCP Data received {"connection_id":160874,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027ec0b80012d187640072184c0004b00b626..."} 
[2026-08-22 10:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ec0b80012d187640072184c0004b00b626..."} 
[2026-08-22 10:54:59] local.INFO: Processing buffer {"connection_id":160874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ec0b80012d187640072184c0004b00b626..."} 
[2026-08-22 10:54:59] local.INFO: Packet analysis {"connection_id":160874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ec"} 
[2026-08-22 10:54:59] local.INFO: Extracted packet for processing {"connection_id":160874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ec"} 
[2026-08-22 10:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":38,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568295680001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787376176000,"timestamp_ms":1787376176000,"timestamp_seconds":1787376176,"priority":1,"record_length":96,"hex_timestamp":"000001a027ec0b80"} 
[2026-08-22 10: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-22 10:54:59] 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-22 10: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 10:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3933296641,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-8881098143040134400,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846346480,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-22 10:54:59] local.WARNING: Large IO value detected {"io_id":118,"raw_value":4613693197305006848,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.WARNING: Large IO value detected {"io_id":51,"raw_value":885801751708434432,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2666130979403336192,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.WARNING: Large IO value detected {"io_id":58,"raw_value":57819373738283940,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2970125247446401031,"note":"Value kept but may cause issues"} 
[2026-08-22 10:54:59] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,12,160,103,45,64,132,75,37,10,66,106,21,36,195,1,240,14,227,39,33,4,113,205,31,118,192,239,49,2,51,77,206,182,58,233],"length":632,"final_offset":762,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-22 10:54:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404519818579673088,"timestamp_seconds":5404519818579673.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 10: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-22 10:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:54:59] 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-22 10:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568295680001,"66":12287,"105":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568295680001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:54:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:54:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568295680001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":160874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:54:59] local.INFO: GPS data processed {"connection_id":160874,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:54:59] local.INFO: Acknowledgment sent {"connection_id":160874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:54:59] local.INFO: TCP Data received {"connection_id":160873,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:54:59] local.INFO: Processing buffer {"connection_id":160873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:54:59] local.INFO: IMEI packet received {"connection_id":160873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":160873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:55:00] local.INFO: TCP Data received {"connection_id":160873,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:55:00] local.INFO: Processing buffer {"connection_id":160873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:55:00] local.INFO: Packet analysis {"connection_id":160873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:55:00] local.INFO: Extracted packet for processing {"connection_id":160873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568201984001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55: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-22 10:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787376090000,"timestamp_ms":1787376090000,"timestamp_seconds":1787376090,"priority":1,"record_length":96,"hex_timestamp":"000001a027eabb90"} 
[2026-08-22 10:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:55: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-22 10:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:55: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-22 10:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:55: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-22 10:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568201984001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568201984001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:55:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568201984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":160873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:55:00] local.INFO: GPS data processed {"connection_id":160873,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:55:00] local.INFO: Acknowledgment sent {"connection_id":160873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:55:04] local.INFO: TCP Data received {"connection_id":160874,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027ec5d88012d187640072184c0004b00b625..."} 
[2026-08-22 10:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ec5d88012d187640072184c0004b00b625..."} 
[2026-08-22 10:55:04] local.INFO: Processing buffer {"connection_id":160874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ec5d88012d187640072184c0004b00b625..."} 
[2026-08-22 10:55:04] local.INFO: Packet analysis {"connection_id":160874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ec"} 
[2026-08-22 10:55:04] local.INFO: Extracted packet for processing {"connection_id":160874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ec"} 
[2026-08-22 10:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119637184,"longitude_deg":75.6577856,"latitude_deg":11.9637184,"altitude":75,"angle":182,"satellites":37,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568301056001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14368740074323968,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533424640,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55:04] local.INFO: IO Element Parsed {"io_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-22 10:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787376197000,"timestamp_ms":1787376197000,"timestamp_seconds":1787376197,"priority":1,"record_length":96,"hex_timestamp":"000001a027ec5d88"} 
[2026-08-22 10: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-22 10:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 10:55:04] 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-22 10: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-22 10: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-22 10:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:55:04] 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-22 10:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568301056001,"66":14265,"105":206,"83":41984,"24":0,"16":14368740074323968,"45":1762666703533424640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 10:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568301056001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:55:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 10:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14368740074323968,"km_value":14368740074323.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533424640,"description":"Unknown IO ID 45"} 
[2026-08-22 10:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568301056001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533424640}} 
[2026-08-22 10:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":160874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:55:04] local.INFO: GPS data processed {"connection_id":160874,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:55:04] local.INFO: Acknowledgment sent {"connection_id":160874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:55:05] local.INFO: TCP Data received {"connection_id":160873,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:55:05] local.INFO: Processing buffer {"connection_id":160873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:55:05] local.INFO: Packet analysis {"connection_id":160873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:55:05] local.INFO: Extracted packet for processing {"connection_id":160873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:55:05] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568201984001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55:05] 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-22 10:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787376090000,"timestamp_ms":1787376090000,"timestamp_seconds":1787376090,"priority":1,"record_length":96,"hex_timestamp":"000001a027eabb90"} 
[2026-08-22 10:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:55: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-22 10:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:55:05] 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-22 10:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:55:05] 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-22 10:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568201984001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568201984001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:55:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:55:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568201984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":160873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:55:05] local.INFO: GPS data processed {"connection_id":160873,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:55:05] local.INFO: Acknowledgment sent {"connection_id":160873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:55:35] local.INFO: TCP Data received {"connection_id":160874,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027edb160012d18d0c007212bb80043009c26..."} 
[2026-08-22 10:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027edb160012d18d0c007212bb80043009c26..."} 
[2026-08-22 10:55:35] local.INFO: Processing buffer {"connection_id":160874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027edb160012d18d0c007212bb80043009c26..."} 
[2026-08-22 10:55:35] local.INFO: Packet analysis {"connection_id":160874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ed"} 
[2026-08-22 10:55:35] local.INFO: Extracted packet for processing {"connection_id":160874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ed"} 
[2026-08-22 10:55:35] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119614392,"longitude_deg":75.6601024,"latitude_deg":11.9614392,"altitude":67,"angle":156,"satellites":38,"speed":24,"hex_longitude":"2d18d0c0","hex_latitude":"07212bb8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568327936001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14370462356209664,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787155026501834752,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55:35] 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-22 10:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787376284000,"timestamp_ms":1787376284000,"timestamp_seconds":1787376284,"priority":1,"record_length":96,"hex_timestamp":"000001a027edb160"} 
[2026-08-22 10: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-22 10:55:35] 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-22 10: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-22 10:55:35] 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-22 10: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-22 10: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-22 10:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:55:35] 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-22 10:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568327936001,"66":14243,"103":206,"83":41984,"24":24,"16":14370462356209664,"45":1787155026501834752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 10:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568327936001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:55:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 10:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14370462356209664,"km_value":14370462356209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787155026501834752,"description":"Unknown IO ID 45"} 
[2026-08-22 10:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568327936001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1787155026501834752}} 
[2026-08-22 10:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":160874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:55:35] local.INFO: GPS data processed {"connection_id":160874,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:55:35] local.INFO: Acknowledgment sent {"connection_id":160874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:55:49] local.INFO: TCP Data received {"connection_id":160875,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:55:49] local.INFO: Processing buffer {"connection_id":160875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:55:49] local.INFO: IMEI packet received {"connection_id":160875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":160875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:55:53] local.INFO: TCP Data received {"connection_id":162291,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:55:53] local.INFO: Processing buffer {"connection_id":162291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:55:53] local.INFO: IMEI packet received {"connection_id":162291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":162291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:55:54] local.INFO: TCP Data received {"connection_id":160875,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:55:54] local.INFO: Processing buffer {"connection_id":160875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:55:54] local.INFO: IMEI packet received {"connection_id":160875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":160875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:55:55] local.INFO: TCP Data received {"connection_id":160875,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:55:55] local.INFO: Processing buffer {"connection_id":160875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:55:55] local.INFO: Packet analysis {"connection_id":160875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:55:55] local.INFO: Extracted packet for processing {"connection_id":160875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:55:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568201984001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55: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-22 10:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787376090000,"timestamp_ms":1787376090000,"timestamp_seconds":1787376090,"priority":1,"record_length":96,"hex_timestamp":"000001a027eabb90"} 
[2026-08-22 10:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:55: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-22 10:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:55: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-22 10:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:55:55] 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-22 10:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568201984001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568201984001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:55:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:55:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568201984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":160875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:55:55] local.INFO: GPS data processed {"connection_id":160875,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:55:55] local.INFO: Acknowledgment sent {"connection_id":160875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:55:58] local.INFO: TCP Data received {"connection_id":162291,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:55:58] local.INFO: Processing buffer {"connection_id":162291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:55:58] local.INFO: IMEI packet received {"connection_id":162291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":162291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:55:59] local.INFO: TCP Data received {"connection_id":162291,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027edb930012d18d24007212718004300a726..."} 
[2026-08-22 10:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027edb930012d18d24007212718004300a726..."} 
[2026-08-22 10:55:59] local.INFO: Processing buffer {"connection_id":162291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027edb930012d18d24007212718004300a726..."} 
[2026-08-22 10:55:59] local.INFO: Packet analysis {"connection_id":162291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ed"} 
[2026-08-22 10:55:59] local.INFO: Extracted packet for processing {"connection_id":162291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ed"} 
[2026-08-22 10:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119613208,"longitude_deg":75.6601408,"latitude_deg":11.9613208,"altitude":67,"angle":167,"satellites":38,"speed":25,"hex_longitude":"2d18d240","hex_latitude":"07212718","is_valid_coordinates":true} 
[2026-08-22 10:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568328704001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14370522485751808,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188919904256,"note":"Value kept but may cause issues"} 
[2026-08-22 10:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787376286000,"timestamp_ms":1787376286000,"timestamp_seconds":1787376286,"priority":1,"record_length":96,"hex_timestamp":"000001a027edb930"} 
[2026-08-22 10:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:55:59] 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-22 10:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-22 10:55:59] 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-22 10:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:55:59] 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-22 10:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568328704001,"66":14211,"103":206,"83":41984,"24":25,"16":14370522485751808,"45":1788140188919904256},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 10:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568328704001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:55:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 10:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14370522485751808,"km_value":14370522485751.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188919904256,"description":"Unknown IO ID 45"} 
[2026-08-22 10:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568328704001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1788140188919904256}} 
[2026-08-22 10:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":162291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:55:59] local.INFO: GPS data processed {"connection_id":162291,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:55:59] local.INFO: Acknowledgment sent {"connection_id":162291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:56:26] local.INFO: TCP Data received {"connection_id":160875,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:56:26] local.INFO: Processing buffer {"connection_id":160875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:56:26] local.INFO: Packet analysis {"connection_id":160875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:56:26] local.INFO: Extracted packet for processing {"connection_id":160875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:56:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568201984001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56: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-22 10:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787376090000,"timestamp_ms":1787376090000,"timestamp_seconds":1787376090,"priority":1,"record_length":96,"hex_timestamp":"000001a027eabb90"} 
[2026-08-22 10: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-22 10:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:56:26] 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-22 10: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-22 10: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-22 10:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:56: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-22 10:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568201984001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568201984001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:56:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568201984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":160875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:56:26] local.INFO: GPS data processed {"connection_id":160875,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:56:26] local.INFO: Acknowledgment sent {"connection_id":160875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:56:30] local.INFO: TCP Data received {"connection_id":162291,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027edc100012d18d28007212230004200b325..."} 
[2026-08-22 10:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027edc100012d18d28007212230004200b325..."} 
[2026-08-22 10:56:30] local.INFO: Processing buffer {"connection_id":162291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027edc100012d18d28007212230004200b325..."} 
[2026-08-22 10:56:30] local.INFO: Packet analysis {"connection_id":162291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ed"} 
[2026-08-22 10:56:30] local.INFO: Extracted packet for processing {"connection_id":162291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ed"} 
[2026-08-22 10:56:30] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119611952,"longitude_deg":75.6601472,"latitude_deg":11.9611952,"altitude":66,"angle":179,"satellites":37,"speed":25,"hex_longitude":"2d18d280","hex_latitude":"07212230","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568329216001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14370582615293952,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384667136,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56: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-22 10:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787376288000,"timestamp_ms":1787376288000,"timestamp_seconds":1787376288,"priority":1,"record_length":96,"hex_timestamp":"000001a027edc100"} 
[2026-08-22 10: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-22 10:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 10: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 10:56:30] 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-22 10: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-22 10: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-22 10:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:56:30] 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-22 10:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568329216001,"66":13319,"103":206,"83":41984,"24":25,"16":14370582615293952,"45":1788562401384667136},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 10:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568329216001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:56:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 10:56:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14370582615293952,"km_value":14370582615293.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384667136,"description":"Unknown IO ID 45"} 
[2026-08-22 10:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568329216001,"power":13319,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1788562401384667136}} 
[2026-08-22 10:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":162291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:56:30] local.INFO: GPS data processed {"connection_id":162291,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:56:30] local.INFO: Acknowledgment sent {"connection_id":162291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:56:49] local.INFO: TCP Data received {"connection_id":160876,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:56:49] local.INFO: Processing buffer {"connection_id":160876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:56:49] local.INFO: IMEI packet received {"connection_id":160876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":160876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:56:53] local.INFO: TCP Data received {"connection_id":162292,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:56:53] local.INFO: Processing buffer {"connection_id":162292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:56:53] local.INFO: IMEI packet received {"connection_id":162292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":162292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:56:54] local.INFO: TCP Data received {"connection_id":160876,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:56:54] local.INFO: Processing buffer {"connection_id":160876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:56:54] local.INFO: IMEI packet received {"connection_id":160876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":160876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:56:55] local.INFO: TCP Data received {"connection_id":160876,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:56:55] local.INFO: Processing buffer {"connection_id":160876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027eabb90012d7f88c005afdea8000000d820..."} 
[2026-08-22 10:56:55] local.INFO: Packet analysis {"connection_id":160876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:56:55] local.INFO: Extracted packet for processing {"connection_id":160876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ea"} 
[2026-08-22 10:56:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568201984001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56: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-22 10:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787376090000,"timestamp_ms":1787376090000,"timestamp_seconds":1787376090,"priority":1,"record_length":96,"hex_timestamp":"000001a027eabb90"} 
[2026-08-22 10: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-22 10:56: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-22 10:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 10:56: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-22 10: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-22 10: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-22 10:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:56:55] 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-22 10:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568201984001,"66":25560,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568201984001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:56:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:56:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568201984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":160876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:56:55] local.INFO: GPS data processed {"connection_id":160876,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:56:55] local.INFO: Acknowledgment sent {"connection_id":160876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:56:58] local.INFO: TCP Data received {"connection_id":162292,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:56:58] local.INFO: Processing buffer {"connection_id":162292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:56:58] local.INFO: IMEI packet received {"connection_id":162292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":162292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:56:59] local.INFO: TCP Data received {"connection_id":162292,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027ede428012d18d3c007210bb8003f00a525..."} 
[2026-08-22 10:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ede428012d18d3c007210bb8003f00a525..."} 
[2026-08-22 10:56:59] local.INFO: Processing buffer {"connection_id":162292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ede428012d18d3c007210bb8003f00a525..."} 
[2026-08-22 10:56:59] local.INFO: Packet analysis {"connection_id":162292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ed"} 
[2026-08-22 10:56:59] local.INFO: Extracted packet for processing {"connection_id":162292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ed"} 
[2026-08-22 10:56:59] local.INFO: GPS Element Parsed {"raw_longitude":756601792,"raw_latitude":119606200,"longitude_deg":75.6601792,"latitude_deg":11.96062,"altitude":63,"angle":165,"satellites":37,"speed":25,"hex_longitude":"2d18d3c0","hex_latitude":"07210bb8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568329728001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14370861788168192,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128523264,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787376297000,"timestamp_ms":1787376297000,"timestamp_seconds":1787376297,"priority":1,"record_length":96,"hex_timestamp":"000001a027ede428"} 
[2026-08-22 10: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-22 10:56:59] 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-22 10: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":7,"data_length":795,"current_offset":136} 
[2026-08-22 10:56:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:59] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":7921832079561467392,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-22 10:56:59] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:59] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3221692750,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:59] local.WARNING: Large IO value detected {"io_id":153,"raw_value":57834754016170916,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:59] local.WARNING: Large IO value detected {"io_id":237,"raw_value":4618442711067885575,"note":"Value kept but may cause issues"} 
[2026-08-22 10:56:59] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,13,160,185,45,64,39,67,38,10,66,177,192,43,165,1,240,163,227,33,4,113,205,25,118,196,168,239,55,2,51,7,72,26,153,237],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-22 10:56:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755998178000044032,"timestamp_seconds":4755998178000044.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 10: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-22 10:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:56:59] 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-22 10:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568329728001,"66":14243,"103":206,"83":41984,"24":25,"16":14370861788168192,"45":1788632770128523264},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 10:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568329728001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:56:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 10:56:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14370861788168192,"km_value":14370861788168.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128523264,"description":"Unknown IO ID 45"} 
[2026-08-22 10:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568329728001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1788632770128523264}} 
[2026-08-22 10:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":162292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:56:59] local.INFO: GPS data processed {"connection_id":162292,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:56:59] local.INFO: Acknowledgment sent {"connection_id":162292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:57:26] local.INFO: TCP Data received {"connection_id":160876,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 10:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 10:57:26] local.INFO: Processing buffer {"connection_id":160876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 10:57:26] local.INFO: Packet analysis {"connection_id":160876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 10:57:26] local.INFO: Extracted packet for processing {"connection_id":160876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 10:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568279040001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:57: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-22 10:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787376391000,"timestamp_ms":1787376391000,"timestamp_seconds":1787376391,"priority":1,"record_length":96,"hex_timestamp":"000001a027ef5358"} 
[2026-08-22 10: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-22 10:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 10:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:57:26] 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-22 10:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568279040001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568279040001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:57:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568279040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":160876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:57:26] local.INFO: GPS data processed {"connection_id":160876,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:57:26] local.INFO: Acknowledgment sent {"connection_id":160876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:57:32] local.INFO: TCP Data received {"connection_id":162292,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027ef99a8012d19ae4007209130002f00bf24..."} 
[2026-08-22 10:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ef99a8012d19ae4007209130002f00bf24..."} 
[2026-08-22 10:57:32] local.INFO: Processing buffer {"connection_id":162292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ef99a8012d19ae4007209130002f00bf24..."} 
[2026-08-22 10:57:32] local.INFO: Packet analysis {"connection_id":162292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 10:57:32] local.INFO: Extracted packet for processing {"connection_id":162292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 10:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119574832,"longitude_deg":75.6657728,"latitude_deg":11.9574832,"altitude":47,"angle":191,"satellites":36,"speed":30,"hex_longitude":"2d19ae40","hex_latitude":"07209130","is_valid_coordinates":true} 
[2026-08-22 10:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568360448001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14374564049977344,"note":"Value kept but may cause issues"} 
[2026-08-22 10:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850838739972263936,"note":"Value kept but may cause issues"} 
[2026-08-22 10:57:32] 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-22 10:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787376409000,"timestamp_ms":1787376409000,"timestamp_seconds":1787376409,"priority":1,"record_length":96,"hex_timestamp":"000001a027ef99a8"} 
[2026-08-22 10:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:57:32] 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-22 10:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-22 10:57:32] 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-22 10:57: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-22 10:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:57:32] 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-22 10:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568360448001,"66":14233,"103":206,"83":41984,"24":30,"16":14374564049977344,"45":1850838739972263936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 10:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568360448001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:57:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 10:57:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14374564049977344,"km_value":14374564049977.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850838739972263936,"description":"Unknown IO ID 45"} 
[2026-08-22 10:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568360448001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1850838739972263936}} 
[2026-08-22 10:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":162292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:57:33] local.INFO: GPS data processed {"connection_id":162292,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:57:33] local.INFO: Acknowledgment sent {"connection_id":162292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:57:49] local.INFO: TCP Data received {"connection_id":159975,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:57:49] local.INFO: Processing buffer {"connection_id":159975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:57:49] local.INFO: IMEI packet received {"connection_id":159975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":159975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:57:52] local.INFO: TCP Data received {"connection_id":159721,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:57:52] local.INFO: Processing buffer {"connection_id":159721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:57:52] local.INFO: IMEI packet received {"connection_id":159721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":159721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:57:53] local.INFO: TCP Data received {"connection_id":159721,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:57:53] local.INFO: Processing buffer {"connection_id":159721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:57:53] local.INFO: IMEI packet received {"connection_id":159721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":159721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:57:54] local.INFO: TCP Data received {"connection_id":159975,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:57:54] local.INFO: Processing buffer {"connection_id":159975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:57:54] local.INFO: IMEI packet received {"connection_id":159975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":159975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:57:55] local.INFO: TCP Data received {"connection_id":159975,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 10:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 10:57:55] local.INFO: Processing buffer {"connection_id":159975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 10:57:55] local.INFO: Packet analysis {"connection_id":159975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 10:57:55] local.INFO: Extracted packet for processing {"connection_id":159975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 10:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568279040001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:57: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-22 10:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787376391000,"timestamp_ms":1787376391000,"timestamp_seconds":1787376391,"priority":1,"record_length":96,"hex_timestamp":"000001a027ef5358"} 
[2026-08-22 10: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-22 10:57: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-22 10:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 10:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:57: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-22 10:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568279040001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568279040001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:57:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:57:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568279040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":159975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:57:55] local.INFO: GPS data processed {"connection_id":159975,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:57:55] local.INFO: Acknowledgment sent {"connection_id":159975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:57:58] local.INFO: TCP Data received {"connection_id":159721,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:57:58] local.INFO: Processing buffer {"connection_id":159721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:57:58] local.INFO: IMEI packet received {"connection_id":159721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":159721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:57:59] local.INFO: TCP Data received {"connection_id":159721,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027ef9d90012d19ae0007208e38002f00b425..."} 
[2026-08-22 10:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ef9d90012d19ae0007208e38002f00b425..."} 
[2026-08-22 10:57:59] local.INFO: Processing buffer {"connection_id":159721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ef9d90012d19ae0007208e38002f00b425..."} 
[2026-08-22 10:57:59] local.INFO: Packet analysis {"connection_id":159721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 10:57:59] local.INFO: Extracted packet for processing {"connection_id":159721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 10:57:59] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574072,"longitude_deg":75.6657664,"latitude_deg":11.9574072,"altitude":47,"angle":180,"satellites":37,"speed":30,"hex_longitude":"2d19ae00","hex_latitude":"07208e38","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568360704001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14374598409715712,"note":"Value kept but may cause issues"} 
[2026-08-22 10:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896251187200,"note":"Value kept but may cause issues"} 
[2026-08-22 10:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787376410000,"timestamp_ms":1787376410000,"timestamp_seconds":1787376410,"priority":1,"record_length":96,"hex_timestamp":"000001a027ef9d90"} 
[2026-08-22 10: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-22 10:57:59] 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-22 10: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-22 10:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:57:59] 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-22 10:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568360704001,"66":14243,"103":206,"83":41984,"24":30,"16":14374598409715712,"45":1850486896251187200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 10:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568360704001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:57:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 10:57:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14374598409715712,"km_value":14374598409715.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896251187200,"description":"Unknown IO ID 45"} 
[2026-08-22 10:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568360704001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1850486896251187200}} 
[2026-08-22 10:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":159721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:57:59] local.INFO: GPS data processed {"connection_id":159721,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:57:59] local.INFO: Acknowledgment sent {"connection_id":159721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:58:26] local.INFO: TCP Data received {"connection_id":159975,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 10:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 10:58:26] local.INFO: Processing buffer {"connection_id":159975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 10:58:26] local.INFO: Packet analysis {"connection_id":159975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 10:58:26] local.INFO: Extracted packet for processing {"connection_id":159975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 10:58:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 10:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568279040001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:58: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-22 10:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787376391000,"timestamp_ms":1787376391000,"timestamp_seconds":1787376391,"priority":1,"record_length":96,"hex_timestamp":"000001a027ef5358"} 
[2026-08-22 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-22 10:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 10:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 10:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:58: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-22 10:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568279040001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 10:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568279040001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:58:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568279040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":159975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:58:26] local.INFO: GPS data processed {"connection_id":159975,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:58:26] local.INFO: Acknowledgment sent {"connection_id":159975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:58:30] local.INFO: TCP Data received {"connection_id":159721,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f08408012d19cc40071ff5d0002a00c927..."} 
[2026-08-22 10:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f08408012d19cc40071ff5d0002a00c927..."} 
[2026-08-22 10:58:30] local.INFO: Processing buffer {"connection_id":159721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f08408012d19cc40071ff5d0002a00c927..."} 
[2026-08-22 10:58:30] local.INFO: Packet analysis {"connection_id":159721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f0"} 
[2026-08-22 10:58:30] local.INFO: Extracted packet for processing {"connection_id":159721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f0"} 
[2026-08-22 10:58:30] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119535056,"longitude_deg":75.6665408,"latitude_deg":11.9535056,"altitude":42,"angle":201,"satellites":39,"speed":19,"hex_longitude":"2d19cc40","hex_latitude":"071ff5d0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568375808001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14376758778265600,"note":"Value kept but may cause issues"} 
[2026-08-22 10:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859212620519147520,"note":"Value kept but may cause issues"} 
[2026-08-22 10:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787376469000,"timestamp_ms":1787376469000,"timestamp_seconds":1787376469,"priority":1,"record_length":96,"hex_timestamp":"000001a027f08408"} 
[2026-08-22 10: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-22 10:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 10: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 10:58:30] 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-22 10: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-22 10: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-22 10:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:58:30] 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-22 10:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568375808001,"66":14265,"101":206,"83":41984,"24":19,"16":14376758778265600,"45":1859212620519147520},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 10:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568375808001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:58:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 10:58:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14376758778265600,"km_value":14376758778265.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859212620519147520,"description":"Unknown IO ID 45"} 
[2026-08-22 10:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568375808001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1859212620519147520}} 
[2026-08-22 10:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":159721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:58:30] local.INFO: GPS data processed {"connection_id":159721,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:58:30] local.INFO: Acknowledgment sent {"connection_id":159721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:58:49] local.INFO: TCP Data received {"connection_id":162293,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:58:49] local.INFO: Processing buffer {"connection_id":162293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:58:49] local.INFO: IMEI packet received {"connection_id":162293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":162293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:58:53] local.INFO: TCP Data received {"connection_id":160877,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:58:53] local.INFO: Processing buffer {"connection_id":160877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:58:53] local.INFO: IMEI packet received {"connection_id":160877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":160877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:58:54] local.INFO: TCP Data received {"connection_id":162293,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:58:54] local.INFO: Processing buffer {"connection_id":162293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:58:54] local.INFO: IMEI packet received {"connection_id":162293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":162293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:58:55] local.INFO: TCP Data received {"connection_id":162293,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 10:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 10:58:55] local.INFO: Processing buffer {"connection_id":162293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 10:58:55] local.INFO: Packet analysis {"connection_id":162293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 10:58:55] local.INFO: Extracted packet for processing {"connection_id":162293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 10:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568279040001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:58: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-22 10:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787376391000,"timestamp_ms":1787376391000,"timestamp_seconds":1787376391,"priority":1,"record_length":96,"hex_timestamp":"000001a027ef5358"} 
[2026-08-22 10: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-22 10: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-22 10:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 10:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:58:55] 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-22 10:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568279040001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568279040001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:58:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:58:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568279040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":162293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:58:55] local.INFO: GPS data processed {"connection_id":162293,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:58:55] local.INFO: Acknowledgment sent {"connection_id":162293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:58:56] local.INFO: TCP Data received {"connection_id":160877,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:58:56] local.INFO: Processing buffer {"connection_id":160877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:58:56] local.INFO: IMEI packet received {"connection_id":160877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":160877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:58:58] local.INFO: TCP Data received {"connection_id":160877,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:58:58] local.INFO: Processing buffer {"connection_id":160877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:58:58] local.INFO: IMEI packet received {"connection_id":160877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":160877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:58:59] local.INFO: TCP Data received {"connection_id":160877,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f08bd8012d19cac0071ff2f0002a00d727..."} 
[2026-08-22 10:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f08bd8012d19cac0071ff2f0002a00d727..."} 
[2026-08-22 10:58:59] local.INFO: Processing buffer {"connection_id":160877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f08bd8012d19cac0071ff2f0002a00d727..."} 
[2026-08-22 10:58:59] local.INFO: Packet analysis {"connection_id":160877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f0"} 
[2026-08-22 10:58:59] local.INFO: Extracted packet for processing {"connection_id":160877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f0"} 
[2026-08-22 10:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756665024,"raw_latitude":119534320,"longitude_deg":75.6665024,"latitude_deg":11.953432,"altitude":42,"angle":215,"satellites":39,"speed":15,"hex_longitude":"2d19cac0","hex_latitude":"071ff2f0","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568376064001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14376801727938560,"note":"Value kept but may cause issues"} 
[2026-08-22 10:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858931145542324224,"note":"Value kept but may cause issues"} 
[2026-08-22 10:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 10:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787376471000,"timestamp_ms":1787376471000,"timestamp_seconds":1787376471,"priority":1,"record_length":96,"hex_timestamp":"000001a027f08bd8"} 
[2026-08-22 10: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-22 10:58: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-22 10: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 10:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10: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-22 10: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-22 10:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:58:59] 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-22 10:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568376064001,"66":14243,"101":206,"83":41984,"24":15,"16":14376801727938560,"45":1858931145542324224},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 10:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568376064001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:58:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 10:58:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14376801727938560,"km_value":14376801727938.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858931145542324224,"description":"Unknown IO ID 45"} 
[2026-08-22 10:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568376064001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858931145542324224}} 
[2026-08-22 10:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":160877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:58:59] local.INFO: GPS data processed {"connection_id":160877,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:58:59] local.INFO: Acknowledgment sent {"connection_id":160877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:59:26] local.INFO: TCP Data received {"connection_id":162293,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 10:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 10:59:26] local.INFO: Processing buffer {"connection_id":162293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 10:59:26] local.INFO: Packet analysis {"connection_id":162293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 10:59:26] local.INFO: Extracted packet for processing {"connection_id":162293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 10:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 10:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 10:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568279040001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59: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-22 10:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787376391000,"timestamp_ms":1787376391000,"timestamp_seconds":1787376391,"priority":1,"record_length":96,"hex_timestamp":"000001a027ef5358"} 
[2026-08-22 10:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 10:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 10:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 10:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 10:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 10:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 10:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 10:59: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-22 10:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 10:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 10:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568279040001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 10:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 10:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 10:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568279040001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:59:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 10:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 10:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 10:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568279040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 10:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":162293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:59:26] local.INFO: GPS data processed {"connection_id":162293,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:59:26] local.INFO: Acknowledgment sent {"connection_id":162293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:59:30] local.INFO: TCP Data received {"connection_id":160877,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f15ae0012d196a80071fec98003800ff25..."} 
[2026-08-22 10:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f15ae0012d196a80071fec98003800ff25..."} 
[2026-08-22 10:59:30] local.INFO: Processing buffer {"connection_id":160877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f15ae0012d196a80071fec98003800ff25..."} 
[2026-08-22 10:59:30] local.INFO: Packet analysis {"connection_id":160877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f1"} 
[2026-08-22 10:59:30] local.INFO: Extracted packet for processing {"connection_id":160877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f1"} 
[2026-08-22 10:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119532696,"longitude_deg":75.6640384,"latitude_deg":11.9532696,"altitude":56,"angle":255,"satellites":37,"speed":8,"hex_longitude":"2d196a80","hex_latitude":"071fec98","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568388096001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378012908716032,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834231716335226880,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59: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-22 10:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787376524000,"timestamp_ms":1787376524000,"timestamp_seconds":1787376524,"priority":1,"record_length":96,"hex_timestamp":"000001a027f15ae0"} 
[2026-08-22 10: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-22 10:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 10: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-22 10:59:30] 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-22 10: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-22 10: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-22 10:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:59:30] 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-22 10:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568388096001,"66":13330,"102":206,"83":41984,"24":8,"16":14378012908716032,"45":1834231716335226880},"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-22 10:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568388096001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:59:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 10:59:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378012908716032,"km_value":14378012908716.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834231716335226880,"description":"Unknown IO ID 45"} 
[2026-08-22 10:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568388096001,"power":13330,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1834231716335226880}} 
[2026-08-22 10:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":160877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:59:30] local.INFO: GPS data processed {"connection_id":160877,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:59:30] local.INFO: Acknowledgment sent {"connection_id":160877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:59:53] local.INFO: TCP Data received {"connection_id":160878,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:59:53] local.INFO: Processing buffer {"connection_id":160878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:59:53] local.INFO: IMEI packet received {"connection_id":160878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 10:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":160878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:59:54] local.INFO: TCP Data received {"connection_id":159722,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:59:54] local.INFO: Processing buffer {"connection_id":159722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:59:54] local.INFO: IMEI packet received {"connection_id":159722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 10:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":159722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 10:59:58] local.INFO: TCP Data received {"connection_id":160878,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:59:58] local.INFO: Processing buffer {"connection_id":160878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 10:59:58] local.INFO: IMEI packet received {"connection_id":160878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 10:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":160878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 10:59:59] local.INFO: TCP Data received {"connection_id":160878,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f16698012d196840071fec98003a012125..."} 
[2026-08-22 10:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f16698012d196840071fec98003a012125..."} 
[2026-08-22 10:59:59] local.INFO: Processing buffer {"connection_id":160878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f16698012d196840071fec98003a012125..."} 
[2026-08-22 10:59:59] local.INFO: Packet analysis {"connection_id":160878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f1"} 
[2026-08-22 10:59:59] local.INFO: Extracted packet for processing {"connection_id":160878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f1"} 
[2026-08-22 10:59:59] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532696,"longitude_deg":75.6639808,"latitude_deg":11.9532696,"altitude":58,"angle":289,"satellites":37,"speed":7,"hex_longitude":"2d196840","hex_latitude":"071fec98","is_valid_coordinates":true} 
[2026-08-22 10: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-22 10:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568390144001,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378042973487104,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568253440,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59: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-22 10:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787376527000,"timestamp_ms":1787376527000,"timestamp_seconds":1787376527,"priority":1,"record_length":96,"hex_timestamp":"000001a027f16698"} 
[2026-08-22 10: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-22 10:59:59] 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-22 10: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-22 10:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:59] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249806727127757104,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-1896014149908004857,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:59] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13465702,"corrected_to":0} 
[2026-08-22 10:59:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":4045168641,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1143914099176300032,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 10:59:59] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2147950576,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:59] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:59] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:59] local.WARNING: Large IO value detected {"io_id":79,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 10:59:59] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,20,160,59,45,128,234,55,37,10,66,47,56,32,1,240,203,227,39,31,4,113,205,21,135,248,38,239,2,51,7,18,5,14,120,79],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":203,"original":13465702,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 10:59:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035505800503361536,"timestamp_seconds":4035505800503361.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 10: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-22 10:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 10:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 10:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 10:59:59] 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-22 10:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 10:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 10:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568390144001,"66":13254,"102":206,"83":41984,"24":7,"16":14378042973487104,"45":1831416966568253440},"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-22 10:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 10:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 10:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568390144001,"description":"Unknown IO ID 0"} 
[2026-08-22 10:59:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 10:59:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 10:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378042973487104,"km_value":14378042973487.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 10:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568253440,"description":"Unknown IO ID 45"} 
[2026-08-22 10:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568390144001,"power":13254,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1831416966568253440}} 
[2026-08-22 10:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":160878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 10:59:59] local.INFO: GPS data processed {"connection_id":160878,"processed":1,"errors":0,"total":1} 
[2026-08-22 10:59:59] local.INFO: Acknowledgment sent {"connection_id":160878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 10:59:59] local.INFO: TCP Data received {"connection_id":159722,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:59:59] local.INFO: Processing buffer {"connection_id":159722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 10:59:59] local.INFO: IMEI packet received {"connection_id":159722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 10:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":159722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:00:00] local.INFO: TCP Data received {"connection_id":159722,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:00:00] local.INFO: Processing buffer {"connection_id":159722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:00:00] local.INFO: Packet analysis {"connection_id":159722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 11:00:00] local.INFO: Extracted packet for processing {"connection_id":159722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 11:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568279040001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:00: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-22 11:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787376391000,"timestamp_ms":1787376391000,"timestamp_seconds":1787376391,"priority":1,"record_length":96,"hex_timestamp":"000001a027ef5358"} 
[2026-08-22 11: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-22 11:00: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-22 11: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 11:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11: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-22 11: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-22 11:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:00: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-22 11:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568279040001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 11:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568279040001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:00:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:00:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568279040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":159722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:00:00] local.INFO: GPS data processed {"connection_id":159722,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:00:00] local.INFO: Acknowledgment sent {"connection_id":159722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:00:04] local.INFO: TCP Data received {"connection_id":159722,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:00:04] local.INFO: Processing buffer {"connection_id":159722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:00:04] local.INFO: Packet analysis {"connection_id":159722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 11:00:04] local.INFO: Extracted packet for processing {"connection_id":159722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 11:00:04] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568279040001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:00:04] 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-22 11:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787376391000,"timestamp_ms":1787376391000,"timestamp_seconds":1787376391,"priority":1,"record_length":96,"hex_timestamp":"000001a027ef5358"} 
[2026-08-22 11: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-22 11:00: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-22 11: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 11:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11: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-22 11: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-22 11:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:00: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-22 11:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568279040001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 11:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568279040001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:00:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:00:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568279040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":159722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:00:04] local.INFO: GPS data processed {"connection_id":159722,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:00:04] local.INFO: Acknowledgment sent {"connection_id":159722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:00:30] local.INFO: TCP Data received {"connection_id":160878,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f16a80012d196780071fed18003a014625..."} 
[2026-08-22 11:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f16a80012d196780071fed18003a014625..."} 
[2026-08-22 11:00:30] local.INFO: Processing buffer {"connection_id":160878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f16a80012d196780071fed18003a014625..."} 
[2026-08-22 11:00:30] local.INFO: Packet analysis {"connection_id":160878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f1"} 
[2026-08-22 11:00:30] local.INFO: Extracted packet for processing {"connection_id":160878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f1"} 
[2026-08-22 11:00:30] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532824,"longitude_deg":75.6639616,"latitude_deg":11.9532824,"altitude":58,"angle":326,"satellites":37,"speed":6,"hex_longitude":"2d196780","hex_latitude":"071fed18","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568390912001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378051563421696,"note":"Value kept but may cause issues"} 
[2026-08-22 11:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870654464,"note":"Value kept but may cause issues"} 
[2026-08-22 11:00: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-22 11:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787376528000,"timestamp_ms":1787376528000,"timestamp_seconds":1787376528,"priority":1,"record_length":96,"hex_timestamp":"000001a027f16a80"} 
[2026-08-22 11: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-22 11:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 11: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 11:00:30] 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-22 11: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-22 11: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-22 11:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:00:30] 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-22 11:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568390912001,"66":13102,"102":206,"83":41984,"24":6,"16":14378051563421696,"45":1830783647870654464},"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-22 11:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568390912001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:00:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 11:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378051563421696,"km_value":14378051563421.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870654464,"description":"Unknown IO ID 45"} 
[2026-08-22 11:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568390912001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1830783647870654464}} 
[2026-08-22 11:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":160878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:00:30] local.INFO: GPS data processed {"connection_id":160878,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:00:30] local.INFO: Acknowledgment sent {"connection_id":160878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:00:49] local.INFO: TCP Data received {"connection_id":159723,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:00:49] local.INFO: Processing buffer {"connection_id":159723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:00:49] local.INFO: IMEI packet received {"connection_id":159723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":159723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:00:54] local.INFO: TCP Data received {"connection_id":159723,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:00:54] local.INFO: Processing buffer {"connection_id":159723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:00:54] local.INFO: IMEI packet received {"connection_id":159723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":159723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:00:55] local.INFO: TCP Data received {"connection_id":159723,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:00:55] local.INFO: Processing buffer {"connection_id":159723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:00:55] local.INFO: Packet analysis {"connection_id":159723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 11:00:55] local.INFO: Extracted packet for processing {"connection_id":159723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 11:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568279040001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:00: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-22 11:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787376391000,"timestamp_ms":1787376391000,"timestamp_seconds":1787376391,"priority":1,"record_length":96,"hex_timestamp":"000001a027ef5358"} 
[2026-08-22 11:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:00: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-22 11:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 11:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:00: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-22 11:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568279040001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 11:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568279040001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:00:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568279040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":159723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:00:55] local.INFO: GPS data processed {"connection_id":159723,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:00:55] local.INFO: Acknowledgment sent {"connection_id":159723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:00:58] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:00:58] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:00:58] local.INFO: IMEI packet received {"connection_id":159976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":159976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:01:03] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:01:03] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:01:03] local.INFO: IMEI packet received {"connection_id":159976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":159976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:01:04] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f1bc88012d196780071fee10003b014627..."} 
[2026-08-22 11:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f1bc88012d196780071fee10003b014627..."} 
[2026-08-22 11:01:04] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f1bc88012d196780071fee10003b014627..."} 
[2026-08-22 11:01:04] local.INFO: Packet analysis {"connection_id":159976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f1"} 
[2026-08-22 11:01:04] local.INFO: Extracted packet for processing {"connection_id":159976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f1"} 
[2026-08-22 11:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-22 11:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568391168001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378064448323584,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638154240,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787376549000,"timestamp_ms":1787376549000,"timestamp_seconds":1787376549,"priority":1,"record_length":96,"hex_timestamp":"000001a027f1bc88"} 
[2026-08-22 11:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 11:01:04] 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-22 11:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:01:04] 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-22 11:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568391168001,"66":13276,"102":206,"83":41984,"24":0,"16":14378064448323584,"45":1830572541638154240},"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-22 11:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568391168001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:01:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 11:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378064448323584,"km_value":14378064448323.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638154240,"description":"Unknown IO ID 45"} 
[2026-08-22 11:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568391168001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638154240}} 
[2026-08-22 11:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":159976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:01:04] local.INFO: GPS data processed {"connection_id":159976,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:01:04] local.INFO: Acknowledgment sent {"connection_id":159976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:01:04] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f1c458012d196740071fef40003b016028..."} 
[2026-08-22 11:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f1c458012d196740071fef40003b016028..."} 
[2026-08-22 11:01:04] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f1c458012d196740071fef40003b016028..."} 
[2026-08-22 11:01:04] local.INFO: Packet analysis {"connection_id":159976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f1"} 
[2026-08-22 11:01:04] local.INFO: Extracted packet for processing {"connection_id":159976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f1"} 
[2026-08-22 11:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533376,"longitude_deg":75.6639552,"latitude_deg":11.9533376,"altitude":59,"angle":352,"satellites":40,"speed":3,"hex_longitude":"2d196740","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-08-22 11:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568396544001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378077333225472,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787376551000,"timestamp_ms":1787376551000,"timestamp_seconds":1787376551,"priority":1,"record_length":96,"hex_timestamp":"000001a027f1c458"} 
[2026-08-22 11:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 11:01:04] 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-22 11:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:01:04] 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-22 11:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568396544001,"66":13222,"102":206,"83":41984,"24":3,"16":14378077333225472,"45":1830572541638217728},"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-22 11:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568396544001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:01:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 11:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378077333225472,"km_value":14378077333225.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-22 11:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568396544001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-22 11:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":159976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:01:05] local.INFO: GPS data processed {"connection_id":159976,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:01:05] local.INFO: Acknowledgment sent {"connection_id":159976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:01:26] local.INFO: TCP Data received {"connection_id":159723,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:01:26] local.INFO: Processing buffer {"connection_id":159723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:01:26] local.INFO: Packet analysis {"connection_id":159723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 11:01:26] local.INFO: Extracted packet for processing {"connection_id":159723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 11:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568279040001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01: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-22 11:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787376391000,"timestamp_ms":1787376391000,"timestamp_seconds":1787376391,"priority":1,"record_length":96,"hex_timestamp":"000001a027ef5358"} 
[2026-08-22 11: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-22 11:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 11: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 11:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11: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-22 11: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-22 11:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:01: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-22 11:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568279040001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 11:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568279040001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:01:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568279040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":159723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:01:26] local.INFO: GPS data processed {"connection_id":159723,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:01:26] local.INFO: Acknowledgment sent {"connection_id":159723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:01:36] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f1cc28012d196700071feff0003b015028..."} 
[2026-08-22 11:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f1cc28012d196700071feff0003b015028..."} 
[2026-08-22 11:01:36] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f1cc28012d196700071feff0003b015028..."} 
[2026-08-22 11:01:36] local.INFO: Packet analysis {"connection_id":159976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f1"} 
[2026-08-22 11:01:36] local.INFO: Extracted packet for processing {"connection_id":159976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f1"} 
[2026-08-22 11:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533552,"longitude_deg":75.6639488,"latitude_deg":11.9533552,"altitude":59,"angle":336,"satellites":40,"speed":4,"hex_longitude":"2d196700","hex_latitude":"071feff0","is_valid_coordinates":true} 
[2026-08-22 11:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568397056001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378085923160064,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894117888,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787376553000,"timestamp_ms":1787376553000,"timestamp_seconds":1787376553,"priority":1,"record_length":96,"hex_timestamp":"000001a027f1cc28"} 
[2026-08-22 11:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:01:36] 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-22 11:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-22 11:01: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-22 11:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:01:36] 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-22 11:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568397056001,"66":13222,"102":206,"83":41984,"24":4,"16":14378085923160064,"45":1830502172894117888},"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-22 11:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568397056001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:01:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 11:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378085923160064,"km_value":14378085923160.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894117888,"description":"Unknown IO ID 45"} 
[2026-08-22 11:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568397056001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830502172894117888}} 
[2026-08-22 11:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":159976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:01:36] local.INFO: GPS data processed {"connection_id":159976,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:01:36] local.INFO: Acknowledgment sent {"connection_id":159976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:01:49] local.INFO: TCP Data received {"connection_id":160879,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:01:49] local.INFO: Processing buffer {"connection_id":160879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:01:49] local.INFO: IMEI packet received {"connection_id":160879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":160879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:01:53] local.INFO: TCP Data received {"connection_id":159977,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:01:53] local.INFO: Processing buffer {"connection_id":159977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:01:53] local.INFO: IMEI packet received {"connection_id":159977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":159977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:01:54] local.INFO: TCP Data received {"connection_id":160879,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:01:54] local.INFO: Processing buffer {"connection_id":160879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:01:54] local.INFO: IMEI packet received {"connection_id":160879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":160879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:01:55] local.INFO: TCP Data received {"connection_id":160879,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:01:55] local.INFO: Processing buffer {"connection_id":160879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ef5358012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:01:55] local.INFO: Packet analysis {"connection_id":160879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 11:01:55] local.INFO: Extracted packet for processing {"connection_id":160879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ef"} 
[2026-08-22 11:01:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568279040001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01: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-22 11:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787376391000,"timestamp_ms":1787376391000,"timestamp_seconds":1787376391,"priority":1,"record_length":96,"hex_timestamp":"000001a027ef5358"} 
[2026-08-22 11:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:01: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-22 11:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 11:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:01:55] 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-22 11:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568279040001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 11:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568279040001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:01:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:01:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568279040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":160879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:01:55] local.INFO: GPS data processed {"connection_id":160879,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:01:55] local.INFO: Acknowledgment sent {"connection_id":160879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:01:58] local.INFO: TCP Data received {"connection_id":159977,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:01:58] local.INFO: Processing buffer {"connection_id":159977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:01:58] local.INFO: IMEI packet received {"connection_id":159977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":159977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:01:59] local.INFO: TCP Data received {"connection_id":159977,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f1d010012d1966c0071ff038003b014328..."} 
[2026-08-22 11:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f1d010012d1966c0071ff038003b014328..."} 
[2026-08-22 11:01:59] local.INFO: Processing buffer {"connection_id":159977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f1d010012d1966c0071ff038003b014328..."} 
[2026-08-22 11:01:59] local.INFO: Packet analysis {"connection_id":159977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f1"} 
[2026-08-22 11:01:59] local.INFO: Extracted packet for processing {"connection_id":159977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f1"} 
[2026-08-22 11:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533624,"longitude_deg":75.6639424,"latitude_deg":11.9533624,"altitude":59,"angle":323,"satellites":40,"speed":4,"hex_longitude":"2d1966c0","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568397568001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378094513094656,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149985280,"note":"Value kept but may cause issues"} 
[2026-08-22 11:01: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-22 11:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787376554000,"timestamp_ms":1787376554000,"timestamp_seconds":1787376554,"priority":1,"record_length":96,"hex_timestamp":"000001a027f1d010"} 
[2026-08-22 11: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-22 11:01:59] 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-22 11:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-22 11:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11: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-22 11: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-22 11:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:01:59] 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-22 11:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568397568001,"66":12863,"102":206,"83":41984,"24":4,"16":14378094513094656,"45":1830431804149985280},"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-22 11:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568397568001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:01:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 11:01:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378094513094656,"km_value":14378094513094.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149985280,"description":"Unknown IO ID 45"} 
[2026-08-22 11:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568397568001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830431804149985280}} 
[2026-08-22 11:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":159977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:01:59] local.INFO: GPS data processed {"connection_id":159977,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:01:59] local.INFO: Acknowledgment sent {"connection_id":159977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:02:26] local.INFO: TCP Data received {"connection_id":160879,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:02:26] local.INFO: Processing buffer {"connection_id":160879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:02:26] local.INFO: Packet analysis {"connection_id":160879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:02:26] local.INFO: Extracted packet for processing {"connection_id":160879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:02:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 11:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568356096001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:02: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-22 11:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787376692000,"timestamp_ms":1787376692000,"timestamp_seconds":1787376692,"priority":1,"record_length":96,"hex_timestamp":"000001a027f3eb20"} 
[2026-08-22 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-22 11:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:02:26] 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-22 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-22 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-22 11:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:02: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-22 11:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568356096001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 11:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568356096001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:02:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568356096001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":160879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:02:26] local.INFO: GPS data processed {"connection_id":160879,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:02:26] local.INFO: Acknowledgment sent {"connection_id":160879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:02:33] local.INFO: TCP Data received {"connection_id":159977,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f37dc0012d196900071fef680040008c25..."} 
[2026-08-22 11:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f37dc0012d196900071fef680040008c25..."} 
[2026-08-22 11:02:33] local.INFO: Processing buffer {"connection_id":159977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f37dc0012d196900071fef680040008c25..."} 
[2026-08-22 11:02:33] local.INFO: Packet analysis {"connection_id":159977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:02:33] local.INFO: Extracted packet for processing {"connection_id":159977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533416,"longitude_deg":75.664,"latitude_deg":11.9533416,"altitude":64,"angle":140,"satellites":37,"speed":1,"hex_longitude":"2d196900","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-22 11:02: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-22 11:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568421632001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378287786622976,"note":"Value kept but may cause issues"} 
[2026-08-22 11:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870863360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:02: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-22 11:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787376664000,"timestamp_ms":1787376664000,"timestamp_seconds":1787376664,"priority":1,"record_length":96,"hex_timestamp":"000001a027f37dc0"} 
[2026-08-22 11:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11:02: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":128,"data_length":795,"current_offset":136} 
[2026-08-22 11:02:33] 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-22 11:02: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-22 11:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:02:33] 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-22 11:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568421632001,"66":12841,"102":206,"83":41984,"24":1,"16":14378287786622976,"45":1830783647870863360},"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-22 11:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568421632001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:02:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 11:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378287786622976,"km_value":14378287786622.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870863360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568421632001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1830783647870863360}} 
[2026-08-22 11:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":159977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:02:33] local.INFO: GPS data processed {"connection_id":159977,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:02:33] local.INFO: Acknowledgment sent {"connection_id":159977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:02:49] local.INFO: TCP Data received {"connection_id":162294,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:02:49] local.INFO: Processing buffer {"connection_id":162294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:02:49] local.INFO: IMEI packet received {"connection_id":162294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":162294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:02:53] local.INFO: TCP Data received {"connection_id":162295,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:02:53] local.INFO: Processing buffer {"connection_id":162295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:02:53] local.INFO: IMEI packet received {"connection_id":162295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":162295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:02:54] local.INFO: TCP Data received {"connection_id":162294,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:02:54] local.INFO: Processing buffer {"connection_id":162294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:02:54] local.INFO: IMEI packet received {"connection_id":162294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":162294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:02:55] local.INFO: TCP Data received {"connection_id":162294,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:02:55] local.INFO: Processing buffer {"connection_id":162294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:02:55] local.INFO: Packet analysis {"connection_id":162294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:02:55] local.INFO: Extracted packet for processing {"connection_id":162294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568356096001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11: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-22 11:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787376692000,"timestamp_ms":1787376692000,"timestamp_seconds":1787376692,"priority":1,"record_length":96,"hex_timestamp":"000001a027f3eb20"} 
[2026-08-22 11:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:02: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-22 11:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:02: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-22 11:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:02:55] 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-22 11:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568356096001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 11:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568356096001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:02:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:02:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568356096001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":162294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:02:55] local.INFO: GPS data processed {"connection_id":162294,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:02:55] local.INFO: Acknowledgment sent {"connection_id":162294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:02:58] local.INFO: TCP Data received {"connection_id":162295,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:02:58] local.INFO: Processing buffer {"connection_id":162295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:02:58] local.INFO: IMEI packet received {"connection_id":162295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":162295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:02:59] local.INFO: TCP Data received {"connection_id":162295,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f3cfc8012d196900071fef380041008327..."} 
[2026-08-22 11:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f3cfc8012d196900071fef380041008327..."} 
[2026-08-22 11:02:59] local.INFO: Processing buffer {"connection_id":162295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f3cfc8012d196900071fef380041008327..."} 
[2026-08-22 11:02:59] local.INFO: Packet analysis {"connection_id":162295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:02:59] local.INFO: Extracted packet for processing {"connection_id":162295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533368,"longitude_deg":75.664,"latitude_deg":11.9533368,"altitude":65,"angle":131,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568425984001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378292081590272,"note":"Value kept but may cause issues"} 
[2026-08-22 11:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103371776,"note":"Value kept but may cause issues"} 
[2026-08-22 11:02: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-22 11:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787376685000,"timestamp_ms":1787376685000,"timestamp_seconds":1787376685,"priority":1,"record_length":96,"hex_timestamp":"000001a027f3cfc8"} 
[2026-08-22 11: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-22 11:02: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-22 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 11:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11: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-22 11: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-22 11:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:02:59] 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-22 11:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568425984001,"66":12841,"102":206,"83":41984,"24":0,"16":14378292081590272,"45":1830994754103371776},"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-22 11:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568425984001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:02:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 11:02:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378292081590272,"km_value":14378292081590.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103371776,"description":"Unknown IO ID 45"} 
[2026-08-22 11:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568425984001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103371776}} 
[2026-08-22 11:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":162295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:02:59] local.INFO: GPS data processed {"connection_id":162295,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:02:59] local.INFO: Acknowledgment sent {"connection_id":162295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:03:26] local.INFO: TCP Data received {"connection_id":162294,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:03:26] local.INFO: Processing buffer {"connection_id":162294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:03:26] local.INFO: Packet analysis {"connection_id":162294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:03:26] local.INFO: Extracted packet for processing {"connection_id":162294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:03:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568356096001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03: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-22 11:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787376692000,"timestamp_ms":1787376692000,"timestamp_seconds":1787376692,"priority":1,"record_length":96,"hex_timestamp":"000001a027f3eb20"} 
[2026-08-22 11:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 11:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:03:26] 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-22 11:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:03:26] 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-22 11:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568356096001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 11:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568356096001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:03:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:03:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568356096001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":162294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:03:26] local.INFO: GPS data processed {"connection_id":162294,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:03:26] local.INFO: Acknowledgment sent {"connection_id":162294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:03:30] local.INFO: TCP Data received {"connection_id":162295,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f421d0012d196900071fef380041008323..."} 
[2026-08-22 11:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f421d0012d196900071fef380041008323..."} 
[2026-08-22 11:03:30] local.INFO: Processing buffer {"connection_id":162295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f421d0012d196900071fef380041008323..."} 
[2026-08-22 11:03:30] local.INFO: Packet analysis {"connection_id":162295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f4"} 
[2026-08-22 11:03:30] local.INFO: Extracted packet for processing {"connection_id":162295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f4"} 
[2026-08-22 11:03:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533368,"longitude_deg":75.664,"latitude_deg":11.9533368,"altitude":65,"angle":131,"satellites":35,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568431360001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378292081590272,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103359488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03: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-22 11:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787376706000,"timestamp_ms":1787376706000,"timestamp_seconds":1787376706,"priority":1,"record_length":96,"hex_timestamp":"000001a027f421d0"} 
[2026-08-22 11: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-22 11:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 11:03:30] 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-22 11: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-22 11: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-22 11:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:03:30] 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-22 11:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568431360001,"66":12809,"102":206,"83":41984,"24":0,"16":14378292081590272,"45":1830994754103359488},"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-22 11:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568431360001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:03:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 11:03:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378292081590272,"km_value":14378292081590.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103359488,"description":"Unknown IO ID 45"} 
[2026-08-22 11:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568431360001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103359488}} 
[2026-08-22 11:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":162295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:03:30] local.INFO: GPS data processed {"connection_id":162295,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:03:30] local.INFO: Acknowledgment sent {"connection_id":162295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:03:49] local.INFO: TCP Data received {"connection_id":159724,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:03:49] local.INFO: Processing buffer {"connection_id":159724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:03:49] local.INFO: IMEI packet received {"connection_id":159724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":159724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:03:53] local.INFO: TCP Data received {"connection_id":160880,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:03:53] local.INFO: Processing buffer {"connection_id":160880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:03:53] local.INFO: IMEI packet received {"connection_id":160880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":160880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:03:54] local.INFO: TCP Data received {"connection_id":159724,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:03:54] local.INFO: Processing buffer {"connection_id":159724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:03:54] local.INFO: IMEI packet received {"connection_id":159724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":159724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:03:55] local.INFO: TCP Data received {"connection_id":159724,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:03:55] local.INFO: Processing buffer {"connection_id":159724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:03:55] local.INFO: Packet analysis {"connection_id":159724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:03:55] local.INFO: Extracted packet for processing {"connection_id":159724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568356096001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03: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-22 11:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787376692000,"timestamp_ms":1787376692000,"timestamp_seconds":1787376692,"priority":1,"record_length":96,"hex_timestamp":"000001a027f3eb20"} 
[2026-08-22 11:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:03: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-22 11:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:03: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-22 11:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:03:55] 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-22 11:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568356096001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 11:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568356096001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:03:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:03:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568356096001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":159724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:03:55] local.INFO: GPS data processed {"connection_id":159724,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:03:55] local.INFO: Acknowledgment sent {"connection_id":159724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:03:58] local.INFO: TCP Data received {"connection_id":160880,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:03:58] local.INFO: Processing buffer {"connection_id":160880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:03:58] local.INFO: IMEI packet received {"connection_id":160880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":160880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:03:59] local.INFO: TCP Data received {"connection_id":160880,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f473d8012d196900071fef380041008322..."} 
[2026-08-22 11:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f473d8012d196900071fef380041008322..."} 
[2026-08-22 11:03:59] local.INFO: Processing buffer {"connection_id":160880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f473d8012d196900071fef380041008322..."} 
[2026-08-22 11:03:59] local.INFO: Packet analysis {"connection_id":160880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f4"} 
[2026-08-22 11:03:59] local.INFO: Extracted packet for processing {"connection_id":160880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f4"} 
[2026-08-22 11:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533368,"longitude_deg":75.664,"latitude_deg":11.9533368,"altitude":65,"angle":131,"satellites":34,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568436736001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378292081590272,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103359488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03: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-22 11:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787376727000,"timestamp_ms":1787376727000,"timestamp_seconds":1787376727,"priority":1,"record_length":96,"hex_timestamp":"000001a027f473d8"} 
[2026-08-22 11: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-22 11:03: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-22 11: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-22 11:03:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:59] local.WARNING: Large IO value detected {"io_id":20,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":-958527843764443712,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4020764731,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 11:03:59] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692399,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:59] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052611982194848173,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:59] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301524128479343649,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:59] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-08-22 11:03:59] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,20,160,207,45,239,65,39,10,66,125,64,37,59,1,240,128,227,31,4,113,205,103,168,34,50,2,51,7,56,164,238],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 11:03:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4683887798812409856,"timestamp_seconds":4683887798812410.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 11: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-22 11:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:03:59] 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-22 11:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568436736001,"66":12765,"102":206,"83":41984,"24":0,"16":14378292081590272,"45":1830994754103359488},"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-22 11:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568436736001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:03:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 11:03:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378292081590272,"km_value":14378292081590.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103359488,"description":"Unknown IO ID 45"} 
[2026-08-22 11:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568436736001,"power":12765,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103359488}} 
[2026-08-22 11:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":160880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:03:59] local.INFO: GPS data processed {"connection_id":160880,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:03:59] local.INFO: Acknowledgment sent {"connection_id":160880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:04:26] local.INFO: TCP Data received {"connection_id":159724,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:04:26] local.INFO: Processing buffer {"connection_id":159724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:04:26] local.INFO: Packet analysis {"connection_id":159724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:04:26] local.INFO: Extracted packet for processing {"connection_id":159724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:04:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568356096001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:04: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-22 11:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787376692000,"timestamp_ms":1787376692000,"timestamp_seconds":1787376692,"priority":1,"record_length":96,"hex_timestamp":"000001a027f3eb20"} 
[2026-08-22 11:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 11:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:04:26] 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-22 11:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:04: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-22 11:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568356096001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"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-22 11:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568356096001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:04:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568356096001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":159724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:04:26] local.INFO: GPS data processed {"connection_id":159724,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:04:26] local.INFO: Acknowledgment sent {"connection_id":159724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:04:30] local.INFO: TCP Data received {"connection_id":160880,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f4c5e0012d196900071fef38004100831f..."} 
[2026-08-22 11:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f4c5e0012d196900071fef38004100831f..."} 
[2026-08-22 11:04:30] local.INFO: Processing buffer {"connection_id":160880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f4c5e0012d196900071fef38004100831f..."} 
[2026-08-22 11:04:30] local.INFO: Packet analysis {"connection_id":160880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f4"} 
[2026-08-22 11:04:30] local.INFO: Extracted packet for processing {"connection_id":160880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f4"} 
[2026-08-22 11:04:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533368,"longitude_deg":75.664,"latitude_deg":11.9533368,"altitude":65,"angle":131,"satellites":31,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568442112001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378292081590272,"note":"Value kept but may cause issues"} 
[2026-08-22 11:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103359488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:04: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-22 11:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787376748000,"timestamp_ms":1787376748000,"timestamp_seconds":1787376748,"priority":1,"record_length":96,"hex_timestamp":"000001a027f4c5e0"} 
[2026-08-22 11: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-22 11:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 11: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-22 11:04:30] 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-22 11: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-22 11: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-22 11:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:04:30] 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-22 11:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568442112001,"66":12711,"102":206,"83":41984,"24":0,"16":14378292081590272,"45":1830994754103359488},"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-22 11:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568442112001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:04:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 11:04:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378292081590272,"km_value":14378292081590.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103359488,"description":"Unknown IO ID 45"} 
[2026-08-22 11:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568442112001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103359488}} 
[2026-08-22 11:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":160880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:04:30] local.INFO: GPS data processed {"connection_id":160880,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:04:30] local.INFO: Acknowledgment sent {"connection_id":160880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:04:51] local.INFO: TCP Data received {"connection_id":162296,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:04:51] local.INFO: Processing buffer {"connection_id":162296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:04:51] local.INFO: IMEI packet received {"connection_id":162296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":162296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:04:53] local.INFO: TCP Data received {"connection_id":162296,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:04:53] local.INFO: Processing buffer {"connection_id":162296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:04:53] local.INFO: IMEI packet received {"connection_id":162296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":162296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:04:54] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:04:54] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:04:54] local.INFO: IMEI packet received {"connection_id":159978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":159978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:04:58] local.INFO: TCP Data received {"connection_id":162296,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:04:58] local.INFO: Processing buffer {"connection_id":162296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:04:58] local.INFO: IMEI packet received {"connection_id":162296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":162296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:04:59] local.INFO: TCP Data received {"connection_id":162296,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f517e8012d196900071fef380041008323..."} 
[2026-08-22 11:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f517e8012d196900071fef380041008323..."} 
[2026-08-22 11:04:59] local.INFO: Processing buffer {"connection_id":162296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f517e8012d196900071fef380041008323..."} 
[2026-08-22 11:04:59] local.INFO: Packet analysis {"connection_id":162296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f5"} 
[2026-08-22 11:04:59] local.INFO: Extracted packet for processing {"connection_id":162296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f5"} 
[2026-08-22 11:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533368,"longitude_deg":75.664,"latitude_deg":11.9533368,"altitude":65,"angle":131,"satellites":35,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568447488001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378292081590272,"note":"Value kept but may cause issues"} 
[2026-08-22 11:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103359488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:04: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-22 11:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787376769000,"timestamp_ms":1787376769000,"timestamp_seconds":1787376769,"priority":1,"record_length":96,"hex_timestamp":"000001a027f517e8"} 
[2026-08-22 11: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-22 11:04: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-22 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-22 11:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11: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-22 11: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-22 11:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:04:59] 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-22 11:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568447488001,"66":12689,"102":206,"83":41984,"24":0,"16":14378292081590272,"45":1830994754103359488},"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-22 11:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568447488001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:04:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 11:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378292081590272,"km_value":14378292081590.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103359488,"description":"Unknown IO ID 45"} 
[2026-08-22 11:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568447488001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103359488}} 
[2026-08-22 11:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":162296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:04:59] local.INFO: GPS data processed {"connection_id":162296,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:04:59] local.INFO: Acknowledgment sent {"connection_id":162296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:04:59] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:04:59] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:04:59] local.INFO: IMEI packet received {"connection_id":159978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":159978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:05:00] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:05:00] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:05:00] local.INFO: Packet analysis {"connection_id":159978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:05:00] local.INFO: Extracted packet for processing {"connection_id":159978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:05:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568356096001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:05: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-22 11:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787376692000,"timestamp_ms":1787376692000,"timestamp_seconds":1787376692,"priority":1,"record_length":96,"hex_timestamp":"000001a027f3eb20"} 
[2026-08-22 11:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:05: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-22 11:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:05: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-22 11:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:05: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-22 11:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568356096001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568356096001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:05:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:05:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568356096001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":159978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:05:00] local.INFO: GPS data processed {"connection_id":159978,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:05:00] local.INFO: Acknowledgment sent {"connection_id":159978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:05:05] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:05:05] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:05:05] local.INFO: Packet analysis {"connection_id":159978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:05:05] local.INFO: Extracted packet for processing {"connection_id":159978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568356096001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:05:05] 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-22 11:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787376692000,"timestamp_ms":1787376692000,"timestamp_seconds":1787376692,"priority":1,"record_length":96,"hex_timestamp":"000001a027f3eb20"} 
[2026-08-22 11:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:05: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-22 11:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:05:05] 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-22 11:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 11:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568356096001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568356096001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:05:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568356096001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":159978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:05:05] local.INFO: GPS data processed {"connection_id":159978,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:05:05] local.INFO: Acknowledgment sent {"connection_id":159978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:05:30] local.INFO: TCP Data received {"connection_id":162296,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f569f0012d196900071fef380041008322..."} 
[2026-08-22 11:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f569f0012d196900071fef380041008322..."} 
[2026-08-22 11:05:30] local.INFO: Processing buffer {"connection_id":162296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f569f0012d196900071fef380041008322..."} 
[2026-08-22 11:05:30] local.INFO: Packet analysis {"connection_id":162296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f5"} 
[2026-08-22 11:05:30] local.INFO: Extracted packet for processing {"connection_id":162296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f5"} 
[2026-08-22 11:05:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533368,"longitude_deg":75.664,"latitude_deg":11.9533368,"altitude":65,"angle":131,"satellites":34,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568452864001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378292081590272,"note":"Value kept but may cause issues"} 
[2026-08-22 11:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103359488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:05: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-22 11:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787376790000,"timestamp_ms":1787376790000,"timestamp_seconds":1787376790,"priority":1,"record_length":96,"hex_timestamp":"000001a027f569f0"} 
[2026-08-22 11: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-22 11:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 11:05:30] 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-22 11: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-22 11: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-22 11:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:05:30] 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-22 11:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568452864001,"66":12667,"102":206,"83":41984,"24":0,"16":14378292081590272,"45":1830994754103359488},"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-22 11:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568452864001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:05:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 11:05:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378292081590272,"km_value":14378292081590.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103359488,"description":"Unknown IO ID 45"} 
[2026-08-22 11:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568452864001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103359488}} 
[2026-08-22 11:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":162296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:05:30] local.INFO: GPS data processed {"connection_id":162296,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:05:30] local.INFO: Acknowledgment sent {"connection_id":162296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:05:49] local.INFO: TCP Data received {"connection_id":160881,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:05:49] local.INFO: Processing buffer {"connection_id":160881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:05:49] local.INFO: IMEI packet received {"connection_id":160881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":160881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:05:53] local.INFO: TCP Data received {"connection_id":159725,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:05:53] local.INFO: Processing buffer {"connection_id":159725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:05:53] local.INFO: IMEI packet received {"connection_id":159725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":159725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:05:54] local.INFO: TCP Data received {"connection_id":159725,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:05:54] local.INFO: Processing buffer {"connection_id":159725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:05:54] local.INFO: IMEI packet received {"connection_id":159725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":159725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:05:58] local.INFO: TCP Data received {"connection_id":159725,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:05:58] local.INFO: Processing buffer {"connection_id":159725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:05:58] local.INFO: IMEI packet received {"connection_id":159725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":159725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:05:59] local.INFO: TCP Data received {"connection_id":159725,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f5bbf8012d196900071fef380041008324..."} 
[2026-08-22 11:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f5bbf8012d196900071fef380041008324..."} 
[2026-08-22 11:05:59] local.INFO: Processing buffer {"connection_id":159725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f5bbf8012d196900071fef380041008324..."} 
[2026-08-22 11:05:59] local.INFO: Packet analysis {"connection_id":159725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f5"} 
[2026-08-22 11:05:59] local.INFO: Extracted packet for processing {"connection_id":159725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f5"} 
[2026-08-22 11:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533368,"longitude_deg":75.664,"latitude_deg":11.9533368,"altitude":65,"angle":131,"satellites":36,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568458240001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378292081590272,"note":"Value kept but may cause issues"} 
[2026-08-22 11:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103359488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:05: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-22 11:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787376811000,"timestamp_ms":1787376811000,"timestamp_seconds":1787376811,"priority":1,"record_length":96,"hex_timestamp":"000001a027f5bbf8"} 
[2026-08-22 11: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-22 11:05: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-22 11: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-22 11:05:59] 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-22 11: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-22 11: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-22 11:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:05:59] 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-22 11:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568458240001,"66":12645,"102":206,"83":41984,"24":0,"16":14378292081590272,"45":1830994754103359488},"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-22 11:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568458240001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:05:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 11:05:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378292081590272,"km_value":14378292081590.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103359488,"description":"Unknown IO ID 45"} 
[2026-08-22 11:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568458240001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103359488}} 
[2026-08-22 11:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":159725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:05:59] local.INFO: GPS data processed {"connection_id":159725,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:05:59] local.INFO: Acknowledgment sent {"connection_id":159725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:06:03] local.INFO: TCP Data received {"connection_id":160881,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:06:03] local.INFO: Processing buffer {"connection_id":160881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:06:03] local.INFO: IMEI packet received {"connection_id":160881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":160881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:06:08] local.INFO: TCP Data received {"connection_id":160881,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:06:08] local.INFO: Processing buffer {"connection_id":160881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:06:08] local.INFO: Packet analysis {"connection_id":160881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:06:08] local.INFO: Extracted packet for processing {"connection_id":160881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:06:08] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11:06: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-22 11:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568356096001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:06:08] 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-22 11:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787376692000,"timestamp_ms":1787376692000,"timestamp_seconds":1787376692,"priority":1,"record_length":96,"hex_timestamp":"000001a027f3eb20"} 
[2026-08-22 11:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:06: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-22 11:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:06:08] 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-22 11:06: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-22 11:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:06:08] 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-22 11:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568356096001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568356096001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:06:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:06:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568356096001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":160881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:06:08] local.INFO: GPS data processed {"connection_id":160881,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:06:08] local.INFO: Acknowledgment sent {"connection_id":160881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:06:30] local.INFO: TCP Data received {"connection_id":159725,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f60e00012d196900071fef380041008325..."} 
[2026-08-22 11:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f60e00012d196900071fef380041008325..."} 
[2026-08-22 11:06:30] local.INFO: Processing buffer {"connection_id":159725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f60e00012d196900071fef380041008325..."} 
[2026-08-22 11:06:30] local.INFO: Packet analysis {"connection_id":159725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f6"} 
[2026-08-22 11:06:30] local.INFO: Extracted packet for processing {"connection_id":159725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f6"} 
[2026-08-22 11:06:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533368,"longitude_deg":75.664,"latitude_deg":11.9533368,"altitude":65,"angle":131,"satellites":37,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568463616001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378292081590272,"note":"Value kept but may cause issues"} 
[2026-08-22 11:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103359488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:06: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-22 11:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787376832000,"timestamp_ms":1787376832000,"timestamp_seconds":1787376832,"priority":1,"record_length":96,"hex_timestamp":"000001a027f60e00"} 
[2026-08-22 11: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-22 11:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-22 11:06:30] 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-22 11: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-22 11: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-22 11:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:06:30] 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-22 11:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568463616001,"66":12537,"102":206,"83":41984,"24":0,"16":14378292081590272,"45":1830994754103359488},"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-22 11:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568463616001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:06:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 11:06:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378292081590272,"km_value":14378292081590.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103359488,"description":"Unknown IO ID 45"} 
[2026-08-22 11:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568463616001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103359488}} 
[2026-08-22 11:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":159725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:06:30] local.INFO: GPS data processed {"connection_id":159725,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:06:30] local.INFO: Acknowledgment sent {"connection_id":159725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:06:49] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:06:49] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:06:49] local.INFO: IMEI packet received {"connection_id":159979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":159979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:06:52] local.INFO: TCP Data received {"connection_id":159726,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:06:52] local.INFO: Processing buffer {"connection_id":159726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:06:52] local.INFO: IMEI packet received {"connection_id":159726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":159726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:06:53] local.INFO: TCP Data received {"connection_id":159726,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:06:53] local.INFO: Processing buffer {"connection_id":159726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:06:53] local.INFO: IMEI packet received {"connection_id":159726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":159726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:06:54] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:06:54] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:06:54] local.INFO: IMEI packet received {"connection_id":159979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":159979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:06:55] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:06:55] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f3eb20012d7f88c005afdea8000000d821..."} 
[2026-08-22 11:06:55] local.INFO: Packet analysis {"connection_id":159979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:06:55] local.INFO: Extracted packet for processing {"connection_id":159979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f3"} 
[2026-08-22 11:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568356096001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11: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-22 11:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787376692000,"timestamp_ms":1787376692000,"timestamp_seconds":1787376692,"priority":1,"record_length":96,"hex_timestamp":"000001a027f3eb20"} 
[2026-08-22 11: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-22 11:06: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-22 11:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:06: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-22 11: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-22 11: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-22 11:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:06: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-22 11:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568356096001,"66":25582,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568356096001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:06:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:06:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568356096001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":159979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:06:55] local.INFO: GPS data processed {"connection_id":159979,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:06:55] local.INFO: Acknowledgment sent {"connection_id":159979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:07:04] local.INFO: TCP Data received {"connection_id":159726,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:07:04] local.INFO: Processing buffer {"connection_id":159726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:07:04] local.INFO: IMEI packet received {"connection_id":159726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":159726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:07:05] local.INFO: TCP Data received {"connection_id":159726,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f7e6a8012d196900071febb80044004f22..."} 
[2026-08-22 11:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f7e6a8012d196900071febb80044004f22..."} 
[2026-08-22 11:07:05] local.INFO: Processing buffer {"connection_id":159726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f7e6a8012d196900071febb80044004f22..."} 
[2026-08-22 11:07:05] local.INFO: Packet analysis {"connection_id":159726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f7"} 
[2026-08-22 11:07:05] local.INFO: Extracted packet for processing {"connection_id":159726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f7"} 
[2026-08-22 11:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532472,"longitude_deg":75.664,"latitude_deg":11.9532472,"altitude":68,"angle":79,"satellites":34,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071febb8","is_valid_coordinates":true} 
[2026-08-22 11:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568499200001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14378365096034304,"note":"Value kept but may cause issues"} 
[2026-08-22 11:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103107584,"note":"Value kept but may cause issues"} 
[2026-08-22 11:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787376953000,"timestamp_ms":1787376953000,"timestamp_seconds":1787376953,"priority":1,"record_length":96,"hex_timestamp":"000001a027f7e6a8"} 
[2026-08-22 11:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-22 11:07: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-22 11:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:07:05] 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-22 11:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568499200001,"66":14048,"102":206,"83":41984,"24":0,"16":14378365096034304,"45":1830994754103107584},"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-22 11:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568499200001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:07:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 11:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14378365096034304,"km_value":14378365096034.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103107584,"description":"Unknown IO ID 45"} 
[2026-08-22 11:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568499200001,"power":14048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103107584}} 
[2026-08-22 11:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":159726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:07:06] local.INFO: GPS data processed {"connection_id":159726,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:07:06] local.INFO: Acknowledgment sent {"connection_id":159726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:07:26] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:07:26] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:07:26] local.INFO: Packet analysis {"connection_id":159979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:07:26] local.INFO: Extracted packet for processing {"connection_id":159979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:07:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 11:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568433152001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787376993000,"timestamp_ms":1787376993000,"timestamp_seconds":1787376993,"priority":1,"record_length":96,"hex_timestamp":"000001a027f882e8"} 
[2026-08-22 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-22 11:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:07:26] 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-22 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-22 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-22 11:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:07: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-22 11:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568433152001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 11:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568433152001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:07:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 11:07:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568433152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":159979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:07:26] local.INFO: GPS data processed {"connection_id":159979,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:07:26] local.INFO: Acknowledgment sent {"connection_id":159979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:07:36] local.INFO: TCP Data received {"connection_id":159726,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027f8c938012d19ce80071ff930002f003323..."} 
[2026-08-22 11:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f8c938012d19ce80071ff930002f003323..."} 
[2026-08-22 11:07:36] local.INFO: Processing buffer {"connection_id":159726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f8c938012d19ce80071ff930002f003323..."} 
[2026-08-22 11:07:36] local.INFO: Packet analysis {"connection_id":159726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:07:36] local.INFO: Extracted packet for processing {"connection_id":159726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119535920,"longitude_deg":75.6665984,"latitude_deg":11.953592,"altitude":47,"angle":51,"satellites":35,"speed":13,"hex_longitude":"2d19ce80","hex_latitude":"071ff930","is_valid_coordinates":true} 
[2026-08-22 11:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568514048001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14379679356026880,"note":"Value kept but may cause issues"} 
[2026-08-22 11:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859001514286477312,"note":"Value kept but may cause issues"} 
[2026-08-22 11:07:36] 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-22 11:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787377011000,"timestamp_ms":1787377011000,"timestamp_seconds":1787377011,"priority":1,"record_length":96,"hex_timestamp":"000001a027f8c938"} 
[2026-08-22 11:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-22 11:07:36] 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-22 11:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:07:36] 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-22 11:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568514048001,"66":14113,"101":206,"83":41984,"24":13,"16":14379679356026880,"45":1859001514286477312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 11:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568514048001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:07:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 11:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14379679356026880,"km_value":14379679356026.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859001514286477312,"description":"Unknown IO ID 45"} 
[2026-08-22 11:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568514048001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1859001514286477312}} 
[2026-08-22 11:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":159726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:07:36] local.INFO: GPS data processed {"connection_id":159726,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:07:36] local.INFO: Acknowledgment sent {"connection_id":159726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:07:49] local.INFO: TCP Data received {"connection_id":162297,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:07:49] local.INFO: Processing buffer {"connection_id":162297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:07:49] local.INFO: IMEI packet received {"connection_id":162297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":162297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:07:53] local.INFO: TCP Data received {"connection_id":162298,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:07:53] local.INFO: Processing buffer {"connection_id":162298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:07:53] local.INFO: IMEI packet received {"connection_id":162298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":162298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:07:53] local.INFO: TCP Data received {"connection_id":162298,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:07:53] local.INFO: Processing buffer {"connection_id":162298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:07:53] local.INFO: IMEI packet received {"connection_id":162298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":162298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:07:54] local.INFO: TCP Data received {"connection_id":162298,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:07:54] local.INFO: Processing buffer {"connection_id":162298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:07:54] local.INFO: IMEI packet received {"connection_id":162298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":162298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:07:54] local.INFO: TCP Data received {"connection_id":162297,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:07:54] local.INFO: Processing buffer {"connection_id":162297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:07:54] local.INFO: IMEI packet received {"connection_id":162297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":162297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:07:55] local.INFO: TCP Data received {"connection_id":162298,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:07:55] local.INFO: Processing buffer {"connection_id":162298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:07:55] local.INFO: IMEI packet received {"connection_id":162298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":162298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:07:55] local.INFO: TCP Data received {"connection_id":162297,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:07:55] local.INFO: Processing buffer {"connection_id":162297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:07:55] local.INFO: Packet analysis {"connection_id":162297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:07:55] local.INFO: Extracted packet for processing {"connection_id":162297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:07:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568433152001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787376993000,"timestamp_ms":1787376993000,"timestamp_seconds":1787376993,"priority":1,"record_length":96,"hex_timestamp":"000001a027f882e8"} 
[2026-08-22 11:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11: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-22 11:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:07: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-22 11:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:07:55] 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-22 11:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568433152001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 11:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568433152001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:07:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 11:07:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568433152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":162297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:07:55] local.INFO: GPS data processed {"connection_id":162297,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:07:55] local.INFO: Acknowledgment sent {"connection_id":162297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:08:26] local.INFO: TCP Data received {"connection_id":162297,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:08:26] local.INFO: Processing buffer {"connection_id":162297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:08:26] local.INFO: Packet analysis {"connection_id":162297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:08:26] local.INFO: Extracted packet for processing {"connection_id":162297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:08:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568433152001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787376993000,"timestamp_ms":1787376993000,"timestamp_seconds":1787376993,"priority":1,"record_length":96,"hex_timestamp":"000001a027f882e8"} 
[2026-08-22 11: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-22 11:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 11:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:08:26] 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-22 11: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-22 11: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-22 11:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:08:26] 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-22 11:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568433152001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 11:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568433152001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:08:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 11:08:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568433152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":162297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:08:26] local.INFO: GPS data processed {"connection_id":162297,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:08:26] local.INFO: Acknowledgment sent {"connection_id":162297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:08:49] local.INFO: TCP Data received {"connection_id":162299,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:08:49] local.INFO: Processing buffer {"connection_id":162299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:08:49] local.INFO: IMEI packet received {"connection_id":162299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":162299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:08:54] local.INFO: TCP Data received {"connection_id":162299,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:08:54] local.INFO: Processing buffer {"connection_id":162299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:08:54] local.INFO: IMEI packet received {"connection_id":162299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":162299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:08:55] local.INFO: TCP Data received {"connection_id":162299,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:08:55] local.INFO: Processing buffer {"connection_id":162299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:08:55] local.INFO: Packet analysis {"connection_id":162299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:08:55] local.INFO: Extracted packet for processing {"connection_id":162299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568433152001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787376993000,"timestamp_ms":1787376993000,"timestamp_seconds":1787376993,"priority":1,"record_length":96,"hex_timestamp":"000001a027f882e8"} 
[2026-08-22 11:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11: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-22 11:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:08: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-22 11:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:08:55] 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-22 11:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568433152001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 11:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568433152001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:08:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 11:08:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568433152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":162299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:08:55] local.INFO: GPS data processed {"connection_id":162299,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:08:55] local.INFO: Acknowledgment sent {"connection_id":162299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:09:26] local.INFO: TCP Data received {"connection_id":162299,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:09:26] local.INFO: Processing buffer {"connection_id":162299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:09:26] local.INFO: Packet analysis {"connection_id":162299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:09:26] local.INFO: Extracted packet for processing {"connection_id":162299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 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-22 11:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568433152001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787376993000,"timestamp_ms":1787376993000,"timestamp_seconds":1787376993,"priority":1,"record_length":96,"hex_timestamp":"000001a027f882e8"} 
[2026-08-22 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-22 11:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:09:26] 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-22 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-22 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-22 11:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:09: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-22 11:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568433152001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 11:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568433152001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:09:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 11:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568433152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":162299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:09:26] local.INFO: GPS data processed {"connection_id":162299,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:09:26] local.INFO: Acknowledgment sent {"connection_id":162299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:09:54] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:09:54] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:09:54] local.INFO: IMEI packet received {"connection_id":159981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":159981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:09:59] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:09:59] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:09:59] local.INFO: IMEI packet received {"connection_id":159981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":159981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:10:00] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:10:00] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:10:00] local.INFO: Packet analysis {"connection_id":159981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:10:00] local.INFO: Extracted packet for processing {"connection_id":159981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568433152001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787376993000,"timestamp_ms":1787376993000,"timestamp_seconds":1787376993,"priority":1,"record_length":96,"hex_timestamp":"000001a027f882e8"} 
[2026-08-22 11: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-22 11:10: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-22 11: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:10: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-22 11: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-22 11: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-22 11:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:10: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-22 11:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568433152001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 11:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568433152001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:10:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 11:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568433152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":159981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:10:00] local.INFO: GPS data processed {"connection_id":159981,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:10:00] local.INFO: Acknowledgment sent {"connection_id":159981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:10:04] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:10:04] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:10:04] local.INFO: Packet analysis {"connection_id":159981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:10:04] local.INFO: Extracted packet for processing {"connection_id":159981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568433152001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787376993000,"timestamp_ms":1787376993000,"timestamp_seconds":1787376993,"priority":1,"record_length":96,"hex_timestamp":"000001a027f882e8"} 
[2026-08-22 11:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:10: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-22 11:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:10: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-22 11:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 11:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568433152001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 11:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568433152001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:10:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 11:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568433152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":159981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:10:04] local.INFO: GPS data processed {"connection_id":159981,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:10:04] local.INFO: Acknowledgment sent {"connection_id":159981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:10:49] local.INFO: TCP Data received {"connection_id":159728,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:10:49] local.INFO: Processing buffer {"connection_id":159728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:10:49] local.INFO: IMEI packet received {"connection_id":159728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":159728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:10:57] local.INFO: TCP Data received {"connection_id":159728,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:10:57] local.INFO: Processing buffer {"connection_id":159728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:10:57] local.INFO: IMEI packet received {"connection_id":159728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":159728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:10:57] local.INFO: TCP Data received {"connection_id":159728,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:10:57] local.INFO: Processing buffer {"connection_id":159728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027f882e8012d7f88c005afdea8000000d823..."} 
[2026-08-22 11:10:57] local.INFO: Packet analysis {"connection_id":159728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:10:57] local.INFO: Extracted packet for processing {"connection_id":159728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027f8"} 
[2026-08-22 11:10:57] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568433152001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787376993000,"timestamp_ms":1787376993000,"timestamp_seconds":1787376993,"priority":1,"record_length":96,"hex_timestamp":"000001a027f882e8"} 
[2026-08-22 11: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-22 11:10: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-22 11: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:10:57] 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-22 11: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-22 11: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-22 11:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:10:57] 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-22 11:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568433152001,"66":25582,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 11:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568433152001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:10:57] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 11:10:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568433152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":159728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:10:57] local.INFO: GPS data processed {"connection_id":159728,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:10:57] local.INFO: Acknowledgment sent {"connection_id":159728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:11:28] local.INFO: TCP Data received {"connection_id":159728,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a027fc4f90012d7f88c005afdea8000000d81f..."} 
[2026-08-22 11:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fc4f90012d7f88c005afdea8000000d81f..."} 
[2026-08-22 11:11:28] local.INFO: Processing buffer {"connection_id":159728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fc4f90012d7f88c005afdea8000000d81f..."} 
[2026-08-22 11:11:28] local.INFO: Packet analysis {"connection_id":159728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fc"} 
[2026-08-22 11:11:28] local.INFO: Extracted packet for processing {"connection_id":159728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fc"} 
[2026-08-22 11:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95411880,"longitude_deg":76.33328,"latitude_deg":9.541188,"altitude":0,"angle":216,"satellites":31,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-22 11:11: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-22 11:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568510208001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787377242000,"timestamp_ms":1787377242000,"timestamp_seconds":1787377242,"priority":1,"record_length":96,"hex_timestamp":"000001a027fc4f90"} 
[2026-08-22 11:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 11:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 11:11:28] 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-22 11:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:11:28] 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-22 11:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568510208001,"66":25560,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 11:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568510208001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:11:28] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 11:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568510208001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":159728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:11:28] local.INFO: GPS data processed {"connection_id":159728,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:11:28] local.INFO: Acknowledgment sent {"connection_id":159728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:11:49] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:11:49] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:11:49] local.INFO: IMEI packet received {"connection_id":159982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":159982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:11:54] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:11:54] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:11:54] local.INFO: IMEI packet received {"connection_id":159982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":159982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:11:55] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a027fc6318012d7f898005afdd38000000bc20..."} 
[2026-08-22 11:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fc6318012d7f898005afdd38000000bc20..."} 
[2026-08-22 11:11:55] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fc6318012d7f898005afdd38000000bc20..."} 
[2026-08-22 11:11:55] local.INFO: Packet analysis {"connection_id":159982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fc"} 
[2026-08-22 11:11:55] local.INFO: Extracted packet for processing {"connection_id":159982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fc"} 
[2026-08-22 11:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95411512,"longitude_deg":76.3332992,"latitude_deg":9.5411512,"altitude":0,"angle":188,"satellites":32,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568573952001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307471360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787377247000,"timestamp_ms":1787377247000,"timestamp_seconds":1787377247,"priority":1,"record_length":96,"hex_timestamp":"000001a027fc6318"} 
[2026-08-22 11: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-22 11:11:55] 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-22 11:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 11:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11: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-22 11: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-22 11:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:11:55] 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-22 11:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568573952001,"66":24473,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9189806170307471360},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 11:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568573952001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:11:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 11:11:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307471360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568573952001,"power":24473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307471360}} 
[2026-08-22 11:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":159982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:11:55] local.INFO: GPS data processed {"connection_id":159982,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:11:55] local.INFO: Acknowledgment sent {"connection_id":159982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:12:26] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a027fcb520012d7f898005afdd38000000bc20..."} 
[2026-08-22 11:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fcb520012d7f898005afdd38000000bc20..."} 
[2026-08-22 11:12:26] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fcb520012d7f898005afdd38000000bc20..."} 
[2026-08-22 11:12:26] local.INFO: Packet analysis {"connection_id":159982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fc"} 
[2026-08-22 11:12:26] local.INFO: Extracted packet for processing {"connection_id":159982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fc"} 
[2026-08-22 11:12:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95411512,"longitude_deg":76.3332992,"latitude_deg":9.5411512,"altitude":0,"angle":188,"satellites":32,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-08-22 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-22 11:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568575232001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787377268000,"timestamp_ms":1787377268000,"timestamp_seconds":1787377268,"priority":1,"record_length":96,"hex_timestamp":"000001a027fcb520"} 
[2026-08-22 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-22 11:12:26] 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-22 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":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-22 11:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 11:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:12:26] 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-22 11:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568575232001,"66":27691,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 11:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568575232001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:12:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 11:12:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568575232001,"power":27691,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":159982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:12:26] local.INFO: GPS data processed {"connection_id":159982,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:12:26] local.INFO: Acknowledgment sent {"connection_id":159982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:12:49] local.INFO: TCP Data received {"connection_id":162301,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:12:49] local.INFO: Processing buffer {"connection_id":162301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:12:49] local.INFO: IMEI packet received {"connection_id":162301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":162301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:12:50] local.INFO: TCP Data received {"connection_id":162301,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:12:50] local.INFO: Processing buffer {"connection_id":162301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:12:50] local.INFO: IMEI packet received {"connection_id":162301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":162301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:12:54] local.INFO: TCP Data received {"connection_id":162301,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:12:54] local.INFO: Processing buffer {"connection_id":162301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:12:54] local.INFO: IMEI packet received {"connection_id":162301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":162301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:12:55] local.INFO: TCP Data received {"connection_id":162301,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a027fd0728012d7f898005afdd38000000bc20..."} 
[2026-08-22 11:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fd0728012d7f898005afdd38000000bc20..."} 
[2026-08-22 11:12:55] local.INFO: Processing buffer {"connection_id":162301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fd0728012d7f898005afdd38000000bc20..."} 
[2026-08-22 11:12:55] local.INFO: Packet analysis {"connection_id":162301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fd"} 
[2026-08-22 11:12:55] local.INFO: Extracted packet for processing {"connection_id":162301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fd"} 
[2026-08-22 11:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95411512,"longitude_deg":76.3332992,"latitude_deg":9.5411512,"altitude":0,"angle":188,"satellites":32,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568580608001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787377289000,"timestamp_ms":1787377289000,"timestamp_seconds":1787377289,"priority":1,"record_length":96,"hex_timestamp":"000001a027fd0728"} 
[2026-08-22 11: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-22 11:12: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-22 11: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-22 11:12:55] 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-22 11: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-22 11: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-22 11:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:12:55] 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-22 11:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568580608001,"66":27843,"199":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 11:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568580608001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:12:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 11:12:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568580608001,"power":27843,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":162301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:12:55] local.INFO: GPS data processed {"connection_id":162301,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:12:55] local.INFO: Acknowledgment sent {"connection_id":162301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:12:57] local.INFO: TCP Data received {"connection_id":160883,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:12:57] local.INFO: Processing buffer {"connection_id":160883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:12:57] local.INFO: IMEI packet received {"connection_id":160883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":160883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:12:58] local.INFO: TCP Data received {"connection_id":160883,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027fd2668012d198f000720b3600037010f27..."} 
[2026-08-22 11:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fd2668012d198f000720b3600037010f27..."} 
[2026-08-22 11:12:58] local.INFO: Processing buffer {"connection_id":160883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fd2668012d198f000720b3600037010f27..."} 
[2026-08-22 11:12:58] local.INFO: Packet analysis {"connection_id":160883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fd"} 
[2026-08-22 11:12:58] local.INFO: Extracted packet for processing {"connection_id":160883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fd"} 
[2026-08-22 11:12:58] local.INFO: GPS Element Parsed {"raw_longitude":756649728,"raw_latitude":119583584,"longitude_deg":75.6649728,"latitude_deg":11.9583584,"altitude":55,"angle":271,"satellites":39,"speed":34,"hex_longitude":"2d198f00","hex_latitude":"0720b360","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568585472001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14388673017544704,"note":"Value kept but may cause issues"} 
[2026-08-22 11:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849572102578905088,"note":"Value kept but may cause issues"} 
[2026-08-22 11:12: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-22 11:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787377297000,"timestamp_ms":1787377297000,"timestamp_seconds":1787377297,"priority":1,"record_length":96,"hex_timestamp":"000001a027fd2668"} 
[2026-08-22 11: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-22 11:12: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-22 11: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 11:12:58] 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-22 11: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-22 11: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-22 11:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:12:58] 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-22 11:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568585472001,"66":14298,"103":206,"83":41984,"24":34,"16":14388673017544704,"45":1849572102578905088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 11:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568585472001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:12:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 11:12:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14388673017544704,"km_value":14388673017544.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849572102578905088,"description":"Unknown IO ID 45"} 
[2026-08-22 11:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568585472001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1849572102578905088}} 
[2026-08-22 11:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":160883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:12:58] local.INFO: GPS data processed {"connection_id":160883,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:12:58] local.INFO: Acknowledgment sent {"connection_id":160883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:13:26] local.INFO: TCP Data received {"connection_id":162301,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a027fd5930012d7f898005afdd38000000bc24..."} 
[2026-08-22 11:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fd5930012d7f898005afdd38000000bc24..."} 
[2026-08-22 11:13:26] local.INFO: Processing buffer {"connection_id":162301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fd5930012d7f898005afdd38000000bc24..."} 
[2026-08-22 11:13:26] local.INFO: Packet analysis {"connection_id":162301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fd"} 
[2026-08-22 11:13:26] local.INFO: Extracted packet for processing {"connection_id":162301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fd"} 
[2026-08-22 11:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95411512,"longitude_deg":76.3332992,"latitude_deg":9.5411512,"altitude":0,"angle":188,"satellites":36,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-08-22 11:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568585984001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:13: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-22 11:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787377310000,"timestamp_ms":1787377310000,"timestamp_seconds":1787377310,"priority":1,"record_length":96,"hex_timestamp":"000001a027fd5930"} 
[2026-08-22 11:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:13: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-22 11:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 11:13: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-22 11:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:13:26] 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-22 11:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568585984001,"66":27930,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"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-22 11:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568585984001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:13:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568585984001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":162301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:13:26] local.INFO: GPS data processed {"connection_id":162301,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:13:26] local.INFO: Acknowledgment sent {"connection_id":162301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:13:29] local.INFO: TCP Data received {"connection_id":160883,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027fd3608012d197fc00720b1e80035010226..."} 
[2026-08-22 11:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fd3608012d197fc00720b1e80035010226..."} 
[2026-08-22 11:13:29] local.INFO: Processing buffer {"connection_id":160883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fd3608012d197fc00720b1e80035010226..."} 
[2026-08-22 11:13:29] local.INFO: Packet analysis {"connection_id":160883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fd"} 
[2026-08-22 11:13:29] local.INFO: Extracted packet for processing {"connection_id":160883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fd"} 
[2026-08-22 11:13:29] local.INFO: GPS Element Parsed {"raw_longitude":756645824,"raw_latitude":119583208,"longitude_deg":75.6645824,"latitude_deg":11.9583208,"altitude":53,"angle":258,"satellites":38,"speed":43,"hex_longitude":"2d197fc0","hex_latitude":"0720b1e8","is_valid_coordinates":true} 
[2026-08-22 11:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568588032001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14388857701138432,"note":"Value kept but may cause issues"} 
[2026-08-22 11:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841690803231219712,"note":"Value kept but may cause issues"} 
[2026-08-22 11:13:29] 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-22 11:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787377301000,"timestamp_ms":1787377301000,"timestamp_seconds":1787377301,"priority":1,"record_length":96,"hex_timestamp":"000001a027fd3608"} 
[2026-08-22 11:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:13: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-22 11:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-22 11:13:29] 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-22 11:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:13:29] 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-22 11:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568588032001,"66":14211,"103":206,"83":41984,"24":43,"16":14388857701138432,"45":1841690803231219712},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 11:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568588032001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:13:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 11:13:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14388857701138432,"km_value":14388857701138.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841690803231219712,"description":"Unknown IO ID 45"} 
[2026-08-22 11:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568588032001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1841690803231219712}} 
[2026-08-22 11:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":160883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:13:29] local.INFO: GPS data processed {"connection_id":160883,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:13:29] local.INFO: Acknowledgment sent {"connection_id":160883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:13:50] local.INFO: TCP Data received {"connection_id":159729,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:13:50] local.INFO: Processing buffer {"connection_id":159729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:13:50] local.INFO: IMEI packet received {"connection_id":159729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":159729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:13:53] local.INFO: TCP Data received {"connection_id":160884,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:13:53] local.INFO: Processing buffer {"connection_id":160884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:13:53] local.INFO: IMEI packet received {"connection_id":160884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":160884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:13:54] local.INFO: TCP Data received {"connection_id":159729,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:13:54] local.INFO: Processing buffer {"connection_id":159729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:13:54] local.INFO: IMEI packet received {"connection_id":159729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":159729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:13:58] local.INFO: TCP Data received {"connection_id":159729,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a027fdab38012d7f898005afdd38000000bc21..."} 
[2026-08-22 11:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fdab38012d7f898005afdd38000000bc21..."} 
[2026-08-22 11:13:58] local.INFO: Processing buffer {"connection_id":159729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fdab38012d7f898005afdd38000000bc21..."} 
[2026-08-22 11:13:58] local.INFO: Packet analysis {"connection_id":159729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fd"} 
[2026-08-22 11:13:58] local.INFO: Extracted packet for processing {"connection_id":159729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fd"} 
[2026-08-22 11:13:58] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95411512,"longitude_deg":76.3332992,"latitude_deg":9.5411512,"altitude":0,"angle":188,"satellites":33,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-08-22 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-22 11:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568591360001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:13: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-22 11:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787377331000,"timestamp_ms":1787377331000,"timestamp_seconds":1787377331,"priority":1,"record_length":96,"hex_timestamp":"000001a027fdab38"} 
[2026-08-22 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-22 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-22 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-22 11:13: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-22 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-22 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-22 11:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:13:58] 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-22 11:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568591360001,"66":27745,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"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-22 11:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568591360001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:13:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:13:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568591360001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":159729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:13:58] local.INFO: GPS data processed {"connection_id":159729,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:13:58] local.INFO: Acknowledgment sent {"connection_id":159729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:13:58] local.INFO: TCP Data received {"connection_id":160884,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:13:58] local.INFO: Processing buffer {"connection_id":160884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:13:58] local.INFO: IMEI packet received {"connection_id":160884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":160884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:13:59] local.INFO: TCP Data received {"connection_id":160884,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027fd5548012d195bc00720ab380032010826..."} 
[2026-08-22 11:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fd5548012d195bc00720ab380032010826..."} 
[2026-08-22 11:13:59] local.INFO: Processing buffer {"connection_id":160884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fd5548012d195bc00720ab380032010826..."} 
[2026-08-22 11:13:59] local.INFO: Packet analysis {"connection_id":160884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fd"} 
[2026-08-22 11:13:59] local.INFO: Extracted packet for processing {"connection_id":160884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fd"} 
[2026-08-22 11:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756636608,"raw_latitude":119581496,"longitude_deg":75.6636608,"latitude_deg":11.9581496,"altitude":50,"angle":264,"satellites":38,"speed":46,"hex_longitude":"2d195bc0","hex_latitude":"0720ab38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568589056001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14389304377737216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837398309836285952,"note":"Value kept but may cause issues"} 
[2026-08-22 11:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787377309000,"timestamp_ms":1787377309000,"timestamp_seconds":1787377309,"priority":1,"record_length":96,"hex_timestamp":"000001a027fd5548"} 
[2026-08-22 11: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-22 11:13: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-22 11: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 11:13:59] 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-22 11: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-22 11: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-22 11:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:13:59] 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-22 11:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568589056001,"66":14070,"103":206,"83":41984,"24":46,"16":14389304377737216,"45":1837398309836285952},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 11:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568589056001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:13:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 11:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14389304377737216,"km_value":14389304377737.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837398309836285952,"description":"Unknown IO ID 45"} 
[2026-08-22 11:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568589056001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1837398309836285952}} 
[2026-08-22 11:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":160884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:13:59] local.INFO: GPS data processed {"connection_id":160884,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:13:59] local.INFO: Acknowledgment sent {"connection_id":160884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:14:30] local.INFO: TCP Data received {"connection_id":160884,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027fd6100012d194e800720abb80032011826..."} 
[2026-08-22 11:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fd6100012d194e800720abb80032011826..."} 
[2026-08-22 11:14:30] local.INFO: Processing buffer {"connection_id":160884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fd6100012d194e800720abb80032011826..."} 
[2026-08-22 11:14:30] local.INFO: Packet analysis {"connection_id":160884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fd"} 
[2026-08-22 11:14:30] local.INFO: Extracted packet for processing {"connection_id":160884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fd"} 
[2026-08-22 11:14:30] local.INFO: GPS Element Parsed {"raw_longitude":756633216,"raw_latitude":119581624,"longitude_deg":75.6633216,"latitude_deg":11.9581624,"altitude":50,"angle":280,"satellites":38,"speed":44,"hex_longitude":"2d194e80","hex_latitude":"0720abb8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568591104001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14389463291527168,"note":"Value kept but may cause issues"} 
[2026-08-22 11:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827265210674264064,"note":"Value kept but may cause issues"} 
[2026-08-22 11:14: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-22 11:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787377312000,"timestamp_ms":1787377312000,"timestamp_seconds":1787377312,"priority":1,"record_length":96,"hex_timestamp":"000001a027fd6100"} 
[2026-08-22 11: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-22 11:14: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-22 11: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 11:14:30] 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-22 11: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-22 11: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-22 11:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:14:30] 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-22 11:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568591104001,"66":14396,"103":206,"83":41984,"24":44,"16":14389463291527168,"45":1827265210674264064},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 11:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568591104001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:14:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 11:14:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14389463291527168,"km_value":14389463291527.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827265210674264064,"description":"Unknown IO ID 45"} 
[2026-08-22 11:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568591104001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1827265210674264064}} 
[2026-08-22 11:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":160884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:14:30] local.INFO: GPS data processed {"connection_id":160884,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:14:30] local.INFO: Acknowledgment sent {"connection_id":160884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:14:33] local.INFO: TCP Data received {"connection_id":159729,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a027fdfd40012d7f898005afdd38000000bc25..."} 
[2026-08-22 11:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fdfd40012d7f898005afdd38000000bc25..."} 
[2026-08-22 11:14:33] local.INFO: Processing buffer {"connection_id":159729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fdfd40012d7f898005afdd38000000bc25..."} 
[2026-08-22 11:14:33] local.INFO: Packet analysis {"connection_id":159729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fd"} 
[2026-08-22 11:14:33] local.INFO: Extracted packet for processing {"connection_id":159729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fd"} 
[2026-08-22 11:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95411512,"longitude_deg":76.3332992,"latitude_deg":9.5411512,"altitude":0,"angle":188,"satellites":37,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568596736001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:14: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-22 11:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787377352000,"timestamp_ms":1787377352000,"timestamp_seconds":1787377352,"priority":1,"record_length":96,"hex_timestamp":"000001a027fdfd40"} 
[2026-08-22 11: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-22 11:14: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-22 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 11:14: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-22 11: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-22 11: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-22 11:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:14:33] 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-22 11:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568596736001,"66":28006,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"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-22 11:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568596736001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:14:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568596736001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":159729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:14:33] local.INFO: GPS data processed {"connection_id":159729,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:14:33] local.INFO: Acknowledgment sent {"connection_id":159729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:14:50] local.INFO: TCP Data received {"connection_id":160885,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:14:50] local.INFO: Processing buffer {"connection_id":160885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:14:50] local.INFO: IMEI packet received {"connection_id":160885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":160885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:14:53] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:14:53] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:14:53] local.INFO: IMEI packet received {"connection_id":159983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":159983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:14:54] local.INFO: TCP Data received {"connection_id":160885,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:14:54] local.INFO: Processing buffer {"connection_id":160885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:14:54] local.INFO: IMEI packet received {"connection_id":160885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":160885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:14:55] local.INFO: TCP Data received {"connection_id":160885,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a027fe4f48012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fe4f48012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:14:55] local.INFO: Processing buffer {"connection_id":160885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fe4f48012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:14:55] local.INFO: Packet analysis {"connection_id":160885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fe"} 
[2026-08-22 11:14:55] local.INFO: Extracted packet for processing {"connection_id":160885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fe"} 
[2026-08-22 11:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95411512,"longitude_deg":76.3332992,"latitude_deg":9.5411512,"altitude":0,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568602112001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:14: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-22 11:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787377373000,"timestamp_ms":1787377373000,"timestamp_seconds":1787377373,"priority":1,"record_length":96,"hex_timestamp":"000001a027fe4f48"} 
[2026-08-22 11: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-22 11:14: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-22 11: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 11:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11: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-22 11: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-22 11:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:14:55] 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-22 11:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568602112001,"66":27767,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568602112001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:14:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:14:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568602112001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":160885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:14:55] local.INFO: GPS data processed {"connection_id":160885,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:14:55] local.INFO: Acknowledgment sent {"connection_id":160885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:14:58] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:14:58] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:14:58] local.INFO: IMEI packet received {"connection_id":159983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":159983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:14:59] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027ff39a8012d18d7800720fc78003f013427..."} 
[2026-08-22 11:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ff39a8012d18d7800720fc78003f013427..."} 
[2026-08-22 11:14:59] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ff39a8012d18d7800720fc78003f013427..."} 
[2026-08-22 11:14:59] local.INFO: Packet analysis {"connection_id":159983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ff"} 
[2026-08-22 11:14:59] local.INFO: Extracted packet for processing {"connection_id":159983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ff"} 
[2026-08-22 11:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756602752,"raw_latitude":119602296,"longitude_deg":75.6602752,"latitude_deg":11.9602296,"altitude":63,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d18d780","hex_latitude":"0720fc78","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568617472001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14391280062693376,"note":"Value kept but may cause issues"} 
[2026-08-22 11:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790040145009604608,"note":"Value kept but may cause issues"} 
[2026-08-22 11:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787377433000,"timestamp_ms":1787377433000,"timestamp_seconds":1787377433,"priority":1,"record_length":96,"hex_timestamp":"000001a027ff39a8"} 
[2026-08-22 11: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-22 11:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 11:14:59] 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-22 11: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-22 11: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-22 11:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:14:59] 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-22 11:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568617472001,"66":14265,"103":206,"83":41984,"24":0,"16":14391280062693376,"45":1790040145009604608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 11:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568617472001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:14:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 11:14:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14391280062693376,"km_value":14391280062693.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790040145009604608,"description":"Unknown IO ID 45"} 
[2026-08-22 11:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568617472001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1790040145009604608}} 
[2026-08-22 11:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":159983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:14:59] local.INFO: GPS data processed {"connection_id":159983,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:14:59] local.INFO: Acknowledgment sent {"connection_id":159983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:15:26] local.INFO: TCP Data received {"connection_id":160885,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:15:26] local.INFO: Processing buffer {"connection_id":160885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:15:26] local.INFO: Packet analysis {"connection_id":160885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fe"} 
[2026-08-22 11:15:26] local.INFO: Extracted packet for processing {"connection_id":160885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fe"} 
[2026-08-22 11:15:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95411512,"longitude_deg":76.3332992,"latitude_deg":9.5411512,"altitude":0,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-08-22 11:15: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-22 11:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568607488001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:15: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-22 11:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787377382000,"timestamp_ms":1787377382000,"timestamp_seconds":1787377382,"priority":1,"record_length":96,"hex_timestamp":"000001a027fe7270"} 
[2026-08-22 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-22 11: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-22 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 11:15: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-22 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-22 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-22 11:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:15:26] 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-22 11:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568607488001,"66":27865,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568607488001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:15:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:15:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568607488001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":160885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:15:26] local.INFO: GPS data processed {"connection_id":160885,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:15:26] local.INFO: Acknowledgment sent {"connection_id":160885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:15:30] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027ff58e8012d18d8400720fdc00045003d25..."} 
[2026-08-22 11:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027ff58e8012d18d8400720fdc00045003d25..."} 
[2026-08-22 11:15:30] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027ff58e8012d18d8400720fdc00045003d25..."} 
[2026-08-22 11:15:30] local.INFO: Packet analysis {"connection_id":159983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027ff"} 
[2026-08-22 11:15:30] local.INFO: Extracted packet for processing {"connection_id":159983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027ff"} 
[2026-08-22 11:15:30] local.INFO: GPS Element Parsed {"raw_longitude":756602944,"raw_latitude":119602624,"longitude_deg":75.6602944,"latitude_deg":11.9602624,"altitude":69,"angle":61,"satellites":37,"speed":5,"hex_longitude":"2d18d840","hex_latitude":"0720fdc0","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568622848001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14391297242562560,"note":"Value kept but may cause issues"} 
[2026-08-22 11:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790040145009604608,"note":"Value kept but may cause issues"} 
[2026-08-22 11:15: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-22 11:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787377441000,"timestamp_ms":1787377441000,"timestamp_seconds":1787377441,"priority":1,"record_length":96,"hex_timestamp":"000001a027ff58e8"} 
[2026-08-22 11: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-22 11:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 11:15:30] 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-22 11: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-22 11: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-22 11:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:15:30] 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-22 11:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568622848001,"66":14102,"103":206,"83":41984,"24":5,"16":14391297242562560,"45":1790040145009604608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 11:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568622848001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:15:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 11:15:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14391297242562560,"km_value":14391297242562.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790040145009604608,"description":"Unknown IO ID 45"} 
[2026-08-22 11:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568622848001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1790040145009604608}} 
[2026-08-22 11:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":159983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:15:30] local.INFO: GPS data processed {"connection_id":159983,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:15:30] local.INFO: Acknowledgment sent {"connection_id":159983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:15:51] local.INFO: TCP Data received {"connection_id":160886,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:15:51] local.INFO: Processing buffer {"connection_id":160886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:15:51] local.INFO: IMEI packet received {"connection_id":160886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":160886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:15:53] local.INFO: TCP Data received {"connection_id":159730,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:15:53] local.INFO: Processing buffer {"connection_id":159730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:15:53] local.INFO: IMEI packet received {"connection_id":159730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":159730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:15:54] local.INFO: TCP Data received {"connection_id":159730,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:15:54] local.INFO: Processing buffer {"connection_id":159730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:15:54] local.INFO: IMEI packet received {"connection_id":159730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":159730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:15:54] local.INFO: TCP Data received {"connection_id":159730,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:15:54] local.INFO: Processing buffer {"connection_id":159730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:15:54] local.INFO: IMEI packet received {"connection_id":159730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":159730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:15:54] local.INFO: TCP Data received {"connection_id":160886,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:15:54] local.INFO: Processing buffer {"connection_id":160886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:15:54] local.INFO: IMEI packet received {"connection_id":160886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":160886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:15:55] local.INFO: TCP Data received {"connection_id":159730,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:15:55] local.INFO: Processing buffer {"connection_id":159730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:15:55] local.INFO: IMEI packet received {"connection_id":159730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":159730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:16:33] local.INFO: TCP Data received {"connection_id":160886,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:16:33] local.INFO: Processing buffer {"connection_id":160886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:16:33] local.INFO: Packet analysis {"connection_id":160886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fe"} 
[2026-08-22 11:16:33] local.INFO: Extracted packet for processing {"connection_id":160886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fe"} 
[2026-08-22 11:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95411512,"longitude_deg":76.3332992,"latitude_deg":9.5411512,"altitude":0,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-08-22 11:16:33] 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-22 11:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568607488001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:16: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-22 11:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787377382000,"timestamp_ms":1787377382000,"timestamp_seconds":1787377382,"priority":1,"record_length":96,"hex_timestamp":"000001a027fe7270"} 
[2026-08-22 11:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:16: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-22 11:16: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":119,"data_length":795,"current_offset":136} 
[2026-08-22 11:16:33] 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-22 11:16: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-22 11:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:16: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-22 11:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568607488001,"66":27865,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"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-22 11:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568607488001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:16:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568607488001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":160886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:16:33] local.INFO: GPS data processed {"connection_id":160886,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:16:33] local.INFO: Acknowledgment sent {"connection_id":160886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:16:34] local.INFO: TCP Data received {"connection_id":160886,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:16:34] local.INFO: Processing buffer {"connection_id":160886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:16:34] local.INFO: Packet analysis {"connection_id":160886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fe"} 
[2026-08-22 11:16:34] local.INFO: Extracted packet for processing {"connection_id":160886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fe"} 
[2026-08-22 11:16:34] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95411512,"longitude_deg":76.3332992,"latitude_deg":9.5411512,"altitude":0,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-08-22 11:16: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-22 11:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568607488001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:16: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-22 11:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787377382000,"timestamp_ms":1787377382000,"timestamp_seconds":1787377382,"priority":1,"record_length":96,"hex_timestamp":"000001a027fe7270"} 
[2026-08-22 11: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-22 11:16: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-22 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 11:16: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-22 11: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-22 11: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-22 11:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:16:34] 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-22 11:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568607488001,"66":27865,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"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-22 11:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568607488001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:16:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:16:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568607488001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":160886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:16:34] local.INFO: GPS data processed {"connection_id":160886,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:16:34] local.INFO: Acknowledgment sent {"connection_id":160886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:16:49] local.INFO: TCP Data received {"connection_id":159731,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:16:49] local.INFO: Processing buffer {"connection_id":159731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:16:49] local.INFO: IMEI packet received {"connection_id":159731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":159731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:16:54] local.INFO: TCP Data received {"connection_id":159731,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:16:54] local.INFO: Processing buffer {"connection_id":159731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:16:54] local.INFO: IMEI packet received {"connection_id":159731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":159731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:16:55] local.INFO: TCP Data received {"connection_id":159731,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:16:55] local.INFO: Processing buffer {"connection_id":159731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:16:55] local.INFO: Packet analysis {"connection_id":159731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fe"} 
[2026-08-22 11:16:55] local.INFO: Extracted packet for processing {"connection_id":159731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fe"} 
[2026-08-22 11:16:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95411512,"longitude_deg":76.3332992,"latitude_deg":9.5411512,"altitude":0,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-08-22 11:16: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-22 11:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568607488001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:16: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-22 11:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787377382000,"timestamp_ms":1787377382000,"timestamp_seconds":1787377382,"priority":1,"record_length":96,"hex_timestamp":"000001a027fe7270"} 
[2026-08-22 11:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:16: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-22 11:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 11:16: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-22 11:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:16:55] 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-22 11:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568607488001,"66":27865,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568607488001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:16:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:16:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568607488001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":159731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:16:55] local.INFO: GPS data processed {"connection_id":159731,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:16:55] local.INFO: Acknowledgment sent {"connection_id":159731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:17:26] local.INFO: TCP Data received {"connection_id":159731,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:17:26] local.INFO: Processing buffer {"connection_id":159731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:17:26] local.INFO: Packet analysis {"connection_id":159731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fe"} 
[2026-08-22 11:17:26] local.INFO: Extracted packet for processing {"connection_id":159731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fe"} 
[2026-08-22 11:17:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95411512,"longitude_deg":76.3332992,"latitude_deg":9.5411512,"altitude":0,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-08-22 11:17: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-22 11:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568607488001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:17: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-22 11:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787377382000,"timestamp_ms":1787377382000,"timestamp_seconds":1787377382,"priority":1,"record_length":96,"hex_timestamp":"000001a027fe7270"} 
[2026-08-22 11:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:17: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-22 11:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 11:17: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-22 11:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:17: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-22 11:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568607488001,"66":27865,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568607488001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:17:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:17:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568607488001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":159731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:17:26] local.INFO: GPS data processed {"connection_id":159731,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:17:26] local.INFO: Acknowledgment sent {"connection_id":159731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:17:49] local.INFO: TCP Data received {"connection_id":162302,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:17:49] local.INFO: Processing buffer {"connection_id":162302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:17:49] local.INFO: IMEI packet received {"connection_id":162302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":162302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:17:54] local.INFO: TCP Data received {"connection_id":162302,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:17:54] local.INFO: Processing buffer {"connection_id":162302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:17:54] local.INFO: IMEI packet received {"connection_id":162302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":162302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:17:55] local.INFO: TCP Data received {"connection_id":162302,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:17:55] local.INFO: Processing buffer {"connection_id":162302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:17:55] local.INFO: Packet analysis {"connection_id":162302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fe"} 
[2026-08-22 11:17:55] local.INFO: Extracted packet for processing {"connection_id":162302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fe"} 
[2026-08-22 11:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95411512,"longitude_deg":76.3332992,"latitude_deg":9.5411512,"altitude":0,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-08-22 11:17: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-22 11:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568607488001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:17: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-22 11:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787377382000,"timestamp_ms":1787377382000,"timestamp_seconds":1787377382,"priority":1,"record_length":96,"hex_timestamp":"000001a027fe7270"} 
[2026-08-22 11: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-22 11: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-22 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 11:17: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-22 11: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-22 11: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-22 11:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:17:55] 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-22 11:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568607488001,"66":27865,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568607488001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:17:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:17:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568607488001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":162302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:17:55] local.INFO: GPS data processed {"connection_id":162302,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:17:55] local.INFO: Acknowledgment sent {"connection_id":162302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:18:27] local.INFO: TCP Data received {"connection_id":162302,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:18:27] local.INFO: Processing buffer {"connection_id":162302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a027fe7270012d7f898005afdd38000000bc26..."} 
[2026-08-22 11:18:27] local.INFO: Packet analysis {"connection_id":162302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a027fe"} 
[2026-08-22 11:18:27] local.INFO: Extracted packet for processing {"connection_id":162302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a027fe"} 
[2026-08-22 11:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95411512,"longitude_deg":76.3332992,"latitude_deg":9.5411512,"altitude":0,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-08-22 11:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568607488001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:18: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-22 11:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787377382000,"timestamp_ms":1787377382000,"timestamp_seconds":1787377382,"priority":1,"record_length":96,"hex_timestamp":"000001a027fe7270"} 
[2026-08-22 11: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-22 11: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-22 11: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":119,"data_length":795,"current_offset":136} 
[2026-08-22 11:18:27] 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-22 11: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-22 11: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-22 11:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:18:27] 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-22 11:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568607488001,"66":27865,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568607488001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:18:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568607488001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":162302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:18:27] local.INFO: GPS data processed {"connection_id":162302,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:18:27] local.INFO: Acknowledgment sent {"connection_id":162302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:18:49] local.INFO: TCP Data received {"connection_id":162303,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:18:49] local.INFO: Processing buffer {"connection_id":162303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:18:49] local.INFO: IMEI packet received {"connection_id":162303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":162303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:18:55] local.INFO: TCP Data received {"connection_id":162303,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:18:55] local.INFO: Processing buffer {"connection_id":162303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:18:55] local.INFO: IMEI packet received {"connection_id":162303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":162303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:18:56] local.INFO: TCP Data received {"connection_id":162303,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:18:56] local.INFO: Processing buffer {"connection_id":162303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:18:56] local.INFO: Packet analysis {"connection_id":162303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:18:56] local.INFO: Extracted packet for processing {"connection_id":162303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568609792001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11: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-22 11:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787377689000,"timestamp_ms":1787377689000,"timestamp_seconds":1787377689,"priority":1,"record_length":96,"hex_timestamp":"000001a0280321a8"} 
[2026-08-22 11: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-22 11: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-22 11: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-22 11: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-22 11: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-22 11: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-22 11:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:18: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-22 11:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568609792001,"66":26223,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"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-22 11:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568609792001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:18:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568609792001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":162303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:18:56] local.INFO: GPS data processed {"connection_id":162303,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:18:56] local.INFO: Acknowledgment sent {"connection_id":162303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:19:27] local.INFO: TCP Data received {"connection_id":162303,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:19:27] local.INFO: Processing buffer {"connection_id":162303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:19:27] local.INFO: Packet analysis {"connection_id":162303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:19:27] local.INFO: Extracted packet for processing {"connection_id":162303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568609792001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:19: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-22 11:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787377689000,"timestamp_ms":1787377689000,"timestamp_seconds":1787377689,"priority":1,"record_length":96,"hex_timestamp":"000001a0280321a8"} 
[2026-08-22 11: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-22 11: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-22 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 11:19: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-22 11: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-22 11: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-22 11:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:19: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-22 11:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568609792001,"66":26223,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"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-22 11:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568609792001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:19:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568609792001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":162303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:19:27] local.INFO: GPS data processed {"connection_id":162303,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:19:27] local.INFO: Acknowledgment sent {"connection_id":162303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:19:49] local.INFO: TCP Data received {"connection_id":162304,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:19:49] local.INFO: Processing buffer {"connection_id":162304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:19:49] local.INFO: IMEI packet received {"connection_id":162304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":162304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:19:54] local.INFO: TCP Data received {"connection_id":162304,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:19:54] local.INFO: Processing buffer {"connection_id":162304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:19:54] local.INFO: IMEI packet received {"connection_id":162304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":162304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:19:55] local.INFO: TCP Data received {"connection_id":162304,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:19:55] local.INFO: Processing buffer {"connection_id":162304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:19:55] local.INFO: Packet analysis {"connection_id":162304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:19:55] local.INFO: Extracted packet for processing {"connection_id":162304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568609792001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:19: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-22 11:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787377689000,"timestamp_ms":1787377689000,"timestamp_seconds":1787377689,"priority":1,"record_length":96,"hex_timestamp":"000001a0280321a8"} 
[2026-08-22 11:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:19: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-22 11:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 11:19: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-22 11:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:19:55] 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-22 11:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568609792001,"66":26223,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"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-22 11:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568609792001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:19:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:19:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568609792001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":162304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:19:55] local.INFO: GPS data processed {"connection_id":162304,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:19:55] local.INFO: Acknowledgment sent {"connection_id":162304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:20:26] local.INFO: TCP Data received {"connection_id":162304,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:20:26] local.INFO: Processing buffer {"connection_id":162304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:20:26] local.INFO: Packet analysis {"connection_id":162304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:20:26] local.INFO: Extracted packet for processing {"connection_id":162304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:20:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 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-22 11:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568609792001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:20: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-22 11:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787377689000,"timestamp_ms":1787377689000,"timestamp_seconds":1787377689,"priority":1,"record_length":96,"hex_timestamp":"000001a0280321a8"} 
[2026-08-22 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-22 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-22 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 11:20: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-22 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-22 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-22 11:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:20:26] 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-22 11:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568609792001,"66":26223,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"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-22 11:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568609792001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:20:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568609792001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":162304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:20:26] local.INFO: GPS data processed {"connection_id":162304,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:20:26] local.INFO: Acknowledgment sent {"connection_id":162304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:20:49] local.INFO: TCP Data received {"connection_id":160889,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:20:49] local.INFO: Processing buffer {"connection_id":160889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:20:49] local.INFO: IMEI packet received {"connection_id":160889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":160889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:20:54] local.INFO: TCP Data received {"connection_id":160889,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:20:54] local.INFO: Processing buffer {"connection_id":160889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:20:54] local.INFO: IMEI packet received {"connection_id":160889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":160889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:20:55] local.INFO: TCP Data received {"connection_id":160889,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:20:55] local.INFO: Processing buffer {"connection_id":160889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:20:55] local.INFO: Packet analysis {"connection_id":160889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:20:55] local.INFO: Extracted packet for processing {"connection_id":160889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:20:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568609792001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:20: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-22 11:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787377689000,"timestamp_ms":1787377689000,"timestamp_seconds":1787377689,"priority":1,"record_length":96,"hex_timestamp":"000001a0280321a8"} 
[2026-08-22 11:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11: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-22 11:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 11:20: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-22 11:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:20:55] 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-22 11:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568609792001,"66":26223,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"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-22 11:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568609792001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:20:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:20:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568609792001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":160889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:20:55] local.INFO: GPS data processed {"connection_id":160889,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:20:55] local.INFO: Acknowledgment sent {"connection_id":160889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:20:58] local.INFO: TCP Data received {"connection_id":159984,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:20:58] local.INFO: Processing buffer {"connection_id":159984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:20:58] local.INFO: IMEI packet received {"connection_id":159984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":159984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:21:04] local.INFO: TCP Data received {"connection_id":159984,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02804b018012d18080007218c10005000e527..."} 
[2026-08-22 11:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02804b018012d18080007218c10005000e527..."} 
[2026-08-22 11:21:04] local.INFO: Processing buffer {"connection_id":159984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02804b018012d18080007218c10005000e527..."} 
[2026-08-22 11:21:04] local.INFO: Packet analysis {"connection_id":159984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02804"} 
[2026-08-22 11:21:04] local.INFO: Extracted packet for processing {"connection_id":159984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02804"} 
[2026-08-22 11:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756549632,"raw_latitude":119639056,"longitude_deg":75.6549632,"latitude_deg":11.9639056,"altitude":80,"angle":229,"satellites":39,"speed":34,"hex_longitude":"2d180800","hex_latitude":"07218c10","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568711168001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14395910037438464,"note":"Value kept but may cause issues"} 
[2026-08-22 11:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849399085056,"note":"Value kept but may cause issues"} 
[2026-08-22 11:21:04] 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-22 11:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787377791000,"timestamp_ms":1787377791000,"timestamp_seconds":1787377791,"priority":1,"record_length":96,"hex_timestamp":"000001a02804b018"} 
[2026-08-22 11: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-22 11:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 11:21:04] 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-22 11: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-22 11: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-22 11:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:21:04] 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-22 11:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568711168001,"66":14374,"107":206,"83":41984,"24":34,"16":14395910037438464,"45":1737122849399085056},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 11:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568711168001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:21:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 11:21:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14395910037438464,"km_value":14395910037438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849399085056,"description":"Unknown IO ID 45"} 
[2026-08-22 11:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568711168001,"power":14374,"unknown_107":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1737122849399085056}} 
[2026-08-22 11:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":159984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:21:04] local.INFO: GPS data processed {"connection_id":159984,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:21:04] local.INFO: Acknowledgment sent {"connection_id":159984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:21:26] local.INFO: TCP Data received {"connection_id":160889,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:21:26] local.INFO: Processing buffer {"connection_id":160889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:21:26] local.INFO: Packet analysis {"connection_id":160889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:21:26] local.INFO: Extracted packet for processing {"connection_id":160889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:21:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 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-22 11:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568609792001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11: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-22 11:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787377689000,"timestamp_ms":1787377689000,"timestamp_seconds":1787377689,"priority":1,"record_length":96,"hex_timestamp":"000001a0280321a8"} 
[2026-08-22 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-22 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-22 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 11:21: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-22 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-22 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-22 11:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:21: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-22 11:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568609792001,"66":26223,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"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-22 11:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568609792001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:21:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:21:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568609792001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":160889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:21:26] local.INFO: GPS data processed {"connection_id":160889,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:21:26] local.INFO: Acknowledgment sent {"connection_id":160889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:21:39] local.INFO: TCP Data received {"connection_id":159984,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a028057b38012d17d140072198e80053011727..."} 
[2026-08-22 11:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028057b38012d17d140072198e80053011727..."} 
[2026-08-22 11:21:39] local.INFO: Processing buffer {"connection_id":159984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028057b38012d17d140072198e80053011727..."} 
[2026-08-22 11:21:39] local.INFO: Packet analysis {"connection_id":159984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02805"} 
[2026-08-22 11:21:39] local.INFO: Extracted packet for processing {"connection_id":159984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02805"} 
[2026-08-22 11:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756535616,"raw_latitude":119642344,"longitude_deg":75.6535616,"latitude_deg":11.9642344,"altitude":83,"angle":279,"satellites":39,"speed":17,"hex_longitude":"2d17d140","hex_latitude":"072198e8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568725504001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14396717491290112,"note":"Value kept but may cause issues"} 
[2026-08-22 11:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1719812138330247168,"note":"Value kept but may cause issues"} 
[2026-08-22 11:21:39] 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-22 11:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787377843000,"timestamp_ms":1787377843000,"timestamp_seconds":1787377843,"priority":1,"record_length":96,"hex_timestamp":"000001a028057b38"} 
[2026-08-22 11: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-22 11:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 11:21:39] 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-22 11: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-22 11: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-22 11:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:21:39] 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-22 11:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568725504001,"66":14298,"107":206,"83":41984,"24":17,"16":14396717491290112,"45":1719812138330247168},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 11:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568725504001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:21:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 11:21:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14396717491290112,"km_value":14396717491290.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1719812138330247168,"description":"Unknown IO ID 45"} 
[2026-08-22 11:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568725504001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1719812138330247168}} 
[2026-08-22 11:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":159984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:21:39] local.INFO: GPS data processed {"connection_id":159984,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:21:39] local.INFO: Acknowledgment sent {"connection_id":159984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:21:49] local.INFO: TCP Data received {"connection_id":159734,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:21:49] local.INFO: Processing buffer {"connection_id":159734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:21:49] local.INFO: IMEI packet received {"connection_id":159734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":159734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:21:53] local.INFO: TCP Data received {"connection_id":160890,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:21:53] local.INFO: Processing buffer {"connection_id":160890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:21:53] local.INFO: IMEI packet received {"connection_id":160890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":160890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:21:54] local.INFO: TCP Data received {"connection_id":159734,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:21:54] local.INFO: Processing buffer {"connection_id":159734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:21:54] local.INFO: IMEI packet received {"connection_id":159734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":159734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:21:56] local.INFO: TCP Data received {"connection_id":159734,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:21:56] local.INFO: Processing buffer {"connection_id":159734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:21:56] local.INFO: Packet analysis {"connection_id":159734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:21:56] local.INFO: Extracted packet for processing {"connection_id":159734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568609792001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11: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-22 11:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787377689000,"timestamp_ms":1787377689000,"timestamp_seconds":1787377689,"priority":1,"record_length":96,"hex_timestamp":"000001a0280321a8"} 
[2026-08-22 11: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-22 11: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-22 11: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":217,"data_length":795,"current_offset":136} 
[2026-08-22 11:21: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-22 11: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-22 11: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-22 11:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:21: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-22 11:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568609792001,"66":26223,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568609792001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:21:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568609792001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":159734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:21:56] local.INFO: GPS data processed {"connection_id":159734,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:21:56] local.INFO: Acknowledgment sent {"connection_id":159734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:21:57] local.INFO: TCP Data received {"connection_id":160890,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:21:57] local.INFO: Processing buffer {"connection_id":160890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:21:57] local.INFO: IMEI packet received {"connection_id":160890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":160890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:21:58] local.INFO: TCP Data received {"connection_id":160890,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:21:58] local.INFO: Processing buffer {"connection_id":160890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:21:58] local.INFO: IMEI packet received {"connection_id":160890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":160890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:22:00] local.INFO: TCP Data received {"connection_id":160890,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a028058308012d17ce80072199200052010b28..."} 
[2026-08-22 11:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028058308012d17ce80072199200052010b28..."} 
[2026-08-22 11:22:00] local.INFO: Processing buffer {"connection_id":160890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028058308012d17ce80072199200052010b28..."} 
[2026-08-22 11:22:00] local.INFO: Packet analysis {"connection_id":160890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02805"} 
[2026-08-22 11:22:00] local.INFO: Extracted packet for processing {"connection_id":160890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02805"} 
[2026-08-22 11:22:00] local.INFO: GPS Element Parsed {"raw_longitude":756534912,"raw_latitude":119642400,"longitude_deg":75.6534912,"latitude_deg":11.96424,"altitude":82,"angle":267,"satellites":40,"speed":11,"hex_longitude":"2d17ce80","hex_latitude":"07219920","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568727808001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14396751851028480,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1716223332377487360,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:00] 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-22 11:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787377845000,"timestamp_ms":1787377845000,"timestamp_seconds":1787377845,"priority":1,"record_length":96,"hex_timestamp":"000001a028058308"} 
[2026-08-22 11: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-22 11:22: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-22 11: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-22 11:22:00] 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-22 11: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-22 11: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-22 11:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:22:00] 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-22 11:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568727808001,"66":13396,"107":206,"83":41984,"24":11,"16":14396751851028480,"45":1716223332377487360},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 11:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568727808001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:22:00] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 11:22:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14396751851028480,"km_value":14396751851028.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1716223332377487360,"description":"Unknown IO ID 45"} 
[2026-08-22 11:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568727808001,"power":13396,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1716223332377487360}} 
[2026-08-22 11:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":160890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:22:00] local.INFO: GPS data processed {"connection_id":160890,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:22:00] local.INFO: Acknowledgment sent {"connection_id":160890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:22:06] local.INFO: TCP Data received {"connection_id":160890,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02805a630012d17c300072199600051011a27..."} 
[2026-08-22 11:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02805a630012d17c300072199600051011a27..."} 
[2026-08-22 11:22:06] local.INFO: Processing buffer {"connection_id":160890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02805a630012d17c300072199600051011a27..."} 
[2026-08-22 11:22:06] local.INFO: Packet analysis {"connection_id":160890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02805"} 
[2026-08-22 11:22:06] local.INFO: Extracted packet for processing {"connection_id":160890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02805"} 
[2026-08-22 11:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756531968,"raw_latitude":119642464,"longitude_deg":75.6531968,"latitude_deg":11.9642464,"altitude":81,"angle":282,"satellites":39,"speed":17,"hex_longitude":"2d17c300","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-08-22 11:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568728320001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14396893584949248,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715449276191547392,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:06] 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-22 11:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787377854000,"timestamp_ms":1787377854000,"timestamp_seconds":1787377854,"priority":1,"record_length":96,"hex_timestamp":"000001a02805a630"} 
[2026-08-22 11:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:22:06] 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-22 11:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-22 11:22: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-22 11:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:22:06] 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-22 11:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568728320001,"66":14048,"107":206,"83":41984,"24":17,"16":14396893584949248,"45":1715449276191547392},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 11:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568728320001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:22:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 11:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14396893584949248,"km_value":14396893584949.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715449276191547392,"description":"Unknown IO ID 45"} 
[2026-08-22 11:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568728320001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1715449276191547392}} 
[2026-08-22 11:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":160890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:22:06] local.INFO: GPS data processed {"connection_id":160890,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:22:06] local.INFO: Acknowledgment sent {"connection_id":160890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:22:27] local.INFO: TCP Data received {"connection_id":159734,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:22:27] local.INFO: Processing buffer {"connection_id":159734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:22:27] local.INFO: Packet analysis {"connection_id":159734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:22:27] local.INFO: Extracted packet for processing {"connection_id":159734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568609792001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22: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-22 11:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787377689000,"timestamp_ms":1787377689000,"timestamp_seconds":1787377689,"priority":1,"record_length":96,"hex_timestamp":"000001a0280321a8"} 
[2026-08-22 11:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:22: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-22 11:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 11:22: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-22 11:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:22:27] 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-22 11:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568609792001,"66":26223,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568609792001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:22:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568609792001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":159734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:22:27] local.INFO: GPS data processed {"connection_id":159734,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:22:27] local.INFO: Acknowledgment sent {"connection_id":159734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:22:37] local.INFO: TCP Data received {"connection_id":160890,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02805d128012d17ad400721a0080050013325..."} 
[2026-08-22 11:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02805d128012d17ad400721a0080050013325..."} 
[2026-08-22 11:22:37] local.INFO: Processing buffer {"connection_id":160890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02805d128012d17ad400721a0080050013325..."} 
[2026-08-22 11:22:37] local.INFO: Packet analysis {"connection_id":160890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02805"} 
[2026-08-22 11:22:37] local.INFO: Extracted packet for processing {"connection_id":160890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02805"} 
[2026-08-22 11:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756526400,"raw_latitude":119644168,"longitude_deg":75.65264,"latitude_deg":11.9644168,"altitude":80,"angle":307,"satellites":37,"speed":12,"hex_longitude":"2d17ad40","hex_latitude":"0721a008","is_valid_coordinates":true} 
[2026-08-22 11:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568730624001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14397168462856192,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712212313959391232,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:37] 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-22 11:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787377865000,"timestamp_ms":1787377865000,"timestamp_seconds":1787377865,"priority":1,"record_length":96,"hex_timestamp":"000001a02805d128"} 
[2026-08-22 11:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:22:37] 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-22 11:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 11:22:37] 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-22 11:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:22:37] 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-22 11:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568730624001,"66":14483,"107":206,"83":41984,"24":12,"16":14397168462856192,"45":1712212313959391232},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 11:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568730624001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:22:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 11:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14397168462856192,"km_value":14397168462856.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712212313959391232,"description":"Unknown IO ID 45"} 
[2026-08-22 11:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568730624001,"power":14483,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1712212313959391232}} 
[2026-08-22 11:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":160890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:22:37] local.INFO: GPS data processed {"connection_id":160890,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:22:37] local.INFO: Acknowledgment sent {"connection_id":160890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:22:49] local.INFO: TCP Data received {"connection_id":159735,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:22:49] local.INFO: Processing buffer {"connection_id":159735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:22:49] local.INFO: IMEI packet received {"connection_id":159735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":159735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:22:53] local.INFO: TCP Data received {"connection_id":160891,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:22:53] local.INFO: Processing buffer {"connection_id":160891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:22:53] local.INFO: IMEI packet received {"connection_id":160891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":160891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:22:54] local.INFO: TCP Data received {"connection_id":159735,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:22:54] local.INFO: Processing buffer {"connection_id":159735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:22:54] local.INFO: IMEI packet received {"connection_id":159735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":159735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:22:55] local.INFO: TCP Data received {"connection_id":159735,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:22:55] local.INFO: Processing buffer {"connection_id":159735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:22:55] local.INFO: Packet analysis {"connection_id":159735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:22:55] local.INFO: Extracted packet for processing {"connection_id":159735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:22:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568609792001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11: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-22 11:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787377689000,"timestamp_ms":1787377689000,"timestamp_seconds":1787377689,"priority":1,"record_length":96,"hex_timestamp":"000001a0280321a8"} 
[2026-08-22 11:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11: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-22 11:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 11:22: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-22 11:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:22:55] 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-22 11:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568609792001,"66":26223,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568609792001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:22:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:22:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568609792001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":159735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:22:55] local.INFO: GPS data processed {"connection_id":159735,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:22:55] local.INFO: Acknowledgment sent {"connection_id":159735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:22:57] local.INFO: TCP Data received {"connection_id":160891,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:22:57] local.INFO: Processing buffer {"connection_id":160891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:22:57] local.INFO: IMEI packet received {"connection_id":160891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":160891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:22:58] local.INFO: TCP Data received {"connection_id":160891,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:22:58] local.INFO: Processing buffer {"connection_id":160891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:22:58] local.INFO: IMEI packet received {"connection_id":160891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":160891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:22:59] local.INFO: TCP Data received {"connection_id":160891,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02806a030012d17a9c0072202d00051000328..."} 
[2026-08-22 11:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02806a030012d17a9c0072202d00051000328..."} 
[2026-08-22 11:22:59] local.INFO: Processing buffer {"connection_id":160891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02806a030012d17a9c0072202d00051000328..."} 
[2026-08-22 11:22:59] local.INFO: Packet analysis {"connection_id":160891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02806"} 
[2026-08-22 11:22:59] local.INFO: Extracted packet for processing {"connection_id":160891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02806"} 
[2026-08-22 11:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756525504,"raw_latitude":119669456,"longitude_deg":75.6525504,"latitude_deg":11.9669456,"altitude":81,"angle":3,"satellites":40,"speed":16,"hex_longitude":"2d17a9c0","hex_latitude":"072202d0","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568745216001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14398422593306624,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1704190277129256960,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787377918000,"timestamp_ms":1787377918000,"timestamp_seconds":1787377918,"priority":1,"record_length":96,"hex_timestamp":"000001a02806a030"} 
[2026-08-22 11: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-22 11:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-22 11:22:59] 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-22 11: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-22 11: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-22 11:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:22:59] 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-22 11:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568745216001,"66":14070,"107":206,"83":41984,"24":16,"16":14398422593306624,"45":1704190277129256960},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 11:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568745216001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:22:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 11:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14398422593306624,"km_value":14398422593306.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1704190277129256960,"description":"Unknown IO ID 45"} 
[2026-08-22 11:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568745216001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1704190277129256960}} 
[2026-08-22 11:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":160891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:22:59] local.INFO: GPS data processed {"connection_id":160891,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:22:59] local.INFO: Acknowledgment sent {"connection_id":160891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:22:59] local.INFO: TCP Data received {"connection_id":160891,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02806bb88012d17ab0007220d480053001027..."} 
[2026-08-22 11:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02806bb88012d17ab0007220d480053001027..."} 
[2026-08-22 11:22:59] local.INFO: Processing buffer {"connection_id":160891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02806bb88012d17ab0007220d480053001027..."} 
[2026-08-22 11:22:59] local.INFO: Packet analysis {"connection_id":160891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02806"} 
[2026-08-22 11:22:59] local.INFO: Extracted packet for processing {"connection_id":160891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02806"} 
[2026-08-22 11:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756525824,"raw_latitude":119672136,"longitude_deg":75.6525824,"latitude_deg":11.9672136,"altitude":83,"angle":16,"satellites":39,"speed":14,"hex_longitude":"2d17ab00","hex_latitude":"07220d48","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568747008001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14398551442325504,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705105070804357120,"note":"Value kept but may cause issues"} 
[2026-08-22 11:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787377925000,"timestamp_ms":1787377925000,"timestamp_seconds":1787377925,"priority":1,"record_length":96,"hex_timestamp":"000001a02806bb88"} 
[2026-08-22 11: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-22 11:22: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-22 11: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 11:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11: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-22 11: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-22 11:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:22:59] 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-22 11:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568747008001,"66":14048,"107":206,"83":41984,"24":14,"16":14398551442325504,"45":1705105070804357120},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 11:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568747008001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:22:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 11:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14398551442325504,"km_value":14398551442325.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705105070804357120,"description":"Unknown IO ID 45"} 
[2026-08-22 11:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568747008001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1705105070804357120}} 
[2026-08-22 11:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":160891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:22:59] local.INFO: GPS data processed {"connection_id":160891,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:22:59] local.INFO: Acknowledgment sent {"connection_id":160891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:23:26] local.INFO: TCP Data received {"connection_id":159735,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:23:26] local.INFO: Processing buffer {"connection_id":159735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280321a8012d7f898005afdf38000000bc29..."} 
[2026-08-22 11:23:26] local.INFO: Packet analysis {"connection_id":159735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:23:26] local.INFO: Extracted packet for processing {"connection_id":159735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02803"} 
[2026-08-22 11:23:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568609792001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539910144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:23: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-22 11:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787377689000,"timestamp_ms":1787377689000,"timestamp_seconds":1787377689,"priority":1,"record_length":96,"hex_timestamp":"000001a0280321a8"} 
[2026-08-22 11:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:23: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-22 11:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 11:23: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-22 11: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-22 11:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:23: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-22 11:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568609792001,"66":26223,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276539910144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568609792001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:23:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:23:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539910144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568609792001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539910144}} 
[2026-08-22 11:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":159735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:23:26] local.INFO: GPS data processed {"connection_id":159735,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:23:26] local.INFO: Acknowledgment sent {"connection_id":159735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:23:31] local.INFO: TCP Data received {"connection_id":160891,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02806d2f8012d17ad40072216c80054016026..."} 
[2026-08-22 11:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02806d2f8012d17ad40072216c80054016026..."} 
[2026-08-22 11:23:31] local.INFO: Processing buffer {"connection_id":160891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02806d2f8012d17ad40072216c80054016026..."} 
[2026-08-22 11:23:31] local.INFO: Packet analysis {"connection_id":160891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02806"} 
[2026-08-22 11:23:31] local.INFO: Extracted packet for processing {"connection_id":160891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02806"} 
[2026-08-22 11:23:31] local.INFO: GPS Element Parsed {"raw_longitude":756526400,"raw_latitude":119674568,"longitude_deg":75.65264,"latitude_deg":11.9674568,"altitude":84,"angle":352,"satellites":38,"speed":16,"hex_longitude":"2d17ad40","hex_latitude":"072216c8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568748800001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14398675996377088,"note":"Value kept but may cause issues"} 
[2026-08-22 11:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705456914525931520,"note":"Value kept but may cause issues"} 
[2026-08-22 11:23:31] 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-22 11:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787377931000,"timestamp_ms":1787377931000,"timestamp_seconds":1787377931,"priority":1,"record_length":96,"hex_timestamp":"000001a02806d2f8"} 
[2026-08-22 11: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-22 11:23:31] 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-22 11: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 11:23:31] 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-22 11: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-22 11: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-22 11:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:23:31] 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-22 11:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568748800001,"66":14080,"107":206,"83":41984,"24":16,"16":14398675996377088,"45":1705456914525931520},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 11:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568748800001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:23:31] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 11:23:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14398675996377088,"km_value":14398675996377.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705456914525931520,"description":"Unknown IO ID 45"} 
[2026-08-22 11:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568748800001,"power":14080,"unknown_107":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1705456914525931520}} 
[2026-08-22 11:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":160891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:23:31] local.INFO: GPS data processed {"connection_id":160891,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:23:31] local.INFO: Acknowledgment sent {"connection_id":160891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:23:49] local.INFO: TCP Data received {"connection_id":162305,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:23:49] local.INFO: Processing buffer {"connection_id":162305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:23:49] local.INFO: IMEI packet received {"connection_id":162305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":162305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:23:54] local.INFO: TCP Data received {"connection_id":162305,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:23:54] local.INFO: Processing buffer {"connection_id":162305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:23:54] local.INFO: IMEI packet received {"connection_id":162305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":162305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:23:55] local.INFO: TCP Data received {"connection_id":162305,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:23:55] local.INFO: Processing buffer {"connection_id":162305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:23:55] local.INFO: Packet analysis {"connection_id":162305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:23:55] local.INFO: Extracted packet for processing {"connection_id":162305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:23:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568688384001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:23: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-22 11:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787377988000,"timestamp_ms":1787377988000,"timestamp_seconds":1787377988,"priority":1,"record_length":96,"hex_timestamp":"000001a02807b1a0"} 
[2026-08-22 11:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:23: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-22 11:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-22 11:23:55] 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-22 11:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:23: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-22 11:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568688384001,"66":26006,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"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-22 11:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568688384001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:23:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:23:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568688384001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":162305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:23:55] local.INFO: GPS data processed {"connection_id":162305,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:23:55] local.INFO: Acknowledgment sent {"connection_id":162305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:23:58] local.INFO: TCP Data received {"connection_id":160892,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:23:58] local.INFO: Processing buffer {"connection_id":160892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:23:58] local.INFO: IMEI packet received {"connection_id":160892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":160892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:24:03] local.INFO: TCP Data received {"connection_id":160892,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:24:03] local.INFO: Processing buffer {"connection_id":160892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:24:03] local.INFO: IMEI packet received {"connection_id":160892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":160892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:24:04] local.INFO: TCP Data received {"connection_id":160892,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02806dac8012d17ac00072219580055014326..."} 
[2026-08-22 11:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02806dac8012d17ac00072219580055014326..."} 
[2026-08-22 11:24:04] local.INFO: Processing buffer {"connection_id":160892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02806dac8012d17ac00072219580055014326..."} 
[2026-08-22 11:24:04] local.INFO: Packet analysis {"connection_id":160892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02806"} 
[2026-08-22 11:24:04] local.INFO: Extracted packet for processing {"connection_id":160892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02806"} 
[2026-08-22 11:24:04] local.INFO: GPS Element Parsed {"raw_longitude":756526080,"raw_latitude":119675224,"longitude_deg":75.652608,"latitude_deg":11.9675224,"altitude":85,"angle":323,"satellites":38,"speed":14,"hex_longitude":"2d17ac00","hex_latitude":"07221958","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568750336001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14398710356115456,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706090233224153088,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:04] 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-22 11:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787377933000,"timestamp_ms":1787377933000,"timestamp_seconds":1787377933,"priority":1,"record_length":96,"hex_timestamp":"000001a02806dac8"} 
[2026-08-22 11: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-22 11:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-22 11:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4104126543,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-22 11:24:04] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2550213911,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:04] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,107,83,24,241,157,16,39,160,187,45,13,10,66,192,2,81,40,132,128,1,240,180,227,33,4,113,205,22,101,168,239,55,51,7,77,6],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-22 11:24:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6053225090488729600,"timestamp_seconds":6053225090488730.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 11: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-22 11:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:24:04] 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-22 11:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568750336001,"66":13972,"107":206,"83":41984,"24":14,"16":14398710356115456,"45":1706090233224153088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 11:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568750336001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:24:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 11:24:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14398710356115456,"km_value":14398710356115.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706090233224153088,"description":"Unknown IO ID 45"} 
[2026-08-22 11:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568750336001,"power":13972,"unknown_107":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1706090233224153088}} 
[2026-08-22 11:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":160892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:24:04] local.INFO: GPS data processed {"connection_id":160892,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:24:04] local.INFO: Acknowledgment sent {"connection_id":160892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:24:05] local.INFO: TCP Data received {"connection_id":160892,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02806deb0012d17ab4007221a300055013627..."} 
[2026-08-22 11:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02806deb0012d17ab4007221a300055013627..."} 
[2026-08-22 11:24:05] local.INFO: Processing buffer {"connection_id":160892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02806deb0012d17ab4007221a300055013627..."} 
[2026-08-22 11:24:05] local.INFO: Packet analysis {"connection_id":160892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02806"} 
[2026-08-22 11:24:05] local.INFO: Extracted packet for processing {"connection_id":160892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02806"} 
[2026-08-22 11:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756525888,"raw_latitude":119675440,"longitude_deg":75.6525888,"latitude_deg":11.967544,"altitude":85,"angle":310,"satellites":39,"speed":11,"hex_longitude":"2d17ab40","hex_latitude":"07221a30","is_valid_coordinates":true} 
[2026-08-22 11:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568750848001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14398723241017344,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705738389503432704,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:05] 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-22 11:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787377934000,"timestamp_ms":1787377934000,"timestamp_seconds":1787377934,"priority":1,"record_length":96,"hex_timestamp":"000001a02806deb0"} 
[2026-08-22 11:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-22 11:24:05] 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-22 11:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:24:05] 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-22 11:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568750848001,"66":13961,"107":206,"83":41984,"24":11,"16":14398723241017344,"45":1705738389503432704},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 11:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568750848001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:24:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 11:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14398723241017344,"km_value":14398723241017.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705738389503432704,"description":"Unknown IO ID 45"} 
[2026-08-22 11:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568750848001,"power":13961,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1705738389503432704}} 
[2026-08-22 11:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":160892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:24:05] local.INFO: GPS data processed {"connection_id":160892,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:24:05] local.INFO: Acknowledgment sent {"connection_id":160892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:24:26] local.INFO: TCP Data received {"connection_id":162305,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:24:26] local.INFO: Processing buffer {"connection_id":162305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:24:26] local.INFO: Packet analysis {"connection_id":162305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:24:26] local.INFO: Extracted packet for processing {"connection_id":162305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:24:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 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-22 11:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568688384001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24: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-22 11:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787377988000,"timestamp_ms":1787377988000,"timestamp_seconds":1787377988,"priority":1,"record_length":96,"hex_timestamp":"000001a02807b1a0"} 
[2026-08-22 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-22 11:24: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-22 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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-22 11:24: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-22 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-22 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-22 11:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:24: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-22 11:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568688384001,"66":26006,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"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-22 11:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568688384001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:24:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568688384001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":162305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:24:26] local.INFO: GPS data processed {"connection_id":162305,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:24:26] local.INFO: Acknowledgment sent {"connection_id":162305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:24:37] local.INFO: TCP Data received {"connection_id":160892,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a028084de0012d17abc0072215f8005900b828..."} 
[2026-08-22 11:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028084de0012d17abc0072215f8005900b828..."} 
[2026-08-22 11:24:37] local.INFO: Processing buffer {"connection_id":160892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028084de0012d17abc0072215f8005900b828..."} 
[2026-08-22 11:24:37] local.INFO: Packet analysis {"connection_id":160892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02808"} 
[2026-08-22 11:24:37] local.INFO: Extracted packet for processing {"connection_id":160892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02808"} 
[2026-08-22 11:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756526016,"raw_latitude":119674360,"longitude_deg":75.6526016,"latitude_deg":11.967436,"altitude":89,"angle":184,"satellites":40,"speed":14,"hex_longitude":"2d17abc0","hex_latitude":"072215f8","is_valid_coordinates":true} 
[2026-08-22 11:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568774912001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14399045363564544,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705668020759119872,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:37] local.INFO: IO Element Parsed {"io_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-22 11:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787378028000,"timestamp_ms":1787378028000,"timestamp_seconds":1787378028,"priority":1,"record_length":96,"hex_timestamp":"000001a028084de0"} 
[2026-08-22 11:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:24:37] 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-22 11:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 11:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6981945175,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:37] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3154116608,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:37] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503819336548352,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 11:24:37] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3623955735,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:37] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2147951134,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:37] local.WARNING: Large IO value detected {"io_id":248,"raw_value":24771134356455424,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84749954689999390,"corrected_to":0} 
[2026-08-22 11:24:37] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,39,160,70,45,64,89,41,10,66,50,192,28,42,1,240,218,227,40,34,4,113,205,3,251,162,248,239,56,2,51,7,88,206,200],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":84749954689999390,"validated":0}]} 
[2026-08-22 11:24:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6413311858640224256,"timestamp_seconds":6413311858640224.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 11:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:24:37] 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-22 11:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568774912001,"66":14265,"105":206,"83":41984,"24":14,"16":14399045363564544,"45":1705668020759119872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 11:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568774912001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:24:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 11:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14399045363564544,"km_value":14399045363564.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705668020759119872,"description":"Unknown IO ID 45"} 
[2026-08-22 11:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568774912001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1705668020759119872}} 
[2026-08-22 11:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":160892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:24:37] local.INFO: GPS data processed {"connection_id":160892,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:24:37] local.INFO: Acknowledgment sent {"connection_id":160892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:24:49] local.INFO: TCP Data received {"connection_id":160893,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:24:49] local.INFO: Processing buffer {"connection_id":160893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:24:49] local.INFO: IMEI packet received {"connection_id":160893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":160893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:24:53] local.INFO: TCP Data received {"connection_id":159736,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:24:53] local.INFO: Processing buffer {"connection_id":159736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:24:53] local.INFO: IMEI packet received {"connection_id":159736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":159736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:24:54] local.INFO: TCP Data received {"connection_id":159736,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:24:54] local.INFO: Processing buffer {"connection_id":159736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:24:54] local.INFO: IMEI packet received {"connection_id":159736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":159736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:24:54] local.INFO: TCP Data received {"connection_id":160893,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:24:54] local.INFO: Processing buffer {"connection_id":160893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:24:54] local.INFO: IMEI packet received {"connection_id":160893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":160893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:24:55] local.INFO: TCP Data received {"connection_id":159736,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0280855b0012d17ab4007221370005900c929..."} 
[2026-08-22 11:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280855b0012d17ab4007221370005900c929..."} 
[2026-08-22 11:24:55] local.INFO: Processing buffer {"connection_id":159736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280855b0012d17ab4007221370005900c929..."} 
[2026-08-22 11:24:55] local.INFO: Packet analysis {"connection_id":159736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02808"} 
[2026-08-22 11:24:55] local.INFO: Extracted packet for processing {"connection_id":159736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02808"} 
[2026-08-22 11:24:55] local.INFO: GPS Element Parsed {"raw_longitude":756525888,"raw_latitude":119673712,"longitude_deg":75.6525888,"latitude_deg":11.9673712,"altitude":89,"angle":201,"satellites":41,"speed":14,"hex_longitude":"2d17ab40","hex_latitude":"07221370","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568775168001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14399079723302912,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705668020759033856,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787378030000,"timestamp_ms":1787378030000,"timestamp_seconds":1787378030,"priority":1,"record_length":96,"hex_timestamp":"000001a0280855b0"} 
[2026-08-22 11: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-22 11:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 11:24: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-22 11: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-22 11: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-22 11:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:24:55] 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-22 11:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568775168001,"66":14211,"105":206,"83":41984,"24":14,"16":14399079723302912,"45":1705668020759033856},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 11:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568775168001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:24:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 11:24:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14399079723302912,"km_value":14399079723302.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705668020759033856,"description":"Unknown IO ID 45"} 
[2026-08-22 11:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568775168001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1705668020759033856}} 
[2026-08-22 11:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":159736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:24:55] local.INFO: GPS data processed {"connection_id":159736,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:24:55] local.INFO: Acknowledgment sent {"connection_id":159736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:24:55] local.INFO: TCP Data received {"connection_id":160893,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:24:55] local.INFO: Processing buffer {"connection_id":160893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:24:55] local.INFO: Packet analysis {"connection_id":160893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:24:55] local.INFO: Extracted packet for processing {"connection_id":160893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568688384001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11: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-22 11:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787377988000,"timestamp_ms":1787377988000,"timestamp_seconds":1787377988,"priority":1,"record_length":96,"hex_timestamp":"000001a02807b1a0"} 
[2026-08-22 11: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-22 11:24: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-22 11:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-22 11:24:55] 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-22 11: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-22 11: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-22 11:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:24: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-22 11:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568688384001,"66":26006,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"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-22 11:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568688384001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:24:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568688384001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":160893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:24:55] local.INFO: GPS data processed {"connection_id":160893,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:24:55] local.INFO: Acknowledgment sent {"connection_id":160893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:25:26] local.INFO: TCP Data received {"connection_id":159736,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a028086550012d17a98007220ca0005700be29..."} 
[2026-08-22 11:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028086550012d17a98007220ca0005700be29..."} 
[2026-08-22 11:25:26] local.INFO: Processing buffer {"connection_id":159736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028086550012d17a98007220ca0005700be29..."} 
[2026-08-22 11:25:26] local.INFO: Packet analysis {"connection_id":159736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02808"} 
[2026-08-22 11:25:26] local.INFO: Extracted packet for processing {"connection_id":159736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02808"} 
[2026-08-22 11:25:26] local.INFO: GPS Element Parsed {"raw_longitude":756525440,"raw_latitude":119671968,"longitude_deg":75.652544,"latitude_deg":11.9671968,"altitude":87,"angle":190,"satellites":41,"speed":24,"hex_longitude":"2d17a980","hex_latitude":"07220ca0","is_valid_coordinates":true} 
[2026-08-22 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-22 11:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568775680001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14399165622648832,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705527283270512640,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25: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-22 11:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787378034000,"timestamp_ms":1787378034000,"timestamp_seconds":1787378034,"priority":1,"record_length":96,"hex_timestamp":"000001a028086550"} 
[2026-08-22 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-22 11:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 11:25:26] 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-22 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-22 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-22 11:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:25:26] 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-22 11:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568775680001,"66":14352,"105":206,"83":41984,"24":24,"16":14399165622648832,"45":1705527283270512640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 11:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568775680001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:25:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 11:25:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14399165622648832,"km_value":14399165622648.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705527283270512640,"description":"Unknown IO ID 45"} 
[2026-08-22 11:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568775680001,"power":14352,"unknown_105":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1705527283270512640}} 
[2026-08-22 11:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":159736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:25:26] local.INFO: GPS data processed {"connection_id":159736,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:25:26] local.INFO: Acknowledgment sent {"connection_id":159736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:25:26] local.INFO: TCP Data received {"connection_id":160893,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:25:26] local.INFO: Processing buffer {"connection_id":160893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:25:26] local.INFO: Packet analysis {"connection_id":160893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:25:26] local.INFO: Extracted packet for processing {"connection_id":160893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 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-22 11:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568688384001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25: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-22 11:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787377988000,"timestamp_ms":1787377988000,"timestamp_seconds":1787377988,"priority":1,"record_length":96,"hex_timestamp":"000001a02807b1a0"} 
[2026-08-22 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-22 11:25: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-22 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":111,"data_length":795,"current_offset":136} 
[2026-08-22 11:25: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-22 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-22 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-22 11:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:25: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-22 11:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568688384001,"66":26006,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"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-22 11:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568688384001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:25:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568688384001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":160893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:25:26] local.INFO: GPS data processed {"connection_id":160893,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:25:26] local.INFO: Acknowledgment sent {"connection_id":160893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:25:49] local.INFO: TCP Data received {"connection_id":162306,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:25:49] local.INFO: Processing buffer {"connection_id":162306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:25:49] local.INFO: IMEI packet received {"connection_id":162306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":162306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:25:53] local.INFO: TCP Data received {"connection_id":162307,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:25:53] local.INFO: Processing buffer {"connection_id":162307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:25:53] local.INFO: IMEI packet received {"connection_id":162307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":162307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:25:54] local.INFO: TCP Data received {"connection_id":162306,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:25:54] local.INFO: Processing buffer {"connection_id":162306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:25:54] local.INFO: IMEI packet received {"connection_id":162306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":162306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:25:55] local.INFO: TCP Data received {"connection_id":162306,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:25:55] local.INFO: Processing buffer {"connection_id":162306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:25:55] local.INFO: Packet analysis {"connection_id":162306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:25:55] local.INFO: Extracted packet for processing {"connection_id":162306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:25:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568688384001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25: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-22 11:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787377988000,"timestamp_ms":1787377988000,"timestamp_seconds":1787377988,"priority":1,"record_length":96,"hex_timestamp":"000001a02807b1a0"} 
[2026-08-22 11: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-22 11:25: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-22 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-22 11:25:55] 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-22 11: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-22 11: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-22 11:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:25: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-22 11:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568688384001,"66":26006,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"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-22 11:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568688384001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:25:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:25:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568688384001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":162306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:25:55] local.INFO: GPS data processed {"connection_id":162306,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:25:55] local.INFO: Acknowledgment sent {"connection_id":162306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:25:56] local.INFO: TCP Data received {"connection_id":162307,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:25:56] local.INFO: Processing buffer {"connection_id":162307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:25:56] local.INFO: IMEI packet received {"connection_id":162307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":162307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:25:56] local.INFO: TCP Data received {"connection_id":162307,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a028088c60012d17a5400721f160005500ab28..."} 
[2026-08-22 11:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028088c60012d17a5400721f160005500ab28..."} 
[2026-08-22 11:25:56] local.INFO: Processing buffer {"connection_id":162307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028088c60012d17a5400721f160005500ab28..."} 
[2026-08-22 11:25:56] local.INFO: Packet analysis {"connection_id":162307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02808"} 
[2026-08-22 11:25:56] local.INFO: Extracted packet for processing {"connection_id":162307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02808"} 
[2026-08-22 11:25:56] local.INFO: GPS Element Parsed {"raw_longitude":756524352,"raw_latitude":119664992,"longitude_deg":75.6524352,"latitude_deg":11.9664992,"altitude":85,"angle":171,"satellites":40,"speed":27,"hex_longitude":"2d17a540","hex_latitude":"0721f160","is_valid_coordinates":true} 
[2026-08-22 11:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568776704001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14399509220032512,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705034702060822528,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787378044000,"timestamp_ms":1787378044000,"timestamp_seconds":1787378044,"priority":1,"record_length":96,"hex_timestamp":"000001a028088c60"} 
[2026-08-22 11:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-22 11:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143808,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:56] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3607101440,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3974989621107884042,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:56] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503819337334784,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:56] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637778666220137,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:56] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5908986598200246528,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 11:25:56] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2281778455,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:56] local.WARNING: Large IO value detected {"io_id":166,"raw_value":3221692956,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:56] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:56] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-6737377199416410024,"note":"Value kept but may cause issues"} 
[2026-08-22 11:25:56] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,39,160,85,45,64,19,89,41,10,66,77,192,21,40,73,1,240,5,227,34,4,113,205,11,50,166,56,239,2,51,7,12,206,23],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 11:25:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6269219764604239872,"timestamp_seconds":6269219764604240.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 11:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:25:56] 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-22 11:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568776704001,"66":13993,"105":206,"83":41984,"24":27,"16":14399509220032512,"45":1705034702060822528},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 11:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568776704001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:25:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 11:25:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14399509220032512,"km_value":14399509220032.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705034702060822528,"description":"Unknown IO ID 45"} 
[2026-08-22 11:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568776704001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1705034702060822528}} 
[2026-08-22 11:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":162307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:25:57] local.INFO: GPS data processed {"connection_id":162307,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:25:57] local.INFO: Acknowledgment sent {"connection_id":162307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:26:26] local.INFO: TCP Data received {"connection_id":162306,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:26:26] local.INFO: Processing buffer {"connection_id":162306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:26:26] local.INFO: Packet analysis {"connection_id":162306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:26:26] local.INFO: Extracted packet for processing {"connection_id":162306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:26:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 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-22 11:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568688384001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:26: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-22 11:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787377988000,"timestamp_ms":1787377988000,"timestamp_seconds":1787377988,"priority":1,"record_length":96,"hex_timestamp":"000001a02807b1a0"} 
[2026-08-22 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-22 11:26: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-22 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":111,"data_length":795,"current_offset":136} 
[2026-08-22 11:26: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-22 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-22 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-22 11:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:26: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-22 11:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568688384001,"66":26006,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"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-22 11:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568688384001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:26:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:26:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568688384001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":162306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:26:26] local.INFO: GPS data processed {"connection_id":162306,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:26:26] local.INFO: Acknowledgment sent {"connection_id":162306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:26:28] local.INFO: TCP Data received {"connection_id":162307,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0280a0b30012d17f90007218338004c00572b..."} 
[2026-08-22 11:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280a0b30012d17f90007218338004c00572b..."} 
[2026-08-22 11:26:28] local.INFO: Processing buffer {"connection_id":162307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280a0b30012d17f90007218338004c00572b..."} 
[2026-08-22 11:26:28] local.INFO: Packet analysis {"connection_id":162307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0280a"} 
[2026-08-22 11:26:28] local.INFO: Extracted packet for processing {"connection_id":162307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0280a"} 
[2026-08-22 11:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756545792,"raw_latitude":119636792,"longitude_deg":75.6545792,"latitude_deg":11.9636792,"altitude":76,"angle":87,"satellites":43,"speed":8,"hex_longitude":"2d17f900","hex_latitude":"07218338","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568803072001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14401583689236480,"note":"Value kept but may cause issues"} 
[2026-08-22 11:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726426800281978880,"note":"Value kept but may cause issues"} 
[2026-08-22 11:26:28] local.INFO: IO Element Parsed {"io_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-22 11:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787378142000,"timestamp_ms":1787378142000,"timestamp_seconds":1787378142,"priority":1,"record_length":96,"hex_timestamp":"000001a0280a0b30"} 
[2026-08-22 11: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-22 11:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11: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":169,"data_length":795,"current_offset":136} 
[2026-08-22 11:26:28] 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-22 11: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-22 11: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-22 11:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:26:28] 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-22 11:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568803072001,"66":13722,"105":206,"83":41984,"24":8,"16":14401583689236480,"45":1726426800281978880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 11:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568803072001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:26:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 11:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14401583689236480,"km_value":14401583689236.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726426800281978880,"description":"Unknown IO ID 45"} 
[2026-08-22 11:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568803072001,"power":13722,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1726426800281978880}} 
[2026-08-22 11:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":162307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:26:28] local.INFO: GPS data processed {"connection_id":162307,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:26:28] local.INFO: Acknowledgment sent {"connection_id":162307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:26:49] local.INFO: TCP Data received {"connection_id":162308,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:26:49] local.INFO: Processing buffer {"connection_id":162308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:26:49] local.INFO: IMEI packet received {"connection_id":162308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":162308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:26:53] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:26:53] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:26:53] local.INFO: IMEI packet received {"connection_id":159985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":159985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:26:54] local.INFO: TCP Data received {"connection_id":162308,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:26:54] local.INFO: Processing buffer {"connection_id":162308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:26:54] local.INFO: IMEI packet received {"connection_id":162308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":162308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:26:55] local.INFO: TCP Data received {"connection_id":162308,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:26:55] local.INFO: Processing buffer {"connection_id":162308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:26:55] local.INFO: Packet analysis {"connection_id":162308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:26:55] local.INFO: Extracted packet for processing {"connection_id":162308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:26:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568688384001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:26: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-22 11:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787377988000,"timestamp_ms":1787377988000,"timestamp_seconds":1787377988,"priority":1,"record_length":96,"hex_timestamp":"000001a02807b1a0"} 
[2026-08-22 11:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:26: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-22 11:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-22 11:26:55] 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-22 11:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:26:55] 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-22 11:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568688384001,"66":26006,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"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-22 11:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568688384001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:26:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:26:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568688384001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":162308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:26:55] local.INFO: GPS data processed {"connection_id":162308,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:26:55] local.INFO: Acknowledgment sent {"connection_id":162308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:26:56] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:26:56] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:26:56] local.INFO: IMEI packet received {"connection_id":159985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":159985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:27:11] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0280a0f18012d17fa0007218398004c00402b..."} 
[2026-08-22 11:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280a0f18012d17fa0007218398004c00402b..."} 
[2026-08-22 11:27:11] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280a0f18012d17fa0007218398004c00402b..."} 
[2026-08-22 11:27:11] local.INFO: Packet analysis {"connection_id":159985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0280a"} 
[2026-08-22 11:27:11] local.INFO: Extracted packet for processing {"connection_id":159985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0280a"} 
[2026-08-22 11:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756546048,"raw_latitude":119636888,"longitude_deg":75.6546048,"latitude_deg":11.9636888,"altitude":76,"angle":64,"satellites":43,"speed":13,"hex_longitude":"2d17fa00","hex_latitude":"07218398","is_valid_coordinates":true} 
[2026-08-22 11:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568804352001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14401596574138368,"note":"Value kept but may cause issues"} 
[2026-08-22 11:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727411962700314624,"note":"Value kept but may cause issues"} 
[2026-08-22 11:27:11] local.INFO: IO Element Parsed {"io_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-22 11:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787378143000,"timestamp_ms":1787378143000,"timestamp_seconds":1787378143,"priority":1,"record_length":96,"hex_timestamp":"000001a0280a0f18"} 
[2026-08-22 11:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-22 11:27:11] 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-22 11:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:27:11] 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-22 11:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568804352001,"66":13722,"105":206,"83":41984,"24":13,"16":14401596574138368,"45":1727411962700314624},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 11:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568804352001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:27:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 11:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14401596574138368,"km_value":14401596574138.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727411962700314624,"description":"Unknown IO ID 45"} 
[2026-08-22 11:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568804352001,"power":13722,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1727411962700314624}} 
[2026-08-22 11:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":159985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:27:11] local.INFO: GPS data processed {"connection_id":159985,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:27:11] local.INFO: Acknowledgment sent {"connection_id":159985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:27:26] local.INFO: TCP Data received {"connection_id":162308,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:27:26] local.INFO: Processing buffer {"connection_id":162308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:27:26] local.INFO: Packet analysis {"connection_id":162308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:27:26] local.INFO: Extracted packet for processing {"connection_id":162308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:27:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568688384001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:27: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-22 11:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787377988000,"timestamp_ms":1787377988000,"timestamp_seconds":1787377988,"priority":1,"record_length":96,"hex_timestamp":"000001a02807b1a0"} 
[2026-08-22 11: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-22 11:27: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-22 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-22 11:27: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-22 11: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-22 11: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-22 11:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:27:26] 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-22 11:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568688384001,"66":26006,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"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-22 11:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568688384001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:27:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:27:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568688384001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":162308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:27:26] local.INFO: GPS data processed {"connection_id":162308,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:27:26] local.INFO: Acknowledgment sent {"connection_id":162308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:27:49] local.INFO: TCP Data received {"connection_id":159737,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:27:49] local.INFO: Processing buffer {"connection_id":159737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:27:49] local.INFO: IMEI packet received {"connection_id":159737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":159737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:27:53] local.INFO: TCP Data received {"connection_id":159738,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:27:53] local.INFO: Processing buffer {"connection_id":159738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:27:53] local.INFO: IMEI packet received {"connection_id":159738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":159738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:27:54] local.INFO: TCP Data received {"connection_id":159737,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:27:54] local.INFO: Processing buffer {"connection_id":159737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:27:54] local.INFO: IMEI packet received {"connection_id":159737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":159737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:27:55] local.INFO: TCP Data received {"connection_id":159737,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:27:55] local.INFO: Processing buffer {"connection_id":159737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:27:55] local.INFO: Packet analysis {"connection_id":159737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:27:55] local.INFO: Extracted packet for processing {"connection_id":159737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568688384001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:27: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-22 11:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787377988000,"timestamp_ms":1787377988000,"timestamp_seconds":1787377988,"priority":1,"record_length":96,"hex_timestamp":"000001a02807b1a0"} 
[2026-08-22 11:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:27: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-22 11:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-22 11:27:55] 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-22 11: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-22 11:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:27:55] 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-22 11:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568688384001,"66":26006,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568688384001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:27:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:27:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568688384001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":159737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:27:55] local.INFO: GPS data processed {"connection_id":159737,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:27:55] local.INFO: Acknowledgment sent {"connection_id":159737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:27:56] local.INFO: TCP Data received {"connection_id":159738,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:27:56] local.INFO: Processing buffer {"connection_id":159738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:27:56] local.INFO: IMEI packet received {"connection_id":159738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":159738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:27:57] local.INFO: TCP Data received {"connection_id":159738,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0280a16e8012d17fd40072185b8004d00332a..."} 
[2026-08-22 11:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280a16e8012d17fd40072185b8004d00332a..."} 
[2026-08-22 11:27:57] local.INFO: Processing buffer {"connection_id":159738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280a16e8012d17fd40072185b8004d00332a..."} 
[2026-08-22 11:27:57] local.INFO: Packet analysis {"connection_id":159738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0280a"} 
[2026-08-22 11:27:57] local.INFO: Extracted packet for processing {"connection_id":159738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0280a"} 
[2026-08-22 11:27:57] local.INFO: GPS Element Parsed {"raw_longitude":756546880,"raw_latitude":119637432,"longitude_deg":75.654688,"latitude_deg":11.9637432,"altitude":77,"angle":51,"satellites":42,"speed":21,"hex_longitude":"2d17fd40","hex_latitude":"072185b8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568804608001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14401643818778624,"note":"Value kept but may cause issues"} 
[2026-08-22 11:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727693437677049856,"note":"Value kept but may cause issues"} 
[2026-08-22 11:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787378145000,"timestamp_ms":1787378145000,"timestamp_seconds":1787378145,"priority":1,"record_length":96,"hex_timestamp":"000001a0280a16e8"} 
[2026-08-22 11: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-22 11:27:57] 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-22 11: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-22 11:27:57] 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-22 11: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-22 11: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-22 11:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:27:57] 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-22 11:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568804608001,"66":13928,"105":206,"83":41984,"24":21,"16":14401643818778624,"45":1727693437677049856},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 11:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568804608001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:27:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 11:27:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14401643818778624,"km_value":14401643818778.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727693437677049856,"description":"Unknown IO ID 45"} 
[2026-08-22 11:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568804608001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1727693437677049856}} 
[2026-08-22 11:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":159738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:27:57] local.INFO: GPS data processed {"connection_id":159738,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:27:57] local.INFO: Acknowledgment sent {"connection_id":159738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:28:26] local.INFO: TCP Data received {"connection_id":159737,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:28:26] local.INFO: Processing buffer {"connection_id":159737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02807b1a0012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:28:26] local.INFO: Packet analysis {"connection_id":159737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:28:26] local.INFO: Extracted packet for processing {"connection_id":159737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02807"} 
[2026-08-22 11:28:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 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-22 11:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568688384001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:28: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-22 11:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787377988000,"timestamp_ms":1787377988000,"timestamp_seconds":1787377988,"priority":1,"record_length":96,"hex_timestamp":"000001a02807b1a0"} 
[2026-08-22 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-22 11:28: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-22 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":111,"data_length":795,"current_offset":136} 
[2026-08-22 11:28: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-22 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-22 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-22 11:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:28: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-22 11:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568688384001,"66":26006,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568688384001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:28:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:28:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568688384001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":159737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:28:26] local.INFO: GPS data processed {"connection_id":159737,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:28:26] local.INFO: Acknowledgment sent {"connection_id":159737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:28:28] local.INFO: TCP Data received {"connection_id":159738,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0280b95b8012d18644007218248004f006828..."} 
[2026-08-22 11:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280b95b8012d18644007218248004f006828..."} 
[2026-08-22 11:28:28] local.INFO: Processing buffer {"connection_id":159738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280b95b8012d18644007218248004f006828..."} 
[2026-08-22 11:28:28] local.INFO: Packet analysis {"connection_id":159738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0280b"} 
[2026-08-22 11:28:28] local.INFO: Extracted packet for processing {"connection_id":159738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0280b"} 
[2026-08-22 11:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756573248,"raw_latitude":119636552,"longitude_deg":75.6573248,"latitude_deg":11.9636552,"altitude":79,"angle":104,"satellites":40,"speed":28,"hex_longitude":"2d186440","hex_latitude":"07218248","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568828928001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14403232956678144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753026185581367296,"note":"Value kept but may cause issues"} 
[2026-08-22 11:28:28] local.INFO: IO Element Parsed {"io_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-22 11:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787378243000,"timestamp_ms":1787378243000,"timestamp_seconds":1787378243,"priority":1,"record_length":96,"hex_timestamp":"000001a0280b95b8"} 
[2026-08-22 11: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-22 11:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11: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":71,"data_length":795,"current_offset":136} 
[2026-08-22 11:28: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-22 11: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-22 11: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-22 11:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:28:28] 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-22 11:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568828928001,"66":14428,"105":206,"83":41984,"24":28,"16":14403232956678144,"45":1753026185581367296},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 11:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568828928001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:28:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 11:28:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14403232956678144,"km_value":14403232956678.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753026185581367296,"description":"Unknown IO ID 45"} 
[2026-08-22 11:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568828928001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1753026185581367296}} 
[2026-08-22 11:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":159738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:28:28] local.INFO: GPS data processed {"connection_id":159738,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:28:28] local.INFO: Acknowledgment sent {"connection_id":159738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:28:49] local.INFO: TCP Data received {"connection_id":160894,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:28:49] local.INFO: Processing buffer {"connection_id":160894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:28:49] local.INFO: IMEI packet received {"connection_id":160894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":160894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:28:53] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:28:53] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:28:53] local.INFO: IMEI packet received {"connection_id":159986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":159986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:28:54] local.INFO: TCP Data received {"connection_id":160894,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:28:54] local.INFO: Processing buffer {"connection_id":160894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:28:54] local.INFO: IMEI packet received {"connection_id":160894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":160894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:28:55] local.INFO: TCP Data received {"connection_id":160894,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:28:55] local.INFO: Processing buffer {"connection_id":160894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:28:55] local.INFO: Packet analysis {"connection_id":160894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:28:55] local.INFO: Extracted packet for processing {"connection_id":160894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568764928001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:28: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-22 11:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787378289000,"timestamp_ms":1787378289000,"timestamp_seconds":1787378289,"priority":1,"record_length":96,"hex_timestamp":"000001a0280c4968"} 
[2026-08-22 11:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:28: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-22 11:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 11:28: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-22 11:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:28:55] 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-22 11:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568764928001,"66":25875,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568764928001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:28:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:28:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568764928001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":160894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:28:55] local.INFO: GPS data processed {"connection_id":160894,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:28:55] local.INFO: Acknowledgment sent {"connection_id":160894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:28:58] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:28:58] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:28:58] local.INFO: IMEI packet received {"connection_id":159986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":159986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:28:59] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0280b9d88012d1869c007218198004e005c28..."} 
[2026-08-22 11:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280b9d88012d1869c007218198004e005c28..."} 
[2026-08-22 11:28:59] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280b9d88012d1869c007218198004e005c28..."} 
[2026-08-22 11:28:59] local.INFO: Packet analysis {"connection_id":159986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0280b"} 
[2026-08-22 11:28:59] local.INFO: Extracted packet for processing {"connection_id":159986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0280b"} 
[2026-08-22 11:28:59] local.INFO: GPS Element Parsed {"raw_longitude":756574656,"raw_latitude":119636376,"longitude_deg":75.6574656,"latitude_deg":11.9636376,"altitude":78,"angle":92,"satellites":40,"speed":28,"hex_longitude":"2d1869c0","hex_latitude":"07218198","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568830208001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14403297381187584,"note":"Value kept but may cause issues"} 
[2026-08-22 11:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757600153952471040,"note":"Value kept but may cause issues"} 
[2026-08-22 11:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787378245000,"timestamp_ms":1787378245000,"timestamp_seconds":1787378245,"priority":1,"record_length":96,"hex_timestamp":"000001a0280b9d88"} 
[2026-08-22 11: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-22 11:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 11:28: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-22 11: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-22 11: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-22 11:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:28:59] 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-22 11:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568830208001,"66":14298,"105":206,"83":41984,"24":28,"16":14403297381187584,"45":1757600153952471040},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 11:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568830208001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:28:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 11:28:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14403297381187584,"km_value":14403297381187.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757600153952471040,"description":"Unknown IO ID 45"} 
[2026-08-22 11:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568830208001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1757600153952471040}} 
[2026-08-22 11:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":159986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:28:59] local.INFO: GPS data processed {"connection_id":159986,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:28:59] local.INFO: Acknowledgment sent {"connection_id":159986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:29:26] local.INFO: TCP Data received {"connection_id":160894,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:29:26] local.INFO: Processing buffer {"connection_id":160894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:29:26] local.INFO: Packet analysis {"connection_id":160894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:29:26] local.INFO: Extracted packet for processing {"connection_id":160894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:29:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 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-22 11:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568764928001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:29: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-22 11:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787378289000,"timestamp_ms":1787378289000,"timestamp_seconds":1787378289,"priority":1,"record_length":96,"hex_timestamp":"000001a0280c4968"} 
[2026-08-22 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-22 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-22 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 11:29:26] 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-22 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-22 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-22 11:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:29: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-22 11:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568764928001,"66":25875,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568764928001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:29:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:29:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568764928001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":160894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:29:26] local.INFO: GPS data processed {"connection_id":160894,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:29:26] local.INFO: Acknowledgment sent {"connection_id":160894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:29:30] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0280bef90012d187640072181700050006627..."} 
[2026-08-22 11:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280bef90012d187640072181700050006627..."} 
[2026-08-22 11:29:30] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280bef90012d187640072181700050006627..."} 
[2026-08-22 11:29:30] local.INFO: Packet analysis {"connection_id":159986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0280b"} 
[2026-08-22 11:29:30] local.INFO: Extracted packet for processing {"connection_id":159986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0280b"} 
[2026-08-22 11:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636336,"longitude_deg":75.6577856,"latitude_deg":11.9636336,"altitude":80,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d187640","hex_latitude":"07218170","is_valid_coordinates":true} 
[2026-08-22 11:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568830720001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14403452000010240,"note":"Value kept but may cause issues"} 
[2026-08-22 11:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759148266324334592,"note":"Value kept but may cause issues"} 
[2026-08-22 11:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787378266000,"timestamp_ms":1787378266000,"timestamp_seconds":1787378266,"priority":1,"record_length":96,"hex_timestamp":"000001a0280bef90"} 
[2026-08-22 11:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-22 11:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:29:30] 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-22 11:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568830720001,"66":14396,"105":206,"83":41984,"24":0,"16":14403452000010240,"45":1759148266324334592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 11:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568830720001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:29:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 11:29:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14403452000010240,"km_value":14403452000010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759148266324334592,"description":"Unknown IO ID 45"} 
[2026-08-22 11:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568830720001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1759148266324334592}} 
[2026-08-22 11:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":159986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:29:30] local.INFO: GPS data processed {"connection_id":159986,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:29:30] local.INFO: Acknowledgment sent {"connection_id":159986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:29:49] local.INFO: TCP Data received {"connection_id":159739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:29:49] local.INFO: Processing buffer {"connection_id":159739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:29:49] local.INFO: IMEI packet received {"connection_id":159739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":159739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:29:53] local.INFO: TCP Data received {"connection_id":162309,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:29:53] local.INFO: Processing buffer {"connection_id":162309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:29:53] local.INFO: IMEI packet received {"connection_id":162309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":162309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:29:54] local.INFO: TCP Data received {"connection_id":162309,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:29:54] local.INFO: Processing buffer {"connection_id":162309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:29:54] local.INFO: IMEI packet received {"connection_id":162309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":162309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:29:54] local.INFO: TCP Data received {"connection_id":162309,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:29:54] local.INFO: Processing buffer {"connection_id":162309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:29:54] local.INFO: IMEI packet received {"connection_id":162309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":162309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:29:54] local.INFO: TCP Data received {"connection_id":159739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:29:54] local.INFO: Processing buffer {"connection_id":159739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:29:54] local.INFO: IMEI packet received {"connection_id":159739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":159739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:29:55] local.INFO: TCP Data received {"connection_id":159739,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:29:55] local.INFO: Processing buffer {"connection_id":159739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:29:55] local.INFO: Packet analysis {"connection_id":159739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:29:55] local.INFO: Extracted packet for processing {"connection_id":159739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:29:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568764928001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:29: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-22 11:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787378289000,"timestamp_ms":1787378289000,"timestamp_seconds":1787378289,"priority":1,"record_length":96,"hex_timestamp":"000001a0280c4968"} 
[2026-08-22 11:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11: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-22 11:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 11:29: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-22 11:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11: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-22 11:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568764928001,"66":25875,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568764928001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:29:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:29:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568764928001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":159739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:29:55] local.INFO: GPS data processed {"connection_id":159739,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:29:55] local.INFO: Acknowledgment sent {"connection_id":159739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:29:56] local.INFO: TCP Data received {"connection_id":162309,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:29:56] local.INFO: Processing buffer {"connection_id":162309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:29:56] local.INFO: IMEI packet received {"connection_id":162309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":162309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:30:26] local.INFO: TCP Data received {"connection_id":159739,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:30:26] local.INFO: Processing buffer {"connection_id":159739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:30:26] local.INFO: Packet analysis {"connection_id":159739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:30:26] local.INFO: Extracted packet for processing {"connection_id":159739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:30:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 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-22 11:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568764928001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:30: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-22 11:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787378289000,"timestamp_ms":1787378289000,"timestamp_seconds":1787378289,"priority":1,"record_length":96,"hex_timestamp":"000001a0280c4968"} 
[2026-08-22 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-22 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-22 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 11:30:26] 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-22 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-22 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-22 11:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 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-22 11:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568764928001,"66":25875,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568764928001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:30:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:30:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568764928001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":159739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:30:26] local.INFO: GPS data processed {"connection_id":159739,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:30:26] local.INFO: Acknowledgment sent {"connection_id":159739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:30:49] local.INFO: TCP Data received {"connection_id":159740,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:30:49] local.INFO: Processing buffer {"connection_id":159740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:30:49] local.INFO: IMEI packet received {"connection_id":159740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":159740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:30:54] local.INFO: TCP Data received {"connection_id":159740,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:30:54] local.INFO: Processing buffer {"connection_id":159740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:30:54] local.INFO: IMEI packet received {"connection_id":159740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":159740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:30:55] local.INFO: TCP Data received {"connection_id":159740,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:30:55] local.INFO: Processing buffer {"connection_id":159740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:30:55] local.INFO: Packet analysis {"connection_id":159740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:30:55] local.INFO: Extracted packet for processing {"connection_id":159740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:30:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568764928001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:30: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-22 11:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787378289000,"timestamp_ms":1787378289000,"timestamp_seconds":1787378289,"priority":1,"record_length":96,"hex_timestamp":"000001a0280c4968"} 
[2026-08-22 11: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-22 11: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-22 11: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 11:30: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-22 11: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-22 11: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-22 11:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:30:55] 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-22 11:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568764928001,"66":25875,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568764928001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:30:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:30:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568764928001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":159740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:30:55] local.INFO: GPS data processed {"connection_id":159740,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:30:55] local.INFO: Acknowledgment sent {"connection_id":159740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:31:26] local.INFO: TCP Data received {"connection_id":159740,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:31:26] local.INFO: Processing buffer {"connection_id":159740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:31:26] local.INFO: Packet analysis {"connection_id":159740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:31:26] local.INFO: Extracted packet for processing {"connection_id":159740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 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-22 11:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568764928001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:31: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-22 11:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787378289000,"timestamp_ms":1787378289000,"timestamp_seconds":1787378289,"priority":1,"record_length":96,"hex_timestamp":"000001a0280c4968"} 
[2026-08-22 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-22 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-22 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 11:31:26] 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-22 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-22 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-22 11:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:31: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-22 11:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568764928001,"66":25875,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568764928001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:31:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568764928001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":159740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:31:26] local.INFO: GPS data processed {"connection_id":159740,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:31:26] local.INFO: Acknowledgment sent {"connection_id":159740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:31:49] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:31:49] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:31:49] local.INFO: IMEI packet received {"connection_id":159988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":159988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:31:54] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:31:54] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:31:54] local.INFO: IMEI packet received {"connection_id":159988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":159988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:31:59] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:31:59] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:31:59] local.INFO: Packet analysis {"connection_id":159988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:31:59] local.INFO: Extracted packet for processing {"connection_id":159988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:31:59] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568764928001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:31: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-22 11:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787378289000,"timestamp_ms":1787378289000,"timestamp_seconds":1787378289,"priority":1,"record_length":96,"hex_timestamp":"000001a0280c4968"} 
[2026-08-22 11: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-22 11:31: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-22 11: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 11:31: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-22 11: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-22 11: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-22 11:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11: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-22 11:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568764928001,"66":25875,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"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-22 11:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568764928001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:31:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:31:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568764928001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":159988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:31:59] local.INFO: GPS data processed {"connection_id":159988,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:31:59] local.INFO: Acknowledgment sent {"connection_id":159988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:32:44] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:32:44] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:32:44] local.INFO: Packet analysis {"connection_id":159988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:32:44] local.INFO: Extracted packet for processing {"connection_id":159988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:32:44] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568764928001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:32:44] 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-22 11:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787378289000,"timestamp_ms":1787378289000,"timestamp_seconds":1787378289,"priority":1,"record_length":96,"hex_timestamp":"000001a0280c4968"} 
[2026-08-22 11: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-22 11:32: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-22 11: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 11:32:44] 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-22 11: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-22 11: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-22 11:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:32:44] 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-22 11:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568764928001,"66":25875,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"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-22 11:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568764928001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:32:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:32:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568764928001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":159988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:32:44] local.INFO: GPS data processed {"connection_id":159988,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:32:44] local.INFO: Acknowledgment sent {"connection_id":159988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:32:49] local.INFO: TCP Data received {"connection_id":160895,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:32:49] local.INFO: Processing buffer {"connection_id":160895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:32:49] local.INFO: IMEI packet received {"connection_id":160895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":160895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:32:54] local.INFO: TCP Data received {"connection_id":160895,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:32:54] local.INFO: Processing buffer {"connection_id":160895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:32:54] local.INFO: IMEI packet received {"connection_id":160895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":160895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:32:55] local.INFO: TCP Data received {"connection_id":160895,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:32:55] local.INFO: Processing buffer {"connection_id":160895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:32:55] local.INFO: Packet analysis {"connection_id":160895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:32:55] local.INFO: Extracted packet for processing {"connection_id":160895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568764928001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:32: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-22 11:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787378289000,"timestamp_ms":1787378289000,"timestamp_seconds":1787378289,"priority":1,"record_length":96,"hex_timestamp":"000001a0280c4968"} 
[2026-08-22 11: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-22 11:32: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-22 11: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 11:32: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-22 11: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-22 11: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-22 11:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:32:55] 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-22 11:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568764928001,"66":25875,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568764928001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:32:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:32:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568764928001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":160895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:32:55] local.INFO: GPS data processed {"connection_id":160895,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:32:55] local.INFO: Acknowledgment sent {"connection_id":160895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:33:26] local.INFO: TCP Data received {"connection_id":160895,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:33:26] local.INFO: Processing buffer {"connection_id":160895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0280c4968012d7f898005afdf38000000bc23..."} 
[2026-08-22 11:33:26] local.INFO: Packet analysis {"connection_id":160895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:33:26] local.INFO: Extracted packet for processing {"connection_id":160895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0280c"} 
[2026-08-22 11:33:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568764928001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:33: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-22 11:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787378289000,"timestamp_ms":1787378289000,"timestamp_seconds":1787378289,"priority":1,"record_length":96,"hex_timestamp":"000001a0280c4968"} 
[2026-08-22 11: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-22 11: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-22 11: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 11:33:26] 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-22 11: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-22 11: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-22 11:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:33:26] 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-22 11:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568764928001,"66":25875,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568764928001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:33:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:33:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568764928001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":160895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:33:26] local.INFO: GPS data processed {"connection_id":160895,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:33:26] local.INFO: Acknowledgment sent {"connection_id":160895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:33:49] local.INFO: TCP Data received {"connection_id":162312,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:33:49] local.INFO: Processing buffer {"connection_id":162312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:33:49] local.INFO: IMEI packet received {"connection_id":162312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":162312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:33:54] local.INFO: TCP Data received {"connection_id":162312,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:33:54] local.INFO: Processing buffer {"connection_id":162312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:33:54] local.INFO: IMEI packet received {"connection_id":162312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":162312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:33:55] local.INFO: TCP Data received {"connection_id":162312,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02810e130012d7f898005afdf38000000bc25..."} 
[2026-08-22 11:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02810e130012d7f898005afdf38000000bc25..."} 
[2026-08-22 11:33:55] local.INFO: Processing buffer {"connection_id":162312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02810e130012d7f898005afdf38000000bc25..."} 
[2026-08-22 11:33:55] local.INFO: Packet analysis {"connection_id":162312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02810"} 
[2026-08-22 11:33:55] local.INFO: Extracted packet for processing {"connection_id":162312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02810"} 
[2026-08-22 11:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":37,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568841984001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:33: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-22 11:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787378590000,"timestamp_ms":1787378590000,"timestamp_seconds":1787378590,"priority":1,"record_length":96,"hex_timestamp":"000001a02810e130"} 
[2026-08-22 11:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:33: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-22 11:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 11:33: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-22 11: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-22 11:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:33: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-22 11:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568841984001,"66":25756,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"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-22 11:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568841984001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:33:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568841984001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":162312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:33:55] local.INFO: GPS data processed {"connection_id":162312,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:33:55] local.INFO: Acknowledgment sent {"connection_id":162312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:34:26] local.INFO: TCP Data received {"connection_id":162312,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02810e130012d7f898005afdf38000000bc25..."} 
[2026-08-22 11:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02810e130012d7f898005afdf38000000bc25..."} 
[2026-08-22 11:34:26] local.INFO: Processing buffer {"connection_id":162312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02810e130012d7f898005afdf38000000bc25..."} 
[2026-08-22 11:34:26] local.INFO: Packet analysis {"connection_id":162312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02810"} 
[2026-08-22 11:34:26] local.INFO: Extracted packet for processing {"connection_id":162312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02810"} 
[2026-08-22 11:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":37,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 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-22 11:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568841984001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:34: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-22 11:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787378590000,"timestamp_ms":1787378590000,"timestamp_seconds":1787378590,"priority":1,"record_length":96,"hex_timestamp":"000001a02810e130"} 
[2026-08-22 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-22 11:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 11:34: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-22 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-22 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-22 11:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:34: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-22 11:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568841984001,"66":25756,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"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-22 11:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568841984001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:34:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568841984001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":162312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:34:26] local.INFO: GPS data processed {"connection_id":162312,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:34:26] local.INFO: Acknowledgment sent {"connection_id":162312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:34:49] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:34:49] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:34:49] local.INFO: IMEI packet received {"connection_id":159990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":159990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:34:51] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:34:51] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:34:51] local.INFO: IMEI packet received {"connection_id":159990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":159990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:34:54] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:34:54] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:34:54] local.INFO: IMEI packet received {"connection_id":159990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":159990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:34:55] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0281175a0012d7f898005afdf38000000bc28..."} 
[2026-08-22 11:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281175a0012d7f898005afdf38000000bc28..."} 
[2026-08-22 11:34:55] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281175a0012d7f898005afdf38000000bc28..."} 
[2026-08-22 11:34:55] local.INFO: Packet analysis {"connection_id":159990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02811"} 
[2026-08-22 11:34:55] local.INFO: Extracted packet for processing {"connection_id":159990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02811"} 
[2026-08-22 11:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95412024,"longitude_deg":76.3332992,"latitude_deg":9.5412024,"altitude":0,"angle":188,"satellites":40,"speed":0,"hex_longitude":"2d7f8980","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-08-22 11:34: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-22 11:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568919040001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:34: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-22 11:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787378628000,"timestamp_ms":1787378628000,"timestamp_seconds":1787378628,"priority":1,"record_length":96,"hex_timestamp":"000001a0281175a0"} 
[2026-08-22 11:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:34: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-22 11:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 11:34: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-22 11:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:34:55] 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-22 11:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568919040001,"66":25778,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568919040001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:34:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:34:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568919040001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":159990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:34:55] local.INFO: GPS data processed {"connection_id":159990,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:34:55] local.INFO: Acknowledgment sent {"connection_id":159990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:35:00] local.INFO: TCP Data received {"connection_id":162313,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:35:00] local.INFO: Processing buffer {"connection_id":162313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:35:00] local.INFO: IMEI packet received {"connection_id":162313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":162313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:35:00] local.INFO: TCP Data received {"connection_id":162313,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a028113ef0012d1b4c40071f7ca00041007429..."} 
[2026-08-22 11:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028113ef0012d1b4c40071f7ca00041007429..."} 
[2026-08-22 11:35:00] local.INFO: Processing buffer {"connection_id":162313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028113ef0012d1b4c40071f7ca00041007429..."} 
[2026-08-22 11:35:00] local.INFO: Packet analysis {"connection_id":162313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02811"} 
[2026-08-22 11:35:00] local.INFO: Extracted packet for processing {"connection_id":162313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02811"} 
[2026-08-22 11:35:00] local.INFO: GPS Element Parsed {"raw_longitude":756763712,"raw_latitude":119504032,"longitude_deg":75.6763712,"latitude_deg":11.9504032,"altitude":65,"angle":116,"satellites":41,"speed":17,"hex_longitude":"2d1b4c40","hex_latitude":"071f7ca0","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568924928001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14416384146538496,"note":"Value kept but may cause issues"} 
[2026-08-22 11:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966595324126304256,"note":"Value kept but may cause issues"} 
[2026-08-22 11:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787378614000,"timestamp_ms":1787378614000,"timestamp_seconds":1787378614,"priority":1,"record_length":96,"hex_timestamp":"000001a028113ef0"} 
[2026-08-22 11: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-22 11:35:00] 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-22 11: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 11:35: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-22 11: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-22 11: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-22 11:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:35:00] 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-22 11:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568924928001,"66":13972,"101":206,"83":41984,"24":17,"16":14416384146538496,"45":1966595324126304256},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 11:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568924928001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:35:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 11:35:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14416384146538496,"km_value":14416384146538.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966595324126304256,"description":"Unknown IO ID 45"} 
[2026-08-22 11:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568924928001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1966595324126304256}} 
[2026-08-22 11:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":162313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:35:01] local.INFO: GPS data processed {"connection_id":162313,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:35:01] local.INFO: Acknowledgment sent {"connection_id":162313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:35:26] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a028118540012d7f8c8005afe3980000007c2a..."} 
[2026-08-22 11:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028118540012d7f8c8005afe3980000007c2a..."} 
[2026-08-22 11:35:26] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028118540012d7f8c8005afe3980000007c2a..."} 
[2026-08-22 11:35:26] local.INFO: Packet analysis {"connection_id":159990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02811"} 
[2026-08-22 11:35:26] local.INFO: Extracted packet for processing {"connection_id":159990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02811"} 
[2026-08-22 11:35:26] local.INFO: GPS Element Parsed {"raw_longitude":763333760,"raw_latitude":95413144,"longitude_deg":76.333376,"latitude_deg":9.5413144,"altitude":0,"angle":124,"satellites":42,"speed":0,"hex_longitude":"2d7f8c80","hex_latitude":"05afe398","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568928768001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276540041216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:35: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-22 11:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787378632000,"timestamp_ms":1787378632000,"timestamp_seconds":1787378632,"priority":1,"record_length":96,"hex_timestamp":"000001a028118540"} 
[2026-08-22 11: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-22 11: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-22 11: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 11:35:26] 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-22 11: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-22 11: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-22 11:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:35:26] 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-22 11:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568928768001,"66":27713,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190017276540041216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568928768001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:35:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:35:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276540041216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568928768001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276540041216}} 
[2026-08-22 11:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":159990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:35:26] local.INFO: GPS data processed {"connection_id":159990,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:35:26] local.INFO: Acknowledgment sent {"connection_id":159990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:35:49] local.INFO: TCP Data received {"connection_id":160896,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:35:49] local.INFO: Processing buffer {"connection_id":160896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:35:49] local.INFO: IMEI packet received {"connection_id":160896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":160896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:35:54] local.INFO: TCP Data received {"connection_id":160896,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:35:54] local.INFO: Processing buffer {"connection_id":160896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:35:54] local.INFO: IMEI packet received {"connection_id":160896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":160896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:35:55] local.INFO: TCP Data received {"connection_id":160896,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02811d748012d7f8c8005afe3980000007c25..."} 
[2026-08-22 11:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02811d748012d7f8c8005afe3980000007c25..."} 
[2026-08-22 11:35:55] local.INFO: Processing buffer {"connection_id":160896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02811d748012d7f8c8005afe3980000007c25..."} 
[2026-08-22 11:35:55] local.INFO: Packet analysis {"connection_id":160896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02811"} 
[2026-08-22 11:35:55] local.INFO: Extracted packet for processing {"connection_id":160896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02811"} 
[2026-08-22 11:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763333760,"raw_latitude":95413144,"longitude_deg":76.333376,"latitude_deg":9.5413144,"altitude":0,"angle":124,"satellites":37,"speed":0,"hex_longitude":"2d7f8c80","hex_latitude":"05afe398","is_valid_coordinates":true} 
[2026-08-22 11:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568929792001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190861701470459904,"note":"Value kept but may cause issues"} 
[2026-08-22 11:35: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-22 11:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787378653000,"timestamp_ms":1787378653000,"timestamp_seconds":1787378653,"priority":1,"record_length":96,"hex_timestamp":"000001a02811d748"} 
[2026-08-22 11:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:35:55] 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-22 11:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-22 11:35:55] 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-22 11:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:35:55] 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-22 11:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568929792001,"66":27745,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190861701470459904},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568929792001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:35:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:35:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190861701470459904,"description":"Unknown IO ID 45"} 
[2026-08-22 11:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568929792001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190861701470459904}} 
[2026-08-22 11:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":160896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:35:55] local.INFO: GPS data processed {"connection_id":160896,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:35:55] local.INFO: Acknowledgment sent {"connection_id":160896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:36:26] local.INFO: TCP Data received {"connection_id":160896,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a028122950012d7f8c8005afe3980000007c24..."} 
[2026-08-22 11:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028122950012d7f8c8005afe3980000007c24..."} 
[2026-08-22 11:36:26] local.INFO: Processing buffer {"connection_id":160896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028122950012d7f8c8005afe3980000007c24..."} 
[2026-08-22 11:36:26] local.INFO: Packet analysis {"connection_id":160896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02812"} 
[2026-08-22 11:36:26] local.INFO: Extracted packet for processing {"connection_id":160896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02812"} 
[2026-08-22 11:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763333760,"raw_latitude":95413144,"longitude_deg":76.333376,"latitude_deg":9.5413144,"altitude":0,"angle":124,"satellites":36,"speed":0,"hex_longitude":"2d7f8c80","hex_latitude":"05afe398","is_valid_coordinates":true} 
[2026-08-22 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-22 11:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568935168001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190861701470459904,"note":"Value kept but may cause issues"} 
[2026-08-22 11:36: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-22 11:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787378674000,"timestamp_ms":1787378674000,"timestamp_seconds":1787378674,"priority":1,"record_length":96,"hex_timestamp":"000001a028122950"} 
[2026-08-22 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-22 11:36: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-22 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 11:36: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-22 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-22 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-22 11:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:36:26] 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-22 11:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568935168001,"66":27767,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190861701470459904},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568935168001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:36:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190861701470459904,"description":"Unknown IO ID 45"} 
[2026-08-22 11:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568935168001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190861701470459904}} 
[2026-08-22 11:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":160896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:36:26] local.INFO: GPS data processed {"connection_id":160896,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:36:26] local.INFO: Acknowledgment sent {"connection_id":160896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:36:49] local.INFO: TCP Data received {"connection_id":159991,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:36:49] local.INFO: Processing buffer {"connection_id":159991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:36:49] local.INFO: IMEI packet received {"connection_id":159991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":159991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:36:54] local.INFO: TCP Data received {"connection_id":159991,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:36:54] local.INFO: Processing buffer {"connection_id":159991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:36:54] local.INFO: IMEI packet received {"connection_id":159991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":159991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:36:58] local.INFO: TCP Data received {"connection_id":159991,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a028127b58012d7f8c8005afe3980000007c28..."} 
[2026-08-22 11:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028127b58012d7f8c8005afe3980000007c28..."} 
[2026-08-22 11:36:58] local.INFO: Processing buffer {"connection_id":159991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028127b58012d7f8c8005afe3980000007c28..."} 
[2026-08-22 11:36:58] local.INFO: Packet analysis {"connection_id":159991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02812"} 
[2026-08-22 11:36:58] local.INFO: Extracted packet for processing {"connection_id":159991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02812"} 
[2026-08-22 11:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763333760,"raw_latitude":95413144,"longitude_deg":76.333376,"latitude_deg":9.5413144,"altitude":0,"angle":124,"satellites":40,"speed":0,"hex_longitude":"2d7f8c80","hex_latitude":"05afe398","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568940544001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190861701470459904,"note":"Value kept but may cause issues"} 
[2026-08-22 11:36: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-22 11:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787378695000,"timestamp_ms":1787378695000,"timestamp_seconds":1787378695,"priority":1,"record_length":96,"hex_timestamp":"000001a028127b58"} 
[2026-08-22 11: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-22 11:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 11:36: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-22 11: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-22 11: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-22 11:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:36:58] 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-22 11:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568940544001,"66":27745,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190861701470459904},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568940544001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:36:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190861701470459904,"description":"Unknown IO ID 45"} 
[2026-08-22 11:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568940544001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190861701470459904}} 
[2026-08-22 11:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":159991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:36:58] local.INFO: GPS data processed {"connection_id":159991,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:36:58] local.INFO: Acknowledgment sent {"connection_id":159991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:37:29] local.INFO: TCP Data received {"connection_id":159991,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a028128710012d7f8c8005afe3980000007c2a..."} 
[2026-08-22 11:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028128710012d7f8c8005afe3980000007c2a..."} 
[2026-08-22 11:37:29] local.INFO: Processing buffer {"connection_id":159991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028128710012d7f8c8005afe3980000007c2a..."} 
[2026-08-22 11:37:29] local.INFO: Packet analysis {"connection_id":159991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02812"} 
[2026-08-22 11:37:29] local.INFO: Extracted packet for processing {"connection_id":159991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02812"} 
[2026-08-22 11:37:29] local.INFO: GPS Element Parsed {"raw_longitude":763333760,"raw_latitude":95413144,"longitude_deg":76.333376,"latitude_deg":9.5413144,"altitude":0,"angle":124,"satellites":42,"speed":0,"hex_longitude":"2d7f8c80","hex_latitude":"05afe398","is_valid_coordinates":true} 
[2026-08-22 11:37: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-22 11:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568945920001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190861701470459904,"note":"Value kept but may cause issues"} 
[2026-08-22 11:37: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-22 11:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787378698000,"timestamp_ms":1787378698000,"timestamp_seconds":1787378698,"priority":1,"record_length":96,"hex_timestamp":"000001a028128710"} 
[2026-08-22 11:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:37: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-22 11:37: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-22 11:37: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-22 11:37: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-22 11:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:37:29] 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-22 11:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568945920001,"66":27789,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190861701470459904},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568945920001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:37:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190861701470459904,"description":"Unknown IO ID 45"} 
[2026-08-22 11:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568945920001,"power":27789,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190861701470459904}} 
[2026-08-22 11:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":159991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:37:29] local.INFO: GPS data processed {"connection_id":159991,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:37:29] local.INFO: Acknowledgment sent {"connection_id":159991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:37:54] local.INFO: TCP Data received {"connection_id":159992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:37:54] local.INFO: Processing buffer {"connection_id":159992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:37:54] local.INFO: IMEI packet received {"connection_id":159992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":159992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:37:59] local.INFO: TCP Data received {"connection_id":159992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:37:59] local.INFO: Processing buffer {"connection_id":159992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:37:59] local.INFO: IMEI packet received {"connection_id":159992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":159992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:38:00] local.INFO: TCP Data received {"connection_id":159992,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028128710012d7f8c8005afe3980000007c2a..."} 
[2026-08-22 11:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028128710012d7f8c8005afe3980000007c2a..."} 
[2026-08-22 11:38:00] local.INFO: Processing buffer {"connection_id":159992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028128710012d7f8c8005afe3980000007c2a..."} 
[2026-08-22 11:38:00] local.INFO: Packet analysis {"connection_id":159992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02812"} 
[2026-08-22 11:38:00] local.INFO: Extracted packet for processing {"connection_id":159992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02812"} 
[2026-08-22 11:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763333760,"raw_latitude":95413144,"longitude_deg":76.333376,"latitude_deg":9.5413144,"altitude":0,"angle":124,"satellites":42,"speed":0,"hex_longitude":"2d7f8c80","hex_latitude":"05afe398","is_valid_coordinates":true} 
[2026-08-22 11:38: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-22 11:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568945920001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190861701470459904,"note":"Value kept but may cause issues"} 
[2026-08-22 11:38: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-22 11:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787378698000,"timestamp_ms":1787378698000,"timestamp_seconds":1787378698,"priority":1,"record_length":96,"hex_timestamp":"000001a028128710"} 
[2026-08-22 11: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-22 11:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 11:38: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-22 11: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-22 11: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-22 11:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:38: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-22 11:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568945920001,"66":27789,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190861701470459904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568945920001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:38:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:38:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190861701470459904,"description":"Unknown IO ID 45"} 
[2026-08-22 11:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568945920001,"power":27789,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190861701470459904}} 
[2026-08-22 11:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":159992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:38:00] local.INFO: GPS data processed {"connection_id":159992,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:38:00] local.INFO: Acknowledgment sent {"connection_id":159992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:38:05] local.INFO: TCP Data received {"connection_id":159992,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028128710012d7f8c8005afe3980000007c2a..."} 
[2026-08-22 11:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028128710012d7f8c8005afe3980000007c2a..."} 
[2026-08-22 11:38:05] local.INFO: Processing buffer {"connection_id":159992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028128710012d7f8c8005afe3980000007c2a..."} 
[2026-08-22 11:38:05] local.INFO: Packet analysis {"connection_id":159992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02812"} 
[2026-08-22 11:38:05] local.INFO: Extracted packet for processing {"connection_id":159992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02812"} 
[2026-08-22 11:38:05] local.INFO: GPS Element Parsed {"raw_longitude":763333760,"raw_latitude":95413144,"longitude_deg":76.333376,"latitude_deg":9.5413144,"altitude":0,"angle":124,"satellites":42,"speed":0,"hex_longitude":"2d7f8c80","hex_latitude":"05afe398","is_valid_coordinates":true} 
[2026-08-22 11:38: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-22 11:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568945920001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190861701470459904,"note":"Value kept but may cause issues"} 
[2026-08-22 11:38:05] 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-22 11:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787378698000,"timestamp_ms":1787378698000,"timestamp_seconds":1787378698,"priority":1,"record_length":96,"hex_timestamp":"000001a028128710"} 
[2026-08-22 11:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:38:05] 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-22 11:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 11:38:05] 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-22 11:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 11:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568945920001,"66":27789,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190861701470459904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568945920001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:38:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:38:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190861701470459904,"description":"Unknown IO ID 45"} 
[2026-08-22 11:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568945920001,"power":27789,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190861701470459904}} 
[2026-08-22 11:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":159992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:38:05] local.INFO: GPS data processed {"connection_id":159992,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:38:05] local.INFO: Acknowledgment sent {"connection_id":159992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:38:50] local.INFO: TCP Data received {"connection_id":162314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:38:50] local.INFO: Processing buffer {"connection_id":162314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:38:50] local.INFO: IMEI packet received {"connection_id":162314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":162314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:38:54] local.INFO: TCP Data received {"connection_id":162314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:38:54] local.INFO: Processing buffer {"connection_id":162314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:38:54] local.INFO: IMEI packet received {"connection_id":162314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":162314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:38:55] local.INFO: TCP Data received {"connection_id":162314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028153a78012d7f8f0005afe3c80000007c29..."} 
[2026-08-22 11:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028153a78012d7f8f0005afe3c80000007c29..."} 
[2026-08-22 11:38:55] local.INFO: Processing buffer {"connection_id":162314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028153a78012d7f8f0005afe3c80000007c29..."} 
[2026-08-22 11:38:55] local.INFO: Packet analysis {"connection_id":162314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02815"} 
[2026-08-22 11:38:55] local.INFO: Extracted packet for processing {"connection_id":162314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02815"} 
[2026-08-22 11:38:55] local.INFO: GPS Element Parsed {"raw_longitude":763334400,"raw_latitude":95413192,"longitude_deg":76.33344,"latitude_deg":9.5413192,"altitude":0,"angle":124,"satellites":41,"speed":0,"hex_longitude":"2d7f8f00","hex_latitude":"05afe3c8","is_valid_coordinates":true} 
[2026-08-22 11:38: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-22 11:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568946688001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190861701470459904,"note":"Value kept but may cause issues"} 
[2026-08-22 11:38: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-22 11:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787378875000,"timestamp_ms":1787378875000,"timestamp_seconds":1787378875,"priority":1,"record_length":96,"hex_timestamp":"000001a028153a78"} 
[2026-08-22 11: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-22 11: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-22 11: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-22 11:38:55] 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-22 11: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-22 11: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-22 11:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:38:55] local.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-22 11:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568946688001,"66":26267,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9190861701470459904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568946688001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:38:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:38:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190861701470459904,"description":"Unknown IO ID 45"} 
[2026-08-22 11:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568946688001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190861701470459904}} 
[2026-08-22 11:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":162314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:38:55] local.INFO: GPS data processed {"connection_id":162314,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:38:55] local.INFO: Acknowledgment sent {"connection_id":162314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:39:27] local.INFO: TCP Data received {"connection_id":162314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028154248012d7f894005afe2180000002029..."} 
[2026-08-22 11:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028154248012d7f894005afe2180000002029..."} 
[2026-08-22 11:39:27] local.INFO: Processing buffer {"connection_id":162314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028154248012d7f894005afe2180000002029..."} 
[2026-08-22 11:39:27] local.INFO: Packet analysis {"connection_id":162314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02815"} 
[2026-08-22 11:39:27] local.INFO: Extracted packet for processing {"connection_id":162314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02815"} 
[2026-08-22 11:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412760,"longitude_deg":76.3332928,"latitude_deg":9.541276,"altitude":0,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe218","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568992000001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191565388912248832,"note":"Value kept but may cause issues"} 
[2026-08-22 11:39: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-22 11:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787378877000,"timestamp_ms":1787378877000,"timestamp_seconds":1787378877,"priority":1,"record_length":96,"hex_timestamp":"000001a028154248"} 
[2026-08-22 11: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-22 11:39: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-22 11: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-22 11:39:27] 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-22 11: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-22 11: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-22 11:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:39:27] local.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-22 11:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568992000001,"66":26115,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9191565388912248832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568992000001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:39:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:39:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191565388912248832,"description":"Unknown IO ID 45"} 
[2026-08-22 11:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568992000001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191565388912248832}} 
[2026-08-22 11:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":162314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:39:27] local.INFO: GPS data processed {"connection_id":162314,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:39:27] local.INFO: Acknowledgment sent {"connection_id":162314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:39:49] local.INFO: TCP Data received {"connection_id":160897,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:39:49] local.INFO: Processing buffer {"connection_id":160897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:39:49] local.INFO: IMEI packet received {"connection_id":160897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":160897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:39:54] local.INFO: TCP Data received {"connection_id":160897,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:39:54] local.INFO: Processing buffer {"connection_id":160897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:39:54] local.INFO: IMEI packet received {"connection_id":160897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":160897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:39:55] local.INFO: TCP Data received {"connection_id":160897,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028159450012d7f894005afe218000000202b..."} 
[2026-08-22 11:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028159450012d7f894005afe218000000202b..."} 
[2026-08-22 11:39:55] local.INFO: Processing buffer {"connection_id":160897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028159450012d7f894005afe218000000202b..."} 
[2026-08-22 11:39:55] local.INFO: Packet analysis {"connection_id":160897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02815"} 
[2026-08-22 11:39:55] local.INFO: Extracted packet for processing {"connection_id":160897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02815"} 
[2026-08-22 11:39:55] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412760,"longitude_deg":76.3332928,"latitude_deg":9.541276,"altitude":0,"angle":32,"satellites":43,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe218","is_valid_coordinates":true} 
[2026-08-22 11:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568992512001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907796051968,"note":"Value kept but may cause issues"} 
[2026-08-22 11:39: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-22 11:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787378898000,"timestamp_ms":1787378898000,"timestamp_seconds":1787378898,"priority":1,"record_length":96,"hex_timestamp":"000001a028159450"} 
[2026-08-22 11:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:39: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-22 11:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-22 11:39: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-22 11:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:39:55] local.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-22 11:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568992512001,"66":27800,"250":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907796051968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 11:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568992512001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:39:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:39:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907796051968,"description":"Unknown IO ID 45"} 
[2026-08-22 11:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568992512001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907796051968}} 
[2026-08-22 11:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":160897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:39:55] local.INFO: GPS data processed {"connection_id":160897,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:39:55] local.INFO: Acknowledgment sent {"connection_id":160897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:40:25] local.INFO: TCP Data received {"connection_id":160897,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02815e658012d7f894005afe2180000002024..."} 
[2026-08-22 11:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02815e658012d7f894005afe2180000002024..."} 
[2026-08-22 11:40:25] local.INFO: Processing buffer {"connection_id":160897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02815e658012d7f894005afe2180000002024..."} 
[2026-08-22 11:40:25] local.INFO: Packet analysis {"connection_id":160897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02815"} 
[2026-08-22 11:40:25] local.INFO: Extracted packet for processing {"connection_id":160897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02815"} 
[2026-08-22 11:40:25] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95412760,"longitude_deg":76.3332928,"latitude_deg":9.541276,"altitude":0,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afe218","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457568997888001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925815686955008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907796051968,"note":"Value kept but may cause issues"} 
[2026-08-22 11:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787378919000,"timestamp_ms":1787378919000,"timestamp_seconds":1787378919,"priority":1,"record_length":96,"hex_timestamp":"000001a02815e658"} 
[2026-08-22 11: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-22 11: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-22 11: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":152,"data_length":795,"current_offset":136} 
[2026-08-22 11:40: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-22 11: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-22 11: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-22 11:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:40: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-22 11:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457568997888001,"66":28028,"33":206,"85":12544,"24":0,"16":388925815686955008,"45":9189946907796051968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 11:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457568997888001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:40:25] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 11:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925815686955008,"km_value":388925815686955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907796051968,"description":"Unknown IO ID 45"} 
[2026-08-22 11:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457568997888001,"power":28028,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907796051968}} 
[2026-08-22 11:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":160897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:40:25] local.INFO: GPS data processed {"connection_id":160897,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:40:25] local.INFO: Acknowledgment sent {"connection_id":160897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:40:49] local.INFO: TCP Data received {"connection_id":159741,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:40:49] local.INFO: Processing buffer {"connection_id":159741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:40:49] local.INFO: IMEI packet received {"connection_id":159741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":159741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:40:53] local.INFO: TCP Data received {"connection_id":159741,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:40:53] local.INFO: Processing buffer {"connection_id":159741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:40:53] local.INFO: IMEI packet received {"connection_id":159741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":159741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:40:54] local.INFO: TCP Data received {"connection_id":159741,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:40:54] local.INFO: Processing buffer {"connection_id":159741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:40:54] local.INFO: IMEI packet received {"connection_id":159741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":159741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:40:55] local.INFO: TCP Data received {"connection_id":159741,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a028162ca8012d7f8a0005afe4180000010424..."} 
[2026-08-22 11:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028162ca8012d7f8a0005afe4180000010424..."} 
[2026-08-22 11:40:55] local.INFO: Processing buffer {"connection_id":159741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028162ca8012d7f8a0005afe4180000010424..."} 
[2026-08-22 11:40:55] local.INFO: Packet analysis {"connection_id":159741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02816"} 
[2026-08-22 11:40:55] local.INFO: Extracted packet for processing {"connection_id":159741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02816"} 
[2026-08-22 11:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763333120,"raw_latitude":95413272,"longitude_deg":76.333312,"latitude_deg":9.5413272,"altitude":0,"angle":260,"satellites":36,"speed":1,"hex_longitude":"2d7f8a00","hex_latitude":"05afe418","is_valid_coordinates":true} 
[2026-08-22 11:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569003264001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925845751726080,"note":"Value kept but may cause issues"} 
[2026-08-22 11:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907796051968,"note":"Value kept but may cause issues"} 
[2026-08-22 11:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787378937000,"timestamp_ms":1787378937000,"timestamp_seconds":1787378937,"priority":1,"record_length":96,"hex_timestamp":"000001a028162ca8"} 
[2026-08-22 11:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:40: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-22 11:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-22 11:40:55] 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-22 11: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-22 11:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:40:55] 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-22 11:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569003264001,"66":27691,"33":206,"85":12544,"24":1,"16":388925845751726080,"45":9189946907796051968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-22 11:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569003264001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:40:55] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-22 11:40:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925845751726080,"km_value":388925845751726.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907796051968,"description":"Unknown IO ID 45"} 
[2026-08-22 11:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569003264001,"power":27691,"unknown_33":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9189946907796051968}} 
[2026-08-22 11:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":159741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:40:55] local.INFO: GPS data processed {"connection_id":159741,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:40:55] local.INFO: Acknowledgment sent {"connection_id":159741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:40:57] local.INFO: TCP Data received {"connection_id":159741,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a028167eb0012d7f89c005afe408000000fb25..."} 
[2026-08-22 11:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028167eb0012d7f89c005afe408000000fb25..."} 
[2026-08-22 11:40:57] local.INFO: Processing buffer {"connection_id":159741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028167eb0012d7f89c005afe408000000fb25..."} 
[2026-08-22 11:40:57] local.INFO: Packet analysis {"connection_id":159741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02816"} 
[2026-08-22 11:40:57] local.INFO: Extracted packet for processing {"connection_id":159741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02816"} 
[2026-08-22 11:40:57] local.INFO: GPS Element Parsed {"raw_longitude":763333056,"raw_latitude":95413256,"longitude_deg":76.3333056,"latitude_deg":9.5413256,"altitude":0,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7f89c0","hex_latitude":"05afe408","is_valid_coordinates":true} 
[2026-08-22 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-22 11:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569007872001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925850046693376,"note":"Value kept but may cause issues"} 
[2026-08-22 11:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190158014028716032,"note":"Value kept but may cause issues"} 
[2026-08-22 11:40: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-22 11:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787378958000,"timestamp_ms":1787378958000,"timestamp_seconds":1787378958,"priority":1,"record_length":96,"hex_timestamp":"000001a028167eb0"} 
[2026-08-22 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-22 11: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-22 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-22 11:40:57] 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-22 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-22 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-22 11:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:40: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-22 11:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569007872001,"66":27995,"250":206,"85":12544,"24":0,"16":388925850046693376,"45":9190158014028716032},"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-22 11:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569007872001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:40:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:40:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925850046693376,"km_value":388925850046693.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190158014028716032,"description":"Unknown IO ID 45"} 
[2026-08-22 11:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569007872001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190158014028716032}} 
[2026-08-22 11:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":159741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:40:57] local.INFO: GPS data processed {"connection_id":159741,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:40:57] local.INFO: Acknowledgment sent {"connection_id":159741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:41:28] local.INFO: TCP Data received {"connection_id":159741,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02817b730012d7f99c005afd928000000782a..."} 
[2026-08-22 11:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02817b730012d7f99c005afd928000000782a..."} 
[2026-08-22 11:41:28] local.INFO: Processing buffer {"connection_id":159741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02817b730012d7f99c005afd928000000782a..."} 
[2026-08-22 11:41:28] local.INFO: Packet analysis {"connection_id":159741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02817"} 
[2026-08-22 11:41:28] local.INFO: Extracted packet for processing {"connection_id":159741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02817"} 
[2026-08-22 11:41:28] local.INFO: GPS Element Parsed {"raw_longitude":763337152,"raw_latitude":95410472,"longitude_deg":76.3337152,"latitude_deg":9.5410472,"altitude":0,"angle":120,"satellites":42,"speed":7,"hex_longitude":"2d7f99c0","hex_latitude":"05afd928","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569033472001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926163579305984,"note":"Value kept but may cause issues"} 
[2026-08-22 11:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507422855168,"note":"Value kept but may cause issues"} 
[2026-08-22 11:41: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-22 11:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787379038000,"timestamp_ms":1787379038000,"timestamp_seconds":1787379038,"priority":1,"record_length":96,"hex_timestamp":"000001a02817b730"} 
[2026-08-22 11: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-22 11:41: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-22 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-22 11:41:28] 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-22 11: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-22 11: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-22 11:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:41:28] 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-22 11:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569033472001,"66":27995,"250":206,"85":12544,"24":7,"16":388926163579305984,"45":9194450507422855168},"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-22 11:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569033472001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:41:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:41:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926163579305984,"km_value":388926163579306.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507422855168,"description":"Unknown IO ID 45"} 
[2026-08-22 11:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569033472001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9194450507422855168}} 
[2026-08-22 11:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":159741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:41:28] local.INFO: GPS data processed {"connection_id":159741,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:41:28] local.INFO: Acknowledgment sent {"connection_id":159741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:41:49] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:41:49] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:41:49] local.INFO: IMEI packet received {"connection_id":159993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":159993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:41:54] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:41:54] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:41:54] local.INFO: IMEI packet received {"connection_id":159993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":159993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:41:55] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02817bb18012d7f9a8005afd8f0000000682b..."} 
[2026-08-22 11:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02817bb18012d7f9a8005afd8f0000000682b..."} 
[2026-08-22 11:41:55] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02817bb18012d7f9a8005afd8f0000000682b..."} 
[2026-08-22 11:41:55] local.INFO: Packet analysis {"connection_id":159993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02817"} 
[2026-08-22 11:41:55] local.INFO: Extracted packet for processing {"connection_id":159993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02817"} 
[2026-08-22 11:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763337344,"raw_latitude":95410416,"longitude_deg":76.3337344,"latitude_deg":9.5410416,"altitude":0,"angle":104,"satellites":43,"speed":7,"hex_longitude":"2d7f9a80","hex_latitude":"05afd8f0","is_valid_coordinates":true} 
[2026-08-22 11:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569033728001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926172169240576,"note":"Value kept but may cause issues"} 
[2026-08-22 11:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194591244911192064,"note":"Value kept but may cause issues"} 
[2026-08-22 11:41: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-22 11:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787379039000,"timestamp_ms":1787379039000,"timestamp_seconds":1787379039,"priority":1,"record_length":96,"hex_timestamp":"000001a02817bb18"} 
[2026-08-22 11:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:41: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-22 11:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-22 11:41: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-22 11:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:41:55] 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-22 11:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569033728001,"66":27995,"250":206,"85":12544,"24":7,"16":388926172169240576,"45":9194591244911192064},"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-22 11:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569033728001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:41:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:41:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926172169240576,"km_value":388926172169240.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194591244911192064,"description":"Unknown IO ID 45"} 
[2026-08-22 11:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569033728001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9194591244911192064}} 
[2026-08-22 11:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":159993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:41:55] local.INFO: GPS data processed {"connection_id":159993,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:41:55] local.INFO: Acknowledgment sent {"connection_id":159993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:42:26] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02817cea0012d7f9d0005afd868000000782b..."} 
[2026-08-22 11:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02817cea0012d7f9d0005afd868000000782b..."} 
[2026-08-22 11:42:26] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02817cea0012d7f9d0005afd868000000782b..."} 
[2026-08-22 11:42:26] local.INFO: Packet analysis {"connection_id":159993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02817"} 
[2026-08-22 11:42:26] local.INFO: Extracted packet for processing {"connection_id":159993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02817"} 
[2026-08-22 11:42:26] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95410280,"longitude_deg":76.3337984,"latitude_deg":9.541028,"altitude":0,"angle":120,"satellites":43,"speed":3,"hex_longitude":"2d7f9d00","hex_latitude":"05afd868","is_valid_coordinates":true} 
[2026-08-22 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-22 11:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569033984001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926206528978944,"note":"Value kept but may cause issues"} 
[2026-08-22 11:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351143710720,"note":"Value kept but may cause issues"} 
[2026-08-22 11:42: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-22 11:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787379044000,"timestamp_ms":1787379044000,"timestamp_seconds":1787379044,"priority":1,"record_length":96,"hex_timestamp":"000001a02817cea0"} 
[2026-08-22 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-22 11:42: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-22 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-22 11:42: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-22 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-22 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-22 11:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:42: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-22 11:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569033984001,"66":27843,"250":206,"85":12544,"24":3,"16":388926206528978944,"45":9194802351143710720},"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-22 11:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569033984001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:42:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:42:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926206528978944,"km_value":388926206528978.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351143710720,"description":"Unknown IO ID 45"} 
[2026-08-22 11:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569033984001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9194802351143710720}} 
[2026-08-22 11:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":159993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:42:26] local.INFO: GPS data processed {"connection_id":159993,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:42:26] local.INFO: Acknowledgment sent {"connection_id":159993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:42:53] local.INFO: TCP Data received {"connection_id":162315,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:42:53] local.INFO: Processing buffer {"connection_id":162315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:42:53] local.INFO: IMEI packet received {"connection_id":162315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":162315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:42:54] local.INFO: TCP Data received {"connection_id":162315,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:42:54] local.INFO: Processing buffer {"connection_id":162315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:42:54] local.INFO: IMEI packet received {"connection_id":162315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":162315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:42:55] local.INFO: TCP Data received {"connection_id":162315,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:42:55] local.INFO: Processing buffer {"connection_id":162315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:42:55] local.INFO: IMEI packet received {"connection_id":162315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":162315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:42:56] local.INFO: TCP Data received {"connection_id":162315,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02817ede0012d7f9f4005afd7600004006b2c..."} 
[2026-08-22 11:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02817ede0012d7f9f4005afd7600004006b2c..."} 
[2026-08-22 11:42:56] local.INFO: Processing buffer {"connection_id":162315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02817ede0012d7f9f4005afd7600004006b2c..."} 
[2026-08-22 11:42:56] local.INFO: Packet analysis {"connection_id":162315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02817"} 
[2026-08-22 11:42:56] local.INFO: Extracted packet for processing {"connection_id":162315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02817"} 
[2026-08-22 11:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95410016,"longitude_deg":76.333856,"latitude_deg":9.5410016,"altitude":4,"angle":107,"satellites":44,"speed":1,"hex_longitude":"2d7f9f40","hex_latitude":"05afd760","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569035264001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926236593750016,"note":"Value kept but may cause issues"} 
[2026-08-22 11:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585452544,"note":"Value kept but may cause issues"} 
[2026-08-22 11: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-22 11:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787379052000,"timestamp_ms":1787379052000,"timestamp_seconds":1787379052,"priority":1,"record_length":96,"hex_timestamp":"000001a02817ede0"} 
[2026-08-22 11: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-22 11: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-22 11: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":195,"data_length":795,"current_offset":136} 
[2026-08-22 11:42: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-22 11: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-22 11: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-22 11:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:42: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-22 11:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569035264001,"66":27767,"250":206,"85":12544,"24":1,"16":388926236593750016,"45":9195506038585452544},"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-22 11:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569035264001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:42:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926236593750016,"km_value":388926236593750.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585452544,"description":"Unknown IO ID 45"} 
[2026-08-22 11:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569035264001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9195506038585452544}} 
[2026-08-22 11:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":162315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:42:56] local.INFO: GPS data processed {"connection_id":162315,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:42:56] local.INFO: Acknowledgment sent {"connection_id":162315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:43:27] local.INFO: TCP Data received {"connection_id":162315,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a028183430012d7f9f8005afd7200005006b2b..."} 
[2026-08-22 11:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028183430012d7f9f8005afd7200005006b2b..."} 
[2026-08-22 11:43:27] local.INFO: Processing buffer {"connection_id":162315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028183430012d7f9f8005afd7200005006b2b..."} 
[2026-08-22 11:43:27] local.INFO: Packet analysis {"connection_id":162315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02818"} 
[2026-08-22 11:43:27] local.INFO: Extracted packet for processing {"connection_id":162315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02818"} 
[2026-08-22 11:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763338624,"raw_latitude":95409952,"longitude_deg":76.3338624,"latitude_deg":9.5409952,"altitude":5,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2d7f9f80","hex_latitude":"05afd720","is_valid_coordinates":true} 
[2026-08-22 11:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569037312001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926245183684608,"note":"Value kept but may cause issues"} 
[2026-08-22 11:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282983936,"note":"Value kept but may cause issues"} 
[2026-08-22 11:43: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-22 11:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787379070000,"timestamp_ms":1787379070000,"timestamp_seconds":1787379070,"priority":1,"record_length":96,"hex_timestamp":"000001a028183430"} 
[2026-08-22 11: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-22 11:43: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-22 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 11:43:27] 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-22 11: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-22 11: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-22 11:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:43:27] 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-22 11:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569037312001,"66":27908,"250":206,"85":12544,"24":0,"16":388926245183684608,"45":9196139357282983936},"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-22 11:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569037312001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:43:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926245183684608,"km_value":388926245183684.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282983936,"description":"Unknown IO ID 45"} 
[2026-08-22 11:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569037312001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282983936}} 
[2026-08-22 11:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":162315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:43:27] local.INFO: GPS data processed {"connection_id":162315,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:43:27] local.INFO: Acknowledgment sent {"connection_id":162315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:43:49] local.INFO: TCP Data received {"connection_id":159742,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:43:49] local.INFO: Processing buffer {"connection_id":159742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:43:49] local.INFO: IMEI packet received {"connection_id":159742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":159742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:43:54] local.INFO: TCP Data received {"connection_id":159742,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:43:54] local.INFO: Processing buffer {"connection_id":159742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:43:54] local.INFO: IMEI packet received {"connection_id":159742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":159742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:43:55] local.INFO: TCP Data received {"connection_id":159742,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a028193218012d7fa90005afdd20000d006b29..."} 
[2026-08-22 11:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028193218012d7fa90005afdd20000d006b29..."} 
[2026-08-22 11:43:55] local.INFO: Processing buffer {"connection_id":159742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028193218012d7fa90005afdd20000d006b29..."} 
[2026-08-22 11:43:55] local.INFO: Packet analysis {"connection_id":159742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02819"} 
[2026-08-22 11:43:55] local.INFO: Extracted packet for processing {"connection_id":159742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02819"} 
[2026-08-22 11:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763341056,"raw_latitude":95411488,"longitude_deg":76.3341056,"latitude_deg":9.5411488,"altitude":13,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2d7fa900","hex_latitude":"05afdd20","is_valid_coordinates":true} 
[2026-08-22 11:43: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-22 11:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569041920001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926245183684608,"note":"Value kept but may cause issues"} 
[2026-08-22 11:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196209726027145216,"note":"Value kept but may cause issues"} 
[2026-08-22 11:43: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-22 11:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787379135000,"timestamp_ms":1787379135000,"timestamp_seconds":1787379135,"priority":1,"record_length":96,"hex_timestamp":"000001a028193218"} 
[2026-08-22 11: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-22 11:43: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-22 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 11:43: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-22 11: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-22 11: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-22 11:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:43:55] 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-22 11:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569041920001,"66":26789,"250":206,"85":12544,"24":0,"16":388926245183684608,"45":9196209726027145216},"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-22 11:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569041920001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:43:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:43:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926245183684608,"km_value":388926245183684.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196209726027145216,"description":"Unknown IO ID 45"} 
[2026-08-22 11:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569041920001,"power":26789,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196209726027145216}} 
[2026-08-22 11:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":159742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:43:55] local.INFO: GPS data processed {"connection_id":159742,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:43:55] local.INFO: Acknowledgment sent {"connection_id":159742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:44:26] local.INFO: TCP Data received {"connection_id":159742,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0281939e8012d7faa8005afe120000d000a28..."} 
[2026-08-22 11:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281939e8012d7faa8005afe120000d000a28..."} 
[2026-08-22 11:44:26] local.INFO: Processing buffer {"connection_id":159742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281939e8012d7faa8005afe120000d000a28..."} 
[2026-08-22 11:44:26] local.INFO: Packet analysis {"connection_id":159742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02819"} 
[2026-08-22 11:44:26] local.INFO: Extracted packet for processing {"connection_id":159742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02819"} 
[2026-08-22 11:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95412512,"longitude_deg":76.334144,"latitude_deg":9.5412512,"altitude":13,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afe120","is_valid_coordinates":true} 
[2026-08-22 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-22 11:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569058560001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926245183684608,"note":"Value kept but may cause issues"} 
[2026-08-22 11:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198883738306289664,"note":"Value kept but may cause issues"} 
[2026-08-22 11:44: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-22 11:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787379137000,"timestamp_ms":1787379137000,"timestamp_seconds":1787379137,"priority":1,"record_length":96,"hex_timestamp":"000001a0281939e8"} 
[2026-08-22 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-22 11: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-22 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":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-22 11:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 11:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:44: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-22 11:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569058560001,"66":26691,"250":206,"85":12544,"24":0,"16":388926245183684608,"45":9198883738306289664},"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-22 11:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569058560001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:44:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 11:44:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926245183684608,"km_value":388926245183684.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198883738306289664,"description":"Unknown IO ID 45"} 
[2026-08-22 11:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569058560001,"power":26691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198883738306289664}} 
[2026-08-22 11:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":159742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:44:26] local.INFO: GPS data processed {"connection_id":159742,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:44:26] local.INFO: Acknowledgment sent {"connection_id":159742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:44:54] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:44:54] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:44:54] local.INFO: IMEI packet received {"connection_id":159994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":159994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:44:59] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:44:59] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:44:59] local.INFO: IMEI packet received {"connection_id":159994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":159994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:45:00] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0281a8208012d7fae0005afe308000c00e42d..."} 
[2026-08-22 11:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281a8208012d7fae0005afe308000c00e42d..."} 
[2026-08-22 11:45:00] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281a8208012d7fae0005afe308000c00e42d..."} 
[2026-08-22 11:45:00] local.INFO: Packet analysis {"connection_id":159994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:45:00] local.INFO: Extracted packet for processing {"connection_id":159994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763342336,"raw_latitude":95413000,"longitude_deg":76.3342336,"latitude_deg":9.5413,"altitude":12,"angle":228,"satellites":45,"speed":0,"hex_longitude":"2d7fae00","hex_latitude":"05afe308","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569080320001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926348262899712,"note":"Value kept but may cause issues"} 
[2026-08-22 11:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200431850678589440,"note":"Value kept but may cause issues"} 
[2026-08-22 11:45:00] 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-22 11:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787379221000,"timestamp_ms":1787379221000,"timestamp_seconds":1787379221,"priority":1,"record_length":96,"hex_timestamp":"000001a0281a8208"} 
[2026-08-22 11: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-22 11: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-22 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 11:45: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-22 11: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-22 11: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-22 11:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:45: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-22 11:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569080320001,"66":27800,"27":206,"85":12544,"24":0,"16":388926348262899712,"45":9200431850678589440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 11:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569080320001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:45:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 11:45:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926348262899712,"km_value":388926348262899.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200431850678589440,"description":"Unknown IO ID 45"} 
[2026-08-22 11:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569080320001,"power":27800,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200431850678589440}} 
[2026-08-22 11:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":159994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:45:00] local.INFO: GPS data processed {"connection_id":159994,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:45:00] local.INFO: Acknowledgment sent {"connection_id":159994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:45:32] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0281ad410012d7fadc005afe330000c00e42e..."} 
[2026-08-22 11:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281ad410012d7fadc005afe330000c00e42e..."} 
[2026-08-22 11:45:32] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281ad410012d7fadc005afe330000c00e42e..."} 
[2026-08-22 11:45:32] local.INFO: Packet analysis {"connection_id":159994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:45:32] local.INFO: Extracted packet for processing {"connection_id":159994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95413040,"longitude_deg":76.3342272,"latitude_deg":9.541304,"altitude":12,"angle":228,"satellites":46,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569080576001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926352557867008,"note":"Value kept but may cause issues"} 
[2026-08-22 11:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200291113190230016,"note":"Value kept but may cause issues"} 
[2026-08-22 11:45:32] 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-22 11:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787379242000,"timestamp_ms":1787379242000,"timestamp_seconds":1787379242,"priority":1,"record_length":96,"hex_timestamp":"000001a0281ad410"} 
[2026-08-22 11: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-22 11:45: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-22 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 11:45: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-22 11: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-22 11: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-22 11:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:45: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-22 11:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569080576001,"66":27093,"27":206,"85":12544,"24":0,"16":388926352557867008,"45":9200291113190230016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 11:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569080576001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:45:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 11:45:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926352557867008,"km_value":388926352557867.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200291113190230016,"description":"Unknown IO ID 45"} 
[2026-08-22 11:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569080576001,"power":27093,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200291113190230016}} 
[2026-08-22 11:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":159994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:45:32] local.INFO: GPS data processed {"connection_id":159994,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:45:32] local.INFO: Acknowledgment sent {"connection_id":159994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:45:49] local.INFO: TCP Data received {"connection_id":159743,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:45:49] local.INFO: Processing buffer {"connection_id":159743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:45:49] local.INFO: IMEI packet received {"connection_id":159743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":159743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:45:54] local.INFO: TCP Data received {"connection_id":159743,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:45:54] local.INFO: Processing buffer {"connection_id":159743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:45:54] local.INFO: IMEI packet received {"connection_id":159743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":159743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:46:01] local.INFO: TCP Data received {"connection_id":159743,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0281ad7f8012d7fac4005afe3d8000c011a2e..."} 
[2026-08-22 11:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281ad7f8012d7fac4005afe3d8000c011a2e..."} 
[2026-08-22 11:46:01] local.INFO: Processing buffer {"connection_id":159743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281ad7f8012d7fac4005afe3d8000c011a2e..."} 
[2026-08-22 11:46:01] local.INFO: Packet analysis {"connection_id":159743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:46:01] local.INFO: Extracted packet for processing {"connection_id":159743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:46:01] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413208,"longitude_deg":76.3341888,"latitude_deg":9.5413208,"altitude":12,"angle":282,"satellites":46,"speed":2,"hex_longitude":"2d7fac40","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569085952001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926369737736192,"note":"Value kept but may cause issues"} 
[2026-08-22 11:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744446062592,"note":"Value kept but may cause issues"} 
[2026-08-22 11:46:01] 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-22 11:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787379243000,"timestamp_ms":1787379243000,"timestamp_seconds":1787379243,"priority":1,"record_length":96,"hex_timestamp":"000001a0281ad7f8"} 
[2026-08-22 11: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-22 11: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-22 11: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":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-08-22 11:46:01] 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-22 11: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-22 11: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-22 11:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:46: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-22 11:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569085952001,"66":27093,"27":206,"85":12544,"24":2,"16":388926369737736192,"45":9200220744446062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 11:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569085952001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:46:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 11:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926369737736192,"km_value":388926369737736.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744446062592,"description":"Unknown IO ID 45"} 
[2026-08-22 11:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569085952001,"power":27093,"unknown_27":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9200220744446062592}} 
[2026-08-22 11:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":159743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:46:01] local.INFO: GPS data processed {"connection_id":159743,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:46:01] local.INFO: Acknowledgment sent {"connection_id":159743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:46:34] local.INFO: TCP Data received {"connection_id":159743,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:46:34] local.INFO: Processing buffer {"connection_id":159743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:46:34] local.INFO: Packet analysis {"connection_id":159743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:46:34] local.INFO: Extracted packet for processing {"connection_id":159743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:46:34] local.INFO: GPS Element Parsed {"raw_longitude":763341824,"raw_latitude":95413216,"longitude_deg":76.3341824,"latitude_deg":9.5413216,"altitude":12,"angle":290,"satellites":45,"speed":1,"hex_longitude":"2d7fac00","hex_latitude":"05afe3e0","is_valid_coordinates":true} 
[2026-08-22 11:46: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-22 11:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086208001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981039616,"note":"Value kept but may cause issues"} 
[2026-08-22 11:46:34] 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-22 11:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787379244000,"timestamp_ms":1787379244000,"timestamp_seconds":1787379244,"priority":1,"record_length":96,"hex_timestamp":"000001a0281adbe0"} 
[2026-08-22 11: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-22 11: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-22 11: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":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-08-22 11:46:34] 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-22 11: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-22 11: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-22 11:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:46: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-22 11:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086208001,"66":27908,"27":206,"85":12544,"24":1,"16":388926374032703488,"45":9199798531981039616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 11:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086208001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:46:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 11:46:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981039616,"description":"Unknown IO ID 45"} 
[2026-08-22 11:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086208001,"power":27908,"unknown_27":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9199798531981039616}} 
[2026-08-22 11:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":159743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:46:34] local.INFO: GPS data processed {"connection_id":159743,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:46:34] local.INFO: Acknowledgment sent {"connection_id":159743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:46:49] local.INFO: TCP Data received {"connection_id":162316,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:46:49] local.INFO: Processing buffer {"connection_id":162316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:46:49] local.INFO: IMEI packet received {"connection_id":162316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":162316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:46:54] local.INFO: TCP Data received {"connection_id":162316,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:46:54] local.INFO: Processing buffer {"connection_id":162316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:46:54] local.INFO: IMEI packet received {"connection_id":162316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":162316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:46:55] local.INFO: TCP Data received {"connection_id":162316,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:46:55] local.INFO: Processing buffer {"connection_id":162316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:46:55] local.INFO: Packet analysis {"connection_id":162316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:46:55] local.INFO: Extracted packet for processing {"connection_id":162316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:46:55] local.INFO: GPS Element Parsed {"raw_longitude":763341824,"raw_latitude":95413216,"longitude_deg":76.3341824,"latitude_deg":9.5413216,"altitude":12,"angle":290,"satellites":45,"speed":1,"hex_longitude":"2d7fac00","hex_latitude":"05afe3e0","is_valid_coordinates":true} 
[2026-08-22 11:46: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-22 11:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086208001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981039616,"note":"Value kept but may cause issues"} 
[2026-08-22 11:46:55] 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-22 11:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787379244000,"timestamp_ms":1787379244000,"timestamp_seconds":1787379244,"priority":1,"record_length":96,"hex_timestamp":"000001a0281adbe0"} 
[2026-08-22 11: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-22 11:46: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-22 11: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":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-08-22 11:46:55] 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-22 11: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-22 11: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-22 11:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:46:55] 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-22 11:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086208001,"66":27908,"27":206,"85":12544,"24":1,"16":388926374032703488,"45":9199798531981039616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 11:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086208001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:46:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 11:46:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981039616,"description":"Unknown IO ID 45"} 
[2026-08-22 11:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086208001,"power":27908,"unknown_27":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9199798531981039616}} 
[2026-08-22 11:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":162316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:46:55] local.INFO: GPS data processed {"connection_id":162316,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:46:55] local.INFO: Acknowledgment sent {"connection_id":162316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:47:26] local.INFO: TCP Data received {"connection_id":162316,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:47:26] local.INFO: Processing buffer {"connection_id":162316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:47:26] local.INFO: Packet analysis {"connection_id":162316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:47:26] local.INFO: Extracted packet for processing {"connection_id":162316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:47:26] local.INFO: GPS Element Parsed {"raw_longitude":763341824,"raw_latitude":95413216,"longitude_deg":76.3341824,"latitude_deg":9.5413216,"altitude":12,"angle":290,"satellites":45,"speed":1,"hex_longitude":"2d7fac00","hex_latitude":"05afe3e0","is_valid_coordinates":true} 
[2026-08-22 11:47: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-22 11:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086208001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981039616,"note":"Value kept but may cause issues"} 
[2026-08-22 11:47:26] 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-22 11:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787379244000,"timestamp_ms":1787379244000,"timestamp_seconds":1787379244,"priority":1,"record_length":96,"hex_timestamp":"000001a0281adbe0"} 
[2026-08-22 11: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-22 11: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-22 11: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":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-08-22 11:47:26] 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-22 11: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-22 11: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-22 11:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:47: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-22 11:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086208001,"66":27908,"27":206,"85":12544,"24":1,"16":388926374032703488,"45":9199798531981039616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 11:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086208001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:47:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 11:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981039616,"description":"Unknown IO ID 45"} 
[2026-08-22 11:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086208001,"power":27908,"unknown_27":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9199798531981039616}} 
[2026-08-22 11:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":162316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:47:26] local.INFO: GPS data processed {"connection_id":162316,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:47:26] local.INFO: Acknowledgment sent {"connection_id":162316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:47:54] local.INFO: TCP Data received {"connection_id":159995,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:47:54] local.INFO: Processing buffer {"connection_id":159995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:47:54] local.INFO: IMEI packet received {"connection_id":159995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":159995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:47:59] local.INFO: TCP Data received {"connection_id":159995,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:47:59] local.INFO: Processing buffer {"connection_id":159995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:47:59] local.INFO: IMEI packet received {"connection_id":159995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":159995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:48:00] local.INFO: TCP Data received {"connection_id":159995,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:48:00] local.INFO: Processing buffer {"connection_id":159995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:48:00] local.INFO: Packet analysis {"connection_id":159995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:48:00] local.INFO: Extracted packet for processing {"connection_id":159995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763341824,"raw_latitude":95413216,"longitude_deg":76.3341824,"latitude_deg":9.5413216,"altitude":12,"angle":290,"satellites":45,"speed":1,"hex_longitude":"2d7fac00","hex_latitude":"05afe3e0","is_valid_coordinates":true} 
[2026-08-22 11:48: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-22 11:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086208001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981039616,"note":"Value kept but may cause issues"} 
[2026-08-22 11:48:00] 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-22 11:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787379244000,"timestamp_ms":1787379244000,"timestamp_seconds":1787379244,"priority":1,"record_length":96,"hex_timestamp":"000001a0281adbe0"} 
[2026-08-22 11: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-22 11:48: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-22 11: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":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-08-22 11:48:00] 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-22 11: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-22 11: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-22 11:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:48: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-22 11:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086208001,"66":27908,"27":206,"85":12544,"24":1,"16":388926374032703488,"45":9199798531981039616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 11:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086208001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:48:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 11:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981039616,"description":"Unknown IO ID 45"} 
[2026-08-22 11:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086208001,"power":27908,"unknown_27":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9199798531981039616}} 
[2026-08-22 11:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":159995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:48:00] local.INFO: GPS data processed {"connection_id":159995,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:48:00] local.INFO: Acknowledgment sent {"connection_id":159995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:48:04] local.INFO: TCP Data received {"connection_id":159995,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:48:04] local.INFO: Processing buffer {"connection_id":159995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:48:04] local.INFO: Packet analysis {"connection_id":159995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:48:04] local.INFO: Extracted packet for processing {"connection_id":159995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763341824,"raw_latitude":95413216,"longitude_deg":76.3341824,"latitude_deg":9.5413216,"altitude":12,"angle":290,"satellites":45,"speed":1,"hex_longitude":"2d7fac00","hex_latitude":"05afe3e0","is_valid_coordinates":true} 
[2026-08-22 11:48: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-22 11:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086208001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981039616,"note":"Value kept but may cause issues"} 
[2026-08-22 11:48:04] 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-22 11:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787379244000,"timestamp_ms":1787379244000,"timestamp_seconds":1787379244,"priority":1,"record_length":96,"hex_timestamp":"000001a0281adbe0"} 
[2026-08-22 11: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-22 11: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-22 11: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":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-08-22 11:48:04] 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-22 11: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-22 11: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-22 11:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:48: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-22 11:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086208001,"66":27908,"27":206,"85":12544,"24":1,"16":388926374032703488,"45":9199798531981039616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 11:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086208001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:48:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 11:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981039616,"description":"Unknown IO ID 45"} 
[2026-08-22 11:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086208001,"power":27908,"unknown_27":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9199798531981039616}} 
[2026-08-22 11:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":159995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:48:04] local.INFO: GPS data processed {"connection_id":159995,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:48:04] local.INFO: Acknowledgment sent {"connection_id":159995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:48:49] local.INFO: TCP Data received {"connection_id":160898,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:48:49] local.INFO: Processing buffer {"connection_id":160898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:48:49] local.INFO: IMEI packet received {"connection_id":160898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":160898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:48:54] local.INFO: TCP Data received {"connection_id":160898,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:48:54] local.INFO: Processing buffer {"connection_id":160898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:48:54] local.INFO: IMEI packet received {"connection_id":160898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":160898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:48:55] local.INFO: TCP Data received {"connection_id":160898,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:48:55] local.INFO: Processing buffer {"connection_id":160898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:48:55] local.INFO: Packet analysis {"connection_id":160898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:48:55] local.INFO: Extracted packet for processing {"connection_id":160898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:48:55] local.INFO: GPS Element Parsed {"raw_longitude":763341824,"raw_latitude":95413216,"longitude_deg":76.3341824,"latitude_deg":9.5413216,"altitude":12,"angle":290,"satellites":45,"speed":1,"hex_longitude":"2d7fac00","hex_latitude":"05afe3e0","is_valid_coordinates":true} 
[2026-08-22 11:48: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-22 11:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086208001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981039616,"note":"Value kept but may cause issues"} 
[2026-08-22 11:48:55] 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-22 11:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787379244000,"timestamp_ms":1787379244000,"timestamp_seconds":1787379244,"priority":1,"record_length":96,"hex_timestamp":"000001a0281adbe0"} 
[2026-08-22 11:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:48: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-22 11:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-08-22 11:48:55] 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-22 11: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-22 11:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:48:55] 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-22 11:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086208001,"66":27908,"27":206,"85":12544,"24":1,"16":388926374032703488,"45":9199798531981039616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 11:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086208001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:48:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 11:48:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981039616,"description":"Unknown IO ID 45"} 
[2026-08-22 11:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086208001,"power":27908,"unknown_27":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9199798531981039616}} 
[2026-08-22 11:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":160898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:48:55] local.INFO: GPS data processed {"connection_id":160898,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:48:55] local.INFO: Acknowledgment sent {"connection_id":160898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:49:26] local.INFO: TCP Data received {"connection_id":160898,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:49:26] local.INFO: Processing buffer {"connection_id":160898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281adbe0012d7fac0005afe3e0000c01222d..."} 
[2026-08-22 11:49:26] local.INFO: Packet analysis {"connection_id":160898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:49:26] local.INFO: Extracted packet for processing {"connection_id":160898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281a"} 
[2026-08-22 11:49:26] local.INFO: GPS Element Parsed {"raw_longitude":763341824,"raw_latitude":95413216,"longitude_deg":76.3341824,"latitude_deg":9.5413216,"altitude":12,"angle":290,"satellites":45,"speed":1,"hex_longitude":"2d7fac00","hex_latitude":"05afe3e0","is_valid_coordinates":true} 
[2026-08-22 11:49: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-22 11:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086208001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981039616,"note":"Value kept but may cause issues"} 
[2026-08-22 11:49:26] 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-22 11:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787379244000,"timestamp_ms":1787379244000,"timestamp_seconds":1787379244,"priority":1,"record_length":96,"hex_timestamp":"000001a0281adbe0"} 
[2026-08-22 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-22 11:49: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-22 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":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-08-22 11:49:26] 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-22 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-22 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-22 11:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:49:26] 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-22 11:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086208001,"66":27908,"27":206,"85":12544,"24":1,"16":388926374032703488,"45":9199798531981039616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 11:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086208001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:49:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 11:49:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981039616,"description":"Unknown IO ID 45"} 
[2026-08-22 11:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086208001,"power":27908,"unknown_27":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9199798531981039616}} 
[2026-08-22 11:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":160898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:49:26] local.INFO: GPS data processed {"connection_id":160898,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:49:26] local.INFO: Acknowledgment sent {"connection_id":160898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:49:28] local.INFO: TCP Data received {"connection_id":160899,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:49:28] local.INFO: Processing buffer {"connection_id":160899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:49:28] local.INFO: IMEI packet received {"connection_id":160899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":160899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:49:33] local.INFO: TCP Data received {"connection_id":160899,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:49:33] local.INFO: Processing buffer {"connection_id":160899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:49:33] local.INFO: IMEI packet received {"connection_id":160899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":160899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:49:34] local.INFO: TCP Data received {"connection_id":160899,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0281e8d30012d18d080072129d0004601582a..."} 
[2026-08-22 11:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281e8d30012d18d080072129d0004601582a..."} 
[2026-08-22 11:49:34] local.INFO: Processing buffer {"connection_id":160899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281e8d30012d18d080072129d0004601582a..."} 
[2026-08-22 11:49:34] local.INFO: Packet analysis {"connection_id":160899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281e"} 
[2026-08-22 11:49:34] local.INFO: Extracted packet for processing {"connection_id":160899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281e"} 
[2026-08-22 11:49:34] local.INFO: GPS Element Parsed {"raw_longitude":756600960,"raw_latitude":119613904,"longitude_deg":75.660096,"latitude_deg":11.9613904,"altitude":70,"angle":344,"satellites":42,"speed":35,"hex_longitude":"2d18d080","hex_latitude":"072129d0","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569147392001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14433795943956480,"note":"Value kept but may cause issues"} 
[2026-08-22 11:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557663002624,"note":"Value kept but may cause issues"} 
[2026-08-22 11:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787379486000,"timestamp_ms":1787379486000,"timestamp_seconds":1787379486,"priority":1,"record_length":96,"hex_timestamp":"000001a0281e8d30"} 
[2026-08-22 11: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-22 11:49:34] 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-22 11: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-22 11:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11: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-22 11: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-22 11:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 11:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569147392001,"66":13798,"121":206,"28":31744,"24":35,"16":14433795943956480,"45":1788210557663002624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-22 11:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569147392001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:49:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-22 11:49:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-22 11:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14433795943956480,"km_value":14433795943956.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557663002624,"description":"Unknown IO ID 45"} 
[2026-08-22 11:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569147392001,"power":13798,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1788210557663002624}} 
[2026-08-22 11:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":160899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:49:34] local.INFO: GPS data processed {"connection_id":160899,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:49:34] local.INFO: Acknowledgment sent {"connection_id":160899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:49:49] local.INFO: TCP Data received {"connection_id":159744,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:49:49] local.INFO: Processing buffer {"connection_id":159744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:49:49] local.INFO: IMEI packet received {"connection_id":159744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":159744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:49:54] local.INFO: TCP Data received {"connection_id":159744,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:49:54] local.INFO: Processing buffer {"connection_id":159744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:49:54] local.INFO: IMEI packet received {"connection_id":159744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":159744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:49:55] local.INFO: TCP Data received {"connection_id":159744,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:49:55] local.INFO: Processing buffer {"connection_id":159744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:49:55] local.INFO: Packet analysis {"connection_id":159744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:49:55] local.INFO: Extracted packet for processing {"connection_id":159744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:49:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086464001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199728163236864000,"note":"Value kept but may cause issues"} 
[2026-08-22 11:49: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-22 11:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787379547000,"timestamp_ms":1787379547000,"timestamp_seconds":1787379547,"priority":1,"record_length":96,"hex_timestamp":"000001a0281f7b78"} 
[2026-08-22 11: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-22 11:49: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-22 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 11:49: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-22 11: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-22 11: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-22 11:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:49: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-22 11:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086464001,"66":26310,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199728163236864000},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086464001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:49:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:49:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199728163236864000,"description":"Unknown IO ID 45"} 
[2026-08-22 11:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086464001,"power":26310,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199728163236864000}} 
[2026-08-22 11:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":159744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:49:55] local.INFO: GPS data processed {"connection_id":159744,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:49:55] local.INFO: Acknowledgment sent {"connection_id":159744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:50:03] local.INFO: TCP Data received {"connection_id":162317,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:50:03] local.INFO: Processing buffer {"connection_id":162317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:50:03] local.INFO: IMEI packet received {"connection_id":162317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":162317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:50:08] local.INFO: TCP Data received {"connection_id":162317,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:50:08] local.INFO: Processing buffer {"connection_id":162317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:50:08] local.INFO: IMEI packet received {"connection_id":162317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":162317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:50:09] local.INFO: TCP Data received {"connection_id":162317,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0281e9500012d18cd80072130200047014a2a..."} 
[2026-08-22 11:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281e9500012d18cd80072130200047014a2a..."} 
[2026-08-22 11:50:09] local.INFO: Processing buffer {"connection_id":162317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281e9500012d18cd80072130200047014a2a..."} 
[2026-08-22 11:50:09] local.INFO: Packet analysis {"connection_id":162317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281e"} 
[2026-08-22 11:50:09] local.INFO: Extracted packet for processing {"connection_id":162317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281e"} 
[2026-08-22 11:50:09] local.INFO: GPS Element Parsed {"raw_longitude":756600192,"raw_latitude":119615520,"longitude_deg":75.6600192,"latitude_deg":11.961552,"altitude":71,"angle":330,"satellites":42,"speed":35,"hex_longitude":"2d18cd80","hex_latitude":"07213020","is_valid_coordinates":true} 
[2026-08-22 11:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569148416001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14433881843302400,"note":"Value kept but may cause issues"} 
[2026-08-22 11:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788069820175601664,"note":"Value kept but may cause issues"} 
[2026-08-22 11:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787379488000,"timestamp_ms":1787379488000,"timestamp_seconds":1787379488,"priority":1,"record_length":96,"hex_timestamp":"000001a0281e9500"} 
[2026-08-22 11:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:50:09] 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-22 11:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-22 11:50:09] 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-22 11:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 11:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569148416001,"66":13820,"121":206,"28":31744,"24":35,"16":14433881843302400,"45":1788069820175601664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-22 11:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569148416001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:50:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-22 11:50:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-22 11:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14433881843302400,"km_value":14433881843302.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788069820175601664,"description":"Unknown IO ID 45"} 
[2026-08-22 11:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569148416001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1788069820175601664}} 
[2026-08-22 11:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":162317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:50:09] local.INFO: GPS data processed {"connection_id":162317,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:50:09] local.INFO: Acknowledgment sent {"connection_id":162317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:50:26] local.INFO: TCP Data received {"connection_id":159744,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:50:26] local.INFO: Processing buffer {"connection_id":159744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:50:26] local.INFO: Packet analysis {"connection_id":159744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:50:26] local.INFO: Extracted packet for processing {"connection_id":159744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:50:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086464001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199728163236864000,"note":"Value kept but may cause issues"} 
[2026-08-22 11:50: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-22 11:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787379547000,"timestamp_ms":1787379547000,"timestamp_seconds":1787379547,"priority":1,"record_length":96,"hex_timestamp":"000001a0281f7b78"} 
[2026-08-22 11: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-22 11: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-22 11: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-22 11: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-22 11: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-22 11: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-22 11:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11: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-22 11:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086464001,"66":26310,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199728163236864000},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086464001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:50:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:50:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199728163236864000,"description":"Unknown IO ID 45"} 
[2026-08-22 11:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086464001,"power":26310,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199728163236864000}} 
[2026-08-22 11:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":159744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:50:26] local.INFO: GPS data processed {"connection_id":159744,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:50:26] local.INFO: Acknowledgment sent {"connection_id":159744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:50:49] local.INFO: TCP Data received {"connection_id":160900,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:50:49] local.INFO: Processing buffer {"connection_id":160900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:50:49] local.INFO: IMEI packet received {"connection_id":160900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":160900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:50:53] local.INFO: TCP Data received {"connection_id":162318,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:50:53] local.INFO: Processing buffer {"connection_id":162318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:50:53] local.INFO: IMEI packet received {"connection_id":162318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":162318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:50:54] local.INFO: TCP Data received {"connection_id":160900,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:50:54] local.INFO: Processing buffer {"connection_id":160900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:50:54] local.INFO: IMEI packet received {"connection_id":160900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":160900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:50:55] local.INFO: TCP Data received {"connection_id":160900,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:50:55] local.INFO: Processing buffer {"connection_id":160900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:50:55] local.INFO: Packet analysis {"connection_id":160900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:50:55] local.INFO: Extracted packet for processing {"connection_id":160900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:50:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086464001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199728163236864000,"note":"Value kept but may cause issues"} 
[2026-08-22 11:50: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-22 11:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787379547000,"timestamp_ms":1787379547000,"timestamp_seconds":1787379547,"priority":1,"record_length":96,"hex_timestamp":"000001a0281f7b78"} 
[2026-08-22 11: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-22 11:50: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-22 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 11:50: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-22 11: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-22 11: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-22 11:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:50:55] 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-22 11:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086464001,"66":26310,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199728163236864000},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086464001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:50:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:50:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199728163236864000,"description":"Unknown IO ID 45"} 
[2026-08-22 11:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086464001,"power":26310,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199728163236864000}} 
[2026-08-22 11:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":160900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:50:55] local.INFO: GPS data processed {"connection_id":160900,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:50:55] local.INFO: Acknowledgment sent {"connection_id":160900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:50:58] local.INFO: TCP Data received {"connection_id":162318,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:50:58] local.INFO: Processing buffer {"connection_id":162318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:50:58] local.INFO: IMEI packet received {"connection_id":162318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":162318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:51:00] local.INFO: TCP Data received {"connection_id":162318,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0281eac70012d18c480072142700048015d2a..."} 
[2026-08-22 11:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281eac70012d18c480072142700048015d2a..."} 
[2026-08-22 11:51:00] local.INFO: Processing buffer {"connection_id":162318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281eac70012d18c480072142700048015d2a..."} 
[2026-08-22 11:51:00] local.INFO: Packet analysis {"connection_id":162318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281e"} 
[2026-08-22 11:51:00] local.INFO: Extracted packet for processing {"connection_id":162318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281e"} 
[2026-08-22 11:51:00] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119620208,"longitude_deg":75.6597888,"latitude_deg":11.9620208,"altitude":72,"angle":349,"satellites":42,"speed":35,"hex_longitude":"2d18c480","hex_latitude":"07214270","is_valid_coordinates":true} 
[2026-08-22 11:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569148928001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14434135246372864,"note":"Value kept but may cause issues"} 
[2026-08-22 11:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787225395245883392,"note":"Value kept but may cause issues"} 
[2026-08-22 11:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787379494000,"timestamp_ms":1787379494000,"timestamp_seconds":1787379494,"priority":1,"record_length":96,"hex_timestamp":"000001a0281eac70"} 
[2026-08-22 11:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:51:00] 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-22 11:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-22 11:51:00] 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-22 11:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 11:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569148928001,"66":13798,"121":206,"28":31744,"24":35,"16":14434135246372864,"45":1787225395245883392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-22 11:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569148928001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:51:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-22 11:51:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-22 11:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14434135246372864,"km_value":14434135246372.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787225395245883392,"description":"Unknown IO ID 45"} 
[2026-08-22 11:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569148928001,"power":13798,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1787225395245883392}} 
[2026-08-22 11:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":162318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:51:00] local.INFO: GPS data processed {"connection_id":162318,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:51:00] local.INFO: Acknowledgment sent {"connection_id":162318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:51:26] local.INFO: TCP Data received {"connection_id":160900,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:51:26] local.INFO: Processing buffer {"connection_id":160900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:51:26] local.INFO: Packet analysis {"connection_id":160900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:51:26] local.INFO: Extracted packet for processing {"connection_id":160900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:51:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086464001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199728163236864000,"note":"Value kept but may cause issues"} 
[2026-08-22 11:51: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-22 11:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787379547000,"timestamp_ms":1787379547000,"timestamp_seconds":1787379547,"priority":1,"record_length":96,"hex_timestamp":"000001a0281f7b78"} 
[2026-08-22 11: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-22 11:51: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-22 11: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":4,"data_length":795,"current_offset":136} 
[2026-08-22 11:51: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-22 11: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-22 11: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-22 11:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:51:26] 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-22 11:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086464001,"66":26310,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199728163236864000},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086464001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:51:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199728163236864000,"description":"Unknown IO ID 45"} 
[2026-08-22 11:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086464001,"power":26310,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199728163236864000}} 
[2026-08-22 11:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":160900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:51:26] local.INFO: GPS data processed {"connection_id":160900,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:51:26] local.INFO: Acknowledgment sent {"connection_id":160900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:51:31] local.INFO: TCP Data received {"connection_id":162318,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0281ebff8012d18c24007215380004901512a..."} 
[2026-08-22 11:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281ebff8012d18c24007215380004901512a..."} 
[2026-08-22 11:51:31] local.INFO: Processing buffer {"connection_id":162318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281ebff8012d18c24007215380004901512a..."} 
[2026-08-22 11:51:31] local.INFO: Packet analysis {"connection_id":162318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281e"} 
[2026-08-22 11:51:31] local.INFO: Extracted packet for processing {"connection_id":162318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281e"} 
[2026-08-22 11:51:31] local.INFO: GPS Element Parsed {"raw_longitude":756597312,"raw_latitude":119624576,"longitude_deg":75.6597312,"latitude_deg":11.9624576,"altitude":73,"angle":337,"satellites":42,"speed":34,"hex_longitude":"2d18c240","hex_latitude":"07215380","is_valid_coordinates":true} 
[2026-08-22 11:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569150464001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14434349994737664,"note":"Value kept but may cause issues"} 
[2026-08-22 11:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120456687616,"note":"Value kept but may cause issues"} 
[2026-08-22 11:51: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-22 11:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787379499000,"timestamp_ms":1787379499000,"timestamp_seconds":1787379499,"priority":1,"record_length":96,"hex_timestamp":"000001a0281ebff8"} 
[2026-08-22 11:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-22 11:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 11:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569150464001,"66":13798,"121":206,"28":31744,"24":34,"16":14434349994737664,"45":1784692120456687616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-22 11:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569150464001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:51:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-22 11:51:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-22 11:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14434349994737664,"km_value":14434349994737.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120456687616,"description":"Unknown IO ID 45"} 
[2026-08-22 11:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569150464001,"power":13798,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1784692120456687616}} 
[2026-08-22 11:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":162318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:51:31] local.INFO: GPS data processed {"connection_id":162318,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:51:31] local.INFO: Acknowledgment sent {"connection_id":162318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:51:53] local.INFO: TCP Data received {"connection_id":159746,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:51:53] local.INFO: Processing buffer {"connection_id":159746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:51:53] local.INFO: IMEI packet received {"connection_id":159746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":159746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:51:54] local.INFO: TCP Data received {"connection_id":159745,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:51:54] local.INFO: Processing buffer {"connection_id":159745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:51:54] local.INFO: IMEI packet received {"connection_id":159745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":159745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:51:58] local.INFO: TCP Data received {"connection_id":159746,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:51:58] local.INFO: Processing buffer {"connection_id":159746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:51:58] local.INFO: IMEI packet received {"connection_id":159746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":159746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:51:59] local.INFO: TCP Data received {"connection_id":159746,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0281ec3e0012d18c08007215660004a01452a..."} 
[2026-08-22 11:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281ec3e0012d18c08007215660004a01452a..."} 
[2026-08-22 11:51:59] local.INFO: Processing buffer {"connection_id":159746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281ec3e0012d18c08007215660004a01452a..."} 
[2026-08-22 11:51:59] local.INFO: Packet analysis {"connection_id":159746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281e"} 
[2026-08-22 11:51:59] local.INFO: Extracted packet for processing {"connection_id":159746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281e"} 
[2026-08-22 11:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756596864,"raw_latitude":119625312,"longitude_deg":75.6596864,"latitude_deg":11.9625312,"altitude":74,"angle":325,"satellites":42,"speed":34,"hex_longitude":"2d18c080","hex_latitude":"07215660","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569151744001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14434392944410624,"note":"Value kept but may cause issues"} 
[2026-08-22 11:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784058801760206848,"note":"Value kept but may cause issues"} 
[2026-08-22 11:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787379500000,"timestamp_ms":1787379500000,"timestamp_seconds":1787379500,"priority":1,"record_length":96,"hex_timestamp":"000001a0281ec3e0"} 
[2026-08-22 11: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-22 11:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-22 11:51:59] 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-22 11: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-22 11: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-22 11:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 11:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569151744001,"66":13787,"121":206,"28":31744,"24":34,"16":14434392944410624,"45":1784058801760206848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-22 11:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569151744001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:51:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-22 11:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-22 11:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14434392944410624,"km_value":14434392944410.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784058801760206848,"description":"Unknown IO ID 45"} 
[2026-08-22 11:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569151744001,"power":13787,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1784058801760206848}} 
[2026-08-22 11:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":159746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:51:59] local.INFO: GPS data processed {"connection_id":159746,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:51:59] local.INFO: Acknowledgment sent {"connection_id":159746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:51:59] local.INFO: TCP Data received {"connection_id":159745,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:51:59] local.INFO: Processing buffer {"connection_id":159745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:51:59] local.INFO: IMEI packet received {"connection_id":159745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":159745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:52:00] local.INFO: TCP Data received {"connection_id":159745,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:52:00] local.INFO: Processing buffer {"connection_id":159745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:52:00] local.INFO: Packet analysis {"connection_id":159745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:52:00] local.INFO: Extracted packet for processing {"connection_id":159745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086464001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199728163236864000,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52:00] 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-22 11:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787379547000,"timestamp_ms":1787379547000,"timestamp_seconds":1787379547,"priority":1,"record_length":96,"hex_timestamp":"000001a0281f7b78"} 
[2026-08-22 11: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-22 11:52: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-22 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 11:52: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-22 11: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-22 11: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-22 11:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:52: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-22 11:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086464001,"66":26310,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199728163236864000},"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-22 11:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086464001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:52:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:52:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199728163236864000,"description":"Unknown IO ID 45"} 
[2026-08-22 11:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086464001,"power":26310,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199728163236864000}} 
[2026-08-22 11:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":159745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:52:00] local.INFO: GPS data processed {"connection_id":159745,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:52:00] local.INFO: Acknowledgment sent {"connection_id":159745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:52:04] local.INFO: TCP Data received {"connection_id":159745,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:52:04] local.INFO: Processing buffer {"connection_id":159745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:52:04] local.INFO: Packet analysis {"connection_id":159745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:52:04] local.INFO: Extracted packet for processing {"connection_id":159745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086464001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199728163236864000,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52:04] 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-22 11:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787379547000,"timestamp_ms":1787379547000,"timestamp_seconds":1787379547,"priority":1,"record_length":96,"hex_timestamp":"000001a0281f7b78"} 
[2026-08-22 11: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-22 11:52: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-22 11:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 11:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11: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-22 11: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-22 11:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11: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-22 11:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086464001,"66":26310,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199728163236864000},"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-22 11:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086464001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:52:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199728163236864000,"description":"Unknown IO ID 45"} 
[2026-08-22 11:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086464001,"power":26310,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199728163236864000}} 
[2026-08-22 11:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":159745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:52:04] local.INFO: GPS data processed {"connection_id":159745,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:52:04] local.INFO: Acknowledgment sent {"connection_id":159745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:52:09] local.INFO: TCP Data received {"connection_id":159745,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:52:09] local.INFO: Processing buffer {"connection_id":159745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:52:09] local.INFO: Packet analysis {"connection_id":159745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:52:09] local.INFO: Extracted packet for processing {"connection_id":159745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:52:09] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086464001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199728163236864000,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52:09] 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-22 11:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787379547000,"timestamp_ms":1787379547000,"timestamp_seconds":1787379547,"priority":1,"record_length":96,"hex_timestamp":"000001a0281f7b78"} 
[2026-08-22 11: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-22 11:52: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-22 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 11:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11: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-22 11: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-22 11:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 11:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086464001,"66":26310,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199728163236864000},"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-22 11:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086464001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:52:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:52:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199728163236864000,"description":"Unknown IO ID 45"} 
[2026-08-22 11:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086464001,"power":26310,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199728163236864000}} 
[2026-08-22 11:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":159745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:52:09] local.INFO: GPS data processed {"connection_id":159745,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:52:09] local.INFO: Acknowledgment sent {"connection_id":159745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:52:30] local.INFO: TCP Data received {"connection_id":159746,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0281eeed8012d18ad0007217050004f013629..."} 
[2026-08-22 11:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281eeed8012d18ad0007217050004f013629..."} 
[2026-08-22 11:52:30] local.INFO: Processing buffer {"connection_id":159746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281eeed8012d18ad0007217050004f013629..."} 
[2026-08-22 11:52:30] local.INFO: Packet analysis {"connection_id":159746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281e"} 
[2026-08-22 11:52:30] local.INFO: Extracted packet for processing {"connection_id":159746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281e"} 
[2026-08-22 11:52:30] local.INFO: GPS Element Parsed {"raw_longitude":756591872,"raw_latitude":119631952,"longitude_deg":75.6591872,"latitude_deg":11.9631952,"altitude":79,"angle":310,"satellites":41,"speed":11,"hex_longitude":"2d18ad00","hex_latitude":"07217050","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569152000001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14434792376369152,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783566220551151616,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52: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-22 11:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787379511000,"timestamp_ms":1787379511000,"timestamp_seconds":1787379511,"priority":1,"record_length":96,"hex_timestamp":"000001a0281eeed8"} 
[2026-08-22 11: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-22 11:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-22 11:52:30] 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-22 11: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-22 11: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-22 11:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 11:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569152000001,"66":14048,"103":206,"83":41984,"24":11,"16":14434792376369152,"45":1783566220551151616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 11:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569152000001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:52:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 11:52:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14434792376369152,"km_value":14434792376369.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783566220551151616,"description":"Unknown IO ID 45"} 
[2026-08-22 11:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569152000001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1783566220551151616}} 
[2026-08-22 11:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":159746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:52:30] local.INFO: GPS data processed {"connection_id":159746,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:52:30] local.INFO: Acknowledgment sent {"connection_id":159746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:52:49] local.INFO: TCP Data received {"connection_id":159747,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:52:49] local.INFO: Processing buffer {"connection_id":159747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:52:49] local.INFO: IMEI packet received {"connection_id":159747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":159747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:52:53] local.INFO: TCP Data received {"connection_id":160901,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:52:53] local.INFO: Processing buffer {"connection_id":160901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:52:53] local.INFO: IMEI packet received {"connection_id":160901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":160901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:52:54] local.INFO: TCP Data received {"connection_id":159747,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:52:54] local.INFO: Processing buffer {"connection_id":159747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:52:54] local.INFO: IMEI packet received {"connection_id":159747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":159747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:52:55] local.INFO: TCP Data received {"connection_id":159747,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:52:55] local.INFO: Processing buffer {"connection_id":159747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:52:55] local.INFO: Packet analysis {"connection_id":159747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:52:55] local.INFO: Extracted packet for processing {"connection_id":159747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:52:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086464001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199728163236864000,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52: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-22 11:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787379547000,"timestamp_ms":1787379547000,"timestamp_seconds":1787379547,"priority":1,"record_length":96,"hex_timestamp":"000001a0281f7b78"} 
[2026-08-22 11:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:52: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-22 11:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 11:52: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-22 11:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:52:55] 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-22 11:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086464001,"66":26310,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199728163236864000},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086464001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:52:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:52:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199728163236864000,"description":"Unknown IO ID 45"} 
[2026-08-22 11:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086464001,"power":26310,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199728163236864000}} 
[2026-08-22 11:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":159747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:52:55] local.INFO: GPS data processed {"connection_id":159747,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:52:55] local.INFO: Acknowledgment sent {"connection_id":159747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:52:58] local.INFO: TCP Data received {"connection_id":160901,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:52:58] local.INFO: Processing buffer {"connection_id":160901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:52:58] local.INFO: IMEI packet received {"connection_id":160901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":160901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:52:59] local.INFO: TCP Data received {"connection_id":160901,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0281ef2c0012d18ac00072170f0004f012b28..."} 
[2026-08-22 11:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281ef2c0012d18ac00072170f0004f012b28..."} 
[2026-08-22 11:52:59] local.INFO: Processing buffer {"connection_id":160901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281ef2c0012d18ac00072170f0004f012b28..."} 
[2026-08-22 11:52:59] local.INFO: Packet analysis {"connection_id":160901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281e"} 
[2026-08-22 11:52:59] local.INFO: Extracted packet for processing {"connection_id":160901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281e"} 
[2026-08-22 11:52:59] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632112,"longitude_deg":75.6591616,"latitude_deg":11.9632112,"altitude":79,"angle":299,"satellites":40,"speed":9,"hex_longitude":"2d18ac00","hex_latitude":"072170f0","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569154816001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14434805261271040,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778077458506993664,"note":"Value kept but may cause issues"} 
[2026-08-22 11:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 11:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787379512000,"timestamp_ms":1787379512000,"timestamp_seconds":1787379512,"priority":1,"record_length":96,"hex_timestamp":"000001a0281ef2c0"} 
[2026-08-22 11: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-22 11:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 11:52:59] 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-22 11: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-22 11: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-22 11:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 11:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569154816001,"66":14070,"103":206,"83":41984,"24":9,"16":14434805261271040,"45":1778077458506993664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 11:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569154816001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:52:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 11:52:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14434805261271040,"km_value":14434805261271.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778077458506993664,"description":"Unknown IO ID 45"} 
[2026-08-22 11:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569154816001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1778077458506993664}} 
[2026-08-22 11:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":160901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:52:59] local.INFO: GPS data processed {"connection_id":160901,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:52:59] local.INFO: Acknowledgment sent {"connection_id":160901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:53:26] local.INFO: TCP Data received {"connection_id":159747,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:53:26] local.INFO: Processing buffer {"connection_id":159747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:53:26] local.INFO: Packet analysis {"connection_id":159747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:53:26] local.INFO: Extracted packet for processing {"connection_id":159747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086464001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199728163236864000,"note":"Value kept but may cause issues"} 
[2026-08-22 11:53: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-22 11:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787379547000,"timestamp_ms":1787379547000,"timestamp_seconds":1787379547,"priority":1,"record_length":96,"hex_timestamp":"000001a0281f7b78"} 
[2026-08-22 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-22 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-22 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 11:53: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-22 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-22 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-22 11:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:53: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-22 11:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086464001,"66":26310,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199728163236864000},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086464001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:53:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199728163236864000,"description":"Unknown IO ID 45"} 
[2026-08-22 11:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086464001,"power":26310,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199728163236864000}} 
[2026-08-22 11:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":159747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:53:26] local.INFO: GPS data processed {"connection_id":159747,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:53:26] local.INFO: Acknowledgment sent {"connection_id":159747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:53:30] local.INFO: TCP Data received {"connection_id":160901,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0281f5080012d18aa80072171d0004f012727..."} 
[2026-08-22 11:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281f5080012d18aa80072171d0004f012727..."} 
[2026-08-22 11:53:31] local.INFO: Processing buffer {"connection_id":160901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281f5080012d18aa80072171d0004f012727..."} 
[2026-08-22 11:53:31] local.INFO: Packet analysis {"connection_id":160901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:53:31] local.INFO: Extracted packet for processing {"connection_id":160901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:53:31] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632336,"longitude_deg":75.6591232,"latitude_deg":11.9632336,"altitude":79,"angle":295,"satellites":39,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"072171d0","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569155072001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14434835326042112,"note":"Value kept but may cause issues"} 
[2026-08-22 11:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530323968,"note":"Value kept but may cause issues"} 
[2026-08-22 11:53:31] 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-22 11:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787379536000,"timestamp_ms":1787379536000,"timestamp_seconds":1787379536,"priority":1,"record_length":96,"hex_timestamp":"000001a0281f5080"} 
[2026-08-22 11: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-22 11:53:31] 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-22 11: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 11:53:31] 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-22 11: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-22 11: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-22 11:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 11:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569155072001,"66":12385,"103":206,"83":41984,"24":0,"16":14434835326042112,"45":1777795983530323968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 11:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569155072001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:53:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 11:53:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14434835326042112,"km_value":14434835326042.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530323968,"description":"Unknown IO ID 45"} 
[2026-08-22 11:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569155072001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777795983530323968}} 
[2026-08-22 11:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":160901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:53:31] local.INFO: GPS data processed {"connection_id":160901,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:53:31] local.INFO: Acknowledgment sent {"connection_id":160901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:53:49] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:53:49] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:53:49] local.INFO: IMEI packet received {"connection_id":159996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":159996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:53:53] local.INFO: TCP Data received {"connection_id":162319,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:53:53] local.INFO: Processing buffer {"connection_id":162319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:53:53] local.INFO: IMEI packet received {"connection_id":162319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":162319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:53:54] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:53:54] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:53:54] local.INFO: IMEI packet received {"connection_id":159996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":159996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:53:55] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:53:55] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:53:55] local.INFO: Packet analysis {"connection_id":159996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:53:55] local.INFO: Extracted packet for processing {"connection_id":159996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:53:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086464001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199728163236864000,"note":"Value kept but may cause issues"} 
[2026-08-22 11:53: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-22 11:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787379547000,"timestamp_ms":1787379547000,"timestamp_seconds":1787379547,"priority":1,"record_length":96,"hex_timestamp":"000001a0281f7b78"} 
[2026-08-22 11:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:53: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-22 11:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 11:53: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-22 11:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:53:55] 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-22 11:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086464001,"66":26310,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199728163236864000},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086464001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:53:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:53:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199728163236864000,"description":"Unknown IO ID 45"} 
[2026-08-22 11:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086464001,"power":26310,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199728163236864000}} 
[2026-08-22 11:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":159996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:53:55] local.INFO: GPS data processed {"connection_id":159996,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:53:55] local.INFO: Acknowledgment sent {"connection_id":159996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:54:11] local.INFO: TCP Data received {"connection_id":162319,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:54:11] local.INFO: Processing buffer {"connection_id":162319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:54:11] local.INFO: IMEI packet received {"connection_id":162319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":162319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:54:12] local.INFO: TCP Data received {"connection_id":162319,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 11:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162319,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 11:54:12] local.INFO: Processing buffer {"connection_id":162319,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 11:54:12] local.INFO: IMEI packet received {"connection_id":162319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":162319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:54:26] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:54:26] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0281f7b78012d7fabc005afe1b8000e01212b..."} 
[2026-08-22 11:54:26] local.INFO: Packet analysis {"connection_id":159996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:54:26] local.INFO: Extracted packet for processing {"connection_id":159996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0281f"} 
[2026-08-22 11:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 11:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569086464001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199728163236864000,"note":"Value kept but may cause issues"} 
[2026-08-22 11:54: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-22 11:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787379547000,"timestamp_ms":1787379547000,"timestamp_seconds":1787379547,"priority":1,"record_length":96,"hex_timestamp":"000001a0281f7b78"} 
[2026-08-22 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-22 11:54: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-22 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 11:54: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-22 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-22 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-22 11:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:54: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-22 11:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569086464001,"66":26310,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199728163236864000},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569086464001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:54:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199728163236864000,"description":"Unknown IO ID 45"} 
[2026-08-22 11:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569086464001,"power":26310,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199728163236864000}} 
[2026-08-22 11:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":159996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:54:26] local.INFO: GPS data processed {"connection_id":159996,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:54:26] local.INFO: Acknowledgment sent {"connection_id":159996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:54:49] local.INFO: TCP Data received {"connection_id":159748,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:54:49] local.INFO: Processing buffer {"connection_id":159748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:54:49] local.INFO: IMEI packet received {"connection_id":159748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":159748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:54:54] local.INFO: TCP Data received {"connection_id":159748,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:54:54] local.INFO: Processing buffer {"connection_id":159748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:54:54] local.INFO: IMEI packet received {"connection_id":159748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":159748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:55:05] local.INFO: TCP Data received {"connection_id":159748,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:55:05] local.INFO: Processing buffer {"connection_id":159748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:55:05] local.INFO: Packet analysis {"connection_id":159748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:55:05] local.INFO: Extracted packet for processing {"connection_id":159748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:55:05] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":21,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569164032001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 11:55: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-22 11:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787379848000,"timestamp_ms":1787379848000,"timestamp_seconds":1787379848,"priority":1,"record_length":96,"hex_timestamp":"000001a028241340"} 
[2026-08-22 11:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:55: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-22 11:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 11:55:05] 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-22 11:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 11:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569164032001,"66":26071,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569164032001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:55:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 11:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569164032001,"power":26071,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 11:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":159748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:55:05] local.INFO: GPS data processed {"connection_id":159748,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:55:05] local.INFO: Acknowledgment sent {"connection_id":159748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:55:49] local.INFO: TCP Data received {"connection_id":162320,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:55:49] local.INFO: Processing buffer {"connection_id":162320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:55:49] local.INFO: IMEI packet received {"connection_id":162320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":162320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:55:54] local.INFO: TCP Data received {"connection_id":162320,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:55:54] local.INFO: Processing buffer {"connection_id":162320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:55:54] local.INFO: IMEI packet received {"connection_id":162320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":162320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:55:55] local.INFO: TCP Data received {"connection_id":162320,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:55:55] local.INFO: Processing buffer {"connection_id":162320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:55:55] local.INFO: Packet analysis {"connection_id":162320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:55:55] local.INFO: Extracted packet for processing {"connection_id":162320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:55:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":21,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569164032001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 11:55: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-22 11:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787379848000,"timestamp_ms":1787379848000,"timestamp_seconds":1787379848,"priority":1,"record_length":96,"hex_timestamp":"000001a028241340"} 
[2026-08-22 11:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:55: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-22 11:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 11:55:55] 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-22 11:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:55:55] 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-22 11:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569164032001,"66":26071,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569164032001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:55:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 11:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569164032001,"power":26071,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 11:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":162320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:55:55] local.INFO: GPS data processed {"connection_id":162320,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:55:55] local.INFO: Acknowledgment sent {"connection_id":162320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:56:26] local.INFO: TCP Data received {"connection_id":162320,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:56:26] local.INFO: Processing buffer {"connection_id":162320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:56:26] local.INFO: Packet analysis {"connection_id":162320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:56:26] local.INFO: Extracted packet for processing {"connection_id":162320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:56:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":21,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569164032001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 11:56: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-22 11:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787379848000,"timestamp_ms":1787379848000,"timestamp_seconds":1787379848,"priority":1,"record_length":96,"hex_timestamp":"000001a028241340"} 
[2026-08-22 11: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-22 11:56: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-22 11: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 11:56:26] 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-22 11: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-22 11: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-22 11:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:56:26] 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-22 11:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569164032001,"66":26071,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569164032001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:56:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 11:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569164032001,"power":26071,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 11:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":162320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:56:26] local.INFO: GPS data processed {"connection_id":162320,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:56:26] local.INFO: Acknowledgment sent {"connection_id":162320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:56:54] local.INFO: TCP Data received {"connection_id":159749,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:56:54] local.INFO: Processing buffer {"connection_id":159749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:56:54] local.INFO: IMEI packet received {"connection_id":159749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":159749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:56:59] local.INFO: TCP Data received {"connection_id":159749,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:56:59] local.INFO: Processing buffer {"connection_id":159749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:56:59] local.INFO: IMEI packet received {"connection_id":159749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":159749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:57:00] local.INFO: TCP Data received {"connection_id":159749,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:57:00] local.INFO: Processing buffer {"connection_id":159749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:57:00] local.INFO: Packet analysis {"connection_id":159749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:57:00] local.INFO: Extracted packet for processing {"connection_id":159749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:57:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":21,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569164032001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 11:57:00] 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-22 11:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787379848000,"timestamp_ms":1787379848000,"timestamp_seconds":1787379848,"priority":1,"record_length":96,"hex_timestamp":"000001a028241340"} 
[2026-08-22 11:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11: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-22 11:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 11:57:00] 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-22 11:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:57:00] 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-22 11:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569164032001,"66":26071,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569164032001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:57:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:57:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 11:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569164032001,"power":26071,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 11:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":159749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:57:00] local.INFO: GPS data processed {"connection_id":159749,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:57:00] local.INFO: Acknowledgment sent {"connection_id":159749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:57:04] local.INFO: TCP Data received {"connection_id":159749,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:57:04] local.INFO: Processing buffer {"connection_id":159749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:57:04] local.INFO: Packet analysis {"connection_id":159749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:57:04] local.INFO: Extracted packet for processing {"connection_id":159749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":21,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569164032001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 11:57:04] 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-22 11:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787379848000,"timestamp_ms":1787379848000,"timestamp_seconds":1787379848,"priority":1,"record_length":96,"hex_timestamp":"000001a028241340"} 
[2026-08-22 11: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-22 11:57: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-22 11: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 11:57: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-22 11: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-22 11: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-22 11:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:57:04] 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-22 11:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569164032001,"66":26071,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569164032001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:57:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:57:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 11:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569164032001,"power":26071,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 11:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":159749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:57:04] local.INFO: GPS data processed {"connection_id":159749,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:57:04] local.INFO: Acknowledgment sent {"connection_id":159749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:57:57] local.INFO: TCP Data received {"connection_id":162321,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:57:57] local.INFO: Processing buffer {"connection_id":162321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:57:57] local.INFO: IMEI packet received {"connection_id":162321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":162321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:57:58] local.INFO: TCP Data received {"connection_id":162321,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:57:58] local.INFO: Processing buffer {"connection_id":162321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:57:58] local.INFO: IMEI packet received {"connection_id":162321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":162321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:57:58] local.INFO: TCP Data received {"connection_id":162321,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:57:58] local.INFO: Processing buffer {"connection_id":162321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:57:58] local.INFO: Packet analysis {"connection_id":162321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:57:58] local.INFO: Extracted packet for processing {"connection_id":162321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":21,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569164032001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 11:57:58] 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-22 11:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787379848000,"timestamp_ms":1787379848000,"timestamp_seconds":1787379848,"priority":1,"record_length":96,"hex_timestamp":"000001a028241340"} 
[2026-08-22 11: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-22 11:57: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-22 11: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 11:57:58] 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-22 11: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-22 11: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-22 11:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:57:58] 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-22 11:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569164032001,"66":26071,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569164032001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:57:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:57:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 11:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569164032001,"power":26071,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 11:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":162321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:57:58] local.INFO: GPS data processed {"connection_id":162321,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:57:58] local.INFO: Acknowledgment sent {"connection_id":162321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:57:59] local.INFO: TCP Data received {"connection_id":162321,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:57:59] local.INFO: Processing buffer {"connection_id":162321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:57:59] local.INFO: Packet analysis {"connection_id":162321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:57:59] local.INFO: Extracted packet for processing {"connection_id":162321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":21,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569164032001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 11:57:59] 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-22 11:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787379848000,"timestamp_ms":1787379848000,"timestamp_seconds":1787379848,"priority":1,"record_length":96,"hex_timestamp":"000001a028241340"} 
[2026-08-22 11: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-22 11: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-22 11: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 11:57: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-22 11: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-22 11: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-22 11:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:57: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-22 11:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569164032001,"66":26071,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569164032001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:57:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 11:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569164032001,"power":26071,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 11:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":162321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:57:59] local.INFO: GPS data processed {"connection_id":162321,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:57:59] local.INFO: Acknowledgment sent {"connection_id":162321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:58:30] local.INFO: TCP Data received {"connection_id":162321,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:58:30] local.INFO: Processing buffer {"connection_id":162321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:58:30] local.INFO: Packet analysis {"connection_id":162321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:58:30] local.INFO: Extracted packet for processing {"connection_id":162321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":21,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569164032001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 11:58:30] 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-22 11:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787379848000,"timestamp_ms":1787379848000,"timestamp_seconds":1787379848,"priority":1,"record_length":96,"hex_timestamp":"000001a028241340"} 
[2026-08-22 11: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-22 11: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-22 11: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 11:58: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-22 11: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-22 11: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-22 11:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:58: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-22 11:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569164032001,"66":26071,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569164032001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:58:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 11:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569164032001,"power":26071,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 11:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":162321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:58:30] local.INFO: GPS data processed {"connection_id":162321,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:58:30] local.INFO: Acknowledgment sent {"connection_id":162321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:58:49] local.INFO: TCP Data received {"connection_id":159750,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:58:49] local.INFO: Processing buffer {"connection_id":159750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:58:49] local.INFO: IMEI packet received {"connection_id":159750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":159750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:58:54] local.INFO: TCP Data received {"connection_id":159750,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:58:54] local.INFO: Processing buffer {"connection_id":159750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:58:54] local.INFO: IMEI packet received {"connection_id":159750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":159750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:58:55] local.INFO: TCP Data received {"connection_id":159750,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:58:55] local.INFO: Processing buffer {"connection_id":159750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:58:55] local.INFO: Packet analysis {"connection_id":159750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:58:55] local.INFO: Extracted packet for processing {"connection_id":159750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":21,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11: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-22 11:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569164032001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 11:58: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-22 11:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787379848000,"timestamp_ms":1787379848000,"timestamp_seconds":1787379848,"priority":1,"record_length":96,"hex_timestamp":"000001a028241340"} 
[2026-08-22 11: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-22 11:58: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-22 11: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 11:58:55] 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-22 11: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-22 11: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-22 11:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:58:55] 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-22 11:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569164032001,"66":26071,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569164032001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:58:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:58:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 11:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569164032001,"power":26071,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 11:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":159750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:58:55] local.INFO: GPS data processed {"connection_id":159750,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:58:55] local.INFO: Acknowledgment sent {"connection_id":159750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:59:13] local.INFO: TCP Data received {"connection_id":159751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:59:13] local.INFO: Processing buffer {"connection_id":159751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:59:13] local.INFO: IMEI packet received {"connection_id":159751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":159751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:59:13] local.INFO: TCP Data received {"connection_id":159751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02827f370012d18d6c00720fff0004000952b..."} 
[2026-08-22 11:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02827f370012d18d6c00720fff0004000952b..."} 
[2026-08-22 11:59:13] local.INFO: Processing buffer {"connection_id":159751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02827f370012d18d6c00720fff0004000952b..."} 
[2026-08-22 11:59:13] local.INFO: Packet analysis {"connection_id":159751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02827"} 
[2026-08-22 11:59:13] local.INFO: Extracted packet for processing {"connection_id":159751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02827"} 
[2026-08-22 11:59:13] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119603184,"longitude_deg":75.660256,"latitude_deg":11.9603184,"altitude":64,"angle":149,"satellites":43,"speed":25,"hex_longitude":"2d18d6c0","hex_latitude":"0720fff0","is_valid_coordinates":true} 
[2026-08-22 11:59: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-22 11:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569305088001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14440195445227520,"note":"Value kept but may cause issues"} 
[2026-08-22 11:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245103622144,"note":"Value kept but may cause issues"} 
[2026-08-22 11:59:13] 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-22 11:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787380102000,"timestamp_ms":1787380102000,"timestamp_seconds":1787380102,"priority":1,"record_length":96,"hex_timestamp":"000001a02827f370"} 
[2026-08-22 11: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-22 11:59: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-22 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 11:59: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-22 11: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-22 11: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-22 11:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 11:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569305088001,"66":12798,"103":206,"83":41984,"24":25,"16":14440195445227520,"45":1788914245103622144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 11:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569305088001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:59:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 11:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14440195445227520,"km_value":14440195445227.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245103622144,"description":"Unknown IO ID 45"} 
[2026-08-22 11:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569305088001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1788914245103622144}} 
[2026-08-22 11:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":159751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:59:13] local.INFO: GPS data processed {"connection_id":159751,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:59:13] local.INFO: Acknowledgment sent {"connection_id":159751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:59:26] local.INFO: TCP Data received {"connection_id":159750,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:59:26] local.INFO: Processing buffer {"connection_id":159750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028241340012d7fabc005afe1b80015012128..."} 
[2026-08-22 11:59:26] local.INFO: Packet analysis {"connection_id":159750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:59:26] local.INFO: Extracted packet for processing {"connection_id":159750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02824"} 
[2026-08-22 11:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":21,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569164032001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 11:59: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-22 11:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787379848000,"timestamp_ms":1787379848000,"timestamp_seconds":1787379848,"priority":1,"record_length":96,"hex_timestamp":"000001a028241340"} 
[2026-08-22 11:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:59: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-22 11:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 11:59:26] 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-22 11:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:59:26] 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-22 11:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569164032001,"66":26071,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569164032001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:59:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 11:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569164032001,"power":26071,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 11:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":159750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:59:26] local.INFO: GPS data processed {"connection_id":159750,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:59:26] local.INFO: Acknowledgment sent {"connection_id":159750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:59:47] local.INFO: TCP Data received {"connection_id":159752,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:59:47] local.INFO: Processing buffer {"connection_id":159752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:59:47] local.INFO: IMEI packet received {"connection_id":159752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 11:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":159752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:59:49] local.INFO: TCP Data received {"connection_id":159752,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:59:49] local.INFO: Processing buffer {"connection_id":159752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:59:49] local.INFO: IMEI packet received {"connection_id":159752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":159752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:59:52] local.INFO: TCP Data received {"connection_id":160904,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:59:52] local.INFO: Processing buffer {"connection_id":160904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:59:52] local.INFO: IMEI packet received {"connection_id":160904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 11:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":160904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 11:59:53] local.INFO: TCP Data received {"connection_id":160904,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:59:53] local.INFO: Processing buffer {"connection_id":160904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:59:53] local.INFO: IMEI packet received {"connection_id":160904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":160904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:59:54] local.INFO: TCP Data received {"connection_id":159752,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:59:54] local.INFO: Processing buffer {"connection_id":159752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 11:59:54] local.INFO: IMEI packet received {"connection_id":159752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 11:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":159752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:59:55] local.INFO: TCP Data received {"connection_id":159752,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 11:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 11:59:55] local.INFO: Processing buffer {"connection_id":159752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 11:59:55] local.INFO: Packet analysis {"connection_id":159752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 11:59:55] local.INFO: Extracted packet for processing {"connection_id":159752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 11:59:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 11:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569241088001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 11:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 11:59: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-22 11:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787380149000,"timestamp_ms":1787380149000,"timestamp_seconds":1787380149,"priority":1,"record_length":96,"hex_timestamp":"000001a02828ab08"} 
[2026-08-22 11:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:59: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-22 11:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 11:59:55] 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-22 11:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 11:59: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-22 11:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 11:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 11:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569241088001,"66":26039,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 11:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 11:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 11:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569241088001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:59:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 11:59:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 11:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 11:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569241088001,"power":26039,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 11:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":159752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:59:55] local.INFO: GPS data processed {"connection_id":159752,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:59:55] local.INFO: Acknowledgment sent {"connection_id":159752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 11:59:57] local.INFO: TCP Data received {"connection_id":160904,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:59:57] local.INFO: Processing buffer {"connection_id":160904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 11:59:57] local.INFO: IMEI packet received {"connection_id":160904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 11:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":160904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 11:59:58] local.INFO: TCP Data received {"connection_id":160904,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02827fb40012d18da000720fc08003f00872b..."} 
[2026-08-22 11:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02827fb40012d18da000720fc08003f00872b..."} 
[2026-08-22 11:59:58] local.INFO: Processing buffer {"connection_id":160904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02827fb40012d18da000720fc08003f00872b..."} 
[2026-08-22 11:59:58] local.INFO: Packet analysis {"connection_id":160904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02827"} 
[2026-08-22 11:59:58] local.INFO: Extracted packet for processing {"connection_id":160904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02827"} 
[2026-08-22 11:59:58] local.INFO: GPS Element Parsed {"raw_longitude":756603392,"raw_latitude":119602184,"longitude_deg":75.6603392,"latitude_deg":11.9602184,"altitude":63,"angle":135,"satellites":43,"speed":26,"hex_longitude":"2d18da00","hex_latitude":"0720fc08","is_valid_coordinates":true} 
[2026-08-22 11:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 11:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569306112001,"note":"Value kept but may cause issues"} 
[2026-08-22 11:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14440259869736960,"note":"Value kept but may cause issues"} 
[2026-08-22 11:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777298944,"note":"Value kept but may cause issues"} 
[2026-08-22 11:59: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-22 11:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787380104000,"timestamp_ms":1787380104000,"timestamp_seconds":1787380104,"priority":1,"record_length":96,"hex_timestamp":"000001a02827fb40"} 
[2026-08-22 11:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 11:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 11:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 11:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 11:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 11:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 11:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 11:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 11:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 11:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 11:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 11:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 11:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569306112001,"66":12809,"103":206,"83":41984,"24":26,"16":14440259869736960,"45":1789829038777298944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 11:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 11:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 11:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569306112001,"description":"Unknown IO ID 0"} 
[2026-08-22 11:59:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 11:59:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 11:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14440259869736960,"km_value":14440259869736.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 11:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777298944,"description":"Unknown IO ID 45"} 
[2026-08-22 11:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569306112001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1789829038777298944}} 
[2026-08-22 11:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":160904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 11:59:58] local.INFO: GPS data processed {"connection_id":160904,"processed":1,"errors":0,"total":1} 
[2026-08-22 11:59:58] local.INFO: Acknowledgment sent {"connection_id":160904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:00:26] local.INFO: TCP Data received {"connection_id":159752,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:00:26] local.INFO: Processing buffer {"connection_id":159752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:00:26] local.INFO: Packet analysis {"connection_id":159752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:00:26] local.INFO: Extracted packet for processing {"connection_id":159752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:00:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569241088001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:00: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-22 12:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787380149000,"timestamp_ms":1787380149000,"timestamp_seconds":1787380149,"priority":1,"record_length":96,"hex_timestamp":"000001a02828ab08"} 
[2026-08-22 12: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-22 12:00: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-22 12: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 12:00:26] 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-22 12: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-22 12: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-22 12:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:00: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-22 12:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569241088001,"66":26039,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569241088001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:00:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:00:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569241088001,"power":26039,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":159752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:00:26] local.INFO: GPS data processed {"connection_id":159752,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:00:26] local.INFO: Acknowledgment sent {"connection_id":159752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:00:29] local.INFO: TCP Data received {"connection_id":160904,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0282933c0012d19ba800720a0e8003000c727..."} 
[2026-08-22 12:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282933c0012d19ba800720a0e8003000c727..."} 
[2026-08-22 12:00:29] local.INFO: Processing buffer {"connection_id":160904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282933c0012d19ba800720a0e8003000c727..."} 
[2026-08-22 12:00:29] local.INFO: Packet analysis {"connection_id":160904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02829"} 
[2026-08-22 12:00:29] local.INFO: Extracted packet for processing {"connection_id":160904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02829"} 
[2026-08-22 12:00:29] local.INFO: GPS Element Parsed {"raw_longitude":756660864,"raw_latitude":119578856,"longitude_deg":75.6660864,"latitude_deg":11.9578856,"altitude":48,"angle":199,"satellites":39,"speed":22,"hex_longitude":"2d19ba80","hex_latitude":"0720a0e8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569326848001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14443498275078144,"note":"Value kept but may cause issues"} 
[2026-08-22 12:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439693780992,"note":"Value kept but may cause issues"} 
[2026-08-22 12:00:29] 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-22 12:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787380184000,"timestamp_ms":1787380184000,"timestamp_seconds":1787380184,"priority":1,"record_length":96,"hex_timestamp":"000001a0282933c0"} 
[2026-08-22 12: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-22 12:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 12: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-22 12:00:29] 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-22 12: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-22 12: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-22 12:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569326848001,"66":14233,"103":206,"83":41984,"24":22,"16":14443498275078144,"45":1854216439693780992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 12:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569326848001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:00:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 12:00:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14443498275078144,"km_value":14443498275078.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439693780992,"description":"Unknown IO ID 45"} 
[2026-08-22 12:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569326848001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1854216439693780992}} 
[2026-08-22 12:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":160904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:00:29] local.INFO: GPS data processed {"connection_id":160904,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:00:29] local.INFO: Acknowledgment sent {"connection_id":160904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:00:49] local.INFO: TCP Data received {"connection_id":159999,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:00:49] local.INFO: Processing buffer {"connection_id":159999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:00:49] local.INFO: IMEI packet received {"connection_id":159999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":159999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:00:52] local.INFO: TCP Data received {"connection_id":160905,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:00:52] local.INFO: Processing buffer {"connection_id":160905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:00:52] local.INFO: IMEI packet received {"connection_id":160905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":160905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:00:53] local.INFO: TCP Data received {"connection_id":160905,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:00:53] local.INFO: Processing buffer {"connection_id":160905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:00:53] local.INFO: IMEI packet received {"connection_id":160905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":160905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:00:54] local.INFO: TCP Data received {"connection_id":159999,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:00:54] local.INFO: Processing buffer {"connection_id":159999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:00:54] local.INFO: IMEI packet received {"connection_id":159999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":159999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:00:55] local.INFO: TCP Data received {"connection_id":159999,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:00:55] local.INFO: Processing buffer {"connection_id":159999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:00:55] local.INFO: Packet analysis {"connection_id":159999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:00:55] local.INFO: Extracted packet for processing {"connection_id":159999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569241088001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:00: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-22 12:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787380149000,"timestamp_ms":1787380149000,"timestamp_seconds":1787380149,"priority":1,"record_length":96,"hex_timestamp":"000001a02828ab08"} 
[2026-08-22 12:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:00: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-22 12:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 12:00:55] 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-22 12:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:00:55] 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-22 12:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569241088001,"66":26039,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569241088001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569241088001,"power":26039,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":159999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:00:55] local.INFO: GPS data processed {"connection_id":159999,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:00:55] local.INFO: Acknowledgment sent {"connection_id":159999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:00:56] local.INFO: TCP Data received {"connection_id":160905,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:00:56] local.INFO: Processing buffer {"connection_id":160905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:00:56] local.INFO: IMEI packet received {"connection_id":160905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":160905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:00:58] local.INFO: TCP Data received {"connection_id":160905,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:00:58] local.INFO: Processing buffer {"connection_id":160905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:00:58] local.INFO: IMEI packet received {"connection_id":160905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":160905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:00:59] local.INFO: TCP Data received {"connection_id":160905,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0282937a8012d19b84007209f00003000d92a..."} 
[2026-08-22 12:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282937a8012d19b84007209f00003000d92a..."} 
[2026-08-22 12:00:59] local.INFO: Processing buffer {"connection_id":160905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282937a8012d19b84007209f00003000d92a..."} 
[2026-08-22 12:00:59] local.INFO: Packet analysis {"connection_id":160905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02829"} 
[2026-08-22 12:00:59] local.INFO: Extracted packet for processing {"connection_id":160905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02829"} 
[2026-08-22 12:00:59] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119578368,"longitude_deg":75.6660288,"latitude_deg":11.9578368,"altitude":48,"angle":217,"satellites":42,"speed":24,"hex_longitude":"2d19b840","hex_latitude":"07209f00","is_valid_coordinates":true} 
[2026-08-22 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-22 12:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569327104001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14443532634816512,"note":"Value kept but may cause issues"} 
[2026-08-22 12:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964716922880,"note":"Value kept but may cause issues"} 
[2026-08-22 12:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787380185000,"timestamp_ms":1787380185000,"timestamp_seconds":1787380185,"priority":1,"record_length":96,"hex_timestamp":"000001a0282937a8"} 
[2026-08-22 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-22 12:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-22 12:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 12:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569327104001,"66":14233,"103":206,"83":41984,"24":24,"16":14443532634816512,"45":1853934964716922880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 12:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569327104001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:00:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 12:00:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14443532634816512,"km_value":14443532634816.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964716922880,"description":"Unknown IO ID 45"} 
[2026-08-22 12:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569327104001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1853934964716922880}} 
[2026-08-22 12:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":160905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:00:59] local.INFO: GPS data processed {"connection_id":160905,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:00:59] local.INFO: Acknowledgment sent {"connection_id":160905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:01:00] local.INFO: TCP Data received {"connection_id":160905,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028294b30012d19af0007209350002f00cc29..."} 
[2026-08-22 12:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028294b30012d19af0007209350002f00cc29..."} 
[2026-08-22 12:01:00] local.INFO: Processing buffer {"connection_id":160905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028294b30012d19af0007209350002f00cc29..."} 
[2026-08-22 12:01:00] local.INFO: Packet analysis {"connection_id":160905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02829"} 
[2026-08-22 12:01:00] local.INFO: Extracted packet for processing {"connection_id":160905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02829"} 
[2026-08-22 12:01:00] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119575376,"longitude_deg":75.665792,"latitude_deg":11.9575376,"altitude":47,"angle":204,"satellites":41,"speed":31,"hex_longitude":"2d19af00","hex_latitude":"07209350","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569327360001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14443717318410240,"note":"Value kept but may cause issues"} 
[2026-08-22 12:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646019198976,"note":"Value kept but may cause issues"} 
[2026-08-22 12:01:00] 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-22 12:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787380190000,"timestamp_ms":1787380190000,"timestamp_seconds":1787380190,"priority":1,"record_length":96,"hex_timestamp":"000001a028294b30"} 
[2026-08-22 12: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-22 12:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-22 12:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569327360001,"66":14211,"103":206,"83":41984,"24":31,"16":14443717318410240,"45":1853301646019198976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 12:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569327360001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:01:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 12:01:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14443717318410240,"km_value":14443717318410.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646019198976,"description":"Unknown IO ID 45"} 
[2026-08-22 12:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569327360001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1853301646019198976}} 
[2026-08-22 12:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":160905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:01:00] local.INFO: GPS data processed {"connection_id":160905,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:01:00] local.INFO: Acknowledgment sent {"connection_id":160905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:01:26] local.INFO: TCP Data received {"connection_id":159999,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:01:26] local.INFO: Processing buffer {"connection_id":159999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:01:26] local.INFO: Packet analysis {"connection_id":159999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:01:26] local.INFO: Extracted packet for processing {"connection_id":159999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 12:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569241088001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:01: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-22 12:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787380149000,"timestamp_ms":1787380149000,"timestamp_seconds":1787380149,"priority":1,"record_length":96,"hex_timestamp":"000001a02828ab08"} 
[2026-08-22 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-22 12:01: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-22 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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 12:01:26] 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-22 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-22 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-22 12:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:01: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-22 12:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569241088001,"66":26039,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569241088001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:01:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569241088001,"power":26039,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":159999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:01:26] local.INFO: GPS data processed {"connection_id":159999,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:01:26] local.INFO: Acknowledgment sent {"connection_id":159999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:01:31] local.INFO: TCP Data received {"connection_id":160905,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028294f18012d19ae4007209068002f00c029..."} 
[2026-08-22 12:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028294f18012d19ae4007209068002f00c029..."} 
[2026-08-22 12:01:31] local.INFO: Processing buffer {"connection_id":160905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028294f18012d19ae4007209068002f00c029..."} 
[2026-08-22 12:01:31] local.INFO: Packet analysis {"connection_id":160905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02829"} 
[2026-08-22 12:01:31] local.INFO: Extracted packet for processing {"connection_id":160905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02829"} 
[2026-08-22 12:01:31] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119574632,"longitude_deg":75.6657728,"latitude_deg":11.9574632,"altitude":47,"angle":192,"satellites":41,"speed":29,"hex_longitude":"2d19ae40","hex_latitude":"07209068","is_valid_coordinates":true} 
[2026-08-22 12:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569328640001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14443755973115904,"note":"Value kept but may cause issues"} 
[2026-08-22 12:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002483859456,"note":"Value kept but may cause issues"} 
[2026-08-22 12:01:31] 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-22 12:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787380191000,"timestamp_ms":1787380191000,"timestamp_seconds":1787380191,"priority":1,"record_length":96,"hex_timestamp":"000001a028294f18"} 
[2026-08-22 12:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 12:01:31] 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-22 12:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569328640001,"66":14211,"103":206,"83":41984,"24":29,"16":14443755973115904,"45":1850698002483859456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 12:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569328640001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:01:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 12:01:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14443755973115904,"km_value":14443755973115.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002483859456,"description":"Unknown IO ID 45"} 
[2026-08-22 12:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569328640001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1850698002483859456}} 
[2026-08-22 12:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":160905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:01:31] local.INFO: GPS data processed {"connection_id":160905,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:01:31] local.INFO: Acknowledgment sent {"connection_id":160905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:01:53] local.INFO: TCP Data received {"connection_id":160906,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:01:53] local.INFO: Processing buffer {"connection_id":160906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:01:53] local.INFO: IMEI packet received {"connection_id":160906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":160906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:01:54] local.INFO: TCP Data received {"connection_id":160000,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:01:54] local.INFO: Processing buffer {"connection_id":160000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:01:54] local.INFO: IMEI packet received {"connection_id":160000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":160000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:01:56] local.INFO: TCP Data received {"connection_id":160906,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:01:56] local.INFO: Processing buffer {"connection_id":160906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:01:56] local.INFO: IMEI packet received {"connection_id":160906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":160906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:01:57] local.INFO: TCP Data received {"connection_id":160906,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0282a4530012d19ec00071ffc80002c006a2c..."} 
[2026-08-22 12:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282a4530012d19ec00071ffc80002c006a2c..."} 
[2026-08-22 12:01:57] local.INFO: Processing buffer {"connection_id":160906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282a4530012d19ec00071ffc80002c006a2c..."} 
[2026-08-22 12:01:57] local.INFO: Packet analysis {"connection_id":160906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282a"} 
[2026-08-22 12:01:57] local.INFO: Extracted packet for processing {"connection_id":160906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282a"} 
[2026-08-22 12:01:57] local.INFO: GPS Element Parsed {"raw_longitude":756673536,"raw_latitude":119536768,"longitude_deg":75.6673536,"latitude_deg":11.9536768,"altitude":44,"angle":106,"satellites":44,"speed":21,"hex_longitude":"2d19ec00","hex_latitude":"071ffc80","is_valid_coordinates":true} 
[2026-08-22 12:01: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-22 12:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569344768001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14445834737287168,"note":"Value kept but may cause issues"} 
[2026-08-22 12:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867234657355780096,"note":"Value kept but may cause issues"} 
[2026-08-22 12:01:57] 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-22 12:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787380254000,"timestamp_ms":1787380254000,"timestamp_seconds":1787380254,"priority":1,"record_length":96,"hex_timestamp":"000001a0282a4530"} 
[2026-08-22 12:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:01: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":92,"data_length":795,"current_offset":136} 
[2026-08-22 12:01:57] 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-22 12:01: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-22 12:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569344768001,"66":14341,"101":206,"83":41984,"24":21,"16":14445834737287168,"45":1867234657355780096},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 12:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569344768001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:01:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 12:01:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14445834737287168,"km_value":14445834737287.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867234657355780096,"description":"Unknown IO ID 45"} 
[2026-08-22 12:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569344768001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1867234657355780096}} 
[2026-08-22 12:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":160906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:01:57] local.INFO: GPS data processed {"connection_id":160906,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:01:57] local.INFO: Acknowledgment sent {"connection_id":160906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:01:59] local.INFO: TCP Data received {"connection_id":160000,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:01:59] local.INFO: Processing buffer {"connection_id":160000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:01:59] local.INFO: IMEI packet received {"connection_id":160000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":160000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:02:00] local.INFO: TCP Data received {"connection_id":160000,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:02:00] local.INFO: Processing buffer {"connection_id":160000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:02:00] local.INFO: Packet analysis {"connection_id":160000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:02:00] local.INFO: Extracted packet for processing {"connection_id":160000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569241088001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:00] 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-22 12:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787380149000,"timestamp_ms":1787380149000,"timestamp_seconds":1787380149,"priority":1,"record_length":96,"hex_timestamp":"000001a02828ab08"} 
[2026-08-22 12: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-22 12:02: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-22 12: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 12:02:00] 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-22 12: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-22 12: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-22 12:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:02: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-22 12:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569241088001,"66":26039,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569241088001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:02:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:02:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569241088001,"power":26039,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":160000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:02:00] local.INFO: GPS data processed {"connection_id":160000,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:02:00] local.INFO: Acknowledgment sent {"connection_id":160000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:02:04] local.INFO: TCP Data received {"connection_id":160000,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:02:04] local.INFO: Processing buffer {"connection_id":160000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:02:04] local.INFO: Packet analysis {"connection_id":160000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:02:04] local.INFO: Extracted packet for processing {"connection_id":160000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569241088001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:04] 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-22 12:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787380149000,"timestamp_ms":1787380149000,"timestamp_seconds":1787380149,"priority":1,"record_length":96,"hex_timestamp":"000001a02828ab08"} 
[2026-08-22 12: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-22 12:02: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-22 12: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 12:02:04] 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-22 12: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-22 12: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-22 12:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:02: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-22 12:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569241088001,"66":26039,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569241088001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:02:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:02:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569241088001,"power":26039,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":160000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:02:05] local.INFO: GPS data processed {"connection_id":160000,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:02:05] local.INFO: Acknowledgment sent {"connection_id":160000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:02:28] local.INFO: TCP Data received {"connection_id":160906,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0282a4918012d19ee40071ffc68002c00562c..."} 
[2026-08-22 12:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282a4918012d19ee40071ffc68002c00562c..."} 
[2026-08-22 12:02:28] local.INFO: Processing buffer {"connection_id":160906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282a4918012d19ee40071ffc68002c00562c..."} 
[2026-08-22 12:02:28] local.INFO: Packet analysis {"connection_id":160906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282a"} 
[2026-08-22 12:02:28] local.INFO: Extracted packet for processing {"connection_id":160906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282a"} 
[2026-08-22 12:02:28] local.INFO: GPS Element Parsed {"raw_longitude":756674112,"raw_latitude":119536744,"longitude_deg":75.6674112,"latitude_deg":11.9536744,"altitude":44,"angle":86,"satellites":44,"speed":23,"hex_longitude":"2d19ee40","hex_latitude":"071ffc68","is_valid_coordinates":true} 
[2026-08-22 12:02: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-22 12:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569345024001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14445864802058240,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867867976053325824,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:28] 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-22 12:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787380255000,"timestamp_ms":1787380255000,"timestamp_seconds":1787380255,"priority":1,"record_length":96,"hex_timestamp":"000001a0282a4918"} 
[2026-08-22 12:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 12:02: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":5,"data_length":795,"current_offset":136} 
[2026-08-22 12:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6981953984,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:28] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503820046303232,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-22 12:02:28] local.WARNING: Large IO value detected {"io_id":56,"raw_value":11822615429652224,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:28] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84752283636015156,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:28] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,82,160,65,45,192,253,44,42,10,66,5,43,40,37,64,1,240,125,227,32,4,113,205,22,2,208,216,239,56,51,7,20,206,96],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-22 12:02:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170650874881310720,"timestamp_seconds":3170650874881310.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569345024001,"66":14341,"101":206,"83":41984,"24":23,"16":14445864802058240,"45":1867867976053325824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 12:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569345024001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:02:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 12:02:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14445864802058240,"km_value":14445864802058.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867867976053325824,"description":"Unknown IO ID 45"} 
[2026-08-22 12:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569345024001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1867867976053325824}} 
[2026-08-22 12:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":160906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:02:28] local.INFO: GPS data processed {"connection_id":160906,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:02:28] local.INFO: Acknowledgment sent {"connection_id":160906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:02:49] local.INFO: TCP Data received {"connection_id":160907,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:02:49] local.INFO: Processing buffer {"connection_id":160907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:02:49] local.INFO: IMEI packet received {"connection_id":160907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":160907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:02:53] local.INFO: TCP Data received {"connection_id":162322,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:02:54] local.INFO: Processing buffer {"connection_id":162322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:02:54] local.INFO: IMEI packet received {"connection_id":162322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":162322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:02:54] local.INFO: TCP Data received {"connection_id":160907,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:02:54] local.INFO: Processing buffer {"connection_id":160907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:02:54] local.INFO: IMEI packet received {"connection_id":160907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":160907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:02:55] local.INFO: TCP Data received {"connection_id":160907,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:02:55] local.INFO: Processing buffer {"connection_id":160907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:02:55] local.INFO: Packet analysis {"connection_id":160907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:02:55] local.INFO: Extracted packet for processing {"connection_id":160907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569241088001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02: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-22 12:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787380149000,"timestamp_ms":1787380149000,"timestamp_seconds":1787380149,"priority":1,"record_length":96,"hex_timestamp":"000001a02828ab08"} 
[2026-08-22 12:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:02: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-22 12:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 12:02:55] 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-22 12:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:02: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-22 12:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569241088001,"66":26039,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569241088001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:02:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:02:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569241088001,"power":26039,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":160907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:02:55] local.INFO: GPS data processed {"connection_id":160907,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:02:55] local.INFO: Acknowledgment sent {"connection_id":160907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:02:57] local.INFO: TCP Data received {"connection_id":162322,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:02:57] local.INFO: Processing buffer {"connection_id":162322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:02:57] local.INFO: IMEI packet received {"connection_id":162322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":162322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:02:58] local.INFO: TCP Data received {"connection_id":162322,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0282a58b8012d19f980071ffcd8002d00662c..."} 
[2026-08-22 12:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282a58b8012d19f980071ffcd8002d00662c..."} 
[2026-08-22 12:02:58] local.INFO: Processing buffer {"connection_id":162322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282a58b8012d19f980071ffcd8002d00662c..."} 
[2026-08-22 12:02:58] local.INFO: Packet analysis {"connection_id":162322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282a"} 
[2026-08-22 12:02:58] local.INFO: Extracted packet for processing {"connection_id":162322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282a"} 
[2026-08-22 12:02:58] local.INFO: GPS Element Parsed {"raw_longitude":756676992,"raw_latitude":119536856,"longitude_deg":75.6676992,"latitude_deg":11.9536856,"altitude":45,"angle":102,"satellites":44,"speed":31,"hex_longitude":"2d19f980","hex_latitude":"071ffcd8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569345280001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14446002241011712,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868501294750918656,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787380259000,"timestamp_ms":1787380259000,"timestamp_seconds":1787380259,"priority":1,"record_length":96,"hex_timestamp":"000001a0282a58b8"} 
[2026-08-22 12: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-22 12:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 12:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6981954050,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:58] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503820046303232,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-22 12:02:58] local.WARNING: Large IO value detected {"io_id":14,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84752350208008211,"corrected_to":0} 
[2026-08-22 12:02:58] local.WARNING: Large IO value detected {"io_id":216,"raw_value":12103995933856768,"note":"Value kept but may cause issues"} 
[2026-08-22 12:02:58] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,82,160,69,45,252,44,10,66,65,192,253,42,1,240,5,227,40,32,4,113,205,22,14,213,239,56,2,51,7,43,20,206,200,216],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":200,"original":84752350208008211,"validated":0}]} 
[2026-08-22 12:02:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170628884648886272,"timestamp_seconds":3170628884648886.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12: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-22 12:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569345280001,"66":14211,"101":206,"83":41984,"24":31,"16":14446002241011712,"45":1868501294750918656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 12:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569345280001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:02:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 12:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14446002241011712,"km_value":14446002241011.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868501294750918656,"description":"Unknown IO ID 45"} 
[2026-08-22 12:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569345280001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1868501294750918656}} 
[2026-08-22 12:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":162322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:02:58] local.INFO: GPS data processed {"connection_id":162322,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:02:58] local.INFO: Acknowledgment sent {"connection_id":162322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:03:26] local.INFO: TCP Data received {"connection_id":160907,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:03:26] local.INFO: Processing buffer {"connection_id":160907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:03:26] local.INFO: Packet analysis {"connection_id":160907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:03:26] local.INFO: Extracted packet for processing {"connection_id":160907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:03:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 12:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569241088001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:03: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-22 12:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787380149000,"timestamp_ms":1787380149000,"timestamp_seconds":1787380149,"priority":1,"record_length":96,"hex_timestamp":"000001a02828ab08"} 
[2026-08-22 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-22 12:03: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-22 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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 12:03:26] 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-22 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-22 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-22 12:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:03:26] 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-22 12:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569241088001,"66":26039,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569241088001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:03:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:03:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569241088001,"power":26039,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":160907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:03:26] local.INFO: GPS data processed {"connection_id":160907,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:03:26] local.INFO: Acknowledgment sent {"connection_id":160907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:03:29] local.INFO: TCP Data received {"connection_id":162322,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0282a7fc8012d1a1d00071ff1e8002c006b2c..."} 
[2026-08-22 12:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282a7fc8012d1a1d00071ff1e8002c006b2c..."} 
[2026-08-22 12:03:29] local.INFO: Processing buffer {"connection_id":162322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282a7fc8012d1a1d00071ff1e8002c006b2c..."} 
[2026-08-22 12:03:29] local.INFO: Packet analysis {"connection_id":162322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282a"} 
[2026-08-22 12:03:29] local.INFO: Extracted packet for processing {"connection_id":162322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282a"} 
[2026-08-22 12:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756686080,"raw_latitude":119534056,"longitude_deg":75.668608,"latitude_deg":11.9534056,"altitude":44,"angle":107,"satellites":44,"speed":40,"hex_longitude":"2d1a1d00","hex_latitude":"071ff1e8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569346304001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14446453212577792,"note":"Value kept but may cause issues"} 
[2026-08-22 12:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871667888238942208,"note":"Value kept but may cause issues"} 
[2026-08-22 12:03:29] 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-22 12:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787380269000,"timestamp_ms":1787380269000,"timestamp_seconds":1787380269,"priority":1,"record_length":96,"hex_timestamp":"000001a0282a7fc8"} 
[2026-08-22 12: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-22 12:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 12: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 12:03: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-22 12: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-22 12: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-22 12:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569346304001,"66":14102,"101":206,"83":41984,"24":40,"16":14446453212577792,"45":1871667888238942208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 12:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569346304001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:03:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 12:03:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14446453212577792,"km_value":14446453212577.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871667888238942208,"description":"Unknown IO ID 45"} 
[2026-08-22 12:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569346304001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1871667888238942208}} 
[2026-08-22 12:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":162322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:03:29] local.INFO: GPS data processed {"connection_id":162322,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:03:29] local.INFO: Acknowledgment sent {"connection_id":162322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:03:49] local.INFO: TCP Data received {"connection_id":160001,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:03:49] local.INFO: Processing buffer {"connection_id":160001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:03:49] local.INFO: IMEI packet received {"connection_id":160001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":160001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:03:53] local.INFO: TCP Data received {"connection_id":159753,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:03:53] local.INFO: Processing buffer {"connection_id":159753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:03:53] local.INFO: IMEI packet received {"connection_id":159753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":159753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:03:54] local.INFO: TCP Data received {"connection_id":160001,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:03:54] local.INFO: Processing buffer {"connection_id":160001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:03:54] local.INFO: IMEI packet received {"connection_id":160001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":160001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:03:55] local.INFO: TCP Data received {"connection_id":160001,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:03:55] local.INFO: Processing buffer {"connection_id":160001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:03:55] local.INFO: Packet analysis {"connection_id":160001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:03:55] local.INFO: Extracted packet for processing {"connection_id":160001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569241088001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:03: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-22 12:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787380149000,"timestamp_ms":1787380149000,"timestamp_seconds":1787380149,"priority":1,"record_length":96,"hex_timestamp":"000001a02828ab08"} 
[2026-08-22 12:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:03: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-22 12:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 12:03:55] 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-22 12:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:03:55] 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-22 12:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569241088001,"66":26039,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569241088001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:03:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569241088001,"power":26039,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":160001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:03:55] local.INFO: GPS data processed {"connection_id":160001,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:03:55] local.INFO: Acknowledgment sent {"connection_id":160001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:03:58] local.INFO: TCP Data received {"connection_id":159753,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:03:58] local.INFO: Processing buffer {"connection_id":159753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:03:58] local.INFO: IMEI packet received {"connection_id":159753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":159753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:03:59] local.INFO: TCP Data received {"connection_id":159753,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0282aa2f0012d1a40c0071fe818002c00682a..."} 
[2026-08-22 12:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282aa2f0012d1a40c0071fe818002c00682a..."} 
[2026-08-22 12:03:59] local.INFO: Processing buffer {"connection_id":159753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282aa2f0012d1a40c0071fe818002c00682a..."} 
[2026-08-22 12:03:59] local.INFO: Packet analysis {"connection_id":159753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282a"} 
[2026-08-22 12:03:59] local.INFO: Extracted packet for processing {"connection_id":159753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282a"} 
[2026-08-22 12:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119531544,"longitude_deg":75.6695232,"latitude_deg":11.9531544,"altitude":44,"angle":104,"satellites":42,"speed":40,"hex_longitude":"2d1a40c0","hex_latitude":"071fe818","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569348864001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14446904184143872,"note":"Value kept but may cause issues"} 
[2026-08-22 12:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881660249911453696,"note":"Value kept but may cause issues"} 
[2026-08-22 12:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787380278000,"timestamp_ms":1787380278000,"timestamp_seconds":1787380278,"priority":1,"record_length":96,"hex_timestamp":"000001a0282aa2f0"} 
[2026-08-22 12: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-22 12:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 12:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569348864001,"66":13222,"101":206,"83":41984,"24":40,"16":14446904184143872,"45":1881660249911453696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 12:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569348864001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:03:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 12:03:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14446904184143872,"km_value":14446904184143.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881660249911453696,"description":"Unknown IO ID 45"} 
[2026-08-22 12:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569348864001,"power":13222,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1881660249911453696}} 
[2026-08-22 12:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":159753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:03:59] local.INFO: GPS data processed {"connection_id":159753,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:03:59] local.INFO: Acknowledgment sent {"connection_id":159753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:04:26] local.INFO: TCP Data received {"connection_id":160001,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:04:26] local.INFO: Processing buffer {"connection_id":160001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02828ab08012d7fabc005afe1b8001101212e..."} 
[2026-08-22 12:04:26] local.INFO: Packet analysis {"connection_id":160001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:04:26] local.INFO: Extracted packet for processing {"connection_id":160001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02828"} 
[2026-08-22 12:04:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569241088001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:04: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-22 12:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787380149000,"timestamp_ms":1787380149000,"timestamp_seconds":1787380149,"priority":1,"record_length":96,"hex_timestamp":"000001a02828ab08"} 
[2026-08-22 12:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:04: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-22 12:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 12:04:26] 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-22 12:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:04:26] 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-22 12:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569241088001,"66":26039,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569241088001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:04:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569241088001,"power":26039,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":160001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:04:26] local.INFO: GPS data processed {"connection_id":160001,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:04:26] local.INFO: Acknowledgment sent {"connection_id":160001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:04:30] local.INFO: TCP Data received {"connection_id":159753,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0282aaea8012d1a4c40071fe468002d00752b..."} 
[2026-08-22 12:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282aaea8012d1a4c40071fe468002d00752b..."} 
[2026-08-22 12:04:30] local.INFO: Processing buffer {"connection_id":159753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282aaea8012d1a4c40071fe468002d00752b..."} 
[2026-08-22 12:04:30] local.INFO: Packet analysis {"connection_id":159753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282a"} 
[2026-08-22 12:04:30] local.INFO: Extracted packet for processing {"connection_id":159753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282a"} 
[2026-08-22 12:04:30] local.INFO: GPS Element Parsed {"raw_longitude":756698176,"raw_latitude":119530600,"longitude_deg":75.6698176,"latitude_deg":11.95306,"altitude":45,"angle":117,"satellites":43,"speed":37,"hex_longitude":"2d1a4c40","hex_latitude":"071fe468","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569351168001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14447050213031936,"note":"Value kept but may cause issues"} 
[2026-08-22 12:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980328216576,"note":"Value kept but may cause issues"} 
[2026-08-22 12:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787380281000,"timestamp_ms":1787380281000,"timestamp_seconds":1787380281,"priority":1,"record_length":96,"hex_timestamp":"000001a0282aaea8"} 
[2026-08-22 12: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-22 12:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-22 12:04:30] 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-22 12: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-22 12: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-22 12:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569351168001,"66":13135,"101":206,"83":41984,"24":37,"16":14447050213031936,"45":1891722980328216576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 12:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569351168001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:04:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 12:04:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14447050213031936,"km_value":14447050213031.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980328216576,"description":"Unknown IO ID 45"} 
[2026-08-22 12:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569351168001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1891722980328216576}} 
[2026-08-22 12:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":159753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:04:30] local.INFO: GPS data processed {"connection_id":159753,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:04:30] local.INFO: Acknowledgment sent {"connection_id":159753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:04:48] local.INFO: TCP Data received {"connection_id":160908,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:04:48] local.INFO: Processing buffer {"connection_id":160908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:04:48] local.INFO: IMEI packet received {"connection_id":160908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":160908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:04:52] local.INFO: TCP Data received {"connection_id":160908,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:04:52] local.INFO: Processing buffer {"connection_id":160908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:04:52] local.INFO: IMEI packet received {"connection_id":160908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":160908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:04:53] local.INFO: TCP Data received {"connection_id":160002,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:04:53] local.INFO: Processing buffer {"connection_id":160002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:04:53] local.INFO: IMEI packet received {"connection_id":160002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":160002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:04:54] local.INFO: TCP Data received {"connection_id":160908,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:04:54] local.INFO: Processing buffer {"connection_id":160908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:04:54] local.INFO: IMEI packet received {"connection_id":160908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":160908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:04:54] local.INFO: TCP Data received {"connection_id":160908,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:04:54] local.INFO: Processing buffer {"connection_id":160908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:04:54] local.INFO: Packet analysis {"connection_id":160908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:04:54] local.INFO: Extracted packet for processing {"connection_id":160908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:04:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569318144001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:04:54] 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-22 12:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787380450000,"timestamp_ms":1787380450000,"timestamp_seconds":1787380450,"priority":1,"record_length":96,"hex_timestamp":"000001a0282d42d0"} 
[2026-08-22 12: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-22 12:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 12:04:54] 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-22 12:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12: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-22 12:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:04:54] 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-22 12:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569318144001,"66":25908,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569318144001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:04:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:04:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569318144001,"power":25908,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":160908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:04:54] local.INFO: GPS data processed {"connection_id":160908,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:04:54] local.INFO: Acknowledgment sent {"connection_id":160908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:04:58] local.INFO: TCP Data received {"connection_id":160002,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:04:58] local.INFO: Processing buffer {"connection_id":160002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:04:58] local.INFO: IMEI packet received {"connection_id":160002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":160002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:04:59] local.INFO: TCP Data received {"connection_id":160002,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0282ac618012d1a5f80071fdac0002f00622d..."} 
[2026-08-22 12:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282ac618012d1a5f80071fdac0002f00622d..."} 
[2026-08-22 12:04:59] local.INFO: Processing buffer {"connection_id":160002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282ac618012d1a5f80071fdac0002f00622d..."} 
[2026-08-22 12:04:59] local.INFO: Packet analysis {"connection_id":160002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282a"} 
[2026-08-22 12:04:59] local.INFO: Extracted packet for processing {"connection_id":160002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282a"} 
[2026-08-22 12:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756703104,"raw_latitude":119528128,"longitude_deg":75.6703104,"latitude_deg":11.9528128,"altitude":47,"angle":98,"satellites":45,"speed":37,"hex_longitude":"2d1a5f80","hex_latitude":"071fdac0","is_valid_coordinates":true} 
[2026-08-22 12:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569351936001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14447316501004288,"note":"Value kept but may cause issues"} 
[2026-08-22 12:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1894959942560147456,"note":"Value kept but may cause issues"} 
[2026-08-22 12:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787380287000,"timestamp_ms":1787380287000,"timestamp_seconds":1787380287,"priority":1,"record_length":96,"hex_timestamp":"000001a0282ac618"} 
[2026-08-22 12:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-22 12:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569351936001,"66":13135,"101":206,"83":41984,"24":37,"16":14447316501004288,"45":1894959942560147456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 12:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569351936001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:04:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 12:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14447316501004288,"km_value":14447316501004.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1894959942560147456,"description":"Unknown IO ID 45"} 
[2026-08-22 12:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569351936001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1894959942560147456}} 
[2026-08-22 12:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":160002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:04:59] local.INFO: GPS data processed {"connection_id":160002,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:04:59] local.INFO: Acknowledgment sent {"connection_id":160002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:04:59] local.INFO: TCP Data received {"connection_id":160908,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:04:59] local.INFO: Processing buffer {"connection_id":160908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:04:59] local.INFO: Packet analysis {"connection_id":160908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:04:59] local.INFO: Extracted packet for processing {"connection_id":160908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:04:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569318144001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:04:59] 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-22 12:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787380450000,"timestamp_ms":1787380450000,"timestamp_seconds":1787380450,"priority":1,"record_length":96,"hex_timestamp":"000001a0282d42d0"} 
[2026-08-22 12:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:04: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-22 12:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 12:04: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-22 12:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:04: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-22 12:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569318144001,"66":25908,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569318144001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:04:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:04:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569318144001,"power":25908,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":160908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:04:59] local.INFO: GPS data processed {"connection_id":160908,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:04:59] local.INFO: Acknowledgment sent {"connection_id":160908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:05:30] local.INFO: TCP Data received {"connection_id":160002,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0282d2b60012d1a8bc0071fadd8003900902f..."} 
[2026-08-22 12:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282d2b60012d1a8bc0071fadd8003900902f..."} 
[2026-08-22 12:05:30] local.INFO: Processing buffer {"connection_id":160002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282d2b60012d1a8bc0071fadd8003900902f..."} 
[2026-08-22 12:05:30] local.INFO: Packet analysis {"connection_id":160002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:05:30] local.INFO: Extracted packet for processing {"connection_id":160002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:05:30] local.INFO: GPS Element Parsed {"raw_longitude":756714432,"raw_latitude":119516632,"longitude_deg":75.6714432,"latitude_deg":11.9516632,"altitude":57,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d1a8bc0","hex_latitude":"071fadd8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569388288001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14448132544790528,"note":"Value kept but may cause issues"} 
[2026-08-22 12:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912833603577698304,"note":"Value kept but may cause issues"} 
[2026-08-22 12:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787380444000,"timestamp_ms":1787380444000,"timestamp_seconds":1787380444,"priority":1,"record_length":96,"hex_timestamp":"000001a0282d2b60"} 
[2026-08-22 12: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-22 12:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 12:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569388288001,"66":12972,"101":206,"83":41984,"24":0,"16":14448132544790528,"45":1912833603577698304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 12:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569388288001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:05:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 12:05:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14448132544790528,"km_value":14448132544790.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912833603577698304,"description":"Unknown IO ID 45"} 
[2026-08-22 12:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569388288001,"power":12972,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912833603577698304}} 
[2026-08-22 12:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":160002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:05:30] local.INFO: GPS data processed {"connection_id":160002,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:05:30] local.INFO: Acknowledgment sent {"connection_id":160002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:05:31] local.INFO: TCP Data received {"connection_id":160908,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:05:31] local.INFO: Processing buffer {"connection_id":160908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:05:31] local.INFO: Packet analysis {"connection_id":160908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:05:31] local.INFO: Extracted packet for processing {"connection_id":160908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569318144001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:05:31] 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-22 12:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787380450000,"timestamp_ms":1787380450000,"timestamp_seconds":1787380450,"priority":1,"record_length":96,"hex_timestamp":"000001a0282d42d0"} 
[2026-08-22 12: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-22 12:05: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-22 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 12:05:31] 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-22 12: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-22 12: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-22 12:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:05: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-22 12:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569318144001,"66":25908,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569318144001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569318144001,"power":25908,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":160908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:05:31] local.INFO: GPS data processed {"connection_id":160908,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:05:31] local.INFO: Acknowledgment sent {"connection_id":160908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:05:49] local.INFO: TCP Data received {"connection_id":159754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:05:49] local.INFO: Processing buffer {"connection_id":159754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:05:49] local.INFO: IMEI packet received {"connection_id":159754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":159754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:05:54] local.INFO: TCP Data received {"connection_id":159754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:05:54] local.INFO: Processing buffer {"connection_id":159754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:05:54] local.INFO: IMEI packet received {"connection_id":159754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":159754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:05:55] local.INFO: TCP Data received {"connection_id":159754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:05:55] local.INFO: Processing buffer {"connection_id":159754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:05:55] local.INFO: Packet analysis {"connection_id":159754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:05:55] local.INFO: Extracted packet for processing {"connection_id":159754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569318144001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:05: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-22 12:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787380450000,"timestamp_ms":1787380450000,"timestamp_seconds":1787380450,"priority":1,"record_length":96,"hex_timestamp":"000001a0282d42d0"} 
[2026-08-22 12:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:05: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-22 12:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 12:05:55] 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-22 12:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:05:55] local.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-22 12:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569318144001,"66":25908,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569318144001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:05:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:05:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569318144001,"power":25908,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":159754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:05:55] local.INFO: GPS data processed {"connection_id":159754,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:05:55] local.INFO: Acknowledgment sent {"connection_id":159754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:05:58] local.INFO: TCP Data received {"connection_id":162323,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:05:58] local.INFO: Processing buffer {"connection_id":162323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:05:58] local.INFO: IMEI packet received {"connection_id":162323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":162323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:06:03] local.INFO: TCP Data received {"connection_id":162323,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:06:03] local.INFO: Processing buffer {"connection_id":162323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:06:03] local.INFO: IMEI packet received {"connection_id":162323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":162323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:06:04] local.INFO: TCP Data received {"connection_id":162323,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0282d7d68012d1a8bc0071fadd8003900902c..."} 
[2026-08-22 12:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282d7d68012d1a8bc0071fadd8003900902c..."} 
[2026-08-22 12:06:04] local.INFO: Processing buffer {"connection_id":162323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282d7d68012d1a8bc0071fadd8003900902c..."} 
[2026-08-22 12:06:04] local.INFO: Packet analysis {"connection_id":162323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:06:04] local.INFO: Extracted packet for processing {"connection_id":162323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756714432,"raw_latitude":119516632,"longitude_deg":75.6714432,"latitude_deg":11.9516632,"altitude":57,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d1a8bc0","hex_latitude":"071fadd8","is_valid_coordinates":true} 
[2026-08-22 12:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569393664001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14448132544790528,"note":"Value kept but may cause issues"} 
[2026-08-22 12:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912833603577698304,"note":"Value kept but may cause issues"} 
[2026-08-22 12:06: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-22 12:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787380465000,"timestamp_ms":1787380465000,"timestamp_seconds":1787380465,"priority":1,"record_length":96,"hex_timestamp":"000001a0282d7d68"} 
[2026-08-22 12:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:06: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-22 12:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 12:06:04] 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-22 12:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569393664001,"66":12950,"101":206,"83":41984,"24":0,"16":14448132544790528,"45":1912833603577698304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 12:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569393664001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:06:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 12:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14448132544790528,"km_value":14448132544790.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912833603577698304,"description":"Unknown IO ID 45"} 
[2026-08-22 12:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569393664001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912833603577698304}} 
[2026-08-22 12:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":162323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:06:04] local.INFO: GPS data processed {"connection_id":162323,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:06:04] local.INFO: Acknowledgment sent {"connection_id":162323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:06:26] local.INFO: TCP Data received {"connection_id":159754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:06:26] local.INFO: Processing buffer {"connection_id":159754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:06:26] local.INFO: Packet analysis {"connection_id":159754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:06:26] local.INFO: Extracted packet for processing {"connection_id":159754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:06:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569318144001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:06: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-22 12:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787380450000,"timestamp_ms":1787380450000,"timestamp_seconds":1787380450,"priority":1,"record_length":96,"hex_timestamp":"000001a0282d42d0"} 
[2026-08-22 12:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:06: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-22 12:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 12:06:26] 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-22 12:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:06: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-22 12:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569318144001,"66":25908,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569318144001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:06:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:06:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569318144001,"power":25908,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":159754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:06:26] local.INFO: GPS data processed {"connection_id":159754,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:06:26] local.INFO: Acknowledgment sent {"connection_id":159754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:06:35] local.INFO: TCP Data received {"connection_id":162323,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0282dcf70012d1a8bc0071fadd8003900902c..."} 
[2026-08-22 12:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282dcf70012d1a8bc0071fadd8003900902c..."} 
[2026-08-22 12:06:35] local.INFO: Processing buffer {"connection_id":162323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282dcf70012d1a8bc0071fadd8003900902c..."} 
[2026-08-22 12:06:35] local.INFO: Packet analysis {"connection_id":162323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:06:35] local.INFO: Extracted packet for processing {"connection_id":162323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:06:35] local.INFO: GPS Element Parsed {"raw_longitude":756714432,"raw_latitude":119516632,"longitude_deg":75.6714432,"latitude_deg":11.9516632,"altitude":57,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d1a8bc0","hex_latitude":"071fadd8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569399040001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14448132544790528,"note":"Value kept but may cause issues"} 
[2026-08-22 12:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912833603577698304,"note":"Value kept but may cause issues"} 
[2026-08-22 12:06:35] 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-22 12:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787380486000,"timestamp_ms":1787380486000,"timestamp_seconds":1787380486,"priority":1,"record_length":96,"hex_timestamp":"000001a0282dcf70"} 
[2026-08-22 12: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-22 12:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 12:06:35] 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-22 12: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-22 12: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-22 12:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":162323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":162323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":162323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569399040001,"66":12928,"101":206,"83":41984,"24":0,"16":14448132544790528,"45":1912833603577698304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 12:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569399040001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:06:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 12:06:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14448132544790528,"km_value":14448132544790.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912833603577698304,"description":"Unknown IO ID 45"} 
[2026-08-22 12:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569399040001,"power":12928,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912833603577698304}} 
[2026-08-22 12:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":162323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:06:35] local.INFO: GPS data processed {"connection_id":162323,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:06:35] local.INFO: Acknowledgment sent {"connection_id":162323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:06:53] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:06:53] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:06:53] local.INFO: IMEI packet received {"connection_id":160003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":160003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:06:54] local.INFO: TCP Data received {"connection_id":160004,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:06:54] local.INFO: Processing buffer {"connection_id":160004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:06:54] local.INFO: IMEI packet received {"connection_id":160004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":160004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:06:58] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:06:58] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:06:58] local.INFO: IMEI packet received {"connection_id":160003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":160003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:06:59] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0282e2178012d1a8bc0071fadd8003900902a..."} 
[2026-08-22 12:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282e2178012d1a8bc0071fadd8003900902a..."} 
[2026-08-22 12:06:59] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282e2178012d1a8bc0071fadd8003900902a..."} 
[2026-08-22 12:06:59] local.INFO: Packet analysis {"connection_id":160003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282e"} 
[2026-08-22 12:06:59] local.INFO: Extracted packet for processing {"connection_id":160003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282e"} 
[2026-08-22 12:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756714432,"raw_latitude":119516632,"longitude_deg":75.6714432,"latitude_deg":11.9516632,"altitude":57,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d1a8bc0","hex_latitude":"071fadd8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569404416001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14448132544790528,"note":"Value kept but may cause issues"} 
[2026-08-22 12:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912833603577698304,"note":"Value kept but may cause issues"} 
[2026-08-22 12:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787380507000,"timestamp_ms":1787380507000,"timestamp_seconds":1787380507,"priority":1,"record_length":96,"hex_timestamp":"000001a0282e2178"} 
[2026-08-22 12: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-22 12:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-22 12:06:59] 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-22 12: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-22 12: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-22 12:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569404416001,"66":12885,"101":206,"83":41984,"24":0,"16":14448132544790528,"45":1912833603577698304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 12:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569404416001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:06:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 12:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14448132544790528,"km_value":14448132544790.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912833603577698304,"description":"Unknown IO ID 45"} 
[2026-08-22 12:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569404416001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912833603577698304}} 
[2026-08-22 12:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":160003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:06:59] local.INFO: GPS data processed {"connection_id":160003,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:06:59] local.INFO: Acknowledgment sent {"connection_id":160003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:06:59] local.INFO: TCP Data received {"connection_id":160004,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:06:59] local.INFO: Processing buffer {"connection_id":160004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:06:59] local.INFO: IMEI packet received {"connection_id":160004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":160004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:07:00] local.INFO: TCP Data received {"connection_id":160004,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:07:00] local.INFO: Processing buffer {"connection_id":160004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:07:00] local.INFO: Packet analysis {"connection_id":160004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:07:00] local.INFO: Extracted packet for processing {"connection_id":160004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:07:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569318144001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:07:00] 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-22 12:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787380450000,"timestamp_ms":1787380450000,"timestamp_seconds":1787380450,"priority":1,"record_length":96,"hex_timestamp":"000001a0282d42d0"} 
[2026-08-22 12:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:07: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-22 12:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 12:07:00] 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-22 12:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:07:00] 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-22 12:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569318144001,"66":25908,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569318144001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:07:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:07:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569318144001,"power":25908,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":160004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:07:00] local.INFO: GPS data processed {"connection_id":160004,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:07:00] local.INFO: Acknowledgment sent {"connection_id":160004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:07:04] local.INFO: TCP Data received {"connection_id":160004,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:07:04] local.INFO: Processing buffer {"connection_id":160004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:07:04] local.INFO: Packet analysis {"connection_id":160004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:07:04] local.INFO: Extracted packet for processing {"connection_id":160004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:07:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569318144001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:07:04] 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-22 12:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787380450000,"timestamp_ms":1787380450000,"timestamp_seconds":1787380450,"priority":1,"record_length":96,"hex_timestamp":"000001a0282d42d0"} 
[2026-08-22 12: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-22 12: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-22 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 12:07: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-22 12: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-22 12: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-22 12:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:07:04] 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-22 12:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569318144001,"66":25908,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569318144001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:07:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:07:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569318144001,"power":25908,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":160004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:07:04] local.INFO: GPS data processed {"connection_id":160004,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:07:04] local.INFO: Acknowledgment sent {"connection_id":160004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:07:30] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0282e7380012d1a8bc0071fadd8003900902c..."} 
[2026-08-22 12:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282e7380012d1a8bc0071fadd8003900902c..."} 
[2026-08-22 12:07:30] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282e7380012d1a8bc0071fadd8003900902c..."} 
[2026-08-22 12:07:30] local.INFO: Packet analysis {"connection_id":160003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282e"} 
[2026-08-22 12:07:30] local.INFO: Extracted packet for processing {"connection_id":160003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282e"} 
[2026-08-22 12:07:30] local.INFO: GPS Element Parsed {"raw_longitude":756714432,"raw_latitude":119516632,"longitude_deg":75.6714432,"latitude_deg":11.9516632,"altitude":57,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d1a8bc0","hex_latitude":"071fadd8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569409792001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14448132544790528,"note":"Value kept but may cause issues"} 
[2026-08-22 12:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912833603577698304,"note":"Value kept but may cause issues"} 
[2026-08-22 12:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787380528000,"timestamp_ms":1787380528000,"timestamp_seconds":1787380528,"priority":1,"record_length":96,"hex_timestamp":"000001a0282e7380"} 
[2026-08-22 12: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-22 12:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 12:07:30] 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-22 12: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-22 12: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-22 12:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569409792001,"66":12852,"101":206,"83":41984,"24":0,"16":14448132544790528,"45":1912833603577698304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 12:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569409792001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:07:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 12:07:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14448132544790528,"km_value":14448132544790.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912833603577698304,"description":"Unknown IO ID 45"} 
[2026-08-22 12:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569409792001,"power":12852,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912833603577698304}} 
[2026-08-22 12:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":160003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:07:30] local.INFO: GPS data processed {"connection_id":160003,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:07:30] local.INFO: Acknowledgment sent {"connection_id":160003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:07:49] local.INFO: TCP Data received {"connection_id":162324,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:07:49] local.INFO: Processing buffer {"connection_id":162324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:07:49] local.INFO: IMEI packet received {"connection_id":162324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":162324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:07:51] local.INFO: TCP Data received {"connection_id":159755,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:07:51] local.INFO: Processing buffer {"connection_id":159755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:07:51] local.INFO: IMEI packet received {"connection_id":159755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":159755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:07:53] local.INFO: TCP Data received {"connection_id":159755,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:07:53] local.INFO: Processing buffer {"connection_id":159755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:07:53] local.INFO: IMEI packet received {"connection_id":159755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":159755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:07:55] local.INFO: TCP Data received {"connection_id":162324,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:07:55] local.INFO: Processing buffer {"connection_id":162324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:07:55] local.INFO: IMEI packet received {"connection_id":162324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":162324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:07:56] local.INFO: TCP Data received {"connection_id":162324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:07:56] local.INFO: Processing buffer {"connection_id":162324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:07:56] local.INFO: Packet analysis {"connection_id":162324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:07:56] local.INFO: Extracted packet for processing {"connection_id":162324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569318144001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:07: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-22 12:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787380450000,"timestamp_ms":1787380450000,"timestamp_seconds":1787380450,"priority":1,"record_length":96,"hex_timestamp":"000001a0282d42d0"} 
[2026-08-22 12:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:07: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-22 12:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 12:07:56] 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-22 12:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:07: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-22 12:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569318144001,"66":25908,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569318144001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:07:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569318144001,"power":25908,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":162324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:07:56] local.INFO: GPS data processed {"connection_id":162324,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:07:56] local.INFO: Acknowledgment sent {"connection_id":162324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:07:58] local.INFO: TCP Data received {"connection_id":159755,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:07:58] local.INFO: Processing buffer {"connection_id":159755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:07:58] local.INFO: IMEI packet received {"connection_id":159755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":159755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:07:59] local.INFO: TCP Data received {"connection_id":159755,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0282ec588012d1a8bc0071fadd8003900902c..."} 
[2026-08-22 12:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282ec588012d1a8bc0071fadd8003900902c..."} 
[2026-08-22 12:07:59] local.INFO: Processing buffer {"connection_id":159755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282ec588012d1a8bc0071fadd8003900902c..."} 
[2026-08-22 12:07:59] local.INFO: Packet analysis {"connection_id":159755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282e"} 
[2026-08-22 12:07:59] local.INFO: Extracted packet for processing {"connection_id":159755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282e"} 
[2026-08-22 12:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756714432,"raw_latitude":119516632,"longitude_deg":75.6714432,"latitude_deg":11.9516632,"altitude":57,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d1a8bc0","hex_latitude":"071fadd8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569415168001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14448132544790528,"note":"Value kept but may cause issues"} 
[2026-08-22 12:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912833603577698304,"note":"Value kept but may cause issues"} 
[2026-08-22 12:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787380549000,"timestamp_ms":1787380549000,"timestamp_seconds":1787380549,"priority":1,"record_length":96,"hex_timestamp":"000001a0282ec588"} 
[2026-08-22 12: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-22 12:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 12:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569415168001,"66":12537,"101":206,"83":41984,"24":0,"16":14448132544790528,"45":1912833603577698304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 12:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569415168001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:07:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 12:07:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14448132544790528,"km_value":14448132544790.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912833603577698304,"description":"Unknown IO ID 45"} 
[2026-08-22 12:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569415168001,"power":12537,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912833603577698304}} 
[2026-08-22 12:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":159755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:07:59] local.INFO: GPS data processed {"connection_id":159755,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:07:59] local.INFO: Acknowledgment sent {"connection_id":159755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:08:27] local.INFO: TCP Data received {"connection_id":162324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:08:27] local.INFO: Processing buffer {"connection_id":162324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:08:27] local.INFO: Packet analysis {"connection_id":162324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:08:27] local.INFO: Extracted packet for processing {"connection_id":162324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569318144001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:08:27] 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-22 12:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787380450000,"timestamp_ms":1787380450000,"timestamp_seconds":1787380450,"priority":1,"record_length":96,"hex_timestamp":"000001a0282d42d0"} 
[2026-08-22 12:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:08: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-22 12:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 12:08:27] 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-22 12:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:08: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-22 12:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569318144001,"66":25908,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569318144001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:08:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569318144001,"power":25908,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":162324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:08:27] local.INFO: GPS data processed {"connection_id":162324,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:08:27] local.INFO: Acknowledgment sent {"connection_id":162324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:08:30] local.INFO: TCP Data received {"connection_id":159755,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0283082d8012d1ac6c0071f8500003800752c..."} 
[2026-08-22 12:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283082d8012d1ac6c0071f8500003800752c..."} 
[2026-08-22 12:08:30] local.INFO: Processing buffer {"connection_id":159755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283082d8012d1ac6c0071f8500003800752c..."} 
[2026-08-22 12:08:30] local.INFO: Packet analysis {"connection_id":159755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02830"} 
[2026-08-22 12:08:30] local.INFO: Extracted packet for processing {"connection_id":159755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02830"} 
[2026-08-22 12:08:30] local.INFO: GPS Element Parsed {"raw_longitude":756729536,"raw_latitude":119506176,"longitude_deg":75.6729536,"latitude_deg":11.9506176,"altitude":56,"angle":117,"satellites":44,"speed":10,"hex_longitude":"2d1ac6c0","hex_latitude":"071f8500","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569449472001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14449086027530240,"note":"Value kept but may cause issues"} 
[2026-08-22 12:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929159152224286720,"note":"Value kept but may cause issues"} 
[2026-08-22 12:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787380663000,"timestamp_ms":1787380663000,"timestamp_seconds":1787380663,"priority":1,"record_length":96,"hex_timestamp":"000001a0283082d8"} 
[2026-08-22 12: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-22 12:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-22 12:08:30] 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-22 12: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-22 12: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-22 12:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569449472001,"66":14233,"101":206,"83":41984,"24":10,"16":14449086027530240,"45":1929159152224286720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 12:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569449472001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:08:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 12:08:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14449086027530240,"km_value":14449086027530.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929159152224286720,"description":"Unknown IO ID 45"} 
[2026-08-22 12:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569449472001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1929159152224286720}} 
[2026-08-22 12:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":159755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:08:30] local.INFO: GPS data processed {"connection_id":159755,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:08:30] local.INFO: Acknowledgment sent {"connection_id":159755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:08:49] local.INFO: TCP Data received {"connection_id":160909,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:08:49] local.INFO: Processing buffer {"connection_id":160909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:08:49] local.INFO: IMEI packet received {"connection_id":160909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":160909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:08:52] local.INFO: TCP Data received {"connection_id":160910,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:08:52] local.INFO: Processing buffer {"connection_id":160910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:08:52] local.INFO: IMEI packet received {"connection_id":160910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":160910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:08:53] local.INFO: TCP Data received {"connection_id":160910,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:08:53] local.INFO: Processing buffer {"connection_id":160910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:08:53] local.INFO: IMEI packet received {"connection_id":160910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":160910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:08:53] local.INFO: TCP Data received {"connection_id":160910,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:08:53] local.INFO: Processing buffer {"connection_id":160910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:08:53] local.INFO: IMEI packet received {"connection_id":160910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":160910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:08:54] local.INFO: TCP Data received {"connection_id":160910,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:08:54] local.INFO: Processing buffer {"connection_id":160910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:08:54] local.INFO: IMEI packet received {"connection_id":160910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":160910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:08:54] local.INFO: TCP Data received {"connection_id":160909,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:08:54] local.INFO: Processing buffer {"connection_id":160909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:08:54] local.INFO: IMEI packet received {"connection_id":160909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":160909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:08:55] local.INFO: TCP Data received {"connection_id":160909,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:08:55] local.INFO: Processing buffer {"connection_id":160909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:08:55] local.INFO: Packet analysis {"connection_id":160909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:08:55] local.INFO: Extracted packet for processing {"connection_id":160909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569318144001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:08: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-22 12:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787380450000,"timestamp_ms":1787380450000,"timestamp_seconds":1787380450,"priority":1,"record_length":96,"hex_timestamp":"000001a0282d42d0"} 
[2026-08-22 12: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-22 12:08: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-22 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 12:08:55] 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-22 12: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-22 12: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-22 12:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:08:55] 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-22 12:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569318144001,"66":25908,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569318144001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:08:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:08:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569318144001,"power":25908,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":160909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:08:55] local.INFO: GPS data processed {"connection_id":160909,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:08:55] local.INFO: Acknowledgment sent {"connection_id":160909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:09:26] local.INFO: TCP Data received {"connection_id":160909,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:09:26] local.INFO: Processing buffer {"connection_id":160909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0282d42d0012d7fabc005afe1b80011012130..."} 
[2026-08-22 12:09:26] local.INFO: Packet analysis {"connection_id":160909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:09:26] local.INFO: Extracted packet for processing {"connection_id":160909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0282d"} 
[2026-08-22 12:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":17,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569318144001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:09: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-22 12:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787380450000,"timestamp_ms":1787380450000,"timestamp_seconds":1787380450,"priority":1,"record_length":96,"hex_timestamp":"000001a0282d42d0"} 
[2026-08-22 12: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-22 12:09: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-22 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 12:09:26] 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-22 12: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-22 12: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-22 12:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:09: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-22 12:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569318144001,"66":25908,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569318144001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:09:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569318144001,"power":25908,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":160909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:09:26] local.INFO: GPS data processed {"connection_id":160909,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:09:26] local.INFO: Acknowledgment sent {"connection_id":160909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:09:49] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:09:49] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:09:49] local.INFO: IMEI packet received {"connection_id":160005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":160005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:09:50] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:09:50] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:09:50] local.INFO: IMEI packet received {"connection_id":160005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":160005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:09:54] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:09:54] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:09:54] local.INFO: IMEI packet received {"connection_id":160005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":160005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:09:55] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:09:55] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:09:55] local.INFO: Packet analysis {"connection_id":160005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:09:55] local.INFO: Extracted packet for processing {"connection_id":160005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:09:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569395200001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:09: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-22 12:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787380751000,"timestamp_ms":1787380751000,"timestamp_seconds":1787380751,"priority":1,"record_length":96,"hex_timestamp":"000001a02831da98"} 
[2026-08-22 12:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:09: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-22 12:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 12:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:09:55] 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-22 12:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569395200001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569395200001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:09:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:09:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569395200001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":160005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:09:55] local.INFO: GPS data processed {"connection_id":160005,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:09:55] local.INFO: Acknowledgment sent {"connection_id":160005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:10:26] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:10:26] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:10:26] local.INFO: Packet analysis {"connection_id":160005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:10:26] local.INFO: Extracted packet for processing {"connection_id":160005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:10:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569395200001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:10: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-22 12:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787380751000,"timestamp_ms":1787380751000,"timestamp_seconds":1787380751,"priority":1,"record_length":96,"hex_timestamp":"000001a02831da98"} 
[2026-08-22 12: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-22 12:10: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-22 12: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 12:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:10: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-22 12:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569395200001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569395200001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:10:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:10:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569395200001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":160005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:10:26] local.INFO: GPS data processed {"connection_id":160005,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:10:26] local.INFO: Acknowledgment sent {"connection_id":160005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:10:49] local.INFO: TCP Data received {"connection_id":159756,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:10:49] local.INFO: Processing buffer {"connection_id":159756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:10:49] local.INFO: IMEI packet received {"connection_id":159756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":159756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:10:54] local.INFO: TCP Data received {"connection_id":159756,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:10:54] local.INFO: Processing buffer {"connection_id":159756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:10:54] local.INFO: IMEI packet received {"connection_id":159756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":159756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:10:55] local.INFO: TCP Data received {"connection_id":159756,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:10:55] local.INFO: Processing buffer {"connection_id":159756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:10:55] local.INFO: Packet analysis {"connection_id":159756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:10:55] local.INFO: Extracted packet for processing {"connection_id":159756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:10:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569395200001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:10: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-22 12:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787380751000,"timestamp_ms":1787380751000,"timestamp_seconds":1787380751,"priority":1,"record_length":96,"hex_timestamp":"000001a02831da98"} 
[2026-08-22 12: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-22 12: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-22 12: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 12:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:10: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-22 12:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569395200001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569395200001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:10:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:10:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569395200001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":159756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:10:55] local.INFO: GPS data processed {"connection_id":159756,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:10:55] local.INFO: Acknowledgment sent {"connection_id":159756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:11:26] local.INFO: TCP Data received {"connection_id":159756,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:11:26] local.INFO: Processing buffer {"connection_id":159756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:11:26] local.INFO: Packet analysis {"connection_id":159756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:11:26] local.INFO: Extracted packet for processing {"connection_id":159756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:11:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569395200001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:11: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-22 12:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787380751000,"timestamp_ms":1787380751000,"timestamp_seconds":1787380751,"priority":1,"record_length":96,"hex_timestamp":"000001a02831da98"} 
[2026-08-22 12: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-22 12:11: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-22 12: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 12:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:11:26] 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-22 12:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569395200001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569395200001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:11:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:11:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569395200001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":159756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:11:26] local.INFO: GPS data processed {"connection_id":159756,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:11:26] local.INFO: Acknowledgment sent {"connection_id":159756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:11:54] local.INFO: TCP Data received {"connection_id":162327,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:11:54] local.INFO: Processing buffer {"connection_id":162327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:11:54] local.INFO: IMEI packet received {"connection_id":162327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":162327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:11:59] local.INFO: TCP Data received {"connection_id":162327,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:11:59] local.INFO: Processing buffer {"connection_id":162327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:11:59] local.INFO: IMEI packet received {"connection_id":162327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":162327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:12:00] local.INFO: TCP Data received {"connection_id":162327,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:12:00] local.INFO: Processing buffer {"connection_id":162327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:12:00] local.INFO: Packet analysis {"connection_id":162327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:12:00] local.INFO: Extracted packet for processing {"connection_id":162327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569395200001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:12:00] 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-22 12:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787380751000,"timestamp_ms":1787380751000,"timestamp_seconds":1787380751,"priority":1,"record_length":96,"hex_timestamp":"000001a02831da98"} 
[2026-08-22 12: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-22 12:12: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-22 12: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 12:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:12: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-22 12:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569395200001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569395200001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:12:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569395200001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":162327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:12:00] local.INFO: GPS data processed {"connection_id":162327,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:12:00] local.INFO: Acknowledgment sent {"connection_id":162327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:12:04] local.INFO: TCP Data received {"connection_id":162327,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:12:04] local.INFO: Processing buffer {"connection_id":162327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:12:04] local.INFO: Packet analysis {"connection_id":162327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:12:04] local.INFO: Extracted packet for processing {"connection_id":162327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569395200001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:12:04] 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-22 12:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787380751000,"timestamp_ms":1787380751000,"timestamp_seconds":1787380751,"priority":1,"record_length":96,"hex_timestamp":"000001a02831da98"} 
[2026-08-22 12: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-22 12:12: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-22 12: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 12:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:12: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-22 12:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569395200001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569395200001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:12:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:12:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569395200001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":162327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:12:04] local.INFO: GPS data processed {"connection_id":162327,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:12:04] local.INFO: Acknowledgment sent {"connection_id":162327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:12:49] local.INFO: TCP Data received {"connection_id":159758,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:12:49] local.INFO: Processing buffer {"connection_id":159758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:12:49] local.INFO: IMEI packet received {"connection_id":159758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":159758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:12:54] local.INFO: TCP Data received {"connection_id":159758,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:12:54] local.INFO: Processing buffer {"connection_id":159758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:12:54] local.INFO: IMEI packet received {"connection_id":159758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":159758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:12:55] local.INFO: TCP Data received {"connection_id":159758,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:12:55] local.INFO: Processing buffer {"connection_id":159758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:12:55] local.INFO: Packet analysis {"connection_id":159758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:12:55] local.INFO: Extracted packet for processing {"connection_id":159758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569395200001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:12: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-22 12:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787380751000,"timestamp_ms":1787380751000,"timestamp_seconds":1787380751,"priority":1,"record_length":96,"hex_timestamp":"000001a02831da98"} 
[2026-08-22 12:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:12: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-22 12:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 12:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:12:55] 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-22 12:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569395200001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569395200001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:12:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:12:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569395200001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":159758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:12:55] local.INFO: GPS data processed {"connection_id":159758,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:12:55] local.INFO: Acknowledgment sent {"connection_id":159758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:13:26] local.INFO: TCP Data received {"connection_id":159758,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:13:26] local.INFO: Processing buffer {"connection_id":159758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:13:26] local.INFO: Packet analysis {"connection_id":159758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:13:26] local.INFO: Extracted packet for processing {"connection_id":159758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569395200001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:13: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-22 12:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787380751000,"timestamp_ms":1787380751000,"timestamp_seconds":1787380751,"priority":1,"record_length":96,"hex_timestamp":"000001a02831da98"} 
[2026-08-22 12: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-22 12: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-22 12: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 12:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:13:26] 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-22 12:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569395200001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569395200001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:13:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569395200001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":159758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:13:26] local.INFO: GPS data processed {"connection_id":159758,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:13:26] local.INFO: Acknowledgment sent {"connection_id":159758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:13:49] local.INFO: TCP Data received {"connection_id":159759,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:13:49] local.INFO: Processing buffer {"connection_id":159759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:13:49] local.INFO: IMEI packet received {"connection_id":159759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":159759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:13:54] local.INFO: TCP Data received {"connection_id":159759,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:13:54] local.INFO: Processing buffer {"connection_id":159759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:13:54] local.INFO: IMEI packet received {"connection_id":159759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":159759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:13:55] local.INFO: TCP Data received {"connection_id":159759,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:13:55] local.INFO: Processing buffer {"connection_id":159759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:13:55] local.INFO: Packet analysis {"connection_id":159759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:13:55] local.INFO: Extracted packet for processing {"connection_id":159759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:13:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569395200001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:13: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-22 12:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787380751000,"timestamp_ms":1787380751000,"timestamp_seconds":1787380751,"priority":1,"record_length":96,"hex_timestamp":"000001a02831da98"} 
[2026-08-22 12:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:13: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-22 12:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 12:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:13:55] 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-22 12:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569395200001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569395200001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:13:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:13:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569395200001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":159759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:13:55] local.INFO: GPS data processed {"connection_id":159759,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:13:55] local.INFO: Acknowledgment sent {"connection_id":159759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:13:58] local.INFO: TCP Data received {"connection_id":159760,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:13:58] local.INFO: Processing buffer {"connection_id":159760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:13:58] local.INFO: IMEI packet received {"connection_id":159760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":159760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:13:59] local.INFO: TCP Data received {"connection_id":159760,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028352658012d1b55c0071f6e180046015724..."} 
[2026-08-22 12:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028352658012d1b55c0071f6e180046015724..."} 
[2026-08-22 12:13:59] local.INFO: Processing buffer {"connection_id":159760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028352658012d1b55c0071f6e180046015724..."} 
[2026-08-22 12:13:59] local.INFO: Packet analysis {"connection_id":159760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02835"} 
[2026-08-22 12:13:59] local.INFO: Extracted packet for processing {"connection_id":159760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02835"} 
[2026-08-22 12:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756766144,"raw_latitude":119500312,"longitude_deg":75.6766144,"latitude_deg":11.9500312,"altitude":70,"angle":343,"satellites":36,"speed":10,"hex_longitude":"2d1b55c0","hex_latitude":"071f6e18","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569527296001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14452530591301632,"note":"Value kept but may cause issues"} 
[2026-08-22 12:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969761917613182976,"note":"Value kept but may cause issues"} 
[2026-08-22 12:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787380967000,"timestamp_ms":1787380967000,"timestamp_seconds":1787380967,"priority":1,"record_length":96,"hex_timestamp":"000001a028352658"} 
[2026-08-22 12: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-22 12:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-22 12:13:59] 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-22 12: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-22 12: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-22 12:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569527296001,"66":14243,"101":206,"83":41984,"24":10,"16":14452530591301632,"45":1969761917613182976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 12:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569527296001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:13:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 12:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14452530591301632,"km_value":14452530591301.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969761917613182976,"description":"Unknown IO ID 45"} 
[2026-08-22 12:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569527296001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1969761917613182976}} 
[2026-08-22 12:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":159760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:13:59] local.INFO: GPS data processed {"connection_id":159760,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:13:59] local.INFO: Acknowledgment sent {"connection_id":159760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:14:26] local.INFO: TCP Data received {"connection_id":159759,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:14:26] local.INFO: Processing buffer {"connection_id":159759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02831da98012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:14:26] local.INFO: Packet analysis {"connection_id":159759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:14:26] local.INFO: Extracted packet for processing {"connection_id":159759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02831"} 
[2026-08-22 12:14:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569395200001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:14: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-22 12:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787380751000,"timestamp_ms":1787380751000,"timestamp_seconds":1787380751,"priority":1,"record_length":96,"hex_timestamp":"000001a02831da98"} 
[2026-08-22 12: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-22 12: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-22 12: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 12:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:14:26] 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-22 12:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569395200001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569395200001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:14:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569395200001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":159759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:14:26] local.INFO: GPS data processed {"connection_id":159759,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:14:26] local.INFO: Acknowledgment sent {"connection_id":159759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:14:33] local.INFO: TCP Data received {"connection_id":159760,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028360cd0012d1afb80071f8c90003c010c2d..."} 
[2026-08-22 12:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028360cd0012d1afb80071f8c90003c010c2d..."} 
[2026-08-22 12:14:33] local.INFO: Processing buffer {"connection_id":159760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028360cd0012d1afb80071f8c90003c010c2d..."} 
[2026-08-22 12:14:33] local.INFO: Packet analysis {"connection_id":159760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:14:33] local.INFO: Extracted packet for processing {"connection_id":159760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756743040,"raw_latitude":119508112,"longitude_deg":75.674304,"latitude_deg":11.9508112,"altitude":60,"angle":268,"satellites":45,"speed":15,"hex_longitude":"2d1afb80","hex_latitude":"071f8c90","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569542400001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14453827671425024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944781013432166400,"note":"Value kept but may cause issues"} 
[2026-08-22 12:14:33] 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-22 12:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787381026000,"timestamp_ms":1787381026000,"timestamp_seconds":1787381026,"priority":1,"record_length":96,"hex_timestamp":"000001a028360cd0"} 
[2026-08-22 12: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-22 12:14: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-22 12: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 12:14: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-22 12: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-22 12: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-22 12:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569542400001,"66":14461,"101":206,"83":41984,"24":15,"16":14453827671425024,"45":1944781013432166400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 12:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569542400001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:14:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 12:14:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14453827671425024,"km_value":14453827671425.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944781013432166400,"description":"Unknown IO ID 45"} 
[2026-08-22 12:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569542400001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1944781013432166400}} 
[2026-08-22 12:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":159760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:14:33] local.INFO: GPS data processed {"connection_id":159760,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:14:33] local.INFO: Acknowledgment sent {"connection_id":159760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:14:49] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:14:49] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:14:49] local.INFO: IMEI packet received {"connection_id":160006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":160006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:14:50] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:14:50] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:14:50] local.INFO: IMEI packet received {"connection_id":160006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":160006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:14:54] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:14:54] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:14:54] local.INFO: IMEI packet received {"connection_id":160006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":160006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:14:55] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:14:55] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:14:55] local.INFO: Packet analysis {"connection_id":160006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:14:55] local.INFO: Extracted packet for processing {"connection_id":160006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569472256001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:14: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-22 12:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787381052000,"timestamp_ms":1787381052000,"timestamp_seconds":1787381052,"priority":1,"record_length":96,"hex_timestamp":"000001a028367260"} 
[2026-08-22 12: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-22 12:14: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-22 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:14: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-22 12: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-22 12: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-22 12:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:14: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-22 12:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569472256001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569472256001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:14:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:14:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569472256001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":160006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:14:55] local.INFO: GPS data processed {"connection_id":160006,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:14:55] local.INFO: Acknowledgment sent {"connection_id":160006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:14:55] local.INFO: TCP Data received {"connection_id":162328,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:14:55] local.INFO: Processing buffer {"connection_id":162328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:14:55] local.INFO: IMEI packet received {"connection_id":162328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":162328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:14:57] local.INFO: TCP Data received {"connection_id":162328,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:14:57] local.INFO: Processing buffer {"connection_id":162328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:14:57] local.INFO: IMEI packet received {"connection_id":162328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":162328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:14:58] local.INFO: TCP Data received {"connection_id":162328,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:14:58] local.INFO: Processing buffer {"connection_id":162328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:14:58] local.INFO: IMEI packet received {"connection_id":162328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":162328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:14:58] local.INFO: TCP Data received {"connection_id":162328,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:14:58] local.INFO: Processing buffer {"connection_id":162328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:14:58] local.INFO: IMEI packet received {"connection_id":162328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":162328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:15:20] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:15:20] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:15:20] local.INFO: IMEI packet received {"connection_id":160007,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":160007,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:15:22] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:15:22] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:15:22] local.INFO: IMEI packet received {"connection_id":160007,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":160007,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:15:23] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000000000007d000100000000000000000000000000..."} 
[2026-08-22 12:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000007d000100000000000000000000000000..."} 
[2026-08-22 12:15:23] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000007d000100000000000000000000000000..."} 
[2026-08-22 12:15:23] local.INFO: Packet analysis {"connection_id":160007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-22 12:15:23] local.INFO: Extracted packet for processing {"connection_id":160007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-22 12:15:23] 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-22 12:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:15:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-22 12:15:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":32000,"timestamp_seconds":32,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12:15:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 12:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160007,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 12:15:23] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 12:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":160007,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 12:15:23] local.ERROR: GPS data processing failed {"connection_id":160007,"error":"No valid data to process"} 
[2026-08-22 12:15:23] local.INFO: Acknowledgment sent {"connection_id":160007,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 12:15:24] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-22 12:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-22 12:15:24] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-22 12:15:24] local.INFO: Packet analysis {"connection_id":160007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-22 12:15:24] local.INFO: Extracted packet for processing {"connection_id":160007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-22 12:15:24] 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-22 12: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-22 12:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:15:24] 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-22 12:15:24] 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-22 12:15:24] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 12:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160007,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 12:15:24] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 12:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":160007,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 12:15:24] local.ERROR: GPS data processing failed {"connection_id":160007,"error":"No valid data to process"} 
[2026-08-22 12:15:24] local.INFO: Acknowledgment sent {"connection_id":160007,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 12:15:28] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:15:28] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:15:28] local.INFO: Packet analysis {"connection_id":160006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:15:28] local.INFO: Extracted packet for processing {"connection_id":160006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:15:28] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569472256001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:15: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-22 12:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787381052000,"timestamp_ms":1787381052000,"timestamp_seconds":1787381052,"priority":1,"record_length":96,"hex_timestamp":"000001a028367260"} 
[2026-08-22 12:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:15: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-22 12:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:15:28] 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-22 12:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:15:28] 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-22 12:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569472256001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569472256001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:15:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569472256001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":160006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:15:28] local.INFO: GPS data processed {"connection_id":160006,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:15:28] local.INFO: Acknowledgment sent {"connection_id":160006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:15:49] local.INFO: TCP Data received {"connection_id":159761,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:15:49] local.INFO: Processing buffer {"connection_id":159761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:15:49] local.INFO: IMEI packet received {"connection_id":159761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":159761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:15:54] local.INFO: TCP Data received {"connection_id":159761,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:15:54] local.INFO: Processing buffer {"connection_id":159761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:15:54] local.INFO: IMEI packet received {"connection_id":159761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":159761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:15:55] local.INFO: TCP Data received {"connection_id":159761,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:15:55] local.INFO: Processing buffer {"connection_id":159761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:15:55] local.INFO: Packet analysis {"connection_id":159761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:15:55] local.INFO: Extracted packet for processing {"connection_id":159761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569472256001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:15: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-22 12:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787381052000,"timestamp_ms":1787381052000,"timestamp_seconds":1787381052,"priority":1,"record_length":96,"hex_timestamp":"000001a028367260"} 
[2026-08-22 12: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-22 12: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-22 12: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":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:15: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-22 12: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-22 12: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-22 12:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:15:55] 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-22 12:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569472256001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569472256001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:15:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:15:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569472256001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":159761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:15:55] local.INFO: GPS data processed {"connection_id":159761,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:15:55] local.INFO: Acknowledgment sent {"connection_id":159761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:15:56] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000000000016b480100000000000000000000000000..."} 
[2026-08-22 12:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000016b480100000000000000000000000000..."} 
[2026-08-22 12:15:56] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000016b480100000000000000000000000000..."} 
[2026-08-22 12:15:56] local.INFO: Packet analysis {"connection_id":160007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-22 12:15:56] local.INFO: Extracted packet for processing {"connection_id":160007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-22 12:15:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:15:56] 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-22 12:15:56] 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-22 12:15:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 12:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160007,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 12:15:56] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 12:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":160007,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 12:15:56] local.ERROR: GPS data processing failed {"connection_id":160007,"error":"No valid data to process"} 
[2026-08-22 12:15:56] local.INFO: Acknowledgment sent {"connection_id":160007,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 12:16:26] local.INFO: TCP Data received {"connection_id":159761,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:16:26] local.INFO: Processing buffer {"connection_id":159761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:16:26] local.INFO: Packet analysis {"connection_id":159761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:16:26] local.INFO: Extracted packet for processing {"connection_id":159761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:16:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569472256001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:16: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-22 12:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787381052000,"timestamp_ms":1787381052000,"timestamp_seconds":1787381052,"priority":1,"record_length":96,"hex_timestamp":"000001a028367260"} 
[2026-08-22 12: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-22 12:16: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-22 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:16: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-22 12: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-22 12: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-22 12:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:16: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-22 12:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569472256001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569472256001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:16:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:16:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569472256001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":159761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:16:26] local.INFO: GPS data processed {"connection_id":159761,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:16:26] local.INFO: Acknowledgment sent {"connection_id":159761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:16:27] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000000000001bd500100000000000000000000000000..."} 
[2026-08-22 12:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001bd500100000000000000000000000000..."} 
[2026-08-22 12:16:27] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001bd500100000000000000000000000000..."} 
[2026-08-22 12:16:27] local.INFO: Packet analysis {"connection_id":160007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-22 12:16:27] local.INFO: Extracted packet for processing {"connection_id":160007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-22 12:16:27] 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-22 12: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-22 12:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:16:27] 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-22 12:16:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":114000,"timestamp_seconds":114,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12:16:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 12:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160007,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 12:16:27] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 12:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":160007,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 12:16:27] local.ERROR: GPS data processing failed {"connection_id":160007,"error":"No valid data to process"} 
[2026-08-22 12:16:27] local.INFO: Acknowledgment sent {"connection_id":160007,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 12:16:54] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:16:54] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:16:54] local.INFO: IMEI packet received {"connection_id":160009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":160009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:16:59] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:16:59] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:16:59] local.INFO: IMEI packet received {"connection_id":160009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":160009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:17:00] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:17:00] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:17:00] local.INFO: Packet analysis {"connection_id":160009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:17:00] local.INFO: Extracted packet for processing {"connection_id":160009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569472256001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:17:00] 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-22 12:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787381052000,"timestamp_ms":1787381052000,"timestamp_seconds":1787381052,"priority":1,"record_length":96,"hex_timestamp":"000001a028367260"} 
[2026-08-22 12:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:17: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-22 12:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12: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-22 12:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:17: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-22 12:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569472256001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569472256001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:17:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:17:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569472256001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":160009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:17:00] local.INFO: GPS data processed {"connection_id":160009,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:17:00] local.INFO: Acknowledgment sent {"connection_id":160009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:17:04] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:17:04] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:17:04] local.INFO: Packet analysis {"connection_id":160009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:17:04] local.INFO: Extracted packet for processing {"connection_id":160009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:17:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569472256001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:17:04] 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-22 12:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787381052000,"timestamp_ms":1787381052000,"timestamp_seconds":1787381052,"priority":1,"record_length":96,"hex_timestamp":"000001a028367260"} 
[2026-08-22 12: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-22 12:17: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-22 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:17: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-22 12: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-22 12: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-22 12:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:17: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-22 12:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569472256001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569472256001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:17:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:17:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569472256001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":160009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:17:04] local.INFO: GPS data processed {"connection_id":160009,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:17:04] local.INFO: Acknowledgment sent {"connection_id":160009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:17:35] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000000000020f580100000000000000000000000000..."} 
[2026-08-22 12:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000020f580100000000000000000000000000..."} 
[2026-08-22 12:17:35] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000020f580100000000000000000000000000..."} 
[2026-08-22 12:17:35] local.INFO: Packet analysis {"connection_id":160007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-08-22 12:17:35] local.INFO: Extracted packet for processing {"connection_id":160007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-08-22 12:17: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-22 12: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-22 12:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:17: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-22 12:17:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":135000,"timestamp_seconds":135,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12:17:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 12:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160007,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 12:17:35] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 12:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":160007,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 12:17:35] local.ERROR: GPS data processing failed {"connection_id":160007,"error":"No valid data to process"} 
[2026-08-22 12:17:35] local.INFO: Acknowledgment sent {"connection_id":160007,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 12:17:49] local.INFO: TCP Data received {"connection_id":160912,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:17:49] local.INFO: Processing buffer {"connection_id":160912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:17:49] local.INFO: IMEI packet received {"connection_id":160912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":160912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:17:54] local.INFO: TCP Data received {"connection_id":160912,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:17:54] local.INFO: Processing buffer {"connection_id":160912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:17:54] local.INFO: IMEI packet received {"connection_id":160912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":160912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:17:55] local.INFO: TCP Data received {"connection_id":160912,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:17:55] local.INFO: Processing buffer {"connection_id":160912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:17:55] local.INFO: Packet analysis {"connection_id":160912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:17:55] local.INFO: Extracted packet for processing {"connection_id":160912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569472256001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12: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-22 12:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787381052000,"timestamp_ms":1787381052000,"timestamp_seconds":1787381052,"priority":1,"record_length":96,"hex_timestamp":"000001a028367260"} 
[2026-08-22 12:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:17: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-22 12:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:17: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-22 12:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:17:55] 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-22 12:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569472256001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569472256001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:17:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569472256001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":160912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:17:55] local.INFO: GPS data processed {"connection_id":160912,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:17:55] local.INFO: Acknowledgment sent {"connection_id":160912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:18:26] local.INFO: TCP Data received {"connection_id":160912,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:18:26] local.INFO: Processing buffer {"connection_id":160912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:18:26] local.INFO: Packet analysis {"connection_id":160912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:18:26] local.INFO: Extracted packet for processing {"connection_id":160912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:18:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569472256001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:18: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-22 12:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787381052000,"timestamp_ms":1787381052000,"timestamp_seconds":1787381052,"priority":1,"record_length":96,"hex_timestamp":"000001a028367260"} 
[2026-08-22 12: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-22 12:18: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-22 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:18: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-22 12: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-22 12: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-22 12:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:18:26] 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-22 12:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569472256001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569472256001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:18:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569472256001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":160912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:18:26] local.INFO: GPS data processed {"connection_id":160912,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:18:26] local.INFO: Acknowledgment sent {"connection_id":160912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:18:44] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a00000000000261600100000000000000000000000000..."} 
[2026-08-22 12:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000261600100000000000000000000000000..."} 
[2026-08-22 12:18:44] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000261600100000000000000000000000000..."} 
[2026-08-22 12:18:44] local.INFO: Packet analysis {"connection_id":160007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-08-22 12:18:44] local.INFO: Extracted packet for processing {"connection_id":160007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-08-22 12:18:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:18:44] 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-22 12:18:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":156000,"timestamp_seconds":156,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12:18:44] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 12:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160007,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 12:18:44] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 12:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":160007,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 12:18:44] local.ERROR: GPS data processing failed {"connection_id":160007,"error":"No valid data to process"} 
[2026-08-22 12:18:44] local.INFO: Acknowledgment sent {"connection_id":160007,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 12:18:47] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.30","data_length":1340,"data_hex":"000000000000030f8e0a000000000002b3680100000000000000000000000000..."} 
[2026-08-22 12:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":1340,"packet_hex":"000000000000030f8e0a000000000002b3680100000000000000000000000000..."} 
[2026-08-22 12:18:47] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000000000002b3680100000000000000000000000000..."} 
[2026-08-22 12:18:47] local.INFO: Packet analysis {"connection_id":160007,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-08-22 12:18:47] local.INFO: Extracted packet for processing {"connection_id":160007,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-08-22 12:18:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:18: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-22 12:18:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":177000,"timestamp_seconds":177,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12:18:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 12:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160007,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 12:18:47] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 12:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":160007,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 12:18:47] local.ERROR: GPS data processing failed {"connection_id":160007,"error":"No valid data to process"} 
[2026-08-22 12:18:47] local.INFO: Acknowledgment sent {"connection_id":160007,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 12:18:47] local.INFO: Packet analysis {"connection_id":160007,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-08-22 12:18:47] local.INFO: Incomplete packet, waiting for more data {"connection_id":160007,"needed":795,"available":545} 
[2026-08-22 12:18:48] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.30","data_length":250,"data_hex":"e300100068894d000000000000000000007d0001000000000000000000000000..."} 
[2026-08-22 12:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":250,"packet_hex":"e300100068894d000000000000000000007d0001000000000000000000000000..."} 
[2026-08-22 12:18:48] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000305700100000000000000000000000000..."} 
[2026-08-22 12:18:48] local.INFO: Packet analysis {"connection_id":160007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-08-22 12:18:48] local.INFO: Extracted packet for processing {"connection_id":160007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-08-22 12:18: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-22 12:18: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-22 12:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:18:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-22 12:18:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":198000,"timestamp_seconds":198,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12:18:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 12:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160007,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 12:18:48] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 12:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":160007,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 12:18:48] local.ERROR: GPS data processing failed {"connection_id":160007,"error":"No valid data to process"} 
[2026-08-22 12:18:48] local.INFO: Acknowledgment sent {"connection_id":160007,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 12:18:49] local.INFO: TCP Data received {"connection_id":162330,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:18:49] local.INFO: Processing buffer {"connection_id":162330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:18:49] local.INFO: IMEI packet received {"connection_id":162330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":162330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:18:54] local.INFO: TCP Data received {"connection_id":162330,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:18:54] local.INFO: Processing buffer {"connection_id":162330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:18:54] local.INFO: IMEI packet received {"connection_id":162330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":162330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:18:55] local.INFO: TCP Data received {"connection_id":162330,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:18:55] local.INFO: Processing buffer {"connection_id":162330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:18:55] local.INFO: Packet analysis {"connection_id":162330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:18:55] local.INFO: Extracted packet for processing {"connection_id":162330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569472256001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:18: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-22 12:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787381052000,"timestamp_ms":1787381052000,"timestamp_seconds":1787381052,"priority":1,"record_length":96,"hex_timestamp":"000001a028367260"} 
[2026-08-22 12:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:18: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-22 12:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:18: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-22 12:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:18:55] 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-22 12:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569472256001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569472256001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:18:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:18:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569472256001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":162330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:18:55] local.INFO: GPS data processed {"connection_id":162330,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:18:55] local.INFO: Acknowledgment sent {"connection_id":162330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:19:19] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a00000000000357780100000000000000000000000000..."} 
[2026-08-22 12:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000357780100000000000000000000000000..."} 
[2026-08-22 12:19:19] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000357780100000000000000000000000000..."} 
[2026-08-22 12:19:19] local.INFO: Packet analysis {"connection_id":160007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-08-22 12:19:19] local.INFO: Extracted packet for processing {"connection_id":160007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-08-22 12:19:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-22 12:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:19:19] 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-22 12:19:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":219000,"timestamp_seconds":219,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12:19:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 12:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160007,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160007,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 12:19:19] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 12:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":160007,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 12:19:19] local.ERROR: GPS data processing failed {"connection_id":160007,"error":"No valid data to process"} 
[2026-08-22 12:19:19] local.INFO: Acknowledgment sent {"connection_id":160007,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 12:19:26] local.INFO: TCP Data received {"connection_id":162330,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:19:26] local.INFO: Processing buffer {"connection_id":162330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028367260012d7fabc005afe1b8000e01212e..."} 
[2026-08-22 12:19:26] local.INFO: Packet analysis {"connection_id":162330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:19:26] local.INFO: Extracted packet for processing {"connection_id":162330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02836"} 
[2026-08-22 12:19:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":14,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569472256001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:19: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-22 12:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787381052000,"timestamp_ms":1787381052000,"timestamp_seconds":1787381052,"priority":1,"record_length":96,"hex_timestamp":"000001a028367260"} 
[2026-08-22 12:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:19: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-22 12:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:19: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-22 12:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:19: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-22 12:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569472256001,"66":25875,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569472256001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:19:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:19:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569472256001,"power":25875,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":162330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:19:26] local.INFO: GPS data processed {"connection_id":162330,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:19:26] local.INFO: Acknowledgment sent {"connection_id":162330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:19:37] local.INFO: TCP Data received {"connection_id":160913,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160913,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:19:37] local.INFO: Processing buffer {"connection_id":160913,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:19:37] local.INFO: IMEI packet received {"connection_id":160913,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":160913,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:19:45] local.INFO: TCP Data received {"connection_id":160913,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160913,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:19:45] local.INFO: Processing buffer {"connection_id":160913,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:19:45] local.INFO: IMEI packet received {"connection_id":160913,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":160913,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:19:46] local.INFO: TCP Data received {"connection_id":160913,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000000000003a9800100000000000000000000000000..."} 
[2026-08-22 12:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160913,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000003a9800100000000000000000000000000..."} 
[2026-08-22 12:19:46] local.INFO: Processing buffer {"connection_id":160913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000003a9800100000000000000000000000000..."} 
[2026-08-22 12:19:46] local.INFO: Packet analysis {"connection_id":160913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-08-22 12:19:46] local.INFO: Extracted packet for processing {"connection_id":160913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-08-22 12:19:46] 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-22 12: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-22 12:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:19:46] 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-22 12:19:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":240000,"timestamp_seconds":240,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12:19:46] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 12:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160913,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160913,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160913,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 12:19:46] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 12:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":160913,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 12:19:46] local.ERROR: GPS data processing failed {"connection_id":160913,"error":"No valid data to process"} 
[2026-08-22 12:19:46] local.INFO: Acknowledgment sent {"connection_id":160913,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 12:19:49] local.INFO: TCP Data received {"connection_id":160914,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:19:49] local.INFO: Processing buffer {"connection_id":160914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:19:49] local.INFO: IMEI packet received {"connection_id":160914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":160914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:19:51] local.INFO: TCP Data received {"connection_id":160914,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:19:51] local.INFO: Processing buffer {"connection_id":160914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:19:51] local.INFO: IMEI packet received {"connection_id":160914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":160914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:19:54] local.INFO: TCP Data received {"connection_id":160914,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:19:54] local.INFO: Processing buffer {"connection_id":160914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:19:54] local.INFO: IMEI packet received {"connection_id":160914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":160914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:19:55] local.INFO: TCP Data received {"connection_id":160914,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:19:55] local.INFO: Processing buffer {"connection_id":160914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:19:55] local.INFO: Packet analysis {"connection_id":160914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:19:55] local.INFO: Extracted packet for processing {"connection_id":160914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":13,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569549312001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:19: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-22 12:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787381353000,"timestamp_ms":1787381353000,"timestamp_seconds":1787381353,"priority":1,"record_length":96,"hex_timestamp":"000001a0283b0a28"} 
[2026-08-22 12:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:19: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-22 12:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:19: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-22 12:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:19:55] 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-22 12:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569549312001,"66":25832,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569549312001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:19:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:19:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569549312001,"power":25832,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":160914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:19:55] local.INFO: GPS data processed {"connection_id":160914,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:19:55] local.INFO: Acknowledgment sent {"connection_id":160914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:20:03] local.INFO: TCP Data received {"connection_id":160011,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:20:03] local.INFO: Processing buffer {"connection_id":160011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:20:03] local.INFO: IMEI packet received {"connection_id":160011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":160011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:20:04] local.INFO: TCP Data received {"connection_id":160011,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0283a8940012d18be0007215a48004801422c..."} 
[2026-08-22 12:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283a8940012d18be0007215a48004801422c..."} 
[2026-08-22 12:20:04] local.INFO: Processing buffer {"connection_id":160011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283a8940012d18be0007215a48004801422c..."} 
[2026-08-22 12:20:04] local.INFO: Packet analysis {"connection_id":160011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283a"} 
[2026-08-22 12:20:04] local.INFO: Extracted packet for processing {"connection_id":160011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283a"} 
[2026-08-22 12:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756596224,"raw_latitude":119626312,"longitude_deg":75.6596224,"latitude_deg":11.9626312,"altitude":72,"angle":322,"satellites":44,"speed":34,"hex_longitude":"2d18be00","hex_latitude":"07215a48","is_valid_coordinates":true} 
[2026-08-22 12:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569617408001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14464560794697728,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783918064271912960,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20:04] 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-22 12:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787381320000,"timestamp_ms":1787381320000,"timestamp_seconds":1787381320,"priority":1,"record_length":96,"hex_timestamp":"000001a0283a8940"} 
[2026-08-22 12:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:20:04] 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-22 12:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 12:20:04] 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-22 12:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569617408001,"66":12972,"106":206,"83":41984,"24":34,"16":14464560794697728,"45":1783918064271912960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569617408001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:20:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:20:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14464560794697728,"km_value":14464560794697.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783918064271912960,"description":"Unknown IO ID 45"} 
[2026-08-22 12:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569617408001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1783918064271912960}} 
[2026-08-22 12:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":160011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:20:04] local.INFO: GPS data processed {"connection_id":160011,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:20:04] local.INFO: Acknowledgment sent {"connection_id":160011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:20:17] local.INFO: TCP Data received {"connection_id":160913,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000000000003fb880100000000000000000000000000..."} 
[2026-08-22 12:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160913,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000003fb880100000000000000000000000000..."} 
[2026-08-22 12:20:17] local.INFO: Processing buffer {"connection_id":160913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000003fb880100000000000000000000000000..."} 
[2026-08-22 12:20:17] local.INFO: Packet analysis {"connection_id":160913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-08-22 12:20:17] local.INFO: Extracted packet for processing {"connection_id":160913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-08-22 12:20:17] 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-22 12: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-22 12:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20:17] 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-22 12:20:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":261000,"timestamp_seconds":261,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12:20:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 12:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160913,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160913,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160913,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-22 12:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 12:20:17] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 12:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":160913,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 12:20:17] local.ERROR: GPS data processing failed {"connection_id":160913,"error":"No valid data to process"} 
[2026-08-22 12:20:17] local.INFO: Acknowledgment sent {"connection_id":160913,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 12:20:26] local.INFO: TCP Data received {"connection_id":160914,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:20:26] local.INFO: Processing buffer {"connection_id":160914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:20:26] local.INFO: Packet analysis {"connection_id":160914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:20:26] local.INFO: Extracted packet for processing {"connection_id":160914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:20:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":13,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569549312001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20: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-22 12:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787381353000,"timestamp_ms":1787381353000,"timestamp_seconds":1787381353,"priority":1,"record_length":96,"hex_timestamp":"000001a0283b0a28"} 
[2026-08-22 12: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-22 12: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-22 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:20: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-22 12: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-22 12: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-22 12:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:20:26] 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-22 12:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569549312001,"66":25832,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569549312001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:20:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569549312001,"power":25832,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":160914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:20:26] local.INFO: GPS data processed {"connection_id":160914,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:20:26] local.INFO: Acknowledgment sent {"connection_id":160914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:20:35] local.INFO: TCP Data received {"connection_id":160011,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0283aac68012d18ab4007217240004e01362c..."} 
[2026-08-22 12:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283aac68012d18ab4007217240004e01362c..."} 
[2026-08-22 12:20:35] local.INFO: Processing buffer {"connection_id":160011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283aac68012d18ab4007217240004e01362c..."} 
[2026-08-22 12:20:35] local.INFO: Packet analysis {"connection_id":160011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283a"} 
[2026-08-22 12:20:35] local.INFO: Extracted packet for processing {"connection_id":160011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283a"} 
[2026-08-22 12:20:35] local.INFO: GPS Element Parsed {"raw_longitude":756591424,"raw_latitude":119632448,"longitude_deg":75.6591424,"latitude_deg":11.9632448,"altitude":78,"angle":310,"satellites":44,"speed":28,"hex_longitude":"2d18ab40","hex_latitude":"07217240","is_valid_coordinates":true} 
[2026-08-22 12:20: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-22 12:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569617920001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14464938751819776,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782862533109630976,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20:35] 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-22 12:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787381329000,"timestamp_ms":1787381329000,"timestamp_seconds":1787381329,"priority":1,"record_length":96,"hex_timestamp":"000001a0283aac68"} 
[2026-08-22 12:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:20: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-22 12:20: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":172,"data_length":795,"current_offset":136} 
[2026-08-22 12:20:35] 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-22 12:20: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-22 12:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569617920001,"66":12961,"106":206,"83":41984,"24":28,"16":14464938751819776,"45":1782862533109630976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569617920001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:20:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:20:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14464938751819776,"km_value":14464938751819.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782862533109630976,"description":"Unknown IO ID 45"} 
[2026-08-22 12:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569617920001,"power":12961,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1782862533109630976}} 
[2026-08-22 12:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":160011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:20:35] local.INFO: GPS data processed {"connection_id":160011,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:20:35] local.INFO: Acknowledgment sent {"connection_id":160011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:20:49] local.INFO: TCP Data received {"connection_id":160913,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0283c3ad80100000000000000000000000000..."} 
[2026-08-22 12:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283c3ad80100000000000000000000000000..."} 
[2026-08-22 12:20:49] local.INFO: Processing buffer {"connection_id":160913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283c3ad80100000000000000000000000000..."} 
[2026-08-22 12:20:49] local.INFO: Packet analysis {"connection_id":160913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283c"} 
[2026-08-22 12:20:49] local.INFO: Extracted packet for processing {"connection_id":160913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283c"} 
[2026-08-22 12:20:49] 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-22 12:20:49] 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-22 12:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20: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-22 12:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787381431000,"timestamp_ms":1787381431000,"timestamp_seconds":1787381431,"priority":1,"record_length":96,"hex_timestamp":"000001a0283c3ad8"} 
[2026-08-22 12: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-22 12:20: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 12:20:49] 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-22 12: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-22 12: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-22 12:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":160913,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-22 12:20:49] local.INFO: GPS data processed {"connection_id":160913,"processed":0,"errors":0,"total":1} 
[2026-08-22 12:20:49] local.INFO: Acknowledgment sent {"connection_id":160913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:20:49] local.INFO: TCP Data received {"connection_id":160915,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:20:49] local.INFO: Processing buffer {"connection_id":160915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:20:49] local.INFO: IMEI packet received {"connection_id":160915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":160915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:20:53] local.INFO: TCP Data received {"connection_id":162331,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:20:53] local.INFO: Processing buffer {"connection_id":162331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:20:53] local.INFO: IMEI packet received {"connection_id":162331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":162331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:20:54] local.INFO: TCP Data received {"connection_id":160915,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:20:54] local.INFO: Processing buffer {"connection_id":160915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:20:54] local.INFO: IMEI packet received {"connection_id":160915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":160915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:20:55] local.INFO: TCP Data received {"connection_id":160915,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:20:55] local.INFO: Processing buffer {"connection_id":160915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:20:55] local.INFO: Packet analysis {"connection_id":160915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:20:55] local.INFO: Extracted packet for processing {"connection_id":160915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:20:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":13,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569549312001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20: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-22 12:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787381353000,"timestamp_ms":1787381353000,"timestamp_seconds":1787381353,"priority":1,"record_length":96,"hex_timestamp":"000001a0283b0a28"} 
[2026-08-22 12:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12: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-22 12:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:20: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-22 12:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:20: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-22 12:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569549312001,"66":25832,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569549312001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:20:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569549312001,"power":25832,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":160915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:20:55] local.INFO: GPS data processed {"connection_id":160915,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:20:55] local.INFO: Acknowledgment sent {"connection_id":160915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:20:58] local.INFO: TCP Data received {"connection_id":162331,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:20:58] local.INFO: Processing buffer {"connection_id":162331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:20:58] local.INFO: IMEI packet received {"connection_id":162331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":162331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:20:59] local.INFO: TCP Data received {"connection_id":162331,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0283ae700012d18a98007217358004f00832e..."} 
[2026-08-22 12:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283ae700012d18a98007217358004f00832e..."} 
[2026-08-22 12:20:59] local.INFO: Processing buffer {"connection_id":162331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283ae700012d18a98007217358004f00832e..."} 
[2026-08-22 12:20:59] local.INFO: Packet analysis {"connection_id":162331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283a"} 
[2026-08-22 12:20:59] local.INFO: Extracted packet for processing {"connection_id":162331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283a"} 
[2026-08-22 12:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756590976,"raw_latitude":119632728,"longitude_deg":75.6590976,"latitude_deg":11.9632728,"altitude":79,"angle":131,"satellites":46,"speed":3,"hex_longitude":"2d18a980","hex_latitude":"07217358","is_valid_coordinates":true} 
[2026-08-22 12:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569620224001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465050420969472,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777584877297876992,"note":"Value kept but may cause issues"} 
[2026-08-22 12:20:59] 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-22 12:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787381344000,"timestamp_ms":1787381344000,"timestamp_seconds":1787381344,"priority":1,"record_length":96,"hex_timestamp":"000001a0283ae700"} 
[2026-08-22 12:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-22 12:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569620224001,"66":13004,"106":206,"83":41984,"24":3,"16":14465050420969472,"45":1777584877297876992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569620224001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:20:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465050420969472,"km_value":14465050420969.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777584877297876992,"description":"Unknown IO ID 45"} 
[2026-08-22 12:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569620224001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1777584877297876992}} 
[2026-08-22 12:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":162331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:20:59] local.INFO: GPS data processed {"connection_id":162331,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:20:59] local.INFO: Acknowledgment sent {"connection_id":162331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:21:20] local.INFO: TCP Data received {"connection_id":160913,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0283c3ec00100000000000000000000000000..."} 
[2026-08-22 12:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283c3ec00100000000000000000000000000..."} 
[2026-08-22 12:21:20] local.INFO: Processing buffer {"connection_id":160913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283c3ec00100000000000000000000000000..."} 
[2026-08-22 12:21:20] local.INFO: Packet analysis {"connection_id":160913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283c"} 
[2026-08-22 12:21:20] local.INFO: Extracted packet for processing {"connection_id":160913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283c"} 
[2026-08-22 12:21:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-22 12:21: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-22 12:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:21:20] 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-22 12:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787381432000,"timestamp_ms":1787381432000,"timestamp_seconds":1787381432,"priority":1,"record_length":96,"hex_timestamp":"000001a0283c3ec0"} 
[2026-08-22 12: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-22 12:21:20] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 12:21:20] 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-22 12: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-22 12: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-22 12:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":160913,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-22 12:21:20] local.INFO: GPS data processed {"connection_id":160913,"processed":0,"errors":0,"total":1} 
[2026-08-22 12:21:20] local.INFO: Acknowledgment sent {"connection_id":160913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:21:26] local.INFO: TCP Data received {"connection_id":160915,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:21:26] local.INFO: Processing buffer {"connection_id":160915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:21:26] local.INFO: Packet analysis {"connection_id":160915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:21:26] local.INFO: Extracted packet for processing {"connection_id":160915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:21:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":13,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569549312001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:21: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-22 12:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787381353000,"timestamp_ms":1787381353000,"timestamp_seconds":1787381353,"priority":1,"record_length":96,"hex_timestamp":"000001a0283b0a28"} 
[2026-08-22 12: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-22 12: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-22 12: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":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:21: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-22 12: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-22 12: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-22 12:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:21:26] 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-22 12:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569549312001,"66":25832,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569549312001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:21:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:21:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569549312001,"power":25832,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":160915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:21:26] local.INFO: GPS data processed {"connection_id":160915,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:21:26] local.INFO: Acknowledgment sent {"connection_id":160915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:21:30] local.INFO: TCP Data received {"connection_id":162331,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0283aeed0012d18aa00072172d8004f00932d..."} 
[2026-08-22 12:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283aeed0012d18aa00072172d8004f00932d..."} 
[2026-08-22 12:21:30] local.INFO: Processing buffer {"connection_id":162331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283aeed0012d18aa00072172d8004f00932d..."} 
[2026-08-22 12:21:30] local.INFO: Packet analysis {"connection_id":162331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283a"} 
[2026-08-22 12:21:30] local.INFO: Extracted packet for processing {"connection_id":162331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283a"} 
[2026-08-22 12:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632600,"longitude_deg":75.6591104,"latitude_deg":11.96326,"altitude":79,"angle":147,"satellites":45,"speed":3,"hex_longitude":"2d18aa00","hex_latitude":"072172d8","is_valid_coordinates":true} 
[2026-08-22 12:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569624064001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465063305871360,"note":"Value kept but may cause issues"} 
[2026-08-22 12:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777092296088705024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787381346000,"timestamp_ms":1787381346000,"timestamp_seconds":1787381346,"priority":1,"record_length":96,"hex_timestamp":"000001a0283aeed0"} 
[2026-08-22 12:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 12:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569624064001,"66":13004,"106":206,"83":41984,"24":3,"16":14465063305871360,"45":1777092296088705024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569624064001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:21:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465063305871360,"km_value":14465063305871.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777092296088705024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569624064001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1777092296088705024}} 
[2026-08-22 12:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":162331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:21:30] local.INFO: GPS data processed {"connection_id":162331,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:21:30] local.INFO: Acknowledgment sent {"connection_id":162331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:21:49] local.INFO: TCP Data received {"connection_id":160012,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:21:49] local.INFO: Processing buffer {"connection_id":160012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:21:49] local.INFO: IMEI packet received {"connection_id":160012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":160012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:21:54] local.INFO: TCP Data received {"connection_id":160012,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:21:54] local.INFO: Processing buffer {"connection_id":160012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:21:54] local.INFO: IMEI packet received {"connection_id":160012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":160012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:21:55] local.INFO: TCP Data received {"connection_id":160012,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:21:55] local.INFO: Processing buffer {"connection_id":160012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:21:55] local.INFO: Packet analysis {"connection_id":160012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:21:55] local.INFO: Extracted packet for processing {"connection_id":160012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:21:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":13,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569549312001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:21: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-22 12:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787381353000,"timestamp_ms":1787381353000,"timestamp_seconds":1787381353,"priority":1,"record_length":96,"hex_timestamp":"000001a0283b0a28"} 
[2026-08-22 12:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:21: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-22 12:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:21: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-22 12:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:21: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-22 12:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569549312001,"66":25832,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569549312001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:21:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:21:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569549312001,"power":25832,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":160012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:21:55] local.INFO: GPS data processed {"connection_id":160012,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:21:55] local.INFO: Acknowledgment sent {"connection_id":160012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:21:56] local.INFO: TCP Data received {"connection_id":160913,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0283c3ec00100000000000000000000000000..."} 
[2026-08-22 12:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283c3ec00100000000000000000000000000..."} 
[2026-08-22 12:21:56] local.INFO: Processing buffer {"connection_id":160913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283c3ec00100000000000000000000000000..."} 
[2026-08-22 12:21:56] local.INFO: Packet analysis {"connection_id":160913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283c"} 
[2026-08-22 12:21:56] local.INFO: Extracted packet for processing {"connection_id":160913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283c"} 
[2026-08-22 12:21:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-22 12:21:56] 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-22 12:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:21:56] 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-22 12:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787381432000,"timestamp_ms":1787381432000,"timestamp_seconds":1787381432,"priority":1,"record_length":96,"hex_timestamp":"000001a0283c3ec0"} 
[2026-08-22 12:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 12:21:56] 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-22 12:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":160913,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-22 12:21:56] local.INFO: GPS data processed {"connection_id":160913,"processed":0,"errors":0,"total":1} 
[2026-08-22 12:21:56] local.INFO: Acknowledgment sent {"connection_id":160913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:21:58] local.INFO: TCP Data received {"connection_id":162332,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:21:58] local.INFO: Processing buffer {"connection_id":162332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:21:58] local.INFO: IMEI packet received {"connection_id":162332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":162332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:22:03] local.INFO: TCP Data received {"connection_id":162332,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:22:03] local.INFO: Processing buffer {"connection_id":162332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:22:03] local.INFO: IMEI packet received {"connection_id":162332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":162332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:22:04] local.INFO: TCP Data received {"connection_id":162332,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0283af2b8012d18aa0007217280004f00ae2c..."} 
[2026-08-22 12:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283af2b8012d18aa0007217280004f00ae2c..."} 
[2026-08-22 12:22:04] local.INFO: Processing buffer {"connection_id":162332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283af2b8012d18aa0007217280004f00ae2c..."} 
[2026-08-22 12:22:04] local.INFO: Packet analysis {"connection_id":162332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283a"} 
[2026-08-22 12:22:04] local.INFO: Extracted packet for processing {"connection_id":162332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283a"} 
[2026-08-22 12:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632512,"longitude_deg":75.6591104,"latitude_deg":11.9632512,"altitude":79,"angle":174,"satellites":44,"speed":3,"hex_longitude":"2d18aa00","hex_latitude":"07217280","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569624576001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465067600838656,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033577027584,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22:04] 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-22 12:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787381347000,"timestamp_ms":1787381347000,"timestamp_seconds":1787381347,"priority":1,"record_length":96,"hex_timestamp":"000001a0283af2b8"} 
[2026-08-22 12: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-22 12:22:04] 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-22 12: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 12:22:04] 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-22 12: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-22 12: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-22 12:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569624576001,"66":13004,"106":206,"83":41984,"24":3,"16":14465067600838656,"45":1777233033577027584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569624576001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:22:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:22:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465067600838656,"km_value":14465067600838.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033577027584,"description":"Unknown IO ID 45"} 
[2026-08-22 12:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569624576001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1777233033577027584}} 
[2026-08-22 12:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":162332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:22:04] local.INFO: GPS data processed {"connection_id":162332,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:22:04] local.INFO: Acknowledgment sent {"connection_id":162332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:22:08] local.INFO: TCP Data received {"connection_id":162332,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0283af6a0012d18aa0007217248004f00c22c..."} 
[2026-08-22 12:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283af6a0012d18aa0007217248004f00c22c..."} 
[2026-08-22 12:22:08] local.INFO: Processing buffer {"connection_id":162332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283af6a0012d18aa0007217248004f00c22c..."} 
[2026-08-22 12:22:08] local.INFO: Packet analysis {"connection_id":162332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283a"} 
[2026-08-22 12:22:08] local.INFO: Extracted packet for processing {"connection_id":162332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283a"} 
[2026-08-22 12:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632456,"longitude_deg":75.6591104,"latitude_deg":11.9632456,"altitude":79,"angle":194,"satellites":44,"speed":0,"hex_longitude":"2d18aa00","hex_latitude":"07217248","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569624832001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465067600838656,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033577005056,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22:08] 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-22 12:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787381348000,"timestamp_ms":1787381348000,"timestamp_seconds":1787381348,"priority":1,"record_length":96,"hex_timestamp":"000001a0283af6a0"} 
[2026-08-22 12: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-22 12:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 12:22:08] 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-22 12: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-22 12: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-22 12:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569624832001,"66":12972,"106":206,"83":41984,"24":0,"16":14465067600838656,"45":1777233033577005056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569624832001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:22:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:22:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465067600838656,"km_value":14465067600838.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033577005056,"description":"Unknown IO ID 45"} 
[2026-08-22 12:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569624832001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777233033577005056}} 
[2026-08-22 12:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":162332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:22:08] local.INFO: GPS data processed {"connection_id":162332,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:22:08] local.INFO: Acknowledgment sent {"connection_id":162332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:22:26] local.INFO: TCP Data received {"connection_id":160012,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:22:26] local.INFO: Processing buffer {"connection_id":160012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:22:26] local.INFO: Packet analysis {"connection_id":160012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:22:26] local.INFO: Extracted packet for processing {"connection_id":160012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:22:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":13,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 12:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569549312001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22: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-22 12:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787381353000,"timestamp_ms":1787381353000,"timestamp_seconds":1787381353,"priority":1,"record_length":96,"hex_timestamp":"000001a0283b0a28"} 
[2026-08-22 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-22 12: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-22 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:22: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-22 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-22 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-22 12:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12: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-22 12:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569549312001,"66":25832,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569549312001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:22:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569549312001,"power":25832,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":160012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:22:26] local.INFO: GPS data processed {"connection_id":160012,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:22:26] local.INFO: Acknowledgment sent {"connection_id":160012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:22:42] local.INFO: TCP Data received {"connection_id":162333,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162333,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:22:42] local.INFO: Processing buffer {"connection_id":162333,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:22:42] local.INFO: IMEI packet received {"connection_id":162333,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":162333,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:22:47] local.INFO: TCP Data received {"connection_id":162333,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162333,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:22:47] local.INFO: Processing buffer {"connection_id":162333,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:22:47] local.INFO: IMEI packet received {"connection_id":162333,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":162333,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:22:48] local.INFO: TCP Data received {"connection_id":162333,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0283c9c800100000000000000000000000000..."} 
[2026-08-22 12:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283c9c800100000000000000000000000000..."} 
[2026-08-22 12:22:48] local.INFO: Processing buffer {"connection_id":162333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283c9c800100000000000000000000000000..."} 
[2026-08-22 12:22:48] local.INFO: Packet analysis {"connection_id":162333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283c"} 
[2026-08-22 12:22:48] local.INFO: Extracted packet for processing {"connection_id":162333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283c"} 
[2026-08-22 12:22: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-22 12:22: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-22 12:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22: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-22 12:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787381456000,"timestamp_ms":1787381456000,"timestamp_seconds":1787381456,"priority":1,"record_length":96,"hex_timestamp":"000001a0283c9c80"} 
[2026-08-22 12:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:22: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:22: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":179,"data_length":795,"current_offset":136} 
[2026-08-22 12:22:48] 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-22 12:22: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-22 12:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":162333,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-22 12:22:48] local.INFO: GPS data processed {"connection_id":162333,"processed":0,"errors":0,"total":1} 
[2026-08-22 12:22:48] local.INFO: Acknowledgment sent {"connection_id":162333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:22:48] local.INFO: TCP Data received {"connection_id":162333,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0283cee880100000000000000000000000000..."} 
[2026-08-22 12:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283cee880100000000000000000000000000..."} 
[2026-08-22 12:22:48] local.INFO: Processing buffer {"connection_id":162333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283cee880100000000000000000000000000..."} 
[2026-08-22 12:22:48] local.INFO: Packet analysis {"connection_id":162333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283c"} 
[2026-08-22 12:22:48] local.INFO: Extracted packet for processing {"connection_id":162333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283c"} 
[2026-08-22 12:22: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-22 12:22: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-22 12:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22: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-22 12:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787381477000,"timestamp_ms":1787381477000,"timestamp_seconds":1787381477,"priority":1,"record_length":96,"hex_timestamp":"000001a0283cee88"} 
[2026-08-22 12:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:22:48] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:22: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":223,"data_length":795,"current_offset":136} 
[2026-08-22 12:22:48] 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-22 12:22: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-22 12:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":162333,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-22 12:22:48] local.INFO: GPS data processed {"connection_id":162333,"processed":0,"errors":0,"total":1} 
[2026-08-22 12:22:48] local.INFO: Acknowledgment sent {"connection_id":162333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:22:49] local.INFO: TCP Data received {"connection_id":160916,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:22:49] local.INFO: Processing buffer {"connection_id":160916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:22:49] local.INFO: IMEI packet received {"connection_id":160916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":160916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:22:53] local.INFO: TCP Data received {"connection_id":162334,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:22:53] local.INFO: Processing buffer {"connection_id":162334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:22:53] local.INFO: IMEI packet received {"connection_id":162334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":162334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:22:55] local.INFO: TCP Data received {"connection_id":162334,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:22:55] local.INFO: Processing buffer {"connection_id":162334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:22:55] local.INFO: IMEI packet received {"connection_id":162334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":162334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:22:56] local.INFO: TCP Data received {"connection_id":162334,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0283b48a8012d18aa0007217220004f00c22c..."} 
[2026-08-22 12:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283b48a8012d18aa0007217220004f00c22c..."} 
[2026-08-22 12:22:56] local.INFO: Processing buffer {"connection_id":162334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283b48a8012d18aa0007217220004f00c22c..."} 
[2026-08-22 12:22:56] local.INFO: Packet analysis {"connection_id":162334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:22:56] local.INFO: Extracted packet for processing {"connection_id":162334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:22:56] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632416,"longitude_deg":75.6591104,"latitude_deg":11.9632416,"altitude":79,"angle":194,"satellites":44,"speed":0,"hex_longitude":"2d18aa00","hex_latitude":"07217220","is_valid_coordinates":true} 
[2026-08-22 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-22 12:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569625088001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465071895805952,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033576990720,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22:56] 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-22 12:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787381369000,"timestamp_ms":1787381369000,"timestamp_seconds":1787381369,"priority":1,"record_length":96,"hex_timestamp":"000001a0283b48a8"} 
[2026-08-22 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-22 12:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 12:22:56] 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-22 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-22 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-22 12:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569625088001,"66":12885,"106":206,"83":41984,"24":0,"16":14465071895805952,"45":1777233033576990720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569625088001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:22:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:22:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465071895805952,"km_value":14465071895805.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033576990720,"description":"Unknown IO ID 45"} 
[2026-08-22 12:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569625088001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777233033576990720}} 
[2026-08-22 12:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":162334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:22:56] local.INFO: GPS data processed {"connection_id":162334,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:22:56] local.INFO: Acknowledgment sent {"connection_id":162334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:22:57] local.INFO: TCP Data received {"connection_id":160916,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:22:57] local.INFO: Processing buffer {"connection_id":160916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:22:57] local.INFO: IMEI packet received {"connection_id":160916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":160916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:22:57] local.INFO: TCP Data received {"connection_id":160916,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:22:58] local.INFO: Processing buffer {"connection_id":160916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:22:58] local.INFO: Packet analysis {"connection_id":160916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:22:58] local.INFO: Extracted packet for processing {"connection_id":160916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":13,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569549312001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:22:58] 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-22 12:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787381353000,"timestamp_ms":1787381353000,"timestamp_seconds":1787381353,"priority":1,"record_length":96,"hex_timestamp":"000001a0283b0a28"} 
[2026-08-22 12:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12: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-22 12:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:22:58] 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-22 12:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12: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-22 12:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569549312001,"66":25832,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569549312001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:22:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569549312001,"power":25832,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":160916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:22:58] local.INFO: GPS data processed {"connection_id":160916,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:22:58] local.INFO: Acknowledgment sent {"connection_id":160916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:23:19] local.INFO: TCP Data received {"connection_id":162333,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0283d40900100000000000000000000000000..."} 
[2026-08-22 12:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283d40900100000000000000000000000000..."} 
[2026-08-22 12:23:19] local.INFO: Processing buffer {"connection_id":162333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283d40900100000000000000000000000000..."} 
[2026-08-22 12:23:19] local.INFO: Packet analysis {"connection_id":162333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283d"} 
[2026-08-22 12:23:19] local.INFO: Extracted packet for processing {"connection_id":162333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283d"} 
[2026-08-22 12:23:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-22 12:23: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-22 12:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29424361383395328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:23:19] 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-22 12:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787381498000,"timestamp_ms":1787381498000,"timestamp_seconds":1787381498,"priority":1,"record_length":96,"hex_timestamp":"000001a0283d4090"} 
[2026-08-22 12: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-22 12:23: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 12:23:19] 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-22 12:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12: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-22 12:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":162333,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-22 12:23:19] local.INFO: GPS data processed {"connection_id":162333,"processed":0,"errors":0,"total":1} 
[2026-08-22 12:23:19] local.INFO: Acknowledgment sent {"connection_id":162333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:23:27] local.INFO: TCP Data received {"connection_id":162334,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0283b9ab0012d18aa0007217220004f00c226..."} 
[2026-08-22 12:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283b9ab0012d18aa0007217220004f00c226..."} 
[2026-08-22 12:23:27] local.INFO: Processing buffer {"connection_id":162334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283b9ab0012d18aa0007217220004f00c226..."} 
[2026-08-22 12:23:27] local.INFO: Packet analysis {"connection_id":162334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:23:27] local.INFO: Extracted packet for processing {"connection_id":162334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:23:27] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632416,"longitude_deg":75.6591104,"latitude_deg":11.9632416,"altitude":79,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d18aa00","hex_latitude":"07217220","is_valid_coordinates":true} 
[2026-08-22 12:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569630464001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465071895805952,"note":"Value kept but may cause issues"} 
[2026-08-22 12:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033576980480,"note":"Value kept but may cause issues"} 
[2026-08-22 12:23:27] 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-22 12:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787381390000,"timestamp_ms":1787381390000,"timestamp_seconds":1787381390,"priority":1,"record_length":96,"hex_timestamp":"000001a0283b9ab0"} 
[2026-08-22 12:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 12:23:27] 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-22 12:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569630464001,"66":12917,"106":206,"83":41984,"24":0,"16":14465071895805952,"45":1777233033576980480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569630464001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:23:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:23:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465071895805952,"km_value":14465071895805.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033576980480,"description":"Unknown IO ID 45"} 
[2026-08-22 12:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569630464001,"power":12917,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777233033576980480}} 
[2026-08-22 12:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":162334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:23:27] local.INFO: GPS data processed {"connection_id":162334,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:23:27] local.INFO: Acknowledgment sent {"connection_id":162334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:23:28] local.INFO: TCP Data received {"connection_id":160916,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:23:29] local.INFO: Processing buffer {"connection_id":160916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:23:29] local.INFO: Packet analysis {"connection_id":160916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:23:29] local.INFO: Extracted packet for processing {"connection_id":160916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":13,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569549312001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:23: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-22 12:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787381353000,"timestamp_ms":1787381353000,"timestamp_seconds":1787381353,"priority":1,"record_length":96,"hex_timestamp":"000001a0283b0a28"} 
[2026-08-22 12: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-22 12:23: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-22 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:23: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-22 12: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-22 12: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-22 12:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12: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-22 12:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569549312001,"66":25832,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569549312001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:23:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569549312001,"power":25832,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":160916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:23:29] local.INFO: GPS data processed {"connection_id":160916,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:23:29] local.INFO: Acknowledgment sent {"connection_id":160916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:23:35] local.INFO: TCP Data received {"connection_id":160917,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:23:35] local.INFO: Processing buffer {"connection_id":160917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:23:35] local.INFO: IMEI packet received {"connection_id":160917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":160917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:23:36] local.INFO: TCP Data received {"connection_id":160917,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:23:36] local.INFO: Processing buffer {"connection_id":160917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:23:36] local.INFO: IMEI packet received {"connection_id":160917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":160917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:23:37] local.INFO: TCP Data received {"connection_id":160917,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:23:37] local.INFO: Processing buffer {"connection_id":160917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:23:37] local.INFO: IMEI packet received {"connection_id":160917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":160917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:23:37] local.INFO: TCP Data received {"connection_id":160917,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:23:37] local.INFO: Processing buffer {"connection_id":160917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:23:37] local.INFO: IMEI packet received {"connection_id":160917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":160917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:23:49] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:23:49] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:23:49] local.INFO: IMEI packet received {"connection_id":160013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":160013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:23:53] local.INFO: TCP Data received {"connection_id":162335,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:23:53] local.INFO: Processing buffer {"connection_id":162335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:23:53] local.INFO: IMEI packet received {"connection_id":162335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":162335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:23:54] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:23:54] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:23:54] local.INFO: IMEI packet received {"connection_id":160013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":160013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:23:55] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:23:55] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:23:55] local.INFO: Packet analysis {"connection_id":160013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:23:55] local.INFO: Extracted packet for processing {"connection_id":160013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:23:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":13,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569549312001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:23: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-22 12:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787381353000,"timestamp_ms":1787381353000,"timestamp_seconds":1787381353,"priority":1,"record_length":96,"hex_timestamp":"000001a0283b0a28"} 
[2026-08-22 12:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:23: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-22 12:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:23: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-22 12:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:23:55] 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-22 12:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569549312001,"66":25832,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569549312001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:23:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569549312001,"power":25832,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":160013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:23:55] local.INFO: GPS data processed {"connection_id":160013,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:23:55] local.INFO: Acknowledgment sent {"connection_id":160013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:23:58] local.INFO: TCP Data received {"connection_id":162335,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:23:58] local.INFO: Processing buffer {"connection_id":162335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:23:58] local.INFO: IMEI packet received {"connection_id":162335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":162335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:23:59] local.INFO: TCP Data received {"connection_id":162335,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0283becb8012d18aa0007217220004f00c22c..."} 
[2026-08-22 12:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283becb8012d18aa0007217220004f00c22c..."} 
[2026-08-22 12:23:59] local.INFO: Processing buffer {"connection_id":162335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283becb8012d18aa0007217220004f00c22c..."} 
[2026-08-22 12:23:59] local.INFO: Packet analysis {"connection_id":162335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:23:59] local.INFO: Extracted packet for processing {"connection_id":162335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632416,"longitude_deg":75.6591104,"latitude_deg":11.9632416,"altitude":79,"angle":194,"satellites":44,"speed":0,"hex_longitude":"2d18aa00","hex_latitude":"07217220","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569635840001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465071895805952,"note":"Value kept but may cause issues"} 
[2026-08-22 12:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033576980480,"note":"Value kept but may cause issues"} 
[2026-08-22 12:23:59] 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-22 12:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787381411000,"timestamp_ms":1787381411000,"timestamp_seconds":1787381411,"priority":1,"record_length":96,"hex_timestamp":"000001a0283becb8"} 
[2026-08-22 12: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-22 12:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 12:23:59] 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-22 12: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-22 12: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-22 12:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569635840001,"66":12841,"106":206,"83":41984,"24":0,"16":14465071895805952,"45":1777233033576980480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569635840001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:23:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:23:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465071895805952,"km_value":14465071895805.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033576980480,"description":"Unknown IO ID 45"} 
[2026-08-22 12:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569635840001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777233033576980480}} 
[2026-08-22 12:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":162335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:23:59] local.INFO: GPS data processed {"connection_id":162335,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:23:59] local.INFO: Acknowledgment sent {"connection_id":162335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:24:26] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:24:26] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283b0a28012d7fabc005afe1b8000d01212e..."} 
[2026-08-22 12:24:26] local.INFO: Packet analysis {"connection_id":160013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:24:26] local.INFO: Extracted packet for processing {"connection_id":160013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283b"} 
[2026-08-22 12:24:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":13,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569549312001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:24: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-22 12:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787381353000,"timestamp_ms":1787381353000,"timestamp_seconds":1787381353,"priority":1,"record_length":96,"hex_timestamp":"000001a0283b0a28"} 
[2026-08-22 12: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-22 12: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-22 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 12:24: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-22 12: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-22 12: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-22 12:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:24:26] 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-22 12:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569549312001,"66":25832,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569549312001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:24:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569549312001,"power":25832,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":160013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:24:26] local.INFO: GPS data processed {"connection_id":160013,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:24:26] local.INFO: Acknowledgment sent {"connection_id":160013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:24:30] local.INFO: TCP Data received {"connection_id":162335,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0283c3ec0012d18aa0007217220004f00c22e..."} 
[2026-08-22 12:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283c3ec0012d18aa0007217220004f00c22e..."} 
[2026-08-22 12:24:30] local.INFO: Processing buffer {"connection_id":162335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283c3ec0012d18aa0007217220004f00c22e..."} 
[2026-08-22 12:24:30] local.INFO: Packet analysis {"connection_id":162335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283c"} 
[2026-08-22 12:24:30] local.INFO: Extracted packet for processing {"connection_id":162335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283c"} 
[2026-08-22 12:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632416,"longitude_deg":75.6591104,"latitude_deg":11.9632416,"altitude":79,"angle":194,"satellites":46,"speed":0,"hex_longitude":"2d18aa00","hex_latitude":"07217220","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569641216001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465071895805952,"note":"Value kept but may cause issues"} 
[2026-08-22 12:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033576980480,"note":"Value kept but may cause issues"} 
[2026-08-22 12:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787381432000,"timestamp_ms":1787381432000,"timestamp_seconds":1787381432,"priority":1,"record_length":96,"hex_timestamp":"000001a0283c3ec0"} 
[2026-08-22 12: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-22 12:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 12:24:30] 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-22 12: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-22 12: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-22 12:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569641216001,"66":12841,"106":206,"83":41984,"24":0,"16":14465071895805952,"45":1777233033576980480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569641216001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:24:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465071895805952,"km_value":14465071895805.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033576980480,"description":"Unknown IO ID 45"} 
[2026-08-22 12:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569641216001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777233033576980480}} 
[2026-08-22 12:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":162335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:24:30] local.INFO: GPS data processed {"connection_id":162335,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:24:30] local.INFO: Acknowledgment sent {"connection_id":162335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:24:49] local.INFO: TCP Data received {"connection_id":160918,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:24:49] local.INFO: Processing buffer {"connection_id":160918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:24:49] local.INFO: IMEI packet received {"connection_id":160918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":160918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:24:52] local.INFO: TCP Data received {"connection_id":160918,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:24:52] local.INFO: Processing buffer {"connection_id":160918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:24:52] local.INFO: IMEI packet received {"connection_id":160918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":160918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:24:53] local.INFO: TCP Data received {"connection_id":159763,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:24:53] local.INFO: Processing buffer {"connection_id":159763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:24:53] local.INFO: IMEI packet received {"connection_id":159763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":159763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:24:54] local.INFO: TCP Data received {"connection_id":160918,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:24:54] local.INFO: Processing buffer {"connection_id":160918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:24:54] local.INFO: IMEI packet received {"connection_id":160918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":160918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:24:54] local.INFO: TCP Data received {"connection_id":160918,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:24:54] local.INFO: Processing buffer {"connection_id":160918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:24:54] local.INFO: Packet analysis {"connection_id":160918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:24:54] local.INFO: Extracted packet for processing {"connection_id":160918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569626368001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:24:54] 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-22 12:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787381654000,"timestamp_ms":1787381654000,"timestamp_seconds":1787381654,"priority":1,"record_length":96,"hex_timestamp":"000001a0283fa1f0"} 
[2026-08-22 12:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 12:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 12:24:54] 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-22 12:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:24:54] 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-22 12:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569626368001,"66":25756,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569626368001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:24:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:24:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569626368001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":160918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:24:54] local.INFO: GPS data processed {"connection_id":160918,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:24:54] local.INFO: Acknowledgment sent {"connection_id":160918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:24:58] local.INFO: TCP Data received {"connection_id":159763,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:24:58] local.INFO: Processing buffer {"connection_id":159763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:24:58] local.INFO: IMEI packet received {"connection_id":159763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":159763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:24:59] local.INFO: TCP Data received {"connection_id":159763,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0283c90c8012d18aa0007217220004f00c22e..."} 
[2026-08-22 12:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283c90c8012d18aa0007217220004f00c22e..."} 
[2026-08-22 12:24:59] local.INFO: Processing buffer {"connection_id":159763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283c90c8012d18aa0007217220004f00c22e..."} 
[2026-08-22 12:24:59] local.INFO: Packet analysis {"connection_id":159763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283c"} 
[2026-08-22 12:24:59] local.INFO: Extracted packet for processing {"connection_id":159763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283c"} 
[2026-08-22 12:24:59] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632416,"longitude_deg":75.6591104,"latitude_deg":11.9632416,"altitude":79,"angle":194,"satellites":46,"speed":0,"hex_longitude":"2d18aa00","hex_latitude":"07217220","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569646592001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465071895805952,"note":"Value kept but may cause issues"} 
[2026-08-22 12:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033576980480,"note":"Value kept but may cause issues"} 
[2026-08-22 12:24:59] 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-22 12:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787381453000,"timestamp_ms":1787381453000,"timestamp_seconds":1787381453,"priority":1,"record_length":96,"hex_timestamp":"000001a0283c90c8"} 
[2026-08-22 12: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-22 12:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 12:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569646592001,"66":12776,"106":206,"83":41984,"24":0,"16":14465071895805952,"45":1777233033576980480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569646592001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:24:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:24:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465071895805952,"km_value":14465071895805.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033576980480,"description":"Unknown IO ID 45"} 
[2026-08-22 12:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569646592001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777233033576980480}} 
[2026-08-22 12:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":159763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:24:59] local.INFO: GPS data processed {"connection_id":159763,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:24:59] local.INFO: Acknowledgment sent {"connection_id":159763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:25:25] local.INFO: TCP Data received {"connection_id":160918,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:25:25] local.INFO: Processing buffer {"connection_id":160918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:25:25] local.INFO: Packet analysis {"connection_id":160918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:25:25] local.INFO: Extracted packet for processing {"connection_id":160918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:25:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 12:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569626368001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:25: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-22 12:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787381654000,"timestamp_ms":1787381654000,"timestamp_seconds":1787381654,"priority":1,"record_length":96,"hex_timestamp":"000001a0283fa1f0"} 
[2026-08-22 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-22 12:25: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-22 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 12:25:25] 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-22 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-22 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-22 12:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:25: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-22 12:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569626368001,"66":25756,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569626368001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:25:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:25:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569626368001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":160918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:25:25] local.INFO: GPS data processed {"connection_id":160918,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:25:25] local.INFO: Acknowledgment sent {"connection_id":160918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:25:30] local.INFO: TCP Data received {"connection_id":159763,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0283ce2d0012d18aa0007217220004f00c22b..."} 
[2026-08-22 12:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283ce2d0012d18aa0007217220004f00c22b..."} 
[2026-08-22 12:25:30] local.INFO: Processing buffer {"connection_id":159763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283ce2d0012d18aa0007217220004f00c22b..."} 
[2026-08-22 12:25:30] local.INFO: Packet analysis {"connection_id":159763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283c"} 
[2026-08-22 12:25:30] local.INFO: Extracted packet for processing {"connection_id":159763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283c"} 
[2026-08-22 12:25:30] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632416,"longitude_deg":75.6591104,"latitude_deg":11.9632416,"altitude":79,"angle":194,"satellites":43,"speed":0,"hex_longitude":"2d18aa00","hex_latitude":"07217220","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569651968001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465071895805952,"note":"Value kept but may cause issues"} 
[2026-08-22 12:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033576980480,"note":"Value kept but may cause issues"} 
[2026-08-22 12:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787381474000,"timestamp_ms":1787381474000,"timestamp_seconds":1787381474,"priority":1,"record_length":96,"hex_timestamp":"000001a0283ce2d0"} 
[2026-08-22 12: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-22 12:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 12:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569651968001,"66":12722,"106":206,"83":41984,"24":0,"16":14465071895805952,"45":1777233033576980480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569651968001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:25:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:25:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465071895805952,"km_value":14465071895805.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033576980480,"description":"Unknown IO ID 45"} 
[2026-08-22 12:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569651968001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777233033576980480}} 
[2026-08-22 12:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":159763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:25:30] local.INFO: GPS data processed {"connection_id":159763,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:25:30] local.INFO: Acknowledgment sent {"connection_id":159763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:25:49] local.INFO: TCP Data received {"connection_id":159764,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:25:49] local.INFO: Processing buffer {"connection_id":159764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:25:49] local.INFO: IMEI packet received {"connection_id":159764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":159764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:25:53] local.INFO: TCP Data received {"connection_id":160919,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:25:53] local.INFO: Processing buffer {"connection_id":160919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:25:53] local.INFO: IMEI packet received {"connection_id":160919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":160919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:25:54] local.INFO: TCP Data received {"connection_id":159764,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:25:54] local.INFO: Processing buffer {"connection_id":159764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:25:54] local.INFO: IMEI packet received {"connection_id":159764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":159764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:25:55] local.INFO: TCP Data received {"connection_id":159764,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:25:55] local.INFO: Processing buffer {"connection_id":159764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:25:55] local.INFO: Packet analysis {"connection_id":159764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:25:55] local.INFO: Extracted packet for processing {"connection_id":159764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:25:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569626368001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:25: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-22 12:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787381654000,"timestamp_ms":1787381654000,"timestamp_seconds":1787381654,"priority":1,"record_length":96,"hex_timestamp":"000001a0283fa1f0"} 
[2026-08-22 12: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-22 12:25: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-22 12: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 12:25:55] 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-22 12: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-22 12: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-22 12:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:25:55] 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-22 12:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569626368001,"66":25756,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569626368001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:25:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:25:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569626368001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":159764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:25:55] local.INFO: GPS data processed {"connection_id":159764,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:25:55] local.INFO: Acknowledgment sent {"connection_id":159764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:25:58] local.INFO: TCP Data received {"connection_id":160919,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:25:58] local.INFO: Processing buffer {"connection_id":160919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:25:58] local.INFO: IMEI packet received {"connection_id":160919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":160919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:25:59] local.INFO: TCP Data received {"connection_id":160919,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0283d34d8012d18ad4007217328005900c22e..."} 
[2026-08-22 12:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283d34d8012d18ad4007217328005900c22e..."} 
[2026-08-22 12:25:59] local.INFO: Processing buffer {"connection_id":160919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283d34d8012d18ad4007217328005900c22e..."} 
[2026-08-22 12:25:59] local.INFO: Packet analysis {"connection_id":160919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283d"} 
[2026-08-22 12:25:59] local.INFO: Extracted packet for processing {"connection_id":160919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283d"} 
[2026-08-22 12:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756591936,"raw_latitude":119632680,"longitude_deg":75.6591936,"latitude_deg":11.963268,"altitude":89,"angle":194,"satellites":46,"speed":0,"hex_longitude":"2d18ad40","hex_latitude":"07217328","is_valid_coordinates":true} 
[2026-08-22 12:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569657344001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465110550511616,"note":"Value kept but may cause issues"} 
[2026-08-22 12:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033576980480,"note":"Value kept but may cause issues"} 
[2026-08-22 12:25:59] 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-22 12:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787381495000,"timestamp_ms":1787381495000,"timestamp_seconds":1787381495,"priority":1,"record_length":96,"hex_timestamp":"000001a0283d34d8"} 
[2026-08-22 12:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 12:25:59] 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-22 12:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569657344001,"66":12722,"106":206,"83":41984,"24":0,"16":14465110550511616,"45":1777233033576980480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569657344001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:25:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465110550511616,"km_value":14465110550511.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033576980480,"description":"Unknown IO ID 45"} 
[2026-08-22 12:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569657344001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777233033576980480}} 
[2026-08-22 12:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":160919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:25:59] local.INFO: GPS data processed {"connection_id":160919,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:25:59] local.INFO: Acknowledgment sent {"connection_id":160919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:26:26] local.INFO: TCP Data received {"connection_id":159764,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:26:26] local.INFO: Processing buffer {"connection_id":159764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:26:26] local.INFO: Packet analysis {"connection_id":159764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:26:26] local.INFO: Extracted packet for processing {"connection_id":159764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:26:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569626368001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:26: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-22 12:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787381654000,"timestamp_ms":1787381654000,"timestamp_seconds":1787381654,"priority":1,"record_length":96,"hex_timestamp":"000001a0283fa1f0"} 
[2026-08-22 12: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-22 12:26: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-22 12: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 12:26: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-22 12: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-22 12: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-22 12:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:26:26] 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-22 12:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569626368001,"66":25756,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569626368001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:26:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:26:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569626368001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":159764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:26:26] local.INFO: GPS data processed {"connection_id":159764,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:26:26] local.INFO: Acknowledgment sent {"connection_id":159764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:26:30] local.INFO: TCP Data received {"connection_id":160919,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02840b748012d18aa4007217548005401222b..."} 
[2026-08-22 12:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02840b748012d18aa4007217548005401222b..."} 
[2026-08-22 12:26:30] local.INFO: Processing buffer {"connection_id":160919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02840b748012d18aa4007217548005401222b..."} 
[2026-08-22 12:26:30] local.INFO: Packet analysis {"connection_id":160919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02840"} 
[2026-08-22 12:26:30] local.INFO: Extracted packet for processing {"connection_id":160919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02840"} 
[2026-08-22 12:26:30] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119633224,"longitude_deg":75.6591168,"latitude_deg":11.9633224,"altitude":84,"angle":290,"satellites":43,"speed":10,"hex_longitude":"2d18aa40","hex_latitude":"07217548","is_valid_coordinates":true} 
[2026-08-22 12:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569721344001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465162090119168,"note":"Value kept but may cause issues"} 
[2026-08-22 12:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777584877298051072,"note":"Value kept but may cause issues"} 
[2026-08-22 12:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787381725000,"timestamp_ms":1787381725000,"timestamp_seconds":1787381725,"priority":1,"record_length":96,"hex_timestamp":"000001a02840b748"} 
[2026-08-22 12:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-22 12:26:30] 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-22 12:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569721344001,"66":13972,"106":206,"83":41984,"24":10,"16":14465162090119168,"45":1777584877298051072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569721344001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:26:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465162090119168,"km_value":14465162090119.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777584877298051072,"description":"Unknown IO ID 45"} 
[2026-08-22 12:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569721344001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1777584877298051072}} 
[2026-08-22 12:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":160919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:26:30] local.INFO: GPS data processed {"connection_id":160919,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:26:30] local.INFO: Acknowledgment sent {"connection_id":160919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:26:49] local.INFO: TCP Data received {"connection_id":160920,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:26:49] local.INFO: Processing buffer {"connection_id":160920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:26:49] local.INFO: IMEI packet received {"connection_id":160920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":160920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:26:53] local.INFO: TCP Data received {"connection_id":162338,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:26:53] local.INFO: Processing buffer {"connection_id":162338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:26:53] local.INFO: IMEI packet received {"connection_id":162338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":162338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:26:54] local.INFO: TCP Data received {"connection_id":160920,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:26:54] local.INFO: Processing buffer {"connection_id":160920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:26:54] local.INFO: IMEI packet received {"connection_id":160920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":160920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:26:57] local.INFO: TCP Data received {"connection_id":162338,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:26:57] local.INFO: Processing buffer {"connection_id":162338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:26:57] local.INFO: IMEI packet received {"connection_id":162338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":162338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:26:58] local.INFO: TCP Data received {"connection_id":160920,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:26:58] local.INFO: Processing buffer {"connection_id":160920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:26:58] local.INFO: Packet analysis {"connection_id":160920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:26:58] local.INFO: Extracted packet for processing {"connection_id":160920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569626368001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:26:58] 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-22 12:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787381654000,"timestamp_ms":1787381654000,"timestamp_seconds":1787381654,"priority":1,"record_length":96,"hex_timestamp":"000001a0283fa1f0"} 
[2026-08-22 12: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-22 12:26: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-22 12: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 12:26:58] 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-22 12: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-22 12: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-22 12:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:26:58] 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-22 12:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569626368001,"66":25756,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569626368001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:26:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:26:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569626368001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":160920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:26:58] local.INFO: GPS data processed {"connection_id":160920,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:26:58] local.INFO: Acknowledgment sent {"connection_id":160920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:26:58] local.INFO: TCP Data received {"connection_id":162338,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:26:58] local.INFO: Processing buffer {"connection_id":162338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:26:58] local.INFO: IMEI packet received {"connection_id":162338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":162338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:26:59] local.INFO: TCP Data received {"connection_id":162338,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02840ea10012d1888c0072180d8005301202a..."} 
[2026-08-22 12:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02840ea10012d1888c0072180d8005301202a..."} 
[2026-08-22 12:26:59] local.INFO: Processing buffer {"connection_id":162338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02840ea10012d1888c0072180d8005301202a..."} 
[2026-08-22 12:26:59] local.INFO: Packet analysis {"connection_id":162338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02840"} 
[2026-08-22 12:26:59] local.INFO: Extracted packet for processing {"connection_id":162338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02840"} 
[2026-08-22 12:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756582592,"raw_latitude":119636184,"longitude_deg":75.6582592,"latitude_deg":11.9636184,"altitude":83,"angle":288,"satellites":42,"speed":33,"hex_longitude":"2d1888c0","hex_latitude":"072180d8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569721600001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465595881816064,"note":"Value kept but may cause issues"} 
[2026-08-22 12:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402321364992,"note":"Value kept but may cause issues"} 
[2026-08-22 12:26:59] 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-22 12:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787381738000,"timestamp_ms":1787381738000,"timestamp_seconds":1787381738,"priority":1,"record_length":96,"hex_timestamp":"000001a02840ea10"} 
[2026-08-22 12: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-22 12:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-22 12:26:59] 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-22 12: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-22 12: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-22 12:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569721600001,"66":14363,"106":206,"83":41984,"24":33,"16":14465595881816064,"45":1777303402321364992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569721600001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:26:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465595881816064,"km_value":14465595881816.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402321364992,"description":"Unknown IO ID 45"} 
[2026-08-22 12:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569721600001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1777303402321364992}} 
[2026-08-22 12:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":162338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:26:59] local.INFO: GPS data processed {"connection_id":162338,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:26:59] local.INFO: Acknowledgment sent {"connection_id":162338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:27:03] local.INFO: TCP Data received {"connection_id":162338,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02840f5c8012d188000072182700052011429..."} 
[2026-08-22 12:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02840f5c8012d188000072182700052011429..."} 
[2026-08-22 12:27:03] local.INFO: Processing buffer {"connection_id":162338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02840f5c8012d188000072182700052011429..."} 
[2026-08-22 12:27:03] local.INFO: Packet analysis {"connection_id":162338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02840"} 
[2026-08-22 12:27:03] local.INFO: Extracted packet for processing {"connection_id":162338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02840"} 
[2026-08-22 12:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756580352,"raw_latitude":119636592,"longitude_deg":75.6580352,"latitude_deg":11.9636592,"altitude":82,"angle":276,"satellites":41,"speed":22,"hex_longitude":"2d188000","hex_latitude":"07218270","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569724928001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465703255998464,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767873990602315776,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:03] 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-22 12:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787381741000,"timestamp_ms":1787381741000,"timestamp_seconds":1787381741,"priority":1,"record_length":96,"hex_timestamp":"000001a02840f5c8"} 
[2026-08-22 12: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-22 12:27: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-22 12: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-22 12:27: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-22 12: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-22 12: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-22 12:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569724928001,"66":14157,"106":206,"83":41984,"24":22,"16":14465703255998464,"45":1767873990602315776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569724928001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:27:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:27:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465703255998464,"km_value":14465703255998.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767873990602315776,"description":"Unknown IO ID 45"} 
[2026-08-22 12:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569724928001,"power":14157,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1767873990602315776}} 
[2026-08-22 12:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":162338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:27:03] local.INFO: GPS data processed {"connection_id":162338,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:27:03] local.INFO: Acknowledgment sent {"connection_id":162338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:27:29] local.INFO: TCP Data received {"connection_id":160920,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:27:29] local.INFO: Processing buffer {"connection_id":160920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:27:29] local.INFO: Packet analysis {"connection_id":160920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:27:29] local.INFO: Extracted packet for processing {"connection_id":160920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:27:29] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569626368001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27: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-22 12:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787381654000,"timestamp_ms":1787381654000,"timestamp_seconds":1787381654,"priority":1,"record_length":96,"hex_timestamp":"000001a0283fa1f0"} 
[2026-08-22 12: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-22 12:27: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-22 12: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 12:27:29] 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-22 12: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-22 12: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-22 12:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:27:29] 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-22 12:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569626368001,"66":25756,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569626368001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:27:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569626368001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":160920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:27:29] local.INFO: GPS data processed {"connection_id":160920,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:27:29] local.INFO: Acknowledgment sent {"connection_id":160920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:27:34] local.INFO: TCP Data received {"connection_id":162338,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0284147d0012d187a00072181f80051010b2c..."} 
[2026-08-22 12:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284147d0012d187a00072181f80051010b2c..."} 
[2026-08-22 12:27:34] local.INFO: Processing buffer {"connection_id":162338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284147d0012d187a00072181f80051010b2c..."} 
[2026-08-22 12:27:34] local.INFO: Packet analysis {"connection_id":162338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02841"} 
[2026-08-22 12:27:34] local.INFO: Extracted packet for processing {"connection_id":162338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02841"} 
[2026-08-22 12:27:34] local.INFO: GPS Element Parsed {"raw_longitude":756578816,"raw_latitude":119636472,"longitude_deg":75.6578816,"latitude_deg":11.9636472,"altitude":81,"angle":267,"satellites":44,"speed":2,"hex_longitude":"2d187a00","hex_latitude":"072181f8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569725696001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465776270442496,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765411084556201984,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:34] 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-22 12:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787381762000,"timestamp_ms":1787381762000,"timestamp_seconds":1787381762,"priority":1,"record_length":96,"hex_timestamp":"000001a0284147d0"} 
[2026-08-22 12: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-22 12:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 12:27:34] 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-22 12: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-22 12: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-22 12:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569725696001,"66":14352,"106":206,"83":41984,"24":2,"16":14465776270442496,"45":1765411084556201984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569725696001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:27:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:27:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465776270442496,"km_value":14465776270442.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765411084556201984,"description":"Unknown IO ID 45"} 
[2026-08-22 12:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569725696001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1765411084556201984}} 
[2026-08-22 12:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":162338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:27:35] local.INFO: GPS data processed {"connection_id":162338,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:27:35] local.INFO: Acknowledgment sent {"connection_id":162338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:27:49] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:27:49] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:27:49] local.INFO: IMEI packet received {"connection_id":160015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":160015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:27:53] local.INFO: TCP Data received {"connection_id":162339,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:27:53] local.INFO: Processing buffer {"connection_id":162339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:27:53] local.INFO: IMEI packet received {"connection_id":162339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":162339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:27:54] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:27:54] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:27:54] local.INFO: IMEI packet received {"connection_id":160015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":160015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:27:55] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:27:55] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:27:55] local.INFO: Packet analysis {"connection_id":160015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:27:55] local.INFO: Extracted packet for processing {"connection_id":160015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569626368001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27: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-22 12:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787381654000,"timestamp_ms":1787381654000,"timestamp_seconds":1787381654,"priority":1,"record_length":96,"hex_timestamp":"000001a0283fa1f0"} 
[2026-08-22 12: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-22 12:27: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-22 12: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 12:27:55] 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-22 12: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-22 12: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-22 12:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:27: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-22 12:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569626368001,"66":25756,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569626368001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:27:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:27:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569626368001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":160015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:27:55] local.INFO: GPS data processed {"connection_id":160015,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:27:55] local.INFO: Acknowledgment sent {"connection_id":160015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:27:58] local.INFO: TCP Data received {"connection_id":162339,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:27:58] local.INFO: Processing buffer {"connection_id":162339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:27:58] local.INFO: IMEI packet received {"connection_id":162339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":162339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:27:59] local.INFO: TCP Data received {"connection_id":162339,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028418a38012d18780007218148005100f52d..."} 
[2026-08-22 12:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028418a38012d18780007218148005100f52d..."} 
[2026-08-22 12:27:59] local.INFO: Processing buffer {"connection_id":162339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028418a38012d18780007218148005100f52d..."} 
[2026-08-22 12:27:59] local.INFO: Packet analysis {"connection_id":162339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02841"} 
[2026-08-22 12:27:59] local.INFO: Extracted packet for processing {"connection_id":162339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02841"} 
[2026-08-22 12:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756578304,"raw_latitude":119636296,"longitude_deg":75.6578304,"latitude_deg":11.9636296,"altitude":81,"angle":245,"satellites":45,"speed":6,"hex_longitude":"2d187800","hex_latitude":"07218148","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569731072001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465802040246272,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763722234695907328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:59] 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-22 12:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787381779000,"timestamp_ms":1787381779000,"timestamp_seconds":1787381779,"priority":1,"record_length":96,"hex_timestamp":"000001a028418a38"} 
[2026-08-22 12: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-22 12:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-22 12:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144832,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:59] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-5962758066391220135,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503820347703296,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:59] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:59] local.WARNING: Large IO value detected {"io_id":40,"raw_value":25052106872324096,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637310514784874,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:59] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101786276102400,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-22 12:27:59] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3221692788,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 12:27:59] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,100,160,245,45,130,82,41,10,66,234,192,128,42,183,64,1,240,148,227,99,40,33,4,113,205,7,175,171,239,55,2,51,84,3,206],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-22 12:27:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836958875655471104,"timestamp_seconds":5836958875655471.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12: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-22 12:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569731072001,"66":14004,"106":206,"83":41984,"24":6,"16":14465802040246272,"45":1763722234695907328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569731072001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:27:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465802040246272,"km_value":14465802040246.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763722234695907328,"description":"Unknown IO ID 45"} 
[2026-08-22 12:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569731072001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1763722234695907328}} 
[2026-08-22 12:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":162339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:27:59] local.INFO: GPS data processed {"connection_id":162339,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:27:59] local.INFO: Acknowledgment sent {"connection_id":162339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:28:26] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:28:26] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:28:26] local.INFO: Packet analysis {"connection_id":160015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:28:26] local.INFO: Extracted packet for processing {"connection_id":160015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:28:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569626368001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:28: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-22 12:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787381654000,"timestamp_ms":1787381654000,"timestamp_seconds":1787381654,"priority":1,"record_length":96,"hex_timestamp":"000001a0283fa1f0"} 
[2026-08-22 12: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-22 12:28: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-22 12: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 12:28: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-22 12: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-22 12: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-22 12:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:28:26] 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-22 12:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569626368001,"66":25756,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569626368001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:28:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:28:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569626368001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":160015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:28:26] local.INFO: GPS data processed {"connection_id":160015,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:28:26] local.INFO: Acknowledgment sent {"connection_id":160015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:28:30] local.INFO: TCP Data received {"connection_id":162339,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02841cca0012d187540072181e8005201182e..."} 
[2026-08-22 12:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02841cca0012d187540072181e8005201182e..."} 
[2026-08-22 12:28:30] local.INFO: Processing buffer {"connection_id":162339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02841cca0012d187540072181e8005201182e..."} 
[2026-08-22 12:28:30] local.INFO: Packet analysis {"connection_id":162339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02841"} 
[2026-08-22 12:28:30] local.INFO: Extracted packet for processing {"connection_id":162339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02841"} 
[2026-08-22 12:28:30] local.INFO: GPS Element Parsed {"raw_longitude":756577600,"raw_latitude":119636456,"longitude_deg":75.65776,"latitude_deg":11.9636456,"altitude":82,"angle":280,"satellites":46,"speed":7,"hex_longitude":"2d187540","hex_latitude":"072181e8","is_valid_coordinates":true} 
[2026-08-22 12:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569735424001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14465840694951936,"note":"Value kept but may cause issues"} 
[2026-08-22 12:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763159284742440960,"note":"Value kept but may cause issues"} 
[2026-08-22 12:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787381796000,"timestamp_ms":1787381796000,"timestamp_seconds":1787381796,"priority":1,"record_length":96,"hex_timestamp":"000001a02841cca0"} 
[2026-08-22 12:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-22 12:28:30] 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-22 12:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569735424001,"66":14048,"106":206,"83":41984,"24":7,"16":14465840694951936,"45":1763159284742440960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 12:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569735424001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:28:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 12:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14465840694951936,"km_value":14465840694951.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763159284742440960,"description":"Unknown IO ID 45"} 
[2026-08-22 12:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569735424001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1763159284742440960}} 
[2026-08-22 12:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":162339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:28:30] local.INFO: GPS data processed {"connection_id":162339,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:28:30] local.INFO: Acknowledgment sent {"connection_id":162339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:28:42] local.INFO: TCP Data received {"connection_id":160921,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160921,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:28:42] local.INFO: Processing buffer {"connection_id":160921,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:28:42] local.INFO: IMEI packet received {"connection_id":160921,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":160921,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:28:44] local.INFO: TCP Data received {"connection_id":160921,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02842de10012d0b40c0070350600011006e0c..."} 
[2026-08-22 12:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02842de10012d0b40c0070350600011006e0c..."} 
[2026-08-22 12:28:44] local.INFO: Processing buffer {"connection_id":160921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02842de10012d0b40c0070350600011006e0c..."} 
[2026-08-22 12:28:44] local.INFO: Packet analysis {"connection_id":160921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02842"} 
[2026-08-22 12:28:44] local.INFO: Extracted packet for processing {"connection_id":160921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02842"} 
[2026-08-22 12:28:44] local.INFO: GPS Element Parsed {"raw_longitude":755712192,"raw_latitude":117657696,"longitude_deg":75.5712192,"latitude_deg":11.7657696,"altitude":17,"angle":110,"satellites":12,"speed":17,"hex_longitude":"2d0b40c0","hex_latitude":"07035060","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569756928001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29429249056178176,"note":"Value kept but may cause issues"} 
[2026-08-22 12:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809381325652033536,"note":"Value kept but may cause issues"} 
[2026-08-22 12:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787381866000,"timestamp_ms":1787381866000,"timestamp_seconds":1787381866,"priority":1,"record_length":96,"hex_timestamp":"000001a02842de10"} 
[2026-08-22 12: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-22 12:28:44] 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-22 12: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-22 12:28:44] 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-22 12: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-22 12: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-22 12:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160921,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160921,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569756928001,"66":14439,"104":206,"94":10240,"24":17,"16":29429249056178176,"45":809381325652033536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,94,24,16,45]} 
[2026-08-22 12:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569756928001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:28:44] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-22 12:28:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29429249056178176,"km_value":29429249056178.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":809381325652033536,"description":"Unknown IO ID 45"} 
[2026-08-22 12:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569756928001,"power":14439,"unknown_104":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":809381325652033536}} 
[2026-08-22 12:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":160921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680990,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:28:44] local.INFO: GPS data processed {"connection_id":160921,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:28:44] local.INFO: Acknowledgment sent {"connection_id":160921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:28:49] local.INFO: TCP Data received {"connection_id":160922,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:28:49] local.INFO: Processing buffer {"connection_id":160922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:28:49] local.INFO: IMEI packet received {"connection_id":160922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":160922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:28:54] local.INFO: TCP Data received {"connection_id":160923,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:28:54] local.INFO: Processing buffer {"connection_id":160923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:28:54] local.INFO: IMEI packet received {"connection_id":160923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":160923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:28:54] local.INFO: TCP Data received {"connection_id":160922,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:28:54] local.INFO: Processing buffer {"connection_id":160922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:28:54] local.INFO: IMEI packet received {"connection_id":160922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":160922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:28:58] local.INFO: TCP Data received {"connection_id":160923,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:28:58] local.INFO: Processing buffer {"connection_id":160923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:28:58] local.INFO: IMEI packet received {"connection_id":160923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":160923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:28:59] local.INFO: TCP Data received {"connection_id":160922,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:28:59] local.INFO: Processing buffer {"connection_id":160922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:28:59] local.INFO: Packet analysis {"connection_id":160922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:28:59] local.INFO: Extracted packet for processing {"connection_id":160922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569626368001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:28:59] 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-22 12:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787381654000,"timestamp_ms":1787381654000,"timestamp_seconds":1787381654,"priority":1,"record_length":96,"hex_timestamp":"000001a0283fa1f0"} 
[2026-08-22 12: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-22 12:28: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-22 12: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":232,"data_length":795,"current_offset":136} 
[2026-08-22 12:28: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-22 12: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-22 12: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-22 12:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:28: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-22 12:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569626368001,"66":25756,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569626368001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:28:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569626368001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":160922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:28:59] local.INFO: GPS data processed {"connection_id":160922,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:28:59] local.INFO: Acknowledgment sent {"connection_id":160922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:29:01] local.INFO: TCP Data received {"connection_id":160923,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:29:01] local.INFO: Processing buffer {"connection_id":160923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:29:01] local.INFO: IMEI packet received {"connection_id":160923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":160923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:29:02] local.INFO: TCP Data received {"connection_id":160923,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02842da28012d181fc00721a720005300862d..."} 
[2026-08-22 12:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02842da28012d181fc00721a720005300862d..."} 
[2026-08-22 12:29:02] local.INFO: Processing buffer {"connection_id":160923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02842da28012d181fc00721a720005300862d..."} 
[2026-08-22 12:29:02] local.INFO: Packet analysis {"connection_id":160923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02842"} 
[2026-08-22 12:29:02] local.INFO: Extracted packet for processing {"connection_id":160923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02842"} 
[2026-08-22 12:29:02] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119645984,"longitude_deg":75.6555712,"latitude_deg":11.9645984,"altitude":83,"angle":134,"satellites":45,"speed":8,"hex_longitude":"2d181fc0","hex_latitude":"0721a720","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569757184001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14467060465664000,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561883136,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:02] local.INFO: IO Element Parsed {"io_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-22 12:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787381865000,"timestamp_ms":1787381865000,"timestamp_seconds":1787381865,"priority":1,"record_length":96,"hex_timestamp":"000001a02842da28"} 
[2026-08-22 12: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-22 12:29:02] 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-22 12: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 12:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6981960183,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:02] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:02] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503820369985536,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:02] local.WARNING: Large IO value detected {"io_id":40,"raw_value":23363686542352640,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:02] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2766667859,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 12:29:02] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:02] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2466303338,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:02] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84750758922625413,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,101,160,210,45,128,167,46,10,66,206,183,1,240,27,227,40,33,4,113,205,65,239,56,2,51,7,85,21,152],"length":529,"final_offset":659,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 12:29:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5980909145577488384,"timestamp_seconds":5980909145577488.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12: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-22 12:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569757184001,"66":14341,"105":206,"83":41984,"24":8,"16":14467060465664000,"45":1738178380561883136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 12:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569757184001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:29:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 12:29:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14467060465664000,"km_value":14467060465664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561883136,"description":"Unknown IO ID 45"} 
[2026-08-22 12:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569757184001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738178380561883136}} 
[2026-08-22 12:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":160923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:29:02] local.INFO: GPS data processed {"connection_id":160923,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:29:02] local.INFO: Acknowledgment sent {"connection_id":160923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:29:03] local.INFO: TCP Data received {"connection_id":160923,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028430908012d182d4007219af8005600792b..."} 
[2026-08-22 12:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028430908012d182d4007219af8005600792b..."} 
[2026-08-22 12:29:03] local.INFO: Processing buffer {"connection_id":160923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028430908012d182d4007219af8005600792b..."} 
[2026-08-22 12:29:03] local.INFO: Packet analysis {"connection_id":160923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02843"} 
[2026-08-22 12:29:03] local.INFO: Extracted packet for processing {"connection_id":160923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02843"} 
[2026-08-22 12:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119642872,"longitude_deg":75.6559168,"latitude_deg":11.9642872,"altitude":86,"angle":121,"satellites":43,"speed":21,"hex_longitude":"2d182d40","hex_latitude":"07219af8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569757440001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14467283803963392,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050205696,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787381877000,"timestamp_ms":1787381877000,"timestamp_seconds":1787381877,"priority":1,"record_length":96,"hex_timestamp":"000001a028430908"} 
[2026-08-22 12: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-22 12:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 12:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6981960234,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":23926615020934400,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:03] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503820372606976,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2784493651,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 12:29:03] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:03] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692836,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:03] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84750611819995540,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,101,160,214,45,64,167,46,10,66,210,128,206,1,240,38,227,40,33,4,113,205,6,147,32,232,239,56,2,51,7,84,26,96],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 12:29:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5980927832980193280,"timestamp_seconds":5980927832980193.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12: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-22 12:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569757440001,"66":13102,"105":206,"83":41984,"24":21,"16":14467283803963392,"45":1738319118050205696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 12:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569757440001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:29:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 12:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14467283803963392,"km_value":14467283803963.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050205696,"description":"Unknown IO ID 45"} 
[2026-08-22 12:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569757440001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1738319118050205696}} 
[2026-08-22 12:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":160923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:29:03] local.INFO: GPS data processed {"connection_id":160923,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:29:03] local.INFO: Acknowledgment sent {"connection_id":160923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:29:15] local.INFO: TCP Data received {"connection_id":160921,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02843f368012d0b6c8007034648000d00a50e..."} 
[2026-08-22 12:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02843f368012d0b6c8007034648000d00a50e..."} 
[2026-08-22 12:29:16] local.INFO: Processing buffer {"connection_id":160921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02843f368012d0b6c8007034648000d00a50e..."} 
[2026-08-22 12:29:16] local.INFO: Packet analysis {"connection_id":160921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02843"} 
[2026-08-22 12:29:16] local.INFO: Extracted packet for processing {"connection_id":160921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02843"} 
[2026-08-22 12:29:16] local.INFO: GPS Element Parsed {"raw_longitude":755723392,"raw_latitude":117655112,"longitude_deg":75.5723392,"latitude_deg":11.7655112,"altitude":13,"angle":165,"satellites":14,"speed":0,"hex_longitude":"2d0b6c80","hex_latitude":"07034648","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569770496001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29429863236501504,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823173599510022144,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:16] 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-22 12:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787381937000,"timestamp_ms":1787381937000,"timestamp_seconds":1787381937,"priority":1,"record_length":96,"hex_timestamp":"000001a02843f368"} 
[2026-08-22 12: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-22 12:29: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-22 12: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":179,"data_length":795,"current_offset":136} 
[2026-08-22 12:29:16] 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-22 12: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-22 12: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-22 12:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160921,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160921,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569770496001,"66":14450,"17":206,"94":11008,"24":0,"16":29429863236501504,"45":823173599510022144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-22 12:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569770496001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:29:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29429863236501504,"km_value":29429863236501.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":823173599510022144,"description":"Unknown IO ID 45"} 
[2026-08-22 12:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569770496001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":823173599510022144}} 
[2026-08-22 12:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":160921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680994,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:29:16] local.INFO: GPS data processed {"connection_id":160921,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:29:16] local.INFO: Acknowledgment sent {"connection_id":160921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:29:34] local.INFO: TCP Data received {"connection_id":160923,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02843d428012d18c540072149e8004b00b22b..."} 
[2026-08-22 12:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02843d428012d18c540072149e8004b00b22b..."} 
[2026-08-22 12:29:34] local.INFO: Processing buffer {"connection_id":160923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02843d428012d18c540072149e8004b00b22b..."} 
[2026-08-22 12:29:34] local.INFO: Packet analysis {"connection_id":160923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02843"} 
[2026-08-22 12:29:34] local.INFO: Extracted packet for processing {"connection_id":160923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02843"} 
[2026-08-22 12:29:34] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119622120,"longitude_deg":75.659808,"latitude_deg":11.962212,"altitude":75,"angle":178,"satellites":43,"speed":32,"hex_longitude":"2d18c540","hex_latitude":"072149e8","is_valid_coordinates":true} 
[2026-08-22 12:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569773312001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14469534366826496,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457584640,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:34] 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-22 12:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787381929000,"timestamp_ms":1787381929000,"timestamp_seconds":1787381929,"priority":1,"record_length":96,"hex_timestamp":"000001a02843d428"} 
[2026-08-22 12:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:29:34] 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-22 12:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 12:29:34] 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-22 12:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569773312001,"66":12711,"103":206,"83":41984,"24":32,"16":14469534366826496,"45":1784692120457584640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 12:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569773312001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:29:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 12:29:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14469534366826496,"km_value":14469534366826.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457584640,"description":"Unknown IO ID 45"} 
[2026-08-22 12:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569773312001,"power":12711,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1784692120457584640}} 
[2026-08-22 12:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":160923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:29:34] local.INFO: GPS data processed {"connection_id":160923,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:29:34] local.INFO: Acknowledgment sent {"connection_id":160923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:29:34] local.INFO: TCP Data received {"connection_id":162340,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162340,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:29:34] local.INFO: Processing buffer {"connection_id":162340,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:29:34] local.INFO: IMEI packet received {"connection_id":162340,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":162340,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:29:44] local.INFO: TCP Data received {"connection_id":162340,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162340,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:29:44] local.INFO: Processing buffer {"connection_id":162340,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:29:44] local.INFO: IMEI packet received {"connection_id":162340,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":162340,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:29:45] local.INFO: TCP Data received {"connection_id":162340,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162340,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:29:45] local.INFO: Processing buffer {"connection_id":162340,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:29:45] local.INFO: IMEI packet received {"connection_id":162340,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":162340,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:29:46] local.INFO: TCP Data received {"connection_id":162340,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0284406f0012d0b6c40070345d8000d00670e..."} 
[2026-08-22 12:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284406f0012d0b6c40070345d8000d00670e..."} 
[2026-08-22 12:29:46] local.INFO: Processing buffer {"connection_id":162340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284406f0012d0b6c40070345d8000d00670e..."} 
[2026-08-22 12:29:46] local.INFO: Packet analysis {"connection_id":162340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:29:46] local.INFO: Extracted packet for processing {"connection_id":162340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:29:46] local.INFO: GPS Element Parsed {"raw_longitude":755723328,"raw_latitude":117655000,"longitude_deg":75.5723328,"latitude_deg":11.7655,"altitude":13,"angle":103,"satellites":14,"speed":2,"hex_longitude":"2d0b6c40","hex_latitude":"070345d8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569775872001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29429871826436096,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823173599510022144,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:46] 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-22 12:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787381942000,"timestamp_ms":1787381942000,"timestamp_seconds":1787381942,"priority":1,"record_length":96,"hex_timestamp":"000001a0284406f0"} 
[2026-08-22 12: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-22 12:29: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-22 12: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-22 12:29:46] 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-22 12: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-22 12: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-22 12:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162340,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162340,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569775872001,"66":14450,"17":206,"94":11008,"24":2,"16":29429871826436096,"45":823173599510022144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-22 12:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569775872001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:29:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29429871826436096,"km_value":29429871826436.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":823173599510022144,"description":"Unknown IO ID 45"} 
[2026-08-22 12:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569775872001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":823173599510022144}} 
[2026-08-22 12:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":162340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680996,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:29:46] local.INFO: GPS data processed {"connection_id":162340,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:29:46] local.INFO: Acknowledgment sent {"connection_id":162340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:29:48] local.INFO: TCP Data received {"connection_id":162340,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a028441e60012d0b738007034518000e005b0e..."} 
[2026-08-22 12:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028441e60012d0b738007034518000e005b0e..."} 
[2026-08-22 12:29:48] local.INFO: Processing buffer {"connection_id":162340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028441e60012d0b738007034518000e005b0e..."} 
[2026-08-22 12:29:48] local.INFO: Packet analysis {"connection_id":162340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:29:48] local.INFO: Extracted packet for processing {"connection_id":162340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:29:48] local.INFO: GPS Element Parsed {"raw_longitude":755725184,"raw_latitude":117654808,"longitude_deg":75.5725184,"latitude_deg":11.7654808,"altitude":14,"angle":91,"satellites":14,"speed":18,"hex_longitude":"2d0b7380","hex_latitude":"07034518","is_valid_coordinates":true} 
[2026-08-22 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-22 12:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569777152001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29429957725782016,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823103230765815808,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:48] 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-22 12:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787381948000,"timestamp_ms":1787381948000,"timestamp_seconds":1787381948,"priority":1,"record_length":96,"hex_timestamp":"000001a028441e60"} 
[2026-08-22 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-22 12:29: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-22 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":114,"data_length":795,"current_offset":136} 
[2026-08-22 12:29:48] 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-22 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-22 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-22 12:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162340,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162340,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569777152001,"66":14450,"17":206,"94":11008,"24":18,"16":29429957725782016,"45":823103230765815808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-22 12:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569777152001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:29:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29429957725782016,"km_value":29429957725782.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":823103230765815808,"description":"Unknown IO ID 45"} 
[2026-08-22 12:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569777152001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":823103230765815808}} 
[2026-08-22 12:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":162340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680997,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:29:48] local.INFO: GPS data processed {"connection_id":162340,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:29:48] local.INFO: Acknowledgment sent {"connection_id":162340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:29:51] local.INFO: TCP Data received {"connection_id":162341,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:29:51] local.INFO: Processing buffer {"connection_id":162341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:29:51] local.INFO: IMEI packet received {"connection_id":162341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":162341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:29:53] local.INFO: TCP Data received {"connection_id":162341,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:29:53] local.INFO: Processing buffer {"connection_id":162341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:29:53] local.INFO: IMEI packet received {"connection_id":162341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":162341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:29:53] local.INFO: TCP Data received {"connection_id":159766,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:29:53] local.INFO: Processing buffer {"connection_id":159766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:29:53] local.INFO: IMEI packet received {"connection_id":159766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":159766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:29:53] local.INFO: TCP Data received {"connection_id":162341,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:29:53] local.INFO: Processing buffer {"connection_id":162341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:29:53] local.INFO: IMEI packet received {"connection_id":162341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":162341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:29:56] local.INFO: TCP Data received {"connection_id":159766,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:29:56] local.INFO: Processing buffer {"connection_id":159766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:29:56] local.INFO: IMEI packet received {"connection_id":159766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":159766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:29:57] local.INFO: TCP Data received {"connection_id":162341,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:29:57] local.INFO: Processing buffer {"connection_id":162341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:29:57] local.INFO: IMEI packet received {"connection_id":162341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":162341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:29:58] local.INFO: TCP Data received {"connection_id":162341,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02843e3c8012d18c64007213d60004900a22a..."} 
[2026-08-22 12:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02843e3c8012d18c64007213d60004900a22a..."} 
[2026-08-22 12:29:58] local.INFO: Processing buffer {"connection_id":162341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02843e3c8012d18c64007213d60004900a22a..."} 
[2026-08-22 12:29:58] local.INFO: Packet analysis {"connection_id":162341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02843"} 
[2026-08-22 12:29:58] local.INFO: Extracted packet for processing {"connection_id":162341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02843"} 
[2026-08-22 12:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756598336,"raw_latitude":119618912,"longitude_deg":75.6598336,"latitude_deg":11.9618912,"altitude":73,"angle":162,"satellites":42,"speed":31,"hex_longitude":"2d18c640","hex_latitude":"07213d60","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569773824001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14469688985649152,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226689710080,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29: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-22 12:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787381933000,"timestamp_ms":1787381933000,"timestamp_seconds":1787381933,"priority":1,"record_length":96,"hex_timestamp":"000001a02843e3c8"} 
[2026-08-22 12: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-22 12:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-22 12:29:58] 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-22 12: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-22 12: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-22 12:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569773824001,"66":12993,"103":206,"83":41984,"24":31,"16":14469688985649152,"45":1784903226689710080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 12:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569773824001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:29:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 12:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14469688985649152,"km_value":14469688985649.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226689710080,"description":"Unknown IO ID 45"} 
[2026-08-22 12:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569773824001,"power":12993,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1784903226689710080}} 
[2026-08-22 12:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":162341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:29:58] local.INFO: GPS data processed {"connection_id":162341,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:29:58] local.INFO: Acknowledgment sent {"connection_id":162341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:29:58] local.INFO: TCP Data received {"connection_id":162341,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02843eb98012d18c900072137b8004900952d..."} 
[2026-08-22 12:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02843eb98012d18c900072137b8004900952d..."} 
[2026-08-22 12:29:58] local.INFO: Processing buffer {"connection_id":162341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02843eb98012d18c900072137b8004900952d..."} 
[2026-08-22 12:29:58] local.INFO: Packet analysis {"connection_id":162341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02843"} 
[2026-08-22 12:29:58] local.INFO: Extracted packet for processing {"connection_id":162341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02843"} 
[2026-08-22 12:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756599040,"raw_latitude":119617464,"longitude_deg":75.659904,"latitude_deg":11.9617464,"altitude":73,"angle":149,"satellites":45,"speed":31,"hex_longitude":"2d18c900","hex_latitude":"072137b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569774848001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14469766295060480,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785184701665599488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:29: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-22 12:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787381935000,"timestamp_ms":1787381935000,"timestamp_seconds":1787381935,"priority":1,"record_length":96,"hex_timestamp":"000001a02843eb98"} 
[2026-08-22 12: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-22 12:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-22 12:29:58] 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-22 12: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-22 12: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-22 12:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569774848001,"66":12645,"103":206,"83":41984,"24":31,"16":14469766295060480,"45":1785184701665599488},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 12:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569774848001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:29:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 12:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14469766295060480,"km_value":14469766295060.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785184701665599488,"description":"Unknown IO ID 45"} 
[2026-08-22 12:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569774848001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1785184701665599488}} 
[2026-08-22 12:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":162341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:29:58] local.INFO: GPS data processed {"connection_id":162341,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:29:58] local.INFO: Acknowledgment sent {"connection_id":162341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:29:59] local.INFO: TCP Data received {"connection_id":159766,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:29:59] local.INFO: Processing buffer {"connection_id":159766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:29:59] local.INFO: IMEI packet received {"connection_id":159766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":159766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:30:00] local.INFO: TCP Data received {"connection_id":159766,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:30:00] local.INFO: Processing buffer {"connection_id":159766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:30:00] local.INFO: Packet analysis {"connection_id":159766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:30:00] local.INFO: Extracted packet for processing {"connection_id":159766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569703424001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:00] 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-22 12:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787381955000,"timestamp_ms":1787381955000,"timestamp_seconds":1787381955,"priority":1,"record_length":96,"hex_timestamp":"000001a0284439b8"} 
[2026-08-22 12: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-22 12: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-22 12: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 12:30: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-22 12: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-22 12: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-22 12:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12: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-22 12:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569703424001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569703424001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:30:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:30:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569703424001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":159766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:30:00] local.INFO: GPS data processed {"connection_id":159766,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:30:00] local.INFO: Acknowledgment sent {"connection_id":159766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:30:01] local.INFO: TCP Data received {"connection_id":160922,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:30:01] local.INFO: Processing buffer {"connection_id":160922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0283fa1f0012d7fabc005afe1b8000a012130..."} 
[2026-08-22 12:30:01] local.INFO: Packet analysis {"connection_id":160922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:30:01] local.INFO: Extracted packet for processing {"connection_id":160922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0283f"} 
[2026-08-22 12:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569626368001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:01] 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-22 12:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787381654000,"timestamp_ms":1787381654000,"timestamp_seconds":1787381654,"priority":1,"record_length":96,"hex_timestamp":"000001a0283fa1f0"} 
[2026-08-22 12: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-22 12:30: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-22 12: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 12:30: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-22 12: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-22 12: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-22 12:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:30: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-22 12:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569626368001,"66":25756,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569626368001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:30:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569626368001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":160922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:30:01] local.INFO: GPS data processed {"connection_id":160922,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:30:01] local.INFO: Acknowledgment sent {"connection_id":160922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:30:04] local.INFO: TCP Data received {"connection_id":159766,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:30:04] local.INFO: Processing buffer {"connection_id":159766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:30:04] local.INFO: Packet analysis {"connection_id":159766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:30:04] local.INFO: Extracted packet for processing {"connection_id":159766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569703424001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:04] 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-22 12:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787381955000,"timestamp_ms":1787381955000,"timestamp_seconds":1787381955,"priority":1,"record_length":96,"hex_timestamp":"000001a0284439b8"} 
[2026-08-22 12: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-22 12:30: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-22 12: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 12:30: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-22 12: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-22 12: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-22 12:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:30: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-22 12:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569703424001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569703424001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:30:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:30:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569703424001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":159766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:30:04] local.INFO: GPS data processed {"connection_id":159766,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:30:04] local.INFO: Acknowledgment sent {"connection_id":159766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:30:20] local.INFO: TCP Data received {"connection_id":162340,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02844d210012d0b9e0007035040001300460f..."} 
[2026-08-22 12:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02844d210012d0b9e0007035040001300460f..."} 
[2026-08-22 12:30:20] local.INFO: Processing buffer {"connection_id":162340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02844d210012d0b9e0007035040001300460f..."} 
[2026-08-22 12:30:20] local.INFO: Packet analysis {"connection_id":162340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:30:20] local.INFO: Extracted packet for processing {"connection_id":162340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:30:20] local.INFO: GPS Element Parsed {"raw_longitude":755736064,"raw_latitude":117657664,"longitude_deg":75.5736064,"latitude_deg":11.7657664,"altitude":19,"angle":70,"satellites":15,"speed":15,"hex_longitude":"2d0b9e00","hex_latitude":"07035040","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569789184001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29430584791007232,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835277023509172224,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:20] 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-22 12:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787381994000,"timestamp_ms":1787381994000,"timestamp_seconds":1787381994,"priority":1,"record_length":96,"hex_timestamp":"000001a02844d210"} 
[2026-08-22 12: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-22 12:30: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-22 12: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-22 12:30:20] 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-22 12: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-22 12: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-22 12:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162340,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162340,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569789184001,"66":14439,"17":206,"94":11008,"24":15,"16":29430584791007232,"45":835277023509172224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-22 12:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569789184001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:30:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29430584791007232,"km_value":29430584791007.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":835277023509172224,"description":"Unknown IO ID 45"} 
[2026-08-22 12:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569789184001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":835277023509172224}} 
[2026-08-22 12:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":162340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681003,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:30:21] local.INFO: GPS data processed {"connection_id":162340,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:30:21] local.INFO: Acknowledgment sent {"connection_id":162340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:30:27] local.INFO: TCP Data received {"connection_id":159768,"ip":"66.132.186.196","data_length":243,"data_hex":"16030100ee010000ea030307a9f423c95c56fc6b95f2dd3c02135bcdd4a07984..."} 
[2026-08-22 12:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159768,"packet_length":243,"packet_hex":"16030100ee010000ea030307a9f423c95c56fc6b95f2dd3c02135bcdd4a07984..."} 
[2026-08-22 12:30:27] local.INFO: Processing buffer {"connection_id":159768,"buffer_length":243,"buffer_hex":"16030100ee010000ea030307a9f423c95c56fc6b95f2dd3c02135bcdd4a07984..."} 
[2026-08-22 12:30:27] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":159768,"buffer_length":243,"first_bytes_hex":"16030100ee010000ea030307a9f423c9"} 
[2026-08-22 12:30:29] local.INFO: TCP Data received {"connection_id":162341,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028440308012d18d20007212780004800a52b..."} 
[2026-08-22 12:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028440308012d18d20007212780004800a52b..."} 
[2026-08-22 12:30:29] local.INFO: Processing buffer {"connection_id":162341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028440308012d18d20007212780004800a52b..."} 
[2026-08-22 12:30:29] local.INFO: Packet analysis {"connection_id":162341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:30:29] local.INFO: Extracted packet for processing {"connection_id":162341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:30:29] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119613312,"longitude_deg":75.6601344,"latitude_deg":11.9613312,"altitude":72,"angle":165,"satellites":43,"speed":31,"hex_longitude":"2d18d200","hex_latitude":"07212780","is_valid_coordinates":true} 
[2026-08-22 12:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569775360001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14469998223294464,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785958757851183104,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:29] 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-22 12:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787381941000,"timestamp_ms":1787381941000,"timestamp_seconds":1787381941,"priority":1,"record_length":96,"hex_timestamp":"000001a028440308"} 
[2026-08-22 12:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-22 12:30:29] 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-22 12:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569775360001,"66":12885,"103":206,"83":41984,"24":31,"16":14469998223294464,"45":1785958757851183104},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 12:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569775360001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:30:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 12:30:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14469998223294464,"km_value":14469998223294.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785958757851183104,"description":"Unknown IO ID 45"} 
[2026-08-22 12:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569775360001,"power":12885,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1785958757851183104}} 
[2026-08-22 12:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":162341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:30:29] local.INFO: GPS data processed {"connection_id":162341,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:30:29] local.INFO: Acknowledgment sent {"connection_id":162341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:30:37] local.INFO: TCP Data received {"connection_id":160924,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160924,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:30:37] local.INFO: Processing buffer {"connection_id":160924,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:30:37] local.INFO: IMEI packet received {"connection_id":160924,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":160924,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:30:40] local.INFO: TCP Data received {"connection_id":160924,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160924,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:30:40] local.INFO: Processing buffer {"connection_id":160924,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:30:40] local.INFO: IMEI packet received {"connection_id":160924,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":160924,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:30:41] local.INFO: TCP Data received {"connection_id":160924,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a028451478012d0bbfc007035a580014003f10..."} 
[2026-08-22 12:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028451478012d0bbfc007035a580014003f10..."} 
[2026-08-22 12:30:41] local.INFO: Processing buffer {"connection_id":160924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028451478012d0bbfc007035a580014003f10..."} 
[2026-08-22 12:30:41] local.INFO: Packet analysis {"connection_id":160924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02845"} 
[2026-08-22 12:30:41] local.INFO: Extracted packet for processing {"connection_id":160924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02845"} 
[2026-08-22 12:30:41] local.INFO: GPS Element Parsed {"raw_longitude":755744704,"raw_latitude":117660248,"longitude_deg":75.5744704,"latitude_deg":11.7660248,"altitude":20,"angle":63,"satellites":16,"speed":6,"hex_longitude":"2d0bbfc0","hex_latitude":"07035a58","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569790464001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29431014287736832,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":837106610857852928,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:41] 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-22 12:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787382011000,"timestamp_ms":1787382011000,"timestamp_seconds":1787382011,"priority":1,"record_length":96,"hex_timestamp":"000001a028451478"} 
[2026-08-22 12: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-22 12:30:41] 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-22 12: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 12:30:41] 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-22 12: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-22 12: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-22 12:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569790464001,"66":14450,"17":206,"94":11008,"24":6,"16":29431014287736832,"45":837106610857852928},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-22 12:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569790464001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:30:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29431014287736832,"km_value":29431014287736.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":837106610857852928,"description":"Unknown IO ID 45"} 
[2026-08-22 12:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569790464001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":837106610857852928}} 
[2026-08-22 12:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":160924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681005,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:30:41] local.INFO: GPS data processed {"connection_id":160924,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:30:41] local.INFO: Acknowledgment sent {"connection_id":160924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:30:49] local.INFO: TCP Data received {"connection_id":162342,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:30:49] local.INFO: Processing buffer {"connection_id":162342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:30:49] local.INFO: IMEI packet received {"connection_id":162342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":162342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:30:50] local.INFO: TCP Data received {"connection_id":162343,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:30:50] local.INFO: Processing buffer {"connection_id":162343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:30:50] local.INFO: IMEI packet received {"connection_id":162343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":162343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:30:53] local.INFO: TCP Data received {"connection_id":162343,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:30:53] local.INFO: Processing buffer {"connection_id":162343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:30:53] local.INFO: IMEI packet received {"connection_id":162343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":162343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:30:57] local.INFO: TCP Data received {"connection_id":162343,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:30:57] local.INFO: Processing buffer {"connection_id":162343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:30:57] local.INFO: IMEI packet received {"connection_id":162343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":162343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:30:58] local.INFO: TCP Data received {"connection_id":162343,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02844f920012d193e800720b180003100752c..."} 
[2026-08-22 12:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02844f920012d193e800720b180003100752c..."} 
[2026-08-22 12:30:58] local.INFO: Processing buffer {"connection_id":162343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02844f920012d193e800720b180003100752c..."} 
[2026-08-22 12:30:58] local.INFO: Packet analysis {"connection_id":162343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:30:58] local.INFO: Extracted packet for processing {"connection_id":162343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:30:58] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119583104,"longitude_deg":75.662912,"latitude_deg":11.9583104,"altitude":49,"angle":117,"satellites":44,"speed":19,"hex_longitude":"2d193e80","hex_latitude":"0720b180","is_valid_coordinates":true} 
[2026-08-22 12:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569792000001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14472132822040576,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817695061466757120,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30: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-22 12:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787382004000,"timestamp_ms":1787382004000,"timestamp_seconds":1787382004,"priority":1,"record_length":96,"hex_timestamp":"000001a02844f920"} 
[2026-08-22 12:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-22 12:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:58] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2936012800,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:58] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3609198654,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-22 12:30:58] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718584,"note":"Value kept but may cause issues"} 
[2026-08-22 12:30:58] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,106,160,159,45,192,187,50,10,66,128,1,240,22,227,105,40,32,4,113,205,37,73,230,216,44,239,49,2,51,7,65,36],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-22 12:30:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530968536179081216,"timestamp_seconds":3530968536179081.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569792000001,"66":14102,"103":206,"83":41984,"24":19,"16":14472132822040576,"45":1817695061466757120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 12:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569792000001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:30:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 12:30:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14472132822040576,"km_value":14472132822040.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817695061466757120,"description":"Unknown IO ID 45"} 
[2026-08-22 12:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569792000001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1817695061466757120}} 
[2026-08-22 12:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":162343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:30:58] local.INFO: GPS data processed {"connection_id":162343,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:30:58] local.INFO: Acknowledgment sent {"connection_id":162343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:31:08] local.INFO: TCP Data received {"connection_id":162342,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:31:08] local.INFO: Processing buffer {"connection_id":162342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:31:08] local.INFO: IMEI packet received {"connection_id":162342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":162342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:31:09] local.INFO: TCP Data received {"connection_id":162342,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:31:09] local.INFO: Processing buffer {"connection_id":162342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:31:09] local.INFO: Packet analysis {"connection_id":162342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:31:09] local.INFO: Extracted packet for processing {"connection_id":162342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569703424001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:09] 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-22 12:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787381955000,"timestamp_ms":1787381955000,"timestamp_seconds":1787381955,"priority":1,"record_length":96,"hex_timestamp":"000001a0284439b8"} 
[2026-08-22 12:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:31: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-22 12:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 12:31: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-22 12:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:31: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-22 12:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569703424001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569703424001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:31:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569703424001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":162342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:31:09] local.INFO: GPS data processed {"connection_id":162342,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:31:09] local.INFO: Acknowledgment sent {"connection_id":162342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:31:12] local.INFO: TCP Data received {"connection_id":160924,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02845cff8012d0c0200070358900012009710..."} 
[2026-08-22 12:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02845cff8012d0c0200070358900012009710..."} 
[2026-08-22 12:31:12] local.INFO: Processing buffer {"connection_id":160924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02845cff8012d0c0200070358900012009710..."} 
[2026-08-22 12:31:12] local.INFO: Packet analysis {"connection_id":160924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02845"} 
[2026-08-22 12:31:12] local.INFO: Extracted packet for processing {"connection_id":160924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02845"} 
[2026-08-22 12:31:12] local.INFO: GPS Element Parsed {"raw_longitude":755761664,"raw_latitude":117659792,"longitude_deg":75.5761664,"latitude_deg":11.7659792,"altitude":18,"angle":151,"satellites":16,"speed":11,"hex_longitude":"2d0c0200","hex_latitude":"07035890","is_valid_coordinates":true} 
[2026-08-22 12:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569806848001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29431851806359552,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865043002296977408,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:12] 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-22 12:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787382059000,"timestamp_ms":1787382059000,"timestamp_seconds":1787382059,"priority":1,"record_length":96,"hex_timestamp":"000001a02845cff8"} 
[2026-08-22 12:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:31:12] 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-22 12:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-22 12:31:12] 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-22 12:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569806848001,"66":14450,"37":206,"94":11008,"24":11,"16":29431851806359552,"45":865043002296977408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 12:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569806848001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:31:12] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 12:31:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29431851806359552,"km_value":29431851806359.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":865043002296977408,"description":"Unknown IO ID 45"} 
[2026-08-22 12:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569806848001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":865043002296977408}} 
[2026-08-22 12:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":160924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681008,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:31:12] local.INFO: GPS data processed {"connection_id":160924,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:31:12] local.INFO: Acknowledgment sent {"connection_id":160924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:31:30] local.INFO: TCP Data received {"connection_id":162343,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028450ca8012d194ac00720ad100032006a2d..."} 
[2026-08-22 12:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028450ca8012d194ac00720ad100032006a2d..."} 
[2026-08-22 12:31:30] local.INFO: Processing buffer {"connection_id":162343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028450ca8012d194ac00720ad100032006a2d..."} 
[2026-08-22 12:31:30] local.INFO: Packet analysis {"connection_id":162343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02845"} 
[2026-08-22 12:31:30] local.INFO: Extracted packet for processing {"connection_id":162343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02845"} 
[2026-08-22 12:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756632256,"raw_latitude":119581968,"longitude_deg":75.6632256,"latitude_deg":11.9581968,"altitude":50,"angle":106,"satellites":45,"speed":28,"hex_longitude":"2d194ac0","hex_latitude":"0720ad10","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569793024001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14472291735830528,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067605889024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31: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-22 12:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787382009000,"timestamp_ms":1787382009000,"timestamp_seconds":1787382009,"priority":1,"record_length":96,"hex_timestamp":"000001a028450ca8"} 
[2026-08-22 12: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-22 12:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 12:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569793024001,"66":14428,"103":206,"83":41984,"24":28,"16":14472291735830528,"45":1819032067605889024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 12:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569793024001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:31:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 12:31:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14472291735830528,"km_value":14472291735830.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067605889024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569793024001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1819032067605889024}} 
[2026-08-22 12:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":162343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:31:30] local.INFO: GPS data processed {"connection_id":162343,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:31:30] local.INFO: Acknowledgment sent {"connection_id":162343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:31:35] local.INFO: TCP Data received {"connection_id":160926,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160926,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:31:35] local.INFO: Processing buffer {"connection_id":160926,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:31:35] local.INFO: IMEI packet received {"connection_id":160926,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":160926,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:31:37] local.INFO: TCP Data received {"connection_id":160926,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160926,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:31:37] local.INFO: Processing buffer {"connection_id":160926,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:31:37] local.INFO: IMEI packet received {"connection_id":160926,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":160926,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:31:40] local.INFO: TCP Data received {"connection_id":160926,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160926,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:31:40] local.INFO: Processing buffer {"connection_id":160926,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:31:40] local.INFO: IMEI packet received {"connection_id":160926,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":160926,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:31:41] local.INFO: TCP Data received {"connection_id":160926,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0284629d0012d0c1700070342380015001a10..."} 
[2026-08-22 12:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284629d0012d0c1700070342380015001a10..."} 
[2026-08-22 12:31:41] local.INFO: Processing buffer {"connection_id":160926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284629d0012d0c1700070342380015001a10..."} 
[2026-08-22 12:31:41] local.INFO: Packet analysis {"connection_id":160926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02846"} 
[2026-08-22 12:31:41] local.INFO: Extracted packet for processing {"connection_id":160926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02846"} 
[2026-08-22 12:31:41] local.INFO: GPS Element Parsed {"raw_longitude":755767040,"raw_latitude":117654072,"longitude_deg":75.576704,"latitude_deg":11.7654072,"altitude":21,"angle":26,"satellites":16,"speed":14,"hex_longitude":"2d0c1700","hex_latitude":"07034238","is_valid_coordinates":true} 
[2026-08-22 12:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569812736001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29432375792369664,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871024345550475264,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:41] 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-22 12:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787382082000,"timestamp_ms":1787382082000,"timestamp_seconds":1787382082,"priority":1,"record_length":96,"hex_timestamp":"000001a0284629d0"} 
[2026-08-22 12:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:31:41] 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-22 12:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-22 12:31:41] 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-22 12:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160926,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160926,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569812736001,"66":14548,"37":206,"94":11008,"24":14,"16":29432375792369664,"45":871024345550475264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 12:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569812736001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:31:41] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 12:31:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29432375792369664,"km_value":29432375792369.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":871024345550475264,"description":"Unknown IO ID 45"} 
[2026-08-22 12:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569812736001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":871024345550475264}} 
[2026-08-22 12:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":160926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681010,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:31:41] local.INFO: GPS data processed {"connection_id":160926,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:31:41] local.INFO: Acknowledgment sent {"connection_id":160926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:31:49] local.INFO: TCP Data received {"connection_id":159769,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:31:49] local.INFO: Processing buffer {"connection_id":159769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:31:49] local.INFO: IMEI packet received {"connection_id":159769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":159769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:31:53] local.INFO: TCP Data received {"connection_id":159770,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:31:53] local.INFO: Processing buffer {"connection_id":159770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:31:53] local.INFO: IMEI packet received {"connection_id":159770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":159770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:31:54] local.INFO: TCP Data received {"connection_id":159769,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:31:54] local.INFO: Processing buffer {"connection_id":159769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:31:54] local.INFO: IMEI packet received {"connection_id":159769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":159769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:31:55] local.INFO: TCP Data received {"connection_id":159769,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:31:55] local.INFO: Processing buffer {"connection_id":159769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:31:55] local.INFO: Packet analysis {"connection_id":159769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:31:55] local.INFO: Extracted packet for processing {"connection_id":159769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569703424001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31: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-22 12:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787381955000,"timestamp_ms":1787381955000,"timestamp_seconds":1787381955,"priority":1,"record_length":96,"hex_timestamp":"000001a0284439b8"} 
[2026-08-22 12: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-22 12: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-22 12: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 12:31: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-22 12: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-22 12: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-22 12:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:31:55] 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-22 12:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569703424001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569703424001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:31:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569703424001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":159769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:31:55] local.INFO: GPS data processed {"connection_id":159769,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:31:55] local.INFO: Acknowledgment sent {"connection_id":159769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:31:57] local.INFO: TCP Data received {"connection_id":159770,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:31:57] local.INFO: Processing buffer {"connection_id":159770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:31:57] local.INFO: IMEI packet received {"connection_id":159770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":159770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:31:58] local.INFO: TCP Data received {"connection_id":159770,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02845c828012d19ae4007209330003300cc2b..."} 
[2026-08-22 12:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02845c828012d19ae4007209330003300cc2b..."} 
[2026-08-22 12:31:58] local.INFO: Processing buffer {"connection_id":159770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02845c828012d19ae4007209330003300cc2b..."} 
[2026-08-22 12:31:58] local.INFO: Packet analysis {"connection_id":159770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02845"} 
[2026-08-22 12:31:58] local.INFO: Extracted packet for processing {"connection_id":159770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02845"} 
[2026-08-22 12:31:58] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119575344,"longitude_deg":75.6657728,"latitude_deg":11.9575344,"altitude":51,"angle":204,"satellites":43,"speed":27,"hex_longitude":"2d19ae40","hex_latitude":"07209330","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569804544001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14474009722748928,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646019299328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31: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-22 12:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787382057000,"timestamp_ms":1787382057000,"timestamp_seconds":1787382057,"priority":1,"record_length":96,"hex_timestamp":"000001a02845c828"} 
[2026-08-22 12: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-22 12:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 12:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6981961054,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:58] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:58] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503820475432960,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:58] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2829058102,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-22 12:31:58] local.WARNING: Large IO value detected {"io_id":176,"raw_value":16044469564482304,"note":"Value kept but may cause issues"} 
[2026-08-22 12:31:58] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,107,160,161,45,128,163,54,10,66,165,153,64,1,240,250,227,40,32,4,113,205,20,145,185,44,239,56,2,51,7,36,206,176],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-22 12:31:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819292366524776448,"timestamp_seconds":3819292366524776.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12: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-22 12:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569804544001,"66":14396,"103":206,"83":41984,"24":27,"16":14474009722748928,"45":1853301646019299328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 12:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569804544001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:31:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 12:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14474009722748928,"km_value":14474009722748.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646019299328,"description":"Unknown IO ID 45"} 
[2026-08-22 12:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569804544001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1853301646019299328}} 
[2026-08-22 12:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":159770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:31:58] local.INFO: GPS data processed {"connection_id":159770,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:31:58] local.INFO: Acknowledgment sent {"connection_id":159770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:32:12] local.INFO: TCP Data received {"connection_id":160926,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a028463970012d0c19c0070348f00016000f10..."} 
[2026-08-22 12:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028463970012d0c19c0070348f00016000f10..."} 
[2026-08-22 12:32:12] local.INFO: Processing buffer {"connection_id":160926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028463970012d0c19c0070348f00016000f10..."} 
[2026-08-22 12:32:12] local.INFO: Packet analysis {"connection_id":160926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02846"} 
[2026-08-22 12:32:12] local.INFO: Extracted packet for processing {"connection_id":160926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02846"} 
[2026-08-22 12:32:12] local.INFO: GPS Element Parsed {"raw_longitude":755767744,"raw_latitude":117655792,"longitude_deg":75.5767744,"latitude_deg":11.7655792,"altitude":22,"angle":15,"satellites":16,"speed":18,"hex_longitude":"2d0c19c0","hex_latitude":"070348f0","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569812992001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29432465986682880,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871165083038922752,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:12] 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-22 12:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787382086000,"timestamp_ms":1787382086000,"timestamp_seconds":1787382086,"priority":1,"record_length":96,"hex_timestamp":"000001a028463970"} 
[2026-08-22 12: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-22 12:32: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-22 12: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-22 12:32:12] 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-22 12: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-22 12: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-22 12:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160926,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160926,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569812992001,"66":14374,"37":206,"94":11008,"24":18,"16":29432465986682880,"45":871165083038922752},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 12:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569812992001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:32:12] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 12:32:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29432465986682880,"km_value":29432465986682.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":871165083038922752,"description":"Unknown IO ID 45"} 
[2026-08-22 12:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569812992001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":871165083038922752}} 
[2026-08-22 12:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":160926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681013,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:32:12] local.INFO: GPS data processed {"connection_id":160926,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:32:12] local.INFO: Acknowledgment sent {"connection_id":160926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:32:26] local.INFO: TCP Data received {"connection_id":159769,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:32:26] local.INFO: Processing buffer {"connection_id":159769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:32:26] local.INFO: Packet analysis {"connection_id":159769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:32:26] local.INFO: Extracted packet for processing {"connection_id":159769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:32:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569703424001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32: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-22 12:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787381955000,"timestamp_ms":1787381955000,"timestamp_seconds":1787381955,"priority":1,"record_length":96,"hex_timestamp":"000001a0284439b8"} 
[2026-08-22 12: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-22 12:32: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-22 12: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 12:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12: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-22 12:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:32: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-22 12:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569703424001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569703424001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:32:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569703424001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":159769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:32:26] local.INFO: GPS data processed {"connection_id":159769,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:32:26] local.INFO: Acknowledgment sent {"connection_id":159769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:32:29] local.INFO: TCP Data received {"connection_id":159770,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02845cc10012d19ad4007209098003300bf2a..."} 
[2026-08-22 12:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02845cc10012d19ad4007209098003300bf2a..."} 
[2026-08-22 12:32:29] local.INFO: Processing buffer {"connection_id":159770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02845cc10012d19ad4007209098003300bf2a..."} 
[2026-08-22 12:32:29] local.INFO: Packet analysis {"connection_id":159770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02845"} 
[2026-08-22 12:32:29] local.INFO: Extracted packet for processing {"connection_id":159770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02845"} 
[2026-08-22 12:32:29] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119574680,"longitude_deg":75.6657472,"latitude_deg":11.957468,"altitude":51,"angle":191,"satellites":42,"speed":27,"hex_longitude":"2d19ad40","hex_latitude":"07209098","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569806592001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14474044082487296,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896251318272,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:29] 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-22 12:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787382058000,"timestamp_ms":1787382058000,"timestamp_seconds":1787382058,"priority":1,"record_length":96,"hex_timestamp":"000001a02845cc10"} 
[2026-08-22 12: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-22 12:32: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-22 12: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 12:32:29] 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-22 12: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-22 12: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-22 12:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569806592001,"66":14341,"103":206,"83":41984,"24":27,"16":14474044082487296,"45":1850486896251318272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 12:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569806592001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:32:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 12:32:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14474044082487296,"km_value":14474044082487.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896251318272,"description":"Unknown IO ID 45"} 
[2026-08-22 12:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569806592001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1850486896251318272}} 
[2026-08-22 12:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":159770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:32:29] local.INFO: GPS data processed {"connection_id":159770,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:32:29] local.INFO: Acknowledgment sent {"connection_id":159770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:32:37] local.INFO: TCP Data received {"connection_id":162344,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:32:37] local.INFO: Processing buffer {"connection_id":162344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:32:37] local.INFO: IMEI packet received {"connection_id":162344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":162344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:32:42] local.INFO: TCP Data received {"connection_id":162344,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:32:42] local.INFO: Processing buffer {"connection_id":162344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:32:42] local.INFO: IMEI packet received {"connection_id":162344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":162344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:32:43] local.INFO: TCP Data received {"connection_id":162344,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02846f4f0012d0c3d0007036120001b004310..."} 
[2026-08-22 12:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02846f4f0012d0c3d0007036120001b004310..."} 
[2026-08-22 12:32:43] local.INFO: Processing buffer {"connection_id":162344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02846f4f0012d0c3d0007036120001b004310..."} 
[2026-08-22 12:32:43] local.INFO: Packet analysis {"connection_id":162344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02846"} 
[2026-08-22 12:32:43] local.INFO: Extracted packet for processing {"connection_id":162344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02846"} 
[2026-08-22 12:32:43] local.INFO: GPS Element Parsed {"raw_longitude":755776768,"raw_latitude":117661984,"longitude_deg":75.5776768,"latitude_deg":11.7661984,"altitude":27,"angle":67,"satellites":16,"speed":16,"hex_longitude":"2d0c3d00","hex_latitude":"07036120","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569825536001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29433058692169728,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880735232248991744,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:43] 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-22 12:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787382134000,"timestamp_ms":1787382134000,"timestamp_seconds":1787382134,"priority":1,"record_length":96,"hex_timestamp":"000001a02846f4f0"} 
[2026-08-22 12: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-22 12:32: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-22 12: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-22 12:32:43] 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-22 12: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-22 12: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-22 12:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569825536001,"66":14407,"37":206,"94":11008,"24":16,"16":29433058692169728,"45":880735232248991744},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 12:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569825536001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:32:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 12:32:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29433058692169728,"km_value":29433058692169.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":880735232248991744,"description":"Unknown IO ID 45"} 
[2026-08-22 12:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569825536001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":880735232248991744}} 
[2026-08-22 12:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":162344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681016,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:32:43] local.INFO: GPS data processed {"connection_id":162344,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:32:43] local.INFO: Acknowledgment sent {"connection_id":162344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:32:53] local.INFO: TCP Data received {"connection_id":159771,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:32:53] local.INFO: Processing buffer {"connection_id":159771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:32:53] local.INFO: IMEI packet received {"connection_id":159771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":159771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:32:54] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:32:54] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:32:54] local.INFO: IMEI packet received {"connection_id":160017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":160017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:32:58] local.INFO: TCP Data received {"connection_id":159771,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:32:58] local.INFO: Processing buffer {"connection_id":159771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:32:58] local.INFO: IMEI packet received {"connection_id":159771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":159771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:32:59] local.INFO: TCP Data received {"connection_id":159771,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02845cff8012d19ad4007208dc0003300b12d..."} 
[2026-08-22 12:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02845cff8012d19ad4007208dc0003300b12d..."} 
[2026-08-22 12:32:59] local.INFO: Processing buffer {"connection_id":159771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02845cff8012d19ad4007208dc0003300b12d..."} 
[2026-08-22 12:32:59] local.INFO: Packet analysis {"connection_id":159771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02845"} 
[2026-08-22 12:32:59] local.INFO: Extracted packet for processing {"connection_id":159771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02845"} 
[2026-08-22 12:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119573952,"longitude_deg":75.6657472,"latitude_deg":11.9573952,"altitude":51,"angle":177,"satellites":45,"speed":28,"hex_longitude":"2d19ad40","hex_latitude":"07208dc0","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569806848001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14474078442225664,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274437632,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787382059000,"timestamp_ms":1787382059000,"timestamp_seconds":1787382059,"priority":1,"record_length":96,"hex_timestamp":"000001a02845cff8"} 
[2026-08-22 12: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-22 12:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 12:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6981961105,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15481661328200704,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":10241,"corrected_to":0} 
[2026-08-22 12:32:59] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3472883712,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503820478382080,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:59] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2769289270,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-22 12:32:59] local.WARNING: Large IO value detected {"io_id":55,"raw_value":4194356600,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:59] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84752251423760554,"note":"Value kept but may cause issues"} 
[2026-08-22 12:32:59] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,108,160,200,45,64,147,51,43,10,66,168,53,44,107,161,128,1,240,196,227,40,32,4,113,205,18,153,187,216,239,55,2,7,54,20,206,120],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":200,"original":10241,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-22 12:32:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675147483045625856,"timestamp_seconds":3675147483045626.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 12: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-22 12:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569806848001,"66":14341,"103":206,"83":41984,"24":28,"16":14474078442225664,"45":1850205421274437632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 12:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569806848001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:32:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 12:32:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14474078442225664,"km_value":14474078442225.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274437632,"description":"Unknown IO ID 45"} 
[2026-08-22 12:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569806848001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1850205421274437632}} 
[2026-08-22 12:32:59] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:32:59] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:32:59] local.INFO: IMEI packet received {"connection_id":160017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":160017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":159771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:32:59] local.INFO: GPS data processed {"connection_id":159771,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:32:59] local.INFO: Acknowledgment sent {"connection_id":159771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:33:00] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:33:00] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:33:00] local.INFO: Packet analysis {"connection_id":160017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:33:00] local.INFO: Extracted packet for processing {"connection_id":160017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569703424001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:00] 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-22 12:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787381955000,"timestamp_ms":1787381955000,"timestamp_seconds":1787381955,"priority":1,"record_length":96,"hex_timestamp":"000001a0284439b8"} 
[2026-08-22 12: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-22 12:33: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-22 12: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 12:33: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-22 12: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-22 12: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-22 12:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:33: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-22 12:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569703424001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569703424001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569703424001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":160017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:33:00] local.INFO: GPS data processed {"connection_id":160017,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:33:00] local.INFO: Acknowledgment sent {"connection_id":160017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:33:04] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:33:04] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:33:04] local.INFO: Packet analysis {"connection_id":160017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:33:04] local.INFO: Extracted packet for processing {"connection_id":160017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569703424001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:04] 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-22 12:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787381955000,"timestamp_ms":1787381955000,"timestamp_seconds":1787381955,"priority":1,"record_length":96,"hex_timestamp":"000001a0284439b8"} 
[2026-08-22 12: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-22 12: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-22 12: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 12:33: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-22 12: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-22 12: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-22 12:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:33: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-22 12:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569703424001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569703424001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569703424001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":160017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:33:04] local.INFO: GPS data processed {"connection_id":160017,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:33:04] local.INFO: Acknowledgment sent {"connection_id":160017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:33:16] local.INFO: TCP Data received {"connection_id":162344,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a028471430012d0c4bc007036640001a005010..."} 
[2026-08-22 12:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028471430012d0c4bc007036640001a005010..."} 
[2026-08-22 12:33:16] local.INFO: Processing buffer {"connection_id":162344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028471430012d0c4bc007036640001a005010..."} 
[2026-08-22 12:33:16] local.INFO: Packet analysis {"connection_id":162344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02847"} 
[2026-08-22 12:33:16] local.INFO: Extracted packet for processing {"connection_id":162344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02847"} 
[2026-08-22 12:33:16] local.INFO: GPS Element Parsed {"raw_longitude":755780544,"raw_latitude":117663296,"longitude_deg":75.5780544,"latitude_deg":11.7663296,"altitude":26,"angle":80,"satellites":16,"speed":24,"hex_longitude":"2d0c4bc0","hex_latitude":"07036640","is_valid_coordinates":true} 
[2026-08-22 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-22 12:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569826304001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29433251965698048,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881861132155953152,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:16] 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-22 12:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787382142000,"timestamp_ms":1787382142000,"timestamp_seconds":1787382142,"priority":1,"record_length":96,"hex_timestamp":"000001a028471430"} 
[2026-08-22 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-22 12:33: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-22 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 12:33: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-22 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-22 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-22 12:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569826304001,"66":14439,"37":206,"94":11008,"24":24,"16":29433251965698048,"45":881861132155953152},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 12:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569826304001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:33:16] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 12:33:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29433251965698048,"km_value":29433251965698.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":881861132155953152,"description":"Unknown IO ID 45"} 
[2026-08-22 12:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569826304001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":881861132155953152}} 
[2026-08-22 12:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":162344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681020,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:33:16] local.INFO: GPS data processed {"connection_id":162344,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:33:16] local.INFO: Acknowledgment sent {"connection_id":162344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:33:30] local.INFO: TCP Data received {"connection_id":159771,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028473370012d19cc80072018000034014c2e..."} 
[2026-08-22 12:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028473370012d19cc80072018000034014c2e..."} 
[2026-08-22 12:33:30] local.INFO: Processing buffer {"connection_id":159771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028473370012d19cc80072018000034014c2e..."} 
[2026-08-22 12:33:30] local.INFO: Packet analysis {"connection_id":159771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02847"} 
[2026-08-22 12:33:30] local.INFO: Extracted packet for processing {"connection_id":159771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02847"} 
[2026-08-22 12:33:30] local.INFO: GPS Element Parsed {"raw_longitude":756665472,"raw_latitude":119543808,"longitude_deg":75.6665472,"latitude_deg":11.9543808,"altitude":52,"angle":332,"satellites":46,"speed":21,"hex_longitude":"2d19cc80","hex_latitude":"07201800","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569829888001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14476380544696320,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730295808,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33: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-22 12:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787382150000,"timestamp_ms":1787382150000,"timestamp_seconds":1787382150,"priority":1,"record_length":96,"hex_timestamp":"000001a028473370"} 
[2026-08-22 12: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-22 12:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":92,"data_length":795,"current_offset":136} 
[2026-08-22 12:33: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-22 12: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-22 12: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-22 12:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569829888001,"66":13820,"103":206,"83":41984,"24":21,"16":14476380544696320,"45":1859705201730295808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 12:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569829888001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:33:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 12:33:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14476380544696320,"km_value":14476380544696.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730295808,"description":"Unknown IO ID 45"} 
[2026-08-22 12:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569829888001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1859705201730295808}} 
[2026-08-22 12:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":159771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:33:30] local.INFO: GPS data processed {"connection_id":159771,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:33:30] local.INFO: Acknowledgment sent {"connection_id":159771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:33:42] local.INFO: TCP Data received {"connection_id":160927,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160927,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:33:42] local.INFO: Processing buffer {"connection_id":160927,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:33:42] local.INFO: IMEI packet received {"connection_id":160927,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":160927,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:33:46] local.INFO: TCP Data received {"connection_id":160927,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160927,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:33:46] local.INFO: Processing buffer {"connection_id":160927,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:33:46] local.INFO: IMEI packet received {"connection_id":160927,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":160927,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:33:47] local.INFO: TCP Data received {"connection_id":160927,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a028471c00012d0c5080070367c0001a004410..."} 
[2026-08-22 12:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028471c00012d0c5080070367c0001a004410..."} 
[2026-08-22 12:33:47] local.INFO: Processing buffer {"connection_id":160927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028471c00012d0c5080070367c0001a004410..."} 
[2026-08-22 12:33:47] local.INFO: Packet analysis {"connection_id":160927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02847"} 
[2026-08-22 12:33:47] local.INFO: Extracted packet for processing {"connection_id":160927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02847"} 
[2026-08-22 12:33:47] local.INFO: GPS Element Parsed {"raw_longitude":755781760,"raw_latitude":117663680,"longitude_deg":75.578176,"latitude_deg":11.766368,"altitude":26,"angle":68,"satellites":16,"speed":22,"hex_longitude":"2d0c5080","hex_latitude":"070367c0","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569828352001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29433312095240192,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886012888062771200,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:47] 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-22 12:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787382144000,"timestamp_ms":1787382144000,"timestamp_seconds":1787382144,"priority":1,"record_length":96,"hex_timestamp":"000001a028471c00"} 
[2026-08-22 12: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-22 12:33: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-22 12: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":103,"data_length":795,"current_offset":136} 
[2026-08-22 12:33:47] 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-22 12: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-22 12: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-22 12:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569828352001,"66":14461,"37":206,"94":11008,"24":22,"16":29433312095240192,"45":886012888062771200},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 12:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569828352001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:33:47] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 12:33:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29433312095240192,"km_value":29433312095240.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":886012888062771200,"description":"Unknown IO ID 45"} 
[2026-08-22 12:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569828352001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":886012888062771200}} 
[2026-08-22 12:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":160927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681022,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:33:47] local.INFO: GPS data processed {"connection_id":160927,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:33:47] local.INFO: Acknowledgment sent {"connection_id":160927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:33:48] local.INFO: TCP Data received {"connection_id":160927,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a028473b40012d0c5fc007036dd0001a003510..."} 
[2026-08-22 12:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028473b40012d0c5fc007036dd0001a003510..."} 
[2026-08-22 12:33:48] local.INFO: Processing buffer {"connection_id":160927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028473b40012d0c5fc007036dd0001a003510..."} 
[2026-08-22 12:33:48] local.INFO: Packet analysis {"connection_id":160927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02847"} 
[2026-08-22 12:33:48] local.INFO: Extracted packet for processing {"connection_id":160927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02847"} 
[2026-08-22 12:33:48] local.INFO: GPS Element Parsed {"raw_longitude":755785664,"raw_latitude":117665232,"longitude_deg":75.5785664,"latitude_deg":11.7665232,"altitude":26,"angle":53,"satellites":16,"speed":12,"hex_longitude":"2d0c5fc0","hex_latitude":"07036dd0","is_valid_coordinates":true} 
[2026-08-22 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-22 12:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569828864001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29433513958703104,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887349894202245120,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:48] 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-22 12:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787382152000,"timestamp_ms":1787382152000,"timestamp_seconds":1787382152,"priority":1,"record_length":96,"hex_timestamp":"000001a028473b40"} 
[2026-08-22 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-22 12:33: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-22 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 12:33:48] 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-22 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-22 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-22 12:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569828864001,"66":14396,"37":206,"94":11008,"24":12,"16":29433513958703104,"45":887349894202245120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 12:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569828864001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:33:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 12:33:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29433513958703104,"km_value":29433513958703.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":887349894202245120,"description":"Unknown IO ID 45"} 
[2026-08-22 12:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569828864001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":887349894202245120}} 
[2026-08-22 12:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":160927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681023,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:33:49] local.INFO: GPS data processed {"connection_id":160927,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:33:49] local.INFO: Acknowledgment sent {"connection_id":160927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:33:49] local.INFO: TCP Data received {"connection_id":160928,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:33:49] local.INFO: Processing buffer {"connection_id":160928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:33:49] local.INFO: IMEI packet received {"connection_id":160928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":160928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:33:53] local.INFO: TCP Data received {"connection_id":162345,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:33:53] local.INFO: Processing buffer {"connection_id":162345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:33:53] local.INFO: IMEI packet received {"connection_id":162345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":162345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:33:54] local.INFO: TCP Data received {"connection_id":160928,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:33:54] local.INFO: Processing buffer {"connection_id":160928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:33:54] local.INFO: IMEI packet received {"connection_id":160928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":160928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:33:55] local.INFO: TCP Data received {"connection_id":160928,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:33:55] local.INFO: Processing buffer {"connection_id":160928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:33:55] local.INFO: Packet analysis {"connection_id":160928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:33:55] local.INFO: Extracted packet for processing {"connection_id":160928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569703424001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:33: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-22 12:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787381955000,"timestamp_ms":1787381955000,"timestamp_seconds":1787381955,"priority":1,"record_length":96,"hex_timestamp":"000001a0284439b8"} 
[2026-08-22 12: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-22 12:33: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-22 12:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 12:33: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-22 12: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-22 12: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-22 12:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:33: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-22 12:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569703424001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569703424001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:33:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569703424001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":160928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:33:55] local.INFO: GPS data processed {"connection_id":160928,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:33:55] local.INFO: Acknowledgment sent {"connection_id":160928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:33:55] local.INFO: TCP Data received {"connection_id":162345,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:33:55] local.INFO: Processing buffer {"connection_id":162345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:33:55] local.INFO: IMEI packet received {"connection_id":162345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":162345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:33:56] local.INFO: TCP Data received {"connection_id":162345,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:33:56] local.INFO: Processing buffer {"connection_id":162345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:33:56] local.INFO: IMEI packet received {"connection_id":162345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":162345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:33:57] local.INFO: TCP Data received {"connection_id":162345,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:33:57] local.INFO: Processing buffer {"connection_id":162345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:33:57] local.INFO: IMEI packet received {"connection_id":162345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":162345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:34:20] local.INFO: TCP Data received {"connection_id":160927,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02848cd98012d0c53000703e3a80029001010..."} 
[2026-08-22 12:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02848cd98012d0c53000703e3a80029001010..."} 
[2026-08-22 12:34:20] local.INFO: Processing buffer {"connection_id":160927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02848cd98012d0c53000703e3a80029001010..."} 
[2026-08-22 12:34:20] local.INFO: Packet analysis {"connection_id":160927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:34:20] local.INFO: Extracted packet for processing {"connection_id":160927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:34:20] local.INFO: GPS Element Parsed {"raw_longitude":755782400,"raw_latitude":117695400,"longitude_deg":75.57824,"latitude_deg":11.76954,"altitude":41,"angle":16,"satellites":16,"speed":7,"hex_longitude":"2d0c5300","hex_latitude":"0703e3a8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569857024001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29435296370130944,"note":"Value kept but may cause issues"} 
[2026-08-22 12:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887983212907919360,"note":"Value kept but may cause issues"} 
[2026-08-22 12:34:20] 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-22 12:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787382255000,"timestamp_ms":1787382255000,"timestamp_seconds":1787382255,"priority":1,"record_length":96,"hex_timestamp":"000001a02848cd98"} 
[2026-08-22 12: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-22 12:34: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-22 12: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-22 12:34:20] 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-22 12: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-22 12: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-22 12:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569857024001,"66":14548,"16":29435296370130944,"94":11008,"24":7,"45":887983212907919360},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 12:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569857024001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29435296370130944,"km_value":29435296370130.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:34:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":887983212907919360,"description":"Unknown IO ID 45"} 
[2026-08-22 12:34:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457569857024001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":887983212907919360}} 
[2026-08-22 12:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":160927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681025,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:34:20] local.INFO: GPS data processed {"connection_id":160927,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:34:20] local.INFO: Acknowledgment sent {"connection_id":160927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:34:26] local.INFO: TCP Data received {"connection_id":160928,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:34:26] local.INFO: Processing buffer {"connection_id":160928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284439b8012d7fabc005afe1b8000a01212c..."} 
[2026-08-22 12:34:26] local.INFO: Packet analysis {"connection_id":160928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:34:26] local.INFO: Extracted packet for processing {"connection_id":160928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02844"} 
[2026-08-22 12:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":10,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569703424001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12: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-22 12:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787381955000,"timestamp_ms":1787381955000,"timestamp_seconds":1787381955,"priority":1,"record_length":96,"hex_timestamp":"000001a0284439b8"} 
[2026-08-22 12: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-22 12: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-22 12: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 12:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:34: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-22 12:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569703424001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569703424001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:34:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569703424001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":160928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:34:26] local.INFO: GPS data processed {"connection_id":160928,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:34:26] local.INFO: Acknowledgment sent {"connection_id":160928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:34:33] local.INFO: TCP Data received {"connection_id":162346,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162346,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:34:33] local.INFO: Processing buffer {"connection_id":162346,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:34:33] local.INFO: IMEI packet received {"connection_id":162346,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":162346,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:34:37] local.INFO: TCP Data received {"connection_id":162346,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162346,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:34:37] local.INFO: Processing buffer {"connection_id":162346,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:34:37] local.INFO: IMEI packet received {"connection_id":162346,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":162346,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:34:42] local.INFO: TCP Data received {"connection_id":162346,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162346,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:34:42] local.INFO: Processing buffer {"connection_id":162346,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:34:42] local.INFO: IMEI packet received {"connection_id":162346,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":162346,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:34:43] local.INFO: TCP Data received {"connection_id":162346,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02848d180012d0c53400703e4580029002310..."} 
[2026-08-22 12:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02848d180012d0c53400703e4580029002310..."} 
[2026-08-22 12:34:43] local.INFO: Processing buffer {"connection_id":162346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02848d180012d0c53400703e4580029002310..."} 
[2026-08-22 12:34:43] local.INFO: Packet analysis {"connection_id":162346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:34:43] local.INFO: Extracted packet for processing {"connection_id":162346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:34:43] local.INFO: GPS Element Parsed {"raw_longitude":755782464,"raw_latitude":117695576,"longitude_deg":75.5782464,"latitude_deg":11.7695576,"altitude":41,"angle":35,"satellites":16,"speed":8,"hex_longitude":"2d0c5340","hex_latitude":"0703e458","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569857280001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29435304960065536,"note":"Value kept but may cause issues"} 
[2026-08-22 12:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888053581652142080,"note":"Value kept but may cause issues"} 
[2026-08-22 12:34:43] 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-22 12:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787382256000,"timestamp_ms":1787382256000,"timestamp_seconds":1787382256,"priority":1,"record_length":96,"hex_timestamp":"000001a02848d180"} 
[2026-08-22 12:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:34: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-22 12:34: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":212,"data_length":795,"current_offset":136} 
[2026-08-22 12:34:43] 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-22 12:34: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-22 12:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162346,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162346,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569857280001,"66":14428,"16":29435304960065536,"94":11008,"24":8,"45":888053581652142080},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 12:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569857280001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29435304960065536,"km_value":29435304960065.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:34:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":888053581652142080,"description":"Unknown IO ID 45"} 
[2026-08-22 12:34:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457569857280001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":888053581652142080}} 
[2026-08-22 12:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":162346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681027,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:34:43] local.INFO: GPS data processed {"connection_id":162346,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:34:43] local.INFO: Acknowledgment sent {"connection_id":162346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:34:44] local.INFO: TCP Data received {"connection_id":162346,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02848d950012d0c54c00703e5c8002a003210..."} 
[2026-08-22 12:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02848d950012d0c54c00703e5c8002a003210..."} 
[2026-08-22 12:34:44] local.INFO: Processing buffer {"connection_id":162346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02848d950012d0c54c00703e5c8002a003210..."} 
[2026-08-22 12:34:44] local.INFO: Packet analysis {"connection_id":162346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:34:44] local.INFO: Extracted packet for processing {"connection_id":162346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:34:44] local.INFO: GPS Element Parsed {"raw_longitude":755782848,"raw_latitude":117695944,"longitude_deg":75.5782848,"latitude_deg":11.7695944,"altitude":42,"angle":50,"satellites":16,"speed":11,"hex_longitude":"2d0c54c0","hex_latitude":"0703e5c8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569857536001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29435330729869312,"note":"Value kept but may cause issues"} 
[2026-08-22 12:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888123950396364800,"note":"Value kept but may cause issues"} 
[2026-08-22 12:34:44] 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-22 12:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787382258000,"timestamp_ms":1787382258000,"timestamp_seconds":1787382258,"priority":1,"record_length":96,"hex_timestamp":"000001a02848d950"} 
[2026-08-22 12: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-22 12:34:44] 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-22 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 12:34:44] 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-22 12: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-22 12: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-22 12:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162346,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162346,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569857536001,"66":14048,"16":29435330729869312,"94":11008,"24":11,"45":888123950396364800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 12:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569857536001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29435330729869312,"km_value":29435330729869.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:34:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":888123950396364800,"description":"Unknown IO ID 45"} 
[2026-08-22 12:34:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457569857536001,"power":14048,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":888123950396364800}} 
[2026-08-22 12:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":162346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681028,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:34:44] local.INFO: GPS data processed {"connection_id":162346,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:34:44] local.INFO: Acknowledgment sent {"connection_id":162346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:34:49] local.INFO: TCP Data received {"connection_id":162347,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:34:49] local.INFO: Processing buffer {"connection_id":162347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:34:49] local.INFO: IMEI packet received {"connection_id":162347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":162347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:34:54] local.INFO: TCP Data received {"connection_id":162347,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:34:54] local.INFO: Processing buffer {"connection_id":162347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:34:54] local.INFO: IMEI packet received {"connection_id":162347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":162347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:34:55] local.INFO: TCP Data received {"connection_id":162347,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:34:55] local.INFO: Processing buffer {"connection_id":162347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:34:55] local.INFO: Packet analysis {"connection_id":162347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:34:55] local.INFO: Extracted packet for processing {"connection_id":162347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569780480001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:34: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-22 12:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787382256000,"timestamp_ms":1787382256000,"timestamp_seconds":1787382256,"priority":1,"record_length":96,"hex_timestamp":"000001a02848d180"} 
[2026-08-22 12: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-22 12:34: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-22 12: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:34: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-22 12: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-22 12: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-22 12:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:34:55] 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-22 12:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569780480001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569780480001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:34:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:34:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569780480001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":162347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:34:55] local.INFO: GPS data processed {"connection_id":162347,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:34:55] local.INFO: Acknowledgment sent {"connection_id":162347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:35:16] local.INFO: TCP Data received {"connection_id":162346,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a028491000012d0c70000703fb80002b003710..."} 
[2026-08-22 12:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028491000012d0c70000703fb80002b003710..."} 
[2026-08-22 12:35:16] local.INFO: Processing buffer {"connection_id":162346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028491000012d0c70000703fb80002b003710..."} 
[2026-08-22 12:35:16] local.INFO: Packet analysis {"connection_id":162346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02849"} 
[2026-08-22 12:35:16] local.INFO: Extracted packet for processing {"connection_id":162346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02849"} 
[2026-08-22 12:35:16] local.INFO: GPS Element Parsed {"raw_longitude":755789824,"raw_latitude":117701504,"longitude_deg":75.5789824,"latitude_deg":11.7701504,"altitude":43,"angle":55,"satellites":16,"speed":27,"hex_longitude":"2d0c7000","hex_latitude":"0703fb80","is_valid_coordinates":true} 
[2026-08-22 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-22 12:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569858048001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29435760226598912,"note":"Value kept but may cause issues"} 
[2026-08-22 12:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888546162861524992,"note":"Value kept but may cause issues"} 
[2026-08-22 12:35:16] 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-22 12:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787382272000,"timestamp_ms":1787382272000,"timestamp_seconds":1787382272,"priority":1,"record_length":96,"hex_timestamp":"000001a028491000"} 
[2026-08-22 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-22 12:35: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-22 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 12:35: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-22 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-22 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-22 12:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162346,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162346,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569858048001,"66":14515,"16":29435760226598912,"94":11008,"24":27,"45":888546162861524992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 12:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569858048001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29435760226598912,"km_value":29435760226598.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:35:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":888546162861524992,"description":"Unknown IO ID 45"} 
[2026-08-22 12:35:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457569858048001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":27,"unknown_45":888546162861524992}} 
[2026-08-22 12:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":162346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681030,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:35:16] local.INFO: GPS data processed {"connection_id":162346,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:35:16] local.INFO: Acknowledgment sent {"connection_id":162346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:35:26] local.INFO: TCP Data received {"connection_id":162347,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:35:26] local.INFO: Processing buffer {"connection_id":162347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:35:26] local.INFO: Packet analysis {"connection_id":162347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:35:26] local.INFO: Extracted packet for processing {"connection_id":162347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:35:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569780480001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:35: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-22 12:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787382256000,"timestamp_ms":1787382256000,"timestamp_seconds":1787382256,"priority":1,"record_length":96,"hex_timestamp":"000001a02848d180"} 
[2026-08-22 12: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-22 12:35: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-22 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 12: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-22 12: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-22 12:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:35:26] 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-22 12:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569780480001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569780480001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:35:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:35:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569780480001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":162347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:35:26] local.INFO: GPS data processed {"connection_id":162347,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:35:26] local.INFO: Acknowledgment sent {"connection_id":162347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:35:37] local.INFO: TCP Data received {"connection_id":159773,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159773,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:35:37] local.INFO: Processing buffer {"connection_id":159773,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:35:37] local.INFO: IMEI packet received {"connection_id":159773,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":159773,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:35:42] local.INFO: TCP Data received {"connection_id":159773,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159773,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:35:42] local.INFO: Processing buffer {"connection_id":159773,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:35:42] local.INFO: IMEI packet received {"connection_id":159773,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":159773,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:35:43] local.INFO: TCP Data received {"connection_id":159773,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a028493af8012d0c8f0007041188002b003510..."} 
[2026-08-22 12:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028493af8012d0c8f0007041188002b003510..."} 
[2026-08-22 12:35:43] local.INFO: Processing buffer {"connection_id":159773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028493af8012d0c8f0007041188002b003510..."} 
[2026-08-22 12:35:43] local.INFO: Packet analysis {"connection_id":159773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02849"} 
[2026-08-22 12:35:43] local.INFO: Extracted packet for processing {"connection_id":159773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02849"} 
[2026-08-22 12:35:43] local.INFO: GPS Element Parsed {"raw_longitude":755797760,"raw_latitude":117707144,"longitude_deg":75.579776,"latitude_deg":11.7707144,"altitude":43,"angle":53,"satellites":16,"speed":36,"hex_longitude":"2d0c8f00","hex_latitude":"07041188","is_valid_coordinates":true} 
[2026-08-22 12:35: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-22 12:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569861632001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29436219788099584,"note":"Value kept but may cause issues"} 
[2026-08-22 12:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896216355978313728,"note":"Value kept but may cause issues"} 
[2026-08-22 12:35:43] 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-22 12:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787382283000,"timestamp_ms":1787382283000,"timestamp_seconds":1787382283,"priority":1,"record_length":96,"hex_timestamp":"000001a028493af8"} 
[2026-08-22 12:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:35: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-22 12:35: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":179,"data_length":795,"current_offset":136} 
[2026-08-22 12:35:43] 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-22 12:35: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-22 12:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569861632001,"66":14548,"16":29436219788099584,"94":11008,"24":36,"45":896216355978313728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 12:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569861632001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29436219788099584,"km_value":29436219788099.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:35:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":896216355978313728,"description":"Unknown IO ID 45"} 
[2026-08-22 12:35:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457569861632001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":36,"unknown_45":896216355978313728}} 
[2026-08-22 12:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":159773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681032,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:35:44] local.INFO: GPS data processed {"connection_id":159773,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:35:44] local.INFO: Acknowledgment sent {"connection_id":159773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:35:49] local.INFO: TCP Data received {"connection_id":159774,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:35:49] local.INFO: Processing buffer {"connection_id":159774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:35:49] local.INFO: IMEI packet received {"connection_id":159774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":159774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:35:54] local.INFO: TCP Data received {"connection_id":159774,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:35:54] local.INFO: Processing buffer {"connection_id":159774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:35:54] local.INFO: IMEI packet received {"connection_id":159774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":159774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:35:55] local.INFO: TCP Data received {"connection_id":159774,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:35:55] local.INFO: Processing buffer {"connection_id":159774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:35:55] local.INFO: Packet analysis {"connection_id":159774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:35:55] local.INFO: Extracted packet for processing {"connection_id":159774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 12:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569780480001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:35: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-22 12:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787382256000,"timestamp_ms":1787382256000,"timestamp_seconds":1787382256,"priority":1,"record_length":96,"hex_timestamp":"000001a02848d180"} 
[2026-08-22 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-22 12:35: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-22 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:35: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-22 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-22 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-22 12:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:35: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-22 12:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569780480001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569780480001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:35:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569780480001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":159774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:35:55] local.INFO: GPS data processed {"connection_id":159774,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:35:55] local.INFO: Acknowledgment sent {"connection_id":159774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:36:15] local.INFO: TCP Data received {"connection_id":159773,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a028494a98012d0c998007041b80002b002910..."} 
[2026-08-22 12:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028494a98012d0c998007041b80002b002910..."} 
[2026-08-22 12:36:15] local.INFO: Processing buffer {"connection_id":159773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028494a98012d0c998007041b80002b002910..."} 
[2026-08-22 12:36:15] local.INFO: Packet analysis {"connection_id":159773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02849"} 
[2026-08-22 12:36:15] local.INFO: Extracted packet for processing {"connection_id":159773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02849"} 
[2026-08-22 12:36:15] local.INFO: GPS Element Parsed {"raw_longitude":755800448,"raw_latitude":117709696,"longitude_deg":75.5800448,"latitude_deg":11.7709696,"altitude":43,"angle":41,"satellites":16,"speed":36,"hex_longitude":"2d0c9980","hex_latitude":"07041b80","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569864448001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29436400176726016,"note":"Value kept but may cause issues"} 
[2026-08-22 12:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904942080257787904,"note":"Value kept but may cause issues"} 
[2026-08-22 12:36:15] 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-22 12:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787382287000,"timestamp_ms":1787382287000,"timestamp_seconds":1787382287,"priority":1,"record_length":96,"hex_timestamp":"000001a028494a98"} 
[2026-08-22 12: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-22 12:36: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-22 12: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-22 12:36:15] 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-22 12: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-22 12: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-22 12:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569864448001,"66":14407,"16":29436400176726016,"94":11008,"24":36,"45":904942080257787904},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-22 12:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569864448001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29436400176726016,"km_value":29436400176726.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:36:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 12:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":904942080257787904,"description":"Unknown IO ID 45"} 
[2026-08-22 12:36:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457569864448001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":36,"unknown_45":904942080257787904}} 
[2026-08-22 12:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":159773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681034,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:36:15] local.INFO: GPS data processed {"connection_id":159773,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:36:15] local.INFO: Acknowledgment sent {"connection_id":159773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:36:26] local.INFO: TCP Data received {"connection_id":159774,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:36:26] local.INFO: Processing buffer {"connection_id":159774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:36:26] local.INFO: Packet analysis {"connection_id":159774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:36:26] local.INFO: Extracted packet for processing {"connection_id":159774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569780480001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:36: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-22 12:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787382256000,"timestamp_ms":1787382256000,"timestamp_seconds":1787382256,"priority":1,"record_length":96,"hex_timestamp":"000001a02848d180"} 
[2026-08-22 12: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-22 12:36: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-22 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 12: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-22 12: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-22 12:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:36: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-22 12:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569780480001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569780480001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:36:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569780480001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":159774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:36:26] local.INFO: GPS data processed {"connection_id":159774,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:36:26] local.INFO: Acknowledgment sent {"connection_id":159774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:36:37] local.INFO: TCP Data received {"connection_id":162348,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:36:37] local.INFO: Processing buffer {"connection_id":162348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:36:37] local.INFO: IMEI packet received {"connection_id":162348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":162348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:36:39] local.INFO: TCP Data received {"connection_id":162348,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:36:39] local.INFO: Processing buffer {"connection_id":162348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:36:39] local.INFO: IMEI packet received {"connection_id":162348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":162348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:36:42] local.INFO: TCP Data received {"connection_id":162348,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:36:42] local.INFO: Processing buffer {"connection_id":162348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:36:42] local.INFO: IMEI packet received {"connection_id":162348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":162348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:36:43] local.INFO: TCP Data received {"connection_id":162348,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0284a9e70012d0c8c800704d1680021014013..."} 
[2026-08-22 12:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284a9e70012d0c8c800704d1680021014013..."} 
[2026-08-22 12:36:43] local.INFO: Processing buffer {"connection_id":162348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284a9e70012d0c8c800704d1680021014013..."} 
[2026-08-22 12:36:43] local.INFO: Packet analysis {"connection_id":162348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0284a"} 
[2026-08-22 12:36:43] local.INFO: Extracted packet for processing {"connection_id":162348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0284a"} 
[2026-08-22 12:36:43] local.INFO: GPS Element Parsed {"raw_longitude":755797120,"raw_latitude":117756264,"longitude_deg":75.579712,"latitude_deg":11.7756264,"altitude":33,"angle":320,"satellites":19,"speed":8,"hex_longitude":"2d0c8c80","hex_latitude":"0704d168","is_valid_coordinates":true} 
[2026-08-22 12:36: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-22 12:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569885440001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29438929912463360,"note":"Value kept but may cause issues"} 
[2026-08-22 12:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905927242687729664,"note":"Value kept but may cause issues"} 
[2026-08-22 12:36:43] 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-22 12:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787382374000,"timestamp_ms":1787382374000,"timestamp_seconds":1787382374,"priority":1,"record_length":96,"hex_timestamp":"000001a0284a9e70"} 
[2026-08-22 12:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:36: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-22 12:36: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":103,"data_length":795,"current_offset":136} 
[2026-08-22 12:36:43] 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-22 12:36: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-22 12:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569885440001,"66":14439,"95":206,"94":10240,"24":8,"16":29438929912463360,"45":905927242687729664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-22 12:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569885440001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:36:43] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-22 12:36:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29438929912463360,"km_value":29438929912463.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":905927242687729664,"description":"Unknown IO ID 45"} 
[2026-08-22 12:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569885440001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":905927242687729664}} 
[2026-08-22 12:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":162348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681036,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:36:43] local.INFO: GPS data processed {"connection_id":162348,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:36:43] local.INFO: Acknowledgment sent {"connection_id":162348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:36:54] local.INFO: TCP Data received {"connection_id":160929,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:36:54] local.INFO: Processing buffer {"connection_id":160929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:36:54] local.INFO: IMEI packet received {"connection_id":160929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":160929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:36:59] local.INFO: TCP Data received {"connection_id":160929,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:36:59] local.INFO: Processing buffer {"connection_id":160929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:36:59] local.INFO: IMEI packet received {"connection_id":160929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":160929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:37:00] local.INFO: TCP Data received {"connection_id":160929,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:37:00] local.INFO: Processing buffer {"connection_id":160929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:37:00] local.INFO: Packet analysis {"connection_id":160929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:37:00] local.INFO: Extracted packet for processing {"connection_id":160929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569780480001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:37:00] 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-22 12:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787382256000,"timestamp_ms":1787382256000,"timestamp_seconds":1787382256,"priority":1,"record_length":96,"hex_timestamp":"000001a02848d180"} 
[2026-08-22 12:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:37: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-22 12:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:37: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-22 12:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:37: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-22 12:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569780480001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569780480001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:37:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569780480001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":160929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:37:00] local.INFO: GPS data processed {"connection_id":160929,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:37:00] local.INFO: Acknowledgment sent {"connection_id":160929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:37:16] local.INFO: TCP Data received {"connection_id":162348,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0284aa640012d0c8b800704d2380022011913..."} 
[2026-08-22 12:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284aa640012d0c8b800704d2380022011913..."} 
[2026-08-22 12:37:16] local.INFO: Processing buffer {"connection_id":162348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284aa640012d0c8b800704d2380022011913..."} 
[2026-08-22 12:37:16] local.INFO: Packet analysis {"connection_id":162348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0284a"} 
[2026-08-22 12:37:16] local.INFO: Extracted packet for processing {"connection_id":162348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0284a"} 
[2026-08-22 12:37:16] local.INFO: GPS Element Parsed {"raw_longitude":755796864,"raw_latitude":117756472,"longitude_deg":75.5796864,"latitude_deg":11.7756472,"altitude":34,"angle":281,"satellites":19,"speed":8,"hex_longitude":"2d0c8b80","hex_latitude":"0704d238","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569887744001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29438947092332544,"note":"Value kept but may cause issues"} 
[2026-08-22 12:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904238392828585984,"note":"Value kept but may cause issues"} 
[2026-08-22 12:37:16] 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-22 12:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787382376000,"timestamp_ms":1787382376000,"timestamp_seconds":1787382376,"priority":1,"record_length":96,"hex_timestamp":"000001a0284aa640"} 
[2026-08-22 12: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-22 12:37: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-22 12: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 12:37:16] 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-22 12: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-22 12: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-22 12:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569887744001,"66":14396,"95":206,"94":10240,"24":8,"16":29438947092332544,"45":904238392828585984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-22 12:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569887744001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:37:16] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-22 12:37:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29438947092332544,"km_value":29438947092332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":904238392828585984,"description":"Unknown IO ID 45"} 
[2026-08-22 12:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569887744001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":904238392828585984}} 
[2026-08-22 12:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":162348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681038,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:37:16] local.INFO: GPS data processed {"connection_id":162348,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:37:16] local.INFO: Acknowledgment sent {"connection_id":162348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:37:37] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:37:37] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:37:37] local.INFO: IMEI packet received {"connection_id":160018,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":160018,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:37:39] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:37:39] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:37:39] local.INFO: IMEI packet received {"connection_id":160018,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":160018,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:37:42] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:37:42] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:37:42] local.INFO: IMEI packet received {"connection_id":160018,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":160018,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:37:43] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0284ba810012d0bbf400704b9980018010213..."} 
[2026-08-22 12:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284ba810012d0bbf400704b9980018010213..."} 
[2026-08-22 12:37:43] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284ba810012d0bbf400704b9980018010213..."} 
[2026-08-22 12:37:43] local.INFO: Packet analysis {"connection_id":160018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0284b"} 
[2026-08-22 12:37:43] local.INFO: Extracted packet for processing {"connection_id":160018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0284b"} 
[2026-08-22 12:37:43] local.INFO: GPS Element Parsed {"raw_longitude":755744576,"raw_latitude":117750168,"longitude_deg":75.5744576,"latitude_deg":11.7750168,"altitude":24,"angle":258,"satellites":19,"speed":27,"hex_longitude":"2d0bbf40","hex_latitude":"0704b998","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569904384001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29441489712971776,"note":"Value kept but may cause issues"} 
[2026-08-22 12:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848435978694359040,"note":"Value kept but may cause issues"} 
[2026-08-22 12:37:43] 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-22 12:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787382442000,"timestamp_ms":1787382442000,"timestamp_seconds":1787382442,"priority":1,"record_length":96,"hex_timestamp":"000001a0284ba810"} 
[2026-08-22 12: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-22 12:37: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-22 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 12:37: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-22 12: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-22 12: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-22 12:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160018,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160018,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569904384001,"66":14167,"96":206,"94":10240,"24":27,"16":29441489712971776,"45":848435978694359040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-22 12:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569904384001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:37:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 12:37:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29441489712971776,"km_value":29441489712971.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":848435978694359040,"description":"Unknown IO ID 45"} 
[2026-08-22 12:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569904384001,"power":14167,"unknown_96":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":848435978694359040}} 
[2026-08-22 12:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":160018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681039,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:37:43] local.INFO: GPS data processed {"connection_id":160018,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:37:43] local.INFO: Acknowledgment sent {"connection_id":160018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:37:49] local.INFO: TCP Data received {"connection_id":159777,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:37:49] local.INFO: Processing buffer {"connection_id":159777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:37:49] local.INFO: IMEI packet received {"connection_id":159777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":159777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:37:54] local.INFO: TCP Data received {"connection_id":159777,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:37:54] local.INFO: Processing buffer {"connection_id":159777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:37:54] local.INFO: IMEI packet received {"connection_id":159777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":159777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:37:56] local.INFO: TCP Data received {"connection_id":160929,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:37:56] local.INFO: Processing buffer {"connection_id":160929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:37:56] local.INFO: Packet analysis {"connection_id":160929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:37:56] local.INFO: Extracted packet for processing {"connection_id":160929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569780480001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:37: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-22 12:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787382256000,"timestamp_ms":1787382256000,"timestamp_seconds":1787382256,"priority":1,"record_length":96,"hex_timestamp":"000001a02848d180"} 
[2026-08-22 12:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:37: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-22 12:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:37: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-22 12: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-22 12:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:37: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-22 12:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569780480001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569780480001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:37:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569780480001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":160929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:37:56] local.INFO: GPS data processed {"connection_id":160929,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:37:56] local.INFO: Acknowledgment sent {"connection_id":160929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:37:58] local.INFO: TCP Data received {"connection_id":159777,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:37:58] local.INFO: Processing buffer {"connection_id":159777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:37:58] local.INFO: Packet analysis {"connection_id":159777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:37:58] local.INFO: Extracted packet for processing {"connection_id":159777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569780480001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:37:58] 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-22 12:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787382256000,"timestamp_ms":1787382256000,"timestamp_seconds":1787382256,"priority":1,"record_length":96,"hex_timestamp":"000001a02848d180"} 
[2026-08-22 12: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-22 12:37: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-22 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 12: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-22 12: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-22 12:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:37:58] 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-22 12:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569780480001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569780480001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:37:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:37:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569780480001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":159777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:37:58] local.INFO: GPS data processed {"connection_id":159777,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:37:58] local.INFO: Acknowledgment sent {"connection_id":159777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:38:14] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0284c3898012d0b5f400704cf000017015413..."} 
[2026-08-22 12:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284c3898012d0b5f400704cf000017015413..."} 
[2026-08-22 12:38:14] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284c3898012d0b5f400704cf000017015413..."} 
[2026-08-22 12:38:14] local.INFO: Packet analysis {"connection_id":160018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0284c"} 
[2026-08-22 12:38:14] local.INFO: Extracted packet for processing {"connection_id":160018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0284c"} 
[2026-08-22 12:38:14] local.INFO: GPS Element Parsed {"raw_longitude":755720000,"raw_latitude":117755648,"longitude_deg":75.572,"latitude_deg":11.7755648,"altitude":23,"angle":340,"satellites":19,"speed":30,"hex_longitude":"2d0b5f40","hex_latitude":"0704cf00","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569914368001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29442812562898944,"note":"Value kept but may cause issues"} 
[2026-08-22 12:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819514424838313984,"note":"Value kept but may cause issues"} 
[2026-08-22 12:38:14] 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-22 12:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787382479000,"timestamp_ms":1787382479000,"timestamp_seconds":1787382479,"priority":1,"record_length":96,"hex_timestamp":"000001a0284c3898"} 
[2026-08-22 12: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-22 12:38: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-22 12: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 12:38:14] 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-22 12: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-22 12: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-22 12:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160018,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160018,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569914368001,"66":13678,"96":206,"94":10240,"24":30,"16":29442812562898944,"45":819514424838313984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-22 12:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569914368001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:38:14] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-22 12:38:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29442812562898944,"km_value":29442812562898.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":819514424838313984,"description":"Unknown IO ID 45"} 
[2026-08-22 12:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569914368001,"power":13678,"unknown_96":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":819514424838313984}} 
[2026-08-22 12:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":160018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681042,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:38:14] local.INFO: GPS data processed {"connection_id":160018,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:38:14] local.INFO: Acknowledgment sent {"connection_id":160018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:38:32] local.INFO: TCP Data received {"connection_id":159777,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:38:32] local.INFO: Processing buffer {"connection_id":159777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:38:32] local.INFO: Packet analysis {"connection_id":159777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:38:32] local.INFO: Extracted packet for processing {"connection_id":159777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569780480001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:38: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-22 12:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787382256000,"timestamp_ms":1787382256000,"timestamp_seconds":1787382256,"priority":1,"record_length":96,"hex_timestamp":"000001a02848d180"} 
[2026-08-22 12: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-22 12:38: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-22 12: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-22 12: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-22 12: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-22 12: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-22 12:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:38: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-22 12:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569780480001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569780480001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:38:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569780480001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":159777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:38:32] local.INFO: GPS data processed {"connection_id":159777,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:38:32] local.INFO: Acknowledgment sent {"connection_id":159777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:38:37] local.INFO: TCP Data received {"connection_id":162349,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162349,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:38:37] local.INFO: Processing buffer {"connection_id":162349,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:38:37] local.INFO: IMEI packet received {"connection_id":162349,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":162349,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:38:49] local.INFO: TCP Data received {"connection_id":162350,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:38:49] local.INFO: Processing buffer {"connection_id":162350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:38:49] local.INFO: IMEI packet received {"connection_id":162350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":162350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:38:54] local.INFO: TCP Data received {"connection_id":162350,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:38:54] local.INFO: Processing buffer {"connection_id":162350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:38:54] local.INFO: IMEI packet received {"connection_id":162350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":162350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:38:55] local.INFO: TCP Data received {"connection_id":162350,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:38:55] local.INFO: Processing buffer {"connection_id":162350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:38:55] local.INFO: Packet analysis {"connection_id":162350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:38:55] local.INFO: Extracted packet for processing {"connection_id":162350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:38:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569780480001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:38: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-22 12:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787382256000,"timestamp_ms":1787382256000,"timestamp_seconds":1787382256,"priority":1,"record_length":96,"hex_timestamp":"000001a02848d180"} 
[2026-08-22 12:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12: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-22 12:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:38: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-22 12:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:38: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-22 12:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569780480001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569780480001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:38:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:38:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569780480001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":162350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:38:55] local.INFO: GPS data processed {"connection_id":162350,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:38:55] local.INFO: Acknowledgment sent {"connection_id":162350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:38:58] local.INFO: TCP Data received {"connection_id":160930,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:38:58] local.INFO: Processing buffer {"connection_id":160930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:38:58] local.INFO: IMEI packet received {"connection_id":160930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":160930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:39:07] local.INFO: TCP Data received {"connection_id":160930,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0284b84e8012d181a000721a7f8005100242d..."} 
[2026-08-22 12:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284b84e8012d181a000721a7f8005100242d..."} 
[2026-08-22 12:39:07] local.INFO: Processing buffer {"connection_id":160930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284b84e8012d181a000721a7f8005100242d..."} 
[2026-08-22 12:39:07] local.INFO: Packet analysis {"connection_id":160930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0284b"} 
[2026-08-22 12:39:07] local.INFO: Extracted packet for processing {"connection_id":160930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0284b"} 
[2026-08-22 12:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756554240,"raw_latitude":119646200,"longitude_deg":75.655424,"latitude_deg":11.96462,"altitude":81,"angle":36,"satellites":45,"speed":6,"hex_longitude":"2d181a00","hex_latitude":"0721a7f8","is_valid_coordinates":true} 
[2026-08-22 12:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569902080001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14485004839026688,"note":"Value kept but may cause issues"} 
[2026-08-22 12:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736559899445768192,"note":"Value kept but may cause issues"} 
[2026-08-22 12:39:07] local.INFO: IO Element Parsed {"io_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-22 12:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787382433000,"timestamp_ms":1787382433000,"timestamp_seconds":1787382433,"priority":1,"record_length":96,"hex_timestamp":"000001a0284b84e8"} 
[2026-08-22 12:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:39:07] 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-22 12:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-22 12:39:07] 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-22 12:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569902080001,"66":13939,"105":206,"83":41984,"24":6,"16":14485004839026688,"45":1736559899445768192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 12:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569902080001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:39:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 12:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14485004839026688,"km_value":14485004839026.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736559899445768192,"description":"Unknown IO ID 45"} 
[2026-08-22 12:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569902080001,"power":13939,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1736559899445768192}} 
[2026-08-22 12:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":160930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:39:07] local.INFO: GPS data processed {"connection_id":160930,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:39:07] local.INFO: Acknowledgment sent {"connection_id":160930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:39:26] local.INFO: TCP Data received {"connection_id":162350,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:39:26] local.INFO: Processing buffer {"connection_id":162350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:39:26] local.INFO: Packet analysis {"connection_id":162350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:39:26] local.INFO: Extracted packet for processing {"connection_id":162350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:39:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569780480001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:39: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-22 12:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787382256000,"timestamp_ms":1787382256000,"timestamp_seconds":1787382256,"priority":1,"record_length":96,"hex_timestamp":"000001a02848d180"} 
[2026-08-22 12:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:39: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-22 12:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 12:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:39: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-22 12:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569780480001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569780480001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:39:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:39:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569780480001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":162350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:39:26] local.INFO: GPS data processed {"connection_id":162350,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:39:26] local.INFO: Acknowledgment sent {"connection_id":162350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:39:49] local.INFO: TCP Data received {"connection_id":159779,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:39:49] local.INFO: Processing buffer {"connection_id":159779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:39:49] local.INFO: IMEI packet received {"connection_id":159779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":159779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:39:54] local.INFO: TCP Data received {"connection_id":159779,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:39:54] local.INFO: Processing buffer {"connection_id":159779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:39:54] local.INFO: IMEI packet received {"connection_id":159779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":159779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:39:56] local.INFO: TCP Data received {"connection_id":159779,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:39:56] local.INFO: Processing buffer {"connection_id":159779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02848d180012d7fabc005afe1b8000801212f..."} 
[2026-08-22 12:39:56] local.INFO: Packet analysis {"connection_id":159779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:39:56] local.INFO: Extracted packet for processing {"connection_id":159779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02848"} 
[2026-08-22 12:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569780480001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:39: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-22 12:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787382256000,"timestamp_ms":1787382256000,"timestamp_seconds":1787382256,"priority":1,"record_length":96,"hex_timestamp":"000001a02848d180"} 
[2026-08-22 12:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12: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-22 12:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:39: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-22 12:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:39:56] 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-22 12:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569780480001,"66":25702,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569780480001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:39:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569780480001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":159779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:39:56] local.INFO: GPS data processed {"connection_id":159779,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:39:56] local.INFO: Acknowledgment sent {"connection_id":159779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:40:00] local.INFO: TCP Data received {"connection_id":160930,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0284b9870012d181c400721aa70005200352d..."} 
[2026-08-22 12:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284b9870012d181c400721aa70005200352d..."} 
[2026-08-22 12:40:00] local.INFO: Processing buffer {"connection_id":160930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284b9870012d181c400721aa70005200352d..."} 
[2026-08-22 12:40:00] local.INFO: Packet analysis {"connection_id":160930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0284b"} 
[2026-08-22 12:40:00] local.INFO: Extracted packet for processing {"connection_id":160930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0284b"} 
[2026-08-22 12:40:00] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119646832,"longitude_deg":75.6554816,"latitude_deg":11.9646832,"altitude":82,"angle":53,"satellites":45,"speed":8,"hex_longitude":"2d181c40","hex_latitude":"0721aa70","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569902848001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14485047788699648,"note":"Value kept but may cause issues"} 
[2026-08-22 12:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736700636934174720,"note":"Value kept but may cause issues"} 
[2026-08-22 12:40:00] local.INFO: IO Element Parsed {"io_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-22 12:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787382438000,"timestamp_ms":1787382438000,"timestamp_seconds":1787382438,"priority":1,"record_length":96,"hex_timestamp":"000001a0284b9870"} 
[2026-08-22 12: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-22 12:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-22 12:40:00] 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-22 12: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-22 12: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-22 12:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569902848001,"66":13961,"105":206,"83":41984,"24":8,"16":14485047788699648,"45":1736700636934174720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 12:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569902848001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:40:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 12:40:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14485047788699648,"km_value":14485047788699.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736700636934174720,"description":"Unknown IO ID 45"} 
[2026-08-22 12:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569902848001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1736700636934174720}} 
[2026-08-22 12:40:00] local.INFO: TCP Data received {"connection_id":159780,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:40:00] local.INFO: Processing buffer {"connection_id":159780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:40:00] local.INFO: IMEI packet received {"connection_id":159780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":159780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":160930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:40:00] local.INFO: GPS data processed {"connection_id":160930,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:40:00] local.INFO: Acknowledgment sent {"connection_id":160930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:40:01] local.INFO: TCP Data received {"connection_id":159780,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 12:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159780,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 12:40:01] local.INFO: Processing buffer {"connection_id":159780,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 12:40:01] local.INFO: IMEI packet received {"connection_id":159780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":159780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:40:03] local.INFO: TCP Data received {"connection_id":159780,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:40:03] local.INFO: Processing buffer {"connection_id":159780,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 12:40:03] local.INFO: IMEI packet received {"connection_id":159780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":159780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:40:33] local.INFO: TCP Data received {"connection_id":159779,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:40:33] local.INFO: Processing buffer {"connection_id":159779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:40:33] local.INFO: Packet analysis {"connection_id":159779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:40:33] local.INFO: Extracted packet for processing {"connection_id":159779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":20,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569857536001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:40:33] 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-22 12:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787382557000,"timestamp_ms":1787382557000,"timestamp_seconds":1787382557,"priority":1,"record_length":96,"hex_timestamp":"000001a0284d6948"} 
[2026-08-22 12: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-22 12: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-22 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:40: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-22 12: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-22 12: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-22 12:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:40:33] 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-22 12:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569857536001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569857536001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:40:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569857536001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":159779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:40:33] local.INFO: GPS data processed {"connection_id":159779,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:40:33] local.INFO: Acknowledgment sent {"connection_id":159779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:40:54] local.INFO: TCP Data received {"connection_id":159781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:40:54] local.INFO: Processing buffer {"connection_id":159781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:40:54] local.INFO: IMEI packet received {"connection_id":159781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":159781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:40:59] local.INFO: TCP Data received {"connection_id":159781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:40:59] local.INFO: Processing buffer {"connection_id":159781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:40:59] local.INFO: IMEI packet received {"connection_id":159781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":159781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:41:00] local.INFO: TCP Data received {"connection_id":159781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:41:00] local.INFO: Processing buffer {"connection_id":159781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:41:00] local.INFO: Packet analysis {"connection_id":159781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:41:00] local.INFO: Extracted packet for processing {"connection_id":159781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":20,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569857536001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:41:00] 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-22 12:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787382557000,"timestamp_ms":1787382557000,"timestamp_seconds":1787382557,"priority":1,"record_length":96,"hex_timestamp":"000001a0284d6948"} 
[2026-08-22 12: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-22 12:41: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-22 12:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:41: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-22 12: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-22 12: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-22 12:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:41: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-22 12:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569857536001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569857536001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:41:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:41:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569857536001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":159781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:41:00] local.INFO: GPS data processed {"connection_id":159781,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:41:00] local.INFO: Acknowledgment sent {"connection_id":159781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:41:31] local.INFO: TCP Data received {"connection_id":159781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:41:31] local.INFO: Processing buffer {"connection_id":159781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:41:31] local.INFO: Packet analysis {"connection_id":159781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:41:31] local.INFO: Extracted packet for processing {"connection_id":159781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:41:31] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":20,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569857536001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:41:31] 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-22 12:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787382557000,"timestamp_ms":1787382557000,"timestamp_seconds":1787382557,"priority":1,"record_length":96,"hex_timestamp":"000001a0284d6948"} 
[2026-08-22 12: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-22 12:41: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-22 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:41: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-22 12: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-22 12: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-22 12:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:41: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-22 12:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569857536001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569857536001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:41:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:41:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569857536001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":159781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:41:31] local.INFO: GPS data processed {"connection_id":159781,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:41:31] local.INFO: Acknowledgment sent {"connection_id":159781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:41:49] local.INFO: TCP Data received {"connection_id":160933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:41:49] local.INFO: Processing buffer {"connection_id":160933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:41:49] local.INFO: IMEI packet received {"connection_id":160933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":160933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:41:54] local.INFO: TCP Data received {"connection_id":160933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:41:54] local.INFO: Processing buffer {"connection_id":160933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:41:54] local.INFO: IMEI packet received {"connection_id":160933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":160933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:41:55] local.INFO: TCP Data received {"connection_id":160933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:41:55] local.INFO: Processing buffer {"connection_id":160933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:41:55] local.INFO: Packet analysis {"connection_id":160933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:41:55] local.INFO: Extracted packet for processing {"connection_id":160933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":20,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569857536001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:41: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-22 12:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787382557000,"timestamp_ms":1787382557000,"timestamp_seconds":1787382557,"priority":1,"record_length":96,"hex_timestamp":"000001a0284d6948"} 
[2026-08-22 12:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:41: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-22 12:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:41: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-22 12:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:41:55] local.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-22 12:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569857536001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569857536001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:41:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569857536001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":160933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:41:55] local.INFO: GPS data processed {"connection_id":160933,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:41:55] local.INFO: Acknowledgment sent {"connection_id":160933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:42:26] local.INFO: TCP Data received {"connection_id":160933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:42:26] local.INFO: Processing buffer {"connection_id":160933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:42:26] local.INFO: Packet analysis {"connection_id":160933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:42:26] local.INFO: Extracted packet for processing {"connection_id":160933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:42:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":20,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569857536001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:42: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-22 12:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787382557000,"timestamp_ms":1787382557000,"timestamp_seconds":1787382557,"priority":1,"record_length":96,"hex_timestamp":"000001a0284d6948"} 
[2026-08-22 12:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12: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-22 12:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 12:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:42: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-22 12:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569857536001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569857536001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:42:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:42:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569857536001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":160933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:42:26] local.INFO: GPS data processed {"connection_id":160933,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:42:26] local.INFO: Acknowledgment sent {"connection_id":160933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:42:49] local.INFO: TCP Data received {"connection_id":159782,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:42:49] local.INFO: Processing buffer {"connection_id":159782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:42:49] local.INFO: IMEI packet received {"connection_id":159782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":159782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:42:54] local.INFO: TCP Data received {"connection_id":159782,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:42:54] local.INFO: Processing buffer {"connection_id":159782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:42:54] local.INFO: IMEI packet received {"connection_id":159782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":159782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:42:55] local.INFO: TCP Data received {"connection_id":159782,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:42:55] local.INFO: Processing buffer {"connection_id":159782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:42:55] local.INFO: Packet analysis {"connection_id":159782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:42:55] local.INFO: Extracted packet for processing {"connection_id":159782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":20,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569857536001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:42: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-22 12:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787382557000,"timestamp_ms":1787382557000,"timestamp_seconds":1787382557,"priority":1,"record_length":96,"hex_timestamp":"000001a0284d6948"} 
[2026-08-22 12: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-22 12:42: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-22 12: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:42: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-22 12: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-22 12: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-22 12:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:42:55] 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-22 12:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569857536001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569857536001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:42:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:42:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569857536001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":159782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:42:55] local.INFO: GPS data processed {"connection_id":159782,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:42:55] local.INFO: Acknowledgment sent {"connection_id":159782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:43:26] local.INFO: TCP Data received {"connection_id":159782,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:43:26] local.INFO: Processing buffer {"connection_id":159782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:43:26] local.INFO: Packet analysis {"connection_id":159782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:43:26] local.INFO: Extracted packet for processing {"connection_id":159782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:43:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":20,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569857536001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:43: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-22 12:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787382557000,"timestamp_ms":1787382557000,"timestamp_seconds":1787382557,"priority":1,"record_length":96,"hex_timestamp":"000001a0284d6948"} 
[2026-08-22 12: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-22 12: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-22 12:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 12: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-22 12: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-22 12:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:43: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-22 12:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569857536001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569857536001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:43:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:43:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569857536001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":159782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:43:26] local.INFO: GPS data processed {"connection_id":159782,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:43:26] local.INFO: Acknowledgment sent {"connection_id":159782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:43:49] local.INFO: TCP Data received {"connection_id":160020,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:43:49] local.INFO: Processing buffer {"connection_id":160020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:43:49] local.INFO: IMEI packet received {"connection_id":160020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":160020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:43:54] local.INFO: TCP Data received {"connection_id":160020,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:43:54] local.INFO: Processing buffer {"connection_id":160020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:43:54] local.INFO: IMEI packet received {"connection_id":160020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":160020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:43:55] local.INFO: TCP Data received {"connection_id":160020,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:43:55] local.INFO: Processing buffer {"connection_id":160020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:43:55] local.INFO: Packet analysis {"connection_id":160020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:43:55] local.INFO: Extracted packet for processing {"connection_id":160020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":20,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569857536001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:43: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-22 12:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787382557000,"timestamp_ms":1787382557000,"timestamp_seconds":1787382557,"priority":1,"record_length":96,"hex_timestamp":"000001a0284d6948"} 
[2026-08-22 12: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-22 12:43: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-22 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:43: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-22 12: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-22 12: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-22 12:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:43:55] 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-22 12:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569857536001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569857536001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:43:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:43:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569857536001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":160020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:43:55] local.INFO: GPS data processed {"connection_id":160020,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:43:55] local.INFO: Acknowledgment sent {"connection_id":160020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:44:26] local.INFO: TCP Data received {"connection_id":160020,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:44:26] local.INFO: Processing buffer {"connection_id":160020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0284d6948012d7fabc005afe1b8001401212d..."} 
[2026-08-22 12:44:26] local.INFO: Packet analysis {"connection_id":160020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:44:26] local.INFO: Extracted packet for processing {"connection_id":160020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0284d"} 
[2026-08-22 12:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":20,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569857536001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:44: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-22 12:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787382557000,"timestamp_ms":1787382557000,"timestamp_seconds":1787382557,"priority":1,"record_length":96,"hex_timestamp":"000001a0284d6948"} 
[2026-08-22 12: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-22 12: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-22 12:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 12:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 12: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-22 12: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-22 12:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:44: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-22 12:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569857536001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569857536001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:44:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:44:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569857536001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":160020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:44:26] local.INFO: GPS data processed {"connection_id":160020,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:44:26] local.INFO: Acknowledgment sent {"connection_id":160020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:44:37] local.INFO: TCP Data received {"connection_id":162354,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162354,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:44:37] local.INFO: Processing buffer {"connection_id":162354,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:44:37] local.INFO: IMEI packet received {"connection_id":162354,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":162354,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:44:42] local.INFO: TCP Data received {"connection_id":162354,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162354,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:44:42] local.INFO: Processing buffer {"connection_id":162354,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:44:42] local.INFO: IMEI packet received {"connection_id":162354,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":162354,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:44:43] local.INFO: TCP Data received {"connection_id":162354,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a028520cc8012d09e94007057d080015001a18..."} 
[2026-08-22 12:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028520cc8012d09e94007057d080015001a18..."} 
[2026-08-22 12:44:43] local.INFO: Processing buffer {"connection_id":162354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028520cc8012d09e94007057d080015001a18..."} 
[2026-08-22 12:44:43] local.INFO: Packet analysis {"connection_id":162354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:44:43] local.INFO: Extracted packet for processing {"connection_id":162354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:44:43] local.INFO: GPS Element Parsed {"raw_longitude":755624256,"raw_latitude":117800200,"longitude_deg":75.5624256,"latitude_deg":11.78002,"altitude":21,"angle":26,"satellites":24,"speed":12,"hex_longitude":"2d09e940","hex_latitude":"07057d08","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570010880001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29451475511934976,"note":"Value kept but may cause issues"} 
[2026-08-22 12:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714313152303681536,"note":"Value kept but may cause issues"} 
[2026-08-22 12:44:43] 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-22 12:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787382861000,"timestamp_ms":1787382861000,"timestamp_seconds":1787382861,"priority":1,"record_length":96,"hex_timestamp":"000001a028520cc8"} 
[2026-08-22 12: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-22 12:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 12:44:43] 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-22 12: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-22 12: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-22 12:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570010880001,"66":14559,"177":206,"94":10240,"24":12,"16":29451475511934976,"45":714313152303681536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-22 12:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570010880001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:44:43] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-22 12:44:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29451475511934976,"km_value":29451475511934.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":714313152303681536,"description":"Unknown IO ID 45"} 
[2026-08-22 12:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570010880001,"power":14559,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":714313152303681536}} 
[2026-08-22 12:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":162354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681058,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:44:43] local.INFO: GPS data processed {"connection_id":162354,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:44:43] local.INFO: Acknowledgment sent {"connection_id":162354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:44:54] local.INFO: TCP Data received {"connection_id":159783,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:44:54] local.INFO: Processing buffer {"connection_id":159783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:44:54] local.INFO: IMEI packet received {"connection_id":159783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":159783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:44:56] local.INFO: TCP Data received {"connection_id":159783,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:44:56] local.INFO: Processing buffer {"connection_id":159783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:44:56] local.INFO: IMEI packet received {"connection_id":159783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":159783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:44:56] local.INFO: TCP Data received {"connection_id":159783,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:44:56] local.INFO: Processing buffer {"connection_id":159783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:44:56] local.INFO: Packet analysis {"connection_id":159783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:44:56] local.INFO: Extracted packet for processing {"connection_id":159783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 12:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569934592001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:44: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-22 12:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787382858000,"timestamp_ms":1787382858000,"timestamp_seconds":1787382858,"priority":1,"record_length":96,"hex_timestamp":"000001a028520110"} 
[2026-08-22 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-22 12:44: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-22 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 12:44: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-22 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-22 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-22 12:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:44: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-22 12:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569934592001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569934592001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:44:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569934592001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":159783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:44:56] local.INFO: GPS data processed {"connection_id":159783,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:44:56] local.INFO: Acknowledgment sent {"connection_id":159783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:44:59] local.INFO: TCP Data received {"connection_id":159783,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:44:59] local.INFO: Processing buffer {"connection_id":159783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:44:59] local.INFO: Packet analysis {"connection_id":159783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:44:59] local.INFO: Extracted packet for processing {"connection_id":159783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569934592001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:44:59] 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-22 12:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787382858000,"timestamp_ms":1787382858000,"timestamp_seconds":1787382858,"priority":1,"record_length":96,"hex_timestamp":"000001a028520110"} 
[2026-08-22 12: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-22 12: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-22 12: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-22 12: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-22 12: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-22 12: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-22 12:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:44: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-22 12:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569934592001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569934592001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569934592001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":159783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:44:59] local.INFO: GPS data processed {"connection_id":159783,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:44:59] local.INFO: Acknowledgment sent {"connection_id":159783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:45:08] local.INFO: TCP Data received {"connection_id":162355,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:45:08] local.INFO: Processing buffer {"connection_id":162355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:45:08] local.INFO: IMEI packet received {"connection_id":162355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":162355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:45:09] local.INFO: TCP Data received {"connection_id":162355,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028512650012d1b2e0007249f700031003f29..."} 
[2026-08-22 12:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028512650012d1b2e0007249f700031003f29..."} 
[2026-08-22 12:45:09] local.INFO: Processing buffer {"connection_id":162355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028512650012d1b2e0007249f700031003f29..."} 
[2026-08-22 12:45:09] local.INFO: Packet analysis {"connection_id":162355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02851"} 
[2026-08-22 12:45:09] local.INFO: Extracted packet for processing {"connection_id":162355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02851"} 
[2026-08-22 12:45:09] local.INFO: GPS Element Parsed {"raw_longitude":756755968,"raw_latitude":119840624,"longitude_deg":75.6755968,"latitude_deg":11.9840624,"altitude":49,"angle":63,"satellites":41,"speed":5,"hex_longitude":"2d1b2e00","hex_latitude":"07249f70","is_valid_coordinates":true} 
[2026-08-22 12:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569995008001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14499740871819264,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958080706166765568,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:09] 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-22 12:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787382802000,"timestamp_ms":1787382802000,"timestamp_seconds":1787382802,"priority":1,"record_length":96,"hex_timestamp":"000001a028512650"} 
[2026-08-22 12:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:45:09] 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-22 12:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-22 12:45:09] 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-22 12:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569995008001,"66":14483,"136":206,"83":42752,"24":5,"16":14499740871819264,"45":1958080706166765568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 12:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569995008001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:45:09] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 12:45:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14499740871819264,"km_value":14499740871819.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958080706166765568,"description":"Unknown IO ID 45"} 
[2026-08-22 12:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569995008001,"power":14483,"unknown_136":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1958080706166765568}} 
[2026-08-22 12:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":162355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:45:09] local.INFO: GPS data processed {"connection_id":162355,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:45:09] local.INFO: Acknowledgment sent {"connection_id":162355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:45:14] local.INFO: TCP Data received {"connection_id":162354,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0285210b0012d09ea4007057da80015003417..."} 
[2026-08-22 12:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285210b0012d09ea4007057da80015003417..."} 
[2026-08-22 12:45:14] local.INFO: Processing buffer {"connection_id":162354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285210b0012d09ea4007057da80015003417..."} 
[2026-08-22 12:45:14] local.INFO: Packet analysis {"connection_id":162354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:45:14] local.INFO: Extracted packet for processing {"connection_id":162354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:45:14] local.INFO: GPS Element Parsed {"raw_longitude":755624512,"raw_latitude":117800360,"longitude_deg":75.5624512,"latitude_deg":11.780036,"altitude":21,"angle":52,"satellites":23,"speed":12,"hex_longitude":"2d09ea40","hex_latitude":"07057da8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570012416001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29451488396836864,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714172414815963136,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:14] 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-22 12:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787382862000,"timestamp_ms":1787382862000,"timestamp_seconds":1787382862,"priority":1,"record_length":96,"hex_timestamp":"000001a0285210b0"} 
[2026-08-22 12: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-22 12:45: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-22 12: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-22 12:45:14] 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-22 12: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-22 12: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-22 12:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570012416001,"66":14559,"177":206,"94":10240,"24":12,"16":29451488396836864,"45":714172414815963136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-22 12:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570012416001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:45:14] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-22 12:45:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29451488396836864,"km_value":29451488396836.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":714172414815963136,"description":"Unknown IO ID 45"} 
[2026-08-22 12:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570012416001,"power":14559,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":714172414815963136}} 
[2026-08-22 12:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":162354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681062,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:45:14] local.INFO: GPS data processed {"connection_id":162354,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:45:14] local.INFO: Acknowledgment sent {"connection_id":162354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:45:30] local.INFO: TCP Data received {"connection_id":159783,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:45:30] local.INFO: Processing buffer {"connection_id":159783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:45:30] local.INFO: Packet analysis {"connection_id":159783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:45:30] local.INFO: Extracted packet for processing {"connection_id":159783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:45:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569934592001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:30] 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-22 12:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787382858000,"timestamp_ms":1787382858000,"timestamp_seconds":1787382858,"priority":1,"record_length":96,"hex_timestamp":"000001a028520110"} 
[2026-08-22 12: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-22 12: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-22 12: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-22 12: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-22 12: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-22 12: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-22 12:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:45: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-22 12:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569934592001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569934592001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:45:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:45:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569934592001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":159783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:45:30] local.INFO: GPS data processed {"connection_id":159783,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:45:30] local.INFO: Acknowledgment sent {"connection_id":159783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:45:40] local.INFO: TCP Data received {"connection_id":160936,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:45:40] local.INFO: Processing buffer {"connection_id":160936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:45:40] local.INFO: IMEI packet received {"connection_id":160936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":160936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:45:42] local.INFO: TCP Data received {"connection_id":160936,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:45:42] local.INFO: Processing buffer {"connection_id":160936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:45:42] local.INFO: IMEI packet received {"connection_id":160936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":160936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:45:47] local.INFO: TCP Data received {"connection_id":160936,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:45:47] local.INFO: Processing buffer {"connection_id":160936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:45:47] local.INFO: IMEI packet received {"connection_id":160936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":160936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:45:48] local.INFO: TCP Data received {"connection_id":160936,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02852dfb8012d0a4a40070587180015009516..."} 
[2026-08-22 12:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02852dfb8012d0a4a40070587180015009516..."} 
[2026-08-22 12:45:48] local.INFO: Processing buffer {"connection_id":160936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02852dfb8012d0a4a40070587180015009516..."} 
[2026-08-22 12:45:48] local.INFO: Packet analysis {"connection_id":160936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:45:48] local.INFO: Extracted packet for processing {"connection_id":160936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:45:48] local.INFO: GPS Element Parsed {"raw_longitude":755649088,"raw_latitude":117802776,"longitude_deg":75.5649088,"latitude_deg":11.7802776,"altitude":21,"angle":149,"satellites":22,"speed":13,"hex_longitude":"2d0a4a40","hex_latitude":"07058718","is_valid_coordinates":true} 
[2026-08-22 12:45: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-22 12:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570025984001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29452682397745152,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741264381325088768,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:48] 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-22 12:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787382915000,"timestamp_ms":1787382915000,"timestamp_seconds":1787382915,"priority":1,"record_length":96,"hex_timestamp":"000001a02852dfb8"} 
[2026-08-22 12:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:45: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-22 12:45: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-22 12:45: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-22 12:45: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-22 12:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570025984001,"66":14439,"177":206,"94":10240,"24":13,"16":29452682397745152,"45":741264381325088768},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-22 12:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570025984001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:45:48] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-22 12:45:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29452682397745152,"km_value":29452682397745.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":741264381325088768,"description":"Unknown IO ID 45"} 
[2026-08-22 12:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570025984001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":741264381325088768}} 
[2026-08-22 12:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":160936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681064,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:45:48] local.INFO: GPS data processed {"connection_id":160936,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:45:48] local.INFO: Acknowledgment sent {"connection_id":160936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:45:49] local.INFO: TCP Data received {"connection_id":159784,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:45:49] local.INFO: Processing buffer {"connection_id":159784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:45:49] local.INFO: IMEI packet received {"connection_id":159784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":159784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:45:53] local.INFO: TCP Data received {"connection_id":160937,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:45:53] local.INFO: Processing buffer {"connection_id":160937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:45:53] local.INFO: IMEI packet received {"connection_id":160937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":160937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:45:54] local.INFO: TCP Data received {"connection_id":160937,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:45:54] local.INFO: Processing buffer {"connection_id":160937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:45:54] local.INFO: IMEI packet received {"connection_id":160937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":160937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:45:54] local.INFO: TCP Data received {"connection_id":159784,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:45:54] local.INFO: Processing buffer {"connection_id":159784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:45:54] local.INFO: IMEI packet received {"connection_id":159784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":159784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:45:55] local.INFO: TCP Data received {"connection_id":159784,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:45:55] local.INFO: Processing buffer {"connection_id":159784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:45:55] local.INFO: Packet analysis {"connection_id":159784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:45:55] local.INFO: Extracted packet for processing {"connection_id":159784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 12:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569934592001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45: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-22 12:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787382858000,"timestamp_ms":1787382858000,"timestamp_seconds":1787382858,"priority":1,"record_length":96,"hex_timestamp":"000001a028520110"} 
[2026-08-22 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-22 12:45: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-22 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 12:45: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-22 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-22 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-22 12:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:45: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-22 12:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569934592001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569934592001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:45:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:45:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569934592001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":159784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:45:55] local.INFO: GPS data processed {"connection_id":159784,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:45:55] local.INFO: Acknowledgment sent {"connection_id":159784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:45:58] local.INFO: TCP Data received {"connection_id":160937,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:45:58] local.INFO: Processing buffer {"connection_id":160937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:45:58] local.INFO: IMEI packet received {"connection_id":160937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":160937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:45:59] local.INFO: TCP Data received {"connection_id":160937,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028512a38012d1b2e4007249fb80031003129..."} 
[2026-08-22 12:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028512a38012d1b2e4007249fb80031003129..."} 
[2026-08-22 12:45:59] local.INFO: Processing buffer {"connection_id":160937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028512a38012d1b2e4007249fb80031003129..."} 
[2026-08-22 12:45:59] local.INFO: Packet analysis {"connection_id":160937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02851"} 
[2026-08-22 12:45:59] local.INFO: Extracted packet for processing {"connection_id":160937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02851"} 
[2026-08-22 12:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756756032,"raw_latitude":119840696,"longitude_deg":75.6756032,"latitude_deg":11.9840696,"altitude":49,"angle":49,"satellites":41,"speed":4,"hex_longitude":"2d1b2e40","hex_latitude":"07249fb8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569997312001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14499745166786560,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958502918631944192,"note":"Value kept but may cause issues"} 
[2026-08-22 12:45:59] 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-22 12:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787382803000,"timestamp_ms":1787382803000,"timestamp_seconds":1787382803,"priority":1,"record_length":96,"hex_timestamp":"000001a028512a38"} 
[2026-08-22 12: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-22 12:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":147,"data_length":795,"current_offset":136} 
[2026-08-22 12:45:59] 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-22 12: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-22 12: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-22 12:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569997312001,"66":14483,"136":206,"83":42752,"24":4,"16":14499745166786560,"45":1958502918631944192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 12:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569997312001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:45:59] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 12:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14499745166786560,"km_value":14499745166786.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958502918631944192,"description":"Unknown IO ID 45"} 
[2026-08-22 12:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569997312001,"power":14483,"unknown_136":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1958502918631944192}} 
[2026-08-22 12:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":160937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:45:59] local.INFO: GPS data processed {"connection_id":160937,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:45:59] local.INFO: Acknowledgment sent {"connection_id":160937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:46:19] local.INFO: TCP Data received {"connection_id":160936,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0285383c8012d0a81400705ab300016014216..."} 
[2026-08-22 12:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285383c8012d0a81400705ab300016014216..."} 
[2026-08-22 12:46:19] local.INFO: Processing buffer {"connection_id":160936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285383c8012d0a81400705ab300016014216..."} 
[2026-08-22 12:46:19] local.INFO: Packet analysis {"connection_id":160936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02853"} 
[2026-08-22 12:46:19] local.INFO: Extracted packet for processing {"connection_id":160936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02853"} 
[2026-08-22 12:46:19] local.INFO: GPS Element Parsed {"raw_longitude":755663168,"raw_latitude":117812016,"longitude_deg":75.5663168,"latitude_deg":11.7812016,"altitude":22,"angle":322,"satellites":22,"speed":15,"hex_longitude":"2d0a8140","hex_latitude":"0705ab30","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570036736001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29453738959699968,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757167717511458816,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46:19] 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-22 12:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787382957000,"timestamp_ms":1787382957000,"timestamp_seconds":1787382957,"priority":1,"record_length":96,"hex_timestamp":"000001a0285383c8"} 
[2026-08-22 12: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-22 12:46:19] 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-22 12: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 12:46: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-22 12: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-22 12: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-22 12:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570036736001,"66":14428,"177":206,"94":10240,"24":15,"16":29453738959699968,"45":757167717511458816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-22 12:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570036736001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:46:19] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-22 12:46:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29453738959699968,"km_value":29453738959699.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":757167717511458816,"description":"Unknown IO ID 45"} 
[2026-08-22 12:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570036736001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":757167717511458816}} 
[2026-08-22 12:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":160936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681067,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:46:19] local.INFO: GPS data processed {"connection_id":160936,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:46:19] local.INFO: Acknowledgment sent {"connection_id":160936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:46:26] local.INFO: TCP Data received {"connection_id":159784,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:46:26] local.INFO: Processing buffer {"connection_id":159784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:46:26] local.INFO: Packet analysis {"connection_id":159784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:46:26] local.INFO: Extracted packet for processing {"connection_id":159784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:46:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569934592001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46: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-22 12:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787382858000,"timestamp_ms":1787382858000,"timestamp_seconds":1787382858,"priority":1,"record_length":96,"hex_timestamp":"000001a028520110"} 
[2026-08-22 12: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-22 12:46: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-22 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 12:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:46: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-22 12:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569934592001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569934592001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:46:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:46:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569934592001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":159784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:46:26] local.INFO: GPS data processed {"connection_id":159784,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:46:26] local.INFO: Acknowledgment sent {"connection_id":159784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:46:30] local.INFO: TCP Data received {"connection_id":160937,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028515918012d1b32800724a2d0003200402a..."} 
[2026-08-22 12:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028515918012d1b32800724a2d0003200402a..."} 
[2026-08-22 12:46:30] local.INFO: Processing buffer {"connection_id":160937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028515918012d1b32800724a2d0003200402a..."} 
[2026-08-22 12:46:30] local.INFO: Packet analysis {"connection_id":160937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02851"} 
[2026-08-22 12:46:30] local.INFO: Extracted packet for processing {"connection_id":160937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02851"} 
[2026-08-22 12:46:30] local.INFO: GPS Element Parsed {"raw_longitude":756757120,"raw_latitude":119841488,"longitude_deg":75.675712,"latitude_deg":11.9841488,"altitude":50,"angle":64,"satellites":42,"speed":3,"hex_longitude":"2d1b3280","hex_latitude":"0724a2d0","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569997568001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14499813886263296,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958573287376140288,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46:30] 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-22 12:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787382815000,"timestamp_ms":1787382815000,"timestamp_seconds":1787382815,"priority":1,"record_length":96,"hex_timestamp":"000001a028515918"} 
[2026-08-22 12: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-22 12:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-22 12:46:30] 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-22 12: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-22 12: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-22 12:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569997568001,"66":14461,"136":206,"83":42752,"24":3,"16":14499813886263296,"45":1958573287376140288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 12:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569997568001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:46:30] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 12:46:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14499813886263296,"km_value":14499813886263.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958573287376140288,"description":"Unknown IO ID 45"} 
[2026-08-22 12:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569997568001,"power":14461,"unknown_136":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1958573287376140288}} 
[2026-08-22 12:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":160937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:46:30] local.INFO: GPS data processed {"connection_id":160937,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:46:30] local.INFO: Acknowledgment sent {"connection_id":160937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:46:43] local.INFO: TCP Data received {"connection_id":160938,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160938,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:46:43] local.INFO: Processing buffer {"connection_id":160938,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:46:43] local.INFO: IMEI packet received {"connection_id":160938,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":160938,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:46:47] local.INFO: TCP Data received {"connection_id":160938,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160938,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:46:47] local.INFO: Processing buffer {"connection_id":160938,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:46:47] local.INFO: IMEI packet received {"connection_id":160938,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":160938,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:46:48] local.INFO: TCP Data received {"connection_id":160938,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a028538b98012d0a7fc00705adc00016015316..."} 
[2026-08-22 12:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028538b98012d0a7fc00705adc00016015316..."} 
[2026-08-22 12:46:48] local.INFO: Processing buffer {"connection_id":160938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028538b98012d0a7fc00705adc00016015316..."} 
[2026-08-22 12:46:48] local.INFO: Packet analysis {"connection_id":160938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02853"} 
[2026-08-22 12:46:48] local.INFO: Extracted packet for processing {"connection_id":160938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02853"} 
[2026-08-22 12:46:48] local.INFO: GPS Element Parsed {"raw_longitude":755662784,"raw_latitude":117812672,"longitude_deg":75.5662784,"latitude_deg":11.7812672,"altitude":22,"angle":339,"satellites":22,"speed":14,"hex_longitude":"2d0a7fc0","hex_latitude":"0705adc0","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570036992001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29453773319438336,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756956611279007744,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46:48] 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-22 12:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787382959000,"timestamp_ms":1787382959000,"timestamp_seconds":1787382959,"priority":1,"record_length":96,"hex_timestamp":"000001a028538b98"} 
[2026-08-22 12: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-22 12: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-22 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 12:46: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-22 12: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-22 12: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-22 12:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570036992001,"66":14439,"177":206,"94":10240,"24":14,"16":29453773319438336,"45":756956611279007744},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-22 12:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570036992001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:46:48] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-22 12:46:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29453773319438336,"km_value":29453773319438.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":756956611279007744,"description":"Unknown IO ID 45"} 
[2026-08-22 12:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570036992001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":756956611279007744}} 
[2026-08-22 12:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":160938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681070,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:46:48] local.INFO: GPS data processed {"connection_id":160938,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:46:48] local.INFO: Acknowledgment sent {"connection_id":160938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:46:49] local.INFO: TCP Data received {"connection_id":159785,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:46:49] local.INFO: Processing buffer {"connection_id":159785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:46:49] local.INFO: IMEI packet received {"connection_id":159785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":159785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:46:52] local.INFO: TCP Data received {"connection_id":160938,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a028539f20012d0a7bc00705b5400015014616..."} 
[2026-08-22 12:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028539f20012d0a7bc00705b5400015014616..."} 
[2026-08-22 12:46:52] local.INFO: Processing buffer {"connection_id":160938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028539f20012d0a7bc00705b5400015014616..."} 
[2026-08-22 12:46:52] local.INFO: Packet analysis {"connection_id":160938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02853"} 
[2026-08-22 12:46:52] local.INFO: Extracted packet for processing {"connection_id":160938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02853"} 
[2026-08-22 12:46:52] local.INFO: GPS Element Parsed {"raw_longitude":755661760,"raw_latitude":117814592,"longitude_deg":75.566176,"latitude_deg":11.7814592,"altitude":21,"angle":326,"satellites":22,"speed":11,"hex_longitude":"2d0a7bc0","hex_latitude":"0705b540","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570037504001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29453880693620736,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756534398814109696,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46:52] 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-22 12:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787382964000,"timestamp_ms":1787382964000,"timestamp_seconds":1787382964,"priority":1,"record_length":96,"hex_timestamp":"000001a028539f20"} 
[2026-08-22 12: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-22 12:46:52] 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-22 12: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 12:46:52] 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-22 12: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-22 12: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-22 12:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570037504001,"66":14450,"177":206,"94":10240,"24":11,"16":29453880693620736,"45":756534398814109696},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-22 12:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570037504001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:46:52] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-22 12:46:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29453880693620736,"km_value":29453880693620.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":756534398814109696,"description":"Unknown IO ID 45"} 
[2026-08-22 12:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570037504001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":756534398814109696}} 
[2026-08-22 12:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":160938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681071,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:46:52] local.INFO: GPS data processed {"connection_id":160938,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:46:52] local.INFO: Acknowledgment sent {"connection_id":160938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:46:54] local.INFO: TCP Data received {"connection_id":159785,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:46:54] local.INFO: Processing buffer {"connection_id":159785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:46:54] local.INFO: IMEI packet received {"connection_id":159785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":159785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:46:55] local.INFO: TCP Data received {"connection_id":159785,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:46:55] local.INFO: Processing buffer {"connection_id":159785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:46:55] local.INFO: Packet analysis {"connection_id":159785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:46:55] local.INFO: Extracted packet for processing {"connection_id":159785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:46:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 12:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569934592001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:46: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-22 12:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787382858000,"timestamp_ms":1787382858000,"timestamp_seconds":1787382858,"priority":1,"record_length":96,"hex_timestamp":"000001a028520110"} 
[2026-08-22 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-22 12:46: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-22 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 12: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-22 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-22 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-22 12:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:46:55] 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-22 12:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569934592001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569934592001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:46:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:46:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569934592001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":159785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:46:55] local.INFO: GPS data processed {"connection_id":159785,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:46:55] local.INFO: Acknowledgment sent {"connection_id":159785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:46:58] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:46:58] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:46:58] local.INFO: IMEI packet received {"connection_id":160021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":160021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:47:01] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:47:01] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:47:01] local.INFO: IMEI packet received {"connection_id":160021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":160021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:47:02] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0285383c8012d1b624007255a900026000528..."} 
[2026-08-22 12:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285383c8012d1b624007255a900026000528..."} 
[2026-08-22 12:47:02] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285383c8012d1b624007255a900026000528..."} 
[2026-08-22 12:47:02] local.INFO: Packet analysis {"connection_id":160021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02853"} 
[2026-08-22 12:47:02] local.INFO: Extracted packet for processing {"connection_id":160021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02853"} 
[2026-08-22 12:47:02] local.INFO: GPS Element Parsed {"raw_longitude":756769344,"raw_latitude":119888528,"longitude_deg":75.6769344,"latitude_deg":11.9888528,"altitude":38,"angle":5,"satellites":40,"speed":9,"hex_longitude":"2d1b6240","hex_latitude":"07255a90","is_valid_coordinates":true} 
[2026-08-22 12:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570031872001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14502326442131456,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973702567386226688,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:02] 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-22 12:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787382957000,"timestamp_ms":1787382957000,"timestamp_seconds":1787382957,"priority":1,"record_length":96,"hex_timestamp":"000001a0285383c8"} 
[2026-08-22 12: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-22 12:47:02] 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-22 12: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-22 12:47:02] 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-22 12: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-22 12: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-22 12:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570031872001,"66":13972,"43":206,"83":41984,"24":9,"16":14502326442131456,"45":1973702567386226688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 12:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570031872001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:47:02] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 12:47:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14502326442131456,"km_value":14502326442131.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973702567386226688,"description":"Unknown IO ID 45"} 
[2026-08-22 12:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570031872001,"power":13972,"unknown_43":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1973702567386226688}} 
[2026-08-22 12:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":160021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:47:02] local.INFO: GPS data processed {"connection_id":160021,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:47:02] local.INFO: Acknowledgment sent {"connection_id":160021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:47:03] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028539368012d1b620007255fb80026015729..."} 
[2026-08-22 12:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028539368012d1b620007255fb80026015729..."} 
[2026-08-22 12:47:03] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028539368012d1b620007255fb80026015729..."} 
[2026-08-22 12:47:03] local.INFO: Packet analysis {"connection_id":160021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02853"} 
[2026-08-22 12:47:03] local.INFO: Extracted packet for processing {"connection_id":160021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02853"} 
[2026-08-22 12:47:03] local.INFO: GPS Element Parsed {"raw_longitude":756769280,"raw_latitude":119889848,"longitude_deg":75.676928,"latitude_deg":11.9889848,"altitude":38,"angle":343,"satellites":41,"speed":12,"hex_longitude":"2d1b6200","hex_latitude":"07255fb8","is_valid_coordinates":true} 
[2026-08-22 12:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570036992001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14502390866640896,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973209986177339392,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:03] 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-22 12:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787382961000,"timestamp_ms":1787382961000,"timestamp_seconds":1787382961,"priority":1,"record_length":96,"hex_timestamp":"000001a028539368"} 
[2026-08-22 12:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-22 12:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570036992001,"66":14037,"43":206,"83":41984,"24":12,"16":14502390866640896,"45":1973209986177339392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 12:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570036992001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:47:03] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 12:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14502390866640896,"km_value":14502390866640.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973209986177339392,"description":"Unknown IO ID 45"} 
[2026-08-22 12:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570036992001,"power":14037,"unknown_43":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1973209986177339392}} 
[2026-08-22 12:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":160021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:47:03] local.INFO: GPS data processed {"connection_id":160021,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:47:03] local.INFO: Acknowledgment sent {"connection_id":160021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:47:26] local.INFO: TCP Data received {"connection_id":159785,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:47:26] local.INFO: Processing buffer {"connection_id":159785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:47:26] local.INFO: Packet analysis {"connection_id":159785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:47:26] local.INFO: Extracted packet for processing {"connection_id":159785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:47:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569934592001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47: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-22 12:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787382858000,"timestamp_ms":1787382858000,"timestamp_seconds":1787382858,"priority":1,"record_length":96,"hex_timestamp":"000001a028520110"} 
[2026-08-22 12: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-22 12:47: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-22 12:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 12:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:47:26] 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-22 12:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569934592001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569934592001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:47:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569934592001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":159785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:47:26] local.INFO: GPS data processed {"connection_id":159785,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:47:26] local.INFO: Acknowledgment sent {"connection_id":159785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:47:34] local.INFO: TCP Data received {"connection_id":162356,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:47:34] local.INFO: Processing buffer {"connection_id":162356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:47:34] local.INFO: IMEI packet received {"connection_id":162356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":162356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:47:34] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02853aad8012d1b5ec0072568a0002701442a..."} 
[2026-08-22 12:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02853aad8012d1b5ec0072568a0002701442a..."} 
[2026-08-22 12:47:34] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02853aad8012d1b5ec0072568a0002701442a..."} 
[2026-08-22 12:47:34] local.INFO: Packet analysis {"connection_id":160021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02853"} 
[2026-08-22 12:47:34] local.INFO: Extracted packet for processing {"connection_id":160021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02853"} 
[2026-08-22 12:47:34] local.INFO: GPS Element Parsed {"raw_longitude":756768448,"raw_latitude":119892128,"longitude_deg":75.6768448,"latitude_deg":11.9892128,"altitude":39,"angle":324,"satellites":42,"speed":20,"hex_longitude":"2d1b5ec0","hex_latitude":"072568a0","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570038016001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14502506830757888,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973139617433499648,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:34] 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-22 12:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787382967000,"timestamp_ms":1787382967000,"timestamp_seconds":1787382967,"priority":1,"record_length":96,"hex_timestamp":"000001a02853aad8"} 
[2026-08-22 12: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-22 12:47:34] 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-22 12: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":54,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-08-22 12:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2385,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570038016001,"66":13820,"43":206,"83":41984,"24":20,"16":14502506830757888,"45":1973139617433499648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 12:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570038016001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:47:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 12:47:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 12:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14502506830757888,"km_value":14502506830757.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973139617433499648,"description":"Unknown IO ID 45"} 
[2026-08-22 12:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570038016001,"power":13820,"unknown_43":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1973139617433499648}} 
[2026-08-22 12:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":160021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:47:34] local.INFO: GPS data processed {"connection_id":160021,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:47:34] local.INFO: Acknowledgment sent {"connection_id":160021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:47:38] local.INFO: TCP Data received {"connection_id":162356,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:47:38] local.INFO: Processing buffer {"connection_id":162356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:47:38] local.INFO: IMEI packet received {"connection_id":162356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":162356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:47:42] local.INFO: TCP Data received {"connection_id":162356,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:47:42] local.INFO: Processing buffer {"connection_id":162356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:47:42] local.INFO: IMEI packet received {"connection_id":162356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":162356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:47:43] local.INFO: TCP Data received {"connection_id":162356,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02854eb28012d0a75000705e4d00015000e17..."} 
[2026-08-22 12:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02854eb28012d0a75000705e4d00015000e17..."} 
[2026-08-22 12:47:43] local.INFO: Processing buffer {"connection_id":162356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02854eb28012d0a75000705e4d00015000e17..."} 
[2026-08-22 12:47:43] local.INFO: Packet analysis {"connection_id":162356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02854"} 
[2026-08-22 12:47:43] local.INFO: Extracted packet for processing {"connection_id":162356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02854"} 
[2026-08-22 12:47:43] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117826768,"longitude_deg":75.5660032,"latitude_deg":11.7826768,"altitude":21,"angle":14,"satellites":23,"speed":15,"hex_longitude":"2d0a7500","hex_latitude":"0705e4d0","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570059264001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29454503463878656,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752734486631741440,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:43] 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-22 12:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787383049000,"timestamp_ms":1787383049000,"timestamp_seconds":1787383049,"priority":1,"record_length":96,"hex_timestamp":"000001a02854eb28"} 
[2026-08-22 12: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-22 12:47:43] 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-22 12: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 12:47:43] 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-22 12: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-22 12: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-22 12:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570059264001,"66":14439,"153":206,"94":10240,"24":15,"16":29454503463878656,"45":752734486631741440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 12:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570059264001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:47:43] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 12:47:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29454503463878656,"km_value":29454503463878.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":752734486631741440,"description":"Unknown IO ID 45"} 
[2026-08-22 12:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570059264001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":752734486631741440}} 
[2026-08-22 12:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":162356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681077,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:47:43] local.INFO: GPS data processed {"connection_id":162356,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:47:43] local.INFO: Acknowledgment sent {"connection_id":162356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:47:49] local.INFO: TCP Data received {"connection_id":162357,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:47:49] local.INFO: Processing buffer {"connection_id":162357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:47:49] local.INFO: IMEI packet received {"connection_id":162357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":162357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:47:53] local.INFO: TCP Data received {"connection_id":160939,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:47:53] local.INFO: Processing buffer {"connection_id":160939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:47:53] local.INFO: IMEI packet received {"connection_id":160939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":160939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:47:54] local.INFO: TCP Data received {"connection_id":162357,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:47:54] local.INFO: Processing buffer {"connection_id":162357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:47:54] local.INFO: IMEI packet received {"connection_id":162357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":162357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:47:58] local.INFO: TCP Data received {"connection_id":160939,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:47:58] local.INFO: Processing buffer {"connection_id":160939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:47:58] local.INFO: IMEI packet received {"connection_id":160939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":160939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:47:59] local.INFO: TCP Data received {"connection_id":160939,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02853e958012d1b470007258300002a014429..."} 
[2026-08-22 12:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02853e958012d1b470007258300002a014429..."} 
[2026-08-22 12:47:59] local.INFO: Processing buffer {"connection_id":160939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02853e958012d1b470007258300002a014429..."} 
[2026-08-22 12:47:59] local.INFO: Packet analysis {"connection_id":160939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02853"} 
[2026-08-22 12:47:59] local.INFO: Extracted packet for processing {"connection_id":160939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02853"} 
[2026-08-22 12:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756762368,"raw_latitude":119898880,"longitude_deg":75.6762368,"latitude_deg":11.989888,"altitude":42,"angle":324,"satellites":41,"speed":13,"hex_longitude":"2d1b4700","hex_latitude":"07258300","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570039552001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14502944917422080,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972224823759773696,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787382983000,"timestamp_ms":1787382983000,"timestamp_seconds":1787382983,"priority":1,"record_length":96,"hex_timestamp":"000001a02853e958"} 
[2026-08-22 12: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-22 12:47: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-22 12: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-22 12:47:59] 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-22 12: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-22 12: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-22 12:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570039552001,"66":13972,"217":206,"83":42752,"24":13,"16":14502944917422080,"45":1972224823759773696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 12:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570039552001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:47:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 12:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14502944917422080,"km_value":14502944917422.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972224823759773696,"description":"Unknown IO ID 45"} 
[2026-08-22 12:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570039552001,"power":13972,"unknown_217":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1972224823759773696}} 
[2026-08-22 12:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":160939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:47:59] local.INFO: GPS data processed {"connection_id":160939,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:47:59] local.INFO: Acknowledgment sent {"connection_id":160939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:47:59] local.INFO: TCP Data received {"connection_id":162357,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:47:59] local.INFO: Processing buffer {"connection_id":162357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:47:59] local.INFO: Packet analysis {"connection_id":162357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:47:59] local.INFO: Extracted packet for processing {"connection_id":162357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569934592001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:47:59] 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-22 12:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787382858000,"timestamp_ms":1787382858000,"timestamp_seconds":1787382858,"priority":1,"record_length":96,"hex_timestamp":"000001a028520110"} 
[2026-08-22 12: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-22 12: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-22 12: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":47,"data_length":795,"current_offset":136} 
[2026-08-22 12:47: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-22 12: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-22 12: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-22 12:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12: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-22 12:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569934592001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569934592001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:47:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569934592001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":162357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:47:59] local.INFO: GPS data processed {"connection_id":162357,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:47:59] local.INFO: Acknowledgment sent {"connection_id":162357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:48:14] local.INFO: TCP Data received {"connection_id":162356,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02854f6e0012d0a75c00705e9380013000318..."} 
[2026-08-22 12:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02854f6e0012d0a75c00705e9380013000318..."} 
[2026-08-22 12:48:14] local.INFO: Processing buffer {"connection_id":162356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02854f6e0012d0a75c00705e9380013000318..."} 
[2026-08-22 12:48:14] local.INFO: Packet analysis {"connection_id":162356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02854"} 
[2026-08-22 12:48:14] local.INFO: Extracted packet for processing {"connection_id":162356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02854"} 
[2026-08-22 12:48:14] local.INFO: GPS Element Parsed {"raw_longitude":755660224,"raw_latitude":117827896,"longitude_deg":75.5660224,"latitude_deg":11.7827896,"altitude":19,"angle":3,"satellites":24,"speed":16,"hex_longitude":"2d0a75c0","hex_latitude":"0705e938","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570060544001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29454559298453504,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542818078720,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:14] 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-22 12:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787383052000,"timestamp_ms":1787383052000,"timestamp_seconds":1787383052,"priority":1,"record_length":96,"hex_timestamp":"000001a02854f6e0"} 
[2026-08-22 12: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-22 12:48:14] 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-22 12: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":103,"data_length":795,"current_offset":136} 
[2026-08-22 12:48:14] 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-22 12: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-22 12: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-22 12:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570060544001,"66":14309,"153":206,"94":10240,"24":16,"16":29454559298453504,"45":753508542818078720},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 12:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570060544001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:48:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 12:48:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29454559298453504,"km_value":29454559298453.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542818078720,"description":"Unknown IO ID 45"} 
[2026-08-22 12:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570060544001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":753508542818078720}} 
[2026-08-22 12:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":162356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681080,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:48:14] local.INFO: GPS data processed {"connection_id":162356,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:48:14] local.INFO: Acknowledgment sent {"connection_id":162356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:48:30] local.INFO: TCP Data received {"connection_id":160939,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02853f128012d1b4600072584c8002b014f2a..."} 
[2026-08-22 12:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02853f128012d1b4600072584c8002b014f2a..."} 
[2026-08-22 12:48:30] local.INFO: Processing buffer {"connection_id":160939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02853f128012d1b4600072584c8002b014f2a..."} 
[2026-08-22 12:48:30] local.INFO: Packet analysis {"connection_id":160939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02853"} 
[2026-08-22 12:48:30] local.INFO: Extracted packet for processing {"connection_id":160939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02853"} 
[2026-08-22 12:48:30] local.INFO: GPS Element Parsed {"raw_longitude":756762112,"raw_latitude":119899336,"longitude_deg":75.6762112,"latitude_deg":11.9899336,"altitude":43,"angle":335,"satellites":42,"speed":8,"hex_longitude":"2d1b4600","hex_latitude":"072584c8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570043648001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14502970687225856,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965539793064624128,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787382985000,"timestamp_ms":1787382985000,"timestamp_seconds":1787382985,"priority":1,"record_length":96,"hex_timestamp":"000001a02853f128"} 
[2026-08-22 12: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-22 12:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-22 12:48:30] 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-22 12: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-22 12: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-22 12:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570043648001,"66":14070,"217":206,"83":42752,"24":8,"16":14502970687225856,"45":1965539793064624128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 12:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570043648001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:48:30] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 12:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14502970687225856,"km_value":14502970687225.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965539793064624128,"description":"Unknown IO ID 45"} 
[2026-08-22 12:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570043648001,"power":14070,"unknown_217":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1965539793064624128}} 
[2026-08-22 12:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":160939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:48:30] local.INFO: GPS data processed {"connection_id":160939,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:48:30] local.INFO: Acknowledgment sent {"connection_id":160939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:48:34] local.INFO: TCP Data received {"connection_id":159786,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:48:34] local.INFO: Processing buffer {"connection_id":159786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:48:34] local.INFO: IMEI packet received {"connection_id":159786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":159786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:48:38] local.INFO: TCP Data received {"connection_id":159786,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:48:38] local.INFO: Processing buffer {"connection_id":159786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:48:38] local.INFO: IMEI packet received {"connection_id":159786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":159786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:48:40] local.INFO: TCP Data received {"connection_id":159786,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:48:40] local.INFO: Processing buffer {"connection_id":159786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:48:40] local.INFO: IMEI packet received {"connection_id":159786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":159786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:48:41] local.INFO: TCP Data received {"connection_id":159786,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a028551620012d0a76400705f798000f016118..."} 
[2026-08-22 12:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028551620012d0a76400705f798000f016118..."} 
[2026-08-22 12:48:41] local.INFO: Processing buffer {"connection_id":159786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028551620012d0a76400705f798000f016118..."} 
[2026-08-22 12:48:41] local.INFO: Packet analysis {"connection_id":159786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02855"} 
[2026-08-22 12:48:41] local.INFO: Extracted packet for processing {"connection_id":159786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02855"} 
[2026-08-22 12:48:41] local.INFO: GPS Element Parsed {"raw_longitude":755660352,"raw_latitude":117831576,"longitude_deg":75.5660352,"latitude_deg":11.7831576,"altitude":15,"angle":353,"satellites":24,"speed":21,"hex_longitude":"2d0a7640","hex_latitude":"0705f798","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570061312001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29454739687079936,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753719649050900480,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:41] 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-22 12:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787383060000,"timestamp_ms":1787383060000,"timestamp_seconds":1787383060,"priority":1,"record_length":96,"hex_timestamp":"000001a028551620"} 
[2026-08-22 12: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-22 12:48:41] 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-22 12: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 12:48:41] 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-22 12: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-22 12: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-22 12:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570061312001,"66":14450,"153":206,"94":10240,"24":21,"16":29454739687079936,"45":753719649050900480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 12:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570061312001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:48:41] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 12:48:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29454739687079936,"km_value":29454739687079.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":753719649050900480,"description":"Unknown IO ID 45"} 
[2026-08-22 12:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570061312001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":753719649050900480}} 
[2026-08-22 12:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":159786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681082,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:48:41] local.INFO: GPS data processed {"connection_id":159786,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:48:41] local.INFO: Acknowledgment sent {"connection_id":159786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:48:45] local.INFO: TCP Data received {"connection_id":162357,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:48:45] local.INFO: Processing buffer {"connection_id":162357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:48:45] local.INFO: Packet analysis {"connection_id":162357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:48:45] local.INFO: Extracted packet for processing {"connection_id":162357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:48:45] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569934592001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:45] 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-22 12:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787382858000,"timestamp_ms":1787382858000,"timestamp_seconds":1787382858,"priority":1,"record_length":96,"hex_timestamp":"000001a028520110"} 
[2026-08-22 12: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-22 12:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 12:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:48:45] 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-22 12:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569934592001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569934592001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:48:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:48:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569934592001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":162357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:48:45] local.INFO: GPS data processed {"connection_id":162357,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:48:45] local.INFO: Acknowledgment sent {"connection_id":162357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:48:49] local.INFO: TCP Data received {"connection_id":159787,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:48:49] local.INFO: Processing buffer {"connection_id":159787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:48:49] local.INFO: IMEI packet received {"connection_id":159787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":159787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:48:53] local.INFO: TCP Data received {"connection_id":162358,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:48:53] local.INFO: Processing buffer {"connection_id":162358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:48:53] local.INFO: IMEI packet received {"connection_id":162358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":162358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:48:53] local.INFO: TCP Data received {"connection_id":162358,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:48:53] local.INFO: Processing buffer {"connection_id":162358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:48:53] local.INFO: IMEI packet received {"connection_id":162358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":162358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:48:54] local.INFO: TCP Data received {"connection_id":159787,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:48:54] local.INFO: Processing buffer {"connection_id":159787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:48:54] local.INFO: IMEI packet received {"connection_id":159787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":159787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:48:55] local.INFO: TCP Data received {"connection_id":159787,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:48:55] local.INFO: Processing buffer {"connection_id":159787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:48:55] local.INFO: Packet analysis {"connection_id":159787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:48:55] local.INFO: Extracted packet for processing {"connection_id":159787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:48:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 12:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569934592001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48: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-22 12:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787382858000,"timestamp_ms":1787382858000,"timestamp_seconds":1787382858,"priority":1,"record_length":96,"hex_timestamp":"000001a028520110"} 
[2026-08-22 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-22 12: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-22 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 12: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-22 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-22 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-22 12:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:48:55] 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-22 12:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569934592001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569934592001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:48:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:48:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569934592001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":159787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:48:55] local.INFO: GPS data processed {"connection_id":159787,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:48:55] local.INFO: Acknowledgment sent {"connection_id":159787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:48:56] local.INFO: TCP Data received {"connection_id":162358,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:48:56] local.INFO: Processing buffer {"connection_id":162358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:48:56] local.INFO: IMEI packet received {"connection_id":162358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":162358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:48:58] local.INFO: TCP Data received {"connection_id":162358,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028551620012d1b458007258d20002e009229..."} 
[2026-08-22 12:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028551620012d1b458007258d20002e009229..."} 
[2026-08-22 12:48:58] local.INFO: Processing buffer {"connection_id":162358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028551620012d1b458007258d20002e009229..."} 
[2026-08-22 12:48:58] local.INFO: Packet analysis {"connection_id":162358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02855"} 
[2026-08-22 12:48:58] local.INFO: Extracted packet for processing {"connection_id":162358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02855"} 
[2026-08-22 12:48:58] local.INFO: GPS Element Parsed {"raw_longitude":756761984,"raw_latitude":119901472,"longitude_deg":75.6761984,"latitude_deg":11.9901472,"altitude":46,"angle":146,"satellites":41,"speed":20,"hex_longitude":"2d1b4580","hex_latitude":"07258d20","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570060544001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14503859745456128,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961599143392964608,"note":"Value kept but may cause issues"} 
[2026-08-22 12:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787383060000,"timestamp_ms":1787383060000,"timestamp_seconds":1787383060,"priority":1,"record_length":96,"hex_timestamp":"000001a028551620"} 
[2026-08-22 12: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-22 12:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 12:48:58] 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-22 12: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-22 12: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-22 12:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570060544001,"66":14048,"217":206,"83":42752,"24":20,"16":14503859745456128,"45":1961599143392964608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 12:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570060544001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:48:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 12:48:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14503859745456128,"km_value":14503859745456.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961599143392964608,"description":"Unknown IO ID 45"} 
[2026-08-22 12:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570060544001,"power":14048,"unknown_217":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1961599143392964608}} 
[2026-08-22 12:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":162358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:48:58] local.INFO: GPS data processed {"connection_id":162358,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:48:58] local.INFO: Acknowledgment sent {"connection_id":162358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:49:12] local.INFO: TCP Data received {"connection_id":159786,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a028566228012d0a864007061420000d012c19..."} 
[2026-08-22 12:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028566228012d0a864007061420000d012c19..."} 
[2026-08-22 12:49:12] local.INFO: Processing buffer {"connection_id":159786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028566228012d0a864007061420000d012c19..."} 
[2026-08-22 12:49:12] local.INFO: Packet analysis {"connection_id":159786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:49:12] local.INFO: Extracted packet for processing {"connection_id":159786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:49:12] local.INFO: GPS Element Parsed {"raw_longitude":755664448,"raw_latitude":117838880,"longitude_deg":75.5664448,"latitude_deg":11.783888,"altitude":13,"angle":300,"satellites":25,"speed":2,"hex_longitude":"2d0a8640","hex_latitude":"07061420","is_valid_coordinates":true} 
[2026-08-22 12:49: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-22 12:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570082048001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29455422586880000,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758856567378745344,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:12] 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-22 12:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787383145000,"timestamp_ms":1787383145000,"timestamp_seconds":1787383145,"priority":1,"record_length":96,"hex_timestamp":"000001a028566228"} 
[2026-08-22 12:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:49: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-22 12:49: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":60,"data_length":795,"current_offset":136} 
[2026-08-22 12:49:12] 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-22 12:49: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-22 12:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570082048001,"66":14461,"153":206,"94":10240,"24":2,"16":29455422586880000,"45":758856567378745344},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 12:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570082048001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:49:12] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 12:49:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29455422586880000,"km_value":29455422586880,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":758856567378745344,"description":"Unknown IO ID 45"} 
[2026-08-22 12:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570082048001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":758856567378745344}} 
[2026-08-22 12:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":159786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681086,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:49:12] local.INFO: GPS data processed {"connection_id":159786,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:49:12] local.INFO: Acknowledgment sent {"connection_id":159786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:49:26] local.INFO: TCP Data received {"connection_id":159787,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:49:26] local.INFO: Processing buffer {"connection_id":159787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028520110012d7fabc005afe1b8000801212c..."} 
[2026-08-22 12:49:26] local.INFO: Packet analysis {"connection_id":159787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:49:26] local.INFO: Extracted packet for processing {"connection_id":159787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02852"} 
[2026-08-22 12:49:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457569934592001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49: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-22 12:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787382858000,"timestamp_ms":1787382858000,"timestamp_seconds":1787382858,"priority":1,"record_length":96,"hex_timestamp":"000001a028520110"} 
[2026-08-22 12: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-22 12:49: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-22 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 12:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:49:26] 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-22 12:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457569934592001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457569934592001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:49:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:49:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457569934592001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":159787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:49:26] local.INFO: GPS data processed {"connection_id":159787,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:49:26] local.INFO: Acknowledgment sent {"connection_id":159787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:49:29] local.INFO: TCP Data received {"connection_id":162358,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028556828012d1b4f8007257f70002f00932a..."} 
[2026-08-22 12:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028556828012d1b4f8007257f70002f00932a..."} 
[2026-08-22 12:49:29] local.INFO: Processing buffer {"connection_id":162358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028556828012d1b4f8007257f70002f00932a..."} 
[2026-08-22 12:49:29] local.INFO: Packet analysis {"connection_id":162358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02855"} 
[2026-08-22 12:49:29] local.INFO: Extracted packet for processing {"connection_id":162358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02855"} 
[2026-08-22 12:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119897968,"longitude_deg":75.6764544,"latitude_deg":11.9897968,"altitude":47,"angle":147,"satellites":42,"speed":12,"hex_longitude":"2d1b4f80","hex_latitude":"07257f70","is_valid_coordinates":true} 
[2026-08-22 12:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570063360001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14504070198853632,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965117580600221696,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787383081000,"timestamp_ms":1787383081000,"timestamp_seconds":1787383081,"priority":1,"record_length":96,"hex_timestamp":"000001a028556828"} 
[2026-08-22 12:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:49:29] 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-22 12:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 12:49:29] 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-22 12:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570063360001,"66":14102,"217":206,"83":42752,"24":12,"16":14504070198853632,"45":1965117580600221696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 12:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570063360001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:49:29] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 12:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14504070198853632,"km_value":14504070198853.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965117580600221696,"description":"Unknown IO ID 45"} 
[2026-08-22 12:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570063360001,"power":14102,"unknown_217":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1965117580600221696}} 
[2026-08-22 12:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":162358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:49:29] local.INFO: GPS data processed {"connection_id":162358,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:49:29] local.INFO: Acknowledgment sent {"connection_id":162358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:49:35] local.INFO: TCP Data received {"connection_id":160940,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160940,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:49:35] local.INFO: Processing buffer {"connection_id":160940,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:49:35] local.INFO: IMEI packet received {"connection_id":160940,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":160940,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:49:37] local.INFO: TCP Data received {"connection_id":160940,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160940,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:49:37] local.INFO: Processing buffer {"connection_id":160940,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:49:37] local.INFO: IMEI packet received {"connection_id":160940,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":160940,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:49:42] local.INFO: TCP Data received {"connection_id":160940,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160940,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:49:42] local.INFO: Processing buffer {"connection_id":160940,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:49:42] local.INFO: IMEI packet received {"connection_id":160940,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":160940,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:49:42] local.INFO: TCP Data received {"connection_id":160940,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a028566610012d0a860007061420000d011c18..."} 
[2026-08-22 12:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028566610012d0a860007061420000d011c18..."} 
[2026-08-22 12:49:42] local.INFO: Processing buffer {"connection_id":160940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028566610012d0a860007061420000d011c18..."} 
[2026-08-22 12:49:42] local.INFO: Packet analysis {"connection_id":160940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:49:42] local.INFO: Extracted packet for processing {"connection_id":160940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:49:42] local.INFO: GPS Element Parsed {"raw_longitude":755664384,"raw_latitude":117838880,"longitude_deg":75.5664384,"latitude_deg":11.783888,"altitude":13,"angle":284,"satellites":24,"speed":3,"hex_longitude":"2d0a8600","hex_latitude":"07061420","is_valid_coordinates":true} 
[2026-08-22 12:49: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-22 12:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570085120001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29455426881847296,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758363986169438208,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:42] 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-22 12:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787383146000,"timestamp_ms":1787383146000,"timestamp_seconds":1787383146,"priority":1,"record_length":96,"hex_timestamp":"000001a028566610"} 
[2026-08-22 12:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:49: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-22 12:49: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":125,"data_length":795,"current_offset":136} 
[2026-08-22 12:49:42] 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-22 12:49: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-22 12:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160940,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160940,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570085120001,"66":14461,"153":206,"94":10240,"24":3,"16":29455426881847296,"45":758363986169438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 12:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570085120001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:49:42] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 12:49:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29455426881847296,"km_value":29455426881847.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":758363986169438208,"description":"Unknown IO ID 45"} 
[2026-08-22 12:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570085120001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":758363986169438208}} 
[2026-08-22 12:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":160940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681089,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:49:43] local.INFO: GPS data processed {"connection_id":160940,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:49:43] local.INFO: Acknowledgment sent {"connection_id":160940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:49:52] local.INFO: TCP Data received {"connection_id":162360,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:49:52] local.INFO: Processing buffer {"connection_id":162360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:49:52] local.INFO: IMEI packet received {"connection_id":162360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":162360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:49:53] local.INFO: TCP Data received {"connection_id":162360,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:49:53] local.INFO: Processing buffer {"connection_id":162360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:49:53] local.INFO: IMEI packet received {"connection_id":162360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":162360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:49:54] local.INFO: TCP Data received {"connection_id":162359,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:49:54] local.INFO: Processing buffer {"connection_id":162359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:49:54] local.INFO: IMEI packet received {"connection_id":162359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":162359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:49:57] local.INFO: TCP Data received {"connection_id":162359,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:49:57] local.INFO: Processing buffer {"connection_id":162359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:49:57] local.INFO: IMEI packet received {"connection_id":162359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":162359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:49:58] local.INFO: TCP Data received {"connection_id":162359,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:49:58] local.INFO: Processing buffer {"connection_id":162359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:49:58] local.INFO: Packet analysis {"connection_id":162359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:49:58] local.INFO: Extracted packet for processing {"connection_id":162359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":18,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570011648001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:58] 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-22 12:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787383159000,"timestamp_ms":1787383159000,"timestamp_seconds":1787383159,"priority":1,"record_length":96,"hex_timestamp":"000001a0285698d8"} 
[2026-08-22 12: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-22 12: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-22 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 12:49: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-22 12: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-22 12: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-22 12:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:49:58] 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-22 12:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570011648001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570011648001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:49:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:49:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570011648001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":162359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:49:58] local.INFO: GPS data processed {"connection_id":162359,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:49:58] local.INFO: Acknowledgment sent {"connection_id":162359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:49:58] local.INFO: TCP Data received {"connection_id":162360,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:49:58] local.INFO: Processing buffer {"connection_id":162360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:49:58] local.INFO: IMEI packet received {"connection_id":162360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":162360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:49:59] local.INFO: TCP Data received {"connection_id":162360,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028557bb0012d1b568007257728002f00882a..."} 
[2026-08-22 12:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028557bb0012d1b568007257728002f00882a..."} 
[2026-08-22 12:49:59] local.INFO: Processing buffer {"connection_id":162360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028557bb0012d1b568007257728002f00882a..."} 
[2026-08-22 12:49:59] local.INFO: Packet analysis {"connection_id":162360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02855"} 
[2026-08-22 12:49:59] local.INFO: Extracted packet for processing {"connection_id":162360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02855"} 
[2026-08-22 12:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756766336,"raw_latitude":119895848,"longitude_deg":75.6766336,"latitude_deg":11.9895848,"altitude":47,"angle":136,"satellites":42,"speed":25,"hex_longitude":"2d1b5680","hex_latitude":"07257728","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570068736001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14504203342839808,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330366431232,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787383086000,"timestamp_ms":1787383086000,"timestamp_seconds":1787383086,"priority":1,"record_length":96,"hex_timestamp":"000001a028557bb0"} 
[2026-08-22 12: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-22 12:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 12:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570068736001,"66":14461,"217":206,"83":42752,"24":25,"16":14504203342839808,"45":1967932330366431232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 12:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570068736001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:49:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 12:49:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14504203342839808,"km_value":14504203342839.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330366431232,"description":"Unknown IO ID 45"} 
[2026-08-22 12:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570068736001,"power":14461,"unknown_217":206,"unknown_83":42752,"ignition":25,"odometer":null,"unknown_45":1967932330366431232}} 
[2026-08-22 12:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":162360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:49:59] local.INFO: GPS data processed {"connection_id":162360,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:49:59] local.INFO: Acknowledgment sent {"connection_id":162360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:49:59] local.INFO: TCP Data received {"connection_id":162359,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:49:59] local.INFO: Processing buffer {"connection_id":162359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:49:59] local.INFO: Packet analysis {"connection_id":162359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:49:59] local.INFO: Extracted packet for processing {"connection_id":162359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":18,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570011648001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:49:59] 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-22 12:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787383159000,"timestamp_ms":1787383159000,"timestamp_seconds":1787383159,"priority":1,"record_length":96,"hex_timestamp":"000001a0285698d8"} 
[2026-08-22 12: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-22 12: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-22 12: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":47,"data_length":795,"current_offset":136} 
[2026-08-22 12:49: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-22 12: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-22 12: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-22 12:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12: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-22 12:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570011648001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570011648001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:49:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570011648001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":162359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:49:59] local.INFO: GPS data processed {"connection_id":162359,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:49:59] local.INFO: Acknowledgment sent {"connection_id":162359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:50:14] local.INFO: TCP Data received {"connection_id":160940,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0285711f0012d0a75800705e280001200d119..."} 
[2026-08-22 12:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285711f0012d0a75800705e280001200d119..."} 
[2026-08-22 12:50:14] local.INFO: Processing buffer {"connection_id":160940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285711f0012d0a75800705e280001200d119..."} 
[2026-08-22 12:50:14] local.INFO: Packet analysis {"connection_id":160940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02857"} 
[2026-08-22 12:50:14] local.INFO: Extracted packet for processing {"connection_id":160940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02857"} 
[2026-08-22 12:50:14] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117826176,"longitude_deg":75.566016,"latitude_deg":11.7826176,"altitude":18,"angle":209,"satellites":25,"speed":14,"hex_longitude":"2d0a7580","hex_latitude":"0705e280","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570096128001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29456281580339200,"note":"Value kept but may cause issues"} 
[2026-08-22 12:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754001124027363328,"note":"Value kept but may cause issues"} 
[2026-08-22 12:50:14] 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-22 12:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787383190000,"timestamp_ms":1787383190000,"timestamp_seconds":1787383190,"priority":1,"record_length":96,"hex_timestamp":"000001a0285711f0"} 
[2026-08-22 12: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-22 12:50:14] 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-22 12: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":103,"data_length":795,"current_offset":136} 
[2026-08-22 12:50:14] 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-22 12: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-22 12: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-22 12:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160940,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160940,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570096128001,"66":14537,"153":206,"94":10240,"24":14,"16":29456281580339200,"45":754001124027363328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-22 12:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570096128001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:50:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 12:50:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29456281580339200,"km_value":29456281580339.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":754001124027363328,"description":"Unknown IO ID 45"} 
[2026-08-22 12:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570096128001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":754001124027363328}} 
[2026-08-22 12:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":160940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681093,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:50:14] local.INFO: GPS data processed {"connection_id":160940,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:50:14] local.INFO: Acknowledgment sent {"connection_id":160940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:50:30] local.INFO: TCP Data received {"connection_id":162360,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028559ed8012d1b648007256650002d009429..."} 
[2026-08-22 12:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028559ed8012d1b648007256650002d009429..."} 
[2026-08-22 12:50:30] local.INFO: Processing buffer {"connection_id":162360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028559ed8012d1b648007256650002d009429..."} 
[2026-08-22 12:50:30] local.INFO: Packet analysis {"connection_id":162360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02855"} 
[2026-08-22 12:50:30] local.INFO: Extracted packet for processing {"connection_id":162360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02855"} 
[2026-08-22 12:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756769920,"raw_latitude":119891536,"longitude_deg":75.676992,"latitude_deg":11.9891536,"altitude":45,"angle":148,"satellites":41,"speed":22,"hex_longitude":"2d1b6480","hex_latitude":"07256650","is_valid_coordinates":true} 
[2026-08-22 12:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570070016001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14504473925779456,"note":"Value kept but may cause issues"} 
[2026-08-22 12:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969902655202863104,"note":"Value kept but may cause issues"} 
[2026-08-22 12:50:30] 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-22 12:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787383095000,"timestamp_ms":1787383095000,"timestamp_seconds":1787383095,"priority":1,"record_length":96,"hex_timestamp":"000001a028559ed8"} 
[2026-08-22 12:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 12:50:30] 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-22 12:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570070016001,"66":14461,"216":206,"83":42752,"24":22,"16":14504473925779456,"45":1969902655202863104},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 12:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570070016001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:50:30] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 12:50:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14504473925779456,"km_value":14504473925779.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969902655202863104,"description":"Unknown IO ID 45"} 
[2026-08-22 12:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570070016001,"power":14461,"unknown_216":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1969902655202863104}} 
[2026-08-22 12:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":162360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:50:30] local.INFO: GPS data processed {"connection_id":162360,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:50:30] local.INFO: Acknowledgment sent {"connection_id":162360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:50:31] local.INFO: TCP Data received {"connection_id":162359,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:50:31] local.INFO: Processing buffer {"connection_id":162359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:50:31] local.INFO: Packet analysis {"connection_id":162359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:50:31] local.INFO: Extracted packet for processing {"connection_id":162359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":18,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570011648001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:50:31] 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-22 12:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787383159000,"timestamp_ms":1787383159000,"timestamp_seconds":1787383159,"priority":1,"record_length":96,"hex_timestamp":"000001a0285698d8"} 
[2026-08-22 12: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-22 12: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-22 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 12:50: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-22 12: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-22 12: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-22 12:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12: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-22 12:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570011648001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570011648001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:50:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:50:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570011648001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":162359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:50:31] local.INFO: GPS data processed {"connection_id":162359,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:50:31] local.INFO: Acknowledgment sent {"connection_id":162359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:50:37] local.INFO: TCP Data received {"connection_id":160941,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160941,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:50:37] local.INFO: Processing buffer {"connection_id":160941,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:50:37] local.INFO: IMEI packet received {"connection_id":160941,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":160941,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:50:37] local.INFO: TCP Data received {"connection_id":160941,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160941,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:50:37] local.INFO: Processing buffer {"connection_id":160941,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:50:37] local.INFO: IMEI packet received {"connection_id":160941,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":160941,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:50:38] local.INFO: TCP Data received {"connection_id":160941,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160941,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:50:38] local.INFO: Processing buffer {"connection_id":160941,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:50:38] local.INFO: IMEI packet received {"connection_id":160941,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":160941,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:50:39] local.INFO: TCP Data received {"connection_id":160941,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160941,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:50:39] local.INFO: Processing buffer {"connection_id":160941,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:50:39] local.INFO: IMEI packet received {"connection_id":160941,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":160941,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:50:49] local.INFO: TCP Data received {"connection_id":160022,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:50:49] local.INFO: Processing buffer {"connection_id":160022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:50:49] local.INFO: IMEI packet received {"connection_id":160022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":160022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:50:53] local.INFO: TCP Data received {"connection_id":159788,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:50:53] local.INFO: Processing buffer {"connection_id":159788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:50:53] local.INFO: IMEI packet received {"connection_id":159788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":159788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:50:54] local.INFO: TCP Data received {"connection_id":160022,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:50:54] local.INFO: Processing buffer {"connection_id":160022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:50:54] local.INFO: IMEI packet received {"connection_id":160022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":160022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:50:55] local.INFO: TCP Data received {"connection_id":160022,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:50:55] local.INFO: Processing buffer {"connection_id":160022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:50:55] local.INFO: Packet analysis {"connection_id":160022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:50:55] local.INFO: Extracted packet for processing {"connection_id":160022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:50:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":18,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570011648001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:50: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-22 12:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787383159000,"timestamp_ms":1787383159000,"timestamp_seconds":1787383159,"priority":1,"record_length":96,"hex_timestamp":"000001a0285698d8"} 
[2026-08-22 12:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12: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-22 12:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 12: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-22 12:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:50:55] 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-22 12:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570011648001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570011648001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:50:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:50:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570011648001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":160022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:50:55] local.INFO: GPS data processed {"connection_id":160022,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:50:55] local.INFO: Acknowledgment sent {"connection_id":160022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:50:55] local.INFO: TCP Data received {"connection_id":159788,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:50:55] local.INFO: Processing buffer {"connection_id":159788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:50:55] local.INFO: IMEI packet received {"connection_id":159788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":159788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:50:58] local.INFO: TCP Data received {"connection_id":159788,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:50:58] local.INFO: Processing buffer {"connection_id":159788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:50:58] local.INFO: IMEI packet received {"connection_id":159788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":159788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:50:59] local.INFO: TCP Data received {"connection_id":159788,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02855aa90012d1b670007256108002c00a528..."} 
[2026-08-22 12:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02855aa90012d1b670007256108002c00a528..."} 
[2026-08-22 12:50:59] local.INFO: Processing buffer {"connection_id":159788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02855aa90012d1b670007256108002c00a528..."} 
[2026-08-22 12:50:59] local.INFO: Packet analysis {"connection_id":159788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02855"} 
[2026-08-22 12:50:59] local.INFO: Extracted packet for processing {"connection_id":159788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02855"} 
[2026-08-22 12:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756770560,"raw_latitude":119890184,"longitude_deg":75.677056,"latitude_deg":11.9890184,"altitude":44,"angle":165,"satellites":40,"speed":15,"hex_longitude":"2d1b6700","hex_latitude":"07256108","is_valid_coordinates":true} 
[2026-08-22 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-22 12:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570072320001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14504546940223488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973843304875708416,"note":"Value kept but may cause issues"} 
[2026-08-22 12:50:59] 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-22 12:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787383098000,"timestamp_ms":1787383098000,"timestamp_seconds":1787383098,"priority":1,"record_length":96,"hex_timestamp":"000001a02855aa90"} 
[2026-08-22 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-22 12:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 12:50:59] 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-22 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-22 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-22 12:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570072320001,"66":14428,"216":206,"83":42752,"24":15,"16":14504546940223488,"45":1973843304875708416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 12:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570072320001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:50:59] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 12:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14504546940223488,"km_value":14504546940223.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973843304875708416,"description":"Unknown IO ID 45"} 
[2026-08-22 12:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570072320001,"power":14428,"unknown_216":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1973843304875708416}} 
[2026-08-22 12:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":159788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:50:59] local.INFO: GPS data processed {"connection_id":159788,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:50:59] local.INFO: Acknowledgment sent {"connection_id":159788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:51:26] local.INFO: TCP Data received {"connection_id":160022,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:51:26] local.INFO: Processing buffer {"connection_id":160022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:51:26] local.INFO: Packet analysis {"connection_id":160022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:51:26] local.INFO: Extracted packet for processing {"connection_id":160022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:51:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":18,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570011648001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:51: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-22 12:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787383159000,"timestamp_ms":1787383159000,"timestamp_seconds":1787383159,"priority":1,"record_length":96,"hex_timestamp":"000001a0285698d8"} 
[2026-08-22 12: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-22 12:51: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-22 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 12:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:51: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-22 12:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570011648001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570011648001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:51:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570011648001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":160022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:51:26] local.INFO: GPS data processed {"connection_id":160022,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:51:26] local.INFO: Acknowledgment sent {"connection_id":160022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:51:30] local.INFO: TCP Data received {"connection_id":159788,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02855c5e8012d1b68c0072559a8002b00b128..."} 
[2026-08-22 12:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02855c5e8012d1b68c0072559a8002b00b128..."} 
[2026-08-22 12:51:30] local.INFO: Processing buffer {"connection_id":159788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02855c5e8012d1b68c0072559a8002b00b128..."} 
[2026-08-22 12:51:30] local.INFO: Packet analysis {"connection_id":159788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02855"} 
[2026-08-22 12:51:30] local.INFO: Extracted packet for processing {"connection_id":159788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02855"} 
[2026-08-22 12:51:30] local.INFO: GPS Element Parsed {"raw_longitude":756771008,"raw_latitude":119888296,"longitude_deg":75.6771008,"latitude_deg":11.9888296,"altitude":43,"angle":177,"satellites":40,"speed":13,"hex_longitude":"2d1b68c0","hex_latitude":"072559a8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570073088001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14504641429504000,"note":"Value kept but may cause issues"} 
[2026-08-22 12:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974546992317138944,"note":"Value kept but may cause issues"} 
[2026-08-22 12:51:30] 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-22 12:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787383105000,"timestamp_ms":1787383105000,"timestamp_seconds":1787383105,"priority":1,"record_length":96,"hex_timestamp":"000001a02855c5e8"} 
[2026-08-22 12: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-22 12:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 12:51: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-22 12: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-22 12: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-22 12:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570073088001,"66":14483,"216":206,"83":42752,"24":13,"16":14504641429504000,"45":1974546992317138944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 12:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570073088001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:51:30] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 12:51:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14504641429504000,"km_value":14504641429504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974546992317138944,"description":"Unknown IO ID 45"} 
[2026-08-22 12:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570073088001,"power":14483,"unknown_216":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1974546992317138944}} 
[2026-08-22 12:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":159788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:51:30] local.INFO: GPS data processed {"connection_id":159788,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:51:30] local.INFO: Acknowledgment sent {"connection_id":159788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:51:49] local.INFO: TCP Data received {"connection_id":160942,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:51:49] local.INFO: Processing buffer {"connection_id":160942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:51:49] local.INFO: IMEI packet received {"connection_id":160942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":160942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:51:54] local.INFO: TCP Data received {"connection_id":160942,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:51:54] local.INFO: Processing buffer {"connection_id":160942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:51:54] local.INFO: IMEI packet received {"connection_id":160942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":160942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:51:55] local.INFO: TCP Data received {"connection_id":160942,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:51:55] local.INFO: Processing buffer {"connection_id":160942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:51:55] local.INFO: Packet analysis {"connection_id":160942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:51:55] local.INFO: Extracted packet for processing {"connection_id":160942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":18,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570011648001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:51: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-22 12:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787383159000,"timestamp_ms":1787383159000,"timestamp_seconds":1787383159,"priority":1,"record_length":96,"hex_timestamp":"000001a0285698d8"} 
[2026-08-22 12: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-22 12:51: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-22 12: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":47,"data_length":795,"current_offset":136} 
[2026-08-22 12:51: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-22 12: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-22 12: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-22 12:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:51: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-22 12:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570011648001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570011648001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:51:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:51:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570011648001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":160942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:51:55] local.INFO: GPS data processed {"connection_id":160942,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:51:55] local.INFO: Acknowledgment sent {"connection_id":160942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:52:03] local.INFO: TCP Data received {"connection_id":159789,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:52:03] local.INFO: Processing buffer {"connection_id":159789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:52:03] local.INFO: IMEI packet received {"connection_id":159789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":159789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:52:19] local.INFO: TCP Data received {"connection_id":159789,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:52:19] local.INFO: Processing buffer {"connection_id":159789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:52:19] local.INFO: IMEI packet received {"connection_id":159789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":159789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:52:22] local.INFO: TCP Data received {"connection_id":159789,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02855f0e0012d1b684007254df0002b00c12a..."} 
[2026-08-22 12:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02855f0e0012d1b684007254df0002b00c12a..."} 
[2026-08-22 12:52:22] local.INFO: Processing buffer {"connection_id":159789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02855f0e0012d1b684007254df0002b00c12a..."} 
[2026-08-22 12:52:22] local.INFO: Packet analysis {"connection_id":159789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02855"} 
[2026-08-22 12:52:22] local.INFO: Extracted packet for processing {"connection_id":159789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02855"} 
[2026-08-22 12:52:22] local.INFO: GPS Element Parsed {"raw_longitude":756770880,"raw_latitude":119885296,"longitude_deg":75.677088,"latitude_deg":11.9885296,"altitude":43,"angle":193,"satellites":42,"speed":9,"hex_longitude":"2d1b6840","hex_latitude":"07254df0","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570074880001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14504787458392064,"note":"Value kept but may cause issues"} 
[2026-08-22 12:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975039573525899264,"note":"Value kept but may cause issues"} 
[2026-08-22 12:52: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-22 12:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787383116000,"timestamp_ms":1787383116000,"timestamp_seconds":1787383116,"priority":1,"record_length":96,"hex_timestamp":"000001a02855f0e0"} 
[2026-08-22 12: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-22 12:52:22] 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-22 12: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":147,"data_length":795,"current_offset":136} 
[2026-08-22 12:52:22] 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-22 12: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-22 12: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-22 12:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570074880001,"66":14483,"216":206,"83":42752,"24":9,"16":14504787458392064,"45":1975039573525899264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 12:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570074880001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:52:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 12:52:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14504787458392064,"km_value":14504787458392.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975039573525899264,"description":"Unknown IO ID 45"} 
[2026-08-22 12:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570074880001,"power":14483,"unknown_216":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1975039573525899264}} 
[2026-08-22 12:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":159789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:52:22] local.INFO: GPS data processed {"connection_id":159789,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:52:22] local.INFO: Acknowledgment sent {"connection_id":159789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:52:26] local.INFO: TCP Data received {"connection_id":160942,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:52:26] local.INFO: Processing buffer {"connection_id":160942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:52:26] local.INFO: Packet analysis {"connection_id":160942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:52:26] local.INFO: Extracted packet for processing {"connection_id":160942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:52:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":18,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570011648001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:52: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-22 12:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787383159000,"timestamp_ms":1787383159000,"timestamp_seconds":1787383159,"priority":1,"record_length":96,"hex_timestamp":"000001a0285698d8"} 
[2026-08-22 12:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:52: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-22 12:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 12:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:52: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-22 12:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570011648001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570011648001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:52:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570011648001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":160942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:52:26] local.INFO: GPS data processed {"connection_id":160942,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:52:26] local.INFO: Acknowledgment sent {"connection_id":160942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:52:49] local.INFO: TCP Data received {"connection_id":162362,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:52:49] local.INFO: Processing buffer {"connection_id":162362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:52:49] local.INFO: IMEI packet received {"connection_id":162362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":162362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:52:53] local.INFO: TCP Data received {"connection_id":159790,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:52:53] local.INFO: Processing buffer {"connection_id":159790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:52:53] local.INFO: IMEI packet received {"connection_id":159790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":159790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:52:54] local.INFO: TCP Data received {"connection_id":162362,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:52:54] local.INFO: Processing buffer {"connection_id":162362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:52:54] local.INFO: IMEI packet received {"connection_id":162362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":162362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:52:55] local.INFO: TCP Data received {"connection_id":162362,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:52:55] local.INFO: Processing buffer {"connection_id":162362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:52:55] local.INFO: Packet analysis {"connection_id":162362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:52:55] local.INFO: Extracted packet for processing {"connection_id":162362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:52:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":18,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570011648001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:52: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-22 12:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787383159000,"timestamp_ms":1787383159000,"timestamp_seconds":1787383159,"priority":1,"record_length":96,"hex_timestamp":"000001a0285698d8"} 
[2026-08-22 12: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-22 12: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-22 12: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":47,"data_length":795,"current_offset":136} 
[2026-08-22 12:52: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-22 12: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-22 12: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-22 12:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:52:55] 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-22 12:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570011648001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570011648001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:52:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:52:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570011648001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":162362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:52:55] local.INFO: GPS data processed {"connection_id":162362,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:52:55] local.INFO: Acknowledgment sent {"connection_id":162362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:52:58] local.INFO: TCP Data received {"connection_id":159790,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:52:58] local.INFO: Processing buffer {"connection_id":159790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:52:58] local.INFO: IMEI packet received {"connection_id":159790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":159790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:53:00] local.INFO: TCP Data received {"connection_id":159790,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02858e6b0012d1b574007250718003000c12b..."} 
[2026-08-22 12:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02858e6b0012d1b574007250718003000c12b..."} 
[2026-08-22 12:53:00] local.INFO: Processing buffer {"connection_id":159790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02858e6b0012d1b574007250718003000c12b..."} 
[2026-08-22 12:53:00] local.INFO: Packet analysis {"connection_id":159790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02858"} 
[2026-08-22 12:53:00] local.INFO: Extracted packet for processing {"connection_id":159790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02858"} 
[2026-08-22 12:53:00] local.INFO: GPS Element Parsed {"raw_longitude":756766528,"raw_latitude":119867160,"longitude_deg":75.6766528,"latitude_deg":11.986716,"altitude":48,"angle":193,"satellites":43,"speed":16,"hex_longitude":"2d1b5740","hex_latitude":"07250718","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570121984001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14505736646164480,"note":"Value kept but may cause issues"} 
[2026-08-22 12:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971380398824192000,"note":"Value kept but may cause issues"} 
[2026-08-22 12:53:00] 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-22 12:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787383310000,"timestamp_ms":1787383310000,"timestamp_seconds":1787383310,"priority":1,"record_length":96,"hex_timestamp":"000001a02858e6b0"} 
[2026-08-22 12: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-22 12:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 12:53: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-22 12: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-22 12: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-22 12:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570121984001,"66":14396,"216":206,"83":42752,"24":16,"16":14505736646164480,"45":1971380398824192000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 12:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570121984001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:53:00] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 12:53:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14505736646164480,"km_value":14505736646164.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971380398824192000,"description":"Unknown IO ID 45"} 
[2026-08-22 12:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570121984001,"power":14396,"unknown_216":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1971380398824192000}} 
[2026-08-22 12:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":159790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:53:00] local.INFO: GPS data processed {"connection_id":159790,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:53:00] local.INFO: Acknowledgment sent {"connection_id":159790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:53:26] local.INFO: TCP Data received {"connection_id":162362,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:53:26] local.INFO: Processing buffer {"connection_id":162362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:53:26] local.INFO: Packet analysis {"connection_id":162362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:53:26] local.INFO: Extracted packet for processing {"connection_id":162362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":18,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 12:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570011648001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:53: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-22 12:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787383159000,"timestamp_ms":1787383159000,"timestamp_seconds":1787383159,"priority":1,"record_length":96,"hex_timestamp":"000001a0285698d8"} 
[2026-08-22 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-22 12:53: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-22 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 12:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 12:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:53: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-22 12:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570011648001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570011648001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:53:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570011648001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":162362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:53:26] local.INFO: GPS data processed {"connection_id":162362,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:53:26] local.INFO: Acknowledgment sent {"connection_id":162362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:53:33] local.INFO: TCP Data received {"connection_id":159790,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02858ee80012d1b570007250380003100b32a..."} 
[2026-08-22 12:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02858ee80012d1b570007250380003100b32a..."} 
[2026-08-22 12:53:33] local.INFO: Processing buffer {"connection_id":159790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02858ee80012d1b570007250380003100b32a..."} 
[2026-08-22 12:53:33] local.INFO: Packet analysis {"connection_id":159790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02858"} 
[2026-08-22 12:53:33] local.INFO: Extracted packet for processing {"connection_id":159790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02858"} 
[2026-08-22 12:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756766464,"raw_latitude":119866240,"longitude_deg":75.6766464,"latitude_deg":11.986624,"altitude":49,"angle":179,"satellites":42,"speed":18,"hex_longitude":"2d1b5700","hex_latitude":"07250380","is_valid_coordinates":true} 
[2026-08-22 12:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570127360001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14505779595837440,"note":"Value kept but may cause issues"} 
[2026-08-22 12:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970113761428051968,"note":"Value kept but may cause issues"} 
[2026-08-22 12:53:33] 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-22 12:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787383312000,"timestamp_ms":1787383312000,"timestamp_seconds":1787383312,"priority":1,"record_length":96,"hex_timestamp":"000001a02858ee80"} 
[2026-08-22 12:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:53:33] 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-22 12:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 12:53:33] 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-22 12:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570127360001,"66":14374,"216":206,"83":42752,"24":18,"16":14505779595837440,"45":1970113761428051968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 12:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570127360001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:53:33] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 12:53:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14505779595837440,"km_value":14505779595837.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970113761428051968,"description":"Unknown IO ID 45"} 
[2026-08-22 12:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570127360001,"power":14374,"unknown_216":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1970113761428051968}} 
[2026-08-22 12:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":159790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:53:33] local.INFO: GPS data processed {"connection_id":159790,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:53:33] local.INFO: Acknowledgment sent {"connection_id":159790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:53:53] local.INFO: TCP Data received {"connection_id":162363,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:53:53] local.INFO: Processing buffer {"connection_id":162363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:53:53] local.INFO: IMEI packet received {"connection_id":162363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":162363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:53:54] local.INFO: TCP Data received {"connection_id":160943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:53:54] local.INFO: Processing buffer {"connection_id":160943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:53:54] local.INFO: IMEI packet received {"connection_id":160943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":160943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:53:56] local.INFO: TCP Data received {"connection_id":162363,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:53:56] local.INFO: Processing buffer {"connection_id":162363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:53:56] local.INFO: IMEI packet received {"connection_id":162363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":162363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:53:58] local.INFO: TCP Data received {"connection_id":162363,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:53:58] local.INFO: Processing buffer {"connection_id":162363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:53:58] local.INFO: IMEI packet received {"connection_id":162363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":162363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:53:59] local.INFO: TCP Data received {"connection_id":160943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:53:59] local.INFO: Processing buffer {"connection_id":160943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:53:59] local.INFO: IMEI packet received {"connection_id":160943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":160943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:54:00] local.INFO: TCP Data received {"connection_id":160943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:54:00] local.INFO: Processing buffer {"connection_id":160943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:54:00] local.INFO: Packet analysis {"connection_id":160943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:54:00] local.INFO: Extracted packet for processing {"connection_id":160943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":18,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570011648001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:00] 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-22 12:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787383159000,"timestamp_ms":1787383159000,"timestamp_seconds":1787383159,"priority":1,"record_length":96,"hex_timestamp":"000001a0285698d8"} 
[2026-08-22 12: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-22 12:54: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-22 12:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 12:54: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-22 12: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-22 12: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-22 12:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:54: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-22 12:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570011648001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570011648001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570011648001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":160943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:54:00] local.INFO: GPS data processed {"connection_id":160943,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:54:00] local.INFO: Acknowledgment sent {"connection_id":160943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:54:00] local.INFO: TCP Data received {"connection_id":162363,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028591590012d1b58400724f308003100a729..."} 
[2026-08-22 12:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028591590012d1b58400724f308003100a729..."} 
[2026-08-22 12:54:00] local.INFO: Processing buffer {"connection_id":162363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028591590012d1b58400724f308003100a729..."} 
[2026-08-22 12:54:00] local.INFO: Packet analysis {"connection_id":162363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02859"} 
[2026-08-22 12:54:00] local.INFO: Extracted packet for processing {"connection_id":162363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02859"} 
[2026-08-22 12:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756766784,"raw_latitude":119862024,"longitude_deg":75.6766784,"latitude_deg":11.9862024,"altitude":49,"angle":167,"satellites":41,"speed":17,"hex_longitude":"2d1b5840","hex_latitude":"0724f308","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570127872001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14505985754267648,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970043392683638784,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:00] 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-22 12:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787383322000,"timestamp_ms":1787383322000,"timestamp_seconds":1787383322,"priority":1,"record_length":96,"hex_timestamp":"000001a028591590"} 
[2026-08-22 12: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-22 12:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 12:54:00] 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-22 12: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-22 12: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-22 12:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570127872001,"66":14080,"136":206,"83":42752,"24":17,"16":14505985754267648,"45":1970043392683638784},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 12:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570127872001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:54:00] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 12:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14505985754267648,"km_value":14505985754267.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970043392683638784,"description":"Unknown IO ID 45"} 
[2026-08-22 12:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570127872001,"power":14080,"unknown_136":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1970043392683638784}} 
[2026-08-22 12:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":162363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:54:00] local.INFO: GPS data processed {"connection_id":162363,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:54:00] local.INFO: Acknowledgment sent {"connection_id":162363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:54:01] local.INFO: TCP Data received {"connection_id":162363,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028593ca0012d1b5ac00724de88002e00b226..."} 
[2026-08-22 12:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028593ca0012d1b5ac00724de88002e00b226..."} 
[2026-08-22 12:54:01] local.INFO: Processing buffer {"connection_id":162363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028593ca0012d1b5ac00724de88002e00b226..."} 
[2026-08-22 12:54:01] local.INFO: Packet analysis {"connection_id":162363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02859"} 
[2026-08-22 12:54:01] local.INFO: Extracted packet for processing {"connection_id":162363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02859"} 
[2026-08-22 12:54:01] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119856776,"longitude_deg":75.6767424,"latitude_deg":11.9856776,"altitude":46,"angle":178,"satellites":38,"speed":10,"hex_longitude":"2d1b5ac0","hex_latitude":"0724de88","is_valid_coordinates":true} 
[2026-08-22 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-22 12:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570130432001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14506243452305408,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970395236403447808,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:01] 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-22 12:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787383332000,"timestamp_ms":1787383332000,"timestamp_seconds":1787383332,"priority":1,"record_length":96,"hex_timestamp":"000001a028593ca0"} 
[2026-08-22 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-22 12:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-22 12:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3442158336,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724238542,"corrected_to":0} 
[2026-08-22 12:54:01] local.WARNING: Large IO value detected {"io_id":93,"raw_value":3221693726,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:01] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2291859456,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:01] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,136,83,24,241,157,16,137,160,238,45,3,49,42,10,66,216,230,64,7,48,43,148,192,1,240,92,227,40,37,4,113,205,8,31,93,41,239,56,2,51,5],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":724238542,"validated":0}]} 
[2026-08-22 12:54:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531005902395080704,"timestamp_seconds":3531005902395080.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 12:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570130432001,"66":13917,"136":206,"83":42752,"24":10,"16":14506243452305408,"45":1970395236403447808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 12:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570130432001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:54:01] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 12:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14506243452305408,"km_value":14506243452305.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970395236403447808,"description":"Unknown IO ID 45"} 
[2026-08-22 12:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570130432001,"power":13917,"unknown_136":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1970395236403447808}} 
[2026-08-22 12:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":162363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:54:01] local.INFO: GPS data processed {"connection_id":162363,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:54:01] local.INFO: Acknowledgment sent {"connection_id":162363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:54:04] local.INFO: TCP Data received {"connection_id":160943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:54:04] local.INFO: Processing buffer {"connection_id":160943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:54:04] local.INFO: Packet analysis {"connection_id":160943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:54:04] local.INFO: Extracted packet for processing {"connection_id":160943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":18,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570011648001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:04] 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-22 12:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787383159000,"timestamp_ms":1787383159000,"timestamp_seconds":1787383159,"priority":1,"record_length":96,"hex_timestamp":"000001a0285698d8"} 
[2026-08-22 12: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-22 12:54: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-22 12: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-22 12: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-22 12: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-22 12: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-22 12:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12: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-22 12:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570011648001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 12:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570011648001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:54:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570011648001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":160943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:54:04] local.INFO: GPS data processed {"connection_id":160943,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:54:04] local.INFO: Acknowledgment sent {"connection_id":160943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:54:33] local.INFO: TCP Data received {"connection_id":162363,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028598ea8012d1b5a800724d2d8002b00ba28..."} 
[2026-08-22 12:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028598ea8012d1b5a800724d2d8002b00ba28..."} 
[2026-08-22 12:54:33] local.INFO: Processing buffer {"connection_id":162363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028598ea8012d1b5a800724d2d8002b00ba28..."} 
[2026-08-22 12:54:33] local.INFO: Packet analysis {"connection_id":162363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02859"} 
[2026-08-22 12:54:33] local.INFO: Extracted packet for processing {"connection_id":162363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02859"} 
[2026-08-22 12:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119853784,"longitude_deg":75.676736,"latitude_deg":11.9853784,"altitude":43,"angle":186,"satellites":40,"speed":13,"hex_longitude":"2d1b5a80","hex_latitude":"0724d2d8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570132992001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14506393776160768,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923843880960,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:33] 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-22 12:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787383353000,"timestamp_ms":1787383353000,"timestamp_seconds":1787383353,"priority":1,"record_length":96,"hex_timestamp":"000001a028598ea8"} 
[2026-08-22 12: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-22 12:54:33] 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-22 12: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-22 12:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570132992001,"66":14450,"136":206,"83":42752,"24":13,"16":14506393776160768,"45":1971098923843880960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 12:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570132992001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:54:33] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 12:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14506393776160768,"km_value":14506393776160.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923843880960,"description":"Unknown IO ID 45"} 
[2026-08-22 12:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570132992001,"power":14450,"unknown_136":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1971098923843880960}} 
[2026-08-22 12:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":162363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:54:33] local.INFO: GPS data processed {"connection_id":162363,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:54:33] local.INFO: Acknowledgment sent {"connection_id":162363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:54:49] local.INFO: TCP Data received {"connection_id":160025,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:54:49] local.INFO: Processing buffer {"connection_id":160025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:54:49] local.INFO: IMEI packet received {"connection_id":160025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":160025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:54:53] local.INFO: TCP Data received {"connection_id":160944,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:54:53] local.INFO: Processing buffer {"connection_id":160944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:54:53] local.INFO: IMEI packet received {"connection_id":160944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":160944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:54:54] local.INFO: TCP Data received {"connection_id":160025,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:54:54] local.INFO: Processing buffer {"connection_id":160025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:54:54] local.INFO: IMEI packet received {"connection_id":160025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":160025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:54:55] local.INFO: TCP Data received {"connection_id":160025,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:54:55] local.INFO: Processing buffer {"connection_id":160025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285698d8012d7fabc005afe1b8001201212c..."} 
[2026-08-22 12:54:55] local.INFO: Packet analysis {"connection_id":160025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:54:55] local.INFO: Extracted packet for processing {"connection_id":160025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02856"} 
[2026-08-22 12:54:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":18,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570011648001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:54: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-22 12:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787383159000,"timestamp_ms":1787383159000,"timestamp_seconds":1787383159,"priority":1,"record_length":96,"hex_timestamp":"000001a0285698d8"} 
[2026-08-22 12: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-22 12: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-22 12: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-22 12: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-22 12: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-22 12: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-22 12:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:54:55] 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-22 12:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570011648001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570011648001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:54:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:54:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570011648001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":160025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:54:55] local.INFO: GPS data processed {"connection_id":160025,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:54:55] local.INFO: Acknowledgment sent {"connection_id":160025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:55:03] local.INFO: TCP Data received {"connection_id":160944,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:55:03] local.INFO: Processing buffer {"connection_id":160944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:55:03] local.INFO: IMEI packet received {"connection_id":160944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":160944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:55:05] local.INFO: TCP Data received {"connection_id":160944,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02859c558012d1b58000724c460002900c828..."} 
[2026-08-22 12:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02859c558012d1b58000724c460002900c828..."} 
[2026-08-22 12:55:05] local.INFO: Processing buffer {"connection_id":160944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02859c558012d1b58000724c460002900c828..."} 
[2026-08-22 12:55:05] local.INFO: Packet analysis {"connection_id":160944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02859"} 
[2026-08-22 12:55:05] local.INFO: Extracted packet for processing {"connection_id":160944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02859"} 
[2026-08-22 12:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756766720,"raw_latitude":119850080,"longitude_deg":75.676672,"latitude_deg":11.985008,"altitude":41,"angle":200,"satellites":40,"speed":7,"hex_longitude":"2d1b5800","hex_latitude":"0724c460","is_valid_coordinates":true} 
[2026-08-22 12:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570138368001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14506578459754496,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555098937344,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:05] 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-22 12:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787383367000,"timestamp_ms":1787383367000,"timestamp_seconds":1787383367,"priority":1,"record_length":96,"hex_timestamp":"000001a02859c558"} 
[2026-08-22 12:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-22 12:55: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-22 12:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570138368001,"66":14450,"136":206,"83":42752,"24":7,"16":14506578459754496,"45":1971028555098937344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 12:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570138368001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:55:05] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 12:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14506578459754496,"km_value":14506578459754.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555098937344,"description":"Unknown IO ID 45"} 
[2026-08-22 12:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570138368001,"power":14450,"unknown_136":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1971028555098937344}} 
[2026-08-22 12:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":160944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:55:05] local.INFO: GPS data processed {"connection_id":160944,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:55:05] local.INFO: Acknowledgment sent {"connection_id":160944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:55:06] local.INFO: TCP Data received {"connection_id":160944,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02859e0b0012d1b54000724bb08002a00d62a..."} 
[2026-08-22 12:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02859e0b0012d1b54000724bb08002a00d62a..."} 
[2026-08-22 12:55:06] local.INFO: Processing buffer {"connection_id":160944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02859e0b0012d1b54000724bb08002a00d62a..."} 
[2026-08-22 12:55:06] local.INFO: Packet analysis {"connection_id":160944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02859"} 
[2026-08-22 12:55:06] local.INFO: Extracted packet for processing {"connection_id":160944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02859"} 
[2026-08-22 12:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756765696,"raw_latitude":119847688,"longitude_deg":75.6765696,"latitude_deg":11.9847688,"altitude":42,"angle":214,"satellites":42,"speed":18,"hex_longitude":"2d1b5400","hex_latitude":"0724bb08","is_valid_coordinates":true} 
[2026-08-22 12:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570141952001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14506707308773376,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970324867656212480,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:06] 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-22 12:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787383374000,"timestamp_ms":1787383374000,"timestamp_seconds":1787383374,"priority":1,"record_length":96,"hex_timestamp":"000001a02859e0b0"} 
[2026-08-22 12:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:55:06] 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-22 12:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-22 12:55: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-22 12:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570141952001,"66":14428,"136":206,"83":42752,"24":18,"16":14506707308773376,"45":1970324867656212480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 12:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570141952001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:55:06] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 12:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14506707308773376,"km_value":14506707308773.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970324867656212480,"description":"Unknown IO ID 45"} 
[2026-08-22 12:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570141952001,"power":14428,"unknown_136":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1970324867656212480}} 
[2026-08-22 12:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":160944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:55:06] local.INFO: GPS data processed {"connection_id":160944,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:55:06] local.INFO: Acknowledgment sent {"connection_id":160944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:55:26] local.INFO: TCP Data received {"connection_id":160025,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:55:26] local.INFO: Processing buffer {"connection_id":160025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:55:26] local.INFO: Packet analysis {"connection_id":160025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:55:26] local.INFO: Extracted packet for processing {"connection_id":160025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:55:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570088704001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55: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-22 12:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787383460000,"timestamp_ms":1787383460000,"timestamp_seconds":1787383460,"priority":1,"record_length":96,"hex_timestamp":"000001a0285b30a0"} 
[2026-08-22 12: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-22 12:55: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-22 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 12:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:55:26] 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-22 12:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570088704001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570088704001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:55:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570088704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":160025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:55:26] local.INFO: GPS data processed {"connection_id":160025,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:55:26] local.INFO: Acknowledgment sent {"connection_id":160025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:55:37] local.INFO: TCP Data received {"connection_id":160944,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02859f438012d1b4e400724b4e0002a00e22a..."} 
[2026-08-22 12:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02859f438012d1b4e400724b4e0002a00e22a..."} 
[2026-08-22 12:55:37] local.INFO: Processing buffer {"connection_id":160944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02859f438012d1b4e400724b4e0002a00e22a..."} 
[2026-08-22 12:55:37] local.INFO: Packet analysis {"connection_id":160944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02859"} 
[2026-08-22 12:55:37] local.INFO: Extracted packet for processing {"connection_id":160944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02859"} 
[2026-08-22 12:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756764224,"raw_latitude":119846112,"longitude_deg":75.6764224,"latitude_deg":11.9846112,"altitude":42,"angle":226,"satellites":42,"speed":14,"hex_longitude":"2d1b4e40","hex_latitude":"0724b4e0","is_valid_coordinates":true} 
[2026-08-22 12:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570143744001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14506810387988480,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969198967748757504,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:37] 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-22 12:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787383379000,"timestamp_ms":1787383379000,"timestamp_seconds":1787383379,"priority":1,"record_length":96,"hex_timestamp":"000001a02859f438"} 
[2026-08-22 12:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:55:37] 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-22 12:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 12:55: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-22 12:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570143744001,"66":14070,"136":206,"83":42752,"24":14,"16":14506810387988480,"45":1969198967748757504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 12:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570143744001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:55:37] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 12:55:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14506810387988480,"km_value":14506810387988.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969198967748757504,"description":"Unknown IO ID 45"} 
[2026-08-22 12:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570143744001,"power":14070,"unknown_136":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1969198967748757504}} 
[2026-08-22 12:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":160944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:55:37] local.INFO: GPS data processed {"connection_id":160944,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:55:37] local.INFO: Acknowledgment sent {"connection_id":160944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:55:42] local.INFO: TCP Data received {"connection_id":159791,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159791,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:55:42] local.INFO: Processing buffer {"connection_id":159791,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:55:42] local.INFO: IMEI packet received {"connection_id":159791,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":159791,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:55:43] local.INFO: TCP Data received {"connection_id":159791,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0285ba5d0012d0b4fc007060128000f00cd19..."} 
[2026-08-22 12:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285ba5d0012d0b4fc007060128000f00cd19..."} 
[2026-08-22 12:55:43] local.INFO: Processing buffer {"connection_id":159791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285ba5d0012d0b4fc007060128000f00cd19..."} 
[2026-08-22 12:55:43] local.INFO: Packet analysis {"connection_id":159791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:55:43] local.INFO: Extracted packet for processing {"connection_id":159791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:55:43] local.INFO: GPS Element Parsed {"raw_longitude":755716032,"raw_latitude":117834024,"longitude_deg":75.5716032,"latitude_deg":11.7834024,"altitude":15,"angle":205,"satellites":25,"speed":3,"hex_longitude":"2d0b4fc0","hex_latitude":"07060128","is_valid_coordinates":true} 
[2026-08-22 12:55: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-22 12:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570173184001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29461585864949760,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815151562719590400,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:43] 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-22 12:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787383490000,"timestamp_ms":1787383490000,"timestamp_seconds":1787383490,"priority":1,"record_length":96,"hex_timestamp":"000001a0285ba5d0"} 
[2026-08-22 12:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:55:43] 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-22 12:55: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":103,"data_length":795,"current_offset":136} 
[2026-08-22 12:55:43] 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-22 12:55: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-22 12:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159791,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159791,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570173184001,"66":14439,"165":206,"94":10240,"24":3,"16":29461585864949760,"45":815151562719590400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-22 12:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570173184001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:55:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-22 12:55:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29461585864949760,"km_value":29461585864949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":815151562719590400,"description":"Unknown IO ID 45"} 
[2026-08-22 12:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570173184001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":815151562719590400}} 
[2026-08-22 12:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":159791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681117,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:55:43] local.INFO: GPS data processed {"connection_id":159791,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:55:43] local.INFO: Acknowledgment sent {"connection_id":159791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:55:49] local.INFO: TCP Data received {"connection_id":160945,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:55:49] local.INFO: Processing buffer {"connection_id":160945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:55:49] local.INFO: IMEI packet received {"connection_id":160945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":160945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:55:53] local.INFO: TCP Data received {"connection_id":162365,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:55:53] local.INFO: Processing buffer {"connection_id":162365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:55:53] local.INFO: IMEI packet received {"connection_id":162365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":162365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:55:54] local.INFO: TCP Data received {"connection_id":160945,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:55:54] local.INFO: Processing buffer {"connection_id":160945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:55:54] local.INFO: IMEI packet received {"connection_id":160945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":160945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:55:55] local.INFO: TCP Data received {"connection_id":160945,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:55:55] local.INFO: Processing buffer {"connection_id":160945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:55:55] local.INFO: Packet analysis {"connection_id":160945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:55:55] local.INFO: Extracted packet for processing {"connection_id":160945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:55:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570088704001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55: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-22 12:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787383460000,"timestamp_ms":1787383460000,"timestamp_seconds":1787383460,"priority":1,"record_length":96,"hex_timestamp":"000001a0285b30a0"} 
[2026-08-22 12:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:55: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-22 12:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 12:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:55: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-22 12:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570088704001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570088704001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:55:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570088704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":160945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:55:55] local.INFO: GPS data processed {"connection_id":160945,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:55:55] local.INFO: Acknowledgment sent {"connection_id":160945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:55:58] local.INFO: TCP Data received {"connection_id":162365,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:55:58] local.INFO: Processing buffer {"connection_id":162365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:55:58] local.INFO: IMEI packet received {"connection_id":162365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":162365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:55:59] local.INFO: TCP Data received {"connection_id":162365,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0285a3e70012d1b3ec00724a810002e00f328..."} 
[2026-08-22 12:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285a3e70012d1b3ec00724a810002e00f328..."} 
[2026-08-22 12:55:59] local.INFO: Processing buffer {"connection_id":162365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285a3e70012d1b3ec00724a810002e00f328..."} 
[2026-08-22 12:55:59] local.INFO: Packet analysis {"connection_id":162365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285a"} 
[2026-08-22 12:55:59] local.INFO: Extracted packet for processing {"connection_id":162365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285a"} 
[2026-08-22 12:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756760256,"raw_latitude":119842832,"longitude_deg":75.6760256,"latitude_deg":11.9842832,"altitude":46,"angle":243,"satellites":40,"speed":11,"hex_longitude":"2d1b3ec0","hex_latitude":"0724a810","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570145024001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14507055201124352,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967580486632267776,"note":"Value kept but may cause issues"} 
[2026-08-22 12:55:59] 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-22 12:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787383398000,"timestamp_ms":1787383398000,"timestamp_seconds":1787383398,"priority":1,"record_length":96,"hex_timestamp":"000001a0285a3e70"} 
[2026-08-22 12: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-22 12:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 12:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570145024001,"66":14189,"136":206,"83":42752,"24":11,"16":14507055201124352,"45":1967580486632267776},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 12:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570145024001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:55:59] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 12:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14507055201124352,"km_value":14507055201124.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967580486632267776,"description":"Unknown IO ID 45"} 
[2026-08-22 12:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570145024001,"power":14189,"unknown_136":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1967580486632267776}} 
[2026-08-22 12:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":162365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:55:59] local.INFO: GPS data processed {"connection_id":162365,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:55:59] local.INFO: Acknowledgment sent {"connection_id":162365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:56:20] local.INFO: TCP Data received {"connection_id":159791,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0285c9800012d0bb2400705c8c80011007819..."} 
[2026-08-22 12:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285c9800012d0bb2400705c8c80011007819..."} 
[2026-08-22 12:56:20] local.INFO: Processing buffer {"connection_id":159791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285c9800012d0bb2400705c8c80011007819..."} 
[2026-08-22 12:56:20] local.INFO: Packet analysis {"connection_id":159791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285c"} 
[2026-08-22 12:56:20] local.INFO: Extracted packet for processing {"connection_id":159791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285c"} 
[2026-08-22 12:56:20] local.INFO: GPS Element Parsed {"raw_longitude":755741248,"raw_latitude":117819592,"longitude_deg":75.5741248,"latitude_deg":11.7819592,"altitude":17,"angle":120,"satellites":25,"speed":37,"hex_longitude":"2d0bb240","hex_latitude":"0705c8c8","is_valid_coordinates":true} 
[2026-08-22 12:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570187264001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29463063333699584,"note":"Value kept but may cause issues"} 
[2026-08-22 12:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":834784442342123520,"note":"Value kept but may cause issues"} 
[2026-08-22 12:56:20] 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-22 12:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787383552000,"timestamp_ms":1787383552000,"timestamp_seconds":1787383552,"priority":1,"record_length":96,"hex_timestamp":"000001a0285c9800"} 
[2026-08-22 12:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:56: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-22 12:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 12:56:20] 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-22 12:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159791,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159791,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570187264001,"66":14396,"165":206,"94":10240,"24":37,"16":29463063333699584,"45":834784442342123520},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-22 12:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570187264001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:56:20] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-22 12:56:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29463063333699584,"km_value":29463063333699.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":834784442342123520,"description":"Unknown IO ID 45"} 
[2026-08-22 12:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570187264001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":834784442342123520}} 
[2026-08-22 12:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":159791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681120,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:56:20] local.INFO: GPS data processed {"connection_id":159791,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:56:20] local.INFO: Acknowledgment sent {"connection_id":159791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:56:26] local.INFO: TCP Data received {"connection_id":160945,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:56:26] local.INFO: Processing buffer {"connection_id":160945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:56:26] local.INFO: Packet analysis {"connection_id":160945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:56:26] local.INFO: Extracted packet for processing {"connection_id":160945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:56:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 12:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570088704001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:56: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-22 12:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787383460000,"timestamp_ms":1787383460000,"timestamp_seconds":1787383460,"priority":1,"record_length":96,"hex_timestamp":"000001a0285b30a0"} 
[2026-08-22 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-22 12:56: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-22 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 12:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 12:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 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-22 12:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570088704001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570088704001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:56:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570088704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":160945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:56:26] local.INFO: GPS data processed {"connection_id":160945,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:56:26] local.INFO: Acknowledgment sent {"connection_id":160945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:56:31] local.INFO: TCP Data received {"connection_id":162365,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0285a51f8012d1b39000724a450003000e429..."} 
[2026-08-22 12:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285a51f8012d1b39000724a450003000e429..."} 
[2026-08-22 12:56:31] local.INFO: Processing buffer {"connection_id":162365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285a51f8012d1b39000724a450003000e429..."} 
[2026-08-22 12:56:31] local.INFO: Packet analysis {"connection_id":162365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285a"} 
[2026-08-22 12:56:31] local.INFO: Extracted packet for processing {"connection_id":162365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285a"} 
[2026-08-22 12:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756758784,"raw_latitude":119841872,"longitude_deg":75.6758784,"latitude_deg":11.9841872,"altitude":48,"angle":228,"satellites":41,"speed":11,"hex_longitude":"2d1b3900","hex_latitude":"0724a450","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570149888001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14507141100470272,"note":"Value kept but may cause issues"} 
[2026-08-22 12:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963217624492412928,"note":"Value kept but may cause issues"} 
[2026-08-22 12:56:31] 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-22 12:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787383403000,"timestamp_ms":1787383403000,"timestamp_seconds":1787383403,"priority":1,"record_length":96,"hex_timestamp":"000001a0285a51f8"} 
[2026-08-22 12: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-22 12:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 12:56:31] 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-22 12: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-22 12: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-22 12:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570149888001,"66":14265,"136":206,"83":42752,"24":11,"16":14507141100470272,"45":1963217624492412928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 12:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570149888001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:56:31] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 12:56:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14507141100470272,"km_value":14507141100470.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963217624492412928,"description":"Unknown IO ID 45"} 
[2026-08-22 12:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570149888001,"power":14265,"unknown_136":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1963217624492412928}} 
[2026-08-22 12:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":162365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:56:31] local.INFO: GPS data processed {"connection_id":162365,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:56:31] local.INFO: Acknowledgment sent {"connection_id":162365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:56:49] local.INFO: TCP Data received {"connection_id":159792,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:56:49] local.INFO: Processing buffer {"connection_id":159792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:56:49] local.INFO: IMEI packet received {"connection_id":159792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":159792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:56:54] local.INFO: TCP Data received {"connection_id":159792,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:56:54] local.INFO: Processing buffer {"connection_id":159792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:56:54] local.INFO: IMEI packet received {"connection_id":159792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":159792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:56:55] local.INFO: TCP Data received {"connection_id":159792,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:56:55] local.INFO: Processing buffer {"connection_id":159792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:56:55] local.INFO: Packet analysis {"connection_id":159792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:56:55] local.INFO: Extracted packet for processing {"connection_id":159792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:56:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570088704001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:56: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-22 12:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787383460000,"timestamp_ms":1787383460000,"timestamp_seconds":1787383460,"priority":1,"record_length":96,"hex_timestamp":"000001a0285b30a0"} 
[2026-08-22 12: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-22 12: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-22 12:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 12:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:56:55] 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-22 12:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570088704001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570088704001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:56:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:56:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570088704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":159792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:56:55] local.INFO: GPS data processed {"connection_id":159792,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:56:55] local.INFO: Acknowledgment sent {"connection_id":159792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:56:58] local.INFO: TCP Data received {"connection_id":160946,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:56:58] local.INFO: Processing buffer {"connection_id":160946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:56:58] local.INFO: IMEI packet received {"connection_id":160946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":160946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:57:03] local.INFO: TCP Data received {"connection_id":160946,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:57:03] local.INFO: Processing buffer {"connection_id":160946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:57:03] local.INFO: IMEI packet received {"connection_id":160946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":160946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:57:04] local.INFO: TCP Data received {"connection_id":160946,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0285aa018012d1b1d4007248e98003400ea28..."} 
[2026-08-22 12:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285aa018012d1b1d4007248e98003400ea28..."} 
[2026-08-22 12:57:04] local.INFO: Processing buffer {"connection_id":160946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285aa018012d1b1d4007248e98003400ea28..."} 
[2026-08-22 12:57:04] local.INFO: Packet analysis {"connection_id":160946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285a"} 
[2026-08-22 12:57:04] local.INFO: Extracted packet for processing {"connection_id":160946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285a"} 
[2026-08-22 12:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756751680,"raw_latitude":119836312,"longitude_deg":75.675168,"latitude_deg":11.9836312,"altitude":52,"angle":234,"satellites":40,"speed":15,"hex_longitude":"2d1b1d40","hex_latitude":"07248e98","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570151168001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14507570597199872,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961599143376080896,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57:04] 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-22 12:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787383423000,"timestamp_ms":1787383423000,"timestamp_seconds":1787383423,"priority":1,"record_length":96,"hex_timestamp":"000001a0285aa018"} 
[2026-08-22 12: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-22 12:57: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-22 12: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 12:57:04] 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-22 12: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-22 12: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-22 12:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570151168001,"66":14428,"176":206,"83":42752,"24":15,"16":14507570597199872,"45":1961599143376080896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 12:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570151168001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:57:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 12:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14507570597199872,"km_value":14507570597199.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961599143376080896,"description":"Unknown IO ID 45"} 
[2026-08-22 12:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570151168001,"power":14428,"unknown_176":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1961599143376080896}} 
[2026-08-22 12:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":160946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:57:04] local.INFO: GPS data processed {"connection_id":160946,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:57:04] local.INFO: Acknowledgment sent {"connection_id":160946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:57:09] local.INFO: TCP Data received {"connection_id":160946,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0285af220012d1b100007248440003300e529..."} 
[2026-08-22 12:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285af220012d1b100007248440003300e529..."} 
[2026-08-22 12:57:09] local.INFO: Processing buffer {"connection_id":160946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285af220012d1b100007248440003300e529..."} 
[2026-08-22 12:57:09] local.INFO: Packet analysis {"connection_id":160946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285a"} 
[2026-08-22 12:57:09] local.INFO: Extracted packet for processing {"connection_id":160946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285a"} 
[2026-08-22 12:57:09] local.INFO: GPS Element Parsed {"raw_longitude":756748288,"raw_latitude":119833664,"longitude_deg":75.6748288,"latitude_deg":11.9833664,"altitude":51,"angle":229,"satellites":41,"speed":0,"hex_longitude":"2d1b1000","hex_latitude":"07248440","is_valid_coordinates":true} 
[2026-08-22 12:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570156288001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14507781050597376,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953788212770936832,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57:09] 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-22 12:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787383444000,"timestamp_ms":1787383444000,"timestamp_seconds":1787383444,"priority":1,"record_length":96,"hex_timestamp":"000001a0285af220"} 
[2026-08-22 12:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 12:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 12:57:09] 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-22 12:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570156288001,"66":14428,"176":206,"83":42752,"24":0,"16":14507781050597376,"45":1953788212770936832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 12:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570156288001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:57:09] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 12:57:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14507781050597376,"km_value":14507781050597.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953788212770936832,"description":"Unknown IO ID 45"} 
[2026-08-22 12:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570156288001,"power":14428,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1953788212770936832}} 
[2026-08-22 12:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":160946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:57:09] local.INFO: GPS data processed {"connection_id":160946,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:57:09] local.INFO: Acknowledgment sent {"connection_id":160946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:57:26] local.INFO: TCP Data received {"connection_id":159792,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:57:26] local.INFO: Processing buffer {"connection_id":159792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:57:26] local.INFO: Packet analysis {"connection_id":159792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:57:26] local.INFO: Extracted packet for processing {"connection_id":159792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 12:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570088704001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57: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-22 12:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787383460000,"timestamp_ms":1787383460000,"timestamp_seconds":1787383460,"priority":1,"record_length":96,"hex_timestamp":"000001a0285b30a0"} 
[2026-08-22 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-22 12:57: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-22 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 12:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 12:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:57:26] 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-22 12:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570088704001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570088704001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:57:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570088704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":159792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:57:26] local.INFO: GPS data processed {"connection_id":159792,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:57:26] local.INFO: Acknowledgment sent {"connection_id":159792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:57:47] local.INFO: TCP Data received {"connection_id":162366,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:57:47] local.INFO: Processing buffer {"connection_id":162366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:57:47] local.INFO: IMEI packet received {"connection_id":162366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":162366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:57:49] local.INFO: TCP Data received {"connection_id":162367,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:57:49] local.INFO: Processing buffer {"connection_id":162367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:57:49] local.INFO: IMEI packet received {"connection_id":162367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":162367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:57:50] local.INFO: TCP Data received {"connection_id":162366,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:57:50] local.INFO: Processing buffer {"connection_id":162366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:57:50] local.INFO: IMEI packet received {"connection_id":162366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 12:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":162366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:57:51] local.INFO: TCP Data received {"connection_id":162366,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0285da1a0012d0c6f80070590180021002f1a..."} 
[2026-08-22 12:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285da1a0012d0c6f80070590180021002f1a..."} 
[2026-08-22 12:57:51] local.INFO: Processing buffer {"connection_id":162366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285da1a0012d0c6f80070590180021002f1a..."} 
[2026-08-22 12:57:51] local.INFO: Packet analysis {"connection_id":162366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285d"} 
[2026-08-22 12:57:51] local.INFO: Extracted packet for processing {"connection_id":162366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285d"} 
[2026-08-22 12:57:51] local.INFO: GPS Element Parsed {"raw_longitude":755789696,"raw_latitude":117805080,"longitude_deg":75.5789696,"latitude_deg":11.780508,"altitude":33,"angle":47,"satellites":26,"speed":12,"hex_longitude":"2d0c6f80","hex_latitude":"07059018","is_valid_coordinates":true} 
[2026-08-22 12:57: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-22 12:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570205952001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29465644609044480,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894808981121136640,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57:51] 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-22 12:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787383620000,"timestamp_ms":1787383620000,"timestamp_seconds":1787383620,"priority":1,"record_length":96,"hex_timestamp":"000001a0285da1a0"} 
[2026-08-22 12:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:57: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-22 12:57: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-22 12:57: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-22 12:57: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-22 12:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570205952001,"66":14374,"164":206,"94":10240,"24":12,"16":29465644609044480,"45":894808981121136640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-22 12:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570205952001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:57:51] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-22 12:57:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29465644609044480,"km_value":29465644609044.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":894808981121136640,"description":"Unknown IO ID 45"} 
[2026-08-22 12:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570205952001,"power":14374,"unknown_164":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":894808981121136640}} 
[2026-08-22 12:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":162366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681127,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:57:51] local.INFO: GPS data processed {"connection_id":162366,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:57:51] local.INFO: Acknowledgment sent {"connection_id":162366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:57:53] local.INFO: TCP Data received {"connection_id":162368,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:57:53] local.INFO: Processing buffer {"connection_id":162368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:57:53] local.INFO: IMEI packet received {"connection_id":162368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":162368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:57:54] local.INFO: TCP Data received {"connection_id":162367,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:57:54] local.INFO: Processing buffer {"connection_id":162367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:57:54] local.INFO: IMEI packet received {"connection_id":162367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":162367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:57:55] local.INFO: TCP Data received {"connection_id":162367,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:57:55] local.INFO: Processing buffer {"connection_id":162367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:57:55] local.INFO: Packet analysis {"connection_id":162367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:57:55] local.INFO: Extracted packet for processing {"connection_id":162367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570088704001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57: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-22 12:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787383460000,"timestamp_ms":1787383460000,"timestamp_seconds":1787383460,"priority":1,"record_length":96,"hex_timestamp":"000001a0285b30a0"} 
[2026-08-22 12:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:57: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-22 12:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 12:57: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-22 12:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:57:55] 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-22 12:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570088704001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570088704001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:57:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:57:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570088704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":162367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:57:55] local.INFO: GPS data processed {"connection_id":162367,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:57:55] local.INFO: Acknowledgment sent {"connection_id":162367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:57:58] local.INFO: TCP Data received {"connection_id":162368,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:57:58] local.INFO: Processing buffer {"connection_id":162368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:57:58] local.INFO: IMEI packet received {"connection_id":162368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":162368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:57:59] local.INFO: TCP Data received {"connection_id":162368,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0285b1160012d1b0b4007247fc0003400d92b..."} 
[2026-08-22 12:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285b1160012d1b0b4007247fc0003400d92b..."} 
[2026-08-22 12:57:59] local.INFO: Processing buffer {"connection_id":162368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285b1160012d1b0b4007247fc0003400d92b..."} 
[2026-08-22 12:57:59] local.INFO: Packet analysis {"connection_id":162368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:57:59] local.INFO: Extracted packet for processing {"connection_id":162368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:57:59] local.INFO: GPS Element Parsed {"raw_longitude":756747072,"raw_latitude":119832512,"longitude_deg":75.6747072,"latitude_deg":11.9832512,"altitude":52,"angle":217,"satellites":43,"speed":14,"hex_longitude":"2d1b0b40","hex_latitude":"07247fc0","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570161664001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14507862654976000,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1950058669328842752,"note":"Value kept but may cause issues"} 
[2026-08-22 12:57:59] 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-22 12:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787383452000,"timestamp_ms":1787383452000,"timestamp_seconds":1787383452,"priority":1,"record_length":96,"hex_timestamp":"000001a0285b1160"} 
[2026-08-22 12: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-22 12:57: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-22 12:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 12:57: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-22 12: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-22 12: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-22 12:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570161664001,"66":14461,"176":206,"83":42752,"24":14,"16":14507862654976000,"45":1950058669328842752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 12:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570161664001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:57:59] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 12:57:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14507862654976000,"km_value":14507862654976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1950058669328842752,"description":"Unknown IO ID 45"} 
[2026-08-22 12:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570161664001,"power":14461,"unknown_176":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1950058669328842752}} 
[2026-08-22 12:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":162368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:57:59] local.INFO: GPS data processed {"connection_id":162368,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:57:59] local.INFO: Acknowledgment sent {"connection_id":162368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:58:22] local.INFO: TCP Data received {"connection_id":162366,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0285eaf28012d0ced400705d2900012001f1b..."} 
[2026-08-22 12:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285eaf28012d0ced400705d2900012001f1b..."} 
[2026-08-22 12:58:22] local.INFO: Processing buffer {"connection_id":162366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285eaf28012d0ced400705d2900012001f1b..."} 
[2026-08-22 12:58:22] local.INFO: Packet analysis {"connection_id":162366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285e"} 
[2026-08-22 12:58:22] local.INFO: Extracted packet for processing {"connection_id":162366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285e"} 
[2026-08-22 12:58:22] local.INFO: GPS Element Parsed {"raw_longitude":755821888,"raw_latitude":117822096,"longitude_deg":75.5821888,"latitude_deg":11.7822096,"altitude":18,"angle":31,"satellites":27,"speed":24,"hex_longitude":"2d0ced40","hex_latitude":"0705d290","is_valid_coordinates":true} 
[2026-08-22 12:58: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-22 12:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570224128001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29467701898379264,"note":"Value kept but may cause issues"} 
[2026-08-22 12:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931189621865347072,"note":"Value kept but may cause issues"} 
[2026-08-22 12:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 12:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787383689000,"timestamp_ms":1787383689000,"timestamp_seconds":1787383689,"priority":1,"record_length":96,"hex_timestamp":"000001a0285eaf28"} 
[2026-08-22 12:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:58:22] 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-22 12:58: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":71,"data_length":795,"current_offset":136} 
[2026-08-22 12:58:22] 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-22 12:58: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-22 12:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 12:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 12:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 12:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570224128001,"66":14407,"220":206,"94":10240,"24":24,"16":29467701898379264,"45":931189621865347072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-08-22 12:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 12:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 12:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570224128001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:58:22] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-22 12:58:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 12:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29467701898379264,"km_value":29467701898379.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":931189621865347072,"description":"Unknown IO ID 45"} 
[2026-08-22 12:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570224128001,"power":14407,"unknown_220":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":931189621865347072}} 
[2026-08-22 12:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":162366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681130,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:58:22] local.INFO: GPS data processed {"connection_id":162366,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:58:22] local.INFO: Acknowledgment sent {"connection_id":162366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:58:26] local.INFO: TCP Data received {"connection_id":162367,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:58:26] local.INFO: Processing buffer {"connection_id":162367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:58:26] local.INFO: Packet analysis {"connection_id":162367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:58:26] local.INFO: Extracted packet for processing {"connection_id":162367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:58:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570088704001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:58: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-22 12:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787383460000,"timestamp_ms":1787383460000,"timestamp_seconds":1787383460,"priority":1,"record_length":96,"hex_timestamp":"000001a0285b30a0"} 
[2026-08-22 12: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-22 12:58: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-22 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 12:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:58: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-22 12:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570088704001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570088704001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:58:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570088704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":162367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:58:26] local.INFO: GPS data processed {"connection_id":162367,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:58:26] local.INFO: Acknowledgment sent {"connection_id":162367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:58:32] local.INFO: TCP Data received {"connection_id":162368,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0285b5b98012d1af3c007246578003300df29..."} 
[2026-08-22 12:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285b5b98012d1af3c007246578003300df29..."} 
[2026-08-22 12:58:32] local.INFO: Processing buffer {"connection_id":162368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285b5b98012d1af3c007246578003300df29..."} 
[2026-08-22 12:58:32] local.INFO: Packet analysis {"connection_id":162368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:58:32] local.INFO: Extracted packet for processing {"connection_id":162368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:58:32] local.INFO: GPS Element Parsed {"raw_longitude":756741056,"raw_latitude":119825784,"longitude_deg":75.6741056,"latitude_deg":11.9825784,"altitude":51,"angle":223,"satellites":41,"speed":10,"hex_longitude":"2d1af3c0","hex_latitude":"07246578","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570163712001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508296446672896,"note":"Value kept but may cause issues"} 
[2026-08-22 12:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948721663189172224,"note":"Value kept but may cause issues"} 
[2026-08-22 12:58:32] 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-22 12:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787383471000,"timestamp_ms":1787383471000,"timestamp_seconds":1787383471,"priority":1,"record_length":96,"hex_timestamp":"000001a0285b5b98"} 
[2026-08-22 12: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-22 12:58: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-22 12: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":125,"data_length":795,"current_offset":136} 
[2026-08-22 12:58:32] 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-22 12: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-22 12: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-22 12:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570163712001,"66":13254,"176":206,"83":42752,"24":10,"16":14508296446672896,"45":1948721663189172224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 12:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570163712001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:58:32] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 12:58:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508296446672896,"km_value":14508296446672.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948721663189172224,"description":"Unknown IO ID 45"} 
[2026-08-22 12:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570163712001,"power":13254,"unknown_176":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1948721663189172224}} 
[2026-08-22 12:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":162368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:58:32] local.INFO: GPS data processed {"connection_id":162368,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:58:32] local.INFO: Acknowledgment sent {"connection_id":162368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:58:37] local.INFO: TCP Data received {"connection_id":160947,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160947,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:58:37] local.INFO: Processing buffer {"connection_id":160947,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:58:37] local.INFO: IMEI packet received {"connection_id":160947,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":160947,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:58:54] local.INFO: TCP Data received {"connection_id":162369,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:58:54] local.INFO: Processing buffer {"connection_id":162369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:58:54] local.INFO: IMEI packet received {"connection_id":162369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":162369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:58:58] local.INFO: TCP Data received {"connection_id":162370,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:58:58] local.INFO: Processing buffer {"connection_id":162370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:58:58] local.INFO: IMEI packet received {"connection_id":162370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":162370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:58:59] local.INFO: TCP Data received {"connection_id":162369,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:58:59] local.INFO: Processing buffer {"connection_id":162369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:58:59] local.INFO: IMEI packet received {"connection_id":162369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":162369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:59:00] local.INFO: TCP Data received {"connection_id":162369,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:59:00] local.INFO: Processing buffer {"connection_id":162369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:59:00] local.INFO: Packet analysis {"connection_id":162369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:59:00] local.INFO: Extracted packet for processing {"connection_id":162369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570088704001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:00] 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-22 12:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787383460000,"timestamp_ms":1787383460000,"timestamp_seconds":1787383460,"priority":1,"record_length":96,"hex_timestamp":"000001a0285b30a0"} 
[2026-08-22 12: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-22 12:59: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-22 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 12:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:59: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-22 12:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570088704001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570088704001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:59:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:59:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570088704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":162369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:59:00] local.INFO: GPS data processed {"connection_id":162369,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:59:00] local.INFO: Acknowledgment sent {"connection_id":162369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:59:03] local.INFO: TCP Data received {"connection_id":162370,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:59:03] local.INFO: Processing buffer {"connection_id":162370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:59:03] local.INFO: IMEI packet received {"connection_id":162370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":162370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:59:04] local.INFO: TCP Data received {"connection_id":162370,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0285b6f20012d1aee4007245ea0003300d327..."} 
[2026-08-22 12:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285b6f20012d1aee4007245ea0003300d327..."} 
[2026-08-22 12:59:04] local.INFO: Processing buffer {"connection_id":162370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285b6f20012d1aee4007245ea0003300d327..."} 
[2026-08-22 12:59:04] local.INFO: Packet analysis {"connection_id":162370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:59:04] local.INFO: Extracted packet for processing {"connection_id":162370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:59:04] local.INFO: GPS Element Parsed {"raw_longitude":756739648,"raw_latitude":119824032,"longitude_deg":75.6739648,"latitude_deg":11.9824032,"altitude":51,"angle":211,"satellites":39,"speed":22,"hex_longitude":"2d1aee40","hex_latitude":"07245ea0","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570168576001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508403820855296,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942107001234749440,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:04] 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-22 12:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787383476000,"timestamp_ms":1787383476000,"timestamp_seconds":1787383476,"priority":1,"record_length":96,"hex_timestamp":"000001a0285b6f20"} 
[2026-08-22 12: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-22 12:59: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-22 12: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 12:59:04] 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-22 12: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-22 12: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-22 12:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570168576001,"66":13015,"137":206,"83":42752,"24":22,"16":14508403820855296,"45":1942107001234749440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 12:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570168576001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:59:04] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 12:59:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508403820855296,"km_value":14508403820855.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942107001234749440,"description":"Unknown IO ID 45"} 
[2026-08-22 12:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570168576001,"power":13015,"unknown_137":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1942107001234749440}} 
[2026-08-22 12:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":162370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:59:04] local.INFO: GPS data processed {"connection_id":162370,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:59:04] local.INFO: Acknowledgment sent {"connection_id":162370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:59:04] local.INFO: TCP Data received {"connection_id":162369,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:59:04] local.INFO: Processing buffer {"connection_id":162369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:59:04] local.INFO: Packet analysis {"connection_id":162369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:59:04] local.INFO: Extracted packet for processing {"connection_id":162369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:59:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12: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-22 12:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570088704001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:04] 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-22 12:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787383460000,"timestamp_ms":1787383460000,"timestamp_seconds":1787383460,"priority":1,"record_length":96,"hex_timestamp":"000001a0285b30a0"} 
[2026-08-22 12: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-22 12:59: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-22 12: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":80,"data_length":795,"current_offset":136} 
[2026-08-22 12:59: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-22 12: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-22 12: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-22 12:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:59: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-22 12:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570088704001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570088704001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:59:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570088704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":162369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:59:04] local.INFO: GPS data processed {"connection_id":162369,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:59:04] local.INFO: Acknowledgment sent {"connection_id":162369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:59:07] local.INFO: TCP Data received {"connection_id":160948,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160948,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:59:07] local.INFO: Processing buffer {"connection_id":160948,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 12:59:07] local.INFO: IMEI packet received {"connection_id":160948,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 12:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":160948,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:59:08] local.INFO: TCP Data received {"connection_id":162370,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0285b7ec0012d1ae98007245638003400ce27..."} 
[2026-08-22 12:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285b7ec0012d1ae98007245638003400ce27..."} 
[2026-08-22 12:59:08] local.INFO: Processing buffer {"connection_id":162370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285b7ec0012d1ae98007245638003400ce27..."} 
[2026-08-22 12:59:08] local.INFO: Packet analysis {"connection_id":162370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:59:08] local.INFO: Extracted packet for processing {"connection_id":162370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:59:08] local.INFO: GPS Element Parsed {"raw_longitude":756738432,"raw_latitude":119821880,"longitude_deg":75.6738432,"latitude_deg":11.982188,"altitude":52,"angle":206,"satellites":39,"speed":26,"hex_longitude":"2d1ae980","hex_latitude":"07245638","is_valid_coordinates":true} 
[2026-08-22 12:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570169856001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1940558888862392320,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:08] 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-22 12:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787383480000,"timestamp_ms":1787383480000,"timestamp_seconds":1787383480,"priority":1,"record_length":96,"hex_timestamp":"000001a0285b7ec0"} 
[2026-08-22 12:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:59: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-22 12:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 12:59:08] 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-22 12:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570169856001,"66":12950,"137":206,"83":42752,"24":26,"16":14508524079939584,"45":1940558888862392320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 12:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570169856001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:59:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 12:59:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1940558888862392320,"description":"Unknown IO ID 45"} 
[2026-08-22 12:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570169856001,"power":12950,"unknown_137":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1940558888862392320}} 
[2026-08-22 12:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":162370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:59:08] local.INFO: GPS data processed {"connection_id":162370,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:59:08] local.INFO: Acknowledgment sent {"connection_id":162370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:59:49] local.INFO: TCP Data received {"connection_id":160026,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:59:49] local.INFO: Processing buffer {"connection_id":160026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:59:49] local.INFO: IMEI packet received {"connection_id":160026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 12:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":160026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:59:53] local.INFO: TCP Data received {"connection_id":160027,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:59:53] local.INFO: Processing buffer {"connection_id":160027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:59:53] local.INFO: IMEI packet received {"connection_id":160027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 12:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":160027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 12:59:54] local.INFO: TCP Data received {"connection_id":160026,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:59:54] local.INFO: Processing buffer {"connection_id":160026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 12:59:54] local.INFO: IMEI packet received {"connection_id":160026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 12:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":160026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:59:55] local.INFO: TCP Data received {"connection_id":160026,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:59:55] local.INFO: Processing buffer {"connection_id":160026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285b30a0012d7fabc005afe1b80000012128..."} 
[2026-08-22 12:59:55] local.INFO: Packet analysis {"connection_id":160026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:59:55] local.INFO: Extracted packet for processing {"connection_id":160026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:59:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 12:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 12:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570088704001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59: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-22 12:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787383460000,"timestamp_ms":1787383460000,"timestamp_seconds":1787383460,"priority":1,"record_length":96,"hex_timestamp":"000001a0285b30a0"} 
[2026-08-22 12:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 12:59: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-22 12:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 12:59: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-22 12:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 12:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 12:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 12:59:55] 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-22 12:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 12:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 12:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570088704001,"66":25680,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 12:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 12:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 12:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570088704001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:59:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 12:59:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 12:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 12:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570088704001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 12:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":160026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:59:55] local.INFO: GPS data processed {"connection_id":160026,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:59:55] local.INFO: Acknowledgment sent {"connection_id":160026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 12:59:58] local.INFO: TCP Data received {"connection_id":160027,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:59:58] local.INFO: Processing buffer {"connection_id":160027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 12:59:58] local.INFO: IMEI packet received {"connection_id":160027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 12:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":160027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 12:59:59] local.INFO: TCP Data received {"connection_id":160027,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0285b7ec0012d1ae98007245638003400ce27..."} 
[2026-08-22 12:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285b7ec0012d1ae98007245638003400ce27..."} 
[2026-08-22 12:59:59] local.INFO: Processing buffer {"connection_id":160027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285b7ec0012d1ae98007245638003400ce27..."} 
[2026-08-22 12:59:59] local.INFO: Packet analysis {"connection_id":160027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:59:59] local.INFO: Extracted packet for processing {"connection_id":160027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 12:59:59] local.INFO: GPS Element Parsed {"raw_longitude":756738432,"raw_latitude":119821880,"longitude_deg":75.6738432,"latitude_deg":11.982188,"altitude":52,"angle":206,"satellites":39,"speed":26,"hex_longitude":"2d1ae980","hex_latitude":"07245638","is_valid_coordinates":true} 
[2026-08-22 12:59:59] 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-22 12:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570170880001,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939221882722465792,"note":"Value kept but may cause issues"} 
[2026-08-22 12:59:59] 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-22 12:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787383480000,"timestamp_ms":1787383480000,"timestamp_seconds":1787383480,"priority":1,"record_length":96,"hex_timestamp":"000001a0285b7ec0"} 
[2026-08-22 12: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-22 12:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 12: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 12:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 12: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-22 12: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-22 12:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 12:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 12:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 12:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 12:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 12:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 12:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570170880001,"66":12950,"137":206,"83":42752,"24":26,"16":14508524079939584,"45":1939221882722465792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 12:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 12:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 12:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570170880001,"description":"Unknown IO ID 0"} 
[2026-08-22 12:59:59] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 12:59:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 12:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 12:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939221882722465792,"description":"Unknown IO ID 45"} 
[2026-08-22 12:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570170880001,"power":12950,"unknown_137":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1939221882722465792}} 
[2026-08-22 12:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":160027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 12:59:59] local.INFO: GPS data processed {"connection_id":160027,"processed":1,"errors":0,"total":1} 
[2026-08-22 12:59:59] local.INFO: Acknowledgment sent {"connection_id":160027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:00:26] local.INFO: TCP Data received {"connection_id":160026,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:00:26] local.INFO: Processing buffer {"connection_id":160026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:00:26] local.INFO: Packet analysis {"connection_id":160026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:00:26] local.INFO: Extracted packet for processing {"connection_id":160026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:00:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570165760001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:00: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-22 13:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787383761000,"timestamp_ms":1787383761000,"timestamp_seconds":1787383761,"priority":1,"record_length":96,"hex_timestamp":"000001a0285fc868"} 
[2026-08-22 13: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-22 13:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 13:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:00: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-22 13:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570165760001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570165760001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:00:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:00:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570165760001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":160026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:00:26] local.INFO: GPS data processed {"connection_id":160026,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:00:26] local.INFO: Acknowledgment sent {"connection_id":160026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:00:30] local.INFO: TCP Data received {"connection_id":160027,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0285b7ec0012d1ae98007245638003400ce27..."} 
[2026-08-22 13:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285b7ec0012d1ae98007245638003400ce27..."} 
[2026-08-22 13:00:30] local.INFO: Processing buffer {"connection_id":160027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285b7ec0012d1ae98007245638003400ce27..."} 
[2026-08-22 13:00:30] local.INFO: Packet analysis {"connection_id":160027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 13:00:30] local.INFO: Extracted packet for processing {"connection_id":160027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285b"} 
[2026-08-22 13:00:30] local.INFO: GPS Element Parsed {"raw_longitude":756738432,"raw_latitude":119821880,"longitude_deg":75.6738432,"latitude_deg":11.982188,"altitude":52,"angle":206,"satellites":39,"speed":26,"hex_longitude":"2d1ae980","hex_latitude":"07245638","is_valid_coordinates":true} 
[2026-08-22 13:00:30] 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-22 13:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570170880001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939221882722465792,"note":"Value kept but may cause issues"} 
[2026-08-22 13:00: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-22 13:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787383480000,"timestamp_ms":1787383480000,"timestamp_seconds":1787383480,"priority":1,"record_length":96,"hex_timestamp":"000001a0285b7ec0"} 
[2026-08-22 13: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-22 13:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 13:00:30] 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-22 13: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-22 13: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-22 13:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570170880001,"66":12950,"137":206,"83":42752,"24":26,"16":14508524079939584,"45":1939221882722465792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570170880001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:00:30] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939221882722465792,"description":"Unknown IO ID 45"} 
[2026-08-22 13:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570170880001,"power":12950,"unknown_137":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1939221882722465792}} 
[2026-08-22 13:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":160027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:00:30] local.INFO: GPS data processed {"connection_id":160027,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:00:30] local.INFO: Acknowledgment sent {"connection_id":160027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:00:49] local.INFO: TCP Data received {"connection_id":159794,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:00:49] local.INFO: Processing buffer {"connection_id":159794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:00:49] local.INFO: IMEI packet received {"connection_id":159794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":159794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:00:53] local.INFO: TCP Data received {"connection_id":160949,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:00:53] local.INFO: Processing buffer {"connection_id":160949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:00:53] local.INFO: IMEI packet received {"connection_id":160949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":160949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:00:54] local.INFO: TCP Data received {"connection_id":159794,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:00:54] local.INFO: Processing buffer {"connection_id":159794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:00:54] local.INFO: IMEI packet received {"connection_id":159794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":159794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:00:55] local.INFO: TCP Data received {"connection_id":159794,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:00:55] local.INFO: Processing buffer {"connection_id":159794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:00:55] local.INFO: Packet analysis {"connection_id":159794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:00:55] local.INFO: Extracted packet for processing {"connection_id":159794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570165760001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:00: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-22 13:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787383761000,"timestamp_ms":1787383761000,"timestamp_seconds":1787383761,"priority":1,"record_length":96,"hex_timestamp":"000001a0285fc868"} 
[2026-08-22 13:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:00: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-22 13:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 13:00: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-22 13:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:00:55] 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-22 13:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570165760001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570165760001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570165760001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":159794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:00:55] local.INFO: GPS data processed {"connection_id":159794,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:00:55] local.INFO: Acknowledgment sent {"connection_id":159794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:00:58] local.INFO: TCP Data received {"connection_id":160949,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:00:58] local.INFO: Processing buffer {"connection_id":160949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:00:58] local.INFO: IMEI packet received {"connection_id":160949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":160949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:00:59] local.INFO: TCP Data received {"connection_id":160949,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:00:59] local.INFO: Processing buffer {"connection_id":160949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:00:59] local.INFO: Packet analysis {"connection_id":160949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:00:59] local.INFO: Extracted packet for processing {"connection_id":160949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:00:59] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":47,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570170880001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939221882722465792,"note":"Value kept but may cause issues"} 
[2026-08-22 13:00:59] 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-22 13:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787383786000,"timestamp_ms":1787383786000,"timestamp_seconds":1787383786,"priority":1,"record_length":96,"hex_timestamp":"000001a028602a10"} 
[2026-08-22 13: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-22 13:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 13:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570170880001,"66":2166,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1939221882722465792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570170880001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:00:59] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:00:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939221882722465792,"description":"Unknown IO ID 45"} 
[2026-08-22 13:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570170880001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1939221882722465792}} 
[2026-08-22 13:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":160949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:00:59] local.INFO: GPS data processed {"connection_id":160949,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:00:59] local.INFO: Acknowledgment sent {"connection_id":160949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:01:26] local.INFO: TCP Data received {"connection_id":159794,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:01:26] local.INFO: Processing buffer {"connection_id":159794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:01:26] local.INFO: Packet analysis {"connection_id":159794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:01:26] local.INFO: Extracted packet for processing {"connection_id":159794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570165760001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:01: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-22 13:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787383761000,"timestamp_ms":1787383761000,"timestamp_seconds":1787383761,"priority":1,"record_length":96,"hex_timestamp":"000001a0285fc868"} 
[2026-08-22 13: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-22 13:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":80,"data_length":795,"current_offset":136} 
[2026-08-22 13:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:01:26] 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-22 13:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570165760001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570165760001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:01:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570165760001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":159794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:01:26] local.INFO: GPS data processed {"connection_id":159794,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:01:26] local.INFO: Acknowledgment sent {"connection_id":159794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:01:30] local.INFO: TCP Data received {"connection_id":160949,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:01:30] local.INFO: Processing buffer {"connection_id":160949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:01:30] local.INFO: Packet analysis {"connection_id":160949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:01:30] local.INFO: Extracted packet for processing {"connection_id":160949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:01:30] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":47,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570170880001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939221882722465792,"note":"Value kept but may cause issues"} 
[2026-08-22 13:01: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-22 13:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787383786000,"timestamp_ms":1787383786000,"timestamp_seconds":1787383786,"priority":1,"record_length":96,"hex_timestamp":"000001a028602a10"} 
[2026-08-22 13: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-22 13:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 13:01:30] 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-22 13: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-22 13: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-22 13:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570170880001,"66":2166,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1939221882722465792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570170880001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:01:30] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:01:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939221882722465792,"description":"Unknown IO ID 45"} 
[2026-08-22 13:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570170880001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1939221882722465792}} 
[2026-08-22 13:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":160949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:01:30] local.INFO: GPS data processed {"connection_id":160949,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:01:30] local.INFO: Acknowledgment sent {"connection_id":160949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:01:49] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:01:49] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:01:49] local.INFO: IMEI packet received {"connection_id":160028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":160028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:01:54] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:01:54] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:01:54] local.INFO: IMEI packet received {"connection_id":160028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":160028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:01:55] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:01:55] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:01:55] local.INFO: Packet analysis {"connection_id":160028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:01:55] local.INFO: Extracted packet for processing {"connection_id":160028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:01:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570165760001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:01: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-22 13:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787383761000,"timestamp_ms":1787383761000,"timestamp_seconds":1787383761,"priority":1,"record_length":96,"hex_timestamp":"000001a0285fc868"} 
[2026-08-22 13: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-22 13:01: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-22 13:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 13:01: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-22 13: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-22 13: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-22 13:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:01:55] 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-22 13:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570165760001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570165760001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:01:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:01:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570165760001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":160028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:01:55] local.INFO: GPS data processed {"connection_id":160028,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:01:55] local.INFO: Acknowledgment sent {"connection_id":160028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:01:58] local.INFO: TCP Data received {"connection_id":159795,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:01:58] local.INFO: Processing buffer {"connection_id":159795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:01:58] local.INFO: IMEI packet received {"connection_id":159795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":159795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:02:03] local.INFO: TCP Data received {"connection_id":159795,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:02:03] local.INFO: Processing buffer {"connection_id":159795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:02:03] local.INFO: IMEI packet received {"connection_id":159795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":159795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:02:04] local.INFO: TCP Data received {"connection_id":159795,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:02:04] local.INFO: Processing buffer {"connection_id":159795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:02:04] local.INFO: Packet analysis {"connection_id":159795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:02:04] local.INFO: Extracted packet for processing {"connection_id":159795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":47,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570170880001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939221882722465792,"note":"Value kept but may cause issues"} 
[2026-08-22 13:02:04] 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-22 13:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787383786000,"timestamp_ms":1787383786000,"timestamp_seconds":1787383786,"priority":1,"record_length":96,"hex_timestamp":"000001a028602a10"} 
[2026-08-22 13: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-22 13:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 13:02:04] 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-22 13: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-22 13: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-22 13:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570170880001,"66":2166,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1939221882722465792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570170880001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:02:04] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:02:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939221882722465792,"description":"Unknown IO ID 45"} 
[2026-08-22 13:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570170880001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1939221882722465792}} 
[2026-08-22 13:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":159795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:02:04] local.INFO: GPS data processed {"connection_id":159795,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:02:04] local.INFO: Acknowledgment sent {"connection_id":159795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:02:08] local.INFO: TCP Data received {"connection_id":159795,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:02:08] local.INFO: Processing buffer {"connection_id":159795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:02:08] local.INFO: Packet analysis {"connection_id":159795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:02:08] local.INFO: Extracted packet for processing {"connection_id":159795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":47,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570170880001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939221882722465792,"note":"Value kept but may cause issues"} 
[2026-08-22 13:02:08] 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-22 13:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787383786000,"timestamp_ms":1787383786000,"timestamp_seconds":1787383786,"priority":1,"record_length":96,"hex_timestamp":"000001a028602a10"} 
[2026-08-22 13:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 13:02:08] 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-22 13:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570170880001,"66":2166,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1939221882722465792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570170880001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:02:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:02:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939221882722465792,"description":"Unknown IO ID 45"} 
[2026-08-22 13:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570170880001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1939221882722465792}} 
[2026-08-22 13:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":159795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:02:08] local.INFO: GPS data processed {"connection_id":159795,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:02:08] local.INFO: Acknowledgment sent {"connection_id":159795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:02:26] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:02:26] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:02:26] local.INFO: Packet analysis {"connection_id":160028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:02:26] local.INFO: Extracted packet for processing {"connection_id":160028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:02:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570165760001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:02: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-22 13:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787383761000,"timestamp_ms":1787383761000,"timestamp_seconds":1787383761,"priority":1,"record_length":96,"hex_timestamp":"000001a0285fc868"} 
[2026-08-22 13: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-22 13:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 13:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:02:26] 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-22 13:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570165760001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570165760001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:02:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570165760001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":160028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:02:26] local.INFO: GPS data processed {"connection_id":160028,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:02:26] local.INFO: Acknowledgment sent {"connection_id":160028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:02:49] local.INFO: TCP Data received {"connection_id":160950,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:02:49] local.INFO: Processing buffer {"connection_id":160950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:02:49] local.INFO: IMEI packet received {"connection_id":160950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":160950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:02:53] local.INFO: TCP Data received {"connection_id":160030,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:02:53] local.INFO: Processing buffer {"connection_id":160030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:02:53] local.INFO: IMEI packet received {"connection_id":160030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":160030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:02:54] local.INFO: TCP Data received {"connection_id":160950,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:02:54] local.INFO: Processing buffer {"connection_id":160950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:02:54] local.INFO: IMEI packet received {"connection_id":160950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":160950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:02:55] local.INFO: TCP Data received {"connection_id":160950,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:02:55] local.INFO: Processing buffer {"connection_id":160950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:02:55] local.INFO: Packet analysis {"connection_id":160950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:02:55] local.INFO: Extracted packet for processing {"connection_id":160950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570165760001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:02: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-22 13:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787383761000,"timestamp_ms":1787383761000,"timestamp_seconds":1787383761,"priority":1,"record_length":96,"hex_timestamp":"000001a0285fc868"} 
[2026-08-22 13:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:02: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-22 13:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 13: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-22 13:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:02:55] local.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-22 13:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570165760001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570165760001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:02:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:02:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570165760001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":160950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:02:55] local.INFO: GPS data processed {"connection_id":160950,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:02:55] local.INFO: Acknowledgment sent {"connection_id":160950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:02:58] local.INFO: TCP Data received {"connection_id":160030,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:02:58] local.INFO: Processing buffer {"connection_id":160030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:02:58] local.INFO: IMEI packet received {"connection_id":160030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":160030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:02:59] local.INFO: TCP Data received {"connection_id":160030,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:02:59] local.INFO: Processing buffer {"connection_id":160030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:02:59] local.INFO: Packet analysis {"connection_id":160030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:02:59] local.INFO: Extracted packet for processing {"connection_id":160030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":47,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570170880001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939221882722465792,"note":"Value kept but may cause issues"} 
[2026-08-22 13:02:59] 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-22 13:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787383786000,"timestamp_ms":1787383786000,"timestamp_seconds":1787383786,"priority":1,"record_length":96,"hex_timestamp":"000001a028602a10"} 
[2026-08-22 13: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-22 13:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 13:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570170880001,"66":2166,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1939221882722465792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570170880001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:02:59] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:02:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939221882722465792,"description":"Unknown IO ID 45"} 
[2026-08-22 13:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570170880001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1939221882722465792}} 
[2026-08-22 13:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":160030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:02:59] local.INFO: GPS data processed {"connection_id":160030,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:02:59] local.INFO: Acknowledgment sent {"connection_id":160030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:03:26] local.INFO: TCP Data received {"connection_id":160950,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:03:26] local.INFO: Processing buffer {"connection_id":160950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:03:26] local.INFO: Packet analysis {"connection_id":160950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:03:26] local.INFO: Extracted packet for processing {"connection_id":160950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:03:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 13:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570165760001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:03: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-22 13:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787383761000,"timestamp_ms":1787383761000,"timestamp_seconds":1787383761,"priority":1,"record_length":96,"hex_timestamp":"000001a0285fc868"} 
[2026-08-22 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-22 13:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 13:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 13:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:03: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-22 13:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570165760001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570165760001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:03:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:03:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570165760001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":160950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:03:26] local.INFO: GPS data processed {"connection_id":160950,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:03:26] local.INFO: Acknowledgment sent {"connection_id":160950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:03:30] local.INFO: TCP Data received {"connection_id":160030,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:03:30] local.INFO: Processing buffer {"connection_id":160030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:03:30] local.INFO: Packet analysis {"connection_id":160030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:03:30] local.INFO: Extracted packet for processing {"connection_id":160030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:03:30] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":47,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570170880001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939221882722465792,"note":"Value kept but may cause issues"} 
[2026-08-22 13:03: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-22 13:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787383786000,"timestamp_ms":1787383786000,"timestamp_seconds":1787383786,"priority":1,"record_length":96,"hex_timestamp":"000001a028602a10"} 
[2026-08-22 13: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-22 13:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 13:03:30] 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-22 13: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-22 13: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-22 13:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570170880001,"66":2166,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1939221882722465792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570170880001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:03:30] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:03:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939221882722465792,"description":"Unknown IO ID 45"} 
[2026-08-22 13:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570170880001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1939221882722465792}} 
[2026-08-22 13:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":160030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:03:30] local.INFO: GPS data processed {"connection_id":160030,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:03:30] local.INFO: Acknowledgment sent {"connection_id":160030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:03:53] local.INFO: TCP Data received {"connection_id":159797,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:03:53] local.INFO: Processing buffer {"connection_id":159797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:03:53] local.INFO: IMEI packet received {"connection_id":159797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":159797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:03:54] local.INFO: TCP Data received {"connection_id":159796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:03:54] local.INFO: Processing buffer {"connection_id":159796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:03:54] local.INFO: IMEI packet received {"connection_id":159796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":159796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:03:58] local.INFO: TCP Data received {"connection_id":159797,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:03:58] local.INFO: Processing buffer {"connection_id":159797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:03:58] local.INFO: IMEI packet received {"connection_id":159797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":159797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:03:59] local.INFO: TCP Data received {"connection_id":159797,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:03:59] local.INFO: Processing buffer {"connection_id":159797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:03:59] local.INFO: Packet analysis {"connection_id":159797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:03:59] local.INFO: Extracted packet for processing {"connection_id":159797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":47,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570170880001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939221882722465792,"note":"Value kept but may cause issues"} 
[2026-08-22 13:03:59] 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-22 13:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787383786000,"timestamp_ms":1787383786000,"timestamp_seconds":1787383786,"priority":1,"record_length":96,"hex_timestamp":"000001a028602a10"} 
[2026-08-22 13: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-22 13:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 13:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570170880001,"66":2166,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1939221882722465792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570170880001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:03:59] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:03:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939221882722465792,"description":"Unknown IO ID 45"} 
[2026-08-22 13:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570170880001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1939221882722465792}} 
[2026-08-22 13:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":159797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:03:59] local.INFO: GPS data processed {"connection_id":159797,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:03:59] local.INFO: Acknowledgment sent {"connection_id":159797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:03:59] local.INFO: TCP Data received {"connection_id":159796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:03:59] local.INFO: Processing buffer {"connection_id":159796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:03:59] local.INFO: IMEI packet received {"connection_id":159796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":159796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:04:01] local.INFO: TCP Data received {"connection_id":159796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:04:02] local.INFO: Processing buffer {"connection_id":159796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:04:02] local.INFO: Packet analysis {"connection_id":159796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:04:02] local.INFO: Extracted packet for processing {"connection_id":159796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570165760001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:04:02] 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-22 13:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787383761000,"timestamp_ms":1787383761000,"timestamp_seconds":1787383761,"priority":1,"record_length":96,"hex_timestamp":"000001a0285fc868"} 
[2026-08-22 13: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-22 13:04: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-22 13: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 13:04: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-22 13: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-22 13: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-22 13:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570165760001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570165760001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:04:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:04:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570165760001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":159796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:04:02] local.INFO: GPS data processed {"connection_id":159796,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:04:02] local.INFO: Acknowledgment sent {"connection_id":159796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:04:04] local.INFO: TCP Data received {"connection_id":159796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:04:04] local.INFO: Processing buffer {"connection_id":159796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:04:04] local.INFO: Packet analysis {"connection_id":159796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:04:04] local.INFO: Extracted packet for processing {"connection_id":159796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:04:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570165760001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:04:04] 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-22 13:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787383761000,"timestamp_ms":1787383761000,"timestamp_seconds":1787383761,"priority":1,"record_length":96,"hex_timestamp":"000001a0285fc868"} 
[2026-08-22 13: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-22 13: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-22 13: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-22 13: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-22 13: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-22 13: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-22 13:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570165760001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570165760001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:04:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:04:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570165760001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":159796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:04:04] local.INFO: GPS data processed {"connection_id":159796,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:04:04] local.INFO: Acknowledgment sent {"connection_id":159796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:04:30] local.INFO: TCP Data received {"connection_id":159797,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:04:30] local.INFO: Processing buffer {"connection_id":159797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:04:30] local.INFO: Packet analysis {"connection_id":159797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:04:30] local.INFO: Extracted packet for processing {"connection_id":159797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:04:30] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":47,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570170880001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939221882722465792,"note":"Value kept but may cause issues"} 
[2026-08-22 13:04: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-22 13:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787383786000,"timestamp_ms":1787383786000,"timestamp_seconds":1787383786,"priority":1,"record_length":96,"hex_timestamp":"000001a028602a10"} 
[2026-08-22 13: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-22 13:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 13:04:30] 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-22 13: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-22 13: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-22 13:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570170880001,"66":2166,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1939221882722465792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570170880001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:04:30] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:04:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939221882722465792,"description":"Unknown IO ID 45"} 
[2026-08-22 13:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570170880001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1939221882722465792}} 
[2026-08-22 13:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":159797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:04:30] local.INFO: GPS data processed {"connection_id":159797,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:04:30] local.INFO: Acknowledgment sent {"connection_id":159797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:04:49] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:04:49] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:04:49] local.INFO: IMEI packet received {"connection_id":160031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":160031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:04:53] local.INFO: TCP Data received {"connection_id":162373,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:04:53] local.INFO: Processing buffer {"connection_id":162373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:04:53] local.INFO: IMEI packet received {"connection_id":162373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":162373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:04:54] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:04:54] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:04:54] local.INFO: IMEI packet received {"connection_id":160031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":160031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:04:55] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:04:55] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0285fc868012d7fabc005afe1b8001301212b..."} 
[2026-08-22 13:04:55] local.INFO: Packet analysis {"connection_id":160031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:04:55] local.INFO: Extracted packet for processing {"connection_id":160031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0285f"} 
[2026-08-22 13:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 13:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570165760001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:04: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-22 13:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787383761000,"timestamp_ms":1787383761000,"timestamp_seconds":1787383761,"priority":1,"record_length":96,"hex_timestamp":"000001a0285fc868"} 
[2026-08-22 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-22 13:04: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-22 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 13: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-22 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-22 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-22 13:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:04:55] local.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-22 13:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570165760001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570165760001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:04:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:04:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570165760001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":160031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:04:55] local.INFO: GPS data processed {"connection_id":160031,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:04:55] local.INFO: Acknowledgment sent {"connection_id":160031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:04:58] local.INFO: TCP Data received {"connection_id":162373,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:04:58] local.INFO: Processing buffer {"connection_id":162373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:04:58] local.INFO: IMEI packet received {"connection_id":162373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":162373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:04:59] local.INFO: TCP Data received {"connection_id":162373,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:04:59] local.INFO: Processing buffer {"connection_id":162373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028602a10012d1ac18007242e38002f00d62e..."} 
[2026-08-22 13:04:59] local.INFO: Packet analysis {"connection_id":162373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:04:59] local.INFO: Extracted packet for processing {"connection_id":162373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02860"} 
[2026-08-22 13:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":47,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570170880001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939221882722465792,"note":"Value kept but may cause issues"} 
[2026-08-22 13:04:59] 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-22 13:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787383786000,"timestamp_ms":1787383786000,"timestamp_seconds":1787383786,"priority":1,"record_length":96,"hex_timestamp":"000001a028602a10"} 
[2026-08-22 13: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-22 13:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 13:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570170880001,"66":2166,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1939221882722465792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570170880001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:04:59] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939221882722465792,"description":"Unknown IO ID 45"} 
[2026-08-22 13:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570170880001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1939221882722465792}} 
[2026-08-22 13:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":162373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:04:59] local.INFO: GPS data processed {"connection_id":162373,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:04:59] local.INFO: Acknowledgment sent {"connection_id":162373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:05:12] local.INFO: TCP Data received {"connection_id":160951,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160951,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:05:12] local.INFO: Processing buffer {"connection_id":160951,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:05:12] local.INFO: IMEI packet received {"connection_id":160951,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":160951,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:05:16] local.INFO: TCP Data received {"connection_id":160032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160032,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:05:16] local.INFO: Processing buffer {"connection_id":160032,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:05:16] local.INFO: IMEI packet received {"connection_id":160032,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":160032,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:05:17] local.INFO: TCP Data received {"connection_id":160032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160032,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:05:17] local.INFO: Processing buffer {"connection_id":160032,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:05:17] local.INFO: IMEI packet received {"connection_id":160032,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":160032,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:05:25] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:05:25] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:05:25] local.INFO: Packet analysis {"connection_id":160031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:05:25] local.INFO: Extracted packet for processing {"connection_id":160031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:05:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570242816001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:05: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-22 13:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787384062000,"timestamp_ms":1787384062000,"timestamp_seconds":1787384062,"priority":1,"record_length":96,"hex_timestamp":"000001a028646030"} 
[2026-08-22 13: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-22 13:05: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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:05: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-22 13: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-22 13: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-22 13:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:05: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-22 13:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570242816001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570242816001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:05:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:05:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570242816001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":160031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:05:25] local.INFO: GPS data processed {"connection_id":160031,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:05:25] local.INFO: Acknowledgment sent {"connection_id":160031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:05:30] local.INFO: TCP Data received {"connection_id":162373,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:05:30] local.INFO: Processing buffer {"connection_id":162373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:05:30] local.INFO: Packet analysis {"connection_id":162373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:05:30] local.INFO: Extracted packet for processing {"connection_id":162373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:05:30] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":45,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570249216001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927962883651418112,"note":"Value kept but may cause issues"} 
[2026-08-22 13:05: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-22 13:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787384087000,"timestamp_ms":1787384087000,"timestamp_seconds":1787384087,"priority":1,"record_length":96,"hex_timestamp":"000001a02864c1d8"} 
[2026-08-22 13:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 13:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 13:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570249216001,"66":2166,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1927962883651418112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570249216001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:05:30] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:05:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927962883651418112,"description":"Unknown IO ID 45"} 
[2026-08-22 13:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570249216001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1927962883651418112}} 
[2026-08-22 13:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":162373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:05:30] local.INFO: GPS data processed {"connection_id":162373,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:05:30] local.INFO: Acknowledgment sent {"connection_id":162373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:05:47] local.INFO: TCP Data received {"connection_id":160033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160033,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:05:47] local.INFO: Processing buffer {"connection_id":160033,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:05:47] local.INFO: IMEI packet received {"connection_id":160033,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":160033,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:05:49] local.INFO: TCP Data received {"connection_id":160034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:05:49] local.INFO: Processing buffer {"connection_id":160034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:05:49] local.INFO: IMEI packet received {"connection_id":160034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":160034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:05:54] local.INFO: TCP Data received {"connection_id":160034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:05:54] local.INFO: Processing buffer {"connection_id":160034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:05:54] local.INFO: IMEI packet received {"connection_id":160034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":160034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:05:54] local.INFO: TCP Data received {"connection_id":160034,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:05:54] local.INFO: Processing buffer {"connection_id":160034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:05:54] local.INFO: Packet analysis {"connection_id":160034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:05:54] local.INFO: Extracted packet for processing {"connection_id":160034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:05:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570242816001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:05:54] 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-22 13:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787384062000,"timestamp_ms":1787384062000,"timestamp_seconds":1787384062,"priority":1,"record_length":96,"hex_timestamp":"000001a028646030"} 
[2026-08-22 13: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-22 13:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 13: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-22 13: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-22 13:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:05:54] local.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-22 13:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570242816001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570242816001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:05:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:05:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570242816001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":160034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:05:54] local.INFO: GPS data processed {"connection_id":160034,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:05:54] local.INFO: Acknowledgment sent {"connection_id":160034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:05:58] local.INFO: TCP Data received {"connection_id":162374,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:05:58] local.INFO: Processing buffer {"connection_id":162374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:05:58] local.INFO: IMEI packet received {"connection_id":162374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":162374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:06:04] local.INFO: TCP Data received {"connection_id":162374,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:06:04] local.INFO: Processing buffer {"connection_id":162374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:06:04] local.INFO: IMEI packet received {"connection_id":162374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":162374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:06:05] local.INFO: TCP Data received {"connection_id":162374,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:06:05] local.INFO: Processing buffer {"connection_id":162374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:06:05] local.INFO: Packet analysis {"connection_id":162374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:06:05] local.INFO: Extracted packet for processing {"connection_id":162374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":45,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570249216001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927962883651418112,"note":"Value kept but may cause issues"} 
[2026-08-22 13:06:05] 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-22 13:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787384087000,"timestamp_ms":1787384087000,"timestamp_seconds":1787384087,"priority":1,"record_length":96,"hex_timestamp":"000001a02864c1d8"} 
[2026-08-22 13:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 13:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 13:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570249216001,"66":2166,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1927962883651418112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570249216001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:06:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927962883651418112,"description":"Unknown IO ID 45"} 
[2026-08-22 13:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570249216001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1927962883651418112}} 
[2026-08-22 13:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":162374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:06:05] local.INFO: GPS data processed {"connection_id":162374,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:06:05] local.INFO: Acknowledgment sent {"connection_id":162374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:06:25] local.INFO: TCP Data received {"connection_id":160034,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:06:25] local.INFO: Processing buffer {"connection_id":160034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:06:25] local.INFO: Packet analysis {"connection_id":160034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:06:25] local.INFO: Extracted packet for processing {"connection_id":160034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:06:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570242816001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:06: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-22 13:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787384062000,"timestamp_ms":1787384062000,"timestamp_seconds":1787384062,"priority":1,"record_length":96,"hex_timestamp":"000001a028646030"} 
[2026-08-22 13: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-22 13:06: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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:06: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-22 13: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-22 13: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-22 13:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:06: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-22 13:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570242816001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570242816001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:06:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:06:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570242816001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":160034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:06:25] local.INFO: GPS data processed {"connection_id":160034,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:06:25] local.INFO: Acknowledgment sent {"connection_id":160034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:06:49] local.INFO: TCP Data received {"connection_id":160953,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:06:49] local.INFO: Processing buffer {"connection_id":160953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:06:49] local.INFO: IMEI packet received {"connection_id":160953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":160953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:06:53] local.INFO: TCP Data received {"connection_id":159798,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:06:53] local.INFO: Processing buffer {"connection_id":159798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:06:53] local.INFO: IMEI packet received {"connection_id":159798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":159798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:06:54] local.INFO: TCP Data received {"connection_id":160953,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:06:54] local.INFO: Processing buffer {"connection_id":160953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:06:54] local.INFO: IMEI packet received {"connection_id":160953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":160953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:06:55] local.INFO: TCP Data received {"connection_id":160953,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:06:55] local.INFO: Processing buffer {"connection_id":160953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:06:55] local.INFO: Packet analysis {"connection_id":160953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:06:55] local.INFO: Extracted packet for processing {"connection_id":160953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570242816001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:06: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-22 13:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787384062000,"timestamp_ms":1787384062000,"timestamp_seconds":1787384062,"priority":1,"record_length":96,"hex_timestamp":"000001a028646030"} 
[2026-08-22 13:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:06: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-22 13:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:06: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-22 13:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:06:55] 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-22 13:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570242816001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570242816001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:06:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:06:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570242816001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":160953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:06:55] local.INFO: GPS data processed {"connection_id":160953,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:06:55] local.INFO: Acknowledgment sent {"connection_id":160953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:06:58] local.INFO: TCP Data received {"connection_id":159798,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:06:58] local.INFO: Processing buffer {"connection_id":159798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:06:58] local.INFO: IMEI packet received {"connection_id":159798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":159798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:06:59] local.INFO: TCP Data received {"connection_id":159798,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:06:59] local.INFO: Processing buffer {"connection_id":159798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:06:59] local.INFO: Packet analysis {"connection_id":159798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:06:59] local.INFO: Extracted packet for processing {"connection_id":159798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":45,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570249216001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927962883651418112,"note":"Value kept but may cause issues"} 
[2026-08-22 13:06:59] 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-22 13:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787384087000,"timestamp_ms":1787384087000,"timestamp_seconds":1787384087,"priority":1,"record_length":96,"hex_timestamp":"000001a02864c1d8"} 
[2026-08-22 13: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-22 13:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 13:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 13: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-22 13: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-22 13:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570249216001,"66":2166,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1927962883651418112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570249216001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:06:59] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927962883651418112,"description":"Unknown IO ID 45"} 
[2026-08-22 13:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570249216001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1927962883651418112}} 
[2026-08-22 13:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":159798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:06:59] local.INFO: GPS data processed {"connection_id":159798,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:06:59] local.INFO: Acknowledgment sent {"connection_id":159798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:07:26] local.INFO: TCP Data received {"connection_id":160953,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:07:26] local.INFO: Processing buffer {"connection_id":160953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:07:26] local.INFO: Packet analysis {"connection_id":160953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:07:26] local.INFO: Extracted packet for processing {"connection_id":160953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:07:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570242816001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:07: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-22 13:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787384062000,"timestamp_ms":1787384062000,"timestamp_seconds":1787384062,"priority":1,"record_length":96,"hex_timestamp":"000001a028646030"} 
[2026-08-22 13: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-22 13:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:07:26] 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-22 13:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570242816001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570242816001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:07:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:07:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570242816001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":160953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:07:26] local.INFO: GPS data processed {"connection_id":160953,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:07:26] local.INFO: Acknowledgment sent {"connection_id":160953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:07:30] local.INFO: TCP Data received {"connection_id":159798,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:07:30] local.INFO: Processing buffer {"connection_id":159798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:07:30] local.INFO: Packet analysis {"connection_id":159798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:07:30] local.INFO: Extracted packet for processing {"connection_id":159798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:07:30] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":45,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570249216001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927962883651418112,"note":"Value kept but may cause issues"} 
[2026-08-22 13:07: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-22 13:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787384087000,"timestamp_ms":1787384087000,"timestamp_seconds":1787384087,"priority":1,"record_length":96,"hex_timestamp":"000001a02864c1d8"} 
[2026-08-22 13: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-22 13:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 13:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 13: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-22 13: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-22 13:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570249216001,"66":2166,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1927962883651418112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570249216001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:07:30] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:07:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927962883651418112,"description":"Unknown IO ID 45"} 
[2026-08-22 13:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570249216001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1927962883651418112}} 
[2026-08-22 13:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":159798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:07:30] local.INFO: GPS data processed {"connection_id":159798,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:07:30] local.INFO: Acknowledgment sent {"connection_id":159798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:07:49] local.INFO: TCP Data received {"connection_id":160954,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:07:49] local.INFO: Processing buffer {"connection_id":160954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:07:49] local.INFO: IMEI packet received {"connection_id":160954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":160954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:07:53] local.INFO: TCP Data received {"connection_id":162375,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:07:53] local.INFO: Processing buffer {"connection_id":162375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:07:53] local.INFO: IMEI packet received {"connection_id":162375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":162375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:07:57] local.INFO: TCP Data received {"connection_id":160954,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:07:57] local.INFO: Processing buffer {"connection_id":160954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:07:57] local.INFO: IMEI packet received {"connection_id":160954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":160954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:07:58] local.INFO: TCP Data received {"connection_id":160954,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:07:58] local.INFO: Processing buffer {"connection_id":160954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:07:58] local.INFO: Packet analysis {"connection_id":160954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:07:58] local.INFO: Extracted packet for processing {"connection_id":160954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 13:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570242816001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:07:58] 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-22 13:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787384062000,"timestamp_ms":1787384062000,"timestamp_seconds":1787384062,"priority":1,"record_length":96,"hex_timestamp":"000001a028646030"} 
[2026-08-22 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-22 13:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:07: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-22 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-22 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-22 13:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:07: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-22 13:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570242816001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570242816001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:07:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:07:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570242816001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":160954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:07:58] local.INFO: GPS data processed {"connection_id":160954,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:07:58] local.INFO: Acknowledgment sent {"connection_id":160954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:07:58] local.INFO: TCP Data received {"connection_id":162375,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:07:58] local.INFO: Processing buffer {"connection_id":162375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:07:58] local.INFO: IMEI packet received {"connection_id":162375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":162375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:07:59] local.INFO: TCP Data received {"connection_id":162375,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:07:59] local.INFO: Processing buffer {"connection_id":162375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:07:59] local.INFO: Packet analysis {"connection_id":162375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:07:59] local.INFO: Extracted packet for processing {"connection_id":162375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":45,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570249216001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927962883651418112,"note":"Value kept but may cause issues"} 
[2026-08-22 13:07:59] 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-22 13:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787384087000,"timestamp_ms":1787384087000,"timestamp_seconds":1787384087,"priority":1,"record_length":96,"hex_timestamp":"000001a02864c1d8"} 
[2026-08-22 13: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-22 13:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 13:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 13: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-22 13: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-22 13:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570249216001,"66":2166,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1927962883651418112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570249216001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:07:59] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:07:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927962883651418112,"description":"Unknown IO ID 45"} 
[2026-08-22 13:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570249216001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1927962883651418112}} 
[2026-08-22 13:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":162375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:07:59] local.INFO: GPS data processed {"connection_id":162375,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:07:59] local.INFO: Acknowledgment sent {"connection_id":162375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:08:31] local.INFO: TCP Data received {"connection_id":162375,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:08:31] local.INFO: Processing buffer {"connection_id":162375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:08:31] local.INFO: Packet analysis {"connection_id":162375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:08:31] local.INFO: Extracted packet for processing {"connection_id":162375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":45,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570249216001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927962883651418112,"note":"Value kept but may cause issues"} 
[2026-08-22 13:08:31] 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-22 13:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787384087000,"timestamp_ms":1787384087000,"timestamp_seconds":1787384087,"priority":1,"record_length":96,"hex_timestamp":"000001a02864c1d8"} 
[2026-08-22 13: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-22 13:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 13:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 13: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-22 13: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-22 13:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570249216001,"66":2166,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1927962883651418112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570249216001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:08:31] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:08:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927962883651418112,"description":"Unknown IO ID 45"} 
[2026-08-22 13:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570249216001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1927962883651418112}} 
[2026-08-22 13:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":162375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:08:31] local.INFO: GPS data processed {"connection_id":162375,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:08:31] local.INFO: Acknowledgment sent {"connection_id":162375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:08:32] local.INFO: TCP Data received {"connection_id":160954,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:08:32] local.INFO: Processing buffer {"connection_id":160954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:08:32] local.INFO: Packet analysis {"connection_id":160954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:08:32] local.INFO: Extracted packet for processing {"connection_id":160954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570242816001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:08: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-22 13:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787384062000,"timestamp_ms":1787384062000,"timestamp_seconds":1787384062,"priority":1,"record_length":96,"hex_timestamp":"000001a028646030"} 
[2026-08-22 13: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-22 13:08: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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 13: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-22 13: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-22 13:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:08: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-22 13:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570242816001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570242816001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:08:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570242816001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":160954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:08:32] local.INFO: GPS data processed {"connection_id":160954,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:08:32] local.INFO: Acknowledgment sent {"connection_id":160954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:08:49] local.INFO: TCP Data received {"connection_id":162376,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:08:49] local.INFO: Processing buffer {"connection_id":162376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:08:49] local.INFO: IMEI packet received {"connection_id":162376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":162376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:08:53] local.INFO: TCP Data received {"connection_id":160036,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:08:53] local.INFO: Processing buffer {"connection_id":160036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:08:53] local.INFO: IMEI packet received {"connection_id":160036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":160036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:08:54] local.INFO: TCP Data received {"connection_id":162376,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:08:54] local.INFO: Processing buffer {"connection_id":162376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:08:54] local.INFO: IMEI packet received {"connection_id":162376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":162376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:08:55] local.INFO: TCP Data received {"connection_id":162376,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:08:55] local.INFO: Processing buffer {"connection_id":162376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:08:55] local.INFO: Packet analysis {"connection_id":162376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:08:55] local.INFO: Extracted packet for processing {"connection_id":162376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570242816001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:08: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-22 13:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787384062000,"timestamp_ms":1787384062000,"timestamp_seconds":1787384062,"priority":1,"record_length":96,"hex_timestamp":"000001a028646030"} 
[2026-08-22 13: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-22 13: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-22 13: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":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:08: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-22 13: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-22 13: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-22 13:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:08: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-22 13:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570242816001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570242816001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:08:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:08:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570242816001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":162376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:08:55] local.INFO: GPS data processed {"connection_id":162376,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:08:55] local.INFO: Acknowledgment sent {"connection_id":162376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:08:58] local.INFO: TCP Data received {"connection_id":160036,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:08:58] local.INFO: Processing buffer {"connection_id":160036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:08:58] local.INFO: IMEI packet received {"connection_id":160036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":160036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:08:59] local.INFO: TCP Data received {"connection_id":160036,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:08:59] local.INFO: Processing buffer {"connection_id":160036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02864c1d8012d1ac18007242e38002d00d62d..."} 
[2026-08-22 13:08:59] local.INFO: Packet analysis {"connection_id":160036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:08:59] local.INFO: Extracted packet for processing {"connection_id":160036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":45,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570249216001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927962883651418112,"note":"Value kept but may cause issues"} 
[2026-08-22 13:08:59] 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-22 13:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787384087000,"timestamp_ms":1787384087000,"timestamp_seconds":1787384087,"priority":1,"record_length":96,"hex_timestamp":"000001a02864c1d8"} 
[2026-08-22 13: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-22 13:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 13:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 13: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-22 13: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-22 13:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570249216001,"66":2166,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1927962883651418112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570249216001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:08:59] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927962883651418112,"description":"Unknown IO ID 45"} 
[2026-08-22 13:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570249216001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1927962883651418112}} 
[2026-08-22 13:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":160036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:08:59] local.INFO: GPS data processed {"connection_id":160036,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:08:59] local.INFO: Acknowledgment sent {"connection_id":160036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:09:26] local.INFO: TCP Data received {"connection_id":162376,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:09:26] local.INFO: Processing buffer {"connection_id":162376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:09:26] local.INFO: Packet analysis {"connection_id":162376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:09:26] local.INFO: Extracted packet for processing {"connection_id":162376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 13:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570242816001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:09: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-22 13:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787384062000,"timestamp_ms":1787384062000,"timestamp_seconds":1787384062,"priority":1,"record_length":96,"hex_timestamp":"000001a028646030"} 
[2026-08-22 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-22 13:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 13:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:09: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-22 13:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570242816001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570242816001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:09:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570242816001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":162376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:09:26] local.INFO: GPS data processed {"connection_id":162376,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:09:26] local.INFO: Acknowledgment sent {"connection_id":162376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:09:30] local.INFO: TCP Data received {"connection_id":160036,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028682508012d1ac18007242e38002d00d62e..."} 
[2026-08-22 13:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028682508012d1ac18007242e38002d00d62e..."} 
[2026-08-22 13:09:30] local.INFO: Processing buffer {"connection_id":160036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028682508012d1ac18007242e38002d00d62e..."} 
[2026-08-22 13:09:30] local.INFO: Packet analysis {"connection_id":160036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:09:30] local.INFO: Extracted packet for processing {"connection_id":160036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:09:30] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":45,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13:09: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-22 13:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570326272001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927962883651418112,"note":"Value kept but may cause issues"} 
[2026-08-22 13:09: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-22 13:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787384309000,"timestamp_ms":1787384309000,"timestamp_seconds":1787384309,"priority":1,"record_length":96,"hex_timestamp":"000001a028682508"} 
[2026-08-22 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-22 13:09:30] 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-22 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 13:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 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-22 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-22 13:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570326272001,"66":2155,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1927962883651418112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570326272001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:09:30] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:09:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927962883651418112,"description":"Unknown IO ID 45"} 
[2026-08-22 13:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570326272001,"power":2155,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1927962883651418112}} 
[2026-08-22 13:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":160036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:09:30] local.INFO: GPS data processed {"connection_id":160036,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:09:30] local.INFO: Acknowledgment sent {"connection_id":160036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:09:54] local.INFO: TCP Data received {"connection_id":160955,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:09:54] local.INFO: Processing buffer {"connection_id":160955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:09:54] local.INFO: IMEI packet received {"connection_id":160955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":160955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:09:58] local.INFO: TCP Data received {"connection_id":160956,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:09:58] local.INFO: Processing buffer {"connection_id":160956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:09:58] local.INFO: IMEI packet received {"connection_id":160956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":160956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:09:59] local.INFO: TCP Data received {"connection_id":160955,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:09:59] local.INFO: Processing buffer {"connection_id":160955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:09:59] local.INFO: IMEI packet received {"connection_id":160955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":160955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:10:00] local.INFO: TCP Data received {"connection_id":160955,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:10:00] local.INFO: Processing buffer {"connection_id":160955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028646030012d7fabc005afe1b80013012129..."} 
[2026-08-22 13:10:00] local.INFO: Packet analysis {"connection_id":160955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:10:00] local.INFO: Extracted packet for processing {"connection_id":160955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02864"} 
[2026-08-22 13:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570242816001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:00] 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-22 13:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787384062000,"timestamp_ms":1787384062000,"timestamp_seconds":1787384062,"priority":1,"record_length":96,"hex_timestamp":"000001a028646030"} 
[2026-08-22 13: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-22 13:10: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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:10: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-22 13: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-22 13: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-22 13:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:10: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-22 13:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570242816001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570242816001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:10:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570242816001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":160955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:10:00] local.INFO: GPS data processed {"connection_id":160955,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:10:00] local.INFO: Acknowledgment sent {"connection_id":160955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:10:01] local.INFO: TCP Data received {"connection_id":160955,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:10:01] local.INFO: Processing buffer {"connection_id":160955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:10:01] local.INFO: Packet analysis {"connection_id":160955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:10:01] local.INFO: Extracted packet for processing {"connection_id":160955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 13:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570319872001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:01] 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-22 13:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787384363000,"timestamp_ms":1787384363000,"timestamp_seconds":1787384363,"priority":1,"record_length":96,"hex_timestamp":"000001a02868f7f8"} 
[2026-08-22 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-22 13:10: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-22 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 13:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:10:01] 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-22 13:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570319872001,"66":24854,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570319872001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:10:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570319872001,"power":24854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":160955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:10:01] local.INFO: GPS data processed {"connection_id":160955,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:10:01] local.INFO: Acknowledgment sent {"connection_id":160955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:10:01] local.INFO: TCP Data received {"connection_id":160956,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:10:01] local.INFO: Processing buffer {"connection_id":160956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:10:01] local.INFO: IMEI packet received {"connection_id":160956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":160956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:10:03] local.INFO: TCP Data received {"connection_id":160956,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:10:03] local.INFO: Processing buffer {"connection_id":160956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:10:03] local.INFO: IMEI packet received {"connection_id":160956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":160956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:10:03] local.INFO: TCP Data received {"connection_id":160956,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028682508012d1ac18007242e38002d00d62e..."} 
[2026-08-22 13:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028682508012d1ac18007242e38002d00d62e..."} 
[2026-08-22 13:10:03] local.INFO: Processing buffer {"connection_id":160956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028682508012d1ac18007242e38002d00d62e..."} 
[2026-08-22 13:10:03] local.INFO: Packet analysis {"connection_id":160956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:10:03] local.INFO: Extracted packet for processing {"connection_id":160956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":45,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13:10:03] 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-22 13:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570383104001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927962883651418112,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787384309000,"timestamp_ms":1787384309000,"timestamp_seconds":1787384309,"priority":1,"record_length":96,"hex_timestamp":"000001a028682508"} 
[2026-08-22 13:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 13:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13:10: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-22 13:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570383104001,"66":2155,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1927962883651418112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570383104001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:10:03] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:10:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927962883651418112,"description":"Unknown IO ID 45"} 
[2026-08-22 13:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570383104001,"power":2155,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1927962883651418112}} 
[2026-08-22 13:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":160956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:10:03] local.INFO: GPS data processed {"connection_id":160956,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:10:03] local.INFO: Acknowledgment sent {"connection_id":160956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:10:32] local.INFO: TCP Data received {"connection_id":160955,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:10:32] local.INFO: Processing buffer {"connection_id":160955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:10:32] local.INFO: Packet analysis {"connection_id":160955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:10:32] local.INFO: Extracted packet for processing {"connection_id":160955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570319872001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10: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-22 13:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787384363000,"timestamp_ms":1787384363000,"timestamp_seconds":1787384363,"priority":1,"record_length":96,"hex_timestamp":"000001a02868f7f8"} 
[2026-08-22 13: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-22 13:10: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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 13: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-22 13: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-22 13:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:10: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-22 13:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570319872001,"66":24854,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570319872001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:10:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570319872001,"power":24854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":160955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:10:32] local.INFO: GPS data processed {"connection_id":160955,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:10:32] local.INFO: Acknowledgment sent {"connection_id":160955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:10:34] local.INFO: TCP Data received {"connection_id":160956,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028682508012d1ac18007242e38002d00d62e..."} 
[2026-08-22 13:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028682508012d1ac18007242e38002d00d62e..."} 
[2026-08-22 13:10:34] local.INFO: Processing buffer {"connection_id":160956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028682508012d1ac18007242e38002d00d62e..."} 
[2026-08-22 13:10:34] local.INFO: Packet analysis {"connection_id":160956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:10:34] local.INFO: Extracted packet for processing {"connection_id":160956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:10:34] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119811640,"longitude_deg":75.6728192,"latitude_deg":11.981164,"altitude":45,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d1ac180","hex_latitude":"07242e38","is_valid_coordinates":true} 
[2026-08-22 13:10: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-22 13:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570383104001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927962883651418112,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10: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-22 13:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787384309000,"timestamp_ms":1787384309000,"timestamp_seconds":1787384309,"priority":1,"record_length":96,"hex_timestamp":"000001a028682508"} 
[2026-08-22 13: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-22 13:10: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-22 13: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 13:10:34] 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-22 13: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-22 13: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-22 13:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570383104001,"66":2155,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1927962883651418112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570383104001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:10:34] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:10:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927962883651418112,"description":"Unknown IO ID 45"} 
[2026-08-22 13:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570383104001,"power":2155,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1927962883651418112}} 
[2026-08-22 13:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":160956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:10:34] local.INFO: GPS data processed {"connection_id":160956,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:10:34] local.INFO: Acknowledgment sent {"connection_id":160956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:10:49] local.INFO: TCP Data received {"connection_id":159800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159800,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:10:49] local.INFO: Processing buffer {"connection_id":159800,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:10:49] local.INFO: IMEI packet received {"connection_id":159800,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":159800,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:10:49] local.INFO: TCP Data received {"connection_id":159801,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:10:49] local.INFO: Processing buffer {"connection_id":159801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:10:49] local.INFO: IMEI packet received {"connection_id":159801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":159801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:10:49] local.INFO: TCP Data received {"connection_id":159800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02868d0e8012d0c1000070315d0000700a61f..."} 
[2026-08-22 13:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02868d0e8012d0c1000070315d0000700a61f..."} 
[2026-08-22 13:10:49] local.INFO: Processing buffer {"connection_id":159800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02868d0e8012d0c1000070315d0000700a61f..."} 
[2026-08-22 13:10:49] local.INFO: Packet analysis {"connection_id":159800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:10:49] local.INFO: Extracted packet for processing {"connection_id":159800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:10:49] local.INFO: GPS Element Parsed {"raw_longitude":755765248,"raw_latitude":117642704,"longitude_deg":75.5765248,"latitude_deg":11.7642704,"altitude":7,"angle":166,"satellites":31,"speed":37,"hex_longitude":"2d0c1000","hex_latitude":"070315d0","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570391552001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29482141578428416,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867154064620265472,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:49] 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-22 13:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787384353000,"timestamp_ms":1787384353000,"timestamp_seconds":1787384353,"priority":1,"record_length":96,"hex_timestamp":"000001a02868d0e8"} 
[2026-08-22 13: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-22 13:10:49] 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-22 13: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-22 13:10:49] 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-22 13: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-22 13: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-22 13:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":159800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":159800,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":159800,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570391552001,"66":14374,"37":206,"94":11008,"24":37,"16":29482141578428416,"45":867154064620265472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 13:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570391552001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:10:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 13:10:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29482141578428416,"km_value":29482141578428.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":867154064620265472,"description":"Unknown IO ID 45"} 
[2026-08-22 13:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570391552001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":37,"odometer":null,"unknown_45":867154064620265472}} 
[2026-08-22 13:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":159800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681181,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:10:50] local.INFO: GPS data processed {"connection_id":159800,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:10:50] local.INFO: Acknowledgment sent {"connection_id":159800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:10:54] local.INFO: TCP Data received {"connection_id":159801,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:10:54] local.INFO: Processing buffer {"connection_id":159801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:10:54] local.INFO: IMEI packet received {"connection_id":159801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":159801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:10:55] local.INFO: TCP Data received {"connection_id":159801,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:10:55] local.INFO: Processing buffer {"connection_id":159801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:10:55] local.INFO: Packet analysis {"connection_id":159801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:10:55] local.INFO: Extracted packet for processing {"connection_id":159801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:10:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570319872001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:10: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-22 13:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787384363000,"timestamp_ms":1787384363000,"timestamp_seconds":1787384363,"priority":1,"record_length":96,"hex_timestamp":"000001a02868f7f8"} 
[2026-08-22 13: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-22 13:10: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-22 13: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":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:10: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-22 13: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-22 13: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-22 13:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:10:55] 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-22 13:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570319872001,"66":24854,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570319872001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:10:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:10:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570319872001,"power":24854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":159801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:10:55] local.INFO: GPS data processed {"connection_id":159801,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:10:55] local.INFO: Acknowledgment sent {"connection_id":159801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:10:58] local.INFO: TCP Data received {"connection_id":162377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:10:58] local.INFO: Processing buffer {"connection_id":162377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:10:58] local.INFO: IMEI packet received {"connection_id":162377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":162377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:11:03] local.INFO: TCP Data received {"connection_id":162377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:11:03] local.INFO: Processing buffer {"connection_id":162377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:11:03] local.INFO: IMEI packet received {"connection_id":162377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":162377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:11:04] local.INFO: TCP Data received {"connection_id":162377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028682cd8012d1ab540072429d8002d00f32e..."} 
[2026-08-22 13:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028682cd8012d1ab540072429d8002d00f32e..."} 
[2026-08-22 13:11:04] local.INFO: Processing buffer {"connection_id":162377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028682cd8012d1ab540072429d8002d00f32e..."} 
[2026-08-22 13:11:04] local.INFO: Packet analysis {"connection_id":162377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:11:04] local.INFO: Extracted packet for processing {"connection_id":162377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756725056,"raw_latitude":119810520,"longitude_deg":75.6725056,"latitude_deg":11.981052,"altitude":45,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d1ab540","hex_latitude":"072429d8","is_valid_coordinates":true} 
[2026-08-22 13:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570383104001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927962883651418112,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:04] 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-22 13:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787384311000,"timestamp_ms":1787384311000,"timestamp_seconds":1787384311,"priority":1,"record_length":96,"hex_timestamp":"000001a028682cd8"} 
[2026-08-22 13:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 13:11:04] 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-22 13:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570383104001,"66":12841,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1927962883651418112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570383104001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:11:04] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:11:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927962883651418112,"description":"Unknown IO ID 45"} 
[2026-08-22 13:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570383104001,"power":12841,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1927962883651418112}} 
[2026-08-22 13:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":162377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:11:04] local.INFO: GPS data processed {"connection_id":162377,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:11:04] local.INFO: Acknowledgment sent {"connection_id":162377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:11:05] local.INFO: TCP Data received {"connection_id":162377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028687ee0012d1ab540072429d8002d00f32d..."} 
[2026-08-22 13:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028687ee0012d1ab540072429d8002d00f32d..."} 
[2026-08-22 13:11:05] local.INFO: Processing buffer {"connection_id":162377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028687ee0012d1ab540072429d8002d00f32d..."} 
[2026-08-22 13:11:05] local.INFO: Packet analysis {"connection_id":162377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:11:05] local.INFO: Extracted packet for processing {"connection_id":162377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756725056,"raw_latitude":119810520,"longitude_deg":75.6725056,"latitude_deg":11.981052,"altitude":45,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d1ab540","hex_latitude":"072429d8","is_valid_coordinates":true} 
[2026-08-22 13:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570383616001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14508524079939584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924514815186425856,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:05] 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-22 13:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787384332000,"timestamp_ms":1787384332000,"timestamp_seconds":1787384332,"priority":1,"record_length":96,"hex_timestamp":"000001a028687ee0"} 
[2026-08-22 13:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 13:11:05] 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-22 13:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570383616001,"66":14189,"137":206,"83":42752,"24":0,"16":14508524079939584,"45":1924514815186425856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570383616001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:11:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14508524079939584,"km_value":14508524079939.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924514815186425856,"description":"Unknown IO ID 45"} 
[2026-08-22 13:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570383616001,"power":14189,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1924514815186425856}} 
[2026-08-22 13:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":162377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:11:05] local.INFO: GPS data processed {"connection_id":162377,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:11:05] local.INFO: Acknowledgment sent {"connection_id":162377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:11:20] local.INFO: TCP Data received {"connection_id":159800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286a9220012d0c3580070279780022010e1e..."} 
[2026-08-22 13:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286a9220012d0c3580070279780022010e1e..."} 
[2026-08-22 13:11:20] local.INFO: Processing buffer {"connection_id":159800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286a9220012d0c3580070279780022010e1e..."} 
[2026-08-22 13:11:20] local.INFO: Packet analysis {"connection_id":159800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286a"} 
[2026-08-22 13:11:20] local.INFO: Extracted packet for processing {"connection_id":159800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286a"} 
[2026-08-22 13:11:20] local.INFO: GPS Element Parsed {"raw_longitude":755774848,"raw_latitude":117602680,"longitude_deg":75.5774848,"latitude_deg":11.760268,"altitude":34,"angle":270,"satellites":30,"speed":9,"hex_longitude":"2d0c3580","hex_latitude":"07027978","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570418944001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29484495220506624,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884324038187137024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:20] 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-22 13:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787384468000,"timestamp_ms":1787384468000,"timestamp_seconds":1787384468,"priority":1,"record_length":96,"hex_timestamp":"000001a0286a9220"} 
[2026-08-22 13: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-22 13:11:20] 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-22 13: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":71,"data_length":795,"current_offset":136} 
[2026-08-22 13:11:20] 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-22 13: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-22 13: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-22 13:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159800,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159800,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570418944001,"66":14439,"37":206,"94":11008,"24":9,"16":29484495220506624,"45":884324038187137024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 13:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570418944001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:11:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 13:11:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29484495220506624,"km_value":29484495220506.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":884324038187137024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570418944001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":884324038187137024}} 
[2026-08-22 13:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":159800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681185,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:11:21] local.INFO: GPS data processed {"connection_id":159800,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:11:21] local.INFO: Acknowledgment sent {"connection_id":159800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:11:26] local.INFO: TCP Data received {"connection_id":159801,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:11:26] local.INFO: Processing buffer {"connection_id":159801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:11:26] local.INFO: Packet analysis {"connection_id":159801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:11:26] local.INFO: Extracted packet for processing {"connection_id":159801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:11:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570319872001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11: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-22 13:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787384363000,"timestamp_ms":1787384363000,"timestamp_seconds":1787384363,"priority":1,"record_length":96,"hex_timestamp":"000001a02868f7f8"} 
[2026-08-22 13: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-22 13:11: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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:11:26] 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-22 13:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570319872001,"66":24854,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570319872001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:11:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:11:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570319872001,"power":24854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":159801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:11:26] local.INFO: GPS data processed {"connection_id":159801,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:11:26] local.INFO: Acknowledgment sent {"connection_id":159801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:11:34] local.INFO: TCP Data received {"connection_id":160957,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160957,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:11:34] local.INFO: Processing buffer {"connection_id":160957,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:11:34] local.INFO: IMEI packet received {"connection_id":160957,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":160957,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:11:36] local.INFO: TCP Data received {"connection_id":160957,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160957,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:11:36] local.INFO: Processing buffer {"connection_id":160957,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:11:36] local.INFO: IMEI packet received {"connection_id":160957,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":160957,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:11:37] local.INFO: TCP Data received {"connection_id":160957,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160957,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:11:37] local.INFO: Processing buffer {"connection_id":160957,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:11:37] local.INFO: IMEI packet received {"connection_id":160957,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":160957,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:11:38] local.INFO: TCP Data received {"connection_id":160957,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160957,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:11:38] local.INFO: Processing buffer {"connection_id":160957,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:11:38] local.INFO: IMEI packet received {"connection_id":160957,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":160957,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:11:38] local.INFO: TCP Data received {"connection_id":160957,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286aad78012d0c2f4007027a08002301211d..."} 
[2026-08-22 13:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286aad78012d0c2f4007027a08002301211d..."} 
[2026-08-22 13:11:38] local.INFO: Processing buffer {"connection_id":160957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286aad78012d0c2f4007027a08002301211d..."} 
[2026-08-22 13:11:38] local.INFO: Packet analysis {"connection_id":160957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286a"} 
[2026-08-22 13:11:38] local.INFO: Extracted packet for processing {"connection_id":160957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286a"} 
[2026-08-22 13:11:38] local.INFO: GPS Element Parsed {"raw_longitude":755773248,"raw_latitude":117602824,"longitude_deg":75.5773248,"latitude_deg":11.7602824,"altitude":35,"angle":289,"satellites":29,"speed":8,"hex_longitude":"2d0c2f40","hex_latitude":"07027a08","is_valid_coordinates":true} 
[2026-08-22 13:11: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-22 13:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570423808001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29484572529917952,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879750069815441408,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:38] 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-22 13:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787384475000,"timestamp_ms":1787384475000,"timestamp_seconds":1787384475,"priority":1,"record_length":96,"hex_timestamp":"000001a0286aad78"} 
[2026-08-22 13:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:11:38] 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-22 13:11: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-22 13:11: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-22 13:11: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-22 13:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570423808001,"66":14428,"37":206,"94":11008,"24":8,"16":29484572529917952,"45":879750069815441408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-22 13:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570423808001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:11:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-22 13:11:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29484572529917952,"km_value":29484572529917.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":879750069815441408,"description":"Unknown IO ID 45"} 
[2026-08-22 13:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570423808001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":879750069815441408}} 
[2026-08-22 13:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":160957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681187,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:11:39] local.INFO: GPS data processed {"connection_id":160957,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:11:39] local.INFO: Acknowledgment sent {"connection_id":160957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:11:49] local.INFO: TCP Data received {"connection_id":159802,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:11:49] local.INFO: Processing buffer {"connection_id":159802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:11:49] local.INFO: IMEI packet received {"connection_id":159802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":159802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:11:52] local.INFO: TCP Data received {"connection_id":162377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286a3c30012d1a32800723bcc0003800e22c..."} 
[2026-08-22 13:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286a3c30012d1a32800723bcc0003800e22c..."} 
[2026-08-22 13:11:52] local.INFO: Processing buffer {"connection_id":162377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286a3c30012d1a32800723bcc0003800e22c..."} 
[2026-08-22 13:11:52] local.INFO: Packet analysis {"connection_id":162377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286a"} 
[2026-08-22 13:11:52] local.INFO: Extracted packet for processing {"connection_id":162377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286a"} 
[2026-08-22 13:11:52] local.INFO: GPS Element Parsed {"raw_longitude":756691584,"raw_latitude":119782592,"longitude_deg":75.6691584,"latitude_deg":11.9782592,"altitude":56,"angle":226,"satellites":44,"speed":42,"hex_longitude":"2d1a3280","hex_latitude":"0723bcc0","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570416384001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14510705923325952,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892778511556546560,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:52] 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-22 13:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787384446000,"timestamp_ms":1787384446000,"timestamp_seconds":1787384446,"priority":1,"record_length":96,"hex_timestamp":"000001a0286a3c30"} 
[2026-08-22 13: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-22 13:11: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-22 13: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 13:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570416384001,"66":14374,"42":206,"83":42752,"24":42,"16":14510705923325952,"45":1892778511556546560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-22 13:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570416384001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:11:52] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-22 13:11:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14510705923325952,"km_value":14510705923325.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892778511556546560,"description":"Unknown IO ID 45"} 
[2026-08-22 13:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570416384001,"power":14374,"unknown_42":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1892778511556546560}} 
[2026-08-22 13:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":162377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:11:52] local.INFO: GPS data processed {"connection_id":162377,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:11:52] local.INFO: Acknowledgment sent {"connection_id":162377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:11:54] local.INFO: TCP Data received {"connection_id":159802,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:11:54] local.INFO: Processing buffer {"connection_id":159802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:11:54] local.INFO: IMEI packet received {"connection_id":159802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":159802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:11:55] local.INFO: TCP Data received {"connection_id":159802,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:11:55] local.INFO: Processing buffer {"connection_id":159802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:11:55] local.INFO: Packet analysis {"connection_id":159802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:11:55] local.INFO: Extracted packet for processing {"connection_id":159802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 13:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570319872001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:11: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-22 13:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787384363000,"timestamp_ms":1787384363000,"timestamp_seconds":1787384363,"priority":1,"record_length":96,"hex_timestamp":"000001a02868f7f8"} 
[2026-08-22 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-22 13:11: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-22 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:11: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-22 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-22 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-22 13:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:11:55] 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-22 13:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570319872001,"66":24854,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570319872001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:11:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:11:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570319872001,"power":24854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":159802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:11:55] local.INFO: GPS data processed {"connection_id":159802,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:11:55] local.INFO: Acknowledgment sent {"connection_id":159802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:11:57] local.INFO: TCP Data received {"connection_id":162378,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:11:57] local.INFO: Processing buffer {"connection_id":162378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:11:57] local.INFO: IMEI packet received {"connection_id":162378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":162378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:11:58] local.INFO: TCP Data received {"connection_id":162378,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:11:58] local.INFO: Processing buffer {"connection_id":162378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:11:58] local.INFO: IMEI packet received {"connection_id":162378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":162378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:12:08] local.INFO: TCP Data received {"connection_id":162378,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:12:08] local.INFO: Processing buffer {"connection_id":162378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:12:08] local.INFO: IMEI packet received {"connection_id":162378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":162378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:12:10] local.INFO: TCP Data received {"connection_id":160957,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286b3248012d0c1fc007027cd8002d011f20..."} 
[2026-08-22 13:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286b3248012d0c1fc007027cd8002d011f20..."} 
[2026-08-22 13:12:10] local.INFO: Processing buffer {"connection_id":160957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286b3248012d0c1fc007027cd8002d011f20..."} 
[2026-08-22 13:12:10] local.INFO: Packet analysis {"connection_id":160957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286b"} 
[2026-08-22 13:12:10] local.INFO: Extracted packet for processing {"connection_id":160957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286b"} 
[2026-08-22 13:12:10] local.INFO: GPS Element Parsed {"raw_longitude":755769280,"raw_latitude":117603544,"longitude_deg":75.576928,"latitude_deg":11.7603544,"altitude":45,"angle":287,"satellites":32,"speed":5,"hex_longitude":"2d0c1fc0","hex_latitude":"07027cd8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570434048001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29484770098413568,"note":"Value kept but may cause issues"} 
[2026-08-22 13:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873768726560542720,"note":"Value kept but may cause issues"} 
[2026-08-22 13:12:10] 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-22 13:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787384509000,"timestamp_ms":1787384509000,"timestamp_seconds":1787384509,"priority":1,"record_length":96,"hex_timestamp":"000001a0286b3248"} 
[2026-08-22 13: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-22 13:12: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-22 13: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 13:12: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-22 13: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-22 13: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-22 13:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570434048001,"66":14396,"36":206,"94":11008,"24":5,"16":29484770098413568,"45":873768726560542720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570434048001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:12:10] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:12:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29484770098413568,"km_value":29484770098413.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":873768726560542720,"description":"Unknown IO ID 45"} 
[2026-08-22 13:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570434048001,"power":14396,"unknown_36":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":873768726560542720}} 
[2026-08-22 13:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":160957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681190,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:12:10] local.INFO: GPS data processed {"connection_id":160957,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:12:10] local.INFO: Acknowledgment sent {"connection_id":160957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:12:26] local.INFO: TCP Data received {"connection_id":159802,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:12:26] local.INFO: Processing buffer {"connection_id":159802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:12:26] local.INFO: Packet analysis {"connection_id":159802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:12:26] local.INFO: Extracted packet for processing {"connection_id":159802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:12:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570319872001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:12: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-22 13:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787384363000,"timestamp_ms":1787384363000,"timestamp_seconds":1787384363,"priority":1,"record_length":96,"hex_timestamp":"000001a02868f7f8"} 
[2026-08-22 13: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-22 13:12: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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:12:26] 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-22 13:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570319872001,"66":24854,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570319872001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:12:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:12:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570319872001,"power":24854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":159802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:12:26] local.INFO: GPS data processed {"connection_id":159802,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:12:26] local.INFO: Acknowledgment sent {"connection_id":159802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:12:37] local.INFO: TCP Data received {"connection_id":160038,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160038,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:12:37] local.INFO: Processing buffer {"connection_id":160038,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:12:37] local.INFO: IMEI packet received {"connection_id":160038,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":160038,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:12:39] local.INFO: TCP Data received {"connection_id":160038,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160038,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:12:39] local.INFO: Processing buffer {"connection_id":160038,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:12:39] local.INFO: IMEI packet received {"connection_id":160038,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":160038,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:12:40] local.INFO: TCP Data received {"connection_id":160038,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286b4da0012d0c17c007027fa8002d010f20..."} 
[2026-08-22 13:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286b4da0012d0c17c007027fa8002d010f20..."} 
[2026-08-22 13:12:40] local.INFO: Processing buffer {"connection_id":160038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286b4da0012d0c17c007027fa8002d010f20..."} 
[2026-08-22 13:12:40] local.INFO: Packet analysis {"connection_id":160038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286b"} 
[2026-08-22 13:12:40] local.INFO: Extracted packet for processing {"connection_id":160038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286b"} 
[2026-08-22 13:12:40] local.INFO: GPS Element Parsed {"raw_longitude":755767232,"raw_latitude":117604264,"longitude_deg":75.5767232,"latitude_deg":11.7604264,"altitude":45,"angle":271,"satellites":32,"speed":16,"hex_longitude":"2d0c17c0","hex_latitude":"07027fa8","is_valid_coordinates":true} 
[2026-08-22 13:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570434304001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29484877472595968,"note":"Value kept but may cause issues"} 
[2026-08-22 13:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873627989072205824,"note":"Value kept but may cause issues"} 
[2026-08-22 13:12:40] 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-22 13:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787384516000,"timestamp_ms":1787384516000,"timestamp_seconds":1787384516,"priority":1,"record_length":96,"hex_timestamp":"000001a0286b4da0"} 
[2026-08-22 13:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:12:40] 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-22 13:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 13:12:40] 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-22 13:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570434304001,"66":14439,"36":206,"94":11008,"24":16,"16":29484877472595968,"45":873627989072205824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570434304001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:12:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:12:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29484877472595968,"km_value":29484877472595.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":873627989072205824,"description":"Unknown IO ID 45"} 
[2026-08-22 13:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570434304001,"power":14439,"unknown_36":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":873627989072205824}} 
[2026-08-22 13:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":160038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681192,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:12:40] local.INFO: GPS data processed {"connection_id":160038,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:12:40] local.INFO: Acknowledgment sent {"connection_id":160038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:12:49] local.INFO: TCP Data received {"connection_id":162379,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:12:49] local.INFO: Processing buffer {"connection_id":162379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:12:49] local.INFO: IMEI packet received {"connection_id":162379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":162379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:12:54] local.INFO: TCP Data received {"connection_id":162379,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:12:54] local.INFO: Processing buffer {"connection_id":162379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:12:54] local.INFO: IMEI packet received {"connection_id":162379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":162379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:12:55] local.INFO: TCP Data received {"connection_id":162379,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:12:55] local.INFO: Processing buffer {"connection_id":162379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:12:55] local.INFO: Packet analysis {"connection_id":162379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:12:55] local.INFO: Extracted packet for processing {"connection_id":162379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570319872001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:12: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-22 13:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787384363000,"timestamp_ms":1787384363000,"timestamp_seconds":1787384363,"priority":1,"record_length":96,"hex_timestamp":"000001a02868f7f8"} 
[2026-08-22 13:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:12: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-22 13:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:12: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-22 13:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:12:55] 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-22 13:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570319872001,"66":24854,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570319872001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:12:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:12:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570319872001,"power":24854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":162379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:12:55] local.INFO: GPS data processed {"connection_id":162379,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:12:55] local.INFO: Acknowledgment sent {"connection_id":162379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:12:56] local.INFO: TCP Data received {"connection_id":162378,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:12:56] local.INFO: Processing buffer {"connection_id":162378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:12:56] local.INFO: IMEI packet received {"connection_id":162378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":162378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:13:12] local.INFO: TCP Data received {"connection_id":160038,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286c4f70012d0bd6000702a0d00014001520..."} 
[2026-08-22 13:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286c4f70012d0bd6000702a0d00014001520..."} 
[2026-08-22 13:13:12] local.INFO: Processing buffer {"connection_id":160038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286c4f70012d0bd6000702a0d00014001520..."} 
[2026-08-22 13:13:12] local.INFO: Packet analysis {"connection_id":160038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286c"} 
[2026-08-22 13:13:12] local.INFO: Extracted packet for processing {"connection_id":160038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286c"} 
[2026-08-22 13:13:12] local.INFO: GPS Element Parsed {"raw_longitude":755750400,"raw_latitude":117612752,"longitude_deg":75.57504,"latitude_deg":11.7612752,"altitude":20,"angle":21,"satellites":32,"speed":5,"hex_longitude":"2d0bd600","hex_latitude":"0702a0d0","is_valid_coordinates":true} 
[2026-08-22 13:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570451712001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29486174552719360,"note":"Value kept but may cause issues"} 
[2026-08-22 13:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852798840797796352,"note":"Value kept but may cause issues"} 
[2026-08-22 13:13:12] 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-22 13:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787384582000,"timestamp_ms":1787384582000,"timestamp_seconds":1787384582,"priority":1,"record_length":96,"hex_timestamp":"000001a0286c4f70"} 
[2026-08-22 13:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:13: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-22 13:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 13:13:12] 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-22 13:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570451712001,"66":14407,"36":206,"94":11008,"24":5,"16":29486174552719360,"45":852798840797796352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570451712001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:13:12] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:13:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29486174552719360,"km_value":29486174552719.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":852798840797796352,"description":"Unknown IO ID 45"} 
[2026-08-22 13:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570451712001,"power":14407,"unknown_36":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":852798840797796352}} 
[2026-08-22 13:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":160038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681194,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:13:12] local.INFO: GPS data processed {"connection_id":160038,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:13:12] local.INFO: Acknowledgment sent {"connection_id":160038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:13:26] local.INFO: TCP Data received {"connection_id":162379,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:13:26] local.INFO: Processing buffer {"connection_id":162379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:13:26] local.INFO: Packet analysis {"connection_id":162379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:13:26] local.INFO: Extracted packet for processing {"connection_id":162379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570319872001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:13: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-22 13:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787384363000,"timestamp_ms":1787384363000,"timestamp_seconds":1787384363,"priority":1,"record_length":96,"hex_timestamp":"000001a02868f7f8"} 
[2026-08-22 13: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-22 13:13: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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:13:26] 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-22 13:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570319872001,"66":24854,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570319872001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:13:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570319872001,"power":24854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":162379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:13:26] local.INFO: GPS data processed {"connection_id":162379,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:13:26] local.INFO: Acknowledgment sent {"connection_id":162379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:13:38] local.INFO: TCP Data received {"connection_id":160958,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160958,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:13:38] local.INFO: Processing buffer {"connection_id":160958,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:13:38] local.INFO: IMEI packet received {"connection_id":160958,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":160958,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:13:40] local.INFO: TCP Data received {"connection_id":160958,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160958,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:13:40] local.INFO: Processing buffer {"connection_id":160958,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:13:40] local.INFO: IMEI packet received {"connection_id":160958,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":160958,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:13:42] local.INFO: TCP Data received {"connection_id":160958,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160958,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:13:42] local.INFO: Processing buffer {"connection_id":160958,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:13:42] local.INFO: IMEI packet received {"connection_id":160958,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":160958,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:13:43] local.INFO: TCP Data received {"connection_id":160958,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286c5358012d0bd6000702a1580015016720..."} 
[2026-08-22 13:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286c5358012d0bd6000702a1580015016720..."} 
[2026-08-22 13:13:43] local.INFO: Processing buffer {"connection_id":160958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286c5358012d0bd6000702a1580015016720..."} 
[2026-08-22 13:13:43] local.INFO: Packet analysis {"connection_id":160958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286c"} 
[2026-08-22 13:13:43] local.INFO: Extracted packet for processing {"connection_id":160958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286c"} 
[2026-08-22 13:13:43] local.INFO: GPS Element Parsed {"raw_longitude":755750400,"raw_latitude":117612888,"longitude_deg":75.57504,"latitude_deg":11.7612888,"altitude":21,"angle":359,"satellites":32,"speed":5,"hex_longitude":"2d0bd600","hex_latitude":"0702a158","is_valid_coordinates":true} 
[2026-08-22 13:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570452992001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29486178847686656,"note":"Value kept but may cause issues"} 
[2026-08-22 13:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852869209542152192,"note":"Value kept but may cause issues"} 
[2026-08-22 13:13:43] 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-22 13:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787384583000,"timestamp_ms":1787384583000,"timestamp_seconds":1787384583,"priority":1,"record_length":96,"hex_timestamp":"000001a0286c5358"} 
[2026-08-22 13:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:13: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-22 13:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 13:13:43] 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-22 13:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570452992001,"66":14309,"36":206,"94":11008,"24":5,"16":29486178847686656,"45":852869209542152192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570452992001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:13:43] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:13:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29486178847686656,"km_value":29486178847686.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":852869209542152192,"description":"Unknown IO ID 45"} 
[2026-08-22 13:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570452992001,"power":14309,"unknown_36":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":852869209542152192}} 
[2026-08-22 13:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":160958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681196,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:13:43] local.INFO: GPS data processed {"connection_id":160958,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:13:43] local.INFO: Acknowledgment sent {"connection_id":160958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:13:47] local.INFO: TCP Data received {"connection_id":160958,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286c5f10012d0bd5800702a3180014014f20..."} 
[2026-08-22 13:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286c5f10012d0bd5800702a3180014014f20..."} 
[2026-08-22 13:13:47] local.INFO: Processing buffer {"connection_id":160958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286c5f10012d0bd5800702a3180014014f20..."} 
[2026-08-22 13:13:47] local.INFO: Packet analysis {"connection_id":160958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286c"} 
[2026-08-22 13:13:47] local.INFO: Extracted packet for processing {"connection_id":160958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286c"} 
[2026-08-22 13:13:47] local.INFO: GPS Element Parsed {"raw_longitude":755750272,"raw_latitude":117613336,"longitude_deg":75.5750272,"latitude_deg":11.7613336,"altitude":20,"angle":335,"satellites":32,"speed":6,"hex_longitude":"2d0bd580","hex_latitude":"0702a318","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570453248001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29486204617490432,"note":"Value kept but may cause issues"} 
[2026-08-22 13:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852869209542187008,"note":"Value kept but may cause issues"} 
[2026-08-22 13:13:47] 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-22 13:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787384586000,"timestamp_ms":1787384586000,"timestamp_seconds":1787384586,"priority":1,"record_length":96,"hex_timestamp":"000001a0286c5f10"} 
[2026-08-22 13: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-22 13:13: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-22 13: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 13:13:47] 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-22 13: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-22 13: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-22 13:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570453248001,"66":14298,"36":206,"94":11008,"24":6,"16":29486204617490432,"45":852869209542187008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570453248001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:13:47] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:13:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29486204617490432,"km_value":29486204617490.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":852869209542187008,"description":"Unknown IO ID 45"} 
[2026-08-22 13:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570453248001,"power":14298,"unknown_36":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":852869209542187008}} 
[2026-08-22 13:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":160958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681197,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:13:48] local.INFO: GPS data processed {"connection_id":160958,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:13:48] local.INFO: Acknowledgment sent {"connection_id":160958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:13:54] local.INFO: TCP Data received {"connection_id":159804,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:13:54] local.INFO: Processing buffer {"connection_id":159804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:13:54] local.INFO: IMEI packet received {"connection_id":159804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":159804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:13:59] local.INFO: TCP Data received {"connection_id":159804,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:13:59] local.INFO: Processing buffer {"connection_id":159804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:13:59] local.INFO: IMEI packet received {"connection_id":159804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":159804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:14:00] local.INFO: TCP Data received {"connection_id":159804,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:14:00] local.INFO: Processing buffer {"connection_id":159804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:14:00] local.INFO: Packet analysis {"connection_id":159804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:14:00] local.INFO: Extracted packet for processing {"connection_id":159804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570319872001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:00] 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-22 13:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787384363000,"timestamp_ms":1787384363000,"timestamp_seconds":1787384363,"priority":1,"record_length":96,"hex_timestamp":"000001a02868f7f8"} 
[2026-08-22 13: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-22 13: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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:14: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-22 13: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-22 13: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-22 13:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:14: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-22 13:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570319872001,"66":24854,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570319872001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:14:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570319872001,"power":24854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":159804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:14:00] local.INFO: GPS data processed {"connection_id":159804,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:14:00] local.INFO: Acknowledgment sent {"connection_id":159804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:14:04] local.INFO: TCP Data received {"connection_id":159804,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:14:04] local.INFO: Processing buffer {"connection_id":159804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:14:04] local.INFO: Packet analysis {"connection_id":159804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:14:04] local.INFO: Extracted packet for processing {"connection_id":159804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570319872001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:04] 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-22 13:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787384363000,"timestamp_ms":1787384363000,"timestamp_seconds":1787384363,"priority":1,"record_length":96,"hex_timestamp":"000001a02868f7f8"} 
[2026-08-22 13: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-22 13:14: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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:14: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-22 13: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-22 13: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-22 13:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13: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-22 13:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570319872001,"66":24854,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570319872001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:14:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:14:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570319872001,"power":24854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":159804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:14:04] local.INFO: GPS data processed {"connection_id":159804,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:14:04] local.INFO: Acknowledgment sent {"connection_id":159804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:14:19] local.INFO: TCP Data received {"connection_id":160958,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286c7a68012d0bd2c00702a470001501131f..."} 
[2026-08-22 13:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286c7a68012d0bd2c00702a470001501131f..."} 
[2026-08-22 13:14:19] local.INFO: Processing buffer {"connection_id":160958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286c7a68012d0bd2c00702a470001501131f..."} 
[2026-08-22 13:14:19] local.INFO: Packet analysis {"connection_id":160958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286c"} 
[2026-08-22 13:14:19] local.INFO: Extracted packet for processing {"connection_id":160958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286c"} 
[2026-08-22 13:14:19] local.INFO: GPS Element Parsed {"raw_longitude":755749568,"raw_latitude":117613680,"longitude_deg":75.5749568,"latitude_deg":11.761368,"altitude":21,"angle":275,"satellites":31,"speed":7,"hex_longitude":"2d0bd2c0","hex_latitude":"0702a470","is_valid_coordinates":true} 
[2026-08-22 13:14: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-22 13:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570454016001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29486243272196096,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852728472053946368,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:19] 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-22 13:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787384593000,"timestamp_ms":1787384593000,"timestamp_seconds":1787384593,"priority":1,"record_length":96,"hex_timestamp":"000001a0286c7a68"} 
[2026-08-22 13:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:14: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-22 13:14: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":218,"data_length":795,"current_offset":136} 
[2026-08-22 13:14:19] 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-22 13:14: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-22 13:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570454016001,"66":14352,"36":206,"94":11008,"24":7,"16":29486243272196096,"45":852728472053946368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570454016001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:14:19] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:14:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29486243272196096,"km_value":29486243272196.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":852728472053946368,"description":"Unknown IO ID 45"} 
[2026-08-22 13:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570454016001,"power":14352,"unknown_36":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":852728472053946368}} 
[2026-08-22 13:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":160958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681200,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:14:19] local.INFO: GPS data processed {"connection_id":160958,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:14:19] local.INFO: Acknowledgment sent {"connection_id":160958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:14:40] local.INFO: TCP Data received {"connection_id":162380,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:14:40] local.INFO: Processing buffer {"connection_id":162380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:14:40] local.INFO: IMEI packet received {"connection_id":162380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":162380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:14:41] local.INFO: TCP Data received {"connection_id":162380,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:14:41] local.INFO: Processing buffer {"connection_id":162380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:14:41] local.INFO: IMEI packet received {"connection_id":162380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":162380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:14:42] local.INFO: TCP Data received {"connection_id":162380,"ip":"42.109.136.1","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a028..."} 
[2026-08-22 13:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162380,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a028..."} 
[2026-08-22 13:14:42] local.INFO: Processing buffer {"connection_id":162380,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a028..."} 
[2026-08-22 13:14:42] local.INFO: IMEI packet received {"connection_id":162380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":162380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:14:47] local.INFO: TCP Data received {"connection_id":162380,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286cd440012d0bc8000702a228001400fd20..."} 
[2026-08-22 13:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286cd440012d0bc8000702a228001400fd20..."} 
[2026-08-22 13:14:47] local.INFO: Processing buffer {"connection_id":162380,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0286c8620012d0bcfc00702a438001401021f..."} 
[2026-08-22 13:14:47] local.INFO: Packet analysis {"connection_id":162380,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0286c"} 
[2026-08-22 13:14:47] local.INFO: Extracted packet for processing {"connection_id":162380,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286c"} 
[2026-08-22 13:14:47] local.INFO: GPS Element Parsed {"raw_longitude":755748800,"raw_latitude":117613624,"longitude_deg":75.57488,"latitude_deg":11.7613624,"altitude":20,"angle":258,"satellites":31,"speed":11,"hex_longitude":"2d0bcfc0","hex_latitude":"0702a438","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570455808001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29486277631934464,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851954415868080128,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] 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-22 13:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787384596000,"timestamp_ms":1787384596000,"timestamp_seconds":1787384596,"priority":1,"record_length":96,"hex_timestamp":"000001a0286c8620"} 
[2026-08-22 13: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-22 13:14: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-22 13: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143040,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4026608907,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5125096440372133898,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504049544003584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639226070194980,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756222048534784,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529086158,"corrected_to":0} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3556822363,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3242393600,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84736980667531899,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":232,"raw_value":7601332441583872,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-3026411242371153893,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,36,94,24,241,157,16,193,160,95,45,128,163,20,32,10,66,83,161,21,79,1,240,71,227,40,2,4,113,205,9,214,80,31,239,56,104,7,26,206,152,232,11],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1529086158,"validated":0}]} 
[2026-08-22 13:14:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513511973638569984,"timestamp_seconds":1513511973638570.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 13: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-22 13:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570455808001,"66":14341,"36":206,"94":11008,"24":11,"16":29486277631934464,"45":851954415868080128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570455808001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:14:47] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:14:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29486277631934464,"km_value":29486277631934.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":851954415868080128,"description":"Unknown IO ID 45"} 
[2026-08-22 13:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570455808001,"power":14341,"unknown_36":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":851954415868080128}} 
[2026-08-22 13:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":162380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681201,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:14:47] local.INFO: GPS data processed {"connection_id":162380,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:14:47] local.INFO: Acknowledgment sent {"connection_id":162380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:14:47] local.INFO: Packet analysis {"connection_id":162380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286c"} 
[2026-08-22 13:14:47] local.INFO: Extracted packet for processing {"connection_id":162380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286c"} 
[2026-08-22 13:14:47] local.INFO: GPS Element Parsed {"raw_longitude":755746816,"raw_latitude":117613096,"longitude_deg":75.5746816,"latitude_deg":11.7613096,"altitude":20,"angle":253,"satellites":32,"speed":0,"hex_longitude":"2d0bc800","hex_latitude":"0702a228","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570456576001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29486376416182272,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851109990937933824,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] 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-22 13:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787384616000,"timestamp_ms":1787384616000,"timestamp_seconds":1787384616,"priority":1,"record_length":96,"hex_timestamp":"000001a0286cd440"} 
[2026-08-22 13: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-22 13:14: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-22 13: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6981970937,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84736980667531901,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504049546362880,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529086158,"corrected_to":0} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3892391179,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3221684894,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3246194688,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.WARNING: Large IO value detected {"io_id":216,"raw_value":7318379996124160,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:47] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,36,94,24,241,157,16,193,160,122,45,192,164,21,31,10,66,95,128,163,20,32,83,1,240,229,227,40,2,4,113,205,5,59,213,239,56,104,7,206,216],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1529086158,"validated":0}]} 
[2026-08-22 13:14:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441435687903232000,"timestamp_seconds":1441435687903232,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 13: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-22 13:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570456576001,"66":14396,"36":206,"94":11008,"24":0,"16":29486376416182272,"45":851109990937933824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570456576001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:14:47] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:14:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29486376416182272,"km_value":29486376416182.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":851109990937933824,"description":"Unknown IO ID 45"} 
[2026-08-22 13:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570456576001,"power":14396,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":851109990937933824}} 
[2026-08-22 13:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":162380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681202,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:14:47] local.INFO: GPS data processed {"connection_id":162380,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:14:47] local.INFO: Acknowledgment sent {"connection_id":162380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:14:49] local.INFO: TCP Data received {"connection_id":159805,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:14:49] local.INFO: Processing buffer {"connection_id":159805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:14:49] local.INFO: IMEI packet received {"connection_id":159805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":159805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:14:54] local.INFO: TCP Data received {"connection_id":159805,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:14:54] local.INFO: Processing buffer {"connection_id":159805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:14:54] local.INFO: IMEI packet received {"connection_id":159805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":159805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:14:55] local.INFO: TCP Data received {"connection_id":159805,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:14:55] local.INFO: Processing buffer {"connection_id":159805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:14:55] local.INFO: Packet analysis {"connection_id":159805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:14:55] local.INFO: Extracted packet for processing {"connection_id":159805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570319872001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14: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-22 13:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787384363000,"timestamp_ms":1787384363000,"timestamp_seconds":1787384363,"priority":1,"record_length":96,"hex_timestamp":"000001a02868f7f8"} 
[2026-08-22 13:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:14: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-22 13:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:14: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-22 13:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:14:55] 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-22 13:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570319872001,"66":24854,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570319872001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:14:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:14:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570319872001,"power":24854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":159805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:14:55] local.INFO: GPS data processed {"connection_id":159805,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:14:55] local.INFO: Acknowledgment sent {"connection_id":159805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:14:59] local.INFO: TCP Data received {"connection_id":159805,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:14:59] local.INFO: Processing buffer {"connection_id":159805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02868f7f8012d7fabc005afe1b8001301212c..."} 
[2026-08-22 13:14:59] local.INFO: Packet analysis {"connection_id":159805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:14:59] local.INFO: Extracted packet for processing {"connection_id":159805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02868"} 
[2026-08-22 13:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":19,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570319872001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:14:59] 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-22 13:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787384363000,"timestamp_ms":1787384363000,"timestamp_seconds":1787384363,"priority":1,"record_length":96,"hex_timestamp":"000001a02868f7f8"} 
[2026-08-22 13: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-22 13:14: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-22 13: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":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:14: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-22 13: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-22 13: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-22 13:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13: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-22 13:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570319872001,"66":24854,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570319872001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570319872001,"power":24854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":159805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:14:59] local.INFO: GPS data processed {"connection_id":159805,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:14:59] local.INFO: Acknowledgment sent {"connection_id":159805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:15:18] local.INFO: TCP Data received {"connection_id":162380,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286d16a8012d0bc7000702a2180015010b1f..."} 
[2026-08-22 13:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286d16a8012d0bc7000702a2180015010b1f..."} 
[2026-08-22 13:15:18] local.INFO: Processing buffer {"connection_id":162380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286d16a8012d0bc7000702a2180015010b1f..."} 
[2026-08-22 13:15:18] local.INFO: Packet analysis {"connection_id":162380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:15:18] local.INFO: Extracted packet for processing {"connection_id":162380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:15:18] local.INFO: GPS Element Parsed {"raw_longitude":755746560,"raw_latitude":117613080,"longitude_deg":75.574656,"latitude_deg":11.761308,"altitude":21,"angle":267,"satellites":31,"speed":4,"hex_longitude":"2d0bc700","hex_latitude":"0702a218","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570461696001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29486389301084160,"note":"Value kept but may cause issues"} 
[2026-08-22 13:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848928559868291072,"note":"Value kept but may cause issues"} 
[2026-08-22 13:15:18] 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-22 13:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787384633000,"timestamp_ms":1787384633000,"timestamp_seconds":1787384633,"priority":1,"record_length":96,"hex_timestamp":"000001a0286d16a8"} 
[2026-08-22 13: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-22 13:15:18] 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-22 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 13:15:18] 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-22 13: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-22 13: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-22 13:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570461696001,"66":14407,"36":206,"94":11008,"24":4,"16":29486389301084160,"45":848928559868291072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570461696001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:15:18] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:15:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29486389301084160,"km_value":29486389301084.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":848928559868291072,"description":"Unknown IO ID 45"} 
[2026-08-22 13:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570461696001,"power":14407,"unknown_36":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":848928559868291072}} 
[2026-08-22 13:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":162380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681205,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:15:18] local.INFO: GPS data processed {"connection_id":162380,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:15:18] local.INFO: Acknowledgment sent {"connection_id":162380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:15:30] local.INFO: TCP Data received {"connection_id":159805,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:15:30] local.INFO: Processing buffer {"connection_id":159805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:15:30] local.INFO: Packet analysis {"connection_id":159805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:15:30] local.INFO: Extracted packet for processing {"connection_id":159805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:15:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570396928001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:15:30] 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-22 13:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787384664000,"timestamp_ms":1787384664000,"timestamp_seconds":1787384664,"priority":1,"record_length":96,"hex_timestamp":"000001a0286d8fc0"} 
[2026-08-22 13: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-22 13: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-22 13: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 13:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13: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-22 13:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570396928001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570396928001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:15:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:15:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570396928001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":159805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:15:30] local.INFO: GPS data processed {"connection_id":159805,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:15:30] local.INFO: Acknowledgment sent {"connection_id":159805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:15:37] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:15:37] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:15:37] local.INFO: IMEI packet received {"connection_id":160040,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":160040,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:15:39] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:15:39] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:15:39] local.INFO: IMEI packet received {"connection_id":160040,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":160040,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:15:42] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:15:42] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:15:42] local.INFO: IMEI packet received {"connection_id":160040,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":160040,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:15:43] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286e37b8012d0b7cc00702a990000c00ee21..."} 
[2026-08-22 13:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286e37b8012d0b7cc00702a990000c00ee21..."} 
[2026-08-22 13:15:43] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286e37b8012d0b7cc00702a990000c00ee21..."} 
[2026-08-22 13:15:43] local.INFO: Packet analysis {"connection_id":160040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286e"} 
[2026-08-22 13:15:43] local.INFO: Extracted packet for processing {"connection_id":160040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286e"} 
[2026-08-22 13:15:43] local.INFO: GPS Element Parsed {"raw_longitude":755727552,"raw_latitude":117614992,"longitude_deg":75.5727552,"latitude_deg":11.7614992,"altitude":12,"angle":238,"satellites":33,"speed":5,"hex_longitude":"2d0b7cc0","hex_latitude":"0702a990","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570484224001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29487377143562240,"note":"Value kept but may cause issues"} 
[2026-08-22 13:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828099411592226816,"note":"Value kept but may cause issues"} 
[2026-08-22 13:15:43] 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-22 13:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787384707000,"timestamp_ms":1787384707000,"timestamp_seconds":1787384707,"priority":1,"record_length":96,"hex_timestamp":"000001a0286e37b8"} 
[2026-08-22 13: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-22 13:15: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-22 13: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 13:15:43] 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-22 13: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-22 13: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-22 13:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570484224001,"66":14439,"36":206,"94":11008,"24":5,"16":29487377143562240,"45":828099411592226816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570484224001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:15:43] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:15:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29487377143562240,"km_value":29487377143562.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":828099411592226816,"description":"Unknown IO ID 45"} 
[2026-08-22 13:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570484224001,"power":14439,"unknown_36":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":828099411592226816}} 
[2026-08-22 13:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":160040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681207,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:15:43] local.INFO: GPS data processed {"connection_id":160040,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:15:43] local.INFO: Acknowledgment sent {"connection_id":160040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:15:49] local.INFO: TCP Data received {"connection_id":162381,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:15:49] local.INFO: Processing buffer {"connection_id":162381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:15:49] local.INFO: IMEI packet received {"connection_id":162381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":162381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:15:54] local.INFO: TCP Data received {"connection_id":162381,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:15:54] local.INFO: Processing buffer {"connection_id":162381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:15:54] local.INFO: IMEI packet received {"connection_id":162381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":162381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:15:56] local.INFO: TCP Data received {"connection_id":162381,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:15:56] local.INFO: Processing buffer {"connection_id":162381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:15:56] local.INFO: Packet analysis {"connection_id":162381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:15:56] local.INFO: Extracted packet for processing {"connection_id":162381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570396928001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:15: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-22 13:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787384664000,"timestamp_ms":1787384664000,"timestamp_seconds":1787384664,"priority":1,"record_length":96,"hex_timestamp":"000001a0286d8fc0"} 
[2026-08-22 13: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-22 13:15: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-22 13: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 13:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:15: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-22 13:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570396928001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570396928001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:15:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570396928001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":162381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:15:56] local.INFO: GPS data processed {"connection_id":162381,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:15:56] local.INFO: Acknowledgment sent {"connection_id":162381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:16:32] local.INFO: TCP Data received {"connection_id":162381,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:16:32] local.INFO: Processing buffer {"connection_id":162381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:16:32] local.INFO: Packet analysis {"connection_id":162381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:16:32] local.INFO: Extracted packet for processing {"connection_id":162381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570396928001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:16: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-22 13:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787384664000,"timestamp_ms":1787384664000,"timestamp_seconds":1787384664,"priority":1,"record_length":96,"hex_timestamp":"000001a0286d8fc0"} 
[2026-08-22 13: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-22 13:16: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-22 13: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 13:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:16:32] 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-22 13:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570396928001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570396928001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:16:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570396928001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":162381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:16:32] local.INFO: GPS data processed {"connection_id":162381,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:16:32] local.INFO: Acknowledgment sent {"connection_id":162381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:16:51] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286e81f0012d0b70800702a2d0000b00fa21..."} 
[2026-08-22 13:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286e81f0012d0b70800702a2d0000b00fa21..."} 
[2026-08-22 13:16:51] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286e81f0012d0b70800702a2d0000b00fa21..."} 
[2026-08-22 13:16:51] local.INFO: Packet analysis {"connection_id":160040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286e"} 
[2026-08-22 13:16:51] local.INFO: Extracted packet for processing {"connection_id":160040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286e"} 
[2026-08-22 13:16:51] local.INFO: GPS Element Parsed {"raw_longitude":755724416,"raw_latitude":117613264,"longitude_deg":75.5724416,"latitude_deg":11.7613264,"altitude":11,"angle":250,"satellites":33,"speed":14,"hex_longitude":"2d0b7080","hex_latitude":"0702a2d0","is_valid_coordinates":true} 
[2026-08-22 13:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570484992001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29487548942254080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827747567871299584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:16:51] 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-22 13:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787384726000,"timestamp_ms":1787384726000,"timestamp_seconds":1787384726,"priority":1,"record_length":96,"hex_timestamp":"000001a0286e81f0"} 
[2026-08-22 13:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:16:51] 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-22 13:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 13:16:51] 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-22 13:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570484992001,"66":14439,"36":206,"94":11008,"24":14,"16":29487548942254080,"45":827747567871299584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570484992001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:16:51] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:16:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29487548942254080,"km_value":29487548942254.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":827747567871299584,"description":"Unknown IO ID 45"} 
[2026-08-22 13:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570484992001,"power":14439,"unknown_36":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":827747567871299584}} 
[2026-08-22 13:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":160040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681210,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:16:51] local.INFO: GPS data processed {"connection_id":160040,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:16:51] local.INFO: Acknowledgment sent {"connection_id":160040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:16:54] local.INFO: TCP Data received {"connection_id":159807,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:16:54] local.INFO: Processing buffer {"connection_id":159807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:16:54] local.INFO: IMEI packet received {"connection_id":159807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":159807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:16:54] local.INFO: TCP Data received {"connection_id":159807,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:16:54] local.INFO: Processing buffer {"connection_id":159807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:16:54] local.INFO: IMEI packet received {"connection_id":159807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":159807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:16:55] local.INFO: TCP Data received {"connection_id":159807,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:16:55] local.INFO: Processing buffer {"connection_id":159807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:16:55] local.INFO: Packet analysis {"connection_id":159807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:16:55] local.INFO: Extracted packet for processing {"connection_id":159807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:16:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 13:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570396928001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:16: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-22 13:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787384664000,"timestamp_ms":1787384664000,"timestamp_seconds":1787384664,"priority":1,"record_length":96,"hex_timestamp":"000001a0286d8fc0"} 
[2026-08-22 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-22 13: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-22 13:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 13:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 13:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:16:55] 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-22 13:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570396928001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570396928001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:16:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570396928001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":159807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:16:55] local.INFO: GPS data processed {"connection_id":159807,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:16:55] local.INFO: Acknowledgment sent {"connection_id":159807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:17:10] local.INFO: TCP Data received {"connection_id":159807,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:17:10] local.INFO: Processing buffer {"connection_id":159807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:17:10] local.INFO: Packet analysis {"connection_id":159807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:17:10] local.INFO: Extracted packet for processing {"connection_id":159807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570396928001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:17:10] 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-22 13:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787384664000,"timestamp_ms":1787384664000,"timestamp_seconds":1787384664,"priority":1,"record_length":96,"hex_timestamp":"000001a0286d8fc0"} 
[2026-08-22 13:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:17: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-22 13:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 13:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:17:10] 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-22 13:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570396928001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570396928001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:17:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570396928001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":159807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:17:10] local.INFO: GPS data processed {"connection_id":159807,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:17:10] local.INFO: Acknowledgment sent {"connection_id":159807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:17:13] local.INFO: TCP Data received {"connection_id":160959,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:17:13] local.INFO: Processing buffer {"connection_id":160959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:17:13] local.INFO: IMEI packet received {"connection_id":160959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":160959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:17:17] local.INFO: TCP Data received {"connection_id":160959,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:17:17] local.INFO: Processing buffer {"connection_id":160959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:17:17] local.INFO: IMEI packet received {"connection_id":160959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":160959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:17:19] local.INFO: TCP Data received {"connection_id":160959,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286fba70012d0b03800702b388000c009c21..."} 
[2026-08-22 13:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286fba70012d0b03800702b388000c009c21..."} 
[2026-08-22 13:17:19] local.INFO: Processing buffer {"connection_id":160959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286fba70012d0b03800702b388000c009c21..."} 
[2026-08-22 13:17:19] local.INFO: Packet analysis {"connection_id":160959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286f"} 
[2026-08-22 13:17:19] local.INFO: Extracted packet for processing {"connection_id":160959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286f"} 
[2026-08-22 13:17:19] local.INFO: GPS Element Parsed {"raw_longitude":755696512,"raw_latitude":117617544,"longitude_deg":75.5696512,"latitude_deg":11.7617544,"altitude":12,"angle":156,"satellites":33,"speed":22,"hex_longitude":"2d0b0380","hex_latitude":"0702b388","is_valid_coordinates":true} 
[2026-08-22 13:17: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-22 13:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570509824001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489288404008960,"note":"Value kept but may cause issues"} 
[2026-08-22 13:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793196514480994304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:17:19] 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-22 13:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787384806000,"timestamp_ms":1787384806000,"timestamp_seconds":1787384806,"priority":1,"record_length":96,"hex_timestamp":"000001a0286fba70"} 
[2026-08-22 13:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13:17: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":60,"data_length":795,"current_offset":136} 
[2026-08-22 13:17:19] 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-22 13:17: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-22 13:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570509824001,"66":14428,"36":206,"94":11008,"24":22,"16":29489288404008960,"45":793196514480994304},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570509824001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:17:19] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:17:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489288404008960,"km_value":29489288404008.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":793196514480994304,"description":"Unknown IO ID 45"} 
[2026-08-22 13:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570509824001,"power":14428,"unknown_36":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":793196514480994304}} 
[2026-08-22 13:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":160959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681213,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:17:19] local.INFO: GPS data processed {"connection_id":160959,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:17:19] local.INFO: Acknowledgment sent {"connection_id":160959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:17:49] local.INFO: TCP Data received {"connection_id":159809,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:17:49] local.INFO: Processing buffer {"connection_id":159809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:17:49] local.INFO: IMEI packet received {"connection_id":159809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":159809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:17:53] local.INFO: TCP Data received {"connection_id":162383,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:17:53] local.INFO: Processing buffer {"connection_id":162383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:17:53] local.INFO: IMEI packet received {"connection_id":162383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":162383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:17:54] local.INFO: TCP Data received {"connection_id":159809,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:17:54] local.INFO: Processing buffer {"connection_id":159809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:17:54] local.INFO: IMEI packet received {"connection_id":159809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":159809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:17:55] local.INFO: TCP Data received {"connection_id":159809,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:17:55] local.INFO: Processing buffer {"connection_id":159809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:17:55] local.INFO: Packet analysis {"connection_id":159809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:17:55] local.INFO: Extracted packet for processing {"connection_id":159809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570396928001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13: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-22 13:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787384664000,"timestamp_ms":1787384664000,"timestamp_seconds":1787384664,"priority":1,"record_length":96,"hex_timestamp":"000001a0286d8fc0"} 
[2026-08-22 13:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:17: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-22 13:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 13:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:17: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-22 13:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570396928001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570396928001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:17:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570396928001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":159809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:17:55] local.INFO: GPS data processed {"connection_id":159809,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:17:55] local.INFO: Acknowledgment sent {"connection_id":159809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:17:55] local.INFO: TCP Data received {"connection_id":162384,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:17:55] local.INFO: Processing buffer {"connection_id":162384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:17:55] local.INFO: IMEI packet received {"connection_id":162384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":162384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:17:58] local.INFO: TCP Data received {"connection_id":162383,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:17:58] local.INFO: Processing buffer {"connection_id":162383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:17:58] local.INFO: IMEI packet received {"connection_id":162383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":162383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:17:59] local.INFO: TCP Data received {"connection_id":162383,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286f02d8012d17ef4007217358004b00e62c..."} 
[2026-08-22 13:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286f02d8012d17ef4007217358004b00e62c..."} 
[2026-08-22 13:17:59] local.INFO: Processing buffer {"connection_id":162383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286f02d8012d17ef4007217358004b00e62c..."} 
[2026-08-22 13:17:59] local.INFO: Packet analysis {"connection_id":162383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286f"} 
[2026-08-22 13:17:59] local.INFO: Extracted packet for processing {"connection_id":162383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286f"} 
[2026-08-22 13:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119632728,"longitude_deg":75.6543296,"latitude_deg":11.9632728,"altitude":75,"angle":230,"satellites":44,"speed":6,"hex_longitude":"2d17ef40","hex_latitude":"07217358","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570497536001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14522057521889280,"note":"Value kept but may cause issues"} 
[2026-08-22 13:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725230531629989888,"note":"Value kept but may cause issues"} 
[2026-08-22 13:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787384759000,"timestamp_ms":1787384759000,"timestamp_seconds":1787384759,"priority":1,"record_length":96,"hex_timestamp":"000001a0286f02d8"} 
[2026-08-22 13: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-22 13:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-22 13:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570497536001,"66":13102,"107":206,"83":41984,"24":6,"16":14522057521889280,"45":1725230531629989888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 13:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570497536001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:17:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 13:17:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14522057521889280,"km_value":14522057521889.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725230531629989888,"description":"Unknown IO ID 45"} 
[2026-08-22 13:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570497536001,"power":13102,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1725230531629989888}} 
[2026-08-22 13:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":162383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:17:59] local.INFO: GPS data processed {"connection_id":162383,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:17:59] local.INFO: Acknowledgment sent {"connection_id":162383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:18:21] local.INFO: TCP Data received {"connection_id":162384,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:18:21] local.INFO: Processing buffer {"connection_id":162384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:18:21] local.INFO: IMEI packet received {"connection_id":162384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":162384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:18:23] local.INFO: TCP Data received {"connection_id":162384,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-22 13:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162384,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-22 13:18:23] local.INFO: Processing buffer {"connection_id":162384,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-22 13:18:23] local.INFO: IMEI packet received {"connection_id":162384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":162384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:18:26] local.INFO: TCP Data received {"connection_id":159809,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:18:26] local.INFO: Processing buffer {"connection_id":159809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:18:26] local.INFO: Packet analysis {"connection_id":159809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:18:26] local.INFO: Extracted packet for processing {"connection_id":159809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:18:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570396928001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:18: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-22 13:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787384664000,"timestamp_ms":1787384664000,"timestamp_seconds":1787384664,"priority":1,"record_length":96,"hex_timestamp":"000001a0286d8fc0"} 
[2026-08-22 13: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-22 13:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 13:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:18: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-22 13:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570396928001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570396928001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:18:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570396928001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":159809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:18:26] local.INFO: GPS data processed {"connection_id":159809,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:18:26] local.INFO: Acknowledgment sent {"connection_id":159809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:18:30] local.INFO: TCP Data received {"connection_id":162383,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286f1e30012d17edc007217340004b01272d..."} 
[2026-08-22 13:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286f1e30012d17edc007217340004b01272d..."} 
[2026-08-22 13:18:30] local.INFO: Processing buffer {"connection_id":162383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286f1e30012d17edc007217340004b01272d..."} 
[2026-08-22 13:18:30] local.INFO: Packet analysis {"connection_id":162383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286f"} 
[2026-08-22 13:18:30] local.INFO: Extracted packet for processing {"connection_id":162383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286f"} 
[2026-08-22 13:18:30] local.INFO: GPS Element Parsed {"raw_longitude":756542912,"raw_latitude":119632704,"longitude_deg":75.6542912,"latitude_deg":11.9632704,"altitude":75,"angle":295,"satellites":45,"speed":6,"hex_longitude":"2d17edc0","hex_latitude":"07217340","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570498304001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14522078996725760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724667581676345344,"note":"Value kept but may cause issues"} 
[2026-08-22 13:18:30] 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-22 13:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787384766000,"timestamp_ms":1787384766000,"timestamp_seconds":1787384766,"priority":1,"record_length":96,"hex_timestamp":"000001a0286f1e30"} 
[2026-08-22 13: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-22 13:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 13:18:30] 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-22 13: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-22 13: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-22 13:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570498304001,"66":13102,"107":206,"83":41984,"24":6,"16":14522078996725760,"45":1724667581676345344},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 13:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570498304001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:18:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 13:18:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14522078996725760,"km_value":14522078996725.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724667581676345344,"description":"Unknown IO ID 45"} 
[2026-08-22 13:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570498304001,"power":13102,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1724667581676345344}} 
[2026-08-22 13:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":162383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:18:30] local.INFO: GPS data processed {"connection_id":162383,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:18:30] local.INFO: Acknowledgment sent {"connection_id":162383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:18:54] local.INFO: TCP Data received {"connection_id":160960,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:18:54] local.INFO: Processing buffer {"connection_id":160960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:18:54] local.INFO: IMEI packet received {"connection_id":160960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":160960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:18:58] local.INFO: TCP Data received {"connection_id":160042,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:18:58] local.INFO: Processing buffer {"connection_id":160042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:18:58] local.INFO: IMEI packet received {"connection_id":160042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":160042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:18:59] local.INFO: TCP Data received {"connection_id":160960,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:18:59] local.INFO: Processing buffer {"connection_id":160960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:18:59] local.INFO: IMEI packet received {"connection_id":160960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":160960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:19:00] local.INFO: TCP Data received {"connection_id":160960,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:19:00] local.INFO: Processing buffer {"connection_id":160960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:19:00] local.INFO: Packet analysis {"connection_id":160960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:19:00] local.INFO: Extracted packet for processing {"connection_id":160960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570396928001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:00] 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-22 13:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787384664000,"timestamp_ms":1787384664000,"timestamp_seconds":1787384664,"priority":1,"record_length":96,"hex_timestamp":"000001a0286d8fc0"} 
[2026-08-22 13: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-22 13: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-22 13: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 13:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:19:00] 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-22 13:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570396928001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570396928001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:19:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570396928001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":160960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:19:00] local.INFO: GPS data processed {"connection_id":160960,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:19:00] local.INFO: Acknowledgment sent {"connection_id":160960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:19:03] local.INFO: TCP Data received {"connection_id":160042,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:19:03] local.INFO: Processing buffer {"connection_id":160042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:19:03] local.INFO: IMEI packet received {"connection_id":160042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":160042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:19:04] local.INFO: TCP Data received {"connection_id":160042,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286f2218012d17ed00072173a8004b013f2f..."} 
[2026-08-22 13:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286f2218012d17ed00072173a8004b013f2f..."} 
[2026-08-22 13:19:04] local.INFO: Processing buffer {"connection_id":160042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286f2218012d17ed00072173a8004b013f2f..."} 
[2026-08-22 13:19:04] local.INFO: Packet analysis {"connection_id":160042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286f"} 
[2026-08-22 13:19:04] local.INFO: Extracted packet for processing {"connection_id":160042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286f"} 
[2026-08-22 13:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756542720,"raw_latitude":119632808,"longitude_deg":75.654272,"latitude_deg":11.9632808,"altitude":75,"angle":319,"satellites":47,"speed":7,"hex_longitude":"2d17ed00","hex_latitude":"072173a8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570500096001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14522087586660352,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724245369211273216,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:04] 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-22 13:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787384767000,"timestamp_ms":1787384767000,"timestamp_seconds":1787384767,"priority":1,"record_length":96,"hex_timestamp":"000001a0286f2218"} 
[2026-08-22 13: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-22 13:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 13:19:04] 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-22 13: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-22 13: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-22 13:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570500096001,"66":13102,"107":206,"83":41984,"24":7,"16":14522087586660352,"45":1724245369211273216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 13:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570500096001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:19:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 13:19:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14522087586660352,"km_value":14522087586660.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724245369211273216,"description":"Unknown IO ID 45"} 
[2026-08-22 13:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570500096001,"power":13102,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1724245369211273216}} 
[2026-08-22 13:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":160042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:19:04] local.INFO: GPS data processed {"connection_id":160042,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:19:04] local.INFO: Acknowledgment sent {"connection_id":160042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:19:04] local.INFO: TCP Data received {"connection_id":160960,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:19:04] local.INFO: Processing buffer {"connection_id":160960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:19:04] local.INFO: Packet analysis {"connection_id":160960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:19:04] local.INFO: Extracted packet for processing {"connection_id":160960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570396928001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:04] 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-22 13:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787384664000,"timestamp_ms":1787384664000,"timestamp_seconds":1787384664,"priority":1,"record_length":96,"hex_timestamp":"000001a0286d8fc0"} 
[2026-08-22 13: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-22 13: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-22 13: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 13:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:19: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-22 13:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570396928001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570396928001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570396928001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":160960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:19:04] local.INFO: GPS data processed {"connection_id":160960,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:19:04] local.INFO: Acknowledgment sent {"connection_id":160960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:19:08] local.INFO: TCP Data received {"connection_id":160042,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286f2600012d17ecc007217448004b015a2e..."} 
[2026-08-22 13:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286f2600012d17ecc007217448004b015a2e..."} 
[2026-08-22 13:19:08] local.INFO: Processing buffer {"connection_id":160042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286f2600012d17ecc007217448004b015a2e..."} 
[2026-08-22 13:19:08] local.INFO: Packet analysis {"connection_id":160042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286f"} 
[2026-08-22 13:19:08] local.INFO: Extracted packet for processing {"connection_id":160042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286f"} 
[2026-08-22 13:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756542656,"raw_latitude":119632968,"longitude_deg":75.6542656,"latitude_deg":11.9632968,"altitude":75,"angle":346,"satellites":46,"speed":7,"hex_longitude":"2d17ecc0","hex_latitude":"07217448","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570500352001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14522096176594944,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724034262978766848,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:08] 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-22 13:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787384768000,"timestamp_ms":1787384768000,"timestamp_seconds":1787384768,"priority":1,"record_length":96,"hex_timestamp":"000001a0286f2600"} 
[2026-08-22 13: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-22 13:19: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-22 13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 13:19:08] 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-22 13: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-22 13: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-22 13:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570500352001,"66":13004,"107":206,"83":41984,"24":7,"16":14522096176594944,"45":1724034262978766848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 13:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570500352001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:19:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 13:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14522096176594944,"km_value":14522096176594.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724034262978766848,"description":"Unknown IO ID 45"} 
[2026-08-22 13:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570500352001,"power":13004,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1724034262978766848}} 
[2026-08-22 13:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":160042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:19:08] local.INFO: GPS data processed {"connection_id":160042,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:19:08] local.INFO: Acknowledgment sent {"connection_id":160042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:19:49] local.INFO: TCP Data received {"connection_id":162385,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:19:49] local.INFO: Processing buffer {"connection_id":162385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:19:49] local.INFO: IMEI packet received {"connection_id":162385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":162385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:19:53] local.INFO: TCP Data received {"connection_id":159811,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:19:53] local.INFO: Processing buffer {"connection_id":159811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:19:53] local.INFO: IMEI packet received {"connection_id":159811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":159811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:19:54] local.INFO: TCP Data received {"connection_id":162385,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:19:54] local.INFO: Processing buffer {"connection_id":162385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:19:54] local.INFO: IMEI packet received {"connection_id":162385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":162385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:19:55] local.INFO: TCP Data received {"connection_id":162385,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:19:55] local.INFO: Processing buffer {"connection_id":162385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286d8fc0012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:19:55] local.INFO: Packet analysis {"connection_id":162385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:19:55] local.INFO: Extracted packet for processing {"connection_id":162385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286d"} 
[2026-08-22 13:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570396928001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19: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-22 13:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787384664000,"timestamp_ms":1787384664000,"timestamp_seconds":1787384664,"priority":1,"record_length":96,"hex_timestamp":"000001a0286d8fc0"} 
[2026-08-22 13:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:19: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-22 13:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 13:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:19: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-22 13:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570396928001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570396928001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:19:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:19:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570396928001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":162385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:19:55] local.INFO: GPS data processed {"connection_id":162385,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:19:55] local.INFO: Acknowledgment sent {"connection_id":162385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:19:56] local.INFO: TCP Data received {"connection_id":159811,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:19:56] local.INFO: Processing buffer {"connection_id":159811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:19:56] local.INFO: IMEI packet received {"connection_id":159811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":159811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:19:57] local.INFO: TCP Data received {"connection_id":159811,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286f29e8012d17ec80072174f8004c00012f..."} 
[2026-08-22 13:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286f29e8012d17ec80072174f8004c00012f..."} 
[2026-08-22 13:19:57] local.INFO: Processing buffer {"connection_id":159811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286f29e8012d17ec80072174f8004c00012f..."} 
[2026-08-22 13:19:57] local.INFO: Packet analysis {"connection_id":159811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286f"} 
[2026-08-22 13:19:57] local.INFO: Extracted packet for processing {"connection_id":159811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286f"} 
[2026-08-22 13:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756542592,"raw_latitude":119633144,"longitude_deg":75.6542592,"latitude_deg":11.9633144,"altitude":76,"angle":1,"satellites":47,"speed":6,"hex_longitude":"2d17ec80","hex_latitude":"072174f8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570500608001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14522104766529536,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723963894234630144,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:57] 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-22 13:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787384769000,"timestamp_ms":1787384769000,"timestamp_seconds":1787384769,"priority":1,"record_length":96,"hex_timestamp":"000001a0286f29e8"} 
[2026-08-22 13: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-22 13:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 13:19:57] 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-22 13: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-22 13: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-22 13:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570500608001,"66":13004,"107":206,"83":41984,"24":6,"16":14522104766529536,"45":1723963894234630144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 13:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570500608001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:19:57] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 13:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14522104766529536,"km_value":14522104766529.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723963894234630144,"description":"Unknown IO ID 45"} 
[2026-08-22 13:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570500608001,"power":13004,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1723963894234630144}} 
[2026-08-22 13:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":159811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:19:57] local.INFO: GPS data processed {"connection_id":159811,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:19:57] local.INFO: Acknowledgment sent {"connection_id":159811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:19:58] local.INFO: TCP Data received {"connection_id":159811,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286f7bf0012d17ec8007217670004b00042e..."} 
[2026-08-22 13:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286f7bf0012d17ec8007217670004b00042e..."} 
[2026-08-22 13:19:58] local.INFO: Processing buffer {"connection_id":159811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286f7bf0012d17ec8007217670004b00042e..."} 
[2026-08-22 13:19:58] local.INFO: Packet analysis {"connection_id":159811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286f"} 
[2026-08-22 13:19:58] local.INFO: Extracted packet for processing {"connection_id":159811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286f"} 
[2026-08-22 13:19:58] local.INFO: GPS Element Parsed {"raw_longitude":756542592,"raw_latitude":119633520,"longitude_deg":75.6542592,"latitude_deg":11.963352,"altitude":75,"angle":4,"satellites":46,"speed":0,"hex_longitude":"2d17ec80","hex_latitude":"07217670","is_valid_coordinates":true} 
[2026-08-22 13:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570500864001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14522126241366016,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723893525490497536,"note":"Value kept but may cause issues"} 
[2026-08-22 13:19:58] 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-22 13:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787384790000,"timestamp_ms":1787384790000,"timestamp_seconds":1787384790,"priority":1,"record_length":96,"hex_timestamp":"000001a0286f7bf0"} 
[2026-08-22 13:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 13:19:58] 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-22 13:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570500864001,"66":12982,"107":206,"83":41984,"24":0,"16":14522126241366016,"45":1723893525490497536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 13:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570500864001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:19:58] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 13:19:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14522126241366016,"km_value":14522126241366.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723893525490497536,"description":"Unknown IO ID 45"} 
[2026-08-22 13:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570500864001,"power":12982,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1723893525490497536}} 
[2026-08-22 13:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":159811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:19:58] local.INFO: GPS data processed {"connection_id":159811,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:19:58] local.INFO: Acknowledgment sent {"connection_id":159811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:20:25] local.INFO: TCP Data received {"connection_id":162385,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:20:25] local.INFO: Processing buffer {"connection_id":162385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:20:25] local.INFO: Packet analysis {"connection_id":162385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:20:25] local.INFO: Extracted packet for processing {"connection_id":162385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 13:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570473984001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:20: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-22 13:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787384965000,"timestamp_ms":1787384965000,"timestamp_seconds":1787384965,"priority":1,"record_length":96,"hex_timestamp":"000001a028722788"} 
[2026-08-22 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-22 13:20: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-22 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:20: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-22 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-22 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-22 13:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 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-22 13:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570473984001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570473984001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:20:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570473984001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":162385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:20:25] local.INFO: GPS data processed {"connection_id":162385,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:20:25] local.INFO: Acknowledgment sent {"connection_id":162385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:20:29] local.INFO: TCP Data received {"connection_id":159811,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0286fcdf8012d17ec8007217670004b00042f..."} 
[2026-08-22 13:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0286fcdf8012d17ec8007217670004b00042f..."} 
[2026-08-22 13:20:29] local.INFO: Processing buffer {"connection_id":159811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0286fcdf8012d17ec8007217670004b00042f..."} 
[2026-08-22 13:20:29] local.INFO: Packet analysis {"connection_id":159811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0286f"} 
[2026-08-22 13:20:29] local.INFO: Extracted packet for processing {"connection_id":159811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0286f"} 
[2026-08-22 13:20:29] local.INFO: GPS Element Parsed {"raw_longitude":756542592,"raw_latitude":119633520,"longitude_deg":75.6542592,"latitude_deg":11.963352,"altitude":75,"angle":4,"satellites":47,"speed":0,"hex_longitude":"2d17ec80","hex_latitude":"07217670","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570506240001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14522126241366016,"note":"Value kept but may cause issues"} 
[2026-08-22 13:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723893525490593792,"note":"Value kept but may cause issues"} 
[2026-08-22 13:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787384811000,"timestamp_ms":1787384811000,"timestamp_seconds":1787384811,"priority":1,"record_length":96,"hex_timestamp":"000001a0286fcdf8"} 
[2026-08-22 13: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-22 13:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-22 13:20:29] 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-22 13: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-22 13: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-22 13:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570506240001,"66":12972,"105":206,"83":41984,"24":0,"16":14522126241366016,"45":1723893525490593792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 13:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570506240001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:20:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 13:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14522126241366016,"km_value":14522126241366.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723893525490593792,"description":"Unknown IO ID 45"} 
[2026-08-22 13:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570506240001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1723893525490593792}} 
[2026-08-22 13:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":159811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:20:30] local.INFO: GPS data processed {"connection_id":159811,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:20:30] local.INFO: Acknowledgment sent {"connection_id":159811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:20:49] local.INFO: TCP Data received {"connection_id":162386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:20:49] local.INFO: Processing buffer {"connection_id":162386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:20:49] local.INFO: IMEI packet received {"connection_id":162386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":162386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:20:54] local.INFO: TCP Data received {"connection_id":162386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:20:54] local.INFO: Processing buffer {"connection_id":162386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:20:54] local.INFO: IMEI packet received {"connection_id":162386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":162386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:20:54] local.INFO: TCP Data received {"connection_id":162387,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:20:54] local.INFO: Processing buffer {"connection_id":162387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:20:54] local.INFO: IMEI packet received {"connection_id":162387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":162387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:20:58] local.INFO: TCP Data received {"connection_id":162386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:20:58] local.INFO: Processing buffer {"connection_id":162386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:20:58] local.INFO: Packet analysis {"connection_id":162386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:20:58] local.INFO: Extracted packet for processing {"connection_id":162386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:20:58] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570473984001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:20:58] 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-22 13:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787384965000,"timestamp_ms":1787384965000,"timestamp_seconds":1787384965,"priority":1,"record_length":96,"hex_timestamp":"000001a028722788"} 
[2026-08-22 13: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-22 13:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:20:58] 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-22 13: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-22 13: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-22 13:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:20: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-22 13:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570473984001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570473984001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:20:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:20:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570473984001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":162386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:20:58] local.INFO: GPS data processed {"connection_id":162386,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:20:58] local.INFO: Acknowledgment sent {"connection_id":162386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:20:58] local.INFO: TCP Data received {"connection_id":162387,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:20:58] local.INFO: Processing buffer {"connection_id":162387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:20:58] local.INFO: IMEI packet received {"connection_id":162387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":162387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:20:59] local.INFO: TCP Data received {"connection_id":162387,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028702000012d17ec8007217670004b00042d..."} 
[2026-08-22 13:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028702000012d17ec8007217670004b00042d..."} 
[2026-08-22 13:20:59] local.INFO: Processing buffer {"connection_id":162387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028702000012d17ec8007217670004b00042d..."} 
[2026-08-22 13:20:59] local.INFO: Packet analysis {"connection_id":162387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02870"} 
[2026-08-22 13:20:59] local.INFO: Extracted packet for processing {"connection_id":162387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02870"} 
[2026-08-22 13:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756542592,"raw_latitude":119633520,"longitude_deg":75.6542592,"latitude_deg":11.963352,"altitude":75,"angle":4,"satellites":45,"speed":0,"hex_longitude":"2d17ec80","hex_latitude":"07217670","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570511616001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14522126241366016,"note":"Value kept but may cause issues"} 
[2026-08-22 13:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723893525490593792,"note":"Value kept but may cause issues"} 
[2026-08-22 13:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787384832000,"timestamp_ms":1787384832000,"timestamp_seconds":1787384832,"priority":1,"record_length":96,"hex_timestamp":"000001a028702000"} 
[2026-08-22 13: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-22 13:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 13:20:59] 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-22 13: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-22 13: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-22 13:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570511616001,"66":12950,"105":206,"83":41984,"24":0,"16":14522126241366016,"45":1723893525490593792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 13:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570511616001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:20:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 13:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14522126241366016,"km_value":14522126241366.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723893525490593792,"description":"Unknown IO ID 45"} 
[2026-08-22 13:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570511616001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1723893525490593792}} 
[2026-08-22 13:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":162387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:20:59] local.INFO: GPS data processed {"connection_id":162387,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:20:59] local.INFO: Acknowledgment sent {"connection_id":162387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:21:00] local.INFO: TCP Data received {"connection_id":162387,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028707208012d17ec8007217670004b00042c..."} 
[2026-08-22 13:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028707208012d17ec8007217670004b00042c..."} 
[2026-08-22 13:21:00] local.INFO: Processing buffer {"connection_id":162387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028707208012d17ec8007217670004b00042c..."} 
[2026-08-22 13:21:00] local.INFO: Packet analysis {"connection_id":162387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02870"} 
[2026-08-22 13:21:00] local.INFO: Extracted packet for processing {"connection_id":162387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02870"} 
[2026-08-22 13:21:00] local.INFO: GPS Element Parsed {"raw_longitude":756542592,"raw_latitude":119633520,"longitude_deg":75.6542592,"latitude_deg":11.963352,"altitude":75,"angle":4,"satellites":44,"speed":0,"hex_longitude":"2d17ec80","hex_latitude":"07217670","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570516992001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14522126241366016,"note":"Value kept but may cause issues"} 
[2026-08-22 13:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723893525490593792,"note":"Value kept but may cause issues"} 
[2026-08-22 13:21:00] local.INFO: IO Element Parsed {"io_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-22 13:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787384853000,"timestamp_ms":1787384853000,"timestamp_seconds":1787384853,"priority":1,"record_length":96,"hex_timestamp":"000001a028707208"} 
[2026-08-22 13: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-22 13:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 13:21:00] 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-22 13: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-22 13: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-22 13:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570516992001,"66":12863,"105":206,"83":41984,"24":0,"16":14522126241366016,"45":1723893525490593792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 13:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570516992001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:21:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 13:21:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14522126241366016,"km_value":14522126241366.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723893525490593792,"description":"Unknown IO ID 45"} 
[2026-08-22 13:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570516992001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1723893525490593792}} 
[2026-08-22 13:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":162387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:21:00] local.INFO: GPS data processed {"connection_id":162387,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:21:00] local.INFO: Acknowledgment sent {"connection_id":162387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:21:29] local.INFO: TCP Data received {"connection_id":162386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:21:29] local.INFO: Processing buffer {"connection_id":162386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:21:29] local.INFO: Packet analysis {"connection_id":162386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:21:29] local.INFO: Extracted packet for processing {"connection_id":162386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:21:29] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:21: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-22 13:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570473984001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:21: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-22 13:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787384965000,"timestamp_ms":1787384965000,"timestamp_seconds":1787384965,"priority":1,"record_length":96,"hex_timestamp":"000001a028722788"} 
[2026-08-22 13:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:21: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-22 13:21: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-22 13:21: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-22 13:21: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-22 13:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:21: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-22 13:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570473984001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570473984001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:21:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570473984001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":162386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:21:29] local.INFO: GPS data processed {"connection_id":162386,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:21:29] local.INFO: Acknowledgment sent {"connection_id":162386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:21:32] local.INFO: TCP Data received {"connection_id":162387,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02870c410012d17ec8007217670004b00042d..."} 
[2026-08-22 13:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02870c410012d17ec8007217670004b00042d..."} 
[2026-08-22 13:21:32] local.INFO: Processing buffer {"connection_id":162387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02870c410012d17ec8007217670004b00042d..."} 
[2026-08-22 13:21:32] local.INFO: Packet analysis {"connection_id":162387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02870"} 
[2026-08-22 13:21:32] local.INFO: Extracted packet for processing {"connection_id":162387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02870"} 
[2026-08-22 13:21:32] local.INFO: GPS Element Parsed {"raw_longitude":756542592,"raw_latitude":119633520,"longitude_deg":75.6542592,"latitude_deg":11.963352,"altitude":75,"angle":4,"satellites":45,"speed":0,"hex_longitude":"2d17ec80","hex_latitude":"07217670","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570522368001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14522126241366016,"note":"Value kept but may cause issues"} 
[2026-08-22 13:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723893525490593792,"note":"Value kept but may cause issues"} 
[2026-08-22 13:21:32] local.INFO: IO Element Parsed {"io_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-22 13:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787384874000,"timestamp_ms":1787384874000,"timestamp_seconds":1787384874,"priority":1,"record_length":96,"hex_timestamp":"000001a02870c410"} 
[2026-08-22 13: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-22 13:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 13:21:32] 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-22 13: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-22 13: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-22 13:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570522368001,"66":12841,"105":206,"83":41984,"24":0,"16":14522126241366016,"45":1723893525490593792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 13:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570522368001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:21:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 13:21:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14522126241366016,"km_value":14522126241366.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723893525490593792,"description":"Unknown IO ID 45"} 
[2026-08-22 13:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570522368001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1723893525490593792}} 
[2026-08-22 13:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":162387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:21:32] local.INFO: GPS data processed {"connection_id":162387,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:21:32] local.INFO: Acknowledgment sent {"connection_id":162387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:21:49] local.INFO: TCP Data received {"connection_id":160961,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:21:49] local.INFO: Processing buffer {"connection_id":160961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:21:49] local.INFO: IMEI packet received {"connection_id":160961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":160961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:21:50] local.INFO: TCP Data received {"connection_id":159813,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:21:50] local.INFO: Processing buffer {"connection_id":159813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:21:50] local.INFO: IMEI packet received {"connection_id":159813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":159813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:21:51] local.INFO: TCP Data received {"connection_id":159813,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:21:51] local.INFO: Processing buffer {"connection_id":159813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:21:51] local.INFO: IMEI packet received {"connection_id":159813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":159813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:21:53] local.INFO: TCP Data received {"connection_id":159813,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:21:53] local.INFO: Processing buffer {"connection_id":159813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:21:53] local.INFO: IMEI packet received {"connection_id":159813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":159813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:21:54] local.INFO: TCP Data received {"connection_id":160961,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:21:54] local.INFO: Processing buffer {"connection_id":160961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:21:54] local.INFO: IMEI packet received {"connection_id":160961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":160961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:21:54] local.INFO: TCP Data received {"connection_id":160961,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:21:54] local.INFO: Processing buffer {"connection_id":160961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:21:54] local.INFO: Packet analysis {"connection_id":160961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:21:54] local.INFO: Extracted packet for processing {"connection_id":160961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570473984001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:21:54] 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-22 13:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787384965000,"timestamp_ms":1787384965000,"timestamp_seconds":1787384965,"priority":1,"record_length":96,"hex_timestamp":"000001a028722788"} 
[2026-08-22 13:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:21:54] 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-22 13:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:21:54] local.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-22 13:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570473984001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570473984001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:21:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:21:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570473984001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":160961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:21:54] local.INFO: GPS data processed {"connection_id":160961,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:21:54] local.INFO: Acknowledgment sent {"connection_id":160961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:21:58] local.INFO: TCP Data received {"connection_id":159813,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:21:58] local.INFO: Processing buffer {"connection_id":159813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:21:58] local.INFO: IMEI packet received {"connection_id":159813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":159813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:21:59] local.INFO: TCP Data received {"connection_id":159813,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028711618012d17ec8007217670004b000430..."} 
[2026-08-22 13:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028711618012d17ec8007217670004b000430..."} 
[2026-08-22 13:21:59] local.INFO: Processing buffer {"connection_id":159813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028711618012d17ec8007217670004b000430..."} 
[2026-08-22 13:21:59] local.INFO: Packet analysis {"connection_id":159813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02871"} 
[2026-08-22 13:21:59] local.INFO: Extracted packet for processing {"connection_id":159813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02871"} 
[2026-08-22 13:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756542592,"raw_latitude":119633520,"longitude_deg":75.6542592,"latitude_deg":11.963352,"altitude":75,"angle":4,"satellites":48,"speed":0,"hex_longitude":"2d17ec80","hex_latitude":"07217670","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570527744001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14522126241366016,"note":"Value kept but may cause issues"} 
[2026-08-22 13:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723893525490593792,"note":"Value kept but may cause issues"} 
[2026-08-22 13:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787384895000,"timestamp_ms":1787384895000,"timestamp_seconds":1787384895,"priority":1,"record_length":96,"hex_timestamp":"000001a028711618"} 
[2026-08-22 13: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-22 13:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 13:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570527744001,"66":12819,"105":206,"83":41984,"24":0,"16":14522126241366016,"45":1723893525490593792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 13:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570527744001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:21:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 13:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14522126241366016,"km_value":14522126241366.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723893525490593792,"description":"Unknown IO ID 45"} 
[2026-08-22 13:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570527744001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1723893525490593792}} 
[2026-08-22 13:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":159813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:21:59] local.INFO: GPS data processed {"connection_id":159813,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:21:59] local.INFO: Acknowledgment sent {"connection_id":159813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:22:25] local.INFO: TCP Data received {"connection_id":160961,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:22:25] local.INFO: Processing buffer {"connection_id":160961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:22:25] local.INFO: Packet analysis {"connection_id":160961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:22:25] local.INFO: Extracted packet for processing {"connection_id":160961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:22:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570473984001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:22: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-22 13:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787384965000,"timestamp_ms":1787384965000,"timestamp_seconds":1787384965,"priority":1,"record_length":96,"hex_timestamp":"000001a028722788"} 
[2026-08-22 13: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-22 13:22: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-22 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:22: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-22 13: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-22 13: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-22 13:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:22: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-22 13:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570473984001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570473984001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:22:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:22:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570473984001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":160961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:22:25] local.INFO: GPS data processed {"connection_id":160961,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:22:25] local.INFO: Acknowledgment sent {"connection_id":160961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:22:31] local.INFO: TCP Data received {"connection_id":159813,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028741f70012d17ef40072178b0004e004530..."} 
[2026-08-22 13:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028741f70012d17ef40072178b0004e004530..."} 
[2026-08-22 13:22:31] local.INFO: Processing buffer {"connection_id":159813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028741f70012d17ef40072178b0004e004530..."} 
[2026-08-22 13:22:31] local.INFO: Packet analysis {"connection_id":159813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02874"} 
[2026-08-22 13:22:31] local.INFO: Extracted packet for processing {"connection_id":159813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02874"} 
[2026-08-22 13:22:31] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119634096,"longitude_deg":75.6543296,"latitude_deg":11.9634096,"altitude":78,"angle":69,"satellites":48,"speed":0,"hex_longitude":"2d17ef40","hex_latitude":"072178b0","is_valid_coordinates":true} 
[2026-08-22 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-22 13:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570578688001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14522169191038976,"note":"Value kept but may cause issues"} 
[2026-08-22 13:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724245369211535360,"note":"Value kept but may cause issues"} 
[2026-08-22 13:22:31] local.INFO: IO Element Parsed {"io_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-22 13:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787385094000,"timestamp_ms":1787385094000,"timestamp_seconds":1787385094,"priority":1,"record_length":96,"hex_timestamp":"000001a028741f70"} 
[2026-08-22 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-22 13:22:31] 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-22 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 13:22:31] 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-22 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-22 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-22 13:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570578688001,"66":14243,"105":206,"83":41984,"24":0,"16":14522169191038976,"45":1724245369211535360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 13:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570578688001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:22:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 13:22:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14522169191038976,"km_value":14522169191038.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724245369211535360,"description":"Unknown IO ID 45"} 
[2026-08-22 13:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570578688001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1724245369211535360}} 
[2026-08-22 13:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":159813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:22:31] local.INFO: GPS data processed {"connection_id":159813,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:22:31] local.INFO: Acknowledgment sent {"connection_id":159813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:22:49] local.INFO: TCP Data received {"connection_id":160043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:22:49] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:22:49] local.INFO: IMEI packet received {"connection_id":160043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":160043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:22:53] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:22:53] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:22:53] local.INFO: IMEI packet received {"connection_id":160044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":160044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:22:54] local.INFO: TCP Data received {"connection_id":160043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:22:54] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:22:54] local.INFO: IMEI packet received {"connection_id":160043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":160043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:22:54] local.INFO: TCP Data received {"connection_id":160043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:22:54] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:22:54] local.INFO: Packet analysis {"connection_id":160043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:22:54] local.INFO: Extracted packet for processing {"connection_id":160043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570473984001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:22:54] 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-22 13:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787384965000,"timestamp_ms":1787384965000,"timestamp_seconds":1787384965,"priority":1,"record_length":96,"hex_timestamp":"000001a028722788"} 
[2026-08-22 13:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:22:54] 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-22 13:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:22:54] local.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-22 13:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570473984001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570473984001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:22:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:22:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570473984001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":160043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:22:54] local.INFO: GPS data processed {"connection_id":160043,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:22:54] local.INFO: Acknowledgment sent {"connection_id":160043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:22:56] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:22:56] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:22:56] local.INFO: IMEI packet received {"connection_id":160044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":160044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:22:57] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028742740012d17efc007217978004e003831..."} 
[2026-08-22 13:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028742740012d17efc007217978004e003831..."} 
[2026-08-22 13:22:57] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028742740012d17efc007217978004e003831..."} 
[2026-08-22 13:22:57] local.INFO: Packet analysis {"connection_id":160044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02874"} 
[2026-08-22 13:22:57] local.INFO: Extracted packet for processing {"connection_id":160044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02874"} 
[2026-08-22 13:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756543424,"raw_latitude":119634296,"longitude_deg":75.6543424,"latitude_deg":11.9634296,"altitude":78,"angle":56,"satellites":49,"speed":5,"hex_longitude":"2d17efc0","hex_latitude":"07217978","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570584064001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14522182075940864,"note":"Value kept but may cause issues"} 
[2026-08-22 13:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724667581676695552,"note":"Value kept but may cause issues"} 
[2026-08-22 13:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787385096000,"timestamp_ms":1787385096000,"timestamp_seconds":1787385096,"priority":1,"record_length":96,"hex_timestamp":"000001a028742740"} 
[2026-08-22 13: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-22 13:22:57] 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-22 13: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-22 13:22:57] 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-22 13: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-22 13: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-22 13:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570584064001,"66":14254,"105":206,"83":41984,"24":5,"16":14522182075940864,"45":1724667581676695552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 13:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570584064001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:22:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 13:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14522182075940864,"km_value":14522182075940.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724667581676695552,"description":"Unknown IO ID 45"} 
[2026-08-22 13:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570584064001,"power":14254,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1724667581676695552}} 
[2026-08-22 13:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":160044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:22:57] local.INFO: GPS data processed {"connection_id":160044,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:22:57] local.INFO: Acknowledgment sent {"connection_id":160044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:23:17] local.INFO: TCP Data received {"connection_id":162388,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:23:17] local.INFO: Processing buffer {"connection_id":162388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:23:17] local.INFO: IMEI packet received {"connection_id":162388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":162388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:23:18] local.INFO: TCP Data received {"connection_id":162388,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02870e350012d0b160007029d88000900511e..."} 
[2026-08-22 13:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02870e350012d0b160007029d88000900511e..."} 
[2026-08-22 13:23:18] local.INFO: Processing buffer {"connection_id":162388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02870e350012d0b160007029d88000900511e..."} 
[2026-08-22 13:23:18] local.INFO: Packet analysis {"connection_id":162388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02870"} 
[2026-08-22 13:23:18] local.INFO: Extracted packet for processing {"connection_id":162388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02870"} 
[2026-08-22 13:23:18] local.INFO: GPS Element Parsed {"raw_longitude":755701248,"raw_latitude":117611912,"longitude_deg":75.5701248,"latitude_deg":11.7611912,"altitude":9,"angle":81,"satellites":30,"speed":1,"hex_longitude":"2d0b1600","hex_latitude":"07029d88","is_valid_coordinates":true} 
[2026-08-22 13:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570529536001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798826014013489152,"note":"Value kept but may cause issues"} 
[2026-08-22 13:23:18] 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-22 13:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787384882000,"timestamp_ms":1787384882000,"timestamp_seconds":1787384882,"priority":1,"record_length":96,"hex_timestamp":"000001a02870e350"} 
[2026-08-22 13:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:23:18] 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-22 13:23: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":92,"data_length":795,"current_offset":136} 
[2026-08-22 13:23:18] 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-22 13:23: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-22 13:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570529536001,"66":14407,"147":206,"94":11008,"24":1,"16":29489670656098304,"45":798826014013489152},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-08-22 13:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570529536001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:23:18] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-22 13:23:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":798826014013489152,"description":"Unknown IO ID 45"} 
[2026-08-22 13:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570529536001,"power":14407,"unknown_147":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":798826014013489152}} 
[2026-08-22 13:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":162388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681238,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:23:18] local.INFO: GPS data processed {"connection_id":162388,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:23:18] local.INFO: Acknowledgment sent {"connection_id":162388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:23:25] local.INFO: TCP Data received {"connection_id":160043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:23:25] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:23:25] local.INFO: Packet analysis {"connection_id":160043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:23:25] local.INFO: Extracted packet for processing {"connection_id":160043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 13:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570473984001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:23: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-22 13:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787384965000,"timestamp_ms":1787384965000,"timestamp_seconds":1787384965,"priority":1,"record_length":96,"hex_timestamp":"000001a028722788"} 
[2026-08-22 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-22 13:23: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-22 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:23: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-22 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-22 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-22 13:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:23: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-22 13:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570473984001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570473984001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:23:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570473984001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":160043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:23:25] local.INFO: GPS data processed {"connection_id":160043,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:23:25] local.INFO: Acknowledgment sent {"connection_id":160043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:23:28] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028745df0012d180a0007219070004f00292e..."} 
[2026-08-22 13:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028745df0012d180a0007219070004f00292e..."} 
[2026-08-22 13:23:28] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028745df0012d180a0007219070004f00292e..."} 
[2026-08-22 13:23:28] local.INFO: Packet analysis {"connection_id":160044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02874"} 
[2026-08-22 13:23:28] local.INFO: Extracted packet for processing {"connection_id":160044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02874"} 
[2026-08-22 13:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756550144,"raw_latitude":119640176,"longitude_deg":75.6550144,"latitude_deg":11.9640176,"altitude":79,"angle":41,"satellites":46,"speed":36,"hex_longitude":"2d180a00","hex_latitude":"07219070","is_valid_coordinates":true} 
[2026-08-22 13:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570584576001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14522611572670464,"note":"Value kept but may cause issues"} 
[2026-08-22 13:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724808319165102080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:23:28] local.INFO: IO Element Parsed {"io_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-22 13:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787385110000,"timestamp_ms":1787385110000,"timestamp_seconds":1787385110,"priority":1,"record_length":96,"hex_timestamp":"000001a028745df0"} 
[2026-08-22 13:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:23: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-22 13:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-22 13:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570584576001,"66":14265,"105":206,"83":41984,"24":36,"16":14522611572670464,"45":1724808319165102080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 13:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570584576001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:23:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 13:23:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14522611572670464,"km_value":14522611572670.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724808319165102080,"description":"Unknown IO ID 45"} 
[2026-08-22 13:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570584576001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1724808319165102080}} 
[2026-08-22 13:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":160044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:23:28] local.INFO: GPS data processed {"connection_id":160044,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:23:28] local.INFO: Acknowledgment sent {"connection_id":160044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:23:37] local.INFO: TCP Data received {"connection_id":160962,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160962,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:23:37] local.INFO: Processing buffer {"connection_id":160962,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:23:37] local.INFO: IMEI packet received {"connection_id":160962,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":160962,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:23:42] local.INFO: TCP Data received {"connection_id":160962,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160962,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:23:42] local.INFO: Processing buffer {"connection_id":160962,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:23:42] local.INFO: IMEI packet received {"connection_id":160962,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":160962,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:23:43] local.INFO: TCP Data received {"connection_id":160962,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02870e350012d0b160007029d88000900511e..."} 
[2026-08-22 13:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02870e350012d0b160007029d88000900511e..."} 
[2026-08-22 13:23:43] local.INFO: Processing buffer {"connection_id":160962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02870e350012d0b160007029d88000900511e..."} 
[2026-08-22 13:23:43] local.INFO: Packet analysis {"connection_id":160962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02870"} 
[2026-08-22 13:23:43] local.INFO: Extracted packet for processing {"connection_id":160962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02870"} 
[2026-08-22 13:23:43] local.INFO: GPS Element Parsed {"raw_longitude":755701248,"raw_latitude":117611912,"longitude_deg":75.5701248,"latitude_deg":11.7611912,"altitude":9,"angle":81,"satellites":30,"speed":1,"hex_longitude":"2d0b1600","hex_latitude":"07029d88","is_valid_coordinates":true} 
[2026-08-22 13:23:43] 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-22 13:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570529792001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798826014013491200,"note":"Value kept but may cause issues"} 
[2026-08-22 13:23:43] 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-22 13:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787384882000,"timestamp_ms":1787384882000,"timestamp_seconds":1787384882,"priority":1,"record_length":96,"hex_timestamp":"000001a02870e350"} 
[2026-08-22 13:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:23:43] 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-22 13:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 13:23:43] 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-22 13:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570529792001,"66":14407,"147":206,"94":11008,"24":1,"16":29489670656098304,"45":798826014013491200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-08-22 13:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570529792001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:23:43] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-22 13:23:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":798826014013491200,"description":"Unknown IO ID 45"} 
[2026-08-22 13:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570529792001,"power":14407,"unknown_147":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":798826014013491200}} 
[2026-08-22 13:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":160962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681241,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:23:43] local.INFO: GPS data processed {"connection_id":160962,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:23:43] local.INFO: Acknowledgment sent {"connection_id":160962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:23:49] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:23:49] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:23:49] local.INFO: IMEI packet received {"connection_id":160045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":160045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:23:54] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:23:54] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:23:54] local.INFO: IMEI packet received {"connection_id":160045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":160045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:23:54] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:23:54] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:23:54] local.INFO: Packet analysis {"connection_id":160045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:23:54] local.INFO: Extracted packet for processing {"connection_id":160045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:23:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570473984001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:23:54] 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-22 13:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787384965000,"timestamp_ms":1787384965000,"timestamp_seconds":1787384965,"priority":1,"record_length":96,"hex_timestamp":"000001a028722788"} 
[2026-08-22 13:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:23:54] 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-22 13:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:23:54] local.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-22 13:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570473984001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570473984001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:23:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:23:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570473984001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":160045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:23:54] local.INFO: GPS data processed {"connection_id":160045,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:23:54] local.INFO: Acknowledgment sent {"connection_id":160045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:24:15] local.INFO: TCP Data received {"connection_id":160962,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02870eb20012d0b160007029da8000a00431e..."} 
[2026-08-22 13:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02870eb20012d0b160007029da8000a00431e..."} 
[2026-08-22 13:24:15] local.INFO: Processing buffer {"connection_id":160962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02870eb20012d0b160007029da8000a00431e..."} 
[2026-08-22 13:24:15] local.INFO: Packet analysis {"connection_id":160962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02870"} 
[2026-08-22 13:24:15] local.INFO: Extracted packet for processing {"connection_id":160962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02870"} 
[2026-08-22 13:24:15] local.INFO: GPS Element Parsed {"raw_longitude":755701248,"raw_latitude":117611944,"longitude_deg":75.5701248,"latitude_deg":11.7611944,"altitude":10,"angle":67,"satellites":30,"speed":0,"hex_longitude":"2d0b1600","hex_latitude":"07029da8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570529792001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798826014013491200,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24:15] 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-22 13:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787384884000,"timestamp_ms":1787384884000,"timestamp_seconds":1787384884,"priority":1,"record_length":96,"hex_timestamp":"000001a02870eb20"} 
[2026-08-22 13: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-22 13:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 13:24:15] 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-22 13: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-22 13: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-22 13:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570529792001,"66":14407,"147":206,"94":11008,"24":0,"16":29489670656098304,"45":798826014013491200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-08-22 13:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570529792001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:24:15] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-22 13:24:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":798826014013491200,"description":"Unknown IO ID 45"} 
[2026-08-22 13:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570529792001,"power":14407,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798826014013491200}} 
[2026-08-22 13:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":160962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681243,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:24:15] local.INFO: GPS data processed {"connection_id":160962,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:24:15] local.INFO: Acknowledgment sent {"connection_id":160962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:24:25] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:24:25] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:24:25] local.INFO: Packet analysis {"connection_id":160045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:24:25] local.INFO: Extracted packet for processing {"connection_id":160045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:24:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 13:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570473984001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24: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-22 13:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787384965000,"timestamp_ms":1787384965000,"timestamp_seconds":1787384965,"priority":1,"record_length":96,"hex_timestamp":"000001a028722788"} 
[2026-08-22 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-22 13:24: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-22 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:24: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-22 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-22 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-22 13:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:24: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-22 13:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570473984001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570473984001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:24:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:24:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570473984001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":160045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:24:25] local.INFO: GPS data processed {"connection_id":160045,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:24:25] local.INFO: Acknowledgment sent {"connection_id":160045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:24:26] local.INFO: TCP Data received {"connection_id":159815,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:24:26] local.INFO: Processing buffer {"connection_id":159815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:24:26] local.INFO: IMEI packet received {"connection_id":159815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":159815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:24:28] local.INFO: TCP Data received {"connection_id":159815,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:24:28] local.INFO: Processing buffer {"connection_id":159815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:24:28] local.INFO: IMEI packet received {"connection_id":159815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":159815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:24:29] local.INFO: TCP Data received {"connection_id":159815,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:24:29] local.INFO: Processing buffer {"connection_id":159815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:24:29] local.INFO: IMEI packet received {"connection_id":159815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":159815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:24:31] local.INFO: TCP Data received {"connection_id":159815,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:24:31] local.INFO: Processing buffer {"connection_id":159815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:24:31] local.INFO: IMEI packet received {"connection_id":159815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":159815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:24:31] local.INFO: TCP Data received {"connection_id":159815,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02875f048012d18a0400722c2a8007100032d..."} 
[2026-08-22 13:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02875f048012d18a0400722c2a8007100032d..."} 
[2026-08-22 13:24:31] local.INFO: Processing buffer {"connection_id":159815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02875f048012d18a0400722c2a8007100032d..."} 
[2026-08-22 13:24:31] local.INFO: Packet analysis {"connection_id":159815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02875"} 
[2026-08-22 13:24:31] local.INFO: Extracted packet for processing {"connection_id":159815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02875"} 
[2026-08-22 13:24:31] local.INFO: GPS Element Parsed {"raw_longitude":756588608,"raw_latitude":119718568,"longitude_deg":75.6588608,"latitude_deg":11.9718568,"altitude":113,"angle":3,"satellites":45,"speed":43,"hex_longitude":"2d18a040","hex_latitude":"0722c2a8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570612224001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14526975259443200,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776247871178407936,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24:31] 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-22 13:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787385213000,"timestamp_ms":1787385213000,"timestamp_seconds":1787385213,"priority":1,"record_length":96,"hex_timestamp":"000001a02875f048"} 
[2026-08-22 13: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-22 13:24:31] 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-22 13: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-22 13:24:31] 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-22 13: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-22 13: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-22 13:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570612224001,"66":14396,"137":206,"83":42752,"24":43,"16":14526975259443200,"45":1776247871178407936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570612224001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:24:32] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:24:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14526975259443200,"km_value":14526975259443.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776247871178407936,"description":"Unknown IO ID 45"} 
[2026-08-22 13:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570612224001,"power":14396,"unknown_137":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1776247871178407936}} 
[2026-08-22 13:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":159815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:24:32] local.INFO: GPS data processed {"connection_id":159815,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:24:32] local.INFO: Acknowledgment sent {"connection_id":159815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:24:33] local.INFO: TCP Data received {"connection_id":159815,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02875f818012d18a2000722cb18006f00152d..."} 
[2026-08-22 13:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02875f818012d18a2000722cb18006f00152d..."} 
[2026-08-22 13:24:33] local.INFO: Processing buffer {"connection_id":159815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02875f818012d18a2000722cb18006f00152d..."} 
[2026-08-22 13:24:33] local.INFO: Packet analysis {"connection_id":159815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02875"} 
[2026-08-22 13:24:33] local.INFO: Extracted packet for processing {"connection_id":159815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02875"} 
[2026-08-22 13:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756589056,"raw_latitude":119720728,"longitude_deg":75.6589056,"latitude_deg":11.9720728,"altitude":111,"angle":21,"satellites":45,"speed":44,"hex_longitude":"2d18a200","hex_latitude":"0722cb18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570614528001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14527082633625600,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774488652576106496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24: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-22 13:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787385215000,"timestamp_ms":1787385215000,"timestamp_seconds":1787385215,"priority":1,"record_length":96,"hex_timestamp":"000001a02875f818"} 
[2026-08-22 13: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-22 13:24: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-22 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 13:24:33] 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-22 13: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-22 13: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-22 13:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570614528001,"66":14363,"137":206,"83":42752,"24":44,"16":14527082633625600,"45":1774488652576106496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 13:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570614528001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:24:33] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 13:24:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 13:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14527082633625600,"km_value":14527082633625.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774488652576106496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570614528001,"power":14363,"unknown_137":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1774488652576106496}} 
[2026-08-22 13:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":159815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:24:33] local.INFO: GPS data processed {"connection_id":159815,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:24:33] local.INFO: Acknowledgment sent {"connection_id":159815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:24:37] local.INFO: TCP Data received {"connection_id":160963,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160963,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:24:37] local.INFO: Processing buffer {"connection_id":160963,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:24:37] local.INFO: IMEI packet received {"connection_id":160963,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":160963,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:24:42] local.INFO: TCP Data received {"connection_id":160963,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160963,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:24:42] local.INFO: Processing buffer {"connection_id":160963,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:24:42] local.INFO: IMEI packet received {"connection_id":160963,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":160963,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:24:43] local.INFO: TCP Data received {"connection_id":160963,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0287582e8012d0b150007029d800010004322..."} 
[2026-08-22 13:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287582e8012d0b150007029d800010004322..."} 
[2026-08-22 13:24:43] local.INFO: Processing buffer {"connection_id":160963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287582e8012d0b150007029d800010004322..."} 
[2026-08-22 13:24:43] local.INFO: Packet analysis {"connection_id":160963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02875"} 
[2026-08-22 13:24:43] local.INFO: Extracted packet for processing {"connection_id":160963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02875"} 
[2026-08-22 13:24:43] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":16,"angle":67,"satellites":34,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570530304001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798826014013499392,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24:43] 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-22 13:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787385185000,"timestamp_ms":1787385185000,"timestamp_seconds":1787385185,"priority":1,"record_length":96,"hex_timestamp":"000001a0287582e8"} 
[2026-08-22 13: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-22 13:24:43] 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-22 13: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 13:24:43] 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-22 13: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-22 13: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-22 13:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160963,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160963,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570530304001,"66":12809,"17":206,"94":11008,"24":0,"16":29489670656098304,"45":798826014013499392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-22 13:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570530304001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:24:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":798826014013499392,"description":"Unknown IO ID 45"} 
[2026-08-22 13:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570530304001,"power":12809,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798826014013499392}} 
[2026-08-22 13:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":160963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681247,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:24:43] local.INFO: GPS data processed {"connection_id":160963,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:24:43] local.INFO: Acknowledgment sent {"connection_id":160963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:24:54] local.INFO: TCP Data received {"connection_id":162389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:24:54] local.INFO: Processing buffer {"connection_id":162389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:24:54] local.INFO: IMEI packet received {"connection_id":162389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":162389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:24:56] local.INFO: TCP Data received {"connection_id":160964,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:24:56] local.INFO: Processing buffer {"connection_id":160964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:24:56] local.INFO: IMEI packet received {"connection_id":160964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":160964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:24:58] local.INFO: TCP Data received {"connection_id":160964,"ip":"42.109.136.1","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 13:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160964,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 13:24:58] local.INFO: Processing buffer {"connection_id":160964,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 13:24:58] local.INFO: IMEI packet received {"connection_id":160964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":160964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:24:59] local.INFO: TCP Data received {"connection_id":162389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:24:59] local.INFO: Processing buffer {"connection_id":162389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:24:59] local.INFO: IMEI packet received {"connection_id":162389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":162389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:24:59] local.INFO: TCP Data received {"connection_id":162389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:24:59] local.INFO: Processing buffer {"connection_id":162389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:24:59] local.INFO: Packet analysis {"connection_id":162389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:24:59] local.INFO: Extracted packet for processing {"connection_id":162389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570473984001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:24:59] 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-22 13:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787384965000,"timestamp_ms":1787384965000,"timestamp_seconds":1787384965,"priority":1,"record_length":96,"hex_timestamp":"000001a028722788"} 
[2026-08-22 13: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-22 13:24: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-22 13: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:24:59] 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-22 13: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-22 13: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-22 13:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:24: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-22 13:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570473984001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570473984001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:24:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:24:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570473984001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":162389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:24:59] local.INFO: GPS data processed {"connection_id":162389,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:24:59] local.INFO: Acknowledgment sent {"connection_id":162389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:25:04] local.INFO: TCP Data received {"connection_id":162389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:25:04] local.INFO: Processing buffer {"connection_id":162389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028722788012d7fabc005afe1b80000012128..."} 
[2026-08-22 13:25:04] local.INFO: Packet analysis {"connection_id":162389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:25:04] local.INFO: Extracted packet for processing {"connection_id":162389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02872"} 
[2026-08-22 13:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570473984001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:25:04] 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-22 13:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787384965000,"timestamp_ms":1787384965000,"timestamp_seconds":1787384965,"priority":1,"record_length":96,"hex_timestamp":"000001a028722788"} 
[2026-08-22 13:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:25: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-22 13:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:25:04] 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-22 13:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570473984001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570473984001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:25:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570473984001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":162389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:25:04] local.INFO: GPS data processed {"connection_id":162389,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:25:04] local.INFO: Acknowledgment sent {"connection_id":162389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:25:14] local.INFO: TCP Data received {"connection_id":160963,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0287582e8012d0b150007029d800010004322..."} 
[2026-08-22 13:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287582e8012d0b150007029d800010004322..."} 
[2026-08-22 13:25:14] local.INFO: Processing buffer {"connection_id":160963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287582e8012d0b150007029d800010004322..."} 
[2026-08-22 13:25:14] local.INFO: Packet analysis {"connection_id":160963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02875"} 
[2026-08-22 13:25:14] local.INFO: Extracted packet for processing {"connection_id":160963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02875"} 
[2026-08-22 13:25:14] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":16,"angle":67,"satellites":34,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570530304001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798826014013499392,"note":"Value kept but may cause issues"} 
[2026-08-22 13:25:14] 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-22 13:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787385185000,"timestamp_ms":1787385185000,"timestamp_seconds":1787385185,"priority":1,"record_length":96,"hex_timestamp":"000001a0287582e8"} 
[2026-08-22 13: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-22 13:25:14] 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-22 13: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 13:25:14] 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-22 13: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-22 13: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-22 13:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160963,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160963,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570530304001,"66":12809,"17":206,"94":11008,"24":0,"16":29489670656098304,"45":798826014013499392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-22 13:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570530304001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:25:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":798826014013499392,"description":"Unknown IO ID 45"} 
[2026-08-22 13:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570530304001,"power":12809,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798826014013499392}} 
[2026-08-22 13:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":160963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681250,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:25:15] local.INFO: GPS data processed {"connection_id":160963,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:25:15] local.INFO: Acknowledgment sent {"connection_id":160963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:25:49] local.INFO: TCP Data received {"connection_id":160046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:25:49] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:25:49] local.INFO: IMEI packet received {"connection_id":160046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":160046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:25:54] local.INFO: TCP Data received {"connection_id":160046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:25:54] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:25:54] local.INFO: IMEI packet received {"connection_id":160046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":160046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:25:54] local.INFO: TCP Data received {"connection_id":160046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:25:54] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:25:54] local.INFO: Packet analysis {"connection_id":160046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:25:54] local.INFO: Extracted packet for processing {"connection_id":160046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570551040001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:25:54] 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-22 13:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787385266000,"timestamp_ms":1787385266000,"timestamp_seconds":1787385266,"priority":1,"record_length":96,"hex_timestamp":"000001a02876bf50"} 
[2026-08-22 13: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-22 13:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 13: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-22 13: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-22 13:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:25:54] local.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-22 13:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570551040001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570551040001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:25:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:25:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570551040001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":160046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:25:54] local.INFO: GPS data processed {"connection_id":160046,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:25:54] local.INFO: Acknowledgment sent {"connection_id":160046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:26:21] local.INFO: TCP Data received {"connection_id":162390,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162390,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:26:21] local.INFO: Processing buffer {"connection_id":162390,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:26:21] local.INFO: IMEI packet received {"connection_id":162390,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":162390,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:26:24] local.INFO: TCP Data received {"connection_id":162390,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-22 13:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162390,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-22 13:26:24] local.INFO: Processing buffer {"connection_id":162390,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-22 13:26:24] local.INFO: IMEI packet received {"connection_id":162390,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":162390,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:26:26] local.INFO: TCP Data received {"connection_id":160046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:26:26] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:26:26] local.INFO: Packet analysis {"connection_id":160046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:26:26] local.INFO: Extracted packet for processing {"connection_id":160046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:26:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570551040001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:26: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-22 13:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787385266000,"timestamp_ms":1787385266000,"timestamp_seconds":1787385266,"priority":1,"record_length":96,"hex_timestamp":"000001a02876bf50"} 
[2026-08-22 13: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-22 13:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:26: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-22 13:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570551040001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570551040001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:26:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:26:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570551040001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":160046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:26:27] local.INFO: GPS data processed {"connection_id":160046,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:26:27] local.INFO: Acknowledgment sent {"connection_id":160046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:26:49] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:26:49] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:26:49] local.INFO: IMEI packet received {"connection_id":160047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":160047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:26:51] local.INFO: TCP Data received {"connection_id":162392,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:26:51] local.INFO: Processing buffer {"connection_id":162392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:26:51] local.INFO: IMEI packet received {"connection_id":162392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":162392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:26:54] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:26:54] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:26:54] local.INFO: IMEI packet received {"connection_id":160047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":160047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:26:55] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:26:55] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:26:55] local.INFO: Packet analysis {"connection_id":160047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:26:55] local.INFO: Extracted packet for processing {"connection_id":160047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:26:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570551040001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:26: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-22 13:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787385266000,"timestamp_ms":1787385266000,"timestamp_seconds":1787385266,"priority":1,"record_length":96,"hex_timestamp":"000001a02876bf50"} 
[2026-08-22 13: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-22 13:26: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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:26: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-22 13: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-22 13: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-22 13:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:26:55] local.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-22 13:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570551040001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570551040001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:26:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:26:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570551040001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":160047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:26:55] local.INFO: GPS data processed {"connection_id":160047,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:26:55] local.INFO: Acknowledgment sent {"connection_id":160047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:27:25] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:27:25] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:27:25] local.INFO: Packet analysis {"connection_id":160047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:27:25] local.INFO: Extracted packet for processing {"connection_id":160047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:27:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 13:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570551040001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:27: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-22 13:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787385266000,"timestamp_ms":1787385266000,"timestamp_seconds":1787385266,"priority":1,"record_length":96,"hex_timestamp":"000001a02876bf50"} 
[2026-08-22 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-22 13:27: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-22 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:27: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-22 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-22 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-22 13:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:27: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-22 13:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570551040001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570551040001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:27:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:27:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570551040001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":160047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:27:25] local.INFO: GPS data processed {"connection_id":160047,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:27:25] local.INFO: Acknowledgment sent {"connection_id":160047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:27:49] local.INFO: TCP Data received {"connection_id":160965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:27:49] local.INFO: Processing buffer {"connection_id":160965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:27:49] local.INFO: IMEI packet received {"connection_id":160965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":160965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:27:54] local.INFO: TCP Data received {"connection_id":160965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:27:54] local.INFO: Processing buffer {"connection_id":160965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:27:54] local.INFO: IMEI packet received {"connection_id":160965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":160965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:27:54] local.INFO: TCP Data received {"connection_id":160965,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:27:54] local.INFO: Processing buffer {"connection_id":160965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:27:54] local.INFO: Packet analysis {"connection_id":160965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:27:54] local.INFO: Extracted packet for processing {"connection_id":160965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570551040001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:27:54] 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-22 13:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787385266000,"timestamp_ms":1787385266000,"timestamp_seconds":1787385266,"priority":1,"record_length":96,"hex_timestamp":"000001a02876bf50"} 
[2026-08-22 13: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-22 13:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 13: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-22 13: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-22 13:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:27:54] local.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-22 13:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570551040001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570551040001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:27:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:27:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570551040001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":160965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:27:54] local.INFO: GPS data processed {"connection_id":160965,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:27:54] local.INFO: Acknowledgment sent {"connection_id":160965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:28:26] local.INFO: TCP Data received {"connection_id":160965,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:28:26] local.INFO: Processing buffer {"connection_id":160965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:28:26] local.INFO: Packet analysis {"connection_id":160965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:28:26] local.INFO: Extracted packet for processing {"connection_id":160965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:28:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570551040001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:28: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-22 13:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787385266000,"timestamp_ms":1787385266000,"timestamp_seconds":1787385266,"priority":1,"record_length":96,"hex_timestamp":"000001a02876bf50"} 
[2026-08-22 13: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-22 13:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:28: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-22 13:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570551040001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570551040001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:28:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:28:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570551040001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":160965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:28:26] local.INFO: GPS data processed {"connection_id":160965,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:28:26] local.INFO: Acknowledgment sent {"connection_id":160965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:28:49] local.INFO: TCP Data received {"connection_id":160967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:28:49] local.INFO: Processing buffer {"connection_id":160967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:28:49] local.INFO: IMEI packet received {"connection_id":160967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":160967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:28:54] local.INFO: TCP Data received {"connection_id":160967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:28:54] local.INFO: Processing buffer {"connection_id":160967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:28:54] local.INFO: IMEI packet received {"connection_id":160967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":160967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:28:54] local.INFO: TCP Data received {"connection_id":160967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:28:54] local.INFO: Processing buffer {"connection_id":160967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:28:54] local.INFO: Packet analysis {"connection_id":160967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:28:54] local.INFO: Extracted packet for processing {"connection_id":160967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570551040001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:28:54] 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-22 13:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787385266000,"timestamp_ms":1787385266000,"timestamp_seconds":1787385266,"priority":1,"record_length":96,"hex_timestamp":"000001a02876bf50"} 
[2026-08-22 13:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 13:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:28:54] local.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-22 13:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570551040001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570551040001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:28:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:28:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570551040001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":160967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:28:54] local.INFO: GPS data processed {"connection_id":160967,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:28:54] local.INFO: Acknowledgment sent {"connection_id":160967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:29:25] local.INFO: TCP Data received {"connection_id":160967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:29:25] local.INFO: Processing buffer {"connection_id":160967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:29:25] local.INFO: Packet analysis {"connection_id":160967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:29:25] local.INFO: Extracted packet for processing {"connection_id":160967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:29:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 13:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570551040001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13: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-22 13:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787385266000,"timestamp_ms":1787385266000,"timestamp_seconds":1787385266,"priority":1,"record_length":96,"hex_timestamp":"000001a02876bf50"} 
[2026-08-22 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-22 13:29: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-22 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:29: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-22 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-22 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-22 13:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:29: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-22 13:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570551040001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570551040001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:29:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:29:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570551040001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":160967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:29:25] local.INFO: GPS data processed {"connection_id":160967,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:29:25] local.INFO: Acknowledgment sent {"connection_id":160967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:29:49] local.INFO: TCP Data received {"connection_id":159817,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:29:49] local.INFO: Processing buffer {"connection_id":159817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:29:49] local.INFO: IMEI packet received {"connection_id":159817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":159817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:29:54] local.INFO: TCP Data received {"connection_id":159817,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:29:54] local.INFO: Processing buffer {"connection_id":159817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:29:54] local.INFO: IMEI packet received {"connection_id":159817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":159817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:29:54] local.INFO: TCP Data received {"connection_id":159817,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:29:54] local.INFO: Processing buffer {"connection_id":159817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02876bf50012d7fabc005afe1b8000001212a..."} 
[2026-08-22 13:29:54] local.INFO: Packet analysis {"connection_id":159817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:29:54] local.INFO: Extracted packet for processing {"connection_id":159817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02876"} 
[2026-08-22 13:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570551040001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:29:54] 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-22 13:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787385266000,"timestamp_ms":1787385266000,"timestamp_seconds":1787385266,"priority":1,"record_length":96,"hex_timestamp":"000001a02876bf50"} 
[2026-08-22 13: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-22 13:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 13: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-22 13: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-22 13:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:29:54] local.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-22 13:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570551040001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570551040001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:29:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:29:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570551040001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":159817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:29:54] local.INFO: GPS data processed {"connection_id":159817,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:29:54] local.INFO: Acknowledgment sent {"connection_id":159817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:30:03] local.INFO: TCP Data received {"connection_id":160049,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:30:03] local.INFO: Processing buffer {"connection_id":160049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:30:03] local.INFO: IMEI packet received {"connection_id":160049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":160049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:30:04] local.INFO: TCP Data received {"connection_id":160049,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0287afd40012d1877c007222e08005e00d32a..."} 
[2026-08-22 13:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287afd40012d1877c007222e08005e00d32a..."} 
[2026-08-22 13:30:04] local.INFO: Processing buffer {"connection_id":160049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287afd40012d1877c007222e08005e00d32a..."} 
[2026-08-22 13:30:04] local.INFO: Packet analysis {"connection_id":160049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287a"} 
[2026-08-22 13:30:04] local.INFO: Extracted packet for processing {"connection_id":160049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287a"} 
[2026-08-22 13:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756578240,"raw_latitude":119680520,"longitude_deg":75.657824,"latitude_deg":11.968052,"altitude":94,"angle":211,"satellites":42,"speed":54,"hex_longitude":"2d1877c0","hex_latitude":"07222e08","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570697472001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14533911631626240,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768999890522589184,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.INFO: IO Element Parsed {"io_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-22 13:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787385544000,"timestamp_ms":1787385544000,"timestamp_seconds":1787385544,"priority":1,"record_length":96,"hex_timestamp":"000001a0287afd40"} 
[2026-08-22 13: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-22 13:30:04] 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-22 13: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2147951298,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6125159380314030336,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503821362331648,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":40,"raw_value":8813931503908596672,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3131048049,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182203939815680,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775785908194899,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2510431338662779180,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755566944911601,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195075584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84751093930074838,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.WARNING: Large IO value detected {"io_id":216,"raw_value":30963180184282368,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:04] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,105,83,24,241,157,16,162,160,194,45,192,110,109,42,10,66,161,175,129,113,44,151,1,240,227,40,34,4,205,38,104,72,239,51,2,7,112,39,164,155,69,96,216],"length":625,"final_offset":755,"validated_count":44,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-08-22 13:30:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7278051378494636032,"timestamp_seconds":7278051378494636.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 13: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-22 13:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570697472001,"66":12667,"105":206,"83":41984,"24":54,"16":14533911631626240,"45":1768999890522589184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 13:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570697472001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:30:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 13:30:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14533911631626240,"km_value":14533911631626.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768999890522589184,"description":"Unknown IO ID 45"} 
[2026-08-22 13:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570697472001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":54,"odometer":null,"unknown_45":1768999890522589184}} 
[2026-08-22 13:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":160049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:30:04] local.INFO: GPS data processed {"connection_id":160049,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:30:04] local.INFO: Acknowledgment sent {"connection_id":160049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:30:25] local.INFO: TCP Data received {"connection_id":159817,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:30:25] local.INFO: Processing buffer {"connection_id":159817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:30:25] local.INFO: Packet analysis {"connection_id":159817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:30:25] local.INFO: Extracted packet for processing {"connection_id":159817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570628096001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13: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-22 13:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787385567000,"timestamp_ms":1787385567000,"timestamp_seconds":1787385567,"priority":1,"record_length":96,"hex_timestamp":"000001a0287b5718"} 
[2026-08-22 13: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-22 13:30: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-22 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:30: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-22 13: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-22 13: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-22 13:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13: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-22 13:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570628096001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570628096001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:30:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570628096001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":159817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:30:25] local.INFO: GPS data processed {"connection_id":159817,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:30:25] local.INFO: Acknowledgment sent {"connection_id":159817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:30:35] local.INFO: TCP Data received {"connection_id":160049,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0287b1898012d18624007220e18005700d62a..."} 
[2026-08-22 13:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287b1898012d18624007220e18005700d62a..."} 
[2026-08-22 13:30:35] local.INFO: Processing buffer {"connection_id":160049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287b1898012d18624007220e18005700d62a..."} 
[2026-08-22 13:30:35] local.INFO: Packet analysis {"connection_id":160049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:30:35] local.INFO: Extracted packet for processing {"connection_id":160049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756572736,"raw_latitude":119672344,"longitude_deg":75.6572736,"latitude_deg":11.9672344,"altitude":87,"angle":214,"satellites":42,"speed":54,"hex_longitude":"2d186240","hex_latitude":"07220e18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570699264001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14534384078028800,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763088916009584640,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:35] local.INFO: IO Element Parsed {"io_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-22 13:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787385551000,"timestamp_ms":1787385551000,"timestamp_seconds":1787385551,"priority":1,"record_length":96,"hex_timestamp":"000001a0287b1898"} 
[2026-08-22 13: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-22 13:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-22 13:30:35] 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-22 13: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-22 13: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-22 13:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570699264001,"66":12504,"105":206,"83":41984,"24":54,"16":14534384078028800,"45":1763088916009584640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 13:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570699264001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:30:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 13:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14534384078028800,"km_value":14534384078028.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763088916009584640,"description":"Unknown IO ID 45"} 
[2026-08-22 13:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570699264001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":54,"odometer":null,"unknown_45":1763088916009584640}} 
[2026-08-22 13:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":160049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:30:35] local.INFO: GPS data processed {"connection_id":160049,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:30:35] local.INFO: Acknowledgment sent {"connection_id":160049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:30:49] local.INFO: TCP Data received {"connection_id":160969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:30:49] local.INFO: Processing buffer {"connection_id":160969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:30:49] local.INFO: IMEI packet received {"connection_id":160969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":160969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:30:53] local.INFO: TCP Data received {"connection_id":162396,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:30:53] local.INFO: Processing buffer {"connection_id":162396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:30:53] local.INFO: IMEI packet received {"connection_id":162396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":162396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:30:54] local.INFO: TCP Data received {"connection_id":160969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:30:54] local.INFO: Processing buffer {"connection_id":160969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:30:54] local.INFO: IMEI packet received {"connection_id":160969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":160969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:30:54] local.INFO: TCP Data received {"connection_id":160969,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:30:54] local.INFO: Processing buffer {"connection_id":160969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:30:54] local.INFO: Packet analysis {"connection_id":160969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:30:54] local.INFO: Extracted packet for processing {"connection_id":160969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570628096001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:54] 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-22 13:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787385567000,"timestamp_ms":1787385567000,"timestamp_seconds":1787385567,"priority":1,"record_length":96,"hex_timestamp":"000001a0287b5718"} 
[2026-08-22 13:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:30:54] 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-22 13:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:30:54] local.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-22 13:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570628096001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570628096001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:30:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:30:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570628096001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":160969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:30:54] local.INFO: GPS data processed {"connection_id":160969,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:30:54] local.INFO: Acknowledgment sent {"connection_id":160969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:30:58] local.INFO: TCP Data received {"connection_id":162396,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:30:58] local.INFO: Processing buffer {"connection_id":162396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:30:58] local.INFO: IMEI packet received {"connection_id":162396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":162396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:30:59] local.INFO: TCP Data received {"connection_id":162396,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0287b37d8012d184dc00721f068005100d52d..."} 
[2026-08-22 13:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287b37d8012d184dc00721f068005100d52d..."} 
[2026-08-22 13:30:59] local.INFO: Processing buffer {"connection_id":162396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287b37d8012d184dc00721f068005100d52d..."} 
[2026-08-22 13:30:59] local.INFO: Packet analysis {"connection_id":162396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:30:59] local.INFO: Extracted packet for processing {"connection_id":162396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756567488,"raw_latitude":119664744,"longitude_deg":75.6567488,"latitude_deg":11.9664744,"altitude":81,"angle":213,"satellites":45,"speed":45,"hex_longitude":"2d184dc0","hex_latitude":"0721f068","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570701056001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14534830754627584,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757037204008212480,"note":"Value kept but may cause issues"} 
[2026-08-22 13:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787385559000,"timestamp_ms":1787385559000,"timestamp_seconds":1787385559,"priority":1,"record_length":96,"hex_timestamp":"000001a0287b37d8"} 
[2026-08-22 13: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-22 13:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 13:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570701056001,"66":12722,"105":206,"83":41984,"24":45,"16":14534830754627584,"45":1757037204008212480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 13:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570701056001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:30:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 13:30:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14534830754627584,"km_value":14534830754627.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757037204008212480,"description":"Unknown IO ID 45"} 
[2026-08-22 13:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570701056001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1757037204008212480}} 
[2026-08-22 13:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":162396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:30:59] local.INFO: GPS data processed {"connection_id":162396,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:30:59] local.INFO: Acknowledgment sent {"connection_id":162396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:31:25] local.INFO: TCP Data received {"connection_id":160969,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:31:25] local.INFO: Processing buffer {"connection_id":160969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:31:25] local.INFO: Packet analysis {"connection_id":160969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:31:25] local.INFO: Extracted packet for processing {"connection_id":160969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570628096001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:31: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-22 13:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787385567000,"timestamp_ms":1787385567000,"timestamp_seconds":1787385567,"priority":1,"record_length":96,"hex_timestamp":"000001a0287b5718"} 
[2026-08-22 13: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-22 13:31: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-22 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:31: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-22 13: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-22 13: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-22 13:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:31: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-22 13:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570628096001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570628096001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:31:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570628096001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":160969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:31:25] local.INFO: GPS data processed {"connection_id":160969,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:31:25] local.INFO: Acknowledgment sent {"connection_id":160969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:31:30] local.INFO: TCP Data received {"connection_id":162396,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0287b5718012d183a000721d350004d00d62d..."} 
[2026-08-22 13:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287b5718012d183a000721d350004d00d62d..."} 
[2026-08-22 13:31:30] local.INFO: Processing buffer {"connection_id":162396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287b5718012d183a000721d350004d00d62d..."} 
[2026-08-22 13:31:30] local.INFO: Packet analysis {"connection_id":162396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:31:30] local.INFO: Extracted packet for processing {"connection_id":162396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756562432,"raw_latitude":119657296,"longitude_deg":75.6562432,"latitude_deg":11.9657296,"altitude":77,"angle":214,"satellites":45,"speed":41,"hex_longitude":"2d183a00","hex_latitude":"0721d350","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570703104001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14535264546324480,"note":"Value kept but may cause issues"} 
[2026-08-22 13:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751266966983698432,"note":"Value kept but may cause issues"} 
[2026-08-22 13:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787385567000,"timestamp_ms":1787385567000,"timestamp_seconds":1787385567,"priority":1,"record_length":96,"hex_timestamp":"000001a0287b5718"} 
[2026-08-22 13: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-22 13:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 13:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570703104001,"66":12689,"105":206,"83":41984,"24":41,"16":14535264546324480,"45":1751266966983698432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 13:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570703104001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:31:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 13:31:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14535264546324480,"km_value":14535264546324.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751266966983698432,"description":"Unknown IO ID 45"} 
[2026-08-22 13:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570703104001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1751266966983698432}} 
[2026-08-22 13:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":162396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:31:30] local.INFO: GPS data processed {"connection_id":162396,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:31:30] local.INFO: Acknowledgment sent {"connection_id":162396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:31:47] local.INFO: TCP Data received {"connection_id":162397,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162397,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:31:47] local.INFO: Processing buffer {"connection_id":162397,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:31:47] local.INFO: IMEI packet received {"connection_id":162397,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":162397,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:31:49] local.INFO: TCP Data received {"connection_id":159818,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:31:49] local.INFO: Processing buffer {"connection_id":159818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:31:49] local.INFO: IMEI packet received {"connection_id":159818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":159818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:31:53] local.INFO: TCP Data received {"connection_id":159819,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:31:53] local.INFO: Processing buffer {"connection_id":159819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:31:53] local.INFO: IMEI packet received {"connection_id":159819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":159819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:31:54] local.INFO: TCP Data received {"connection_id":159818,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:31:54] local.INFO: Processing buffer {"connection_id":159818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:31:54] local.INFO: IMEI packet received {"connection_id":159818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":159818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:31:55] local.INFO: TCP Data received {"connection_id":159818,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:31:55] local.INFO: Processing buffer {"connection_id":159818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:31:55] local.INFO: Packet analysis {"connection_id":159818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:31:55] local.INFO: Extracted packet for processing {"connection_id":159818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570628096001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:31: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-22 13:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787385567000,"timestamp_ms":1787385567000,"timestamp_seconds":1787385567,"priority":1,"record_length":96,"hex_timestamp":"000001a0287b5718"} 
[2026-08-22 13: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-22 13:31: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-22 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:31: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-22 13: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-22 13: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-22 13:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:31:55] local.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-22 13:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570628096001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570628096001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:31:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570628096001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":159818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:31:55] local.INFO: GPS data processed {"connection_id":159818,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:31:55] local.INFO: Acknowledgment sent {"connection_id":159818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:31:56] local.INFO: TCP Data received {"connection_id":162397,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162397,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:31:56] local.INFO: Processing buffer {"connection_id":162397,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:31:56] local.INFO: IMEI packet received {"connection_id":162397,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":162397,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:31:58] local.INFO: TCP Data received {"connection_id":159819,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:31:58] local.INFO: Processing buffer {"connection_id":159819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:31:58] local.INFO: IMEI packet received {"connection_id":159819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":159819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:31:59] local.INFO: TCP Data received {"connection_id":159819,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0287b7e28012d1824800721b5a8004c00dd2c..."} 
[2026-08-22 13:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287b7e28012d1824800721b5a8004c00dd2c..."} 
[2026-08-22 13:31:59] local.INFO: Processing buffer {"connection_id":159819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287b7e28012d1824800721b5a8004c00dd2c..."} 
[2026-08-22 13:31:59] local.INFO: Packet analysis {"connection_id":159819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:31:59] local.INFO: Extracted packet for processing {"connection_id":159819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649704,"longitude_deg":75.6556928,"latitude_deg":11.9649704,"altitude":76,"angle":221,"satellites":44,"speed":28,"hex_longitude":"2d182480","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570705152001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14535715517890560,"note":"Value kept but may cause issues"} 
[2026-08-22 13:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745707836191756288,"note":"Value kept but may cause issues"} 
[2026-08-22 13:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787385577000,"timestamp_ms":1787385577000,"timestamp_seconds":1787385577,"priority":1,"record_length":96,"hex_timestamp":"000001a0287b7e28"} 
[2026-08-22 13: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-22 13:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 13:31:59] 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-22 13: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-22 13: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-22 13:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570705152001,"66":12743,"105":206,"83":41984,"24":28,"16":14535715517890560,"45":1745707836191756288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 13:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570705152001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:31:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 13:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14535715517890560,"km_value":14535715517890.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745707836191756288,"description":"Unknown IO ID 45"} 
[2026-08-22 13:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570705152001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1745707836191756288}} 
[2026-08-22 13:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":159819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:31:59] local.INFO: GPS data processed {"connection_id":159819,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:31:59] local.INFO: Acknowledgment sent {"connection_id":159819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:31:59] local.INFO: TCP Data received {"connection_id":162397,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162397,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:31:59] local.INFO: Processing buffer {"connection_id":162397,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:31:59] local.INFO: IMEI packet received {"connection_id":162397,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":162397,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:32:00] local.INFO: TCP Data received {"connection_id":162397,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0287a1ab0012d0b150007029d800042004320..."} 
[2026-08-22 13:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287a1ab0012d0b150007029d800042004320..."} 
[2026-08-22 13:32:00] local.INFO: Processing buffer {"connection_id":162397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287a1ab0012d0b150007029d800042004320..."} 
[2026-08-22 13:32:00] local.INFO: Packet analysis {"connection_id":162397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287a"} 
[2026-08-22 13:32:00] local.INFO: Extracted packet for processing {"connection_id":162397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287a"} 
[2026-08-22 13:32:00] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":66,"angle":67,"satellites":32,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570607360001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:00] 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-22 13:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787385486000,"timestamp_ms":1787385486000,"timestamp_seconds":1787385486,"priority":1,"record_length":96,"hex_timestamp":"000001a0287a1ab0"} 
[2026-08-22 13: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-22 13:32:00] 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-22 13: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-22 13:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:00] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:00] local.WARNING: Large IO value detected {"io_id":40,"raw_value":8127836248175482048,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1620246734,"corrected_to":0} 
[2026-08-22 13:32:00] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2550213899,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:00] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2738414388108119646,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:00] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3299934208,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:00] local.WARNING: Large IO value detected {"io_id":7,"raw_value":188403516593701147,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:00] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:00] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,17,94,24,241,157,16,196,160,235,45,10,30,66,147,227,9,240,71,40,2,4,113,205,215,21,96,29,239,1,56,104,7,43,175],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1620246734,"validated":0}]} 
[2026-08-22 13:32:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1152995317914796032,"timestamp_seconds":1152995317914796.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 13: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-22 13:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570607360001,"66":12722,"36":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570607360001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:32:00] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:32:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570607360001,"power":12722,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":162397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681269,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:32:00] local.INFO: GPS data processed {"connection_id":162397,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:32:00] local.INFO: Acknowledgment sent {"connection_id":162397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:32:03] local.INFO: TCP Data received {"connection_id":162397,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0287a1ab0012d0b150007029d800042004320..."} 
[2026-08-22 13:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287a1ab0012d0b150007029d800042004320..."} 
[2026-08-22 13:32:03] local.INFO: Processing buffer {"connection_id":162397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287a1ab0012d0b150007029d800042004320..."} 
[2026-08-22 13:32:03] local.INFO: Packet analysis {"connection_id":162397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287a"} 
[2026-08-22 13:32:03] local.INFO: Extracted packet for processing {"connection_id":162397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287a"} 
[2026-08-22 13:32:03] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":66,"angle":67,"satellites":32,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570607360001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:03] 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-22 13:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787385486000,"timestamp_ms":1787385486000,"timestamp_seconds":1787385486,"priority":1,"record_length":96,"hex_timestamp":"000001a0287a1ab0"} 
[2026-08-22 13:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:32:03] 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-22 13:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-22 13:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:03] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:03] local.WARNING: Large IO value detected {"io_id":40,"raw_value":8127836248175482048,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1620246734,"corrected_to":0} 
[2026-08-22 13:32:03] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2550213899,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:03] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2738414388108119646,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3299934208,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":188403516593701147,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:03] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:03] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,17,94,24,241,157,16,196,160,235,45,10,30,66,147,227,9,240,71,40,2,4,113,205,215,21,96,29,239,1,56,104,7,43,175],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1620246734,"validated":0}]} 
[2026-08-22 13:32:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1152995317914796032,"timestamp_seconds":1152995317914796.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 13:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570607360001,"66":12722,"36":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570607360001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:32:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:32:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570607360001,"power":12722,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":162397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681270,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:32:03] local.INFO: GPS data processed {"connection_id":162397,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:32:03] local.INFO: Acknowledgment sent {"connection_id":162397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:32:07] local.INFO: TCP Data received {"connection_id":162397,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0287a1ab0012d0b150007029d800042004320..."} 
[2026-08-22 13:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287a1ab0012d0b150007029d800042004320..."} 
[2026-08-22 13:32:07] local.INFO: Processing buffer {"connection_id":162397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287a1ab0012d0b150007029d800042004320..."} 
[2026-08-22 13:32:07] local.INFO: Packet analysis {"connection_id":162397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287a"} 
[2026-08-22 13:32:07] local.INFO: Extracted packet for processing {"connection_id":162397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287a"} 
[2026-08-22 13:32:07] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":66,"angle":67,"satellites":32,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570607360001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32: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-22 13:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787385486000,"timestamp_ms":1787385486000,"timestamp_seconds":1787385486,"priority":1,"record_length":96,"hex_timestamp":"000001a0287a1ab0"} 
[2026-08-22 13:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:32:07] 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-22 13:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-22 13:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:07] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:07] local.WARNING: Large IO value detected {"io_id":40,"raw_value":8127836248175482048,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1620246734,"corrected_to":0} 
[2026-08-22 13:32:07] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2550213899,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2738414388108119646,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:07] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3299934208,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":188403516593701147,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:07] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,17,94,24,241,157,16,196,160,235,45,10,30,66,147,227,9,240,71,40,2,4,113,205,215,21,96,29,239,1,56,104,7,43,175],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1620246734,"validated":0}]} 
[2026-08-22 13:32:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1152995317914796032,"timestamp_seconds":1152995317914796.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 13:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570607360001,"66":12722,"36":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570607360001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:32:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:32:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570607360001,"power":12722,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":162397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681271,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:32:07] local.INFO: GPS data processed {"connection_id":162397,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:32:07] local.INFO: Acknowledgment sent {"connection_id":162397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:32:26] local.INFO: TCP Data received {"connection_id":159818,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:32:26] local.INFO: Processing buffer {"connection_id":159818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:32:26] local.INFO: Packet analysis {"connection_id":159818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:32:26] local.INFO: Extracted packet for processing {"connection_id":159818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:32:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570628096001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32: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-22 13:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787385567000,"timestamp_ms":1787385567000,"timestamp_seconds":1787385567,"priority":1,"record_length":96,"hex_timestamp":"000001a0287b5718"} 
[2026-08-22 13:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:32:26] 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-22 13:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:32: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-22 13:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570628096001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570628096001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:32:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570628096001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":159818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:32:26] local.INFO: GPS data processed {"connection_id":159818,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:32:26] local.INFO: Acknowledgment sent {"connection_id":159818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:32:30] local.INFO: TCP Data received {"connection_id":159819,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0287b9980012d181d400721ace0004d00d02f..."} 
[2026-08-22 13:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287b9980012d181d400721ace0004d00d02f..."} 
[2026-08-22 13:32:30] local.INFO: Processing buffer {"connection_id":159819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287b9980012d181d400721ace0004d00d02f..."} 
[2026-08-22 13:32:30] local.INFO: Packet analysis {"connection_id":159819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:32:30] local.INFO: Extracted packet for processing {"connection_id":159819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:32:30] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647456,"longitude_deg":75.6555072,"latitude_deg":11.9647456,"altitude":77,"angle":208,"satellites":47,"speed":7,"hex_longitude":"2d181d40","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570707712001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14535857251811328,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190533632,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787385584000,"timestamp_ms":1787385584000,"timestamp_seconds":1787385584,"priority":1,"record_length":96,"hex_timestamp":"000001a0287b9980"} 
[2026-08-22 13: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-22 13:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-22 13:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570707712001,"66":12743,"105":206,"83":41984,"24":7,"16":14535857251811328,"45":1739656124190533632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 13:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570707712001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:32:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 13:32:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14535857251811328,"km_value":14535857251811.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190533632,"description":"Unknown IO ID 45"} 
[2026-08-22 13:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570707712001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739656124190533632}} 
[2026-08-22 13:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":159819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:32:30] local.INFO: GPS data processed {"connection_id":159819,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:32:30] local.INFO: Acknowledgment sent {"connection_id":159819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:32:37] local.INFO: TCP Data received {"connection_id":160970,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:32:37] local.INFO: Processing buffer {"connection_id":160970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:32:37] local.INFO: IMEI packet received {"connection_id":160970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":160970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:32:42] local.INFO: TCP Data received {"connection_id":160970,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:32:42] local.INFO: Processing buffer {"connection_id":160970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:32:42] local.INFO: IMEI packet received {"connection_id":160970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":160970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:32:49] local.INFO: TCP Data received {"connection_id":162398,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:32:49] local.INFO: Processing buffer {"connection_id":162398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:32:49] local.INFO: IMEI packet received {"connection_id":162398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":162398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:32:52] local.INFO: TCP Data received {"connection_id":159820,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:32:52] local.INFO: Processing buffer {"connection_id":159820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:32:52] local.INFO: IMEI packet received {"connection_id":159820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":159820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:32:54] local.INFO: TCP Data received {"connection_id":162398,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:32:54] local.INFO: Processing buffer {"connection_id":162398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:32:54] local.INFO: IMEI packet received {"connection_id":162398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":162398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:32:54] local.INFO: TCP Data received {"connection_id":162398,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:32:54] local.INFO: Processing buffer {"connection_id":162398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:32:54] local.INFO: Packet analysis {"connection_id":162398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:32:54] local.INFO: Extracted packet for processing {"connection_id":162398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:32:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570628096001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:54] 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-22 13:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787385567000,"timestamp_ms":1787385567000,"timestamp_seconds":1787385567,"priority":1,"record_length":96,"hex_timestamp":"000001a0287b5718"} 
[2026-08-22 13: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-22 13:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:32:54] 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-22 13: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-22 13: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-22 13:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:32:54] local.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-22 13:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570628096001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570628096001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:32:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:32:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570628096001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":162398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:32:54] local.INFO: GPS data processed {"connection_id":162398,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:32:54] local.INFO: Acknowledgment sent {"connection_id":162398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:32:57] local.INFO: TCP Data received {"connection_id":160970,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0287a1ab0012d0b150007029d800042004320..."} 
[2026-08-22 13:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287a1ab0012d0b150007029d800042004320..."} 
[2026-08-22 13:32:57] local.INFO: Processing buffer {"connection_id":160970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287a1ab0012d0b150007029d800042004320..."} 
[2026-08-22 13:32:57] local.INFO: Packet analysis {"connection_id":160970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287a"} 
[2026-08-22 13:32:57] local.INFO: Extracted packet for processing {"connection_id":160970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287a"} 
[2026-08-22 13:32:57] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":66,"angle":67,"satellites":32,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570607360001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:57] 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-22 13:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787385486000,"timestamp_ms":1787385486000,"timestamp_seconds":1787385486,"priority":1,"record_length":96,"hex_timestamp":"000001a0287a1ab0"} 
[2026-08-22 13: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-22 13:32:57] 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-22 13: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-22 13:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:57] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:57] local.WARNING: Large IO value detected {"io_id":40,"raw_value":8127836248175482048,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1620246734,"corrected_to":0} 
[2026-08-22 13:32:57] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2550213899,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:57] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2738414388108119646,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:57] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3299934208,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:57] local.WARNING: Large IO value detected {"io_id":7,"raw_value":188403516593701147,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:57] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:57] local.INFO: TCP Data received {"connection_id":159820,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:32:57] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,17,94,24,241,157,16,196,160,235,45,10,30,66,147,227,9,240,71,40,2,4,113,205,215,21,96,29,239,1,56,104,7,43,175],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1620246734,"validated":0}]} 
[2026-08-22 13:32:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1152995317914796032,"timestamp_seconds":1152995317914796.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 13: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-22 13:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:32:57] local.INFO: Processing buffer {"connection_id":159820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:32:57] local.INFO: IMEI packet received {"connection_id":159820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570607360001,"66":12722,"36":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":159820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570607360001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:32:57] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:32:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570607360001,"power":12722,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":160970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681275,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:32:57] local.INFO: GPS data processed {"connection_id":160970,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:32:57] local.INFO: Acknowledgment sent {"connection_id":160970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:32:58] local.INFO: TCP Data received {"connection_id":159820,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0287beb88012d181d400721ac58004d00d02d..."} 
[2026-08-22 13:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287beb88012d181d400721ac58004d00d02d..."} 
[2026-08-22 13:32:58] local.INFO: Processing buffer {"connection_id":159820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287beb88012d181d400721ac58004d00d02d..."} 
[2026-08-22 13:32:58] local.INFO: Packet analysis {"connection_id":159820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:32:58] local.INFO: Extracted packet for processing {"connection_id":159820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:32:58] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647320,"longitude_deg":75.6555072,"latitude_deg":11.964732,"altitude":77,"angle":208,"satellites":45,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ac58","is_valid_coordinates":true} 
[2026-08-22 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-22 13:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570709504001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14535865841745920,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608805888,"note":"Value kept but may cause issues"} 
[2026-08-22 13:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787385605000,"timestamp_ms":1787385605000,"timestamp_seconds":1787385605,"priority":1,"record_length":96,"hex_timestamp":"000001a0287beb88"} 
[2026-08-22 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-22 13:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-22 13:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 13:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570709504001,"66":12743,"105":206,"83":41984,"24":0,"16":14535865841745920,"45":1737615430608805888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 13:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570709504001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:32:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 13:32:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14535865841745920,"km_value":14535865841745.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608805888,"description":"Unknown IO ID 45"} 
[2026-08-22 13:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570709504001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608805888}} 
[2026-08-22 13:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":159820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:32:58] local.INFO: GPS data processed {"connection_id":159820,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:32:58] local.INFO: Acknowledgment sent {"connection_id":159820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:33:25] local.INFO: TCP Data received {"connection_id":162398,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:33:25] local.INFO: Processing buffer {"connection_id":162398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:33:25] local.INFO: Packet analysis {"connection_id":162398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:33:25] local.INFO: Extracted packet for processing {"connection_id":162398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:33:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570628096001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:33: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-22 13:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787385567000,"timestamp_ms":1787385567000,"timestamp_seconds":1787385567,"priority":1,"record_length":96,"hex_timestamp":"000001a0287b5718"} 
[2026-08-22 13: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-22 13:33: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-22 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:33: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-22 13: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-22 13: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-22 13:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:33: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-22 13:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570628096001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570628096001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:33:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:33:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570628096001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":162398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:33:25] local.INFO: GPS data processed {"connection_id":162398,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:33:25] local.INFO: Acknowledgment sent {"connection_id":162398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:33:29] local.INFO: TCP Data received {"connection_id":159820,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0287e3190012d188dc007217e68005000722a..."} 
[2026-08-22 13:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287e3190012d188dc007217e68005000722a..."} 
[2026-08-22 13:33:29] local.INFO: Processing buffer {"connection_id":159820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287e3190012d188dc007217e68005000722a..."} 
[2026-08-22 13:33:29] local.INFO: Packet analysis {"connection_id":159820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:33:29] local.INFO: Extracted packet for processing {"connection_id":159820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:33:29] local.INFO: GPS Element Parsed {"raw_longitude":756583872,"raw_latitude":119635560,"longitude_deg":75.6583872,"latitude_deg":11.963556,"altitude":80,"angle":114,"satellites":42,"speed":43,"hex_longitude":"2d188dc0","hex_latitude":"07217e68","is_valid_coordinates":true} 
[2026-08-22 13:33: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-22 13:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570752256001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14537420619907072,"note":"Value kept but may cause issues"} 
[2026-08-22 13:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765833297021224960,"note":"Value kept but may cause issues"} 
[2026-08-22 13:33:29] 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-22 13:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787385754000,"timestamp_ms":1787385754000,"timestamp_seconds":1787385754,"priority":1,"record_length":96,"hex_timestamp":"000001a0287e3190"} 
[2026-08-22 13:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13:33: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":224,"data_length":795,"current_offset":136} 
[2026-08-22 13:33:29] 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-22 13:33: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-22 13:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570752256001,"66":14070,"106":206,"83":41984,"24":43,"16":14537420619907072,"45":1765833297021224960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 13:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570752256001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:33:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 13:33:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14537420619907072,"km_value":14537420619907.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765833297021224960,"description":"Unknown IO ID 45"} 
[2026-08-22 13:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570752256001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1765833297021224960}} 
[2026-08-22 13:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":159820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:33:29] local.INFO: GPS data processed {"connection_id":159820,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:33:29] local.INFO: Acknowledgment sent {"connection_id":159820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:33:42] local.INFO: TCP Data received {"connection_id":160971,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160971,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:33:42] local.INFO: Processing buffer {"connection_id":160971,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:33:42] local.INFO: IMEI packet received {"connection_id":160971,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":160971,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:33:47] local.INFO: TCP Data received {"connection_id":160971,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160971,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:33:47] local.INFO: Processing buffer {"connection_id":160971,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:33:47] local.INFO: IMEI packet received {"connection_id":160971,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":160971,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:33:48] local.INFO: TCP Data received {"connection_id":160971,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:33:48] local.INFO: Processing buffer {"connection_id":160971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:33:48] local.INFO: Packet analysis {"connection_id":160971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:33:48] local.INFO: Extracted packet for processing {"connection_id":160971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:33:48] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":62,"angle":67,"satellites":32,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 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-22 13:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570684416001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:33:48] 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-22 13:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787385787000,"timestamp_ms":1787385787000,"timestamp_seconds":1787385787,"priority":1,"record_length":96,"hex_timestamp":"000001a0287eb278"} 
[2026-08-22 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-22 13:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 13: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-22 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-22 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-22 13:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570684416001,"66":12743,"36":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570684416001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:33:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:33:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570684416001,"power":12743,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":160971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681279,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:33:48] local.INFO: GPS data processed {"connection_id":160971,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:33:48] local.INFO: Acknowledgment sent {"connection_id":160971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:33:49] local.INFO: TCP Data received {"connection_id":160972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:33:49] local.INFO: Processing buffer {"connection_id":160972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:33:49] local.INFO: IMEI packet received {"connection_id":160972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":160972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:33:52] local.INFO: TCP Data received {"connection_id":162399,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:33:52] local.INFO: Processing buffer {"connection_id":162399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:33:52] local.INFO: IMEI packet received {"connection_id":162399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":162399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:33:52] local.INFO: TCP Data received {"connection_id":162399,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:33:52] local.INFO: Processing buffer {"connection_id":162399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:33:52] local.INFO: IMEI packet received {"connection_id":162399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":162399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:33:53] local.INFO: TCP Data received {"connection_id":162399,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:33:53] local.INFO: Processing buffer {"connection_id":162399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:33:53] local.INFO: IMEI packet received {"connection_id":162399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":162399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:33:54] local.INFO: TCP Data received {"connection_id":162399,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:33:54] local.INFO: Processing buffer {"connection_id":162399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:33:54] local.INFO: IMEI packet received {"connection_id":162399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":162399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:33:54] local.INFO: TCP Data received {"connection_id":160972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:33:54] local.INFO: Processing buffer {"connection_id":160972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:33:54] local.INFO: IMEI packet received {"connection_id":160972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":160972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:33:54] local.INFO: TCP Data received {"connection_id":160972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:33:54] local.INFO: Processing buffer {"connection_id":160972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:33:54] local.INFO: Packet analysis {"connection_id":160972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:33:54] local.INFO: Extracted packet for processing {"connection_id":160972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570628096001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:33:54] 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-22 13:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787385567000,"timestamp_ms":1787385567000,"timestamp_seconds":1787385567,"priority":1,"record_length":96,"hex_timestamp":"000001a0287b5718"} 
[2026-08-22 13:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:33:54] 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-22 13:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:33:54] local.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-22 13:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570628096001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570628096001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:33:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:33:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570628096001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":160972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:33:54] local.INFO: GPS data processed {"connection_id":160972,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:33:54] local.INFO: Acknowledgment sent {"connection_id":160972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:34:19] local.INFO: TCP Data received {"connection_id":160971,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:34:19] local.INFO: Processing buffer {"connection_id":160971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:34:19] local.INFO: Packet analysis {"connection_id":160971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:34:19] local.INFO: Extracted packet for processing {"connection_id":160971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:34:19] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":62,"angle":67,"satellites":32,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570684416001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:34:19] 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-22 13:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787385787000,"timestamp_ms":1787385787000,"timestamp_seconds":1787385787,"priority":1,"record_length":96,"hex_timestamp":"000001a0287eb278"} 
[2026-08-22 13: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-22 13:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 13:34:19] 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-22 13: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-22 13: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-22 13:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570684416001,"66":12743,"36":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570684416001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:34:19] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:34:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570684416001,"power":12743,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":160971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681281,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:34:19] local.INFO: GPS data processed {"connection_id":160971,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:34:19] local.INFO: Acknowledgment sent {"connection_id":160971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:34:25] local.INFO: TCP Data received {"connection_id":160972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:34:25] local.INFO: Processing buffer {"connection_id":160972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:34:25] local.INFO: Packet analysis {"connection_id":160972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:34:25] local.INFO: Extracted packet for processing {"connection_id":160972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:34:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570628096001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:34: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-22 13:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787385567000,"timestamp_ms":1787385567000,"timestamp_seconds":1787385567,"priority":1,"record_length":96,"hex_timestamp":"000001a0287b5718"} 
[2026-08-22 13: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-22 13:34: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-22 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:34: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-22 13: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-22 13: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-22 13:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:34: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-22 13:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570628096001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570628096001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:34:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:34:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570628096001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":160972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:34:25] local.INFO: GPS data processed {"connection_id":160972,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:34:25] local.INFO: Acknowledgment sent {"connection_id":160972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:34:38] local.INFO: TCP Data received {"connection_id":159821,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159821,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:34:38] local.INFO: Processing buffer {"connection_id":159821,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:34:38] local.INFO: IMEI packet received {"connection_id":159821,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":159821,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:34:42] local.INFO: TCP Data received {"connection_id":159821,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159821,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:34:42] local.INFO: Processing buffer {"connection_id":159821,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:34:42] local.INFO: IMEI packet received {"connection_id":159821,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":159821,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:34:43] local.INFO: TCP Data received {"connection_id":159821,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:34:43] local.INFO: Processing buffer {"connection_id":159821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:34:43] local.INFO: Packet analysis {"connection_id":159821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:34:43] local.INFO: Extracted packet for processing {"connection_id":159821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:34:43] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":62,"angle":67,"satellites":32,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570684416001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:34:43] 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-22 13:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787385787000,"timestamp_ms":1787385787000,"timestamp_seconds":1787385787,"priority":1,"record_length":96,"hex_timestamp":"000001a0287eb278"} 
[2026-08-22 13:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13:34: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":178,"data_length":795,"current_offset":136} 
[2026-08-22 13:34:43] 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-22 13:34: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-22 13:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159821,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159821,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570684416001,"66":12743,"36":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570684416001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:34:43] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:34:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570684416001,"power":12743,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":159821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681283,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:34:43] local.INFO: GPS data processed {"connection_id":159821,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:34:43] local.INFO: Acknowledgment sent {"connection_id":159821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:34:47] local.INFO: TCP Data received {"connection_id":159821,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:34:47] local.INFO: Processing buffer {"connection_id":159821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:34:47] local.INFO: Packet analysis {"connection_id":159821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:34:47] local.INFO: Extracted packet for processing {"connection_id":159821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:34:47] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":62,"angle":67,"satellites":32,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570684416001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:34:47] 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-22 13:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787385787000,"timestamp_ms":1787385787000,"timestamp_seconds":1787385787,"priority":1,"record_length":96,"hex_timestamp":"000001a0287eb278"} 
[2026-08-22 13: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-22 13:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 13:34: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-22 13: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-22 13: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-22 13:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":159821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":159821,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":159821,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570684416001,"66":12743,"36":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570684416001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:34:47] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:34:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570684416001,"power":12743,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":159821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681284,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:34:47] local.INFO: GPS data processed {"connection_id":159821,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:34:47] local.INFO: Acknowledgment sent {"connection_id":159821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:34:49] local.INFO: TCP Data received {"connection_id":160050,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:34:49] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:34:49] local.INFO: IMEI packet received {"connection_id":160050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":160050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:34:54] local.INFO: TCP Data received {"connection_id":160050,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:34:54] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:34:54] local.INFO: IMEI packet received {"connection_id":160050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":160050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:34:55] local.INFO: TCP Data received {"connection_id":160050,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:34:55] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287b5718012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:34:55] local.INFO: Packet analysis {"connection_id":160050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:34:55] local.INFO: Extracted packet for processing {"connection_id":160050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287b"} 
[2026-08-22 13:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570628096001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:34: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-22 13:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787385567000,"timestamp_ms":1787385567000,"timestamp_seconds":1787385567,"priority":1,"record_length":96,"hex_timestamp":"000001a0287b5718"} 
[2026-08-22 13: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-22 13:34: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-22 13: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:34: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-22 13: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-22 13: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-22 13:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:34:55] 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-22 13:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570628096001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570628096001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:34:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:34:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570628096001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":160050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:34:55] local.INFO: GPS data processed {"connection_id":160050,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:34:55] local.INFO: Acknowledgment sent {"connection_id":160050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:35:19] local.INFO: TCP Data received {"connection_id":159821,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:35:19] local.INFO: Processing buffer {"connection_id":159821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:35:19] local.INFO: Packet analysis {"connection_id":159821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:35:19] local.INFO: Extracted packet for processing {"connection_id":159821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:35:19] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":62,"angle":67,"satellites":32,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570684416001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:35:19] 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-22 13:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787385787000,"timestamp_ms":1787385787000,"timestamp_seconds":1787385787,"priority":1,"record_length":96,"hex_timestamp":"000001a0287eb278"} 
[2026-08-22 13: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-22 13:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 13:35:19] 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-22 13: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-22 13: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-22 13:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159821,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159821,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570684416001,"66":12743,"36":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570684416001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:35:19] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:35:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570684416001,"power":12743,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":159821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681286,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:35:19] local.INFO: GPS data processed {"connection_id":159821,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:35:19] local.INFO: Acknowledgment sent {"connection_id":159821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:35:26] local.INFO: TCP Data received {"connection_id":160050,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:35:26] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:35:26] local.INFO: Packet analysis {"connection_id":160050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:35:26] local.INFO: Extracted packet for processing {"connection_id":160050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:35:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 13:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570705152001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:35: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-22 13:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787385868000,"timestamp_ms":1787385868000,"timestamp_seconds":1787385868,"priority":1,"record_length":96,"hex_timestamp":"000001a0287feee0"} 
[2026-08-22 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-22 13:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 13:35:26] 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-22 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-22 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-22 13:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:35: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-22 13:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570705152001,"66":25560,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570705152001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:35:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:35:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570705152001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":160050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:35:26] local.INFO: GPS data processed {"connection_id":160050,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:35:26] local.INFO: Acknowledgment sent {"connection_id":160050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:35:37] local.INFO: TCP Data received {"connection_id":160973,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:35:37] local.INFO: Processing buffer {"connection_id":160973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:35:37] local.INFO: IMEI packet received {"connection_id":160973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":160973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:35:42] local.INFO: TCP Data received {"connection_id":160973,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:35:42] local.INFO: Processing buffer {"connection_id":160973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:35:42] local.INFO: IMEI packet received {"connection_id":160973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":160973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:35:43] local.INFO: TCP Data received {"connection_id":160973,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:35:43] local.INFO: Processing buffer {"connection_id":160973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:35:43] local.INFO: Packet analysis {"connection_id":160973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:35:43] local.INFO: Extracted packet for processing {"connection_id":160973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:35:43] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":62,"angle":67,"satellites":32,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13:35: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-22 13:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570684416001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:35:43] 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-22 13:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787385787000,"timestamp_ms":1787385787000,"timestamp_seconds":1787385787,"priority":1,"record_length":96,"hex_timestamp":"000001a0287eb278"} 
[2026-08-22 13:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13:35: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":178,"data_length":795,"current_offset":136} 
[2026-08-22 13:35:43] 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-22 13:35: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-22 13:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570684416001,"66":12743,"36":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570684416001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:35:43] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:35:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570684416001,"power":12743,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":160973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681288,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:35:44] local.INFO: GPS data processed {"connection_id":160973,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:35:44] local.INFO: Acknowledgment sent {"connection_id":160973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:35:49] local.INFO: TCP Data received {"connection_id":162400,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:35:49] local.INFO: Processing buffer {"connection_id":162400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:35:49] local.INFO: IMEI packet received {"connection_id":162400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":162400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:35:54] local.INFO: TCP Data received {"connection_id":162400,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:35:54] local.INFO: Processing buffer {"connection_id":162400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:35:54] local.INFO: IMEI packet received {"connection_id":162400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":162400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:35:55] local.INFO: TCP Data received {"connection_id":162400,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:35:55] local.INFO: Processing buffer {"connection_id":162400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:35:55] local.INFO: Packet analysis {"connection_id":162400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:35:55] local.INFO: Extracted packet for processing {"connection_id":162400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570705152001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:35: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-22 13:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787385868000,"timestamp_ms":1787385868000,"timestamp_seconds":1787385868,"priority":1,"record_length":96,"hex_timestamp":"000001a0287feee0"} 
[2026-08-22 13:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:35: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-22 13:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 13:35: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-22 13:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:35:55] 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-22 13:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570705152001,"66":25560,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570705152001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:35:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570705152001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":162400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:35:55] local.INFO: GPS data processed {"connection_id":162400,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:35:55] local.INFO: Acknowledgment sent {"connection_id":162400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:36:26] local.INFO: TCP Data received {"connection_id":162400,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:36:26] local.INFO: Processing buffer {"connection_id":162400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:36:26] local.INFO: Packet analysis {"connection_id":162400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:36:26] local.INFO: Extracted packet for processing {"connection_id":162400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570705152001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:36: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-22 13:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787385868000,"timestamp_ms":1787385868000,"timestamp_seconds":1787385868,"priority":1,"record_length":96,"hex_timestamp":"000001a0287feee0"} 
[2026-08-22 13: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-22 13:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 13:36:26] 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-22 13: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-22 13: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-22 13:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:36: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-22 13:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570705152001,"66":25560,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570705152001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:36:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570705152001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":162400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:36:26] local.INFO: GPS data processed {"connection_id":162400,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:36:26] local.INFO: Acknowledgment sent {"connection_id":162400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:36:38] local.INFO: TCP Data received {"connection_id":160974,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160974,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:36:38] local.INFO: Processing buffer {"connection_id":160974,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:36:38] local.INFO: IMEI packet received {"connection_id":160974,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":160974,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:36:44] local.INFO: TCP Data received {"connection_id":160974,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160974,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:36:44] local.INFO: Processing buffer {"connection_id":160974,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:36:44] local.INFO: IMEI packet received {"connection_id":160974,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":160974,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:36:49] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:36:49] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:36:49] local.INFO: IMEI packet received {"connection_id":160053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":160053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:36:52] local.INFO: TCP Data received {"connection_id":160974,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:36:52] local.INFO: Processing buffer {"connection_id":160974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:36:52] local.INFO: Packet analysis {"connection_id":160974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:36:52] local.INFO: Extracted packet for processing {"connection_id":160974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:36:52] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":62,"angle":67,"satellites":32,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570684416001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:36:52] 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-22 13:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787385787000,"timestamp_ms":1787385787000,"timestamp_seconds":1787385787,"priority":1,"record_length":96,"hex_timestamp":"000001a0287eb278"} 
[2026-08-22 13: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-22 13:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 13:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160974,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160974,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570684416001,"66":12743,"36":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570684416001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:36:52] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:36:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570684416001,"power":12743,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":160974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681291,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:36:53] local.INFO: GPS data processed {"connection_id":160974,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:36:53] local.INFO: Acknowledgment sent {"connection_id":160974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:36:53] local.INFO: TCP Data received {"connection_id":160974,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:36:53] local.INFO: Processing buffer {"connection_id":160974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:36:53] local.INFO: Packet analysis {"connection_id":160974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:36:53] local.INFO: Extracted packet for processing {"connection_id":160974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:36:53] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":62,"angle":67,"satellites":32,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570684416001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:36:53] 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-22 13:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787385787000,"timestamp_ms":1787385787000,"timestamp_seconds":1787385787,"priority":1,"record_length":96,"hex_timestamp":"000001a0287eb278"} 
[2026-08-22 13: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-22 13:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 13:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160974,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160974,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570684416001,"66":12743,"36":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570684416001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:36:53] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:36:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570684416001,"power":12743,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":160974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681292,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:36:53] local.INFO: GPS data processed {"connection_id":160974,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:36:53] local.INFO: Acknowledgment sent {"connection_id":160974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:36:54] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:36:54] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:36:54] local.INFO: IMEI packet received {"connection_id":160053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":160053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:36:55] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:36:55] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:36:55] local.INFO: Packet analysis {"connection_id":160053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:36:55] local.INFO: Extracted packet for processing {"connection_id":160053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:36:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570705152001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:36: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-22 13:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787385868000,"timestamp_ms":1787385868000,"timestamp_seconds":1787385868,"priority":1,"record_length":96,"hex_timestamp":"000001a0287feee0"} 
[2026-08-22 13:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13: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-22 13:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 13:36: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-22 13:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:36:55] 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-22 13:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570705152001,"66":25560,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570705152001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:36:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570705152001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":160053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:36:55] local.INFO: GPS data processed {"connection_id":160053,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:36:55] local.INFO: Acknowledgment sent {"connection_id":160053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:37:26] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:37:26] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:37:26] local.INFO: Packet analysis {"connection_id":160053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:37:26] local.INFO: Extracted packet for processing {"connection_id":160053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:37:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570705152001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:37: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-22 13:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787385868000,"timestamp_ms":1787385868000,"timestamp_seconds":1787385868,"priority":1,"record_length":96,"hex_timestamp":"000001a0287feee0"} 
[2026-08-22 13: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-22 13:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 13:37:26] 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-22 13: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-22 13: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-22 13:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:37:26] 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-22 13:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570705152001,"66":25560,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570705152001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:37:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:37:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570705152001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":160053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:37:26] local.INFO: GPS data processed {"connection_id":160053,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:37:26] local.INFO: Acknowledgment sent {"connection_id":160053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:37:49] local.INFO: TCP Data received {"connection_id":159822,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:37:49] local.INFO: Processing buffer {"connection_id":159822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:37:49] local.INFO: IMEI packet received {"connection_id":159822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":159822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:37:54] local.INFO: TCP Data received {"connection_id":159822,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:37:54] local.INFO: Processing buffer {"connection_id":159822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:37:54] local.INFO: IMEI packet received {"connection_id":159822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":159822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:37:55] local.INFO: TCP Data received {"connection_id":159822,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:37:55] local.INFO: Processing buffer {"connection_id":159822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:37:55] local.INFO: Packet analysis {"connection_id":159822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:37:55] local.INFO: Extracted packet for processing {"connection_id":159822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570705152001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:37: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-22 13:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787385868000,"timestamp_ms":1787385868000,"timestamp_seconds":1787385868,"priority":1,"record_length":96,"hex_timestamp":"000001a0287feee0"} 
[2026-08-22 13:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:37: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-22 13:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 13:37: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-22 13:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:37:55] 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-22 13:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570705152001,"66":25560,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570705152001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:37:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:37:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570705152001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":159822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:37:55] local.INFO: GPS data processed {"connection_id":159822,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:37:55] local.INFO: Acknowledgment sent {"connection_id":159822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:37:56] local.INFO: TCP Data received {"connection_id":160054,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160054,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:37:56] local.INFO: Processing buffer {"connection_id":160054,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:37:56] local.INFO: IMEI packet received {"connection_id":160054,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":160054,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:37:57] local.INFO: TCP Data received {"connection_id":160054,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160054,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:37:57] local.INFO: Processing buffer {"connection_id":160054,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:37:57] local.INFO: IMEI packet received {"connection_id":160054,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":160054,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:38:15] local.INFO: TCP Data received {"connection_id":160054,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:38:15] local.INFO: Processing buffer {"connection_id":160054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287eb278012d0b150007029d80003e004320..."} 
[2026-08-22 13:38:15] local.INFO: Packet analysis {"connection_id":160054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:38:15] local.INFO: Extracted packet for processing {"connection_id":160054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287e"} 
[2026-08-22 13:38:15] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":62,"angle":67,"satellites":32,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570684416001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:15] 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-22 13:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787385787000,"timestamp_ms":1787385787000,"timestamp_seconds":1787385787,"priority":1,"record_length":96,"hex_timestamp":"000001a0287eb278"} 
[2026-08-22 13: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-22 13:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 13:38: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-22 13: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-22 13: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-22 13:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160054,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160054,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570684416001,"66":12743,"36":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570684416001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:38:15] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:38:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570684416001,"power":12743,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":160054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681296,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:38:15] local.INFO: GPS data processed {"connection_id":160054,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:38:15] local.INFO: Acknowledgment sent {"connection_id":160054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:38:16] local.INFO: TCP Data received {"connection_id":160054,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a028834a40012d0b150007029d80003d004322..."} 
[2026-08-22 13:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028834a40012d0b150007029d80003d004322..."} 
[2026-08-22 13:38:16] local.INFO: Processing buffer {"connection_id":160054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028834a40012d0b150007029d80003d004322..."} 
[2026-08-22 13:38:16] local.INFO: Packet analysis {"connection_id":160054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02883"} 
[2026-08-22 13:38:16] local.INFO: Extracted packet for processing {"connection_id":160054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02883"} 
[2026-08-22 13:38:16] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":61,"angle":67,"satellites":34,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570761472001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:16] 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-22 13:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787386088000,"timestamp_ms":1787386088000,"timestamp_seconds":1787386088,"priority":1,"record_length":96,"hex_timestamp":"000001a028834a40"} 
[2026-08-22 13: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-22 13:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-22 13:38:16] 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-22 13: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-22 13: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-22 13:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160054,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160054,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570761472001,"66":12722,"36":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570761472001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:38:16] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:38:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570761472001,"power":12722,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":160054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681297,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:38:16] local.INFO: GPS data processed {"connection_id":160054,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:38:16] local.INFO: Acknowledgment sent {"connection_id":160054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:38:26] local.INFO: TCP Data received {"connection_id":159822,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:38:26] local.INFO: Processing buffer {"connection_id":159822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:38:26] local.INFO: Packet analysis {"connection_id":159822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:38:26] local.INFO: Extracted packet for processing {"connection_id":159822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:38:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570705152001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38: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-22 13:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787385868000,"timestamp_ms":1787385868000,"timestamp_seconds":1787385868,"priority":1,"record_length":96,"hex_timestamp":"000001a0287feee0"} 
[2026-08-22 13:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 13:38:26] 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-22 13:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:38:26] 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-22 13:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570705152001,"66":25560,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570705152001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:38:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570705152001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":159822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:38:26] local.INFO: GPS data processed {"connection_id":159822,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:38:26] local.INFO: Acknowledgment sent {"connection_id":159822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:38:43] local.INFO: TCP Data received {"connection_id":162401,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:38:43] local.INFO: Processing buffer {"connection_id":162401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:38:43] local.INFO: IMEI packet received {"connection_id":162401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":162401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:38:47] local.INFO: TCP Data received {"connection_id":162401,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:38:47] local.INFO: Processing buffer {"connection_id":162401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:38:47] local.INFO: IMEI packet received {"connection_id":162401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":162401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:38:48] local.INFO: TCP Data received {"connection_id":162401,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a028834a40012d0b150007029d80003d004322..."} 
[2026-08-22 13:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028834a40012d0b150007029d80003d004322..."} 
[2026-08-22 13:38:48] local.INFO: Processing buffer {"connection_id":162401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028834a40012d0b150007029d80003d004322..."} 
[2026-08-22 13:38:48] local.INFO: Packet analysis {"connection_id":162401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02883"} 
[2026-08-22 13:38:48] local.INFO: Extracted packet for processing {"connection_id":162401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02883"} 
[2026-08-22 13:38:48] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":61,"angle":67,"satellites":34,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570761472001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:48] 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-22 13:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787386088000,"timestamp_ms":1787386088000,"timestamp_seconds":1787386088,"priority":1,"record_length":96,"hex_timestamp":"000001a028834a40"} 
[2026-08-22 13: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-22 13:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-22 13:38:48] 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-22 13: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-22 13: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-22 13:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570761472001,"66":12722,"36":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570761472001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:38:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:38:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570761472001,"power":12722,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":162401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681299,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:38:48] local.INFO: GPS data processed {"connection_id":162401,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:38:48] local.INFO: Acknowledgment sent {"connection_id":162401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:38:49] local.INFO: TCP Data received {"connection_id":162402,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:38:49] local.INFO: Processing buffer {"connection_id":162402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:38:49] local.INFO: IMEI packet received {"connection_id":162402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":162402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:38:54] local.INFO: TCP Data received {"connection_id":162402,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:38:54] local.INFO: Processing buffer {"connection_id":162402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:38:54] local.INFO: IMEI packet received {"connection_id":162402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":162402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:38:54] local.INFO: TCP Data received {"connection_id":162401,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a028834a40012d0b150007029d80003d004322..."} 
[2026-08-22 13:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028834a40012d0b150007029d80003d004322..."} 
[2026-08-22 13:38:54] local.INFO: Processing buffer {"connection_id":162401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028834a40012d0b150007029d80003d004322..."} 
[2026-08-22 13:38:54] local.INFO: Packet analysis {"connection_id":162401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02883"} 
[2026-08-22 13:38:54] local.INFO: Extracted packet for processing {"connection_id":162401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02883"} 
[2026-08-22 13:38:54] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":61,"angle":67,"satellites":34,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570761472001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:54] 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-22 13:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787386088000,"timestamp_ms":1787386088000,"timestamp_seconds":1787386088,"priority":1,"record_length":96,"hex_timestamp":"000001a028834a40"} 
[2026-08-22 13:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-22 13:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570761472001,"66":12722,"36":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-22 13:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570761472001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:38:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-22 13:38:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570761472001,"power":12722,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":162401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681300,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:38:54] local.INFO: GPS data processed {"connection_id":162401,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:38:54] local.INFO: Acknowledgment sent {"connection_id":162401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:38:54] local.INFO: TCP Data received {"connection_id":162402,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:38:54] local.INFO: Processing buffer {"connection_id":162402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:38:54] local.INFO: Packet analysis {"connection_id":162402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:38:54] local.INFO: Extracted packet for processing {"connection_id":162402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570705152001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:54] 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-22 13:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787385868000,"timestamp_ms":1787385868000,"timestamp_seconds":1787385868,"priority":1,"record_length":96,"hex_timestamp":"000001a0287feee0"} 
[2026-08-22 13:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 13:38:54] 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-22 13:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:38:54] 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-22 13:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570705152001,"66":25560,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570705152001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:38:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:38:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570705152001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":162402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:38:55] local.INFO: GPS data processed {"connection_id":162402,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:38:55] local.INFO: Acknowledgment sent {"connection_id":162402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:38:57] local.INFO: TCP Data received {"connection_id":160055,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:38:57] local.INFO: Processing buffer {"connection_id":160055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:38:57] local.INFO: IMEI packet received {"connection_id":160055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":160055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:38:58] local.INFO: TCP Data received {"connection_id":160055,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028832b00012d19cbc0071ff410003100cf2c..."} 
[2026-08-22 13:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028832b00012d19cbc0071ff410003100cf2c..."} 
[2026-08-22 13:38:58] local.INFO: Processing buffer {"connection_id":160055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028832b00012d19cbc0071ff410003100cf2c..."} 
[2026-08-22 13:38:58] local.INFO: Packet analysis {"connection_id":160055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02883"} 
[2026-08-22 13:38:58] local.INFO: Extracted packet for processing {"connection_id":160055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02883"} 
[2026-08-22 13:38:58] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119534608,"longitude_deg":75.666528,"latitude_deg":11.9534608,"altitude":49,"angle":207,"satellites":44,"speed":15,"hex_longitude":"2d19cbc0","hex_latitude":"071ff410","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570836224001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14546796533514240,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858931145542307840,"note":"Value kept but may cause issues"} 
[2026-08-22 13:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787386080000,"timestamp_ms":1787386080000,"timestamp_seconds":1787386080,"priority":1,"record_length":96,"hex_timestamp":"000001a028832b00"} 
[2026-08-22 13: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-22 13:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 13:38:58] 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-22 13: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-22 13: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-22 13:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570836224001,"66":13580,"101":206,"83":41984,"24":15,"16":14546796533514240,"45":1858931145542307840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 13:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570836224001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:38:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 13:38:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14546796533514240,"km_value":14546796533514.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858931145542307840,"description":"Unknown IO ID 45"} 
[2026-08-22 13:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570836224001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858931145542307840}} 
[2026-08-22 13:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":160055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:38:58] local.INFO: GPS data processed {"connection_id":160055,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:38:58] local.INFO: Acknowledgment sent {"connection_id":160055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:39:26] local.INFO: TCP Data received {"connection_id":162402,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:39:26] local.INFO: Processing buffer {"connection_id":162402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:39:26] local.INFO: Packet analysis {"connection_id":162402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:39:26] local.INFO: Extracted packet for processing {"connection_id":162402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:39:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570705152001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:39: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-22 13:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787385868000,"timestamp_ms":1787385868000,"timestamp_seconds":1787385868,"priority":1,"record_length":96,"hex_timestamp":"000001a0287feee0"} 
[2026-08-22 13:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 13:39:26] 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-22 13:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:39: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-22 13:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570705152001,"66":25560,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570705152001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:39:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:39:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570705152001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":162402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:39:26] local.INFO: GPS data processed {"connection_id":162402,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:39:26] local.INFO: Acknowledgment sent {"connection_id":162402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:39:29] local.INFO: TCP Data received {"connection_id":160055,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02883cb28012d197f00071fecc0003f00f52e..."} 
[2026-08-22 13:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02883cb28012d197f00071fecc0003f00f52e..."} 
[2026-08-22 13:39:29] local.INFO: Processing buffer {"connection_id":160055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02883cb28012d197f00071fecc0003f00f52e..."} 
[2026-08-22 13:39:29] local.INFO: Packet analysis {"connection_id":160055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02883"} 
[2026-08-22 13:39:29] local.INFO: Extracted packet for processing {"connection_id":160055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02883"} 
[2026-08-22 13:39:29] local.INFO: GPS Element Parsed {"raw_longitude":756645632,"raw_latitude":119532736,"longitude_deg":75.6645632,"latitude_deg":11.9532736,"altitude":63,"angle":245,"satellites":46,"speed":14,"hex_longitude":"2d197f00","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-08-22 13:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570846464001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14547767196123136,"note":"Value kept but may cause issues"} 
[2026-08-22 13:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837890891032717312,"note":"Value kept but may cause issues"} 
[2026-08-22 13:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787386121000,"timestamp_ms":1787386121000,"timestamp_seconds":1787386121,"priority":1,"record_length":96,"hex_timestamp":"000001a02883cb28"} 
[2026-08-22 13:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:39: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-22 13:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 13:39:29] 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-22 13:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570846464001,"66":12645,"102":206,"83":41984,"24":14,"16":14547767196123136,"45":1837890891032717312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570846464001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:39:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:39:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14547767196123136,"km_value":14547767196123.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837890891032717312,"description":"Unknown IO ID 45"} 
[2026-08-22 13:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570846464001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1837890891032717312}} 
[2026-08-22 13:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":160055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:39:30] local.INFO: GPS data processed {"connection_id":160055,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:39:30] local.INFO: Acknowledgment sent {"connection_id":160055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:39:49] local.INFO: TCP Data received {"connection_id":160977,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:39:49] local.INFO: Processing buffer {"connection_id":160977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:39:49] local.INFO: IMEI packet received {"connection_id":160977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":160977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:39:52] local.INFO: TCP Data received {"connection_id":162403,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:39:52] local.INFO: Processing buffer {"connection_id":162403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:39:52] local.INFO: IMEI packet received {"connection_id":162403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":162403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:39:54] local.INFO: TCP Data received {"connection_id":160977,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:39:54] local.INFO: Processing buffer {"connection_id":160977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:39:54] local.INFO: IMEI packet received {"connection_id":160977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":160977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:39:55] local.INFO: TCP Data received {"connection_id":160977,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:39:55] local.INFO: Processing buffer {"connection_id":160977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0287feee0012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:39:55] local.INFO: Packet analysis {"connection_id":160977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:39:55] local.INFO: Extracted packet for processing {"connection_id":160977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0287f"} 
[2026-08-22 13:39:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570705152001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:39: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-22 13:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787385868000,"timestamp_ms":1787385868000,"timestamp_seconds":1787385868,"priority":1,"record_length":96,"hex_timestamp":"000001a0287feee0"} 
[2026-08-22 13:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:39: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-22 13:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 13:39: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-22 13:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:39:55] 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-22 13:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570705152001,"66":25560,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570705152001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:39:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:39:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570705152001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":160977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:39:55] local.INFO: GPS data processed {"connection_id":160977,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:39:55] local.INFO: Acknowledgment sent {"connection_id":160977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:39:58] local.INFO: TCP Data received {"connection_id":162403,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:39:58] local.INFO: Processing buffer {"connection_id":162403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:39:58] local.INFO: IMEI packet received {"connection_id":162403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":162403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:39:59] local.INFO: TCP Data received {"connection_id":162403,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02883d2f8012d197c40071febf0003f01052e..."} 
[2026-08-22 13:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02883d2f8012d197c40071febf0003f01052e..."} 
[2026-08-22 13:39:59] local.INFO: Processing buffer {"connection_id":162403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02883d2f8012d197c40071febf0003f01052e..."} 
[2026-08-22 13:39:59] local.INFO: Packet analysis {"connection_id":162403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02883"} 
[2026-08-22 13:39:59] local.INFO: Extracted packet for processing {"connection_id":162403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02883"} 
[2026-08-22 13:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756644928,"raw_latitude":119532528,"longitude_deg":75.6644928,"latitude_deg":11.9532528,"altitude":63,"angle":261,"satellites":46,"speed":17,"hex_longitude":"2d197c40","hex_latitude":"071febf0","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570846976001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14547805850828800,"note":"Value kept but may cause issues"} 
[2026-08-22 13:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203590832128,"note":"Value kept but may cause issues"} 
[2026-08-22 13:39: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-22 13:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787386123000,"timestamp_ms":1787386123000,"timestamp_seconds":1787386123,"priority":1,"record_length":96,"hex_timestamp":"000001a02883d2f8"} 
[2026-08-22 13: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-22 13:39: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-22 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-22 13:39:59] 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-22 13: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-22 13: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-22 13:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570846976001,"66":12950,"102":206,"83":41984,"24":17,"16":14547805850828800,"45":1837187203590832128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570846976001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:39:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:39:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14547805850828800,"km_value":14547805850828.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203590832128,"description":"Unknown IO ID 45"} 
[2026-08-22 13:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570846976001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1837187203590832128}} 
[2026-08-22 13:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":162403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:39:59] local.INFO: GPS data processed {"connection_id":162403,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:39:59] local.INFO: Acknowledgment sent {"connection_id":162403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:40:26] local.INFO: TCP Data received {"connection_id":160977,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:40:26] local.INFO: Processing buffer {"connection_id":160977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:40:26] local.INFO: Packet analysis {"connection_id":160977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:40:26] local.INFO: Extracted packet for processing {"connection_id":160977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:40:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570782208001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:40: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-22 13:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787386169000,"timestamp_ms":1787386169000,"timestamp_seconds":1787386169,"priority":1,"record_length":96,"hex_timestamp":"000001a0288486a8"} 
[2026-08-22 13: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-22 13:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 13:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:40:26] 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-22 13:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570782208001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570782208001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:40:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:40:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570782208001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":160977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:40:26] local.INFO: GPS data processed {"connection_id":160977,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:40:26] local.INFO: Acknowledgment sent {"connection_id":160977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:40:29] local.INFO: TCP Data received {"connection_id":162403,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02883e298012d197540071febc0004001142f..."} 
[2026-08-22 13:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02883e298012d197540071febc0004001142f..."} 
[2026-08-22 13:40:29] local.INFO: Processing buffer {"connection_id":162403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02883e298012d197540071febc0004001142f..."} 
[2026-08-22 13:40:29] local.INFO: Packet analysis {"connection_id":162403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02883"} 
[2026-08-22 13:40:29] local.INFO: Extracted packet for processing {"connection_id":162403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02883"} 
[2026-08-22 13:40:29] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532480,"longitude_deg":75.6643136,"latitude_deg":11.953248,"altitude":64,"angle":276,"satellites":47,"speed":15,"hex_longitude":"2d197540","hex_latitude":"071febc0","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570847488001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14547887455207424,"note":"Value kept but may cause issues"} 
[2026-08-22 13:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836413147404824576,"note":"Value kept but may cause issues"} 
[2026-08-22 13:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787386127000,"timestamp_ms":1787386127000,"timestamp_seconds":1787386127,"priority":1,"record_length":96,"hex_timestamp":"000001a02883e298"} 
[2026-08-22 13: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-22 13:40:29] 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-22 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 13:40:29] 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-22 13: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-22 13: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-22 13:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570847488001,"66":13091,"102":206,"83":41984,"24":15,"16":14547887455207424,"45":1836413147404824576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570847488001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:40:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:40:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14547887455207424,"km_value":14547887455207.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836413147404824576,"description":"Unknown IO ID 45"} 
[2026-08-22 13:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570847488001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1836413147404824576}} 
[2026-08-22 13:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":162403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:40:30] local.INFO: GPS data processed {"connection_id":162403,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:40:30] local.INFO: Acknowledgment sent {"connection_id":162403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:40:49] local.INFO: TCP Data received {"connection_id":159823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:40:49] local.INFO: Processing buffer {"connection_id":159823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:40:49] local.INFO: IMEI packet received {"connection_id":159823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":159823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:40:52] local.INFO: TCP Data received {"connection_id":160978,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:40:52] local.INFO: Processing buffer {"connection_id":160978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:40:52] local.INFO: IMEI packet received {"connection_id":160978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":160978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:40:54] local.INFO: TCP Data received {"connection_id":159823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:40:54] local.INFO: Processing buffer {"connection_id":159823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:40:54] local.INFO: IMEI packet received {"connection_id":159823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":159823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:40:55] local.INFO: TCP Data received {"connection_id":159823,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:40:55] local.INFO: Processing buffer {"connection_id":159823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:40:55] local.INFO: Packet analysis {"connection_id":159823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:40:55] local.INFO: Extracted packet for processing {"connection_id":159823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570782208001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:40: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-22 13:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787386169000,"timestamp_ms":1787386169000,"timestamp_seconds":1787386169,"priority":1,"record_length":96,"hex_timestamp":"000001a0288486a8"} 
[2026-08-22 13: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-22 13:40: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-22 13:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 13:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:40:55] local.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-22 13:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570782208001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570782208001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:40:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:40:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570782208001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":159823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:40:55] local.INFO: GPS data processed {"connection_id":159823,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:40:55] local.INFO: Acknowledgment sent {"connection_id":159823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:40:58] local.INFO: TCP Data received {"connection_id":160978,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:40:58] local.INFO: Processing buffer {"connection_id":160978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:40:58] local.INFO: IMEI packet received {"connection_id":160978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":160978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:40:59] local.INFO: TCP Data received {"connection_id":160978,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0288434a0012d196900071fee180041011d2c..."} 
[2026-08-22 13:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288434a0012d196900071fee180041011d2c..."} 
[2026-08-22 13:40:59] local.INFO: Processing buffer {"connection_id":160978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288434a0012d196900071fee180041011d2c..."} 
[2026-08-22 13:40:59] local.INFO: Packet analysis {"connection_id":160978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:40:59] local.INFO: Extracted packet for processing {"connection_id":160978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:40:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570848512001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567837696,"note":"Value kept but may cause issues"} 
[2026-08-22 13:40: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-22 13:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787386148000,"timestamp_ms":1787386148000,"timestamp_seconds":1787386148,"priority":1,"record_length":96,"hex_timestamp":"000001a0288434a0"} 
[2026-08-22 13: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-22 13:40: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-22 13: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-22 13:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570848512001,"66":13102,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1834442822567837696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570848512001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:40:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:40:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567837696,"description":"Unknown IO ID 45"} 
[2026-08-22 13:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570848512001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567837696}} 
[2026-08-22 13:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":160978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:40:59] local.INFO: GPS data processed {"connection_id":160978,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:40:59] local.INFO: Acknowledgment sent {"connection_id":160978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:41:26] local.INFO: TCP Data received {"connection_id":159823,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:41:26] local.INFO: Processing buffer {"connection_id":159823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:41:26] local.INFO: Packet analysis {"connection_id":159823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:41:26] local.INFO: Extracted packet for processing {"connection_id":159823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:41:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570782208001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:41: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-22 13:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787386169000,"timestamp_ms":1787386169000,"timestamp_seconds":1787386169,"priority":1,"record_length":96,"hex_timestamp":"000001a0288486a8"} 
[2026-08-22 13: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-22 13:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 13:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:41: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-22 13:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570782208001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570782208001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:41:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570782208001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":159823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:41:26] local.INFO: GPS data processed {"connection_id":159823,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:41:26] local.INFO: Acknowledgment sent {"connection_id":159823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:41:30] local.INFO: TCP Data received {"connection_id":160978,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0288486a8012d196900071fee180041011d2d..."} 
[2026-08-22 13:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288486a8012d196900071fee180041011d2d..."} 
[2026-08-22 13:41:30] local.INFO: Processing buffer {"connection_id":160978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288486a8012d196900071fee180041011d2d..."} 
[2026-08-22 13:41:30] local.INFO: Packet analysis {"connection_id":160978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:41:30] local.INFO: Extracted packet for processing {"connection_id":160978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:41:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570853888001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:41: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-22 13:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787386169000,"timestamp_ms":1787386169000,"timestamp_seconds":1787386169,"priority":1,"record_length":96,"hex_timestamp":"000001a0288486a8"} 
[2026-08-22 13: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-22 13:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 13:41:30] 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-22 13: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-22 13: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-22 13:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570853888001,"66":13102,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570853888001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:41:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:41:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570853888001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":160978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:41:30] local.INFO: GPS data processed {"connection_id":160978,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:41:30] local.INFO: Acknowledgment sent {"connection_id":160978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:41:47] local.INFO: TCP Data received {"connection_id":160979,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160979,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:41:47] local.INFO: Processing buffer {"connection_id":160979,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:41:47] local.INFO: IMEI packet received {"connection_id":160979,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":160979,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:41:49] local.INFO: TCP Data received {"connection_id":162404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:41:49] local.INFO: Processing buffer {"connection_id":162404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:41:49] local.INFO: IMEI packet received {"connection_id":162404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":162404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:41:52] local.INFO: TCP Data received {"connection_id":160979,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160979,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:41:52] local.INFO: Processing buffer {"connection_id":160979,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:41:52] local.INFO: IMEI packet received {"connection_id":160979,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":160979,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:41:52] local.INFO: TCP Data received {"connection_id":160056,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:41:52] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:41:52] local.INFO: IMEI packet received {"connection_id":160056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":160056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:41:55] local.INFO: TCP Data received {"connection_id":162404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:41:55] local.INFO: Processing buffer {"connection_id":162404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:41:55] local.INFO: IMEI packet received {"connection_id":162404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":162404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:41:56] local.INFO: TCP Data received {"connection_id":162404,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:41:56] local.INFO: Processing buffer {"connection_id":162404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:41:56] local.INFO: Packet analysis {"connection_id":162404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:41:56] local.INFO: Extracted packet for processing {"connection_id":162404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 13:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570782208001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:41: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-22 13:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787386169000,"timestamp_ms":1787386169000,"timestamp_seconds":1787386169,"priority":1,"record_length":96,"hex_timestamp":"000001a0288486a8"} 
[2026-08-22 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-22 13: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-22 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 13:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 13:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:41: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-22 13:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570782208001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570782208001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:41:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570782208001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":162404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:41:56] local.INFO: GPS data processed {"connection_id":162404,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:41:56] local.INFO: Acknowledgment sent {"connection_id":162404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:41:57] local.INFO: TCP Data received {"connection_id":160979,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160979,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:41:57] local.INFO: Processing buffer {"connection_id":160979,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:41:57] local.INFO: IMEI packet received {"connection_id":160979,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":160979,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:41:58] local.INFO: TCP Data received {"connection_id":160056,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:41:58] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:41:58] local.INFO: IMEI packet received {"connection_id":160056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":160056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:41:59] local.INFO: TCP Data received {"connection_id":160056,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02884d8b0012d196900071fee180041011d2b..."} 
[2026-08-22 13:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02884d8b0012d196900071fee180041011d2b..."} 
[2026-08-22 13:41:59] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02884d8b0012d196900071fee180041011d2b..."} 
[2026-08-22 13:41:59] local.INFO: Packet analysis {"connection_id":160056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:41:59] local.INFO: Extracted packet for processing {"connection_id":160056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:41:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570859264001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:41: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-22 13:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787386190000,"timestamp_ms":1787386190000,"timestamp_seconds":1787386190,"priority":1,"record_length":96,"hex_timestamp":"000001a02884d8b0"} 
[2026-08-22 13: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-22 13:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 13:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570859264001,"66":13059,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570859264001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:41:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:41:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570859264001,"power":13059,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":160056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:41:59] local.INFO: GPS data processed {"connection_id":160056,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:41:59] local.INFO: Acknowledgment sent {"connection_id":160056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:42:27] local.INFO: TCP Data received {"connection_id":160979,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a028856550012d0b150007029d80003d004322..."} 
[2026-08-22 13:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028856550012d0b150007029d80003d004322..."} 
[2026-08-22 13:42:27] local.INFO: Processing buffer {"connection_id":160979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028856550012d0b150007029d80003d004322..."} 
[2026-08-22 13:42:27] local.INFO: Packet analysis {"connection_id":160979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02885"} 
[2026-08-22 13:42:27] local.INFO: Extracted packet for processing {"connection_id":160979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02885"} 
[2026-08-22 13:42:27] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":61,"angle":67,"satellites":34,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570838528001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:27] 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-22 13:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787386226000,"timestamp_ms":1787386226000,"timestamp_seconds":1787386226,"priority":1,"record_length":96,"hex_timestamp":"000001a028856550"} 
[2026-08-22 13:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 13:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 13:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160979,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160979,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570838528001,"66":12722,"147":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-08-22 13:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570838528001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:42:27] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-22 13:42:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570838528001,"power":12722,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":160979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681315,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:42:27] local.INFO: GPS data processed {"connection_id":160979,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:42:27] local.ERROR: TCP Connection error {"connection_id":160979,"code":2,"message":"client closed"} 
[2026-08-22 13:42:27] local.INFO: Acknowledgment sent {"connection_id":160979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:42:27] local.INFO: TCP Data received {"connection_id":162404,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:42:27] local.INFO: Processing buffer {"connection_id":162404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:42:27] local.INFO: Packet analysis {"connection_id":162404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:42:27] local.INFO: Extracted packet for processing {"connection_id":162404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570782208001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:27] 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-22 13:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787386169000,"timestamp_ms":1787386169000,"timestamp_seconds":1787386169,"priority":1,"record_length":96,"hex_timestamp":"000001a0288486a8"} 
[2026-08-22 13:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 13:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:42:27] local.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-22 13:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570782208001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570782208001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:42:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570782208001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":162404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:42:27] local.INFO: GPS data processed {"connection_id":162404,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:42:27] local.INFO: Acknowledgment sent {"connection_id":162404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:42:30] local.INFO: TCP Data received {"connection_id":160056,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028852ab8012d196900071fee180041011d2b..."} 
[2026-08-22 13:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028852ab8012d196900071fee180041011d2b..."} 
[2026-08-22 13:42:30] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028852ab8012d196900071fee180041011d2b..."} 
[2026-08-22 13:42:30] local.INFO: Packet analysis {"connection_id":160056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02885"} 
[2026-08-22 13:42:30] local.INFO: Extracted packet for processing {"connection_id":160056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02885"} 
[2026-08-22 13:42:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570864640001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42: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-22 13:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787386211000,"timestamp_ms":1787386211000,"timestamp_seconds":1787386211,"priority":1,"record_length":96,"hex_timestamp":"000001a028852ab8"} 
[2026-08-22 13: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-22 13:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-22 13:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163734281592,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:30] local.WARNING: Large IO value detected {"io_id":102,"raw_value":58075809043709966,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:30] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2211641345,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3958374463,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 13:42:30] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":671165721,"corrected_to":0} 
[2026-08-22 13:42:30] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2937978880,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:30] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,175,160,134,45,238,65,10,66,52,44,226,64,1,240,35,227,40,31,4,113,205,17,203,127,192,46,239,49,2,51,7,62,14],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":203,"original":671165721,"validated":0}]} 
[2026-08-22 13:42:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684057157962825728,"timestamp_seconds":4684057157962826.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 13: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-22 13:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570864640001,"66":13037,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570864640001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:42:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:42:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570864640001,"power":13037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":160056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:42:30] local.INFO: GPS data processed {"connection_id":160056,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:42:30] local.INFO: Acknowledgment sent {"connection_id":160056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:42:37] local.INFO: TCP Data received {"connection_id":162405,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:42:37] local.INFO: Processing buffer {"connection_id":162405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:42:37] local.INFO: IMEI packet received {"connection_id":162405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":162405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:42:39] local.INFO: TCP Data received {"connection_id":162405,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:42:39] local.INFO: Processing buffer {"connection_id":162405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:42:39] local.INFO: IMEI packet received {"connection_id":162405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":162405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:42:40] local.INFO: TCP Data received {"connection_id":162405,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a028856550012d0b150007029d80003d004322..."} 
[2026-08-22 13:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028856550012d0b150007029d80003d004322..."} 
[2026-08-22 13:42:40] local.INFO: Processing buffer {"connection_id":162405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028856550012d0b150007029d80003d004322..."} 
[2026-08-22 13:42:40] local.INFO: Packet analysis {"connection_id":162405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02885"} 
[2026-08-22 13:42:40] local.INFO: Extracted packet for processing {"connection_id":162405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02885"} 
[2026-08-22 13:42:40] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117611904,"longitude_deg":75.5700992,"latitude_deg":11.7611904,"altitude":61,"angle":67,"satellites":34,"speed":0,"hex_longitude":"2d0b1500","hex_latitude":"07029d80","is_valid_coordinates":true} 
[2026-08-22 13:42:40] 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-22 13:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570873856001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489670656098304,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036778496,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:40] 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-22 13:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787386226000,"timestamp_ms":1787386226000,"timestamp_seconds":1787386226,"priority":1,"record_length":96,"hex_timestamp":"000001a028856550"} 
[2026-08-22 13:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:42: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-22 13:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 13:42:40] 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-22 13:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":162405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":162405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":162405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570873856001,"66":12722,"147":206,"94":11008,"24":0,"16":29489670656098304,"45":798544539036778496},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-08-22 13:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570873856001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:42:40] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-22 13:42:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-22 13:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489670656098304,"km_value":29489670656098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036778496,"description":"Unknown IO ID 45"} 
[2026-08-22 13:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570873856001,"power":12722,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036778496}} 
[2026-08-22 13:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":162405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681318,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:42:40] local.INFO: GPS data processed {"connection_id":162405,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:42:40] local.INFO: Acknowledgment sent {"connection_id":162405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:42:49] local.INFO: TCP Data received {"connection_id":160980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:42:49] local.INFO: Processing buffer {"connection_id":160980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:42:49] local.INFO: IMEI packet received {"connection_id":160980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":160980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:42:52] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:42:52] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:42:52] local.INFO: IMEI packet received {"connection_id":160057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":160057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:42:54] local.INFO: TCP Data received {"connection_id":160980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:42:54] local.INFO: Processing buffer {"connection_id":160980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:42:54] local.INFO: IMEI packet received {"connection_id":160980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":160980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:42:55] local.INFO: TCP Data received {"connection_id":160980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:42:55] local.INFO: Processing buffer {"connection_id":160980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:42:55] local.INFO: Packet analysis {"connection_id":160980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:42:55] local.INFO: Extracted packet for processing {"connection_id":160980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570782208001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42: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-22 13:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787386169000,"timestamp_ms":1787386169000,"timestamp_seconds":1787386169,"priority":1,"record_length":96,"hex_timestamp":"000001a0288486a8"} 
[2026-08-22 13:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13: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-22 13:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 13:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:42:55] local.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-22 13:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570782208001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570782208001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:42:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:42:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570782208001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":160980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:42:55] local.INFO: GPS data processed {"connection_id":160980,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:42:55] local.INFO: Acknowledgment sent {"connection_id":160980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:42:55] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:42:55] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:42:55] local.INFO: IMEI packet received {"connection_id":160057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":160057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:42:58] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:42:58] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:42:58] local.INFO: IMEI packet received {"connection_id":160057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":160057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:42:59] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028857cc0012d196900071fee180041011d2b..."} 
[2026-08-22 13:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028857cc0012d196900071fee180041011d2b..."} 
[2026-08-22 13:42:59] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028857cc0012d196900071fee180041011d2b..."} 
[2026-08-22 13:42:59] local.INFO: Packet analysis {"connection_id":160057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02885"} 
[2026-08-22 13:42:59] local.INFO: Extracted packet for processing {"connection_id":160057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02885"} 
[2026-08-22 13:42:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570870016001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:42: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-22 13:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787386232000,"timestamp_ms":1787386232000,"timestamp_seconds":1787386232,"priority":1,"record_length":96,"hex_timestamp":"000001a028857cc0"} 
[2026-08-22 13: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-22 13: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-22 13: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-22 13:42:59] 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-22 13: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-22 13: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-22 13:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570870016001,"66":13015,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570870016001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:42:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:42:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570870016001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":160057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:42:59] local.INFO: GPS data processed {"connection_id":160057,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:42:59] local.INFO: Acknowledgment sent {"connection_id":160057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:43:26] local.INFO: TCP Data received {"connection_id":160980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:43:26] local.INFO: Processing buffer {"connection_id":160980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:43:26] local.INFO: Packet analysis {"connection_id":160980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:43:26] local.INFO: Extracted packet for processing {"connection_id":160980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:43:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570782208001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:43: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-22 13:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787386169000,"timestamp_ms":1787386169000,"timestamp_seconds":1787386169,"priority":1,"record_length":96,"hex_timestamp":"000001a0288486a8"} 
[2026-08-22 13:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 13:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:43: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-22 13:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570782208001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570782208001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:43:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:43:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570782208001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":160980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:43:26] local.INFO: GPS data processed {"connection_id":160980,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:43:26] local.INFO: Acknowledgment sent {"connection_id":160980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:43:30] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02885cec8012d196900071fee180041011d2d..."} 
[2026-08-22 13:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02885cec8012d196900071fee180041011d2d..."} 
[2026-08-22 13:43:30] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02885cec8012d196900071fee180041011d2d..."} 
[2026-08-22 13:43:30] local.INFO: Packet analysis {"connection_id":160057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02885"} 
[2026-08-22 13:43:30] local.INFO: Extracted packet for processing {"connection_id":160057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02885"} 
[2026-08-22 13:43:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570875392001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:43: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-22 13:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787386253000,"timestamp_ms":1787386253000,"timestamp_seconds":1787386253,"priority":1,"record_length":96,"hex_timestamp":"000001a02885cec8"} 
[2026-08-22 13: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-22 13:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 13:43:30] 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-22 13: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-22 13: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-22 13:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570875392001,"66":12993,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570875392001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:43:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:43:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570875392001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":160057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:43:30] local.INFO: GPS data processed {"connection_id":160057,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:43:30] local.INFO: Acknowledgment sent {"connection_id":160057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:43:49] local.INFO: TCP Data received {"connection_id":160981,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:43:49] local.INFO: Processing buffer {"connection_id":160981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:43:49] local.INFO: IMEI packet received {"connection_id":160981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":160981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:43:54] local.INFO: TCP Data received {"connection_id":160981,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:43:54] local.INFO: Processing buffer {"connection_id":160981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:43:54] local.INFO: IMEI packet received {"connection_id":160981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":160981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:43:55] local.INFO: TCP Data received {"connection_id":160981,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:43:55] local.INFO: Processing buffer {"connection_id":160981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:43:55] local.INFO: Packet analysis {"connection_id":160981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:43:55] local.INFO: Extracted packet for processing {"connection_id":160981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570782208001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:43: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-22 13:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787386169000,"timestamp_ms":1787386169000,"timestamp_seconds":1787386169,"priority":1,"record_length":96,"hex_timestamp":"000001a0288486a8"} 
[2026-08-22 13: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-22 13:43: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-22 13:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 13:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:43:55] 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-22 13:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570782208001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570782208001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:43:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:43:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570782208001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":160981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:43:55] local.INFO: GPS data processed {"connection_id":160981,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:43:55] local.INFO: Acknowledgment sent {"connection_id":160981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:43:58] local.INFO: TCP Data received {"connection_id":160982,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:43:58] local.INFO: Processing buffer {"connection_id":160982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:43:58] local.INFO: IMEI packet received {"connection_id":160982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":160982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:43:58] local.INFO: TCP Data received {"connection_id":160982,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:43:58] local.INFO: Processing buffer {"connection_id":160982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:43:58] local.INFO: IMEI packet received {"connection_id":160982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":160982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:44:03] local.INFO: TCP Data received {"connection_id":160982,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:44:03] local.INFO: Processing buffer {"connection_id":160982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:44:03] local.INFO: IMEI packet received {"connection_id":160982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":160982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:44:04] local.INFO: TCP Data received {"connection_id":160982,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0288620d0012d196900071fee180041011d2d..."} 
[2026-08-22 13:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288620d0012d196900071fee180041011d2d..."} 
[2026-08-22 13:44:04] local.INFO: Processing buffer {"connection_id":160982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288620d0012d196900071fee180041011d2d..."} 
[2026-08-22 13:44:04] local.INFO: Packet analysis {"connection_id":160982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02886"} 
[2026-08-22 13:44:04] local.INFO: Extracted packet for processing {"connection_id":160982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02886"} 
[2026-08-22 13:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570880768001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787386274000,"timestamp_ms":1787386274000,"timestamp_seconds":1787386274,"priority":1,"record_length":96,"hex_timestamp":"000001a0288620d0"} 
[2026-08-22 13: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-22 13:44:04] 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-22 13: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":193,"data_length":795,"current_offset":136} 
[2026-08-22 13:44:04] 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-22 13: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-22 13: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-22 13:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570880768001,"66":12885,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570880768001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:44:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570880768001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":160982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:44:04] local.INFO: GPS data processed {"connection_id":160982,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:44:04] local.INFO: Acknowledgment sent {"connection_id":160982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:44:08] local.INFO: TCP Data received {"connection_id":160982,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0288672d8012d196900071fee180041011d29..."} 
[2026-08-22 13:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288672d8012d196900071fee180041011d29..."} 
[2026-08-22 13:44:08] local.INFO: Processing buffer {"connection_id":160982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288672d8012d196900071fee180041011d29..."} 
[2026-08-22 13:44:08] local.INFO: Packet analysis {"connection_id":160982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02886"} 
[2026-08-22 13:44:08] local.INFO: Extracted packet for processing {"connection_id":160982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02886"} 
[2026-08-22 13:44:08] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570886144001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787386295000,"timestamp_ms":1787386295000,"timestamp_seconds":1787386295,"priority":1,"record_length":96,"hex_timestamp":"000001a0288672d8"} 
[2026-08-22 13: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-22 13:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 13:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570886144001,"66":12972,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570886144001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:44:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:44:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570886144001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":160982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:44:08] local.INFO: GPS data processed {"connection_id":160982,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:44:08] local.INFO: Acknowledgment sent {"connection_id":160982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:44:26] local.INFO: TCP Data received {"connection_id":160981,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:44:26] local.INFO: Processing buffer {"connection_id":160981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:44:26] local.INFO: Packet analysis {"connection_id":160981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:44:26] local.INFO: Extracted packet for processing {"connection_id":160981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570782208001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:44: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-22 13:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787386169000,"timestamp_ms":1787386169000,"timestamp_seconds":1787386169,"priority":1,"record_length":96,"hex_timestamp":"000001a0288486a8"} 
[2026-08-22 13:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 13:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:44: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-22 13:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570782208001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570782208001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:44:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:44:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570782208001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":160981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:44:26] local.INFO: GPS data processed {"connection_id":160981,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:44:26] local.INFO: Acknowledgment sent {"connection_id":160981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:44:49] local.INFO: TCP Data received {"connection_id":160983,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:44:49] local.INFO: Processing buffer {"connection_id":160983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:44:49] local.INFO: IMEI packet received {"connection_id":160983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":160983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:44:52] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:44:52] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:44:52] local.INFO: IMEI packet received {"connection_id":160058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":160058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:44:54] local.INFO: TCP Data received {"connection_id":160983,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:44:54] local.INFO: Processing buffer {"connection_id":160983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:44:54] local.INFO: IMEI packet received {"connection_id":160983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":160983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:44:55] local.INFO: TCP Data received {"connection_id":160983,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:44:55] local.INFO: Processing buffer {"connection_id":160983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288486a8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:44:55] local.INFO: Packet analysis {"connection_id":160983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:44:55] local.INFO: Extracted packet for processing {"connection_id":160983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02884"} 
[2026-08-22 13:44:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570782208001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:44: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-22 13:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787386169000,"timestamp_ms":1787386169000,"timestamp_seconds":1787386169,"priority":1,"record_length":96,"hex_timestamp":"000001a0288486a8"} 
[2026-08-22 13: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-22 13:44: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-22 13: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 13:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:44:55] 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-22 13:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570782208001,"66":25647,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570782208001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:44:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:44:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570782208001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":160983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:44:55] local.INFO: GPS data processed {"connection_id":160983,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:44:55] local.INFO: Acknowledgment sent {"connection_id":160983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:44:58] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:44:58] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:44:58] local.INFO: IMEI packet received {"connection_id":160058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":160058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:44:59] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02886c4e0012d196900071fee180041011d2a..."} 
[2026-08-22 13:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02886c4e0012d196900071fee180041011d2a..."} 
[2026-08-22 13:44:59] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02886c4e0012d196900071fee180041011d2a..."} 
[2026-08-22 13:44:59] local.INFO: Packet analysis {"connection_id":160058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02886"} 
[2026-08-22 13:44:59] local.INFO: Extracted packet for processing {"connection_id":160058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02886"} 
[2026-08-22 13:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570891520001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:44: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-22 13:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787386316000,"timestamp_ms":1787386316000,"timestamp_seconds":1787386316,"priority":1,"record_length":96,"hex_timestamp":"000001a02886c4e0"} 
[2026-08-22 13:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:44: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-22 13:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 13:44:59] 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-22 13:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570891520001,"66":12917,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570891520001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:44:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:44:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570891520001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":160058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:44:59] local.INFO: GPS data processed {"connection_id":160058,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:44:59] local.INFO: Acknowledgment sent {"connection_id":160058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:45:26] local.INFO: TCP Data received {"connection_id":160983,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:45:26] local.INFO: Processing buffer {"connection_id":160983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:45:26] local.INFO: Packet analysis {"connection_id":160983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:45:26] local.INFO: Extracted packet for processing {"connection_id":160983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:45:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570859264001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:45: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-22 13:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787386470000,"timestamp_ms":1787386470000,"timestamp_seconds":1787386470,"priority":1,"record_length":96,"hex_timestamp":"000001a028891e70"} 
[2026-08-22 13: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-22 13:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:45: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-22 13:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570859264001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570859264001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:45:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:45:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570859264001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":160983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:45:26] local.INFO: GPS data processed {"connection_id":160983,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:45:26] local.INFO: Acknowledgment sent {"connection_id":160983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:45:30] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0288716e8012d196900071fee180041011d2a..."} 
[2026-08-22 13:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288716e8012d196900071fee180041011d2a..."} 
[2026-08-22 13:45:30] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288716e8012d196900071fee180041011d2a..."} 
[2026-08-22 13:45:30] local.INFO: Packet analysis {"connection_id":160058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02887"} 
[2026-08-22 13:45:30] local.INFO: Extracted packet for processing {"connection_id":160058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02887"} 
[2026-08-22 13:45:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570896896001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:45: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-22 13:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787386337000,"timestamp_ms":1787386337000,"timestamp_seconds":1787386337,"priority":1,"record_length":96,"hex_timestamp":"000001a0288716e8"} 
[2026-08-22 13:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 13:45:30] 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-22 13:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570896896001,"66":12722,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570896896001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:45:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:45:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570896896001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":160058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:45:30] local.INFO: GPS data processed {"connection_id":160058,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:45:30] local.INFO: Acknowledgment sent {"connection_id":160058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:45:49] local.INFO: TCP Data received {"connection_id":162406,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:45:49] local.INFO: Processing buffer {"connection_id":162406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:45:49] local.INFO: IMEI packet received {"connection_id":162406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":162406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:45:52] local.INFO: TCP Data received {"connection_id":159824,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:45:52] local.INFO: Processing buffer {"connection_id":159824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:45:52] local.INFO: IMEI packet received {"connection_id":159824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":159824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:45:54] local.INFO: TCP Data received {"connection_id":162406,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:45:54] local.INFO: Processing buffer {"connection_id":162406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:45:54] local.INFO: IMEI packet received {"connection_id":162406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":162406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:45:55] local.INFO: TCP Data received {"connection_id":162406,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:45:55] local.INFO: Processing buffer {"connection_id":162406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:45:55] local.INFO: Packet analysis {"connection_id":162406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:45:55] local.INFO: Extracted packet for processing {"connection_id":162406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570859264001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:45: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-22 13:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787386470000,"timestamp_ms":1787386470000,"timestamp_seconds":1787386470,"priority":1,"record_length":96,"hex_timestamp":"000001a028891e70"} 
[2026-08-22 13: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-22 13:45: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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:45: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-22 13: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-22 13: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-22 13:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:45:55] 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-22 13:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570859264001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570859264001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:45:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:45:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570859264001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":162406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:45:55] local.INFO: GPS data processed {"connection_id":162406,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:45:55] local.INFO: Acknowledgment sent {"connection_id":162406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:45:58] local.INFO: TCP Data received {"connection_id":159824,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:45:58] local.INFO: Processing buffer {"connection_id":159824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:45:58] local.INFO: IMEI packet received {"connection_id":159824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":159824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:45:59] local.INFO: TCP Data received {"connection_id":159824,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0288768f0012d196900071fee180041011d2b..."} 
[2026-08-22 13:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288768f0012d196900071fee180041011d2b..."} 
[2026-08-22 13:45:59] local.INFO: Processing buffer {"connection_id":159824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288768f0012d196900071fee180041011d2b..."} 
[2026-08-22 13:45:59] local.INFO: Packet analysis {"connection_id":159824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02887"} 
[2026-08-22 13:45:59] local.INFO: Extracted packet for processing {"connection_id":159824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02887"} 
[2026-08-22 13:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570902272001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:45: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-22 13:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787386358000,"timestamp_ms":1787386358000,"timestamp_seconds":1787386358,"priority":1,"record_length":96,"hex_timestamp":"000001a0288768f0"} 
[2026-08-22 13: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-22 13:45: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-22 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 13:45:59] 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-22 13: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-22 13: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-22 13:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570902272001,"66":12885,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570902272001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:45:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570902272001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":159824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:45:59] local.INFO: GPS data processed {"connection_id":159824,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:45:59] local.INFO: Acknowledgment sent {"connection_id":159824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:46:26] local.INFO: TCP Data received {"connection_id":162406,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:46:26] local.INFO: Processing buffer {"connection_id":162406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:46:26] local.INFO: Packet analysis {"connection_id":162406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:46:26] local.INFO: Extracted packet for processing {"connection_id":162406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:46:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570859264001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:46: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-22 13:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787386470000,"timestamp_ms":1787386470000,"timestamp_seconds":1787386470,"priority":1,"record_length":96,"hex_timestamp":"000001a028891e70"} 
[2026-08-22 13: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-22 13:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:46: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-22 13:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570859264001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570859264001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:46:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:46:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570859264001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":162406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:46:26] local.INFO: GPS data processed {"connection_id":162406,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:46:26] local.INFO: Acknowledgment sent {"connection_id":162406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:46:30] local.INFO: TCP Data received {"connection_id":159824,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02887baf8012d196900071fee180041011d2c..."} 
[2026-08-22 13:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02887baf8012d196900071fee180041011d2c..."} 
[2026-08-22 13:46:30] local.INFO: Processing buffer {"connection_id":159824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02887baf8012d196900071fee180041011d2c..."} 
[2026-08-22 13:46:30] local.INFO: Packet analysis {"connection_id":159824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02887"} 
[2026-08-22 13:46:30] local.INFO: Extracted packet for processing {"connection_id":159824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02887"} 
[2026-08-22 13:46:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570907648001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:46: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-22 13:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787386379000,"timestamp_ms":1787386379000,"timestamp_seconds":1787386379,"priority":1,"record_length":96,"hex_timestamp":"000001a02887baf8"} 
[2026-08-22 13: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-22 13:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 13:46:30] 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-22 13: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-22 13: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-22 13:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570907648001,"66":12863,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570907648001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:46:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:46:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570907648001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":159824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:46:30] local.INFO: GPS data processed {"connection_id":159824,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:46:30] local.INFO: Acknowledgment sent {"connection_id":159824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:46:49] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:46:49] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:46:49] local.INFO: IMEI packet received {"connection_id":160059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":160059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:46:52] local.INFO: TCP Data received {"connection_id":160984,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:46:52] local.INFO: Processing buffer {"connection_id":160984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:46:52] local.INFO: IMEI packet received {"connection_id":160984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":160984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:46:54] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:46:54] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:46:54] local.INFO: IMEI packet received {"connection_id":160059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":160059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:46:55] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:46:55] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:46:55] local.INFO: Packet analysis {"connection_id":160059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:46:55] local.INFO: Extracted packet for processing {"connection_id":160059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:46:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570859264001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:46: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-22 13:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787386470000,"timestamp_ms":1787386470000,"timestamp_seconds":1787386470,"priority":1,"record_length":96,"hex_timestamp":"000001a028891e70"} 
[2026-08-22 13: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-22 13: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-22 13: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-22 13: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-22 13: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-22 13: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-22 13:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:46: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-22 13:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570859264001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570859264001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:46:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:46:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570859264001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":160059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:46:55] local.INFO: GPS data processed {"connection_id":160059,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:46:55] local.INFO: Acknowledgment sent {"connection_id":160059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:46:58] local.INFO: TCP Data received {"connection_id":160984,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:46:58] local.INFO: Processing buffer {"connection_id":160984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:46:58] local.INFO: IMEI packet received {"connection_id":160984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":160984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:46:59] local.INFO: TCP Data received {"connection_id":160984,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028880d00012d196900071fee180041011d2d..."} 
[2026-08-22 13:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028880d00012d196900071fee180041011d2d..."} 
[2026-08-22 13:46:59] local.INFO: Processing buffer {"connection_id":160984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028880d00012d196900071fee180041011d2d..."} 
[2026-08-22 13:46:59] local.INFO: Packet analysis {"connection_id":160984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02888"} 
[2026-08-22 13:46:59] local.INFO: Extracted packet for processing {"connection_id":160984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02888"} 
[2026-08-22 13:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570913024001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:46: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-22 13:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787386400000,"timestamp_ms":1787386400000,"timestamp_seconds":1787386400,"priority":1,"record_length":96,"hex_timestamp":"000001a028880d00"} 
[2026-08-22 13: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-22 13:46: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-22 13: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 13:46:59] 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-22 13: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-22 13: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-22 13:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570913024001,"66":12863,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570913024001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:46:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570913024001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":160984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:46:59] local.INFO: GPS data processed {"connection_id":160984,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:46:59] local.INFO: Acknowledgment sent {"connection_id":160984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:47:26] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:47:26] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:47:26] local.INFO: Packet analysis {"connection_id":160059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:47:26] local.INFO: Extracted packet for processing {"connection_id":160059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:47:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570859264001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:47: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-22 13:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787386470000,"timestamp_ms":1787386470000,"timestamp_seconds":1787386470,"priority":1,"record_length":96,"hex_timestamp":"000001a028891e70"} 
[2026-08-22 13: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-22 13:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:47: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-22 13:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570859264001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570859264001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:47:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570859264001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":160059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:47:26] local.INFO: GPS data processed {"connection_id":160059,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:47:26] local.INFO: Acknowledgment sent {"connection_id":160059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:47:29] local.INFO: TCP Data received {"connection_id":160984,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028885f08012d196900071fee180041011d2d..."} 
[2026-08-22 13:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028885f08012d196900071fee180041011d2d..."} 
[2026-08-22 13:47:29] local.INFO: Processing buffer {"connection_id":160984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028885f08012d196900071fee180041011d2d..."} 
[2026-08-22 13:47:29] local.INFO: Packet analysis {"connection_id":160984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02888"} 
[2026-08-22 13:47:29] local.INFO: Extracted packet for processing {"connection_id":160984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02888"} 
[2026-08-22 13:47:29] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570918400001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787386421000,"timestamp_ms":1787386421000,"timestamp_seconds":1787386421,"priority":1,"record_length":96,"hex_timestamp":"000001a028885f08"} 
[2026-08-22 13: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-22 13:47:29] 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-22 13: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 13:47:29] 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-22 13: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-22 13: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-22 13:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570918400001,"66":12852,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570918400001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:47:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570918400001,"power":12852,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":160984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:47:29] local.INFO: GPS data processed {"connection_id":160984,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:47:29] local.INFO: Acknowledgment sent {"connection_id":160984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:47:49] local.INFO: TCP Data received {"connection_id":162407,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:47:49] local.INFO: Processing buffer {"connection_id":162407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:47:49] local.INFO: IMEI packet received {"connection_id":162407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":162407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:47:52] local.INFO: TCP Data received {"connection_id":162408,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:47:52] local.INFO: Processing buffer {"connection_id":162408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:47:52] local.INFO: IMEI packet received {"connection_id":162408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":162408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:47:54] local.INFO: TCP Data received {"connection_id":162407,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:47:54] local.INFO: Processing buffer {"connection_id":162407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:47:54] local.INFO: IMEI packet received {"connection_id":162407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":162407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:47:55] local.INFO: TCP Data received {"connection_id":162407,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:47:55] local.INFO: Processing buffer {"connection_id":162407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:47:55] local.INFO: Packet analysis {"connection_id":162407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:47:55] local.INFO: Extracted packet for processing {"connection_id":162407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570859264001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:47: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-22 13:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787386470000,"timestamp_ms":1787386470000,"timestamp_seconds":1787386470,"priority":1,"record_length":96,"hex_timestamp":"000001a028891e70"} 
[2026-08-22 13:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13: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-22 13:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13: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-22 13:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:47:55] 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-22 13:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570859264001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570859264001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:47:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:47:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570859264001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":162407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:47:55] local.INFO: GPS data processed {"connection_id":162407,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:47:55] local.INFO: Acknowledgment sent {"connection_id":162407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:47:58] local.INFO: TCP Data received {"connection_id":162408,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:47:58] local.INFO: Processing buffer {"connection_id":162408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:47:58] local.INFO: IMEI packet received {"connection_id":162408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":162408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:47:59] local.INFO: TCP Data received {"connection_id":162408,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02888b110012d196900071fee180041011d2d..."} 
[2026-08-22 13:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02888b110012d196900071fee180041011d2d..."} 
[2026-08-22 13:47:59] local.INFO: Processing buffer {"connection_id":162408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02888b110012d196900071fee180041011d2d..."} 
[2026-08-22 13:47:59] local.INFO: Packet analysis {"connection_id":162408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02888"} 
[2026-08-22 13:47:59] local.INFO: Extracted packet for processing {"connection_id":162408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02888"} 
[2026-08-22 13:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570923776001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:47: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-22 13:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787386442000,"timestamp_ms":1787386442000,"timestamp_seconds":1787386442,"priority":1,"record_length":96,"hex_timestamp":"000001a02888b110"} 
[2026-08-22 13: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-22 13:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 13:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570923776001,"66":12798,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570923776001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:47:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570923776001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":162408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:47:59] local.INFO: GPS data processed {"connection_id":162408,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:47:59] local.INFO: Acknowledgment sent {"connection_id":162408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:48:26] local.INFO: TCP Data received {"connection_id":162407,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:48:26] local.INFO: Processing buffer {"connection_id":162407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:48:26] local.INFO: Packet analysis {"connection_id":162407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:48:26] local.INFO: Extracted packet for processing {"connection_id":162407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:48:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570859264001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:48: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-22 13:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787386470000,"timestamp_ms":1787386470000,"timestamp_seconds":1787386470,"priority":1,"record_length":96,"hex_timestamp":"000001a028891e70"} 
[2026-08-22 13:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:48:26] 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-22 13:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570859264001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570859264001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:48:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:48:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570859264001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":162407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:48:26] local.INFO: GPS data processed {"connection_id":162407,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:48:26] local.INFO: Acknowledgment sent {"connection_id":162407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:48:30] local.INFO: TCP Data received {"connection_id":162408,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028890318012d196900071fee180041011d2c..."} 
[2026-08-22 13:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028890318012d196900071fee180041011d2c..."} 
[2026-08-22 13:48:30] local.INFO: Processing buffer {"connection_id":162408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028890318012d196900071fee180041011d2c..."} 
[2026-08-22 13:48:30] local.INFO: Packet analysis {"connection_id":162408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:48:30] local.INFO: Extracted packet for processing {"connection_id":162408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:48:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570929152001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:48: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-22 13:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787386463000,"timestamp_ms":1787386463000,"timestamp_seconds":1787386463,"priority":1,"record_length":96,"hex_timestamp":"000001a028890318"} 
[2026-08-22 13: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-22 13:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 13:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570929152001,"66":12798,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570929152001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:48:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570929152001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":162408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:48:30] local.INFO: GPS data processed {"connection_id":162408,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:48:30] local.INFO: Acknowledgment sent {"connection_id":162408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:48:49] local.INFO: TCP Data received {"connection_id":160985,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:48:49] local.INFO: Processing buffer {"connection_id":160985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:48:49] local.INFO: IMEI packet received {"connection_id":160985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":160985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:48:52] local.INFO: TCP Data received {"connection_id":162409,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:48:52] local.INFO: Processing buffer {"connection_id":162409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:48:52] local.INFO: IMEI packet received {"connection_id":162409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":162409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:48:54] local.INFO: TCP Data received {"connection_id":160985,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:48:54] local.INFO: Processing buffer {"connection_id":160985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:48:54] local.INFO: IMEI packet received {"connection_id":160985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":160985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:48:55] local.INFO: TCP Data received {"connection_id":160985,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:48:55] local.INFO: Processing buffer {"connection_id":160985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:48:55] local.INFO: Packet analysis {"connection_id":160985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:48:55] local.INFO: Extracted packet for processing {"connection_id":160985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:48:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570859264001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:48: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-22 13:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787386470000,"timestamp_ms":1787386470000,"timestamp_seconds":1787386470,"priority":1,"record_length":96,"hex_timestamp":"000001a028891e70"} 
[2026-08-22 13:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:48: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-22 13:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13: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-22 13:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:48:55] 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-22 13:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570859264001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570859264001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:48:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:48:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570859264001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":160985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:48:55] local.INFO: GPS data processed {"connection_id":160985,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:48:55] local.INFO: Acknowledgment sent {"connection_id":160985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:48:58] local.INFO: TCP Data received {"connection_id":162409,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:48:58] local.INFO: Processing buffer {"connection_id":162409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:48:58] local.INFO: IMEI packet received {"connection_id":162409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":162409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:48:59] local.INFO: TCP Data received {"connection_id":162409,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028895520012d196900071fee180041011d2d..."} 
[2026-08-22 13:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028895520012d196900071fee180041011d2d..."} 
[2026-08-22 13:48:59] local.INFO: Processing buffer {"connection_id":162409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028895520012d196900071fee180041011d2d..."} 
[2026-08-22 13:48:59] local.INFO: Packet analysis {"connection_id":162409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:48:59] local.INFO: Extracted packet for processing {"connection_id":162409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:48:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570934528001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:48: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-22 13:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787386484000,"timestamp_ms":1787386484000,"timestamp_seconds":1787386484,"priority":1,"record_length":96,"hex_timestamp":"000001a028895520"} 
[2026-08-22 13: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-22 13:48: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-22 13: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 13:48:59] 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-22 13: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-22 13: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-22 13:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570934528001,"66":12841,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570934528001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:48:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:48:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570934528001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":162409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:48:59] local.INFO: GPS data processed {"connection_id":162409,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:48:59] local.INFO: Acknowledgment sent {"connection_id":162409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:49:26] local.INFO: TCP Data received {"connection_id":160985,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:49:26] local.INFO: Processing buffer {"connection_id":160985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:49:26] local.INFO: Packet analysis {"connection_id":160985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:49:26] local.INFO: Extracted packet for processing {"connection_id":160985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:49:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570859264001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:49: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-22 13:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787386470000,"timestamp_ms":1787386470000,"timestamp_seconds":1787386470,"priority":1,"record_length":96,"hex_timestamp":"000001a028891e70"} 
[2026-08-22 13:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:49:26] 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-22 13:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570859264001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570859264001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:49:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:49:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570859264001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":160985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:49:26] local.INFO: GPS data processed {"connection_id":160985,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:49:26] local.INFO: Acknowledgment sent {"connection_id":160985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:49:29] local.INFO: TCP Data received {"connection_id":162409,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02889a728012d196900071fee180041011d2d..."} 
[2026-08-22 13:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02889a728012d196900071fee180041011d2d..."} 
[2026-08-22 13:49:29] local.INFO: Processing buffer {"connection_id":162409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02889a728012d196900071fee180041011d2d..."} 
[2026-08-22 13:49:29] local.INFO: Packet analysis {"connection_id":162409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:49:29] local.INFO: Extracted packet for processing {"connection_id":162409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570939904001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787386505000,"timestamp_ms":1787386505000,"timestamp_seconds":1787386505,"priority":1,"record_length":96,"hex_timestamp":"000001a02889a728"} 
[2026-08-22 13:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:49:29] 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-22 13:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 13:49:29] 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-22 13:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570939904001,"66":12798,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570939904001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:49:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570939904001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":162409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:49:30] local.INFO: GPS data processed {"connection_id":162409,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:49:30] local.INFO: Acknowledgment sent {"connection_id":162409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:49:52] local.INFO: TCP Data received {"connection_id":159826,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:49:52] local.INFO: Processing buffer {"connection_id":159826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:49:52] local.INFO: IMEI packet received {"connection_id":159826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":159826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:49:54] local.INFO: TCP Data received {"connection_id":159825,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:49:54] local.INFO: Processing buffer {"connection_id":159825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:49:54] local.INFO: IMEI packet received {"connection_id":159825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":159825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:49:55] local.INFO: TCP Data received {"connection_id":159825,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:49:55] local.INFO: Processing buffer {"connection_id":159825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028891e70012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:49:55] local.INFO: Packet analysis {"connection_id":159825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:49:55] local.INFO: Extracted packet for processing {"connection_id":159825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:49:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570859264001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:49: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-22 13:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787386470000,"timestamp_ms":1787386470000,"timestamp_seconds":1787386470,"priority":1,"record_length":96,"hex_timestamp":"000001a028891e70"} 
[2026-08-22 13: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-22 13:49: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-22 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:49: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-22 13: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-22 13: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-22 13:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:49:55] 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-22 13:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570859264001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570859264001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:49:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:49:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570859264001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":159825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:49:55] local.INFO: GPS data processed {"connection_id":159825,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:49:55] local.INFO: Acknowledgment sent {"connection_id":159825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:49:55] local.INFO: TCP Data received {"connection_id":159826,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:49:55] local.INFO: Processing buffer {"connection_id":159826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:49:55] local.INFO: IMEI packet received {"connection_id":159826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":159826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:49:58] local.INFO: TCP Data received {"connection_id":159826,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:49:58] local.INFO: Processing buffer {"connection_id":159826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:49:58] local.INFO: IMEI packet received {"connection_id":159826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":159826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:49:59] local.INFO: TCP Data received {"connection_id":159826,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02889f930012d196900071fee180041011d2d..."} 
[2026-08-22 13:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02889f930012d196900071fee180041011d2d..."} 
[2026-08-22 13:49:59] local.INFO: Processing buffer {"connection_id":159826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02889f930012d196900071fee180041011d2d..."} 
[2026-08-22 13:49:59] local.INFO: Packet analysis {"connection_id":159826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:49:59] local.INFO: Extracted packet for processing {"connection_id":159826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02889"} 
[2026-08-22 13:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570945280001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:49: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-22 13:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787386526000,"timestamp_ms":1787386526000,"timestamp_seconds":1787386526,"priority":1,"record_length":96,"hex_timestamp":"000001a02889f930"} 
[2026-08-22 13: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-22 13:49: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-22 13: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 13:49:59] 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-22 13: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-22 13: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-22 13:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570945280001,"66":12798,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570945280001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:49:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:49:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570945280001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":159826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:49:59] local.INFO: GPS data processed {"connection_id":159826,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:49:59] local.INFO: Acknowledgment sent {"connection_id":159826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:50:25] local.INFO: TCP Data received {"connection_id":159825,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:50:25] local.INFO: Processing buffer {"connection_id":159825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:50:25] local.INFO: Packet analysis {"connection_id":159825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:50:25] local.INFO: Extracted packet for processing {"connection_id":159825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:50:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570936320001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:50: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-22 13:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787386771000,"timestamp_ms":1787386771000,"timestamp_seconds":1787386771,"priority":1,"record_length":96,"hex_timestamp":"000001a0288db638"} 
[2026-08-22 13: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-22 13:50: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-22 13: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:50: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-22 13: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-22 13: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-22 13:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:50: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-22 13:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570936320001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570936320001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:50:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570936320001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":159825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:50:25] local.INFO: GPS data processed {"connection_id":159825,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:50:25] local.INFO: Acknowledgment sent {"connection_id":159825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:50:30] local.INFO: TCP Data received {"connection_id":159826,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0288a4b38012d196900071fee180041011d2e..."} 
[2026-08-22 13:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288a4b38012d196900071fee180041011d2e..."} 
[2026-08-22 13:50:30] local.INFO: Processing buffer {"connection_id":159826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288a4b38012d196900071fee180041011d2e..."} 
[2026-08-22 13:50:30] local.INFO: Packet analysis {"connection_id":159826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288a"} 
[2026-08-22 13:50:30] local.INFO: Extracted packet for processing {"connection_id":159826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288a"} 
[2026-08-22 13:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570950656001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:50: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-22 13:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787386547000,"timestamp_ms":1787386547000,"timestamp_seconds":1787386547,"priority":1,"record_length":96,"hex_timestamp":"000001a0288a4b38"} 
[2026-08-22 13: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-22 13:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 13:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570950656001,"66":12776,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570950656001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:50:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:50:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570950656001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":159826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:50:30] local.INFO: GPS data processed {"connection_id":159826,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:50:30] local.INFO: Acknowledgment sent {"connection_id":159826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:50:42] local.INFO: TCP Data received {"connection_id":162410,"ip":"117.225.168.158","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162410,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:50:42] local.INFO: Processing buffer {"connection_id":162410,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:50:42] local.INFO: IMEI packet received {"connection_id":162410,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-22 13:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":162410,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:50:47] local.INFO: TCP Data received {"connection_id":162410,"ip":"117.225.168.158","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162410,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:50:47] local.INFO: Processing buffer {"connection_id":162410,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-22 13:50:47] local.INFO: IMEI packet received {"connection_id":162410,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-22 13:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":162410,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:50:49] local.INFO: TCP Data received {"connection_id":162410,"ip":"117.225.168.158","data_length":795,"data_hex":"000000000000030f8e0a000001a02887bee0012d0b0bc00702a468003a00cf25..."} 
[2026-08-22 13:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02887bee0012d0b0bc00702a468003a00cf25..."} 
[2026-08-22 13:50:49] local.INFO: Processing buffer {"connection_id":162410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02887bee0012d0b0bc00702a468003a00cf25..."} 
[2026-08-22 13:50:49] local.INFO: Packet analysis {"connection_id":162410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02887"} 
[2026-08-22 13:50:49] local.INFO: Extracted packet for processing {"connection_id":162410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02887"} 
[2026-08-22 13:50:49] local.INFO: GPS Element Parsed {"raw_longitude":755698624,"raw_latitude":117613672,"longitude_deg":75.5698624,"latitude_deg":11.7613672,"altitude":58,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2d0b0bc0","hex_latitude":"0702a468","is_valid_coordinates":true} 
[2026-08-22 13:50:49] 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-22 13:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570913024001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489752260476928,"note":"Value kept but may cause issues"} 
[2026-08-22 13:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795940895502657536,"note":"Value kept but may cause issues"} 
[2026-08-22 13:50:49] 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-22 13:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787386380000,"timestamp_ms":1787386380000,"timestamp_seconds":1787386380,"priority":1,"record_length":96,"hex_timestamp":"000001a02887bee0"} 
[2026-08-22 13: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-22 13:50:49] 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-22 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 13:50:49] 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-22 13: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-22 13: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-22 13:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162410,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162410,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-22 13:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.168.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-22 13:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-22 13:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570913024001,"66":14374,"18":206,"94":10240,"24":0,"16":29489752260476928,"45":795940895502657536},"client_ip":"117.225.168.158","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-08-22 13:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-22 13:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-22 13:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570913024001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:50:49] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-22 13:50:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-22 13:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29489752260476928,"km_value":29489752260476.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":795940895502657536,"description":"Unknown IO ID 45"} 
[2026-08-22 13:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570913024001,"power":14374,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":795940895502657536}} 
[2026-08-22 13:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":162410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681351,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:50:49] local.INFO: GPS data processed {"connection_id":162410,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:50:49] local.INFO: Acknowledgment sent {"connection_id":162410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:50:52] local.INFO: TCP Data received {"connection_id":160986,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:50:52] local.INFO: Processing buffer {"connection_id":160986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:50:52] local.INFO: IMEI packet received {"connection_id":160986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":160986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:50:54] local.INFO: TCP Data received {"connection_id":160986,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:50:54] local.INFO: Processing buffer {"connection_id":160986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:50:54] local.INFO: IMEI packet received {"connection_id":160986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":160986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:50:54] local.INFO: TCP Data received {"connection_id":160986,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:50:54] local.INFO: Processing buffer {"connection_id":160986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:50:54] local.INFO: Packet analysis {"connection_id":160986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:50:54] local.INFO: Extracted packet for processing {"connection_id":160986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:50:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570936320001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:50:54] 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-22 13:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787386771000,"timestamp_ms":1787386771000,"timestamp_seconds":1787386771,"priority":1,"record_length":96,"hex_timestamp":"000001a0288db638"} 
[2026-08-22 13:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:50:54] 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-22 13:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:50:54] 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-22 13:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570936320001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570936320001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:50:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:50:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570936320001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":160986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:50:54] local.INFO: GPS data processed {"connection_id":160986,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:50:54] local.INFO: Acknowledgment sent {"connection_id":160986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:50:58] local.INFO: TCP Data received {"connection_id":160987,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:50:58] local.INFO: Processing buffer {"connection_id":160987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:50:58] local.INFO: IMEI packet received {"connection_id":160987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":160987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:50:58] local.INFO: TCP Data received {"connection_id":160987,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:50:58] local.INFO: Processing buffer {"connection_id":160987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:50:58] local.INFO: IMEI packet received {"connection_id":160987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":160987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:50:59] local.INFO: TCP Data received {"connection_id":160986,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:50:59] local.INFO: Processing buffer {"connection_id":160986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:50:59] local.INFO: Packet analysis {"connection_id":160986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:50:59] local.INFO: Extracted packet for processing {"connection_id":160986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570936320001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:50:59] 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-22 13:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787386771000,"timestamp_ms":1787386771000,"timestamp_seconds":1787386771,"priority":1,"record_length":96,"hex_timestamp":"000001a0288db638"} 
[2026-08-22 13: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-22 13: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-22 13: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:50:59] 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-22 13: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-22 13: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-22 13:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:50: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-22 13:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570936320001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570936320001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:50:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:50:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570936320001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":160986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:50:59] local.INFO: GPS data processed {"connection_id":160986,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:50:59] local.INFO: Acknowledgment sent {"connection_id":160986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:51:03] local.INFO: TCP Data received {"connection_id":160987,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:51:03] local.INFO: Processing buffer {"connection_id":160987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:51:03] local.INFO: IMEI packet received {"connection_id":160987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":160987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:51:04] local.INFO: TCP Data received {"connection_id":160987,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0288dd190012d196900071fee180041011d2a..."} 
[2026-08-22 13:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288dd190012d196900071fee180041011d2a..."} 
[2026-08-22 13:51:04] local.INFO: Processing buffer {"connection_id":160987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288dd190012d196900071fee180041011d2a..."} 
[2026-08-22 13:51:04] local.INFO: Packet analysis {"connection_id":160987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:51:04] local.INFO: Extracted packet for processing {"connection_id":160987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:51:04] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571009792001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787386778000,"timestamp_ms":1787386778000,"timestamp_seconds":1787386778,"priority":1,"record_length":96,"hex_timestamp":"000001a0288dd190"} 
[2026-08-22 13:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:51: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-22 13:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 13:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571009792001,"66":12645,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571009792001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:51:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:51:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571009792001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":160987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:51:04] local.INFO: GPS data processed {"connection_id":160987,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:51:04] local.INFO: Acknowledgment sent {"connection_id":160987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:51:08] local.INFO: TCP Data received {"connection_id":160987,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0288e2398012d196900071fee180041011d2b..."} 
[2026-08-22 13:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288e2398012d196900071fee180041011d2b..."} 
[2026-08-22 13:51:08] local.INFO: Processing buffer {"connection_id":160987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288e2398012d196900071fee180041011d2b..."} 
[2026-08-22 13:51:08] local.INFO: Packet analysis {"connection_id":160987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288e"} 
[2026-08-22 13:51:08] local.INFO: Extracted packet for processing {"connection_id":160987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288e"} 
[2026-08-22 13:51:08] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571015168001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787386799000,"timestamp_ms":1787386799000,"timestamp_seconds":1787386799,"priority":1,"record_length":96,"hex_timestamp":"000001a0288e2398"} 
[2026-08-22 13:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:51: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-22 13:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-22 13:51:08] 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-22 13:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571015168001,"66":12613,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571015168001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:51:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:51:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571015168001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":160987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:51:08] local.INFO: GPS data processed {"connection_id":160987,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:51:08] local.INFO: Acknowledgment sent {"connection_id":160987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:51:30] local.INFO: TCP Data received {"connection_id":160986,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:51:30] local.INFO: Processing buffer {"connection_id":160986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:51:30] local.INFO: Packet analysis {"connection_id":160986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:51:30] local.INFO: Extracted packet for processing {"connection_id":160986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570936320001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:51:30] 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-22 13:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787386771000,"timestamp_ms":1787386771000,"timestamp_seconds":1787386771,"priority":1,"record_length":96,"hex_timestamp":"000001a0288db638"} 
[2026-08-22 13: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-22 13: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-22 13: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:51:30] 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-22 13: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-22 13: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-22 13:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:51: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-22 13:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570936320001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570936320001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:51:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:51:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570936320001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":160986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:51:30] local.INFO: GPS data processed {"connection_id":160986,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:51:30] local.INFO: Acknowledgment sent {"connection_id":160986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:51:49] local.INFO: TCP Data received {"connection_id":162411,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:51:49] local.INFO: Processing buffer {"connection_id":162411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:51:49] local.INFO: IMEI packet received {"connection_id":162411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":162411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:51:52] local.INFO: TCP Data received {"connection_id":162412,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:51:52] local.INFO: Processing buffer {"connection_id":162412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:51:52] local.INFO: IMEI packet received {"connection_id":162412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":162412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:51:54] local.INFO: TCP Data received {"connection_id":162411,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:51:54] local.INFO: Processing buffer {"connection_id":162411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:51:54] local.INFO: IMEI packet received {"connection_id":162411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":162411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:51:55] local.INFO: TCP Data received {"connection_id":162411,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:51:55] local.INFO: Processing buffer {"connection_id":162411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:51:55] local.INFO: Packet analysis {"connection_id":162411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:51:55] local.INFO: Extracted packet for processing {"connection_id":162411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570936320001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:51: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-22 13:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787386771000,"timestamp_ms":1787386771000,"timestamp_seconds":1787386771,"priority":1,"record_length":96,"hex_timestamp":"000001a0288db638"} 
[2026-08-22 13: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-22 13:51: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-22 13: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:51: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-22 13: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-22 13: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-22 13:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:51:55] 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-22 13:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570936320001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570936320001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:51:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:51:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570936320001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":162411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:51:55] local.INFO: GPS data processed {"connection_id":162411,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:51:55] local.INFO: Acknowledgment sent {"connection_id":162411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:51:58] local.INFO: TCP Data received {"connection_id":162412,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:51:58] local.INFO: Processing buffer {"connection_id":162412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:51:58] local.INFO: IMEI packet received {"connection_id":162412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":162412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:51:59] local.INFO: TCP Data received {"connection_id":162412,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0288e75a0012d196900071fee180041011d2c..."} 
[2026-08-22 13:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288e75a0012d196900071fee180041011d2c..."} 
[2026-08-22 13:51:59] local.INFO: Processing buffer {"connection_id":162412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288e75a0012d196900071fee180041011d2c..."} 
[2026-08-22 13:51:59] local.INFO: Packet analysis {"connection_id":162412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288e"} 
[2026-08-22 13:51:59] local.INFO: Extracted packet for processing {"connection_id":162412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288e"} 
[2026-08-22 13:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 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-22 13:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571020544001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:51: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-22 13:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787386820000,"timestamp_ms":1787386820000,"timestamp_seconds":1787386820,"priority":1,"record_length":96,"hex_timestamp":"000001a0288e75a0"} 
[2026-08-22 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-22 13:51: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-22 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-22 13:51:59] 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-22 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-22 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-22 13:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571020544001,"66":12645,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571020544001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:51:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:51:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571020544001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":162412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:51:59] local.INFO: GPS data processed {"connection_id":162412,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:51:59] local.INFO: Acknowledgment sent {"connection_id":162412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:52:26] local.INFO: TCP Data received {"connection_id":162411,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:52:26] local.INFO: Processing buffer {"connection_id":162411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:52:26] local.INFO: Packet analysis {"connection_id":162411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:52:26] local.INFO: Extracted packet for processing {"connection_id":162411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:52:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570936320001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:52: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-22 13:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787386771000,"timestamp_ms":1787386771000,"timestamp_seconds":1787386771,"priority":1,"record_length":96,"hex_timestamp":"000001a0288db638"} 
[2026-08-22 13:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:52:26] 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-22 13:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:52: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-22 13:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570936320001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570936320001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:52:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570936320001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":162411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:52:26] local.INFO: GPS data processed {"connection_id":162411,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:52:26] local.INFO: Acknowledgment sent {"connection_id":162411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:52:30] local.INFO: TCP Data received {"connection_id":162412,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0288ec7a8012d196900071fee180041011d2d..."} 
[2026-08-22 13:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288ec7a8012d196900071fee180041011d2d..."} 
[2026-08-22 13:52:30] local.INFO: Processing buffer {"connection_id":162412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288ec7a8012d196900071fee180041011d2d..."} 
[2026-08-22 13:52:30] local.INFO: Packet analysis {"connection_id":162412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288e"} 
[2026-08-22 13:52:30] local.INFO: Extracted packet for processing {"connection_id":162412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288e"} 
[2026-08-22 13:52:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571025920001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:52: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-22 13:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787386841000,"timestamp_ms":1787386841000,"timestamp_seconds":1787386841,"priority":1,"record_length":96,"hex_timestamp":"000001a0288ec7a8"} 
[2026-08-22 13: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-22 13:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-22 13:52:30] 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-22 13: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-22 13: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-22 13:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571025920001,"66":12602,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571025920001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:52:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:52:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571025920001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":162412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:52:30] local.INFO: GPS data processed {"connection_id":162412,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:52:30] local.INFO: Acknowledgment sent {"connection_id":162412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:52:49] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:52:49] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:52:49] local.INFO: IMEI packet received {"connection_id":160060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":160060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:52:52] local.INFO: TCP Data received {"connection_id":160988,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:52:52] local.INFO: Processing buffer {"connection_id":160988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:52:52] local.INFO: IMEI packet received {"connection_id":160988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":160988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:52:54] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:52:54] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:52:54] local.INFO: IMEI packet received {"connection_id":160060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":160060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:52:55] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:52:55] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:52:55] local.INFO: Packet analysis {"connection_id":160060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:52:55] local.INFO: Extracted packet for processing {"connection_id":160060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:52:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570936320001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:52: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-22 13:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787386771000,"timestamp_ms":1787386771000,"timestamp_seconds":1787386771,"priority":1,"record_length":96,"hex_timestamp":"000001a0288db638"} 
[2026-08-22 13:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:52: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-22 13:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:52: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-22 13:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:52:55] 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-22 13:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570936320001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570936320001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:52:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:52:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570936320001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":160060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:52:55] local.INFO: GPS data processed {"connection_id":160060,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:52:55] local.INFO: Acknowledgment sent {"connection_id":160060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:52:58] local.INFO: TCP Data received {"connection_id":160988,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:52:58] local.INFO: Processing buffer {"connection_id":160988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:52:58] local.INFO: IMEI packet received {"connection_id":160988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":160988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:52:59] local.INFO: TCP Data received {"connection_id":160988,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0288f19b0012d196900071fee180041011d2b..."} 
[2026-08-22 13:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288f19b0012d196900071fee180041011d2b..."} 
[2026-08-22 13:52:59] local.INFO: Processing buffer {"connection_id":160988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288f19b0012d196900071fee180041011d2b..."} 
[2026-08-22 13:52:59] local.INFO: Packet analysis {"connection_id":160988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288f"} 
[2026-08-22 13:52:59] local.INFO: Extracted packet for processing {"connection_id":160988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288f"} 
[2026-08-22 13:52:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571031296001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:52: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-22 13:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787386862000,"timestamp_ms":1787386862000,"timestamp_seconds":1787386862,"priority":1,"record_length":96,"hex_timestamp":"000001a0288f19b0"} 
[2026-08-22 13: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-22 13:52: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-22 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-22 13:52:59] 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-22 13: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-22 13: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-22 13:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571031296001,"66":12537,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571031296001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:52:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:52:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571031296001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":160988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:52:59] local.INFO: GPS data processed {"connection_id":160988,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:52:59] local.INFO: Acknowledgment sent {"connection_id":160988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:53:26] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:53:26] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:53:26] local.INFO: Packet analysis {"connection_id":160060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:53:26] local.INFO: Extracted packet for processing {"connection_id":160060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570936320001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:53: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-22 13:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787386771000,"timestamp_ms":1787386771000,"timestamp_seconds":1787386771,"priority":1,"record_length":96,"hex_timestamp":"000001a0288db638"} 
[2026-08-22 13: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-22 13:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:53:26] 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-22 13: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-22 13: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-22 13:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:53:26] 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-22 13:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570936320001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570936320001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:53:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570936320001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":160060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:53:26] local.INFO: GPS data processed {"connection_id":160060,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:53:26] local.INFO: Acknowledgment sent {"connection_id":160060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:53:30] local.INFO: TCP Data received {"connection_id":160988,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0288f6bb8012d196900071fee180041011d2c..."} 
[2026-08-22 13:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288f6bb8012d196900071fee180041011d2c..."} 
[2026-08-22 13:53:30] local.INFO: Processing buffer {"connection_id":160988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288f6bb8012d196900071fee180041011d2c..."} 
[2026-08-22 13:53:30] local.INFO: Packet analysis {"connection_id":160988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288f"} 
[2026-08-22 13:53:30] local.INFO: Extracted packet for processing {"connection_id":160988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288f"} 
[2026-08-22 13:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 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-22 13:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571036672001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:53: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-22 13:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787386883000,"timestamp_ms":1787386883000,"timestamp_seconds":1787386883,"priority":1,"record_length":96,"hex_timestamp":"000001a0288f6bb8"} 
[2026-08-22 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-22 13:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 13:53:30] 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-22 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-22 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-22 13:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571036672001,"66":12537,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571036672001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:53:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:53:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571036672001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":160988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:53:30] local.INFO: GPS data processed {"connection_id":160988,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:53:30] local.INFO: Acknowledgment sent {"connection_id":160988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:53:52] local.INFO: TCP Data received {"connection_id":160062,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:53:52] local.INFO: Processing buffer {"connection_id":160062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:53:52] local.INFO: IMEI packet received {"connection_id":160062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":160062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:53:54] local.INFO: TCP Data received {"connection_id":160061,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:53:54] local.INFO: Processing buffer {"connection_id":160061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:53:54] local.INFO: IMEI packet received {"connection_id":160061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":160061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:53:58] local.INFO: TCP Data received {"connection_id":160062,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:53:58] local.INFO: Processing buffer {"connection_id":160062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:53:58] local.INFO: IMEI packet received {"connection_id":160062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":160062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:53:59] local.INFO: TCP Data received {"connection_id":160062,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0288fbdc0012d196900071fee180041011d2a..."} 
[2026-08-22 13:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288fbdc0012d196900071fee180041011d2a..."} 
[2026-08-22 13:53:59] local.INFO: Processing buffer {"connection_id":160062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288fbdc0012d196900071fee180041011d2a..."} 
[2026-08-22 13:53:59] local.INFO: Packet analysis {"connection_id":160062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288f"} 
[2026-08-22 13:53:59] local.INFO: Extracted packet for processing {"connection_id":160062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288f"} 
[2026-08-22 13:53:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571042048001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:53: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-22 13:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787386904000,"timestamp_ms":1787386904000,"timestamp_seconds":1787386904,"priority":1,"record_length":96,"hex_timestamp":"000001a0288fbdc0"} 
[2026-08-22 13: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-22 13:53: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-22 13: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 13:53:59] 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-22 13: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-22 13: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-22 13:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571042048001,"66":12580,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571042048001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:53:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:53:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571042048001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":160062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:53:59] local.INFO: GPS data processed {"connection_id":160062,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:53:59] local.INFO: Acknowledgment sent {"connection_id":160062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:53:59] local.INFO: TCP Data received {"connection_id":160061,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:53:59] local.INFO: Processing buffer {"connection_id":160061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:53:59] local.INFO: IMEI packet received {"connection_id":160061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":160061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:54:00] local.INFO: TCP Data received {"connection_id":160061,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:54:00] local.INFO: Processing buffer {"connection_id":160061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:54:00] local.INFO: Packet analysis {"connection_id":160061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:54:00] local.INFO: Extracted packet for processing {"connection_id":160061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570936320001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:54:00] 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-22 13:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787386771000,"timestamp_ms":1787386771000,"timestamp_seconds":1787386771,"priority":1,"record_length":96,"hex_timestamp":"000001a0288db638"} 
[2026-08-22 13: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-22 13:54: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-22 13:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:54:00] 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-22 13: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-22 13: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-22 13:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:54: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-22 13:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570936320001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570936320001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570936320001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":160061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:54:00] local.INFO: GPS data processed {"connection_id":160061,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:54:00] local.INFO: Acknowledgment sent {"connection_id":160061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:54:04] local.INFO: TCP Data received {"connection_id":160061,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:54:04] local.INFO: Processing buffer {"connection_id":160061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:54:04] local.INFO: Packet analysis {"connection_id":160061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:54:04] local.INFO: Extracted packet for processing {"connection_id":160061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570936320001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:54:04] 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-22 13:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787386771000,"timestamp_ms":1787386771000,"timestamp_seconds":1787386771,"priority":1,"record_length":96,"hex_timestamp":"000001a0288db638"} 
[2026-08-22 13:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13: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-22 13:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:54:04] 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-22 13:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:54: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-22 13:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570936320001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570936320001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:54:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570936320001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":160061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:54:04] local.INFO: GPS data processed {"connection_id":160061,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:54:04] local.INFO: Acknowledgment sent {"connection_id":160061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:54:29] local.INFO: TCP Data received {"connection_id":160062,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028900fc8012d196900071fee180041011d2b..."} 
[2026-08-22 13:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028900fc8012d196900071fee180041011d2b..."} 
[2026-08-22 13:54:29] local.INFO: Processing buffer {"connection_id":160062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028900fc8012d196900071fee180041011d2b..."} 
[2026-08-22 13:54:29] local.INFO: Packet analysis {"connection_id":160062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02890"} 
[2026-08-22 13:54:29] local.INFO: Extracted packet for processing {"connection_id":160062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02890"} 
[2026-08-22 13:54:29] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571047424001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787386925000,"timestamp_ms":1787386925000,"timestamp_seconds":1787386925,"priority":1,"record_length":96,"hex_timestamp":"000001a028900fc8"} 
[2026-08-22 13: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-22 13:54:29] 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-22 13: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-22 13:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571047424001,"66":12580,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571047424001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:54:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:54:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571047424001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":160062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:54:29] local.INFO: GPS data processed {"connection_id":160062,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:54:29] local.INFO: Acknowledgment sent {"connection_id":160062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:54:49] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:54:49] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:54:49] local.INFO: IMEI packet received {"connection_id":160063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":160063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:54:52] local.INFO: TCP Data received {"connection_id":160989,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:54:52] local.INFO: Processing buffer {"connection_id":160989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:54:52] local.INFO: IMEI packet received {"connection_id":160989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":160989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:54:54] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:54:54] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:54:54] local.INFO: IMEI packet received {"connection_id":160063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":160063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:54:55] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:54:55] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0288db638012d7fabc005afe1b8000001212c..."} 
[2026-08-22 13:54:55] local.INFO: Packet analysis {"connection_id":160063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:54:55] local.INFO: Extracted packet for processing {"connection_id":160063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0288d"} 
[2026-08-22 13:54:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457570936320001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:54: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-22 13:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787386771000,"timestamp_ms":1787386771000,"timestamp_seconds":1787386771,"priority":1,"record_length":96,"hex_timestamp":"000001a0288db638"} 
[2026-08-22 13: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-22 13:54: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-22 13: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:54: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-22 13: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-22 13: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-22 13:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:54:55] 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-22 13:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457570936320001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457570936320001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:54:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:54:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457570936320001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":160063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:54:55] local.INFO: GPS data processed {"connection_id":160063,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:54:55] local.INFO: Acknowledgment sent {"connection_id":160063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:54:58] local.INFO: TCP Data received {"connection_id":160989,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:54:58] local.INFO: Processing buffer {"connection_id":160989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:54:58] local.INFO: IMEI packet received {"connection_id":160989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":160989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:54:59] local.INFO: TCP Data received {"connection_id":160989,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289061d0012d196900071fee180041011d2c..."} 
[2026-08-22 13:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289061d0012d196900071fee180041011d2c..."} 
[2026-08-22 13:54:59] local.INFO: Processing buffer {"connection_id":160989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289061d0012d196900071fee180041011d2c..."} 
[2026-08-22 13:54:59] local.INFO: Packet analysis {"connection_id":160989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02890"} 
[2026-08-22 13:54:59] local.INFO: Extracted packet for processing {"connection_id":160989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02890"} 
[2026-08-22 13:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571052800001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:54: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-22 13:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787386946000,"timestamp_ms":1787386946000,"timestamp_seconds":1787386946,"priority":1,"record_length":96,"hex_timestamp":"000001a0289061d0"} 
[2026-08-22 13: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-22 13:54: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-22 13: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-22 13:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571052800001,"66":12558,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571052800001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:54:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:54:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571052800001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":160989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:54:59] local.INFO: GPS data processed {"connection_id":160989,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:54:59] local.INFO: Acknowledgment sent {"connection_id":160989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:55:26] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:55:26] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:55:26] local.INFO: Packet analysis {"connection_id":160063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:55:26] local.INFO: Extracted packet for processing {"connection_id":160063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:55:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571013376001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55: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-22 13:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787387072000,"timestamp_ms":1787387072000,"timestamp_seconds":1787387072,"priority":1,"record_length":96,"hex_timestamp":"000001a028924e00"} 
[2026-08-22 13: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-22 13:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:55:26] 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-22 13: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-22 13: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-22 13:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:55:26] 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-22 13:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571013376001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571013376001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:55:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571013376001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":160063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:55:26] local.INFO: GPS data processed {"connection_id":160063,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:55:26] local.INFO: Acknowledgment sent {"connection_id":160063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:55:30] local.INFO: TCP Data received {"connection_id":160989,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02890b3d8012d196900071fee180041011d2c..."} 
[2026-08-22 13:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02890b3d8012d196900071fee180041011d2c..."} 
[2026-08-22 13:55:30] local.INFO: Processing buffer {"connection_id":160989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02890b3d8012d196900071fee180041011d2c..."} 
[2026-08-22 13:55:30] local.INFO: Packet analysis {"connection_id":160989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02890"} 
[2026-08-22 13:55:30] local.INFO: Extracted packet for processing {"connection_id":160989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02890"} 
[2026-08-22 13:55:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 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-22 13:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571058176001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55: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-22 13:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787386967000,"timestamp_ms":1787386967000,"timestamp_seconds":1787386967,"priority":1,"record_length":96,"hex_timestamp":"000001a02890b3d8"} 
[2026-08-22 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-22 13:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-22 13:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744054964973080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:30] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2400825345,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994550337,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 13:55:30] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:30] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2942173184,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:30] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:30] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:30] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:30] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,175,160,15,45,238,65,43,10,66,189,42,107,1,240,249,227,40,31,4,113,205,199,105,239,49,2,51,7,120,86,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 13:55:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684057162257793024,"timestamp_seconds":4684057162257793.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 13:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571058176001,"66":12558,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571058176001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:55:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571058176001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":160989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:55:30] local.INFO: GPS data processed {"connection_id":160989,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:55:30] local.INFO: Acknowledgment sent {"connection_id":160989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:55:49] local.INFO: TCP Data received {"connection_id":160064,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:55:49] local.INFO: Processing buffer {"connection_id":160064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:55:49] local.INFO: IMEI packet received {"connection_id":160064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":160064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:55:52] local.INFO: TCP Data received {"connection_id":160990,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:55:52] local.INFO: Processing buffer {"connection_id":160990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:55:52] local.INFO: IMEI packet received {"connection_id":160990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":160990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:55:54] local.INFO: TCP Data received {"connection_id":160064,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:55:54] local.INFO: Processing buffer {"connection_id":160064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:55:54] local.INFO: IMEI packet received {"connection_id":160064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":160064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:55:55] local.INFO: TCP Data received {"connection_id":160064,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:55:55] local.INFO: Processing buffer {"connection_id":160064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:55:55] local.INFO: Packet analysis {"connection_id":160064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:55:55] local.INFO: Extracted packet for processing {"connection_id":160064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:55:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571013376001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55: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-22 13:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787387072000,"timestamp_ms":1787387072000,"timestamp_seconds":1787387072,"priority":1,"record_length":96,"hex_timestamp":"000001a028924e00"} 
[2026-08-22 13:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:55: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-22 13:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:55: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-22 13:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:55: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-22 13:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571013376001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571013376001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:55:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571013376001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":160064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:55:55] local.INFO: GPS data processed {"connection_id":160064,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:55:55] local.INFO: Acknowledgment sent {"connection_id":160064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:55:58] local.INFO: TCP Data received {"connection_id":160990,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:55:58] local.INFO: Processing buffer {"connection_id":160990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:55:58] local.INFO: IMEI packet received {"connection_id":160990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":160990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:55:58] local.INFO: TCP Data received {"connection_id":160990,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289105e0012d196900071fee180041011d2b..."} 
[2026-08-22 13:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289105e0012d196900071fee180041011d2b..."} 
[2026-08-22 13:55:59] local.INFO: Processing buffer {"connection_id":160990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289105e0012d196900071fee180041011d2b..."} 
[2026-08-22 13:55:59] local.INFO: Packet analysis {"connection_id":160990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02891"} 
[2026-08-22 13:55:59] local.INFO: Extracted packet for processing {"connection_id":160990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02891"} 
[2026-08-22 13:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571063552001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13: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-22 13:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787386988000,"timestamp_ms":1787386988000,"timestamp_seconds":1787386988,"priority":1,"record_length":96,"hex_timestamp":"000001a0289105e0"} 
[2026-08-22 13: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-22 13:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-22 13:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744054964973080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:59] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2406201345,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994550337,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 13:55:59] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:59] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579384,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:59] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2942173184,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:59] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:59] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:59] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 13:55:59] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,175,160,97,45,238,65,44,10,66,15,43,189,1,240,36,227,40,31,4,113,205,25,105,239,48,2,51,7,120,86,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 13:55:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684057162257793024,"timestamp_seconds":4684057162257793.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 13: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-22 13:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571063552001,"66":12548,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571063552001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:55:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571063552001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":160990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:55:59] local.INFO: GPS data processed {"connection_id":160990,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:55:59] local.INFO: Acknowledgment sent {"connection_id":160990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:56:26] local.INFO: TCP Data received {"connection_id":160064,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:56:26] local.INFO: Processing buffer {"connection_id":160064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:56:26] local.INFO: Packet analysis {"connection_id":160064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:56:26] local.INFO: Extracted packet for processing {"connection_id":160064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:56:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571013376001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56: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-22 13:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787387072000,"timestamp_ms":1787387072000,"timestamp_seconds":1787387072,"priority":1,"record_length":96,"hex_timestamp":"000001a028924e00"} 
[2026-08-22 13: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-22 13:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:56:26] 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-22 13: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-22 13: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-22 13:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:56: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-22 13:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571013376001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 13:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571013376001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:56:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571013376001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":160064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:56:26] local.INFO: GPS data processed {"connection_id":160064,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:56:26] local.INFO: Acknowledgment sent {"connection_id":160064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:56:30] local.INFO: TCP Data received {"connection_id":160990,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289157e8012d196900071fee180041011d2d..."} 
[2026-08-22 13:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289157e8012d196900071fee180041011d2d..."} 
[2026-08-22 13:56:30] local.INFO: Processing buffer {"connection_id":160990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289157e8012d196900071fee180041011d2d..."} 
[2026-08-22 13:56:30] local.INFO: Packet analysis {"connection_id":160990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02891"} 
[2026-08-22 13:56:30] local.INFO: Extracted packet for processing {"connection_id":160990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02891"} 
[2026-08-22 13:56:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571068928001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56: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-22 13:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787387009000,"timestamp_ms":1787387009000,"timestamp_seconds":1787387009,"priority":1,"record_length":96,"hex_timestamp":"000001a0289157e8"} 
[2026-08-22 13: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-22 13:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 13:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184196309197,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:30] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2411577345,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994550337,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 13:56:30] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:30] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579384,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:30] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2942173184,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:30] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:30] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,175,160,179,45,238,65,44,10,66,97,15,1,240,36,227,40,31,4,113,205,107,105,239,48,2,51,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 13:56:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684057157962825728,"timestamp_seconds":4684057157962826.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 13: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-22 13:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571068928001,"66":12558,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571068928001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:56:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:56:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571068928001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":160990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:56:30] local.INFO: GPS data processed {"connection_id":160990,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:56:30] local.INFO: Acknowledgment sent {"connection_id":160990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:56:52] local.INFO: TCP Data received {"connection_id":159828,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:56:52] local.INFO: Processing buffer {"connection_id":159828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:56:52] local.INFO: IMEI packet received {"connection_id":159828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":159828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:56:54] local.INFO: TCP Data received {"connection_id":159827,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:56:54] local.INFO: Processing buffer {"connection_id":159827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:56:54] local.INFO: IMEI packet received {"connection_id":159827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":159827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:56:55] local.INFO: TCP Data received {"connection_id":159828,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:56:55] local.INFO: Processing buffer {"connection_id":159828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:56:55] local.INFO: IMEI packet received {"connection_id":159828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":159828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:56:58] local.INFO: TCP Data received {"connection_id":159828,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:56:58] local.INFO: Processing buffer {"connection_id":159828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:56:58] local.INFO: IMEI packet received {"connection_id":159828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":159828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:56:59] local.INFO: TCP Data received {"connection_id":159828,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02891a9f0012d196900071fee180041011d2c..."} 
[2026-08-22 13:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02891a9f0012d196900071fee180041011d2c..."} 
[2026-08-22 13:56:59] local.INFO: Processing buffer {"connection_id":159828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02891a9f0012d196900071fee180041011d2c..."} 
[2026-08-22 13:56:59] local.INFO: Packet analysis {"connection_id":159828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02891"} 
[2026-08-22 13:56:59] local.INFO: Extracted packet for processing {"connection_id":159828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02891"} 
[2026-08-22 13:56:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 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-22 13:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571074304001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56: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-22 13:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787387030000,"timestamp_ms":1787387030000,"timestamp_seconds":1787387030,"priority":1,"record_length":96,"hex_timestamp":"000001a02891a9f0"} 
[2026-08-22 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-22 13:56: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-22 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-22 13:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744054964973080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:59] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2416953345,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994550337,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 13:56:59] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:59] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2942173184,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:59] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:59] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:59] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 13:56:59] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,175,160,5,45,238,65,43,10,66,179,44,97,1,240,14,227,40,31,4,113,205,189,105,42,239,49,2,51,7,120,86,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 13:56:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684057166552760320,"timestamp_seconds":4684057166552760.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 13:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571074304001,"66":12548,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571074304001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:56:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:56:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571074304001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":159828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:56:59] local.INFO: GPS data processed {"connection_id":159828,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:56:59] local.INFO: Acknowledgment sent {"connection_id":159828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:56:59] local.INFO: TCP Data received {"connection_id":159827,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:56:59] local.INFO: Processing buffer {"connection_id":159827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:56:59] local.INFO: IMEI packet received {"connection_id":159827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":159827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:57:00] local.INFO: TCP Data received {"connection_id":159827,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:57:00] local.INFO: Processing buffer {"connection_id":159827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:57:00] local.INFO: Packet analysis {"connection_id":159827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:57:00] local.INFO: Extracted packet for processing {"connection_id":159827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:57:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571013376001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:00] 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-22 13:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787387072000,"timestamp_ms":1787387072000,"timestamp_seconds":1787387072,"priority":1,"record_length":96,"hex_timestamp":"000001a028924e00"} 
[2026-08-22 13: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-22 13:57: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-22 13:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:57:00] 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-22 13: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-22 13: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-22 13:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13: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-22 13:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571013376001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571013376001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:57:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:57:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571013376001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":159827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:57:00] local.INFO: GPS data processed {"connection_id":159827,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:57:00] local.INFO: Acknowledgment sent {"connection_id":159827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:57:04] local.INFO: TCP Data received {"connection_id":159827,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:57:04] local.INFO: Processing buffer {"connection_id":159827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:57:04] local.INFO: Packet analysis {"connection_id":159827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:57:04] local.INFO: Extracted packet for processing {"connection_id":159827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571013376001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:04] 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-22 13:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787387072000,"timestamp_ms":1787387072000,"timestamp_seconds":1787387072,"priority":1,"record_length":96,"hex_timestamp":"000001a028924e00"} 
[2026-08-22 13: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-22 13:57: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-22 13: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:57:04] 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-22 13: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-22 13: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-22 13:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13: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-22 13:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571013376001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571013376001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:57:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:57:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571013376001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":159827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:57:04] local.INFO: GPS data processed {"connection_id":159827,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:57:04] local.INFO: Acknowledgment sent {"connection_id":159827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:57:30] local.INFO: TCP Data received {"connection_id":159828,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02891fbf8012d196900071fee180041011d2b..."} 
[2026-08-22 13:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02891fbf8012d196900071fee180041011d2b..."} 
[2026-08-22 13:57:30] local.INFO: Processing buffer {"connection_id":159828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02891fbf8012d196900071fee180041011d2b..."} 
[2026-08-22 13:57:30] local.INFO: Packet analysis {"connection_id":159828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02891"} 
[2026-08-22 13:57:30] local.INFO: Extracted packet for processing {"connection_id":159828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02891"} 
[2026-08-22 13:57:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571079680001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57: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-22 13:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787387051000,"timestamp_ms":1787387051000,"timestamp_seconds":1787387051,"priority":1,"record_length":96,"hex_timestamp":"000001a02891fbf8"} 
[2026-08-22 13: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-22 13:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 13:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:30] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2422329345,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994550337,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-22 13:57:30] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:30] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2942173184,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:30] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:30] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,175,160,87,45,238,65,10,66,5,43,179,1,240,14,227,40,31,4,113,205,15,105,239,49,2,51,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-22 13:57:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684057162257793024,"timestamp_seconds":4684057162257793.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 13: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-22 13:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571079680001,"66":12526,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571079680001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:57:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:57:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571079680001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":159828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:57:30] local.INFO: GPS data processed {"connection_id":159828,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:57:30] local.INFO: Acknowledgment sent {"connection_id":159828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:57:49] local.INFO: TCP Data received {"connection_id":162413,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:57:49] local.INFO: Processing buffer {"connection_id":162413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:57:49] local.INFO: IMEI packet received {"connection_id":162413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":162413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:57:54] local.INFO: TCP Data received {"connection_id":162413,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:57:54] local.INFO: Processing buffer {"connection_id":162413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:57:54] local.INFO: IMEI packet received {"connection_id":162413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":162413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:57:55] local.INFO: TCP Data received {"connection_id":162413,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:57:55] local.INFO: Processing buffer {"connection_id":162413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:57:55] local.INFO: Packet analysis {"connection_id":162413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:57:55] local.INFO: Extracted packet for processing {"connection_id":162413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 13:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571013376001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:57: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-22 13:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787387072000,"timestamp_ms":1787387072000,"timestamp_seconds":1787387072,"priority":1,"record_length":96,"hex_timestamp":"000001a028924e00"} 
[2026-08-22 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-22 13:57: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-22 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:57: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-22 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-22 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-22 13:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:57:55] 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-22 13:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571013376001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571013376001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:57:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:57:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571013376001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":162413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:57:55] local.INFO: GPS data processed {"connection_id":162413,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:57:55] local.INFO: Acknowledgment sent {"connection_id":162413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:57:58] local.INFO: TCP Data received {"connection_id":159829,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:57:58] local.INFO: Processing buffer {"connection_id":159829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:57:58] local.INFO: IMEI packet received {"connection_id":159829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":159829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:57:58] local.INFO: TCP Data received {"connection_id":159829,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:57:58] local.INFO: Processing buffer {"connection_id":159829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:57:58] local.INFO: IMEI packet received {"connection_id":159829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":159829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:58:03] local.INFO: TCP Data received {"connection_id":159829,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:58:03] local.INFO: Processing buffer {"connection_id":159829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:58:03] local.INFO: IMEI packet received {"connection_id":159829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":159829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:58:03] local.INFO: TCP Data received {"connection_id":159829,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028924e00012d196900071fee180041011d2b..."} 
[2026-08-22 13:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028924e00012d196900071fee180041011d2b..."} 
[2026-08-22 13:58:03] local.INFO: Processing buffer {"connection_id":159829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028924e00012d196900071fee180041011d2b..."} 
[2026-08-22 13:58:03] local.INFO: Packet analysis {"connection_id":159829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:58:03] local.INFO: Extracted packet for processing {"connection_id":159829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571085056001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787387072000,"timestamp_ms":1787387072000,"timestamp_seconds":1787387072,"priority":1,"record_length":96,"hex_timestamp":"000001a028924e00"} 
[2026-08-22 13: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-22 13:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 13:58:03] 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-22 13: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-22 13: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-22 13:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571085056001,"66":12526,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571085056001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:58:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571085056001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":159829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:58:04] local.INFO: GPS data processed {"connection_id":159829,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:58:04] local.INFO: Acknowledgment sent {"connection_id":159829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:58:08] local.INFO: TCP Data received {"connection_id":159829,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02892a008012d196900071fee180041011d2c..."} 
[2026-08-22 13:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02892a008012d196900071fee180041011d2c..."} 
[2026-08-22 13:58:08] local.INFO: Processing buffer {"connection_id":159829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02892a008012d196900071fee180041011d2c..."} 
[2026-08-22 13:58:08] local.INFO: Packet analysis {"connection_id":159829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:58:08] local.INFO: Extracted packet for processing {"connection_id":159829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571090432001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787387093000,"timestamp_ms":1787387093000,"timestamp_seconds":1787387093,"priority":1,"record_length":96,"hex_timestamp":"000001a02892a008"} 
[2026-08-22 13: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-22 13:58: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-22 13: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 13:58:08] 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-22 13: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-22 13: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-22 13:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571090432001,"66":12526,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571090432001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:58:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:58:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571090432001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":159829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:58:08] local.INFO: GPS data processed {"connection_id":159829,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:58:08] local.INFO: Acknowledgment sent {"connection_id":159829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:58:26] local.INFO: TCP Data received {"connection_id":162413,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:58:26] local.INFO: Processing buffer {"connection_id":162413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:58:26] local.INFO: Packet analysis {"connection_id":162413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:58:26] local.INFO: Extracted packet for processing {"connection_id":162413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:58:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571013376001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:58: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-22 13:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787387072000,"timestamp_ms":1787387072000,"timestamp_seconds":1787387072,"priority":1,"record_length":96,"hex_timestamp":"000001a028924e00"} 
[2026-08-22 13: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-22 13:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:58:26] 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-22 13: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-22 13: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-22 13:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:58: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-22 13:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571013376001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571013376001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:58:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571013376001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":162413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:58:26] local.INFO: GPS data processed {"connection_id":162413,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:58:26] local.INFO: Acknowledgment sent {"connection_id":162413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:58:49] local.INFO: TCP Data received {"connection_id":159830,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:58:49] local.INFO: Processing buffer {"connection_id":159830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:58:49] local.INFO: IMEI packet received {"connection_id":159830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":159830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:58:52] local.INFO: TCP Data received {"connection_id":162414,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:58:52] local.INFO: Processing buffer {"connection_id":162414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:58:52] local.INFO: IMEI packet received {"connection_id":162414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":162414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:58:54] local.INFO: TCP Data received {"connection_id":159830,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:58:54] local.INFO: Processing buffer {"connection_id":159830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:58:54] local.INFO: IMEI packet received {"connection_id":159830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":159830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:58:55] local.INFO: TCP Data received {"connection_id":159830,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:58:55] local.INFO: Processing buffer {"connection_id":159830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:58:55] local.INFO: Packet analysis {"connection_id":159830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:58:55] local.INFO: Extracted packet for processing {"connection_id":159830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571013376001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:58: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-22 13:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787387072000,"timestamp_ms":1787387072000,"timestamp_seconds":1787387072,"priority":1,"record_length":96,"hex_timestamp":"000001a028924e00"} 
[2026-08-22 13: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-22 13: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-22 13: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:58: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-22 13: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-22 13: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-22 13:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:58:55] 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-22 13:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571013376001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571013376001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:58:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:58:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571013376001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":159830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:58:55] local.INFO: GPS data processed {"connection_id":159830,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:58:55] local.INFO: Acknowledgment sent {"connection_id":159830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:58:58] local.INFO: TCP Data received {"connection_id":162414,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:58:58] local.INFO: Processing buffer {"connection_id":162414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:58:58] local.INFO: IMEI packet received {"connection_id":162414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":162414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:58:58] local.INFO: TCP Data received {"connection_id":162414,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02892f210012d196900071fee180041011d2d..."} 
[2026-08-22 13:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02892f210012d196900071fee180041011d2d..."} 
[2026-08-22 13:58:59] local.INFO: Processing buffer {"connection_id":162414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02892f210012d196900071fee180041011d2d..."} 
[2026-08-22 13:58:59] local.INFO: Packet analysis {"connection_id":162414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:58:59] local.INFO: Extracted packet for processing {"connection_id":162414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571095808001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:58: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-22 13:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787387114000,"timestamp_ms":1787387114000,"timestamp_seconds":1787387114,"priority":1,"record_length":96,"hex_timestamp":"000001a02892f210"} 
[2026-08-22 13: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-22 13:58: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-22 13: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 13:58:59] 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-22 13: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-22 13: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-22 13:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571095808001,"66":12385,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571095808001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:58:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:58:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571095808001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":162414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:58:59] local.INFO: GPS data processed {"connection_id":162414,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:58:59] local.INFO: Acknowledgment sent {"connection_id":162414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:59:26] local.INFO: TCP Data received {"connection_id":159830,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:59:26] local.INFO: Processing buffer {"connection_id":159830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 13:59:26] local.INFO: Packet analysis {"connection_id":159830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:59:26] local.INFO: Extracted packet for processing {"connection_id":159830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 13:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 13:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571013376001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 13:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 13:59: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-22 13:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787387072000,"timestamp_ms":1787387072000,"timestamp_seconds":1787387072,"priority":1,"record_length":96,"hex_timestamp":"000001a028924e00"} 
[2026-08-22 13:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 13:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 13:59:26] 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-22 13:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 13:59:26] 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-22 13:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 13:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 13:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571013376001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 13:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 13:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 13:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571013376001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:59:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 13:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 13:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 13:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571013376001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 13:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":159830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:59:26] local.INFO: GPS data processed {"connection_id":159830,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:59:26] local.INFO: Acknowledgment sent {"connection_id":159830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:59:30] local.INFO: TCP Data received {"connection_id":162414,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028934418012d196900071fee180041011d2c..."} 
[2026-08-22 13:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028934418012d196900071fee180041011d2c..."} 
[2026-08-22 13:59:30] local.INFO: Processing buffer {"connection_id":162414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028934418012d196900071fee180041011d2c..."} 
[2026-08-22 13:59:30] local.INFO: Packet analysis {"connection_id":162414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02893"} 
[2026-08-22 13:59:30] local.INFO: Extracted packet for processing {"connection_id":162414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02893"} 
[2026-08-22 13:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13: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-22 13:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571101184001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:59: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-22 13:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787387135000,"timestamp_ms":1787387135000,"timestamp_seconds":1787387135,"priority":1,"record_length":96,"hex_timestamp":"000001a028934418"} 
[2026-08-22 13: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-22 13:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 13:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 13: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-22 13: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-22 13:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571101184001,"66":12526,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571101184001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:59:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:59:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571101184001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":162414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:59:30] local.INFO: GPS data processed {"connection_id":162414,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:59:30] local.INFO: Acknowledgment sent {"connection_id":162414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 13:59:49] local.INFO: TCP Data received {"connection_id":162415,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:59:49] local.INFO: Processing buffer {"connection_id":162415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:59:49] local.INFO: IMEI packet received {"connection_id":162415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 13:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":162415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:59:53] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:59:53] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:59:53] local.INFO: IMEI packet received {"connection_id":160065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 13:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":160065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 13:59:54] local.INFO: TCP Data received {"connection_id":162415,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:59:54] local.INFO: Processing buffer {"connection_id":162415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 13:59:54] local.INFO: IMEI packet received {"connection_id":162415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 13:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":162415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:59:58] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:59:58] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 13:59:58] local.INFO: IMEI packet received {"connection_id":160065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 13:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":160065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 13:59:58] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028939620012d196900071fee180041011d2b..."} 
[2026-08-22 13:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028939620012d196900071fee180041011d2b..."} 
[2026-08-22 13:59:58] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028939620012d196900071fee180041011d2b..."} 
[2026-08-22 13:59:58] local.INFO: Packet analysis {"connection_id":160065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02893"} 
[2026-08-22 13:59:58] local.INFO: Extracted packet for processing {"connection_id":160065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02893"} 
[2026-08-22 13:59:58] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 13:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 13:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571106560001,"note":"Value kept but may cause issues"} 
[2026-08-22 13:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 13:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 13:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 13:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787387156000,"timestamp_ms":1787387156000,"timestamp_seconds":1787387156,"priority":1,"record_length":96,"hex_timestamp":"000001a028939620"} 
[2026-08-22 13:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 13:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 13:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 13:59:58] 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-22 13:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 13:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 13:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 13:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 13:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 13:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 13:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 13:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 13:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571106560001,"66":12385,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 13:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 13:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 13:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571106560001,"description":"Unknown IO ID 0"} 
[2026-08-22 13:59:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 13:59:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 13:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 13:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 13:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571106560001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 13:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":160065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 13:59:59] local.INFO: GPS data processed {"connection_id":160065,"processed":1,"errors":0,"total":1} 
[2026-08-22 13:59:59] local.INFO: Acknowledgment sent {"connection_id":160065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:00:04] local.INFO: TCP Data received {"connection_id":162415,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 14:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 14:00:04] local.INFO: Processing buffer {"connection_id":162415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028924e00012d7fabc005afe1b8000001212b..."} 
[2026-08-22 14:00:04] local.INFO: Packet analysis {"connection_id":162415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 14:00:04] local.INFO: Extracted packet for processing {"connection_id":162415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02892"} 
[2026-08-22 14:00:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571013376001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:00:04] 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-22 14:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787387072000,"timestamp_ms":1787387072000,"timestamp_seconds":1787387072,"priority":1,"record_length":96,"hex_timestamp":"000001a028924e00"} 
[2026-08-22 14:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:00: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-22 14:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 14:00:04] 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-22 14:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:00: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-22 14:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571013376001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571013376001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:00:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:00:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571013376001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":162415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:00:04] local.INFO: GPS data processed {"connection_id":162415,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:00:04] local.INFO: Acknowledgment sent {"connection_id":162415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:00:30] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02893e828012d196900071fee180041011d2d..."} 
[2026-08-22 14:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02893e828012d196900071fee180041011d2d..."} 
[2026-08-22 14:00:30] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02893e828012d196900071fee180041011d2d..."} 
[2026-08-22 14:00:30] local.INFO: Packet analysis {"connection_id":160065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02893"} 
[2026-08-22 14:00:30] local.INFO: Extracted packet for processing {"connection_id":160065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02893"} 
[2026-08-22 14:00:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571111936001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:00: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-22 14:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787387177000,"timestamp_ms":1787387177000,"timestamp_seconds":1787387177,"priority":1,"record_length":96,"hex_timestamp":"000001a02893e828"} 
[2026-08-22 14: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-22 14:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 14:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571111936001,"66":12428,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571111936001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:00:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571111936001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":160065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:00:30] local.INFO: GPS data processed {"connection_id":160065,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:00:30] local.INFO: Acknowledgment sent {"connection_id":160065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:00:49] local.INFO: TCP Data received {"connection_id":159831,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:00:49] local.INFO: Processing buffer {"connection_id":159831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:00:49] local.INFO: IMEI packet received {"connection_id":159831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":159831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:00:52] local.INFO: TCP Data received {"connection_id":159832,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:00:52] local.INFO: Processing buffer {"connection_id":159832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:00:52] local.INFO: IMEI packet received {"connection_id":159832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":159832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:00:54] local.INFO: TCP Data received {"connection_id":159831,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:00:54] local.INFO: Processing buffer {"connection_id":159831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:00:54] local.INFO: IMEI packet received {"connection_id":159831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":159831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:00:55] local.INFO: TCP Data received {"connection_id":159831,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:00:55] local.INFO: Processing buffer {"connection_id":159831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:00:55] local.INFO: Packet analysis {"connection_id":159831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:00:55] local.INFO: Extracted packet for processing {"connection_id":159831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571090432001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:00: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-22 14:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787387373000,"timestamp_ms":1787387373000,"timestamp_seconds":1787387373,"priority":1,"record_length":96,"hex_timestamp":"000001a02896e5c8"} 
[2026-08-22 14:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:00: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-22 14:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:00: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-22 14:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:00:55] 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-22 14:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571090432001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571090432001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571090432001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":159831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:00:55] local.INFO: GPS data processed {"connection_id":159831,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:00:55] local.INFO: Acknowledgment sent {"connection_id":159831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:00:58] local.INFO: TCP Data received {"connection_id":159832,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:00:58] local.INFO: Processing buffer {"connection_id":159832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:00:58] local.INFO: IMEI packet received {"connection_id":159832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":159832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:00:59] local.INFO: TCP Data received {"connection_id":159832,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028943a30012d196900071fee180041011d2d..."} 
[2026-08-22 14:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028943a30012d196900071fee180041011d2d..."} 
[2026-08-22 14:00:59] local.INFO: Processing buffer {"connection_id":159832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028943a30012d196900071fee180041011d2d..."} 
[2026-08-22 14:00:59] local.INFO: Packet analysis {"connection_id":159832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02894"} 
[2026-08-22 14:00:59] local.INFO: Extracted packet for processing {"connection_id":159832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02894"} 
[2026-08-22 14:00:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571117312001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:00: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-22 14:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787387198000,"timestamp_ms":1787387198000,"timestamp_seconds":1787387198,"priority":1,"record_length":96,"hex_timestamp":"000001a028943a30"} 
[2026-08-22 14: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-22 14:00: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-22 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 14:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571117312001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571117312001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:00:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:00:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571117312001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":159832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:00:59] local.INFO: GPS data processed {"connection_id":159832,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:00:59] local.INFO: Acknowledgment sent {"connection_id":159832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:01:26] local.INFO: TCP Data received {"connection_id":159831,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:01:26] local.INFO: Processing buffer {"connection_id":159831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:01:26] local.INFO: Packet analysis {"connection_id":159831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:01:26] local.INFO: Extracted packet for processing {"connection_id":159831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571090432001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:01: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-22 14:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787387373000,"timestamp_ms":1787387373000,"timestamp_seconds":1787387373,"priority":1,"record_length":96,"hex_timestamp":"000001a02896e5c8"} 
[2026-08-22 14:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 14:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:01:26] 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-22 14:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:01:26] 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-22 14:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571090432001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571090432001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:01:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571090432001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":159831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:01:26] local.INFO: GPS data processed {"connection_id":159831,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:01:26] local.INFO: Acknowledgment sent {"connection_id":159831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:01:29] local.INFO: TCP Data received {"connection_id":159832,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028948c38012d196900071fee180041011d2e..."} 
[2026-08-22 14:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028948c38012d196900071fee180041011d2e..."} 
[2026-08-22 14:01:29] local.INFO: Processing buffer {"connection_id":159832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028948c38012d196900071fee180041011d2e..."} 
[2026-08-22 14:01:29] local.INFO: Packet analysis {"connection_id":159832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02894"} 
[2026-08-22 14:01:29] local.INFO: Extracted packet for processing {"connection_id":159832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02894"} 
[2026-08-22 14:01:29] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571122688001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787387219000,"timestamp_ms":1787387219000,"timestamp_seconds":1787387219,"priority":1,"record_length":96,"hex_timestamp":"000001a028948c38"} 
[2026-08-22 14: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-22 14:01:29] 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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571122688001,"66":12504,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571122688001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:01:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:01:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571122688001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":159832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:01:29] local.INFO: GPS data processed {"connection_id":159832,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:01:29] local.INFO: Acknowledgment sent {"connection_id":159832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:01:52] local.INFO: TCP Data received {"connection_id":162417,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:01:52] local.INFO: Processing buffer {"connection_id":162417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:01:52] local.INFO: IMEI packet received {"connection_id":162417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":162417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:01:54] local.INFO: TCP Data received {"connection_id":162416,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:01:54] local.INFO: Processing buffer {"connection_id":162416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:01:54] local.INFO: IMEI packet received {"connection_id":162416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":162416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:01:58] local.INFO: TCP Data received {"connection_id":162417,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:01:58] local.INFO: Processing buffer {"connection_id":162417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:01:58] local.INFO: IMEI packet received {"connection_id":162417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":162417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:01:58] local.INFO: TCP Data received {"connection_id":162417,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02894de40012d196900071fee180041011d2d..."} 
[2026-08-22 14:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02894de40012d196900071fee180041011d2d..."} 
[2026-08-22 14:01:58] local.INFO: Processing buffer {"connection_id":162417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02894de40012d196900071fee180041011d2d..."} 
[2026-08-22 14:01:58] local.INFO: Packet analysis {"connection_id":162417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02894"} 
[2026-08-22 14:01:58] local.INFO: Extracted packet for processing {"connection_id":162417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02894"} 
[2026-08-22 14:01:58] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571128064001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787387240000,"timestamp_ms":1787387240000,"timestamp_seconds":1787387240,"priority":1,"record_length":96,"hex_timestamp":"000001a02894de40"} 
[2026-08-22 14: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-22 14:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 14:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571128064001,"66":12504,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571128064001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:01:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:01:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571128064001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":162417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:01:59] local.INFO: GPS data processed {"connection_id":162417,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:01:59] local.INFO: Acknowledgment sent {"connection_id":162417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:01:59] local.INFO: TCP Data received {"connection_id":162416,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:01:59] local.INFO: Processing buffer {"connection_id":162416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:01:59] local.INFO: IMEI packet received {"connection_id":162416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":162416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:02:00] local.INFO: TCP Data received {"connection_id":162416,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:02:00] local.INFO: Processing buffer {"connection_id":162416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:02:00] local.INFO: Packet analysis {"connection_id":162416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:02:00] local.INFO: Extracted packet for processing {"connection_id":162416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571090432001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:02:00] 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-22 14:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787387373000,"timestamp_ms":1787387373000,"timestamp_seconds":1787387373,"priority":1,"record_length":96,"hex_timestamp":"000001a02896e5c8"} 
[2026-08-22 14: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-22 14:02: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-22 14: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:02:00] 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-22 14: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-22 14: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-22 14:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:02: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-22 14:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571090432001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 14:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571090432001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:02:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:02:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571090432001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":162416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:02:00] local.INFO: GPS data processed {"connection_id":162416,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:02:00] local.INFO: Acknowledgment sent {"connection_id":162416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:02:30] local.INFO: TCP Data received {"connection_id":162417,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028953048012d196900071fee180041011d2b..."} 
[2026-08-22 14:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028953048012d196900071fee180041011d2b..."} 
[2026-08-22 14:02:30] local.INFO: Processing buffer {"connection_id":162417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028953048012d196900071fee180041011d2b..."} 
[2026-08-22 14:02:30] local.INFO: Packet analysis {"connection_id":162417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02895"} 
[2026-08-22 14:02:30] local.INFO: Extracted packet for processing {"connection_id":162417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02895"} 
[2026-08-22 14:02:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571133440001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:02: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-22 14:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787387261000,"timestamp_ms":1787387261000,"timestamp_seconds":1787387261,"priority":1,"record_length":96,"hex_timestamp":"000001a028953048"} 
[2026-08-22 14: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-22 14:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 14:02:30] 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-22 14: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-22 14: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-22 14:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571133440001,"66":12504,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571133440001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:02:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:02:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571133440001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":162417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:02:30] local.INFO: GPS data processed {"connection_id":162417,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:02:30] local.INFO: Acknowledgment sent {"connection_id":162417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:02:31] local.INFO: TCP Data received {"connection_id":162416,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:02:31] local.INFO: Processing buffer {"connection_id":162416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:02:31] local.INFO: Packet analysis {"connection_id":162416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:02:31] local.INFO: Extracted packet for processing {"connection_id":162416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:02:31] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571090432001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:02:31] 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-22 14:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787387373000,"timestamp_ms":1787387373000,"timestamp_seconds":1787387373,"priority":1,"record_length":96,"hex_timestamp":"000001a02896e5c8"} 
[2026-08-22 14: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-22 14:02: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-22 14: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:02:31] 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-22 14: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-22 14: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-22 14:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:02: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-22 14:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571090432001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 14:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571090432001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:02:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571090432001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":162416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:02:31] local.INFO: GPS data processed {"connection_id":162416,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:02:31] local.INFO: Acknowledgment sent {"connection_id":162416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:02:49] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:02:49] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:02:49] local.INFO: IMEI packet received {"connection_id":160066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":160066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:02:52] local.INFO: TCP Data received {"connection_id":160067,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:02:52] local.INFO: Processing buffer {"connection_id":160067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:02:52] local.INFO: IMEI packet received {"connection_id":160067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":160067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:02:54] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:02:54] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:02:54] local.INFO: IMEI packet received {"connection_id":160066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":160066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:02:55] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:02:55] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:02:55] local.INFO: Packet analysis {"connection_id":160066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:02:55] local.INFO: Extracted packet for processing {"connection_id":160066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571090432001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:02: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-22 14:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787387373000,"timestamp_ms":1787387373000,"timestamp_seconds":1787387373,"priority":1,"record_length":96,"hex_timestamp":"000001a02896e5c8"} 
[2026-08-22 14: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-22 14:02: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-22 14: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:02: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-22 14: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-22 14: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-22 14:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:02:55] 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-22 14:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571090432001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571090432001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:02:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:02:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571090432001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":160066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:02:55] local.INFO: GPS data processed {"connection_id":160066,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:02:55] local.INFO: Acknowledgment sent {"connection_id":160066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:02:58] local.INFO: TCP Data received {"connection_id":160067,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:02:58] local.INFO: Processing buffer {"connection_id":160067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:02:58] local.INFO: IMEI packet received {"connection_id":160067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":160067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:02:59] local.INFO: TCP Data received {"connection_id":160067,"ip":"42.109.136.1","data_length":93,"data_hex":"00000000000000518e01000001a02898b6a0012d196900071fee180041011d2b..."} 
[2026-08-22 14:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160067,"packet_length":93,"packet_hex":"00000000000000518e01000001a02898b6a0012d196900071fee180041011d2b..."} 
[2026-08-22 14:02:59] local.INFO: Processing buffer {"connection_id":160067,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a02898b6a0012d196900071fee180041011d2b..."} 
[2026-08-22 14:02:59] local.INFO: Packet analysis {"connection_id":160067,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a02898"} 
[2026-08-22 14:02:59] local.INFO: Extracted packet for processing {"connection_id":160067,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a02898"} 
[2026-08-22 14:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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":93,"current_offset":40} 
[2026-08-22 14:02: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-22 14:02: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-22 14:02:59] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:02:59] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 14:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160067,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-22 14:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160067,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-22 14:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160067,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-22 14:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 14:02:59] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 14:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":160067,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 14:02:59] local.ERROR: GPS data processing failed {"connection_id":160067,"error":"No valid data to process"} 
[2026-08-22 14:02:59] local.INFO: Acknowledgment sent {"connection_id":160067,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 14:03:26] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:03:26] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:03:26] local.INFO: Packet analysis {"connection_id":160066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:03:26] local.INFO: Extracted packet for processing {"connection_id":160066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:03:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571090432001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:03: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-22 14:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787387373000,"timestamp_ms":1787387373000,"timestamp_seconds":1787387373,"priority":1,"record_length":96,"hex_timestamp":"000001a02896e5c8"} 
[2026-08-22 14: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-22 14:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 14: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:03:26] 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-22 14: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-22 14: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-22 14:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:03: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-22 14:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571090432001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571090432001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:03:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:03:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571090432001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":160066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:03:26] local.INFO: GPS data processed {"connection_id":160066,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:03:26] local.INFO: Acknowledgment sent {"connection_id":160066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:03:30] local.INFO: TCP Data received {"connection_id":160067,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289908a8012d196900071fee180041011d2b..."} 
[2026-08-22 14:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289908a8012d196900071fee180041011d2b..."} 
[2026-08-22 14:03:30] local.INFO: Processing buffer {"connection_id":160067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289908a8012d196900071fee180041011d2b..."} 
[2026-08-22 14:03:30] local.INFO: Packet analysis {"connection_id":160067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02899"} 
[2026-08-22 14:03:30] local.INFO: Extracted packet for processing {"connection_id":160067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02899"} 
[2026-08-22 14:03:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571197952001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:03: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-22 14:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787387513000,"timestamp_ms":1787387513000,"timestamp_seconds":1787387513,"priority":1,"record_length":96,"hex_timestamp":"000001a0289908a8"} 
[2026-08-22 14: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-22 14:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 14:03:30] 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-22 14: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-22 14: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-22 14:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571197952001,"66":12504,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571197952001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:03:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:03:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571197952001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":160067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:03:30] local.INFO: GPS data processed {"connection_id":160067,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:03:30] local.INFO: Acknowledgment sent {"connection_id":160067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:03:49] local.INFO: TCP Data received {"connection_id":160991,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:03:49] local.INFO: Processing buffer {"connection_id":160991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:03:49] local.INFO: IMEI packet received {"connection_id":160991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":160991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:03:52] local.INFO: TCP Data received {"connection_id":160992,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:03:52] local.INFO: Processing buffer {"connection_id":160992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:03:52] local.INFO: IMEI packet received {"connection_id":160992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":160992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:03:54] local.INFO: TCP Data received {"connection_id":160991,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:03:54] local.INFO: Processing buffer {"connection_id":160991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:03:54] local.INFO: IMEI packet received {"connection_id":160991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":160991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:03:55] local.INFO: TCP Data received {"connection_id":160991,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:03:55] local.INFO: Processing buffer {"connection_id":160991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:03:55] local.INFO: Packet analysis {"connection_id":160991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:03:55] local.INFO: Extracted packet for processing {"connection_id":160991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571090432001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:03: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-22 14:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787387373000,"timestamp_ms":1787387373000,"timestamp_seconds":1787387373,"priority":1,"record_length":96,"hex_timestamp":"000001a02896e5c8"} 
[2026-08-22 14:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:03: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-22 14:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:03: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-22 14:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:03:55] 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-22 14:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571090432001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571090432001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:03:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571090432001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":160991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:03:55] local.INFO: GPS data processed {"connection_id":160991,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:03:55] local.INFO: Acknowledgment sent {"connection_id":160991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:03:55] local.INFO: TCP Data received {"connection_id":160992,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:03:55] local.INFO: Processing buffer {"connection_id":160992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:03:55] local.INFO: IMEI packet received {"connection_id":160992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":160992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:03:58] local.INFO: TCP Data received {"connection_id":160992,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:03:58] local.INFO: Processing buffer {"connection_id":160992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:03:58] local.INFO: IMEI packet received {"connection_id":160992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":160992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:03:59] local.INFO: TCP Data received {"connection_id":160992,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028995ab0012d196900071fee180041011d2e..."} 
[2026-08-22 14:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028995ab0012d196900071fee180041011d2e..."} 
[2026-08-22 14:03:59] local.INFO: Processing buffer {"connection_id":160992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028995ab0012d196900071fee180041011d2e..."} 
[2026-08-22 14:03:59] local.INFO: Packet analysis {"connection_id":160992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02899"} 
[2026-08-22 14:03:59] local.INFO: Extracted packet for processing {"connection_id":160992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02899"} 
[2026-08-22 14:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571203328001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:03: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-22 14:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787387534000,"timestamp_ms":1787387534000,"timestamp_seconds":1787387534,"priority":1,"record_length":96,"hex_timestamp":"000001a028995ab0"} 
[2026-08-22 14: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-22 14:03: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-22 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 14:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571203328001,"66":12287,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571203328001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:03:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:03:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571203328001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":160992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:03:59] local.INFO: GPS data processed {"connection_id":160992,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:03:59] local.INFO: Acknowledgment sent {"connection_id":160992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:04:27] local.INFO: TCP Data received {"connection_id":160991,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:04:27] local.INFO: Processing buffer {"connection_id":160991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:04:27] local.INFO: Packet analysis {"connection_id":160991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:04:27] local.INFO: Extracted packet for processing {"connection_id":160991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:04:27] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571090432001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:04:27] 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-22 14:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787387373000,"timestamp_ms":1787387373000,"timestamp_seconds":1787387373,"priority":1,"record_length":96,"hex_timestamp":"000001a02896e5c8"} 
[2026-08-22 14:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 14:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:04:27] 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-22 14:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:04:27] 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-22 14:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571090432001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571090432001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:04:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:04:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571090432001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":160991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:04:27] local.INFO: GPS data processed {"connection_id":160991,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:04:27] local.INFO: Acknowledgment sent {"connection_id":160991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:04:30] local.INFO: TCP Data received {"connection_id":160992,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02899acb8012d196900071fee180041011d2f..."} 
[2026-08-22 14:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02899acb8012d196900071fee180041011d2f..."} 
[2026-08-22 14:04:30] local.INFO: Processing buffer {"connection_id":160992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02899acb8012d196900071fee180041011d2f..."} 
[2026-08-22 14:04:30] local.INFO: Packet analysis {"connection_id":160992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02899"} 
[2026-08-22 14:04:30] local.INFO: Extracted packet for processing {"connection_id":160992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02899"} 
[2026-08-22 14:04:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":47,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571208704001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:04: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-22 14:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787387555000,"timestamp_ms":1787387555000,"timestamp_seconds":1787387555,"priority":1,"record_length":96,"hex_timestamp":"000001a02899acb8"} 
[2026-08-22 14: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-22 14:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 14:04:30] 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-22 14: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-22 14: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-22 14:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571208704001,"66":12504,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571208704001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:04:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:04:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571208704001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":160992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:04:30] local.INFO: GPS data processed {"connection_id":160992,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:04:30] local.INFO: Acknowledgment sent {"connection_id":160992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:04:49] local.INFO: TCP Data received {"connection_id":160068,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:04:49] local.INFO: Processing buffer {"connection_id":160068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:04:49] local.INFO: IMEI packet received {"connection_id":160068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":160068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:04:54] local.INFO: TCP Data received {"connection_id":160068,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:04:54] local.INFO: Processing buffer {"connection_id":160068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:04:54] local.INFO: IMEI packet received {"connection_id":160068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":160068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:04:58] local.INFO: TCP Data received {"connection_id":162418,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:04:58] local.INFO: Processing buffer {"connection_id":162418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:04:58] local.INFO: IMEI packet received {"connection_id":162418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":162418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:04:58] local.INFO: TCP Data received {"connection_id":162418,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:04:58] local.INFO: Processing buffer {"connection_id":162418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:04:58] local.INFO: IMEI packet received {"connection_id":162418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":162418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:05:02] local.INFO: TCP Data received {"connection_id":160068,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:05:02] local.INFO: Processing buffer {"connection_id":160068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02896e5c8012d7fabc005afe1b8000001212c..."} 
[2026-08-22 14:05:02] local.INFO: Packet analysis {"connection_id":160068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:05:02] local.INFO: Extracted packet for processing {"connection_id":160068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02896"} 
[2026-08-22 14:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 14:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571090432001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:05:02] 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-22 14:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787387373000,"timestamp_ms":1787387373000,"timestamp_seconds":1787387373,"priority":1,"record_length":96,"hex_timestamp":"000001a02896e5c8"} 
[2026-08-22 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-22 14:05: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-22 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:05:02] 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-22 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-22 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-22 14:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:05:02] 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-22 14:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571090432001,"66":25615,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571090432001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:05:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571090432001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":160068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:05:02] local.INFO: GPS data processed {"connection_id":160068,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:05:02] local.INFO: Acknowledgment sent {"connection_id":160068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:05:03] local.INFO: TCP Data received {"connection_id":162418,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:05:03] local.INFO: Processing buffer {"connection_id":162418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:05:03] local.INFO: IMEI packet received {"connection_id":162418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":162418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:05:03] local.INFO: TCP Data received {"connection_id":162418,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02899fec0012d196900071fee180041011d2f..."} 
[2026-08-22 14:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02899fec0012d196900071fee180041011d2f..."} 
[2026-08-22 14:05:03] local.INFO: Processing buffer {"connection_id":162418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02899fec0012d196900071fee180041011d2f..."} 
[2026-08-22 14:05:03] local.INFO: Packet analysis {"connection_id":162418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02899"} 
[2026-08-22 14:05:03] local.INFO: Extracted packet for processing {"connection_id":162418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02899"} 
[2026-08-22 14:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":47,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571214080001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787387576000,"timestamp_ms":1787387576000,"timestamp_seconds":1787387576,"priority":1,"record_length":96,"hex_timestamp":"000001a02899fec0"} 
[2026-08-22 14: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-22 14:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 14:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571214080001,"66":12428,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571214080001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:05:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571214080001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":162418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:05:04] local.INFO: GPS data processed {"connection_id":162418,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:05:04] local.INFO: Acknowledgment sent {"connection_id":162418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:05:08] local.INFO: TCP Data received {"connection_id":162418,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289a50c8012d196900071fee180041011d2c..."} 
[2026-08-22 14:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289a50c8012d196900071fee180041011d2c..."} 
[2026-08-22 14:05:08] local.INFO: Processing buffer {"connection_id":162418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289a50c8012d196900071fee180041011d2c..."} 
[2026-08-22 14:05:08] local.INFO: Packet analysis {"connection_id":162418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289a"} 
[2026-08-22 14:05:08] local.INFO: Extracted packet for processing {"connection_id":162418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289a"} 
[2026-08-22 14:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571219456001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787387597000,"timestamp_ms":1787387597000,"timestamp_seconds":1787387597,"priority":1,"record_length":96,"hex_timestamp":"000001a0289a50c8"} 
[2026-08-22 14: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-22 14:05: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-22 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 14:05:08] 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-22 14: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-22 14: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-22 14:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571219456001,"66":12439,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571219456001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:05:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:05:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571219456001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":162418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:05:08] local.INFO: GPS data processed {"connection_id":162418,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:05:08] local.INFO: Acknowledgment sent {"connection_id":162418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:05:33] local.INFO: TCP Data received {"connection_id":160068,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:05:33] local.INFO: Processing buffer {"connection_id":160068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:05:33] local.INFO: Packet analysis {"connection_id":160068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:05:33] local.INFO: Extracted packet for processing {"connection_id":160068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":6,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571167488001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:05:33] 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-22 14:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787387674000,"timestamp_ms":1787387674000,"timestamp_seconds":1787387674,"priority":1,"record_length":96,"hex_timestamp":"000001a0289b7d90"} 
[2026-08-22 14:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:05: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-22 14:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 14:05:33] 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-22 14:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:05:33] 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-22 14:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571167488001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571167488001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:05:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571167488001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":160068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:05:33] local.INFO: GPS data processed {"connection_id":160068,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:05:33] local.INFO: Acknowledgment sent {"connection_id":160068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:05:52] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:05:52] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:05:52] local.INFO: IMEI packet received {"connection_id":160070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":160070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:05:53] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:05:53] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:05:53] local.INFO: IMEI packet received {"connection_id":160069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":160069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:05:54] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:05:54] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:05:54] local.INFO: IMEI packet received {"connection_id":160069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":160069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:05:58] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:05:58] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:05:58] local.INFO: IMEI packet received {"connection_id":160070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":160070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:05:59] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289aa2d0012d196900071fee180041011d28..."} 
[2026-08-22 14:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289aa2d0012d196900071fee180041011d28..."} 
[2026-08-22 14:05:59] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289aa2d0012d196900071fee180041011d28..."} 
[2026-08-22 14:05:59] local.INFO: Packet analysis {"connection_id":160070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289a"} 
[2026-08-22 14:05:59] local.INFO: Extracted packet for processing {"connection_id":160070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289a"} 
[2026-08-22 14:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571224832001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:05: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-22 14:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787387618000,"timestamp_ms":1787387618000,"timestamp_seconds":1787387618,"priority":1,"record_length":96,"hex_timestamp":"000001a0289aa2d0"} 
[2026-08-22 14: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-22 14:05: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-22 14:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 14:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571224832001,"66":12504,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571224832001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:05:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:05:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571224832001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":160070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:05:59] local.INFO: GPS data processed {"connection_id":160070,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:05:59] local.INFO: Acknowledgment sent {"connection_id":160070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:06:00] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:06:00] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:06:00] local.INFO: Packet analysis {"connection_id":160069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:06:00] local.INFO: Extracted packet for processing {"connection_id":160069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":6,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571167488001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06:00] 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-22 14:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787387674000,"timestamp_ms":1787387674000,"timestamp_seconds":1787387674,"priority":1,"record_length":96,"hex_timestamp":"000001a0289b7d90"} 
[2026-08-22 14: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-22 14:06: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-22 14: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 14:06:00] 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-22 14: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-22 14: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-22 14:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:06: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-22 14:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571167488001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571167488001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:06:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571167488001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":160069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:06:00] local.INFO: GPS data processed {"connection_id":160069,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:06:00] local.INFO: Acknowledgment sent {"connection_id":160069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:06:00] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:06:00] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:06:00] local.INFO: Packet analysis {"connection_id":160069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:06:00] local.INFO: Extracted packet for processing {"connection_id":160069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":6,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571167488001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06:00] 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-22 14:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787387674000,"timestamp_ms":1787387674000,"timestamp_seconds":1787387674,"priority":1,"record_length":96,"hex_timestamp":"000001a0289b7d90"} 
[2026-08-22 14: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-22 14:06: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-22 14: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 14:06:00] 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-22 14: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-22 14: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-22 14:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:06: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-22 14:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571167488001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571167488001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:06:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571167488001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":160069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:06:00] local.INFO: GPS data processed {"connection_id":160069,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:06:00] local.INFO: Acknowledgment sent {"connection_id":160069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:06:30] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289af4d8012d196900071fee180041011d2b..."} 
[2026-08-22 14:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289af4d8012d196900071fee180041011d2b..."} 
[2026-08-22 14:06:30] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289af4d8012d196900071fee180041011d2b..."} 
[2026-08-22 14:06:30] local.INFO: Packet analysis {"connection_id":160070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289a"} 
[2026-08-22 14:06:30] local.INFO: Extracted packet for processing {"connection_id":160070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289a"} 
[2026-08-22 14:06:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571230208001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06: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-22 14:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787387639000,"timestamp_ms":1787387639000,"timestamp_seconds":1787387639,"priority":1,"record_length":96,"hex_timestamp":"000001a0289af4d8"} 
[2026-08-22 14: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-22 14:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 14:06:30] 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-22 14: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-22 14: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-22 14:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571230208001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571230208001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:06:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:06:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571230208001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":160070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:06:30] local.INFO: GPS data processed {"connection_id":160070,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:06:30] local.INFO: Acknowledgment sent {"connection_id":160070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:06:44] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:06:44] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:06:44] local.INFO: Packet analysis {"connection_id":160069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:06:44] local.INFO: Extracted packet for processing {"connection_id":160069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:06:44] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":6,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571167488001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06:44] 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-22 14:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787387674000,"timestamp_ms":1787387674000,"timestamp_seconds":1787387674,"priority":1,"record_length":96,"hex_timestamp":"000001a0289b7d90"} 
[2026-08-22 14: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-22 14:06: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-22 14: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 14:06:44] 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-22 14: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-22 14: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-22 14:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:06:44] 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-22 14:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571167488001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571167488001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:06:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:06:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571167488001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":160069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:06:44] local.INFO: GPS data processed {"connection_id":160069,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:06:44] local.INFO: Acknowledgment sent {"connection_id":160069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:06:49] local.INFO: TCP Data received {"connection_id":159833,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:06:49] local.INFO: Processing buffer {"connection_id":159833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:06:49] local.INFO: IMEI packet received {"connection_id":159833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":159833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:06:52] local.INFO: TCP Data received {"connection_id":159834,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:06:52] local.INFO: Processing buffer {"connection_id":159834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:06:52] local.INFO: IMEI packet received {"connection_id":159834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":159834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:06:54] local.INFO: TCP Data received {"connection_id":159833,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:06:54] local.INFO: Processing buffer {"connection_id":159833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:06:54] local.INFO: IMEI packet received {"connection_id":159833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":159833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:06:55] local.INFO: TCP Data received {"connection_id":159833,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:06:55] local.INFO: Processing buffer {"connection_id":159833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:06:55] local.INFO: Packet analysis {"connection_id":159833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:06:55] local.INFO: Extracted packet for processing {"connection_id":159833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":6,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571167488001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06: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-22 14:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787387674000,"timestamp_ms":1787387674000,"timestamp_seconds":1787387674,"priority":1,"record_length":96,"hex_timestamp":"000001a0289b7d90"} 
[2026-08-22 14:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:06: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-22 14:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 14:06: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-22 14:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:06:55] 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-22 14:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571167488001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571167488001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:06:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:06:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571167488001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":159833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:06:55] local.INFO: GPS data processed {"connection_id":159833,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:06:55] local.INFO: Acknowledgment sent {"connection_id":159833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:06:58] local.INFO: TCP Data received {"connection_id":159834,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:06:58] local.INFO: Processing buffer {"connection_id":159834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:06:58] local.INFO: IMEI packet received {"connection_id":159834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":159834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:06:59] local.INFO: TCP Data received {"connection_id":159834,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289b46e0012d196900071fee180041011d29..."} 
[2026-08-22 14:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289b46e0012d196900071fee180041011d29..."} 
[2026-08-22 14:06:59] local.INFO: Processing buffer {"connection_id":159834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289b46e0012d196900071fee180041011d29..."} 
[2026-08-22 14:06:59] local.INFO: Packet analysis {"connection_id":159834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:06:59] local.INFO: Extracted packet for processing {"connection_id":159834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571235584001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:06: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-22 14:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787387660000,"timestamp_ms":1787387660000,"timestamp_seconds":1787387660,"priority":1,"record_length":96,"hex_timestamp":"000001a0289b46e0"} 
[2026-08-22 14: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-22 14:06: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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571235584001,"66":12504,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571235584001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:06:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571235584001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":159834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:06:59] local.INFO: GPS data processed {"connection_id":159834,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:06:59] local.INFO: Acknowledgment sent {"connection_id":159834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:07:26] local.INFO: TCP Data received {"connection_id":159833,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:07:26] local.INFO: Processing buffer {"connection_id":159833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:07:26] local.INFO: Packet analysis {"connection_id":159833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:07:26] local.INFO: Extracted packet for processing {"connection_id":159833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:07:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":6,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571167488001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:07: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-22 14:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787387674000,"timestamp_ms":1787387674000,"timestamp_seconds":1787387674,"priority":1,"record_length":96,"hex_timestamp":"000001a0289b7d90"} 
[2026-08-22 14: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-22 14:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 14: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 14:07:26] 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-22 14: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-22 14: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-22 14:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:07: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-22 14:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571167488001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571167488001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:07:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:07:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571167488001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":159833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:07:26] local.INFO: GPS data processed {"connection_id":159833,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:07:26] local.INFO: Acknowledgment sent {"connection_id":159833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:07:30] local.INFO: TCP Data received {"connection_id":159834,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289b98e8012d196900071fee180041011d28..."} 
[2026-08-22 14:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289b98e8012d196900071fee180041011d28..."} 
[2026-08-22 14:07:30] local.INFO: Processing buffer {"connection_id":159834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289b98e8012d196900071fee180041011d28..."} 
[2026-08-22 14:07:30] local.INFO: Packet analysis {"connection_id":159834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:07:30] local.INFO: Extracted packet for processing {"connection_id":159834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:07:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571240960001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:07: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-22 14:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787387681000,"timestamp_ms":1787387681000,"timestamp_seconds":1787387681,"priority":1,"record_length":96,"hex_timestamp":"000001a0289b98e8"} 
[2026-08-22 14:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 14:07:30] 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-22 14: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-22 14:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571240960001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571240960001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:07:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:07:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571240960001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":159834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:07:30] local.INFO: GPS data processed {"connection_id":159834,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:07:30] local.INFO: Acknowledgment sent {"connection_id":159834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:07:49] local.INFO: TCP Data received {"connection_id":159835,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:07:49] local.INFO: Processing buffer {"connection_id":159835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:07:49] local.INFO: IMEI packet received {"connection_id":159835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":159835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:07:52] local.INFO: TCP Data received {"connection_id":162419,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:07:52] local.INFO: Processing buffer {"connection_id":162419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:07:52] local.INFO: IMEI packet received {"connection_id":162419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":162419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:07:54] local.INFO: TCP Data received {"connection_id":159835,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:07:54] local.INFO: Processing buffer {"connection_id":159835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:07:54] local.INFO: IMEI packet received {"connection_id":159835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":159835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:07:55] local.INFO: TCP Data received {"connection_id":159835,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:07:55] local.INFO: Processing buffer {"connection_id":159835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:07:55] local.INFO: Packet analysis {"connection_id":159835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:07:55] local.INFO: Extracted packet for processing {"connection_id":159835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:07:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":6,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571167488001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:07: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-22 14:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787387674000,"timestamp_ms":1787387674000,"timestamp_seconds":1787387674,"priority":1,"record_length":96,"hex_timestamp":"000001a0289b7d90"} 
[2026-08-22 14:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14: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-22 14:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 14:07: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-22 14: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-22 14:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:07: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-22 14:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571167488001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571167488001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:07:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:07:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571167488001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":159835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:07:55] local.INFO: GPS data processed {"connection_id":159835,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:07:55] local.INFO: Acknowledgment sent {"connection_id":159835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:07:58] local.INFO: TCP Data received {"connection_id":162419,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:07:58] local.INFO: Processing buffer {"connection_id":162419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:07:58] local.INFO: IMEI packet received {"connection_id":162419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":162419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:07:59] local.INFO: TCP Data received {"connection_id":162419,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289beaf0012d196900071fee180041011d2a..."} 
[2026-08-22 14:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289beaf0012d196900071fee180041011d2a..."} 
[2026-08-22 14:07:59] local.INFO: Processing buffer {"connection_id":162419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289beaf0012d196900071fee180041011d2a..."} 
[2026-08-22 14:07:59] local.INFO: Packet analysis {"connection_id":162419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:07:59] local.INFO: Extracted packet for processing {"connection_id":162419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 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-22 14:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571246336001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:07: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-22 14:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787387702000,"timestamp_ms":1787387702000,"timestamp_seconds":1787387702,"priority":1,"record_length":96,"hex_timestamp":"000001a0289beaf0"} 
[2026-08-22 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-22 14:07: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-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 14:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571246336001,"66":12428,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571246336001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:07:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:07:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571246336001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":162419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:07:59] local.INFO: GPS data processed {"connection_id":162419,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:07:59] local.INFO: Acknowledgment sent {"connection_id":162419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:08:26] local.INFO: TCP Data received {"connection_id":159835,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:08:26] local.INFO: Processing buffer {"connection_id":159835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:08:26] local.INFO: Packet analysis {"connection_id":159835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:08:26] local.INFO: Extracted packet for processing {"connection_id":159835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:08:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":6,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571167488001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:08: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-22 14:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787387674000,"timestamp_ms":1787387674000,"timestamp_seconds":1787387674,"priority":1,"record_length":96,"hex_timestamp":"000001a0289b7d90"} 
[2026-08-22 14: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-22 14:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 14: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 14:08:26] 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-22 14: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-22 14: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-22 14:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:08: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-22 14:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571167488001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571167488001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:08:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:08:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571167488001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":159835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:08:26] local.INFO: GPS data processed {"connection_id":159835,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:08:26] local.INFO: Acknowledgment sent {"connection_id":159835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:08:29] local.INFO: TCP Data received {"connection_id":162419,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289c3cf8012d196900071fee180041011d2a..."} 
[2026-08-22 14:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289c3cf8012d196900071fee180041011d2a..."} 
[2026-08-22 14:08:29] local.INFO: Processing buffer {"connection_id":162419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289c3cf8012d196900071fee180041011d2a..."} 
[2026-08-22 14:08:29] local.INFO: Packet analysis {"connection_id":162419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289c"} 
[2026-08-22 14:08:29] local.INFO: Extracted packet for processing {"connection_id":162419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289c"} 
[2026-08-22 14:08:29] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571251712001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787387723000,"timestamp_ms":1787387723000,"timestamp_seconds":1787387723,"priority":1,"record_length":96,"hex_timestamp":"000001a0289c3cf8"} 
[2026-08-22 14: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-22 14:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 14:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571251712001,"66":12428,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571251712001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:08:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:08:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571251712001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":162419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:08:29] local.INFO: GPS data processed {"connection_id":162419,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:08:29] local.INFO: Acknowledgment sent {"connection_id":162419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:08:49] local.INFO: TCP Data received {"connection_id":160071,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:08:49] local.INFO: Processing buffer {"connection_id":160071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:08:49] local.INFO: IMEI packet received {"connection_id":160071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":160071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:08:52] local.INFO: TCP Data received {"connection_id":160993,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:08:52] local.INFO: Processing buffer {"connection_id":160993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:08:52] local.INFO: IMEI packet received {"connection_id":160993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":160993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:08:54] local.INFO: TCP Data received {"connection_id":160071,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:08:54] local.INFO: Processing buffer {"connection_id":160071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:08:54] local.INFO: IMEI packet received {"connection_id":160071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":160071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:08:55] local.INFO: TCP Data received {"connection_id":160071,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:08:55] local.INFO: Processing buffer {"connection_id":160071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:08:55] local.INFO: Packet analysis {"connection_id":160071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:08:55] local.INFO: Extracted packet for processing {"connection_id":160071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":6,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571167488001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:08: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-22 14:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787387674000,"timestamp_ms":1787387674000,"timestamp_seconds":1787387674,"priority":1,"record_length":96,"hex_timestamp":"000001a0289b7d90"} 
[2026-08-22 14:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14: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-22 14:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 14:08: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-22 14:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:08:55] 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-22 14:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571167488001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571167488001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:08:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:08:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571167488001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":160071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:08:55] local.INFO: GPS data processed {"connection_id":160071,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:08:55] local.INFO: Acknowledgment sent {"connection_id":160071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:08:58] local.INFO: TCP Data received {"connection_id":160993,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:08:58] local.INFO: Processing buffer {"connection_id":160993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:08:58] local.INFO: IMEI packet received {"connection_id":160993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":160993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:08:59] local.INFO: TCP Data received {"connection_id":160993,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289c8f00012d196900071fee180041011d2c..."} 
[2026-08-22 14:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289c8f00012d196900071fee180041011d2c..."} 
[2026-08-22 14:08:59] local.INFO: Processing buffer {"connection_id":160993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289c8f00012d196900071fee180041011d2c..."} 
[2026-08-22 14:08:59] local.INFO: Packet analysis {"connection_id":160993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289c"} 
[2026-08-22 14:08:59] local.INFO: Extracted packet for processing {"connection_id":160993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289c"} 
[2026-08-22 14:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571257088001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:08: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-22 14:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787387744000,"timestamp_ms":1787387744000,"timestamp_seconds":1787387744,"priority":1,"record_length":96,"hex_timestamp":"000001a0289c8f00"} 
[2026-08-22 14: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-22 14:08: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-22 14:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 14:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571257088001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571257088001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:08:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571257088001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":160993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:08:59] local.INFO: GPS data processed {"connection_id":160993,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:08:59] local.INFO: Acknowledgment sent {"connection_id":160993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:09:26] local.INFO: TCP Data received {"connection_id":160071,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:09:26] local.INFO: Processing buffer {"connection_id":160071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:09:26] local.INFO: Packet analysis {"connection_id":160071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:09:26] local.INFO: Extracted packet for processing {"connection_id":160071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":6,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 14:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571167488001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:09: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-22 14:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787387674000,"timestamp_ms":1787387674000,"timestamp_seconds":1787387674,"priority":1,"record_length":96,"hex_timestamp":"000001a0289b7d90"} 
[2026-08-22 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-22 14:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 14:09:26] 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-22 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-22 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-22 14:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:09:26] 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-22 14:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571167488001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571167488001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:09:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571167488001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":160071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:09:26] local.INFO: GPS data processed {"connection_id":160071,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:09:26] local.INFO: Acknowledgment sent {"connection_id":160071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:09:30] local.INFO: TCP Data received {"connection_id":160993,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289ce108012d196900071fee180041011d2c..."} 
[2026-08-22 14:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289ce108012d196900071fee180041011d2c..."} 
[2026-08-22 14:09:30] local.INFO: Processing buffer {"connection_id":160993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289ce108012d196900071fee180041011d2c..."} 
[2026-08-22 14:09:30] local.INFO: Packet analysis {"connection_id":160993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289c"} 
[2026-08-22 14:09:30] local.INFO: Extracted packet for processing {"connection_id":160993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289c"} 
[2026-08-22 14:09:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571262464001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:09: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-22 14:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787387765000,"timestamp_ms":1787387765000,"timestamp_seconds":1787387765,"priority":1,"record_length":96,"hex_timestamp":"000001a0289ce108"} 
[2026-08-22 14: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-22 14:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571262464001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571262464001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:09:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:09:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571262464001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":160993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:09:30] local.INFO: GPS data processed {"connection_id":160993,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:09:30] local.INFO: Acknowledgment sent {"connection_id":160993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:09:49] local.INFO: TCP Data received {"connection_id":162420,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:09:49] local.INFO: Processing buffer {"connection_id":162420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:09:49] local.INFO: IMEI packet received {"connection_id":162420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":162420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:09:52] local.INFO: TCP Data received {"connection_id":162421,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:09:52] local.INFO: Processing buffer {"connection_id":162421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:09:52] local.INFO: IMEI packet received {"connection_id":162421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":162421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:09:54] local.INFO: TCP Data received {"connection_id":162420,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:09:54] local.INFO: Processing buffer {"connection_id":162420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:09:54] local.INFO: IMEI packet received {"connection_id":162420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":162420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:09:56] local.INFO: TCP Data received {"connection_id":162420,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:09:56] local.INFO: Processing buffer {"connection_id":162420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289b7d90012d7fabc005afe1b8000601212b..."} 
[2026-08-22 14:09:56] local.INFO: Packet analysis {"connection_id":162420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:09:56] local.INFO: Extracted packet for processing {"connection_id":162420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289b"} 
[2026-08-22 14:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":6,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571167488001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:09: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-22 14:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787387674000,"timestamp_ms":1787387674000,"timestamp_seconds":1787387674,"priority":1,"record_length":96,"hex_timestamp":"000001a0289b7d90"} 
[2026-08-22 14:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14: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-22 14:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 14:09: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-22 14:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:09: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-22 14:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571167488001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571167488001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:09:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571167488001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":162420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:09:56] local.INFO: GPS data processed {"connection_id":162420,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:09:56] local.INFO: Acknowledgment sent {"connection_id":162420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:09:58] local.INFO: TCP Data received {"connection_id":162421,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:09:58] local.INFO: Processing buffer {"connection_id":162421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:09:58] local.INFO: IMEI packet received {"connection_id":162421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":162421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:09:59] local.INFO: TCP Data received {"connection_id":162421,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289d3310012d196900071fee180041011d2c..."} 
[2026-08-22 14:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289d3310012d196900071fee180041011d2c..."} 
[2026-08-22 14:09:59] local.INFO: Processing buffer {"connection_id":162421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289d3310012d196900071fee180041011d2c..."} 
[2026-08-22 14:09:59] local.INFO: Packet analysis {"connection_id":162421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289d"} 
[2026-08-22 14:09:59] local.INFO: Extracted packet for processing {"connection_id":162421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289d"} 
[2026-08-22 14:09:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571267840001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:09: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-22 14:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787387786000,"timestamp_ms":1787387786000,"timestamp_seconds":1787387786,"priority":1,"record_length":96,"hex_timestamp":"000001a0289d3310"} 
[2026-08-22 14: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-22 14:09: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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571267840001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571267840001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:09:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571267840001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":162421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:09:59] local.INFO: GPS data processed {"connection_id":162421,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:09:59] local.INFO: Acknowledgment sent {"connection_id":162421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:10:27] local.INFO: TCP Data received {"connection_id":162420,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:10:27] local.INFO: Processing buffer {"connection_id":162420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:10:27] local.INFO: Packet analysis {"connection_id":162420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:10:27] local.INFO: Extracted packet for processing {"connection_id":162420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:10:27] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":16,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571244544001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:10:27] 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-22 14:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787387975000,"timestamp_ms":1787387975000,"timestamp_seconds":1787387975,"priority":1,"record_length":96,"hex_timestamp":"000001a028a01558"} 
[2026-08-22 14:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:10: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-22 14:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:10:27] 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-22 14:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:10:27] 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-22 14:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571244544001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571244544001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:10:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:10:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571244544001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":162420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:10:27] local.INFO: GPS data processed {"connection_id":162420,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:10:27] local.INFO: Acknowledgment sent {"connection_id":162420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:10:30] local.INFO: TCP Data received {"connection_id":162421,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289d8518012d196900071fee180041011d2c..."} 
[2026-08-22 14:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289d8518012d196900071fee180041011d2c..."} 
[2026-08-22 14:10:30] local.INFO: Processing buffer {"connection_id":162421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289d8518012d196900071fee180041011d2c..."} 
[2026-08-22 14:10:30] local.INFO: Packet analysis {"connection_id":162421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289d"} 
[2026-08-22 14:10:30] local.INFO: Extracted packet for processing {"connection_id":162421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289d"} 
[2026-08-22 14:10:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571273216001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:10: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-22 14:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787387807000,"timestamp_ms":1787387807000,"timestamp_seconds":1787387807,"priority":1,"record_length":96,"hex_timestamp":"000001a0289d8518"} 
[2026-08-22 14: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-22 14:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571273216001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571273216001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:10:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571273216001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":162421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:10:30] local.INFO: GPS data processed {"connection_id":162421,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:10:30] local.INFO: Acknowledgment sent {"connection_id":162421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:10:52] local.INFO: TCP Data received {"connection_id":160995,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:10:52] local.INFO: Processing buffer {"connection_id":160995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:10:52] local.INFO: IMEI packet received {"connection_id":160995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":160995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:10:54] local.INFO: TCP Data received {"connection_id":160994,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:10:54] local.INFO: Processing buffer {"connection_id":160994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:10:54] local.INFO: IMEI packet received {"connection_id":160994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":160994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:10:55] local.INFO: TCP Data received {"connection_id":160995,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:10:55] local.INFO: Processing buffer {"connection_id":160995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:10:55] local.INFO: IMEI packet received {"connection_id":160995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":160995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:10:58] local.INFO: TCP Data received {"connection_id":160995,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:10:58] local.INFO: Processing buffer {"connection_id":160995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:10:58] local.INFO: IMEI packet received {"connection_id":160995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":160995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:10:58] local.INFO: TCP Data received {"connection_id":160995,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289dd720012d196900071fee180041011d2c..."} 
[2026-08-22 14:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289dd720012d196900071fee180041011d2c..."} 
[2026-08-22 14:10:58] local.INFO: Processing buffer {"connection_id":160995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289dd720012d196900071fee180041011d2c..."} 
[2026-08-22 14:10:58] local.INFO: Packet analysis {"connection_id":160995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289d"} 
[2026-08-22 14:10:58] local.INFO: Extracted packet for processing {"connection_id":160995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289d"} 
[2026-08-22 14:10:58] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571278592001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787387828000,"timestamp_ms":1787387828000,"timestamp_seconds":1787387828,"priority":1,"record_length":96,"hex_timestamp":"000001a0289dd720"} 
[2026-08-22 14: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-22 14:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571278592001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571278592001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:10:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:10:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571278592001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":160995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:10:59] local.INFO: GPS data processed {"connection_id":160995,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:10:59] local.INFO: Acknowledgment sent {"connection_id":160995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:10:59] local.INFO: TCP Data received {"connection_id":160994,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:10:59] local.INFO: Processing buffer {"connection_id":160994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:10:59] local.INFO: IMEI packet received {"connection_id":160994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":160994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:11:00] local.INFO: TCP Data received {"connection_id":160994,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:11:00] local.INFO: Processing buffer {"connection_id":160994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:11:00] local.INFO: Packet analysis {"connection_id":160994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:11:00] local.INFO: Extracted packet for processing {"connection_id":160994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":16,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571244544001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:11:00] 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-22 14:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787387975000,"timestamp_ms":1787387975000,"timestamp_seconds":1787387975,"priority":1,"record_length":96,"hex_timestamp":"000001a028a01558"} 
[2026-08-22 14: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-22 14:11: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-22 14:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:11:00] 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-22 14: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-22 14: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-22 14:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:11: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-22 14:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571244544001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571244544001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:11:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:11:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571244544001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":160994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:11:00] local.INFO: GPS data processed {"connection_id":160994,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:11:00] local.INFO: Acknowledgment sent {"connection_id":160994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:11:04] local.INFO: TCP Data received {"connection_id":160994,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:11:04] local.INFO: Processing buffer {"connection_id":160994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:11:04] local.INFO: Packet analysis {"connection_id":160994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:11:04] local.INFO: Extracted packet for processing {"connection_id":160994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":16,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571244544001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:11:04] 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-22 14:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787387975000,"timestamp_ms":1787387975000,"timestamp_seconds":1787387975,"priority":1,"record_length":96,"hex_timestamp":"000001a028a01558"} 
[2026-08-22 14:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:11: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-22 14:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:11:04] 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-22 14:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:11: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-22 14:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571244544001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571244544001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:11:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571244544001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":160994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:11:04] local.INFO: GPS data processed {"connection_id":160994,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:11:04] local.INFO: Acknowledgment sent {"connection_id":160994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:11:30] local.INFO: TCP Data received {"connection_id":160995,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289e2928012d196900071fee180041011d2b..."} 
[2026-08-22 14:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289e2928012d196900071fee180041011d2b..."} 
[2026-08-22 14:11:30] local.INFO: Processing buffer {"connection_id":160995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289e2928012d196900071fee180041011d2b..."} 
[2026-08-22 14:11:30] local.INFO: Packet analysis {"connection_id":160995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289e"} 
[2026-08-22 14:11:30] local.INFO: Extracted packet for processing {"connection_id":160995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289e"} 
[2026-08-22 14:11:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 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-22 14:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571283968001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 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-22 14:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787387849000,"timestamp_ms":1787387849000,"timestamp_seconds":1787387849,"priority":1,"record_length":96,"hex_timestamp":"000001a0289e2928"} 
[2026-08-22 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-22 14:11: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-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 14:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571283968001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571283968001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:11:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:11:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571283968001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":160995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:11:30] local.INFO: GPS data processed {"connection_id":160995,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:11:30] local.INFO: Acknowledgment sent {"connection_id":160995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:11:49] local.INFO: TCP Data received {"connection_id":162422,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:11:49] local.INFO: Processing buffer {"connection_id":162422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:11:49] local.INFO: IMEI packet received {"connection_id":162422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":162422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:11:54] local.INFO: TCP Data received {"connection_id":162422,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:11:54] local.INFO: Processing buffer {"connection_id":162422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:11:54] local.INFO: IMEI packet received {"connection_id":162422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":162422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:11:55] local.INFO: TCP Data received {"connection_id":162422,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:11:55] local.INFO: Processing buffer {"connection_id":162422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:11:55] local.INFO: Packet analysis {"connection_id":162422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:11:55] local.INFO: Extracted packet for processing {"connection_id":162422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":16,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571244544001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:11: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-22 14:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787387975000,"timestamp_ms":1787387975000,"timestamp_seconds":1787387975,"priority":1,"record_length":96,"hex_timestamp":"000001a028a01558"} 
[2026-08-22 14: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-22 14:11: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-22 14:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:11: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-22 14: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-22 14: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-22 14:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14: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-22 14:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571244544001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571244544001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:11:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:11:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571244544001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":162422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:11:55] local.INFO: GPS data processed {"connection_id":162422,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:11:55] local.INFO: Acknowledgment sent {"connection_id":162422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:11:58] local.INFO: TCP Data received {"connection_id":160072,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:11:58] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:11:58] local.INFO: IMEI packet received {"connection_id":160072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":160072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:11:58] local.INFO: TCP Data received {"connection_id":160072,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:11:58] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:11:58] local.INFO: IMEI packet received {"connection_id":160072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":160072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:12:03] local.INFO: TCP Data received {"connection_id":160072,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:12:03] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:12:03] local.INFO: IMEI packet received {"connection_id":160072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":160072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:12:04] local.INFO: TCP Data received {"connection_id":160072,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289e7b30012d196900071fee180041011d2c..."} 
[2026-08-22 14:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289e7b30012d196900071fee180041011d2c..."} 
[2026-08-22 14:12:04] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289e7b30012d196900071fee180041011d2c..."} 
[2026-08-22 14:12:04] local.INFO: Packet analysis {"connection_id":160072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289e"} 
[2026-08-22 14:12:04] local.INFO: Extracted packet for processing {"connection_id":160072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289e"} 
[2026-08-22 14:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571289344001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787387870000,"timestamp_ms":1787387870000,"timestamp_seconds":1787387870,"priority":1,"record_length":96,"hex_timestamp":"000001a0289e7b30"} 
[2026-08-22 14: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-22 14:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571289344001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571289344001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:12:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571289344001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":160072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:12:04] local.INFO: GPS data processed {"connection_id":160072,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:12:04] local.INFO: Acknowledgment sent {"connection_id":160072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:12:08] local.INFO: TCP Data received {"connection_id":160072,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289ecd38012d196900071fee180041011d2e..."} 
[2026-08-22 14:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289ecd38012d196900071fee180041011d2e..."} 
[2026-08-22 14:12:08] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289ecd38012d196900071fee180041011d2e..."} 
[2026-08-22 14:12:08] local.INFO: Packet analysis {"connection_id":160072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289e"} 
[2026-08-22 14:12:08] local.INFO: Extracted packet for processing {"connection_id":160072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289e"} 
[2026-08-22 14:12:08] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571294720001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787387891000,"timestamp_ms":1787387891000,"timestamp_seconds":1787387891,"priority":1,"record_length":96,"hex_timestamp":"000001a0289ecd38"} 
[2026-08-22 14: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-22 14:12: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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:12:08] 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-22 14: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-22 14: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-22 14:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571294720001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571294720001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:12:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:12:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571294720001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":160072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:12:09] local.INFO: GPS data processed {"connection_id":160072,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:12:09] local.INFO: Acknowledgment sent {"connection_id":160072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:12:26] local.INFO: TCP Data received {"connection_id":162422,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:12:26] local.INFO: Processing buffer {"connection_id":162422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:12:26] local.INFO: Packet analysis {"connection_id":162422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:12:26] local.INFO: Extracted packet for processing {"connection_id":162422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:12:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":16,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571244544001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:12: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-22 14:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787387975000,"timestamp_ms":1787387975000,"timestamp_seconds":1787387975,"priority":1,"record_length":96,"hex_timestamp":"000001a028a01558"} 
[2026-08-22 14: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-22 14:12:26] 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-22 14:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:12:26] 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-22 14: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-22 14: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-22 14:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:12: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-22 14:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571244544001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571244544001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:12:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:12:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571244544001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":162422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:12:26] local.INFO: GPS data processed {"connection_id":162422,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:12:26] local.INFO: Acknowledgment sent {"connection_id":162422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:12:49] local.INFO: TCP Data received {"connection_id":159836,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:12:49] local.INFO: Processing buffer {"connection_id":159836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:12:49] local.INFO: IMEI packet received {"connection_id":159836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":159836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:12:52] local.INFO: TCP Data received {"connection_id":162423,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:12:52] local.INFO: Processing buffer {"connection_id":162423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:12:52] local.INFO: IMEI packet received {"connection_id":162423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":162423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:12:54] local.INFO: TCP Data received {"connection_id":159836,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:12:54] local.INFO: Processing buffer {"connection_id":159836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:12:54] local.INFO: IMEI packet received {"connection_id":159836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":159836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:12:55] local.INFO: TCP Data received {"connection_id":159836,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:12:55] local.INFO: Processing buffer {"connection_id":159836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:12:55] local.INFO: Packet analysis {"connection_id":159836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:12:55] local.INFO: Extracted packet for processing {"connection_id":159836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":16,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571244544001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:12: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-22 14:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787387975000,"timestamp_ms":1787387975000,"timestamp_seconds":1787387975,"priority":1,"record_length":96,"hex_timestamp":"000001a028a01558"} 
[2026-08-22 14:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:12: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-22 14:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:12: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-22 14:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:12:55] 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-22 14:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571244544001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571244544001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:12:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:12:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571244544001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":159836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:12:55] local.INFO: GPS data processed {"connection_id":159836,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:12:55] local.INFO: Acknowledgment sent {"connection_id":159836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:12:58] local.INFO: TCP Data received {"connection_id":162423,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:12:58] local.INFO: Processing buffer {"connection_id":162423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:12:58] local.INFO: IMEI packet received {"connection_id":162423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":162423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:12:59] local.INFO: TCP Data received {"connection_id":162423,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289f1f40012d196900071fee180041011d2e..."} 
[2026-08-22 14:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289f1f40012d196900071fee180041011d2e..."} 
[2026-08-22 14:12:59] local.INFO: Processing buffer {"connection_id":162423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289f1f40012d196900071fee180041011d2e..."} 
[2026-08-22 14:12:59] local.INFO: Packet analysis {"connection_id":162423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289f"} 
[2026-08-22 14:12:59] local.INFO: Extracted packet for processing {"connection_id":162423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289f"} 
[2026-08-22 14:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571300096001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:12: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-22 14:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787387912000,"timestamp_ms":1787387912000,"timestamp_seconds":1787387912,"priority":1,"record_length":96,"hex_timestamp":"000001a0289f1f40"} 
[2026-08-22 14:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:12: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-22 14:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571300096001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571300096001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:12:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:12:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571300096001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":162423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:12:59] local.INFO: GPS data processed {"connection_id":162423,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:12:59] local.INFO: Acknowledgment sent {"connection_id":162423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:13:26] local.INFO: TCP Data received {"connection_id":159836,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:13:26] local.INFO: Processing buffer {"connection_id":159836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:13:26] local.INFO: Packet analysis {"connection_id":159836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:13:26] local.INFO: Extracted packet for processing {"connection_id":159836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":16,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571244544001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:13: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-22 14:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787387975000,"timestamp_ms":1787387975000,"timestamp_seconds":1787387975,"priority":1,"record_length":96,"hex_timestamp":"000001a028a01558"} 
[2026-08-22 14: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-22 14:13:26] 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-22 14:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:13:26] 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-22 14: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-22 14: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-22 14:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:13:26] 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-22 14:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571244544001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571244544001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:13:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571244544001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":159836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:13:26] local.INFO: GPS data processed {"connection_id":159836,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:13:26] local.INFO: Acknowledgment sent {"connection_id":159836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:13:30] local.INFO: TCP Data received {"connection_id":162423,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289f7148012d196900071fee180041011d2c..."} 
[2026-08-22 14:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289f7148012d196900071fee180041011d2c..."} 
[2026-08-22 14:13:30] local.INFO: Processing buffer {"connection_id":162423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289f7148012d196900071fee180041011d2c..."} 
[2026-08-22 14:13:30] local.INFO: Packet analysis {"connection_id":162423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289f"} 
[2026-08-22 14:13:30] local.INFO: Extracted packet for processing {"connection_id":162423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289f"} 
[2026-08-22 14:13:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571305472001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:13: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-22 14:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787387933000,"timestamp_ms":1787387933000,"timestamp_seconds":1787387933,"priority":1,"record_length":96,"hex_timestamp":"000001a0289f7148"} 
[2026-08-22 14: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-22 14:13: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-22 14:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571305472001,"66":12428,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571305472001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:13:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:13:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571305472001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":162423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:13:30] local.INFO: GPS data processed {"connection_id":162423,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:13:30] local.INFO: Acknowledgment sent {"connection_id":162423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:13:49] local.INFO: TCP Data received {"connection_id":160073,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:13:49] local.INFO: Processing buffer {"connection_id":160073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:13:49] local.INFO: IMEI packet received {"connection_id":160073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":160073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:13:52] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:13:52] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:13:52] local.INFO: IMEI packet received {"connection_id":160074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":160074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:13:55] local.INFO: TCP Data received {"connection_id":160073,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:13:55] local.INFO: Processing buffer {"connection_id":160073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:13:55] local.INFO: IMEI packet received {"connection_id":160073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":160073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:13:58] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:13:58] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:13:58] local.INFO: IMEI packet received {"connection_id":160074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":160074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:13:58] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0289fc350012d196900071fee180041011d2c..."} 
[2026-08-22 14:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0289fc350012d196900071fee180041011d2c..."} 
[2026-08-22 14:13:58] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0289fc350012d196900071fee180041011d2c..."} 
[2026-08-22 14:13:58] local.INFO: Packet analysis {"connection_id":160074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0289f"} 
[2026-08-22 14:13:58] local.INFO: Extracted packet for processing {"connection_id":160074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0289f"} 
[2026-08-22 14:13:58] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571310848001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787387954000,"timestamp_ms":1787387954000,"timestamp_seconds":1787387954,"priority":1,"record_length":96,"hex_timestamp":"000001a0289fc350"} 
[2026-08-22 14: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-22 14:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 14:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571310848001,"66":12428,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571310848001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:13:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:13:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571310848001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":160074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:13:59] local.INFO: GPS data processed {"connection_id":160074,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:13:59] local.INFO: Acknowledgment sent {"connection_id":160074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:14:07] local.INFO: TCP Data received {"connection_id":160073,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:14:07] local.INFO: Processing buffer {"connection_id":160073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:14:07] local.INFO: Packet analysis {"connection_id":160073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:14:07] local.INFO: Extracted packet for processing {"connection_id":160073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":16,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571244544001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:14:07] 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-22 14:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787387975000,"timestamp_ms":1787387975000,"timestamp_seconds":1787387975,"priority":1,"record_length":96,"hex_timestamp":"000001a028a01558"} 
[2026-08-22 14: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-22 14:14: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-22 14: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:14:07] 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-22 14: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-22 14: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-22 14:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:14:07] 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-22 14:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571244544001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571244544001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:14:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571244544001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":160073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:14:07] local.INFO: GPS data processed {"connection_id":160073,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:14:07] local.INFO: Acknowledgment sent {"connection_id":160073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:14:30] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a349a8012d196900071fee180041011d2c..."} 
[2026-08-22 14:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a349a8012d196900071fee180041011d2c..."} 
[2026-08-22 14:14:30] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a349a8012d196900071fee180041011d2c..."} 
[2026-08-22 14:14:30] local.INFO: Packet analysis {"connection_id":160074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a3"} 
[2026-08-22 14:14:30] local.INFO: Extracted packet for processing {"connection_id":160074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a3"} 
[2026-08-22 14:14:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571369984001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:14: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-22 14:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787388185000,"timestamp_ms":1787388185000,"timestamp_seconds":1787388185,"priority":1,"record_length":96,"hex_timestamp":"000001a028a349a8"} 
[2026-08-22 14: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-22 14:14: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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571369984001,"66":12406,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571369984001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:14:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:14:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571369984001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":160074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:14:30] local.INFO: GPS data processed {"connection_id":160074,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:14:30] local.INFO: Acknowledgment sent {"connection_id":160074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:14:49] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:14:49] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:14:49] local.INFO: IMEI packet received {"connection_id":160075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":160075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:14:52] local.INFO: TCP Data received {"connection_id":162424,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:14:52] local.INFO: Processing buffer {"connection_id":162424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:14:52] local.INFO: IMEI packet received {"connection_id":162424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":162424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:14:54] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:14:54] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:14:54] local.INFO: IMEI packet received {"connection_id":160075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":160075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:14:55] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:14:55] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a01558012d7fabc005afe1b8001001212b..."} 
[2026-08-22 14:14:55] local.INFO: Packet analysis {"connection_id":160075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:14:55] local.INFO: Extracted packet for processing {"connection_id":160075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a0"} 
[2026-08-22 14:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":16,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571244544001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:14: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-22 14:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787387975000,"timestamp_ms":1787387975000,"timestamp_seconds":1787387975,"priority":1,"record_length":96,"hex_timestamp":"000001a028a01558"} 
[2026-08-22 14:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:14: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-22 14:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:14: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-22 14:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:14:55] 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-22 14:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571244544001,"66":25604,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571244544001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:14:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:14:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571244544001,"power":25604,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":160075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:14:55] local.INFO: GPS data processed {"connection_id":160075,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:14:55] local.INFO: Acknowledgment sent {"connection_id":160075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:14:58] local.INFO: TCP Data received {"connection_id":162424,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:14:58] local.INFO: Processing buffer {"connection_id":162424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:14:58] local.INFO: IMEI packet received {"connection_id":162424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":162424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:14:59] local.INFO: TCP Data received {"connection_id":162424,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a39bb0012d196900071fee180041011d2a..."} 
[2026-08-22 14:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a39bb0012d196900071fee180041011d2a..."} 
[2026-08-22 14:14:59] local.INFO: Processing buffer {"connection_id":162424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a39bb0012d196900071fee180041011d2a..."} 
[2026-08-22 14:14:59] local.INFO: Packet analysis {"connection_id":162424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a3"} 
[2026-08-22 14:14:59] local.INFO: Extracted packet for processing {"connection_id":162424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a3"} 
[2026-08-22 14:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571375360001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:14: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-22 14:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787388206000,"timestamp_ms":1787388206000,"timestamp_seconds":1787388206,"priority":1,"record_length":96,"hex_timestamp":"000001a028a39bb0"} 
[2026-08-22 14:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:14: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-22 14:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 14:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571375360001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571375360001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:14:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:14:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571375360001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":162424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:14:59] local.INFO: GPS data processed {"connection_id":162424,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:14:59] local.INFO: Acknowledgment sent {"connection_id":162424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:15:26] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:15:26] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:15:26] local.INFO: Packet analysis {"connection_id":160075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:15:26] local.INFO: Extracted packet for processing {"connection_id":160075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:15:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":26,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 14:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571321600001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:15: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-22 14:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787388276000,"timestamp_ms":1787388276000,"timestamp_seconds":1787388276,"priority":1,"record_length":96,"hex_timestamp":"000001a028a4ad20"} 
[2026-08-22 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-22 14:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 14:15:26] 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-22 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-22 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-22 14:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:15:26] 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-22 14:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571321600001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571321600001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:15:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:15:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571321600001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":160075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:15:26] local.INFO: GPS data processed {"connection_id":160075,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:15:26] local.INFO: Acknowledgment sent {"connection_id":160075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:15:29] local.INFO: TCP Data received {"connection_id":162424,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a3edb8012d196900071fee180041011d2c..."} 
[2026-08-22 14:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a3edb8012d196900071fee180041011d2c..."} 
[2026-08-22 14:15:29] local.INFO: Processing buffer {"connection_id":162424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a3edb8012d196900071fee180041011d2c..."} 
[2026-08-22 14:15:29] local.INFO: Packet analysis {"connection_id":162424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a3"} 
[2026-08-22 14:15:29] local.INFO: Extracted packet for processing {"connection_id":162424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a3"} 
[2026-08-22 14:15:29] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571380736001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787388227000,"timestamp_ms":1787388227000,"timestamp_seconds":1787388227,"priority":1,"record_length":96,"hex_timestamp":"000001a028a3edb8"} 
[2026-08-22 14:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571380736001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571380736001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:15:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:15:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571380736001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":162424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:15:29] local.INFO: GPS data processed {"connection_id":162424,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:15:29] local.INFO: Acknowledgment sent {"connection_id":162424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:15:49] local.INFO: TCP Data received {"connection_id":160996,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:15:49] local.INFO: Processing buffer {"connection_id":160996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:15:49] local.INFO: IMEI packet received {"connection_id":160996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":160996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:15:52] local.INFO: TCP Data received {"connection_id":159837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:15:52] local.INFO: Processing buffer {"connection_id":159837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:15:52] local.INFO: IMEI packet received {"connection_id":159837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":159837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:15:54] local.INFO: TCP Data received {"connection_id":160996,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:15:54] local.INFO: Processing buffer {"connection_id":160996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:15:54] local.INFO: IMEI packet received {"connection_id":160996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":160996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:15:55] local.INFO: TCP Data received {"connection_id":160996,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:15:55] local.INFO: Processing buffer {"connection_id":160996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:15:55] local.INFO: Packet analysis {"connection_id":160996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:15:55] local.INFO: Extracted packet for processing {"connection_id":160996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":26,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571321600001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:15: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-22 14:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787388276000,"timestamp_ms":1787388276000,"timestamp_seconds":1787388276,"priority":1,"record_length":96,"hex_timestamp":"000001a028a4ad20"} 
[2026-08-22 14:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:15: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-22 14:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 14:15: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-22 14:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:15:55] 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-22 14:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571321600001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571321600001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:15:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:15:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571321600001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":160996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:15:55] local.INFO: GPS data processed {"connection_id":160996,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:15:55] local.INFO: Acknowledgment sent {"connection_id":160996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:15:58] local.INFO: TCP Data received {"connection_id":159837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:15:58] local.INFO: Processing buffer {"connection_id":159837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:15:58] local.INFO: IMEI packet received {"connection_id":159837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":159837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:15:59] local.INFO: TCP Data received {"connection_id":159837,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a43fc0012d196900071fee180041011d2e..."} 
[2026-08-22 14:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a43fc0012d196900071fee180041011d2e..."} 
[2026-08-22 14:15:59] local.INFO: Processing buffer {"connection_id":159837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a43fc0012d196900071fee180041011d2e..."} 
[2026-08-22 14:15:59] local.INFO: Packet analysis {"connection_id":159837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:15:59] local.INFO: Extracted packet for processing {"connection_id":159837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571386112001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:15: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-22 14:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787388248000,"timestamp_ms":1787388248000,"timestamp_seconds":1787388248,"priority":1,"record_length":96,"hex_timestamp":"000001a028a43fc0"} 
[2026-08-22 14: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-22 14:15: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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571386112001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571386112001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:15:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:15:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571386112001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":159837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:15:59] local.INFO: GPS data processed {"connection_id":159837,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:15:59] local.INFO: Acknowledgment sent {"connection_id":159837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:16:26] local.INFO: TCP Data received {"connection_id":160996,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:16:26] local.INFO: Processing buffer {"connection_id":160996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:16:26] local.INFO: Packet analysis {"connection_id":160996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:16:26] local.INFO: Extracted packet for processing {"connection_id":160996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:16:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":26,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571321600001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:16: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-22 14:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787388276000,"timestamp_ms":1787388276000,"timestamp_seconds":1787388276,"priority":1,"record_length":96,"hex_timestamp":"000001a028a4ad20"} 
[2026-08-22 14:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 14:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 14:16:26] 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-22 14:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:16:26] 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-22 14:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571321600001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571321600001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:16:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:16:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571321600001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":160996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:16:26] local.INFO: GPS data processed {"connection_id":160996,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:16:26] local.INFO: Acknowledgment sent {"connection_id":160996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:16:30] local.INFO: TCP Data received {"connection_id":159837,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a491c8012d196900071fee180041011d2c..."} 
[2026-08-22 14:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a491c8012d196900071fee180041011d2c..."} 
[2026-08-22 14:16:30] local.INFO: Processing buffer {"connection_id":159837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a491c8012d196900071fee180041011d2c..."} 
[2026-08-22 14:16:30] local.INFO: Packet analysis {"connection_id":159837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:16:30] local.INFO: Extracted packet for processing {"connection_id":159837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:16:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571391488001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:16: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-22 14:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787388269000,"timestamp_ms":1787388269000,"timestamp_seconds":1787388269,"priority":1,"record_length":96,"hex_timestamp":"000001a028a491c8"} 
[2026-08-22 14: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-22 14:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571391488001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571391488001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:16:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:16:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571391488001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":159837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:16:30] local.INFO: GPS data processed {"connection_id":159837,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:16:30] local.INFO: Acknowledgment sent {"connection_id":159837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:16:49] local.INFO: TCP Data received {"connection_id":162425,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:16:49] local.INFO: Processing buffer {"connection_id":162425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:16:49] local.INFO: IMEI packet received {"connection_id":162425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":162425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:16:54] local.INFO: TCP Data received {"connection_id":162425,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:16:54] local.INFO: Processing buffer {"connection_id":162425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:16:54] local.INFO: IMEI packet received {"connection_id":162425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":162425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:16:55] local.INFO: TCP Data received {"connection_id":162425,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:16:55] local.INFO: Processing buffer {"connection_id":162425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:16:55] local.INFO: Packet analysis {"connection_id":162425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:16:55] local.INFO: Extracted packet for processing {"connection_id":162425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:16:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":26,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571321600001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:16: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-22 14:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787388276000,"timestamp_ms":1787388276000,"timestamp_seconds":1787388276,"priority":1,"record_length":96,"hex_timestamp":"000001a028a4ad20"} 
[2026-08-22 14:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14: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-22 14:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 14:16: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-22 14:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:16:55] 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-22 14:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571321600001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571321600001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:16:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571321600001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":162425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:16:55] local.INFO: GPS data processed {"connection_id":162425,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:16:55] local.INFO: Acknowledgment sent {"connection_id":162425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:16:58] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:16:58] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:16:58] local.INFO: IMEI packet received {"connection_id":160076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":160076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:17:03] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:17:03] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:17:03] local.INFO: IMEI packet received {"connection_id":160076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":160076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:17:04] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a4e3d0012d196900071fee180041011d2c..."} 
[2026-08-22 14:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a4e3d0012d196900071fee180041011d2c..."} 
[2026-08-22 14:17:04] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a4e3d0012d196900071fee180041011d2c..."} 
[2026-08-22 14:17:04] local.INFO: Packet analysis {"connection_id":160076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:17:04] local.INFO: Extracted packet for processing {"connection_id":160076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:17:04] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571396864001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787388290000,"timestamp_ms":1787388290000,"timestamp_seconds":1787388290,"priority":1,"record_length":96,"hex_timestamp":"000001a028a4e3d0"} 
[2026-08-22 14: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-22 14:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571396864001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571396864001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:17:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:17:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571396864001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":160076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:17:04] local.INFO: GPS data processed {"connection_id":160076,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:17:04] local.INFO: Acknowledgment sent {"connection_id":160076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:17:08] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a535d8012d196900071fee180041011d2a..."} 
[2026-08-22 14:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a535d8012d196900071fee180041011d2a..."} 
[2026-08-22 14:17:08] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a535d8012d196900071fee180041011d2a..."} 
[2026-08-22 14:17:08] local.INFO: Packet analysis {"connection_id":160076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a5"} 
[2026-08-22 14:17:08] local.INFO: Extracted packet for processing {"connection_id":160076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a5"} 
[2026-08-22 14:17:08] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571402240001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787388311000,"timestamp_ms":1787388311000,"timestamp_seconds":1787388311,"priority":1,"record_length":96,"hex_timestamp":"000001a028a535d8"} 
[2026-08-22 14:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:17: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-22 14:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:17:08] 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-22 14:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571402240001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571402240001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:17:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:17:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571402240001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":160076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:17:09] local.INFO: GPS data processed {"connection_id":160076,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:17:09] local.INFO: Acknowledgment sent {"connection_id":160076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:17:26] local.INFO: TCP Data received {"connection_id":162425,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:17:26] local.INFO: Processing buffer {"connection_id":162425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:17:26] local.INFO: Packet analysis {"connection_id":162425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:17:26] local.INFO: Extracted packet for processing {"connection_id":162425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:17:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":26,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571321600001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:17: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-22 14:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787388276000,"timestamp_ms":1787388276000,"timestamp_seconds":1787388276,"priority":1,"record_length":96,"hex_timestamp":"000001a028a4ad20"} 
[2026-08-22 14:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 14:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 14:17:26] 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-22 14:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:17:26] 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-22 14:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571321600001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571321600001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:17:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:17:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571321600001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":162425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:17:26] local.INFO: GPS data processed {"connection_id":162425,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:17:26] local.INFO: Acknowledgment sent {"connection_id":162425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:17:49] local.INFO: TCP Data received {"connection_id":162426,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:17:49] local.INFO: Processing buffer {"connection_id":162426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:17:49] local.INFO: IMEI packet received {"connection_id":162426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":162426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:17:52] local.INFO: TCP Data received {"connection_id":162427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:17:52] local.INFO: Processing buffer {"connection_id":162427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:17:52] local.INFO: IMEI packet received {"connection_id":162427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":162427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:17:54] local.INFO: TCP Data received {"connection_id":162426,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:17:54] local.INFO: Processing buffer {"connection_id":162426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:17:54] local.INFO: IMEI packet received {"connection_id":162426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":162426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:17:55] local.INFO: TCP Data received {"connection_id":162426,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:17:55] local.INFO: Processing buffer {"connection_id":162426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:17:55] local.INFO: Packet analysis {"connection_id":162426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:17:55] local.INFO: Extracted packet for processing {"connection_id":162426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":26,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571321600001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14: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-22 14:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787388276000,"timestamp_ms":1787388276000,"timestamp_seconds":1787388276,"priority":1,"record_length":96,"hex_timestamp":"000001a028a4ad20"} 
[2026-08-22 14:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:17: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-22 14:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 14:17: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-22 14:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:17:55] 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-22 14:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571321600001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571321600001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:17:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571321600001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":162426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:17:55] local.INFO: GPS data processed {"connection_id":162426,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:17:55] local.INFO: Acknowledgment sent {"connection_id":162426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:17:55] local.INFO: TCP Data received {"connection_id":162427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:17:55] local.INFO: Processing buffer {"connection_id":162427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:17:55] local.INFO: IMEI packet received {"connection_id":162427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":162427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:17:56] local.INFO: TCP Data received {"connection_id":162427,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a587e0012d196900071fee180041011d2b..."} 
[2026-08-22 14:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a587e0012d196900071fee180041011d2b..."} 
[2026-08-22 14:17:56] local.INFO: Processing buffer {"connection_id":162427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a587e0012d196900071fee180041011d2b..."} 
[2026-08-22 14:17:56] local.INFO: Packet analysis {"connection_id":162427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a5"} 
[2026-08-22 14:17:56] local.INFO: Extracted packet for processing {"connection_id":162427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a5"} 
[2026-08-22 14:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 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-22 14:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571407616001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:17: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-22 14:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787388332000,"timestamp_ms":1787388332000,"timestamp_seconds":1787388332,"priority":1,"record_length":96,"hex_timestamp":"000001a028a587e0"} 
[2026-08-22 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-22 14:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 14:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571407616001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571407616001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:17:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571407616001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":162427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:17:56] local.INFO: GPS data processed {"connection_id":162427,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:17:56] local.INFO: Acknowledgment sent {"connection_id":162427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:18:26] local.INFO: TCP Data received {"connection_id":162426,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:18:26] local.INFO: Processing buffer {"connection_id":162426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:18:26] local.INFO: Packet analysis {"connection_id":162426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:18:26] local.INFO: Extracted packet for processing {"connection_id":162426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:18:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":26,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571321600001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:18: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-22 14:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787388276000,"timestamp_ms":1787388276000,"timestamp_seconds":1787388276,"priority":1,"record_length":96,"hex_timestamp":"000001a028a4ad20"} 
[2026-08-22 14:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 14:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 14:18:26] 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-22 14:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:18:26] 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-22 14:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571321600001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571321600001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:18:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571321600001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":162426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:18:26] local.INFO: GPS data processed {"connection_id":162426,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:18:26] local.INFO: Acknowledgment sent {"connection_id":162426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:18:27] local.INFO: TCP Data received {"connection_id":162427,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a5d9e8012d196900071fee180041011d29..."} 
[2026-08-22 14:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a5d9e8012d196900071fee180041011d29..."} 
[2026-08-22 14:18:27] local.INFO: Processing buffer {"connection_id":162427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a5d9e8012d196900071fee180041011d29..."} 
[2026-08-22 14:18:27] local.INFO: Packet analysis {"connection_id":162427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a5"} 
[2026-08-22 14:18:27] local.INFO: Extracted packet for processing {"connection_id":162427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a5"} 
[2026-08-22 14:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571412992001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787388353000,"timestamp_ms":1787388353000,"timestamp_seconds":1787388353,"priority":1,"record_length":96,"hex_timestamp":"000001a028a5d9e8"} 
[2026-08-22 14:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571412992001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571412992001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:18:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571412992001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":162427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:18:27] local.INFO: GPS data processed {"connection_id":162427,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:18:27] local.INFO: Acknowledgment sent {"connection_id":162427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:18:52] local.INFO: TCP Data received {"connection_id":162428,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:18:52] local.INFO: Processing buffer {"connection_id":162428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:18:52] local.INFO: IMEI packet received {"connection_id":162428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":162428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:18:54] local.INFO: TCP Data received {"connection_id":159838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:18:54] local.INFO: Processing buffer {"connection_id":159838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:18:54] local.INFO: IMEI packet received {"connection_id":159838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":159838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:18:58] local.INFO: TCP Data received {"connection_id":162428,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:18:58] local.INFO: Processing buffer {"connection_id":162428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:18:58] local.INFO: IMEI packet received {"connection_id":162428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":162428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:18:58] local.INFO: TCP Data received {"connection_id":162428,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a62bf0012d196900071fee180041011d2b..."} 
[2026-08-22 14:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a62bf0012d196900071fee180041011d2b..."} 
[2026-08-22 14:18:58] local.INFO: Processing buffer {"connection_id":162428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a62bf0012d196900071fee180041011d2b..."} 
[2026-08-22 14:18:58] local.INFO: Packet analysis {"connection_id":162428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a6"} 
[2026-08-22 14:18:58] local.INFO: Extracted packet for processing {"connection_id":162428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a6"} 
[2026-08-22 14:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571418368001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787388374000,"timestamp_ms":1787388374000,"timestamp_seconds":1787388374,"priority":1,"record_length":96,"hex_timestamp":"000001a028a62bf0"} 
[2026-08-22 14: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-22 14:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571418368001,"66":12428,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571418368001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:18:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:18:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571418368001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":162428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:18:59] local.INFO: GPS data processed {"connection_id":162428,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:18:59] local.INFO: Acknowledgment sent {"connection_id":162428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:18:59] local.INFO: TCP Data received {"connection_id":159838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:18:59] local.INFO: Processing buffer {"connection_id":159838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:18:59] local.INFO: IMEI packet received {"connection_id":159838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":159838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:19:00] local.INFO: TCP Data received {"connection_id":159838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:19:00] local.INFO: Processing buffer {"connection_id":159838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:19:00] local.INFO: Packet analysis {"connection_id":159838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:19:00] local.INFO: Extracted packet for processing {"connection_id":159838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":26,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571321600001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:19:00] 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-22 14:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787388276000,"timestamp_ms":1787388276000,"timestamp_seconds":1787388276,"priority":1,"record_length":96,"hex_timestamp":"000001a028a4ad20"} 
[2026-08-22 14: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-22 14: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-22 14: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 14:19:00] 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-22 14: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-22 14: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-22 14:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:19: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-22 14:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571321600001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 14:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571321600001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:19:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571321600001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":159838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:19:00] local.INFO: GPS data processed {"connection_id":159838,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:19:00] local.INFO: Acknowledgment sent {"connection_id":159838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:19:04] local.INFO: TCP Data received {"connection_id":159838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:19:04] local.INFO: Processing buffer {"connection_id":159838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:19:04] local.INFO: Packet analysis {"connection_id":159838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:19:04] local.INFO: Extracted packet for processing {"connection_id":159838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":26,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571321600001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:19:04] 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-22 14:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787388276000,"timestamp_ms":1787388276000,"timestamp_seconds":1787388276,"priority":1,"record_length":96,"hex_timestamp":"000001a028a4ad20"} 
[2026-08-22 14:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14: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-22 14:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 14:19:04] 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-22 14:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571321600001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 14:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571321600001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571321600001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":159838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:19:04] local.INFO: GPS data processed {"connection_id":159838,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:19:04] local.INFO: Acknowledgment sent {"connection_id":159838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:19:30] local.INFO: TCP Data received {"connection_id":162428,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a67df8012d196900071fee180041011d2b..."} 
[2026-08-22 14:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a67df8012d196900071fee180041011d2b..."} 
[2026-08-22 14:19:30] local.INFO: Processing buffer {"connection_id":162428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a67df8012d196900071fee180041011d2b..."} 
[2026-08-22 14:19:30] local.INFO: Packet analysis {"connection_id":162428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a6"} 
[2026-08-22 14:19:30] local.INFO: Extracted packet for processing {"connection_id":162428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a6"} 
[2026-08-22 14:19:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 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-22 14:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571423744001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:19: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-22 14:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787388395000,"timestamp_ms":1787388395000,"timestamp_seconds":1787388395,"priority":1,"record_length":96,"hex_timestamp":"000001a028a67df8"} 
[2026-08-22 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-22 14:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 14:19:30] 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-22 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-22 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-22 14:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571423744001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571423744001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:19:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:19:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571423744001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":162428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:19:30] local.INFO: GPS data processed {"connection_id":162428,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:19:30] local.INFO: Acknowledgment sent {"connection_id":162428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:19:49] local.INFO: TCP Data received {"connection_id":160077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:19:49] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:19:49] local.INFO: IMEI packet received {"connection_id":160077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":160077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:19:52] local.INFO: TCP Data received {"connection_id":160078,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:19:52] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:19:52] local.INFO: IMEI packet received {"connection_id":160078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":160078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:19:54] local.INFO: TCP Data received {"connection_id":160077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:19:54] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:19:54] local.INFO: IMEI packet received {"connection_id":160077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":160077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:19:54] local.INFO: TCP Data received {"connection_id":160077,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:19:54] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a4ad20012d7fabc005afe1b8001a01212c..."} 
[2026-08-22 14:19:54] local.INFO: Packet analysis {"connection_id":160077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:19:54] local.INFO: Extracted packet for processing {"connection_id":160077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a4"} 
[2026-08-22 14:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":26,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571321600001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:19:54] 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-22 14:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787388276000,"timestamp_ms":1787388276000,"timestamp_seconds":1787388276,"priority":1,"record_length":96,"hex_timestamp":"000001a028a4ad20"} 
[2026-08-22 14: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-22 14:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 14: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 14:19:54] 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-22 14: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-22 14: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-22 14:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:19:54] local.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-22 14:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571321600001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 14:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571321600001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:19:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:19:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571321600001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":160077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:19:54] local.INFO: GPS data processed {"connection_id":160077,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:19:54] local.INFO: Acknowledgment sent {"connection_id":160077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:19:57] local.INFO: TCP Data received {"connection_id":160078,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:19:57] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:19:57] local.INFO: IMEI packet received {"connection_id":160078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":160078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:19:58] local.INFO: TCP Data received {"connection_id":160078,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a6d000012d196900071fee180041011d2c..."} 
[2026-08-22 14:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a6d000012d196900071fee180041011d2c..."} 
[2026-08-22 14:19:58] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a6d000012d196900071fee180041011d2c..."} 
[2026-08-22 14:19:58] local.INFO: Packet analysis {"connection_id":160078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a6"} 
[2026-08-22 14:19:58] local.INFO: Extracted packet for processing {"connection_id":160078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a6"} 
[2026-08-22 14:19:58] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571429120001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787388416000,"timestamp_ms":1787388416000,"timestamp_seconds":1787388416,"priority":1,"record_length":96,"hex_timestamp":"000001a028a6d000"} 
[2026-08-22 14:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571429120001,"66":12428,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571429120001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:19:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:19:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571429120001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":160078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:19:58] local.INFO: GPS data processed {"connection_id":160078,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:19:58] local.INFO: Acknowledgment sent {"connection_id":160078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:20:25] local.INFO: TCP Data received {"connection_id":160077,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:20:25] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:20:25] local.INFO: Packet analysis {"connection_id":160077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:20:25] local.INFO: Extracted packet for processing {"connection_id":160077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":23,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 14:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571398656001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:20: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-22 14:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787388577000,"timestamp_ms":1787388577000,"timestamp_seconds":1787388577,"priority":1,"record_length":96,"hex_timestamp":"000001a028a944e8"} 
[2026-08-22 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-22 14:20:25] 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-22 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:20:25] 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-22 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-22 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-22 14:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:20: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-22 14:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571398656001,"66":25549,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 14:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571398656001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:20:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571398656001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":160077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:20:25] local.INFO: GPS data processed {"connection_id":160077,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:20:25] local.INFO: Acknowledgment sent {"connection_id":160077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:20:29] local.INFO: TCP Data received {"connection_id":160078,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a72208012d196900071fee180041011d2d..."} 
[2026-08-22 14:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a72208012d196900071fee180041011d2d..."} 
[2026-08-22 14:20:29] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a72208012d196900071fee180041011d2d..."} 
[2026-08-22 14:20:29] local.INFO: Packet analysis {"connection_id":160078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a7"} 
[2026-08-22 14:20:29] local.INFO: Extracted packet for processing {"connection_id":160078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a7"} 
[2026-08-22 14:20:29] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571434496001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787388437000,"timestamp_ms":1787388437000,"timestamp_seconds":1787388437,"priority":1,"record_length":96,"hex_timestamp":"000001a028a72208"} 
[2026-08-22 14: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-22 14:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 14:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571434496001,"66":12406,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571434496001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:20:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571434496001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":160078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:20:29] local.INFO: GPS data processed {"connection_id":160078,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:20:29] local.INFO: Acknowledgment sent {"connection_id":160078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:20:49] local.INFO: TCP Data received {"connection_id":159839,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:20:49] local.INFO: Processing buffer {"connection_id":159839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:20:49] local.INFO: IMEI packet received {"connection_id":159839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":159839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:20:52] local.INFO: TCP Data received {"connection_id":162429,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:20:52] local.INFO: Processing buffer {"connection_id":162429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:20:52] local.INFO: IMEI packet received {"connection_id":162429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":162429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:20:54] local.INFO: TCP Data received {"connection_id":159839,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:20:54] local.INFO: Processing buffer {"connection_id":159839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:20:54] local.INFO: IMEI packet received {"connection_id":159839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":159839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:20:55] local.INFO: TCP Data received {"connection_id":159839,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:20:55] local.INFO: Processing buffer {"connection_id":159839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:20:55] local.INFO: Packet analysis {"connection_id":159839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:20:55] local.INFO: Extracted packet for processing {"connection_id":159839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:20:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":23,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571398656001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:20: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-22 14:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787388577000,"timestamp_ms":1787388577000,"timestamp_seconds":1787388577,"priority":1,"record_length":96,"hex_timestamp":"000001a028a944e8"} 
[2026-08-22 14:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:20: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-22 14:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:20: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-22 14:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:20:55] local.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-22 14:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571398656001,"66":25549,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 14:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571398656001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:20:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571398656001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":159839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:20:55] local.INFO: GPS data processed {"connection_id":159839,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:20:55] local.INFO: Acknowledgment sent {"connection_id":159839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:20:58] local.INFO: TCP Data received {"connection_id":162429,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:20:58] local.INFO: Processing buffer {"connection_id":162429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:20:58] local.INFO: IMEI packet received {"connection_id":162429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":162429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:20:58] local.INFO: TCP Data received {"connection_id":162429,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a77410012d196900071fee180041011d2d..."} 
[2026-08-22 14:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a77410012d196900071fee180041011d2d..."} 
[2026-08-22 14:20:58] local.INFO: Processing buffer {"connection_id":162429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a77410012d196900071fee180041011d2d..."} 
[2026-08-22 14:20:58] local.INFO: Packet analysis {"connection_id":162429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a7"} 
[2026-08-22 14:20:58] local.INFO: Extracted packet for processing {"connection_id":162429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a7"} 
[2026-08-22 14:20:58] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571439872001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787388458000,"timestamp_ms":1787388458000,"timestamp_seconds":1787388458,"priority":1,"record_length":96,"hex_timestamp":"000001a028a77410"} 
[2026-08-22 14: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-22 14:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 14:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571439872001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571439872001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:20:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:20:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571439872001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":162429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:20:59] local.INFO: GPS data processed {"connection_id":162429,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:20:59] local.INFO: Acknowledgment sent {"connection_id":162429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:21:25] local.INFO: TCP Data received {"connection_id":159839,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:21:25] local.INFO: Processing buffer {"connection_id":159839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:21:25] local.INFO: Packet analysis {"connection_id":159839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:21:25] local.INFO: Extracted packet for processing {"connection_id":159839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:21:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":23,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571398656001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:21: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-22 14:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787388577000,"timestamp_ms":1787388577000,"timestamp_seconds":1787388577,"priority":1,"record_length":96,"hex_timestamp":"000001a028a944e8"} 
[2026-08-22 14: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-22 14:21:25] 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-22 14: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:21:25] 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-22 14: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-22 14: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-22 14:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:21: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-22 14:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571398656001,"66":25549,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 14:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571398656001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:21:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571398656001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":159839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:21:25] local.INFO: GPS data processed {"connection_id":159839,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:21:25] local.INFO: Acknowledgment sent {"connection_id":159839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:21:30] local.INFO: TCP Data received {"connection_id":162429,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a7c618012d196900071fee180041011d2c..."} 
[2026-08-22 14:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a7c618012d196900071fee180041011d2c..."} 
[2026-08-22 14:21:30] local.INFO: Processing buffer {"connection_id":162429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a7c618012d196900071fee180041011d2c..."} 
[2026-08-22 14:21:30] local.INFO: Packet analysis {"connection_id":162429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a7"} 
[2026-08-22 14:21:30] local.INFO: Extracted packet for processing {"connection_id":162429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a7"} 
[2026-08-22 14:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571445248001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:21: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-22 14:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787388479000,"timestamp_ms":1787388479000,"timestamp_seconds":1787388479,"priority":1,"record_length":96,"hex_timestamp":"000001a028a7c618"} 
[2026-08-22 14: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-22 14:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571445248001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571445248001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:21:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571445248001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":162429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:21:30] local.INFO: GPS data processed {"connection_id":162429,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:21:30] local.INFO: Acknowledgment sent {"connection_id":162429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:21:49] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:21:49] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:21:49] local.INFO: IMEI packet received {"connection_id":160079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":160079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:21:54] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:21:54] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:21:54] local.INFO: IMEI packet received {"connection_id":160079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":160079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:21:54] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:21:54] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:21:54] local.INFO: Packet analysis {"connection_id":160079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:21:54] local.INFO: Extracted packet for processing {"connection_id":160079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":23,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571398656001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:21:54] 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-22 14:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787388577000,"timestamp_ms":1787388577000,"timestamp_seconds":1787388577,"priority":1,"record_length":96,"hex_timestamp":"000001a028a944e8"} 
[2026-08-22 14:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14: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-22 14:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:21:54] 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-22 14:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:21:54] local.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-22 14:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571398656001,"66":25549,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 14:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571398656001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:21:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:21:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571398656001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":160079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:21:54] local.INFO: GPS data processed {"connection_id":160079,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:21:54] local.INFO: Acknowledgment sent {"connection_id":160079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:21:58] local.INFO: TCP Data received {"connection_id":159840,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:21:58] local.INFO: Processing buffer {"connection_id":159840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:21:58] local.INFO: IMEI packet received {"connection_id":159840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":159840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:22:03] local.INFO: TCP Data received {"connection_id":159840,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:22:03] local.INFO: Processing buffer {"connection_id":159840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:22:03] local.INFO: IMEI packet received {"connection_id":159840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":159840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:22:04] local.INFO: TCP Data received {"connection_id":159840,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a81820012d196900071fee180041011d2b..."} 
[2026-08-22 14:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a81820012d196900071fee180041011d2b..."} 
[2026-08-22 14:22:04] local.INFO: Processing buffer {"connection_id":159840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a81820012d196900071fee180041011d2b..."} 
[2026-08-22 14:22:04] local.INFO: Packet analysis {"connection_id":159840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a8"} 
[2026-08-22 14:22:04] local.INFO: Extracted packet for processing {"connection_id":159840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a8"} 
[2026-08-22 14:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571450624001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787388500000,"timestamp_ms":1787388500000,"timestamp_seconds":1787388500,"priority":1,"record_length":96,"hex_timestamp":"000001a028a81820"} 
[2026-08-22 14: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-22 14:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571450624001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571450624001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:22:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:22:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571450624001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":159840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:22:04] local.INFO: GPS data processed {"connection_id":159840,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:22:04] local.INFO: Acknowledgment sent {"connection_id":159840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:22:07] local.INFO: TCP Data received {"connection_id":159840,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a86a28012d196900071fee180041011d29..."} 
[2026-08-22 14:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a86a28012d196900071fee180041011d29..."} 
[2026-08-22 14:22:07] local.INFO: Processing buffer {"connection_id":159840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a86a28012d196900071fee180041011d29..."} 
[2026-08-22 14:22:07] local.INFO: Packet analysis {"connection_id":159840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a8"} 
[2026-08-22 14:22:07] local.INFO: Extracted packet for processing {"connection_id":159840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a8"} 
[2026-08-22 14:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571456000001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787388521000,"timestamp_ms":1787388521000,"timestamp_seconds":1787388521,"priority":1,"record_length":96,"hex_timestamp":"000001a028a86a28"} 
[2026-08-22 14:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:22: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-22 14:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:22:07] 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-22 14:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571456000001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571456000001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:22:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571456000001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":159840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:22:07] local.INFO: GPS data processed {"connection_id":159840,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:22:07] local.INFO: Acknowledgment sent {"connection_id":159840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:22:25] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:22:25] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:22:25] local.INFO: Packet analysis {"connection_id":160079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:22:25] local.INFO: Extracted packet for processing {"connection_id":160079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:22:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":23,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571398656001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:22: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-22 14:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787388577000,"timestamp_ms":1787388577000,"timestamp_seconds":1787388577,"priority":1,"record_length":96,"hex_timestamp":"000001a028a944e8"} 
[2026-08-22 14:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:22:25] 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-22 14:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:22:25] 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-22 14:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:22: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-22 14:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571398656001,"66":25549,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 14:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571398656001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:22:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:22:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571398656001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":160079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:22:25] local.INFO: GPS data processed {"connection_id":160079,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:22:25] local.INFO: Acknowledgment sent {"connection_id":160079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:22:49] local.INFO: TCP Data received {"connection_id":160997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:22:49] local.INFO: Processing buffer {"connection_id":160997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:22:49] local.INFO: IMEI packet received {"connection_id":160997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":160997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:22:52] local.INFO: TCP Data received {"connection_id":160998,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:22:52] local.INFO: Processing buffer {"connection_id":160998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:22:52] local.INFO: IMEI packet received {"connection_id":160998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":160998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:22:54] local.INFO: TCP Data received {"connection_id":160997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:22:54] local.INFO: Processing buffer {"connection_id":160997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:22:54] local.INFO: IMEI packet received {"connection_id":160997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":160997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:22:58] local.INFO: TCP Data received {"connection_id":160998,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:22:58] local.INFO: Processing buffer {"connection_id":160998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:22:58] local.INFO: IMEI packet received {"connection_id":160998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":160998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:22:59] local.INFO: TCP Data received {"connection_id":160998,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a8bc30012d196900071fee180041011d2b..."} 
[2026-08-22 14:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a8bc30012d196900071fee180041011d2b..."} 
[2026-08-22 14:22:59] local.INFO: Processing buffer {"connection_id":160998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a8bc30012d196900071fee180041011d2b..."} 
[2026-08-22 14:22:59] local.INFO: Packet analysis {"connection_id":160998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a8"} 
[2026-08-22 14:22:59] local.INFO: Extracted packet for processing {"connection_id":160998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a8"} 
[2026-08-22 14:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571461376001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:22: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-22 14:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787388542000,"timestamp_ms":1787388542000,"timestamp_seconds":1787388542,"priority":1,"record_length":96,"hex_timestamp":"000001a028a8bc30"} 
[2026-08-22 14: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-22 14:22: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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571461376001,"66":12406,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571461376001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:22:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571461376001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":160998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:22:59] local.INFO: GPS data processed {"connection_id":160998,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:22:59] local.INFO: Acknowledgment sent {"connection_id":160998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:22:59] local.INFO: TCP Data received {"connection_id":160997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:22:59] local.INFO: Processing buffer {"connection_id":160997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:22:59] local.INFO: Packet analysis {"connection_id":160997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:22:59] local.INFO: Extracted packet for processing {"connection_id":160997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":23,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571398656001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:22:59] 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-22 14:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787388577000,"timestamp_ms":1787388577000,"timestamp_seconds":1787388577,"priority":1,"record_length":96,"hex_timestamp":"000001a028a944e8"} 
[2026-08-22 14: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-22 14: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-22 14: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":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:22:59] 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-22 14: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-22 14: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-22 14:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:22: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-22 14:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571398656001,"66":25549,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 14:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571398656001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:22:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571398656001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":160997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:22:59] local.INFO: GPS data processed {"connection_id":160997,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:22:59] local.INFO: Acknowledgment sent {"connection_id":160997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:23:30] local.INFO: TCP Data received {"connection_id":160998,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a90e38012d196900071fee180041011d2a..."} 
[2026-08-22 14:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a90e38012d196900071fee180041011d2a..."} 
[2026-08-22 14:23:30] local.INFO: Processing buffer {"connection_id":160998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a90e38012d196900071fee180041011d2a..."} 
[2026-08-22 14:23:30] local.INFO: Packet analysis {"connection_id":160998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:23:30] local.INFO: Extracted packet for processing {"connection_id":160998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:23:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 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-22 14:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571466752001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:23: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-22 14:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787388563000,"timestamp_ms":1787388563000,"timestamp_seconds":1787388563,"priority":1,"record_length":96,"hex_timestamp":"000001a028a90e38"} 
[2026-08-22 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-22 14:23: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-22 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 14:23:30] 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-22 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-22 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-22 14:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571466752001,"66":12406,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571466752001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:23:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:23:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571466752001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":160998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:23:30] local.INFO: GPS data processed {"connection_id":160998,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:23:30] local.INFO: Acknowledgment sent {"connection_id":160998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:23:30] local.INFO: TCP Data received {"connection_id":160997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:23:30] local.INFO: Processing buffer {"connection_id":160997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:23:30] local.INFO: Packet analysis {"connection_id":160997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:23:30] local.INFO: Extracted packet for processing {"connection_id":160997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:23:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":23,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 14:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571398656001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:23:30] 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-22 14:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787388577000,"timestamp_ms":1787388577000,"timestamp_seconds":1787388577,"priority":1,"record_length":96,"hex_timestamp":"000001a028a944e8"} 
[2026-08-22 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-22 14: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-22 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:23:30] 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-22 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-22 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-22 14:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:23: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-22 14:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571398656001,"66":25549,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"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-22 14:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571398656001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:23:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:23:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571398656001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":160997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:23:30] local.INFO: GPS data processed {"connection_id":160997,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:23:30] local.INFO: Acknowledgment sent {"connection_id":160997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:23:49] local.INFO: TCP Data received {"connection_id":160999,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:23:49] local.INFO: Processing buffer {"connection_id":160999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:23:49] local.INFO: IMEI packet received {"connection_id":160999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":160999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:23:51] local.INFO: TCP Data received {"connection_id":160080,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:23:51] local.INFO: Processing buffer {"connection_id":160080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:23:51] local.INFO: IMEI packet received {"connection_id":160080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":160080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:23:52] local.INFO: TCP Data received {"connection_id":160080,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:23:52] local.INFO: Processing buffer {"connection_id":160080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:23:52] local.INFO: IMEI packet received {"connection_id":160080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":160080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:23:54] local.INFO: TCP Data received {"connection_id":160999,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:23:54] local.INFO: Processing buffer {"connection_id":160999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:23:54] local.INFO: IMEI packet received {"connection_id":160999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":160999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:23:55] local.INFO: TCP Data received {"connection_id":160999,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:23:55] local.INFO: Processing buffer {"connection_id":160999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:23:55] local.INFO: Packet analysis {"connection_id":160999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:23:55] local.INFO: Extracted packet for processing {"connection_id":160999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:23:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":23,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571398656001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:23: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-22 14:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787388577000,"timestamp_ms":1787388577000,"timestamp_seconds":1787388577,"priority":1,"record_length":96,"hex_timestamp":"000001a028a944e8"} 
[2026-08-22 14:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14: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-22 14:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14: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-22 14:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:23: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-22 14:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571398656001,"66":25549,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571398656001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:23:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571398656001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":160999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:23:55] local.INFO: GPS data processed {"connection_id":160999,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:23:55] local.INFO: Acknowledgment sent {"connection_id":160999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:23:58] local.INFO: TCP Data received {"connection_id":160080,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:23:58] local.INFO: Processing buffer {"connection_id":160080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:23:58] local.INFO: IMEI packet received {"connection_id":160080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":160080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:23:59] local.INFO: TCP Data received {"connection_id":160080,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a96040012d196900071fee180041011d2a..."} 
[2026-08-22 14:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a96040012d196900071fee180041011d2a..."} 
[2026-08-22 14:23:59] local.INFO: Processing buffer {"connection_id":160080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a96040012d196900071fee180041011d2a..."} 
[2026-08-22 14:23:59] local.INFO: Packet analysis {"connection_id":160080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:23:59] local.INFO: Extracted packet for processing {"connection_id":160080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571472128001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:23: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-22 14:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787388584000,"timestamp_ms":1787388584000,"timestamp_seconds":1787388584,"priority":1,"record_length":96,"hex_timestamp":"000001a028a96040"} 
[2026-08-22 14: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-22 14:23: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-22 14:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 14:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571472128001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571472128001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:23:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:23:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571472128001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":160080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:23:59] local.INFO: GPS data processed {"connection_id":160080,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:23:59] local.INFO: Acknowledgment sent {"connection_id":160080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:24:26] local.INFO: TCP Data received {"connection_id":160999,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:24:26] local.INFO: Processing buffer {"connection_id":160999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:24:26] local.INFO: Packet analysis {"connection_id":160999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:24:26] local.INFO: Extracted packet for processing {"connection_id":160999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:24:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":23,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 14:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571398656001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:24: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-22 14:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787388577000,"timestamp_ms":1787388577000,"timestamp_seconds":1787388577,"priority":1,"record_length":96,"hex_timestamp":"000001a028a944e8"} 
[2026-08-22 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-22 14:24:26] 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-22 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:24:26] 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-22 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-22 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-22 14:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:24:26] 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-22 14:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571398656001,"66":25549,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571398656001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:24:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571398656001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":160999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:24:26] local.INFO: GPS data processed {"connection_id":160999,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:24:26] local.INFO: Acknowledgment sent {"connection_id":160999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:24:30] local.INFO: TCP Data received {"connection_id":160080,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028a9b248012d196900071fee180041011d2b..."} 
[2026-08-22 14:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a9b248012d196900071fee180041011d2b..."} 
[2026-08-22 14:24:30] local.INFO: Processing buffer {"connection_id":160080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a9b248012d196900071fee180041011d2b..."} 
[2026-08-22 14:24:30] local.INFO: Packet analysis {"connection_id":160080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:24:30] local.INFO: Extracted packet for processing {"connection_id":160080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 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-22 14:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571477504001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:24: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-22 14:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787388605000,"timestamp_ms":1787388605000,"timestamp_seconds":1787388605,"priority":1,"record_length":96,"hex_timestamp":"000001a028a9b248"} 
[2026-08-22 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-22 14:24: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-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 14:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571477504001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571477504001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:24:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571477504001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":160080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:24:30] local.INFO: GPS data processed {"connection_id":160080,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:24:30] local.INFO: Acknowledgment sent {"connection_id":160080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:24:52] local.INFO: TCP Data received {"connection_id":160081,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:24:52] local.INFO: Processing buffer {"connection_id":160081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:24:52] local.INFO: IMEI packet received {"connection_id":160081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":160081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:24:54] local.INFO: TCP Data received {"connection_id":162430,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:24:54] local.INFO: Processing buffer {"connection_id":162430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:24:54] local.INFO: IMEI packet received {"connection_id":162430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":162430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:24:55] local.INFO: TCP Data received {"connection_id":160081,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:24:55] local.INFO: Processing buffer {"connection_id":160081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:24:55] local.INFO: IMEI packet received {"connection_id":160081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":160081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:24:58] local.INFO: TCP Data received {"connection_id":160081,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:24:58] local.INFO: Processing buffer {"connection_id":160081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:24:58] local.INFO: IMEI packet received {"connection_id":160081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":160081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:24:58] local.INFO: TCP Data received {"connection_id":160081,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028aa0450012d196900071fee180041011d29..."} 
[2026-08-22 14:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028aa0450012d196900071fee180041011d29..."} 
[2026-08-22 14:24:58] local.INFO: Processing buffer {"connection_id":160081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028aa0450012d196900071fee180041011d29..."} 
[2026-08-22 14:24:58] local.INFO: Packet analysis {"connection_id":160081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028aa"} 
[2026-08-22 14:24:58] local.INFO: Extracted packet for processing {"connection_id":160081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028aa"} 
[2026-08-22 14:24:58] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571482880001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787388626000,"timestamp_ms":1787388626000,"timestamp_seconds":1787388626,"priority":1,"record_length":96,"hex_timestamp":"000001a028aa0450"} 
[2026-08-22 14:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571482880001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571482880001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:24:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571482880001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":160081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:24:59] local.INFO: GPS data processed {"connection_id":160081,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:24:59] local.INFO: Acknowledgment sent {"connection_id":160081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:24:59] local.INFO: TCP Data received {"connection_id":162430,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:24:59] local.INFO: Processing buffer {"connection_id":162430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:24:59] local.INFO: IMEI packet received {"connection_id":162430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":162430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:25:00] local.INFO: TCP Data received {"connection_id":162430,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:25:00] local.INFO: Processing buffer {"connection_id":162430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:25:00] local.INFO: Packet analysis {"connection_id":162430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:25:00] local.INFO: Extracted packet for processing {"connection_id":162430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":23,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571398656001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:25:00] 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-22 14:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787388577000,"timestamp_ms":1787388577000,"timestamp_seconds":1787388577,"priority":1,"record_length":96,"hex_timestamp":"000001a028a944e8"} 
[2026-08-22 14: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-22 14:25: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-22 14: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:25:00] 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-22 14: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-22 14: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-22 14:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:25:00] 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-22 14:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571398656001,"66":25549,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571398656001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:25:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:25:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571398656001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":162430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:25:00] local.INFO: GPS data processed {"connection_id":162430,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:25:00] local.INFO: Acknowledgment sent {"connection_id":162430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:25:04] local.INFO: TCP Data received {"connection_id":162430,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:25:04] local.INFO: Processing buffer {"connection_id":162430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028a944e8012d7fabc005afe1b8001701212b..."} 
[2026-08-22 14:25:04] local.INFO: Packet analysis {"connection_id":162430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:25:04] local.INFO: Extracted packet for processing {"connection_id":162430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028a9"} 
[2026-08-22 14:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":23,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571398656001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:25:04] 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-22 14:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787388577000,"timestamp_ms":1787388577000,"timestamp_seconds":1787388577,"priority":1,"record_length":96,"hex_timestamp":"000001a028a944e8"} 
[2026-08-22 14:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:25: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-22 14:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:25:04] 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-22 14:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:25: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-22 14:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571398656001,"66":25549,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571398656001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:25:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571398656001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":162430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:25:04] local.INFO: GPS data processed {"connection_id":162430,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:25:04] local.INFO: Acknowledgment sent {"connection_id":162430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:25:30] local.INFO: TCP Data received {"connection_id":160081,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028aa5658012d196900071fee180041011d2b..."} 
[2026-08-22 14:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028aa5658012d196900071fee180041011d2b..."} 
[2026-08-22 14:25:30] local.INFO: Processing buffer {"connection_id":160081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028aa5658012d196900071fee180041011d2b..."} 
[2026-08-22 14:25:30] local.INFO: Packet analysis {"connection_id":160081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028aa"} 
[2026-08-22 14:25:30] local.INFO: Extracted packet for processing {"connection_id":160081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028aa"} 
[2026-08-22 14:25:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571488256001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:25: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-22 14:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787388647000,"timestamp_ms":1787388647000,"timestamp_seconds":1787388647,"priority":1,"record_length":96,"hex_timestamp":"000001a028aa5658"} 
[2026-08-22 14: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-22 14:25: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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571488256001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571488256001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:25:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:25:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571488256001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":160081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:25:30] local.INFO: GPS data processed {"connection_id":160081,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:25:30] local.INFO: Acknowledgment sent {"connection_id":160081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:25:52] local.INFO: TCP Data received {"connection_id":162431,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:25:52] local.INFO: Processing buffer {"connection_id":162431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:25:52] local.INFO: IMEI packet received {"connection_id":162431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":162431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:25:58] local.INFO: TCP Data received {"connection_id":162431,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:25:58] local.INFO: Processing buffer {"connection_id":162431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:25:58] local.INFO: IMEI packet received {"connection_id":162431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":162431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:25:59] local.INFO: TCP Data received {"connection_id":162431,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028aaa860012d196900071fee180041011d28..."} 
[2026-08-22 14:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028aaa860012d196900071fee180041011d28..."} 
[2026-08-22 14:25:59] local.INFO: Processing buffer {"connection_id":162431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028aaa860012d196900071fee180041011d28..."} 
[2026-08-22 14:25:59] local.INFO: Packet analysis {"connection_id":162431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028aa"} 
[2026-08-22 14:25:59] local.INFO: Extracted packet for processing {"connection_id":162431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028aa"} 
[2026-08-22 14:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571493632001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:25: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-22 14:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787388668000,"timestamp_ms":1787388668000,"timestamp_seconds":1787388668,"priority":1,"record_length":96,"hex_timestamp":"000001a028aaa860"} 
[2026-08-22 14: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-22 14:25: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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571493632001,"66":12428,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571493632001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:25:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571493632001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":162431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:25:59] local.INFO: GPS data processed {"connection_id":162431,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:25:59] local.INFO: Acknowledgment sent {"connection_id":162431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:26:04] local.INFO: TCP Data received {"connection_id":160082,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:26:04] local.INFO: Processing buffer {"connection_id":160082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:26:04] local.INFO: IMEI packet received {"connection_id":160082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":160082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:26:09] local.INFO: TCP Data received {"connection_id":160082,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:26:09] local.INFO: Processing buffer {"connection_id":160082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:26:09] local.INFO: IMEI packet received {"connection_id":160082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":160082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:26:10] local.INFO: TCP Data received {"connection_id":160082,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:26:10] local.INFO: Processing buffer {"connection_id":160082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:26:10] local.INFO: Packet analysis {"connection_id":160082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ad"} 
[2026-08-22 14:26:10] local.INFO: Extracted packet for processing {"connection_id":160082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ad"} 
[2026-08-22 14:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571475712001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:26:10] 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-22 14:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787388878000,"timestamp_ms":1787388878000,"timestamp_seconds":1787388878,"priority":1,"record_length":96,"hex_timestamp":"000001a028addcb0"} 
[2026-08-22 14: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-22 14:26: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-22 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 14:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:26:10] 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-22 14:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571475712001,"66":25538,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571475712001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:26:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571475712001,"power":25538,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":160082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:26:10] local.INFO: GPS data processed {"connection_id":160082,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:26:10] local.INFO: Acknowledgment sent {"connection_id":160082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:26:30] local.INFO: TCP Data received {"connection_id":162431,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028ae2eb8012d196900071fee180041011d2a..."} 
[2026-08-22 14:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ae2eb8012d196900071fee180041011d2a..."} 
[2026-08-22 14:26:30] local.INFO: Processing buffer {"connection_id":162431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ae2eb8012d196900071fee180041011d2a..."} 
[2026-08-22 14:26:30] local.INFO: Packet analysis {"connection_id":162431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ae"} 
[2026-08-22 14:26:30] local.INFO: Extracted packet for processing {"connection_id":162431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ae"} 
[2026-08-22 14:26:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571552768001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:26: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-22 14:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787388899000,"timestamp_ms":1787388899000,"timestamp_seconds":1787388899,"priority":1,"record_length":96,"hex_timestamp":"000001a028ae2eb8"} 
[2026-08-22 14: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-22 14:26: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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571552768001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571552768001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:26:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571552768001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":162431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:26:30] local.INFO: GPS data processed {"connection_id":162431,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:26:30] local.INFO: Acknowledgment sent {"connection_id":162431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:26:49] local.INFO: TCP Data received {"connection_id":162432,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:26:49] local.INFO: Processing buffer {"connection_id":162432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:26:49] local.INFO: IMEI packet received {"connection_id":162432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":162432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:26:52] local.INFO: TCP Data received {"connection_id":162433,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:26:52] local.INFO: Processing buffer {"connection_id":162433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:26:52] local.INFO: IMEI packet received {"connection_id":162433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":162433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:26:54] local.INFO: TCP Data received {"connection_id":162432,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:26:54] local.INFO: Processing buffer {"connection_id":162432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:26:54] local.INFO: IMEI packet received {"connection_id":162432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":162432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:26:55] local.INFO: TCP Data received {"connection_id":162432,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:26:55] local.INFO: Processing buffer {"connection_id":162432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:26:55] local.INFO: Packet analysis {"connection_id":162432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ad"} 
[2026-08-22 14:26:55] local.INFO: Extracted packet for processing {"connection_id":162432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ad"} 
[2026-08-22 14:26:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571475712001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:26: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-22 14:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787388878000,"timestamp_ms":1787388878000,"timestamp_seconds":1787388878,"priority":1,"record_length":96,"hex_timestamp":"000001a028addcb0"} 
[2026-08-22 14: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-22 14:26: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-22 14: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":205,"data_length":795,"current_offset":136} 
[2026-08-22 14:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:26: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-22 14:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571475712001,"66":25538,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571475712001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:26:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:26:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571475712001,"power":25538,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":162432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:26:55] local.INFO: GPS data processed {"connection_id":162432,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:26:55] local.INFO: Acknowledgment sent {"connection_id":162432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:26:58] local.INFO: TCP Data received {"connection_id":162433,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:26:58] local.INFO: Processing buffer {"connection_id":162433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:26:58] local.INFO: IMEI packet received {"connection_id":162433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":162433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:26:58] local.INFO: TCP Data received {"connection_id":162433,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028ae80c0012d196900071fee180041011d2a..."} 
[2026-08-22 14:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ae80c0012d196900071fee180041011d2a..."} 
[2026-08-22 14:26:58] local.INFO: Processing buffer {"connection_id":162433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ae80c0012d196900071fee180041011d2a..."} 
[2026-08-22 14:26:58] local.INFO: Packet analysis {"connection_id":162433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ae"} 
[2026-08-22 14:26:58] local.INFO: Extracted packet for processing {"connection_id":162433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ae"} 
[2026-08-22 14:26:58] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 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-22 14:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571558144001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787388920000,"timestamp_ms":1787388920000,"timestamp_seconds":1787388920,"priority":1,"record_length":96,"hex_timestamp":"000001a028ae80c0"} 
[2026-08-22 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-22 14:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 14:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571558144001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571558144001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:26:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571558144001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":162433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:26:59] local.INFO: GPS data processed {"connection_id":162433,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:26:59] local.INFO: Acknowledgment sent {"connection_id":162433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:27:26] local.INFO: TCP Data received {"connection_id":162432,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:27:26] local.INFO: Processing buffer {"connection_id":162432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:27:26] local.INFO: Packet analysis {"connection_id":162432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ad"} 
[2026-08-22 14:27:26] local.INFO: Extracted packet for processing {"connection_id":162432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ad"} 
[2026-08-22 14:27:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571475712001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:27: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-22 14:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787388878000,"timestamp_ms":1787388878000,"timestamp_seconds":1787388878,"priority":1,"record_length":96,"hex_timestamp":"000001a028addcb0"} 
[2026-08-22 14: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-22 14:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 14:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:27:26] 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-22 14:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571475712001,"66":25538,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571475712001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:27:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:27:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571475712001,"power":25538,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":162432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:27:26] local.INFO: GPS data processed {"connection_id":162432,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:27:26] local.INFO: Acknowledgment sent {"connection_id":162432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:27:30] local.INFO: TCP Data received {"connection_id":162433,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028aed2c8012d196900071fee180041011d2a..."} 
[2026-08-22 14:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028aed2c8012d196900071fee180041011d2a..."} 
[2026-08-22 14:27:30] local.INFO: Processing buffer {"connection_id":162433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028aed2c8012d196900071fee180041011d2a..."} 
[2026-08-22 14:27:30] local.INFO: Packet analysis {"connection_id":162433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ae"} 
[2026-08-22 14:27:30] local.INFO: Extracted packet for processing {"connection_id":162433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ae"} 
[2026-08-22 14:27:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571563520001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:27: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-22 14:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787388941000,"timestamp_ms":1787388941000,"timestamp_seconds":1787388941,"priority":1,"record_length":96,"hex_timestamp":"000001a028aed2c8"} 
[2026-08-22 14: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-22 14:27: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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571563520001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571563520001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:27:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571563520001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":162433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:27:30] local.INFO: GPS data processed {"connection_id":162433,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:27:30] local.INFO: Acknowledgment sent {"connection_id":162433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:27:49] local.INFO: TCP Data received {"connection_id":162434,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:27:49] local.INFO: Processing buffer {"connection_id":162434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:27:49] local.INFO: IMEI packet received {"connection_id":162434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":162434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:27:54] local.INFO: TCP Data received {"connection_id":162434,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:27:54] local.INFO: Processing buffer {"connection_id":162434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:27:54] local.INFO: IMEI packet received {"connection_id":162434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":162434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:27:55] local.INFO: TCP Data received {"connection_id":162434,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:27:55] local.INFO: Processing buffer {"connection_id":162434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:27:55] local.INFO: Packet analysis {"connection_id":162434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ad"} 
[2026-08-22 14:27:55] local.INFO: Extracted packet for processing {"connection_id":162434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ad"} 
[2026-08-22 14:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571475712001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:27: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-22 14:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787388878000,"timestamp_ms":1787388878000,"timestamp_seconds":1787388878,"priority":1,"record_length":96,"hex_timestamp":"000001a028addcb0"} 
[2026-08-22 14:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:27: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-22 14:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 14:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:27: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-22 14:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571475712001,"66":25538,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571475712001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:27:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:27:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571475712001,"power":25538,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":162434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:27:55] local.INFO: GPS data processed {"connection_id":162434,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:27:55] local.INFO: Acknowledgment sent {"connection_id":162434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:27:58] local.INFO: TCP Data received {"connection_id":162435,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:27:58] local.INFO: Processing buffer {"connection_id":162435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:27:58] local.INFO: IMEI packet received {"connection_id":162435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":162435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:28:03] local.INFO: TCP Data received {"connection_id":162435,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:28:03] local.INFO: Processing buffer {"connection_id":162435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:28:03] local.INFO: IMEI packet received {"connection_id":162435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":162435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:28:03] local.INFO: TCP Data received {"connection_id":162435,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028af24d0012d196900071fee180041011d2d..."} 
[2026-08-22 14:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028af24d0012d196900071fee180041011d2d..."} 
[2026-08-22 14:28:03] local.INFO: Processing buffer {"connection_id":162435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028af24d0012d196900071fee180041011d2d..."} 
[2026-08-22 14:28:03] local.INFO: Packet analysis {"connection_id":162435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028af"} 
[2026-08-22 14:28:03] local.INFO: Extracted packet for processing {"connection_id":162435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028af"} 
[2026-08-22 14:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571568896001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787388962000,"timestamp_ms":1787388962000,"timestamp_seconds":1787388962,"priority":1,"record_length":96,"hex_timestamp":"000001a028af24d0"} 
[2026-08-22 14: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-22 14:28: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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571568896001,"66":12428,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571568896001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:28:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571568896001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":162435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:28:04] local.INFO: GPS data processed {"connection_id":162435,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:28:04] local.INFO: Acknowledgment sent {"connection_id":162435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:28:04] local.INFO: TCP Data received {"connection_id":162435,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028af76d8012d196900071fee180041011d2a..."} 
[2026-08-22 14:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028af76d8012d196900071fee180041011d2a..."} 
[2026-08-22 14:28:04] local.INFO: Processing buffer {"connection_id":162435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028af76d8012d196900071fee180041011d2a..."} 
[2026-08-22 14:28:04] local.INFO: Packet analysis {"connection_id":162435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028af"} 
[2026-08-22 14:28:04] local.INFO: Extracted packet for processing {"connection_id":162435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028af"} 
[2026-08-22 14:28:04] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 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-22 14:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571574272001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787388983000,"timestamp_ms":1787388983000,"timestamp_seconds":1787388983,"priority":1,"record_length":96,"hex_timestamp":"000001a028af76d8"} 
[2026-08-22 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-22 14:28:04] 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-22 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 14:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 14:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571574272001,"66":12232,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571574272001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:28:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:28:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571574272001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":162435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:28:04] local.INFO: GPS data processed {"connection_id":162435,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:28:04] local.INFO: Acknowledgment sent {"connection_id":162435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:28:26] local.INFO: TCP Data received {"connection_id":162434,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:28:26] local.INFO: Processing buffer {"connection_id":162434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:28:26] local.INFO: Packet analysis {"connection_id":162434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ad"} 
[2026-08-22 14:28:26] local.INFO: Extracted packet for processing {"connection_id":162434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ad"} 
[2026-08-22 14:28:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 14:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571475712001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:28: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-22 14:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787388878000,"timestamp_ms":1787388878000,"timestamp_seconds":1787388878,"priority":1,"record_length":96,"hex_timestamp":"000001a028addcb0"} 
[2026-08-22 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-22 14:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 14:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 14:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:28:26] 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-22 14:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571475712001,"66":25538,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571475712001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:28:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:28:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571475712001,"power":25538,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":162434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:28:26] local.INFO: GPS data processed {"connection_id":162434,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:28:26] local.INFO: Acknowledgment sent {"connection_id":162434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:28:35] local.INFO: TCP Data received {"connection_id":162435,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028afc8e0012d196900071fee180041011d2a..."} 
[2026-08-22 14:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028afc8e0012d196900071fee180041011d2a..."} 
[2026-08-22 14:28:35] local.INFO: Processing buffer {"connection_id":162435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028afc8e0012d196900071fee180041011d2a..."} 
[2026-08-22 14:28:35] local.INFO: Packet analysis {"connection_id":162435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028af"} 
[2026-08-22 14:28:35] local.INFO: Extracted packet for processing {"connection_id":162435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028af"} 
[2026-08-22 14:28:35] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571579648001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787389004000,"timestamp_ms":1787389004000,"timestamp_seconds":1787389004,"priority":1,"record_length":96,"hex_timestamp":"000001a028afc8e0"} 
[2026-08-22 14: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-22 14:28: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-22 14: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 14:28:35] 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-22 14: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-22 14: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-22 14:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":162435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":162435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":162435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571579648001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571579648001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:28:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:28:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571579648001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":162435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:28:35] local.INFO: GPS data processed {"connection_id":162435,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:28:35] local.INFO: Acknowledgment sent {"connection_id":162435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:28:52] local.INFO: TCP Data received {"connection_id":159841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:28:52] local.INFO: Processing buffer {"connection_id":159841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:28:52] local.INFO: IMEI packet received {"connection_id":159841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":159841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:28:54] local.INFO: TCP Data received {"connection_id":161000,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:28:54] local.INFO: Processing buffer {"connection_id":161000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:28:54] local.INFO: IMEI packet received {"connection_id":161000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":161000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:28:58] local.INFO: TCP Data received {"connection_id":159841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:28:58] local.INFO: Processing buffer {"connection_id":159841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:28:58] local.INFO: IMEI packet received {"connection_id":159841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":159841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:28:58] local.INFO: TCP Data received {"connection_id":159841,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b01ae8012d196900071fee180041011d2c..."} 
[2026-08-22 14:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b01ae8012d196900071fee180041011d2c..."} 
[2026-08-22 14:28:59] local.INFO: Processing buffer {"connection_id":159841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b01ae8012d196900071fee180041011d2c..."} 
[2026-08-22 14:28:59] local.INFO: Packet analysis {"connection_id":159841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b0"} 
[2026-08-22 14:28:59] local.INFO: Extracted packet for processing {"connection_id":159841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b0"} 
[2026-08-22 14:28:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571585024001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:28: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-22 14:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787389025000,"timestamp_ms":1787389025000,"timestamp_seconds":1787389025,"priority":1,"record_length":96,"hex_timestamp":"000001a028b01ae8"} 
[2026-08-22 14: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-22 14:28: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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571585024001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571585024001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:28:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:28:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571585024001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":159841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:28:59] local.INFO: GPS data processed {"connection_id":159841,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:28:59] local.INFO: Acknowledgment sent {"connection_id":159841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:28:59] local.INFO: TCP Data received {"connection_id":161000,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:28:59] local.INFO: Processing buffer {"connection_id":161000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:28:59] local.INFO: IMEI packet received {"connection_id":161000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":161000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:29:00] local.INFO: TCP Data received {"connection_id":161000,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:29:00] local.INFO: Processing buffer {"connection_id":161000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:29:00] local.INFO: Packet analysis {"connection_id":161000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ad"} 
[2026-08-22 14:29:00] local.INFO: Extracted packet for processing {"connection_id":161000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ad"} 
[2026-08-22 14:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571475712001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:29:00] 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-22 14:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787388878000,"timestamp_ms":1787388878000,"timestamp_seconds":1787388878,"priority":1,"record_length":96,"hex_timestamp":"000001a028addcb0"} 
[2026-08-22 14: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-22 14:29: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-22 14: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":205,"data_length":795,"current_offset":136} 
[2026-08-22 14:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:29:00] 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-22 14:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571475712001,"66":25538,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571475712001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:29:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:29:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571475712001,"power":25538,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":161000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:29:00] local.INFO: GPS data processed {"connection_id":161000,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:29:00] local.INFO: Acknowledgment sent {"connection_id":161000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:29:04] local.INFO: TCP Data received {"connection_id":161000,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:29:04] local.INFO: Processing buffer {"connection_id":161000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:29:04] local.INFO: Packet analysis {"connection_id":161000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ad"} 
[2026-08-22 14:29:04] local.INFO: Extracted packet for processing {"connection_id":161000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ad"} 
[2026-08-22 14:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571475712001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:29:04] 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-22 14:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787388878000,"timestamp_ms":1787388878000,"timestamp_seconds":1787388878,"priority":1,"record_length":96,"hex_timestamp":"000001a028addcb0"} 
[2026-08-22 14:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:29: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-22 14:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 14:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:29: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-22 14:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571475712001,"66":25538,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571475712001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:29:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571475712001,"power":25538,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":161000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:29:04] local.INFO: GPS data processed {"connection_id":161000,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:29:04] local.INFO: Acknowledgment sent {"connection_id":161000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:29:29] local.INFO: TCP Data received {"connection_id":159841,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b06cf0012d196900071fee180041011d2b..."} 
[2026-08-22 14:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b06cf0012d196900071fee180041011d2b..."} 
[2026-08-22 14:29:29] local.INFO: Processing buffer {"connection_id":159841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b06cf0012d196900071fee180041011d2b..."} 
[2026-08-22 14:29:29] local.INFO: Packet analysis {"connection_id":159841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b0"} 
[2026-08-22 14:29:29] local.INFO: Extracted packet for processing {"connection_id":159841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b0"} 
[2026-08-22 14:29:29] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571590400001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787389046000,"timestamp_ms":1787389046000,"timestamp_seconds":1787389046,"priority":1,"record_length":96,"hex_timestamp":"000001a028b06cf0"} 
[2026-08-22 14: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-22 14:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571590400001,"66":12385,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571590400001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:29:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571590400001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":159841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:29:30] local.INFO: GPS data processed {"connection_id":159841,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:29:30] local.INFO: Acknowledgment sent {"connection_id":159841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:29:49] local.INFO: TCP Data received {"connection_id":160083,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:29:49] local.INFO: Processing buffer {"connection_id":160083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:29:49] local.INFO: IMEI packet received {"connection_id":160083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":160083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:29:52] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:29:52] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:29:52] local.INFO: IMEI packet received {"connection_id":160084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":160084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:29:54] local.INFO: TCP Data received {"connection_id":160083,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:29:54] local.INFO: Processing buffer {"connection_id":160083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:29:54] local.INFO: IMEI packet received {"connection_id":160083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":160083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:29:55] local.INFO: TCP Data received {"connection_id":160083,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:29:55] local.INFO: Processing buffer {"connection_id":160083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028addcb0012d7fabc005afe1b8000801212a..."} 
[2026-08-22 14:29:55] local.INFO: Packet analysis {"connection_id":160083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ad"} 
[2026-08-22 14:29:55] local.INFO: Extracted packet for processing {"connection_id":160083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ad"} 
[2026-08-22 14:29:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":8,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571475712001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:29: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-22 14:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787388878000,"timestamp_ms":1787388878000,"timestamp_seconds":1787388878,"priority":1,"record_length":96,"hex_timestamp":"000001a028addcb0"} 
[2026-08-22 14:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:29: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-22 14:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 14:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:29: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-22 14:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571475712001,"66":25538,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571475712001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:29:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:29:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571475712001,"power":25538,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":160083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:29:55] local.INFO: GPS data processed {"connection_id":160083,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:29:55] local.INFO: Acknowledgment sent {"connection_id":160083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:29:58] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:29:58] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:29:58] local.INFO: IMEI packet received {"connection_id":160084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":160084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:29:58] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b0bef8012d196900071fee180041011d2d..."} 
[2026-08-22 14:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b0bef8012d196900071fee180041011d2d..."} 
[2026-08-22 14:29:58] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b0bef8012d196900071fee180041011d2d..."} 
[2026-08-22 14:29:58] local.INFO: Packet analysis {"connection_id":160084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b0"} 
[2026-08-22 14:29:58] local.INFO: Extracted packet for processing {"connection_id":160084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b0"} 
[2026-08-22 14:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571595776001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787389067000,"timestamp_ms":1787389067000,"timestamp_seconds":1787389067,"priority":1,"record_length":96,"hex_timestamp":"000001a028b0bef8"} 
[2026-08-22 14: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-22 14:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 14:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571595776001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571595776001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:29:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571595776001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":160084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:29:59] local.INFO: GPS data processed {"connection_id":160084,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:29:59] local.INFO: Acknowledgment sent {"connection_id":160084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:30:26] local.INFO: TCP Data received {"connection_id":160083,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028b27478012d7fabc005afe1b8000401212a..."} 
[2026-08-22 14:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b27478012d7fabc005afe1b8000401212a..."} 
[2026-08-22 14:30:26] local.INFO: Processing buffer {"connection_id":160083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b27478012d7fabc005afe1b8000401212a..."} 
[2026-08-22 14:30:26] local.INFO: Packet analysis {"connection_id":160083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b2"} 
[2026-08-22 14:30:26] local.INFO: Extracted packet for processing {"connection_id":160083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b2"} 
[2026-08-22 14:30:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":4,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571552768001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:30: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-22 14:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787389179000,"timestamp_ms":1787389179000,"timestamp_seconds":1787389179,"priority":1,"record_length":96,"hex_timestamp":"000001a028b27478"} 
[2026-08-22 14:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:30:26] 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-22 14:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 14:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:30:26] 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-22 14:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571552768001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571552768001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:30:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:30:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571552768001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":160083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:30:26] local.INFO: GPS data processed {"connection_id":160083,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:30:26] local.INFO: Acknowledgment sent {"connection_id":160083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:30:30] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b11100012d196900071fee180041011d2b..."} 
[2026-08-22 14:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b11100012d196900071fee180041011d2b..."} 
[2026-08-22 14:30:30] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b11100012d196900071fee180041011d2b..."} 
[2026-08-22 14:30:30] local.INFO: Packet analysis {"connection_id":160084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b1"} 
[2026-08-22 14:30:30] local.INFO: Extracted packet for processing {"connection_id":160084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b1"} 
[2026-08-22 14:30:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571601152001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:30: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-22 14:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787389088000,"timestamp_ms":1787389088000,"timestamp_seconds":1787389088,"priority":1,"record_length":96,"hex_timestamp":"000001a028b11100"} 
[2026-08-22 14: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-22 14:30: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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571601152001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571601152001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:30:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:30:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571601152001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":160084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:30:30] local.INFO: GPS data processed {"connection_id":160084,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:30:30] local.INFO: Acknowledgment sent {"connection_id":160084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:30:49] local.INFO: TCP Data received {"connection_id":159842,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:30:49] local.INFO: Processing buffer {"connection_id":159842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:30:49] local.INFO: IMEI packet received {"connection_id":159842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":159842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:30:51] local.INFO: TCP Data received {"connection_id":160085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:30:51] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:30:51] local.INFO: IMEI packet received {"connection_id":160085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":160085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:30:52] local.INFO: TCP Data received {"connection_id":160085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:30:52] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:30:52] local.INFO: IMEI packet received {"connection_id":160085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":160085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:30:54] local.INFO: TCP Data received {"connection_id":159842,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:30:54] local.INFO: Processing buffer {"connection_id":159842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:30:54] local.INFO: IMEI packet received {"connection_id":159842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":159842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:30:55] local.INFO: TCP Data received {"connection_id":159842,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028b27478012d7fabc005afe1b8000401212a..."} 
[2026-08-22 14:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b27478012d7fabc005afe1b8000401212a..."} 
[2026-08-22 14:30:55] local.INFO: Processing buffer {"connection_id":159842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b27478012d7fabc005afe1b8000401212a..."} 
[2026-08-22 14:30:55] local.INFO: Packet analysis {"connection_id":159842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b2"} 
[2026-08-22 14:30:55] local.INFO: Extracted packet for processing {"connection_id":159842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b2"} 
[2026-08-22 14:30:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":4,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571552768001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:30: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-22 14:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787389179000,"timestamp_ms":1787389179000,"timestamp_seconds":1787389179,"priority":1,"record_length":96,"hex_timestamp":"000001a028b27478"} 
[2026-08-22 14:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14: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-22 14:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 14:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:30: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-22 14:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571552768001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571552768001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:30:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:30:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571552768001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":159842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:30:55] local.INFO: GPS data processed {"connection_id":159842,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:30:55] local.INFO: Acknowledgment sent {"connection_id":159842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:30:58] local.INFO: TCP Data received {"connection_id":160085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:30:58] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:30:58] local.INFO: IMEI packet received {"connection_id":160085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":160085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:30:58] local.INFO: TCP Data received {"connection_id":160085,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b16308012d196900071fee180041011d2a..."} 
[2026-08-22 14:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b16308012d196900071fee180041011d2a..."} 
[2026-08-22 14:30:58] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b16308012d196900071fee180041011d2a..."} 
[2026-08-22 14:30:58] local.INFO: Packet analysis {"connection_id":160085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b1"} 
[2026-08-22 14:30:58] local.INFO: Extracted packet for processing {"connection_id":160085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b1"} 
[2026-08-22 14:30:58] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571606528001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787389109000,"timestamp_ms":1787389109000,"timestamp_seconds":1787389109,"priority":1,"record_length":96,"hex_timestamp":"000001a028b16308"} 
[2026-08-22 14:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571606528001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571606528001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:30:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:30:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571606528001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":160085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:30:59] local.INFO: GPS data processed {"connection_id":160085,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:30:59] local.INFO: Acknowledgment sent {"connection_id":160085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:31:26] local.INFO: TCP Data received {"connection_id":159842,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028b27478012d7fabc005afe1b8000401212a..."} 
[2026-08-22 14:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b27478012d7fabc005afe1b8000401212a..."} 
[2026-08-22 14:31:26] local.INFO: Processing buffer {"connection_id":159842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b27478012d7fabc005afe1b8000401212a..."} 
[2026-08-22 14:31:26] local.INFO: Packet analysis {"connection_id":159842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b2"} 
[2026-08-22 14:31:26] local.INFO: Extracted packet for processing {"connection_id":159842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b2"} 
[2026-08-22 14:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":4,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 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-22 14:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571552768001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:31: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-22 14:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787389179000,"timestamp_ms":1787389179000,"timestamp_seconds":1787389179,"priority":1,"record_length":96,"hex_timestamp":"000001a028b27478"} 
[2026-08-22 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-22 14:31:26] 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-22 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 14:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 14:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:31:26] 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-22 14:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571552768001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571552768001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:31:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571552768001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":159842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:31:26] local.INFO: GPS data processed {"connection_id":159842,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:31:26] local.INFO: Acknowledgment sent {"connection_id":159842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:31:30] local.INFO: TCP Data received {"connection_id":160085,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b1b510012d196900071fee180041011d2a..."} 
[2026-08-22 14:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b1b510012d196900071fee180041011d2a..."} 
[2026-08-22 14:31:30] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b1b510012d196900071fee180041011d2a..."} 
[2026-08-22 14:31:30] local.INFO: Packet analysis {"connection_id":160085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b1"} 
[2026-08-22 14:31:30] local.INFO: Extracted packet for processing {"connection_id":160085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b1"} 
[2026-08-22 14:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571611904001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:31: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-22 14:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787389130000,"timestamp_ms":1787389130000,"timestamp_seconds":1787389130,"priority":1,"record_length":96,"hex_timestamp":"000001a028b1b510"} 
[2026-08-22 14: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-22 14:31: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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571611904001,"66":12439,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571611904001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:31:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:31:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571611904001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":160085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:31:30] local.INFO: GPS data processed {"connection_id":160085,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:31:30] local.INFO: Acknowledgment sent {"connection_id":160085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:31:49] local.INFO: TCP Data received {"connection_id":159843,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:31:49] local.INFO: Processing buffer {"connection_id":159843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:31:49] local.INFO: IMEI packet received {"connection_id":159843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":159843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:31:52] local.INFO: TCP Data received {"connection_id":161001,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:31:52] local.INFO: Processing buffer {"connection_id":161001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:31:52] local.INFO: IMEI packet received {"connection_id":161001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":161001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:31:55] local.INFO: TCP Data received {"connection_id":161001,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:31:55] local.INFO: TCP Data received {"connection_id":159843,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:31:55] local.INFO: Processing buffer {"connection_id":159843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:31:55] local.INFO: IMEI packet received {"connection_id":159843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":159843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:31:55] local.INFO: Processing buffer {"connection_id":161001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:31:55] local.INFO: IMEI packet received {"connection_id":161001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":161001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:31:56] local.INFO: TCP Data received {"connection_id":159843,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028b27478012d7fabc005afe1b8000401212a..."} 
[2026-08-22 14:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b27478012d7fabc005afe1b8000401212a..."} 
[2026-08-22 14:31:56] local.INFO: Processing buffer {"connection_id":159843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b27478012d7fabc005afe1b8000401212a..."} 
[2026-08-22 14:31:56] local.INFO: Packet analysis {"connection_id":159843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b2"} 
[2026-08-22 14:31:56] local.INFO: Extracted packet for processing {"connection_id":159843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b2"} 
[2026-08-22 14:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":4,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571552768001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:31: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-22 14:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787389179000,"timestamp_ms":1787389179000,"timestamp_seconds":1787389179,"priority":1,"record_length":96,"hex_timestamp":"000001a028b27478"} 
[2026-08-22 14: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-22 14: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-22 14: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 14:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:31: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-22 14:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571552768001,"66":25593,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571552768001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:31:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571552768001,"power":25593,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":159843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:31:56] local.INFO: GPS data processed {"connection_id":159843,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:31:56] local.INFO: Acknowledgment sent {"connection_id":159843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:31:58] local.INFO: TCP Data received {"connection_id":161001,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:31:58] local.INFO: Processing buffer {"connection_id":161001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:31:58] local.INFO: IMEI packet received {"connection_id":161001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":161001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:31:58] local.INFO: TCP Data received {"connection_id":161001,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b20718012d196900071fee180041011d2a..."} 
[2026-08-22 14:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b20718012d196900071fee180041011d2a..."} 
[2026-08-22 14:31:58] local.INFO: Processing buffer {"connection_id":161001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b20718012d196900071fee180041011d2a..."} 
[2026-08-22 14:31:58] local.INFO: Packet analysis {"connection_id":161001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b2"} 
[2026-08-22 14:31:58] local.INFO: Extracted packet for processing {"connection_id":161001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b2"} 
[2026-08-22 14:31:58] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 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-22 14:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571617280001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787389151000,"timestamp_ms":1787389151000,"timestamp_seconds":1787389151,"priority":1,"record_length":96,"hex_timestamp":"000001a028b20718"} 
[2026-08-22 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-22 14:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 14:31:58] 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-22 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-22 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-22 14:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571617280001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571617280001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:31:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571617280001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":161001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:31:59] local.INFO: GPS data processed {"connection_id":161001,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:31:59] local.INFO: Acknowledgment sent {"connection_id":161001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:32:27] local.INFO: TCP Data received {"connection_id":159843,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028b45cc0012d7fabc005afe1b80000012128..."} 
[2026-08-22 14:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b45cc0012d7fabc005afe1b80000012128..."} 
[2026-08-22 14:32:27] local.INFO: Processing buffer {"connection_id":159843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b45cc0012d7fabc005afe1b80000012128..."} 
[2026-08-22 14:32:27] local.INFO: Packet analysis {"connection_id":159843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b4"} 
[2026-08-22 14:32:27] local.INFO: Extracted packet for processing {"connection_id":159843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b4"} 
[2026-08-22 14:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412664,"longitude_deg":76.334176,"latitude_deg":9.5412664,"altitude":0,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-08-22 14:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571629824001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:32:27] 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-22 14:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787389304000,"timestamp_ms":1787389304000,"timestamp_seconds":1787389304,"priority":1,"record_length":96,"hex_timestamp":"000001a028b45cc0"} 
[2026-08-22 14:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:32: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-22 14:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 14:32:27] 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-22 14:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:32:27] 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-22 14:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571629824001,"66":25582,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571629824001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:32:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571629824001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":159843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:32:27] local.INFO: GPS data processed {"connection_id":159843,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:32:27] local.INFO: Acknowledgment sent {"connection_id":159843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:32:30] local.INFO: TCP Data received {"connection_id":161001,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b25920012d196900071fee180041011d2b..."} 
[2026-08-22 14:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b25920012d196900071fee180041011d2b..."} 
[2026-08-22 14:32:30] local.INFO: Processing buffer {"connection_id":161001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b25920012d196900071fee180041011d2b..."} 
[2026-08-22 14:32:30] local.INFO: Packet analysis {"connection_id":161001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b2"} 
[2026-08-22 14:32:30] local.INFO: Extracted packet for processing {"connection_id":161001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b2"} 
[2026-08-22 14:32:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571622656001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:32: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-22 14:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787389172000,"timestamp_ms":1787389172000,"timestamp_seconds":1787389172,"priority":1,"record_length":96,"hex_timestamp":"000001a028b25920"} 
[2026-08-22 14: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-22 14:32: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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571622656001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571622656001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:32:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:32:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571622656001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":161001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:32:30] local.INFO: GPS data processed {"connection_id":161001,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:32:30] local.INFO: Acknowledgment sent {"connection_id":161001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:32:44] local.INFO: TCP Data received {"connection_id":162436,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:32:44] local.INFO: Processing buffer {"connection_id":162436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:32:44] local.INFO: IMEI packet received {"connection_id":162436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":162436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:32:46] local.INFO: TCP Data received {"connection_id":162436,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:32:46] local.INFO: Processing buffer {"connection_id":162436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:32:46] local.INFO: IMEI packet received {"connection_id":162436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":162436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:32:49] local.INFO: TCP Data received {"connection_id":162436,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:32:49] local.INFO: Processing buffer {"connection_id":162436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:32:49] local.INFO: IMEI packet received {"connection_id":162436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":162436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:32:54] local.INFO: TCP Data received {"connection_id":162436,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:32:54] local.INFO: Processing buffer {"connection_id":162436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:32:54] local.INFO: IMEI packet received {"connection_id":162436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":162436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:32:55] local.INFO: TCP Data received {"connection_id":162436,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028b46878012d7fa9c005afe0c8000000f028..."} 
[2026-08-22 14:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b46878012d7fa9c005afe0c8000000f028..."} 
[2026-08-22 14:32:55] local.INFO: Processing buffer {"connection_id":162436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b46878012d7fa9c005afe0c8000000f028..."} 
[2026-08-22 14:32:55] local.INFO: Packet analysis {"connection_id":162436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b4"} 
[2026-08-22 14:32:55] local.INFO: Extracted packet for processing {"connection_id":162436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b4"} 
[2026-08-22 14:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763341248,"raw_latitude":95412424,"longitude_deg":76.3341248,"latitude_deg":9.5412424,"altitude":0,"angle":240,"satellites":40,"speed":0,"hex_longitude":"2d7fa9c0","hex_latitude":"05afe0c8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571661824001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492545024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:32: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-22 14:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787389307000,"timestamp_ms":1787389307000,"timestamp_seconds":1787389307,"priority":1,"record_length":96,"hex_timestamp":"000001a028b46878"} 
[2026-08-22 14: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-22 14:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 14:32: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-22 14: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-22 14: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-22 14:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:32: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-22 14:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571661824001,"66":25397,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199657794492545024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571661824001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:32:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:32:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492545024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571661824001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492545024}} 
[2026-08-22 14:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":162436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:32:55] local.INFO: GPS data processed {"connection_id":162436,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:32:55] local.INFO: Acknowledgment sent {"connection_id":162436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:32:58] local.INFO: TCP Data received {"connection_id":162437,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:32:58] local.INFO: Processing buffer {"connection_id":162437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:32:58] local.INFO: IMEI packet received {"connection_id":162437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":162437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:32:58] local.INFO: TCP Data received {"connection_id":162437,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:32:58] local.INFO: Processing buffer {"connection_id":162437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:32:58] local.INFO: IMEI packet received {"connection_id":162437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":162437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:33:00] local.INFO: TCP Data received {"connection_id":162436,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028b4ba80012d7fa9c005afe0c8000000f02b..."} 
[2026-08-22 14:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b4ba80012d7fa9c005afe0c8000000f02b..."} 
[2026-08-22 14:33:00] local.INFO: Processing buffer {"connection_id":162436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b4ba80012d7fa9c005afe0c8000000f02b..."} 
[2026-08-22 14:33:00] local.INFO: Packet analysis {"connection_id":162436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b4"} 
[2026-08-22 14:33:00] local.INFO: Extracted packet for processing {"connection_id":162436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b4"} 
[2026-08-22 14:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763341248,"raw_latitude":95412424,"longitude_deg":76.3341248,"latitude_deg":9.5412424,"altitude":0,"angle":240,"satellites":43,"speed":0,"hex_longitude":"2d7fa9c0","hex_latitude":"05afe0c8","is_valid_coordinates":true} 
[2026-08-22 14:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571662592001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844539062272,"note":"Value kept but may cause issues"} 
[2026-08-22 14:33:00] 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-22 14:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787389328000,"timestamp_ms":1787389328000,"timestamp_seconds":1787389328,"priority":1,"record_length":96,"hex_timestamp":"000001a028b4ba80"} 
[2026-08-22 14:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 14:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:33:00] 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-22 14:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571662592001,"66":27843,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199094844539062272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571662592001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844539062272,"description":"Unknown IO ID 45"} 
[2026-08-22 14:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571662592001,"power":27843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199094844539062272}} 
[2026-08-22 14:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":162436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:33:00] local.INFO: GPS data processed {"connection_id":162436,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:33:00] local.INFO: Acknowledgment sent {"connection_id":162436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:33:03] local.INFO: TCP Data received {"connection_id":162437,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:33:03] local.INFO: Processing buffer {"connection_id":162437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:33:03] local.INFO: IMEI packet received {"connection_id":162437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":162437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:33:04] local.INFO: TCP Data received {"connection_id":162437,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b2ab28012d196900071fee180041011d2b..."} 
[2026-08-22 14:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b2ab28012d196900071fee180041011d2b..."} 
[2026-08-22 14:33:04] local.INFO: Processing buffer {"connection_id":162437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b2ab28012d196900071fee180041011d2b..."} 
[2026-08-22 14:33:04] local.INFO: Packet analysis {"connection_id":162437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b2"} 
[2026-08-22 14:33:04] local.INFO: Extracted packet for processing {"connection_id":162437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b2"} 
[2026-08-22 14:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 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-22 14:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571628032001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787389193000,"timestamp_ms":1787389193000,"timestamp_seconds":1787389193,"priority":1,"record_length":96,"hex_timestamp":"000001a028b2ab28"} 
[2026-08-22 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-22 14:33:04] 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-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 14:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571628032001,"66":12439,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571628032001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:33:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571628032001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":162437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:33:04] local.INFO: GPS data processed {"connection_id":162437,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:33:04] local.INFO: Acknowledgment sent {"connection_id":162437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:33:08] local.INFO: TCP Data received {"connection_id":162437,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b2fd30012d196900071fee180041011d28..."} 
[2026-08-22 14:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b2fd30012d196900071fee180041011d28..."} 
[2026-08-22 14:33:08] local.INFO: Processing buffer {"connection_id":162437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b2fd30012d196900071fee180041011d28..."} 
[2026-08-22 14:33:08] local.INFO: Packet analysis {"connection_id":162437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b2"} 
[2026-08-22 14:33:08] local.INFO: Extracted packet for processing {"connection_id":162437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b2"} 
[2026-08-22 14:33:08] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14:33: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-22 14:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571633408001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787389214000,"timestamp_ms":1787389214000,"timestamp_seconds":1787389214,"priority":1,"record_length":96,"hex_timestamp":"000001a028b2fd30"} 
[2026-08-22 14:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:33: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-22 14:33: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":151,"data_length":795,"current_offset":136} 
[2026-08-22 14:33:08] 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-22 14:33: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-22 14:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571633408001,"66":12406,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571633408001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:33:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:33:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571633408001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":162437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:33:08] local.INFO: GPS data processed {"connection_id":162437,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:33:08] local.INFO: Acknowledgment sent {"connection_id":162437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:33:32] local.INFO: TCP Data received {"connection_id":162436,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a028b50c88012d7fa9c005afe0c8000000f028..."} 
[2026-08-22 14:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b50c88012d7fa9c005afe0c8000000f028..."} 
[2026-08-22 14:33:32] local.INFO: Processing buffer {"connection_id":162436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b50c88012d7fa9c005afe0c8000000f028..."} 
[2026-08-22 14:33:32] local.INFO: Packet analysis {"connection_id":162436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b5"} 
[2026-08-22 14:33:32] local.INFO: Extracted packet for processing {"connection_id":162436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b5"} 
[2026-08-22 14:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763341248,"raw_latitude":95412424,"longitude_deg":76.3341248,"latitude_deg":9.5412424,"altitude":0,"angle":240,"satellites":40,"speed":0,"hex_longitude":"2d7fa9c0","hex_latitude":"05afe0c8","is_valid_coordinates":true} 
[2026-08-22 14:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571667968001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926374032703488,"note":"Value kept but may cause issues"} 
[2026-08-22 14:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844539062272,"note":"Value kept but may cause issues"} 
[2026-08-22 14: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-22 14:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787389349000,"timestamp_ms":1787389349000,"timestamp_seconds":1787389349,"priority":1,"record_length":96,"hex_timestamp":"000001a028b50c88"} 
[2026-08-22 14:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14: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-22 14:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 14:33:32] 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-22 14:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:33:32] 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-22 14:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571667968001,"66":27745,"28":206,"85":12544,"24":0,"16":388926374032703488,"45":9199094844539062272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571667968001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:33:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926374032703488,"km_value":388926374032703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844539062272,"description":"Unknown IO ID 45"} 
[2026-08-22 14:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571667968001,"power":27745,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199094844539062272}} 
[2026-08-22 14:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":162436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:33:32] local.INFO: GPS data processed {"connection_id":162436,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:33:32] local.INFO: Acknowledgment sent {"connection_id":162436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:33:52] local.INFO: TCP Data received {"connection_id":160086,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:33:52] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:33:52] local.INFO: IMEI packet received {"connection_id":160086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":160086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:33:58] local.INFO: TCP Data received {"connection_id":160086,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:33:58] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:33:58] local.INFO: IMEI packet received {"connection_id":160086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":160086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:33:59] local.INFO: TCP Data received {"connection_id":160086,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b34f38012d196900071fee180041011d2a..."} 
[2026-08-22 14:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b34f38012d196900071fee180041011d2a..."} 
[2026-08-22 14:33:59] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b34f38012d196900071fee180041011d2a..."} 
[2026-08-22 14:33:59] local.INFO: Packet analysis {"connection_id":160086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b3"} 
[2026-08-22 14:33:59] local.INFO: Extracted packet for processing {"connection_id":160086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b3"} 
[2026-08-22 14:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571638784001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:33: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-22 14:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787389235000,"timestamp_ms":1787389235000,"timestamp_seconds":1787389235,"priority":1,"record_length":96,"hex_timestamp":"000001a028b34f38"} 
[2026-08-22 14: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-22 14:33: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-22 14: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 14:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571638784001,"66":12439,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571638784001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:33:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:33:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571638784001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":160086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:33:59] local.INFO: GPS data processed {"connection_id":160086,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:33:59] local.INFO: Acknowledgment sent {"connection_id":160086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:34:11] local.INFO: TCP Data received {"connection_id":160087,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:34:11] local.INFO: Processing buffer {"connection_id":160087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:34:11] local.INFO: IMEI packet received {"connection_id":160087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":160087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:34:30] local.INFO: TCP Data received {"connection_id":160086,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b3a140012d196900071fee180041011d27..."} 
[2026-08-22 14:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b3a140012d196900071fee180041011d27..."} 
[2026-08-22 14:34:30] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b3a140012d196900071fee180041011d27..."} 
[2026-08-22 14:34:30] local.INFO: Packet analysis {"connection_id":160086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b3"} 
[2026-08-22 14:34:30] local.INFO: Extracted packet for processing {"connection_id":160086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b3"} 
[2026-08-22 14:34:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 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-22 14:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571644160001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:34: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-22 14:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787389256000,"timestamp_ms":1787389256000,"timestamp_seconds":1787389256,"priority":1,"record_length":96,"hex_timestamp":"000001a028b3a140"} 
[2026-08-22 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-22 14:34: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-22 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 14:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 14:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571644160001,"66":12385,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571644160001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:34:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:34:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571644160001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":160086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:34:30] local.INFO: GPS data processed {"connection_id":160086,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:34:30] local.INFO: Acknowledgment sent {"connection_id":160086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:34:30] local.INFO: TCP Data received {"connection_id":160087,"ip":"42.106.6.31","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-22 14:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160087,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-22 14:34:30] local.INFO: Processing buffer {"connection_id":160087,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-22 14:34:30] local.INFO: IMEI packet received {"connection_id":160087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":160087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:34:52] local.INFO: TCP Data received {"connection_id":161002,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:34:52] local.INFO: Processing buffer {"connection_id":161002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:34:52] local.INFO: IMEI packet received {"connection_id":161002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":161002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:34:58] local.INFO: TCP Data received {"connection_id":161002,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:34:58] local.INFO: Processing buffer {"connection_id":161002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:34:58] local.INFO: IMEI packet received {"connection_id":161002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":161002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:34:59] local.INFO: TCP Data received {"connection_id":161002,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b3f348012d196900071fee180041011d2a..."} 
[2026-08-22 14:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b3f348012d196900071fee180041011d2a..."} 
[2026-08-22 14:34:59] local.INFO: Processing buffer {"connection_id":161002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b3f348012d196900071fee180041011d2a..."} 
[2026-08-22 14:34:59] local.INFO: Packet analysis {"connection_id":161002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b3"} 
[2026-08-22 14:34:59] local.INFO: Extracted packet for processing {"connection_id":161002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b3"} 
[2026-08-22 14:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571649536001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:34: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-22 14:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787389277000,"timestamp_ms":1787389277000,"timestamp_seconds":1787389277,"priority":1,"record_length":96,"hex_timestamp":"000001a028b3f348"} 
[2026-08-22 14: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-22 14:34: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-22 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 14:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571649536001,"66":12385,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571649536001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:34:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:34:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571649536001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":161002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:34:59] local.INFO: GPS data processed {"connection_id":161002,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:34:59] local.INFO: Acknowledgment sent {"connection_id":161002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:35:30] local.INFO: TCP Data received {"connection_id":161002,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b44550012d196900071fee180041011d29..."} 
[2026-08-22 14:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b44550012d196900071fee180041011d29..."} 
[2026-08-22 14:35:30] local.INFO: Processing buffer {"connection_id":161002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b44550012d196900071fee180041011d29..."} 
[2026-08-22 14:35:30] local.INFO: Packet analysis {"connection_id":161002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b4"} 
[2026-08-22 14:35:30] local.INFO: Extracted packet for processing {"connection_id":161002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b4"} 
[2026-08-22 14:35:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571654912001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:35: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-22 14:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787389298000,"timestamp_ms":1787389298000,"timestamp_seconds":1787389298,"priority":1,"record_length":96,"hex_timestamp":"000001a028b44550"} 
[2026-08-22 14: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-22 14:35: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-22 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 14:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571654912001,"66":12428,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571654912001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:35:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:35:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571654912001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":161002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:35:30] local.INFO: GPS data processed {"connection_id":161002,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:35:30] local.INFO: Acknowledgment sent {"connection_id":161002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:35:52] local.INFO: TCP Data received {"connection_id":159846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:35:52] local.INFO: Processing buffer {"connection_id":159846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:35:52] local.INFO: IMEI packet received {"connection_id":159846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":159846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:35:58] local.INFO: TCP Data received {"connection_id":159846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:35:58] local.INFO: Processing buffer {"connection_id":159846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:35:58] local.INFO: IMEI packet received {"connection_id":159846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":159846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:35:58] local.INFO: TCP Data received {"connection_id":159846,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b49758012d196900071fee180041011d29..."} 
[2026-08-22 14:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b49758012d196900071fee180041011d29..."} 
[2026-08-22 14:35:58] local.INFO: Processing buffer {"connection_id":159846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b49758012d196900071fee180041011d29..."} 
[2026-08-22 14:35:58] local.INFO: Packet analysis {"connection_id":159846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b4"} 
[2026-08-22 14:35:58] local.INFO: Extracted packet for processing {"connection_id":159846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b4"} 
[2026-08-22 14:35:58] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571660288001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787389319000,"timestamp_ms":1787389319000,"timestamp_seconds":1787389319,"priority":1,"record_length":96,"hex_timestamp":"000001a028b49758"} 
[2026-08-22 14:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 14:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571660288001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571660288001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:35:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571660288001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":159846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:35:59] local.INFO: GPS data processed {"connection_id":159846,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:35:59] local.INFO: Acknowledgment sent {"connection_id":159846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:36:29] local.INFO: TCP Data received {"connection_id":159846,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b4e960012d196900071fee180041011d2a..."} 
[2026-08-22 14:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b4e960012d196900071fee180041011d2a..."} 
[2026-08-22 14:36:29] local.INFO: Processing buffer {"connection_id":159846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b4e960012d196900071fee180041011d2a..."} 
[2026-08-22 14:36:29] local.INFO: Packet analysis {"connection_id":159846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b4"} 
[2026-08-22 14:36:29] local.INFO: Extracted packet for processing {"connection_id":159846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b4"} 
[2026-08-22 14:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571665664001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787389340000,"timestamp_ms":1787389340000,"timestamp_seconds":1787389340,"priority":1,"record_length":96,"hex_timestamp":"000001a028b4e960"} 
[2026-08-22 14: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-22 14:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571665664001,"66":12439,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571665664001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:36:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571665664001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":159846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:36:29] local.INFO: GPS data processed {"connection_id":159846,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:36:29] local.INFO: Acknowledgment sent {"connection_id":159846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:36:52] local.INFO: TCP Data received {"connection_id":161003,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:36:52] local.INFO: Processing buffer {"connection_id":161003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:36:52] local.INFO: IMEI packet received {"connection_id":161003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":161003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:36:58] local.INFO: TCP Data received {"connection_id":161003,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:36:58] local.INFO: Processing buffer {"connection_id":161003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:36:58] local.INFO: IMEI packet received {"connection_id":161003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":161003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:36:58] local.INFO: TCP Data received {"connection_id":161003,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b53b68012d196900071fee180041011d28..."} 
[2026-08-22 14:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b53b68012d196900071fee180041011d28..."} 
[2026-08-22 14:36:58] local.INFO: Processing buffer {"connection_id":161003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b53b68012d196900071fee180041011d28..."} 
[2026-08-22 14:36:58] local.INFO: Packet analysis {"connection_id":161003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b5"} 
[2026-08-22 14:36:58] local.INFO: Extracted packet for processing {"connection_id":161003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b5"} 
[2026-08-22 14:36:58] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571671040001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787389361000,"timestamp_ms":1787389361000,"timestamp_seconds":1787389361,"priority":1,"record_length":96,"hex_timestamp":"000001a028b53b68"} 
[2026-08-22 14: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-22 14:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 14:36:58] 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-22 14: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-22 14: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-22 14:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571671040001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571671040001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:36:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:36:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571671040001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":161003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:36:59] local.INFO: GPS data processed {"connection_id":161003,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:36:59] local.INFO: Acknowledgment sent {"connection_id":161003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:37:30] local.INFO: TCP Data received {"connection_id":161003,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b58d70012d196900071fee180041011d29..."} 
[2026-08-22 14:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b58d70012d196900071fee180041011d29..."} 
[2026-08-22 14:37:30] local.INFO: Processing buffer {"connection_id":161003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b58d70012d196900071fee180041011d29..."} 
[2026-08-22 14:37:30] local.INFO: Packet analysis {"connection_id":161003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b5"} 
[2026-08-22 14:37:30] local.INFO: Extracted packet for processing {"connection_id":161003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b5"} 
[2026-08-22 14:37:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571676416001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:37: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-22 14:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787389382000,"timestamp_ms":1787389382000,"timestamp_seconds":1787389382,"priority":1,"record_length":96,"hex_timestamp":"000001a028b58d70"} 
[2026-08-22 14: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-22 14:37: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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571676416001,"66":12385,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571676416001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:37:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:37:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571676416001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":161003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:37:30] local.INFO: GPS data processed {"connection_id":161003,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:37:30] local.INFO: Acknowledgment sent {"connection_id":161003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:37:58] local.INFO: TCP Data received {"connection_id":162439,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:37:58] local.INFO: Processing buffer {"connection_id":162439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:37:58] local.INFO: IMEI packet received {"connection_id":162439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":162439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:38:03] local.INFO: TCP Data received {"connection_id":162439,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:38:03] local.INFO: Processing buffer {"connection_id":162439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:38:03] local.INFO: IMEI packet received {"connection_id":162439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":162439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:38:03] local.INFO: TCP Data received {"connection_id":162439,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b5df78012d196900071fee180041011d27..."} 
[2026-08-22 14:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b5df78012d196900071fee180041011d27..."} 
[2026-08-22 14:38:03] local.INFO: Processing buffer {"connection_id":162439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b5df78012d196900071fee180041011d27..."} 
[2026-08-22 14:38:03] local.INFO: Packet analysis {"connection_id":162439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b5"} 
[2026-08-22 14:38:03] local.INFO: Extracted packet for processing {"connection_id":162439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b5"} 
[2026-08-22 14:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14:38: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-22 14:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571681792001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787389403000,"timestamp_ms":1787389403000,"timestamp_seconds":1787389403,"priority":1,"record_length":96,"hex_timestamp":"000001a028b5df78"} 
[2026-08-22 14:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:38: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-22 14:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 14:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14:38: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-22 14:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571681792001,"66":12406,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571681792001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:38:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:38:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571681792001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":162439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:38:04] local.INFO: GPS data processed {"connection_id":162439,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:38:04] local.INFO: Acknowledgment sent {"connection_id":162439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:38:08] local.INFO: TCP Data received {"connection_id":162439,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b63180012d196900071fee180041011d29..."} 
[2026-08-22 14:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b63180012d196900071fee180041011d29..."} 
[2026-08-22 14:38:08] local.INFO: Processing buffer {"connection_id":162439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b63180012d196900071fee180041011d29..."} 
[2026-08-22 14:38:08] local.INFO: Packet analysis {"connection_id":162439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b6"} 
[2026-08-22 14:38:08] local.INFO: Extracted packet for processing {"connection_id":162439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b6"} 
[2026-08-22 14:38:08] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571687168001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787389424000,"timestamp_ms":1787389424000,"timestamp_seconds":1787389424,"priority":1,"record_length":96,"hex_timestamp":"000001a028b63180"} 
[2026-08-22 14:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:38: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-22 14:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 14:38:08] 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-22 14:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571687168001,"66":12428,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571687168001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:38:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:38:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571687168001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":162439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:38:08] local.INFO: GPS data processed {"connection_id":162439,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:38:08] local.INFO: Acknowledgment sent {"connection_id":162439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:38:52] local.INFO: TCP Data received {"connection_id":162441,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:38:52] local.INFO: Processing buffer {"connection_id":162441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:38:52] local.INFO: IMEI packet received {"connection_id":162441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":162441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:38:55] local.INFO: TCP Data received {"connection_id":162441,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:38:55] local.INFO: Processing buffer {"connection_id":162441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:38:55] local.INFO: IMEI packet received {"connection_id":162441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":162441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:38:56] local.INFO: TCP Data received {"connection_id":162441,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028b9b7d8012d196900071fee180041011d2a..."} 
[2026-08-22 14:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b9b7d8012d196900071fee180041011d2a..."} 
[2026-08-22 14:38:56] local.INFO: Processing buffer {"connection_id":162441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b9b7d8012d196900071fee180041011d2a..."} 
[2026-08-22 14:38:56] local.INFO: Packet analysis {"connection_id":162441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b9"} 
[2026-08-22 14:38:56] local.INFO: Extracted packet for processing {"connection_id":162441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b9"} 
[2026-08-22 14:38:56] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571746304001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:38: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-22 14:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787389655000,"timestamp_ms":1787389655000,"timestamp_seconds":1787389655,"priority":1,"record_length":96,"hex_timestamp":"000001a028b9b7d8"} 
[2026-08-22 14: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-22 14:38:56] 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-22 14:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 14:38:56] 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-22 14: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-22 14: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-22 14:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571746304001,"66":12428,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571746304001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:38:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:38:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571746304001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":162441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:38:56] local.INFO: GPS data processed {"connection_id":162441,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:38:56] local.INFO: Acknowledgment sent {"connection_id":162441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:39:27] local.INFO: TCP Data received {"connection_id":162441,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028ba09e0012d196900071fee180041011d2b..."} 
[2026-08-22 14:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ba09e0012d196900071fee180041011d2b..."} 
[2026-08-22 14:39:27] local.INFO: Processing buffer {"connection_id":162441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ba09e0012d196900071fee180041011d2b..."} 
[2026-08-22 14:39:27] local.INFO: Packet analysis {"connection_id":162441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:39:27] local.INFO: Extracted packet for processing {"connection_id":162441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:39:27] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571751680001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787389676000,"timestamp_ms":1787389676000,"timestamp_seconds":1787389676,"priority":1,"record_length":96,"hex_timestamp":"000001a028ba09e0"} 
[2026-08-22 14:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:39: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-22 14:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 14:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571751680001,"66":12254,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571751680001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:39:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:39:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571751680001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":162441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:39:27] local.INFO: GPS data processed {"connection_id":162441,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:39:27] local.INFO: Acknowledgment sent {"connection_id":162441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:39:52] local.INFO: TCP Data received {"connection_id":159848,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:39:52] local.INFO: Processing buffer {"connection_id":159848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:39:52] local.INFO: IMEI packet received {"connection_id":159848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":159848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:39:54] local.INFO: TCP Data received {"connection_id":160089,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:39:54] local.INFO: Processing buffer {"connection_id":160089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:39:54] local.INFO: IMEI packet received {"connection_id":160089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":160089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:39:58] local.INFO: TCP Data received {"connection_id":159848,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:39:58] local.INFO: Processing buffer {"connection_id":159848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:39:58] local.INFO: IMEI packet received {"connection_id":159848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":159848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:39:59] local.INFO: TCP Data received {"connection_id":159848,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028ba5be8012d196900071fee180041011d2b..."} 
[2026-08-22 14:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ba5be8012d196900071fee180041011d2b..."} 
[2026-08-22 14:39:59] local.INFO: Processing buffer {"connection_id":159848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ba5be8012d196900071fee180041011d2b..."} 
[2026-08-22 14:39:59] local.INFO: Packet analysis {"connection_id":159848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:39:59] local.INFO: Extracted packet for processing {"connection_id":159848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571757056001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:39: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-22 14:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787389697000,"timestamp_ms":1787389697000,"timestamp_seconds":1787389697,"priority":1,"record_length":96,"hex_timestamp":"000001a028ba5be8"} 
[2026-08-22 14: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-22 14:39: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-22 14: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-22 14:39:59] 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-22 14: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-22 14: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-22 14:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571757056001,"66":12385,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571757056001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:39:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:39:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571757056001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":159848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:39:59] local.INFO: GPS data processed {"connection_id":159848,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:39:59] local.INFO: Acknowledgment sent {"connection_id":159848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:39:59] local.INFO: TCP Data received {"connection_id":160089,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:39:59] local.INFO: Processing buffer {"connection_id":160089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:39:59] local.INFO: IMEI packet received {"connection_id":160089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":160089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:40:00] local.INFO: TCP Data received {"connection_id":160089,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028b63d38012d7fa7c005afdb60000001062a..."} 
[2026-08-22 14:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b63d38012d7fa7c005afdb60000001062a..."} 
[2026-08-22 14:40:00] local.INFO: Processing buffer {"connection_id":160089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b63d38012d7fa7c005afdb60000001062a..."} 
[2026-08-22 14:40:00] local.INFO: Packet analysis {"connection_id":160089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b6"} 
[2026-08-22 14:40:00] local.INFO: Extracted packet for processing {"connection_id":160089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b6"} 
[2026-08-22 14:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763340736,"raw_latitude":95411040,"longitude_deg":76.3340736,"latitude_deg":9.541104,"altitude":0,"angle":262,"satellites":42,"speed":4,"hex_longitude":"2d7fa7c0","hex_latitude":"05afdb60","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571693056001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926575896166400,"note":"Value kept but may cause issues"} 
[2026-08-22 14:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198672632073660416,"note":"Value kept but may cause issues"} 
[2026-08-22 14:40:00] 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-22 14:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787389427000,"timestamp_ms":1787389427000,"timestamp_seconds":1787389427,"priority":1,"record_length":96,"hex_timestamp":"000001a028b63d38"} 
[2026-08-22 14: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-22 14:40: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-22 14: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-22 14:40:00] 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-22 14: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-22 14: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-22 14:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571693056001,"66":28017,"27":206,"85":12544,"24":4,"16":388926575896166400,"45":9198672632073660416},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 14:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571693056001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:40:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 14:40:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926575896166400,"km_value":388926575896166.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198672632073660416,"description":"Unknown IO ID 45"} 
[2026-08-22 14:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571693056001,"power":28017,"unknown_27":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9198672632073660416}} 
[2026-08-22 14:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":160089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:40:00] local.INFO: GPS data processed {"connection_id":160089,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:40:00] local.INFO: Acknowledgment sent {"connection_id":160089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:40:04] local.INFO: TCP Data received {"connection_id":160089,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028b64508012d7fa70005afdb50000001232a..."} 
[2026-08-22 14:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b64508012d7fa70005afdb50000001232a..."} 
[2026-08-22 14:40:04] local.INFO: Processing buffer {"connection_id":160089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b64508012d7fa70005afdb50000001232a..."} 
[2026-08-22 14:40:04] local.INFO: Packet analysis {"connection_id":160089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b6"} 
[2026-08-22 14:40:04] local.INFO: Extracted packet for processing {"connection_id":160089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b6"} 
[2026-08-22 14:40:04] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":95411024,"longitude_deg":76.3340544,"latitude_deg":9.5411024,"altitude":0,"angle":291,"satellites":42,"speed":2,"hex_longitude":"2d7fa700","hex_latitude":"05afdb50","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571693312001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926584486100992,"note":"Value kept but may cause issues"} 
[2026-08-22 14:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198531894585286656,"note":"Value kept but may cause issues"} 
[2026-08-22 14:40:04] 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-22 14:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787389429000,"timestamp_ms":1787389429000,"timestamp_seconds":1787389429,"priority":1,"record_length":96,"hex_timestamp":"000001a028b64508"} 
[2026-08-22 14: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-22 14: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-22 14: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-22 14:40:04] 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-22 14: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-22 14: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-22 14:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571693312001,"66":27365,"27":206,"85":12544,"24":2,"16":388926584486100992,"45":9198531894585286656},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 14:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571693312001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:40:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 14:40:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926584486100992,"km_value":388926584486101.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198531894585286656,"description":"Unknown IO ID 45"} 
[2026-08-22 14:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571693312001,"power":27365,"unknown_27":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9198531894585286656}} 
[2026-08-22 14:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":160089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:40:04] local.INFO: GPS data processed {"connection_id":160089,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:40:04] local.INFO: Acknowledgment sent {"connection_id":160089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:40:30] local.INFO: TCP Data received {"connection_id":159848,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028baadf0012d196900071fee180041011d2b..."} 
[2026-08-22 14:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028baadf0012d196900071fee180041011d2b..."} 
[2026-08-22 14:40:30] local.INFO: Processing buffer {"connection_id":159848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028baadf0012d196900071fee180041011d2b..."} 
[2026-08-22 14:40:30] local.INFO: Packet analysis {"connection_id":159848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:40:30] local.INFO: Extracted packet for processing {"connection_id":159848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:40:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571762432001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:40: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-22 14:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787389718000,"timestamp_ms":1787389718000,"timestamp_seconds":1787389718,"priority":1,"record_length":96,"hex_timestamp":"000001a028baadf0"} 
[2026-08-22 14: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-22 14:40:30] 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-22 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 14:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571762432001,"66":12439,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571762432001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:40:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:40:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571762432001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":159848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:40:30] local.INFO: GPS data processed {"connection_id":159848,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:40:30] local.INFO: Acknowledgment sent {"connection_id":159848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:40:49] local.INFO: TCP Data received {"connection_id":161004,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:40:49] local.INFO: Processing buffer {"connection_id":161004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:40:49] local.INFO: IMEI packet received {"connection_id":161004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":161004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:40:52] local.INFO: TCP Data received {"connection_id":162442,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:40:52] local.INFO: Processing buffer {"connection_id":162442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:40:52] local.INFO: IMEI packet received {"connection_id":162442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":162442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:40:54] local.INFO: TCP Data received {"connection_id":161004,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:40:54] local.INFO: Processing buffer {"connection_id":161004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:40:54] local.INFO: IMEI packet received {"connection_id":161004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":161004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:40:55] local.INFO: TCP Data received {"connection_id":161004,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028b648f0012d7fa70005afdb60000001402b..."} 
[2026-08-22 14:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b648f0012d7fa70005afdb60000001402b..."} 
[2026-08-22 14:40:55] local.INFO: Processing buffer {"connection_id":161004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b648f0012d7fa70005afdb60000001402b..."} 
[2026-08-22 14:40:55] local.INFO: Packet analysis {"connection_id":161004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b6"} 
[2026-08-22 14:40:55] local.INFO: Extracted packet for processing {"connection_id":161004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b6"} 
[2026-08-22 14:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":95411040,"longitude_deg":76.3340544,"latitude_deg":9.541104,"altitude":0,"angle":320,"satellites":43,"speed":1,"hex_longitude":"2d7fa700","hex_latitude":"05afdb60","is_valid_coordinates":true} 
[2026-08-22 14:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571693824001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926584486100992,"note":"Value kept but may cause issues"} 
[2026-08-22 14:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320788352749568,"note":"Value kept but may cause issues"} 
[2026-08-22 14:40:55] 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-22 14:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787389430000,"timestamp_ms":1787389430000,"timestamp_seconds":1787389430,"priority":1,"record_length":96,"hex_timestamp":"000001a028b648f0"} 
[2026-08-22 14:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:40: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-22 14:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 14:40: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-22 14:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571693824001,"66":28050,"27":206,"85":12544,"24":1,"16":388926584486100992,"45":9198320788352749568},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 14:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571693824001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:40:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 14:40:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926584486100992,"km_value":388926584486101.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320788352749568,"description":"Unknown IO ID 45"} 
[2026-08-22 14:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571693824001,"power":28050,"unknown_27":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9198320788352749568}} 
[2026-08-22 14:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":161004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:40:55] local.INFO: GPS data processed {"connection_id":161004,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:40:55] local.INFO: Acknowledgment sent {"connection_id":161004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:40:58] local.INFO: TCP Data received {"connection_id":162442,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:40:58] local.INFO: Processing buffer {"connection_id":162442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:40:58] local.INFO: IMEI packet received {"connection_id":162442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":162442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:40:59] local.INFO: TCP Data received {"connection_id":162442,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028bafff8012d196900071fee180041011d2b..."} 
[2026-08-22 14:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bafff8012d196900071fee180041011d2b..."} 
[2026-08-22 14:40:59] local.INFO: Processing buffer {"connection_id":162442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bafff8012d196900071fee180041011d2b..."} 
[2026-08-22 14:40:59] local.INFO: Packet analysis {"connection_id":162442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:40:59] local.INFO: Extracted packet for processing {"connection_id":162442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:40:59] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571767808001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:40: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-22 14:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787389739000,"timestamp_ms":1787389739000,"timestamp_seconds":1787389739,"priority":1,"record_length":96,"hex_timestamp":"000001a028bafff8"} 
[2026-08-22 14: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-22 14:40: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-22 14: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-22 14:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571767808001,"66":12461,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571767808001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:40:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:40:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571767808001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":162442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:40:59] local.INFO: GPS data processed {"connection_id":162442,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:40:59] local.INFO: Acknowledgment sent {"connection_id":162442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:41:26] local.INFO: TCP Data received {"connection_id":161004,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028b65c78012d7fa74005afdb60000001402c..."} 
[2026-08-22 14:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b65c78012d7fa74005afdb60000001402c..."} 
[2026-08-22 14:41:26] local.INFO: Processing buffer {"connection_id":161004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b65c78012d7fa74005afdb60000001402c..."} 
[2026-08-22 14:41:26] local.INFO: Packet analysis {"connection_id":161004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b6"} 
[2026-08-22 14:41:26] local.INFO: Extracted packet for processing {"connection_id":161004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b6"} 
[2026-08-22 14:41:26] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95411040,"longitude_deg":76.3340608,"latitude_deg":9.541104,"altitude":0,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afdb60","is_valid_coordinates":true} 
[2026-08-22 14:41: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-22 14:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571694080001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320788352753664,"note":"Value kept but may cause issues"} 
[2026-08-22 14:41:26] 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-22 14:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787389435000,"timestamp_ms":1787389435000,"timestamp_seconds":1787389435,"priority":1,"record_length":96,"hex_timestamp":"000001a028b65c78"} 
[2026-08-22 14: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-22 14:41: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-22 14: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-22 14:41:26] 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-22 14: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-22 14: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-22 14:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571694080001,"66":27745,"27":206,"85":12544,"24":0,"16":388926588781068288,"45":9198320788352753664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 14:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571694080001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:41:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 14:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320788352753664,"description":"Unknown IO ID 45"} 
[2026-08-22 14:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571694080001,"power":27745,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198320788352753664}} 
[2026-08-22 14:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":161004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:41:26] local.INFO: GPS data processed {"connection_id":161004,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:41:26] local.INFO: Acknowledgment sent {"connection_id":161004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:41:30] local.INFO: TCP Data received {"connection_id":162442,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028bb5200012d196900071fee180041011d29..."} 
[2026-08-22 14:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bb5200012d196900071fee180041011d29..."} 
[2026-08-22 14:41:30] local.INFO: Processing buffer {"connection_id":162442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bb5200012d196900071fee180041011d29..."} 
[2026-08-22 14:41:30] local.INFO: Packet analysis {"connection_id":162442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028bb"} 
[2026-08-22 14:41:30] local.INFO: Extracted packet for processing {"connection_id":162442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028bb"} 
[2026-08-22 14:41:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571773184001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:41: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-22 14:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787389760000,"timestamp_ms":1787389760000,"timestamp_seconds":1787389760,"priority":1,"record_length":96,"hex_timestamp":"000001a028bb5200"} 
[2026-08-22 14: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-22 14:41:30] 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-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 14:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571773184001,"66":12428,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571773184001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:41:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:41:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571773184001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":162442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:41:30] local.INFO: GPS data processed {"connection_id":162442,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:41:30] local.INFO: Acknowledgment sent {"connection_id":162442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:41:49] local.INFO: TCP Data received {"connection_id":162443,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:41:49] local.INFO: Processing buffer {"connection_id":162443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:41:49] local.INFO: IMEI packet received {"connection_id":162443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":162443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:41:52] local.INFO: TCP Data received {"connection_id":159849,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:41:52] local.INFO: Processing buffer {"connection_id":159849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:41:52] local.INFO: IMEI packet received {"connection_id":159849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":159849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:41:53] local.INFO: TCP Data received {"connection_id":159849,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:41:53] local.INFO: Processing buffer {"connection_id":159849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:41:53] local.INFO: IMEI packet received {"connection_id":159849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":159849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:41:54] local.INFO: TCP Data received {"connection_id":162443,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:41:54] local.INFO: Processing buffer {"connection_id":162443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:41:54] local.INFO: IMEI packet received {"connection_id":162443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":162443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:41:55] local.INFO: TCP Data received {"connection_id":162443,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028b66448012d7fa78005afdba00000001a2c..."} 
[2026-08-22 14:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028b66448012d7fa78005afdba00000001a2c..."} 
[2026-08-22 14:41:55] local.INFO: Processing buffer {"connection_id":162443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028b66448012d7fa78005afdba00000001a2c..."} 
[2026-08-22 14:41:55] local.INFO: Packet analysis {"connection_id":162443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028b6"} 
[2026-08-22 14:41:55] local.INFO: Extracted packet for processing {"connection_id":162443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028b6"} 
[2026-08-22 14:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763340672,"raw_latitude":95411104,"longitude_deg":76.3340672,"latitude_deg":9.5411104,"altitude":0,"angle":26,"satellites":44,"speed":0,"hex_longitude":"2d7fa780","hex_latitude":"05afdba0","is_valid_coordinates":true} 
[2026-08-22 14:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571695360001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096931328,"note":"Value kept but may cause issues"} 
[2026-08-22 14:41: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-22 14:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787389437000,"timestamp_ms":1787389437000,"timestamp_seconds":1787389437,"priority":1,"record_length":96,"hex_timestamp":"000001a028b66448"} 
[2026-08-22 14:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:41: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-22 14:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 14:41: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-22 14:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571695360001,"66":27517,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9198391157096931328},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571695360001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:41:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096931328,"description":"Unknown IO ID 45"} 
[2026-08-22 14:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571695360001,"power":27517,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096931328}} 
[2026-08-22 14:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":162443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:41:55] local.INFO: GPS data processed {"connection_id":162443,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:41:55] local.INFO: Acknowledgment sent {"connection_id":162443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:41:58] local.INFO: TCP Data received {"connection_id":159849,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:41:58] local.INFO: Processing buffer {"connection_id":159849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:41:58] local.INFO: IMEI packet received {"connection_id":159849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":159849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:41:58] local.INFO: TCP Data received {"connection_id":159849,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028bba408012d196900071fee180041011d2b..."} 
[2026-08-22 14:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bba408012d196900071fee180041011d2b..."} 
[2026-08-22 14:41:58] local.INFO: Processing buffer {"connection_id":159849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bba408012d196900071fee180041011d2b..."} 
[2026-08-22 14:41:58] local.INFO: Packet analysis {"connection_id":159849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028bb"} 
[2026-08-22 14:41:58] local.INFO: Extracted packet for processing {"connection_id":159849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028bb"} 
[2026-08-22 14:41:58] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533080,"longitude_deg":75.664,"latitude_deg":11.953308,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571778560001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548042074030080,"note":"Value kept but may cause issues"} 
[2026-08-22 14:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103285760,"note":"Value kept but may cause issues"} 
[2026-08-22 14:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787389781000,"timestamp_ms":1787389781000,"timestamp_seconds":1787389781,"priority":1,"record_length":96,"hex_timestamp":"000001a028bba408"} 
[2026-08-22 14: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-22 14:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 14:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571778560001,"66":12439,"102":206,"83":41984,"24":0,"16":14548042074030080,"45":1830994754103285760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 14:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571778560001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:41:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 14:41:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548042074030080,"km_value":14548042074030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103285760,"description":"Unknown IO ID 45"} 
[2026-08-22 14:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571778560001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103285760}} 
[2026-08-22 14:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":159849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:41:59] local.INFO: GPS data processed {"connection_id":159849,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:41:59] local.INFO: Acknowledgment sent {"connection_id":159849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:42:27] local.INFO: TCP Data received {"connection_id":162443,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028bafc10012d7fabc005afdd800001001a27..."} 
[2026-08-22 14:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bafc10012d7fabc005afdd800001001a27..."} 
[2026-08-22 14:42:27] local.INFO: Processing buffer {"connection_id":162443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bafc10012d7fabc005afdd800001001a27..."} 
[2026-08-22 14:42:27] local.INFO: Packet analysis {"connection_id":162443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:42:27] local.INFO: Extracted packet for processing {"connection_id":162443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":1,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571695872001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841125376,"note":"Value kept but may cause issues"} 
[2026-08-22 14:42:27] 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-22 14:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787389738000,"timestamp_ms":1787389738000,"timestamp_seconds":1787389738,"priority":1,"record_length":96,"hex_timestamp":"000001a028bafc10"} 
[2026-08-22 14: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-22 14:42: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-22 14: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 14:42:27] 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-22 14: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-22 14: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-22 14:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571695872001,"66":26234,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9198461525841125376},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571695872001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:42:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841125376,"description":"Unknown IO ID 45"} 
[2026-08-22 14:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571695872001,"power":26234,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841125376}} 
[2026-08-22 14:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":162443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:42:27] local.INFO: GPS data processed {"connection_id":162443,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:42:27] local.INFO: Acknowledgment sent {"connection_id":162443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:42:30] local.INFO: TCP Data received {"connection_id":159849,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028bd6928012d19a040071fefd8003a00472b..."} 
[2026-08-22 14:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bd6928012d19a040071fefd8003a00472b..."} 
[2026-08-22 14:42:30] local.INFO: Processing buffer {"connection_id":159849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bd6928012d19a040071fefd8003a00472b..."} 
[2026-08-22 14:42:30] local.INFO: Packet analysis {"connection_id":159849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028bd"} 
[2026-08-22 14:42:30] local.INFO: Extracted packet for processing {"connection_id":159849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028bd"} 
[2026-08-22 14:42:30] local.INFO: GPS Element Parsed {"raw_longitude":756654144,"raw_latitude":119533528,"longitude_deg":75.6654144,"latitude_deg":11.9533528,"altitude":58,"angle":71,"satellites":43,"speed":13,"hex_longitude":"2d19a040","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571809792001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14548733563764736,"note":"Value kept but may cause issues"} 
[2026-08-22 14:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839650109637289984,"note":"Value kept but may cause issues"} 
[2026-08-22 14:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787389897000,"timestamp_ms":1787389897000,"timestamp_seconds":1787389897,"priority":1,"record_length":96,"hex_timestamp":"000001a028bd6928"} 
[2026-08-22 14: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-22 14:42:30] 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-22 14: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 14:42:30] 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-22 14: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-22 14: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-22 14:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571809792001,"66":14233,"101":206,"83":41984,"24":13,"16":14548733563764736,"45":1839650109637289984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 14:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571809792001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:42:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 14:42:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14548733563764736,"km_value":14548733563764.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839650109637289984,"description":"Unknown IO ID 45"} 
[2026-08-22 14:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571809792001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1839650109637289984}} 
[2026-08-22 14:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":159849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:42:30] local.INFO: GPS data processed {"connection_id":159849,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:42:30] local.INFO: Acknowledgment sent {"connection_id":159849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:42:49] local.INFO: TCP Data received {"connection_id":161005,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:42:49] local.INFO: Processing buffer {"connection_id":161005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:42:49] local.INFO: IMEI packet received {"connection_id":161005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":161005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:42:54] local.INFO: TCP Data received {"connection_id":161006,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:42:54] local.INFO: Processing buffer {"connection_id":161006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:42:54] local.INFO: IMEI packet received {"connection_id":161006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":161006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:42:54] local.INFO: TCP Data received {"connection_id":161005,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:42:54] local.INFO: Processing buffer {"connection_id":161005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:42:54] local.INFO: IMEI packet received {"connection_id":161005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":161005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:42:55] local.INFO: TCP Data received {"connection_id":161006,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:42:55] local.INFO: Processing buffer {"connection_id":161006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:42:55] local.INFO: IMEI packet received {"connection_id":161006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":161006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:42:55] local.INFO: TCP Data received {"connection_id":161005,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028bafc10012d7fabc005afdd800001001a27..."} 
[2026-08-22 14:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bafc10012d7fabc005afdd800001001a27..."} 
[2026-08-22 14:42:55] local.INFO: Processing buffer {"connection_id":161005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bafc10012d7fabc005afdd800001001a27..."} 
[2026-08-22 14:42:55] local.INFO: Packet analysis {"connection_id":161005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:42:55] local.INFO: Extracted packet for processing {"connection_id":161005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":1,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571695872001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841125376,"note":"Value kept but may cause issues"} 
[2026-08-22 14:42: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-22 14:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787389738000,"timestamp_ms":1787389738000,"timestamp_seconds":1787389738,"priority":1,"record_length":96,"hex_timestamp":"000001a028bafc10"} 
[2026-08-22 14:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:42: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-22 14:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 14:42:55] 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-22 14:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571695872001,"66":26234,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9198461525841125376},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571695872001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:42:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:42:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841125376,"description":"Unknown IO ID 45"} 
[2026-08-22 14:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571695872001,"power":26234,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841125376}} 
[2026-08-22 14:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":161005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:42:55] local.INFO: GPS data processed {"connection_id":161005,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:42:55] local.INFO: Acknowledgment sent {"connection_id":161005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:42:55] local.INFO: TCP Data received {"connection_id":161006,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:42:55] local.INFO: Processing buffer {"connection_id":161006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:42:55] local.INFO: IMEI packet received {"connection_id":161006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":161006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:42:56] local.INFO: TCP Data received {"connection_id":161006,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:42:56] local.INFO: Processing buffer {"connection_id":161006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:42:56] local.INFO: IMEI packet received {"connection_id":161006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":161006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:43:26] local.INFO: TCP Data received {"connection_id":161005,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028bafc10012d7fabc005afdd800001001a27..."} 
[2026-08-22 14:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bafc10012d7fabc005afdd800001001a27..."} 
[2026-08-22 14:43:26] local.INFO: Processing buffer {"connection_id":161005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bafc10012d7fabc005afdd800001001a27..."} 
[2026-08-22 14:43:26] local.INFO: Packet analysis {"connection_id":161005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:43:26] local.INFO: Extracted packet for processing {"connection_id":161005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:43:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":1,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571695872001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841125376,"note":"Value kept but may cause issues"} 
[2026-08-22 14:43: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-22 14:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787389738000,"timestamp_ms":1787389738000,"timestamp_seconds":1787389738,"priority":1,"record_length":96,"hex_timestamp":"000001a028bafc10"} 
[2026-08-22 14: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-22 14: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-22 14: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 14:43:26] 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-22 14: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-22 14: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-22 14:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571695872001,"66":26234,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9198461525841125376},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571695872001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:43:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:43:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841125376,"description":"Unknown IO ID 45"} 
[2026-08-22 14:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571695872001,"power":26234,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841125376}} 
[2026-08-22 14:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":161005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:43:26] local.INFO: GPS data processed {"connection_id":161005,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:43:26] local.INFO: Acknowledgment sent {"connection_id":161005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:43:49] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:43:49] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:43:49] local.INFO: IMEI packet received {"connection_id":159850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":159850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:43:54] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:43:54] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:43:54] local.INFO: IMEI packet received {"connection_id":159850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":159850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:43:55] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028bafc10012d7fabc005afdd800001001a27..."} 
[2026-08-22 14:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bafc10012d7fabc005afdd800001001a27..."} 
[2026-08-22 14:43:55] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bafc10012d7fabc005afdd800001001a27..."} 
[2026-08-22 14:43:55] local.INFO: Packet analysis {"connection_id":159850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:43:55] local.INFO: Extracted packet for processing {"connection_id":159850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":1,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571695872001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841125376,"note":"Value kept but may cause issues"} 
[2026-08-22 14:43: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-22 14:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787389738000,"timestamp_ms":1787389738000,"timestamp_seconds":1787389738,"priority":1,"record_length":96,"hex_timestamp":"000001a028bafc10"} 
[2026-08-22 14:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:43: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-22 14:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 14:43:55] 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-22 14:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571695872001,"66":26234,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9198461525841125376},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571695872001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:43:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:43:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841125376,"description":"Unknown IO ID 45"} 
[2026-08-22 14:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571695872001,"power":26234,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841125376}} 
[2026-08-22 14:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":159850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:43:55] local.INFO: GPS data processed {"connection_id":159850,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:43:55] local.INFO: Acknowledgment sent {"connection_id":159850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:44:26] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028bafc10012d7fabc005afdd800001001a27..."} 
[2026-08-22 14:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bafc10012d7fabc005afdd800001001a27..."} 
[2026-08-22 14:44:26] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bafc10012d7fabc005afdd800001001a27..."} 
[2026-08-22 14:44:26] local.INFO: Packet analysis {"connection_id":159850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:44:26] local.INFO: Extracted packet for processing {"connection_id":159850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ba"} 
[2026-08-22 14:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":1,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571695872001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841125376,"note":"Value kept but may cause issues"} 
[2026-08-22 14:44: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-22 14:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787389738000,"timestamp_ms":1787389738000,"timestamp_seconds":1787389738,"priority":1,"record_length":96,"hex_timestamp":"000001a028bafc10"} 
[2026-08-22 14: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-22 14: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-22 14: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 14:44:26] 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-22 14: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-22 14: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-22 14:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571695872001,"66":26234,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9198461525841125376},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571695872001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:44:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:44:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841125376,"description":"Unknown IO ID 45"} 
[2026-08-22 14:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571695872001,"power":26234,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841125376}} 
[2026-08-22 14:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":159850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:44:26] local.INFO: GPS data processed {"connection_id":159850,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:44:26] local.INFO: Acknowledgment sent {"connection_id":159850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:44:54] local.INFO: TCP Data received {"connection_id":162445,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:44:54] local.INFO: Processing buffer {"connection_id":162445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:44:54] local.INFO: IMEI packet received {"connection_id":162445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":162445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:44:59] local.INFO: TCP Data received {"connection_id":162445,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:44:59] local.INFO: Processing buffer {"connection_id":162445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:44:59] local.INFO: IMEI packet received {"connection_id":162445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":162445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:45:00] local.INFO: TCP Data received {"connection_id":162445,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:45:00] local.INFO: Processing buffer {"connection_id":162445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:45:00] local.INFO: Packet analysis {"connection_id":162445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:45:00] local.INFO: Extracted packet for processing {"connection_id":162445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":2,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571772928001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:45:00] 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-22 14:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787390039000,"timestamp_ms":1787390039000,"timestamp_seconds":1787390039,"priority":1,"record_length":96,"hex_timestamp":"000001a028bf93d8"} 
[2026-08-22 14: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-22 14:45: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-22 14: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-22 14:45: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-22 14: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-22 14: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-22 14:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571772928001,"66":26006,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571772928001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:45:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571772928001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":162445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:45:00] local.INFO: GPS data processed {"connection_id":162445,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:45:00] local.INFO: Acknowledgment sent {"connection_id":162445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:45:31] local.INFO: TCP Data received {"connection_id":162445,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:45:31] local.INFO: Processing buffer {"connection_id":162445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:45:31] local.INFO: Packet analysis {"connection_id":162445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:45:31] local.INFO: Extracted packet for processing {"connection_id":162445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:45:31] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":2,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571772928001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:45:31] 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-22 14:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787390039000,"timestamp_ms":1787390039000,"timestamp_seconds":1787390039,"priority":1,"record_length":96,"hex_timestamp":"000001a028bf93d8"} 
[2026-08-22 14:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14: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-22 14:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-22 14:45:31] 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-22 14:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571772928001,"66":26006,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571772928001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:45:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571772928001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":162445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:45:31] local.INFO: GPS data processed {"connection_id":162445,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:45:31] local.INFO: Acknowledgment sent {"connection_id":162445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:45:49] local.INFO: TCP Data received {"connection_id":160090,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:45:49] local.INFO: Processing buffer {"connection_id":160090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:45:49] local.INFO: IMEI packet received {"connection_id":160090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":160090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:45:54] local.INFO: TCP Data received {"connection_id":160090,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:45:54] local.INFO: Processing buffer {"connection_id":160090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:45:54] local.INFO: IMEI packet received {"connection_id":160090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":160090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:45:55] local.INFO: TCP Data received {"connection_id":160090,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:45:55] local.INFO: Processing buffer {"connection_id":160090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:45:55] local.INFO: Packet analysis {"connection_id":160090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:45:55] local.INFO: Extracted packet for processing {"connection_id":160090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":2,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571772928001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:45: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-22 14:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787390039000,"timestamp_ms":1787390039000,"timestamp_seconds":1787390039,"priority":1,"record_length":96,"hex_timestamp":"000001a028bf93d8"} 
[2026-08-22 14:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:45: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-22 14:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-22 14:45:55] 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-22 14:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571772928001,"66":26006,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571772928001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:45:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:45:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571772928001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":160090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:45:55] local.INFO: GPS data processed {"connection_id":160090,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:45:55] local.INFO: Acknowledgment sent {"connection_id":160090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:46:26] local.INFO: TCP Data received {"connection_id":160090,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:46:26] local.INFO: Processing buffer {"connection_id":160090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:46:26] local.INFO: Packet analysis {"connection_id":160090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:46:26] local.INFO: Extracted packet for processing {"connection_id":160090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:46:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":2,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 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-22 14:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571772928001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:46: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-22 14:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787390039000,"timestamp_ms":1787390039000,"timestamp_seconds":1787390039,"priority":1,"record_length":96,"hex_timestamp":"000001a028bf93d8"} 
[2026-08-22 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-22 14: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-22 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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-22 14:46: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-22 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-22 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-22 14:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571772928001,"66":26006,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571772928001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:46:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:46:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571772928001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":160090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:46:26] local.INFO: GPS data processed {"connection_id":160090,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:46:26] local.INFO: Acknowledgment sent {"connection_id":160090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:46:49] local.INFO: TCP Data received {"connection_id":162446,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:46:49] local.INFO: Processing buffer {"connection_id":162446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:46:49] local.INFO: IMEI packet received {"connection_id":162446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":162446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:46:54] local.INFO: TCP Data received {"connection_id":162446,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:46:54] local.INFO: Processing buffer {"connection_id":162446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:46:54] local.INFO: IMEI packet received {"connection_id":162446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":162446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:46:55] local.INFO: TCP Data received {"connection_id":162446,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:46:55] local.INFO: Processing buffer {"connection_id":162446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:46:55] local.INFO: Packet analysis {"connection_id":162446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:46:55] local.INFO: Extracted packet for processing {"connection_id":162446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:46:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":2,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571772928001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:46: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-22 14:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787390039000,"timestamp_ms":1787390039000,"timestamp_seconds":1787390039,"priority":1,"record_length":96,"hex_timestamp":"000001a028bf93d8"} 
[2026-08-22 14:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:46: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-22 14:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-22 14:46:55] 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-22 14:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571772928001,"66":26006,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571772928001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:46:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:46:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571772928001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":162446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:46:55] local.INFO: GPS data processed {"connection_id":162446,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:46:55] local.INFO: Acknowledgment sent {"connection_id":162446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:47:26] local.INFO: TCP Data received {"connection_id":162446,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:47:26] local.INFO: Processing buffer {"connection_id":162446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:47:26] local.INFO: Packet analysis {"connection_id":162446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:47:26] local.INFO: Extracted packet for processing {"connection_id":162446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:47:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":2,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571772928001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:47: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-22 14:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787390039000,"timestamp_ms":1787390039000,"timestamp_seconds":1787390039,"priority":1,"record_length":96,"hex_timestamp":"000001a028bf93d8"} 
[2026-08-22 14:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:47: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-22 14:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-22 14:47: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-22 14:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571772928001,"66":26006,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571772928001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:47:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571772928001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":162446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:47:26] local.INFO: GPS data processed {"connection_id":162446,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:47:26] local.INFO: Acknowledgment sent {"connection_id":162446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:47:48] local.INFO: TCP Data received {"connection_id":162447,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:47:48] local.INFO: Processing buffer {"connection_id":162447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:47:48] local.INFO: IMEI packet received {"connection_id":162447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":162447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:47:54] local.INFO: TCP Data received {"connection_id":162447,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:47:54] local.INFO: Processing buffer {"connection_id":162447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:47:54] local.INFO: IMEI packet received {"connection_id":162447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":162447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:47:55] local.INFO: TCP Data received {"connection_id":162447,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:47:55] local.INFO: Processing buffer {"connection_id":162447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:47:55] local.INFO: Packet analysis {"connection_id":162447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:47:55] local.INFO: Extracted packet for processing {"connection_id":162447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":2,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571772928001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:47: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-22 14:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787390039000,"timestamp_ms":1787390039000,"timestamp_seconds":1787390039,"priority":1,"record_length":96,"hex_timestamp":"000001a028bf93d8"} 
[2026-08-22 14:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:47: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-22 14:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-22 14:47:55] 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-22 14:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571772928001,"66":26006,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571772928001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:47:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:47:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571772928001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":162447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:47:55] local.INFO: GPS data processed {"connection_id":162447,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:47:55] local.INFO: Acknowledgment sent {"connection_id":162447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:47:57] local.INFO: TCP Data received {"connection_id":160091,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:47:57] local.INFO: Processing buffer {"connection_id":160091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:47:57] local.INFO: IMEI packet received {"connection_id":160091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":160091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:47:58] local.INFO: TCP Data received {"connection_id":160091,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c21478012d1866c007218238004e006527..."} 
[2026-08-22 14:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c21478012d1866c007218238004e006527..."} 
[2026-08-22 14:47:58] local.INFO: Processing buffer {"connection_id":160091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c21478012d1866c007218238004e006527..."} 
[2026-08-22 14:47:58] local.INFO: Packet analysis {"connection_id":160091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c2"} 
[2026-08-22 14:47:58] local.INFO: Extracted packet for processing {"connection_id":160091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c2"} 
[2026-08-22 14:47:58] local.INFO: GPS Element Parsed {"raw_longitude":756573888,"raw_latitude":119636536,"longitude_deg":75.6573888,"latitude_deg":11.9636536,"altitude":78,"angle":101,"satellites":39,"speed":39,"hex_longitude":"2d1866c0","hex_latitude":"07218238","is_valid_coordinates":true} 
[2026-08-22 14:47: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-22 14:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571890944001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14559505341743104,"note":"Value kept but may cause issues"} 
[2026-08-22 14:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085488132096,"note":"Value kept but may cause issues"} 
[2026-08-22 14:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787390203000,"timestamp_ms":1787390203000,"timestamp_seconds":1787390203,"priority":1,"record_length":96,"hex_timestamp":"000001a028c21478"} 
[2026-08-22 14:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:47: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-22 14:47: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":27,"data_length":795,"current_offset":136} 
[2026-08-22 14:47:58] 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-22 14:47: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-22 14:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571890944001,"66":14113,"106":206,"83":41984,"24":39,"16":14559505341743104,"45":1754152085488132096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 14:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571890944001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:47:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 14:47:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14559505341743104,"km_value":14559505341743.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085488132096,"description":"Unknown IO ID 45"} 
[2026-08-22 14:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571890944001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1754152085488132096}} 
[2026-08-22 14:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":160091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:47:58] local.INFO: GPS data processed {"connection_id":160091,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:47:58] local.INFO: Acknowledgment sent {"connection_id":160091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:48:26] local.INFO: TCP Data received {"connection_id":162447,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:48:26] local.INFO: Processing buffer {"connection_id":162447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:48:26] local.INFO: Packet analysis {"connection_id":162447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:48:26] local.INFO: Extracted packet for processing {"connection_id":162447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:48:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":2,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571772928001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:48: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-22 14:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787390039000,"timestamp_ms":1787390039000,"timestamp_seconds":1787390039,"priority":1,"record_length":96,"hex_timestamp":"000001a028bf93d8"} 
[2026-08-22 14: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-22 14: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-22 14: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-22 14:48: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-22 14: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-22 14: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-22 14:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571772928001,"66":26006,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571772928001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:48:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:48:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571772928001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":162447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:48:26] local.INFO: GPS data processed {"connection_id":162447,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:48:26] local.INFO: Acknowledgment sent {"connection_id":162447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:48:29] local.INFO: TCP Data received {"connection_id":160091,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c2e768012d18e8000720eb68003b009429..."} 
[2026-08-22 14:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c2e768012d18e8000720eb68003b009429..."} 
[2026-08-22 14:48:30] local.INFO: Processing buffer {"connection_id":160091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c2e768012d18e8000720eb68003b009429..."} 
[2026-08-22 14:48:30] local.INFO: Packet analysis {"connection_id":160091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c2"} 
[2026-08-22 14:48:30] local.INFO: Extracted packet for processing {"connection_id":160091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c2"} 
[2026-08-22 14:48:30] local.INFO: GPS Element Parsed {"raw_longitude":756606976,"raw_latitude":119597928,"longitude_deg":75.6606976,"latitude_deg":11.9597928,"altitude":59,"angle":148,"satellites":41,"speed":42,"hex_longitude":"2d18e800","hex_latitude":"0720eb68","is_valid_coordinates":true} 
[2026-08-22 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-22 14:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571905024001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14562279890616320,"note":"Value kept but may cause issues"} 
[2026-08-22 14:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792432682311170048,"note":"Value kept but may cause issues"} 
[2026-08-22 14:48: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-22 14:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787390257000,"timestamp_ms":1787390257000,"timestamp_seconds":1787390257,"priority":1,"record_length":96,"hex_timestamp":"000001a028c2e768"} 
[2026-08-22 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-22 14:48:30] 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-22 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-22 14:48:30] 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-22 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-22 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-22 14:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571905024001,"66":14265,"103":206,"83":41984,"24":42,"16":14562279890616320,"45":1792432682311170048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 14:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571905024001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:48:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 14:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14562279890616320,"km_value":14562279890616.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792432682311170048,"description":"Unknown IO ID 45"} 
[2026-08-22 14:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571905024001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1792432682311170048}} 
[2026-08-22 14:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":160091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:48:30] local.INFO: GPS data processed {"connection_id":160091,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:48:30] local.INFO: Acknowledgment sent {"connection_id":160091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:48:49] local.INFO: TCP Data received {"connection_id":161009,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:48:49] local.INFO: Processing buffer {"connection_id":161009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:48:49] local.INFO: IMEI packet received {"connection_id":161009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":161009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:48:52] local.INFO: TCP Data received {"connection_id":162448,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:48:52] local.INFO: Processing buffer {"connection_id":162448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:48:52] local.INFO: IMEI packet received {"connection_id":162448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":162448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:48:53] local.INFO: TCP Data received {"connection_id":162448,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:48:53] local.INFO: Processing buffer {"connection_id":162448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:48:53] local.INFO: IMEI packet received {"connection_id":162448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":162448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:48:54] local.INFO: TCP Data received {"connection_id":161009,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:48:54] local.INFO: Processing buffer {"connection_id":161009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:48:54] local.INFO: IMEI packet received {"connection_id":161009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":161009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:48:55] local.INFO: TCP Data received {"connection_id":161009,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:48:55] local.INFO: Processing buffer {"connection_id":161009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:48:55] local.INFO: Packet analysis {"connection_id":161009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:48:55] local.INFO: Extracted packet for processing {"connection_id":161009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:48:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":2,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571772928001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:48: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-22 14:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787390039000,"timestamp_ms":1787390039000,"timestamp_seconds":1787390039,"priority":1,"record_length":96,"hex_timestamp":"000001a028bf93d8"} 
[2026-08-22 14:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:48: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-22 14:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-22 14:48:55] 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-22 14:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571772928001,"66":26006,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571772928001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:48:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:48:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571772928001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":161009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:48:55] local.INFO: GPS data processed {"connection_id":161009,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:48:55] local.INFO: Acknowledgment sent {"connection_id":161009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:48:58] local.INFO: TCP Data received {"connection_id":162448,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:48:58] local.INFO: Processing buffer {"connection_id":162448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:48:58] local.INFO: IMEI packet received {"connection_id":162448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":162448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:48:58] local.INFO: TCP Data received {"connection_id":162448,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c2fed8012d18f7000720d618003a008629..."} 
[2026-08-22 14:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c2fed8012d18f7000720d618003a008629..."} 
[2026-08-22 14:48:58] local.INFO: Processing buffer {"connection_id":162448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c2fed8012d18f7000720d618003a008629..."} 
[2026-08-22 14:48:58] local.INFO: Packet analysis {"connection_id":162448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c2"} 
[2026-08-22 14:48:58] local.INFO: Extracted packet for processing {"connection_id":162448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c2"} 
[2026-08-22 14:48:58] local.INFO: GPS Element Parsed {"raw_longitude":756610816,"raw_latitude":119592472,"longitude_deg":75.6610816,"latitude_deg":11.9592472,"altitude":58,"angle":134,"satellites":41,"speed":45,"hex_longitude":"2d18f700","hex_latitude":"0720d618","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571905792001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14562597718196224,"note":"Value kept but may cause issues"} 
[2026-08-22 14:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794684482124212224,"note":"Value kept but may cause issues"} 
[2026-08-22 14:48: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-22 14:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787390263000,"timestamp_ms":1787390263000,"timestamp_seconds":1787390263,"priority":1,"record_length":96,"hex_timestamp":"000001a028c2fed8"} 
[2026-08-22 14: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-22 14:48: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-22 14: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 14:48: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-22 14: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-22 14: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-22 14:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571905792001,"66":14341,"103":206,"83":41984,"24":45,"16":14562597718196224,"45":1794684482124212224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 14:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571905792001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:48:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 14:48:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14562597718196224,"km_value":14562597718196.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794684482124212224,"description":"Unknown IO ID 45"} 
[2026-08-22 14:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571905792001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1794684482124212224}} 
[2026-08-22 14:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":162448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:48:59] local.INFO: GPS data processed {"connection_id":162448,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:48:59] local.INFO: Acknowledgment sent {"connection_id":162448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:49:26] local.INFO: TCP Data received {"connection_id":161009,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:49:26] local.INFO: Processing buffer {"connection_id":161009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028bf93d8012d7fabc005afdd800002001a27..."} 
[2026-08-22 14:49:26] local.INFO: Packet analysis {"connection_id":161009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:49:26] local.INFO: Extracted packet for processing {"connection_id":161009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028bf"} 
[2026-08-22 14:49:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":2,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571772928001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:49: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-22 14:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787390039000,"timestamp_ms":1787390039000,"timestamp_seconds":1787390039,"priority":1,"record_length":96,"hex_timestamp":"000001a028bf93d8"} 
[2026-08-22 14:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14: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-22 14:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-22 14:49: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-22 14:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571772928001,"66":26006,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571772928001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:49:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:49:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571772928001,"power":26006,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":161009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:49:26] local.INFO: GPS data processed {"connection_id":161009,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:49:26] local.INFO: Acknowledgment sent {"connection_id":161009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:49:29] local.INFO: TCP Data received {"connection_id":162448,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c3f108012d19b90007209fe0002f00db27..."} 
[2026-08-22 14:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c3f108012d19b90007209fe0002f00db27..."} 
[2026-08-22 14:49:29] local.INFO: Processing buffer {"connection_id":162448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c3f108012d19b90007209fe0002f00db27..."} 
[2026-08-22 14:49:29] local.INFO: Packet analysis {"connection_id":162448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c3"} 
[2026-08-22 14:49:29] local.INFO: Extracted packet for processing {"connection_id":162448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c3"} 
[2026-08-22 14:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119578592,"longitude_deg":75.666048,"latitude_deg":11.9578592,"altitude":47,"angle":219,"satellites":39,"speed":25,"hex_longitude":"2d19b900","hex_latitude":"07209fe0","is_valid_coordinates":true} 
[2026-08-22 14:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571922688001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14565299252625408,"note":"Value kept but may cause issues"} 
[2026-08-22 14:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177182144512,"note":"Value kept but may cause issues"} 
[2026-08-22 14:49:29] 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-22 14:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787390325000,"timestamp_ms":1787390325000,"timestamp_seconds":1787390325,"priority":1,"record_length":96,"hex_timestamp":"000001a028c3f108"} 
[2026-08-22 14:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 14:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 14:49:29] 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-22 14:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571922688001,"66":13493,"103":206,"83":41984,"24":25,"16":14565299252625408,"45":1854357177182144512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 14:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571922688001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:49:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 14:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14565299252625408,"km_value":14565299252625.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177182144512,"description":"Unknown IO ID 45"} 
[2026-08-22 14:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571922688001,"power":13493,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1854357177182144512}} 
[2026-08-22 14:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":162448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:49:29] local.INFO: GPS data processed {"connection_id":162448,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:49:29] local.INFO: Acknowledgment sent {"connection_id":162448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:49:54] local.INFO: TCP Data received {"connection_id":160092,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:49:54] local.INFO: Processing buffer {"connection_id":160092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:49:54] local.INFO: IMEI packet received {"connection_id":160092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":160092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:49:57] local.INFO: TCP Data received {"connection_id":161010,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:49:57] local.INFO: Processing buffer {"connection_id":161010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:49:57] local.INFO: IMEI packet received {"connection_id":161010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":161010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:50:01] local.INFO: TCP Data received {"connection_id":161010,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:50:01] local.INFO: Processing buffer {"connection_id":161010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:50:01] local.INFO: IMEI packet received {"connection_id":161010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":161010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:50:01] local.INFO: TCP Data received {"connection_id":160092,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:50:01] local.INFO: Processing buffer {"connection_id":160092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:50:01] local.INFO: IMEI packet received {"connection_id":160092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":160092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:50:02] local.INFO: TCP Data received {"connection_id":161010,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c40490012d19af8007209370002e00cf29..."} 
[2026-08-22 14:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c40490012d19af8007209370002e00cf29..."} 
[2026-08-22 14:50:02] local.INFO: Processing buffer {"connection_id":161010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c40490012d19af8007209370002e00cf29..."} 
[2026-08-22 14:50:02] local.INFO: Packet analysis {"connection_id":161010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:50:02] local.INFO: Extracted packet for processing {"connection_id":161010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:50:02] local.INFO: GPS Element Parsed {"raw_longitude":756658048,"raw_latitude":119575408,"longitude_deg":75.6658048,"latitude_deg":11.9575408,"altitude":46,"angle":207,"satellites":41,"speed":33,"hex_longitude":"2d19af80","hex_latitude":"07209370","is_valid_coordinates":true} 
[2026-08-22 14:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571923200001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14565492526153728,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752251789312,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50: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-22 14:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787390330000,"timestamp_ms":1787390330000,"timestamp_seconds":1787390330,"priority":1,"record_length":96,"hex_timestamp":"000001a028c40490"} 
[2026-08-22 14:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:50:02] 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-22 14:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 14:50:02] 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-22 14:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571923200001,"66":14428,"103":206,"83":41984,"24":33,"16":14565492526153728,"45":1853512752251789312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 14:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571923200001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:50:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 14:50:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14565492526153728,"km_value":14565492526153.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752251789312,"description":"Unknown IO ID 45"} 
[2026-08-22 14:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571923200001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1853512752251789312}} 
[2026-08-22 14:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":161010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:50:02] local.INFO: GPS data processed {"connection_id":161010,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:50:02] local.INFO: Acknowledgment sent {"connection_id":161010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:50:02] local.INFO: TCP Data received {"connection_id":160092,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:50:02] local.INFO: Processing buffer {"connection_id":160092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:50:02] local.INFO: Packet analysis {"connection_id":160092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:50:02] local.INFO: Extracted packet for processing {"connection_id":160092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":37,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571849984001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:02] 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-22 14:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787390340000,"timestamp_ms":1787390340000,"timestamp_seconds":1787390340,"priority":1,"record_length":96,"hex_timestamp":"000001a028c42ba0"} 
[2026-08-22 14:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:50: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-22 14:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 14:50:02] 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-22 14:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571849984001,"66":25854,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571849984001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:50:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571849984001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":160092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:50:02] local.INFO: GPS data processed {"connection_id":160092,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:50:02] local.INFO: Acknowledgment sent {"connection_id":160092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:50:03] local.INFO: TCP Data received {"connection_id":161010,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c40878012d19ae4007209050002e00c328..."} 
[2026-08-22 14:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c40878012d19ae4007209050002e00c328..."} 
[2026-08-22 14:50:03] local.INFO: Processing buffer {"connection_id":161010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c40878012d19ae4007209050002e00c328..."} 
[2026-08-22 14:50:03] local.INFO: Packet analysis {"connection_id":161010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:50:03] local.INFO: Extracted packet for processing {"connection_id":161010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:50:03] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119574608,"longitude_deg":75.6657728,"latitude_deg":11.9574608,"altitude":46,"angle":195,"satellites":40,"speed":33,"hex_longitude":"2d19ae40","hex_latitude":"07209050","is_valid_coordinates":true} 
[2026-08-22 14:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571924480001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14565535475826688,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850838739972222976,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787390331000,"timestamp_ms":1787390331000,"timestamp_seconds":1787390331,"priority":1,"record_length":96,"hex_timestamp":"000001a028c40878"} 
[2026-08-22 14:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:50: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-22 14:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 14:50:03] 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-22 14:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571924480001,"66":14428,"103":206,"83":41984,"24":33,"16":14565535475826688,"45":1850838739972222976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 14:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571924480001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:50:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 14:50:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14565535475826688,"km_value":14565535475826.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850838739972222976,"description":"Unknown IO ID 45"} 
[2026-08-22 14:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571924480001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1850838739972222976}} 
[2026-08-22 14:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":161010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:50:03] local.INFO: GPS data processed {"connection_id":161010,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:50:03] local.INFO: Acknowledgment sent {"connection_id":161010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:50:33] local.INFO: TCP Data received {"connection_id":160092,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:50:33] local.INFO: Processing buffer {"connection_id":160092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:50:33] local.INFO: Packet analysis {"connection_id":160092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:50:33] local.INFO: Extracted packet for processing {"connection_id":160092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":37,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571849984001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:33] 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-22 14:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787390340000,"timestamp_ms":1787390340000,"timestamp_seconds":1787390340,"priority":1,"record_length":96,"hex_timestamp":"000001a028c42ba0"} 
[2026-08-22 14: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-22 14: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-22 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 14:50:33] 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-22 14: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-22 14: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-22 14:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571849984001,"66":25854,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571849984001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:50:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571849984001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":160092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:50:33] local.INFO: GPS data processed {"connection_id":160092,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:50:33] local.INFO: Acknowledgment sent {"connection_id":160092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:50:34] local.INFO: TCP Data received {"connection_id":161010,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c4b840012d19f300071ffb98002c005d26..."} 
[2026-08-22 14:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c4b840012d19f300071ffb98002c005d26..."} 
[2026-08-22 14:50:34] local.INFO: Processing buffer {"connection_id":161010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c4b840012d19f300071ffb98002c005d26..."} 
[2026-08-22 14:50:34] local.INFO: Packet analysis {"connection_id":161010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:50:34] local.INFO: Extracted packet for processing {"connection_id":161010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:50:34] local.INFO: GPS Element Parsed {"raw_longitude":756675328,"raw_latitude":119536536,"longitude_deg":75.6675328,"latitude_deg":11.9536536,"altitude":44,"angle":93,"satellites":38,"speed":29,"hex_longitude":"2d19f300","hex_latitude":"071ffb98","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571936000001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14567691549409280,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868923507215925248,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:34] 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-22 14:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787390376000,"timestamp_ms":1787390376000,"timestamp_seconds":1787390376,"priority":1,"record_length":96,"hex_timestamp":"000001a028c4b840"} 
[2026-08-22 14:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:50:34] 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-22 14:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 14:50: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-22 14:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571936000001,"66":14428,"101":206,"83":41984,"24":29,"16":14567691549409280,"45":1868923507215925248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 14:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571936000001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:50:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 14:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14567691549409280,"km_value":14567691549409.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868923507215925248,"description":"Unknown IO ID 45"} 
[2026-08-22 14:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571936000001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1868923507215925248}} 
[2026-08-22 14:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":161010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:50:34] local.INFO: GPS data processed {"connection_id":161010,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:50:34] local.INFO: Acknowledgment sent {"connection_id":161010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:50:48] local.INFO: TCP Data received {"connection_id":161011,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:50:48] local.INFO: Processing buffer {"connection_id":161011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:50:48] local.INFO: IMEI packet received {"connection_id":161011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":161011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:50:49] local.INFO: TCP Data received {"connection_id":161012,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:50:49] local.INFO: Processing buffer {"connection_id":161012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:50:49] local.INFO: IMEI packet received {"connection_id":161012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":161012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:50:53] local.INFO: TCP Data received {"connection_id":161012,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:50:53] local.INFO: Processing buffer {"connection_id":161012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:50:53] local.INFO: IMEI packet received {"connection_id":161012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":161012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:50:54] local.INFO: TCP Data received {"connection_id":161011,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:50:54] local.INFO: Processing buffer {"connection_id":161011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:50:54] local.INFO: IMEI packet received {"connection_id":161011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":161011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:50:55] local.INFO: TCP Data received {"connection_id":161011,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:50:55] local.INFO: Processing buffer {"connection_id":161011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:50:55] local.INFO: Packet analysis {"connection_id":161011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:50:55] local.INFO: Extracted packet for processing {"connection_id":161011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:50:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":37,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571849984001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50: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-22 14:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787390340000,"timestamp_ms":1787390340000,"timestamp_seconds":1787390340,"priority":1,"record_length":96,"hex_timestamp":"000001a028c42ba0"} 
[2026-08-22 14:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:50: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-22 14:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 14:50: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-22 14:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571849984001,"66":25854,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571849984001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:50:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:50:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571849984001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":161011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:50:55] local.INFO: GPS data processed {"connection_id":161011,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:50:55] local.INFO: Acknowledgment sent {"connection_id":161011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:50:58] local.INFO: TCP Data received {"connection_id":161012,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:50:58] local.INFO: Processing buffer {"connection_id":161012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:50:58] local.INFO: IMEI packet received {"connection_id":161012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":161012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:50:58] local.INFO: TCP Data received {"connection_id":161012,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c4c7e0012d1a0200071ffa40002c006c27..."} 
[2026-08-22 14:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c4c7e0012d1a0200071ffa40002c006c27..."} 
[2026-08-22 14:50:58] local.INFO: Processing buffer {"connection_id":161012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c4c7e0012d1a0200071ffa40002c006c27..."} 
[2026-08-22 14:50:58] local.INFO: Packet analysis {"connection_id":161012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:50:58] local.INFO: Extracted packet for processing {"connection_id":161012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:50:58] local.INFO: GPS Element Parsed {"raw_longitude":756679168,"raw_latitude":119536192,"longitude_deg":75.6679168,"latitude_deg":11.9536192,"altitude":44,"angle":108,"satellites":39,"speed":40,"hex_longitude":"2d1a0200","hex_latitude":"071ffa40","is_valid_coordinates":true} 
[2026-08-22 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-22 14:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571936256001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14567876233003008,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869838300890241024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787390380000,"timestamp_ms":1787390380000,"timestamp_seconds":1787390380,"priority":1,"record_length":96,"hex_timestamp":"000001a028c4c7e0"} 
[2026-08-22 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-22 14:50: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-22 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 14:50:58] 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-22 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-22 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-22 14:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571936256001,"66":14483,"101":206,"83":41984,"24":40,"16":14567876233003008,"45":1869838300890241024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 14:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571936256001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:50:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 14:50:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14567876233003008,"km_value":14567876233003.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869838300890241024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571936256001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1869838300890241024}} 
[2026-08-22 14:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":161012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:50:59] local.INFO: GPS data processed {"connection_id":161012,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:50:59] local.INFO: Acknowledgment sent {"connection_id":161012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:50:59] local.INFO: TCP Data received {"connection_id":161012,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c4e720012d1a2440071ff000002c006929..."} 
[2026-08-22 14:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c4e720012d1a2440071ff000002c006929..."} 
[2026-08-22 14:50:59] local.INFO: Processing buffer {"connection_id":161012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c4e720012d1a2440071ff000002c006929..."} 
[2026-08-22 14:50:59] local.INFO: Packet analysis {"connection_id":161012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:50:59] local.INFO: Extracted packet for processing {"connection_id":161012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756687936,"raw_latitude":119533568,"longitude_deg":75.6687936,"latitude_deg":11.9533568,"altitude":44,"angle":105,"satellites":41,"speed":47,"hex_longitude":"2d1a2440","hex_latitude":"071ff000","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571937280001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14568310024699904,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1874060425540812800,"note":"Value kept but may cause issues"} 
[2026-08-22 14:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787390388000,"timestamp_ms":1787390388000,"timestamp_seconds":1787390388,"priority":1,"record_length":96,"hex_timestamp":"000001a028c4e720"} 
[2026-08-22 14: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-22 14:50: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-22 14: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":147,"data_length":795,"current_offset":136} 
[2026-08-22 14:50:59] 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-22 14: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-22 14: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-22 14:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571937280001,"66":14135,"101":206,"83":41984,"24":47,"16":14568310024699904,"45":1874060425540812800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 14:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571937280001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:50:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 14:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14568310024699904,"km_value":14568310024699.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1874060425540812800,"description":"Unknown IO ID 45"} 
[2026-08-22 14:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571937280001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1874060425540812800}} 
[2026-08-22 14:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":161012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:50:59] local.INFO: GPS data processed {"connection_id":161012,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:50:59] local.INFO: Acknowledgment sent {"connection_id":161012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:51:26] local.INFO: TCP Data received {"connection_id":161011,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:51:26] local.INFO: Processing buffer {"connection_id":161011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:51:26] local.INFO: Packet analysis {"connection_id":161011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:51:26] local.INFO: Extracted packet for processing {"connection_id":161011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:51:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":37,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571849984001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:51: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-22 14:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787390340000,"timestamp_ms":1787390340000,"timestamp_seconds":1787390340,"priority":1,"record_length":96,"hex_timestamp":"000001a028c42ba0"} 
[2026-08-22 14: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-22 14:51: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-22 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 14:51:26] 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-22 14: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-22 14: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-22 14:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571849984001,"66":25854,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571849984001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:51:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571849984001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":161011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:51:26] local.INFO: GPS data processed {"connection_id":161011,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:51:26] local.INFO: Acknowledgment sent {"connection_id":161011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:51:30] local.INFO: TCP Data received {"connection_id":161012,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c50660012d1a4840071fe658002e006b2a..."} 
[2026-08-22 14:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c50660012d1a4840071fe658002e006b2a..."} 
[2026-08-22 14:51:30] local.INFO: Processing buffer {"connection_id":161012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c50660012d1a4840071fe658002e006b2a..."} 
[2026-08-22 14:51:30] local.INFO: Packet analysis {"connection_id":161012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c5"} 
[2026-08-22 14:51:30] local.INFO: Extracted packet for processing {"connection_id":161012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c5"} 
[2026-08-22 14:51:30] local.INFO: GPS Element Parsed {"raw_longitude":756697152,"raw_latitude":119531096,"longitude_deg":75.6697152,"latitude_deg":11.9531096,"altitude":46,"angle":107,"satellites":42,"speed":45,"hex_longitude":"2d1a4840","hex_latitude":"071fe658","is_valid_coordinates":true} 
[2026-08-22 14:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571939328001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14568765291233280,"note":"Value kept but may cause issues"} 
[2026-08-22 14:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883700943492481024,"note":"Value kept but may cause issues"} 
[2026-08-22 14:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787390396000,"timestamp_ms":1787390396000,"timestamp_seconds":1787390396,"priority":1,"record_length":96,"hex_timestamp":"000001a028c50660"} 
[2026-08-22 14:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:51:30] 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-22 14:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-22 14:51:30] 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-22 14:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571939328001,"66":14135,"101":206,"83":41984,"24":45,"16":14568765291233280,"45":1883700943492481024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 14:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571939328001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:51:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 14:51:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14568765291233280,"km_value":14568765291233.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883700943492481024,"description":"Unknown IO ID 45"} 
[2026-08-22 14:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571939328001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1883700943492481024}} 
[2026-08-22 14:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":161012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:51:30] local.INFO: GPS data processed {"connection_id":161012,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:51:30] local.INFO: Acknowledgment sent {"connection_id":161012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:51:48] local.INFO: TCP Data received {"connection_id":162449,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:51:48] local.INFO: Processing buffer {"connection_id":162449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:51:48] local.INFO: IMEI packet received {"connection_id":162449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":162449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:51:52] local.INFO: TCP Data received {"connection_id":162450,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:51:52] local.INFO: Processing buffer {"connection_id":162450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:51:52] local.INFO: IMEI packet received {"connection_id":162450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":162450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:51:52] local.INFO: TCP Data received {"connection_id":162450,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:51:52] local.INFO: Processing buffer {"connection_id":162450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:51:52] local.INFO: IMEI packet received {"connection_id":162450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":162450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:51:53] local.INFO: TCP Data received {"connection_id":162450,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:51:53] local.INFO: Processing buffer {"connection_id":162450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:51:53] local.INFO: IMEI packet received {"connection_id":162450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":162450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:51:54] local.INFO: TCP Data received {"connection_id":162449,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:51:54] local.INFO: Processing buffer {"connection_id":162449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:51:54] local.INFO: IMEI packet received {"connection_id":162449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":162449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:51:54] local.INFO: TCP Data received {"connection_id":162450,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c50e30012d1a5000071fe2c0002e007829..."} 
[2026-08-22 14:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c50e30012d1a5000071fe2c0002e007829..."} 
[2026-08-22 14:51:54] local.INFO: Processing buffer {"connection_id":162450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c50e30012d1a5000071fe2c0002e007829..."} 
[2026-08-22 14:51:54] local.INFO: Packet analysis {"connection_id":162450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c5"} 
[2026-08-22 14:51:54] local.INFO: Extracted packet for processing {"connection_id":162450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c5"} 
[2026-08-22 14:51:54] local.INFO: GPS Element Parsed {"raw_longitude":756699136,"raw_latitude":119530176,"longitude_deg":75.6699136,"latitude_deg":11.9530176,"altitude":46,"angle":120,"satellites":41,"speed":43,"hex_longitude":"2d1a5000","hex_latitude":"071fe2c0","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571941376001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14568868370448384,"note":"Value kept but may cause issues"} 
[2026-08-22 14:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893834042653431808,"note":"Value kept but may cause issues"} 
[2026-08-22 14:51: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-22 14:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787390398000,"timestamp_ms":1787390398000,"timestamp_seconds":1787390398,"priority":1,"record_length":96,"hex_timestamp":"000001a028c50e30"} 
[2026-08-22 14: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-22 14:51: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-22 14: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-22 14:51:54] 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-22 14: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-22 14: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-22 14:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571941376001,"66":14080,"101":206,"83":41984,"24":43,"16":14568868370448384,"45":1893834042653431808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 14:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571941376001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:51:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 14:51:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14568868370448384,"km_value":14568868370448.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893834042653431808,"description":"Unknown IO ID 45"} 
[2026-08-22 14:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571941376001,"power":14080,"unknown_101":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1893834042653431808}} 
[2026-08-22 14:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":162450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:51:54] local.INFO: GPS data processed {"connection_id":162450,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:51:54] local.INFO: Acknowledgment sent {"connection_id":162450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:51:55] local.INFO: TCP Data received {"connection_id":162449,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:51:55] local.INFO: Processing buffer {"connection_id":162449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:51:55] local.INFO: Packet analysis {"connection_id":162449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:51:55] local.INFO: Extracted packet for processing {"connection_id":162449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":37,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571849984001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:51: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-22 14:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787390340000,"timestamp_ms":1787390340000,"timestamp_seconds":1787390340,"priority":1,"record_length":96,"hex_timestamp":"000001a028c42ba0"} 
[2026-08-22 14: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-22 14:51: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-22 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 14:51: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-22 14: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-22 14: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-22 14:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571849984001,"66":25854,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571849984001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:51:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:51:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571849984001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":162449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:51:55] local.INFO: GPS data processed {"connection_id":162449,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:51:55] local.INFO: Acknowledgment sent {"connection_id":162449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:52:25] local.INFO: TCP Data received {"connection_id":162450,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c6a858012d1a6c40071fd8c00038013028..."} 
[2026-08-22 14:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c6a858012d1a6c40071fd8c00038013028..."} 
[2026-08-22 14:52:25] local.INFO: Processing buffer {"connection_id":162450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c6a858012d1a6c40071fd8c00038013028..."} 
[2026-08-22 14:52:25] local.INFO: Packet analysis {"connection_id":162450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c6"} 
[2026-08-22 14:52:25] local.INFO: Extracted packet for processing {"connection_id":162450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c6"} 
[2026-08-22 14:52:25] local.INFO: GPS Element Parsed {"raw_longitude":756706368,"raw_latitude":119527616,"longitude_deg":75.6706368,"latitude_deg":11.9527616,"altitude":56,"angle":304,"satellites":40,"speed":42,"hex_longitude":"2d1a6c40","hex_latitude":"071fd8c0","is_valid_coordinates":true} 
[2026-08-22 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-22 14:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571968256001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14571277847101440,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905867097906556928,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52: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-22 14:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787390503000,"timestamp_ms":1787390503000,"timestamp_seconds":1787390503,"priority":1,"record_length":96,"hex_timestamp":"000001a028c6a858"} 
[2026-08-22 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-22 14:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 14:52:25] 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-22 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-22 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-22 14:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571968256001,"66":14341,"101":206,"83":41984,"24":42,"16":14571277847101440,"45":1905867097906556928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 14:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571968256001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:52:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 14:52:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14571277847101440,"km_value":14571277847101.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905867097906556928,"description":"Unknown IO ID 45"} 
[2026-08-22 14:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571968256001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1905867097906556928}} 
[2026-08-22 14:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":162450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:52:25] local.INFO: GPS data processed {"connection_id":162450,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:52:25] local.INFO: Acknowledgment sent {"connection_id":162450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:52:26] local.INFO: TCP Data received {"connection_id":162449,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:52:26] local.INFO: Processing buffer {"connection_id":162449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:52:26] local.INFO: Packet analysis {"connection_id":162449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:52:26] local.INFO: Extracted packet for processing {"connection_id":162449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:52:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":37,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571849984001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52: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-22 14:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787390340000,"timestamp_ms":1787390340000,"timestamp_seconds":1787390340,"priority":1,"record_length":96,"hex_timestamp":"000001a028c42ba0"} 
[2026-08-22 14:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:52: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-22 14:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 14:52:26] 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-22 14:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571849984001,"66":25854,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571849984001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:52:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571849984001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":162449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:52:26] local.INFO: GPS data processed {"connection_id":162449,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:52:26] local.INFO: Acknowledgment sent {"connection_id":162449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:52:51] local.INFO: TCP Data received {"connection_id":160093,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:52:51] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:52:51] local.INFO: IMEI packet received {"connection_id":160093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":160093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:52:52] local.INFO: TCP Data received {"connection_id":160093,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:52:52] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:52:52] local.INFO: IMEI packet received {"connection_id":160093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":160093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:52:54] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:52:54] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:52:54] local.INFO: IMEI packet received {"connection_id":159852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":159852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:52:58] local.INFO: TCP Data received {"connection_id":160093,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:52:58] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:52:58] local.INFO: IMEI packet received {"connection_id":160093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":160093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:52:59] local.INFO: TCP Data received {"connection_id":160093,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c6b028012d1a6540071fdbf80037012029..."} 
[2026-08-22 14:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c6b028012d1a6540071fdbf80037012029..."} 
[2026-08-22 14:52:59] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c6b028012d1a6540071fdbf80037012029..."} 
[2026-08-22 14:52:59] local.INFO: Packet analysis {"connection_id":160093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c6"} 
[2026-08-22 14:52:59] local.INFO: Extracted packet for processing {"connection_id":160093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c6"} 
[2026-08-22 14:52:59] local.INFO: GPS Element Parsed {"raw_longitude":756704576,"raw_latitude":119528440,"longitude_deg":75.6704576,"latitude_deg":11.952844,"altitude":55,"angle":288,"satellites":41,"speed":37,"hex_longitude":"2d1a6540","hex_latitude":"071fdbf8","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571968768001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14571376631349248,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903967141814124544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787390505000,"timestamp_ms":1787390505000,"timestamp_seconds":1787390505,"priority":1,"record_length":96,"hex_timestamp":"000001a028c6b028"} 
[2026-08-22 14: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-22 14:52: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-22 14: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 14:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":15763239317012992,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84753246782431132,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:59] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3326521345,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3355520282,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:59] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503821952024576,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2597322808,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-22 14:52:59] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3281387520,"note":"Value kept but may cause issues"} 
[2026-08-22 14:52:59] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,196,160,45,211,56,40,10,66,129,64,181,195,74,1,240,22,227,31,4,113,205,6,192,39,239,55,2,51,7,5,206],"length":529,"final_offset":659,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-22 14:52:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035559689460252672,"timestamp_seconds":4035559689460252.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 14: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-22 14:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571968768001,"66":14374,"101":206,"83":41984,"24":37,"16":14571376631349248,"45":1903967141814124544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 14:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571968768001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:52:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 14:52:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14571376631349248,"km_value":14571376631349.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903967141814124544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571968768001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1903967141814124544}} 
[2026-08-22 14:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":160093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:52:59] local.INFO: GPS data processed {"connection_id":160093,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:52:59] local.INFO: Acknowledgment sent {"connection_id":160093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:52:59] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:52:59] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:52:59] local.INFO: IMEI packet received {"connection_id":159852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":159852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:53:00] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:53:00] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:53:00] local.INFO: Packet analysis {"connection_id":159852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:53:00] local.INFO: Extracted packet for processing {"connection_id":159852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":37,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571849984001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:53:00] 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-22 14:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787390340000,"timestamp_ms":1787390340000,"timestamp_seconds":1787390340,"priority":1,"record_length":96,"hex_timestamp":"000001a028c42ba0"} 
[2026-08-22 14: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-22 14:53: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-22 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 14:53:00] 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-22 14: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-22 14: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-22 14:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571849984001,"66":25854,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571849984001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:53:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:53:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571849984001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":159852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:53:00] local.INFO: GPS data processed {"connection_id":159852,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:53:00] local.INFO: Acknowledgment sent {"connection_id":159852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:53:04] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:53:04] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:53:04] local.INFO: Packet analysis {"connection_id":159852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:53:04] local.INFO: Extracted packet for processing {"connection_id":159852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":37,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571849984001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:53:04] 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-22 14:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787390340000,"timestamp_ms":1787390340000,"timestamp_seconds":1787390340,"priority":1,"record_length":96,"hex_timestamp":"000001a028c42ba0"} 
[2026-08-22 14: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-22 14:53: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-22 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 14:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 14: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-22 14: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-22 14:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571849984001,"66":25854,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571849984001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:53:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571849984001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":159852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:53:04] local.INFO: GPS data processed {"connection_id":159852,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:53:04] local.INFO: Acknowledgment sent {"connection_id":159852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:53:30] local.INFO: TCP Data received {"connection_id":160093,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c78318012d19c94007201bd00031014f2a..."} 
[2026-08-22 14:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c78318012d19c94007201bd00031014f2a..."} 
[2026-08-22 14:53:30] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c78318012d19c94007201bd00031014f2a..."} 
[2026-08-22 14:53:30] local.INFO: Packet analysis {"connection_id":160093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c7"} 
[2026-08-22 14:53:30] local.INFO: Extracted packet for processing {"connection_id":160093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c7"} 
[2026-08-22 14:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756664640,"raw_latitude":119544784,"longitude_deg":75.666464,"latitude_deg":11.9544784,"altitude":49,"angle":335,"satellites":42,"speed":44,"hex_longitude":"2d19c940","hex_latitude":"07201bd0","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571982592001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14573511230095360,"note":"Value kept but may cause issues"} 
[2026-08-22 14:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009391104,"note":"Value kept but may cause issues"} 
[2026-08-22 14:53: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-22 14:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787390559000,"timestamp_ms":1787390559000,"timestamp_seconds":1787390559,"priority":1,"record_length":96,"hex_timestamp":"000001a028c78318"} 
[2026-08-22 14: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-22 14:53:30] 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-22 14: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 14:53:30] 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-22 14: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-22 14: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-22 14:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571982592001,"66":13319,"103":206,"83":41984,"24":44,"16":14573511230095360,"45":1859353358009391104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 14:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571982592001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:53:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 14:53:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14573511230095360,"km_value":14573511230095.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009391104,"description":"Unknown IO ID 45"} 
[2026-08-22 14:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571982592001,"power":13319,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1859353358009391104}} 
[2026-08-22 14:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":160093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:53:30] local.INFO: GPS data processed {"connection_id":160093,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:53:30] local.INFO: Acknowledgment sent {"connection_id":160093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:53:49] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:53:49] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:53:49] local.INFO: IMEI packet received {"connection_id":159853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":159853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:53:51] local.INFO: TCP Data received {"connection_id":162451,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:53:51] local.INFO: Processing buffer {"connection_id":162451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:53:51] local.INFO: IMEI packet received {"connection_id":162451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":162451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:53:52] local.INFO: TCP Data received {"connection_id":162451,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:53:52] local.INFO: Processing buffer {"connection_id":162451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:53:52] local.INFO: IMEI packet received {"connection_id":162451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":162451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:53:53] local.INFO: TCP Data received {"connection_id":162451,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:53:53] local.INFO: Processing buffer {"connection_id":162451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:53:53] local.INFO: IMEI packet received {"connection_id":162451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":162451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:53:54] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:53:54] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:53:54] local.INFO: IMEI packet received {"connection_id":159853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":159853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:53:54] local.INFO: TCP Data received {"connection_id":162451,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:53:54] local.INFO: Processing buffer {"connection_id":162451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:53:54] local.INFO: IMEI packet received {"connection_id":162451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":162451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:53:55] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:53:55] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:53:55] local.INFO: Packet analysis {"connection_id":159853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:53:55] local.INFO: Extracted packet for processing {"connection_id":159853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:53:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":37,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571849984001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:53: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-22 14:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787390340000,"timestamp_ms":1787390340000,"timestamp_seconds":1787390340,"priority":1,"record_length":96,"hex_timestamp":"000001a028c42ba0"} 
[2026-08-22 14:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:53: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-22 14:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 14:53: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-22 14:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571849984001,"66":25854,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571849984001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:53:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:53:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571849984001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":159853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:53:55] local.INFO: GPS data processed {"connection_id":159853,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:53:55] local.INFO: Acknowledgment sent {"connection_id":159853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:54:26] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:54:26] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c42ba0012d7fabc005afdd800010001a25..."} 
[2026-08-22 14:54:26] local.INFO: Packet analysis {"connection_id":159853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:54:26] local.INFO: Extracted packet for processing {"connection_id":159853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c4"} 
[2026-08-22 14:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":37,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571849984001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:54: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-22 14:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787390340000,"timestamp_ms":1787390340000,"timestamp_seconds":1787390340,"priority":1,"record_length":96,"hex_timestamp":"000001a028c42ba0"} 
[2026-08-22 14:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:54: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-22 14:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 14:54:26] 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-22 14:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571849984001,"66":25854,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571849984001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:54:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571849984001,"power":25854,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":159853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:54:26] local.INFO: GPS data processed {"connection_id":159853,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:54:26] local.INFO: Acknowledgment sent {"connection_id":159853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:54:48] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:54:48] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:54:48] local.INFO: IMEI packet received {"connection_id":159854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":159854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:54:54] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:54:54] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:54:54] local.INFO: IMEI packet received {"connection_id":159854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":159854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:54:55] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:54:55] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:54:55] local.INFO: Packet analysis {"connection_id":159854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:54:55] local.INFO: Extracted packet for processing {"connection_id":159854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:54:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571927040001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:54: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-22 14:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787390641000,"timestamp_ms":1787390641000,"timestamp_seconds":1787390641,"priority":1,"record_length":96,"hex_timestamp":"000001a028c8c368"} 
[2026-08-22 14:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:54: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-22 14:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 14:54:55] 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-22 14:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571927040001,"66":25843,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571927040001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:54:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:54:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571927040001,"power":25843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":159854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:54:55] local.INFO: GPS data processed {"connection_id":159854,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:54:55] local.INFO: Acknowledgment sent {"connection_id":159854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:55:26] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:55:26] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:55:26] local.INFO: Packet analysis {"connection_id":159854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:55:26] local.INFO: Extracted packet for processing {"connection_id":159854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:55:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571927040001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:55: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-22 14:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787390641000,"timestamp_ms":1787390641000,"timestamp_seconds":1787390641,"priority":1,"record_length":96,"hex_timestamp":"000001a028c8c368"} 
[2026-08-22 14:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:55: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-22 14:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 14:55:26] 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-22 14:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571927040001,"66":25843,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571927040001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:55:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571927040001,"power":25843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":159854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:55:26] local.INFO: GPS data processed {"connection_id":159854,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:55:26] local.INFO: Acknowledgment sent {"connection_id":159854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:55:48] local.INFO: TCP Data received {"connection_id":162452,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:55:48] local.INFO: Processing buffer {"connection_id":162452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:55:48] local.INFO: IMEI packet received {"connection_id":162452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":162452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:55:54] local.INFO: TCP Data received {"connection_id":162452,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:55:54] local.INFO: Processing buffer {"connection_id":162452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:55:54] local.INFO: IMEI packet received {"connection_id":162452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":162452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:55:55] local.INFO: TCP Data received {"connection_id":162452,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:55:55] local.INFO: Processing buffer {"connection_id":162452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:55:55] local.INFO: Packet analysis {"connection_id":162452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:55:55] local.INFO: Extracted packet for processing {"connection_id":162452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:55:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571927040001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:55: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-22 14:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787390641000,"timestamp_ms":1787390641000,"timestamp_seconds":1787390641,"priority":1,"record_length":96,"hex_timestamp":"000001a028c8c368"} 
[2026-08-22 14:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:55: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-22 14:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 14:55:55] 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-22 14:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571927040001,"66":25843,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571927040001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:55:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571927040001,"power":25843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":162452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:55:55] local.INFO: GPS data processed {"connection_id":162452,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:55:55] local.INFO: Acknowledgment sent {"connection_id":162452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:56:26] local.INFO: TCP Data received {"connection_id":162452,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:56:26] local.INFO: Processing buffer {"connection_id":162452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:56:26] local.INFO: Packet analysis {"connection_id":162452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:56:26] local.INFO: Extracted packet for processing {"connection_id":162452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:56:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571927040001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:56: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-22 14:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787390641000,"timestamp_ms":1787390641000,"timestamp_seconds":1787390641,"priority":1,"record_length":96,"hex_timestamp":"000001a028c8c368"} 
[2026-08-22 14:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:56: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-22 14:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 14:56:26] 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-22 14:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571927040001,"66":25843,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571927040001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:56:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571927040001,"power":25843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":162452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:56:26] local.INFO: GPS data processed {"connection_id":162452,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:56:26] local.INFO: Acknowledgment sent {"connection_id":162452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:56:48] local.INFO: TCP Data received {"connection_id":161013,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:56:48] local.INFO: Processing buffer {"connection_id":161013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:56:48] local.INFO: IMEI packet received {"connection_id":161013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":161013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:56:54] local.INFO: TCP Data received {"connection_id":161013,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:56:54] local.INFO: Processing buffer {"connection_id":161013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:56:54] local.INFO: IMEI packet received {"connection_id":161013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":161013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:56:55] local.INFO: TCP Data received {"connection_id":161013,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:56:55] local.INFO: Processing buffer {"connection_id":161013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:56:55] local.INFO: Packet analysis {"connection_id":161013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:56:55] local.INFO: Extracted packet for processing {"connection_id":161013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:56:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 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-22 14:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571927040001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:56: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-22 14:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787390641000,"timestamp_ms":1787390641000,"timestamp_seconds":1787390641,"priority":1,"record_length":96,"hex_timestamp":"000001a028c8c368"} 
[2026-08-22 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-22 14:56: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-22 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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 14:56:55] 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-22 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-22 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-22 14:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571927040001,"66":25843,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571927040001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:56:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:56:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571927040001,"power":25843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":161013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:56:55] local.INFO: GPS data processed {"connection_id":161013,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:56:55] local.INFO: Acknowledgment sent {"connection_id":161013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:57:26] local.INFO: TCP Data received {"connection_id":161013,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:57:26] local.INFO: Processing buffer {"connection_id":161013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:57:26] local.INFO: Packet analysis {"connection_id":161013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:57:26] local.INFO: Extracted packet for processing {"connection_id":161013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571927040001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:57: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-22 14:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787390641000,"timestamp_ms":1787390641000,"timestamp_seconds":1787390641,"priority":1,"record_length":96,"hex_timestamp":"000001a028c8c368"} 
[2026-08-22 14: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-22 14:57: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-22 14: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 14:57:26] 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-22 14: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-22 14: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-22 14:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571927040001,"66":25843,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571927040001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:57:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571927040001,"power":25843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":161013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:57:26] local.INFO: GPS data processed {"connection_id":161013,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:57:26] local.INFO: Acknowledgment sent {"connection_id":161013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:57:54] local.INFO: TCP Data received {"connection_id":161014,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:57:54] local.INFO: Processing buffer {"connection_id":161014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:57:54] local.INFO: IMEI packet received {"connection_id":161014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":161014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:57:59] local.INFO: TCP Data received {"connection_id":161014,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:57:59] local.INFO: Processing buffer {"connection_id":161014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:57:59] local.INFO: IMEI packet received {"connection_id":161014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":161014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:58:00] local.INFO: TCP Data received {"connection_id":161014,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:58:00] local.INFO: Processing buffer {"connection_id":161014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:58:00] local.INFO: Packet analysis {"connection_id":161014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:58:00] local.INFO: Extracted packet for processing {"connection_id":161014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571927040001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:58:00] 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-22 14:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787390641000,"timestamp_ms":1787390641000,"timestamp_seconds":1787390641,"priority":1,"record_length":96,"hex_timestamp":"000001a028c8c368"} 
[2026-08-22 14: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-22 14:58: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-22 14: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":254,"data_length":795,"current_offset":136} 
[2026-08-22 14:58:00] 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-22 14: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-22 14: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-22 14:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571927040001,"66":25843,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571927040001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:58:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571927040001,"power":25843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":161014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:58:00] local.INFO: GPS data processed {"connection_id":161014,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:58:00] local.INFO: Acknowledgment sent {"connection_id":161014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:58:04] local.INFO: TCP Data received {"connection_id":161014,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:58:04] local.INFO: Processing buffer {"connection_id":161014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:58:04] local.INFO: Packet analysis {"connection_id":161014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:58:04] local.INFO: Extracted packet for processing {"connection_id":161014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:58:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571927040001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:58:04] 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-22 14:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787390641000,"timestamp_ms":1787390641000,"timestamp_seconds":1787390641,"priority":1,"record_length":96,"hex_timestamp":"000001a028c8c368"} 
[2026-08-22 14: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-22 14:58: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-22 14: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":254,"data_length":795,"current_offset":136} 
[2026-08-22 14:58: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-22 14: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-22 14: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-22 14:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571927040001,"66":25843,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571927040001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:58:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:58:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571927040001,"power":25843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":161014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:58:04] local.INFO: GPS data processed {"connection_id":161014,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:58:04] local.INFO: Acknowledgment sent {"connection_id":161014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:58:48] local.INFO: TCP Data received {"connection_id":160095,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:58:48] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:58:48] local.INFO: IMEI packet received {"connection_id":160095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":160095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:58:54] local.INFO: TCP Data received {"connection_id":160095,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:58:54] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:58:54] local.INFO: IMEI packet received {"connection_id":160095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":160095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:58:55] local.INFO: TCP Data received {"connection_id":160095,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:58:55] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:58:55] local.INFO: Packet analysis {"connection_id":160095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:58:55] local.INFO: Extracted packet for processing {"connection_id":160095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571927040001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:58: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-22 14:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787390641000,"timestamp_ms":1787390641000,"timestamp_seconds":1787390641,"priority":1,"record_length":96,"hex_timestamp":"000001a028c8c368"} 
[2026-08-22 14: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-22 14:58: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-22 14: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":254,"data_length":795,"current_offset":136} 
[2026-08-22 14:58:55] 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-22 14: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-22 14: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-22 14:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571927040001,"66":25843,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571927040001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:58:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:58:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571927040001,"power":25843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":160095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:58:55] local.INFO: GPS data processed {"connection_id":160095,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:58:55] local.INFO: Acknowledgment sent {"connection_id":160095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:58:58] local.INFO: TCP Data received {"connection_id":160096,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:58:58] local.INFO: Processing buffer {"connection_id":160096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:58:58] local.INFO: IMEI packet received {"connection_id":160096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":160096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:58:58] local.INFO: TCP Data received {"connection_id":160096,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028ca9828012d1821800721b288004b012b2a..."} 
[2026-08-22 14:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ca9828012d1821800721b288004b012b2a..."} 
[2026-08-22 14:58:58] local.INFO: Processing buffer {"connection_id":160096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ca9828012d1821800721b288004b012b2a..."} 
[2026-08-22 14:58:58] local.INFO: Packet analysis {"connection_id":160096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ca"} 
[2026-08-22 14:58:58] local.INFO: Extracted packet for processing {"connection_id":160096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ca"} 
[2026-08-22 14:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648904,"longitude_deg":75.655616,"latitude_deg":11.9648904,"altitude":75,"angle":299,"satellites":42,"speed":6,"hex_longitude":"2d182180","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572034560001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14582174179131392,"note":"Value kept but may cause issues"} 
[2026-08-22 14:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492699136,"note":"Value kept but may cause issues"} 
[2026-08-22 14:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787390761000,"timestamp_ms":1787390761000,"timestamp_seconds":1787390761,"priority":1,"record_length":96,"hex_timestamp":"000001a028ca9828"} 
[2026-08-22 14: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-22 14:58: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-22 14: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 14:58:58] 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-22 14: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-22 14: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-22 14:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572034560001,"66":12950,"105":206,"83":41984,"24":6,"16":14582174179131392,"45":1739022805492699136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 14:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572034560001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:58:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 14:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14582174179131392,"km_value":14582174179131.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492699136,"description":"Unknown IO ID 45"} 
[2026-08-22 14:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572034560001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739022805492699136}} 
[2026-08-22 14:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":160096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:58:59] local.INFO: GPS data processed {"connection_id":160096,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:58:59] local.INFO: Acknowledgment sent {"connection_id":160096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:59:26] local.INFO: TCP Data received {"connection_id":160095,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:59:26] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028c8c368012d7fabc005afdd800010001a24..."} 
[2026-08-22 14:59:26] local.INFO: Packet analysis {"connection_id":160095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:59:26] local.INFO: Extracted packet for processing {"connection_id":160095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028c8"} 
[2026-08-22 14:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":16,"angle":26,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457571927040001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59: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-22 14:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787390641000,"timestamp_ms":1787390641000,"timestamp_seconds":1787390641,"priority":1,"record_length":96,"hex_timestamp":"000001a028c8c368"} 
[2026-08-22 14:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:59: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-22 14:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 14:59:26] 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-22 14:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457571927040001,"66":25843,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457571927040001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:59:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457571927040001,"power":25843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":160095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:59:26] local.INFO: GPS data processed {"connection_id":160095,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:59:26] local.INFO: Acknowledgment sent {"connection_id":160095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:59:30] local.INFO: TCP Data received {"connection_id":160096,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028caea30012d181f800721b0c0004a012b2a..."} 
[2026-08-22 14:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028caea30012d181f800721b0c0004a012b2a..."} 
[2026-08-22 14:59:30] local.INFO: Processing buffer {"connection_id":160096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028caea30012d181f800721b0c0004a012b2a..."} 
[2026-08-22 14:59:30] local.INFO: Packet analysis {"connection_id":160096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ca"} 
[2026-08-22 14:59:30] local.INFO: Extracted packet for processing {"connection_id":160096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ca"} 
[2026-08-22 14:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648448,"longitude_deg":75.6555648,"latitude_deg":11.9648448,"altitude":74,"angle":299,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-08-22 14: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-22 14:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572034816001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14582217128804352,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260196864,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787390782000,"timestamp_ms":1787390782000,"timestamp_seconds":1787390782,"priority":1,"record_length":96,"hex_timestamp":"000001a028caea30"} 
[2026-08-22 14: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-22 14:59:30] 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-22 14: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 14:59:30] 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-22 14: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-22 14: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-22 14:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572034816001,"66":12548,"105":206,"83":41984,"24":0,"16":14582217128804352,"45":1738811699260196864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 14:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572034816001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:59:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 14:59:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14582217128804352,"km_value":14582217128804.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260196864,"description":"Unknown IO ID 45"} 
[2026-08-22 14:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572034816001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260196864}} 
[2026-08-22 14:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":160096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:59:30] local.INFO: GPS data processed {"connection_id":160096,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:59:30] local.INFO: Acknowledgment sent {"connection_id":160096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:59:48] local.INFO: TCP Data received {"connection_id":162454,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:59:49] local.INFO: Processing buffer {"connection_id":162454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:59:49] local.INFO: IMEI packet received {"connection_id":162454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 14:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":162454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:59:53] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:59:53] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:59:53] local.INFO: IMEI packet received {"connection_id":159856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 14:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":159856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 14:59:54] local.INFO: TCP Data received {"connection_id":162454,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:59:54] local.INFO: Processing buffer {"connection_id":162454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 14:59:54] local.INFO: IMEI packet received {"connection_id":162454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 14:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":162454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:59:55] local.INFO: TCP Data received {"connection_id":162454,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 14:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 14:59:55] local.INFO: Processing buffer {"connection_id":162454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 14:59:55] local.INFO: Packet analysis {"connection_id":162454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 14:59:55] local.INFO: Extracted packet for processing {"connection_id":162454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 14:59:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":12,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 14:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572004096001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59: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-22 14:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787390942000,"timestamp_ms":1787390942000,"timestamp_seconds":1787390942,"priority":1,"record_length":96,"hex_timestamp":"000001a028cd5b30"} 
[2026-08-22 14:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:59: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-22 14:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 14:59: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-22 14:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 14:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 14:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 14:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 14:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572004096001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 14:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 14:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 14:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572004096001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:59:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 14:59:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 14:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 14:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572004096001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 14:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":162454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:59:55] local.INFO: GPS data processed {"connection_id":162454,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:59:55] local.INFO: Acknowledgment sent {"connection_id":162454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 14:59:58] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:59:58] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 14:59:58] local.INFO: IMEI packet received {"connection_id":159856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 14:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":159856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 14:59:58] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028cb3c38012d181f800721b0c0004a012b2d..."} 
[2026-08-22 14:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028cb3c38012d181f800721b0c0004a012b2d..."} 
[2026-08-22 14:59:58] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028cb3c38012d181f800721b0c0004a012b2d..."} 
[2026-08-22 14:59:58] local.INFO: Packet analysis {"connection_id":159856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028cb"} 
[2026-08-22 14:59:58] local.INFO: Extracted packet for processing {"connection_id":159856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028cb"} 
[2026-08-22 14:59:58] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648448,"longitude_deg":75.6555648,"latitude_deg":11.9648448,"altitude":74,"angle":299,"satellites":45,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-08-22 14:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 14:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572040192001,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14582217128804352,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306658816,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 14:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787390803000,"timestamp_ms":1787390803000,"timestamp_seconds":1787390803,"priority":1,"record_length":96,"hex_timestamp":"000001a028cb3c38"} 
[2026-08-22 14:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 14:59: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-22 14:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 14:59:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184232616141,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:58] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13462121,"corrected_to":0} 
[2026-08-22 14:59:58] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3397945345,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:58] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2930769996,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 14:59:58] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951019,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3422604650,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:58] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3461480448,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:58] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-22 14:59:58] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,206,160,152,45,128,178,75,42,10,66,148,64,76,43,144,192,1,240,204,227,40,33,4,113,205,30,176,41,239,50,2,51,7,77,13,106],"length":485,"final_offset":615,"validated_count":43,"validation_warnings":[{"io_id":204,"original":13462121,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 14:59:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332590893171998720,"timestamp_seconds":5332590893171999.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 14:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 14:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 14:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 14:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 14:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 14:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 14:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 14:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572040192001,"66":13004,"105":206,"83":41984,"24":0,"16":14582217128804352,"45":1738248749306658816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 14:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 14:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 14:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572040192001,"description":"Unknown IO ID 0"} 
[2026-08-22 14:59:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 14:59:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 14:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14582217128804352,"km_value":14582217128804.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 14:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306658816,"description":"Unknown IO ID 45"} 
[2026-08-22 14:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572040192001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306658816}} 
[2026-08-22 14:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":159856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 14:59:58] local.INFO: GPS data processed {"connection_id":159856,"processed":1,"errors":0,"total":1} 
[2026-08-22 14:59:58] local.INFO: Acknowledgment sent {"connection_id":159856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:00:26] local.INFO: TCP Data received {"connection_id":162454,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:00:26] local.INFO: Processing buffer {"connection_id":162454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:00:26] local.INFO: Packet analysis {"connection_id":162454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:00:26] local.INFO: Extracted packet for processing {"connection_id":162454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:00:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":12,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572004096001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:00: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-22 15:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787390942000,"timestamp_ms":1787390942000,"timestamp_seconds":1787390942,"priority":1,"record_length":96,"hex_timestamp":"000001a028cd5b30"} 
[2026-08-22 15: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-22 15:00: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-22 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 15:00:26] 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-22 15: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-22 15: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-22 15:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572004096001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572004096001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:00:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:00:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572004096001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":162454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:00:26] local.INFO: GPS data processed {"connection_id":162454,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:00:26] local.INFO: Acknowledgment sent {"connection_id":162454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:00:30] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028cb8e40012d181f800721b0c0004a012b2b..."} 
[2026-08-22 15:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028cb8e40012d181f800721b0c0004a012b2b..."} 
[2026-08-22 15:00:30] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028cb8e40012d181f800721b0c0004a012b2b..."} 
[2026-08-22 15:00:30] local.INFO: Packet analysis {"connection_id":159856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028cb"} 
[2026-08-22 15:00:30] local.INFO: Extracted packet for processing {"connection_id":159856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028cb"} 
[2026-08-22 15:00:30] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648448,"longitude_deg":75.6555648,"latitude_deg":11.9648448,"altitude":74,"angle":299,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572045568001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14582217128804352,"note":"Value kept but may cause issues"} 
[2026-08-22 15:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306658816,"note":"Value kept but may cause issues"} 
[2026-08-22 15:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787390824000,"timestamp_ms":1787390824000,"timestamp_seconds":1787390824,"priority":1,"record_length":96,"hex_timestamp":"000001a028cb8e40"} 
[2026-08-22 15: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-22 15:00:30] 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-22 15: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 15:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15: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-22 15: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-22 15:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572045568001,"66":12972,"105":206,"83":41984,"24":0,"16":14582217128804352,"45":1738248749306658816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572045568001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:00:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14582217128804352,"km_value":14582217128804.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306658816,"description":"Unknown IO ID 45"} 
[2026-08-22 15:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572045568001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306658816}} 
[2026-08-22 15:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":159856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:00:30] local.INFO: GPS data processed {"connection_id":159856,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:00:30] local.INFO: Acknowledgment sent {"connection_id":159856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:00:49] local.INFO: TCP Data received {"connection_id":160097,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:00:49] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:00:49] local.INFO: IMEI packet received {"connection_id":160097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":160097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:00:52] local.INFO: TCP Data received {"connection_id":161016,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:00:52] local.INFO: Processing buffer {"connection_id":161016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:00:52] local.INFO: IMEI packet received {"connection_id":161016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":161016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:00:54] local.INFO: TCP Data received {"connection_id":160097,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:00:54] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:00:54] local.INFO: IMEI packet received {"connection_id":160097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":160097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:00:55] local.INFO: TCP Data received {"connection_id":160097,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:00:55] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:00:55] local.INFO: Packet analysis {"connection_id":160097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:00:55] local.INFO: Extracted packet for processing {"connection_id":160097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":12,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572004096001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:00: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-22 15:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787390942000,"timestamp_ms":1787390942000,"timestamp_seconds":1787390942,"priority":1,"record_length":96,"hex_timestamp":"000001a028cd5b30"} 
[2026-08-22 15:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:00: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-22 15:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 15:00: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-22 15:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572004096001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572004096001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572004096001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":160097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:00:55] local.INFO: GPS data processed {"connection_id":160097,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:00:55] local.INFO: Acknowledgment sent {"connection_id":160097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:00:58] local.INFO: TCP Data received {"connection_id":161016,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:00:58] local.INFO: Processing buffer {"connection_id":161016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:00:58] local.INFO: IMEI packet received {"connection_id":161016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":161016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:00:58] local.INFO: TCP Data received {"connection_id":161016,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028cbe048012d181f800721b0c0004a012b29..."} 
[2026-08-22 15:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028cbe048012d181f800721b0c0004a012b29..."} 
[2026-08-22 15:00:58] local.INFO: Processing buffer {"connection_id":161016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028cbe048012d181f800721b0c0004a012b29..."} 
[2026-08-22 15:00:58] local.INFO: Packet analysis {"connection_id":161016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028cb"} 
[2026-08-22 15:00:58] local.INFO: Extracted packet for processing {"connection_id":161016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028cb"} 
[2026-08-22 15:00:58] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648448,"longitude_deg":75.6555648,"latitude_deg":11.9648448,"altitude":74,"angle":299,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572050944001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14582217128804352,"note":"Value kept but may cause issues"} 
[2026-08-22 15:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306658816,"note":"Value kept but may cause issues"} 
[2026-08-22 15:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787390845000,"timestamp_ms":1787390845000,"timestamp_seconds":1787390845,"priority":1,"record_length":96,"hex_timestamp":"000001a028cbe048"} 
[2026-08-22 15: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-22 15:00: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-22 15: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 15:00:58] 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-22 15: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-22 15: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-22 15:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572050944001,"66":12863,"105":206,"83":41984,"24":0,"16":14582217128804352,"45":1738248749306658816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572050944001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:00:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:00:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14582217128804352,"km_value":14582217128804.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306658816,"description":"Unknown IO ID 45"} 
[2026-08-22 15:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572050944001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306658816}} 
[2026-08-22 15:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":161016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:00:59] local.INFO: GPS data processed {"connection_id":161016,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:00:59] local.INFO: Acknowledgment sent {"connection_id":161016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:01:26] local.INFO: TCP Data received {"connection_id":160097,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:01:26] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:01:26] local.INFO: Packet analysis {"connection_id":160097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:01:26] local.INFO: Extracted packet for processing {"connection_id":160097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":12,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572004096001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:01: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-22 15:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787390942000,"timestamp_ms":1787390942000,"timestamp_seconds":1787390942,"priority":1,"record_length":96,"hex_timestamp":"000001a028cd5b30"} 
[2026-08-22 15: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-22 15:01: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-22 15: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":243,"data_length":795,"current_offset":136} 
[2026-08-22 15:01:26] 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-22 15: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-22 15: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-22 15:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572004096001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572004096001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:01:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572004096001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":160097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:01:26] local.INFO: GPS data processed {"connection_id":160097,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:01:26] local.INFO: Acknowledgment sent {"connection_id":160097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:01:30] local.INFO: TCP Data received {"connection_id":161016,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028cc3250012d181f800721b0c0004a012b2a..."} 
[2026-08-22 15:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028cc3250012d181f800721b0c0004a012b2a..."} 
[2026-08-22 15:01:30] local.INFO: Processing buffer {"connection_id":161016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028cc3250012d181f800721b0c0004a012b2a..."} 
[2026-08-22 15:01:30] local.INFO: Packet analysis {"connection_id":161016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028cc"} 
[2026-08-22 15:01:30] local.INFO: Extracted packet for processing {"connection_id":161016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028cc"} 
[2026-08-22 15:01:30] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648448,"longitude_deg":75.6555648,"latitude_deg":11.9648448,"altitude":74,"angle":299,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572056320001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14582217128804352,"note":"Value kept but may cause issues"} 
[2026-08-22 15:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306658816,"note":"Value kept but may cause issues"} 
[2026-08-22 15:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787390866000,"timestamp_ms":1787390866000,"timestamp_seconds":1787390866,"priority":1,"record_length":96,"hex_timestamp":"000001a028cc3250"} 
[2026-08-22 15: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-22 15:01:30] 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-22 15: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 15:01:30] 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-22 15: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-22 15: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-22 15:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572056320001,"66":12852,"105":206,"83":41984,"24":0,"16":14582217128804352,"45":1738248749306658816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572056320001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:01:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:01:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14582217128804352,"km_value":14582217128804.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306658816,"description":"Unknown IO ID 45"} 
[2026-08-22 15:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572056320001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306658816}} 
[2026-08-22 15:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":161016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:01:30] local.INFO: GPS data processed {"connection_id":161016,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:01:30] local.INFO: Acknowledgment sent {"connection_id":161016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:01:48] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:01:48] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:01:48] local.INFO: IMEI packet received {"connection_id":159857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":159857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:01:52] local.INFO: TCP Data received {"connection_id":162455,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:01:52] local.INFO: Processing buffer {"connection_id":162455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:01:52] local.INFO: IMEI packet received {"connection_id":162455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":162455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:01:53] local.INFO: TCP Data received {"connection_id":162455,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:01:53] local.INFO: Processing buffer {"connection_id":162455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:01:53] local.INFO: IMEI packet received {"connection_id":162455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":162455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:01:54] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:01:54] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:01:54] local.INFO: IMEI packet received {"connection_id":159857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":159857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:01:55] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:01:55] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:01:55] local.INFO: Packet analysis {"connection_id":159857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:01:55] local.INFO: Extracted packet for processing {"connection_id":159857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:01:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":12,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572004096001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:01: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-22 15:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787390942000,"timestamp_ms":1787390942000,"timestamp_seconds":1787390942,"priority":1,"record_length":96,"hex_timestamp":"000001a028cd5b30"} 
[2026-08-22 15:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:01: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-22 15:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 15:01: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-22 15:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572004096001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572004096001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:01:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:01:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572004096001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":159857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:01:55] local.INFO: GPS data processed {"connection_id":159857,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:01:55] local.INFO: Acknowledgment sent {"connection_id":159857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:01:58] local.INFO: TCP Data received {"connection_id":162455,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:01:58] local.INFO: Processing buffer {"connection_id":162455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:01:58] local.INFO: IMEI packet received {"connection_id":162455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":162455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:01:58] local.INFO: TCP Data received {"connection_id":162455,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028cc8458012d181f800721b0c0004a012b2b..."} 
[2026-08-22 15:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028cc8458012d181f800721b0c0004a012b2b..."} 
[2026-08-22 15:01:59] local.INFO: Processing buffer {"connection_id":162455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028cc8458012d181f800721b0c0004a012b2b..."} 
[2026-08-22 15:01:59] local.INFO: Packet analysis {"connection_id":162455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028cc"} 
[2026-08-22 15:01:59] local.INFO: Extracted packet for processing {"connection_id":162455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028cc"} 
[2026-08-22 15:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648448,"longitude_deg":75.6555648,"latitude_deg":11.9648448,"altitude":74,"angle":299,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572061696001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14582217128804352,"note":"Value kept but may cause issues"} 
[2026-08-22 15:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306658816,"note":"Value kept but may cause issues"} 
[2026-08-22 15:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787390887000,"timestamp_ms":1787390887000,"timestamp_seconds":1787390887,"priority":1,"record_length":96,"hex_timestamp":"000001a028cc8458"} 
[2026-08-22 15: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-22 15:01: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-22 15: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 15:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15: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-22 15: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-22 15:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572061696001,"66":12841,"105":206,"83":41984,"24":0,"16":14582217128804352,"45":1738248749306658816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572061696001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:01:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:01:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14582217128804352,"km_value":14582217128804.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306658816,"description":"Unknown IO ID 45"} 
[2026-08-22 15:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572061696001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306658816}} 
[2026-08-22 15:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":162455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:01:59] local.INFO: GPS data processed {"connection_id":162455,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:01:59] local.INFO: Acknowledgment sent {"connection_id":162455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:02:26] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:02:26] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:02:26] local.INFO: Packet analysis {"connection_id":159857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:02:26] local.INFO: Extracted packet for processing {"connection_id":159857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:02:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":12,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572004096001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:02: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-22 15:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787390942000,"timestamp_ms":1787390942000,"timestamp_seconds":1787390942,"priority":1,"record_length":96,"hex_timestamp":"000001a028cd5b30"} 
[2026-08-22 15:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:02: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-22 15:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 15:02:26] 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-22 15:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572004096001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572004096001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:02:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572004096001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":159857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:02:26] local.INFO: GPS data processed {"connection_id":159857,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:02:26] local.INFO: Acknowledgment sent {"connection_id":159857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:02:29] local.INFO: TCP Data received {"connection_id":162455,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028ccd660012d181f800721b0c0004a012b2a..."} 
[2026-08-22 15:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ccd660012d181f800721b0c0004a012b2a..."} 
[2026-08-22 15:02:29] local.INFO: Processing buffer {"connection_id":162455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ccd660012d181f800721b0c0004a012b2a..."} 
[2026-08-22 15:02:29] local.INFO: Packet analysis {"connection_id":162455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028cc"} 
[2026-08-22 15:02:29] local.INFO: Extracted packet for processing {"connection_id":162455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028cc"} 
[2026-08-22 15:02:29] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648448,"longitude_deg":75.6555648,"latitude_deg":11.9648448,"altitude":74,"angle":299,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572067072001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14582217128804352,"note":"Value kept but may cause issues"} 
[2026-08-22 15:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306658816,"note":"Value kept but may cause issues"} 
[2026-08-22 15:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787390908000,"timestamp_ms":1787390908000,"timestamp_seconds":1787390908,"priority":1,"record_length":96,"hex_timestamp":"000001a028ccd660"} 
[2026-08-22 15: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-22 15:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 15:02:29] 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-22 15: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-22 15: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-22 15:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572067072001,"66":12798,"105":206,"83":41984,"24":0,"16":14582217128804352,"45":1738248749306658816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572067072001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:02:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:02:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14582217128804352,"km_value":14582217128804.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306658816,"description":"Unknown IO ID 45"} 
[2026-08-22 15:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572067072001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306658816}} 
[2026-08-22 15:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":162455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:02:29] local.INFO: GPS data processed {"connection_id":162455,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:02:29] local.INFO: Acknowledgment sent {"connection_id":162455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:02:54] local.INFO: TCP Data received {"connection_id":162456,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:02:54] local.INFO: Processing buffer {"connection_id":162456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:02:54] local.INFO: IMEI packet received {"connection_id":162456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":162456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:02:57] local.INFO: TCP Data received {"connection_id":162457,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:02:57] local.INFO: Processing buffer {"connection_id":162457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:02:57] local.INFO: IMEI packet received {"connection_id":162457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":162457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:02:58] local.INFO: TCP Data received {"connection_id":162457,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:02:58] local.INFO: Processing buffer {"connection_id":162457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:02:58] local.INFO: IMEI packet received {"connection_id":162457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":162457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:02:59] local.INFO: TCP Data received {"connection_id":162456,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:02:59] local.INFO: Processing buffer {"connection_id":162456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:02:59] local.INFO: IMEI packet received {"connection_id":162456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":162456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:02:59] local.INFO: TCP Data received {"connection_id":162457,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d00ab0012d181e400721a8d0004b00a32a..."} 
[2026-08-22 15:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d00ab0012d181e400721a8d0004b00a32a..."} 
[2026-08-22 15:02:59] local.INFO: Processing buffer {"connection_id":162457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d00ab0012d181e400721a8d0004b00a32a..."} 
[2026-08-22 15:02:59] local.INFO: Packet analysis {"connection_id":162457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d0"} 
[2026-08-22 15:02:59] local.INFO: Extracted packet for processing {"connection_id":162457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d0"} 
[2026-08-22 15:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646416,"longitude_deg":75.6555328,"latitude_deg":11.9646416,"altitude":75,"angle":163,"satellites":42,"speed":10,"hex_longitude":"2d181e40","hex_latitude":"0721a8d0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572124672001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14582320208019456,"note":"Value kept but may cause issues"} 
[2026-08-22 15:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073998848,"note":"Value kept but may cause issues"} 
[2026-08-22 15:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787391118000,"timestamp_ms":1787391118000,"timestamp_seconds":1787391118,"priority":1,"record_length":96,"hex_timestamp":"000001a028d00ab0"} 
[2026-08-22 15: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-22 15:02: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-22 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-22 15:02:59] 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-22 15: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-22 15: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-22 15:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572124672001,"66":14396,"105":206,"83":41984,"24":10,"16":14582320208019456,"45":1738037643073998848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572124672001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:02:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:02:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14582320208019456,"km_value":14582320208019.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073998848,"description":"Unknown IO ID 45"} 
[2026-08-22 15:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572124672001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1738037643073998848}} 
[2026-08-22 15:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":162457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:02:59] local.INFO: GPS data processed {"connection_id":162457,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:02:59] local.INFO: Acknowledgment sent {"connection_id":162457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:03:00] local.INFO: TCP Data received {"connection_id":162456,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:03:00] local.INFO: Processing buffer {"connection_id":162456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:03:00] local.INFO: Packet analysis {"connection_id":162456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:03:00] local.INFO: Extracted packet for processing {"connection_id":162456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":12,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572004096001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:03:00] 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-22 15:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787390942000,"timestamp_ms":1787390942000,"timestamp_seconds":1787390942,"priority":1,"record_length":96,"hex_timestamp":"000001a028cd5b30"} 
[2026-08-22 15:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:03: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-22 15:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 15:03:00] 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-22 15:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572004096001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572004096001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:03:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572004096001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":162456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:03:00] local.INFO: GPS data processed {"connection_id":162456,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:03:00] local.INFO: Acknowledgment sent {"connection_id":162456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:03:04] local.INFO: TCP Data received {"connection_id":162456,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:03:04] local.INFO: Processing buffer {"connection_id":162456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:03:04] local.INFO: Packet analysis {"connection_id":162456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:03:04] local.INFO: Extracted packet for processing {"connection_id":162456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":12,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572004096001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:03:04] 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-22 15:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787390942000,"timestamp_ms":1787390942000,"timestamp_seconds":1787390942,"priority":1,"record_length":96,"hex_timestamp":"000001a028cd5b30"} 
[2026-08-22 15:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:03: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-22 15:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 15:03: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-22 15:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572004096001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572004096001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:03:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572004096001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":162456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:03:04] local.INFO: GPS data processed {"connection_id":162456,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:03:04] local.INFO: Acknowledgment sent {"connection_id":162456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:03:31] local.INFO: TCP Data received {"connection_id":162457,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d00e98012d181ec00721a7e8004b00912c..."} 
[2026-08-22 15:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d00e98012d181ec00721a7e8004b00912c..."} 
[2026-08-22 15:03:31] local.INFO: Processing buffer {"connection_id":162457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d00e98012d181ec00721a7e8004b00912c..."} 
[2026-08-22 15:03:31] local.INFO: Packet analysis {"connection_id":162457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d0"} 
[2026-08-22 15:03:31] local.INFO: Extracted packet for processing {"connection_id":162457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d0"} 
[2026-08-22 15:03:31] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646184,"longitude_deg":75.6555456,"latitude_deg":11.9646184,"altitude":75,"angle":145,"satellites":44,"speed":8,"hex_longitude":"2d181ec0","hex_latitude":"0721a7e8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572126208001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14582333092921344,"note":"Value kept but may cause issues"} 
[2026-08-22 15:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585250304,"note":"Value kept but may cause issues"} 
[2026-08-22 15:03:31] local.INFO: IO Element Parsed {"io_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-22 15:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787391119000,"timestamp_ms":1787391119000,"timestamp_seconds":1787391119,"priority":1,"record_length":96,"hex_timestamp":"000001a028d00e98"} 
[2026-08-22 15: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-22 15:03:31] 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-22 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 15:03:31] 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-22 15: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-22 15: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-22 15:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572126208001,"66":14396,"105":206,"83":41984,"24":8,"16":14582333092921344,"45":1737896905585250304},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572126208001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:03:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:03:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14582333092921344,"km_value":14582333092921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585250304,"description":"Unknown IO ID 45"} 
[2026-08-22 15:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572126208001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737896905585250304}} 
[2026-08-22 15:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":162457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:03:31] local.INFO: GPS data processed {"connection_id":162457,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:03:31] local.INFO: Acknowledgment sent {"connection_id":162457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:03:49] local.INFO: TCP Data received {"connection_id":160098,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:03:49] local.INFO: Processing buffer {"connection_id":160098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:03:49] local.INFO: IMEI packet received {"connection_id":160098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":160098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:03:53] local.INFO: TCP Data received {"connection_id":162458,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:03:53] local.INFO: Processing buffer {"connection_id":162458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:03:53] local.INFO: IMEI packet received {"connection_id":162458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":162458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:03:54] local.INFO: TCP Data received {"connection_id":160098,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:03:54] local.INFO: Processing buffer {"connection_id":160098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:03:54] local.INFO: IMEI packet received {"connection_id":160098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":160098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:03:55] local.INFO: TCP Data received {"connection_id":160098,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:03:55] local.INFO: Processing buffer {"connection_id":160098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:03:55] local.INFO: Packet analysis {"connection_id":160098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:03:55] local.INFO: Extracted packet for processing {"connection_id":160098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":12,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572004096001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:03: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-22 15:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787390942000,"timestamp_ms":1787390942000,"timestamp_seconds":1787390942,"priority":1,"record_length":96,"hex_timestamp":"000001a028cd5b30"} 
[2026-08-22 15:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:03: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-22 15:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 15:03: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-22 15:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572004096001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572004096001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:03:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572004096001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":160098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:03:55] local.INFO: GPS data processed {"connection_id":160098,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:03:55] local.INFO: Acknowledgment sent {"connection_id":160098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:03:59] local.INFO: TCP Data received {"connection_id":162458,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:03:59] local.INFO: Processing buffer {"connection_id":162458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:03:59] local.INFO: IMEI packet received {"connection_id":162458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":162458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:04:00] local.INFO: TCP Data received {"connection_id":162458,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d01280012d181f800721a748004b00822b..."} 
[2026-08-22 15:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d01280012d181f800721a748004b00822b..."} 
[2026-08-22 15:04:00] local.INFO: Processing buffer {"connection_id":162458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d01280012d181f800721a748004b00822b..."} 
[2026-08-22 15:04:00] local.INFO: Packet analysis {"connection_id":162458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d0"} 
[2026-08-22 15:04:00] local.INFO: Extracted packet for processing {"connection_id":162458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d0"} 
[2026-08-22 15:04:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646024,"longitude_deg":75.6555648,"latitude_deg":11.9646024,"altitude":75,"angle":130,"satellites":43,"speed":8,"hex_longitude":"2d181f80","hex_latitude":"0721a748","is_valid_coordinates":true} 
[2026-08-22 15:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572126464001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14582341682855936,"note":"Value kept but may cause issues"} 
[2026-08-22 15:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073546240,"note":"Value kept but may cause issues"} 
[2026-08-22 15:04:00] local.INFO: IO Element Parsed {"io_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-22 15:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787391120000,"timestamp_ms":1787391120000,"timestamp_seconds":1787391120,"priority":1,"record_length":96,"hex_timestamp":"000001a028d01280"} 
[2026-08-22 15:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:04:00] 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-22 15:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 15:04: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-22 15:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572126464001,"66":14157,"105":206,"83":41984,"24":8,"16":14582341682855936,"45":1738037643073546240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572126464001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:04:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:04:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14582341682855936,"km_value":14582341682855.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073546240,"description":"Unknown IO ID 45"} 
[2026-08-22 15:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572126464001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738037643073546240}} 
[2026-08-22 15:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":162458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:04:01] local.INFO: GPS data processed {"connection_id":162458,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:04:01] local.INFO: Acknowledgment sent {"connection_id":162458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:04:26] local.INFO: TCP Data received {"connection_id":160098,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:04:26] local.INFO: Processing buffer {"connection_id":160098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028cd5b30012d7fabc005afdd80000c001a27..."} 
[2026-08-22 15:04:26] local.INFO: Packet analysis {"connection_id":160098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:04:26] local.INFO: Extracted packet for processing {"connection_id":160098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028cd"} 
[2026-08-22 15:04:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":12,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572004096001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:04: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-22 15:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787390942000,"timestamp_ms":1787390942000,"timestamp_seconds":1787390942,"priority":1,"record_length":96,"hex_timestamp":"000001a028cd5b30"} 
[2026-08-22 15:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:04: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-22 15:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 15:04:26] 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-22 15:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572004096001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572004096001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:04:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572004096001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":160098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:04:26] local.INFO: GPS data processed {"connection_id":160098,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:04:26] local.INFO: Acknowledgment sent {"connection_id":160098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:04:32] local.INFO: TCP Data received {"connection_id":162458,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d06488012d18278007219f90004e007f25..."} 
[2026-08-22 15:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d06488012d18278007219f90004e007f25..."} 
[2026-08-22 15:04:32] local.INFO: Processing buffer {"connection_id":162458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d06488012d18278007219f90004e007f25..."} 
[2026-08-22 15:04:32] local.INFO: Packet analysis {"connection_id":162458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d0"} 
[2026-08-22 15:04:32] local.INFO: Extracted packet for processing {"connection_id":162458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d0"} 
[2026-08-22 15:04:32] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119644048,"longitude_deg":75.6557696,"latitude_deg":11.9644048,"altitude":78,"angle":127,"satellites":37,"speed":0,"hex_longitude":"2d182780","hex_latitude":"07219f90","is_valid_coordinates":true} 
[2026-08-22 15:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572126720001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14582479121809408,"note":"Value kept but may cause issues"} 
[2026-08-22 15:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306038272,"note":"Value kept but may cause issues"} 
[2026-08-22 15:04:32] local.INFO: IO Element Parsed {"io_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-22 15:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787391141000,"timestamp_ms":1787391141000,"timestamp_seconds":1787391141,"priority":1,"record_length":96,"hex_timestamp":"000001a028d06488"} 
[2026-08-22 15:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:04:32] 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-22 15:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 15:04:32] 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-22 15:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572126720001,"66":14048,"105":206,"83":41984,"24":0,"16":14582479121809408,"45":1738248749306038272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572126720001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:04:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:04:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14582479121809408,"km_value":14582479121809.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306038272,"description":"Unknown IO ID 45"} 
[2026-08-22 15:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572126720001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306038272}} 
[2026-08-22 15:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":162458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:04:32] local.INFO: GPS data processed {"connection_id":162458,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:04:32] local.INFO: Acknowledgment sent {"connection_id":162458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:04:49] local.INFO: TCP Data received {"connection_id":161017,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:04:49] local.INFO: Processing buffer {"connection_id":161017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:04:49] local.INFO: IMEI packet received {"connection_id":161017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":161017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:04:49] local.INFO: TCP Data received {"connection_id":160099,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:04:49] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:04:49] local.INFO: IMEI packet received {"connection_id":160099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":160099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:04:51] local.INFO: TCP Data received {"connection_id":160099,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:04:51] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:04:51] local.INFO: IMEI packet received {"connection_id":160099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":160099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:04:52] local.INFO: TCP Data received {"connection_id":160099,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:04:52] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:04:52] local.INFO: IMEI packet received {"connection_id":160099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":160099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:04:54] local.INFO: TCP Data received {"connection_id":161017,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:04:54] local.INFO: Processing buffer {"connection_id":161017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:04:54] local.INFO: IMEI packet received {"connection_id":161017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":161017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:04:55] local.INFO: TCP Data received {"connection_id":160099,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:04:55] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:04:55] local.INFO: IMEI packet received {"connection_id":160099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":160099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:04:55] local.INFO: TCP Data received {"connection_id":161017,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:04:55] local.INFO: Processing buffer {"connection_id":161017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:04:55] local.INFO: Packet analysis {"connection_id":161017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:04:55] local.INFO: Extracted packet for processing {"connection_id":161017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572081152001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:04: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-22 15:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787391243000,"timestamp_ms":1787391243000,"timestamp_seconds":1787391243,"priority":1,"record_length":96,"hex_timestamp":"000001a028d1f2f8"} 
[2026-08-22 15: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-22 15:04: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-22 15: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:04: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-22 15: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-22 15: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-22 15:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572081152001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572081152001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:04:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:04:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572081152001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":161017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:04:55] local.INFO: GPS data processed {"connection_id":161017,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:04:55] local.INFO: Acknowledgment sent {"connection_id":161017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:04:56] local.INFO: TCP Data received {"connection_id":160099,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d1c030012d18c4c007214c60004600ab28..."} 
[2026-08-22 15:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d1c030012d18c4c007214c60004600ab28..."} 
[2026-08-22 15:04:56] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d1c030012d18c4c007214c60004600ab28..."} 
[2026-08-22 15:04:56] local.INFO: Packet analysis {"connection_id":160099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:04:56] local.INFO: Extracted packet for processing {"connection_id":160099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119622752,"longitude_deg":75.6597952,"latitude_deg":11.9622752,"altitude":70,"angle":171,"satellites":40,"speed":40,"hex_longitude":"2d18c4c0","hex_latitude":"07214c60","is_valid_coordinates":true} 
[2026-08-22 15:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572154368001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14584785519247360,"note":"Value kept but may cause issues"} 
[2026-08-22 15:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784129170504398848,"note":"Value kept but may cause issues"} 
[2026-08-22 15:04:56] 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-22 15:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787391230000,"timestamp_ms":1787391230000,"timestamp_seconds":1787391230,"priority":1,"record_length":96,"hex_timestamp":"000001a028d1c030"} 
[2026-08-22 15:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:04:56] 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-22 15:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 15:04:56] 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-22 15:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572154368001,"66":14461,"106":206,"83":41984,"24":40,"16":14584785519247360,"45":1784129170504398848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 15:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572154368001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:04:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 15:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14584785519247360,"km_value":14584785519247.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784129170504398848,"description":"Unknown IO ID 45"} 
[2026-08-22 15:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572154368001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1784129170504398848}} 
[2026-08-22 15:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":160099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:04:56] local.INFO: GPS data processed {"connection_id":160099,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:04:56] local.INFO: Acknowledgment sent {"connection_id":160099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:05:26] local.INFO: TCP Data received {"connection_id":161017,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:05:26] local.INFO: Processing buffer {"connection_id":161017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:05:26] local.INFO: Packet analysis {"connection_id":161017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:05:26] local.INFO: Extracted packet for processing {"connection_id":161017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:05:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572081152001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:05: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-22 15:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787391243000,"timestamp_ms":1787391243000,"timestamp_seconds":1787391243,"priority":1,"record_length":96,"hex_timestamp":"000001a028d1f2f8"} 
[2026-08-22 15: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-22 15:05: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-22 15:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15: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-22 15: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-22 15:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572081152001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572081152001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:05:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:05:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572081152001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":161017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:05:26] local.INFO: GPS data processed {"connection_id":161017,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:05:26] local.INFO: Acknowledgment sent {"connection_id":161017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:05:27] local.INFO: TCP Data received {"connection_id":160099,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d1d3b8012d18c7c007213a080044009a29..."} 
[2026-08-22 15:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d1d3b8012d18c7c007213a080044009a29..."} 
[2026-08-22 15:05:27] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d1d3b8012d18c7c007213a080044009a29..."} 
[2026-08-22 15:05:27] local.INFO: Packet analysis {"connection_id":160099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:05:27] local.INFO: Extracted packet for processing {"connection_id":160099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756598720,"raw_latitude":119618056,"longitude_deg":75.659872,"latitude_deg":11.9618056,"altitude":68,"angle":154,"satellites":41,"speed":37,"hex_longitude":"2d18c7c0","hex_latitude":"07213a08","is_valid_coordinates":true} 
[2026-08-22 15:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572154880001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14585017447481344,"note":"Value kept but may cause issues"} 
[2026-08-22 15:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201516544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:05:27] 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-22 15:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787391235000,"timestamp_ms":1787391235000,"timestamp_seconds":1787391235,"priority":1,"record_length":96,"hex_timestamp":"000001a028d1d3b8"} 
[2026-08-22 15:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:05: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-22 15:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 15:05: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-22 15:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572154880001,"66":14515,"106":206,"83":41984,"24":37,"16":14585017447481344,"45":1784762489201516544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 15:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572154880001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:05:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 15:05:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14585017447481344,"km_value":14585017447481.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201516544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572154880001,"power":14515,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1784762489201516544}} 
[2026-08-22 15:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":160099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:05:27] local.INFO: GPS data processed {"connection_id":160099,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:05:27] local.INFO: Acknowledgment sent {"connection_id":160099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:05:48] local.INFO: TCP Data received {"connection_id":161018,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:05:48] local.INFO: Processing buffer {"connection_id":161018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:05:48] local.INFO: IMEI packet received {"connection_id":161018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":161018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:05:50] local.INFO: TCP Data received {"connection_id":160100,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:05:50] local.INFO: Processing buffer {"connection_id":160100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:05:50] local.INFO: IMEI packet received {"connection_id":160100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":160100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:05:52] local.INFO: TCP Data received {"connection_id":160100,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:05:52] local.INFO: Processing buffer {"connection_id":160100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:05:52] local.INFO: IMEI packet received {"connection_id":160100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":160100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:05:53] local.INFO: TCP Data received {"connection_id":160100,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:05:53] local.INFO: Processing buffer {"connection_id":160100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:05:53] local.INFO: IMEI packet received {"connection_id":160100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":160100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:05:54] local.INFO: TCP Data received {"connection_id":161018,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:05:54] local.INFO: Processing buffer {"connection_id":161018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:05:54] local.INFO: IMEI packet received {"connection_id":161018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":161018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:05:55] local.INFO: TCP Data received {"connection_id":161018,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:05:55] local.INFO: Processing buffer {"connection_id":161018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:05:55] local.INFO: Packet analysis {"connection_id":161018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:05:55] local.INFO: Extracted packet for processing {"connection_id":161018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 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-22 15:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572081152001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:05: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-22 15:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787391243000,"timestamp_ms":1787391243000,"timestamp_seconds":1787391243,"priority":1,"record_length":96,"hex_timestamp":"000001a028d1f2f8"} 
[2026-08-22 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-22 15:05: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-22 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:05: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-22 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-22 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-22 15:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572081152001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572081152001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:05:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:05:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572081152001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":161018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:05:55] local.INFO: GPS data processed {"connection_id":161018,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:05:55] local.INFO: Acknowledgment sent {"connection_id":161018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:05:55] local.INFO: TCP Data received {"connection_id":160100,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:05:55] local.INFO: Processing buffer {"connection_id":160100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:05:55] local.INFO: IMEI packet received {"connection_id":160100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":160100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:05:56] local.INFO: TCP Data received {"connection_id":160100,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d29ed8012d1952c00720ab00002d006225..."} 
[2026-08-22 15:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d29ed8012d1952c00720ab00002d006225..."} 
[2026-08-22 15:05:56] local.INFO: Processing buffer {"connection_id":160100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d29ed8012d1952c00720ab00002d006225..."} 
[2026-08-22 15:05:56] local.INFO: Packet analysis {"connection_id":160100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d2"} 
[2026-08-22 15:05:56] local.INFO: Extracted packet for processing {"connection_id":160100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d2"} 
[2026-08-22 15:05:56] local.INFO: GPS Element Parsed {"raw_longitude":756634304,"raw_latitude":119581440,"longitude_deg":75.6634304,"latitude_deg":11.958144,"altitude":45,"angle":98,"satellites":37,"speed":33,"hex_longitude":"2d1952c0","hex_latitude":"0720ab00","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572168448001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14587671737270272,"note":"Value kept but may cause issues"} 
[2026-08-22 15:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820720917465966592,"note":"Value kept but may cause issues"} 
[2026-08-22 15:05:56] 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-22 15:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787391287000,"timestamp_ms":1787391287000,"timestamp_seconds":1787391287,"priority":1,"record_length":96,"hex_timestamp":"000001a028d29ed8"} 
[2026-08-22 15: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-22 15:05:56] 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-22 15:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-22 15:05:56] 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-22 15: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-22 15: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-22 15:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572168448001,"66":14428,"103":206,"83":41984,"24":33,"16":14587671737270272,"45":1820720917465966592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 15:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572168448001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:05:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 15:05:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14587671737270272,"km_value":14587671737270.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820720917465966592,"description":"Unknown IO ID 45"} 
[2026-08-22 15:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572168448001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1820720917465966592}} 
[2026-08-22 15:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":160100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:05:56] local.INFO: GPS data processed {"connection_id":160100,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:05:56] local.INFO: Acknowledgment sent {"connection_id":160100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:06:26] local.INFO: TCP Data received {"connection_id":161018,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:06:26] local.INFO: Processing buffer {"connection_id":161018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:06:26] local.INFO: Packet analysis {"connection_id":161018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:06:26] local.INFO: Extracted packet for processing {"connection_id":161018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:06:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572081152001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06: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-22 15:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787391243000,"timestamp_ms":1787391243000,"timestamp_seconds":1787391243,"priority":1,"record_length":96,"hex_timestamp":"000001a028d1f2f8"} 
[2026-08-22 15:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:06: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-22 15:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572081152001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572081152001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:06:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:06:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572081152001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":161018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:06:26] local.INFO: GPS data processed {"connection_id":161018,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:06:26] local.INFO: Acknowledgment sent {"connection_id":161018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:06:27] local.INFO: TCP Data received {"connection_id":160100,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d36228012d19b940072063b8002800a728..."} 
[2026-08-22 15:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d36228012d19b940072063b8002800a728..."} 
[2026-08-22 15:06:27] local.INFO: Processing buffer {"connection_id":160100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d36228012d19b940072063b8002800a728..."} 
[2026-08-22 15:06:27] local.INFO: Packet analysis {"connection_id":160100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d3"} 
[2026-08-22 15:06:27] local.INFO: Extracted packet for processing {"connection_id":160100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d3"} 
[2026-08-22 15:06:27] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119563192,"longitude_deg":75.6660544,"latitude_deg":11.9563192,"altitude":40,"angle":167,"satellites":40,"speed":43,"hex_longitude":"2d19b940","hex_latitude":"072063b8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572180224001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14589930890067968,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264994576384,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06: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-22 15:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787391337000,"timestamp_ms":1787391337000,"timestamp_seconds":1787391337,"priority":1,"record_length":96,"hex_timestamp":"000001a028d36228"} 
[2026-08-22 15: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-22 15:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-22 15:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:27] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3541817345,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:27] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3103784960,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:27] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3567845376,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:27] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2718957615,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-22 15:06:27] local.WARNING: Large IO value detected {"io_id":23,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:27] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147950756,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:27] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,213,160,59,45,140,44,40,10,66,212,51,128,147,38,31,1,240,148,227,32,4,113,205,22,23,188,88,39,239,55,2,7,48,21],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-22 15:06:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098661433385746432,"timestamp_seconds":3098661433385746.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 15: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-22 15:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572180224001,"66":14135,"103":206,"83":41984,"24":43,"16":14589930890067968,"45":1850557264994576384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 15:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572180224001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:06:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 15:06:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14589930890067968,"km_value":14589930890067.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264994576384,"description":"Unknown IO ID 45"} 
[2026-08-22 15:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572180224001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1850557264994576384}} 
[2026-08-22 15:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":160100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:06:28] local.INFO: GPS data processed {"connection_id":160100,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:06:28] local.INFO: Acknowledgment sent {"connection_id":160100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:06:48] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:06:48] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:06:48] local.INFO: IMEI packet received {"connection_id":159858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":159858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:06:52] local.INFO: TCP Data received {"connection_id":160101,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:06:52] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:06:52] local.INFO: IMEI packet received {"connection_id":160101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":160101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:06:54] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:06:54] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:06:54] local.INFO: IMEI packet received {"connection_id":159858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":159858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:06:55] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:06:55] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:06:55] local.INFO: Packet analysis {"connection_id":159858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:06:55] local.INFO: Extracted packet for processing {"connection_id":159858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572081152001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06: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-22 15:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787391243000,"timestamp_ms":1787391243000,"timestamp_seconds":1787391243,"priority":1,"record_length":96,"hex_timestamp":"000001a028d1f2f8"} 
[2026-08-22 15:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15: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-22 15:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:06: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-22 15:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572081152001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572081152001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:06:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:06:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572081152001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":159858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:06:55] local.INFO: GPS data processed {"connection_id":159858,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:06:55] local.INFO: Acknowledgment sent {"connection_id":159858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:06:55] local.INFO: TCP Data received {"connection_id":160101,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:06:55] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:06:55] local.INFO: IMEI packet received {"connection_id":160101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":160101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:06:58] local.INFO: TCP Data received {"connection_id":160101,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:06:58] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:06:58] local.INFO: IMEI packet received {"connection_id":160101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":160101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:06:58] local.INFO: TCP Data received {"connection_id":160101,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d38550012d19bdc007203ef8002700ae28..."} 
[2026-08-22 15:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d38550012d19bdc007203ef8002700ae28..."} 
[2026-08-22 15:06:58] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d38550012d19bdc007203ef8002700ae28..."} 
[2026-08-22 15:06:58] local.INFO: Packet analysis {"connection_id":160101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d3"} 
[2026-08-22 15:06:58] local.INFO: Extracted packet for processing {"connection_id":160101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d3"} 
[2026-08-22 15:06:58] local.INFO: GPS Element Parsed {"raw_longitude":756661696,"raw_latitude":119553784,"longitude_deg":75.6661696,"latitude_deg":11.9553784,"altitude":39,"angle":174,"satellites":40,"speed":40,"hex_longitude":"2d19bdc0","hex_latitude":"07203ef8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572182272001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14590390451568640,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120992024576,"note":"Value kept but may cause issues"} 
[2026-08-22 15:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787391346000,"timestamp_ms":1787391346000,"timestamp_seconds":1787391346,"priority":1,"record_length":96,"hex_timestamp":"000001a028d38550"} 
[2026-08-22 15: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-22 15:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-22 15:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15: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-22 15: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-22 15:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572182272001,"66":14559,"101":206,"83":41984,"24":40,"16":14590390451568640,"45":1853583120992024576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572182272001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:06:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:06:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14590390451568640,"km_value":14590390451568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120992024576,"description":"Unknown IO ID 45"} 
[2026-08-22 15:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572182272001,"power":14559,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1853583120992024576}} 
[2026-08-22 15:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":160101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:06:58] local.INFO: GPS data processed {"connection_id":160101,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:06:58] local.INFO: Acknowledgment sent {"connection_id":160101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:07:26] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:07:26] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:07:26] local.INFO: Packet analysis {"connection_id":159858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:07:26] local.INFO: Extracted packet for processing {"connection_id":159858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:07:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572081152001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:07: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-22 15:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787391243000,"timestamp_ms":1787391243000,"timestamp_seconds":1787391243,"priority":1,"record_length":96,"hex_timestamp":"000001a028d1f2f8"} 
[2026-08-22 15:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:07: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-22 15:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572081152001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572081152001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:07:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:07:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572081152001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":159858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:07:26] local.INFO: GPS data processed {"connection_id":159858,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:07:26] local.INFO: Acknowledgment sent {"connection_id":159858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:07:30] local.INFO: TCP Data received {"connection_id":160101,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d47398012d19eb00071ffdb8002d007f28..."} 
[2026-08-22 15:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d47398012d19eb00071ffdb8002d007f28..."} 
[2026-08-22 15:07:30] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d47398012d19eb00071ffdb8002d007f28..."} 
[2026-08-22 15:07:30] local.INFO: Packet analysis {"connection_id":160101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d4"} 
[2026-08-22 15:07:30] local.INFO: Extracted packet for processing {"connection_id":160101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d4"} 
[2026-08-22 15:07:30] local.INFO: GPS Element Parsed {"raw_longitude":756673280,"raw_latitude":119537080,"longitude_deg":75.667328,"latitude_deg":11.953708,"altitude":45,"angle":127,"satellites":40,"speed":22,"hex_longitude":"2d19eb00","hex_latitude":"071ffdb8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572199168001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14591412653785088,"note":"Value kept but may cause issues"} 
[2026-08-22 15:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865968019961112576,"note":"Value kept but may cause issues"} 
[2026-08-22 15:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787391407000,"timestamp_ms":1787391407000,"timestamp_seconds":1787391407,"priority":1,"record_length":96,"hex_timestamp":"000001a028d47398"} 
[2026-08-22 15: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-22 15:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 15:07:30] 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-22 15: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-22 15: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-22 15:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572199168001,"66":14483,"101":206,"83":41984,"24":22,"16":14591412653785088,"45":1865968019961112576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572199168001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:07:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:07:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14591412653785088,"km_value":14591412653785.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865968019961112576,"description":"Unknown IO ID 45"} 
[2026-08-22 15:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572199168001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1865968019961112576}} 
[2026-08-22 15:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":160101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:07:30] local.INFO: GPS data processed {"connection_id":160101,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:07:30] local.INFO: Acknowledgment sent {"connection_id":160101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:07:52] local.INFO: TCP Data received {"connection_id":161019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:07:52] local.INFO: Processing buffer {"connection_id":161019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:07:52] local.INFO: IMEI packet received {"connection_id":161019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":161019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:07:53] local.INFO: TCP Data received {"connection_id":161019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:07:53] local.INFO: Processing buffer {"connection_id":161019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:07:53] local.INFO: IMEI packet received {"connection_id":161019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":161019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:07:54] local.INFO: TCP Data received {"connection_id":162459,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:07:54] local.INFO: Processing buffer {"connection_id":162459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:07:54] local.INFO: IMEI packet received {"connection_id":162459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":162459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:07:56] local.INFO: TCP Data received {"connection_id":161019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:07:56] local.INFO: Processing buffer {"connection_id":161019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:07:56] local.INFO: IMEI packet received {"connection_id":161019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":161019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:07:57] local.INFO: TCP Data received {"connection_id":161019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:07:57] local.INFO: Processing buffer {"connection_id":161019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:07:57] local.INFO: IMEI packet received {"connection_id":161019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":161019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:07:58] local.INFO: TCP Data received {"connection_id":161019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d47780012d19ecc0071ffcb0002d006e29..."} 
[2026-08-22 15:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d47780012d19ecc0071ffcb0002d006e29..."} 
[2026-08-22 15:07:58] local.INFO: Processing buffer {"connection_id":161019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d47780012d19ecc0071ffcb0002d006e29..."} 
[2026-08-22 15:07:58] local.INFO: Packet analysis {"connection_id":161019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d4"} 
[2026-08-22 15:07:58] local.INFO: Extracted packet for processing {"connection_id":161019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d4"} 
[2026-08-22 15:07:58] local.INFO: GPS Element Parsed {"raw_longitude":756673728,"raw_latitude":119536816,"longitude_deg":75.6673728,"latitude_deg":11.9536816,"altitude":45,"angle":110,"satellites":41,"speed":21,"hex_longitude":"2d19ecc0","hex_latitude":"071ffcb0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572200192001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14591438423588864,"note":"Value kept but may cause issues"} 
[2026-08-22 15:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867586501076695040,"note":"Value kept but may cause issues"} 
[2026-08-22 15:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787391408000,"timestamp_ms":1787391408000,"timestamp_seconds":1787391408,"priority":1,"record_length":96,"hex_timestamp":"000001a028d47780"} 
[2026-08-22 15: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-22 15:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-22 15:07:58] 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-22 15: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-22 15: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-22 15:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572200192001,"66":14428,"101":206,"83":41984,"24":21,"16":14591438423588864,"45":1867586501076695040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572200192001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:07:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14591438423588864,"km_value":14591438423588.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867586501076695040,"description":"Unknown IO ID 45"} 
[2026-08-22 15:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572200192001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1867586501076695040}} 
[2026-08-22 15:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":161019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:07:58] local.INFO: GPS data processed {"connection_id":161019,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:07:58] local.INFO: Acknowledgment sent {"connection_id":161019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:08:00] local.INFO: TCP Data received {"connection_id":162459,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:08:00] local.INFO: Processing buffer {"connection_id":162459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:08:00] local.INFO: IMEI packet received {"connection_id":162459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":162459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:08:01] local.INFO: TCP Data received {"connection_id":162459,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:08:01] local.INFO: Processing buffer {"connection_id":162459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:08:01] local.INFO: Packet analysis {"connection_id":162459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:08:01] local.INFO: Extracted packet for processing {"connection_id":162459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:08: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-22 15:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572081152001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:08:01] 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-22 15:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787391243000,"timestamp_ms":1787391243000,"timestamp_seconds":1787391243,"priority":1,"record_length":96,"hex_timestamp":"000001a028d1f2f8"} 
[2026-08-22 15:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:08: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-22 15:08: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-22 15:08: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-22 15:08: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-22 15:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572081152001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572081152001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:08:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572081152001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":162459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:08:01] local.INFO: GPS data processed {"connection_id":162459,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:08:01] local.INFO: Acknowledgment sent {"connection_id":162459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:08:07] local.INFO: TCP Data received {"connection_id":162459,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:08:07] local.INFO: Processing buffer {"connection_id":162459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:08:07] local.INFO: Packet analysis {"connection_id":162459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:08:07] local.INFO: Extracted packet for processing {"connection_id":162459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572081152001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:08:07] 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-22 15:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787391243000,"timestamp_ms":1787391243000,"timestamp_seconds":1787391243,"priority":1,"record_length":96,"hex_timestamp":"000001a028d1f2f8"} 
[2026-08-22 15: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-22 15:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:08:07] 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-22 15: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-22 15: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-22 15:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572081152001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572081152001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:08:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572081152001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":162459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:08:07] local.INFO: GPS data processed {"connection_id":162459,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:08:07] local.INFO: Acknowledgment sent {"connection_id":162459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:08:29] local.INFO: TCP Data received {"connection_id":161019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d47b68012d19ef40071ffc80002e005c2a..."} 
[2026-08-22 15:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d47b68012d19ef40071ffc80002e005c2a..."} 
[2026-08-22 15:08:29] local.INFO: Processing buffer {"connection_id":161019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d47b68012d19ef40071ffc80002e005c2a..."} 
[2026-08-22 15:08:29] local.INFO: Packet analysis {"connection_id":161019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d4"} 
[2026-08-22 15:08:29] local.INFO: Extracted packet for processing {"connection_id":161019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d4"} 
[2026-08-22 15:08:29] local.INFO: GPS Element Parsed {"raw_longitude":756674368,"raw_latitude":119536768,"longitude_deg":75.6674368,"latitude_deg":11.9536768,"altitude":46,"angle":92,"satellites":42,"speed":22,"hex_longitude":"2d19ef40","hex_latitude":"071ffc80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572200448001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14591468488359936,"note":"Value kept but may cause issues"} 
[2026-08-22 15:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868079082285871104,"note":"Value kept but may cause issues"} 
[2026-08-22 15:08:29] 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-22 15:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787391409000,"timestamp_ms":1787391409000,"timestamp_seconds":1787391409,"priority":1,"record_length":96,"hex_timestamp":"000001a028d47b68"} 
[2026-08-22 15: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-22 15:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 15:08: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-22 15: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-22 15: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-22 15:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572200448001,"66":14428,"101":206,"83":41984,"24":22,"16":14591468488359936,"45":1868079082285871104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572200448001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:08:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:08:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14591468488359936,"km_value":14591468488359.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868079082285871104,"description":"Unknown IO ID 45"} 
[2026-08-22 15:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572200448001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1868079082285871104}} 
[2026-08-22 15:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":161019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:08:29] local.INFO: GPS data processed {"connection_id":161019,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:08:29] local.INFO: Acknowledgment sent {"connection_id":161019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:08:49] local.INFO: TCP Data received {"connection_id":160102,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:08:49] local.INFO: Processing buffer {"connection_id":160102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:08:49] local.INFO: IMEI packet received {"connection_id":160102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":160102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:08:54] local.INFO: TCP Data received {"connection_id":160102,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:08:54] local.INFO: Processing buffer {"connection_id":160102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:08:54] local.INFO: IMEI packet received {"connection_id":160102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":160102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:08:54] local.INFO: TCP Data received {"connection_id":162460,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:08:54] local.INFO: Processing buffer {"connection_id":162460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:08:54] local.INFO: IMEI packet received {"connection_id":162460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":162460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:08:55] local.INFO: TCP Data received {"connection_id":160102,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:08:55] local.INFO: Processing buffer {"connection_id":160102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:08:55] local.INFO: Packet analysis {"connection_id":160102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:08:55] local.INFO: Extracted packet for processing {"connection_id":160102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572081152001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:08: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-22 15:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787391243000,"timestamp_ms":1787391243000,"timestamp_seconds":1787391243,"priority":1,"record_length":96,"hex_timestamp":"000001a028d1f2f8"} 
[2026-08-22 15:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:08: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-22 15:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:08: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-22 15:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572081152001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572081152001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:08:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:08:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572081152001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":160102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:08:55] local.INFO: GPS data processed {"connection_id":160102,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:08:55] local.INFO: Acknowledgment sent {"connection_id":160102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:08:57] local.INFO: TCP Data received {"connection_id":162460,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:08:57] local.INFO: Processing buffer {"connection_id":162460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:08:57] local.INFO: IMEI packet received {"connection_id":162460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":162460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:08:58] local.INFO: TCP Data received {"connection_id":162460,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:08:58] local.INFO: Processing buffer {"connection_id":162460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:08:58] local.INFO: IMEI packet received {"connection_id":162460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":162460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:08:59] local.INFO: TCP Data received {"connection_id":162460,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d48ef0012d19fd00071ffcd0002f006829..."} 
[2026-08-22 15:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d48ef0012d19fd00071ffcd0002f006829..."} 
[2026-08-22 15:08:59] local.INFO: Processing buffer {"connection_id":162460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d48ef0012d19fd00071ffcd0002f006829..."} 
[2026-08-22 15:08:59] local.INFO: Packet analysis {"connection_id":162460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d4"} 
[2026-08-22 15:08:59] local.INFO: Extracted packet for processing {"connection_id":162460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d4"} 
[2026-08-22 15:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756677888,"raw_latitude":119536848,"longitude_deg":75.6677888,"latitude_deg":11.9536848,"altitude":47,"angle":104,"satellites":41,"speed":28,"hex_longitude":"2d19fd00","hex_latitude":"071ffcd0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572200704001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14591635992084480,"note":"Value kept but may cause issues"} 
[2026-08-22 15:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868782769727635456,"note":"Value kept but may cause issues"} 
[2026-08-22 15:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787391414000,"timestamp_ms":1787391414000,"timestamp_seconds":1787391414,"priority":1,"record_length":96,"hex_timestamp":"000001a028d48ef0"} 
[2026-08-22 15: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-22 15:08: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-22 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 15:08: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-22 15: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-22 15: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-22 15:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572200704001,"66":14428,"101":206,"83":41984,"24":28,"16":14591635992084480,"45":1868782769727635456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572200704001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:08:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14591635992084480,"km_value":14591635992084.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868782769727635456,"description":"Unknown IO ID 45"} 
[2026-08-22 15:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572200704001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1868782769727635456}} 
[2026-08-22 15:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":162460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:08:59] local.INFO: GPS data processed {"connection_id":162460,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:08:59] local.INFO: Acknowledgment sent {"connection_id":162460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:09:03] local.INFO: TCP Data received {"connection_id":162460,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d4b9e8012d1a21c0071ff1380030006927..."} 
[2026-08-22 15:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d4b9e8012d1a21c0071ff1380030006927..."} 
[2026-08-22 15:09:03] local.INFO: Processing buffer {"connection_id":162460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d4b9e8012d1a21c0071ff1380030006927..."} 
[2026-08-22 15:09:03] local.INFO: Packet analysis {"connection_id":162460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d4"} 
[2026-08-22 15:09:03] local.INFO: Extracted packet for processing {"connection_id":162460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d4"} 
[2026-08-22 15:09:03] local.INFO: GPS Element Parsed {"raw_longitude":756687296,"raw_latitude":119533880,"longitude_deg":75.6687296,"latitude_deg":11.953388,"altitude":48,"angle":105,"satellites":39,"speed":37,"hex_longitude":"2d1a21c0","hex_latitude":"071ff138","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572201984001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14592108438487040,"note":"Value kept but may cause issues"} 
[2026-08-22 15:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872653050657427456,"note":"Value kept but may cause issues"} 
[2026-08-22 15:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787391425000,"timestamp_ms":1787391425000,"timestamp_seconds":1787391425,"priority":1,"record_length":96,"hex_timestamp":"000001a028d4b9e8"} 
[2026-08-22 15: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-22 15:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":92,"data_length":795,"current_offset":136} 
[2026-08-22 15:09:03] 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-22 15: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-22 15: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-22 15:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572201984001,"66":14113,"101":206,"83":41984,"24":37,"16":14592108438487040,"45":1872653050657427456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572201984001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:09:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14592108438487040,"km_value":14592108438487.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872653050657427456,"description":"Unknown IO ID 45"} 
[2026-08-22 15:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572201984001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1872653050657427456}} 
[2026-08-22 15:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":162460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:09:03] local.INFO: GPS data processed {"connection_id":162460,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:09:03] local.INFO: Acknowledgment sent {"connection_id":162460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:09:26] local.INFO: TCP Data received {"connection_id":160102,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:09:26] local.INFO: Processing buffer {"connection_id":160102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d1f2f8012d7fabc005afdd80000d001a27..."} 
[2026-08-22 15:09:26] local.INFO: Packet analysis {"connection_id":160102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:09:26] local.INFO: Extracted packet for processing {"connection_id":160102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d1"} 
[2026-08-22 15:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572081152001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:09: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-22 15:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787391243000,"timestamp_ms":1787391243000,"timestamp_seconds":1787391243,"priority":1,"record_length":96,"hex_timestamp":"000001a028d1f2f8"} 
[2026-08-22 15:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:09: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-22 15:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572081152001,"66":25756,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572081152001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:09:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572081152001,"power":25756,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":160102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:09:26] local.INFO: GPS data processed {"connection_id":160102,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:09:26] local.INFO: Acknowledgment sent {"connection_id":160102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:09:34] local.INFO: TCP Data received {"connection_id":162460,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d64470012d1aa5c0071f99980037006b26..."} 
[2026-08-22 15:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d64470012d1aa5c0071f99980037006b26..."} 
[2026-08-22 15:09:34] local.INFO: Processing buffer {"connection_id":162460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d64470012d1aa5c0071f99980037006b26..."} 
[2026-08-22 15:09:34] local.INFO: Packet analysis {"connection_id":162460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:09:34] local.INFO: Extracted packet for processing {"connection_id":162460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:09:34] local.INFO: GPS Element Parsed {"raw_longitude":756721088,"raw_latitude":119511448,"longitude_deg":75.6721088,"latitude_deg":11.9511448,"altitude":55,"angle":107,"satellites":38,"speed":33,"hex_longitude":"2d1aa5c0","hex_latitude":"071f9998","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572230144001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14594148547952640,"note":"Value kept but may cause issues"} 
[2026-08-22 15:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918603840599121920,"note":"Value kept but may cause issues"} 
[2026-08-22 15:09:34] 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-22 15:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787391526000,"timestamp_ms":1787391526000,"timestamp_seconds":1787391526,"priority":1,"record_length":96,"hex_timestamp":"000001a028d64470"} 
[2026-08-22 15: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-22 15:09:34] 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-22 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-22 15:09:34] 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-22 15: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-22 15: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-22 15:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572230144001,"66":14428,"101":206,"83":41984,"24":33,"16":14594148547952640,"45":1918603840599121920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572230144001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:09:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14594148547952640,"km_value":14594148547952.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918603840599121920,"description":"Unknown IO ID 45"} 
[2026-08-22 15:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572230144001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1918603840599121920}} 
[2026-08-22 15:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":162460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:09:34] local.INFO: GPS data processed {"connection_id":162460,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:09:34] local.INFO: Acknowledgment sent {"connection_id":162460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:09:50] local.INFO: TCP Data received {"connection_id":161020,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:09:50] local.INFO: Processing buffer {"connection_id":161020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:09:50] local.INFO: IMEI packet received {"connection_id":161020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":161020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:09:52] local.INFO: TCP Data received {"connection_id":162461,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:09:52] local.INFO: Processing buffer {"connection_id":162461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:09:52] local.INFO: IMEI packet received {"connection_id":162461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":162461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:09:53] local.INFO: TCP Data received {"connection_id":161020,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:09:53] local.INFO: Processing buffer {"connection_id":161020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:09:53] local.INFO: IMEI packet received {"connection_id":161020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":161020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:09:54] local.INFO: TCP Data received {"connection_id":161020,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:09:54] local.INFO: Processing buffer {"connection_id":161020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:09:54] local.INFO: Packet analysis {"connection_id":161020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:09:54] local.INFO: Extracted packet for processing {"connection_id":161020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:09:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572158208001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:09:54] 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-22 15:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787391544000,"timestamp_ms":1787391544000,"timestamp_seconds":1787391544,"priority":1,"record_length":96,"hex_timestamp":"000001a028d68ac0"} 
[2026-08-22 15:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 15:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572158208001,"66":25745,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572158208001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:09:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:09:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572158208001,"power":25745,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":161020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:09:54] local.INFO: GPS data processed {"connection_id":161020,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:09:54] local.INFO: Acknowledgment sent {"connection_id":161020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:09:55] local.INFO: TCP Data received {"connection_id":162461,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:09:55] local.INFO: Processing buffer {"connection_id":162461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:09:55] local.INFO: IMEI packet received {"connection_id":162461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":162461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:09:56] local.INFO: TCP Data received {"connection_id":162461,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d65028012d1aaf80071f98180037005e26..."} 
[2026-08-22 15:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d65028012d1aaf80071f98180037005e26..."} 
[2026-08-22 15:09:56] local.INFO: Processing buffer {"connection_id":162461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d65028012d1aaf80071f98180037005e26..."} 
[2026-08-22 15:09:56] local.INFO: Packet analysis {"connection_id":162461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:09:56] local.INFO: Extracted packet for processing {"connection_id":162461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:09:56] local.INFO: GPS Element Parsed {"raw_longitude":756723584,"raw_latitude":119511064,"longitude_deg":75.6723584,"latitude_deg":11.9511064,"altitude":55,"angle":94,"satellites":38,"speed":32,"hex_longitude":"2d1aaf80","hex_latitude":"071f9818","is_valid_coordinates":true} 
[2026-08-22 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-22 15:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572230656001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14594268807036928,"note":"Value kept but may cause issues"} 
[2026-08-22 15:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920151952970848256,"note":"Value kept but may cause issues"} 
[2026-08-22 15:09:56] 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-22 15:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787391529000,"timestamp_ms":1787391529000,"timestamp_seconds":1787391529,"priority":1,"record_length":96,"hex_timestamp":"000001a028d65028"} 
[2026-08-22 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-22 15:09:56] 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-22 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 15:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 15:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572230656001,"66":14461,"101":206,"83":41984,"24":32,"16":14594268807036928,"45":1920151952970848256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572230656001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:09:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:09:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14594268807036928,"km_value":14594268807036.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920151952970848256,"description":"Unknown IO ID 45"} 
[2026-08-22 15:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572230656001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1920151952970848256}} 
[2026-08-22 15:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":162461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:09:56] local.INFO: GPS data processed {"connection_id":162461,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:09:56] local.INFO: Acknowledgment sent {"connection_id":162461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:10:25] local.INFO: TCP Data received {"connection_id":161020,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:10:25] local.INFO: Processing buffer {"connection_id":161020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:10:25] local.INFO: Packet analysis {"connection_id":161020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:10:25] local.INFO: Extracted packet for processing {"connection_id":161020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:10:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 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-22 15:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572158208001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:10: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-22 15:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787391544000,"timestamp_ms":1787391544000,"timestamp_seconds":1787391544,"priority":1,"record_length":96,"hex_timestamp":"000001a028d68ac0"} 
[2026-08-22 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-22 15:10: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-22 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:10:25] 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-22 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-22 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-22 15:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572158208001,"66":25745,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572158208001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:10:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:10:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572158208001,"power":25745,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":161020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:10:25] local.INFO: GPS data processed {"connection_id":161020,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:10:25] local.INFO: Acknowledgment sent {"connection_id":161020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:10:27] local.INFO: TCP Data received {"connection_id":162461,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d71760012d1add40071f93a80039002926..."} 
[2026-08-22 15:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d71760012d1add40071f93a80039002926..."} 
[2026-08-22 15:10:27] local.INFO: Processing buffer {"connection_id":162461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d71760012d1add40071f93a80039002926..."} 
[2026-08-22 15:10:27] local.INFO: Packet analysis {"connection_id":162461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d7"} 
[2026-08-22 15:10:27] local.INFO: Extracted packet for processing {"connection_id":162461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d7"} 
[2026-08-22 15:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756735296,"raw_latitude":119509928,"longitude_deg":75.6735296,"latitude_deg":11.9509928,"altitude":57,"angle":41,"satellites":38,"speed":7,"hex_longitude":"2d1add40","hex_latitude":"071f93a8","is_valid_coordinates":true} 
[2026-08-22 15:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572244224001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14595106325659648,"note":"Value kept but may cause issues"} 
[2026-08-22 15:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935633076689510400,"note":"Value kept but may cause issues"} 
[2026-08-22 15:10:27] 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-22 15:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787391580000,"timestamp_ms":1787391580000,"timestamp_seconds":1787391580,"priority":1,"record_length":96,"hex_timestamp":"000001a028d71760"} 
[2026-08-22 15:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-22 15:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572244224001,"66":13135,"101":206,"83":41984,"24":7,"16":14595106325659648,"45":1935633076689510400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572244224001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:10:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:10:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14595106325659648,"km_value":14595106325659.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935633076689510400,"description":"Unknown IO ID 45"} 
[2026-08-22 15:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572244224001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1935633076689510400}} 
[2026-08-22 15:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":162461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:10:27] local.INFO: GPS data processed {"connection_id":162461,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:10:27] local.INFO: Acknowledgment sent {"connection_id":162461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:10:48] local.INFO: TCP Data received {"connection_id":160103,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:10:49] local.INFO: Processing buffer {"connection_id":160103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:10:49] local.INFO: IMEI packet received {"connection_id":160103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":160103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:10:53] local.INFO: TCP Data received {"connection_id":162462,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:10:53] local.INFO: Processing buffer {"connection_id":162462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:10:53] local.INFO: IMEI packet received {"connection_id":162462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":162462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:10:54] local.INFO: TCP Data received {"connection_id":160103,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:10:54] local.INFO: Processing buffer {"connection_id":160103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:10:54] local.INFO: IMEI packet received {"connection_id":160103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":160103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:10:55] local.INFO: TCP Data received {"connection_id":160103,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:10:55] local.INFO: Processing buffer {"connection_id":160103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:10:55] local.INFO: Packet analysis {"connection_id":160103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:10:55] local.INFO: Extracted packet for processing {"connection_id":160103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:10:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572158208001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:10: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-22 15:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787391544000,"timestamp_ms":1787391544000,"timestamp_seconds":1787391544,"priority":1,"record_length":96,"hex_timestamp":"000001a028d68ac0"} 
[2026-08-22 15:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15: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-22 15:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:10: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-22 15:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572158208001,"66":25745,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572158208001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:10:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:10:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572158208001,"power":25745,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":160103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:10:55] local.INFO: GPS data processed {"connection_id":160103,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:10:55] local.INFO: Acknowledgment sent {"connection_id":160103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:10:58] local.INFO: TCP Data received {"connection_id":162462,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:10:58] local.INFO: Processing buffer {"connection_id":162462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:10:58] local.INFO: IMEI packet received {"connection_id":162462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":162462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:10:58] local.INFO: TCP Data received {"connection_id":162462,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d71b48012d1ade00071f94100039003c28..."} 
[2026-08-22 15:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d71b48012d1ade00071f94100039003c28..."} 
[2026-08-22 15:10:58] local.INFO: Processing buffer {"connection_id":162462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d71b48012d1ade00071f94100039003c28..."} 
[2026-08-22 15:10:58] local.INFO: Packet analysis {"connection_id":162462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d7"} 
[2026-08-22 15:10:58] local.INFO: Extracted packet for processing {"connection_id":162462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d7"} 
[2026-08-22 15:10:58] local.INFO: GPS Element Parsed {"raw_longitude":756735488,"raw_latitude":119510032,"longitude_deg":75.6735488,"latitude_deg":11.9510032,"altitude":57,"angle":60,"satellites":40,"speed":8,"hex_longitude":"2d1ade00","hex_latitude":"071f9410","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572244480001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14595114915594240,"note":"Value kept but may cause issues"} 
[2026-08-22 15:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935773814177900544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787391581000,"timestamp_ms":1787391581000,"timestamp_seconds":1787391581,"priority":1,"record_length":96,"hex_timestamp":"000001a028d71b48"} 
[2026-08-22 15: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-22 15:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-22 15:10:58] 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-22 15: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-22 15: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-22 15:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572244480001,"66":12743,"101":206,"83":41984,"24":8,"16":14595114915594240,"45":1935773814177900544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572244480001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:10:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:10:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14595114915594240,"km_value":14595114915594.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935773814177900544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572244480001,"power":12743,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1935773814177900544}} 
[2026-08-22 15:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":162462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:10:58] local.INFO: GPS data processed {"connection_id":162462,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:10:58] local.INFO: Acknowledgment sent {"connection_id":162462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:11:26] local.INFO: TCP Data received {"connection_id":160103,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:11:26] local.INFO: Processing buffer {"connection_id":160103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:11:26] local.INFO: Packet analysis {"connection_id":160103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:11:26] local.INFO: Extracted packet for processing {"connection_id":160103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:11:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572158208001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:11: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-22 15:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787391544000,"timestamp_ms":1787391544000,"timestamp_seconds":1787391544,"priority":1,"record_length":96,"hex_timestamp":"000001a028d68ac0"} 
[2026-08-22 15: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-22 15:11: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-22 15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15: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-22 15: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-22 15:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572158208001,"66":25745,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572158208001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:11:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:11:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572158208001,"power":25745,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":160103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:11:26] local.INFO: GPS data processed {"connection_id":160103,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:11:26] local.INFO: Acknowledgment sent {"connection_id":160103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:11:29] local.INFO: TCP Data received {"connection_id":162462,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d72318012d1adf40071f9488003a004d27..."} 
[2026-08-22 15:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d72318012d1adf40071f9488003a004d27..."} 
[2026-08-22 15:11:29] local.INFO: Processing buffer {"connection_id":162462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d72318012d1adf40071f9488003a004d27..."} 
[2026-08-22 15:11:29] local.INFO: Packet analysis {"connection_id":162462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d7"} 
[2026-08-22 15:11:29] local.INFO: Extracted packet for processing {"connection_id":162462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d7"} 
[2026-08-22 15:11:29] local.INFO: GPS Element Parsed {"raw_longitude":756735808,"raw_latitude":119510152,"longitude_deg":75.6735808,"latitude_deg":11.9510152,"altitude":58,"angle":77,"satellites":39,"speed":6,"hex_longitude":"2d1adf40","hex_latitude":"071f9488","is_valid_coordinates":true} 
[2026-08-22 15:11: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-22 15:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572244736001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14595136390430720,"note":"Value kept but may cause issues"} 
[2026-08-22 15:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935984920410460160,"note":"Value kept but may cause issues"} 
[2026-08-22 15:11:29] 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-22 15:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787391583000,"timestamp_ms":1787391583000,"timestamp_seconds":1787391583,"priority":1,"record_length":96,"hex_timestamp":"000001a028d72318"} 
[2026-08-22 15:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-22 15:11:29] 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-22 15:11: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-22 15:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572244736001,"66":13156,"101":206,"83":41984,"24":6,"16":14595136390430720,"45":1935984920410460160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572244736001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:11:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:11:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14595136390430720,"km_value":14595136390430.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935984920410460160,"description":"Unknown IO ID 45"} 
[2026-08-22 15:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572244736001,"power":13156,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1935984920410460160}} 
[2026-08-22 15:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":162462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:11:30] local.INFO: GPS data processed {"connection_id":162462,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:11:30] local.INFO: Acknowledgment sent {"connection_id":162462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:11:52] local.INFO: TCP Data received {"connection_id":160104,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:11:52] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:11:52] local.INFO: IMEI packet received {"connection_id":160104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":160104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:11:53] local.INFO: TCP Data received {"connection_id":160104,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:11:53] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:11:53] local.INFO: IMEI packet received {"connection_id":160104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":160104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:11:54] local.INFO: TCP Data received {"connection_id":159859,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:11:54] local.INFO: Processing buffer {"connection_id":159859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:11:54] local.INFO: IMEI packet received {"connection_id":159859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":159859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:11:58] local.INFO: TCP Data received {"connection_id":160104,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:11:58] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:11:58] local.INFO: IMEI packet received {"connection_id":160104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":160104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:11:58] local.INFO: TCP Data received {"connection_id":160104,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d77520012d1ae200071f9660003c004f28..."} 
[2026-08-22 15:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d77520012d1ae200071f9660003c004f28..."} 
[2026-08-22 15:11:58] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d77520012d1ae200071f9660003c004f28..."} 
[2026-08-22 15:11:58] local.INFO: Packet analysis {"connection_id":160104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d7"} 
[2026-08-22 15:11:58] local.INFO: Extracted packet for processing {"connection_id":160104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d7"} 
[2026-08-22 15:11:58] local.INFO: GPS Element Parsed {"raw_longitude":756736512,"raw_latitude":119510624,"longitude_deg":75.6736512,"latitude_deg":11.9510624,"altitude":60,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d1ae200","hex_latitude":"071f9660","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572245248001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14595205109907456,"note":"Value kept but may cause issues"} 
[2026-08-22 15:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936336764131379200,"note":"Value kept but may cause issues"} 
[2026-08-22 15:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787391604000,"timestamp_ms":1787391604000,"timestamp_seconds":1787391604,"priority":1,"record_length":96,"hex_timestamp":"000001a028d77520"} 
[2026-08-22 15: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-22 15:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-22 15:11:58] 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-22 15: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-22 15: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-22 15:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572245248001,"66":13167,"101":206,"83":41984,"24":0,"16":14595205109907456,"45":1936336764131379200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572245248001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:11:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14595205109907456,"km_value":14595205109907.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936336764131379200,"description":"Unknown IO ID 45"} 
[2026-08-22 15:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572245248001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1936336764131379200}} 
[2026-08-22 15:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":160104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:11:59] local.INFO: GPS data processed {"connection_id":160104,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:11:59] local.INFO: Acknowledgment sent {"connection_id":160104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:11:59] local.INFO: TCP Data received {"connection_id":159859,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:11:59] local.INFO: Processing buffer {"connection_id":159859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:11:59] local.INFO: IMEI packet received {"connection_id":159859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":159859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:12:00] local.INFO: TCP Data received {"connection_id":159859,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:12:00] local.INFO: Processing buffer {"connection_id":159859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:12:00] local.INFO: Packet analysis {"connection_id":159859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:12:00] local.INFO: Extracted packet for processing {"connection_id":159859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572158208001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:12:00] 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-22 15:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787391544000,"timestamp_ms":1787391544000,"timestamp_seconds":1787391544,"priority":1,"record_length":96,"hex_timestamp":"000001a028d68ac0"} 
[2026-08-22 15:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:12: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-22 15:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15: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-22 15:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572158208001,"66":25745,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572158208001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:12:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572158208001,"power":25745,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":159859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:12:00] local.INFO: GPS data processed {"connection_id":159859,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:12:00] local.INFO: Acknowledgment sent {"connection_id":159859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:12:04] local.INFO: TCP Data received {"connection_id":159859,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:12:04] local.INFO: Processing buffer {"connection_id":159859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:12:04] local.INFO: Packet analysis {"connection_id":159859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:12:04] local.INFO: Extracted packet for processing {"connection_id":159859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572158208001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:12:04] 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-22 15:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787391544000,"timestamp_ms":1787391544000,"timestamp_seconds":1787391544,"priority":1,"record_length":96,"hex_timestamp":"000001a028d68ac0"} 
[2026-08-22 15:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:12: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-22 15:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:12: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-22 15:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572158208001,"66":25745,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572158208001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:12:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:12:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572158208001,"power":25745,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":159859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:12:04] local.INFO: GPS data processed {"connection_id":159859,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:12:04] local.INFO: Acknowledgment sent {"connection_id":159859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:12:30] local.INFO: TCP Data received {"connection_id":160104,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d79078012d1ae1c0071f9618003c00c227..."} 
[2026-08-22 15:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d79078012d1ae1c0071f9618003c00c227..."} 
[2026-08-22 15:12:30] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d79078012d1ae1c0071f9618003c00c227..."} 
[2026-08-22 15:12:30] local.INFO: Packet analysis {"connection_id":160104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d7"} 
[2026-08-22 15:12:30] local.INFO: Extracted packet for processing {"connection_id":160104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d7"} 
[2026-08-22 15:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756736448,"raw_latitude":119510552,"longitude_deg":75.6736448,"latitude_deg":11.9510552,"altitude":60,"angle":194,"satellites":39,"speed":2,"hex_longitude":"2d1ae1c0","hex_latitude":"071f9618","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572250624001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14595213699842048,"note":"Value kept but may cause issues"} 
[2026-08-22 15:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937110820317454336,"note":"Value kept but may cause issues"} 
[2026-08-22 15:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787391611000,"timestamp_ms":1787391611000,"timestamp_seconds":1787391611,"priority":1,"record_length":96,"hex_timestamp":"000001a028d79078"} 
[2026-08-22 15: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-22 15:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-22 15:12:30] 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-22 15: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-22 15: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-22 15:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572250624001,"66":12515,"101":206,"83":41984,"24":2,"16":14595213699842048,"45":1937110820317454336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572250624001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:12:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14595213699842048,"km_value":14595213699842.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937110820317454336,"description":"Unknown IO ID 45"} 
[2026-08-22 15:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572250624001,"power":12515,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1937110820317454336}} 
[2026-08-22 15:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":160104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:12:30] local.INFO: GPS data processed {"connection_id":160104,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:12:30] local.INFO: Acknowledgment sent {"connection_id":160104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:12:48] local.INFO: TCP Data received {"connection_id":161021,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:12:48] local.INFO: Processing buffer {"connection_id":161021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:12:48] local.INFO: IMEI packet received {"connection_id":161021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":161021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:12:53] local.INFO: TCP Data received {"connection_id":162463,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:12:53] local.INFO: Processing buffer {"connection_id":162463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:12:53] local.INFO: IMEI packet received {"connection_id":162463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":162463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:12:54] local.INFO: TCP Data received {"connection_id":161021,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:12:54] local.INFO: Processing buffer {"connection_id":161021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:12:54] local.INFO: IMEI packet received {"connection_id":161021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":161021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:12:55] local.INFO: TCP Data received {"connection_id":161021,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:12:55] local.INFO: Processing buffer {"connection_id":161021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:12:55] local.INFO: Packet analysis {"connection_id":161021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:12:55] local.INFO: Extracted packet for processing {"connection_id":161021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572158208001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:12: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-22 15:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787391544000,"timestamp_ms":1787391544000,"timestamp_seconds":1787391544,"priority":1,"record_length":96,"hex_timestamp":"000001a028d68ac0"} 
[2026-08-22 15: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-22 15:12: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-22 15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:12: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-22 15: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-22 15: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-22 15:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572158208001,"66":25745,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572158208001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:12:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:12:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572158208001,"power":25745,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":161021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:12:55] local.INFO: GPS data processed {"connection_id":161021,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:12:55] local.INFO: Acknowledgment sent {"connection_id":161021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:12:56] local.INFO: TCP Data received {"connection_id":162463,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:12:56] local.INFO: Processing buffer {"connection_id":162463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:12:56] local.INFO: IMEI packet received {"connection_id":162463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":162463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:12:57] local.INFO: TCP Data received {"connection_id":162463,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:12:57] local.INFO: Processing buffer {"connection_id":162463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:12:57] local.INFO: IMEI packet received {"connection_id":162463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":162463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:12:58] local.INFO: TCP Data received {"connection_id":162463,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d7e280012d1ae1c0071f95c8003c00c423..."} 
[2026-08-22 15:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d7e280012d1ae1c0071f95c8003c00c423..."} 
[2026-08-22 15:12:58] local.INFO: Processing buffer {"connection_id":162463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d7e280012d1ae1c0071f95c8003c00c423..."} 
[2026-08-22 15:12:58] local.INFO: Packet analysis {"connection_id":162463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d7"} 
[2026-08-22 15:12:58] local.INFO: Extracted packet for processing {"connection_id":162463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d7"} 
[2026-08-22 15:12:58] local.INFO: GPS Element Parsed {"raw_longitude":756736448,"raw_latitude":119510472,"longitude_deg":75.6736448,"latitude_deg":11.9510472,"altitude":60,"angle":196,"satellites":35,"speed":0,"hex_longitude":"2d1ae1c0","hex_latitude":"071f95c8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572252416001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14595213699842048,"note":"Value kept but may cause issues"} 
[2026-08-22 15:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937040451573258240,"note":"Value kept but may cause issues"} 
[2026-08-22 15:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787391632000,"timestamp_ms":1787391632000,"timestamp_seconds":1787391632,"priority":1,"record_length":96,"hex_timestamp":"000001a028d7e280"} 
[2026-08-22 15: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-22 15:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-22 15:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15: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-22 15: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-22 15:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572252416001,"66":13167,"101":206,"83":41984,"24":0,"16":14595213699842048,"45":1937040451573258240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572252416001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:12:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:12:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14595213699842048,"km_value":14595213699842.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937040451573258240,"description":"Unknown IO ID 45"} 
[2026-08-22 15:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572252416001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1937040451573258240}} 
[2026-08-22 15:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":162463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:12:58] local.INFO: GPS data processed {"connection_id":162463,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:12:58] local.INFO: Acknowledgment sent {"connection_id":162463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:13:03] local.INFO: TCP Data received {"connection_id":162463,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d83870012d1ae1c0071f95c8003c00c421..."} 
[2026-08-22 15:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d83870012d1ae1c0071f95c8003c00c421..."} 
[2026-08-22 15:13:03] local.INFO: Processing buffer {"connection_id":162463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d83870012d1ae1c0071f95c8003c00c421..."} 
[2026-08-22 15:13:03] local.INFO: Packet analysis {"connection_id":162463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d8"} 
[2026-08-22 15:13:03] local.INFO: Extracted packet for processing {"connection_id":162463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d8"} 
[2026-08-22 15:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756736448,"raw_latitude":119510472,"longitude_deg":75.6736448,"latitude_deg":11.9510472,"altitude":60,"angle":196,"satellites":33,"speed":0,"hex_longitude":"2d1ae1c0","hex_latitude":"071f95c8","is_valid_coordinates":true} 
[2026-08-22 15:13: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-22 15:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572257792001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14595213699842048,"note":"Value kept but may cause issues"} 
[2026-08-22 15:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937040451573237760,"note":"Value kept but may cause issues"} 
[2026-08-22 15:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787391654000,"timestamp_ms":1787391654000,"timestamp_seconds":1787391654,"priority":1,"record_length":96,"hex_timestamp":"000001a028d83870"} 
[2026-08-22 15:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-22 15:13:03] 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-22 15:13: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-22 15:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572257792001,"66":12885,"101":206,"83":41984,"24":0,"16":14595213699842048,"45":1937040451573237760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572257792001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:13:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:13:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14595213699842048,"km_value":14595213699842.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937040451573237760,"description":"Unknown IO ID 45"} 
[2026-08-22 15:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572257792001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1937040451573237760}} 
[2026-08-22 15:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":162463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:13:03] local.INFO: GPS data processed {"connection_id":162463,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:13:03] local.INFO: Acknowledgment sent {"connection_id":162463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:13:26] local.INFO: TCP Data received {"connection_id":161021,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:13:26] local.INFO: Processing buffer {"connection_id":161021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:13:26] local.INFO: Packet analysis {"connection_id":161021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:13:26] local.INFO: Extracted packet for processing {"connection_id":161021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 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-22 15:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572158208001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:13: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-22 15:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787391544000,"timestamp_ms":1787391544000,"timestamp_seconds":1787391544,"priority":1,"record_length":96,"hex_timestamp":"000001a028d68ac0"} 
[2026-08-22 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-22 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-22 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 15:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572158208001,"66":25745,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572158208001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:13:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572158208001,"power":25745,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":161021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:13:26] local.INFO: GPS data processed {"connection_id":161021,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:13:26] local.INFO: Acknowledgment sent {"connection_id":161021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:13:34] local.INFO: TCP Data received {"connection_id":162463,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d88a78012d1ae1c0071f95c8003c00c428..."} 
[2026-08-22 15:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d88a78012d1ae1c0071f95c8003c00c428..."} 
[2026-08-22 15:13:34] local.INFO: Processing buffer {"connection_id":162463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d88a78012d1ae1c0071f95c8003c00c428..."} 
[2026-08-22 15:13:34] local.INFO: Packet analysis {"connection_id":162463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d8"} 
[2026-08-22 15:13:34] local.INFO: Extracted packet for processing {"connection_id":162463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d8"} 
[2026-08-22 15:13:34] local.INFO: GPS Element Parsed {"raw_longitude":756736448,"raw_latitude":119510472,"longitude_deg":75.6736448,"latitude_deg":11.9510472,"altitude":60,"angle":196,"satellites":40,"speed":0,"hex_longitude":"2d1ae1c0","hex_latitude":"071f95c8","is_valid_coordinates":true} 
[2026-08-22 15:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572263424001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14595213699842048,"note":"Value kept but may cause issues"} 
[2026-08-22 15:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937040451573237760,"note":"Value kept but may cause issues"} 
[2026-08-22 15:13:34] 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-22 15:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787391675000,"timestamp_ms":1787391675000,"timestamp_seconds":1787391675,"priority":1,"record_length":96,"hex_timestamp":"000001a028d88a78"} 
[2026-08-22 15:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:13:34] 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-22 15:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 15:13:34] 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-22 15:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572263424001,"66":12135,"101":206,"83":41984,"24":0,"16":14595213699842048,"45":1937040451573237760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572263424001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:13:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:13:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14595213699842048,"km_value":14595213699842.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937040451573237760,"description":"Unknown IO ID 45"} 
[2026-08-22 15:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572263424001,"power":12135,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1937040451573237760}} 
[2026-08-22 15:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":162463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:13:34] local.INFO: GPS data processed {"connection_id":162463,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:13:34] local.INFO: Acknowledgment sent {"connection_id":162463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:13:52] local.INFO: TCP Data received {"connection_id":160106,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:13:52] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:13:52] local.INFO: IMEI packet received {"connection_id":160106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":160106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:13:54] local.INFO: TCP Data received {"connection_id":160105,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:13:54] local.INFO: Processing buffer {"connection_id":160105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:13:54] local.INFO: IMEI packet received {"connection_id":160105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":160105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:13:58] local.INFO: TCP Data received {"connection_id":160106,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:13:58] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:13:58] local.INFO: IMEI packet received {"connection_id":160106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":160106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:13:59] local.INFO: TCP Data received {"connection_id":160106,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d8dc80012d1ae1c0071f95c8003c00c427..."} 
[2026-08-22 15:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d8dc80012d1ae1c0071f95c8003c00c427..."} 
[2026-08-22 15:13:59] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d8dc80012d1ae1c0071f95c8003c00c427..."} 
[2026-08-22 15:13:59] local.INFO: Packet analysis {"connection_id":160106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d8"} 
[2026-08-22 15:13:59] local.INFO: Extracted packet for processing {"connection_id":160106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d8"} 
[2026-08-22 15:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756736448,"raw_latitude":119510472,"longitude_deg":75.6736448,"latitude_deg":11.9510472,"altitude":60,"angle":196,"satellites":39,"speed":0,"hex_longitude":"2d1ae1c0","hex_latitude":"071f95c8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572268800001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14595213699842048,"note":"Value kept but may cause issues"} 
[2026-08-22 15:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937040451573237760,"note":"Value kept but may cause issues"} 
[2026-08-22 15:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787391696000,"timestamp_ms":1787391696000,"timestamp_seconds":1787391696,"priority":1,"record_length":96,"hex_timestamp":"000001a028d8dc80"} 
[2026-08-22 15: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-22 15:13: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-22 15: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 15:13:59] 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-22 15: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-22 15: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-22 15:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572268800001,"66":13080,"101":206,"83":41984,"24":0,"16":14595213699842048,"45":1937040451573237760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572268800001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:13:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14595213699842048,"km_value":14595213699842.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937040451573237760,"description":"Unknown IO ID 45"} 
[2026-08-22 15:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572268800001,"power":13080,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1937040451573237760}} 
[2026-08-22 15:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":160106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:13:59] local.INFO: GPS data processed {"connection_id":160106,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:13:59] local.INFO: Acknowledgment sent {"connection_id":160106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:13:59] local.INFO: TCP Data received {"connection_id":160105,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:13:59] local.INFO: Processing buffer {"connection_id":160105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:13:59] local.INFO: IMEI packet received {"connection_id":160105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":160105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:14:00] local.INFO: TCP Data received {"connection_id":160105,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:14:00] local.INFO: Processing buffer {"connection_id":160105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:14:00] local.INFO: Packet analysis {"connection_id":160105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:14:00] local.INFO: Extracted packet for processing {"connection_id":160105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572158208001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:00] 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-22 15:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787391544000,"timestamp_ms":1787391544000,"timestamp_seconds":1787391544,"priority":1,"record_length":96,"hex_timestamp":"000001a028d68ac0"} 
[2026-08-22 15:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15: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-22 15:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:14: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-22 15:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572158208001,"66":25745,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572158208001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:14:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572158208001,"power":25745,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":160105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:14:00] local.INFO: GPS data processed {"connection_id":160105,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:14:00] local.INFO: Acknowledgment sent {"connection_id":160105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:14:30] local.INFO: TCP Data received {"connection_id":160106,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d92e88012d1ae1c0071f95c8003c00c426..."} 
[2026-08-22 15:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d92e88012d1ae1c0071f95c8003c00c426..."} 
[2026-08-22 15:14:30] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d92e88012d1ae1c0071f95c8003c00c426..."} 
[2026-08-22 15:14:30] local.INFO: Packet analysis {"connection_id":160106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d9"} 
[2026-08-22 15:14:30] local.INFO: Extracted packet for processing {"connection_id":160106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d9"} 
[2026-08-22 15:14:30] local.INFO: GPS Element Parsed {"raw_longitude":756736448,"raw_latitude":119510472,"longitude_deg":75.6736448,"latitude_deg":11.9510472,"altitude":60,"angle":196,"satellites":38,"speed":0,"hex_longitude":"2d1ae1c0","hex_latitude":"071f95c8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572274176001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14595213699842048,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937040451573237760,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787391717000,"timestamp_ms":1787391717000,"timestamp_seconds":1787391717,"priority":1,"record_length":96,"hex_timestamp":"000001a028d92e88"} 
[2026-08-22 15: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-22 15:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 15:14:30] 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-22 15: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-22 15: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-22 15:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572274176001,"66":13048,"101":206,"83":41984,"24":0,"16":14595213699842048,"45":1937040451573237760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572274176001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:14:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:14:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14595213699842048,"km_value":14595213699842.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937040451573237760,"description":"Unknown IO ID 45"} 
[2026-08-22 15:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572274176001,"power":13048,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1937040451573237760}} 
[2026-08-22 15:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":160106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:14:30] local.INFO: GPS data processed {"connection_id":160106,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:14:30] local.INFO: Acknowledgment sent {"connection_id":160106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:14:31] local.INFO: TCP Data received {"connection_id":160105,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:14:31] local.INFO: Processing buffer {"connection_id":160105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d68ac0012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:14:31] local.INFO: Packet analysis {"connection_id":160105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:14:31] local.INFO: Extracted packet for processing {"connection_id":160105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d6"} 
[2026-08-22 15:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572158208001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:31] 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-22 15:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787391544000,"timestamp_ms":1787391544000,"timestamp_seconds":1787391544,"priority":1,"record_length":96,"hex_timestamp":"000001a028d68ac0"} 
[2026-08-22 15: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-22 15: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-22 15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 15:14: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-22 15: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-22 15: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-22 15:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572158208001,"66":25745,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572158208001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:14:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:14:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572158208001,"power":25745,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":160105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:14:31] local.INFO: GPS data processed {"connection_id":160105,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:14:31] local.INFO: Acknowledgment sent {"connection_id":160105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:14:48] local.INFO: TCP Data received {"connection_id":162464,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:14:48] local.INFO: Processing buffer {"connection_id":162464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:14:48] local.INFO: IMEI packet received {"connection_id":162464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":162464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:14:52] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:14:52] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:14:52] local.INFO: IMEI packet received {"connection_id":159860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":159860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:14:53] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:14:53] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:14:53] local.INFO: IMEI packet received {"connection_id":159860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":159860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:14:53] local.INFO: TCP Data received {"connection_id":162464,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:14:53] local.INFO: Processing buffer {"connection_id":162464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:14:53] local.INFO: IMEI packet received {"connection_id":162464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":162464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:14:54] local.INFO: TCP Data received {"connection_id":162464,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:14:54] local.INFO: Processing buffer {"connection_id":162464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:14:54] local.INFO: Packet analysis {"connection_id":162464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:14:54] local.INFO: Extracted packet for processing {"connection_id":162464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:14:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572235264001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:54] 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-22 15:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787391845000,"timestamp_ms":1787391845000,"timestamp_seconds":1787391845,"priority":1,"record_length":96,"hex_timestamp":"000001a028db2288"} 
[2026-08-22 15:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 15:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 15:14:54] 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-22 15:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572235264001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572235264001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:14:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:14:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572235264001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":162464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:14:54] local.INFO: GPS data processed {"connection_id":162464,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:14:54] local.INFO: Acknowledgment sent {"connection_id":162464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:14:56] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:14:56] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:14:56] local.INFO: IMEI packet received {"connection_id":159860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":159860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:14:57] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:14:57] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:14:57] local.INFO: IMEI packet received {"connection_id":159860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":159860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:14:58] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028d98090012d1ae1c0071f95c8003c00c425..."} 
[2026-08-22 15:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028d98090012d1ae1c0071f95c8003c00c425..."} 
[2026-08-22 15:14:58] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028d98090012d1ae1c0071f95c8003c00c425..."} 
[2026-08-22 15:14:58] local.INFO: Packet analysis {"connection_id":159860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028d9"} 
[2026-08-22 15:14:58] local.INFO: Extracted packet for processing {"connection_id":159860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028d9"} 
[2026-08-22 15:14:58] local.INFO: GPS Element Parsed {"raw_longitude":756736448,"raw_latitude":119510472,"longitude_deg":75.6736448,"latitude_deg":11.9510472,"altitude":60,"angle":196,"satellites":37,"speed":0,"hex_longitude":"2d1ae1c0","hex_latitude":"071f95c8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572279552001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14595213699842048,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937040451573237760,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787391738000,"timestamp_ms":1787391738000,"timestamp_seconds":1787391738,"priority":1,"record_length":96,"hex_timestamp":"000001a028d98090"} 
[2026-08-22 15: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-22 15:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-22 15:14:58] 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-22 15: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-22 15: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-22 15:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572279552001,"66":13004,"101":206,"83":41984,"24":0,"16":14595213699842048,"45":1937040451573237760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572279552001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:14:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14595213699842048,"km_value":14595213699842.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937040451573237760,"description":"Unknown IO ID 45"} 
[2026-08-22 15:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572279552001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1937040451573237760}} 
[2026-08-22 15:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":159860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:14:58] local.INFO: GPS data processed {"connection_id":159860,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:14:58] local.INFO: Acknowledgment sent {"connection_id":159860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:14:59] local.INFO: TCP Data received {"connection_id":162464,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:14:59] local.INFO: Processing buffer {"connection_id":162464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:14:59] local.INFO: Packet analysis {"connection_id":162464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:14:59] local.INFO: Extracted packet for processing {"connection_id":162464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572235264001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:14:59] 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-22 15:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787391845000,"timestamp_ms":1787391845000,"timestamp_seconds":1787391845,"priority":1,"record_length":96,"hex_timestamp":"000001a028db2288"} 
[2026-08-22 15: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-22 15:14: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-22 15: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":145,"data_length":795,"current_offset":136} 
[2026-08-22 15:14: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-22 15: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-22 15: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-22 15:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572235264001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572235264001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572235264001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":162464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:14:59] local.INFO: GPS data processed {"connection_id":162464,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:14:59] local.INFO: Acknowledgment sent {"connection_id":162464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:15:30] local.INFO: TCP Data received {"connection_id":162464,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:15:30] local.INFO: Processing buffer {"connection_id":162464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:15:30] local.INFO: Packet analysis {"connection_id":162464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:15:30] local.INFO: Extracted packet for processing {"connection_id":162464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:15:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572235264001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:15:30] 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-22 15:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787391845000,"timestamp_ms":1787391845000,"timestamp_seconds":1787391845,"priority":1,"record_length":96,"hex_timestamp":"000001a028db2288"} 
[2026-08-22 15: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-22 15:15: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-22 15: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":145,"data_length":795,"current_offset":136} 
[2026-08-22 15:15: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-22 15: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-22 15: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-22 15:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572235264001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572235264001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:15:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:15:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572235264001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":162464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:15:30] local.INFO: GPS data processed {"connection_id":162464,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:15:30] local.INFO: Acknowledgment sent {"connection_id":162464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:15:30] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028dbbec8012d1ada40071f8740004000e228..."} 
[2026-08-22 15:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dbbec8012d1ada40071f8740004000e228..."} 
[2026-08-22 15:15:30] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dbbec8012d1ada40071f8740004000e228..."} 
[2026-08-22 15:15:30] local.INFO: Packet analysis {"connection_id":159860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:15:30] local.INFO: Extracted packet for processing {"connection_id":159860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:15:30] local.INFO: GPS Element Parsed {"raw_longitude":756734528,"raw_latitude":119506752,"longitude_deg":75.6734528,"latitude_deg":11.9506752,"altitude":64,"angle":226,"satellites":40,"speed":7,"hex_longitude":"2d1ada40","hex_latitude":"071f8740","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572322304001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14595441333108736,"note":"Value kept but may cause issues"} 
[2026-08-22 15:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935140495479521280,"note":"Value kept but may cause issues"} 
[2026-08-22 15:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787391885000,"timestamp_ms":1787391885000,"timestamp_seconds":1787391885,"priority":1,"record_length":96,"hex_timestamp":"000001a028dbbec8"} 
[2026-08-22 15: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-22 15:15: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-22 15: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-22 15:15:30] 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-22 15: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-22 15: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-22 15:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572322304001,"66":14396,"101":206,"83":41984,"24":7,"16":14595441333108736,"45":1935140495479521280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572322304001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:15:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:15:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14595441333108736,"km_value":14595441333108.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935140495479521280,"description":"Unknown IO ID 45"} 
[2026-08-22 15:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572322304001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1935140495479521280}} 
[2026-08-22 15:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":159860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:15:30] local.INFO: GPS data processed {"connection_id":159860,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:15:30] local.INFO: Acknowledgment sent {"connection_id":159860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:15:52] local.INFO: TCP Data received {"connection_id":161023,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:15:52] local.INFO: Processing buffer {"connection_id":161023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:15:52] local.INFO: IMEI packet received {"connection_id":161023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":161023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:15:53] local.INFO: TCP Data received {"connection_id":161023,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:15:53] local.INFO: Processing buffer {"connection_id":161023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:15:53] local.INFO: IMEI packet received {"connection_id":161023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":161023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:15:53] local.INFO: TCP Data received {"connection_id":161022,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:15:53] local.INFO: Processing buffer {"connection_id":161022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:15:53] local.INFO: IMEI packet received {"connection_id":161022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":161022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:15:54] local.INFO: TCP Data received {"connection_id":161023,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:15:54] local.INFO: Processing buffer {"connection_id":161023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:15:54] local.INFO: IMEI packet received {"connection_id":161023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":161023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:15:58] local.INFO: TCP Data received {"connection_id":161023,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:15:58] local.INFO: Processing buffer {"connection_id":161023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:15:58] local.INFO: IMEI packet received {"connection_id":161023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":161023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:15:59] local.INFO: TCP Data received {"connection_id":161023,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028dbc698012d1ad900071f8680004000f528..."} 
[2026-08-22 15:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dbc698012d1ad900071f8680004000f528..."} 
[2026-08-22 15:15:59] local.INFO: Processing buffer {"connection_id":161023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dbc698012d1ad900071f8680004000f528..."} 
[2026-08-22 15:15:59] local.INFO: Packet analysis {"connection_id":161023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:15:59] local.INFO: Extracted packet for processing {"connection_id":161023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756734208,"raw_latitude":119506560,"longitude_deg":75.6734208,"latitude_deg":11.950656,"altitude":64,"angle":245,"satellites":40,"speed":6,"hex_longitude":"2d1ad900","hex_latitude":"071f8680","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572322560001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14595458512977920,"note":"Value kept but may cause issues"} 
[2026-08-22 15:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934929389246955520,"note":"Value kept but may cause issues"} 
[2026-08-22 15:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787391887000,"timestamp_ms":1787391887000,"timestamp_seconds":1787391887,"priority":1,"record_length":96,"hex_timestamp":"000001a028dbc698"} 
[2026-08-22 15: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-22 15:15: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-22 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 15:15: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-22 15: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-22 15: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-22 15:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572322560001,"66":14428,"101":206,"83":41984,"24":6,"16":14595458512977920,"45":1934929389246955520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572322560001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:15:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:15:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14595458512977920,"km_value":14595458512977.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934929389246955520,"description":"Unknown IO ID 45"} 
[2026-08-22 15:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572322560001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1934929389246955520}} 
[2026-08-22 15:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":161023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:15:59] local.INFO: GPS data processed {"connection_id":161023,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:15:59] local.INFO: Acknowledgment sent {"connection_id":161023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:15:59] local.INFO: TCP Data received {"connection_id":161022,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:15:59] local.INFO: Processing buffer {"connection_id":161022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:15:59] local.INFO: IMEI packet received {"connection_id":161022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":161022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:16:00] local.INFO: TCP Data received {"connection_id":161022,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:16:00] local.INFO: Processing buffer {"connection_id":161022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:16:00] local.INFO: Packet analysis {"connection_id":161022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:16:00] local.INFO: Extracted packet for processing {"connection_id":161022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:16:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 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-22 15:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572235264001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:16:00] 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-22 15:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787391845000,"timestamp_ms":1787391845000,"timestamp_seconds":1787391845,"priority":1,"record_length":96,"hex_timestamp":"000001a028db2288"} 
[2026-08-22 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-22 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-22 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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 15:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 15:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572235264001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572235264001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:16:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:16:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572235264001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":161022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:16:00] local.INFO: GPS data processed {"connection_id":161022,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:16:00] local.INFO: Acknowledgment sent {"connection_id":161022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:16:04] local.INFO: TCP Data received {"connection_id":161022,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:16:04] local.INFO: Processing buffer {"connection_id":161022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:16:04] local.INFO: Packet analysis {"connection_id":161022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:16:04] local.INFO: Extracted packet for processing {"connection_id":161022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572235264001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:16:04] 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-22 15:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787391845000,"timestamp_ms":1787391845000,"timestamp_seconds":1787391845,"priority":1,"record_length":96,"hex_timestamp":"000001a028db2288"} 
[2026-08-22 15: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-22 15:16: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-22 15: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 15:16:04] 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-22 15: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-22 15: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-22 15:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572235264001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572235264001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:16:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572235264001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":161022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:16:04] local.INFO: GPS data processed {"connection_id":161022,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:16:04] local.INFO: Acknowledgment sent {"connection_id":161022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:16:30] local.INFO: TCP Data received {"connection_id":161023,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028dc7a48012d1a9f40071f9c080037012f2a..."} 
[2026-08-22 15:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dc7a48012d1a9f40071f9c080037012f2a..."} 
[2026-08-22 15:16:30] local.INFO: Processing buffer {"connection_id":161023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dc7a48012d1a9f40071f9c080037012f2a..."} 
[2026-08-22 15:16:30] local.INFO: Packet analysis {"connection_id":161023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028dc"} 
[2026-08-22 15:16:30] local.INFO: Extracted packet for processing {"connection_id":161023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028dc"} 
[2026-08-22 15:16:30] local.INFO: GPS Element Parsed {"raw_longitude":756719424,"raw_latitude":119512072,"longitude_deg":75.6719424,"latitude_deg":11.9512072,"altitude":55,"angle":303,"satellites":42,"speed":27,"hex_longitude":"2d1a9f40","hex_latitude":"071f9c08","is_valid_coordinates":true} 
[2026-08-22 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-22 15:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572334336001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14596304621535232,"note":"Value kept but may cause issues"} 
[2026-08-22 15:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919589003017433088,"note":"Value kept but may cause issues"} 
[2026-08-22 15:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787391933000,"timestamp_ms":1787391933000,"timestamp_seconds":1787391933,"priority":1,"record_length":96,"hex_timestamp":"000001a028dc7a48"} 
[2026-08-22 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-22 15:16: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-22 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 15:16:30] 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-22 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-22 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-22 15:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572334336001,"66":14396,"101":206,"83":41984,"24":27,"16":14596304621535232,"45":1919589003017433088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572334336001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:16:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:16:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14596304621535232,"km_value":14596304621535.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919589003017433088,"description":"Unknown IO ID 45"} 
[2026-08-22 15:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572334336001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1919589003017433088}} 
[2026-08-22 15:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":161023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:16:30] local.INFO: GPS data processed {"connection_id":161023,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:16:30] local.INFO: Acknowledgment sent {"connection_id":161023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:16:49] local.INFO: TCP Data received {"connection_id":160107,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:16:49] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:16:49] local.INFO: IMEI packet received {"connection_id":160107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":160107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:16:54] local.INFO: TCP Data received {"connection_id":160107,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:16:54] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:16:54] local.INFO: IMEI packet received {"connection_id":160107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":160107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:16:55] local.INFO: TCP Data received {"connection_id":160107,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:16:55] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:16:55] local.INFO: Packet analysis {"connection_id":160107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:16:55] local.INFO: Extracted packet for processing {"connection_id":160107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:16:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572235264001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:16: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-22 15:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787391845000,"timestamp_ms":1787391845000,"timestamp_seconds":1787391845,"priority":1,"record_length":96,"hex_timestamp":"000001a028db2288"} 
[2026-08-22 15:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:16: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-22 15:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 15:16:55] 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-22 15:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572235264001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572235264001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:16:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572235264001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":160107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:16:55] local.INFO: GPS data processed {"connection_id":160107,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:16:55] local.INFO: Acknowledgment sent {"connection_id":160107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:16:57] local.INFO: TCP Data received {"connection_id":162465,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:16:57] local.INFO: Processing buffer {"connection_id":162465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:16:57] local.INFO: IMEI packet received {"connection_id":162465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":162465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:17:01] local.INFO: TCP Data received {"connection_id":162465,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:17:01] local.INFO: Processing buffer {"connection_id":162465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:17:01] local.INFO: IMEI packet received {"connection_id":162465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":162465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:17:01] local.INFO: TCP Data received {"connection_id":162465,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028dc8600012d1a9900071fa1780037013b29..."} 
[2026-08-22 15:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dc8600012d1a9900071fa1780037013b29..."} 
[2026-08-22 15:17:01] local.INFO: Processing buffer {"connection_id":162465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dc8600012d1a9900071fa1780037013b29..."} 
[2026-08-22 15:17:01] local.INFO: Packet analysis {"connection_id":162465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028dc"} 
[2026-08-22 15:17:01] local.INFO: Extracted packet for processing {"connection_id":162465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028dc"} 
[2026-08-22 15:17:01] local.INFO: GPS Element Parsed {"raw_longitude":756717824,"raw_latitude":119513464,"longitude_deg":75.6717824,"latitude_deg":11.9513464,"altitude":55,"angle":315,"satellites":41,"speed":28,"hex_longitude":"2d1a9900","hex_latitude":"071fa178","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572334848001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14596407700750336,"note":"Value kept but may cause issues"} 
[2026-08-22 15:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918322365622388736,"note":"Value kept but may cause issues"} 
[2026-08-22 15:17:01] 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-22 15:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787391936000,"timestamp_ms":1787391936000,"timestamp_seconds":1787391936,"priority":1,"record_length":96,"hex_timestamp":"000001a028dc8600"} 
[2026-08-22 15: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-22 15:17:01] 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-22 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 15:17:01] 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-22 15: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-22 15: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-22 15:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572334848001,"66":14363,"101":206,"83":41984,"24":28,"16":14596407700750336,"45":1918322365622388736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572334848001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:17:01] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:17:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14596407700750336,"km_value":14596407700750.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918322365622388736,"description":"Unknown IO ID 45"} 
[2026-08-22 15:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572334848001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1918322365622388736}} 
[2026-08-22 15:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":162465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:17:01] local.INFO: GPS data processed {"connection_id":162465,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:17:01] local.INFO: Acknowledgment sent {"connection_id":162465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:17:26] local.INFO: TCP Data received {"connection_id":160107,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:17:26] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:17:26] local.INFO: Packet analysis {"connection_id":160107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:17:26] local.INFO: Extracted packet for processing {"connection_id":160107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:17:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572235264001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:17: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-22 15:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787391845000,"timestamp_ms":1787391845000,"timestamp_seconds":1787391845,"priority":1,"record_length":96,"hex_timestamp":"000001a028db2288"} 
[2026-08-22 15:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:17: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-22 15:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 15:17:26] 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-22 15:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572235264001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572235264001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:17:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:17:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572235264001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":160107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:17:26] local.INFO: GPS data processed {"connection_id":160107,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:17:26] local.INFO: Acknowledgment sent {"connection_id":160107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:17:33] local.INFO: TCP Data received {"connection_id":162465,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028dd9b58012d19e040072008e0002c013828..."} 
[2026-08-22 15:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dd9b58012d19e040072008e0002c013828..."} 
[2026-08-22 15:17:33] local.INFO: Processing buffer {"connection_id":162465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dd9b58012d19e040072008e0002c013828..."} 
[2026-08-22 15:17:33] local.INFO: Packet analysis {"connection_id":162465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028dd"} 
[2026-08-22 15:17:33] local.INFO: Extracted packet for processing {"connection_id":162465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028dd"} 
[2026-08-22 15:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756670528,"raw_latitude":119539936,"longitude_deg":75.6670528,"latitude_deg":11.9539936,"altitude":44,"angle":312,"satellites":40,"speed":27,"hex_longitude":"2d19e040","hex_latitude":"072008e0","is_valid_coordinates":true} 
[2026-08-22 15:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572352768001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14599147889885184,"note":"Value kept but may cause issues"} 
[2026-08-22 15:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866179126193315840,"note":"Value kept but may cause issues"} 
[2026-08-22 15:17:33] 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-22 15:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787392007000,"timestamp_ms":1787392007000,"timestamp_seconds":1787392007,"priority":1,"record_length":96,"hex_timestamp":"000001a028dd9b58"} 
[2026-08-22 15:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:17:33] 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-22 15:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 15:17:33] 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-22 15:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572352768001,"66":14070,"101":206,"83":41984,"24":27,"16":14599147889885184,"45":1866179126193315840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572352768001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:17:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14599147889885184,"km_value":14599147889885.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866179126193315840,"description":"Unknown IO ID 45"} 
[2026-08-22 15:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572352768001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1866179126193315840}} 
[2026-08-22 15:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":162465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:17:33] local.INFO: GPS data processed {"connection_id":162465,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:17:33] local.INFO: Acknowledgment sent {"connection_id":162465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:17:48] local.INFO: TCP Data received {"connection_id":160108,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:17:48] local.INFO: Processing buffer {"connection_id":160108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:17:48] local.INFO: IMEI packet received {"connection_id":160108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":160108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:17:53] local.INFO: TCP Data received {"connection_id":161024,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:17:53] local.INFO: Processing buffer {"connection_id":161024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:17:53] local.INFO: IMEI packet received {"connection_id":161024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":161024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:17:54] local.INFO: TCP Data received {"connection_id":160108,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:17:54] local.INFO: Processing buffer {"connection_id":160108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:17:54] local.INFO: IMEI packet received {"connection_id":160108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":160108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:17:55] local.INFO: TCP Data received {"connection_id":160108,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:17:55] local.INFO: Processing buffer {"connection_id":160108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:17:55] local.INFO: Packet analysis {"connection_id":160108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:17:55] local.INFO: Extracted packet for processing {"connection_id":160108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572235264001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15: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-22 15:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787391845000,"timestamp_ms":1787391845000,"timestamp_seconds":1787391845,"priority":1,"record_length":96,"hex_timestamp":"000001a028db2288"} 
[2026-08-22 15:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:17: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-22 15:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 15:17:55] 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-22 15:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572235264001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572235264001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:17:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572235264001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":160108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:17:55] local.INFO: GPS data processed {"connection_id":160108,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:17:55] local.INFO: Acknowledgment sent {"connection_id":160108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:17:58] local.INFO: TCP Data received {"connection_id":161024,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:17:58] local.INFO: Processing buffer {"connection_id":161024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:17:58] local.INFO: IMEI packet received {"connection_id":161024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":161024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:17:58] local.INFO: TCP Data received {"connection_id":161024,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028dda328012d19dbc007200bf0002b012a29..."} 
[2026-08-22 15:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dda328012d19dbc007200bf0002b012a29..."} 
[2026-08-22 15:17:58] local.INFO: Processing buffer {"connection_id":161024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dda328012d19dbc007200bf0002b012a29..."} 
[2026-08-22 15:17:58] local.INFO: Packet analysis {"connection_id":161024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028dd"} 
[2026-08-22 15:17:58] local.INFO: Extracted packet for processing {"connection_id":161024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028dd"} 
[2026-08-22 15:17:58] local.INFO: GPS Element Parsed {"raw_longitude":756669376,"raw_latitude":119540720,"longitude_deg":75.6669376,"latitude_deg":11.954072,"altitude":43,"angle":298,"satellites":41,"speed":29,"hex_longitude":"2d19dbc0","hex_latitude":"07200bf0","is_valid_coordinates":true} 
[2026-08-22 15:17: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-22 15:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572353792001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14599216609361920,"note":"Value kept but may cause issues"} 
[2026-08-22 15:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864560645077786624,"note":"Value kept but may cause issues"} 
[2026-08-22 15:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787392009000,"timestamp_ms":1787392009000,"timestamp_seconds":1787392009,"priority":1,"record_length":96,"hex_timestamp":"000001a028dda328"} 
[2026-08-22 15: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-22 15:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 15:17:58] 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-22 15:17: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-22 15: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-22 15:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572353792001,"66":14461,"101":206,"83":41984,"24":29,"16":14599216609361920,"45":1864560645077786624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572353792001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:17:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:17:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14599216609361920,"km_value":14599216609361.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864560645077786624,"description":"Unknown IO ID 45"} 
[2026-08-22 15:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572353792001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1864560645077786624}} 
[2026-08-22 15:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":161024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:17:58] local.INFO: GPS data processed {"connection_id":161024,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:17:58] local.INFO: Acknowledgment sent {"connection_id":161024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:18:26] local.INFO: TCP Data received {"connection_id":160108,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:18:26] local.INFO: Processing buffer {"connection_id":160108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:18:26] local.INFO: Packet analysis {"connection_id":160108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:18:26] local.INFO: Extracted packet for processing {"connection_id":160108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:18:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572235264001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:18: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-22 15:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787391845000,"timestamp_ms":1787391845000,"timestamp_seconds":1787391845,"priority":1,"record_length":96,"hex_timestamp":"000001a028db2288"} 
[2026-08-22 15:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15: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-22 15:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 15:18:26] 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-22 15:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572235264001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572235264001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:18:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572235264001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":160108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:18:26] local.INFO: GPS data processed {"connection_id":160108,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:18:26] local.INFO: Acknowledgment sent {"connection_id":160108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:18:30] local.INFO: TCP Data received {"connection_id":161024,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028de81d0012d19b9400720a9b80032015128..."} 
[2026-08-22 15:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028de81d0012d19b9400720a9b80032015128..."} 
[2026-08-22 15:18:30] local.INFO: Processing buffer {"connection_id":161024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028de81d0012d19b9400720a9b80032015128..."} 
[2026-08-22 15:18:30] local.INFO: Packet analysis {"connection_id":161024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028de"} 
[2026-08-22 15:18:30] local.INFO: Extracted packet for processing {"connection_id":161024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028de"} 
[2026-08-22 15:18:30] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119581112,"longitude_deg":75.6660544,"latitude_deg":11.9581112,"altitude":50,"angle":337,"satellites":40,"speed":18,"hex_longitude":"2d19b940","hex_latitude":"0720a9b8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572368640001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14601381272879104,"note":"Value kept but may cause issues"} 
[2026-08-22 15:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484848640,"note":"Value kept but may cause issues"} 
[2026-08-22 15:18: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-22 15:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787392066000,"timestamp_ms":1787392066000,"timestamp_seconds":1787392066,"priority":1,"record_length":96,"hex_timestamp":"000001a028de81d0"} 
[2026-08-22 15: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-22 15:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 15:18:30] 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-22 15: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-22 15: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-22 15:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572368640001,"66":14439,"103":206,"83":41984,"24":18,"16":14601381272879104,"45":1853723858484848640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 15:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572368640001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:18:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 15:18:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14601381272879104,"km_value":14601381272879.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484848640,"description":"Unknown IO ID 45"} 
[2026-08-22 15:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572368640001,"power":14439,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1853723858484848640}} 
[2026-08-22 15:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":161024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:18:30] local.INFO: GPS data processed {"connection_id":161024,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:18:30] local.INFO: Acknowledgment sent {"connection_id":161024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:18:48] local.INFO: TCP Data received {"connection_id":162466,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:18:48] local.INFO: Processing buffer {"connection_id":162466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:18:48] local.INFO: IMEI packet received {"connection_id":162466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":162466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:18:53] local.INFO: TCP Data received {"connection_id":162467,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:18:53] local.INFO: Processing buffer {"connection_id":162467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:18:53] local.INFO: IMEI packet received {"connection_id":162467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":162467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:18:54] local.INFO: TCP Data received {"connection_id":162466,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:18:54] local.INFO: Processing buffer {"connection_id":162466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:18:54] local.INFO: IMEI packet received {"connection_id":162466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":162466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:18:55] local.INFO: TCP Data received {"connection_id":162466,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:18:55] local.INFO: Processing buffer {"connection_id":162466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:18:55] local.INFO: Packet analysis {"connection_id":162466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:18:55] local.INFO: Extracted packet for processing {"connection_id":162466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572235264001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:18: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-22 15:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787391845000,"timestamp_ms":1787391845000,"timestamp_seconds":1787391845,"priority":1,"record_length":96,"hex_timestamp":"000001a028db2288"} 
[2026-08-22 15:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15: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-22 15:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 15:18:55] 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-22 15:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572235264001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572235264001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:18:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:18:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572235264001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":162466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:18:55] local.INFO: GPS data processed {"connection_id":162466,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:18:55] local.INFO: Acknowledgment sent {"connection_id":162466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:18:57] local.INFO: TCP Data received {"connection_id":162467,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:18:57] local.INFO: Processing buffer {"connection_id":162467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:18:57] local.INFO: IMEI packet received {"connection_id":162467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":162467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:18:57] local.INFO: TCP Data received {"connection_id":162467,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028de85b8012d19b7c00720ab180032013d28..."} 
[2026-08-22 15:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028de85b8012d19b7c00720ab180032013d28..."} 
[2026-08-22 15:18:57] local.INFO: Processing buffer {"connection_id":162467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028de85b8012d19b7c00720ab180032013d28..."} 
[2026-08-22 15:18:57] local.INFO: Packet analysis {"connection_id":162467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028de"} 
[2026-08-22 15:18:57] local.INFO: Extracted packet for processing {"connection_id":162467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028de"} 
[2026-08-22 15:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756660160,"raw_latitude":119581464,"longitude_deg":75.666016,"latitude_deg":11.9581464,"altitude":50,"angle":317,"satellites":40,"speed":18,"hex_longitude":"2d19b7c0","hex_latitude":"0720ab18","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572368896001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14601407042682880,"note":"Value kept but may cause issues"} 
[2026-08-22 15:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996612096,"note":"Value kept but may cause issues"} 
[2026-08-22 15:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787392067000,"timestamp_ms":1787392067000,"timestamp_seconds":1787392067,"priority":1,"record_length":96,"hex_timestamp":"000001a028de85b8"} 
[2026-08-22 15: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-22 15:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 15:18: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-22 15: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-22 15: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-22 15:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572368896001,"66":14483,"103":206,"83":41984,"24":18,"16":14601407042682880,"45":1853583120996612096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 15:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572368896001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:18:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 15:18:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14601407042682880,"km_value":14601407042682.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996612096,"description":"Unknown IO ID 45"} 
[2026-08-22 15:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572368896001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1853583120996612096}} 
[2026-08-22 15:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":162467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:18:58] local.INFO: GPS data processed {"connection_id":162467,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:18:58] local.INFO: Acknowledgment sent {"connection_id":162467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:19:26] local.INFO: TCP Data received {"connection_id":162466,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:19:26] local.INFO: Processing buffer {"connection_id":162466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028db2288012d7fabc005afdd80000d001a26..."} 
[2026-08-22 15:19:26] local.INFO: Packet analysis {"connection_id":162466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:19:26] local.INFO: Extracted packet for processing {"connection_id":162466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028db"} 
[2026-08-22 15:19:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":13,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572235264001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:19: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-22 15:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787391845000,"timestamp_ms":1787391845000,"timestamp_seconds":1787391845,"priority":1,"record_length":96,"hex_timestamp":"000001a028db2288"} 
[2026-08-22 15: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-22 15:19: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-22 15: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 15:19:26] 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-22 15: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-22 15: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-22 15:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572235264001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572235264001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:19:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:19:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572235264001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":162466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:19:26] local.INFO: GPS data processed {"connection_id":162466,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:19:26] local.INFO: Acknowledgment sent {"connection_id":162466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:19:29] local.INFO: TCP Data received {"connection_id":162467,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028de8d88012d19b3800720acc80033012327..."} 
[2026-08-22 15:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028de8d88012d19b3800720acc80033012327..."} 
[2026-08-22 15:19:29] local.INFO: Processing buffer {"connection_id":162467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028de8d88012d19b3800720acc80033012327..."} 
[2026-08-22 15:19:29] local.INFO: Packet analysis {"connection_id":162467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028de"} 
[2026-08-22 15:19:29] local.INFO: Extracted packet for processing {"connection_id":162467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028de"} 
[2026-08-22 15:19:29] local.INFO: GPS Element Parsed {"raw_longitude":756659072,"raw_latitude":119581896,"longitude_deg":75.6659072,"latitude_deg":11.9581896,"altitude":51,"angle":291,"satellites":39,"speed":21,"hex_longitude":"2d19b380","hex_latitude":"0720acc8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572369152001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14601458582290432,"note":"Value kept but may cause issues"} 
[2026-08-22 15:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853160908531636224,"note":"Value kept but may cause issues"} 
[2026-08-22 15:19:29] 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-22 15:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787392069000,"timestamp_ms":1787392069000,"timestamp_seconds":1787392069,"priority":1,"record_length":96,"hex_timestamp":"000001a028de8d88"} 
[2026-08-22 15: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-22 15:19: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-22 15: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-22 15:19:29] 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-22 15: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-22 15: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-22 15:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572369152001,"66":14483,"103":206,"83":41984,"24":21,"16":14601458582290432,"45":1853160908531636224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 15:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572369152001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:19:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 15:19:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14601458582290432,"km_value":14601458582290.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853160908531636224,"description":"Unknown IO ID 45"} 
[2026-08-22 15:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572369152001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1853160908531636224}} 
[2026-08-22 15:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":162467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:19:29] local.INFO: GPS data processed {"connection_id":162467,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:19:29] local.INFO: Acknowledgment sent {"connection_id":162467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:19:48] local.INFO: TCP Data received {"connection_id":161025,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:19:48] local.INFO: Processing buffer {"connection_id":161025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:19:48] local.INFO: IMEI packet received {"connection_id":161025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":161025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:19:53] local.INFO: TCP Data received {"connection_id":159861,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:19:53] local.INFO: Processing buffer {"connection_id":159861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:19:53] local.INFO: IMEI packet received {"connection_id":159861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":159861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:19:54] local.INFO: TCP Data received {"connection_id":161025,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:19:54] local.INFO: Processing buffer {"connection_id":161025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:19:54] local.INFO: IMEI packet received {"connection_id":161025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":161025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:19:54] local.INFO: TCP Data received {"connection_id":159861,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:19:54] local.INFO: Processing buffer {"connection_id":159861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:19:54] local.INFO: IMEI packet received {"connection_id":159861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":159861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:19:55] local.INFO: TCP Data received {"connection_id":161025,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:19:55] local.INFO: Processing buffer {"connection_id":161025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:19:55] local.INFO: Packet analysis {"connection_id":161025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:19:55] local.INFO: Extracted packet for processing {"connection_id":161025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":11,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572312320001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:19: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-22 15:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787392146000,"timestamp_ms":1787392146000,"timestamp_seconds":1787392146,"priority":1,"record_length":96,"hex_timestamp":"000001a028dfba50"} 
[2026-08-22 15:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:19: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-22 15:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:19: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-22 15:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572312320001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572312320001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:19:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:19:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572312320001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":161025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:19:55] local.INFO: GPS data processed {"connection_id":161025,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:19:55] local.INFO: Acknowledgment sent {"connection_id":161025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:19:58] local.INFO: TCP Data received {"connection_id":159861,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:19:58] local.INFO: Processing buffer {"connection_id":159861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:19:58] local.INFO: IMEI packet received {"connection_id":159861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":159861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:19:59] local.INFO: TCP Data received {"connection_id":159861,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028dfb668012d18de800720f730003a013728..."} 
[2026-08-22 15:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dfb668012d18de800720f730003a013728..."} 
[2026-08-22 15:19:59] local.INFO: Processing buffer {"connection_id":159861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dfb668012d18de800720f730003a013728..."} 
[2026-08-22 15:19:59] local.INFO: Packet analysis {"connection_id":159861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:19:59] local.INFO: Extracted packet for processing {"connection_id":159861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756604544,"raw_latitude":119600944,"longitude_deg":75.6604544,"latitude_deg":11.9600944,"altitude":58,"angle":311,"satellites":40,"speed":30,"hex_longitude":"2d18de80","hex_latitude":"0720f730","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572386560001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14604417814757376,"note":"Value kept but may cause issues"} 
[2026-08-22 15:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796936281937025024,"note":"Value kept but may cause issues"} 
[2026-08-22 15:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787392145000,"timestamp_ms":1787392145000,"timestamp_seconds":1787392145,"priority":1,"record_length":96,"hex_timestamp":"000001a028dfb668"} 
[2026-08-22 15: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-22 15:19: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-22 15: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-22 15: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-22 15: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-22 15: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-22 15:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572386560001,"66":14428,"103":206,"83":41984,"24":30,"16":14604417814757376,"45":1796936281937025024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 15:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572386560001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:19:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 15:19:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14604417814757376,"km_value":14604417814757.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796936281937025024,"description":"Unknown IO ID 45"} 
[2026-08-22 15:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572386560001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1796936281937025024}} 
[2026-08-22 15:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":159861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:19:59] local.INFO: GPS data processed {"connection_id":159861,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:19:59] local.INFO: Acknowledgment sent {"connection_id":159861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:20:26] local.INFO: TCP Data received {"connection_id":161025,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:20:26] local.INFO: Processing buffer {"connection_id":161025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:20:26] local.INFO: Packet analysis {"connection_id":161025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:20:26] local.INFO: Extracted packet for processing {"connection_id":161025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:20:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":11,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572312320001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:20: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-22 15:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787392146000,"timestamp_ms":1787392146000,"timestamp_seconds":1787392146,"priority":1,"record_length":96,"hex_timestamp":"000001a028dfba50"} 
[2026-08-22 15: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-22 15: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-22 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 15: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-22 15: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-22 15:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572312320001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572312320001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:20:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572312320001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":161025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:20:26] local.INFO: GPS data processed {"connection_id":161025,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:20:26] local.INFO: Acknowledgment sent {"connection_id":161025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:20:30] local.INFO: TCP Data received {"connection_id":159861,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028dfc220012d18d8400720fd40003a014328..."} 
[2026-08-22 15:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dfc220012d18d8400720fd40003a014328..."} 
[2026-08-22 15:20:30] local.INFO: Processing buffer {"connection_id":159861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dfc220012d18d8400720fd40003a014328..."} 
[2026-08-22 15:20:30] local.INFO: Packet analysis {"connection_id":159861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:20:30] local.INFO: Extracted packet for processing {"connection_id":159861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:20:30] local.INFO: GPS Element Parsed {"raw_longitude":756602944,"raw_latitude":119602496,"longitude_deg":75.6602944,"latitude_deg":11.9602496,"altitude":58,"angle":323,"satellites":40,"speed":29,"hex_longitude":"2d18d840","hex_latitude":"0720fd40","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572389120001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14604525188939776,"note":"Value kept but may cause issues"} 
[2026-08-22 15:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792010469846233088,"note":"Value kept but may cause issues"} 
[2026-08-22 15:20: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-22 15:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787392148000,"timestamp_ms":1787392148000,"timestamp_seconds":1787392148,"priority":1,"record_length":96,"hex_timestamp":"000001a028dfc220"} 
[2026-08-22 15: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-22 15:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 15:20: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-22 15: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-22 15: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-22 15:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572389120001,"66":14428,"103":206,"83":41984,"24":29,"16":14604525188939776,"45":1792010469846233088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 15:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572389120001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:20:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 15:20:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14604525188939776,"km_value":14604525188939.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792010469846233088,"description":"Unknown IO ID 45"} 
[2026-08-22 15:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572389120001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1792010469846233088}} 
[2026-08-22 15:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":159861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:20:30] local.INFO: GPS data processed {"connection_id":159861,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:20:30] local.INFO: Acknowledgment sent {"connection_id":159861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:20:52] local.INFO: TCP Data received {"connection_id":161027,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:20:52] local.INFO: Processing buffer {"connection_id":161027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:20:52] local.INFO: IMEI packet received {"connection_id":161027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":161027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:20:54] local.INFO: TCP Data received {"connection_id":161026,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:20:54] local.INFO: Processing buffer {"connection_id":161026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:20:54] local.INFO: IMEI packet received {"connection_id":161026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":161026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:20:58] local.INFO: TCP Data received {"connection_id":161027,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:20:58] local.INFO: Processing buffer {"connection_id":161027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:20:58] local.INFO: IMEI packet received {"connection_id":161027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":161027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:20:58] local.INFO: TCP Data received {"connection_id":161027,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e08570012d188380072180e00049011b29..."} 
[2026-08-22 15:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e08570012d188380072180e00049011b29..."} 
[2026-08-22 15:20:58] local.INFO: Processing buffer {"connection_id":161027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e08570012d188380072180e00049011b29..."} 
[2026-08-22 15:20:58] local.INFO: Packet analysis {"connection_id":161027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e0"} 
[2026-08-22 15:20:58] local.INFO: Extracted packet for processing {"connection_id":161027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e0"} 
[2026-08-22 15:20:58] local.INFO: GPS Element Parsed {"raw_longitude":756581248,"raw_latitude":119636192,"longitude_deg":75.6581248,"latitude_deg":11.9636192,"altitude":73,"angle":283,"satellites":41,"speed":37,"hex_longitude":"2d188380","hex_latitude":"072180e0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572400128001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14606634017882112,"note":"Value kept but may cause issues"} 
[2026-08-22 15:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776247871158630400,"note":"Value kept but may cause issues"} 
[2026-08-22 15:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787392198000,"timestamp_ms":1787392198000,"timestamp_seconds":1787392198,"priority":1,"record_length":96,"hex_timestamp":"000001a028e08570"} 
[2026-08-22 15: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-22 15:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 15:20:58] 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-22 15: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-22 15: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-22 15:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572400128001,"66":14157,"105":206,"83":41984,"24":37,"16":14606634017882112,"45":1776247871158630400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572400128001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:20:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:20:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14606634017882112,"km_value":14606634017882.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776247871158630400,"description":"Unknown IO ID 45"} 
[2026-08-22 15:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572400128001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1776247871158630400}} 
[2026-08-22 15:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":161027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:20:59] local.INFO: GPS data processed {"connection_id":161027,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:20:59] local.INFO: Acknowledgment sent {"connection_id":161027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:20:59] local.INFO: TCP Data received {"connection_id":161026,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:20:59] local.INFO: Processing buffer {"connection_id":161026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:20:59] local.INFO: IMEI packet received {"connection_id":161026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":161026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:21:00] local.INFO: TCP Data received {"connection_id":161026,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:21:00] local.INFO: Processing buffer {"connection_id":161026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:21:00] local.INFO: Packet analysis {"connection_id":161026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:21:00] local.INFO: Extracted packet for processing {"connection_id":161026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":11,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572312320001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:21:00] 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-22 15:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787392146000,"timestamp_ms":1787392146000,"timestamp_seconds":1787392146,"priority":1,"record_length":96,"hex_timestamp":"000001a028dfba50"} 
[2026-08-22 15: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-22 15:21: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-22 15: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:21: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-22 15: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-22 15: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-22 15:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572312320001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572312320001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:21:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:21:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572312320001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":161026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:21:00] local.INFO: GPS data processed {"connection_id":161026,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:21:00] local.INFO: Acknowledgment sent {"connection_id":161026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:21:04] local.INFO: TCP Data received {"connection_id":161026,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:21:04] local.INFO: Processing buffer {"connection_id":161026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:21:04] local.INFO: Packet analysis {"connection_id":161026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:21:04] local.INFO: Extracted packet for processing {"connection_id":161026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:21:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":11,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572312320001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:21:04] 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-22 15:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787392146000,"timestamp_ms":1787392146000,"timestamp_seconds":1787392146,"priority":1,"record_length":96,"hex_timestamp":"000001a028dfba50"} 
[2026-08-22 15: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-22 15:21: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-22 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:21: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-22 15: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-22 15: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-22 15:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572312320001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572312320001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:21:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:21:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572312320001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":161026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:21:04] local.INFO: GPS data processed {"connection_id":161026,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:21:04] local.INFO: Acknowledgment sent {"connection_id":161026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:21:30] local.INFO: TCP Data received {"connection_id":161027,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e08570012d188380072180e00049011b29..."} 
[2026-08-22 15:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e08570012d188380072180e00049011b29..."} 
[2026-08-22 15:21:30] local.INFO: Processing buffer {"connection_id":161027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e08570012d188380072180e00049011b29..."} 
[2026-08-22 15:21:30] local.INFO: Packet analysis {"connection_id":161027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e0"} 
[2026-08-22 15:21:30] local.INFO: Extracted packet for processing {"connection_id":161027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e0"} 
[2026-08-22 15:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756581248,"raw_latitude":119636192,"longitude_deg":75.6581248,"latitude_deg":11.9636192,"altitude":73,"angle":283,"satellites":41,"speed":37,"hex_longitude":"2d188380","hex_latitude":"072180e0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572402688001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14606634017882112,"note":"Value kept but may cause issues"} 
[2026-08-22 15:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766396246974586880,"note":"Value kept but may cause issues"} 
[2026-08-22 15:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787392198000,"timestamp_ms":1787392198000,"timestamp_seconds":1787392198,"priority":1,"record_length":96,"hex_timestamp":"000001a028e08570"} 
[2026-08-22 15: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-22 15:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 15:21:30] 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-22 15: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-22 15: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-22 15:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572402688001,"66":14157,"105":206,"83":41984,"24":37,"16":14606634017882112,"45":1766396246974586880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572402688001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:21:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14606634017882112,"km_value":14606634017882.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766396246974586880,"description":"Unknown IO ID 45"} 
[2026-08-22 15:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572402688001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1766396246974586880}} 
[2026-08-22 15:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":161027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:21:30] local.INFO: GPS data processed {"connection_id":161027,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:21:30] local.INFO: Acknowledgment sent {"connection_id":161027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:21:49] local.INFO: TCP Data received {"connection_id":162468,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:21:49] local.INFO: Processing buffer {"connection_id":162468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:21:49] local.INFO: IMEI packet received {"connection_id":162468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":162468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:21:53] local.INFO: TCP Data received {"connection_id":160109,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:21:53] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:21:53] local.INFO: IMEI packet received {"connection_id":160109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":160109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:21:54] local.INFO: TCP Data received {"connection_id":162468,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:21:54] local.INFO: Processing buffer {"connection_id":162468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:21:54] local.INFO: IMEI packet received {"connection_id":162468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":162468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:21:55] local.INFO: TCP Data received {"connection_id":162468,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:21:55] local.INFO: Processing buffer {"connection_id":162468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:21:55] local.INFO: Packet analysis {"connection_id":162468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:21:55] local.INFO: Extracted packet for processing {"connection_id":162468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:21:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":11,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572312320001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:21: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-22 15:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787392146000,"timestamp_ms":1787392146000,"timestamp_seconds":1787392146,"priority":1,"record_length":96,"hex_timestamp":"000001a028dfba50"} 
[2026-08-22 15: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-22 15:21: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-22 15: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:21: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-22 15: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-22 15: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-22 15:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572312320001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572312320001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:21:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:21:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572312320001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":162468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:21:55] local.INFO: GPS data processed {"connection_id":162468,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:21:55] local.INFO: Acknowledgment sent {"connection_id":162468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:21:58] local.INFO: TCP Data received {"connection_id":160109,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:21:58] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:21:58] local.INFO: IMEI packet received {"connection_id":160109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":160109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:22:03] local.INFO: TCP Data received {"connection_id":160109,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:22:03] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:22:03] local.INFO: IMEI packet received {"connection_id":160109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":160109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:22:04] local.INFO: TCP Data received {"connection_id":160109,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e16030012d1826400721b1200049004427..."} 
[2026-08-22 15:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e16030012d1826400721b1200049004427..."} 
[2026-08-22 15:22:04] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e16030012d1826400721b1200049004427..."} 
[2026-08-22 15:22:04] local.INFO: Packet analysis {"connection_id":160109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e1"} 
[2026-08-22 15:22:04] local.INFO: Extracted packet for processing {"connection_id":160109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e1"} 
[2026-08-22 15:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119648544,"longitude_deg":75.6557376,"latitude_deg":11.9648544,"altitude":73,"angle":68,"satellites":39,"speed":5,"hex_longitude":"2d182640","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572416768001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608163026239488,"note":"Value kept but may cause issues"} 
[2026-08-22 15:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655292416,"note":"Value kept but may cause issues"} 
[2026-08-22 15:22:04] local.INFO: IO Element Parsed {"io_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-22 15:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787392254000,"timestamp_ms":1787392254000,"timestamp_seconds":1787392254,"priority":1,"record_length":96,"hex_timestamp":"000001a028e16030"} 
[2026-08-22 15: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-22 15:22:04] 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-22 15: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-22 15:22:04] 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-22 15: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-22 15: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-22 15:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572416768001,"66":13200,"105":206,"83":41984,"24":5,"16":14608163026239488,"45":1740078336655292416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572416768001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:22:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:22:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608163026239488,"km_value":14608163026239.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655292416,"description":"Unknown IO ID 45"} 
[2026-08-22 15:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572416768001,"power":13200,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1740078336655292416}} 
[2026-08-22 15:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":160109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:22:04] local.INFO: GPS data processed {"connection_id":160109,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:22:04] local.INFO: Acknowledgment sent {"connection_id":160109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:22:08] local.INFO: TCP Data received {"connection_id":160109,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e16be8012d1828000721b200004a003328..."} 
[2026-08-22 15:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e16be8012d1828000721b200004a003328..."} 
[2026-08-22 15:22:08] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e16be8012d1828000721b200004a003328..."} 
[2026-08-22 15:22:08] local.INFO: Packet analysis {"connection_id":160109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e1"} 
[2026-08-22 15:22:08] local.INFO: Extracted packet for processing {"connection_id":160109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e1"} 
[2026-08-22 15:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756557824,"raw_latitude":119648768,"longitude_deg":75.6557824,"latitude_deg":11.9648768,"altitude":74,"angle":51,"satellites":40,"speed":6,"hex_longitude":"2d182800","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572417024001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608188796043264,"note":"Value kept but may cause issues"} 
[2026-08-22 15:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705399480320,"note":"Value kept but may cause issues"} 
[2026-08-22 15:22:08] local.INFO: IO Element Parsed {"io_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-22 15:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787392257000,"timestamp_ms":1787392257000,"timestamp_seconds":1787392257,"priority":1,"record_length":96,"hex_timestamp":"000001a028e16be8"} 
[2026-08-22 15: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-22 15: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-22 15: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-22 15:22: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-22 15: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-22 15: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-22 15:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572417024001,"66":13124,"105":206,"83":41984,"24":6,"16":14608188796043264,"45":1740148705399480320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572417024001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:22:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:22:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608188796043264,"km_value":14608188796043.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705399480320,"description":"Unknown IO ID 45"} 
[2026-08-22 15:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572417024001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1740148705399480320}} 
[2026-08-22 15:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":160109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:22:08] local.INFO: GPS data processed {"connection_id":160109,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:22:08] local.INFO: Acknowledgment sent {"connection_id":160109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:22:26] local.INFO: TCP Data received {"connection_id":162468,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:22:26] local.INFO: Processing buffer {"connection_id":162468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:22:26] local.INFO: Packet analysis {"connection_id":162468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:22:26] local.INFO: Extracted packet for processing {"connection_id":162468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:22:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":11,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572312320001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:22: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-22 15:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787392146000,"timestamp_ms":1787392146000,"timestamp_seconds":1787392146,"priority":1,"record_length":96,"hex_timestamp":"000001a028dfba50"} 
[2026-08-22 15: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-22 15: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-22 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 15: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-22 15: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-22 15:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572312320001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572312320001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:22:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572312320001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":162468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:22:26] local.INFO: GPS data processed {"connection_id":162468,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:22:26] local.INFO: Acknowledgment sent {"connection_id":162468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:22:48] local.INFO: TCP Data received {"connection_id":161028,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:22:48] local.INFO: Processing buffer {"connection_id":161028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:22:48] local.INFO: IMEI packet received {"connection_id":161028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":161028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:22:53] local.INFO: TCP Data received {"connection_id":161029,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:22:53] local.INFO: Processing buffer {"connection_id":161029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:22:53] local.INFO: IMEI packet received {"connection_id":161029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":161029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:22:54] local.INFO: TCP Data received {"connection_id":161028,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:22:54] local.INFO: Processing buffer {"connection_id":161028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:22:54] local.INFO: IMEI packet received {"connection_id":161028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":161028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:22:55] local.INFO: TCP Data received {"connection_id":161028,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:22:55] local.INFO: Processing buffer {"connection_id":161028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:22:55] local.INFO: Packet analysis {"connection_id":161028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:22:55] local.INFO: Extracted packet for processing {"connection_id":161028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:22:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":11,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572312320001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:22: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-22 15:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787392146000,"timestamp_ms":1787392146000,"timestamp_seconds":1787392146,"priority":1,"record_length":96,"hex_timestamp":"000001a028dfba50"} 
[2026-08-22 15: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-22 15: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-22 15: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:22: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-22 15: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-22 15: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-22 15:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572312320001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572312320001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:22:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:22:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572312320001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":161028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:22:55] local.INFO: GPS data processed {"connection_id":161028,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:22:55] local.INFO: Acknowledgment sent {"connection_id":161028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:22:57] local.INFO: TCP Data received {"connection_id":161029,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:22:57] local.INFO: Processing buffer {"connection_id":161029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:22:57] local.INFO: IMEI packet received {"connection_id":161029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":161029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:22:57] local.INFO: TCP Data received {"connection_id":161029,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e173b8012d1829000721b290004a005225..."} 
[2026-08-22 15:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e173b8012d1829000721b290004a005225..."} 
[2026-08-22 15:22:57] local.INFO: Processing buffer {"connection_id":161029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e173b8012d1829000721b290004a005225..."} 
[2026-08-22 15:22:57] local.INFO: Packet analysis {"connection_id":161029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e1"} 
[2026-08-22 15:22:57] local.INFO: Extracted packet for processing {"connection_id":161029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e1"} 
[2026-08-22 15:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119648912,"longitude_deg":75.655808,"latitude_deg":11.9648912,"altitude":74,"angle":82,"satellites":37,"speed":5,"hex_longitude":"2d182900","hex_latitude":"0721b290","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572417792001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608201680945152,"note":"Value kept but may cause issues"} 
[2026-08-22 15:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740641286608781312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787392259000,"timestamp_ms":1787392259000,"timestamp_seconds":1787392259,"priority":1,"record_length":96,"hex_timestamp":"000001a028e173b8"} 
[2026-08-22 15: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-22 15:22:57] 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-22 15: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-22 15:22:57] 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-22 15: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-22 15: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-22 15:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572417792001,"66":13156,"105":206,"83":41984,"24":5,"16":14608201680945152,"45":1740641286608781312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572417792001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:22:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608201680945152,"km_value":14608201680945.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740641286608781312,"description":"Unknown IO ID 45"} 
[2026-08-22 15:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572417792001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1740641286608781312}} 
[2026-08-22 15:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":161029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:22:57] local.INFO: GPS data processed {"connection_id":161029,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:22:57] local.INFO: Acknowledgment sent {"connection_id":161029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:23:26] local.INFO: TCP Data received {"connection_id":161028,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:23:26] local.INFO: Processing buffer {"connection_id":161028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:23:26] local.INFO: Packet analysis {"connection_id":161028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:23:26] local.INFO: Extracted packet for processing {"connection_id":161028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:23:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":11,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572312320001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:23: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-22 15:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787392146000,"timestamp_ms":1787392146000,"timestamp_seconds":1787392146,"priority":1,"record_length":96,"hex_timestamp":"000001a028dfba50"} 
[2026-08-22 15: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-22 15:23: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-22 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 15: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-22 15: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-22 15:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572312320001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572312320001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:23:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:23:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572312320001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":161028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:23:26] local.INFO: GPS data processed {"connection_id":161028,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:23:26] local.INFO: Acknowledgment sent {"connection_id":161028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:23:28] local.INFO: TCP Data received {"connection_id":161029,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e1b238012d1829800721b2b8004a011a22..."} 
[2026-08-22 15:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e1b238012d1829800721b2b8004a011a22..."} 
[2026-08-22 15:23:28] local.INFO: Processing buffer {"connection_id":161029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e1b238012d1829800721b2b8004a011a22..."} 
[2026-08-22 15:23:28] local.INFO: Packet analysis {"connection_id":161029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e1"} 
[2026-08-22 15:23:28] local.INFO: Extracted packet for processing {"connection_id":161029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e1"} 
[2026-08-22 15:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119648952,"longitude_deg":75.6558208,"latitude_deg":11.9648952,"altitude":74,"angle":282,"satellites":34,"speed":1,"hex_longitude":"2d182980","hex_latitude":"0721b2b8","is_valid_coordinates":true} 
[2026-08-22 15:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572418304001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608227450748928,"note":"Value kept but may cause issues"} 
[2026-08-22 15:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761585528832,"note":"Value kept but may cause issues"} 
[2026-08-22 15:23:28] local.INFO: IO Element Parsed {"io_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-22 15:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787392275000,"timestamp_ms":1787392275000,"timestamp_seconds":1787392275,"priority":1,"record_length":96,"hex_timestamp":"000001a028e1b238"} 
[2026-08-22 15:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-22 15:23:28] 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-22 15:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572418304001,"66":13156,"105":206,"83":41984,"24":1,"16":14608227450748928,"45":1740922761585528832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572418304001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:23:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:23:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608227450748928,"km_value":14608227450748.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761585528832,"description":"Unknown IO ID 45"} 
[2026-08-22 15:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572418304001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1740922761585528832}} 
[2026-08-22 15:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":161029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:23:29] local.INFO: GPS data processed {"connection_id":161029,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:23:29] local.INFO: Acknowledgment sent {"connection_id":161029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:23:50] local.INFO: TCP Data received {"connection_id":160110,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:23:50] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:23:50] local.INFO: IMEI packet received {"connection_id":160110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":160110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:23:53] local.INFO: TCP Data received {"connection_id":160110,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:23:53] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:23:53] local.INFO: IMEI packet received {"connection_id":160110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":160110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:23:54] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:23:54] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:23:54] local.INFO: IMEI packet received {"connection_id":159862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":159862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:23:58] local.INFO: TCP Data received {"connection_id":160110,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:23:58] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:23:58] local.INFO: IMEI packet received {"connection_id":160110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":160110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:23:58] local.INFO: TCP Data received {"connection_id":160110,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e1b620012d1829800721b2c0004a013d20..."} 
[2026-08-22 15:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e1b620012d1829800721b2c0004a013d20..."} 
[2026-08-22 15:23:58] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e1b620012d1829800721b2c0004a013d20..."} 
[2026-08-22 15:23:58] local.INFO: Packet analysis {"connection_id":160110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e1"} 
[2026-08-22 15:23:58] local.INFO: Extracted packet for processing {"connection_id":160110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e1"} 
[2026-08-22 15:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119648960,"longitude_deg":75.6558208,"latitude_deg":11.964896,"altitude":74,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d182980","hex_latitude":"0721b2c0","is_valid_coordinates":true} 
[2026-08-22 15:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572422400001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608227450748928,"note":"Value kept but may cause issues"} 
[2026-08-22 15:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499073894400,"note":"Value kept but may cause issues"} 
[2026-08-22 15:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787392276000,"timestamp_ms":1787392276000,"timestamp_seconds":1787392276,"priority":1,"record_length":96,"hex_timestamp":"000001a028e1b620"} 
[2026-08-22 15:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-22 15:23:58] 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-22 15:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572422400001,"66":13102,"105":206,"83":41984,"24":0,"16":14608227450748928,"45":1741063499073894400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572422400001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:23:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608227450748928,"km_value":14608227450748.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499073894400,"description":"Unknown IO ID 45"} 
[2026-08-22 15:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572422400001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741063499073894400}} 
[2026-08-22 15:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":160110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:23:58] local.INFO: GPS data processed {"connection_id":160110,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:23:58] local.INFO: Acknowledgment sent {"connection_id":160110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:23:59] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:23:59] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:23:59] local.INFO: IMEI packet received {"connection_id":159862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":159862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:24:00] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:24:00] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:24:00] local.INFO: Packet analysis {"connection_id":159862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:24:00] local.INFO: Extracted packet for processing {"connection_id":159862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":11,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572312320001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:24:00] 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-22 15:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787392146000,"timestamp_ms":1787392146000,"timestamp_seconds":1787392146,"priority":1,"record_length":96,"hex_timestamp":"000001a028dfba50"} 
[2026-08-22 15: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-22 15:24: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-22 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:24: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-22 15: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-22 15: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-22 15:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572312320001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572312320001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:24:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572312320001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":159862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:24:00] local.INFO: GPS data processed {"connection_id":159862,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:24:00] local.INFO: Acknowledgment sent {"connection_id":159862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:24:04] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:24:04] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028dfba50012d7fabc005afdd80000b001a26..."} 
[2026-08-22 15:24:04] local.INFO: Packet analysis {"connection_id":159862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:24:04] local.INFO: Extracted packet for processing {"connection_id":159862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028df"} 
[2026-08-22 15:24:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":11,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572312320001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:24:04] 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-22 15:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787392146000,"timestamp_ms":1787392146000,"timestamp_seconds":1787392146,"priority":1,"record_length":96,"hex_timestamp":"000001a028dfba50"} 
[2026-08-22 15: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-22 15: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-22 15: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:24: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-22 15: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-22 15: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-22 15:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572312320001,"66":25702,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572312320001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:24:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:24:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572312320001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":159862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:24:04] local.INFO: GPS data processed {"connection_id":159862,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:24:04] local.INFO: Acknowledgment sent {"connection_id":159862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:24:30] local.INFO: TCP Data received {"connection_id":160110,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e20828012d1829400721b2c0004a01331f..."} 
[2026-08-22 15:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e20828012d1829400721b2c0004a01331f..."} 
[2026-08-22 15:24:30] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e20828012d1829400721b2c0004a01331f..."} 
[2026-08-22 15:24:30] local.INFO: Packet analysis {"connection_id":160110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e2"} 
[2026-08-22 15:24:30] local.INFO: Extracted packet for processing {"connection_id":160110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e2"} 
[2026-08-22 15:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119648960,"longitude_deg":75.6558144,"latitude_deg":11.964896,"altitude":74,"angle":307,"satellites":31,"speed":0,"hex_longitude":"2d182940","hex_latitude":"0721b2c0","is_valid_coordinates":true} 
[2026-08-22 15:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572422656001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608231745716224,"note":"Value kept but may cause issues"} 
[2026-08-22 15:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499073896448,"note":"Value kept but may cause issues"} 
[2026-08-22 15:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787392297000,"timestamp_ms":1787392297000,"timestamp_seconds":1787392297,"priority":1,"record_length":96,"hex_timestamp":"000001a028e20828"} 
[2026-08-22 15:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:24: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-22 15:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 15:24:30] 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-22 15: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-22 15:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572422656001,"66":13135,"105":206,"83":41984,"24":0,"16":14608231745716224,"45":1741063499073896448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572422656001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:24:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608231745716224,"km_value":14608231745716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499073896448,"description":"Unknown IO ID 45"} 
[2026-08-22 15:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572422656001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741063499073896448}} 
[2026-08-22 15:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":160110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:24:30] local.INFO: GPS data processed {"connection_id":160110,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:24:30] local.INFO: Acknowledgment sent {"connection_id":160110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:24:49] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:24:49] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:24:49] local.INFO: IMEI packet received {"connection_id":159863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":159863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:24:53] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:24:53] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:24:53] local.INFO: IMEI packet received {"connection_id":159864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":159864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:24:53] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:24:53] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:24:53] local.INFO: IMEI packet received {"connection_id":159864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":159864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:24:54] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:24:54] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:24:54] local.INFO: IMEI packet received {"connection_id":159863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":159863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:24:55] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:24:55] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:24:55] local.INFO: Packet analysis {"connection_id":159863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:24:55] local.INFO: Extracted packet for processing {"connection_id":159863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":9,"angle":26,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572389376001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:24: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-22 15:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787392447000,"timestamp_ms":1787392447000,"timestamp_seconds":1787392447,"priority":1,"record_length":96,"hex_timestamp":"000001a028e45218"} 
[2026-08-22 15:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:24: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-22 15:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:24: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-22 15:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572389376001,"66":25680,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572389376001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:24:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572389376001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":159863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:24:55] local.INFO: GPS data processed {"connection_id":159863,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:24:55] local.INFO: Acknowledgment sent {"connection_id":159863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:24:58] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:24:58] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:24:58] local.INFO: IMEI packet received {"connection_id":159864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":159864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:24:58] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e25a30012d1829400721b2c0004a01331e..."} 
[2026-08-22 15:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e25a30012d1829400721b2c0004a01331e..."} 
[2026-08-22 15:24:58] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e25a30012d1829400721b2c0004a01331e..."} 
[2026-08-22 15:24:58] local.INFO: Packet analysis {"connection_id":159864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e2"} 
[2026-08-22 15:24:58] local.INFO: Extracted packet for processing {"connection_id":159864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e2"} 
[2026-08-22 15:24:58] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119648960,"longitude_deg":75.6558144,"latitude_deg":11.964896,"altitude":74,"angle":307,"satellites":30,"speed":0,"hex_longitude":"2d182940","hex_latitude":"0721b2c0","is_valid_coordinates":true} 
[2026-08-22 15:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572428032001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608231745716224,"note":"Value kept but may cause issues"} 
[2026-08-22 15:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130329718784,"note":"Value kept but may cause issues"} 
[2026-08-22 15:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787392318000,"timestamp_ms":1787392318000,"timestamp_seconds":1787392318,"priority":1,"record_length":96,"hex_timestamp":"000001a028e25a30"} 
[2026-08-22 15:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-22 15:24:58] 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-22 15:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572428032001,"66":13059,"105":206,"83":41984,"24":0,"16":14608231745716224,"45":1740993130329718784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572428032001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:24:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608231745716224,"km_value":14608231745716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130329718784,"description":"Unknown IO ID 45"} 
[2026-08-22 15:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572428032001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740993130329718784}} 
[2026-08-22 15:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":159864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:24:58] local.INFO: GPS data processed {"connection_id":159864,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:24:58] local.INFO: Acknowledgment sent {"connection_id":159864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:25:26] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:25:26] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:25:26] local.INFO: Packet analysis {"connection_id":159863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:25:26] local.INFO: Extracted packet for processing {"connection_id":159863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":9,"angle":26,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 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-22 15:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572389376001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25: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-22 15:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787392447000,"timestamp_ms":1787392447000,"timestamp_seconds":1787392447,"priority":1,"record_length":96,"hex_timestamp":"000001a028e45218"} 
[2026-08-22 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-22 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-22 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 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-22 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-22 15:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572389376001,"66":25680,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572389376001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:25:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572389376001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":159863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:25:26] local.INFO: GPS data processed {"connection_id":159863,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:25:26] local.INFO: Acknowledgment sent {"connection_id":159863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:25:29] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e2ac38012d1829400721b2c0004a013321..."} 
[2026-08-22 15:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e2ac38012d1829400721b2c0004a013321..."} 
[2026-08-22 15:25:29] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e2ac38012d1829400721b2c0004a013321..."} 
[2026-08-22 15:25:29] local.INFO: Packet analysis {"connection_id":159864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e2"} 
[2026-08-22 15:25:29] local.INFO: Extracted packet for processing {"connection_id":159864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e2"} 
[2026-08-22 15:25:29] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119648960,"longitude_deg":75.6558144,"latitude_deg":11.964896,"altitude":74,"angle":307,"satellites":33,"speed":0,"hex_longitude":"2d182940","hex_latitude":"0721b2c0","is_valid_coordinates":true} 
[2026-08-22 15:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572433408001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608231745716224,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130329718784,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787392339000,"timestamp_ms":1787392339000,"timestamp_seconds":1787392339,"priority":1,"record_length":96,"hex_timestamp":"000001a028e2ac38"} 
[2026-08-22 15:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:25: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-22 15:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-22 15:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165378448746,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:29] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709957,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:29] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2995781706,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 15:25:29] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:29] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3859939328,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:29] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,230,160,8,45,64,178,74,31,10,66,182,128,32,1,240,100,227,40,33,4,113,205,5,107,239,51,2,7,73],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 15:25:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332599637725413376,"timestamp_seconds":5332599637725413.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 15:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572433408001,"66":13048,"105":206,"83":41984,"24":0,"16":14608231745716224,"45":1740993130329718784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572433408001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:25:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:25:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608231745716224,"km_value":14608231745716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130329718784,"description":"Unknown IO ID 45"} 
[2026-08-22 15:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572433408001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740993130329718784}} 
[2026-08-22 15:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":159864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:25:30] local.INFO: GPS data processed {"connection_id":159864,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:25:30] local.INFO: Acknowledgment sent {"connection_id":159864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:25:48] local.INFO: TCP Data received {"connection_id":160111,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:25:48] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:25:48] local.INFO: IMEI packet received {"connection_id":160111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":160111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:25:52] local.INFO: TCP Data received {"connection_id":162469,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:25:52] local.INFO: Processing buffer {"connection_id":162469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:25:52] local.INFO: IMEI packet received {"connection_id":162469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":162469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:25:53] local.INFO: TCP Data received {"connection_id":160111,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:25:53] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:25:53] local.INFO: IMEI packet received {"connection_id":160111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":160111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:25:54] local.INFO: TCP Data received {"connection_id":160111,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:25:54] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:25:54] local.INFO: Packet analysis {"connection_id":160111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:25:54] local.INFO: Extracted packet for processing {"connection_id":160111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":9,"angle":26,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572389376001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:54] 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-22 15:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787392447000,"timestamp_ms":1787392447000,"timestamp_seconds":1787392447,"priority":1,"record_length":96,"hex_timestamp":"000001a028e45218"} 
[2026-08-22 15:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 15:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:25: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-22 15:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572389376001,"66":25680,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572389376001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:25:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:25:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572389376001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":160111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:25:54] local.INFO: GPS data processed {"connection_id":160111,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:25:54] local.INFO: Acknowledgment sent {"connection_id":160111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:25:57] local.INFO: TCP Data received {"connection_id":162469,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:25:57] local.INFO: Processing buffer {"connection_id":162469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:25:57] local.INFO: IMEI packet received {"connection_id":162469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":162469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:25:57] local.INFO: TCP Data received {"connection_id":162469,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:25:57] local.INFO: Processing buffer {"connection_id":162469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:25:57] local.INFO: IMEI packet received {"connection_id":162469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":162469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:25:58] local.INFO: TCP Data received {"connection_id":162469,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e2db18012d1826000721b460004a012524..."} 
[2026-08-22 15:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e2db18012d1826000721b460004a012524..."} 
[2026-08-22 15:25:58] local.INFO: Processing buffer {"connection_id":162469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e2db18012d1826000721b460004a012524..."} 
[2026-08-22 15:25:58] local.INFO: Packet analysis {"connection_id":162469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e2"} 
[2026-08-22 15:25:58] local.INFO: Extracted packet for processing {"connection_id":162469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e2"} 
[2026-08-22 15:25:58] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119649376,"longitude_deg":75.6557312,"latitude_deg":11.9649376,"altitude":74,"angle":293,"satellites":36,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572438784001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608274695389184,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130329718784,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787392351000,"timestamp_ms":1787392351000,"timestamp_seconds":1787392351,"priority":1,"record_length":96,"hex_timestamp":"000001a028e2db18"} 
[2026-08-22 15: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-22 15:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-22 15:25:58] 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-22 15: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-22 15: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-22 15:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572438784001,"66":13091,"105":206,"83":41984,"24":0,"16":14608274695389184,"45":1740993130329718784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572438784001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:25:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:25:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608274695389184,"km_value":14608274695389.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130329718784,"description":"Unknown IO ID 45"} 
[2026-08-22 15:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572438784001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740993130329718784}} 
[2026-08-22 15:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":162469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:25:58] local.INFO: GPS data processed {"connection_id":162469,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:25:58] local.INFO: Acknowledgment sent {"connection_id":162469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:25:59] local.INFO: TCP Data received {"connection_id":160111,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:25:59] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:25:59] local.INFO: Packet analysis {"connection_id":160111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:25:59] local.INFO: Extracted packet for processing {"connection_id":160111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:25:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":9,"angle":26,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572389376001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:25:59] 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-22 15:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787392447000,"timestamp_ms":1787392447000,"timestamp_seconds":1787392447,"priority":1,"record_length":96,"hex_timestamp":"000001a028e45218"} 
[2026-08-22 15: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-22 15: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-22 15: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-22 15: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-22 15: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-22 15: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-22 15:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572389376001,"66":25680,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572389376001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:25:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:25:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572389376001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":160111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:25:59] local.INFO: GPS data processed {"connection_id":160111,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:25:59] local.INFO: Acknowledgment sent {"connection_id":160111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:26:03] local.INFO: TCP Data received {"connection_id":162469,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e32938012d1826000721b478004a012524..."} 
[2026-08-22 15:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e32938012d1826000721b478004a012524..."} 
[2026-08-22 15:26:03] local.INFO: Processing buffer {"connection_id":162469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e32938012d1826000721b478004a012524..."} 
[2026-08-22 15:26:03] local.INFO: Packet analysis {"connection_id":162469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e3"} 
[2026-08-22 15:26:03] local.INFO: Extracted packet for processing {"connection_id":162469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e3"} 
[2026-08-22 15:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119649400,"longitude_deg":75.6557312,"latitude_deg":11.96494,"altitude":74,"angle":293,"satellites":36,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b478","is_valid_coordinates":true} 
[2026-08-22 15:26: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-22 15:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572441856001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608278990356480,"note":"Value kept but may cause issues"} 
[2026-08-22 15:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655515648,"note":"Value kept but may cause issues"} 
[2026-08-22 15:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787392371000,"timestamp_ms":1787392371000,"timestamp_seconds":1787392371,"priority":1,"record_length":96,"hex_timestamp":"000001a028e32938"} 
[2026-08-22 15:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-22 15:26:03] 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-22 15:26: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-22 15:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572441856001,"66":13015,"105":206,"83":41984,"24":0,"16":14608278990356480,"45":1740078336655515648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572441856001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:26:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608278990356480,"km_value":14608278990356.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655515648,"description":"Unknown IO ID 45"} 
[2026-08-22 15:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572441856001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655515648}} 
[2026-08-22 15:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":162469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:26:03] local.INFO: GPS data processed {"connection_id":162469,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:26:03] local.INFO: Acknowledgment sent {"connection_id":162469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:26:30] local.INFO: TCP Data received {"connection_id":160111,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:26:30] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:26:30] local.INFO: Packet analysis {"connection_id":160111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:26:30] local.INFO: Extracted packet for processing {"connection_id":160111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":9,"angle":26,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 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-22 15:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572389376001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:26:30] 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-22 15:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787392447000,"timestamp_ms":1787392447000,"timestamp_seconds":1787392447,"priority":1,"record_length":96,"hex_timestamp":"000001a028e45218"} 
[2026-08-22 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-22 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-22 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 15: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-22 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-22 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-22 15:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572389376001,"66":25680,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572389376001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:26:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:26:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572389376001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":160111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:26:30] local.INFO: GPS data processed {"connection_id":160111,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:26:30] local.INFO: Acknowledgment sent {"connection_id":160111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:26:34] local.INFO: TCP Data received {"connection_id":162469,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e5ec40012d1825c00721b138004b013128..."} 
[2026-08-22 15:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e5ec40012d1825c00721b138004b013128..."} 
[2026-08-22 15:26:34] local.INFO: Processing buffer {"connection_id":162469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e5ec40012d1825c00721b138004b013128..."} 
[2026-08-22 15:26:34] local.INFO: Packet analysis {"connection_id":162469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e5"} 
[2026-08-22 15:26:34] local.INFO: Extracted packet for processing {"connection_id":162469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e5"} 
[2026-08-22 15:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119648568,"longitude_deg":75.6557248,"latitude_deg":11.9648568,"altitude":75,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-08-22 15:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572492544001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608360594735104,"note":"Value kept but may cause issues"} 
[2026-08-22 15:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599166965760,"note":"Value kept but may cause issues"} 
[2026-08-22 15:26: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-22 15:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787392552000,"timestamp_ms":1787392552000,"timestamp_seconds":1787392552,"priority":1,"record_length":96,"hex_timestamp":"000001a028e5ec40"} 
[2026-08-22 15:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:26:34] 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-22 15:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 15:26:34] 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-22 15:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572492544001,"66":13004,"105":206,"83":41984,"24":0,"16":14608360594735104,"45":1739937599166965760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572492544001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:26:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608360594735104,"km_value":14608360594735.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599166965760,"description":"Unknown IO ID 45"} 
[2026-08-22 15:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572492544001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599166965760}} 
[2026-08-22 15:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":162469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:26:34] local.INFO: GPS data processed {"connection_id":162469,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:26:34] local.INFO: Acknowledgment sent {"connection_id":162469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:26:48] local.INFO: TCP Data received {"connection_id":162470,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:26:48] local.INFO: Processing buffer {"connection_id":162470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:26:48] local.INFO: IMEI packet received {"connection_id":162470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":162470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:26:52] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:26:52] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:26:52] local.INFO: IMEI packet received {"connection_id":159865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":159865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:26:53] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:26:53] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:26:53] local.INFO: IMEI packet received {"connection_id":159865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":159865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:26:53] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:26:53] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:26:53] local.INFO: IMEI packet received {"connection_id":159865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":159865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:26:54] local.INFO: TCP Data received {"connection_id":162470,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:26:54] local.INFO: Processing buffer {"connection_id":162470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:26:54] local.INFO: IMEI packet received {"connection_id":162470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":162470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:26:55] local.INFO: TCP Data received {"connection_id":162470,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:26:55] local.INFO: Processing buffer {"connection_id":162470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:26:55] local.INFO: Packet analysis {"connection_id":162470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:26:55] local.INFO: Extracted packet for processing {"connection_id":162470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:26:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":9,"angle":26,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572389376001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:26: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-22 15:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787392447000,"timestamp_ms":1787392447000,"timestamp_seconds":1787392447,"priority":1,"record_length":96,"hex_timestamp":"000001a028e45218"} 
[2026-08-22 15:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:26: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-22 15:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:26: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-22 15:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572389376001,"66":25680,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572389376001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:26:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:26:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572389376001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":162470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:26:55] local.INFO: GPS data processed {"connection_id":162470,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:26:55] local.INFO: Acknowledgment sent {"connection_id":162470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:26:57] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:26:57] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:26:57] local.INFO: IMEI packet received {"connection_id":159865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":159865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:26:58] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e62ea8012d1826000721b860004d01112e..."} 
[2026-08-22 15:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e62ea8012d1826000721b860004d01112e..."} 
[2026-08-22 15:26:58] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e62ea8012d1826000721b860004d01112e..."} 
[2026-08-22 15:26:58] local.INFO: Packet analysis {"connection_id":159865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e6"} 
[2026-08-22 15:26:58] local.INFO: Extracted packet for processing {"connection_id":159865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e6"} 
[2026-08-22 15:26:58] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650400,"longitude_deg":75.6557312,"latitude_deg":11.96504,"altitude":77,"angle":273,"satellites":46,"speed":4,"hex_longitude":"2d182600","hex_latitude":"0721b860","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572497408001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608476558852096,"note":"Value kept but may cause issues"} 
[2026-08-22 15:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705399951360,"note":"Value kept but may cause issues"} 
[2026-08-22 15:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787392569000,"timestamp_ms":1787392569000,"timestamp_seconds":1787392569,"priority":1,"record_length":96,"hex_timestamp":"000001a028e62ea8"} 
[2026-08-22 15: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-22 15:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 15:26:58] 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-22 15: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-22 15: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-22 15:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572497408001,"66":13015,"105":206,"83":41984,"24":4,"16":14608476558852096,"45":1740148705399951360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572497408001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:26:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608476558852096,"km_value":14608476558852.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705399951360,"description":"Unknown IO ID 45"} 
[2026-08-22 15:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572497408001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1740148705399951360}} 
[2026-08-22 15:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":159865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:26:58] local.INFO: GPS data processed {"connection_id":159865,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:26:58] local.INFO: Acknowledgment sent {"connection_id":159865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:27:26] local.INFO: TCP Data received {"connection_id":162470,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:27:26] local.INFO: Processing buffer {"connection_id":162470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:27:26] local.INFO: Packet analysis {"connection_id":162470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:27:26] local.INFO: Extracted packet for processing {"connection_id":162470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:27:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":9,"angle":26,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572389376001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:27: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-22 15:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787392447000,"timestamp_ms":1787392447000,"timestamp_seconds":1787392447,"priority":1,"record_length":96,"hex_timestamp":"000001a028e45218"} 
[2026-08-22 15: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-22 15:27: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-22 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 15: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-22 15: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-22 15:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572389376001,"66":25680,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572389376001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:27:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:27:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572389376001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":162470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:27:26] local.INFO: GPS data processed {"connection_id":162470,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:27:26] local.INFO: Acknowledgment sent {"connection_id":162470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:27:29] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e63678012d1825800721b858004d01012e..."} 
[2026-08-22 15:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e63678012d1825800721b858004d01012e..."} 
[2026-08-22 15:27:29] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e63678012d1825800721b858004d01012e..."} 
[2026-08-22 15:27:29] local.INFO: Packet analysis {"connection_id":159865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e6"} 
[2026-08-22 15:27:29] local.INFO: Extracted packet for processing {"connection_id":159865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e6"} 
[2026-08-22 15:27:29] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650392,"longitude_deg":75.6557184,"latitude_deg":11.9650392,"altitude":77,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b858","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572497664001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608485148786688,"note":"Value kept but may cause issues"} 
[2026-08-22 15:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655777792,"note":"Value kept but may cause issues"} 
[2026-08-22 15:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787392571000,"timestamp_ms":1787392571000,"timestamp_seconds":1787392571,"priority":1,"record_length":96,"hex_timestamp":"000001a028e63678"} 
[2026-08-22 15: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-22 15:27: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-22 15: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 15:27:29] 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-22 15: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-22 15: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-22 15:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572497664001,"66":12961,"105":206,"83":41984,"24":0,"16":14608485148786688,"45":1740078336655777792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572497664001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:27:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:27:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608485148786688,"km_value":14608485148786.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655777792,"description":"Unknown IO ID 45"} 
[2026-08-22 15:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572497664001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655777792}} 
[2026-08-22 15:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":159865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:27:29] local.INFO: GPS data processed {"connection_id":159865,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:27:29] local.INFO: Acknowledgment sent {"connection_id":159865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:27:48] local.INFO: TCP Data received {"connection_id":161030,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:27:48] local.INFO: Processing buffer {"connection_id":161030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:27:48] local.INFO: IMEI packet received {"connection_id":161030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":161030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:27:54] local.INFO: TCP Data received {"connection_id":161030,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:27:54] local.INFO: Processing buffer {"connection_id":161030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:27:54] local.INFO: IMEI packet received {"connection_id":161030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":161030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:27:55] local.INFO: TCP Data received {"connection_id":161030,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:27:55] local.INFO: Processing buffer {"connection_id":161030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:27:55] local.INFO: Packet analysis {"connection_id":161030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:27:55] local.INFO: Extracted packet for processing {"connection_id":161030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":9,"angle":26,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572389376001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:27: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-22 15:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787392447000,"timestamp_ms":1787392447000,"timestamp_seconds":1787392447,"priority":1,"record_length":96,"hex_timestamp":"000001a028e45218"} 
[2026-08-22 15:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15: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-22 15:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:27: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-22 15:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572389376001,"66":25680,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572389376001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:27:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:27:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572389376001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":161030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:27:55] local.INFO: GPS data processed {"connection_id":161030,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:27:55] local.INFO: Acknowledgment sent {"connection_id":161030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:27:58] local.INFO: TCP Data received {"connection_id":159866,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:27:58] local.INFO: Processing buffer {"connection_id":159866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:27:58] local.INFO: IMEI packet received {"connection_id":159866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":159866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:27:58] local.INFO: TCP Data received {"connection_id":159866,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:27:58] local.INFO: Processing buffer {"connection_id":159866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:27:58] local.INFO: IMEI packet received {"connection_id":159866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":159866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:28:03] local.INFO: TCP Data received {"connection_id":159866,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:28:03] local.INFO: Processing buffer {"connection_id":159866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:28:03] local.INFO: IMEI packet received {"connection_id":159866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":159866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:28:03] local.INFO: TCP Data received {"connection_id":159866,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e63a60012d1825800721b848004d00f12e..."} 
[2026-08-22 15:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e63a60012d1825800721b848004d00f12e..."} 
[2026-08-22 15:28:03] local.INFO: Processing buffer {"connection_id":159866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e63a60012d1825800721b848004d00f12e..."} 
[2026-08-22 15:28:03] local.INFO: Packet analysis {"connection_id":159866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e6"} 
[2026-08-22 15:28:03] local.INFO: Extracted packet for processing {"connection_id":159866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e6"} 
[2026-08-22 15:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650376,"longitude_deg":75.6557184,"latitude_deg":11.9650376,"altitude":77,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b848","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572498176001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608485148786688,"note":"Value kept but may cause issues"} 
[2026-08-22 15:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167420416,"note":"Value kept but may cause issues"} 
[2026-08-22 15:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787392572000,"timestamp_ms":1787392572000,"timestamp_seconds":1787392572,"priority":1,"record_length":96,"hex_timestamp":"000001a028e63a60"} 
[2026-08-22 15: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-22 15:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-22 15:28:03] 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-22 15: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-22 15: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-22 15:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572498176001,"66":12885,"105":206,"83":41984,"24":0,"16":14608485148786688,"45":1739937599167420416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572498176001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:28:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608485148786688,"km_value":14608485148786.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167420416,"description":"Unknown IO ID 45"} 
[2026-08-22 15:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572498176001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167420416}} 
[2026-08-22 15:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":159866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:28:03] local.INFO: GPS data processed {"connection_id":159866,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:28:03] local.INFO: Acknowledgment sent {"connection_id":159866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:28:08] local.INFO: TCP Data received {"connection_id":159866,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e64618012d1824000721b770004e00e02e..."} 
[2026-08-22 15:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e64618012d1824000721b770004e00e02e..."} 
[2026-08-22 15:28:08] local.INFO: Processing buffer {"connection_id":159866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e64618012d1824000721b770004e00e02e..."} 
[2026-08-22 15:28:08] local.INFO: Packet analysis {"connection_id":159866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e6"} 
[2026-08-22 15:28:08] local.INFO: Extracted packet for processing {"connection_id":159866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e6"} 
[2026-08-22 15:28:08] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650160,"longitude_deg":75.65568,"latitude_deg":11.965016,"altitude":78,"angle":224,"satellites":46,"speed":8,"hex_longitude":"2d182400","hex_latitude":"0721b770","is_valid_coordinates":true} 
[2026-08-22 15:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572498432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608506623623168,"note":"Value kept but may cause issues"} 
[2026-08-22 15:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167416320,"note":"Value kept but may cause issues"} 
[2026-08-22 15:28:08] local.INFO: IO Element Parsed {"io_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-22 15:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787392575000,"timestamp_ms":1787392575000,"timestamp_seconds":1787392575,"priority":1,"record_length":96,"hex_timestamp":"000001a028e64618"} 
[2026-08-22 15:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:28: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-22 15:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 15:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572498432001,"66":12993,"105":206,"83":41984,"24":8,"16":14608506623623168,"45":1739937599167416320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572498432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:28:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:28:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608506623623168,"km_value":14608506623623.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167416320,"description":"Unknown IO ID 45"} 
[2026-08-22 15:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572498432001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739937599167416320}} 
[2026-08-22 15:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":159866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:28:08] local.INFO: GPS data processed {"connection_id":159866,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:28:08] local.INFO: Acknowledgment sent {"connection_id":159866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:28:26] local.INFO: TCP Data received {"connection_id":161030,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:28:26] local.INFO: Processing buffer {"connection_id":161030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:28:26] local.INFO: Packet analysis {"connection_id":161030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:28:26] local.INFO: Extracted packet for processing {"connection_id":161030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:28:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":9,"angle":26,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572389376001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:28: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-22 15:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787392447000,"timestamp_ms":1787392447000,"timestamp_seconds":1787392447,"priority":1,"record_length":96,"hex_timestamp":"000001a028e45218"} 
[2026-08-22 15: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-22 15: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-22 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 15: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-22 15: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-22 15:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572389376001,"66":25680,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572389376001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:28:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:28:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572389376001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":161030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:28:26] local.INFO: GPS data processed {"connection_id":161030,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:28:26] local.INFO: Acknowledgment sent {"connection_id":161030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:28:48] local.INFO: TCP Data received {"connection_id":160112,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:28:48] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:28:48] local.INFO: IMEI packet received {"connection_id":160112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":160112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:28:53] local.INFO: TCP Data received {"connection_id":159867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:28:53] local.INFO: Processing buffer {"connection_id":159867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:28:53] local.INFO: IMEI packet received {"connection_id":159867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":159867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:28:54] local.INFO: TCP Data received {"connection_id":160112,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:28:54] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:28:54] local.INFO: IMEI packet received {"connection_id":160112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":160112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:28:55] local.INFO: TCP Data received {"connection_id":160112,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:28:55] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:28:55] local.INFO: Packet analysis {"connection_id":160112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:28:55] local.INFO: Extracted packet for processing {"connection_id":160112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":9,"angle":26,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572389376001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:28: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-22 15:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787392447000,"timestamp_ms":1787392447000,"timestamp_seconds":1787392447,"priority":1,"record_length":96,"hex_timestamp":"000001a028e45218"} 
[2026-08-22 15:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:28: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-22 15:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:28: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-22 15:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572389376001,"66":25680,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572389376001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:28:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:28:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572389376001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":160112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:28:55] local.INFO: GPS data processed {"connection_id":160112,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:28:55] local.INFO: Acknowledgment sent {"connection_id":160112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:28:58] local.INFO: TCP Data received {"connection_id":159867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:28:58] local.INFO: Processing buffer {"connection_id":159867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:28:58] local.INFO: IMEI packet received {"connection_id":159867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":159867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:28:58] local.INFO: TCP Data received {"connection_id":159867,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e64a00012d1823800721b6e8004e00c42e..."} 
[2026-08-22 15:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e64a00012d1823800721b6e8004e00c42e..."} 
[2026-08-22 15:28:58] local.INFO: Processing buffer {"connection_id":159867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e64a00012d1823800721b6e8004e00c42e..."} 
[2026-08-22 15:28:58] local.INFO: Packet analysis {"connection_id":159867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e6"} 
[2026-08-22 15:28:58] local.INFO: Extracted packet for processing {"connection_id":159867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e6"} 
[2026-08-22 15:28:58] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650024,"longitude_deg":75.6556672,"latitude_deg":11.9650024,"altitude":78,"angle":196,"satellites":46,"speed":5,"hex_longitude":"2d182380","hex_latitude":"0721b6e8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572499200001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608515213557760,"note":"Value kept but may cause issues"} 
[2026-08-22 15:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702295040,"note":"Value kept but may cause issues"} 
[2026-08-22 15:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787392576000,"timestamp_ms":1787392576000,"timestamp_seconds":1787392576,"priority":1,"record_length":96,"hex_timestamp":"000001a028e64a00"} 
[2026-08-22 15: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-22 15:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-22 15:28:58] 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-22 15: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-22 15: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-22 15:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572499200001,"66":12961,"105":206,"83":41984,"24":5,"16":14608515213557760,"45":1739515386702295040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572499200001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:28:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608515213557760,"km_value":14608515213557.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702295040,"description":"Unknown IO ID 45"} 
[2026-08-22 15:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572499200001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739515386702295040}} 
[2026-08-22 15:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":159867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:28:58] local.INFO: GPS data processed {"connection_id":159867,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:28:58] local.INFO: Acknowledgment sent {"connection_id":159867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:29:26] local.INFO: TCP Data received {"connection_id":160112,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:29:26] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e45218012d7fabc005afdd800009001a28..."} 
[2026-08-22 15:29:26] local.INFO: Packet analysis {"connection_id":160112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:29:26] local.INFO: Extracted packet for processing {"connection_id":160112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e4"} 
[2026-08-22 15:29:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":9,"angle":26,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572389376001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:29: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-22 15:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787392447000,"timestamp_ms":1787392447000,"timestamp_seconds":1787392447,"priority":1,"record_length":96,"hex_timestamp":"000001a028e45218"} 
[2026-08-22 15:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15: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-22 15:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 15:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 15:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572389376001,"66":25680,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572389376001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:29:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:29:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572389376001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":160112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:29:26] local.INFO: GPS data processed {"connection_id":160112,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:29:26] local.INFO: Acknowledgment sent {"connection_id":160112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:29:29] local.INFO: TCP Data received {"connection_id":159867,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e69c08012d1823000721b668004f00c62e..."} 
[2026-08-22 15:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e69c08012d1823000721b668004f00c62e..."} 
[2026-08-22 15:29:29] local.INFO: Processing buffer {"connection_id":159867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e69c08012d1823000721b668004f00c62e..."} 
[2026-08-22 15:29:29] local.INFO: Packet analysis {"connection_id":159867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e6"} 
[2026-08-22 15:29:29] local.INFO: Extracted packet for processing {"connection_id":159867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e6"} 
[2026-08-22 15:29:29] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649896,"longitude_deg":75.6556544,"latitude_deg":11.9649896,"altitude":79,"angle":198,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b668","is_valid_coordinates":true} 
[2026-08-22 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-22 15:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572499456001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608523803492352,"note":"Value kept but may cause issues"} 
[2026-08-22 15:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213904896,"note":"Value kept but may cause issues"} 
[2026-08-22 15:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787392597000,"timestamp_ms":1787392597000,"timestamp_seconds":1787392597,"priority":1,"record_length":96,"hex_timestamp":"000001a028e69c08"} 
[2026-08-22 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-22 15:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-22 15:29:29] 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-22 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-22 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-22 15:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572499456001,"66":12939,"105":206,"83":41984,"24":0,"16":14608523803492352,"45":1739374649213904896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572499456001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:29:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608523803492352,"km_value":14608523803492.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213904896,"description":"Unknown IO ID 45"} 
[2026-08-22 15:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572499456001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213904896}} 
[2026-08-22 15:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":159867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:29:30] local.INFO: GPS data processed {"connection_id":159867,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:29:30] local.INFO: Acknowledgment sent {"connection_id":159867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:29:53] local.INFO: TCP Data received {"connection_id":161031,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:29:53] local.INFO: Processing buffer {"connection_id":161031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:29:53] local.INFO: IMEI packet received {"connection_id":161031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":161031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:29:54] local.INFO: TCP Data received {"connection_id":160113,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:29:54] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:29:54] local.INFO: IMEI packet received {"connection_id":160113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":160113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:29:58] local.INFO: TCP Data received {"connection_id":161031,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:29:58] local.INFO: Processing buffer {"connection_id":161031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:29:58] local.INFO: IMEI packet received {"connection_id":161031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":161031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:29:58] local.INFO: TCP Data received {"connection_id":161031,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e6ea28012d1823000721b668004f00c62d..."} 
[2026-08-22 15:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e6ea28012d1823000721b668004f00c62d..."} 
[2026-08-22 15:29:58] local.INFO: Processing buffer {"connection_id":161031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e6ea28012d1823000721b668004f00c62d..."} 
[2026-08-22 15:29:58] local.INFO: Packet analysis {"connection_id":161031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e6"} 
[2026-08-22 15:29:58] local.INFO: Extracted packet for processing {"connection_id":161031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e6"} 
[2026-08-22 15:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649896,"longitude_deg":75.6556544,"latitude_deg":11.9649896,"altitude":79,"angle":198,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b668","is_valid_coordinates":true} 
[2026-08-22 15:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572504832001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608523803492352,"note":"Value kept but may cause issues"} 
[2026-08-22 15:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725516800,"note":"Value kept but may cause issues"} 
[2026-08-22 15:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787392617000,"timestamp_ms":1787392617000,"timestamp_seconds":1787392617,"priority":1,"record_length":96,"hex_timestamp":"000001a028e6ea28"} 
[2026-08-22 15:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 15:29:58] 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-22 15: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-22 15:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572504832001,"66":12841,"105":206,"83":41984,"24":0,"16":14608523803492352,"45":1739233911725516800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572504832001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:29:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608523803492352,"km_value":14608523803492.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725516800,"description":"Unknown IO ID 45"} 
[2026-08-22 15:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572504832001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725516800}} 
[2026-08-22 15:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":161031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:29:59] local.INFO: GPS data processed {"connection_id":161031,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:29:59] local.INFO: Acknowledgment sent {"connection_id":161031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:29:59] local.INFO: TCP Data received {"connection_id":160113,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:29:59] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:29:59] local.INFO: IMEI packet received {"connection_id":160113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":160113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:30:00] local.INFO: TCP Data received {"connection_id":160113,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:30:00] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:30:00] local.INFO: Packet analysis {"connection_id":160113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:30:00] local.INFO: Extracted packet for processing {"connection_id":160113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":22,"angle":26,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 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-22 15:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572466432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:30:00] 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-22 15:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787392748000,"timestamp_ms":1787392748000,"timestamp_seconds":1787392748,"priority":1,"record_length":96,"hex_timestamp":"000001a028e8e9e0"} 
[2026-08-22 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-22 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-22 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 15:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 15:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572466432001,"66":25441,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572466432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:30:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:30:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572466432001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":160113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:30:00] local.INFO: GPS data processed {"connection_id":160113,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:30:00] local.INFO: Acknowledgment sent {"connection_id":160113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:30:04] local.INFO: TCP Data received {"connection_id":160113,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:30:04] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:30:04] local.INFO: Packet analysis {"connection_id":160113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:30:04] local.INFO: Extracted packet for processing {"connection_id":160113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":22,"angle":26,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572466432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:30:04] 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-22 15:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787392748000,"timestamp_ms":1787392748000,"timestamp_seconds":1787392748,"priority":1,"record_length":96,"hex_timestamp":"000001a028e8e9e0"} 
[2026-08-22 15: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-22 15:30: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-22 15: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-22 15: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-22 15: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-22 15: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-22 15:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572466432001,"66":25441,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572466432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:30:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:30:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572466432001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":160113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:30:04] local.INFO: GPS data processed {"connection_id":160113,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:30:04] local.INFO: Acknowledgment sent {"connection_id":160113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:30:30] local.INFO: TCP Data received {"connection_id":161031,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e6f1f8012d1821c00721b590005100d92d..."} 
[2026-08-22 15:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e6f1f8012d1821c00721b590005100d92d..."} 
[2026-08-22 15:30:30] local.INFO: Processing buffer {"connection_id":161031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e6f1f8012d1821c00721b590005100d92d..."} 
[2026-08-22 15:30:30] local.INFO: Packet analysis {"connection_id":161031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e6"} 
[2026-08-22 15:30:30] local.INFO: Extracted packet for processing {"connection_id":161031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e6"} 
[2026-08-22 15:30:30] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649680,"longitude_deg":75.6556224,"latitude_deg":11.964968,"altitude":81,"angle":217,"satellites":45,"speed":1,"hex_longitude":"2d1821c0","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572509952001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608540983361536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725516800,"note":"Value kept but may cause issues"} 
[2026-08-22 15:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787392619000,"timestamp_ms":1787392619000,"timestamp_seconds":1787392619,"priority":1,"record_length":96,"hex_timestamp":"000001a028e6f1f8"} 
[2026-08-22 15: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-22 15:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 15:30:30] 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-22 15: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-22 15: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-22 15:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572509952001,"66":12841,"105":206,"83":41984,"24":1,"16":14608540983361536,"45":1739233911725516800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572509952001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:30:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:30:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608540983361536,"km_value":14608540983361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725516800,"description":"Unknown IO ID 45"} 
[2026-08-22 15:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572509952001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739233911725516800}} 
[2026-08-22 15:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":161031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:30:30] local.INFO: GPS data processed {"connection_id":161031,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:30:30] local.INFO: Acknowledgment sent {"connection_id":161031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:30:48] local.INFO: TCP Data received {"connection_id":160114,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:30:48] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:30:48] local.INFO: IMEI packet received {"connection_id":160114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":160114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:30:52] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:30:52] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:30:52] local.INFO: IMEI packet received {"connection_id":160115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":160115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:30:54] local.INFO: TCP Data received {"connection_id":160114,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:30:54] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:30:54] local.INFO: IMEI packet received {"connection_id":160114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":160114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:30:55] local.INFO: TCP Data received {"connection_id":160114,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:30:55] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:30:55] local.INFO: Packet analysis {"connection_id":160114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:30:55] local.INFO: Extracted packet for processing {"connection_id":160114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:30:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":22,"angle":26,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572466432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:30: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-22 15:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787392748000,"timestamp_ms":1787392748000,"timestamp_seconds":1787392748,"priority":1,"record_length":96,"hex_timestamp":"000001a028e8e9e0"} 
[2026-08-22 15:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15: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-22 15:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 15:30: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-22 15:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572466432001,"66":25441,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572466432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:30:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:30:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572466432001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":160114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:30:55] local.INFO: GPS data processed {"connection_id":160114,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:30:55] local.INFO: Acknowledgment sent {"connection_id":160114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:30:58] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:30:58] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:30:58] local.INFO: IMEI packet received {"connection_id":160115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":160115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:30:58] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e74400012d1821800721b4c8005200d52f..."} 
[2026-08-22 15:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e74400012d1821800721b4c8005200d52f..."} 
[2026-08-22 15:30:58] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e74400012d1821800721b4c8005200d52f..."} 
[2026-08-22 15:30:58] local.INFO: Packet analysis {"connection_id":160115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e7"} 
[2026-08-22 15:30:58] local.INFO: Extracted packet for processing {"connection_id":160115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e7"} 
[2026-08-22 15:30:58] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649480,"longitude_deg":75.655616,"latitude_deg":11.964948,"altitude":82,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-08-22 15:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572510464001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608553868263424,"note":"Value kept but may cause issues"} 
[2026-08-22 15:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004573184,"note":"Value kept but may cause issues"} 
[2026-08-22 15:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787392640000,"timestamp_ms":1787392640000,"timestamp_seconds":1787392640,"priority":1,"record_length":96,"hex_timestamp":"000001a028e74400"} 
[2026-08-22 15:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 15:30:58] 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-22 15:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572510464001,"66":12841,"105":206,"83":41984,"24":0,"16":14608553868263424,"45":1738882068004573184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572510464001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:30:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:30:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608553868263424,"km_value":14608553868263.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004573184,"description":"Unknown IO ID 45"} 
[2026-08-22 15:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572510464001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004573184}} 
[2026-08-22 15:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":160115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:30:58] local.INFO: GPS data processed {"connection_id":160115,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:30:58] local.INFO: Acknowledgment sent {"connection_id":160115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:31:26] local.INFO: TCP Data received {"connection_id":160114,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:31:26] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:31:26] local.INFO: Packet analysis {"connection_id":160114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:31:26] local.INFO: Extracted packet for processing {"connection_id":160114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":22,"angle":26,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572466432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31: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-22 15:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787392748000,"timestamp_ms":1787392748000,"timestamp_seconds":1787392748,"priority":1,"record_length":96,"hex_timestamp":"000001a028e8e9e0"} 
[2026-08-22 15: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-22 15: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-22 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 15:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15: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-22 15: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-22 15:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572466432001,"66":25441,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572466432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:31:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572466432001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":160114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:31:26] local.INFO: GPS data processed {"connection_id":160114,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:31:26] local.INFO: Acknowledgment sent {"connection_id":160114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:31:29] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e79220012d1821800721b4c8005200d52f..."} 
[2026-08-22 15:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e79220012d1821800721b4c8005200d52f..."} 
[2026-08-22 15:31:29] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e79220012d1821800721b4c8005200d52f..."} 
[2026-08-22 15:31:29] local.INFO: Packet analysis {"connection_id":160115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e7"} 
[2026-08-22 15:31:29] local.INFO: Extracted packet for processing {"connection_id":160115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e7"} 
[2026-08-22 15:31:29] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649480,"longitude_deg":75.655616,"latitude_deg":11.964948,"altitude":82,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572515840001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608553868263424,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260344320,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787392660000,"timestamp_ms":1787392660000,"timestamp_seconds":1787392660,"priority":1,"record_length":96,"hex_timestamp":"000001a028e79220"} 
[2026-08-22 15: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-22 15:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 15:31:29] 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-22 15: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-22 15: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-22 15:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572515840001,"66":12809,"105":206,"83":41984,"24":0,"16":14608553868263424,"45":1738811699260344320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572515840001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:31:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:31:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608553868263424,"km_value":14608553868263.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260344320,"description":"Unknown IO ID 45"} 
[2026-08-22 15:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572515840001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260344320}} 
[2026-08-22 15:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":160115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:31:29] local.INFO: GPS data processed {"connection_id":160115,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:31:29] local.INFO: Acknowledgment sent {"connection_id":160115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:31:48] local.INFO: TCP Data received {"connection_id":159868,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:31:48] local.INFO: Processing buffer {"connection_id":159868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:31:48] local.INFO: IMEI packet received {"connection_id":159868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":159868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:31:52] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:31:52] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:31:52] local.INFO: IMEI packet received {"connection_id":159869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":159869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:31:54] local.INFO: TCP Data received {"connection_id":159868,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:31:54] local.INFO: Processing buffer {"connection_id":159868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:31:54] local.INFO: IMEI packet received {"connection_id":159868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":159868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:31:55] local.INFO: TCP Data received {"connection_id":159868,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:31:55] local.INFO: Processing buffer {"connection_id":159868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:31:55] local.INFO: Packet analysis {"connection_id":159868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:31:55] local.INFO: Extracted packet for processing {"connection_id":159868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":22,"angle":26,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572466432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31: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-22 15:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787392748000,"timestamp_ms":1787392748000,"timestamp_seconds":1787392748,"priority":1,"record_length":96,"hex_timestamp":"000001a028e8e9e0"} 
[2026-08-22 15:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15: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-22 15:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 15:31: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-22 15:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572466432001,"66":25441,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572466432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:31:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572466432001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":159868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:31:55] local.INFO: GPS data processed {"connection_id":159868,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:31:55] local.INFO: Acknowledgment sent {"connection_id":159868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:31:58] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:31:58] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:31:58] local.INFO: IMEI packet received {"connection_id":159869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":159869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:31:58] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e7e428012d1821800721b4c8005200d52e..."} 
[2026-08-22 15:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e7e428012d1821800721b4c8005200d52e..."} 
[2026-08-22 15:31:58] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e7e428012d1821800721b4c8005200d52e..."} 
[2026-08-22 15:31:58] local.INFO: Packet analysis {"connection_id":159869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e7"} 
[2026-08-22 15:31:58] local.INFO: Extracted packet for processing {"connection_id":159869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e7"} 
[2026-08-22 15:31:58] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649480,"longitude_deg":75.655616,"latitude_deg":11.964948,"altitude":82,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572520960001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608553868263424,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260344320,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787392681000,"timestamp_ms":1787392681000,"timestamp_seconds":1787392681,"priority":1,"record_length":96,"hex_timestamp":"000001a028e7e428"} 
[2026-08-22 15: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-22 15:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-22 15:31:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:58] local.WARNING: Large IO value detected {"io_id":40,"raw_value":-1857066338169117312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:58] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3060269135,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 15:31:58] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951030,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-4539402567477572013,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:58] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3864920064,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:58] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429771165095489838,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:58] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-22 15:31:58] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,230,160,68,45,128,180,82,47,10,66,192,181,81,234,1,240,41,227,40,33,4,113,205,74,35,232,46,239,50,2,51,7,78,8,164,92],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 15:31:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5908957108950269952,"timestamp_seconds":5908957108950270.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 15: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-22 15:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572520960001,"66":12765,"105":206,"83":41984,"24":0,"16":14608553868263424,"45":1738811699260344320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572520960001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:31:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608553868263424,"km_value":14608553868263.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260344320,"description":"Unknown IO ID 45"} 
[2026-08-22 15:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572520960001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260344320}} 
[2026-08-22 15:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":159869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:31:58] local.INFO: GPS data processed {"connection_id":159869,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:31:58] local.INFO: Acknowledgment sent {"connection_id":159869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:32:26] local.INFO: TCP Data received {"connection_id":159868,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:32:26] local.INFO: Processing buffer {"connection_id":159868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:32:26] local.INFO: Packet analysis {"connection_id":159868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:32:26] local.INFO: Extracted packet for processing {"connection_id":159868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:32:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":22,"angle":26,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572466432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:32: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-22 15:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787392748000,"timestamp_ms":1787392748000,"timestamp_seconds":1787392748,"priority":1,"record_length":96,"hex_timestamp":"000001a028e8e9e0"} 
[2026-08-22 15:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:32: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-22 15:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 15:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572466432001,"66":25441,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572466432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:32:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572466432001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":159868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:32:26] local.INFO: GPS data processed {"connection_id":159868,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:32:26] local.INFO: Acknowledgment sent {"connection_id":159868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:32:29] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e83630012d1821800721b4c8005200d530..."} 
[2026-08-22 15:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e83630012d1821800721b4c8005200d530..."} 
[2026-08-22 15:32:29] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e83630012d1821800721b4c8005200d530..."} 
[2026-08-22 15:32:29] local.INFO: Packet analysis {"connection_id":159869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:32:29] local.INFO: Extracted packet for processing {"connection_id":159869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:32:29] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649480,"longitude_deg":75.655616,"latitude_deg":11.964948,"altitude":82,"angle":213,"satellites":48,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572526336001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608553868263424,"note":"Value kept but may cause issues"} 
[2026-08-22 15:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260344320,"note":"Value kept but may cause issues"} 
[2026-08-22 15:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787392702000,"timestamp_ms":1787392702000,"timestamp_seconds":1787392702,"priority":1,"record_length":96,"hex_timestamp":"000001a028e83630"} 
[2026-08-22 15: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-22 15:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-22 15:32:29] 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-22 15: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-22 15: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-22 15:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572526336001,"66":12743,"105":206,"83":41984,"24":0,"16":14608553868263424,"45":1738811699260344320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572526336001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:32:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:32:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608553868263424,"km_value":14608553868263.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260344320,"description":"Unknown IO ID 45"} 
[2026-08-22 15:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572526336001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260344320}} 
[2026-08-22 15:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":159869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:32:30] local.INFO: GPS data processed {"connection_id":159869,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:32:30] local.INFO: Acknowledgment sent {"connection_id":159869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:32:48] local.INFO: TCP Data received {"connection_id":162471,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:32:48] local.INFO: Processing buffer {"connection_id":162471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:32:48] local.INFO: IMEI packet received {"connection_id":162471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":162471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:32:52] local.INFO: TCP Data received {"connection_id":161032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:32:52] local.INFO: Processing buffer {"connection_id":161032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:32:52] local.INFO: IMEI packet received {"connection_id":161032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":161032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:32:54] local.INFO: TCP Data received {"connection_id":162471,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:32:54] local.INFO: Processing buffer {"connection_id":162471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:32:54] local.INFO: IMEI packet received {"connection_id":162471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":162471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:32:55] local.INFO: TCP Data received {"connection_id":162471,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:32:55] local.INFO: Processing buffer {"connection_id":162471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:32:55] local.INFO: Packet analysis {"connection_id":162471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:32:55] local.INFO: Extracted packet for processing {"connection_id":162471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":22,"angle":26,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572466432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:32: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-22 15:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787392748000,"timestamp_ms":1787392748000,"timestamp_seconds":1787392748,"priority":1,"record_length":96,"hex_timestamp":"000001a028e8e9e0"} 
[2026-08-22 15:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:32: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-22 15:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 15:32: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-22 15:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572466432001,"66":25441,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572466432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:32:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:32:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572466432001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":162471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:32:55] local.INFO: GPS data processed {"connection_id":162471,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:32:55] local.INFO: Acknowledgment sent {"connection_id":162471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:32:58] local.INFO: TCP Data received {"connection_id":161032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:32:58] local.INFO: Processing buffer {"connection_id":161032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:32:58] local.INFO: IMEI packet received {"connection_id":161032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":161032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:32:58] local.INFO: TCP Data received {"connection_id":161032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e88838012d1821800721b4c8005200d52e..."} 
[2026-08-22 15:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e88838012d1821800721b4c8005200d52e..."} 
[2026-08-22 15:32:58] local.INFO: Processing buffer {"connection_id":161032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e88838012d1821800721b4c8005200d52e..."} 
[2026-08-22 15:32:58] local.INFO: Packet analysis {"connection_id":161032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:32:58] local.INFO: Extracted packet for processing {"connection_id":161032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:32:58] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649480,"longitude_deg":75.655616,"latitude_deg":11.964948,"altitude":82,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572531712001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608553868263424,"note":"Value kept but may cause issues"} 
[2026-08-22 15:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260344320,"note":"Value kept but may cause issues"} 
[2026-08-22 15:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787392723000,"timestamp_ms":1787392723000,"timestamp_seconds":1787392723,"priority":1,"record_length":96,"hex_timestamp":"000001a028e88838"} 
[2026-08-22 15: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-22 15:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-22 15:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15: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-22 15: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-22 15:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572531712001,"66":12689,"105":206,"83":41984,"24":0,"16":14608553868263424,"45":1738811699260344320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572531712001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:32:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:32:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608553868263424,"km_value":14608553868263.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260344320,"description":"Unknown IO ID 45"} 
[2026-08-22 15:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572531712001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260344320}} 
[2026-08-22 15:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":161032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:32:58] local.INFO: GPS data processed {"connection_id":161032,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:32:58] local.INFO: Acknowledgment sent {"connection_id":161032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:33:26] local.INFO: TCP Data received {"connection_id":162471,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:33:26] local.INFO: Processing buffer {"connection_id":162471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:33:26] local.INFO: Packet analysis {"connection_id":162471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:33:26] local.INFO: Extracted packet for processing {"connection_id":162471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:33:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":22,"angle":26,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572466432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:33: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-22 15:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787392748000,"timestamp_ms":1787392748000,"timestamp_seconds":1787392748,"priority":1,"record_length":96,"hex_timestamp":"000001a028e8e9e0"} 
[2026-08-22 15: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-22 15: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-22 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 15:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15: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-22 15: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-22 15:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572466432001,"66":25441,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572466432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:33:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:33:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572466432001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":162471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:33:26] local.INFO: GPS data processed {"connection_id":162471,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:33:26] local.INFO: Acknowledgment sent {"connection_id":162471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:33:30] local.INFO: TCP Data received {"connection_id":161032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e8da40012d1821800721b4c8005200d52e..."} 
[2026-08-22 15:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e8da40012d1821800721b4c8005200d52e..."} 
[2026-08-22 15:33:30] local.INFO: Processing buffer {"connection_id":161032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e8da40012d1821800721b4c8005200d52e..."} 
[2026-08-22 15:33:30] local.INFO: Packet analysis {"connection_id":161032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:33:30] local.INFO: Extracted packet for processing {"connection_id":161032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:33:30] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649480,"longitude_deg":75.655616,"latitude_deg":11.964948,"altitude":82,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-08-22 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-22 15:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572537088001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608553868263424,"note":"Value kept but may cause issues"} 
[2026-08-22 15:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260344320,"note":"Value kept but may cause issues"} 
[2026-08-22 15:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787392744000,"timestamp_ms":1787392744000,"timestamp_seconds":1787392744,"priority":1,"record_length":96,"hex_timestamp":"000001a028e8da40"} 
[2026-08-22 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-22 15:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 15:33:30] 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-22 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-22 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-22 15:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572537088001,"66":12667,"105":206,"83":41984,"24":0,"16":14608553868263424,"45":1738811699260344320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572537088001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:33:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:33:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608553868263424,"km_value":14608553868263.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260344320,"description":"Unknown IO ID 45"} 
[2026-08-22 15:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572537088001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260344320}} 
[2026-08-22 15:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":161032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:33:30] local.INFO: GPS data processed {"connection_id":161032,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:33:30] local.INFO: Acknowledgment sent {"connection_id":161032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:33:48] local.INFO: TCP Data received {"connection_id":161033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:33:48] local.INFO: Processing buffer {"connection_id":161033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:33:48] local.INFO: IMEI packet received {"connection_id":161033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":161033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:33:54] local.INFO: TCP Data received {"connection_id":161033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:33:54] local.INFO: Processing buffer {"connection_id":161033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:33:54] local.INFO: IMEI packet received {"connection_id":161033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":161033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:33:54] local.INFO: TCP Data received {"connection_id":161034,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:33:54] local.INFO: Processing buffer {"connection_id":161034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:33:54] local.INFO: IMEI packet received {"connection_id":161034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":161034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:33:55] local.INFO: TCP Data received {"connection_id":161033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:33:55] local.INFO: Processing buffer {"connection_id":161033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:33:55] local.INFO: Packet analysis {"connection_id":161033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:33:55] local.INFO: Extracted packet for processing {"connection_id":161033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":22,"angle":26,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572466432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:33: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-22 15:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787392748000,"timestamp_ms":1787392748000,"timestamp_seconds":1787392748,"priority":1,"record_length":96,"hex_timestamp":"000001a028e8e9e0"} 
[2026-08-22 15:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:33: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-22 15:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 15:33: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-22 15:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572466432001,"66":25441,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572466432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:33:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572466432001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":161033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:33:55] local.INFO: GPS data processed {"connection_id":161033,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:33:55] local.INFO: Acknowledgment sent {"connection_id":161033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:33:57] local.INFO: TCP Data received {"connection_id":161034,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:33:57] local.INFO: Processing buffer {"connection_id":161034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:33:57] local.INFO: IMEI packet received {"connection_id":161034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":161034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:34:03] local.INFO: TCP Data received {"connection_id":161034,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:34:03] local.INFO: Processing buffer {"connection_id":161034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:34:03] local.INFO: IMEI packet received {"connection_id":161034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":161034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:34:03] local.INFO: TCP Data received {"connection_id":161034,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e92c48012d1821800721b4c8005200d52e..."} 
[2026-08-22 15:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e92c48012d1821800721b4c8005200d52e..."} 
[2026-08-22 15:34:03] local.INFO: Processing buffer {"connection_id":161034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e92c48012d1821800721b4c8005200d52e..."} 
[2026-08-22 15:34:03] local.INFO: Packet analysis {"connection_id":161034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e9"} 
[2026-08-22 15:34:03] local.INFO: Extracted packet for processing {"connection_id":161034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e9"} 
[2026-08-22 15:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649480,"longitude_deg":75.655616,"latitude_deg":11.964948,"altitude":82,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-08-22 15:34: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-22 15:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572542464001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608553868263424,"note":"Value kept but may cause issues"} 
[2026-08-22 15:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260344320,"note":"Value kept but may cause issues"} 
[2026-08-22 15:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787392765000,"timestamp_ms":1787392765000,"timestamp_seconds":1787392765,"priority":1,"record_length":96,"hex_timestamp":"000001a028e92c48"} 
[2026-08-22 15:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15:34: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":123,"data_length":795,"current_offset":136} 
[2026-08-22 15:34:03] 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-22 15:34: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-22 15:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572542464001,"66":12645,"105":206,"83":41984,"24":0,"16":14608553868263424,"45":1738811699260344320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572542464001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:34:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608553868263424,"km_value":14608553868263.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260344320,"description":"Unknown IO ID 45"} 
[2026-08-22 15:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572542464001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260344320}} 
[2026-08-22 15:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":161034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:34:03] local.INFO: GPS data processed {"connection_id":161034,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:34:03] local.INFO: Acknowledgment sent {"connection_id":161034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:34:26] local.INFO: TCP Data received {"connection_id":161033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:34:26] local.INFO: Processing buffer {"connection_id":161033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e8e9e0012d7fabc005afdd800016001a29..."} 
[2026-08-22 15:34:26] local.INFO: Packet analysis {"connection_id":161033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:34:26] local.INFO: Extracted packet for processing {"connection_id":161033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e8"} 
[2026-08-22 15:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":22,"angle":26,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572466432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15: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-22 15:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787392748000,"timestamp_ms":1787392748000,"timestamp_seconds":1787392748,"priority":1,"record_length":96,"hex_timestamp":"000001a028e8e9e0"} 
[2026-08-22 15:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15: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-22 15:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 15:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572466432001,"66":25441,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572466432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:34:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572466432001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":161033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:34:26] local.INFO: GPS data processed {"connection_id":161033,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:34:26] local.INFO: Acknowledgment sent {"connection_id":161033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:34:35] local.INFO: TCP Data received {"connection_id":161034,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028e97e50012d1821800721b4c8005200d52e..."} 
[2026-08-22 15:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028e97e50012d1821800721b4c8005200d52e..."} 
[2026-08-22 15:34:35] local.INFO: Processing buffer {"connection_id":161034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028e97e50012d1821800721b4c8005200d52e..."} 
[2026-08-22 15:34:35] local.INFO: Packet analysis {"connection_id":161034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028e9"} 
[2026-08-22 15:34:35] local.INFO: Extracted packet for processing {"connection_id":161034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028e9"} 
[2026-08-22 15:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649480,"longitude_deg":75.655616,"latitude_deg":11.964948,"altitude":82,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-08-22 15:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572547840001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608553868263424,"note":"Value kept but may cause issues"} 
[2026-08-22 15:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260344320,"note":"Value kept but may cause issues"} 
[2026-08-22 15:34:35] local.INFO: IO Element Parsed {"io_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-22 15:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787392786000,"timestamp_ms":1787392786000,"timestamp_seconds":1787392786,"priority":1,"record_length":96,"hex_timestamp":"000001a028e97e50"} 
[2026-08-22 15:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:34: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-22 15:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-22 15:34:35] 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-22 15:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572547840001,"66":12591,"105":206,"83":41984,"24":0,"16":14608553868263424,"45":1738811699260344320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572547840001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:34:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608553868263424,"km_value":14608553868263.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260344320,"description":"Unknown IO ID 45"} 
[2026-08-22 15:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572547840001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260344320}} 
[2026-08-22 15:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":161034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:34:35] local.INFO: GPS data processed {"connection_id":161034,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:34:35] local.INFO: Acknowledgment sent {"connection_id":161034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:34:52] local.INFO: TCP Data received {"connection_id":160116,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:34:52] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:34:52] local.INFO: IMEI packet received {"connection_id":160116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":160116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:34:52] local.INFO: TCP Data received {"connection_id":160116,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:34:52] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:34:52] local.INFO: IMEI packet received {"connection_id":160116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":160116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:34:54] local.INFO: TCP Data received {"connection_id":160117,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:34:54] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:34:54] local.INFO: IMEI packet received {"connection_id":160117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":160117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:34:56] local.INFO: TCP Data received {"connection_id":160116,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:34:56] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:34:56] local.INFO: IMEI packet received {"connection_id":160116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":160116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:34:56] local.INFO: TCP Data received {"connection_id":160116,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028ed04a8012d1821800721b4c8005200d52d..."} 
[2026-08-22 15:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ed04a8012d1821800721b4c8005200d52d..."} 
[2026-08-22 15:34:56] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ed04a8012d1821800721b4c8005200d52d..."} 
[2026-08-22 15:34:56] local.INFO: Packet analysis {"connection_id":160116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:34:56] local.INFO: Extracted packet for processing {"connection_id":160116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:34:56] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649480,"longitude_deg":75.655616,"latitude_deg":11.964948,"altitude":82,"angle":213,"satellites":45,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-08-22 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-22 15:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572606976001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608553868263424,"note":"Value kept but may cause issues"} 
[2026-08-22 15:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260344320,"note":"Value kept but may cause issues"} 
[2026-08-22 15:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787393017000,"timestamp_ms":1787393017000,"timestamp_seconds":1787393017,"priority":1,"record_length":96,"hex_timestamp":"000001a028ed04a8"} 
[2026-08-22 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-22 15:34:56] 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-22 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-22 15:34:56] 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-22 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-22 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-22 15:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572606976001,"66":14004,"105":206,"83":41984,"24":0,"16":14608553868263424,"45":1738811699260344320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572606976001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:34:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:34:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608553868263424,"km_value":14608553868263.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260344320,"description":"Unknown IO ID 45"} 
[2026-08-22 15:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572606976001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260344320}} 
[2026-08-22 15:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":160116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:34:56] local.INFO: GPS data processed {"connection_id":160116,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:34:56] local.INFO: Acknowledgment sent {"connection_id":160116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:34:59] local.INFO: TCP Data received {"connection_id":160117,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:34:59] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:34:59] local.INFO: IMEI packet received {"connection_id":160117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":160117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:35:00] local.INFO: TCP Data received {"connection_id":160117,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:35:00] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:35:00] local.INFO: Packet analysis {"connection_id":160117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:35:00] local.INFO: Extracted packet for processing {"connection_id":160117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":15,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572543488001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:35:00] 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-22 15:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787393049000,"timestamp_ms":1787393049000,"timestamp_seconds":1787393049,"priority":1,"record_length":96,"hex_timestamp":"000001a028ed81a8"} 
[2026-08-22 15: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-22 15:35: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-22 15:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 15:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15: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-22 15: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-22 15:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572543488001,"66":25582,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572543488001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:35:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572543488001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":160117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:35:00] local.INFO: GPS data processed {"connection_id":160117,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:35:00] local.INFO: Acknowledgment sent {"connection_id":160117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:35:04] local.INFO: TCP Data received {"connection_id":160117,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:35:04] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:35:04] local.INFO: Packet analysis {"connection_id":160117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:35:04] local.INFO: Extracted packet for processing {"connection_id":160117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":15,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 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-22 15:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572543488001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:35:04] 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-22 15:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787393049000,"timestamp_ms":1787393049000,"timestamp_seconds":1787393049,"priority":1,"record_length":96,"hex_timestamp":"000001a028ed81a8"} 
[2026-08-22 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-22 15:35: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-22 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 15:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 15:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572543488001,"66":25582,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572543488001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:35:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:35:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572543488001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":160117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:35:04] local.INFO: GPS data processed {"connection_id":160117,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:35:04] local.INFO: Acknowledgment sent {"connection_id":160117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:35:27] local.INFO: TCP Data received {"connection_id":160116,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028ed56b0012d181e800721af10005100cb2f..."} 
[2026-08-22 15:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ed56b0012d181e800721af10005100cb2f..."} 
[2026-08-22 15:35:27] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ed56b0012d181e800721af10005100cb2f..."} 
[2026-08-22 15:35:27] local.INFO: Packet analysis {"connection_id":160116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:35:27] local.INFO: Extracted packet for processing {"connection_id":160116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648016,"longitude_deg":75.6555392,"latitude_deg":11.9648016,"altitude":81,"angle":203,"satellites":47,"speed":2,"hex_longitude":"2d181e80","hex_latitude":"0721af10","is_valid_coordinates":true} 
[2026-08-22 15:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572612352001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608635472642048,"note":"Value kept but may cause issues"} 
[2026-08-22 15:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260344320,"note":"Value kept but may cause issues"} 
[2026-08-22 15:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787393038000,"timestamp_ms":1787393038000,"timestamp_seconds":1787393038,"priority":1,"record_length":96,"hex_timestamp":"000001a028ed56b0"} 
[2026-08-22 15:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-22 15:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572612352001,"66":14102,"105":206,"83":41984,"24":2,"16":14608635472642048,"45":1738811699260344320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572612352001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:35:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:35:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608635472642048,"km_value":14608635472642.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260344320,"description":"Unknown IO ID 45"} 
[2026-08-22 15:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572612352001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738811699260344320}} 
[2026-08-22 15:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":160116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:35:27] local.INFO: GPS data processed {"connection_id":160116,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:35:27] local.INFO: Acknowledgment sent {"connection_id":160116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:35:49] local.INFO: TCP Data received {"connection_id":162472,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:35:49] local.INFO: Processing buffer {"connection_id":162472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:35:49] local.INFO: IMEI packet received {"connection_id":162472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":162472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:35:53] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:35:53] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:35:53] local.INFO: IMEI packet received {"connection_id":159870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":159870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:35:53] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:35:53] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:35:53] local.INFO: IMEI packet received {"connection_id":159870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":159870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:35:54] local.INFO: TCP Data received {"connection_id":162472,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:35:54] local.INFO: Processing buffer {"connection_id":162472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:35:54] local.INFO: IMEI packet received {"connection_id":162472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":162472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:35:55] local.INFO: TCP Data received {"connection_id":162472,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:35:55] local.INFO: Processing buffer {"connection_id":162472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:35:55] local.INFO: Packet analysis {"connection_id":162472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:35:55] local.INFO: Extracted packet for processing {"connection_id":162472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":15,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572543488001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:35: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-22 15:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787393049000,"timestamp_ms":1787393049000,"timestamp_seconds":1787393049,"priority":1,"record_length":96,"hex_timestamp":"000001a028ed81a8"} 
[2026-08-22 15:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:35: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-22 15:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 15:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572543488001,"66":25582,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572543488001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:35:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572543488001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":162472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:35:55] local.INFO: GPS data processed {"connection_id":162472,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:35:55] local.INFO: Acknowledgment sent {"connection_id":162472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:35:56] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:35:56] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:35:56] local.INFO: IMEI packet received {"connection_id":159870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":159870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:35:56] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028ed9148012d181d400721ad18005100c02f..."} 
[2026-08-22 15:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ed9148012d181d400721ad18005100c02f..."} 
[2026-08-22 15:35:56] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ed9148012d181d400721ad18005100c02f..."} 
[2026-08-22 15:35:56] local.INFO: Packet analysis {"connection_id":159870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:35:56] local.INFO: Extracted packet for processing {"connection_id":159870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:35:56] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647512,"longitude_deg":75.6555072,"latitude_deg":11.9647512,"altitude":81,"angle":192,"satellites":47,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad18","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572617728001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608665537413120,"note":"Value kept but may cause issues"} 
[2026-08-22 15:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329837568,"note":"Value kept but may cause issues"} 
[2026-08-22 15:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787393053000,"timestamp_ms":1787393053000,"timestamp_seconds":1787393053,"priority":1,"record_length":96,"hex_timestamp":"000001a028ed9148"} 
[2026-08-22 15: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-22 15:35:56] 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-22 15: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 15:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15: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-22 15: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-22 15:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572617728001,"66":14102,"105":206,"83":41984,"24":0,"16":14608665537413120,"45":1737967274329837568},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572617728001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:35:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:35:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608665537413120,"km_value":14608665537413.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329837568,"description":"Unknown IO ID 45"} 
[2026-08-22 15:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572617728001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329837568}} 
[2026-08-22 15:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":159870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:35:57] local.INFO: GPS data processed {"connection_id":159870,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:35:57] local.INFO: Acknowledgment sent {"connection_id":159870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:36:26] local.INFO: TCP Data received {"connection_id":162472,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:36:26] local.INFO: Processing buffer {"connection_id":162472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:36:26] local.INFO: Packet analysis {"connection_id":162472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:36:26] local.INFO: Extracted packet for processing {"connection_id":162472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":15,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572543488001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:36: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-22 15:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787393049000,"timestamp_ms":1787393049000,"timestamp_seconds":1787393049,"priority":1,"record_length":96,"hex_timestamp":"000001a028ed81a8"} 
[2026-08-22 15:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15: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-22 15:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 15:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572543488001,"66":25582,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572543488001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:36:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572543488001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":162472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:36:26] local.INFO: GPS data processed {"connection_id":162472,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:36:26] local.INFO: Acknowledgment sent {"connection_id":162472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:36:28] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028eda0e8012d181d400721abf0005100a62d..."} 
[2026-08-22 15:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028eda0e8012d181d400721abf0005100a62d..."} 
[2026-08-22 15:36:28] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028eda0e8012d181d400721abf0005100a62d..."} 
[2026-08-22 15:36:28] local.INFO: Packet analysis {"connection_id":159870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:36:28] local.INFO: Extracted packet for processing {"connection_id":159870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647216,"longitude_deg":75.6555072,"latitude_deg":11.9647216,"altitude":81,"angle":166,"satellites":45,"speed":4,"hex_longitude":"2d181d40","hex_latitude":"0721abf0","is_valid_coordinates":true} 
[2026-08-22 15:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572621568001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14608682717282304,"note":"Value kept but may cause issues"} 
[2026-08-22 15:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608820224,"note":"Value kept but may cause issues"} 
[2026-08-22 15:36:28] local.INFO: IO Element Parsed {"io_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-22 15:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787393057000,"timestamp_ms":1787393057000,"timestamp_seconds":1787393057,"priority":1,"record_length":96,"hex_timestamp":"000001a028eda0e8"} 
[2026-08-22 15:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 15:36:28] 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-22 15:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572621568001,"66":14211,"105":206,"83":41984,"24":4,"16":14608682717282304,"45":1737615430608820224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 15:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572621568001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:36:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 15:36:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14608682717282304,"km_value":14608682717282.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608820224,"description":"Unknown IO ID 45"} 
[2026-08-22 15:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572621568001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737615430608820224}} 
[2026-08-22 15:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":159870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:36:28] local.INFO: GPS data processed {"connection_id":159870,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:36:28] local.INFO: Acknowledgment sent {"connection_id":159870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:36:48] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:36:48] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:36:48] local.INFO: IMEI packet received {"connection_id":159871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":159871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:36:53] local.INFO: TCP Data received {"connection_id":162473,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:36:53] local.INFO: Processing buffer {"connection_id":162473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:36:53] local.INFO: IMEI packet received {"connection_id":162473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":162473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:36:54] local.INFO: TCP Data received {"connection_id":162473,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:36:54] local.INFO: Processing buffer {"connection_id":162473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:36:54] local.INFO: IMEI packet received {"connection_id":162473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":162473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:36:54] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:36:54] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:36:54] local.INFO: IMEI packet received {"connection_id":159871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":159871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:36:54] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:36:54] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:36:54] local.INFO: Packet analysis {"connection_id":159871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:36:54] local.INFO: Extracted packet for processing {"connection_id":159871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:36:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":15,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572543488001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:36:54] 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-22 15:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787393049000,"timestamp_ms":1787393049000,"timestamp_seconds":1787393049,"priority":1,"record_length":96,"hex_timestamp":"000001a028ed81a8"} 
[2026-08-22 15: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-22 15:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 15:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15: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-22 15: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-22 15:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572543488001,"66":25582,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572543488001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:36:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:36:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572543488001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":159871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:36:55] local.INFO: GPS data processed {"connection_id":159871,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:36:55] local.INFO: Acknowledgment sent {"connection_id":159871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:36:55] local.INFO: TCP Data received {"connection_id":162473,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:36:55] local.INFO: Processing buffer {"connection_id":162473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:36:55] local.INFO: IMEI packet received {"connection_id":162473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":162473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:36:58] local.INFO: TCP Data received {"connection_id":162473,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:36:58] local.INFO: Processing buffer {"connection_id":162473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:36:58] local.INFO: IMEI packet received {"connection_id":162473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":162473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:36:59] local.INFO: TCP Data received {"connection_id":162473,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028ef2b70012d18b10007216d68004f008d2b..."} 
[2026-08-22 15:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ef2b70012d18b10007216d68004f008d2b..."} 
[2026-08-22 15:36:59] local.INFO: Processing buffer {"connection_id":162473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ef2b70012d18b10007216d68004f008d2b..."} 
[2026-08-22 15:36:59] local.INFO: Packet analysis {"connection_id":162473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ef"} 
[2026-08-22 15:36:59] local.INFO: Extracted packet for processing {"connection_id":162473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ef"} 
[2026-08-22 15:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756592896,"raw_latitude":119631208,"longitude_deg":75.6592896,"latitude_deg":11.9631208,"altitude":79,"angle":141,"satellites":43,"speed":29,"hex_longitude":"2d18b100","hex_latitude":"07216d68","is_valid_coordinates":true} 
[2026-08-22 15:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572647936001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14610701351911424,"note":"Value kept but may cause issues"} 
[2026-08-22 15:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778077458507077632,"note":"Value kept but may cause issues"} 
[2026-08-22 15:36:59] 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-22 15:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787393158000,"timestamp_ms":1787393158000,"timestamp_seconds":1787393158,"priority":1,"record_length":96,"hex_timestamp":"000001a028ef2b70"} 
[2026-08-22 15:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:36: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-22 15:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 15:36:59] 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-22 15:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572647936001,"66":13037,"106":206,"83":41984,"24":29,"16":14610701351911424,"45":1778077458507077632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 15:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572647936001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:36:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 15:36:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14610701351911424,"km_value":14610701351911.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778077458507077632,"description":"Unknown IO ID 45"} 
[2026-08-22 15:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572647936001,"power":13037,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1778077458507077632}} 
[2026-08-22 15:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":162473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:36:59] local.INFO: GPS data processed {"connection_id":162473,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:36:59] local.INFO: Acknowledgment sent {"connection_id":162473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:37:26] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:37:26] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:37:26] local.INFO: Packet analysis {"connection_id":159871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:37:26] local.INFO: Extracted packet for processing {"connection_id":159871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:37:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":15,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572543488001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:37: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-22 15:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787393049000,"timestamp_ms":1787393049000,"timestamp_seconds":1787393049,"priority":1,"record_length":96,"hex_timestamp":"000001a028ed81a8"} 
[2026-08-22 15: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-22 15:37: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-22 15:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 15:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15: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-22 15: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-22 15:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572543488001,"66":25582,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572543488001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:37:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:37:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572543488001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":159871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:37:26] local.INFO: GPS data processed {"connection_id":159871,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:37:26] local.INFO: Acknowledgment sent {"connection_id":159871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:37:30] local.INFO: TCP Data received {"connection_id":162473,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028ef5280012d18c3c0072152b80048009f2c..."} 
[2026-08-22 15:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ef5280012d18c3c0072152b80048009f2c..."} 
[2026-08-22 15:37:30] local.INFO: Processing buffer {"connection_id":162473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ef5280012d18c3c0072152b80048009f2c..."} 
[2026-08-22 15:37:30] local.INFO: Packet analysis {"connection_id":162473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ef"} 
[2026-08-22 15:37:30] local.INFO: Extracted packet for processing {"connection_id":162473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ef"} 
[2026-08-22 15:37:30] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119624376,"longitude_deg":75.6597696,"latitude_deg":11.9624376,"altitude":72,"angle":159,"satellites":44,"speed":33,"hex_longitude":"2d18c3c0","hex_latitude":"072152b8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572648448001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14611105078837248,"note":"Value kept but may cause issues"} 
[2026-08-22 15:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779203358413645824,"note":"Value kept but may cause issues"} 
[2026-08-22 15:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787393168000,"timestamp_ms":1787393168000,"timestamp_seconds":1787393168,"priority":1,"record_length":96,"hex_timestamp":"000001a028ef5280"} 
[2026-08-22 15: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-22 15:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-22 15:37:30] 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-22 15: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-22 15: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-22 15:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572648448001,"66":13015,"106":206,"83":41984,"24":33,"16":14611105078837248,"45":1779203358413645824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 15:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572648448001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:37:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 15:37:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14611105078837248,"km_value":14611105078837.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779203358413645824,"description":"Unknown IO ID 45"} 
[2026-08-22 15:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572648448001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1779203358413645824}} 
[2026-08-22 15:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":162473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:37:30] local.INFO: GPS data processed {"connection_id":162473,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:37:30] local.INFO: Acknowledgment sent {"connection_id":162473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:37:48] local.INFO: TCP Data received {"connection_id":161035,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:37:48] local.INFO: Processing buffer {"connection_id":161035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:37:48] local.INFO: IMEI packet received {"connection_id":161035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":161035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:37:51] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:37:51] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:37:51] local.INFO: IMEI packet received {"connection_id":159872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":159872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:37:52] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:37:52] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:37:52] local.INFO: IMEI packet received {"connection_id":159872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":159872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:37:54] local.INFO: TCP Data received {"connection_id":161035,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:37:54] local.INFO: Processing buffer {"connection_id":161035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:37:54] local.INFO: IMEI packet received {"connection_id":161035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":161035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:37:55] local.INFO: TCP Data received {"connection_id":161035,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:37:55] local.INFO: Processing buffer {"connection_id":161035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:37:55] local.INFO: Packet analysis {"connection_id":161035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:37:55] local.INFO: Extracted packet for processing {"connection_id":161035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":15,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572543488001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:37: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-22 15:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787393049000,"timestamp_ms":1787393049000,"timestamp_seconds":1787393049,"priority":1,"record_length":96,"hex_timestamp":"000001a028ed81a8"} 
[2026-08-22 15:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:37: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-22 15:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 15:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572543488001,"66":25582,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572543488001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:37:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:37:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572543488001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":161035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:37:55] local.INFO: GPS data processed {"connection_id":161035,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:37:55] local.INFO: Acknowledgment sent {"connection_id":161035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:37:58] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:37:58] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:37:58] local.INFO: IMEI packet received {"connection_id":159872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":159872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:37:58] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028eff690012d18f9800720d568003900812a..."} 
[2026-08-22 15:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028eff690012d18f9800720d568003900812a..."} 
[2026-08-22 15:37:58] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028eff690012d18f9800720d568003900812a..."} 
[2026-08-22 15:37:58] local.INFO: Packet analysis {"connection_id":159872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ef"} 
[2026-08-22 15:37:58] local.INFO: Extracted packet for processing {"connection_id":159872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ef"} 
[2026-08-22 15:37:58] local.INFO: GPS Element Parsed {"raw_longitude":756611456,"raw_latitude":119592296,"longitude_deg":75.6611456,"latitude_deg":11.9592296,"altitude":57,"angle":129,"satellites":42,"speed":36,"hex_longitude":"2d18f980","hex_latitude":"0720d568","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572661760001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14612866015428608,"note":"Value kept but may cause issues"} 
[2026-08-22 15:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799610294215206912,"note":"Value kept but may cause issues"} 
[2026-08-22 15:37: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-22 15:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787393210000,"timestamp_ms":1787393210000,"timestamp_seconds":1787393210,"priority":1,"record_length":96,"hex_timestamp":"000001a028eff690"} 
[2026-08-22 15: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-22 15:37: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-22 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 15:37:58] 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-22 15: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-22 15: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-22 15:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572661760001,"66":14048,"103":206,"83":41984,"24":36,"16":14612866015428608,"45":1799610294215206912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 15:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572661760001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:37:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 15:37:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14612866015428608,"km_value":14612866015428.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799610294215206912,"description":"Unknown IO ID 45"} 
[2026-08-22 15:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572661760001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1799610294215206912}} 
[2026-08-22 15:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":159872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:37:58] local.INFO: GPS data processed {"connection_id":159872,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:37:58] local.INFO: Acknowledgment sent {"connection_id":159872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:38:26] local.INFO: TCP Data received {"connection_id":161035,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:38:26] local.INFO: Processing buffer {"connection_id":161035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:38:26] local.INFO: Packet analysis {"connection_id":161035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:38:26] local.INFO: Extracted packet for processing {"connection_id":161035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:38:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":15,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572543488001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:38: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-22 15:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787393049000,"timestamp_ms":1787393049000,"timestamp_seconds":1787393049,"priority":1,"record_length":96,"hex_timestamp":"000001a028ed81a8"} 
[2026-08-22 15:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15: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-22 15:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 15:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572543488001,"66":25582,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572543488001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:38:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572543488001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":161035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:38:26] local.INFO: GPS data processed {"connection_id":161035,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:38:26] local.INFO: Acknowledgment sent {"connection_id":161035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:38:29] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028f015d0012d1915800720c4b8003600752b..."} 
[2026-08-22 15:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f015d0012d1915800720c4b8003600752b..."} 
[2026-08-22 15:38:29] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f015d0012d1915800720c4b8003600752b..."} 
[2026-08-22 15:38:29] local.INFO: Packet analysis {"connection_id":159872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f0"} 
[2026-08-22 15:38:29] local.INFO: Extracted packet for processing {"connection_id":159872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f0"} 
[2026-08-22 15:38:29] local.INFO: GPS Element Parsed {"raw_longitude":756618624,"raw_latitude":119588024,"longitude_deg":75.6618624,"latitude_deg":11.9588024,"altitude":54,"angle":117,"satellites":43,"speed":48,"hex_longitude":"2d191580","hex_latitude":"0720c4b8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572661760001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14613265447387136,"note":"Value kept but may cause issues"} 
[2026-08-22 15:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799610294215206912,"note":"Value kept but may cause issues"} 
[2026-08-22 15:38:29] 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-22 15:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787393218000,"timestamp_ms":1787393218000,"timestamp_seconds":1787393218,"priority":1,"record_length":96,"hex_timestamp":"000001a028f015d0"} 
[2026-08-22 15: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-22 15:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 15:38:29] 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-22 15: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-22 15: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-22 15:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572661760001,"66":14157,"103":206,"83":41984,"24":48,"16":14613265447387136,"45":1799610294215206912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 15:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572661760001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:38:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 15:38:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14613265447387136,"km_value":14613265447387.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799610294215206912,"description":"Unknown IO ID 45"} 
[2026-08-22 15:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572661760001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1799610294215206912}} 
[2026-08-22 15:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":159872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:38:29] local.INFO: GPS data processed {"connection_id":159872,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:38:29] local.INFO: Acknowledgment sent {"connection_id":159872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:38:48] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:38:48] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:38:48] local.INFO: IMEI packet received {"connection_id":159873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":159873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:38:52] local.INFO: TCP Data received {"connection_id":162474,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:38:52] local.INFO: Processing buffer {"connection_id":162474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:38:52] local.INFO: IMEI packet received {"connection_id":162474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":162474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:38:56] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:38:56] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:38:56] local.INFO: IMEI packet received {"connection_id":159873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":159873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:38:57] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:38:57] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:38:57] local.INFO: Packet analysis {"connection_id":159873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:38:57] local.INFO: Extracted packet for processing {"connection_id":159873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":15,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572543488001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:38: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-22 15:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787393049000,"timestamp_ms":1787393049000,"timestamp_seconds":1787393049,"priority":1,"record_length":96,"hex_timestamp":"000001a028ed81a8"} 
[2026-08-22 15: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-22 15: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-22 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 15:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15: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-22 15: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-22 15:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572543488001,"66":25582,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572543488001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:38:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572543488001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":159873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:38:57] local.INFO: GPS data processed {"connection_id":159873,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:38:57] local.INFO: Acknowledgment sent {"connection_id":159873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:38:58] local.INFO: TCP Data received {"connection_id":162474,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:38:58] local.INFO: Processing buffer {"connection_id":162474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:38:58] local.INFO: IMEI packet received {"connection_id":162474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":162474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:38:59] local.INFO: TCP Data received {"connection_id":162474,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028f0e8c0012d19b90007209fe0003700d82a..."} 
[2026-08-22 15:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f0e8c0012d19b90007209fe0003700d82a..."} 
[2026-08-22 15:38:59] local.INFO: Processing buffer {"connection_id":162474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f0e8c0012d19b90007209fe0003700d82a..."} 
[2026-08-22 15:38:59] local.INFO: Packet analysis {"connection_id":162474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f0"} 
[2026-08-22 15:38:59] local.INFO: Extracted packet for processing {"connection_id":162474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f0"} 
[2026-08-22 15:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119578592,"longitude_deg":75.666048,"latitude_deg":11.9578592,"altitude":55,"angle":216,"satellites":42,"speed":24,"hex_longitude":"2d19b900","hex_latitude":"07209fe0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572677376001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14615520305217536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702205347840,"note":"Value kept but may cause issues"} 
[2026-08-22 15:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787393272000,"timestamp_ms":1787393272000,"timestamp_seconds":1787393272,"priority":1,"record_length":96,"hex_timestamp":"000001a028f0e8c0"} 
[2026-08-22 15: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-22 15:38: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-22 15: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 15:38:59] 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-22 15: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-22 15: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-22 15:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572677376001,"66":13559,"103":206,"83":41984,"24":24,"16":14615520305217536,"45":1854075702205347840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 15:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572677376001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:38:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 15:38:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14615520305217536,"km_value":14615520305217.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702205347840,"description":"Unknown IO ID 45"} 
[2026-08-22 15:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572677376001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1854075702205347840}} 
[2026-08-22 15:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":162474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:38:59] local.INFO: GPS data processed {"connection_id":162474,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:38:59] local.INFO: Acknowledgment sent {"connection_id":162474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:39:29] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:39:29] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028ed81a8012d7fabc005afdd80000f001a26..."} 
[2026-08-22 15:39:29] local.INFO: Packet analysis {"connection_id":159873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:39:29] local.INFO: Extracted packet for processing {"connection_id":159873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028ed"} 
[2026-08-22 15:39:29] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":15,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572543488001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:39: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-22 15:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787393049000,"timestamp_ms":1787393049000,"timestamp_seconds":1787393049,"priority":1,"record_length":96,"hex_timestamp":"000001a028ed81a8"} 
[2026-08-22 15:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:39: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-22 15:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 15:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572543488001,"66":25582,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572543488001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:39:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:39:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572543488001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":159873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:39:29] local.INFO: GPS data processed {"connection_id":159873,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:39:29] local.INFO: Acknowledgment sent {"connection_id":159873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:39:30] local.INFO: TCP Data received {"connection_id":162474,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028f1b3e0012d19f040071ffc38002f00662b..."} 
[2026-08-22 15:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f1b3e0012d19f040071ffc38002f00662b..."} 
[2026-08-22 15:39:30] local.INFO: Processing buffer {"connection_id":162474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f1b3e0012d19f040071ffc38002f00662b..."} 
[2026-08-22 15:39:30] local.INFO: Packet analysis {"connection_id":162474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f1"} 
[2026-08-22 15:39:30] local.INFO: Extracted packet for processing {"connection_id":162474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f1"} 
[2026-08-22 15:39:30] local.INFO: GPS Element Parsed {"raw_longitude":756674624,"raw_latitude":119536696,"longitude_deg":75.6674624,"latitude_deg":11.9536696,"altitude":47,"angle":102,"satellites":43,"speed":28,"hex_longitude":"2d19f040","hex_latitude":"071ffc38","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572690432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14617873947295744,"note":"Value kept but may cause issues"} 
[2026-08-22 15:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867656869820905472,"note":"Value kept but may cause issues"} 
[2026-08-22 15:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787393324000,"timestamp_ms":1787393324000,"timestamp_seconds":1787393324,"priority":1,"record_length":96,"hex_timestamp":"000001a028f1b3e0"} 
[2026-08-22 15: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-22 15:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 15:39:30] 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-22 15: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-22 15: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-22 15:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572690432001,"66":14037,"101":206,"83":41984,"24":28,"16":14617873947295744,"45":1867656869820905472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572690432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:39:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:39:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14617873947295744,"km_value":14617873947295.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867656869820905472,"description":"Unknown IO ID 45"} 
[2026-08-22 15:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572690432001,"power":14037,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1867656869820905472}} 
[2026-08-22 15:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":162474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:39:30] local.INFO: GPS data processed {"connection_id":162474,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:39:30] local.INFO: Acknowledgment sent {"connection_id":162474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:39:52] local.INFO: TCP Data received {"connection_id":161036,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:39:52] local.INFO: Processing buffer {"connection_id":161036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:39:52] local.INFO: IMEI packet received {"connection_id":161036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":161036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:39:52] local.INFO: TCP Data received {"connection_id":161036,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:39:52] local.INFO: Processing buffer {"connection_id":161036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:39:52] local.INFO: IMEI packet received {"connection_id":161036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":161036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:39:54] local.INFO: TCP Data received {"connection_id":161037,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:39:54] local.INFO: Processing buffer {"connection_id":161037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:39:54] local.INFO: IMEI packet received {"connection_id":161037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":161037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:39:57] local.INFO: TCP Data received {"connection_id":161036,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:39:57] local.INFO: Processing buffer {"connection_id":161036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:39:57] local.INFO: IMEI packet received {"connection_id":161036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":161036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:39:57] local.INFO: TCP Data received {"connection_id":161036,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028f1b7c8012d19f3c0071ffca0003000582c..."} 
[2026-08-22 15:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f1b7c8012d19f3c0071ffca0003000582c..."} 
[2026-08-22 15:39:57] local.INFO: Processing buffer {"connection_id":161036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f1b7c8012d19f3c0071ffca0003000582c..."} 
[2026-08-22 15:39:57] local.INFO: Packet analysis {"connection_id":161036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f1"} 
[2026-08-22 15:39:57] local.INFO: Extracted packet for processing {"connection_id":161036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f1"} 
[2026-08-22 15:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756675520,"raw_latitude":119536800,"longitude_deg":75.667552,"latitude_deg":11.95368,"altitude":48,"angle":88,"satellites":44,"speed":32,"hex_longitude":"2d19f3c0","hex_latitude":"071ffca0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572690944001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14617916896968704,"note":"Value kept but may cause issues"} 
[2026-08-22 15:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869064244704327680,"note":"Value kept but may cause issues"} 
[2026-08-22 15:39:57] 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-22 15:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787393325000,"timestamp_ms":1787393325000,"timestamp_seconds":1787393325,"priority":1,"record_length":96,"hex_timestamp":"000001a028f1b7c8"} 
[2026-08-22 15: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-22 15:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":54,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-08-22 15:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2385,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15: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-22 15: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-22 15:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572690944001,"66":14374,"101":206,"83":41984,"24":32,"16":14617916896968704,"45":1869064244704327680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572690944001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:39:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:39:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14617916896968704,"km_value":14617916896968.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869064244704327680,"description":"Unknown IO ID 45"} 
[2026-08-22 15:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572690944001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1869064244704327680}} 
[2026-08-22 15:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":161036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:39:57] local.INFO: GPS data processed {"connection_id":161036,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:39:57] local.INFO: Acknowledgment sent {"connection_id":161036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:39:58] local.INFO: TCP Data received {"connection_id":161037,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:39:58] local.INFO: Processing buffer {"connection_id":161037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:39:58] local.INFO: IMEI packet received {"connection_id":161037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":161037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:40:00] local.INFO: TCP Data received {"connection_id":161037,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028f21970012d7fabc005afdd800023001a27..."} 
[2026-08-22 15:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f21970012d7fabc005afdd800023001a27..."} 
[2026-08-22 15:40:00] local.INFO: Processing buffer {"connection_id":161037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f21970012d7fabc005afdd800023001a27..."} 
[2026-08-22 15:40:00] local.INFO: Packet analysis {"connection_id":161037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f2"} 
[2026-08-22 15:40:00] local.INFO: Extracted packet for processing {"connection_id":161037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f2"} 
[2026-08-22 15:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":35,"angle":26,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572620544001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40:00] 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-22 15:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787393350000,"timestamp_ms":1787393350000,"timestamp_seconds":1787393350,"priority":1,"record_length":96,"hex_timestamp":"000001a028f21970"} 
[2026-08-22 15: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-22 15:40: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-22 15: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 15:40: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-22 15: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-22 15: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-22 15:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572620544001,"66":25582,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572620544001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:40:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:40:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572620544001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":161037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:40:00] local.INFO: GPS data processed {"connection_id":161037,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:40:00] local.INFO: Acknowledgment sent {"connection_id":161037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:40:01] local.INFO: TCP Data received {"connection_id":161037,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028f24c38012d7fabc005afdd800023001a25..."} 
[2026-08-22 15:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f24c38012d7fabc005afdd800023001a25..."} 
[2026-08-22 15:40:01] local.INFO: Processing buffer {"connection_id":161037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f24c38012d7fabc005afdd800023001a25..."} 
[2026-08-22 15:40:01] local.INFO: Packet analysis {"connection_id":161037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f2"} 
[2026-08-22 15:40:01] local.INFO: Extracted packet for processing {"connection_id":161037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f2"} 
[2026-08-22 15:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411584,"longitude_deg":76.334176,"latitude_deg":9.5411584,"altitude":35,"angle":26,"satellites":37,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afdd80","is_valid_coordinates":true} 
[2026-08-22 15:40: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-22 15:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572697600001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40:01] 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-22 15:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787393363000,"timestamp_ms":1787393363000,"timestamp_seconds":1787393363,"priority":1,"record_length":96,"hex_timestamp":"000001a028f24c38"} 
[2026-08-22 15: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-22 15:40: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-22 15: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 15:40:01] 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-22 15: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-22 15: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-22 15:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572697600001,"66":25582,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572697600001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:40:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572697600001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":161037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:40:01] local.INFO: GPS data processed {"connection_id":161037,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:40:01] local.INFO: Acknowledgment sent {"connection_id":161037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:40:28] local.INFO: TCP Data received {"connection_id":161036,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028f1c380012d19fec0071ffbf8002f006c2c..."} 
[2026-08-22 15:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f1c380012d19fec0071ffbf8002f006c2c..."} 
[2026-08-22 15:40:28] local.INFO: Processing buffer {"connection_id":161036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f1c380012d19fec0071ffbf8002f006c2c..."} 
[2026-08-22 15:40:28] local.INFO: Packet analysis {"connection_id":161036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f1"} 
[2026-08-22 15:40:28] local.INFO: Extracted packet for processing {"connection_id":161036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f1"} 
[2026-08-22 15:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756678336,"raw_latitude":119536632,"longitude_deg":75.6678336,"latitude_deg":11.9536632,"altitude":47,"angle":108,"satellites":44,"speed":38,"hex_longitude":"2d19fec0","hex_latitude":"071ffbf8","is_valid_coordinates":true} 
[2026-08-22 15:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572691200001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14618050040954880,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870049407122841600,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40:28] 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-22 15:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787393328000,"timestamp_ms":1787393328000,"timestamp_seconds":1787393328,"priority":1,"record_length":96,"hex_timestamp":"000001a028f1c380"} 
[2026-08-22 15:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 15:40:28] 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-22 15:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572691200001,"66":14407,"101":206,"83":41984,"24":38,"16":14618050040954880,"45":1870049407122841600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572691200001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:40:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14618050040954880,"km_value":14618050040954.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870049407122841600,"description":"Unknown IO ID 45"} 
[2026-08-22 15:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572691200001,"power":14407,"unknown_101":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1870049407122841600}} 
[2026-08-22 15:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":161036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:40:29] local.INFO: GPS data processed {"connection_id":161036,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:40:29] local.INFO: Acknowledgment sent {"connection_id":161036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:40:34] local.INFO: TCP Data received {"connection_id":161037,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028f25bd8012d7fa4c005afdee00023011526..."} 
[2026-08-22 15:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f25bd8012d7fa4c005afdee00023011526..."} 
[2026-08-22 15:40:34] local.INFO: Processing buffer {"connection_id":161037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f25bd8012d7fa4c005afdee00023011526..."} 
[2026-08-22 15:40:34] local.INFO: Packet analysis {"connection_id":161037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f2"} 
[2026-08-22 15:40:34] local.INFO: Extracted packet for processing {"connection_id":161037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f2"} 
[2026-08-22 15:40:34] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95411936,"longitude_deg":76.3339968,"latitude_deg":9.5411936,"altitude":35,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afdee0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572700928001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492268544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40: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-22 15:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787393367000,"timestamp_ms":1787393367000,"timestamp_seconds":1787393367,"priority":1,"record_length":96,"hex_timestamp":"000001a028f25bd8"} 
[2026-08-22 15: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-22 15: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-22 15: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 15:40:34] 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-22 15: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-22 15: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-22 15:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572700928001,"66":25375,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9199657794492268544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572700928001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:40:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:40:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492268544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572700928001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492268544}} 
[2026-08-22 15:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":161037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:40:34] local.INFO: GPS data processed {"connection_id":161037,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:40:34] local.INFO: Acknowledgment sent {"connection_id":161037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:40:47] local.INFO: TCP Data received {"connection_id":160118,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:40:47] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:40:47] local.INFO: IMEI packet received {"connection_id":160118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":160118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:40:48] local.INFO: TCP Data received {"connection_id":160118,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:40:48] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:40:48] local.INFO: IMEI packet received {"connection_id":160118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":160118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:40:53] local.INFO: TCP Data received {"connection_id":162475,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:40:53] local.INFO: Processing buffer {"connection_id":162475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:40:53] local.INFO: IMEI packet received {"connection_id":162475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":162475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:40:54] local.INFO: TCP Data received {"connection_id":160118,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:40:54] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:40:54] local.INFO: IMEI packet received {"connection_id":160118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":160118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:40:55] local.INFO: TCP Data received {"connection_id":160118,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028f2ade0012d7fa4c005afdee00023011522..."} 
[2026-08-22 15:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f2ade0012d7fa4c005afdee00023011522..."} 
[2026-08-22 15:40:55] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f2ade0012d7fa4c005afdee00023011522..."} 
[2026-08-22 15:40:55] local.INFO: Packet analysis {"connection_id":160118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f2"} 
[2026-08-22 15:40:55] local.INFO: Extracted packet for processing {"connection_id":160118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f2"} 
[2026-08-22 15:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95411936,"longitude_deg":76.3339968,"latitude_deg":9.5411936,"altitude":35,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afdee0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572701952001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655384064,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40: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-22 15:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787393388000,"timestamp_ms":1787393388000,"timestamp_seconds":1787393388,"priority":1,"record_length":96,"hex_timestamp":"000001a028f2ade0"} 
[2026-08-22 15: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-22 15:40: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-22 15:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-22 15:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15: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-22 15: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-22 15:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572701952001,"66":27571,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9197687469655384064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572701952001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:40:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:40:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655384064,"description":"Unknown IO ID 45"} 
[2026-08-22 15:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572701952001,"power":27571,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655384064}} 
[2026-08-22 15:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":160118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:40:55] local.INFO: GPS data processed {"connection_id":160118,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:40:55] local.INFO: Acknowledgment sent {"connection_id":160118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:40:58] local.INFO: TCP Data received {"connection_id":162475,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:40:58] local.INFO: Processing buffer {"connection_id":162475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:40:58] local.INFO: IMEI packet received {"connection_id":162475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":162475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:40:58] local.INFO: TCP Data received {"connection_id":162475,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028f2c938012d1ac540071f9090003a008e2a..."} 
[2026-08-22 15:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f2c938012d1ac540071f9090003a008e2a..."} 
[2026-08-22 15:40:58] local.INFO: Processing buffer {"connection_id":162475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f2c938012d1ac540071f9090003a008e2a..."} 
[2026-08-22 15:40:58] local.INFO: Packet analysis {"connection_id":162475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f2"} 
[2026-08-22 15:40:58] local.INFO: Extracted packet for processing {"connection_id":162475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f2"} 
[2026-08-22 15:40:58] local.INFO: GPS Element Parsed {"raw_longitude":756729152,"raw_latitude":119509136,"longitude_deg":75.6729152,"latitude_deg":11.9509136,"altitude":58,"angle":142,"satellites":42,"speed":22,"hex_longitude":"2d1ac540","hex_latitude":"071f9090","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572708864001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14620940553945088,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928596202271684608,"note":"Value kept but may cause issues"} 
[2026-08-22 15:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787393395000,"timestamp_ms":1787393395000,"timestamp_seconds":1787393395,"priority":1,"record_length":96,"hex_timestamp":"000001a028f2c938"} 
[2026-08-22 15: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-22 15:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-22 15:40: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-22 15: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-22 15: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-22 15:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572708864001,"66":13624,"101":206,"83":41984,"24":22,"16":14620940553945088,"45":1928596202271684608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572708864001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:40:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:40:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14620940553945088,"km_value":14620940553945.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928596202271684608,"description":"Unknown IO ID 45"} 
[2026-08-22 15:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572708864001,"power":13624,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1928596202271684608}} 
[2026-08-22 15:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":162475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:40:58] local.INFO: GPS data processed {"connection_id":162475,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:40:58] local.INFO: Acknowledgment sent {"connection_id":162475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:41:26] local.INFO: TCP Data received {"connection_id":160118,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028f2ffe8012d7fa4c005afdee00023011524..."} 
[2026-08-22 15:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f2ffe8012d7fa4c005afdee00023011524..."} 
[2026-08-22 15:41:26] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f2ffe8012d7fa4c005afdee00023011524..."} 
[2026-08-22 15:41:26] local.INFO: Packet analysis {"connection_id":160118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f2"} 
[2026-08-22 15:41:26] local.INFO: Extracted packet for processing {"connection_id":160118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f2"} 
[2026-08-22 15:41:26] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95411936,"longitude_deg":76.3339968,"latitude_deg":9.5411936,"altitude":35,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afdee0","is_valid_coordinates":true} 
[2026-08-22 15:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572707328001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926588781068288,"note":"Value kept but may cause issues"} 
[2026-08-22 15:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655384064,"note":"Value kept but may cause issues"} 
[2026-08-22 15:41: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-22 15:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787393409000,"timestamp_ms":1787393409000,"timestamp_seconds":1787393409,"priority":1,"record_length":96,"hex_timestamp":"000001a028f2ffe8"} 
[2026-08-22 15:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:41: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-22 15:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 15:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572707328001,"66":27767,"28":206,"85":12544,"24":0,"16":388926588781068288,"45":9197687469655384064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 15:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572707328001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:41:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 15:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926588781068288,"km_value":388926588781068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655384064,"description":"Unknown IO ID 45"} 
[2026-08-22 15:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572707328001,"power":27767,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655384064}} 
[2026-08-22 15:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":160118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:41:26] local.INFO: GPS data processed {"connection_id":160118,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:41:26] local.INFO: Acknowledgment sent {"connection_id":160118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:41:30] local.INFO: TCP Data received {"connection_id":162475,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028f2cd20012d1ac640071f8e98003a009e2a..."} 
[2026-08-22 15:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f2cd20012d1ac640071f8e98003a009e2a..."} 
[2026-08-22 15:41:30] local.INFO: Processing buffer {"connection_id":162475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f2cd20012d1ac640071f8e98003a009e2a..."} 
[2026-08-22 15:41:30] local.INFO: Packet analysis {"connection_id":162475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f2"} 
[2026-08-22 15:41:30] local.INFO: Extracted packet for processing {"connection_id":162475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f2"} 
[2026-08-22 15:41:30] local.INFO: GPS Element Parsed {"raw_longitude":756729408,"raw_latitude":119508632,"longitude_deg":75.6729408,"latitude_deg":11.9508632,"altitude":58,"angle":158,"satellites":42,"speed":22,"hex_longitude":"2d1ac640","hex_latitude":"071f8e98","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572709120001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14620970618716160,"note":"Value kept but may cause issues"} 
[2026-08-22 15:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414736642048,"note":"Value kept but may cause issues"} 
[2026-08-22 15:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787393396000,"timestamp_ms":1787393396000,"timestamp_seconds":1787393396,"priority":1,"record_length":96,"hex_timestamp":"000001a028f2cd20"} 
[2026-08-22 15: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-22 15:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-22 15:41:30] 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-22 15: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-22 15: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-22 15:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572709120001,"66":13624,"101":206,"83":41984,"24":22,"16":14620970618716160,"45":1929018414736642048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572709120001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:41:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:41:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14620970618716160,"km_value":14620970618716.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414736642048,"description":"Unknown IO ID 45"} 
[2026-08-22 15:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572709120001,"power":13624,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1929018414736642048}} 
[2026-08-22 15:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":162475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:41:30] local.INFO: GPS data processed {"connection_id":162475,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:41:30] local.INFO: Acknowledgment sent {"connection_id":162475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:41:48] local.INFO: TCP Data received {"connection_id":162476,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:41:48] local.INFO: Processing buffer {"connection_id":162476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:41:48] local.INFO: IMEI packet received {"connection_id":162476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":162476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:41:51] local.INFO: TCP Data received {"connection_id":161038,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:41:51] local.INFO: Processing buffer {"connection_id":161038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:41:51] local.INFO: IMEI packet received {"connection_id":161038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":161038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:41:52] local.INFO: TCP Data received {"connection_id":161038,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:41:52] local.INFO: Processing buffer {"connection_id":161038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:41:52] local.INFO: IMEI packet received {"connection_id":161038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":161038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:41:53] local.INFO: TCP Data received {"connection_id":161038,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:41:53] local.INFO: Processing buffer {"connection_id":161038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:41:53] local.INFO: IMEI packet received {"connection_id":161038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":161038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:41:54] local.INFO: TCP Data received {"connection_id":162476,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:41:54] local.INFO: Processing buffer {"connection_id":162476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:41:54] local.INFO: IMEI packet received {"connection_id":162476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":162476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:41:54] local.INFO: TCP Data received {"connection_id":161038,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:41:54] local.INFO: Processing buffer {"connection_id":161038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:41:54] local.INFO: IMEI packet received {"connection_id":161038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":161038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:41:59] local.INFO: TCP Data received {"connection_id":162476,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028f332b0012d7fa30005afe1100014015327..."} 
[2026-08-22 15:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f332b0012d7fa30005afe1100014015327..."} 
[2026-08-22 15:41:59] local.INFO: Processing buffer {"connection_id":162476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f332b0012d7fa30005afe1100014015327..."} 
[2026-08-22 15:41:59] local.INFO: Packet analysis {"connection_id":162476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f3"} 
[2026-08-22 15:41:59] local.INFO: Extracted packet for processing {"connection_id":162476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f3"} 
[2026-08-22 15:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763339520,"raw_latitude":95412496,"longitude_deg":76.333952,"latitude_deg":9.5412496,"altitude":20,"angle":339,"satellites":39,"speed":4,"hex_longitude":"2d7fa300","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572712704001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926623140806656,"note":"Value kept but may cause issues"} 
[2026-08-22 15:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655384064,"note":"Value kept but may cause issues"} 
[2026-08-22 15:41:59] 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-22 15:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787393422000,"timestamp_ms":1787393422000,"timestamp_seconds":1787393422,"priority":1,"record_length":96,"hex_timestamp":"000001a028f332b0"} 
[2026-08-22 15: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-22 15:41:59] 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-22 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 15:41: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-22 15: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-22 15: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-22 15:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572712704001,"66":27974,"27":206,"85":12544,"24":4,"16":388926623140806656,"45":9197687469655384064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 15:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572712704001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:41:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 15:41:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926623140806656,"km_value":388926623140806.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655384064,"description":"Unknown IO ID 45"} 
[2026-08-22 15:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572712704001,"power":27974,"unknown_27":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9197687469655384064}} 
[2026-08-22 15:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":162476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:41:59] local.INFO: GPS data processed {"connection_id":162476,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:41:59] local.INFO: Acknowledgment sent {"connection_id":162476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:42:30] local.INFO: TCP Data received {"connection_id":162476,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028f47ad0012d7fab8005afe0e0000c008627..."} 
[2026-08-22 15:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f47ad0012d7fab8005afe0e0000c008627..."} 
[2026-08-22 15:42:30] local.INFO: Processing buffer {"connection_id":162476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f47ad0012d7fab8005afe0e0000c008627..."} 
[2026-08-22 15:42:30] local.INFO: Packet analysis {"connection_id":162476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:42:30] local.INFO: Extracted packet for processing {"connection_id":162476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763341696,"raw_latitude":95412448,"longitude_deg":76.3341696,"latitude_deg":9.5412448,"altitude":12,"angle":134,"satellites":39,"speed":0,"hex_longitude":"2d7fab80","hex_latitude":"05afe0e0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572737280001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926773464662016,"note":"Value kept but may cause issues"} 
[2026-08-22 15:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199587425748316160,"note":"Value kept but may cause issues"} 
[2026-08-22 15:42:30] 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-22 15:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787393506000,"timestamp_ms":1787393506000,"timestamp_seconds":1787393506,"priority":1,"record_length":96,"hex_timestamp":"000001a028f47ad0"} 
[2026-08-22 15: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-22 15:42: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-22 15: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-22 15:42:30] 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-22 15: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-22 15: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-22 15:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572737280001,"66":27767,"27":206,"85":12544,"24":0,"16":388926773464662016,"45":9199587425748316160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 15:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572737280001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:42:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 15:42:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926773464662016,"km_value":388926773464662.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199587425748316160,"description":"Unknown IO ID 45"} 
[2026-08-22 15:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572737280001,"power":27767,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199587425748316160}} 
[2026-08-22 15:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":162476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:42:30] local.INFO: GPS data processed {"connection_id":162476,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:42:30] local.INFO: Acknowledgment sent {"connection_id":162476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:42:49] local.INFO: TCP Data received {"connection_id":160119,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:42:49] local.INFO: Processing buffer {"connection_id":160119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:42:49] local.INFO: IMEI packet received {"connection_id":160119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":160119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:42:54] local.INFO: TCP Data received {"connection_id":160119,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:42:54] local.INFO: Processing buffer {"connection_id":160119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:42:54] local.INFO: IMEI packet received {"connection_id":160119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":160119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:42:55] local.INFO: TCP Data received {"connection_id":160119,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028f47eb8012d7fab8005afe0c8000c007227..."} 
[2026-08-22 15:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f47eb8012d7fab8005afe0c8000c007227..."} 
[2026-08-22 15:42:55] local.INFO: Processing buffer {"connection_id":160119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f47eb8012d7fab8005afe0c8000c007227..."} 
[2026-08-22 15:42:55] local.INFO: Packet analysis {"connection_id":160119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:42:55] local.INFO: Extracted packet for processing {"connection_id":160119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763341696,"raw_latitude":95412424,"longitude_deg":76.3341696,"latitude_deg":9.5412424,"altitude":12,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d7fab80","hex_latitude":"05afe0c8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572737536001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926773464662016,"note":"Value kept but may cause issues"} 
[2026-08-22 15:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199587425748312064,"note":"Value kept but may cause issues"} 
[2026-08-22 15:42:55] 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-22 15:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787393507000,"timestamp_ms":1787393507000,"timestamp_seconds":1787393507,"priority":1,"record_length":96,"hex_timestamp":"000001a028f47eb8"} 
[2026-08-22 15: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-22 15:42:55] 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-22 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 15:42: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-22 15: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-22 15: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-22 15:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572737536001,"66":27767,"27":206,"85":12544,"24":0,"16":388926773464662016,"45":9199587425748312064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 15:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572737536001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:42:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 15:42:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926773464662016,"km_value":388926773464662.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199587425748312064,"description":"Unknown IO ID 45"} 
[2026-08-22 15:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572737536001,"power":27767,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199587425748312064}} 
[2026-08-22 15:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":160119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:42:55] local.INFO: GPS data processed {"connection_id":160119,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:42:55] local.INFO: Acknowledgment sent {"connection_id":160119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:43:26] local.INFO: TCP Data received {"connection_id":160119,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a028f482a0012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f482a0012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:43:26] local.INFO: Processing buffer {"connection_id":160119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f482a0012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:43:26] local.INFO: Packet analysis {"connection_id":160119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:43:26] local.INFO: Extracted packet for processing {"connection_id":160119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:43:26] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412416,"longitude_deg":76.334176,"latitude_deg":9.5412416,"altitude":12,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe0c0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572737792001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199587425748305920,"note":"Value kept but may cause issues"} 
[2026-08-22 15:43:26] 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-22 15:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787393508000,"timestamp_ms":1787393508000,"timestamp_seconds":1787393508,"priority":1,"record_length":96,"hex_timestamp":"000001a028f482a0"} 
[2026-08-22 15: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-22 15:43: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-22 15:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 15:43: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-22 15: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-22 15: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-22 15:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572737792001,"66":27484,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199587425748305920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 15:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572737792001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:43:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 15:43:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199587425748305920,"description":"Unknown IO ID 45"} 
[2026-08-22 15:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572737792001,"power":27484,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199587425748305920}} 
[2026-08-22 15:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":160119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:43:26] local.INFO: GPS data processed {"connection_id":160119,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:43:26] local.INFO: Acknowledgment sent {"connection_id":160119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:43:48] local.INFO: TCP Data received {"connection_id":161040,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:43:48] local.INFO: Processing buffer {"connection_id":161040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:43:48] local.INFO: IMEI packet received {"connection_id":161040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":161040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:43:54] local.INFO: TCP Data received {"connection_id":161040,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:43:54] local.INFO: Processing buffer {"connection_id":161040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:43:54] local.INFO: IMEI packet received {"connection_id":161040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":161040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:43:54] local.INFO: TCP Data received {"connection_id":161040,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:43:54] local.INFO: Processing buffer {"connection_id":161040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:43:54] local.INFO: Packet analysis {"connection_id":161040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:43:54] local.INFO: Extracted packet for processing {"connection_id":161040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412416,"longitude_deg":76.334176,"latitude_deg":9.5412416,"altitude":12,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe0c0","is_valid_coordinates":true} 
[2026-08-22 15:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572738048001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:43:54] 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-22 15:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787393519000,"timestamp_ms":1787393519000,"timestamp_seconds":1787393519,"priority":1,"record_length":96,"hex_timestamp":"000001a028f4ad98"} 
[2026-08-22 15:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:43:54] 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-22 15:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 15:43:54] 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-22 15:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572738048001,"66":27876,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 15:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572738048001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:43:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 15:43:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572738048001,"power":27876,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":161040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:43:55] local.INFO: GPS data processed {"connection_id":161040,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:43:55] local.INFO: Acknowledgment sent {"connection_id":161040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:44:25] local.INFO: TCP Data received {"connection_id":161040,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:44:25] local.INFO: Processing buffer {"connection_id":161040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:44:25] local.INFO: Packet analysis {"connection_id":161040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:44:25] local.INFO: Extracted packet for processing {"connection_id":161040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:44:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412416,"longitude_deg":76.334176,"latitude_deg":9.5412416,"altitude":12,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe0c0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572738048001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:44:25] 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-22 15:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787393519000,"timestamp_ms":1787393519000,"timestamp_seconds":1787393519,"priority":1,"record_length":96,"hex_timestamp":"000001a028f4ad98"} 
[2026-08-22 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-22 15:44: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-22 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 15:44: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-22 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-22 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-22 15:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572738048001,"66":27876,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 15:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572738048001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:44:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 15:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572738048001,"power":27876,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":161040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:44:25] local.INFO: GPS data processed {"connection_id":161040,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:44:25] local.INFO: Acknowledgment sent {"connection_id":161040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:44:54] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:44:54] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:44:54] local.INFO: IMEI packet received {"connection_id":159874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":159874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:44:59] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:44:59] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:44:59] local.INFO: IMEI packet received {"connection_id":159874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":159874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:45:00] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:45:00] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:45:00] local.INFO: Packet analysis {"connection_id":159874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:45:00] local.INFO: Extracted packet for processing {"connection_id":159874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412416,"longitude_deg":76.334176,"latitude_deg":9.5412416,"altitude":12,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe0c0","is_valid_coordinates":true} 
[2026-08-22 15:45: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-22 15:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572738048001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:45:00] 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-22 15:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787393519000,"timestamp_ms":1787393519000,"timestamp_seconds":1787393519,"priority":1,"record_length":96,"hex_timestamp":"000001a028f4ad98"} 
[2026-08-22 15:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:45:00] 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-22 15:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 15:45: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-22 15:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572738048001,"66":27876,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 15:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572738048001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:45:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 15:45:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572738048001,"power":27876,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":159874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:45:00] local.INFO: GPS data processed {"connection_id":159874,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:45:00] local.INFO: Acknowledgment sent {"connection_id":159874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:45:04] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:45:04] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:45:04] local.INFO: Packet analysis {"connection_id":159874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:45:04] local.INFO: Extracted packet for processing {"connection_id":159874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412416,"longitude_deg":76.334176,"latitude_deg":9.5412416,"altitude":12,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe0c0","is_valid_coordinates":true} 
[2026-08-22 15:45: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-22 15:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572738048001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:45:04] 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-22 15:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787393519000,"timestamp_ms":1787393519000,"timestamp_seconds":1787393519,"priority":1,"record_length":96,"hex_timestamp":"000001a028f4ad98"} 
[2026-08-22 15:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:45:04] 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-22 15:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 15:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 15:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572738048001,"66":27876,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 15:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572738048001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:45:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 15:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572738048001,"power":27876,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":159874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:45:04] local.INFO: GPS data processed {"connection_id":159874,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:45:04] local.INFO: Acknowledgment sent {"connection_id":159874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:45:09] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:45:09] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:45:09] local.INFO: Packet analysis {"connection_id":159874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:45:09] local.INFO: Extracted packet for processing {"connection_id":159874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412416,"longitude_deg":76.334176,"latitude_deg":9.5412416,"altitude":12,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe0c0","is_valid_coordinates":true} 
[2026-08-22 15:45: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-22 15:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572738048001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:45:09] 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-22 15:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787393519000,"timestamp_ms":1787393519000,"timestamp_seconds":1787393519,"priority":1,"record_length":96,"hex_timestamp":"000001a028f4ad98"} 
[2026-08-22 15:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:45:09] 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-22 15:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 15:45:09] 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-22 15:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572738048001,"66":27876,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 15:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572738048001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:45:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 15:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572738048001,"power":27876,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":159874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:45:09] local.INFO: GPS data processed {"connection_id":159874,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:45:09] local.INFO: Acknowledgment sent {"connection_id":159874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:45:49] local.INFO: TCP Data received {"connection_id":160120,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:45:49] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:45:49] local.INFO: IMEI packet received {"connection_id":160120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":160120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:45:54] local.INFO: TCP Data received {"connection_id":160120,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:45:54] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:45:54] local.INFO: IMEI packet received {"connection_id":160120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":160120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:45:57] local.INFO: TCP Data received {"connection_id":160120,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:45:57] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:45:57] local.INFO: Packet analysis {"connection_id":160120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:45:57] local.INFO: Extracted packet for processing {"connection_id":160120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:45:57] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412416,"longitude_deg":76.334176,"latitude_deg":9.5412416,"altitude":12,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe0c0","is_valid_coordinates":true} 
[2026-08-22 15:45: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-22 15:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572738048001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:45:57] 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-22 15:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787393519000,"timestamp_ms":1787393519000,"timestamp_seconds":1787393519,"priority":1,"record_length":96,"hex_timestamp":"000001a028f4ad98"} 
[2026-08-22 15: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-22 15:45:57] 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-22 15: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 15:45:57] 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-22 15: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-22 15: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-22 15:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572738048001,"66":27876,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 15:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572738048001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:45:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 15:45:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572738048001,"power":27876,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":160120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:45:57] local.INFO: GPS data processed {"connection_id":160120,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:45:57] local.INFO: Acknowledgment sent {"connection_id":160120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:46:28] local.INFO: TCP Data received {"connection_id":160120,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:46:28] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:46:28] local.INFO: Packet analysis {"connection_id":160120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:46:28] local.INFO: Extracted packet for processing {"connection_id":160120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412416,"longitude_deg":76.334176,"latitude_deg":9.5412416,"altitude":12,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe0c0","is_valid_coordinates":true} 
[2026-08-22 15:46: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-22 15:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572738048001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:46:28] 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-22 15:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787393519000,"timestamp_ms":1787393519000,"timestamp_seconds":1787393519,"priority":1,"record_length":96,"hex_timestamp":"000001a028f4ad98"} 
[2026-08-22 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-22 15:46:28] 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-22 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 15:46:28] 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-22 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-22 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-22 15:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572738048001,"66":27876,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 15:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572738048001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:46:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 15:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572738048001,"power":27876,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":160120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:46:28] local.INFO: GPS data processed {"connection_id":160120,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:46:28] local.INFO: Acknowledgment sent {"connection_id":160120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:46:48] local.INFO: TCP Data received {"connection_id":161041,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:46:48] local.INFO: Processing buffer {"connection_id":161041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:46:48] local.INFO: IMEI packet received {"connection_id":161041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":161041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:46:54] local.INFO: TCP Data received {"connection_id":161041,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:46:54] local.INFO: Processing buffer {"connection_id":161041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:46:54] local.INFO: IMEI packet received {"connection_id":161041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":161041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:46:54] local.INFO: TCP Data received {"connection_id":161041,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:46:54] local.INFO: Processing buffer {"connection_id":161041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:46:54] local.INFO: Packet analysis {"connection_id":161041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:46:54] local.INFO: Extracted packet for processing {"connection_id":161041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:46:54] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412416,"longitude_deg":76.334176,"latitude_deg":9.5412416,"altitude":12,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe0c0","is_valid_coordinates":true} 
[2026-08-22 15:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572738048001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:46:54] 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-22 15:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787393519000,"timestamp_ms":1787393519000,"timestamp_seconds":1787393519,"priority":1,"record_length":96,"hex_timestamp":"000001a028f4ad98"} 
[2026-08-22 15: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-22 15:46:54] 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-22 15: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 15:46:54] 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-22 15: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-22 15: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-22 15:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572738048001,"66":27876,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 15:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572738048001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:46:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 15:46:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572738048001,"power":27876,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":161041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:46:54] local.INFO: GPS data processed {"connection_id":161041,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:46:54] local.INFO: Acknowledgment sent {"connection_id":161041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:47:25] local.INFO: TCP Data received {"connection_id":161041,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:47:25] local.INFO: Processing buffer {"connection_id":161041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f4ad98012d7fabc005afe0c0000c006627..."} 
[2026-08-22 15:47:25] local.INFO: Packet analysis {"connection_id":161041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:47:25] local.INFO: Extracted packet for processing {"connection_id":161041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f4"} 
[2026-08-22 15:47:25] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412416,"longitude_deg":76.334176,"latitude_deg":9.5412416,"altitude":12,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe0c0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572738048001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:47:25] 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-22 15:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787393519000,"timestamp_ms":1787393519000,"timestamp_seconds":1787393519,"priority":1,"record_length":96,"hex_timestamp":"000001a028f4ad98"} 
[2026-08-22 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-22 15:47: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-22 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 15:47: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-22 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-22 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-22 15:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572738048001,"66":27876,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 15:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572738048001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:47:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 15:47:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572738048001,"power":27876,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":161041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:47:25] local.INFO: GPS data processed {"connection_id":161041,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:47:25] local.INFO: Acknowledgment sent {"connection_id":161041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:47:49] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:47:49] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:47:49] local.INFO: IMEI packet received {"connection_id":159875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":159875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:47:54] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:47:54] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:47:54] local.INFO: IMEI packet received {"connection_id":159875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":159875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:47:54] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:47:54] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:47:54] local.INFO: Packet analysis {"connection_id":159875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:47:54] local.INFO: Extracted packet for processing {"connection_id":159875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":11,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572740864001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787393822000,"timestamp_ms":1787393822000,"timestamp_seconds":1787393822,"priority":1,"record_length":96,"hex_timestamp":"000001a028f94d30"} 
[2026-08-22 15:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:47:54] 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-22 15:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 15:47:54] 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-22 15:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572740864001,"66":26289,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572740864001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:47:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:47:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572740864001,"power":26289,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":159875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:47:54] local.INFO: GPS data processed {"connection_id":159875,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:47:54] local.INFO: Acknowledgment sent {"connection_id":159875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:48:25] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:48:25] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:48:25] local.INFO: Packet analysis {"connection_id":159875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:48:25] local.INFO: Extracted packet for processing {"connection_id":159875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:48:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":11,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 15:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572740864001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787393822000,"timestamp_ms":1787393822000,"timestamp_seconds":1787393822,"priority":1,"record_length":96,"hex_timestamp":"000001a028f94d30"} 
[2026-08-22 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-22 15:48: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-22 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 15: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-22 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-22 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-22 15:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572740864001,"66":26289,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572740864001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:48:25] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572740864001,"power":26289,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":159875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:48:26] local.INFO: GPS data processed {"connection_id":159875,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:48:26] local.INFO: Acknowledgment sent {"connection_id":159875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:48:49] local.INFO: TCP Data received {"connection_id":161042,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:48:49] local.INFO: Processing buffer {"connection_id":161042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:48:49] local.INFO: IMEI packet received {"connection_id":161042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":161042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:48:54] local.INFO: TCP Data received {"connection_id":161042,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:48:54] local.INFO: Processing buffer {"connection_id":161042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:48:54] local.INFO: IMEI packet received {"connection_id":161042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":161042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:48:54] local.INFO: TCP Data received {"connection_id":161042,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:48:54] local.INFO: Processing buffer {"connection_id":161042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:48:54] local.INFO: Packet analysis {"connection_id":161042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:48:54] local.INFO: Extracted packet for processing {"connection_id":161042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":11,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572740864001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787393822000,"timestamp_ms":1787393822000,"timestamp_seconds":1787393822,"priority":1,"record_length":96,"hex_timestamp":"000001a028f94d30"} 
[2026-08-22 15:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:48:54] 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-22 15:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 15:48:54] 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-22 15:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572740864001,"66":26289,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572740864001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:48:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:48:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572740864001,"power":26289,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":161042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:48:54] local.INFO: GPS data processed {"connection_id":161042,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:48:54] local.INFO: Acknowledgment sent {"connection_id":161042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:49:26] local.INFO: TCP Data received {"connection_id":161042,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:49:26] local.INFO: Processing buffer {"connection_id":161042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:49:26] local.INFO: Packet analysis {"connection_id":161042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:49:26] local.INFO: Extracted packet for processing {"connection_id":161042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:49:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":11,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 15:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572740864001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787393822000,"timestamp_ms":1787393822000,"timestamp_seconds":1787393822,"priority":1,"record_length":96,"hex_timestamp":"000001a028f94d30"} 
[2026-08-22 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-22 15:49: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-22 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 15:49: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-22 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-22 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-22 15:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572740864001,"66":26289,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572740864001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:49:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:49:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572740864001,"power":26289,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":161042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:49:26] local.INFO: GPS data processed {"connection_id":161042,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:49:26] local.INFO: Acknowledgment sent {"connection_id":161042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:49:49] local.INFO: TCP Data received {"connection_id":162477,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:49:49] local.INFO: Processing buffer {"connection_id":162477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:49:49] local.INFO: IMEI packet received {"connection_id":162477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":162477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:49:54] local.INFO: TCP Data received {"connection_id":162477,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:49:54] local.INFO: Processing buffer {"connection_id":162477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:49:54] local.INFO: IMEI packet received {"connection_id":162477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":162477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:49:55] local.INFO: TCP Data received {"connection_id":162477,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:49:55] local.INFO: Processing buffer {"connection_id":162477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:49:55] local.INFO: Packet analysis {"connection_id":162477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:49:55] local.INFO: Extracted packet for processing {"connection_id":162477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:49:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":11,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572740864001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787393822000,"timestamp_ms":1787393822000,"timestamp_seconds":1787393822,"priority":1,"record_length":96,"hex_timestamp":"000001a028f94d30"} 
[2026-08-22 15:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:49:55] 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-22 15:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 15:49: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-22 15:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572740864001,"66":26289,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572740864001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:49:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:49:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572740864001,"power":26289,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":162477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:49:55] local.INFO: GPS data processed {"connection_id":162477,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:49:55] local.INFO: Acknowledgment sent {"connection_id":162477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:50:26] local.INFO: TCP Data received {"connection_id":162477,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:50:26] local.INFO: Processing buffer {"connection_id":162477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:50:26] local.INFO: Packet analysis {"connection_id":162477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:50:26] local.INFO: Extracted packet for processing {"connection_id":162477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:50:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":11,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572740864001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787393822000,"timestamp_ms":1787393822000,"timestamp_seconds":1787393822,"priority":1,"record_length":96,"hex_timestamp":"000001a028f94d30"} 
[2026-08-22 15: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-22 15:50: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-22 15: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 15:50: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-22 15: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-22 15: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-22 15:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572740864001,"66":26289,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572740864001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:50:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:50:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572740864001,"power":26289,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":162477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:50:26] local.INFO: GPS data processed {"connection_id":162477,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:50:26] local.INFO: Acknowledgment sent {"connection_id":162477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:50:48] local.INFO: TCP Data received {"connection_id":160121,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:50:48] local.INFO: Processing buffer {"connection_id":160121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:50:48] local.INFO: IMEI packet received {"connection_id":160121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":160121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:50:54] local.INFO: TCP Data received {"connection_id":160121,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:50:54] local.INFO: Processing buffer {"connection_id":160121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:50:54] local.INFO: IMEI packet received {"connection_id":160121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":160121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:50:54] local.INFO: TCP Data received {"connection_id":160121,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:50:54] local.INFO: Processing buffer {"connection_id":160121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:50:54] local.INFO: Packet analysis {"connection_id":160121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:50:54] local.INFO: Extracted packet for processing {"connection_id":160121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:50:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":11,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572740864001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787393822000,"timestamp_ms":1787393822000,"timestamp_seconds":1787393822,"priority":1,"record_length":96,"hex_timestamp":"000001a028f94d30"} 
[2026-08-22 15:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:50:54] 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-22 15:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 15:50:54] 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-22 15:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572740864001,"66":26289,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572740864001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:50:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:50:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572740864001,"power":26289,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":160121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:50:54] local.INFO: GPS data processed {"connection_id":160121,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:50:54] local.INFO: Acknowledgment sent {"connection_id":160121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:51:26] local.INFO: TCP Data received {"connection_id":160121,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:51:26] local.INFO: Processing buffer {"connection_id":160121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:51:26] local.INFO: Packet analysis {"connection_id":160121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:51:26] local.INFO: Extracted packet for processing {"connection_id":160121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:51:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":11,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572740864001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787393822000,"timestamp_ms":1787393822000,"timestamp_seconds":1787393822,"priority":1,"record_length":96,"hex_timestamp":"000001a028f94d30"} 
[2026-08-22 15:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:51: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-22 15:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 15:51: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-22 15:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572740864001,"66":26289,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572740864001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:51:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572740864001,"power":26289,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":160121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:51:26] local.INFO: GPS data processed {"connection_id":160121,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:51:26] local.INFO: Acknowledgment sent {"connection_id":160121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:51:48] local.INFO: TCP Data received {"connection_id":161043,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:51:48] local.INFO: Processing buffer {"connection_id":161043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:51:48] local.INFO: IMEI packet received {"connection_id":161043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":161043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:51:54] local.INFO: TCP Data received {"connection_id":161043,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:51:54] local.INFO: Processing buffer {"connection_id":161043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:51:54] local.INFO: IMEI packet received {"connection_id":161043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":161043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:51:54] local.INFO: TCP Data received {"connection_id":161043,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:51:54] local.INFO: Processing buffer {"connection_id":161043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:51:54] local.INFO: Packet analysis {"connection_id":161043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:51:54] local.INFO: Extracted packet for processing {"connection_id":161043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:51:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":11,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572740864001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787393822000,"timestamp_ms":1787393822000,"timestamp_seconds":1787393822,"priority":1,"record_length":96,"hex_timestamp":"000001a028f94d30"} 
[2026-08-22 15: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-22 15:51:54] 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-22 15: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 15:51:54] 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-22 15: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-22 15: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-22 15:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572740864001,"66":26289,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572740864001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:51:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:51:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572740864001,"power":26289,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":161043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:51:54] local.INFO: GPS data processed {"connection_id":161043,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:51:54] local.INFO: Acknowledgment sent {"connection_id":161043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:52:26] local.INFO: TCP Data received {"connection_id":161043,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:52:26] local.INFO: Processing buffer {"connection_id":161043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028f94d30012d7fac4005afe1d8000b006624..."} 
[2026-08-22 15:52:26] local.INFO: Packet analysis {"connection_id":161043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:52:26] local.INFO: Extracted packet for processing {"connection_id":161043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028f9"} 
[2026-08-22 15:52:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":11,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572740864001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492481536,"note":"Value kept but may cause issues"} 
[2026-08-22 15:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787393822000,"timestamp_ms":1787393822000,"timestamp_seconds":1787393822,"priority":1,"record_length":96,"hex_timestamp":"000001a028f94d30"} 
[2026-08-22 15:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:52: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-22 15:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 15:52: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-22 15:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572740864001,"66":26289,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199657794492481536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572740864001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:52:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492481536,"description":"Unknown IO ID 45"} 
[2026-08-22 15:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572740864001,"power":26289,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492481536}} 
[2026-08-22 15:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":161043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:52:26] local.INFO: GPS data processed {"connection_id":161043,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:52:26] local.INFO: Acknowledgment sent {"connection_id":161043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:52:48] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:52:48] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:52:48] local.INFO: IMEI packet received {"connection_id":159876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":159876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:52:54] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:52:54] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:52:54] local.INFO: IMEI packet received {"connection_id":159876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":159876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:52:55] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:52:55] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:52:55] local.INFO: Packet analysis {"connection_id":159876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:52:55] local.INFO: Extracted packet for processing {"connection_id":159876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:52:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572818432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787394123000,"timestamp_ms":1787394123000,"timestamp_seconds":1787394123,"priority":1,"record_length":96,"hex_timestamp":"000001a028fde4f8"} 
[2026-08-22 15: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-22 15:52: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-22 15: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-22 15:52:55] 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-22 15: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-22 15: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-22 15:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572818432001,"66":26039,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572818432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:52:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:52:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572818432001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 15:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":159876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:52:55] local.INFO: GPS data processed {"connection_id":159876,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:52:55] local.INFO: Acknowledgment sent {"connection_id":159876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:53:26] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:53:26] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:53:26] local.INFO: Packet analysis {"connection_id":159876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:53:26] local.INFO: Extracted packet for processing {"connection_id":159876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572818432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787394123000,"timestamp_ms":1787394123000,"timestamp_seconds":1787394123,"priority":1,"record_length":96,"hex_timestamp":"000001a028fde4f8"} 
[2026-08-22 15: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-22 15: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-22 15: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-22 15:53:26] 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-22 15: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-22 15: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-22 15:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572818432001,"66":26039,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572818432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:53:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572818432001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 15:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":159876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:53:26] local.INFO: GPS data processed {"connection_id":159876,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:53:26] local.INFO: Acknowledgment sent {"connection_id":159876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:53:49] local.INFO: TCP Data received {"connection_id":162478,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:53:49] local.INFO: Processing buffer {"connection_id":162478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:53:49] local.INFO: IMEI packet received {"connection_id":162478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":162478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:53:54] local.INFO: TCP Data received {"connection_id":162478,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:53:54] local.INFO: Processing buffer {"connection_id":162478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:53:54] local.INFO: IMEI packet received {"connection_id":162478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":162478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:53:55] local.INFO: TCP Data received {"connection_id":162478,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:53:55] local.INFO: Processing buffer {"connection_id":162478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:53:55] local.INFO: Packet analysis {"connection_id":162478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:53:55] local.INFO: Extracted packet for processing {"connection_id":162478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:53:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572818432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787394123000,"timestamp_ms":1787394123000,"timestamp_seconds":1787394123,"priority":1,"record_length":96,"hex_timestamp":"000001a028fde4f8"} 
[2026-08-22 15:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:53: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-22 15:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-22 15:53:55] 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-22 15:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572818432001,"66":26039,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572818432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:53:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:53:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572818432001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 15:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":162478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:53:55] local.INFO: GPS data processed {"connection_id":162478,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:53:55] local.INFO: Acknowledgment sent {"connection_id":162478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:54:26] local.INFO: TCP Data received {"connection_id":162478,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:54:26] local.INFO: Processing buffer {"connection_id":162478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:54:26] local.INFO: Packet analysis {"connection_id":162478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:54:26] local.INFO: Extracted packet for processing {"connection_id":162478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572818432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787394123000,"timestamp_ms":1787394123000,"timestamp_seconds":1787394123,"priority":1,"record_length":96,"hex_timestamp":"000001a028fde4f8"} 
[2026-08-22 15: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-22 15:54: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-22 15: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-22 15:54:26] 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-22 15: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-22 15: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-22 15:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572818432001,"66":26039,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572818432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:54:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572818432001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 15:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":162478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:54:26] local.INFO: GPS data processed {"connection_id":162478,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:54:26] local.INFO: Acknowledgment sent {"connection_id":162478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:54:49] local.INFO: TCP Data received {"connection_id":161044,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:54:49] local.INFO: Processing buffer {"connection_id":161044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:54:49] local.INFO: IMEI packet received {"connection_id":161044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":161044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:54:54] local.INFO: TCP Data received {"connection_id":161044,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:54:54] local.INFO: Processing buffer {"connection_id":161044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:54:54] local.INFO: IMEI packet received {"connection_id":161044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":161044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:54:55] local.INFO: TCP Data received {"connection_id":161044,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:54:55] local.INFO: Processing buffer {"connection_id":161044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:54:55] local.INFO: Packet analysis {"connection_id":161044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:54:55] local.INFO: Extracted packet for processing {"connection_id":161044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:54:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572818432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787394123000,"timestamp_ms":1787394123000,"timestamp_seconds":1787394123,"priority":1,"record_length":96,"hex_timestamp":"000001a028fde4f8"} 
[2026-08-22 15: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-22 15:54: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-22 15: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-22 15:54:55] 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-22 15: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-22 15: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-22 15:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572818432001,"66":26039,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572818432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:54:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:54:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572818432001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 15:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":161044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:54:55] local.INFO: GPS data processed {"connection_id":161044,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:54:55] local.INFO: Acknowledgment sent {"connection_id":161044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:55:27] local.INFO: TCP Data received {"connection_id":161044,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:55:27] local.INFO: Processing buffer {"connection_id":161044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:55:27] local.INFO: Packet analysis {"connection_id":161044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:55:27] local.INFO: Extracted packet for processing {"connection_id":161044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572818432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787394123000,"timestamp_ms":1787394123000,"timestamp_seconds":1787394123,"priority":1,"record_length":96,"hex_timestamp":"000001a028fde4f8"} 
[2026-08-22 15:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:55: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-22 15:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-22 15:55:27] 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-22 15:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572818432001,"66":26039,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572818432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:55:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572818432001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 15:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":161044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:55:27] local.INFO: GPS data processed {"connection_id":161044,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:55:27] local.INFO: Acknowledgment sent {"connection_id":161044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:55:48] local.INFO: TCP Data received {"connection_id":162479,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:55:48] local.INFO: Processing buffer {"connection_id":162479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:55:48] local.INFO: IMEI packet received {"connection_id":162479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":162479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:55:54] local.INFO: TCP Data received {"connection_id":162479,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:55:54] local.INFO: Processing buffer {"connection_id":162479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:55:54] local.INFO: IMEI packet received {"connection_id":162479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":162479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:55:55] local.INFO: TCP Data received {"connection_id":162479,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:55:55] local.INFO: Processing buffer {"connection_id":162479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:55:55] local.INFO: Packet analysis {"connection_id":162479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:55:55] local.INFO: Extracted packet for processing {"connection_id":162479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:55:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572818432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787394123000,"timestamp_ms":1787394123000,"timestamp_seconds":1787394123,"priority":1,"record_length":96,"hex_timestamp":"000001a028fde4f8"} 
[2026-08-22 15:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:55: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-22 15:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-22 15:55:55] 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-22 15:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572818432001,"66":26039,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572818432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:55:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:55:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572818432001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 15:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":162479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:55:55] local.INFO: GPS data processed {"connection_id":162479,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:55:55] local.INFO: Acknowledgment sent {"connection_id":162479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:56:26] local.INFO: TCP Data received {"connection_id":162479,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:56:26] local.INFO: Processing buffer {"connection_id":162479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:56:26] local.INFO: Packet analysis {"connection_id":162479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:56:26] local.INFO: Extracted packet for processing {"connection_id":162479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:56:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 15:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572818432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787394123000,"timestamp_ms":1787394123000,"timestamp_seconds":1787394123,"priority":1,"record_length":96,"hex_timestamp":"000001a028fde4f8"} 
[2026-08-22 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-22 15:56: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-22 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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-22 15:56:26] 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-22 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-22 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-22 15:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572818432001,"66":26039,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572818432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:56:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572818432001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 15:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":162479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:56:26] local.INFO: GPS data processed {"connection_id":162479,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:56:26] local.INFO: Acknowledgment sent {"connection_id":162479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:56:48] local.INFO: TCP Data received {"connection_id":160122,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:56:48] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:56:48] local.INFO: IMEI packet received {"connection_id":160122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":160122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:56:54] local.INFO: TCP Data received {"connection_id":160122,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:56:54] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:56:54] local.INFO: IMEI packet received {"connection_id":160122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":160122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:56:54] local.INFO: TCP Data received {"connection_id":160122,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:56:54] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:56:54] local.INFO: Packet analysis {"connection_id":160122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:56:54] local.INFO: Extracted packet for processing {"connection_id":160122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:56:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572818432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787394123000,"timestamp_ms":1787394123000,"timestamp_seconds":1787394123,"priority":1,"record_length":96,"hex_timestamp":"000001a028fde4f8"} 
[2026-08-22 15:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 15:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-22 15:56:54] 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-22 15:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572818432001,"66":26039,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572818432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:56:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:56:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572818432001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 15:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":160122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:56:54] local.INFO: GPS data processed {"connection_id":160122,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:56:54] local.INFO: Acknowledgment sent {"connection_id":160122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:57:26] local.INFO: TCP Data received {"connection_id":160122,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:57:26] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a028fde4f8012d7fac4005afe1d80000006622..."} 
[2026-08-22 15:57:26] local.INFO: Packet analysis {"connection_id":160122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:57:26] local.INFO: Extracted packet for processing {"connection_id":160122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a028fd"} 
[2026-08-22 15:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572818432001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787394123000,"timestamp_ms":1787394123000,"timestamp_seconds":1787394123,"priority":1,"record_length":96,"hex_timestamp":"000001a028fde4f8"} 
[2026-08-22 15: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-22 15:57: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-22 15: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-22 15:57:26] 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-22 15: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-22 15: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-22 15:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572818432001,"66":26039,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572818432001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:57:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572818432001,"power":26039,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 15:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":160122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:57:26] local.INFO: GPS data processed {"connection_id":160122,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:57:26] local.INFO: Acknowledgment sent {"connection_id":160122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:57:33] local.INFO: TCP Data received {"connection_id":161045,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:57:33] local.INFO: Processing buffer {"connection_id":161045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:57:33] local.INFO: IMEI packet received {"connection_id":161045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":161045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:57:35] local.INFO: TCP Data received {"connection_id":161045,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:57:35] local.INFO: Processing buffer {"connection_id":161045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:57:35] local.INFO: IMEI packet received {"connection_id":161045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":161045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:57:36] local.INFO: TCP Data received {"connection_id":161045,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:57:36] local.INFO: Processing buffer {"connection_id":161045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:57:36] local.INFO: IMEI packet received {"connection_id":161045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":161045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:57:38] local.INFO: TCP Data received {"connection_id":161045,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029021f00012d1ac4c0071f88880037016229..."} 
[2026-08-22 15:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029021f00012d1ac4c0071f88880037016229..."} 
[2026-08-22 15:57:38] local.INFO: Processing buffer {"connection_id":161045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029021f00012d1ac4c0071f88880037016229..."} 
[2026-08-22 15:57:38] local.INFO: Packet analysis {"connection_id":161045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 15:57:38] local.INFO: Extracted packet for processing {"connection_id":161045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 15:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756729024,"raw_latitude":119507080,"longitude_deg":75.6729024,"latitude_deg":11.950708,"altitude":55,"angle":354,"satellites":41,"speed":14,"hex_longitude":"2d1ac4c0","hex_latitude":"071f8888","is_valid_coordinates":true} 
[2026-08-22 15:57: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-22 15:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572966144001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14631016547221504,"note":"Value kept but may cause issues"} 
[2026-08-22 15:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414736033792,"note":"Value kept but may cause issues"} 
[2026-08-22 15:57:38] 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-22 15:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787394400000,"timestamp_ms":1787394400000,"timestamp_seconds":1787394400,"priority":1,"record_length":96,"hex_timestamp":"000001a029021f00"} 
[2026-08-22 15:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:57:38] 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-22 15:57: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-22 15:57:38] 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-22 15:57: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-22 15:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:57:38] 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-22 15:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572966144001,"66":13993,"101":206,"83":41984,"24":14,"16":14631016547221504,"45":1929018414736033792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572966144001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:57:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14631016547221504,"km_value":14631016547221.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414736033792,"description":"Unknown IO ID 45"} 
[2026-08-22 15:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572966144001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1929018414736033792}} 
[2026-08-22 15:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":161045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:57:38] local.INFO: GPS data processed {"connection_id":161045,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:57:38] local.INFO: Acknowledgment sent {"connection_id":161045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:57:48] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:57:48] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:57:48] local.INFO: IMEI packet received {"connection_id":159877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":159877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:57:54] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:57:54] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:57:54] local.INFO: IMEI packet received {"connection_id":159877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":159877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:57:54] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:57:54] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:57:54] local.INFO: Packet analysis {"connection_id":159877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 15:57:54] local.INFO: Extracted packet for processing {"connection_id":159877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 15:57:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572895488001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787394424000,"timestamp_ms":1787394424000,"timestamp_seconds":1787394424,"priority":1,"record_length":96,"hex_timestamp":"000001a029027cc0"} 
[2026-08-22 15:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 15:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 15:57:54] 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-22 15:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572895488001,"66":25908,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572895488001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:57:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:57:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572895488001,"power":25908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 15:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":159877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:57:54] local.INFO: GPS data processed {"connection_id":159877,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:57:54] local.INFO: Acknowledgment sent {"connection_id":159877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:58:02] local.INFO: TCP Data received {"connection_id":162480,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:58:02] local.INFO: Processing buffer {"connection_id":162480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:58:02] local.INFO: IMEI packet received {"connection_id":162480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":162480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:58:07] local.INFO: TCP Data received {"connection_id":162480,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:58:07] local.INFO: Processing buffer {"connection_id":162480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:58:07] local.INFO: IMEI packet received {"connection_id":162480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":162480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:58:08] local.INFO: TCP Data received {"connection_id":162480,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02902aba0012d1a6f40071fd6100039013625..."} 
[2026-08-22 15:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02902aba0012d1a6f40071fd6100039013625..."} 
[2026-08-22 15:58:08] local.INFO: Processing buffer {"connection_id":162480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02902aba0012d1a6f40071fd6100039013625..."} 
[2026-08-22 15:58:08] local.INFO: Packet analysis {"connection_id":162480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 15:58:08] local.INFO: Extracted packet for processing {"connection_id":162480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 15:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756707136,"raw_latitude":119526928,"longitude_deg":75.6707136,"latitude_deg":11.9526928,"altitude":57,"angle":310,"satellites":37,"speed":42,"hex_longitude":"2d1a6f40","hex_latitude":"071fd610","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572975616001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14632519785775104,"note":"Value kept but may cause issues"} 
[2026-08-22 15:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904811566744080384,"note":"Value kept but may cause issues"} 
[2026-08-22 15:58:08] 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-22 15:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787394436000,"timestamp_ms":1787394436000,"timestamp_seconds":1787394436,"priority":1,"record_length":96,"hex_timestamp":"000001a02902aba0"} 
[2026-08-22 15: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-22 15:58: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-22 15: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 15:58:08] 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-22 15: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-22 15: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-22 15:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:58:08] 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-22 15:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572975616001,"66":14374,"101":206,"83":41984,"24":42,"16":14632519785775104,"45":1904811566744080384},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 15:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572975616001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:58:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 15:58:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14632519785775104,"km_value":14632519785775.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904811566744080384,"description":"Unknown IO ID 45"} 
[2026-08-22 15:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572975616001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1904811566744080384}} 
[2026-08-22 15:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":162480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:58:08] local.INFO: GPS data processed {"connection_id":162480,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:58:08] local.INFO: Acknowledgment sent {"connection_id":162480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:58:26] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:58:26] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:58:26] local.INFO: Packet analysis {"connection_id":159877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 15:58:26] local.INFO: Extracted packet for processing {"connection_id":159877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 15:58:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572895488001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787394424000,"timestamp_ms":1787394424000,"timestamp_seconds":1787394424,"priority":1,"record_length":96,"hex_timestamp":"000001a029027cc0"} 
[2026-08-22 15:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:58: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-22 15:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 15:58:26] 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-22 15:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572895488001,"66":25908,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572895488001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:58:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572895488001,"power":25908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 15:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":159877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:58:26] local.INFO: GPS data processed {"connection_id":159877,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:58:26] local.INFO: Acknowledgment sent {"connection_id":159877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:58:49] local.INFO: TCP Data received {"connection_id":162481,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:58:49] local.INFO: Processing buffer {"connection_id":162481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:58:49] local.INFO: IMEI packet received {"connection_id":162481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":162481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:58:54] local.INFO: TCP Data received {"connection_id":162481,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:58:54] local.INFO: Processing buffer {"connection_id":162481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:58:54] local.INFO: IMEI packet received {"connection_id":162481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":162481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:58:54] local.INFO: TCP Data received {"connection_id":160123,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:58:54] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:58:54] local.INFO: IMEI packet received {"connection_id":160123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":160123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:58:54] local.INFO: TCP Data received {"connection_id":162481,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:58:54] local.INFO: Processing buffer {"connection_id":162481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:58:54] local.INFO: Packet analysis {"connection_id":162481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 15:58:54] local.INFO: Extracted packet for processing {"connection_id":162481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 15:58:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572895488001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787394424000,"timestamp_ms":1787394424000,"timestamp_seconds":1787394424,"priority":1,"record_length":96,"hex_timestamp":"000001a029027cc0"} 
[2026-08-22 15: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-22 15:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 15: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 15:58:54] 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-22 15: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-22 15: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-22 15:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572895488001,"66":25908,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572895488001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:58:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:58:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572895488001,"power":25908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 15:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":162481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:58:54] local.INFO: GPS data processed {"connection_id":162481,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:58:54] local.INFO: Acknowledgment sent {"connection_id":162481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:58:57] local.INFO: TCP Data received {"connection_id":160123,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:58:57] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:58:57] local.INFO: IMEI packet received {"connection_id":160123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":160123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:59:02] local.INFO: TCP Data received {"connection_id":160123,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:59:02] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:59:02] local.INFO: IMEI packet received {"connection_id":160123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":160123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:59:03] local.INFO: TCP Data received {"connection_id":160123,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029035b68012d19cf0007201578002d013e2c..."} 
[2026-08-22 15:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029035b68012d19cf0007201578002d013e2c..."} 
[2026-08-22 15:59:03] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029035b68012d19cf0007201578002d013e2c..."} 
[2026-08-22 15:59:03] local.INFO: Packet analysis {"connection_id":160123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02903"} 
[2026-08-22 15:59:03] local.INFO: Extracted packet for processing {"connection_id":160123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02903"} 
[2026-08-22 15:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543160,"longitude_deg":75.6666112,"latitude_deg":11.954316,"altitude":45,"angle":318,"satellites":44,"speed":32,"hex_longitude":"2d19cf00","hex_latitude":"07201578","is_valid_coordinates":true} 
[2026-08-22 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-22 15:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572985856001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14634697334194176,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863223638938601472,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787394481000,"timestamp_ms":1787394481000,"timestamp_seconds":1787394481,"priority":1,"record_length":96,"hex_timestamp":"000001a029035b68"} 
[2026-08-22 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-22 15:59:03] 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-22 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-22 15:59:03] 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-22 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-22 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-22 15:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:59:03] 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-22 15:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572985856001,"66":14407,"103":206,"83":41984,"24":32,"16":14634697334194176,"45":1863223638938601472},"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-22 15:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572985856001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:59:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 15:59:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14634697334194176,"km_value":14634697334194.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863223638938601472,"description":"Unknown IO ID 45"} 
[2026-08-22 15:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572985856001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1863223638938601472}} 
[2026-08-22 15:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":160123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:59:03] local.INFO: GPS data processed {"connection_id":160123,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:59:03] local.INFO: Acknowledgment sent {"connection_id":160123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:59:03] local.INFO: TCP Data received {"connection_id":160123,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029036720012d19ca4007201d50002b014b2c..."} 
[2026-08-22 15:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029036720012d19ca4007201d50002b014b2c..."} 
[2026-08-22 15:59:03] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029036720012d19ca4007201d50002b014b2c..."} 
[2026-08-22 15:59:03] local.INFO: Packet analysis {"connection_id":160123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02903"} 
[2026-08-22 15:59:03] local.INFO: Extracted packet for processing {"connection_id":160123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02903"} 
[2026-08-22 15:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756664896,"raw_latitude":119545168,"longitude_deg":75.6664896,"latitude_deg":11.9545168,"altitude":43,"angle":331,"satellites":44,"speed":31,"hex_longitude":"2d19ca40","hex_latitude":"07201d50","is_valid_coordinates":true} 
[2026-08-22 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-22 15:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572987136001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14634809003343872,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730353152,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787394484000,"timestamp_ms":1787394484000,"timestamp_seconds":1787394484,"priority":1,"record_length":96,"hex_timestamp":"000001a029036720"} 
[2026-08-22 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-22 15:59:03] 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-22 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":71,"data_length":795,"current_offset":136} 
[2026-08-22 15:59:03] 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-22 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-22 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-22 15:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:59:03] 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-22 15:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572987136001,"66":14396,"103":206,"83":41984,"24":31,"16":14634809003343872,"45":1859705201730353152},"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-22 15:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572987136001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:59:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 15:59:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14634809003343872,"km_value":14634809003343.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730353152,"description":"Unknown IO ID 45"} 
[2026-08-22 15:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572987136001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1859705201730353152}} 
[2026-08-22 15:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":160123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:59:04] local.INFO: GPS data processed {"connection_id":160123,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:59:04] local.INFO: Acknowledgment sent {"connection_id":160123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:59:26] local.INFO: TCP Data received {"connection_id":162481,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:59:26] local.INFO: Processing buffer {"connection_id":162481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:59:26] local.INFO: Packet analysis {"connection_id":162481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 15:59:26] local.INFO: Extracted packet for processing {"connection_id":162481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 15:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572895488001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787394424000,"timestamp_ms":1787394424000,"timestamp_seconds":1787394424,"priority":1,"record_length":96,"hex_timestamp":"000001a029027cc0"} 
[2026-08-22 15:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:59: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-22 15:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 15:59:26] 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-22 15:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572895488001,"66":25908,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572895488001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:59:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572895488001,"power":25908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 15:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":162481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:59:26] local.INFO: GPS data processed {"connection_id":162481,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:59:26] local.INFO: Acknowledgment sent {"connection_id":162481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:59:34] local.INFO: TCP Data received {"connection_id":160123,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029041300012d19b6c00720ad080032013c27..."} 
[2026-08-22 15:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029041300012d19b6c00720ad080032013c27..."} 
[2026-08-22 15:59:34] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029041300012d19b6c00720ad080032013c27..."} 
[2026-08-22 15:59:34] local.INFO: Packet analysis {"connection_id":160123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02904"} 
[2026-08-22 15:59:34] local.INFO: Extracted packet for processing {"connection_id":160123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02904"} 
[2026-08-22 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":756659904,"raw_latitude":119581960,"longitude_deg":75.6659904,"latitude_deg":11.958196,"altitude":50,"angle":316,"satellites":39,"speed":16,"hex_longitude":"2d19b6c0","hex_latitude":"0720ad08","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572998912001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14636724558757888,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383508402176,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:34] 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-22 15:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787394528000,"timestamp_ms":1787394528000,"timestamp_seconds":1787394528,"priority":1,"record_length":96,"hex_timestamp":"000001a029041300"} 
[2026-08-22 15: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-22 15:59:34] 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-22 15: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 15:59:34] 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-22 15: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-22 15: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-22 15:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:59: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-22 15:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572998912001,"66":14157,"103":206,"83":41984,"24":16,"16":14636724558757888,"45":1853442383508402176},"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-22 15:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572998912001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:59:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 15:59:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14636724558757888,"km_value":14636724558757.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383508402176,"description":"Unknown IO ID 45"} 
[2026-08-22 15:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572998912001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1853442383508402176}} 
[2026-08-22 15:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":160123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:59:34] local.INFO: GPS data processed {"connection_id":160123,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:59:34] local.INFO: Acknowledgment sent {"connection_id":160123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:59:49] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:59:49] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:59:49] local.INFO: IMEI packet received {"connection_id":159878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 15:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":159878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:59:52] local.INFO: TCP Data received {"connection_id":161046,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:59:52] local.INFO: Processing buffer {"connection_id":161046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:59:52] local.INFO: IMEI packet received {"connection_id":161046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 15:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":161046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 15:59:53] local.INFO: TCP Data received {"connection_id":161046,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:59:53] local.INFO: Processing buffer {"connection_id":161046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:59:53] local.INFO: IMEI packet received {"connection_id":161046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":161046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:59:54] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:59:54] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 15:59:54] local.INFO: IMEI packet received {"connection_id":159878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 15:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":159878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:59:54] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:59:54] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:59:54] local.INFO: Packet analysis {"connection_id":159878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 15:59:54] local.INFO: Extracted packet for processing {"connection_id":159878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 15:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 15:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 15:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572895488001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787394424000,"timestamp_ms":1787394424000,"timestamp_seconds":1787394424,"priority":1,"record_length":96,"hex_timestamp":"000001a029027cc0"} 
[2026-08-22 15:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 15:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 15:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 15:59:54] 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-22 15:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 15:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 15:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572895488001,"66":25908,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572895488001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:59:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:59:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572895488001,"power":25908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 15:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":159878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:59:54] local.INFO: GPS data processed {"connection_id":159878,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:59:54] local.INFO: Acknowledgment sent {"connection_id":159878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:59:56] local.INFO: TCP Data received {"connection_id":161046,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:59:56] local.INFO: Processing buffer {"connection_id":161046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 15:59:56] local.INFO: IMEI packet received {"connection_id":161046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 15:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":161046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 15:59:57] local.INFO: TCP Data received {"connection_id":161046,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0290416e8012d19b5000720add00032012b27..."} 
[2026-08-22 15:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290416e8012d19b5000720add00032012b27..."} 
[2026-08-22 15:59:57] local.INFO: Processing buffer {"connection_id":161046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290416e8012d19b5000720add00032012b27..."} 
[2026-08-22 15:59:57] local.INFO: Packet analysis {"connection_id":161046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02904"} 
[2026-08-22 15:59:57] local.INFO: Extracted packet for processing {"connection_id":161046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02904"} 
[2026-08-22 15:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756659456,"raw_latitude":119582160,"longitude_deg":75.6659456,"latitude_deg":11.958216,"altitude":50,"angle":299,"satellites":39,"speed":18,"hex_longitude":"2d19b500","hex_latitude":"0720add0","is_valid_coordinates":true} 
[2026-08-22 15: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-22 15:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572999168001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14636750328561664,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852879433555052544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787394529000,"timestamp_ms":1787394529000,"timestamp_seconds":1787394529,"priority":1,"record_length":96,"hex_timestamp":"000001a0290416e8"} 
[2026-08-22 15: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-22 15:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 15: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 15:59:57] 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-22 15: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-22 15: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-22 15:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 15:59:57] 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-22 15:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 15:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 15:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572999168001,"66":14407,"103":206,"83":41984,"24":18,"16":14636750328561664,"45":1852879433555052544},"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-22 15:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 15:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 15:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572999168001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:59:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 15:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 15:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14636750328561664,"km_value":14636750328561.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852879433555052544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572999168001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1852879433555052544}} 
[2026-08-22 15:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":161046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:59:57] local.INFO: GPS data processed {"connection_id":161046,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:59:57] local.INFO: Acknowledgment sent {"connection_id":161046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 15:59:59] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:59:59] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 15:59:59] local.INFO: Packet analysis {"connection_id":159878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 15:59:59] local.INFO: Extracted packet for processing {"connection_id":159878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 15:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 15:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572895488001,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 15:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 15:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787394424000,"timestamp_ms":1787394424000,"timestamp_seconds":1787394424,"priority":1,"record_length":96,"hex_timestamp":"000001a029027cc0"} 
[2026-08-22 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-22 15:59: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-22 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 15:59: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-22 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-22 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-22 15:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 15:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 15:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 15:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 15:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 15:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 15:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572895488001,"66":25908,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 15:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 15:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 15:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572895488001,"description":"Unknown IO ID 0"} 
[2026-08-22 15:59:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 15:59:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 15:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 15:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 15:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572895488001,"power":25908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 15:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":159878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 15:59:59] local.INFO: GPS data processed {"connection_id":159878,"processed":1,"errors":0,"total":1} 
[2026-08-22 15:59:59] local.INFO: Acknowledgment sent {"connection_id":159878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:00:28] local.INFO: TCP Data received {"connection_id":161046,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029041eb8012d19b0400720af300034011e28..."} 
[2026-08-22 16:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029041eb8012d19b0400720af300034011e28..."} 
[2026-08-22 16:00:28] local.INFO: Processing buffer {"connection_id":161046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029041eb8012d19b0400720af300034011e28..."} 
[2026-08-22 16:00:28] local.INFO: Packet analysis {"connection_id":161046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02904"} 
[2026-08-22 16:00:28] local.INFO: Extracted packet for processing {"connection_id":161046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02904"} 
[2026-08-22 16:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756658240,"raw_latitude":119582512,"longitude_deg":75.665824,"latitude_deg":11.9582512,"altitude":52,"angle":286,"satellites":40,"speed":22,"hex_longitude":"2d19b040","hex_latitude":"0720af30","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572999424001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14636810458103808,"note":"Value kept but may cause issues"} 
[2026-08-22 16:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852386852345860096,"note":"Value kept but may cause issues"} 
[2026-08-22 16:00:28] 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-22 16:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787394531000,"timestamp_ms":1787394531000,"timestamp_seconds":1787394531,"priority":1,"record_length":96,"hex_timestamp":"000001a029041eb8"} 
[2026-08-22 16: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-22 16:00:28] 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-22 16: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":71,"data_length":795,"current_offset":136} 
[2026-08-22 16:00: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-22 16: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-22 16: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-22 16:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:00:28] 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-22 16:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572999424001,"66":14374,"103":206,"83":41984,"24":22,"16":14636810458103808,"45":1852386852345860096},"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-22 16:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572999424001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:00:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 16:00:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14636810458103808,"km_value":14636810458103.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852386852345860096,"description":"Unknown IO ID 45"} 
[2026-08-22 16:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572999424001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1852386852345860096}} 
[2026-08-22 16:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":161046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:00:28] local.INFO: GPS data processed {"connection_id":161046,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:00:28] local.INFO: Acknowledgment sent {"connection_id":161046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:00:30] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:00:30] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:00:30] local.INFO: Packet analysis {"connection_id":159878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 16:00:30] local.INFO: Extracted packet for processing {"connection_id":159878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 16:00:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572895488001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787394424000,"timestamp_ms":1787394424000,"timestamp_seconds":1787394424,"priority":1,"record_length":96,"hex_timestamp":"000001a029027cc0"} 
[2026-08-22 16: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-22 16:00: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-22 16: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":183,"data_length":795,"current_offset":136} 
[2026-08-22 16:00: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-22 16: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-22 16: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-22 16:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572895488001,"66":25908,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572895488001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:00:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:00:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572895488001,"power":25908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":159878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:00:30] local.INFO: GPS data processed {"connection_id":159878,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:00:30] local.INFO: Acknowledgment sent {"connection_id":159878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:00:48] local.INFO: TCP Data received {"connection_id":160124,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:00:48] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:00:48] local.INFO: IMEI packet received {"connection_id":160124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":160124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:00:52] local.INFO: TCP Data received {"connection_id":161047,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:00:52] local.INFO: Processing buffer {"connection_id":161047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:00:52] local.INFO: IMEI packet received {"connection_id":161047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":161047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:00:54] local.INFO: TCP Data received {"connection_id":160124,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:00:54] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:00:54] local.INFO: IMEI packet received {"connection_id":160124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":160124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:00:55] local.INFO: TCP Data received {"connection_id":160124,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:00:55] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:00:55] local.INFO: Packet analysis {"connection_id":160124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 16:00:55] local.INFO: Extracted packet for processing {"connection_id":160124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 16:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572895488001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787394424000,"timestamp_ms":1787394424000,"timestamp_seconds":1787394424,"priority":1,"record_length":96,"hex_timestamp":"000001a029027cc0"} 
[2026-08-22 16:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:00: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-22 16:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 16:00:55] 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-22 16:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572895488001,"66":25908,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572895488001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:00:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572895488001,"power":25908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":160124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:00:55] local.INFO: GPS data processed {"connection_id":160124,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:00:55] local.INFO: Acknowledgment sent {"connection_id":160124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:00:55] local.INFO: TCP Data received {"connection_id":161047,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:00:55] local.INFO: Processing buffer {"connection_id":161047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:00:55] local.INFO: IMEI packet received {"connection_id":161047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":161047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:00:56] local.INFO: TCP Data received {"connection_id":161047,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0290543b0012d18f2c00720da580037013b29..."} 
[2026-08-22 16:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290543b0012d18f2c00720da580037013b29..."} 
[2026-08-22 16:00:56] local.INFO: Processing buffer {"connection_id":161047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290543b0012d18f2c00720da580037013b29..."} 
[2026-08-22 16:00:56] local.INFO: Packet analysis {"connection_id":161047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02905"} 
[2026-08-22 16:00:56] local.INFO: Extracted packet for processing {"connection_id":161047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02905"} 
[2026-08-22 16:00:56] local.INFO: GPS Element Parsed {"raw_longitude":756609728,"raw_latitude":119593560,"longitude_deg":75.6609728,"latitude_deg":11.959356,"altitude":55,"angle":315,"satellites":41,"speed":31,"hex_longitude":"2d18f2c0","hex_latitude":"0720da58","is_valid_coordinates":true} 
[2026-08-22 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-22 16:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573016576001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14639280064299008,"note":"Value kept but may cause issues"} 
[2026-08-22 16:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803973156353529856,"note":"Value kept but may cause issues"} 
[2026-08-22 16:00:56] 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-22 16:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787394606000,"timestamp_ms":1787394606000,"timestamp_seconds":1787394606,"priority":1,"record_length":96,"hex_timestamp":"000001a0290543b0"} 
[2026-08-22 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-22 16:00:56] 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-22 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-22 16:00:56] 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-22 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-22 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-22 16:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:00:56] 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-22 16:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573016576001,"66":14461,"103":206,"83":41984,"24":31,"16":14639280064299008,"45":1803973156353529856},"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-22 16:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573016576001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:00:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 16:00:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14639280064299008,"km_value":14639280064299.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803973156353529856,"description":"Unknown IO ID 45"} 
[2026-08-22 16:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573016576001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1803973156353529856}} 
[2026-08-22 16:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":161047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:00:56] local.INFO: GPS data processed {"connection_id":161047,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:00:56] local.INFO: Acknowledgment sent {"connection_id":161047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:01:26] local.INFO: TCP Data received {"connection_id":160124,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:01:26] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:01:26] local.INFO: Packet analysis {"connection_id":160124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 16:01:26] local.INFO: Extracted packet for processing {"connection_id":160124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 16:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572895488001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787394424000,"timestamp_ms":1787394424000,"timestamp_seconds":1787394424,"priority":1,"record_length":96,"hex_timestamp":"000001a029027cc0"} 
[2026-08-22 16: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-22 16:01: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-22 16: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 16:01:26] 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-22 16: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-22 16: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-22 16:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572895488001,"66":25908,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572895488001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:01:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572895488001,"power":25908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":160124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:01:26] local.INFO: GPS data processed {"connection_id":160124,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:01:26] local.INFO: Acknowledgment sent {"connection_id":160124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:01:28] local.INFO: TCP Data received {"connection_id":161047,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029054f68012d18ed000720e2b00038014626..."} 
[2026-08-22 16:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029054f68012d18ed000720e2b00038014626..."} 
[2026-08-22 16:01:28] local.INFO: Processing buffer {"connection_id":161047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029054f68012d18ed000720e2b00038014626..."} 
[2026-08-22 16:01:28] local.INFO: Packet analysis {"connection_id":161047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02905"} 
[2026-08-22 16:01:28] local.INFO: Extracted packet for processing {"connection_id":161047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02905"} 
[2026-08-22 16:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756608256,"raw_latitude":119595696,"longitude_deg":75.6608256,"latitude_deg":11.9595696,"altitude":56,"angle":326,"satellites":38,"speed":34,"hex_longitude":"2d18ed00","hex_latitude":"0720e2b0","is_valid_coordinates":true} 
[2026-08-22 16:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573019136001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14639404618350592,"note":"Value kept but may cause issues"} 
[2026-08-22 16:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797710338122733568,"note":"Value kept but may cause issues"} 
[2026-08-22 16:01:28] 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-22 16:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787394609000,"timestamp_ms":1787394609000,"timestamp_seconds":1787394609,"priority":1,"record_length":96,"hex_timestamp":"000001a029054f68"} 
[2026-08-22 16:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:01:28] 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-22 16:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 16:01: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-22 16:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:01:28] 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-22 16:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573019136001,"66":14363,"103":206,"83":41984,"24":34,"16":14639404618350592,"45":1797710338122733568},"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-22 16:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573019136001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:01:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 16:01:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14639404618350592,"km_value":14639404618350.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797710338122733568,"description":"Unknown IO ID 45"} 
[2026-08-22 16:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573019136001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1797710338122733568}} 
[2026-08-22 16:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":161047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:01:28] local.INFO: GPS data processed {"connection_id":161047,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:01:28] local.INFO: Acknowledgment sent {"connection_id":161047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:01:50] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:01:50] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:01:50] local.INFO: IMEI packet received {"connection_id":159880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":159880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:01:52] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:01:52] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:01:52] local.INFO: IMEI packet received {"connection_id":159880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":159880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:01:54] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:01:54] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:01:54] local.INFO: IMEI packet received {"connection_id":159879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":159879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:01:55] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:01:55] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:01:55] local.INFO: IMEI packet received {"connection_id":159880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":159880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:01:55] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029060318012d18af0007216f98004a013e2b..."} 
[2026-08-22 16:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029060318012d18af0007216f98004a013e2b..."} 
[2026-08-22 16:01:55] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029060318012d18af0007216f98004a013e2b..."} 
[2026-08-22 16:01:55] local.INFO: Packet analysis {"connection_id":159880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02906"} 
[2026-08-22 16:01:55] local.INFO: Extracted packet for processing {"connection_id":159880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02906"} 
[2026-08-22 16:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119631768,"longitude_deg":75.6592384,"latitude_deg":11.9631768,"altitude":74,"angle":318,"satellites":43,"speed":31,"hex_longitude":"2d18af00","hex_latitude":"07216f98","is_valid_coordinates":true} 
[2026-08-22 16:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573029376001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14641371713372160,"note":"Value kept but may cause issues"} 
[2026-08-22 16:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783706958039480320,"note":"Value kept but may cause issues"} 
[2026-08-22 16:01:55] 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-22 16:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787394655000,"timestamp_ms":1787394655000,"timestamp_seconds":1787394655,"priority":1,"record_length":96,"hex_timestamp":"000001a029060318"} 
[2026-08-22 16:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:01:55] 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-22 16:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 16:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:01: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-22 16:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573029376001,"66":14048,"106":206,"83":41984,"24":31,"16":14641371713372160,"45":1783706958039480320},"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-22 16:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573029376001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:01:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 16:01:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14641371713372160,"km_value":14641371713372.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783706958039480320,"description":"Unknown IO ID 45"} 
[2026-08-22 16:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573029376001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1783706958039480320}} 
[2026-08-22 16:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":159880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:01:55] local.INFO: GPS data processed {"connection_id":159880,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:01:55] local.INFO: Acknowledgment sent {"connection_id":159880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:01:59] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:01:59] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:01:59] local.INFO: IMEI packet received {"connection_id":159879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":159879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:01:59] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:01:59] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:01:59] local.INFO: Packet analysis {"connection_id":159879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 16:01:59] local.INFO: Extracted packet for processing {"connection_id":159879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 16:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572895488001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787394424000,"timestamp_ms":1787394424000,"timestamp_seconds":1787394424,"priority":1,"record_length":96,"hex_timestamp":"000001a029027cc0"} 
[2026-08-22 16: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-22 16: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-22 16: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":183,"data_length":795,"current_offset":136} 
[2026-08-22 16:01: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-22 16: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-22 16: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-22 16:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572895488001,"66":25908,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572895488001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:01:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:01:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572895488001,"power":25908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":159879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:01:59] local.INFO: GPS data processed {"connection_id":159879,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:01:59] local.INFO: Acknowledgment sent {"connection_id":159879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:02:04] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:02:04] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029027cc0012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:02:04] local.INFO: Packet analysis {"connection_id":159879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 16:02:04] local.INFO: Extracted packet for processing {"connection_id":159879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02902"} 
[2026-08-22 16:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572895488001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787394424000,"timestamp_ms":1787394424000,"timestamp_seconds":1787394424,"priority":1,"record_length":96,"hex_timestamp":"000001a029027cc0"} 
[2026-08-22 16: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-22 16:02: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-22 16: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-22 16:02: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-22 16: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-22 16: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-22 16:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572895488001,"66":25908,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572895488001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:02:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:02:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572895488001,"power":25908,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":159879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:02:04] local.INFO: GPS data processed {"connection_id":159879,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:02:04] local.INFO: Acknowledgment sent {"connection_id":159879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:02:26] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029060ae8012d18aa0007217370004a012d2c..."} 
[2026-08-22 16:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029060ae8012d18aa0007217370004a012d2c..."} 
[2026-08-22 16:02:26] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029060ae8012d18aa0007217370004a012d2c..."} 
[2026-08-22 16:02:26] local.INFO: Packet analysis {"connection_id":159880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02906"} 
[2026-08-22 16:02:26] local.INFO: Extracted packet for processing {"connection_id":159880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02906"} 
[2026-08-22 16:02:26] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632752,"longitude_deg":75.6591104,"latitude_deg":11.9632752,"altitude":74,"angle":301,"satellites":44,"speed":30,"hex_longitude":"2d18aa00","hex_latitude":"07217370","is_valid_coordinates":true} 
[2026-08-22 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-22 16:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573031680001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14641449022783488,"note":"Value kept but may cause issues"} 
[2026-08-22 16:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460367872,"note":"Value kept but may cause issues"} 
[2026-08-22 16:02:26] 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-22 16:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787394657000,"timestamp_ms":1787394657000,"timestamp_seconds":1787394657,"priority":1,"record_length":96,"hex_timestamp":"000001a029060ae8"} 
[2026-08-22 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-22 16:02: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-22 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 16:02: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-22 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-22 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-22 16:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:02: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-22 16:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573031680001,"66":14080,"106":206,"83":41984,"24":30,"16":14641449022783488,"45":1778640408460367872},"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-22 16:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573031680001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:02:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 16:02:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14641449022783488,"km_value":14641449022783.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460367872,"description":"Unknown IO ID 45"} 
[2026-08-22 16:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573031680001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1778640408460367872}} 
[2026-08-22 16:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":159880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:02:26] local.INFO: GPS data processed {"connection_id":159880,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:02:26] local.INFO: Acknowledgment sent {"connection_id":159880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:02:48] local.INFO: TCP Data received {"connection_id":160125,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:02:48] local.INFO: Processing buffer {"connection_id":160125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:02:48] local.INFO: IMEI packet received {"connection_id":160125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":160125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:02:52] local.INFO: TCP Data received {"connection_id":162482,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:02:52] local.INFO: Processing buffer {"connection_id":162482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:02:52] local.INFO: IMEI packet received {"connection_id":162482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":162482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:02:53] local.INFO: TCP Data received {"connection_id":162482,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:02:53] local.INFO: Processing buffer {"connection_id":162482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:02:53] local.INFO: IMEI packet received {"connection_id":162482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":162482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:02:54] local.INFO: TCP Data received {"connection_id":160125,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:02:54] local.INFO: Processing buffer {"connection_id":160125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:02:54] local.INFO: IMEI packet received {"connection_id":160125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":160125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:02:54] local.INFO: TCP Data received {"connection_id":160125,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:02:54] local.INFO: Processing buffer {"connection_id":160125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:02:54] local.INFO: Packet analysis {"connection_id":160125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:02:54] local.INFO: Extracted packet for processing {"connection_id":160125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:02:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572972544001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787394725000,"timestamp_ms":1787394725000,"timestamp_seconds":1787394725,"priority":1,"record_length":96,"hex_timestamp":"000001a029071488"} 
[2026-08-22 16:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 16:02:54] 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-22 16:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572972544001,"66":25843,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572972544001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:02:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:02:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572972544001,"power":25843,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":160125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:02:54] local.INFO: GPS data processed {"connection_id":160125,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:02:54] local.INFO: Acknowledgment sent {"connection_id":160125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:02:57] local.INFO: TCP Data received {"connection_id":162482,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:02:57] local.INFO: Processing buffer {"connection_id":162482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:02:57] local.INFO: IMEI packet received {"connection_id":162482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":162482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:02:58] local.INFO: TCP Data received {"connection_id":162482,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0290612b8012d18a400072175b0004b011f2c..."} 
[2026-08-22 16:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290612b8012d18a400072175b0004b011f2c..."} 
[2026-08-22 16:02:58] local.INFO: Processing buffer {"connection_id":162482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290612b8012d18a400072175b0004b011f2c..."} 
[2026-08-22 16:02:58] local.INFO: Packet analysis {"connection_id":162482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02906"} 
[2026-08-22 16:02:58] local.INFO: Extracted packet for processing {"connection_id":162482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02906"} 
[2026-08-22 16:02:58] local.INFO: GPS Element Parsed {"raw_longitude":756589568,"raw_latitude":119633328,"longitude_deg":75.6589568,"latitude_deg":11.9633328,"altitude":75,"angle":287,"satellites":44,"speed":33,"hex_longitude":"2d18a400","hex_latitude":"072175b0","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573032192001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14641526332194816,"note":"Value kept but may cause issues"} 
[2026-08-22 16:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033577066496,"note":"Value kept but may cause issues"} 
[2026-08-22 16:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787394659000,"timestamp_ms":1787394659000,"timestamp_seconds":1787394659,"priority":1,"record_length":96,"hex_timestamp":"000001a0290612b8"} 
[2026-08-22 16: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-22 16:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-22 16:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-22 16:02:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 16:02:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 16:02:58] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-08-22 16:02:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-22 16:02:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2147560728,"corrected_to":0} 
[2026-08-22 16:02:58] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,4,160,3,45,111,74,43,10,66,223,85,71,41,220,128,1,240,224,227,33,113,205,36,200,196,42,239,55,2,52,7,68],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0},{"io_id":200,"original":2147560728,"validated":0}]} 
[2026-08-22 16:02:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332593100787154944,"timestamp_seconds":5332593100787155.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 16: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-22 16:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:02:58] 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-22 16:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573032192001,"66":14113,"106":206,"83":41984,"24":33,"16":14641526332194816,"45":1777233033577066496},"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-22 16:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573032192001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:02:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 16:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14641526332194816,"km_value":14641526332194.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033577066496,"description":"Unknown IO ID 45"} 
[2026-08-22 16:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573032192001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1777233033577066496}} 
[2026-08-22 16:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":162482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:02:58] local.INFO: GPS data processed {"connection_id":162482,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:02:58] local.INFO: Acknowledgment sent {"connection_id":162482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:03:26] local.INFO: TCP Data received {"connection_id":160125,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:03:26] local.INFO: Processing buffer {"connection_id":160125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:03:26] local.INFO: Packet analysis {"connection_id":160125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:03:26] local.INFO: Extracted packet for processing {"connection_id":160125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:03:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572972544001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787394725000,"timestamp_ms":1787394725000,"timestamp_seconds":1787394725,"priority":1,"record_length":96,"hex_timestamp":"000001a029071488"} 
[2026-08-22 16: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-22 16:03: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-22 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 16:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572972544001,"66":25843,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572972544001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:03:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:03:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572972544001,"power":25843,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":160125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:03:26] local.INFO: GPS data processed {"connection_id":160125,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:03:26] local.INFO: Acknowledgment sent {"connection_id":160125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:03:29] local.INFO: TCP Data received {"connection_id":162482,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0290762a8012d1845400721e6e0005200222a..."} 
[2026-08-22 16:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290762a8012d1845400721e6e0005200222a..."} 
[2026-08-22 16:03:29] local.INFO: Processing buffer {"connection_id":162482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290762a8012d1845400721e6e0005200222a..."} 
[2026-08-22 16:03:29] local.INFO: Packet analysis {"connection_id":162482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:03:29] local.INFO: Extracted packet for processing {"connection_id":162482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756565312,"raw_latitude":119662304,"longitude_deg":75.6565312,"latitude_deg":11.9662304,"altitude":82,"angle":34,"satellites":42,"speed":37,"hex_longitude":"2d184540","hex_latitude":"0721e6e0","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573052160001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14644240751525888,"note":"Value kept but may cause issues"} 
[2026-08-22 16:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743456036377436160,"note":"Value kept but may cause issues"} 
[2026-08-22 16:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787394745000,"timestamp_ms":1787394745000,"timestamp_seconds":1787394745,"priority":1,"record_length":96,"hex_timestamp":"000001a0290762a8"} 
[2026-08-22 16: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-22 16:03: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-22 16:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-22 16:03:29] 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-22 16: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-22 16: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-22 16:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:03:29] 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-22 16:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573052160001,"66":14070,"105":206,"83":41984,"24":37,"16":14644240751525888,"45":1743456036377436160},"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-22 16:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573052160001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:03:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:03:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14644240751525888,"km_value":14644240751525.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743456036377436160,"description":"Unknown IO ID 45"} 
[2026-08-22 16:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573052160001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1743456036377436160}} 
[2026-08-22 16:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":162482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:03:29] local.INFO: GPS data processed {"connection_id":162482,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:03:29] local.INFO: Acknowledgment sent {"connection_id":162482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:03:49] local.INFO: TCP Data received {"connection_id":162483,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:03:49] local.INFO: Processing buffer {"connection_id":162483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:03:49] local.INFO: IMEI packet received {"connection_id":162483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":162483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:03:54] local.INFO: TCP Data received {"connection_id":162483,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:03:54] local.INFO: Processing buffer {"connection_id":162483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:03:54] local.INFO: IMEI packet received {"connection_id":162483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":162483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:03:54] local.INFO: TCP Data received {"connection_id":162483,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:03:54] local.INFO: Processing buffer {"connection_id":162483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:03:54] local.INFO: Packet analysis {"connection_id":162483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:03:54] local.INFO: Extracted packet for processing {"connection_id":162483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572972544001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787394725000,"timestamp_ms":1787394725000,"timestamp_seconds":1787394725,"priority":1,"record_length":96,"hex_timestamp":"000001a029071488"} 
[2026-08-22 16:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 16:03:54] 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-22 16:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572972544001,"66":25843,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572972544001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:03:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:03:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572972544001,"power":25843,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":162483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:03:54] local.INFO: GPS data processed {"connection_id":162483,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:03:54] local.INFO: Acknowledgment sent {"connection_id":162483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:04:03] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:04:03] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:04:03] local.INFO: IMEI packet received {"connection_id":159881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":159881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:04:08] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:04:08] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:04:08] local.INFO: IMEI packet received {"connection_id":159881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":159881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:04:17] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0290789b8012d185ac007220658005500222c..."} 
[2026-08-22 16:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290789b8012d185ac007220658005500222c..."} 
[2026-08-22 16:04:17] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290789b8012d185ac007220658005500222c..."} 
[2026-08-22 16:04:17] local.INFO: Packet analysis {"connection_id":159881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:04:17] local.INFO: Extracted packet for processing {"connection_id":159881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756570816,"raw_latitude":119670360,"longitude_deg":75.6570816,"latitude_deg":11.967036,"altitude":85,"angle":34,"satellites":44,"speed":38,"hex_longitude":"2d185ac0","hex_latitude":"07220658","is_valid_coordinates":true} 
[2026-08-22 16:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573054720001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14644713197928448,"note":"Value kept but may cause issues"} 
[2026-08-22 16:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748874429681033216,"note":"Value kept but may cause issues"} 
[2026-08-22 16:04: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-22 16:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787394755000,"timestamp_ms":1787394755000,"timestamp_seconds":1787394755,"priority":1,"record_length":96,"hex_timestamp":"000001a0290789b8"} 
[2026-08-22 16:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:04: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-22 16:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 16:04: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-22 16:04: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-22 16:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:04: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-22 16:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573054720001,"66":14070,"105":206,"83":41984,"24":38,"16":14644713197928448,"45":1748874429681033216},"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-22 16:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573054720001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:04:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:04:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14644713197928448,"km_value":14644713197928.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748874429681033216,"description":"Unknown IO ID 45"} 
[2026-08-22 16:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573054720001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1748874429681033216}} 
[2026-08-22 16:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":159881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:04:17] local.INFO: GPS data processed {"connection_id":159881,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:04:17] local.INFO: Acknowledgment sent {"connection_id":159881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:04:26] local.INFO: TCP Data received {"connection_id":162483,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:04:26] local.INFO: Processing buffer {"connection_id":162483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:04:26] local.INFO: Packet analysis {"connection_id":162483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:04:26] local.INFO: Extracted packet for processing {"connection_id":162483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:04:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572972544001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787394725000,"timestamp_ms":1787394725000,"timestamp_seconds":1787394725,"priority":1,"record_length":96,"hex_timestamp":"000001a029071488"} 
[2026-08-22 16:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:04: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-22 16:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 16:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572972544001,"66":25843,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572972544001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:04:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572972544001,"power":25843,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":162483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:04:26] local.INFO: GPS data processed {"connection_id":162483,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:04:26] local.INFO: Acknowledgment sent {"connection_id":162483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:04:48] local.INFO: TCP Data received {"connection_id":159882,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:04:48] local.INFO: Processing buffer {"connection_id":159882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:04:48] local.INFO: IMEI packet received {"connection_id":159882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":159882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:04:54] local.INFO: TCP Data received {"connection_id":159882,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:04:54] local.INFO: Processing buffer {"connection_id":159882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:04:54] local.INFO: IMEI packet received {"connection_id":159882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":159882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:04:55] local.INFO: TCP Data received {"connection_id":159882,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:04:55] local.INFO: Processing buffer {"connection_id":159882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:04:55] local.INFO: Packet analysis {"connection_id":159882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:04:55] local.INFO: Extracted packet for processing {"connection_id":159882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572972544001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787394725000,"timestamp_ms":1787394725000,"timestamp_seconds":1787394725,"priority":1,"record_length":96,"hex_timestamp":"000001a029071488"} 
[2026-08-22 16:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:04: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-22 16:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 16:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572972544001,"66":25843,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572972544001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:04:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:04:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572972544001,"power":25843,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":159882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:04:55] local.INFO: GPS data processed {"connection_id":159882,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:04:55] local.INFO: Acknowledgment sent {"connection_id":159882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:05:26] local.INFO: TCP Data received {"connection_id":159882,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:05:26] local.INFO: Processing buffer {"connection_id":159882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:05:26] local.INFO: Packet analysis {"connection_id":159882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:05:26] local.INFO: Extracted packet for processing {"connection_id":159882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:05:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572972544001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787394725000,"timestamp_ms":1787394725000,"timestamp_seconds":1787394725,"priority":1,"record_length":96,"hex_timestamp":"000001a029071488"} 
[2026-08-22 16: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-22 16:05: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-22 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 16:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572972544001,"66":25843,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572972544001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:05:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:05:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572972544001,"power":25843,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":159882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:05:26] local.INFO: GPS data processed {"connection_id":159882,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:05:26] local.INFO: Acknowledgment sent {"connection_id":159882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:05:48] local.INFO: TCP Data received {"connection_id":162484,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:05:48] local.INFO: Processing buffer {"connection_id":162484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:05:48] local.INFO: IMEI packet received {"connection_id":162484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":162484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:05:54] local.INFO: TCP Data received {"connection_id":162484,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:05:54] local.INFO: Processing buffer {"connection_id":162484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:05:54] local.INFO: IMEI packet received {"connection_id":162484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":162484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:05:56] local.INFO: TCP Data received {"connection_id":162484,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:05:56] local.INFO: Processing buffer {"connection_id":162484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:05:56] local.INFO: Packet analysis {"connection_id":162484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:05:56] local.INFO: Extracted packet for processing {"connection_id":162484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572972544001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787394725000,"timestamp_ms":1787394725000,"timestamp_seconds":1787394725,"priority":1,"record_length":96,"hex_timestamp":"000001a029071488"} 
[2026-08-22 16: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-22 16:05: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-22 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 16:05:56] 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-22 16: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-22 16: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-22 16:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572972544001,"66":25843,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572972544001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:05:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572972544001,"power":25843,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":162484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:05:56] local.INFO: GPS data processed {"connection_id":162484,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:05:56] local.INFO: Acknowledgment sent {"connection_id":162484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:05:59] local.INFO: TCP Data received {"connection_id":162485,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:05:59] local.INFO: Processing buffer {"connection_id":162485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:05:59] local.INFO: IMEI packet received {"connection_id":162485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":162485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:06:03] local.INFO: TCP Data received {"connection_id":162485,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:06:03] local.INFO: Processing buffer {"connection_id":162485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:06:03] local.INFO: IMEI packet received {"connection_id":162485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":162485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:06:07] local.INFO: TCP Data received {"connection_id":162485,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:06:07] local.INFO: Processing buffer {"connection_id":162485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:06:07] local.INFO: IMEI packet received {"connection_id":162485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":162485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:06:08] local.INFO: TCP Data received {"connection_id":162485,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0290927c8012d1916c007231d30005a003025..."} 
[2026-08-22 16:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290927c8012d1916c007231d30005a003025..."} 
[2026-08-22 16:06:08] local.INFO: Processing buffer {"connection_id":162485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290927c8012d1916c007231d30005a003025..."} 
[2026-08-22 16:06:08] local.INFO: Packet analysis {"connection_id":162485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02909"} 
[2026-08-22 16:06:08] local.INFO: Extracted packet for processing {"connection_id":162485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02909"} 
[2026-08-22 16:06:08] local.INFO: GPS Element Parsed {"raw_longitude":756618944,"raw_latitude":119741744,"longitude_deg":75.6618944,"latitude_deg":11.9741744,"altitude":90,"angle":48,"satellites":37,"speed":49,"hex_longitude":"2d1916c0","hex_latitude":"07231d30","is_valid_coordinates":true} 
[2026-08-22 16:06: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-22 16:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573083136001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14649514971365376,"note":"Value kept but may cause issues"} 
[2026-08-22 16:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803691681414518784,"note":"Value kept but may cause issues"} 
[2026-08-22 16:06:08] 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-22 16:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787394861000,"timestamp_ms":1787394861000,"timestamp_seconds":1787394861,"priority":1,"record_length":96,"hex_timestamp":"000001a0290927c8"} 
[2026-08-22 16:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:06: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-22 16:06: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 16:06:08] 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-22 16:06: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-22 16:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:06:08] 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-22 16:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573083136001,"66":14070,"186":206,"83":42752,"24":49,"16":14649514971365376,"45":1803691681414518784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-22 16:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573083136001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:06:08] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-22 16:06:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14649514971365376,"km_value":14649514971365.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803691681414518784,"description":"Unknown IO ID 45"} 
[2026-08-22 16:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573083136001,"power":14070,"unknown_186":206,"unknown_83":42752,"ignition":49,"odometer":null,"unknown_45":1803691681414518784}} 
[2026-08-22 16:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":162485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:06:08] local.INFO: GPS data processed {"connection_id":162485,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:06:08] local.INFO: Acknowledgment sent {"connection_id":162485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:06:09] local.INFO: TCP Data received {"connection_id":162485,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029094320012d193040072336080056002926..."} 
[2026-08-22 16:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029094320012d193040072336080056002926..."} 
[2026-08-22 16:06:09] local.INFO: Processing buffer {"connection_id":162485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029094320012d193040072336080056002926..."} 
[2026-08-22 16:06:09] local.INFO: Packet analysis {"connection_id":162485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02909"} 
[2026-08-22 16:06:09] local.INFO: Extracted packet for processing {"connection_id":162485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02909"} 
[2026-08-22 16:06:09] local.INFO: GPS Element Parsed {"raw_longitude":756625472,"raw_latitude":119748104,"longitude_deg":75.6625472,"latitude_deg":11.9748104,"altitude":86,"angle":41,"satellites":38,"speed":50,"hex_longitude":"2d193040","hex_latitude":"07233608","is_valid_coordinates":true} 
[2026-08-22 16:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573084416001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14649953058029568,"note":"Value kept but may cause issues"} 
[2026-08-22 16:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807843437322252288,"note":"Value kept but may cause issues"} 
[2026-08-22 16:06:09] 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-22 16:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787394868000,"timestamp_ms":1787394868000,"timestamp_seconds":1787394868,"priority":1,"record_length":96,"hex_timestamp":"000001a029094320"} 
[2026-08-22 16:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:06: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-22 16:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 16:06:09] 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-22 16:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:06:09] 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-22 16:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573084416001,"66":14080,"186":206,"83":42752,"24":50,"16":14649953058029568,"45":1807843437322252288},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-22 16:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573084416001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:06:09] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-22 16:06:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14649953058029568,"km_value":14649953058029.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807843437322252288,"description":"Unknown IO ID 45"} 
[2026-08-22 16:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573084416001,"power":14080,"unknown_186":206,"unknown_83":42752,"ignition":50,"odometer":null,"unknown_45":1807843437322252288}} 
[2026-08-22 16:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":162485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:06:09] local.INFO: GPS data processed {"connection_id":162485,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:06:09] local.INFO: Acknowledgment sent {"connection_id":162485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:06:27] local.INFO: TCP Data received {"connection_id":162484,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:06:27] local.INFO: Processing buffer {"connection_id":162484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:06:27] local.INFO: Packet analysis {"connection_id":162484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:06:27] local.INFO: Extracted packet for processing {"connection_id":162484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572972544001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787394725000,"timestamp_ms":1787394725000,"timestamp_seconds":1787394725,"priority":1,"record_length":96,"hex_timestamp":"000001a029071488"} 
[2026-08-22 16: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-22 16:06: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-22 16:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 16:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572972544001,"66":25843,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572972544001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:06:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572972544001,"power":25843,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":162484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:06:27] local.INFO: GPS data processed {"connection_id":162484,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:06:27] local.INFO: Acknowledgment sent {"connection_id":162484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:06:52] local.INFO: TCP Data received {"connection_id":161048,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:06:52] local.INFO: Processing buffer {"connection_id":161048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:06:52] local.INFO: IMEI packet received {"connection_id":161048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":161048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:06:54] local.INFO: TCP Data received {"connection_id":159883,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:06:54] local.INFO: Processing buffer {"connection_id":159883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:06:54] local.INFO: IMEI packet received {"connection_id":159883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":159883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:06:57] local.INFO: TCP Data received {"connection_id":161048,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:06:57] local.INFO: Processing buffer {"connection_id":161048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:06:57] local.INFO: IMEI packet received {"connection_id":161048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":161048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:06:58] local.INFO: TCP Data received {"connection_id":161048,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0290a6c00012d1a47000723d8e80032001f29..."} 
[2026-08-22 16:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290a6c00012d1a47000723d8e80032001f29..."} 
[2026-08-22 16:06:58] local.INFO: Processing buffer {"connection_id":161048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290a6c00012d1a47000723d8e80032001f29..."} 
[2026-08-22 16:06:58] local.INFO: Packet analysis {"connection_id":161048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290a"} 
[2026-08-22 16:06:58] local.INFO: Extracted packet for processing {"connection_id":161048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290a"} 
[2026-08-22 16:06:58] local.INFO: GPS Element Parsed {"raw_longitude":756696832,"raw_latitude":119789800,"longitude_deg":75.6696832,"latitude_deg":11.97898,"altitude":50,"angle":31,"satellites":41,"speed":37,"hex_longitude":"2d1a4700","hex_latitude":"0723d8e8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573103872001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14654200780685312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889471180579282944,"note":"Value kept but may cause issues"} 
[2026-08-22 16:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787394944000,"timestamp_ms":1787394944000,"timestamp_seconds":1787394944,"priority":1,"record_length":96,"hex_timestamp":"000001a0290a6c00"} 
[2026-08-22 16: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-22 16:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 16:06: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-22 16: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-22 16: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-22 16:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:06: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-22 16:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573103872001,"66":14396,"43":206,"83":42752,"24":37,"16":14654200780685312,"45":1889471180579282944},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 16:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573103872001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:06:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 16:06:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14654200780685312,"km_value":14654200780685.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889471180579282944,"description":"Unknown IO ID 45"} 
[2026-08-22 16:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573103872001,"power":14396,"unknown_43":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1889471180579282944}} 
[2026-08-22 16:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":161048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:06:58] local.INFO: GPS data processed {"connection_id":161048,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:06:58] local.INFO: Acknowledgment sent {"connection_id":161048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:06:59] local.INFO: TCP Data received {"connection_id":159883,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:06:59] local.INFO: Processing buffer {"connection_id":159883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:06:59] local.INFO: IMEI packet received {"connection_id":159883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":159883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:07:00] local.INFO: TCP Data received {"connection_id":159883,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:07:00] local.INFO: Processing buffer {"connection_id":159883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:07:00] local.INFO: Packet analysis {"connection_id":159883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:07:00] local.INFO: Extracted packet for processing {"connection_id":159883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:07:00] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572972544001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787394725000,"timestamp_ms":1787394725000,"timestamp_seconds":1787394725,"priority":1,"record_length":96,"hex_timestamp":"000001a029071488"} 
[2026-08-22 16: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-22 16:07: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-22 16:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 16:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572972544001,"66":25843,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572972544001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:07:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:07:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572972544001,"power":25843,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":159883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:07:00] local.INFO: GPS data processed {"connection_id":159883,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:07:00] local.INFO: Acknowledgment sent {"connection_id":159883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:07:04] local.INFO: TCP Data received {"connection_id":159883,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:07:04] local.INFO: Processing buffer {"connection_id":159883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029071488012d7fac4005afe1d80000006626..."} 
[2026-08-22 16:07:04] local.INFO: Packet analysis {"connection_id":159883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:07:04] local.INFO: Extracted packet for processing {"connection_id":159883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02907"} 
[2026-08-22 16:07:04] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457572972544001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787394725000,"timestamp_ms":1787394725000,"timestamp_seconds":1787394725,"priority":1,"record_length":96,"hex_timestamp":"000001a029071488"} 
[2026-08-22 16: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-22 16: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-22 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 16:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457572972544001,"66":25843,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457572972544001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:07:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:07:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457572972544001,"power":25843,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":159883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:07:04] local.INFO: GPS data processed {"connection_id":159883,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:07:04] local.INFO: Acknowledgment sent {"connection_id":159883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:07:29] local.INFO: TCP Data received {"connection_id":161048,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0290a9310012d1a5bc00723f8d8003000262b..."} 
[2026-08-22 16:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290a9310012d1a5bc00723f8d8003000262b..."} 
[2026-08-22 16:07:29] local.INFO: Processing buffer {"connection_id":161048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290a9310012d1a5bc00723f8d8003000262b..."} 
[2026-08-22 16:07:29] local.INFO: Packet analysis {"connection_id":161048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290a"} 
[2026-08-22 16:07:29] local.INFO: Extracted packet for processing {"connection_id":161048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290a"} 
[2026-08-22 16:07:29] local.INFO: GPS Element Parsed {"raw_longitude":756702144,"raw_latitude":119797976,"longitude_deg":75.6702144,"latitude_deg":11.9797976,"altitude":48,"angle":38,"satellites":43,"speed":38,"hex_longitude":"2d1a5bc0","hex_latitude":"0723f8d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573105664001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14654668932120576,"note":"Value kept but may cause issues"} 
[2026-08-22 16:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893482198998771712,"note":"Value kept but may cause issues"} 
[2026-08-22 16:07:29] 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-22 16:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787394954000,"timestamp_ms":1787394954000,"timestamp_seconds":1787394954,"priority":1,"record_length":96,"hex_timestamp":"000001a0290a9310"} 
[2026-08-22 16: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-22 16:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 16:07:29] 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-22 16: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-22 16: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-22 16:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:07:29] 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-22 16:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573105664001,"66":14461,"137":206,"83":42752,"24":38,"16":14654668932120576,"45":1893482198998771712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 16:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573105664001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:07:29] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 16:07:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14654668932120576,"km_value":14654668932120.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893482198998771712,"description":"Unknown IO ID 45"} 
[2026-08-22 16:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573105664001,"power":14461,"unknown_137":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1893482198998771712}} 
[2026-08-22 16:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":161048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:07:29] local.INFO: GPS data processed {"connection_id":161048,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:07:29] local.INFO: Acknowledgment sent {"connection_id":161048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:07:49] local.INFO: TCP Data received {"connection_id":162486,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:07:49] local.INFO: Processing buffer {"connection_id":162486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:07:49] local.INFO: IMEI packet received {"connection_id":162486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":162486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:07:54] local.INFO: TCP Data received {"connection_id":162486,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:07:54] local.INFO: Processing buffer {"connection_id":162486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:07:54] local.INFO: IMEI packet received {"connection_id":162486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":162486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:07:54] local.INFO: TCP Data received {"connection_id":160126,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:07:54] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:07:54] local.INFO: IMEI packet received {"connection_id":160126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":160126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:07:54] local.INFO: TCP Data received {"connection_id":162486,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:07:54] local.INFO: Processing buffer {"connection_id":162486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:07:54] local.INFO: Packet analysis {"connection_id":162486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:07:54] local.INFO: Extracted packet for processing {"connection_id":162486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:07:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573049600001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787395026000,"timestamp_ms":1787395026000,"timestamp_seconds":1787395026,"priority":1,"record_length":96,"hex_timestamp":"000001a0290bac50"} 
[2026-08-22 16:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 16:07:54] 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-22 16:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573049600001,"66":25734,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573049600001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:07:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:07:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573049600001,"power":25734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":162486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:07:54] local.INFO: GPS data processed {"connection_id":162486,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:07:54] local.INFO: Acknowledgment sent {"connection_id":162486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:07:57] local.INFO: TCP Data received {"connection_id":160126,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:07:57] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:07:57] local.INFO: IMEI packet received {"connection_id":160126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":160126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:07:58] local.INFO: TCP Data received {"connection_id":160126,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0290aa698012d1a6940072406d0002f00332b..."} 
[2026-08-22 16:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290aa698012d1a6940072406d0002f00332b..."} 
[2026-08-22 16:07:58] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290aa698012d1a6940072406d0002f00332b..."} 
[2026-08-22 16:07:58] local.INFO: Packet analysis {"connection_id":160126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290a"} 
[2026-08-22 16:07:58] local.INFO: Extracted packet for processing {"connection_id":160126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290a"} 
[2026-08-22 16:07:58] local.INFO: GPS Element Parsed {"raw_longitude":756705600,"raw_latitude":119801552,"longitude_deg":75.67056,"latitude_deg":11.9801552,"altitude":47,"angle":51,"satellites":43,"speed":40,"hex_longitude":"2d1a6940","hex_latitude":"072406d0","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573108224001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14654909450289152,"note":"Value kept but may cause issues"} 
[2026-08-22 16:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899322804767610880,"note":"Value kept but may cause issues"} 
[2026-08-22 16:07:58] 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-22 16:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787394959000,"timestamp_ms":1787394959000,"timestamp_seconds":1787394959,"priority":1,"record_length":96,"hex_timestamp":"000001a0290aa698"} 
[2026-08-22 16: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-22 16:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 16:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:07: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-22 16:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573108224001,"66":14428,"137":206,"83":42752,"24":40,"16":14654909450289152,"45":1899322804767610880},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 16:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573108224001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:07:58] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 16:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14654909450289152,"km_value":14654909450289.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899322804767610880,"description":"Unknown IO ID 45"} 
[2026-08-22 16:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573108224001,"power":14428,"unknown_137":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1899322804767610880}} 
[2026-08-22 16:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":160126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:07:58] local.INFO: GPS data processed {"connection_id":160126,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:07:58] local.INFO: Acknowledgment sent {"connection_id":160126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:08:03] local.INFO: TCP Data received {"connection_id":160126,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0290ac9c0012d1a8480072416b0002f003f2c..."} 
[2026-08-22 16:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290ac9c0012d1a8480072416b0002f003f2c..."} 
[2026-08-22 16:08:03] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290ac9c0012d1a8480072416b0002f003f2c..."} 
[2026-08-22 16:08:03] local.INFO: Packet analysis {"connection_id":160126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290a"} 
[2026-08-22 16:08:03] local.INFO: Extracted packet for processing {"connection_id":160126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290a"} 
[2026-08-22 16:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756712576,"raw_latitude":119805616,"longitude_deg":75.6712576,"latitude_deg":11.9805616,"altitude":47,"angle":63,"satellites":44,"speed":37,"hex_longitude":"2d1a8480","hex_latitude":"072416b0","is_valid_coordinates":true} 
[2026-08-22 16:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573109504001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14655291702378496,"note":"Value kept but may cause issues"} 
[2026-08-22 16:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903122716954120192,"note":"Value kept but may cause issues"} 
[2026-08-22 16:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787394968000,"timestamp_ms":1787394968000,"timestamp_seconds":1787394968,"priority":1,"record_length":96,"hex_timestamp":"000001a0290ac9c0"} 
[2026-08-22 16:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 16:08:03] 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-22 16:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:08:03] 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-22 16:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573109504001,"66":14102,"137":206,"83":42752,"24":37,"16":14655291702378496,"45":1903122716954120192},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 16:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573109504001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:08:03] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 16:08:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14655291702378496,"km_value":14655291702378.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903122716954120192,"description":"Unknown IO ID 45"} 
[2026-08-22 16:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573109504001,"power":14102,"unknown_137":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1903122716954120192}} 
[2026-08-22 16:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":160126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:08:03] local.INFO: GPS data processed {"connection_id":160126,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:08:03] local.INFO: Acknowledgment sent {"connection_id":160126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:08:25] local.INFO: TCP Data received {"connection_id":162486,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:08:25] local.INFO: Processing buffer {"connection_id":162486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:08:25] local.INFO: Packet analysis {"connection_id":162486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:08:25] local.INFO: Extracted packet for processing {"connection_id":162486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:08:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 16:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573049600001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787395026000,"timestamp_ms":1787395026000,"timestamp_seconds":1787395026,"priority":1,"record_length":96,"hex_timestamp":"000001a0290bac50"} 
[2026-08-22 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-22 16:08: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-22 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 16:08:25] 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-22 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-22 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-22 16:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573049600001,"66":25734,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573049600001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:08:25] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:08:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573049600001,"power":25734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":162486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:08:26] local.INFO: GPS data processed {"connection_id":162486,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:08:26] local.INFO: Acknowledgment sent {"connection_id":162486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:08:34] local.INFO: TCP Data received {"connection_id":160126,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0290af4b8012d1aa6c007242550003000422a..."} 
[2026-08-22 16:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290af4b8012d1aa6c007242550003000422a..."} 
[2026-08-22 16:08:34] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290af4b8012d1aa6c007242550003000422a..."} 
[2026-08-22 16:08:34] local.INFO: Packet analysis {"connection_id":160126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290a"} 
[2026-08-22 16:08:34] local.INFO: Extracted packet for processing {"connection_id":160126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290a"} 
[2026-08-22 16:08:34] local.INFO: GPS Element Parsed {"raw_longitude":756721344,"raw_latitude":119809360,"longitude_deg":75.6721344,"latitude_deg":11.980936,"altitude":48,"angle":66,"satellites":42,"speed":37,"hex_longitude":"2d1aa6c0","hex_latitude":"07242550","is_valid_coordinates":true} 
[2026-08-22 16:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573111808001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14655746968911872,"note":"Value kept but may cause issues"} 
[2026-08-22 16:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910792910070525952,"note":"Value kept but may cause issues"} 
[2026-08-22 16:08: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-22 16:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787394979000,"timestamp_ms":1787394979000,"timestamp_seconds":1787394979,"priority":1,"record_length":96,"hex_timestamp":"000001a0290af4b8"} 
[2026-08-22 16:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:08:34] 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-22 16:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 16:08:34] 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-22 16:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:08:34] 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-22 16:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573111808001,"66":14113,"137":206,"83":42752,"24":37,"16":14655746968911872,"45":1910792910070525952},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 16:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573111808001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:08:34] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 16:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14655746968911872,"km_value":14655746968911.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910792910070525952,"description":"Unknown IO ID 45"} 
[2026-08-22 16:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573111808001,"power":14113,"unknown_137":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1910792910070525952}} 
[2026-08-22 16:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":160126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:08:34] local.INFO: GPS data processed {"connection_id":160126,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:08:34] local.INFO: Acknowledgment sent {"connection_id":160126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:08:49] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:08:49] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:08:49] local.INFO: IMEI packet received {"connection_id":159884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":159884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:08:52] local.INFO: TCP Data received {"connection_id":160127,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:08:52] local.INFO: Processing buffer {"connection_id":160127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:08:52] local.INFO: IMEI packet received {"connection_id":160127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":160127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:08:54] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:08:54] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:08:54] local.INFO: IMEI packet received {"connection_id":159884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":159884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:08:55] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:08:55] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:08:55] local.INFO: Packet analysis {"connection_id":159884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:08:55] local.INFO: Extracted packet for processing {"connection_id":159884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573049600001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787395026000,"timestamp_ms":1787395026000,"timestamp_seconds":1787395026,"priority":1,"record_length":96,"hex_timestamp":"000001a0290bac50"} 
[2026-08-22 16:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:08: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-22 16:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 16:08: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-22 16:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573049600001,"66":25734,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573049600001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:08:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:08:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573049600001,"power":25734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":159884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:08:55] local.INFO: GPS data processed {"connection_id":159884,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:08:55] local.INFO: Acknowledgment sent {"connection_id":159884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:08:57] local.INFO: TCP Data received {"connection_id":160127,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:08:57] local.INFO: Processing buffer {"connection_id":160127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:08:57] local.INFO: IMEI packet received {"connection_id":160127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":160127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:08:58] local.INFO: TCP Data received {"connection_id":160127,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0290b1bc8012d1ac880072434a0002f003f2a..."} 
[2026-08-22 16:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290b1bc8012d1ac880072434a0002f003f2a..."} 
[2026-08-22 16:08:58] local.INFO: Processing buffer {"connection_id":160127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290b1bc8012d1ac880072434a0002f003f2a..."} 
[2026-08-22 16:08:58] local.INFO: Packet analysis {"connection_id":160127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:08:58] local.INFO: Extracted packet for processing {"connection_id":160127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:08:58] local.INFO: GPS Element Parsed {"raw_longitude":756729984,"raw_latitude":119813280,"longitude_deg":75.6729984,"latitude_deg":11.981328,"altitude":47,"angle":63,"satellites":42,"speed":34,"hex_longitude":"2d1ac880","hex_latitude":"072434a0","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573114624001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14656197940477952,"note":"Value kept but may cause issues"} 
[2026-08-22 16:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920433428023824384,"note":"Value kept but may cause issues"} 
[2026-08-22 16:08:58] 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-22 16:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787394989000,"timestamp_ms":1787394989000,"timestamp_seconds":1787394989,"priority":1,"record_length":96,"hex_timestamp":"000001a0290b1bc8"} 
[2026-08-22 16: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-22 16:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-22 16:08:58] 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-22 16: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-22 16: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-22 16:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:08: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-22 16:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573114624001,"66":14102,"176":206,"83":42752,"24":34,"16":14656197940477952,"45":1920433428023824384},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 16:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573114624001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:08:58] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 16:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14656197940477952,"km_value":14656197940477.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920433428023824384,"description":"Unknown IO ID 45"} 
[2026-08-22 16:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573114624001,"power":14102,"unknown_176":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1920433428023824384}} 
[2026-08-22 16:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":160127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:08:58] local.INFO: GPS data processed {"connection_id":160127,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:08:58] local.INFO: Acknowledgment sent {"connection_id":160127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:09:26] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:09:26] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:09:26] local.INFO: Packet analysis {"connection_id":159884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:09:26] local.INFO: Extracted packet for processing {"connection_id":159884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573049600001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787395026000,"timestamp_ms":1787395026000,"timestamp_seconds":1787395026,"priority":1,"record_length":96,"hex_timestamp":"000001a0290bac50"} 
[2026-08-22 16: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-22 16:09: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-22 16: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 16:09:26] 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-22 16: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-22 16: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-22 16:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573049600001,"66":25734,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573049600001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:09:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573049600001,"power":25734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":159884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:09:26] local.INFO: GPS data processed {"connection_id":159884,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:09:26] local.INFO: Acknowledgment sent {"connection_id":159884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:09:29] local.INFO: TCP Data received {"connection_id":160127,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0290b2f50012d1ad64007243d38003000312b..."} 
[2026-08-22 16:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290b2f50012d1ad64007243d38003000312b..."} 
[2026-08-22 16:09:29] local.INFO: Processing buffer {"connection_id":160127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290b2f50012d1ad64007243d38003000312b..."} 
[2026-08-22 16:09:29] local.INFO: Packet analysis {"connection_id":160127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:09:29] local.INFO: Extracted packet for processing {"connection_id":160127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:09:29] local.INFO: GPS Element Parsed {"raw_longitude":756733504,"raw_latitude":119815480,"longitude_deg":75.6733504,"latitude_deg":11.981548,"altitude":48,"angle":49,"satellites":43,"speed":33,"hex_longitude":"2d1ad640","hex_latitude":"07243d38","is_valid_coordinates":true} 
[2026-08-22 16:09: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-22 16:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573117184001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14656395508973568,"note":"Value kept but may cause issues"} 
[2026-08-22 16:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929933208488812544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:09:29] 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-22 16:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787394994000,"timestamp_ms":1787394994000,"timestamp_seconds":1787394994,"priority":1,"record_length":96,"hex_timestamp":"000001a0290b2f50"} 
[2026-08-22 16:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:09: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":22,"data_length":795,"current_offset":136} 
[2026-08-22 16:09:29] 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-22 16:09: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-22 16:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:09:29] 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-22 16:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573117184001,"66":14102,"176":206,"83":42752,"24":33,"16":14656395508973568,"45":1929933208488812544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 16:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573117184001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:09:29] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 16:09:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14656395508973568,"km_value":14656395508973.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929933208488812544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573117184001,"power":14102,"unknown_176":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1929933208488812544}} 
[2026-08-22 16:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":160127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:09:29] local.INFO: GPS data processed {"connection_id":160127,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:09:29] local.INFO: Acknowledgment sent {"connection_id":160127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:09:48] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:09:48] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:09:48] local.INFO: IMEI packet received {"connection_id":159885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":159885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:09:53] local.INFO: TCP Data received {"connection_id":162487,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:09:53] local.INFO: Processing buffer {"connection_id":162487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:09:53] local.INFO: IMEI packet received {"connection_id":162487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":162487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:09:54] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:09:54] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:09:54] local.INFO: IMEI packet received {"connection_id":159885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":159885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:09:57] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:09:57] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:09:57] local.INFO: Packet analysis {"connection_id":159885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:09:57] local.INFO: Extracted packet for processing {"connection_id":159885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 16:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573049600001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787395026000,"timestamp_ms":1787395026000,"timestamp_seconds":1787395026,"priority":1,"record_length":96,"hex_timestamp":"000001a0290bac50"} 
[2026-08-22 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-22 16:09: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-22 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 16:09:57] 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-22 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-22 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-22 16:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573049600001,"66":25734,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573049600001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:09:57] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573049600001,"power":25734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":159885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:09:57] local.INFO: GPS data processed {"connection_id":159885,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:09:57] local.INFO: Acknowledgment sent {"connection_id":159885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:09:57] local.INFO: TCP Data received {"connection_id":162487,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:09:57] local.INFO: Processing buffer {"connection_id":162487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:09:57] local.INFO: IMEI packet received {"connection_id":162487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":162487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:09:58] local.INFO: TCP Data received {"connection_id":162487,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0290d8110012d1af4c007246908002d002e2c..."} 
[2026-08-22 16:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290d8110012d1af4c007246908002d002e2c..."} 
[2026-08-22 16:09:58] local.INFO: Processing buffer {"connection_id":162487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290d8110012d1af4c007246908002d002e2c..."} 
[2026-08-22 16:09:58] local.INFO: Packet analysis {"connection_id":162487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290d"} 
[2026-08-22 16:09:58] local.INFO: Extracted packet for processing {"connection_id":162487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290d"} 
[2026-08-22 16:09:58] local.INFO: GPS Element Parsed {"raw_longitude":756741312,"raw_latitude":119826696,"longitude_deg":75.6741312,"latitude_deg":11.9826696,"altitude":45,"angle":46,"satellites":44,"speed":3,"hex_longitude":"2d1af4c0","hex_latitude":"07246908","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573152000001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14657086998708224,"note":"Value kept but may cause issues"} 
[2026-08-22 16:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941262576304666624,"note":"Value kept but may cause issues"} 
[2026-08-22 16:09:58] 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-22 16:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787395146000,"timestamp_ms":1787395146000,"timestamp_seconds":1787395146,"priority":1,"record_length":96,"hex_timestamp":"000001a0290d8110"} 
[2026-08-22 16: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-22 16:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:09: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-22 16:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573152000001,"66":12374,"176":206,"83":42752,"24":3,"16":14657086998708224,"45":1941262576304666624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 16:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573152000001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:09:58] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 16:09:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14657086998708224,"km_value":14657086998708.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941262576304666624,"description":"Unknown IO ID 45"} 
[2026-08-22 16:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573152000001,"power":12374,"unknown_176":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1941262576304666624}} 
[2026-08-22 16:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":162487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:09:58] local.INFO: GPS data processed {"connection_id":162487,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:09:58] local.INFO: Acknowledgment sent {"connection_id":162487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:10:30] local.INFO: TCP Data received {"connection_id":162487,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0290d8cc8012d1af60007246a80002d001c2c..."} 
[2026-08-22 16:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290d8cc8012d1af60007246a80002d001c2c..."} 
[2026-08-22 16:10:30] local.INFO: Processing buffer {"connection_id":162487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290d8cc8012d1af60007246a80002d001c2c..."} 
[2026-08-22 16:10:30] local.INFO: Packet analysis {"connection_id":162487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290d"} 
[2026-08-22 16:10:30] local.INFO: Extracted packet for processing {"connection_id":162487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290d"} 
[2026-08-22 16:10:30] local.INFO: GPS Element Parsed {"raw_longitude":756741632,"raw_latitude":119827072,"longitude_deg":75.6741632,"latitude_deg":11.9827072,"altitude":45,"angle":28,"satellites":44,"speed":6,"hex_longitude":"2d1af600","hex_latitude":"07246a80","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573157376001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14657112768512000,"note":"Value kept but may cause issues"} 
[2026-08-22 16:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942388476211693568,"note":"Value kept but may cause issues"} 
[2026-08-22 16:10:30] 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-22 16:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787395149000,"timestamp_ms":1787395149000,"timestamp_seconds":1787395149,"priority":1,"record_length":96,"hex_timestamp":"000001a0290d8cc8"} 
[2026-08-22 16: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-22 16:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 16:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:10: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-22 16:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573157376001,"66":12145,"176":206,"83":42752,"24":6,"16":14657112768512000,"45":1942388476211693568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 16:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573157376001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:10:30] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 16:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14657112768512000,"km_value":14657112768512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942388476211693568,"description":"Unknown IO ID 45"} 
[2026-08-22 16:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573157376001,"power":12145,"unknown_176":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1942388476211693568}} 
[2026-08-22 16:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":162487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:10:30] local.INFO: GPS data processed {"connection_id":162487,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:10:30] local.INFO: Acknowledgment sent {"connection_id":162487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:10:30] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:10:30] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:10:30] local.INFO: Packet analysis {"connection_id":159885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:10:30] local.INFO: Extracted packet for processing {"connection_id":159885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573049600001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787395026000,"timestamp_ms":1787395026000,"timestamp_seconds":1787395026,"priority":1,"record_length":96,"hex_timestamp":"000001a0290bac50"} 
[2026-08-22 16: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-22 16:10: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-22 16: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-22 16: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-22 16: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-22 16: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-22 16:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573049600001,"66":25734,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573049600001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:10:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573049600001,"power":25734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":159885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:10:30] local.INFO: GPS data processed {"connection_id":159885,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:10:30] local.INFO: Acknowledgment sent {"connection_id":159885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:10:48] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:10:48] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:10:48] local.INFO: IMEI packet received {"connection_id":159886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":159886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:10:52] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:10:52] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:10:52] local.INFO: IMEI packet received {"connection_id":159887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":159887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:10:54] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:10:54] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:10:54] local.INFO: IMEI packet received {"connection_id":159886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":159886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:10:55] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:10:55] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:10:55] local.INFO: Packet analysis {"connection_id":159886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:10:55] local.INFO: Extracted packet for processing {"connection_id":159886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:10:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573049600001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787395026000,"timestamp_ms":1787395026000,"timestamp_seconds":1787395026,"priority":1,"record_length":96,"hex_timestamp":"000001a0290bac50"} 
[2026-08-22 16:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16: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-22 16:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 16:10: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-22 16:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573049600001,"66":25734,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573049600001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:10:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:10:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573049600001,"power":25734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":159886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:10:55] local.INFO: GPS data processed {"connection_id":159886,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:10:55] local.INFO: Acknowledgment sent {"connection_id":159886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:10:57] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:10:57] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:10:57] local.INFO: IMEI packet received {"connection_id":159887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":159887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:10:59] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0290d9498012d1af70007246b90002d002a2c..."} 
[2026-08-22 16:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290d9498012d1af70007246b90002d002a2c..."} 
[2026-08-22 16:10:59] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290d9498012d1af70007246b90002d002a2c..."} 
[2026-08-22 16:10:59] local.INFO: Packet analysis {"connection_id":159887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290d"} 
[2026-08-22 16:10:59] local.INFO: Extracted packet for processing {"connection_id":159887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290d"} 
[2026-08-22 16:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756741888,"raw_latitude":119827344,"longitude_deg":75.6741888,"latitude_deg":11.9827344,"altitude":45,"angle":42,"satellites":44,"speed":5,"hex_longitude":"2d1af700","hex_latitude":"07246b90","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573158144001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14657129948381184,"note":"Value kept but may cause issues"} 
[2026-08-22 16:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942740319932678144,"note":"Value kept but may cause issues"} 
[2026-08-22 16:10:59] 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-22 16:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787395151000,"timestamp_ms":1787395151000,"timestamp_seconds":1787395151,"priority":1,"record_length":96,"hex_timestamp":"000001a0290d9498"} 
[2026-08-22 16: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-22 16:10: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-22 16: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-22 16:10:59] 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-22 16: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-22 16: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-22 16:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:10:59] 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-22 16:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573158144001,"66":13537,"176":206,"83":42752,"24":5,"16":14657129948381184,"45":1942740319932678144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 16:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573158144001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:10:59] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 16:10:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14657129948381184,"km_value":14657129948381.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942740319932678144,"description":"Unknown IO ID 45"} 
[2026-08-22 16:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573158144001,"power":13537,"unknown_176":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1942740319932678144}} 
[2026-08-22 16:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":159887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:10:59] local.INFO: GPS data processed {"connection_id":159887,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:10:59] local.INFO: Acknowledgment sent {"connection_id":159887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:11:27] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:11:27] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:11:27] local.INFO: Packet analysis {"connection_id":159886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:11:27] local.INFO: Extracted packet for processing {"connection_id":159886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573049600001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787395026000,"timestamp_ms":1787395026000,"timestamp_seconds":1787395026,"priority":1,"record_length":96,"hex_timestamp":"000001a0290bac50"} 
[2026-08-22 16:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:11: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-22 16:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 16:11:27] 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-22 16:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573049600001,"66":25734,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573049600001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:11:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573049600001,"power":25734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":159886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:11:27] local.INFO: GPS data processed {"connection_id":159886,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:11:27] local.INFO: Acknowledgment sent {"connection_id":159886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:11:30] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0290de6a0012d1affc0072475d0002c002d2c..."} 
[2026-08-22 16:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290de6a0012d1affc0072475d0002c002d2c..."} 
[2026-08-22 16:11:30] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290de6a0012d1affc0072475d0002c002d2c..."} 
[2026-08-22 16:11:30] local.INFO: Packet analysis {"connection_id":159887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290d"} 
[2026-08-22 16:11:30] local.INFO: Extracted packet for processing {"connection_id":159887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290d"} 
[2026-08-22 16:11:30] local.INFO: GPS Element Parsed {"raw_longitude":756744128,"raw_latitude":119829968,"longitude_deg":75.6744128,"latitude_deg":11.9829968,"altitude":44,"angle":45,"satellites":44,"speed":6,"hex_longitude":"2d1affc0","hex_latitude":"072475d0","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573158656001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14657301747073024,"note":"Value kept but may cause issues"} 
[2026-08-22 16:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943021794909458432,"note":"Value kept but may cause issues"} 
[2026-08-22 16:11:30] 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-22 16:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787395172000,"timestamp_ms":1787395172000,"timestamp_seconds":1787395172,"priority":1,"record_length":96,"hex_timestamp":"000001a0290de6a0"} 
[2026-08-22 16: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-22 16:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-22 16:11:30] 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-22 16: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-22 16: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-22 16:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:11: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-22 16:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573158656001,"66":13906,"176":206,"83":42752,"24":6,"16":14657301747073024,"45":1943021794909458432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 16:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573158656001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:11:30] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 16:11:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14657301747073024,"km_value":14657301747073.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943021794909458432,"description":"Unknown IO ID 45"} 
[2026-08-22 16:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573158656001,"power":13906,"unknown_176":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1943021794909458432}} 
[2026-08-22 16:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":159887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:11:30] local.INFO: GPS data processed {"connection_id":159887,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:11:30] local.INFO: Acknowledgment sent {"connection_id":159887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:11:48] local.INFO: TCP Data received {"connection_id":161049,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:11:48] local.INFO: Processing buffer {"connection_id":161049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:11:48] local.INFO: IMEI packet received {"connection_id":161049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":161049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:11:53] local.INFO: TCP Data received {"connection_id":162488,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:11:53] local.INFO: Processing buffer {"connection_id":162488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:11:53] local.INFO: IMEI packet received {"connection_id":162488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":162488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:11:54] local.INFO: TCP Data received {"connection_id":161049,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:11:54] local.INFO: Processing buffer {"connection_id":161049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:11:54] local.INFO: IMEI packet received {"connection_id":161049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":161049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:11:55] local.INFO: TCP Data received {"connection_id":161049,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:11:55] local.INFO: Processing buffer {"connection_id":161049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:11:55] local.INFO: Packet analysis {"connection_id":161049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:11:55] local.INFO: Extracted packet for processing {"connection_id":161049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573049600001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787395026000,"timestamp_ms":1787395026000,"timestamp_seconds":1787395026,"priority":1,"record_length":96,"hex_timestamp":"000001a0290bac50"} 
[2026-08-22 16:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:11: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-22 16:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 16:11: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-22 16:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573049600001,"66":25734,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573049600001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:11:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:11:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573049600001,"power":25734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":161049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:11:55] local.INFO: GPS data processed {"connection_id":161049,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:11:55] local.INFO: Acknowledgment sent {"connection_id":161049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:11:58] local.INFO: TCP Data received {"connection_id":162488,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:11:58] local.INFO: Processing buffer {"connection_id":162488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:11:58] local.INFO: IMEI packet received {"connection_id":162488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":162488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:11:59] local.INFO: TCP Data received {"connection_id":162488,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0290e38a8012d1b0b4007248258002c002b2c..."} 
[2026-08-22 16:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290e38a8012d1b0b4007248258002c002b2c..."} 
[2026-08-22 16:11:59] local.INFO: Processing buffer {"connection_id":162488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290e38a8012d1b0b4007248258002c002b2c..."} 
[2026-08-22 16:11:59] local.INFO: Packet analysis {"connection_id":162488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290e"} 
[2026-08-22 16:11:59] local.INFO: Extracted packet for processing {"connection_id":162488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290e"} 
[2026-08-22 16:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756747072,"raw_latitude":119833176,"longitude_deg":75.6747072,"latitude_deg":11.9833176,"altitude":44,"angle":43,"satellites":44,"speed":13,"hex_longitude":"2d1b0b40","hex_latitude":"07248258","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573164032001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14657507905503232,"note":"Value kept but may cause issues"} 
[2026-08-22 16:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945484700956348416,"note":"Value kept but may cause issues"} 
[2026-08-22 16:11:59] 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-22 16:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787395193000,"timestamp_ms":1787395193000,"timestamp_seconds":1787395193,"priority":1,"record_length":96,"hex_timestamp":"000001a0290e38a8"} 
[2026-08-22 16: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-22 16:11: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-22 16: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-22 16:11:59] 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-22 16: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-22 16: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-22 16:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:11:59] 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-22 16:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573164032001,"66":14135,"136":206,"83":42752,"24":13,"16":14657507905503232,"45":1945484700956348416},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 16:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573164032001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:11:59] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 16:11:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14657507905503232,"km_value":14657507905503.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945484700956348416,"description":"Unknown IO ID 45"} 
[2026-08-22 16:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573164032001,"power":14135,"unknown_136":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1945484700956348416}} 
[2026-08-22 16:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":162488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:11:59] local.INFO: GPS data processed {"connection_id":162488,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:11:59] local.INFO: Acknowledgment sent {"connection_id":162488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:12:26] local.INFO: TCP Data received {"connection_id":161049,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:12:26] local.INFO: Processing buffer {"connection_id":161049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290bac50012d7fac4005afe1d80000006629..."} 
[2026-08-22 16:12:26] local.INFO: Packet analysis {"connection_id":161049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:12:26] local.INFO: Extracted packet for processing {"connection_id":161049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290b"} 
[2026-08-22 16:12:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573049600001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787395026000,"timestamp_ms":1787395026000,"timestamp_seconds":1787395026,"priority":1,"record_length":96,"hex_timestamp":"000001a0290bac50"} 
[2026-08-22 16: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-22 16: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-22 16: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 16:12:26] 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-22 16: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-22 16: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-22 16:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573049600001,"66":25734,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573049600001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:12:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:12:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573049600001,"power":25734,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":161049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:12:26] local.INFO: GPS data processed {"connection_id":161049,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:12:26] local.INFO: Acknowledgment sent {"connection_id":161049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:12:30] local.INFO: TCP Data received {"connection_id":162488,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0290e5bd0012d1b164007248bb0002e003629..."} 
[2026-08-22 16:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290e5bd0012d1b164007248bb0002e003629..."} 
[2026-08-22 16:12:30] local.INFO: Processing buffer {"connection_id":162488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290e5bd0012d1b164007248bb0002e003629..."} 
[2026-08-22 16:12:30] local.INFO: Packet analysis {"connection_id":162488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290e"} 
[2026-08-22 16:12:30] local.INFO: Extracted packet for processing {"connection_id":162488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290e"} 
[2026-08-22 16:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756749888,"raw_latitude":119835568,"longitude_deg":75.6749888,"latitude_deg":11.9835568,"altitude":46,"angle":54,"satellites":41,"speed":23,"hex_longitude":"2d1b1640","hex_latitude":"07248bb0","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573169408001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14657688294129664,"note":"Value kept but may cause issues"} 
[2026-08-22 16:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948721663189342208,"note":"Value kept but may cause issues"} 
[2026-08-22 16:12:30] 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-22 16:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787395202000,"timestamp_ms":1787395202000,"timestamp_seconds":1787395202,"priority":1,"record_length":96,"hex_timestamp":"000001a0290e5bd0"} 
[2026-08-22 16: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-22 16:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-22 16:12:30] 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-22 16: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-22 16: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-22 16:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:12: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-22 16:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573169408001,"66":14157,"136":206,"83":42752,"24":23,"16":14657688294129664,"45":1948721663189342208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 16:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573169408001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:12:30] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 16:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14657688294129664,"km_value":14657688294129.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948721663189342208,"description":"Unknown IO ID 45"} 
[2026-08-22 16:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573169408001,"power":14157,"unknown_136":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1948721663189342208}} 
[2026-08-22 16:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":162488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:12:30] local.INFO: GPS data processed {"connection_id":162488,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:12:30] local.INFO: Acknowledgment sent {"connection_id":162488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:12:52] local.INFO: TCP Data received {"connection_id":160128,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:12:52] local.INFO: Processing buffer {"connection_id":160128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:12:52] local.INFO: IMEI packet received {"connection_id":160128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":160128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:12:54] local.INFO: TCP Data received {"connection_id":162489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:12:54] local.INFO: Processing buffer {"connection_id":162489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:12:54] local.INFO: IMEI packet received {"connection_id":162489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":162489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:12:57] local.INFO: TCP Data received {"connection_id":160128,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:12:57] local.INFO: Processing buffer {"connection_id":160128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:12:57] local.INFO: IMEI packet received {"connection_id":160128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":160128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:12:58] local.INFO: TCP Data received {"connection_id":160128,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0290eadd8012d1b248007249620002e00372d..."} 
[2026-08-22 16:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290eadd8012d1b248007249620002e00372d..."} 
[2026-08-22 16:12:58] local.INFO: Processing buffer {"connection_id":160128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290eadd8012d1b248007249620002e00372d..."} 
[2026-08-22 16:12:58] local.INFO: Packet analysis {"connection_id":160128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290e"} 
[2026-08-22 16:12:58] local.INFO: Extracted packet for processing {"connection_id":160128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290e"} 
[2026-08-22 16:12:58] local.INFO: GPS Element Parsed {"raw_longitude":756753536,"raw_latitude":119838240,"longitude_deg":75.6753536,"latitude_deg":11.983824,"altitude":46,"angle":55,"satellites":45,"speed":7,"hex_longitude":"2d1b2480","hex_latitude":"07249620","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573171712001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14657911632429056,"note":"Value kept but may cause issues"} 
[2026-08-22 16:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1951817887933771776,"note":"Value kept but may cause issues"} 
[2026-08-22 16:12:58] 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-22 16:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787395223000,"timestamp_ms":1787395223000,"timestamp_seconds":1787395223,"priority":1,"record_length":96,"hex_timestamp":"000001a0290eadd8"} 
[2026-08-22 16: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-22 16:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 16:12:58] 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-22 16: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-22 16: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-22 16:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:12: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-22 16:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573171712001,"66":14048,"136":206,"83":42752,"24":7,"16":14657911632429056,"45":1951817887933771776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 16:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573171712001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:12:58] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 16:12:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14657911632429056,"km_value":14657911632429.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1951817887933771776,"description":"Unknown IO ID 45"} 
[2026-08-22 16:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573171712001,"power":14048,"unknown_136":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1951817887933771776}} 
[2026-08-22 16:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":160128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:12:58] local.INFO: GPS data processed {"connection_id":160128,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:12:58] local.INFO: Acknowledgment sent {"connection_id":160128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:12:59] local.INFO: TCP Data received {"connection_id":162489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:12:59] local.INFO: Processing buffer {"connection_id":162489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:12:59] local.INFO: IMEI packet received {"connection_id":162489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":162489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:13:01] local.INFO: TCP Data received {"connection_id":162489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:13:01] local.INFO: Processing buffer {"connection_id":162489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:13:01] local.INFO: Packet analysis {"connection_id":162489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:13:01] local.INFO: Extracted packet for processing {"connection_id":162489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573126656001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787395327000,"timestamp_ms":1787395327000,"timestamp_seconds":1787395327,"priority":1,"record_length":96,"hex_timestamp":"000001a029104418"} 
[2026-08-22 16:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:13: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-22 16:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 16:13:01] 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-22 16:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573126656001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573126656001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:13:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573126656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":162489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:13:01] local.INFO: GPS data processed {"connection_id":162489,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:13:01] local.INFO: Acknowledgment sent {"connection_id":162489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:13:04] local.INFO: TCP Data received {"connection_id":162489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:13:04] local.INFO: Processing buffer {"connection_id":162489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:13:04] local.INFO: Packet analysis {"connection_id":162489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:13:04] local.INFO: Extracted packet for processing {"connection_id":162489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573126656001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787395327000,"timestamp_ms":1787395327000,"timestamp_seconds":1787395327,"priority":1,"record_length":96,"hex_timestamp":"000001a029104418"} 
[2026-08-22 16:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:13: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-22 16:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 16:13: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-22 16:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573126656001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573126656001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:13:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573126656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":162489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:13:04] local.INFO: GPS data processed {"connection_id":162489,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:13:04] local.INFO: Acknowledgment sent {"connection_id":162489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:13:30] local.INFO: TCP Data received {"connection_id":160128,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0290ebd78012d1b2680072497b8002e002c2c..."} 
[2026-08-22 16:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0290ebd78012d1b2680072497b8002e002c2c..."} 
[2026-08-22 16:13:30] local.INFO: Processing buffer {"connection_id":160128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0290ebd78012d1b2680072497b8002e002c2c..."} 
[2026-08-22 16:13:30] local.INFO: Packet analysis {"connection_id":160128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0290e"} 
[2026-08-22 16:13:30] local.INFO: Extracted packet for processing {"connection_id":160128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0290e"} 
[2026-08-22 16:13:30] local.INFO: GPS Element Parsed {"raw_longitude":756754048,"raw_latitude":119838648,"longitude_deg":75.6754048,"latitude_deg":11.9838648,"altitude":46,"angle":44,"satellites":44,"speed":3,"hex_longitude":"2d1b2680","hex_latitude":"072497b8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573177088001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14657945992167424,"note":"Value kept but may cause issues"} 
[2026-08-22 16:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955828906352582656,"note":"Value kept but may cause issues"} 
[2026-08-22 16:13:30] 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-22 16:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787395227000,"timestamp_ms":1787395227000,"timestamp_seconds":1787395227,"priority":1,"record_length":96,"hex_timestamp":"000001a0290ebd78"} 
[2026-08-22 16: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-22 16:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 16:13:30] 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-22 16: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-22 16: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-22 16:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:13: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-22 16:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573177088001,"66":13972,"136":206,"83":42752,"24":3,"16":14657945992167424,"45":1955828906352582656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 16:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573177088001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:13:30] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 16:13:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14657945992167424,"km_value":14657945992167.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955828906352582656,"description":"Unknown IO ID 45"} 
[2026-08-22 16:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573177088001,"power":13972,"unknown_136":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1955828906352582656}} 
[2026-08-22 16:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":160128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:13:30] local.INFO: GPS data processed {"connection_id":160128,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:13:30] local.INFO: Acknowledgment sent {"connection_id":160128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:13:48] local.INFO: TCP Data received {"connection_id":160129,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:13:48] local.INFO: Processing buffer {"connection_id":160129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:13:48] local.INFO: IMEI packet received {"connection_id":160129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":160129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:13:54] local.INFO: TCP Data received {"connection_id":160129,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:13:54] local.INFO: Processing buffer {"connection_id":160129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:13:54] local.INFO: IMEI packet received {"connection_id":160129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":160129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:13:55] local.INFO: TCP Data received {"connection_id":160129,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:13:55] local.INFO: Processing buffer {"connection_id":160129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:13:55] local.INFO: Packet analysis {"connection_id":160129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:13:55] local.INFO: Extracted packet for processing {"connection_id":160129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:13:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573126656001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787395327000,"timestamp_ms":1787395327000,"timestamp_seconds":1787395327,"priority":1,"record_length":96,"hex_timestamp":"000001a029104418"} 
[2026-08-22 16:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:13: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-22 16:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 16:13: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-22 16:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573126656001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573126656001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:13:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:13:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573126656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":160129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:13:55] local.INFO: GPS data processed {"connection_id":160129,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:13:55] local.INFO: Acknowledgment sent {"connection_id":160129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:13:57] local.INFO: TCP Data received {"connection_id":161050,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:13:57] local.INFO: Processing buffer {"connection_id":161050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:13:57] local.INFO: IMEI packet received {"connection_id":161050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":161050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:14:02] local.INFO: TCP Data received {"connection_id":161050,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:14:02] local.INFO: Processing buffer {"connection_id":161050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:14:02] local.INFO: IMEI packet received {"connection_id":161050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":161050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:14:03] local.INFO: TCP Data received {"connection_id":161050,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02910c500012d1b54800724c010002c00152d..."} 
[2026-08-22 16:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02910c500012d1b54800724c010002c00152d..."} 
[2026-08-22 16:14:03] local.INFO: Processing buffer {"connection_id":161050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02910c500012d1b54800724c010002c00152d..."} 
[2026-08-22 16:14:03] local.INFO: Packet analysis {"connection_id":161050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:14:03] local.INFO: Extracted packet for processing {"connection_id":161050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756765824,"raw_latitude":119848976,"longitude_deg":75.6765824,"latitude_deg":11.9848976,"altitude":44,"angle":21,"satellites":45,"speed":16,"hex_longitude":"2d1b5480","hex_latitude":"0724c010","is_valid_coordinates":true} 
[2026-08-22 16:14: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-22 16:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573210112001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14658710496346112,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968143436585992192,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:03] 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-22 16:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787395360000,"timestamp_ms":1787395360000,"timestamp_seconds":1787395360,"priority":1,"record_length":96,"hex_timestamp":"000001a02910c500"} 
[2026-08-22 16:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:14: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-22 16:14: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-22 16:14: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-22 16:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:14:03] 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-22 16:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573210112001,"66":14374,"136":206,"83":42752,"24":16,"16":14658710496346112,"45":1968143436585992192},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 16:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573210112001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:14:03] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 16:14:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14658710496346112,"km_value":14658710496346.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968143436585992192,"description":"Unknown IO ID 45"} 
[2026-08-22 16:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573210112001,"power":14374,"unknown_136":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1968143436585992192}} 
[2026-08-22 16:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":161050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:14:03] local.INFO: GPS data processed {"connection_id":161050,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:14:03] local.INFO: Acknowledgment sent {"connection_id":161050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:14:05] local.INFO: TCP Data received {"connection_id":161050,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029111708012d1b57c00724c7c0002b00082d..."} 
[2026-08-22 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029111708012d1b57c00724c7c0002b00082d..."} 
[2026-08-22 16:14:05] local.INFO: Processing buffer {"connection_id":161050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029111708012d1b57c00724c7c0002b00082d..."} 
[2026-08-22 16:14:05] local.INFO: Packet analysis {"connection_id":161050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02911"} 
[2026-08-22 16:14:05] local.INFO: Extracted packet for processing {"connection_id":161050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02911"} 
[2026-08-22 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756766656,"raw_latitude":119850944,"longitude_deg":75.6766656,"latitude_deg":11.9850944,"altitude":43,"angle":8,"satellites":45,"speed":6,"hex_longitude":"2d1b57c0","hex_latitude":"0724c7c0","is_valid_coordinates":true} 
[2026-08-22 16:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573212160001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14658817870528512,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969339705237442560,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:05] 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-22 16:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787395381000,"timestamp_ms":1787395381000,"timestamp_seconds":1787395381,"priority":1,"record_length":96,"hex_timestamp":"000001a029111708"} 
[2026-08-22 16:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:14:05] 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-22 16:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 16:14:05] 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-22 16:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:14:05] 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-22 16:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573212160001,"66":14374,"136":206,"83":42752,"24":6,"16":14658817870528512,"45":1969339705237442560},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 16:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573212160001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:14:05] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 16:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14658817870528512,"km_value":14658817870528.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969339705237442560,"description":"Unknown IO ID 45"} 
[2026-08-22 16:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573212160001,"power":14374,"unknown_136":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1969339705237442560}} 
[2026-08-22 16:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":161050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:14:05] local.INFO: GPS data processed {"connection_id":161050,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:14:05] local.INFO: Acknowledgment sent {"connection_id":161050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:14:26] local.INFO: TCP Data received {"connection_id":160129,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:14:26] local.INFO: Processing buffer {"connection_id":160129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:14:26] local.INFO: Packet analysis {"connection_id":160129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:14:26] local.INFO: Extracted packet for processing {"connection_id":160129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:14:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573126656001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787395327000,"timestamp_ms":1787395327000,"timestamp_seconds":1787395327,"priority":1,"record_length":96,"hex_timestamp":"000001a029104418"} 
[2026-08-22 16: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-22 16: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-22 16:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 16:14: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-22 16: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-22 16: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-22 16:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573126656001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573126656001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:14:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573126656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":160129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:14:26] local.INFO: GPS data processed {"connection_id":160129,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:14:26] local.INFO: Acknowledgment sent {"connection_id":160129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:14:36] local.INFO: TCP Data received {"connection_id":161050,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029111708012d1b57c00724c7c0002b00082d..."} 
[2026-08-22 16:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029111708012d1b57c00724c7c0002b00082d..."} 
[2026-08-22 16:14:36] local.INFO: Processing buffer {"connection_id":161050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029111708012d1b57c00724c7c0002b00082d..."} 
[2026-08-22 16:14:36] local.INFO: Packet analysis {"connection_id":161050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02911"} 
[2026-08-22 16:14:36] local.INFO: Extracted packet for processing {"connection_id":161050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02911"} 
[2026-08-22 16:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756766656,"raw_latitude":119850944,"longitude_deg":75.6766656,"latitude_deg":11.9850944,"altitude":43,"angle":8,"satellites":45,"speed":6,"hex_longitude":"2d1b57c0","hex_latitude":"0724c7c0","is_valid_coordinates":true} 
[2026-08-22 16:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573217536001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14658817870528512,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970254498912256000,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:36] 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-22 16:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787395381000,"timestamp_ms":1787395381000,"timestamp_seconds":1787395381,"priority":1,"record_length":96,"hex_timestamp":"000001a029111708"} 
[2026-08-22 16:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:14: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-22 16:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 16:14: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-22 16:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:14:36] 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-22 16:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573217536001,"66":14374,"136":206,"83":42752,"24":6,"16":14658817870528512,"45":1970254498912256000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 16:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573217536001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:14:36] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 16:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14658817870528512,"km_value":14658817870528.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970254498912256000,"description":"Unknown IO ID 45"} 
[2026-08-22 16:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573217536001,"power":14374,"unknown_136":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1970254498912256000}} 
[2026-08-22 16:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":161050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:14:36] local.INFO: GPS data processed {"connection_id":161050,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:14:36] local.INFO: Acknowledgment sent {"connection_id":161050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:14:48] local.INFO: TCP Data received {"connection_id":160131,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:14:48] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:14:48] local.INFO: IMEI packet received {"connection_id":160131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":160131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:14:48] local.INFO: TCP Data received {"connection_id":160130,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:14:48] local.INFO: Processing buffer {"connection_id":160130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:14:48] local.INFO: IMEI packet received {"connection_id":160130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":160130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:14:52] local.INFO: TCP Data received {"connection_id":160130,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:14:52] local.INFO: Processing buffer {"connection_id":160130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:14:52] local.INFO: IMEI packet received {"connection_id":160130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":160130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:14:53] local.INFO: TCP Data received {"connection_id":160130,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:14:53] local.INFO: Processing buffer {"connection_id":160130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:14:53] local.INFO: IMEI packet received {"connection_id":160130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":160130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:14:54] local.INFO: TCP Data received {"connection_id":160131,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:14:54] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:14:54] local.INFO: IMEI packet received {"connection_id":160131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":160131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:14:54] local.INFO: TCP Data received {"connection_id":160130,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291149d0012d1b57c00724ce28002c01632c..."} 
[2026-08-22 16:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291149d0012d1b57c00724ce28002c01632c..."} 
[2026-08-22 16:14:54] local.INFO: Processing buffer {"connection_id":160130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291149d0012d1b57c00724ce28002c01632c..."} 
[2026-08-22 16:14:54] local.INFO: Packet analysis {"connection_id":160130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02911"} 
[2026-08-22 16:14:54] local.INFO: Extracted packet for processing {"connection_id":160130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02911"} 
[2026-08-22 16:14:54] local.INFO: GPS Element Parsed {"raw_longitude":756766656,"raw_latitude":119852584,"longitude_deg":75.6766656,"latitude_deg":11.9852584,"altitude":44,"angle":355,"satellites":44,"speed":4,"hex_longitude":"2d1b57c0","hex_latitude":"0724ce28","is_valid_coordinates":true} 
[2026-08-22 16:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573217536001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14658899474907136,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970254498912256000,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:54] 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-22 16:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787395394000,"timestamp_ms":1787395394000,"timestamp_seconds":1787395394,"priority":1,"record_length":96,"hex_timestamp":"000001a0291149d0"} 
[2026-08-22 16:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 16:14:54] 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-22 16:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:14:54] 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-22 16:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573217536001,"66":14363,"44":206,"83":41984,"24":4,"16":14658899474907136,"45":1970254498912256000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 16:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573217536001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:14:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 16:14:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14658899474907136,"km_value":14658899474907.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970254498912256000,"description":"Unknown IO ID 45"} 
[2026-08-22 16:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573217536001,"power":14363,"unknown_44":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1970254498912256000}} 
[2026-08-22 16:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":160130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:14:54] local.INFO: GPS data processed {"connection_id":160130,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:14:54] local.INFO: Acknowledgment sent {"connection_id":160130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:14:54] local.INFO: TCP Data received {"connection_id":160131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:14:54] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:14:54] local.INFO: Packet analysis {"connection_id":160131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:14:54] local.INFO: Extracted packet for processing {"connection_id":160131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:14:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573126656001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787395327000,"timestamp_ms":1787395327000,"timestamp_seconds":1787395327,"priority":1,"record_length":96,"hex_timestamp":"000001a029104418"} 
[2026-08-22 16:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 16:14:54] 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-22 16:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573126656001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573126656001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:14:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:14:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573126656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":160131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:14:54] local.INFO: GPS data processed {"connection_id":160131,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:14:54] local.INFO: Acknowledgment sent {"connection_id":160131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:15:26] local.INFO: TCP Data received {"connection_id":160131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:15:26] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:15:26] local.INFO: Packet analysis {"connection_id":160131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:15:26] local.INFO: Extracted packet for processing {"connection_id":160131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:15:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573126656001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787395327000,"timestamp_ms":1787395327000,"timestamp_seconds":1787395327,"priority":1,"record_length":96,"hex_timestamp":"000001a029104418"} 
[2026-08-22 16: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-22 16: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-22 16: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 16:15: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-22 16: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-22 16: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-22 16:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573126656001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573126656001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:15:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:15:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573126656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":160131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:15:26] local.INFO: GPS data processed {"connection_id":160131,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:15:26] local.INFO: Acknowledgment sent {"connection_id":160131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:15:31] local.INFO: TCP Data received {"connection_id":160130,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291178b0012d1b58000724d7f8002b00082d..."} 
[2026-08-22 16:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291178b0012d1b58000724d7f8002b00082d..."} 
[2026-08-22 16:15:31] local.INFO: Processing buffer {"connection_id":160130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291178b0012d1b58000724d7f8002b00082d..."} 
[2026-08-22 16:15:31] local.INFO: Packet analysis {"connection_id":160130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02911"} 
[2026-08-22 16:15:31] local.INFO: Extracted packet for processing {"connection_id":160130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02911"} 
[2026-08-22 16:15:31] local.INFO: GPS Element Parsed {"raw_longitude":756766720,"raw_latitude":119855096,"longitude_deg":75.676672,"latitude_deg":11.9855096,"altitude":43,"angle":8,"satellites":45,"speed":4,"hex_longitude":"2d1b5800","hex_latitude":"0724d7f8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573220864001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14659024028958720,"note":"Value kept but may cause issues"} 
[2026-08-22 16:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970254498912675840,"note":"Value kept but may cause issues"} 
[2026-08-22 16:15:31] 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-22 16:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787395406000,"timestamp_ms":1787395406000,"timestamp_seconds":1787395406,"priority":1,"record_length":96,"hex_timestamp":"000001a0291178b0"} 
[2026-08-22 16: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-22 16:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-22 16:15: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-22 16: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-22 16: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-22 16:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:15:31] 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-22 16:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573220864001,"66":14341,"44":206,"83":41984,"24":4,"16":14659024028958720,"45":1970254498912675840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 16:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573220864001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:15:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 16:15:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14659024028958720,"km_value":14659024028958.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970254498912675840,"description":"Unknown IO ID 45"} 
[2026-08-22 16:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573220864001,"power":14341,"unknown_44":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1970254498912675840}} 
[2026-08-22 16:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":160130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:15:31] local.INFO: GPS data processed {"connection_id":160130,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:15:31] local.INFO: Acknowledgment sent {"connection_id":160130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:15:49] local.INFO: TCP Data received {"connection_id":162490,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:15:49] local.INFO: Processing buffer {"connection_id":162490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:15:49] local.INFO: IMEI packet received {"connection_id":162490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":162490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:15:52] local.INFO: TCP Data received {"connection_id":162490,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:15:52] local.INFO: Processing buffer {"connection_id":162490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:15:52] local.INFO: IMEI packet received {"connection_id":162490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":162490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:15:53] local.INFO: TCP Data received {"connection_id":162490,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:15:53] local.INFO: Processing buffer {"connection_id":162490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:15:53] local.INFO: IMEI packet received {"connection_id":162490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":162490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:15:54] local.INFO: TCP Data received {"connection_id":161051,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:15:54] local.INFO: Processing buffer {"connection_id":161051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:15:54] local.INFO: IMEI packet received {"connection_id":161051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":161051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:15:57] local.INFO: TCP Data received {"connection_id":162490,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:15:57] local.INFO: Processing buffer {"connection_id":162490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:15:57] local.INFO: IMEI packet received {"connection_id":162490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":162490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:15:57] local.INFO: TCP Data received {"connection_id":162490,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029130720012d1b35c00725ab180030015b2c..."} 
[2026-08-22 16:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029130720012d1b35c00725ab180030015b2c..."} 
[2026-08-22 16:15:57] local.INFO: Processing buffer {"connection_id":162490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029130720012d1b35c00725ab180030015b2c..."} 
[2026-08-22 16:15:57] local.INFO: Packet analysis {"connection_id":162490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:15:57] local.INFO: Extracted packet for processing {"connection_id":162490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:15:57] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119909144,"longitude_deg":75.6757952,"latitude_deg":11.9909144,"altitude":48,"angle":347,"satellites":44,"speed":18,"hex_longitude":"2d1b35c0","hex_latitude":"0725ab18","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573249024001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14661832937570304,"note":"Value kept but may cause issues"} 
[2026-08-22 16:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961317668416137216,"note":"Value kept but may cause issues"} 
[2026-08-22 16:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787395508000,"timestamp_ms":1787395508000,"timestamp_seconds":1787395508,"priority":1,"record_length":96,"hex_timestamp":"000001a029130720"} 
[2026-08-22 16: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-22 16:15:57] 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-22 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 16:15:57] 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-22 16: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-22 16: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-22 16:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:15:57] 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-22 16:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573249024001,"66":14483,"217":206,"83":42752,"24":18,"16":14661832937570304,"45":1961317668416137216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573249024001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:15:57] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14661832937570304,"km_value":14661832937570.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961317668416137216,"description":"Unknown IO ID 45"} 
[2026-08-22 16:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573249024001,"power":14483,"unknown_217":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1961317668416137216}} 
[2026-08-22 16:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":162490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:15:57] local.INFO: GPS data processed {"connection_id":162490,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:15:57] local.INFO: Acknowledgment sent {"connection_id":162490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:15:58] local.INFO: TCP Data received {"connection_id":162490,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291312d8012d1b35400725b150003000002c..."} 
[2026-08-22 16:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291312d8012d1b35400725b150003000002c..."} 
[2026-08-22 16:15:58] local.INFO: Processing buffer {"connection_id":162490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291312d8012d1b35400725b150003000002c..."} 
[2026-08-22 16:15:58] local.INFO: Packet analysis {"connection_id":162490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:15:58] local.INFO: Extracted packet for processing {"connection_id":162490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:15:58] local.INFO: GPS Element Parsed {"raw_longitude":756757824,"raw_latitude":119910736,"longitude_deg":75.6757824,"latitude_deg":11.9910736,"altitude":48,"angle":0,"satellites":44,"speed":24,"hex_longitude":"2d1b3540","hex_latitude":"0725b150","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573250048001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14661910246981632,"note":"Value kept but may cause issues"} 
[2026-08-22 16:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349718992896,"note":"Value kept but may cause issues"} 
[2026-08-22 16:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787395511000,"timestamp_ms":1787395511000,"timestamp_seconds":1787395511,"priority":1,"record_length":96,"hex_timestamp":"000001a0291312d8"} 
[2026-08-22 16: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-22 16:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-22 16:15:58] 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-22 16: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-22 16: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-22 16:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:15: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-22 16:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573250048001,"66":14461,"217":206,"83":42752,"24":24,"16":14661910246981632,"45":1960684349718992896},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573250048001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:15:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:15:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14661910246981632,"km_value":14661910246981.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349718992896,"description":"Unknown IO ID 45"} 
[2026-08-22 16:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573250048001,"power":14461,"unknown_217":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1960684349718992896}} 
[2026-08-22 16:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":162490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:15:58] local.INFO: GPS data processed {"connection_id":162490,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:15:58] local.INFO: Acknowledgment sent {"connection_id":162490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:15:59] local.INFO: TCP Data received {"connection_id":161051,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:15:59] local.INFO: Processing buffer {"connection_id":161051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:15:59] local.INFO: IMEI packet received {"connection_id":161051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":161051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:15:59] local.INFO: TCP Data received {"connection_id":161051,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:15:59] local.INFO: Processing buffer {"connection_id":161051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:15:59] local.INFO: Packet analysis {"connection_id":161051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:15:59] local.INFO: Extracted packet for processing {"connection_id":161051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573126656001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787395327000,"timestamp_ms":1787395327000,"timestamp_seconds":1787395327,"priority":1,"record_length":96,"hex_timestamp":"000001a029104418"} 
[2026-08-22 16: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-22 16:15: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-22 16: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":134,"data_length":795,"current_offset":136} 
[2026-08-22 16:15: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-22 16: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-22 16: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-22 16:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573126656001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573126656001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:15:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:15:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573126656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":161051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:15:59] local.INFO: GPS data processed {"connection_id":161051,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:15:59] local.INFO: Acknowledgment sent {"connection_id":161051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:16:04] local.INFO: TCP Data received {"connection_id":161051,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:16:04] local.INFO: Processing buffer {"connection_id":161051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:16:04] local.INFO: Packet analysis {"connection_id":161051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:16:04] local.INFO: Extracted packet for processing {"connection_id":161051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573126656001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787395327000,"timestamp_ms":1787395327000,"timestamp_seconds":1787395327,"priority":1,"record_length":96,"hex_timestamp":"000001a029104418"} 
[2026-08-22 16: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-22 16:16: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-22 16: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 16:16: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-22 16: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-22 16: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-22 16:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573126656001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573126656001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:16:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573126656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":161051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:16:04] local.INFO: GPS data processed {"connection_id":161051,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:16:04] local.INFO: Acknowledgment sent {"connection_id":161051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:16:29] local.INFO: TCP Data received {"connection_id":162490,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029132278012d1b36800725bba8002e000d2b..."} 
[2026-08-22 16:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029132278012d1b36800725bba8002e000d2b..."} 
[2026-08-22 16:16:29] local.INFO: Processing buffer {"connection_id":162490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029132278012d1b36800725bba8002e000d2b..."} 
[2026-08-22 16:16:29] local.INFO: Packet analysis {"connection_id":162490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:16:29] local.INFO: Extracted packet for processing {"connection_id":162490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:16:29] local.INFO: GPS Element Parsed {"raw_longitude":756758144,"raw_latitude":119913384,"longitude_deg":75.6758144,"latitude_deg":11.9913384,"altitude":46,"angle":13,"satellites":43,"speed":28,"hex_longitude":"2d1b3680","hex_latitude":"0725bba8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573250816001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662043390967808,"note":"Value kept but may cause issues"} 
[2026-08-22 16:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960543612231045120,"note":"Value kept but may cause issues"} 
[2026-08-22 16:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787395515000,"timestamp_ms":1787395515000,"timestamp_seconds":1787395515,"priority":1,"record_length":96,"hex_timestamp":"000001a029132278"} 
[2026-08-22 16: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-22 16:16: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-22 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 16:16:29] 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-22 16: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-22 16: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-22 16:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:16:29] 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-22 16:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573250816001,"66":13939,"217":206,"83":42752,"24":28,"16":14662043390967808,"45":1960543612231045120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573250816001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:16:29] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:16:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662043390967808,"km_value":14662043390967.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960543612231045120,"description":"Unknown IO ID 45"} 
[2026-08-22 16:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573250816001,"power":13939,"unknown_217":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1960543612231045120}} 
[2026-08-22 16:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":162490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:16:29] local.INFO: GPS data processed {"connection_id":162490,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:16:29] local.INFO: Acknowledgment sent {"connection_id":162490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:16:48] local.INFO: TCP Data received {"connection_id":159888,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:16:48] local.INFO: Processing buffer {"connection_id":159888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:16:48] local.INFO: IMEI packet received {"connection_id":159888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":159888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:16:52] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:16:52] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:16:52] local.INFO: IMEI packet received {"connection_id":159889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":159889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:16:53] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:16:53] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:16:53] local.INFO: IMEI packet received {"connection_id":159889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":159889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:16:54] local.INFO: TCP Data received {"connection_id":159888,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:16:54] local.INFO: Processing buffer {"connection_id":159888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:16:54] local.INFO: IMEI packet received {"connection_id":159888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":159888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:16:54] local.INFO: TCP Data received {"connection_id":159888,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:16:54] local.INFO: Processing buffer {"connection_id":159888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:16:54] local.INFO: Packet analysis {"connection_id":159888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:16:54] local.INFO: Extracted packet for processing {"connection_id":159888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:16:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573126656001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787395327000,"timestamp_ms":1787395327000,"timestamp_seconds":1787395327,"priority":1,"record_length":96,"hex_timestamp":"000001a029104418"} 
[2026-08-22 16:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 16:16:54] 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-22 16:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573126656001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573126656001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:16:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:16:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573126656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":159888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:16:54] local.INFO: GPS data processed {"connection_id":159888,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:16:54] local.INFO: Acknowledgment sent {"connection_id":159888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:16:57] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:16:57] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:16:57] local.INFO: IMEI packet received {"connection_id":159889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":159889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:16:58] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029132e30012d1b39800725c3b0002e00192b..."} 
[2026-08-22 16:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029132e30012d1b39800725c3b0002e00192b..."} 
[2026-08-22 16:16:58] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029132e30012d1b39800725c3b0002e00192b..."} 
[2026-08-22 16:16:58] local.INFO: Packet analysis {"connection_id":159889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:16:58] local.INFO: Extracted packet for processing {"connection_id":159889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:16:58] local.INFO: GPS Element Parsed {"raw_longitude":756758912,"raw_latitude":119915440,"longitude_deg":75.6758912,"latitude_deg":11.991544,"altitude":46,"angle":25,"satellites":43,"speed":29,"hex_longitude":"2d1b3980","hex_latitude":"0725c3b0","is_valid_coordinates":true} 
[2026-08-22 16:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573251840001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662146470182912,"note":"Value kept but may cause issues"} 
[2026-08-22 16:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960895455952611328,"note":"Value kept but may cause issues"} 
[2026-08-22 16:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787395518000,"timestamp_ms":1787395518000,"timestamp_seconds":1787395518,"priority":1,"record_length":96,"hex_timestamp":"000001a029132e30"} 
[2026-08-22 16:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-22 16:16:58] 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-22 16:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:16: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-22 16:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573251840001,"66":14341,"217":206,"83":42752,"24":29,"16":14662146470182912,"45":1960895455952611328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573251840001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:16:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:16:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662146470182912,"km_value":14662146470182.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960895455952611328,"description":"Unknown IO ID 45"} 
[2026-08-22 16:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573251840001,"power":14341,"unknown_217":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1960895455952611328}} 
[2026-08-22 16:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":159889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:16:58] local.INFO: GPS data processed {"connection_id":159889,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:16:58] local.INFO: Acknowledgment sent {"connection_id":159889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:17:28] local.INFO: TCP Data received {"connection_id":159888,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:17:28] local.INFO: Processing buffer {"connection_id":159888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029104418012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:17:28] local.INFO: Packet analysis {"connection_id":159888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:17:28] local.INFO: Extracted packet for processing {"connection_id":159888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02910"} 
[2026-08-22 16:17:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:17: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-22 16:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573126656001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787395327000,"timestamp_ms":1787395327000,"timestamp_seconds":1787395327,"priority":1,"record_length":96,"hex_timestamp":"000001a029104418"} 
[2026-08-22 16:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:17: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-22 16:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 16:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:17: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-22 16:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573126656001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573126656001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:17:28] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573126656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":159888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:17:28] local.INFO: GPS data processed {"connection_id":159888,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:17:28] local.INFO: Acknowledgment sent {"connection_id":159888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:17:29] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291339e8012d1b3e400725cb48002d00252a..."} 
[2026-08-22 16:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291339e8012d1b3e400725cb48002d00252a..."} 
[2026-08-22 16:17:29] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291339e8012d1b3e400725cb48002d00252a..."} 
[2026-08-22 16:17:29] local.INFO: Packet analysis {"connection_id":159889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:17:29] local.INFO: Extracted packet for processing {"connection_id":159889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:17:29] local.INFO: GPS Element Parsed {"raw_longitude":756760128,"raw_latitude":119917384,"longitude_deg":75.6760128,"latitude_deg":11.9917384,"altitude":45,"angle":37,"satellites":42,"speed":30,"hex_longitude":"2d1b3e40","hex_latitude":"0725cb48","is_valid_coordinates":true} 
[2026-08-22 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-22 16:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573252608001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662258139332608,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961739880883269632,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787395521000,"timestamp_ms":1787395521000,"timestamp_seconds":1787395521,"priority":1,"record_length":96,"hex_timestamp":"000001a0291339e8"} 
[2026-08-22 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-22 16:17: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-22 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":5,"data_length":795,"current_offset":136} 
[2026-08-22 16:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6982013515,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:29] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84754080006088032,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:29] local.WARNING: Large IO value detected {"io_id":22,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:29] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503823334113280,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:29] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2754084912,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-08-22 16:17:29] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812266,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:29] local.WARNING: Large IO value detected {"io_id":176,"raw_value":11260434308927488,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:29] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,217,83,24,241,157,16,23,160,34,45,128,187,46,43,10,66,18,64,177,48,44,22,7,192,1,240,147,227,41,37,4,113,205,173,71,239,53,2,52,42,17,206,176],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-08-22 16:17:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314676998220873728,"timestamp_seconds":3314676998220873.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 16:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:17:29] 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-22 16:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573252608001,"66":14070,"217":206,"83":42752,"24":30,"16":14662258139332608,"45":1961739880883269632},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573252608001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:17:29] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:17:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662258139332608,"km_value":14662258139332.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961739880883269632,"description":"Unknown IO ID 45"} 
[2026-08-22 16:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573252608001,"power":14070,"unknown_217":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1961739880883269632}} 
[2026-08-22 16:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":159889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:17:29] local.INFO: GPS data processed {"connection_id":159889,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:17:29] local.INFO: Acknowledgment sent {"connection_id":159889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:17:50] local.INFO: TCP Data received {"connection_id":161052,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:17:50] local.INFO: Processing buffer {"connection_id":161052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:17:50] local.INFO: IMEI packet received {"connection_id":161052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":161052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:17:52] local.INFO: TCP Data received {"connection_id":160132,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:17:52] local.INFO: Processing buffer {"connection_id":160132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:17:52] local.INFO: IMEI packet received {"connection_id":160132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":160132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:17:54] local.INFO: TCP Data received {"connection_id":161052,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:17:54] local.INFO: Processing buffer {"connection_id":161052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:17:54] local.INFO: IMEI packet received {"connection_id":161052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":161052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:17:55] local.INFO: TCP Data received {"connection_id":161052,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:17:55] local.INFO: Processing buffer {"connection_id":161052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:17:55] local.INFO: Packet analysis {"connection_id":161052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:17:55] local.INFO: Extracted packet for processing {"connection_id":161052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573203712001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787395628000,"timestamp_ms":1787395628000,"timestamp_seconds":1787395628,"priority":1,"record_length":96,"hex_timestamp":"000001a02914dbe0"} 
[2026-08-22 16:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:17: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-22 16:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:17: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-22 16:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573203712001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573203712001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:17:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:17:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573203712001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":161052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:17:55] local.INFO: GPS data processed {"connection_id":161052,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:17:55] local.INFO: Acknowledgment sent {"connection_id":161052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:17:56] local.INFO: TCP Data received {"connection_id":160132,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:17:56] local.INFO: Processing buffer {"connection_id":160132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:17:56] local.INFO: IMEI packet received {"connection_id":160132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":160132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:17:57] local.INFO: TCP Data received {"connection_id":160132,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029135158012d1b46800725d5a0002c00342a..."} 
[2026-08-22 16:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029135158012d1b46800725d5a0002c00342a..."} 
[2026-08-22 16:17:57] local.INFO: Processing buffer {"connection_id":160132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029135158012d1b46800725d5a0002c00342a..."} 
[2026-08-22 16:17:57] local.INFO: Packet analysis {"connection_id":160132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:17:57] local.INFO: Extracted packet for processing {"connection_id":160132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:17:57] local.INFO: GPS Element Parsed {"raw_longitude":756762240,"raw_latitude":119920032,"longitude_deg":75.676224,"latitude_deg":11.9920032,"altitude":44,"angle":52,"satellites":42,"speed":10,"hex_longitude":"2d1b4680","hex_latitude":"0725d5a0","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573253376001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662421348089856,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963076887023142912,"note":"Value kept but may cause issues"} 
[2026-08-22 16:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787395527000,"timestamp_ms":1787395527000,"timestamp_seconds":1787395527,"priority":1,"record_length":96,"hex_timestamp":"000001a029135158"} 
[2026-08-22 16: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-22 16:17:57] 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-22 16: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 16:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:17:57] 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-22 16:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573253376001,"66":13830,"217":206,"83":42752,"24":10,"16":14662421348089856,"45":1963076887023142912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573253376001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:17:57] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:17:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662421348089856,"km_value":14662421348089.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963076887023142912,"description":"Unknown IO ID 45"} 
[2026-08-22 16:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573253376001,"power":13830,"unknown_217":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1963076887023142912}} 
[2026-08-22 16:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":160132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:17:57] local.INFO: GPS data processed {"connection_id":160132,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:17:57] local.INFO: Acknowledgment sent {"connection_id":160132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:18:26] local.INFO: TCP Data received {"connection_id":161052,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:18:26] local.INFO: Processing buffer {"connection_id":161052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:18:26] local.INFO: Packet analysis {"connection_id":161052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:18:26] local.INFO: Extracted packet for processing {"connection_id":161052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:18:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573203712001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787395628000,"timestamp_ms":1787395628000,"timestamp_seconds":1787395628,"priority":1,"record_length":96,"hex_timestamp":"000001a02914dbe0"} 
[2026-08-22 16: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-22 16: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-22 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 16: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-22 16: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-22 16:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573203712001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573203712001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:18:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573203712001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":161052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:18:26] local.INFO: GPS data processed {"connection_id":161052,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:18:26] local.INFO: Acknowledgment sent {"connection_id":161052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:18:28] local.INFO: TCP Data received {"connection_id":160132,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029135540012d1b47800725d600002b00582c..."} 
[2026-08-22 16:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029135540012d1b47800725d600002b00582c..."} 
[2026-08-22 16:18:28] local.INFO: Processing buffer {"connection_id":160132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029135540012d1b47800725d600002b00582c..."} 
[2026-08-22 16:18:28] local.INFO: Packet analysis {"connection_id":160132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:18:28] local.INFO: Extracted packet for processing {"connection_id":160132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756762496,"raw_latitude":119920128,"longitude_deg":75.6762496,"latitude_deg":11.9920128,"altitude":43,"angle":88,"satellites":44,"speed":8,"hex_longitude":"2d1b4780","hex_latitude":"0725d600","is_valid_coordinates":true} 
[2026-08-22 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-22 16:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573254912001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662434232991744,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965399055581683712,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787395528000,"timestamp_ms":1787395528000,"timestamp_seconds":1787395528,"priority":1,"record_length":96,"hex_timestamp":"000001a029135540"} 
[2026-08-22 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-22 16:18:28] 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-22 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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-08-22 16:18:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:28] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503608233099264,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652634039957760,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:28] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":18432,"corrected_to":0} 
[2026-08-22 16:18:28] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2974810160,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-08-22 16:18:28] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3221693867,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:28] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2466303338,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:28] local.WARNING: Large IO value detected {"io_id":173,"raw_value":5188477840886073125,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:28] local.WARNING: Large IO value detected {"io_id":131,"raw_value":-4611637634376466405,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:28] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,217,83,24,241,157,16,23,160,57,45,64,203,42,10,66,46,128,195,43,34,1,240,115,227,41,37,4,113,205,7,53,44,239,56,2,52,48,173,131],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":203,"original":18432,"validated":0},{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-08-22 16:18:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170591492662755328,"timestamp_seconds":3170591492662755.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 16:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:18:28] 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-22 16:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573254912001,"66":13830,"217":206,"83":42752,"24":8,"16":14662434232991744,"45":1965399055581683712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573254912001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:18:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:18:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662434232991744,"km_value":14662434232991.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965399055581683712,"description":"Unknown IO ID 45"} 
[2026-08-22 16:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573254912001,"power":13830,"unknown_217":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1965399055581683712}} 
[2026-08-22 16:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":160132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:18:29] local.INFO: GPS data processed {"connection_id":160132,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:18:29] local.INFO: Acknowledgment sent {"connection_id":160132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:18:48] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:18:48] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:18:48] local.INFO: IMEI packet received {"connection_id":159890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":159890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:18:52] local.INFO: TCP Data received {"connection_id":161053,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:18:52] local.INFO: Processing buffer {"connection_id":161053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:18:52] local.INFO: IMEI packet received {"connection_id":161053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":161053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:18:54] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:18:54] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:18:54] local.INFO: IMEI packet received {"connection_id":159890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":159890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:18:54] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:18:54] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:18:54] local.INFO: Packet analysis {"connection_id":159890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:18:54] local.INFO: Extracted packet for processing {"connection_id":159890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:18:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573203712001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787395628000,"timestamp_ms":1787395628000,"timestamp_seconds":1787395628,"priority":1,"record_length":96,"hex_timestamp":"000001a02914dbe0"} 
[2026-08-22 16:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:18: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-22 16:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573203712001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573203712001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:18:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:18:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573203712001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":159890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:18:54] local.INFO: GPS data processed {"connection_id":159890,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:18:54] local.INFO: Acknowledgment sent {"connection_id":159890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:18:57] local.INFO: TCP Data received {"connection_id":161053,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:18:57] local.INFO: Processing buffer {"connection_id":161053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:18:57] local.INFO: IMEI packet received {"connection_id":161053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":161053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:18:58] local.INFO: TCP Data received {"connection_id":161053,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029135928012d1b48000725d5c0002b00822c..."} 
[2026-08-22 16:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029135928012d1b48000725d5c0002b00822c..."} 
[2026-08-22 16:18:58] local.INFO: Processing buffer {"connection_id":161053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029135928012d1b48000725d5c0002b00822c..."} 
[2026-08-22 16:18:58] local.INFO: Packet analysis {"connection_id":161053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:18:58] local.INFO: Extracted packet for processing {"connection_id":161053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756762624,"raw_latitude":119920064,"longitude_deg":75.6762624,"latitude_deg":11.9920064,"altitude":43,"angle":130,"satellites":44,"speed":6,"hex_longitude":"2d1b4800","hex_latitude":"0725d5c0","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573255168001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662442822926336,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965680530558418944,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787395529000,"timestamp_ms":1787395529000,"timestamp_seconds":1787395529,"priority":1,"record_length":96,"hex_timestamp":"000001a029135928"} 
[2026-08-22 16: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-22 16:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-08-22 16:18:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:58] local.WARNING: Large IO value detected {"io_id":24,"raw_value":5066558186520576,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652634039952384,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:58] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":18432,"corrected_to":0} 
[2026-08-22 16:18:58] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3148349486,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-08-22 16:18:58] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":-9223040966951172315,"corrected_to":0} 
[2026-08-22 16:18:58] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2882356543698501648,"note":"Value kept but may cause issues"} 
[2026-08-22 16:18:58] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,217,83,24,241,157,16,23,160,81,45,128,213,44,42,10,66,57,64,203,46,1,240,5,227,41,37,4,113,205,28,18,53,80,239,56,2,52,7,48,247,164],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":203,"original":18432,"validated":0},{"io_id":205,"original":1792606414,"validated":0},{"io_id":247,"original":-9223040966951172315,"validated":0}]} 
[2026-08-22 16:18:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098573489633230848,"timestamp_seconds":3098573489633231.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 16: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-22 16:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:18: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-22 16:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573255168001,"66":14004,"217":206,"83":42752,"24":6,"16":14662442822926336,"45":1965680530558418944},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573255168001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:18:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662442822926336,"km_value":14662442822926.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965680530558418944,"description":"Unknown IO ID 45"} 
[2026-08-22 16:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573255168001,"power":14004,"unknown_217":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1965680530558418944}} 
[2026-08-22 16:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":161053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:18:58] local.INFO: GPS data processed {"connection_id":161053,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:18:58] local.INFO: Acknowledgment sent {"connection_id":161053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:19:25] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:19:25] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:19:25] local.INFO: Packet analysis {"connection_id":159890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:19:25] local.INFO: Extracted packet for processing {"connection_id":159890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:19:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573203712001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787395628000,"timestamp_ms":1787395628000,"timestamp_seconds":1787395628,"priority":1,"record_length":96,"hex_timestamp":"000001a02914dbe0"} 
[2026-08-22 16:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16: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-22 16:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 16:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573203712001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573203712001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:19:25] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:19:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573203712001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":159890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:19:25] local.INFO: GPS data processed {"connection_id":159890,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:19:25] local.INFO: Acknowledgment sent {"connection_id":159890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:19:30] local.INFO: TCP Data received {"connection_id":161053,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029135d10012d1b48400725d510002b00aa2c..."} 
[2026-08-22 16:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029135d10012d1b48400725d510002b00aa2c..."} 
[2026-08-22 16:19:30] local.INFO: Processing buffer {"connection_id":161053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029135d10012d1b48400725d510002b00aa2c..."} 
[2026-08-22 16:19:30] local.INFO: Packet analysis {"connection_id":161053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:19:30] local.INFO: Extracted packet for processing {"connection_id":161053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:19:30] local.INFO: GPS Element Parsed {"raw_longitude":756762688,"raw_latitude":119919888,"longitude_deg":75.6762688,"latitude_deg":11.9919888,"altitude":43,"angle":170,"satellites":44,"speed":9,"hex_longitude":"2d1b4840","hex_latitude":"0725d510","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573255424001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662451412860928,"note":"Value kept but may cause issues"} 
[2026-08-22 16:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965821268046757888,"note":"Value kept but may cause issues"} 
[2026-08-22 16:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787395530000,"timestamp_ms":1787395530000,"timestamp_seconds":1787395530,"priority":1,"record_length":96,"hex_timestamp":"000001a029135d10"} 
[2026-08-22 16: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-22 16:19: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-22 16: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-22 16:19:30] 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-22 16: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-22 16: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-22 16:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:19: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-22 16:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573255424001,"66":14004,"217":206,"83":42752,"24":9,"16":14662451412860928,"45":1965821268046757888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573255424001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:19:30] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:19:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662451412860928,"km_value":14662451412860.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965821268046757888,"description":"Unknown IO ID 45"} 
[2026-08-22 16:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573255424001,"power":14004,"unknown_217":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1965821268046757888}} 
[2026-08-22 16:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":161053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:19:30] local.INFO: GPS data processed {"connection_id":161053,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:19:30] local.INFO: Acknowledgment sent {"connection_id":161053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:19:52] local.INFO: TCP Data received {"connection_id":161054,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:19:52] local.INFO: Processing buffer {"connection_id":161054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:19:52] local.INFO: IMEI packet received {"connection_id":161054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":161054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:19:54] local.INFO: TCP Data received {"connection_id":160133,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:19:54] local.INFO: Processing buffer {"connection_id":160133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:19:54] local.INFO: IMEI packet received {"connection_id":160133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":160133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:19:57] local.INFO: TCP Data received {"connection_id":161054,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:19:58] local.INFO: Processing buffer {"connection_id":161054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:19:58] local.INFO: IMEI packet received {"connection_id":161054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":161054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:19:59] local.INFO: TCP Data received {"connection_id":160133,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:19:59] local.INFO: Processing buffer {"connection_id":160133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:19:59] local.INFO: IMEI packet received {"connection_id":160133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":160133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:20:00] local.INFO: TCP Data received {"connection_id":160133,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:20:00] local.INFO: Processing buffer {"connection_id":160133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:20:00] local.INFO: Packet analysis {"connection_id":160133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:20:00] local.INFO: Extracted packet for processing {"connection_id":160133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:20:00] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573203712001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787395628000,"timestamp_ms":1787395628000,"timestamp_seconds":1787395628,"priority":1,"record_length":96,"hex_timestamp":"000001a02914dbe0"} 
[2026-08-22 16:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16: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-22 16:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:20: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-22 16:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573203712001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573203712001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:20:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:20:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573203712001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":160133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:20:00] local.INFO: GPS data processed {"connection_id":160133,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:20:00] local.INFO: Acknowledgment sent {"connection_id":160133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:20:00] local.INFO: TCP Data received {"connection_id":161054,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291360f8012d1b48400725d448002b00c42c..."} 
[2026-08-22 16:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291360f8012d1b48400725d448002b00c42c..."} 
[2026-08-22 16:20:00] local.INFO: Processing buffer {"connection_id":161054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291360f8012d1b48400725d448002b00c42c..."} 
[2026-08-22 16:20:00] local.INFO: Packet analysis {"connection_id":161054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:20:00] local.INFO: Extracted packet for processing {"connection_id":161054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02913"} 
[2026-08-22 16:20:00] local.INFO: GPS Element Parsed {"raw_longitude":756762688,"raw_latitude":119919688,"longitude_deg":75.6762688,"latitude_deg":11.9919688,"altitude":43,"angle":196,"satellites":44,"speed":8,"hex_longitude":"2d1b4840","hex_latitude":"0725d448","is_valid_coordinates":true} 
[2026-08-22 16:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573255680001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662460002795520,"note":"Value kept but may cause issues"} 
[2026-08-22 16:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965891636790890496,"note":"Value kept but may cause issues"} 
[2026-08-22 16:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787395531000,"timestamp_ms":1787395531000,"timestamp_seconds":1787395531,"priority":1,"record_length":96,"hex_timestamp":"000001a0291360f8"} 
[2026-08-22 16:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-22 16:20:00] 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-22 16:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:20:00] 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-22 16:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573255680001,"66":14026,"217":206,"83":42752,"24":8,"16":14662460002795520,"45":1965891636790890496},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573255680001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:20:00] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:20:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662460002795520,"km_value":14662460002795.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965891636790890496,"description":"Unknown IO ID 45"} 
[2026-08-22 16:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573255680001,"power":14026,"unknown_217":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1965891636790890496}} 
[2026-08-22 16:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":161054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:20:00] local.INFO: GPS data processed {"connection_id":161054,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:20:00] local.INFO: Acknowledgment sent {"connection_id":161054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:20:04] local.INFO: TCP Data received {"connection_id":160133,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:20:04] local.INFO: Processing buffer {"connection_id":160133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:20:04] local.INFO: Packet analysis {"connection_id":160133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:20:04] local.INFO: Extracted packet for processing {"connection_id":160133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:20:04] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573203712001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787395628000,"timestamp_ms":1787395628000,"timestamp_seconds":1787395628,"priority":1,"record_length":96,"hex_timestamp":"000001a02914dbe0"} 
[2026-08-22 16:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:20: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-22 16:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:20: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-22 16:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573203712001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573203712001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:20:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:20:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573203712001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":160133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:20:04] local.INFO: GPS data processed {"connection_id":160133,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:20:04] local.INFO: Acknowledgment sent {"connection_id":160133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:20:47] local.INFO: TCP Data received {"connection_id":161054,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029169930012d1b43c00725ca78002d00cd28..."} 
[2026-08-22 16:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029169930012d1b43c00725ca78002d00cd28..."} 
[2026-08-22 16:20:47] local.INFO: Processing buffer {"connection_id":161054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029169930012d1b43c00725ca78002d00cd28..."} 
[2026-08-22 16:20:47] local.INFO: Packet analysis {"connection_id":161054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02916"} 
[2026-08-22 16:20:47] local.INFO: Extracted packet for processing {"connection_id":161054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02916"} 
[2026-08-22 16:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119917176,"longitude_deg":75.6761536,"latitude_deg":11.9917176,"altitude":45,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0725ca78","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573304576001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662679046127616,"note":"Value kept but may cause issues"} 
[2026-08-22 16:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999394998272,"note":"Value kept but may cause issues"} 
[2026-08-22 16:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787395742000,"timestamp_ms":1787395742000,"timestamp_seconds":1787395742,"priority":1,"record_length":96,"hex_timestamp":"000001a029169930"} 
[2026-08-22 16: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-22 16:20:47] 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-22 16: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":128,"data_length":795,"current_offset":136} 
[2026-08-22 16:20:47] 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-22 16: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-22 16: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-22 16:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:20: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-22 16:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573304576001,"66":12972,"217":206,"83":42752,"24":0,"16":14662679046127616,"45":1964624999394998272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573304576001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:20:47] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662679046127616,"km_value":14662679046127.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999394998272,"description":"Unknown IO ID 45"} 
[2026-08-22 16:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573304576001,"power":12972,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964624999394998272}} 
[2026-08-22 16:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":161054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:20:47] local.INFO: GPS data processed {"connection_id":161054,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:20:47] local.INFO: Acknowledgment sent {"connection_id":161054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:20:48] local.INFO: TCP Data received {"connection_id":159891,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:20:48] local.INFO: Processing buffer {"connection_id":159891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:20:48] local.INFO: IMEI packet received {"connection_id":159891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":159891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:20:54] local.INFO: TCP Data received {"connection_id":159891,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:20:54] local.INFO: Processing buffer {"connection_id":159891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:20:54] local.INFO: IMEI packet received {"connection_id":159891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":159891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:20:55] local.INFO: TCP Data received {"connection_id":159891,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:20:55] local.INFO: Processing buffer {"connection_id":159891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:20:55] local.INFO: Packet analysis {"connection_id":159891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:20:55] local.INFO: Extracted packet for processing {"connection_id":159891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:20:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573203712001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787395628000,"timestamp_ms":1787395628000,"timestamp_seconds":1787395628,"priority":1,"record_length":96,"hex_timestamp":"000001a02914dbe0"} 
[2026-08-22 16:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16: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-22 16:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:20: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-22 16:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573203712001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573203712001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:20:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:20:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573203712001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":159891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:20:55] local.INFO: GPS data processed {"connection_id":159891,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:20:55] local.INFO: Acknowledgment sent {"connection_id":159891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:21:01] local.INFO: TCP Data received {"connection_id":159892,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:21:01] local.INFO: Processing buffer {"connection_id":159892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:21:01] local.INFO: IMEI packet received {"connection_id":159892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":159892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:21:02] local.INFO: TCP Data received {"connection_id":159892,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:21:02] local.INFO: Processing buffer {"connection_id":159892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:21:02] local.INFO: IMEI packet received {"connection_id":159892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":159892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:21:03] local.INFO: TCP Data received {"connection_id":159892,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02916eb38012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02916eb38012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:21:03] local.INFO: Processing buffer {"connection_id":159892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02916eb38012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:21:03] local.INFO: Packet analysis {"connection_id":159892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02916"} 
[2026-08-22 16:21:03] local.INFO: Extracted packet for processing {"connection_id":159892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02916"} 
[2026-08-22 16:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119917176,"longitude_deg":75.6761536,"latitude_deg":11.9917176,"altitude":45,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0725ca78","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573309952001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662679046127616,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999394998272,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:03] 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-22 16:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787395763000,"timestamp_ms":1787395763000,"timestamp_seconds":1787395763,"priority":1,"record_length":96,"hex_timestamp":"000001a02916eb38"} 
[2026-08-22 16: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-22 16:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 16:21:03] 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-22 16: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-22 16: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-22 16:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:21:03] 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-22 16:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573309952001,"66":12885,"216":206,"83":42752,"24":0,"16":14662679046127616,"45":1964624999394998272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 16:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573309952001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:21:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 16:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662679046127616,"km_value":14662679046127.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999394998272,"description":"Unknown IO ID 45"} 
[2026-08-22 16:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573309952001,"power":12885,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964624999394998272}} 
[2026-08-22 16:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":159892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:21:03] local.INFO: GPS data processed {"connection_id":159892,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:21:03] local.INFO: Acknowledgment sent {"connection_id":159892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:21:05] local.INFO: TCP Data received {"connection_id":159892,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029173d40012d1b43c00725ca78002d00cd27..."} 
[2026-08-22 16:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029173d40012d1b43c00725ca78002d00cd27..."} 
[2026-08-22 16:21:05] local.INFO: Processing buffer {"connection_id":159892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029173d40012d1b43c00725ca78002d00cd27..."} 
[2026-08-22 16:21:05] local.INFO: Packet analysis {"connection_id":159892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02917"} 
[2026-08-22 16:21:05] local.INFO: Extracted packet for processing {"connection_id":159892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02917"} 
[2026-08-22 16:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119917176,"longitude_deg":75.6761536,"latitude_deg":11.9917176,"altitude":45,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0725ca78","is_valid_coordinates":true} 
[2026-08-22 16:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573315328001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662679046127616,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999394998272,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:05] 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-22 16:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787395784000,"timestamp_ms":1787395784000,"timestamp_seconds":1787395784,"priority":1,"record_length":96,"hex_timestamp":"000001a029173d40"} 
[2026-08-22 16:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:21:05] 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-22 16:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 16:21:05] 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-22 16:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:21:05] 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-22 16:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573315328001,"66":12939,"216":206,"83":42752,"24":0,"16":14662679046127616,"45":1964624999394998272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 16:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573315328001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:21:05] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 16:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662679046127616,"km_value":14662679046127.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999394998272,"description":"Unknown IO ID 45"} 
[2026-08-22 16:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573315328001,"power":12939,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964624999394998272}} 
[2026-08-22 16:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":159892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:21:05] local.INFO: GPS data processed {"connection_id":159892,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:21:05] local.INFO: Acknowledgment sent {"connection_id":159892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:21:26] local.INFO: TCP Data received {"connection_id":159891,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:21:26] local.INFO: Processing buffer {"connection_id":159891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:21:26] local.INFO: Packet analysis {"connection_id":159891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:21:26] local.INFO: Extracted packet for processing {"connection_id":159891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:21:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573203712001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787395628000,"timestamp_ms":1787395628000,"timestamp_seconds":1787395628,"priority":1,"record_length":96,"hex_timestamp":"000001a02914dbe0"} 
[2026-08-22 16: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-22 16: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-22 16: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 16: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-22 16: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-22 16:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573203712001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573203712001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:21:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:21:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573203712001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":159891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:21:26] local.INFO: GPS data processed {"connection_id":159891,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:21:26] local.INFO: Acknowledgment sent {"connection_id":159891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:21:36] local.INFO: TCP Data received {"connection_id":159892,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029178f48012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029178f48012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:21:36] local.INFO: Processing buffer {"connection_id":159892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029178f48012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:21:36] local.INFO: Packet analysis {"connection_id":159892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02917"} 
[2026-08-22 16:21:36] local.INFO: Extracted packet for processing {"connection_id":159892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02917"} 
[2026-08-22 16:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119917176,"longitude_deg":75.6761536,"latitude_deg":11.9917176,"altitude":45,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0725ca78","is_valid_coordinates":true} 
[2026-08-22 16:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573320704001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662679046127616,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999394998272,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:36] 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-22 16:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787395805000,"timestamp_ms":1787395805000,"timestamp_seconds":1787395805,"priority":1,"record_length":96,"hex_timestamp":"000001a029178f48"} 
[2026-08-22 16:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:21: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-22 16:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 16:21:36] 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-22 16:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:21:36] 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-22 16:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573320704001,"66":12939,"216":206,"83":42752,"24":0,"16":14662679046127616,"45":1964624999394998272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 16:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573320704001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:21:36] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 16:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662679046127616,"km_value":14662679046127.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999394998272,"description":"Unknown IO ID 45"} 
[2026-08-22 16:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573320704001,"power":12939,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964624999394998272}} 
[2026-08-22 16:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":159892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:21:36] local.INFO: GPS data processed {"connection_id":159892,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:21:36] local.INFO: Acknowledgment sent {"connection_id":159892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:21:48] local.INFO: TCP Data received {"connection_id":162491,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:21:48] local.INFO: Processing buffer {"connection_id":162491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:21:48] local.INFO: IMEI packet received {"connection_id":162491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":162491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:21:52] local.INFO: TCP Data received {"connection_id":162492,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:21:52] local.INFO: Processing buffer {"connection_id":162492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:21:52] local.INFO: IMEI packet received {"connection_id":162492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":162492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:21:54] local.INFO: TCP Data received {"connection_id":162491,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:21:54] local.INFO: Processing buffer {"connection_id":162491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:21:54] local.INFO: IMEI packet received {"connection_id":162491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":162491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:21:54] local.INFO: TCP Data received {"connection_id":162491,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:21:54] local.INFO: Processing buffer {"connection_id":162491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:21:54] local.INFO: Packet analysis {"connection_id":162491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:21:54] local.INFO: Extracted packet for processing {"connection_id":162491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573203712001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787395628000,"timestamp_ms":1787395628000,"timestamp_seconds":1787395628,"priority":1,"record_length":96,"hex_timestamp":"000001a02914dbe0"} 
[2026-08-22 16:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16: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-22 16:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573203712001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573203712001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:21:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:21:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573203712001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":162491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:21:54] local.INFO: GPS data processed {"connection_id":162491,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:21:54] local.INFO: Acknowledgment sent {"connection_id":162491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:21:57] local.INFO: TCP Data received {"connection_id":162492,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:21:57] local.INFO: Processing buffer {"connection_id":162492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:21:57] local.INFO: IMEI packet received {"connection_id":162492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":162492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:21:59] local.INFO: TCP Data received {"connection_id":162492,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02917e150012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02917e150012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:21:59] local.INFO: Processing buffer {"connection_id":162492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02917e150012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:21:59] local.INFO: Packet analysis {"connection_id":162492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02917"} 
[2026-08-22 16:21:59] local.INFO: Extracted packet for processing {"connection_id":162492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02917"} 
[2026-08-22 16:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119917176,"longitude_deg":75.6761536,"latitude_deg":11.9917176,"altitude":45,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0725ca78","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573326080001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662679046127616,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999394998272,"note":"Value kept but may cause issues"} 
[2026-08-22 16:21:59] 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-22 16:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787395826000,"timestamp_ms":1787395826000,"timestamp_seconds":1787395826,"priority":1,"record_length":96,"hex_timestamp":"000001a02917e150"} 
[2026-08-22 16: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-22 16:21: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-22 16: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 16:21:59] 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-22 16: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-22 16: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-22 16:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:21:59] 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-22 16:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573326080001,"66":12711,"216":206,"83":42752,"24":0,"16":14662679046127616,"45":1964624999394998272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 16:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573326080001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:21:59] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 16:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662679046127616,"km_value":14662679046127.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999394998272,"description":"Unknown IO ID 45"} 
[2026-08-22 16:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573326080001,"power":12711,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964624999394998272}} 
[2026-08-22 16:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":162492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:21:59] local.INFO: GPS data processed {"connection_id":162492,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:21:59] local.INFO: Acknowledgment sent {"connection_id":162492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:22:26] local.INFO: TCP Data received {"connection_id":162491,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:22:26] local.INFO: Processing buffer {"connection_id":162491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02914dbe0012d7fac4005afe1d80004006627..."} 
[2026-08-22 16:22:26] local.INFO: Packet analysis {"connection_id":162491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:22:26] local.INFO: Extracted packet for processing {"connection_id":162491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02914"} 
[2026-08-22 16:22:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573203712001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787395628000,"timestamp_ms":1787395628000,"timestamp_seconds":1787395628,"priority":1,"record_length":96,"hex_timestamp":"000001a02914dbe0"} 
[2026-08-22 16: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-22 16: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-22 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 16: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-22 16: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-22 16:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573203712001,"66":25702,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573203712001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:22:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573203712001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":162491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:22:26] local.INFO: GPS data processed {"connection_id":162491,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:22:26] local.INFO: Acknowledgment sent {"connection_id":162491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:22:30] local.INFO: TCP Data received {"connection_id":162492,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029183358012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029183358012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:22:30] local.INFO: Processing buffer {"connection_id":162492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029183358012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:22:30] local.INFO: Packet analysis {"connection_id":162492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02918"} 
[2026-08-22 16:22:30] local.INFO: Extracted packet for processing {"connection_id":162492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02918"} 
[2026-08-22 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119917176,"longitude_deg":75.6761536,"latitude_deg":11.9917176,"altitude":45,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0725ca78","is_valid_coordinates":true} 
[2026-08-22 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573331456001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662679046127616,"note":"Value kept but may cause issues"} 
[2026-08-22 16:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999394998272,"note":"Value kept but may cause issues"} 
[2026-08-22 16:22:30] 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-22 16:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787395847000,"timestamp_ms":1787395847000,"timestamp_seconds":1787395847,"priority":1,"record_length":96,"hex_timestamp":"000001a029183358"} 
[2026-08-22 16:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-22 16:22:30] 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-22 16:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:22: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-22 16:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573331456001,"66":12874,"216":206,"83":42752,"24":0,"16":14662679046127616,"45":1964624999394998272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 16:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573331456001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:22:30] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 16:22:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662679046127616,"km_value":14662679046127.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999394998272,"description":"Unknown IO ID 45"} 
[2026-08-22 16:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573331456001,"power":12874,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964624999394998272}} 
[2026-08-22 16:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":162492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:22:30] local.INFO: GPS data processed {"connection_id":162492,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:22:30] local.INFO: Acknowledgment sent {"connection_id":162492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:22:48] local.INFO: TCP Data received {"connection_id":161055,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:22:48] local.INFO: Processing buffer {"connection_id":161055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:22:48] local.INFO: IMEI packet received {"connection_id":161055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":161055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:22:52] local.INFO: TCP Data received {"connection_id":161056,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:22:52] local.INFO: Processing buffer {"connection_id":161056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:22:52] local.INFO: IMEI packet received {"connection_id":161056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":161056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:22:54] local.INFO: TCP Data received {"connection_id":161055,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:22:54] local.INFO: Processing buffer {"connection_id":161055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:22:54] local.INFO: IMEI packet received {"connection_id":161055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":161055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:22:54] local.INFO: TCP Data received {"connection_id":161055,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:22:54] local.INFO: Processing buffer {"connection_id":161055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:22:54] local.INFO: Packet analysis {"connection_id":161055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:22:54] local.INFO: Extracted packet for processing {"connection_id":161055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573280768001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787395929000,"timestamp_ms":1787395929000,"timestamp_seconds":1787395929,"priority":1,"record_length":96,"hex_timestamp":"000001a0291973a8"} 
[2026-08-22 16:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:22: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-22 16:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573280768001,"66":25647,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573280768001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:22:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:22:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573280768001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":161055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:22:54] local.INFO: GPS data processed {"connection_id":161055,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:22:54] local.INFO: Acknowledgment sent {"connection_id":161055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:22:57] local.INFO: TCP Data received {"connection_id":161056,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:22:57] local.INFO: Processing buffer {"connection_id":161056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:22:57] local.INFO: IMEI packet received {"connection_id":161056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":161056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:22:58] local.INFO: TCP Data received {"connection_id":161056,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029188560012d1b43c00725ca78002d00cd2b..."} 
[2026-08-22 16:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029188560012d1b43c00725ca78002d00cd2b..."} 
[2026-08-22 16:22:58] local.INFO: Processing buffer {"connection_id":161056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029188560012d1b43c00725ca78002d00cd2b..."} 
[2026-08-22 16:22:58] local.INFO: Packet analysis {"connection_id":161056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02918"} 
[2026-08-22 16:22:58] local.INFO: Extracted packet for processing {"connection_id":161056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02918"} 
[2026-08-22 16:22:58] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119917176,"longitude_deg":75.6761536,"latitude_deg":11.9917176,"altitude":45,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0725ca78","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573336832001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662679046127616,"note":"Value kept but may cause issues"} 
[2026-08-22 16:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999394998272,"note":"Value kept but may cause issues"} 
[2026-08-22 16:22:58] 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-22 16:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787395868000,"timestamp_ms":1787395868000,"timestamp_seconds":1787395868,"priority":1,"record_length":96,"hex_timestamp":"000001a029188560"} 
[2026-08-22 16: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-22 16:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-22 16:22:58] 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-22 16: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-22 16: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-22 16:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:22: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-22 16:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573336832001,"66":12819,"216":206,"83":42752,"24":0,"16":14662679046127616,"45":1964624999394998272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 16:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573336832001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:22:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 16:22:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662679046127616,"km_value":14662679046127.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999394998272,"description":"Unknown IO ID 45"} 
[2026-08-22 16:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573336832001,"power":12819,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964624999394998272}} 
[2026-08-22 16:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":161056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:22:58] local.INFO: GPS data processed {"connection_id":161056,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:22:58] local.INFO: Acknowledgment sent {"connection_id":161056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:23:26] local.INFO: TCP Data received {"connection_id":161055,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:23:26] local.INFO: Processing buffer {"connection_id":161055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:23:26] local.INFO: Packet analysis {"connection_id":161055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:23:26] local.INFO: Extracted packet for processing {"connection_id":161055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:23:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573280768001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787395929000,"timestamp_ms":1787395929000,"timestamp_seconds":1787395929,"priority":1,"record_length":96,"hex_timestamp":"000001a0291973a8"} 
[2026-08-22 16:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:23: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-22 16:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 16:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573280768001,"66":25647,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573280768001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:23:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:23:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573280768001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":161055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:23:26] local.INFO: GPS data processed {"connection_id":161055,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:23:26] local.INFO: Acknowledgment sent {"connection_id":161055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:23:29] local.INFO: TCP Data received {"connection_id":161056,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02918d768012d1b43c00725ca78002d00cd2c..."} 
[2026-08-22 16:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02918d768012d1b43c00725ca78002d00cd2c..."} 
[2026-08-22 16:23:29] local.INFO: Processing buffer {"connection_id":161056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02918d768012d1b43c00725ca78002d00cd2c..."} 
[2026-08-22 16:23:29] local.INFO: Packet analysis {"connection_id":161056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02918"} 
[2026-08-22 16:23:29] local.INFO: Extracted packet for processing {"connection_id":161056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02918"} 
[2026-08-22 16:23:29] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119917176,"longitude_deg":75.6761536,"latitude_deg":11.9917176,"altitude":45,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0725ca78","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573342208001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662679046127616,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999394998272,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] 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-22 16:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787395889000,"timestamp_ms":1787395889000,"timestamp_seconds":1787395889,"priority":1,"record_length":96,"hex_timestamp":"000001a02918d768"} 
[2026-08-22 16: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-22 16:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":30720,"corrected_to":0} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":41,"raw_value":1605295777697711040,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503823362097152,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3396861997,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7699185924133290008,"corrected_to":0} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3221693898,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":120,"raw_value":12667255091363840,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052612040395010477,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2723120866849246506,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195044864,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84753945788360138,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:29] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,216,83,24,241,157,16,23,160,51,45,192,202,41,10,66,225,143,1,240,139,227,37,4,113,205,235,67,120,239,50,2,52,7,167,161,69,32],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":202,"original":30720,"validated":0},{"io_id":205,"original":7699185924133290008,"validated":0}]} 
[2026-08-22 16:23:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242817316274044928,"timestamp_seconds":3242817316274045.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 16: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-22 16:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:23:29] 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-22 16:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573342208001,"66":12841,"216":206,"83":42752,"24":0,"16":14662679046127616,"45":1964624999394998272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 16:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573342208001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:23:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 16:23:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662679046127616,"km_value":14662679046127.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999394998272,"description":"Unknown IO ID 45"} 
[2026-08-22 16:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573342208001,"power":12841,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964624999394998272}} 
[2026-08-22 16:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":161056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:23:29] local.INFO: GPS data processed {"connection_id":161056,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:23:29] local.INFO: Acknowledgment sent {"connection_id":161056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:23:49] local.INFO: TCP Data received {"connection_id":162493,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:23:49] local.INFO: Processing buffer {"connection_id":162493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:23:49] local.INFO: IMEI packet received {"connection_id":162493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":162493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:23:52] local.INFO: TCP Data received {"connection_id":161057,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:23:52] local.INFO: Processing buffer {"connection_id":161057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:23:52] local.INFO: IMEI packet received {"connection_id":161057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":161057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:23:52] local.INFO: TCP Data received {"connection_id":161057,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:23:52] local.INFO: Processing buffer {"connection_id":161057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:23:52] local.INFO: IMEI packet received {"connection_id":161057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":161057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:23:54] local.INFO: TCP Data received {"connection_id":162493,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:23:54] local.INFO: Processing buffer {"connection_id":162493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:23:54] local.INFO: IMEI packet received {"connection_id":162493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":162493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:23:55] local.INFO: TCP Data received {"connection_id":162493,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:23:55] local.INFO: Processing buffer {"connection_id":162493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:23:55] local.INFO: Packet analysis {"connection_id":162493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:23:55] local.INFO: Extracted packet for processing {"connection_id":162493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:23:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573280768001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787395929000,"timestamp_ms":1787395929000,"timestamp_seconds":1787395929,"priority":1,"record_length":96,"hex_timestamp":"000001a0291973a8"} 
[2026-08-22 16:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:23: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-22 16:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:23: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-22 16:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573280768001,"66":25647,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573280768001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:23:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:23:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573280768001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":162493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:23:55] local.INFO: GPS data processed {"connection_id":162493,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:23:55] local.INFO: Acknowledgment sent {"connection_id":162493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:23:57] local.INFO: TCP Data received {"connection_id":161057,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:23:57] local.INFO: Processing buffer {"connection_id":161057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:23:57] local.INFO: IMEI packet received {"connection_id":161057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":161057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:23:58] local.INFO: TCP Data received {"connection_id":161057,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029192970012d1b43c00725ca78002d00cd25..."} 
[2026-08-22 16:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029192970012d1b43c00725ca78002d00cd25..."} 
[2026-08-22 16:23:58] local.INFO: Processing buffer {"connection_id":161057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029192970012d1b43c00725ca78002d00cd25..."} 
[2026-08-22 16:23:58] local.INFO: Packet analysis {"connection_id":161057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:23:58] local.INFO: Extracted packet for processing {"connection_id":161057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119917176,"longitude_deg":75.6761536,"latitude_deg":11.9917176,"altitude":45,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0725ca78","is_valid_coordinates":true} 
[2026-08-22 16:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573347584001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662679046127616,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999394998272,"note":"Value kept but may cause issues"} 
[2026-08-22 16:23:58] 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-22 16:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787395910000,"timestamp_ms":1787395910000,"timestamp_seconds":1787395910,"priority":1,"record_length":96,"hex_timestamp":"000001a029192970"} 
[2026-08-22 16:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 16:23:58] 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-22 16:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:23: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-22 16:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573347584001,"66":12841,"216":206,"83":42752,"24":0,"16":14662679046127616,"45":1964624999394998272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 16:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573347584001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:23:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 16:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662679046127616,"km_value":14662679046127.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999394998272,"description":"Unknown IO ID 45"} 
[2026-08-22 16:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573347584001,"power":12841,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964624999394998272}} 
[2026-08-22 16:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":161057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:23:58] local.INFO: GPS data processed {"connection_id":161057,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:23:58] local.INFO: Acknowledgment sent {"connection_id":161057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:24:29] local.INFO: TCP Data received {"connection_id":161057,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029197b78012d1b43c00725ca78002d00cd2a..."} 
[2026-08-22 16:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029197b78012d1b43c00725ca78002d00cd2a..."} 
[2026-08-22 16:24:29] local.INFO: Processing buffer {"connection_id":161057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029197b78012d1b43c00725ca78002d00cd2a..."} 
[2026-08-22 16:24:29] local.INFO: Packet analysis {"connection_id":161057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:24:29] local.INFO: Extracted packet for processing {"connection_id":161057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:24:29] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119917176,"longitude_deg":75.6761536,"latitude_deg":11.9917176,"altitude":45,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0725ca78","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573352960001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662679046127616,"note":"Value kept but may cause issues"} 
[2026-08-22 16:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999394998272,"note":"Value kept but may cause issues"} 
[2026-08-22 16:24:29] 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-22 16:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787395931000,"timestamp_ms":1787395931000,"timestamp_seconds":1787395931,"priority":1,"record_length":96,"hex_timestamp":"000001a029197b78"} 
[2026-08-22 16: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-22 16:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 16:24:29] 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-22 16: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-22 16: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-22 16:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:24:29] 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-22 16:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573352960001,"66":12841,"216":206,"83":42752,"24":0,"16":14662679046127616,"45":1964624999394998272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 16:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573352960001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:24:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 16:24:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662679046127616,"km_value":14662679046127.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999394998272,"description":"Unknown IO ID 45"} 
[2026-08-22 16:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573352960001,"power":12841,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964624999394998272}} 
[2026-08-22 16:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":161057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:24:29] local.INFO: GPS data processed {"connection_id":161057,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:24:29] local.INFO: Acknowledgment sent {"connection_id":161057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:24:29] local.INFO: TCP Data received {"connection_id":162493,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:24:29] local.INFO: Processing buffer {"connection_id":162493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:24:29] local.INFO: Packet analysis {"connection_id":162493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:24:29] local.INFO: Extracted packet for processing {"connection_id":162493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:24:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573280768001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787395929000,"timestamp_ms":1787395929000,"timestamp_seconds":1787395929,"priority":1,"record_length":96,"hex_timestamp":"000001a0291973a8"} 
[2026-08-22 16: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-22 16:24: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-22 16: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":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:24: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-22 16: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-22 16: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-22 16:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573280768001,"66":25647,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573280768001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:24:29] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573280768001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":162493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:24:29] local.INFO: GPS data processed {"connection_id":162493,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:24:29] local.INFO: Acknowledgment sent {"connection_id":162493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:24:48] local.INFO: TCP Data received {"connection_id":162494,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:24:48] local.INFO: Processing buffer {"connection_id":162494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:24:48] local.INFO: IMEI packet received {"connection_id":162494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":162494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:24:54] local.INFO: TCP Data received {"connection_id":162494,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:24:54] local.INFO: Processing buffer {"connection_id":162494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:24:54] local.INFO: IMEI packet received {"connection_id":162494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":162494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:24:54] local.INFO: TCP Data received {"connection_id":162494,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:24:54] local.INFO: Processing buffer {"connection_id":162494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:24:54] local.INFO: Packet analysis {"connection_id":162494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:24:54] local.INFO: Extracted packet for processing {"connection_id":162494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573280768001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787395929000,"timestamp_ms":1787395929000,"timestamp_seconds":1787395929,"priority":1,"record_length":96,"hex_timestamp":"000001a0291973a8"} 
[2026-08-22 16:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:24: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-22 16:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573280768001,"66":25647,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573280768001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:24:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:24:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573280768001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":162494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:24:54] local.INFO: GPS data processed {"connection_id":162494,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:24:54] local.INFO: Acknowledgment sent {"connection_id":162494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:24:56] local.INFO: TCP Data received {"connection_id":162495,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:24:56] local.INFO: Processing buffer {"connection_id":162495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:24:56] local.INFO: IMEI packet received {"connection_id":162495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":162495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:24:57] local.INFO: TCP Data received {"connection_id":162495,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:24:57] local.INFO: Processing buffer {"connection_id":162495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:24:57] local.INFO: IMEI packet received {"connection_id":162495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":162495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:25:02] local.INFO: TCP Data received {"connection_id":162495,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:25:02] local.INFO: Processing buffer {"connection_id":162495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:25:02] local.INFO: IMEI packet received {"connection_id":162495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":162495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:25:03] local.INFO: TCP Data received {"connection_id":162495,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02919cd80012d1b43c00725ca78002d00cd2a..."} 
[2026-08-22 16:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02919cd80012d1b43c00725ca78002d00cd2a..."} 
[2026-08-22 16:25:03] local.INFO: Processing buffer {"connection_id":162495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02919cd80012d1b43c00725ca78002d00cd2a..."} 
[2026-08-22 16:25:03] local.INFO: Packet analysis {"connection_id":162495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:25:03] local.INFO: Extracted packet for processing {"connection_id":162495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119917176,"longitude_deg":75.6761536,"latitude_deg":11.9917176,"altitude":45,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0725ca78","is_valid_coordinates":true} 
[2026-08-22 16:25: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-22 16:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573358336001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662679046127616,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999394998272,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:03] 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-22 16:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787395952000,"timestamp_ms":1787395952000,"timestamp_seconds":1787395952,"priority":1,"record_length":96,"hex_timestamp":"000001a02919cd80"} 
[2026-08-22 16:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 16:25:03] 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-22 16:25: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-22 16:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:25:03] 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-22 16:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573358336001,"66":12819,"216":206,"83":42752,"24":0,"16":14662679046127616,"45":1964624999394998272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 16:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573358336001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:25:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 16:25:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662679046127616,"km_value":14662679046127.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999394998272,"description":"Unknown IO ID 45"} 
[2026-08-22 16:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573358336001,"power":12819,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964624999394998272}} 
[2026-08-22 16:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":162495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:25:03] local.INFO: GPS data processed {"connection_id":162495,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:25:03] local.INFO: Acknowledgment sent {"connection_id":162495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:25:04] local.INFO: TCP Data received {"connection_id":162495,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291a1f88012d1b43c00725ca78002d00cd22..."} 
[2026-08-22 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291a1f88012d1b43c00725ca78002d00cd22..."} 
[2026-08-22 16:25:04] local.INFO: Processing buffer {"connection_id":162495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291a1f88012d1b43c00725ca78002d00cd22..."} 
[2026-08-22 16:25:04] local.INFO: Packet analysis {"connection_id":162495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291a"} 
[2026-08-22 16:25:04] local.INFO: Extracted packet for processing {"connection_id":162495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291a"} 
[2026-08-22 16:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119917176,"longitude_deg":75.6761536,"latitude_deg":11.9917176,"altitude":45,"angle":205,"satellites":34,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0725ca78","is_valid_coordinates":true} 
[2026-08-22 16:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573363712001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662679046127616,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999394998272,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] 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-22 16:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787395973000,"timestamp_ms":1787395973000,"timestamp_seconds":1787395973,"priority":1,"record_length":96,"hex_timestamp":"000001a0291a1f88"} 
[2026-08-22 16:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:25:04] 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-22 16:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":30720,"corrected_to":0} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":41,"raw_value":1697654754430895040,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3396861997,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503823362097152,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7698904449156579352,"corrected_to":0} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3221693898,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":120,"raw_value":12667255074586624,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182234004586752,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2723120866849246505,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-6412900010601427373,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195047680,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84753945788360138,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:04] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,216,83,24,241,157,16,23,160,123,45,192,202,42,10,66,41,37,215,1,240,227,4,113,205,51,67,120,239,50,2,52,7,49,167,161,69,64],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":202,"original":30720,"validated":0},{"io_id":205,"original":7698904449156579352,"validated":0}]} 
[2026-08-22 16:25:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242817311979077632,"timestamp_seconds":3242817311979077.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 16:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:25: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-22 16:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573363712001,"66":12765,"216":206,"83":42752,"24":0,"16":14662679046127616,"45":1964624999394998272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 16:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573363712001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:25:04] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 16:25:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662679046127616,"km_value":14662679046127.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999394998272,"description":"Unknown IO ID 45"} 
[2026-08-22 16:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573363712001,"power":12765,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964624999394998272}} 
[2026-08-22 16:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":162495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:25:04] local.INFO: GPS data processed {"connection_id":162495,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:25:04] local.INFO: Acknowledgment sent {"connection_id":162495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:25:25] local.INFO: TCP Data received {"connection_id":162494,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:25:25] local.INFO: Processing buffer {"connection_id":162494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:25:25] local.INFO: Packet analysis {"connection_id":162494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:25:25] local.INFO: Extracted packet for processing {"connection_id":162494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:25:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573280768001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787395929000,"timestamp_ms":1787395929000,"timestamp_seconds":1787395929,"priority":1,"record_length":96,"hex_timestamp":"000001a0291973a8"} 
[2026-08-22 16: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-22 16:25: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-22 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 16: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-22 16: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-22 16:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573280768001,"66":25647,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573280768001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:25:25] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:25:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573280768001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":162494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:25:25] local.INFO: GPS data processed {"connection_id":162494,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:25:25] local.INFO: Acknowledgment sent {"connection_id":162494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:25:35] local.INFO: TCP Data received {"connection_id":162495,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291a7190012d1b43c00725ca78002d00cd25..."} 
[2026-08-22 16:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291a7190012d1b43c00725ca78002d00cd25..."} 
[2026-08-22 16:25:35] local.INFO: Processing buffer {"connection_id":162495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291a7190012d1b43c00725ca78002d00cd25..."} 
[2026-08-22 16:25:35] local.INFO: Packet analysis {"connection_id":162495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291a"} 
[2026-08-22 16:25:35] local.INFO: Extracted packet for processing {"connection_id":162495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291a"} 
[2026-08-22 16:25:35] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119917176,"longitude_deg":75.6761536,"latitude_deg":11.9917176,"altitude":45,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0725ca78","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573369088001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662679046127616,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999394998272,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:35] 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-22 16:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787395994000,"timestamp_ms":1787395994000,"timestamp_seconds":1787395994,"priority":1,"record_length":96,"hex_timestamp":"000001a0291a7190"} 
[2026-08-22 16: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-22 16:25:35] 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-22 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-22 16:25:35] 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-22 16: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-22 16: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-22 16:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":162495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":162495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":162495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:25:35] 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-22 16:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573369088001,"66":12798,"216":206,"83":42752,"24":0,"16":14662679046127616,"45":1964624999394998272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 16:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573369088001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:25:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 16:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662679046127616,"km_value":14662679046127.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999394998272,"description":"Unknown IO ID 45"} 
[2026-08-22 16:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573369088001,"power":12798,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964624999394998272}} 
[2026-08-22 16:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":162495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:25:35] local.INFO: GPS data processed {"connection_id":162495,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:25:35] local.INFO: Acknowledgment sent {"connection_id":162495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:25:48] local.INFO: TCP Data received {"connection_id":161058,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:25:48] local.INFO: Processing buffer {"connection_id":161058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:25:48] local.INFO: IMEI packet received {"connection_id":161058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":161058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:25:52] local.INFO: TCP Data received {"connection_id":159893,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:25:52] local.INFO: Processing buffer {"connection_id":159893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:25:52] local.INFO: IMEI packet received {"connection_id":159893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":159893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:25:54] local.INFO: TCP Data received {"connection_id":161058,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:25:54] local.INFO: Processing buffer {"connection_id":161058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:25:54] local.INFO: IMEI packet received {"connection_id":161058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":161058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:25:54] local.INFO: TCP Data received {"connection_id":161058,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:25:54] local.INFO: Processing buffer {"connection_id":161058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:25:54] local.INFO: Packet analysis {"connection_id":161058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:25:54] local.INFO: Extracted packet for processing {"connection_id":161058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573280768001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787395929000,"timestamp_ms":1787395929000,"timestamp_seconds":1787395929,"priority":1,"record_length":96,"hex_timestamp":"000001a0291973a8"} 
[2026-08-22 16: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-22 16:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:25: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-22 16: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-22 16: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-22 16:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573280768001,"66":25647,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573280768001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:25:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:25:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573280768001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":161058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:25:54] local.INFO: GPS data processed {"connection_id":161058,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:25:54] local.INFO: Acknowledgment sent {"connection_id":161058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:25:57] local.INFO: TCP Data received {"connection_id":159893,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:25:57] local.INFO: Processing buffer {"connection_id":159893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:25:57] local.INFO: IMEI packet received {"connection_id":159893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":159893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:25:58] local.INFO: TCP Data received {"connection_id":159893,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291ac398012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291ac398012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:25:58] local.INFO: Processing buffer {"connection_id":159893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291ac398012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:25:58] local.INFO: Packet analysis {"connection_id":159893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291a"} 
[2026-08-22 16:25:58] local.INFO: Extracted packet for processing {"connection_id":159893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291a"} 
[2026-08-22 16:25:58] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119917176,"longitude_deg":75.6761536,"latitude_deg":11.9917176,"altitude":45,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0725ca78","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573374464001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662679046127616,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999394998272,"note":"Value kept but may cause issues"} 
[2026-08-22 16:25:58] 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-22 16:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787396015000,"timestamp_ms":1787396015000,"timestamp_seconds":1787396015,"priority":1,"record_length":96,"hex_timestamp":"000001a0291ac398"} 
[2026-08-22 16: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-22 16:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-22 16:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:25: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-22 16:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573374464001,"66":14070,"216":206,"83":42752,"24":0,"16":14662679046127616,"45":1964624999394998272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 16:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573374464001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:25:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 16:25:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662679046127616,"km_value":14662679046127.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999394998272,"description":"Unknown IO ID 45"} 
[2026-08-22 16:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573374464001,"power":14070,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964624999394998272}} 
[2026-08-22 16:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":159893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:25:58] local.INFO: GPS data processed {"connection_id":159893,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:25:58] local.INFO: Acknowledgment sent {"connection_id":159893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:26:25] local.INFO: TCP Data received {"connection_id":161058,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:26:25] local.INFO: Processing buffer {"connection_id":161058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:26:25] local.INFO: Packet analysis {"connection_id":161058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:26:25] local.INFO: Extracted packet for processing {"connection_id":161058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:26:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 16:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573280768001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787395929000,"timestamp_ms":1787395929000,"timestamp_seconds":1787395929,"priority":1,"record_length":96,"hex_timestamp":"000001a0291973a8"} 
[2026-08-22 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-22 16: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-22 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 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-22 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-22 16:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573280768001,"66":25647,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573280768001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:26:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:26:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573280768001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":161058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:26:26] local.INFO: GPS data processed {"connection_id":161058,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:26:26] local.INFO: Acknowledgment sent {"connection_id":161058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:26:29] local.INFO: TCP Data received {"connection_id":159893,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291b15a0012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291b15a0012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:26:29] local.INFO: Processing buffer {"connection_id":159893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291b15a0012d1b43c00725ca78002d00cd29..."} 
[2026-08-22 16:26:29] local.INFO: Packet analysis {"connection_id":159893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291b"} 
[2026-08-22 16:26:29] local.INFO: Extracted packet for processing {"connection_id":159893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291b"} 
[2026-08-22 16:26:29] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119917176,"longitude_deg":75.6761536,"latitude_deg":11.9917176,"altitude":45,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0725ca78","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573379840001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14662679046127616,"note":"Value kept but may cause issues"} 
[2026-08-22 16:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999394998272,"note":"Value kept but may cause issues"} 
[2026-08-22 16:26:29] 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-22 16:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787396036000,"timestamp_ms":1787396036000,"timestamp_seconds":1787396036,"priority":1,"record_length":96,"hex_timestamp":"000001a0291b15a0"} 
[2026-08-22 16: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-22 16:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16: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-22 16: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-22 16: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-22 16:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:26:29] 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-22 16:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573379840001,"66":14233,"216":206,"83":42752,"24":0,"16":14662679046127616,"45":1964624999394998272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-22 16:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573379840001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:26:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 16:26:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14662679046127616,"km_value":14662679046127.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999394998272,"description":"Unknown IO ID 45"} 
[2026-08-22 16:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573379840001,"power":14233,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964624999394998272}} 
[2026-08-22 16:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":159893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:26:29] local.INFO: GPS data processed {"connection_id":159893,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:26:29] local.INFO: Acknowledgment sent {"connection_id":159893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:26:48] local.INFO: TCP Data received {"connection_id":159894,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:26:48] local.INFO: Processing buffer {"connection_id":159894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:26:48] local.INFO: IMEI packet received {"connection_id":159894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":159894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:26:52] local.INFO: TCP Data received {"connection_id":161059,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:26:52] local.INFO: Processing buffer {"connection_id":161059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:26:52] local.INFO: IMEI packet received {"connection_id":161059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":161059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:26:54] local.INFO: TCP Data received {"connection_id":161059,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:26:54] local.INFO: Processing buffer {"connection_id":161059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:26:54] local.INFO: IMEI packet received {"connection_id":161059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":161059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:26:55] local.INFO: TCP Data received {"connection_id":159894,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:26:55] local.INFO: Processing buffer {"connection_id":159894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:26:55] local.INFO: IMEI packet received {"connection_id":159894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":159894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:26:55] local.INFO: TCP Data received {"connection_id":161059,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291ccf08012d1b624007256dc0002600862c..."} 
[2026-08-22 16:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291ccf08012d1b624007256dc0002600862c..."} 
[2026-08-22 16:26:55] local.INFO: Processing buffer {"connection_id":161059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291ccf08012d1b624007256dc0002600862c..."} 
[2026-08-22 16:26:55] local.INFO: Packet analysis {"connection_id":161059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291c"} 
[2026-08-22 16:26:55] local.INFO: Extracted packet for processing {"connection_id":161059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291c"} 
[2026-08-22 16:26:55] local.INFO: GPS Element Parsed {"raw_longitude":756769344,"raw_latitude":119893440,"longitude_deg":75.6769344,"latitude_deg":11.989344,"altitude":38,"angle":134,"satellites":44,"speed":0,"hex_longitude":"2d1b6240","hex_latitude":"07256dc0","is_valid_coordinates":true} 
[2026-08-22 16:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573408768001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14664031960825856,"note":"Value kept but may cause issues"} 
[2026-08-22 16:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972998879946117120,"note":"Value kept but may cause issues"} 
[2026-08-22 16:26:55] 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-22 16:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787396149000,"timestamp_ms":1787396149000,"timestamp_seconds":1787396149,"priority":1,"record_length":96,"hex_timestamp":"000001a0291ccf08"} 
[2026-08-22 16:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-22 16:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:26:55] 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-22 16:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573408768001,"66":13928,"43":206,"83":41984,"24":0,"16":14664031960825856,"45":1972998879946117120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 16:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573408768001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:26:55] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 16:26:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14664031960825856,"km_value":14664031960825.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972998879946117120,"description":"Unknown IO ID 45"} 
[2026-08-22 16:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573408768001,"power":13928,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972998879946117120}} 
[2026-08-22 16:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":161059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:26:55] local.INFO: GPS data processed {"connection_id":161059,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:26:55] local.INFO: Acknowledgment sent {"connection_id":161059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:26:55] local.INFO: TCP Data received {"connection_id":159894,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:26:55] local.INFO: Processing buffer {"connection_id":159894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:26:55] local.INFO: Packet analysis {"connection_id":159894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:26:55] local.INFO: Extracted packet for processing {"connection_id":159894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:26:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573280768001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787395929000,"timestamp_ms":1787395929000,"timestamp_seconds":1787395929,"priority":1,"record_length":96,"hex_timestamp":"000001a0291973a8"} 
[2026-08-22 16:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:26: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-22 16:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:26: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-22 16:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573280768001,"66":25647,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573280768001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:26:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:26:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573280768001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":159894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:26:55] local.INFO: GPS data processed {"connection_id":159894,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:26:55] local.INFO: Acknowledgment sent {"connection_id":159894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:27:26] local.INFO: TCP Data received {"connection_id":161059,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291ce678012d1b638007256ae8002800992c..."} 
[2026-08-22 16:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291ce678012d1b638007256ae8002800992c..."} 
[2026-08-22 16:27:26] local.INFO: Processing buffer {"connection_id":161059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291ce678012d1b638007256ae8002800992c..."} 
[2026-08-22 16:27:26] local.INFO: Packet analysis {"connection_id":161059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291c"} 
[2026-08-22 16:27:26] local.INFO: Extracted packet for processing {"connection_id":161059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291c"} 
[2026-08-22 16:27:26] local.INFO: GPS Element Parsed {"raw_longitude":756769664,"raw_latitude":119892712,"longitude_deg":75.6769664,"latitude_deg":11.9892712,"altitude":40,"angle":153,"satellites":44,"speed":6,"hex_longitude":"2d1b6380","hex_latitude":"07256ae8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573414144001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14664070615531520,"note":"Value kept but may cause issues"} 
[2026-08-22 16:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973209986178596864,"note":"Value kept but may cause issues"} 
[2026-08-22 16:27:26] 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-22 16:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787396155000,"timestamp_ms":1787396155000,"timestamp_seconds":1787396155,"priority":1,"record_length":96,"hex_timestamp":"000001a0291ce678"} 
[2026-08-22 16: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-22 16:27: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-22 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-22 16:27:26] 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-22 16: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-22 16: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-22 16:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:27:26] 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-22 16:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573414144001,"66":13993,"43":206,"83":41984,"24":6,"16":14664070615531520,"45":1973209986178596864},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 16:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573414144001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:27:26] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 16:27:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14664070615531520,"km_value":14664070615531.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973209986178596864,"description":"Unknown IO ID 45"} 
[2026-08-22 16:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573414144001,"power":13993,"unknown_43":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1973209986178596864}} 
[2026-08-22 16:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":161059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:27:26] local.INFO: GPS data processed {"connection_id":161059,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:27:26] local.INFO: Acknowledgment sent {"connection_id":161059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:27:27] local.INFO: TCP Data received {"connection_id":159894,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:27:27] local.INFO: Processing buffer {"connection_id":159894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291973a8012d7fac4005afe1d80004006624..."} 
[2026-08-22 16:27:27] local.INFO: Packet analysis {"connection_id":159894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:27:27] local.INFO: Extracted packet for processing {"connection_id":159894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02919"} 
[2026-08-22 16:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573280768001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787395929000,"timestamp_ms":1787395929000,"timestamp_seconds":1787395929,"priority":1,"record_length":96,"hex_timestamp":"000001a0291973a8"} 
[2026-08-22 16:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-22 16:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 16:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573280768001,"66":25647,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573280768001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:27:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573280768001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":159894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:27:27] local.INFO: GPS data processed {"connection_id":159894,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:27:27] local.INFO: Acknowledgment sent {"connection_id":159894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:27:52] local.INFO: TCP Data received {"connection_id":161061,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:27:52] local.INFO: Processing buffer {"connection_id":161061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:27:52] local.INFO: IMEI packet received {"connection_id":161061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":161061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:27:54] local.INFO: TCP Data received {"connection_id":161060,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:27:54] local.INFO: Processing buffer {"connection_id":161060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:27:54] local.INFO: IMEI packet received {"connection_id":161060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":161060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:27:58] local.INFO: TCP Data received {"connection_id":161061,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:27:58] local.INFO: Processing buffer {"connection_id":161061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:27:58] local.INFO: IMEI packet received {"connection_id":161061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":161061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:27:58] local.INFO: TCP Data received {"connection_id":161061,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291d3880012d1b668007256568002900982a..."} 
[2026-08-22 16:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291d3880012d1b668007256568002900982a..."} 
[2026-08-22 16:27:58] local.INFO: Processing buffer {"connection_id":161061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291d3880012d1b668007256568002900982a..."} 
[2026-08-22 16:27:58] local.INFO: Packet analysis {"connection_id":161061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291d"} 
[2026-08-22 16:27:58] local.INFO: Extracted packet for processing {"connection_id":161061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291d"} 
[2026-08-22 16:27:58] local.INFO: GPS Element Parsed {"raw_longitude":756770432,"raw_latitude":119891304,"longitude_deg":75.6770432,"latitude_deg":11.9891304,"altitude":41,"angle":152,"satellites":42,"speed":0,"hex_longitude":"2d1b6680","hex_latitude":"07256568","is_valid_coordinates":true} 
[2026-08-22 16:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573415680001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14664152219910144,"note":"Value kept but may cause issues"} 
[2026-08-22 16:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973561829899298816,"note":"Value kept but may cause issues"} 
[2026-08-22 16:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787396176000,"timestamp_ms":1787396176000,"timestamp_seconds":1787396176,"priority":1,"record_length":96,"hex_timestamp":"000001a0291d3880"} 
[2026-08-22 16:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-22 16:27: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-22 16:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:27: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-22 16:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573415680001,"66":13961,"43":206,"83":41984,"24":0,"16":14664152219910144,"45":1973561829899298816},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 16:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573415680001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:27:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 16:27:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14664152219910144,"km_value":14664152219910.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973561829899298816,"description":"Unknown IO ID 45"} 
[2026-08-22 16:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573415680001,"power":13961,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1973561829899298816}} 
[2026-08-22 16:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":161061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:27:58] local.INFO: GPS data processed {"connection_id":161061,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:27:58] local.INFO: Acknowledgment sent {"connection_id":161061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:27:59] local.INFO: TCP Data received {"connection_id":161060,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:27:59] local.INFO: Processing buffer {"connection_id":161060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:27:59] local.INFO: IMEI packet received {"connection_id":161060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":161060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:28:00] local.INFO: TCP Data received {"connection_id":161060,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:28:00] local.INFO: Processing buffer {"connection_id":161060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:28:00] local.INFO: Packet analysis {"connection_id":161060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:28:00] local.INFO: Extracted packet for processing {"connection_id":161060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":5,"angle":102,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573357824001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:28:00] 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-22 16:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787396230000,"timestamp_ms":1787396230000,"timestamp_seconds":1787396230,"priority":1,"record_length":96,"hex_timestamp":"000001a0291e0b70"} 
[2026-08-22 16:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:28: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-22 16:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:28: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-22 16:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573357824001,"66":25647,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573357824001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:28:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:28:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573357824001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":161060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:28:00] local.INFO: GPS data processed {"connection_id":161060,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:28:00] local.INFO: Acknowledgment sent {"connection_id":161060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:28:06] local.INFO: TCP Data received {"connection_id":161060,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:28:06] local.INFO: Processing buffer {"connection_id":161060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:28:06] local.INFO: Packet analysis {"connection_id":161060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:28:06] local.INFO: Extracted packet for processing {"connection_id":161060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":5,"angle":102,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573357824001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:28:06] 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-22 16:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787396230000,"timestamp_ms":1787396230000,"timestamp_seconds":1787396230,"priority":1,"record_length":96,"hex_timestamp":"000001a0291e0b70"} 
[2026-08-22 16: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-22 16:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:28: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-22 16: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-22 16: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-22 16:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573357824001,"66":25647,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573357824001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573357824001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":161060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:28:06] local.INFO: GPS data processed {"connection_id":161060,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:28:06] local.INFO: Acknowledgment sent {"connection_id":161060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:28:29] local.INFO: TCP Data received {"connection_id":161061,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291d8a88012d1b668007256568002900982b..."} 
[2026-08-22 16:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291d8a88012d1b668007256568002900982b..."} 
[2026-08-22 16:28:29] local.INFO: Processing buffer {"connection_id":161061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291d8a88012d1b668007256568002900982b..."} 
[2026-08-22 16:28:29] local.INFO: Packet analysis {"connection_id":161061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291d"} 
[2026-08-22 16:28:29] local.INFO: Extracted packet for processing {"connection_id":161061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291d"} 
[2026-08-22 16:28:29] local.INFO: GPS Element Parsed {"raw_longitude":756770432,"raw_latitude":119891304,"longitude_deg":75.6770432,"latitude_deg":11.9891304,"altitude":41,"angle":152,"satellites":43,"speed":0,"hex_longitude":"2d1b6680","hex_latitude":"07256568","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573421056001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14664152219910144,"note":"Value kept but may cause issues"} 
[2026-08-22 16:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974406254829070336,"note":"Value kept but may cause issues"} 
[2026-08-22 16:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787396197000,"timestamp_ms":1787396197000,"timestamp_seconds":1787396197,"priority":1,"record_length":96,"hex_timestamp":"000001a0291d8a88"} 
[2026-08-22 16: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-22 16:28: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-22 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-22 16:28:29] 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-22 16: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-22 16: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-22 16:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:28:29] 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-22 16:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573421056001,"66":13961,"43":206,"83":41984,"24":0,"16":14664152219910144,"45":1974406254829070336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 16:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573421056001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:28:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 16:28:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14664152219910144,"km_value":14664152219910.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974406254829070336,"description":"Unknown IO ID 45"} 
[2026-08-22 16:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573421056001,"power":13961,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1974406254829070336}} 
[2026-08-22 16:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":161061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:28:29] local.INFO: GPS data processed {"connection_id":161061,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:28:29] local.INFO: Acknowledgment sent {"connection_id":161061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:28:49] local.INFO: TCP Data received {"connection_id":159895,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:28:49] local.INFO: Processing buffer {"connection_id":159895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:28:49] local.INFO: IMEI packet received {"connection_id":159895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":159895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:28:53] local.INFO: TCP Data received {"connection_id":159896,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:28:53] local.INFO: Processing buffer {"connection_id":159896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:28:53] local.INFO: IMEI packet received {"connection_id":159896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":159896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:28:54] local.INFO: TCP Data received {"connection_id":159895,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:28:54] local.INFO: Processing buffer {"connection_id":159895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:28:54] local.INFO: IMEI packet received {"connection_id":159895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":159895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:28:55] local.INFO: TCP Data received {"connection_id":159895,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:28:55] local.INFO: Processing buffer {"connection_id":159895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:28:55] local.INFO: Packet analysis {"connection_id":159895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:28:55] local.INFO: Extracted packet for processing {"connection_id":159895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":5,"angle":102,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573357824001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:28: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-22 16:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787396230000,"timestamp_ms":1787396230000,"timestamp_seconds":1787396230,"priority":1,"record_length":96,"hex_timestamp":"000001a0291e0b70"} 
[2026-08-22 16:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:28: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-22 16:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:28: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-22 16:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573357824001,"66":25647,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573357824001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:28:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:28:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573357824001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":159895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:28:55] local.INFO: GPS data processed {"connection_id":159895,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:28:55] local.INFO: Acknowledgment sent {"connection_id":159895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:28:57] local.INFO: TCP Data received {"connection_id":159896,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:28:57] local.INFO: Processing buffer {"connection_id":159896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:28:57] local.INFO: IMEI packet received {"connection_id":159896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":159896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:28:58] local.INFO: TCP Data received {"connection_id":159896,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291ddc90012d1b668007256568002900982d..."} 
[2026-08-22 16:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291ddc90012d1b668007256568002900982d..."} 
[2026-08-22 16:28:58] local.INFO: Processing buffer {"connection_id":159896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291ddc90012d1b668007256568002900982d..."} 
[2026-08-22 16:28:58] local.INFO: Packet analysis {"connection_id":159896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291d"} 
[2026-08-22 16:28:58] local.INFO: Extracted packet for processing {"connection_id":159896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291d"} 
[2026-08-22 16:28:58] local.INFO: GPS Element Parsed {"raw_longitude":756770432,"raw_latitude":119891304,"longitude_deg":75.6770432,"latitude_deg":11.9891304,"altitude":41,"angle":152,"satellites":45,"speed":0,"hex_longitude":"2d1b6680","hex_latitude":"07256568","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573426432001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14664152219910144,"note":"Value kept but may cause issues"} 
[2026-08-22 16:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974406254829070336,"note":"Value kept but may cause issues"} 
[2026-08-22 16:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787396218000,"timestamp_ms":1787396218000,"timestamp_seconds":1787396218,"priority":1,"record_length":96,"hex_timestamp":"000001a0291ddc90"} 
[2026-08-22 16: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-22 16:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-22 16:28:58] 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-22 16: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-22 16: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-22 16:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:28: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-22 16:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573426432001,"66":14233,"43":206,"83":41984,"24":0,"16":14664152219910144,"45":1974406254829070336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 16:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573426432001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:28:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 16:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14664152219910144,"km_value":14664152219910.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974406254829070336,"description":"Unknown IO ID 45"} 
[2026-08-22 16:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573426432001,"power":14233,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1974406254829070336}} 
[2026-08-22 16:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":159896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:28:58] local.INFO: GPS data processed {"connection_id":159896,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:28:58] local.INFO: Acknowledgment sent {"connection_id":159896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:29:28] local.INFO: TCP Data received {"connection_id":159895,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:29:28] local.INFO: Processing buffer {"connection_id":159895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:29:28] local.INFO: Packet analysis {"connection_id":159895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:29:28] local.INFO: Extracted packet for processing {"connection_id":159895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:29:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":5,"angle":102,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573357824001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:29: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-22 16:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787396230000,"timestamp_ms":1787396230000,"timestamp_seconds":1787396230,"priority":1,"record_length":96,"hex_timestamp":"000001a0291e0b70"} 
[2026-08-22 16:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:29: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-22 16:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573357824001,"66":25647,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573357824001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:29:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573357824001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":159895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:29:28] local.INFO: GPS data processed {"connection_id":159895,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:29:28] local.INFO: Acknowledgment sent {"connection_id":159895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:29:29] local.INFO: TCP Data received {"connection_id":159896,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291e2e98012d1b67c0072561a8002600982c..."} 
[2026-08-22 16:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291e2e98012d1b67c0072561a8002600982c..."} 
[2026-08-22 16:29:29] local.INFO: Processing buffer {"connection_id":159896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291e2e98012d1b67c0072561a8002600982c..."} 
[2026-08-22 16:29:29] local.INFO: Packet analysis {"connection_id":159896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:29:29] local.INFO: Extracted packet for processing {"connection_id":159896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:29:29] local.INFO: GPS Element Parsed {"raw_longitude":756770752,"raw_latitude":119890344,"longitude_deg":75.6770752,"latitude_deg":11.9890344,"altitude":38,"angle":152,"satellites":44,"speed":0,"hex_longitude":"2d1b67c0","hex_latitude":"072561a8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573431808001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14664203759517696,"note":"Value kept but may cause issues"} 
[2026-08-22 16:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974406254829070336,"note":"Value kept but may cause issues"} 
[2026-08-22 16:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787396239000,"timestamp_ms":1787396239000,"timestamp_seconds":1787396239,"priority":1,"record_length":96,"hex_timestamp":"000001a0291e2e98"} 
[2026-08-22 16: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-22 16:29: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-22 16: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-22 16:29:29] 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-22 16: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-22 16: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-22 16:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:29:29] 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-22 16:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573431808001,"66":13993,"43":206,"83":41984,"24":0,"16":14664203759517696,"45":1974406254829070336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 16:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573431808001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:29:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 16:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14664203759517696,"km_value":14664203759517.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974406254829070336,"description":"Unknown IO ID 45"} 
[2026-08-22 16:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573431808001,"power":13993,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1974406254829070336}} 
[2026-08-22 16:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":159896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:29:29] local.INFO: GPS data processed {"connection_id":159896,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:29:29] local.INFO: Acknowledgment sent {"connection_id":159896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:29:48] local.INFO: TCP Data received {"connection_id":160134,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:29:48] local.INFO: Processing buffer {"connection_id":160134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:29:48] local.INFO: IMEI packet received {"connection_id":160134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":160134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:29:52] local.INFO: TCP Data received {"connection_id":160135,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:29:52] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:29:52] local.INFO: IMEI packet received {"connection_id":160135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":160135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:29:54] local.INFO: TCP Data received {"connection_id":160134,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:29:54] local.INFO: Processing buffer {"connection_id":160134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:29:54] local.INFO: IMEI packet received {"connection_id":160134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":160134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:29:55] local.INFO: TCP Data received {"connection_id":160134,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:29:55] local.INFO: Processing buffer {"connection_id":160134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:29:55] local.INFO: Packet analysis {"connection_id":160134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:29:55] local.INFO: Extracted packet for processing {"connection_id":160134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:29:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":5,"angle":102,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 16:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573357824001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:29: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-22 16:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787396230000,"timestamp_ms":1787396230000,"timestamp_seconds":1787396230,"priority":1,"record_length":96,"hex_timestamp":"000001a0291e0b70"} 
[2026-08-22 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-22 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-22 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:29: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-22 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-22 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-22 16:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573357824001,"66":25647,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573357824001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:29:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:29:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573357824001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":160134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:29:55] local.INFO: GPS data processed {"connection_id":160134,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:29:55] local.INFO: Acknowledgment sent {"connection_id":160134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:29:57] local.INFO: TCP Data received {"connection_id":160135,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:29:57] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:29:57] local.INFO: IMEI packet received {"connection_id":160135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":160135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:29:58] local.INFO: TCP Data received {"connection_id":160135,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291e4608012d1b684007256050002700a82e..."} 
[2026-08-22 16:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291e4608012d1b684007256050002700a82e..."} 
[2026-08-22 16:29:58] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291e4608012d1b684007256050002700a82e..."} 
[2026-08-22 16:29:58] local.INFO: Packet analysis {"connection_id":160135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:29:58] local.INFO: Extracted packet for processing {"connection_id":160135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756770880,"raw_latitude":119890000,"longitude_deg":75.677088,"latitude_deg":11.989,"altitude":39,"angle":168,"satellites":46,"speed":6,"hex_longitude":"2d1b6840","hex_latitude":"07256050","is_valid_coordinates":true} 
[2026-08-22 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-22 16:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573437184001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14664220939386880,"note":"Value kept but may cause issues"} 
[2026-08-22 16:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974758098549712896,"note":"Value kept but may cause issues"} 
[2026-08-22 16:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787396245000,"timestamp_ms":1787396245000,"timestamp_seconds":1787396245,"priority":1,"record_length":96,"hex_timestamp":"000001a0291e4608"} 
[2026-08-22 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-22 16:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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-22 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-22 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-22 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-22 16:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:29: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-22 16:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573437184001,"66":13993,"43":206,"83":41984,"24":6,"16":14664220939386880,"45":1974758098549712896},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 16:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573437184001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:29:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 16:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14664220939386880,"km_value":14664220939386.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974758098549712896,"description":"Unknown IO ID 45"} 
[2026-08-22 16:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573437184001,"power":13993,"unknown_43":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1974758098549712896}} 
[2026-08-22 16:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":160135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:29:58] local.INFO: GPS data processed {"connection_id":160135,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:29:58] local.INFO: Acknowledgment sent {"connection_id":160135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:30:26] local.INFO: TCP Data received {"connection_id":160134,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:30:26] local.INFO: Processing buffer {"connection_id":160134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:30:26] local.INFO: Packet analysis {"connection_id":160134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:30:26] local.INFO: Extracted packet for processing {"connection_id":160134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:30:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":5,"angle":102,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573357824001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:30: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-22 16:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787396230000,"timestamp_ms":1787396230000,"timestamp_seconds":1787396230,"priority":1,"record_length":96,"hex_timestamp":"000001a0291e0b70"} 
[2026-08-22 16: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-22 16: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-22 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573357824001,"66":25647,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573357824001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:30:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:30:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573357824001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":160134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:30:26] local.INFO: GPS data processed {"connection_id":160134,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:30:26] local.INFO: Acknowledgment sent {"connection_id":160134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:30:31] local.INFO: TCP Data received {"connection_id":160135,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291e8870012d1b690007255850002700b52e..."} 
[2026-08-22 16:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291e8870012d1b690007255850002700b52e..."} 
[2026-08-22 16:30:31] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291e8870012d1b690007255850002700b52e..."} 
[2026-08-22 16:30:31] local.INFO: Packet analysis {"connection_id":160135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:30:31] local.INFO: Extracted packet for processing {"connection_id":160135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:30:31] local.INFO: GPS Element Parsed {"raw_longitude":756771072,"raw_latitude":119887952,"longitude_deg":75.6771072,"latitude_deg":11.9887952,"altitude":39,"angle":181,"satellites":46,"speed":6,"hex_longitude":"2d1b6900","hex_latitude":"07255850","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573438720001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14664324018601984,"note":"Value kept but may cause issues"} 
[2026-08-22 16:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974898836037980160,"note":"Value kept but may cause issues"} 
[2026-08-22 16:30:31] 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-22 16:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787396262000,"timestamp_ms":1787396262000,"timestamp_seconds":1787396262,"priority":1,"record_length":96,"hex_timestamp":"000001a0291e8870"} 
[2026-08-22 16: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-22 16:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-22 16:30:31] 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-22 16: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-22 16: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-22 16:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:30:31] 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-22 16:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573438720001,"66":14004,"43":206,"83":41984,"24":6,"16":14664324018601984,"45":1974898836037980160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 16:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573438720001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:30:31] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 16:30:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14664324018601984,"km_value":14664324018601.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974898836037980160,"description":"Unknown IO ID 45"} 
[2026-08-22 16:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573438720001,"power":14004,"unknown_43":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1974898836037980160}} 
[2026-08-22 16:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":160135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:30:31] local.INFO: GPS data processed {"connection_id":160135,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:30:31] local.INFO: Acknowledgment sent {"connection_id":160135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:30:48] local.INFO: TCP Data received {"connection_id":161062,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:30:48] local.INFO: Processing buffer {"connection_id":161062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:30:48] local.INFO: IMEI packet received {"connection_id":161062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":161062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:30:52] local.INFO: TCP Data received {"connection_id":161063,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:30:52] local.INFO: Processing buffer {"connection_id":161063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:30:52] local.INFO: IMEI packet received {"connection_id":161063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":161063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:30:54] local.INFO: TCP Data received {"connection_id":161062,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:30:54] local.INFO: Processing buffer {"connection_id":161062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:30:54] local.INFO: IMEI packet received {"connection_id":161062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":161062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:30:55] local.INFO: TCP Data received {"connection_id":161062,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:30:55] local.INFO: Processing buffer {"connection_id":161062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:30:55] local.INFO: Packet analysis {"connection_id":161062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:30:55] local.INFO: Extracted packet for processing {"connection_id":161062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:30:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":5,"angle":102,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573357824001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:30: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-22 16:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787396230000,"timestamp_ms":1787396230000,"timestamp_seconds":1787396230,"priority":1,"record_length":96,"hex_timestamp":"000001a0291e0b70"} 
[2026-08-22 16: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-22 16: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-22 16: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-22 16: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-22 16: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-22 16: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-22 16:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573357824001,"66":25647,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573357824001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:30:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:30:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573357824001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":161062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:30:55] local.INFO: GPS data processed {"connection_id":161062,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:30:55] local.INFO: Acknowledgment sent {"connection_id":161062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:30:57] local.INFO: TCP Data received {"connection_id":161063,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:30:57] local.INFO: Processing buffer {"connection_id":161063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:30:57] local.INFO: IMEI packet received {"connection_id":161063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":161063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:30:58] local.INFO: TCP Data received {"connection_id":161063,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291eda78012d1b69c007255320002800b72d..."} 
[2026-08-22 16:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291eda78012d1b69c007255320002800b72d..."} 
[2026-08-22 16:30:58] local.INFO: Processing buffer {"connection_id":161063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291eda78012d1b69c007255320002800b72d..."} 
[2026-08-22 16:30:58] local.INFO: Packet analysis {"connection_id":161063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:30:58] local.INFO: Extracted packet for processing {"connection_id":161063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:30:58] local.INFO: GPS Element Parsed {"raw_longitude":756771264,"raw_latitude":119886624,"longitude_deg":75.6771264,"latitude_deg":11.9886624,"altitude":40,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d1b69c0","hex_latitude":"07255320","is_valid_coordinates":true} 
[2026-08-22 16:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573443072001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14664397033046016,"note":"Value kept but may cause issues"} 
[2026-08-22 16:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975109942269988864,"note":"Value kept but may cause issues"} 
[2026-08-22 16:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787396283000,"timestamp_ms":1787396283000,"timestamp_seconds":1787396283,"priority":1,"record_length":96,"hex_timestamp":"000001a0291eda78"} 
[2026-08-22 16:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-22 16:30:58] 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-22 16:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:30: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-22 16:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573443072001,"66":13961,"43":206,"83":41984,"24":0,"16":14664397033046016,"45":1975109942269988864},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 16:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573443072001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:30:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 16:30:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14664397033046016,"km_value":14664397033046.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975109942269988864,"description":"Unknown IO ID 45"} 
[2026-08-22 16:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573443072001,"power":13961,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1975109942269988864}} 
[2026-08-22 16:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":161063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:30:58] local.INFO: GPS data processed {"connection_id":161063,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:30:58] local.INFO: Acknowledgment sent {"connection_id":161063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:31:26] local.INFO: TCP Data received {"connection_id":161062,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:31:26] local.INFO: Processing buffer {"connection_id":161062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:31:26] local.INFO: Packet analysis {"connection_id":161062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:31:26] local.INFO: Extracted packet for processing {"connection_id":161062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":5,"angle":102,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573357824001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:31: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-22 16:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787396230000,"timestamp_ms":1787396230000,"timestamp_seconds":1787396230,"priority":1,"record_length":96,"hex_timestamp":"000001a0291e0b70"} 
[2026-08-22 16: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-22 16: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-22 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573357824001,"66":25647,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573357824001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:31:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573357824001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":161062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:31:26] local.INFO: GPS data processed {"connection_id":161062,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:31:26] local.INFO: Acknowledgment sent {"connection_id":161062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:31:32] local.INFO: TCP Data received {"connection_id":161063,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291f2c80012d1b690007255180002900b72d..."} 
[2026-08-22 16:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291f2c80012d1b690007255180002900b72d..."} 
[2026-08-22 16:31:32] local.INFO: Processing buffer {"connection_id":161063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291f2c80012d1b690007255180002900b72d..."} 
[2026-08-22 16:31:32] local.INFO: Packet analysis {"connection_id":161063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291f"} 
[2026-08-22 16:31:32] local.INFO: Extracted packet for processing {"connection_id":161063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291f"} 
[2026-08-22 16:31:32] local.INFO: GPS Element Parsed {"raw_longitude":756771072,"raw_latitude":119886208,"longitude_deg":75.6771072,"latitude_deg":11.9886208,"altitude":41,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d1b6900","hex_latitude":"07255180","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573448448001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14664422802849792,"note":"Value kept but may cause issues"} 
[2026-08-22 16:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975321048502181888,"note":"Value kept but may cause issues"} 
[2026-08-22 16:31:32] 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-22 16:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787396304000,"timestamp_ms":1787396304000,"timestamp_seconds":1787396304,"priority":1,"record_length":96,"hex_timestamp":"000001a0291f2c80"} 
[2026-08-22 16: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-22 16:31:32] 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-22 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-22 16:31:32] 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-22 16: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-22 16: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-22 16:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:31:32] 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-22 16:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573448448001,"66":14048,"43":206,"83":41984,"24":0,"16":14664422802849792,"45":1975321048502181888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 16:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573448448001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:31:32] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 16:31:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14664422802849792,"km_value":14664422802849.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975321048502181888,"description":"Unknown IO ID 45"} 
[2026-08-22 16:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573448448001,"power":14048,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1975321048502181888}} 
[2026-08-22 16:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":161063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:31:32] local.INFO: GPS data processed {"connection_id":161063,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:31:32] local.INFO: Acknowledgment sent {"connection_id":161063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:31:48] local.INFO: TCP Data received {"connection_id":160136,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:31:48] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:31:48] local.INFO: IMEI packet received {"connection_id":160136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":160136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:31:52] local.INFO: TCP Data received {"connection_id":162496,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:31:52] local.INFO: Processing buffer {"connection_id":162496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:31:52] local.INFO: IMEI packet received {"connection_id":162496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":162496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:31:54] local.INFO: TCP Data received {"connection_id":160136,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:31:54] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:31:54] local.INFO: IMEI packet received {"connection_id":160136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":160136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:31:55] local.INFO: TCP Data received {"connection_id":160136,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:31:55] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:31:55] local.INFO: Packet analysis {"connection_id":160136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:31:55] local.INFO: Extracted packet for processing {"connection_id":160136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":5,"angle":102,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573357824001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:31: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-22 16:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787396230000,"timestamp_ms":1787396230000,"timestamp_seconds":1787396230,"priority":1,"record_length":96,"hex_timestamp":"000001a0291e0b70"} 
[2026-08-22 16:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16: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-22 16:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:31: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-22 16:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573357824001,"66":25647,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573357824001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:31:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573357824001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":160136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:31:55] local.INFO: GPS data processed {"connection_id":160136,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:31:55] local.INFO: Acknowledgment sent {"connection_id":160136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:31:57] local.INFO: TCP Data received {"connection_id":162496,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:31:57] local.INFO: Processing buffer {"connection_id":162496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:31:57] local.INFO: IMEI packet received {"connection_id":162496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":162496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:31:57] local.INFO: TCP Data received {"connection_id":162496,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:31:57] local.INFO: Processing buffer {"connection_id":162496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:31:57] local.INFO: IMEI packet received {"connection_id":162496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":162496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:31:58] local.INFO: TCP Data received {"connection_id":162496,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0291f7e88012d1b684007254ea0002900b72e..."} 
[2026-08-22 16:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291f7e88012d1b684007254ea0002900b72e..."} 
[2026-08-22 16:31:58] local.INFO: Processing buffer {"connection_id":162496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291f7e88012d1b684007254ea0002900b72e..."} 
[2026-08-22 16:31:58] local.INFO: Packet analysis {"connection_id":162496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291f"} 
[2026-08-22 16:31:58] local.INFO: Extracted packet for processing {"connection_id":162496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291f"} 
[2026-08-22 16:31:58] local.INFO: GPS Element Parsed {"raw_longitude":756770880,"raw_latitude":119885472,"longitude_deg":75.677088,"latitude_deg":11.9885472,"altitude":41,"angle":183,"satellites":46,"speed":0,"hex_longitude":"2d1b6840","hex_latitude":"07254ea0","is_valid_coordinates":true} 
[2026-08-22 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-22 16:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573453824001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14664465752522752,"note":"Value kept but may cause issues"} 
[2026-08-22 16:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975109942269542400,"note":"Value kept but may cause issues"} 
[2026-08-22 16:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787396325000,"timestamp_ms":1787396325000,"timestamp_seconds":1787396325,"priority":1,"record_length":96,"hex_timestamp":"000001a0291f7e88"} 
[2026-08-22 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-22 16:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":224,"data_length":795,"current_offset":136} 
[2026-08-22 16:31:58] 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-22 16: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-22 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-22 16:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:31: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-22 16:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573453824001,"66":14298,"43":206,"83":41984,"24":0,"16":14664465752522752,"45":1975109942269542400},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 16:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573453824001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:31:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 16:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14664465752522752,"km_value":14664465752522.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975109942269542400,"description":"Unknown IO ID 45"} 
[2026-08-22 16:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573453824001,"power":14298,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1975109942269542400}} 
[2026-08-22 16:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":162496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:31:58] local.INFO: GPS data processed {"connection_id":162496,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:31:58] local.INFO: Acknowledgment sent {"connection_id":162496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:32:26] local.INFO: TCP Data received {"connection_id":160136,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:32:26] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0291e0b70012d7fac4005afe1d80005006625..."} 
[2026-08-22 16:32:26] local.INFO: Packet analysis {"connection_id":160136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:32:26] local.INFO: Extracted packet for processing {"connection_id":160136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0291e"} 
[2026-08-22 16:32:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":5,"angle":102,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573357824001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:32: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-22 16:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787396230000,"timestamp_ms":1787396230000,"timestamp_seconds":1787396230,"priority":1,"record_length":96,"hex_timestamp":"000001a0291e0b70"} 
[2026-08-22 16:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:32: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-22 16:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573357824001,"66":25647,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573357824001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:32:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573357824001,"power":25647,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":160136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:32:26] local.INFO: GPS data processed {"connection_id":160136,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:32:26] local.INFO: Acknowledgment sent {"connection_id":160136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:32:29] local.INFO: TCP Data received {"connection_id":162496,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02921d430012d1b5e0007252170002a00b929..."} 
[2026-08-22 16:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02921d430012d1b5e0007252170002a00b929..."} 
[2026-08-22 16:32:29] local.INFO: Processing buffer {"connection_id":162496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02921d430012d1b5e0007252170002a00b929..."} 
[2026-08-22 16:32:29] local.INFO: Packet analysis {"connection_id":162496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02921"} 
[2026-08-22 16:32:29] local.INFO: Extracted packet for processing {"connection_id":162496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02921"} 
[2026-08-22 16:32:29] local.INFO: GPS Element Parsed {"raw_longitude":756768256,"raw_latitude":119873904,"longitude_deg":75.6768256,"latitude_deg":11.9873904,"altitude":42,"angle":185,"satellites":41,"speed":2,"hex_longitude":"2d1b5e00","hex_latitude":"07252170","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573492992001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14665062752976896,"note":"Value kept but may cause issues"} 
[2026-08-22 16:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972224823755313152,"note":"Value kept but may cause issues"} 
[2026-08-22 16:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787396478000,"timestamp_ms":1787396478000,"timestamp_seconds":1787396478,"priority":1,"record_length":96,"hex_timestamp":"000001a02921d430"} 
[2026-08-22 16: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-22 16:32: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-22 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-22 16:32:29] 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-22 16: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-22 16: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-22 16:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:32:29] 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-22 16:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573492992001,"66":14080,"43":206,"83":41984,"24":2,"16":14665062752976896,"45":1972224823755313152},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 16:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573492992001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:32:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 16:32:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14665062752976896,"km_value":14665062752976.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972224823755313152,"description":"Unknown IO ID 45"} 
[2026-08-22 16:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573492992001,"power":14080,"unknown_43":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1972224823755313152}} 
[2026-08-22 16:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":162496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:32:29] local.INFO: GPS data processed {"connection_id":162496,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:32:29] local.INFO: Acknowledgment sent {"connection_id":162496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:32:48] local.INFO: TCP Data received {"connection_id":161064,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:32:48] local.INFO: Processing buffer {"connection_id":161064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:32:48] local.INFO: IMEI packet received {"connection_id":161064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":161064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:32:49] local.INFO: TCP Data received {"connection_id":161064,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:32:49] local.INFO: Processing buffer {"connection_id":161064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:32:49] local.INFO: IMEI packet received {"connection_id":161064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":161064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:32:54] local.INFO: TCP Data received {"connection_id":161064,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:32:54] local.INFO: Processing buffer {"connection_id":161064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:32:54] local.INFO: IMEI packet received {"connection_id":161064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":161064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:32:55] local.INFO: TCP Data received {"connection_id":161064,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:32:55] local.INFO: Processing buffer {"connection_id":161064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:32:55] local.INFO: Packet analysis {"connection_id":161064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:32:55] local.INFO: Extracted packet for processing {"connection_id":161064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":3,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573434880001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787396531000,"timestamp_ms":1787396531000,"timestamp_seconds":1787396531,"priority":1,"record_length":96,"hex_timestamp":"000001a02922a338"} 
[2026-08-22 16:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:32: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-22 16:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16: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-22 16:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573434880001,"66":25321,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573434880001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:32:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:32:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573434880001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":161064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:32:55] local.INFO: GPS data processed {"connection_id":161064,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:32:55] local.INFO: Acknowledgment sent {"connection_id":161064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:32:57] local.INFO: TCP Data received {"connection_id":159897,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:32:57] local.INFO: Processing buffer {"connection_id":159897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:32:57] local.INFO: IMEI packet received {"connection_id":159897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":159897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:33:02] local.INFO: TCP Data received {"connection_id":159897,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:33:02] local.INFO: Processing buffer {"connection_id":159897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:33:02] local.INFO: IMEI packet received {"connection_id":159897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":159897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:33:04] local.INFO: TCP Data received {"connection_id":159897,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0292206f8012d1b5d4007251cb8002900ae29..."} 
[2026-08-22 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292206f8012d1b5d4007251cb8002900ae29..."} 
[2026-08-22 16:33:04] local.INFO: Processing buffer {"connection_id":159897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292206f8012d1b5d4007251cb8002900ae29..."} 
[2026-08-22 16:33:04] local.INFO: Packet analysis {"connection_id":159897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:33:04] local.INFO: Extracted packet for processing {"connection_id":159897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756768064,"raw_latitude":119872696,"longitude_deg":75.6768064,"latitude_deg":11.9872696,"altitude":41,"angle":174,"satellites":41,"speed":3,"hex_longitude":"2d1b5d40","hex_latitude":"07251cb8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573498368001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14665122882519040,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972013717522575360,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:04] 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-22 16:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787396491000,"timestamp_ms":1787396491000,"timestamp_seconds":1787396491,"priority":1,"record_length":96,"hex_timestamp":"000001a0292206f8"} 
[2026-08-22 16: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-22 16:33:04] 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-22 16: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-22 16:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3442158336,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:04] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724238542,"corrected_to":0} 
[2026-08-22 16:33:04] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,43,83,24,241,157,16,25,160,130,45,192,36,40,10,66,126,37,42,52,1,240,92,227,41,4,113,205,253,98,216,239,54,2,7],"length":479,"final_offset":609,"validated_count":35,"validation_warnings":[{"io_id":205,"original":724238542,"validated":0}]} 
[2026-08-22 16:33:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026622535337902080,"timestamp_seconds":3026622535337902.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 16: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-22 16:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:33: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-22 16:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573498368001,"66":14135,"43":206,"83":41984,"24":3,"16":14665122882519040,"45":1972013717522575360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 16:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573498368001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:33:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 16:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14665122882519040,"km_value":14665122882519.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972013717522575360,"description":"Unknown IO ID 45"} 
[2026-08-22 16:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573498368001,"power":14135,"unknown_43":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1972013717522575360}} 
[2026-08-22 16:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":159897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:33:04] local.INFO: GPS data processed {"connection_id":159897,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:33:04] local.INFO: Acknowledgment sent {"connection_id":159897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:33:26] local.INFO: TCP Data received {"connection_id":161064,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:33:26] local.INFO: Processing buffer {"connection_id":161064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:33:26] local.INFO: Packet analysis {"connection_id":161064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:33:26] local.INFO: Extracted packet for processing {"connection_id":161064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:33:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":3,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573434880001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787396531000,"timestamp_ms":1787396531000,"timestamp_seconds":1787396531,"priority":1,"record_length":96,"hex_timestamp":"000001a02922a338"} 
[2026-08-22 16:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16: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-22 16:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573434880001,"66":25321,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573434880001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:33:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:33:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573434880001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":161064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:33:26] local.INFO: GPS data processed {"connection_id":161064,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:33:26] local.INFO: Acknowledgment sent {"connection_id":161064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:33:35] local.INFO: TCP Data received {"connection_id":159897,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029220ae0012d1b5d4007251c70002900bf29..."} 
[2026-08-22 16:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029220ae0012d1b5d4007251c70002900bf29..."} 
[2026-08-22 16:33:35] local.INFO: Processing buffer {"connection_id":159897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029220ae0012d1b5d4007251c70002900bf29..."} 
[2026-08-22 16:33:35] local.INFO: Packet analysis {"connection_id":159897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:33:35] local.INFO: Extracted packet for processing {"connection_id":159897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756768064,"raw_latitude":119872624,"longitude_deg":75.6768064,"latitude_deg":11.9872624,"altitude":41,"angle":191,"satellites":41,"speed":3,"hex_longitude":"2d1b5d40","hex_latitude":"07251c70","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573501696001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14665127177486336,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971802611289733120,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:35] 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-22 16:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787396492000,"timestamp_ms":1787396492000,"timestamp_seconds":1787396492,"priority":1,"record_length":96,"hex_timestamp":"000001a029220ae0"} 
[2026-08-22 16: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-22 16:33: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-22 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-22 16:33:35] 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-22 16: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-22 16: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-22 16:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:33:35] 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-22 16:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573501696001,"66":14135,"43":206,"83":41984,"24":3,"16":14665127177486336,"45":1971802611289733120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 16:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573501696001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:33:35] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 16:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14665127177486336,"km_value":14665127177486.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971802611289733120,"description":"Unknown IO ID 45"} 
[2026-08-22 16:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573501696001,"power":14135,"unknown_43":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1971802611289733120}} 
[2026-08-22 16:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":159897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:33:35] local.INFO: GPS data processed {"connection_id":159897,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:33:35] local.INFO: Acknowledgment sent {"connection_id":159897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:33:49] local.INFO: TCP Data received {"connection_id":162497,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:33:49] local.INFO: Processing buffer {"connection_id":162497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:33:49] local.INFO: IMEI packet received {"connection_id":162497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":162497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:33:53] local.INFO: TCP Data received {"connection_id":162498,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:33:53] local.INFO: Processing buffer {"connection_id":162498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:33:53] local.INFO: IMEI packet received {"connection_id":162498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":162498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:33:54] local.INFO: TCP Data received {"connection_id":162497,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:33:54] local.INFO: Processing buffer {"connection_id":162497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:33:54] local.INFO: IMEI packet received {"connection_id":162497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":162497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:33:54] local.INFO: TCP Data received {"connection_id":162497,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:33:54] local.INFO: Processing buffer {"connection_id":162497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:33:54] local.INFO: Packet analysis {"connection_id":162497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:33:54] local.INFO: Extracted packet for processing {"connection_id":162497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":3,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573434880001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787396531000,"timestamp_ms":1787396531000,"timestamp_seconds":1787396531,"priority":1,"record_length":96,"hex_timestamp":"000001a02922a338"} 
[2026-08-22 16:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 16:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573434880001,"66":25321,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573434880001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:33:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:33:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573434880001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":162497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:33:54] local.INFO: GPS data processed {"connection_id":162497,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:33:54] local.INFO: Acknowledgment sent {"connection_id":162497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:33:56] local.INFO: TCP Data received {"connection_id":162498,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:33:57] local.INFO: Processing buffer {"connection_id":162498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:33:57] local.INFO: IMEI packet received {"connection_id":162498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":162498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:33:58] local.INFO: TCP Data received {"connection_id":162498,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029225ce8012d1b5c00072519b0002800be29..."} 
[2026-08-22 16:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029225ce8012d1b5c00072519b0002800be29..."} 
[2026-08-22 16:33:58] local.INFO: Processing buffer {"connection_id":162498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029225ce8012d1b5c00072519b0002800be29..."} 
[2026-08-22 16:33:58] local.INFO: Packet analysis {"connection_id":162498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:33:58] local.INFO: Extracted packet for processing {"connection_id":162498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:33:58] local.INFO: GPS Element Parsed {"raw_longitude":756767744,"raw_latitude":119871920,"longitude_deg":75.6767744,"latitude_deg":11.987192,"altitude":40,"angle":190,"satellites":41,"speed":3,"hex_longitude":"2d1b5c00","hex_latitude":"072519b0","is_valid_coordinates":true} 
[2026-08-22 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-22 16:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573501952001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14665170127159296,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971802611289714688,"note":"Value kept but may cause issues"} 
[2026-08-22 16:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787396513000,"timestamp_ms":1787396513000,"timestamp_seconds":1787396513,"priority":1,"record_length":96,"hex_timestamp":"000001a029225ce8"} 
[2026-08-22 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-22 16:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-22 16:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 16:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:33: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-22 16:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573501952001,"66":13493,"43":206,"83":41984,"24":3,"16":14665170127159296,"45":1971802611289714688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 16:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573501952001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:33:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 16:33:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14665170127159296,"km_value":14665170127159.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971802611289714688,"description":"Unknown IO ID 45"} 
[2026-08-22 16:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573501952001,"power":13493,"unknown_43":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1971802611289714688}} 
[2026-08-22 16:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":162498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:33:58] local.INFO: GPS data processed {"connection_id":162498,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:33:58] local.INFO: Acknowledgment sent {"connection_id":162498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:34:25] local.INFO: TCP Data received {"connection_id":162497,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:34:25] local.INFO: Processing buffer {"connection_id":162497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:34:25] local.INFO: Packet analysis {"connection_id":162497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:34:25] local.INFO: Extracted packet for processing {"connection_id":162497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:34:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":3,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 16:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573434880001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787396531000,"timestamp_ms":1787396531000,"timestamp_seconds":1787396531,"priority":1,"record_length":96,"hex_timestamp":"000001a02922a338"} 
[2026-08-22 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-22 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-22 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:34: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-22 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-22 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-22 16:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573434880001,"66":25321,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573434880001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:34:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573434880001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":162497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:34:26] local.INFO: GPS data processed {"connection_id":162497,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:34:26] local.INFO: Acknowledgment sent {"connection_id":162497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:34:29] local.INFO: TCP Data received {"connection_id":162498,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02922aef0012d1b580007250568002a00b52b..."} 
[2026-08-22 16:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02922aef0012d1b580007250568002a00b52b..."} 
[2026-08-22 16:34:29] local.INFO: Processing buffer {"connection_id":162498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02922aef0012d1b580007250568002a00b52b..."} 
[2026-08-22 16:34:29] local.INFO: Packet analysis {"connection_id":162498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:34:29] local.INFO: Extracted packet for processing {"connection_id":162498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:34:29] local.INFO: GPS Element Parsed {"raw_longitude":756766720,"raw_latitude":119866728,"longitude_deg":75.676672,"latitude_deg":11.9866728,"altitude":42,"angle":181,"satellites":43,"speed":9,"hex_longitude":"2d1b5800","hex_latitude":"07250568","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573507328001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14665427825197056,"note":"Value kept but may cause issues"} 
[2026-08-22 16:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971450767568646144,"note":"Value kept but may cause issues"} 
[2026-08-22 16:34:29] 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-22 16:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787396534000,"timestamp_ms":1787396534000,"timestamp_seconds":1787396534,"priority":1,"record_length":96,"hex_timestamp":"000001a02922aef0"} 
[2026-08-22 16: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-22 16:34: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-22 16: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 16:34:29] 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-22 16: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-22 16: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-22 16:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:34:29] 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-22 16:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573507328001,"66":13972,"44":206,"83":41984,"24":9,"16":14665427825197056,"45":1971450767568646144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 16:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573507328001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:34:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 16:34:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14665427825197056,"km_value":14665427825197.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971450767568646144,"description":"Unknown IO ID 45"} 
[2026-08-22 16:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573507328001,"power":13972,"unknown_44":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1971450767568646144}} 
[2026-08-22 16:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":162498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:34:29] local.INFO: GPS data processed {"connection_id":162498,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:34:29] local.INFO: Acknowledgment sent {"connection_id":162498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:34:48] local.INFO: TCP Data received {"connection_id":160137,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:34:48] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:34:48] local.INFO: IMEI packet received {"connection_id":160137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":160137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:34:51] local.INFO: TCP Data received {"connection_id":159898,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:34:51] local.INFO: Processing buffer {"connection_id":159898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:34:51] local.INFO: IMEI packet received {"connection_id":159898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":159898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:34:52] local.INFO: TCP Data received {"connection_id":159898,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:34:52] local.INFO: Processing buffer {"connection_id":159898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:34:52] local.INFO: IMEI packet received {"connection_id":159898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":159898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:34:54] local.INFO: TCP Data received {"connection_id":160137,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:34:54] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:34:54] local.INFO: IMEI packet received {"connection_id":160137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":160137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:34:54] local.INFO: TCP Data received {"connection_id":159898,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:34:54] local.INFO: Processing buffer {"connection_id":159898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:34:54] local.INFO: IMEI packet received {"connection_id":159898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":159898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:34:54] local.INFO: TCP Data received {"connection_id":160137,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:34:54] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:34:54] local.INFO: Packet analysis {"connection_id":160137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:34:54] local.INFO: Extracted packet for processing {"connection_id":160137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":3,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573434880001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787396531000,"timestamp_ms":1787396531000,"timestamp_seconds":1787396531,"priority":1,"record_length":96,"hex_timestamp":"000001a02922a338"} 
[2026-08-22 16:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 16:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573434880001,"66":25321,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573434880001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:34:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:34:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573434880001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":160137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:34:54] local.INFO: GPS data processed {"connection_id":160137,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:34:54] local.INFO: Acknowledgment sent {"connection_id":160137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:34:58] local.INFO: TCP Data received {"connection_id":159898,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:34:58] local.INFO: Processing buffer {"connection_id":159898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:34:58] local.INFO: IMEI packet received {"connection_id":159898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":159898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:34:59] local.INFO: TCP Data received {"connection_id":159898,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0292458b8012d1b59c00724cc98002600b428..."} 
[2026-08-22 16:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292458b8012d1b59c00724cc98002600b428..."} 
[2026-08-22 16:34:59] local.INFO: Processing buffer {"connection_id":159898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292458b8012d1b59c00724cc98002600b428..."} 
[2026-08-22 16:34:59] local.INFO: Packet analysis {"connection_id":159898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:34:59] local.INFO: Extracted packet for processing {"connection_id":159898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756767168,"raw_latitude":119852184,"longitude_deg":75.6767168,"latitude_deg":11.9852184,"altitude":38,"angle":180,"satellites":40,"speed":4,"hex_longitude":"2d1b59c0","hex_latitude":"0724cc98","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573537024001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14666153674670080,"note":"Value kept but may cause issues"} 
[2026-08-22 16:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971169292587204608,"note":"Value kept but may cause issues"} 
[2026-08-22 16:34:59] 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-22 16:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787396643000,"timestamp_ms":1787396643000,"timestamp_seconds":1787396643,"priority":1,"record_length":96,"hex_timestamp":"000001a0292458b8"} 
[2026-08-22 16: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-22 16:34: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-22 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 16:34: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-22 16: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-22 16: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-22 16:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:34:59] 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-22 16:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573537024001,"66":14113,"136":206,"83":42752,"24":4,"16":14666153674670080,"45":1971169292587204608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 16:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573537024001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:34:59] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 16:34:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14666153674670080,"km_value":14666153674670.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971169292587204608,"description":"Unknown IO ID 45"} 
[2026-08-22 16:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573537024001,"power":14113,"unknown_136":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1971169292587204608}} 
[2026-08-22 16:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":159898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:34:59] local.INFO: GPS data processed {"connection_id":159898,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:34:59] local.INFO: Acknowledgment sent {"connection_id":159898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:35:25] local.INFO: TCP Data received {"connection_id":160137,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:35:25] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:35:25] local.INFO: Packet analysis {"connection_id":160137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:35:25] local.INFO: Extracted packet for processing {"connection_id":160137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:35:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":3,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 16:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573434880001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787396531000,"timestamp_ms":1787396531000,"timestamp_seconds":1787396531,"priority":1,"record_length":96,"hex_timestamp":"000001a02922a338"} 
[2026-08-22 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-22 16:35: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-22 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:35: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-22 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-22 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-22 16:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573434880001,"66":25321,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573434880001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:35:25] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573434880001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":160137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:35:25] local.INFO: GPS data processed {"connection_id":160137,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:35:25] local.INFO: Acknowledgment sent {"connection_id":160137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:35:30] local.INFO: TCP Data received {"connection_id":159898,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029246088012d1b59800724cbb8002600c628..."} 
[2026-08-22 16:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029246088012d1b59800724cbb8002600c628..."} 
[2026-08-22 16:35:30] local.INFO: Processing buffer {"connection_id":159898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029246088012d1b59800724cbb8002600c628..."} 
[2026-08-22 16:35:30] local.INFO: Packet analysis {"connection_id":159898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:35:30] local.INFO: Extracted packet for processing {"connection_id":159898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:35:30] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":119851960,"longitude_deg":75.6767104,"latitude_deg":11.985196,"altitude":38,"angle":198,"satellites":40,"speed":5,"hex_longitude":"2d1b5980","hex_latitude":"0724cbb8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573540608001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14666166559571968,"note":"Value kept but may cause issues"} 
[2026-08-22 16:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970817448865994752,"note":"Value kept but may cause issues"} 
[2026-08-22 16:35:30] 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-22 16:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787396645000,"timestamp_ms":1787396645000,"timestamp_seconds":1787396645,"priority":1,"record_length":96,"hex_timestamp":"000001a029246088"} 
[2026-08-22 16: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-22 16:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-22 16:35:30] 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-22 16: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-22 16: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-22 16:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:35: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-22 16:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573540608001,"66":14048,"136":206,"83":42752,"24":5,"16":14666166559571968,"45":1970817448865994752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 16:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573540608001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:35:30] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 16:35:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14666166559571968,"km_value":14666166559571.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970817448865994752,"description":"Unknown IO ID 45"} 
[2026-08-22 16:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573540608001,"power":14048,"unknown_136":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1970817448865994752}} 
[2026-08-22 16:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":159898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:35:30] local.INFO: GPS data processed {"connection_id":159898,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:35:30] local.INFO: Acknowledgment sent {"connection_id":159898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:35:48] local.INFO: TCP Data received {"connection_id":160138,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:35:48] local.INFO: Processing buffer {"connection_id":160138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:35:48] local.INFO: IMEI packet received {"connection_id":160138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":160138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:35:52] local.INFO: TCP Data received {"connection_id":160139,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:35:52] local.INFO: Processing buffer {"connection_id":160139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:35:52] local.INFO: IMEI packet received {"connection_id":160139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":160139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:35:54] local.INFO: TCP Data received {"connection_id":160138,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:35:54] local.INFO: Processing buffer {"connection_id":160138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:35:54] local.INFO: IMEI packet received {"connection_id":160138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":160138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:35:54] local.INFO: TCP Data received {"connection_id":160138,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:35:54] local.INFO: Processing buffer {"connection_id":160138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:35:54] local.INFO: Packet analysis {"connection_id":160138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:35:54] local.INFO: Extracted packet for processing {"connection_id":160138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":3,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573434880001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787396531000,"timestamp_ms":1787396531000,"timestamp_seconds":1787396531,"priority":1,"record_length":96,"hex_timestamp":"000001a02922a338"} 
[2026-08-22 16:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 16:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573434880001,"66":25321,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573434880001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:35:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:35:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573434880001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":160138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:35:55] local.INFO: GPS data processed {"connection_id":160138,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:35:55] local.INFO: Acknowledgment sent {"connection_id":160138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:35:58] local.INFO: TCP Data received {"connection_id":160139,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:35:58] local.INFO: Processing buffer {"connection_id":160139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:35:58] local.INFO: IMEI packet received {"connection_id":160139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":160139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:36:00] local.INFO: TCP Data received {"connection_id":160139,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029247fc8012d1b58000724c6e0002400ba29..."} 
[2026-08-22 16:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029247fc8012d1b58000724c6e0002400ba29..."} 
[2026-08-22 16:36:00] local.INFO: Processing buffer {"connection_id":160139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029247fc8012d1b58000724c6e0002400ba29..."} 
[2026-08-22 16:36:00] local.INFO: Packet analysis {"connection_id":160139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:36:00] local.INFO: Extracted packet for processing {"connection_id":160139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:36:00] local.INFO: GPS Element Parsed {"raw_longitude":756766720,"raw_latitude":119850720,"longitude_deg":75.676672,"latitude_deg":11.985072,"altitude":36,"angle":186,"satellites":41,"speed":6,"hex_longitude":"2d1b5800","hex_latitude":"0724c6e0","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573541120001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14666230984081408,"note":"Value kept but may cause issues"} 
[2026-08-22 16:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747080121759744,"note":"Value kept but may cause issues"} 
[2026-08-22 16:36:00] 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-22 16:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787396653000,"timestamp_ms":1787396653000,"timestamp_seconds":1787396653,"priority":1,"record_length":96,"hex_timestamp":"000001a029247fc8"} 
[2026-08-22 16: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-22 16:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 16:36:00] 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-22 16: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-22 16: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-22 16:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:36:00] 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-22 16:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573541120001,"66":13993,"136":206,"83":42752,"24":6,"16":14666230984081408,"45":1970747080121759744},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 16:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573541120001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:36:00] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 16:36:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14666230984081408,"km_value":14666230984081.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747080121759744,"description":"Unknown IO ID 45"} 
[2026-08-22 16:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573541120001,"power":13993,"unknown_136":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1970747080121759744}} 
[2026-08-22 16:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":160139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:36:00] local.INFO: GPS data processed {"connection_id":160139,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:36:00] local.INFO: Acknowledgment sent {"connection_id":160139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:36:26] local.INFO: TCP Data received {"connection_id":160138,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:36:26] local.INFO: Processing buffer {"connection_id":160138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:36:26] local.INFO: Packet analysis {"connection_id":160138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:36:26] local.INFO: Extracted packet for processing {"connection_id":160138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":3,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573434880001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787396531000,"timestamp_ms":1787396531000,"timestamp_seconds":1787396531,"priority":1,"record_length":96,"hex_timestamp":"000001a02922a338"} 
[2026-08-22 16: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-22 16: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-22 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573434880001,"66":25321,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573434880001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:36:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573434880001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":160138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:36:26] local.INFO: GPS data processed {"connection_id":160138,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:36:26] local.INFO: Acknowledgment sent {"connection_id":160138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:36:31] local.INFO: TCP Data received {"connection_id":160139,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029248b80012d1b57800724c548002400c92a..."} 
[2026-08-22 16:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029248b80012d1b57800724c548002400c92a..."} 
[2026-08-22 16:36:31] local.INFO: Processing buffer {"connection_id":160139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029248b80012d1b57800724c548002400c92a..."} 
[2026-08-22 16:36:31] local.INFO: Packet analysis {"connection_id":160139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:36:31] local.INFO: Extracted packet for processing {"connection_id":160139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:36:31] local.INFO: GPS Element Parsed {"raw_longitude":756766592,"raw_latitude":119850312,"longitude_deg":75.6766592,"latitude_deg":11.9850312,"altitude":36,"angle":201,"satellites":42,"speed":4,"hex_longitude":"2d1b5780","hex_latitude":"0724c548","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573543168001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14666252458917888,"note":"Value kept but may cause issues"} 
[2026-08-22 16:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970324867656376320,"note":"Value kept but may cause issues"} 
[2026-08-22 16:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787396656000,"timestamp_ms":1787396656000,"timestamp_seconds":1787396656,"priority":1,"record_length":96,"hex_timestamp":"000001a029248b80"} 
[2026-08-22 16: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-22 16:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-22 16:36:31] 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-22 16: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-22 16: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-22 16:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:36:31] 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-22 16:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573543168001,"66":13798,"217":206,"83":42752,"24":4,"16":14666252458917888,"45":1970324867656376320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573543168001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:36:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:36:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14666252458917888,"km_value":14666252458917.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970324867656376320,"description":"Unknown IO ID 45"} 
[2026-08-22 16:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573543168001,"power":13798,"unknown_217":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1970324867656376320}} 
[2026-08-22 16:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":160139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:36:32] local.INFO: GPS data processed {"connection_id":160139,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:36:32] local.INFO: Acknowledgment sent {"connection_id":160139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:36:54] local.INFO: TCP Data received {"connection_id":160140,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:36:54] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:36:54] local.INFO: IMEI packet received {"connection_id":160140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":160140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:36:57] local.INFO: TCP Data received {"connection_id":161065,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:36:57] local.INFO: Processing buffer {"connection_id":161065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:36:57] local.INFO: IMEI packet received {"connection_id":161065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":161065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:37:02] local.INFO: TCP Data received {"connection_id":161065,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:37:02] local.INFO: Processing buffer {"connection_id":161065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:37:02] local.INFO: IMEI packet received {"connection_id":161065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":161065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:37:03] local.INFO: TCP Data received {"connection_id":160140,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:37:03] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:37:03] local.INFO: IMEI packet received {"connection_id":160140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":160140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:37:04] local.INFO: TCP Data received {"connection_id":161065,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02924aac0012d1b57000724c3a0002500bc2a..."} 
[2026-08-22 16:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02924aac0012d1b57000724c3a0002500bc2a..."} 
[2026-08-22 16:37:04] local.INFO: Processing buffer {"connection_id":161065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02924aac0012d1b57000724c3a0002500bc2a..."} 
[2026-08-22 16:37:04] local.INFO: Packet analysis {"connection_id":161065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:37:04] local.INFO: Extracted packet for processing {"connection_id":161065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756766464,"raw_latitude":119849888,"longitude_deg":75.6766464,"latitude_deg":11.9849888,"altitude":37,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d1b5700","hex_latitude":"0724c3a0","is_valid_coordinates":true} 
[2026-08-22 16:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573543936001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14666273933754368,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970184130167916544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787396664000,"timestamp_ms":1787396664000,"timestamp_seconds":1787396664,"priority":1,"record_length":96,"hex_timestamp":"000001a02924aac0"} 
[2026-08-22 16:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:37:04] 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-22 16:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-22 16:37:04] 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-22 16:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:37: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-22 16:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573543936001,"66":14428,"217":206,"83":42752,"24":0,"16":14666273933754368,"45":1970184130167916544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573543936001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:37:04] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14666273933754368,"km_value":14666273933754.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970184130167916544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573543936001,"power":14428,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1970184130167916544}} 
[2026-08-22 16:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":161065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:37:04] local.INFO: GPS data processed {"connection_id":161065,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:37:04] local.INFO: Acknowledgment sent {"connection_id":161065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:37:04] local.INFO: TCP Data received {"connection_id":160140,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:37:04] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:37:04] local.INFO: Packet analysis {"connection_id":160140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:37:04] local.INFO: Extracted packet for processing {"connection_id":160140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:37:04] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":3,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573434880001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787396531000,"timestamp_ms":1787396531000,"timestamp_seconds":1787396531,"priority":1,"record_length":96,"hex_timestamp":"000001a02922a338"} 
[2026-08-22 16:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:37: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-22 16:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:37: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-22 16:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573434880001,"66":25321,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573434880001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:37:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573434880001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":160140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:37:04] local.INFO: GPS data processed {"connection_id":160140,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:37:04] local.INFO: Acknowledgment sent {"connection_id":160140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:37:05] local.INFO: TCP Data received {"connection_id":160140,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:37:05] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02922a338012d7fac4005afe1d80003006626..."} 
[2026-08-22 16:37:05] local.INFO: Packet analysis {"connection_id":160140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:37:05] local.INFO: Extracted packet for processing {"connection_id":160140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02922"} 
[2026-08-22 16:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":3,"angle":102,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573434880001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787396531000,"timestamp_ms":1787396531000,"timestamp_seconds":1787396531,"priority":1,"record_length":96,"hex_timestamp":"000001a02922a338"} 
[2026-08-22 16:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:37: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-22 16:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 16:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573434880001,"66":25321,"199":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 16:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573434880001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:37:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 16:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573434880001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":160140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:37:05] local.INFO: GPS data processed {"connection_id":160140,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:37:05] local.INFO: Acknowledgment sent {"connection_id":160140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:37:34] local.INFO: TCP Data received {"connection_id":161065,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02924b678012d1b56800724c2a8002500c72b..."} 
[2026-08-22 16:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02924b678012d1b56800724c2a8002500c72b..."} 
[2026-08-22 16:37:34] local.INFO: Processing buffer {"connection_id":161065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02924b678012d1b56800724c2a8002500c72b..."} 
[2026-08-22 16:37:34] local.INFO: Packet analysis {"connection_id":161065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:37:34] local.INFO: Extracted packet for processing {"connection_id":161065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:37:34] local.INFO: GPS Element Parsed {"raw_longitude":756766336,"raw_latitude":119849640,"longitude_deg":75.6766336,"latitude_deg":11.984964,"altitude":37,"angle":199,"satellites":43,"speed":4,"hex_longitude":"2d1b5680","hex_latitude":"0724c2a8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573545984001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14666286818656256,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970043392679452672,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787396667000,"timestamp_ms":1787396667000,"timestamp_seconds":1787396667,"priority":1,"record_length":96,"hex_timestamp":"000001a02924b678"} 
[2026-08-22 16: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-22 16:37:34] 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-22 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 16:37: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-22 16: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-22 16: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-22 16:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:37:34] 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-22 16:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573545984001,"66":14026,"217":206,"83":42752,"24":4,"16":14666286818656256,"45":1970043392679452672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573545984001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:37:34] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:37:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14666286818656256,"km_value":14666286818656.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970043392679452672,"description":"Unknown IO ID 45"} 
[2026-08-22 16:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573545984001,"power":14026,"unknown_217":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1970043392679452672}} 
[2026-08-22 16:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":161065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:37:35] local.INFO: GPS data processed {"connection_id":161065,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:37:35] local.INFO: Acknowledgment sent {"connection_id":161065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:37:49] local.INFO: TCP Data received {"connection_id":160141,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:37:49] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:37:49] local.INFO: IMEI packet received {"connection_id":160141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":160141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:37:49] local.INFO: TCP Data received {"connection_id":160141,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:37:49] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:37:49] local.INFO: IMEI packet received {"connection_id":160141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":160141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:37:53] local.INFO: TCP Data received {"connection_id":162499,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:37:53] local.INFO: Processing buffer {"connection_id":162499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:37:53] local.INFO: IMEI packet received {"connection_id":162499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":162499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:37:54] local.INFO: TCP Data received {"connection_id":160141,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:37:54] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:37:54] local.INFO: IMEI packet received {"connection_id":160141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":160141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:37:54] local.INFO: TCP Data received {"connection_id":160141,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:37:54] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:37:54] local.INFO: Packet analysis {"connection_id":160141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:37:54] local.INFO: Extracted packet for processing {"connection_id":160141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573511936001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37: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-22 16:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787396832000,"timestamp_ms":1787396832000,"timestamp_seconds":1787396832,"priority":1,"record_length":96,"hex_timestamp":"000001a029273b00"} 
[2026-08-22 16:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 16:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 16:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573511936001,"66":25560,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 16:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573511936001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:37:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 16:37:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573511936001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":160141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:37:54] local.INFO: GPS data processed {"connection_id":160141,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:37:54] local.INFO: Acknowledgment sent {"connection_id":160141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:37:57] local.INFO: TCP Data received {"connection_id":162499,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:37:57] local.INFO: Processing buffer {"connection_id":162499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:37:57] local.INFO: IMEI packet received {"connection_id":162499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":162499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:37:59] local.INFO: TCP Data received {"connection_id":160141,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:37:59] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:37:59] local.INFO: Packet analysis {"connection_id":160141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:37:59] local.INFO: Extracted packet for processing {"connection_id":160141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573511936001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37: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-22 16:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787396832000,"timestamp_ms":1787396832000,"timestamp_seconds":1787396832,"priority":1,"record_length":96,"hex_timestamp":"000001a029273b00"} 
[2026-08-22 16: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-22 16: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-22 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 16:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573511936001,"66":25560,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 16:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573511936001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:37:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 16:37:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573511936001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":160141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:37:59] local.INFO: GPS data processed {"connection_id":160141,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:37:59] local.INFO: Acknowledgment sent {"connection_id":160141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:37:59] local.INFO: TCP Data received {"connection_id":162499,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02924d1d0012d1b54c00724bef0002500d32b..."} 
[2026-08-22 16:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02924d1d0012d1b54c00724bef0002500d32b..."} 
[2026-08-22 16:37:59] local.INFO: Processing buffer {"connection_id":162499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02924d1d0012d1b54c00724bef0002500d32b..."} 
[2026-08-22 16:37:59] local.INFO: Packet analysis {"connection_id":162499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:37:59] local.INFO: Extracted packet for processing {"connection_id":162499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756765888,"raw_latitude":119848688,"longitude_deg":75.6765888,"latitude_deg":11.9848688,"altitude":37,"angle":211,"satellites":43,"speed":7,"hex_longitude":"2d1b54c0","hex_latitude":"0724bef0","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573546752001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14666342653231104,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969902655191033856,"note":"Value kept but may cause issues"} 
[2026-08-22 16:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787396674000,"timestamp_ms":1787396674000,"timestamp_seconds":1787396674,"priority":1,"record_length":96,"hex_timestamp":"000001a02924d1d0"} 
[2026-08-22 16: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-22 16:37: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-22 16: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-22 16:37:59] 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-22 16: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-22 16: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-22 16:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:37:59] 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-22 16:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573546752001,"66":14070,"217":206,"83":42752,"24":7,"16":14666342653231104,"45":1969902655191033856},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573546752001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:37:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:37:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14666342653231104,"km_value":14666342653231.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969902655191033856,"description":"Unknown IO ID 45"} 
[2026-08-22 16:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573546752001,"power":14070,"unknown_217":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1969902655191033856}} 
[2026-08-22 16:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":162499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:37:59] local.INFO: GPS data processed {"connection_id":162499,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:37:59] local.INFO: Acknowledgment sent {"connection_id":162499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:38:30] local.INFO: TCP Data received {"connection_id":160141,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:38:30] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:38:30] local.INFO: Packet analysis {"connection_id":160141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:38:30] local.INFO: Extracted packet for processing {"connection_id":160141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573511936001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16: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-22 16:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787396832000,"timestamp_ms":1787396832000,"timestamp_seconds":1787396832,"priority":1,"record_length":96,"hex_timestamp":"000001a029273b00"} 
[2026-08-22 16: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-22 16: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-22 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 16:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573511936001,"66":25560,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 16:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573511936001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:38:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 16:38:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573511936001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":160141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:38:30] local.INFO: GPS data processed {"connection_id":160141,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:38:30] local.INFO: Acknowledgment sent {"connection_id":160141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:38:31] local.INFO: TCP Data received {"connection_id":162499,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02924e558012d1b52c00724bb40002500e02b..."} 
[2026-08-22 16:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02924e558012d1b52c00724bb40002500e02b..."} 
[2026-08-22 16:38:31] local.INFO: Processing buffer {"connection_id":162499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02924e558012d1b52c00724bb40002500e02b..."} 
[2026-08-22 16:38:31] local.INFO: Packet analysis {"connection_id":162499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:38:31] local.INFO: Extracted packet for processing {"connection_id":162499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:38:31] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119847744,"longitude_deg":75.6765376,"latitude_deg":11.9847744,"altitude":37,"angle":224,"satellites":43,"speed":6,"hex_longitude":"2d1b52c0","hex_latitude":"0724bb40","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573548544001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14666394192838656,"note":"Value kept but may cause issues"} 
[2026-08-22 16:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969410073981546496,"note":"Value kept but may cause issues"} 
[2026-08-22 16:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787396679000,"timestamp_ms":1787396679000,"timestamp_seconds":1787396679,"priority":1,"record_length":96,"hex_timestamp":"000001a02924e558"} 
[2026-08-22 16: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-22 16:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 16:38:31] 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-22 16: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-22 16: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-22 16:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:38:31] 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-22 16:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573548544001,"66":14048,"217":206,"83":42752,"24":6,"16":14666394192838656,"45":1969410073981546496},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573548544001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:38:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:38:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14666394192838656,"km_value":14666394192838.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969410073981546496,"description":"Unknown IO ID 45"} 
[2026-08-22 16:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573548544001,"power":14048,"unknown_217":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1969410073981546496}} 
[2026-08-22 16:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":162499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:38:31] local.INFO: GPS data processed {"connection_id":162499,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:38:31] local.INFO: Acknowledgment sent {"connection_id":162499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:38:48] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:38:48] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:38:48] local.INFO: IMEI packet received {"connection_id":159899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":159899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:38:53] local.INFO: TCP Data received {"connection_id":162500,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:38:53] local.INFO: Processing buffer {"connection_id":162500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:38:53] local.INFO: IMEI packet received {"connection_id":162500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":162500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:38:54] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:38:54] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:38:54] local.INFO: IMEI packet received {"connection_id":159899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":159899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:38:55] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:38:55] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:38:55] local.INFO: Packet analysis {"connection_id":159899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:38:55] local.INFO: Extracted packet for processing {"connection_id":159899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:38:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573511936001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:38: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-22 16:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787396832000,"timestamp_ms":1787396832000,"timestamp_seconds":1787396832,"priority":1,"record_length":96,"hex_timestamp":"000001a029273b00"} 
[2026-08-22 16: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-22 16: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-22 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 16:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573511936001,"66":25560,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 16:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573511936001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:38:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 16:38:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573511936001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":159899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:38:55] local.INFO: GPS data processed {"connection_id":159899,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:38:55] local.INFO: Acknowledgment sent {"connection_id":159899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:38:58] local.INFO: TCP Data received {"connection_id":162500,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:38:58] local.INFO: Processing buffer {"connection_id":162500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:38:58] local.INFO: IMEI packet received {"connection_id":162500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":162500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:38:59] local.INFO: TCP Data received {"connection_id":162500,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02924e940012d1b52800724bae0002500ce2b..."} 
[2026-08-22 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02924e940012d1b52800724bae0002500ce2b..."} 
[2026-08-22 16:38:59] local.INFO: Processing buffer {"connection_id":162500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02924e940012d1b52800724bae0002500ce2b..."} 
[2026-08-22 16:38:59] local.INFO: Packet analysis {"connection_id":162500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:38:59] local.INFO: Extracted packet for processing {"connection_id":162500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02924"} 
[2026-08-22 16:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756765312,"raw_latitude":119847648,"longitude_deg":75.6765312,"latitude_deg":11.9847648,"altitude":37,"angle":206,"satellites":43,"speed":3,"hex_longitude":"2d1b5280","hex_latitude":"0724bae0","is_valid_coordinates":true} 
[2026-08-22 16:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573549824001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14666398487805952,"note":"Value kept but may cause issues"} 
[2026-08-22 16:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124027883520,"note":"Value kept but may cause issues"} 
[2026-08-22 16:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787396680000,"timestamp_ms":1787396680000,"timestamp_seconds":1787396680,"priority":1,"record_length":96,"hex_timestamp":"000001a02924e940"} 
[2026-08-22 16:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:38: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-22 16:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 16:38:59] 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-22 16: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-22 16:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:38:59] 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-22 16:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573549824001,"66":14048,"217":206,"83":42752,"24":3,"16":14666398487805952,"45":1968847124027883520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 16:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573549824001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:38:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 16:38:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14666398487805952,"km_value":14666398487805.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124027883520,"description":"Unknown IO ID 45"} 
[2026-08-22 16:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573549824001,"power":14048,"unknown_217":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1968847124027883520}} 
[2026-08-22 16:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":162500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:38:59] local.INFO: GPS data processed {"connection_id":162500,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:38:59] local.INFO: Acknowledgment sent {"connection_id":162500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:39:26] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:39:26] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:39:26] local.INFO: Packet analysis {"connection_id":159899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:39:26] local.INFO: Extracted packet for processing {"connection_id":159899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:39:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573511936001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:39: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-22 16:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787396832000,"timestamp_ms":1787396832000,"timestamp_seconds":1787396832,"priority":1,"record_length":96,"hex_timestamp":"000001a029273b00"} 
[2026-08-22 16:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 16:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 16:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573511936001,"66":25560,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 16:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573511936001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:39:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 16:39:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573511936001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":159899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:39:26] local.INFO: GPS data processed {"connection_id":159899,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:39:26] local.INFO: Acknowledgment sent {"connection_id":159899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:39:31] local.INFO: TCP Data received {"connection_id":162500,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029253b48012d1b51800724b980002600d42b..."} 
[2026-08-22 16:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029253b48012d1b51800724b980002600d42b..."} 
[2026-08-22 16:39:31] local.INFO: Processing buffer {"connection_id":162500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029253b48012d1b51800724b980002600d42b..."} 
[2026-08-22 16:39:31] local.INFO: Packet analysis {"connection_id":162500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02925"} 
[2026-08-22 16:39:31] local.INFO: Extracted packet for processing {"connection_id":162500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02925"} 
[2026-08-22 16:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756765056,"raw_latitude":119847296,"longitude_deg":75.6765056,"latitude_deg":11.9847296,"altitude":38,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d1b5180","hex_latitude":"0724b980","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573550080001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14666428552577024,"note":"Value kept but may cause issues"} 
[2026-08-22 16:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968776755283681280,"note":"Value kept but may cause issues"} 
[2026-08-22 16:39:31] 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-22 16:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787396701000,"timestamp_ms":1787396701000,"timestamp_seconds":1787396701,"priority":1,"record_length":96,"hex_timestamp":"000001a029253b48"} 
[2026-08-22 16: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-22 16:39:31] 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-22 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 16:39:31] 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-22 16: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-22 16: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-22 16:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:39:31] 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-22 16:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573550080001,"66":14483,"136":206,"83":42752,"24":0,"16":14666428552577024,"45":1968776755283681280},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 16:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573550080001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:39:31] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 16:39:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14666428552577024,"km_value":14666428552577.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968776755283681280,"description":"Unknown IO ID 45"} 
[2026-08-22 16:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573550080001,"power":14483,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1968776755283681280}} 
[2026-08-22 16:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":162500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:39:31] local.INFO: GPS data processed {"connection_id":162500,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:39:31] local.INFO: Acknowledgment sent {"connection_id":162500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:39:48] local.INFO: TCP Data received {"connection_id":160142,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:39:48] local.INFO: Processing buffer {"connection_id":160142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:39:48] local.INFO: IMEI packet received {"connection_id":160142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":160142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:39:52] local.INFO: TCP Data received {"connection_id":161066,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:39:52] local.INFO: Processing buffer {"connection_id":161066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:39:52] local.INFO: IMEI packet received {"connection_id":161066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":161066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:39:54] local.INFO: TCP Data received {"connection_id":160142,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:39:54] local.INFO: Processing buffer {"connection_id":160142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:39:54] local.INFO: IMEI packet received {"connection_id":160142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":160142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:39:54] local.INFO: TCP Data received {"connection_id":160142,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:39:54] local.INFO: Processing buffer {"connection_id":160142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:39:54] local.INFO: Packet analysis {"connection_id":160142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:39:54] local.INFO: Extracted packet for processing {"connection_id":160142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573511936001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:39: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-22 16:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787396832000,"timestamp_ms":1787396832000,"timestamp_seconds":1787396832,"priority":1,"record_length":96,"hex_timestamp":"000001a029273b00"} 
[2026-08-22 16:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 16:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 16:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573511936001,"66":25560,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 16:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573511936001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:39:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 16:39:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573511936001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":160142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:39:54] local.INFO: GPS data processed {"connection_id":160142,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:39:54] local.INFO: Acknowledgment sent {"connection_id":160142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:39:57] local.INFO: TCP Data received {"connection_id":161066,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:39:57] local.INFO: Processing buffer {"connection_id":161066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:39:57] local.INFO: IMEI packet received {"connection_id":161066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":161066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:39:58] local.INFO: TCP Data received {"connection_id":161066,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029258d50012d1b51800724b900002700db2a..."} 
[2026-08-22 16:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029258d50012d1b51800724b900002700db2a..."} 
[2026-08-22 16:39:58] local.INFO: Processing buffer {"connection_id":161066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029258d50012d1b51800724b900002700db2a..."} 
[2026-08-22 16:39:58] local.INFO: Packet analysis {"connection_id":161066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02925"} 
[2026-08-22 16:39:58] local.INFO: Extracted packet for processing {"connection_id":161066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02925"} 
[2026-08-22 16:39:58] local.INFO: GPS Element Parsed {"raw_longitude":756765056,"raw_latitude":119847168,"longitude_deg":75.6765056,"latitude_deg":11.9847168,"altitude":39,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d1b5180","hex_latitude":"0724b900","is_valid_coordinates":true} 
[2026-08-22 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-22 16:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573555456001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14666432847544320,"note":"Value kept but may cause issues"} 
[2026-08-22 16:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968495280306880512,"note":"Value kept but may cause issues"} 
[2026-08-22 16:39:58] 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-22 16:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787396722000,"timestamp_ms":1787396722000,"timestamp_seconds":1787396722,"priority":1,"record_length":96,"hex_timestamp":"000001a029258d50"} 
[2026-08-22 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-22 16:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":147,"data_length":795,"current_offset":136} 
[2026-08-22 16:39:58] 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-22 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-22 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-22 16:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:39: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-22 16:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573555456001,"66":14483,"136":206,"83":42752,"24":0,"16":14666432847544320,"45":1968495280306880512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 16:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573555456001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:39:58] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 16:39:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14666432847544320,"km_value":14666432847544.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968495280306880512,"description":"Unknown IO ID 45"} 
[2026-08-22 16:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573555456001,"power":14483,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1968495280306880512}} 
[2026-08-22 16:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":161066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:39:58] local.INFO: GPS data processed {"connection_id":161066,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:39:58] local.INFO: Acknowledgment sent {"connection_id":161066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:40:25] local.INFO: TCP Data received {"connection_id":160142,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:40:25] local.INFO: Processing buffer {"connection_id":160142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:40:25] local.INFO: Packet analysis {"connection_id":160142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:40:25] local.INFO: Extracted packet for processing {"connection_id":160142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:40:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 16:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573511936001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16: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-22 16:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787396832000,"timestamp_ms":1787396832000,"timestamp_seconds":1787396832,"priority":1,"record_length":96,"hex_timestamp":"000001a029273b00"} 
[2026-08-22 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-22 16:40: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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 16:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 16:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573511936001,"66":25560,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 16:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573511936001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:40:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 16:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573511936001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":160142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:40:25] local.INFO: GPS data processed {"connection_id":160142,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:40:25] local.INFO: Acknowledgment sent {"connection_id":160142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:40:30] local.INFO: TCP Data received {"connection_id":161066,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02925df58012d1b51800724b900002700db2a..."} 
[2026-08-22 16:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02925df58012d1b51800724b900002700db2a..."} 
[2026-08-22 16:40:30] local.INFO: Processing buffer {"connection_id":161066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02925df58012d1b51800724b900002700db2a..."} 
[2026-08-22 16:40:30] local.INFO: Packet analysis {"connection_id":161066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02925"} 
[2026-08-22 16:40:30] local.INFO: Extracted packet for processing {"connection_id":161066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02925"} 
[2026-08-22 16:40:30] local.INFO: GPS Element Parsed {"raw_longitude":756765056,"raw_latitude":119847168,"longitude_deg":75.6765056,"latitude_deg":11.9847168,"altitude":39,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d1b5180","hex_latitude":"0724b900","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573560832001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14666432847544320,"note":"Value kept but may cause issues"} 
[2026-08-22 16:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968495280306847744,"note":"Value kept but may cause issues"} 
[2026-08-22 16:40:30] 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-22 16:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787396743000,"timestamp_ms":1787396743000,"timestamp_seconds":1787396743,"priority":1,"record_length":96,"hex_timestamp":"000001a02925df58"} 
[2026-08-22 16: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-22 16:40: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-22 16: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-22 16:40:30] 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-22 16: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-22 16: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-22 16:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:40: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-22 16:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573560832001,"66":13798,"136":206,"83":42752,"24":0,"16":14666432847544320,"45":1968495280306847744},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 16:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573560832001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:40:30] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 16:40:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14666432847544320,"km_value":14666432847544.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968495280306847744,"description":"Unknown IO ID 45"} 
[2026-08-22 16:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573560832001,"power":13798,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1968495280306847744}} 
[2026-08-22 16:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":161066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:40:30] local.INFO: GPS data processed {"connection_id":161066,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:40:30] local.INFO: Acknowledgment sent {"connection_id":161066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:40:48] local.INFO: TCP Data received {"connection_id":161067,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:40:48] local.INFO: Processing buffer {"connection_id":161067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:40:48] local.INFO: IMEI packet received {"connection_id":161067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":161067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:40:52] local.INFO: TCP Data received {"connection_id":160143,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:40:52] local.INFO: Processing buffer {"connection_id":160143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:40:52] local.INFO: IMEI packet received {"connection_id":160143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":160143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:40:54] local.INFO: TCP Data received {"connection_id":161067,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:40:54] local.INFO: Processing buffer {"connection_id":161067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:40:54] local.INFO: IMEI packet received {"connection_id":161067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":161067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:40:55] local.INFO: TCP Data received {"connection_id":161067,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:40:55] local.INFO: Processing buffer {"connection_id":161067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:40:55] local.INFO: Packet analysis {"connection_id":161067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:40:55] local.INFO: Extracted packet for processing {"connection_id":161067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573511936001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:40: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-22 16:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787396832000,"timestamp_ms":1787396832000,"timestamp_seconds":1787396832,"priority":1,"record_length":96,"hex_timestamp":"000001a029273b00"} 
[2026-08-22 16: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-22 16:40: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-22 16:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 16:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573511936001,"66":25560,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 16:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573511936001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:40:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 16:40:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573511936001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":161067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:40:55] local.INFO: GPS data processed {"connection_id":161067,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:40:55] local.INFO: Acknowledgment sent {"connection_id":161067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:40:57] local.INFO: TCP Data received {"connection_id":160143,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:40:57] local.INFO: Processing buffer {"connection_id":160143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:40:57] local.INFO: IMEI packet received {"connection_id":160143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":160143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:41:01] local.INFO: TCP Data received {"connection_id":160143,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029295610012d1b0e80072484a8002800e528..."} 
[2026-08-22 16:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029295610012d1b0e80072484a8002800e528..."} 
[2026-08-22 16:41:01] local.INFO: Processing buffer {"connection_id":160143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029295610012d1b0e80072484a8002800e528..."} 
[2026-08-22 16:41:01] local.INFO: Packet analysis {"connection_id":160143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02929"} 
[2026-08-22 16:41:01] local.INFO: Extracted packet for processing {"connection_id":160143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02929"} 
[2026-08-22 16:41:01] local.INFO: GPS Element Parsed {"raw_longitude":756747904,"raw_latitude":119833768,"longitude_deg":75.6747904,"latitude_deg":11.9833768,"altitude":40,"angle":229,"satellites":40,"speed":0,"hex_longitude":"2d1b0e80","hex_latitude":"072484a8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573618944001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14667497999433728,"note":"Value kept but may cause issues"} 
[2026-08-22 16:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953295631561799680,"note":"Value kept but may cause issues"} 
[2026-08-22 16:41:01] 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-22 16:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787396970000,"timestamp_ms":1787396970000,"timestamp_seconds":1787396970,"priority":1,"record_length":96,"hex_timestamp":"000001a029295610"} 
[2026-08-22 16: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-22 16:41: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-22 16: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-22 16:41:01] 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-22 16: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-22 16: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-22 16:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:41:01] 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-22 16:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573618944001,"66":13972,"176":206,"83":42752,"24":0,"16":14667497999433728,"45":1953295631561799680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 16:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573618944001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:41:01] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 16:41:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14667497999433728,"km_value":14667497999433.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953295631561799680,"description":"Unknown IO ID 45"} 
[2026-08-22 16:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573618944001,"power":13972,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1953295631561799680}} 
[2026-08-22 16:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":160143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:41:02] local.INFO: GPS data processed {"connection_id":160143,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:41:02] local.INFO: Acknowledgment sent {"connection_id":160143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:41:26] local.INFO: TCP Data received {"connection_id":161067,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:41:26] local.INFO: Processing buffer {"connection_id":161067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:41:26] local.INFO: Packet analysis {"connection_id":161067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:41:26] local.INFO: Extracted packet for processing {"connection_id":161067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:41:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573511936001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:41: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-22 16:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787396832000,"timestamp_ms":1787396832000,"timestamp_seconds":1787396832,"priority":1,"record_length":96,"hex_timestamp":"000001a029273b00"} 
[2026-08-22 16: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-22 16:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 16:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 16:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573511936001,"66":25560,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 16:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573511936001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:41:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 16:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573511936001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":161067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:41:26] local.INFO: GPS data processed {"connection_id":161067,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:41:26] local.INFO: Acknowledgment sent {"connection_id":161067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:41:32] local.INFO: TCP Data received {"connection_id":160143,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02929a818012d1b0cc007248050002700e32a..."} 
[2026-08-22 16:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02929a818012d1b0cc007248050002700e32a..."} 
[2026-08-22 16:41:32] local.INFO: Processing buffer {"connection_id":160143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02929a818012d1b0cc007248050002700e32a..."} 
[2026-08-22 16:41:32] local.INFO: Packet analysis {"connection_id":160143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02929"} 
[2026-08-22 16:41:32] local.INFO: Extracted packet for processing {"connection_id":160143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02929"} 
[2026-08-22 16:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756747456,"raw_latitude":119832656,"longitude_deg":75.6747456,"latitude_deg":11.9832656,"altitude":39,"angle":227,"satellites":42,"speed":3,"hex_longitude":"2d1b0cc0","hex_latitude":"07248050","is_valid_coordinates":true} 
[2026-08-22 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-22 16:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573624320001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14667562423943168,"note":"Value kept but may cause issues"} 
[2026-08-22 16:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949636456863803392,"note":"Value kept but may cause issues"} 
[2026-08-22 16:41:32] 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-22 16:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787396991000,"timestamp_ms":1787396991000,"timestamp_seconds":1787396991,"priority":1,"record_length":96,"hex_timestamp":"000001a02929a818"} 
[2026-08-22 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-22 16:41:32] 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-22 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-22 16:41:32] 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-22 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-22 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-22 16:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:41:32] 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-22 16:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573624320001,"66":14004,"176":206,"83":42752,"24":3,"16":14667562423943168,"45":1949636456863803392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 16:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573624320001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:41:32] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 16:41:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14667562423943168,"km_value":14667562423943.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949636456863803392,"description":"Unknown IO ID 45"} 
[2026-08-22 16:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573624320001,"power":14004,"unknown_176":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1949636456863803392}} 
[2026-08-22 16:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":160143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:41:33] local.INFO: GPS data processed {"connection_id":160143,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:41:33] local.INFO: Acknowledgment sent {"connection_id":160143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:41:52] local.INFO: TCP Data received {"connection_id":160144,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:41:52] local.INFO: Processing buffer {"connection_id":160144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:41:52] local.INFO: IMEI packet received {"connection_id":160144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":160144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:41:54] local.INFO: TCP Data received {"connection_id":162501,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:41:54] local.INFO: Processing buffer {"connection_id":162501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:41:54] local.INFO: IMEI packet received {"connection_id":162501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":162501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:41:58] local.INFO: TCP Data received {"connection_id":160144,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:41:58] local.INFO: Processing buffer {"connection_id":160144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:41:58] local.INFO: IMEI packet received {"connection_id":160144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":160144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:41:58] local.INFO: TCP Data received {"connection_id":160144,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02929c758012d1b0b4007247d80002600d52b..."} 
[2026-08-22 16:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02929c758012d1b0b4007247d80002600d52b..."} 
[2026-08-22 16:41:58] local.INFO: Processing buffer {"connection_id":160144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02929c758012d1b0b4007247d80002600d52b..."} 
[2026-08-22 16:41:58] local.INFO: Packet analysis {"connection_id":160144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02929"} 
[2026-08-22 16:41:58] local.INFO: Extracted packet for processing {"connection_id":160144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02929"} 
[2026-08-22 16:41:58] local.INFO: GPS Element Parsed {"raw_longitude":756747072,"raw_latitude":119831936,"longitude_deg":75.6747072,"latitude_deg":11.9831936,"altitude":38,"angle":213,"satellites":43,"speed":7,"hex_longitude":"2d1b0b40","hex_latitude":"07247d80","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573629696001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14667605373616128,"note":"Value kept but may cause issues"} 
[2026-08-22 16:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949143875654275072,"note":"Value kept but may cause issues"} 
[2026-08-22 16:41:58] 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-22 16:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787396999000,"timestamp_ms":1787396999000,"timestamp_seconds":1787396999,"priority":1,"record_length":96,"hex_timestamp":"000001a02929c758"} 
[2026-08-22 16: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-22 16:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-22 16:41:58] 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-22 16: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-22 16: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-22 16:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:41: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-22 16:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573629696001,"66":14080,"176":206,"83":42752,"24":7,"16":14667605373616128,"45":1949143875654275072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 16:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573629696001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:41:58] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 16:41:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14667605373616128,"km_value":14667605373616.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949143875654275072,"description":"Unknown IO ID 45"} 
[2026-08-22 16:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573629696001,"power":14080,"unknown_176":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1949143875654275072}} 
[2026-08-22 16:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":160144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:41:59] local.INFO: GPS data processed {"connection_id":160144,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:41:59] local.INFO: Acknowledgment sent {"connection_id":160144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:41:59] local.INFO: TCP Data received {"connection_id":162501,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:41:59] local.INFO: Processing buffer {"connection_id":162501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:41:59] local.INFO: IMEI packet received {"connection_id":162501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":162501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:41:59] local.INFO: TCP Data received {"connection_id":162501,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:41:59] local.INFO: Processing buffer {"connection_id":162501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:41:59] local.INFO: Packet analysis {"connection_id":162501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:41:59] local.INFO: Extracted packet for processing {"connection_id":162501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 16:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573511936001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:41: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-22 16:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787396832000,"timestamp_ms":1787396832000,"timestamp_seconds":1787396832,"priority":1,"record_length":96,"hex_timestamp":"000001a029273b00"} 
[2026-08-22 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-22 16: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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 16:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 16:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573511936001,"66":25560,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 16:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573511936001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:41:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 16:41:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573511936001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":162501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:41:59] local.INFO: GPS data processed {"connection_id":162501,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:41:59] local.INFO: Acknowledgment sent {"connection_id":162501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:42:29] local.INFO: TCP Data received {"connection_id":160144,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02929d310012d1b098007247b58002600e12b..."} 
[2026-08-22 16:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02929d310012d1b098007247b58002600e12b..."} 
[2026-08-22 16:42:29] local.INFO: Processing buffer {"connection_id":160144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02929d310012d1b098007247b58002600e12b..."} 
[2026-08-22 16:42:29] local.INFO: Packet analysis {"connection_id":160144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02929"} 
[2026-08-22 16:42:29] local.INFO: Extracted packet for processing {"connection_id":160144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02929"} 
[2026-08-22 16:42:29] local.INFO: GPS Element Parsed {"raw_longitude":756746624,"raw_latitude":119831384,"longitude_deg":75.6746624,"latitude_deg":11.9831384,"altitude":38,"angle":225,"satellites":43,"speed":12,"hex_longitude":"2d1b0980","hex_latitude":"07247b58","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573631744001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14667639733354496,"note":"Value kept but may cause issues"} 
[2026-08-22 16:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948721663189024768,"note":"Value kept but may cause issues"} 
[2026-08-22 16:42:29] 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-22 16:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787397002000,"timestamp_ms":1787397002000,"timestamp_seconds":1787397002,"priority":1,"record_length":96,"hex_timestamp":"000001a02929d310"} 
[2026-08-22 16: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-22 16:42: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-22 16: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-22 16:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3445327872,"note":"Value kept but may cause issues"} 
[2026-08-22 16:42:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 16:42:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 16:42:29] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-08-22 16:42:29] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2594701354,"note":"Value kept but may cause issues"} 
[2026-08-22 16:42:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535639758,"corrected_to":0} 
[2026-08-22 16:42:29] local.WARNING: Large IO value detected {"io_id":95,"raw_value":4160826651,"note":"Value kept but may cause issues"} 
[2026-08-22 16:42:29] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3221693598,"note":"Value kept but may cause issues"} 
[2026-08-22 16:42:29] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,176,83,24,241,157,16,28,160,168,45,192,128,39,42,10,66,86,132,40,4,1,240,230,227,27,41,36,113,205,95,47,239,55,136,2,52,7,43],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1535639758,"validated":0}]} 
[2026-08-22 16:42:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738422954102030336,"timestamp_seconds":2738422954102030.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 16: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-22 16:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:42:29] 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-22 16:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573631744001,"66":14080,"176":206,"83":42752,"24":12,"16":14667639733354496,"45":1948721663189024768},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 16:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573631744001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:42:29] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 16:42:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14667639733354496,"km_value":14667639733354.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948721663189024768,"description":"Unknown IO ID 45"} 
[2026-08-22 16:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573631744001,"power":14080,"unknown_176":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1948721663189024768}} 
[2026-08-22 16:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":160144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:42:29] local.INFO: GPS data processed {"connection_id":160144,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:42:29] local.INFO: Acknowledgment sent {"connection_id":160144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:42:40] local.INFO: TCP Data received {"connection_id":162501,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:42:40] local.INFO: Processing buffer {"connection_id":162501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029273b00012d7fac4005afe1d80004006628..."} 
[2026-08-22 16:42:40] local.INFO: Packet analysis {"connection_id":162501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:42:40] local.INFO: Extracted packet for processing {"connection_id":162501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02927"} 
[2026-08-22 16:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573511936001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:42:40] 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-22 16:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787396832000,"timestamp_ms":1787396832000,"timestamp_seconds":1787396832,"priority":1,"record_length":96,"hex_timestamp":"000001a029273b00"} 
[2026-08-22 16:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 16:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 16:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":162501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":162501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":162501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573511936001,"66":25560,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 16:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573511936001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:42:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 16:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573511936001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":162501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:42:40] local.INFO: GPS data processed {"connection_id":162501,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:42:40] local.INFO: Acknowledgment sent {"connection_id":162501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:42:52] local.INFO: TCP Data received {"connection_id":160145,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:42:52] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:42:52] local.INFO: IMEI packet received {"connection_id":160145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":160145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:42:55] local.INFO: TCP Data received {"connection_id":160145,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:42:55] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:42:55] local.INFO: IMEI packet received {"connection_id":160145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":160145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:43:04] local.INFO: TCP Data received {"connection_id":161068,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:43:04] local.INFO: Processing buffer {"connection_id":161068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:43:04] local.INFO: IMEI packet received {"connection_id":161068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":161068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:43:07] local.INFO: TCP Data received {"connection_id":160145,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:43:07] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:43:07] local.INFO: IMEI packet received {"connection_id":160145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":160145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:43:09] local.INFO: TCP Data received {"connection_id":161068,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:43:09] local.INFO: Processing buffer {"connection_id":161068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:43:09] local.INFO: IMEI packet received {"connection_id":161068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":161068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:43:09] local.INFO: TCP Data received {"connection_id":161068,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:43:09] local.INFO: Processing buffer {"connection_id":161068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:43:09] local.INFO: Packet analysis {"connection_id":161068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:43:09] local.INFO: Extracted packet for processing {"connection_id":161068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573588992001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:43:09] 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-22 16:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787397133000,"timestamp_ms":1787397133000,"timestamp_seconds":1787397133,"priority":1,"record_length":96,"hex_timestamp":"000001a0292bd2c8"} 
[2026-08-22 16:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:43: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-22 16:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573588992001,"66":25560,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573588992001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:43:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573588992001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":161068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:43:09] local.INFO: GPS data processed {"connection_id":161068,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:43:09] local.INFO: Acknowledgment sent {"connection_id":161068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:43:10] local.INFO: TCP Data received {"connection_id":160145,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0292bbf40012d1a2c400723b7d8002e00e82b..."} 
[2026-08-22 16:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292bbf40012d1a2c400723b7d8002e00e82b..."} 
[2026-08-22 16:43:10] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292bbf40012d1a2c400723b7d8002e00e82b..."} 
[2026-08-22 16:43:10] local.INFO: Packet analysis {"connection_id":160145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:43:10] local.INFO: Extracted packet for processing {"connection_id":160145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:43:10] local.INFO: GPS Element Parsed {"raw_longitude":756689984,"raw_latitude":119781336,"longitude_deg":75.6689984,"latitude_deg":11.9781336,"altitude":46,"angle":232,"satellites":43,"speed":35,"hex_longitude":"2d1a2c40","hex_latitude":"0723b7d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573663232001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14671359175032832,"note":"Value kept but may cause issues"} 
[2026-08-22 16:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890174868021159936,"note":"Value kept but may cause issues"} 
[2026-08-22 16:43:10] 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-22 16:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787397128000,"timestamp_ms":1787397128000,"timestamp_seconds":1787397128,"priority":1,"record_length":96,"hex_timestamp":"000001a0292bbf40"} 
[2026-08-22 16: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-22 16:43: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-22 16: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-22 16:43:10] 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-22 16: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-22 16: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-22 16:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:43:10] 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-22 16:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573663232001,"66":14265,"42":206,"83":42752,"24":35,"16":14671359175032832,"45":1890174868021159936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-22 16:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573663232001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:43:10] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-22 16:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14671359175032832,"km_value":14671359175032.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890174868021159936,"description":"Unknown IO ID 45"} 
[2026-08-22 16:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573663232001,"power":14265,"unknown_42":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1890174868021159936}} 
[2026-08-22 16:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":160145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:43:10] local.INFO: GPS data processed {"connection_id":160145,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:43:10] local.INFO: Acknowledgment sent {"connection_id":160145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:43:49] local.INFO: TCP Data received {"connection_id":161069,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:43:49] local.INFO: Processing buffer {"connection_id":161069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:43:49] local.INFO: IMEI packet received {"connection_id":161069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":161069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:43:54] local.INFO: TCP Data received {"connection_id":161069,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:43:54] local.INFO: Processing buffer {"connection_id":161069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:43:54] local.INFO: IMEI packet received {"connection_id":161069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":161069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:43:54] local.INFO: TCP Data received {"connection_id":161069,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:43:54] local.INFO: Processing buffer {"connection_id":161069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:43:54] local.INFO: Packet analysis {"connection_id":161069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:43:54] local.INFO: Extracted packet for processing {"connection_id":161069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573588992001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:43:54] 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-22 16:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787397133000,"timestamp_ms":1787397133000,"timestamp_seconds":1787397133,"priority":1,"record_length":96,"hex_timestamp":"000001a0292bd2c8"} 
[2026-08-22 16:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573588992001,"66":25560,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573588992001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:43:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:43:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573588992001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":161069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:43:54] local.INFO: GPS data processed {"connection_id":161069,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:43:54] local.INFO: Acknowledgment sent {"connection_id":161069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:44:25] local.INFO: TCP Data received {"connection_id":161069,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:44:25] local.INFO: Processing buffer {"connection_id":161069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:44:25] local.INFO: Packet analysis {"connection_id":161069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:44:25] local.INFO: Extracted packet for processing {"connection_id":161069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:44:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573588992001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:44:25] 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-22 16:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787397133000,"timestamp_ms":1787397133000,"timestamp_seconds":1787397133,"priority":1,"record_length":96,"hex_timestamp":"000001a0292bd2c8"} 
[2026-08-22 16: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-22 16:44: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-22 16: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573588992001,"66":25560,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573588992001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:44:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573588992001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":161069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:44:25] local.INFO: GPS data processed {"connection_id":161069,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:44:25] local.INFO: Acknowledgment sent {"connection_id":161069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:44:31] local.INFO: TCP Data received {"connection_id":162502,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:44:31] local.INFO: Processing buffer {"connection_id":162502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:44:31] local.INFO: IMEI packet received {"connection_id":162502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":162502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:44:32] local.INFO: TCP Data received {"connection_id":162502,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:44:32] local.INFO: Processing buffer {"connection_id":162502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:44:32] local.INFO: IMEI packet received {"connection_id":162502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":162502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:44:49] local.INFO: TCP Data received {"connection_id":161070,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:44:49] local.INFO: Processing buffer {"connection_id":161070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:44:49] local.INFO: IMEI packet received {"connection_id":161070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":161070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:44:54] local.INFO: TCP Data received {"connection_id":161070,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:44:54] local.INFO: Processing buffer {"connection_id":161070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:44:54] local.INFO: IMEI packet received {"connection_id":161070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":161070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:44:54] local.INFO: TCP Data received {"connection_id":161070,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:44:54] local.INFO: Processing buffer {"connection_id":161070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:44:54] local.INFO: Packet analysis {"connection_id":161070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:44:54] local.INFO: Extracted packet for processing {"connection_id":161070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573588992001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:44:54] 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-22 16:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787397133000,"timestamp_ms":1787397133000,"timestamp_seconds":1787397133,"priority":1,"record_length":96,"hex_timestamp":"000001a0292bd2c8"} 
[2026-08-22 16:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573588992001,"66":25560,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573588992001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:44:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:44:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573588992001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":161070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:44:54] local.INFO: GPS data processed {"connection_id":161070,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:44:54] local.INFO: Acknowledgment sent {"connection_id":161070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:45:12] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:45:12] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:45:12] local.INFO: IMEI packet received {"connection_id":159900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":159900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:45:13] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:45:13] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:45:13] local.INFO: IMEI packet received {"connection_id":159900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":159900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:45:14] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0292d8848012d18b8000722fce8006300e62a..."} 
[2026-08-22 16:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292d8848012d18b8000722fce8006300e62a..."} 
[2026-08-22 16:45:14] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292d8848012d18b8000722fce8006300e62a..."} 
[2026-08-22 16:45:14] local.INFO: Packet analysis {"connection_id":159900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292d"} 
[2026-08-22 16:45:14] local.INFO: Extracted packet for processing {"connection_id":159900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292d"} 
[2026-08-22 16:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756594688,"raw_latitude":119733480,"longitude_deg":75.6594688,"latitude_deg":11.973348,"altitude":99,"angle":230,"satellites":42,"speed":37,"hex_longitude":"2d18b800","hex_latitude":"0722fce8","is_valid_coordinates":true} 
[2026-08-22 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-22 16:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573694464001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14676946927484928,"note":"Value kept but may cause issues"} 
[2026-08-22 16:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781877370718795776,"note":"Value kept but may cause issues"} 
[2026-08-22 16:45:14] 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-22 16:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787397245000,"timestamp_ms":1787397245000,"timestamp_seconds":1787397245,"priority":1,"record_length":96,"hex_timestamp":"000001a0292d8848"} 
[2026-08-22 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-22 16:45: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-22 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-22 16:45: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-22 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-22 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-22 16:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:45: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-22 16:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573694464001,"66":13972,"137":206,"83":42752,"24":37,"16":14676946927484928,"45":1781877370718795776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 16:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573694464001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:45:14] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 16:45:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14676946927484928,"km_value":14676946927484.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781877370718795776,"description":"Unknown IO ID 45"} 
[2026-08-22 16:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573694464001,"power":13972,"unknown_137":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1781877370718795776}} 
[2026-08-22 16:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":159900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:45:14] local.INFO: GPS data processed {"connection_id":159900,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:45:14] local.INFO: Acknowledgment sent {"connection_id":159900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:45:25] local.INFO: TCP Data received {"connection_id":161070,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:45:25] local.INFO: Processing buffer {"connection_id":161070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:45:25] local.INFO: Packet analysis {"connection_id":161070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:45:25] local.INFO: Extracted packet for processing {"connection_id":161070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:45:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573588992001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:45:25] 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-22 16:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787397133000,"timestamp_ms":1787397133000,"timestamp_seconds":1787397133,"priority":1,"record_length":96,"hex_timestamp":"000001a0292bd2c8"} 
[2026-08-22 16: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-22 16:45: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-22 16: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573588992001,"66":25560,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573588992001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:45:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573588992001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":161070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:45:26] local.INFO: GPS data processed {"connection_id":161070,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:45:26] local.INFO: Acknowledgment sent {"connection_id":161070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:45:36] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0292d8c30012d18b6c00722f8f8006300d32a..."} 
[2026-08-22 16:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292d8c30012d18b6c00722f8f8006300d32a..."} 
[2026-08-22 16:45:36] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292d8c30012d18b6c00722f8f8006300d32a..."} 
[2026-08-22 16:45:36] local.INFO: Packet analysis {"connection_id":159900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292d"} 
[2026-08-22 16:45:36] local.INFO: Extracted packet for processing {"connection_id":159900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292d"} 
[2026-08-22 16:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756594368,"raw_latitude":119732472,"longitude_deg":75.6594368,"latitude_deg":11.9732472,"altitude":99,"angle":211,"satellites":42,"speed":34,"hex_longitude":"2d18b6c0","hex_latitude":"0722f8f8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573694720001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14676998467092480,"note":"Value kept but may cause issues"} 
[2026-08-22 16:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781173683276802048,"note":"Value kept but may cause issues"} 
[2026-08-22 16:45:36] 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-22 16:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787397246000,"timestamp_ms":1787397246000,"timestamp_seconds":1787397246,"priority":1,"record_length":96,"hex_timestamp":"000001a0292d8c30"} 
[2026-08-22 16: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-22 16:45:36] 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-22 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-22 16:45:36] 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-22 16: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-22 16: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-22 16:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:45:36] 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-22 16:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573694720001,"66":13972,"137":206,"83":42752,"24":34,"16":14676998467092480,"45":1781173683276802048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 16:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573694720001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:45:36] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 16:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14676998467092480,"km_value":14676998467092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781173683276802048,"description":"Unknown IO ID 45"} 
[2026-08-22 16:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573694720001,"power":13972,"unknown_137":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1781173683276802048}} 
[2026-08-22 16:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":159900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:45:36] local.INFO: GPS data processed {"connection_id":159900,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:45:36] local.INFO: Acknowledgment sent {"connection_id":159900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:45:48] local.INFO: TCP Data received {"connection_id":162503,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:45:48] local.INFO: Processing buffer {"connection_id":162503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:45:48] local.INFO: IMEI packet received {"connection_id":162503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":162503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:45:48] local.INFO: TCP Data received {"connection_id":161071,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:45:48] local.INFO: Processing buffer {"connection_id":161071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:45:48] local.INFO: IMEI packet received {"connection_id":161071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":161071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:45:52] local.INFO: TCP Data received {"connection_id":161071,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:45:52] local.INFO: Processing buffer {"connection_id":161071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:45:52] local.INFO: IMEI packet received {"connection_id":161071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":161071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:45:54] local.INFO: TCP Data received {"connection_id":162503,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:45:54] local.INFO: Processing buffer {"connection_id":162503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:45:54] local.INFO: IMEI packet received {"connection_id":162503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":162503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:45:54] local.INFO: TCP Data received {"connection_id":162503,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:45:54] local.INFO: Processing buffer {"connection_id":162503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:45:54] local.INFO: Packet analysis {"connection_id":162503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:45:54] local.INFO: Extracted packet for processing {"connection_id":162503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573588992001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:45:54] 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-22 16:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787397133000,"timestamp_ms":1787397133000,"timestamp_seconds":1787397133,"priority":1,"record_length":96,"hex_timestamp":"000001a0292bd2c8"} 
[2026-08-22 16:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573588992001,"66":25560,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573588992001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:45:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:45:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573588992001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":162503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:45:54] local.INFO: GPS data processed {"connection_id":162503,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:45:54] local.INFO: Acknowledgment sent {"connection_id":162503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:45:57] local.INFO: TCP Data received {"connection_id":161071,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:45:57] local.INFO: Processing buffer {"connection_id":161071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:45:57] local.INFO: IMEI packet received {"connection_id":161071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":161071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:45:58] local.INFO: TCP Data received {"connection_id":161071,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0292d9018012d18b6c00722f548006400c32a..."} 
[2026-08-22 16:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292d9018012d18b6c00722f548006400c32a..."} 
[2026-08-22 16:45:58] local.INFO: Processing buffer {"connection_id":161071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292d9018012d18b6c00722f548006400c32a..."} 
[2026-08-22 16:45:58] local.INFO: Packet analysis {"connection_id":161071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292d"} 
[2026-08-22 16:45:58] local.INFO: Extracted packet for processing {"connection_id":161071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292d"} 
[2026-08-22 16:45:58] local.INFO: GPS Element Parsed {"raw_longitude":756594368,"raw_latitude":119731528,"longitude_deg":75.6594368,"latitude_deg":11.9731528,"altitude":100,"angle":195,"satellites":42,"speed":27,"hex_longitude":"2d18b6c0","hex_latitude":"0722f548","is_valid_coordinates":true} 
[2026-08-22 16:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573694976001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14677045711732736,"note":"Value kept but may cause issues"} 
[2026-08-22 16:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780821839555655680,"note":"Value kept but may cause issues"} 
[2026-08-22 16:45:58] 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-22 16:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787397247000,"timestamp_ms":1787397247000,"timestamp_seconds":1787397247,"priority":1,"record_length":96,"hex_timestamp":"000001a0292d9018"} 
[2026-08-22 16:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-22 16:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:45: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-22 16:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573694976001,"66":13993,"137":206,"83":42752,"24":27,"16":14677045711732736,"45":1780821839555655680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 16:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573694976001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:45:58] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 16:45:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14677045711732736,"km_value":14677045711732.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780821839555655680,"description":"Unknown IO ID 45"} 
[2026-08-22 16:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573694976001,"power":13993,"unknown_137":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1780821839555655680}} 
[2026-08-22 16:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":161071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:45:58] local.INFO: GPS data processed {"connection_id":161071,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:45:58] local.INFO: Acknowledgment sent {"connection_id":161071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:46:26] local.INFO: TCP Data received {"connection_id":162503,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:46:26] local.INFO: Processing buffer {"connection_id":162503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:46:26] local.INFO: Packet analysis {"connection_id":162503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:46:26] local.INFO: Extracted packet for processing {"connection_id":162503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:46:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573588992001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:46:26] 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-22 16:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787397133000,"timestamp_ms":1787397133000,"timestamp_seconds":1787397133,"priority":1,"record_length":96,"hex_timestamp":"000001a0292bd2c8"} 
[2026-08-22 16: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-22 16:46: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-22 16:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573588992001,"66":25560,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573588992001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:46:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:46:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573588992001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":162503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:46:26] local.INFO: GPS data processed {"connection_id":162503,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:46:26] local.INFO: Acknowledgment sent {"connection_id":162503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:46:29] local.INFO: TCP Data received {"connection_id":161071,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0292de220012d18b5400722ec48006400c529..."} 
[2026-08-22 16:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292de220012d18b5400722ec48006400c529..."} 
[2026-08-22 16:46:29] local.INFO: Processing buffer {"connection_id":161071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292de220012d18b5400722ec48006400c529..."} 
[2026-08-22 16:46:29] local.INFO: Packet analysis {"connection_id":161071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292d"} 
[2026-08-22 16:46:29] local.INFO: Extracted packet for processing {"connection_id":161071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292d"} 
[2026-08-22 16:46:29] local.INFO: GPS Element Parsed {"raw_longitude":756593984,"raw_latitude":119729224,"longitude_deg":75.6593984,"latitude_deg":11.9729224,"altitude":100,"angle":197,"satellites":41,"speed":8,"hex_longitude":"2d18b540","hex_latitude":"0722ec48","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573695232001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14677157380882432,"note":"Value kept but may cause issues"} 
[2026-08-22 16:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780821839555414016,"note":"Value kept but may cause issues"} 
[2026-08-22 16:46:29] 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-22 16:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787397268000,"timestamp_ms":1787397268000,"timestamp_seconds":1787397268,"priority":1,"record_length":96,"hex_timestamp":"000001a0292de220"} 
[2026-08-22 16: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-22 16:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-22 16:46: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-22 16: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-22 16: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-22 16:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:46:29] 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-22 16:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573695232001,"66":13863,"137":206,"83":42752,"24":8,"16":14677157380882432,"45":1780821839555414016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 16:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573695232001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:46:29] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 16:46:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 16:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14677157380882432,"km_value":14677157380882.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780821839555414016,"description":"Unknown IO ID 45"} 
[2026-08-22 16:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573695232001,"power":13863,"unknown_137":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1780821839555414016}} 
[2026-08-22 16:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":161071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:46:29] local.INFO: GPS data processed {"connection_id":161071,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:46:29] local.INFO: Acknowledgment sent {"connection_id":161071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:46:48] local.INFO: TCP Data received {"connection_id":161072,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:46:48] local.INFO: Processing buffer {"connection_id":161072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:46:48] local.INFO: IMEI packet received {"connection_id":161072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":161072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:46:52] local.INFO: TCP Data received {"connection_id":160146,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:46:52] local.INFO: Processing buffer {"connection_id":160146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:46:52] local.INFO: IMEI packet received {"connection_id":160146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":160146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:46:54] local.INFO: TCP Data received {"connection_id":161072,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:46:54] local.INFO: Processing buffer {"connection_id":161072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:46:54] local.INFO: IMEI packet received {"connection_id":161072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":161072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:46:54] local.INFO: TCP Data received {"connection_id":161072,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:46:54] local.INFO: Processing buffer {"connection_id":161072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:46:54] local.INFO: Packet analysis {"connection_id":161072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:46:54] local.INFO: Extracted packet for processing {"connection_id":161072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:46:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573588992001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:46:54] 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-22 16:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787397133000,"timestamp_ms":1787397133000,"timestamp_seconds":1787397133,"priority":1,"record_length":96,"hex_timestamp":"000001a0292bd2c8"} 
[2026-08-22 16:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:46: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-22 16:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573588992001,"66":25560,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573588992001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:46:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:46:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573588992001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":161072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:46:55] local.INFO: GPS data processed {"connection_id":161072,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:46:55] local.INFO: Acknowledgment sent {"connection_id":161072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:46:55] local.INFO: TCP Data received {"connection_id":160146,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:46:55] local.INFO: Processing buffer {"connection_id":160146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:46:55] local.INFO: IMEI packet received {"connection_id":160146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":160146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:46:56] local.INFO: TCP Data received {"connection_id":160146,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0292f12d0012d186a4007221b68005200d525..."} 
[2026-08-22 16:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292f12d0012d186a4007221b68005200d525..."} 
[2026-08-22 16:46:56] local.INFO: Processing buffer {"connection_id":160146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292f12d0012d186a4007221b68005200d525..."} 
[2026-08-22 16:46:56] local.INFO: Packet analysis {"connection_id":160146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292f"} 
[2026-08-22 16:46:56] local.INFO: Extracted packet for processing {"connection_id":160146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292f"} 
[2026-08-22 16:46:56] local.INFO: GPS Element Parsed {"raw_longitude":756574784,"raw_latitude":119675752,"longitude_deg":75.6574784,"latitude_deg":11.9675752,"altitude":82,"angle":213,"satellites":37,"speed":37,"hex_longitude":"2d186a40","hex_latitude":"07221b68","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573718016001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14680026419036160,"note":"Value kept but may cause issues"} 
[2026-08-22 16:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765270347079940096,"note":"Value kept but may cause issues"} 
[2026-08-22 16:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787397346000,"timestamp_ms":1787397346000,"timestamp_seconds":1787397346,"priority":1,"record_length":96,"hex_timestamp":"000001a0292f12d0"} 
[2026-08-22 16: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-22 16:46:56] 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-22 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 16:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:46:56] 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-22 16:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573718016001,"66":14428,"105":206,"83":41984,"24":37,"16":14680026419036160,"45":1765270347079940096},"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-22 16:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573718016001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:46:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:46:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14680026419036160,"km_value":14680026419036.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765270347079940096,"description":"Unknown IO ID 45"} 
[2026-08-22 16:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573718016001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1765270347079940096}} 
[2026-08-22 16:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":160146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:46:56] local.INFO: GPS data processed {"connection_id":160146,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:46:56] local.INFO: Acknowledgment sent {"connection_id":160146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:47:31] local.INFO: TCP Data received {"connection_id":161072,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:47:31] local.INFO: Processing buffer {"connection_id":161072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292bd2c8012d7fac4005afe1d80004006622..."} 
[2026-08-22 16:47:31] local.INFO: Packet analysis {"connection_id":161072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:47:31] local.INFO: Extracted packet for processing {"connection_id":161072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292b"} 
[2026-08-22 16:47:31] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":4,"angle":102,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573588992001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:47:31] 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-22 16:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787397133000,"timestamp_ms":1787397133000,"timestamp_seconds":1787397133,"priority":1,"record_length":96,"hex_timestamp":"000001a0292bd2c8"} 
[2026-08-22 16: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-22 16:47: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-22 16: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573588992001,"66":25560,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573588992001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:47:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:47:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573588992001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":161072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:47:31] local.INFO: GPS data processed {"connection_id":161072,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:47:31] local.INFO: Acknowledgment sent {"connection_id":161072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:47:39] local.INFO: TCP Data received {"connection_id":160146,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0292f35f8012d1856000721fd58004f00d524..."} 
[2026-08-22 16:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292f35f8012d1856000721fd58004f00d524..."} 
[2026-08-22 16:47:39] local.INFO: Processing buffer {"connection_id":160146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292f35f8012d1856000721fd58004f00d524..."} 
[2026-08-22 16:47:39] local.INFO: Packet analysis {"connection_id":160146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292f"} 
[2026-08-22 16:47:39] local.INFO: Extracted packet for processing {"connection_id":160146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292f"} 
[2026-08-22 16:47:39] local.INFO: GPS Element Parsed {"raw_longitude":756569600,"raw_latitude":119668056,"longitude_deg":75.65696,"latitude_deg":11.9668056,"altitude":79,"angle":213,"satellites":36,"speed":43,"hex_longitude":"2d185600","hex_latitude":"0721fd58","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573720576001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14680473095634944,"note":"Value kept but may cause issues"} 
[2026-08-22 16:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759289003822770176,"note":"Value kept but may cause issues"} 
[2026-08-22 16:47:39] local.INFO: IO Element Parsed {"io_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-22 16:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787397355000,"timestamp_ms":1787397355000,"timestamp_seconds":1787397355,"priority":1,"record_length":96,"hex_timestamp":"000001a0292f35f8"} 
[2026-08-22 16: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-22 16:47: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-22 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 16:47: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-22 16: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-22 16: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-22 16:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:47:39] 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-22 16:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573720576001,"66":14396,"105":206,"83":41984,"24":43,"16":14680473095634944,"45":1759289003822770176},"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-22 16:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573720576001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:47:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:47:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14680473095634944,"km_value":14680473095634.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759289003822770176,"description":"Unknown IO ID 45"} 
[2026-08-22 16:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573720576001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1759289003822770176}} 
[2026-08-22 16:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":160146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:47:39] local.INFO: GPS data processed {"connection_id":160146,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:47:39] local.INFO: Acknowledgment sent {"connection_id":160146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:47:50] local.INFO: TCP Data received {"connection_id":160147,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:47:50] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:47:50] local.INFO: IMEI packet received {"connection_id":160147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":160147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:47:52] local.INFO: TCP Data received {"connection_id":161073,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:47:52] local.INFO: Processing buffer {"connection_id":161073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:47:52] local.INFO: IMEI packet received {"connection_id":161073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":161073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:47:52] local.INFO: TCP Data received {"connection_id":160147,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:47:52] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:47:52] local.INFO: IMEI packet received {"connection_id":160147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":160147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:47:53] local.INFO: TCP Data received {"connection_id":161073,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:47:53] local.INFO: Processing buffer {"connection_id":161073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:47:53] local.INFO: IMEI packet received {"connection_id":161073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":161073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:47:57] local.INFO: TCP Data received {"connection_id":160147,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:47:57] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:47:57] local.INFO: IMEI packet received {"connection_id":160147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":160147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:47:58] local.INFO: TCP Data received {"connection_id":160147,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0292f5538012d1842400721e048004a00d427..."} 
[2026-08-22 16:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0292f5538012d1842400721e048004a00d427..."} 
[2026-08-22 16:47:58] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0292f5538012d1842400721e048004a00d427..."} 
[2026-08-22 16:47:58] local.INFO: Packet analysis {"connection_id":160147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0292f"} 
[2026-08-22 16:47:58] local.INFO: Extracted packet for processing {"connection_id":160147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0292f"} 
[2026-08-22 16:47:58] local.INFO: GPS Element Parsed {"raw_longitude":756564544,"raw_latitude":119660616,"longitude_deg":75.6564544,"latitude_deg":11.9660616,"altitude":74,"angle":212,"satellites":39,"speed":41,"hex_longitude":"2d184240","hex_latitude":"0721e048","is_valid_coordinates":true} 
[2026-08-22 16:47: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-22 16:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573722880001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14680902592364544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753589135542409216,"note":"Value kept but may cause issues"} 
[2026-08-22 16:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787397363000,"timestamp_ms":1787397363000,"timestamp_seconds":1787397363,"priority":1,"record_length":96,"hex_timestamp":"000001a0292f5538"} 
[2026-08-22 16:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:47: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-22 16:47: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-22 16:47: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-22 16:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:47: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-22 16:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573722880001,"66":14396,"105":206,"83":41984,"24":41,"16":14680902592364544,"45":1753589135542409216},"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-22 16:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573722880001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:47:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:47:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14680902592364544,"km_value":14680902592364.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753589135542409216,"description":"Unknown IO ID 45"} 
[2026-08-22 16:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573722880001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1753589135542409216}} 
[2026-08-22 16:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":160147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:47:58] local.INFO: GPS data processed {"connection_id":160147,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:47:58] local.INFO: Acknowledgment sent {"connection_id":160147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:47:59] local.INFO: TCP Data received {"connection_id":161073,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:47:59] local.INFO: Processing buffer {"connection_id":161073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:47:59] local.INFO: IMEI packet received {"connection_id":161073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":161073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:48:00] local.INFO: TCP Data received {"connection_id":161073,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:48:00] local.INFO: Processing buffer {"connection_id":161073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:48:00] local.INFO: Packet analysis {"connection_id":161073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:48:00] local.INFO: Extracted packet for processing {"connection_id":161073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573666048001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:00] 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-22 16:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787397434000,"timestamp_ms":1787397434000,"timestamp_seconds":1787397434,"priority":1,"record_length":96,"hex_timestamp":"000001a029306a90"} 
[2026-08-22 16: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-22 16:48: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-22 16:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573666048001,"66":25604,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573666048001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:48:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573666048001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":161073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:48:00] local.INFO: GPS data processed {"connection_id":161073,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:48:00] local.INFO: Acknowledgment sent {"connection_id":161073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:48:04] local.INFO: TCP Data received {"connection_id":161073,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:48:04] local.INFO: Processing buffer {"connection_id":161073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:48:04] local.INFO: Packet analysis {"connection_id":161073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:48:04] local.INFO: Extracted packet for processing {"connection_id":161073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 16:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573666048001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:04] 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-22 16:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787397434000,"timestamp_ms":1787397434000,"timestamp_seconds":1787397434,"priority":1,"record_length":96,"hex_timestamp":"000001a029306a90"} 
[2026-08-22 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-22 16: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-22 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 16:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573666048001,"66":25604,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573666048001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:48:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573666048001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":161073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:48:04] local.INFO: GPS data processed {"connection_id":161073,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:48:04] local.INFO: Acknowledgment sent {"connection_id":161073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:48:29] local.INFO: TCP Data received {"connection_id":160147,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02930a140012d17b540072118080036009827..."} 
[2026-08-22 16:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02930a140012d17b540072118080036009827..."} 
[2026-08-22 16:48:29] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02930a140012d17b540072118080036009827..."} 
[2026-08-22 16:48:29] local.INFO: Packet analysis {"connection_id":160147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:48:29] local.INFO: Extracted packet for processing {"connection_id":160147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:48:29] local.INFO: GPS Element Parsed {"raw_longitude":756528448,"raw_latitude":119609352,"longitude_deg":75.6528448,"latitude_deg":11.9609352,"altitude":54,"angle":152,"satellites":39,"speed":14,"hex_longitude":"2d17b540","hex_latitude":"07211808","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573746176001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14683960609079296,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708060558044577792,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] 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-22 16:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787397448000,"timestamp_ms":1787397448000,"timestamp_seconds":1787397448,"priority":1,"record_length":96,"hex_timestamp":"000001a02930a140"} 
[2026-08-22 16: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-22 16:48: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-22 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-22 16:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146624,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] local.WARNING: Large IO value detected {"io_id":24,"raw_value":990799758769520709,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3841982464,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503823665332224,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636142283680363,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-22 16:48:29] local.WARNING: Large IO value detected {"io_id":59,"raw_value":2952867095,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3221692765,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84750353048215940,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] local.WARNING: Large IO value detected {"io_id":72,"raw_value":19141291208088320,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:29] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,107,83,24,241,157,16,42,160,149,45,64,27,55,40,10,66,145,128,28,137,192,1,240,60,227,41,33,4,113,205,59,224,239,56,2,52,7,68,30,206,48,72],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-22 16:48:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963350354225659904,"timestamp_seconds":3963350354225660.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 16: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-22 16:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:48:29] 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-22 16:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573746176001,"66":14048,"107":206,"83":41984,"24":14,"16":14683960609079296,"45":1708060558044577792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 16:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573746176001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:48:29] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 16:48:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14683960609079296,"km_value":14683960609079.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708060558044577792,"description":"Unknown IO ID 45"} 
[2026-08-22 16:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573746176001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1708060558044577792}} 
[2026-08-22 16:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":160147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:48:29] local.INFO: GPS data processed {"connection_id":160147,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:48:29] local.INFO: Acknowledgment sent {"connection_id":160147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:48:48] local.INFO: TCP Data received {"connection_id":162504,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:48:48] local.INFO: Processing buffer {"connection_id":162504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:48:48] local.INFO: IMEI packet received {"connection_id":162504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":162504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:48:52] local.INFO: TCP Data received {"connection_id":159901,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:48:52] local.INFO: Processing buffer {"connection_id":159901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:48:52] local.INFO: IMEI packet received {"connection_id":159901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":159901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:48:54] local.INFO: TCP Data received {"connection_id":162504,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:48:54] local.INFO: Processing buffer {"connection_id":162504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:48:54] local.INFO: IMEI packet received {"connection_id":162504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":162504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:48:54] local.INFO: TCP Data received {"connection_id":162504,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:48:54] local.INFO: Processing buffer {"connection_id":162504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:48:54] local.INFO: Packet analysis {"connection_id":162504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:48:54] local.INFO: Extracted packet for processing {"connection_id":162504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573666048001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:54] 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-22 16:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787397434000,"timestamp_ms":1787397434000,"timestamp_seconds":1787397434,"priority":1,"record_length":96,"hex_timestamp":"000001a029306a90"} 
[2026-08-22 16:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 16:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573666048001,"66":25604,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573666048001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:48:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:48:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573666048001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":162504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:48:54] local.INFO: GPS data processed {"connection_id":162504,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:48:54] local.INFO: Acknowledgment sent {"connection_id":162504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:48:57] local.INFO: TCP Data received {"connection_id":159901,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:48:57] local.INFO: Processing buffer {"connection_id":159901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:48:57] local.INFO: IMEI packet received {"connection_id":159901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":159901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:48:58] local.INFO: TCP Data received {"connection_id":159901,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02930d7f0012d17be80072106b8003400a526..."} 
[2026-08-22 16:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02930d7f0012d17be80072106b8003400a526..."} 
[2026-08-22 16:48:58] local.INFO: Processing buffer {"connection_id":159901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02930d7f0012d17be80072106b8003400a526..."} 
[2026-08-22 16:48:58] local.INFO: Packet analysis {"connection_id":159901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:48:58] local.INFO: Extracted packet for processing {"connection_id":159901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:48:58] local.INFO: GPS Element Parsed {"raw_longitude":756530816,"raw_latitude":119604920,"longitude_deg":75.6530816,"latitude_deg":11.960492,"altitude":52,"angle":165,"satellites":38,"speed":13,"hex_longitude":"2d17be80","hex_latitude":"072106b8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573746688001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14684205422215168,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708342033021143040,"note":"Value kept but may cause issues"} 
[2026-08-22 16:48:58] 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-22 16:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787397462000,"timestamp_ms":1787397462000,"timestamp_seconds":1787397462,"priority":1,"record_length":96,"hex_timestamp":"000001a02930d7f0"} 
[2026-08-22 16: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-22 16:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 16:48:58] 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-22 16: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-22 16: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-22 16:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:48: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-22 16:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573746688001,"66":14048,"107":206,"83":41984,"24":13,"16":14684205422215168,"45":1708342033021143040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 16:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573746688001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:48:58] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 16:48:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14684205422215168,"km_value":14684205422215.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708342033021143040,"description":"Unknown IO ID 45"} 
[2026-08-22 16:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573746688001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1708342033021143040}} 
[2026-08-22 16:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":159901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:48:58] local.INFO: GPS data processed {"connection_id":159901,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:48:58] local.INFO: Acknowledgment sent {"connection_id":159901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:49:25] local.INFO: TCP Data received {"connection_id":162504,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:49:25] local.INFO: Processing buffer {"connection_id":162504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:49:25] local.INFO: Packet analysis {"connection_id":162504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:49:25] local.INFO: Extracted packet for processing {"connection_id":162504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:49:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573666048001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:49:25] 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-22 16:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787397434000,"timestamp_ms":1787397434000,"timestamp_seconds":1787397434,"priority":1,"record_length":96,"hex_timestamp":"000001a029306a90"} 
[2026-08-22 16:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:49: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-22 16:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573666048001,"66":25604,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573666048001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:49:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573666048001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":162504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:49:25] local.INFO: GPS data processed {"connection_id":162504,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:49:25] local.INFO: Acknowledgment sent {"connection_id":162504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:49:29] local.INFO: TCP Data received {"connection_id":159901,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02930f348012d17c040072100900034009624..."} 
[2026-08-22 16:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02930f348012d17c040072100900034009624..."} 
[2026-08-22 16:49:29] local.INFO: Processing buffer {"connection_id":159901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02930f348012d17c040072100900034009624..."} 
[2026-08-22 16:49:29] local.INFO: Packet analysis {"connection_id":159901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:49:29] local.INFO: Extracted packet for processing {"connection_id":159901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756531264,"raw_latitude":119603344,"longitude_deg":75.6531264,"latitude_deg":11.9603344,"altitude":52,"angle":150,"satellites":36,"speed":13,"hex_longitude":"2d17c040","hex_latitude":"07210090","is_valid_coordinates":true} 
[2026-08-22 16:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573750272001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14684287026593792,"note":"Value kept but may cause issues"} 
[2026-08-22 16:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710945676554582016,"note":"Value kept but may cause issues"} 
[2026-08-22 16:49:29] 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-22 16:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787397469000,"timestamp_ms":1787397469000,"timestamp_seconds":1787397469,"priority":1,"record_length":96,"hex_timestamp":"000001a02930f348"} 
[2026-08-22 16:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:49: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-22 16:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 16:49:29] 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-22 16:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:49:29] 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-22 16:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573750272001,"66":14004,"107":206,"83":41984,"24":13,"16":14684287026593792,"45":1710945676554582016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 16:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573750272001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:49:29] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 16:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14684287026593792,"km_value":14684287026593.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710945676554582016,"description":"Unknown IO ID 45"} 
[2026-08-22 16:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573750272001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1710945676554582016}} 
[2026-08-22 16:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":159901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:49:29] local.INFO: GPS data processed {"connection_id":159901,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:49:29] local.INFO: Acknowledgment sent {"connection_id":159901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:49:48] local.INFO: TCP Data received {"connection_id":160148,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:49:48] local.INFO: Processing buffer {"connection_id":160148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:49:48] local.INFO: IMEI packet received {"connection_id":160148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":160148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:49:52] local.INFO: TCP Data received {"connection_id":162505,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:49:52] local.INFO: Processing buffer {"connection_id":162505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:49:52] local.INFO: IMEI packet received {"connection_id":162505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":162505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:49:54] local.INFO: TCP Data received {"connection_id":160148,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:49:54] local.INFO: Processing buffer {"connection_id":160148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:49:54] local.INFO: IMEI packet received {"connection_id":160148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":160148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:49:54] local.INFO: TCP Data received {"connection_id":162505,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:49:54] local.INFO: Processing buffer {"connection_id":162505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:49:54] local.INFO: IMEI packet received {"connection_id":162505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":162505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:49:55] local.INFO: TCP Data received {"connection_id":160148,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:49:55] local.INFO: Processing buffer {"connection_id":160148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:49:55] local.INFO: Packet analysis {"connection_id":160148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:49:55] local.INFO: Extracted packet for processing {"connection_id":160148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:49:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573666048001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:49:55] 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-22 16:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787397434000,"timestamp_ms":1787397434000,"timestamp_seconds":1787397434,"priority":1,"record_length":96,"hex_timestamp":"000001a029306a90"} 
[2026-08-22 16:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:49: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-22 16:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573666048001,"66":25604,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573666048001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:49:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:49:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573666048001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":160148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:49:55] local.INFO: GPS data processed {"connection_id":160148,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:49:55] local.INFO: Acknowledgment sent {"connection_id":160148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:49:57] local.INFO: TCP Data received {"connection_id":162505,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:49:57] local.INFO: Processing buffer {"connection_id":162505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:49:57] local.INFO: IMEI packet received {"connection_id":162505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":162505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:49:58] local.INFO: TCP Data received {"connection_id":162505,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02931f518012d17cfc00720e2080035007627..."} 
[2026-08-22 16:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02931f518012d17cfc00720e2080035007627..."} 
[2026-08-22 16:49:58] local.INFO: Processing buffer {"connection_id":162505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02931f518012d17cfc00720e2080035007627..."} 
[2026-08-22 16:49:58] local.INFO: Packet analysis {"connection_id":162505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02931"} 
[2026-08-22 16:49:58] local.INFO: Extracted packet for processing {"connection_id":162505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02931"} 
[2026-08-22 16:49:58] local.INFO: GPS Element Parsed {"raw_longitude":756535232,"raw_latitude":119595528,"longitude_deg":75.6535232,"latitude_deg":11.9595528,"altitude":53,"angle":118,"satellites":39,"speed":1,"hex_longitude":"2d17cfc0","hex_latitude":"0720e208","is_valid_coordinates":true} 
[2026-08-22 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-22 16:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573768192001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14684768062930944,"note":"Value kept but may cause issues"} 
[2026-08-22 16:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715590013667919872,"note":"Value kept but may cause issues"} 
[2026-08-22 16:49:58] 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-22 16:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787397535000,"timestamp_ms":1787397535000,"timestamp_seconds":1787397535,"priority":1,"record_length":96,"hex_timestamp":"000001a02931f518"} 
[2026-08-22 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-22 16:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":60,"data_length":795,"current_offset":136} 
[2026-08-22 16:49: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-22 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-22 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-22 16:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:49: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-22 16:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573768192001,"66":14407,"107":206,"83":41984,"24":1,"16":14684768062930944,"45":1715590013667919872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 16:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573768192001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:49:58] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 16:49:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14684768062930944,"km_value":14684768062930.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715590013667919872,"description":"Unknown IO ID 45"} 
[2026-08-22 16:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573768192001,"power":14407,"unknown_107":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1715590013667919872}} 
[2026-08-22 16:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":162505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:49:58] local.INFO: GPS data processed {"connection_id":162505,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:49:58] local.INFO: Acknowledgment sent {"connection_id":162505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:50:26] local.INFO: TCP Data received {"connection_id":160148,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:50:26] local.INFO: Processing buffer {"connection_id":160148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:50:26] local.INFO: Packet analysis {"connection_id":160148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:50:26] local.INFO: Extracted packet for processing {"connection_id":160148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:50:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573666048001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:50:26] 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-22 16:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787397434000,"timestamp_ms":1787397434000,"timestamp_seconds":1787397434,"priority":1,"record_length":96,"hex_timestamp":"000001a029306a90"} 
[2026-08-22 16: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-22 16:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 16:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573666048001,"66":25604,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573666048001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:50:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:50:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573666048001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":160148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:50:26] local.INFO: GPS data processed {"connection_id":160148,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:50:26] local.INFO: Acknowledgment sent {"connection_id":160148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:50:30] local.INFO: TCP Data received {"connection_id":162505,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02931fce8012d17d0400720e1c80035008928..."} 
[2026-08-22 16:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02931fce8012d17d0400720e1c80035008928..."} 
[2026-08-22 16:50:30] local.INFO: Processing buffer {"connection_id":162505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02931fce8012d17d0400720e1c80035008928..."} 
[2026-08-22 16:50:30] local.INFO: Packet analysis {"connection_id":162505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02931"} 
[2026-08-22 16:50:30] local.INFO: Extracted packet for processing {"connection_id":162505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02931"} 
[2026-08-22 16:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756535360,"raw_latitude":119595464,"longitude_deg":75.653536,"latitude_deg":11.9595464,"altitude":53,"angle":137,"satellites":40,"speed":0,"hex_longitude":"2d17d040","hex_latitude":"0720e1c8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573768960001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14684772357898240,"note":"Value kept but may cause issues"} 
[2026-08-22 16:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715801119900436480,"note":"Value kept but may cause issues"} 
[2026-08-22 16:50:30] 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-22 16:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787397537000,"timestamp_ms":1787397537000,"timestamp_seconds":1787397537,"priority":1,"record_length":96,"hex_timestamp":"000001a02931fce8"} 
[2026-08-22 16: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-22 16:50: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-22 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 16:50: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-22 16: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-22 16: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-22 16:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:50: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-22 16:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573768960001,"66":14363,"107":206,"83":41984,"24":0,"16":14684772357898240,"45":1715801119900436480},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 16:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573768960001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:50:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 16:50:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14684772357898240,"km_value":14684772357898.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715801119900436480,"description":"Unknown IO ID 45"} 
[2026-08-22 16:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573768960001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1715801119900436480}} 
[2026-08-22 16:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":162505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:50:30] local.INFO: GPS data processed {"connection_id":162505,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:50:30] local.INFO: Acknowledgment sent {"connection_id":162505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:50:48] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:50:48] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:50:48] local.INFO: IMEI packet received {"connection_id":162506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":162506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:50:52] local.INFO: TCP Data received {"connection_id":161074,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:50:52] local.INFO: Processing buffer {"connection_id":161074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:50:52] local.INFO: IMEI packet received {"connection_id":161074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":161074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:50:56] local.INFO: TCP Data received {"connection_id":161074,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:50:56] local.INFO: Processing buffer {"connection_id":161074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:50:56] local.INFO: IMEI packet received {"connection_id":161074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":161074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:50:57] local.INFO: TCP Data received {"connection_id":161074,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:50:57] local.INFO: Processing buffer {"connection_id":161074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:50:57] local.INFO: IMEI packet received {"connection_id":161074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":161074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:50:58] local.INFO: TCP Data received {"connection_id":161074,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0293302a0012d17b34007211c400039001929..."} 
[2026-08-22 16:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293302a0012d17b34007211c400039001929..."} 
[2026-08-22 16:50:58] local.INFO: Processing buffer {"connection_id":161074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293302a0012d17b34007211c400039001929..."} 
[2026-08-22 16:50:58] local.INFO: Packet analysis {"connection_id":161074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02933"} 
[2026-08-22 16:50:58] local.INFO: Extracted packet for processing {"connection_id":161074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02933"} 
[2026-08-22 16:50:58] local.INFO: GPS Element Parsed {"raw_longitude":756527936,"raw_latitude":119610432,"longitude_deg":75.6527936,"latitude_deg":11.9610432,"altitude":57,"angle":25,"satellites":41,"speed":9,"hex_longitude":"2d17b340","hex_latitude":"07211c40","is_valid_coordinates":true} 
[2026-08-22 16:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573786368001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14685605581553664,"note":"Value kept but may cause issues"} 
[2026-08-22 16:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707708714323759104,"note":"Value kept but may cause issues"} 
[2026-08-22 16:50:58] 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-22 16:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787397604000,"timestamp_ms":1787397604000,"timestamp_seconds":1787397604,"priority":1,"record_length":96,"hex_timestamp":"000001a0293302a0"} 
[2026-08-22 16:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-22 16:50:58] 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-22 16:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:50: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-22 16:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573786368001,"66":13939,"107":206,"83":41984,"24":9,"16":14685605581553664,"45":1707708714323759104},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 16:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573786368001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:50:58] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 16:50:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14685605581553664,"km_value":14685605581553.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707708714323759104,"description":"Unknown IO ID 45"} 
[2026-08-22 16:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573786368001,"power":13939,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1707708714323759104}} 
[2026-08-22 16:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":161074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:50:58] local.INFO: GPS data processed {"connection_id":161074,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:50:58] local.INFO: Acknowledgment sent {"connection_id":161074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:50:58] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:50:58] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:50:58] local.INFO: IMEI packet received {"connection_id":162506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":162506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:50:59] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:50:59] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:50:59] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:50:59] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 16:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573666048001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:50:59] 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-22 16:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787397434000,"timestamp_ms":1787397434000,"timestamp_seconds":1787397434,"priority":1,"record_length":96,"hex_timestamp":"000001a029306a90"} 
[2026-08-22 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-22 16: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-22 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 16:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573666048001,"66":25604,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573666048001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:50:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:50:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573666048001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:50:59] local.INFO: GPS data processed {"connection_id":162506,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:50:59] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:51:03] local.INFO: TCP Data received {"connection_id":161074,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029330a70012d17b50007211ec00039002729..."} 
[2026-08-22 16:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029330a70012d17b50007211ec00039002729..."} 
[2026-08-22 16:51:03] local.INFO: Processing buffer {"connection_id":161074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029330a70012d17b50007211ec00039002729..."} 
[2026-08-22 16:51:03] local.INFO: Packet analysis {"connection_id":161074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02933"} 
[2026-08-22 16:51:03] local.INFO: Extracted packet for processing {"connection_id":161074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02933"} 
[2026-08-22 16:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756528384,"raw_latitude":119611072,"longitude_deg":75.6528384,"latitude_deg":11.9611072,"altitude":57,"angle":39,"satellites":41,"speed":18,"hex_longitude":"2d17b500","hex_latitude":"07211ec0","is_valid_coordinates":true} 
[2026-08-22 16:51: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-22 16:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573786624001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14685644236259328,"note":"Value kept but may cause issues"} 
[2026-08-22 16:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707779083067998208,"note":"Value kept but may cause issues"} 
[2026-08-22 16:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787397606000,"timestamp_ms":1787397606000,"timestamp_seconds":1787397606,"priority":1,"record_length":96,"hex_timestamp":"000001a029330a70"} 
[2026-08-22 16:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-22 16:51:03] 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-22 16:51: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-22 16:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:51:03] 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-22 16:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573786624001,"66":13906,"107":206,"83":41984,"24":18,"16":14685644236259328,"45":1707779083067998208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 16:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573786624001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:51:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 16:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14685644236259328,"km_value":14685644236259.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707779083067998208,"description":"Unknown IO ID 45"} 
[2026-08-22 16:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573786624001,"power":13906,"unknown_107":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1707779083067998208}} 
[2026-08-22 16:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":161074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:51:03] local.INFO: GPS data processed {"connection_id":161074,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:51:03] local.INFO: Acknowledgment sent {"connection_id":161074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:51:30] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:51:30] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:51:30] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:51:30] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573666048001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:51:30] 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-22 16:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787397434000,"timestamp_ms":1787397434000,"timestamp_seconds":1787397434,"priority":1,"record_length":96,"hex_timestamp":"000001a029306a90"} 
[2026-08-22 16: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-22 16: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-22 16:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573666048001,"66":25604,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573666048001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:51:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:51:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573666048001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:51:30] local.INFO: GPS data processed {"connection_id":162506,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:51:30] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:51:34] local.INFO: TCP Data received {"connection_id":161074,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029333950012d17cb0007213c58003b001f29..."} 
[2026-08-22 16:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029333950012d17cb0007213c58003b001f29..."} 
[2026-08-22 16:51:34] local.INFO: Processing buffer {"connection_id":161074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029333950012d17cb0007213c58003b001f29..."} 
[2026-08-22 16:51:34] local.INFO: Packet analysis {"connection_id":161074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02933"} 
[2026-08-22 16:51:34] local.INFO: Extracted packet for processing {"connection_id":161074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02933"} 
[2026-08-22 16:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756534016,"raw_latitude":119618648,"longitude_deg":75.6534016,"latitude_deg":11.9618648,"altitude":59,"angle":31,"satellites":41,"speed":36,"hex_longitude":"2d17cb00","hex_latitude":"07213c58","is_valid_coordinates":true} 
[2026-08-22 16:51: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-22 16:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573787136001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14686099502792704,"note":"Value kept but may cause issues"} 
[2026-08-22 16:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708271664277405696,"note":"Value kept but may cause issues"} 
[2026-08-22 16:51:34] 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-22 16:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787397618000,"timestamp_ms":1787397618000,"timestamp_seconds":1787397618,"priority":1,"record_length":96,"hex_timestamp":"000001a029333950"} 
[2026-08-22 16:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:51:34] 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-22 16:51: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":82,"data_length":795,"current_offset":136} 
[2026-08-22 16:51:34] 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-22 16:51: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-22 16:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:51:34] 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-22 16:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573787136001,"66":13972,"107":206,"83":41984,"24":36,"16":14686099502792704,"45":1708271664277405696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 16:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573787136001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:51:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 16:51:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14686099502792704,"km_value":14686099502792.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708271664277405696,"description":"Unknown IO ID 45"} 
[2026-08-22 16:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573787136001,"power":13972,"unknown_107":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1708271664277405696}} 
[2026-08-22 16:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":161074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:51:34] local.INFO: GPS data processed {"connection_id":161074,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:51:34] local.INFO: Acknowledgment sent {"connection_id":161074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:51:54] local.INFO: TCP Data received {"connection_id":160149,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:51:54] local.INFO: Processing buffer {"connection_id":160149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:51:54] local.INFO: IMEI packet received {"connection_id":160149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":160149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:51:57] local.INFO: TCP Data received {"connection_id":159902,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:51:57] local.INFO: Processing buffer {"connection_id":159902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:51:57] local.INFO: IMEI packet received {"connection_id":159902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":159902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:51:59] local.INFO: TCP Data received {"connection_id":160149,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:51:59] local.INFO: Processing buffer {"connection_id":160149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:51:59] local.INFO: IMEI packet received {"connection_id":160149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":160149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:51:59] local.INFO: TCP Data received {"connection_id":160149,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:51:59] local.INFO: Processing buffer {"connection_id":160149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:51:59] local.INFO: Packet analysis {"connection_id":160149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:51:59] local.INFO: Extracted packet for processing {"connection_id":160149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573666048001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:51:59] 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-22 16:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787397434000,"timestamp_ms":1787397434000,"timestamp_seconds":1787397434,"priority":1,"record_length":96,"hex_timestamp":"000001a029306a90"} 
[2026-08-22 16: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-22 16: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-22 16: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573666048001,"66":25604,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573666048001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:51:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573666048001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":160149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:51:59] local.INFO: GPS data processed {"connection_id":160149,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:51:59] local.INFO: Acknowledgment sent {"connection_id":160149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:52:02] local.INFO: TCP Data received {"connection_id":159902,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:52:02] local.INFO: Processing buffer {"connection_id":159902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:52:02] local.INFO: IMEI packet received {"connection_id":159902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":159902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:52:03] local.INFO: TCP Data received {"connection_id":159902,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029336060012d17dd0007215ae00040001d29..."} 
[2026-08-22 16:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029336060012d17dd0007215ae00040001d29..."} 
[2026-08-22 16:52:03] local.INFO: Processing buffer {"connection_id":159902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029336060012d17dd0007215ae00040001d29..."} 
[2026-08-22 16:52:03] local.INFO: Packet analysis {"connection_id":159902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02933"} 
[2026-08-22 16:52:03] local.INFO: Extracted packet for processing {"connection_id":159902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02933"} 
[2026-08-22 16:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756538624,"raw_latitude":119626464,"longitude_deg":75.6538624,"latitude_deg":11.9626464,"altitude":64,"angle":29,"satellites":41,"speed":32,"hex_longitude":"2d17dd00","hex_latitude":"07215ae0","is_valid_coordinates":true} 
[2026-08-22 16:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573790208001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14686537589456896,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714464113766979584,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787397628000,"timestamp_ms":1787397628000,"timestamp_seconds":1787397628,"priority":1,"record_length":96,"hex_timestamp":"000001a029336060"} 
[2026-08-22 16:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-22 16:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:52:03] 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-22 16:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573790208001,"66":13820,"107":206,"83":41984,"24":32,"16":14686537589456896,"45":1714464113766979584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-22 16:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573790208001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:52:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-22 16:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14686537589456896,"km_value":14686537589456.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714464113766979584,"description":"Unknown IO ID 45"} 
[2026-08-22 16:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573790208001,"power":13820,"unknown_107":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1714464113766979584}} 
[2026-08-22 16:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":159902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:52:03] local.INFO: GPS data processed {"connection_id":159902,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:52:03] local.INFO: Acknowledgment sent {"connection_id":159902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:52:04] local.INFO: TCP Data received {"connection_id":160149,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:52:04] local.INFO: Processing buffer {"connection_id":160149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029306a90012d7fac4005afe1d80002006628..."} 
[2026-08-22 16:52:04] local.INFO: Packet analysis {"connection_id":160149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:52:04] local.INFO: Extracted packet for processing {"connection_id":160149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02930"} 
[2026-08-22 16:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573666048001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52:04] 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-22 16:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787397434000,"timestamp_ms":1787397434000,"timestamp_seconds":1787397434,"priority":1,"record_length":96,"hex_timestamp":"000001a029306a90"} 
[2026-08-22 16: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-22 16: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-22 16:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573666048001,"66":25604,"27":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 16:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573666048001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:52:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 16:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573666048001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":160149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:52:04] local.INFO: GPS data processed {"connection_id":160149,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:52:04] local.INFO: Acknowledgment sent {"connection_id":160149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:52:08] local.INFO: TCP Data received {"connection_id":159902,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029338b58012d17f000072178900046002629..."} 
[2026-08-22 16:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029338b58012d17f000072178900046002629..."} 
[2026-08-22 16:52:08] local.INFO: Processing buffer {"connection_id":159902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029338b58012d17f000072178900046002629..."} 
[2026-08-22 16:52:08] local.INFO: Packet analysis {"connection_id":159902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02933"} 
[2026-08-22 16:52:08] local.INFO: Extracted packet for processing {"connection_id":159902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02933"} 
[2026-08-22 16:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756543488,"raw_latitude":119634064,"longitude_deg":75.6543488,"latitude_deg":11.9634064,"altitude":70,"angle":38,"satellites":41,"speed":32,"hex_longitude":"2d17f000","hex_latitude":"07217890","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573792768001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14686971381153792,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1719530663349772288,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52:08] local.INFO: IO Element Parsed {"io_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-22 16:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787397639000,"timestamp_ms":1787397639000,"timestamp_seconds":1787397639,"priority":1,"record_length":96,"hex_timestamp":"000001a029338b58"} 
[2026-08-22 16: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-22 16:52: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-22 16: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":252,"data_length":795,"current_offset":136} 
[2026-08-22 16:52:08] 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-22 16:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16: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-22 16:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:52:08] 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-22 16:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573792768001,"66":14004,"105":206,"83":41984,"24":32,"16":14686971381153792,"45":1719530663349772288},"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-22 16:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573792768001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:52:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14686971381153792,"km_value":14686971381153.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1719530663349772288,"description":"Unknown IO ID 45"} 
[2026-08-22 16:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573792768001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1719530663349772288}} 
[2026-08-22 16:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":159902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:52:08] local.INFO: GPS data processed {"connection_id":159902,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:52:08] local.INFO: Acknowledgment sent {"connection_id":159902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:52:48] local.INFO: TCP Data received {"connection_id":160150,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:52:48] local.INFO: Processing buffer {"connection_id":160150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:52:48] local.INFO: IMEI packet received {"connection_id":160150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":160150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:52:52] local.INFO: TCP Data received {"connection_id":161075,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:52:53] local.INFO: Processing buffer {"connection_id":161075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:52:53] local.INFO: IMEI packet received {"connection_id":161075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":161075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:52:53] local.INFO: TCP Data received {"connection_id":161075,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:52:53] local.INFO: Processing buffer {"connection_id":161075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:52:53] local.INFO: IMEI packet received {"connection_id":161075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":161075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:52:55] local.INFO: TCP Data received {"connection_id":160150,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:52:55] local.INFO: Processing buffer {"connection_id":160150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:52:55] local.INFO: IMEI packet received {"connection_id":160150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":160150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:52:56] local.INFO: TCP Data received {"connection_id":160150,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:52:56] local.INFO: Processing buffer {"connection_id":160150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:52:56] local.INFO: Packet analysis {"connection_id":160150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:52:56] local.INFO: Extracted packet for processing {"connection_id":160150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573743104001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52: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-22 16:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787397735000,"timestamp_ms":1787397735000,"timestamp_seconds":1787397735,"priority":1,"record_length":96,"hex_timestamp":"000001a029350258"} 
[2026-08-22 16: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-22 16:52: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-22 16:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 16:52: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-22 16: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-22 16: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-22 16:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573743104001,"66":25560,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573743104001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:52:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573743104001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":160150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:52:56] local.INFO: GPS data processed {"connection_id":160150,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:52:56] local.INFO: Acknowledgment sent {"connection_id":160150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:52:56] local.INFO: TCP Data received {"connection_id":160150,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:52:56] local.INFO: Processing buffer {"connection_id":160150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:52:56] local.INFO: Packet analysis {"connection_id":160150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:52:56] local.INFO: Extracted packet for processing {"connection_id":160150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573743104001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52: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-22 16:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787397735000,"timestamp_ms":1787397735000,"timestamp_seconds":1787397735,"priority":1,"record_length":96,"hex_timestamp":"000001a029350258"} 
[2026-08-22 16: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-22 16:52: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-22 16:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 16:52: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-22 16: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-22 16: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-22 16:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573743104001,"66":25560,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573743104001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:52:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573743104001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":160150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:52:56] local.INFO: GPS data processed {"connection_id":160150,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:52:56] local.INFO: Acknowledgment sent {"connection_id":160150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:52:57] local.INFO: TCP Data received {"connection_id":161075,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:52:57] local.INFO: Processing buffer {"connection_id":161075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:52:57] local.INFO: IMEI packet received {"connection_id":161075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":161075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:52:58] local.INFO: TCP Data received {"connection_id":161075,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029339af8012d17f94007218198004700322a..."} 
[2026-08-22 16:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029339af8012d17f94007218198004700322a..."} 
[2026-08-22 16:52:58] local.INFO: Processing buffer {"connection_id":161075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029339af8012d17f94007218198004700322a..."} 
[2026-08-22 16:52:58] local.INFO: Packet analysis {"connection_id":161075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02933"} 
[2026-08-22 16:52:58] local.INFO: Extracted packet for processing {"connection_id":161075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02933"} 
[2026-08-22 16:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756545856,"raw_latitude":119636376,"longitude_deg":75.6545856,"latitude_deg":11.9636376,"altitude":71,"angle":50,"satellites":42,"speed":32,"hex_longitude":"2d17f940","hex_latitude":"07218198","is_valid_coordinates":true} 
[2026-08-22 16:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573795584001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14687130294943744,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724878687909220352,"note":"Value kept but may cause issues"} 
[2026-08-22 16:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787397643000,"timestamp_ms":1787397643000,"timestamp_seconds":1787397643,"priority":1,"record_length":96,"hex_timestamp":"000001a029339af8"} 
[2026-08-22 16:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-22 16:52:58] 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-22 16:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:52: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-22 16:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573795584001,"66":14341,"105":206,"83":41984,"24":32,"16":14687130294943744,"45":1724878687909220352},"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-22 16:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573795584001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:52:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:52:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14687130294943744,"km_value":14687130294943.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724878687909220352,"description":"Unknown IO ID 45"} 
[2026-08-22 16:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573795584001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1724878687909220352}} 
[2026-08-22 16:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":161075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:52:58] local.INFO: GPS data processed {"connection_id":161075,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:52:58] local.INFO: Acknowledgment sent {"connection_id":161075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:53:28] local.INFO: TCP Data received {"connection_id":160150,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:53:28] local.INFO: Processing buffer {"connection_id":160150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:53:28] local.INFO: Packet analysis {"connection_id":160150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:53:28] local.INFO: Extracted packet for processing {"connection_id":160150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:53:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573743104001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53: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-22 16:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787397735000,"timestamp_ms":1787397735000,"timestamp_seconds":1787397735,"priority":1,"record_length":96,"hex_timestamp":"000001a029350258"} 
[2026-08-22 16:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:53: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-22 16:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 16:53:28] 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-22 16:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573743104001,"66":25560,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573743104001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:53:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:53:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573743104001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":160150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:53:28] local.INFO: GPS data processed {"connection_id":160150,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:53:28] local.INFO: Acknowledgment sent {"connection_id":160150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:53:29] local.INFO: TCP Data received {"connection_id":161075,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02933be20012d180e40072194b00048002727..."} 
[2026-08-22 16:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02933be20012d180e40072194b00048002727..."} 
[2026-08-22 16:53:29] local.INFO: Processing buffer {"connection_id":161075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02933be20012d180e40072194b00048002727..."} 
[2026-08-22 16:53:29] local.INFO: Packet analysis {"connection_id":161075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02933"} 
[2026-08-22 16:53:29] local.INFO: Extracted packet for processing {"connection_id":161075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02933"} 
[2026-08-22 16:53:29] local.INFO: GPS Element Parsed {"raw_longitude":756551232,"raw_latitude":119641264,"longitude_deg":75.6551232,"latitude_deg":11.9641264,"altitude":72,"angle":39,"satellites":39,"speed":31,"hex_longitude":"2d180e40","hex_latitude":"072194b0","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573796608001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14687478187294720,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727482331444385792,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787397652000,"timestamp_ms":1787397652000,"timestamp_seconds":1787397652,"priority":1,"record_length":96,"hex_timestamp":"000001a02933be20"} 
[2026-08-22 16: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-22 16:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 16:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6982021851,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15764021001060352,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:29] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503823711797248,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-22 16:53:29] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84750026630701338,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:29] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,45,160,139,120,70,41,10,66,96,90,64,107,57,1,240,148,227,44,33,4,113,205,18,2,179,239,54,52,7,8,206,144],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-22 16:53:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116144332664995840,"timestamp_seconds":5116144332664996.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 16: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-22 16:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:53:29] 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-22 16:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573796608001,"66":14483,"105":206,"83":41984,"24":31,"16":14687478187294720,"45":1727482331444385792},"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-22 16:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573796608001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:53:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:53:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14687478187294720,"km_value":14687478187294.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727482331444385792,"description":"Unknown IO ID 45"} 
[2026-08-22 16:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573796608001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1727482331444385792}} 
[2026-08-22 16:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":161075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:53:29] local.INFO: GPS data processed {"connection_id":161075,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:53:29] local.INFO: Acknowledgment sent {"connection_id":161075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:53:48] local.INFO: TCP Data received {"connection_id":162507,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:53:48] local.INFO: Processing buffer {"connection_id":162507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:53:48] local.INFO: IMEI packet received {"connection_id":162507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":162507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:53:52] local.INFO: TCP Data received {"connection_id":160151,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:53:52] local.INFO: Processing buffer {"connection_id":160151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:53:52] local.INFO: IMEI packet received {"connection_id":160151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":160151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:53:54] local.INFO: TCP Data received {"connection_id":162507,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:53:54] local.INFO: Processing buffer {"connection_id":162507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:53:54] local.INFO: IMEI packet received {"connection_id":162507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":162507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:53:54] local.INFO: TCP Data received {"connection_id":162507,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:53:54] local.INFO: Processing buffer {"connection_id":162507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:53:54] local.INFO: Packet analysis {"connection_id":162507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:53:54] local.INFO: Extracted packet for processing {"connection_id":162507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573743104001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:54] 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-22 16:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787397735000,"timestamp_ms":1787397735000,"timestamp_seconds":1787397735,"priority":1,"record_length":96,"hex_timestamp":"000001a029350258"} 
[2026-08-22 16:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 16:53:54] 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-22 16:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573743104001,"66":25560,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573743104001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:53:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:53:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573743104001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":162507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:53:54] local.INFO: GPS data processed {"connection_id":162507,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:53:54] local.INFO: Acknowledgment sent {"connection_id":162507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:53:55] local.INFO: TCP Data received {"connection_id":160151,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:53:55] local.INFO: Processing buffer {"connection_id":160151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:53:55] local.INFO: IMEI packet received {"connection_id":160151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":160151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:53:56] local.INFO: TCP Data received {"connection_id":160151,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02933f0e8012d1821c00721b2000048002128..."} 
[2026-08-22 16:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02933f0e8012d1821c00721b2000048002128..."} 
[2026-08-22 16:53:56] local.INFO: Processing buffer {"connection_id":160151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02933f0e8012d1821c00721b2000048002128..."} 
[2026-08-22 16:53:56] local.INFO: Packet analysis {"connection_id":160151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02933"} 
[2026-08-22 16:53:56] local.INFO: Extracted packet for processing {"connection_id":160151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02933"} 
[2026-08-22 16:53:56] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119648768,"longitude_deg":75.6556224,"latitude_deg":11.9648768,"altitude":72,"angle":33,"satellites":40,"speed":15,"hex_longitude":"2d1821c0","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573798912001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14687916273958912,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733393305956560896,"note":"Value kept but may cause issues"} 
[2026-08-22 16:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787397665000,"timestamp_ms":1787397665000,"timestamp_seconds":1787397665,"priority":1,"record_length":96,"hex_timestamp":"000001a02933f0e8"} 
[2026-08-22 16: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-22 16:53:56] 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-22 16: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-22 16:53:56] 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-22 16: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-22 16: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-22 16:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:53:56] 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-22 16:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573798912001,"66":14243,"105":206,"83":41984,"24":15,"16":14687916273958912,"45":1733393305956560896},"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-22 16:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573798912001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:53:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:53:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14687916273958912,"km_value":14687916273958.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733393305956560896,"description":"Unknown IO ID 45"} 
[2026-08-22 16:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573798912001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1733393305956560896}} 
[2026-08-22 16:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":160151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:53:56] local.INFO: GPS data processed {"connection_id":160151,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:53:56] local.INFO: Acknowledgment sent {"connection_id":160151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:54:26] local.INFO: TCP Data received {"connection_id":162507,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:54:26] local.INFO: Processing buffer {"connection_id":162507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:54:26] local.INFO: Packet analysis {"connection_id":162507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:54:26] local.INFO: Extracted packet for processing {"connection_id":162507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573743104001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:54: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-22 16:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787397735000,"timestamp_ms":1787397735000,"timestamp_seconds":1787397735,"priority":1,"record_length":96,"hex_timestamp":"000001a029350258"} 
[2026-08-22 16: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-22 16:54: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-22 16: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 16:54:26] 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-22 16: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-22 16: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-22 16:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573743104001,"66":25560,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573743104001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:54:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573743104001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":162507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:54:26] local.INFO: GPS data processed {"connection_id":162507,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:54:26] local.INFO: Acknowledgment sent {"connection_id":162507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:54:28] local.INFO: TCP Data received {"connection_id":160151,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029340088012d1824000721b6080048000429..."} 
[2026-08-22 16:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029340088012d1824000721b6080048000429..."} 
[2026-08-22 16:54:28] local.INFO: Processing buffer {"connection_id":160151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029340088012d1824000721b6080048000429..."} 
[2026-08-22 16:54:28] local.INFO: Packet analysis {"connection_id":160151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02934"} 
[2026-08-22 16:54:28] local.INFO: Extracted packet for processing {"connection_id":160151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02934"} 
[2026-08-22 16:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649800,"longitude_deg":75.65568,"latitude_deg":11.96498,"altitude":72,"angle":4,"satellites":41,"speed":9,"hex_longitude":"2d182400","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-08-22 16:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573802240001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14687972108533760,"note":"Value kept but may cause issues"} 
[2026-08-22 16:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004339712,"note":"Value kept but may cause issues"} 
[2026-08-22 16:54:28] local.INFO: IO Element Parsed {"io_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-22 16:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787397669000,"timestamp_ms":1787397669000,"timestamp_seconds":1787397669,"priority":1,"record_length":96,"hex_timestamp":"000001a029340088"} 
[2026-08-22 16:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-22 16:54:28] 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-22 16:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:54:28] 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-22 16:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573802240001,"66":13928,"105":206,"83":41984,"24":9,"16":14687972108533760,"45":1738882068004339712},"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-22 16:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573802240001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:54:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14687972108533760,"km_value":14687972108533.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004339712,"description":"Unknown IO ID 45"} 
[2026-08-22 16:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573802240001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738882068004339712}} 
[2026-08-22 16:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":160151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:54:28] local.INFO: GPS data processed {"connection_id":160151,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:54:28] local.INFO: Acknowledgment sent {"connection_id":160151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:54:48] local.INFO: TCP Data received {"connection_id":160152,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:54:48] local.INFO: Processing buffer {"connection_id":160152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:54:48] local.INFO: IMEI packet received {"connection_id":160152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":160152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:54:52] local.INFO: TCP Data received {"connection_id":160153,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:54:52] local.INFO: Processing buffer {"connection_id":160153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:54:52] local.INFO: IMEI packet received {"connection_id":160153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":160153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:54:54] local.INFO: TCP Data received {"connection_id":160152,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:54:54] local.INFO: Processing buffer {"connection_id":160152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:54:54] local.INFO: IMEI packet received {"connection_id":160152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":160152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:54:54] local.INFO: TCP Data received {"connection_id":160152,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:54:54] local.INFO: Processing buffer {"connection_id":160152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:54:54] local.INFO: Packet analysis {"connection_id":160152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:54:54] local.INFO: Extracted packet for processing {"connection_id":160152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573743104001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:54:54] 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-22 16:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787397735000,"timestamp_ms":1787397735000,"timestamp_seconds":1787397735,"priority":1,"record_length":96,"hex_timestamp":"000001a029350258"} 
[2026-08-22 16: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-22 16:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 16:54:54] 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-22 16: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-22 16: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-22 16:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573743104001,"66":25560,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573743104001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:54:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:54:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573743104001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":160152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:54:54] local.INFO: GPS data processed {"connection_id":160152,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:54:54] local.INFO: Acknowledgment sent {"connection_id":160152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:54:57] local.INFO: TCP Data received {"connection_id":160153,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:54:57] local.INFO: Processing buffer {"connection_id":160153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:54:57] local.INFO: IMEI packet received {"connection_id":160153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":160153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:55:00] local.INFO: TCP Data received {"connection_id":160153,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029340470012d1824000721b6c80049015429..."} 
[2026-08-22 16:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029340470012d1824000721b6c80049015429..."} 
[2026-08-22 16:55:00] local.INFO: Processing buffer {"connection_id":160153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029340470012d1824000721b6c80049015429..."} 
[2026-08-22 16:55:00] local.INFO: Packet analysis {"connection_id":160153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02934"} 
[2026-08-22 16:55:00] local.INFO: Extracted packet for processing {"connection_id":160153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02934"} 
[2026-08-22 16:55:00] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649992,"longitude_deg":75.65568,"latitude_deg":11.9649992,"altitude":73,"angle":340,"satellites":41,"speed":7,"hex_longitude":"2d182400","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-08-22 16:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573803264001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14687980698468352,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702202880,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:00] local.INFO: IO Element Parsed {"io_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-22 16:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787397670000,"timestamp_ms":1787397670000,"timestamp_seconds":1787397670,"priority":1,"record_length":96,"hex_timestamp":"000001a029340470"} 
[2026-08-22 16:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-22 16:55:00] 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-22 16:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:55:00] 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-22 16:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573803264001,"66":13928,"105":206,"83":41984,"24":7,"16":14687980698468352,"45":1739515386702202880},"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-22 16:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573803264001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:55:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:55:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14687980698468352,"km_value":14687980698468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702202880,"description":"Unknown IO ID 45"} 
[2026-08-22 16:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573803264001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739515386702202880}} 
[2026-08-22 16:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":160153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:55:00] local.INFO: GPS data processed {"connection_id":160153,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:55:00] local.INFO: Acknowledgment sent {"connection_id":160153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:55:26] local.INFO: TCP Data received {"connection_id":160152,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:55:26] local.INFO: Processing buffer {"connection_id":160152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:55:26] local.INFO: Packet analysis {"connection_id":160152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:55:26] local.INFO: Extracted packet for processing {"connection_id":160152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:55:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573743104001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55: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-22 16:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787397735000,"timestamp_ms":1787397735000,"timestamp_seconds":1787397735,"priority":1,"record_length":96,"hex_timestamp":"000001a029350258"} 
[2026-08-22 16: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-22 16:55: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-22 16: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 16:55:26] 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-22 16: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-22 16: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-22 16:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573743104001,"66":25560,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573743104001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:55:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573743104001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":160152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:55:26] local.INFO: GPS data processed {"connection_id":160152,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:55:26] local.INFO: Acknowledgment sent {"connection_id":160152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:55:31] local.INFO: TCP Data received {"connection_id":160153,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029340858012d1823800721b7500049014129..."} 
[2026-08-22 16:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029340858012d1823800721b7500049014129..."} 
[2026-08-22 16:55:31] local.INFO: Processing buffer {"connection_id":160153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029340858012d1823800721b7500049014129..."} 
[2026-08-22 16:55:31] local.INFO: Packet analysis {"connection_id":160153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02934"} 
[2026-08-22 16:55:31] local.INFO: Extracted packet for processing {"connection_id":160153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02934"} 
[2026-08-22 16:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650128,"longitude_deg":75.6556672,"latitude_deg":11.9650128,"altitude":73,"angle":321,"satellites":41,"speed":5,"hex_longitude":"2d182380","hex_latitude":"0721b750","is_valid_coordinates":true} 
[2026-08-22 16:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573803520001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14687989288402944,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702252032,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:31] local.INFO: IO Element Parsed {"io_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-22 16:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787397671000,"timestamp_ms":1787397671000,"timestamp_seconds":1787397671,"priority":1,"record_length":96,"hex_timestamp":"000001a029340858"} 
[2026-08-22 16:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-22 16:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:55:31] 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-22 16:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573803520001,"66":14341,"105":206,"83":41984,"24":5,"16":14687989288402944,"45":1739515386702252032},"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-22 16:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573803520001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:55:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:55:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14687989288402944,"km_value":14687989288402.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702252032,"description":"Unknown IO ID 45"} 
[2026-08-22 16:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573803520001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739515386702252032}} 
[2026-08-22 16:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":160153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:55:31] local.INFO: GPS data processed {"connection_id":160153,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:55:31] local.INFO: Acknowledgment sent {"connection_id":160153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:55:52] local.INFO: TCP Data received {"connection_id":159904,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:55:52] local.INFO: Processing buffer {"connection_id":159904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:55:52] local.INFO: IMEI packet received {"connection_id":159904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":159904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:55:57] local.INFO: TCP Data received {"connection_id":159904,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:55:57] local.INFO: Processing buffer {"connection_id":159904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:55:57] local.INFO: IMEI packet received {"connection_id":159904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":159904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:55:58] local.INFO: TCP Data received {"connection_id":159904,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029345a60012d1823800721b7b8004901412a..."} 
[2026-08-22 16:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029345a60012d1823800721b7b8004901412a..."} 
[2026-08-22 16:55:58] local.INFO: Processing buffer {"connection_id":159904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029345a60012d1823800721b7b8004901412a..."} 
[2026-08-22 16:55:58] local.INFO: Packet analysis {"connection_id":159904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02934"} 
[2026-08-22 16:55:58] local.INFO: Extracted packet for processing {"connection_id":159904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02934"} 
[2026-08-22 16:55:58] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650232,"longitude_deg":75.6556672,"latitude_deg":11.9650232,"altitude":73,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b7b8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573803776001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688045122977792,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213931520,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787397692000,"timestamp_ms":1787397692000,"timestamp_seconds":1787397692,"priority":1,"record_length":96,"hex_timestamp":"000001a029345a60"} 
[2026-08-22 16: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-22 16:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 16:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6982021984,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:58] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2499805184,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:58] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503823732768768,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:58] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2494562376,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 16:55:58] local.WARNING: Large IO value detected {"io_id":154,"raw_value":4160826647,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:58] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84750205945586010,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:58] local.WARNING: Large IO value detected {"io_id":224,"raw_value":18014523751407616,"note":"Value kept but may cause issues"} 
[2026-08-22 16:55:58] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,46,160,4,45,182,73,41,10,66,72,240,192,1,163,227,33,113,205,31,154,249,152,42,239,56,2,52,7,70,32,206,96,224],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 16:55:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260557484095242240,"timestamp_seconds":5260557484095242.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 16: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-22 16:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:55: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-22 16:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573803776001,"66":12939,"105":206,"83":41984,"24":0,"16":14688045122977792,"45":1739374649213931520},"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-22 16:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573803776001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:55:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:55:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688045122977792,"km_value":14688045122977.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213931520,"description":"Unknown IO ID 45"} 
[2026-08-22 16:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573803776001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213931520}} 
[2026-08-22 16:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":159904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:55:58] local.INFO: GPS data processed {"connection_id":159904,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:55:58] local.INFO: Acknowledgment sent {"connection_id":159904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:55:59] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:55:59] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:55:59] local.INFO: IMEI packet received {"connection_id":159903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":159903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:55:59] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:55:59] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:55:59] local.INFO: IMEI packet received {"connection_id":159903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":159903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:56:00] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:56:00] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:56:00] local.INFO: Packet analysis {"connection_id":159903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:56:00] local.INFO: Extracted packet for processing {"connection_id":159903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:56:00] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 16:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573743104001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:56:00] 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-22 16:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787397735000,"timestamp_ms":1787397735000,"timestamp_seconds":1787397735,"priority":1,"record_length":96,"hex_timestamp":"000001a029350258"} 
[2026-08-22 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-22 16:56: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-22 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 16:56:00] 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-22 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-22 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-22 16:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573743104001,"66":25560,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573743104001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:56:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:56:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573743104001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":159903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:56:00] local.INFO: GPS data processed {"connection_id":159903,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:56:00] local.INFO: Acknowledgment sent {"connection_id":159903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:56:04] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:56:04] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:56:04] local.INFO: Packet analysis {"connection_id":159903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:56:04] local.INFO: Extracted packet for processing {"connection_id":159903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573743104001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:56:04] 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-22 16:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787397735000,"timestamp_ms":1787397735000,"timestamp_seconds":1787397735,"priority":1,"record_length":96,"hex_timestamp":"000001a029350258"} 
[2026-08-22 16:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:56: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-22 16:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 16:56:04] 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-22 16:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573743104001,"66":25560,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573743104001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:56:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573743104001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":159903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:56:04] local.INFO: GPS data processed {"connection_id":159903,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:56:04] local.INFO: Acknowledgment sent {"connection_id":159903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:56:29] local.INFO: TCP Data received {"connection_id":159904,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02934ac68012d1824c00721b850004901412a..."} 
[2026-08-22 16:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02934ac68012d1824c00721b850004901412a..."} 
[2026-08-22 16:56:29] local.INFO: Processing buffer {"connection_id":159904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02934ac68012d1824c00721b850004901412a..."} 
[2026-08-22 16:56:29] local.INFO: Packet analysis {"connection_id":159904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02934"} 
[2026-08-22 16:56:29] local.INFO: Extracted packet for processing {"connection_id":159904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02934"} 
[2026-08-22 16:56:29] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650384,"longitude_deg":75.6556992,"latitude_deg":11.9650384,"altitude":73,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573809152001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688062302846976,"note":"Value kept but may cause issues"} 
[2026-08-22 16:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213958144,"note":"Value kept but may cause issues"} 
[2026-08-22 16:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787397713000,"timestamp_ms":1787397713000,"timestamp_seconds":1787397713,"priority":1,"record_length":96,"hex_timestamp":"000001a02934ac68"} 
[2026-08-22 16: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-22 16:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 16:56:29] 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-22 16: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-22 16: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-22 16:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:56:29] 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-22 16:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573809152001,"66":12885,"105":206,"83":41984,"24":0,"16":14688062302846976,"45":1739374649213958144},"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-22 16:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573809152001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:56:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:56:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688062302846976,"km_value":14688062302846.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213958144,"description":"Unknown IO ID 45"} 
[2026-08-22 16:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573809152001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213958144}} 
[2026-08-22 16:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":159904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:56:29] local.INFO: GPS data processed {"connection_id":159904,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:56:29] local.INFO: Acknowledgment sent {"connection_id":159904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:56:48] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:56:48] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:56:48] local.INFO: IMEI packet received {"connection_id":162508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":162508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:56:53] local.INFO: TCP Data received {"connection_id":162509,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:56:53] local.INFO: Processing buffer {"connection_id":162509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:56:53] local.INFO: IMEI packet received {"connection_id":162509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":162509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:56:54] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:56:54] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:56:54] local.INFO: IMEI packet received {"connection_id":162508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":162508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:56:54] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:56:54] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:56:54] local.INFO: Packet analysis {"connection_id":162508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:56:54] local.INFO: Extracted packet for processing {"connection_id":162508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:56:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573743104001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:56:54] 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-22 16:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787397735000,"timestamp_ms":1787397735000,"timestamp_seconds":1787397735,"priority":1,"record_length":96,"hex_timestamp":"000001a029350258"} 
[2026-08-22 16:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 16:56:54] 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-22 16:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573743104001,"66":25560,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573743104001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:56:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:56:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573743104001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":162508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:56:54] local.INFO: GPS data processed {"connection_id":162508,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:56:54] local.INFO: Acknowledgment sent {"connection_id":162508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:56:57] local.INFO: TCP Data received {"connection_id":162509,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:56:57] local.INFO: Processing buffer {"connection_id":162509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:56:57] local.INFO: IMEI packet received {"connection_id":162509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":162509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:56:58] local.INFO: TCP Data received {"connection_id":162509,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0293832c0012d1824c00721b8500049014129..."} 
[2026-08-22 16:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293832c0012d1824c00721b8500049014129..."} 
[2026-08-22 16:56:58] local.INFO: Processing buffer {"connection_id":162509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293832c0012d1824c00721b8500049014129..."} 
[2026-08-22 16:56:58] local.INFO: Packet analysis {"connection_id":162509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02938"} 
[2026-08-22 16:56:58] local.INFO: Extracted packet for processing {"connection_id":162509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02938"} 
[2026-08-22 16:56:58] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650384,"longitude_deg":75.6556992,"latitude_deg":11.9650384,"altitude":73,"angle":321,"satellites":41,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573868288001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688062302846976,"note":"Value kept but may cause issues"} 
[2026-08-22 16:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934885376,"note":"Value kept but may cause issues"} 
[2026-08-22 16:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787397944000,"timestamp_ms":1787397944000,"timestamp_seconds":1787397944,"priority":1,"record_length":96,"hex_timestamp":"000001a0293832c0"} 
[2026-08-22 16: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-22 16:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-08-22 16:56:58] 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-22 16: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-22 16: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-22 16:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:56: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-22 16:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573868288001,"66":12743,"105":206,"83":41984,"24":0,"16":14688062302846976,"45":1739726492934885376},"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-22 16:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573868288001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:56:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:56:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688062302846976,"km_value":14688062302846.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934885376,"description":"Unknown IO ID 45"} 
[2026-08-22 16:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573868288001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934885376}} 
[2026-08-22 16:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":162509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:56:58] local.INFO: GPS data processed {"connection_id":162509,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:56:58] local.INFO: Acknowledgment sent {"connection_id":162509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:57:26] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:57:26] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029350258012d7fac4005afe1d80002006624..."} 
[2026-08-22 16:57:26] local.INFO: Packet analysis {"connection_id":162508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:57:26] local.INFO: Extracted packet for processing {"connection_id":162508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02935"} 
[2026-08-22 16:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":2,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573743104001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:57: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-22 16:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787397735000,"timestamp_ms":1787397735000,"timestamp_seconds":1787397735,"priority":1,"record_length":96,"hex_timestamp":"000001a029350258"} 
[2026-08-22 16: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-22 16:57: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-22 16: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 16:57:26] 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-22 16: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-22 16: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-22 16:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573743104001,"66":25560,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 16:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573743104001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:57:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 16:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573743104001,"power":25560,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":162508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:57:26] local.INFO: GPS data processed {"connection_id":162508,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:57:26] local.INFO: Acknowledgment sent {"connection_id":162508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:57:28] local.INFO: TCP Data received {"connection_id":162509,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029387cf8012d1823800721b7f8004600c62a..."} 
[2026-08-22 16:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029387cf8012d1823800721b7f8004600c62a..."} 
[2026-08-22 16:57:28] local.INFO: Processing buffer {"connection_id":162509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029387cf8012d1823800721b7f8004600c62a..."} 
[2026-08-22 16:57:28] local.INFO: Packet analysis {"connection_id":162509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02938"} 
[2026-08-22 16:57:28] local.INFO: Extracted packet for processing {"connection_id":162509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02938"} 
[2026-08-22 16:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650296,"longitude_deg":75.6556672,"latitude_deg":11.9650296,"altitude":70,"angle":198,"satellites":42,"speed":5,"hex_longitude":"2d182380","hex_latitude":"0721b7f8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573873664001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688079482716160,"note":"Value kept but may cause issues"} 
[2026-08-22 16:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934885376,"note":"Value kept but may cause issues"} 
[2026-08-22 16:57:28] local.INFO: IO Element Parsed {"io_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-22 16:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787397963000,"timestamp_ms":1787397963000,"timestamp_seconds":1787397963,"priority":1,"record_length":96,"hex_timestamp":"000001a029387cf8"} 
[2026-08-22 16: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-22 16:57:28] 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-22 16: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-22 16:57:28] 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-22 16: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-22 16: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-22 16:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:57:28] 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-22 16:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573873664001,"66":12689,"105":206,"83":41984,"24":5,"16":14688079482716160,"45":1739726492934885376},"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-22 16:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573873664001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:57:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688079482716160,"km_value":14688079482716.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934885376,"description":"Unknown IO ID 45"} 
[2026-08-22 16:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573873664001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739726492934885376}} 
[2026-08-22 16:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":162509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:57:29] local.INFO: GPS data processed {"connection_id":162509,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:57:29] local.INFO: Acknowledgment sent {"connection_id":162509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:57:49] local.INFO: TCP Data received {"connection_id":160154,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:57:49] local.INFO: Processing buffer {"connection_id":160154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:57:49] local.INFO: IMEI packet received {"connection_id":160154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":160154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:57:52] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:57:52] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:57:52] local.INFO: IMEI packet received {"connection_id":159905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":159905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:57:54] local.INFO: TCP Data received {"connection_id":160154,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:57:54] local.INFO: Processing buffer {"connection_id":160154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:57:54] local.INFO: IMEI packet received {"connection_id":160154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":160154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:57:54] local.INFO: TCP Data received {"connection_id":160154,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:57:54] local.INFO: Processing buffer {"connection_id":160154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:57:54] local.INFO: Packet analysis {"connection_id":160154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 16:57:54] local.INFO: Extracted packet for processing {"connection_id":160154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 16:57:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573820160001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:57: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-22 16:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787398035000,"timestamp_ms":1787398035000,"timestamp_seconds":1787398035,"priority":1,"record_length":96,"hex_timestamp":"000001a029399638"} 
[2026-08-22 16:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573820160001,"66":25582,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 16:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573820160001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:57:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 16:57:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573820160001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":160154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:57:54] local.INFO: GPS data processed {"connection_id":160154,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:57:54] local.INFO: Acknowledgment sent {"connection_id":160154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:57:57] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:57:57] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:57:57] local.INFO: IMEI packet received {"connection_id":159905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":159905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:57:58] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0293880e0012d1823800721b768004600b929..."} 
[2026-08-22 16:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293880e0012d1823800721b768004600b929..."} 
[2026-08-22 16:57:58] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293880e0012d1823800721b768004600b929..."} 
[2026-08-22 16:57:58] local.INFO: Packet analysis {"connection_id":159905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02938"} 
[2026-08-22 16:57:58] local.INFO: Extracted packet for processing {"connection_id":159905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02938"} 
[2026-08-22 16:57:58] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650152,"longitude_deg":75.6556672,"latitude_deg":11.9650152,"altitude":70,"angle":185,"satellites":41,"speed":5,"hex_longitude":"2d182380","hex_latitude":"0721b768","is_valid_coordinates":true} 
[2026-08-22 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-22 16:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573878528001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688083777683456,"note":"Value kept but may cause issues"} 
[2026-08-22 16:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213974528,"note":"Value kept but may cause issues"} 
[2026-08-22 16:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787397964000,"timestamp_ms":1787397964000,"timestamp_seconds":1787397964,"priority":1,"record_length":96,"hex_timestamp":"000001a0293880e0"} 
[2026-08-22 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-22 16:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 16:57:58] 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-22 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-22 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-22 16:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:57: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-22 16:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573878528001,"66":12689,"105":206,"83":41984,"24":5,"16":14688083777683456,"45":1739374649213974528},"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-22 16:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573878528001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:57:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:57:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688083777683456,"km_value":14688083777683.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213974528,"description":"Unknown IO ID 45"} 
[2026-08-22 16:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573878528001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739374649213974528}} 
[2026-08-22 16:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":159905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:57:58] local.INFO: GPS data processed {"connection_id":159905,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:57:58] local.INFO: Acknowledgment sent {"connection_id":159905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:58:26] local.INFO: TCP Data received {"connection_id":160154,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:58:26] local.INFO: Processing buffer {"connection_id":160154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:58:26] local.INFO: Packet analysis {"connection_id":160154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 16:58:26] local.INFO: Extracted packet for processing {"connection_id":160154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 16:58:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573820160001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:58: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-22 16:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787398035000,"timestamp_ms":1787398035000,"timestamp_seconds":1787398035,"priority":1,"record_length":96,"hex_timestamp":"000001a029399638"} 
[2026-08-22 16:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:58: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-22 16:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573820160001,"66":25582,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 16:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573820160001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:58:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 16:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573820160001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":160154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:58:26] local.INFO: GPS data processed {"connection_id":160154,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:58:26] local.INFO: Acknowledgment sent {"connection_id":160154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:58:29] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0293888b0012d1823400721b640004600ca29..."} 
[2026-08-22 16:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293888b0012d1823400721b640004600ca29..."} 
[2026-08-22 16:58:29] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293888b0012d1823400721b640004600ca29..."} 
[2026-08-22 16:58:29] local.INFO: Packet analysis {"connection_id":159905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02938"} 
[2026-08-22 16:58:29] local.INFO: Extracted packet for processing {"connection_id":159905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02938"} 
[2026-08-22 16:58:29] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649856,"longitude_deg":75.6556608,"latitude_deg":11.9649856,"altitude":70,"angle":202,"satellites":41,"speed":6,"hex_longitude":"2d182340","hex_latitude":"0721b640","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573878784001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688100957552640,"note":"Value kept but may cause issues"} 
[2026-08-22 16:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213937664,"note":"Value kept but may cause issues"} 
[2026-08-22 16:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787397966000,"timestamp_ms":1787397966000,"timestamp_seconds":1787397966,"priority":1,"record_length":96,"hex_timestamp":"000001a0293888b0"} 
[2026-08-22 16: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-22 16:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 16:58:29] 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-22 16: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-22 16: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-22 16:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:58:29] 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-22 16:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573878784001,"66":12711,"105":206,"83":41984,"24":6,"16":14688100957552640,"45":1739374649213937664},"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-22 16:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573878784001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:58:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:58:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688100957552640,"km_value":14688100957552.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213937664,"description":"Unknown IO ID 45"} 
[2026-08-22 16:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573878784001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739374649213937664}} 
[2026-08-22 16:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":159905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:58:29] local.INFO: GPS data processed {"connection_id":159905,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:58:29] local.INFO: Acknowledgment sent {"connection_id":159905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:58:48] local.INFO: TCP Data received {"connection_id":160155,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:58:48] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:58:48] local.INFO: IMEI packet received {"connection_id":160155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":160155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:58:52] local.INFO: TCP Data received {"connection_id":161076,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:58:52] local.INFO: Processing buffer {"connection_id":161076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:58:52] local.INFO: IMEI packet received {"connection_id":161076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":161076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:58:52] local.INFO: TCP Data received {"connection_id":161076,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:58:52] local.INFO: Processing buffer {"connection_id":161076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:58:52] local.INFO: IMEI packet received {"connection_id":161076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":161076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:58:54] local.INFO: TCP Data received {"connection_id":160155,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:58:54] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:58:54] local.INFO: IMEI packet received {"connection_id":160155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":160155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:58:54] local.INFO: TCP Data received {"connection_id":160155,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:58:54] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:58:54] local.INFO: Packet analysis {"connection_id":160155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 16:58:54] local.INFO: Extracted packet for processing {"connection_id":160155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 16:58:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16: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-22 16:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573820160001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:58: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-22 16:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787398035000,"timestamp_ms":1787398035000,"timestamp_seconds":1787398035,"priority":1,"record_length":96,"hex_timestamp":"000001a029399638"} 
[2026-08-22 16: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-22 16:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16: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-22 16: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-22 16:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573820160001,"66":25582,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 16:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573820160001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:58:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 16:58:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573820160001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":160155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:58:54] local.INFO: GPS data processed {"connection_id":160155,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:58:54] local.INFO: Acknowledgment sent {"connection_id":160155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:58:57] local.INFO: TCP Data received {"connection_id":161076,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:58:57] local.INFO: Processing buffer {"connection_id":161076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:58:57] local.INFO: IMEI packet received {"connection_id":161076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 16:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":161076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:58:58] local.INFO: TCP Data received {"connection_id":161076,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029389080012d1823000721b578004600e02a..."} 
[2026-08-22 16:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029389080012d1823000721b578004600e02a..."} 
[2026-08-22 16:58:58] local.INFO: Processing buffer {"connection_id":161076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029389080012d1823000721b578004600e02a..."} 
[2026-08-22 16:58:58] local.INFO: Packet analysis {"connection_id":161076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02938"} 
[2026-08-22 16:58:58] local.INFO: Extracted packet for processing {"connection_id":161076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02938"} 
[2026-08-22 16:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649656,"longitude_deg":75.6556544,"latitude_deg":11.9649656,"altitude":70,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-08-22 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-22 16:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573879296001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688109547487232,"note":"Value kept but may cause issues"} 
[2026-08-22 16:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469684224,"note":"Value kept but may cause issues"} 
[2026-08-22 16:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787397968000,"timestamp_ms":1787397968000,"timestamp_seconds":1787397968,"priority":1,"record_length":96,"hex_timestamp":"000001a029389080"} 
[2026-08-22 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-22 16:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-22 16:58:58] 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-22 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-22 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-22 16:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:58: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-22 16:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573879296001,"66":12667,"105":206,"83":41984,"24":0,"16":14688109547487232,"45":1739304280469684224},"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-22 16:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573879296001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:58:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688109547487232,"km_value":14688109547487.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469684224,"description":"Unknown IO ID 45"} 
[2026-08-22 16:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573879296001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469684224}} 
[2026-08-22 16:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":161076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:58:58] local.INFO: GPS data processed {"connection_id":161076,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:58:58] local.INFO: Acknowledgment sent {"connection_id":161076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:59:26] local.INFO: TCP Data received {"connection_id":160155,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:59:26] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:59:26] local.INFO: Packet analysis {"connection_id":160155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 16:59:26] local.INFO: Extracted packet for processing {"connection_id":160155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 16:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573820160001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:59: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-22 16:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787398035000,"timestamp_ms":1787398035000,"timestamp_seconds":1787398035,"priority":1,"record_length":96,"hex_timestamp":"000001a029399638"} 
[2026-08-22 16:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:59: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-22 16:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573820160001,"66":25582,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 16:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573820160001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:59:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 16:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573820160001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":160155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:59:26] local.INFO: GPS data processed {"connection_id":160155,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:59:26] local.INFO: Acknowledgment sent {"connection_id":160155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:59:29] local.INFO: TCP Data received {"connection_id":161076,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02938e288012d1823000721b578004700e027..."} 
[2026-08-22 16:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02938e288012d1823000721b578004700e027..."} 
[2026-08-22 16:59:29] local.INFO: Processing buffer {"connection_id":161076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02938e288012d1823000721b578004700e027..."} 
[2026-08-22 16:59:29] local.INFO: Packet analysis {"connection_id":161076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02938"} 
[2026-08-22 16:59:29] local.INFO: Extracted packet for processing {"connection_id":161076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02938"} 
[2026-08-22 16:59:29] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649656,"longitude_deg":75.6556544,"latitude_deg":11.9649656,"altitude":71,"angle":224,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-08-22 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-22 16:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573879808001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688109547487232,"note":"Value kept but may cause issues"} 
[2026-08-22 16:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725455360,"note":"Value kept but may cause issues"} 
[2026-08-22 16:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 16:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787397989000,"timestamp_ms":1787397989000,"timestamp_seconds":1787397989,"priority":1,"record_length":96,"hex_timestamp":"000001a02938e288"} 
[2026-08-22 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-22 16:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-22 16:59:29] 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-22 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-22 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-22 16:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 16:59:29] 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-22 16:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 16:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 16:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573879808001,"66":12232,"105":206,"83":41984,"24":0,"16":14688109547487232,"45":1739233911725455360},"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-22 16:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 16:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 16:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573879808001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:59:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 16:59:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 16:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688109547487232,"km_value":14688109547487.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725455360,"description":"Unknown IO ID 45"} 
[2026-08-22 16:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573879808001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725455360}} 
[2026-08-22 16:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":161076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:59:29] local.INFO: GPS data processed {"connection_id":161076,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:59:29] local.INFO: Acknowledgment sent {"connection_id":161076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:59:48] local.INFO: TCP Data received {"connection_id":160156,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:59:48] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:59:48] local.INFO: IMEI packet received {"connection_id":160156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 16:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":160156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 16:59:54] local.INFO: TCP Data received {"connection_id":160156,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:59:54] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 16:59:54] local.INFO: IMEI packet received {"connection_id":160156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 16:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":160156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 16:59:54] local.INFO: TCP Data received {"connection_id":160156,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:59:54] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 16:59:54] local.INFO: Packet analysis {"connection_id":160156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 16:59:54] local.INFO: Extracted packet for processing {"connection_id":160156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 16:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 16:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 16:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573820160001,"note":"Value kept but may cause issues"} 
[2026-08-22 16:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 16:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 16:59: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-22 16:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787398035000,"timestamp_ms":1787398035000,"timestamp_seconds":1787398035,"priority":1,"record_length":96,"hex_timestamp":"000001a029399638"} 
[2026-08-22 16:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 16:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 16:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 16:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 16:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 16:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 16:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 16:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 16:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 16:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 16:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 16:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 16:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573820160001,"66":25582,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 16:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 16:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 16:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573820160001,"description":"Unknown IO ID 0"} 
[2026-08-22 16:59:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 16:59:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 16:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 16:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 16:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573820160001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 16:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":160156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 16:59:54] local.INFO: GPS data processed {"connection_id":160156,"processed":1,"errors":0,"total":1} 
[2026-08-22 16:59:54] local.INFO: Acknowledgment sent {"connection_id":160156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 16:59:57] local.INFO: TCP Data received {"connection_id":159906,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:59:57] local.INFO: Processing buffer {"connection_id":159906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 16:59:57] local.INFO: IMEI packet received {"connection_id":159906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 16:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":159906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:00:02] local.INFO: TCP Data received {"connection_id":159906,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:00:02] local.INFO: Processing buffer {"connection_id":159906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:00:02] local.INFO: IMEI packet received {"connection_id":159906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":159906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:00:03] local.INFO: TCP Data received {"connection_id":159906,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029393490012d1823000721b578004700e02a..."} 
[2026-08-22 17:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029393490012d1823000721b578004700e02a..."} 
[2026-08-22 17:00:03] local.INFO: Processing buffer {"connection_id":159906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029393490012d1823000721b578004700e02a..."} 
[2026-08-22 17:00:03] local.INFO: Packet analysis {"connection_id":159906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:00:03] local.INFO: Extracted packet for processing {"connection_id":159906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649656,"longitude_deg":75.6556544,"latitude_deg":11.9649656,"altitude":71,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-08-22 17:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573885184001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688109547487232,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725455360,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787398010000,"timestamp_ms":1787398010000,"timestamp_seconds":1787398010,"priority":1,"record_length":96,"hex_timestamp":"000001a029393490"} 
[2026-08-22 17:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 17:00:03] 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-22 17:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:00:03] 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-22 17:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573885184001,"66":12558,"105":206,"83":41984,"24":0,"16":14688109547487232,"45":1739233911725455360},"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-22 17:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573885184001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:00:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:00:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688109547487232,"km_value":14688109547487.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725455360,"description":"Unknown IO ID 45"} 
[2026-08-22 17:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573885184001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725455360}} 
[2026-08-22 17:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":159906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:00:03] local.INFO: GPS data processed {"connection_id":159906,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:00:03] local.INFO: Acknowledgment sent {"connection_id":159906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:00:07] local.INFO: TCP Data received {"connection_id":159906,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029398698012d1823000721b578004700e02a..."} 
[2026-08-22 17:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029398698012d1823000721b578004700e02a..."} 
[2026-08-22 17:00:07] local.INFO: Processing buffer {"connection_id":159906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029398698012d1823000721b578004700e02a..."} 
[2026-08-22 17:00:07] local.INFO: Packet analysis {"connection_id":159906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:00:07] local.INFO: Extracted packet for processing {"connection_id":159906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649656,"longitude_deg":75.6556544,"latitude_deg":11.9649656,"altitude":71,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-08-22 17:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573890560001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688109547487232,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725455360,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:07] local.INFO: IO Element Parsed {"io_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-22 17:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787398031000,"timestamp_ms":1787398031000,"timestamp_seconds":1787398031,"priority":1,"record_length":96,"hex_timestamp":"000001a029398698"} 
[2026-08-22 17:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:00: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-22 17:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-22 17:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:07] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3221225472,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249387538319784016,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3077046342,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 17:00:07] local.WARNING: Large IO value detected {"io_id":124,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:07] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951031,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:07] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:07] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:07] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,46,160,226,45,181,71,39,10,66,144,70,42,136,64,1,240,167,227,41,33,4,113,205,5,124,35,248,239,49,2,52,7,73,106,93,206],"length":575,"final_offset":705,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 17:00:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116335647686131712,"timestamp_seconds":5116335647686132.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 17:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:00:07] 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-22 17:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573890560001,"66":12667,"105":206,"83":41984,"24":0,"16":14688109547487232,"45":1739233911725455360},"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-22 17:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573890560001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:00:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688109547487232,"km_value":14688109547487.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725455360,"description":"Unknown IO ID 45"} 
[2026-08-22 17:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573890560001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725455360}} 
[2026-08-22 17:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":159906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:00:07] local.INFO: GPS data processed {"connection_id":159906,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:00:07] local.INFO: Acknowledgment sent {"connection_id":159906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:00:26] local.INFO: TCP Data received {"connection_id":160156,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:00:26] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:00:26] local.INFO: Packet analysis {"connection_id":160156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:00:26] local.INFO: Extracted packet for processing {"connection_id":160156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:00:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573820160001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00: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-22 17:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787398035000,"timestamp_ms":1787398035000,"timestamp_seconds":1787398035,"priority":1,"record_length":96,"hex_timestamp":"000001a029399638"} 
[2026-08-22 17: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-22 17:00: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-22 17:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 17:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573820160001,"66":25582,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573820160001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:00:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:00:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 17:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573820160001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 17:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":160156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:00:26] local.INFO: GPS data processed {"connection_id":160156,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:00:26] local.INFO: Acknowledgment sent {"connection_id":160156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:00:50] local.INFO: TCP Data received {"connection_id":161077,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:00:50] local.INFO: Processing buffer {"connection_id":161077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:00:50] local.INFO: IMEI packet received {"connection_id":161077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":161077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:00:52] local.INFO: TCP Data received {"connection_id":161077,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:00:52] local.INFO: Processing buffer {"connection_id":161077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:00:52] local.INFO: IMEI packet received {"connection_id":161077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":161077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:00:54] local.INFO: TCP Data received {"connection_id":161078,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:00:54] local.INFO: Processing buffer {"connection_id":161078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:00:54] local.INFO: IMEI packet received {"connection_id":161078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":161078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:00:57] local.INFO: TCP Data received {"connection_id":161077,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:00:57] local.INFO: Processing buffer {"connection_id":161077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:00:57] local.INFO: IMEI packet received {"connection_id":161077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":161077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:00:58] local.INFO: TCP Data received {"connection_id":161077,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02939d8a0012d1823000721b578004700e02a..."} 
[2026-08-22 17:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02939d8a0012d1823000721b578004700e02a..."} 
[2026-08-22 17:00:58] local.INFO: Processing buffer {"connection_id":161077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02939d8a0012d1823000721b578004700e02a..."} 
[2026-08-22 17:00:58] local.INFO: Packet analysis {"connection_id":161077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:00:58] local.INFO: Extracted packet for processing {"connection_id":161077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:00:58] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649656,"longitude_deg":75.6556544,"latitude_deg":11.9649656,"altitude":71,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573895936001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688109547487232,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725455360,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787398052000,"timestamp_ms":1787398052000,"timestamp_seconds":1787398052,"priority":1,"record_length":96,"hex_timestamp":"000001a02939d8a0"} 
[2026-08-22 17: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-22 17:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-22 17:00:58] 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-22 17: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-22 17: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-22 17:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:00: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-22 17:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573895936001,"66":12667,"105":206,"83":41984,"24":0,"16":14688109547487232,"45":1739233911725455360},"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-22 17:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573895936001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:00:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:00:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688109547487232,"km_value":14688109547487.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725455360,"description":"Unknown IO ID 45"} 
[2026-08-22 17:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573895936001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725455360}} 
[2026-08-22 17:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":161077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:00:58] local.INFO: GPS data processed {"connection_id":161077,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:00:58] local.INFO: Acknowledgment sent {"connection_id":161077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:00:59] local.INFO: TCP Data received {"connection_id":161078,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:00:59] local.INFO: Processing buffer {"connection_id":161078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:00:59] local.INFO: IMEI packet received {"connection_id":161078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":161078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:00:59] local.INFO: TCP Data received {"connection_id":161078,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:00:59] local.INFO: Processing buffer {"connection_id":161078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:00:59] local.INFO: Packet analysis {"connection_id":161078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:00:59] local.INFO: Extracted packet for processing {"connection_id":161078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573820160001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 17:00: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-22 17:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787398035000,"timestamp_ms":1787398035000,"timestamp_seconds":1787398035,"priority":1,"record_length":96,"hex_timestamp":"000001a029399638"} 
[2026-08-22 17: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-22 17: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-22 17: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 17:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573820160001,"66":25582,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573820160001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:00:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:00:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 17:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573820160001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 17:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":161078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:00:59] local.INFO: GPS data processed {"connection_id":161078,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:00:59] local.INFO: Acknowledgment sent {"connection_id":161078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:01:03] local.INFO: TCP Data received {"connection_id":161077,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0293a2aa8012d1823000721b578004700e029..."} 
[2026-08-22 17:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293a2aa8012d1823000721b578004700e029..."} 
[2026-08-22 17:01:03] local.INFO: Processing buffer {"connection_id":161077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293a2aa8012d1823000721b578004700e029..."} 
[2026-08-22 17:01:03] local.INFO: Packet analysis {"connection_id":161077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293a"} 
[2026-08-22 17:01:03] local.INFO: Extracted packet for processing {"connection_id":161077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293a"} 
[2026-08-22 17:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649656,"longitude_deg":75.6556544,"latitude_deg":11.9649656,"altitude":71,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-08-22 17:01: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-22 17:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573901312001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688109547487232,"note":"Value kept but may cause issues"} 
[2026-08-22 17:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725455360,"note":"Value kept but may cause issues"} 
[2026-08-22 17:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787398073000,"timestamp_ms":1787398073000,"timestamp_seconds":1787398073,"priority":1,"record_length":96,"hex_timestamp":"000001a0293a2aa8"} 
[2026-08-22 17:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:01: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":123,"data_length":795,"current_offset":136} 
[2026-08-22 17:01:03] 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-22 17:01: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-22 17:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:01:03] 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-22 17:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573901312001,"66":12667,"105":206,"83":41984,"24":0,"16":14688109547487232,"45":1739233911725455360},"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-22 17:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573901312001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:01:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688109547487232,"km_value":14688109547487.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725455360,"description":"Unknown IO ID 45"} 
[2026-08-22 17:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573901312001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725455360}} 
[2026-08-22 17:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":161077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:01:03] local.INFO: GPS data processed {"connection_id":161077,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:01:03] local.INFO: Acknowledgment sent {"connection_id":161077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:01:04] local.INFO: TCP Data received {"connection_id":161078,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:01:04] local.INFO: Processing buffer {"connection_id":161078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:01:04] local.INFO: Packet analysis {"connection_id":161078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:01:04] local.INFO: Extracted packet for processing {"connection_id":161078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 17:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573820160001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 17:01:04] 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-22 17:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787398035000,"timestamp_ms":1787398035000,"timestamp_seconds":1787398035,"priority":1,"record_length":96,"hex_timestamp":"000001a029399638"} 
[2026-08-22 17:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:01: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-22 17:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 17:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573820160001,"66":25582,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573820160001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:01:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 17:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573820160001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 17:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":161078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:01:04] local.INFO: GPS data processed {"connection_id":161078,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:01:04] local.INFO: Acknowledgment sent {"connection_id":161078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:01:19] local.INFO: TCP Data received {"connection_id":160157,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:01:19] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:01:19] local.INFO: IMEI packet received {"connection_id":160157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 17:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":160157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:01:19] local.INFO: TCP Data received {"connection_id":160157,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:01:19] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:01:19] local.INFO: IMEI packet received {"connection_id":160157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":160157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:01:24] local.INFO: TCP Data received {"connection_id":160157,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:01:24] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:01:24] local.INFO: IMEI packet received {"connection_id":160157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":160157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:01:25] local.INFO: TCP Data received {"connection_id":160157,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-22 17:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-22 17:01:25] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-22 17:01:25] local.INFO: Packet analysis {"connection_id":160157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-22 17:01:25] local.INFO: Extracted packet for processing {"connection_id":160157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-22 17:01:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-22 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-22 17:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122267462535217152,"note":"Value kept but may cause issues"} 
[2026-08-22 17:01:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,216,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-22 17:01:25] 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-22 17:01:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 17:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160157,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160157,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-22 17:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160157,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-22 17:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 17:01:25] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 17:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":160157,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 17:01:25] local.ERROR: GPS data processing failed {"connection_id":160157,"error":"No valid data to process"} 
[2026-08-22 17:01:25] local.INFO: Acknowledgment sent {"connection_id":160157,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 17:01:34] local.INFO: TCP Data received {"connection_id":161077,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0293a7cb0012d1823000721b578004700e029..."} 
[2026-08-22 17:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293a7cb0012d1823000721b578004700e029..."} 
[2026-08-22 17:01:34] local.INFO: Processing buffer {"connection_id":161077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293a7cb0012d1823000721b578004700e029..."} 
[2026-08-22 17:01:34] local.INFO: Packet analysis {"connection_id":161077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293a"} 
[2026-08-22 17:01:34] local.INFO: Extracted packet for processing {"connection_id":161077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293a"} 
[2026-08-22 17:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649656,"longitude_deg":75.6556544,"latitude_deg":11.9649656,"altitude":71,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573906688001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688109547487232,"note":"Value kept but may cause issues"} 
[2026-08-22 17:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725455360,"note":"Value kept but may cause issues"} 
[2026-08-22 17:01: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-22 17:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787398094000,"timestamp_ms":1787398094000,"timestamp_seconds":1787398094,"priority":1,"record_length":96,"hex_timestamp":"000001a0293a7cb0"} 
[2026-08-22 17: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-22 17:01:34] 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-22 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-22 17:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:01:34] 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-22 17:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573906688001,"66":12689,"105":206,"83":41984,"24":0,"16":14688109547487232,"45":1739233911725455360},"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-22 17:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573906688001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:01:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688109547487232,"km_value":14688109547487.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725455360,"description":"Unknown IO ID 45"} 
[2026-08-22 17:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573906688001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725455360}} 
[2026-08-22 17:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":161077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:01:34] local.INFO: GPS data processed {"connection_id":161077,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:01:34] local.INFO: Acknowledgment sent {"connection_id":161077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:01:49] local.INFO: TCP Data received {"connection_id":159907,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:01:49] local.INFO: Processing buffer {"connection_id":159907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:01:49] local.INFO: IMEI packet received {"connection_id":159907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":159907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:01:52] local.INFO: TCP Data received {"connection_id":162510,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:01:52] local.INFO: Processing buffer {"connection_id":162510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:01:52] local.INFO: IMEI packet received {"connection_id":162510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":162510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:01:53] local.INFO: TCP Data received {"connection_id":162510,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:01:53] local.INFO: Processing buffer {"connection_id":162510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:01:53] local.INFO: IMEI packet received {"connection_id":162510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":162510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:01:54] local.INFO: TCP Data received {"connection_id":159907,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:01:54] local.INFO: Processing buffer {"connection_id":159907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:01:54] local.INFO: IMEI packet received {"connection_id":159907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":159907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:01:54] local.INFO: TCP Data received {"connection_id":159907,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:01:54] local.INFO: Processing buffer {"connection_id":159907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:01:54] local.INFO: Packet analysis {"connection_id":159907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:01:54] local.INFO: Extracted packet for processing {"connection_id":159907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 17:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573820160001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 17:01: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-22 17:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787398035000,"timestamp_ms":1787398035000,"timestamp_seconds":1787398035,"priority":1,"record_length":96,"hex_timestamp":"000001a029399638"} 
[2026-08-22 17:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 17:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573820160001,"66":25582,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573820160001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:01:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:01:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 17:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573820160001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 17:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":159907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:01:54] local.INFO: GPS data processed {"connection_id":159907,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:01:54] local.INFO: Acknowledgment sent {"connection_id":159907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:01:57] local.INFO: TCP Data received {"connection_id":162510,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:01:57] local.INFO: Processing buffer {"connection_id":162510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:01:57] local.INFO: IMEI packet received {"connection_id":162510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":162510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:01:58] local.INFO: TCP Data received {"connection_id":162510,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0293aaf78012d1822800721b498004600d22b..."} 
[2026-08-22 17:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293aaf78012d1822800721b498004600d22b..."} 
[2026-08-22 17:01:58] local.INFO: Processing buffer {"connection_id":162510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293aaf78012d1822800721b498004600d22b..."} 
[2026-08-22 17:01:58] local.INFO: Packet analysis {"connection_id":162510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293a"} 
[2026-08-22 17:01:58] local.INFO: Extracted packet for processing {"connection_id":162510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293a"} 
[2026-08-22 17:01:58] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649432,"longitude_deg":75.6556416,"latitude_deg":11.9649432,"altitude":70,"angle":210,"satellites":43,"speed":2,"hex_longitude":"2d182280","hex_latitude":"0721b498","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573912064001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688126727356416,"note":"Value kept but may cause issues"} 
[2026-08-22 17:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725455360,"note":"Value kept but may cause issues"} 
[2026-08-22 17:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787398107000,"timestamp_ms":1787398107000,"timestamp_seconds":1787398107,"priority":1,"record_length":96,"hex_timestamp":"000001a0293aaf78"} 
[2026-08-22 17: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-22 17:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 17:01:58] 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-22 17: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-22 17: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-22 17:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:01: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-22 17:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573912064001,"66":12678,"105":206,"83":41984,"24":2,"16":14688126727356416,"45":1739233911725455360},"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-22 17:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573912064001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:01:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:01:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688126727356416,"km_value":14688126727356.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725455360,"description":"Unknown IO ID 45"} 
[2026-08-22 17:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573912064001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739233911725455360}} 
[2026-08-22 17:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":162510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:01:58] local.INFO: GPS data processed {"connection_id":162510,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:01:58] local.INFO: Acknowledgment sent {"connection_id":162510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:02:02] local.INFO: TCP Data received {"connection_id":162510,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0293b0180012d1821c00721b3e8004600cd29..."} 
[2026-08-22 17:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293b0180012d1821c00721b3e8004600cd29..."} 
[2026-08-22 17:02:02] local.INFO: Processing buffer {"connection_id":162510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293b0180012d1821c00721b3e8004600cd29..."} 
[2026-08-22 17:02:02] local.INFO: Packet analysis {"connection_id":162510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293b"} 
[2026-08-22 17:02:02] local.INFO: Extracted packet for processing {"connection_id":162510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293b"} 
[2026-08-22 17:02:02] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649256,"longitude_deg":75.6556224,"latitude_deg":11.9649256,"altitude":70,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-22 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-22 17:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573915392001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688139612258304,"note":"Value kept but may cause issues"} 
[2026-08-22 17:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237042688,"note":"Value kept but may cause issues"} 
[2026-08-22 17:02:02] local.INFO: IO Element Parsed {"io_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-22 17:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787398128000,"timestamp_ms":1787398128000,"timestamp_seconds":1787398128,"priority":1,"record_length":96,"hex_timestamp":"000001a0293b0180"} 
[2026-08-22 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-22 17:02: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-22 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-22 17:02:02] 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-22 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-22 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-22 17:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:02: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-22 17:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573915392001,"66":12667,"105":206,"83":41984,"24":0,"16":14688139612258304,"45":1739093174237042688},"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-22 17:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573915392001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:02:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:02:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688139612258304,"km_value":14688139612258.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237042688,"description":"Unknown IO ID 45"} 
[2026-08-22 17:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573915392001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237042688}} 
[2026-08-22 17:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":162510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:02:02] local.INFO: GPS data processed {"connection_id":162510,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:02:02] local.INFO: Acknowledgment sent {"connection_id":162510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:02:25] local.INFO: TCP Data received {"connection_id":159907,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:02:25] local.INFO: Processing buffer {"connection_id":159907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:02:25] local.INFO: Packet analysis {"connection_id":159907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:02:25] local.INFO: Extracted packet for processing {"connection_id":159907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:02:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 17:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573820160001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 17:02: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-22 17:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787398035000,"timestamp_ms":1787398035000,"timestamp_seconds":1787398035,"priority":1,"record_length":96,"hex_timestamp":"000001a029399638"} 
[2026-08-22 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-22 17:02: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-22 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 17:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 17:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573820160001,"66":25582,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573820160001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:02:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:02:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 17:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573820160001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 17:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":159907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:02:25] local.INFO: GPS data processed {"connection_id":159907,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:02:25] local.INFO: Acknowledgment sent {"connection_id":159907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:02:34] local.INFO: TCP Data received {"connection_id":162510,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0293b5388012d1821c00721b3e8004600cd29..."} 
[2026-08-22 17:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293b5388012d1821c00721b3e8004600cd29..."} 
[2026-08-22 17:02:34] local.INFO: Processing buffer {"connection_id":162510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293b5388012d1821c00721b3e8004600cd29..."} 
[2026-08-22 17:02:34] local.INFO: Packet analysis {"connection_id":162510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293b"} 
[2026-08-22 17:02:34] local.INFO: Extracted packet for processing {"connection_id":162510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293b"} 
[2026-08-22 17:02:34] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649256,"longitude_deg":75.6556224,"latitude_deg":11.9649256,"altitude":70,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573920768001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688139612258304,"note":"Value kept but may cause issues"} 
[2026-08-22 17:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004464640,"note":"Value kept but may cause issues"} 
[2026-08-22 17:02: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-22 17:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787398149000,"timestamp_ms":1787398149000,"timestamp_seconds":1787398149,"priority":1,"record_length":96,"hex_timestamp":"000001a0293b5388"} 
[2026-08-22 17: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-22 17:02:34] 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-22 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-22 17:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:02:34] 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-22 17:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573920768001,"66":12645,"105":206,"83":41984,"24":0,"16":14688139612258304,"45":1738882068004464640},"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-22 17:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573920768001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:02:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:02:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688139612258304,"km_value":14688139612258.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004464640,"description":"Unknown IO ID 45"} 
[2026-08-22 17:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573920768001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004464640}} 
[2026-08-22 17:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":162510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:02:34] local.INFO: GPS data processed {"connection_id":162510,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:02:34] local.INFO: Acknowledgment sent {"connection_id":162510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:02:48] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:02:48] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:02:48] local.INFO: IMEI packet received {"connection_id":159908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":159908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:02:52] local.INFO: TCP Data received {"connection_id":161079,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:02:52] local.INFO: Processing buffer {"connection_id":161079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:02:52] local.INFO: IMEI packet received {"connection_id":161079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":161079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:02:54] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:02:54] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:02:54] local.INFO: IMEI packet received {"connection_id":159908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":159908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:02:54] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:02:54] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029399638012d7fac4005afe1d80000006627..."} 
[2026-08-22 17:02:54] local.INFO: Packet analysis {"connection_id":159908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:02:54] local.INFO: Extracted packet for processing {"connection_id":159908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02939"} 
[2026-08-22 17:02:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 17:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573820160001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 17:02: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-22 17:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787398035000,"timestamp_ms":1787398035000,"timestamp_seconds":1787398035,"priority":1,"record_length":96,"hex_timestamp":"000001a029399638"} 
[2026-08-22 17:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 17:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573820160001,"66":25582,"250":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573820160001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:02:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:02:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 17:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573820160001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 17:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":159908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:02:54] local.INFO: GPS data processed {"connection_id":159908,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:02:54] local.INFO: Acknowledgment sent {"connection_id":159908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:02:56] local.INFO: TCP Data received {"connection_id":161079,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:02:56] local.INFO: Processing buffer {"connection_id":161079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:02:56] local.INFO: IMEI packet received {"connection_id":161079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":161079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:02:57] local.INFO: TCP Data received {"connection_id":161079,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0293ba590012d1821c00721b3e8004600cd2a..."} 
[2026-08-22 17:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293ba590012d1821c00721b3e8004600cd2a..."} 
[2026-08-22 17:02:57] local.INFO: Processing buffer {"connection_id":161079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293ba590012d1821c00721b3e8004600cd2a..."} 
[2026-08-22 17:02:57] local.INFO: Packet analysis {"connection_id":161079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293b"} 
[2026-08-22 17:02:57] local.INFO: Extracted packet for processing {"connection_id":161079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293b"} 
[2026-08-22 17:02:57] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649256,"longitude_deg":75.6556224,"latitude_deg":11.9649256,"altitude":70,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-22 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-22 17:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573926144001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688139612258304,"note":"Value kept but may cause issues"} 
[2026-08-22 17:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004464640,"note":"Value kept but may cause issues"} 
[2026-08-22 17:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787398170000,"timestamp_ms":1787398170000,"timestamp_seconds":1787398170,"priority":1,"record_length":96,"hex_timestamp":"000001a0293ba590"} 
[2026-08-22 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-22 17:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-22 17:02:57] 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-22 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-22 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-22 17:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:02:57] 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-22 17:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573926144001,"66":12558,"105":206,"83":41984,"24":0,"16":14688139612258304,"45":1738882068004464640},"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-22 17:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573926144001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:02:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688139612258304,"km_value":14688139612258.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004464640,"description":"Unknown IO ID 45"} 
[2026-08-22 17:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573926144001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004464640}} 
[2026-08-22 17:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":161079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:02:57] local.INFO: GPS data processed {"connection_id":161079,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:02:57] local.INFO: Acknowledgment sent {"connection_id":161079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:03:25] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:03:25] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:03:25] local.INFO: Packet analysis {"connection_id":159908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293e"} 
[2026-08-22 17:03:25] local.INFO: Extracted packet for processing {"connection_id":159908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293e"} 
[2026-08-22 17:03:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 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-22 17:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573896960001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03: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-22 17:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787398336000,"timestamp_ms":1787398336000,"timestamp_seconds":1787398336,"priority":1,"record_length":96,"hex_timestamp":"000001a0293e2e00"} 
[2026-08-22 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-22 17: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-22 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 17:03: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-22 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-22 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-22 17:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573896960001,"66":25582,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 17:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573896960001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:03:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 17:03:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 17:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573896960001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 17:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":159908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:03:25] local.INFO: GPS data processed {"connection_id":159908,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:03:25] local.INFO: Acknowledgment sent {"connection_id":159908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:03:28] local.INFO: TCP Data received {"connection_id":161079,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0293bf798012d1821c00721b3e8004600cd2a..."} 
[2026-08-22 17:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293bf798012d1821c00721b3e8004600cd2a..."} 
[2026-08-22 17:03:28] local.INFO: Processing buffer {"connection_id":161079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293bf798012d1821c00721b3e8004600cd2a..."} 
[2026-08-22 17:03:28] local.INFO: Packet analysis {"connection_id":161079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293b"} 
[2026-08-22 17:03:28] local.INFO: Extracted packet for processing {"connection_id":161079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293b"} 
[2026-08-22 17:03:28] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649256,"longitude_deg":75.6556224,"latitude_deg":11.9649256,"altitude":70,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-22 17:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573931520001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688139612258304,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004464640,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:28] local.INFO: IO Element Parsed {"io_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-22 17:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787398191000,"timestamp_ms":1787398191000,"timestamp_seconds":1787398191,"priority":1,"record_length":96,"hex_timestamp":"000001a0293bf798"} 
[2026-08-22 17:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-22 17:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:28] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385614174434680,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:28] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3044540487,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-22 17:03:28] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:28] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:28] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:28] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,46,160,45,192,179,70,41,10,66,1,175,128,240,134,227,33,4,113,205,42,35,120,239,49,2,52,7,71,106,92,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-22 17:03:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044257162927276032,"timestamp_seconds":5044257162927276.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 17:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:03:28] 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-22 17:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573931520001,"66":12613,"105":206,"83":41984,"24":0,"16":14688139612258304,"45":1738882068004464640},"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-22 17:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573931520001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:03:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:03:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688139612258304,"km_value":14688139612258.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004464640,"description":"Unknown IO ID 45"} 
[2026-08-22 17:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573931520001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004464640}} 
[2026-08-22 17:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":161079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:03:28] local.INFO: GPS data processed {"connection_id":161079,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:03:28] local.INFO: Acknowledgment sent {"connection_id":161079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:03:48] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:03:48] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:03:48] local.INFO: IMEI packet received {"connection_id":159909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":159909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:03:52] local.INFO: TCP Data received {"connection_id":161080,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:03:52] local.INFO: Processing buffer {"connection_id":161080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:03:52] local.INFO: IMEI packet received {"connection_id":161080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":161080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:03:54] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:03:54] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:03:54] local.INFO: IMEI packet received {"connection_id":159909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":159909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:03:55] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:03:55] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:03:55] local.INFO: Packet analysis {"connection_id":159909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293e"} 
[2026-08-22 17:03:55] local.INFO: Extracted packet for processing {"connection_id":159909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293e"} 
[2026-08-22 17:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 17:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573896960001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03: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-22 17:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787398336000,"timestamp_ms":1787398336000,"timestamp_seconds":1787398336,"priority":1,"record_length":96,"hex_timestamp":"000001a0293e2e00"} 
[2026-08-22 17:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:03: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-22 17:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 17:03: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-22 17:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573896960001,"66":25582,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 17:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573896960001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 17:03:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 17:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573896960001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 17:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":159909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:03:55] local.INFO: GPS data processed {"connection_id":159909,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:03:55] local.INFO: Acknowledgment sent {"connection_id":159909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:03:57] local.INFO: TCP Data received {"connection_id":161080,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:03:57] local.INFO: Processing buffer {"connection_id":161080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:03:57] local.INFO: IMEI packet received {"connection_id":161080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":161080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:03:58] local.INFO: TCP Data received {"connection_id":161080,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0293c49a0012d1821c00721b3e8004600cd2b..."} 
[2026-08-22 17:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293c49a0012d1821c00721b3e8004600cd2b..."} 
[2026-08-22 17:03:58] local.INFO: Processing buffer {"connection_id":161080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293c49a0012d1821c00721b3e8004600cd2b..."} 
[2026-08-22 17:03:58] local.INFO: Packet analysis {"connection_id":161080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293c"} 
[2026-08-22 17:03:58] local.INFO: Extracted packet for processing {"connection_id":161080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293c"} 
[2026-08-22 17:03:58] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649256,"longitude_deg":75.6556224,"latitude_deg":11.9649256,"altitude":70,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573936896001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688139612258304,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004464640,"note":"Value kept but may cause issues"} 
[2026-08-22 17:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787398212000,"timestamp_ms":1787398212000,"timestamp_seconds":1787398212,"priority":1,"record_length":96,"hex_timestamp":"000001a0293c49a0"} 
[2026-08-22 17: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-22 17:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-22 17:03:58] 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-22 17: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-22 17: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-22 17:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:03: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-22 17:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573936896001,"66":12613,"105":206,"83":41984,"24":0,"16":14688139612258304,"45":1738882068004464640},"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-22 17:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573936896001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:03:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688139612258304,"km_value":14688139612258.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004464640,"description":"Unknown IO ID 45"} 
[2026-08-22 17:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573936896001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004464640}} 
[2026-08-22 17:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":161080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:03:58] local.INFO: GPS data processed {"connection_id":161080,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:03:58] local.INFO: Acknowledgment sent {"connection_id":161080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:04:26] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:04:26] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:04:26] local.INFO: Packet analysis {"connection_id":159909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293e"} 
[2026-08-22 17:04:26] local.INFO: Extracted packet for processing {"connection_id":159909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293e"} 
[2026-08-22 17:04:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 17:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573896960001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 17:04: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-22 17:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787398336000,"timestamp_ms":1787398336000,"timestamp_seconds":1787398336,"priority":1,"record_length":96,"hex_timestamp":"000001a0293e2e00"} 
[2026-08-22 17:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:04: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-22 17:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 17:04:26] 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-22 17:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573896960001,"66":25582,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 17:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573896960001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:04:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 17:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 17:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573896960001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 17:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":159909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:04:26] local.INFO: GPS data processed {"connection_id":159909,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:04:26] local.INFO: Acknowledgment sent {"connection_id":159909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:04:29] local.INFO: TCP Data received {"connection_id":161080,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0293c9ba8012d1821c00721b3e8004600cd2c..."} 
[2026-08-22 17:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293c9ba8012d1821c00721b3e8004600cd2c..."} 
[2026-08-22 17:04:29] local.INFO: Processing buffer {"connection_id":161080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293c9ba8012d1821c00721b3e8004600cd2c..."} 
[2026-08-22 17:04:29] local.INFO: Packet analysis {"connection_id":161080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293c"} 
[2026-08-22 17:04:29] local.INFO: Extracted packet for processing {"connection_id":161080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293c"} 
[2026-08-22 17:04:29] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649256,"longitude_deg":75.6556224,"latitude_deg":11.9649256,"altitude":70,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-22 17:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573942272001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688139612258304,"note":"Value kept but may cause issues"} 
[2026-08-22 17:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004464640,"note":"Value kept but may cause issues"} 
[2026-08-22 17:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787398233000,"timestamp_ms":1787398233000,"timestamp_seconds":1787398233,"priority":1,"record_length":96,"hex_timestamp":"000001a0293c9ba8"} 
[2026-08-22 17:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-22 17:04:29] 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-22 17:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:04:29] 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-22 17:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573942272001,"66":12613,"105":206,"83":41984,"24":0,"16":14688139612258304,"45":1738882068004464640},"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-22 17:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573942272001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:04:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:04:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688139612258304,"km_value":14688139612258.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004464640,"description":"Unknown IO ID 45"} 
[2026-08-22 17:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573942272001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004464640}} 
[2026-08-22 17:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":161080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:04:29] local.INFO: GPS data processed {"connection_id":161080,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:04:29] local.INFO: Acknowledgment sent {"connection_id":161080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:04:48] local.INFO: TCP Data received {"connection_id":162511,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:04:48] local.INFO: Processing buffer {"connection_id":162511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:04:48] local.INFO: IMEI packet received {"connection_id":162511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":162511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:04:52] local.INFO: TCP Data received {"connection_id":162512,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:04:52] local.INFO: Processing buffer {"connection_id":162512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:04:52] local.INFO: IMEI packet received {"connection_id":162512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":162512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:04:54] local.INFO: TCP Data received {"connection_id":162511,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:04:54] local.INFO: Processing buffer {"connection_id":162511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:04:54] local.INFO: IMEI packet received {"connection_id":162511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":162511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:04:55] local.INFO: TCP Data received {"connection_id":162511,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:04:55] local.INFO: Processing buffer {"connection_id":162511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:04:55] local.INFO: Packet analysis {"connection_id":162511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293e"} 
[2026-08-22 17:04:55] local.INFO: Extracted packet for processing {"connection_id":162511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293e"} 
[2026-08-22 17:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 17:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573896960001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 17:04: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-22 17:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787398336000,"timestamp_ms":1787398336000,"timestamp_seconds":1787398336,"priority":1,"record_length":96,"hex_timestamp":"000001a0293e2e00"} 
[2026-08-22 17:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17: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-22 17:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 17:04: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-22 17:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573896960001,"66":25582,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 17:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573896960001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:04:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 17:04:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 17:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573896960001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 17:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":162511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:04:55] local.INFO: GPS data processed {"connection_id":162511,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:04:55] local.INFO: Acknowledgment sent {"connection_id":162511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:04:57] local.INFO: TCP Data received {"connection_id":162512,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:04:57] local.INFO: Processing buffer {"connection_id":162512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:04:57] local.INFO: IMEI packet received {"connection_id":162512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":162512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:04:58] local.INFO: TCP Data received {"connection_id":162512,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0293cedb0012d1821c00721b3e8004600cd2b..."} 
[2026-08-22 17:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293cedb0012d1821c00721b3e8004600cd2b..."} 
[2026-08-22 17:04:58] local.INFO: Processing buffer {"connection_id":162512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293cedb0012d1821c00721b3e8004600cd2b..."} 
[2026-08-22 17:04:58] local.INFO: Packet analysis {"connection_id":162512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293c"} 
[2026-08-22 17:04:58] local.INFO: Extracted packet for processing {"connection_id":162512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293c"} 
[2026-08-22 17:04:58] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649256,"longitude_deg":75.6556224,"latitude_deg":11.9649256,"altitude":70,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573947648001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688139612258304,"note":"Value kept but may cause issues"} 
[2026-08-22 17:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004464640,"note":"Value kept but may cause issues"} 
[2026-08-22 17:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787398254000,"timestamp_ms":1787398254000,"timestamp_seconds":1787398254,"priority":1,"record_length":96,"hex_timestamp":"000001a0293cedb0"} 
[2026-08-22 17: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-22 17:04: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-22 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-22 17:04:58] 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-22 17: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-22 17: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-22 17:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:04: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-22 17:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573947648001,"66":12613,"105":206,"83":41984,"24":0,"16":14688139612258304,"45":1738882068004464640},"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-22 17:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573947648001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:04:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688139612258304,"km_value":14688139612258.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004464640,"description":"Unknown IO ID 45"} 
[2026-08-22 17:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573947648001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004464640}} 
[2026-08-22 17:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":162512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:04:58] local.INFO: GPS data processed {"connection_id":162512,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:04:58] local.INFO: Acknowledgment sent {"connection_id":162512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:05:26] local.INFO: TCP Data received {"connection_id":162511,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:05:26] local.INFO: Processing buffer {"connection_id":162511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:05:26] local.INFO: Packet analysis {"connection_id":162511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293e"} 
[2026-08-22 17:05:26] local.INFO: Extracted packet for processing {"connection_id":162511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293e"} 
[2026-08-22 17:05:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573896960001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 17:05: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-22 17:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787398336000,"timestamp_ms":1787398336000,"timestamp_seconds":1787398336,"priority":1,"record_length":96,"hex_timestamp":"000001a0293e2e00"} 
[2026-08-22 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-22 17:05: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-22 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 17:05:26] 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-22 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-22 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-22 17:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573896960001,"66":25582,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 17:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573896960001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:05:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 17:05:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 17:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573896960001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 17:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":162511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:05:26] local.INFO: GPS data processed {"connection_id":162511,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:05:26] local.INFO: Acknowledgment sent {"connection_id":162511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:05:29] local.INFO: TCP Data received {"connection_id":162512,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0293d3fb8012d1821c00721b3e8004600cd29..."} 
[2026-08-22 17:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293d3fb8012d1821c00721b3e8004600cd29..."} 
[2026-08-22 17:05:29] local.INFO: Processing buffer {"connection_id":162512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293d3fb8012d1821c00721b3e8004600cd29..."} 
[2026-08-22 17:05:29] local.INFO: Packet analysis {"connection_id":162512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293d"} 
[2026-08-22 17:05:29] local.INFO: Extracted packet for processing {"connection_id":162512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293d"} 
[2026-08-22 17:05:29] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649256,"longitude_deg":75.6556224,"latitude_deg":11.9649256,"altitude":70,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573953024001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688139612258304,"note":"Value kept but may cause issues"} 
[2026-08-22 17:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004464640,"note":"Value kept but may cause issues"} 
[2026-08-22 17:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787398275000,"timestamp_ms":1787398275000,"timestamp_seconds":1787398275,"priority":1,"record_length":96,"hex_timestamp":"000001a0293d3fb8"} 
[2026-08-22 17: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-22 17:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-22 17:05:29] 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-22 17: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-22 17: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-22 17:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:05:29] 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-22 17:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573953024001,"66":12037,"105":206,"83":41984,"24":0,"16":14688139612258304,"45":1738882068004464640},"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-22 17:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573953024001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:05:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:05:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688139612258304,"km_value":14688139612258.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004464640,"description":"Unknown IO ID 45"} 
[2026-08-22 17:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573953024001,"power":12037,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004464640}} 
[2026-08-22 17:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":162512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:05:29] local.INFO: GPS data processed {"connection_id":162512,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:05:29] local.INFO: Acknowledgment sent {"connection_id":162512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:05:52] local.INFO: TCP Data received {"connection_id":159911,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:05:52] local.INFO: Processing buffer {"connection_id":159911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:05:52] local.INFO: IMEI packet received {"connection_id":159911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":159911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:05:54] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:05:54] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:05:54] local.INFO: IMEI packet received {"connection_id":159910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":159910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:05:57] local.INFO: TCP Data received {"connection_id":159911,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:05:57] local.INFO: Processing buffer {"connection_id":159911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:05:57] local.INFO: IMEI packet received {"connection_id":159911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":159911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:05:59] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:05:59] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:05:59] local.INFO: IMEI packet received {"connection_id":159910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":159910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:06:00] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:06:00] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:06:00] local.INFO: Packet analysis {"connection_id":159910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293e"} 
[2026-08-22 17:06:00] local.INFO: Extracted packet for processing {"connection_id":159910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293e"} 
[2026-08-22 17:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573896960001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:00] 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-22 17:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787398336000,"timestamp_ms":1787398336000,"timestamp_seconds":1787398336,"priority":1,"record_length":96,"hex_timestamp":"000001a0293e2e00"} 
[2026-08-22 17: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-22 17:06: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-22 17: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 17:06: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-22 17: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-22 17: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-22 17:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573896960001,"66":25582,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 17:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573896960001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 17:06:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 17:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573896960001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 17:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":159910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:06:00] local.INFO: GPS data processed {"connection_id":159910,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:06:00] local.INFO: Acknowledgment sent {"connection_id":159910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:06:04] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:06:04] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293e2e00012d7fac4005afe1d80000006629..."} 
[2026-08-22 17:06:04] local.INFO: Packet analysis {"connection_id":159910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293e"} 
[2026-08-22 17:06:04] local.INFO: Extracted packet for processing {"connection_id":159910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293e"} 
[2026-08-22 17:06:04] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 17:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573896960001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:04] 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-22 17:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787398336000,"timestamp_ms":1787398336000,"timestamp_seconds":1787398336,"priority":1,"record_length":96,"hex_timestamp":"000001a0293e2e00"} 
[2026-08-22 17:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:06: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-22 17:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 17:06: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-22 17:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573896960001,"66":25582,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 17:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573896960001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:06:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 17:06:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 17:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573896960001,"power":25582,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 17:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":159910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:06:04] local.INFO: GPS data processed {"connection_id":159910,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:06:04] local.INFO: Acknowledgment sent {"connection_id":159910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:06:16] local.INFO: TCP Data received {"connection_id":159911,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0293d91c0012d1821c00721b3e8004600cd2d..."} 
[2026-08-22 17:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0293d91c0012d1821c00721b3e8004600cd2d..."} 
[2026-08-22 17:06:16] local.INFO: Processing buffer {"connection_id":159911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0293d91c0012d1821c00721b3e8004600cd2d..."} 
[2026-08-22 17:06:16] local.INFO: Packet analysis {"connection_id":159911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0293d"} 
[2026-08-22 17:06:16] local.INFO: Extracted packet for processing {"connection_id":159911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0293d"} 
[2026-08-22 17:06:16] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649256,"longitude_deg":75.6556224,"latitude_deg":11.9649256,"altitude":70,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-22 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-22 17:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573958400001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688139612258304,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004464640,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06: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-22 17:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787398296000,"timestamp_ms":1787398296000,"timestamp_seconds":1787398296,"priority":1,"record_length":96,"hex_timestamp":"000001a0293d91c0"} 
[2026-08-22 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-22 17:06:16] 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-22 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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 17:06:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:16] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3372220416,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:16] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194972416,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-22 17:06:16] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:16] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182234004586752,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:16] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428539711954930985,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:16] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,46,160,237,45,192,179,70,43,10,66,155,44,73,1,240,69,227,41,33,4,113,205,165,232,42,239,49,2,52,7],"length":484,"final_offset":614,"validated_count":37,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-08-22 17:06:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044257158632308736,"timestamp_seconds":5044257158632309.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 17:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 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-22 17:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573958400001,"66":12591,"105":206,"83":41984,"24":0,"16":14688139612258304,"45":1738882068004464640},"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-22 17:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573958400001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:06:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:06:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688139612258304,"km_value":14688139612258.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004464640,"description":"Unknown IO ID 45"} 
[2026-08-22 17:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573958400001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004464640}} 
[2026-08-22 17:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":159911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:06:16] local.INFO: GPS data processed {"connection_id":159911,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:06:16] local.INFO: Acknowledgment sent {"connection_id":159911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:06:49] local.INFO: TCP Data received {"connection_id":159912,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:06:49] local.INFO: Processing buffer {"connection_id":159912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:06:49] local.INFO: IMEI packet received {"connection_id":159912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":159912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:06:52] local.INFO: TCP Data received {"connection_id":161081,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:06:52] local.INFO: Processing buffer {"connection_id":161081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:06:52] local.INFO: IMEI packet received {"connection_id":161081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":161081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:06:54] local.INFO: TCP Data received {"connection_id":159912,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:06:54] local.INFO: Processing buffer {"connection_id":159912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:06:54] local.INFO: IMEI packet received {"connection_id":159912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":159912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:06:54] local.INFO: TCP Data received {"connection_id":159912,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029418d48012d7fac4005afe1d80000006628..."} 
[2026-08-22 17:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029418d48012d7fac4005afe1d80000006628..."} 
[2026-08-22 17:06:54] local.INFO: Processing buffer {"connection_id":159912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029418d48012d7fac4005afe1d80000006628..."} 
[2026-08-22 17:06:54] local.INFO: Packet analysis {"connection_id":159912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02941"} 
[2026-08-22 17:06:54] local.INFO: Extracted packet for processing {"connection_id":159912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02941"} 
[2026-08-22 17:06:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412696,"longitude_deg":76.3341888,"latitude_deg":9.5412696,"altitude":0,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe1d8","is_valid_coordinates":true} 
[2026-08-22 17:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457573974016001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:54] 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-22 17:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787398557000,"timestamp_ms":1787398557000,"timestamp_seconds":1787398557,"priority":1,"record_length":96,"hex_timestamp":"000001a029418d48"} 
[2026-08-22 17:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 17:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 17:06:54] 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-22 17:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457573974016001,"66":25147,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 17:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457573974016001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:06:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 17:06:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 17:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457573974016001,"power":25147,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 17:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":159912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:06:54] local.INFO: GPS data processed {"connection_id":159912,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:06:54] local.INFO: Acknowledgment sent {"connection_id":159912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:06:57] local.INFO: TCP Data received {"connection_id":161081,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:06:57] local.INFO: Processing buffer {"connection_id":161081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:06:57] local.INFO: IMEI packet received {"connection_id":161081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":161081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:06:58] local.INFO: TCP Data received {"connection_id":161081,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029411818012d181e800721af48004700d42a..."} 
[2026-08-22 17:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029411818012d181e800721af48004700d42a..."} 
[2026-08-22 17:06:58] local.INFO: Processing buffer {"connection_id":161081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029411818012d181e800721af48004700d42a..."} 
[2026-08-22 17:06:58] local.INFO: Packet analysis {"connection_id":161081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02941"} 
[2026-08-22 17:06:58] local.INFO: Extracted packet for processing {"connection_id":161081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02941"} 
[2026-08-22 17:06:58] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648072,"longitude_deg":75.6555392,"latitude_deg":11.9648072,"altitude":71,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574017536001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688212626702336,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329851904,"note":"Value kept but may cause issues"} 
[2026-08-22 17:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787398527000,"timestamp_ms":1787398527000,"timestamp_seconds":1787398527,"priority":1,"record_length":96,"hex_timestamp":"000001a029411818"} 
[2026-08-22 17: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-22 17:06: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-22 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 17:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:06: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-22 17:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574017536001,"66":12461,"105":206,"83":41984,"24":0,"16":14688212626702336,"45":1737967274329851904},"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-22 17:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574017536001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:06:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:06:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688212626702336,"km_value":14688212626702.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329851904,"description":"Unknown IO ID 45"} 
[2026-08-22 17:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574017536001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329851904}} 
[2026-08-22 17:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":161081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:06:58] local.INFO: GPS data processed {"connection_id":161081,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:06:58] local.INFO: Acknowledgment sent {"connection_id":161081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:07:26] local.INFO: TCP Data received {"connection_id":159912,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029419ce8012d7faa8005afe7d80000000f29..."} 
[2026-08-22 17:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029419ce8012d7faa8005afe7d80000000f29..."} 
[2026-08-22 17:07:26] local.INFO: Processing buffer {"connection_id":159912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029419ce8012d7faa8005afe7d80000000f29..."} 
[2026-08-22 17:07:26] local.INFO: Packet analysis {"connection_id":159912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02941"} 
[2026-08-22 17:07:26] local.INFO: Extracted packet for processing {"connection_id":159912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02941"} 
[2026-08-22 17:07:26] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95414232,"longitude_deg":76.334144,"latitude_deg":9.5414232,"altitude":0,"angle":15,"satellites":41,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afe7d8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574030592001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980908544,"note":"Value kept but may cause issues"} 
[2026-08-22 17:07: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-22 17:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787398561000,"timestamp_ms":1787398561000,"timestamp_seconds":1787398561,"priority":1,"record_length":96,"hex_timestamp":"000001a029419ce8"} 
[2026-08-22 17: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-22 17:07: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-22 17:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-22 17:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574030592001,"66":25343,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199798531980908544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 17:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574030592001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:07:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 17:07:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980908544,"description":"Unknown IO ID 45"} 
[2026-08-22 17:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574030592001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980908544}} 
[2026-08-22 17:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":159912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:07:26] local.INFO: GPS data processed {"connection_id":159912,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:07:26] local.INFO: Acknowledgment sent {"connection_id":159912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:07:29] local.INFO: TCP Data received {"connection_id":161081,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029416a20012d181e800721af48004700d427..."} 
[2026-08-22 17:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029416a20012d181e800721af48004700d427..."} 
[2026-08-22 17:07:29] local.INFO: Processing buffer {"connection_id":161081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029416a20012d181e800721af48004700d427..."} 
[2026-08-22 17:07:29] local.INFO: Packet analysis {"connection_id":161081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02941"} 
[2026-08-22 17:07:29] local.INFO: Extracted packet for processing {"connection_id":161081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02941"} 
[2026-08-22 17:07:29] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648072,"longitude_deg":75.6555392,"latitude_deg":11.9648072,"altitude":71,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574022912001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688212626702336,"note":"Value kept but may cause issues"} 
[2026-08-22 17:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329851904,"note":"Value kept but may cause issues"} 
[2026-08-22 17:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787398548000,"timestamp_ms":1787398548000,"timestamp_seconds":1787398548,"priority":1,"record_length":96,"hex_timestamp":"000001a029416a20"} 
[2026-08-22 17: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-22 17:07: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-22 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 17:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:07:29] 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-22 17:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574022912001,"66":13928,"105":206,"83":41984,"24":0,"16":14688212626702336,"45":1737967274329851904},"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-22 17:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574022912001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:07:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:07:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688212626702336,"km_value":14688212626702.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329851904,"description":"Unknown IO ID 45"} 
[2026-08-22 17:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574022912001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329851904}} 
[2026-08-22 17:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":161081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:07:29] local.INFO: GPS data processed {"connection_id":161081,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:07:29] local.INFO: Acknowledgment sent {"connection_id":161081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:07:52] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:07:52] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:07:52] local.INFO: IMEI packet received {"connection_id":159913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":159913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:07:53] local.INFO: TCP Data received {"connection_id":162513,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:07:53] local.INFO: Processing buffer {"connection_id":162513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:07:53] local.INFO: IMEI packet received {"connection_id":162513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":162513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:07:55] local.INFO: TCP Data received {"connection_id":162513,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:07:55] local.INFO: Processing buffer {"connection_id":162513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:07:55] local.INFO: IMEI packet received {"connection_id":162513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":162513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:07:55] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:07:55] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:07:55] local.INFO: IMEI packet received {"connection_id":159913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":159913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:07:57] local.INFO: TCP Data received {"connection_id":162513,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:07:57] local.INFO: Processing buffer {"connection_id":162513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:07:57] local.INFO: IMEI packet received {"connection_id":162513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":162513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:07:57] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:07:57] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:07:57] local.INFO: IMEI packet received {"connection_id":159913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":159913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:07:58] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02941bc28012d181e800721af48004700d428..."} 
[2026-08-22 17:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02941bc28012d181e800721af48004700d428..."} 
[2026-08-22 17:07:58] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02941bc28012d181e800721af48004700d428..."} 
[2026-08-22 17:07:58] local.INFO: Packet analysis {"connection_id":159913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02941"} 
[2026-08-22 17:07:58] local.INFO: Extracted packet for processing {"connection_id":159913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02941"} 
[2026-08-22 17:07:58] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648072,"longitude_deg":75.6555392,"latitude_deg":11.9648072,"altitude":71,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574028288001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14688212626702336,"note":"Value kept but may cause issues"} 
[2026-08-22 17:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329851904,"note":"Value kept but may cause issues"} 
[2026-08-22 17:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787398569000,"timestamp_ms":1787398569000,"timestamp_seconds":1787398569,"priority":1,"record_length":96,"hex_timestamp":"000001a02941bc28"} 
[2026-08-22 17: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-22 17:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-22 17:07:58] 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-22 17: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-22 17: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-22 17:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:07: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-22 17:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574028288001,"66":13993,"105":206,"83":41984,"24":0,"16":14688212626702336,"45":1737967274329851904},"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-22 17:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574028288001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:07:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14688212626702336,"km_value":14688212626702.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329851904,"description":"Unknown IO ID 45"} 
[2026-08-22 17:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574028288001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329851904}} 
[2026-08-22 17:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":159913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:07:58] local.INFO: GPS data processed {"connection_id":159913,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:07:58] local.INFO: Acknowledgment sent {"connection_id":159913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:07:58] local.INFO: TCP Data received {"connection_id":162513,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02941eef0012d7faa8005afe7d80000000f26..."} 
[2026-08-22 17:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02941eef0012d7faa8005afe7d80000000f26..."} 
[2026-08-22 17:07:58] local.INFO: Processing buffer {"connection_id":162513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02941eef0012d7faa8005afe7d80000000f26..."} 
[2026-08-22 17:07:58] local.INFO: Packet analysis {"connection_id":162513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02941"} 
[2026-08-22 17:07:58] local.INFO: Extracted packet for processing {"connection_id":162513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02941"} 
[2026-08-22 17:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95414232,"longitude_deg":76.334144,"latitude_deg":9.5414232,"altitude":0,"angle":15,"satellites":38,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afe7d8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574031616001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388926777759629312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950772058112,"note":"Value kept but may cause issues"} 
[2026-08-22 17:07:58] 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-22 17:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787398582000,"timestamp_ms":1787398582000,"timestamp_seconds":1787398582,"priority":1,"record_length":96,"hex_timestamp":"000001a02941eef0"} 
[2026-08-22 17: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-22 17:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 17:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574031616001,"66":27876,"28":206,"85":12544,"24":0,"16":388926777759629312,"45":9199305950772058112},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 17:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574031616001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:07:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 17:07:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388926777759629312,"km_value":388926777759629.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950772058112,"description":"Unknown IO ID 45"} 
[2026-08-22 17:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574031616001,"power":27876,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950772058112}} 
[2026-08-22 17:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":162513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:07:58] local.INFO: GPS data processed {"connection_id":162513,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:07:58] local.INFO: Acknowledgment sent {"connection_id":162513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:08:29] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029432770012d18c70007213dd8004200a424..."} 
[2026-08-22 17:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029432770012d18c70007213dd8004200a424..."} 
[2026-08-22 17:08:29] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029432770012d18c70007213dd8004200a424..."} 
[2026-08-22 17:08:29] local.INFO: Packet analysis {"connection_id":159913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:08:29] local.INFO: Extracted packet for processing {"connection_id":159913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:08:29] local.INFO: GPS Element Parsed {"raw_longitude":756598528,"raw_latitude":119619032,"longitude_deg":75.6598528,"latitude_deg":11.9619032,"altitude":66,"angle":164,"satellites":36,"speed":34,"hex_longitude":"2d18c700","hex_latitude":"07213dd8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574056704001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14690948520869888,"note":"Value kept but may cause issues"} 
[2026-08-22 17:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595433793536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:08:29] 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-22 17:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787398662000,"timestamp_ms":1787398662000,"timestamp_seconds":1787398662,"priority":1,"record_length":96,"hex_timestamp":"000001a029432770"} 
[2026-08-22 17: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-22 17:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 17:08:29] 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-22 17: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-22 17: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-22 17:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:08:29] 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-22 17:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574056704001,"66":13906,"106":206,"83":41984,"24":34,"16":14690948520869888,"45":1784973595433793536},"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-22 17:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574056704001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:08:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 17:08:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14690948520869888,"km_value":14690948520869.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595433793536,"description":"Unknown IO ID 45"} 
[2026-08-22 17:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574056704001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1784973595433793536}} 
[2026-08-22 17:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":159913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:08:29] local.INFO: GPS data processed {"connection_id":159913,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:08:29] local.INFO: Acknowledgment sent {"connection_id":159913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:08:30] local.INFO: TCP Data received {"connection_id":162513,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0294342c8012d7fa30005afcc000004000727..."} 
[2026-08-22 17:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294342c8012d7fa30005afcc000004000727..."} 
[2026-08-22 17:08:30] local.INFO: Processing buffer {"connection_id":162513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294342c8012d7fa30005afcc000004000727..."} 
[2026-08-22 17:08:30] local.INFO: Packet analysis {"connection_id":162513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:08:30] local.INFO: Extracted packet for processing {"connection_id":162513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:08:30] local.INFO: GPS Element Parsed {"raw_longitude":763339520,"raw_latitude":95407104,"longitude_deg":76.333952,"latitude_deg":9.5407104,"altitude":4,"angle":7,"satellites":39,"speed":4,"hex_longitude":"2d7fa300","hex_latitude":"05afcc00","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574057984001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927228731195392,"note":"Value kept but may cause issues"} 
[2026-08-22 17:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700688896,"note":"Value kept but may cause issues"} 
[2026-08-22 17:08: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-22 17:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787398669000,"timestamp_ms":1787398669000,"timestamp_seconds":1787398669,"priority":1,"record_length":96,"hex_timestamp":"000001a0294342c8"} 
[2026-08-22 17: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-22 17: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-22 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-22 17:08: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-22 17: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-22 17: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-22 17:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574057984001,"66":27865,"250":206,"85":12544,"24":4,"16":388927228731195392,"45":9197124519700688896},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574057984001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:08:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:08:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927228731195392,"km_value":388927228731195.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700688896,"description":"Unknown IO ID 45"} 
[2026-08-22 17:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574057984001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9197124519700688896}} 
[2026-08-22 17:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":162513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:08:30] local.INFO: GPS data processed {"connection_id":162513,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:08:30] local.INFO: Acknowledgment sent {"connection_id":162513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:08:48] local.INFO: TCP Data received {"connection_id":160158,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:08:48] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:08:48] local.INFO: IMEI packet received {"connection_id":160158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":160158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:08:48] local.INFO: TCP Data received {"connection_id":161082,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:08:48] local.INFO: Processing buffer {"connection_id":161082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:08:48] local.INFO: IMEI packet received {"connection_id":161082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":161082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:08:50] local.INFO: TCP Data received {"connection_id":160158,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:08:50] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:08:50] local.INFO: IMEI packet received {"connection_id":160158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":160158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:08:53] local.INFO: TCP Data received {"connection_id":160158,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:08:53] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:08:53] local.INFO: IMEI packet received {"connection_id":160158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":160158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:08:54] local.INFO: TCP Data received {"connection_id":161082,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:08:54] local.INFO: Processing buffer {"connection_id":161082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:08:54] local.INFO: IMEI packet received {"connection_id":161082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":161082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:08:54] local.INFO: TCP Data received {"connection_id":161082,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0294346b0012d7fa30005afcc900004016128..."} 
[2026-08-22 17:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294346b0012d7fa30005afcc900004016128..."} 
[2026-08-22 17:08:54] local.INFO: Processing buffer {"connection_id":161082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294346b0012d7fa30005afcc900004016128..."} 
[2026-08-22 17:08:54] local.INFO: Packet analysis {"connection_id":161082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:08:54] local.INFO: Extracted packet for processing {"connection_id":161082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763339520,"raw_latitude":95407248,"longitude_deg":76.333952,"latitude_deg":9.5407248,"altitude":4,"angle":353,"satellites":40,"speed":6,"hex_longitude":"2d7fa300","hex_latitude":"05afcc90","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574059264001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927237321129984,"note":"Value kept but may cause issues"} 
[2026-08-22 17:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444903424,"note":"Value kept but may cause issues"} 
[2026-08-22 17:08: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-22 17:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787398670000,"timestamp_ms":1787398670000,"timestamp_seconds":1787398670,"priority":1,"record_length":96,"hex_timestamp":"000001a0294346b0"} 
[2026-08-22 17: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-22 17:08: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-22 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 17:08: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-22 17: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-22 17: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-22 17:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574059264001,"66":27865,"250":206,"85":12544,"24":6,"16":388927237321129984,"45":9197194888444903424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574059264001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:08:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:08:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927237321129984,"km_value":388927237321130.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444903424,"description":"Unknown IO ID 45"} 
[2026-08-22 17:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574059264001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9197194888444903424}} 
[2026-08-22 17:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":161082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:08:54] local.INFO: GPS data processed {"connection_id":161082,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:08:54] local.INFO: Acknowledgment sent {"connection_id":161082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:08:57] local.INFO: TCP Data received {"connection_id":160158,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:08:57] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:08:57] local.INFO: IMEI packet received {"connection_id":160158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":160158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:08:58] local.INFO: TCP Data received {"connection_id":160158,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029433328012d18cb80072134800041009327..."} 
[2026-08-22 17:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029433328012d18cb80072134800041009327..."} 
[2026-08-22 17:08:58] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029433328012d18cb80072134800041009327..."} 
[2026-08-22 17:08:58] local.INFO: Packet analysis {"connection_id":160158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:08:58] local.INFO: Extracted packet for processing {"connection_id":160158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:08:58] local.INFO: GPS Element Parsed {"raw_longitude":756599680,"raw_latitude":119616640,"longitude_deg":75.659968,"latitude_deg":11.961664,"altitude":65,"angle":147,"satellites":39,"speed":37,"hex_longitude":"2d18cb80","hex_latitude":"07213480","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574057472001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14691081664856064,"note":"Value kept but may cause issues"} 
[2026-08-22 17:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785395807898163200,"note":"Value kept but may cause issues"} 
[2026-08-22 17:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787398665000,"timestamp_ms":1787398665000,"timestamp_seconds":1787398665,"priority":1,"record_length":96,"hex_timestamp":"000001a029433328"} 
[2026-08-22 17: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-22 17:08: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-22 17: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-22 17:08:58] 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-22 17: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-22 17: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-22 17:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:08: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-22 17:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574057472001,"66":14211,"106":206,"83":41984,"24":37,"16":14691081664856064,"45":1785395807898163200},"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-22 17:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574057472001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:08:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 17:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14691081664856064,"km_value":14691081664856.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785395807898163200,"description":"Unknown IO ID 45"} 
[2026-08-22 17:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574057472001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1785395807898163200}} 
[2026-08-22 17:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":160158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:08:58] local.INFO: GPS data processed {"connection_id":160158,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:08:58] local.INFO: Acknowledgment sent {"connection_id":160158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:08:59] local.INFO: TCP Data received {"connection_id":160158,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294342c8012d18d280072127d0004000a12a..."} 
[2026-08-22 17:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294342c8012d18d280072127d0004000a12a..."} 
[2026-08-22 17:08:59] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294342c8012d18d280072127d0004000a12a..."} 
[2026-08-22 17:08:59] local.INFO: Packet analysis {"connection_id":160158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:08:59] local.INFO: Extracted packet for processing {"connection_id":160158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119613392,"longitude_deg":75.6601472,"latitude_deg":11.9613392,"altitude":64,"angle":161,"satellites":42,"speed":36,"hex_longitude":"2d18d280","hex_latitude":"072127d0","is_valid_coordinates":true} 
[2026-08-22 17:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574058240001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14691262053482496,"note":"Value kept but may cause issues"} 
[2026-08-22 17:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786662445292748800,"note":"Value kept but may cause issues"} 
[2026-08-22 17:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787398669000,"timestamp_ms":1787398669000,"timestamp_seconds":1787398669,"priority":1,"record_length":96,"hex_timestamp":"000001a0294342c8"} 
[2026-08-22 17:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:08: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-22 17:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 17:08:59] 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-22 17:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:08:59] 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-22 17:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574058240001,"66":14374,"103":206,"83":41984,"24":36,"16":14691262053482496,"45":1786662445292748800},"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-22 17:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574058240001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:08:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14691262053482496,"km_value":14691262053482.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786662445292748800,"description":"Unknown IO ID 45"} 
[2026-08-22 17:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574058240001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1786662445292748800}} 
[2026-08-22 17:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":160158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:08:59] local.INFO: GPS data processed {"connection_id":160158,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:08:59] local.INFO: Acknowledgment sent {"connection_id":160158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:09:26] local.INFO: TCP Data received {"connection_id":161082,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029434a98012d7fa2c005afcd280005015128..."} 
[2026-08-22 17:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029434a98012d7fa2c005afcd280005015128..."} 
[2026-08-22 17:09:26] local.INFO: Processing buffer {"connection_id":161082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029434a98012d7fa2c005afcd280005015128..."} 
[2026-08-22 17:09:26] local.INFO: Packet analysis {"connection_id":161082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:09:26] local.INFO: Extracted packet for processing {"connection_id":161082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95407400,"longitude_deg":76.3339456,"latitude_deg":9.54074,"altitude":5,"angle":337,"satellites":40,"speed":6,"hex_longitude":"2d7fa2c0","hex_latitude":"05afcd28","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574059520001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927245911064576,"note":"Value kept but may cause issues"} 
[2026-08-22 17:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444940288,"note":"Value kept but may cause issues"} 
[2026-08-22 17:09: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-22 17:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787398671000,"timestamp_ms":1787398671000,"timestamp_seconds":1787398671,"priority":1,"record_length":96,"hex_timestamp":"000001a029434a98"} 
[2026-08-22 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-22 17: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-22 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":217,"data_length":795,"current_offset":136} 
[2026-08-22 17: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-22 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-22 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-22 17:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574059520001,"66":27745,"250":206,"85":12544,"24":6,"16":388927245911064576,"45":9197194888444940288},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574059520001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:09:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927245911064576,"km_value":388927245911064.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444940288,"description":"Unknown IO ID 45"} 
[2026-08-22 17:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574059520001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9197194888444940288}} 
[2026-08-22 17:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":161082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:09:26] local.INFO: GPS data processed {"connection_id":161082,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:09:26] local.INFO: Acknowledgment sent {"connection_id":161082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:09:30] local.INFO: TCP Data received {"connection_id":160158,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02943fa60012d1958400720aaf0002d005828..."} 
[2026-08-22 17:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02943fa60012d1958400720aaf0002d005828..."} 
[2026-08-22 17:09:30] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02943fa60012d1958400720aaf0002d005828..."} 
[2026-08-22 17:09:30] local.INFO: Packet analysis {"connection_id":160158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:09:30] local.INFO: Extracted packet for processing {"connection_id":160158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:09:30] local.INFO: GPS Element Parsed {"raw_longitude":756635712,"raw_latitude":119581424,"longitude_deg":75.6635712,"latitude_deg":11.9581424,"altitude":45,"angle":88,"satellites":40,"speed":34,"hex_longitude":"2d195840","hex_latitude":"0720aaf0","is_valid_coordinates":true} 
[2026-08-22 17:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574070784001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14693710184841216,"note":"Value kept but may cause issues"} 
[2026-08-22 17:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824380092162983936,"note":"Value kept but may cause issues"} 
[2026-08-22 17:09: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-22 17:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787398716000,"timestamp_ms":1787398716000,"timestamp_seconds":1787398716,"priority":1,"record_length":96,"hex_timestamp":"000001a02943fa60"} 
[2026-08-22 17:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 17:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:09: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-22 17:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574070784001,"66":14374,"103":206,"83":41984,"24":34,"16":14693710184841216,"45":1824380092162983936},"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-22 17:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574070784001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:09:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:09:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14693710184841216,"km_value":14693710184841.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824380092162983936,"description":"Unknown IO ID 45"} 
[2026-08-22 17:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574070784001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1824380092162983936}} 
[2026-08-22 17:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":160158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:09:30] local.INFO: GPS data processed {"connection_id":160158,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:09:30] local.INFO: Acknowledgment sent {"connection_id":160158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:09:48] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:09:48] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:09:48] local.INFO: IMEI packet received {"connection_id":159914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":159914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:09:49] local.INFO: TCP Data received {"connection_id":162514,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:09:49] local.INFO: Processing buffer {"connection_id":162514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:09:49] local.INFO: IMEI packet received {"connection_id":162514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":162514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:09:52] local.INFO: TCP Data received {"connection_id":162514,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:09:52] local.INFO: Processing buffer {"connection_id":162514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:09:52] local.INFO: IMEI packet received {"connection_id":162514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":162514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:09:54] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:09:54] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:09:54] local.INFO: IMEI packet received {"connection_id":159914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":159914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:09:54] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029434e80012d7fa28005afcdb00005013b28..."} 
[2026-08-22 17:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029434e80012d7fa28005afcdb00005013b28..."} 
[2026-08-22 17:09:54] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029434e80012d7fa28005afcdb00005013b28..."} 
[2026-08-22 17:09:54] local.INFO: Packet analysis {"connection_id":159914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:09:54] local.INFO: Extracted packet for processing {"connection_id":159914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:09:54] local.INFO: GPS Element Parsed {"raw_longitude":763339392,"raw_latitude":95407536,"longitude_deg":76.3339392,"latitude_deg":9.5407536,"altitude":5,"angle":315,"satellites":40,"speed":6,"hex_longitude":"2d7fa280","hex_latitude":"05afcdb0","is_valid_coordinates":true} 
[2026-08-22 17:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574059776001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927254500999168,"note":"Value kept but may cause issues"} 
[2026-08-22 17:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700801536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:09: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-22 17:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787398672000,"timestamp_ms":1787398672000,"timestamp_seconds":1787398672,"priority":1,"record_length":96,"hex_timestamp":"000001a029434e80"} 
[2026-08-22 17:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:09: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-22 17:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:09:54] 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-22 17:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574059776001,"66":27745,"250":206,"85":12544,"24":6,"16":388927254500999168,"45":9197124519700801536},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574059776001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:09:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:09:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927254500999168,"km_value":388927254500999.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700801536,"description":"Unknown IO ID 45"} 
[2026-08-22 17:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574059776001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9197124519700801536}} 
[2026-08-22 17:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":159914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:09:54] local.INFO: GPS data processed {"connection_id":159914,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:09:54] local.INFO: Acknowledgment sent {"connection_id":159914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:09:56] local.INFO: TCP Data received {"connection_id":162514,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:09:56] local.INFO: Processing buffer {"connection_id":162514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:09:56] local.INFO: IMEI packet received {"connection_id":162514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":162514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:09:58] local.INFO: TCP Data received {"connection_id":162514,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294415b8012d1971c00720ae10002f004724..."} 
[2026-08-22 17:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294415b8012d1971c00720ae10002f004724..."} 
[2026-08-22 17:09:58] local.INFO: Processing buffer {"connection_id":162514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294415b8012d1971c00720ae10002f004724..."} 
[2026-08-22 17:09:58] local.INFO: Packet analysis {"connection_id":162514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02944"} 
[2026-08-22 17:09:58] local.INFO: Extracted packet for processing {"connection_id":162514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02944"} 
[2026-08-22 17:09:58] local.INFO: GPS Element Parsed {"raw_longitude":756642240,"raw_latitude":119582224,"longitude_deg":75.664224,"latitude_deg":11.9582224,"altitude":47,"angle":71,"satellites":36,"speed":37,"hex_longitude":"2d1971c0","hex_latitude":"0720ae10","is_valid_coordinates":true} 
[2026-08-22 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-22 17:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574071296001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14694019422486528,"note":"Value kept but may cause issues"} 
[2026-08-22 17:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826280048255758336,"note":"Value kept but may cause issues"} 
[2026-08-22 17:09: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-22 17:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787398723000,"timestamp_ms":1787398723000,"timestamp_seconds":1787398723,"priority":1,"record_length":96,"hex_timestamp":"000001a0294415b8"} 
[2026-08-22 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-22 17:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 17:09:58] 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-22 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-22 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-22 17:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:09: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-22 17:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574071296001,"66":13624,"103":206,"83":41984,"24":37,"16":14694019422486528,"45":1826280048255758336},"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-22 17:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574071296001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:09:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:09:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14694019422486528,"km_value":14694019422486.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826280048255758336,"description":"Unknown IO ID 45"} 
[2026-08-22 17:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574071296001,"power":13624,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1826280048255758336}} 
[2026-08-22 17:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":162514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:09:58] local.INFO: GPS data processed {"connection_id":162514,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:09:58] local.INFO: Acknowledgment sent {"connection_id":162514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:10:25] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029435268012d7fa24005afce100005012c28..."} 
[2026-08-22 17:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029435268012d7fa24005afce100005012c28..."} 
[2026-08-22 17:10:25] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029435268012d7fa24005afce100005012c28..."} 
[2026-08-22 17:10:25] local.INFO: Packet analysis {"connection_id":159914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:10:25] local.INFO: Extracted packet for processing {"connection_id":159914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:10:25] local.INFO: GPS Element Parsed {"raw_longitude":763339328,"raw_latitude":95407632,"longitude_deg":76.3339328,"latitude_deg":9.5407632,"altitude":5,"angle":300,"satellites":40,"speed":6,"hex_longitude":"2d7fa240","hex_latitude":"05afce10","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574060032001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927258795966464,"note":"Value kept but may cause issues"} 
[2026-08-22 17:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956658688,"note":"Value kept but may cause issues"} 
[2026-08-22 17:10: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-22 17:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787398673000,"timestamp_ms":1787398673000,"timestamp_seconds":1787398673,"priority":1,"record_length":96,"hex_timestamp":"000001a029435268"} 
[2026-08-22 17: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-22 17: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-22 17: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":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:10: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-22 17: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-22 17: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-22 17:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574060032001,"66":27658,"250":206,"85":12544,"24":6,"16":388927258795966464,"45":9197054150956658688},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574060032001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:10:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:10:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927258795966464,"km_value":388927258795966.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956658688,"description":"Unknown IO ID 45"} 
[2026-08-22 17:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574060032001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9197054150956658688}} 
[2026-08-22 17:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":159914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:10:25] local.INFO: GPS data processed {"connection_id":159914,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:10:25] local.INFO: Acknowledgment sent {"connection_id":159914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:10:29] local.INFO: TCP Data received {"connection_id":162514,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02944bdb0012d19b30007207510002900a228..."} 
[2026-08-22 17:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02944bdb0012d19b30007207510002900a228..."} 
[2026-08-22 17:10:29] local.INFO: Processing buffer {"connection_id":162514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02944bdb0012d19b30007207510002900a228..."} 
[2026-08-22 17:10:29] local.INFO: Packet analysis {"connection_id":162514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02944"} 
[2026-08-22 17:10:29] local.INFO: Extracted packet for processing {"connection_id":162514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02944"} 
[2026-08-22 17:10:29] local.INFO: GPS Element Parsed {"raw_longitude":756658944,"raw_latitude":119567632,"longitude_deg":75.6658944,"latitude_deg":11.9567632,"altitude":41,"angle":162,"satellites":40,"speed":41,"hex_longitude":"2d19b300","hex_latitude":"07207510","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574082560001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14695677279862784,"note":"Value kept but may cause issues"} 
[2026-08-22 17:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018271232,"note":"Value kept but may cause issues"} 
[2026-08-22 17:10:29] 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-22 17:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787398766000,"timestamp_ms":1787398766000,"timestamp_seconds":1787398766,"priority":1,"record_length":96,"hex_timestamp":"000001a02944bdb0"} 
[2026-08-22 17: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-22 17:10: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-22 17: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-22 17:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-22 17:10:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 17:10:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 17:10:29] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2750939184,"note":"Value kept but may cause issues"} 
[2026-08-22 17:10:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-22 17:10:29] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147950757,"note":"Value kept but may cause issues"} 
[2026-08-22 17:10:29] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,53,160,162,45,64,142,44,40,10,66,158,145,131,192,1,240,169,227,41,32,4,113,205,20,123,188,39,239,56,2,52,7,50,22],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-22 17:10:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098669129966616576,"timestamp_seconds":3098669129966616.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 17: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-22 17:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:10:29] 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-22 17:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574082560001,"66":14070,"103":206,"83":41984,"24":41,"16":14695677279862784,"45":1850275790018271232},"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-22 17:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574082560001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:10:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:10:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14695677279862784,"km_value":14695677279862.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018271232,"description":"Unknown IO ID 45"} 
[2026-08-22 17:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574082560001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1850275790018271232}} 
[2026-08-22 17:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":162514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:10:29] local.INFO: GPS data processed {"connection_id":162514,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:10:29] local.INFO: Acknowledgment sent {"connection_id":162514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:10:50] local.INFO: TCP Data received {"connection_id":160159,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:10:50] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:10:50] local.INFO: IMEI packet received {"connection_id":160159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":160159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:10:53] local.INFO: TCP Data received {"connection_id":160159,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:10:53] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:10:53] local.INFO: IMEI packet received {"connection_id":160159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":160159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:10:53] local.INFO: TCP Data received {"connection_id":160159,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:10:53] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:10:53] local.INFO: IMEI packet received {"connection_id":160159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":160159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:10:54] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:10:54] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:10:54] local.INFO: IMEI packet received {"connection_id":159915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":159915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:10:54] local.INFO: TCP Data received {"connection_id":160159,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:10:54] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:10:54] local.INFO: IMEI packet received {"connection_id":160159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":160159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:10:58] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:10:58] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:10:58] local.INFO: IMEI packet received {"connection_id":159915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":159915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:10:59] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0294365f0012d7fa10005afce800006011928..."} 
[2026-08-22 17:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294365f0012d7fa10005afce800006011928..."} 
[2026-08-22 17:10:59] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294365f0012d7fa10005afce800006011928..."} 
[2026-08-22 17:10:59] local.INFO: Packet analysis {"connection_id":159915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:10:59] local.INFO: Extracted packet for processing {"connection_id":159915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763339008,"raw_latitude":95407744,"longitude_deg":76.3339008,"latitude_deg":9.5407744,"altitude":6,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d7fa100","hex_latitude":"05afce80","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574060288001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927275975835648,"note":"Value kept but may cause issues"} 
[2026-08-22 17:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782212505600,"note":"Value kept but may cause issues"} 
[2026-08-22 17:10: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-22 17:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787398678000,"timestamp_ms":1787398678000,"timestamp_seconds":1787398678,"priority":1,"record_length":96,"hex_timestamp":"000001a0294365f0"} 
[2026-08-22 17: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-22 17:10: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-22 17: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":10,"data_length":795,"current_offset":136} 
[2026-08-22 17:10: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-22 17: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-22 17: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-22 17:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574060288001,"66":27767,"250":206,"85":12544,"24":0,"16":388927275975835648,"45":9196983782212505600},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574060288001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:10:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:10:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927275975835648,"km_value":388927275975835.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782212505600,"description":"Unknown IO ID 45"} 
[2026-08-22 17:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574060288001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196983782212505600}} 
[2026-08-22 17:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":159915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:10:59] local.INFO: GPS data processed {"connection_id":159915,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:10:59] local.INFO: Acknowledgment sent {"connection_id":159915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:11:05] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a029437978012d7fa00005afcee00006011f29..."} 
[2026-08-22 17:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029437978012d7fa00005afcee00006011f29..."} 
[2026-08-22 17:11:05] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029437978012d7fa00005afcee00006011f29..."} 
[2026-08-22 17:11:05] local.INFO: Packet analysis {"connection_id":159915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:11:05] local.INFO: Extracted packet for processing {"connection_id":159915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95407840,"longitude_deg":76.3338752,"latitude_deg":9.540784,"altitude":6,"angle":287,"satellites":41,"speed":2,"hex_longitude":"2d7fa000","hex_latitude":"05afcee0","is_valid_coordinates":true} 
[2026-08-22 17:11: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-22 17:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574061568001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938491645952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:11:05] 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-22 17:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787398683000,"timestamp_ms":1787398683000,"timestamp_seconds":1787398683,"priority":1,"record_length":96,"hex_timestamp":"000001a029437978"} 
[2026-08-22 17:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:11: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-22 17:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 17:11: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-22 17:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574061568001,"66":27800,"250":206,"85":12544,"24":2,"16":388927288860737536,"45":9196631938491645952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574061568001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:11:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938491645952,"description":"Unknown IO ID 45"} 
[2026-08-22 17:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574061568001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9196631938491645952}} 
[2026-08-22 17:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":159915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:11:05] local.INFO: GPS data processed {"connection_id":159915,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:11:05] local.INFO: Acknowledgment sent {"connection_id":159915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:11:49] local.INFO: TCP Data received {"connection_id":161083,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:11:49] local.INFO: Processing buffer {"connection_id":161083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:11:49] local.INFO: IMEI packet received {"connection_id":161083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":161083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:11:54] local.INFO: TCP Data received {"connection_id":161083,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:11:54] local.INFO: Processing buffer {"connection_id":161083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:11:54] local.INFO: IMEI packet received {"connection_id":161083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":161083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:11:55] local.INFO: TCP Data received {"connection_id":161083,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029437978012d7fa00005afcee00006011f29..."} 
[2026-08-22 17:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029437978012d7fa00005afcee00006011f29..."} 
[2026-08-22 17:11:55] local.INFO: Processing buffer {"connection_id":161083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029437978012d7fa00005afcee00006011f29..."} 
[2026-08-22 17:11:55] local.INFO: Packet analysis {"connection_id":161083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:11:55] local.INFO: Extracted packet for processing {"connection_id":161083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95407840,"longitude_deg":76.3338752,"latitude_deg":9.540784,"altitude":6,"angle":287,"satellites":41,"speed":2,"hex_longitude":"2d7fa000","hex_latitude":"05afcee0","is_valid_coordinates":true} 
[2026-08-22 17:11: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-22 17:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574061568001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938491645952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:11: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-22 17:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787398683000,"timestamp_ms":1787398683000,"timestamp_seconds":1787398683,"priority":1,"record_length":96,"hex_timestamp":"000001a029437978"} 
[2026-08-22 17:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17: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-22 17:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 17:11: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-22 17:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574061568001,"66":27800,"250":206,"85":12544,"24":2,"16":388927288860737536,"45":9196631938491645952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574061568001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:11:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:11:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938491645952,"description":"Unknown IO ID 45"} 
[2026-08-22 17:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574061568001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9196631938491645952}} 
[2026-08-22 17:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":161083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:11:55] local.INFO: GPS data processed {"connection_id":161083,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:11:55] local.INFO: Acknowledgment sent {"connection_id":161083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:12:26] local.INFO: TCP Data received {"connection_id":161083,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029437978012d7fa00005afcee00006011f29..."} 
[2026-08-22 17:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029437978012d7fa00005afcee00006011f29..."} 
[2026-08-22 17:12:26] local.INFO: Processing buffer {"connection_id":161083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029437978012d7fa00005afcee00006011f29..."} 
[2026-08-22 17:12:26] local.INFO: Packet analysis {"connection_id":161083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:12:26] local.INFO: Extracted packet for processing {"connection_id":161083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:12:26] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95407840,"longitude_deg":76.3338752,"latitude_deg":9.540784,"altitude":6,"angle":287,"satellites":41,"speed":2,"hex_longitude":"2d7fa000","hex_latitude":"05afcee0","is_valid_coordinates":true} 
[2026-08-22 17:12: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-22 17:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574061568001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938491645952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:12: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-22 17:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787398683000,"timestamp_ms":1787398683000,"timestamp_seconds":1787398683,"priority":1,"record_length":96,"hex_timestamp":"000001a029437978"} 
[2026-08-22 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-22 17: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-22 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":119,"data_length":795,"current_offset":136} 
[2026-08-22 17:12: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-22 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-22 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-22 17:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574061568001,"66":27800,"250":206,"85":12544,"24":2,"16":388927288860737536,"45":9196631938491645952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574061568001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:12:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:12:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938491645952,"description":"Unknown IO ID 45"} 
[2026-08-22 17:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574061568001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9196631938491645952}} 
[2026-08-22 17:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":161083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:12:26] local.INFO: GPS data processed {"connection_id":161083,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:12:26] local.INFO: Acknowledgment sent {"connection_id":161083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:12:49] local.INFO: TCP Data received {"connection_id":159916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:12:49] local.INFO: Processing buffer {"connection_id":159916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:12:49] local.INFO: IMEI packet received {"connection_id":159916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":159916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:12:54] local.INFO: TCP Data received {"connection_id":159916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:12:54] local.INFO: Processing buffer {"connection_id":159916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:12:54] local.INFO: IMEI packet received {"connection_id":159916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":159916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:12:54] local.INFO: TCP Data received {"connection_id":159916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a029437978012d7fa00005afcee00006011f29..."} 
[2026-08-22 17:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029437978012d7fa00005afcee00006011f29..."} 
[2026-08-22 17:12:54] local.INFO: Processing buffer {"connection_id":159916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029437978012d7fa00005afcee00006011f29..."} 
[2026-08-22 17:12:54] local.INFO: Packet analysis {"connection_id":159916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:12:54] local.INFO: Extracted packet for processing {"connection_id":159916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:12:54] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95407840,"longitude_deg":76.3338752,"latitude_deg":9.540784,"altitude":6,"angle":287,"satellites":41,"speed":2,"hex_longitude":"2d7fa000","hex_latitude":"05afcee0","is_valid_coordinates":true} 
[2026-08-22 17:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574061568001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938491645952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:12: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-22 17:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787398683000,"timestamp_ms":1787398683000,"timestamp_seconds":1787398683,"priority":1,"record_length":96,"hex_timestamp":"000001a029437978"} 
[2026-08-22 17:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:12: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-22 17:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 17:12:54] 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-22 17:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574061568001,"66":27800,"250":206,"85":12544,"24":2,"16":388927288860737536,"45":9196631938491645952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574061568001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:12:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:12:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938491645952,"description":"Unknown IO ID 45"} 
[2026-08-22 17:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574061568001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9196631938491645952}} 
[2026-08-22 17:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":159916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:12:54] local.INFO: GPS data processed {"connection_id":159916,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:12:54] local.INFO: Acknowledgment sent {"connection_id":159916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:13:26] local.INFO: TCP Data received {"connection_id":159916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a029437978012d7fa00005afcee00006011f29..."} 
[2026-08-22 17:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029437978012d7fa00005afcee00006011f29..."} 
[2026-08-22 17:13:26] local.INFO: Processing buffer {"connection_id":159916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029437978012d7fa00005afcee00006011f29..."} 
[2026-08-22 17:13:26] local.INFO: Packet analysis {"connection_id":159916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:13:26] local.INFO: Extracted packet for processing {"connection_id":159916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02943"} 
[2026-08-22 17:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95407840,"longitude_deg":76.3338752,"latitude_deg":9.540784,"altitude":6,"angle":287,"satellites":41,"speed":2,"hex_longitude":"2d7fa000","hex_latitude":"05afcee0","is_valid_coordinates":true} 
[2026-08-22 17:13: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-22 17:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574061568001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938491645952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:13: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-22 17:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787398683000,"timestamp_ms":1787398683000,"timestamp_seconds":1787398683,"priority":1,"record_length":96,"hex_timestamp":"000001a029437978"} 
[2026-08-22 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-22 17:13: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-22 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":119,"data_length":795,"current_offset":136} 
[2026-08-22 17:13: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-22 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-22 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-22 17:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574061568001,"66":27800,"250":206,"85":12544,"24":2,"16":388927288860737536,"45":9196631938491645952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574061568001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:13:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938491645952,"description":"Unknown IO ID 45"} 
[2026-08-22 17:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574061568001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9196631938491645952}} 
[2026-08-22 17:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":159916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:13:26] local.INFO: GPS data processed {"connection_id":159916,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:13:26] local.INFO: Acknowledgment sent {"connection_id":159916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:13:48] local.INFO: TCP Data received {"connection_id":160160,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:13:48] local.INFO: Processing buffer {"connection_id":160160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:13:48] local.INFO: IMEI packet received {"connection_id":160160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":160160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:13:54] local.INFO: TCP Data received {"connection_id":160160,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:13:54] local.INFO: Processing buffer {"connection_id":160160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:13:54] local.INFO: IMEI packet received {"connection_id":160160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":160160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:13:54] local.INFO: TCP Data received {"connection_id":160160,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:13:54] local.INFO: Processing buffer {"connection_id":160160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:13:54] local.INFO: Packet analysis {"connection_id":160160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:13:54] local.INFO: Extracted packet for processing {"connection_id":160160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574062848001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463514959872,"note":"Value kept but may cause issues"} 
[2026-08-22 17:13:54] 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-22 17:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787398986000,"timestamp_ms":1787398986000,"timestamp_seconds":1787398986,"priority":1,"record_length":96,"hex_timestamp":"000001a029481910"} 
[2026-08-22 17:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 17:13: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-22 17:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574062848001,"66":26256,"27":206,"85":12544,"24":0,"16":388927288860737536,"45":9196350463514959872},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 17:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574062848001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:13:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 17:13:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463514959872,"description":"Unknown IO ID 45"} 
[2026-08-22 17:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574062848001,"power":26256,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463514959872}} 
[2026-08-22 17:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":160160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:13:54] local.INFO: GPS data processed {"connection_id":160160,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:13:54] local.INFO: Acknowledgment sent {"connection_id":160160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:14:26] local.INFO: TCP Data received {"connection_id":160160,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:14:26] local.INFO: Processing buffer {"connection_id":160160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:14:26] local.INFO: Packet analysis {"connection_id":160160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:14:26] local.INFO: Extracted packet for processing {"connection_id":160160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:14:26] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574062848001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463514959872,"note":"Value kept but may cause issues"} 
[2026-08-22 17:14:26] 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-22 17:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787398986000,"timestamp_ms":1787398986000,"timestamp_seconds":1787398986,"priority":1,"record_length":96,"hex_timestamp":"000001a029481910"} 
[2026-08-22 17: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-22 17: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-22 17: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":152,"data_length":795,"current_offset":136} 
[2026-08-22 17:14: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-22 17: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-22 17: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-22 17:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574062848001,"66":26256,"27":206,"85":12544,"24":0,"16":388927288860737536,"45":9196350463514959872},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 17:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574062848001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:14:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 17:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463514959872,"description":"Unknown IO ID 45"} 
[2026-08-22 17:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574062848001,"power":26256,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463514959872}} 
[2026-08-22 17:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":160160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:14:26] local.INFO: GPS data processed {"connection_id":160160,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:14:26] local.INFO: Acknowledgment sent {"connection_id":160160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:14:53] local.INFO: TCP Data received {"connection_id":161086,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:14:53] local.INFO: Processing buffer {"connection_id":161086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:14:53] local.INFO: IMEI packet received {"connection_id":161086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":161086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:15:02] local.INFO: TCP Data received {"connection_id":161086,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:15:02] local.INFO: Processing buffer {"connection_id":161086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:15:02] local.INFO: IMEI packet received {"connection_id":161086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":161086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:15:03] local.INFO: TCP Data received {"connection_id":161086,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:15:03] local.INFO: Processing buffer {"connection_id":161086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:15:03] local.INFO: IMEI packet received {"connection_id":161086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":161086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:15:10] local.INFO: TCP Data received {"connection_id":161086,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:15:10] local.INFO: Processing buffer {"connection_id":161086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:15:10] local.INFO: Packet analysis {"connection_id":161086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:15:10] local.INFO: Extracted packet for processing {"connection_id":161086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574062848001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463514959872,"note":"Value kept but may cause issues"} 
[2026-08-22 17:15:10] 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-22 17:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787398986000,"timestamp_ms":1787398986000,"timestamp_seconds":1787398986,"priority":1,"record_length":96,"hex_timestamp":"000001a029481910"} 
[2026-08-22 17:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 17:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574062848001,"66":26256,"27":206,"85":12544,"24":0,"16":388927288860737536,"45":9196350463514959872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 17:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574062848001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:15:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 17:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463514959872,"description":"Unknown IO ID 45"} 
[2026-08-22 17:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574062848001,"power":26256,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463514959872}} 
[2026-08-22 17:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":161086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:15:10] local.INFO: GPS data processed {"connection_id":161086,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:15:10] local.INFO: Acknowledgment sent {"connection_id":161086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:15:54] local.INFO: TCP Data received {"connection_id":161087,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:15:54] local.INFO: Processing buffer {"connection_id":161087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:15:54] local.INFO: IMEI packet received {"connection_id":161087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":161087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:15:58] local.INFO: TCP Data received {"connection_id":160161,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:15:58] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:15:58] local.INFO: IMEI packet received {"connection_id":160161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":160161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:15:58] local.INFO: TCP Data received {"connection_id":160161,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:15:58] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:15:58] local.INFO: IMEI packet received {"connection_id":160161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":160161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:15:58] local.INFO: TCP Data received {"connection_id":161087,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:15:58] local.INFO: Processing buffer {"connection_id":161087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:15:58] local.INFO: IMEI packet received {"connection_id":161087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":161087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:15:59] local.INFO: TCP Data received {"connection_id":161087,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:15:59] local.INFO: Processing buffer {"connection_id":161087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:15:59] local.INFO: Packet analysis {"connection_id":161087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:15:59] local.INFO: Extracted packet for processing {"connection_id":161087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574062848001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463514959872,"note":"Value kept but may cause issues"} 
[2026-08-22 17:15:59] 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-22 17:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787398986000,"timestamp_ms":1787398986000,"timestamp_seconds":1787398986,"priority":1,"record_length":96,"hex_timestamp":"000001a029481910"} 
[2026-08-22 17: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-22 17:15: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-22 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 17:15: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-22 17: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-22 17: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-22 17:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574062848001,"66":26256,"27":206,"85":12544,"24":0,"16":388927288860737536,"45":9196350463514959872},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 17:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574062848001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:15:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 17:15:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463514959872,"description":"Unknown IO ID 45"} 
[2026-08-22 17:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574062848001,"power":26256,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463514959872}} 
[2026-08-22 17:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":161087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:15:59] local.INFO: GPS data processed {"connection_id":161087,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:15:59] local.INFO: Acknowledgment sent {"connection_id":161087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:16:03] local.INFO: TCP Data received {"connection_id":160161,"ip":"42.106.6.21","data_length":1365,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a029..."} 
[2026-08-22 17:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":1365,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a029..."} 
[2026-08-22 17:16:03] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":1365,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a029..."} 
[2026-08-22 17:16:03] local.INFO: IMEI packet received {"connection_id":160161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":160161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:16:03] local.INFO: TCP Data received {"connection_id":160161,"ip":"42.106.6.21","data_length":242,"data_hex":"000000000001a02949e9e8012d19ad00071fbd48003901572600100000000a00..."} 
[2026-08-22 17:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":242,"packet_hex":"000000000001a02949e9e8012d19ad00071fbd48003901572600100000000a00..."} 
[2026-08-22 17:16:03] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0294a0158012d19a680071fc4700037016229..."} 
[2026-08-22 17:16:03] local.INFO: Packet analysis {"connection_id":160161,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0294a"} 
[2026-08-22 17:16:03] local.INFO: Extracted packet for processing {"connection_id":160161,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294a"} 
[2026-08-22 17:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756655744,"raw_latitude":119522416,"longitude_deg":75.6655744,"latitude_deg":11.9522416,"altitude":55,"angle":354,"satellites":41,"speed":18,"hex_longitude":"2d19a680","hex_latitude":"071fc470","is_valid_coordinates":true} 
[2026-08-22 17:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574172160001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14701694529044480,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848446202656501760,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787399111000,"timestamp_ms":1787399111000,"timestamp_seconds":1787399111,"priority":1,"record_length":96,"hex_timestamp":"000001a0294a0158"} 
[2026-08-22 17:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-22 17:16:03] 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-22 17:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:16:03] 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-22 17:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574172160001,"66":13319,"101":206,"83":41984,"24":18,"16":14701694529044480,"45":1848446202656501760},"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-22 17:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574172160001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:16:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14701694529044480,"km_value":14701694529044.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848446202656501760,"description":"Unknown IO ID 45"} 
[2026-08-22 17:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574172160001,"power":13319,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1848446202656501760}} 
[2026-08-22 17:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":160161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:16:03] local.INFO: GPS data processed {"connection_id":160161,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:16:03] local.INFO: Acknowledgment sent {"connection_id":160161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:16:03] local.INFO: Packet analysis {"connection_id":160161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294a"} 
[2026-08-22 17:16:03] local.INFO: Extracted packet for processing {"connection_id":160161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294a"} 
[2026-08-22 17:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756655296,"raw_latitude":119527056,"longitude_deg":75.6655296,"latitude_deg":11.9527056,"altitude":53,"angle":336,"satellites":42,"speed":25,"hex_longitude":"2d19a4c0","hex_latitude":"071fd690","is_valid_coordinates":true} 
[2026-08-22 17:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574172416001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14701922162311168,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848305465168261120,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787399118000,"timestamp_ms":1787399118000,"timestamp_seconds":1787399118,"priority":1,"record_length":96,"hex_timestamp":"000001a0294a1cb0"} 
[2026-08-22 17:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-22 17:16:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-5321002710606797568,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-22 17:16:03] local.WARNING: Large IO value detected {"io_id":237,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:03] local.WARNING: Large IO value detected {"io_id":22,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:03] local.WARNING: Large IO value detected {"io_id":73,"raw_value":-2717921081902088185,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,59,160,253,45,194,56,41,10,66,249,193,40,245,128,1,240,224,227,31,4,113,205,13,237,172,239,55,2,52,7,57,22,73],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-22 17:16:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963557075297107968,"timestamp_seconds":3963557075297108.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 17:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:16:03] 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-22 17:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574172416001,"66":14396,"101":206,"83":41984,"24":25,"16":14701922162311168,"45":1848305465168261120},"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-22 17:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574172416001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:16:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14701922162311168,"km_value":14701922162311.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848305465168261120,"description":"Unknown IO ID 45"} 
[2026-08-22 17:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574172416001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1848305465168261120}} 
[2026-08-22 17:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":160161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:16:03] local.INFO: GPS data processed {"connection_id":160161,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:16:03] local.INFO: Acknowledgment sent {"connection_id":160161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:16:05] local.INFO: TCP Data received {"connection_id":160161,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294a3038012d19a1c0071fdd900035015f29..."} 
[2026-08-22 17:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294a3038012d19a1c0071fdd900035015f29..."} 
[2026-08-22 17:16:05] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294a3038012d19a1c0071fdd900035015f29..."} 
[2026-08-22 17:16:05] local.INFO: Packet analysis {"connection_id":160161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294a"} 
[2026-08-22 17:16:05] local.INFO: Extracted packet for processing {"connection_id":160161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294a"} 
[2026-08-22 17:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756654528,"raw_latitude":119528848,"longitude_deg":75.6654528,"latitude_deg":11.9528848,"altitude":53,"angle":351,"satellites":41,"speed":14,"hex_longitude":"2d19a1c0","hex_latitude":"071fdd90","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574174208001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14702016651591680,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847812883960205312,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:05] 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-22 17:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787399123000,"timestamp_ms":1787399123000,"timestamp_seconds":1787399123,"priority":1,"record_length":96,"hex_timestamp":"000001a0294a3038"} 
[2026-08-22 17: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-22 17:16:05] 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-22 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 17:16:05] 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-22 17: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-22 17: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-22 17:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:16:05] 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-22 17:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574174208001,"66":13928,"101":206,"83":41984,"24":14,"16":14702016651591680,"45":1847812883960205312},"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-22 17:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574174208001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:16:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14702016651591680,"km_value":14702016651591.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847812883960205312,"description":"Unknown IO ID 45"} 
[2026-08-22 17:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574174208001,"power":13928,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1847812883960205312}} 
[2026-08-22 17:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":160161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:16:05] local.INFO: GPS data processed {"connection_id":160161,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:16:05] local.INFO: Acknowledgment sent {"connection_id":160161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:16:30] local.INFO: TCP Data received {"connection_id":161087,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:16:30] local.INFO: Processing buffer {"connection_id":161087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:16:30] local.INFO: Packet analysis {"connection_id":161087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:16:30] local.INFO: Extracted packet for processing {"connection_id":161087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:16:30] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574062848001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463514959872,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:30] 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-22 17:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787398986000,"timestamp_ms":1787398986000,"timestamp_seconds":1787398986,"priority":1,"record_length":96,"hex_timestamp":"000001a029481910"} 
[2026-08-22 17: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-22 17: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-22 17: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":152,"data_length":795,"current_offset":136} 
[2026-08-22 17:16: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-22 17: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-22 17: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-22 17:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574062848001,"66":26256,"27":206,"85":12544,"24":0,"16":388927288860737536,"45":9196350463514959872},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 17:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574062848001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:16:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 17:16:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463514959872,"description":"Unknown IO ID 45"} 
[2026-08-22 17:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574062848001,"power":26256,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463514959872}} 
[2026-08-22 17:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":161087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:16:30] local.INFO: GPS data processed {"connection_id":161087,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:16:30] local.INFO: Acknowledgment sent {"connection_id":161087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:16:38] local.INFO: TCP Data received {"connection_id":160161,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294aa180012d19cc00071ff5780033001627..."} 
[2026-08-22 17:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294aa180012d19cc00071ff5780033001627..."} 
[2026-08-22 17:16:38] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294aa180012d19cc00071ff5780033001627..."} 
[2026-08-22 17:16:38] local.INFO: Packet analysis {"connection_id":160161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294a"} 
[2026-08-22 17:16:38] local.INFO: Extracted packet for processing {"connection_id":160161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294a"} 
[2026-08-22 17:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756665344,"raw_latitude":119534968,"longitude_deg":75.6665344,"latitude_deg":11.9534968,"altitude":51,"angle":22,"satellites":39,"speed":16,"hex_longitude":"2d19cc00","hex_latitude":"071ff578","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574182656001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14702789745704960,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039309674496,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:38] 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-22 17:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787399152000,"timestamp_ms":1787399152000,"timestamp_seconds":1787399152,"priority":1,"record_length":96,"hex_timestamp":"000001a0294aa180"} 
[2026-08-22 17: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-22 17:16:38] 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-22 17: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-22 17:16:38] 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-22 17: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-22 17: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-22 17:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:16:38] 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-22 17:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574182656001,"66":14113,"101":206,"83":41984,"24":16,"16":14702789745704960,"45":1858720039309674496},"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-22 17:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574182656001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:16:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:16:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14702789745704960,"km_value":14702789745704.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039309674496,"description":"Unknown IO ID 45"} 
[2026-08-22 17:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574182656001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858720039309674496}} 
[2026-08-22 17:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":160161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:16:38] local.INFO: GPS data processed {"connection_id":160161,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:16:38] local.INFO: Acknowledgment sent {"connection_id":160161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:16:49] local.INFO: TCP Data received {"connection_id":162517,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:16:49] local.INFO: Processing buffer {"connection_id":162517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:16:49] local.INFO: IMEI packet received {"connection_id":162517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":162517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:16:51] local.INFO: TCP Data received {"connection_id":160162,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:16:51] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:16:51] local.INFO: IMEI packet received {"connection_id":160162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":160162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:16:52] local.INFO: TCP Data received {"connection_id":160162,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:16:52] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:16:52] local.INFO: IMEI packet received {"connection_id":160162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":160162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:16:54] local.INFO: TCP Data received {"connection_id":162517,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:16:54] local.INFO: Processing buffer {"connection_id":162517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:16:54] local.INFO: IMEI packet received {"connection_id":162517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":162517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:16:54] local.INFO: TCP Data received {"connection_id":160162,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:16:54] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:16:54] local.INFO: IMEI packet received {"connection_id":160162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":160162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:16:54] local.INFO: TCP Data received {"connection_id":162517,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:16:54] local.INFO: Processing buffer {"connection_id":162517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:16:54] local.INFO: Packet analysis {"connection_id":162517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:16:54] local.INFO: Extracted packet for processing {"connection_id":162517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:16:54] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574062848001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463514959872,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:54] 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-22 17:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787398986000,"timestamp_ms":1787398986000,"timestamp_seconds":1787398986,"priority":1,"record_length":96,"hex_timestamp":"000001a029481910"} 
[2026-08-22 17:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 17:16: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-22 17:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574062848001,"66":26256,"27":206,"85":12544,"24":0,"16":388927288860737536,"45":9196350463514959872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 17:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574062848001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:16:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 17:16:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463514959872,"description":"Unknown IO ID 45"} 
[2026-08-22 17:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574062848001,"power":26256,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463514959872}} 
[2026-08-22 17:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":162517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:16:54] local.INFO: GPS data processed {"connection_id":162517,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:16:54] local.INFO: Acknowledgment sent {"connection_id":162517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:16:55] local.INFO: TCP Data received {"connection_id":160162,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294aad38012d19cec0071ffa800030003328..."} 
[2026-08-22 17:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294aad38012d19cec0071ffa800030003328..."} 
[2026-08-22 17:16:55] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294aad38012d19cec0071ffa800030003328..."} 
[2026-08-22 17:16:55] local.INFO: Packet analysis {"connection_id":160162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294a"} 
[2026-08-22 17:16:55] local.INFO: Extracted packet for processing {"connection_id":160162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294a"} 
[2026-08-22 17:16:55] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119536256,"longitude_deg":75.6666048,"latitude_deg":11.9536256,"altitude":48,"angle":51,"satellites":40,"speed":21,"hex_longitude":"2d19cec0","hex_latitude":"071ffa80","is_valid_coordinates":true} 
[2026-08-22 17:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574182912001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14702858465181696,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858860776798124032,"note":"Value kept but may cause issues"} 
[2026-08-22 17:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787399155000,"timestamp_ms":1787399155000,"timestamp_seconds":1787399155,"priority":1,"record_length":96,"hex_timestamp":"000001a0294aad38"} 
[2026-08-22 17:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-22 17:16:55] 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-22 17:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:16:55] 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-22 17:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574182912001,"66":14070,"101":206,"83":41984,"24":21,"16":14702858465181696,"45":1858860776798124032},"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-22 17:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574182912001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:16:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:16:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14702858465181696,"km_value":14702858465181.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858860776798124032,"description":"Unknown IO ID 45"} 
[2026-08-22 17:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574182912001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1858860776798124032}} 
[2026-08-22 17:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":160162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:16:55] local.INFO: GPS data processed {"connection_id":160162,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:16:55] local.INFO: Acknowledgment sent {"connection_id":160162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:17:26] local.INFO: TCP Data received {"connection_id":160162,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294b64d0012d19abc007208b580029016029..."} 
[2026-08-22 17:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294b64d0012d19abc007208b580029016029..."} 
[2026-08-22 17:17:26] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294b64d0012d19abc007208b580029016029..."} 
[2026-08-22 17:17:26] local.INFO: Packet analysis {"connection_id":160162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294b"} 
[2026-08-22 17:17:26] local.INFO: Extracted packet for processing {"connection_id":160162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294b"} 
[2026-08-22 17:17:26] local.INFO: GPS Element Parsed {"raw_longitude":756657088,"raw_latitude":119573336,"longitude_deg":75.6657088,"latitude_deg":11.9573336,"altitude":41,"angle":352,"satellites":41,"speed":33,"hex_longitude":"2d19abc0","hex_latitude":"07208b58","is_valid_coordinates":true} 
[2026-08-22 17:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574193408001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14704924344451072,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853020171038840832,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17: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-22 17:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787399202000,"timestamp_ms":1787399202000,"timestamp_seconds":1787399202,"priority":1,"record_length":96,"hex_timestamp":"000001a0294b64d0"} 
[2026-08-22 17:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:17: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-22 17:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-22 17:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17:26] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-22 17:17:26] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2147950604,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17:26] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812280,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17:26] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,61,160,38,45,128,70,41,40,10,66,30,192,255,1,240,39,227,60,32,4,113,205,33,220,221,43,239,53,2,52,7,9],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-22 17:17:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738564786809602048,"timestamp_seconds":2738564786809602.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 17:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:17:26] 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-22 17:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574193408001,"66":14157,"103":206,"83":41984,"24":33,"16":14704924344451072,"45":1853020171038840832},"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-22 17:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574193408001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:17:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:17:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14704924344451072,"km_value":14704924344451.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853020171038840832,"description":"Unknown IO ID 45"} 
[2026-08-22 17:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574193408001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1853020171038840832}} 
[2026-08-22 17:17:26] local.INFO: TCP Data received {"connection_id":162517,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:17:26] local.INFO: Processing buffer {"connection_id":162517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:17:26] local.INFO: Packet analysis {"connection_id":162517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:17:26] local.INFO: Extracted packet for processing {"connection_id":162517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:17:26] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574062848001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463514959872,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17:26] 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-22 17:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787398986000,"timestamp_ms":1787398986000,"timestamp_seconds":1787398986,"priority":1,"record_length":96,"hex_timestamp":"000001a029481910"} 
[2026-08-22 17:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:17: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-22 17:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 17:17: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-22 17:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574062848001,"66":26256,"27":206,"85":12544,"24":0,"16":388927288860737536,"45":9196350463514959872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 17:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574062848001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:17:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 17:17:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463514959872,"description":"Unknown IO ID 45"} 
[2026-08-22 17:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574062848001,"power":26256,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463514959872}} 
[2026-08-22 17:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":162517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:17:26] local.INFO: GPS data processed {"connection_id":162517,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:17:26] local.INFO: Acknowledgment sent {"connection_id":162517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":160162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:17:26] local.INFO: GPS data processed {"connection_id":160162,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:17:26] local.INFO: Acknowledgment sent {"connection_id":160162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:17:48] local.INFO: TCP Data received {"connection_id":162518,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:17:48] local.INFO: Processing buffer {"connection_id":162518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:17:48] local.INFO: IMEI packet received {"connection_id":162518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":162518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:17:52] local.INFO: TCP Data received {"connection_id":160163,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:17:52] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:17:52] local.INFO: IMEI packet received {"connection_id":160163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":160163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:17:54] local.INFO: TCP Data received {"connection_id":162518,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:17:54] local.INFO: Processing buffer {"connection_id":162518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:17:54] local.INFO: IMEI packet received {"connection_id":162518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":162518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:17:55] local.INFO: TCP Data received {"connection_id":162518,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:17:55] local.INFO: Processing buffer {"connection_id":162518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:17:55] local.INFO: Packet analysis {"connection_id":162518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:17:55] local.INFO: Extracted packet for processing {"connection_id":162518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574062848001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463514959872,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17:55] 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-22 17:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787398986000,"timestamp_ms":1787398986000,"timestamp_seconds":1787398986,"priority":1,"record_length":96,"hex_timestamp":"000001a029481910"} 
[2026-08-22 17:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:17: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-22 17:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 17:17:55] 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-22 17:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574062848001,"66":26256,"27":206,"85":12544,"24":0,"16":388927288860737536,"45":9196350463514959872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 17:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574062848001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:17:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 17:17:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463514959872,"description":"Unknown IO ID 45"} 
[2026-08-22 17:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574062848001,"power":26256,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463514959872}} 
[2026-08-22 17:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":162518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:17:55] local.INFO: GPS data processed {"connection_id":162518,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:17:55] local.INFO: Acknowledgment sent {"connection_id":162518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:17:57] local.INFO: TCP Data received {"connection_id":160163,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:17:57] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:17:57] local.INFO: IMEI packet received {"connection_id":160163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":160163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:17:58] local.INFO: TCP Data received {"connection_id":160163,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294b6ca0012d19ac00072091580029000d2a..."} 
[2026-08-22 17:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294b6ca0012d19ac00072091580029000d2a..."} 
[2026-08-22 17:17:58] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294b6ca0012d19ac00072091580029000d2a..."} 
[2026-08-22 17:17:58] local.INFO: Packet analysis {"connection_id":160163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294b"} 
[2026-08-22 17:17:58] local.INFO: Extracted packet for processing {"connection_id":160163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294b"} 
[2026-08-22 17:17:58] local.INFO: GPS Element Parsed {"raw_longitude":756657152,"raw_latitude":119574872,"longitude_deg":75.6657152,"latitude_deg":11.9574872,"altitude":41,"angle":13,"satellites":42,"speed":28,"hex_longitude":"2d19ac00","hex_latitude":"07209158","is_valid_coordinates":true} 
[2026-08-22 17:17: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-22 17:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574195712001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14705001653862400,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849783208809027584,"note":"Value kept but may cause issues"} 
[2026-08-22 17:17: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-22 17:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787399204000,"timestamp_ms":1787399204000,"timestamp_seconds":1787399204,"priority":1,"record_length":96,"hex_timestamp":"000001a0294b6ca0"} 
[2026-08-22 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-22 17:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 17:17:58] 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-22 17:17: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-22 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-22 17:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:17: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-22 17:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574195712001,"66":14070,"103":206,"83":41984,"24":28,"16":14705001653862400,"45":1849783208809027584},"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-22 17:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574195712001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:17:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:17:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14705001653862400,"km_value":14705001653862.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849783208809027584,"description":"Unknown IO ID 45"} 
[2026-08-22 17:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574195712001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1849783208809027584}} 
[2026-08-22 17:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":160163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:17:58] local.INFO: GPS data processed {"connection_id":160163,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:17:58] local.INFO: Acknowledgment sent {"connection_id":160163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:18:26] local.INFO: TCP Data received {"connection_id":162518,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:18:26] local.INFO: Processing buffer {"connection_id":162518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029481910012d7f9cc005afcf880007011f2a..."} 
[2026-08-22 17:18:26] local.INFO: Packet analysis {"connection_id":162518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:18:26] local.INFO: Extracted packet for processing {"connection_id":162518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02948"} 
[2026-08-22 17:18:26] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 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-22 17:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574062848001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463514959872,"note":"Value kept but may cause issues"} 
[2026-08-22 17:18:26] 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-22 17:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787398986000,"timestamp_ms":1787398986000,"timestamp_seconds":1787398986,"priority":1,"record_length":96,"hex_timestamp":"000001a029481910"} 
[2026-08-22 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-22 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-22 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 17:18: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-22 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-22 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-22 17:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574062848001,"66":26256,"27":206,"85":12544,"24":0,"16":388927288860737536,"45":9196350463514959872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 17:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574062848001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:18:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 17:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463514959872,"description":"Unknown IO ID 45"} 
[2026-08-22 17:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574062848001,"power":26256,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463514959872}} 
[2026-08-22 17:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":162518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:18:26] local.INFO: GPS data processed {"connection_id":162518,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:18:26] local.INFO: Acknowledgment sent {"connection_id":162518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:18:30] local.INFO: TCP Data received {"connection_id":160163,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294c33d8012d194e000720aaf80036011929..."} 
[2026-08-22 17:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294c33d8012d194e000720aaf80036011929..."} 
[2026-08-22 17:18:30] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294c33d8012d194e000720aaf80036011929..."} 
[2026-08-22 17:18:30] local.INFO: Packet analysis {"connection_id":160163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:18:30] local.INFO: Extracted packet for processing {"connection_id":160163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:18:30] local.INFO: GPS Element Parsed {"raw_longitude":756633088,"raw_latitude":119581432,"longitude_deg":75.6633088,"latitude_deg":11.9581432,"altitude":54,"angle":281,"satellites":41,"speed":41,"hex_longitude":"2d194e00","hex_latitude":"0720aaf8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574208256001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14706685281042432,"note":"Value kept but may cause issues"} 
[2026-08-22 17:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828109635604379648,"note":"Value kept but may cause issues"} 
[2026-08-22 17:18: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-22 17:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787399255000,"timestamp_ms":1787399255000,"timestamp_seconds":1787399255,"priority":1,"record_length":96,"hex_timestamp":"000001a0294c33d8"} 
[2026-08-22 17: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-22 17:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-22 17:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:18: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-22 17:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574208256001,"66":13939,"103":206,"83":41984,"24":41,"16":14706685281042432,"45":1828109635604379648},"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-22 17:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574208256001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:18:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:18:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14706685281042432,"km_value":14706685281042.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828109635604379648,"description":"Unknown IO ID 45"} 
[2026-08-22 17:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574208256001,"power":13939,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1828109635604379648}} 
[2026-08-22 17:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":160163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:18:30] local.INFO: GPS data processed {"connection_id":160163,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:18:30] local.INFO: Acknowledgment sent {"connection_id":160163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:18:50] local.INFO: TCP Data received {"connection_id":161088,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:18:50] local.INFO: Processing buffer {"connection_id":161088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:18:50] local.INFO: IMEI packet received {"connection_id":161088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":161088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:18:52] local.INFO: TCP Data received {"connection_id":161089,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:18:52] local.INFO: Processing buffer {"connection_id":161089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:18:52] local.INFO: IMEI packet received {"connection_id":161089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":161089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:18:54] local.INFO: TCP Data received {"connection_id":161088,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:18:54] local.INFO: Processing buffer {"connection_id":161088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:18:54] local.INFO: IMEI packet received {"connection_id":161088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":161088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:18:54] local.INFO: TCP Data received {"connection_id":161088,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:18:54] local.INFO: Processing buffer {"connection_id":161088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:18:54] local.INFO: Packet analysis {"connection_id":161088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:18:54] local.INFO: Extracted packet for processing {"connection_id":161088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:18:54] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574140416001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:18: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-22 17:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787399287000,"timestamp_ms":1787399287000,"timestamp_seconds":1787399287,"priority":1,"record_length":96,"hex_timestamp":"000001a0294cb0d8"} 
[2026-08-22 17:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-22 17:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574140416001,"66":25973,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574140416001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:18:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:18:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574140416001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":161088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:18:54] local.INFO: GPS data processed {"connection_id":161088,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:18:54] local.INFO: Acknowledgment sent {"connection_id":161088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:18:57] local.INFO: TCP Data received {"connection_id":161089,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:18:57] local.INFO: Processing buffer {"connection_id":161089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:18:57] local.INFO: IMEI packet received {"connection_id":161089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":161089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:18:58] local.INFO: TCP Data received {"connection_id":161089,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294c3f90012d1941c00720aee0003501252a..."} 
[2026-08-22 17:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294c3f90012d1941c00720aee0003501252a..."} 
[2026-08-22 17:18:58] local.INFO: Processing buffer {"connection_id":161089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294c3f90012d1941c00720aee0003501252a..."} 
[2026-08-22 17:18:58] local.INFO: Packet analysis {"connection_id":161089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:18:58] local.INFO: Extracted packet for processing {"connection_id":161089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756629952,"raw_latitude":119582432,"longitude_deg":75.6629952,"latitude_deg":11.9582432,"altitude":53,"angle":293,"satellites":42,"speed":44,"hex_longitude":"2d1941c0","hex_latitude":"0720aee0","is_valid_coordinates":true} 
[2026-08-22 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-22 17:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574209280001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14706839899865088,"note":"Value kept but may cause issues"} 
[2026-08-22 17:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823394929744476160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:18: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-22 17:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787399258000,"timestamp_ms":1787399258000,"timestamp_seconds":1787399258,"priority":1,"record_length":96,"hex_timestamp":"000001a0294c3f90"} 
[2026-08-22 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-22 17:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-22 17:18:58] 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-22 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-22 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-22 17:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:18: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-22 17:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574209280001,"66":13928,"103":206,"83":41984,"24":44,"16":14706839899865088,"45":1823394929744476160},"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-22 17:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574209280001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:18:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14706839899865088,"km_value":14706839899865.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823394929744476160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574209280001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1823394929744476160}} 
[2026-08-22 17:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":161089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:18:58] local.INFO: GPS data processed {"connection_id":161089,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:18:58] local.INFO: Acknowledgment sent {"connection_id":161089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:19:27] local.INFO: TCP Data received {"connection_id":161088,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:19:27] local.INFO: Processing buffer {"connection_id":161088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:19:27] local.INFO: Packet analysis {"connection_id":161088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:19:27] local.INFO: Extracted packet for processing {"connection_id":161088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 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-22 17:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574140416001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:19: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-22 17:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787399287000,"timestamp_ms":1787399287000,"timestamp_seconds":1787399287,"priority":1,"record_length":96,"hex_timestamp":"000001a0294cb0d8"} 
[2026-08-22 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-22 17:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 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":144,"data_length":795,"current_offset":136} 
[2026-08-22 17:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 17:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574140416001,"66":25973,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574140416001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:19:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574140416001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":161088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:19:27] local.INFO: GPS data processed {"connection_id":161088,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:19:27] local.INFO: Acknowledgment sent {"connection_id":161088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:19:30] local.INFO: TCP Data received {"connection_id":161089,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294c5ed0012d1920000720bf500031012329..."} 
[2026-08-22 17:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294c5ed0012d1920000720bf500031012329..."} 
[2026-08-22 17:19:30] local.INFO: Processing buffer {"connection_id":161089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294c5ed0012d1920000720bf500031012329..."} 
[2026-08-22 17:19:30] local.INFO: Packet analysis {"connection_id":161089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:19:30] local.INFO: Extracted packet for processing {"connection_id":161089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:19:30] local.INFO: GPS Element Parsed {"raw_longitude":756621312,"raw_latitude":119586640,"longitude_deg":75.6621312,"latitude_deg":11.958664,"altitude":49,"angle":291,"satellites":41,"speed":46,"hex_longitude":"2d192000","hex_latitude":"0720bf50","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574210048001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14707299461365760,"note":"Value kept but may cause issues"} 
[2026-08-22 17:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819946861280026624,"note":"Value kept but may cause issues"} 
[2026-08-22 17:19: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-22 17:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787399266000,"timestamp_ms":1787399266000,"timestamp_seconds":1787399266,"priority":1,"record_length":96,"hex_timestamp":"000001a0294c5ed0"} 
[2026-08-22 17: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-22 17:19: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-22 17: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-22 17:19:30] 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-22 17: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-22 17: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-22 17:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:19: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-22 17:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574210048001,"66":14298,"103":206,"83":41984,"24":46,"16":14707299461365760,"45":1819946861280026624},"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-22 17:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574210048001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:19:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:19:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14707299461365760,"km_value":14707299461365.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819946861280026624,"description":"Unknown IO ID 45"} 
[2026-08-22 17:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574210048001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1819946861280026624}} 
[2026-08-22 17:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":161089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:19:30] local.INFO: GPS data processed {"connection_id":161089,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:19:30] local.INFO: Acknowledgment sent {"connection_id":161089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:19:52] local.INFO: TCP Data received {"connection_id":160165,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:19:52] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:19:52] local.INFO: IMEI packet received {"connection_id":160165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":160165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:19:54] local.INFO: TCP Data received {"connection_id":160164,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:19:54] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:19:54] local.INFO: IMEI packet received {"connection_id":160164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":160164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:19:57] local.INFO: TCP Data received {"connection_id":160165,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:19:57] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:19:57] local.INFO: IMEI packet received {"connection_id":160165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":160165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:19:58] local.INFO: TCP Data received {"connection_id":160165,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294c7a28012d1905c00720cc100036013025..."} 
[2026-08-22 17:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294c7a28012d1905c00720cc100036013025..."} 
[2026-08-22 17:19:58] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294c7a28012d1905c00720cc100036013025..."} 
[2026-08-22 17:19:58] local.INFO: Packet analysis {"connection_id":160165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:19:58] local.INFO: Extracted packet for processing {"connection_id":160165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:19:58] local.INFO: GPS Element Parsed {"raw_longitude":756614592,"raw_latitude":119589904,"longitude_deg":75.6614592,"latitude_deg":11.9589904,"altitude":54,"angle":304,"satellites":37,"speed":36,"hex_longitude":"2d1905c0","hex_latitude":"0720cc10","is_valid_coordinates":true} 
[2026-08-22 17:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574212096001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14707655943651328,"note":"Value kept but may cause issues"} 
[2026-08-22 17:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810447080817119232,"note":"Value kept but may cause issues"} 
[2026-08-22 17:19: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-22 17:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787399273000,"timestamp_ms":1787399273000,"timestamp_seconds":1787399273,"priority":1,"record_length":96,"hex_timestamp":"000001a0294c7a28"} 
[2026-08-22 17:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-22 17:19: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-22 17:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:19: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-22 17:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574212096001,"66":14070,"103":206,"83":41984,"24":36,"16":14707655943651328,"45":1810447080817119232},"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-22 17:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574212096001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:19:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:19:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14707655943651328,"km_value":14707655943651.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810447080817119232,"description":"Unknown IO ID 45"} 
[2026-08-22 17:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574212096001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1810447080817119232}} 
[2026-08-22 17:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":160165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:19:58] local.INFO: GPS data processed {"connection_id":160165,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:19:58] local.INFO: Acknowledgment sent {"connection_id":160165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:19:59] local.INFO: TCP Data received {"connection_id":160164,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:19:59] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:19:59] local.INFO: IMEI packet received {"connection_id":160164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":160164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:19:59] local.INFO: TCP Data received {"connection_id":160164,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:19:59] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:19:59] local.INFO: Packet analysis {"connection_id":160164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:19:59] local.INFO: Extracted packet for processing {"connection_id":160164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:19:59] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574140416001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:19: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-22 17:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787399287000,"timestamp_ms":1787399287000,"timestamp_seconds":1787399287,"priority":1,"record_length":96,"hex_timestamp":"000001a0294cb0d8"} 
[2026-08-22 17: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-22 17:19: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-22 17: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":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-22 17:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574140416001,"66":25973,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574140416001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:19:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:19:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574140416001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":160164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:19:59] local.INFO: GPS data processed {"connection_id":160164,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:19:59] local.INFO: Acknowledgment sent {"connection_id":160164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:20:04] local.INFO: TCP Data received {"connection_id":160164,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:20:04] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:20:04] local.INFO: Packet analysis {"connection_id":160164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:20:04] local.INFO: Extracted packet for processing {"connection_id":160164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:20:04] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574140416001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:20:04] 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-22 17:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787399287000,"timestamp_ms":1787399287000,"timestamp_seconds":1787399287,"priority":1,"record_length":96,"hex_timestamp":"000001a0294cb0d8"} 
[2026-08-22 17:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:20: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-22 17:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-22 17:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574140416001,"66":25973,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574140416001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:20:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:20:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574140416001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":160164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:20:04] local.INFO: GPS data processed {"connection_id":160164,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:20:04] local.INFO: Acknowledgment sent {"connection_id":160164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:20:29] local.INFO: TCP Data received {"connection_id":160165,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294c9580012d18f1c00720db08003b013c27..."} 
[2026-08-22 17:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294c9580012d18f1c00720db08003b013c27..."} 
[2026-08-22 17:20:29] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294c9580012d18f1c00720db08003b013c27..."} 
[2026-08-22 17:20:29] local.INFO: Packet analysis {"connection_id":160165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:20:29] local.INFO: Extracted packet for processing {"connection_id":160165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:20:29] local.INFO: GPS Element Parsed {"raw_longitude":756609472,"raw_latitude":119593736,"longitude_deg":75.6609472,"latitude_deg":11.9593736,"altitude":59,"angle":316,"satellites":39,"speed":38,"hex_longitude":"2d18f1c0","hex_latitude":"0720db08","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574213888001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14707960886329344,"note":"Value kept but may cause issues"} 
[2026-08-22 17:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803058362679300096,"note":"Value kept but may cause issues"} 
[2026-08-22 17:20:29] 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-22 17:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787399280000,"timestamp_ms":1787399280000,"timestamp_seconds":1787399280,"priority":1,"record_length":96,"hex_timestamp":"000001a0294c9580"} 
[2026-08-22 17: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-22 17:20: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-22 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 17:20: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-22 17: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-22 17: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-22 17:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:20:29] 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-22 17:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574213888001,"66":13928,"103":206,"83":41984,"24":38,"16":14707960886329344,"45":1803058362679300096},"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-22 17:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574213888001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:20:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14707960886329344,"km_value":14707960886329.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803058362679300096,"description":"Unknown IO ID 45"} 
[2026-08-22 17:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574213888001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1803058362679300096}} 
[2026-08-22 17:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":160165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:20:29] local.INFO: GPS data processed {"connection_id":160165,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:20:29] local.INFO: Acknowledgment sent {"connection_id":160165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:20:49] local.INFO: TCP Data received {"connection_id":161090,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:20:49] local.INFO: Processing buffer {"connection_id":161090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:20:49] local.INFO: IMEI packet received {"connection_id":161090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":161090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:20:52] local.INFO: TCP Data received {"connection_id":159917,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:20:52] local.INFO: Processing buffer {"connection_id":159917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:20:52] local.INFO: IMEI packet received {"connection_id":159917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":159917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:20:54] local.INFO: TCP Data received {"connection_id":161090,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:20:54] local.INFO: Processing buffer {"connection_id":161090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:20:54] local.INFO: IMEI packet received {"connection_id":161090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":161090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:20:54] local.INFO: TCP Data received {"connection_id":161090,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:20:54] local.INFO: Processing buffer {"connection_id":161090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:20:54] local.INFO: Packet analysis {"connection_id":161090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:20:54] local.INFO: Extracted packet for processing {"connection_id":161090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:20:54] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574140416001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:20: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-22 17:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787399287000,"timestamp_ms":1787399287000,"timestamp_seconds":1787399287,"priority":1,"record_length":96,"hex_timestamp":"000001a0294cb0d8"} 
[2026-08-22 17:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-22 17:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574140416001,"66":25973,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574140416001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:20:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:20:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574140416001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":161090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:20:54] local.INFO: GPS data processed {"connection_id":161090,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:20:54] local.INFO: Acknowledgment sent {"connection_id":161090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:20:57] local.INFO: TCP Data received {"connection_id":159917,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:20:57] local.INFO: Processing buffer {"connection_id":159917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:20:57] local.INFO: IMEI packet received {"connection_id":159917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":159917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:20:58] local.INFO: TCP Data received {"connection_id":159917,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294e2fa8012d193b800720b3b80037007b27..."} 
[2026-08-22 17:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294e2fa8012d193b800720b3b80037007b27..."} 
[2026-08-22 17:20:58] local.INFO: Processing buffer {"connection_id":159917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294e2fa8012d193b800720b3b80037007b27..."} 
[2026-08-22 17:20:58] local.INFO: Packet analysis {"connection_id":159917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294e"} 
[2026-08-22 17:20:58] local.INFO: Extracted packet for processing {"connection_id":159917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294e"} 
[2026-08-22 17:20:58] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119583672,"longitude_deg":75.6628352,"latitude_deg":11.9583672,"altitude":55,"angle":123,"satellites":39,"speed":36,"hex_longitude":"2d193b80","hex_latitude":"0720b3b8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574240512001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14710104075010048,"note":"Value kept but may cause issues"} 
[2026-08-22 17:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808617493468790784,"note":"Value kept but may cause issues"} 
[2026-08-22 17:20: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-22 17:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787399385000,"timestamp_ms":1787399385000,"timestamp_seconds":1787399385,"priority":1,"record_length":96,"hex_timestamp":"000001a0294e2fa8"} 
[2026-08-22 17: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-22 17:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-22 17:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:20: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-22 17:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574240512001,"66":13993,"103":206,"83":41984,"24":36,"16":14710104075010048,"45":1808617493468790784},"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-22 17:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574240512001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:20:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:20:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14710104075010048,"km_value":14710104075010.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808617493468790784,"description":"Unknown IO ID 45"} 
[2026-08-22 17:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574240512001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1808617493468790784}} 
[2026-08-22 17:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":159917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:20:58] local.INFO: GPS data processed {"connection_id":159917,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:20:58] local.INFO: Acknowledgment sent {"connection_id":159917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:21:26] local.INFO: TCP Data received {"connection_id":161090,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:21:26] local.INFO: Processing buffer {"connection_id":161090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:21:26] local.INFO: Packet analysis {"connection_id":161090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:21:26] local.INFO: Extracted packet for processing {"connection_id":161090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:21:26] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 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-22 17:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574140416001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17: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-22 17:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787399287000,"timestamp_ms":1787399287000,"timestamp_seconds":1787399287,"priority":1,"record_length":96,"hex_timestamp":"000001a0294cb0d8"} 
[2026-08-22 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-22 17: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-22 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":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-22 17:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 17:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574140416001,"66":25973,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574140416001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:21:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:21:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574140416001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":161090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:21:26] local.INFO: GPS data processed {"connection_id":161090,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:21:26] local.INFO: Acknowledgment sent {"connection_id":161090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:21:29] local.INFO: TCP Data received {"connection_id":159917,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294efac8012d19ad8007208e18003300bd29..."} 
[2026-08-22 17:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294efac8012d19ad8007208e18003300bd29..."} 
[2026-08-22 17:21:29] local.INFO: Processing buffer {"connection_id":159917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294efac8012d19ad8007208e18003300bd29..."} 
[2026-08-22 17:21:29] local.INFO: Packet analysis {"connection_id":159917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294e"} 
[2026-08-22 17:21:29] local.INFO: Extracted packet for processing {"connection_id":159917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294e"} 
[2026-08-22 17:21:29] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119574040,"longitude_deg":75.6657536,"latitude_deg":11.957404,"altitude":51,"angle":189,"satellites":41,"speed":33,"hex_longitude":"2d19ad80","hex_latitude":"07208e18","is_valid_coordinates":true} 
[2026-08-22 17:21: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-22 17:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574255616001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14712101234802688,"note":"Value kept but may cause issues"} 
[2026-08-22 17:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264995385344,"note":"Value kept but may cause issues"} 
[2026-08-22 17:21:29] 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-22 17:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787399437000,"timestamp_ms":1787399437000,"timestamp_seconds":1787399437,"priority":1,"record_length":96,"hex_timestamp":"000001a0294efac8"} 
[2026-08-22 17:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:21: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-22 17:21: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":33,"data_length":795,"current_offset":136} 
[2026-08-22 17:21:29] 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-22 17:21: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-22 17:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:21:29] 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-22 17:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574255616001,"66":14113,"103":206,"83":41984,"24":33,"16":14712101234802688,"45":1850557264995385344},"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-22 17:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574255616001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:21:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:21:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14712101234802688,"km_value":14712101234802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264995385344,"description":"Unknown IO ID 45"} 
[2026-08-22 17:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574255616001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1850557264995385344}} 
[2026-08-22 17:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":159917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:21:29] local.INFO: GPS data processed {"connection_id":159917,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:21:29] local.INFO: Acknowledgment sent {"connection_id":159917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:21:49] local.INFO: TCP Data received {"connection_id":161091,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:21:49] local.INFO: Processing buffer {"connection_id":161091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:21:49] local.INFO: IMEI packet received {"connection_id":161091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":161091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:21:52] local.INFO: TCP Data received {"connection_id":162519,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:21:52] local.INFO: Processing buffer {"connection_id":162519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:21:52] local.INFO: IMEI packet received {"connection_id":162519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":162519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:21:52] local.INFO: TCP Data received {"connection_id":162519,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:21:52] local.INFO: Processing buffer {"connection_id":162519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:21:52] local.INFO: IMEI packet received {"connection_id":162519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":162519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:21:54] local.INFO: TCP Data received {"connection_id":161091,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:21:54] local.INFO: Processing buffer {"connection_id":161091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:21:54] local.INFO: IMEI packet received {"connection_id":161091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":161091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:21:54] local.INFO: TCP Data received {"connection_id":162519,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:21:54] local.INFO: Processing buffer {"connection_id":162519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:21:54] local.INFO: IMEI packet received {"connection_id":162519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":162519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:21:54] local.INFO: TCP Data received {"connection_id":161091,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:21:54] local.INFO: Processing buffer {"connection_id":161091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:21:54] local.INFO: Packet analysis {"connection_id":161091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:21:54] local.INFO: Extracted packet for processing {"connection_id":161091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574140416001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:21: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-22 17:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787399287000,"timestamp_ms":1787399287000,"timestamp_seconds":1787399287,"priority":1,"record_length":96,"hex_timestamp":"000001a0294cb0d8"} 
[2026-08-22 17:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-22 17:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574140416001,"66":25973,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574140416001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:21:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:21:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574140416001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":161091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:21:54] local.INFO: GPS data processed {"connection_id":161091,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:21:54] local.INFO: Acknowledgment sent {"connection_id":161091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:21:57] local.INFO: TCP Data received {"connection_id":162519,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:21:57] local.INFO: Processing buffer {"connection_id":162519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:21:57] local.INFO: IMEI packet received {"connection_id":162519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":162519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:21:58] local.INFO: TCP Data received {"connection_id":162519,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294efeb0012d19ae0007208a88003300b128..."} 
[2026-08-22 17:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294efeb0012d19ae0007208a88003300b128..."} 
[2026-08-22 17:21:58] local.INFO: Processing buffer {"connection_id":162519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294efeb0012d19ae0007208a88003300b128..."} 
[2026-08-22 17:21:58] local.INFO: Packet analysis {"connection_id":162519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294e"} 
[2026-08-22 17:21:58] local.INFO: Extracted packet for processing {"connection_id":162519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294e"} 
[2026-08-22 17:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119573128,"longitude_deg":75.6657664,"latitude_deg":11.9573128,"altitude":51,"angle":177,"satellites":40,"speed":35,"hex_longitude":"2d19ae00","hex_latitude":"07208a88","is_valid_coordinates":true} 
[2026-08-22 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-22 17:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574255872001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14712148479442944,"note":"Value kept but may cause issues"} 
[2026-08-22 17:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018451456,"note":"Value kept but may cause issues"} 
[2026-08-22 17:21: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-22 17:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787399438000,"timestamp_ms":1787399438000,"timestamp_seconds":1787399438,"priority":1,"record_length":96,"hex_timestamp":"000001a0294efeb0"} 
[2026-08-22 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-22 17:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-22 17:21:58] 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-22 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-22 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-22 17:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:21: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-22 17:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574255872001,"66":14113,"103":206,"83":41984,"24":35,"16":14712148479442944,"45":1850275790018451456},"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-22 17:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574255872001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:21:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:21:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14712148479442944,"km_value":14712148479442.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018451456,"description":"Unknown IO ID 45"} 
[2026-08-22 17:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574255872001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1850275790018451456}} 
[2026-08-22 17:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":162519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:21:58] local.INFO: GPS data processed {"connection_id":162519,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:21:58] local.INFO: Acknowledgment sent {"connection_id":162519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:22:28] local.INFO: TCP Data received {"connection_id":161091,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:22:28] local.INFO: Processing buffer {"connection_id":161091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:22:28] local.INFO: Packet analysis {"connection_id":161091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:22:28] local.INFO: Extracted packet for processing {"connection_id":161091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:22:28] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574140416001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:22: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-22 17:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787399287000,"timestamp_ms":1787399287000,"timestamp_seconds":1787399287,"priority":1,"record_length":96,"hex_timestamp":"000001a0294cb0d8"} 
[2026-08-22 17:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:22: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-22 17:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-22 17:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574140416001,"66":25973,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574140416001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:22:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:22:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574140416001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":161091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:22:28] local.INFO: GPS data processed {"connection_id":161091,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:22:28] local.INFO: Acknowledgment sent {"connection_id":161091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:22:29] local.INFO: TCP Data received {"connection_id":162519,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294fecf8012d19f60007202ec80032007129..."} 
[2026-08-22 17:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294fecf8012d19f60007202ec80032007129..."} 
[2026-08-22 17:22:29] local.INFO: Processing buffer {"connection_id":162519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294fecf8012d19f60007202ec80032007129..."} 
[2026-08-22 17:22:29] local.INFO: Packet analysis {"connection_id":162519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294f"} 
[2026-08-22 17:22:29] local.INFO: Extracted packet for processing {"connection_id":162519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294f"} 
[2026-08-22 17:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756676096,"raw_latitude":119549640,"longitude_deg":75.6676096,"latitude_deg":11.954964,"altitude":50,"angle":113,"satellites":41,"speed":9,"hex_longitude":"2d19f600","hex_latitude":"07202ec8","is_valid_coordinates":true} 
[2026-08-22 17:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574271488001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14714145639235584,"note":"Value kept but may cause issues"} 
[2026-08-22 17:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870471619591208960,"note":"Value kept but may cause issues"} 
[2026-08-22 17:22:29] 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-22 17:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787399499000,"timestamp_ms":1787399499000,"timestamp_seconds":1787399499,"priority":1,"record_length":96,"hex_timestamp":"000001a0294fecf8"} 
[2026-08-22 17:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:22: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-22 17:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-22 17:22:29] 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-22 17:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:22:29] 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-22 17:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574271488001,"66":14102,"101":206,"83":41984,"24":9,"16":14714145639235584,"45":1870471619591208960},"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-22 17:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574271488001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:22:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:22:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14714145639235584,"km_value":14714145639235.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870471619591208960,"description":"Unknown IO ID 45"} 
[2026-08-22 17:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574271488001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1870471619591208960}} 
[2026-08-22 17:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":162519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:22:29] local.INFO: GPS data processed {"connection_id":162519,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:22:29] local.INFO: Acknowledgment sent {"connection_id":162519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:22:49] local.INFO: TCP Data received {"connection_id":159918,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:22:49] local.INFO: Processing buffer {"connection_id":159918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:22:49] local.INFO: IMEI packet received {"connection_id":159918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":159918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:22:52] local.INFO: TCP Data received {"connection_id":161092,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:22:52] local.INFO: Processing buffer {"connection_id":161092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:22:52] local.INFO: IMEI packet received {"connection_id":161092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":161092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:22:52] local.INFO: TCP Data received {"connection_id":161092,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:22:52] local.INFO: Processing buffer {"connection_id":161092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:22:52] local.INFO: IMEI packet received {"connection_id":161092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":161092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:22:54] local.INFO: TCP Data received {"connection_id":159918,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:22:54] local.INFO: Processing buffer {"connection_id":159918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:22:54] local.INFO: IMEI packet received {"connection_id":159918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":159918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:22:54] local.INFO: TCP Data received {"connection_id":159918,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:22:54] local.INFO: Processing buffer {"connection_id":159918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:22:54] local.INFO: Packet analysis {"connection_id":159918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:22:54] local.INFO: Extracted packet for processing {"connection_id":159918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574140416001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:22: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-22 17:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787399287000,"timestamp_ms":1787399287000,"timestamp_seconds":1787399287,"priority":1,"record_length":96,"hex_timestamp":"000001a0294cb0d8"} 
[2026-08-22 17:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-22 17:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574140416001,"66":25973,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574140416001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:22:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:22:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574140416001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":159918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:22:55] local.INFO: GPS data processed {"connection_id":159918,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:22:55] local.INFO: Acknowledgment sent {"connection_id":159918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:22:57] local.INFO: TCP Data received {"connection_id":161092,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:22:57] local.INFO: Processing buffer {"connection_id":161092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:22:57] local.INFO: IMEI packet received {"connection_id":161092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":161092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:22:58] local.INFO: TCP Data received {"connection_id":161092,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0294ff0e0012d19f70007202e180032008b28..."} 
[2026-08-22 17:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294ff0e0012d19f70007202e180032008b28..."} 
[2026-08-22 17:22:58] local.INFO: Processing buffer {"connection_id":161092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294ff0e0012d19f70007202e180032008b28..."} 
[2026-08-22 17:22:58] local.INFO: Packet analysis {"connection_id":161092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294f"} 
[2026-08-22 17:22:58] local.INFO: Extracted packet for processing {"connection_id":161092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294f"} 
[2026-08-22 17:22:58] local.INFO: GPS Element Parsed {"raw_longitude":756676352,"raw_latitude":119549464,"longitude_deg":75.6676352,"latitude_deg":11.9549464,"altitude":50,"angle":139,"satellites":40,"speed":11,"hex_longitude":"2d19f700","hex_latitude":"07202e18","is_valid_coordinates":true} 
[2026-08-22 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-22 17:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574271744001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14714158524137472,"note":"Value kept but may cause issues"} 
[2026-08-22 17:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870682725823727616,"note":"Value kept but may cause issues"} 
[2026-08-22 17:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787399500000,"timestamp_ms":1787399500000,"timestamp_seconds":1787399500,"priority":1,"record_length":96,"hex_timestamp":"000001a0294ff0e0"} 
[2026-08-22 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-22 17:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 17:22:58] 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-22 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-22 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-22 17:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:22: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-22 17:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574271744001,"66":14102,"101":206,"83":41984,"24":11,"16":14714158524137472,"45":1870682725823727616},"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-22 17:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574271744001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:22:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:22:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14714158524137472,"km_value":14714158524137.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870682725823727616,"description":"Unknown IO ID 45"} 
[2026-08-22 17:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574271744001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1870682725823727616}} 
[2026-08-22 17:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":161092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:22:58] local.INFO: GPS data processed {"connection_id":161092,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:22:58] local.INFO: Acknowledgment sent {"connection_id":161092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:23:26] local.INFO: TCP Data received {"connection_id":159918,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:23:26] local.INFO: Processing buffer {"connection_id":159918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0294cb0d8012d7f9cc005afcf880007011f2d..."} 
[2026-08-22 17:23:26] local.INFO: Packet analysis {"connection_id":159918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:23:26] local.INFO: Extracted packet for processing {"connection_id":159918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0294c"} 
[2026-08-22 17:23:26] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574140416001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:23: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-22 17:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787399287000,"timestamp_ms":1787399287000,"timestamp_seconds":1787399287,"priority":1,"record_length":96,"hex_timestamp":"000001a0294cb0d8"} 
[2026-08-22 17: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-22 17:23: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-22 17: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":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-22 17:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574140416001,"66":25973,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574140416001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:23:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:23:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574140416001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":159918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:23:26] local.INFO: GPS data processed {"connection_id":159918,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:23:26] local.INFO: Acknowledgment sent {"connection_id":159918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:23:29] local.INFO: TCP Data received {"connection_id":161092,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029500c38012d1a0040072026180032007c28..."} 
[2026-08-22 17:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029500c38012d1a0040072026180032007c28..."} 
[2026-08-22 17:23:29] local.INFO: Processing buffer {"connection_id":161092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029500c38012d1a0040072026180032007c28..."} 
[2026-08-22 17:23:29] local.INFO: Packet analysis {"connection_id":161092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02950"} 
[2026-08-22 17:23:29] local.INFO: Extracted packet for processing {"connection_id":161092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02950"} 
[2026-08-22 17:23:29] local.INFO: GPS Element Parsed {"raw_longitude":756678720,"raw_latitude":119547416,"longitude_deg":75.667872,"latitude_deg":11.9547416,"altitude":50,"angle":124,"satellites":40,"speed":18,"hex_longitude":"2d1a0040","hex_latitude":"07202618","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574272000001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14714308847992832,"note":"Value kept but may cause issues"} 
[2026-08-22 17:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870964200800393216,"note":"Value kept but may cause issues"} 
[2026-08-22 17:23:29] 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-22 17:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787399507000,"timestamp_ms":1787399507000,"timestamp_seconds":1787399507,"priority":1,"record_length":96,"hex_timestamp":"000001a029500c38"} 
[2026-08-22 17: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-22 17:23: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-22 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 17:23:29] 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-22 17: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-22 17: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-22 17:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:23:29] 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-22 17:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574272000001,"66":14070,"101":206,"83":41984,"24":18,"16":14714308847992832,"45":1870964200800393216},"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-22 17:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574272000001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:23:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:23:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14714308847992832,"km_value":14714308847992.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870964200800393216,"description":"Unknown IO ID 45"} 
[2026-08-22 17:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574272000001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1870964200800393216}} 
[2026-08-22 17:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":161092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:23:30] local.INFO: GPS data processed {"connection_id":161092,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:23:30] local.INFO: Acknowledgment sent {"connection_id":161092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:23:48] local.INFO: TCP Data received {"connection_id":159919,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:23:48] local.INFO: Processing buffer {"connection_id":159919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:23:48] local.INFO: IMEI packet received {"connection_id":159919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":159919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:23:54] local.INFO: TCP Data received {"connection_id":159919,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:23:54] local.INFO: Processing buffer {"connection_id":159919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:23:54] local.INFO: IMEI packet received {"connection_id":159919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":159919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:23:54] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:23:54] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:23:54] local.INFO: IMEI packet received {"connection_id":159920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":159920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:23:54] local.INFO: TCP Data received {"connection_id":159919,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:23:54] local.INFO: Processing buffer {"connection_id":159919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:23:54] local.INFO: Packet analysis {"connection_id":159919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:23:54] local.INFO: Extracted packet for processing {"connection_id":159919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:23:54] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574217472001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:23: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-22 17:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787399588000,"timestamp_ms":1787399588000,"timestamp_seconds":1787399588,"priority":1,"record_length":96,"hex_timestamp":"000001a0295148a0"} 
[2026-08-22 17:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 17:23:54] 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-22 17:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574217472001,"66":25615,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574217472001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:23:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:23:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574217472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":159919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:23:54] local.INFO: GPS data processed {"connection_id":159919,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:23:54] local.INFO: Acknowledgment sent {"connection_id":159919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:23:57] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:23:57] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:23:57] local.INFO: IMEI packet received {"connection_id":159920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":159920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:24:00] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:24:00] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:24:00] local.INFO: IMEI packet received {"connection_id":159920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":159920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:24:01] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029512d48012d1a2100072019480035011029..."} 
[2026-08-22 17:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029512d48012d1a2100072019480035011029..."} 
[2026-08-22 17:24:01] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029512d48012d1a2100072019480035011029..."} 
[2026-08-22 17:24:01] local.INFO: Packet analysis {"connection_id":159920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:24:01] local.INFO: Extracted packet for processing {"connection_id":159920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:24:01] local.INFO: GPS Element Parsed {"raw_longitude":756687104,"raw_latitude":119544136,"longitude_deg":75.6687104,"latitude_deg":11.9544136,"altitude":53,"angle":272,"satellites":41,"speed":6,"hex_longitude":"2d1a2100","hex_latitude":"07201948","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574291456001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14714880078643200,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883349099774300160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:01] 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-22 17:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787399581000,"timestamp_ms":1787399581000,"timestamp_seconds":1787399581,"priority":1,"record_length":96,"hex_timestamp":"000001a029512d48"} 
[2026-08-22 17: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-22 17:24: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-22 17: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 17:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:24:01] 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-22 17:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574291456001,"66":14189,"101":206,"83":41984,"24":6,"16":14714880078643200,"45":1883349099774300160},"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-22 17:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574291456001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:24:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:24:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14714880078643200,"km_value":14714880078643.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883349099774300160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574291456001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1883349099774300160}} 
[2026-08-22 17:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":159920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:24:02] local.INFO: GPS data processed {"connection_id":159920,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:24:02] local.INFO: Acknowledgment sent {"connection_id":159920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:24:03] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0295148a0012d1a1b00072018a80035010128..."} 
[2026-08-22 17:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295148a0012d1a1b00072018a80035010128..."} 
[2026-08-22 17:24:03] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295148a0012d1a1b00072018a80035010128..."} 
[2026-08-22 17:24:03] local.INFO: Packet analysis {"connection_id":159920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:24:03] local.INFO: Extracted packet for processing {"connection_id":159920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:24:03] local.INFO: GPS Element Parsed {"raw_longitude":756685568,"raw_latitude":119543976,"longitude_deg":75.6685568,"latitude_deg":11.9543976,"altitude":53,"angle":257,"satellites":40,"speed":13,"hex_longitude":"2d1a1b00","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574292736001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14714953093087232,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882786149820876800,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787399588000,"timestamp_ms":1787399588000,"timestamp_seconds":1787399588,"priority":1,"record_length":96,"hex_timestamp":"000001a0295148a0"} 
[2026-08-22 17: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-22 17:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 17:24:03] 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-22 17: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-22 17: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-22 17:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:24:03] 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-22 17:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574292736001,"66":14070,"101":206,"83":41984,"24":13,"16":14714953093087232,"45":1882786149820876800},"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-22 17:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574292736001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:24:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:24:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14714953093087232,"km_value":14714953093087.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882786149820876800,"description":"Unknown IO ID 45"} 
[2026-08-22 17:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574292736001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1882786149820876800}} 
[2026-08-22 17:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":159920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:24:03] local.INFO: GPS data processed {"connection_id":159920,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:24:03] local.INFO: Acknowledgment sent {"connection_id":159920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:24:26] local.INFO: TCP Data received {"connection_id":159919,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:24:26] local.INFO: Processing buffer {"connection_id":159919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:24:26] local.INFO: Packet analysis {"connection_id":159919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:24:26] local.INFO: Extracted packet for processing {"connection_id":159919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:24:26] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574217472001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24: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-22 17:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787399588000,"timestamp_ms":1787399588000,"timestamp_seconds":1787399588,"priority":1,"record_length":96,"hex_timestamp":"000001a0295148a0"} 
[2026-08-22 17:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:24: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-22 17:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 17:24:26] 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-22 17:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574217472001,"66":25615,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574217472001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:24:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574217472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":159919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:24:26] local.INFO: GPS data processed {"connection_id":159919,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:24:26] local.INFO: Acknowledgment sent {"connection_id":159919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:24:34] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02951e8c8012d19d2c007202420003900e328..."} 
[2026-08-22 17:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02951e8c8012d19d2c007202420003900e328..."} 
[2026-08-22 17:24:34] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02951e8c8012d19d2c007202420003900e328..."} 
[2026-08-22 17:24:34] local.INFO: Packet analysis {"connection_id":159920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:24:34] local.INFO: Extracted packet for processing {"connection_id":159920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:24:34] local.INFO: GPS Element Parsed {"raw_longitude":756667072,"raw_latitude":119546912,"longitude_deg":75.6667072,"latitude_deg":11.9546912,"altitude":57,"angle":227,"satellites":40,"speed":22,"hex_longitude":"2d19d2c0","hex_latitude":"07202420","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574304768001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14715949525499904,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945359134720,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:34] 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-22 17:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787399629000,"timestamp_ms":1787399629000,"timestamp_seconds":1787399629,"priority":1,"record_length":96,"hex_timestamp":"000001a02951e8c8"} 
[2026-08-22 17: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-22 17:24:34] 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-22 17: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-22 17:24:34] 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-22 17: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-22 17: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-22 17:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:24:34] 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-22 17:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574304768001,"66":14070,"101":206,"83":41984,"24":22,"16":14715949525499904,"45":1861182945359134720},"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-22 17:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574304768001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:24:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:24:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14715949525499904,"km_value":14715949525499.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945359134720,"description":"Unknown IO ID 45"} 
[2026-08-22 17:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574304768001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1861182945359134720}} 
[2026-08-22 17:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":159920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:24:34] local.INFO: GPS data processed {"connection_id":159920,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:24:34] local.INFO: Acknowledgment sent {"connection_id":159920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:24:49] local.INFO: TCP Data received {"connection_id":162520,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:24:49] local.INFO: Processing buffer {"connection_id":162520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:24:49] local.INFO: IMEI packet received {"connection_id":162520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":162520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:24:54] local.INFO: TCP Data received {"connection_id":162520,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:24:54] local.INFO: Processing buffer {"connection_id":162520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:24:54] local.INFO: IMEI packet received {"connection_id":162520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":162520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:24:54] local.INFO: TCP Data received {"connection_id":162521,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:24:54] local.INFO: Processing buffer {"connection_id":162521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:24:54] local.INFO: IMEI packet received {"connection_id":162521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":162521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:24:55] local.INFO: TCP Data received {"connection_id":162520,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:24:55] local.INFO: Processing buffer {"connection_id":162520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:24:55] local.INFO: Packet analysis {"connection_id":162520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:24:55] local.INFO: Extracted packet for processing {"connection_id":162520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574217472001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17: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-22 17:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787399588000,"timestamp_ms":1787399588000,"timestamp_seconds":1787399588,"priority":1,"record_length":96,"hex_timestamp":"000001a0295148a0"} 
[2026-08-22 17:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:24: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-22 17:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 17:24:55] 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-22 17:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574217472001,"66":25615,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574217472001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:24:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574217472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":162520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:24:55] local.INFO: GPS data processed {"connection_id":162520,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:24:55] local.INFO: Acknowledgment sent {"connection_id":162520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:24:55] local.INFO: TCP Data received {"connection_id":162521,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:24:55] local.INFO: Processing buffer {"connection_id":162521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:24:55] local.INFO: IMEI packet received {"connection_id":162521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":162521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:24:56] local.INFO: TCP Data received {"connection_id":162521,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02951fc50012d19cc4007201de8003600fb29..."} 
[2026-08-22 17:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02951fc50012d19cc4007201de8003600fb29..."} 
[2026-08-22 17:24:56] local.INFO: Processing buffer {"connection_id":162521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02951fc50012d19cc4007201de8003600fb29..."} 
[2026-08-22 17:24:56] local.INFO: Packet analysis {"connection_id":162521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:24:56] local.INFO: Extracted packet for processing {"connection_id":162521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:24:56] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119545320,"longitude_deg":75.6665408,"latitude_deg":11.954532,"altitude":54,"angle":251,"satellites":41,"speed":9,"hex_longitude":"2d19cc40","hex_latitude":"07201de8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574305024001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14716061194649600,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860760732893978624,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:56] 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-22 17:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787399634000,"timestamp_ms":1787399634000,"timestamp_seconds":1787399634,"priority":1,"record_length":96,"hex_timestamp":"000001a02951fc50"} 
[2026-08-22 17: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-22 17:24:56] 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-22 17:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 17:24:56] 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-22 17: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-22 17: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-22 17:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:24:56] 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-22 17:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574305024001,"66":13580,"101":206,"83":41984,"24":9,"16":14716061194649600,"45":1860760732893978624},"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-22 17:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574305024001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:24:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14716061194649600,"km_value":14716061194649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860760732893978624,"description":"Unknown IO ID 45"} 
[2026-08-22 17:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574305024001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1860760732893978624}} 
[2026-08-22 17:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":162521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:24:56] local.INFO: GPS data processed {"connection_id":162521,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:24:56] local.INFO: Acknowledgment sent {"connection_id":162521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:24:57] local.INFO: TCP Data received {"connection_id":162521,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029520038012d19cb8007201dc80036010f29..."} 
[2026-08-22 17:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029520038012d19cb8007201dc80036010f29..."} 
[2026-08-22 17:24:57] local.INFO: Processing buffer {"connection_id":162521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029520038012d19cb8007201dc80036010f29..."} 
[2026-08-22 17:24:57] local.INFO: Packet analysis {"connection_id":162521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:24:57] local.INFO: Extracted packet for processing {"connection_id":162521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:24:57] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119545288,"longitude_deg":75.6665216,"latitude_deg":11.9545288,"altitude":54,"angle":271,"satellites":41,"speed":7,"hex_longitude":"2d19cb80","hex_latitude":"07201dc8","is_valid_coordinates":true} 
[2026-08-22 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-22 17:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574306304001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14716069784584192,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858931145544951808,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:57] 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-22 17:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787399635000,"timestamp_ms":1787399635000,"timestamp_seconds":1787399635,"priority":1,"record_length":96,"hex_timestamp":"000001a029520038"} 
[2026-08-22 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-22 17:24:57] 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-22 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 17:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751526983,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-22 17:24:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2893844269921992714,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:57] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638384256612453,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:57] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2147950638,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:57] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3963393589060357715,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-648510511545581513,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:57] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-22 17:24:57] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,72,160,232,45,192,36,57,40,10,66,228,64,37,205,1,240,131,227,71,41,32,4,113,21,182,244,8,38,239,55,2,52,7,25,164],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-22 17:24:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891386231560929280,"timestamp_seconds":3891386231560929.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 17:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:24:57] 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-22 17:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574306304001,"66":14135,"101":206,"83":41984,"24":7,"16":14716069784584192,"45":1858931145544951808},"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-22 17:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574306304001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:24:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:24:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14716069784584192,"km_value":14716069784584.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858931145544951808,"description":"Unknown IO ID 45"} 
[2026-08-22 17:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574306304001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1858931145544951808}} 
[2026-08-22 17:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":162521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:24:57] local.INFO: GPS data processed {"connection_id":162521,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:24:57] local.INFO: Acknowledgment sent {"connection_id":162521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:25:18] local.INFO: TCP Data received {"connection_id":159921,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:25:18] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:25:18] local.INFO: IMEI packet received {"connection_id":159921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 17:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":159921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:25:20] local.INFO: TCP Data received {"connection_id":159921,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:25:20] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:25:20] local.INFO: IMEI packet received {"connection_id":159921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":159921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:25:22] local.INFO: TCP Data received {"connection_id":159921,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a02952dee0012d7a5d8005e467f80006004927..."} 
[2026-08-22 17:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02952dee0012d7a5d8005e467f80006004927..."} 
[2026-08-22 17:25:22] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02952dee0012d7a5d8005e467f80006004927..."} 
[2026-08-22 17:25:22] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:25:22] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:25:22] local.INFO: GPS Element Parsed {"raw_longitude":762994048,"raw_latitude":98854904,"longitude_deg":76.2994048,"latitude_deg":9.8854904,"altitude":6,"angle":73,"satellites":39,"speed":7,"hex_longitude":"2d7a5d80","hex_latitude":"05e467f8","is_valid_coordinates":true} 
[2026-08-22 17:25: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-22 17:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574320896001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122278333097443328,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817133302023952384,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:22] 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-22 17:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787399692000,"timestamp_ms":1787399692000,"timestamp_seconds":1787399692,"priority":1,"record_length":96,"hex_timestamp":"000001a02952dee0"} 
[2026-08-22 17:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:25: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":248,"data_length":795,"current_offset":136} 
[2026-08-22 17:25:22] 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-22 17:25: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-22 17:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574320896001,"66":13048,"221":206,"19":45824,"24":7,"16":122278333097443328,"45":8817133302023952384},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-22 17:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574320896001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:25:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-22 17:25:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122278333097443328,"km_value":122278333097443.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817133302023952384,"description":"Unknown IO ID 45"} 
[2026-08-22 17:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574320896001,"power":13048,"unknown_221":206,"unknown_19":45824,"ignition":7,"odometer":null,"unknown_45":8817133302023952384}} 
[2026-08-22 17:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:25:22] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:25:22] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:25:26] local.INFO: TCP Data received {"connection_id":162520,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:25:26] local.INFO: Processing buffer {"connection_id":162520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:25:26] local.INFO: Packet analysis {"connection_id":162520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:25:26] local.INFO: Extracted packet for processing {"connection_id":162520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574217472001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25: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-22 17:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787399588000,"timestamp_ms":1787399588000,"timestamp_seconds":1787399588,"priority":1,"record_length":96,"hex_timestamp":"000001a0295148a0"} 
[2026-08-22 17: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-22 17:25: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-22 17: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":117,"data_length":795,"current_offset":136} 
[2026-08-22 17:25:26] 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-22 17: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-22 17: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-22 17:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574217472001,"66":25615,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574217472001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:25:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574217472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":162520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:25:26] local.INFO: GPS data processed {"connection_id":162520,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:25:26] local.INFO: Acknowledgment sent {"connection_id":162520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:25:28] local.INFO: TCP Data received {"connection_id":162521,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02952ac18012d19b2000720af40003a012829..."} 
[2026-08-22 17:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02952ac18012d19b2000720af40003a012829..."} 
[2026-08-22 17:25:28] local.INFO: Processing buffer {"connection_id":162521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02952ac18012d19b2000720af40003a012829..."} 
[2026-08-22 17:25:28] local.INFO: Packet analysis {"connection_id":162521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:25:28] local.INFO: Extracted packet for processing {"connection_id":162521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756658688,"raw_latitude":119582528,"longitude_deg":75.6658688,"latitude_deg":11.9582528,"altitude":58,"angle":296,"satellites":41,"speed":28,"hex_longitude":"2d19b200","hex_latitude":"0720af40","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574317568001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14718071239344128,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852738696066801664,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:28] 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-22 17:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787399679000,"timestamp_ms":1787399679000,"timestamp_seconds":1787399679,"priority":1,"record_length":96,"hex_timestamp":"000001a02952ac18"} 
[2026-08-22 17: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-22 17:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 17:25:28] 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-22 17: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-22 17: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-22 17:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:25:28] 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-22 17:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574317568001,"66":14396,"103":206,"83":41984,"24":28,"16":14718071239344128,"45":1852738696066801664},"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-22 17:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574317568001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:25:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:25:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14718071239344128,"km_value":14718071239344.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852738696066801664,"description":"Unknown IO ID 45"} 
[2026-08-22 17:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574317568001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1852738696066801664}} 
[2026-08-22 17:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":162521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:25:28] local.INFO: GPS data processed {"connection_id":162521,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:25:28] local.INFO: Acknowledgment sent {"connection_id":162521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:25:49] local.INFO: TCP Data received {"connection_id":162522,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:25:49] local.INFO: Processing buffer {"connection_id":162522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:25:49] local.INFO: IMEI packet received {"connection_id":162522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":162522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:25:53] local.INFO: TCP Data received {"connection_id":159921,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a02952ea98012d7a5fc005e468880005005526..."} 
[2026-08-22 17:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02952ea98012d7a5fc005e468880005005526..."} 
[2026-08-22 17:25:53] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02952ea98012d7a5fc005e468880005005526..."} 
[2026-08-22 17:25:53] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:25:53] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:25:53] local.INFO: GPS Element Parsed {"raw_longitude":762994624,"raw_latitude":98855048,"longitude_deg":76.2994624,"latitude_deg":9.8855048,"altitude":5,"angle":85,"satellites":38,"speed":5,"hex_longitude":"2d7a5fc0","hex_latitude":"05e46888","is_valid_coordinates":true} 
[2026-08-22 17:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574321152001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122278363162214400,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817344408256509952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:53] 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-22 17:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787399695000,"timestamp_ms":1787399695000,"timestamp_seconds":1787399695,"priority":1,"record_length":96,"hex_timestamp":"000001a02952ea98"} 
[2026-08-22 17:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-22 17:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574321152001,"66":12765,"221":206,"19":45824,"24":5,"16":122278363162214400,"45":8817344408256509952},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-22 17:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574321152001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:25:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-22 17:25:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122278363162214400,"km_value":122278363162214.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817344408256509952,"description":"Unknown IO ID 45"} 
[2026-08-22 17:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574321152001,"power":12765,"unknown_221":206,"unknown_19":45824,"ignition":5,"odometer":null,"unknown_45":8817344408256509952}} 
[2026-08-22 17:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:25:53] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:25:53] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:25:53] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:25:53] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:25:53] local.INFO: IMEI packet received {"connection_id":159922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":159922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:25:54] local.INFO: TCP Data received {"connection_id":162522,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:25:54] local.INFO: Processing buffer {"connection_id":162522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:25:54] local.INFO: IMEI packet received {"connection_id":162522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":162522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:25:54] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:25:54] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:25:54] local.INFO: IMEI packet received {"connection_id":159922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":159922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:25:55] local.INFO: TCP Data received {"connection_id":162522,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:25:55] local.INFO: Processing buffer {"connection_id":162522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:25:55] local.INFO: Packet analysis {"connection_id":162522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:25:55] local.INFO: Extracted packet for processing {"connection_id":162522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:25:55] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574217472001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25: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-22 17:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787399588000,"timestamp_ms":1787399588000,"timestamp_seconds":1787399588,"priority":1,"record_length":96,"hex_timestamp":"000001a0295148a0"} 
[2026-08-22 17:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:25: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-22 17:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 17:25:55] 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-22 17:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574217472001,"66":25615,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574217472001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:25:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:25:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574217472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":162522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:25:55] local.INFO: GPS data processed {"connection_id":162522,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:25:55] local.INFO: Acknowledgment sent {"connection_id":162522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:25:57] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:25:57] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:25:57] local.INFO: IMEI packet received {"connection_id":159922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":159922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:25:58] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02952b3e8012d19ab400720b088003b011c2b..."} 
[2026-08-22 17:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02952b3e8012d19ab400720b088003b011c2b..."} 
[2026-08-22 17:25:58] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02952b3e8012d19ab400720b088003b011c2b..."} 
[2026-08-22 17:25:58] local.INFO: Packet analysis {"connection_id":159922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:25:58] local.INFO: Extracted packet for processing {"connection_id":159922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:25:58] local.INFO: GPS Element Parsed {"raw_longitude":756656960,"raw_latitude":119582856,"longitude_deg":75.665696,"latitude_deg":11.9582856,"altitude":59,"angle":284,"satellites":43,"speed":29,"hex_longitude":"2d19ab40","hex_latitude":"0720b088","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574317824001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14718157138690048,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851542427415822336,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25: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-22 17:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787399681000,"timestamp_ms":1787399681000,"timestamp_seconds":1787399681,"priority":1,"record_length":96,"hex_timestamp":"000001a02952b3e8"} 
[2026-08-22 17: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-22 17:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 17:25: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-22 17: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-22 17: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-22 17:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:25: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-22 17:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574317824001,"66":14396,"103":206,"83":41984,"24":29,"16":14718157138690048,"45":1851542427415822336},"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-22 17:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574317824001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:25:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:25:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14718157138690048,"km_value":14718157138690.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851542427415822336,"description":"Unknown IO ID 45"} 
[2026-08-22 17:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574317824001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1851542427415822336}} 
[2026-08-22 17:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":159922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:25:58] local.INFO: GPS data processed {"connection_id":159922,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:25:58] local.INFO: Acknowledgment sent {"connection_id":159922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:25:59] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02952d328012d198f000720b348003e011128..."} 
[2026-08-22 17:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02952d328012d198f000720b348003e011128..."} 
[2026-08-22 17:25:59] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02952d328012d198f000720b348003e011128..."} 
[2026-08-22 17:25:59] local.INFO: Packet analysis {"connection_id":159922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:25:59] local.INFO: Extracted packet for processing {"connection_id":159922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756649728,"raw_latitude":119583560,"longitude_deg":75.6649728,"latitude_deg":11.958356,"altitude":62,"angle":273,"satellites":40,"speed":37,"hex_longitude":"2d198f00","hex_latitude":"0720b348","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574318336001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14718500736073728,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849642471323109376,"note":"Value kept but may cause issues"} 
[2026-08-22 17:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787399689000,"timestamp_ms":1787399689000,"timestamp_seconds":1787399689,"priority":1,"record_length":96,"hex_timestamp":"000001a02952d328"} 
[2026-08-22 17: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-22 17:25: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-22 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 17:25: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-22 17: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-22 17: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-22 17:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:25:59] 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-22 17:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574318336001,"66":14396,"103":206,"83":41984,"24":37,"16":14718500736073728,"45":1849642471323109376},"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-22 17:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574318336001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:25:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14718500736073728,"km_value":14718500736073.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849642471323109376,"description":"Unknown IO ID 45"} 
[2026-08-22 17:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574318336001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1849642471323109376}} 
[2026-08-22 17:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":159922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:25:59] local.INFO: GPS data processed {"connection_id":159922,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:25:59] local.INFO: Acknowledgment sent {"connection_id":159922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:26:03] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02952daf8012d1987800720b2a8003d010529..."} 
[2026-08-22 17:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02952daf8012d1987800720b2a8003d010529..."} 
[2026-08-22 17:26:03] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02952daf8012d1987800720b2a8003d010529..."} 
[2026-08-22 17:26:03] local.INFO: Packet analysis {"connection_id":159922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:26:03] local.INFO: Extracted packet for processing {"connection_id":159922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756647808,"raw_latitude":119583400,"longitude_deg":75.6647808,"latitude_deg":11.95834,"altitude":61,"angle":261,"satellites":41,"speed":39,"hex_longitude":"2d198780","hex_latitude":"0720b2a8","is_valid_coordinates":true} 
[2026-08-22 17:26: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-22 17:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574320384001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14718590930386944,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841690803231213568,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787399691000,"timestamp_ms":1787399691000,"timestamp_seconds":1787399691,"priority":1,"record_length":96,"hex_timestamp":"000001a02952daf8"} 
[2026-08-22 17:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:26: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-22 17:26: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-22 17:26: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-22 17:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:26:03] 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-22 17:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574320384001,"66":14407,"103":206,"83":41984,"24":39,"16":14718590930386944,"45":1841690803231213568},"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-22 17:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574320384001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:26:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14718590930386944,"km_value":14718590930386.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841690803231213568,"description":"Unknown IO ID 45"} 
[2026-08-22 17:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574320384001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1841690803231213568}} 
[2026-08-22 17:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":159922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:26:03] local.INFO: GPS data processed {"connection_id":159922,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:26:03] local.INFO: Acknowledgment sent {"connection_id":159922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:26:24] local.INFO: TCP Data received {"connection_id":159921,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a02952ee80012d7a600005e468900005006b27..."} 
[2026-08-22 17:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02952ee80012d7a600005e468900005006b27..."} 
[2026-08-22 17:26:24] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02952ee80012d7a600005e468900005006b27..."} 
[2026-08-22 17:26:24] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:26:24] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:26:24] local.INFO: GPS Element Parsed {"raw_longitude":762994688,"raw_latitude":98855056,"longitude_deg":76.2994688,"latitude_deg":9.8855056,"altitude":5,"angle":107,"satellites":39,"speed":3,"hex_longitude":"2d7a6000","hex_latitude":"05e46890","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574321920001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122278363162214400,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817977726954145792,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:24] 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-22 17:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787399696000,"timestamp_ms":1787399696000,"timestamp_seconds":1787399696,"priority":1,"record_length":96,"hex_timestamp":"000001a02952ee80"} 
[2026-08-22 17: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-22 17:26:24] 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-22 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-22 17:26: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-22 17: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-22 17: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-22 17:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574321920001,"66":12765,"221":206,"19":45824,"24":3,"16":122278363162214400,"45":8817977726954145792},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-22 17:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574321920001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:26:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-22 17:26:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122278363162214400,"km_value":122278363162214.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817977726954145792,"description":"Unknown IO ID 45"} 
[2026-08-22 17:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574321920001,"power":12765,"unknown_221":206,"unknown_19":45824,"ignition":3,"odometer":null,"unknown_45":8817977726954145792}} 
[2026-08-22 17:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:26:24] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:26:24] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:26:26] local.INFO: TCP Data received {"connection_id":162522,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:26:26] local.INFO: Processing buffer {"connection_id":162522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:26:26] local.INFO: Packet analysis {"connection_id":162522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:26:26] local.INFO: Extracted packet for processing {"connection_id":162522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:26:26] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 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-22 17:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574217472001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26: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-22 17:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787399588000,"timestamp_ms":1787399588000,"timestamp_seconds":1787399588,"priority":1,"record_length":96,"hex_timestamp":"000001a0295148a0"} 
[2026-08-22 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-22 17:26: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-22 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":117,"data_length":795,"current_offset":136} 
[2026-08-22 17:26:26] 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-22 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-22 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-22 17:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574217472001,"66":25615,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574217472001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:26:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:26:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574217472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":162522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:26:26] local.INFO: GPS data processed {"connection_id":162522,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:26:26] local.INFO: Acknowledgment sent {"connection_id":162522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:26:34] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02953ade8012d18d100072119e00042000128..."} 
[2026-08-22 17:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02953ade8012d18d100072119e00042000128..."} 
[2026-08-22 17:26:34] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02953ade8012d18d100072119e00042000128..."} 
[2026-08-22 17:26:34] local.INFO: Packet analysis {"connection_id":159922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02953"} 
[2026-08-22 17:26:34] local.INFO: Extracted packet for processing {"connection_id":159922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02953"} 
[2026-08-22 17:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119609824,"longitude_deg":75.6601088,"latitude_deg":11.9609824,"altitude":66,"angle":1,"satellites":40,"speed":40,"hex_longitude":"2d18d100","hex_latitude":"072119e0","is_valid_coordinates":true} 
[2026-08-22 17:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574333696001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14721477148409856,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138871080960,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:34] 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-22 17:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787399745000,"timestamp_ms":1787399745000,"timestamp_seconds":1787399745,"priority":1,"record_length":96,"hex_timestamp":"000001a02953ade8"} 
[2026-08-22 17:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:26:34] 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-22 17:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-22 17:26:34] 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-22 17:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:26:34] 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-22 17:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574333696001,"66":13243,"103":206,"83":41984,"24":40,"16":14721477148409856,"45":1788703138871080960},"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-22 17:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574333696001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:26:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14721477148409856,"km_value":14721477148409.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138871080960,"description":"Unknown IO ID 45"} 
[2026-08-22 17:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574333696001,"power":13243,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1788703138871080960}} 
[2026-08-22 17:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":159922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:26:34] local.INFO: GPS data processed {"connection_id":159922,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:26:34] local.INFO: Acknowledgment sent {"connection_id":159922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:26:48] local.INFO: TCP Data received {"connection_id":160166,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:26:48] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:26:48] local.INFO: IMEI packet received {"connection_id":160166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":160166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:26:50] local.INFO: TCP Data received {"connection_id":161093,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:26:50] local.INFO: Processing buffer {"connection_id":161093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:26:50] local.INFO: IMEI packet received {"connection_id":161093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":161093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:26:52] local.INFO: TCP Data received {"connection_id":161093,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:26:52] local.INFO: Processing buffer {"connection_id":161093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:26:52] local.INFO: IMEI packet received {"connection_id":161093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":161093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:26:54] local.INFO: TCP Data received {"connection_id":160166,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:26:54] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:26:54] local.INFO: IMEI packet received {"connection_id":160166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":160166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:26:55] local.INFO: TCP Data received {"connection_id":160166,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:26:55] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:26:55] local.INFO: Packet analysis {"connection_id":160166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:26:55] local.INFO: Extracted packet for processing {"connection_id":160166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:26:55] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574217472001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26: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-22 17:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787399588000,"timestamp_ms":1787399588000,"timestamp_seconds":1787399588,"priority":1,"record_length":96,"hex_timestamp":"000001a0295148a0"} 
[2026-08-22 17:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:26: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-22 17:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 17:26:55] 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-22 17:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574217472001,"66":25615,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574217472001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:26:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:26:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574217472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":160166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:26:55] local.INFO: GPS data processed {"connection_id":160166,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:26:55] local.INFO: Acknowledgment sent {"connection_id":160166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:26:55] local.INFO: TCP Data received {"connection_id":159921,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a02952fa38012d7a614005e468b80004005e27..."} 
[2026-08-22 17:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02952fa38012d7a614005e468b80004005e27..."} 
[2026-08-22 17:26:55] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02952fa38012d7a614005e468b80004005e27..."} 
[2026-08-22 17:26:55] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:26:55] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02952"} 
[2026-08-22 17:26:55] local.INFO: GPS Element Parsed {"raw_longitude":762995008,"raw_latitude":98855096,"longitude_deg":76.2995008,"latitude_deg":9.8855096,"altitude":4,"angle":94,"satellites":39,"speed":2,"hex_longitude":"2d7a6140","hex_latitude":"05e468b8","is_valid_coordinates":true} 
[2026-08-22 17:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574322176001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122278380342083584,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818048095698325504,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:55] 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-22 17:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787399699000,"timestamp_ms":1787399699000,"timestamp_seconds":1787399699,"priority":1,"record_length":96,"hex_timestamp":"000001a02952fa38"} 
[2026-08-22 17:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:26:55] 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-22 17:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-22 17:26:55] 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-22 17:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574322176001,"66":13243,"221":206,"19":45824,"24":2,"16":122278380342083584,"45":8818048095698325504},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-22 17:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574322176001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:26:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-22 17:26:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122278380342083584,"km_value":122278380342083.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818048095698325504,"description":"Unknown IO ID 45"} 
[2026-08-22 17:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574322176001,"power":13243,"unknown_221":206,"unknown_19":45824,"ignition":2,"odometer":null,"unknown_45":8818048095698325504}} 
[2026-08-22 17:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:26:55] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:26:55] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:26:57] local.INFO: TCP Data received {"connection_id":161093,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:26:57] local.INFO: Processing buffer {"connection_id":161093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:26:57] local.INFO: IMEI packet received {"connection_id":161093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":161093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:26:58] local.INFO: TCP Data received {"connection_id":161093,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02953bd88012d18d080072129280044015728..."} 
[2026-08-22 17:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02953bd88012d18d080072129280044015728..."} 
[2026-08-22 17:26:58] local.INFO: Processing buffer {"connection_id":161093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02953bd88012d18d080072129280044015728..."} 
[2026-08-22 17:26:58] local.INFO: Packet analysis {"connection_id":161093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02953"} 
[2026-08-22 17:26:58] local.INFO: Extracted packet for processing {"connection_id":161093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02953"} 
[2026-08-22 17:26:58] local.INFO: GPS Element Parsed {"raw_longitude":756600960,"raw_latitude":119613736,"longitude_deg":75.660096,"latitude_deg":11.9613736,"altitude":68,"angle":343,"satellites":40,"speed":38,"hex_longitude":"2d18d080","hex_latitude":"07212928","is_valid_coordinates":true} 
[2026-08-22 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-22 17:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574334720001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14721666126970880,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557662912512,"note":"Value kept but may cause issues"} 
[2026-08-22 17:26: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-22 17:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787399749000,"timestamp_ms":1787399749000,"timestamp_seconds":1787399749,"priority":1,"record_length":96,"hex_timestamp":"000001a02953bd88"} 
[2026-08-22 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-22 17:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-22 17:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 17:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:26: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-22 17:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574334720001,"66":13135,"103":206,"83":41984,"24":38,"16":14721666126970880,"45":1788210557662912512},"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-22 17:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574334720001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:26:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14721666126970880,"km_value":14721666126970.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557662912512,"description":"Unknown IO ID 45"} 
[2026-08-22 17:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574334720001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1788210557662912512}} 
[2026-08-22 17:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":161093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:26:58] local.INFO: GPS data processed {"connection_id":161093,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:26:58] local.INFO: Acknowledgment sent {"connection_id":161093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:27:26] local.INFO: TCP Data received {"connection_id":160166,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:27:26] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:27:26] local.INFO: Packet analysis {"connection_id":160166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:27:26] local.INFO: Extracted packet for processing {"connection_id":160166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:27:26] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574217472001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27: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-22 17:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787399588000,"timestamp_ms":1787399588000,"timestamp_seconds":1787399588,"priority":1,"record_length":96,"hex_timestamp":"000001a0295148a0"} 
[2026-08-22 17: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-22 17:27: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-22 17: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 17:27:26] 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-22 17: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-22 17: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-22 17:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574217472001,"66":25615,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574217472001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:27:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:27:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574217472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":160166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:27:26] local.INFO: GPS data processed {"connection_id":160166,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:27:26] local.INFO: Acknowledgment sent {"connection_id":160166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:27:27] local.INFO: TCP Data received {"connection_id":159921,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a029530dc0012d7a648005e468c80002007027..."} 
[2026-08-22 17:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029530dc0012d7a648005e468c80002007027..."} 
[2026-08-22 17:27:27] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029530dc0012d7a648005e468c80002007027..."} 
[2026-08-22 17:27:27] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02953"} 
[2026-08-22 17:27:27] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02953"} 
[2026-08-22 17:27:27] local.INFO: GPS Element Parsed {"raw_longitude":762995840,"raw_latitude":98855112,"longitude_deg":76.299584,"latitude_deg":9.8855112,"altitude":2,"angle":112,"satellites":39,"speed":12,"hex_longitude":"2d7a6480","hex_latitude":"05e468c8","is_valid_coordinates":true} 
[2026-08-22 17:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574322944001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122278418996789248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818399939419224064,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27:27] 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-22 17:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787399704000,"timestamp_ms":1787399704000,"timestamp_seconds":1787399704,"priority":1,"record_length":96,"hex_timestamp":"000001a029530dc0"} 
[2026-08-22 17:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:27:27] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-22 17:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574322944001,"66":13526,"221":206,"19":45824,"24":12,"16":122278418996789248,"45":8818399939419224064},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-22 17:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574322944001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:27:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-22 17:27:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122278418996789248,"km_value":122278418996789.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818399939419224064,"description":"Unknown IO ID 45"} 
[2026-08-22 17:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574322944001,"power":13526,"unknown_221":206,"unknown_19":45824,"ignition":12,"odometer":null,"unknown_45":8818399939419224064}} 
[2026-08-22 17:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:27:27] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:27:27] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:27:30] local.INFO: TCP Data received {"connection_id":161093,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02953c170012d18cf0007212cb00044014c28..."} 
[2026-08-22 17:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02953c170012d18cf0007212cb00044014c28..."} 
[2026-08-22 17:27:30] local.INFO: Processing buffer {"connection_id":161093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02953c170012d18cf0007212cb00044014c28..."} 
[2026-08-22 17:27:30] local.INFO: Packet analysis {"connection_id":161093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02953"} 
[2026-08-22 17:27:30] local.INFO: Extracted packet for processing {"connection_id":161093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02953"} 
[2026-08-22 17:27:30] local.INFO: GPS Element Parsed {"raw_longitude":756600576,"raw_latitude":119614640,"longitude_deg":75.6600576,"latitude_deg":11.961464,"altitude":68,"angle":332,"satellites":40,"speed":38,"hex_longitude":"2d18cf00","hex_latitude":"07212cb0","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574335744001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14721713371611136,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788069820175558656,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27: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-22 17:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787399750000,"timestamp_ms":1787399750000,"timestamp_seconds":1787399750,"priority":1,"record_length":96,"hex_timestamp":"000001a02953c170"} 
[2026-08-22 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-22 17:27: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-22 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-22 17:27:30] 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-22 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-22 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-22 17:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:27: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-22 17:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574335744001,"66":13135,"103":206,"83":41984,"24":38,"16":14721713371611136,"45":1788069820175558656},"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-22 17:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574335744001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:27:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 17:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14721713371611136,"km_value":14721713371611.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788069820175558656,"description":"Unknown IO ID 45"} 
[2026-08-22 17:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574335744001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1788069820175558656}} 
[2026-08-22 17:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":161093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:27:30] local.INFO: GPS data processed {"connection_id":161093,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:27:30] local.INFO: Acknowledgment sent {"connection_id":161093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:27:48] local.INFO: TCP Data received {"connection_id":162523,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:27:48] local.INFO: Processing buffer {"connection_id":162523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:27:48] local.INFO: IMEI packet received {"connection_id":162523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":162523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:27:52] local.INFO: TCP Data received {"connection_id":162524,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:27:52] local.INFO: Processing buffer {"connection_id":162524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:27:52] local.INFO: IMEI packet received {"connection_id":162524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":162524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:27:54] local.INFO: TCP Data received {"connection_id":162523,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:27:54] local.INFO: Processing buffer {"connection_id":162523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:27:54] local.INFO: IMEI packet received {"connection_id":162523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":162523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:27:54] local.INFO: TCP Data received {"connection_id":162523,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:27:54] local.INFO: Processing buffer {"connection_id":162523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:27:54] local.INFO: Packet analysis {"connection_id":162523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:27:54] local.INFO: Extracted packet for processing {"connection_id":162523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574217472001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27: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-22 17:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787399588000,"timestamp_ms":1787399588000,"timestamp_seconds":1787399588,"priority":1,"record_length":96,"hex_timestamp":"000001a0295148a0"} 
[2026-08-22 17: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-22 17:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 17:27:54] 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-22 17: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-22 17: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-22 17:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574217472001,"66":25615,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574217472001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:27:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:27:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574217472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":162523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:27:54] local.INFO: GPS data processed {"connection_id":162523,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:27:54] local.INFO: Acknowledgment sent {"connection_id":162523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:27:57] local.INFO: TCP Data received {"connection_id":162524,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:27:57] local.INFO: Processing buffer {"connection_id":162524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:27:57] local.INFO: IMEI packet received {"connection_id":162524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":162524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:27:58] local.INFO: TCP Data received {"connection_id":162524,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02954d2e0012d18928007217b80004f012925..."} 
[2026-08-22 17:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02954d2e0012d18928007217b80004f012925..."} 
[2026-08-22 17:27:58] local.INFO: Processing buffer {"connection_id":162524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02954d2e0012d18928007217b80004f012925..."} 
[2026-08-22 17:27:58] local.INFO: Packet analysis {"connection_id":162524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02954"} 
[2026-08-22 17:27:58] local.INFO: Extracted packet for processing {"connection_id":162524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02954"} 
[2026-08-22 17:27:58] local.INFO: GPS Element Parsed {"raw_longitude":756585088,"raw_latitude":119634816,"longitude_deg":75.6585088,"latitude_deg":11.9634816,"altitude":79,"angle":297,"satellites":37,"speed":36,"hex_longitude":"2d189280","hex_latitude":"07217b80","is_valid_coordinates":true} 
[2026-08-22 17:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574352384001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14723031926571008,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775333077484392448,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787399820000,"timestamp_ms":1787399820000,"timestamp_seconds":1787399820,"priority":1,"record_length":96,"hex_timestamp":"000001a02954d2e0"} 
[2026-08-22 17:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-22 17:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:27: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-22 17:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574352384001,"66":14113,"106":206,"83":41984,"24":36,"16":14723031926571008,"45":1775333077484392448},"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-22 17:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574352384001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:27:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 17:27:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14723031926571008,"km_value":14723031926571.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775333077484392448,"description":"Unknown IO ID 45"} 
[2026-08-22 17:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574352384001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1775333077484392448}} 
[2026-08-22 17:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":162524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:27:58] local.INFO: GPS data processed {"connection_id":162524,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:27:58] local.INFO: Acknowledgment sent {"connection_id":162524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:27:59] local.INFO: TCP Data received {"connection_id":159921,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a02954f9f0012d7af80005e37b40000400a323..."} 
[2026-08-22 17:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02954f9f0012d7af80005e37b40000400a323..."} 
[2026-08-22 17:27:59] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02954f9f0012d7af80005e37b40000400a323..."} 
[2026-08-22 17:27:59] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02954"} 
[2026-08-22 17:27:59] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02954"} 
[2026-08-22 17:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763033600,"raw_latitude":98794304,"longitude_deg":76.30336,"latitude_deg":9.8794304,"altitude":4,"angle":163,"satellites":35,"speed":12,"hex_longitude":"2d7af800","hex_latitude":"05e37b40","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574351104001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122282043949187072,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859636023492698112,"note":"Value kept but may cause issues"} 
[2026-08-22 17:27:59] 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-22 17:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787399830000,"timestamp_ms":1787399830000,"timestamp_seconds":1787399830,"priority":1,"record_length":96,"hex_timestamp":"000001a02954f9f0"} 
[2026-08-22 17: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-22 17:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 17:27:59] 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-22 17: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-22 17: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-22 17:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574351104001,"66":13406,"221":206,"19":45824,"24":12,"16":122282043949187072,"45":8859636023492698112},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-22 17:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574351104001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:27:59] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-22 17:27:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122282043949187072,"km_value":122282043949187.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859636023492698112,"description":"Unknown IO ID 45"} 
[2026-08-22 17:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574351104001,"power":13406,"unknown_221":206,"unknown_19":45824,"ignition":12,"odometer":null,"unknown_45":8859636023492698112}} 
[2026-08-22 17:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:27:59] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:27:59] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:28:25] local.INFO: TCP Data received {"connection_id":162523,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:28:25] local.INFO: Processing buffer {"connection_id":162523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295148a0012d7f9cc005afcf880007011f2e..."} 
[2026-08-22 17:28:25] local.INFO: Packet analysis {"connection_id":162523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:28:25] local.INFO: Extracted packet for processing {"connection_id":162523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02951"} 
[2026-08-22 17:28:25] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574217472001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:28: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-22 17:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787399588000,"timestamp_ms":1787399588000,"timestamp_seconds":1787399588,"priority":1,"record_length":96,"hex_timestamp":"000001a0295148a0"} 
[2026-08-22 17: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-22 17: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-22 17: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 17:28: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-22 17: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-22 17: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-22 17:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574217472001,"66":25615,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574217472001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:28:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574217472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":162523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:28:25] local.INFO: GPS data processed {"connection_id":162523,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:28:25] local.INFO: Acknowledgment sent {"connection_id":162523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:28:29] local.INFO: TCP Data received {"connection_id":162524,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02954e280012d1884c0072180e8004f011c25..."} 
[2026-08-22 17:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02954e280012d1884c0072180e8004f011c25..."} 
[2026-08-22 17:28:29] local.INFO: Processing buffer {"connection_id":162524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02954e280012d1884c0072180e8004f011c25..."} 
[2026-08-22 17:28:29] local.INFO: Packet analysis {"connection_id":162524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02954"} 
[2026-08-22 17:28:29] local.INFO: Extracted packet for processing {"connection_id":162524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02954"} 
[2026-08-22 17:28:29] local.INFO: GPS Element Parsed {"raw_longitude":756581568,"raw_latitude":119636200,"longitude_deg":75.6581568,"latitude_deg":11.96362,"altitude":79,"angle":284,"satellites":37,"speed":32,"hex_longitude":"2d1884c0","hex_latitude":"072180e8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574353920001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14723212315197440,"note":"Value kept but may cause issues"} 
[2026-08-22 17:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770618371624894464,"note":"Value kept but may cause issues"} 
[2026-08-22 17:28:29] 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-22 17:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787399824000,"timestamp_ms":1787399824000,"timestamp_seconds":1787399824,"priority":1,"record_length":96,"hex_timestamp":"000001a02954e280"} 
[2026-08-22 17: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-22 17:28: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-22 17: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-22 17:28:29] 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-22 17: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-22 17: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-22 17:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:28:29] 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-22 17:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574353920001,"66":14494,"106":206,"83":41984,"24":32,"16":14723212315197440,"45":1770618371624894464},"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-22 17:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574353920001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:28:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 17:28:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14723212315197440,"km_value":14723212315197.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770618371624894464,"description":"Unknown IO ID 45"} 
[2026-08-22 17:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574353920001,"power":14494,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1770618371624894464}} 
[2026-08-22 17:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":162524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:28:29] local.INFO: GPS data processed {"connection_id":162524,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:28:29] local.INFO: Acknowledgment sent {"connection_id":162524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:28:30] local.INFO: TCP Data received {"connection_id":159921,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a029553870012d7b034005e35a900006009a28..."} 
[2026-08-22 17:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029553870012d7b034005e35a900006009a28..."} 
[2026-08-22 17:28:30] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029553870012d7b034005e35a900006009a28..."} 
[2026-08-22 17:28:30] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:28:30] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:28:30] local.INFO: GPS Element Parsed {"raw_longitude":763036480,"raw_latitude":98785936,"longitude_deg":76.303648,"latitude_deg":9.8785936,"altitude":6,"angle":154,"satellites":40,"speed":21,"hex_longitude":"2d7b0340","hex_latitude":"05e35a90","is_valid_coordinates":true} 
[2026-08-22 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-22 17:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574356480001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122282473445916672,"note":"Value kept but may cause issues"} 
[2026-08-22 17:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860832292142792704,"note":"Value kept but may cause issues"} 
[2026-08-22 17:28:30] 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-22 17:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787399846000,"timestamp_ms":1787399846000,"timestamp_seconds":1787399846,"priority":1,"record_length":96,"hex_timestamp":"000001a029553870"} 
[2026-08-22 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-22 17:28:30] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-22 17:28:30] 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-22 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-22 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-22 17:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574356480001,"66":13319,"221":206,"19":45824,"24":21,"16":122282473445916672,"45":8860832292142792704},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-22 17:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574356480001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:28:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-22 17:28:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122282473445916672,"km_value":122282473445916.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860832292142792704,"description":"Unknown IO ID 45"} 
[2026-08-22 17:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574356480001,"power":13319,"unknown_221":206,"unknown_19":45824,"ignition":21,"odometer":null,"unknown_45":8860832292142792704}} 
[2026-08-22 17:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:28:30] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:28:30] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:28:52] local.INFO: TCP Data received {"connection_id":160168,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:28:52] local.INFO: Processing buffer {"connection_id":160168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:28:52] local.INFO: IMEI packet received {"connection_id":160168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":160168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:28:54] local.INFO: TCP Data received {"connection_id":160167,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:28:54] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:28:54] local.INFO: IMEI packet received {"connection_id":160167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":160167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:28:57] local.INFO: TCP Data received {"connection_id":160168,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:28:57] local.INFO: Processing buffer {"connection_id":160168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:28:57] local.INFO: IMEI packet received {"connection_id":160168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":160168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:28:58] local.INFO: TCP Data received {"connection_id":160168,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02954ea50012d187ec007218198004f010c28..."} 
[2026-08-22 17:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02954ea50012d187ec007218198004f010c28..."} 
[2026-08-22 17:28:58] local.INFO: Processing buffer {"connection_id":160168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02954ea50012d187ec007218198004f010c28..."} 
[2026-08-22 17:28:58] local.INFO: Packet analysis {"connection_id":160168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02954"} 
[2026-08-22 17:28:58] local.INFO: Extracted packet for processing {"connection_id":160168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02954"} 
[2026-08-22 17:28:58] local.INFO: GPS Element Parsed {"raw_longitude":756580032,"raw_latitude":119636376,"longitude_deg":75.6580032,"latitude_deg":11.9636376,"altitude":79,"angle":268,"satellites":40,"speed":28,"hex_longitude":"2d187ec0","hex_latitude":"07218198","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574354944001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14723285329641472,"note":"Value kept but may cause issues"} 
[2026-08-22 17:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766748090695477248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787399826000,"timestamp_ms":1787399826000,"timestamp_seconds":1787399826,"priority":1,"record_length":96,"hex_timestamp":"000001a02954ea50"} 
[2026-08-22 17: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-22 17:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-22 17:28:58] 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-22 17: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-22 17: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-22 17:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:28: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-22 17:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574354944001,"66":14515,"106":206,"83":41984,"24":28,"16":14723285329641472,"45":1766748090695477248},"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-22 17:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574354944001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:28:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 17:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14723285329641472,"km_value":14723285329641.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766748090695477248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574354944001,"power":14515,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1766748090695477248}} 
[2026-08-22 17:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":160168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:28:58] local.INFO: GPS data processed {"connection_id":160168,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:28:58] local.INFO: Acknowledgment sent {"connection_id":160168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:28:59] local.INFO: TCP Data received {"connection_id":160167,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:28:59] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:28:59] local.INFO: IMEI packet received {"connection_id":160167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":160167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:28:59] local.INFO: TCP Data received {"connection_id":160167,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:28:59] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:28:59] local.INFO: Packet analysis {"connection_id":160167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:28:59] local.INFO: Extracted packet for processing {"connection_id":160167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574294528001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:28: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-22 17:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787399889000,"timestamp_ms":1787399889000,"timestamp_seconds":1787399889,"priority":1,"record_length":96,"hex_timestamp":"000001a02955e068"} 
[2026-08-22 17: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-22 17:28: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-22 17: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":15,"data_length":795,"current_offset":136} 
[2026-08-22 17:28:59] 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-22 17: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-22 17: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-22 17:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574294528001,"66":25397,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574294528001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:28:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574294528001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":160167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:28:59] local.INFO: GPS data processed {"connection_id":160167,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:28:59] local.INFO: Acknowledgment sent {"connection_id":160167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:29:02] local.INFO: TCP Data received {"connection_id":159921,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a029558690012d7b090005e34ee80006009d27..."} 
[2026-08-22 17:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029558690012d7b090005e34ee80006009d27..."} 
[2026-08-22 17:29:02] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029558690012d7b090005e34ee80006009d27..."} 
[2026-08-22 17:29:02] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:29:02] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":98782952,"longitude_deg":76.3037952,"latitude_deg":9.8782952,"altitude":6,"angle":157,"satellites":39,"speed":0,"hex_longitude":"2d7b0900","hex_latitude":"05e34ee8","is_valid_coordinates":true} 
[2026-08-22 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-22 17:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574360576001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122282636654673920,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863998885628645376,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:02] 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-22 17:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787399866000,"timestamp_ms":1787399866000,"timestamp_seconds":1787399866,"priority":1,"record_length":96,"hex_timestamp":"000001a029558690"} 
[2026-08-22 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-22 17:29:02] 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-22 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-22 17:29:02] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57881440310662067,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3825672192,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:02] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3193438208,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2732392654,"corrected_to":0} 
[2026-08-22 17:29:02] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3221611490,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184418,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-5352526862284570619,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:02] local.WARNING: Large IO value detected {"io_id":228,"raw_value":1402871283935684352,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:02] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,221,19,24,241,158,16,111,160,249,45,123,4,35,10,66,110,167,192,137,5,39,89,64,1,240,187,41,227,113,205,36,248,216,38,239,50,2,178,27,83,228],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2732392654,"validated":0}]} 
[2026-08-22 17:29:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432515060818313216,"timestamp_seconds":432515060818313.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 17:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574360576001,"66":13319,"221":206,"19":45824,"24":0,"16":122282636654673920,"45":8863998885628645376},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-22 17:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574360576001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:29:02] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-22 17:29:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122282636654673920,"km_value":122282636654673.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863998885628645376,"description":"Unknown IO ID 45"} 
[2026-08-22 17:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574360576001,"power":13319,"unknown_221":206,"unknown_19":45824,"ignition":0,"odometer":null,"unknown_45":8863998885628645376}} 
[2026-08-22 17:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:29:02] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:29:02] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:29:04] local.INFO: TCP Data received {"connection_id":160167,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:29:04] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:29:04] local.INFO: Packet analysis {"connection_id":160167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:29:04] local.INFO: Extracted packet for processing {"connection_id":160167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574294528001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:04] 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-22 17:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787399889000,"timestamp_ms":1787399889000,"timestamp_seconds":1787399889,"priority":1,"record_length":96,"hex_timestamp":"000001a02955e068"} 
[2026-08-22 17:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:29: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-22 17:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 17:29:04] 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-22 17:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574294528001,"66":25397,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574294528001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:29:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574294528001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":160167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:29:04] local.INFO: GPS data processed {"connection_id":160167,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:29:04] local.INFO: Acknowledgment sent {"connection_id":160167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:29:29] local.INFO: TCP Data received {"connection_id":160168,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02954f608012d1878c007218140004f00ff28..."} 
[2026-08-22 17:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02954f608012d1878c007218140004f00ff28..."} 
[2026-08-22 17:29:29] local.INFO: Processing buffer {"connection_id":160168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02954f608012d1878c007218140004f00ff28..."} 
[2026-08-22 17:29:29] local.INFO: Packet analysis {"connection_id":160168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02954"} 
[2026-08-22 17:29:29] local.INFO: Extracted packet for processing {"connection_id":160168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02954"} 
[2026-08-22 17:29:29] local.INFO: GPS Element Parsed {"raw_longitude":756578496,"raw_latitude":119636288,"longitude_deg":75.6578496,"latitude_deg":11.9636288,"altitude":79,"angle":255,"satellites":40,"speed":11,"hex_longitude":"2d1878c0","hex_latitude":"07218140","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574355456001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14723358344085504,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765059240835258368,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:29] 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-22 17:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787399829000,"timestamp_ms":1787399829000,"timestamp_seconds":1787399829,"priority":1,"record_length":96,"hex_timestamp":"000001a02954f608"} 
[2026-08-22 17: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-22 17:29: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-22 17: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 17:29:29] 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-22 17: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-22 17: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-22 17:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:29:29] 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-22 17:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574355456001,"66":14591,"106":206,"83":41984,"24":11,"16":14723358344085504,"45":1765059240835258368},"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-22 17:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574355456001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:29:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 17:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14723358344085504,"km_value":14723358344085.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765059240835258368,"description":"Unknown IO ID 45"} 
[2026-08-22 17:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574355456001,"power":14591,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1765059240835258368}} 
[2026-08-22 17:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":160168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:29:29] local.INFO: GPS data processed {"connection_id":160168,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:29:29] local.INFO: Acknowledgment sent {"connection_id":160168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:29:34] local.INFO: TCP Data received {"connection_id":159921,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a02955d898012d7b098005e34d600004009d24..."} 
[2026-08-22 17:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02955d898012d7b098005e34d600004009d24..."} 
[2026-08-22 17:29:34] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02955d898012d7b098005e34d600004009d24..."} 
[2026-08-22 17:29:34] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:29:34] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:29:34] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98782560,"longitude_deg":76.303808,"latitude_deg":9.878256,"altitude":4,"angle":157,"satellites":36,"speed":0,"hex_longitude":"2d7b0980","hex_latitude":"05e34d60","is_valid_coordinates":true} 
[2026-08-22 17:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574365696001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122282658129510400,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366743967744,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:34] 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-22 17:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787399887000,"timestamp_ms":1787399887000,"timestamp_seconds":1787399887,"priority":1,"record_length":96,"hex_timestamp":"000001a02955d898"} 
[2026-08-22 17:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:29: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-22 17:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-22 17:29:34] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:34] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2629828611,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2732392654,"corrected_to":0} 
[2026-08-22 17:29:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827490,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3823300608,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:34] local.WARNING: Large IO value detected {"io_id":161,"raw_value":57881440310662067,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-3382202025309585403,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:34] local.WARNING: Large IO value detected {"io_id":228,"raw_value":513410357531059968,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:34] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,221,19,24,241,158,16,111,160,56,45,64,90,6,40,10,66,249,123,4,35,110,167,192,1,240,62,41,227,113,205,9,31,226,88,36,239,52,2,178,5,161,83,228],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2732392654,"validated":0}]} 
[2026-08-22 17:29:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432518355056852992,"timestamp_seconds":432518355056853.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 17:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574365696001,"66":13352,"221":206,"19":45824,"24":0,"16":122282658129510400,"45":8865617366743967744},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-22 17:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574365696001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:29:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-22 17:29:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122282658129510400,"km_value":122282658129510.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366743967744,"description":"Unknown IO ID 45"} 
[2026-08-22 17:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574365696001,"power":13352,"unknown_221":206,"unknown_19":45824,"ignition":0,"odometer":null,"unknown_45":8865617366743967744}} 
[2026-08-22 17:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:29:34] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:29:34] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:29:49] local.INFO: TCP Data received {"connection_id":161094,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:29:49] local.INFO: Processing buffer {"connection_id":161094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:29:49] local.INFO: IMEI packet received {"connection_id":161094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":161094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:29:53] local.INFO: TCP Data received {"connection_id":161094,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:29:53] local.INFO: Processing buffer {"connection_id":161094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:29:53] local.INFO: IMEI packet received {"connection_id":161094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":161094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:29:54] local.INFO: TCP Data received {"connection_id":161094,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:29:54] local.INFO: Processing buffer {"connection_id":161094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:29:54] local.INFO: Packet analysis {"connection_id":161094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:29:54] local.INFO: Extracted packet for processing {"connection_id":161094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574294528001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:29: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-22 17:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787399889000,"timestamp_ms":1787399889000,"timestamp_seconds":1787399889,"priority":1,"record_length":96,"hex_timestamp":"000001a02955e068"} 
[2026-08-22 17: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-22 17:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 17:29:54] 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-22 17: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-22 17: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-22 17:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574294528001,"66":25397,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574294528001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:29:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:29:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574294528001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":161094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:29:54] local.INFO: GPS data processed {"connection_id":161094,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:29:54] local.INFO: Acknowledgment sent {"connection_id":161094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:29:57] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:29:57] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:29:57] local.INFO: IMEI packet received {"connection_id":159923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":159923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:30:02] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:30:02] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:30:02] local.INFO: IMEI packet received {"connection_id":159923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":159923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:30:03] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02954f9f0012d18780007218100004f00ef28..."} 
[2026-08-22 17:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02954f9f0012d18780007218100004f00ef28..."} 
[2026-08-22 17:30:03] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02954f9f0012d18780007218100004f00ef28..."} 
[2026-08-22 17:30:03] local.INFO: Packet analysis {"connection_id":159923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02954"} 
[2026-08-22 17:30:03] local.INFO: Extracted packet for processing {"connection_id":159923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02954"} 
[2026-08-22 17:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756578304,"raw_latitude":119636224,"longitude_deg":75.6578304,"latitude_deg":11.9636224,"altitude":79,"angle":239,"satellites":40,"speed":7,"hex_longitude":"2d187800","hex_latitude":"07218100","is_valid_coordinates":true} 
[2026-08-22 17:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574356224001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14723366934020096,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763370390974971904,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30:03] 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-22 17:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787399830000,"timestamp_ms":1787399830000,"timestamp_seconds":1787399830,"priority":1,"record_length":96,"hex_timestamp":"000001a02954f9f0"} 
[2026-08-22 17:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 17:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2773,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:30:03] 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-22 17:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574356224001,"66":14591,"106":206,"83":41984,"24":7,"16":14723366934020096,"45":1763370390974971904},"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-22 17:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574356224001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:30:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 17:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14723366934020096,"km_value":14723366934020.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763370390974971904,"description":"Unknown IO ID 45"} 
[2026-08-22 17:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574356224001,"power":14591,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1763370390974971904}} 
[2026-08-22 17:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":159923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:30:03] local.INFO: GPS data processed {"connection_id":159923,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:30:03] local.INFO: Acknowledgment sent {"connection_id":159923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:30:05] local.INFO: TCP Data received {"connection_id":159921,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a0295622d0012d7b0a0005e34be0000400b520..."} 
[2026-08-22 17:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295622d0012d7b0a0005e34be0000400b520..."} 
[2026-08-22 17:30:05] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295622d0012d7b0a0005e34be0000400b520..."} 
[2026-08-22 17:30:05] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02956"} 
[2026-08-22 17:30:05] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02956"} 
[2026-08-22 17:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763038208,"raw_latitude":98782176,"longitude_deg":76.3038208,"latitude_deg":9.8782176,"altitude":4,"angle":181,"satellites":32,"speed":3,"hex_longitude":"2d7b0a00","hex_latitude":"05e34be0","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574371072001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122282675309379584,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104232222720,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30:05] 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-22 17:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787399906000,"timestamp_ms":1787399906000,"timestamp_seconds":1787399906,"priority":1,"record_length":96,"hex_timestamp":"000001a0295622d0"} 
[2026-08-22 17: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-22 17:30:05] 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-22 17: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-22 17:30:05] 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-22 17: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-22 17: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-22 17:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574371072001,"66":13406,"221":206,"19":45824,"24":3,"16":122282675309379584,"45":8865758104232222720},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-22 17:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574371072001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:30:05] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-22 17:30:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122282675309379584,"km_value":122282675309379.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104232222720,"description":"Unknown IO ID 45"} 
[2026-08-22 17:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574371072001,"power":13406,"unknown_221":206,"unknown_19":45824,"ignition":3,"odometer":null,"unknown_45":8865758104232222720}} 
[2026-08-22 17:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:30:05] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:30:05] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:30:08] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029554bf8012d187740072180a8005000ef28..."} 
[2026-08-22 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029554bf8012d187740072180a8005000ef28..."} 
[2026-08-22 17:30:08] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029554bf8012d187740072180a8005000ef28..."} 
[2026-08-22 17:30:08] local.INFO: Packet analysis {"connection_id":159923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:30:08] local.INFO: Extracted packet for processing {"connection_id":159923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756578112,"raw_latitude":119636136,"longitude_deg":75.6578112,"latitude_deg":11.9636136,"altitude":80,"angle":239,"satellites":40,"speed":0,"hex_longitude":"2d187740","hex_latitude":"072180a8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574356480001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14723384113889280,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763159284742422528,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30:08] 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-22 17:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787399851000,"timestamp_ms":1787399851000,"timestamp_seconds":1787399851,"priority":1,"record_length":96,"hex_timestamp":"000001a029554bf8"} 
[2026-08-22 17: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-22 17:30: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-22 17: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":56,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 17:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2773,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:30:08] 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-22 17:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574356480001,"66":13722,"106":206,"83":41984,"24":0,"16":14723384113889280,"45":1763159284742422528},"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-22 17:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574356480001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:30:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 17:30:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14723384113889280,"km_value":14723384113889.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763159284742422528,"description":"Unknown IO ID 45"} 
[2026-08-22 17:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574356480001,"power":13722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1763159284742422528}} 
[2026-08-22 17:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":159923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:30:08] local.INFO: GPS data processed {"connection_id":159923,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:30:08] local.INFO: Acknowledgment sent {"connection_id":159923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:30:26] local.INFO: TCP Data received {"connection_id":161094,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:30:26] local.INFO: Processing buffer {"connection_id":161094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:30:26] local.INFO: Packet analysis {"connection_id":161094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:30:26] local.INFO: Extracted packet for processing {"connection_id":161094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:30:26] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574294528001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30: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-22 17:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787399889000,"timestamp_ms":1787399889000,"timestamp_seconds":1787399889,"priority":1,"record_length":96,"hex_timestamp":"000001a02955e068"} 
[2026-08-22 17: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-22 17:30: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-22 17: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 17:30:26] 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-22 17: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-22 17: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-22 17:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574294528001,"66":25397,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574294528001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:30:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:30:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574294528001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":161094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:30:26] local.INFO: GPS data processed {"connection_id":161094,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:30:26] local.INFO: Acknowledgment sent {"connection_id":161094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:30:37] local.INFO: TCP Data received {"connection_id":159921,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a029562aa0012d7b0a4005e34ab8000400a921..."} 
[2026-08-22 17:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029562aa0012d7b0a4005e34ab8000400a921..."} 
[2026-08-22 17:30:37] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029562aa0012d7b0a4005e34ab8000400a921..."} 
[2026-08-22 17:30:37] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02956"} 
[2026-08-22 17:30:37] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02956"} 
[2026-08-22 17:30:37] local.INFO: GPS Element Parsed {"raw_longitude":763038272,"raw_latitude":98781880,"longitude_deg":76.3038272,"latitude_deg":9.878188,"altitude":4,"angle":169,"satellites":33,"speed":6,"hex_longitude":"2d7b0a40","hex_latitude":"05e34ab8","is_valid_coordinates":true} 
[2026-08-22 17:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574375936001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122282692489248768,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865898841720479744,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30:37] 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-22 17:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787399908000,"timestamp_ms":1787399908000,"timestamp_seconds":1787399908,"priority":1,"record_length":96,"hex_timestamp":"000001a029562aa0"} 
[2026-08-22 17:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:30:37] 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-22 17:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-22 17:30:37] 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-22 17:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574375936001,"66":13428,"221":206,"19":45824,"24":6,"16":122282692489248768,"45":8865898841720479744},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-22 17:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574375936001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:30:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-22 17:30:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122282692489248768,"km_value":122282692489248.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865898841720479744,"description":"Unknown IO ID 45"} 
[2026-08-22 17:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574375936001,"power":13428,"unknown_221":206,"unknown_19":45824,"ignition":6,"odometer":null,"unknown_45":8865898841720479744}} 
[2026-08-22 17:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:30:37] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:30:37] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:30:50] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:30:50] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:30:50] local.INFO: IMEI packet received {"connection_id":159924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":159924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:30:50] local.INFO: TCP Data received {"connection_id":160169,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:30:50] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:30:50] local.INFO: IMEI packet received {"connection_id":160169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":160169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:30:51] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:30:51] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:30:51] local.INFO: IMEI packet received {"connection_id":159924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":159924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:30:52] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:30:52] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:30:52] local.INFO: IMEI packet received {"connection_id":159924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":159924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:30:52] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:30:52] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:30:52] local.INFO: IMEI packet received {"connection_id":159924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":159924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:30:54] local.INFO: TCP Data received {"connection_id":160169,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:30:54] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:30:54] local.INFO: IMEI packet received {"connection_id":160169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":160169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:30:54] local.INFO: TCP Data received {"connection_id":160169,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:30:54] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:30:54] local.INFO: Packet analysis {"connection_id":160169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:30:54] local.INFO: Extracted packet for processing {"connection_id":160169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574294528001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:30: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-22 17:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787399889000,"timestamp_ms":1787399889000,"timestamp_seconds":1787399889,"priority":1,"record_length":96,"hex_timestamp":"000001a02955e068"} 
[2026-08-22 17:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 17:30:54] 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-22 17:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574294528001,"66":25397,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574294528001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:30:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:30:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574294528001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":160169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:30:54] local.INFO: GPS data processed {"connection_id":160169,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:30:54] local.INFO: Acknowledgment sent {"connection_id":160169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:30:56] local.INFO: TCP Data received {"connection_id":161095,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:30:56] local.INFO: Processing buffer {"connection_id":161095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:30:56] local.INFO: IMEI packet received {"connection_id":161095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 17:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":161095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:30:57] local.INFO: TCP Data received {"connection_id":161095,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:30:57] local.INFO: Processing buffer {"connection_id":161095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:30:57] local.INFO: IMEI packet received {"connection_id":161095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":161095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:30:58] local.INFO: TCP Data received {"connection_id":161095,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:30:58] local.INFO: Processing buffer {"connection_id":161095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:30:58] local.INFO: IMEI packet received {"connection_id":161095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":161095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:30:59] local.INFO: TCP Data received {"connection_id":161095,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:30:59] local.INFO: Processing buffer {"connection_id":161095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:30:59] local.INFO: IMEI packet received {"connection_id":161095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":161095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:31:25] local.INFO: TCP Data received {"connection_id":160169,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:31:25] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:31:25] local.INFO: Packet analysis {"connection_id":160169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:31:25] local.INFO: Extracted packet for processing {"connection_id":160169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574294528001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:31: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-22 17:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787399889000,"timestamp_ms":1787399889000,"timestamp_seconds":1787399889,"priority":1,"record_length":96,"hex_timestamp":"000001a02955e068"} 
[2026-08-22 17:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:31: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-22 17:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 17:31: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-22 17:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574294528001,"66":25397,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574294528001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:31:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574294528001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":160169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:31:25] local.INFO: GPS data processed {"connection_id":160169,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:31:25] local.INFO: Acknowledgment sent {"connection_id":160169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:32:24] local.INFO: TCP Data received {"connection_id":159925,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:32:24] local.INFO: Processing buffer {"connection_id":159925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:32:24] local.INFO: IMEI packet received {"connection_id":159925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":159925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:32:28] local.INFO: TCP Data received {"connection_id":159925,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:32:28] local.INFO: Processing buffer {"connection_id":159925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:32:28] local.INFO: IMEI packet received {"connection_id":159925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":159925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:32:29] local.INFO: TCP Data received {"connection_id":159925,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:32:29] local.INFO: Processing buffer {"connection_id":159925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:32:29] local.INFO: Packet analysis {"connection_id":159925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:32:29] local.INFO: Extracted packet for processing {"connection_id":159925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574294528001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:32: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-22 17:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787399889000,"timestamp_ms":1787399889000,"timestamp_seconds":1787399889,"priority":1,"record_length":96,"hex_timestamp":"000001a02955e068"} 
[2026-08-22 17: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-22 17:32: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-22 17: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 17:32: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-22 17: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-22 17: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-22 17:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574294528001,"66":25397,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574294528001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:32:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574294528001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":159925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:32:29] local.INFO: GPS data processed {"connection_id":159925,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:32:29] local.INFO: Acknowledgment sent {"connection_id":159925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:32:53] local.INFO: TCP Data received {"connection_id":161096,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:32:53] local.INFO: Processing buffer {"connection_id":161096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:32:53] local.INFO: IMEI packet received {"connection_id":161096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":161096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:32:59] local.INFO: TCP Data received {"connection_id":161096,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:32:59] local.INFO: Processing buffer {"connection_id":161096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:32:59] local.INFO: IMEI packet received {"connection_id":161096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":161096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:33:00] local.INFO: TCP Data received {"connection_id":161096,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:33:00] local.INFO: Processing buffer {"connection_id":161096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:33:00] local.INFO: Packet analysis {"connection_id":161096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:33:00] local.INFO: Extracted packet for processing {"connection_id":161096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574294528001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:33: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-22 17:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787399889000,"timestamp_ms":1787399889000,"timestamp_seconds":1787399889,"priority":1,"record_length":96,"hex_timestamp":"000001a02955e068"} 
[2026-08-22 17: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-22 17: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-22 17: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 17:33:00] 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-22 17: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-22 17: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-22 17:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574294528001,"66":25397,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574294528001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:33:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574294528001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":161096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:33:00] local.INFO: GPS data processed {"connection_id":161096,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:33:00] local.INFO: Acknowledgment sent {"connection_id":161096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:33:31] local.INFO: TCP Data received {"connection_id":161096,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:33:31] local.INFO: Processing buffer {"connection_id":161096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02955e068012d7f9cc005afcf880007011f29..."} 
[2026-08-22 17:33:31] local.INFO: Packet analysis {"connection_id":161096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:33:31] local.INFO: Extracted packet for processing {"connection_id":161096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02955"} 
[2026-08-22 17:33:31] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574294528001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:33:31] 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-22 17:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787399889000,"timestamp_ms":1787399889000,"timestamp_seconds":1787399889,"priority":1,"record_length":96,"hex_timestamp":"000001a02955e068"} 
[2026-08-22 17: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-22 17: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-22 17: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 17:33:31] 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-22 17: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-22 17: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-22 17:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574294528001,"66":25397,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574294528001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:33:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:33:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574294528001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":161096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:33:31] local.INFO: GPS data processed {"connection_id":161096,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:33:31] local.INFO: Acknowledgment sent {"connection_id":161096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:33:48] local.INFO: TCP Data received {"connection_id":161097,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:33:48] local.INFO: Processing buffer {"connection_id":161097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:33:48] local.INFO: IMEI packet received {"connection_id":161097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":161097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:33:49] local.INFO: TCP Data received {"connection_id":161097,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:33:49] local.INFO: Processing buffer {"connection_id":161097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:33:49] local.INFO: IMEI packet received {"connection_id":161097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":161097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:33:54] local.INFO: TCP Data received {"connection_id":161097,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:33:54] local.INFO: Processing buffer {"connection_id":161097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:33:54] local.INFO: IMEI packet received {"connection_id":161097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":161097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:33:55] local.INFO: TCP Data received {"connection_id":161097,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:33:55] local.INFO: Processing buffer {"connection_id":161097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:33:55] local.INFO: Packet analysis {"connection_id":161097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:33:55] local.INFO: Extracted packet for processing {"connection_id":161097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 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-22 17:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574371584001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:33: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-22 17:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787400190000,"timestamp_ms":1787400190000,"timestamp_seconds":1787400190,"priority":1,"record_length":96,"hex_timestamp":"000001a0295a7830"} 
[2026-08-22 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-22 17:33: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-22 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 17:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 17:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574371584001,"66":25212,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574371584001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:33:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574371584001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":161097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:33:55] local.INFO: GPS data processed {"connection_id":161097,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:33:55] local.INFO: Acknowledgment sent {"connection_id":161097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:34:26] local.INFO: TCP Data received {"connection_id":161097,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:34:26] local.INFO: Processing buffer {"connection_id":161097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:34:26] local.INFO: Packet analysis {"connection_id":161097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:34:26] local.INFO: Extracted packet for processing {"connection_id":161097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574371584001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:34: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-22 17:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787400190000,"timestamp_ms":1787400190000,"timestamp_seconds":1787400190,"priority":1,"record_length":96,"hex_timestamp":"000001a0295a7830"} 
[2026-08-22 17: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-22 17: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-22 17:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 17:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574371584001,"66":25212,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574371584001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:34:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574371584001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":161097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:34:26] local.INFO: GPS data processed {"connection_id":161097,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:34:26] local.INFO: Acknowledgment sent {"connection_id":161097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:34:49] local.INFO: TCP Data received {"connection_id":161099,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:34:49] local.INFO: Processing buffer {"connection_id":161099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:34:49] local.INFO: IMEI packet received {"connection_id":161099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":161099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:34:54] local.INFO: TCP Data received {"connection_id":161099,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:34:54] local.INFO: Processing buffer {"connection_id":161099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:34:54] local.INFO: IMEI packet received {"connection_id":161099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":161099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:34:54] local.INFO: TCP Data received {"connection_id":161099,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:34:54] local.INFO: Processing buffer {"connection_id":161099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:34:54] local.INFO: Packet analysis {"connection_id":161099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:34:54] local.INFO: Extracted packet for processing {"connection_id":161099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574371584001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:34: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-22 17:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787400190000,"timestamp_ms":1787400190000,"timestamp_seconds":1787400190,"priority":1,"record_length":96,"hex_timestamp":"000001a0295a7830"} 
[2026-08-22 17:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 17:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574371584001,"66":25212,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574371584001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:34:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:34:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574371584001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":161099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:34:54] local.INFO: GPS data processed {"connection_id":161099,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:34:54] local.INFO: Acknowledgment sent {"connection_id":161099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:35:26] local.INFO: TCP Data received {"connection_id":161099,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:35:26] local.INFO: Processing buffer {"connection_id":161099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:35:26] local.INFO: Packet analysis {"connection_id":161099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:35:26] local.INFO: Extracted packet for processing {"connection_id":161099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:35:26] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574371584001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:35: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-22 17:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787400190000,"timestamp_ms":1787400190000,"timestamp_seconds":1787400190,"priority":1,"record_length":96,"hex_timestamp":"000001a0295a7830"} 
[2026-08-22 17: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-22 17:35: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-22 17:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 17:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574371584001,"66":25212,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574371584001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:35:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:35:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574371584001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":161099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:35:26] local.INFO: GPS data processed {"connection_id":161099,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:35:26] local.INFO: Acknowledgment sent {"connection_id":161099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:35:49] local.INFO: TCP Data received {"connection_id":161100,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:35:49] local.INFO: Processing buffer {"connection_id":161100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:35:49] local.INFO: IMEI packet received {"connection_id":161100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":161100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:35:53] local.INFO: TCP Data received {"connection_id":160173,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:35:53] local.INFO: Processing buffer {"connection_id":160173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:35:53] local.INFO: IMEI packet received {"connection_id":160173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":160173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:35:54] local.INFO: TCP Data received {"connection_id":161100,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:35:54] local.INFO: Processing buffer {"connection_id":161100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:35:54] local.INFO: IMEI packet received {"connection_id":161100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":161100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:35:55] local.INFO: TCP Data received {"connection_id":161100,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:35:55] local.INFO: Processing buffer {"connection_id":161100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:35:55] local.INFO: Packet analysis {"connection_id":161100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:35:55] local.INFO: Extracted packet for processing {"connection_id":161100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574371584001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:35: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-22 17:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787400190000,"timestamp_ms":1787400190000,"timestamp_seconds":1787400190,"priority":1,"record_length":96,"hex_timestamp":"000001a0295a7830"} 
[2026-08-22 17:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:35: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-22 17:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 17:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574371584001,"66":25212,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574371584001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:35:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:35:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574371584001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":161100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:35:55] local.INFO: GPS data processed {"connection_id":161100,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:35:55] local.INFO: Acknowledgment sent {"connection_id":161100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:35:57] local.INFO: TCP Data received {"connection_id":160173,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:35:57] local.INFO: Processing buffer {"connection_id":160173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:35:57] local.INFO: IMEI packet received {"connection_id":160173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":160173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:35:58] local.INFO: TCP Data received {"connection_id":160173,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0295c25e0012d1908c007201a880031006024..."} 
[2026-08-22 17:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295c25e0012d1908c007201a880031006024..."} 
[2026-08-22 17:35:58] local.INFO: Processing buffer {"connection_id":160173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295c25e0012d1908c007201a880031006024..."} 
[2026-08-22 17:35:58] local.INFO: Packet analysis {"connection_id":160173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295c"} 
[2026-08-22 17:35:58] local.INFO: Extracted packet for processing {"connection_id":160173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295c"} 
[2026-08-22 17:35:58] local.INFO: GPS Element Parsed {"raw_longitude":756615360,"raw_latitude":119544456,"longitude_deg":75.661536,"latitude_deg":11.9544456,"altitude":49,"angle":96,"satellites":36,"speed":19,"hex_longitude":"2d1908c0","hex_latitude":"07201a88","is_valid_coordinates":true} 
[2026-08-22 17:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574476288001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14732042767958016,"note":"Value kept but may cause issues"} 
[2026-08-22 17:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802847256435134464,"note":"Value kept but may cause issues"} 
[2026-08-22 17:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787400300000,"timestamp_ms":1787400300000,"timestamp_seconds":1787400300,"priority":1,"record_length":96,"hex_timestamp":"000001a0295c25e0"} 
[2026-08-22 17:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-22 17:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:35: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-22 17:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574476288001,"66":14080,"102":206,"83":41984,"24":19,"16":14732042767958016,"45":1802847256435134464},"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-22 17:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574476288001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:35:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 17:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14732042767958016,"km_value":14732042767958.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802847256435134464,"description":"Unknown IO ID 45"} 
[2026-08-22 17:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574476288001,"power":14080,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1802847256435134464}} 
[2026-08-22 17:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":160173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:35:58] local.INFO: GPS data processed {"connection_id":160173,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:35:58] local.INFO: Acknowledgment sent {"connection_id":160173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:36:01] local.INFO: TCP Data received {"connection_id":161101,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:36:01] local.INFO: Processing buffer {"connection_id":161101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:36:01] local.INFO: IMEI packet received {"connection_id":161101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 17:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":161101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:36:02] local.INFO: TCP Data received {"connection_id":161101,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:36:02] local.INFO: Processing buffer {"connection_id":161101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:36:02] local.INFO: IMEI packet received {"connection_id":161101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":161101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:36:07] local.INFO: TCP Data received {"connection_id":161101,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a0295af148012d7b2d4005e26260000000b120..."} 
[2026-08-22 17:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295af148012d7b2d4005e26260000000b120..."} 
[2026-08-22 17:36:07] local.INFO: Processing buffer {"connection_id":161101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295af148012d7b2d4005e26260000000b120..."} 
[2026-08-22 17:36:07] local.INFO: Packet analysis {"connection_id":161101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:36:07] local.INFO: Extracted packet for processing {"connection_id":161101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763047232,"raw_latitude":98722400,"longitude_deg":76.3047232,"latitude_deg":9.87224,"altitude":0,"angle":177,"satellites":32,"speed":7,"hex_longitude":"2d7b2d40","hex_latitude":"05e26260","is_valid_coordinates":true} 
[2026-08-22 17:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574455040001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122285780570734592,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875539359657785344,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787400221000,"timestamp_ms":1787400221000,"timestamp_seconds":1787400221,"priority":1,"record_length":96,"hex_timestamp":"000001a0295af148"} 
[2026-08-22 17:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:36:07] 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-22 17:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 17:36:07] 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-22 17:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574455040001,"66":13559,"220":206,"19":45824,"24":7,"16":122285780570734592,"45":8875539359657785344},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,19,24,16,45]} 
[2026-08-22 17:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574455040001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:36:07] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-22 17:36:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122285780570734592,"km_value":122285780570734.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875539359657785344,"description":"Unknown IO ID 45"} 
[2026-08-22 17:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574455040001,"power":13559,"unknown_220":206,"unknown_19":45824,"ignition":7,"odometer":null,"unknown_45":8875539359657785344}} 
[2026-08-22 17:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":161101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:36:07] local.INFO: GPS data processed {"connection_id":161101,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:36:07] local.INFO: Acknowledgment sent {"connection_id":161101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:36:12] local.INFO: TCP Data received {"connection_id":161101,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a0295b2be0012d7b310005e254b8000000a620..."} 
[2026-08-22 17:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295b2be0012d7b310005e254b8000000a620..."} 
[2026-08-22 17:36:12] local.INFO: Processing buffer {"connection_id":161101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295b2be0012d7b310005e254b8000000a620..."} 
[2026-08-22 17:36:12] local.INFO: Packet analysis {"connection_id":161101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295b"} 
[2026-08-22 17:36:12] local.INFO: Extracted packet for processing {"connection_id":161101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295b"} 
[2026-08-22 17:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763048192,"raw_latitude":98718904,"longitude_deg":76.3048192,"latitude_deg":9.8718904,"altitude":0,"angle":166,"satellites":32,"speed":9,"hex_longitude":"2d7b3100","hex_latitude":"05e254b8","is_valid_coordinates":true} 
[2026-08-22 17:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574456576001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122285956664393728,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875820834634227712,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787400236000,"timestamp_ms":1787400236000,"timestamp_seconds":1787400236,"priority":1,"record_length":96,"hex_timestamp":"000001a0295b2be0"} 
[2026-08-22 17:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:36:12] 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-22 17:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 17:36:12] 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-22 17:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574456576001,"66":12645,"220":206,"19":45824,"24":9,"16":122285956664393728,"45":8875820834634227712},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,19,24,16,45]} 
[2026-08-22 17:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574456576001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:36:12] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-22 17:36:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122285956664393728,"km_value":122285956664393.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875820834634227712,"description":"Unknown IO ID 45"} 
[2026-08-22 17:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574456576001,"power":12645,"unknown_220":206,"unknown_19":45824,"ignition":9,"odometer":null,"unknown_45":8875820834634227712}} 
[2026-08-22 17:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":161101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:36:12] local.INFO: GPS data processed {"connection_id":161101,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:36:12] local.INFO: Acknowledgment sent {"connection_id":161101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:36:26] local.INFO: TCP Data received {"connection_id":161100,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:36:26] local.INFO: Processing buffer {"connection_id":161100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:36:26] local.INFO: Packet analysis {"connection_id":161100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:36:26] local.INFO: Extracted packet for processing {"connection_id":161100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574371584001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36: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-22 17:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787400190000,"timestamp_ms":1787400190000,"timestamp_seconds":1787400190,"priority":1,"record_length":96,"hex_timestamp":"000001a0295a7830"} 
[2026-08-22 17: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-22 17:36: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-22 17:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 17:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574371584001,"66":25212,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574371584001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:36:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574371584001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":161100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:36:26] local.INFO: GPS data processed {"connection_id":161100,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:36:26] local.INFO: Acknowledgment sent {"connection_id":161100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:36:29] local.INFO: TCP Data received {"connection_id":160173,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0295c77e8012d19274007200a500036008829..."} 
[2026-08-22 17:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295c77e8012d19274007200a500036008829..."} 
[2026-08-22 17:36:29] local.INFO: Processing buffer {"connection_id":160173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295c77e8012d19274007200a500036008829..."} 
[2026-08-22 17:36:29] local.INFO: Packet analysis {"connection_id":160173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295c"} 
[2026-08-22 17:36:29] local.INFO: Extracted packet for processing {"connection_id":160173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295c"} 
[2026-08-22 17:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756623168,"raw_latitude":119540304,"longitude_deg":75.6623168,"latitude_deg":11.9540304,"altitude":54,"angle":136,"satellites":41,"speed":9,"hex_longitude":"2d192740","hex_latitude":"07200a50","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574481920001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14732523804295168,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812206299409743872,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787400321000,"timestamp_ms":1787400321000,"timestamp_seconds":1787400321,"priority":1,"record_length":96,"hex_timestamp":"000001a0295c77e8"} 
[2026-08-22 17: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-22 17:36: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-22 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 17:36:29] 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-22 17: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-22 17: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-22 17:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:36:29] 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-22 17:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574481920001,"66":14080,"102":206,"83":41984,"24":9,"16":14732523804295168,"45":1812206299409743872},"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-22 17:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574481920001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:36:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 17:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14732523804295168,"km_value":14732523804295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812206299409743872,"description":"Unknown IO ID 45"} 
[2026-08-22 17:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574481920001,"power":14080,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1812206299409743872}} 
[2026-08-22 17:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":160173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:36:29] local.INFO: GPS data processed {"connection_id":160173,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:36:29] local.INFO: Acknowledgment sent {"connection_id":160173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:36:44] local.INFO: TCP Data received {"connection_id":161101,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a0295d4308012d7b57c005e1b2a0000b005523..."} 
[2026-08-22 17:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295d4308012d7b57c005e1b2a0000b005523..."} 
[2026-08-22 17:36:44] local.INFO: Processing buffer {"connection_id":161101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295d4308012d7b57c005e1b2a0000b005523..."} 
[2026-08-22 17:36:44] local.INFO: Packet analysis {"connection_id":161101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295d"} 
[2026-08-22 17:36:44] local.INFO: Extracted packet for processing {"connection_id":161101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295d"} 
[2026-08-22 17:36:44] local.INFO: GPS Element Parsed {"raw_longitude":763058112,"raw_latitude":98677408,"longitude_deg":76.3058112,"latitude_deg":9.8677408,"altitude":11,"angle":85,"satellites":35,"speed":17,"hex_longitude":"2d7b57c0","hex_latitude":"05e1b2a0","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574494464001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122288275946733568,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885602090063280128,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36:44] 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-22 17:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787400373000,"timestamp_ms":1787400373000,"timestamp_seconds":1787400373,"priority":1,"record_length":96,"hex_timestamp":"000001a0295d4308"} 
[2026-08-22 17: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-22 17:36: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-22 17: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-22 17:36:44] 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-22 17: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-22 17: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-22 17:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574494464001,"66":13461,"47":206,"19":45824,"24":17,"16":122288275946733568,"45":8885602090063280128},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-08-22 17:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574494464001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:36:44] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-22 17:36:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122288275946733568,"km_value":122288275946733.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885602090063280128,"description":"Unknown IO ID 45"} 
[2026-08-22 17:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574494464001,"power":13461,"unknown_47":206,"unknown_19":45824,"ignition":17,"odometer":null,"unknown_45":8885602090063280128}} 
[2026-08-22 17:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":161101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:36:44] local.INFO: GPS data processed {"connection_id":161101,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:36:44] local.INFO: Acknowledgment sent {"connection_id":161101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:36:49] local.INFO: TCP Data received {"connection_id":159928,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:36:49] local.INFO: Processing buffer {"connection_id":159928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:36:49] local.INFO: IMEI packet received {"connection_id":159928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":159928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:36:53] local.INFO: TCP Data received {"connection_id":161102,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:36:53] local.INFO: Processing buffer {"connection_id":161102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:36:53] local.INFO: IMEI packet received {"connection_id":161102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":161102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:36:54] local.INFO: TCP Data received {"connection_id":159928,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:36:54] local.INFO: Processing buffer {"connection_id":159928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:36:54] local.INFO: IMEI packet received {"connection_id":159928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":159928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:36:54] local.INFO: TCP Data received {"connection_id":161102,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:36:54] local.INFO: Processing buffer {"connection_id":161102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:36:54] local.INFO: IMEI packet received {"connection_id":161102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":161102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:36:55] local.INFO: TCP Data received {"connection_id":159928,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:36:55] local.INFO: Processing buffer {"connection_id":159928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:36:55] local.INFO: Packet analysis {"connection_id":159928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:36:55] local.INFO: Extracted packet for processing {"connection_id":159928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:36:55] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574371584001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:36: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-22 17:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787400190000,"timestamp_ms":1787400190000,"timestamp_seconds":1787400190,"priority":1,"record_length":96,"hex_timestamp":"000001a0295a7830"} 
[2026-08-22 17:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:36: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-22 17:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 17:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574371584001,"66":25212,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574371584001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:36:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:36:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574371584001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":159928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:36:55] local.INFO: GPS data processed {"connection_id":159928,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:36:55] local.INFO: Acknowledgment sent {"connection_id":159928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:36:55] local.INFO: TCP Data received {"connection_id":161102,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:36:55] local.INFO: Processing buffer {"connection_id":161102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:36:55] local.INFO: IMEI packet received {"connection_id":161102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":161102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:36:56] local.INFO: TCP Data received {"connection_id":161102,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:36:56] local.INFO: Processing buffer {"connection_id":161102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:36:56] local.INFO: IMEI packet received {"connection_id":161102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":161102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:36:58] local.INFO: TCP Data received {"connection_id":162527,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:36:58] local.INFO: Processing buffer {"connection_id":162527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:36:58] local.INFO: IMEI packet received {"connection_id":162527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 17:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":162527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:37:01] local.INFO: TCP Data received {"connection_id":162527,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:37:01] local.INFO: Processing buffer {"connection_id":162527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:37:01] local.INFO: IMEI packet received {"connection_id":162527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":162527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:37:04] local.INFO: TCP Data received {"connection_id":162527,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:37:04] local.INFO: Processing buffer {"connection_id":162527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:37:04] local.INFO: IMEI packet received {"connection_id":162527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":162527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:37:05] local.INFO: TCP Data received {"connection_id":162527,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a0295d9128012d7b710005e1b468000b005823..."} 
[2026-08-22 17:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295d9128012d7b710005e1b468000b005823..."} 
[2026-08-22 17:37:05] local.INFO: Processing buffer {"connection_id":162527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295d9128012d7b710005e1b468000b005823..."} 
[2026-08-22 17:37:05] local.INFO: Packet analysis {"connection_id":162527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295d"} 
[2026-08-22 17:37:05] local.INFO: Extracted packet for processing {"connection_id":162527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295d"} 
[2026-08-22 17:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763064576,"raw_latitude":98677864,"longitude_deg":76.3064576,"latitude_deg":9.8677864,"altitude":11,"angle":88,"satellites":35,"speed":8,"hex_longitude":"2d7b7100","hex_latitude":"05e1b468","is_valid_coordinates":true} 
[2026-08-22 17:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574495488001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122288585184378880,"note":"Value kept but may cause issues"} 
[2026-08-22 17:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887783521132912640,"note":"Value kept but may cause issues"} 
[2026-08-22 17:37:05] 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-22 17:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787400393000,"timestamp_ms":1787400393000,"timestamp_seconds":1787400393,"priority":1,"record_length":96,"hex_timestamp":"000001a0295d9128"} 
[2026-08-22 17:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:37:05] 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-22 17:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-22 17:37:05] 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-22 17:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574495488001,"66":13537,"47":206,"19":45824,"24":8,"16":122288585184378880,"45":8887783521132912640},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-08-22 17:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574495488001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:37:05] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-22 17:37:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122288585184378880,"km_value":122288585184378.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887783521132912640,"description":"Unknown IO ID 45"} 
[2026-08-22 17:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574495488001,"power":13537,"unknown_47":206,"unknown_19":45824,"ignition":8,"odometer":null,"unknown_45":8887783521132912640}} 
[2026-08-22 17:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":162527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:37:05] local.INFO: GPS data processed {"connection_id":162527,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:37:05] local.INFO: Acknowledgment sent {"connection_id":162527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:37:26] local.INFO: TCP Data received {"connection_id":159928,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:37:26] local.INFO: Processing buffer {"connection_id":159928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:37:26] local.INFO: Packet analysis {"connection_id":159928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:37:26] local.INFO: Extracted packet for processing {"connection_id":159928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:37:26] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 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-22 17:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574371584001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:37: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-22 17:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787400190000,"timestamp_ms":1787400190000,"timestamp_seconds":1787400190,"priority":1,"record_length":96,"hex_timestamp":"000001a0295a7830"} 
[2026-08-22 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-22 17:37: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-22 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 17:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 17:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574371584001,"66":25212,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574371584001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:37:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:37:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574371584001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":159928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:37:26] local.INFO: GPS data processed {"connection_id":159928,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:37:26] local.INFO: Acknowledgment sent {"connection_id":159928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:37:37] local.INFO: TCP Data received {"connection_id":162527,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a0295da898012d7b7ac005e1b628000d004c23..."} 
[2026-08-22 17:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295da898012d7b7ac005e1b628000d004c23..."} 
[2026-08-22 17:37:37] local.INFO: Processing buffer {"connection_id":162527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295da898012d7b7ac005e1b628000d004c23..."} 
[2026-08-22 17:37:37] local.INFO: Packet analysis {"connection_id":162527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295d"} 
[2026-08-22 17:37:37] local.INFO: Extracted packet for processing {"connection_id":162527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295d"} 
[2026-08-22 17:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763067072,"raw_latitude":98678312,"longitude_deg":76.3067072,"latitude_deg":9.8678312,"altitude":13,"angle":76,"satellites":35,"speed":19,"hex_longitude":"2d7b7ac0","hex_latitude":"05e1b628","is_valid_coordinates":true} 
[2026-08-22 17:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574500608001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122288705443463168,"note":"Value kept but may cause issues"} 
[2026-08-22 17:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894890764294973440,"note":"Value kept but may cause issues"} 
[2026-08-22 17:37:37] 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-22 17:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787400399000,"timestamp_ms":1787400399000,"timestamp_seconds":1787400399,"priority":1,"record_length":96,"hex_timestamp":"000001a0295da898"} 
[2026-08-22 17:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:37:37] 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-22 17:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-22 17:37:37] 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-22 17:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574500608001,"66":13319,"47":206,"19":45824,"24":19,"16":122288705443463168,"45":8894890764294973440},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-08-22 17:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574500608001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:37:37] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-22 17:37:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122288705443463168,"km_value":122288705443463.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894890764294973440,"description":"Unknown IO ID 45"} 
[2026-08-22 17:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574500608001,"power":13319,"unknown_47":206,"unknown_19":45824,"ignition":19,"odometer":null,"unknown_45":8894890764294973440}} 
[2026-08-22 17:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":162527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:37:38] local.INFO: GPS data processed {"connection_id":162527,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:37:38] local.INFO: Acknowledgment sent {"connection_id":162527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:37:48] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:37:48] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:37:48] local.INFO: IMEI packet received {"connection_id":159929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":159929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:37:54] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:37:54] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:37:54] local.INFO: IMEI packet received {"connection_id":159929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":159929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:37:55] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:37:55] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295a7830012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:37:55] local.INFO: Packet analysis {"connection_id":159929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:37:55] local.INFO: Extracted packet for processing {"connection_id":159929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295a"} 
[2026-08-22 17:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574371584001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:37: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-22 17:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787400190000,"timestamp_ms":1787400190000,"timestamp_seconds":1787400190,"priority":1,"record_length":96,"hex_timestamp":"000001a0295a7830"} 
[2026-08-22 17:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:37: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-22 17:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-22 17:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574371584001,"66":25212,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574371584001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:37:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:37:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574371584001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":159929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:37:55] local.INFO: GPS data processed {"connection_id":159929,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:37:55] local.INFO: Acknowledgment sent {"connection_id":159929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:37:58] local.INFO: TCP Data received {"connection_id":162528,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162528,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:37:58] local.INFO: Processing buffer {"connection_id":162528,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:37:58] local.INFO: IMEI packet received {"connection_id":162528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 17:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":162528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:38:03] local.INFO: TCP Data received {"connection_id":162528,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162528,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:38:03] local.INFO: Processing buffer {"connection_id":162528,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:38:03] local.INFO: IMEI packet received {"connection_id":162528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":162528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:38:05] local.INFO: TCP Data received {"connection_id":162528,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a0295ddf48012d7b9d8005e1bdc8000d005122..."} 
[2026-08-22 17:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295ddf48012d7b9d8005e1bdc8000d005122..."} 
[2026-08-22 17:38:05] local.INFO: Processing buffer {"connection_id":162528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295ddf48012d7b9d8005e1bdc8000d005122..."} 
[2026-08-22 17:38:05] local.INFO: Packet analysis {"connection_id":162528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295d"} 
[2026-08-22 17:38:05] local.INFO: Extracted packet for processing {"connection_id":162528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295d"} 
[2026-08-22 17:38:05] local.INFO: GPS Element Parsed {"raw_longitude":763075968,"raw_latitude":98680264,"longitude_deg":76.3075968,"latitude_deg":9.8680264,"altitude":13,"angle":81,"satellites":34,"speed":27,"hex_longitude":"2d7b9d80","hex_latitude":"05e1bdc8","is_valid_coordinates":true} 
[2026-08-22 17:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574502144001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122289143530127360,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897635145318017024,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:05] 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-22 17:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787400413000,"timestamp_ms":1787400413000,"timestamp_seconds":1787400413,"priority":1,"record_length":96,"hex_timestamp":"000001a0295ddf48"} 
[2026-08-22 17:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:38:05] 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-22 17:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-22 17:38:05] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:05] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-5667780079497568000,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2737766606,"corrected_to":0} 
[2026-08-22 17:38:05] local.WARNING: Large IO value detected {"io_id":27,"raw_value":4160826747,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786407936,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:05] local.WARNING: Large IO value detected {"io_id":18,"raw_value":57881792497980339,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:05] local.WARNING: Large IO value detected {"io_id":93,"raw_value":889462221258915845,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:05] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,47,19,24,241,158,16,116,160,145,45,180,11,35,10,66,67,192,178,51,1,240,105,41,225,4,113,205,12,27,71,40,33,239,52,2,5,9,18,93],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2737766606,"validated":0}]} 
[2026-08-22 17:38:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936832435701874688,"timestamp_seconds":936832435701874.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 17:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574502144001,"66":13341,"47":206,"19":45824,"24":27,"16":122289143530127360,"45":8897635145318017024},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-08-22 17:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574502144001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:38:05] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-22 17:38:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122289143530127360,"km_value":122289143530127.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897635145318017024,"description":"Unknown IO ID 45"} 
[2026-08-22 17:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574502144001,"power":13341,"unknown_47":206,"unknown_19":45824,"ignition":27,"odometer":null,"unknown_45":8897635145318017024}} 
[2026-08-22 17:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":162528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:38:05] local.INFO: GPS data processed {"connection_id":162528,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:38:05] local.INFO: Acknowledgment sent {"connection_id":162528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:38:25] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0295e4ca8012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295e4ca8012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:38:25] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295e4ca8012d7f9cc005afcf880007011f2c..."} 
[2026-08-22 17:38:25] local.INFO: Packet analysis {"connection_id":159929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:38:25] local.INFO: Extracted packet for processing {"connection_id":159929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408008,"longitude_deg":76.333792,"latitude_deg":9.5408008,"altitude":7,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afcf88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574448640001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38: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-22 17:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787400441000,"timestamp_ms":1787400441000,"timestamp_seconds":1787400441,"priority":1,"record_length":96,"hex_timestamp":"000001a0295e4ca8"} 
[2026-08-22 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-22 17: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-22 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-22 17:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 17:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574448640001,"66":25299,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574448640001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:38:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574448640001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":159929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:38:25] local.INFO: GPS data processed {"connection_id":159929,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:38:25] local.INFO: Acknowledgment sent {"connection_id":159929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:38:37] local.INFO: TCP Data received {"connection_id":162528,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a0295f3ed8012d7c368005e1df20000a004024..."} 
[2026-08-22 17:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295f3ed8012d7c368005e1df20000a004024..."} 
[2026-08-22 17:38:37] local.INFO: Processing buffer {"connection_id":162528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295f3ed8012d7c368005e1df20000a004024..."} 
[2026-08-22 17:38:37] local.INFO: Packet analysis {"connection_id":162528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295f"} 
[2026-08-22 17:38:37] local.INFO: Extracted packet for processing {"connection_id":162528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295f"} 
[2026-08-22 17:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763115136,"raw_latitude":98688800,"longitude_deg":76.3115136,"latitude_deg":9.86888,"altitude":10,"angle":64,"satellites":36,"speed":13,"hex_longitude":"2d7c3680","hex_latitude":"05e1df20","is_valid_coordinates":true} 
[2026-08-22 17:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574527744001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122291166459723776,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949004328570296320,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:37] 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-22 17:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787400503000,"timestamp_ms":1787400503000,"timestamp_seconds":1787400503,"priority":1,"record_length":96,"hex_timestamp":"000001a0295f3ed8"} 
[2026-08-22 17:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:38:37] 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-22 17:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 17:38:37] 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-22 17:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574527744001,"66":13428,"44":206,"19":45824,"24":13,"16":122291166459723776,"45":8949004328570296320},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-08-22 17:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574527744001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 17:38:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122291166459723776,"km_value":122291166459723.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949004328570296320,"description":"Unknown IO ID 45"} 
[2026-08-22 17:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574527744001,"power":13428,"unknown_44":206,"unknown_19":45824,"ignition":13,"odometer":null,"unknown_45":8949004328570296320}} 
[2026-08-22 17:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":162528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:38:37] local.INFO: GPS data processed {"connection_id":162528,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:38:37] local.INFO: Acknowledgment sent {"connection_id":162528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:38:48] local.INFO: TCP Data received {"connection_id":161103,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:38:48] local.INFO: Processing buffer {"connection_id":161103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:38:48] local.INFO: IMEI packet received {"connection_id":161103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":161103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:38:54] local.INFO: TCP Data received {"connection_id":161103,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:38:54] local.INFO: Processing buffer {"connection_id":161103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:38:54] local.INFO: IMEI packet received {"connection_id":161103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":161103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:38:55] local.INFO: TCP Data received {"connection_id":161103,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0295e6030012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295e6030012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:38:55] local.INFO: Processing buffer {"connection_id":161103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295e6030012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:38:55] local.INFO: Packet analysis {"connection_id":161103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:38:55] local.INFO: Extracted packet for processing {"connection_id":161103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:38:55] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408152,"longitude_deg":76.3337984,"latitude_deg":9.5408152,"altitude":7,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd018","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574512896001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840693248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:38: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-22 17:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787400446000,"timestamp_ms":1787400446000,"timestamp_seconds":1787400446,"priority":1,"record_length":96,"hex_timestamp":"000001a0295e6030"} 
[2026-08-22 17: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-22 17:38: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-22 17: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-22 17:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574512896001,"66":27517,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195435669840693248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574512896001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:38:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:38:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840693248,"description":"Unknown IO ID 45"} 
[2026-08-22 17:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574512896001,"power":27517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840693248}} 
[2026-08-22 17:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":161103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:38:55] local.INFO: GPS data processed {"connection_id":161103,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:38:55] local.INFO: Acknowledgment sent {"connection_id":161103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:39:02] local.INFO: TCP Data received {"connection_id":161104,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:39:02] local.INFO: Processing buffer {"connection_id":161104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:39:02] local.INFO: IMEI packet received {"connection_id":161104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 17:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":161104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:39:03] local.INFO: TCP Data received {"connection_id":161104,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:39:03] local.INFO: Processing buffer {"connection_id":161104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:39:03] local.INFO: IMEI packet received {"connection_id":161104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":161104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:39:08] local.INFO: TCP Data received {"connection_id":161104,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:39:08] local.INFO: Processing buffer {"connection_id":161104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:39:08] local.INFO: IMEI packet received {"connection_id":161104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":161104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:39:09] local.INFO: TCP Data received {"connection_id":161104,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a0295f42c0012d7c37c005e1dfe8000a003224..."} 
[2026-08-22 17:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295f42c0012d7c37c005e1dfe8000a003224..."} 
[2026-08-22 17:39:09] local.INFO: Processing buffer {"connection_id":161104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295f42c0012d7c37c005e1dfe8000a003224..."} 
[2026-08-22 17:39:09] local.INFO: Packet analysis {"connection_id":161104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295f"} 
[2026-08-22 17:39:09] local.INFO: Extracted packet for processing {"connection_id":161104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295f"} 
[2026-08-22 17:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763115456,"raw_latitude":98689000,"longitude_deg":76.3115456,"latitude_deg":9.8689,"altitude":10,"angle":50,"satellites":36,"speed":14,"hex_longitude":"2d7c37c0","hex_latitude":"05e1dfe8","is_valid_coordinates":true} 
[2026-08-22 17:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574528768001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122291183639592960,"note":"Value kept but may cause issues"} 
[2026-08-22 17:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950482072198127616,"note":"Value kept but may cause issues"} 
[2026-08-22 17:39:09] 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-22 17:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787400504000,"timestamp_ms":1787400504000,"timestamp_seconds":1787400504,"priority":1,"record_length":96,"hex_timestamp":"000001a0295f42c0"} 
[2026-08-22 17:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:39: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-22 17:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-22 17:39:09] 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-22 17:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574528768001,"66":13428,"44":206,"19":45824,"24":14,"16":122291183639592960,"45":8950482072198127616},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-08-22 17:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574528768001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:39:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 17:39:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122291183639592960,"km_value":122291183639592.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950482072198127616,"description":"Unknown IO ID 45"} 
[2026-08-22 17:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574528768001,"power":13428,"unknown_44":206,"unknown_19":45824,"ignition":14,"odometer":null,"unknown_45":8950482072198127616}} 
[2026-08-22 17:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":161104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:39:09] local.INFO: GPS data processed {"connection_id":161104,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:39:09] local.INFO: Acknowledgment sent {"connection_id":161104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:39:15] local.INFO: TCP Data received {"connection_id":161104,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a0295f4a90012d7c3a4005e1e268000b002526..."} 
[2026-08-22 17:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295f4a90012d7c3a4005e1e268000b002526..."} 
[2026-08-22 17:39:15] local.INFO: Processing buffer {"connection_id":161104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295f4a90012d7c3a4005e1e268000b002526..."} 
[2026-08-22 17:39:15] local.INFO: Packet analysis {"connection_id":161104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295f"} 
[2026-08-22 17:39:15] local.INFO: Extracted packet for processing {"connection_id":161104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295f"} 
[2026-08-22 17:39:15] local.INFO: GPS Element Parsed {"raw_longitude":763116096,"raw_latitude":98689640,"longitude_deg":76.3116096,"latitude_deg":9.868964,"altitude":11,"angle":37,"satellites":38,"speed":20,"hex_longitude":"2d7c3a40","hex_latitude":"05e1e268","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574529024001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122291226589265920,"note":"Value kept but may cause issues"} 
[2026-08-22 17:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950833915919067136,"note":"Value kept but may cause issues"} 
[2026-08-22 17:39:15] 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-22 17:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787400506000,"timestamp_ms":1787400506000,"timestamp_seconds":1787400506,"priority":1,"record_length":96,"hex_timestamp":"000001a0295f4a90"} 
[2026-08-22 17: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-22 17:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-22 17:39:15] 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-22 17: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-22 17: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-22 17:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":161104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":161104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":161104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574529024001,"66":13559,"44":206,"19":45824,"24":20,"16":122291226589265920,"45":8950833915919067136},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-08-22 17:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574529024001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 17:39:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122291226589265920,"km_value":122291226589265.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950833915919067136,"description":"Unknown IO ID 45"} 
[2026-08-22 17:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574529024001,"power":13559,"unknown_44":206,"unknown_19":45824,"ignition":20,"odometer":null,"unknown_45":8950833915919067136}} 
[2026-08-22 17:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":161104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:39:15] local.INFO: GPS data processed {"connection_id":161104,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:39:15] local.INFO: Acknowledgment sent {"connection_id":161104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:39:26] local.INFO: TCP Data received {"connection_id":161103,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0295eb238012d7f9d0005afd018000700032a..."} 
[2026-08-22 17:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295eb238012d7f9d0005afd018000700032a..."} 
[2026-08-22 17:39:26] local.INFO: Processing buffer {"connection_id":161103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295eb238012d7f9d0005afd018000700032a..."} 
[2026-08-22 17:39:26] local.INFO: Packet analysis {"connection_id":161103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:39:26] local.INFO: Extracted packet for processing {"connection_id":161103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:39:26] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408152,"longitude_deg":76.3337984,"latitude_deg":9.5408152,"altitude":7,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd018","is_valid_coordinates":true} 
[2026-08-22 17:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574514176001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17:39: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-22 17:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787400467000,"timestamp_ms":1787400467000,"timestamp_seconds":1787400467,"priority":1,"record_length":96,"hex_timestamp":"000001a0295eb238"} 
[2026-08-22 17:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:39: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-22 17:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 17:39:26] 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-22 17:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574514176001,"66":27571,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574514176001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:39:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:39:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574514176001,"power":27571,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":161103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:39:26] local.INFO: GPS data processed {"connection_id":161103,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:39:26] local.INFO: Acknowledgment sent {"connection_id":161103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:39:49] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:39:49] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:39:49] local.INFO: IMEI packet received {"connection_id":159930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":159930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:39:53] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:39:53] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:39:53] local.INFO: IMEI packet received {"connection_id":159930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":159930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:39:54] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:39:54] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:39:54] local.INFO: Packet analysis {"connection_id":159930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:39:54] local.INFO: Extracted packet for processing {"connection_id":159930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408152,"longitude_deg":76.3337984,"latitude_deg":9.5408152,"altitude":7,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd018","is_valid_coordinates":true} 
[2026-08-22 17:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574519552001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17:39: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-22 17:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787400479000,"timestamp_ms":1787400479000,"timestamp_seconds":1787400479,"priority":1,"record_length":96,"hex_timestamp":"000001a0295ee118"} 
[2026-08-22 17:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17: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-22 17:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 17:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574519552001,"66":27745,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574519552001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:39:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:39:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574519552001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":159930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:39:54] local.INFO: GPS data processed {"connection_id":159930,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:39:54] local.INFO: Acknowledgment sent {"connection_id":159930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:40:25] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:40:25] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:40:25] local.INFO: Packet analysis {"connection_id":159930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:40:25] local.INFO: Extracted packet for processing {"connection_id":159930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:40:25] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408152,"longitude_deg":76.3337984,"latitude_deg":9.5408152,"altitude":7,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd018","is_valid_coordinates":true} 
[2026-08-22 17:40: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-22 17:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574519552001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17: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-22 17:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787400479000,"timestamp_ms":1787400479000,"timestamp_seconds":1787400479,"priority":1,"record_length":96,"hex_timestamp":"000001a0295ee118"} 
[2026-08-22 17:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17: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-22 17:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 17:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574519552001,"66":27745,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574519552001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:40:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574519552001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":159930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:40:25] local.INFO: GPS data processed {"connection_id":159930,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:40:25] local.INFO: Acknowledgment sent {"connection_id":159930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:40:49] local.INFO: TCP Data received {"connection_id":161105,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:40:49] local.INFO: Processing buffer {"connection_id":161105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:40:49] local.INFO: IMEI packet received {"connection_id":161105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":161105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:40:54] local.INFO: TCP Data received {"connection_id":161105,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:40:54] local.INFO: Processing buffer {"connection_id":161105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:40:54] local.INFO: IMEI packet received {"connection_id":161105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":161105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:40:54] local.INFO: TCP Data received {"connection_id":161105,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:40:54] local.INFO: Processing buffer {"connection_id":161105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:40:54] local.INFO: Packet analysis {"connection_id":161105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:40:54] local.INFO: Extracted packet for processing {"connection_id":161105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:40:54] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408152,"longitude_deg":76.3337984,"latitude_deg":9.5408152,"altitude":7,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd018","is_valid_coordinates":true} 
[2026-08-22 17:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574519552001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17:40: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-22 17:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787400479000,"timestamp_ms":1787400479000,"timestamp_seconds":1787400479,"priority":1,"record_length":96,"hex_timestamp":"000001a0295ee118"} 
[2026-08-22 17: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-22 17: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-22 17: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 17:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574519552001,"66":27745,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574519552001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:40:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:40:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574519552001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":161105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:40:54] local.INFO: GPS data processed {"connection_id":161105,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:40:54] local.INFO: Acknowledgment sent {"connection_id":161105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:41:25] local.INFO: TCP Data received {"connection_id":161105,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:41:25] local.INFO: Processing buffer {"connection_id":161105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:41:25] local.INFO: Packet analysis {"connection_id":161105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:41:25] local.INFO: Extracted packet for processing {"connection_id":161105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:41:25] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408152,"longitude_deg":76.3337984,"latitude_deg":9.5408152,"altitude":7,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd018","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574519552001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17: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-22 17:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787400479000,"timestamp_ms":1787400479000,"timestamp_seconds":1787400479,"priority":1,"record_length":96,"hex_timestamp":"000001a0295ee118"} 
[2026-08-22 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-22 17: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-22 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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 17:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 17:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574519552001,"66":27745,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574519552001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:41:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:41:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574519552001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":161105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:41:25] local.INFO: GPS data processed {"connection_id":161105,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:41:25] local.INFO: Acknowledgment sent {"connection_id":161105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:41:36] local.INFO: TCP Data received {"connection_id":159933,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:41:36] local.INFO: Processing buffer {"connection_id":159933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:41:36] local.INFO: IMEI packet received {"connection_id":159933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 17:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":159933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:41:39] local.INFO: TCP Data received {"connection_id":159933,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:41:39] local.INFO: Processing buffer {"connection_id":159933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:41:39] local.INFO: IMEI packet received {"connection_id":159933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":159933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:41:45] local.INFO: TCP Data received {"connection_id":159933,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a029608ae0012d7cd44005e205d80003004f26..."} 
[2026-08-22 17:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029608ae0012d7cd44005e205d80003004f26..."} 
[2026-08-22 17:41:45] local.INFO: Processing buffer {"connection_id":159933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029608ae0012d7cd44005e205d80003004f26..."} 
[2026-08-22 17:41:45] local.INFO: Packet analysis {"connection_id":159933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02960"} 
[2026-08-22 17:41:45] local.INFO: Extracted packet for processing {"connection_id":159933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02960"} 
[2026-08-22 17:41:45] local.INFO: GPS Element Parsed {"raw_longitude":763155520,"raw_latitude":98698712,"longitude_deg":76.315552,"latitude_deg":9.8698712,"altitude":3,"angle":79,"satellites":38,"speed":19,"hex_longitude":"2d7cd440","hex_latitude":"05e205d8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574546432001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122293429907488768,"note":"Value kept but may cause issues"} 
[2026-08-22 17:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986862712940558336,"note":"Value kept but may cause issues"} 
[2026-08-22 17:41:45] 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-22 17:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787400588000,"timestamp_ms":1787400588000,"timestamp_seconds":1787400588,"priority":1,"record_length":96,"hex_timestamp":"000001a029608ae0"} 
[2026-08-22 17: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-22 17:41: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-22 17: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":149,"data_length":795,"current_offset":136} 
[2026-08-22 17:41:45] 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-22 17: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-22 17: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-22 17:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574546432001,"66":13363,"44":206,"19":45824,"24":19,"16":122293429907488768,"45":8986862712940558336},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-08-22 17:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574546432001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:41:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 17:41:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122293429907488768,"km_value":122293429907488.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986862712940558336,"description":"Unknown IO ID 45"} 
[2026-08-22 17:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574546432001,"power":13363,"unknown_44":206,"unknown_19":45824,"ignition":19,"odometer":null,"unknown_45":8986862712940558336}} 
[2026-08-22 17:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":159933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:41:45] local.INFO: GPS data processed {"connection_id":159933,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:41:45] local.INFO: Acknowledgment sent {"connection_id":159933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:41:48] local.INFO: TCP Data received {"connection_id":161106,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:41:49] local.INFO: Processing buffer {"connection_id":161106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:41:49] local.INFO: IMEI packet received {"connection_id":161106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":161106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:41:53] local.INFO: TCP Data received {"connection_id":161106,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:41:54] local.INFO: Processing buffer {"connection_id":161106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:41:54] local.INFO: IMEI packet received {"connection_id":161106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":161106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:41:54] local.INFO: TCP Data received {"connection_id":161106,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:41:54] local.INFO: Processing buffer {"connection_id":161106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:41:54] local.INFO: Packet analysis {"connection_id":161106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:41:54] local.INFO: Extracted packet for processing {"connection_id":161106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408152,"longitude_deg":76.3337984,"latitude_deg":9.5408152,"altitude":7,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd018","is_valid_coordinates":true} 
[2026-08-22 17:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574519552001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17:41: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-22 17:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787400479000,"timestamp_ms":1787400479000,"timestamp_seconds":1787400479,"priority":1,"record_length":96,"hex_timestamp":"000001a0295ee118"} 
[2026-08-22 17:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:41: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-22 17:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 17:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574519552001,"66":27745,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574519552001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:41:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:41:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574519552001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":161106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:41:54] local.INFO: GPS data processed {"connection_id":161106,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:41:54] local.INFO: Acknowledgment sent {"connection_id":161106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:41:57] local.INFO: TCP Data received {"connection_id":160175,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:41:57] local.INFO: Processing buffer {"connection_id":160175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:41:57] local.INFO: IMEI packet received {"connection_id":160175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":160175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:42:04] local.INFO: TCP Data received {"connection_id":159933,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a02960c960012d7cf68005e20e100009005625..."} 
[2026-08-22 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02960c960012d7cf68005e20e100009005625..."} 
[2026-08-22 17:42:04] local.INFO: Processing buffer {"connection_id":159933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02960c960012d7cf68005e20e100009005625..."} 
[2026-08-22 17:42:04] local.INFO: Packet analysis {"connection_id":159933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02960"} 
[2026-08-22 17:42:04] local.INFO: Extracted packet for processing {"connection_id":159933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02960"} 
[2026-08-22 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763164288,"raw_latitude":98700816,"longitude_deg":76.3164288,"latitude_deg":9.8700816,"altitude":9,"angle":86,"satellites":37,"speed":22,"hex_longitude":"2d7cf680","hex_latitude":"05e20e10","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574550528001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122293859404218368,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994884749776771072,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:04] 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-22 17:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787400604000,"timestamp_ms":1787400604000,"timestamp_seconds":1787400604,"priority":1,"record_length":96,"hex_timestamp":"000001a02960c960"} 
[2026-08-22 17: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-22 17:42:04] 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-22 17: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-22 17:42:04] 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-22 17: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-22 17: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-22 17:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574550528001,"66":13319,"44":206,"19":45824,"24":22,"16":122293859404218368,"45":8994884749776771072},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-08-22 17:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574550528001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:42:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 17:42:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122293859404218368,"km_value":122293859404218.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994884749776771072,"description":"Unknown IO ID 45"} 
[2026-08-22 17:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574550528001,"power":13319,"unknown_44":206,"unknown_19":45824,"ignition":22,"odometer":null,"unknown_45":8994884749776771072}} 
[2026-08-22 17:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":159933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:42:04] local.INFO: GPS data processed {"connection_id":159933,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:42:04] local.ERROR: TCP Connection error {"connection_id":159933,"code":2,"message":"client closed"} 
[2026-08-22 17:42:04] local.INFO: Acknowledgment sent {"connection_id":159933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:42:07] local.INFO: TCP Data received {"connection_id":160175,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029617d10012d187ac007218200004c010c27..."} 
[2026-08-22 17:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029617d10012d187ac007218200004c010c27..."} 
[2026-08-22 17:42:07] local.INFO: Processing buffer {"connection_id":160175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029617d10012d187ac007218200004c010c27..."} 
[2026-08-22 17:42:07] local.INFO: Packet analysis {"connection_id":160175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:42:07] local.INFO: Extracted packet for processing {"connection_id":160175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756579008,"raw_latitude":119636480,"longitude_deg":75.6579008,"latitude_deg":11.963648,"altitude":76,"angle":268,"satellites":39,"speed":41,"hex_longitude":"2d187ac0","hex_latitude":"07218200","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574565888001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14742745826459648,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766325878230456320,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:07] 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-22 17:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787400650000,"timestamp_ms":1787400650000,"timestamp_seconds":1787400650,"priority":1,"record_length":96,"hex_timestamp":"000001a029617d10"} 
[2026-08-22 17: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-22 17:42: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-22 17: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-22 17:42:07] 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-22 17: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-22 17: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-22 17:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:42:07] 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-22 17:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574565888001,"66":14102,"106":206,"83":41984,"24":41,"16":14742745826459648,"45":1766325878230456320},"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-22 17:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574565888001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:42:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 17:42:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14742745826459648,"km_value":14742745826459.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766325878230456320,"description":"Unknown IO ID 45"} 
[2026-08-22 17:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574565888001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1766325878230456320}} 
[2026-08-22 17:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":160175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:42:07] local.INFO: GPS data processed {"connection_id":160175,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:42:07] local.INFO: Acknowledgment sent {"connection_id":160175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:42:08] local.INFO: TCP Data received {"connection_id":162530,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:42:08] local.INFO: Processing buffer {"connection_id":162530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:42:08] local.INFO: IMEI packet received {"connection_id":162530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 17:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":162530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:42:11] local.INFO: TCP Data received {"connection_id":162530,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:42:11] local.INFO: Processing buffer {"connection_id":162530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:42:11] local.INFO: IMEI packet received {"connection_id":162530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":162530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:42:11] local.INFO: TCP Data received {"connection_id":162530,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:42:11] local.INFO: Processing buffer {"connection_id":162530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:42:11] local.INFO: IMEI packet received {"connection_id":162530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":162530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:42:13] local.INFO: TCP Data received {"connection_id":162530,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:42:13] local.INFO: Processing buffer {"connection_id":162530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:42:13] local.INFO: IMEI packet received {"connection_id":162530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":162530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:42:15] local.INFO: TCP Data received {"connection_id":162530,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a029611780012d7d174005e20b88000c005e25..."} 
[2026-08-22 17:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029611780012d7d174005e20b88000c005e25..."} 
[2026-08-22 17:42:15] local.INFO: Processing buffer {"connection_id":162530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029611780012d7d174005e20b88000c005e25..."} 
[2026-08-22 17:42:15] local.INFO: Packet analysis {"connection_id":162530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:42:15] local.INFO: Extracted packet for processing {"connection_id":162530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:42:15] local.INFO: GPS Element Parsed {"raw_longitude":763172672,"raw_latitude":98700168,"longitude_deg":76.3172672,"latitude_deg":9.8700168,"altitude":12,"angle":94,"satellites":37,"speed":21,"hex_longitude":"2d7d1740","hex_latitude":"05e20b88","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574554624001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122294263131144192,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004525267729649664,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:15] 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-22 17:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787400624000,"timestamp_ms":1787400624000,"timestamp_seconds":1787400624,"priority":1,"record_length":96,"hex_timestamp":"000001a029611780"} 
[2026-08-22 17: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-22 17:42: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-22 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-22 17:42:15] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:15] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57881779613078451,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792893952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:15] local.WARNING: Large IO value detected {"io_id":120,"raw_value":2164260864,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:15] local.WARNING: Large IO value detected {"io_id":226,"raw_value":1312799342921655552,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2737569998,"corrected_to":0} 
[2026-08-22 17:42:15] local.WARNING: Large IO value detected {"io_id":187,"raw_value":3623955836,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:15] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221611027,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:15] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392035,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:15] local.WARNING: Large IO value detected {"io_id":95,"raw_value":-5755599028907638779,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:15] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,44,19,24,241,158,16,121,160,138,45,64,5,3,38,10,66,76,192,6,35,120,21,1,240,41,226,4,113,205,18,187,102,168,37,239,51,2,178,11,95],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2737569998,"validated":0}]} 
[2026-08-22 17:42:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648613063256571904,"timestamp_seconds":648613063256571.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 17: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-22 17:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574554624001,"66":13341,"44":206,"19":45824,"24":21,"16":122294263131144192,"45":9004525267729649664},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-08-22 17:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574554624001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:42:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 17:42:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 17:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122294263131144192,"km_value":122294263131144.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004525267729649664,"description":"Unknown IO ID 45"} 
[2026-08-22 17:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574554624001,"power":13341,"unknown_44":206,"unknown_19":45824,"ignition":21,"odometer":null,"unknown_45":9004525267729649664}} 
[2026-08-22 17:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":162530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:42:15] local.INFO: GPS data processed {"connection_id":162530,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:42:15] local.INFO: Acknowledgment sent {"connection_id":162530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:42:19] local.INFO: TCP Data received {"connection_id":162530,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a029615218012d7d3a8005e208a0000f005d27..."} 
[2026-08-22 17:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029615218012d7d3a8005e208a0000f005d27..."} 
[2026-08-22 17:42:19] local.INFO: Processing buffer {"connection_id":162530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029615218012d7d3a8005e208a0000f005d27..."} 
[2026-08-22 17:42:19] local.INFO: Packet analysis {"connection_id":162530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:42:19] local.INFO: Extracted packet for processing {"connection_id":162530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:42:19] local.INFO: GPS Element Parsed {"raw_longitude":763181696,"raw_latitude":98699424,"longitude_deg":76.3181696,"latitude_deg":9.8699424,"altitude":15,"angle":93,"satellites":39,"speed":23,"hex_longitude":"2d7d3a80","hex_latitude":"05e208a0","is_valid_coordinates":true} 
[2026-08-22 17:42: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-22 17:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574559744001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122294692627873792,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013743573216757760,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787400639000,"timestamp_ms":1787400639000,"timestamp_seconds":1787400639,"priority":1,"record_length":96,"hex_timestamp":"000001a029615218"} 
[2026-08-22 17:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:42:19] 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-22 17:42: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":29,"data_length":795,"current_offset":136} 
[2026-08-22 17:42:19] 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-22 17:42: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-22 17:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574559744001,"66":13406,"114":206,"9":25088,"24":23,"16":122294692627873792,"45":9013743573216757760},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,9,24,16,45]} 
[2026-08-22 17:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574559744001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:42:19] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-22 17:42:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-08-22 17:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122294692627873792,"km_value":122294692627873.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013743573216757760,"description":"Unknown IO ID 45"} 
[2026-08-22 17:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574559744001,"power":13406,"unknown_114":206,"unknown_9":25088,"ignition":23,"odometer":null,"unknown_45":9013743573216757760}} 
[2026-08-22 17:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":162530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:42:19] local.INFO: GPS data processed {"connection_id":162530,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:42:19] local.INFO: Acknowledgment sent {"connection_id":162530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:42:25] local.INFO: TCP Data received {"connection_id":161106,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:42:25] local.INFO: Processing buffer {"connection_id":161106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:42:25] local.INFO: Packet analysis {"connection_id":161106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:42:25] local.INFO: Extracted packet for processing {"connection_id":161106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408152,"longitude_deg":76.3337984,"latitude_deg":9.5408152,"altitude":7,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd018","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574519552001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17: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-22 17:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787400479000,"timestamp_ms":1787400479000,"timestamp_seconds":1787400479,"priority":1,"record_length":96,"hex_timestamp":"000001a0295ee118"} 
[2026-08-22 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-22 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-22 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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 17:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 17:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574519552001,"66":27745,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574519552001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:42:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574519552001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":161106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:42:25] local.INFO: GPS data processed {"connection_id":161106,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:42:25] local.INFO: Acknowledgment sent {"connection_id":161106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:42:49] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:42:49] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:42:49] local.INFO: IMEI packet received {"connection_id":159934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":159934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:42:53] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:42:53] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:42:53] local.INFO: IMEI packet received {"connection_id":159934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":159934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:42:54] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:42:54] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:42:54] local.INFO: Packet analysis {"connection_id":159934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:42:54] local.INFO: Extracted packet for processing {"connection_id":159934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408152,"longitude_deg":76.3337984,"latitude_deg":9.5408152,"altitude":7,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd018","is_valid_coordinates":true} 
[2026-08-22 17:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574519552001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17:42: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-22 17:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787400479000,"timestamp_ms":1787400479000,"timestamp_seconds":1787400479,"priority":1,"record_length":96,"hex_timestamp":"000001a0295ee118"} 
[2026-08-22 17:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:42: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-22 17:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 17:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574519552001,"66":27745,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574519552001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:42:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:42:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574519552001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":159934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:42:54] local.INFO: GPS data processed {"connection_id":159934,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:42:54] local.INFO: Acknowledgment sent {"connection_id":159934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:42:57] local.INFO: TCP Data received {"connection_id":162531,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:42:57] local.INFO: Processing buffer {"connection_id":162531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:42:57] local.INFO: IMEI packet received {"connection_id":162531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":162531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:42:58] local.INFO: TCP Data received {"connection_id":161107,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:42:58] local.INFO: Processing buffer {"connection_id":161107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:42:58] local.INFO: IMEI packet received {"connection_id":161107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 17:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":161107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:43:02] local.INFO: TCP Data received {"connection_id":162531,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:43:02] local.INFO: Processing buffer {"connection_id":162531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:43:02] local.INFO: IMEI packet received {"connection_id":162531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":162531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:43:03] local.INFO: TCP Data received {"connection_id":162531,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029619868012d18644007218200004f011c28..."} 
[2026-08-22 17:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029619868012d18644007218200004f011c28..."} 
[2026-08-22 17:43:03] local.INFO: Processing buffer {"connection_id":162531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029619868012d18644007218200004f011c28..."} 
[2026-08-22 17:43:03] local.INFO: Packet analysis {"connection_id":162531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:43:03] local.INFO: Extracted packet for processing {"connection_id":162531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756573248,"raw_latitude":119636480,"longitude_deg":75.6573248,"latitude_deg":11.963648,"altitude":79,"angle":284,"satellites":40,"speed":33,"hex_longitude":"2d186440","hex_latitude":"07218200","is_valid_coordinates":true} 
[2026-08-22 17:43: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-22 17:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574566400001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14743016409399296,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763933340928442368,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:03] 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-22 17:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787400657000,"timestamp_ms":1787400657000,"timestamp_seconds":1787400657,"priority":1,"record_length":96,"hex_timestamp":"000001a029619868"} 
[2026-08-22 17:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 17:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:43: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-22 17:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:43:03] 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-22 17:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574566400001,"66":14559,"106":206,"83":41984,"24":33,"16":14743016409399296,"45":1763933340928442368},"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-22 17:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574566400001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:43:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 17:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14743016409399296,"km_value":14743016409399.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763933340928442368,"description":"Unknown IO ID 45"} 
[2026-08-22 17:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574566400001,"power":14559,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1763933340928442368}} 
[2026-08-22 17:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":162531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:43:03] local.INFO: GPS data processed {"connection_id":162531,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:43:03] local.INFO: Acknowledgment sent {"connection_id":162531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:43:03] local.INFO: TCP Data received {"connection_id":161107,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:43:03] local.INFO: Processing buffer {"connection_id":161107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:43:03] local.INFO: IMEI packet received {"connection_id":161107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":161107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:43:04] local.INFO: TCP Data received {"connection_id":161107,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a029619098012d7d5fc005e205c8000e005d27..."} 
[2026-08-22 17:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029619098012d7d5fc005e205c8000e005d27..."} 
[2026-08-22 17:43:04] local.INFO: Processing buffer {"connection_id":161107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029619098012d7d5fc005e205c8000e005d27..."} 
[2026-08-22 17:43:04] local.INFO: Packet analysis {"connection_id":161107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:43:04] local.INFO: Extracted packet for processing {"connection_id":161107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763191232,"raw_latitude":98698696,"longitude_deg":76.3191232,"latitude_deg":9.8698696,"altitude":14,"angle":93,"satellites":39,"speed":25,"hex_longitude":"2d7d5fc0","hex_latitude":"05e205c8","is_valid_coordinates":true} 
[2026-08-22 17:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574563584001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122295152189374464,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665566145617920,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787400655000,"timestamp_ms":1787400655000,"timestamp_seconds":1787400655,"priority":1,"record_length":96,"hex_timestamp":"000001a029619098"} 
[2026-08-22 17:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-22 17:43:04] 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-22 17:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574563584001,"66":13319,"178":206,"9":25088,"24":25,"16":122295152189374464,"45":9023665566145617920},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,9,24,16,45]} 
[2026-08-22 17:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574563584001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:43:04] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-22 17:43:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-08-22 17:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122295152189374464,"km_value":122295152189374.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665566145617920,"description":"Unknown IO ID 45"} 
[2026-08-22 17:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574563584001,"power":13319,"unknown_178":206,"unknown_9":25088,"ignition":25,"odometer":null,"unknown_45":9023665566145617920}} 
[2026-08-22 17:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":161107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:43:04] local.INFO: GPS data processed {"connection_id":161107,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:43:04] local.INFO: Acknowledgment sent {"connection_id":161107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:43:09] local.INFO: TCP Data received {"connection_id":162531,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02961bf78012d184040072191000050012428..."} 
[2026-08-22 17:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02961bf78012d184040072191000050012428..."} 
[2026-08-22 17:43:09] local.INFO: Processing buffer {"connection_id":162531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02961bf78012d184040072191000050012428..."} 
[2026-08-22 17:43:09] local.INFO: Packet analysis {"connection_id":162531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:43:09] local.INFO: Extracted packet for processing {"connection_id":162531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:43:09] local.INFO: GPS Element Parsed {"raw_longitude":756564032,"raw_latitude":119640320,"longitude_deg":75.6564032,"latitude_deg":11.964032,"altitude":80,"angle":292,"satellites":40,"speed":42,"hex_longitude":"2d184040","hex_latitude":"07219100","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574568192001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14743493150769152,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757600153952452608,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:09] local.INFO: IO Element Parsed {"io_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-22 17:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787400667000,"timestamp_ms":1787400667000,"timestamp_seconds":1787400667,"priority":1,"record_length":96,"hex_timestamp":"000001a02961bf78"} 
[2026-08-22 17: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-22 17:43: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-22 17: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-22 17:43:09] 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-22 17: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-22 17: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-22 17:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:43:09] 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-22 17:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574568192001,"66":14613,"105":206,"83":41984,"24":42,"16":14743493150769152,"45":1757600153952452608},"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-22 17:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574568192001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:43:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:43:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14743493150769152,"km_value":14743493150769.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757600153952452608,"description":"Unknown IO ID 45"} 
[2026-08-22 17:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574568192001,"power":14613,"unknown_105":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1757600153952452608}} 
[2026-08-22 17:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":162531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:43:09] local.INFO: GPS data processed {"connection_id":162531,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:43:09] local.INFO: Acknowledgment sent {"connection_id":162531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:43:25] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:43:25] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0295ee118012d7f9d0005afd018000700032b..."} 
[2026-08-22 17:43:25] local.INFO: Packet analysis {"connection_id":159934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:43:25] local.INFO: Extracted packet for processing {"connection_id":159934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0295e"} 
[2026-08-22 17:43:25] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408152,"longitude_deg":76.3337984,"latitude_deg":9.5408152,"altitude":7,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd018","is_valid_coordinates":true} 
[2026-08-22 17:43: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-22 17:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574519552001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43: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-22 17:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787400479000,"timestamp_ms":1787400479000,"timestamp_seconds":1787400479,"priority":1,"record_length":96,"hex_timestamp":"000001a0295ee118"} 
[2026-08-22 17:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17: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-22 17:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 17:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574519552001,"66":27745,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574519552001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:43:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574519552001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":159934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:43:25] local.INFO: GPS data processed {"connection_id":159934,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:43:25] local.INFO: Acknowledgment sent {"connection_id":159934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:43:36] local.INFO: TCP Data received {"connection_id":161107,"ip":"117.224.150.173","data_length":795,"data_hex":"000000000000030f8e0a000001a02961cb30012d7d840005e202c8000c005d28..."} 
[2026-08-22 17:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02961cb30012d7d840005e202c8000c005d28..."} 
[2026-08-22 17:43:36] local.INFO: Processing buffer {"connection_id":161107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02961cb30012d7d840005e202c8000c005d28..."} 
[2026-08-22 17:43:36] local.INFO: Packet analysis {"connection_id":161107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:43:36] local.INFO: Extracted packet for processing {"connection_id":161107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763200512,"raw_latitude":98697928,"longitude_deg":76.3200512,"latitude_deg":9.8697928,"altitude":12,"angle":93,"satellites":40,"speed":23,"hex_longitude":"2d7d8400","hex_latitude":"05e202c8","is_valid_coordinates":true} 
[2026-08-22 17:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574567680001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122295598865973248,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9034150509027903488,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787400670000,"timestamp_ms":1787400670000,"timestamp_seconds":1787400670,"priority":1,"record_length":96,"hex_timestamp":"000001a02961cb30"} 
[2026-08-22 17:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:43:36] 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-22 17:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-22 17:43:36] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2650800128,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:36] local.WARNING: Large IO value detected {"io_id":226,"raw_value":1384856932667500032,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2737569998,"corrected_to":0} 
[2026-08-22 17:43:36] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3221611014,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:36] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2499857827,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792453632,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:36] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57881779613078451,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:36] local.WARNING: Large IO value detected {"io_id":95,"raw_value":-3503799215221325819,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:36] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,178,9,24,241,158,16,122,160,82,45,128,8,15,39,10,66,114,23,64,11,12,37,44,19,121,201,1,240,7,41,226,4,113,205,76,183,120,35,239,52,2,5,28,138,95],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2737569998,"validated":0}]} 
[2026-08-22 17:43:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008908738617737216,"timestamp_seconds":1008908738617737.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 17:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 17:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.150.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 17:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 17:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574567680001,"66":13363,"178":206,"9":25088,"24":23,"16":122295598865973248,"45":9034150509027903488},"client_ip":"117.224.150.173","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,9,24,16,45]} 
[2026-08-22 17:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 17:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 17:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574567680001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:43:36] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-22 17:43:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-08-22 17:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122295598865973248,"km_value":122295598865973.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9034150509027903488,"description":"Unknown IO ID 45"} 
[2026-08-22 17:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574567680001,"power":13363,"unknown_178":206,"unknown_9":25088,"ignition":23,"odometer":null,"unknown_45":9034150509027903488}} 
[2026-08-22 17:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":161107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:43:36] local.INFO: GPS data processed {"connection_id":161107,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:43:36] local.INFO: Acknowledgment sent {"connection_id":161107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:43:48] local.INFO: TCP Data received {"connection_id":159935,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:43:48] local.INFO: Processing buffer {"connection_id":159935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:43:48] local.INFO: IMEI packet received {"connection_id":159935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":159935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:43:52] local.INFO: TCP Data received {"connection_id":162532,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:43:52] local.INFO: Processing buffer {"connection_id":162532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:43:52] local.INFO: IMEI packet received {"connection_id":162532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":162532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:43:53] local.INFO: TCP Data received {"connection_id":159935,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:43:53] local.INFO: Processing buffer {"connection_id":159935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:43:53] local.INFO: IMEI packet received {"connection_id":159935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":159935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:43:54] local.INFO: TCP Data received {"connection_id":159935,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:43:54] local.INFO: Processing buffer {"connection_id":159935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:43:54] local.INFO: Packet analysis {"connection_id":159935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:43:54] local.INFO: Extracted packet for processing {"connection_id":159935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574522624001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43: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-22 17:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787400781000,"timestamp_ms":1787400781000,"timestamp_seconds":1787400781,"priority":1,"record_length":96,"hex_timestamp":"000001a029637cc8"} 
[2026-08-22 17:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:43:54] 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-22 17:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574522624001,"66":25441,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574522624001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:43:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:43:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574522624001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":159935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:43:54] local.INFO: GPS data processed {"connection_id":159935,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:43:54] local.INFO: Acknowledgment sent {"connection_id":159935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:43:57] local.INFO: TCP Data received {"connection_id":162532,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:43:57] local.INFO: Processing buffer {"connection_id":162532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:43:57] local.INFO: IMEI packet received {"connection_id":162532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":162532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:43:58] local.INFO: TCP Data received {"connection_id":162532,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02961d6e8012d182b0007219b00004e01302b..."} 
[2026-08-22 17:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02961d6e8012d182b0007219b00004e01302b..."} 
[2026-08-22 17:43:58] local.INFO: Processing buffer {"connection_id":162532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02961d6e8012d182b0007219b00004e01302b..."} 
[2026-08-22 17:43:58] local.INFO: Packet analysis {"connection_id":162532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:43:58] local.INFO: Extracted packet for processing {"connection_id":162532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:43:58] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119642880,"longitude_deg":75.6558592,"latitude_deg":11.964288,"altitude":78,"angle":304,"satellites":43,"speed":30,"hex_longitude":"2d182b00","hex_latitude":"07219b00","is_valid_coordinates":true} 
[2026-08-22 17:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574570752001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14743780913577984,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747467054791852032,"note":"Value kept but may cause issues"} 
[2026-08-22 17:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787400673000,"timestamp_ms":1787400673000,"timestamp_seconds":1787400673,"priority":1,"record_length":96,"hex_timestamp":"000001a02961d6e8"} 
[2026-08-22 17: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-22 17:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-08-22 17:43:58] 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-22 17: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-22 17: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-22 17:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:43: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-22 17:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574570752001,"66":14580,"105":206,"83":41984,"24":30,"16":14743780913577984,"45":1747467054791852032},"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-22 17:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574570752001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:43:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:43:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14743780913577984,"km_value":14743780913577.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747467054791852032,"description":"Unknown IO ID 45"} 
[2026-08-22 17:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574570752001,"power":14580,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1747467054791852032}} 
[2026-08-22 17:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":162532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:43:58] local.INFO: GPS data processed {"connection_id":162532,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:43:58] local.INFO: Acknowledgment sent {"connection_id":162532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:44:03] local.INFO: TCP Data received {"connection_id":161108,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:44:03] local.INFO: Processing buffer {"connection_id":161108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:44:03] local.INFO: IMEI packet received {"connection_id":161108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 17:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":161108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:44:25] local.INFO: TCP Data received {"connection_id":159935,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:44:25] local.INFO: Processing buffer {"connection_id":159935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:44:25] local.INFO: Packet analysis {"connection_id":159935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:44:25] local.INFO: Extracted packet for processing {"connection_id":159935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:44:25] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574522624001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17: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-22 17:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787400781000,"timestamp_ms":1787400781000,"timestamp_seconds":1787400781,"priority":1,"record_length":96,"hex_timestamp":"000001a029637cc8"} 
[2026-08-22 17:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:44: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-22 17:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:44: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-22 17:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574522624001,"66":25441,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574522624001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:44:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574522624001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":159935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:44:25] local.INFO: GPS data processed {"connection_id":159935,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:44:25] local.INFO: Acknowledgment sent {"connection_id":159935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:44:29] local.INFO: TCP Data received {"connection_id":162532,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02961e2a0012d1824c00721a0d0004d013c28..."} 
[2026-08-22 17:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02961e2a0012d1824c00721a0d0004d013c28..."} 
[2026-08-22 17:44:29] local.INFO: Processing buffer {"connection_id":162532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02961e2a0012d1824c00721a0d0004d013c28..."} 
[2026-08-22 17:44:29] local.INFO: Packet analysis {"connection_id":162532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:44:29] local.INFO: Extracted packet for processing {"connection_id":162532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02961"} 
[2026-08-22 17:44:29] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119644368,"longitude_deg":75.6556992,"latitude_deg":11.9644368,"altitude":77,"angle":316,"satellites":40,"speed":25,"hex_longitude":"2d1824c0","hex_latitude":"0721a0d0","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574572288001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14743883992793088,"note":"Value kept but may cause issues"} 
[2026-08-22 17:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537405952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787400676000,"timestamp_ms":1787400676000,"timestamp_seconds":1787400676,"priority":1,"record_length":96,"hex_timestamp":"000001a02961e2a0"} 
[2026-08-22 17: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-22 17:44: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-22 17: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-22 17:44:29] 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-22 17: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-22 17: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-22 17:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:44:29] 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-22 17:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574572288001,"66":14113,"105":206,"83":41984,"24":25,"16":14743883992793088,"45":1741485711537405952},"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-22 17:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574572288001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:44:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:44:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14743883992793088,"km_value":14743883992793.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537405952,"description":"Unknown IO ID 45"} 
[2026-08-22 17:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574572288001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1741485711537405952}} 
[2026-08-22 17:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":162532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:44:29] local.INFO: GPS data processed {"connection_id":162532,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:44:29] local.INFO: Acknowledgment sent {"connection_id":162532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:44:50] local.INFO: TCP Data received {"connection_id":161109,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:44:50] local.INFO: Processing buffer {"connection_id":161109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:44:50] local.INFO: IMEI packet received {"connection_id":161109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":161109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:44:52] local.INFO: TCP Data received {"connection_id":161109,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:44:52] local.INFO: Processing buffer {"connection_id":161109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:44:52] local.INFO: IMEI packet received {"connection_id":161109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":161109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:44:53] local.INFO: TCP Data received {"connection_id":161108,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:44:53] local.INFO: Processing buffer {"connection_id":161108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:44:53] local.INFO: IMEI packet received {"connection_id":161108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":161108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:44:53] local.INFO: TCP Data received {"connection_id":160176,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:44:54] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:44:54] local.INFO: IMEI packet received {"connection_id":160176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":160176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:44:57] local.INFO: TCP Data received {"connection_id":161109,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:44:57] local.INFO: Processing buffer {"connection_id":161109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:44:57] local.INFO: IMEI packet received {"connection_id":161109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":161109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:44:58] local.INFO: TCP Data received {"connection_id":161109,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02963ee10012d1828000721b118004c006424..."} 
[2026-08-22 17:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02963ee10012d1828000721b118004c006424..."} 
[2026-08-22 17:44:58] local.INFO: Processing buffer {"connection_id":161109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02963ee10012d1828000721b118004c006424..."} 
[2026-08-22 17:44:58] local.INFO: Packet analysis {"connection_id":161109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:44:58] local.INFO: Extracted packet for processing {"connection_id":161109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:44:58] local.INFO: GPS Element Parsed {"raw_longitude":756557824,"raw_latitude":119648536,"longitude_deg":75.6557824,"latitude_deg":11.9648536,"altitude":76,"angle":100,"satellites":36,"speed":0,"hex_longitude":"2d182800","hex_latitude":"0721b118","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574601984001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744201820372992,"note":"Value kept but may cause issues"} 
[2026-08-22 17:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740641286608721920,"note":"Value kept but may cause issues"} 
[2026-08-22 17:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787400810000,"timestamp_ms":1787400810000,"timestamp_seconds":1787400810,"priority":1,"record_length":96,"hex_timestamp":"000001a02963ee10"} 
[2026-08-22 17: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-22 17:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-22 17:44:58] 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-22 17: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-22 17: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-22 17:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:44: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-22 17:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574601984001,"66":13102,"105":206,"83":41984,"24":0,"16":14744201820372992,"45":1740641286608721920},"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-22 17:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574601984001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:44:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:44:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744201820372992,"km_value":14744201820372.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740641286608721920,"description":"Unknown IO ID 45"} 
[2026-08-22 17:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574601984001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740641286608721920}} 
[2026-08-22 17:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":161109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:44:58] local.INFO: GPS data processed {"connection_id":161109,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:44:58] local.INFO: Acknowledgment sent {"connection_id":161109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:44:58] local.INFO: TCP Data received {"connection_id":160176,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:44:58] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:44:58] local.INFO: IMEI packet received {"connection_id":160176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":160176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:44:59] local.INFO: TCP Data received {"connection_id":161108,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:44:59] local.INFO: Processing buffer {"connection_id":161108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:44:59] local.INFO: IMEI packet received {"connection_id":161108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 17:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":161108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:44:59] local.INFO: TCP Data received {"connection_id":160176,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:44:59] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:44:59] local.INFO: Packet analysis {"connection_id":160176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:44:59] local.INFO: Extracted packet for processing {"connection_id":160176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574522624001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17:44: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-22 17:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787400781000,"timestamp_ms":1787400781000,"timestamp_seconds":1787400781,"priority":1,"record_length":96,"hex_timestamp":"000001a029637cc8"} 
[2026-08-22 17: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-22 17: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-22 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:44: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-22 17: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-22 17: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-22 17:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574522624001,"66":25441,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574522624001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:44:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574522624001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":160176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:44:59] local.INFO: GPS data processed {"connection_id":160176,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:44:59] local.INFO: Acknowledgment sent {"connection_id":160176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:45:21] local.INFO: TCP Data received {"connection_id":159936,"ip":"117.224.150.173","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:45:21] local.INFO: Processing buffer {"connection_id":159936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 17:45:21] local.INFO: IMEI packet received {"connection_id":159936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 17:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":159936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:45:29] local.INFO: TCP Data received {"connection_id":161109,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029644018012d1825c00721b3d8004f006425..."} 
[2026-08-22 17:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029644018012d1825c00721b3d8004f006425..."} 
[2026-08-22 17:45:29] local.INFO: Processing buffer {"connection_id":161109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029644018012d1825c00721b3d8004f006425..."} 
[2026-08-22 17:45:29] local.INFO: Packet analysis {"connection_id":161109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02964"} 
[2026-08-22 17:45:29] local.INFO: Extracted packet for processing {"connection_id":161109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02964"} 
[2026-08-22 17:45:29] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649240,"longitude_deg":75.6557248,"latitude_deg":11.964924,"altitude":79,"angle":100,"satellites":37,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-22 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-22 17:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574607360001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744244770045952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740641286608721920,"note":"Value kept but may cause issues"} 
[2026-08-22 17:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787400831000,"timestamp_ms":1787400831000,"timestamp_seconds":1787400831,"priority":1,"record_length":96,"hex_timestamp":"000001a029644018"} 
[2026-08-22 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-22 17:45: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-22 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 17:45:29] 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-22 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-22 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-22 17:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:45:29] 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-22 17:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574607360001,"66":13091,"105":206,"83":41984,"24":0,"16":14744244770045952,"45":1740641286608721920},"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-22 17:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574607360001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:45:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:45:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744244770045952,"km_value":14744244770045.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740641286608721920,"description":"Unknown IO ID 45"} 
[2026-08-22 17:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574607360001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740641286608721920}} 
[2026-08-22 17:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":161109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:45:29] local.INFO: GPS data processed {"connection_id":161109,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:45:29] local.INFO: Acknowledgment sent {"connection_id":161109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:45:30] local.INFO: TCP Data received {"connection_id":160176,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:45:30] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:45:30] local.INFO: Packet analysis {"connection_id":160176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:45:30] local.INFO: Extracted packet for processing {"connection_id":160176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:45:30] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574522624001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17:45: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-22 17:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787400781000,"timestamp_ms":1787400781000,"timestamp_seconds":1787400781,"priority":1,"record_length":96,"hex_timestamp":"000001a029637cc8"} 
[2026-08-22 17: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-22 17: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-22 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:45: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-22 17: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-22 17: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-22 17:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574522624001,"66":25441,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574522624001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:45:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:45:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574522624001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":160176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:45:30] local.INFO: GPS data processed {"connection_id":160176,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:45:30] local.INFO: Acknowledgment sent {"connection_id":160176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:45:48] local.INFO: TCP Data received {"connection_id":159937,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:45:48] local.INFO: Processing buffer {"connection_id":159937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:45:48] local.INFO: IMEI packet received {"connection_id":159937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":159937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:45:52] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:45:52] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:45:52] local.INFO: IMEI packet received {"connection_id":159938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":159938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:45:53] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:45:53] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:45:53] local.INFO: IMEI packet received {"connection_id":159938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":159938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:45:53] local.INFO: TCP Data received {"connection_id":159937,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:45:53] local.INFO: Processing buffer {"connection_id":159937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:45:53] local.INFO: IMEI packet received {"connection_id":159937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":159937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:45:54] local.INFO: TCP Data received {"connection_id":159937,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:45:54] local.INFO: Processing buffer {"connection_id":159937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:45:54] local.INFO: Packet analysis {"connection_id":159937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:45:54] local.INFO: Extracted packet for processing {"connection_id":159937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574522624001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17:45: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-22 17:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787400781000,"timestamp_ms":1787400781000,"timestamp_seconds":1787400781,"priority":1,"record_length":96,"hex_timestamp":"000001a029637cc8"} 
[2026-08-22 17:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:45:54] 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-22 17:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574522624001,"66":25441,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574522624001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:45:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:45:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574522624001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":159937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:45:54] local.INFO: GPS data processed {"connection_id":159937,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:45:54] local.INFO: Acknowledgment sent {"connection_id":159937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:45:57] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:45:57] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:45:57] local.INFO: IMEI packet received {"connection_id":159938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":159938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:45:58] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029649220012d1825c00721b3d8004f006424..."} 
[2026-08-22 17:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029649220012d1825c00721b3d8004f006424..."} 
[2026-08-22 17:45:58] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029649220012d1825c00721b3d8004f006424..."} 
[2026-08-22 17:45:58] local.INFO: Packet analysis {"connection_id":159938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02964"} 
[2026-08-22 17:45:58] local.INFO: Extracted packet for processing {"connection_id":159938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02964"} 
[2026-08-22 17:45:58] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649240,"longitude_deg":75.6557248,"latitude_deg":11.964924,"altitude":79,"angle":100,"satellites":36,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-22 17:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574612736001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744244770045952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911303168,"note":"Value kept but may cause issues"} 
[2026-08-22 17:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787400852000,"timestamp_ms":1787400852000,"timestamp_seconds":1787400852,"priority":1,"record_length":96,"hex_timestamp":"000001a029649220"} 
[2026-08-22 17:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-22 17:45:58] 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-22 17:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:45: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-22 17:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574612736001,"66":13048,"105":206,"83":41984,"24":0,"16":14744244770045952,"45":1740007967911303168},"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-22 17:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574612736001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:45:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:45:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744244770045952,"km_value":14744244770045.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911303168,"description":"Unknown IO ID 45"} 
[2026-08-22 17:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574612736001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911303168}} 
[2026-08-22 17:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":159938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:45:58] local.INFO: GPS data processed {"connection_id":159938,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:45:58] local.INFO: Acknowledgment sent {"connection_id":159938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:46:25] local.INFO: TCP Data received {"connection_id":159937,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:46:25] local.INFO: Processing buffer {"connection_id":159937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:46:25] local.INFO: Packet analysis {"connection_id":159937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:46:25] local.INFO: Extracted packet for processing {"connection_id":159937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:46:25] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 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-22 17:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574522624001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17: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-22 17:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787400781000,"timestamp_ms":1787400781000,"timestamp_seconds":1787400781,"priority":1,"record_length":96,"hex_timestamp":"000001a029637cc8"} 
[2026-08-22 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-22 17: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-22 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":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:46: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-22 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-22 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-22 17:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574522624001,"66":25441,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574522624001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:46:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574522624001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":159937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:46:25] local.INFO: GPS data processed {"connection_id":159937,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:46:25] local.INFO: Acknowledgment sent {"connection_id":159937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:46:29] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02964e428012d1825c00721b3d8004f006423..."} 
[2026-08-22 17:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02964e428012d1825c00721b3d8004f006423..."} 
[2026-08-22 17:46:29] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02964e428012d1825c00721b3d8004f006423..."} 
[2026-08-22 17:46:29] local.INFO: Packet analysis {"connection_id":159938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02964"} 
[2026-08-22 17:46:29] local.INFO: Extracted packet for processing {"connection_id":159938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02964"} 
[2026-08-22 17:46:29] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649240,"longitude_deg":75.6557248,"latitude_deg":11.964924,"altitude":79,"angle":100,"satellites":35,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574618112001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744244770045952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911303168,"note":"Value kept but may cause issues"} 
[2026-08-22 17:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787400873000,"timestamp_ms":1787400873000,"timestamp_seconds":1787400873,"priority":1,"record_length":96,"hex_timestamp":"000001a02964e428"} 
[2026-08-22 17: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-22 17:46: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-22 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-22 17:46:29] 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-22 17: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-22 17: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-22 17:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:46:29] 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-22 17:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574618112001,"66":13080,"105":206,"83":41984,"24":0,"16":14744244770045952,"45":1740007967911303168},"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-22 17:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574618112001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:46:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:46:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744244770045952,"km_value":14744244770045.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911303168,"description":"Unknown IO ID 45"} 
[2026-08-22 17:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574618112001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911303168}} 
[2026-08-22 17:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":159938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:46:29] local.INFO: GPS data processed {"connection_id":159938,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:46:29] local.INFO: Acknowledgment sent {"connection_id":159938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:46:48] local.INFO: TCP Data received {"connection_id":160177,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:46:48] local.INFO: Processing buffer {"connection_id":160177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:46:48] local.INFO: IMEI packet received {"connection_id":160177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":160177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:46:53] local.INFO: TCP Data received {"connection_id":159940,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:46:53] local.INFO: Processing buffer {"connection_id":159940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:46:53] local.INFO: IMEI packet received {"connection_id":159940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":159940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:46:53] local.INFO: TCP Data received {"connection_id":160177,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:46:53] local.INFO: Processing buffer {"connection_id":160177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:46:53] local.INFO: IMEI packet received {"connection_id":160177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":160177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:46:54] local.INFO: TCP Data received {"connection_id":160177,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:46:54] local.INFO: Processing buffer {"connection_id":160177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:46:54] local.INFO: Packet analysis {"connection_id":160177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:46:54] local.INFO: Extracted packet for processing {"connection_id":160177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:46:54] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574522624001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17:46: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-22 17:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787400781000,"timestamp_ms":1787400781000,"timestamp_seconds":1787400781,"priority":1,"record_length":96,"hex_timestamp":"000001a029637cc8"} 
[2026-08-22 17: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-22 17:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:46:54] 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-22 17: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-22 17: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-22 17:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574522624001,"66":25441,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574522624001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:46:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:46:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574522624001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":160177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:46:54] local.INFO: GPS data processed {"connection_id":160177,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:46:54] local.INFO: Acknowledgment sent {"connection_id":160177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:46:56] local.INFO: TCP Data received {"connection_id":159940,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:46:56] local.INFO: Processing buffer {"connection_id":159940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:46:56] local.INFO: IMEI packet received {"connection_id":159940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":159940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:46:57] local.INFO: TCP Data received {"connection_id":159940,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029653630012d1825c00721b3d8004f006425..."} 
[2026-08-22 17:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029653630012d1825c00721b3d8004f006425..."} 
[2026-08-22 17:46:57] local.INFO: Processing buffer {"connection_id":159940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029653630012d1825c00721b3d8004f006425..."} 
[2026-08-22 17:46:57] local.INFO: Packet analysis {"connection_id":159940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02965"} 
[2026-08-22 17:46:57] local.INFO: Extracted packet for processing {"connection_id":159940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02965"} 
[2026-08-22 17:46:57] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649240,"longitude_deg":75.6557248,"latitude_deg":11.964924,"altitude":79,"angle":100,"satellites":37,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574623488001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744244770045952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911303168,"note":"Value kept but may cause issues"} 
[2026-08-22 17:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787400894000,"timestamp_ms":1787400894000,"timestamp_seconds":1787400894,"priority":1,"record_length":96,"hex_timestamp":"000001a029653630"} 
[2026-08-22 17: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-22 17:46:57] 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-22 17: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 17:46:57] 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-22 17: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-22 17: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-22 17:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:46:57] 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-22 17:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574623488001,"66":13015,"105":206,"83":41984,"24":0,"16":14744244770045952,"45":1740007967911303168},"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-22 17:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574623488001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:46:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:46:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744244770045952,"km_value":14744244770045.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911303168,"description":"Unknown IO ID 45"} 
[2026-08-22 17:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574623488001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911303168}} 
[2026-08-22 17:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":159940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:46:57] local.INFO: GPS data processed {"connection_id":159940,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:46:57] local.INFO: Acknowledgment sent {"connection_id":159940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:47:25] local.INFO: TCP Data received {"connection_id":160177,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:47:25] local.INFO: Processing buffer {"connection_id":160177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:47:25] local.INFO: Packet analysis {"connection_id":160177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:47:25] local.INFO: Extracted packet for processing {"connection_id":160177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:47:25] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 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-22 17:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574522624001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17:47: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-22 17:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787400781000,"timestamp_ms":1787400781000,"timestamp_seconds":1787400781,"priority":1,"record_length":96,"hex_timestamp":"000001a029637cc8"} 
[2026-08-22 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-22 17: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-22 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:47: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-22 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-22 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-22 17:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574522624001,"66":25441,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574522624001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:47:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:47:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574522624001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":160177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:47:25] local.INFO: GPS data processed {"connection_id":160177,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:47:25] local.INFO: Acknowledgment sent {"connection_id":160177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:47:28] local.INFO: TCP Data received {"connection_id":159940,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029658838012d1825c00721b3d8004f006423..."} 
[2026-08-22 17:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029658838012d1825c00721b3d8004f006423..."} 
[2026-08-22 17:47:28] local.INFO: Processing buffer {"connection_id":159940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029658838012d1825c00721b3d8004f006423..."} 
[2026-08-22 17:47:28] local.INFO: Packet analysis {"connection_id":159940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02965"} 
[2026-08-22 17:47:28] local.INFO: Extracted packet for processing {"connection_id":159940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02965"} 
[2026-08-22 17:47:28] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649240,"longitude_deg":75.6557248,"latitude_deg":11.964924,"altitude":79,"angle":100,"satellites":35,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574628864001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744244770045952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911303168,"note":"Value kept but may cause issues"} 
[2026-08-22 17:47:28] local.INFO: IO Element Parsed {"io_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-22 17:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787400915000,"timestamp_ms":1787400915000,"timestamp_seconds":1787400915,"priority":1,"record_length":96,"hex_timestamp":"000001a029658838"} 
[2026-08-22 17: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-22 17:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 17:47:28] 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-22 17: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-22 17: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-22 17:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:47:28] 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-22 17:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574628864001,"66":12972,"105":206,"83":41984,"24":0,"16":14744244770045952,"45":1740007967911303168},"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-22 17:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574628864001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:47:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:47:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744244770045952,"km_value":14744244770045.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911303168,"description":"Unknown IO ID 45"} 
[2026-08-22 17:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574628864001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911303168}} 
[2026-08-22 17:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":159940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:47:29] local.INFO: GPS data processed {"connection_id":159940,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:47:29] local.INFO: Acknowledgment sent {"connection_id":159940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:47:48] local.INFO: TCP Data received {"connection_id":161110,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:47:48] local.INFO: Processing buffer {"connection_id":161110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:47:48] local.INFO: IMEI packet received {"connection_id":161110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":161110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:47:52] local.INFO: TCP Data received {"connection_id":162534,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:47:52] local.INFO: Processing buffer {"connection_id":162534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:47:52] local.INFO: IMEI packet received {"connection_id":162534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":162534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:47:53] local.INFO: TCP Data received {"connection_id":161110,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:47:53] local.INFO: Processing buffer {"connection_id":161110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:47:53] local.INFO: IMEI packet received {"connection_id":161110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":161110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:47:54] local.INFO: TCP Data received {"connection_id":161110,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:47:54] local.INFO: Processing buffer {"connection_id":161110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:47:54] local.INFO: Packet analysis {"connection_id":161110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:47:54] local.INFO: Extracted packet for processing {"connection_id":161110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574522624001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17:47: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-22 17:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787400781000,"timestamp_ms":1787400781000,"timestamp_seconds":1787400781,"priority":1,"record_length":96,"hex_timestamp":"000001a029637cc8"} 
[2026-08-22 17:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:47:54] 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-22 17:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574522624001,"66":25441,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574522624001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:47:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:47:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574522624001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":161110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:47:54] local.INFO: GPS data processed {"connection_id":161110,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:47:54] local.INFO: Acknowledgment sent {"connection_id":161110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:47:57] local.INFO: TCP Data received {"connection_id":162534,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:47:57] local.INFO: Processing buffer {"connection_id":162534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:47:57] local.INFO: IMEI packet received {"connection_id":162534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":162534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:47:58] local.INFO: TCP Data received {"connection_id":162534,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02965da40012d1825c00721b3d8004f006422..."} 
[2026-08-22 17:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02965da40012d1825c00721b3d8004f006422..."} 
[2026-08-22 17:47:58] local.INFO: Processing buffer {"connection_id":162534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02965da40012d1825c00721b3d8004f006422..."} 
[2026-08-22 17:47:58] local.INFO: Packet analysis {"connection_id":162534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02965"} 
[2026-08-22 17:47:58] local.INFO: Extracted packet for processing {"connection_id":162534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02965"} 
[2026-08-22 17:47:58] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649240,"longitude_deg":75.6557248,"latitude_deg":11.964924,"altitude":79,"angle":100,"satellites":34,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-22 17:47: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-22 17:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574634240001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744244770045952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911303168,"note":"Value kept but may cause issues"} 
[2026-08-22 17:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787400936000,"timestamp_ms":1787400936000,"timestamp_seconds":1787400936,"priority":1,"record_length":96,"hex_timestamp":"000001a02965da40"} 
[2026-08-22 17:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 17:47:58] 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-22 17:47: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-22 17:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:47: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-22 17:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574634240001,"66":12993,"105":206,"83":41984,"24":0,"16":14744244770045952,"45":1740007967911303168},"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-22 17:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574634240001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:47:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:47:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744244770045952,"km_value":14744244770045.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911303168,"description":"Unknown IO ID 45"} 
[2026-08-22 17:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574634240001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911303168}} 
[2026-08-22 17:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":162534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:47:58] local.INFO: GPS data processed {"connection_id":162534,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:47:58] local.INFO: Acknowledgment sent {"connection_id":162534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:48:26] local.INFO: TCP Data received {"connection_id":161110,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:48:26] local.INFO: Processing buffer {"connection_id":161110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029637cc8012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:48:26] local.INFO: Packet analysis {"connection_id":161110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:48:26] local.INFO: Extracted packet for processing {"connection_id":161110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02963"} 
[2026-08-22 17:48:26] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574522624001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584907776,"note":"Value kept but may cause issues"} 
[2026-08-22 17:48: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-22 17:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787400781000,"timestamp_ms":1787400781000,"timestamp_seconds":1787400781,"priority":1,"record_length":96,"hex_timestamp":"000001a029637cc8"} 
[2026-08-22 17:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17: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-22 17:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:48: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-22 17:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574522624001,"66":25441,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9195506038584907776},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574522624001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:48:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:48:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584907776,"description":"Unknown IO ID 45"} 
[2026-08-22 17:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574522624001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584907776}} 
[2026-08-22 17:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":161110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:48:26] local.INFO: GPS data processed {"connection_id":161110,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:48:26] local.INFO: Acknowledgment sent {"connection_id":161110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:48:29] local.INFO: TCP Data received {"connection_id":162534,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029662c48012d1825c00721b3d8004f006420..."} 
[2026-08-22 17:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029662c48012d1825c00721b3d8004f006420..."} 
[2026-08-22 17:48:29] local.INFO: Processing buffer {"connection_id":162534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029662c48012d1825c00721b3d8004f006420..."} 
[2026-08-22 17:48:29] local.INFO: Packet analysis {"connection_id":162534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02966"} 
[2026-08-22 17:48:29] local.INFO: Extracted packet for processing {"connection_id":162534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02966"} 
[2026-08-22 17:48:29] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649240,"longitude_deg":75.6557248,"latitude_deg":11.964924,"altitude":79,"angle":100,"satellites":32,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-22 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-22 17:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574639616001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744244770045952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911303168,"note":"Value kept but may cause issues"} 
[2026-08-22 17:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787400957000,"timestamp_ms":1787400957000,"timestamp_seconds":1787400957,"priority":1,"record_length":96,"hex_timestamp":"000001a029662c48"} 
[2026-08-22 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-22 17:48: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-22 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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-22 17:48:29] 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-22 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-22 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-22 17:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:48:29] 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-22 17:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574639616001,"66":12993,"105":206,"83":41984,"24":0,"16":14744244770045952,"45":1740007967911303168},"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-22 17:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574639616001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:48:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:48:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744244770045952,"km_value":14744244770045.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911303168,"description":"Unknown IO ID 45"} 
[2026-08-22 17:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574639616001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911303168}} 
[2026-08-22 17:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":162534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:48:29] local.INFO: GPS data processed {"connection_id":162534,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:48:29] local.INFO: Acknowledgment sent {"connection_id":162534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:48:48] local.INFO: TCP Data received {"connection_id":159941,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:48:48] local.INFO: Processing buffer {"connection_id":159941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:48:48] local.INFO: IMEI packet received {"connection_id":159941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":159941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:48:53] local.INFO: TCP Data received {"connection_id":159941,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:48:53] local.INFO: Processing buffer {"connection_id":159941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:48:53] local.INFO: IMEI packet received {"connection_id":159941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":159941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:48:54] local.INFO: TCP Data received {"connection_id":159941,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:48:54] local.INFO: Processing buffer {"connection_id":159941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:48:54] local.INFO: Packet analysis {"connection_id":159941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:48:54] local.INFO: Extracted packet for processing {"connection_id":159941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574599936001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:48: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-22 17:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787401082000,"timestamp_ms":1787401082000,"timestamp_seconds":1787401082,"priority":1,"record_length":96,"hex_timestamp":"000001a029681490"} 
[2026-08-22 17:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574599936001,"66":25321,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574599936001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:48:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:48:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574599936001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":159941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:48:54] local.INFO: GPS data processed {"connection_id":159941,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:48:54] local.INFO: Acknowledgment sent {"connection_id":159941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:48:57] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:48:57] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:48:57] local.INFO: IMEI packet received {"connection_id":159942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":159942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:49:02] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:49:02] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:49:02] local.INFO: IMEI packet received {"connection_id":159942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":159942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:49:03] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029667e50012d1825c00721b3d8004f006426..."} 
[2026-08-22 17:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029667e50012d1825c00721b3d8004f006426..."} 
[2026-08-22 17:49:03] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029667e50012d1825c00721b3d8004f006426..."} 
[2026-08-22 17:49:03] local.INFO: Packet analysis {"connection_id":159942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02966"} 
[2026-08-22 17:49:03] local.INFO: Extracted packet for processing {"connection_id":159942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02966"} 
[2026-08-22 17:49:03] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649240,"longitude_deg":75.6557248,"latitude_deg":11.964924,"altitude":79,"angle":100,"satellites":38,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-22 17:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574644992001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744244770045952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911303168,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787400978000,"timestamp_ms":1787400978000,"timestamp_seconds":1787400978,"priority":1,"record_length":96,"hex_timestamp":"000001a029667e50"} 
[2026-08-22 17:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-22 17:49:03] 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-22 17:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:49:03] 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-22 17:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574644992001,"66":12972,"105":206,"83":41984,"24":0,"16":14744244770045952,"45":1740007967911303168},"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-22 17:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574644992001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:49:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744244770045952,"km_value":14744244770045.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911303168,"description":"Unknown IO ID 45"} 
[2026-08-22 17:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574644992001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911303168}} 
[2026-08-22 17:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":159942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:49:03] local.INFO: GPS data processed {"connection_id":159942,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:49:03] local.INFO: Acknowledgment sent {"connection_id":159942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:49:03] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02966d058012d1825c00721b3d8004f006426..."} 
[2026-08-22 17:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02966d058012d1825c00721b3d8004f006426..."} 
[2026-08-22 17:49:03] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02966d058012d1825c00721b3d8004f006426..."} 
[2026-08-22 17:49:03] local.INFO: Packet analysis {"connection_id":159942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02966"} 
[2026-08-22 17:49:03] local.INFO: Extracted packet for processing {"connection_id":159942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02966"} 
[2026-08-22 17:49:03] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649240,"longitude_deg":75.6557248,"latitude_deg":11.964924,"altitude":79,"angle":100,"satellites":38,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-22 17:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574650368001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744244770045952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911303168,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787400999000,"timestamp_ms":1787400999000,"timestamp_seconds":1787400999,"priority":1,"record_length":96,"hex_timestamp":"000001a02966d058"} 
[2026-08-22 17:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 17:49:03] 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-22 17:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:49:03] 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-22 17:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574650368001,"66":12961,"105":206,"83":41984,"24":0,"16":14744244770045952,"45":1740007967911303168},"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-22 17:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574650368001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:49:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744244770045952,"km_value":14744244770045.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911303168,"description":"Unknown IO ID 45"} 
[2026-08-22 17:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574650368001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911303168}} 
[2026-08-22 17:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":159942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:49:03] local.INFO: GPS data processed {"connection_id":159942,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:49:03] local.INFO: Acknowledgment sent {"connection_id":159942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:49:25] local.INFO: TCP Data received {"connection_id":159941,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:49:25] local.INFO: Processing buffer {"connection_id":159941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:49:25] local.INFO: Packet analysis {"connection_id":159941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:49:25] local.INFO: Extracted packet for processing {"connection_id":159941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:49:25] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 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-22 17:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574599936001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17: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-22 17:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787401082000,"timestamp_ms":1787401082000,"timestamp_seconds":1787401082,"priority":1,"record_length":96,"hex_timestamp":"000001a029681490"} 
[2026-08-22 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-22 17: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-22 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 17:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574599936001,"66":25321,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574599936001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:49:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574599936001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":159941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:49:25] local.INFO: GPS data processed {"connection_id":159941,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:49:25] local.INFO: Acknowledgment sent {"connection_id":159941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:49:34] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029672260012d1825c00721b3d8004f006426..."} 
[2026-08-22 17:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029672260012d1825c00721b3d8004f006426..."} 
[2026-08-22 17:49:34] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029672260012d1825c00721b3d8004f006426..."} 
[2026-08-22 17:49:34] local.INFO: Packet analysis {"connection_id":159942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02967"} 
[2026-08-22 17:49:34] local.INFO: Extracted packet for processing {"connection_id":159942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02967"} 
[2026-08-22 17:49:34] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649240,"longitude_deg":75.6557248,"latitude_deg":11.964924,"altitude":79,"angle":100,"satellites":38,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574655744001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744244770045952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911303168,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49: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-22 17:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787401020000,"timestamp_ms":1787401020000,"timestamp_seconds":1787401020,"priority":1,"record_length":96,"hex_timestamp":"000001a029672260"} 
[2026-08-22 17: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-22 17:49:34] 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-22 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-22 17:49:34] 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-22 17: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-22 17: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-22 17:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:49:34] 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-22 17:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574655744001,"66":12950,"105":206,"83":41984,"24":0,"16":14744244770045952,"45":1740007967911303168},"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-22 17:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574655744001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:49:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744244770045952,"km_value":14744244770045.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911303168,"description":"Unknown IO ID 45"} 
[2026-08-22 17:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574655744001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911303168}} 
[2026-08-22 17:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":159942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:49:34] local.INFO: GPS data processed {"connection_id":159942,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:49:34] local.INFO: Acknowledgment sent {"connection_id":159942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:49:49] local.INFO: TCP Data received {"connection_id":161111,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:49:49] local.INFO: Processing buffer {"connection_id":161111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:49:49] local.INFO: IMEI packet received {"connection_id":161111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":161111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:49:52] local.INFO: TCP Data received {"connection_id":159943,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:49:52] local.INFO: Processing buffer {"connection_id":159943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:49:52] local.INFO: IMEI packet received {"connection_id":159943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":159943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:49:53] local.INFO: TCP Data received {"connection_id":161111,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:49:53] local.INFO: Processing buffer {"connection_id":161111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:49:53] local.INFO: IMEI packet received {"connection_id":161111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":161111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:49:54] local.INFO: TCP Data received {"connection_id":161111,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:49:54] local.INFO: Processing buffer {"connection_id":161111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:49:54] local.INFO: Packet analysis {"connection_id":161111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:49:54] local.INFO: Extracted packet for processing {"connection_id":161111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574599936001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49: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-22 17:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787401082000,"timestamp_ms":1787401082000,"timestamp_seconds":1787401082,"priority":1,"record_length":96,"hex_timestamp":"000001a029681490"} 
[2026-08-22 17: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-22 17:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574599936001,"66":25321,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574599936001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:49:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:49:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574599936001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":161111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:49:54] local.INFO: GPS data processed {"connection_id":161111,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:49:54] local.INFO: Acknowledgment sent {"connection_id":161111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:49:57] local.INFO: TCP Data received {"connection_id":159943,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:49:57] local.INFO: Processing buffer {"connection_id":159943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:49:57] local.INFO: IMEI packet received {"connection_id":159943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":159943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:49:58] local.INFO: TCP Data received {"connection_id":159943,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029677468012d1825c00721b3d8004f006429..."} 
[2026-08-22 17:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029677468012d1825c00721b3d8004f006429..."} 
[2026-08-22 17:49:58] local.INFO: Processing buffer {"connection_id":159943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029677468012d1825c00721b3d8004f006429..."} 
[2026-08-22 17:49:58] local.INFO: Packet analysis {"connection_id":159943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02967"} 
[2026-08-22 17:49:58] local.INFO: Extracted packet for processing {"connection_id":159943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02967"} 
[2026-08-22 17:49:58] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649240,"longitude_deg":75.6557248,"latitude_deg":11.964924,"altitude":79,"angle":100,"satellites":41,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574661120001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744244770045952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911303168,"note":"Value kept but may cause issues"} 
[2026-08-22 17:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787401041000,"timestamp_ms":1787401041000,"timestamp_seconds":1787401041,"priority":1,"record_length":96,"hex_timestamp":"000001a029677468"} 
[2026-08-22 17: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-22 17:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 17:49:58] 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-22 17: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-22 17: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-22 17:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:49: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-22 17:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574661120001,"66":12841,"105":206,"83":41984,"24":0,"16":14744244770045952,"45":1740007967911303168},"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-22 17:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574661120001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:49:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:49:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744244770045952,"km_value":14744244770045.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911303168,"description":"Unknown IO ID 45"} 
[2026-08-22 17:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574661120001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911303168}} 
[2026-08-22 17:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":159943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:49:58] local.INFO: GPS data processed {"connection_id":159943,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:49:58] local.INFO: Acknowledgment sent {"connection_id":159943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:50:26] local.INFO: TCP Data received {"connection_id":161111,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:50:26] local.INFO: Processing buffer {"connection_id":161111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:50:26] local.INFO: Packet analysis {"connection_id":161111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:50:26] local.INFO: Extracted packet for processing {"connection_id":161111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:50:26] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574599936001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:50: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-22 17:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787401082000,"timestamp_ms":1787401082000,"timestamp_seconds":1787401082,"priority":1,"record_length":96,"hex_timestamp":"000001a029681490"} 
[2026-08-22 17: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-22 17:50: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-22 17:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574599936001,"66":25321,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574599936001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:50:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:50:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574599936001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":161111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:50:26] local.INFO: GPS data processed {"connection_id":161111,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:50:26] local.INFO: Acknowledgment sent {"connection_id":161111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:50:29] local.INFO: TCP Data received {"connection_id":159943,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02967c670012d1825c00721b3d8004f006425..."} 
[2026-08-22 17:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02967c670012d1825c00721b3d8004f006425..."} 
[2026-08-22 17:50:29] local.INFO: Processing buffer {"connection_id":159943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02967c670012d1825c00721b3d8004f006425..."} 
[2026-08-22 17:50:29] local.INFO: Packet analysis {"connection_id":159943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02967"} 
[2026-08-22 17:50:29] local.INFO: Extracted packet for processing {"connection_id":159943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02967"} 
[2026-08-22 17:50:29] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649240,"longitude_deg":75.6557248,"latitude_deg":11.964924,"altitude":79,"angle":100,"satellites":37,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-22 17:50: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-22 17:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574666496001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744244770045952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911303168,"note":"Value kept but may cause issues"} 
[2026-08-22 17:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787401062000,"timestamp_ms":1787401062000,"timestamp_seconds":1787401062,"priority":1,"record_length":96,"hex_timestamp":"000001a02967c670"} 
[2026-08-22 17:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:50: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 17:50:29] 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-22 17:50: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-22 17:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:50:29] 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-22 17:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574666496001,"66":12885,"105":206,"83":41984,"24":0,"16":14744244770045952,"45":1740007967911303168},"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-22 17:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574666496001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:50:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744244770045952,"km_value":14744244770045.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911303168,"description":"Unknown IO ID 45"} 
[2026-08-22 17:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574666496001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911303168}} 
[2026-08-22 17:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":159943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:50:29] local.INFO: GPS data processed {"connection_id":159943,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:50:29] local.INFO: Acknowledgment sent {"connection_id":159943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:50:48] local.INFO: TCP Data received {"connection_id":162535,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:50:48] local.INFO: Processing buffer {"connection_id":162535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:50:48] local.INFO: IMEI packet received {"connection_id":162535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":162535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:50:52] local.INFO: TCP Data received {"connection_id":161112,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:50:52] local.INFO: Processing buffer {"connection_id":161112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:50:52] local.INFO: IMEI packet received {"connection_id":161112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":161112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:50:53] local.INFO: TCP Data received {"connection_id":162535,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:50:53] local.INFO: Processing buffer {"connection_id":162535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:50:53] local.INFO: IMEI packet received {"connection_id":162535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":162535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:50:54] local.INFO: TCP Data received {"connection_id":161112,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:50:54] local.INFO: Processing buffer {"connection_id":161112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:50:54] local.INFO: IMEI packet received {"connection_id":161112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":161112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:50:55] local.INFO: TCP Data received {"connection_id":162535,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:50:55] local.INFO: Processing buffer {"connection_id":162535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:50:55] local.INFO: Packet analysis {"connection_id":162535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:50:55] local.INFO: Extracted packet for processing {"connection_id":162535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:50:55] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574599936001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:50: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-22 17:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787401082000,"timestamp_ms":1787401082000,"timestamp_seconds":1787401082,"priority":1,"record_length":96,"hex_timestamp":"000001a029681490"} 
[2026-08-22 17:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17: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-22 17:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574599936001,"66":25321,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574599936001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:50:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:50:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574599936001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":162535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:50:55] local.INFO: GPS data processed {"connection_id":162535,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:50:55] local.INFO: Acknowledgment sent {"connection_id":162535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:50:55] local.INFO: TCP Data received {"connection_id":161112,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029681878012d1825c00721b3d8004f006428..."} 
[2026-08-22 17:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029681878012d1825c00721b3d8004f006428..."} 
[2026-08-22 17:50:55] local.INFO: Processing buffer {"connection_id":161112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029681878012d1825c00721b3d8004f006428..."} 
[2026-08-22 17:50:55] local.INFO: Packet analysis {"connection_id":161112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:50:55] local.INFO: Extracted packet for processing {"connection_id":161112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:50:55] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649240,"longitude_deg":75.6557248,"latitude_deg":11.964924,"altitude":79,"angle":100,"satellites":40,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-22 17:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574671872001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744244770045952,"note":"Value kept but may cause issues"} 
[2026-08-22 17:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911303168,"note":"Value kept but may cause issues"} 
[2026-08-22 17:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787401083000,"timestamp_ms":1787401083000,"timestamp_seconds":1787401083,"priority":1,"record_length":96,"hex_timestamp":"000001a029681878"} 
[2026-08-22 17:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 17:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:50:55] 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-22 17:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574671872001,"66":12885,"105":206,"83":41984,"24":0,"16":14744244770045952,"45":1740007967911303168},"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-22 17:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574671872001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:50:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:50:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744244770045952,"km_value":14744244770045.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911303168,"description":"Unknown IO ID 45"} 
[2026-08-22 17:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574671872001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911303168}} 
[2026-08-22 17:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":161112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:50:55] local.INFO: GPS data processed {"connection_id":161112,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:50:55] local.INFO: Acknowledgment sent {"connection_id":161112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:51:26] local.INFO: TCP Data received {"connection_id":162535,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:51:26] local.INFO: Processing buffer {"connection_id":162535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:51:26] local.INFO: Packet analysis {"connection_id":162535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:51:26] local.INFO: Extracted packet for processing {"connection_id":162535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:51:26] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574599936001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:51: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-22 17:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787401082000,"timestamp_ms":1787401082000,"timestamp_seconds":1787401082,"priority":1,"record_length":96,"hex_timestamp":"000001a029681490"} 
[2026-08-22 17: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-22 17:51: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-22 17:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574599936001,"66":25321,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574599936001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:51:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574599936001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":162535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:51:26] local.INFO: GPS data processed {"connection_id":162535,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:51:26] local.INFO: Acknowledgment sent {"connection_id":162535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:51:26] local.INFO: TCP Data received {"connection_id":161112,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0296a8590012d181f800721a7a8004f00992c..."} 
[2026-08-22 17:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0296a8590012d181f800721a7a8004f00992c..."} 
[2026-08-22 17:51:26] local.INFO: Processing buffer {"connection_id":161112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0296a8590012d181f800721a7a8004f00992c..."} 
[2026-08-22 17:51:26] local.INFO: Packet analysis {"connection_id":161112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0296a"} 
[2026-08-22 17:51:26] local.INFO: Extracted packet for processing {"connection_id":161112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0296a"} 
[2026-08-22 17:51:26] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646120,"longitude_deg":75.6555648,"latitude_deg":11.964612,"altitude":79,"angle":153,"satellites":44,"speed":10,"hex_longitude":"2d181f80","hex_latitude":"0721a7a8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574717696001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744446633508864,"note":"Value kept but may cause issues"} 
[2026-08-22 17:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561948672,"note":"Value kept but may cause issues"} 
[2026-08-22 17:51: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-22 17:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787401242000,"timestamp_ms":1787401242000,"timestamp_seconds":1787401242,"priority":1,"record_length":96,"hex_timestamp":"000001a0296a8590"} 
[2026-08-22 17: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-22 17:51:26] 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-22 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 17:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:51:26] 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-22 17:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574717696001,"66":14374,"105":206,"83":41984,"24":10,"16":14744446633508864,"45":1738178380561948672},"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-22 17:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574717696001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:51:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:51:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744446633508864,"km_value":14744446633508.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561948672,"description":"Unknown IO ID 45"} 
[2026-08-22 17:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574717696001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1738178380561948672}} 
[2026-08-22 17:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":161112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:51:26] local.INFO: GPS data processed {"connection_id":161112,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:51:26] local.INFO: Acknowledgment sent {"connection_id":161112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:51:48] local.INFO: TCP Data received {"connection_id":160180,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:51:48] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:51:48] local.INFO: IMEI packet received {"connection_id":160180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":160180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:51:52] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:51:52] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:51:52] local.INFO: IMEI packet received {"connection_id":159944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":159944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:51:52] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:51:52] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:51:52] local.INFO: IMEI packet received {"connection_id":159944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":159944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:51:53] local.INFO: TCP Data received {"connection_id":160180,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:51:53] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:51:53] local.INFO: IMEI packet received {"connection_id":160180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":160180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:51:54] local.INFO: TCP Data received {"connection_id":160180,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:51:54] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:51:54] local.INFO: Packet analysis {"connection_id":160180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:51:54] local.INFO: Extracted packet for processing {"connection_id":160180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:51:54] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 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-22 17:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574599936001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:51: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-22 17:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787401082000,"timestamp_ms":1787401082000,"timestamp_seconds":1787401082,"priority":1,"record_length":96,"hex_timestamp":"000001a029681490"} 
[2026-08-22 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-22 17:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 17:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574599936001,"66":25321,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574599936001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:51:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:51:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574599936001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":160180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:51:54] local.INFO: GPS data processed {"connection_id":160180,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:51:54] local.INFO: Acknowledgment sent {"connection_id":160180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:51:55] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:51:55] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:51:55] local.INFO: IMEI packet received {"connection_id":159944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":159944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:51:56] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0296a8978012d1820000721a6e0004f00872c..."} 
[2026-08-22 17:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0296a8978012d1820000721a6e0004f00872c..."} 
[2026-08-22 17:51:56] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0296a8978012d1820000721a6e0004f00872c..."} 
[2026-08-22 17:51:56] local.INFO: Packet analysis {"connection_id":159944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0296a"} 
[2026-08-22 17:51:56] local.INFO: Extracted packet for processing {"connection_id":159944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0296a"} 
[2026-08-22 17:51:56] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119645920,"longitude_deg":75.6555776,"latitude_deg":11.964592,"altitude":79,"angle":135,"satellites":44,"speed":9,"hex_longitude":"2d182000","hex_latitude":"0721a6e0","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574717952001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744459518410752,"note":"Value kept but may cause issues"} 
[2026-08-22 17:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306062848,"note":"Value kept but may cause issues"} 
[2026-08-22 17:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787401243000,"timestamp_ms":1787401243000,"timestamp_seconds":1787401243,"priority":1,"record_length":96,"hex_timestamp":"000001a0296a8978"} 
[2026-08-22 17: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-22 17:51:56] 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-22 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 17:51:56] 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-22 17: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-22 17: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-22 17:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:51:56] 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-22 17:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574717952001,"66":14428,"105":206,"83":41984,"24":9,"16":14744459518410752,"45":1738248749306062848},"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-22 17:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574717952001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:51:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:51:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744459518410752,"km_value":14744459518410.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306062848,"description":"Unknown IO ID 45"} 
[2026-08-22 17:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574717952001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738248749306062848}} 
[2026-08-22 17:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":159944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:51:56] local.INFO: GPS data processed {"connection_id":159944,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:51:56] local.INFO: Acknowledgment sent {"connection_id":159944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:52:25] local.INFO: TCP Data received {"connection_id":160180,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:52:25] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:52:25] local.INFO: Packet analysis {"connection_id":160180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:52:25] local.INFO: Extracted packet for processing {"connection_id":160180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:52:25] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574599936001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:52: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-22 17:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787401082000,"timestamp_ms":1787401082000,"timestamp_seconds":1787401082,"priority":1,"record_length":96,"hex_timestamp":"000001a029681490"} 
[2026-08-22 17:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:52: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-22 17:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574599936001,"66":25321,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574599936001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:52:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:52:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574599936001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":160180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:52:25] local.INFO: GPS data processed {"connection_id":160180,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:52:25] local.INFO: Acknowledgment sent {"connection_id":160180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:52:28] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0296a8d60012d1820c00721a658004f007b2c..."} 
[2026-08-22 17:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0296a8d60012d1820c00721a658004f007b2c..."} 
[2026-08-22 17:52:28] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0296a8d60012d1820c00721a658004f007b2c..."} 
[2026-08-22 17:52:28] local.INFO: Packet analysis {"connection_id":159944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0296a"} 
[2026-08-22 17:52:28] local.INFO: Extracted packet for processing {"connection_id":159944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0296a"} 
[2026-08-22 17:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119645784,"longitude_deg":75.6555968,"latitude_deg":11.9645784,"altitude":79,"angle":123,"satellites":44,"speed":8,"hex_longitude":"2d1820c0","hex_latitude":"0721a658","is_valid_coordinates":true} 
[2026-08-22 17:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574718208001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14744468108345344,"note":"Value kept but may cause issues"} 
[2026-08-22 17:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794366976,"note":"Value kept but may cause issues"} 
[2026-08-22 17:52:28] local.INFO: IO Element Parsed {"io_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-22 17:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787401244000,"timestamp_ms":1787401244000,"timestamp_seconds":1787401244,"priority":1,"record_length":96,"hex_timestamp":"000001a0296a8d60"} 
[2026-08-22 17:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 17:52: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-22 17:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:52:28] 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-22 17:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574718208001,"66":14428,"105":206,"83":41984,"24":8,"16":14744468108345344,"45":1738389486794366976},"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-22 17:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574718208001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:52:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 17:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14744468108345344,"km_value":14744468108345.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794366976,"description":"Unknown IO ID 45"} 
[2026-08-22 17:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574718208001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738389486794366976}} 
[2026-08-22 17:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":159944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:52:28] local.INFO: GPS data processed {"connection_id":159944,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:52:28] local.INFO: Acknowledgment sent {"connection_id":159944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:52:48] local.INFO: TCP Data received {"connection_id":162536,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:52:48] local.INFO: Processing buffer {"connection_id":162536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:52:48] local.INFO: IMEI packet received {"connection_id":162536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":162536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:52:51] local.INFO: TCP Data received {"connection_id":160181,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:52:51] local.INFO: Processing buffer {"connection_id":160181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:52:51] local.INFO: IMEI packet received {"connection_id":160181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":160181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:52:52] local.INFO: TCP Data received {"connection_id":160181,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:52:52] local.INFO: Processing buffer {"connection_id":160181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:52:52] local.INFO: IMEI packet received {"connection_id":160181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":160181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:52:52] local.INFO: TCP Data received {"connection_id":160181,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:52:52] local.INFO: Processing buffer {"connection_id":160181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:52:52] local.INFO: IMEI packet received {"connection_id":160181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":160181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:52:53] local.INFO: TCP Data received {"connection_id":160181,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:52:53] local.INFO: Processing buffer {"connection_id":160181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:52:53] local.INFO: IMEI packet received {"connection_id":160181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":160181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:52:53] local.INFO: TCP Data received {"connection_id":162536,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:52:53] local.INFO: Processing buffer {"connection_id":162536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:52:53] local.INFO: IMEI packet received {"connection_id":162536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":162536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:52:54] local.INFO: TCP Data received {"connection_id":162536,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:52:54] local.INFO: Processing buffer {"connection_id":162536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:52:54] local.INFO: Packet analysis {"connection_id":162536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:52:54] local.INFO: Extracted packet for processing {"connection_id":162536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:52:54] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574599936001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:52: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-22 17:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787401082000,"timestamp_ms":1787401082000,"timestamp_seconds":1787401082,"priority":1,"record_length":96,"hex_timestamp":"000001a029681490"} 
[2026-08-22 17:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574599936001,"66":25321,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574599936001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:52:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:52:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574599936001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":162536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:52:54] local.INFO: GPS data processed {"connection_id":162536,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:52:54] local.INFO: Acknowledgment sent {"connection_id":162536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:53:26] local.INFO: TCP Data received {"connection_id":162536,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:53:26] local.INFO: Processing buffer {"connection_id":162536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029681490012d7fa2c005afc9a80008000328..."} 
[2026-08-22 17:53:26] local.INFO: Packet analysis {"connection_id":162536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:53:26] local.INFO: Extracted packet for processing {"connection_id":162536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02968"} 
[2026-08-22 17:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574599936001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:53: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-22 17:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787401082000,"timestamp_ms":1787401082000,"timestamp_seconds":1787401082,"priority":1,"record_length":96,"hex_timestamp":"000001a029681490"} 
[2026-08-22 17: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-22 17:53: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-22 17:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 17:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574599936001,"66":25321,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574599936001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:53:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574599936001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":162536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:53:26] local.INFO: GPS data processed {"connection_id":162536,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:53:26] local.INFO: Acknowledgment sent {"connection_id":162536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:53:48] local.INFO: TCP Data received {"connection_id":161113,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:53:48] local.INFO: Processing buffer {"connection_id":161113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:53:48] local.INFO: IMEI packet received {"connection_id":161113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":161113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:53:53] local.INFO: TCP Data received {"connection_id":161113,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:53:53] local.INFO: Processing buffer {"connection_id":161113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:53:53] local.INFO: IMEI packet received {"connection_id":161113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":161113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:53:54] local.INFO: TCP Data received {"connection_id":161113,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:53:54] local.INFO: Processing buffer {"connection_id":161113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:53:54] local.INFO: Packet analysis {"connection_id":161113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0296c"} 
[2026-08-22 17:53:54] local.INFO: Extracted packet for processing {"connection_id":161113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0296c"} 
[2026-08-22 17:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574676992001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:53: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-22 17:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787401383000,"timestamp_ms":1787401383000,"timestamp_seconds":1787401383,"priority":1,"record_length":96,"hex_timestamp":"000001a0296cac58"} 
[2026-08-22 17:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 17:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574676992001,"66":25223,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574676992001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:53:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:53:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574676992001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":161113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:53:54] local.INFO: GPS data processed {"connection_id":161113,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:53:54] local.INFO: Acknowledgment sent {"connection_id":161113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:54:25] local.INFO: TCP Data received {"connection_id":161113,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:54:25] local.INFO: Processing buffer {"connection_id":161113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:54:25] local.INFO: Packet analysis {"connection_id":161113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0296c"} 
[2026-08-22 17:54:25] local.INFO: Extracted packet for processing {"connection_id":161113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0296c"} 
[2026-08-22 17:54:25] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574676992001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:54: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-22 17:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787401383000,"timestamp_ms":1787401383000,"timestamp_seconds":1787401383,"priority":1,"record_length":96,"hex_timestamp":"000001a0296cac58"} 
[2026-08-22 17: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-22 17:54: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-22 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 17:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574676992001,"66":25223,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574676992001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:54:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:54:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574676992001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":161113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:54:25] local.INFO: GPS data processed {"connection_id":161113,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:54:25] local.INFO: Acknowledgment sent {"connection_id":161113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:54:48] local.INFO: TCP Data received {"connection_id":160182,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:54:48] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:54:48] local.INFO: IMEI packet received {"connection_id":160182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":160182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:54:53] local.INFO: TCP Data received {"connection_id":160182,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:54:53] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:54:53] local.INFO: IMEI packet received {"connection_id":160182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":160182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:54:54] local.INFO: TCP Data received {"connection_id":160182,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:54:54] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:54:54] local.INFO: Packet analysis {"connection_id":160182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0296c"} 
[2026-08-22 17:54:54] local.INFO: Extracted packet for processing {"connection_id":160182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0296c"} 
[2026-08-22 17:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574676992001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:54: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-22 17:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787401383000,"timestamp_ms":1787401383000,"timestamp_seconds":1787401383,"priority":1,"record_length":96,"hex_timestamp":"000001a0296cac58"} 
[2026-08-22 17: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-22 17:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 17:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574676992001,"66":25223,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574676992001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:54:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:54:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574676992001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":160182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:54:54] local.INFO: GPS data processed {"connection_id":160182,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:54:54] local.INFO: Acknowledgment sent {"connection_id":160182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:55:26] local.INFO: TCP Data received {"connection_id":160182,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:55:26] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:55:26] local.INFO: Packet analysis {"connection_id":160182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0296c"} 
[2026-08-22 17:55:26] local.INFO: Extracted packet for processing {"connection_id":160182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0296c"} 
[2026-08-22 17:55:26] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574676992001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:55: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-22 17:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787401383000,"timestamp_ms":1787401383000,"timestamp_seconds":1787401383,"priority":1,"record_length":96,"hex_timestamp":"000001a0296cac58"} 
[2026-08-22 17: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-22 17:55: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-22 17:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 17:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574676992001,"66":25223,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574676992001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:55:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574676992001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":160182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:55:26] local.INFO: GPS data processed {"connection_id":160182,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:55:26] local.INFO: Acknowledgment sent {"connection_id":160182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:55:48] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:55:48] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:55:48] local.INFO: IMEI packet received {"connection_id":159945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":159945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:55:53] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:55:53] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:55:53] local.INFO: IMEI packet received {"connection_id":159945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":159945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:55:54] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:55:54] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:55:54] local.INFO: Packet analysis {"connection_id":159945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0296c"} 
[2026-08-22 17:55:54] local.INFO: Extracted packet for processing {"connection_id":159945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0296c"} 
[2026-08-22 17:55:54] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574676992001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:55: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-22 17:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787401383000,"timestamp_ms":1787401383000,"timestamp_seconds":1787401383,"priority":1,"record_length":96,"hex_timestamp":"000001a0296cac58"} 
[2026-08-22 17:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 17:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574676992001,"66":25223,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574676992001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:55:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:55:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574676992001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":159945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:55:54] local.INFO: GPS data processed {"connection_id":159945,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:55:54] local.INFO: Acknowledgment sent {"connection_id":159945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:56:26] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:56:26] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:56:26] local.INFO: Packet analysis {"connection_id":159945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0296c"} 
[2026-08-22 17:56:26] local.INFO: Extracted packet for processing {"connection_id":159945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0296c"} 
[2026-08-22 17:56:26] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574676992001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:56: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-22 17:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787401383000,"timestamp_ms":1787401383000,"timestamp_seconds":1787401383,"priority":1,"record_length":96,"hex_timestamp":"000001a0296cac58"} 
[2026-08-22 17: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-22 17:56: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-22 17:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 17:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574676992001,"66":25223,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574676992001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:56:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574676992001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":159945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:56:26] local.INFO: GPS data processed {"connection_id":159945,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:56:26] local.INFO: Acknowledgment sent {"connection_id":159945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:56:48] local.INFO: TCP Data received {"connection_id":161115,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:56:48] local.INFO: Processing buffer {"connection_id":161115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:56:48] local.INFO: IMEI packet received {"connection_id":161115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":161115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:56:53] local.INFO: TCP Data received {"connection_id":161115,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:56:53] local.INFO: Processing buffer {"connection_id":161115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:56:53] local.INFO: IMEI packet received {"connection_id":161115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":161115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:56:54] local.INFO: TCP Data received {"connection_id":161115,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:56:54] local.INFO: Processing buffer {"connection_id":161115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0296cac58012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:56:54] local.INFO: Packet analysis {"connection_id":161115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0296c"} 
[2026-08-22 17:56:54] local.INFO: Extracted packet for processing {"connection_id":161115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0296c"} 
[2026-08-22 17:56:54] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574676992001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:56: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-22 17:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787401383000,"timestamp_ms":1787401383000,"timestamp_seconds":1787401383,"priority":1,"record_length":96,"hex_timestamp":"000001a0296cac58"} 
[2026-08-22 17:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 17:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 17:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574676992001,"66":25223,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574676992001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:56:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:56:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574676992001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":161115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:56:54] local.INFO: GPS data processed {"connection_id":161115,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:56:54] local.INFO: Acknowledgment sent {"connection_id":161115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:57:25] local.INFO: TCP Data received {"connection_id":161115,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0296fe490012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0296fe490012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:57:25] local.INFO: Processing buffer {"connection_id":161115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0296fe490012d7fa2c005afc9a8000800032b..."} 
[2026-08-22 17:57:25] local.INFO: Packet analysis {"connection_id":161115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0296f"} 
[2026-08-22 17:57:25] local.INFO: Extracted packet for processing {"connection_id":161115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0296f"} 
[2026-08-22 17:57:25] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406504,"longitude_deg":76.3339456,"latitude_deg":9.5406504,"altitude":8,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc9a8","is_valid_coordinates":true} 
[2026-08-22 17:57: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-22 17:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574754048001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927288860737536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700572160,"note":"Value kept but may cause issues"} 
[2026-08-22 17:57: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-22 17:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787401594000,"timestamp_ms":1787401594000,"timestamp_seconds":1787401594,"priority":1,"record_length":96,"hex_timestamp":"000001a0296fe490"} 
[2026-08-22 17: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-22 17: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-22 17: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-22 17:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17: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-22 17: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-22 17:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 17:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 17:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 17:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 17:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574754048001,"66":25299,"250":206,"85":12544,"24":0,"16":388927288860737536,"45":9197124519700572160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 17:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 17:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 17:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574754048001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:57:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 17:57:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 17:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927288860737536,"km_value":388927288860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700572160,"description":"Unknown IO ID 45"} 
[2026-08-22 17:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574754048001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700572160}} 
[2026-08-22 17:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":161115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:57:25] local.INFO: GPS data processed {"connection_id":161115,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:57:25] local.INFO: Acknowledgment sent {"connection_id":161115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:57:57] local.INFO: TCP Data received {"connection_id":160185,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:57:57] local.INFO: Processing buffer {"connection_id":160185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:57:57] local.INFO: IMEI packet received {"connection_id":160185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":160185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:57:58] local.INFO: TCP Data received {"connection_id":160185,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0296f05e8012d1ada00071f8620003600432a..."} 
[2026-08-22 17:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0296f05e8012d1ada00071f8620003600432a..."} 
[2026-08-22 17:57:58] local.INFO: Processing buffer {"connection_id":160185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0296f05e8012d1ada00071f8620003600432a..."} 
[2026-08-22 17:57:58] local.INFO: Packet analysis {"connection_id":160185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0296f"} 
[2026-08-22 17:57:58] local.INFO: Extracted packet for processing {"connection_id":160185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0296f"} 
[2026-08-22 17:57:58] local.INFO: GPS Element Parsed {"raw_longitude":756734464,"raw_latitude":119506464,"longitude_deg":75.6734464,"latitude_deg":11.9506464,"altitude":54,"angle":67,"satellites":42,"speed":9,"hex_longitude":"2d1ada00","hex_latitude":"071f8620","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574792704001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14756996527947776,"note":"Value kept but may cause issues"} 
[2026-08-22 17:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933944226828345344,"note":"Value kept but may cause issues"} 
[2026-08-22 17:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 17:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787401537000,"timestamp_ms":1787401537000,"timestamp_seconds":1787401537,"priority":1,"record_length":96,"hex_timestamp":"000001a0296f05e8"} 
[2026-08-22 17: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-22 17:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":77,"data_length":795,"current_offset":136} 
[2026-08-22 17:57:58] 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-22 17: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-22 17: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-22 17:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:57: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-22 17:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574792704001,"66":14167,"101":206,"83":41984,"24":9,"16":14756996527947776,"45":1933944226828345344},"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-22 17:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574792704001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:57:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:57:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14756996527947776,"km_value":14756996527947.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933944226828345344,"description":"Unknown IO ID 45"} 
[2026-08-22 17:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574792704001,"power":14167,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1933944226828345344}} 
[2026-08-22 17:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":160185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:57:58] local.INFO: GPS data processed {"connection_id":160185,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:57:58] local.INFO: Acknowledgment sent {"connection_id":160185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:58:00] local.INFO: TCP Data received {"connection_id":161116,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:58:00] local.INFO: Processing buffer {"connection_id":161116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:58:00] local.INFO: IMEI packet received {"connection_id":161116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 17:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":161116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:58:02] local.INFO: TCP Data received {"connection_id":161116,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:58:02] local.INFO: Processing buffer {"connection_id":161116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:58:02] local.INFO: IMEI packet received {"connection_id":161116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":161116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:58:03] local.INFO: TCP Data received {"connection_id":161116,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:58:03] local.INFO: Processing buffer {"connection_id":161116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:58:03] local.INFO: IMEI packet received {"connection_id":161116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":161116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:58:04] local.INFO: TCP Data received {"connection_id":161116,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:58:04] local.INFO: Processing buffer {"connection_id":161116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 17:58:04] local.INFO: IMEI packet received {"connection_id":161116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 17:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":161116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:58:29] local.INFO: TCP Data received {"connection_id":160185,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02970d6c0012d1ae200071f9568003e001621..."} 
[2026-08-22 17:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02970d6c0012d1ae200071f9568003e001621..."} 
[2026-08-22 17:58:29] local.INFO: Processing buffer {"connection_id":160185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02970d6c0012d1ae200071f9568003e001621..."} 
[2026-08-22 17:58:29] local.INFO: Packet analysis {"connection_id":160185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02970"} 
[2026-08-22 17:58:29] local.INFO: Extracted packet for processing {"connection_id":160185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02970"} 
[2026-08-22 17:58:29] local.INFO: GPS Element Parsed {"raw_longitude":756736512,"raw_latitude":119510376,"longitude_deg":75.6736512,"latitude_deg":11.9510376,"altitude":62,"angle":22,"satellites":33,"speed":1,"hex_longitude":"2d1ae200","hex_latitude":"071f9568","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574819840001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14757254225985536,"note":"Value kept but may cause issues"} 
[2026-08-22 17:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937392295294038016,"note":"Value kept but may cause issues"} 
[2026-08-22 17:58:29] 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-22 17:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787401656000,"timestamp_ms":1787401656000,"timestamp_seconds":1787401656,"priority":1,"record_length":96,"hex_timestamp":"000001a02970d6c0"} 
[2026-08-22 17: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-22 17:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":179,"data_length":795,"current_offset":136} 
[2026-08-22 17:58:29] 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-22 17: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-22 17: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-22 17:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:58:29] 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-22 17:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574819840001,"66":13580,"101":206,"83":41984,"24":1,"16":14757254225985536,"45":1937392295294038016},"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-22 17:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574819840001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:58:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:58:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14757254225985536,"km_value":14757254225985.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937392295294038016,"description":"Unknown IO ID 45"} 
[2026-08-22 17:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574819840001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1937392295294038016}} 
[2026-08-22 17:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":160185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:58:29] local.INFO: GPS data processed {"connection_id":160185,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:58:29] local.INFO: Acknowledgment sent {"connection_id":160185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:58:52] local.INFO: TCP Data received {"connection_id":161117,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:58:52] local.INFO: Processing buffer {"connection_id":161117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:58:52] local.INFO: IMEI packet received {"connection_id":161117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":161117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:58:53] local.INFO: TCP Data received {"connection_id":161117,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:58:53] local.INFO: Processing buffer {"connection_id":161117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:58:53] local.INFO: IMEI packet received {"connection_id":161117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":161117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:58:54] local.INFO: TCP Data received {"connection_id":161117,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:58:54] local.INFO: Processing buffer {"connection_id":161117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:58:54] local.INFO: IMEI packet received {"connection_id":161117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":161117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:58:56] local.INFO: TCP Data received {"connection_id":161117,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:58:56] local.INFO: Processing buffer {"connection_id":161117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:58:56] local.INFO: IMEI packet received {"connection_id":161117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":161117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:58:57] local.INFO: TCP Data received {"connection_id":161117,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029716f18012d1adc00071f8750003d00d029..."} 
[2026-08-22 17:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029716f18012d1adc00071f8750003d00d029..."} 
[2026-08-22 17:58:57] local.INFO: Processing buffer {"connection_id":161117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029716f18012d1adc00071f8750003d00d029..."} 
[2026-08-22 17:58:57] local.INFO: Packet analysis {"connection_id":161117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02971"} 
[2026-08-22 17:58:57] local.INFO: Extracted packet for processing {"connection_id":161117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02971"} 
[2026-08-22 17:58:57] local.INFO: GPS Element Parsed {"raw_longitude":756734976,"raw_latitude":119506768,"longitude_deg":75.6734976,"latitude_deg":11.9506768,"altitude":61,"angle":208,"satellites":41,"speed":7,"hex_longitude":"2d1adc00","hex_latitude":"071f8750","is_valid_coordinates":true} 
[2026-08-22 17: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-22 17:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574832128001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14757511924023296,"note":"Value kept but may cause issues"} 
[2026-08-22 17:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935633076689201152,"note":"Value kept but may cause issues"} 
[2026-08-22 17:58:57] 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-22 17:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787401695000,"timestamp_ms":1787401695000,"timestamp_seconds":1787401695,"priority":1,"record_length":96,"hex_timestamp":"000001a029716f18"} 
[2026-08-22 17: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-22 17:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 17:58:57] 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-22 17: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-22 17: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-22 17:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:58:57] 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-22 17:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574832128001,"66":14004,"101":206,"83":41984,"24":7,"16":14757511924023296,"45":1935633076689201152},"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-22 17:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574832128001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:58:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:58:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14757511924023296,"km_value":14757511924023.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935633076689201152,"description":"Unknown IO ID 45"} 
[2026-08-22 17:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574832128001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1935633076689201152}} 
[2026-08-22 17:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":161117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:58:57] local.INFO: GPS data processed {"connection_id":161117,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:58:57] local.INFO: Acknowledgment sent {"connection_id":161117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:59:27] local.INFO: TCP Data received {"connection_id":161117,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02971d0c0012d1ab4c0071f95c8003d011625..."} 
[2026-08-22 17:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02971d0c0012d1ab4c0071f95c8003d011625..."} 
[2026-08-22 17:59:27] local.INFO: Processing buffer {"connection_id":161117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02971d0c0012d1ab4c0071f95c8003d011625..."} 
[2026-08-22 17:59:27] local.INFO: Packet analysis {"connection_id":161117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02971"} 
[2026-08-22 17:59:27] local.INFO: Extracted packet for processing {"connection_id":161117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02971"} 
[2026-08-22 17:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756724928,"raw_latitude":119510472,"longitude_deg":75.6724928,"latitude_deg":11.9510472,"altitude":61,"angle":278,"satellites":37,"speed":35,"hex_longitude":"2d1ab4c0","hex_latitude":"071f95c8","is_valid_coordinates":true} 
[2026-08-22 17:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 17:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574839552001,"note":"Value kept but may cause issues"} 
[2026-08-22 17:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14758121809379328,"note":"Value kept but may cause issues"} 
[2026-08-22 17:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927118458644011008,"note":"Value kept but may cause issues"} 
[2026-08-22 17:59:27] 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-22 17:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787401720000,"timestamp_ms":1787401720000,"timestamp_seconds":1787401720,"priority":1,"record_length":96,"hex_timestamp":"000001a02971d0c0"} 
[2026-08-22 17:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 17:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 17:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 17:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 17:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 17:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 17:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 17:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 17:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 17:59:27] 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-22 17:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 17:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 17:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574839552001,"66":14461,"101":206,"83":41984,"24":35,"16":14758121809379328,"45":1927118458644011008},"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-22 17:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 17:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 17:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574839552001,"description":"Unknown IO ID 0"} 
[2026-08-22 17:59:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 17:59:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 17:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14758121809379328,"km_value":14758121809379.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 17:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927118458644011008,"description":"Unknown IO ID 45"} 
[2026-08-22 17:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574839552001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1927118458644011008}} 
[2026-08-22 17:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":161117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 17:59:28] local.INFO: GPS data processed {"connection_id":161117,"processed":1,"errors":0,"total":1} 
[2026-08-22 17:59:28] local.INFO: Acknowledgment sent {"connection_id":161117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 17:59:51] local.INFO: TCP Data received {"connection_id":160186,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:59:51] local.INFO: Processing buffer {"connection_id":160186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:59:51] local.INFO: IMEI packet received {"connection_id":160186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 17:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":160186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 17:59:52] local.INFO: TCP Data received {"connection_id":160186,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:59:52] local.INFO: Processing buffer {"connection_id":160186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:59:52] local.INFO: IMEI packet received {"connection_id":160186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":160186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:59:53] local.INFO: TCP Data received {"connection_id":160186,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:59:53] local.INFO: Processing buffer {"connection_id":160186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:59:53] local.INFO: IMEI packet received {"connection_id":160186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":160186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 17:59:56] local.INFO: TCP Data received {"connection_id":160186,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:59:56] local.INFO: Processing buffer {"connection_id":160186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 17:59:56] local.INFO: IMEI packet received {"connection_id":160186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 17:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":160186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:03:08] local.INFO: TCP Data received {"connection_id":159952,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:03:08] local.INFO: Processing buffer {"connection_id":159952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:03:08] local.INFO: IMEI packet received {"connection_id":159952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":159952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:03:08] local.INFO: TCP Data received {"connection_id":159952,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029748fe0012d7f9cc005afb748000e010d2b..."} 
[2026-08-22 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029748fe0012d7f9cc005afb748000e010d2b..."} 
[2026-08-22 18:03:08] local.INFO: Processing buffer {"connection_id":159952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029748fe0012d7f9cc005afb748000e010d2b..."} 
[2026-08-22 18:03:08] local.INFO: Packet analysis {"connection_id":159952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02974"} 
[2026-08-22 18:03:08] local.INFO: Extracted packet for processing {"connection_id":159952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02974"} 
[2026-08-22 18:03:08] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95401800,"longitude_deg":76.333792,"latitude_deg":9.54018,"altitude":14,"angle":269,"satellites":43,"speed":7,"hex_longitude":"2d7f9cc0","hex_latitude":"05afb748","is_valid_coordinates":true} 
[2026-08-22 18:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574886144001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927503609102336,"note":"Value kept but may cause issues"} 
[2026-08-22 18:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776071639040,"note":"Value kept but may cause issues"} 
[2026-08-22 18:03:08] 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-22 18:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787401900000,"timestamp_ms":1787401900000,"timestamp_seconds":1787401900,"priority":1,"record_length":96,"hex_timestamp":"000001a029748fe0"} 
[2026-08-22 18:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:03: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-22 18:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 18:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574886144001,"66":27821,"250":206,"85":12544,"24":7,"16":388927503609102336,"45":9195646776071639040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 18:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574886144001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:03:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 18:03:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927503609102336,"km_value":388927503609102.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776071639040,"description":"Unknown IO ID 45"} 
[2026-08-22 18:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574886144001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9195646776071639040}} 
[2026-08-22 18:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":159952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:03:08] local.INFO: GPS data processed {"connection_id":159952,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:03:08] local.INFO: Acknowledgment sent {"connection_id":159952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:03:53] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:03:53] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:03:53] local.INFO: IMEI packet received {"connection_id":159954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":159954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:03:57] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:03:57] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:03:57] local.INFO: IMEI packet received {"connection_id":159954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":159954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:03:57] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02974da18012d7f78c005afb738000c011422..."} 
[2026-08-22 18:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02974da18012d7f78c005afb738000c011422..."} 
[2026-08-22 18:03:57] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02974da18012d7f78c005afb738000c011422..."} 
[2026-08-22 18:03:57] local.INFO: Packet analysis {"connection_id":159954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02974"} 
[2026-08-22 18:03:57] local.INFO: Extracted packet for processing {"connection_id":159954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02974"} 
[2026-08-22 18:03:57] local.INFO: GPS Element Parsed {"raw_longitude":763328704,"raw_latitude":95401784,"longitude_deg":76.3328704,"latitude_deg":9.5401784,"altitude":12,"angle":276,"satellites":34,"speed":21,"hex_longitude":"2d7f78c0","hex_latitude":"05afb738","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574886400001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388927950285701120,"note":"Value kept but may cause issues"} 
[2026-08-22 18:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669839104000,"note":"Value kept but may cause issues"} 
[2026-08-22 18:03: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-22 18:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787401919000,"timestamp_ms":1787401919000,"timestamp_seconds":1787401919,"priority":1,"record_length":96,"hex_timestamp":"000001a02974da18"} 
[2026-08-22 18: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-22 18: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-22 18: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":173,"data_length":795,"current_offset":136} 
[2026-08-22 18:03: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-22 18: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-22 18: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-22 18:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574886400001,"66":27745,"250":206,"85":12544,"24":21,"16":388927950285701120,"45":9195435669839104000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 18:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574886400001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:03:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 18:03:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388927950285701120,"km_value":388927950285701.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669839104000,"description":"Unknown IO ID 45"} 
[2026-08-22 18:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574886400001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":9195435669839104000}} 
[2026-08-22 18:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":159954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:03:57] local.INFO: GPS data processed {"connection_id":159954,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:03:57] local.INFO: Acknowledgment sent {"connection_id":159954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:03:58] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02974fd40012d7f620005afb9a0000b010729..."} 
[2026-08-22 18:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02974fd40012d7f620005afb9a0000b010729..."} 
[2026-08-22 18:03:58] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02974fd40012d7f620005afb9a0000b010729..."} 
[2026-08-22 18:03:58] local.INFO: Packet analysis {"connection_id":159954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02974"} 
[2026-08-22 18:03:58] local.INFO: Extracted packet for processing {"connection_id":159954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02974"} 
[2026-08-22 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763322880,"raw_latitude":95402400,"longitude_deg":76.332288,"latitude_deg":9.54024,"altitude":11,"angle":263,"satellites":41,"speed":28,"hex_longitude":"2d7f6200","hex_latitude":"05afb9a0","is_valid_coordinates":true} 
[2026-08-22 18:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574891264001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388928229458575360,"note":"Value kept but may cause issues"} 
[2026-08-22 18:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9185302570677516288,"note":"Value kept but may cause issues"} 
[2026-08-22 18:03: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-22 18:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787401928000,"timestamp_ms":1787401928000,"timestamp_seconds":1787401928,"priority":1,"record_length":96,"hex_timestamp":"000001a02974fd40"} 
[2026-08-22 18:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:03: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-22 18:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 18:03: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-22 18:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574891264001,"66":27745,"250":206,"85":12544,"24":28,"16":388928229458575360,"45":9185302570677516288},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 18:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574891264001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:03:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 18:03:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388928229458575360,"km_value":388928229458575.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9185302570677516288,"description":"Unknown IO ID 45"} 
[2026-08-22 18:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574891264001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":9185302570677516288}} 
[2026-08-22 18:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":159954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:03:58] local.INFO: GPS data processed {"connection_id":159954,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:03:58] local.INFO: Acknowledgment sent {"connection_id":159954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:04:29] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297660b8012d7f2b4005af57080009014c2b..."} 
[2026-08-22 18:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297660b8012d7f2b4005af57080009014c2b..."} 
[2026-08-22 18:04:29] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297660b8012d7f2b4005af57080009014c2b..."} 
[2026-08-22 18:04:29] local.INFO: Packet analysis {"connection_id":159954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02976"} 
[2026-08-22 18:04:29] local.INFO: Extracted packet for processing {"connection_id":159954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02976"} 
[2026-08-22 18:04:29] local.INFO: GPS Element Parsed {"raw_longitude":763308864,"raw_latitude":95377160,"longitude_deg":76.3308864,"latitude_deg":9.537716,"altitude":9,"angle":332,"satellites":43,"speed":14,"hex_longitude":"2d7f2b40","hex_latitude":"05af5708","is_valid_coordinates":true} 
[2026-08-22 18:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574916352001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388930037639806976,"note":"Value kept but may cause issues"} 
[2026-08-22 18:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163980841185245184,"note":"Value kept but may cause issues"} 
[2026-08-22 18:04: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-22 18:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787402019000,"timestamp_ms":1787402019000,"timestamp_seconds":1787402019,"priority":1,"record_length":96,"hex_timestamp":"000001a0297660b8"} 
[2026-08-22 18:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:04: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-22 18:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-22 18:04:29] 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-22 18:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574916352001,"66":27658,"28":206,"85":12544,"24":14,"16":388930037639806976,"45":9163980841185245184},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 18:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574916352001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:04:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 18:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388930037639806976,"km_value":388930037639807.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163980841185245184,"description":"Unknown IO ID 45"} 
[2026-08-22 18:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574916352001,"power":27658,"unknown_28":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9163980841185245184}} 
[2026-08-22 18:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":159954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:04:29] local.INFO: GPS data processed {"connection_id":159954,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:04:29] local.INFO: Acknowledgment sent {"connection_id":159954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:04:48] local.INFO: TCP Data received {"connection_id":162537,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:04:48] local.INFO: Processing buffer {"connection_id":162537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:04:48] local.INFO: IMEI packet received {"connection_id":162537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":162537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:04:51] local.INFO: TCP Data received {"connection_id":162537,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:04:51] local.INFO: Processing buffer {"connection_id":162537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:04:51] local.INFO: IMEI packet received {"connection_id":162537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":162537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:04:52] local.INFO: TCP Data received {"connection_id":162537,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297664a0012d7f2ac005af5848000901582b..."} 
[2026-08-22 18:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297664a0012d7f2ac005af5848000901582b..."} 
[2026-08-22 18:04:52] local.INFO: Processing buffer {"connection_id":162537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297664a0012d7f2ac005af5848000901582b..."} 
[2026-08-22 18:04:52] local.INFO: Packet analysis {"connection_id":162537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02976"} 
[2026-08-22 18:04:52] local.INFO: Extracted packet for processing {"connection_id":162537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02976"} 
[2026-08-22 18:04:52] local.INFO: GPS Element Parsed {"raw_longitude":763308736,"raw_latitude":95377480,"longitude_deg":76.3308736,"latitude_deg":9.537748,"altitude":9,"angle":344,"satellites":43,"speed":14,"hex_longitude":"2d7f2ac0","hex_latitude":"05af5848","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574916864001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388930054819676160,"note":"Value kept but may cause issues"} 
[2026-08-22 18:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163488259976136704,"note":"Value kept but may cause issues"} 
[2026-08-22 18:04:52] 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-22 18:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787402020000,"timestamp_ms":1787402020000,"timestamp_seconds":1787402020,"priority":1,"record_length":96,"hex_timestamp":"000001a0297664a0"} 
[2026-08-22 18: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-22 18:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 18:04:52] 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-22 18: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-22 18: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-22 18:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574916864001,"66":27658,"28":206,"85":12544,"24":14,"16":388930054819676160,"45":9163488259976136704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 18:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574916864001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:04:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 18:04:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388930054819676160,"km_value":388930054819676.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163488259976136704,"description":"Unknown IO ID 45"} 
[2026-08-22 18:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574916864001,"power":27658,"unknown_28":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9163488259976136704}} 
[2026-08-22 18:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":162537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:04:52] local.INFO: GPS data processed {"connection_id":162537,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:04:52] local.INFO: Acknowledgment sent {"connection_id":162537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:04:57] local.INFO: TCP Data received {"connection_id":162538,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:04:57] local.INFO: Processing buffer {"connection_id":162538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:04:57] local.INFO: IMEI packet received {"connection_id":162538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":162538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:04:58] local.INFO: TCP Data received {"connection_id":162538,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02975bca8012d18fd8007214a980046008029..."} 
[2026-08-22 18:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02975bca8012d18fd8007214a980046008029..."} 
[2026-08-22 18:04:58] local.INFO: Processing buffer {"connection_id":162538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02975bca8012d18fd8007214a980046008029..."} 
[2026-08-22 18:04:58] local.INFO: Packet analysis {"connection_id":162538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02975"} 
[2026-08-22 18:04:58] local.INFO: Extracted packet for processing {"connection_id":162538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02975"} 
[2026-08-22 18:04:58] local.INFO: GPS Element Parsed {"raw_longitude":756612480,"raw_latitude":119622296,"longitude_deg":75.661248,"latitude_deg":11.9622296,"altitude":70,"angle":128,"satellites":41,"speed":13,"hex_longitude":"2d18fd80","hex_latitude":"07214a98","is_valid_coordinates":true} 
[2026-08-22 18:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574903808001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14768494155399168,"note":"Value kept but may cause issues"} 
[2026-08-22 18:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796936281944250368,"note":"Value kept but may cause issues"} 
[2026-08-22 18:04: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-22 18:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787401977000,"timestamp_ms":1787401977000,"timestamp_seconds":1787401977,"priority":1,"record_length":96,"hex_timestamp":"000001a02975bca8"} 
[2026-08-22 18:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 18:04:58] 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-22 18:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:04: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-22 18:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574903808001,"66":14102,"103":206,"83":41984,"24":13,"16":14768494155399168,"45":1796936281944250368},"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-22 18:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574903808001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:04:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 18:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14768494155399168,"km_value":14768494155399.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796936281944250368,"description":"Unknown IO ID 45"} 
[2026-08-22 18:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574903808001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1796936281944250368}} 
[2026-08-22 18:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":162538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:04:58] local.INFO: GPS data processed {"connection_id":162538,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:04:58] local.INFO: Acknowledgment sent {"connection_id":162538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:05:23] local.INFO: TCP Data received {"connection_id":162537,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029768bb0012d7f24c005af6bd80008014a2b..."} 
[2026-08-22 18:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029768bb0012d7f24c005af6bd80008014a2b..."} 
[2026-08-22 18:05:23] local.INFO: Processing buffer {"connection_id":162537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029768bb0012d7f24c005af6bd80008014a2b..."} 
[2026-08-22 18:05:23] local.INFO: Packet analysis {"connection_id":162537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02976"} 
[2026-08-22 18:05:23] local.INFO: Extracted packet for processing {"connection_id":162537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02976"} 
[2026-08-22 18:05:23] local.INFO: GPS Element Parsed {"raw_longitude":763307200,"raw_latitude":95382488,"longitude_deg":76.33072,"latitude_deg":9.5382488,"altitude":8,"angle":330,"satellites":43,"speed":28,"hex_longitude":"2d7f24c0","hex_latitude":"05af6bd8","is_valid_coordinates":true} 
[2026-08-22 18:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574917120001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388930308222746624,"note":"Value kept but may cause issues"} 
[2026-08-22 18:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163347522487863296,"note":"Value kept but may cause issues"} 
[2026-08-22 18:05:23] 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-22 18:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787402030000,"timestamp_ms":1787402030000,"timestamp_seconds":1787402030,"priority":1,"record_length":96,"hex_timestamp":"000001a029768bb0"} 
[2026-08-22 18: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-22 18:05: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-22 18: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":10,"data_length":795,"current_offset":136} 
[2026-08-22 18:05:23] 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-22 18: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-22 18: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-22 18:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574917120001,"66":27745,"28":206,"85":12544,"24":28,"16":388930308222746624,"45":9163347522487863296},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-22 18:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574917120001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:05:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 18:05:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388930308222746624,"km_value":388930308222746.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163347522487863296,"description":"Unknown IO ID 45"} 
[2026-08-22 18:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574917120001,"power":27745,"unknown_28":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":9163347522487863296}} 
[2026-08-22 18:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":162537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:05:23] local.INFO: GPS data processed {"connection_id":162537,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:05:23] local.INFO: Acknowledgment sent {"connection_id":162537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:05:29] local.INFO: TCP Data received {"connection_id":162538,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02975c090012d18fe00072149400046009a29..."} 
[2026-08-22 18:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02975c090012d18fe00072149400046009a29..."} 
[2026-08-22 18:05:29] local.INFO: Processing buffer {"connection_id":162538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02975c090012d18fe00072149400046009a29..."} 
[2026-08-22 18:05:29] local.INFO: Packet analysis {"connection_id":162538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02975"} 
[2026-08-22 18:05:29] local.INFO: Extracted packet for processing {"connection_id":162538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02975"} 
[2026-08-22 18:05:29] local.INFO: GPS Element Parsed {"raw_longitude":756612608,"raw_latitude":119621952,"longitude_deg":75.6612608,"latitude_deg":11.9621952,"altitude":70,"angle":154,"satellites":41,"speed":16,"hex_longitude":"2d18fe00","hex_latitude":"07214940","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574906112001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14768511335268352,"note":"Value kept but may cause issues"} 
[2026-08-22 18:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800736194129729536,"note":"Value kept but may cause issues"} 
[2026-08-22 18:05:29] 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-22 18:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787401978000,"timestamp_ms":1787401978000,"timestamp_seconds":1787401978,"priority":1,"record_length":96,"hex_timestamp":"000001a02975c090"} 
[2026-08-22 18: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-22 18:05: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-22 18: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 18:05:29] 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-22 18: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-22 18: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-22 18:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:05:29] 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-22 18:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574906112001,"66":14102,"103":206,"83":41984,"24":16,"16":14768511335268352,"45":1800736194129729536},"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-22 18:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574906112001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:05:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 18:05:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14768511335268352,"km_value":14768511335268.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800736194129729536,"description":"Unknown IO ID 45"} 
[2026-08-22 18:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574906112001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1800736194129729536}} 
[2026-08-22 18:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":162538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:05:29] local.INFO: GPS data processed {"connection_id":162538,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:05:29] local.INFO: Acknowledgment sent {"connection_id":162538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:05:49] local.INFO: TCP Data received {"connection_id":160188,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:05:49] local.INFO: Processing buffer {"connection_id":160188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:05:49] local.INFO: IMEI packet received {"connection_id":160188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":160188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:05:52] local.INFO: TCP Data received {"connection_id":161119,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:05:52] local.INFO: Processing buffer {"connection_id":161119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:05:52] local.INFO: IMEI packet received {"connection_id":161119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":161119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:05:53] local.INFO: TCP Data received {"connection_id":160188,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:05:53] local.INFO: Processing buffer {"connection_id":160188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:05:53] local.INFO: IMEI packet received {"connection_id":160188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":160188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:05:54] local.INFO: TCP Data received {"connection_id":160188,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029779168012d7e930005af76780009015e24..."} 
[2026-08-22 18:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029779168012d7e930005af76780009015e24..."} 
[2026-08-22 18:05:54] local.INFO: Processing buffer {"connection_id":160188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029779168012d7e930005af76780009015e24..."} 
[2026-08-22 18:05:54] local.INFO: Packet analysis {"connection_id":160188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02977"} 
[2026-08-22 18:05:54] local.INFO: Extracted packet for processing {"connection_id":160188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02977"} 
[2026-08-22 18:05:54] local.INFO: GPS Element Parsed {"raw_longitude":763269888,"raw_latitude":95385208,"longitude_deg":76.3269888,"latitude_deg":9.5385208,"altitude":9,"angle":350,"satellites":36,"speed":8,"hex_longitude":"2d7e9300","hex_latitude":"05af7678","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574936576001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388932180828487680,"note":"Value kept but may cause issues"} 
[2026-08-22 18:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120774432262305792,"note":"Value kept but may cause issues"} 
[2026-08-22 18:05:54] 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-22 18:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787402097000,"timestamp_ms":1787402097000,"timestamp_seconds":1787402097,"priority":1,"record_length":96,"hex_timestamp":"000001a029779168"} 
[2026-08-22 18: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-22 18:05: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-22 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 18:05:54] 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-22 18: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-22 18: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-22 18:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574936576001,"66":27800,"27":206,"85":12544,"24":8,"16":388932180828487680,"45":9120774432262305792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 18:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574936576001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:05:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 18:05:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388932180828487680,"km_value":388932180828487.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120774432262305792,"description":"Unknown IO ID 45"} 
[2026-08-22 18:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574936576001,"power":27800,"unknown_27":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9120774432262305792}} 
[2026-08-22 18:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":160188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:05:54] local.INFO: GPS data processed {"connection_id":160188,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:05:54] local.INFO: Acknowledgment sent {"connection_id":160188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:05:56] local.INFO: TCP Data received {"connection_id":161119,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:05:56] local.INFO: Processing buffer {"connection_id":161119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:05:56] local.INFO: IMEI packet received {"connection_id":161119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":161119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:05:57] local.INFO: TCP Data received {"connection_id":161119,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02975d800012d19028007213fe80046008f2c..."} 
[2026-08-22 18:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02975d800012d19028007213fe80046008f2c..."} 
[2026-08-22 18:05:57] local.INFO: Processing buffer {"connection_id":161119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02975d800012d19028007213fe80046008f2c..."} 
[2026-08-22 18:05:57] local.INFO: Packet analysis {"connection_id":161119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02975"} 
[2026-08-22 18:05:57] local.INFO: Extracted packet for processing {"connection_id":161119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02975"} 
[2026-08-22 18:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756613760,"raw_latitude":119619560,"longitude_deg":75.661376,"latitude_deg":11.961956,"altitude":70,"angle":143,"satellites":44,"speed":18,"hex_longitude":"2d190280","hex_latitude":"07213fe8","is_valid_coordinates":true} 
[2026-08-22 18:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574906368001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14768640184287232,"note":"Value kept but may cause issues"} 
[2026-08-22 18:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800876931617996800,"note":"Value kept but may cause issues"} 
[2026-08-22 18:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787401984000,"timestamp_ms":1787401984000,"timestamp_seconds":1787401984,"priority":1,"record_length":96,"hex_timestamp":"000001a02975d800"} 
[2026-08-22 18: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-22 18:05:57] 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-22 18: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 18:05:57] 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-22 18: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-22 18: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-22 18:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:05:57] 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-22 18:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574906368001,"66":14113,"103":206,"83":41984,"24":18,"16":14768640184287232,"45":1800876931617996800},"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-22 18:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574906368001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:05:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 18:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14768640184287232,"km_value":14768640184287.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800876931617996800,"description":"Unknown IO ID 45"} 
[2026-08-22 18:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574906368001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1800876931617996800}} 
[2026-08-22 18:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":161119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:05:57] local.INFO: GPS data processed {"connection_id":161119,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:05:57] local.INFO: Acknowledgment sent {"connection_id":161119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:06:24] local.INFO: TCP Data received {"connection_id":160188,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029779550012d7e928005af77200009000425..."} 
[2026-08-22 18:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029779550012d7e928005af77200009000425..."} 
[2026-08-22 18:06:24] local.INFO: Processing buffer {"connection_id":160188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029779550012d7e928005af77200009000425..."} 
[2026-08-22 18:06:24] local.INFO: Packet analysis {"connection_id":160188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02977"} 
[2026-08-22 18:06:24] local.INFO: Extracted packet for processing {"connection_id":160188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02977"} 
[2026-08-22 18:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763269760,"raw_latitude":95385376,"longitude_deg":76.326976,"latitude_deg":9.5385376,"altitude":9,"angle":4,"satellites":37,"speed":7,"hex_longitude":"2d7e9280","hex_latitude":"05af7720","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574936832001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388932193713389568,"note":"Value kept but may cause issues"} 
[2026-08-22 18:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120633694773999616,"note":"Value kept but may cause issues"} 
[2026-08-22 18:06:24] 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-22 18:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787402098000,"timestamp_ms":1787402098000,"timestamp_seconds":1787402098,"priority":1,"record_length":96,"hex_timestamp":"000001a029779550"} 
[2026-08-22 18: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-22 18:06: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-22 18: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":152,"data_length":795,"current_offset":136} 
[2026-08-22 18:06: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-22 18: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-22 18: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-22 18:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574936832001,"66":27800,"27":206,"85":12544,"24":7,"16":388932193713389568,"45":9120633694773999616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-22 18:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574936832001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:06:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-22 18:06:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388932193713389568,"km_value":388932193713389.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120633694773999616,"description":"Unknown IO ID 45"} 
[2026-08-22 18:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574936832001,"power":27800,"unknown_27":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9120633694773999616}} 
[2026-08-22 18:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":160188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:06:24] local.INFO: GPS data processed {"connection_id":160188,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:06:24] local.INFO: Acknowledgment sent {"connection_id":160188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:06:28] local.INFO: TCP Data received {"connection_id":161119,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02975dfd0012d19054007213d800047007c2c..."} 
[2026-08-22 18:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02975dfd0012d19054007213d800047007c2c..."} 
[2026-08-22 18:06:28] local.INFO: Processing buffer {"connection_id":161119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02975dfd0012d19054007213d800047007c2c..."} 
[2026-08-22 18:06:28] local.INFO: Packet analysis {"connection_id":161119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02975"} 
[2026-08-22 18:06:28] local.INFO: Extracted packet for processing {"connection_id":161119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02975"} 
[2026-08-22 18:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756614464,"raw_latitude":119618944,"longitude_deg":75.6614464,"latitude_deg":11.9618944,"altitude":71,"angle":124,"satellites":44,"speed":17,"hex_longitude":"2d190540","hex_latitude":"07213d80","is_valid_coordinates":true} 
[2026-08-22 18:06: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-22 18:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574907904001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14768687428927488,"note":"Value kept but may cause issues"} 
[2026-08-22 18:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802143569012582400,"note":"Value kept but may cause issues"} 
[2026-08-22 18:06:28] 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-22 18:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787401986000,"timestamp_ms":1787401986000,"timestamp_seconds":1787401986,"priority":1,"record_length":96,"hex_timestamp":"000001a02975dfd0"} 
[2026-08-22 18:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:06: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":33,"data_length":795,"current_offset":136} 
[2026-08-22 18:06:28] 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-22 18:06: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-22 18:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:06:28] 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-22 18:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574907904001,"66":14102,"103":206,"83":41984,"24":17,"16":14768687428927488,"45":1802143569012582400},"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-22 18:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574907904001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:06:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 18:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14768687428927488,"km_value":14768687428927.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802143569012582400,"description":"Unknown IO ID 45"} 
[2026-08-22 18:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574907904001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1802143569012582400}} 
[2026-08-22 18:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":161119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:06:28] local.INFO: GPS data processed {"connection_id":161119,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:06:28] local.INFO: Acknowledgment sent {"connection_id":161119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:06:48] local.INFO: TCP Data received {"connection_id":161120,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:06:48] local.INFO: Processing buffer {"connection_id":161120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:06:48] local.INFO: IMEI packet received {"connection_id":161120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":161120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:06:50] local.INFO: TCP Data received {"connection_id":161121,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:06:50] local.INFO: Processing buffer {"connection_id":161121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:06:50] local.INFO: IMEI packet received {"connection_id":161121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":161121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:06:53] local.INFO: TCP Data received {"connection_id":161121,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:06:53] local.INFO: Processing buffer {"connection_id":161121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:06:53] local.INFO: IMEI packet received {"connection_id":161121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":161121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:06:53] local.INFO: TCP Data received {"connection_id":161121,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:06:53] local.INFO: Processing buffer {"connection_id":161121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:06:53] local.INFO: IMEI packet received {"connection_id":161121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":161121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:06:53] local.INFO: TCP Data received {"connection_id":161120,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:06:53] local.INFO: Processing buffer {"connection_id":161120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:06:53] local.INFO: IMEI packet received {"connection_id":161120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":161120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:06:54] local.INFO: TCP Data received {"connection_id":161120,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02977d3d0012d7e93c005af9b78000c000226..."} 
[2026-08-22 18:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02977d3d0012d7e93c005af9b78000c000226..."} 
[2026-08-22 18:06:54] local.INFO: Processing buffer {"connection_id":161120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02977d3d0012d7e93c005af9b78000c000226..."} 
[2026-08-22 18:06:54] local.INFO: Packet analysis {"connection_id":161120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02977"} 
[2026-08-22 18:06:54] local.INFO: Extracted packet for processing {"connection_id":161120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02977"} 
[2026-08-22 18:06:54] local.INFO: GPS Element Parsed {"raw_longitude":763270080,"raw_latitude":95394680,"longitude_deg":76.327008,"latitude_deg":9.539468,"altitude":12,"angle":2,"satellites":38,"speed":33,"hex_longitude":"2d7e93c0","hex_latitude":"05af9b78","is_valid_coordinates":true} 
[2026-08-22 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-22 18:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574937088001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388932644684955648,"note":"Value kept but may cause issues"} 
[2026-08-22 18:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120492957285687296,"note":"Value kept but may cause issues"} 
[2026-08-22 18:06: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-22 18:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787402114000,"timestamp_ms":1787402114000,"timestamp_seconds":1787402114,"priority":1,"record_length":96,"hex_timestamp":"000001a02977d3d0"} 
[2026-08-22 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-22 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-22 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":152,"data_length":795,"current_offset":136} 
[2026-08-22 18:06: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-22 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-22 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-22 18:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574937088001,"66":27767,"250":206,"85":12544,"24":33,"16":388932644684955648,"45":9120492957285687296},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 18:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574937088001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:06:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 18:06:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388932644684955648,"km_value":388932644684955.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120492957285687296,"description":"Unknown IO ID 45"} 
[2026-08-22 18:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574937088001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9120492957285687296}} 
[2026-08-22 18:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":161120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:06:54] local.INFO: GPS data processed {"connection_id":161120,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:06:54] local.INFO: Acknowledgment sent {"connection_id":161120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:06:57] local.INFO: TCP Data received {"connection_id":161121,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:06:57] local.INFO: Processing buffer {"connection_id":161121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:06:57] local.INFO: IMEI packet received {"connection_id":161121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":161121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:06:58] local.INFO: TCP Data received {"connection_id":161121,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029786070012d19138007213cd0004200c121..."} 
[2026-08-22 18:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029786070012d19138007213cd0004200c121..."} 
[2026-08-22 18:06:58] local.INFO: Processing buffer {"connection_id":161121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029786070012d19138007213cd0004200c121..."} 
[2026-08-22 18:06:58] local.INFO: Packet analysis {"connection_id":161121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02978"} 
[2026-08-22 18:06:58] local.INFO: Extracted packet for processing {"connection_id":161121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02978"} 
[2026-08-22 18:06:58] local.INFO: GPS Element Parsed {"raw_longitude":756618112,"raw_latitude":119618768,"longitude_deg":75.6618112,"latitude_deg":11.9618768,"altitude":66,"angle":193,"satellites":33,"speed":2,"hex_longitude":"2d191380","hex_latitude":"07213cd0","is_valid_coordinates":true} 
[2026-08-22 18:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574947584001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14768876407488512,"note":"Value kept but may cause issues"} 
[2026-08-22 18:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806506431151439872,"note":"Value kept but may cause issues"} 
[2026-08-22 18:06: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-22 18:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787402150000,"timestamp_ms":1787402150000,"timestamp_seconds":1787402150,"priority":1,"record_length":96,"hex_timestamp":"000001a029786070"} 
[2026-08-22 18:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 18:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:06: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-22 18:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574947584001,"66":14613,"103":206,"83":41984,"24":2,"16":14768876407488512,"45":1806506431151439872},"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-22 18:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574947584001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:06:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 18:06:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14768876407488512,"km_value":14768876407488.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806506431151439872,"description":"Unknown IO ID 45"} 
[2026-08-22 18:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574947584001,"power":14613,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1806506431151439872}} 
[2026-08-22 18:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":161121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:06:58] local.INFO: GPS data processed {"connection_id":161121,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:06:58] local.INFO: Acknowledgment sent {"connection_id":161121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:07:25] local.INFO: TCP Data received {"connection_id":161120,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02977f310012d7e944005afaf400010015e29..."} 
[2026-08-22 18:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02977f310012d7e944005afaf400010015e29..."} 
[2026-08-22 18:07:25] local.INFO: Processing buffer {"connection_id":161120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02977f310012d7e944005afaf400010015e29..."} 
[2026-08-22 18:07:25] local.INFO: Packet analysis {"connection_id":161120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02977"} 
[2026-08-22 18:07:25] local.INFO: Extracted packet for processing {"connection_id":161120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02977"} 
[2026-08-22 18:07:25] local.INFO: GPS Element Parsed {"raw_longitude":763270208,"raw_latitude":95399744,"longitude_deg":76.3270208,"latitude_deg":9.5399744,"altitude":16,"angle":350,"satellites":41,"speed":19,"hex_longitude":"2d7e9440","hex_latitude":"05afaf40","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574941184001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388932893793058816,"note":"Value kept but may cause issues"} 
[2026-08-22 18:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120844801008957440,"note":"Value kept but may cause issues"} 
[2026-08-22 18:07: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-22 18:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787402122000,"timestamp_ms":1787402122000,"timestamp_seconds":1787402122,"priority":1,"record_length":96,"hex_timestamp":"000001a02977f310"} 
[2026-08-22 18: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-22 18:07: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-22 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 18:07: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-22 18: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-22 18: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-22 18:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574941184001,"66":27745,"250":206,"85":12544,"24":19,"16":388932893793058816,"45":9120844801008957440},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 18:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574941184001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:07:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 18:07:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388932893793058816,"km_value":388932893793058.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120844801008957440,"description":"Unknown IO ID 45"} 
[2026-08-22 18:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574941184001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":19,"odometer":null,"unknown_45":9120844801008957440}} 
[2026-08-22 18:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":161120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:07:25] local.INFO: GPS data processed {"connection_id":161120,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:07:25] local.INFO: Acknowledgment sent {"connection_id":161120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:07:29] local.INFO: TCP Data received {"connection_id":161121,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02978e928012d18fd8007214a680045011026..."} 
[2026-08-22 18:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02978e928012d18fd8007214a680045011026..."} 
[2026-08-22 18:07:29] local.INFO: Processing buffer {"connection_id":161121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02978e928012d18fd8007214a680045011026..."} 
[2026-08-22 18:07:29] local.INFO: Packet analysis {"connection_id":161121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02978"} 
[2026-08-22 18:07:29] local.INFO: Extracted packet for processing {"connection_id":161121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02978"} 
[2026-08-22 18:07:29] local.INFO: GPS Element Parsed {"raw_longitude":756612480,"raw_latitude":119622248,"longitude_deg":75.661248,"latitude_deg":11.9622248,"altitude":69,"angle":272,"satellites":38,"speed":7,"hex_longitude":"2d18fd80","hex_latitude":"07214a68","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574959104001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14769258659577856,"note":"Value kept but may cause issues"} 
[2026-08-22 18:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800876931618068480,"note":"Value kept but may cause issues"} 
[2026-08-22 18:07:29] 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-22 18:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787402185000,"timestamp_ms":1787402185000,"timestamp_seconds":1787402185,"priority":1,"record_length":96,"hex_timestamp":"000001a02978e928"} 
[2026-08-22 18: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-22 18:07: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-22 18: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 18:07: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-22 18: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-22 18: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-22 18:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:07:29] 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-22 18:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574959104001,"66":14483,"103":206,"83":41984,"24":7,"16":14769258659577856,"45":1800876931618068480},"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-22 18:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574959104001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:07:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 18:07:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14769258659577856,"km_value":14769258659577.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800876931618068480,"description":"Unknown IO ID 45"} 
[2026-08-22 18:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574959104001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1800876931618068480}} 
[2026-08-22 18:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":161121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:07:29] local.INFO: GPS data processed {"connection_id":161121,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:07:29] local.INFO: Acknowledgment sent {"connection_id":161121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:07:51] local.INFO: TCP Data received {"connection_id":162539,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:07:51] local.INFO: Processing buffer {"connection_id":162539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:07:51] local.INFO: IMEI packet received {"connection_id":162539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":162539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:07:52] local.INFO: TCP Data received {"connection_id":162539,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:07:52] local.INFO: Processing buffer {"connection_id":162539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:07:52] local.INFO: IMEI packet received {"connection_id":162539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":162539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:07:52] local.INFO: TCP Data received {"connection_id":162539,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:07:52] local.INFO: Processing buffer {"connection_id":162539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:07:52] local.INFO: IMEI packet received {"connection_id":162539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":162539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:07:53] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:07:53] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:07:53] local.INFO: IMEI packet received {"connection_id":160189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":160189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:07:53] local.INFO: TCP Data received {"connection_id":162539,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:07:53] local.INFO: Processing buffer {"connection_id":162539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:07:53] local.INFO: IMEI packet received {"connection_id":162539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":162539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:07:53] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:07:53] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:07:53] local.INFO: IMEI packet received {"connection_id":160189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":160189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:08:00] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:08:00] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:08:00] local.INFO: IMEI packet received {"connection_id":160189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":160189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:08:01] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02977f6f8012d7e944005afb1100010000124..."} 
[2026-08-22 18:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02977f6f8012d7e944005afb1100010000124..."} 
[2026-08-22 18:08:01] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02977f6f8012d7e944005afb1100010000124..."} 
[2026-08-22 18:08:01] local.INFO: Packet analysis {"connection_id":160189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02977"} 
[2026-08-22 18:08:01] local.INFO: Extracted packet for processing {"connection_id":160189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02977"} 
[2026-08-22 18:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763270208,"raw_latitude":95400208,"longitude_deg":76.3270208,"latitude_deg":9.5400208,"altitude":16,"angle":1,"satellites":36,"speed":19,"hex_longitude":"2d7e9440","hex_latitude":"05afb110","is_valid_coordinates":true} 
[2026-08-22 18:08: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-22 18:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574943232001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388932915267895296,"note":"Value kept but may cause issues"} 
[2026-08-22 18:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120985538498609152,"note":"Value kept but may cause issues"} 
[2026-08-22 18:08: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-22 18:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787402123000,"timestamp_ms":1787402123000,"timestamp_seconds":1787402123,"priority":1,"record_length":96,"hex_timestamp":"000001a02977f6f8"} 
[2026-08-22 18:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:08: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-22 18:08: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":97,"data_length":795,"current_offset":136} 
[2026-08-22 18:08:01] 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-22 18:08: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-22 18:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574943232001,"66":27800,"250":206,"85":12544,"24":19,"16":388932915267895296,"45":9120985538498609152},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 18:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574943232001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:08:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 18:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388932915267895296,"km_value":388932915267895.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120985538498609152,"description":"Unknown IO ID 45"} 
[2026-08-22 18:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574943232001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":19,"odometer":null,"unknown_45":9120985538498609152}} 
[2026-08-22 18:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":160189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:08:01] local.INFO: GPS data processed {"connection_id":160189,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:08:01] local.INFO: Acknowledgment sent {"connection_id":160189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:08:02] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297829c0012d7e96c005afd5d0000d000226..."} 
[2026-08-22 18:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297829c0012d7e96c005afd5d0000d000226..."} 
[2026-08-22 18:08:02] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297829c0012d7e96c005afd5d0000d000226..."} 
[2026-08-22 18:08:02] local.INFO: Packet analysis {"connection_id":160189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02978"} 
[2026-08-22 18:08:02] local.INFO: Extracted packet for processing {"connection_id":160189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02978"} 
[2026-08-22 18:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763270848,"raw_latitude":95409616,"longitude_deg":76.3270848,"latitude_deg":9.5409616,"altitude":13,"angle":2,"satellites":38,"speed":39,"hex_longitude":"2d7e96c0","hex_latitude":"05afd5d0","is_valid_coordinates":true} 
[2026-08-22 18:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574943488001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388933370534428672,"note":"Value kept but may cause issues"} 
[2026-08-22 18:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120985538498727936,"note":"Value kept but may cause issues"} 
[2026-08-22 18:08:02] 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-22 18:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787402136000,"timestamp_ms":1787402136000,"timestamp_seconds":1787402136,"priority":1,"record_length":96,"hex_timestamp":"000001a0297829c0"} 
[2026-08-22 18:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:08: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-22 18:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 18:08: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-22 18:08: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-22 18:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574943488001,"66":27713,"250":206,"85":12544,"24":39,"16":388933370534428672,"45":9120985538498727936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-22 18:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574943488001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:08:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 18:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388933370534428672,"km_value":388933370534428.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120985538498727936,"description":"Unknown IO ID 45"} 
[2026-08-22 18:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574943488001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":9120985538498727936}} 
[2026-08-22 18:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":160189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:08:02] local.INFO: GPS data processed {"connection_id":160189,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:08:02] local.INFO: Acknowledgment sent {"connection_id":160189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:08:34] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02979f2c8012d7ea58005b17e00001300042d..."} 
[2026-08-22 18:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02979f2c8012d7ea58005b17e00001300042d..."} 
[2026-08-22 18:08:34] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02979f2c8012d7ea58005b17e00001300042d..."} 
[2026-08-22 18:08:34] local.INFO: Packet analysis {"connection_id":160189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02979"} 
[2026-08-22 18:08:34] local.INFO: Extracted packet for processing {"connection_id":160189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02979"} 
[2026-08-22 18:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763274624,"raw_latitude":95518208,"longitude_deg":76.3274624,"latitude_deg":9.5518208,"altitude":19,"angle":4,"satellites":45,"speed":36,"hex_longitude":"2d7ea580","hex_latitude":"05b17e00","is_valid_coordinates":true} 
[2026-08-22 18:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574974208001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388938644754268160,"note":"Value kept but may cause issues"} 
[2026-08-22 18:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125207663177232384,"note":"Value kept but may cause issues"} 
[2026-08-22 18:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787402253000,"timestamp_ms":1787402253000,"timestamp_seconds":1787402253,"priority":1,"record_length":96,"hex_timestamp":"000001a02979f2c8"} 
[2026-08-22 18:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:08: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-22 18:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 18:08:34] 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-22 18:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574974208001,"66":27821,"93":206,"85":12544,"24":36,"16":388938644754268160,"45":9125207663177232384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-08-22 18:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574974208001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:08:34] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-22 18:08:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388938644754268160,"km_value":388938644754268.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125207663177232384,"description":"Unknown IO ID 45"} 
[2026-08-22 18:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574974208001,"power":27821,"unknown_93":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9125207663177232384}} 
[2026-08-22 18:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":160189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:08:34] local.INFO: GPS data processed {"connection_id":160189,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:08:34] local.INFO: Acknowledgment sent {"connection_id":160189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:08:45] local.INFO: TCP Data received {"connection_id":162540,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:08:45] local.INFO: Processing buffer {"connection_id":162540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:08:45] local.INFO: IMEI packet received {"connection_id":162540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":162540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:08:54] local.INFO: TCP Data received {"connection_id":162540,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:08:54] local.INFO: Processing buffer {"connection_id":162540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:08:54] local.INFO: IMEI packet received {"connection_id":162540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":162540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:08:54] local.INFO: TCP Data received {"connection_id":162540,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:08:54] local.INFO: Processing buffer {"connection_id":162540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:08:54] local.INFO: IMEI packet received {"connection_id":162540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":162540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:08:55] local.INFO: TCP Data received {"connection_id":162540,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297a19d8012d7ea8c005b1a170001300042d..."} 
[2026-08-22 18:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297a19d8012d7ea8c005b1a170001300042d..."} 
[2026-08-22 18:08:55] local.INFO: Processing buffer {"connection_id":162540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297a19d8012d7ea8c005b1a170001300042d..."} 
[2026-08-22 18:08:55] local.INFO: Packet analysis {"connection_id":162540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297a"} 
[2026-08-22 18:08:55] local.INFO: Extracted packet for processing {"connection_id":162540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297a"} 
[2026-08-22 18:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763275456,"raw_latitude":95527280,"longitude_deg":76.3275456,"latitude_deg":9.552728,"altitude":19,"angle":4,"satellites":45,"speed":38,"hex_longitude":"2d7ea8c0","hex_latitude":"05b1a170","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574976768001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388939087135899648,"note":"Value kept but may cause issues"} 
[2026-08-22 18:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125840981877194752,"note":"Value kept but may cause issues"} 
[2026-08-22 18:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787402263000,"timestamp_ms":1787402263000,"timestamp_seconds":1787402263,"priority":1,"record_length":96,"hex_timestamp":"000001a0297a19d8"} 
[2026-08-22 18: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-22 18:08: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-22 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 18:08: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-22 18: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-22 18: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-22 18:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574976768001,"66":27713,"93":206,"85":12544,"24":38,"16":388939087135899648,"45":9125840981877194752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-08-22 18:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574976768001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:08:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-22 18:08:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388939087135899648,"km_value":388939087135899.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125840981877194752,"description":"Unknown IO ID 45"} 
[2026-08-22 18:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574976768001,"power":27713,"unknown_93":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9125840981877194752}} 
[2026-08-22 18:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":162540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:08:55] local.INFO: GPS data processed {"connection_id":162540,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:08:55] local.INFO: Acknowledgment sent {"connection_id":162540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:08:56] local.INFO: TCP Data received {"connection_id":162540,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297a3d00012d7eac4005b1c6f8001100062d..."} 
[2026-08-22 18:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297a3d00012d7eac4005b1c6f8001100062d..."} 
[2026-08-22 18:08:56] local.INFO: Processing buffer {"connection_id":162540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297a3d00012d7eac4005b1c6f8001100062d..."} 
[2026-08-22 18:08:56] local.INFO: Packet analysis {"connection_id":162540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297a"} 
[2026-08-22 18:08:56] local.INFO: Extracted packet for processing {"connection_id":162540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297a"} 
[2026-08-22 18:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763276352,"raw_latitude":95536888,"longitude_deg":76.3276352,"latitude_deg":9.5536888,"altitude":17,"angle":6,"satellites":45,"speed":47,"hex_longitude":"2d7eac40","hex_latitude":"05b1c6f8","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574979328001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388939555287334912,"note":"Value kept but may cause issues"} 
[2026-08-22 18:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126755775553826816,"note":"Value kept but may cause issues"} 
[2026-08-22 18:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787402272000,"timestamp_ms":1787402272000,"timestamp_seconds":1787402272,"priority":1,"record_length":96,"hex_timestamp":"000001a0297a3d00"} 
[2026-08-22 18: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-22 18: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-22 18: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":65,"data_length":795,"current_offset":136} 
[2026-08-22 18:08:56] 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-22 18: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-22 18: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-22 18:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574979328001,"66":27821,"93":206,"85":12544,"24":47,"16":388939555287334912,"45":9126755775553826816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-08-22 18:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574979328001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:08:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-22 18:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388939555287334912,"km_value":388939555287334.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126755775553826816,"description":"Unknown IO ID 45"} 
[2026-08-22 18:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574979328001,"power":27821,"unknown_93":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9126755775553826816}} 
[2026-08-22 18:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":162540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:08:56] local.INFO: GPS data processed {"connection_id":162540,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:08:56] local.INFO: Acknowledgment sent {"connection_id":162540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:09:27] local.INFO: TCP Data received {"connection_id":162540,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297a5c40012d7eb04005b1ee90000f00052a..."} 
[2026-08-22 18:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297a5c40012d7eb04005b1ee90000f00052a..."} 
[2026-08-22 18:09:27] local.INFO: Processing buffer {"connection_id":162540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297a5c40012d7eb04005b1ee90000f00052a..."} 
[2026-08-22 18:09:27] local.INFO: Packet analysis {"connection_id":162540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297a"} 
[2026-08-22 18:09:27] local.INFO: Extracted packet for processing {"connection_id":162540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297a"} 
[2026-08-22 18:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763277376,"raw_latitude":95547024,"longitude_deg":76.3277376,"latitude_deg":9.5547024,"altitude":15,"angle":5,"satellites":42,"speed":53,"hex_longitude":"2d7eb040","hex_latitude":"05b1ee90","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574981632001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388940049208573952,"note":"Value kept but may cause issues"} 
[2026-08-22 18:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127740937974773760,"note":"Value kept but may cause issues"} 
[2026-08-22 18:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787402280000,"timestamp_ms":1787402280000,"timestamp_seconds":1787402280,"priority":1,"record_length":96,"hex_timestamp":"000001a0297a5c40"} 
[2026-08-22 18: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-22 18: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-22 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 18:09: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-22 18: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-22 18: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-22 18:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574981632001,"66":27800,"93":206,"85":12544,"24":53,"16":388940049208573952,"45":9127740937974773760},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-08-22 18:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574981632001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:09:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-22 18:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388940049208573952,"km_value":388940049208573.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127740937974773760,"description":"Unknown IO ID 45"} 
[2026-08-22 18:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574981632001,"power":27800,"unknown_93":206,"unknown_85":12544,"ignition":53,"odometer":null,"unknown_45":9127740937974773760}} 
[2026-08-22 18:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":162540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:09:27] local.INFO: GPS data processed {"connection_id":162540,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:09:27] local.INFO: Acknowledgment sent {"connection_id":162540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:09:53] local.INFO: TCP Data received {"connection_id":161122,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:09:53] local.INFO: Processing buffer {"connection_id":161122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:09:53] local.INFO: IMEI packet received {"connection_id":161122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":161122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:09:54] local.INFO: TCP Data received {"connection_id":161122,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:09:54] local.INFO: Processing buffer {"connection_id":161122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:09:54] local.INFO: IMEI packet received {"connection_id":161122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":161122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:09:58] local.INFO: TCP Data received {"connection_id":161122,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:09:58] local.INFO: Processing buffer {"connection_id":161122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:09:58] local.INFO: IMEI packet received {"connection_id":161122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":161122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:10:10] local.INFO: TCP Data received {"connection_id":161122,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297a7798012d7eb44005b212f0000f00052b..."} 
[2026-08-22 18:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297a7798012d7eb44005b212f0000f00052b..."} 
[2026-08-22 18:10:10] local.INFO: Processing buffer {"connection_id":161122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297a7798012d7eb44005b212f0000f00052b..."} 
[2026-08-22 18:10:10] local.INFO: Packet analysis {"connection_id":161122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297a"} 
[2026-08-22 18:10:10] local.INFO: Extracted packet for processing {"connection_id":161122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297a"} 
[2026-08-22 18:10:10] local.INFO: GPS Element Parsed {"raw_longitude":763278400,"raw_latitude":95556336,"longitude_deg":76.32784,"latitude_deg":9.5556336,"altitude":15,"angle":5,"satellites":43,"speed":53,"hex_longitude":"2d7eb440","hex_latitude":"05b212f0","is_valid_coordinates":true} 
[2026-08-22 18:10: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-22 18:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457574983680001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388940500180140032,"note":"Value kept but may cause issues"} 
[2026-08-22 18:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128866837884211200,"note":"Value kept but may cause issues"} 
[2026-08-22 18:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787402287000,"timestamp_ms":1787402287000,"timestamp_seconds":1787402287,"priority":1,"record_length":96,"hex_timestamp":"000001a0297a7798"} 
[2026-08-22 18:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:10: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-22 18:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 18:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18:10: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-22 18:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457574983680001,"66":27767,"93":206,"85":12544,"24":53,"16":388940500180140032,"45":9128866837884211200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-08-22 18:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457574983680001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:10:10] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-22 18:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388940500180140032,"km_value":388940500180140.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128866837884211200,"description":"Unknown IO ID 45"} 
[2026-08-22 18:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457574983680001,"power":27767,"unknown_93":206,"unknown_85":12544,"ignition":53,"odometer":null,"unknown_45":9128866837884211200}} 
[2026-08-22 18:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":161122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:10:10] local.INFO: GPS data processed {"connection_id":161122,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:10:10] local.INFO: Acknowledgment sent {"connection_id":161122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:10:48] local.INFO: TCP Data received {"connection_id":162542,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:10:48] local.INFO: Processing buffer {"connection_id":162542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:10:48] local.INFO: IMEI packet received {"connection_id":162542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":162542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:10:49] local.INFO: TCP Data received {"connection_id":162542,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:10:49] local.INFO: Processing buffer {"connection_id":162542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:10:49] local.INFO: IMEI packet received {"connection_id":162542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":162542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:10:53] local.INFO: TCP Data received {"connection_id":162542,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:10:53] local.INFO: Processing buffer {"connection_id":162542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:10:53] local.INFO: IMEI packet received {"connection_id":162542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":162542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:10:54] local.INFO: TCP Data received {"connection_id":162542,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297bd340012d7eb20005b3f518001001662c..."} 
[2026-08-22 18:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297bd340012d7eb20005b3f518001001662c..."} 
[2026-08-22 18:10:54] local.INFO: Processing buffer {"connection_id":162542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297bd340012d7eb20005b3f518001001662c..."} 
[2026-08-22 18:10:54] local.INFO: Packet analysis {"connection_id":162542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297b"} 
[2026-08-22 18:10:54] local.INFO: Extracted packet for processing {"connection_id":162542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297b"} 
[2026-08-22 18:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763277824,"raw_latitude":95679768,"longitude_deg":76.3277824,"latitude_deg":9.5679768,"altitude":16,"angle":358,"satellites":44,"speed":57,"hex_longitude":"2d7eb200","hex_latitude":"05b3f518","is_valid_coordinates":true} 
[2026-08-22 18:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575006464001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388946491659517952,"note":"Value kept but may cause issues"} 
[2026-08-22 18:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129570525357373440,"note":"Value kept but may cause issues"} 
[2026-08-22 18:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787402376000,"timestamp_ms":1787402376000,"timestamp_seconds":1787402376,"priority":1,"record_length":96,"hex_timestamp":"000001a0297bd340"} 
[2026-08-22 18:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:10: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-22 18:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-22 18:10:54] 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-22 18:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575006464001,"66":27767,"59":206,"85":12544,"24":57,"16":388946491659517952,"45":9129570525357373440},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-22 18:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575006464001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:10:54] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-22 18:10:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388946491659517952,"km_value":388946491659517.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129570525357373440,"description":"Unknown IO ID 45"} 
[2026-08-22 18:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575006464001,"power":27767,"unknown_59":206,"unknown_85":12544,"ignition":57,"odometer":null,"unknown_45":9129570525357373440}} 
[2026-08-22 18:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":162542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:10:54] local.INFO: GPS data processed {"connection_id":162542,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:10:54] local.INFO: Acknowledgment sent {"connection_id":162542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:11:26] local.INFO: TCP Data received {"connection_id":162542,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297bee98012d7eb0c005b41c18001101662b..."} 
[2026-08-22 18:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297bee98012d7eb0c005b41c18001101662b..."} 
[2026-08-22 18:11:26] local.INFO: Processing buffer {"connection_id":162542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297bee98012d7eb0c005b41c18001101662b..."} 
[2026-08-22 18:11:26] local.INFO: Packet analysis {"connection_id":162542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297b"} 
[2026-08-22 18:11:26] local.INFO: Extracted packet for processing {"connection_id":162542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297b"} 
[2026-08-22 18:11:26] local.INFO: GPS Element Parsed {"raw_longitude":763277504,"raw_latitude":95689752,"longitude_deg":76.3277504,"latitude_deg":9.5689752,"altitude":17,"angle":358,"satellites":43,"speed":56,"hex_longitude":"2d7eb0c0","hex_latitude":"05b41c18","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575008256001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388946976990822400,"note":"Value kept but may cause issues"} 
[2026-08-22 18:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129359419127437312,"note":"Value kept but may cause issues"} 
[2026-08-22 18:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787402383000,"timestamp_ms":1787402383000,"timestamp_seconds":1787402383,"priority":1,"record_length":96,"hex_timestamp":"000001a0297bee98"} 
[2026-08-22 18: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-22 18: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-22 18: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-22 18: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-22 18: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-22 18: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-22 18:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575008256001,"66":27832,"59":206,"85":12544,"24":56,"16":388946976990822400,"45":9129359419127437312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-22 18:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575008256001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:11:26] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-22 18:11:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388946976990822400,"km_value":388946976990822.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129359419127437312,"description":"Unknown IO ID 45"} 
[2026-08-22 18:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575008256001,"power":27832,"unknown_59":206,"unknown_85":12544,"ignition":56,"odometer":null,"unknown_45":9129359419127437312}} 
[2026-08-22 18:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":162542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:11:26] local.INFO: GPS data processed {"connection_id":162542,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:11:26] local.INFO: Acknowledgment sent {"connection_id":162542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:11:53] local.INFO: TCP Data received {"connection_id":159957,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:11:53] local.INFO: Processing buffer {"connection_id":159957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:11:53] local.INFO: IMEI packet received {"connection_id":159957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":159957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:11:56] local.INFO: TCP Data received {"connection_id":159957,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:11:56] local.INFO: Processing buffer {"connection_id":159957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:11:56] local.INFO: IMEI packet received {"connection_id":159957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":159957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:11:57] local.INFO: TCP Data received {"connection_id":159957,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297c09f0012d7eaf4005b44198001301652d..."} 
[2026-08-22 18:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297c09f0012d7eaf4005b44198001301652d..."} 
[2026-08-22 18:11:57] local.INFO: Processing buffer {"connection_id":159957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297c09f0012d7eaf4005b44198001301652d..."} 
[2026-08-22 18:11:57] local.INFO: Packet analysis {"connection_id":159957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297c"} 
[2026-08-22 18:11:57] local.INFO: Extracted packet for processing {"connection_id":159957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297c"} 
[2026-08-22 18:11:57] local.INFO: GPS Element Parsed {"raw_longitude":763277120,"raw_latitude":95699352,"longitude_deg":76.327712,"latitude_deg":9.5699352,"altitude":19,"angle":357,"satellites":45,"speed":53,"hex_longitude":"2d7eaf40","hex_latitude":"05b44198","is_valid_coordinates":true} 
[2026-08-22 18:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575010048001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388947440847290368,"note":"Value kept but may cause issues"} 
[2026-08-22 18:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575409104896,"note":"Value kept but may cause issues"} 
[2026-08-22 18:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787402390000,"timestamp_ms":1787402390000,"timestamp_seconds":1787402390,"priority":1,"record_length":96,"hex_timestamp":"000001a0297c09f0"} 
[2026-08-22 18:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:11: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-22 18:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-22 18:11: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-22 18:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575010048001,"66":27821,"59":206,"85":12544,"24":53,"16":388947440847290368,"45":9129007575409104896},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-22 18:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575010048001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:11:57] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-22 18:11:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388947440847290368,"km_value":388947440847290.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575409104896,"description":"Unknown IO ID 45"} 
[2026-08-22 18:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575010048001,"power":27821,"unknown_59":206,"unknown_85":12544,"ignition":53,"odometer":null,"unknown_45":9129007575409104896}} 
[2026-08-22 18:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":159957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:11:57] local.INFO: GPS data processed {"connection_id":159957,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:11:57] local.INFO: Acknowledgment sent {"connection_id":159957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:11:58] local.INFO: TCP Data received {"connection_id":159957,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297c2548012d7ead4005b46600001301642d..."} 
[2026-08-22 18:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297c2548012d7ead4005b46600001301642d..."} 
[2026-08-22 18:11:58] local.INFO: Processing buffer {"connection_id":159957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297c2548012d7ead4005b46600001301642d..."} 
[2026-08-22 18:11:58] local.INFO: Packet analysis {"connection_id":159957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297c"} 
[2026-08-22 18:11:58] local.INFO: Extracted packet for processing {"connection_id":159957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297c"} 
[2026-08-22 18:11:58] local.INFO: GPS Element Parsed {"raw_longitude":763276608,"raw_latitude":95708672,"longitude_deg":76.3276608,"latitude_deg":9.5708672,"altitude":19,"angle":356,"satellites":45,"speed":52,"hex_longitude":"2d7ead40","hex_latitude":"05b46600","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575011840001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388947896113823744,"note":"Value kept but may cause issues"} 
[2026-08-22 18:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128585362946496512,"note":"Value kept but may cause issues"} 
[2026-08-22 18:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787402397000,"timestamp_ms":1787402397000,"timestamp_seconds":1787402397,"priority":1,"record_length":96,"hex_timestamp":"000001a0297c2548"} 
[2026-08-22 18: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-22 18: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-22 18: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":173,"data_length":795,"current_offset":136} 
[2026-08-22 18:11:58] 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-22 18: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-22 18: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-22 18:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575011840001,"66":27767,"59":206,"85":12544,"24":52,"16":388947896113823744,"45":9128585362946496512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-22 18:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575011840001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:11:58] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-22 18:11:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388947896113823744,"km_value":388947896113823.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128585362946496512,"description":"Unknown IO ID 45"} 
[2026-08-22 18:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575011840001,"power":27767,"unknown_59":206,"unknown_85":12544,"ignition":52,"odometer":null,"unknown_45":9128585362946496512}} 
[2026-08-22 18:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":159957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:11:58] local.INFO: GPS data processed {"connection_id":159957,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:11:58] local.INFO: Acknowledgment sent {"connection_id":159957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:12:29] local.INFO: TCP Data received {"connection_id":159957,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297d7538012d7ead0005b5ebf0000e015c2c..."} 
[2026-08-22 18:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297d7538012d7ead0005b5ebf0000e015c2c..."} 
[2026-08-22 18:12:29] local.INFO: Processing buffer {"connection_id":159957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297d7538012d7ead0005b5ebf0000e015c2c..."} 
[2026-08-22 18:12:29] local.INFO: Packet analysis {"connection_id":159957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297d"} 
[2026-08-22 18:12:29] local.INFO: Extracted packet for processing {"connection_id":159957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297d"} 
[2026-08-22 18:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763276544,"raw_latitude":95808496,"longitude_deg":76.3276544,"latitude_deg":9.5808496,"altitude":14,"angle":348,"satellites":44,"speed":27,"hex_longitude":"2d7ead00","hex_latitude":"05b5ebf0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575034112001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388952745131900928,"note":"Value kept but may cause issues"} 
[2026-08-22 18:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128163150508154880,"note":"Value kept but may cause issues"} 
[2026-08-22 18:12: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-22 18:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787402483000,"timestamp_ms":1787402483000,"timestamp_seconds":1787402483,"priority":1,"record_length":96,"hex_timestamp":"000001a0297d7538"} 
[2026-08-22 18: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-22 18:12: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-22 18: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-22 18:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18: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-22 18: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-22 18:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575034112001,"66":27767,"122":206,"85":12544,"24":27,"16":388952745131900928,"45":9128163150508154880},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-22 18:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575034112001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:12:29] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-22 18:12:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388952745131900928,"km_value":388952745131900.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128163150508154880,"description":"Unknown IO ID 45"} 
[2026-08-22 18:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575034112001,"power":27767,"unknown_122":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9128163150508154880}} 
[2026-08-22 18:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":159957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:12:29] local.INFO: GPS data processed {"connection_id":159957,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:12:29] local.INFO: Acknowledgment sent {"connection_id":159957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:12:53] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:12:53] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:12:53] local.INFO: IMEI packet received {"connection_id":160190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":160190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:12:54] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:12:54] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:12:54] local.INFO: IMEI packet received {"connection_id":160190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":160190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:12:55] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297da800012d7ea5c005b60df0000e01662b..."} 
[2026-08-22 18:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297da800012d7ea5c005b60df0000e01662b..."} 
[2026-08-22 18:12:55] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297da800012d7ea5c005b60df0000e01662b..."} 
[2026-08-22 18:12:55] local.INFO: Packet analysis {"connection_id":160190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297d"} 
[2026-08-22 18:12:55] local.INFO: Extracted packet for processing {"connection_id":160190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297d"} 
[2026-08-22 18:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763274688,"raw_latitude":95817200,"longitude_deg":76.3274688,"latitude_deg":9.58172,"altitude":14,"angle":358,"satellites":43,"speed":34,"hex_longitude":"2d7ea5c0","hex_latitude":"05b60df0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575035648001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388953178923597824,"note":"Value kept but may cause issues"} 
[2026-08-22 18:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127952044276838400,"note":"Value kept but may cause issues"} 
[2026-08-22 18:12: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-22 18:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787402496000,"timestamp_ms":1787402496000,"timestamp_seconds":1787402496,"priority":1,"record_length":96,"hex_timestamp":"000001a0297da800"} 
[2026-08-22 18: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-22 18:12: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-22 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 18:12: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-22 18: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-22 18: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-22 18:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575035648001,"66":27865,"122":206,"85":12544,"24":34,"16":388953178923597824,"45":9127952044276838400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-22 18:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575035648001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:12:55] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-22 18:12:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388953178923597824,"km_value":388953178923597.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127952044276838400,"description":"Unknown IO ID 45"} 
[2026-08-22 18:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575035648001,"power":27865,"unknown_122":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9127952044276838400}} 
[2026-08-22 18:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":160190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:12:55] local.INFO: GPS data processed {"connection_id":160190,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:12:55] local.INFO: Acknowledgment sent {"connection_id":160190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:12:56] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297dcf10012d7ea54005b63408000d00012b..."} 
[2026-08-22 18:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297dcf10012d7ea54005b63408000d00012b..."} 
[2026-08-22 18:12:56] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297dcf10012d7ea54005b63408000d00012b..."} 
[2026-08-22 18:12:56] local.INFO: Packet analysis {"connection_id":160190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297d"} 
[2026-08-22 18:12:56] local.INFO: Extracted packet for processing {"connection_id":160190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297d"} 
[2026-08-22 18:12:56] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95826952,"longitude_deg":76.327456,"latitude_deg":9.5826952,"altitude":13,"angle":1,"satellites":43,"speed":41,"hex_longitude":"2d7ea540","hex_latitude":"05b63408","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575038976001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388953651370000384,"note":"Value kept but may cause issues"} 
[2026-08-22 18:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125911350697914368,"note":"Value kept but may cause issues"} 
[2026-08-22 18:12: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-22 18:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787402506000,"timestamp_ms":1787402506000,"timestamp_seconds":1787402506,"priority":1,"record_length":96,"hex_timestamp":"000001a0297dcf10"} 
[2026-08-22 18: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-22 18: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-22 18: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":217,"data_length":795,"current_offset":136} 
[2026-08-22 18:12: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-22 18: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-22 18: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-22 18:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575038976001,"66":27745,"122":206,"85":12544,"24":41,"16":388953651370000384,"45":9125911350697914368},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-22 18:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575038976001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:12:56] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-22 18:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388953651370000384,"km_value":388953651370000.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125911350697914368,"description":"Unknown IO ID 45"} 
[2026-08-22 18:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575038976001,"power":27745,"unknown_122":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9125911350697914368}} 
[2026-08-22 18:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":160190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:12:56] local.INFO: GPS data processed {"connection_id":160190,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:12:56] local.INFO: Acknowledgment sent {"connection_id":160190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:12:57] local.INFO: TCP Data received {"connection_id":162543,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:12:57] local.INFO: Processing buffer {"connection_id":162543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:12:57] local.INFO: IMEI packet received {"connection_id":162543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":162543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:12:57] local.INFO: TCP Data received {"connection_id":162543,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0297d7d08012d181f800721a4b8004d012f22..."} 
[2026-08-22 18:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297d7d08012d181f800721a4b8004d012f22..."} 
[2026-08-22 18:12:57] local.INFO: Processing buffer {"connection_id":162543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297d7d08012d181f800721a4b8004d012f22..."} 
[2026-08-22 18:12:57] local.INFO: Packet analysis {"connection_id":162543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297d"} 
[2026-08-22 18:12:57] local.INFO: Extracted packet for processing {"connection_id":162543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297d"} 
[2026-08-22 18:12:57] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645368,"longitude_deg":75.6555648,"latitude_deg":11.9645368,"altitude":77,"angle":303,"satellites":34,"speed":12,"hex_longitude":"2d181f80","hex_latitude":"0721a4b8","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575034880001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14774704678109184,"note":"Value kept but may cause issues"} 
[2026-08-22 18:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861677471744,"note":"Value kept but may cause issues"} 
[2026-08-22 18:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787402485000,"timestamp_ms":1787402485000,"timestamp_seconds":1787402485,"priority":1,"record_length":96,"hex_timestamp":"000001a0297d7d08"} 
[2026-08-22 18: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-22 18:12:57] 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-22 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 18:12:57] 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-22 18: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-22 18: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-22 18:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:12:57] 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-22 18:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575034880001,"66":14428,"105":206,"83":41984,"24":12,"16":14774704678109184,"45":1739796861677471744},"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-22 18:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575034880001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:12:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 18:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14774704678109184,"km_value":14774704678109.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861677471744,"description":"Unknown IO ID 45"} 
[2026-08-22 18:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575034880001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1739796861677471744}} 
[2026-08-22 18:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":162543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:12:58] local.INFO: GPS data processed {"connection_id":162543,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:12:58] local.INFO: Acknowledgment sent {"connection_id":162543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:13:27] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297df238012d7ea58005b65a40000d01662a..."} 
[2026-08-22 18:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297df238012d7ea58005b65a40000d01662a..."} 
[2026-08-22 18:13:27] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297df238012d7ea58005b65a40000d01662a..."} 
[2026-08-22 18:13:27] local.INFO: Packet analysis {"connection_id":160190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297d"} 
[2026-08-22 18:13:27] local.INFO: Extracted packet for processing {"connection_id":160190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297d"} 
[2026-08-22 18:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763274624,"raw_latitude":95836736,"longitude_deg":76.3274624,"latitude_deg":9.5836736,"altitude":13,"angle":358,"satellites":42,"speed":43,"hex_longitude":"2d7ea580","hex_latitude":"05b65a40","is_valid_coordinates":true} 
[2026-08-22 18:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575041536001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388954128111370240,"note":"Value kept but may cause issues"} 
[2026-08-22 18:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613212055552,"note":"Value kept but may cause issues"} 
[2026-08-22 18:13:27] 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-22 18:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787402515000,"timestamp_ms":1787402515000,"timestamp_seconds":1787402515,"priority":1,"record_length":96,"hex_timestamp":"000001a0297df238"} 
[2026-08-22 18:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:13: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-22 18:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 18:13:27] 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-22 18:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575041536001,"66":27800,"122":206,"85":12544,"24":43,"16":388954128111370240,"45":9125770613212055552},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-22 18:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575041536001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:13:27] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-22 18:13:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388954128111370240,"km_value":388954128111370.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613212055552,"description":"Unknown IO ID 45"} 
[2026-08-22 18:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575041536001,"power":27800,"unknown_122":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9125770613212055552}} 
[2026-08-22 18:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":160190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:13:27] local.INFO: GPS data processed {"connection_id":160190,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:13:27] local.INFO: Acknowledgment sent {"connection_id":160190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:13:29] local.INFO: TCP Data received {"connection_id":162543,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0297d88c0012d181dc00721a580004d012322..."} 
[2026-08-22 18:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297d88c0012d181dc00721a580004d012322..."} 
[2026-08-22 18:13:29] local.INFO: Processing buffer {"connection_id":162543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297d88c0012d181dc00721a580004d012322..."} 
[2026-08-22 18:13:29] local.INFO: Packet analysis {"connection_id":162543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297d"} 
[2026-08-22 18:13:29] local.INFO: Extracted packet for processing {"connection_id":162543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297d"} 
[2026-08-22 18:13:29] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119645568,"longitude_deg":75.65552,"latitude_deg":11.9645568,"altitude":77,"angle":291,"satellites":34,"speed":6,"hex_longitude":"2d181dc0","hex_latitude":"0721a580","is_valid_coordinates":true} 
[2026-08-22 18:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575036160001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14774730447912960,"note":"Value kept but may cause issues"} 
[2026-08-22 18:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749305870336,"note":"Value kept but may cause issues"} 
[2026-08-22 18:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787402488000,"timestamp_ms":1787402488000,"timestamp_seconds":1787402488,"priority":1,"record_length":96,"hex_timestamp":"000001a0297d88c0"} 
[2026-08-22 18:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:13: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-22 18:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 18:13: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-22 18:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:13:29] 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-22 18:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575036160001,"66":14363,"105":206,"83":41984,"24":6,"16":14774730447912960,"45":1738248749305870336},"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-22 18:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575036160001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:13:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 18:13:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14774730447912960,"km_value":14774730447912.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749305870336,"description":"Unknown IO ID 45"} 
[2026-08-22 18:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575036160001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738248749305870336}} 
[2026-08-22 18:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":162543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:13:29] local.INFO: GPS data processed {"connection_id":162543,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:13:29] local.INFO: Acknowledgment sent {"connection_id":162543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:13:48] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:13:48] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:13:48] local.INFO: IMEI packet received {"connection_id":159958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":159958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:13:49] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:13:49] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:13:49] local.INFO: IMEI packet received {"connection_id":159958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":159958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:13:53] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:13:53] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:13:53] local.INFO: IMEI packet received {"connection_id":159958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":159958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:13:54] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297e1560012d7ea58005b67e88000e00012b..."} 
[2026-08-22 18:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297e1560012d7ea58005b67e88000e00012b..."} 
[2026-08-22 18:13:54] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297e1560012d7ea58005b67e88000e00012b..."} 
[2026-08-22 18:13:54] local.INFO: Packet analysis {"connection_id":159958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297e"} 
[2026-08-22 18:13:54] local.INFO: Extracted packet for processing {"connection_id":159958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297e"} 
[2026-08-22 18:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763274624,"raw_latitude":95846024,"longitude_deg":76.3274624,"latitude_deg":9.5846024,"altitude":14,"angle":1,"satellites":43,"speed":40,"hex_longitude":"2d7ea580","hex_latitude":"05b67e88","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575043840001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388954579082936320,"note":"Value kept but may cause issues"} 
[2026-08-22 18:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125840981958737920,"note":"Value kept but may cause issues"} 
[2026-08-22 18:13:54] 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-22 18:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787402524000,"timestamp_ms":1787402524000,"timestamp_seconds":1787402524,"priority":1,"record_length":96,"hex_timestamp":"000001a0297e1560"} 
[2026-08-22 18: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-22 18:13: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-22 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 18:13: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-22 18: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-22 18: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-22 18:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575043840001,"66":27843,"122":206,"85":12544,"24":40,"16":388954579082936320,"45":9125840981958737920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-22 18:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575043840001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:13:54] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-22 18:13:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388954579082936320,"km_value":388954579082936.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125840981958737920,"description":"Unknown IO ID 45"} 
[2026-08-22 18:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575043840001,"power":27843,"unknown_122":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9125840981958737920}} 
[2026-08-22 18:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":159958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:13:54] local.INFO: GPS data processed {"connection_id":159958,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:13:54] local.INFO: Acknowledgment sent {"connection_id":159958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:13:58] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297e3c70012d7ea64005b6a408000e00012c..."} 
[2026-08-22 18:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297e3c70012d7ea64005b6a408000e00012c..."} 
[2026-08-22 18:13:58] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297e3c70012d7ea64005b6a408000e00012c..."} 
[2026-08-22 18:13:58] local.INFO: Packet analysis {"connection_id":159958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297e"} 
[2026-08-22 18:13:58] local.INFO: Extracted packet for processing {"connection_id":159958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297e"} 
[2026-08-22 18:13:58] local.INFO: GPS Element Parsed {"raw_longitude":763274816,"raw_latitude":95855624,"longitude_deg":76.3274816,"latitude_deg":9.5855624,"altitude":14,"angle":1,"satellites":44,"speed":35,"hex_longitude":"2d7ea640","hex_latitude":"05b6a408","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575046144001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388955042939404288,"note":"Value kept but may cause issues"} 
[2026-08-22 18:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125840981961115648,"note":"Value kept but may cause issues"} 
[2026-08-22 18:13:58] 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-22 18:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787402534000,"timestamp_ms":1787402534000,"timestamp_seconds":1787402534,"priority":1,"record_length":96,"hex_timestamp":"000001a0297e3c70"} 
[2026-08-22 18: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-22 18: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-22 18: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":195,"data_length":795,"current_offset":136} 
[2026-08-22 18:13: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-22 18: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-22 18: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-22 18:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575046144001,"66":27821,"122":206,"85":12544,"24":35,"16":388955042939404288,"45":9125840981961115648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-22 18:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575046144001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:13:58] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-22 18:13:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388955042939404288,"km_value":388955042939404.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125840981961115648,"description":"Unknown IO ID 45"} 
[2026-08-22 18:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575046144001,"power":27821,"unknown_122":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":9125840981961115648}} 
[2026-08-22 18:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":159958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:13:58] local.INFO: GPS data processed {"connection_id":159958,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:13:58] local.INFO: Acknowledgment sent {"connection_id":159958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:14:29] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297e6380012d7ea90005b6ca30000f000a2c..."} 
[2026-08-22 18:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297e6380012d7ea90005b6ca30000f000a2c..."} 
[2026-08-22 18:14:29] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297e6380012d7ea90005b6ca30000f000a2c..."} 
[2026-08-22 18:14:29] local.INFO: Packet analysis {"connection_id":159958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297e"} 
[2026-08-22 18:14:29] local.INFO: Extracted packet for processing {"connection_id":159958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297e"} 
[2026-08-22 18:14:29] local.INFO: GPS Element Parsed {"raw_longitude":763275520,"raw_latitude":95865392,"longitude_deg":76.327552,"latitude_deg":9.5865392,"altitude":15,"angle":10,"satellites":44,"speed":42,"hex_longitude":"2d7ea900","hex_latitude":"05b6ca30","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575048704001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388955519680774144,"note":"Value kept but may cause issues"} 
[2026-08-22 18:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126052088196106240,"note":"Value kept but may cause issues"} 
[2026-08-22 18:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787402544000,"timestamp_ms":1787402544000,"timestamp_seconds":1787402544,"priority":1,"record_length":96,"hex_timestamp":"000001a0297e6380"} 
[2026-08-22 18: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-22 18: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-22 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 18:14: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-22 18: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-22 18: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-22 18:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575048704001,"66":27767,"223":206,"85":12544,"24":42,"16":388955519680774144,"45":9126052088196106240},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-22 18:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575048704001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:14:29] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-22 18:14:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388955519680774144,"km_value":388955519680774.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126052088196106240,"description":"Unknown IO ID 45"} 
[2026-08-22 18:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575048704001,"power":27767,"unknown_223":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9126052088196106240}} 
[2026-08-22 18:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":159958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:14:29] local.INFO: GPS data processed {"connection_id":159958,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:14:29] local.INFO: Acknowledgment sent {"connection_id":159958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:14:48] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:14:48] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:14:48] local.INFO: IMEI packet received {"connection_id":160191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":160191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:14:48] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:14:48] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:14:48] local.INFO: IMEI packet received {"connection_id":160191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":160191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:14:53] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:14:53] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:14:53] local.INFO: IMEI packet received {"connection_id":160191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":160191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:14:55] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297faba0012d7eb6c005b85d00000e00022c..."} 
[2026-08-22 18:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297faba0012d7eb6c005b85d00000e00022c..."} 
[2026-08-22 18:14:55] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297faba0012d7eb6c005b85d00000e00022c..."} 
[2026-08-22 18:14:55] local.INFO: Packet analysis {"connection_id":160191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297f"} 
[2026-08-22 18:14:55] local.INFO: Extracted packet for processing {"connection_id":160191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297f"} 
[2026-08-22 18:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763279040,"raw_latitude":95968512,"longitude_deg":76.327904,"latitude_deg":9.5968512,"altitude":14,"angle":2,"satellites":44,"speed":51,"hex_longitude":"2d7eb6c0","hex_latitude":"05b85d00","is_valid_coordinates":true} 
[2026-08-22 18:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575070976001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388960523317673984,"note":"Value kept but may cause issues"} 
[2026-08-22 18:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130414950361706496,"note":"Value kept but may cause issues"} 
[2026-08-22 18:14:55] 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-22 18:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787402628000,"timestamp_ms":1787402628000,"timestamp_seconds":1787402628,"priority":1,"record_length":96,"hex_timestamp":"000001a0297faba0"} 
[2026-08-22 18:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:14: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-22 18:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 18:14: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-22 18:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575070976001,"66":27658,"166":206,"85":12544,"24":51,"16":388960523317673984,"45":9130414950361706496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-22 18:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575070976001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:14:55] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-22 18:14:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388960523317673984,"km_value":388960523317674.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130414950361706496,"description":"Unknown IO ID 45"} 
[2026-08-22 18:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575070976001,"power":27658,"unknown_166":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9130414950361706496}} 
[2026-08-22 18:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":160191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:14:55] local.INFO: GPS data processed {"connection_id":160191,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:14:55] local.INFO: Acknowledgment sent {"connection_id":160191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:14:57] local.INFO: TCP Data received {"connection_id":162544,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:14:57] local.INFO: Processing buffer {"connection_id":162544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:14:57] local.INFO: IMEI packet received {"connection_id":162544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":162544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:15:10] local.INFO: TCP Data received {"connection_id":162544,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 18:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162544,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 18:15:10] local.INFO: Processing buffer {"connection_id":162544,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 18:15:10] local.INFO: IMEI packet received {"connection_id":162544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":162544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:15:12] local.INFO: TCP Data received {"connection_id":162544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0297fbf28012d18c5c0072305300065004d28..."} 
[2026-08-22 18:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297fbf28012d18c5c0072305300065004d28..."} 
[2026-08-22 18:15:12] local.INFO: Processing buffer {"connection_id":162544,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a029..."} 
[2026-08-22 18:15:12] local.INFO: IMEI packet received {"connection_id":162544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":162544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:15:13] local.INFO: TCP Data received {"connection_id":162544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0297fc310012d18c940072305800065005828..."} 
[2026-08-22 18:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297fc310012d18c940072305800065005828..."} 
[2026-08-22 18:15:13] local.INFO: Processing buffer {"connection_id":162544,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0297fbf28012d18c5c0072305300065004d28..."} 
[2026-08-22 18:15:13] local.INFO: Packet analysis {"connection_id":162544,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0297f"} 
[2026-08-22 18:15:13] local.INFO: Extracted packet for processing {"connection_id":162544,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297f"} 
[2026-08-22 18:15:13] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119735600,"longitude_deg":75.6598208,"latitude_deg":11.97356,"altitude":101,"angle":77,"satellites":40,"speed":35,"hex_longitude":"2d18c5c0","hex_latitude":"07230530","is_valid_coordinates":true} 
[2026-08-22 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-22 18:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575073792001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14779759854616576,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784058801788561408,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:13] 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-22 18:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787402633000,"timestamp_ms":1787402633000,"timestamp_seconds":1787402633,"priority":1,"record_length":96,"hex_timestamp":"000001a0297fbf28"} 
[2026-08-22 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-22 18:15:13] 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-22 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 18:15:13] 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-22 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-22 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-22 18:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:15:13] 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-22 18:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575073792001,"66":14515,"186":206,"83":42752,"24":35,"16":14779759854616576,"45":1784058801788561408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-22 18:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575073792001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:15:13] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-22 18:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14779759854616576,"km_value":14779759854616.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784058801788561408,"description":"Unknown IO ID 45"} 
[2026-08-22 18:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575073792001,"power":14515,"unknown_186":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1784058801788561408}} 
[2026-08-22 18:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":162544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:15:13] local.INFO: GPS data processed {"connection_id":162544,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:15:13] local.INFO: Acknowledgment sent {"connection_id":162544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:15:13] local.INFO: Packet analysis {"connection_id":162544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297f"} 
[2026-08-22 18:15:13] local.INFO: Extracted packet for processing {"connection_id":162544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297f"} 
[2026-08-22 18:15:13] local.INFO: GPS Element Parsed {"raw_longitude":756599104,"raw_latitude":119735680,"longitude_deg":75.6599104,"latitude_deg":11.973568,"altitude":101,"angle":88,"satellites":40,"speed":36,"hex_longitude":"2d18c940","hex_latitude":"07230580","is_valid_coordinates":true} 
[2026-08-22 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-22 18:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575074048001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14779802804289536,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964207116288,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:13] 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-22 18:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787402634000,"timestamp_ms":1787402634000,"timestamp_seconds":1787402634,"priority":1,"record_length":96,"hex_timestamp":"000001a0297fc310"} 
[2026-08-22 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-22 18:15:13] 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-22 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 18:15:13] 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-22 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-22 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-22 18:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:15:13] 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-22 18:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575074048001,"66":14515,"186":206,"83":42752,"24":36,"16":14779802804289536,"45":1785043964207116288},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-22 18:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575074048001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:15:13] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-22 18:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14779802804289536,"km_value":14779802804289.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964207116288,"description":"Unknown IO ID 45"} 
[2026-08-22 18:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575074048001,"power":14515,"unknown_186":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1785043964207116288}} 
[2026-08-22 18:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":162544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:15:13] local.INFO: GPS data processed {"connection_id":162544,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:15:13] local.INFO: Acknowledgment sent {"connection_id":162544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:15:14] local.INFO: TCP Data received {"connection_id":162544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0297fcae0012d18d080072304500064006a24..."} 
[2026-08-22 18:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297fcae0012d18d080072304500064006a24..."} 
[2026-08-22 18:15:14] local.INFO: Processing buffer {"connection_id":162544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297fcae0012d18d080072304500064006a24..."} 
[2026-08-22 18:15:14] local.INFO: Packet analysis {"connection_id":162544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297f"} 
[2026-08-22 18:15:14] local.INFO: Extracted packet for processing {"connection_id":162544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297f"} 
[2026-08-22 18:15:14] local.INFO: GPS Element Parsed {"raw_longitude":756600960,"raw_latitude":119735376,"longitude_deg":75.660096,"latitude_deg":11.9735376,"altitude":100,"angle":106,"satellites":36,"speed":37,"hex_longitude":"2d18d080","hex_latitude":"07230450","is_valid_coordinates":true} 
[2026-08-22 18: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":795,"current_offset":40} 
[2026-08-22 18:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575074304001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14779888703635456,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786029126625624064,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:14] 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-22 18:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787402636000,"timestamp_ms":1787402636000,"timestamp_seconds":1787402636,"priority":1,"record_length":96,"hex_timestamp":"000001a0297fcae0"} 
[2026-08-22 18:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:15:14] 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-22 18: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 18:15:14] 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-22 18:15: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-22 18:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:15: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-22 18:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575074304001,"66":14515,"186":206,"83":42752,"24":37,"16":14779888703635456,"45":1786029126625624064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-22 18:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575074304001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:15:14] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-22 18:15:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14779888703635456,"km_value":14779888703635.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786029126625624064,"description":"Unknown IO ID 45"} 
[2026-08-22 18:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575074304001,"power":14515,"unknown_186":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1786029126625624064}} 
[2026-08-22 18:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":162544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:15:14] local.INFO: GPS data processed {"connection_id":162544,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:15:14] local.INFO: Acknowledgment sent {"connection_id":162544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:15:25] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297fc6f8012d7eb98005b88078000e00042c..."} 
[2026-08-22 18:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297fc6f8012d7eb98005b88078000e00042c..."} 
[2026-08-22 18:15:25] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297fc6f8012d7eb98005b88078000e00042c..."} 
[2026-08-22 18:15:25] local.INFO: Packet analysis {"connection_id":160191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297f"} 
[2026-08-22 18:15:25] local.INFO: Extracted packet for processing {"connection_id":160191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297f"} 
[2026-08-22 18:15:25] local.INFO: GPS Element Parsed {"raw_longitude":763279744,"raw_latitude":95977592,"longitude_deg":76.3279744,"latitude_deg":9.5977592,"altitude":14,"angle":4,"satellites":44,"speed":52,"hex_longitude":"2d7eb980","hex_latitude":"05b88078","is_valid_coordinates":true} 
[2026-08-22 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-22 18:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575072768001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388960965699305472,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130696425340731392,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:25] 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-22 18:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787402635000,"timestamp_ms":1787402635000,"timestamp_seconds":1787402635,"priority":1,"record_length":96,"hex_timestamp":"000001a0297fc6f8"} 
[2026-08-22 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-22 18: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-22 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":10,"data_length":795,"current_offset":136} 
[2026-08-22 18:15: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-22 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-22 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-22 18:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575072768001,"66":27745,"166":206,"85":12544,"24":52,"16":388960965699305472,"45":9130696425340731392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-22 18:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575072768001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:15:25] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-22 18:15:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388960965699305472,"km_value":388960965699305.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130696425340731392,"description":"Unknown IO ID 45"} 
[2026-08-22 18:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575072768001,"power":27745,"unknown_166":206,"unknown_85":12544,"ignition":52,"odometer":null,"unknown_45":9130696425340731392}} 
[2026-08-22 18:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":160191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:15:25] local.INFO: GPS data processed {"connection_id":160191,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:15:25] local.INFO: Acknowledgment sent {"connection_id":160191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:15:48] local.INFO: TCP Data received {"connection_id":162545,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:15:48] local.INFO: Processing buffer {"connection_id":162545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:15:48] local.INFO: IMEI packet received {"connection_id":162545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":162545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:15:49] local.INFO: TCP Data received {"connection_id":162545,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:15:49] local.INFO: Processing buffer {"connection_id":162545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:15:49] local.INFO: IMEI packet received {"connection_id":162545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":162545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:15:52] local.INFO: TCP Data received {"connection_id":160192,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:15:52] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:15:52] local.INFO: IMEI packet received {"connection_id":160192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":160192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:15:53] local.INFO: TCP Data received {"connection_id":162545,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:15:53] local.INFO: Processing buffer {"connection_id":162545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:15:53] local.INFO: IMEI packet received {"connection_id":162545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":162545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:15:54] local.INFO: TCP Data received {"connection_id":162545,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0297fe250012d7ebcc005b8a518000d00052e..."} 
[2026-08-22 18:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0297fe250012d7ebcc005b8a518000d00052e..."} 
[2026-08-22 18:15:54] local.INFO: Processing buffer {"connection_id":162545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0297fe250012d7ebcc005b8a518000d00052e..."} 
[2026-08-22 18:15:54] local.INFO: Packet analysis {"connection_id":162545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0297f"} 
[2026-08-22 18:15:54] local.INFO: Extracted packet for processing {"connection_id":162545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0297f"} 
[2026-08-22 18:15:54] local.INFO: GPS Element Parsed {"raw_longitude":763280576,"raw_latitude":95986968,"longitude_deg":76.3280576,"latitude_deg":9.5986968,"altitude":13,"angle":5,"satellites":46,"speed":54,"hex_longitude":"2d7ebcc0","hex_latitude":"05b8a518","is_valid_coordinates":true} 
[2026-08-22 18:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575074560001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388961420965838848,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131470481529010176,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:54] 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-22 18:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787402642000,"timestamp_ms":1787402642000,"timestamp_seconds":1787402642,"priority":1,"record_length":96,"hex_timestamp":"000001a0297fe250"} 
[2026-08-22 18:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:15: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-22 18:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 18:15:54] 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-22 18:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575074560001,"66":27767,"166":206,"85":12544,"24":54,"16":388961420965838848,"45":9131470481529010176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-22 18:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575074560001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:15:54] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-22 18:15:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388961420965838848,"km_value":388961420965838.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131470481529010176,"description":"Unknown IO ID 45"} 
[2026-08-22 18:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575074560001,"power":27767,"unknown_166":206,"unknown_85":12544,"ignition":54,"odometer":null,"unknown_45":9131470481529010176}} 
[2026-08-22 18:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":162545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:15:54] local.INFO: GPS data processed {"connection_id":162545,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:15:54] local.INFO: Acknowledgment sent {"connection_id":162545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:15:57] local.INFO: TCP Data received {"connection_id":160192,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:15:57] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:15:57] local.INFO: IMEI packet received {"connection_id":160192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":160192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:15:58] local.INFO: TCP Data received {"connection_id":160192,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02980a5a0012d19810007239938004700471d..."} 
[2026-08-22 18:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02980a5a0012d19810007239938004700471d..."} 
[2026-08-22 18:15:58] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02980a5a0012d19810007239938004700471d..."} 
[2026-08-22 18:15:58] local.INFO: Packet analysis {"connection_id":160192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02980"} 
[2026-08-22 18:15:58] local.INFO: Extracted packet for processing {"connection_id":160192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02980"} 
[2026-08-22 18:15:58] local.INFO: GPS Element Parsed {"raw_longitude":756646144,"raw_latitude":119773496,"longitude_deg":75.6646144,"latitude_deg":11.9773496,"altitude":71,"angle":71,"satellites":29,"speed":44,"hex_longitude":"2d198100","hex_latitude":"07239938","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575088384001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14783019734794240,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085140807680,"note":"Value kept but may cause issues"} 
[2026-08-22 18:15:58] 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-22 18:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787402692000,"timestamp_ms":1787402692000,"timestamp_seconds":1787402692,"priority":1,"record_length":96,"hex_timestamp":"000001a02980a5a0"} 
[2026-08-22 18: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-22 18:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 18:15:58] 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-22 18: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-22 18: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-22 18:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:15: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-22 18:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575088384001,"66":14070,"177":206,"83":42752,"24":44,"16":14783019734794240,"45":1834302085140807680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-08-22 18:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575088384001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:15:58] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-22 18:15:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14783019734794240,"km_value":14783019734794.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085140807680,"description":"Unknown IO ID 45"} 
[2026-08-22 18:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575088384001,"power":14070,"unknown_177":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1834302085140807680}} 
[2026-08-22 18:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":160192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:15:58] local.INFO: GPS data processed {"connection_id":160192,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:15:58] local.INFO: Acknowledgment sent {"connection_id":160192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:16:29] local.INFO: TCP Data received {"connection_id":160192,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02980c0f8012d19a24007239f08003f00521e..."} 
[2026-08-22 18:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02980c0f8012d19a24007239f08003f00521e..."} 
[2026-08-22 18:16:29] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02980c0f8012d19a24007239f08003f00521e..."} 
[2026-08-22 18:16:29] local.INFO: Packet analysis {"connection_id":160192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02980"} 
[2026-08-22 18:16:29] local.INFO: Extracted packet for processing {"connection_id":160192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02980"} 
[2026-08-22 18:16:29] local.INFO: GPS Element Parsed {"raw_longitude":756654656,"raw_latitude":119774984,"longitude_deg":75.6654656,"latitude_deg":11.9774984,"altitude":63,"angle":82,"satellites":30,"speed":51,"hex_longitude":"2d19a240","hex_latitude":"07239f08","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575089152001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14783432051654656,"note":"Value kept but may cause issues"} 
[2026-08-22 18:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837750153605888000,"note":"Value kept but may cause issues"} 
[2026-08-22 18:16:29] 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-22 18:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787402699000,"timestamp_ms":1787402699000,"timestamp_seconds":1787402699,"priority":1,"record_length":96,"hex_timestamp":"000001a02980c0f8"} 
[2026-08-22 18: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-22 18:16: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-22 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 18:16: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-22 18: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-22 18: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-22 18:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:16:29] 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-22 18:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575089152001,"66":14461,"42":206,"83":42752,"24":51,"16":14783432051654656,"45":1837750153605888000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-22 18:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575089152001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:16:29] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-22 18:16:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14783432051654656,"km_value":14783432051654.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837750153605888000,"description":"Unknown IO ID 45"} 
[2026-08-22 18:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575089152001,"power":14461,"unknown_42":206,"unknown_83":42752,"ignition":51,"odometer":null,"unknown_45":1837750153605888000}} 
[2026-08-22 18:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":160192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:16:30] local.INFO: GPS data processed {"connection_id":160192,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:16:30] local.INFO: Acknowledgment sent {"connection_id":160192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:16:32] local.INFO: TCP Data received {"connection_id":162545,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029810f18012d7eec8005b9fb70000900092c..."} 
[2026-08-22 18:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029810f18012d7eec8005b9fb70000900092c..."} 
[2026-08-22 18:16:32] local.INFO: Processing buffer {"connection_id":162545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029810f18012d7eec8005b9fb70000900092c..."} 
[2026-08-22 18:16:32] local.INFO: Packet analysis {"connection_id":162545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02981"} 
[2026-08-22 18:16:32] local.INFO: Extracted packet for processing {"connection_id":162545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02981"} 
[2026-08-22 18:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763292800,"raw_latitude":96074608,"longitude_deg":76.32928,"latitude_deg":9.6074608,"altitude":9,"angle":9,"satellites":44,"speed":46,"hex_longitude":"2d7eec80","hex_latitude":"05b9fb70","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575094016001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388965715933134848,"note":"Value kept but may cause issues"} 
[2026-08-22 18:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9144066486759227392,"note":"Value kept but may cause issues"} 
[2026-08-22 18:16:32] 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-22 18:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787402719000,"timestamp_ms":1787402719000,"timestamp_seconds":1787402719,"priority":1,"record_length":96,"hex_timestamp":"000001a029810f18"} 
[2026-08-22 18: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-22 18:16: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-22 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 18:16: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-22 18: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-22 18: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-22 18:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575094016001,"66":27745,"127":206,"85":12544,"24":46,"16":388965715933134848,"45":9144066486759227392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-22 18:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575094016001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:16:32] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-22 18:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388965715933134848,"km_value":388965715933134.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9144066486759227392,"description":"Unknown IO ID 45"} 
[2026-08-22 18:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575094016001,"power":27745,"unknown_127":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9144066486759227392}} 
[2026-08-22 18:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":162545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:16:32] local.INFO: GPS data processed {"connection_id":162545,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:16:32] local.INFO: Acknowledgment sent {"connection_id":162545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:16:48] local.INFO: TCP Data received {"connection_id":160193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:16:48] local.INFO: Processing buffer {"connection_id":160193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:16:48] local.INFO: IMEI packet received {"connection_id":160193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":160193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:16:53] local.INFO: TCP Data received {"connection_id":160193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:16:53] local.INFO: Processing buffer {"connection_id":160193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:16:53] local.INFO: IMEI packet received {"connection_id":160193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":160193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:16:54] local.INFO: TCP Data received {"connection_id":160193,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029813a10012d7ef24005ba1db8000900072c..."} 
[2026-08-22 18:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029813a10012d7ef24005ba1db8000900072c..."} 
[2026-08-22 18:16:54] local.INFO: Processing buffer {"connection_id":160193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029813a10012d7ef24005ba1db8000900072c..."} 
[2026-08-22 18:16:54] local.INFO: Packet analysis {"connection_id":160193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02981"} 
[2026-08-22 18:16:54] local.INFO: Extracted packet for processing {"connection_id":160193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02981"} 
[2026-08-22 18:16:54] local.INFO: GPS Element Parsed {"raw_longitude":763294272,"raw_latitude":96083384,"longitude_deg":76.3294272,"latitude_deg":9.6083384,"altitude":9,"angle":7,"satellites":44,"speed":22,"hex_longitude":"2d7ef240","hex_latitude":"05ba1db8","is_valid_coordinates":true} 
[2026-08-22 18:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575096064001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388966149724831744,"note":"Value kept but may cause issues"} 
[2026-08-22 18:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145825705366089728,"note":"Value kept but may cause issues"} 
[2026-08-22 18:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787402730000,"timestamp_ms":1787402730000,"timestamp_seconds":1787402730,"priority":1,"record_length":96,"hex_timestamp":"000001a029813a10"} 
[2026-08-22 18:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:16: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-22 18:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 18:16:54] 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-22 18:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575096064001,"66":27832,"128":206,"85":12544,"24":22,"16":388966149724831744,"45":9145825705366089728},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-08-22 18:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575096064001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:16:54] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-22 18:16:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388966149724831744,"km_value":388966149724831.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145825705366089728,"description":"Unknown IO ID 45"} 
[2026-08-22 18:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575096064001,"power":27832,"unknown_128":206,"unknown_85":12544,"ignition":22,"odometer":null,"unknown_45":9145825705366089728}} 
[2026-08-22 18:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":160193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:16:54] local.INFO: GPS data processed {"connection_id":160193,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:16:54] local.INFO: Acknowledgment sent {"connection_id":160193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:16:55] local.INFO: TCP Data received {"connection_id":162546,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:16:55] local.INFO: Processing buffer {"connection_id":162546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:16:55] local.INFO: IMEI packet received {"connection_id":162546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":162546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:16:57] local.INFO: TCP Data received {"connection_id":162546,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:16:57] local.INFO: Processing buffer {"connection_id":162546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:16:57] local.INFO: IMEI packet received {"connection_id":162546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":162546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:17:02] local.INFO: TCP Data received {"connection_id":162546,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:17:02] local.INFO: Processing buffer {"connection_id":162546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:17:02] local.INFO: IMEI packet received {"connection_id":162546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":162546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:17:03] local.INFO: TCP Data received {"connection_id":162546,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02980dc50012d19c7000723a300003600531f..."} 
[2026-08-22 18:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02980dc50012d19c7000723a300003600531f..."} 
[2026-08-22 18:17:03] local.INFO: Processing buffer {"connection_id":162546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02980dc50012d19c7000723a300003600531f..."} 
[2026-08-22 18:17:03] local.INFO: Packet analysis {"connection_id":162546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02980"} 
[2026-08-22 18:17:03] local.INFO: Extracted packet for processing {"connection_id":162546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02980"} 
[2026-08-22 18:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756664064,"raw_latitude":119776000,"longitude_deg":75.6664064,"latitude_deg":11.9776,"altitude":54,"angle":83,"satellites":31,"speed":52,"hex_longitude":"2d19c700","hex_latitude":"0723a300","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575090944001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14783878728253440,"note":"Value kept but may cause issues"} 
[2026-08-22 18:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847109196581898240,"note":"Value kept but may cause issues"} 
[2026-08-22 18:17:03] 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-22 18:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787402706000,"timestamp_ms":1787402706000,"timestamp_seconds":1787402706,"priority":1,"record_length":96,"hex_timestamp":"000001a02980dc50"} 
[2026-08-22 18: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-22 18:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18: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":125,"data_length":795,"current_offset":136} 
[2026-08-22 18:17: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-22 18: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-22 18: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-22 18:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:17:03] 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-22 18:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575090944001,"66":14461,"42":206,"83":42752,"24":52,"16":14783878728253440,"45":1847109196581898240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-22 18:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575090944001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:17:03] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-22 18:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14783878728253440,"km_value":14783878728253.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847109196581898240,"description":"Unknown IO ID 45"} 
[2026-08-22 18:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575090944001,"power":14461,"unknown_42":206,"unknown_83":42752,"ignition":52,"odometer":null,"unknown_45":1847109196581898240}} 
[2026-08-22 18:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":162546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:17:03] local.INFO: GPS data processed {"connection_id":162546,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:17:03] local.INFO: Acknowledgment sent {"connection_id":162546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:17:26] local.INFO: TCP Data received {"connection_id":160193,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029818830012d7ef7c005ba4068000900072b..."} 
[2026-08-22 18:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029818830012d7ef7c005ba4068000900072b..."} 
[2026-08-22 18:17:26] local.INFO: Processing buffer {"connection_id":160193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029818830012d7ef7c005ba4068000900072b..."} 
[2026-08-22 18:17:26] local.INFO: Packet analysis {"connection_id":160193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02981"} 
[2026-08-22 18:17:26] local.INFO: Extracted packet for processing {"connection_id":160193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02981"} 
[2026-08-22 18:17:26] local.INFO: GPS Element Parsed {"raw_longitude":763295680,"raw_latitude":96092264,"longitude_deg":76.329568,"latitude_deg":9.6092264,"altitude":9,"angle":7,"satellites":43,"speed":16,"hex_longitude":"2d7ef7c0","hex_latitude":"05ba4068","is_valid_coordinates":true} 
[2026-08-22 18:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575098880001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388966583516528640,"note":"Value kept but may cause issues"} 
[2026-08-22 18:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147444186484422656,"note":"Value kept but may cause issues"} 
[2026-08-22 18:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787402750000,"timestamp_ms":1787402750000,"timestamp_seconds":1787402750,"priority":1,"record_length":96,"hex_timestamp":"000001a029818830"} 
[2026-08-22 18:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:17: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-22 18:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-22 18:17: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-22 18:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575098880001,"66":27800,"128":206,"85":12544,"24":16,"16":388966583516528640,"45":9147444186484422656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-08-22 18:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575098880001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:17:26] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-22 18:17:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388966583516528640,"km_value":388966583516528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147444186484422656,"description":"Unknown IO ID 45"} 
[2026-08-22 18:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575098880001,"power":27800,"unknown_128":206,"unknown_85":12544,"ignition":16,"odometer":null,"unknown_45":9147444186484422656}} 
[2026-08-22 18:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":160193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:17:26] local.INFO: GPS data processed {"connection_id":160193,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:17:26] local.INFO: Acknowledgment sent {"connection_id":160193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:17:34] local.INFO: TCP Data received {"connection_id":162546,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029823028012d1aa040072422d00031003e24..."} 
[2026-08-22 18:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029823028012d1aa040072422d00031003e24..."} 
[2026-08-22 18:17:34] local.INFO: Processing buffer {"connection_id":162546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029823028012d1aa040072422d00031003e24..."} 
[2026-08-22 18:17:34] local.INFO: Packet analysis {"connection_id":162546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:17:34] local.INFO: Extracted packet for processing {"connection_id":162546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:17:34] local.INFO: GPS Element Parsed {"raw_longitude":756719680,"raw_latitude":119808720,"longitude_deg":75.671968,"latitude_deg":11.980872,"altitude":49,"angle":62,"satellites":36,"speed":25,"hex_longitude":"2d1aa040","hex_latitude":"072422d0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575110912001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14787134313463808,"note":"Value kept but may cause issues"} 
[2026-08-22 18:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1909526272675137536,"note":"Value kept but may cause issues"} 
[2026-08-22 18:17: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-22 18:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787402793000,"timestamp_ms":1787402793000,"timestamp_seconds":1787402793,"priority":1,"record_length":96,"hex_timestamp":"000001a029823028"} 
[2026-08-22 18: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-22 18:17:34] 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-22 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 18:17: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-22 18: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-22 18: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-22 18:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:17:34] 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-22 18:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575110912001,"66":13993,"137":206,"83":42752,"24":25,"16":14787134313463808,"45":1909526272675137536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 18:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575110912001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:17:34] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 18:17:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14787134313463808,"km_value":14787134313463.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1909526272675137536,"description":"Unknown IO ID 45"} 
[2026-08-22 18:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575110912001,"power":13993,"unknown_137":206,"unknown_83":42752,"ignition":25,"odometer":null,"unknown_45":1909526272675137536}} 
[2026-08-22 18:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":162546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:17:34] local.INFO: GPS data processed {"connection_id":162546,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:17:34] local.INFO: Acknowledgment sent {"connection_id":162546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:17:48] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:17:48] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:17:48] local.INFO: IMEI packet received {"connection_id":159959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":159959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:17:53] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:17:53] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:17:53] local.INFO: IMEI packet received {"connection_id":159960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":159960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:17:53] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:17:53] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:17:53] local.INFO: IMEI packet received {"connection_id":159959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":159959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:17:54] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:17:54] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:17:54] local.INFO: IMEI packet received {"connection_id":159960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":159960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:17:54] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02981ce80012d7efd0005ba6400000900082c..."} 
[2026-08-22 18:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02981ce80012d7efd0005ba6400000900082c..."} 
[2026-08-22 18:17:54] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02981ce80012d7efd0005ba6400000900082c..."} 
[2026-08-22 18:17:54] local.INFO: Packet analysis {"connection_id":159959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02981"} 
[2026-08-22 18:17:54] local.INFO: Extracted packet for processing {"connection_id":159959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02981"} 
[2026-08-22 18:17:54] local.INFO: GPS Element Parsed {"raw_longitude":763297024,"raw_latitude":96101376,"longitude_deg":76.3297024,"latitude_deg":9.6101376,"altitude":9,"angle":8,"satellites":44,"speed":21,"hex_longitude":"2d7efd00","hex_latitude":"05ba6400","is_valid_coordinates":true} 
[2026-08-22 18:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575104000001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388967030193127424,"note":"Value kept but may cause issues"} 
[2026-08-22 18:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148992298858604544,"note":"Value kept but may cause issues"} 
[2026-08-22 18:17:54] 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-22 18:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787402768000,"timestamp_ms":1787402768000,"timestamp_seconds":1787402768,"priority":1,"record_length":96,"hex_timestamp":"000001a02981ce80"} 
[2026-08-22 18:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:17: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-22 18:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 18:17: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-22 18:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575104000001,"66":27767,"120":206,"85":12544,"24":21,"16":388967030193127424,"45":9148992298858604544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-22 18:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575104000001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:17:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-22 18:17:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388967030193127424,"km_value":388967030193127.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148992298858604544,"description":"Unknown IO ID 45"} 
[2026-08-22 18:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575104000001,"power":27767,"unknown_120":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":9148992298858604544}} 
[2026-08-22 18:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":159959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:17:54] local.INFO: GPS data processed {"connection_id":159959,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:17:54] local.INFO: Acknowledgment sent {"connection_id":159959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:17:57] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:17:57] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:17:57] local.INFO: IMEI packet received {"connection_id":159960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":159960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:17:57] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029825f08012d1ac08007243150002e004025..."} 
[2026-08-22 18:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029825f08012d1ac08007243150002e004025..."} 
[2026-08-22 18:17:57] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029825f08012d1ac08007243150002e004025..."} 
[2026-08-22 18:17:57] local.INFO: Packet analysis {"connection_id":159960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:17:57] local.INFO: Extracted packet for processing {"connection_id":159960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:17:57] local.INFO: GPS Element Parsed {"raw_longitude":756727936,"raw_latitude":119812432,"longitude_deg":75.6727936,"latitude_deg":11.9812432,"altitude":46,"angle":64,"satellites":37,"speed":31,"hex_longitude":"2d1ac080","hex_latitude":"07243150","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575115008001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14787563810193408,"note":"Value kept but may cause issues"} 
[2026-08-22 18:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918603840675041280,"note":"Value kept but may cause issues"} 
[2026-08-22 18:17:57] 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-22 18:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787402805000,"timestamp_ms":1787402805000,"timestamp_seconds":1787402805,"priority":1,"record_length":96,"hex_timestamp":"000001a029825f08"} 
[2026-08-22 18: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-22 18:17:57] 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-22 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-22 18:17:57] 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-22 18: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-22 18: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-22 18:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:17:57] 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-22 18:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575115008001,"66":14026,"137":206,"83":42752,"24":31,"16":14787563810193408,"45":1918603840675041280},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 18:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575115008001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:17:57] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 18:17:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14787563810193408,"km_value":14787563810193.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918603840675041280,"description":"Unknown IO ID 45"} 
[2026-08-22 18:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575115008001,"power":14026,"unknown_137":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1918603840675041280}} 
[2026-08-22 18:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":159960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:17:58] local.INFO: GPS data processed {"connection_id":159960,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:17:58] local.INFO: Acknowledgment sent {"connection_id":159960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:18:03] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029827e48012d1ad54007243d380031003326..."} 
[2026-08-22 18:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029827e48012d1ad54007243d380031003326..."} 
[2026-08-22 18:18:03] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029827e48012d1ad54007243d380031003326..."} 
[2026-08-22 18:18:03] local.INFO: Packet analysis {"connection_id":159960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:18:03] local.INFO: Extracted packet for processing {"connection_id":159960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756733248,"raw_latitude":119815480,"longitude_deg":75.6733248,"latitude_deg":11.981548,"altitude":49,"angle":51,"satellites":38,"speed":28,"hex_longitude":"2d1ad540","hex_latitude":"07243d38","is_valid_coordinates":true} 
[2026-08-22 18:18: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-22 18:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575118080001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14787855867969536,"note":"Value kept but may cause issues"} 
[2026-08-22 18:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927681408674910208,"note":"Value kept but may cause issues"} 
[2026-08-22 18:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787402813000,"timestamp_ms":1787402813000,"timestamp_seconds":1787402813,"priority":1,"record_length":96,"hex_timestamp":"000001a029827e48"} 
[2026-08-22 18:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-22 18:18:03] 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-22 18:18: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-22 18:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:18:03] 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-22 18:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575118080001,"66":14070,"137":206,"83":42752,"24":28,"16":14787855867969536,"45":1927681408674910208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 18:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575118080001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:18:03] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 18:18:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14787855867969536,"km_value":14787855867969.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927681408674910208,"description":"Unknown IO ID 45"} 
[2026-08-22 18:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575118080001,"power":14070,"unknown_137":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1927681408674910208}} 
[2026-08-22 18:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":159960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:18:03] local.INFO: GPS data processed {"connection_id":159960,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:18:03] local.INFO: Acknowledgment sent {"connection_id":159960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:18:25] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029820530012d7f01c005ba87e0000b000928..."} 
[2026-08-22 18:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029820530012d7f01c005ba87e0000b000928..."} 
[2026-08-22 18:18:25] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029820530012d7f01c005ba87e0000b000928..."} 
[2026-08-22 18:18:25] local.INFO: Packet analysis {"connection_id":159959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:18:25] local.INFO: Extracted packet for processing {"connection_id":159959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:18:25] local.INFO: GPS Element Parsed {"raw_longitude":763298240,"raw_latitude":96110560,"longitude_deg":76.329824,"latitude_deg":9.611056,"altitude":11,"angle":9,"satellites":40,"speed":20,"hex_longitude":"2d7f01c0","hex_latitude":"05ba87e0","is_valid_coordinates":true} 
[2026-08-22 18:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575108608001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388967481164693504,"note":"Value kept but may cause issues"} 
[2026-08-22 18:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150470042488668160,"note":"Value kept but may cause issues"} 
[2026-08-22 18:18:25] 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-22 18:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787402782000,"timestamp_ms":1787402782000,"timestamp_seconds":1787402782,"priority":1,"record_length":96,"hex_timestamp":"000001a029820530"} 
[2026-08-22 18:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18: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-22 18:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 18: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-22 18:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575108608001,"66":27821,"120":206,"85":12544,"24":20,"16":388967481164693504,"45":9150470042488668160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-22 18:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575108608001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:18:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-22 18:18:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388967481164693504,"km_value":388967481164693.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150470042488668160,"description":"Unknown IO ID 45"} 
[2026-08-22 18:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575108608001,"power":27821,"unknown_120":206,"unknown_85":12544,"ignition":20,"odometer":null,"unknown_45":9150470042488668160}} 
[2026-08-22 18:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":159959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:18:25] local.INFO: GPS data processed {"connection_id":159959,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:18:25] local.INFO: Acknowledgment sent {"connection_id":159959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:18:37] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029828a00012d1adb40072442d80031002824..."} 
[2026-08-22 18:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029828a00012d1adb40072442d80031002824..."} 
[2026-08-22 18:18:37] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029828a00012d1adb40072442d80031002824..."} 
[2026-08-22 18:18:37] local.INFO: Packet analysis {"connection_id":159960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:18:37] local.INFO: Extracted packet for processing {"connection_id":159960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756734784,"raw_latitude":119816920,"longitude_deg":75.6734784,"latitude_deg":11.981692,"altitude":49,"angle":40,"satellites":36,"speed":28,"hex_longitude":"2d1adb40","hex_latitude":"072442d8","is_valid_coordinates":true} 
[2026-08-22 18:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575120128001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14787958947184640,"note":"Value kept but may cause issues"} 
[2026-08-22 18:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933522014442436608,"note":"Value kept but may cause issues"} 
[2026-08-22 18:18:37] 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-22 18:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787402816000,"timestamp_ms":1787402816000,"timestamp_seconds":1787402816,"priority":1,"record_length":96,"hex_timestamp":"000001a029828a00"} 
[2026-08-22 18:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:18:37] 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-22 18:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 18:18:37] 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-22 18:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:18: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-22 18:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575120128001,"66":14080,"176":206,"83":42752,"24":28,"16":14787958947184640,"45":1933522014442436608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 18:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575120128001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:18:37] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 18:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14787958947184640,"km_value":14787958947184.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933522014442436608,"description":"Unknown IO ID 45"} 
[2026-08-22 18:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575120128001,"power":14080,"unknown_176":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1933522014442436608}} 
[2026-08-22 18:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":159960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:18:37] local.INFO: GPS data processed {"connection_id":159960,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:18:37] local.INFO: Acknowledgment sent {"connection_id":159960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:18:53] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:18:53] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:18:53] local.INFO: IMEI packet received {"connection_id":160194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":160194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:18:57] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:18:57] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:18:57] local.INFO: IMEI packet received {"connection_id":160194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":160194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:18:57] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029825738012d7f05c005baa070000a000a2c..."} 
[2026-08-22 18:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029825738012d7f05c005baa070000a000a2c..."} 
[2026-08-22 18:18:57] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029825738012d7f05c005baa070000a000a2c..."} 
[2026-08-22 18:18:57] local.INFO: Packet analysis {"connection_id":160194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:18:57] local.INFO: Extracted packet for processing {"connection_id":160194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:18:57] local.INFO: GPS Element Parsed {"raw_longitude":763299264,"raw_latitude":96116848,"longitude_deg":76.3299264,"latitude_deg":9.6116848,"altitude":10,"angle":10,"satellites":44,"speed":10,"hex_longitude":"2d7f05c0","hex_latitude":"05baa070","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575112192001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388967790402338816,"note":"Value kept but may cause issues"} 
[2026-08-22 18:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151807048630394880,"note":"Value kept but may cause issues"} 
[2026-08-22 18:18:57] 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-22 18:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787402803000,"timestamp_ms":1787402803000,"timestamp_seconds":1787402803,"priority":1,"record_length":96,"hex_timestamp":"000001a029825738"} 
[2026-08-22 18: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-22 18: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-22 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 18:18: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-22 18: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-22 18: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-22 18:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575112192001,"66":27800,"120":206,"85":12544,"24":10,"16":388967790402338816,"45":9151807048630394880},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-22 18:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575112192001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:18:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-22 18:18:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388967790402338816,"km_value":388967790402338.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151807048630394880,"description":"Unknown IO ID 45"} 
[2026-08-22 18:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575112192001,"power":27800,"unknown_120":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9151807048630394880}} 
[2026-08-22 18:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":160194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:18:57] local.INFO: GPS data processed {"connection_id":160194,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:18:57] local.INFO: Acknowledgment sent {"connection_id":160194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:19:02] local.INFO: TCP Data received {"connection_id":161124,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:19:02] local.INFO: Processing buffer {"connection_id":161124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:19:02] local.INFO: IMEI packet received {"connection_id":161124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":161124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:19:07] local.INFO: TCP Data received {"connection_id":161124,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:19:07] local.INFO: Processing buffer {"connection_id":161124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:19:07] local.INFO: IMEI packet received {"connection_id":161124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":161124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:19:08] local.INFO: TCP Data received {"connection_id":161124,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298295b8012d1ae08007244a380031001c26..."} 
[2026-08-22 18:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298295b8012d1ae08007244a380031001c26..."} 
[2026-08-22 18:19:08] local.INFO: Processing buffer {"connection_id":161124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298295b8012d1ae08007244a380031001c26..."} 
[2026-08-22 18:19:08] local.INFO: Packet analysis {"connection_id":161124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:19:08] local.INFO: Extracted packet for processing {"connection_id":161124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756736128,"raw_latitude":119818808,"longitude_deg":75.6736128,"latitude_deg":11.9818808,"altitude":49,"angle":28,"satellites":38,"speed":31,"hex_longitude":"2d1ae080","hex_latitude":"07244a38","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575120896001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14788070616334336,"note":"Value kept but may cause issues"} 
[2026-08-22 18:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935210864303069184,"note":"Value kept but may cause issues"} 
[2026-08-22 18:19:08] 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-22 18:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787402819000,"timestamp_ms":1787402819000,"timestamp_seconds":1787402819,"priority":1,"record_length":96,"hex_timestamp":"000001a0298295b8"} 
[2026-08-22 18: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-22 18:19: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-22 18: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-22 18:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3445566208,"note":"Value kept but may cause issues"} 
[2026-08-22 18:19:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 18:19:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 18:19:08] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3523215360,"note":"Value kept but may cause issues"} 
[2026-08-22 18:19:08] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2180098049,"note":"Value kept but may cause issues"} 
[2026-08-22 18:19:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-08-22 18:19:08] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2952867098,"note":"Value kept but may cause issues"} 
[2026-08-22 18:19:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2285240320,"note":"Value kept but may cause issues"} 
[2026-08-22 18:19:08] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,176,83,24,241,157,16,137,160,126,45,64,61,49,38,10,66,95,128,46,37,48,1,240,169,227,136,41,36,4,113,205,21,198,111,168,39,239,56,43,2,52,7,28],"length":479,"final_offset":609,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-08-22 18:19:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530866242944237568,"timestamp_seconds":3530866242944237.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 18: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-22 18:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:19:08] 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-22 18:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575120896001,"66":14070,"176":206,"83":42752,"24":31,"16":14788070616334336,"45":1935210864303069184},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 18:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575120896001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:19:08] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 18:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14788070616334336,"km_value":14788070616334.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935210864303069184,"description":"Unknown IO ID 45"} 
[2026-08-22 18:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575120896001,"power":14070,"unknown_176":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1935210864303069184}} 
[2026-08-22 18:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":161124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:19:08] local.INFO: GPS data processed {"connection_id":161124,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:19:08] local.INFO: Acknowledgment sent {"connection_id":161124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:19:28] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02982a940012d7f0a8005babcb0000a00092e..."} 
[2026-08-22 18:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02982a940012d7f0a8005babcb0000a00092e..."} 
[2026-08-22 18:19:28] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02982a940012d7f0a8005babcb0000a00092e..."} 
[2026-08-22 18:19:28] local.INFO: Packet analysis {"connection_id":160194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:19:28] local.INFO: Extracted packet for processing {"connection_id":160194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:19:28] local.INFO: GPS Element Parsed {"raw_longitude":763300480,"raw_latitude":96124080,"longitude_deg":76.330048,"latitude_deg":9.612408,"altitude":10,"angle":9,"satellites":46,"speed":16,"hex_longitude":"2d7f0a80","hex_latitude":"05babcb0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575117568001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388968146884624384,"note":"Value kept but may cause issues"} 
[2026-08-22 18:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152932948538847232,"note":"Value kept but may cause issues"} 
[2026-08-22 18:19:28] 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-22 18:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787402824000,"timestamp_ms":1787402824000,"timestamp_seconds":1787402824,"priority":1,"record_length":96,"hex_timestamp":"000001a02982a940"} 
[2026-08-22 18: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-22 18:19: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-22 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 18:19:28] 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-22 18: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-22 18: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-22 18:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575117568001,"66":27767,"120":206,"85":12544,"24":16,"16":388968146884624384,"45":9152932948538847232},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-22 18:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575117568001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:19:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-22 18:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388968146884624384,"km_value":388968146884624.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152932948538847232,"description":"Unknown IO ID 45"} 
[2026-08-22 18:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575117568001,"power":27767,"unknown_120":206,"unknown_85":12544,"ignition":16,"odometer":null,"unknown_45":9152932948538847232}} 
[2026-08-22 18:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":160194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:19:28] local.INFO: GPS data processed {"connection_id":160194,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:19:28] local.INFO: Acknowledgment sent {"connection_id":160194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:19:48] local.INFO: TCP Data received {"connection_id":162547,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:19:48] local.INFO: Processing buffer {"connection_id":162547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:19:48] local.INFO: IMEI packet received {"connection_id":162547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":162547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:19:50] local.INFO: TCP Data received {"connection_id":162547,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:19:50] local.INFO: Processing buffer {"connection_id":162547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:19:50] local.INFO: IMEI packet received {"connection_id":162547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":162547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:19:51] local.INFO: TCP Data received {"connection_id":162547,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029846690012d7f4a0005bc16c8000b00092c..."} 
[2026-08-22 18:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029846690012d7f4a0005bc16c8000b00092c..."} 
[2026-08-22 18:19:51] local.INFO: Processing buffer {"connection_id":162547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029846690012d7f4a0005bc16c8000b00092c..."} 
[2026-08-22 18:19:51] local.INFO: Packet analysis {"connection_id":162547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02984"} 
[2026-08-22 18:19:51] local.INFO: Extracted packet for processing {"connection_id":162547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02984"} 
[2026-08-22 18:19:51] local.INFO: GPS Element Parsed {"raw_longitude":763316736,"raw_latitude":96212680,"longitude_deg":76.3316736,"latitude_deg":9.621268,"altitude":11,"angle":9,"satellites":44,"speed":49,"hex_longitude":"2d7f4a00","hex_latitude":"05bc16c8","is_valid_coordinates":true} 
[2026-08-22 18:19: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-22 18:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575150080001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388972532046233600,"note":"Value kept but may cause issues"} 
[2026-08-22 18:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170384397117034496,"note":"Value kept but may cause issues"} 
[2026-08-22 18:19:51] 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-22 18:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787402938000,"timestamp_ms":1787402938000,"timestamp_seconds":1787402938,"priority":1,"record_length":96,"hex_timestamp":"000001a029846690"} 
[2026-08-22 18:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:19: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 18:19:51] 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-22 18:19: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-22 18:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575150080001,"66":27843,"120":206,"85":12544,"24":49,"16":388972532046233600,"45":9170384397117034496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-22 18:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575150080001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:19:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-22 18:19:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388972532046233600,"km_value":388972532046233.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170384397117034496,"description":"Unknown IO ID 45"} 
[2026-08-22 18:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575150080001,"power":27843,"unknown_120":206,"unknown_85":12544,"ignition":49,"odometer":null,"unknown_45":9170384397117034496}} 
[2026-08-22 18:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":162547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:19:51] local.INFO: GPS data processed {"connection_id":162547,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:19:51] local.INFO: Acknowledgment sent {"connection_id":162547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:19:52] local.INFO: TCP Data received {"connection_id":162548,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:19:52] local.INFO: Processing buffer {"connection_id":162548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:19:52] local.INFO: IMEI packet received {"connection_id":162548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":162548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:19:54] local.INFO: TCP Data received {"connection_id":162548,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:19:54] local.INFO: Processing buffer {"connection_id":162548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:19:54] local.INFO: IMEI packet received {"connection_id":162548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":162548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:19:56] local.INFO: TCP Data received {"connection_id":162548,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:19:56] local.INFO: Processing buffer {"connection_id":162548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:19:56] local.INFO: IMEI packet received {"connection_id":162548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":162548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:20:02] local.INFO: TCP Data received {"connection_id":162548,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02982d438012d1af04007246510002b002725..."} 
[2026-08-22 18:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02982d438012d1af04007246510002b002725..."} 
[2026-08-22 18:20:02] local.INFO: Processing buffer {"connection_id":162548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02982d438012d1af04007246510002b002725..."} 
[2026-08-22 18:20:02] local.INFO: Packet analysis {"connection_id":162548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:20:02] local.INFO: Extracted packet for processing {"connection_id":162548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02982"} 
[2026-08-22 18:20:02] local.INFO: GPS Element Parsed {"raw_longitude":756740160,"raw_latitude":119825680,"longitude_deg":75.674016,"latitude_deg":11.982568,"altitude":43,"angle":39,"satellites":37,"speed":12,"hex_longitude":"2d1af040","hex_latitude":"07246510","is_valid_coordinates":true} 
[2026-08-22 18:20: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-22 18:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575121664001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14788457163390976,"note":"Value kept but may cause issues"} 
[2026-08-22 18:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936688607931283456,"note":"Value kept but may cause issues"} 
[2026-08-22 18:20:02] 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-22 18:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787402835000,"timestamp_ms":1787402835000,"timestamp_seconds":1787402835,"priority":1,"record_length":96,"hex_timestamp":"000001a02982d438"} 
[2026-08-22 18:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:20:02] 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-22 18:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 18:20:02] 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-22 18:20: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-22 18:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:20: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-22 18:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575121664001,"66":14483,"176":206,"83":42752,"24":12,"16":14788457163390976,"45":1936688607931283456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 18:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575121664001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:20:02] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 18:20:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14788457163390976,"km_value":14788457163390.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936688607931283456,"description":"Unknown IO ID 45"} 
[2026-08-22 18:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575121664001,"power":14483,"unknown_176":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1936688607931283456}} 
[2026-08-22 18:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":162548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:20:02] local.INFO: GPS data processed {"connection_id":162548,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:20:02] local.INFO: Acknowledgment sent {"connection_id":162548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:20:22] local.INFO: TCP Data received {"connection_id":162547,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298481e8012d7f508005bc39c8000b00092c..."} 
[2026-08-22 18:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298481e8012d7f508005bc39c8000b00092c..."} 
[2026-08-22 18:20:22] local.INFO: Processing buffer {"connection_id":162547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298481e8012d7f508005bc39c8000b00092c..."} 
[2026-08-22 18:20:22] local.INFO: Packet analysis {"connection_id":162547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02984"} 
[2026-08-22 18:20:22] local.INFO: Extracted packet for processing {"connection_id":162547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02984"} 
[2026-08-22 18:20:22] local.INFO: GPS Element Parsed {"raw_longitude":763318400,"raw_latitude":96221640,"longitude_deg":76.33184,"latitude_deg":9.622164,"altitude":11,"angle":9,"satellites":44,"speed":53,"hex_longitude":"2d7f5080","hex_latitude":"05bc39c8","is_valid_coordinates":true} 
[2026-08-22 18:20: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-22 18:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575152128001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388972970132897792,"note":"Value kept but may cause issues"} 
[2026-08-22 18:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9172143615723882496,"note":"Value kept but may cause issues"} 
[2026-08-22 18:20:22] 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-22 18:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787402945000,"timestamp_ms":1787402945000,"timestamp_seconds":1787402945,"priority":1,"record_length":96,"hex_timestamp":"000001a0298481e8"} 
[2026-08-22 18:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:20: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-22 18:20: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":195,"data_length":795,"current_offset":136} 
[2026-08-22 18:20:22] 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-22 18:20: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-22 18:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575152128001,"66":27669,"120":206,"85":12544,"24":53,"16":388972970132897792,"45":9172143615723882496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-22 18:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575152128001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:20:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-22 18:20:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388972970132897792,"km_value":388972970132897.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9172143615723882496,"description":"Unknown IO ID 45"} 
[2026-08-22 18:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575152128001,"power":27669,"unknown_120":206,"unknown_85":12544,"ignition":53,"odometer":null,"unknown_45":9172143615723882496}} 
[2026-08-22 18:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":162547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:20:22] local.INFO: GPS data processed {"connection_id":162547,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:20:22] local.INFO: Acknowledgment sent {"connection_id":162547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:20:34] local.INFO: TCP Data received {"connection_id":162548,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029832640012d1af78007246c88002d002623..."} 
[2026-08-22 18:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029832640012d1af78007246c88002d002623..."} 
[2026-08-22 18:20:34] local.INFO: Processing buffer {"connection_id":162548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029832640012d1af78007246c88002d002623..."} 
[2026-08-22 18:20:34] local.INFO: Packet analysis {"connection_id":162548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02983"} 
[2026-08-22 18:20:34] local.INFO: Extracted packet for processing {"connection_id":162548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02983"} 
[2026-08-22 18:20:34] local.INFO: GPS Element Parsed {"raw_longitude":756742016,"raw_latitude":119827592,"longitude_deg":75.6742016,"latitude_deg":11.9827592,"altitude":45,"angle":38,"satellites":35,"speed":8,"hex_longitude":"2d1af780","hex_latitude":"07246c88","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575125760001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14788586012409856,"note":"Value kept but may cause issues"} 
[2026-08-22 18:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941121838816235520,"note":"Value kept but may cause issues"} 
[2026-08-22 18:20:34] 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-22 18:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787402856000,"timestamp_ms":1787402856000,"timestamp_seconds":1787402856,"priority":1,"record_length":96,"hex_timestamp":"000001a029832640"} 
[2026-08-22 18: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-22 18:20:34] 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-22 18: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":147,"data_length":795,"current_offset":136} 
[2026-08-22 18:20: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-22 18: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-22 18: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-22 18:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:20:34] 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-22 18:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575125760001,"66":14428,"176":206,"83":42752,"24":8,"16":14788586012409856,"45":1941121838816235520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 18:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575125760001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:20:34] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 18:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14788586012409856,"km_value":14788586012409.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941121838816235520,"description":"Unknown IO ID 45"} 
[2026-08-22 18:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575125760001,"power":14428,"unknown_176":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1941121838816235520}} 
[2026-08-22 18:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":162548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:20:34] local.INFO: GPS data processed {"connection_id":162548,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:20:34] local.INFO: Acknowledgment sent {"connection_id":162548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:20:48] local.INFO: TCP Data received {"connection_id":161125,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:20:48] local.INFO: Processing buffer {"connection_id":161125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:20:48] local.INFO: IMEI packet received {"connection_id":161125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":161125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:20:52] local.INFO: TCP Data received {"connection_id":160195,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:20:52] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:20:52] local.INFO: IMEI packet received {"connection_id":160195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":160195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:20:53] local.INFO: TCP Data received {"connection_id":161125,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:20:53] local.INFO: Processing buffer {"connection_id":161125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:20:53] local.INFO: IMEI packet received {"connection_id":161125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":161125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:20:54] local.INFO: TCP Data received {"connection_id":161125,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029849d40012d7f564005bc5d88000b00052b..."} 
[2026-08-22 18:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029849d40012d7f564005bc5d88000b00052b..."} 
[2026-08-22 18:20:54] local.INFO: Processing buffer {"connection_id":161125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029849d40012d7f564005bc5d88000b00052b..."} 
[2026-08-22 18:20:54] local.INFO: Packet analysis {"connection_id":161125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02984"} 
[2026-08-22 18:20:54] local.INFO: Extracted packet for processing {"connection_id":161125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02984"} 
[2026-08-22 18:20:54] local.INFO: GPS Element Parsed {"raw_longitude":763319872,"raw_latitude":96230792,"longitude_deg":76.3319872,"latitude_deg":9.6230792,"altitude":11,"angle":5,"satellites":43,"speed":49,"hex_longitude":"2d7f5640","hex_latitude":"05bc5d88","is_valid_coordinates":true} 
[2026-08-22 18:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575153920001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388973421104463872,"note":"Value kept but may cause issues"} 
[2026-08-22 18:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9173973203074795520,"note":"Value kept but may cause issues"} 
[2026-08-22 18:20:54] 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-22 18:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787402952000,"timestamp_ms":1787402952000,"timestamp_seconds":1787402952,"priority":1,"record_length":96,"hex_timestamp":"000001a029849d40"} 
[2026-08-22 18:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:20: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-22 18:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-08-22 18:20:54] 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-22 18:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575153920001,"66":27713,"120":206,"85":12544,"24":49,"16":388973421104463872,"45":9173973203074795520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-22 18:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575153920001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:20:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-22 18:20:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388973421104463872,"km_value":388973421104463.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9173973203074795520,"description":"Unknown IO ID 45"} 
[2026-08-22 18:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575153920001,"power":27713,"unknown_120":206,"unknown_85":12544,"ignition":49,"odometer":null,"unknown_45":9173973203074795520}} 
[2026-08-22 18:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":161125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:20:54] local.INFO: GPS data processed {"connection_id":161125,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:20:54] local.INFO: Acknowledgment sent {"connection_id":161125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:20:58] local.INFO: TCP Data received {"connection_id":160195,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:20:58] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:20:58] local.INFO: IMEI packet received {"connection_id":160195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":160195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:20:59] local.INFO: TCP Data received {"connection_id":160195,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029837848012d1aff0007247478002d003124..."} 
[2026-08-22 18:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029837848012d1aff0007247478002d003124..."} 
[2026-08-22 18:20:59] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029837848012d1aff0007247478002d003124..."} 
[2026-08-22 18:20:59] local.INFO: Packet analysis {"connection_id":160195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02983"} 
[2026-08-22 18:20:59] local.INFO: Extracted packet for processing {"connection_id":160195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02983"} 
[2026-08-22 18:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756743936,"raw_latitude":119829624,"longitude_deg":75.6743936,"latitude_deg":11.9829624,"altitude":45,"angle":49,"satellites":36,"speed":5,"hex_longitude":"2d1aff00","hex_latitude":"07247478","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575131136001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14788719156396032,"note":"Value kept but may cause issues"} 
[2026-08-22 18:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943162532397877248,"note":"Value kept but may cause issues"} 
[2026-08-22 18:20:59] 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-22 18:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787402877000,"timestamp_ms":1787402877000,"timestamp_seconds":1787402877,"priority":1,"record_length":96,"hex_timestamp":"000001a029837848"} 
[2026-08-22 18: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-22 18:20: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-22 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 18:20: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-22 18: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-22 18: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-22 18:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:20:59] 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-22 18:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575131136001,"66":14004,"176":206,"83":42752,"24":5,"16":14788719156396032,"45":1943162532397877248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 18:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575131136001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:20:59] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 18:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14788719156396032,"km_value":14788719156396.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943162532397877248,"description":"Unknown IO ID 45"} 
[2026-08-22 18:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575131136001,"power":14004,"unknown_176":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1943162532397877248}} 
[2026-08-22 18:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":160195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:20:59] local.INFO: GPS data processed {"connection_id":160195,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:20:59] local.INFO: Acknowledgment sent {"connection_id":160195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:21:25] local.INFO: TCP Data received {"connection_id":161125,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02984c068012d7f594005bc8108000a00092d..."} 
[2026-08-22 18:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02984c068012d7f594005bc8108000a00092d..."} 
[2026-08-22 18:21:25] local.INFO: Processing buffer {"connection_id":161125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02984c068012d7f594005bc8108000a00092d..."} 
[2026-08-22 18:21:25] local.INFO: Packet analysis {"connection_id":161125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02984"} 
[2026-08-22 18:21:25] local.INFO: Extracted packet for processing {"connection_id":161125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02984"} 
[2026-08-22 18:21:25] local.INFO: GPS Element Parsed {"raw_longitude":763320640,"raw_latitude":96239880,"longitude_deg":76.332064,"latitude_deg":9.623988,"altitude":10,"angle":9,"satellites":45,"speed":27,"hex_longitude":"2d7f5940","hex_latitude":"05bc8108","is_valid_coordinates":true} 
[2026-08-22 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-22 18:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575155712001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388973863486095360,"note":"Value kept but may cause issues"} 
[2026-08-22 18:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175591684193224704,"note":"Value kept but may cause issues"} 
[2026-08-22 18:21:25] 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-22 18:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787402961000,"timestamp_ms":1787402961000,"timestamp_seconds":1787402961,"priority":1,"record_length":96,"hex_timestamp":"000001a02984c068"} 
[2026-08-22 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-22 18: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-22 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":65,"data_length":795,"current_offset":136} 
[2026-08-22 18:21: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-22 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-22 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-22 18:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575155712001,"66":27843,"120":206,"85":12544,"24":27,"16":388973863486095360,"45":9175591684193224704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-22 18:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575155712001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:21:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-22 18:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388973863486095360,"km_value":388973863486095.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175591684193224704,"description":"Unknown IO ID 45"} 
[2026-08-22 18:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575155712001,"power":27843,"unknown_120":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9175591684193224704}} 
[2026-08-22 18:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":161125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:21:25] local.INFO: GPS data processed {"connection_id":161125,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:21:25] local.INFO: Acknowledgment sent {"connection_id":161125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:21:30] local.INFO: TCP Data received {"connection_id":160195,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02983ca50012d1b088007247e88002e002829..."} 
[2026-08-22 18:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02983ca50012d1b088007247e88002e002829..."} 
[2026-08-22 18:21:30] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02983ca50012d1b088007247e88002e002829..."} 
[2026-08-22 18:21:30] local.INFO: Packet analysis {"connection_id":160195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02983"} 
[2026-08-22 18:21:30] local.INFO: Extracted packet for processing {"connection_id":160195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02983"} 
[2026-08-22 18:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756746368,"raw_latitude":119832200,"longitude_deg":75.6746368,"latitude_deg":11.98322,"altitude":46,"angle":40,"satellites":41,"speed":11,"hex_longitude":"2d1b0880","hex_latitude":"07247e88","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575136512001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14788890955087872,"note":"Value kept but may cause issues"} 
[2026-08-22 18:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945273594723727360,"note":"Value kept but may cause issues"} 
[2026-08-22 18:21:30] 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-22 18:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787402898000,"timestamp_ms":1787402898000,"timestamp_seconds":1787402898,"priority":1,"record_length":96,"hex_timestamp":"000001a02983ca50"} 
[2026-08-22 18: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-22 18:21: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-22 18: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-22 18:21:30] 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-22 18: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-22 18: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-22 18:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:21: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-22 18:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575136512001,"66":14515,"176":206,"83":42752,"24":11,"16":14788890955087872,"45":1945273594723727360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 18:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575136512001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:21:30] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 18:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14788890955087872,"km_value":14788890955087.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945273594723727360,"description":"Unknown IO ID 45"} 
[2026-08-22 18:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575136512001,"power":14515,"unknown_176":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1945273594723727360}} 
[2026-08-22 18:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":160195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:21:30] local.INFO: GPS data processed {"connection_id":160195,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:21:30] local.INFO: Acknowledgment sent {"connection_id":160195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:21:48] local.INFO: TCP Data received {"connection_id":162549,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:21:48] local.INFO: Processing buffer {"connection_id":162549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:21:48] local.INFO: IMEI packet received {"connection_id":162549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":162549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:21:53] local.INFO: TCP Data received {"connection_id":162549,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:21:53] local.INFO: Processing buffer {"connection_id":162549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:21:53] local.INFO: IMEI packet received {"connection_id":162549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":162549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:21:54] local.INFO: TCP Data received {"connection_id":162549,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298506b8012d7f5ec005bca3f8000a00082c..."} 
[2026-08-22 18:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298506b8012d7f5ec005bca3f8000a00082c..."} 
[2026-08-22 18:21:54] local.INFO: Processing buffer {"connection_id":162549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298506b8012d7f5ec005bca3f8000a00082c..."} 
[2026-08-22 18:21:54] local.INFO: Packet analysis {"connection_id":162549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02985"} 
[2026-08-22 18:21:54] local.INFO: Extracted packet for processing {"connection_id":162549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02985"} 
[2026-08-22 18:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763322048,"raw_latitude":96248824,"longitude_deg":76.3322048,"latitude_deg":9.6248824,"altitude":10,"angle":8,"satellites":44,"speed":22,"hex_longitude":"2d7f5ec0","hex_latitude":"05bca3f8","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575158016001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388974305867726848,"note":"Value kept but may cause issues"} 
[2026-08-22 18:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176436109125683200,"note":"Value kept but may cause issues"} 
[2026-08-22 18:21:54] 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-22 18:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787402979000,"timestamp_ms":1787402979000,"timestamp_seconds":1787402979,"priority":1,"record_length":96,"hex_timestamp":"000001a0298506b8"} 
[2026-08-22 18: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-22 18:21: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-22 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 18:21:54] 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-22 18: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-22 18: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-22 18:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575158016001,"66":27843,"121":206,"85":12544,"24":22,"16":388974305867726848,"45":9176436109125683200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-22 18:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575158016001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:21:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-22 18:21:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388974305867726848,"km_value":388974305867726.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176436109125683200,"description":"Unknown IO ID 45"} 
[2026-08-22 18:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575158016001,"power":27843,"unknown_121":206,"unknown_85":12544,"ignition":22,"odometer":null,"unknown_45":9176436109125683200}} 
[2026-08-22 18:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":162549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:21:54] local.INFO: GPS data processed {"connection_id":162549,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:21:54] local.INFO: Acknowledgment sent {"connection_id":162549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:22:02] local.INFO: TCP Data received {"connection_id":161126,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:22:02] local.INFO: Processing buffer {"connection_id":161126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:22:02] local.INFO: IMEI packet received {"connection_id":161126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":161126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:22:03] local.INFO: TCP Data received {"connection_id":161126,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:22:03] local.INFO: Processing buffer {"connection_id":161126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:22:03] local.INFO: IMEI packet received {"connection_id":161126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":161126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:22:07] local.INFO: TCP Data received {"connection_id":161126,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:22:07] local.INFO: Processing buffer {"connection_id":161126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:22:07] local.INFO: IMEI packet received {"connection_id":161126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":161126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:22:08] local.INFO: TCP Data received {"connection_id":161126,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02985d9a8012d1b5f80072534a00027000821..."} 
[2026-08-22 18:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02985d9a8012d1b5f80072534a00027000821..."} 
[2026-08-22 18:22:08] local.INFO: Processing buffer {"connection_id":161126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02985d9a8012d1b5f80072534a00027000821..."} 
[2026-08-22 18:22:08] local.INFO: Packet analysis {"connection_id":161126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02985"} 
[2026-08-22 18:22:08] local.INFO: Extracted packet for processing {"connection_id":161126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02985"} 
[2026-08-22 18:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878816,"longitude_deg":75.676864,"latitude_deg":11.9878816,"altitude":39,"angle":8,"satellites":33,"speed":24,"hex_longitude":"2d1b5f80","hex_latitude":"072534a0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575172864001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14791596784484352,"note":"Value kept but may cause issues"} 
[2026-08-22 18:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747080126347264,"note":"Value kept but may cause issues"} 
[2026-08-22 18:22:08] 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-22 18:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787403033000,"timestamp_ms":1787403033000,"timestamp_seconds":1787403033,"priority":1,"record_length":96,"hex_timestamp":"000001a02985d9a8"} 
[2026-08-22 18: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-22 18:22: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-22 18: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-22 18:22:08] 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-22 18: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-22 18: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-22 18:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:22:08] 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-22 18:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575172864001,"66":13993,"43":206,"83":41984,"24":24,"16":14791596784484352,"45":1970747080126347264},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 18:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575172864001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:22:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 18:22:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14791596784484352,"km_value":14791596784484.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747080126347264,"description":"Unknown IO ID 45"} 
[2026-08-22 18:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575172864001,"power":13993,"unknown_43":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1970747080126347264}} 
[2026-08-22 18:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":161126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:22:08] local.INFO: GPS data processed {"connection_id":161126,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:22:08] local.INFO: Acknowledgment sent {"connection_id":161126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:22:25] local.INFO: TCP Data received {"connection_id":162549,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298558c0012d7f614005bcb1e8000a000e2c..."} 
[2026-08-22 18:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298558c0012d7f614005bcb1e8000a000e2c..."} 
[2026-08-22 18:22:25] local.INFO: Processing buffer {"connection_id":162549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298558c0012d7f614005bcb1e8000a000e2c..."} 
[2026-08-22 18:22:25] local.INFO: Packet analysis {"connection_id":162549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02985"} 
[2026-08-22 18:22:25] local.INFO: Extracted packet for processing {"connection_id":162549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02985"} 
[2026-08-22 18:22:25] local.INFO: GPS Element Parsed {"raw_longitude":763322688,"raw_latitude":96252392,"longitude_deg":76.3322688,"latitude_deg":9.6252392,"altitude":10,"angle":14,"satellites":44,"speed":0,"hex_longitude":"2d7f6140","hex_latitude":"05bcb1e8","is_valid_coordinates":true} 
[2026-08-22 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-22 18:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575162624001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388974486256353280,"note":"Value kept but may cause issues"} 
[2026-08-22 18:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177984221499881472,"note":"Value kept but may cause issues"} 
[2026-08-22 18:22: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-22 18:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787403000000,"timestamp_ms":1787403000000,"timestamp_seconds":1787403000,"priority":1,"record_length":96,"hex_timestamp":"000001a0298558c0"} 
[2026-08-22 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-22 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-22 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":195,"data_length":795,"current_offset":136} 
[2026-08-22 18:22: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-22 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-22 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-22 18:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575162624001,"66":27745,"121":206,"85":12544,"24":0,"16":388974486256353280,"45":9177984221499881472},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-22 18:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575162624001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:22:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-22 18:22:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388974486256353280,"km_value":388974486256353.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177984221499881472,"description":"Unknown IO ID 45"} 
[2026-08-22 18:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575162624001,"power":27745,"unknown_121":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9177984221499881472}} 
[2026-08-22 18:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":162549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:22:25] local.INFO: GPS data processed {"connection_id":162549,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:22:25] local.INFO: Acknowledgment sent {"connection_id":162549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:22:48] local.INFO: TCP Data received {"connection_id":161127,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:22:48] local.INFO: Processing buffer {"connection_id":161127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:22:48] local.INFO: IMEI packet received {"connection_id":161127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":161127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:22:53] local.INFO: TCP Data received {"connection_id":161127,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:22:53] local.INFO: Processing buffer {"connection_id":161127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:22:53] local.INFO: IMEI packet received {"connection_id":161127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":161127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:22:54] local.INFO: TCP Data received {"connection_id":161127,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02985aac8012d7f618005bcb2b0000c000e2d..."} 
[2026-08-22 18:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02985aac8012d7f618005bcb2b0000c000e2d..."} 
[2026-08-22 18:22:54] local.INFO: Processing buffer {"connection_id":161127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02985aac8012d7f618005bcb2b0000c000e2d..."} 
[2026-08-22 18:22:54] local.INFO: Packet analysis {"connection_id":161127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02985"} 
[2026-08-22 18:22:54] local.INFO: Extracted packet for processing {"connection_id":161127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02985"} 
[2026-08-22 18:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763322752,"raw_latitude":96252592,"longitude_deg":76.3322752,"latitude_deg":9.6252592,"altitude":12,"angle":14,"satellites":45,"speed":0,"hex_longitude":"2d7f6180","hex_latitude":"05bcb2b0","is_valid_coordinates":true} 
[2026-08-22 18:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575168000001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388974494846287872,"note":"Value kept but may cause issues"} 
[2026-08-22 18:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178687908942571520,"note":"Value kept but may cause issues"} 
[2026-08-22 18:22:54] 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-22 18:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787403021000,"timestamp_ms":1787403021000,"timestamp_seconds":1787403021,"priority":1,"record_length":96,"hex_timestamp":"000001a02985aac8"} 
[2026-08-22 18:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:22: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-22 18:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 18:22:54] 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-22 18:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575168000001,"66":27767,"121":206,"85":12544,"24":0,"16":388974494846287872,"45":9178687908942571520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-22 18:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575168000001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:22:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-22 18:22:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388974494846287872,"km_value":388974494846287.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178687908942571520,"description":"Unknown IO ID 45"} 
[2026-08-22 18:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575168000001,"power":27767,"unknown_121":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9178687908942571520}} 
[2026-08-22 18:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":161127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:22:54] local.INFO: GPS data processed {"connection_id":161127,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:22:54] local.INFO: Acknowledgment sent {"connection_id":161127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:23:02] local.INFO: TCP Data received {"connection_id":159961,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:02] local.INFO: Processing buffer {"connection_id":159961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:02] local.INFO: IMEI packet received {"connection_id":159961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":159961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:23:02] local.INFO: TCP Data received {"connection_id":159961,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:02] local.INFO: Processing buffer {"connection_id":159961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:02] local.INFO: IMEI packet received {"connection_id":159961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":159961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:23:07] local.INFO: TCP Data received {"connection_id":159961,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:07] local.INFO: Processing buffer {"connection_id":159961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:07] local.INFO: IMEI packet received {"connection_id":159961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":159961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:23:08] local.INFO: TCP Data received {"connection_id":159961,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029875878012d1b35400725bb380027000e23..."} 
[2026-08-22 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029875878012d1b35400725bb380027000e23..."} 
[2026-08-22 18:23:08] local.INFO: Processing buffer {"connection_id":159961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029875878012d1b35400725bb380027000e23..."} 
[2026-08-22 18:23:08] local.INFO: Packet analysis {"connection_id":159961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02987"} 
[2026-08-22 18:23:08] local.INFO: Extracted packet for processing {"connection_id":159961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02987"} 
[2026-08-22 18:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756757824,"raw_latitude":119913272,"longitude_deg":75.6757824,"latitude_deg":11.9913272,"altitude":39,"angle":14,"satellites":35,"speed":23,"hex_longitude":"2d1b3540","hex_latitude":"0725bb38","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575201024001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14793439325454336,"note":"Value kept but may cause issues"} 
[2026-08-22 18:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960332505998872576,"note":"Value kept but may cause issues"} 
[2026-08-22 18:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787403131000,"timestamp_ms":1787403131000,"timestamp_seconds":1787403131,"priority":1,"record_length":96,"hex_timestamp":"000001a029875878"} 
[2026-08-22 18: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-22 18:23: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-22 18: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-22 18:23: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-22 18: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-22 18: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-22 18:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:23:08] 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-22 18:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575201024001,"66":14102,"217":206,"83":42752,"24":23,"16":14793439325454336,"45":1960332505998872576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 18:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575201024001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:23:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 18:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14793439325454336,"km_value":14793439325454.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960332505998872576,"description":"Unknown IO ID 45"} 
[2026-08-22 18:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575201024001,"power":14102,"unknown_217":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1960332505998872576}} 
[2026-08-22 18:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":159961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:23:08] local.INFO: GPS data processed {"connection_id":159961,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:23:08] local.INFO: Acknowledgment sent {"connection_id":159961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:23:25] local.INFO: TCP Data received {"connection_id":161127,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02985fcd0012d7f64c005bcc2f0000c000b2c..."} 
[2026-08-22 18:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02985fcd0012d7f64c005bcc2f0000c000b2c..."} 
[2026-08-22 18:23:25] local.INFO: Processing buffer {"connection_id":161127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02985fcd0012d7f64c005bcc2f0000c000b2c..."} 
[2026-08-22 18:23:25] local.INFO: Packet analysis {"connection_id":161127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02985"} 
[2026-08-22 18:23:25] local.INFO: Extracted packet for processing {"connection_id":161127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02985"} 
[2026-08-22 18:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763323584,"raw_latitude":96256752,"longitude_deg":76.3323584,"latitude_deg":9.6256752,"altitude":12,"angle":11,"satellites":44,"speed":5,"hex_longitude":"2d7f64c0","hex_latitude":"05bcc2f0","is_valid_coordinates":true} 
[2026-08-22 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-22 18:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575173376001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388974705299685376,"note":"Value kept but may cause issues"} 
[2026-08-22 18:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178758277686800384,"note":"Value kept but may cause issues"} 
[2026-08-22 18:23: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-22 18:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787403042000,"timestamp_ms":1787403042000,"timestamp_seconds":1787403042,"priority":1,"record_length":96,"hex_timestamp":"000001a02985fcd0"} 
[2026-08-22 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-22 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-22 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 18:23: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-22 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-22 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-22 18:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575173376001,"66":27745,"121":206,"85":12544,"24":5,"16":388974705299685376,"45":9178758277686800384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-22 18:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575173376001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:23:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-22 18:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388974705299685376,"km_value":388974705299685.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178758277686800384,"description":"Unknown IO ID 45"} 
[2026-08-22 18:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575173376001,"power":27745,"unknown_121":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9178758277686800384}} 
[2026-08-22 18:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":161127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:23:25] local.INFO: GPS data processed {"connection_id":161127,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:23:25] local.INFO: Acknowledgment sent {"connection_id":161127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:23:48] local.INFO: TCP Data received {"connection_id":161128,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:23:48] local.INFO: Processing buffer {"connection_id":161128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:23:48] local.INFO: IMEI packet received {"connection_id":161128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":161128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:23:49] local.INFO: TCP Data received {"connection_id":161128,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:23:49] local.INFO: Processing buffer {"connection_id":161128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:23:49] local.INFO: IMEI packet received {"connection_id":161128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":161128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:23:52] local.INFO: TCP Data received {"connection_id":159962,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:52] local.INFO: Processing buffer {"connection_id":159962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:52] local.INFO: IMEI packet received {"connection_id":159962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":159962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:23:53] local.INFO: TCP Data received {"connection_id":161128,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:23:53] local.INFO: Processing buffer {"connection_id":161128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:23:53] local.INFO: IMEI packet received {"connection_id":161128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":161128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:23:54] local.INFO: TCP Data received {"connection_id":161128,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029864ed8012d7f66c005bcccc0000d000b2a..."} 
[2026-08-22 18:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029864ed8012d7f66c005bcccc0000d000b2a..."} 
[2026-08-22 18:23:54] local.INFO: Processing buffer {"connection_id":161128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029864ed8012d7f66c005bcccc0000d000b2a..."} 
[2026-08-22 18:23:54] local.INFO: Packet analysis {"connection_id":161128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02986"} 
[2026-08-22 18:23:54] local.INFO: Extracted packet for processing {"connection_id":161128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02986"} 
[2026-08-22 18:23:54] local.INFO: GPS Element Parsed {"raw_longitude":763324096,"raw_latitude":96259264,"longitude_deg":76.3324096,"latitude_deg":9.6259264,"altitude":13,"angle":11,"satellites":42,"speed":0,"hex_longitude":"2d7f66c0","hex_latitude":"05bcccc0","is_valid_coordinates":true} 
[2026-08-22 18:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575178752001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388974834148704256,"note":"Value kept but may cause issues"} 
[2026-08-22 18:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179673071362174976,"note":"Value kept but may cause issues"} 
[2026-08-22 18:23:54] 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-22 18:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787403063000,"timestamp_ms":1787403063000,"timestamp_seconds":1787403063,"priority":1,"record_length":96,"hex_timestamp":"000001a029864ed8"} 
[2026-08-22 18:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:23: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-22 18:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 18:23:54] 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-22 18:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575178752001,"66":27626,"121":206,"85":12544,"24":0,"16":388974834148704256,"45":9179673071362174976},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-22 18:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575178752001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:23:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-22 18:23:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388974834148704256,"km_value":388974834148704.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179673071362174976,"description":"Unknown IO ID 45"} 
[2026-08-22 18:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575178752001,"power":27626,"unknown_121":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9179673071362174976}} 
[2026-08-22 18:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":161128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:23:54] local.INFO: GPS data processed {"connection_id":161128,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:23:54] local.INFO: Acknowledgment sent {"connection_id":161128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:23:55] local.INFO: TCP Data received {"connection_id":159962,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:55] local.INFO: Processing buffer {"connection_id":159962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:55] local.INFO: IMEI packet received {"connection_id":159962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":159962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:23:57] local.INFO: TCP Data received {"connection_id":159962,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:57] local.INFO: Processing buffer {"connection_id":159962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:23:57] local.INFO: IMEI packet received {"connection_id":159962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":159962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:23:58] local.INFO: TCP Data received {"connection_id":159962,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029881fb0012d1b2d4007261f880028010f22..."} 
[2026-08-22 18:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029881fb0012d1b2d4007261f880028010f22..."} 
[2026-08-22 18:23:58] local.INFO: Processing buffer {"connection_id":159962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029881fb0012d1b2d4007261f880028010f22..."} 
[2026-08-22 18:23:58] local.INFO: Packet analysis {"connection_id":159962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02988"} 
[2026-08-22 18:23:58] local.INFO: Extracted packet for processing {"connection_id":159962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02988"} 
[2026-08-22 18:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756755776,"raw_latitude":119938952,"longitude_deg":75.6755776,"latitude_deg":11.9938952,"altitude":40,"angle":271,"satellites":34,"speed":31,"hex_longitude":"2d1b2d40","hex_latitude":"07261f88","is_valid_coordinates":true} 
[2026-08-22 18:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575213056001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14795170197274624,"note":"Value kept but may cause issues"} 
[2026-08-22 18:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963217624517318656,"note":"Value kept but may cause issues"} 
[2026-08-22 18:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787403182000,"timestamp_ms":1787403182000,"timestamp_seconds":1787403182,"priority":1,"record_length":96,"hex_timestamp":"000001a029881fb0"} 
[2026-08-22 18:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-22 18:23:58] 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-22 18:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:23: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-22 18:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575213056001,"66":14363,"43":206,"83":41984,"24":31,"16":14795170197274624,"45":1963217624517318656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 18:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575213056001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:23:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 18:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14795170197274624,"km_value":14795170197274.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963217624517318656,"description":"Unknown IO ID 45"} 
[2026-08-22 18:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575213056001,"power":14363,"unknown_43":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1963217624517318656}} 
[2026-08-22 18:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":159962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:23:58] local.INFO: GPS data processed {"connection_id":159962,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:23:58] local.INFO: Acknowledgment sent {"connection_id":159962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:23:59] local.INFO: TCP Data received {"connection_id":159962,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029882780012d1b2680072620a00028011f23..."} 
[2026-08-22 18:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029882780012d1b2680072620a00028011f23..."} 
[2026-08-22 18:23:59] local.INFO: Processing buffer {"connection_id":159962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029882780012d1b2680072620a00028011f23..."} 
[2026-08-22 18:23:59] local.INFO: Packet analysis {"connection_id":159962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02988"} 
[2026-08-22 18:23:59] local.INFO: Extracted packet for processing {"connection_id":159962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02988"} 
[2026-08-22 18:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756754048,"raw_latitude":119939232,"longitude_deg":75.6754048,"latitude_deg":11.9939232,"altitude":40,"angle":287,"satellites":35,"speed":32,"hex_longitude":"2d1b2680","hex_latitude":"072620a0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575214592001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14795251801653248,"note":"Value kept but may cause issues"} 
[2026-08-22 18:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958291812424583168,"note":"Value kept but may cause issues"} 
[2026-08-22 18:23:59] 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-22 18:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787403184000,"timestamp_ms":1787403184000,"timestamp_seconds":1787403184,"priority":1,"record_length":96,"hex_timestamp":"000001a029882780"} 
[2026-08-22 18: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-22 18:23: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-22 18: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-22 18:23:59] 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-22 18: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-22 18: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-22 18:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:23:59] 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-22 18:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575214592001,"66":14396,"43":206,"83":41984,"24":32,"16":14795251801653248,"45":1958291812424583168},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 18:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575214592001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:23:59] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 18:23:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14795251801653248,"km_value":14795251801653.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958291812424583168,"description":"Unknown IO ID 45"} 
[2026-08-22 18:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575214592001,"power":14396,"unknown_43":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1958291812424583168}} 
[2026-08-22 18:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":159962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:24:00] local.INFO: GPS data processed {"connection_id":159962,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:24:00] local.INFO: Acknowledgment sent {"connection_id":159962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:24:26] local.INFO: TCP Data received {"connection_id":161128,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02986a0e0012d7f69c005bcdb38000c000b2b..."} 
[2026-08-22 18:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02986a0e0012d7f69c005bcdb38000c000b2b..."} 
[2026-08-22 18:24:26] local.INFO: Processing buffer {"connection_id":161128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02986a0e0012d7f69c005bcdb38000c000b2b..."} 
[2026-08-22 18:24:26] local.INFO: Packet analysis {"connection_id":161128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02986"} 
[2026-08-22 18:24:26] local.INFO: Extracted packet for processing {"connection_id":161128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02986"} 
[2026-08-22 18:24:26] local.INFO: GPS Element Parsed {"raw_longitude":763324864,"raw_latitude":96262968,"longitude_deg":76.3324864,"latitude_deg":9.6262968,"altitude":12,"angle":11,"satellites":43,"speed":7,"hex_longitude":"2d7f69c0","hex_latitude":"05bcdb38","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575184128001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388975018832297984,"note":"Value kept but may cause issues"} 
[2026-08-22 18:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9180236021316239360,"note":"Value kept but may cause issues"} 
[2026-08-22 18:24:26] 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-22 18:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787403084000,"timestamp_ms":1787403084000,"timestamp_seconds":1787403084,"priority":1,"record_length":96,"hex_timestamp":"000001a02986a0e0"} 
[2026-08-22 18: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-22 18:24: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-22 18: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-22 18:24:26] 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-22 18: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-22 18: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-22 18:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575184128001,"66":27800,"121":206,"85":12544,"24":7,"16":388975018832297984,"45":9180236021316239360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-22 18:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575184128001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:24:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-22 18:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388975018832297984,"km_value":388975018832298.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9180236021316239360,"description":"Unknown IO ID 45"} 
[2026-08-22 18:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575184128001,"power":27800,"unknown_121":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9180236021316239360}} 
[2026-08-22 18:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":161128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:24:26] local.INFO: GPS data processed {"connection_id":161128,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:24:26] local.INFO: Acknowledgment sent {"connection_id":161128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:24:30] local.INFO: TCP Data received {"connection_id":159962,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029882f50012d1b2040072623580029012c23..."} 
[2026-08-22 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029882f50012d1b2040072623580029012c23..."} 
[2026-08-22 18:24:30] local.INFO: Processing buffer {"connection_id":159962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029882f50012d1b2040072623580029012c23..."} 
[2026-08-22 18:24:30] local.INFO: Packet analysis {"connection_id":159962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02988"} 
[2026-08-22 18:24:30] local.INFO: Extracted packet for processing {"connection_id":159962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02988"} 
[2026-08-22 18:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756752448,"raw_latitude":119939928,"longitude_deg":75.6752448,"latitude_deg":11.9939928,"altitude":41,"angle":300,"satellites":35,"speed":35,"hex_longitude":"2d1b2040","hex_latitude":"07262358","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575215104001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14795333406031872,"note":"Value kept but may cause issues"} 
[2026-08-22 18:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956391856331857920,"note":"Value kept but may cause issues"} 
[2026-08-22 18:24:30] 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-22 18:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787403186000,"timestamp_ms":1787403186000,"timestamp_seconds":1787403186,"priority":1,"record_length":96,"hex_timestamp":"000001a029882f50"} 
[2026-08-22 18: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-22 18:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 18:24: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-22 18: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-22 18: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-22 18:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:24: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-22 18:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575215104001,"66":14428,"43":206,"83":41984,"24":35,"16":14795333406031872,"45":1956391856331857920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 18:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575215104001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:24:30] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 18:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14795333406031872,"km_value":14795333406031.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956391856331857920,"description":"Unknown IO ID 45"} 
[2026-08-22 18:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575215104001,"power":14428,"unknown_43":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1956391856331857920}} 
[2026-08-22 18:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":159962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:24:30] local.INFO: GPS data processed {"connection_id":159962,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:24:30] local.INFO: Acknowledgment sent {"connection_id":159962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:24:48] local.INFO: TCP Data received {"connection_id":162550,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:24:48] local.INFO: Processing buffer {"connection_id":162550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:24:48] local.INFO: IMEI packet received {"connection_id":162550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":162550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:24:52] local.INFO: TCP Data received {"connection_id":162551,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:24:52] local.INFO: Processing buffer {"connection_id":162551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:24:52] local.INFO: IMEI packet received {"connection_id":162551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":162551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:24:53] local.INFO: TCP Data received {"connection_id":162550,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:24:53] local.INFO: Processing buffer {"connection_id":162550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:24:53] local.INFO: IMEI packet received {"connection_id":162550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":162550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:24:53] local.INFO: TCP Data received {"connection_id":162550,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:24:53] local.INFO: Processing buffer {"connection_id":162550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:24:53] local.INFO: IMEI packet received {"connection_id":162550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":162550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:24:54] local.INFO: TCP Data received {"connection_id":162550,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02988eeb8012d7f724005bd1868001a001529..."} 
[2026-08-22 18:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02988eeb8012d7f724005bd1868001a001529..."} 
[2026-08-22 18:24:54] local.INFO: Processing buffer {"connection_id":162550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02988eeb8012d7f724005bd1868001a001529..."} 
[2026-08-22 18:24:54] local.INFO: Packet analysis {"connection_id":162550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02988"} 
[2026-08-22 18:24:54] local.INFO: Extracted packet for processing {"connection_id":162550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02988"} 
[2026-08-22 18:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763327040,"raw_latitude":96278632,"longitude_deg":76.332704,"latitude_deg":9.6278632,"altitude":26,"angle":21,"satellites":41,"speed":6,"hex_longitude":"2d7f7240","hex_latitude":"05bd1868","is_valid_coordinates":true} 
[2026-08-22 18:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575226368001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388975804811313152,"note":"Value kept but may cause issues"} 
[2026-08-22 18:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183261877320615936,"note":"Value kept but may cause issues"} 
[2026-08-22 18:24:54] 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-22 18:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787403235000,"timestamp_ms":1787403235000,"timestamp_seconds":1787403235,"priority":1,"record_length":96,"hex_timestamp":"000001a02988eeb8"} 
[2026-08-22 18:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:24: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-22 18:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-22 18:24:54] 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-22 18:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575226368001,"66":27767,"119":206,"85":12544,"24":6,"16":388975804811313152,"45":9183261877320615936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-22 18:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575226368001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:24:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-22 18:24:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388975804811313152,"km_value":388975804811313.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183261877320615936,"description":"Unknown IO ID 45"} 
[2026-08-22 18:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575226368001,"power":27767,"unknown_119":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9183261877320615936}} 
[2026-08-22 18:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":162550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:24:54] local.INFO: GPS data processed {"connection_id":162550,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:24:54] local.INFO: Acknowledgment sent {"connection_id":162550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:24:55] local.INFO: TCP Data received {"connection_id":162550,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02988fe58012d7f728005bd1a18001900042c..."} 
[2026-08-22 18:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02988fe58012d7f728005bd1a18001900042c..."} 
[2026-08-22 18:24:55] local.INFO: Processing buffer {"connection_id":162550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02988fe58012d7f728005bd1a18001900042c..."} 
[2026-08-22 18:24:55] local.INFO: Packet analysis {"connection_id":162550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02988"} 
[2026-08-22 18:24:55] local.INFO: Extracted packet for processing {"connection_id":162550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02988"} 
[2026-08-22 18:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763327104,"raw_latitude":96279064,"longitude_deg":76.3327104,"latitude_deg":9.6279064,"altitude":25,"angle":4,"satellites":44,"speed":2,"hex_longitude":"2d7f7280","hex_latitude":"05bd1a18","is_valid_coordinates":true} 
[2026-08-22 18:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575228160001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388975830581116928,"note":"Value kept but may cause issues"} 
[2026-08-22 18:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183472983553370112,"note":"Value kept but may cause issues"} 
[2026-08-22 18:24:55] 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-22 18:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787403239000,"timestamp_ms":1787403239000,"timestamp_seconds":1787403239,"priority":1,"record_length":96,"hex_timestamp":"000001a02988fe58"} 
[2026-08-22 18:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:24: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-22 18:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 18:24: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-22 18:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575228160001,"66":27767,"119":206,"85":12544,"24":2,"16":388975830581116928,"45":9183472983553370112},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-22 18:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575228160001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:24:55] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-22 18:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388975830581116928,"km_value":388975830581116.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183472983553370112,"description":"Unknown IO ID 45"} 
[2026-08-22 18:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575228160001,"power":27767,"unknown_119":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9183472983553370112}} 
[2026-08-22 18:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":162550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:24:55] local.INFO: GPS data processed {"connection_id":162550,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:24:55] local.INFO: Acknowledgment sent {"connection_id":162550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:25:11] local.INFO: TCP Data received {"connection_id":162551,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:25:11] local.INFO: Processing buffer {"connection_id":162551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:25:11] local.INFO: IMEI packet received {"connection_id":162551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":162551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:25:11] local.INFO: TCP Data received {"connection_id":162551,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:25:11] local.INFO: Processing buffer {"connection_id":162551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:25:11] local.INFO: IMEI packet received {"connection_id":162551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":162551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:25:12] local.INFO: TCP Data received {"connection_id":162551,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02988f688012d1a670007261ba0001d00f524..."} 
[2026-08-22 18:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02988f688012d1a670007261ba0001d00f524..."} 
[2026-08-22 18:25:12] local.INFO: Processing buffer {"connection_id":162551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02988f688012d1a670007261ba0001d00f524..."} 
[2026-08-22 18:25:12] local.INFO: Packet analysis {"connection_id":162551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02988"} 
[2026-08-22 18:25:12] local.INFO: Extracted packet for processing {"connection_id":162551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02988"} 
[2026-08-22 18:25:12] local.INFO: GPS Element Parsed {"raw_longitude":756705024,"raw_latitude":119937952,"longitude_deg":75.6705024,"latitude_deg":11.9937952,"altitude":29,"angle":245,"satellites":36,"speed":38,"hex_longitude":"2d1a6700","hex_latitude":"07261ba0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575228160001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14797704227979264,"note":"Value kept but may cause issues"} 
[2026-08-22 18:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904530091872788480,"note":"Value kept but may cause issues"} 
[2026-08-22 18:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787403237000,"timestamp_ms":1787403237000,"timestamp_seconds":1787403237,"priority":1,"record_length":96,"hex_timestamp":"000001a02988f688"} 
[2026-08-22 18: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-22 18:25: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-22 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 18:25: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-22 18: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-22 18: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-22 18:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:25: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-22 18:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575228160001,"66":13993,"175":206,"83":42752,"24":38,"16":14797704227979264,"45":1904530091872788480},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-22 18:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575228160001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:25:12] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-22 18:25:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14797704227979264,"km_value":14797704227979.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904530091872788480,"description":"Unknown IO ID 45"} 
[2026-08-22 18:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575228160001,"power":13993,"unknown_175":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1904530091872788480}} 
[2026-08-22 18:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":162551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:25:12] local.INFO: GPS data processed {"connection_id":162551,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:25:12] local.INFO: Acknowledgment sent {"connection_id":162551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:25:13] local.INFO: TCP Data received {"connection_id":162551,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029890628012d1a578007261650001d010125..."} 
[2026-08-22 18:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029890628012d1a578007261650001d010125..."} 
[2026-08-22 18:25:13] local.INFO: Processing buffer {"connection_id":162551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029890628012d1a578007261650001d010125..."} 
[2026-08-22 18:25:13] local.INFO: Packet analysis {"connection_id":162551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02989"} 
[2026-08-22 18:25:13] local.INFO: Extracted packet for processing {"connection_id":162551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02989"} 
[2026-08-22 18:25:13] local.INFO: GPS Element Parsed {"raw_longitude":756701056,"raw_latitude":119936592,"longitude_deg":75.6701056,"latitude_deg":11.9936592,"altitude":29,"angle":257,"satellites":37,"speed":40,"hex_longitude":"2d1a5780","hex_latitude":"07261650","is_valid_coordinates":true} 
[2026-08-22 18:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575228672001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14797901796474880,"note":"Value kept but may cause issues"} 
[2026-08-22 18:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902489398291439616,"note":"Value kept but may cause issues"} 
[2026-08-22 18:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787403241000,"timestamp_ms":1787403241000,"timestamp_seconds":1787403241,"priority":1,"record_length":96,"hex_timestamp":"000001a029890628"} 
[2026-08-22 18:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:25:13] 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-22 18:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-22 18:25:13] 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-22 18:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:25:13] 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-22 18:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575228672001,"66":14004,"175":206,"83":42752,"24":40,"16":14797901796474880,"45":1902489398291439616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-22 18:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575228672001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:25:13] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-22 18:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14797901796474880,"km_value":14797901796474.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902489398291439616,"description":"Unknown IO ID 45"} 
[2026-08-22 18:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575228672001,"power":14004,"unknown_175":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1902489398291439616}} 
[2026-08-22 18:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":162551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:25:13] local.INFO: GPS data processed {"connection_id":162551,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:25:13] local.INFO: Acknowledgment sent {"connection_id":162551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:25:26] local.INFO: TCP Data received {"connection_id":162550,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029890a10012d7f728005bd1af0001800132a..."} 
[2026-08-22 18:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029890a10012d7f728005bd1af0001800132a..."} 
[2026-08-22 18:25:26] local.INFO: Processing buffer {"connection_id":162550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029890a10012d7f728005bd1af0001800132a..."} 
[2026-08-22 18:25:26] local.INFO: Packet analysis {"connection_id":162550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02989"} 
[2026-08-22 18:25:26] local.INFO: Extracted packet for processing {"connection_id":162550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02989"} 
[2026-08-22 18:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763327104,"raw_latitude":96279280,"longitude_deg":76.3327104,"latitude_deg":9.627928,"altitude":24,"angle":19,"satellites":42,"speed":2,"hex_longitude":"2d7f7280","hex_latitude":"05bd1af0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575229184001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388975839171051520,"note":"Value kept but may cause issues"} 
[2026-08-22 18:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183543352297658368,"note":"Value kept but may cause issues"} 
[2026-08-22 18:25:26] 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-22 18:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787403242000,"timestamp_ms":1787403242000,"timestamp_seconds":1787403242,"priority":1,"record_length":96,"hex_timestamp":"000001a029890a10"} 
[2026-08-22 18: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-22 18:25: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-22 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 18:25: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-22 18: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-22 18: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-22 18:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575229184001,"66":27767,"119":206,"85":12544,"24":2,"16":388975839171051520,"45":9183543352297658368},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-22 18:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575229184001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:25:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-22 18:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388975839171051520,"km_value":388975839171051.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183543352297658368,"description":"Unknown IO ID 45"} 
[2026-08-22 18:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575229184001,"power":27767,"unknown_119":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9183543352297658368}} 
[2026-08-22 18:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":162550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:25:26] local.INFO: GPS data processed {"connection_id":162550,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:25:26] local.INFO: Acknowledgment sent {"connection_id":162550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:25:53] local.INFO: TCP Data received {"connection_id":160196,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:25:53] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:25:53] local.INFO: IMEI packet received {"connection_id":160196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":160196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:25:54] local.INFO: TCP Data received {"connection_id":159963,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:25:54] local.INFO: Processing buffer {"connection_id":159963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:25:54] local.INFO: IMEI packet received {"connection_id":159963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":159963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:25:57] local.INFO: TCP Data received {"connection_id":160196,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:25:57] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:25:57] local.INFO: IMEI packet received {"connection_id":160196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":160196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:25:59] local.INFO: TCP Data received {"connection_id":159963,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:25:59] local.INFO: Processing buffer {"connection_id":159963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:25:59] local.INFO: IMEI packet received {"connection_id":159963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":159963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:26:00] local.INFO: TCP Data received {"connection_id":159963,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029890df8012d7f728005bd1b400017000629..."} 
[2026-08-22 18:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029890df8012d7f728005bd1b400017000629..."} 
[2026-08-22 18:26:00] local.INFO: Processing buffer {"connection_id":159963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029890df8012d7f728005bd1b400017000629..."} 
[2026-08-22 18:26:00] local.INFO: Packet analysis {"connection_id":159963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02989"} 
[2026-08-22 18:26:00] local.INFO: Extracted packet for processing {"connection_id":159963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02989"} 
[2026-08-22 18:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763327104,"raw_latitude":96279360,"longitude_deg":76.3327104,"latitude_deg":9.627936,"altitude":23,"angle":6,"satellites":41,"speed":3,"hex_longitude":"2d7f7280","hex_latitude":"05bd1b40","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575229952001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388975843466018816,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183543352297713664,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:00] 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-22 18:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787403243000,"timestamp_ms":1787403243000,"timestamp_seconds":1787403243,"priority":1,"record_length":96,"hex_timestamp":"000001a029890df8"} 
[2026-08-22 18: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-22 18:26: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-22 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 18:26: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-22 18: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-22 18: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-22 18:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575229952001,"66":27658,"119":206,"85":12544,"24":3,"16":388975843466018816,"45":9183543352297713664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-22 18:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575229952001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:26:00] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-22 18:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388975843466018816,"km_value":388975843466018.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183543352297713664,"description":"Unknown IO ID 45"} 
[2026-08-22 18:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575229952001,"power":27658,"unknown_119":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9183543352297713664}} 
[2026-08-22 18:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":159963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:26:00] local.INFO: GPS data processed {"connection_id":159963,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:26:00] local.INFO: Acknowledgment sent {"connection_id":159963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:26:00] local.INFO: TCP Data received {"connection_id":159963,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298915c8012d7f72c005bd1c500017001428..."} 
[2026-08-22 18:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298915c8012d7f72c005bd1c500017001428..."} 
[2026-08-22 18:26:00] local.INFO: Processing buffer {"connection_id":159963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298915c8012d7f72c005bd1c500017001428..."} 
[2026-08-22 18:26:00] local.INFO: Packet analysis {"connection_id":159963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02989"} 
[2026-08-22 18:26:00] local.INFO: Extracted packet for processing {"connection_id":159963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02989"} 
[2026-08-22 18:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763327168,"raw_latitude":96279632,"longitude_deg":76.3327168,"latitude_deg":9.6279632,"altitude":23,"angle":20,"satellites":40,"speed":5,"hex_longitude":"2d7f72c0","hex_latitude":"05bd1c50","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575230208001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388975856350920704,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183543352297734144,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:00] 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-22 18:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787403245000,"timestamp_ms":1787403245000,"timestamp_seconds":1787403245,"priority":1,"record_length":96,"hex_timestamp":"000001a0298915c8"} 
[2026-08-22 18: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-22 18: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-22 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 18:26:00] 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-22 18: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-22 18: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-22 18:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575230208001,"66":27691,"119":206,"85":12544,"24":5,"16":388975856350920704,"45":9183543352297734144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-22 18:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575230208001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:26:00] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-22 18:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388975856350920704,"km_value":388975856350920.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183543352297734144,"description":"Unknown IO ID 45"} 
[2026-08-22 18:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575230208001,"power":27691,"unknown_119":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9183543352297734144}} 
[2026-08-22 18:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":159963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:26:00] local.INFO: GPS data processed {"connection_id":159963,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:26:00] local.INFO: Acknowledgment sent {"connection_id":159963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:26:02] local.INFO: TCP Data received {"connection_id":160196,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:26:02] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:26:02] local.INFO: IMEI packet received {"connection_id":160196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":160196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:26:03] local.INFO: TCP Data received {"connection_id":160196,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298a0410012d19570007262008002800f41f..."} 
[2026-08-22 18:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298a0410012d19570007262008002800f41f..."} 
[2026-08-22 18:26:03] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298a0410012d19570007262008002800f41f..."} 
[2026-08-22 18:26:03] local.INFO: Packet analysis {"connection_id":160196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298a"} 
[2026-08-22 18:26:03] local.INFO: Extracted packet for processing {"connection_id":160196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298a"} 
[2026-08-22 18:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756635392,"raw_latitude":119939080,"longitude_deg":75.6635392,"latitude_deg":11.993908,"altitude":40,"angle":244,"satellites":31,"speed":46,"hex_longitude":"2d195700","hex_latitude":"07262008","is_valid_coordinates":true} 
[2026-08-22 18:26: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-22 18:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575244288001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14801243281031168,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835568722579759104,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787403306000,"timestamp_ms":1787403306000,"timestamp_seconds":1787403306,"priority":1,"record_length":96,"hex_timestamp":"000001a0298a0410"} 
[2026-08-22 18:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:26: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":92,"data_length":795,"current_offset":136} 
[2026-08-22 18:26:03] 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-22 18:26: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-22 18:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:26:03] 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-22 18:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575244288001,"66":14407,"187":206,"83":42752,"24":46,"16":14801243281031168,"45":1835568722579759104},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 18:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575244288001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:26:03] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 18:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14801243281031168,"km_value":14801243281031.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835568722579759104,"description":"Unknown IO ID 45"} 
[2026-08-22 18:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575244288001,"power":14407,"unknown_187":206,"unknown_83":42752,"ignition":46,"odometer":null,"unknown_45":1835568722579759104}} 
[2026-08-22 18:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":160196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:26:03] local.INFO: GPS data processed {"connection_id":160196,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:26:03] local.INFO: Acknowledgment sent {"connection_id":160196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:26:04] local.INFO: TCP Data received {"connection_id":160196,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298a2738012d1933c007260e78002800f520..."} 
[2026-08-22 18:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298a2738012d1933c007260e78002800f520..."} 
[2026-08-22 18:26:04] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298a2738012d1933c007260e78002800f520..."} 
[2026-08-22 18:26:04] local.INFO: Packet analysis {"connection_id":160196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298a"} 
[2026-08-22 18:26:04] local.INFO: Extracted packet for processing {"connection_id":160196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298a"} 
[2026-08-22 18:26:04] local.INFO: GPS Element Parsed {"raw_longitude":756626368,"raw_latitude":119934584,"longitude_deg":75.6626368,"latitude_deg":11.9934584,"altitude":40,"angle":245,"satellites":32,"speed":43,"hex_longitude":"2d1933c0","hex_latitude":"07260e78","is_valid_coordinates":true} 
[2026-08-22 18:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575246336001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14801720022401024,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825928204626429952,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787403315000,"timestamp_ms":1787403315000,"timestamp_seconds":1787403315,"priority":1,"record_length":96,"hex_timestamp":"000001a0298a2738"} 
[2026-08-22 18:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:26:04] 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-22 18:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 18:26: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-22 18:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:26: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-22 18:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575246336001,"66":13722,"187":206,"83":42752,"24":43,"16":14801720022401024,"45":1825928204626429952},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 18:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575246336001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:26:04] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 18:26:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14801720022401024,"km_value":14801720022401.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825928204626429952,"description":"Unknown IO ID 45"} 
[2026-08-22 18:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575246336001,"power":13722,"unknown_187":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1825928204626429952}} 
[2026-08-22 18:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":160196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:26:04] local.INFO: GPS data processed {"connection_id":160196,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:26:04] local.INFO: Acknowledgment sent {"connection_id":160196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:26:31] local.INFO: TCP Data received {"connection_id":159963,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298938f0012d7f738005bd1d78001600092c..."} 
[2026-08-22 18:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298938f0012d7f738005bd1d78001600092c..."} 
[2026-08-22 18:26:31] local.INFO: Processing buffer {"connection_id":159963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298938f0012d7f738005bd1d78001600092c..."} 
[2026-08-22 18:26:31] local.INFO: Packet analysis {"connection_id":159963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02989"} 
[2026-08-22 18:26:31] local.INFO: Extracted packet for processing {"connection_id":159963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02989"} 
[2026-08-22 18:26:31] local.INFO: GPS Element Parsed {"raw_longitude":763327360,"raw_latitude":96279928,"longitude_deg":76.332736,"latitude_deg":9.6279928,"altitude":22,"angle":9,"satellites":44,"speed":3,"hex_longitude":"2d7f7380","hex_latitude":"05bd1d78","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575230720001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388975873530789888,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183613721041981440,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:31] 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-22 18:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787403254000,"timestamp_ms":1787403254000,"timestamp_seconds":1787403254,"priority":1,"record_length":96,"hex_timestamp":"000001a0298938f0"} 
[2026-08-22 18: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-22 18:26: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-22 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-22 18:26:31] 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-22 18: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-22 18: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-22 18:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575230720001,"66":27658,"119":206,"85":12544,"24":3,"16":388975873530789888,"45":9183613721041981440},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-22 18:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575230720001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:26:31] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-22 18:26:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388975873530789888,"km_value":388975873530789.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183613721041981440,"description":"Unknown IO ID 45"} 
[2026-08-22 18:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575230720001,"power":27658,"unknown_119":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9183613721041981440}} 
[2026-08-22 18:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":159963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:26:31] local.INFO: GPS data processed {"connection_id":159963,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:26:31] local.INFO: Acknowledgment sent {"connection_id":159963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:26:35] local.INFO: TCP Data received {"connection_id":160196,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298a4a60012d19124007260040002900f924..."} 
[2026-08-22 18:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298a4a60012d19124007260040002900f924..."} 
[2026-08-22 18:26:35] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298a4a60012d19124007260040002900f924..."} 
[2026-08-22 18:26:35] local.INFO: Packet analysis {"connection_id":160196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298a"} 
[2026-08-22 18:26:35] local.INFO: Extracted packet for processing {"connection_id":160196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298a"} 
[2026-08-22 18:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756617792,"raw_latitude":119930944,"longitude_deg":75.6617792,"latitude_deg":11.9930944,"altitude":41,"angle":249,"satellites":36,"speed":37,"hex_longitude":"2d191240","hex_latitude":"07260040","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575248640001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14802162404032512,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816006211696228352,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787403324000,"timestamp_ms":1787403324000,"timestamp_seconds":1787403324,"priority":1,"record_length":96,"hex_timestamp":"000001a0298a4a60"} 
[2026-08-22 18: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-22 18:26: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-22 18: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-22 18:26:35] 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-22 18: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-22 18: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-22 18:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:26:35] 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-22 18:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575248640001,"66":13863,"187":206,"83":42752,"24":37,"16":14802162404032512,"45":1816006211696228352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 18:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575248640001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:26:35] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 18:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14802162404032512,"km_value":14802162404032.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816006211696228352,"description":"Unknown IO ID 45"} 
[2026-08-22 18:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575248640001,"power":13863,"unknown_187":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1816006211696228352}} 
[2026-08-22 18:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":160196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:26:35] local.INFO: GPS data processed {"connection_id":160196,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:26:35] local.INFO: Acknowledgment sent {"connection_id":160196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:26:48] local.INFO: TCP Data received {"connection_id":161129,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:26:48] local.INFO: Processing buffer {"connection_id":161129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:26:48] local.INFO: IMEI packet received {"connection_id":161129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":161129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:26:52] local.INFO: TCP Data received {"connection_id":161130,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:26:52] local.INFO: Processing buffer {"connection_id":161130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:26:52] local.INFO: IMEI packet received {"connection_id":161130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":161130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:26:52] local.INFO: TCP Data received {"connection_id":161129,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:26:52] local.INFO: Processing buffer {"connection_id":161129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:26:52] local.INFO: IMEI packet received {"connection_id":161129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":161129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:26:53] local.INFO: TCP Data received {"connection_id":161129,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029893cd8012d7f738005bd1dd8001600142a..."} 
[2026-08-22 18:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029893cd8012d7f738005bd1dd8001600142a..."} 
[2026-08-22 18:26:53] local.INFO: Processing buffer {"connection_id":161129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029893cd8012d7f738005bd1dd8001600142a..."} 
[2026-08-22 18:26:53] local.INFO: Packet analysis {"connection_id":161129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02989"} 
[2026-08-22 18:26:53] local.INFO: Extracted packet for processing {"connection_id":161129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02989"} 
[2026-08-22 18:26:53] local.INFO: GPS Element Parsed {"raw_longitude":763327360,"raw_latitude":96280024,"longitude_deg":76.332736,"latitude_deg":9.6280024,"altitude":22,"angle":20,"satellites":42,"speed":4,"hex_longitude":"2d7f7380","hex_latitude":"05bd1dd8","is_valid_coordinates":true} 
[2026-08-22 18:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575233024001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388975877825757184,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183824827274590208,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:53] 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-22 18:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787403255000,"timestamp_ms":1787403255000,"timestamp_seconds":1787403255,"priority":1,"record_length":96,"hex_timestamp":"000001a029893cd8"} 
[2026-08-22 18:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:26: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-22 18:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 18:26:53] 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-22 18:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575233024001,"66":27767,"119":206,"85":12544,"24":4,"16":388975877825757184,"45":9183824827274590208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-22 18:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575233024001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:26:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-22 18:26:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-22 18:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388975877825757184,"km_value":388975877825757.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183824827274590208,"description":"Unknown IO ID 45"} 
[2026-08-22 18:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575233024001,"power":27767,"unknown_119":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9183824827274590208}} 
[2026-08-22 18:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":161129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:26:53] local.INFO: GPS data processed {"connection_id":161129,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:26:53] local.INFO: Acknowledgment sent {"connection_id":161129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:26:55] local.INFO: TCP Data received {"connection_id":161130,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:26:55] local.INFO: Processing buffer {"connection_id":161130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:26:55] local.INFO: IMEI packet received {"connection_id":161130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":161130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:26:56] local.INFO: TCP Data received {"connection_id":161130,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298a7558012d18f0000725f008003000f121..."} 
[2026-08-22 18:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298a7558012d18f0000725f008003000f121..."} 
[2026-08-22 18:26:56] local.INFO: Processing buffer {"connection_id":161130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298a7558012d18f0000725f008003000f121..."} 
[2026-08-22 18:26:56] local.INFO: Packet analysis {"connection_id":161130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298a"} 
[2026-08-22 18:26:56] local.INFO: Extracted packet for processing {"connection_id":161130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298a"} 
[2026-08-22 18:26:56] local.INFO: GPS Element Parsed {"raw_longitude":756609024,"raw_latitude":119926792,"longitude_deg":75.6609024,"latitude_deg":11.9926792,"altitude":48,"angle":241,"satellites":33,"speed":34,"hex_longitude":"2d18f000","hex_latitude":"0725f008","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575250944001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14802626260500480,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806576799975489536,"note":"Value kept but may cause issues"} 
[2026-08-22 18:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787403335000,"timestamp_ms":1787403335000,"timestamp_seconds":1787403335,"priority":1,"record_length":96,"hex_timestamp":"000001a0298a7558"} 
[2026-08-22 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-22 18:26:56] 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-22 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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-22 18:26:56] 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-22 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-22 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-22 18:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:26:56] 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-22 18:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575250944001,"66":13993,"187":206,"83":42752,"24":34,"16":14802626260500480,"45":1806576799975489536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 18:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575250944001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:26:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 18:26:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14802626260500480,"km_value":14802626260500.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806576799975489536,"description":"Unknown IO ID 45"} 
[2026-08-22 18:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575250944001,"power":13993,"unknown_187":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1806576799975489536}} 
[2026-08-22 18:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":161130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:26:56] local.INFO: GPS data processed {"connection_id":161130,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:26:56] local.INFO: Acknowledgment sent {"connection_id":161130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:27:25] local.INFO: TCP Data received {"connection_id":161129,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298b4460012d7fb24005be5970000f00092d..."} 
[2026-08-22 18:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298b4460012d7fb24005be5970000f00092d..."} 
[2026-08-22 18:27:25] local.INFO: Processing buffer {"connection_id":161129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298b4460012d7fb24005be5970000f00092d..."} 
[2026-08-22 18:27:25] local.INFO: Packet analysis {"connection_id":161129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298b"} 
[2026-08-22 18:27:25] local.INFO: Extracted packet for processing {"connection_id":161129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298b"} 
[2026-08-22 18:27:25] local.INFO: GPS Element Parsed {"raw_longitude":763343424,"raw_latitude":96360816,"longitude_deg":76.3343424,"latitude_deg":9.6360816,"altitude":15,"angle":9,"satellites":45,"speed":54,"hex_longitude":"2d7fb240","hex_latitude":"05be5970","is_valid_coordinates":true} 
[2026-08-22 18:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575265536001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388979885030244352,"note":"Value kept but may cause issues"} 
[2026-08-22 18:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199587425988653056,"note":"Value kept but may cause issues"} 
[2026-08-22 18:27: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-22 18:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787403388000,"timestamp_ms":1787403388000,"timestamp_seconds":1787403388,"priority":1,"record_length":96,"hex_timestamp":"000001a0298b4460"} 
[2026-08-22 18:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:27: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-22 18:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 18:27: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-22 18:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575265536001,"66":27930,"227":206,"85":12288,"24":54,"16":388979885030244352,"45":9199587425988653056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-22 18:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575265536001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:27:25] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-22 18:27:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388979885030244352,"km_value":388979885030244.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199587425988653056,"description":"Unknown IO ID 45"} 
[2026-08-22 18:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575265536001,"power":27930,"unknown_227":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":9199587425988653056}} 
[2026-08-22 18:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":161129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:27:25] local.INFO: GPS data processed {"connection_id":161129,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:27:25] local.INFO: Acknowledgment sent {"connection_id":161129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:27:27] local.INFO: TCP Data received {"connection_id":161130,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298b7ef8012d1825c007259540003300d61d..."} 
[2026-08-22 18:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298b7ef8012d1825c007259540003300d61d..."} 
[2026-08-22 18:27:27] local.INFO: Processing buffer {"connection_id":161130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298b7ef8012d1825c007259540003300d61d..."} 
[2026-08-22 18:27:27] local.INFO: Packet analysis {"connection_id":161130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298b"} 
[2026-08-22 18:27:27] local.INFO: Extracted packet for processing {"connection_id":161130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298b"} 
[2026-08-22 18:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119903552,"longitude_deg":75.6557248,"latitude_deg":11.9903552,"altitude":51,"angle":214,"satellites":29,"speed":24,"hex_longitude":"2d1825c0","hex_latitude":"07259540","is_valid_coordinates":true} 
[2026-08-22 18:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575270912001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14805606967803904,"note":"Value kept but may cause issues"} 
[2026-08-22 18:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811697467392,"note":"Value kept but may cause issues"} 
[2026-08-22 18:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787403403000,"timestamp_ms":1787403403000,"timestamp_seconds":1787403403,"priority":1,"record_length":96,"hex_timestamp":"000001a0298b7ef8"} 
[2026-08-22 18:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-22 18:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:27:27] 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-22 18:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575270912001,"66":14374,"187":206,"83":42752,"24":24,"16":14805606967803904,"45":1740359811697467392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 18:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575270912001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:27:27] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 18:27:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14805606967803904,"km_value":14805606967803.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811697467392,"description":"Unknown IO ID 45"} 
[2026-08-22 18:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575270912001,"power":14374,"unknown_187":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1740359811697467392}} 
[2026-08-22 18:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":161130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:27:27] local.INFO: GPS data processed {"connection_id":161130,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:27:27] local.INFO: Acknowledgment sent {"connection_id":161130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:27:48] local.INFO: TCP Data received {"connection_id":161131,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:27:48] local.INFO: Processing buffer {"connection_id":161131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:27:48] local.INFO: IMEI packet received {"connection_id":161131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":161131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:27:52] local.INFO: TCP Data received {"connection_id":162552,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:27:52] local.INFO: Processing buffer {"connection_id":162552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:27:52] local.INFO: IMEI packet received {"connection_id":162552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":162552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:27:53] local.INFO: TCP Data received {"connection_id":162552,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:27:53] local.INFO: Processing buffer {"connection_id":162552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:27:53] local.INFO: IMEI packet received {"connection_id":162552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":162552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:27:53] local.INFO: TCP Data received {"connection_id":161131,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:27:53] local.INFO: Processing buffer {"connection_id":161131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:27:53] local.INFO: IMEI packet received {"connection_id":161131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":161131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:27:54] local.INFO: TCP Data received {"connection_id":162552,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:27:54] local.INFO: Processing buffer {"connection_id":162552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:27:54] local.INFO: IMEI packet received {"connection_id":162552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":162552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:27:57] local.INFO: TCP Data received {"connection_id":162552,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:27:57] local.INFO: Processing buffer {"connection_id":162552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:27:57] local.INFO: IMEI packet received {"connection_id":162552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":162552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:27:58] local.INFO: TCP Data received {"connection_id":162552,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298b82e0012d182580072591e8003400ca1d..."} 
[2026-08-22 18:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298b82e0012d182580072591e8003400ca1d..."} 
[2026-08-22 18:27:58] local.INFO: Processing buffer {"connection_id":162552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298b82e0012d182580072591e8003400ca1d..."} 
[2026-08-22 18:27:58] local.INFO: Packet analysis {"connection_id":162552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298b"} 
[2026-08-22 18:27:58] local.INFO: Extracted packet for processing {"connection_id":162552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298b"} 
[2026-08-22 18:27:58] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119902696,"longitude_deg":75.6557184,"latitude_deg":11.9902696,"altitude":52,"angle":202,"satellites":29,"speed":28,"hex_longitude":"2d182580","hex_latitude":"072591e8","is_valid_coordinates":true} 
[2026-08-22 18:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575271168001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14805645622509568,"note":"Value kept but may cause issues"} 
[2026-08-22 18:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967976407040,"note":"Value kept but may cause issues"} 
[2026-08-22 18:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787403404000,"timestamp_ms":1787403404000,"timestamp_seconds":1787403404,"priority":1,"record_length":96,"hex_timestamp":"000001a0298b82e0"} 
[2026-08-22 18:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 18:27:58] 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-22 18:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:27: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-22 18:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575271168001,"66":14374,"187":206,"83":42752,"24":28,"16":14805645622509568,"45":1740007967976407040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 18:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575271168001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:27:58] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 18:27:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14805645622509568,"km_value":14805645622509.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967976407040,"description":"Unknown IO ID 45"} 
[2026-08-22 18:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575271168001,"power":14374,"unknown_187":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1740007967976407040}} 
[2026-08-22 18:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":162552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:27:58] local.INFO: GPS data processed {"connection_id":162552,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:27:58] local.INFO: Acknowledgment sent {"connection_id":162552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:28:00] local.INFO: TCP Data received {"connection_id":161131,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298b5fb8012d7fb94005be7dd00010000a2d..."} 
[2026-08-22 18:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298b5fb8012d7fb94005be7dd00010000a2d..."} 
[2026-08-22 18:28:00] local.INFO: Processing buffer {"connection_id":161131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298b5fb8012d7fb94005be7dd00010000a2d..."} 
[2026-08-22 18:28:00] local.INFO: Packet analysis {"connection_id":161131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298b"} 
[2026-08-22 18:28:00] local.INFO: Extracted packet for processing {"connection_id":161131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298b"} 
[2026-08-22 18:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763345216,"raw_latitude":96370128,"longitude_deg":76.3345216,"latitude_deg":9.6370128,"altitude":16,"angle":10,"satellites":45,"speed":53,"hex_longitude":"2d7fb940","hex_latitude":"05be7dd0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575267328001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388980344591745024,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201487382083891200,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:00] 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-22 18:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787403395000,"timestamp_ms":1787403395000,"timestamp_seconds":1787403395,"priority":1,"record_length":96,"hex_timestamp":"000001a0298b5fb8"} 
[2026-08-22 18: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-22 18: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-22 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-22 18:28:00] 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-22 18: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-22 18: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-22 18:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575267328001,"66":27789,"227":206,"85":12288,"24":53,"16":388980344591745024,"45":9201487382083891200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-22 18:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575267328001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:28:00] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-22 18:28:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388980344591745024,"km_value":388980344591745.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201487382083891200,"description":"Unknown IO ID 45"} 
[2026-08-22 18:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575267328001,"power":27789,"unknown_227":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":9201487382083891200}} 
[2026-08-22 18:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":161131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:28:00] local.INFO: GPS data processed {"connection_id":161131,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:28:00] local.INFO: Acknowledgment sent {"connection_id":161131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:28:03] local.INFO: TCP Data received {"connection_id":162552,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298b8ab0012d182500072589c0003400bd1e..."} 
[2026-08-22 18:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298b8ab0012d182500072589c0003400bd1e..."} 
[2026-08-22 18:28:03] local.INFO: Processing buffer {"connection_id":162552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298b8ab0012d182500072589c0003400bd1e..."} 
[2026-08-22 18:28:03] local.INFO: Packet analysis {"connection_id":162552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298b"} 
[2026-08-22 18:28:03] local.INFO: Extracted packet for processing {"connection_id":162552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298b"} 
[2026-08-22 18:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119900608,"longitude_deg":75.6557056,"latitude_deg":11.9900608,"altitude":52,"angle":189,"satellites":30,"speed":37,"hex_longitude":"2d182500","hex_latitude":"072589c0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575271424001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14805748701724672,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599232010240,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787403406000,"timestamp_ms":1787403406000,"timestamp_seconds":1787403406,"priority":1,"record_length":96,"hex_timestamp":"000001a0298b8ab0"} 
[2026-08-22 18: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-22 18:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 18:28: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-22 18: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-22 18: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-22 18:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:28:03] 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-22 18:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575271424001,"66":14407,"187":206,"83":42752,"24":37,"16":14805748701724672,"45":1739937599232010240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 18:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575271424001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:28:03] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 18:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14805748701724672,"km_value":14805748701724.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599232010240,"description":"Unknown IO ID 45"} 
[2026-08-22 18:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575271424001,"power":14407,"unknown_187":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1739937599232010240}} 
[2026-08-22 18:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":162552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:28:03] local.INFO: GPS data processed {"connection_id":162552,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:28:03] local.INFO: Acknowledgment sent {"connection_id":162552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:28:31] local.INFO: TCP Data received {"connection_id":161131,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298b7b10012d7fc00005bea2380010000a2e..."} 
[2026-08-22 18:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298b7b10012d7fc00005bea2380010000a2e..."} 
[2026-08-22 18:28:31] local.INFO: Processing buffer {"connection_id":161131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298b7b10012d7fc00005bea2380010000a2e..."} 
[2026-08-22 18:28:31] local.INFO: Packet analysis {"connection_id":161131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298b"} 
[2026-08-22 18:28:31] local.INFO: Extracted packet for processing {"connection_id":161131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298b"} 
[2026-08-22 18:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763346944,"raw_latitude":96379448,"longitude_deg":76.3346944,"latitude_deg":9.6379448,"altitude":16,"angle":10,"satellites":46,"speed":53,"hex_longitude":"2d7fc000","hex_latitude":"05bea238","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575269120001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388980804153245696,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9203457706923249664,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:31] 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-22 18:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787403402000,"timestamp_ms":1787403402000,"timestamp_seconds":1787403402,"priority":1,"record_length":96,"hex_timestamp":"000001a0298b7b10"} 
[2026-08-22 18: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-22 18: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-22 18: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-22 18:28:31] 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-22 18: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-22 18: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-22 18:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575269120001,"66":27821,"227":206,"85":12288,"24":53,"16":388980804153245696,"45":9203457706923249664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-22 18:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575269120001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:28:31] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-22 18:28:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388980804153245696,"km_value":388980804153245.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9203457706923249664,"description":"Unknown IO ID 45"} 
[2026-08-22 18:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575269120001,"power":27821,"unknown_227":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":9203457706923249664}} 
[2026-08-22 18:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":161131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:28:31] local.INFO: GPS data processed {"connection_id":161131,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:28:31] local.INFO: Acknowledgment sent {"connection_id":161131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:28:34] local.INFO: TCP Data received {"connection_id":162552,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298c3e60012d177e4007253f20003200f421..."} 
[2026-08-22 18:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298c3e60012d177e4007253f20003200f421..."} 
[2026-08-22 18:28:34] local.INFO: Processing buffer {"connection_id":162552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298c3e60012d177e4007253f20003200f421..."} 
[2026-08-22 18:28:34] local.INFO: Packet analysis {"connection_id":162552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298c"} 
[2026-08-22 18:28:34] local.INFO: Extracted packet for processing {"connection_id":162552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298c"} 
[2026-08-22 18:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756514368,"raw_latitude":119881504,"longitude_deg":75.6514368,"latitude_deg":11.9881504,"altitude":50,"angle":244,"satellites":33,"speed":47,"hex_longitude":"2d177e40","hex_latitude":"07253f20","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575281664001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14808183948181504,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1702642164813447168,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787403452000,"timestamp_ms":1787403452000,"timestamp_seconds":1787403452,"priority":1,"record_length":96,"hex_timestamp":"000001a0298c3e60"} 
[2026-08-22 18: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-22 18:28:34] 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-22 18: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-22 18:28:34] 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-22 18: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-22 18: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-22 18:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:28:34] 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-22 18:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575281664001,"66":14461,"187":206,"83":42752,"24":47,"16":14808183948181504,"45":1702642164813447168},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 18:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575281664001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:28:34] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 18:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14808183948181504,"km_value":14808183948181.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1702642164813447168,"description":"Unknown IO ID 45"} 
[2026-08-22 18:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575281664001,"power":14461,"unknown_187":206,"unknown_83":42752,"ignition":47,"odometer":null,"unknown_45":1702642164813447168}} 
[2026-08-22 18:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":162552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:28:35] local.INFO: GPS data processed {"connection_id":162552,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:28:35] local.INFO: Acknowledgment sent {"connection_id":162552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:28:48] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:28:48] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:28:48] local.INFO: IMEI packet received {"connection_id":159964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":159964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:28:49] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:28:49] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:28:49] local.INFO: IMEI packet received {"connection_id":159964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":159964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:28:52] local.INFO: TCP Data received {"connection_id":160197,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:28:52] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:28:52] local.INFO: IMEI packet received {"connection_id":160197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":160197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:28:53] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:28:53] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:28:53] local.INFO: IMEI packet received {"connection_id":159964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":159964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:28:54] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298c9068012d7fff8005c02df0000b000a2d..."} 
[2026-08-22 18:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298c9068012d7fff8005c02df0000b000a2d..."} 
[2026-08-22 18:28:54] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298c9068012d7fff8005c02df0000b000a2d..."} 
[2026-08-22 18:28:54] local.INFO: Packet analysis {"connection_id":159964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298c"} 
[2026-08-22 18:28:54] local.INFO: Extracted packet for processing {"connection_id":159964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298c"} 
[2026-08-22 18:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763363200,"raw_latitude":96480752,"longitude_deg":76.33632,"latitude_deg":9.6480752,"altitude":11,"angle":10,"satellites":45,"speed":59,"hex_longitude":"2d7fff80","hex_latitude":"05c02df0","is_valid_coordinates":true} 
[2026-08-22 18:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575287552001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388985777725374464,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9221472105458800640,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:54] 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-22 18:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787403473000,"timestamp_ms":1787403473000,"timestamp_seconds":1787403473,"priority":1,"record_length":96,"hex_timestamp":"000001a0298c9068"} 
[2026-08-22 18:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:28: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-22 18:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 18:28:54] 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-22 18:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575287552001,"66":27713,"235":206,"85":12288,"24":59,"16":388985777725374464,"45":9221472105458800640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-22 18:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575287552001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:28:54] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-22 18:28:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388985777725374464,"km_value":388985777725374.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9221472105458800640,"description":"Unknown IO ID 45"} 
[2026-08-22 18:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575287552001,"power":27713,"unknown_235":206,"unknown_85":12288,"ignition":59,"odometer":null,"unknown_45":9221472105458800640}} 
[2026-08-22 18:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":159964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:28:54] local.INFO: GPS data processed {"connection_id":159964,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:28:54] local.INFO: Acknowledgment sent {"connection_id":159964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:28:57] local.INFO: TCP Data received {"connection_id":160197,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:28:57] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:28:57] local.INFO: IMEI packet received {"connection_id":160197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":160197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:28:58] local.INFO: TCP Data received {"connection_id":160197,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298c5da0012d175c4007252e68003200f71f..."} 
[2026-08-22 18:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298c5da0012d175c4007252e68003200f71f..."} 
[2026-08-22 18:28:58] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298c5da0012d175c4007252e68003200f71f..."} 
[2026-08-22 18:28:58] local.INFO: Packet analysis {"connection_id":160197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298c"} 
[2026-08-22 18:28:58] local.INFO: Extracted packet for processing {"connection_id":160197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298c"} 
[2026-08-22 18:28:58] local.INFO: GPS Element Parsed {"raw_longitude":756505664,"raw_latitude":119877224,"longitude_deg":75.6505664,"latitude_deg":11.9877224,"altitude":50,"angle":247,"satellites":31,"speed":46,"hex_longitude":"2d175c40","hex_latitude":"07252e68","is_valid_coordinates":true} 
[2026-08-22 18:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575283712001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14808647804649472,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1692860909371727872,"note":"Value kept but may cause issues"} 
[2026-08-22 18:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787403460000,"timestamp_ms":1787403460000,"timestamp_seconds":1787403460,"priority":1,"record_length":96,"hex_timestamp":"000001a0298c5da0"} 
[2026-08-22 18:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 18:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:28: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-22 18:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575283712001,"66":14048,"187":206,"83":42752,"24":46,"16":14808647804649472,"45":1692860909371727872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 18:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575283712001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:28:58] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 18:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14808647804649472,"km_value":14808647804649.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1692860909371727872,"description":"Unknown IO ID 45"} 
[2026-08-22 18:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575283712001,"power":14048,"unknown_187":206,"unknown_83":42752,"ignition":46,"odometer":null,"unknown_45":1692860909371727872}} 
[2026-08-22 18:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":160197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:28:58] local.INFO: GPS data processed {"connection_id":160197,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:28:58] local.INFO: Acknowledgment sent {"connection_id":160197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:29:25] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298ca7d8012d80050005c05038000b000a2e..."} 
[2026-08-22 18:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298ca7d8012d80050005c05038000b000a2e..."} 
[2026-08-22 18:29:25] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298ca7d8012d80050005c05038000b000a2e..."} 
[2026-08-22 18:29:25] local.INFO: Packet analysis {"connection_id":159964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298c"} 
[2026-08-22 18:29:25] local.INFO: Extracted packet for processing {"connection_id":159964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298c"} 
[2026-08-22 18:29:25] local.INFO: GPS Element Parsed {"raw_longitude":763364608,"raw_latitude":96489528,"longitude_deg":76.3364608,"latitude_deg":9.6489528,"altitude":11,"angle":10,"satellites":46,"speed":59,"hex_longitude":"2d800500","hex_latitude":"05c05038","is_valid_coordinates":true} 
[2026-08-22 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-22 18:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575289088001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388986207222104064,"note":"Value kept but may cause issues"} 
[2026-08-22 18:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9223231324065492992,"note":"Value kept but may cause issues"} 
[2026-08-22 18:29: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-22 18:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787403479000,"timestamp_ms":1787403479000,"timestamp_seconds":1787403479,"priority":1,"record_length":96,"hex_timestamp":"000001a0298ca7d8"} 
[2026-08-22 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-22 18:29: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-22 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":65,"data_length":795,"current_offset":136} 
[2026-08-22 18:29: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-22 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-22 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-22 18:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575289088001,"66":27745,"235":206,"85":12288,"24":59,"16":388986207222104064,"45":9223231324065492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-22 18:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575289088001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:29:25] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-22 18:29:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388986207222104064,"km_value":388986207222104.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9223231324065492992,"description":"Unknown IO ID 45"} 
[2026-08-22 18:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575289088001,"power":27745,"unknown_235":206,"unknown_85":12288,"ignition":59,"odometer":null,"unknown_45":9223231324065492992}} 
[2026-08-22 18:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":159964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:29:25] local.INFO: GPS data processed {"connection_id":159964,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:29:25] local.INFO: Acknowledgment sent {"connection_id":159964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:29:29] local.INFO: TCP Data received {"connection_id":160197,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298d24d8012d16a00007255430002d016420..."} 
[2026-08-22 18:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298d24d8012d16a00007255430002d016420..."} 
[2026-08-22 18:29:29] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298d24d8012d16a00007255430002d016420..."} 
[2026-08-22 18:29:29] local.INFO: Packet analysis {"connection_id":160197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298d"} 
[2026-08-22 18:29:29] local.INFO: Extracted packet for processing {"connection_id":160197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298d"} 
[2026-08-22 18:29:29] local.INFO: GPS Element Parsed {"raw_longitude":756457472,"raw_latitude":119886896,"longitude_deg":75.6457472,"latitude_deg":11.9886896,"altitude":45,"angle":356,"satellites":32,"speed":36,"hex_longitude":"2d16a000","hex_latitude":"07255430","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575298304001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14811345044111360,"note":"Value kept but may cause issues"} 
[2026-08-22 18:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1630443833287049216,"note":"Value kept but may cause issues"} 
[2026-08-22 18:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787403511000,"timestamp_ms":1787403511000,"timestamp_seconds":1787403511,"priority":1,"record_length":96,"hex_timestamp":"000001a0298d24d8"} 
[2026-08-22 18: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-22 18:29: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-22 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 18:29:29] 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-22 18: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-22 18: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-22 18:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:29:29] 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-22 18:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575298304001,"66":14189,"135":206,"83":42752,"24":36,"16":14811345044111360,"45":1630443833287049216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-22 18:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575298304001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:29:29] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-22 18:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14811345044111360,"km_value":14811345044111.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1630443833287049216,"description":"Unknown IO ID 45"} 
[2026-08-22 18:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575298304001,"power":14189,"unknown_135":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1630443833287049216}} 
[2026-08-22 18:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":160197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:29:29] local.INFO: GPS data processed {"connection_id":160197,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:29:29] local.INFO: Acknowledgment sent {"connection_id":160197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:29:42] local.INFO: TCP Data received {"connection_id":162553,"ip":"117.224.239.89","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:29:42] local.INFO: Processing buffer {"connection_id":162553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:29:42] local.INFO: IMEI packet received {"connection_id":162553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":162553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:29:50] local.INFO: TCP Data received {"connection_id":160198,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:29:50] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:29:50] local.INFO: IMEI packet received {"connection_id":160198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":160198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:29:51] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:29:51] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:29:51] local.INFO: IMEI packet received {"connection_id":160199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":160199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:29:52] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:29:52] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:29:52] local.INFO: IMEI packet received {"connection_id":160199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":160199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:29:53] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:29:53] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:29:53] local.INFO: IMEI packet received {"connection_id":160199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":160199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:29:53] local.INFO: TCP Data received {"connection_id":160198,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:29:53] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:29:53] local.INFO: IMEI packet received {"connection_id":160198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":160198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:29:57] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:29:57] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:29:57] local.INFO: IMEI packet received {"connection_id":160199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":160199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:29:57] local.INFO: TCP Data received {"connection_id":160198,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:29:57] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:29:57] local.INFO: IMEI packet received {"connection_id":160198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":160198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:29:58] local.INFO: TCP Data received {"connection_id":160198,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298cbf48012d800bc005c07268000c00082e..."} 
[2026-08-22 18:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298cbf48012d800bc005c07268000c00082e..."} 
[2026-08-22 18:29:58] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298cbf48012d800bc005c07268000c00082e..."} 
[2026-08-22 18:29:58] local.INFO: Packet analysis {"connection_id":160198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298c"} 
[2026-08-22 18:29:58] local.INFO: Extracted packet for processing {"connection_id":160198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298c"} 
[2026-08-22 18:29:58] local.INFO: GPS Element Parsed {"raw_longitude":763366336,"raw_latitude":96498280,"longitude_deg":76.3366336,"latitude_deg":9.649828,"altitude":12,"angle":8,"satellites":46,"speed":58,"hex_longitude":"2d800bc0","hex_latitude":"05c07268","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575290624001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388986641013800960,"note":"Value kept but may cause issues"} 
[2026-08-22 18:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9221964637269903360,"note":"Value kept but may cause issues"} 
[2026-08-22 18:29: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-22 18:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787403485000,"timestamp_ms":1787403485000,"timestamp_seconds":1787403485,"priority":1,"record_length":96,"hex_timestamp":"000001a0298cbf48"} 
[2026-08-22 18: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-22 18:29: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-22 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 18:29: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-22 18: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-22 18: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-22 18:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575290624001,"66":27821,"235":206,"85":12288,"24":58,"16":388986641013800960,"45":-9221964637269903360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-22 18:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575290624001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:29:58] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-22 18:29:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388986641013800960,"km_value":388986641013800.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9221964637269903360,"description":"Unknown IO ID 45"} 
[2026-08-22 18:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575290624001,"power":27821,"unknown_235":206,"unknown_85":12288,"ignition":58,"odometer":null,"unknown_45":-9221964637269903360}} 
[2026-08-22 18:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":160198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:29:58] local.INFO: GPS data processed {"connection_id":160198,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:29:58] local.INFO: Acknowledgment sent {"connection_id":160198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:29:59] local.INFO: TCP Data received {"connection_id":160198,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298cd6b8012d8010c005c094d0000c00082f..."} 
[2026-08-22 18:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298cd6b8012d8010c005c094d0000c00082f..."} 
[2026-08-22 18:29:59] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298cd6b8012d8010c005c094d0000c00082f..."} 
[2026-08-22 18:29:59] local.INFO: Packet analysis {"connection_id":160198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298c"} 
[2026-08-22 18:29:59] local.INFO: Extracted packet for processing {"connection_id":160198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298c"} 
[2026-08-22 18:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763367616,"raw_latitude":96507088,"longitude_deg":76.3367616,"latitude_deg":9.6507088,"altitude":12,"angle":8,"satellites":47,"speed":59,"hex_longitude":"2d8010c0","hex_latitude":"05c094d0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575292160001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388987070510530560,"note":"Value kept but may cause issues"} 
[2026-08-22 18:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220064681174865920,"note":"Value kept but may cause issues"} 
[2026-08-22 18:29:59] 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-22 18:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787403491000,"timestamp_ms":1787403491000,"timestamp_seconds":1787403491,"priority":1,"record_length":96,"hex_timestamp":"000001a0298cd6b8"} 
[2026-08-22 18: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-22 18: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-22 18: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":173,"data_length":795,"current_offset":136} 
[2026-08-22 18:29: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-22 18: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-22 18: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-22 18:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575292160001,"66":27691,"235":206,"85":12288,"24":59,"16":388987070510530560,"45":-9220064681174865920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-22 18:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575292160001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:29:59] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-22 18:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388987070510530560,"km_value":388987070510530.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220064681174865920,"description":"Unknown IO ID 45"} 
[2026-08-22 18:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575292160001,"power":27691,"unknown_235":206,"unknown_85":12288,"ignition":59,"odometer":null,"unknown_45":-9220064681174865920}} 
[2026-08-22 18:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":160198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:29:59] local.INFO: GPS data processed {"connection_id":160198,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:29:59] local.INFO: Acknowledgment sent {"connection_id":160198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:30:04] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298d4800012d169f8007257980002c015d1f..."} 
[2026-08-22 18:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298d4800012d169f8007257980002c015d1f..."} 
[2026-08-22 18:30:04] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298d4800012d169f8007257980002c015d1f..."} 
[2026-08-22 18:30:04] local.INFO: Packet analysis {"connection_id":160199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298d"} 
[2026-08-22 18:30:04] local.INFO: Extracted packet for processing {"connection_id":160199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298d"} 
[2026-08-22 18:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756457344,"raw_latitude":119896448,"longitude_deg":75.6457344,"latitude_deg":11.9896448,"altitude":44,"angle":349,"satellites":31,"speed":43,"hex_longitude":"2d169f80","hex_latitude":"07257980","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575298816001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14811808900579328,"note":"Value kept but may cause issues"} 
[2026-08-22 18:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1630303095799164928,"note":"Value kept but may cause issues"} 
[2026-08-22 18:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787403520000,"timestamp_ms":1787403520000,"timestamp_seconds":1787403520,"priority":1,"record_length":96,"hex_timestamp":"000001a0298d4800"} 
[2026-08-22 18: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-22 18:30:04] 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-22 18: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 18:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18: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-22 18: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-22 18:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:30: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-22 18:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575298816001,"66":14461,"135":206,"83":42752,"24":43,"16":14811808900579328,"45":1630303095799164928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-22 18:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575298816001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:30:04] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-22 18:30:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14811808900579328,"km_value":14811808900579.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1630303095799164928,"description":"Unknown IO ID 45"} 
[2026-08-22 18:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575298816001,"power":14461,"unknown_135":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1630303095799164928}} 
[2026-08-22 18:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":160199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:30:04] local.INFO: GPS data processed {"connection_id":160199,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:30:04] local.INFO: Acknowledgment sent {"connection_id":160199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:30:30] local.INFO: TCP Data received {"connection_id":160198,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298e1708012d804fc005c25010000b00082e..."} 
[2026-08-22 18:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298e1708012d804fc005c25010000b00082e..."} 
[2026-08-22 18:30:30] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298e1708012d804fc005c25010000b00082e..."} 
[2026-08-22 18:30:30] local.INFO: Packet analysis {"connection_id":160198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:30:30] local.INFO: Extracted packet for processing {"connection_id":160198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763383744,"raw_latitude":96620560,"longitude_deg":76.3383744,"latitude_deg":9.662056,"altitude":11,"angle":8,"satellites":46,"speed":55,"hex_longitude":"2d804fc0","hex_latitude":"05c25010","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575312896001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388992628198211584,"note":"Value kept but may cause issues"} 
[2026-08-22 18:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9202402126357370880,"note":"Value kept but may cause issues"} 
[2026-08-22 18:30:30] 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-22 18:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787403573000,"timestamp_ms":1787403573000,"timestamp_seconds":1787403573,"priority":1,"record_length":96,"hex_timestamp":"000001a0298e1708"} 
[2026-08-22 18: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-22 18: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-22 18: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":97,"data_length":795,"current_offset":136} 
[2026-08-22 18:30: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-22 18: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-22 18: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-22 18:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575312896001,"66":27658,"234":206,"85":12288,"24":55,"16":388992628198211584,"45":-9202402126357370880},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-22 18:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575312896001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:30:30] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-22 18:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388992628198211584,"km_value":388992628198211.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9202402126357370880,"description":"Unknown IO ID 45"} 
[2026-08-22 18:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575312896001,"power":27658,"unknown_234":206,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":-9202402126357370880}} 
[2026-08-22 18:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":160198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:30:30] local.INFO: GPS data processed {"connection_id":160198,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:30:30] local.INFO: Acknowledgment sent {"connection_id":160198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:30:35] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298d6358012d1695c0072596c0002c015121..."} 
[2026-08-22 18:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298d6358012d1695c0072596c0002c015121..."} 
[2026-08-22 18:30:35] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298d6358012d1695c0072596c0002c015121..."} 
[2026-08-22 18:30:35] local.INFO: Packet analysis {"connection_id":160199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298d"} 
[2026-08-22 18:30:35] local.INFO: Extracted packet for processing {"connection_id":160199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298d"} 
[2026-08-22 18:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756454848,"raw_latitude":119903936,"longitude_deg":75.6454848,"latitude_deg":11.9903936,"altitude":44,"angle":337,"satellites":33,"speed":46,"hex_longitude":"2d1695c0","hex_latitude":"072596c0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575301120001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14812195447635968,"note":"Value kept but may cause issues"} 
[2026-08-22 18:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1630162358313254912,"note":"Value kept but may cause issues"} 
[2026-08-22 18:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787403527000,"timestamp_ms":1787403527000,"timestamp_seconds":1787403527,"priority":1,"record_length":96,"hex_timestamp":"000001a0298d6358"} 
[2026-08-22 18: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-22 18:30: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-22 18: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":125,"data_length":795,"current_offset":136} 
[2026-08-22 18:30: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-22 18: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-22 18: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-22 18:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:30:35] 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-22 18:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575301120001,"66":14428,"135":206,"83":42752,"24":46,"16":14812195447635968,"45":1630162358313254912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-22 18:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575301120001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:30:35] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-22 18:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14812195447635968,"km_value":14812195447635.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1630162358313254912,"description":"Unknown IO ID 45"} 
[2026-08-22 18:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575301120001,"power":14428,"unknown_135":206,"unknown_83":42752,"ignition":46,"odometer":null,"unknown_45":1630162358313254912}} 
[2026-08-22 18:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":160199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:30:35] local.INFO: GPS data processed {"connection_id":160199,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:30:35] local.INFO: Acknowledgment sent {"connection_id":160199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:30:48] local.INFO: TCP Data received {"connection_id":159965,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:30:48] local.INFO: Processing buffer {"connection_id":159965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:30:48] local.INFO: IMEI packet received {"connection_id":159965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":159965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:30:51] local.INFO: TCP Data received {"connection_id":159965,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:30:51] local.INFO: Processing buffer {"connection_id":159965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:30:51] local.INFO: IMEI packet received {"connection_id":159965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":159965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:30:52] local.INFO: TCP Data received {"connection_id":162554,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:30:52] local.INFO: Processing buffer {"connection_id":162554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:30:52] local.INFO: IMEI packet received {"connection_id":162554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":162554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:30:52] local.INFO: TCP Data received {"connection_id":159965,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298e3260012d80554005c276a0000b00072d..."} 
[2026-08-22 18:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298e3260012d80554005c276a0000b00072d..."} 
[2026-08-22 18:30:52] local.INFO: Processing buffer {"connection_id":159965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298e3260012d80554005c276a0000b00072d..."} 
[2026-08-22 18:30:52] local.INFO: Packet analysis {"connection_id":159965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:30:52] local.INFO: Extracted packet for processing {"connection_id":159965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:30:52] local.INFO: GPS Element Parsed {"raw_longitude":763385152,"raw_latitude":96630432,"longitude_deg":76.3385152,"latitude_deg":9.6630432,"altitude":11,"angle":7,"satellites":45,"speed":58,"hex_longitude":"2d805540","hex_latitude":"05c276a0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575314688001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388993109234548736,"note":"Value kept but may cause issues"} 
[2026-08-22 18:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200924382727237632,"note":"Value kept but may cause issues"} 
[2026-08-22 18:30: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-22 18:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787403580000,"timestamp_ms":1787403580000,"timestamp_seconds":1787403580,"priority":1,"record_length":96,"hex_timestamp":"000001a0298e3260"} 
[2026-08-22 18: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-22 18:30: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-22 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 18:30:52] 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-22 18: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-22 18: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-22 18:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575314688001,"66":27626,"234":206,"85":12288,"24":58,"16":388993109234548736,"45":-9200924382727237632},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-22 18:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575314688001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:30:52] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-22 18:30:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388993109234548736,"km_value":388993109234548.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200924382727237632,"description":"Unknown IO ID 45"} 
[2026-08-22 18:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575314688001,"power":27626,"unknown_234":206,"unknown_85":12288,"ignition":58,"odometer":null,"unknown_45":-9200924382727237632}} 
[2026-08-22 18:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":159965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:30:52] local.INFO: GPS data processed {"connection_id":159965,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:30:52] local.INFO: Acknowledgment sent {"connection_id":159965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:30:53] local.INFO: TCP Data received {"connection_id":162554,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:30:53] local.INFO: Processing buffer {"connection_id":162554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:30:53] local.INFO: IMEI packet received {"connection_id":162554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":162554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:31:04] local.INFO: TCP Data received {"connection_id":162554,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:31:04] local.INFO: Processing buffer {"connection_id":162554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:31:04] local.INFO: IMEI packet received {"connection_id":162554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":162554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:31:05] local.INFO: TCP Data received {"connection_id":162554,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298e9bd8012d157f0007263ea8002901271e..."} 
[2026-08-22 18:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298e9bd8012d157f0007263ea8002901271e..."} 
[2026-08-22 18:31:05] local.INFO: Processing buffer {"connection_id":162554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298e9bd8012d157f0007263ea8002901271e..."} 
[2026-08-22 18:31:05] local.INFO: Packet analysis {"connection_id":162554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:31:05] local.INFO: Extracted packet for processing {"connection_id":162554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756383488,"raw_latitude":119946920,"longitude_deg":75.6383488,"latitude_deg":11.994692,"altitude":41,"angle":295,"satellites":30,"speed":39,"hex_longitude":"2d157f00","hex_latitude":"07263ea8","is_valid_coordinates":true} 
[2026-08-22 18:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575321088001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14816421695455232,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1558667714240557056,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31:05] 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-22 18:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787403607000,"timestamp_ms":1787403607000,"timestamp_seconds":1787403607,"priority":1,"record_length":96,"hex_timestamp":"000001a0298e9bd8"} 
[2026-08-22 18:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:31: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-22 18:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 18:31:05] 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-22 18:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:31:05] 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-22 18:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575321088001,"66":13972,"137":206,"83":42752,"24":39,"16":14816421695455232,"45":1558667714240557056},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 18:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575321088001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:31:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 18:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14816421695455232,"km_value":14816421695455.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1558667714240557056,"description":"Unknown IO ID 45"} 
[2026-08-22 18:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575321088001,"power":13972,"unknown_137":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1558667714240557056}} 
[2026-08-22 18:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":162554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:31:05] local.INFO: GPS data processed {"connection_id":162554,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:31:05] local.INFO: Acknowledgment sent {"connection_id":162554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:31:24] local.INFO: TCP Data received {"connection_id":159965,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298e49d0012d8059c005c29910000b00072c..."} 
[2026-08-22 18:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298e49d0012d8059c005c29910000b00072c..."} 
[2026-08-22 18:31:24] local.INFO: Processing buffer {"connection_id":159965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298e49d0012d8059c005c29910000b00072c..."} 
[2026-08-22 18:31:24] local.INFO: Packet analysis {"connection_id":159965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:31:24] local.INFO: Extracted packet for processing {"connection_id":159965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:31:24] local.INFO: GPS Element Parsed {"raw_longitude":763386304,"raw_latitude":96639248,"longitude_deg":76.3386304,"latitude_deg":9.6639248,"altitude":11,"angle":7,"satellites":44,"speed":59,"hex_longitude":"2d8059c0","hex_latitude":"05c29910","is_valid_coordinates":true} 
[2026-08-22 18:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575316480001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388993543026245632,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9199376270352801792,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31: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-22 18:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787403586000,"timestamp_ms":1787403586000,"timestamp_seconds":1787403586,"priority":1,"record_length":96,"hex_timestamp":"000001a0298e49d0"} 
[2026-08-22 18:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:31: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-22 18:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-22 18:31:24] 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-22 18:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575316480001,"66":27767,"234":206,"85":12288,"24":59,"16":388993543026245632,"45":-9199376270352801792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-22 18:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575316480001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:31:24] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-22 18:31:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388993543026245632,"km_value":388993543026245.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9199376270352801792,"description":"Unknown IO ID 45"} 
[2026-08-22 18:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575316480001,"power":27767,"unknown_234":206,"unknown_85":12288,"ignition":59,"odometer":null,"unknown_45":-9199376270352801792}} 
[2026-08-22 18:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":159965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:31:24] local.INFO: GPS data processed {"connection_id":159965,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:31:24] local.INFO: Acknowledgment sent {"connection_id":159965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:31:36] local.INFO: TCP Data received {"connection_id":162554,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298ebb18012d15600007265060002701311e..."} 
[2026-08-22 18:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298ebb18012d15600007265060002701311e..."} 
[2026-08-22 18:31:36] local.INFO: Processing buffer {"connection_id":162554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298ebb18012d15600007265060002701311e..."} 
[2026-08-22 18:31:36] local.INFO: Packet analysis {"connection_id":162554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:31:36] local.INFO: Extracted packet for processing {"connection_id":162554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756375552,"raw_latitude":119951456,"longitude_deg":75.6375552,"latitude_deg":11.9951456,"altitude":39,"angle":305,"satellites":30,"speed":48,"hex_longitude":"2d156000","hex_latitude":"07265060","is_valid_coordinates":true} 
[2026-08-22 18:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575323392001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14816855487152128,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1548956827545151488,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31:36] 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-22 18:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787403615000,"timestamp_ms":1787403615000,"timestamp_seconds":1787403615,"priority":1,"record_length":96,"hex_timestamp":"000001a0298ebb18"} 
[2026-08-22 18:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:31: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-22 18:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-22 18:31:36] 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-22 18:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:31:36] 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-22 18:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575323392001,"66":14450,"137":206,"83":42752,"24":48,"16":14816855487152128,"45":1548956827545151488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 18:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575323392001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:31:36] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 18:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14816855487152128,"km_value":14816855487152.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1548956827545151488,"description":"Unknown IO ID 45"} 
[2026-08-22 18:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575323392001,"power":14450,"unknown_137":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1548956827545151488}} 
[2026-08-22 18:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":162554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:31:36] local.INFO: GPS data processed {"connection_id":162554,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:31:36] local.INFO: Acknowledgment sent {"connection_id":162554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:31:42] local.INFO: TCP Data received {"connection_id":162553,"ip":"117.224.239.89","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-22 18:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162553,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-22 18:31:42] local.INFO: Processing buffer {"connection_id":162553,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-22 18:31:42] local.INFO: IMEI packet received {"connection_id":162553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":162553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:31:48] local.INFO: TCP Data received {"connection_id":161132,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:31:48] local.INFO: Processing buffer {"connection_id":161132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:31:48] local.INFO: IMEI packet received {"connection_id":161132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":161132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:31:52] local.INFO: TCP Data received {"connection_id":159966,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:31:52] local.INFO: Processing buffer {"connection_id":159966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:31:52] local.INFO: IMEI packet received {"connection_id":159966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":159966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:31:53] local.INFO: TCP Data received {"connection_id":161132,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:31:53] local.INFO: Processing buffer {"connection_id":161132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:31:53] local.INFO: IMEI packet received {"connection_id":161132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":161132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:31:55] local.INFO: TCP Data received {"connection_id":161132,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298e6140012d805e8005c2bc40000b00082b..."} 
[2026-08-22 18:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298e6140012d805e8005c2bc40000b00082b..."} 
[2026-08-22 18:31:55] local.INFO: Processing buffer {"connection_id":161132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298e6140012d805e8005c2bc40000b00082b..."} 
[2026-08-22 18:31:55] local.INFO: Packet analysis {"connection_id":161132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:31:55] local.INFO: Extracted packet for processing {"connection_id":161132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763387520,"raw_latitude":96648256,"longitude_deg":76.338752,"latitude_deg":9.6648256,"altitude":11,"angle":8,"satellites":43,"speed":60,"hex_longitude":"2d805e80","hex_latitude":"05c2bc40","is_valid_coordinates":true} 
[2026-08-22 18:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575318016001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388993981112909824,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198109632955346944,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31: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-22 18:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787403592000,"timestamp_ms":1787403592000,"timestamp_seconds":1787403592,"priority":1,"record_length":96,"hex_timestamp":"000001a0298e6140"} 
[2026-08-22 18:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:31: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-22 18:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 18:31: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-22 18:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575318016001,"66":27658,"234":206,"85":12288,"24":60,"16":388993981112909824,"45":-9198109632955346944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-22 18:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575318016001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:31:55] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-22 18:31:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388993981112909824,"km_value":388993981112909.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198109632955346944,"description":"Unknown IO ID 45"} 
[2026-08-22 18:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575318016001,"power":27658,"unknown_234":206,"unknown_85":12288,"ignition":60,"odometer":null,"unknown_45":-9198109632955346944}} 
[2026-08-22 18:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":161132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:31:55] local.INFO: GPS data processed {"connection_id":161132,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:31:55] local.INFO: Acknowledgment sent {"connection_id":161132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:31:57] local.INFO: TCP Data received {"connection_id":159966,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:31:57] local.INFO: Processing buffer {"connection_id":159966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:31:57] local.INFO: IMEI packet received {"connection_id":159966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":159966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:31:57] local.INFO: TCP Data received {"connection_id":159966,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:31:57] local.INFO: Processing buffer {"connection_id":159966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:31:57] local.INFO: IMEI packet received {"connection_id":159966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":159966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:31:58] local.INFO: TCP Data received {"connection_id":159966,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298ecab8012d15520007265d100025013d1d..."} 
[2026-08-22 18:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298ecab8012d15520007265d100025013d1d..."} 
[2026-08-22 18:31:58] local.INFO: Processing buffer {"connection_id":159966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298ecab8012d15520007265d100025013d1d..."} 
[2026-08-22 18:31:58] local.INFO: Packet analysis {"connection_id":159966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:31:58] local.INFO: Extracted packet for processing {"connection_id":159966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:31:58] local.INFO: GPS Element Parsed {"raw_longitude":756371968,"raw_latitude":119954704,"longitude_deg":75.6371968,"latitude_deg":11.9954704,"altitude":37,"angle":317,"satellites":29,"speed":47,"hex_longitude":"2d155200","hex_latitude":"07265d10","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575325440001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14817087415386112,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1540231103268282368,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31:58] 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-22 18:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787403619000,"timestamp_ms":1787403619000,"timestamp_seconds":1787403619,"priority":1,"record_length":96,"hex_timestamp":"000001a0298ecab8"} 
[2026-08-22 18: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-22 18:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-22 18:31: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-22 18: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-22 18: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-22 18:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:31: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-22 18:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575325440001,"66":14396,"137":206,"83":42752,"24":47,"16":14817087415386112,"45":1540231103268282368},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 18:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575325440001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:31:58] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 18:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14817087415386112,"km_value":14817087415386.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1540231103268282368,"description":"Unknown IO ID 45"} 
[2026-08-22 18:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575325440001,"power":14396,"unknown_137":206,"unknown_83":42752,"ignition":47,"odometer":null,"unknown_45":1540231103268282368}} 
[2026-08-22 18:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":159966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:31:58] local.INFO: GPS data processed {"connection_id":159966,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:31:58] local.INFO: Acknowledgment sent {"connection_id":159966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:31:59] local.INFO: TCP Data received {"connection_id":159966,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298ee9f8012d15370007267748002201371c..."} 
[2026-08-22 18:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298ee9f8012d15370007267748002201371c..."} 
[2026-08-22 18:31:59] local.INFO: Processing buffer {"connection_id":159966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298ee9f8012d15370007267748002201371c..."} 
[2026-08-22 18:31:59] local.INFO: Packet analysis {"connection_id":159966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:31:59] local.INFO: Extracted packet for processing {"connection_id":159966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756365056,"raw_latitude":119961416,"longitude_deg":75.6365056,"latitude_deg":11.9961416,"altitude":34,"angle":311,"satellites":28,"speed":46,"hex_longitude":"2d153700","hex_latitude":"07267748","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575326464001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14817551271854080,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1536290453595164672,"note":"Value kept but may cause issues"} 
[2026-08-22 18:31:59] 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-22 18:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787403627000,"timestamp_ms":1787403627000,"timestamp_seconds":1787403627,"priority":1,"record_length":96,"hex_timestamp":"000001a0298ee9f8"} 
[2026-08-22 18: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-22 18:31: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-22 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 18:31: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-22 18: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-22 18: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-22 18:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:31:59] 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-22 18:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575326464001,"66":13656,"137":206,"83":42752,"24":46,"16":14817551271854080,"45":1536290453595164672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 18:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575326464001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:31:59] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 18:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14817551271854080,"km_value":14817551271854.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1536290453595164672,"description":"Unknown IO ID 45"} 
[2026-08-22 18:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575326464001,"power":13656,"unknown_137":206,"unknown_83":42752,"ignition":46,"odometer":null,"unknown_45":1536290453595164672}} 
[2026-08-22 18:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":159966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:31:59] local.INFO: GPS data processed {"connection_id":159966,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:31:59] local.INFO: Acknowledgment sent {"connection_id":159966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:32:26] local.INFO: TCP Data received {"connection_id":161132,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298e7c98012d80634005c2dfd8000b00072c..."} 
[2026-08-22 18:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298e7c98012d80634005c2dfd8000b00072c..."} 
[2026-08-22 18:32:26] local.INFO: Processing buffer {"connection_id":161132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298e7c98012d80634005c2dfd8000b00072c..."} 
[2026-08-22 18:32:26] local.INFO: Packet analysis {"connection_id":161132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:32:26] local.INFO: Extracted packet for processing {"connection_id":161132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:32:26] local.INFO: GPS Element Parsed {"raw_longitude":763388736,"raw_latitude":96657368,"longitude_deg":76.3388736,"latitude_deg":9.6657368,"altitude":11,"angle":7,"satellites":44,"speed":42,"hex_longitude":"2d806340","hex_latitude":"05c2dfd8","is_valid_coordinates":true} 
[2026-08-22 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-22 18:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575319552001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388994427789508608,"note":"Value kept but may cause issues"} 
[2026-08-22 18:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196772626813665280,"note":"Value kept but may cause issues"} 
[2026-08-22 18:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787403599000,"timestamp_ms":1787403599000,"timestamp_seconds":1787403599,"priority":1,"record_length":96,"hex_timestamp":"000001a0298e7c98"} 
[2026-08-22 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-22 18:32: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-22 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 18:32: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-22 18:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 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-22 18:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575319552001,"66":27800,"179":206,"85":12288,"24":42,"16":388994427789508608,"45":-9196772626813665280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-22 18:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575319552001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:32:26] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-22 18:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388994427789508608,"km_value":388994427789508.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196772626813665280,"description":"Unknown IO ID 45"} 
[2026-08-22 18:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575319552001,"power":27800,"unknown_179":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":-9196772626813665280}} 
[2026-08-22 18:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":161132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:32:26] local.INFO: GPS data processed {"connection_id":161132,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:32:26] local.INFO: Acknowledgment sent {"connection_id":161132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:32:35] local.INFO: TCP Data received {"connection_id":159966,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298ff398012d14158007268df0002701281e..."} 
[2026-08-22 18:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298ff398012d14158007268df0002701281e..."} 
[2026-08-22 18:32:35] local.INFO: Processing buffer {"connection_id":159966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298ff398012d14158007268df0002701281e..."} 
[2026-08-22 18:32:35] local.INFO: Packet analysis {"connection_id":159966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298f"} 
[2026-08-22 18:32:35] local.INFO: Extracted packet for processing {"connection_id":159966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298f"} 
[2026-08-22 18:32:35] local.INFO: GPS Element Parsed {"raw_longitude":756290944,"raw_latitude":119967216,"longitude_deg":75.6290944,"latitude_deg":11.9967216,"altitude":39,"angle":296,"satellites":30,"speed":43,"hex_longitude":"2d141580","hex_latitude":"07268df0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575345408001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14821206289022976,"note":"Value kept but may cause issues"} 
[2026-08-22 18:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1449596160771284992,"note":"Value kept but may cause issues"} 
[2026-08-22 18:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787403695000,"timestamp_ms":1787403695000,"timestamp_seconds":1787403695,"priority":1,"record_length":96,"hex_timestamp":"000001a0298ff398"} 
[2026-08-22 18: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-22 18:32: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-22 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 18:32: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-22 18: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-22 18: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-22 18:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:32:35] 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-22 18:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575345408001,"66":14461,"52":206,"83":42752,"24":43,"16":14821206289022976,"45":1449596160771284992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-22 18:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575345408001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:32:35] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-22 18:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14821206289022976,"km_value":14821206289022.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1449596160771284992,"description":"Unknown IO ID 45"} 
[2026-08-22 18:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575345408001,"power":14461,"unknown_52":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1449596160771284992}} 
[2026-08-22 18:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":159966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:32:35] local.INFO: GPS data processed {"connection_id":159966,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:32:35] local.INFO: Acknowledgment sent {"connection_id":159966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:32:48] local.INFO: TCP Data received {"connection_id":161133,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:32:48] local.INFO: Processing buffer {"connection_id":161133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:32:48] local.INFO: IMEI packet received {"connection_id":161133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":161133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:32:52] local.INFO: TCP Data received {"connection_id":159967,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:32:52] local.INFO: Processing buffer {"connection_id":159967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:32:52] local.INFO: IMEI packet received {"connection_id":159967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":159967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:32:53] local.INFO: TCP Data received {"connection_id":161133,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:32:53] local.INFO: Processing buffer {"connection_id":161133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:32:53] local.INFO: IMEI packet received {"connection_id":161133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":161133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:32:54] local.INFO: TCP Data received {"connection_id":161133,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298eb348012d8068c005c30290000b00092b..."} 
[2026-08-22 18:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298eb348012d8068c005c30290000b00092b..."} 
[2026-08-22 18:32:54] local.INFO: Processing buffer {"connection_id":161133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298eb348012d8068c005c30290000b00092b..."} 
[2026-08-22 18:32:54] local.INFO: Packet analysis {"connection_id":161133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:32:54] local.INFO: Extracted packet for processing {"connection_id":161133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298e"} 
[2026-08-22 18:32:54] local.INFO: GPS Element Parsed {"raw_longitude":763390144,"raw_latitude":96666256,"longitude_deg":76.3390144,"latitude_deg":9.6666256,"altitude":11,"angle":9,"satellites":43,"speed":11,"hex_longitude":"2d8068c0","hex_latitude":"05c30290","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575321344001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388994865876172800,"note":"Value kept but may cause issues"} 
[2026-08-22 18:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195435620671956992,"note":"Value kept but may cause issues"} 
[2026-08-22 18:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787403613000,"timestamp_ms":1787403613000,"timestamp_seconds":1787403613,"priority":1,"record_length":96,"hex_timestamp":"000001a0298eb348"} 
[2026-08-22 18: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-22 18:32: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-22 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 18:32: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-22 18: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-22 18: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-22 18:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575321344001,"66":27615,"179":206,"85":12288,"24":11,"16":388994865876172800,"45":-9195435620671956992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-22 18:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575321344001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:32:54] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-22 18:32:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388994865876172800,"km_value":388994865876172.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195435620671956992,"description":"Unknown IO ID 45"} 
[2026-08-22 18:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575321344001,"power":27615,"unknown_179":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":-9195435620671956992}} 
[2026-08-22 18:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":161133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:32:54] local.INFO: GPS data processed {"connection_id":161133,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:32:54] local.INFO: Acknowledgment sent {"connection_id":161133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:32:57] local.INFO: TCP Data received {"connection_id":159967,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:32:57] local.INFO: Processing buffer {"connection_id":159967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:32:57] local.INFO: IMEI packet received {"connection_id":159967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":159967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:32:58] local.INFO: TCP Data received {"connection_id":159967,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0298fff50012d140bc0072694f8002701351e..."} 
[2026-08-22 18:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298fff50012d140bc0072694f8002701351e..."} 
[2026-08-22 18:32:58] local.INFO: Processing buffer {"connection_id":159967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298fff50012d140bc0072694f8002701351e..."} 
[2026-08-22 18:32:58] local.INFO: Packet analysis {"connection_id":159967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298f"} 
[2026-08-22 18:32:58] local.INFO: Extracted packet for processing {"connection_id":159967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298f"} 
[2026-08-22 18:32:58] local.INFO: GPS Element Parsed {"raw_longitude":756288448,"raw_latitude":119969016,"longitude_deg":75.6288448,"latitude_deg":11.9969016,"altitude":39,"angle":309,"satellites":30,"speed":40,"hex_longitude":"2d140bc0","hex_latitude":"072694f8","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575345920001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14821356612878336,"note":"Value kept but may cause issues"} 
[2026-08-22 18:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1447203623469445120,"note":"Value kept but may cause issues"} 
[2026-08-22 18:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787403698000,"timestamp_ms":1787403698000,"timestamp_seconds":1787403698,"priority":1,"record_length":96,"hex_timestamp":"000001a0298fff50"} 
[2026-08-22 18: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-22 18:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 18:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18: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-22 18: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-22 18:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:32: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-22 18:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575345920001,"66":14461,"52":206,"83":42752,"24":40,"16":14821356612878336,"45":1447203623469445120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-22 18:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575345920001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:32:58] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-22 18:32:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14821356612878336,"km_value":14821356612878.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1447203623469445120,"description":"Unknown IO ID 45"} 
[2026-08-22 18:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575345920001,"power":14461,"unknown_52":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1447203623469445120}} 
[2026-08-22 18:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":159967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:32:58] local.INFO: GPS data processed {"connection_id":159967,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:32:58] local.INFO: Acknowledgment sent {"connection_id":159967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:33:26] local.INFO: TCP Data received {"connection_id":161133,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298f0550012d806a4005c30c38000b00072a..."} 
[2026-08-22 18:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298f0550012d806a4005c30c38000b00072a..."} 
[2026-08-22 18:33:26] local.INFO: Processing buffer {"connection_id":161133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298f0550012d806a4005c30c38000b00072a..."} 
[2026-08-22 18:33:26] local.INFO: Packet analysis {"connection_id":161133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298f"} 
[2026-08-22 18:33:26] local.INFO: Extracted packet for processing {"connection_id":161133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298f"} 
[2026-08-22 18:33:26] local.INFO: GPS Element Parsed {"raw_longitude":763390528,"raw_latitude":96668728,"longitude_deg":76.3390528,"latitude_deg":9.6668728,"altitude":11,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d806a40","hex_latitude":"05c30c38","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575324928001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388994990430224384,"note":"Value kept but may cause issues"} 
[2026-08-22 18:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193887508297773056,"note":"Value kept but may cause issues"} 
[2026-08-22 18:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787403634000,"timestamp_ms":1787403634000,"timestamp_seconds":1787403634,"priority":1,"record_length":96,"hex_timestamp":"000001a0298f0550"} 
[2026-08-22 18: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-22 18: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-22 18: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-22 18:33:26] 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-22 18: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-22 18: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-22 18:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575324928001,"66":27658,"179":206,"85":12288,"24":0,"16":388994990430224384,"45":-9193887508297773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-22 18:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575324928001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:33:26] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-22 18:33:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388994990430224384,"km_value":388994990430224.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193887508297773056,"description":"Unknown IO ID 45"} 
[2026-08-22 18:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575324928001,"power":27658,"unknown_179":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9193887508297773056}} 
[2026-08-22 18:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":161133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:33:26] local.INFO: GPS data processed {"connection_id":161133,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:33:26] local.INFO: Acknowledgment sent {"connection_id":161133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:33:29] local.INFO: TCP Data received {"connection_id":159967,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029902660012d13eec00726ae600027013a1f..."} 
[2026-08-22 18:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029902660012d13eec00726ae600027013a1f..."} 
[2026-08-22 18:33:29] local.INFO: Processing buffer {"connection_id":159967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029902660012d13eec00726ae600027013a1f..."} 
[2026-08-22 18:33:29] local.INFO: Packet analysis {"connection_id":159967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02990"} 
[2026-08-22 18:33:29] local.INFO: Extracted packet for processing {"connection_id":159967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02990"} 
[2026-08-22 18:33:29] local.INFO: GPS Element Parsed {"raw_longitude":756281024,"raw_latitude":119975520,"longitude_deg":75.6281024,"latitude_deg":11.997552,"altitude":39,"angle":314,"satellites":31,"speed":38,"hex_longitude":"2d13eec0","hex_latitude":"0726ae60","is_valid_coordinates":true} 
[2026-08-22 18:33: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-22 18:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575346688001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14821829059280896,"note":"Value kept but may cause issues"} 
[2026-08-22 18:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1444459242446977024,"note":"Value kept but may cause issues"} 
[2026-08-22 18:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787403708000,"timestamp_ms":1787403708000,"timestamp_seconds":1787403708,"priority":1,"record_length":96,"hex_timestamp":"000001a029902660"} 
[2026-08-22 18:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:33: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":125,"data_length":795,"current_offset":136} 
[2026-08-22 18:33:29] 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-22 18:33: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-22 18:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:33:29] 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-22 18:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575346688001,"66":14374,"52":206,"83":42752,"24":38,"16":14821829059280896,"45":1444459242446977024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-22 18:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575346688001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:33:29] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-22 18:33:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14821829059280896,"km_value":14821829059280.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1444459242446977024,"description":"Unknown IO ID 45"} 
[2026-08-22 18:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575346688001,"power":14374,"unknown_52":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1444459242446977024}} 
[2026-08-22 18:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":159967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:33:29] local.INFO: GPS data processed {"connection_id":159967,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:33:29] local.INFO: Acknowledgment sent {"connection_id":159967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:33:48] local.INFO: TCP Data received {"connection_id":160200,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:33:48] local.INFO: Processing buffer {"connection_id":160200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:33:48] local.INFO: IMEI packet received {"connection_id":160200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":160200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:33:53] local.INFO: TCP Data received {"connection_id":160200,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:33:53] local.INFO: Processing buffer {"connection_id":160200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:33:53] local.INFO: IMEI packet received {"connection_id":160200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":160200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:33:54] local.INFO: TCP Data received {"connection_id":160200,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298f5758012d806a4005c30df8000b000729..."} 
[2026-08-22 18:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298f5758012d806a4005c30df8000b000729..."} 
[2026-08-22 18:33:54] local.INFO: Processing buffer {"connection_id":160200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298f5758012d806a4005c30df8000b000729..."} 
[2026-08-22 18:33:54] local.INFO: Packet analysis {"connection_id":160200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298f"} 
[2026-08-22 18:33:54] local.INFO: Extracted packet for processing {"connection_id":160200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298f"} 
[2026-08-22 18:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763390528,"raw_latitude":96669176,"longitude_deg":76.3390528,"latitude_deg":9.6669176,"altitude":11,"angle":7,"satellites":41,"speed":2,"hex_longitude":"2d806a40","hex_latitude":"05c30df8","is_valid_coordinates":true} 
[2026-08-22 18:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575330304001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388995011905060864,"note":"Value kept but may cause issues"} 
[2026-08-22 18:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193465295832074240,"note":"Value kept but may cause issues"} 
[2026-08-22 18:33:54] 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-22 18:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787403655000,"timestamp_ms":1787403655000,"timestamp_seconds":1787403655,"priority":1,"record_length":96,"hex_timestamp":"000001a0298f5758"} 
[2026-08-22 18:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:33: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-22 18:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 18:33:54] 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-22 18:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575330304001,"66":27876,"157":206,"85":12288,"24":2,"16":388995011905060864,"45":-9193465295832074240},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575330304001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:33:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:33:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388995011905060864,"km_value":388995011905060.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193465295832074240,"description":"Unknown IO ID 45"} 
[2026-08-22 18:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575330304001,"power":27876,"unknown_157":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":-9193465295832074240}} 
[2026-08-22 18:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":160200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:33:54] local.INFO: GPS data processed {"connection_id":160200,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:33:54] local.INFO: Acknowledgment sent {"connection_id":160200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:33:57] local.INFO: TCP Data received {"connection_id":161134,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:33:57] local.INFO: Processing buffer {"connection_id":161134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:33:57] local.INFO: IMEI packet received {"connection_id":161134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":161134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:34:04] local.INFO: TCP Data received {"connection_id":161134,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:34:04] local.INFO: Processing buffer {"connection_id":161134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:34:04] local.INFO: IMEI packet received {"connection_id":161134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":161134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:34:05] local.INFO: TCP Data received {"connection_id":161134,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029914f40012d12e04007269080003100f31e..."} 
[2026-08-22 18:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029914f40012d12e04007269080003100f31e..."} 
[2026-08-22 18:34:05] local.INFO: Processing buffer {"connection_id":161134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029914f40012d12e04007269080003100f31e..."} 
[2026-08-22 18:34:05] local.INFO: Packet analysis {"connection_id":161134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02991"} 
[2026-08-22 18:34:05] local.INFO: Extracted packet for processing {"connection_id":161134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02991"} 
[2026-08-22 18:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756211776,"raw_latitude":119967872,"longitude_deg":75.6211776,"latitude_deg":11.9967872,"altitude":49,"angle":243,"satellites":30,"speed":42,"hex_longitude":"2d12e040","hex_latitude":"07269080","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575366400001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14825295097888768,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1369305423666049024,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:05] 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-22 18:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787403784000,"timestamp_ms":1787403784000,"timestamp_seconds":1787403784,"priority":1,"record_length":96,"hex_timestamp":"000001a029914f40"} 
[2026-08-22 18: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-22 18:34:05] 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-22 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-22 18:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18: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-22 18: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-22 18:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:34:05] 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-22 18:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575366400001,"66":14407,"106":206,"83":42752,"24":42,"16":14825295097888768,"45":1369305423666049024},"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-22 18:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575366400001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:34:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 18:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14825295097888768,"km_value":14825295097888.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1369305423666049024,"description":"Unknown IO ID 45"} 
[2026-08-22 18:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575366400001,"power":14407,"unknown_106":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1369305423666049024}} 
[2026-08-22 18:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":161134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:34:05] local.INFO: GPS data processed {"connection_id":161134,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:34:05] local.INFO: Acknowledgment sent {"connection_id":161134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:34:06] local.INFO: TCP Data received {"connection_id":161134,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029917268012d12bd8007267fd0003200ee1c..."} 
[2026-08-22 18:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029917268012d12bd8007267fd0003200ee1c..."} 
[2026-08-22 18:34:06] local.INFO: Processing buffer {"connection_id":161134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029917268012d12bd8007267fd0003200ee1c..."} 
[2026-08-22 18:34:06] local.INFO: Packet analysis {"connection_id":161134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02991"} 
[2026-08-22 18:34:06] local.INFO: Extracted packet for processing {"connection_id":161134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02991"} 
[2026-08-22 18:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756202880,"raw_latitude":119963600,"longitude_deg":75.620288,"latitude_deg":11.99636,"altitude":50,"angle":238,"satellites":28,"speed":42,"hex_longitude":"2d12bd80","hex_latitude":"07267fd0","is_valid_coordinates":true} 
[2026-08-22 18:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575368704001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14825763249324032,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1360157486921842688,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:06] 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-22 18:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787403793000,"timestamp_ms":1787403793000,"timestamp_seconds":1787403793,"priority":1,"record_length":96,"hex_timestamp":"000001a029917268"} 
[2026-08-22 18:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:34:06] 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-22 18:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 18:34: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-22 18:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:34:06] 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-22 18:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575368704001,"66":14341,"106":206,"83":42752,"24":42,"16":14825763249324032,"45":1360157486921842688},"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-22 18:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575368704001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:34:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 18:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14825763249324032,"km_value":14825763249324.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1360157486921842688,"description":"Unknown IO ID 45"} 
[2026-08-22 18:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575368704001,"power":14341,"unknown_106":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1360157486921842688}} 
[2026-08-22 18:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":161134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:34:06] local.INFO: GPS data processed {"connection_id":161134,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:34:06] local.INFO: Acknowledgment sent {"connection_id":161134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:34:26] local.INFO: TCP Data received {"connection_id":160200,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298fa960012d806a8005c30eb8000b00072a..."} 
[2026-08-22 18:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298fa960012d806a8005c30eb8000b00072a..."} 
[2026-08-22 18:34:26] local.INFO: Processing buffer {"connection_id":160200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298fa960012d806a8005c30eb8000b00072a..."} 
[2026-08-22 18:34:26] local.INFO: Packet analysis {"connection_id":160200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298f"} 
[2026-08-22 18:34:26] local.INFO: Extracted packet for processing {"connection_id":160200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298f"} 
[2026-08-22 18:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763390592,"raw_latitude":96669368,"longitude_deg":76.3390592,"latitude_deg":9.6669368,"altitude":11,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d806a80","hex_latitude":"05c30eb8","is_valid_coordinates":true} 
[2026-08-22 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-22 18:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575335680001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388995020494995456,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193465295831959552,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:26] 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-22 18:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787403676000,"timestamp_ms":1787403676000,"timestamp_seconds":1787403676,"priority":1,"record_length":96,"hex_timestamp":"000001a0298fa960"} 
[2026-08-22 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-22 18:34: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-22 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":228,"data_length":795,"current_offset":136} 
[2026-08-22 18:34: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-22 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-22 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-22 18:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575335680001,"66":27919,"157":206,"85":12288,"24":0,"16":388995020494995456,"45":-9193465295831959552},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575335680001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:34:26] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388995020494995456,"km_value":388995020494995.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193465295831959552,"description":"Unknown IO ID 45"} 
[2026-08-22 18:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575335680001,"power":27919,"unknown_157":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9193465295831959552}} 
[2026-08-22 18:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":160200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:34:26] local.INFO: GPS data processed {"connection_id":160200,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:34:26] local.INFO: Acknowledgment sent {"connection_id":160200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:34:37] local.INFO: TCP Data received {"connection_id":161134,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0299191a8012d12a0c007266b10003400e61d..."} 
[2026-08-22 18:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299191a8012d12a0c007266b10003400e61d..."} 
[2026-08-22 18:34:37] local.INFO: Processing buffer {"connection_id":161134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299191a8012d12a0c007266b10003400e61d..."} 
[2026-08-22 18:34:37] local.INFO: Packet analysis {"connection_id":161134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02991"} 
[2026-08-22 18:34:37] local.INFO: Extracted packet for processing {"connection_id":161134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02991"} 
[2026-08-22 18:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756195520,"raw_latitude":119958288,"longitude_deg":75.619552,"latitude_deg":11.9958288,"altitude":52,"angle":230,"satellites":29,"speed":45,"hex_longitude":"2d12a0c0","hex_latitude":"07266b10","is_valid_coordinates":true} 
[2026-08-22 18:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575371008001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14826197041020928,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1350376231480053760,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:37] 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-22 18:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787403801000,"timestamp_ms":1787403801000,"timestamp_seconds":1787403801,"priority":1,"record_length":96,"hex_timestamp":"000001a0299191a8"} 
[2026-08-22 18:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:34:37] 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-22 18:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 18:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":84745380549830326,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:37] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503825812946944,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:37] local.WARNING: Large IO value detected {"io_id":170,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:37] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2432002049,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:37] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3122135087,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1701445838,"corrected_to":0} 
[2026-08-22 18:34:37] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2147952317,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:37] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531173,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:37] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2854289408,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:37] local.WARNING: Large IO value detected {"io_id":56,"raw_value":13230527033123072,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:37] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,106,83,24,241,157,16,171,160,79,45,64,144,49,30,10,66,44,192,161,46,29,8,1,240,180,227,170,41,38,4,113,205,42,218,84,48,31,239,54,2,52,7,47,33,206,56],"length":529,"final_offset":659,"validated_count":47,"validation_warnings":[{"io_id":205,"original":1701445838,"validated":0}]} 
[2026-08-22 18:34:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603141505925644288,"timestamp_seconds":3603141505925644.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 18:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:34: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-22 18:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575371008001,"66":14004,"106":206,"83":42752,"24":45,"16":14826197041020928,"45":1350376231480053760},"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-22 18:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575371008001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:34:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 18:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 18:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14826197041020928,"km_value":14826197041020.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1350376231480053760,"description":"Unknown IO ID 45"} 
[2026-08-22 18:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575371008001,"power":14004,"unknown_106":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1350376231480053760}} 
[2026-08-22 18:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":161134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:34:38] local.INFO: GPS data processed {"connection_id":161134,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:34:38] local.INFO: Acknowledgment sent {"connection_id":161134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:34:48] local.INFO: TCP Data received {"connection_id":161137,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:34:48] local.INFO: Processing buffer {"connection_id":161137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:34:48] local.INFO: IMEI packet received {"connection_id":161137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":161137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:34:48] local.INFO: TCP Data received {"connection_id":161136,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:34:48] local.INFO: Processing buffer {"connection_id":161136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:34:48] local.INFO: IMEI packet received {"connection_id":161136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":161136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:34:49] local.INFO: TCP Data received {"connection_id":161137,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:34:49] local.INFO: Processing buffer {"connection_id":161137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:34:49] local.INFO: IMEI packet received {"connection_id":161137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":161137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:34:52] local.INFO: TCP Data received {"connection_id":161137,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:34:52] local.INFO: Processing buffer {"connection_id":161137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:34:52] local.INFO: IMEI packet received {"connection_id":161137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":161137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:34:53] local.INFO: TCP Data received {"connection_id":161137,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:34:53] local.INFO: Processing buffer {"connection_id":161137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:34:53] local.INFO: IMEI packet received {"connection_id":161137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":161137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:34:53] local.INFO: TCP Data received {"connection_id":161136,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:34:53] local.INFO: Processing buffer {"connection_id":161136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:34:53] local.INFO: IMEI packet received {"connection_id":161136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":161136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:34:54] local.INFO: TCP Data received {"connection_id":161136,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0298ffb68012d806a8005c30eb8000b00072a..."} 
[2026-08-22 18:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0298ffb68012d806a8005c30eb8000b00072a..."} 
[2026-08-22 18:34:54] local.INFO: Processing buffer {"connection_id":161136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0298ffb68012d806a8005c30eb8000b00072a..."} 
[2026-08-22 18:34:54] local.INFO: Packet analysis {"connection_id":161136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0298f"} 
[2026-08-22 18:34:54] local.INFO: Extracted packet for processing {"connection_id":161136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0298f"} 
[2026-08-22 18:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763390592,"raw_latitude":96669368,"longitude_deg":76.3390592,"latitude_deg":9.6669368,"altitude":11,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d806a80","hex_latitude":"05c30eb8","is_valid_coordinates":true} 
[2026-08-22 18:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575341056001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388995020494995456,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193394927087732736,"note":"Value kept but may cause issues"} 
[2026-08-22 18:34:54] 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-22 18:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787403697000,"timestamp_ms":1787403697000,"timestamp_seconds":1787403697,"priority":1,"record_length":96,"hex_timestamp":"000001a0298ffb68"} 
[2026-08-22 18:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:34: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-22 18:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 18:34: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-22 18:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575341056001,"66":27984,"157":206,"85":12288,"24":0,"16":388995020494995456,"45":-9193394927087732736},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575341056001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:34:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:34:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388995020494995456,"km_value":388995020494995.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193394927087732736,"description":"Unknown IO ID 45"} 
[2026-08-22 18:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575341056001,"power":27984,"unknown_157":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9193394927087732736}} 
[2026-08-22 18:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":161136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:34:54] local.INFO: GPS data processed {"connection_id":161136,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:34:54] local.INFO: Acknowledgment sent {"connection_id":161136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:35:25] local.INFO: TCP Data received {"connection_id":161136,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029904d70012d806b0005c31160000b00072b..."} 
[2026-08-22 18:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029904d70012d806b0005c31160000b00072b..."} 
[2026-08-22 18:35:25] local.INFO: Processing buffer {"connection_id":161136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029904d70012d806b0005c31160000b00072b..."} 
[2026-08-22 18:35:25] local.INFO: Packet analysis {"connection_id":161136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02990"} 
[2026-08-22 18:35:25] local.INFO: Extracted packet for processing {"connection_id":161136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02990"} 
[2026-08-22 18:35:25] local.INFO: GPS Element Parsed {"raw_longitude":763390720,"raw_latitude":96670048,"longitude_deg":76.339072,"latitude_deg":9.6670048,"altitude":11,"angle":7,"satellites":43,"speed":2,"hex_longitude":"2d806b00","hex_latitude":"05c31160","is_valid_coordinates":true} 
[2026-08-22 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-22 18:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575346432001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388995054854733824,"note":"Value kept but may cause issues"} 
[2026-08-22 18:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193394927087732736,"note":"Value kept but may cause issues"} 
[2026-08-22 18:35:25] 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-22 18:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787403718000,"timestamp_ms":1787403718000,"timestamp_seconds":1787403718,"priority":1,"record_length":96,"hex_timestamp":"000001a029904d70"} 
[2026-08-22 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-22 18:35: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-22 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-22 18:35:25] 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-22 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-22 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-22 18:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575346432001,"66":27691,"157":206,"85":12288,"24":2,"16":388995054854733824,"45":-9193394927087732736},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575346432001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:35:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388995054854733824,"km_value":388995054854733.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193394927087732736,"description":"Unknown IO ID 45"} 
[2026-08-22 18:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575346432001,"power":27691,"unknown_157":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":-9193394927087732736}} 
[2026-08-22 18:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":161136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:35:25] local.INFO: GPS data processed {"connection_id":161136,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:35:25] local.INFO: Acknowledgment sent {"connection_id":161136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:35:44] local.INFO: TCP Data received {"connection_id":161135,"ip":"117.224.11.189","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:35:44] local.INFO: Processing buffer {"connection_id":161135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:35:44] local.INFO: IMEI packet received {"connection_id":161135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":161135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:35:45] local.INFO: TCP Data received {"connection_id":161135,"ip":"117.224.11.189","data_length":795,"data_hex":"000000000000030f8e0a000001a029922a00012d7e408005e04648000000ac0b..."} 
[2026-08-22 18:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029922a00012d7e408005e04648000000ac0b..."} 
[2026-08-22 18:35:45] local.INFO: Processing buffer {"connection_id":161135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029922a00012d7e408005e04648000000ac0b..."} 
[2026-08-22 18:35:45] local.INFO: Packet analysis {"connection_id":161135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02992"} 
[2026-08-22 18:35:45] local.INFO: Extracted packet for processing {"connection_id":161135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02992"} 
[2026-08-22 18:35:45] local.INFO: GPS Element Parsed {"raw_longitude":763248768,"raw_latitude":98584136,"longitude_deg":76.3248768,"latitude_deg":9.8584136,"altitude":0,"angle":172,"satellites":11,"speed":31,"hex_longitude":"2d7e4080","hex_latitude":"05e04648","is_valid_coordinates":true} 
[2026-08-22 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-22 18:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575378944001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122302423569006592,"note":"Value kept but may cause issues"} 
[2026-08-22 18:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096637953830668288,"note":"Value kept but may cause issues"} 
[2026-08-22 18:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787403840000,"timestamp_ms":1787403840000,"timestamp_seconds":1787403840,"priority":1,"record_length":96,"hex_timestamp":"000001a029922a00"} 
[2026-08-22 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-22 18:35:45] 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-22 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 18:35: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-22 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-22 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-22 18:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.11.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575378944001,"66":13037,"131":206,"19":45824,"24":31,"16":122302423569006592,"45":9096637953830668288},"client_ip":"117.224.11.189","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,19,24,16,45]} 
[2026-08-22 18:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575378944001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:35:45] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 18:35:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 18:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122302423569006592,"km_value":122302423569006.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096637953830668288,"description":"Unknown IO ID 45"} 
[2026-08-22 18:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575378944001,"power":13037,"unknown_131":206,"unknown_19":45824,"ignition":31,"odometer":null,"unknown_45":9096637953830668288}} 
[2026-08-22 18:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":161135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:35:45] local.INFO: GPS data processed {"connection_id":161135,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:35:45] local.INFO: Acknowledgment sent {"connection_id":161135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:36:08] local.INFO: TCP Data received {"connection_id":159969,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:36:08] local.INFO: Processing buffer {"connection_id":159969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:36:08] local.INFO: IMEI packet received {"connection_id":159969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":159969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:36:13] local.INFO: TCP Data received {"connection_id":159969,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:36:13] local.INFO: Processing buffer {"connection_id":159969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:36:13] local.INFO: IMEI packet received {"connection_id":159969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":159969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:36:15] local.INFO: TCP Data received {"connection_id":159969,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029909f78012d806c4005c31740000a000d2b..."} 
[2026-08-22 18:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029909f78012d806c4005c31740000a000d2b..."} 
[2026-08-22 18:36:15] local.INFO: Processing buffer {"connection_id":159969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029909f78012d806c4005c31740000a000d2b..."} 
[2026-08-22 18:36:15] local.INFO: Packet analysis {"connection_id":159969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02990"} 
[2026-08-22 18:36:15] local.INFO: Extracted packet for processing {"connection_id":159969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02990"} 
[2026-08-22 18:36:15] local.INFO: GPS Element Parsed {"raw_longitude":763391040,"raw_latitude":96671552,"longitude_deg":76.339104,"latitude_deg":9.6671552,"altitude":10,"angle":13,"satellites":43,"speed":1,"hex_longitude":"2d806c40","hex_latitude":"05c31740","is_valid_coordinates":true} 
[2026-08-22 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-22 18:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575351808001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388995136459112448,"note":"Value kept but may cause issues"} 
[2026-08-22 18:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193254189599203328,"note":"Value kept but may cause issues"} 
[2026-08-22 18:36:15] 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-22 18:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787403739000,"timestamp_ms":1787403739000,"timestamp_seconds":1787403739,"priority":1,"record_length":96,"hex_timestamp":"000001a029909f78"} 
[2026-08-22 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-22 18:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-22 18:36:15] 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-22 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-22 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-22 18:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:36: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-22 18:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575351808001,"66":27908,"157":206,"85":12288,"24":1,"16":388995136459112448,"45":-9193254189599203328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575351808001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:36:15] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:36:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388995136459112448,"km_value":388995136459112.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193254189599203328,"description":"Unknown IO ID 45"} 
[2026-08-22 18:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575351808001,"power":27908,"unknown_157":206,"unknown_85":12288,"ignition":1,"odometer":null,"unknown_45":-9193254189599203328}} 
[2026-08-22 18:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":159969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:36:15] local.INFO: GPS data processed {"connection_id":159969,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:36:15] local.INFO: Acknowledgment sent {"connection_id":159969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:36:17] local.INFO: TCP Data received {"connection_id":161135,"ip":"117.224.11.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0299239a0012d7e43c005e03a50000000a00b..."} 
[2026-08-22 18:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299239a0012d7e43c005e03a50000000a00b..."} 
[2026-08-22 18:36:17] local.INFO: Processing buffer {"connection_id":161135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299239a0012d7e43c005e03a50000000a00b..."} 
[2026-08-22 18:36:17] local.INFO: Packet analysis {"connection_id":161135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02992"} 
[2026-08-22 18:36:17] local.INFO: Extracted packet for processing {"connection_id":161135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02992"} 
[2026-08-22 18:36:17] local.INFO: GPS Element Parsed {"raw_longitude":763249600,"raw_latitude":98581072,"longitude_deg":76.32496,"latitude_deg":9.8581072,"altitude":0,"angle":160,"satellites":11,"speed":31,"hex_longitude":"2d7e43c0","hex_latitude":"05e03a50","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575383040001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122302578187829248,"note":"Value kept but may cause issues"} 
[2026-08-22 18:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097412010014296064,"note":"Value kept but may cause issues"} 
[2026-08-22 18:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787403844000,"timestamp_ms":1787403844000,"timestamp_seconds":1787403844,"priority":1,"record_length":96,"hex_timestamp":"000001a0299239a0"} 
[2026-08-22 18: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-22 18:36:17] 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-22 18: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-22 18:36:17] 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-22 18: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-22 18: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-22 18:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.11.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575383040001,"66":12950,"131":206,"19":45824,"24":31,"16":122302578187829248,"45":9097412010014296064},"client_ip":"117.224.11.189","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,19,24,16,45]} 
[2026-08-22 18:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575383040001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:36:17] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 18:36:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 18:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122302578187829248,"km_value":122302578187829.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097412010014296064,"description":"Unknown IO ID 45"} 
[2026-08-22 18:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575383040001,"power":12950,"unknown_131":206,"unknown_19":45824,"ignition":31,"odometer":null,"unknown_45":9097412010014296064}} 
[2026-08-22 18:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":161135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:36:17] local.INFO: GPS data processed {"connection_id":161135,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:36:17] local.INFO: Acknowledgment sent {"connection_id":161135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:36:48] local.INFO: TCP Data received {"connection_id":162555,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:36:48] local.INFO: Processing buffer {"connection_id":162555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:36:48] local.INFO: IMEI packet received {"connection_id":162555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":162555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:36:49] local.INFO: TCP Data received {"connection_id":161135,"ip":"117.224.11.189","data_length":795,"data_hex":"000000000000030f8e0a000001a029947bc0012d7ec04005defc000013008411..."} 
[2026-08-22 18:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029947bc0012d7ec04005defc000013008411..."} 
[2026-08-22 18:36:49] local.INFO: Processing buffer {"connection_id":161135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029947bc0012d7ec04005defc000013008411..."} 
[2026-08-22 18:36:49] local.INFO: Packet analysis {"connection_id":161135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02994"} 
[2026-08-22 18:36:49] local.INFO: Extracted packet for processing {"connection_id":161135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02994"} 
[2026-08-22 18:36:49] local.INFO: GPS Element Parsed {"raw_longitude":763281472,"raw_latitude":98499584,"longitude_deg":76.3281472,"latitude_deg":9.8499584,"altitude":19,"angle":132,"satellites":17,"speed":24,"hex_longitude":"2d7ec040","hex_latitude":"05defc00","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575421184001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122306881745059840,"note":"Value kept but may cause issues"} 
[2026-08-22 18:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132314907105087488,"note":"Value kept but may cause issues"} 
[2026-08-22 18:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787403992000,"timestamp_ms":1787403992000,"timestamp_seconds":1787403992,"priority":1,"record_length":96,"hex_timestamp":"000001a029947bc0"} 
[2026-08-22 18: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-22 18:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-22 18:36:49] 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-22 18: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-22 18: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-22 18:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.11.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575421184001,"66":12819,"131":206,"19":45824,"24":24,"16":122306881745059840,"45":9132314907105087488},"client_ip":"117.224.11.189","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,19,24,16,45]} 
[2026-08-22 18:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575421184001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:36:49] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 18:36:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 18:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122306881745059840,"km_value":122306881745059.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132314907105087488,"description":"Unknown IO ID 45"} 
[2026-08-22 18:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575421184001,"power":12819,"unknown_131":206,"unknown_19":45824,"ignition":24,"odometer":null,"unknown_45":9132314907105087488}} 
[2026-08-22 18:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":161135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:36:49] local.INFO: GPS data processed {"connection_id":161135,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:36:49] local.INFO: Acknowledgment sent {"connection_id":161135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:36:50] local.INFO: TCP Data received {"connection_id":162555,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:36:50] local.INFO: Processing buffer {"connection_id":162555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:36:50] local.INFO: IMEI packet received {"connection_id":162555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":162555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:36:54] local.INFO: TCP Data received {"connection_id":162555,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:36:54] local.INFO: Processing buffer {"connection_id":162555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:36:54] local.INFO: IMEI packet received {"connection_id":162555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":162555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:36:54] local.INFO: TCP Data received {"connection_id":162555,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02990f180012d806cc005c31aa8000a000d2b..."} 
[2026-08-22 18:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02990f180012d806cc005c31aa8000a000d2b..."} 
[2026-08-22 18:36:54] local.INFO: Processing buffer {"connection_id":162555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02990f180012d806cc005c31aa8000a000d2b..."} 
[2026-08-22 18:36:54] local.INFO: Packet analysis {"connection_id":162555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02990"} 
[2026-08-22 18:36:54] local.INFO: Extracted packet for processing {"connection_id":162555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02990"} 
[2026-08-22 18:36:54] local.INFO: GPS Element Parsed {"raw_longitude":763391168,"raw_latitude":96672424,"longitude_deg":76.3391168,"latitude_deg":9.6672424,"altitude":10,"angle":13,"satellites":43,"speed":0,"hex_longitude":"2d806cc0","hex_latitude":"05c31aa8","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575357184001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388995183703752704,"note":"Value kept but may cause issues"} 
[2026-08-22 18:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192902345877929984,"note":"Value kept but may cause issues"} 
[2026-08-22 18:36:54] 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-22 18:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787403760000,"timestamp_ms":1787403760000,"timestamp_seconds":1787403760,"priority":1,"record_length":96,"hex_timestamp":"000001a02990f180"} 
[2026-08-22 18: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-22 18:36: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-22 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 18:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18: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-22 18: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-22 18:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:36: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-22 18:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575357184001,"66":27767,"157":206,"85":12288,"24":0,"16":388995183703752704,"45":-9192902345877929984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575357184001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:36:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:36:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388995183703752704,"km_value":388995183703752.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192902345877929984,"description":"Unknown IO ID 45"} 
[2026-08-22 18:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575357184001,"power":27767,"unknown_157":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9192902345877929984}} 
[2026-08-22 18:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":162555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:36:54] local.INFO: GPS data processed {"connection_id":162555,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:36:54] local.INFO: Acknowledgment sent {"connection_id":162555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:37:20] local.INFO: TCP Data received {"connection_id":161135,"ip":"117.224.11.189","data_length":795,"data_hex":"000000000000030f8e0a000001a029948b60012d7ec7c005def4400015009311..."} 
[2026-08-22 18:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029948b60012d7ec7c005def4400015009311..."} 
[2026-08-22 18:37:20] local.INFO: Processing buffer {"connection_id":161135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029948b60012d7ec7c005def4400015009311..."} 
[2026-08-22 18:37:20] local.INFO: Packet analysis {"connection_id":161135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02994"} 
[2026-08-22 18:37:20] local.INFO: Extracted packet for processing {"connection_id":161135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02994"} 
[2026-08-22 18:37:20] local.INFO: GPS Element Parsed {"raw_longitude":763283392,"raw_latitude":98497600,"longitude_deg":76.3283392,"latitude_deg":9.84976,"altitude":21,"angle":147,"satellites":17,"speed":29,"hex_longitude":"2d7ec7c0","hex_latitude":"05def440","is_valid_coordinates":true} 
[2026-08-22 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-22 18:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575421952001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122307014889046016,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133370438267437056,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787403996000,"timestamp_ms":1787403996000,"timestamp_seconds":1787403996,"priority":1,"record_length":96,"hex_timestamp":"000001a029948b60"} 
[2026-08-22 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-22 18:37:20] 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-22 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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505465853575168,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":691741399552,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195097856,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":41,"raw_value":-7813358320336601856,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2147560830,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2810510054569345280,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6880654920598224872,"corrected_to":0} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2147868477,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182010666287360,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817376,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2224029696,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2341484778139639793,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8070224442971599341,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":179,"raw_value":6755566944911601,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84862990712954786,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:20] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,131,19,24,241,158,16,133,160,112,45,128,20,17,10,66,80,64,11,53,1,240,69,41,223,4,113,205,21,148,136,15,239,49,2,178,5,39,51,179,104],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":-6880654920598224872,"validated":0}]} 
[2026-08-22 18:37:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369239495271514112,"timestamp_seconds":1369239495271514.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 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-22 18:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.11.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575421952001,"66":12504,"131":206,"19":45824,"24":29,"16":122307014889046016,"45":9133370438267437056},"client_ip":"117.224.11.189","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,19,24,16,45]} 
[2026-08-22 18:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575421952001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:37:20] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 18:37:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 18:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122307014889046016,"km_value":122307014889046.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133370438267437056,"description":"Unknown IO ID 45"} 
[2026-08-22 18:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575421952001,"power":12504,"unknown_131":206,"unknown_19":45824,"ignition":29,"odometer":null,"unknown_45":9133370438267437056}} 
[2026-08-22 18:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":161135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:37:20] local.INFO: GPS data processed {"connection_id":161135,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:37:20] local.INFO: Acknowledgment sent {"connection_id":161135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:37:26] local.INFO: TCP Data received {"connection_id":162555,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029942da0012d8072c005c34a30000c000e2e..."} 
[2026-08-22 18:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029942da0012d8072c005c34a30000c000e2e..."} 
[2026-08-22 18:37:26] local.INFO: Processing buffer {"connection_id":162555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029942da0012d8072c005c34a30000c000e2e..."} 
[2026-08-22 18:37:26] local.INFO: Packet analysis {"connection_id":162555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02994"} 
[2026-08-22 18:37:26] local.INFO: Extracted packet for processing {"connection_id":162555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02994"} 
[2026-08-22 18:37:26] local.INFO: GPS Element Parsed {"raw_longitude":763392704,"raw_latitude":96684592,"longitude_deg":76.3392704,"latitude_deg":9.6684592,"altitude":12,"angle":14,"satellites":46,"speed":1,"hex_longitude":"2d8072c0","hex_latitude":"05c34a30","is_valid_coordinates":true} 
[2026-08-22 18:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575414272001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388995797884076032,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191213496014518272,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:26] 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-22 18:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787403972000,"timestamp_ms":1787403972000,"timestamp_seconds":1787403972,"priority":1,"record_length":96,"hex_timestamp":"000001a029942da0"} 
[2026-08-22 18:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18: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-22 18:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-22 18:37:26] 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-22 18:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:37: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-22 18:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575414272001,"66":27571,"157":206,"85":12288,"24":1,"16":388995797884076032,"45":-9191213496014518272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575414272001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:37:26] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:37:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388995797884076032,"km_value":388995797884076.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191213496014518272,"description":"Unknown IO ID 45"} 
[2026-08-22 18:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575414272001,"power":27571,"unknown_157":206,"unknown_85":12288,"ignition":1,"odometer":null,"unknown_45":-9191213496014518272}} 
[2026-08-22 18:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":162555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:37:26] local.INFO: GPS data processed {"connection_id":162555,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:37:26] local.INFO: Acknowledgment sent {"connection_id":162555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:37:48] local.INFO: TCP Data received {"connection_id":161138,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:37:48] local.INFO: Processing buffer {"connection_id":161138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:37:48] local.INFO: IMEI packet received {"connection_id":161138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":161138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:37:52] local.INFO: TCP Data received {"connection_id":161135,"ip":"117.224.11.189","data_length":795,"data_hex":"000000000000030f8e0a000001a029949718012d7ecb8005deeb70001500a111..."} 
[2026-08-22 18:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029949718012d7ecb8005deeb70001500a111..."} 
[2026-08-22 18:37:52] local.INFO: Processing buffer {"connection_id":161135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029949718012d7ecb8005deeb70001500a111..."} 
[2026-08-22 18:37:52] local.INFO: Packet analysis {"connection_id":161135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02994"} 
[2026-08-22 18:37:52] local.INFO: Extracted packet for processing {"connection_id":161135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02994"} 
[2026-08-22 18:37:52] local.INFO: GPS Element Parsed {"raw_longitude":763284352,"raw_latitude":98495344,"longitude_deg":76.3284352,"latitude_deg":9.8495344,"altitude":21,"angle":161,"satellites":17,"speed":32,"hex_longitude":"2d7ecb80","hex_latitude":"05deeb70","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575422976001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122307135148130304,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135481500592259072,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787403999000,"timestamp_ms":1787403999000,"timestamp_seconds":1787403999,"priority":1,"record_length":96,"hex_timestamp":"000001a029949718"} 
[2026-08-22 18: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-22 18:37:52] 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-22 18: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-22 18: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-22 18: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-22 18: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-22 18:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.11.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575422976001,"66":12961,"131":206,"19":45824,"24":32,"16":122307135148130304,"45":9135481500592259072},"client_ip":"117.224.11.189","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,19,24,16,45]} 
[2026-08-22 18:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575422976001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:37:52] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 18:37:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 18:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122307135148130304,"km_value":122307135148130.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135481500592259072,"description":"Unknown IO ID 45"} 
[2026-08-22 18:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575422976001,"power":12961,"unknown_131":206,"unknown_19":45824,"ignition":32,"odometer":null,"unknown_45":9135481500592259072}} 
[2026-08-22 18:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":161135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:37:52] local.INFO: GPS data processed {"connection_id":161135,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:37:52] local.INFO: Acknowledgment sent {"connection_id":161135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:37:53] local.INFO: TCP Data received {"connection_id":161138,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:37:53] local.INFO: Processing buffer {"connection_id":161138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:37:53] local.INFO: IMEI packet received {"connection_id":161138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":161138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:37:54] local.INFO: TCP Data received {"connection_id":161138,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029944ce0012d80730005c34c20000c00012f..."} 
[2026-08-22 18:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029944ce0012d80730005c34c20000c00012f..."} 
[2026-08-22 18:37:54] local.INFO: Processing buffer {"connection_id":161138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029944ce0012d80730005c34c20000c00012f..."} 
[2026-08-22 18:37:54] local.INFO: Packet analysis {"connection_id":161138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02994"} 
[2026-08-22 18:37:54] local.INFO: Extracted packet for processing {"connection_id":161138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02994"} 
[2026-08-22 18:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763392768,"raw_latitude":96685088,"longitude_deg":76.3392768,"latitude_deg":9.6685088,"altitude":12,"angle":1,"satellites":47,"speed":2,"hex_longitude":"2d807300","hex_latitude":"05c34c20","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575416832001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388995823653879808,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191072758525972480,"note":"Value kept but may cause issues"} 
[2026-08-22 18:37:54] 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-22 18:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787403980000,"timestamp_ms":1787403980000,"timestamp_seconds":1787403980,"priority":1,"record_length":96,"hex_timestamp":"000001a029944ce0"} 
[2026-08-22 18: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-22 18:37: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-22 18: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 18:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18: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-22 18: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-22 18:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:37: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-22 18:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575416832001,"66":27604,"157":206,"85":12288,"24":2,"16":388995823653879808,"45":-9191072758525972480},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575416832001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:37:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:37:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388995823653879808,"km_value":388995823653879.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191072758525972480,"description":"Unknown IO ID 45"} 
[2026-08-22 18:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575416832001,"power":27604,"unknown_157":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":-9191072758525972480}} 
[2026-08-22 18:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":161138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:37:54] local.INFO: GPS data processed {"connection_id":161138,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:37:54] local.INFO: Acknowledgment sent {"connection_id":161138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:38:24] local.INFO: TCP Data received {"connection_id":161135,"ip":"117.224.11.189","data_length":795,"data_hex":"000000000000030f8e0a000001a02994b270012d7ecf8005ded638001400ae11..."} 
[2026-08-22 18:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02994b270012d7ecf8005ded638001400ae11..."} 
[2026-08-22 18:38:24] local.INFO: Processing buffer {"connection_id":161135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02994b270012d7ecf8005ded638001400ae11..."} 
[2026-08-22 18:38:24] local.INFO: Packet analysis {"connection_id":161135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02994"} 
[2026-08-22 18:38:24] local.INFO: Extracted packet for processing {"connection_id":161135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02994"} 
[2026-08-22 18:38:24] local.INFO: GPS Element Parsed {"raw_longitude":763285376,"raw_latitude":98489912,"longitude_deg":76.3285376,"latitude_deg":9.8489912,"altitude":20,"angle":174,"satellites":17,"speed":29,"hex_longitude":"2d7ecf80","hex_latitude":"05ded638","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575423744001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122307401436102656,"note":"Value kept but may cause issues"} 
[2026-08-22 18:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136537031754346496,"note":"Value kept but may cause issues"} 
[2026-08-22 18:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787404006000,"timestamp_ms":1787404006000,"timestamp_seconds":1787404006,"priority":1,"record_length":96,"hex_timestamp":"000001a02994b270"} 
[2026-08-22 18: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-22 18:38:24] 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-22 18: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-22 18:38:24] 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-22 18: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-22 18: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-22 18:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.11.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575423744001,"66":12178,"131":206,"19":45824,"24":29,"16":122307401436102656,"45":9136537031754346496},"client_ip":"117.224.11.189","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,19,24,16,45]} 
[2026-08-22 18:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575423744001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:38:24] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 18:38:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-22 18:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122307401436102656,"km_value":122307401436102.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136537031754346496,"description":"Unknown IO ID 45"} 
[2026-08-22 18:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575423744001,"power":12178,"unknown_131":206,"unknown_19":45824,"ignition":29,"odometer":null,"unknown_45":9136537031754346496}} 
[2026-08-22 18:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":161135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:38:24] local.INFO: GPS data processed {"connection_id":161135,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:38:24] local.INFO: Acknowledgment sent {"connection_id":161135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:38:26] local.INFO: TCP Data received {"connection_id":161138,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029949ee8012d8072c005c34fd0000b01662d..."} 
[2026-08-22 18:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029949ee8012d8072c005c34fd0000b01662d..."} 
[2026-08-22 18:38:26] local.INFO: Processing buffer {"connection_id":161138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029949ee8012d8072c005c34fd0000b01662d..."} 
[2026-08-22 18:38:26] local.INFO: Packet analysis {"connection_id":161138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02994"} 
[2026-08-22 18:38:26] local.INFO: Extracted packet for processing {"connection_id":161138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02994"} 
[2026-08-22 18:38:26] local.INFO: GPS Element Parsed {"raw_longitude":763392704,"raw_latitude":96686032,"longitude_deg":76.3392704,"latitude_deg":9.6686032,"altitude":11,"angle":358,"satellites":45,"speed":0,"hex_longitude":"2d8072c0","hex_latitude":"05c34fd0","is_valid_coordinates":true} 
[2026-08-22 18:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575418880001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388995870898520064,"note":"Value kept but may cause issues"} 
[2026-08-22 18:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191002389781667840,"note":"Value kept but may cause issues"} 
[2026-08-22 18:38:26] 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-22 18:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787404001000,"timestamp_ms":1787404001000,"timestamp_seconds":1787404001,"priority":1,"record_length":96,"hex_timestamp":"000001a029949ee8"} 
[2026-08-22 18:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:38: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-22 18:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-22 18:38:26] 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-22 18:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18: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-22 18:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575418880001,"66":27604,"157":206,"85":12288,"24":0,"16":388995870898520064,"45":-9191002389781667840},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575418880001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:38:26] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388995870898520064,"km_value":388995870898520.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191002389781667840,"description":"Unknown IO ID 45"} 
[2026-08-22 18:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575418880001,"power":27604,"unknown_157":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9191002389781667840}} 
[2026-08-22 18:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":161138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:38:26] local.INFO: GPS data processed {"connection_id":161138,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:38:26] local.INFO: Acknowledgment sent {"connection_id":161138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:38:48] local.INFO: TCP Data received {"connection_id":162556,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:38:48] local.INFO: Processing buffer {"connection_id":162556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:38:48] local.INFO: IMEI packet received {"connection_id":162556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":162556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:38:49] local.INFO: TCP Data received {"connection_id":162556,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:38:49] local.INFO: Processing buffer {"connection_id":162556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:38:49] local.INFO: IMEI packet received {"connection_id":162556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":162556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:38:53] local.INFO: TCP Data received {"connection_id":162556,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:38:53] local.INFO: Processing buffer {"connection_id":162556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:38:53] local.INFO: IMEI packet received {"connection_id":162556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":162556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:38:54] local.INFO: TCP Data received {"connection_id":162556,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02994d598012d8072c005c35168000b01592c..."} 
[2026-08-22 18:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02994d598012d8072c005c35168000b01592c..."} 
[2026-08-22 18:38:54] local.INFO: Processing buffer {"connection_id":162556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02994d598012d8072c005c35168000b01592c..."} 
[2026-08-22 18:38:54] local.INFO: Packet analysis {"connection_id":162556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02994"} 
[2026-08-22 18:38:54] local.INFO: Extracted packet for processing {"connection_id":162556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02994"} 
[2026-08-22 18:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763392704,"raw_latitude":96686440,"longitude_deg":76.3392704,"latitude_deg":9.668644,"altitude":11,"angle":345,"satellites":44,"speed":1,"hex_longitude":"2d8072c0","hex_latitude":"05c35168","is_valid_coordinates":true} 
[2026-08-22 18:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575424256001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388995892373356544,"note":"Value kept but may cause issues"} 
[2026-08-22 18:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191072758525603840,"note":"Value kept but may cause issues"} 
[2026-08-22 18:38:54] 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-22 18:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787404015000,"timestamp_ms":1787404015000,"timestamp_seconds":1787404015,"priority":1,"record_length":96,"hex_timestamp":"000001a02994d598"} 
[2026-08-22 18:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:38: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-22 18:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-22 18:38:54] 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-22 18:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:38: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-22 18:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575424256001,"66":27604,"157":206,"85":12288,"24":1,"16":388995892373356544,"45":-9191072758525603840},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575424256001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:38:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:38:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388995892373356544,"km_value":388995892373356.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191072758525603840,"description":"Unknown IO ID 45"} 
[2026-08-22 18:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575424256001,"power":27604,"unknown_157":206,"unknown_85":12288,"ignition":1,"odometer":null,"unknown_45":-9191072758525603840}} 
[2026-08-22 18:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":162556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:38:54] local.INFO: GPS data processed {"connection_id":162556,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:38:54] local.INFO: Acknowledgment sent {"connection_id":162556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:39:25] local.INFO: TCP Data received {"connection_id":162556,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029950478012d8072c005c352d8000a01652d..."} 
[2026-08-22 18:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029950478012d8072c005c352d8000a01652d..."} 
[2026-08-22 18:39:25] local.INFO: Processing buffer {"connection_id":162556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029950478012d8072c005c352d8000a01652d..."} 
[2026-08-22 18:39:25] local.INFO: Packet analysis {"connection_id":162556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02995"} 
[2026-08-22 18:39:25] local.INFO: Extracted packet for processing {"connection_id":162556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02995"} 
[2026-08-22 18:39:25] local.INFO: GPS Element Parsed {"raw_longitude":763392704,"raw_latitude":96686808,"longitude_deg":76.3392704,"latitude_deg":9.6686808,"altitude":10,"angle":357,"satellites":45,"speed":0,"hex_longitude":"2d8072c0","hex_latitude":"05c352d8","is_valid_coordinates":true} 
[2026-08-22 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-22 18:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575427840001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388995909553225728,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191072758525499392,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:25] 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-22 18:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787404027000,"timestamp_ms":1787404027000,"timestamp_seconds":1787404027,"priority":1,"record_length":96,"hex_timestamp":"000001a029950478"} 
[2026-08-22 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-22 18: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-22 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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-22 18:39: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-22 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-22 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-22 18:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18: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-22 18:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575427840001,"66":27397,"157":206,"85":12288,"24":0,"16":388995909553225728,"45":-9191072758525499392},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575427840001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:39:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:39:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388995909553225728,"km_value":388995909553225.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191072758525499392,"description":"Unknown IO ID 45"} 
[2026-08-22 18:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575427840001,"power":27397,"unknown_157":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9191072758525499392}} 
[2026-08-22 18:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":162556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:39:25] local.INFO: GPS data processed {"connection_id":162556,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:39:25] local.INFO: Acknowledgment sent {"connection_id":162556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:39:53] local.INFO: TCP Data received {"connection_id":160201,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:39:53] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:39:53] local.INFO: IMEI packet received {"connection_id":160201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":160201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:39:53] local.INFO: TCP Data received {"connection_id":162557,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:39:53] local.INFO: Processing buffer {"connection_id":162557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:39:53] local.INFO: IMEI packet received {"connection_id":162557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":162557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:39:55] local.INFO: TCP Data received {"connection_id":160201,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:39:55] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:39:55] local.INFO: IMEI packet received {"connection_id":160201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":160201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:39:57] local.INFO: TCP Data received {"connection_id":160201,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:39:57] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:39:57] local.INFO: IMEI packet received {"connection_id":160201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":160201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:39:58] local.INFO: TCP Data received {"connection_id":162557,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:39:58] local.INFO: Processing buffer {"connection_id":162557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:39:58] local.INFO: IMEI packet received {"connection_id":162557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":162557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:39:59] local.INFO: TCP Data received {"connection_id":162557,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029955680012d8072c005c355d0000b00032d..."} 
[2026-08-22 18:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029955680012d8072c005c355d0000b00032d..."} 
[2026-08-22 18:39:59] local.INFO: Processing buffer {"connection_id":162557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029955680012d8072c005c355d0000b00032d..."} 
[2026-08-22 18:39:59] local.INFO: Packet analysis {"connection_id":162557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02995"} 
[2026-08-22 18:39:59] local.INFO: Extracted packet for processing {"connection_id":162557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02995"} 
[2026-08-22 18:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763392704,"raw_latitude":96687568,"longitude_deg":76.3392704,"latitude_deg":9.6687568,"altitude":11,"angle":3,"satellites":45,"speed":2,"hex_longitude":"2d8072c0","hex_latitude":"05c355d0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575430912001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388995943912964096,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191072758525405184,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:59] 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-22 18:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787404048000,"timestamp_ms":1787404048000,"timestamp_seconds":1787404048,"priority":1,"record_length":96,"hex_timestamp":"000001a029955680"} 
[2026-08-22 18: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-22 18:39: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-22 18: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 18:39:59] 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-22 18: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-22 18: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-22 18:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18: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-22 18:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575430912001,"66":27767,"157":206,"85":12288,"24":2,"16":388995943912964096,"45":-9191072758525405184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575430912001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:39:59] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388995943912964096,"km_value":388995943912964.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191072758525405184,"description":"Unknown IO ID 45"} 
[2026-08-22 18:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575430912001,"power":27767,"unknown_157":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":-9191072758525405184}} 
[2026-08-22 18:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":162557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:39:59] local.INFO: GPS data processed {"connection_id":162557,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:39:59] local.INFO: Acknowledgment sent {"connection_id":162557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:39:59] local.INFO: TCP Data received {"connection_id":160201,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02996e108012d0fec4007251db80040010e1d..."} 
[2026-08-22 18:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02996e108012d0fec4007251db80040010e1d..."} 
[2026-08-22 18:39:59] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02996e108012d0fec4007251db80040010e1d..."} 
[2026-08-22 18:39:59] local.INFO: Packet analysis {"connection_id":160201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02996"} 
[2026-08-22 18:39:59] local.INFO: Extracted packet for processing {"connection_id":160201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02996"} 
[2026-08-22 18:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756018240,"raw_latitude":119872952,"longitude_deg":75.601824,"latitude_deg":11.9872952,"altitude":64,"angle":270,"satellites":29,"speed":14,"hex_longitude":"2d0fec40","hex_latitude":"07251db8","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575461888001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14839227971796992,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1147643879481006080,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:59] 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-22 18:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787404149000,"timestamp_ms":1787404149000,"timestamp_seconds":1787404149,"priority":1,"record_length":96,"hex_timestamp":"000001a02996e108"} 
[2026-08-22 18: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-22 18:39: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-22 18: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-22 18:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3443845376,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:59] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13452521,"corrected_to":0} 
[2026-08-22 18:39:59] local.WARNING: Large IO value detected {"io_id":183,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:59] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2528770049,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1156120782,"corrected_to":0} 
[2026-08-22 18:39:59] local.WARNING: Large IO value detected {"io_id":255,"raw_value":2147951882,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:59] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402052,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:59] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3085041664,"note":"Value kept but may cause issues"} 
[2026-08-22 18:39:59] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,233,83,24,241,157,16,184,160,217,45,64,29,66,10,197,128,20,70,26,189,192,1,240,202,227,183,41,37,4,113,205,182,255,216,239,54,2,52,7,76],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":202,"original":13452521,"validated":0},{"io_id":205,"original":1156120782,"validated":0}]} 
[2026-08-22 18:39:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684058193050992640,"timestamp_seconds":4684058193050993.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 18: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-22 18:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:39:59] 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-22 18:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575461888001,"66":13993,"233":206,"83":41984,"24":14,"16":14839227971796992,"45":1147643879481006080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-08-22 18:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575461888001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:39:59] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-22 18:39:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14839227971796992,"km_value":14839227971796.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1147643879481006080,"description":"Unknown IO ID 45"} 
[2026-08-22 18:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575461888001,"power":13993,"unknown_233":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1147643879481006080}} 
[2026-08-22 18:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":160201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:40:00] local.INFO: GPS data processed {"connection_id":160201,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:40:00] local.INFO: Acknowledgment sent {"connection_id":160201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:40:00] local.INFO: TCP Data received {"connection_id":162557,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02995a888012d8072c005c357c8000b00022c..."} 
[2026-08-22 18:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02995a888012d8072c005c357c8000b00022c..."} 
[2026-08-22 18:40:00] local.INFO: Processing buffer {"connection_id":162557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02995a888012d8072c005c357c8000b00022c..."} 
[2026-08-22 18:40:00] local.INFO: Packet analysis {"connection_id":162557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02995"} 
[2026-08-22 18:40:00] local.INFO: Extracted packet for processing {"connection_id":162557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02995"} 
[2026-08-22 18:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763392704,"raw_latitude":96688072,"longitude_deg":76.3392704,"latitude_deg":9.6688072,"altitude":11,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d8072c0","hex_latitude":"05c357c8","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575436288001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388995969682767872,"note":"Value kept but may cause issues"} 
[2026-08-22 18:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191072758525210624,"note":"Value kept but may cause issues"} 
[2026-08-22 18:40:00] 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-22 18:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787404069000,"timestamp_ms":1787404069000,"timestamp_seconds":1787404069,"priority":1,"record_length":96,"hex_timestamp":"000001a02995a888"} 
[2026-08-22 18: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-22 18: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-22 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 18:40: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-22 18: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-22 18: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-22 18:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:40: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-22 18:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575436288001,"66":27517,"157":206,"85":12288,"24":0,"16":388995969682767872,"45":-9191072758525210624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575436288001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:40:00] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:40:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388995969682767872,"km_value":388995969682767.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191072758525210624,"description":"Unknown IO ID 45"} 
[2026-08-22 18:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575436288001,"power":27517,"unknown_157":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9191072758525210624}} 
[2026-08-22 18:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":162557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:40:00] local.INFO: GPS data processed {"connection_id":162557,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:40:00] local.INFO: Acknowledgment sent {"connection_id":162557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:40:04] local.INFO: TCP Data received {"connection_id":160201,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02996e4f0012d0feac007251cf0003f00f81d..."} 
[2026-08-22 18:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02996e4f0012d0feac007251cf0003f00f81d..."} 
[2026-08-22 18:40:04] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02996e4f0012d0feac007251cf0003f00f81d..."} 
[2026-08-22 18:40:04] local.INFO: Packet analysis {"connection_id":160201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02996"} 
[2026-08-22 18:40:04] local.INFO: Extracted packet for processing {"connection_id":160201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02996"} 
[2026-08-22 18:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756017856,"raw_latitude":119872752,"longitude_deg":75.6017856,"latitude_deg":11.9872752,"altitude":63,"angle":248,"satellites":29,"speed":12,"hex_longitude":"2d0feac0","hex_latitude":"07251cf0","is_valid_coordinates":true} 
[2026-08-22 18:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575462144001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14839245151666176,"note":"Value kept but may cause issues"} 
[2026-08-22 18:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1147362404504287232,"note":"Value kept but may cause issues"} 
[2026-08-22 18:40: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-22 18:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787404150000,"timestamp_ms":1787404150000,"timestamp_seconds":1787404150,"priority":1,"record_length":96,"hex_timestamp":"000001a02996e4f0"} 
[2026-08-22 18:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:40:04] 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-22 18:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-22 18:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:40: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-22 18:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575462144001,"66":13993,"233":206,"83":41984,"24":12,"16":14839245151666176,"45":1147362404504287232},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-08-22 18:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575462144001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:40:04] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-22 18:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14839245151666176,"km_value":14839245151666.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1147362404504287232,"description":"Unknown IO ID 45"} 
[2026-08-22 18:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575462144001,"power":13993,"unknown_233":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1147362404504287232}} 
[2026-08-22 18:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":160201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:40:04] local.INFO: GPS data processed {"connection_id":160201,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:40:04] local.INFO: Acknowledgment sent {"connection_id":160201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:40:31] local.INFO: TCP Data received {"connection_id":162557,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02995fa90012d8072c005c35be8000a00082d..."} 
[2026-08-22 18:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02995fa90012d8072c005c35be8000a00082d..."} 
[2026-08-22 18:40:31] local.INFO: Processing buffer {"connection_id":162557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02995fa90012d8072c005c35be8000a00082d..."} 
[2026-08-22 18:40:31] local.INFO: Packet analysis {"connection_id":162557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02995"} 
[2026-08-22 18:40:31] local.INFO: Extracted packet for processing {"connection_id":162557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02995"} 
[2026-08-22 18:40:31] local.INFO: GPS Element Parsed {"raw_longitude":763392704,"raw_latitude":96689128,"longitude_deg":76.3392704,"latitude_deg":9.6689128,"altitude":10,"angle":8,"satellites":45,"speed":8,"hex_longitude":"2d8072c0","hex_latitude":"05c35be8","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575441664001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388996025517342720,"note":"Value kept but may cause issues"} 
[2026-08-22 18:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191072758525081600,"note":"Value kept but may cause issues"} 
[2026-08-22 18:40:31] 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-22 18:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787404090000,"timestamp_ms":1787404090000,"timestamp_seconds":1787404090,"priority":1,"record_length":96,"hex_timestamp":"000001a02995fa90"} 
[2026-08-22 18: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-22 18:40: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-22 18: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 18:40:31] 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-22 18: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-22 18: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-22 18:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:40: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-22 18:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575441664001,"66":27745,"157":206,"85":12288,"24":8,"16":388996025517342720,"45":-9191072758525081600},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575441664001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:40:31] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:40:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388996025517342720,"km_value":388996025517342.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191072758525081600,"description":"Unknown IO ID 45"} 
[2026-08-22 18:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575441664001,"power":27745,"unknown_157":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":-9191072758525081600}} 
[2026-08-22 18:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":162557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:40:31] local.INFO: GPS data processed {"connection_id":162557,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:40:31] local.INFO: Acknowledgment sent {"connection_id":162557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:40:39] local.INFO: TCP Data received {"connection_id":161139,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:40:39] local.INFO: Processing buffer {"connection_id":161139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:40:39] local.INFO: IMEI packet received {"connection_id":161139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":161139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:40:40] local.INFO: TCP Data received {"connection_id":161139,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:40:40] local.INFO: Processing buffer {"connection_id":161139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:40:40] local.INFO: IMEI packet received {"connection_id":161139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":161139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:40:46] local.INFO: TCP Data received {"connection_id":162558,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:40:46] local.INFO: Processing buffer {"connection_id":162558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:40:46] local.INFO: IMEI packet received {"connection_id":162558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":162558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:40:48] local.INFO: TCP Data received {"connection_id":162558,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:40:48] local.INFO: Processing buffer {"connection_id":162558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:40:48] local.INFO: IMEI packet received {"connection_id":162558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":162558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:40:51] local.INFO: TCP Data received {"connection_id":162558,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:40:51] local.INFO: Processing buffer {"connection_id":162558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:40:51] local.INFO: IMEI packet received {"connection_id":162558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":162558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:40:53] local.INFO: TCP Data received {"connection_id":162558,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:40:53] local.INFO: Processing buffer {"connection_id":162558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:40:53] local.INFO: IMEI packet received {"connection_id":162558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":162558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:40:54] local.INFO: TCP Data received {"connection_id":162558,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029964c98012d80758005c36b08000a00052c..."} 
[2026-08-22 18:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029964c98012d80758005c36b08000a00052c..."} 
[2026-08-22 18:40:54] local.INFO: Processing buffer {"connection_id":162558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029964c98012d80758005c36b08000a00052c..."} 
[2026-08-22 18:40:54] local.INFO: Packet analysis {"connection_id":162558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02996"} 
[2026-08-22 18:40:54] local.INFO: Extracted packet for processing {"connection_id":162558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02996"} 
[2026-08-22 18:40:54] local.INFO: GPS Element Parsed {"raw_longitude":763393408,"raw_latitude":96693000,"longitude_deg":76.3393408,"latitude_deg":9.6693,"altitude":10,"angle":5,"satellites":44,"speed":0,"hex_longitude":"2d807580","hex_latitude":"05c36b08","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575447040001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388996223085838336,"note":"Value kept but may cause issues"} 
[2026-08-22 18:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191072758524811264,"note":"Value kept but may cause issues"} 
[2026-08-22 18:40:54] 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-22 18:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787404111000,"timestamp_ms":1787404111000,"timestamp_seconds":1787404111,"priority":1,"record_length":96,"hex_timestamp":"000001a029964c98"} 
[2026-08-22 18: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-22 18: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-22 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 18:40:54] 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-22 18: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-22 18: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-22 18:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18: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-22 18:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575447040001,"66":27484,"157":206,"85":12288,"24":0,"16":388996223085838336,"45":-9191072758524811264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575447040001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:40:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:40:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388996223085838336,"km_value":388996223085838.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191072758524811264,"description":"Unknown IO ID 45"} 
[2026-08-22 18:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575447040001,"power":27484,"unknown_157":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9191072758524811264}} 
[2026-08-22 18:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":162558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:40:54] local.INFO: GPS data processed {"connection_id":162558,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:40:54] local.INFO: Acknowledgment sent {"connection_id":162558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:41:04] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:41:04] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:41:04] local.INFO: IMEI packet received {"connection_id":159973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":159973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:41:05] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.21","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 18:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 18:41:05] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 18:41:05] local.INFO: IMEI packet received {"connection_id":159973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":159973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:41:17] local.INFO: TCP Data received {"connection_id":162558,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029969ea0012d80758005c36cc8000a000c2e..."} 
[2026-08-22 18:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029969ea0012d80758005c36cc8000a000c2e..."} 
[2026-08-22 18:41:17] local.INFO: Processing buffer {"connection_id":162558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029969ea0012d80758005c36cc8000a000c2e..."} 
[2026-08-22 18:41:17] local.INFO: Packet analysis {"connection_id":162558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02996"} 
[2026-08-22 18:41:17] local.INFO: Extracted packet for processing {"connection_id":162558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02996"} 
[2026-08-22 18:41:17] local.INFO: GPS Element Parsed {"raw_longitude":763393408,"raw_latitude":96693448,"longitude_deg":76.3393408,"latitude_deg":9.6693448,"altitude":10,"angle":12,"satellites":46,"speed":4,"hex_longitude":"2d807580","hex_latitude":"05c36cc8","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575452416001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388996244560674816,"note":"Value kept but may cause issues"} 
[2026-08-22 18:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190298702337865728,"note":"Value kept but may cause issues"} 
[2026-08-22 18:41:17] 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-22 18:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787404132000,"timestamp_ms":1787404132000,"timestamp_seconds":1787404132,"priority":1,"record_length":96,"hex_timestamp":"000001a029969ea0"} 
[2026-08-22 18: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-22 18:41: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-22 18: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 18:41:17] 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-22 18:41: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-22 18: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-22 18:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575452416001,"66":27550,"157":206,"85":12288,"24":4,"16":388996244560674816,"45":-9190298702337865728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575452416001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:41:17] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:41:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388996244560674816,"km_value":388996244560674.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190298702337865728,"description":"Unknown IO ID 45"} 
[2026-08-22 18:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575452416001,"power":27550,"unknown_157":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":-9190298702337865728}} 
[2026-08-22 18:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":162558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:41:17] local.INFO: GPS data processed {"connection_id":162558,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:41:17] local.INFO: Acknowledgment sent {"connection_id":162558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:41:33] local.INFO: TCP Data received {"connection_id":161139,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:41:33] local.INFO: Processing buffer {"connection_id":161139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:41:33] local.INFO: IMEI packet received {"connection_id":161139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":161139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:41:48] local.INFO: TCP Data received {"connection_id":161140,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:41:48] local.INFO: Processing buffer {"connection_id":161140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:41:48] local.INFO: IMEI packet received {"connection_id":161140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":161140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:41:53] local.INFO: TCP Data received {"connection_id":161140,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:41:53] local.INFO: Processing buffer {"connection_id":161140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:41:53] local.INFO: IMEI packet received {"connection_id":161140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":161140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:41:54] local.INFO: TCP Data received {"connection_id":161140,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029987360012d807c0005c392c0000c000b2b..."} 
[2026-08-22 18:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029987360012d807c0005c392c0000c000b2b..."} 
[2026-08-22 18:41:54] local.INFO: Processing buffer {"connection_id":161140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029987360012d807c0005c392c0000c000b2b..."} 
[2026-08-22 18:41:54] local.INFO: Packet analysis {"connection_id":161140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02998"} 
[2026-08-22 18:41:54] local.INFO: Extracted packet for processing {"connection_id":161140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02998"} 
[2026-08-22 18:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763395072,"raw_latitude":96703168,"longitude_deg":76.3395072,"latitude_deg":9.6703168,"altitude":12,"angle":11,"satellites":43,"speed":3,"hex_longitude":"2d807c00","hex_latitude":"05c392c0","is_valid_coordinates":true} 
[2026-08-22 18:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575483136001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388996742776881152,"note":"Value kept but may cause issues"} 
[2026-08-22 18:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188609852475236352,"note":"Value kept but may cause issues"} 
[2026-08-22 18:41:54] 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-22 18:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787404252000,"timestamp_ms":1787404252000,"timestamp_seconds":1787404252,"priority":1,"record_length":96,"hex_timestamp":"000001a029987360"} 
[2026-08-22 18:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:41: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-22 18:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 18:41:54] 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-22 18:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:41: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-22 18:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575483136001,"66":27604,"157":206,"85":12288,"24":3,"16":388996742776881152,"45":-9188609852475236352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575483136001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:41:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:41:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388996742776881152,"km_value":388996742776881.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188609852475236352,"description":"Unknown IO ID 45"} 
[2026-08-22 18:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575483136001,"power":27604,"unknown_157":206,"unknown_85":12288,"ignition":3,"odometer":null,"unknown_45":-9188609852475236352}} 
[2026-08-22 18:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":161140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:41:54] local.INFO: GPS data processed {"connection_id":161140,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:41:54] local.INFO: Acknowledgment sent {"connection_id":161140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:42:00] local.INFO: TCP Data received {"connection_id":162559,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:42:00] local.INFO: Processing buffer {"connection_id":162559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:42:00] local.INFO: IMEI packet received {"connection_id":162559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":162559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:42:04] local.INFO: TCP Data received {"connection_id":162559,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:42:04] local.INFO: Processing buffer {"connection_id":162559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:42:04] local.INFO: IMEI packet received {"connection_id":162559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":162559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:42:06] local.INFO: TCP Data received {"connection_id":162559,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:42:06] local.INFO: Processing buffer {"connection_id":162559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:42:06] local.INFO: IMEI packet received {"connection_id":162559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":162559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:42:09] local.INFO: TCP Data received {"connection_id":162559,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02998b9b0012d806a4005dca6900010007615..."} 
[2026-08-22 18:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02998b9b0012d806a4005dca6900010007615..."} 
[2026-08-22 18:42:09] local.INFO: Processing buffer {"connection_id":162559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02998b9b0012d806a4005dca6900010007615..."} 
[2026-08-22 18:42:09] local.INFO: Packet analysis {"connection_id":162559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02998"} 
[2026-08-22 18:42:09] local.INFO: Extracted packet for processing {"connection_id":162559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02998"} 
[2026-08-22 18:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763390528,"raw_latitude":98346640,"longitude_deg":76.3390528,"latitude_deg":9.834664,"altitude":16,"angle":118,"satellites":21,"speed":21,"hex_longitude":"2d806a40","hex_latitude":"05dca690","is_valid_coordinates":true} 
[2026-08-22 18:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575492864001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122317932695912448,"note":"Value kept but may cause issues"} 
[2026-08-22 18:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194028245355902976,"note":"Value kept but may cause issues"} 
[2026-08-22 18:42:09] 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-22 18:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787404270000,"timestamp_ms":1787404270000,"timestamp_seconds":1787404270,"priority":1,"record_length":96,"hex_timestamp":"000001a02998b9b0"} 
[2026-08-22 18:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:42:09] 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-22 18:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-22 18:42:09] 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-22 18:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:42: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-22 18:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575492864001,"66":13015,"251":206,"85":15104,"24":21,"16":122317932695912448,"45":-9194028245355902976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-22 18:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575492864001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:42:09] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-22 18:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122317932695912448,"km_value":122317932695912.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194028245355902976,"description":"Unknown IO ID 45"} 
[2026-08-22 18:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575492864001,"power":13015,"unknown_251":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9194028245355902976}} 
[2026-08-22 18:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":162559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:42:09] local.INFO: GPS data processed {"connection_id":162559,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:42:09] local.INFO: Acknowledgment sent {"connection_id":162559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:42:11] local.INFO: TCP Data received {"connection_id":162559,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02998c180012d806e0005dca3c00010008d15..."} 
[2026-08-22 18:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02998c180012d806e0005dca3c00010008d15..."} 
[2026-08-22 18:42:11] local.INFO: Processing buffer {"connection_id":162559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02998c180012d806e0005dca3c00010008d15..."} 
[2026-08-22 18:42:11] local.INFO: Packet analysis {"connection_id":162559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02998"} 
[2026-08-22 18:42:11] local.INFO: Extracted packet for processing {"connection_id":162559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02998"} 
[2026-08-22 18:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763391488,"raw_latitude":98345920,"longitude_deg":76.3391488,"latitude_deg":9.834592,"altitude":16,"angle":141,"satellites":21,"speed":24,"hex_longitude":"2d806e00","hex_latitude":"05dca3c0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575493120001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122317988530487296,"note":"Value kept but may cause issues"} 
[2026-08-22 18:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193465295402528768,"note":"Value kept but may cause issues"} 
[2026-08-22 18:42:11] 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-22 18:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787404272000,"timestamp_ms":1787404272000,"timestamp_seconds":1787404272,"priority":1,"record_length":96,"hex_timestamp":"000001a02998c180"} 
[2026-08-22 18: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-22 18:42:11] 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-22 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 18:42:11] 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-22 18: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-22 18: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-22 18:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":162559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":162559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":162559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:42: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-22 18:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575493120001,"66":13048,"251":206,"85":15104,"24":24,"16":122317988530487296,"45":-9193465295402528768},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-22 18:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575493120001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:42:11] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-22 18:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122317988530487296,"km_value":122317988530487.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193465295402528768,"description":"Unknown IO ID 45"} 
[2026-08-22 18:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575493120001,"power":13048,"unknown_251":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9193465295402528768}} 
[2026-08-22 18:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":162559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:42:11] local.INFO: GPS data processed {"connection_id":162559,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:42:11] local.INFO: Acknowledgment sent {"connection_id":162559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:42:25] local.INFO: TCP Data received {"connection_id":161140,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029989a70012d807c4005c394d8000d01622b..."} 
[2026-08-22 18:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029989a70012d807c4005c394d8000d01622b..."} 
[2026-08-22 18:42:25] local.INFO: Processing buffer {"connection_id":161140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029989a70012d807c4005c394d8000d01622b..."} 
[2026-08-22 18:42:25] local.INFO: Packet analysis {"connection_id":161140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02998"} 
[2026-08-22 18:42:25] local.INFO: Extracted packet for processing {"connection_id":161140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02998"} 
[2026-08-22 18:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763395136,"raw_latitude":96703704,"longitude_deg":76.3395136,"latitude_deg":9.6703704,"altitude":13,"angle":354,"satellites":43,"speed":0,"hex_longitude":"2d807c40","hex_latitude":"05c394d8","is_valid_coordinates":true} 
[2026-08-22 18:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575488512001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388996768546684928,"note":"Value kept but may cause issues"} 
[2026-08-22 18:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188469114986643456,"note":"Value kept but may cause issues"} 
[2026-08-22 18:42:25] 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-22 18:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787404262000,"timestamp_ms":1787404262000,"timestamp_seconds":1787404262,"priority":1,"record_length":96,"hex_timestamp":"000001a029989a70"} 
[2026-08-22 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-22 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-22 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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-22 18:42: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-22 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-22 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-22 18:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18: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-22 18:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575488512001,"66":27658,"157":206,"85":12288,"24":0,"16":388996768546684928,"45":-9188469114986643456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575488512001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:42:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388996768546684928,"km_value":388996768546684.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188469114986643456,"description":"Unknown IO ID 45"} 
[2026-08-22 18:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575488512001,"power":27658,"unknown_157":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9188469114986643456}} 
[2026-08-22 18:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":161140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:42:25] local.INFO: GPS data processed {"connection_id":161140,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:42:25] local.INFO: Acknowledgment sent {"connection_id":161140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:42:43] local.INFO: TCP Data received {"connection_id":162559,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02999e290012d80fd8005db6c00000d009e15..."} 
[2026-08-22 18:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02999e290012d80fd8005db6c00000d009e15..."} 
[2026-08-22 18:42:43] local.INFO: Processing buffer {"connection_id":162559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02999e290012d80fd8005db6c00000d009e15..."} 
[2026-08-22 18:42:43] local.INFO: Packet analysis {"connection_id":162559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02999"} 
[2026-08-22 18:42:43] local.INFO: Extracted packet for processing {"connection_id":162559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02999"} 
[2026-08-22 18:42:43] local.INFO: GPS Element Parsed {"raw_longitude":763428224,"raw_latitude":98266112,"longitude_deg":76.3428224,"latitude_deg":9.8266112,"altitude":13,"angle":158,"satellites":21,"speed":53,"hex_longitude":"2d80fd80","hex_latitude":"05db6c00","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575510528001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122322257727979520,"note":"Value kept but may cause issues"} 
[2026-08-22 18:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155466173564899328,"note":"Value kept but may cause issues"} 
[2026-08-22 18:42:43] 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-22 18:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787404346000,"timestamp_ms":1787404346000,"timestamp_seconds":1787404346,"priority":1,"record_length":96,"hex_timestamp":"000001a02999e290"} 
[2026-08-22 18: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-22 18:42:43] 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-22 18: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-22 18:42:43] 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-22 18: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-22 18: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-22 18:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:42: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-22 18:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575510528001,"66":13102,"154":206,"85":15104,"24":53,"16":122322257727979520,"45":-9155466173564899328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-22 18:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575510528001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:42:43] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-22 18:42:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122322257727979520,"km_value":122322257727979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155466173564899328,"description":"Unknown IO ID 45"} 
[2026-08-22 18:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575510528001,"power":13102,"unknown_154":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":-9155466173564899328}} 
[2026-08-22 18:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":162559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:42:43] local.INFO: GPS data processed {"connection_id":162559,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:42:43] local.INFO: Acknowledgment sent {"connection_id":162559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:42:48] local.INFO: TCP Data received {"connection_id":162560,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:42:48] local.INFO: Processing buffer {"connection_id":162560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:42:48] local.INFO: IMEI packet received {"connection_id":162560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":162560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:42:53] local.INFO: TCP Data received {"connection_id":162560,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:42:53] local.INFO: Processing buffer {"connection_id":162560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:42:53] local.INFO: IMEI packet received {"connection_id":162560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":162560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:42:55] local.INFO: TCP Data received {"connection_id":162560,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02998a240012d807c4005c39550000c00052c..."} 
[2026-08-22 18:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02998a240012d807c4005c39550000c00052c..."} 
[2026-08-22 18:42:55] local.INFO: Processing buffer {"connection_id":162560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02998a240012d807c4005c39550000c00052c..."} 
[2026-08-22 18:42:55] local.INFO: Packet analysis {"connection_id":162560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02998"} 
[2026-08-22 18:42:55] local.INFO: Extracted packet for processing {"connection_id":162560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02998"} 
[2026-08-22 18:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763395136,"raw_latitude":96703824,"longitude_deg":76.3395136,"latitude_deg":9.6703824,"altitude":12,"angle":5,"satellites":44,"speed":2,"hex_longitude":"2d807c40","hex_latitude":"05c39550","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575491072001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388996777136619520,"note":"Value kept but may cause issues"} 
[2026-08-22 18:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188398746242328576,"note":"Value kept but may cause issues"} 
[2026-08-22 18:42:55] 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-22 18:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787404264000,"timestamp_ms":1787404264000,"timestamp_seconds":1787404264,"priority":1,"record_length":96,"hex_timestamp":"000001a02998a240"} 
[2026-08-22 18: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-22 18:42: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-22 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 18:42:55] 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-22 18: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-22 18: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-22 18:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:42: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-22 18:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575491072001,"66":27745,"157":206,"85":12288,"24":2,"16":388996777136619520,"45":-9188398746242328576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575491072001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:42:55] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:42:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388996777136619520,"km_value":388996777136619.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188398746242328576,"description":"Unknown IO ID 45"} 
[2026-08-22 18:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575491072001,"power":27745,"unknown_157":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":-9188398746242328576}} 
[2026-08-22 18:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":162560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:42:55] local.INFO: GPS data processed {"connection_id":162560,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:42:55] local.INFO: Acknowledgment sent {"connection_id":162560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:43:14] local.INFO: TCP Data received {"connection_id":162559,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02999ee48012d81058005db5d98000c009215..."} 
[2026-08-22 18:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02999ee48012d81058005db5d98000c009215..."} 
[2026-08-22 18:43:14] local.INFO: Processing buffer {"connection_id":162559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02999ee48012d81058005db5d98000c009215..."} 
[2026-08-22 18:43:14] local.INFO: Packet analysis {"connection_id":162559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02999"} 
[2026-08-22 18:43:14] local.INFO: Extracted packet for processing {"connection_id":162559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02999"} 
[2026-08-22 18:43:14] local.INFO: GPS Element Parsed {"raw_longitude":763430272,"raw_latitude":98262424,"longitude_deg":76.3430272,"latitude_deg":9.8262424,"altitude":12,"angle":146,"satellites":21,"speed":56,"hex_longitude":"2d810580","hex_latitude":"05db5d98","is_valid_coordinates":true} 
[2026-08-22 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-22 18:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575512576001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122322463886409728,"note":"Value kept but may cause issues"} 
[2026-08-22 18:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9152018105102499840,"note":"Value kept but may cause issues"} 
[2026-08-22 18:43:14] 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-22 18:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787404349000,"timestamp_ms":1787404349000,"timestamp_seconds":1787404349,"priority":1,"record_length":96,"hex_timestamp":"000001a02999ee48"} 
[2026-08-22 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-22 18:43:14] 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-22 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 18:43:14] 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-22 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-22 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-22 18:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:43: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-22 18:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575512576001,"66":12961,"154":206,"85":15104,"24":56,"16":122322463886409728,"45":-9152018105102499840},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-22 18:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575512576001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:43:14] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-22 18:43:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122322463886409728,"km_value":122322463886409.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9152018105102499840,"description":"Unknown IO ID 45"} 
[2026-08-22 18:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575512576001,"power":12961,"unknown_154":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":-9152018105102499840}} 
[2026-08-22 18:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":162559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:43:14] local.INFO: GPS data processed {"connection_id":162559,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:43:14] local.INFO: Acknowledgment sent {"connection_id":162559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:43:26] local.INFO: TCP Data received {"connection_id":162560,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02998f448012d807d4005c39b78000c00072e..."} 
[2026-08-22 18:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02998f448012d807d4005c39b78000c00072e..."} 
[2026-08-22 18:43:26] local.INFO: Processing buffer {"connection_id":162560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02998f448012d807d4005c39b78000c00072e..."} 
[2026-08-22 18:43:26] local.INFO: Packet analysis {"connection_id":162560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02998"} 
[2026-08-22 18:43:26] local.INFO: Extracted packet for processing {"connection_id":162560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02998"} 
[2026-08-22 18:43:26] local.INFO: GPS Element Parsed {"raw_longitude":763395392,"raw_latitude":96705400,"longitude_deg":76.3395392,"latitude_deg":9.67054,"altitude":12,"angle":7,"satellites":46,"speed":12,"hex_longitude":"2d807d40","hex_latitude":"05c39b78","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575491584001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388996854446030848,"note":"Value kept but may cause issues"} 
[2026-08-22 18:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188398746242297856,"note":"Value kept but may cause issues"} 
[2026-08-22 18:43:26] 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-22 18:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787404285000,"timestamp_ms":1787404285000,"timestamp_seconds":1787404285,"priority":1,"record_length":96,"hex_timestamp":"000001a02998f448"} 
[2026-08-22 18: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-22 18: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-22 18:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 18:43: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-22 18: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-22 18: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-22 18:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:43: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-22 18:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575491584001,"66":27615,"234":206,"85":12288,"24":12,"16":388996854446030848,"45":-9188398746242297856},"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-22 18:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575491584001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:43:26] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-22 18:43:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388996854446030848,"km_value":388996854446030.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188398746242297856,"description":"Unknown IO ID 45"} 
[2026-08-22 18:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575491584001,"power":27615,"unknown_234":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":-9188398746242297856}} 
[2026-08-22 18:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":162560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:43:26] local.INFO: GPS data processed {"connection_id":162560,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:43:26] local.INFO: Acknowledgment sent {"connection_id":162560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:43:48] local.INFO: TCP Data received {"connection_id":162559,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0299af7e8012d816bc005da8238000e007e15..."} 
[2026-08-22 18:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299af7e8012d816bc005da8238000e007e15..."} 
[2026-08-22 18:43:48] local.INFO: Processing buffer {"connection_id":162559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299af7e8012d816bc005da8238000e007e15..."} 
[2026-08-22 18:43:48] local.INFO: Packet analysis {"connection_id":162559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299a"} 
[2026-08-22 18:43:48] local.INFO: Extracted packet for processing {"connection_id":162559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299a"} 
[2026-08-22 18:43:48] local.INFO: GPS Element Parsed {"raw_longitude":763456448,"raw_latitude":98206264,"longitude_deg":76.3456448,"latitude_deg":9.8206264,"altitude":14,"angle":126,"satellites":21,"speed":24,"hex_longitude":"2d816bc0","hex_latitude":"05da8238","is_valid_coordinates":true} 
[2026-08-22 18:43: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-22 18:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575530496001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122325509018222592,"note":"Value kept but may cause issues"} 
[2026-08-22 18:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9121618807632971776,"note":"Value kept but may cause issues"} 
[2026-08-22 18:43:48] 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-22 18:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787404417000,"timestamp_ms":1787404417000,"timestamp_seconds":1787404417,"priority":1,"record_length":96,"hex_timestamp":"000001a0299af7e8"} 
[2026-08-22 18:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:43:48] 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-22 18:43: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":106,"data_length":795,"current_offset":136} 
[2026-08-22 18:43:48] 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-22 18:43: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-22 18:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:43: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-22 18:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575530496001,"66":12689,"153":206,"85":15104,"24":24,"16":122325509018222592,"45":-9121618807632971776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-22 18:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575530496001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:43:48] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 18:43:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122325509018222592,"km_value":122325509018222.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9121618807632971776,"description":"Unknown IO ID 45"} 
[2026-08-22 18:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575530496001,"power":12689,"unknown_153":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9121618807632971776}} 
[2026-08-22 18:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":162559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:43:48] local.INFO: GPS data processed {"connection_id":162559,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:43:48] local.INFO: Acknowledgment sent {"connection_id":162559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:43:48] local.INFO: TCP Data received {"connection_id":160202,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:43:48] local.INFO: Processing buffer {"connection_id":160202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:43:48] local.INFO: IMEI packet received {"connection_id":160202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":160202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:43:49] local.INFO: TCP Data received {"connection_id":160202,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:43:49] local.INFO: Processing buffer {"connection_id":160202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:43:49] local.INFO: IMEI packet received {"connection_id":160202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":160202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:43:53] local.INFO: TCP Data received {"connection_id":160202,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:43:53] local.INFO: Processing buffer {"connection_id":160202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:43:53] local.INFO: IMEI packet received {"connection_id":160202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":160202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:43:54] local.INFO: TCP Data received {"connection_id":160202,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029994650012d807f8005c3a760000c00092d..."} 
[2026-08-22 18:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029994650012d807f8005c3a760000c00092d..."} 
[2026-08-22 18:43:54] local.INFO: Processing buffer {"connection_id":160202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029994650012d807f8005c3a760000c00092d..."} 
[2026-08-22 18:43:54] local.INFO: Packet analysis {"connection_id":160202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02999"} 
[2026-08-22 18:43:54] local.INFO: Extracted packet for processing {"connection_id":160202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02999"} 
[2026-08-22 18:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763395968,"raw_latitude":96708448,"longitude_deg":76.3395968,"latitude_deg":9.6708448,"altitude":12,"angle":9,"satellites":45,"speed":2,"hex_longitude":"2d807f80","hex_latitude":"05c3a760","is_valid_coordinates":true} 
[2026-08-22 18:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575496960001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388997009064853504,"note":"Value kept but may cause issues"} 
[2026-08-22 18:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188117271265183744,"note":"Value kept but may cause issues"} 
[2026-08-22 18:43: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-22 18:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787404306000,"timestamp_ms":1787404306000,"timestamp_seconds":1787404306,"priority":1,"record_length":96,"hex_timestamp":"000001a029994650"} 
[2026-08-22 18:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:43: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-22 18:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-22 18:43:54] 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-22 18:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:43: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-22 18:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575496960001,"66":27745,"234":206,"85":12288,"24":2,"16":388997009064853504,"45":-9188117271265183744},"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-22 18:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575496960001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:43:54] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-22 18:43:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388997009064853504,"km_value":388997009064853.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188117271265183744,"description":"Unknown IO ID 45"} 
[2026-08-22 18:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575496960001,"power":27745,"unknown_234":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":-9188117271265183744}} 
[2026-08-22 18:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":160202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:43:54] local.INFO: GPS data processed {"connection_id":160202,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:43:54] local.INFO: Acknowledgment sent {"connection_id":160202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:44:25] local.INFO: TCP Data received {"connection_id":160202,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029999858012d80800005c3ac98000b00082e..."} 
[2026-08-22 18:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029999858012d80800005c3ac98000b00082e..."} 
[2026-08-22 18:44:25] local.INFO: Processing buffer {"connection_id":160202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029999858012d80800005c3ac98000b00082e..."} 
[2026-08-22 18:44:25] local.INFO: Packet analysis {"connection_id":160202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02999"} 
[2026-08-22 18:44:25] local.INFO: Extracted packet for processing {"connection_id":160202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02999"} 
[2026-08-22 18:44:25] local.INFO: GPS Element Parsed {"raw_longitude":763396096,"raw_latitude":96709784,"longitude_deg":76.3396096,"latitude_deg":9.6709784,"altitude":11,"angle":8,"satellites":46,"speed":0,"hex_longitude":"2d808000","hex_latitude":"05c3ac98","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575502336001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388997073489362944,"note":"Value kept but may cause issues"} 
[2026-08-22 18:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187483952566804480,"note":"Value kept but may cause issues"} 
[2026-08-22 18:44: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-22 18:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787404327000,"timestamp_ms":1787404327000,"timestamp_seconds":1787404327,"priority":1,"record_length":96,"hex_timestamp":"000001a029999858"} 
[2026-08-22 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-22 18: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-22 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":97,"data_length":795,"current_offset":136} 
[2026-08-22 18:44: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-22 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-22 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-22 18:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:44: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-22 18:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575502336001,"66":27745,"234":206,"85":12288,"24":0,"16":388997073489362944,"45":-9187483952566804480},"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-22 18:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575502336001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:44:25] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-22 18:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388997073489362944,"km_value":388997073489362.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187483952566804480,"description":"Unknown IO ID 45"} 
[2026-08-22 18:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575502336001,"power":27745,"unknown_234":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9187483952566804480}} 
[2026-08-22 18:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":160202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:44:25] local.INFO: GPS data processed {"connection_id":160202,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:44:25] local.INFO: Acknowledgment sent {"connection_id":160202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:44:45] local.INFO: TCP Data received {"connection_id":162559,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0299afbd0012d816e0005da8150000e006d15..."} 
[2026-08-22 18:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299afbd0012d816e0005da8150000e006d15..."} 
[2026-08-22 18:44:45] local.INFO: Processing buffer {"connection_id":162559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299afbd0012d816e0005da8150000e006d15..."} 
[2026-08-22 18:44:45] local.INFO: Packet analysis {"connection_id":162559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299a"} 
[2026-08-22 18:44:45] local.INFO: Extracted packet for processing {"connection_id":162559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299a"} 
[2026-08-22 18:44:45] local.INFO: GPS Element Parsed {"raw_longitude":763457024,"raw_latitude":98206032,"longitude_deg":76.3457024,"latitude_deg":9.8206032,"altitude":14,"angle":109,"satellites":21,"speed":25,"hex_longitude":"2d816e00","hex_latitude":"05da8150","is_valid_coordinates":true} 
[2026-08-22 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-22 18:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575530752001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122325539082993664,"note":"Value kept but may cause issues"} 
[2026-08-22 18:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9120985488935471104,"note":"Value kept but may cause issues"} 
[2026-08-22 18:44:45] 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-22 18:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787404418000,"timestamp_ms":1787404418000,"timestamp_seconds":1787404418,"priority":1,"record_length":96,"hex_timestamp":"000001a0299afbd0"} 
[2026-08-22 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-22 18:44:45] 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-22 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 18:44:45] 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-22 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-22 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-22 18:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:44: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-22 18:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575530752001,"66":12689,"153":206,"85":15104,"24":25,"16":122325539082993664,"45":-9120985488935471104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-22 18:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575530752001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:44:45] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 18:44:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122325539082993664,"km_value":122325539082993.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9120985488935471104,"description":"Unknown IO ID 45"} 
[2026-08-22 18:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575530752001,"power":12689,"unknown_153":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9120985488935471104}} 
[2026-08-22 18:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":162559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:44:45] local.INFO: GPS data processed {"connection_id":162559,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:44:45] local.INFO: Acknowledgment sent {"connection_id":162559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:44:48] local.INFO: TCP Data received {"connection_id":161141,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:44:48] local.INFO: Processing buffer {"connection_id":161141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:44:48] local.INFO: IMEI packet received {"connection_id":161141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":161141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:44:53] local.INFO: TCP Data received {"connection_id":161141,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:44:53] local.INFO: Processing buffer {"connection_id":161141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:44:53] local.INFO: IMEI packet received {"connection_id":161141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":161141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:44:53] local.INFO: TCP Data received {"connection_id":161141,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:44:53] local.INFO: Processing buffer {"connection_id":161141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:44:53] local.INFO: IMEI packet received {"connection_id":161141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":161141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:44:54] local.INFO: TCP Data received {"connection_id":161141,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02999ea60012d80820005c3ba30000c000b2d..."} 
[2026-08-22 18:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02999ea60012d80820005c3ba30000c000b2d..."} 
[2026-08-22 18:44:54] local.INFO: Processing buffer {"connection_id":161141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02999ea60012d80820005c3ba30000c000b2d..."} 
[2026-08-22 18:44:54] local.INFO: Packet analysis {"connection_id":161141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02999"} 
[2026-08-22 18:44:54] local.INFO: Extracted packet for processing {"connection_id":161141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02999"} 
[2026-08-22 18:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763396608,"raw_latitude":96713264,"longitude_deg":76.3396608,"latitude_deg":9.6713264,"altitude":12,"angle":11,"satellites":45,"speed":6,"hex_longitude":"2d808200","hex_latitude":"05c3ba30","is_valid_coordinates":true} 
[2026-08-22 18:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575507712001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388997249583022080,"note":"Value kept but may cause issues"} 
[2026-08-22 18:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187343215078107136,"note":"Value kept but may cause issues"} 
[2026-08-22 18:44: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-22 18:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787404348000,"timestamp_ms":1787404348000,"timestamp_seconds":1787404348,"priority":1,"record_length":96,"hex_timestamp":"000001a02999ea60"} 
[2026-08-22 18:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:44: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-22 18:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 18:44:54] 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-22 18:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:44: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-22 18:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575507712001,"66":27745,"234":206,"85":12288,"24":6,"16":388997249583022080,"45":-9187343215078107136},"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-22 18:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575507712001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:44:54] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-22 18:44:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388997249583022080,"km_value":388997249583022.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187343215078107136,"description":"Unknown IO ID 45"} 
[2026-08-22 18:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575507712001,"power":27745,"unknown_234":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":-9187343215078107136}} 
[2026-08-22 18:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":161141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:44:54] local.INFO: GPS data processed {"connection_id":161141,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:44:54] local.INFO: Acknowledgment sent {"connection_id":161141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:44:59] local.INFO: TCP Data received {"connection_id":161141,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0299a3c68012d80838005c3c600000b00092b..."} 
[2026-08-22 18:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299a3c68012d80838005c3c600000b00092b..."} 
[2026-08-22 18:44:59] local.INFO: Processing buffer {"connection_id":161141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299a3c68012d80838005c3c600000b00092b..."} 
[2026-08-22 18:44:59] local.INFO: Packet analysis {"connection_id":161141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299a"} 
[2026-08-22 18:44:59] local.INFO: Extracted packet for processing {"connection_id":161141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299a"} 
[2026-08-22 18:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763396992,"raw_latitude":96716288,"longitude_deg":76.3396992,"latitude_deg":9.6716288,"altitude":11,"angle":9,"satellites":43,"speed":2,"hex_longitude":"2d808380","hex_latitude":"05c3c600","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575513088001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388997399906877440,"note":"Value kept but may cause issues"} 
[2026-08-22 18:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186780265123794944,"note":"Value kept but may cause issues"} 
[2026-08-22 18:44:59] 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-22 18:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787404369000,"timestamp_ms":1787404369000,"timestamp_seconds":1787404369,"priority":1,"record_length":96,"hex_timestamp":"000001a0299a3c68"} 
[2026-08-22 18: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-22 18:44: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-22 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 18:44: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-22 18: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-22 18: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-22 18:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:44: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-22 18:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575513088001,"66":27767,"234":206,"85":12288,"24":2,"16":388997399906877440,"45":-9186780265123794944},"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-22 18:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575513088001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:44:59] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-22 18:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388997399906877440,"km_value":388997399906877.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186780265123794944,"description":"Unknown IO ID 45"} 
[2026-08-22 18:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575513088001,"power":27767,"unknown_234":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":-9186780265123794944}} 
[2026-08-22 18:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":161141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:44:59] local.INFO: GPS data processed {"connection_id":161141,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:44:59] local.INFO: Acknowledgment sent {"connection_id":161141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:45:00] local.INFO: TCP Data received {"connection_id":159975,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:45:00] local.INFO: Processing buffer {"connection_id":159975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:45:00] local.INFO: IMEI packet received {"connection_id":159975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":159975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:45:05] local.INFO: TCP Data received {"connection_id":159975,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:45:05] local.INFO: Processing buffer {"connection_id":159975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:45:05] local.INFO: IMEI packet received {"connection_id":159975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":159975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:45:06] local.INFO: TCP Data received {"connection_id":159975,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0299bd690012d82208005da8ae80014008e16..."} 
[2026-08-22 18:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299bd690012d82208005da8ae80014008e16..."} 
[2026-08-22 18:45:06] local.INFO: Processing buffer {"connection_id":159975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299bd690012d82208005da8ae80014008e16..."} 
[2026-08-22 18:45:06] local.INFO: Packet analysis {"connection_id":159975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299b"} 
[2026-08-22 18:45:06] local.INFO: Extracted packet for processing {"connection_id":159975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299b"} 
[2026-08-22 18:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763502720,"raw_latitude":98208488,"longitude_deg":76.350272,"latitude_deg":9.8208488,"altitude":20,"angle":142,"satellites":22,"speed":24,"hex_longitude":"2d822080","hex_latitude":"05da8ae8","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575545088001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122327832595529728,"note":"Value kept but may cause issues"} 
[2026-08-22 18:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070531099359387648,"note":"Value kept but may cause issues"} 
[2026-08-22 18:45:06] 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-22 18:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787404474000,"timestamp_ms":1787404474000,"timestamp_seconds":1787404474,"priority":1,"record_length":96,"hex_timestamp":"000001a0299bd690"} 
[2026-08-22 18: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-22 18:45:06] 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-22 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-22 18:45:06] 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-22 18: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-22 18: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-22 18:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:45:06] 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-22 18:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575545088001,"66":12765,"153":206,"85":15104,"24":24,"16":122327832595529728,"45":-9070531099359387648},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-22 18:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575545088001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:45:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 18:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122327832595529728,"km_value":122327832595529.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070531099359387648,"description":"Unknown IO ID 45"} 
[2026-08-22 18:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575545088001,"power":12765,"unknown_153":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9070531099359387648}} 
[2026-08-22 18:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":159975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:45:06] local.INFO: GPS data processed {"connection_id":159975,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:45:06] local.INFO: Acknowledgment sent {"connection_id":159975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:45:30] local.INFO: TCP Data received {"connection_id":161141,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0299a8e70012d80854005c3cf88000c00002b..."} 
[2026-08-22 18:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299a8e70012d80854005c3cf88000c00002b..."} 
[2026-08-22 18:45:30] local.INFO: Processing buffer {"connection_id":161141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299a8e70012d80854005c3cf88000c00002b..."} 
[2026-08-22 18:45:30] local.INFO: Packet analysis {"connection_id":161141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299a"} 
[2026-08-22 18:45:30] local.INFO: Extracted packet for processing {"connection_id":161141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299a"} 
[2026-08-22 18:45:30] local.INFO: GPS Element Parsed {"raw_longitude":763397440,"raw_latitude":96718728,"longitude_deg":76.339744,"latitude_deg":9.6718728,"altitude":12,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d808540","hex_latitude":"05c3cf88","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575518464001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388997524460929024,"note":"Value kept but may cause issues"} 
[2026-08-22 18:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186358052657954816,"note":"Value kept but may cause issues"} 
[2026-08-22 18:45:30] 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-22 18:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787404390000,"timestamp_ms":1787404390000,"timestamp_seconds":1787404390,"priority":1,"record_length":96,"hex_timestamp":"000001a0299a8e70"} 
[2026-08-22 18: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-22 18:45: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-22 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 18:45: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-22 18: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-22 18: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-22 18:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:45: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-22 18:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575518464001,"66":27571,"234":206,"85":12288,"24":0,"16":388997524460929024,"45":-9186358052657954816},"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-22 18:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575518464001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:45:30] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-22 18:45:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388997524460929024,"km_value":388997524460929.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186358052657954816,"description":"Unknown IO ID 45"} 
[2026-08-22 18:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575518464001,"power":27571,"unknown_234":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9186358052657954816}} 
[2026-08-22 18:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":161141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:45:30] local.INFO: GPS data processed {"connection_id":161141,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:45:30] local.INFO: Acknowledgment sent {"connection_id":161141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:45:37] local.INFO: TCP Data received {"connection_id":159975,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0299bda78012d8221c005da88400014009916..."} 
[2026-08-22 18:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299bda78012d8221c005da88400014009916..."} 
[2026-08-22 18:45:37] local.INFO: Processing buffer {"connection_id":159975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299bda78012d8221c005da88400014009916..."} 
[2026-08-22 18:45:37] local.INFO: Packet analysis {"connection_id":159975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299b"} 
[2026-08-22 18:45:37] local.INFO: Extracted packet for processing {"connection_id":159975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299b"} 
[2026-08-22 18:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763503040,"raw_latitude":98207808,"longitude_deg":76.350304,"latitude_deg":9.8207808,"altitude":20,"angle":153,"satellites":22,"speed":27,"hex_longitude":"2d8221c0","hex_latitude":"05da8840","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575545344001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122327866955268096,"note":"Value kept but may cause issues"} 
[2026-08-22 18:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070108886894450688,"note":"Value kept but may cause issues"} 
[2026-08-22 18:45: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-22 18:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787404475000,"timestamp_ms":1787404475000,"timestamp_seconds":1787404475,"priority":1,"record_length":96,"hex_timestamp":"000001a0299bda78"} 
[2026-08-22 18: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-22 18:45:37] 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-22 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-22 18:45:37] 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-22 18: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-22 18: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-22 18:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:45:37] 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-22 18:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575545344001,"66":12765,"153":206,"85":15104,"24":27,"16":122327866955268096,"45":-9070108886894450688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-22 18:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575545344001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:45:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 18:45:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122327866955268096,"km_value":122327866955268.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070108886894450688,"description":"Unknown IO ID 45"} 
[2026-08-22 18:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575545344001,"power":12765,"unknown_153":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9070108886894450688}} 
[2026-08-22 18:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":159975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:45:37] local.INFO: GPS data processed {"connection_id":159975,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:45:37] local.INFO: Acknowledgment sent {"connection_id":159975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:45:52] local.INFO: TCP Data received {"connection_id":162562,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:45:52] local.INFO: Processing buffer {"connection_id":162562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:45:52] local.INFO: IMEI packet received {"connection_id":162562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":162562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:45:53] local.INFO: TCP Data received {"connection_id":162562,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:45:53] local.INFO: Processing buffer {"connection_id":162562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:45:53] local.INFO: IMEI packet received {"connection_id":162562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":162562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:45:58] local.INFO: TCP Data received {"connection_id":162562,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:45:58] local.INFO: Processing buffer {"connection_id":162562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:45:58] local.INFO: IMEI packet received {"connection_id":162562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":162562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:45:59] local.INFO: TCP Data received {"connection_id":161144,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:45:59] local.INFO: Processing buffer {"connection_id":161144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:45:59] local.INFO: IMEI packet received {"connection_id":161144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":161144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:45:59] local.INFO: TCP Data received {"connection_id":162562,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0299ae078012d80868005c3d930000b00092c..."} 
[2026-08-22 18:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299ae078012d80868005c3d930000b00092c..."} 
[2026-08-22 18:45:59] local.INFO: Processing buffer {"connection_id":162562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299ae078012d80868005c3d930000b00092c..."} 
[2026-08-22 18:45:59] local.INFO: Packet analysis {"connection_id":162562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299a"} 
[2026-08-22 18:45:59] local.INFO: Extracted packet for processing {"connection_id":162562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299a"} 
[2026-08-22 18:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763397760,"raw_latitude":96721200,"longitude_deg":76.339776,"latitude_deg":9.67212,"altitude":11,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d808680","hex_latitude":"05c3d930","is_valid_coordinates":true} 
[2026-08-22 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-22 18:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575523840001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388997649014980608,"note":"Value kept but may cause issues"} 
[2026-08-22 18:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185865471448086528,"note":"Value kept but may cause issues"} 
[2026-08-22 18:45:59] 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-22 18:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787404411000,"timestamp_ms":1787404411000,"timestamp_seconds":1787404411,"priority":1,"record_length":96,"hex_timestamp":"000001a0299ae078"} 
[2026-08-22 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-22 18:45: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-22 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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 18:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 18:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:45: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-22 18:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575523840001,"66":27713,"234":206,"85":12288,"24":0,"16":388997649014980608,"45":-9185865471448086528},"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-22 18:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575523840001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:45:59] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-22 18:45:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388997649014980608,"km_value":388997649014980.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185865471448086528,"description":"Unknown IO ID 45"} 
[2026-08-22 18:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575523840001,"power":27713,"unknown_234":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9185865471448086528}} 
[2026-08-22 18:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":162562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:45:59] local.INFO: GPS data processed {"connection_id":162562,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:45:59] local.INFO: Acknowledgment sent {"connection_id":162562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:46:00] local.INFO: TCP Data received {"connection_id":161144,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:46:00] local.INFO: Processing buffer {"connection_id":161144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:46:00] local.INFO: IMEI packet received {"connection_id":161144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":161144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:46:02] local.INFO: TCP Data received {"connection_id":161144,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:46:02] local.INFO: Processing buffer {"connection_id":161144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:46:02] local.INFO: IMEI packet received {"connection_id":161144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":161144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:46:04] local.INFO: TCP Data received {"connection_id":162562,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0299b3280012d8089c005c3e888000a00022f..."} 
[2026-08-22 18:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299b3280012d8089c005c3e888000a00022f..."} 
[2026-08-22 18:46:04] local.INFO: Processing buffer {"connection_id":162562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299b3280012d8089c005c3e888000a00022f..."} 
[2026-08-22 18:46:04] local.INFO: Packet analysis {"connection_id":162562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299b"} 
[2026-08-22 18:46:04] local.INFO: Extracted packet for processing {"connection_id":162562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299b"} 
[2026-08-22 18:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763398592,"raw_latitude":96725128,"longitude_deg":76.3398592,"latitude_deg":9.6725128,"altitude":10,"angle":2,"satellites":47,"speed":10,"hex_longitude":"2d8089c0","hex_latitude":"05c3e888","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575529216001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388997846583476224,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185513627726565376,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:04] 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-22 18:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787404432000,"timestamp_ms":1787404432000,"timestamp_seconds":1787404432,"priority":1,"record_length":96,"hex_timestamp":"000001a0299b3280"} 
[2026-08-22 18: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-22 18:46: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-22 18: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-22 18:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18: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-22 18: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-22 18:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:46: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-22 18:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575529216001,"66":27691,"234":206,"85":12288,"24":10,"16":388997846583476224,"45":-9185513627726565376},"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-22 18:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575529216001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:46:04] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-22 18:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388997846583476224,"km_value":388997846583476.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185513627726565376,"description":"Unknown IO ID 45"} 
[2026-08-22 18:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575529216001,"power":27691,"unknown_234":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":-9185513627726565376}} 
[2026-08-22 18:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":162562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:46:04] local.INFO: GPS data processed {"connection_id":162562,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:46:04] local.INFO: Acknowledgment sent {"connection_id":162562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:46:05] local.INFO: TCP Data received {"connection_id":161144,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:46:05] local.INFO: Processing buffer {"connection_id":161144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:46:05] local.INFO: IMEI packet received {"connection_id":161144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":161144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:46:05] local.INFO: TCP Data received {"connection_id":161144,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0299c0188012d822e8005da64c80014009e16..."} 
[2026-08-22 18:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299c0188012d822e8005da64c80014009e16..."} 
[2026-08-22 18:46:05] local.INFO: Processing buffer {"connection_id":161144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299c0188012d822e8005da64c80014009e16..."} 
[2026-08-22 18:46:05] local.INFO: Packet analysis {"connection_id":161144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299c"} 
[2026-08-22 18:46:05] local.INFO: Extracted packet for processing {"connection_id":161144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299c"} 
[2026-08-22 18:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763506304,"raw_latitude":98198728,"longitude_deg":76.3506304,"latitude_deg":9.8198728,"altitude":20,"angle":158,"satellites":22,"speed":40,"hex_longitude":"2d822e80","hex_latitude":"05da64c8","is_valid_coordinates":true} 
[2026-08-22 18:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575545600001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122328335106703360,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9069757043173736448,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:05] 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-22 18:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787404485000,"timestamp_ms":1787404485000,"timestamp_seconds":1787404485,"priority":1,"record_length":96,"hex_timestamp":"000001a0299c0188"} 
[2026-08-22 18:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:46:05] 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-22 18:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-22 18:46: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-22 18:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:46:05] 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-22 18:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575545600001,"66":12058,"153":206,"85":15104,"24":40,"16":122328335106703360,"45":-9069757043173736448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-22 18:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575545600001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:46:05] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-22 18:46:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122328335106703360,"km_value":122328335106703.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9069757043173736448,"description":"Unknown IO ID 45"} 
[2026-08-22 18:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575545600001,"power":12058,"unknown_153":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9069757043173736448}} 
[2026-08-22 18:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":161144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:46:05] local.INFO: GPS data processed {"connection_id":161144,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:46:05] local.INFO: Acknowledgment sent {"connection_id":161144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:46:07] local.INFO: TCP Data received {"connection_id":161143,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:46:07] local.INFO: Processing buffer {"connection_id":161143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:46:07] local.INFO: IMEI packet received {"connection_id":161143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":161143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:46:08] local.INFO: TCP Data received {"connection_id":161143,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0299c7aa0012d0b70000724ac18002801181c..."} 
[2026-08-22 18:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299c7aa0012d0b70000724ac18002801181c..."} 
[2026-08-22 18:46:08] local.INFO: Processing buffer {"connection_id":161143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299c7aa0012d0b70000724ac18002801181c..."} 
[2026-08-22 18:46:08] local.INFO: Packet analysis {"connection_id":161143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299c"} 
[2026-08-22 18:46:08] local.INFO: Extracted packet for processing {"connection_id":161143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299c"} 
[2026-08-22 18:46:08] local.INFO: GPS Element Parsed {"raw_longitude":755724288,"raw_latitude":119843864,"longitude_deg":75.5724288,"latitude_deg":11.9843864,"altitude":40,"angle":280,"satellites":28,"speed":26,"hex_longitude":"2d0b7000","hex_latitude":"0724ac18","is_valid_coordinates":true} 
[2026-08-22 18:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575555584001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14855359868960768,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":825636506116425728,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:08] 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-22 18:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787404516000,"timestamp_ms":1787404516000,"timestamp_seconds":1787404516,"priority":1,"record_length":96,"hex_timestamp":"000001a0299c7aa0"} 
[2026-08-22 18:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:46: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-22 18:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-22 18:46:08] 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-22 18:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:46:08] 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-22 18:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575555584001,"66":14428,"117":206,"83":41984,"24":26,"16":14855359868960768,"45":825636506116425728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 18:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575555584001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:46:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 18:46:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14855359868960768,"km_value":14855359868960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":825636506116425728,"description":"Unknown IO ID 45"} 
[2026-08-22 18:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575555584001,"power":14428,"unknown_117":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":825636506116425728}} 
[2026-08-22 18:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":161143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:46:08] local.INFO: GPS data processed {"connection_id":161143,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:46:08] local.INFO: Acknowledgment sent {"connection_id":161143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:46:38] local.INFO: TCP Data received {"connection_id":161144,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0299c2898012d82374005da40d8001100a916..."} 
[2026-08-22 18:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299c2898012d82374005da40d8001100a916..."} 
[2026-08-22 18:46:38] local.INFO: Processing buffer {"connection_id":161144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299c2898012d82374005da40d8001100a916..."} 
[2026-08-22 18:46:38] local.INFO: Packet analysis {"connection_id":161144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299c"} 
[2026-08-22 18:46:38] local.INFO: Extracted packet for processing {"connection_id":161144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299c"} 
[2026-08-22 18:46:38] local.INFO: GPS Element Parsed {"raw_longitude":763508544,"raw_latitude":98189528,"longitude_deg":76.3508544,"latitude_deg":9.8189528,"altitude":17,"angle":169,"satellites":22,"speed":33,"hex_longitude":"2d823740","hex_latitude":"05da40d8","is_valid_coordinates":true} 
[2026-08-22 18:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575548160001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122328794668204032,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9066168237223000064,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46: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-22 18:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787404495000,"timestamp_ms":1787404495000,"timestamp_seconds":1787404495,"priority":1,"record_length":96,"hex_timestamp":"000001a0299c2898"} 
[2026-08-22 18:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:46:38] 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-22 18:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-22 18:46:38] 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-22 18:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:46: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-22 18:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575548160001,"66":13059,"71":206,"85":15104,"24":33,"16":122328794668204032,"45":-9066168237223000064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-22 18:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575548160001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:46:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-22 18:46:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122328794668204032,"km_value":122328794668204.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9066168237223000064,"description":"Unknown IO ID 45"} 
[2026-08-22 18:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575548160001,"power":13059,"unknown_71":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9066168237223000064}} 
[2026-08-22 18:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":161144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:46:38] local.INFO: GPS data processed {"connection_id":161144,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:46:38] local.INFO: Acknowledgment sent {"connection_id":161144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:46:48] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:46:48] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:46:48] local.INFO: IMEI packet received {"connection_id":159976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":159976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:46:51] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:46:51] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:46:51] local.INFO: IMEI packet received {"connection_id":159976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":159976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:46:52] local.INFO: TCP Data received {"connection_id":161145,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:46:52] local.INFO: Processing buffer {"connection_id":161145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:46:52] local.INFO: IMEI packet received {"connection_id":161145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":161145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:46:52] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0299b8488012d808bc005c3fb10000900042e..."} 
[2026-08-22 18:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299b8488012d808bc005c3fb10000900042e..."} 
[2026-08-22 18:46:52] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299b8488012d808bc005c3fb10000900042e..."} 
[2026-08-22 18:46:52] local.INFO: Packet analysis {"connection_id":159976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299b"} 
[2026-08-22 18:46:52] local.INFO: Extracted packet for processing {"connection_id":159976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299b"} 
[2026-08-22 18:46:52] local.INFO: GPS Element Parsed {"raw_longitude":763399104,"raw_latitude":96729872,"longitude_deg":76.3399104,"latitude_deg":9.6729872,"altitude":9,"angle":4,"satellites":46,"speed":6,"hex_longitude":"2d808bc0","hex_latitude":"05c3fb10","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575534592001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388998082806677504,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184598834051250176,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46: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-22 18:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787404453000,"timestamp_ms":1787404453000,"timestamp_seconds":1787404453,"priority":1,"record_length":96,"hex_timestamp":"000001a0299b8488"} 
[2026-08-22 18: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-22 18:46: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-22 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-22 18:46:52] 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-22 18: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-22 18: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-22 18:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:46: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-22 18:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575534592001,"66":27604,"234":206,"85":12288,"24":6,"16":388998082806677504,"45":-9184598834051250176},"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-22 18:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575534592001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:46:52] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-22 18:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388998082806677504,"km_value":388998082806677.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184598834051250176,"description":"Unknown IO ID 45"} 
[2026-08-22 18:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575534592001,"power":27604,"unknown_234":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":-9184598834051250176}} 
[2026-08-22 18:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":159976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:46:52] local.INFO: GPS data processed {"connection_id":159976,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:46:52] local.INFO: Acknowledgment sent {"connection_id":159976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:46:53] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0299bd2a8012d808cc005c40fc8000901602b..."} 
[2026-08-22 18:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299bd2a8012d808cc005c40fc8000901602b..."} 
[2026-08-22 18:46:53] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299bd2a8012d808cc005c40fc8000901602b..."} 
[2026-08-22 18:46:53] local.INFO: Packet analysis {"connection_id":159976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299b"} 
[2026-08-22 18:46:53] local.INFO: Extracted packet for processing {"connection_id":159976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299b"} 
[2026-08-22 18:46:53] local.INFO: GPS Element Parsed {"raw_longitude":763399360,"raw_latitude":96735176,"longitude_deg":76.339936,"latitude_deg":9.6735176,"altitude":9,"angle":352,"satellites":43,"speed":15,"hex_longitude":"2d808cc0","hex_latitude":"05c40fc8","is_valid_coordinates":true} 
[2026-08-22 18:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575539968001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388998340504715264,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184035884096614400,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:53] 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-22 18:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787404473000,"timestamp_ms":1787404473000,"timestamp_seconds":1787404473,"priority":1,"record_length":96,"hex_timestamp":"000001a0299bd2a8"} 
[2026-08-22 18:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:46: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-22 18:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-22 18:46:53] 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-22 18:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:46: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-22 18:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575539968001,"66":27745,"234":206,"85":12288,"24":15,"16":388998340504715264,"45":-9184035884096614400},"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-22 18:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575539968001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:46:53] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-22 18:46:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388998340504715264,"km_value":388998340504715.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184035884096614400,"description":"Unknown IO ID 45"} 
[2026-08-22 18:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575539968001,"power":27745,"unknown_234":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":-9184035884096614400}} 
[2026-08-22 18:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":159976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:46:53] local.INFO: GPS data processed {"connection_id":159976,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:46:53] local.INFO: Acknowledgment sent {"connection_id":159976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:46:57] local.INFO: TCP Data received {"connection_id":161145,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:46:57] local.INFO: Processing buffer {"connection_id":161145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:46:57] local.INFO: IMEI packet received {"connection_id":161145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":161145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:46:58] local.INFO: TCP Data received {"connection_id":161145,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0299c8270012d0b6a800724ac480026010a1e..."} 
[2026-08-22 18:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299c8270012d0b6a800724ac480026010a1e..."} 
[2026-08-22 18:46:58] local.INFO: Processing buffer {"connection_id":161145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299c8270012d0b6a800724ac480026010a1e..."} 
[2026-08-22 18:46:58] local.INFO: Packet analysis {"connection_id":161145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299c"} 
[2026-08-22 18:46:58] local.INFO: Extracted packet for processing {"connection_id":161145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299c"} 
[2026-08-22 18:46:58] local.INFO: GPS Element Parsed {"raw_longitude":755722880,"raw_latitude":119843912,"longitude_deg":75.572288,"latitude_deg":11.9843912,"altitude":38,"angle":266,"satellites":30,"speed":25,"hex_longitude":"2d0b6a80","hex_latitude":"0724ac48","is_valid_coordinates":true} 
[2026-08-22 18:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575556096001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14855428588437504,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824158762488829952,"note":"Value kept but may cause issues"} 
[2026-08-22 18:46:58] 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-22 18:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787404518000,"timestamp_ms":1787404518000,"timestamp_seconds":1787404518,"priority":1,"record_length":96,"hex_timestamp":"000001a0299c8270"} 
[2026-08-22 18:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 18:46:58] 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-22 18:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:46: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-22 18:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575556096001,"66":14396,"117":206,"83":41984,"24":25,"16":14855428588437504,"45":824158762488829952},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 18:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575556096001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:46:58] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 18:46:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14855428588437504,"km_value":14855428588437.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":824158762488829952,"description":"Unknown IO ID 45"} 
[2026-08-22 18:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575556096001,"power":14396,"unknown_117":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":824158762488829952}} 
[2026-08-22 18:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":161145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:46:58] local.INFO: GPS data processed {"connection_id":161145,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:46:58] local.INFO: Acknowledgment sent {"connection_id":161145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:47:04] local.INFO: TCP Data received {"connection_id":161146,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:47:04] local.INFO: Processing buffer {"connection_id":161146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:47:04] local.INFO: IMEI packet received {"connection_id":161146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":161146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:47:05] local.INFO: TCP Data received {"connection_id":161146,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:47:05] local.INFO: Processing buffer {"connection_id":161146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:47:05] local.INFO: IMEI packet received {"connection_id":161146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":161146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:47:10] local.INFO: TCP Data received {"connection_id":161146,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:47:10] local.INFO: Processing buffer {"connection_id":161146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:47:10] local.INFO: IMEI packet received {"connection_id":161146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":161146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:47:11] local.INFO: TCP Data received {"connection_id":161146,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0299c5390012d823d8005da1c80001100aa16..."} 
[2026-08-22 18:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299c5390012d823d8005da1c80001100aa16..."} 
[2026-08-22 18:47:11] local.INFO: Processing buffer {"connection_id":161146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299c5390012d823d8005da1c80001100aa16..."} 
[2026-08-22 18:47:11] local.INFO: Packet analysis {"connection_id":161146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299c"} 
[2026-08-22 18:47:11] local.INFO: Extracted packet for processing {"connection_id":161146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299c"} 
[2026-08-22 18:47:11] local.INFO: GPS Element Parsed {"raw_longitude":763510144,"raw_latitude":98180224,"longitude_deg":76.3510144,"latitude_deg":9.8180224,"altitude":17,"angle":170,"satellites":22,"speed":26,"hex_longitude":"2d823d80","hex_latitude":"05da1c80","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575550720001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122329249934737408,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063705331179137024,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:11] 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-22 18:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787404506000,"timestamp_ms":1787404506000,"timestamp_seconds":1787404506,"priority":1,"record_length":96,"hex_timestamp":"000001a0299c5390"} 
[2026-08-22 18: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-22 18:47:11] 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-22 18: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":3,"data_length":795,"current_offset":136} 
[2026-08-22 18:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595432,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:11] local.WARNING: Large IO value detected {"io_id":153,"raw_value":58077557095399448,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2183069701,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:11] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:11] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2363490324,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:11] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2614274049,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2828599502,"corrected_to":0} 
[2026-08-22 18:47:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3221302658,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:11] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2557870080,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3666778112,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,71,85,24,241,157,16,153,160,1,45,128,100,20,22,10,66,152,218,192,136,214,240,221,227,41,4,113,205,23,206,29,239,50,2,178,5,19],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2828599502,"validated":0}]} 
[2026-08-22 18:47:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225165010601312256,"timestamp_seconds":1225165010601312.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 18: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-22 18:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:47: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-22 18:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575550720001,"66":13037,"71":206,"85":15104,"24":26,"16":122329249934737408,"45":-9063705331179137024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-22 18:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575550720001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:47:11] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-22 18:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122329249934737408,"km_value":122329249934737.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063705331179137024,"description":"Unknown IO ID 45"} 
[2026-08-22 18:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575550720001,"power":13037,"unknown_71":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9063705331179137024}} 
[2026-08-22 18:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":161146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:47:11] local.INFO: GPS data processed {"connection_id":161146,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:47:11] local.INFO: Acknowledgment sent {"connection_id":161146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:47:15] local.INFO: TCP Data received {"connection_id":161146,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0299c8270012d82430005d9f8f0001000aa15..."} 
[2026-08-22 18:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299c8270012d82430005d9f8f0001000aa15..."} 
[2026-08-22 18:47:15] local.INFO: Processing buffer {"connection_id":161146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299c8270012d82430005d9f8f0001000aa15..."} 
[2026-08-22 18:47:15] local.INFO: Packet analysis {"connection_id":161146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299c"} 
[2026-08-22 18:47:15] local.INFO: Extracted packet for processing {"connection_id":161146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299c"} 
[2026-08-22 18:47:15] local.INFO: GPS Element Parsed {"raw_longitude":763511552,"raw_latitude":98171120,"longitude_deg":76.3511552,"latitude_deg":9.817112,"altitude":16,"angle":170,"satellites":21,"speed":34,"hex_longitude":"2d824300","hex_latitude":"05d9f8f0","is_valid_coordinates":true} 
[2026-08-22 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-22 18:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575553536001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122329700906303488,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061946112577077248,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:15] 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-22 18:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787404518000,"timestamp_ms":1787404518000,"timestamp_seconds":1787404518,"priority":1,"record_length":96,"hex_timestamp":"000001a0299c8270"} 
[2026-08-22 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-22 18:47:15] 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-22 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-22 18:47:15] 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-22 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-22 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-22 18:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":161146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":161146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":161146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:47: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-22 18:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575553536001,"66":12841,"71":206,"85":15104,"24":34,"16":122329700906303488,"45":-9061946112577077248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-22 18:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575553536001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:47:15] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-22 18:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122329700906303488,"km_value":122329700906303.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061946112577077248,"description":"Unknown IO ID 45"} 
[2026-08-22 18:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575553536001,"power":12841,"unknown_71":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9061946112577077248}} 
[2026-08-22 18:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":161146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:47:15] local.INFO: GPS data processed {"connection_id":161146,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:47:15] local.INFO: Acknowledgment sent {"connection_id":161146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:47:27] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0299c0d40012d80858005c432b80009015428..."} 
[2026-08-22 18:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299c0d40012d80858005c432b80009015428..."} 
[2026-08-22 18:47:27] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299c0d40012d80858005c432b80009015428..."} 
[2026-08-22 18:47:27] local.INFO: Packet analysis {"connection_id":159976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299c"} 
[2026-08-22 18:47:27] local.INFO: Extracted packet for processing {"connection_id":159976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299c"} 
[2026-08-22 18:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763397504,"raw_latitude":96744120,"longitude_deg":76.3397504,"latitude_deg":9.674412,"altitude":9,"angle":340,"satellites":40,"speed":26,"hex_longitude":"2d808580","hex_latitude":"05c432b8","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575545088001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388998782886346752,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183754409118545920,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:27] 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-22 18:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787404488000,"timestamp_ms":1787404488000,"timestamp_seconds":1787404488,"priority":1,"record_length":96,"hex_timestamp":"000001a0299c0d40"} 
[2026-08-22 18: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-22 18:47: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-22 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-22 18:47:27] 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-22 18: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-22 18: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-22 18:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:47: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-22 18:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575545088001,"66":27626,"234":206,"85":12288,"24":26,"16":388998782886346752,"45":-9183754409118545920},"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-22 18:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575545088001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:47:27] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-22 18:47:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388998782886346752,"km_value":388998782886346.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183754409118545920,"description":"Unknown IO ID 45"} 
[2026-08-22 18:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575545088001,"power":27626,"unknown_234":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":-9183754409118545920}} 
[2026-08-22 18:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":159976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:47:27] local.INFO: GPS data processed {"connection_id":159976,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:47:27] local.INFO: Acknowledgment sent {"connection_id":159976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:47:29] local.INFO: TCP Data received {"connection_id":161145,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0299dbaf0012d0a2a400724d348001201091e..."} 
[2026-08-22 18:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299dbaf0012d0a2a400724d348001201091e..."} 
[2026-08-22 18:47:29] local.INFO: Processing buffer {"connection_id":161145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299dbaf0012d0a2a400724d348001201091e..."} 
[2026-08-22 18:47:29] local.INFO: Packet analysis {"connection_id":161145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299d"} 
[2026-08-22 18:47:29] local.INFO: Extracted packet for processing {"connection_id":161145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299d"} 
[2026-08-22 18:47:29] local.INFO: GPS Element Parsed {"raw_longitude":755640896,"raw_latitude":119853896,"longitude_deg":75.5640896,"latitude_deg":11.9853896,"altitude":18,"angle":265,"satellites":30,"speed":41,"hex_longitude":"2d0a2a40","hex_latitude":"0724d348","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575576064001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14859444382859264,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":737323732176084992,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:29] 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-22 18:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787404598000,"timestamp_ms":1787404598000,"timestamp_seconds":1787404598,"priority":1,"record_length":96,"hex_timestamp":"000001a0299dbaf0"} 
[2026-08-22 18: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-22 18:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-22 18:47: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-22 18: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-22 18: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-22 18:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:47:29] 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-22 18:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575576064001,"66":14396,"117":206,"83":41984,"24":41,"16":14859444382859264,"45":737323732176084992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 18:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575576064001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:47:29] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 18:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14859444382859264,"km_value":14859444382859.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":737323732176084992,"description":"Unknown IO ID 45"} 
[2026-08-22 18:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575576064001,"power":14396,"unknown_117":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":737323732176084992}} 
[2026-08-22 18:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":161145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:47:29] local.INFO: GPS data processed {"connection_id":161145,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:47:29] local.INFO: Acknowledgment sent {"connection_id":161145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:47:48] local.INFO: TCP Data received {"connection_id":161147,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:47:48] local.INFO: Processing buffer {"connection_id":161147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:47:48] local.INFO: IMEI packet received {"connection_id":161147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":161147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:47:49] local.INFO: TCP Data received {"connection_id":161147,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:47:49] local.INFO: Processing buffer {"connection_id":161147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:47:49] local.INFO: IMEI packet received {"connection_id":161147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":161147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:47:53] local.INFO: TCP Data received {"connection_id":161147,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:47:53] local.INFO: Processing buffer {"connection_id":161147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:47:53] local.INFO: IMEI packet received {"connection_id":161147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":161147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:47:54] local.INFO: TCP Data received {"connection_id":161147,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0299c0d40012d80858005c432b80009015428..."} 
[2026-08-22 18:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299c0d40012d80858005c432b80009015428..."} 
[2026-08-22 18:47:54] local.INFO: Processing buffer {"connection_id":161147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299c0d40012d80858005c432b80009015428..."} 
[2026-08-22 18:47:54] local.INFO: Packet analysis {"connection_id":161147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299c"} 
[2026-08-22 18:47:54] local.INFO: Extracted packet for processing {"connection_id":161147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299c"} 
[2026-08-22 18:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763397504,"raw_latitude":96744120,"longitude_deg":76.3397504,"latitude_deg":9.674412,"altitude":9,"angle":340,"satellites":40,"speed":26,"hex_longitude":"2d808580","hex_latitude":"05c432b8","is_valid_coordinates":true} 
[2026-08-22 18:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575548928001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388998782886346752,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185795102697408512,"note":"Value kept but may cause issues"} 
[2026-08-22 18:47: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-22 18:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787404488000,"timestamp_ms":1787404488000,"timestamp_seconds":1787404488,"priority":1,"record_length":96,"hex_timestamp":"000001a0299c0d40"} 
[2026-08-22 18:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:47: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-22 18:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-22 18:47:54] 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-22 18:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:47: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-22 18:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575548928001,"66":27626,"234":206,"85":12288,"24":26,"16":388998782886346752,"45":-9185795102697408512},"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-22 18:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575548928001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:47:54] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-22 18:47:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388998782886346752,"km_value":388998782886346.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185795102697408512,"description":"Unknown IO ID 45"} 
[2026-08-22 18:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575548928001,"power":27626,"unknown_234":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":-9185795102697408512}} 
[2026-08-22 18:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":161147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:47:54] local.INFO: GPS data processed {"connection_id":161147,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:47:54] local.INFO: Acknowledgment sent {"connection_id":161147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:47:54] local.INFO: TCP Data received {"connection_id":162563,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:47:54] local.INFO: Processing buffer {"connection_id":162563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:47:54] local.INFO: IMEI packet received {"connection_id":162563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":162563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:47:57] local.INFO: TCP Data received {"connection_id":162563,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:47:57] local.INFO: Processing buffer {"connection_id":162563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:47:57] local.INFO: IMEI packet received {"connection_id":162563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":162563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:48:00] local.INFO: TCP Data received {"connection_id":159977,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:48:00] local.INFO: Processing buffer {"connection_id":159977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:48:00] local.INFO: IMEI packet received {"connection_id":159977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":159977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:48:00] local.INFO: TCP Data received {"connection_id":159977,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:48:00] local.INFO: Processing buffer {"connection_id":159977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:48:00] local.INFO: IMEI packet received {"connection_id":159977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":159977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:48:02] local.INFO: TCP Data received {"connection_id":162563,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:48:02] local.INFO: Processing buffer {"connection_id":162563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:48:02] local.INFO: IMEI packet received {"connection_id":162563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":162563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:48:03] local.INFO: TCP Data received {"connection_id":162563,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0299dc2c0012d0a22800724d150001200fb1e..."} 
[2026-08-22 18:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299dc2c0012d0a22800724d150001200fb1e..."} 
[2026-08-22 18:48:03] local.INFO: Processing buffer {"connection_id":162563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299dc2c0012d0a22800724d150001200fb1e..."} 
[2026-08-22 18:48:03] local.INFO: Packet analysis {"connection_id":162563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299d"} 
[2026-08-22 18:48:03] local.INFO: Extracted packet for processing {"connection_id":162563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299d"} 
[2026-08-22 18:48:03] local.INFO: GPS Element Parsed {"raw_longitude":755638912,"raw_latitude":119853392,"longitude_deg":75.5638912,"latitude_deg":11.9853392,"altitude":18,"angle":251,"satellites":30,"speed":39,"hex_longitude":"2d0a2280","hex_latitude":"0724d150","is_valid_coordinates":true} 
[2026-08-22 18:48: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-22 18:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575577088001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14859538872139776,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":732468288827901952,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:03] 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-22 18:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787404600000,"timestamp_ms":1787404600000,"timestamp_seconds":1787404600,"priority":1,"record_length":96,"hex_timestamp":"000001a0299dc2c0"} 
[2026-08-22 18:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:48: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-22 18:48: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-22 18:48: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-22 18:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:48:03] 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-22 18:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575577088001,"66":14428,"117":206,"83":41984,"24":39,"16":14859538872139776,"45":732468288827901952},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 18:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575577088001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:48:03] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 18:48:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14859538872139776,"km_value":14859538872139.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":732468288827901952,"description":"Unknown IO ID 45"} 
[2026-08-22 18:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575577088001,"power":14428,"unknown_117":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":732468288827901952}} 
[2026-08-22 18:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":162563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:48:03] local.INFO: GPS data processed {"connection_id":162563,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:48:03] local.INFO: Acknowledgment sent {"connection_id":162563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:48:03] local.INFO: TCP Data received {"connection_id":159977,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:48:03] local.INFO: Processing buffer {"connection_id":159977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:48:03] local.INFO: IMEI packet received {"connection_id":159977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":159977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:48:04] local.INFO: TCP Data received {"connection_id":159977,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0299ea168012d82864005d8c808000d00ae16..."} 
[2026-08-22 18:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299ea168012d82864005d8c808000d00ae16..."} 
[2026-08-22 18:48:04] local.INFO: Processing buffer {"connection_id":159977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299ea168012d82864005d8c808000d00ae16..."} 
[2026-08-22 18:48:04] local.INFO: Packet analysis {"connection_id":159977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:48:04] local.INFO: Extracted packet for processing {"connection_id":159977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763528768,"raw_latitude":98093064,"longitude_deg":76.3528768,"latitude_deg":9.8093064,"altitude":13,"angle":174,"satellites":22,"speed":28,"hex_longitude":"2d828640","hex_latitude":"05d8c808","is_valid_coordinates":true} 
[2026-08-22 18:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575588608001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122333600736608256,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042102126738950144,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:04] 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-22 18:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787404657000,"timestamp_ms":1787404657000,"timestamp_seconds":1787404657,"priority":1,"record_length":96,"hex_timestamp":"000001a0299ea168"} 
[2026-08-22 18:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:48:04] 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-22 18:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-22 18:48:04] 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-22 18:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:48:04] 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-22 18:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575588608001,"66":13243,"49":206,"85":15104,"24":28,"16":122333600736608256,"45":-9042102126738950144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-22 18:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575588608001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:48:04] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-22 18:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122333600736608256,"km_value":122333600736608.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042102126738950144,"description":"Unknown IO ID 45"} 
[2026-08-22 18:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575588608001,"power":13243,"unknown_49":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9042102126738950144}} 
[2026-08-22 18:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":159977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:48:04] local.INFO: GPS data processed {"connection_id":159977,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:48:04] local.INFO: Acknowledgment sent {"connection_id":159977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:48:06] local.INFO: TCP Data received {"connection_id":162563,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0299dd260012d0a15000724ca20001200ef1d..."} 
[2026-08-22 18:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299dd260012d0a15000724ca20001200ef1d..."} 
[2026-08-22 18:48:06] local.INFO: Processing buffer {"connection_id":162563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299dd260012d0a15000724ca20001200ef1d..."} 
[2026-08-22 18:48:06] local.INFO: Packet analysis {"connection_id":162563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299d"} 
[2026-08-22 18:48:06] local.INFO: Extracted packet for processing {"connection_id":162563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299d"} 
[2026-08-22 18:48:06] local.INFO: GPS Element Parsed {"raw_longitude":755635456,"raw_latitude":119851552,"longitude_deg":75.5635456,"latitude_deg":11.9851552,"altitude":18,"angle":239,"satellites":29,"speed":39,"hex_longitude":"2d0a1500","hex_latitude":"0724ca20","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575577600001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14859727850700800,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":730286857758265344,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:06] 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-22 18:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787404604000,"timestamp_ms":1787404604000,"timestamp_seconds":1787404604,"priority":1,"record_length":96,"hex_timestamp":"000001a0299dd260"} 
[2026-08-22 18: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-22 18:48:06] 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-22 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 18:48: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-22 18: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-22 18: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-22 18:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:48:06] 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-22 18:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575577600001,"66":14428,"117":206,"83":41984,"24":39,"16":14859727850700800,"45":730286857758265344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 18:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575577600001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:48:06] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 18:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 18:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14859727850700800,"km_value":14859727850700.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":730286857758265344,"description":"Unknown IO ID 45"} 
[2026-08-22 18:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575577600001,"power":14428,"unknown_117":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":730286857758265344}} 
[2026-08-22 18:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":162563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:48:06] local.INFO: GPS data processed {"connection_id":162563,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:48:06] local.INFO: Acknowledgment sent {"connection_id":162563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:48:26] local.INFO: TCP Data received {"connection_id":161147,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0299e6ea0012d7feb8005c51a30000b014225..."} 
[2026-08-22 18:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299e6ea0012d7feb8005c51a30000b014225..."} 
[2026-08-22 18:48:26] local.INFO: Processing buffer {"connection_id":161147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299e6ea0012d7feb8005c51a30000b014225..."} 
[2026-08-22 18:48:26] local.INFO: Packet analysis {"connection_id":161147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:48:26] local.INFO: Extracted packet for processing {"connection_id":161147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:48:26] local.INFO: GPS Element Parsed {"raw_longitude":763358080,"raw_latitude":96803376,"longitude_deg":76.335808,"latitude_deg":9.6803376,"altitude":11,"angle":322,"satellites":37,"speed":31,"hex_longitude":"2d7feb80","hex_latitude":"05c51a30","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575585280001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389002244629987328,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9223020168354144256,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48: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-22 18:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787404644000,"timestamp_ms":1787404644000,"timestamp_seconds":1787404644,"priority":1,"record_length":96,"hex_timestamp":"000001a0299e6ea0"} 
[2026-08-22 18: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-22 18:48: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-22 18: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-22 18:48:26] 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-22 18: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-22 18: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-22 18:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:48: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-22 18:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575585280001,"66":27593,"98":206,"85":12288,"24":31,"16":389002244629987328,"45":-9223020168354144256},"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-22 18:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575585280001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:48:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 18:48:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389002244629987328,"km_value":389002244629987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9223020168354144256,"description":"Unknown IO ID 45"} 
[2026-08-22 18:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575585280001,"power":27593,"unknown_98":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":-9223020168354144256}} 
[2026-08-22 18:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":161147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:48:26] local.INFO: GPS data processed {"connection_id":161147,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:48:26] local.INFO: Acknowledgment sent {"connection_id":161147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:48:35] local.INFO: TCP Data received {"connection_id":159977,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0299ed430012d82874005d8a430000e00b516..."} 
[2026-08-22 18:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299ed430012d82874005d8a430000e00b516..."} 
[2026-08-22 18:48:35] local.INFO: Processing buffer {"connection_id":159977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299ed430012d82874005d8a430000e00b516..."} 
[2026-08-22 18:48:35] local.INFO: Packet analysis {"connection_id":159977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:48:35] local.INFO: Extracted packet for processing {"connection_id":159977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:48:35] local.INFO: GPS Element Parsed {"raw_longitude":763529024,"raw_latitude":98083888,"longitude_deg":76.3529024,"latitude_deg":9.8083888,"altitude":14,"angle":181,"satellites":22,"speed":31,"hex_longitude":"2d828740","hex_latitude":"05d8a430","is_valid_coordinates":true} 
[2026-08-22 18:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575592192001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122334043118239744,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041468808043689984,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:35] 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-22 18:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787404670000,"timestamp_ms":1787404670000,"timestamp_seconds":1787404670,"priority":1,"record_length":96,"hex_timestamp":"000001a0299ed430"} 
[2026-08-22 18:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:48:35] 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-22 18:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-22 18:48:35] 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-22 18:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:48: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-22 18:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575592192001,"66":13178,"49":206,"85":15104,"24":31,"16":122334043118239744,"45":-9041468808043689984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-22 18:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575592192001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:48:35] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-22 18:48:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122334043118239744,"km_value":122334043118239.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041468808043689984,"description":"Unknown IO ID 45"} 
[2026-08-22 18:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575592192001,"power":13178,"unknown_49":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9041468808043689984}} 
[2026-08-22 18:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":159977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:48:35] local.INFO: GPS data processed {"connection_id":159977,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:48:35] local.INFO: Acknowledgment sent {"connection_id":159977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:48:37] local.INFO: TCP Data received {"connection_id":162563,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0299edfe8012d09560007245600001500f91b..."} 
[2026-08-22 18:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299edfe8012d09560007245600001500f91b..."} 
[2026-08-22 18:48:37] local.INFO: Processing buffer {"connection_id":162563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299edfe8012d09560007245600001500f91b..."} 
[2026-08-22 18:48:37] local.INFO: Packet analysis {"connection_id":162563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:48:37] local.INFO: Extracted packet for processing {"connection_id":162563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:48:37] local.INFO: GPS Element Parsed {"raw_longitude":755586560,"raw_latitude":119821824,"longitude_deg":75.558656,"latitude_deg":11.9821824,"altitude":21,"angle":249,"satellites":27,"speed":29,"hex_longitude":"2d095600","hex_latitude":"07245600","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575595776001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14862678493233152,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":674202968640751616,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:37] 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-22 18:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787404673000,"timestamp_ms":1787404673000,"timestamp_seconds":1787404673,"priority":1,"record_length":96,"hex_timestamp":"000001a0299edfe8"} 
[2026-08-22 18: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-22 18:48:37] 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-22 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-22 18:48:37] 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-22 18: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-22 18: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-22 18:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:48: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-22 18:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575595776001,"66":14428,"231":206,"83":44288,"24":29,"16":14862678493233152,"45":674202968640751616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-08-22 18:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575595776001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:48:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-22 18:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14862678493233152,"km_value":14862678493233.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":674202968640751616,"description":"Unknown IO ID 45"} 
[2026-08-22 18:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575595776001,"power":14428,"unknown_231":206,"unknown_83":44288,"ignition":29,"odometer":null,"unknown_45":674202968640751616}} 
[2026-08-22 18:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":162563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:48:37] local.INFO: GPS data processed {"connection_id":162563,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:48:37] local.INFO: Acknowledgment sent {"connection_id":162563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:48:49] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:48:49] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:48:49] local.INFO: IMEI packet received {"connection_id":159978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":159978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:48:51] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:48:51] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:48:51] local.INFO: IMEI packet received {"connection_id":160204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":160204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:48:52] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:48:52] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:48:52] local.INFO: IMEI packet received {"connection_id":160204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":160204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:48:53] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:48:53] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:48:53] local.INFO: IMEI packet received {"connection_id":160204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":160204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:48:54] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:48:54] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:48:54] local.INFO: IMEI packet received {"connection_id":159978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":159978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:48:54] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0299ec0a8012d7fd60005c53778000a014228..."} 
[2026-08-22 18:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299ec0a8012d7fd60005c53778000a014228..."} 
[2026-08-22 18:48:54] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299ec0a8012d7fd60005c53778000a014228..."} 
[2026-08-22 18:48:54] local.INFO: Packet analysis {"connection_id":159978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:48:54] local.INFO: Extracted packet for processing {"connection_id":159978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763352576,"raw_latitude":96810872,"longitude_deg":76.3352576,"latitude_deg":9.6810872,"altitude":10,"angle":322,"satellites":40,"speed":25,"hex_longitude":"2d7fd600","hex_latitude":"05c53778","is_valid_coordinates":true} 
[2026-08-22 18:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575588864001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389002695601553408,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217601824613871616,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:54] 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-22 18:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787404665000,"timestamp_ms":1787404665000,"timestamp_seconds":1787404665,"priority":1,"record_length":96,"hex_timestamp":"000001a0299ec0a8"} 
[2026-08-22 18:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:48: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-22 18:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-22 18:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:48: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-22 18:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575588864001,"66":27691,"98":206,"85":12288,"24":25,"16":389002695601553408,"45":9217601824613871616},"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-22 18:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575588864001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:48:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 18:48:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389002695601553408,"km_value":389002695601553.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217601824613871616,"description":"Unknown IO ID 45"} 
[2026-08-22 18:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575588864001,"power":27691,"unknown_98":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9217601824613871616}} 
[2026-08-22 18:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":159978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:48:54] local.INFO: GPS data processed {"connection_id":159978,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:48:54] local.INFO: Acknowledgment sent {"connection_id":159978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:48:55] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0299eef88012d094a40072453200015010d1c..."} 
[2026-08-22 18:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299eef88012d094a40072453200015010d1c..."} 
[2026-08-22 18:48:55] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299eef88012d094a40072453200015010d1c..."} 
[2026-08-22 18:48:55] local.INFO: Packet analysis {"connection_id":160204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:48:55] local.INFO: Extracted packet for processing {"connection_id":160204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:48:55] local.INFO: GPS Element Parsed {"raw_longitude":755583552,"raw_latitude":119821088,"longitude_deg":75.5583552,"latitude_deg":11.9821088,"altitude":21,"angle":269,"satellites":28,"speed":30,"hex_longitude":"2d094a40","hex_latitude":"07245320","is_valid_coordinates":true} 
[2026-08-22 18:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575596288001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14862828817088512,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":672725225012854784,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:55] 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-22 18:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787404677000,"timestamp_ms":1787404677000,"timestamp_seconds":1787404677,"priority":1,"record_length":96,"hex_timestamp":"000001a0299eef88"} 
[2026-08-22 18:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 18:48:55] 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-22 18:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:48:55] 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-22 18:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575596288001,"66":14494,"231":206,"83":44288,"24":30,"16":14862828817088512,"45":672725225012854784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-08-22 18:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575596288001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:48:55] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-22 18:48:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14862828817088512,"km_value":14862828817088.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":672725225012854784,"description":"Unknown IO ID 45"} 
[2026-08-22 18:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575596288001,"power":14494,"unknown_231":206,"unknown_83":44288,"ignition":30,"odometer":null,"unknown_45":672725225012854784}} 
[2026-08-22 18:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":160204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:48:55] local.INFO: GPS data processed {"connection_id":160204,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:48:55] local.INFO: Acknowledgment sent {"connection_id":160204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:48:59] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0299ec0a8012d7fd60005c53778000a014228..."} 
[2026-08-22 18:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299ec0a8012d7fd60005c53778000a014228..."} 
[2026-08-22 18:48:59] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299ec0a8012d7fd60005c53778000a014228..."} 
[2026-08-22 18:48:59] local.INFO: Packet analysis {"connection_id":159978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:48:59] local.INFO: Extracted packet for processing {"connection_id":159978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763352576,"raw_latitude":96810872,"longitude_deg":76.3352576,"latitude_deg":9.6810872,"altitude":10,"angle":322,"satellites":40,"speed":25,"hex_longitude":"2d7fd600","hex_latitude":"05c53778","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575594240001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389002695601553408,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211550112616511488,"note":"Value kept but may cause issues"} 
[2026-08-22 18:48:59] 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-22 18:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787404665000,"timestamp_ms":1787404665000,"timestamp_seconds":1787404665,"priority":1,"record_length":96,"hex_timestamp":"000001a0299ec0a8"} 
[2026-08-22 18: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-22 18: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-22 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-22 18:48:59] 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-22 18: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-22 18: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-22 18:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:48: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-22 18:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575594240001,"66":27691,"98":206,"85":12288,"24":25,"16":389002695601553408,"45":9211550112616511488},"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-22 18:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575594240001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:48:59] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 18:48:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389002695601553408,"km_value":389002695601553.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211550112616511488,"description":"Unknown IO ID 45"} 
[2026-08-22 18:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575594240001,"power":27691,"unknown_98":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9211550112616511488}} 
[2026-08-22 18:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":159978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:48:59] local.INFO: GPS data processed {"connection_id":159978,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:48:59] local.INFO: Acknowledgment sent {"connection_id":159978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:49:00] local.INFO: TCP Data received {"connection_id":161148,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:49:00] local.INFO: Processing buffer {"connection_id":161148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:49:00] local.INFO: IMEI packet received {"connection_id":161148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":161148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:49:05] local.INFO: TCP Data received {"connection_id":161148,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:49:05] local.INFO: Processing buffer {"connection_id":161148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:49:05] local.INFO: IMEI packet received {"connection_id":161148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":161148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:49:06] local.INFO: TCP Data received {"connection_id":161148,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0299ef370012d82888005d88ee8000c00a916..."} 
[2026-08-22 18:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299ef370012d82888005d88ee8000c00a916..."} 
[2026-08-22 18:49:06] local.INFO: Processing buffer {"connection_id":161148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299ef370012d82888005d88ee8000c00a916..."} 
[2026-08-22 18:49:06] local.INFO: Packet analysis {"connection_id":161148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:49:06] local.INFO: Extracted packet for processing {"connection_id":161148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763529344,"raw_latitude":98078440,"longitude_deg":76.3529344,"latitude_deg":9.807844,"altitude":12,"angle":169,"satellites":22,"speed":25,"hex_longitude":"2d828880","hex_latitude":"05d88ee8","is_valid_coordinates":true} 
[2026-08-22 18:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575595520001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122334309406212096,"note":"Value kept but may cause issues"} 
[2026-08-22 18:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041187333069328384,"note":"Value kept but may cause issues"} 
[2026-08-22 18:49:06] 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-22 18:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787404678000,"timestamp_ms":1787404678000,"timestamp_seconds":1787404678,"priority":1,"record_length":96,"hex_timestamp":"000001a0299ef370"} 
[2026-08-22 18:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:49:06] 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-22 18:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-22 18:49:06] 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-22 18:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:49:06] 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-22 18:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575595520001,"66":13048,"49":206,"85":15104,"24":25,"16":122334309406212096,"45":-9041187333069328384},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-22 18:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575595520001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:49:06] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-22 18:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122334309406212096,"km_value":122334309406212.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041187333069328384,"description":"Unknown IO ID 45"} 
[2026-08-22 18:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575595520001,"power":13048,"unknown_49":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9041187333069328384}} 
[2026-08-22 18:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":161148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:49:06] local.INFO: GPS data processed {"connection_id":161148,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:49:06] local.INFO: Acknowledgment sent {"connection_id":161148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:49:30] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0299f0ec8012d7fc08005c55470000901442a..."} 
[2026-08-22 18:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299f0ec8012d7fc08005c55470000901442a..."} 
[2026-08-22 18:49:30] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299f0ec8012d7fc08005c55470000901442a..."} 
[2026-08-22 18:49:30] local.INFO: Packet analysis {"connection_id":159978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299f"} 
[2026-08-22 18:49:30] local.INFO: Extracted packet for processing {"connection_id":159978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299f"} 
[2026-08-22 18:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763347072,"raw_latitude":96818288,"longitude_deg":76.3347072,"latitude_deg":9.6818288,"altitude":9,"angle":324,"satellites":42,"speed":14,"hex_longitude":"2d7fc080","hex_latitude":"05c55470","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575594240001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389003142278152192,"note":"Value kept but may cause issues"} 
[2026-08-22 18:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211550112616511488,"note":"Value kept but may cause issues"} 
[2026-08-22 18:49:30] 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-22 18:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787404685000,"timestamp_ms":1787404685000,"timestamp_seconds":1787404685,"priority":1,"record_length":96,"hex_timestamp":"000001a0299f0ec8"} 
[2026-08-22 18: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-22 18:49: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-22 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-22 18:49: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-22 18: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-22 18: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-22 18:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:49: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-22 18:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575594240001,"66":27767,"98":206,"85":12288,"24":14,"16":389003142278152192,"45":9211550112616511488},"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-22 18:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575594240001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:49:30] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 18:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389003142278152192,"km_value":389003142278152.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211550112616511488,"description":"Unknown IO ID 45"} 
[2026-08-22 18:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575594240001,"power":27767,"unknown_98":206,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":9211550112616511488}} 
[2026-08-22 18:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":159978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:49:30] local.INFO: GPS data processed {"connection_id":159978,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:49:30] local.INFO: Acknowledgment sent {"connection_id":159978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:49:32] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0299ef370012d09474007245388001501191b..."} 
[2026-08-22 18:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299ef370012d09474007245388001501191b..."} 
[2026-08-22 18:49:32] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299ef370012d09474007245388001501191b..."} 
[2026-08-22 18:49:32] local.INFO: Packet analysis {"connection_id":160204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:49:32] local.INFO: Extracted packet for processing {"connection_id":160204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:49:32] local.INFO: GPS Element Parsed {"raw_longitude":755582784,"raw_latitude":119821192,"longitude_deg":75.5582784,"latitude_deg":11.9821192,"altitude":21,"angle":281,"satellites":27,"speed":29,"hex_longitude":"2d094740","hex_latitude":"07245388","is_valid_coordinates":true} 
[2026-08-22 18:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575597312001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14862863176826880,"note":"Value kept but may cause issues"} 
[2026-08-22 18:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":669417894036316160,"note":"Value kept but may cause issues"} 
[2026-08-22 18:49:32] 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-22 18:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787404678000,"timestamp_ms":1787404678000,"timestamp_seconds":1787404678,"priority":1,"record_length":96,"hex_timestamp":"000001a0299ef370"} 
[2026-08-22 18:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:49:32] 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-22 18:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-22 18:49:32] 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-22 18:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:49:32] 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-22 18:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575597312001,"66":14494,"231":206,"83":44288,"24":29,"16":14862863176826880,"45":669417894036316160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-08-22 18:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575597312001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:49:32] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-22 18:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14862863176826880,"km_value":14862863176826.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":669417894036316160,"description":"Unknown IO ID 45"} 
[2026-08-22 18:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575597312001,"power":14494,"unknown_231":206,"unknown_83":44288,"ignition":29,"odometer":null,"unknown_45":669417894036316160}} 
[2026-08-22 18:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":160204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:49:32] local.INFO: GPS data processed {"connection_id":160204,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:49:32] local.INFO: Acknowledgment sent {"connection_id":160204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:49:37] local.INFO: TCP Data received {"connection_id":161148,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0299eff28012d828b4005d88658000c009d16..."} 
[2026-08-22 18:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299eff28012d828b4005d88658000c009d16..."} 
[2026-08-22 18:49:37] local.INFO: Processing buffer {"connection_id":161148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299eff28012d828b4005d88658000c009d16..."} 
[2026-08-22 18:49:37] local.INFO: Packet analysis {"connection_id":161148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:49:37] local.INFO: Extracted packet for processing {"connection_id":161148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299e"} 
[2026-08-22 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763530048,"raw_latitude":98076248,"longitude_deg":76.3530048,"latitude_deg":9.8076248,"altitude":12,"angle":157,"satellites":22,"speed":33,"hex_longitude":"2d828b40","hex_latitude":"05d88658","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575597568001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122334421075361792,"note":"Value kept but may cause issues"} 
[2026-08-22 18:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040835489349834752,"note":"Value kept but may cause issues"} 
[2026-08-22 18:49:37] 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-22 18:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787404681000,"timestamp_ms":1787404681000,"timestamp_seconds":1787404681,"priority":1,"record_length":96,"hex_timestamp":"000001a0299eff28"} 
[2026-08-22 18: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-22 18:49:37] 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-22 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-22 18:49:37] 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-22 18: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-22 18: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-22 18:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:49:37] 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-22 18:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575597568001,"66":12939,"49":206,"85":15104,"24":33,"16":122334421075361792,"45":-9040835489349834752},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-22 18:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575597568001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:49:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-22 18:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122334421075361792,"km_value":122334421075361.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040835489349834752,"description":"Unknown IO ID 45"} 
[2026-08-22 18:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575597568001,"power":12939,"unknown_49":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9040835489349834752}} 
[2026-08-22 18:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":161148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:49:37] local.INFO: GPS data processed {"connection_id":161148,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:49:37] local.INFO: Acknowledgment sent {"connection_id":161148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:49:48] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:49:48] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:49:48] local.INFO: IMEI packet received {"connection_id":159979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":159979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:49:52] local.INFO: TCP Data received {"connection_id":162564,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:49:52] local.INFO: Processing buffer {"connection_id":162564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:49:52] local.INFO: IMEI packet received {"connection_id":162564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":162564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:49:57] local.INFO: TCP Data received {"connection_id":162564,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:49:57] local.INFO: Processing buffer {"connection_id":162564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:49:57] local.INFO: IMEI packet received {"connection_id":162564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":162564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:49:58] local.INFO: TCP Data received {"connection_id":162564,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0299fca48012d08c80007247860002301191a..."} 
[2026-08-22 18:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299fca48012d08c80007247860002301191a..."} 
[2026-08-22 18:49:58] local.INFO: Processing buffer {"connection_id":162564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299fca48012d08c80007247860002301191a..."} 
[2026-08-22 18:49:58] local.INFO: Packet analysis {"connection_id":162564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299f"} 
[2026-08-22 18:49:58] local.INFO: Extracted packet for processing {"connection_id":162564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299f"} 
[2026-08-22 18:49:58] local.INFO: GPS Element Parsed {"raw_longitude":755550208,"raw_latitude":119830624,"longitude_deg":75.5550208,"latitude_deg":11.9830624,"altitude":35,"angle":281,"satellites":26,"speed":29,"hex_longitude":"2d08c800","hex_latitude":"07247860","is_valid_coordinates":true} 
[2026-08-22 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-22 18:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575611136001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14864662768123904,"note":"Value kept but may cause issues"} 
[2026-08-22 18:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":634444628182435840,"note":"Value kept but may cause issues"} 
[2026-08-22 18:49:58] 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-22 18:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787404733000,"timestamp_ms":1787404733000,"timestamp_seconds":1787404733,"priority":1,"record_length":96,"hex_timestamp":"000001a0299fca48"} 
[2026-08-22 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-22 18:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-22 18:49:58] 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-22 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-22 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-22 18:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:49: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-22 18:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575611136001,"66":13993,"128":206,"83":44288,"24":29,"16":14864662768123904,"45":634444628182435840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-08-22 18:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575611136001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:49:58] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-22 18:49:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14864662768123904,"km_value":14864662768123.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":634444628182435840,"description":"Unknown IO ID 45"} 
[2026-08-22 18:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575611136001,"power":13993,"unknown_128":206,"unknown_83":44288,"ignition":29,"odometer":null,"unknown_45":634444628182435840}} 
[2026-08-22 18:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":162564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:49:59] local.INFO: GPS data processed {"connection_id":162564,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:49:59] local.INFO: Acknowledgment sent {"connection_id":162564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:49:59] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:49:59] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:49:59] local.INFO: IMEI packet received {"connection_id":159979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":159979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:50:00] local.INFO: TCP Data received {"connection_id":160205,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:50:00] local.INFO: Processing buffer {"connection_id":160205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:50:00] local.INFO: IMEI packet received {"connection_id":160205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":160205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:50:01] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0299f5130012d7fac0005c57098000b01442a..."} 
[2026-08-22 18:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299f5130012d7fac0005c57098000b01442a..."} 
[2026-08-22 18:50:01] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299f5130012d7fac0005c57098000b01442a..."} 
[2026-08-22 18:50:01] local.INFO: Packet analysis {"connection_id":159979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299f"} 
[2026-08-22 18:50:01] local.INFO: Extracted packet for processing {"connection_id":159979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299f"} 
[2026-08-22 18:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763341824,"raw_latitude":96825496,"longitude_deg":76.3341824,"latitude_deg":9.6825496,"altitude":11,"angle":324,"satellites":42,"speed":27,"hex_longitude":"2d7fac00","hex_latitude":"05c57098","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575599360001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389003571774881792,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9205498400619130880,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787404702000,"timestamp_ms":1787404702000,"timestamp_seconds":1787404702,"priority":1,"record_length":96,"hex_timestamp":"000001a0299f5130"} 
[2026-08-22 18: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-22 18:50: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-22 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 18:50: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-22 18: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-22 18: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-22 18:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:50: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-22 18:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575599360001,"66":27615,"89":206,"85":12288,"24":27,"16":389003571774881792,"45":9205498400619130880},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-22 18:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575599360001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:50:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-22 18:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389003571774881792,"km_value":389003571774881.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9205498400619130880,"description":"Unknown IO ID 45"} 
[2026-08-22 18:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575599360001,"power":27615,"unknown_89":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9205498400619130880}} 
[2026-08-22 18:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":159979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:50:01] local.INFO: GPS data processed {"connection_id":159979,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:50:01] local.INFO: Acknowledgment sent {"connection_id":159979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:50:05] local.INFO: TCP Data received {"connection_id":160205,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:50:05] local.INFO: Processing buffer {"connection_id":160205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:50:05] local.INFO: IMEI packet received {"connection_id":160205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":160205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:50:06] local.INFO: TCP Data received {"connection_id":160205,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0299f2638012d8299c005d86320000b00a816..."} 
[2026-08-22 18:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299f2638012d8299c005d86320000b00a816..."} 
[2026-08-22 18:50:06] local.INFO: Processing buffer {"connection_id":160205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299f2638012d8299c005d86320000b00a816..."} 
[2026-08-22 18:50:06] local.INFO: Packet analysis {"connection_id":160205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299f"} 
[2026-08-22 18:50:06] local.INFO: Extracted packet for processing {"connection_id":160205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299f"} 
[2026-08-22 18:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763533760,"raw_latitude":98067232,"longitude_deg":76.353376,"latitude_deg":9.8067232,"altitude":11,"angle":168,"satellites":22,"speed":39,"hex_longitude":"2d8299c0","hex_latitude":"05d86320","is_valid_coordinates":true} 
[2026-08-22 18:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575598336001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122334893521764352,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040061433164441600,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:06] 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-22 18:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787404691000,"timestamp_ms":1787404691000,"timestamp_seconds":1787404691,"priority":1,"record_length":96,"hex_timestamp":"000001a0299f2638"} 
[2026-08-22 18:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:50:06] 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-22 18:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 18:50:06] 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-22 18:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:50:06] 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-22 18:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575598336001,"66":12885,"49":206,"85":15104,"24":39,"16":122334893521764352,"45":-9040061433164441600},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-22 18:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575598336001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:50:06] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-22 18:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122334893521764352,"km_value":122334893521764.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040061433164441600,"description":"Unknown IO ID 45"} 
[2026-08-22 18:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575598336001,"power":12885,"unknown_49":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9040061433164441600}} 
[2026-08-22 18:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":160205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:50:06] local.INFO: GPS data processed {"connection_id":160205,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:50:06] local.INFO: Acknowledgment sent {"connection_id":160205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:50:29] local.INFO: TCP Data received {"connection_id":162564,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0299fd9e8012d08bd4007247c50002301271b..."} 
[2026-08-22 18:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299fd9e8012d08bd4007247c50002301271b..."} 
[2026-08-22 18:50:29] local.INFO: Processing buffer {"connection_id":162564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299fd9e8012d08bd4007247c50002301271b..."} 
[2026-08-22 18:50:29] local.INFO: Packet analysis {"connection_id":162564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299f"} 
[2026-08-22 18:50:29] local.INFO: Extracted packet for processing {"connection_id":162564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299f"} 
[2026-08-22 18:50:29] local.INFO: GPS Element Parsed {"raw_longitude":755547456,"raw_latitude":119831632,"longitude_deg":75.5547456,"latitude_deg":11.9831632,"altitude":35,"angle":295,"satellites":27,"speed":27,"hex_longitude":"2d08bd40","hex_latitude":"07247c50","is_valid_coordinates":true} 
[2026-08-22 18:50: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-22 18:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575611648001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14864800207077376,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":632755778322194432,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:29] 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-22 18:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787404737000,"timestamp_ms":1787404737000,"timestamp_seconds":1787404737,"priority":1,"record_length":96,"hex_timestamp":"000001a0299fd9e8"} 
[2026-08-22 18:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:50: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-22 18:50: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-22 18:50: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-22 18:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:50:29] 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-22 18:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575611648001,"66":13993,"128":206,"83":44288,"24":27,"16":14864800207077376,"45":632755778322194432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-08-22 18:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575611648001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:50:29] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-22 18:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14864800207077376,"km_value":14864800207077.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":632755778322194432,"description":"Unknown IO ID 45"} 
[2026-08-22 18:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575611648001,"power":13993,"unknown_128":206,"unknown_83":44288,"ignition":27,"odometer":null,"unknown_45":632755778322194432}} 
[2026-08-22 18:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":162564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:50:30] local.INFO: GPS data processed {"connection_id":162564,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:50:30] local.INFO: Acknowledgment sent {"connection_id":162564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:50:33] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029a03b90012d7f95c005c5b630000b005f2c..."} 
[2026-08-22 18:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a03b90012d7f95c005c5b630000b005f2c..."} 
[2026-08-22 18:50:33] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a03b90012d7f95c005c5b630000b005f2c..."} 
[2026-08-22 18:50:33] local.INFO: Packet analysis {"connection_id":159979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:50:33] local.INFO: Extracted packet for processing {"connection_id":159979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":96843312,"longitude_deg":76.3336128,"latitude_deg":9.6843312,"altitude":11,"angle":95,"satellites":44,"speed":16,"hex_longitude":"2d7f95c0","hex_latitude":"05c5b630","is_valid_coordinates":true} 
[2026-08-22 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-22 18:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575618560001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389004658401607680,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691289185239040,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:33] 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-22 18:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787404762000,"timestamp_ms":1787404762000,"timestamp_seconds":1787404762,"priority":1,"record_length":96,"hex_timestamp":"000001a029a03b90"} 
[2026-08-22 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-22 18:50: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-22 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-22 18:50:33] 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-22 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-22 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-22 18:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:50: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-22 18:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575618560001,"66":27691,"100":206,"85":12288,"24":16,"16":389004658401607680,"45":9192691289185239040},"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-22 18:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575618560001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:50:33] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-22 18:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389004658401607680,"km_value":389004658401607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691289185239040,"description":"Unknown IO ID 45"} 
[2026-08-22 18:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575618560001,"power":27691,"unknown_100":206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":9192691289185239040}} 
[2026-08-22 18:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":159979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:50:33] local.INFO: GPS data processed {"connection_id":159979,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:50:33] local.INFO: Acknowledgment sent {"connection_id":159979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:50:36] local.INFO: TCP Data received {"connection_id":160205,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0299f2638012d8299c005d86320000b00a816..."} 
[2026-08-22 18:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299f2638012d8299c005d86320000b00a816..."} 
[2026-08-22 18:50:36] local.INFO: Processing buffer {"connection_id":160205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299f2638012d8299c005d86320000b00a816..."} 
[2026-08-22 18:50:36] local.INFO: Packet analysis {"connection_id":160205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299f"} 
[2026-08-22 18:50:36] local.INFO: Extracted packet for processing {"connection_id":160205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299f"} 
[2026-08-22 18:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763533760,"raw_latitude":98067232,"longitude_deg":76.353376,"latitude_deg":9.8067232,"altitude":11,"angle":168,"satellites":22,"speed":39,"hex_longitude":"2d8299c0","hex_latitude":"05d86320","is_valid_coordinates":true} 
[2026-08-22 18:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575600896001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122334893521764352,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035980046004445184,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:36] 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-22 18:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787404691000,"timestamp_ms":1787404691000,"timestamp_seconds":1787404691,"priority":1,"record_length":96,"hex_timestamp":"000001a0299f2638"} 
[2026-08-22 18:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:50:36] 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-22 18:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 18:50:36] 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-22 18:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:50: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-22 18:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575600896001,"66":12885,"49":206,"85":15104,"24":39,"16":122334893521764352,"45":-9035980046004445184},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-22 18:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575600896001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:50:36] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-22 18:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122334893521764352,"km_value":122334893521764.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035980046004445184,"description":"Unknown IO ID 45"} 
[2026-08-22 18:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575600896001,"power":12885,"unknown_49":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9035980046004445184}} 
[2026-08-22 18:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":160205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:50:36] local.INFO: GPS data processed {"connection_id":160205,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:50:36] local.INFO: Acknowledgment sent {"connection_id":160205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:50:52] local.INFO: TCP Data received {"connection_id":159980,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:50:52] local.INFO: Processing buffer {"connection_id":159980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:50:52] local.INFO: IMEI packet received {"connection_id":159980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":159980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:50:53] local.INFO: TCP Data received {"connection_id":159980,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:50:53] local.INFO: Processing buffer {"connection_id":159980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:50:53] local.INFO: IMEI packet received {"connection_id":159980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":159980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:50:57] local.INFO: TCP Data received {"connection_id":159980,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:50:57] local.INFO: Processing buffer {"connection_id":159980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:50:57] local.INFO: IMEI packet received {"connection_id":159980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":159980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:50:59] local.INFO: TCP Data received {"connection_id":159980,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029a000f8012d08b000072484e0002301331d..."} 
[2026-08-22 18:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a000f8012d08b000072484e0002301331d..."} 
[2026-08-22 18:50:59] local.INFO: Processing buffer {"connection_id":159980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a000f8012d08b000072484e0002301331d..."} 
[2026-08-22 18:50:59] local.INFO: Packet analysis {"connection_id":159980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:50:59] local.INFO: Extracted packet for processing {"connection_id":159980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:50:59] local.INFO: GPS Element Parsed {"raw_longitude":755544064,"raw_latitude":119833824,"longitude_deg":75.5544064,"latitude_deg":11.9833824,"altitude":35,"angle":307,"satellites":29,"speed":14,"hex_longitude":"2d08b000","hex_latitude":"072484e0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575612672001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14864997775572992,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":629729922322812928,"note":"Value kept but may cause issues"} 
[2026-08-22 18:50:59] 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-22 18:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787404747000,"timestamp_ms":1787404747000,"timestamp_seconds":1787404747,"priority":1,"record_length":96,"hex_timestamp":"000001a029a000f8"} 
[2026-08-22 18: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-22 18:50: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-22 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-22 18:50:59] 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-22 18: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-22 18: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-22 18:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:50:59] 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-22 18:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575612672001,"66":13993,"128":206,"83":44288,"24":14,"16":14864997775572992,"45":629729922322812928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-08-22 18:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575612672001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:50:59] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-22 18:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14864997775572992,"km_value":14864997775572.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":629729922322812928,"description":"Unknown IO ID 45"} 
[2026-08-22 18:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575612672001,"power":13993,"unknown_128":206,"unknown_83":44288,"ignition":14,"odometer":null,"unknown_45":629729922322812928}} 
[2026-08-22 18:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":159980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:50:59] local.INFO: GPS data processed {"connection_id":159980,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:50:59] local.INFO: Acknowledgment sent {"connection_id":159980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:51:00] local.INFO: TCP Data received {"connection_id":160206,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:51:00] local.INFO: Processing buffer {"connection_id":160206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:51:00] local.INFO: IMEI packet received {"connection_id":160206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":160206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:51:01] local.INFO: TCP Data received {"connection_id":160206,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:51:01] local.INFO: Processing buffer {"connection_id":160206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:51:01] local.INFO: IMEI packet received {"connection_id":160206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":160206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:51:05] local.INFO: TCP Data received {"connection_id":160206,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:51:05] local.INFO: Processing buffer {"connection_id":160206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:51:05] local.INFO: IMEI packet received {"connection_id":160206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":160206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:51:06] local.INFO: TCP Data received {"connection_id":160206,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0299f5518012d829e4005d84078000a00ad16..."} 
[2026-08-22 18:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299f5518012d829e4005d84078000a00ad16..."} 
[2026-08-22 18:51:06] local.INFO: Processing buffer {"connection_id":160206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299f5518012d829e4005d84078000a00ad16..."} 
[2026-08-22 18:51:06] local.INFO: Packet analysis {"connection_id":160206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299f"} 
[2026-08-22 18:51:06] local.INFO: Extracted packet for processing {"connection_id":160206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299f"} 
[2026-08-22 18:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763534912,"raw_latitude":98058360,"longitude_deg":76.3534912,"latitude_deg":9.805836,"altitude":10,"angle":173,"satellites":22,"speed":22,"hex_longitude":"2d829e40","hex_latitude":"05d84078","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575600896001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122335327313461248,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035980046004445184,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51: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-22 18:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787404703000,"timestamp_ms":1787404703000,"timestamp_seconds":1787404703,"priority":1,"record_length":96,"hex_timestamp":"000001a0299f5518"} 
[2026-08-22 18: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-22 18:51:06] 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-22 18: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 18:51:06] 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-22 18: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-22 18: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-22 18:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:51:06] 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-22 18:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575600896001,"66":12037,"47":206,"85":15104,"24":22,"16":122335327313461248,"45":-9035980046004445184},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-22 18:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575600896001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:51:06] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-22 18:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122335327313461248,"km_value":122335327313461.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035980046004445184,"description":"Unknown IO ID 45"} 
[2026-08-22 18:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575600896001,"power":12037,"unknown_47":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9035980046004445184}} 
[2026-08-22 18:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":160206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:51:06] local.INFO: GPS data processed {"connection_id":160206,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:51:06] local.INFO: Acknowledgment sent {"connection_id":160206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:51:30] local.INFO: TCP Data received {"connection_id":161149,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:51:30] local.INFO: Processing buffer {"connection_id":161149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:51:30] local.INFO: IMEI packet received {"connection_id":161149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":161149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:51:30] local.INFO: TCP Data received {"connection_id":159980,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029a033c0012d089ec0072491d8002201401f..."} 
[2026-08-22 18:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a033c0012d089ec0072491d8002201401f..."} 
[2026-08-22 18:51:30] local.INFO: Processing buffer {"connection_id":159980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a033c0012d089ec0072491d8002201401f..."} 
[2026-08-22 18:51:30] local.INFO: Packet analysis {"connection_id":159980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:51:30] local.INFO: Extracted packet for processing {"connection_id":159980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:51:30] local.INFO: GPS Element Parsed {"raw_longitude":755539648,"raw_latitude":119837144,"longitude_deg":75.5539648,"latitude_deg":11.9837144,"altitude":34,"angle":320,"satellites":31,"speed":11,"hex_longitude":"2d089ec0","hex_latitude":"072491d8","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575615232001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14865264063545344,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":626000378881957888,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51: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-22 18:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787404760000,"timestamp_ms":1787404760000,"timestamp_seconds":1787404760,"priority":1,"record_length":96,"hex_timestamp":"000001a029a033c0"} 
[2026-08-22 18: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-22 18:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-22 18:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18: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-22 18: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-22 18:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:51: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-22 18:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575615232001,"66":14004,"128":206,"83":44288,"24":11,"16":14865264063545344,"45":626000378881957888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-08-22 18:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575615232001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:51:30] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-22 18:51:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14865264063545344,"km_value":14865264063545.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":626000378881957888,"description":"Unknown IO ID 45"} 
[2026-08-22 18:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575615232001,"power":14004,"unknown_128":206,"unknown_83":44288,"ignition":11,"odometer":null,"unknown_45":626000378881957888}} 
[2026-08-22 18:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":159980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:51:30] local.INFO: GPS data processed {"connection_id":159980,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:51:30] local.INFO: Acknowledgment sent {"connection_id":159980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:51:37] local.INFO: TCP Data received {"connection_id":160206,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0299f6c88012d829fc005d83770000a00a216..."} 
[2026-08-22 18:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0299f6c88012d829fc005d83770000a00a216..."} 
[2026-08-22 18:51:37] local.INFO: Processing buffer {"connection_id":160206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0299f6c88012d829fc005d83770000a00a216..."} 
[2026-08-22 18:51:37] local.INFO: Packet analysis {"connection_id":160206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0299f"} 
[2026-08-22 18:51:37] local.INFO: Extracted packet for processing {"connection_id":160206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0299f"} 
[2026-08-22 18:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763535296,"raw_latitude":98056048,"longitude_deg":76.3535296,"latitude_deg":9.8056048,"altitude":10,"angle":162,"satellites":22,"speed":9,"hex_longitude":"2d829fc0","hex_latitude":"05d83770","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575603968001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122335443277578240,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034713408611518464,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51: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-22 18:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787404709000,"timestamp_ms":1787404709000,"timestamp_seconds":1787404709,"priority":1,"record_length":96,"hex_timestamp":"000001a0299f6c88"} 
[2026-08-22 18: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-22 18:51:37] 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-22 18: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 18:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2017612633229755392,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2189983749,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:37] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2181038080,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:37] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2666754049,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:37] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2397569036,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6787206999617241112,"corrected_to":0} 
[2026-08-22 18:51:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182122335437056,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2653552640,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2825999969863815658,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195125504,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,47,85,24,241,157,16,159,160,38,45,192,99,11,22,10,66,49,158,255,64,1,240,139,227,41,216,4,113,205,25,212,135,48,239,51,2,178,5,69],"length":484,"final_offset":614,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6787206999617241112,"validated":0}]} 
[2026-08-22 18:51:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720766250381606912,"timestamp_seconds":720766250381606.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 18: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-22 18:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:51:37] 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-22 18:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575603968001,"66":11917,"47":206,"85":15104,"24":9,"16":122335443277578240,"45":-9034713408611518464},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-22 18:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575603968001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:51:37] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-22 18:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122335443277578240,"km_value":122335443277578.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034713408611518464,"description":"Unknown IO ID 45"} 
[2026-08-22 18:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575603968001,"power":11917,"unknown_47":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9034713408611518464}} 
[2026-08-22 18:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":160206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:51:37] local.INFO: GPS data processed {"connection_id":160206,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:51:37] local.INFO: Acknowledgment sent {"connection_id":160206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:51:52] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:51:52] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:51:52] local.INFO: IMEI packet received {"connection_id":160207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":160207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:51:56] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:51:56] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:51:56] local.INFO: IMEI packet received {"connection_id":160207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":160207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:51:58] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029a05ad0012d089c8007249478002000101f..."} 
[2026-08-22 18:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a05ad0012d089c8007249478002000101f..."} 
[2026-08-22 18:51:58] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a05ad0012d089c8007249478002000101f..."} 
[2026-08-22 18:51:58] local.INFO: Packet analysis {"connection_id":160207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:51:58] local.INFO: Extracted packet for processing {"connection_id":160207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:51:58] local.INFO: GPS Element Parsed {"raw_longitude":755539072,"raw_latitude":119837816,"longitude_deg":75.5539072,"latitude_deg":11.9837816,"altitude":32,"angle":16,"satellites":31,"speed":1,"hex_longitude":"2d089c80","hex_latitude":"07249478","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575618560001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14865307013218304,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":621144935534548992,"note":"Value kept but may cause issues"} 
[2026-08-22 18:51:58] 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-22 18:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787404770000,"timestamp_ms":1787404770000,"timestamp_seconds":1787404770,"priority":1,"record_length":96,"hex_timestamp":"000001a029a05ad0"} 
[2026-08-22 18: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-22 18:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-22 18:51:58] 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-22 18: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-22 18: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-22 18:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18: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-22 18:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575618560001,"66":14483,"128":206,"83":44288,"24":1,"16":14865307013218304,"45":621144935534548992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-08-22 18:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575618560001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:51:58] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-22 18:51:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14865307013218304,"km_value":14865307013218.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":621144935534548992,"description":"Unknown IO ID 45"} 
[2026-08-22 18:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575618560001,"power":14483,"unknown_128":206,"unknown_83":44288,"ignition":1,"odometer":null,"unknown_45":621144935534548992}} 
[2026-08-22 18:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":160207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:51:58] local.INFO: GPS data processed {"connection_id":160207,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:51:58] local.INFO: Acknowledgment sent {"connection_id":160207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:51:59] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:51:59] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:51:59] local.INFO: IMEI packet received {"connection_id":159982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":159982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:52:00] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:52:00] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:52:00] local.INFO: IMEI packet received {"connection_id":159981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":159981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:52:02] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:52:02] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:52:02] local.INFO: IMEI packet received {"connection_id":159981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":159981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:52:03] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:52:03] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:52:03] local.INFO: IMEI packet received {"connection_id":159982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":159982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:52:05] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:52:05] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:52:05] local.INFO: IMEI packet received {"connection_id":159981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":159981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:52:06] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a223d8012d82a60005d793b8000d00b019..."} 
[2026-08-22 18:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a223d8012d82a60005d793b8000d00b019..."} 
[2026-08-22 18:52:06] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a223d8012d82a60005d793b8000d00b019..."} 
[2026-08-22 18:52:06] local.INFO: Packet analysis {"connection_id":159981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a2"} 
[2026-08-22 18:52:06] local.INFO: Extracted packet for processing {"connection_id":159981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a2"} 
[2026-08-22 18:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763536896,"raw_latitude":98014136,"longitude_deg":76.3536896,"latitude_deg":9.8014136,"altitude":13,"angle":176,"satellites":25,"speed":23,"hex_longitude":"2d82a600","hex_latitude":"05d793b8","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575647744001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122337483387043840,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033235664992823296,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787404887000,"timestamp_ms":1787404887000,"timestamp_seconds":1787404887,"priority":1,"record_length":96,"hex_timestamp":"000001a029a223d8"} 
[2026-08-22 18: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-22 18:52:06] 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-22 18: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-08-22 18:52:06] 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-22 18: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-22 18: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-22 18:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:52:06] 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-22 18:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575647744001,"66":12156,"155":206,"85":15104,"24":23,"16":122337483387043840,"45":-9033235664992823296},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-22 18:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575647744001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:52:06] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-22 18:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122337483387043840,"km_value":122337483387043.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033235664992823296,"description":"Unknown IO ID 45"} 
[2026-08-22 18:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575647744001,"power":12156,"unknown_155":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9033235664992823296}} 
[2026-08-22 18:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":159981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:52:06] local.INFO: GPS data processed {"connection_id":159981,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:52:06] local.INFO: Acknowledgment sent {"connection_id":159981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:52:07] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029a07a10012d7fbb4005c5b380000b005d2a..."} 
[2026-08-22 18:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a07a10012d7fbb4005c5b380000b005d2a..."} 
[2026-08-22 18:52:07] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a07a10012d7fbb4005c5b380000b005d2a..."} 
[2026-08-22 18:52:07] local.INFO: Packet analysis {"connection_id":159982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:52:07] local.INFO: Extracted packet for processing {"connection_id":159982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763345728,"raw_latitude":96842624,"longitude_deg":76.3345728,"latitude_deg":9.6842624,"altitude":11,"angle":93,"satellites":42,"speed":24,"hex_longitude":"2d7fbb40","hex_latitude":"05c5b380","is_valid_coordinates":true} 
[2026-08-22 18:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575619072001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389005122258075648,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345371156480,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787404778000,"timestamp_ms":1787404778000,"timestamp_seconds":1787404778,"priority":1,"record_length":96,"hex_timestamp":"000001a029a07a10"} 
[2026-08-22 18:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:52: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-22 18:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-22 18:52:07] 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-22 18:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 18:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575619072001,"66":27800,"170":206,"85":12288,"24":24,"16":389005122258075648,"45":9193465345371156480},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-22 18:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575619072001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:52:07] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-22 18:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389005122258075648,"km_value":389005122258075.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345371156480,"description":"Unknown IO ID 45"} 
[2026-08-22 18:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575619072001,"power":27800,"unknown_170":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9193465345371156480}} 
[2026-08-22 18:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":159982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:52:07] local.INFO: GPS data processed {"connection_id":159982,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:52:07] local.INFO: Acknowledgment sent {"connection_id":159982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:52:28] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029a26e10012d080a800724f9b8001b010f1d..."} 
[2026-08-22 18:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a26e10012d080a800724f9b8001b010f1d..."} 
[2026-08-22 18:52:28] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a26e10012d080a800724f9b8001b010f1d..."} 
[2026-08-22 18:52:28] local.INFO: Packet analysis {"connection_id":160207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a2"} 
[2026-08-22 18:52:28] local.INFO: Extracted packet for processing {"connection_id":160207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a2"} 
[2026-08-22 18:52:28] local.INFO: GPS Element Parsed {"raw_longitude":755501696,"raw_latitude":119863736,"longitude_deg":75.5501696,"latitude_deg":11.9863736,"altitude":27,"angle":271,"satellites":29,"speed":25,"hex_longitude":"2d080a80","hex_latitude":"0724f9b8","is_valid_coordinates":true} 
[2026-08-22 18:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575653376001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14867634885492736,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":584201344848285696,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787404906000,"timestamp_ms":1787404906000,"timestamp_seconds":1787404906,"priority":1,"record_length":96,"hex_timestamp":"000001a029a26e10"} 
[2026-08-22 18:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-22 18:52:28] 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-22 18:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:52:28] 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-22 18:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575653376001,"66":14211,"251":206,"83":44288,"24":25,"16":14867634885492736,"45":584201344848285696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-08-22 18:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575653376001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:52:28] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-22 18:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14867634885492736,"km_value":14867634885492.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":584201344848285696,"description":"Unknown IO ID 45"} 
[2026-08-22 18:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575653376001,"power":14211,"unknown_251":206,"unknown_83":44288,"ignition":25,"odometer":null,"unknown_45":584201344848285696}} 
[2026-08-22 18:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":160207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:52:29] local.INFO: GPS data processed {"connection_id":160207,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:52:29] local.INFO: Acknowledgment sent {"connection_id":160207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:52:37] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a26640012d82a88005d76fe0000d00af1a..."} 
[2026-08-22 18:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a26640012d82a88005d76fe0000d00af1a..."} 
[2026-08-22 18:52:37] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a26640012d82a88005d76fe0000d00af1a..."} 
[2026-08-22 18:52:37] local.INFO: Packet analysis {"connection_id":159981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a2"} 
[2026-08-22 18:52:37] local.INFO: Extracted packet for processing {"connection_id":159981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a2"} 
[2026-08-22 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763537536,"raw_latitude":98004960,"longitude_deg":76.3537536,"latitude_deg":9.800496,"altitude":13,"angle":175,"satellites":26,"speed":30,"hex_longitude":"2d82a880","hex_latitude":"05d76fe0","is_valid_coordinates":true} 
[2026-08-22 18:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575651072001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122337930063642624,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032531977553332224,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787404904000,"timestamp_ms":1787404904000,"timestamp_seconds":1787404904,"priority":1,"record_length":96,"hex_timestamp":"000001a029a26640"} 
[2026-08-22 18:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:52:37] 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-22 18:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-22 18:52:37] 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-22 18:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:52:37] 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-22 18:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575651072001,"66":12102,"155":206,"85":15104,"24":30,"16":122337930063642624,"45":-9032531977553332224},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-22 18:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575651072001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:52:37] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-22 18:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122337930063642624,"km_value":122337930063642.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032531977553332224,"description":"Unknown IO ID 45"} 
[2026-08-22 18:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575651072001,"power":12102,"unknown_155":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9032531977553332224}} 
[2026-08-22 18:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":159981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:52:37] local.INFO: GPS data processed {"connection_id":159981,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:52:37] local.INFO: Acknowledgment sent {"connection_id":159981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:52:52] local.INFO: TCP Data received {"connection_id":161151,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:52:52] local.INFO: Processing buffer {"connection_id":161151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:52:52] local.INFO: IMEI packet received {"connection_id":161151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":161151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:52:53] local.INFO: TCP Data received {"connection_id":161150,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:52:53] local.INFO: Processing buffer {"connection_id":161150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:52:53] local.INFO: IMEI packet received {"connection_id":161150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":161150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:52:57] local.INFO: TCP Data received {"connection_id":161151,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:52:57] local.INFO: Processing buffer {"connection_id":161151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:52:57] local.INFO: IMEI packet received {"connection_id":161151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":161151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:52:58] local.INFO: TCP Data received {"connection_id":161151,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029a275e0012d0805800724fab0001a01201d..."} 
[2026-08-22 18:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a275e0012d0805800724fab0001a01201d..."} 
[2026-08-22 18:52:58] local.INFO: Processing buffer {"connection_id":161151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a275e0012d0805800724fab0001a01201d..."} 
[2026-08-22 18:52:58] local.INFO: Packet analysis {"connection_id":161151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a2"} 
[2026-08-22 18:52:58] local.INFO: Extracted packet for processing {"connection_id":161151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a2"} 
[2026-08-22 18:52:58] local.INFO: GPS Element Parsed {"raw_longitude":755500416,"raw_latitude":119863984,"longitude_deg":75.5500416,"latitude_deg":11.9863984,"altitude":26,"angle":288,"satellites":29,"speed":27,"hex_longitude":"2d080580","hex_latitude":"0724fab0","is_valid_coordinates":true} 
[2026-08-22 18:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575655936001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14867695015034880,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":579416270244001792,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787404908000,"timestamp_ms":1787404908000,"timestamp_seconds":1787404908,"priority":1,"record_length":96,"hex_timestamp":"000001a029a275e0"} 
[2026-08-22 18:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 18:52:58] 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-22 18:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:52: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-22 18:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575655936001,"66":13406,"251":206,"83":44288,"24":27,"16":14867695015034880,"45":579416270244001792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-08-22 18:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575655936001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:52:58] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-22 18:52:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14867695015034880,"km_value":14867695015034.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":579416270244001792,"description":"Unknown IO ID 45"} 
[2026-08-22 18:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575655936001,"power":13406,"unknown_251":206,"unknown_83":44288,"ignition":27,"odometer":null,"unknown_45":579416270244001792}} 
[2026-08-22 18:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":161151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:52:58] local.INFO: GPS data processed {"connection_id":161151,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:52:58] local.INFO: Acknowledgment sent {"connection_id":161151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:52:58] local.INFO: TCP Data received {"connection_id":161150,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:52:58] local.INFO: Processing buffer {"connection_id":161150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:52:58] local.INFO: IMEI packet received {"connection_id":161150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":161150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:52:59] local.INFO: TCP Data received {"connection_id":161150,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029a0b0c0012d7fde8005c5af60000d00632b..."} 
[2026-08-22 18:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a0b0c0012d7fde8005c5af60000d00632b..."} 
[2026-08-22 18:52:59] local.INFO: Processing buffer {"connection_id":161150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a0b0c0012d7fde8005c5af60000d00632b..."} 
[2026-08-22 18:52:59] local.INFO: Packet analysis {"connection_id":161150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:52:59] local.INFO: Extracted packet for processing {"connection_id":161150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763354752,"raw_latitude":96841568,"longitude_deg":76.3354752,"latitude_deg":9.6841568,"altitude":13,"angle":99,"satellites":43,"speed":24,"hex_longitude":"2d7fde80","hex_latitude":"05c5af60","is_valid_coordinates":true} 
[2026-08-22 18:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575623168001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389005551754805248,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9204020656997629952,"note":"Value kept but may cause issues"} 
[2026-08-22 18:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787404792000,"timestamp_ms":1787404792000,"timestamp_seconds":1787404792,"priority":1,"record_length":96,"hex_timestamp":"000001a029a0b0c0"} 
[2026-08-22 18:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18: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-22 18:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 18:52: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-22 18:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:52: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-22 18:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575623168001,"66":27604,"170":206,"85":12288,"24":24,"16":389005551754805248,"45":9204020656997629952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-22 18:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575623168001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:52:59] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-22 18:52:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389005551754805248,"km_value":389005551754805.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9204020656997629952,"description":"Unknown IO ID 45"} 
[2026-08-22 18:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575623168001,"power":27604,"unknown_170":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9204020656997629952}} 
[2026-08-22 18:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":161150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:52:59] local.INFO: GPS data processed {"connection_id":161150,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:52:59] local.INFO: Acknowledgment sent {"connection_id":161150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:53:00] local.INFO: TCP Data received {"connection_id":162565,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:53:00] local.INFO: Processing buffer {"connection_id":162565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:53:00] local.INFO: IMEI packet received {"connection_id":162565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":162565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:53:04] local.INFO: TCP Data received {"connection_id":161150,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029a0c448012d7fe44005c5adf8000d006e2a..."} 
[2026-08-22 18:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a0c448012d7fe44005c5adf8000d006e2a..."} 
[2026-08-22 18:53:04] local.INFO: Processing buffer {"connection_id":161150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a0c448012d7fe44005c5adf8000d006e2a..."} 
[2026-08-22 18:53:04] local.INFO: Packet analysis {"connection_id":161150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:53:04] local.INFO: Extracted packet for processing {"connection_id":161150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763356224,"raw_latitude":96841208,"longitude_deg":76.3356224,"latitude_deg":9.6841208,"altitude":13,"angle":110,"satellites":42,"speed":10,"hex_longitude":"2d7fe440","hex_latitude":"05c5adf8","is_valid_coordinates":true} 
[2026-08-22 18:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575626752001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389005629064216576,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9213942649926410240,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787404797000,"timestamp_ms":1787404797000,"timestamp_seconds":1787404797,"priority":1,"record_length":96,"hex_timestamp":"000001a029a0c448"} 
[2026-08-22 18:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18: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-22 18:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-22 18:53: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-22 18:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:53: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-22 18:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575626752001,"66":27658,"170":206,"85":12288,"24":10,"16":389005629064216576,"45":9213942649926410240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-22 18:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575626752001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:53:04] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-22 18:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389005629064216576,"km_value":389005629064216.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9213942649926410240,"description":"Unknown IO ID 45"} 
[2026-08-22 18:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575626752001,"power":27658,"unknown_170":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9213942649926410240}} 
[2026-08-22 18:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":161150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:53:04] local.INFO: GPS data processed {"connection_id":161150,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:53:04] local.INFO: Acknowledgment sent {"connection_id":161150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:53:05] local.INFO: TCP Data received {"connection_id":162565,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:53:05] local.INFO: Processing buffer {"connection_id":162565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:53:05] local.INFO: IMEI packet received {"connection_id":162565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":162565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:53:06] local.INFO: TCP Data received {"connection_id":162565,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a2a4c0012d82ac4005d74d80000f00aa1a..."} 
[2026-08-22 18:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a2a4c0012d82ac4005d74d80000f00aa1a..."} 
[2026-08-22 18:53:06] local.INFO: Processing buffer {"connection_id":162565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a2a4c0012d82ac4005d74d80000f00aa1a..."} 
[2026-08-22 18:53:06] local.INFO: Packet analysis {"connection_id":162565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a2"} 
[2026-08-22 18:53:06] local.INFO: Extracted packet for processing {"connection_id":162565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a2"} 
[2026-08-22 18:53:06] local.INFO: GPS Element Parsed {"raw_longitude":763538496,"raw_latitude":97996160,"longitude_deg":76.3538496,"latitude_deg":9.799616,"altitude":15,"angle":170,"satellites":26,"speed":0,"hex_longitude":"2d82ac40","hex_latitude":"05d74d80","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575655424001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122338363855339520,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031828290113904640,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787404920000,"timestamp_ms":1787404920000,"timestamp_seconds":1787404920,"priority":1,"record_length":96,"hex_timestamp":"000001a029a2a4c0"} 
[2026-08-22 18: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-22 18:53:06] 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-22 18: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-22 18:53:06] 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-22 18: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-22 18: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-22 18:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:53:06] 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-22 18:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575655424001,"66":11798,"155":206,"85":15104,"24":0,"16":122338363855339520,"45":-9031828290113904640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-22 18:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575655424001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:53:06] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-22 18:53:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122338363855339520,"km_value":122338363855339.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031828290113904640,"description":"Unknown IO ID 45"} 
[2026-08-22 18:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575655424001,"power":11798,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9031828290113904640}} 
[2026-08-22 18:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":162565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:53:06] local.INFO: GPS data processed {"connection_id":162565,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:53:06] local.INFO: Acknowledgment sent {"connection_id":162565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:53:29] local.INFO: TCP Data received {"connection_id":161151,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029a33548012d07cbc007253ed80016014d1d..."} 
[2026-08-22 18:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a33548012d07cbc007253ed80016014d1d..."} 
[2026-08-22 18:53:29] local.INFO: Processing buffer {"connection_id":161151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a33548012d07cbc007253ed80016014d1d..."} 
[2026-08-22 18:53:29] local.INFO: Packet analysis {"connection_id":161151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a3"} 
[2026-08-22 18:53:29] local.INFO: Extracted packet for processing {"connection_id":161151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a3"} 
[2026-08-22 18:53:29] local.INFO: GPS Element Parsed {"raw_longitude":755485632,"raw_latitude":119881432,"longitude_deg":75.5485632,"latitude_deg":11.9881432,"altitude":22,"angle":333,"satellites":29,"speed":25,"hex_longitude":"2d07cbc0","hex_latitude":"07253ed8","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575667200001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14868871836073984,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":562738877877272576,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787404957000,"timestamp_ms":1787404957000,"timestamp_seconds":1787404957,"priority":1,"record_length":96,"hex_timestamp":"000001a029a33548"} 
[2026-08-22 18: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-22 18:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-22 18:53:29] 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-22 18: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-22 18: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-22 18:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:53:29] 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-22 18:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575667200001,"66":14189,"251":206,"83":44288,"24":25,"16":14868871836073984,"45":562738877877272576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-08-22 18:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575667200001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:53:29] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-22 18:53:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14868871836073984,"km_value":14868871836073.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":562738877877272576,"description":"Unknown IO ID 45"} 
[2026-08-22 18:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575667200001,"power":14189,"unknown_251":206,"unknown_83":44288,"ignition":25,"odometer":null,"unknown_45":562738877877272576}} 
[2026-08-22 18:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":161151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:53:29] local.INFO: GPS data processed {"connection_id":161151,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:53:29] local.INFO: Acknowledgment sent {"connection_id":161151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:53:37] local.INFO: TCP Data received {"connection_id":162565,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a2f2e0012d82ad8005d74090000f00aa1a..."} 
[2026-08-22 18:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a2f2e0012d82ad8005d74090000f00aa1a..."} 
[2026-08-22 18:53:37] local.INFO: Processing buffer {"connection_id":162565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a2f2e0012d82ad8005d74090000f00aa1a..."} 
[2026-08-22 18:53:37] local.INFO: Packet analysis {"connection_id":162565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a2"} 
[2026-08-22 18:53:37] local.INFO: Extracted packet for processing {"connection_id":162565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a2"} 
[2026-08-22 18:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763538816,"raw_latitude":97992848,"longitude_deg":76.3538816,"latitude_deg":9.7992848,"altitude":15,"angle":170,"satellites":26,"speed":20,"hex_longitude":"2d82ad80","hex_latitude":"05d74090","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575659520001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122338527064096768,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9030772758953492480,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787404940000,"timestamp_ms":1787404940000,"timestamp_seconds":1787404940,"priority":1,"record_length":96,"hex_timestamp":"000001a029a2f2e0"} 
[2026-08-22 18: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-22 18:53:37] 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-22 18: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5429088055818452987,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191622149,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184155676877,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2713090049,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3646947340,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845756656,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795176142,"corrected_to":0} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2550214018,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-6940891450708066304,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619930918914,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":179,"raw_value":1801439850948200960,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":158,"raw_value":57885554889348411,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3877599326422374400,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:37] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,155,85,24,241,157,16,162,160,102,45,128,111,13,26,10,66,161,35,147,25,1,240,130,227,41,215,4,113,205,135,8,239,46,2,178,69,206,179,158,216],"length":632,"final_offset":762,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2795176142,"validated":0}]} 
[2026-08-22 18:53:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081050939214790656,"timestamp_seconds":1081050939214790.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 18: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-22 18:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:53:37] 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-22 18:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575659520001,"66":12232,"155":206,"85":15104,"24":20,"16":122338527064096768,"45":-9030772758953492480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-22 18:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575659520001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:53:37] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-22 18:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122338527064096768,"km_value":122338527064096.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9030772758953492480,"description":"Unknown IO ID 45"} 
[2026-08-22 18:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575659520001,"power":12232,"unknown_155":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9030772758953492480}} 
[2026-08-22 18:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":162565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:53:37] local.INFO: GPS data processed {"connection_id":162565,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:53:37] local.INFO: Acknowledgment sent {"connection_id":162565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:53:48] local.INFO: TCP Data received {"connection_id":161152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:53:48] local.INFO: Processing buffer {"connection_id":161152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:53:48] local.INFO: IMEI packet received {"connection_id":161152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":161152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:53:52] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:53:52] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:53:52] local.INFO: IMEI packet received {"connection_id":160208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":160208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:53:53] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:53:53] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:53:53] local.INFO: IMEI packet received {"connection_id":160208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":160208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:53:53] local.INFO: TCP Data received {"connection_id":161152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:53:53] local.INFO: Processing buffer {"connection_id":161152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:53:53] local.INFO: IMEI packet received {"connection_id":161152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":161152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:53:54] local.INFO: TCP Data received {"connection_id":161152,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029a0f710012d7ff64005c5a898000c00812c..."} 
[2026-08-22 18:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a0f710012d7ff64005c5a898000c00812c..."} 
[2026-08-22 18:53:54] local.INFO: Processing buffer {"connection_id":161152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a0f710012d7ff64005c5a898000c00812c..."} 
[2026-08-22 18:53:54] local.INFO: Packet analysis {"connection_id":161152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:53:54] local.INFO: Extracted packet for processing {"connection_id":161152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763360832,"raw_latitude":96839832,"longitude_deg":76.3360832,"latitude_deg":9.6839832,"altitude":12,"angle":129,"satellites":44,"speed":6,"hex_longitude":"2d7ff640","hex_latitude":"05c5a898","is_valid_coordinates":true} 
[2026-08-22 18:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575628032001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389005856697483264,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9215561131042404352,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787404810000,"timestamp_ms":1787404810000,"timestamp_seconds":1787404810,"priority":1,"record_length":96,"hex_timestamp":"000001a029a0f710"} 
[2026-08-22 18:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:53: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-22 18:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-22 18:53:54] 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-22 18:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:53: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-22 18:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575628032001,"66":27713,"170":206,"85":12288,"24":6,"16":389005856697483264,"45":9215561131042404352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-22 18:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575628032001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:53:54] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-22 18:53:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389005856697483264,"km_value":389005856697483.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9215561131042404352,"description":"Unknown IO ID 45"} 
[2026-08-22 18:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575628032001,"power":27713,"unknown_170":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9215561131042404352}} 
[2026-08-22 18:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":161152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:53:54] local.INFO: GPS data processed {"connection_id":161152,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:53:54] local.INFO: Acknowledgment sent {"connection_id":161152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:53:55] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:53:55] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:53:55] local.INFO: IMEI packet received {"connection_id":160208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":160208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:53:57] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:53:57] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:53:57] local.INFO: IMEI packet received {"connection_id":160208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":160208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:53:57] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029a33d18012d07c88007254350001501401c..."} 
[2026-08-22 18:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a33d18012d07c88007254350001501401c..."} 
[2026-08-22 18:53:57] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a33d18012d07c88007254350001501401c..."} 
[2026-08-22 18:53:57] local.INFO: Packet analysis {"connection_id":160208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a3"} 
[2026-08-22 18:53:57] local.INFO: Extracted packet for processing {"connection_id":160208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a3"} 
[2026-08-22 18:53:57] local.INFO: GPS Element Parsed {"raw_longitude":755484800,"raw_latitude":119882576,"longitude_deg":75.54848,"latitude_deg":11.9882576,"altitude":21,"angle":320,"satellites":28,"speed":28,"hex_longitude":"2d07c880","hex_latitude":"07254350","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575668992001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14868940555550720,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561753715459938304,"note":"Value kept but may cause issues"} 
[2026-08-22 18:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787404959000,"timestamp_ms":1787404959000,"timestamp_seconds":1787404959,"priority":1,"record_length":96,"hex_timestamp":"000001a029a33d18"} 
[2026-08-22 18: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-22 18:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 18:53:57] 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-22 18: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-22 18: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-22 18:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:53:57] 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-22 18:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575668992001,"66":13276,"251":206,"83":44288,"24":28,"16":14868940555550720,"45":561753715459938304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-08-22 18:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575668992001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:53:57] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-22 18:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14868940555550720,"km_value":14868940555550.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":561753715459938304,"description":"Unknown IO ID 45"} 
[2026-08-22 18:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575668992001,"power":13276,"unknown_251":206,"unknown_83":44288,"ignition":28,"odometer":null,"unknown_45":561753715459938304}} 
[2026-08-22 18:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":160208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:53:57] local.INFO: GPS data processed {"connection_id":160208,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:53:57] local.INFO: Acknowledgment sent {"connection_id":160208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:54:05] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:54:05] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:54:05] local.INFO: IMEI packet received {"connection_id":159983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":159983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:54:09] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:54:09] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:54:09] local.INFO: IMEI packet received {"connection_id":159983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":159983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:54:10] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a44e88012d82cfc005d68690000b007f1b..."} 
[2026-08-22 18:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a44e88012d82cfc005d68690000b007f1b..."} 
[2026-08-22 18:54:10] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a44e88012d82cfc005d68690000b007f1b..."} 
[2026-08-22 18:54:10] local.INFO: Packet analysis {"connection_id":159983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a4"} 
[2026-08-22 18:54:10] local.INFO: Extracted packet for processing {"connection_id":159983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a4"} 
[2026-08-22 18:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763547584,"raw_latitude":97945232,"longitude_deg":76.3547584,"latitude_deg":9.7945232,"altitude":11,"angle":127,"satellites":27,"speed":14,"hex_longitude":"2d82cfc0","hex_latitude":"05d68690","is_valid_coordinates":true} 
[2026-08-22 18:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575686656001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122340975195455488,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021835928455835648,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:10] 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-22 18:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787405029000,"timestamp_ms":1787405029000,"timestamp_seconds":1787405029,"priority":1,"record_length":96,"hex_timestamp":"000001a029a44e88"} 
[2026-08-22 18:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:54:10] 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-22 18:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-22 18:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:54: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-22 18:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575686656001,"66":11547,"156":206,"85":15104,"24":14,"16":122340975195455488,"45":-9021835928455835648},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-22 18:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575686656001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:54:10] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-22 18:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122340975195455488,"km_value":122340975195455.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021835928455835648,"description":"Unknown IO ID 45"} 
[2026-08-22 18:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575686656001,"power":11547,"unknown_156":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9021835928455835648}} 
[2026-08-22 18:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":159983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:54:10] local.INFO: GPS data processed {"connection_id":159983,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:54:10] local.INFO: Acknowledgment sent {"connection_id":159983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:54:11] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a45270012d82d0c005d685a0000b008b1b..."} 
[2026-08-22 18:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a45270012d82d0c005d685a0000b008b1b..."} 
[2026-08-22 18:54:11] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a45270012d82d0c005d685a0000b008b1b..."} 
[2026-08-22 18:54:11] local.INFO: Packet analysis {"connection_id":159983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a4"} 
[2026-08-22 18:54:11] local.INFO: Extracted packet for processing {"connection_id":159983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a4"} 
[2026-08-22 18:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763547840,"raw_latitude":97944992,"longitude_deg":76.354784,"latitude_deg":9.7944992,"altitude":11,"angle":139,"satellites":27,"speed":13,"hex_longitude":"2d82d0c0","hex_latitude":"05d685a0","is_valid_coordinates":true} 
[2026-08-22 18:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575687424001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122340988080357376,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020780397293301760,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:11] 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-22 18:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787405030000,"timestamp_ms":1787405030000,"timestamp_seconds":1787405030,"priority":1,"record_length":96,"hex_timestamp":"000001a029a45270"} 
[2026-08-22 18:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:54:11] 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-22 18:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-22 18:54:11] 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-22 18:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:54: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-22 18:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575687424001,"66":11721,"156":206,"85":15104,"24":13,"16":122340988080357376,"45":-9020780397293301760},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-22 18:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575687424001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:54:11] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-22 18:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122340988080357376,"km_value":122340988080357.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020780397293301760,"description":"Unknown IO ID 45"} 
[2026-08-22 18:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575687424001,"power":11721,"unknown_156":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9020780397293301760}} 
[2026-08-22 18:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":159983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:54:11] local.INFO: GPS data processed {"connection_id":159983,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:54:11] local.INFO: Acknowledgment sent {"connection_id":159983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:54:25] local.INFO: TCP Data received {"connection_id":161152,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029a0faf8012d7ff68005c5a818000c00902d..."} 
[2026-08-22 18:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a0faf8012d7ff68005c5a818000c00902d..."} 
[2026-08-22 18:54:25] local.INFO: Processing buffer {"connection_id":161152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a0faf8012d7ff68005c5a818000c00902d..."} 
[2026-08-22 18:54:25] local.INFO: Packet analysis {"connection_id":161152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:54:25] local.INFO: Extracted packet for processing {"connection_id":161152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a0"} 
[2026-08-22 18:54:25] local.INFO: GPS Element Parsed {"raw_longitude":763360896,"raw_latitude":96839704,"longitude_deg":76.3360896,"latitude_deg":9.6839704,"altitude":12,"angle":144,"satellites":45,"speed":6,"hex_longitude":"2d7ff680","hex_latitude":"05c5a818","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575631360001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389005865287417856,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220627680622843904,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787404811000,"timestamp_ms":1787404811000,"timestamp_seconds":1787404811,"priority":1,"record_length":96,"hex_timestamp":"000001a029a0faf8"} 
[2026-08-22 18: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-22 18:54: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-22 18: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":65,"data_length":795,"current_offset":136} 
[2026-08-22 18:54: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-22 18: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-22 18: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-22 18:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18: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-22 18:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575631360001,"66":27647,"170":206,"85":12288,"24":6,"16":389005865287417856,"45":9220627680622843904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-22 18:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575631360001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:54:25] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-22 18:54:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389005865287417856,"km_value":389005865287417.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220627680622843904,"description":"Unknown IO ID 45"} 
[2026-08-22 18:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575631360001,"power":27647,"unknown_170":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9220627680622843904}} 
[2026-08-22 18:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":161152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:54:25] local.INFO: GPS data processed {"connection_id":161152,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:54:25] local.INFO: Acknowledgment sent {"connection_id":161152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:54:28] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029a344e8012d07c50007254670001501351c..."} 
[2026-08-22 18:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a344e8012d07c50007254670001501351c..."} 
[2026-08-22 18:54:28] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a344e8012d07c50007254670001501351c..."} 
[2026-08-22 18:54:28] local.INFO: Packet analysis {"connection_id":160208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a3"} 
[2026-08-22 18:54:28] local.INFO: Extracted packet for processing {"connection_id":160208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a3"} 
[2026-08-22 18:54:28] local.INFO: GPS Element Parsed {"raw_longitude":755483904,"raw_latitude":119883376,"longitude_deg":75.5483904,"latitude_deg":11.9883376,"altitude":21,"angle":309,"satellites":28,"speed":16,"hex_longitude":"2d07c500","hex_latitude":"07254670","is_valid_coordinates":true} 
[2026-08-22 18:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575669504001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14868996390125568,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":560838921785921536,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787404961000,"timestamp_ms":1787404961000,"timestamp_seconds":1787404961,"priority":1,"record_length":96,"hex_timestamp":"000001a029a344e8"} 
[2026-08-22 18:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 18:54:28] 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-22 18:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:54:28] 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-22 18:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575669504001,"66":14254,"251":206,"83":44288,"24":16,"16":14868996390125568,"45":560838921785921536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-08-22 18:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575669504001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:54:28] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-22 18:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14868996390125568,"km_value":14868996390125.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":560838921785921536,"description":"Unknown IO ID 45"} 
[2026-08-22 18:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575669504001,"power":14254,"unknown_251":206,"unknown_83":44288,"ignition":16,"odometer":null,"unknown_45":560838921785921536}} 
[2026-08-22 18:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":160208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:54:29] local.INFO: GPS data processed {"connection_id":160208,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:54:29] local.INFO: Acknowledgment sent {"connection_id":160208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:54:42] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a45658012d82d14005d68480000b00a41b..."} 
[2026-08-22 18:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a45658012d82d14005d68480000b00a41b..."} 
[2026-08-22 18:54:42] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a45658012d82d14005d68480000b00a41b..."} 
[2026-08-22 18:54:42] local.INFO: Packet analysis {"connection_id":159983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a4"} 
[2026-08-22 18:54:42] local.INFO: Extracted packet for processing {"connection_id":159983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a4"} 
[2026-08-22 18:54:42] local.INFO: GPS Element Parsed {"raw_longitude":763547968,"raw_latitude":97944704,"longitude_deg":76.3547968,"latitude_deg":9.7944704,"altitude":11,"angle":164,"satellites":27,"speed":13,"hex_longitude":"2d82d140","hex_latitude":"05d68480","is_valid_coordinates":true} 
[2026-08-22 18:54: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-22 18:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575687680001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122341005260226560,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020498922316652544,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:42] 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-22 18:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787405031000,"timestamp_ms":1787405031000,"timestamp_seconds":1787405031,"priority":1,"record_length":96,"hex_timestamp":"000001a029a45658"} 
[2026-08-22 18:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:54:42] 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-22 18:54: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-22 18:54:42] 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-22 18:54: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-22 18:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:54:42] 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-22 18:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575687680001,"66":11721,"156":206,"85":15104,"24":13,"16":122341005260226560,"45":-9020498922316652544},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-22 18:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575687680001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:54:42] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-22 18:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122341005260226560,"km_value":122341005260226.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020498922316652544,"description":"Unknown IO ID 45"} 
[2026-08-22 18:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575687680001,"power":11721,"unknown_156":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9020498922316652544}} 
[2026-08-22 18:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":159983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:54:42] local.INFO: GPS data processed {"connection_id":159983,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:54:42] local.INFO: Acknowledgment sent {"connection_id":159983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:54:49] local.INFO: TCP Data received {"connection_id":159984,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:54:49] local.INFO: Processing buffer {"connection_id":159984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:54:49] local.INFO: IMEI packet received {"connection_id":159984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":159984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:54:53] local.INFO: TCP Data received {"connection_id":161153,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:54:53] local.INFO: Processing buffer {"connection_id":161153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:54:53] local.INFO: IMEI packet received {"connection_id":161153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":161153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:54:53] local.INFO: TCP Data received {"connection_id":159984,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:54:53] local.INFO: Processing buffer {"connection_id":159984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:54:53] local.INFO: IMEI packet received {"connection_id":159984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":159984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:54:54] local.INFO: TCP Data received {"connection_id":159984,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029a11a38012d7ff6c005c5a570000c00c72d..."} 
[2026-08-22 18:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a11a38012d7ff6c005c5a570000c00c72d..."} 
[2026-08-22 18:54:54] local.INFO: Processing buffer {"connection_id":159984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a11a38012d7ff6c005c5a570000c00c72d..."} 
[2026-08-22 18:54:54] local.INFO: Packet analysis {"connection_id":159984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a1"} 
[2026-08-22 18:54:54] local.INFO: Extracted packet for processing {"connection_id":159984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a1"} 
[2026-08-22 18:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763360960,"raw_latitude":96839024,"longitude_deg":76.336096,"latitude_deg":9.6839024,"altitude":12,"angle":199,"satellites":45,"speed":8,"hex_longitude":"2d7ff6c0","hex_latitude":"05c5a570","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575631616001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389005899647156224,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220698049366988800,"note":"Value kept but may cause issues"} 
[2026-08-22 18:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787404819000,"timestamp_ms":1787404819000,"timestamp_seconds":1787404819,"priority":1,"record_length":96,"hex_timestamp":"000001a029a11a38"} 
[2026-08-22 18: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-22 18: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-22 18: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-22 18:54:54] 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-22 18: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-22 18: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-22 18:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18: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-22 18:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575631616001,"66":27626,"170":206,"85":12288,"24":8,"16":389005899647156224,"45":9220698049366988800},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-22 18:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575631616001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:54:54] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-22 18:54:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389005899647156224,"km_value":389005899647156.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220698049366988800,"description":"Unknown IO ID 45"} 
[2026-08-22 18:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575631616001,"power":27626,"unknown_170":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9220698049366988800}} 
[2026-08-22 18:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":159984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:54:54] local.INFO: GPS data processed {"connection_id":159984,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:54:54] local.INFO: Acknowledgment sent {"connection_id":159984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:54:55] local.INFO: TCP Data received {"connection_id":161153,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:54:55] local.INFO: Processing buffer {"connection_id":161153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:54:55] local.INFO: IMEI packet received {"connection_id":161153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":161153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:54:57] local.INFO: TCP Data received {"connection_id":161153,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:54:57] local.INFO: Processing buffer {"connection_id":161153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:54:57] local.INFO: IMEI packet received {"connection_id":161153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":161153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:54:58] local.INFO: TCP Data received {"connection_id":162566,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:54:58] local.INFO: Processing buffer {"connection_id":162566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:54:58] local.INFO: IMEI packet received {"connection_id":162566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":162566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:55:00] local.INFO: TCP Data received {"connection_id":162566,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:55:00] local.INFO: Processing buffer {"connection_id":162566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:55:00] local.INFO: IMEI packet received {"connection_id":162566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":162566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:55:02] local.INFO: TCP Data received {"connection_id":161153,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:55:02] local.INFO: Processing buffer {"connection_id":161153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:55:02] local.INFO: IMEI packet received {"connection_id":161153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":161153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:55:02] local.INFO: TCP Data received {"connection_id":161153,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029a4ac48012d07c3400725b5800016001c1d..."} 
[2026-08-22 18:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a4ac48012d07c3400725b5800016001c1d..."} 
[2026-08-22 18:55:02] local.INFO: Processing buffer {"connection_id":161153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a4ac48012d07c3400725b5800016001c1d..."} 
[2026-08-22 18:55:02] local.INFO: Packet analysis {"connection_id":161153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a4"} 
[2026-08-22 18:55:02] local.INFO: Extracted packet for processing {"connection_id":161153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a4"} 
[2026-08-22 18:55:02] local.INFO: GPS Element Parsed {"raw_longitude":755483456,"raw_latitude":119911808,"longitude_deg":75.5483456,"latitude_deg":11.9911808,"altitude":22,"angle":28,"satellites":29,"speed":33,"hex_longitude":"2d07c340","hex_latitude":"0725b580","is_valid_coordinates":true} 
[2026-08-22 18:55: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-22 18:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575690752001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14870456679006208,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":557531590815182848,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787405053000,"timestamp_ms":1787405053000,"timestamp_seconds":1787405053,"priority":1,"record_length":96,"hex_timestamp":"000001a029a4ac48"} 
[2026-08-22 18:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:55:02] 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-22 18:55: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 18:55:02] 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-22 18:55: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-22 18:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:55: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-22 18:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575690752001,"66":13787,"251":206,"83":44288,"24":33,"16":14870456679006208,"45":557531590815182848},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-08-22 18:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575690752001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:55:02] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-22 18:55:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14870456679006208,"km_value":14870456679006.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":557531590815182848,"description":"Unknown IO ID 45"} 
[2026-08-22 18:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575690752001,"power":13787,"unknown_251":206,"unknown_83":44288,"ignition":33,"odometer":null,"unknown_45":557531590815182848}} 
[2026-08-22 18:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":161153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:55:02] local.INFO: GPS data processed {"connection_id":161153,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:55:02] local.INFO: Acknowledgment sent {"connection_id":161153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:55:03] local.INFO: TCP Data received {"connection_id":162566,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:55:03] local.INFO: Processing buffer {"connection_id":162566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:55:03] local.INFO: IMEI packet received {"connection_id":162566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":162566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:55:04] local.INFO: TCP Data received {"connection_id":162566,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a45a40012d82d18005d68340000b00b41a..."} 
[2026-08-22 18:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a45a40012d82d18005d68340000b00b41a..."} 
[2026-08-22 18:55:04] local.INFO: Processing buffer {"connection_id":162566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a45a40012d82d18005d68340000b00b41a..."} 
[2026-08-22 18:55:04] local.INFO: Packet analysis {"connection_id":162566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a4"} 
[2026-08-22 18:55:04] local.INFO: Extracted packet for processing {"connection_id":162566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a4"} 
[2026-08-22 18:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763548032,"raw_latitude":97944384,"longitude_deg":76.3548032,"latitude_deg":9.7944384,"altitude":11,"angle":180,"satellites":26,"speed":13,"hex_longitude":"2d82d180","hex_latitude":"05d68340","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575687936001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122341022440095744,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020358184828370944,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:04] 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-22 18:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787405032000,"timestamp_ms":1787405032000,"timestamp_seconds":1787405032,"priority":1,"record_length":96,"hex_timestamp":"000001a029a45a40"} 
[2026-08-22 18:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-22 18:55:04] 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-22 18:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:55:04] 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-22 18:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575687936001,"66":11547,"156":206,"85":15104,"24":13,"16":122341022440095744,"45":-9020358184828370944},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-22 18:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575687936001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:55:04] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-22 18:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122341022440095744,"km_value":122341022440095.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020358184828370944,"description":"Unknown IO ID 45"} 
[2026-08-22 18:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575687936001,"power":11547,"unknown_156":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9020358184828370944}} 
[2026-08-22 18:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":162566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:55:04] local.INFO: GPS data processed {"connection_id":162566,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:55:04] local.INFO: Acknowledgment sent {"connection_id":162566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:55:09] local.INFO: TCP Data received {"connection_id":161153,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029a4b418012d07c7400725ba700016002e1b..."} 
[2026-08-22 18:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a4b418012d07c7400725ba700016002e1b..."} 
[2026-08-22 18:55:09] local.INFO: Processing buffer {"connection_id":161153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a4b418012d07c7400725ba700016002e1b..."} 
[2026-08-22 18:55:09] local.INFO: Packet analysis {"connection_id":161153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a4"} 
[2026-08-22 18:55:09] local.INFO: Extracted packet for processing {"connection_id":161153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a4"} 
[2026-08-22 18:55:09] local.INFO: GPS Element Parsed {"raw_longitude":755484480,"raw_latitude":119913072,"longitude_deg":75.548448,"latitude_deg":11.9913072,"altitude":22,"angle":46,"satellites":27,"speed":32,"hex_longitude":"2d07c740","hex_latitude":"0725ba70","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575693568001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14870533988417536,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":559361178165673984,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787405055000,"timestamp_ms":1787405055000,"timestamp_seconds":1787405055,"priority":1,"record_length":96,"hex_timestamp":"000001a029a4b418"} 
[2026-08-22 18: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-22 18:55:09] 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-22 18: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-22 18:55:09] 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-22 18: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-22 18: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-22 18:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:55:09] 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-22 18:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575693568001,"66":13722,"251":206,"83":44288,"24":32,"16":14870533988417536,"45":559361178165673984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-08-22 18:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575693568001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:55:09] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-22 18:55:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14870533988417536,"km_value":14870533988417.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":559361178165673984,"description":"Unknown IO ID 45"} 
[2026-08-22 18:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575693568001,"power":13722,"unknown_251":206,"unknown_83":44288,"ignition":32,"odometer":null,"unknown_45":559361178165673984}} 
[2026-08-22 18:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":161153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:55:09] local.INFO: GPS data processed {"connection_id":161153,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:55:09] local.INFO: Acknowledgment sent {"connection_id":161153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:55:27] local.INFO: TCP Data received {"connection_id":159984,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029a11e20012d7ff68005c5a4a0000c00d72d..."} 
[2026-08-22 18:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a11e20012d7ff68005c5a4a0000c00d72d..."} 
[2026-08-22 18:55:27] local.INFO: Processing buffer {"connection_id":159984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a11e20012d7ff68005c5a4a0000c00d72d..."} 
[2026-08-22 18:55:27] local.INFO: Packet analysis {"connection_id":159984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a1"} 
[2026-08-22 18:55:27] local.INFO: Extracted packet for processing {"connection_id":159984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a1"} 
[2026-08-22 18:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763360896,"raw_latitude":96838816,"longitude_deg":76.3360896,"latitude_deg":9.6838816,"altitude":12,"angle":215,"satellites":45,"speed":11,"hex_longitude":"2d7ff680","hex_latitude":"05c5a4a0","is_valid_coordinates":true} 
[2026-08-22 18:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575633664001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389005912532058112,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220768418110992384,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787404820000,"timestamp_ms":1787404820000,"timestamp_seconds":1787404820,"priority":1,"record_length":96,"hex_timestamp":"000001a029a11e20"} 
[2026-08-22 18:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:55: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-22 18:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-22 18:55: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-22 18:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:55: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-22 18:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575633664001,"66":27626,"170":206,"85":12288,"24":11,"16":389005912532058112,"45":9220768418110992384},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-22 18:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575633664001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:55:27] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-22 18:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389005912532058112,"km_value":389005912532058.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220768418110992384,"description":"Unknown IO ID 45"} 
[2026-08-22 18:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575633664001,"power":27626,"unknown_170":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":9220768418110992384}} 
[2026-08-22 18:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":159984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:55:27] local.INFO: GPS data processed {"connection_id":159984,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:55:27] local.INFO: Acknowledgment sent {"connection_id":159984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:55:37] local.INFO: TCP Data received {"connection_id":162566,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a5a260012d82a44005d5fab0000800b81b..."} 
[2026-08-22 18:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a5a260012d82a44005d5fab0000800b81b..."} 
[2026-08-22 18:55:37] local.INFO: Processing buffer {"connection_id":162566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a5a260012d82a44005d5fab0000800b81b..."} 
[2026-08-22 18:55:37] local.INFO: Packet analysis {"connection_id":162566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a5"} 
[2026-08-22 18:55:37] local.INFO: Extracted packet for processing {"connection_id":162566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a5"} 
[2026-08-22 18:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763536448,"raw_latitude":97909424,"longitude_deg":76.3536448,"latitude_deg":9.7909424,"altitude":8,"angle":184,"satellites":27,"speed":14,"hex_longitude":"2d82a440","hex_latitude":"05d5fab0","is_valid_coordinates":true} 
[2026-08-22 18:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575706880001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122342937995509760,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034361564927281152,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] 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-22 18:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787405116000,"timestamp_ms":1787405116000,"timestamp_seconds":1787405116,"priority":1,"record_length":96,"hex_timestamp":"000001a029a5a260"} 
[2026-08-22 18:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:55:37] 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-22 18:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1657324663040115712,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":165,"raw_value":4093640704,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4683517496999752107,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5573811469289521152,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":41,"raw_value":-6557716041416134144,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18626663290873500,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5044295469745111296,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182143810273536,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2751516070,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2783051776,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84867628203890198,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3097170072833024,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-6088860279062921206,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":416,"corrected_to":0} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3015247911320496357,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194847232,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:37] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,156,85,24,241,157,16,165,160,115,45,64,18,9,27,10,66,111,128,19,107,1,240,192,227,41,214,4,113,205,11,84,166,72,239,44,2,178,96,208,130,59,200,5,69],"length":631,"final_offset":761,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0},{"io_id":200,"original":416,"validated":0}]} 
[2026-08-22 18:55:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576646685733421056,"timestamp_seconds":576646685733421.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 18:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:55:37] 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-22 18:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575706880001,"66":11906,"156":206,"85":15104,"24":14,"16":122342937995509760,"45":-9034361564927281152},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-22 18:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575706880001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:55:37] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-22 18:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122342937995509760,"km_value":122342937995509.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034361564927281152,"description":"Unknown IO ID 45"} 
[2026-08-22 18:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575706880001,"power":11906,"unknown_156":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9034361564927281152}} 
[2026-08-22 18:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":162566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:55:37] local.INFO: GPS data processed {"connection_id":162566,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:55:37] local.INFO: Acknowledgment sent {"connection_id":162566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:55:48] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:55:48] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:55:48] local.INFO: IMEI packet received {"connection_id":160209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":160209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:55:53] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:55:53] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:55:53] local.INFO: IMEI packet received {"connection_id":160209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":160209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:55:53] local.INFO: TCP Data received {"connection_id":162567,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:55:53] local.INFO: Processing buffer {"connection_id":162567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:55:53] local.INFO: IMEI packet received {"connection_id":162567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":162567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:55:54] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029a12208012d7ff58005c5a3c0000c00e52c..."} 
[2026-08-22 18:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a12208012d7ff58005c5a3c0000c00e52c..."} 
[2026-08-22 18:55:54] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a12208012d7ff58005c5a3c0000c00e52c..."} 
[2026-08-22 18:55:54] local.INFO: Packet analysis {"connection_id":160209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a1"} 
[2026-08-22 18:55:54] local.INFO: Extracted packet for processing {"connection_id":160209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a1"} 
[2026-08-22 18:55:54] local.INFO: GPS Element Parsed {"raw_longitude":763360640,"raw_latitude":96838592,"longitude_deg":76.336064,"latitude_deg":9.6838592,"altitude":12,"angle":229,"satellites":44,"speed":13,"hex_longitude":"2d7ff580","hex_latitude":"05c5a3c0","is_valid_coordinates":true} 
[2026-08-22 18:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575633920001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389005925416960000,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220698049366761472,"note":"Value kept but may cause issues"} 
[2026-08-22 18:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787404821000,"timestamp_ms":1787404821000,"timestamp_seconds":1787404821,"priority":1,"record_length":96,"hex_timestamp":"000001a029a12208"} 
[2026-08-22 18:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:55: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-22 18:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-22 18:55:54] 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-22 18:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:55: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-22 18:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575633920001,"66":27658,"170":206,"85":12288,"24":13,"16":389005925416960000,"45":9220698049366761472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-22 18:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575633920001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:55:54] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-22 18:55:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389005925416960000,"km_value":389005925416960,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220698049366761472,"description":"Unknown IO ID 45"} 
[2026-08-22 18:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575633920001,"power":27658,"unknown_170":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":9220698049366761472}} 
[2026-08-22 18:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":160209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:55:54] local.INFO: GPS data processed {"connection_id":160209,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:55:54] local.INFO: Acknowledgment sent {"connection_id":160209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:56:00] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:56:00] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:56:00] local.INFO: IMEI packet received {"connection_id":159985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":159985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:56:00] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:56:00] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:56:00] local.INFO: IMEI packet received {"connection_id":159985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":159985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:56:01] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:56:01] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:56:01] local.INFO: IMEI packet received {"connection_id":159985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":159985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:56:03] local.INFO: TCP Data received {"connection_id":162567,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:56:03] local.INFO: Processing buffer {"connection_id":162567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:56:03] local.INFO: IMEI packet received {"connection_id":162567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":162567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:56:04] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:56:04] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:56:04] local.INFO: IMEI packet received {"connection_id":159985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":159985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:56:05] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a5a648012d82a40005d5f980000800c71b..."} 
[2026-08-22 18:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a5a648012d82a40005d5f980000800c71b..."} 
[2026-08-22 18:56:05] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a5a648012d82a40005d5f980000800c71b..."} 
[2026-08-22 18:56:05] local.INFO: Packet analysis {"connection_id":159985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a5"} 
[2026-08-22 18:56:05] local.INFO: Extracted packet for processing {"connection_id":159985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a5"} 
[2026-08-22 18:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763536384,"raw_latitude":97909120,"longitude_deg":76.3536384,"latitude_deg":9.790912,"altitude":8,"angle":199,"satellites":27,"speed":12,"hex_longitude":"2d82a400","hex_latitude":"05d5f980","is_valid_coordinates":true} 
[2026-08-22 18:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575709696001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122342950880411648,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033024558789382144,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:05] 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-22 18:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787405117000,"timestamp_ms":1787405117000,"timestamp_seconds":1787405117,"priority":1,"record_length":96,"hex_timestamp":"000001a029a5a648"} 
[2026-08-22 18:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:56:05] 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-22 18:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-08-22 18:56:05] 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-22 18:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:56:05] 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-22 18:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575709696001,"66":11906,"156":206,"85":15104,"24":12,"16":122342950880411648,"45":-9033024558789382144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-22 18:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575709696001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:56:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-22 18:56:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122342950880411648,"km_value":122342950880411.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033024558789382144,"description":"Unknown IO ID 45"} 
[2026-08-22 18:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575709696001,"power":11906,"unknown_156":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9033024558789382144}} 
[2026-08-22 18:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":159985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:56:05] local.INFO: GPS data processed {"connection_id":159985,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:56:05] local.INFO: Acknowledgment sent {"connection_id":159985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:56:05] local.INFO: TCP Data received {"connection_id":162567,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029a53cd0012d07e800072602e0001b00111b..."} 
[2026-08-22 18:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a53cd0012d07e800072602e0001b00111b..."} 
[2026-08-22 18:56:05] local.INFO: Processing buffer {"connection_id":162567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a53cd0012d07e800072602e0001b00111b..."} 
[2026-08-22 18:56:05] local.INFO: Packet analysis {"connection_id":162567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a5"} 
[2026-08-22 18:56:05] local.INFO: Extracted packet for processing {"connection_id":162567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a5"} 
[2026-08-22 18:56:05] local.INFO: GPS Element Parsed {"raw_longitude":755492864,"raw_latitude":119931616,"longitude_deg":75.5492864,"latitude_deg":11.9931616,"altitude":27,"angle":17,"satellites":27,"speed":16,"hex_longitude":"2d07e800","hex_latitude":"072602e0","is_valid_coordinates":true} 
[2026-08-22 18:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575702528001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14871736579260416,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":569564646076280832,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787405090000,"timestamp_ms":1787405090000,"timestamp_seconds":1787405090,"priority":1,"record_length":96,"hex_timestamp":"000001a029a53cd0"} 
[2026-08-22 18:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:56:05] 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-22 18:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-22 18:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:56:05] 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-22 18:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575702528001,"66":13896,"253":206,"83":44288,"24":16,"16":14871736579260416,"45":569564646076280832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,83,24,16,45]} 
[2026-08-22 18:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575702528001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:56:05] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-22 18:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14871736579260416,"km_value":14871736579260.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":569564646076280832,"description":"Unknown IO ID 45"} 
[2026-08-22 18:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575702528001,"power":13896,"unknown_253":206,"unknown_83":44288,"ignition":16,"odometer":null,"unknown_45":569564646076280832}} 
[2026-08-22 18:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":162567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:56:05] local.INFO: GPS data processed {"connection_id":162567,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:56:05] local.INFO: Acknowledgment sent {"connection_id":162567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:56:06] local.INFO: TCP Data received {"connection_id":162567,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029a54888012d07e9c007260690001b00261c..."} 
[2026-08-22 18:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a54888012d07e9c007260690001b00261c..."} 
[2026-08-22 18:56:06] local.INFO: Processing buffer {"connection_id":162567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a54888012d07e9c007260690001b00261c..."} 
[2026-08-22 18:56:06] local.INFO: Packet analysis {"connection_id":162567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a5"} 
[2026-08-22 18:56:06] local.INFO: Extracted packet for processing {"connection_id":162567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a5"} 
[2026-08-22 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":755493312,"raw_latitude":119932560,"longitude_deg":75.5493312,"latitude_deg":11.993256,"altitude":27,"angle":38,"satellites":28,"speed":12,"hex_longitude":"2d07e9c0","hex_latitude":"07260690","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575703040001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14871788118867968,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":569705383564861440,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787405093000,"timestamp_ms":1787405093000,"timestamp_seconds":1787405093,"priority":1,"record_length":96,"hex_timestamp":"000001a029a54888"} 
[2026-08-22 18: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-22 18:56:06] 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-22 18: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-22 18:56:06] 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-22 18: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-22 18: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-22 18:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:56:06] 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-22 18:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575703040001,"66":13961,"253":206,"83":44288,"24":12,"16":14871788118867968,"45":569705383564861440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,83,24,16,45]} 
[2026-08-22 18:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575703040001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:56:06] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-22 18:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14871788118867968,"km_value":14871788118867.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":569705383564861440,"description":"Unknown IO ID 45"} 
[2026-08-22 18:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575703040001,"power":13961,"unknown_253":206,"unknown_83":44288,"ignition":12,"odometer":null,"unknown_45":569705383564861440}} 
[2026-08-22 18:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":162567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:56:06] local.INFO: GPS data processed {"connection_id":162567,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:56:06] local.INFO: Acknowledgment sent {"connection_id":162567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:56:36] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029a129d8012d7ff3c005c5a188000c00d32c..."} 
[2026-08-22 18:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a129d8012d7ff3c005c5a188000c00d32c..."} 
[2026-08-22 18:56:36] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a129d8012d7ff3c005c5a188000c00d32c..."} 
[2026-08-22 18:56:36] local.INFO: Packet analysis {"connection_id":160209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a1"} 
[2026-08-22 18:56:36] local.INFO: Extracted packet for processing {"connection_id":160209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a1"} 
[2026-08-22 18:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763360192,"raw_latitude":96838024,"longitude_deg":76.3360192,"latitude_deg":9.6838024,"altitude":12,"angle":211,"satellites":44,"speed":17,"hex_longitude":"2d7ff3c0","hex_latitude":"05c5a188","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575634176001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389005964071665664,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220416574389993472,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787404823000,"timestamp_ms":1787404823000,"timestamp_seconds":1787404823,"priority":1,"record_length":96,"hex_timestamp":"000001a029a129d8"} 
[2026-08-22 18: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-22 18: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-22 18: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":10,"data_length":795,"current_offset":136} 
[2026-08-22 18:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18: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-22 18: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-22 18:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:56: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-22 18:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575634176001,"66":27713,"170":206,"85":12288,"24":17,"16":389005964071665664,"45":9220416574389993472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-22 18:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575634176001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:56:36] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-22 18:56:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389005964071665664,"km_value":389005964071665.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220416574389993472,"description":"Unknown IO ID 45"} 
[2026-08-22 18:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575634176001,"power":27713,"unknown_170":206,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":9220416574389993472}} 
[2026-08-22 18:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":160209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:56:36] local.INFO: GPS data processed {"connection_id":160209,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:56:36] local.INFO: Acknowledgment sent {"connection_id":160209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:56:36] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a5aa30012d82a38005d5f8a0000800d31b..."} 
[2026-08-22 18:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a5aa30012d82a38005d5f8a0000800d31b..."} 
[2026-08-22 18:56:36] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a5aa30012d82a38005d5f8a0000800d31b..."} 
[2026-08-22 18:56:36] local.INFO: Packet analysis {"connection_id":159985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a5"} 
[2026-08-22 18:56:36] local.INFO: Extracted packet for processing {"connection_id":159985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a5"} 
[2026-08-22 18:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763536256,"raw_latitude":97908896,"longitude_deg":76.3536256,"latitude_deg":9.7908896,"altitude":8,"angle":211,"satellites":27,"speed":8,"hex_longitude":"2d82a380","hex_latitude":"05d5f8a0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575709952001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122342963765313536,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033094927533637632,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:36] 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-22 18:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787405118000,"timestamp_ms":1787405118000,"timestamp_seconds":1787405118,"priority":1,"record_length":96,"hex_timestamp":"000001a029a5aa30"} 
[2026-08-22 18: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-22 18:56:36] 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-22 18: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-08-22 18:56:36] 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-22 18: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-22 18: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-22 18:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:56: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-22 18:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575709952001,"66":11798,"156":206,"85":15104,"24":8,"16":122342963765313536,"45":-9033094927533637632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-22 18:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575709952001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:56:36] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-22 18:56:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122342963765313536,"km_value":122342963765313.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033094927533637632,"description":"Unknown IO ID 45"} 
[2026-08-22 18:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575709952001,"power":11798,"unknown_156":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9033094927533637632}} 
[2026-08-22 18:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":159985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:56:36] local.INFO: GPS data processed {"connection_id":159985,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:56:36] local.INFO: Acknowledgment sent {"connection_id":159985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:56:48] local.INFO: TCP Data received {"connection_id":162568,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:56:48] local.INFO: Processing buffer {"connection_id":162568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:56:48] local.INFO: IMEI packet received {"connection_id":162568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":162568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:56:49] local.INFO: TCP Data received {"connection_id":162568,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:56:49] local.INFO: Processing buffer {"connection_id":162568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:56:49] local.INFO: IMEI packet received {"connection_id":162568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":162568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:56:53] local.INFO: TCP Data received {"connection_id":162568,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:56:53] local.INFO: Processing buffer {"connection_id":162568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:56:53] local.INFO: IMEI packet received {"connection_id":162568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":162568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:56:54] local.INFO: TCP Data received {"connection_id":162568,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029a14918012d7fed4005c59428000c00c72d..."} 
[2026-08-22 18:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a14918012d7fed4005c59428000c00c72d..."} 
[2026-08-22 18:56:54] local.INFO: Processing buffer {"connection_id":162568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a14918012d7fed4005c59428000c00c72d..."} 
[2026-08-22 18:56:54] local.INFO: Packet analysis {"connection_id":162568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a1"} 
[2026-08-22 18:56:54] local.INFO: Extracted packet for processing {"connection_id":162568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a1"} 
[2026-08-22 18:56:54] local.INFO: GPS Element Parsed {"raw_longitude":763358528,"raw_latitude":96834600,"longitude_deg":76.3358528,"latitude_deg":9.68346,"altitude":12,"angle":199,"satellites":45,"speed":12,"hex_longitude":"2d7fed40","hex_latitude":"05c59428","is_valid_coordinates":true} 
[2026-08-22 18:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575634688001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006148755259392,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9219923993180604416,"note":"Value kept but may cause issues"} 
[2026-08-22 18:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787404831000,"timestamp_ms":1787404831000,"timestamp_seconds":1787404831,"priority":1,"record_length":96,"hex_timestamp":"000001a029a14918"} 
[2026-08-22 18:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:56: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-22 18:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-22 18:56:54] 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-22 18:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:56: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-22 18:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575634688001,"66":27821,"170":206,"85":12288,"24":12,"16":389006148755259392,"45":9219923993180604416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-22 18:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575634688001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:56:54] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-22 18:56:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006148755259392,"km_value":389006148755259.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9219923993180604416,"description":"Unknown IO ID 45"} 
[2026-08-22 18:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575634688001,"power":27821,"unknown_170":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9219923993180604416}} 
[2026-08-22 18:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":162568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:56:54] local.INFO: GPS data processed {"connection_id":162568,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:56:54] local.INFO: Acknowledgment sent {"connection_id":162568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:56:55] local.INFO: TCP Data received {"connection_id":161154,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:56:55] local.INFO: Processing buffer {"connection_id":161154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:56:55] local.INFO: IMEI packet received {"connection_id":161154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":161154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:57:00] local.INFO: TCP Data received {"connection_id":162569,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:57:00] local.INFO: Processing buffer {"connection_id":162569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:57:00] local.INFO: IMEI packet received {"connection_id":162569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":162569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:57:01] local.INFO: TCP Data received {"connection_id":162569,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:57:01] local.INFO: Processing buffer {"connection_id":162569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:57:01] local.INFO: IMEI packet received {"connection_id":162569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":162569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:57:01] local.INFO: TCP Data received {"connection_id":161154,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:57:01] local.INFO: Processing buffer {"connection_id":161154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:57:01] local.INFO: IMEI packet received {"connection_id":161154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":161154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:57:02] local.INFO: TCP Data received {"connection_id":161154,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:57:02] local.INFO: Processing buffer {"connection_id":161154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:57:02] local.INFO: IMEI packet received {"connection_id":161154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":161154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:57:04] local.INFO: TCP Data received {"connection_id":162569,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:57:04] local.INFO: Processing buffer {"connection_id":162569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:57:04] local.INFO: IMEI packet received {"connection_id":162569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":162569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:57:05] local.INFO: TCP Data received {"connection_id":162569,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:57:05] local.INFO: Processing buffer {"connection_id":162569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:57:05] local.INFO: IMEI packet received {"connection_id":162569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":162569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:57:06] local.INFO: TCP Data received {"connection_id":162569,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a6a818012d82450005d5d208000600db1c..."} 
[2026-08-22 18:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a6a818012d82450005d5d208000600db1c..."} 
[2026-08-22 18:57:06] local.INFO: Processing buffer {"connection_id":162569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a6a818012d82450005d5d208000600db1c..."} 
[2026-08-22 18:57:06] local.INFO: Packet analysis {"connection_id":162569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 18:57:06] local.INFO: Extracted packet for processing {"connection_id":162569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 18:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763512064,"raw_latitude":97899016,"longitude_deg":76.3512064,"latitude_deg":9.7899016,"altitude":6,"angle":219,"satellites":28,"speed":7,"hex_longitude":"2d824500","hex_latitude":"05d5d208","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575724032001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122344256550469632,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9052798175904843776,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:06] 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-22 18:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787405183000,"timestamp_ms":1787405183000,"timestamp_seconds":1787405183,"priority":1,"record_length":96,"hex_timestamp":"000001a029a6a818"} 
[2026-08-22 18: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-22 18:57:06] 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-22 18: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-22 18:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18: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-22 18: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-22 18:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:57:06] 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-22 18:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575724032001,"66":11482,"157":206,"85":15104,"24":7,"16":122344256550469632,"45":-9052798175904843776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575724032001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:57:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122344256550469632,"km_value":122344256550469.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9052798175904843776,"description":"Unknown IO ID 45"} 
[2026-08-22 18:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575724032001,"power":11482,"unknown_157":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9052798175904843776}} 
[2026-08-22 18:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":162569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:57:06] local.INFO: GPS data processed {"connection_id":162569,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:57:06] local.INFO: Acknowledgment sent {"connection_id":162569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:57:07] local.INFO: TCP Data received {"connection_id":162569,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a6ea80012d8238c005d5c3a8000300eb1c..."} 
[2026-08-22 18:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a6ea80012d8238c005d5c3a8000300eb1c..."} 
[2026-08-22 18:57:07] local.INFO: Processing buffer {"connection_id":162569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a6ea80012d8238c005d5c3a8000300eb1c..."} 
[2026-08-22 18:57:07] local.INFO: Packet analysis {"connection_id":162569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 18:57:07] local.INFO: Extracted packet for processing {"connection_id":162569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 18:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763508928,"raw_latitude":97895336,"longitude_deg":76.3508928,"latitude_deg":9.7895336,"altitude":3,"angle":235,"satellites":28,"speed":20,"hex_longitude":"2d8238c0","hex_latitude":"05d5c3a8","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575726848001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122344492773670912,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9059835050323736576,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:07] 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-22 18:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787405200000,"timestamp_ms":1787405200000,"timestamp_seconds":1787405200,"priority":1,"record_length":96,"hex_timestamp":"000001a029a6ea80"} 
[2026-08-22 18: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-22 18:57: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-22 18: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":44,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-22 18:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2380,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18: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-22 18: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-22 18:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:57:07] 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-22 18:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575726848001,"66":12156,"157":206,"85":15104,"24":20,"16":122344492773670912,"45":-9059835050323736576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575726848001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:57:07] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:57:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122344492773670912,"km_value":122344492773670.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9059835050323736576,"description":"Unknown IO ID 45"} 
[2026-08-22 18:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575726848001,"power":12156,"unknown_157":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9059835050323736576}} 
[2026-08-22 18:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":162569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:57:07] local.INFO: GPS data processed {"connection_id":162569,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:57:07] local.INFO: Acknowledgment sent {"connection_id":162569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:57:13] local.INFO: TCP Data received {"connection_id":161154,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029a54c70012d07eac007260770001b00311c..."} 
[2026-08-22 18:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a54c70012d07eac007260770001b00311c..."} 
[2026-08-22 18:57:13] local.INFO: Processing buffer {"connection_id":161154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a54c70012d07eac007260770001b00311c..."} 
[2026-08-22 18:57:13] local.INFO: Packet analysis {"connection_id":161154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a5"} 
[2026-08-22 18:57:13] local.INFO: Extracted packet for processing {"connection_id":161154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a5"} 
[2026-08-22 18:57:13] local.INFO: GPS Element Parsed {"raw_longitude":755493568,"raw_latitude":119932784,"longitude_deg":75.5493568,"latitude_deg":11.9932784,"altitude":27,"angle":49,"satellites":28,"speed":13,"hex_longitude":"2d07eac0","hex_latitude":"07260770","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575703808001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14871801003769856,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":570197964774346752,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787405094000,"timestamp_ms":1787405094000,"timestamp_seconds":1787405094,"priority":1,"record_length":96,"hex_timestamp":"000001a029a54c70"} 
[2026-08-22 18: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-22 18:57:13] 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-22 18: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-22 18:57:13] 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-22 18: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-22 18: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-22 18:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:57:13] 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-22 18:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575703808001,"66":13961,"253":206,"83":44288,"24":13,"16":14871801003769856,"45":570197964774346752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,83,24,16,45]} 
[2026-08-22 18:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575703808001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:57:13] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-22 18:57:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14871801003769856,"km_value":14871801003769.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":570197964774346752,"description":"Unknown IO ID 45"} 
[2026-08-22 18:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575703808001,"power":13961,"unknown_253":206,"unknown_83":44288,"ignition":13,"odometer":null,"unknown_45":570197964774346752}} 
[2026-08-22 18:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":161154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:57:13] local.INFO: GPS data processed {"connection_id":161154,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:57:13] local.INFO: Acknowledgment sent {"connection_id":161154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:57:14] local.INFO: TCP Data received {"connection_id":161154,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029a56f98012d07f780072610f0001d00461c..."} 
[2026-08-22 18:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a56f98012d07f780072610f0001d00461c..."} 
[2026-08-22 18:57:14] local.INFO: Processing buffer {"connection_id":161154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a56f98012d07f780072610f0001d00461c..."} 
[2026-08-22 18:57:14] local.INFO: Packet analysis {"connection_id":161154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a5"} 
[2026-08-22 18:57:14] local.INFO: Extracted packet for processing {"connection_id":161154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a5"} 
[2026-08-22 18:57:14] local.INFO: GPS Element Parsed {"raw_longitude":755496832,"raw_latitude":119935216,"longitude_deg":75.5496832,"latitude_deg":11.9935216,"altitude":29,"angle":70,"satellites":28,"speed":19,"hex_longitude":"2d07f780","hex_latitude":"072610f0","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575704064001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14871998572265472,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":570479439751114752,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787405103000,"timestamp_ms":1787405103000,"timestamp_seconds":1787405103,"priority":1,"record_length":96,"hex_timestamp":"000001a029a56f98"} 
[2026-08-22 18: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-22 18:57:14] 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-22 18: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-22 18:57: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-22 18: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-22 18: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-22 18:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:57: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-22 18:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575704064001,"66":13939,"253":206,"83":44288,"24":19,"16":14871998572265472,"45":570479439751114752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,83,24,16,45]} 
[2026-08-22 18:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575704064001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:57:14] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-22 18:57:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14871998572265472,"km_value":14871998572265.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":570479439751114752,"description":"Unknown IO ID 45"} 
[2026-08-22 18:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575704064001,"power":13939,"unknown_253":206,"unknown_83":44288,"ignition":19,"odometer":null,"unknown_45":570479439751114752}} 
[2026-08-22 18:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":161154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:57:14] local.INFO: GPS data processed {"connection_id":161154,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:57:14] local.INFO: Acknowledgment sent {"connection_id":161154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:57:26] local.INFO: TCP Data received {"connection_id":162568,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029a19b20012d7fe98005c58c08000a00cf2d..."} 
[2026-08-22 18:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a19b20012d7fe98005c58c08000a00cf2d..."} 
[2026-08-22 18:57:26] local.INFO: Processing buffer {"connection_id":162568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a19b20012d7fe98005c58c08000a00cf2d..."} 
[2026-08-22 18:57:26] local.INFO: Packet analysis {"connection_id":162568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a1"} 
[2026-08-22 18:57:26] local.INFO: Extracted packet for processing {"connection_id":162568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a1"} 
[2026-08-22 18:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763357568,"raw_latitude":96832520,"longitude_deg":76.3357568,"latitude_deg":9.683252,"altitude":10,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d7fe980","hex_latitude":"05c58c08","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575636736001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006286194212864,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9218094405831108608,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787404852000,"timestamp_ms":1787404852000,"timestamp_seconds":1787404852,"priority":1,"record_length":96,"hex_timestamp":"000001a029a19b20"} 
[2026-08-22 18: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-22 18:57: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-22 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 18:57: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-22 18: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-22 18: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-22 18:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:57: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-22 18:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575636736001,"66":27517,"170":206,"85":12288,"24":0,"16":389006286194212864,"45":9218094405831108608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-22 18:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575636736001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:57:26] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-22 18:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006286194212864,"km_value":389006286194212.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9218094405831108608,"description":"Unknown IO ID 45"} 
[2026-08-22 18:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575636736001,"power":27517,"unknown_170":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9218094405831108608}} 
[2026-08-22 18:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":162568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:57:26] local.INFO: GPS data processed {"connection_id":162568,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:57:26] local.INFO: Acknowledgment sent {"connection_id":162568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:57:39] local.INFO: TCP Data received {"connection_id":162569,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a77338012d81fac005d5cfb8000c010c1c..."} 
[2026-08-22 18:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a77338012d81fac005d5cfb8000c010c1c..."} 
[2026-08-22 18:57:39] local.INFO: Processing buffer {"connection_id":162569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a77338012d81fac005d5cfb8000c010c1c..."} 
[2026-08-22 18:57:39] local.INFO: Packet analysis {"connection_id":162569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a7"} 
[2026-08-22 18:57:39] local.INFO: Extracted packet for processing {"connection_id":162569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a7"} 
[2026-08-22 18:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763493056,"raw_latitude":97898424,"longitude_deg":76.3493056,"latitude_deg":9.7898424,"altitude":12,"angle":268,"satellites":28,"speed":25,"hex_longitude":"2d81fac0","hex_latitude":"05d5cfb8","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575739904001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122345377536933888,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080101248647065600,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:39] 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-22 18:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787405235000,"timestamp_ms":1787405235000,"timestamp_seconds":1787405235,"priority":1,"record_length":96,"hex_timestamp":"000001a029a77338"} 
[2026-08-22 18: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-22 18:57: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-22 18: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":44,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-22 18:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2380,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18: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-22 18: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-22 18:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:57: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-22 18:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575739904001,"66":11482,"157":206,"85":15104,"24":25,"16":122345377536933888,"45":-9080101248647065600},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575739904001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:57:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122345377536933888,"km_value":122345377536933.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080101248647065600,"description":"Unknown IO ID 45"} 
[2026-08-22 18:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575739904001,"power":11482,"unknown_157":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9080101248647065600}} 
[2026-08-22 18:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":162569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:57:39] local.INFO: GPS data processed {"connection_id":162569,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:57:39] local.INFO: Acknowledgment sent {"connection_id":162569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:57:50] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:57:50] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:57:50] local.INFO: IMEI packet received {"connection_id":159986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":159986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:57:52] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:57:52] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:57:52] local.INFO: IMEI packet received {"connection_id":159986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":159986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:57:53] local.INFO: TCP Data received {"connection_id":161155,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:57:53] local.INFO: Processing buffer {"connection_id":161155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:57:53] local.INFO: IMEI packet received {"connection_id":161155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":161155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:57:57] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:57:57] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:57:57] local.INFO: IMEI packet received {"connection_id":159986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":159986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:57:58] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029a71578012d084500072630e00022002d1a..."} 
[2026-08-22 18:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a71578012d084500072630e00022002d1a..."} 
[2026-08-22 18:57:58] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a71578012d084500072630e00022002d1a..."} 
[2026-08-22 18:57:58] local.INFO: Packet analysis {"connection_id":159986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a7"} 
[2026-08-22 18:57:58] local.INFO: Extracted packet for processing {"connection_id":159986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a7"} 
[2026-08-22 18:57:58] local.INFO: GPS Element Parsed {"raw_longitude":755516672,"raw_latitude":119943392,"longitude_deg":75.5516672,"latitude_deg":11.9943392,"altitude":34,"angle":45,"satellites":26,"speed":17,"hex_longitude":"2d084500","hex_latitude":"072630e0","is_valid_coordinates":true} 
[2026-08-22 18:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575733760001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14873256997683200,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":595460343936825344,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787405211000,"timestamp_ms":1787405211000,"timestamp_seconds":1787405211,"priority":1,"record_length":96,"hex_timestamp":"000001a029a71578"} 
[2026-08-22 18:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-22 18:57: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-22 18:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:57: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-22 18:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575733760001,"66":13787,"237":206,"83":44288,"24":17,"16":14873256997683200,"45":595460343936825344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 18:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575733760001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:57:58] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 18:57:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14873256997683200,"km_value":14873256997683.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":595460343936825344,"description":"Unknown IO ID 45"} 
[2026-08-22 18:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575733760001,"power":13787,"unknown_237":206,"unknown_83":44288,"ignition":17,"odometer":null,"unknown_45":595460343936825344}} 
[2026-08-22 18:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":159986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:57:58] local.INFO: GPS data processed {"connection_id":159986,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:57:58] local.INFO: Acknowledgment sent {"connection_id":159986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:57:58] local.INFO: TCP Data received {"connection_id":161155,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:57:58] local.INFO: Processing buffer {"connection_id":161155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:57:58] local.INFO: IMEI packet received {"connection_id":161155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":161155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:57:59] local.INFO: TCP Data received {"connection_id":161155,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029a1cde8012d7fe9c005c58e40000a00cf2c..."} 
[2026-08-22 18:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a1cde8012d7fe9c005c58e40000a00cf2c..."} 
[2026-08-22 18:57:59] local.INFO: Processing buffer {"connection_id":161155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a1cde8012d7fe9c005c58e40000a00cf2c..."} 
[2026-08-22 18:57:59] local.INFO: Packet analysis {"connection_id":161155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a1"} 
[2026-08-22 18:57:59] local.INFO: Extracted packet for processing {"connection_id":161155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a1"} 
[2026-08-22 18:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833088,"longitude_deg":76.3357632,"latitude_deg":9.6833088,"altitude":10,"angle":207,"satellites":44,"speed":1,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58e40","is_valid_coordinates":true} 
[2026-08-22 18:57: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-22 18:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575642112001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217038874667911168,"note":"Value kept but may cause issues"} 
[2026-08-22 18:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787404865000,"timestamp_ms":1787404865000,"timestamp_seconds":1787404865,"priority":1,"record_length":96,"hex_timestamp":"000001a029a1cde8"} 
[2026-08-22 18: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-22 18:57: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-22 18: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 18:57:59] 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-22 18: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-22 18: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-22 18:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:57: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-22 18:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575642112001,"66":27571,"170":206,"85":12288,"24":1,"16":389006311964016640,"45":9217038874667911168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-22 18:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575642112001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:57:59] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-22 18:57:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217038874667911168,"description":"Unknown IO ID 45"} 
[2026-08-22 18:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575642112001,"power":27571,"unknown_170":206,"unknown_85":12288,"ignition":1,"odometer":null,"unknown_45":9217038874667911168}} 
[2026-08-22 18:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":161155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:57:59] local.INFO: GPS data processed {"connection_id":161155,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:57:59] local.INFO: Acknowledgment sent {"connection_id":161155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:58:00] local.INFO: TCP Data received {"connection_id":161156,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:58:00] local.INFO: Processing buffer {"connection_id":161156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:58:00] local.INFO: IMEI packet received {"connection_id":161156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":161156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:58:04] local.INFO: TCP Data received {"connection_id":161155,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 18:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 18:58:04] local.INFO: Processing buffer {"connection_id":161155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 18:58:04] local.INFO: Packet analysis {"connection_id":161155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 18:58:04] local.INFO: Extracted packet for processing {"connection_id":161155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 18:58:04] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 18:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575645440001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 18:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412234240,"note":"Value kept but may cause issues"} 
[2026-08-22 18:58:04] 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-22 18:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787405171000,"timestamp_ms":1787405171000,"timestamp_seconds":1787405171,"priority":1,"record_length":96,"hex_timestamp":"000001a029a67938"} 
[2026-08-22 18:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18: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-22 18:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 18:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:58: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-22 18:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575645440001,"66":26006,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412234240},"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-22 18:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575645440001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:58:04] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 18:58:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412234240,"description":"Unknown IO ID 45"} 
[2026-08-22 18:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575645440001,"power":26006,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412234240}} 
[2026-08-22 18:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":161155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:58:04] local.INFO: GPS data processed {"connection_id":161155,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:58:04] local.INFO: Acknowledgment sent {"connection_id":161155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:58:05] local.INFO: TCP Data received {"connection_id":161156,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:58:05] local.INFO: Processing buffer {"connection_id":161156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:58:05] local.INFO: IMEI packet received {"connection_id":161156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":161156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:58:06] local.INFO: TCP Data received {"connection_id":161156,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a79278012d81e2c005d5ccc0000c01011c..."} 
[2026-08-22 18:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a79278012d81e2c005d5ccc0000c01011c..."} 
[2026-08-22 18:58:06] local.INFO: Processing buffer {"connection_id":161156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a79278012d81e2c005d5ccc0000c01011c..."} 
[2026-08-22 18:58:06] local.INFO: Packet analysis {"connection_id":161156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a7"} 
[2026-08-22 18:58:06] local.INFO: Extracted packet for processing {"connection_id":161156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a7"} 
[2026-08-22 18:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763486912,"raw_latitude":97897664,"longitude_deg":76.3486912,"latitude_deg":9.7897664,"altitude":12,"angle":257,"satellites":28,"speed":27,"hex_longitude":"2d81e2c0","hex_latitude":"05d5ccc0","is_valid_coordinates":true} 
[2026-08-22 18:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575740160001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122345669594710016,"note":"Value kept but may cause issues"} 
[2026-08-22 18:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080734567344654336,"note":"Value kept but may cause issues"} 
[2026-08-22 18:58:06] 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-22 18:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787405243000,"timestamp_ms":1787405243000,"timestamp_seconds":1787405243,"priority":1,"record_length":96,"hex_timestamp":"000001a029a79278"} 
[2026-08-22 18:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:58:06] 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-22 18:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-22 18:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2380,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:58:06] 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-22 18:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575740160001,"66":11080,"157":206,"85":15104,"24":27,"16":122345669594710016,"45":-9080734567344654336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575740160001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:58:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122345669594710016,"km_value":122345669594710.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080734567344654336,"description":"Unknown IO ID 45"} 
[2026-08-22 18:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575740160001,"power":11080,"unknown_157":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9080734567344654336}} 
[2026-08-22 18:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":161156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:58:06] local.INFO: GPS data processed {"connection_id":161156,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:58:06] local.INFO: Acknowledgment sent {"connection_id":161156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:58:29] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029a72130012d084800072634c80021001f19..."} 
[2026-08-22 18:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a72130012d084800072634c80021001f19..."} 
[2026-08-22 18:58:29] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a72130012d084800072634c80021001f19..."} 
[2026-08-22 18:58:29] local.INFO: Packet analysis {"connection_id":159986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a7"} 
[2026-08-22 18:58:29] local.INFO: Extracted packet for processing {"connection_id":159986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a7"} 
[2026-08-22 18:58:29] local.INFO: GPS Element Parsed {"raw_longitude":755517440,"raw_latitude":119944392,"longitude_deg":75.551744,"latitude_deg":11.9944392,"altitude":33,"angle":31,"satellites":25,"speed":18,"hex_longitude":"2d084800","hex_latitude":"072634c8","is_valid_coordinates":true} 
[2026-08-22 18:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575734016001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14873317127225344,"note":"Value kept but may cause issues"} 
[2026-08-22 18:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":595882556401967104,"note":"Value kept but may cause issues"} 
[2026-08-22 18:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 18:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787405214000,"timestamp_ms":1787405214000,"timestamp_seconds":1787405214,"priority":1,"record_length":96,"hex_timestamp":"000001a029a72130"} 
[2026-08-22 18:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 18:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-22 18:58:29] 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-22 18:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 18:58:29] 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-22 18:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 18:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 18:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575734016001,"66":13722,"237":206,"83":44288,"24":18,"16":14873317127225344,"45":595882556401967104},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 18:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 18:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 18:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575734016001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:58:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 18:58:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 18:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14873317127225344,"km_value":14873317127225.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":595882556401967104,"description":"Unknown IO ID 45"} 
[2026-08-22 18:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575734016001,"power":13722,"unknown_237":206,"unknown_83":44288,"ignition":18,"odometer":null,"unknown_45":595882556401967104}} 
[2026-08-22 18:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":159986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:58:29] local.INFO: GPS data processed {"connection_id":159986,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:58:29] local.INFO: Acknowledgment sent {"connection_id":159986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:58:37] local.INFO: TCP Data received {"connection_id":161156,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a7bd70012d81bd8005d5c910000901041c..."} 
[2026-08-22 18:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a7bd70012d81bd8005d5c910000901041c..."} 
[2026-08-22 18:58:37] local.INFO: Processing buffer {"connection_id":161156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a7bd70012d81bd8005d5c910000901041c..."} 
[2026-08-22 18:58:37] local.INFO: Packet analysis {"connection_id":161156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a7"} 
[2026-08-22 18:58:37] local.INFO: Extracted packet for processing {"connection_id":161156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a7"} 
[2026-08-22 18:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763477376,"raw_latitude":97896720,"longitude_deg":76.3477376,"latitude_deg":9.789672,"altitude":9,"angle":260,"satellites":28,"speed":24,"hex_longitude":"2d81bd80","hex_latitude":"05d5c910","is_valid_coordinates":true} 
[2026-08-22 18:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575742208001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122346129156210688,"note":"Value kept but may cause issues"} 
[2026-08-22 18:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9087489966785904640,"note":"Value kept but may cause issues"} 
[2026-08-22 18:58:37] 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-22 18:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787405254000,"timestamp_ms":1787405254000,"timestamp_seconds":1787405254,"priority":1,"record_length":96,"hex_timestamp":"000001a029a7bd70"} 
[2026-08-22 18:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:58:37] 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-22 18:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-22 18:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1061,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:58:37] 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-22 18:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575742208001,"66":11743,"157":206,"85":15104,"24":24,"16":122346129156210688,"45":-9087489966785904640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-22 18:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575742208001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:58:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 18:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122346129156210688,"km_value":122346129156210.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9087489966785904640,"description":"Unknown IO ID 45"} 
[2026-08-22 18:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575742208001,"power":11743,"unknown_157":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9087489966785904640}} 
[2026-08-22 18:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":161156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:58:37] local.INFO: GPS data processed {"connection_id":161156,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:58:37] local.INFO: Acknowledgment sent {"connection_id":161156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:58:48] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:58:48] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:58:48] local.INFO: IMEI packet received {"connection_id":160210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":160210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:58:51] local.INFO: TCP Data received {"connection_id":162570,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:58:51] local.INFO: Processing buffer {"connection_id":162570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:58:51] local.INFO: IMEI packet received {"connection_id":162570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 18:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":162570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:58:52] local.INFO: TCP Data received {"connection_id":162570,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:58:52] local.INFO: Processing buffer {"connection_id":162570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:58:52] local.INFO: IMEI packet received {"connection_id":162570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":162570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:58:52] local.INFO: TCP Data received {"connection_id":162570,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:58:52] local.INFO: Processing buffer {"connection_id":162570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:58:52] local.INFO: IMEI packet received {"connection_id":162570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":162570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:58:53] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:58:53] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:58:53] local.INFO: IMEI packet received {"connection_id":160210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":160210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:58:54] local.INFO: TCP Data received {"connection_id":162570,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:58:54] local.INFO: Processing buffer {"connection_id":162570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 18:58:54] local.INFO: IMEI packet received {"connection_id":162570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 18:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":162570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:58:54] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 18:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 18:58:54] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 18:58:54] local.INFO: Packet analysis {"connection_id":160210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 18:58:54] local.INFO: Extracted packet for processing {"connection_id":160210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 18:58:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 18: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-22 18:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575645440001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 18:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412234240,"note":"Value kept but may cause issues"} 
[2026-08-22 18:58:54] 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-22 18:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787405171000,"timestamp_ms":1787405171000,"timestamp_seconds":1787405171,"priority":1,"record_length":96,"hex_timestamp":"000001a029a67938"} 
[2026-08-22 18: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-22 18:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 18: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 18:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18: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-22 18: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-22 18:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:58:54] 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-22 18:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575645440001,"66":26006,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412234240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 18:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575645440001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:58:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 18:58:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412234240,"description":"Unknown IO ID 45"} 
[2026-08-22 18:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575645440001,"power":26006,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412234240}} 
[2026-08-22 18:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":160210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:58:54] local.INFO: GPS data processed {"connection_id":160210,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:58:54] local.INFO: Acknowledgment sent {"connection_id":160210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:59:00] local.INFO: TCP Data received {"connection_id":161157,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:59:00] local.INFO: Processing buffer {"connection_id":161157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:59:00] local.INFO: IMEI packet received {"connection_id":161157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 18:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":161157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:59:05] local.INFO: TCP Data received {"connection_id":161157,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:59:05] local.INFO: Processing buffer {"connection_id":161157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 18:59:05] local.INFO: IMEI packet received {"connection_id":161157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 18:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":161157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:59:06] local.INFO: TCP Data received {"connection_id":161157,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a8afa0012d81b28005d52fe8000700b21c..."} 
[2026-08-22 18:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a8afa0012d81b28005d52fe8000700b21c..."} 
[2026-08-22 18:59:06] local.INFO: Processing buffer {"connection_id":161157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a8afa0012d81b28005d52fe8000700b21c..."} 
[2026-08-22 18:59:06] local.INFO: Packet analysis {"connection_id":161157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a8"} 
[2026-08-22 18:59:06] local.INFO: Extracted packet for processing {"connection_id":161157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a8"} 
[2026-08-22 18:59:06] local.INFO: GPS Element Parsed {"raw_longitude":763474560,"raw_latitude":97857512,"longitude_deg":76.347456,"latitude_deg":9.7857512,"altitude":7,"angle":178,"satellites":28,"speed":30,"hex_longitude":"2d81b280","hex_latitude":"05d52fe8","is_valid_coordinates":true} 
[2026-08-22 18:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575759616001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122348096251232256,"note":"Value kept but may cause issues"} 
[2026-08-22 18:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099452653305296896,"note":"Value kept but may cause issues"} 
[2026-08-22 18:59:06] 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-22 18:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787405316000,"timestamp_ms":1787405316000,"timestamp_seconds":1787405316,"priority":1,"record_length":96,"hex_timestamp":"000001a029a8afa0"} 
[2026-08-22 18:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:59: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-22 18:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-22 18:59:06] 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-22 18:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:59:06] 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-22 18:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575759616001,"66":11928,"165":206,"85":15104,"24":30,"16":122348096251232256,"45":-9099452653305296896},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-22 18:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575759616001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:59:06] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-22 18:59:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122348096251232256,"km_value":122348096251232.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099452653305296896,"description":"Unknown IO ID 45"} 
[2026-08-22 18:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575759616001,"power":11928,"unknown_165":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9099452653305296896}} 
[2026-08-22 18:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":161157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:59:06] local.INFO: GPS data processed {"connection_id":161157,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:59:06] local.INFO: Acknowledgment sent {"connection_id":161157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:59:26] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 18:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 18:59:26] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 18:59:26] local.INFO: Packet analysis {"connection_id":160210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 18:59:26] local.INFO: Extracted packet for processing {"connection_id":160210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 18:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 18:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575645440001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 18:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412234240,"note":"Value kept but may cause issues"} 
[2026-08-22 18:59: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-22 18:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787405171000,"timestamp_ms":1787405171000,"timestamp_seconds":1787405171,"priority":1,"record_length":96,"hex_timestamp":"000001a029a67938"} 
[2026-08-22 18:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:59: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-22 18:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 18:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:59:26] 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-22 18:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575645440001,"66":26006,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412234240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 18:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575645440001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:59:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 18:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412234240,"description":"Unknown IO ID 45"} 
[2026-08-22 18:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575645440001,"power":26006,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412234240}} 
[2026-08-22 18:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":160210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:59:26] local.INFO: GPS data processed {"connection_id":160210,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:59:26] local.INFO: Acknowledgment sent {"connection_id":160210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:59:37] local.INFO: TCP Data received {"connection_id":161157,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029a96350012d819d0005d4aef0000b00d01c..."} 
[2026-08-22 18:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a96350012d819d0005d4aef0000b00d01c..."} 
[2026-08-22 18:59:37] local.INFO: Processing buffer {"connection_id":161157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a96350012d819d0005d4aef0000b00d01c..."} 
[2026-08-22 18:59:37] local.INFO: Packet analysis {"connection_id":161157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a9"} 
[2026-08-22 18:59:37] local.INFO: Extracted packet for processing {"connection_id":161157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a9"} 
[2026-08-22 18:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763469056,"raw_latitude":97824496,"longitude_deg":76.3469056,"latitude_deg":9.7824496,"altitude":11,"angle":208,"satellites":28,"speed":21,"hex_longitude":"2d819d00","hex_latitude":"05d4aef0","is_valid_coordinates":true} 
[2026-08-22 18:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575772416001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122350067641221120,"note":"Value kept but may cause issues"} 
[2026-08-22 18:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106771002709202944,"note":"Value kept but may cause issues"} 
[2026-08-22 18:59:37] 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-22 18:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787405362000,"timestamp_ms":1787405362000,"timestamp_seconds":1787405362,"priority":1,"record_length":96,"hex_timestamp":"000001a029a96350"} 
[2026-08-22 18:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:59:37] 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-22 18:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 18:59:37] 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-22 18:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 18:59:37] 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-22 18:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 18:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 18:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575772416001,"66":11743,"165":206,"85":15104,"24":21,"16":122350067641221120,"45":-9106771002709202944},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-22 18:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 18:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 18:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575772416001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:59:37] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-22 18:59:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 18:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122350067641221120,"km_value":122350067641221.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106771002709202944,"description":"Unknown IO ID 45"} 
[2026-08-22 18:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575772416001,"power":11743,"unknown_165":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9106771002709202944}} 
[2026-08-22 18:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":161157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:59:37] local.INFO: GPS data processed {"connection_id":161157,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:59:37] local.INFO: Acknowledgment sent {"connection_id":161157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 18:59:48] local.INFO: TCP Data received {"connection_id":160211,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:59:48] local.INFO: Processing buffer {"connection_id":160211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:59:48] local.INFO: IMEI packet received {"connection_id":160211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 18:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":160211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 18:59:53] local.INFO: TCP Data received {"connection_id":160211,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:59:53] local.INFO: Processing buffer {"connection_id":160211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 18:59:53] local.INFO: IMEI packet received {"connection_id":160211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 18:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":160211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 18:59:55] local.INFO: TCP Data received {"connection_id":160211,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 18:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 18:59:55] local.INFO: Processing buffer {"connection_id":160211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 18:59:55] local.INFO: Packet analysis {"connection_id":160211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 18:59:55] local.INFO: Extracted packet for processing {"connection_id":160211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 18:59:55] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 18:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 18:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575645440001,"note":"Value kept but may cause issues"} 
[2026-08-22 18:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 18:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412234240,"note":"Value kept but may cause issues"} 
[2026-08-22 18:59:55] 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-22 18:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787405171000,"timestamp_ms":1787405171000,"timestamp_seconds":1787405171,"priority":1,"record_length":96,"hex_timestamp":"000001a029a67938"} 
[2026-08-22 18:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 18:59: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-22 18:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 18:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 18:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 18:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 18:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 18:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 18:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 18:59:55] 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-22 18:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 18:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 18:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575645440001,"66":26006,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412234240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 18:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 18:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 18:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575645440001,"description":"Unknown IO ID 0"} 
[2026-08-22 18:59:55] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 18:59:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 18:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 18:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412234240,"description":"Unknown IO ID 45"} 
[2026-08-22 18:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575645440001,"power":26006,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412234240}} 
[2026-08-22 18:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":160211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 18:59:55] local.INFO: GPS data processed {"connection_id":160211,"processed":1,"errors":0,"total":1} 
[2026-08-22 18:59:55] local.INFO: Acknowledgment sent {"connection_id":160211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:00:00] local.INFO: TCP Data received {"connection_id":162571,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:00:00] local.INFO: Processing buffer {"connection_id":162571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:00:00] local.INFO: IMEI packet received {"connection_id":162571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":162571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:00:03] local.INFO: TCP Data received {"connection_id":162571,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:00:03] local.INFO: Processing buffer {"connection_id":162571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:00:03] local.INFO: IMEI packet received {"connection_id":162571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":162571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:00:03] local.INFO: TCP Data received {"connection_id":162571,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:00:03] local.INFO: Processing buffer {"connection_id":162571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:00:03] local.INFO: IMEI packet received {"connection_id":162571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":162571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:00:04] local.INFO: TCP Data received {"connection_id":162571,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:00:04] local.INFO: Processing buffer {"connection_id":162571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:00:04] local.INFO: IMEI packet received {"connection_id":162571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":162571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:00:26] local.INFO: TCP Data received {"connection_id":160211,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:00:26] local.INFO: Processing buffer {"connection_id":160211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:00:26] local.INFO: Packet analysis {"connection_id":160211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 19:00:26] local.INFO: Extracted packet for processing {"connection_id":160211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 19:00:26] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575645440001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412234240,"note":"Value kept but may cause issues"} 
[2026-08-22 19:00: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-22 19:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787405171000,"timestamp_ms":1787405171000,"timestamp_seconds":1787405171,"priority":1,"record_length":96,"hex_timestamp":"000001a029a67938"} 
[2026-08-22 19: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-22 19:00: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-22 19: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 19:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:00:26] 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-22 19:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575645440001,"66":26006,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412234240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575645440001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:00:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:00:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412234240,"description":"Unknown IO ID 45"} 
[2026-08-22 19:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575645440001,"power":26006,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412234240}} 
[2026-08-22 19:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":160211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:00:26] local.INFO: GPS data processed {"connection_id":160211,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:00:26] local.INFO: Acknowledgment sent {"connection_id":160211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:00:48] local.INFO: TCP Data received {"connection_id":162572,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:00:48] local.INFO: Processing buffer {"connection_id":162572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:00:48] local.INFO: IMEI packet received {"connection_id":162572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":162572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:00:53] local.INFO: TCP Data received {"connection_id":162572,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:00:53] local.INFO: Processing buffer {"connection_id":162572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:00:53] local.INFO: IMEI packet received {"connection_id":162572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":162572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:00:55] local.INFO: TCP Data received {"connection_id":162572,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:00:55] local.INFO: Processing buffer {"connection_id":162572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:00:55] local.INFO: Packet analysis {"connection_id":162572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 19:00:55] local.INFO: Extracted packet for processing {"connection_id":162572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 19:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575645440001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412234240,"note":"Value kept but may cause issues"} 
[2026-08-22 19:00:55] 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-22 19:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787405171000,"timestamp_ms":1787405171000,"timestamp_seconds":1787405171,"priority":1,"record_length":96,"hex_timestamp":"000001a029a67938"} 
[2026-08-22 19:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:00: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-22 19:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 19:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:00:55] 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-22 19:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575645440001,"66":26006,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412234240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575645440001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:00:55] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412234240,"description":"Unknown IO ID 45"} 
[2026-08-22 19:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575645440001,"power":26006,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412234240}} 
[2026-08-22 19:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":162572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:00:55] local.INFO: GPS data processed {"connection_id":162572,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:00:55] local.INFO: Acknowledgment sent {"connection_id":162572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:01:26] local.INFO: TCP Data received {"connection_id":162572,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:01:26] local.INFO: Processing buffer {"connection_id":162572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029a67938012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:01:26] local.INFO: Packet analysis {"connection_id":162572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 19:01:26] local.INFO: Extracted packet for processing {"connection_id":162572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029a6"} 
[2026-08-22 19:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575645440001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412234240,"note":"Value kept but may cause issues"} 
[2026-08-22 19:01: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-22 19:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787405171000,"timestamp_ms":1787405171000,"timestamp_seconds":1787405171,"priority":1,"record_length":96,"hex_timestamp":"000001a029a67938"} 
[2026-08-22 19: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-22 19: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-22 19: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 19:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:01:26] 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-22 19:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575645440001,"66":26006,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412234240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575645440001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:01:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412234240,"description":"Unknown IO ID 45"} 
[2026-08-22 19:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575645440001,"power":26006,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412234240}} 
[2026-08-22 19:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":162572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:01:26] local.INFO: GPS data processed {"connection_id":162572,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:01:26] local.INFO: Acknowledgment sent {"connection_id":162572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:01:48] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:01:48] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:01:48] local.INFO: IMEI packet received {"connection_id":159988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":159988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:01:50] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:01:50] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:01:50] local.INFO: IMEI packet received {"connection_id":159988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":159988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:01:53] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:01:53] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:01:53] local.INFO: IMEI packet received {"connection_id":159988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":159988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:01:54] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:01:54] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:01:54] local.INFO: Packet analysis {"connection_id":159988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:01:54] local.INFO: Extracted packet for processing {"connection_id":159988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575723776001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:01:54] 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-22 19:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787405472000,"timestamp_ms":1787405472000,"timestamp_seconds":1787405472,"priority":1,"record_length":96,"hex_timestamp":"000001a029ab1100"} 
[2026-08-22 19:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:01:54] 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-22 19:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:01:54] 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-22 19:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575723776001,"66":25962,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575723776001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:01:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:01:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575723776001,"power":25962,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":159988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:01:54] local.INFO: GPS data processed {"connection_id":159988,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:01:54] local.INFO: Acknowledgment sent {"connection_id":159988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:02:25] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:02:25] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:02:25] local.INFO: Packet analysis {"connection_id":159988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:02:25] local.INFO: Extracted packet for processing {"connection_id":159988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:02:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575723776001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:02: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-22 19:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787405472000,"timestamp_ms":1787405472000,"timestamp_seconds":1787405472,"priority":1,"record_length":96,"hex_timestamp":"000001a029ab1100"} 
[2026-08-22 19:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19: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-22 19:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:02: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-22 19:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:02: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-22 19:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575723776001,"66":25962,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575723776001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:02:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:02:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575723776001,"power":25962,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":159988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:02:25] local.INFO: GPS data processed {"connection_id":159988,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:02:25] local.INFO: Acknowledgment sent {"connection_id":159988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:02:53] local.INFO: TCP Data received {"connection_id":161159,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:02:53] local.INFO: Processing buffer {"connection_id":161159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:02:53] local.INFO: IMEI packet received {"connection_id":161159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":161159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:02:58] local.INFO: TCP Data received {"connection_id":161159,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:02:58] local.INFO: Processing buffer {"connection_id":161159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:02:58] local.INFO: IMEI packet received {"connection_id":161159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":161159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:02:59] local.INFO: TCP Data received {"connection_id":161159,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:02:59] local.INFO: Processing buffer {"connection_id":161159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:02:59] local.INFO: Packet analysis {"connection_id":161159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:02:59] local.INFO: Extracted packet for processing {"connection_id":161159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575723776001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:02:59] 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-22 19:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787405472000,"timestamp_ms":1787405472000,"timestamp_seconds":1787405472,"priority":1,"record_length":96,"hex_timestamp":"000001a029ab1100"} 
[2026-08-22 19: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-22 19:02: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-22 19: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":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:02: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-22 19: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-22 19: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-22 19:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:02: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-22 19:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575723776001,"66":25962,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575723776001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:02:59] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:02:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575723776001,"power":25962,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":161159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:02:59] local.INFO: GPS data processed {"connection_id":161159,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:02:59] local.INFO: Acknowledgment sent {"connection_id":161159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:03:04] local.INFO: TCP Data received {"connection_id":161159,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:03:04] local.INFO: Processing buffer {"connection_id":161159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:03:04] local.INFO: Packet analysis {"connection_id":161159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:03:04] local.INFO: Extracted packet for processing {"connection_id":161159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575723776001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:03:04] 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-22 19:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787405472000,"timestamp_ms":1787405472000,"timestamp_seconds":1787405472,"priority":1,"record_length":96,"hex_timestamp":"000001a029ab1100"} 
[2026-08-22 19:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:03: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-22 19:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:03: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-22 19:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575723776001,"66":25962,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575723776001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:03:04] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575723776001,"power":25962,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":161159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:03:04] local.INFO: GPS data processed {"connection_id":161159,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:03:04] local.INFO: Acknowledgment sent {"connection_id":161159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:03:48] local.INFO: TCP Data received {"connection_id":160214,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:03:48] local.INFO: Processing buffer {"connection_id":160214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:03:48] local.INFO: IMEI packet received {"connection_id":160214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":160214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:03:53] local.INFO: TCP Data received {"connection_id":160214,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:03:53] local.INFO: Processing buffer {"connection_id":160214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:03:53] local.INFO: IMEI packet received {"connection_id":160214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":160214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:03:54] local.INFO: TCP Data received {"connection_id":160214,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:03:54] local.INFO: Processing buffer {"connection_id":160214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:03:54] local.INFO: Packet analysis {"connection_id":160214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:03:54] local.INFO: Extracted packet for processing {"connection_id":160214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575723776001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:03:54] 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-22 19:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787405472000,"timestamp_ms":1787405472000,"timestamp_seconds":1787405472,"priority":1,"record_length":96,"hex_timestamp":"000001a029ab1100"} 
[2026-08-22 19:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:03:54] 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-22 19:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:03:54] 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-22 19:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575723776001,"66":25962,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575723776001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:03:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:03:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575723776001,"power":25962,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":160214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:03:54] local.INFO: GPS data processed {"connection_id":160214,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:03:54] local.INFO: Acknowledgment sent {"connection_id":160214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:03:57] local.INFO: TCP Data received {"connection_id":161160,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:03:57] local.INFO: Processing buffer {"connection_id":161160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:03:57] local.INFO: IMEI packet received {"connection_id":161160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":161160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:03:58] local.INFO: TCP Data received {"connection_id":161160,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029aad280012d0903c00726ecd0002100881f..."} 
[2026-08-22 19:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029aad280012d0903c00726ecd0002100881f..."} 
[2026-08-22 19:03:58] local.INFO: Processing buffer {"connection_id":161160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029aad280012d0903c00726ecd0002100881f..."} 
[2026-08-22 19:03:58] local.INFO: Packet analysis {"connection_id":161160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029aa"} 
[2026-08-22 19:03:58] local.INFO: Extracted packet for processing {"connection_id":161160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029aa"} 
[2026-08-22 19:03:58] local.INFO: GPS Element Parsed {"raw_longitude":755565504,"raw_latitude":119991504,"longitude_deg":75.5565504,"latitude_deg":11.9991504,"altitude":33,"angle":136,"satellites":31,"speed":0,"hex_longitude":"2d0903c0","hex_latitude":"0726ecd0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575791360001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14877216957530112,"note":"Value kept but may cause issues"} 
[2026-08-22 19:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":647603583385380864,"note":"Value kept but may cause issues"} 
[2026-08-22 19:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787405456000,"timestamp_ms":1787405456000,"timestamp_seconds":1787405456,"priority":1,"record_length":96,"hex_timestamp":"000001a029aad280"} 
[2026-08-22 19: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-22 19:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 19:03:58] 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-22 19: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-22 19: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-22 19:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:03: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-22 19:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575791360001,"66":13656,"237":206,"83":44288,"24":0,"16":14877216957530112,"45":647603583385380864},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 19:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575791360001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:03:58] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 19:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14877216957530112,"km_value":14877216957530.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":647603583385380864,"description":"Unknown IO ID 45"} 
[2026-08-22 19:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575791360001,"power":13656,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":647603583385380864}} 
[2026-08-22 19:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":161160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:03:58] local.INFO: GPS data processed {"connection_id":161160,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:03:58] local.INFO: Acknowledgment sent {"connection_id":161160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:04:25] local.INFO: TCP Data received {"connection_id":160214,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:04:25] local.INFO: Processing buffer {"connection_id":160214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:04:25] local.INFO: Packet analysis {"connection_id":160214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:04:25] local.INFO: Extracted packet for processing {"connection_id":160214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:04:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575723776001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:04: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-22 19:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787405472000,"timestamp_ms":1787405472000,"timestamp_seconds":1787405472,"priority":1,"record_length":96,"hex_timestamp":"000001a029ab1100"} 
[2026-08-22 19: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-22 19: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-22 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:04: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-22 19: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-22 19: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-22 19:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:04: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-22 19:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575723776001,"66":25962,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575723776001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:04:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:04:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575723776001,"power":25962,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":160214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:04:25] local.INFO: GPS data processed {"connection_id":160214,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:04:25] local.INFO: Acknowledgment sent {"connection_id":160214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:04:29] local.INFO: TCP Data received {"connection_id":161160,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029ad5320012d0904800726e9b80018013021..."} 
[2026-08-22 19:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ad5320012d0904800726e9b80018013021..."} 
[2026-08-22 19:04:29] local.INFO: Processing buffer {"connection_id":161160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ad5320012d0904800726e9b80018013021..."} 
[2026-08-22 19:04:29] local.INFO: Packet analysis {"connection_id":161160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ad"} 
[2026-08-22 19:04:29] local.INFO: Extracted packet for processing {"connection_id":161160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ad"} 
[2026-08-22 19:04:29] local.INFO: GPS Element Parsed {"raw_longitude":755565696,"raw_latitude":119990712,"longitude_deg":75.5565696,"latitude_deg":11.9990712,"altitude":24,"angle":304,"satellites":33,"speed":1,"hex_longitude":"2d090480","hex_latitude":"0726e9b8","is_valid_coordinates":true} 
[2026-08-22 19:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575837696001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14877311446810624,"note":"Value kept but may cause issues"} 
[2026-08-22 19:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":649996120686721024,"note":"Value kept but may cause issues"} 
[2026-08-22 19:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787405620000,"timestamp_ms":1787405620000,"timestamp_seconds":1787405620,"priority":1,"record_length":96,"hex_timestamp":"000001a029ad5320"} 
[2026-08-22 19:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-22 19:04:29] 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-22 19:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:04:29] 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-22 19:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575837696001,"66":13656,"237":206,"83":44288,"24":1,"16":14877311446810624,"45":649996120686721024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 19:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575837696001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:04:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 19:04:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14877311446810624,"km_value":14877311446810.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":649996120686721024,"description":"Unknown IO ID 45"} 
[2026-08-22 19:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575837696001,"power":13656,"unknown_237":206,"unknown_83":44288,"ignition":1,"odometer":null,"unknown_45":649996120686721024}} 
[2026-08-22 19:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":161160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:04:29] local.INFO: GPS data processed {"connection_id":161160,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:04:29] local.INFO: Acknowledgment sent {"connection_id":161160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:04:49] local.INFO: TCP Data received {"connection_id":162577,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:04:49] local.INFO: Processing buffer {"connection_id":162577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:04:49] local.INFO: IMEI packet received {"connection_id":162577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":162577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:04:53] local.INFO: TCP Data received {"connection_id":162577,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:04:53] local.INFO: Processing buffer {"connection_id":162577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:04:53] local.INFO: IMEI packet received {"connection_id":162577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":162577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:04:54] local.INFO: TCP Data received {"connection_id":160215,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:04:54] local.INFO: Processing buffer {"connection_id":160215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:04:54] local.INFO: IMEI packet received {"connection_id":160215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":160215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:04:54] local.INFO: TCP Data received {"connection_id":162577,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:04:54] local.INFO: Processing buffer {"connection_id":162577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:04:54] local.INFO: Packet analysis {"connection_id":162577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:04:54] local.INFO: Extracted packet for processing {"connection_id":162577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:04:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575723776001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:04:54] 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-22 19:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787405472000,"timestamp_ms":1787405472000,"timestamp_seconds":1787405472,"priority":1,"record_length":96,"hex_timestamp":"000001a029ab1100"} 
[2026-08-22 19: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-22 19:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:04:54] 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-22 19:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19: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-22 19:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:04: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-22 19:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575723776001,"66":25962,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575723776001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:04:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:04:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575723776001,"power":25962,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":162577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:04:54] local.INFO: GPS data processed {"connection_id":162577,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:04:54] local.INFO: Acknowledgment sent {"connection_id":162577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:04:55] local.INFO: TCP Data received {"connection_id":160215,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:04:55] local.INFO: Processing buffer {"connection_id":160215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:04:55] local.INFO: IMEI packet received {"connection_id":160215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":160215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:04:56] local.INFO: TCP Data received {"connection_id":160215,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029ad5ed8012d0904400726e9f00018013c22..."} 
[2026-08-22 19:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ad5ed8012d0904400726e9f00018013c22..."} 
[2026-08-22 19:04:56] local.INFO: Processing buffer {"connection_id":160215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ad5ed8012d0904400726e9f00018013c22..."} 
[2026-08-22 19:04:56] local.INFO: Packet analysis {"connection_id":160215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ad"} 
[2026-08-22 19:04:56] local.INFO: Extracted packet for processing {"connection_id":160215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ad"} 
[2026-08-22 19:04:56] local.INFO: GPS Element Parsed {"raw_longitude":755565632,"raw_latitude":119990768,"longitude_deg":75.5565632,"latitude_deg":11.9990768,"altitude":24,"angle":316,"satellites":34,"speed":0,"hex_longitude":"2d090440","hex_latitude":"0726e9f0","is_valid_coordinates":true} 
[2026-08-22 19:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575838720001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14877315741777920,"note":"Value kept but may cause issues"} 
[2026-08-22 19:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":649785014454171648,"note":"Value kept but may cause issues"} 
[2026-08-22 19:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787405623000,"timestamp_ms":1787405623000,"timestamp_seconds":1787405623,"priority":1,"record_length":96,"hex_timestamp":"000001a029ad5ed8"} 
[2026-08-22 19:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:04:56] 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-22 19:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-22 19:04:56] 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-22 19:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:04:56] 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-22 19:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575838720001,"66":13678,"237":206,"83":44288,"24":0,"16":14877315741777920,"45":649785014454171648},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 19:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575838720001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:04:56] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 19:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14877315741777920,"km_value":14877315741777.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":649785014454171648,"description":"Unknown IO ID 45"} 
[2026-08-22 19:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575838720001,"power":13678,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":649785014454171648}} 
[2026-08-22 19:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":160215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:04:56] local.INFO: GPS data processed {"connection_id":160215,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:04:56] local.INFO: Acknowledgment sent {"connection_id":160215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:04:57] local.INFO: TCP Data received {"connection_id":160215,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029ad6e78012d0903000726eb580019014922..."} 
[2026-08-22 19:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ad6e78012d0903000726eb580019014922..."} 
[2026-08-22 19:04:57] local.INFO: Processing buffer {"connection_id":160215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ad6e78012d0903000726eb580019014922..."} 
[2026-08-22 19:04:57] local.INFO: Packet analysis {"connection_id":160215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ad"} 
[2026-08-22 19:04:57] local.INFO: Extracted packet for processing {"connection_id":160215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ad"} 
[2026-08-22 19:04:57] local.INFO: GPS Element Parsed {"raw_longitude":755565312,"raw_latitude":119991128,"longitude_deg":75.5565312,"latitude_deg":11.9991128,"altitude":25,"angle":329,"satellites":34,"speed":7,"hex_longitude":"2d090300","hex_latitude":"0726eb58","is_valid_coordinates":true} 
[2026-08-22 19:04: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-22 19:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575839488001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14877341511581696,"note":"Value kept but may cause issues"} 
[2026-08-22 19:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":649714645710008320,"note":"Value kept but may cause issues"} 
[2026-08-22 19:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787405627000,"timestamp_ms":1787405627000,"timestamp_seconds":1787405627,"priority":1,"record_length":96,"hex_timestamp":"000001a029ad6e78"} 
[2026-08-22 19:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-22 19:04:57] 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-22 19:04: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-22 19:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:04:57] 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-22 19:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575839488001,"66":13537,"237":206,"83":44288,"24":7,"16":14877341511581696,"45":649714645710008320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 19:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575839488001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:04:57] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 19:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14877341511581696,"km_value":14877341511581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":649714645710008320,"description":"Unknown IO ID 45"} 
[2026-08-22 19:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575839488001,"power":13537,"unknown_237":206,"unknown_83":44288,"ignition":7,"odometer":null,"unknown_45":649714645710008320}} 
[2026-08-22 19:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":160215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:04:57] local.INFO: GPS data processed {"connection_id":160215,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:04:57] local.INFO: Acknowledgment sent {"connection_id":160215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:05:05] local.INFO: TCP Data received {"connection_id":161161,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:05:05] local.INFO: Processing buffer {"connection_id":161161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:05:05] local.INFO: IMEI packet received {"connection_id":161161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":161161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:05:06] local.INFO: TCP Data received {"connection_id":161161,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029adf730012d82894005d2e5d8001000ae1c..."} 
[2026-08-22 19:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029adf730012d82894005d2e5d8001000ae1c..."} 
[2026-08-22 19:05:06] local.INFO: Processing buffer {"connection_id":161161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029adf730012d82894005d2e5d8001000ae1c..."} 
[2026-08-22 19:05:06] local.INFO: Packet analysis {"connection_id":161161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ad"} 
[2026-08-22 19:05:06] local.INFO: Extracted packet for processing {"connection_id":161161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ad"} 
[2026-08-22 19:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763529536,"raw_latitude":97707480,"longitude_deg":76.3529536,"latitude_deg":9.770748,"altitude":16,"angle":174,"satellites":28,"speed":9,"hex_longitude":"2d828940","hex_latitude":"05d2e5d8","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575848448001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122358309683462144,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040554014467887104,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:06] 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-22 19:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787405662000,"timestamp_ms":1787405662000,"timestamp_seconds":1787405662,"priority":1,"record_length":96,"hex_timestamp":"000001a029adf730"} 
[2026-08-22 19: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-22 19:05:06] 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-22 19: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-22 19:05:06] 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-22 19: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-22 19: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-22 19:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:05:06] 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-22 19:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575848448001,"66":11765,"68":206,"85":15104,"24":9,"16":122358309683462144,"45":-9040554014467887104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-22 19:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575848448001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:05:06] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-22 19:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122358309683462144,"km_value":122358309683462.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040554014467887104,"description":"Unknown IO ID 45"} 
[2026-08-22 19:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575848448001,"power":11765,"unknown_68":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9040554014467887104}} 
[2026-08-22 19:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":161161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:05:06] local.INFO: GPS data processed {"connection_id":161161,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:05:06] local.INFO: Acknowledgment sent {"connection_id":161161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:05:26] local.INFO: TCP Data received {"connection_id":162577,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:05:26] local.INFO: Processing buffer {"connection_id":162577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:05:26] local.INFO: Packet analysis {"connection_id":162577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:05:26] local.INFO: Extracted packet for processing {"connection_id":162577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:05:26] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575723776001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05: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-22 19:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787405472000,"timestamp_ms":1787405472000,"timestamp_seconds":1787405472,"priority":1,"record_length":96,"hex_timestamp":"000001a029ab1100"} 
[2026-08-22 19: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-22 19:05: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-22 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:05:26] 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-22 19: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-22 19: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-22 19:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:05: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-22 19:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575723776001,"66":25962,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575723776001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:05:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:05:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575723776001,"power":25962,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":162577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:05:26] local.INFO: GPS data processed {"connection_id":162577,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:05:26] local.INFO: Acknowledgment sent {"connection_id":162577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:05:28] local.INFO: TCP Data received {"connection_id":160215,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029adc080012d08fa400726f880001b014923..."} 
[2026-08-22 19:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029adc080012d08fa400726f880001b014923..."} 
[2026-08-22 19:05:28] local.INFO: Processing buffer {"connection_id":160215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029adc080012d08fa400726f880001b014923..."} 
[2026-08-22 19:05:28] local.INFO: Packet analysis {"connection_id":160215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ad"} 
[2026-08-22 19:05:28] local.INFO: Extracted packet for processing {"connection_id":160215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ad"} 
[2026-08-22 19:05:28] local.INFO: GPS Element Parsed {"raw_longitude":755563072,"raw_latitude":119994496,"longitude_deg":75.5563072,"latitude_deg":11.9994496,"altitude":27,"angle":329,"satellites":35,"speed":8,"hex_longitude":"2d08fa40","hex_latitude":"0726f880","is_valid_coordinates":true} 
[2026-08-22 19:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575840512001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14877539080077312,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":649362801989212160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787405648000,"timestamp_ms":1787405648000,"timestamp_seconds":1787405648,"priority":1,"record_length":96,"hex_timestamp":"000001a029adc080"} 
[2026-08-22 19:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-22 19:05:28] 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-22 19:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:05:28] 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-22 19:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575840512001,"66":13689,"237":206,"83":44288,"24":8,"16":14877539080077312,"45":649362801989212160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 19:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575840512001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:05:28] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 19:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14877539080077312,"km_value":14877539080077.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":649362801989212160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575840512001,"power":13689,"unknown_237":206,"unknown_83":44288,"ignition":8,"odometer":null,"unknown_45":649362801989212160}} 
[2026-08-22 19:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":160215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:05:28] local.INFO: GPS data processed {"connection_id":160215,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:05:28] local.INFO: Acknowledgment sent {"connection_id":160215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:05:38] local.INFO: TCP Data received {"connection_id":161161,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ae02e8012d828a0005d2e218001100a21c..."} 
[2026-08-22 19:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ae02e8012d828a0005d2e218001100a21c..."} 
[2026-08-22 19:05:38] local.INFO: Processing buffer {"connection_id":161161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ae02e8012d828a0005d2e218001100a21c..."} 
[2026-08-22 19:05:38] local.INFO: Packet analysis {"connection_id":161161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ae"} 
[2026-08-22 19:05:38] local.INFO: Extracted packet for processing {"connection_id":161161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ae"} 
[2026-08-22 19:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763529728,"raw_latitude":97706520,"longitude_deg":76.3529728,"latitude_deg":9.770652,"altitude":17,"angle":162,"satellites":28,"speed":14,"hex_longitude":"2d828a00","hex_latitude":"05d2e218","is_valid_coordinates":true} 
[2026-08-22 19:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575849472001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122358361223069696,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040624383212267520,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:38] 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-22 19:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787405665000,"timestamp_ms":1787405665000,"timestamp_seconds":1787405665,"priority":1,"record_length":96,"hex_timestamp":"000001a029ae02e8"} 
[2026-08-22 19:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:05:38] 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-22 19:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-22 19:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:05: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-22 19:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575849472001,"66":11700,"68":206,"85":15104,"24":14,"16":122358361223069696,"45":-9040624383212267520},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-22 19:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575849472001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:05:38] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-22 19:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122358361223069696,"km_value":122358361223069.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040624383212267520,"description":"Unknown IO ID 45"} 
[2026-08-22 19:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575849472001,"power":11700,"unknown_68":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9040624383212267520}} 
[2026-08-22 19:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":161161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:05:38] local.INFO: GPS data processed {"connection_id":161161,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:05:38] local.INFO: Acknowledgment sent {"connection_id":161161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:05:48] local.INFO: TCP Data received {"connection_id":160216,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:05:48] local.INFO: Processing buffer {"connection_id":160216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:05:48] local.INFO: IMEI packet received {"connection_id":160216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":160216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:05:52] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:05:52] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:05:52] local.INFO: IMEI packet received {"connection_id":160217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":160217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:05:53] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:05:53] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:05:53] local.INFO: IMEI packet received {"connection_id":160217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":160217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:05:53] local.INFO: TCP Data received {"connection_id":160216,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:05:53] local.INFO: Processing buffer {"connection_id":160216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:05:53] local.INFO: IMEI packet received {"connection_id":160216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":160216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:05:54] local.INFO: TCP Data received {"connection_id":160216,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:05:54] local.INFO: Processing buffer {"connection_id":160216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:05:54] local.INFO: Packet analysis {"connection_id":160216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:05:54] local.INFO: Extracted packet for processing {"connection_id":160216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:05:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575723776001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:54] 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-22 19:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787405472000,"timestamp_ms":1787405472000,"timestamp_seconds":1787405472,"priority":1,"record_length":96,"hex_timestamp":"000001a029ab1100"} 
[2026-08-22 19: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-22 19:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:05:54] 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-22 19: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-22 19: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-22 19:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:05: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-22 19:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575723776001,"66":25962,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575723776001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:05:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:05:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575723776001,"power":25962,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":160216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:05:55] local.INFO: GPS data processed {"connection_id":160216,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:05:55] local.INFO: Acknowledgment sent {"connection_id":160216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:05:57] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:05:57] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:05:57] local.INFO: IMEI packet received {"connection_id":160217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":160217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:05:58] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029ade3a8012d08f5c00726ff300019013323..."} 
[2026-08-22 19:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ade3a8012d08f5c00726ff300019013323..."} 
[2026-08-22 19:05:58] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ade3a8012d08f5c00726ff300019013323..."} 
[2026-08-22 19:05:58] local.INFO: Packet analysis {"connection_id":160217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ad"} 
[2026-08-22 19:05:58] local.INFO: Extracted packet for processing {"connection_id":160217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ad"} 
[2026-08-22 19:05:58] local.INFO: GPS Element Parsed {"raw_longitude":755561920,"raw_latitude":119996208,"longitude_deg":75.556192,"latitude_deg":11.9996208,"altitude":25,"angle":307,"satellites":35,"speed":5,"hex_longitude":"2d08f5c0","hex_latitude":"0726ff30","is_valid_coordinates":true} 
[2026-08-22 19:05: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-22 19:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575845888001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14877637864325120,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":646899895943856128,"note":"Value kept but may cause issues"} 
[2026-08-22 19:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787405657000,"timestamp_ms":1787405657000,"timestamp_seconds":1787405657,"priority":1,"record_length":96,"hex_timestamp":"000001a029ade3a8"} 
[2026-08-22 19:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:05: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":121,"data_length":795,"current_offset":136} 
[2026-08-22 19:05:58] 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-22 19:05: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-22 19:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:05: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-22 19:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575845888001,"66":13559,"237":206,"83":44288,"24":5,"16":14877637864325120,"45":646899895943856128},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 19:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575845888001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:05:58] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 19:05:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14877637864325120,"km_value":14877637864325.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":646899895943856128,"description":"Unknown IO ID 45"} 
[2026-08-22 19:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575845888001,"power":13559,"unknown_237":206,"unknown_83":44288,"ignition":5,"odometer":null,"unknown_45":646899895943856128}} 
[2026-08-22 19:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":160217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:05:58] local.INFO: GPS data processed {"connection_id":160217,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:05:58] local.INFO: Acknowledgment sent {"connection_id":160217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:06:00] local.INFO: TCP Data received {"connection_id":159989,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:06:00] local.INFO: Processing buffer {"connection_id":159989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:06:00] local.INFO: IMEI packet received {"connection_id":159989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":159989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:06:01] local.INFO: TCP Data received {"connection_id":159989,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:06:01] local.INFO: Processing buffer {"connection_id":159989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:06:01] local.INFO: IMEI packet received {"connection_id":159989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":159989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:06:05] local.INFO: TCP Data received {"connection_id":159989,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:06:05] local.INFO: Processing buffer {"connection_id":159989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:06:05] local.INFO: IMEI packet received {"connection_id":159989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":159989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:06:06] local.INFO: TCP Data received {"connection_id":159989,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ae1a58012d828c4005d2d780001100af1c..."} 
[2026-08-22 19:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ae1a58012d828c4005d2d780001100af1c..."} 
[2026-08-22 19:06:06] local.INFO: Processing buffer {"connection_id":159989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ae1a58012d828c4005d2d780001100af1c..."} 
[2026-08-22 19:06:06] local.INFO: Packet analysis {"connection_id":159989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ae"} 
[2026-08-22 19:06:06] local.INFO: Extracted packet for processing {"connection_id":159989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ae"} 
[2026-08-22 19:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763530304,"raw_latitude":97703808,"longitude_deg":76.3530304,"latitude_deg":9.7703808,"altitude":17,"angle":175,"satellites":28,"speed":19,"hex_longitude":"2d828c40","hex_latitude":"05d2d780","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575850240001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122358494367055872,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040413276979980288,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:06] 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-22 19:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787405671000,"timestamp_ms":1787405671000,"timestamp_seconds":1787405671,"priority":1,"record_length":96,"hex_timestamp":"000001a029ae1a58"} 
[2026-08-22 19: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-22 19:06:06] 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-22 19: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-22 19:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:06:06] 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-22 19:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575850240001,"66":11787,"68":206,"85":15104,"24":19,"16":122358494367055872,"45":-9040413276979980288},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-22 19:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575850240001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:06:06] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-22 19:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122358494367055872,"km_value":122358494367055.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040413276979980288,"description":"Unknown IO ID 45"} 
[2026-08-22 19:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575850240001,"power":11787,"unknown_68":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9040413276979980288}} 
[2026-08-22 19:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":159989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:06:06] local.INFO: GPS data processed {"connection_id":159989,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:06:06] local.INFO: Acknowledgment sent {"connection_id":159989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:06:26] local.INFO: TCP Data received {"connection_id":160216,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:06:26] local.INFO: Processing buffer {"connection_id":160216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ab1100012d7fe9c005c58f80000800cf29..."} 
[2026-08-22 19:06:26] local.INFO: Packet analysis {"connection_id":160216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:06:26] local.INFO: Extracted packet for processing {"connection_id":160216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ab"} 
[2026-08-22 19:06:26] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575723776001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06: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-22 19:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787405472000,"timestamp_ms":1787405472000,"timestamp_seconds":1787405472,"priority":1,"record_length":96,"hex_timestamp":"000001a029ab1100"} 
[2026-08-22 19:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:06: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-22 19:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:06:26] 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-22 19:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:06: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-22 19:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575723776001,"66":25962,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575723776001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:06:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:06:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575723776001,"power":25962,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":160216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:06:26] local.INFO: GPS data processed {"connection_id":160216,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:06:26] local.INFO: Acknowledgment sent {"connection_id":160216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:06:32] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029af3f50012d0891000726a6a8002200d822..."} 
[2026-08-22 19:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029af3f50012d0891000726a6a8002200d822..."} 
[2026-08-22 19:06:32] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029af3f50012d0891000726a6a8002200d822..."} 
[2026-08-22 19:06:32] local.INFO: Packet analysis {"connection_id":160217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:06:32] local.INFO: Extracted packet for processing {"connection_id":160217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:06:32] local.INFO: GPS Element Parsed {"raw_longitude":755536128,"raw_latitude":119973544,"longitude_deg":75.5536128,"latitude_deg":11.9973544,"altitude":34,"angle":216,"satellites":34,"speed":22,"hex_longitude":"2d089100","hex_latitude":"0726a6a8","is_valid_coordinates":true} 
[2026-08-22 19:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575870464001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14879394505949184,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":617837604593367040,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787405746000,"timestamp_ms":1787405746000,"timestamp_seconds":1787405746,"priority":1,"record_length":96,"hex_timestamp":"000001a029af3f50"} 
[2026-08-22 19:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:06:32] 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-22 19:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 19:06:32] 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-22 19:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:06:32] 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-22 19:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575870464001,"66":12885,"237":206,"83":44288,"24":22,"16":14879394505949184,"45":617837604593367040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 19:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575870464001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:06:32] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 19:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14879394505949184,"km_value":14879394505949.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":617837604593367040,"description":"Unknown IO ID 45"} 
[2026-08-22 19:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575870464001,"power":12885,"unknown_237":206,"unknown_83":44288,"ignition":22,"odometer":null,"unknown_45":617837604593367040}} 
[2026-08-22 19:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":160217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:06:32] local.INFO: GPS data processed {"connection_id":160217,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:06:32] local.INFO: Acknowledgment sent {"connection_id":160217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:06:37] local.INFO: TCP Data received {"connection_id":159989,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ae2610012d828d0005d2d1e8001100a21c..."} 
[2026-08-22 19:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ae2610012d828d0005d2d1e8001100a21c..."} 
[2026-08-22 19:06:37] local.INFO: Processing buffer {"connection_id":159989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ae2610012d828d0005d2d1e8001100a21c..."} 
[2026-08-22 19:06:37] local.INFO: Packet analysis {"connection_id":159989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ae"} 
[2026-08-22 19:06:37] local.INFO: Extracted packet for processing {"connection_id":159989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ae"} 
[2026-08-22 19:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763530496,"raw_latitude":97702376,"longitude_deg":76.3530496,"latitude_deg":9.7702376,"altitude":17,"angle":162,"satellites":28,"speed":17,"hex_longitude":"2d828d00","hex_latitude":"05d2d1e8","is_valid_coordinates":true} 
[2026-08-22 19:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575851776001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122358563086532608,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039779958283075584,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:37] 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-22 19:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787405674000,"timestamp_ms":1787405674000,"timestamp_seconds":1787405674,"priority":1,"record_length":96,"hex_timestamp":"000001a029ae2610"} 
[2026-08-22 19:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:06: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-22 19:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-08-22 19:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2281753955,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:37] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":12289,"corrected_to":0} 
[2026-08-22 19:06:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6905798014619538046,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:37] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2916866049,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:37] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3936354319,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1665401038,"corrected_to":0} 
[2026-08-22 19:06:37] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3221607148,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-5466525522697650176,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:37] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929018370,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:37] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-4610046651556426240,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:37] local.WARNING: Large IO value detected {"io_id":166,"raw_value":2089691117820840448,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:37] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,68,85,24,241,157,16,180,160,2,45,226,17,28,10,66,247,64,229,231,128,1,240,76,227,41,210,4,113,205,3,196,136,96,27,239,178,77,206,132,166],"length":533,"final_offset":663,"validated_count":41,"validation_warnings":[{"io_id":247,"original":12289,"validated":0},{"io_id":205,"original":1665401038,"validated":0}]} 
[2026-08-22 19:06:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225171633439965184,"timestamp_seconds":1225171633439965.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 19:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:06:37] 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-22 19:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575851776001,"66":11917,"68":206,"85":15104,"24":17,"16":122358563086532608,"45":-9039779958283075584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-22 19:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575851776001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:06:37] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-22 19:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122358563086532608,"km_value":122358563086532.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039779958283075584,"description":"Unknown IO ID 45"} 
[2026-08-22 19:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575851776001,"power":11917,"unknown_68":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9039779958283075584}} 
[2026-08-22 19:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":159989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:06:37] local.INFO: GPS data processed {"connection_id":159989,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:06:37] local.INFO: Acknowledgment sent {"connection_id":159989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:06:48] local.INFO: TCP Data received {"connection_id":161162,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:06:48] local.INFO: Processing buffer {"connection_id":161162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:06:48] local.INFO: IMEI packet received {"connection_id":161162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":161162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:06:51] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:06:51] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:06:51] local.INFO: IMEI packet received {"connection_id":160218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":160218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:06:51] local.INFO: TCP Data received {"connection_id":161162,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:06:51] local.INFO: Processing buffer {"connection_id":161162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:06:51] local.INFO: IMEI packet received {"connection_id":161162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":161162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:06:52] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:06:52] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:06:52] local.INFO: IMEI packet received {"connection_id":160218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":160218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:06:53] local.INFO: TCP Data received {"connection_id":161162,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:06:53] local.INFO: Processing buffer {"connection_id":161162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:06:53] local.INFO: IMEI packet received {"connection_id":161162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":161162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:06:53] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:06:53] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:06:53] local.INFO: IMEI packet received {"connection_id":160218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":160218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:06:54] local.INFO: TCP Data received {"connection_id":161162,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:06:54] local.INFO: Processing buffer {"connection_id":161162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:06:54] local.INFO: Packet analysis {"connection_id":161162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:06:54] local.INFO: Extracted packet for processing {"connection_id":161162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:06:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575800832001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:54] 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-22 19:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787405773000,"timestamp_ms":1787405773000,"timestamp_seconds":1787405773,"priority":1,"record_length":96,"hex_timestamp":"000001a029afa8c8"} 
[2026-08-22 19: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-22 19:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-22 19:06:54] 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-22 19: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-22 19: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-22 19:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:06: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-22 19:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575800832001,"66":25952,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575800832001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:06:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:06:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575800832001,"power":25952,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":161162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:06:54] local.INFO: GPS data processed {"connection_id":161162,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:06:54] local.INFO: Acknowledgment sent {"connection_id":161162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:06:57] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:06:57] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:06:57] local.INFO: IMEI packet received {"connection_id":160218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":160218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:06:58] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029af4720012d088dc00726a368002300ea22..."} 
[2026-08-22 19:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029af4720012d088dc00726a368002300ea22..."} 
[2026-08-22 19:06:58] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029af4720012d088dc00726a368002300ea22..."} 
[2026-08-22 19:06:58] local.INFO: Packet analysis {"connection_id":160218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:06:58] local.INFO: Extracted packet for processing {"connection_id":160218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:06:58] local.INFO: GPS Element Parsed {"raw_longitude":755535296,"raw_latitude":119972712,"longitude_deg":75.5535296,"latitude_deg":11.9972712,"altitude":35,"angle":234,"satellites":34,"speed":24,"hex_longitude":"2d088dc0","hex_latitude":"0726a368","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575870976001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14879454635491328,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":617274654639695872,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787405748000,"timestamp_ms":1787405748000,"timestamp_seconds":1787405748,"priority":1,"record_length":96,"hex_timestamp":"000001a029af4720"} 
[2026-08-22 19: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-22 19:06: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-22 19: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 19:06:58] 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-22 19: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-22 19: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-22 19:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:06: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-22 19:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575870976001,"66":12863,"237":206,"83":44288,"24":24,"16":14879454635491328,"45":617274654639695872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 19:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575870976001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:06:58] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 19:06:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14879454635491328,"km_value":14879454635491.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":617274654639695872,"description":"Unknown IO ID 45"} 
[2026-08-22 19:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575870976001,"power":12863,"unknown_237":206,"unknown_83":44288,"ignition":24,"odometer":null,"unknown_45":617274654639695872}} 
[2026-08-22 19:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":160218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:06:58] local.INFO: GPS data processed {"connection_id":160218,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:06:58] local.INFO: Acknowledgment sent {"connection_id":160218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:06:59] local.INFO: TCP Data received {"connection_id":161162,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:06:59] local.INFO: Processing buffer {"connection_id":161162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:06:59] local.INFO: Packet analysis {"connection_id":161162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:06:59] local.INFO: Extracted packet for processing {"connection_id":161162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575800832001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:06:59] 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-22 19:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787405773000,"timestamp_ms":1787405773000,"timestamp_seconds":1787405773,"priority":1,"record_length":96,"hex_timestamp":"000001a029afa8c8"} 
[2026-08-22 19: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-22 19:06: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-22 19: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":106,"data_length":795,"current_offset":136} 
[2026-08-22 19:06:59] 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-22 19: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-22 19: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-22 19:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:06: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-22 19:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575800832001,"66":25952,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575800832001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:06:59] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:06:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575800832001,"power":25952,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":161162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:06:59] local.INFO: GPS data processed {"connection_id":161162,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:06:59] local.INFO: Acknowledgment sent {"connection_id":161162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:07:05] local.INFO: TCP Data received {"connection_id":162578,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:07:05] local.INFO: Processing buffer {"connection_id":162578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:07:05] local.INFO: IMEI packet received {"connection_id":162578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":162578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:07:10] local.INFO: TCP Data received {"connection_id":162578,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:07:10] local.INFO: Processing buffer {"connection_id":162578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:07:10] local.INFO: IMEI packet received {"connection_id":162578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":162578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:07:30] local.INFO: TCP Data received {"connection_id":161162,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:07:30] local.INFO: Processing buffer {"connection_id":161162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:07:30] local.INFO: Packet analysis {"connection_id":161162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:07:30] local.INFO: Extracted packet for processing {"connection_id":161162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575800832001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:07:30] 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-22 19:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787405773000,"timestamp_ms":1787405773000,"timestamp_seconds":1787405773,"priority":1,"record_length":96,"hex_timestamp":"000001a029afa8c8"} 
[2026-08-22 19: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-22 19:07: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-22 19: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":106,"data_length":795,"current_offset":136} 
[2026-08-22 19:07:30] 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-22 19: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-22 19: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-22 19:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:07: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-22 19:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575800832001,"66":25952,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575800832001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:07:30] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575800832001,"power":25952,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":161162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:07:30] local.INFO: GPS data processed {"connection_id":161162,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:07:30] local.INFO: Acknowledgment sent {"connection_id":161162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:07:30] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029af4b08012d088b400726a250002300f722..."} 
[2026-08-22 19:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029af4b08012d088b400726a250002300f722..."} 
[2026-08-22 19:07:30] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029af4b08012d088b400726a250002300f722..."} 
[2026-08-22 19:07:30] local.INFO: Packet analysis {"connection_id":160218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:07:30] local.INFO: Extracted packet for processing {"connection_id":160218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:07:30] local.INFO: GPS Element Parsed {"raw_longitude":755534656,"raw_latitude":119972432,"longitude_deg":75.5534656,"latitude_deg":11.9972432,"altitude":35,"angle":247,"satellites":34,"speed":24,"hex_longitude":"2d088b40","hex_latitude":"0726a250","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575871488001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14879484700262400,"note":"Value kept but may cause issues"} 
[2026-08-22 19:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":616359860965173248,"note":"Value kept but may cause issues"} 
[2026-08-22 19:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787405749000,"timestamp_ms":1787405749000,"timestamp_seconds":1787405749,"priority":1,"record_length":96,"hex_timestamp":"000001a029af4b08"} 
[2026-08-22 19: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-22 19:07:30] 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-22 19: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 19:07:30] 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-22 19: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-22 19: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-22 19:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:07: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-22 19:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575871488001,"66":12819,"237":206,"83":44288,"24":24,"16":14879484700262400,"45":616359860965173248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 19:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575871488001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:07:30] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 19:07:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14879484700262400,"km_value":14879484700262.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":616359860965173248,"description":"Unknown IO ID 45"} 
[2026-08-22 19:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575871488001,"power":12819,"unknown_237":206,"unknown_83":44288,"ignition":24,"odometer":null,"unknown_45":616359860965173248}} 
[2026-08-22 19:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":160218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:07:30] local.INFO: GPS data processed {"connection_id":160218,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:07:30] local.INFO: Acknowledgment sent {"connection_id":160218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:07:48] local.INFO: TCP Data received {"connection_id":162579,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:07:48] local.INFO: Processing buffer {"connection_id":162579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:07:48] local.INFO: IMEI packet received {"connection_id":162579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":162579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:07:51] local.INFO: TCP Data received {"connection_id":161163,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:07:51] local.INFO: Processing buffer {"connection_id":161163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:07:51] local.INFO: IMEI packet received {"connection_id":161163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":161163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:07:52] local.INFO: TCP Data received {"connection_id":161163,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:07:52] local.INFO: Processing buffer {"connection_id":161163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:07:52] local.INFO: IMEI packet received {"connection_id":161163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":161163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:07:53] local.INFO: TCP Data received {"connection_id":161163,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:07:53] local.INFO: Processing buffer {"connection_id":161163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:07:53] local.INFO: IMEI packet received {"connection_id":161163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":161163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:07:53] local.INFO: TCP Data received {"connection_id":162579,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:07:53] local.INFO: Processing buffer {"connection_id":162579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:07:53] local.INFO: IMEI packet received {"connection_id":162579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":162579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:07:54] local.INFO: TCP Data received {"connection_id":162579,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:07:54] local.INFO: Processing buffer {"connection_id":162579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:07:54] local.INFO: Packet analysis {"connection_id":162579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:07:54] local.INFO: Extracted packet for processing {"connection_id":162579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:07:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575800832001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:07:54] 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-22 19:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787405773000,"timestamp_ms":1787405773000,"timestamp_seconds":1787405773,"priority":1,"record_length":96,"hex_timestamp":"000001a029afa8c8"} 
[2026-08-22 19:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-22 19:07:54] 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-22 19:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:07: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-22 19:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575800832001,"66":25952,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575800832001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:07:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:07:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575800832001,"power":25952,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":162579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:07:54] local.INFO: GPS data processed {"connection_id":162579,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:07:54] local.INFO: Acknowledgment sent {"connection_id":162579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:07:57] local.INFO: TCP Data received {"connection_id":161163,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:07:57] local.INFO: Processing buffer {"connection_id":161163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:07:57] local.INFO: IMEI packet received {"connection_id":161163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":161163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:08:00] local.INFO: TCP Data received {"connection_id":161164,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:08:00] local.INFO: Processing buffer {"connection_id":161164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:08:00] local.INFO: IMEI packet received {"connection_id":161164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":161164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:08:05] local.INFO: TCP Data received {"connection_id":161164,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:08:05] local.INFO: Processing buffer {"connection_id":161164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:08:05] local.INFO: IMEI packet received {"connection_id":161164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":161164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:08:06] local.INFO: TCP Data received {"connection_id":161163,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029b050c0012d08420007262e90001e00f71e..."} 
[2026-08-22 19:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b050c0012d08420007262e90001e00f71e..."} 
[2026-08-22 19:08:06] local.INFO: Processing buffer {"connection_id":161163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b050c0012d08420007262e90001e00f71e..."} 
[2026-08-22 19:08:06] local.INFO: Packet analysis {"connection_id":161163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b0"} 
[2026-08-22 19:08:06] local.INFO: Extracted packet for processing {"connection_id":161163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b0"} 
[2026-08-22 19:08:06] local.INFO: GPS Element Parsed {"raw_longitude":755515904,"raw_latitude":119942800,"longitude_deg":75.5515904,"latitude_deg":11.99428,"altitude":30,"angle":247,"satellites":30,"speed":16,"hex_longitude":"2d084200","hex_latitude":"07262e90","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575888640001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14881275701624832,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":595389975192623104,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787405816000,"timestamp_ms":1787405816000,"timestamp_seconds":1787405816,"priority":1,"record_length":96,"hex_timestamp":"000001a029b050c0"} 
[2026-08-22 19: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-22 19:08:06] 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-22 19: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 19:08:06] 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-22 19: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-22 19: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-22 19:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:08:06] 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-22 19:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575888640001,"66":12939,"237":206,"83":44288,"24":16,"16":14881275701624832,"45":595389975192623104},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 19:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575888640001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:08:06] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 19:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14881275701624832,"km_value":14881275701624.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":595389975192623104,"description":"Unknown IO ID 45"} 
[2026-08-22 19:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575888640001,"power":12939,"unknown_237":206,"unknown_83":44288,"ignition":16,"odometer":null,"unknown_45":595389975192623104}} 
[2026-08-22 19:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":161163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:08:06] local.INFO: GPS data processed {"connection_id":161163,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:08:06] local.INFO: Acknowledgment sent {"connection_id":161163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:08:06] local.INFO: TCP Data received {"connection_id":161164,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b0d590012d82bec005d15ea0000600651d..."} 
[2026-08-22 19:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b0d590012d82bec005d15ea0000600651d..."} 
[2026-08-22 19:08:06] local.INFO: Processing buffer {"connection_id":161164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b0d590012d82bec005d15ea0000600651d..."} 
[2026-08-22 19:08:06] local.INFO: Packet analysis {"connection_id":161164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b0"} 
[2026-08-22 19:08:06] local.INFO: Extracted packet for processing {"connection_id":161164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b0"} 
[2026-08-22 19:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763543232,"raw_latitude":97607328,"longitude_deg":76.3543232,"latitude_deg":9.7607328,"altitude":6,"angle":101,"satellites":29,"speed":30,"hex_longitude":"2d82bec0","hex_latitude":"05d15ea0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575894272001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122363626852974592,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035698571145248768,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:06] 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-22 19:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787405850000,"timestamp_ms":1787405850000,"timestamp_seconds":1787405850,"priority":1,"record_length":96,"hex_timestamp":"000001a029b0d590"} 
[2026-08-22 19: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-22 19:08: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-22 19: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-22 19:08:06] 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-22 19: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-22 19: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-22 19:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:08:06] 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-22 19:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575894272001,"66":11917,"63":206,"85":15104,"24":30,"16":122363626852974592,"45":-9035698571145248768},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-22 19:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575894272001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:08:06] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-22 19:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122363626852974592,"km_value":122363626852974.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035698571145248768,"description":"Unknown IO ID 45"} 
[2026-08-22 19:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575894272001,"power":11917,"unknown_63":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9035698571145248768}} 
[2026-08-22 19:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":161164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:08:06] local.INFO: GPS data processed {"connection_id":161164,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:08:06] local.INFO: Acknowledgment sent {"connection_id":161164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:08:25] local.INFO: TCP Data received {"connection_id":162579,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:08:25] local.INFO: Processing buffer {"connection_id":162579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:08:25] local.INFO: Packet analysis {"connection_id":162579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:08:25] local.INFO: Extracted packet for processing {"connection_id":162579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:08:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 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-22 19:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575800832001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08: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-22 19:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787405773000,"timestamp_ms":1787405773000,"timestamp_seconds":1787405773,"priority":1,"record_length":96,"hex_timestamp":"000001a029afa8c8"} 
[2026-08-22 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-22 19:08: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-22 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-22 19:08:25] 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-22 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-22 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-22 19:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 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-22 19:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575800832001,"66":25952,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575800832001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:08:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:08:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575800832001,"power":25952,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":162579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:08:25] local.INFO: GPS data processed {"connection_id":162579,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:08:25] local.INFO: Acknowledgment sent {"connection_id":162579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:08:41] local.INFO: TCP Data received {"connection_id":161163,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029b11be0012d07f48007260dd8001c00eb1f..."} 
[2026-08-22 19:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b11be0012d07f48007260dd8001c00eb1f..."} 
[2026-08-22 19:08:41] local.INFO: Processing buffer {"connection_id":161163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b11be0012d07f48007260dd8001c00eb1f..."} 
[2026-08-22 19:08:41] local.INFO: Packet analysis {"connection_id":161163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b1"} 
[2026-08-22 19:08:41] local.INFO: Extracted packet for processing {"connection_id":161163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b1"} 
[2026-08-22 19:08:41] local.INFO: GPS Element Parsed {"raw_longitude":755496064,"raw_latitude":119934424,"longitude_deg":75.5496064,"latitude_deg":11.9934424,"altitude":28,"angle":235,"satellites":31,"speed":24,"hex_longitude":"2d07f480","hex_latitude":"07260dd8","is_valid_coordinates":true} 
[2026-08-22 19:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575901696001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14882375213252608,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":574560826913984512,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:41] 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-22 19:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787405868000,"timestamp_ms":1787405868000,"timestamp_seconds":1787405868,"priority":1,"record_length":96,"hex_timestamp":"000001a029b11be0"} 
[2026-08-22 19:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:08: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-22 19:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-22 19:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:08:41] 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-22 19:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575901696001,"66":13678,"25":206,"83":44288,"24":24,"16":14882375213252608,"45":574560826913984512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575901696001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:08:41] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14882375213252608,"km_value":14882375213252.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":574560826913984512,"description":"Unknown IO ID 45"} 
[2026-08-22 19:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575901696001,"power":13678,"unknown_25":206,"unknown_83":44288,"ignition":24,"odometer":null,"unknown_45":574560826913984512}} 
[2026-08-22 19:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":161163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:08:42] local.INFO: GPS data processed {"connection_id":161163,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:08:42] local.INFO: Acknowledgment sent {"connection_id":161163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:08:50] local.INFO: TCP Data received {"connection_id":161164,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b10470012d82e50005d15898000800601d..."} 
[2026-08-22 19:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b10470012d82e50005d15898000800601d..."} 
[2026-08-22 19:08:50] local.INFO: Processing buffer {"connection_id":161164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b10470012d82e50005d15898000800601d..."} 
[2026-08-22 19:08:50] local.INFO: Packet analysis {"connection_id":161164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b1"} 
[2026-08-22 19:08:50] local.INFO: Extracted packet for processing {"connection_id":161164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b1"} 
[2026-08-22 19:08:50] local.INFO: GPS Element Parsed {"raw_longitude":763553024,"raw_latitude":97605784,"longitude_deg":76.3553024,"latitude_deg":9.7605784,"altitude":8,"angle":96,"satellites":29,"speed":35,"hex_longitude":"2d82e500","hex_latitude":"05d15898","is_valid_coordinates":true} 
[2026-08-22 19:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575897600001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122364099299377152,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9025565471983886336,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:50] 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-22 19:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787405862000,"timestamp_ms":1787405862000,"timestamp_seconds":1787405862,"priority":1,"record_length":96,"hex_timestamp":"000001a029b10470"} 
[2026-08-22 19:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-22 19:08:50] 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-22 19:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:08:50] 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-22 19:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575897600001,"66":11950,"63":206,"85":15104,"24":35,"16":122364099299377152,"45":-9025565471983886336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-22 19:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575897600001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:08:50] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-22 19:08:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122364099299377152,"km_value":122364099299377.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9025565471983886336,"description":"Unknown IO ID 45"} 
[2026-08-22 19:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575897600001,"power":11950,"unknown_63":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9025565471983886336}} 
[2026-08-22 19:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":161164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:08:50] local.INFO: GPS data processed {"connection_id":161164,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:08:50] local.INFO: Acknowledgment sent {"connection_id":161164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:08:52] local.INFO: TCP Data received {"connection_id":162581,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:08:52] local.INFO: Processing buffer {"connection_id":162581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:08:52] local.INFO: IMEI packet received {"connection_id":162581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":162581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:08:53] local.INFO: TCP Data received {"connection_id":162581,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:08:53] local.INFO: Processing buffer {"connection_id":162581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:08:53] local.INFO: IMEI packet received {"connection_id":162581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":162581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:08:53] local.INFO: TCP Data received {"connection_id":162580,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:08:53] local.INFO: Processing buffer {"connection_id":162580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:08:53] local.INFO: IMEI packet received {"connection_id":162580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":162580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:08:56] local.INFO: TCP Data received {"connection_id":162581,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:08:56] local.INFO: Processing buffer {"connection_id":162581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:08:56] local.INFO: IMEI packet received {"connection_id":162581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":162581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:08:57] local.INFO: TCP Data received {"connection_id":162581,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:08:57] local.INFO: Processing buffer {"connection_id":162581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:08:57] local.INFO: IMEI packet received {"connection_id":162581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":162581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:08:57] local.INFO: TCP Data received {"connection_id":162581,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029b11fc8012d07f2c007260bf0001c00df1f..."} 
[2026-08-22 19:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b11fc8012d07f2c007260bf0001c00df1f..."} 
[2026-08-22 19:08:57] local.INFO: Processing buffer {"connection_id":162581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b11fc8012d07f2c007260bf0001c00df1f..."} 
[2026-08-22 19:08:57] local.INFO: Packet analysis {"connection_id":162581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b1"} 
[2026-08-22 19:08:57] local.INFO: Extracted packet for processing {"connection_id":162581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b1"} 
[2026-08-22 19:08:57] local.INFO: GPS Element Parsed {"raw_longitude":755495616,"raw_latitude":119933936,"longitude_deg":75.5495616,"latitude_deg":11.9933936,"altitude":28,"angle":223,"satellites":31,"speed":23,"hex_longitude":"2d07f2c0","hex_latitude":"07260bf0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575902208001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14882405278023680,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":573223820774463488,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:57] 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-22 19:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787405869000,"timestamp_ms":1787405869000,"timestamp_seconds":1787405869,"priority":1,"record_length":96,"hex_timestamp":"000001a029b11fc8"} 
[2026-08-22 19: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-22 19:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-22 19:08:57] 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-22 19: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-22 19: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-22 19:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:08:57] 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-22 19:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575902208001,"66":13559,"25":206,"83":44288,"24":23,"16":14882405278023680,"45":573223820774463488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575902208001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:08:57] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:08:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14882405278023680,"km_value":14882405278023.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":573223820774463488,"description":"Unknown IO ID 45"} 
[2026-08-22 19:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575902208001,"power":13559,"unknown_25":206,"unknown_83":44288,"ignition":23,"odometer":null,"unknown_45":573223820774463488}} 
[2026-08-22 19:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":162581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:08:58] local.INFO: GPS data processed {"connection_id":162581,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:08:58] local.INFO: Acknowledgment sent {"connection_id":162581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:08:58] local.INFO: TCP Data received {"connection_id":162581,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029b12b80012d07ee4007260868001900eb1e..."} 
[2026-08-22 19:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b12b80012d07ee4007260868001900eb1e..."} 
[2026-08-22 19:08:58] local.INFO: Processing buffer {"connection_id":162581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b12b80012d07ee4007260868001900eb1e..."} 
[2026-08-22 19:08:58] local.INFO: Packet analysis {"connection_id":162581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b1"} 
[2026-08-22 19:08:58] local.INFO: Extracted packet for processing {"connection_id":162581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b1"} 
[2026-08-22 19:08:58] local.INFO: GPS Element Parsed {"raw_longitude":755494464,"raw_latitude":119933032,"longitude_deg":75.5494464,"latitude_deg":11.9933032,"altitude":25,"angle":235,"satellites":30,"speed":14,"hex_longitude":"2d07ee40","hex_latitude":"07260868","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575902464001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14882473997500416,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":572731239565094912,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:58] 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-22 19:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787405872000,"timestamp_ms":1787405872000,"timestamp_seconds":1787405872,"priority":1,"record_length":96,"hex_timestamp":"000001a029b12b80"} 
[2026-08-22 19: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-22 19:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 19:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:08: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-22 19:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575902464001,"66":13624,"25":206,"83":44288,"24":14,"16":14882473997500416,"45":572731239565094912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575902464001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:08:58] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14882473997500416,"km_value":14882473997500.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":572731239565094912,"description":"Unknown IO ID 45"} 
[2026-08-22 19:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575902464001,"power":13624,"unknown_25":206,"unknown_83":44288,"ignition":14,"odometer":null,"unknown_45":572731239565094912}} 
[2026-08-22 19:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":162581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:08:58] local.INFO: GPS data processed {"connection_id":162581,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:08:58] local.INFO: Acknowledgment sent {"connection_id":162581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:08:58] local.INFO: TCP Data received {"connection_id":162580,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:08:58] local.INFO: Processing buffer {"connection_id":162580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:08:58] local.INFO: IMEI packet received {"connection_id":162580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":162580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:08:59] local.INFO: TCP Data received {"connection_id":162580,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:08:59] local.INFO: Processing buffer {"connection_id":162580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:08:59] local.INFO: Packet analysis {"connection_id":162580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:08:59] local.INFO: Extracted packet for processing {"connection_id":162580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575800832001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:08:59] 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-22 19:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787405773000,"timestamp_ms":1787405773000,"timestamp_seconds":1787405773,"priority":1,"record_length":96,"hex_timestamp":"000001a029afa8c8"} 
[2026-08-22 19: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-22 19:08: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-22 19: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-22 19:08:59] 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-22 19: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-22 19: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-22 19:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:08: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-22 19:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575800832001,"66":25952,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575800832001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:08:59] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:08:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575800832001,"power":25952,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":162580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:08:59] local.INFO: GPS data processed {"connection_id":162580,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:08:59] local.INFO: Acknowledgment sent {"connection_id":162580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:09:00] local.INFO: TCP Data received {"connection_id":162582,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:09:00] local.INFO: Processing buffer {"connection_id":162582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:09:00] local.INFO: IMEI packet received {"connection_id":162582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":162582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:09:03] local.INFO: TCP Data received {"connection_id":162580,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:09:03] local.INFO: Processing buffer {"connection_id":162580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:09:03] local.INFO: Packet analysis {"connection_id":162580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:09:03] local.INFO: Extracted packet for processing {"connection_id":162580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575800832001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:03] 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-22 19:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787405773000,"timestamp_ms":1787405773000,"timestamp_seconds":1787405773,"priority":1,"record_length":96,"hex_timestamp":"000001a029afa8c8"} 
[2026-08-22 19: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-22 19:09: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-22 19: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-22 19:09:03] 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-22 19: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-22 19: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-22 19:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:09: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-22 19:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575800832001,"66":25952,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575800832001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:09:03] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575800832001,"power":25952,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":162580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:09:03] local.INFO: GPS data processed {"connection_id":162580,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:09:03] local.INFO: Acknowledgment sent {"connection_id":162580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:09:05] local.INFO: TCP Data received {"connection_id":162582,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:09:05] local.INFO: Processing buffer {"connection_id":162582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:09:05] local.INFO: IMEI packet received {"connection_id":162582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":162582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:09:06] local.INFO: TCP Data received {"connection_id":162582,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b12f68012d830b0005d156480008005e1d..."} 
[2026-08-22 19:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b12f68012d830b0005d156480008005e1d..."} 
[2026-08-22 19:09:06] local.INFO: Processing buffer {"connection_id":162582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b12f68012d830b0005d156480008005e1d..."} 
[2026-08-22 19:09:06] local.INFO: Packet analysis {"connection_id":162582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b1"} 
[2026-08-22 19:09:06] local.INFO: Extracted packet for processing {"connection_id":162582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b1"} 
[2026-08-22 19:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763562752,"raw_latitude":97605192,"longitude_deg":76.3562752,"latitude_deg":9.7605192,"altitude":8,"angle":94,"satellites":29,"speed":32,"hex_longitude":"2d830b00","hex_latitude":"05d15648","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575900672001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122364567450812416,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9014799054125099008,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:06] 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-22 19:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787405873000,"timestamp_ms":1787405873000,"timestamp_seconds":1787405873,"priority":1,"record_length":96,"hex_timestamp":"000001a029b12f68"} 
[2026-08-22 19: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-22 19:09:06] 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-22 19: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-22 19:09:06] 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-22 19: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-22 19: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-22 19:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:09:06] 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-22 19:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575900672001,"66":11754,"63":206,"85":15104,"24":32,"16":122364567450812416,"45":-9014799054125099008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-22 19:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575900672001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:09:06] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-22 19:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122364567450812416,"km_value":122364567450812.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9014799054125099008,"description":"Unknown IO ID 45"} 
[2026-08-22 19:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575900672001,"power":11754,"unknown_63":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9014799054125099008}} 
[2026-08-22 19:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":162582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:09:06] local.INFO: GPS data processed {"connection_id":162582,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:09:06] local.INFO: Acknowledgment sent {"connection_id":162582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:09:29] local.INFO: TCP Data received {"connection_id":162581,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029b15290012d07e940072605d0001500c520..."} 
[2026-08-22 19:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b15290012d07e940072605d0001500c520..."} 
[2026-08-22 19:09:29] local.INFO: Processing buffer {"connection_id":162581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b15290012d07e940072605d0001500c520..."} 
[2026-08-22 19:09:29] local.INFO: Packet analysis {"connection_id":162581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b1"} 
[2026-08-22 19:09:29] local.INFO: Extracted packet for processing {"connection_id":162581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b1"} 
[2026-08-22 19:09:29] local.INFO: GPS Element Parsed {"raw_longitude":755493184,"raw_latitude":119932368,"longitude_deg":75.5493184,"latitude_deg":11.9932368,"altitude":21,"angle":197,"satellites":32,"speed":6,"hex_longitude":"2d07e940","hex_latitude":"072605d0","is_valid_coordinates":true} 
[2026-08-22 19:09: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-22 19:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575903232001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14882551306911744,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":571464602169665536,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:29] 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-22 19:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787405882000,"timestamp_ms":1787405882000,"timestamp_seconds":1787405882,"priority":1,"record_length":96,"hex_timestamp":"000001a029b15290"} 
[2026-08-22 19:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:09: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-22 19:09:29] 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-22 19:09: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-22 19:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:09:29] 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-22 19:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575903232001,"66":13559,"25":206,"83":44288,"24":6,"16":14882551306911744,"45":571464602169665536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575903232001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:09:29] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:09:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14882551306911744,"km_value":14882551306911.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":571464602169665536,"description":"Unknown IO ID 45"} 
[2026-08-22 19:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575903232001,"power":13559,"unknown_25":206,"unknown_83":44288,"ignition":6,"odometer":null,"unknown_45":571464602169665536}} 
[2026-08-22 19:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":162581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:09:29] local.INFO: GPS data processed {"connection_id":162581,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:09:29] local.INFO: Acknowledgment sent {"connection_id":162581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:09:37] local.INFO: TCP Data received {"connection_id":162582,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b26fb8012d82e5c005d157e0000901151f..."} 
[2026-08-22 19:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b26fb8012d82e5c005d157e0000901151f..."} 
[2026-08-22 19:09:37] local.INFO: Processing buffer {"connection_id":162582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b26fb8012d82e5c005d157e0000901151f..."} 
[2026-08-22 19:09:37] local.INFO: Packet analysis {"connection_id":162582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:09:37] local.INFO: Extracted packet for processing {"connection_id":162582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763553216,"raw_latitude":97605600,"longitude_deg":76.3553216,"latitude_deg":9.76056,"altitude":9,"angle":277,"satellites":31,"speed":37,"hex_longitude":"2d82e5c0","hex_latitude":"05d157e0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575921920001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122366139408842752,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9003680792545220608,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] 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-22 19:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787405955000,"timestamp_ms":1787405955000,"timestamp_seconds":1787405955,"priority":1,"record_length":96,"hex_timestamp":"000001a029b26fb8"} 
[2026-08-22 19: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-22 19:09: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-22 19: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201272325,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":82,"raw_value":57788402729112891,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184135033037,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2985986049,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":209,"raw_value":5924485348469710080,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846412016,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-4610048497050187776,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365640014,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-5010817535403098112,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":78,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929280514,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2089681222216190464,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":177,"raw_value":7919581239717412869,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.WARNING: Large IO value detected {"io_id":12,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,63,85,24,241,157,16,186,160,21,45,82,8,31,10,66,14,64,1,240,141,227,41,209,4,113,205,172,52,248,29,239,46,2,178,78,206,159,177,12],"length":632,"final_offset":762,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-08-22 19:09:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648817546650648576,"timestamp_seconds":648817546650648.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 19: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-22 19:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:09:37] 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-22 19:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575921920001,"66":11798,"63":206,"85":15104,"24":37,"16":122366139408842752,"45":-9003680792545220608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-22 19:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575921920001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:09:37] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-22 19:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122366139408842752,"km_value":122366139408842.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9003680792545220608,"description":"Unknown IO ID 45"} 
[2026-08-22 19:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575921920001,"power":11798,"unknown_63":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9003680792545220608}} 
[2026-08-22 19:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":162582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:09:37] local.INFO: GPS data processed {"connection_id":162582,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:09:37] local.INFO: Acknowledgment sent {"connection_id":162582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:09:48] local.INFO: TCP Data received {"connection_id":162583,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:09:48] local.INFO: Processing buffer {"connection_id":162583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:09:48] local.INFO: IMEI packet received {"connection_id":162583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":162583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:09:53] local.INFO: TCP Data received {"connection_id":162583,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:09:53] local.INFO: Processing buffer {"connection_id":162583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:09:53] local.INFO: IMEI packet received {"connection_id":162583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":162583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:09:55] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:09:55] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:09:55] local.INFO: IMEI packet received {"connection_id":159990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":159990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:09:55] local.INFO: TCP Data received {"connection_id":162583,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:09:55] local.INFO: Processing buffer {"connection_id":162583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:09:55] local.INFO: Packet analysis {"connection_id":162583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:09:55] local.INFO: Extracted packet for processing {"connection_id":162583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:09:55] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575800832001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:55] 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-22 19:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787405773000,"timestamp_ms":1787405773000,"timestamp_seconds":1787405773,"priority":1,"record_length":96,"hex_timestamp":"000001a029afa8c8"} 
[2026-08-22 19:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:09: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-22 19:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-22 19:09:55] 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-22 19:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:09: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-22 19:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575800832001,"66":25952,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575800832001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:09:55] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:09:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575800832001,"power":25952,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":162583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:09:55] local.INFO: GPS data processed {"connection_id":162583,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:09:55] local.INFO: Acknowledgment sent {"connection_id":162583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:09:57] local.INFO: TCP Data received {"connection_id":162584,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:09:57] local.INFO: Processing buffer {"connection_id":162584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:09:57] local.INFO: IMEI packet received {"connection_id":162584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":162584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:09:57] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:09:57] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:09:57] local.INFO: IMEI packet received {"connection_id":159990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":159990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:09:58] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:09:58] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:09:58] local.INFO: IMEI packet received {"connection_id":159990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":159990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:09:59] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029b15678012d07e94007260508001500b620..."} 
[2026-08-22 19:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b15678012d07e94007260508001500b620..."} 
[2026-08-22 19:09:59] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b15678012d07e94007260508001500b620..."} 
[2026-08-22 19:09:59] local.INFO: Packet analysis {"connection_id":159990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b1"} 
[2026-08-22 19:09:59] local.INFO: Extracted packet for processing {"connection_id":159990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b1"} 
[2026-08-22 19:09:59] local.INFO: GPS Element Parsed {"raw_longitude":755493184,"raw_latitude":119932168,"longitude_deg":75.5493184,"latitude_deg":11.9932168,"altitude":21,"angle":182,"satellites":32,"speed":8,"hex_longitude":"2d07e940","hex_latitude":"07260508","is_valid_coordinates":true} 
[2026-08-22 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-22 19:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575905792001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14882559896846336,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":570057227285942272,"note":"Value kept but may cause issues"} 
[2026-08-22 19:09:59] 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-22 19:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787405883000,"timestamp_ms":1787405883000,"timestamp_seconds":1787405883,"priority":1,"record_length":96,"hex_timestamp":"000001a029b15678"} 
[2026-08-22 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-22 19:09: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-22 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 19:09:59] 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-22 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-22 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-22 19:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:09:59] 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-22 19:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575905792001,"66":13580,"25":206,"83":44288,"24":8,"16":14882559896846336,"45":570057227285942272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575905792001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:09:59] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14882559896846336,"km_value":14882559896846.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":570057227285942272,"description":"Unknown IO ID 45"} 
[2026-08-22 19:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575905792001,"power":13580,"unknown_25":206,"unknown_83":44288,"ignition":8,"odometer":null,"unknown_45":570057227285942272}} 
[2026-08-22 19:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":159990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:09:59] local.INFO: GPS data processed {"connection_id":159990,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:09:59] local.INFO: Acknowledgment sent {"connection_id":159990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:09:59] local.INFO: TCP Data received {"connection_id":162584,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:09:59] local.INFO: Processing buffer {"connection_id":162584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:09:59] local.INFO: IMEI packet received {"connection_id":162584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":162584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:10:00] local.INFO: TCP Data received {"connection_id":162584,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:10:00] local.INFO: Processing buffer {"connection_id":162584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:10:00] local.INFO: IMEI packet received {"connection_id":162584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":162584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:10:01] local.INFO: TCP Data received {"connection_id":162578,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ae2de0012d828d8005d2ceb8001100af1c..."} 
[2026-08-22 19:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ae2de0012d828d8005d2ceb8001100af1c..."} 
[2026-08-22 19:10:01] local.INFO: Processing buffer {"connection_id":162578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ae2de0012d828d8005d2ceb8001100af1c..."} 
[2026-08-22 19:10:01] local.INFO: Packet analysis {"connection_id":162578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ae"} 
[2026-08-22 19:10:01] local.INFO: Extracted packet for processing {"connection_id":162578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ae"} 
[2026-08-22 19:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763530624,"raw_latitude":97701560,"longitude_deg":76.3530624,"latitude_deg":9.770156,"altitude":17,"angle":175,"satellites":28,"speed":16,"hex_longitude":"2d828d80","hex_latitude":"05d2ceb8","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575852544001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122358606036205568,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039568852050909184,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:01] 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-22 19:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787405676000,"timestamp_ms":1787405676000,"timestamp_seconds":1787405676,"priority":1,"record_length":96,"hex_timestamp":"000001a029ae2de0"} 
[2026-08-22 19: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-22 19:10:01] 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-22 19: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-22 19:10:01] 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-22 19: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-22 19: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-22 19:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:10:01] 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-22 19:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575852544001,"66":11645,"68":206,"85":15104,"24":16,"16":122358606036205568,"45":-9039568852050909184},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-22 19:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575852544001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:10:01] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-22 19:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122358606036205568,"km_value":122358606036205.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039568852050909184,"description":"Unknown IO ID 45"} 
[2026-08-22 19:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575852544001,"power":11645,"unknown_68":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9039568852050909184}} 
[2026-08-22 19:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":162578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:10:01] local.INFO: GPS data processed {"connection_id":162578,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:10:01] local.INFO: Acknowledgment sent {"connection_id":162578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:10:02] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029b18558012d07e8400725fb90001400d222..."} 
[2026-08-22 19:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b18558012d07e8400725fb90001400d222..."} 
[2026-08-22 19:10:02] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b18558012d07e8400725fb90001400d222..."} 
[2026-08-22 19:10:02] local.INFO: Packet analysis {"connection_id":159990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b1"} 
[2026-08-22 19:10:02] local.INFO: Extracted packet for processing {"connection_id":159990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b1"} 
[2026-08-22 19:10:02] local.INFO: GPS Element Parsed {"raw_longitude":755492928,"raw_latitude":119929744,"longitude_deg":75.5492928,"latitude_deg":11.9929744,"altitude":20,"angle":210,"satellites":34,"speed":7,"hex_longitude":"2d07e840","hex_latitude":"0725fb90","is_valid_coordinates":true} 
[2026-08-22 19:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575906048001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14882680155930624,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":570057227285891072,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:02] 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-22 19:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787405895000,"timestamp_ms":1787405895000,"timestamp_seconds":1787405895,"priority":1,"record_length":96,"hex_timestamp":"000001a029b18558"} 
[2026-08-22 19:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:10:02] 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-22 19:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 19:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751527135,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:02] local.WARNING: Large IO value detected {"io_id":8,"raw_value":306252634741800993,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:02] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13462041,"corrected_to":0} 
[2026-08-22 19:10:02] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2971394049,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635489448651289,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1780023502,"corrected_to":0} 
[2026-08-22 19:10:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:02] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3747741696,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:02] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-5620266479388668333,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:02] local.WARNING: Large IO value detected {"io_id":173,"raw_value":6755472455631089,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:02] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,25,83,24,241,157,16,223,160,82,45,64,5,21,32,10,66,43,8,30,31,192,1,240,247,227,41,38,4,113,205,20,249,239,53,2,52,7,19,49,173],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":247,"original":13462041,"validated":0},{"io_id":205,"original":1780023502,"validated":0}]} 
[2026-08-22 19:10:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513409723352219648,"timestamp_seconds":1513409723352219.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 19:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:10: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-22 19:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575906048001,"66":13689,"25":206,"83":44288,"24":7,"16":14882680155930624,"45":570057227285891072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575906048001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:10:02] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:10:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14882680155930624,"km_value":14882680155930.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":570057227285891072,"description":"Unknown IO ID 45"} 
[2026-08-22 19:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575906048001,"power":13689,"unknown_25":206,"unknown_83":44288,"ignition":7,"odometer":null,"unknown_45":570057227285891072}} 
[2026-08-22 19:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":159990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:10:03] local.INFO: GPS data processed {"connection_id":159990,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:10:03] local.INFO: Acknowledgment sent {"connection_id":159990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:10:05] local.INFO: TCP Data received {"connection_id":162584,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:10:05] local.INFO: Processing buffer {"connection_id":162584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:10:05] local.INFO: IMEI packet received {"connection_id":162584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":162584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:10:06] local.INFO: TCP Data received {"connection_id":162584,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b292e0012d82c1c005d15de80006011a1f..."} 
[2026-08-22 19:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b292e0012d82c1c005d15de80006011a1f..."} 
[2026-08-22 19:10:06] local.INFO: Processing buffer {"connection_id":162584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b292e0012d82c1c005d15de80006011a1f..."} 
[2026-08-22 19:10:06] local.INFO: Packet analysis {"connection_id":162584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:10:06] local.INFO: Extracted packet for processing {"connection_id":162584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763544000,"raw_latitude":97607144,"longitude_deg":76.3544,"latitude_deg":9.7607144,"altitude":6,"angle":282,"satellites":31,"speed":41,"hex_longitude":"2d82c1c0","hex_latitude":"05d15de8","is_valid_coordinates":true} 
[2026-08-22 19:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575924480001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122366586085441536,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9014587947892613120,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] 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-22 19:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787405964000,"timestamp_ms":1787405964000,"timestamp_seconds":1787405964,"priority":1,"record_length":96,"hex_timestamp":"000001a029b292e0"} 
[2026-08-22 19:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:10: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-22 19:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372272974,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184135033037,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":141,"raw_value":57788402729112891,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2987010049,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":209,"raw_value":5847924150510755072,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846412016,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2281778563,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-4610048490876172288,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-5010536060426387456,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":78,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929214978,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2089674625146423808,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.WARNING: Large IO value detected {"io_id":177,"raw_value":8201056216428101637,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,63,85,24,241,157,16,187,160,72,45,128,9,31,10,66,186,21,82,8,14,64,1,240,141,227,41,209,4,113,205,250,52,56,30,239,2,178,78,206,5,177],"length":632,"final_offset":762,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-08-22 19:10:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648823044208656384,"timestamp_seconds":648823044208656.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 19:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:10:06] 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-22 19:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575924480001,"66":11895,"63":206,"85":15104,"24":41,"16":122366586085441536,"45":-9014587947892613120},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-22 19:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575924480001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:10:06] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-22 19:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122366586085441536,"km_value":122366586085441.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9014587947892613120,"description":"Unknown IO ID 45"} 
[2026-08-22 19:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575924480001,"power":11895,"unknown_63":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9014587947892613120}} 
[2026-08-22 19:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":162584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:10:06] local.INFO: GPS data processed {"connection_id":162584,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:10:06] local.INFO: Acknowledgment sent {"connection_id":162584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:10:26] local.INFO: TCP Data received {"connection_id":162583,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:10:26] local.INFO: Processing buffer {"connection_id":162583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:10:26] local.INFO: Packet analysis {"connection_id":162583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:10:26] local.INFO: Extracted packet for processing {"connection_id":162583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:10:26] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 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":795,"current_offset":40} 
[2026-08-22 19:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575800832001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10: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-22 19:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787405773000,"timestamp_ms":1787405773000,"timestamp_seconds":1787405773,"priority":1,"record_length":96,"hex_timestamp":"000001a029afa8c8"} 
[2026-08-22 19:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:10: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-22 19:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-22 19:10:26] 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-22 19:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:10: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-22 19:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575800832001,"66":25952,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575800832001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:10:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:10:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575800832001,"power":25952,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":162583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:10:26] local.INFO: GPS data processed {"connection_id":162583,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:10:26] local.INFO: Acknowledgment sent {"connection_id":162583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:10:34] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:10:34] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:10:34] local.INFO: Packet analysis {"connection_id":159990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:10:34] local.INFO: Extracted packet for processing {"connection_id":159990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:10:34] local.INFO: GPS Element Parsed {"raw_longitude":755488576,"raw_latitude":119925104,"longitude_deg":75.5488576,"latitude_deg":11.9925104,"altitude":15,"angle":225,"satellites":33,"speed":4,"hex_longitude":"2d07d740","hex_latitude":"0725e970","is_valid_coordinates":true} 
[2026-08-22 19:10: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-22 19:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:34] 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-22 19:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787405961000,"timestamp_ms":1787405961000,"timestamp_seconds":1787405961,"priority":1,"record_length":96,"hex_timestamp":"000001a029b28728"} 
[2026-08-22 19: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-22 19:10:34] 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-22 19: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:10:34] 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-22 19: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-22 19: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-22 19:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:10:34] 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-22 19:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":13015,"25":206,"83":44288,"24":4,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:10:34] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:10:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":13015,"unknown_25":206,"unknown_83":44288,"ignition":4,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":159990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:10:34] local.INFO: GPS data processed {"connection_id":159990,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:10:34] local.INFO: Acknowledgment sent {"connection_id":159990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:10:36] local.INFO: TCP Data received {"connection_id":162584,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b37570012d82430005d16670000801171e..."} 
[2026-08-22 19:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b37570012d82430005d16670000801171e..."} 
[2026-08-22 19:10:36] local.INFO: Processing buffer {"connection_id":162584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b37570012d82430005d16670000801171e..."} 
[2026-08-22 19:10:36] local.INFO: Packet analysis {"connection_id":162584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b3"} 
[2026-08-22 19:10:36] local.INFO: Extracted packet for processing {"connection_id":162584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b3"} 
[2026-08-22 19:10:36] local.INFO: GPS Element Parsed {"raw_longitude":763511552,"raw_latitude":97609328,"longitude_deg":76.3511552,"latitude_deg":9.7609328,"altitude":8,"angle":279,"satellites":30,"speed":35,"hex_longitude":"2d824300","hex_latitude":"05d16670","is_valid_coordinates":true} 
[2026-08-22 19:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575939840001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122368200993144832,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053501863421958144,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:36] 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-22 19:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787406022000,"timestamp_ms":1787406022000,"timestamp_seconds":1787406022,"priority":1,"record_length":96,"hex_timestamp":"000001a029b37570"} 
[2026-08-22 19:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:10:36] 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-22 19:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-22 19:10:36] 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-22 19:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:10: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-22 19:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575939840001,"66":12069,"63":206,"85":15104,"24":35,"16":122368200993144832,"45":-9053501863421958144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-22 19:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575939840001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:10:36] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-22 19:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122368200993144832,"km_value":122368200993144.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053501863421958144,"description":"Unknown IO ID 45"} 
[2026-08-22 19:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575939840001,"power":12069,"unknown_63":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9053501863421958144}} 
[2026-08-22 19:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":162584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:10:36] local.INFO: GPS data processed {"connection_id":162584,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:10:36] local.INFO: Acknowledgment sent {"connection_id":162584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:10:48] local.INFO: TCP Data received {"connection_id":161165,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:10:48] local.INFO: Processing buffer {"connection_id":161165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:10:48] local.INFO: IMEI packet received {"connection_id":161165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":161165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:10:53] local.INFO: TCP Data received {"connection_id":161165,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:10:53] local.INFO: Processing buffer {"connection_id":161165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:10:53] local.INFO: IMEI packet received {"connection_id":161165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":161165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:10:54] local.INFO: TCP Data received {"connection_id":161165,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:10:54] local.INFO: Processing buffer {"connection_id":161165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:10:54] local.INFO: Packet analysis {"connection_id":161165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:10:54] local.INFO: Extracted packet for processing {"connection_id":161165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575800832001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:10:54] 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-22 19:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787405773000,"timestamp_ms":1787405773000,"timestamp_seconds":1787405773,"priority":1,"record_length":96,"hex_timestamp":"000001a029afa8c8"} 
[2026-08-22 19:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-22 19:10:54] 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-22 19:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:10: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-22 19:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575800832001,"66":25952,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575800832001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:10:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:10:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575800832001,"power":25952,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":161165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:10:54] local.INFO: GPS data processed {"connection_id":161165,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:10:54] local.INFO: Acknowledgment sent {"connection_id":161165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:10:57] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:10:57] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:10:57] local.INFO: IMEI packet received {"connection_id":160219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":160219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:10:57] local.INFO: TCP Data received {"connection_id":162585,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:10:57] local.INFO: Processing buffer {"connection_id":162585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:10:57] local.INFO: IMEI packet received {"connection_id":162585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":162585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:10:58] local.INFO: TCP Data received {"connection_id":162585,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:10:58] local.INFO: Processing buffer {"connection_id":162585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:10:58] local.INFO: IMEI packet received {"connection_id":162585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":162585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:11:00] local.INFO: TCP Data received {"connection_id":162585,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:11:00] local.INFO: Processing buffer {"connection_id":162585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:11:00] local.INFO: IMEI packet received {"connection_id":162585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":162585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:11:02] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:11:02] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:11:02] local.INFO: IMEI packet received {"connection_id":160219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":160219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:11:02] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:11:02] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:11:02] local.INFO: Packet analysis {"connection_id":160219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:11:02] local.INFO: Extracted packet for processing {"connection_id":160219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:11:02] local.INFO: GPS Element Parsed {"raw_longitude":755488576,"raw_latitude":119925104,"longitude_deg":75.5488576,"latitude_deg":11.9925104,"altitude":15,"angle":225,"satellites":33,"speed":4,"hex_longitude":"2d07d740","hex_latitude":"0725e970","is_valid_coordinates":true} 
[2026-08-22 19:11:02] 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-22 19:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:02] 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-22 19:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787405961000,"timestamp_ms":1787405961000,"timestamp_seconds":1787405961,"priority":1,"record_length":96,"hex_timestamp":"000001a029b28728"} 
[2026-08-22 19:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:11: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-22 19:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:11:02] 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-22 19:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:11:02] 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-22 19:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":13015,"25":206,"83":44288,"24":4,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:11:02] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:11:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":13015,"unknown_25":206,"unknown_83":44288,"ignition":4,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":160219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:11:02] local.INFO: GPS data processed {"connection_id":160219,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:11:02] local.INFO: Acknowledgment sent {"connection_id":160219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:11:04] local.INFO: TCP Data received {"connection_id":162585,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:11:04] local.INFO: Processing buffer {"connection_id":162585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:11:04] local.INFO: IMEI packet received {"connection_id":162585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":162585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:11:04] local.INFO: TCP Data received {"connection_id":162585,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b37d40012d823c4005d16880000801251e..."} 
[2026-08-22 19:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b37d40012d823c4005d16880000801251e..."} 
[2026-08-22 19:11:04] local.INFO: Processing buffer {"connection_id":162585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b37d40012d823c4005d16880000801251e..."} 
[2026-08-22 19:11:04] local.INFO: Packet analysis {"connection_id":162585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b3"} 
[2026-08-22 19:11:04] local.INFO: Extracted packet for processing {"connection_id":162585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b3"} 
[2026-08-22 19:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763509824,"raw_latitude":97609856,"longitude_deg":76.3509824,"latitude_deg":9.7609856,"altitude":8,"angle":293,"satellites":30,"speed":35,"hex_longitude":"2d823c40","hex_latitude":"05d16880","is_valid_coordinates":true} 
[2026-08-22 19:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575941632001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122368291187458048,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060398000351318016,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:04] 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-22 19:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787406024000,"timestamp_ms":1787406024000,"timestamp_seconds":1787406024,"priority":1,"record_length":96,"hex_timestamp":"000001a029b37d40"} 
[2026-08-22 19:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-22 19:11:04] 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-22 19:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:11:04] 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-22 19:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575941632001,"66":11863,"63":206,"85":15104,"24":35,"16":122368291187458048,"45":-9060398000351318016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-22 19:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575941632001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:11:04] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-22 19:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122368291187458048,"km_value":122368291187458.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060398000351318016,"description":"Unknown IO ID 45"} 
[2026-08-22 19:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575941632001,"power":11863,"unknown_63":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9060398000351318016}} 
[2026-08-22 19:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":162585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:11:05] local.INFO: GPS data processed {"connection_id":162585,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:11:05] local.INFO: Acknowledgment sent {"connection_id":162585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:11:26] local.INFO: TCP Data received {"connection_id":161165,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:11:26] local.INFO: Processing buffer {"connection_id":161165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029afa8c8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:11:26] local.INFO: Packet analysis {"connection_id":161165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:11:26] local.INFO: Extracted packet for processing {"connection_id":161165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029af"} 
[2026-08-22 19:11:26] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575800832001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11: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-22 19:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787405773000,"timestamp_ms":1787405773000,"timestamp_seconds":1787405773,"priority":1,"record_length":96,"hex_timestamp":"000001a029afa8c8"} 
[2026-08-22 19:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:11: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-22 19:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-22 19:11:26] 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-22 19:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:11: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-22 19:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575800832001,"66":25952,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575800832001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:11:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:11:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575800832001,"power":25952,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":161165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:11:26] local.INFO: GPS data processed {"connection_id":161165,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:11:26] local.INFO: Acknowledgment sent {"connection_id":161165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:11:33] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:11:33] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:11:33] local.INFO: Packet analysis {"connection_id":160219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:11:33] local.INFO: Extracted packet for processing {"connection_id":160219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:11:33] local.INFO: GPS Element Parsed {"raw_longitude":755488576,"raw_latitude":119925104,"longitude_deg":75.5488576,"latitude_deg":11.9925104,"altitude":15,"angle":225,"satellites":33,"speed":4,"hex_longitude":"2d07d740","hex_latitude":"0725e970","is_valid_coordinates":true} 
[2026-08-22 19:11:33] 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-22 19:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:33] 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-22 19:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787405961000,"timestamp_ms":1787405961000,"timestamp_seconds":1787405961,"priority":1,"record_length":96,"hex_timestamp":"000001a029b28728"} 
[2026-08-22 19: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-22 19:11: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-22 19: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:11:33] 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-22 19: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-22 19: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-22 19:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:11:33] 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-22 19:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":13015,"25":206,"83":44288,"24":4,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:11:33] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":13015,"unknown_25":206,"unknown_83":44288,"ignition":4,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":160219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:11:33] local.INFO: GPS data processed {"connection_id":160219,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:11:33] local.INFO: Acknowledgment sent {"connection_id":160219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:11:36] local.INFO: TCP Data received {"connection_id":162585,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b3a068012d821e8005d173f0000801191e..."} 
[2026-08-22 19:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b3a068012d821e8005d173f0000801191e..."} 
[2026-08-22 19:11:36] local.INFO: Processing buffer {"connection_id":162585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b3a068012d821e8005d173f0000801191e..."} 
[2026-08-22 19:11:36] local.INFO: Packet analysis {"connection_id":162585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b3"} 
[2026-08-22 19:11:36] local.INFO: Extracted packet for processing {"connection_id":162585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b3"} 
[2026-08-22 19:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763502208,"raw_latitude":97612784,"longitude_deg":76.3502208,"latitude_deg":9.7612784,"altitude":8,"angle":281,"satellites":30,"speed":34,"hex_longitude":"2d821e80","hex_latitude":"05d173f0","is_valid_coordinates":true} 
[2026-08-22 19:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575942144001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122368682029481984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062297956443979776,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:36] 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-22 19:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787406033000,"timestamp_ms":1787406033000,"timestamp_seconds":1787406033,"priority":1,"record_length":96,"hex_timestamp":"000001a029b3a068"} 
[2026-08-22 19:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:11:36] 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-22 19:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-22 19:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:11: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-22 19:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575942144001,"66":12026,"64":206,"85":15104,"24":34,"16":122368682029481984,"45":-9062297956443979776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-22 19:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575942144001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:11:36] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-22 19:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122368682029481984,"km_value":122368682029481.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062297956443979776,"description":"Unknown IO ID 45"} 
[2026-08-22 19:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575942144001,"power":12026,"unknown_64":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9062297956443979776}} 
[2026-08-22 19:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":162585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:11:36] local.INFO: GPS data processed {"connection_id":162585,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:11:36] local.INFO: Acknowledgment sent {"connection_id":162585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:11:48] local.INFO: TCP Data received {"connection_id":160220,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:11:48] local.INFO: Processing buffer {"connection_id":160220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:11:48] local.INFO: IMEI packet received {"connection_id":160220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":160220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:11:52] local.INFO: TCP Data received {"connection_id":160220,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:11:52] local.INFO: Processing buffer {"connection_id":160220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:11:52] local.INFO: IMEI packet received {"connection_id":160220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":160220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:11:55] local.INFO: TCP Data received {"connection_id":160220,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:11:55] local.INFO: Processing buffer {"connection_id":160220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:11:55] local.INFO: Packet analysis {"connection_id":160220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:11:55] local.INFO: Extracted packet for processing {"connection_id":160220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575877888001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:11:55] 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-22 19:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787406074000,"timestamp_ms":1787406074000,"timestamp_seconds":1787406074,"priority":1,"record_length":96,"hex_timestamp":"000001a029b44090"} 
[2026-08-22 19: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-22 19:11: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-22 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 19:11:55] 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-22 19: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-22 19: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-22 19:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:11: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-22 19:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575877888001,"66":25941,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575877888001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:11:55] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:11:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575877888001,"power":25941,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":160220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:11:55] local.INFO: GPS data processed {"connection_id":160220,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:11:55] local.INFO: Acknowledgment sent {"connection_id":160220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:11:57] local.INFO: TCP Data received {"connection_id":160221,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:11:57] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:11:57] local.INFO: IMEI packet received {"connection_id":160221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":160221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:12:00] local.INFO: TCP Data received {"connection_id":162586,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:12:00] local.INFO: Processing buffer {"connection_id":162586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:12:00] local.INFO: IMEI packet received {"connection_id":162586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":162586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:12:02] local.INFO: TCP Data received {"connection_id":160221,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:12:02] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:12:02] local.INFO: IMEI packet received {"connection_id":160221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":160221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:12:03] local.INFO: TCP Data received {"connection_id":160221,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:12:03] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:12:03] local.INFO: Packet analysis {"connection_id":160221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:12:03] local.INFO: Extracted packet for processing {"connection_id":160221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:12:03] local.INFO: GPS Element Parsed {"raw_longitude":755488576,"raw_latitude":119925104,"longitude_deg":75.5488576,"latitude_deg":11.9925104,"altitude":15,"angle":225,"satellites":33,"speed":4,"hex_longitude":"2d07d740","hex_latitude":"0725e970","is_valid_coordinates":true} 
[2026-08-22 19:12:03] 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-22 19:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:03] 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-22 19:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787405961000,"timestamp_ms":1787405961000,"timestamp_seconds":1787405961,"priority":1,"record_length":96,"hex_timestamp":"000001a029b28728"} 
[2026-08-22 19:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:12: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-22 19:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:12:03] 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-22 19:12: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-22 19:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:12:03] 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-22 19:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":13015,"25":206,"83":44288,"24":4,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:12:03] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:12:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":13015,"unknown_25":206,"unknown_83":44288,"ignition":4,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":160221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:12:03] local.INFO: GPS data processed {"connection_id":160221,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:12:03] local.INFO: Acknowledgment sent {"connection_id":160221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:12:05] local.INFO: TCP Data received {"connection_id":162586,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:12:05] local.INFO: Processing buffer {"connection_id":162586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:12:05] local.INFO: IMEI packet received {"connection_id":162586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":162586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:12:06] local.INFO: TCP Data received {"connection_id":162586,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b49a68012d818fc005d184800007011c1f..."} 
[2026-08-22 19:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b49a68012d818fc005d184800007011c1f..."} 
[2026-08-22 19:12:06] local.INFO: Processing buffer {"connection_id":162586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b49a68012d818fc005d184800007011c1f..."} 
[2026-08-22 19:12:06] local.INFO: Packet analysis {"connection_id":162586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:12:06] local.INFO: Extracted packet for processing {"connection_id":162586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763465664,"raw_latitude":97617024,"longitude_deg":76.3465664,"latitude_deg":9.7617024,"altitude":7,"angle":284,"satellites":31,"speed":26,"hex_longitude":"2d818fc0","hex_latitude":"05d18480","is_valid_coordinates":true} 
[2026-08-22 19:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575960064001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122370468735877120,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9108530221366931456,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:06] 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-22 19:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787406097000,"timestamp_ms":1787406097000,"timestamp_seconds":1787406097,"priority":1,"record_length":96,"hex_timestamp":"000001a029b49a68"} 
[2026-08-22 19:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-22 19:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:12:06] 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-22 19:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575960064001,"66":11624,"65":206,"85":15104,"24":26,"16":122370468735877120,"45":-9108530221366931456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-22 19:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575960064001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:12:06] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-22 19:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122370468735877120,"km_value":122370468735877.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9108530221366931456,"description":"Unknown IO ID 45"} 
[2026-08-22 19:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575960064001,"power":11624,"unknown_65":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9108530221366931456}} 
[2026-08-22 19:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":162586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:12:06] local.INFO: GPS data processed {"connection_id":162586,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:12:06] local.INFO: Acknowledgment sent {"connection_id":162586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:12:07] local.INFO: TCP Data received {"connection_id":160221,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:12:07] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:12:07] local.INFO: Packet analysis {"connection_id":160221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:12:07] local.INFO: Extracted packet for processing {"connection_id":160221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":755488576,"raw_latitude":119925104,"longitude_deg":75.5488576,"latitude_deg":11.9925104,"altitude":15,"angle":225,"satellites":33,"speed":4,"hex_longitude":"2d07d740","hex_latitude":"0725e970","is_valid_coordinates":true} 
[2026-08-22 19:12:07] 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-22 19:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:07] 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-22 19:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787405961000,"timestamp_ms":1787405961000,"timestamp_seconds":1787405961,"priority":1,"record_length":96,"hex_timestamp":"000001a029b28728"} 
[2026-08-22 19: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-22 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 19: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:12:07] 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-22 19: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-22 19: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-22 19:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:12:07] 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-22 19:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":13015,"25":206,"83":44288,"24":4,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:12:07] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":13015,"unknown_25":206,"unknown_83":44288,"ignition":4,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":160221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:12:07] local.INFO: GPS data processed {"connection_id":160221,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:12:07] local.INFO: Acknowledgment sent {"connection_id":160221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:12:27] local.INFO: TCP Data received {"connection_id":160220,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:12:27] local.INFO: Processing buffer {"connection_id":160220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:12:27] local.INFO: Packet analysis {"connection_id":160220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:12:27] local.INFO: Extracted packet for processing {"connection_id":160220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575877888001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:27] 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-22 19:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787406074000,"timestamp_ms":1787406074000,"timestamp_seconds":1787406074,"priority":1,"record_length":96,"hex_timestamp":"000001a029b44090"} 
[2026-08-22 19:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 19:12:27] 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-22 19:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:12: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-22 19:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575877888001,"66":25941,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575877888001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:12:27] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575877888001,"power":25941,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":160220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:12:27] local.INFO: GPS data processed {"connection_id":160220,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:12:27] local.INFO: Acknowledgment sent {"connection_id":160220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:12:37] local.INFO: TCP Data received {"connection_id":162586,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b56970012d81120005d18be8000801411f..."} 
[2026-08-22 19:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b56970012d81120005d18be8000801411f..."} 
[2026-08-22 19:12:37] local.INFO: Processing buffer {"connection_id":162586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b56970012d81120005d18be8000801411f..."} 
[2026-08-22 19:12:37] local.INFO: Packet analysis {"connection_id":162586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b5"} 
[2026-08-22 19:12:37] local.INFO: Extracted packet for processing {"connection_id":162586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b5"} 
[2026-08-22 19:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763433472,"raw_latitude":97618920,"longitude_deg":76.3433472,"latitude_deg":9.761892,"altitude":8,"angle":321,"satellites":31,"speed":7,"hex_longitude":"2d811200","hex_latitude":"05d18be8","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575974144001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122372044988874752,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146107130757292032,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:37] 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-22 19:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787406150000,"timestamp_ms":1787406150000,"timestamp_seconds":1787406150,"priority":1,"record_length":96,"hex_timestamp":"000001a029b56970"} 
[2026-08-22 19: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-22 19:12:37] 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-22 19: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-22 19:12:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2166390789,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:37] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3040514049,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:37] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2334130184,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312882894,"corrected_to":0} 
[2026-08-22 19:12:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":3355520385,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:37] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3221606789,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:37] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495758,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3223977984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,65,85,24,241,157,16,192,160,97,45,64,139,8,31,10,66,93,138,82,1,240,218,227,41,209,4,113,205,7,67,32,239,47,2,178],"length":434,"final_offset":564,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1312882894,"validated":0}]} 
[2026-08-22 19:12:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576800634540851200,"timestamp_seconds":576800634540851.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 19: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-22 19:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:12:37] 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-22 19:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575974144001,"66":11798,"65":206,"85":15104,"24":7,"16":122372044988874752,"45":-9146107130757292032},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-22 19:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575974144001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:12:37] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-22 19:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122372044988874752,"km_value":122372044988874.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146107130757292032,"description":"Unknown IO ID 45"} 
[2026-08-22 19:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575974144001,"power":11798,"unknown_65":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9146107130757292032}} 
[2026-08-22 19:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":162586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:12:37] local.INFO: GPS data processed {"connection_id":162586,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:12:37] local.INFO: Acknowledgment sent {"connection_id":162586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:12:48] local.INFO: TCP Data received {"connection_id":159991,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:12:48] local.INFO: Processing buffer {"connection_id":159991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:12:48] local.INFO: IMEI packet received {"connection_id":159991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":159991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:12:52] local.INFO: TCP Data received {"connection_id":161166,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:12:52] local.INFO: Processing buffer {"connection_id":161166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:12:52] local.INFO: IMEI packet received {"connection_id":161166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":161166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:12:53] local.INFO: TCP Data received {"connection_id":159991,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:12:53] local.INFO: Processing buffer {"connection_id":159991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:12:53] local.INFO: IMEI packet received {"connection_id":159991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":159991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:12:54] local.INFO: TCP Data received {"connection_id":159991,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:12:54] local.INFO: Processing buffer {"connection_id":159991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:12:54] local.INFO: Packet analysis {"connection_id":159991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:12:54] local.INFO: Extracted packet for processing {"connection_id":159991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:12:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575877888001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:54] 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-22 19:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787406074000,"timestamp_ms":1787406074000,"timestamp_seconds":1787406074,"priority":1,"record_length":96,"hex_timestamp":"000001a029b44090"} 
[2026-08-22 19:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 19:12:54] 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-22 19:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:12: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-22 19:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575877888001,"66":25941,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575877888001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:12:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:12:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575877888001,"power":25941,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":159991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:12:54] local.INFO: GPS data processed {"connection_id":159991,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:12:54] local.INFO: Acknowledgment sent {"connection_id":159991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:12:57] local.INFO: TCP Data received {"connection_id":161166,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:12:57] local.INFO: Processing buffer {"connection_id":161166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:12:57] local.INFO: IMEI packet received {"connection_id":161166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":161166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:12:58] local.INFO: TCP Data received {"connection_id":161166,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:12:58] local.INFO: Processing buffer {"connection_id":161166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:12:58] local.INFO: Packet analysis {"connection_id":161166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:12:58] local.INFO: Extracted packet for processing {"connection_id":161166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:12:58] local.INFO: GPS Element Parsed {"raw_longitude":755488576,"raw_latitude":119925104,"longitude_deg":75.5488576,"latitude_deg":11.9925104,"altitude":15,"angle":225,"satellites":33,"speed":4,"hex_longitude":"2d07d740","hex_latitude":"0725e970","is_valid_coordinates":true} 
[2026-08-22 19:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:12:58] 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-22 19:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787405961000,"timestamp_ms":1787405961000,"timestamp_seconds":1787405961,"priority":1,"record_length":96,"hex_timestamp":"000001a029b28728"} 
[2026-08-22 19: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-22 19:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:12:58] 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-22 19: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-22 19: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-22 19:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:12:58] 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-22 19:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":13015,"25":206,"83":44288,"24":4,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:12:58] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:12:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":13015,"unknown_25":206,"unknown_83":44288,"ignition":4,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":161166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:12:58] local.INFO: GPS data processed {"connection_id":161166,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:12:58] local.INFO: Acknowledgment sent {"connection_id":161166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:13:00] local.INFO: TCP Data received {"connection_id":161167,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:13:00] local.INFO: Processing buffer {"connection_id":161167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:13:00] local.INFO: IMEI packet received {"connection_id":161167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":161167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:13:01] local.INFO: TCP Data received {"connection_id":161167,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:13:01] local.INFO: Processing buffer {"connection_id":161167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:13:01] local.INFO: IMEI packet received {"connection_id":161167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":161167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:13:05] local.INFO: TCP Data received {"connection_id":161167,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:13:05] local.INFO: Processing buffer {"connection_id":161167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:13:05] local.INFO: IMEI packet received {"connection_id":161167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":161167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:13:06] local.INFO: TCP Data received {"connection_id":161167,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b56d58012d8111c005d18cc0000801581f..."} 
[2026-08-22 19:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b56d58012d8111c005d18cc0000801581f..."} 
[2026-08-22 19:13:06] local.INFO: Processing buffer {"connection_id":161167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b56d58012d8111c005d18cc0000801581f..."} 
[2026-08-22 19:13:06] local.INFO: Packet analysis {"connection_id":161167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b5"} 
[2026-08-22 19:13:06] local.INFO: Extracted packet for processing {"connection_id":161167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b5"} 
[2026-08-22 19:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763433408,"raw_latitude":97619136,"longitude_deg":76.3433408,"latitude_deg":9.7619136,"altitude":8,"angle":344,"satellites":31,"speed":9,"hex_longitude":"2d8111c0","hex_latitude":"05d18cc0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575974400001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122372057873776640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146247868245612544,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] 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-22 19:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787406151000,"timestamp_ms":1787406151000,"timestamp_seconds":1787406151,"priority":1,"record_length":96,"hex_timestamp":"000001a029b56d58"} 
[2026-08-22 19: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-22 19:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2165686277,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184155676877,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":27,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3042050049,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-9009451002998284544,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846543088,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312882894,"corrected_to":0} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2415996289,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2634075470,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-4599864069405540352,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":80,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619931049986,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1637732501687297,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2233811803454835200,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":146,"raw_value":57788411319047483,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.WARNING: Large IO value detected {"io_id":180,"raw_value":-3661425202095489019,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:06] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,65,85,24,241,157,16,192,160,101,45,128,139,8,31,10,66,97,64,93,1,240,27,227,41,209,4,113,205,58,32,239,47,2,178,80,206,104,15,146,180],"length":632,"final_offset":762,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1312882894,"validated":0}]} 
[2026-08-22 19:13:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576813828680384512,"timestamp_seconds":576813828680384.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 19: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-22 19:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:13:06] 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-22 19:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575974400001,"66":11798,"65":206,"85":15104,"24":9,"16":122372057873776640,"45":-9146247868245612544},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-22 19:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575974400001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:13:06] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-22 19:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122372057873776640,"km_value":122372057873776.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146247868245612544,"description":"Unknown IO ID 45"} 
[2026-08-22 19:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575974400001,"power":11798,"unknown_65":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9146247868245612544}} 
[2026-08-22 19:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":161167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:13:06] local.INFO: GPS data processed {"connection_id":161167,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:13:06] local.INFO: Acknowledgment sent {"connection_id":161167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:13:25] local.INFO: TCP Data received {"connection_id":159991,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:13:25] local.INFO: Processing buffer {"connection_id":159991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:13:25] local.INFO: Packet analysis {"connection_id":159991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:13:25] local.INFO: Extracted packet for processing {"connection_id":159991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:13:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 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-22 19:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575877888001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13: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-22 19:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787406074000,"timestamp_ms":1787406074000,"timestamp_seconds":1787406074,"priority":1,"record_length":96,"hex_timestamp":"000001a029b44090"} 
[2026-08-22 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-22 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-22 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":96,"data_length":795,"current_offset":136} 
[2026-08-22 19:13: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-22 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-22 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-22 19:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 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-22 19:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575877888001,"66":25941,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575877888001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:13:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575877888001,"power":25941,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":159991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:13:25] local.INFO: GPS data processed {"connection_id":159991,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:13:25] local.INFO: Acknowledgment sent {"connection_id":159991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:13:29] local.INFO: TCP Data received {"connection_id":161166,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:13:29] local.INFO: Processing buffer {"connection_id":161166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:13:29] local.INFO: Packet analysis {"connection_id":161166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:13:29] local.INFO: Extracted packet for processing {"connection_id":161166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:13:29] local.INFO: GPS Element Parsed {"raw_longitude":755488576,"raw_latitude":119925104,"longitude_deg":75.5488576,"latitude_deg":11.9925104,"altitude":15,"angle":225,"satellites":33,"speed":4,"hex_longitude":"2d07d740","hex_latitude":"0725e970","is_valid_coordinates":true} 
[2026-08-22 19:13:29] 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-22 19:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:29] 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-22 19:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787405961000,"timestamp_ms":1787405961000,"timestamp_seconds":1787405961,"priority":1,"record_length":96,"hex_timestamp":"000001a029b28728"} 
[2026-08-22 19:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:13: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-22 19:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:13:29] 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-22 19:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:13:29] 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-22 19:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":13015,"25":206,"83":44288,"24":4,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:13:29] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:13:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":13015,"unknown_25":206,"unknown_83":44288,"ignition":4,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":161166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:13:29] local.INFO: GPS data processed {"connection_id":161166,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:13:29] local.INFO: Acknowledgment sent {"connection_id":161166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:13:37] local.INFO: TCP Data received {"connection_id":161167,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b57140012d8111c005d18dc8000800011f..."} 
[2026-08-22 19:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b57140012d8111c005d18dc8000800011f..."} 
[2026-08-22 19:13:37] local.INFO: Processing buffer {"connection_id":161167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b57140012d8111c005d18dc8000800011f..."} 
[2026-08-22 19:13:37] local.INFO: Packet analysis {"connection_id":161167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b5"} 
[2026-08-22 19:13:37] local.INFO: Extracted packet for processing {"connection_id":161167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b5"} 
[2026-08-22 19:13:37] local.INFO: GPS Element Parsed {"raw_longitude":763433408,"raw_latitude":97619400,"longitude_deg":76.3433408,"latitude_deg":9.76194,"altitude":8,"angle":1,"satellites":31,"speed":10,"hex_longitude":"2d8111c0","hex_latitude":"05d18dc8","is_valid_coordinates":true} 
[2026-08-22 19:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575974656001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122372070758678528,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146318236989734912,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] 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-22 19:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787406152000,"timestamp_ms":1787406152000,"timestamp_seconds":1787406152,"priority":1,"record_length":96,"hex_timestamp":"000001a029b57140"} 
[2026-08-22 19:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:13:37] 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-22 19:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2165555205,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184172781773,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3042818049,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-9056738799084691712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846543088,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312882894,"corrected_to":0} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3221606795,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3657485646,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-4571153621781053440,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":79,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619930591234,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":67,"raw_value":-4610048273846105343,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":57788411319047483,"corrected_to":0} 
[2026-08-22 19:13:37] local.WARNING: Large IO value detected {"io_id":180,"raw_value":-2817000271964012539,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,65,85,24,241,157,16,192,160,105,45,139,8,31,10,66,101,128,97,64,1,240,227,41,209,4,113,205,6,82,21,239,44,2,178,79,206,67,200,180],"length":632,"final_offset":762,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1312882894,"validated":0},{"io_id":200,"original":57788411319047483,"validated":0}]} 
[2026-08-22 19:13:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576839117447954432,"timestamp_seconds":576839117447954.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 19:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:13:37] 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-22 19:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575974656001,"66":12015,"65":206,"85":15104,"24":10,"16":122372070758678528,"45":-9146318236989734912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-22 19:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575974656001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:13:37] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-22 19:13:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122372070758678528,"km_value":122372070758678.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146318236989734912,"description":"Unknown IO ID 45"} 
[2026-08-22 19:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575974656001,"power":12015,"unknown_65":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9146318236989734912}} 
[2026-08-22 19:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":161167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:13:37] local.INFO: GPS data processed {"connection_id":161167,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:13:37] local.INFO: Acknowledgment sent {"connection_id":161167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:13:48] local.INFO: TCP Data received {"connection_id":159992,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:13:48] local.INFO: Processing buffer {"connection_id":159992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:13:48] local.INFO: IMEI packet received {"connection_id":159992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":159992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:13:52] local.INFO: TCP Data received {"connection_id":162587,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:13:52] local.INFO: Processing buffer {"connection_id":162587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:13:52] local.INFO: IMEI packet received {"connection_id":162587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":162587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:13:53] local.INFO: TCP Data received {"connection_id":159992,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:13:53] local.INFO: Processing buffer {"connection_id":159992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:13:53] local.INFO: IMEI packet received {"connection_id":159992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":159992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:13:54] local.INFO: TCP Data received {"connection_id":159992,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:13:54] local.INFO: Processing buffer {"connection_id":159992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:13:54] local.INFO: Packet analysis {"connection_id":159992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:13:54] local.INFO: Extracted packet for processing {"connection_id":159992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575877888001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:54] 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-22 19:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787406074000,"timestamp_ms":1787406074000,"timestamp_seconds":1787406074,"priority":1,"record_length":96,"hex_timestamp":"000001a029b44090"} 
[2026-08-22 19:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 19:13:54] 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-22 19:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19: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-22 19:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575877888001,"66":25941,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575877888001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:13:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:13:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575877888001,"power":25941,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":159992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:13:54] local.INFO: GPS data processed {"connection_id":159992,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:13:54] local.INFO: Acknowledgment sent {"connection_id":159992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:13:57] local.INFO: TCP Data received {"connection_id":162587,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:13:57] local.INFO: Processing buffer {"connection_id":162587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:13:57] local.INFO: IMEI packet received {"connection_id":162587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":162587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:13:58] local.INFO: TCP Data received {"connection_id":162587,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:13:58] local.INFO: Processing buffer {"connection_id":162587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:13:58] local.INFO: Packet analysis {"connection_id":162587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:13:58] local.INFO: Extracted packet for processing {"connection_id":162587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:13:58] local.INFO: GPS Element Parsed {"raw_longitude":755488576,"raw_latitude":119925104,"longitude_deg":75.5488576,"latitude_deg":11.9925104,"altitude":15,"angle":225,"satellites":33,"speed":4,"hex_longitude":"2d07d740","hex_latitude":"0725e970","is_valid_coordinates":true} 
[2026-08-22 19:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:13:58] 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-22 19:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787405961000,"timestamp_ms":1787405961000,"timestamp_seconds":1787405961,"priority":1,"record_length":96,"hex_timestamp":"000001a029b28728"} 
[2026-08-22 19: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-22 19:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:13:58] 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-22 19: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-22 19: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-22 19:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:13:58] 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-22 19:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":13015,"25":206,"83":44288,"24":4,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:13:58] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:13:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":13015,"unknown_25":206,"unknown_83":44288,"ignition":4,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":162587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:13:58] local.INFO: GPS data processed {"connection_id":162587,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:13:58] local.INFO: Acknowledgment sent {"connection_id":162587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:13:59] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:13:59] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:13:59] local.INFO: IMEI packet received {"connection_id":159993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":159993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:14:00] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:14:00] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:14:00] local.INFO: IMEI packet received {"connection_id":159993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":159993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:14:03] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:14:03] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:14:03] local.INFO: IMEI packet received {"connection_id":159993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":159993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:14:04] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:14:04] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:14:04] local.INFO: IMEI packet received {"connection_id":159993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":159993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:14:05] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b6b190012d81190005d268c80003014b1f..."} 
[2026-08-22 19:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b6b190012d81190005d268c80003014b1f..."} 
[2026-08-22 19:14:05] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b6b190012d81190005d268c80003014b1f..."} 
[2026-08-22 19:14:05] local.INFO: Packet analysis {"connection_id":159993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b6"} 
[2026-08-22 19:14:05] local.INFO: Extracted packet for processing {"connection_id":159993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b6"} 
[2026-08-22 19:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763435264,"raw_latitude":97675464,"longitude_deg":76.3435264,"latitude_deg":9.7675464,"altitude":3,"angle":331,"satellites":31,"speed":19,"hex_longitude":"2d811900","hex_latitude":"05d268c8","is_valid_coordinates":true} 
[2026-08-22 19:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575995648001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122374819537747968,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143996068417566720,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:05] 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-22 19:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787406234000,"timestamp_ms":1787406234000,"timestamp_seconds":1787406234,"priority":1,"record_length":96,"hex_timestamp":"000001a029b6b190"} 
[2026-08-22 19:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:14: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-22 19:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-22 19:14:05] 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-22 19:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:14:05] 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-22 19:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575995648001,"66":12178,"208":206,"85":15104,"24":19,"16":122374819537747968,"45":-9143996068417566720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 19:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575995648001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:14:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 19:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122374819537747968,"km_value":122374819537747.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143996068417566720,"description":"Unknown IO ID 45"} 
[2026-08-22 19:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575995648001,"power":12178,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9143996068417566720}} 
[2026-08-22 19:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":159993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:14:05] local.INFO: GPS data processed {"connection_id":159993,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:14:05] local.INFO: Acknowledgment sent {"connection_id":159993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:14:05] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b6b578012d81178005d26a400002013a1f..."} 
[2026-08-22 19:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b6b578012d81178005d26a400002013a1f..."} 
[2026-08-22 19:14:05] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b6b578012d81178005d26a400002013a1f..."} 
[2026-08-22 19:14:05] local.INFO: Packet analysis {"connection_id":159993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b6"} 
[2026-08-22 19:14:05] local.INFO: Extracted packet for processing {"connection_id":159993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b6"} 
[2026-08-22 19:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763434880,"raw_latitude":97675840,"longitude_deg":76.343488,"latitude_deg":9.767584,"altitude":2,"angle":314,"satellites":31,"speed":18,"hex_longitude":"2d811780","hex_latitude":"05d26a40","is_valid_coordinates":true} 
[2026-08-22 19:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575995904001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122374845307551744,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144277543394162688,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:05] 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-22 19:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787406235000,"timestamp_ms":1787406235000,"timestamp_seconds":1787406235,"priority":1,"record_length":96,"hex_timestamp":"000001a029b6b578"} 
[2026-08-22 19:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:14: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-22 19:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-22 19:14:05] 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-22 19:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:14:05] 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-22 19:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575995904001,"66":12178,"208":206,"85":15104,"24":18,"16":122374845307551744,"45":-9144277543394162688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 19:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575995904001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:14:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 19:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122374845307551744,"km_value":122374845307551.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144277543394162688,"description":"Unknown IO ID 45"} 
[2026-08-22 19:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575995904001,"power":12178,"unknown_208":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9144277543394162688}} 
[2026-08-22 19:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":159993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:14:06] local.INFO: GPS data processed {"connection_id":159993,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:14:06] local.INFO: Acknowledgment sent {"connection_id":159993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:14:25] local.INFO: TCP Data received {"connection_id":159992,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:14:25] local.INFO: Processing buffer {"connection_id":159992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:14:25] local.INFO: Packet analysis {"connection_id":159992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:14:25] local.INFO: Extracted packet for processing {"connection_id":159992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:14:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 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-22 19:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575877888001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14: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-22 19:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787406074000,"timestamp_ms":1787406074000,"timestamp_seconds":1787406074,"priority":1,"record_length":96,"hex_timestamp":"000001a029b44090"} 
[2026-08-22 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-22 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-22 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":96,"data_length":795,"current_offset":136} 
[2026-08-22 19:14: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-22 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-22 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-22 19:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 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-22 19:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575877888001,"66":25941,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575877888001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:14:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:14:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575877888001,"power":25941,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":159992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:14:25] local.INFO: GPS data processed {"connection_id":159992,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:14:25] local.INFO: Acknowledgment sent {"connection_id":159992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:14:29] local.INFO: TCP Data received {"connection_id":162587,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:14:29] local.INFO: Processing buffer {"connection_id":162587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:14:29] local.INFO: Packet analysis {"connection_id":162587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:14:29] local.INFO: Extracted packet for processing {"connection_id":162587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:14:29] local.INFO: GPS Element Parsed {"raw_longitude":755488576,"raw_latitude":119925104,"longitude_deg":75.5488576,"latitude_deg":11.9925104,"altitude":15,"angle":225,"satellites":33,"speed":4,"hex_longitude":"2d07d740","hex_latitude":"0725e970","is_valid_coordinates":true} 
[2026-08-22 19:14:29] 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-22 19:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:29] 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-22 19:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787405961000,"timestamp_ms":1787405961000,"timestamp_seconds":1787405961,"priority":1,"record_length":96,"hex_timestamp":"000001a029b28728"} 
[2026-08-22 19: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-22 19:14: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-22 19: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:14:29] 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-22 19: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-22 19: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-22 19:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:14:29] 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-22 19:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":13015,"25":206,"83":44288,"24":4,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:14:29] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:14:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":13015,"unknown_25":206,"unknown_83":44288,"ignition":4,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":162587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:14:29] local.INFO: GPS data processed {"connection_id":162587,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:14:29] local.INFO: Acknowledgment sent {"connection_id":162587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:14:36] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b73a48012d80f00005d2ac600005013c1f..."} 
[2026-08-22 19:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b73a48012d80f00005d2ac600005013c1f..."} 
[2026-08-22 19:14:36] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b73a48012d80f00005d2ac600005013c1f..."} 
[2026-08-22 19:14:36] local.INFO: Packet analysis {"connection_id":159993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:14:36] local.INFO: Extracted packet for processing {"connection_id":159993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:14:36] local.INFO: GPS Element Parsed {"raw_longitude":763424768,"raw_latitude":97692768,"longitude_deg":76.3424768,"latitude_deg":9.7692768,"altitude":5,"angle":316,"satellites":31,"speed":23,"hex_longitude":"2d80f000","hex_latitude":"05d2ac60","is_valid_coordinates":true} 
[2026-08-22 19:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576004352001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122375923344343040,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154973592504999936,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:36] 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-22 19:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787406269000,"timestamp_ms":1787406269000,"timestamp_seconds":1787406269,"priority":1,"record_length":96,"hex_timestamp":"000001a029b73a48"} 
[2026-08-22 19:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-22 19:14:36] 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-22 19:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:14: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-22 19:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576004352001,"66":12048,"208":206,"85":15104,"24":23,"16":122375923344343040,"45":-9154973592504999936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 19:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576004352001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:14:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 19:14:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122375923344343040,"km_value":122375923344343.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154973592504999936,"description":"Unknown IO ID 45"} 
[2026-08-22 19:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576004352001,"power":12048,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9154973592504999936}} 
[2026-08-22 19:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":159993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:14:36] local.INFO: GPS data processed {"connection_id":159993,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:14:36] local.INFO: Acknowledgment sent {"connection_id":159993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:14:52] local.INFO: TCP Data received {"connection_id":162589,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:14:52] local.INFO: Processing buffer {"connection_id":162589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:14:52] local.INFO: IMEI packet received {"connection_id":162589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":162589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:14:53] local.INFO: TCP Data received {"connection_id":162588,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:14:53] local.INFO: Processing buffer {"connection_id":162588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:14:53] local.INFO: IMEI packet received {"connection_id":162588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":162588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:14:57] local.INFO: TCP Data received {"connection_id":162589,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:14:57] local.INFO: Processing buffer {"connection_id":162589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:14:57] local.INFO: IMEI packet received {"connection_id":162589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":162589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:14:58] local.INFO: TCP Data received {"connection_id":162588,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:14:58] local.INFO: Processing buffer {"connection_id":162588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:14:58] local.INFO: IMEI packet received {"connection_id":162588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":162588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:14:59] local.INFO: TCP Data received {"connection_id":162588,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:14:59] local.INFO: Processing buffer {"connection_id":162588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:14:59] local.INFO: Packet analysis {"connection_id":162588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:14:59] local.INFO: Extracted packet for processing {"connection_id":162588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575877888001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:14:59] 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-22 19:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787406074000,"timestamp_ms":1787406074000,"timestamp_seconds":1787406074,"priority":1,"record_length":96,"hex_timestamp":"000001a029b44090"} 
[2026-08-22 19: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-22 19:14: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-22 19: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":96,"data_length":795,"current_offset":136} 
[2026-08-22 19:14:59] 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-22 19: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-22 19: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-22 19:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:14: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-22 19:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575877888001,"66":25941,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575877888001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:14:59] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575877888001,"power":25941,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":162588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:14:59] local.INFO: GPS data processed {"connection_id":162588,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:14:59] local.INFO: Acknowledgment sent {"connection_id":162588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:15:00] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:15:00] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:15:00] local.INFO: IMEI packet received {"connection_id":159994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":159994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:15:01] local.INFO: TCP Data received {"connection_id":162589,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:15:01] local.INFO: Processing buffer {"connection_id":162589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b28728012d07d7400725e970000f00e121..."} 
[2026-08-22 19:15:01] local.INFO: Packet analysis {"connection_id":162589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:15:01] local.INFO: Extracted packet for processing {"connection_id":162589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b2"} 
[2026-08-22 19:15:01] local.INFO: GPS Element Parsed {"raw_longitude":755488576,"raw_latitude":119925104,"longitude_deg":75.5488576,"latitude_deg":11.9925104,"altitude":15,"angle":225,"satellites":33,"speed":4,"hex_longitude":"2d07d740","hex_latitude":"0725e970","is_valid_coordinates":true} 
[2026-08-22 19:15:01] 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-22 19:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:01] 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-22 19:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787405961000,"timestamp_ms":1787405961000,"timestamp_seconds":1787405961,"priority":1,"record_length":96,"hex_timestamp":"000001a029b28728"} 
[2026-08-22 19:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:15: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-22 19:15: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:15:01] 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-22 19:15: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-22 19:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:15:01] 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-22 19:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":13015,"25":206,"83":44288,"24":4,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:15:01] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:15:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":13015,"unknown_25":206,"unknown_83":44288,"ignition":4,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":162589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:15:01] local.INFO: GPS data processed {"connection_id":162589,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:15:01] local.INFO: Acknowledgment sent {"connection_id":162589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:15:02] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:15:02] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:15:02] local.INFO: IMEI packet received {"connection_id":159994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":159994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:15:04] local.INFO: TCP Data received {"connection_id":162588,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:15:04] local.INFO: Processing buffer {"connection_id":162588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:15:04] local.INFO: Packet analysis {"connection_id":162588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:15:04] local.INFO: Extracted packet for processing {"connection_id":162588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575877888001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:04] 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-22 19:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787406074000,"timestamp_ms":1787406074000,"timestamp_seconds":1787406074,"priority":1,"record_length":96,"hex_timestamp":"000001a029b44090"} 
[2026-08-22 19:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:15: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-22 19:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 19:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:15: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-22 19:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575877888001,"66":25941,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575877888001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:15:04] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:15:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575877888001,"power":25941,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":162588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:15:04] local.INFO: GPS data processed {"connection_id":162588,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:15:04] local.INFO: Acknowledgment sent {"connection_id":162588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:15:05] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:15:05] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:15:05] local.INFO: IMEI packet received {"connection_id":159994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":159994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:15:06] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b74218012d80ec0005d2af500004012a1f..."} 
[2026-08-22 19:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b74218012d80ec0005d2af500004012a1f..."} 
[2026-08-22 19:15:06] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b74218012d80ec0005d2af500004012a1f..."} 
[2026-08-22 19:15:06] local.INFO: Packet analysis {"connection_id":159994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:15:06] local.INFO: Extracted packet for processing {"connection_id":159994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763423744,"raw_latitude":97693520,"longitude_deg":76.3423744,"latitude_deg":9.769352,"altitude":4,"angle":298,"satellites":31,"speed":25,"hex_longitude":"2d80ec00","hex_latitude":"05d2af50","is_valid_coordinates":true} 
[2026-08-22 19:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576004864001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122375983473885184,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155818017434869760,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] 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-22 19:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787406271000,"timestamp_ms":1787406271000,"timestamp_seconds":1787406271,"priority":1,"record_length":96,"hex_timestamp":"000001a029b74218"} 
[2026-08-22 19:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:15: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-22 19:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287293184,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2165063685,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":64,"raw_value":564479481878272,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5565460678476562432,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505466923778048,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3069698049,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2214592515,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629046997710800,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5764871410124390656,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8633401371862433816,"corrected_to":0} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2147865211,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182182464979200,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4194356599,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3281584128,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3281241764412782817,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194816768,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84865837202526836,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:06] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,208,85,24,241,157,16,196,160,50,45,168,6,31,10,66,7,64,140,3,195,255,192,1,240,142,227,41,210,4,113,205,20,232,9,120,239,46,2,178,5,69,136],"length":583,"final_offset":713,"validated_count":43,"validation_warnings":[{"io_id":205,"original":8633401371862433816,"validated":0}]} 
[2026-08-22 19:15:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360635549009510400,"timestamp_seconds":360635549009510.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 19:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:15:06] 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-22 19:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576004864001,"66":11917,"208":206,"85":15104,"24":25,"16":122375983473885184,"45":-9155818017434869760},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 19:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576004864001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:15:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 19:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122375983473885184,"km_value":122375983473885.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155818017434869760,"description":"Unknown IO ID 45"} 
[2026-08-22 19:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576004864001,"power":11917,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9155818017434869760}} 
[2026-08-22 19:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":159994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:15:06] local.INFO: GPS data processed {"connection_id":159994,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:15:06] local.INFO: Acknowledgment sent {"connection_id":159994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:15:32] local.INFO: TCP Data received {"connection_id":162589,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:15:32] local.INFO: Processing buffer {"connection_id":162589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:15:32] local.INFO: Packet analysis {"connection_id":162589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:15:32] local.INFO: Extracted packet for processing {"connection_id":162589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:15:32] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:32] 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-22 19:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787406265000,"timestamp_ms":1787406265000,"timestamp_seconds":1787406265,"priority":1,"record_length":96,"hex_timestamp":"000001a029b72aa8"} 
[2026-08-22 19: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-22 19:15: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-22 19: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:15:32] 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-22 19: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-22 19: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-22 19:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:15:32] 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-22 19:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:15:32] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:15:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":162589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:15:32] local.INFO: GPS data processed {"connection_id":162589,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:15:32] local.INFO: Acknowledgment sent {"connection_id":162589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:15:36] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b81120012d80a44005d2fec80006015d1f..."} 
[2026-08-22 19:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b81120012d80a44005d2fec80006015d1f..."} 
[2026-08-22 19:15:36] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b81120012d80a44005d2fec80006015d1f..."} 
[2026-08-22 19:15:36] local.INFO: Packet analysis {"connection_id":159994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:15:36] local.INFO: Extracted packet for processing {"connection_id":159994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763405376,"raw_latitude":97713864,"longitude_deg":76.3405376,"latitude_deg":9.7713864,"altitude":6,"angle":349,"satellites":31,"speed":21,"hex_longitude":"2d80a440","hex_latitude":"05d2fec8","is_valid_coordinates":true} 
[2026-08-22 19:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576018688001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122377624151392256,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176999009427085312,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:36] 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-22 19:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787406324000,"timestamp_ms":1787406324000,"timestamp_seconds":1787406324,"priority":1,"record_length":96,"hex_timestamp":"000001a029b81120"} 
[2026-08-22 19:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 19:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1008806316698764288,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2160410629,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3246022207918225633,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:36] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3084290049,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:36] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2684431744,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8633401371862433816,"corrected_to":0} 
[2026-08-22 19:15:36] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2147865332,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:36] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182186759946496,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:36] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365640055,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:36] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3311468544,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:36] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194747136,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,208,85,24,241,157,16,197,160,9,45,250,7,31,10,66,5,192,249,226,1,240,227,41,210,4,113,205,13,198,184,239,46,2,178,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":205,"original":8633401371862433816,"validated":0}]} 
[2026-08-22 19:15:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432707436698468352,"timestamp_seconds":432707436698468.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 19:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:15: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-22 19:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576018688001,"66":12058,"208":206,"85":15104,"24":21,"16":122377624151392256,"45":-9176999009427085312},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 19:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576018688001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:15:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 19:15:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122377624151392256,"km_value":122377624151392.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176999009427085312,"description":"Unknown IO ID 45"} 
[2026-08-22 19:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576018688001,"power":12058,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9176999009427085312}} 
[2026-08-22 19:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":159994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:15:36] local.INFO: GPS data processed {"connection_id":159994,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:15:36] local.INFO: Acknowledgment sent {"connection_id":159994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:15:48] local.INFO: TCP Data received {"connection_id":161168,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:15:48] local.INFO: Processing buffer {"connection_id":161168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:15:48] local.INFO: IMEI packet received {"connection_id":161168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":161168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:15:53] local.INFO: TCP Data received {"connection_id":161168,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:15:53] local.INFO: Processing buffer {"connection_id":161168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:15:53] local.INFO: IMEI packet received {"connection_id":161168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":161168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:15:54] local.INFO: TCP Data received {"connection_id":161168,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:15:54] local.INFO: Processing buffer {"connection_id":161168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:15:54] local.INFO: Packet analysis {"connection_id":161168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:15:54] local.INFO: Extracted packet for processing {"connection_id":161168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:15:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575877888001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:15:54] 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-22 19:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787406074000,"timestamp_ms":1787406074000,"timestamp_seconds":1787406074,"priority":1,"record_length":96,"hex_timestamp":"000001a029b44090"} 
[2026-08-22 19:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 19:15:54] 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-22 19:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:15: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-22 19:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575877888001,"66":25941,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575877888001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:15:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:15:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575877888001,"power":25941,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":161168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:15:54] local.INFO: GPS data processed {"connection_id":161168,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:15:54] local.INFO: Acknowledgment sent {"connection_id":161168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:15:57] local.INFO: TCP Data received {"connection_id":162590,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:15:57] local.INFO: Processing buffer {"connection_id":162590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:15:57] local.INFO: IMEI packet received {"connection_id":162590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":162590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:16:00] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:16:00] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:16:00] local.INFO: IMEI packet received {"connection_id":160222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":160222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:16:02] local.INFO: TCP Data received {"connection_id":162590,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:16:02] local.INFO: Processing buffer {"connection_id":162590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:16:02] local.INFO: IMEI packet received {"connection_id":162590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":162590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:16:03] local.INFO: TCP Data received {"connection_id":162590,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:16:03] local.INFO: Processing buffer {"connection_id":162590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:16:03] local.INFO: Packet analysis {"connection_id":162590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:16:03] local.INFO: Extracted packet for processing {"connection_id":162590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:16:03] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:03] 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-22 19:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787406265000,"timestamp_ms":1787406265000,"timestamp_seconds":1787406265,"priority":1,"record_length":96,"hex_timestamp":"000001a029b72aa8"} 
[2026-08-22 19:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:16: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-22 19:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:16:03] 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-22 19:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:16:03] 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-22 19:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:16:03] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":162590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:16:03] local.INFO: GPS data processed {"connection_id":162590,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:16:03] local.INFO: Acknowledgment sent {"connection_id":162590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:16:05] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:16:05] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:16:05] local.INFO: IMEI packet received {"connection_id":160222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":160222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:16:05] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b81508012d80a48005d30130000600001f..."} 
[2026-08-22 19:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b81508012d80a48005d30130000600001f..."} 
[2026-08-22 19:16:05] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b81508012d80a48005d30130000600001f..."} 
[2026-08-22 19:16:05] local.INFO: Packet analysis {"connection_id":160222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:16:05] local.INFO: Extracted packet for processing {"connection_id":160222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763405440,"raw_latitude":97714480,"longitude_deg":76.340544,"latitude_deg":9.771448,"altitude":6,"angle":0,"satellites":31,"speed":24,"hex_longitude":"2d80a480","hex_latitude":"05d30130","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576018944001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122377654216163328,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177139746915301376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:05] 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-22 19:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787406325000,"timestamp_ms":1787406325000,"timestamp_seconds":1787406325,"priority":1,"record_length":96,"hex_timestamp":"000001a029b81508"} 
[2026-08-22 19: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-22 19:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-22 19:16:05] 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-22 19: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-22 19: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-22 19:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:16:05] 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-22 19:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576018944001,"66":11906,"208":206,"85":15104,"24":24,"16":122377654216163328,"45":-9177139746915301376},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 19:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576018944001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:16:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 19:16:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122377654216163328,"km_value":122377654216163.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177139746915301376,"description":"Unknown IO ID 45"} 
[2026-08-22 19:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576018944001,"power":11906,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9177139746915301376}} 
[2026-08-22 19:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":160222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:16:05] local.INFO: GPS data processed {"connection_id":160222,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:16:05] local.INFO: Acknowledgment sent {"connection_id":160222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:16:07] local.INFO: TCP Data received {"connection_id":162590,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:16:07] local.INFO: Processing buffer {"connection_id":162590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:16:07] local.INFO: Packet analysis {"connection_id":162590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:16:07] local.INFO: Extracted packet for processing {"connection_id":162590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:16:07] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:07] 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-22 19:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787406265000,"timestamp_ms":1787406265000,"timestamp_seconds":1787406265,"priority":1,"record_length":96,"hex_timestamp":"000001a029b72aa8"} 
[2026-08-22 19: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-22 19:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 19: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:16:07] 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-22 19: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-22 19: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-22 19:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:16:07] 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-22 19:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:16:07] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":162590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:16:07] local.INFO: GPS data processed {"connection_id":162590,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:16:07] local.INFO: Acknowledgment sent {"connection_id":162590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:16:25] local.INFO: TCP Data received {"connection_id":161168,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:16:25] local.INFO: Processing buffer {"connection_id":161168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b44090012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:16:25] local.INFO: Packet analysis {"connection_id":161168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:16:25] local.INFO: Extracted packet for processing {"connection_id":161168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b4"} 
[2026-08-22 19:16:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575877888001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16: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-22 19:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787406074000,"timestamp_ms":1787406074000,"timestamp_seconds":1787406074,"priority":1,"record_length":96,"hex_timestamp":"000001a029b44090"} 
[2026-08-22 19:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:16: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-22 19:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 19:16: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-22 19:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19: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-22 19:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575877888001,"66":25941,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575877888001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:16:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575877888001,"power":25941,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":161168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:16:25] local.INFO: GPS data processed {"connection_id":161168,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:16:25] local.INFO: Acknowledgment sent {"connection_id":161168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:16:37] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b83448012d80a6c005d318a80007000d1f..."} 
[2026-08-22 19:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b83448012d80a6c005d318a80007000d1f..."} 
[2026-08-22 19:16:37] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b83448012d80a6c005d318a80007000d1f..."} 
[2026-08-22 19:16:37] local.INFO: Packet analysis {"connection_id":160222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:16:37] local.INFO: Extracted packet for processing {"connection_id":160222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763406016,"raw_latitude":97720488,"longitude_deg":76.3406016,"latitude_deg":9.7720488,"altitude":7,"angle":13,"satellites":31,"speed":30,"hex_longitude":"2d80a6c0","hex_latitude":"05d318a8","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576019200001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122377950568906752,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177069378170966016,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:37] 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-22 19:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787406333000,"timestamp_ms":1787406333000,"timestamp_seconds":1787406333,"priority":1,"record_length":96,"hex_timestamp":"000001a029b83448"} 
[2026-08-22 19: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-22 19:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-08-22 19:16:37] 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-22 19: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-22 19: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-22 19:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:16:37] 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-22 19:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576019200001,"66":12058,"208":206,"85":15104,"24":30,"16":122377950568906752,"45":-9177069378170966016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 19:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576019200001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:16:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 19:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122377950568906752,"km_value":122377950568906.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177069378170966016,"description":"Unknown IO ID 45"} 
[2026-08-22 19:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576019200001,"power":12058,"unknown_208":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9177069378170966016}} 
[2026-08-22 19:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":160222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:16:37] local.INFO: GPS data processed {"connection_id":160222,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:16:37] local.INFO: Acknowledgment sent {"connection_id":160222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:16:48] local.INFO: TCP Data received {"connection_id":159995,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:16:48] local.INFO: Processing buffer {"connection_id":159995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:16:48] local.INFO: IMEI packet received {"connection_id":159995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":159995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:16:52] local.INFO: TCP Data received {"connection_id":162591,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:16:52] local.INFO: Processing buffer {"connection_id":162591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:16:52] local.INFO: IMEI packet received {"connection_id":162591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":162591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:16:54] local.INFO: TCP Data received {"connection_id":159995,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:16:54] local.INFO: Processing buffer {"connection_id":159995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:16:54] local.INFO: IMEI packet received {"connection_id":159995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":159995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:16:55] local.INFO: TCP Data received {"connection_id":159995,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:16:55] local.INFO: Processing buffer {"connection_id":159995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:16:55] local.INFO: Packet analysis {"connection_id":159995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:16:55] local.INFO: Extracted packet for processing {"connection_id":159995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:16:55] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575954944001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:55] 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-22 19:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787406375000,"timestamp_ms":1787406375000,"timestamp_seconds":1787406375,"priority":1,"record_length":96,"hex_timestamp":"000001a029b8d858"} 
[2026-08-22 19: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-22 19:16: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-22 19: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 19:16:55] 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-22 19: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-22 19: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-22 19:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:16: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-22 19:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575954944001,"66":25908,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575954944001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:16:55] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:16:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575954944001,"power":25908,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":159995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:16:55] local.INFO: GPS data processed {"connection_id":159995,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:16:55] local.INFO: Acknowledgment sent {"connection_id":159995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:16:57] local.INFO: TCP Data received {"connection_id":162591,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:16:57] local.INFO: Processing buffer {"connection_id":162591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:16:57] local.INFO: IMEI packet received {"connection_id":162591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":162591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:16:58] local.INFO: TCP Data received {"connection_id":162591,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:16:58] local.INFO: Processing buffer {"connection_id":162591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:16:58] local.INFO: Packet analysis {"connection_id":162591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:16:58] local.INFO: Extracted packet for processing {"connection_id":162591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:16:58] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:16:58] 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-22 19:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787406265000,"timestamp_ms":1787406265000,"timestamp_seconds":1787406265,"priority":1,"record_length":96,"hex_timestamp":"000001a029b72aa8"} 
[2026-08-22 19: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-22 19:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:16:58] 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-22 19: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-22 19: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-22 19:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:16:58] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:16:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":162591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:16:58] local.INFO: GPS data processed {"connection_id":162591,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:16:58] local.INFO: Acknowledgment sent {"connection_id":162591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:17:00] local.INFO: TCP Data received {"connection_id":162592,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:17:00] local.INFO: Processing buffer {"connection_id":162592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:17:00] local.INFO: IMEI packet received {"connection_id":162592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":162592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:17:05] local.INFO: TCP Data received {"connection_id":162592,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:17:05] local.INFO: Processing buffer {"connection_id":162592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:17:05] local.INFO: IMEI packet received {"connection_id":162592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":162592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:17:06] local.INFO: TCP Data received {"connection_id":162592,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b84fa0012d80aac005d32d08000700001f..."} 
[2026-08-22 19:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b84fa0012d80aac005d32d08000700001f..."} 
[2026-08-22 19:17:06] local.INFO: Processing buffer {"connection_id":162592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b84fa0012d80aac005d32d08000700001f..."} 
[2026-08-22 19:17:06] local.INFO: Packet analysis {"connection_id":162592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:17:06] local.INFO: Extracted packet for processing {"connection_id":162592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763407040,"raw_latitude":97725704,"longitude_deg":76.340704,"latitude_deg":9.7725704,"altitude":7,"angle":0,"satellites":31,"speed":30,"hex_longitude":"2d80aac0","hex_latitude":"05d32d08","is_valid_coordinates":true} 
[2026-08-22 19:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576021248001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122378208266944512,"note":"Value kept but may cause issues"} 
[2026-08-22 19:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176436059471828992,"note":"Value kept but may cause issues"} 
[2026-08-22 19:17:06] 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-22 19:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787406340000,"timestamp_ms":1787406340000,"timestamp_seconds":1787406340,"priority":1,"record_length":96,"hex_timestamp":"000001a029b84fa0"} 
[2026-08-22 19:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:17: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-22 19:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-22 19:17:06] 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-22 19:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:17:06] 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-22 19:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576021248001,"66":12200,"208":206,"85":15104,"24":30,"16":122378208266944512,"45":-9176436059471828992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 19:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576021248001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:17:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 19:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122378208266944512,"km_value":122378208266944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176436059471828992,"description":"Unknown IO ID 45"} 
[2026-08-22 19:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576021248001,"power":12200,"unknown_208":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9176436059471828992}} 
[2026-08-22 19:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":162592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:17:06] local.INFO: GPS data processed {"connection_id":162592,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:17:06] local.INFO: Acknowledgment sent {"connection_id":162592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:17:26] local.INFO: TCP Data received {"connection_id":159995,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:17:26] local.INFO: Processing buffer {"connection_id":159995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:17:26] local.INFO: Packet analysis {"connection_id":159995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:17:26] local.INFO: Extracted packet for processing {"connection_id":159995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:17:26] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575954944001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:17: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-22 19:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787406375000,"timestamp_ms":1787406375000,"timestamp_seconds":1787406375,"priority":1,"record_length":96,"hex_timestamp":"000001a029b8d858"} 
[2026-08-22 19:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:17: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-22 19:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 19:17:26] 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-22 19:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:17: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-22 19:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575954944001,"66":25908,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575954944001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:17:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:17:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575954944001,"power":25908,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":159995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:17:26] local.INFO: GPS data processed {"connection_id":159995,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:17:26] local.INFO: Acknowledgment sent {"connection_id":159995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:17:29] local.INFO: TCP Data received {"connection_id":162591,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:17:29] local.INFO: Processing buffer {"connection_id":162591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:17:29] local.INFO: Packet analysis {"connection_id":162591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:17:29] local.INFO: Extracted packet for processing {"connection_id":162591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:17:29] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 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-22 19:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:17:29] 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-22 19:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787406265000,"timestamp_ms":1787406265000,"timestamp_seconds":1787406265,"priority":1,"record_length":96,"hex_timestamp":"000001a029b72aa8"} 
[2026-08-22 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-22 19:17: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-22 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:17:29] 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-22 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-22 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-22 19:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:17:29] local.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-22 19:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:17:29] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:17:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":162591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:17:29] local.INFO: GPS data processed {"connection_id":162591,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:17:29] local.INFO: Acknowledgment sent {"connection_id":162591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:17:37] local.INFO: TCP Data received {"connection_id":162592,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b9f198012d80360005d394b8000c012f1f..."} 
[2026-08-22 19:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b9f198012d80360005d394b8000c012f1f..."} 
[2026-08-22 19:17:37] local.INFO: Processing buffer {"connection_id":162592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b9f198012d80360005d394b8000c012f1f..."} 
[2026-08-22 19:17:37] local.INFO: Packet analysis {"connection_id":162592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b9"} 
[2026-08-22 19:17:37] local.INFO: Extracted packet for processing {"connection_id":162592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b9"} 
[2026-08-22 19:17:37] local.INFO: GPS Element Parsed {"raw_longitude":763377152,"raw_latitude":97752248,"longitude_deg":76.3377152,"latitude_deg":9.7752248,"altitude":12,"angle":303,"satellites":31,"speed":7,"hex_longitude":"2d803600","hex_latitude":"05d394b8","is_valid_coordinates":true} 
[2026-08-22 19:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576049920001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122380647808368640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207820519366998016,"note":"Value kept but may cause issues"} 
[2026-08-22 19:17:37] 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-22 19:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787406447000,"timestamp_ms":1787406447000,"timestamp_seconds":1787406447,"priority":1,"record_length":96,"hex_timestamp":"000001a029b9f198"} 
[2026-08-22 19:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:17: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-22 19:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-22 19:17:37] 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-22 19:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:17:37] 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-22 19:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576049920001,"66":11547,"167":206,"85":15104,"24":7,"16":122380647808368640,"45":-9207820519366998016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-22 19:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576049920001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:17:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-22 19:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122380647808368640,"km_value":122380647808368.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207820519366998016,"description":"Unknown IO ID 45"} 
[2026-08-22 19:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576049920001,"power":11547,"unknown_167":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9207820519366998016}} 
[2026-08-22 19:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":162592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:17:37] local.INFO: GPS data processed {"connection_id":162592,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:17:37] local.INFO: Acknowledgment sent {"connection_id":162592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:17:48] local.INFO: TCP Data received {"connection_id":161169,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:17:48] local.INFO: Processing buffer {"connection_id":161169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:17:48] local.INFO: IMEI packet received {"connection_id":161169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":161169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:17:52] local.INFO: TCP Data received {"connection_id":162593,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:17:52] local.INFO: Processing buffer {"connection_id":162593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:17:52] local.INFO: IMEI packet received {"connection_id":162593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":162593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:17:53] local.INFO: TCP Data received {"connection_id":161169,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:17:53] local.INFO: Processing buffer {"connection_id":161169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:17:53] local.INFO: IMEI packet received {"connection_id":161169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":161169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:17:54] local.INFO: TCP Data received {"connection_id":161169,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:17:54] local.INFO: Processing buffer {"connection_id":161169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:17:54] local.INFO: Packet analysis {"connection_id":161169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:17:54] local.INFO: Extracted packet for processing {"connection_id":161169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:17:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575954944001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:17:54] 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-22 19:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787406375000,"timestamp_ms":1787406375000,"timestamp_seconds":1787406375,"priority":1,"record_length":96,"hex_timestamp":"000001a029b8d858"} 
[2026-08-22 19:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 19:17:54] 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-22 19:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:17: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-22 19:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575954944001,"66":25908,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575954944001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:17:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:17:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575954944001,"power":25908,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":161169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:17:54] local.INFO: GPS data processed {"connection_id":161169,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:17:54] local.INFO: Acknowledgment sent {"connection_id":161169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:17:57] local.INFO: TCP Data received {"connection_id":162593,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:17:57] local.INFO: Processing buffer {"connection_id":162593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:17:57] local.INFO: IMEI packet received {"connection_id":162593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":162593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:18:05] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:18:05] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:18:05] local.INFO: IMEI packet received {"connection_id":159996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":159996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:18:07] local.INFO: TCP Data received {"connection_id":162593,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:18:07] local.INFO: Processing buffer {"connection_id":162593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:18:07] local.INFO: Packet analysis {"connection_id":162593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:18:07] local.INFO: Extracted packet for processing {"connection_id":162593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:18:07] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18:07] 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-22 19:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787406265000,"timestamp_ms":1787406265000,"timestamp_seconds":1787406265,"priority":1,"record_length":96,"hex_timestamp":"000001a029b72aa8"} 
[2026-08-22 19:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 19:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:18:07] 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-22 19:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:18:07] 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-22 19:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:18:07] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":162593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:18:07] local.INFO: GPS data processed {"connection_id":162593,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:18:07] local.INFO: Acknowledgment sent {"connection_id":162593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:18:10] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:18:10] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:18:10] local.INFO: IMEI packet received {"connection_id":159996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":159996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:18:14] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b9f580012d80358005d394f8000c01231f..."} 
[2026-08-22 19:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b9f580012d80358005d394f8000c01231f..."} 
[2026-08-22 19:18:14] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b9f580012d80358005d394f8000c01231f..."} 
[2026-08-22 19:18:14] local.INFO: Packet analysis {"connection_id":159996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b9"} 
[2026-08-22 19:18:14] local.INFO: Extracted packet for processing {"connection_id":159996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b9"} 
[2026-08-22 19:18:14] local.INFO: GPS Element Parsed {"raw_longitude":763377024,"raw_latitude":97752312,"longitude_deg":76.3377024,"latitude_deg":9.7752312,"altitude":12,"angle":291,"satellites":31,"speed":7,"hex_longitude":"2d803580","hex_latitude":"05d394f8","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576050432001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122380656398303232,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208172363087824896,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18: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-22 19:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787406448000,"timestamp_ms":1787406448000,"timestamp_seconds":1787406448,"priority":1,"record_length":96,"hex_timestamp":"000001a029b9f580"} 
[2026-08-22 19: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-22 19:18: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-22 19: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-22 19:18:14] 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-22 19: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-22 19: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-22 19:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:18: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-22 19:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576050432001,"66":11874,"167":206,"85":15104,"24":7,"16":122380656398303232,"45":-9208172363087824896},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-22 19:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576050432001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:18:14] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-22 19:18:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122380656398303232,"km_value":122380656398303.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208172363087824896,"description":"Unknown IO ID 45"} 
[2026-08-22 19:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576050432001,"power":11874,"unknown_167":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9208172363087824896}} 
[2026-08-22 19:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":159996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:18:14] local.INFO: GPS data processed {"connection_id":159996,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:18:14] local.INFO: Acknowledgment sent {"connection_id":159996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:18:15] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029b9fd50012d80338005d39558000d010c1e..."} 
[2026-08-22 19:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b9fd50012d80338005d39558000d010c1e..."} 
[2026-08-22 19:18:15] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b9fd50012d80338005d39558000d010c1e..."} 
[2026-08-22 19:18:15] local.INFO: Packet analysis {"connection_id":159996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b9"} 
[2026-08-22 19:18:15] local.INFO: Extracted packet for processing {"connection_id":159996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b9"} 
[2026-08-22 19:18:15] local.INFO: GPS Element Parsed {"raw_longitude":763376512,"raw_latitude":97752408,"longitude_deg":76.3376512,"latitude_deg":9.7752408,"altitude":13,"angle":268,"satellites":30,"speed":10,"hex_longitude":"2d803380","hex_latitude":"05d39558","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576050688001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122380677873139712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208313100576163840,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18:15] 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-22 19:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787406450000,"timestamp_ms":1787406450000,"timestamp_seconds":1787406450,"priority":1,"record_length":96,"hex_timestamp":"000001a029b9fd50"} 
[2026-08-22 19: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-22 19:18: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-22 19: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-22 19:18: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-22 19: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-22 19: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-22 19:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:18: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-22 19:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576050688001,"66":11961,"167":206,"85":15104,"24":10,"16":122380677873139712,"45":-9208313100576163840},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-22 19:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576050688001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:18:15] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-22 19:18:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122380677873139712,"km_value":122380677873139.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208313100576163840,"description":"Unknown IO ID 45"} 
[2026-08-22 19:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576050688001,"power":11961,"unknown_167":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9208313100576163840}} 
[2026-08-22 19:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":159996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:18:15] local.INFO: GPS data processed {"connection_id":159996,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:18:15] local.INFO: Acknowledgment sent {"connection_id":159996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:18:25] local.INFO: TCP Data received {"connection_id":161169,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:18:25] local.INFO: Processing buffer {"connection_id":161169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:18:25] local.INFO: Packet analysis {"connection_id":161169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:18:25] local.INFO: Extracted packet for processing {"connection_id":161169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:18:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575954944001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18: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-22 19:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787406375000,"timestamp_ms":1787406375000,"timestamp_seconds":1787406375,"priority":1,"record_length":96,"hex_timestamp":"000001a029b8d858"} 
[2026-08-22 19:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19: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-22 19:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 19:18:25] 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-22 19:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:18: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-22 19:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575954944001,"66":25908,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575954944001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:18:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:18:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575954944001,"power":25908,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":161169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:18:25] local.INFO: GPS data processed {"connection_id":161169,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:18:25] local.INFO: Acknowledgment sent {"connection_id":161169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:18:52] local.INFO: TCP Data received {"connection_id":162594,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:18:52] local.INFO: Processing buffer {"connection_id":162594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:18:52] local.INFO: IMEI packet received {"connection_id":162594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":162594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:18:53] local.INFO: TCP Data received {"connection_id":161170,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:18:53] local.INFO: Processing buffer {"connection_id":161170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:18:53] local.INFO: IMEI packet received {"connection_id":161170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":161170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:18:57] local.INFO: TCP Data received {"connection_id":162594,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:18:57] local.INFO: Processing buffer {"connection_id":162594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:18:57] local.INFO: IMEI packet received {"connection_id":162594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":162594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:18:58] local.INFO: TCP Data received {"connection_id":162594,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:18:58] local.INFO: Processing buffer {"connection_id":162594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:18:58] local.INFO: Packet analysis {"connection_id":162594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:18:58] local.INFO: Extracted packet for processing {"connection_id":162594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:18:58] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18:58] 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-22 19:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787406265000,"timestamp_ms":1787406265000,"timestamp_seconds":1787406265,"priority":1,"record_length":96,"hex_timestamp":"000001a029b72aa8"} 
[2026-08-22 19: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-22 19:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:18:58] 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-22 19: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-22 19: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-22 19:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:18:58] 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-22 19:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:18:58] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":162594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:18:58] local.INFO: GPS data processed {"connection_id":162594,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:18:58] local.INFO: Acknowledgment sent {"connection_id":162594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:18:58] local.INFO: TCP Data received {"connection_id":161170,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:18:58] local.INFO: Processing buffer {"connection_id":161170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:18:58] local.INFO: IMEI packet received {"connection_id":161170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":161170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:18:59] local.INFO: TCP Data received {"connection_id":161170,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:18:59] local.INFO: Processing buffer {"connection_id":161170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:18:59] local.INFO: Packet analysis {"connection_id":161170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:18:59] local.INFO: Extracted packet for processing {"connection_id":161170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:18:59] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575954944001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:18:59] 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-22 19:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787406375000,"timestamp_ms":1787406375000,"timestamp_seconds":1787406375,"priority":1,"record_length":96,"hex_timestamp":"000001a029b8d858"} 
[2026-08-22 19: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-22 19:18: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-22 19: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 19:18: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-22 19: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-22 19: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-22 19:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:18: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-22 19:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575954944001,"66":25908,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575954944001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:18:59] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:18:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575954944001,"power":25908,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":161170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:18:59] local.INFO: GPS data processed {"connection_id":161170,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:18:59] local.INFO: Acknowledgment sent {"connection_id":161170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:19:00] local.INFO: TCP Data received {"connection_id":159997,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:19:00] local.INFO: Processing buffer {"connection_id":159997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:19:00] local.INFO: IMEI packet received {"connection_id":159997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":159997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:19:01] local.INFO: TCP Data received {"connection_id":159997,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:19:01] local.INFO: Processing buffer {"connection_id":159997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:19:01] local.INFO: IMEI packet received {"connection_id":159997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":159997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:19:05] local.INFO: TCP Data received {"connection_id":159997,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:19:05] local.INFO: Processing buffer {"connection_id":159997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:19:05] local.INFO: IMEI packet received {"connection_id":159997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":159997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:19:07] local.INFO: TCP Data received {"connection_id":161170,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:19:07] local.INFO: Processing buffer {"connection_id":161170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:19:07] local.INFO: Packet analysis {"connection_id":161170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:19:07] local.INFO: Extracted packet for processing {"connection_id":161170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575954944001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:07] 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-22 19:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787406375000,"timestamp_ms":1787406375000,"timestamp_seconds":1787406375,"priority":1,"record_length":96,"hex_timestamp":"000001a029b8d858"} 
[2026-08-22 19: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-22 19:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 19:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575954944001,"66":25908,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575954944001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:19:07] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:19:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575954944001,"power":25908,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":161170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:19:07] local.INFO: GPS data processed {"connection_id":161170,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:19:07] local.INFO: Acknowledgment sent {"connection_id":161170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:19:19] local.INFO: TCP Data received {"connection_id":159997,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ba3018012d800dc005d396a8000e010e1f..."} 
[2026-08-22 19:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ba3018012d800dc005d396a8000e010e1f..."} 
[2026-08-22 19:19:19] local.INFO: Processing buffer {"connection_id":159997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ba3018012d800dc005d396a8000e010e1f..."} 
[2026-08-22 19:19:19] local.INFO: Packet analysis {"connection_id":159997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ba"} 
[2026-08-22 19:19:19] local.INFO: Extracted packet for processing {"connection_id":159997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ba"} 
[2026-08-22 19:19:19] local.INFO: GPS Element Parsed {"raw_longitude":763366848,"raw_latitude":97752744,"longitude_deg":76.3366848,"latitude_deg":9.7752744,"altitude":14,"angle":270,"satellites":31,"speed":35,"hex_longitude":"2d800dc0","hex_latitude":"05d396a8","is_valid_coordinates":true} 
[2026-08-22 19:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576051200001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122381141729607680,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208876050529560576,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:19] 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-22 19:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787406463000,"timestamp_ms":1787406463000,"timestamp_seconds":1787406463,"priority":1,"record_length":96,"hex_timestamp":"000001a029ba3018"} 
[2026-08-22 19:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:19: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-22 19:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 19:19:19] 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-22 19:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:19:19] 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-22 19:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576051200001,"66":12004,"167":206,"85":15104,"24":35,"16":122381141729607680,"45":-9208876050529560576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-22 19:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576051200001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:19:19] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-22 19:19:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122381141729607680,"km_value":122381141729607.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208876050529560576,"description":"Unknown IO ID 45"} 
[2026-08-22 19:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576051200001,"power":12004,"unknown_167":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9208876050529560576}} 
[2026-08-22 19:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":159997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:19:20] local.INFO: GPS data processed {"connection_id":159997,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:19:20] local.INFO: Acknowledgment sent {"connection_id":159997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:19:23] local.INFO: TCP Data received {"connection_id":159997,"ip":"42.106.6.22","data_length":1340,"data_hex":"000000000000030f8e0a000001a029ba66c8012d7fe90005d39558000e010c1f..."} 
[2026-08-22 19:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159997,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a029ba66c8012d7fe90005d39558000e010c1f..."} 
[2026-08-22 19:19:23] local.INFO: Processing buffer {"connection_id":159997,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a029ba66c8012d7fe90005d39558000e010c1f..."} 
[2026-08-22 19:19:23] local.INFO: Packet analysis {"connection_id":159997,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a029ba"} 
[2026-08-22 19:19:23] local.INFO: Extracted packet for processing {"connection_id":159997,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a029ba"} 
[2026-08-22 19:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763357440,"raw_latitude":97752408,"longitude_deg":76.335744,"latitude_deg":9.7752408,"altitude":14,"angle":268,"satellites":31,"speed":27,"hex_longitude":"2d7fe900","hex_latitude":"05d39558","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576054528001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122381592701173760,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219501730900301824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:23] 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-22 19:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787406477000,"timestamp_ms":1787406477000,"timestamp_seconds":1787406477,"priority":1,"record_length":96,"hex_timestamp":"000001a029ba66c8"} 
[2026-08-22 19: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-22 19:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 19:19:23] 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-22 19: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-22 19: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-22 19:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:19:23] 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-22 19:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576054528001,"66":12113,"167":206,"85":15104,"24":27,"16":122381592701173760,"45":-9219501730900301824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-22 19:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576054528001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:19:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-22 19:19:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122381592701173760,"km_value":122381592701173.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219501730900301824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576054528001,"power":12113,"unknown_167":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9219501730900301824}} 
[2026-08-22 19:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":159997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:19:23] local.INFO: GPS data processed {"connection_id":159997,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:19:23] local.INFO: Acknowledgment sent {"connection_id":159997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:19:23] local.INFO: Packet analysis {"connection_id":159997,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a029ba"} 
[2026-08-22 19:19:23] local.INFO: Incomplete packet, waiting for more data {"connection_id":159997,"needed":795,"available":545} 
[2026-08-22 19:19:23] local.INFO: TCP Data received {"connection_id":159997,"ip":"42.106.6.22","data_length":250,"data_hex":"e3001001b2c88900000000000001a029b9ce70012d803d4005d386a0000a0149..."} 
[2026-08-22 19:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159997,"packet_length":250,"packet_hex":"e3001001b2c88900000000000001a029b9ce70012d803d4005d386a0000a0149..."} 
[2026-08-22 19:19:23] local.INFO: Processing buffer {"connection_id":159997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ba9990012d7fc4c005d39458000c010f23..."} 
[2026-08-22 19:19:23] local.INFO: Packet analysis {"connection_id":159997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ba"} 
[2026-08-22 19:19:23] local.INFO: Extracted packet for processing {"connection_id":159997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ba"} 
[2026-08-22 19:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763348160,"raw_latitude":97752152,"longitude_deg":76.334816,"latitude_deg":9.7752152,"altitude":12,"angle":271,"satellites":35,"speed":30,"hex_longitude":"2d7fc4c0","hex_latitude":"05d39458","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576058112001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122382035082805248,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9216898137415047168,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:23] 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-22 19:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787406490000,"timestamp_ms":1787406490000,"timestamp_seconds":1787406490,"priority":1,"record_length":96,"hex_timestamp":"000001a029ba9990"} 
[2026-08-22 19: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-22 19:19:23] 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-22 19: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-22 19:19:23] 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-22 19: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-22 19: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-22 19:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:19:23] 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-22 19:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576058112001,"66":12069,"167":206,"85":15104,"24":30,"16":122382035082805248,"45":9216898137415047168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-22 19:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576058112001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:19:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-22 19:19:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122382035082805248,"km_value":122382035082805.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9216898137415047168,"description":"Unknown IO ID 45"} 
[2026-08-22 19:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576058112001,"power":12069,"unknown_167":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9216898137415047168}} 
[2026-08-22 19:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":159997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:19:23] local.INFO: GPS data processed {"connection_id":159997,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:19:23] local.INFO: Acknowledgment sent {"connection_id":159997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:19:29] local.INFO: TCP Data received {"connection_id":162594,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:19:29] local.INFO: Processing buffer {"connection_id":162594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:19:29] local.INFO: Packet analysis {"connection_id":162594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:19:29] local.INFO: Extracted packet for processing {"connection_id":162594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:19:29] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:29] 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-22 19:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787406265000,"timestamp_ms":1787406265000,"timestamp_seconds":1787406265,"priority":1,"record_length":96,"hex_timestamp":"000001a029b72aa8"} 
[2026-08-22 19: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-22 19: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-22 19: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:19:29] 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-22 19: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-22 19: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-22 19:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:19:29] 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-22 19:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:19:29] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:19:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":162594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:19:29] local.INFO: GPS data processed {"connection_id":162594,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:19:29] local.INFO: Acknowledgment sent {"connection_id":162594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:19:48] local.INFO: TCP Data received {"connection_id":161171,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:19:48] local.INFO: Processing buffer {"connection_id":161171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:19:48] local.INFO: IMEI packet received {"connection_id":161171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":161171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:19:52] local.INFO: TCP Data received {"connection_id":162595,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:19:52] local.INFO: Processing buffer {"connection_id":162595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:19:52] local.INFO: IMEI packet received {"connection_id":162595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":162595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:19:53] local.INFO: TCP Data received {"connection_id":161171,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:19:53] local.INFO: Processing buffer {"connection_id":161171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:19:53] local.INFO: IMEI packet received {"connection_id":161171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":161171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:19:54] local.INFO: TCP Data received {"connection_id":161171,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:19:54] local.INFO: Processing buffer {"connection_id":161171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:19:54] local.INFO: Packet analysis {"connection_id":161171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:19:54] local.INFO: Extracted packet for processing {"connection_id":161171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575954944001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:54] 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-22 19:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787406375000,"timestamp_ms":1787406375000,"timestamp_seconds":1787406375,"priority":1,"record_length":96,"hex_timestamp":"000001a029b8d858"} 
[2026-08-22 19: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-22 19:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 19:19:54] 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-22 19: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-22 19: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-22 19:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:19: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-22 19:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575954944001,"66":25908,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575954944001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:19:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:19:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575954944001,"power":25908,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":161171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:19:54] local.INFO: GPS data processed {"connection_id":161171,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:19:54] local.INFO: Acknowledgment sent {"connection_id":161171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:19:57] local.INFO: TCP Data received {"connection_id":162595,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:19:57] local.INFO: Processing buffer {"connection_id":162595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:19:57] local.INFO: IMEI packet received {"connection_id":162595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":162595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:19:58] local.INFO: TCP Data received {"connection_id":162595,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:19:58] local.INFO: Processing buffer {"connection_id":162595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b72aa8012d07d7800725eb80001000e123..."} 
[2026-08-22 19:19:58] local.INFO: Packet analysis {"connection_id":162595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:19:58] local.INFO: Extracted packet for processing {"connection_id":162595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b7"} 
[2026-08-22 19:19:58] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575926016001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703290880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:19:58] 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-22 19:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787406265000,"timestamp_ms":1787406265000,"timestamp_seconds":1787406265,"priority":1,"record_length":96,"hex_timestamp":"000001a029b72aa8"} 
[2026-08-22 19:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-22 19:19:58] 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-22 19:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:19:58] 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-22 19:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575926016001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":564990677703290880},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575926016001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:19:58] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:19:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703290880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575926016001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":564990677703290880}} 
[2026-08-22 19:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":162595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:19:58] local.INFO: GPS data processed {"connection_id":162595,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:19:58] local.INFO: Acknowledgment sent {"connection_id":162595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:20:00] local.INFO: TCP Data received {"connection_id":159998,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:20:00] local.INFO: Processing buffer {"connection_id":159998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:20:00] local.INFO: IMEI packet received {"connection_id":159998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":159998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:20:05] local.INFO: TCP Data received {"connection_id":159998,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:20:05] local.INFO: Processing buffer {"connection_id":159998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:20:05] local.INFO: IMEI packet received {"connection_id":159998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":159998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:20:06] local.INFO: TCP Data received {"connection_id":159998,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029bad040012d7f9f8005d392c0000c010c25..."} 
[2026-08-22 19:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bad040012d7f9f8005d392c0000c010c25..."} 
[2026-08-22 19:20:06] local.INFO: Processing buffer {"connection_id":159998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bad040012d7f9f8005d392c0000c010c25..."} 
[2026-08-22 19:20:06] local.INFO: Packet analysis {"connection_id":159998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ba"} 
[2026-08-22 19:20:06] local.INFO: Extracted packet for processing {"connection_id":159998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ba"} 
[2026-08-22 19:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763338624,"raw_latitude":97751744,"longitude_deg":76.3338624,"latitude_deg":9.7751744,"altitude":12,"angle":268,"satellites":37,"speed":26,"hex_longitude":"2d7f9f80","hex_latitude":"05d392c0","is_valid_coordinates":true} 
[2026-08-22 19:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576061440001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122382490349338624,"note":"Value kept but may cause issues"} 
[2026-08-22 19:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9206694669509220352,"note":"Value kept but may cause issues"} 
[2026-08-22 19:20:06] 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-22 19:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787406504000,"timestamp_ms":1787406504000,"timestamp_seconds":1787406504,"priority":1,"record_length":96,"hex_timestamp":"000001a029bad040"} 
[2026-08-22 19:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:20:06] 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-22 19:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-22 19:20:06] 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-22 19:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:20:06] 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-22 19:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576061440001,"66":11874,"167":206,"85":15104,"24":26,"16":122382490349338624,"45":9206694669509220352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-22 19:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576061440001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:20:06] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-22 19:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122382490349338624,"km_value":122382490349338.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9206694669509220352,"description":"Unknown IO ID 45"} 
[2026-08-22 19:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576061440001,"power":11874,"unknown_167":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9206694669509220352}} 
[2026-08-22 19:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":159998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:20:06] local.INFO: GPS data processed {"connection_id":159998,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:20:06] local.INFO: Acknowledgment sent {"connection_id":159998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:20:25] local.INFO: TCP Data received {"connection_id":161171,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:20:25] local.INFO: Processing buffer {"connection_id":161171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:20:25] local.INFO: Packet analysis {"connection_id":161171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:20:25] local.INFO: Extracted packet for processing {"connection_id":161171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 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-22 19:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575954944001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:20: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-22 19:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787406375000,"timestamp_ms":1787406375000,"timestamp_seconds":1787406375,"priority":1,"record_length":96,"hex_timestamp":"000001a029b8d858"} 
[2026-08-22 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-22 19: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-22 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":85,"data_length":795,"current_offset":136} 
[2026-08-22 19:20:25] 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-22 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-22 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-22 19:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 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-22 19:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575954944001,"66":25908,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575954944001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:20:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575954944001,"power":25908,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":161171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:20:25] local.INFO: GPS data processed {"connection_id":161171,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:20:25] local.INFO: Acknowledgment sent {"connection_id":161171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:20:29] local.INFO: TCP Data received {"connection_id":162595,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:20:29] local.INFO: Processing buffer {"connection_id":162595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:20:29] local.INFO: Packet analysis {"connection_id":162595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:20:29] local.INFO: Extracted packet for processing {"connection_id":162595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:20:29] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576003840001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565061046447603712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:20:29] 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-22 19:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787406566000,"timestamp_ms":1787406566000,"timestamp_seconds":1787406566,"priority":1,"record_length":96,"hex_timestamp":"000001a029bbc270"} 
[2026-08-22 19:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:20:29] 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-22 19:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 19:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 19:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:20:29] 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-22 19:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576003840001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":565061046447603712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576003840001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:20:29] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":565061046447603712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576003840001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":565061046447603712}} 
[2026-08-22 19:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":162595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:20:29] local.INFO: GPS data processed {"connection_id":162595,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:20:29] local.INFO: Acknowledgment sent {"connection_id":162595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:20:37] local.INFO: TCP Data received {"connection_id":159998,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029bc9948012d7eb7c005d321580009010526..."} 
[2026-08-22 19:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bc9948012d7eb7c005d321580009010526..."} 
[2026-08-22 19:20:37] local.INFO: Processing buffer {"connection_id":159998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bc9948012d7eb7c005d321580009010526..."} 
[2026-08-22 19:20:37] local.INFO: Packet analysis {"connection_id":159998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bc"} 
[2026-08-22 19:20:37] local.INFO: Extracted packet for processing {"connection_id":159998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bc"} 
[2026-08-22 19:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763279296,"raw_latitude":97722712,"longitude_deg":76.3279296,"latitude_deg":9.7722712,"altitude":9,"angle":261,"satellites":38,"speed":26,"hex_longitude":"2d7eb7c0","hex_latitude":"05d32158","is_valid_coordinates":true} 
[2026-08-22 19:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576091392001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122385874783567872,"note":"Value kept but may cause issues"} 
[2026-08-22 19:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140899893696102400,"note":"Value kept but may cause issues"} 
[2026-08-22 19:20:37] 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-22 19:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787406621000,"timestamp_ms":1787406621000,"timestamp_seconds":1787406621,"priority":1,"record_length":96,"hex_timestamp":"000001a029bc9948"} 
[2026-08-22 19:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:20:37] 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-22 19:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-22 19:20:37] 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-22 19:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:20:37] 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-22 19:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576091392001,"66":12156,"109":206,"85":15104,"24":26,"16":122385874783567872,"45":9140899893696102400},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576091392001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:20:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:20:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122385874783567872,"km_value":122385874783567.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140899893696102400,"description":"Unknown IO ID 45"} 
[2026-08-22 19:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576091392001,"power":12156,"unknown_109":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9140899893696102400}} 
[2026-08-22 19:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":159998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:20:37] local.INFO: GPS data processed {"connection_id":159998,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:20:37] local.INFO: Acknowledgment sent {"connection_id":159998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:20:48] local.INFO: TCP Data received {"connection_id":159999,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:20:48] local.INFO: Processing buffer {"connection_id":159999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:20:48] local.INFO: IMEI packet received {"connection_id":159999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":159999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:20:53] local.INFO: TCP Data received {"connection_id":159999,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:20:53] local.INFO: Processing buffer {"connection_id":159999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:20:53] local.INFO: IMEI packet received {"connection_id":159999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":159999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:20:54] local.INFO: TCP Data received {"connection_id":159999,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:20:54] local.INFO: Processing buffer {"connection_id":159999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:20:54] local.INFO: Packet analysis {"connection_id":159999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:20:54] local.INFO: Extracted packet for processing {"connection_id":159999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:20:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575954944001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:20:54] 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-22 19:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787406375000,"timestamp_ms":1787406375000,"timestamp_seconds":1787406375,"priority":1,"record_length":96,"hex_timestamp":"000001a029b8d858"} 
[2026-08-22 19:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 19:20:54] 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-22 19:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:20: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-22 19:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575954944001,"66":25908,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575954944001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:20:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:20:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575954944001,"power":25908,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":159999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:20:54] local.INFO: GPS data processed {"connection_id":159999,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:20:54] local.INFO: Acknowledgment sent {"connection_id":159999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:20:57] local.INFO: TCP Data received {"connection_id":162596,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:20:57] local.INFO: Processing buffer {"connection_id":162596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:20:57] local.INFO: IMEI packet received {"connection_id":162596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":162596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:21:00] local.INFO: TCP Data received {"connection_id":160223,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:21:00] local.INFO: Processing buffer {"connection_id":160223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:21:00] local.INFO: IMEI packet received {"connection_id":160223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":160223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:21:02] local.INFO: TCP Data received {"connection_id":162596,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:21:02] local.INFO: Processing buffer {"connection_id":162596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:21:02] local.INFO: IMEI packet received {"connection_id":162596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":162596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:21:03] local.INFO: TCP Data received {"connection_id":162596,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:21:03] local.INFO: Processing buffer {"connection_id":162596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:21:03] local.INFO: Packet analysis {"connection_id":162596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:21:03] local.INFO: Extracted packet for processing {"connection_id":162596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:21:03] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576003840001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565061046447603712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:03] 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-22 19:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787406566000,"timestamp_ms":1787406566000,"timestamp_seconds":1787406566,"priority":1,"record_length":96,"hex_timestamp":"000001a029bbc270"} 
[2026-08-22 19: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-22 19:21:03] 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-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 19:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:21:03] 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-22 19:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576003840001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":565061046447603712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576003840001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:21:03] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":565061046447603712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576003840001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":565061046447603712}} 
[2026-08-22 19:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":162596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:21:03] local.INFO: GPS data processed {"connection_id":162596,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:21:03] local.INFO: Acknowledgment sent {"connection_id":162596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:21:05] local.INFO: TCP Data received {"connection_id":160223,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:21:05] local.INFO: Processing buffer {"connection_id":160223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:21:05] local.INFO: IMEI packet received {"connection_id":160223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":160223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:21:05] local.INFO: TCP Data received {"connection_id":160223,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029bcb4a0012d7ea6c005d31d38000a00f827..."} 
[2026-08-22 19:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bcb4a0012d7ea6c005d31d38000a00f827..."} 
[2026-08-22 19:21:05] local.INFO: Processing buffer {"connection_id":160223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bcb4a0012d7ea6c005d31d38000a00f827..."} 
[2026-08-22 19:21:05] local.INFO: Packet analysis {"connection_id":160223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bc"} 
[2026-08-22 19:21:05] local.INFO: Extracted packet for processing {"connection_id":160223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bc"} 
[2026-08-22 19:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763274944,"raw_latitude":97721656,"longitude_deg":76.3274944,"latitude_deg":9.7721656,"altitude":10,"angle":248,"satellites":39,"speed":27,"hex_longitude":"2d7ea6c0","hex_latitude":"05d31d38","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576094976001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122386089531932672,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130977900766517248,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:05] 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-22 19:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787406628000,"timestamp_ms":1787406628000,"timestamp_seconds":1787406628,"priority":1,"record_length":96,"hex_timestamp":"000001a029bcb4a0"} 
[2026-08-22 19: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-22 19:21:05] 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-22 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-22 19:21:05] 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-22 19: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-22 19: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-22 19:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:21:05] 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-22 19:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576094976001,"66":12232,"109":206,"85":15104,"24":27,"16":122386089531932672,"45":9130977900766517248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576094976001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:21:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:21:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122386089531932672,"km_value":122386089531932.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130977900766517248,"description":"Unknown IO ID 45"} 
[2026-08-22 19:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576094976001,"power":12232,"unknown_109":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9130977900766517248}} 
[2026-08-22 19:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":160223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:21:05] local.INFO: GPS data processed {"connection_id":160223,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:21:05] local.INFO: Acknowledgment sent {"connection_id":160223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:21:25] local.INFO: TCP Data received {"connection_id":159999,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:21:25] local.INFO: Processing buffer {"connection_id":159999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:21:25] local.INFO: Packet analysis {"connection_id":159999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:21:25] local.INFO: Extracted packet for processing {"connection_id":159999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:21:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575954944001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21: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-22 19:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787406375000,"timestamp_ms":1787406375000,"timestamp_seconds":1787406375,"priority":1,"record_length":96,"hex_timestamp":"000001a029b8d858"} 
[2026-08-22 19:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19: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-22 19:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 19:21:25] 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-22 19:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:21: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-22 19:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575954944001,"66":25908,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575954944001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:21:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575954944001,"power":25908,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":159999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:21:25] local.INFO: GPS data processed {"connection_id":159999,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:21:25] local.INFO: Acknowledgment sent {"connection_id":159999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:21:34] local.INFO: TCP Data received {"connection_id":162596,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:21:34] local.INFO: Processing buffer {"connection_id":162596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:21:34] local.INFO: Packet analysis {"connection_id":162596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:21:34] local.INFO: Extracted packet for processing {"connection_id":162596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:21:34] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19:21: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-22 19:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576003840001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565061046447603712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:34] 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-22 19:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787406566000,"timestamp_ms":1787406566000,"timestamp_seconds":1787406566,"priority":1,"record_length":96,"hex_timestamp":"000001a029bbc270"} 
[2026-08-22 19:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:21:34] 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-22 19:21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 19:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 19:21: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-22 19:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:21:34] 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-22 19:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576003840001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":565061046447603712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576003840001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:21:34] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:21:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":565061046447603712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576003840001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":565061046447603712}} 
[2026-08-22 19:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":162596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:21:34] local.INFO: GPS data processed {"connection_id":162596,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:21:34] local.INFO: Acknowledgment sent {"connection_id":162596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:21:36] local.INFO: TCP Data received {"connection_id":160223,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029bcbc70012d7ea10005d31a38000a00e927..."} 
[2026-08-22 19:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bcbc70012d7ea10005d31a38000a00e927..."} 
[2026-08-22 19:21:36] local.INFO: Processing buffer {"connection_id":160223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bcbc70012d7ea10005d31a38000a00e927..."} 
[2026-08-22 19:21:36] local.INFO: Packet analysis {"connection_id":160223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bc"} 
[2026-08-22 19:21:36] local.INFO: Extracted packet for processing {"connection_id":160223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bc"} 
[2026-08-22 19:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763273472,"raw_latitude":97720888,"longitude_deg":76.3273472,"latitude_deg":9.7720888,"altitude":10,"angle":233,"satellites":39,"speed":35,"hex_longitude":"2d7ea100","hex_latitude":"05d31a38","is_valid_coordinates":true} 
[2026-08-22 19:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576096768001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122386171136311296,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126192826162165760,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:36] 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-22 19:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787406630000,"timestamp_ms":1787406630000,"timestamp_seconds":1787406630,"priority":1,"record_length":96,"hex_timestamp":"000001a029bcbc70"} 
[2026-08-22 19:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 19:21:36] 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-22 19:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:21: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-22 19:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576096768001,"66":12004,"109":206,"85":15104,"24":35,"16":122386171136311296,"45":9126192826162165760},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576096768001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:21:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122386171136311296,"km_value":122386171136311.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126192826162165760,"description":"Unknown IO ID 45"} 
[2026-08-22 19:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576096768001,"power":12004,"unknown_109":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9126192826162165760}} 
[2026-08-22 19:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":160223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:21:36] local.INFO: GPS data processed {"connection_id":160223,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:21:36] local.INFO: Acknowledgment sent {"connection_id":160223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:21:49] local.INFO: TCP Data received {"connection_id":160224,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:21:49] local.INFO: Processing buffer {"connection_id":160224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:21:49] local.INFO: IMEI packet received {"connection_id":160224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":160224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:21:52] local.INFO: TCP Data received {"connection_id":160000,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:21:52] local.INFO: Processing buffer {"connection_id":160000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:21:52] local.INFO: IMEI packet received {"connection_id":160000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":160000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:21:53] local.INFO: TCP Data received {"connection_id":160224,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:21:53] local.INFO: Processing buffer {"connection_id":160224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:21:53] local.INFO: IMEI packet received {"connection_id":160224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":160224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:21:54] local.INFO: TCP Data received {"connection_id":160224,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:21:54] local.INFO: Processing buffer {"connection_id":160224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029b8d858012d7fe9c005c58f80000800cf2d..."} 
[2026-08-22 19:21:54] local.INFO: Packet analysis {"connection_id":160224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:21:54] local.INFO: Extracted packet for processing {"connection_id":160224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029b8"} 
[2026-08-22 19:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457575954944001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:54] 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-22 19:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787406375000,"timestamp_ms":1787406375000,"timestamp_seconds":1787406375,"priority":1,"record_length":96,"hex_timestamp":"000001a029b8d858"} 
[2026-08-22 19: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-22 19:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 19:21:54] 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-22 19: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-22 19: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-22 19:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:21: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-22 19:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457575954944001,"66":25908,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457575954944001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:21:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:21:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457575954944001,"power":25908,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":160224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:21:54] local.INFO: GPS data processed {"connection_id":160224,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:21:54] local.INFO: Acknowledgment sent {"connection_id":160224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:21:57] local.INFO: TCP Data received {"connection_id":160000,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:21:57] local.INFO: Processing buffer {"connection_id":160000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:21:57] local.INFO: IMEI packet received {"connection_id":160000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":160000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:21:58] local.INFO: TCP Data received {"connection_id":160000,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:21:58] local.INFO: Processing buffer {"connection_id":160000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:21:58] local.INFO: Packet analysis {"connection_id":160000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:21:58] local.INFO: Extracted packet for processing {"connection_id":160000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:21:58] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576003840001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565061046447603712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:21:58] 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-22 19:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787406566000,"timestamp_ms":1787406566000,"timestamp_seconds":1787406566,"priority":1,"record_length":96,"hex_timestamp":"000001a029bbc270"} 
[2026-08-22 19: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-22 19:21:58] 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-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 19:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:21:58] 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-22 19:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576003840001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":565061046447603712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576003840001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:21:58] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:21:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":565061046447603712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576003840001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":565061046447603712}} 
[2026-08-22 19:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":160000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:21:58] local.INFO: GPS data processed {"connection_id":160000,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:21:58] local.INFO: Acknowledgment sent {"connection_id":160000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:22:00] local.INFO: TCP Data received {"connection_id":161172,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:22:00] local.INFO: Processing buffer {"connection_id":161172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:22:00] local.INFO: IMEI packet received {"connection_id":161172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":161172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:22:00] local.INFO: TCP Data received {"connection_id":161172,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:22:00] local.INFO: Processing buffer {"connection_id":161172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:22:00] local.INFO: IMEI packet received {"connection_id":161172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":161172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:22:02] local.INFO: TCP Data received {"connection_id":161172,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:22:02] local.INFO: Processing buffer {"connection_id":161172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:22:02] local.INFO: IMEI packet received {"connection_id":161172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":161172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:22:03] local.INFO: TCP Data received {"connection_id":161172,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:22:03] local.INFO: Processing buffer {"connection_id":161172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:22:03] local.INFO: IMEI packet received {"connection_id":161172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":161172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:22:03] local.INFO: TCP Data received {"connection_id":161172,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029bdc228012d7e57c005d354980007011d27..."} 
[2026-08-22 19:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bdc228012d7e57c005d354980007011d27..."} 
[2026-08-22 19:22:03] local.INFO: Processing buffer {"connection_id":161172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bdc228012d7e57c005d354980007011d27..."} 
[2026-08-22 19:22:03] local.INFO: Packet analysis {"connection_id":161172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:22:03] local.INFO: Extracted packet for processing {"connection_id":161172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:22:03] local.INFO: GPS Element Parsed {"raw_longitude":763254720,"raw_latitude":97735832,"longitude_deg":76.325472,"latitude_deg":9.7735832,"altitude":7,"angle":285,"satellites":39,"speed":10,"hex_longitude":"2d7e57c0","hex_latitude":"05d35498","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576114176001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388043742052352,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104237777982330880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:03] 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-22 19:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787406697000,"timestamp_ms":1787406697000,"timestamp_seconds":1787406697,"priority":1,"record_length":96,"hex_timestamp":"000001a029bdc228"} 
[2026-08-22 19: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-22 19:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-22 19:22:03] 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-22 19: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-22 19: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-22 19:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:22:03] 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-22 19:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576114176001,"66":11852,"109":206,"85":15104,"24":10,"16":122388043742052352,"45":9104237777982330880},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576114176001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:22:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:22:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388043742052352,"km_value":122388043742052.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104237777982330880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576114176001,"power":11852,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9104237777982330880}} 
[2026-08-22 19:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":161172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:22:03] local.INFO: GPS data processed {"connection_id":161172,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:22:03] local.INFO: Acknowledgment sent {"connection_id":161172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:22:05] local.INFO: TCP Data received {"connection_id":161172,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029bde550012d7e4bc005d357400007011127..."} 
[2026-08-22 19:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bde550012d7e4bc005d357400007011127..."} 
[2026-08-22 19:22:05] local.INFO: Processing buffer {"connection_id":161172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bde550012d7e4bc005d357400007011127..."} 
[2026-08-22 19:22:05] local.INFO: Packet analysis {"connection_id":161172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:22:05] local.INFO: Extracted packet for processing {"connection_id":161172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:22:05] local.INFO: GPS Element Parsed {"raw_longitude":763251648,"raw_latitude":97736512,"longitude_deg":76.3251648,"latitude_deg":9.7736512,"altitude":7,"angle":273,"satellites":39,"speed":13,"hex_longitude":"2d7e4bc0","hex_latitude":"05d35740","is_valid_coordinates":true} 
[2026-08-22 19:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576114432001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388194065907712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103956303005652992,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:05] 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-22 19:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787406706000,"timestamp_ms":1787406706000,"timestamp_seconds":1787406706,"priority":1,"record_length":96,"hex_timestamp":"000001a029bde550"} 
[2026-08-22 19:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-22 19:22:05] 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-22 19:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:22:05] 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-22 19:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576114432001,"66":12069,"109":206,"85":15104,"24":13,"16":122388194065907712,"45":9103956303005652992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576114432001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:22:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:22:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388194065907712,"km_value":122388194065907.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103956303005652992,"description":"Unknown IO ID 45"} 
[2026-08-22 19:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576114432001,"power":12069,"unknown_109":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9103956303005652992}} 
[2026-08-22 19:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":161172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:22:05] local.INFO: GPS data processed {"connection_id":161172,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:22:05] local.INFO: Acknowledgment sent {"connection_id":161172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:22:25] local.INFO: TCP Data received {"connection_id":160224,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:22:25] local.INFO: Processing buffer {"connection_id":160224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:22:25] local.INFO: Packet analysis {"connection_id":160224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:22:25] local.INFO: Extracted packet for processing {"connection_id":160224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:22:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576032000001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22: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-22 19:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787406676000,"timestamp_ms":1787406676000,"timestamp_seconds":1787406676,"priority":1,"record_length":96,"hex_timestamp":"000001a029bd7020"} 
[2026-08-22 19: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-22 19: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-22 19: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 19:22:25] 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-22 19: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-22 19: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-22 19:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:22: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-22 19:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576032000001,"66":25919,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576032000001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:22:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:22:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576032000001,"power":25919,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":160224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:22:25] local.INFO: GPS data processed {"connection_id":160224,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:22:25] local.INFO: Acknowledgment sent {"connection_id":160224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:22:29] local.INFO: TCP Data received {"connection_id":160000,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:22:29] local.INFO: Processing buffer {"connection_id":160000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:22:29] local.INFO: Packet analysis {"connection_id":160000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:22:29] local.INFO: Extracted packet for processing {"connection_id":160000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:22:29] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576003840001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565061046447603712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:29] 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-22 19:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787406566000,"timestamp_ms":1787406566000,"timestamp_seconds":1787406566,"priority":1,"record_length":96,"hex_timestamp":"000001a029bbc270"} 
[2026-08-22 19:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:22:29] 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-22 19:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 19:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 19:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:22:29] 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-22 19:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576003840001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":565061046447603712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576003840001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:22:29] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:22:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":565061046447603712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576003840001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":565061046447603712}} 
[2026-08-22 19:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":160000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:22:29] local.INFO: GPS data processed {"connection_id":160000,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:22:29] local.INFO: Acknowledgment sent {"connection_id":160000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:22:36] local.INFO: TCP Data received {"connection_id":161172,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029bded20012d7e494005d357200007010327..."} 
[2026-08-22 19:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bded20012d7e494005d357200007010327..."} 
[2026-08-22 19:22:36] local.INFO: Processing buffer {"connection_id":161172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bded20012d7e494005d357200007010327..."} 
[2026-08-22 19:22:36] local.INFO: Packet analysis {"connection_id":161172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:22:36] local.INFO: Extracted packet for processing {"connection_id":161172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:22:36] local.INFO: GPS Element Parsed {"raw_longitude":763251008,"raw_latitude":97736480,"longitude_deg":76.3251008,"latitude_deg":9.773648,"altitude":7,"angle":259,"satellites":39,"speed":11,"hex_longitude":"2d7e4940","hex_latitude":"05d35720","is_valid_coordinates":true} 
[2026-08-22 19:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576116736001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388224130678784,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100578603285299200,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:36] 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-22 19:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787406708000,"timestamp_ms":1787406708000,"timestamp_seconds":1787406708,"priority":1,"record_length":96,"hex_timestamp":"000001a029bded20"} 
[2026-08-22 19:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-22 19:22:36] 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-22 19:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:22: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-22 19:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576116736001,"66":12135,"109":206,"85":15104,"24":11,"16":122388224130678784,"45":9100578603285299200},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576116736001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:22:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:22:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388224130678784,"km_value":122388224130678.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100578603285299200,"description":"Unknown IO ID 45"} 
[2026-08-22 19:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576116736001,"power":12135,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9100578603285299200}} 
[2026-08-22 19:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":161172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:22:36] local.INFO: GPS data processed {"connection_id":161172,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:22:36] local.INFO: Acknowledgment sent {"connection_id":161172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:22:48] local.INFO: TCP Data received {"connection_id":162597,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:22:48] local.INFO: Processing buffer {"connection_id":162597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:22:48] local.INFO: IMEI packet received {"connection_id":162597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":162597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:22:52] local.INFO: TCP Data received {"connection_id":160001,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:22:52] local.INFO: Processing buffer {"connection_id":160001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:22:52] local.INFO: IMEI packet received {"connection_id":160001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":160001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:22:53] local.INFO: TCP Data received {"connection_id":162597,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:22:53] local.INFO: Processing buffer {"connection_id":162597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:22:53] local.INFO: IMEI packet received {"connection_id":162597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":162597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:22:54] local.INFO: TCP Data received {"connection_id":162597,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:22:54] local.INFO: Processing buffer {"connection_id":162597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:22:54] local.INFO: Packet analysis {"connection_id":162597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:22:54] local.INFO: Extracted packet for processing {"connection_id":162597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576032000001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:54] 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-22 19:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787406676000,"timestamp_ms":1787406676000,"timestamp_seconds":1787406676,"priority":1,"record_length":96,"hex_timestamp":"000001a029bd7020"} 
[2026-08-22 19:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 19:22:54] 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-22 19:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:22: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-22 19:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576032000001,"66":25919,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576032000001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:22:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:22:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576032000001,"power":25919,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":162597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:22:54] local.INFO: GPS data processed {"connection_id":162597,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:22:54] local.INFO: Acknowledgment sent {"connection_id":162597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:22:57] local.INFO: TCP Data received {"connection_id":160001,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:22:57] local.INFO: Processing buffer {"connection_id":160001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:22:57] local.INFO: IMEI packet received {"connection_id":160001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":160001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:22:58] local.INFO: TCP Data received {"connection_id":160001,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:22:58] local.INFO: Processing buffer {"connection_id":160001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:22:58] local.INFO: Packet analysis {"connection_id":160001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:22:58] local.INFO: Extracted packet for processing {"connection_id":160001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:22:58] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576003840001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565061046447603712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:22:58] 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-22 19:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787406566000,"timestamp_ms":1787406566000,"timestamp_seconds":1787406566,"priority":1,"record_length":96,"hex_timestamp":"000001a029bbc270"} 
[2026-08-22 19: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-22 19:22:58] 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-22 19:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 19:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:22:58] 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-22 19:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576003840001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":565061046447603712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576003840001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:22:58] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:22:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":565061046447603712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576003840001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":565061046447603712}} 
[2026-08-22 19:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":160001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:22:58] local.INFO: GPS data processed {"connection_id":160001,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:22:58] local.INFO: Acknowledgment sent {"connection_id":160001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:23:00] local.INFO: TCP Data received {"connection_id":161173,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:23:00] local.INFO: Processing buffer {"connection_id":161173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:23:00] local.INFO: IMEI packet received {"connection_id":161173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":161173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:23:02] local.INFO: TCP Data received {"connection_id":161173,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:23:02] local.INFO: Processing buffer {"connection_id":161173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:23:02] local.INFO: IMEI packet received {"connection_id":161173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":161173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:23:02] local.INFO: TCP Data received {"connection_id":161173,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:23:02] local.INFO: Processing buffer {"connection_id":161173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:23:02] local.INFO: IMEI packet received {"connection_id":161173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":161173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:23:04] local.INFO: TCP Data received {"connection_id":161173,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:23:04] local.INFO: Processing buffer {"connection_id":161173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:23:04] local.INFO: IMEI packet received {"connection_id":161173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":161173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:23:04] local.INFO: TCP Data received {"connection_id":161173,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029be0878012d7e42c005d356580008011026..."} 
[2026-08-22 19:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029be0878012d7e42c005d356580008011026..."} 
[2026-08-22 19:23:04] local.INFO: Processing buffer {"connection_id":161173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029be0878012d7e42c005d356580008011026..."} 
[2026-08-22 19:23:04] local.INFO: Packet analysis {"connection_id":161173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029be"} 
[2026-08-22 19:23:04] local.INFO: Extracted packet for processing {"connection_id":161173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029be"} 
[2026-08-22 19:23:04] local.INFO: GPS Element Parsed {"raw_longitude":763249344,"raw_latitude":97736280,"longitude_deg":76.3249344,"latitude_deg":9.773628,"altitude":8,"angle":272,"satellites":38,"speed":8,"hex_longitude":"2d7e42c0","hex_latitude":"05d35658","is_valid_coordinates":true} 
[2026-08-22 19:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576117248001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388305735057408,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099874915843514368,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23:04] 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-22 19:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787406715000,"timestamp_ms":1787406715000,"timestamp_seconds":1787406715,"priority":1,"record_length":96,"hex_timestamp":"000001a029be0878"} 
[2026-08-22 19:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-22 19:23:04] 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-22 19:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:23:04] 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-22 19:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576117248001,"66":11950,"109":206,"85":15104,"24":8,"16":122388305735057408,"45":9099874915843514368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576117248001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:23:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:23:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388305735057408,"km_value":122388305735057.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099874915843514368,"description":"Unknown IO ID 45"} 
[2026-08-22 19:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576117248001,"power":11950,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9099874915843514368}} 
[2026-08-22 19:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":161173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:23:04] local.INFO: GPS data processed {"connection_id":161173,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:23:04] local.INFO: Acknowledgment sent {"connection_id":161173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:23:25] local.INFO: TCP Data received {"connection_id":162597,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:23:25] local.INFO: Processing buffer {"connection_id":162597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:23:25] local.INFO: Packet analysis {"connection_id":162597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:23:25] local.INFO: Extracted packet for processing {"connection_id":162597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 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-22 19:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576032000001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23: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-22 19:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787406676000,"timestamp_ms":1787406676000,"timestamp_seconds":1787406676,"priority":1,"record_length":96,"hex_timestamp":"000001a029bd7020"} 
[2026-08-22 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-22 19: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-22 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 19:23:25] 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-22 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-22 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-22 19:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 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-22 19:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576032000001,"66":25919,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576032000001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:23:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576032000001,"power":25919,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":162597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:23:25] local.INFO: GPS data processed {"connection_id":162597,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:23:25] local.INFO: Acknowledgment sent {"connection_id":162597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:23:29] local.INFO: TCP Data received {"connection_id":160001,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:23:29] local.INFO: Processing buffer {"connection_id":160001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:23:29] local.INFO: Packet analysis {"connection_id":160001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:23:29] local.INFO: Extracted packet for processing {"connection_id":160001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:23:29] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576003840001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565061046447603712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23:29] 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-22 19:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787406566000,"timestamp_ms":1787406566000,"timestamp_seconds":1787406566,"priority":1,"record_length":96,"hex_timestamp":"000001a029bbc270"} 
[2026-08-22 19: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-22 19:23:29] 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-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 19:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 19: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-22 19: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-22 19:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:23:29] 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-22 19:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576003840001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":565061046447603712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576003840001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:23:29] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:23:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":565061046447603712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576003840001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":565061046447603712}} 
[2026-08-22 19:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":160001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:23:29] local.INFO: GPS data processed {"connection_id":160001,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:23:29] local.INFO: Acknowledgment sent {"connection_id":160001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:23:37] local.INFO: TCP Data received {"connection_id":161173,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029be1430012d7e404005d356d00009011f25..."} 
[2026-08-22 19:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029be1430012d7e404005d356d00009011f25..."} 
[2026-08-22 19:23:37] local.INFO: Processing buffer {"connection_id":161173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029be1430012d7e404005d356d00009011f25..."} 
[2026-08-22 19:23:37] local.INFO: Packet analysis {"connection_id":161173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029be"} 
[2026-08-22 19:23:37] local.INFO: Extracted packet for processing {"connection_id":161173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029be"} 
[2026-08-22 19:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763248704,"raw_latitude":97736400,"longitude_deg":76.3248704,"latitude_deg":9.77364,"altitude":9,"angle":287,"satellites":37,"speed":9,"hex_longitude":"2d7e4040","hex_latitude":"05d356d0","is_valid_coordinates":true} 
[2026-08-22 19:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576119040001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388340094795776,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098045328494843904,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23:37] 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-22 19:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787406718000,"timestamp_ms":1787406718000,"timestamp_seconds":1787406718,"priority":1,"record_length":96,"hex_timestamp":"000001a029be1430"} 
[2026-08-22 19:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:23:37] 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-22 19:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-22 19:23:37] 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-22 19:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:23:37] 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-22 19:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576119040001,"66":11874,"109":206,"85":15104,"24":9,"16":122388340094795776,"45":9098045328494843904},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576119040001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:23:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388340094795776,"km_value":122388340094795.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098045328494843904,"description":"Unknown IO ID 45"} 
[2026-08-22 19:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576119040001,"power":11874,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9098045328494843904}} 
[2026-08-22 19:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":161173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:23:37] local.INFO: GPS data processed {"connection_id":161173,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:23:37] local.INFO: Acknowledgment sent {"connection_id":161173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:23:48] local.INFO: TCP Data received {"connection_id":161174,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:23:48] local.INFO: Processing buffer {"connection_id":161174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:23:48] local.INFO: IMEI packet received {"connection_id":161174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":161174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:23:52] local.INFO: TCP Data received {"connection_id":161175,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:23:52] local.INFO: Processing buffer {"connection_id":161175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:23:52] local.INFO: IMEI packet received {"connection_id":161175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":161175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:23:53] local.INFO: TCP Data received {"connection_id":161174,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:23:53] local.INFO: Processing buffer {"connection_id":161174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:23:53] local.INFO: IMEI packet received {"connection_id":161174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":161174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:23:56] local.INFO: TCP Data received {"connection_id":161174,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:23:56] local.INFO: Processing buffer {"connection_id":161174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:23:56] local.INFO: Packet analysis {"connection_id":161174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:23:56] local.INFO: Extracted packet for processing {"connection_id":161174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576032000001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23: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-22 19:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787406676000,"timestamp_ms":1787406676000,"timestamp_seconds":1787406676,"priority":1,"record_length":96,"hex_timestamp":"000001a029bd7020"} 
[2026-08-22 19: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-22 19: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-22 19: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 19:23:56] 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-22 19: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-22 19: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-22 19:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19: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-22 19:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576032000001,"66":25919,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576032000001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:23:56] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576032000001,"power":25919,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":161174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:23:56] local.INFO: GPS data processed {"connection_id":161174,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:23:56] local.INFO: Acknowledgment sent {"connection_id":161174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:23:57] local.INFO: TCP Data received {"connection_id":161175,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:23:57] local.INFO: Processing buffer {"connection_id":161175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:23:57] local.INFO: IMEI packet received {"connection_id":161175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":161175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:23:58] local.INFO: TCP Data received {"connection_id":161175,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:23:58] local.INFO: Processing buffer {"connection_id":161175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:23:58] local.INFO: Packet analysis {"connection_id":161175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:23:58] local.INFO: Extracted packet for processing {"connection_id":161175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:23:58] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576003840001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565061046447603712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:23:58] 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-22 19:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787406566000,"timestamp_ms":1787406566000,"timestamp_seconds":1787406566,"priority":1,"record_length":96,"hex_timestamp":"000001a029bbc270"} 
[2026-08-22 19:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:23:58] 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-22 19:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 19:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:23:58] 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-22 19:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576003840001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":565061046447603712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576003840001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:23:58] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":565061046447603712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576003840001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":565061046447603712}} 
[2026-08-22 19:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":161175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:23:58] local.INFO: GPS data processed {"connection_id":161175,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:23:58] local.INFO: Acknowledgment sent {"connection_id":161175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:24:00] local.INFO: TCP Data received {"connection_id":160225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:24:00] local.INFO: Processing buffer {"connection_id":160225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:24:00] local.INFO: IMEI packet received {"connection_id":160225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":160225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:24:05] local.INFO: TCP Data received {"connection_id":160225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:24:05] local.INFO: Processing buffer {"connection_id":160225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:24:05] local.INFO: IMEI packet received {"connection_id":160225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":160225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:24:12] local.INFO: TCP Data received {"connection_id":160225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a029be1c00012d7e3e4005d357180009010e25..."} 
[2026-08-22 19:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029be1c00012d7e3e4005d357180009010e25..."} 
[2026-08-22 19:24:12] local.INFO: Processing buffer {"connection_id":160225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029be1c00012d7e3e4005d357180009010e25..."} 
[2026-08-22 19:24:12] local.INFO: Packet analysis {"connection_id":160225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029be"} 
[2026-08-22 19:24:12] local.INFO: Extracted packet for processing {"connection_id":160225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029be"} 
[2026-08-22 19:24:12] local.INFO: GPS Element Parsed {"raw_longitude":763248192,"raw_latitude":97736472,"longitude_deg":76.3248192,"latitude_deg":9.7736472,"altitude":9,"angle":270,"satellites":37,"speed":8,"hex_longitude":"2d7e3e40","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576119808001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388361569632256,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097341641053097984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24: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-22 19:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787406720000,"timestamp_ms":1787406720000,"timestamp_seconds":1787406720,"priority":1,"record_length":96,"hex_timestamp":"000001a029be1c00"} 
[2026-08-22 19: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-22 19:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-22 19:24:12] 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-22 19: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-22 19: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-22 19:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:24:12] 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-22 19:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576119808001,"66":11624,"109":206,"85":15104,"24":8,"16":122388361569632256,"45":9097341641053097984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576119808001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:24:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388361569632256,"km_value":122388361569632.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097341641053097984,"description":"Unknown IO ID 45"} 
[2026-08-22 19:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576119808001,"power":11624,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9097341641053097984}} 
[2026-08-22 19:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":160225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:24:13] local.INFO: GPS data processed {"connection_id":160225,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:24:13] local.INFO: Acknowledgment sent {"connection_id":160225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:24:29] local.INFO: TCP Data received {"connection_id":161175,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:24:29] local.INFO: Processing buffer {"connection_id":161175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:24:29] local.INFO: Packet analysis {"connection_id":161175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:24:29] local.INFO: Extracted packet for processing {"connection_id":161175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:24:29] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576003840001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565061046447603712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24:29] 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-22 19:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787406566000,"timestamp_ms":1787406566000,"timestamp_seconds":1787406566,"priority":1,"record_length":96,"hex_timestamp":"000001a029bbc270"} 
[2026-08-22 19:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:24:29] 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-22 19:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 19:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 19:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:24:29] 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-22 19:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576003840001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":565061046447603712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576003840001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:24:29] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:24:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":565061046447603712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576003840001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":565061046447603712}} 
[2026-08-22 19:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":161175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:24:29] local.INFO: GPS data processed {"connection_id":161175,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:24:29] local.INFO: Acknowledgment sent {"connection_id":161175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:24:29] local.INFO: TCP Data received {"connection_id":161174,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:24:29] local.INFO: Processing buffer {"connection_id":161174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:24:29] local.INFO: Packet analysis {"connection_id":161174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:24:29] local.INFO: Extracted packet for processing {"connection_id":161174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:24:29] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576032000001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24: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-22 19:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787406676000,"timestamp_ms":1787406676000,"timestamp_seconds":1787406676,"priority":1,"record_length":96,"hex_timestamp":"000001a029bd7020"} 
[2026-08-22 19:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19: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-22 19:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 19:24:29] 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-22 19:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:24: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-22 19:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576032000001,"66":25919,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576032000001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:24:29] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576032000001,"power":25919,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":161174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:24:29] local.INFO: GPS data processed {"connection_id":161174,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:24:29] local.INFO: Acknowledgment sent {"connection_id":161174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:24:48] local.INFO: TCP Data received {"connection_id":161176,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:24:48] local.INFO: Processing buffer {"connection_id":161176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:24:48] local.INFO: IMEI packet received {"connection_id":161176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":161176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:24:51] local.INFO: TCP Data received {"connection_id":160225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a029be1fe8012d7e3dc005d35710000900ff25..."} 
[2026-08-22 19:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029be1fe8012d7e3dc005d35710000900ff25..."} 
[2026-08-22 19:24:51] local.INFO: Processing buffer {"connection_id":160225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029be1fe8012d7e3dc005d35710000900ff25..."} 
[2026-08-22 19:24:51] local.INFO: Packet analysis {"connection_id":160225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029be"} 
[2026-08-22 19:24:51] local.INFO: Extracted packet for processing {"connection_id":160225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029be"} 
[2026-08-22 19:24:51] local.INFO: GPS Element Parsed {"raw_longitude":763248064,"raw_latitude":97736464,"longitude_deg":76.3248064,"latitude_deg":9.7736464,"altitude":9,"angle":255,"satellites":37,"speed":7,"hex_longitude":"2d7e3dc0","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576120320001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388370159566848,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096778691099695104,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24: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-22 19:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787406721000,"timestamp_ms":1787406721000,"timestamp_seconds":1787406721,"priority":1,"record_length":96,"hex_timestamp":"000001a029be1fe8"} 
[2026-08-22 19: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-22 19:24: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-22 19: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-22 19:24:51] 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-22 19: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-22 19: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-22 19:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:24:51] 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-22 19:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576120320001,"66":11624,"109":206,"85":15104,"24":7,"16":122388370159566848,"45":9096778691099695104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576120320001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:24:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388370159566848,"km_value":122388370159566.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096778691099695104,"description":"Unknown IO ID 45"} 
[2026-08-22 19:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576120320001,"power":11624,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9096778691099695104}} 
[2026-08-22 19:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":160225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:24:51] local.INFO: GPS data processed {"connection_id":160225,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:24:51] local.INFO: Acknowledgment sent {"connection_id":160225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:24:52] local.INFO: TCP Data received {"connection_id":162598,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:24:52] local.INFO: Processing buffer {"connection_id":162598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:24:52] local.INFO: IMEI packet received {"connection_id":162598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":162598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:24:53] local.INFO: TCP Data received {"connection_id":161176,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:24:53] local.INFO: Processing buffer {"connection_id":161176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:24:53] local.INFO: IMEI packet received {"connection_id":161176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":161176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:24:54] local.INFO: TCP Data received {"connection_id":161176,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:24:54] local.INFO: Processing buffer {"connection_id":161176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:24:54] local.INFO: Packet analysis {"connection_id":161176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:24:54] local.INFO: Extracted packet for processing {"connection_id":161176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576032000001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24:54] 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-22 19:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787406676000,"timestamp_ms":1787406676000,"timestamp_seconds":1787406676,"priority":1,"record_length":96,"hex_timestamp":"000001a029bd7020"} 
[2026-08-22 19:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 19:24:54] 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-22 19:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:24: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-22 19:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576032000001,"66":25919,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576032000001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:24:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:24:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576032000001,"power":25919,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":161176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:24:54] local.INFO: GPS data processed {"connection_id":161176,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:24:54] local.INFO: Acknowledgment sent {"connection_id":161176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:24:57] local.INFO: TCP Data received {"connection_id":162598,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:24:57] local.INFO: Processing buffer {"connection_id":162598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:24:57] local.INFO: IMEI packet received {"connection_id":162598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":162598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:24:58] local.INFO: TCP Data received {"connection_id":162598,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:24:58] local.INFO: Processing buffer {"connection_id":162598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bbc270012d07d7800725eb80001000e127..."} 
[2026-08-22 19:24:58] local.INFO: Packet analysis {"connection_id":162598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:24:58] local.INFO: Extracted packet for processing {"connection_id":162598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bb"} 
[2026-08-22 19:24:58] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576003840001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565061046447603712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:24:58] 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-22 19:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787406566000,"timestamp_ms":1787406566000,"timestamp_seconds":1787406566,"priority":1,"record_length":96,"hex_timestamp":"000001a029bbc270"} 
[2026-08-22 19:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:24:58] 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-22 19:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 19:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:24:58] 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-22 19:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576003840001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":565061046447603712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576003840001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:24:58] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":565061046447603712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576003840001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":565061046447603712}} 
[2026-08-22 19:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":162598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:24:58] local.INFO: GPS data processed {"connection_id":162598,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:24:58] local.INFO: Acknowledgment sent {"connection_id":162598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:25:05] local.INFO: TCP Data received {"connection_id":160002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:25:05] local.INFO: Processing buffer {"connection_id":160002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:25:05] local.INFO: IMEI packet received {"connection_id":160002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":160002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:25:10] local.INFO: TCP Data received {"connection_id":160002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:25:10] local.INFO: Processing buffer {"connection_id":160002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:25:10] local.INFO: IMEI packet received {"connection_id":160002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":160002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:25:10] local.INFO: TCP Data received {"connection_id":160002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a029be6e08012d7e3a4005d357a00009010326..."} 
[2026-08-22 19:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029be6e08012d7e3a4005d357a00009010326..."} 
[2026-08-22 19:25:10] local.INFO: Processing buffer {"connection_id":160002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029be6e08012d7e3a4005d357a00009010326..."} 
[2026-08-22 19:25:10] local.INFO: Packet analysis {"connection_id":160002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029be"} 
[2026-08-22 19:25:10] local.INFO: Extracted packet for processing {"connection_id":160002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029be"} 
[2026-08-22 19:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736608,"longitude_deg":76.3247168,"latitude_deg":9.7736608,"altitude":9,"angle":259,"satellites":38,"speed":2,"hex_longitude":"2d7e3a40","hex_latitude":"05d357a0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576120576001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388421699174400,"note":"Value kept but may cause issues"} 
[2026-08-22 19:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096637953611337728,"note":"Value kept but may cause issues"} 
[2026-08-22 19:25:10] 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-22 19:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787406741000,"timestamp_ms":1787406741000,"timestamp_seconds":1787406741,"priority":1,"record_length":96,"hex_timestamp":"000001a029be6e08"} 
[2026-08-22 19: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-22 19:25:10] 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-22 19: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-22 19:25:10] 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-22 19: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-22 19: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-22 19:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:25: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-22 19:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576120576001,"66":12004,"109":206,"85":15104,"24":2,"16":122388421699174400,"45":9096637953611337728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576120576001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:25:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388421699174400,"km_value":122388421699174.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096637953611337728,"description":"Unknown IO ID 45"} 
[2026-08-22 19:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576120576001,"power":12004,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9096637953611337728}} 
[2026-08-22 19:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":160002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:25:10] local.INFO: GPS data processed {"connection_id":160002,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:25:10] local.INFO: Acknowledgment sent {"connection_id":160002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:25:15] local.INFO: TCP Data received {"connection_id":160002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a029bec010012d7e3b0005d356880007010327..."} 
[2026-08-22 19:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bec010012d7e3b0005d356880007010327..."} 
[2026-08-22 19:25:15] local.INFO: Processing buffer {"connection_id":160002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bec010012d7e3b0005d356880007010327..."} 
[2026-08-22 19:25:15] local.INFO: Packet analysis {"connection_id":160002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029be"} 
[2026-08-22 19:25:15] local.INFO: Extracted packet for processing {"connection_id":160002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029be"} 
[2026-08-22 19:25:15] local.INFO: GPS Element Parsed {"raw_longitude":763247360,"raw_latitude":97736328,"longitude_deg":76.324736,"latitude_deg":9.7736328,"altitude":7,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d7e3b00","hex_latitude":"05d35688","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576125696001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388486123683840,"note":"Value kept but may cause issues"} 
[2026-08-22 19:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192887296,"note":"Value kept but may cause issues"} 
[2026-08-22 19:25: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-22 19:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787406762000,"timestamp_ms":1787406762000,"timestamp_seconds":1787406762,"priority":1,"record_length":96,"hex_timestamp":"000001a029bec010"} 
[2026-08-22 19: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-22 19: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-22 19: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 19:25:15] 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-22 19: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-22 19: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-22 19:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:25:15] 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-22 19:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576125696001,"66":11895,"109":206,"85":15104,"24":0,"16":122388486123683840,"45":9095652791192887296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576125696001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:25:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:25:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388486123683840,"km_value":122388486123683.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192887296,"description":"Unknown IO ID 45"} 
[2026-08-22 19:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576125696001,"power":11895,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192887296}} 
[2026-08-22 19:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":160002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:25:15] local.INFO: GPS data processed {"connection_id":160002,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:25:15] local.INFO: Acknowledgment sent {"connection_id":160002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:25:25] local.INFO: TCP Data received {"connection_id":161176,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:25:25] local.INFO: Processing buffer {"connection_id":161176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:25:25] local.INFO: Packet analysis {"connection_id":161176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:25:25] local.INFO: Extracted packet for processing {"connection_id":161176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:25:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576032000001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:25: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-22 19:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787406676000,"timestamp_ms":1787406676000,"timestamp_seconds":1787406676,"priority":1,"record_length":96,"hex_timestamp":"000001a029bd7020"} 
[2026-08-22 19: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-22 19: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-22 19: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":52,"data_length":795,"current_offset":136} 
[2026-08-22 19:25:25] 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-22 19: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-22 19: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-22 19:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:25: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-22 19:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576032000001,"66":25919,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576032000001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:25:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:25:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576032000001,"power":25919,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":161176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:25:25] local.INFO: GPS data processed {"connection_id":161176,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:25:25] local.INFO: Acknowledgment sent {"connection_id":161176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:25:29] local.INFO: TCP Data received {"connection_id":162598,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029c05a38012d07d7800725eb80001000e126..."} 
[2026-08-22 19:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c05a38012d07d7800725eb80001000e126..."} 
[2026-08-22 19:25:29] local.INFO: Processing buffer {"connection_id":162598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c05a38012d07d7800725eb80001000e126..."} 
[2026-08-22 19:25:29] local.INFO: Packet analysis {"connection_id":162598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c0"} 
[2026-08-22 19:25:29] local.INFO: Extracted packet for processing {"connection_id":162598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c0"} 
[2026-08-22 19:25:29] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576080896001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565061046447603712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:25:29] 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-22 19:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787406867000,"timestamp_ms":1787406867000,"timestamp_seconds":1787406867,"priority":1,"record_length":96,"hex_timestamp":"000001a029c05a38"} 
[2026-08-22 19: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-22 19:25:29] 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-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 19:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 19: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-22 19: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-22 19:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:25:29] 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-22 19:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576080896001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":565061046447603712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576080896001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:25:29] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:25:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":565061046447603712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576080896001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":565061046447603712}} 
[2026-08-22 19:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":162598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:25:29] local.INFO: GPS data processed {"connection_id":162598,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:25:29] local.INFO: Acknowledgment sent {"connection_id":162598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:25:48] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:25:48] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:25:48] local.INFO: IMEI packet received {"connection_id":160003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":160003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:25:53] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:25:53] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:25:53] local.INFO: IMEI packet received {"connection_id":160003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":160003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:25:54] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:25:54] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:25:54] local.INFO: Packet analysis {"connection_id":160003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:25:54] local.INFO: Extracted packet for processing {"connection_id":160003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576032000001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:25:54] 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-22 19:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787406676000,"timestamp_ms":1787406676000,"timestamp_seconds":1787406676,"priority":1,"record_length":96,"hex_timestamp":"000001a029bd7020"} 
[2026-08-22 19: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-22 19:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 19:25:54] 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-22 19: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-22 19: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-22 19:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19: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-22 19:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576032000001,"66":25919,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576032000001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:25:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:25:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576032000001,"power":25919,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":160003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:25:54] local.INFO: GPS data processed {"connection_id":160003,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:25:54] local.INFO: Acknowledgment sent {"connection_id":160003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:25:57] local.INFO: TCP Data received {"connection_id":162599,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:25:57] local.INFO: Processing buffer {"connection_id":162599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:25:57] local.INFO: IMEI packet received {"connection_id":162599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":162599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:26:00] local.INFO: TCP Data received {"connection_id":162600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:26:00] local.INFO: Processing buffer {"connection_id":162600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:26:00] local.INFO: IMEI packet received {"connection_id":162600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":162600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:26:02] local.INFO: TCP Data received {"connection_id":162599,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:26:02] local.INFO: Processing buffer {"connection_id":162599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:26:02] local.INFO: IMEI packet received {"connection_id":162599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":162599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:26:03] local.INFO: TCP Data received {"connection_id":162599,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029c05a38012d07d7800725eb80001000e126..."} 
[2026-08-22 19:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c05a38012d07d7800725eb80001000e126..."} 
[2026-08-22 19:26:03] local.INFO: Processing buffer {"connection_id":162599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c05a38012d07d7800725eb80001000e126..."} 
[2026-08-22 19:26:03] local.INFO: Packet analysis {"connection_id":162599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c0"} 
[2026-08-22 19:26:03] local.INFO: Extracted packet for processing {"connection_id":162599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c0"} 
[2026-08-22 19:26:03] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19:26: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-22 19:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576080896001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565061046447603712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:03] 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-22 19:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787406867000,"timestamp_ms":1787406867000,"timestamp_seconds":1787406867,"priority":1,"record_length":96,"hex_timestamp":"000001a029c05a38"} 
[2026-08-22 19:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 19:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:26: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-22 19:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:26:03] 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-22 19:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576080896001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":565061046447603712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576080896001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:26:03] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":565061046447603712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576080896001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":565061046447603712}} 
[2026-08-22 19:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":162599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:26:03] local.INFO: GPS data processed {"connection_id":162599,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:26:03] local.INFO: Acknowledgment sent {"connection_id":162599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:26:05] local.INFO: TCP Data received {"connection_id":162600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:26:05] local.INFO: Processing buffer {"connection_id":162600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:26:05] local.INFO: IMEI packet received {"connection_id":162600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":162600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:26:05] local.INFO: TCP Data received {"connection_id":162600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a029bed398012d7e3c0005d357e80007004a26..."} 
[2026-08-22 19:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bed398012d7e3c0005d357e80007004a26..."} 
[2026-08-22 19:26:05] local.INFO: Processing buffer {"connection_id":162600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bed398012d7e3c0005d357e80007004a26..."} 
[2026-08-22 19:26:05] local.INFO: Packet analysis {"connection_id":162600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029be"} 
[2026-08-22 19:26:05] local.INFO: Extracted packet for processing {"connection_id":162600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029be"} 
[2026-08-22 19:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763247616,"raw_latitude":97736680,"longitude_deg":76.3247616,"latitude_deg":9.773668,"altitude":7,"angle":74,"satellites":38,"speed":6,"hex_longitude":"2d7e3c00","hex_latitude":"05d357e8","is_valid_coordinates":true} 
[2026-08-22 19:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576131072001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388507598520320,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095863897425348608,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:05] 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-22 19:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787406767000,"timestamp_ms":1787406767000,"timestamp_seconds":1787406767,"priority":1,"record_length":96,"hex_timestamp":"000001a029bed398"} 
[2026-08-22 19:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 19:26:05] 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-22 19:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:26:05] 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-22 19:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576131072001,"66":11743,"109":206,"85":15104,"24":6,"16":122388507598520320,"45":9095863897425348608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576131072001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:26:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388507598520320,"km_value":122388507598520.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095863897425348608,"description":"Unknown IO ID 45"} 
[2026-08-22 19:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576131072001,"power":11743,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9095863897425348608}} 
[2026-08-22 19:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":162600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:26:05] local.INFO: GPS data processed {"connection_id":162600,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:26:05] local.INFO: Acknowledgment sent {"connection_id":162600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:26:07] local.INFO: TCP Data received {"connection_id":162599,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029c05a38012d07d7800725eb80001000e126..."} 
[2026-08-22 19:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c05a38012d07d7800725eb80001000e126..."} 
[2026-08-22 19:26:07] local.INFO: Processing buffer {"connection_id":162599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c05a38012d07d7800725eb80001000e126..."} 
[2026-08-22 19:26:07] local.INFO: Packet analysis {"connection_id":162599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c0"} 
[2026-08-22 19:26:07] local.INFO: Extracted packet for processing {"connection_id":162599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c0"} 
[2026-08-22 19:26:07] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576080896001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565061046447603712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:07] 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-22 19:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787406867000,"timestamp_ms":1787406867000,"timestamp_seconds":1787406867,"priority":1,"record_length":96,"hex_timestamp":"000001a029c05a38"} 
[2026-08-22 19:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:26:07] 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-22 19:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 19:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 19:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:26:07] 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-22 19:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576080896001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":565061046447603712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576080896001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:26:07] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":565061046447603712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576080896001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":565061046447603712}} 
[2026-08-22 19:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":162599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:26:07] local.INFO: GPS data processed {"connection_id":162599,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:26:07] local.INFO: Acknowledgment sent {"connection_id":162599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:26:25] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:26:25] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:26:25] local.INFO: Packet analysis {"connection_id":160003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:26:25] local.INFO: Extracted packet for processing {"connection_id":160003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:26:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 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-22 19:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576032000001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26: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-22 19:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787406676000,"timestamp_ms":1787406676000,"timestamp_seconds":1787406676,"priority":1,"record_length":96,"hex_timestamp":"000001a029bd7020"} 
[2026-08-22 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-22 19: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-22 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 19:26:25] 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-22 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-22 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-22 19:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:26: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-22 19:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576032000001,"66":25919,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576032000001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:26:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:26:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576032000001,"power":25919,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":160003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:26:25] local.INFO: GPS data processed {"connection_id":160003,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:26:25] local.INFO: Acknowledgment sent {"connection_id":160003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:26:36] local.INFO: TCP Data received {"connection_id":162600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a029bed780012d7e3c8005d358080007005726..."} 
[2026-08-22 19:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bed780012d7e3c8005d358080007005726..."} 
[2026-08-22 19:26:36] local.INFO: Processing buffer {"connection_id":162600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bed780012d7e3c8005d358080007005726..."} 
[2026-08-22 19:26:36] local.INFO: Packet analysis {"connection_id":162600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029be"} 
[2026-08-22 19:26:36] local.INFO: Extracted packet for processing {"connection_id":162600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029be"} 
[2026-08-22 19:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763247744,"raw_latitude":97736712,"longitude_deg":76.3247744,"latitude_deg":9.7736712,"altitude":7,"angle":87,"satellites":38,"speed":6,"hex_longitude":"2d7e3c80","hex_latitude":"05d35808","is_valid_coordinates":true} 
[2026-08-22 19:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576132352001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388516188454912,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096145372402149376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:36] 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-22 19:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787406768000,"timestamp_ms":1787406768000,"timestamp_seconds":1787406768,"priority":1,"record_length":96,"hex_timestamp":"000001a029bed780"} 
[2026-08-22 19:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-22 19:26:36] 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-22 19:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:26:36] 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-22 19:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576132352001,"66":11852,"109":206,"85":15104,"24":6,"16":122388516188454912,"45":9096145372402149376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576132352001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:26:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388516188454912,"km_value":122388516188454.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096145372402149376,"description":"Unknown IO ID 45"} 
[2026-08-22 19:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576132352001,"power":11852,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9096145372402149376}} 
[2026-08-22 19:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":162600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:26:36] local.INFO: GPS data processed {"connection_id":162600,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:26:36] local.INFO: Acknowledgment sent {"connection_id":162600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:26:48] local.INFO: TCP Data received {"connection_id":160226,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:26:48] local.INFO: Processing buffer {"connection_id":160226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:26:48] local.INFO: IMEI packet received {"connection_id":160226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":160226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:26:52] local.INFO: TCP Data received {"connection_id":160004,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:26:52] local.INFO: Processing buffer {"connection_id":160004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:26:52] local.INFO: IMEI packet received {"connection_id":160004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":160004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:26:53] local.INFO: TCP Data received {"connection_id":160226,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:26:53] local.INFO: Processing buffer {"connection_id":160226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:26:53] local.INFO: IMEI packet received {"connection_id":160226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":160226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:26:54] local.INFO: TCP Data received {"connection_id":160226,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:26:54] local.INFO: Processing buffer {"connection_id":160226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bd7020012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:26:54] local.INFO: Packet analysis {"connection_id":160226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:26:54] local.INFO: Extracted packet for processing {"connection_id":160226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bd"} 
[2026-08-22 19:26:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576032000001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:54] 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-22 19:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787406676000,"timestamp_ms":1787406676000,"timestamp_seconds":1787406676,"priority":1,"record_length":96,"hex_timestamp":"000001a029bd7020"} 
[2026-08-22 19:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 19:26:54] 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-22 19:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:26: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-22 19:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576032000001,"66":25919,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576032000001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:26:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:26:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576032000001,"power":25919,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":160226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:26:54] local.INFO: GPS data processed {"connection_id":160226,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:26:54] local.INFO: Acknowledgment sent {"connection_id":160226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:26:57] local.INFO: TCP Data received {"connection_id":160004,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:26:57] local.INFO: Processing buffer {"connection_id":160004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:26:57] local.INFO: IMEI packet received {"connection_id":160004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":160004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:26:58] local.INFO: TCP Data received {"connection_id":160004,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029c05a38012d07d7800725eb80001000e126..."} 
[2026-08-22 19:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c05a38012d07d7800725eb80001000e126..."} 
[2026-08-22 19:26:58] local.INFO: Processing buffer {"connection_id":160004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c05a38012d07d7800725eb80001000e126..."} 
[2026-08-22 19:26:58] local.INFO: Packet analysis {"connection_id":160004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c0"} 
[2026-08-22 19:26:58] local.INFO: Extracted packet for processing {"connection_id":160004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c0"} 
[2026-08-22 19:26:58] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576080896001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565061046447603712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:26:58] 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-22 19:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787406867000,"timestamp_ms":1787406867000,"timestamp_seconds":1787406867,"priority":1,"record_length":96,"hex_timestamp":"000001a029c05a38"} 
[2026-08-22 19: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-22 19:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 19:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:26:58] 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-22 19:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576080896001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":565061046447603712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576080896001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:26:58] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":565061046447603712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576080896001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":565061046447603712}} 
[2026-08-22 19:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":160004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:26:58] local.INFO: GPS data processed {"connection_id":160004,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:26:58] local.INFO: Acknowledgment sent {"connection_id":160004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:27:00] local.INFO: TCP Data received {"connection_id":162601,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:27:00] local.INFO: Processing buffer {"connection_id":162601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:27:00] local.INFO: IMEI packet received {"connection_id":162601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":162601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:27:05] local.INFO: TCP Data received {"connection_id":162601,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:27:05] local.INFO: Processing buffer {"connection_id":162601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:27:05] local.INFO: IMEI packet received {"connection_id":162601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":162601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:27:05] local.INFO: TCP Data received {"connection_id":162601,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a029bf0660012d7e3bc005d357e80007005725..."} 
[2026-08-22 19:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bf0660012d7e3bc005d357e80007005725..."} 
[2026-08-22 19:27:05] local.INFO: Processing buffer {"connection_id":162601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bf0660012d7e3bc005d357e80007005725..."} 
[2026-08-22 19:27:05] local.INFO: Packet analysis {"connection_id":162601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bf"} 
[2026-08-22 19:27:05] local.INFO: Extracted packet for processing {"connection_id":162601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bf"} 
[2026-08-22 19:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97736680,"longitude_deg":76.3247552,"latitude_deg":9.773668,"altitude":7,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d357e8","is_valid_coordinates":true} 
[2026-08-22 19:27: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-22 19:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576132608001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096286109890512896,"note":"Value kept but may cause issues"} 
[2026-08-22 19:27:05] 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-22 19:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787406780000,"timestamp_ms":1787406780000,"timestamp_seconds":1787406780,"priority":1,"record_length":96,"hex_timestamp":"000001a029bf0660"} 
[2026-08-22 19:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:27:05] 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-22 19:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-22 19:27:05] 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-22 19:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:27:05] 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-22 19:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576132608001,"66":13135,"109":206,"85":15104,"24":0,"16":122388546253225984,"45":9096286109890512896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576132608001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:27:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096286109890512896,"description":"Unknown IO ID 45"} 
[2026-08-22 19:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576132608001,"power":13135,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096286109890512896}} 
[2026-08-22 19:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":162601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:27:05] local.INFO: GPS data processed {"connection_id":162601,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:27:05] local.INFO: Acknowledgment sent {"connection_id":162601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:27:25] local.INFO: TCP Data received {"connection_id":160226,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:27:25] local.INFO: Processing buffer {"connection_id":160226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:27:25] local.INFO: Packet analysis {"connection_id":160226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:27:25] local.INFO: Extracted packet for processing {"connection_id":160226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:27:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576109056001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:27: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-22 19:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787406977000,"timestamp_ms":1787406977000,"timestamp_seconds":1787406977,"priority":1,"record_length":96,"hex_timestamp":"000001a029c207e8"} 
[2026-08-22 19:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19: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-22 19:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 19:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:27: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-22 19:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576109056001,"66":25778,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576109056001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:27:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:27:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576109056001,"power":25778,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":160226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:27:25] local.INFO: GPS data processed {"connection_id":160226,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:27:25] local.INFO: Acknowledgment sent {"connection_id":160226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:27:29] local.INFO: TCP Data received {"connection_id":160004,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029c22728012d07d7800725eb80001000e125..."} 
[2026-08-22 19:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c22728012d07d7800725eb80001000e125..."} 
[2026-08-22 19:27:29] local.INFO: Processing buffer {"connection_id":160004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c22728012d07d7800725eb80001000e125..."} 
[2026-08-22 19:27:29] local.INFO: Packet analysis {"connection_id":160004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:27:29] local.INFO: Extracted packet for processing {"connection_id":160004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:27:29] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19:27:29] 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-22 19:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576157952001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565061046447603712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:27:29] 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-22 19:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787406985000,"timestamp_ms":1787406985000,"timestamp_seconds":1787406985,"priority":1,"record_length":96,"hex_timestamp":"000001a029c22728"} 
[2026-08-22 19: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-22 19:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 19:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 19: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-22 19: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-22 19:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:27:29] 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-22 19:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576157952001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":565061046447603712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576157952001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:27:29] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:27:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":565061046447603712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576157952001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":565061046447603712}} 
[2026-08-22 19:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":160004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:27:29] local.INFO: GPS data processed {"connection_id":160004,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:27:29] local.INFO: Acknowledgment sent {"connection_id":160004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:27:38] local.INFO: TCP Data received {"connection_id":162601,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a029bf0660012d7e3bc005d357e80007005725..."} 
[2026-08-22 19:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bf0660012d7e3bc005d357e80007005725..."} 
[2026-08-22 19:27:38] local.INFO: Processing buffer {"connection_id":162601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bf0660012d7e3bc005d357e80007005725..."} 
[2026-08-22 19:27:38] local.INFO: Packet analysis {"connection_id":162601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bf"} 
[2026-08-22 19:27:38] local.INFO: Extracted packet for processing {"connection_id":162601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bf"} 
[2026-08-22 19:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97736680,"longitude_deg":76.3247552,"latitude_deg":9.773668,"altitude":7,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d357e8","is_valid_coordinates":true} 
[2026-08-22 19:27:38] 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-22 19:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576135680001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003657971712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:27:38] 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-22 19:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787406780000,"timestamp_ms":1787406780000,"timestamp_seconds":1787406780,"priority":1,"record_length":96,"hex_timestamp":"000001a029bf0660"} 
[2026-08-22 19:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:27: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":79,"data_length":795,"current_offset":136} 
[2026-08-22 19:27:38] 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-22 19:27: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-22 19:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":162601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":162601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":162601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:27:38] 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-22 19:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576135680001,"66":13135,"109":206,"85":15104,"24":0,"16":122388546253225984,"45":9096075003657971712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576135680001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:27:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:27:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003657971712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576135680001,"power":13135,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003657971712}} 
[2026-08-22 19:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":162601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:27:38] local.INFO: GPS data processed {"connection_id":162601,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:27:38] local.INFO: Acknowledgment sent {"connection_id":162601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:27:53] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:27:53] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:27:53] local.INFO: IMEI packet received {"connection_id":160227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":160227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:27:53] local.INFO: TCP Data received {"connection_id":162602,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:27:53] local.INFO: Processing buffer {"connection_id":162602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:27:53] local.INFO: IMEI packet received {"connection_id":162602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":162602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:27:58] local.INFO: TCP Data received {"connection_id":162602,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:27:58] local.INFO: Processing buffer {"connection_id":162602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:27:58] local.INFO: IMEI packet received {"connection_id":162602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":162602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:27:59] local.INFO: TCP Data received {"connection_id":162602,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:27:59] local.INFO: Processing buffer {"connection_id":162602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:27:59] local.INFO: Packet analysis {"connection_id":162602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:27:59] local.INFO: Extracted packet for processing {"connection_id":162602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576109056001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:27:59] 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-22 19:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787406977000,"timestamp_ms":1787406977000,"timestamp_seconds":1787406977,"priority":1,"record_length":96,"hex_timestamp":"000001a029c207e8"} 
[2026-08-22 19: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-22 19: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-22 19: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 19:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:27: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-22 19:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576109056001,"66":25778,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576109056001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:27:59] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:27:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576109056001,"power":25778,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":162602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:27:59] local.INFO: GPS data processed {"connection_id":162602,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:27:59] local.INFO: Acknowledgment sent {"connection_id":162602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:28:00] local.INFO: TCP Data received {"connection_id":161177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:28:00] local.INFO: Processing buffer {"connection_id":161177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:28:00] local.INFO: IMEI packet received {"connection_id":161177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":161177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:28:04] local.INFO: TCP Data received {"connection_id":162602,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:28:04] local.INFO: Processing buffer {"connection_id":162602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:28:04] local.INFO: Packet analysis {"connection_id":162602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:28:04] local.INFO: Extracted packet for processing {"connection_id":162602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576109056001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:28:04] 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-22 19:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787406977000,"timestamp_ms":1787406977000,"timestamp_seconds":1787406977,"priority":1,"record_length":96,"hex_timestamp":"000001a029c207e8"} 
[2026-08-22 19:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:28: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-22 19:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 19:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:28: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-22 19:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576109056001,"66":25778,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576109056001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:28:04] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:28:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576109056001,"power":25778,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":162602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:28:04] local.INFO: GPS data processed {"connection_id":162602,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:28:04] local.INFO: Acknowledgment sent {"connection_id":162602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:28:05] local.INFO: TCP Data received {"connection_id":161177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:28:05] local.INFO: Processing buffer {"connection_id":161177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:28:05] local.INFO: IMEI packet received {"connection_id":161177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":161177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:28:06] local.INFO: TCP Data received {"connection_id":161177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a029bf0a48012d7e3bc005d357e80007005726..."} 
[2026-08-22 19:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bf0a48012d7e3bc005d357e80007005726..."} 
[2026-08-22 19:28:06] local.INFO: Processing buffer {"connection_id":161177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bf0a48012d7e3bc005d357e80007005726..."} 
[2026-08-22 19:28:06] local.INFO: Packet analysis {"connection_id":161177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bf"} 
[2026-08-22 19:28:06] local.INFO: Extracted packet for processing {"connection_id":161177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bf"} 
[2026-08-22 19:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97736680,"longitude_deg":76.3247552,"latitude_deg":9.773668,"altitude":7,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d357e8","is_valid_coordinates":true} 
[2026-08-22 19:28:06] 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-22 19:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576135680001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003657971712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:28:06] 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-22 19:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787406781000,"timestamp_ms":1787406781000,"timestamp_seconds":1787406781,"priority":1,"record_length":96,"hex_timestamp":"000001a029bf0a48"} 
[2026-08-22 19: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-22 19:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-22 19:28:06] 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-22 19: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-22 19: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-22 19:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:28:06] 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-22 19:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576135680001,"66":13363,"109":206,"85":15104,"24":0,"16":122388546253225984,"45":9096075003657971712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576135680001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:28:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003657971712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576135680001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003657971712}} 
[2026-08-22 19:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":161177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:28:06] local.INFO: GPS data processed {"connection_id":161177,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:28:06] local.INFO: Acknowledgment sent {"connection_id":161177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:28:07] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:28:07] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:28:07] local.INFO: IMEI packet received {"connection_id":160227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":160227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:28:08] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029c22728012d07d7800725eb80001000e125..."} 
[2026-08-22 19:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c22728012d07d7800725eb80001000e125..."} 
[2026-08-22 19:28:08] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c22728012d07d7800725eb80001000e125..."} 
[2026-08-22 19:28:08] local.INFO: Packet analysis {"connection_id":160227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:28:08] local.INFO: Extracted packet for processing {"connection_id":160227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:28:08] local.INFO: GPS Element Parsed {"raw_longitude":755488640,"raw_latitude":119925632,"longitude_deg":75.548864,"latitude_deg":11.9925632,"altitude":16,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d07d780","hex_latitude":"0725eb80","is_valid_coordinates":true} 
[2026-08-22 19:28:08] 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-22 19:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576188160001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14883053818085376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565061046447603712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:28:08] 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-22 19:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787406985000,"timestamp_ms":1787406985000,"timestamp_seconds":1787406985,"priority":1,"record_length":96,"hex_timestamp":"000001a029c22728"} 
[2026-08-22 19:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 19:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 19:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:28:08] 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-22 19:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576188160001,"66":2166,"25":206,"83":44288,"24":0,"16":14883053818085376,"45":565061046447603712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-22 19:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576188160001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:28:08] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-22 19:28:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14883053818085376,"km_value":14883053818085.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":565061046447603712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576188160001,"power":2166,"unknown_25":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":565061046447603712}} 
[2026-08-22 19:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":160227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:28:08] local.INFO: GPS data processed {"connection_id":160227,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:28:08] local.INFO: Acknowledgment sent {"connection_id":160227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:28:36] local.INFO: TCP Data received {"connection_id":161177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a029bf0e30012d7e3bc005d357e80007005727..."} 
[2026-08-22 19:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029bf0e30012d7e3bc005d357e80007005727..."} 
[2026-08-22 19:28:36] local.INFO: Processing buffer {"connection_id":161177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029bf0e30012d7e3bc005d357e80007005727..."} 
[2026-08-22 19:28:36] local.INFO: Packet analysis {"connection_id":161177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029bf"} 
[2026-08-22 19:28:36] local.INFO: Extracted packet for processing {"connection_id":161177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029bf"} 
[2026-08-22 19:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97736680,"longitude_deg":76.3247552,"latitude_deg":9.773668,"altitude":7,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d357e8","is_valid_coordinates":true} 
[2026-08-22 19:28:36] 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-22 19:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576135936001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003657971712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:28:36] 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-22 19:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787406782000,"timestamp_ms":1787406782000,"timestamp_seconds":1787406782,"priority":1,"record_length":96,"hex_timestamp":"000001a029bf0e30"} 
[2026-08-22 19: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-22 19:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-22 19:28:36] 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-22 19: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-22 19: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-22 19:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:28:36] 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-22 19:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576135936001,"66":13363,"109":206,"85":15104,"24":0,"16":122388546253225984,"45":9096075003657971712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576135936001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:28:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003657971712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576135936001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003657971712}} 
[2026-08-22 19:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":161177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:28:36] local.INFO: GPS data processed {"connection_id":161177,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:28:36] local.INFO: Acknowledgment sent {"connection_id":161177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:28:48] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:28:48] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:28:48] local.INFO: IMEI packet received {"connection_id":160228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":160228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:28:53] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:28:53] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:28:53] local.INFO: IMEI packet received {"connection_id":160228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":160228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:28:54] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:28:54] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:28:54] local.INFO: Packet analysis {"connection_id":160228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:28:54] local.INFO: Extracted packet for processing {"connection_id":160228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576109056001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:28:54] 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-22 19:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787406977000,"timestamp_ms":1787406977000,"timestamp_seconds":1787406977,"priority":1,"record_length":96,"hex_timestamp":"000001a029c207e8"} 
[2026-08-22 19:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 19:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:28:54] 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-22 19:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576109056001,"66":25778,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576109056001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:28:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:28:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576109056001,"power":25778,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":160228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:28:54] local.INFO: GPS data processed {"connection_id":160228,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:28:54] local.INFO: Acknowledgment sent {"connection_id":160228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:28:55] local.INFO: TCP Data received {"connection_id":161178,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:28:55] local.INFO: Processing buffer {"connection_id":161178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:28:55] local.INFO: IMEI packet received {"connection_id":161178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":161178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:28:56] local.INFO: TCP Data received {"connection_id":161178,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:28:56] local.INFO: Processing buffer {"connection_id":161178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:28:56] local.INFO: IMEI packet received {"connection_id":161178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":161178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:28:57] local.INFO: TCP Data received {"connection_id":161178,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:28:57] local.INFO: Processing buffer {"connection_id":161178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:28:57] local.INFO: IMEI packet received {"connection_id":161178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":161178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:28:58] local.INFO: TCP Data received {"connection_id":161178,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:28:58] local.INFO: Processing buffer {"connection_id":161178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:28:58] local.INFO: IMEI packet received {"connection_id":161178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":161178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:29:00] local.INFO: TCP Data received {"connection_id":162603,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:29:00] local.INFO: Processing buffer {"connection_id":162603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:29:00] local.INFO: IMEI packet received {"connection_id":162603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":162603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:29:05] local.INFO: TCP Data received {"connection_id":162603,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:29:05] local.INFO: Processing buffer {"connection_id":162603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:29:05] local.INFO: IMEI packet received {"connection_id":162603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":162603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:29:05] local.INFO: TCP Data received {"connection_id":162603,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a029c3a5f8012d7e3a8005d35830000700572c..."} 
[2026-08-22 19:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c3a5f8012d7e3a8005d35830000700572c..."} 
[2026-08-22 19:29:05] local.INFO: Processing buffer {"connection_id":162603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c3a5f8012d7e3a8005d35830000700572c..."} 
[2026-08-22 19:29:05] local.INFO: Packet analysis {"connection_id":162603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c3"} 
[2026-08-22 19:29:05] local.INFO: Extracted packet for processing {"connection_id":162603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c3"} 
[2026-08-22 19:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":44,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576136192001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003657971712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:29:05] 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-22 19:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787407083000,"timestamp_ms":1787407083000,"timestamp_seconds":1787407083,"priority":1,"record_length":96,"hex_timestamp":"000001a029c3a5f8"} 
[2026-08-22 19: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-22 19:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-22 19:29: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-22 19: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-22 19: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-22 19:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:29:05] 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-22 19:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576136192001,"66":2209,"109":206,"85":15104,"24":0,"16":122388546253225984,"45":9096075003657971712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576136192001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:29:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:29:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003657971712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576136192001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003657971712}} 
[2026-08-22 19:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":162603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:29:05] local.INFO: GPS data processed {"connection_id":162603,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:29:05] local.INFO: Acknowledgment sent {"connection_id":162603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:29:26] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:29:26] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:29:26] local.INFO: Packet analysis {"connection_id":160228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:29:26] local.INFO: Extracted packet for processing {"connection_id":160228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:29:26] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576109056001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:29: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-22 19:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787406977000,"timestamp_ms":1787406977000,"timestamp_seconds":1787406977,"priority":1,"record_length":96,"hex_timestamp":"000001a029c207e8"} 
[2026-08-22 19:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19: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-22 19:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 19:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:29: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-22 19:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576109056001,"66":25778,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576109056001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:29:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:29:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576109056001,"power":25778,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":160228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:29:26] local.INFO: GPS data processed {"connection_id":160228,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:29:26] local.INFO: Acknowledgment sent {"connection_id":160228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:29:39] local.INFO: TCP Data received {"connection_id":162603,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:29:39] local.INFO: Processing buffer {"connection_id":162603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:29:39] local.INFO: Packet analysis {"connection_id":162603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c4"} 
[2026-08-22 19:29:39] local.INFO: Extracted packet for processing {"connection_id":162603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c4"} 
[2026-08-22 19:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:29: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-22 19:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576213248001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:29: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-22 19:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787407125000,"timestamp_ms":1787407125000,"timestamp_seconds":1787407125,"priority":1,"record_length":96,"hex_timestamp":"000001a029c44a08"} 
[2026-08-22 19: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-22 19:29: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-22 19: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-22 19:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:29:39] 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-22 19:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576213248001,"66":2220,"109":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576213248001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:29:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576213248001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":162603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:29:39] local.INFO: GPS data processed {"connection_id":162603,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:29:39] local.INFO: Acknowledgment sent {"connection_id":162603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:29:48] local.INFO: TCP Data received {"connection_id":161179,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:29:48] local.INFO: Processing buffer {"connection_id":161179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:29:48] local.INFO: IMEI packet received {"connection_id":161179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":161179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:29:53] local.INFO: TCP Data received {"connection_id":161179,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:29:53] local.INFO: Processing buffer {"connection_id":161179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:29:53] local.INFO: IMEI packet received {"connection_id":161179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":161179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:29:54] local.INFO: TCP Data received {"connection_id":161179,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:29:54] local.INFO: Processing buffer {"connection_id":161179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:29:54] local.INFO: Packet analysis {"connection_id":161179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:29:54] local.INFO: Extracted packet for processing {"connection_id":161179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576109056001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:29:54] 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-22 19:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787406977000,"timestamp_ms":1787406977000,"timestamp_seconds":1787406977,"priority":1,"record_length":96,"hex_timestamp":"000001a029c207e8"} 
[2026-08-22 19: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-22 19:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 19:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:29:54] 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-22 19:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576109056001,"66":25778,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576109056001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:29:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:29:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576109056001,"power":25778,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":161179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:29:54] local.INFO: GPS data processed {"connection_id":161179,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:29:54] local.INFO: Acknowledgment sent {"connection_id":161179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:30:00] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:30:00] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:30:00] local.INFO: IMEI packet received {"connection_id":160230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":160230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:30:05] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:30:05] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:30:05] local.INFO: IMEI packet received {"connection_id":160230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":160230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:30:06] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:30:06] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:30:06] local.INFO: Packet analysis {"connection_id":160230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c4"} 
[2026-08-22 19:30:06] local.INFO: Extracted packet for processing {"connection_id":160230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c4"} 
[2026-08-22 19:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:30:06] 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-22 19:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576224000001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:30:06] 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-22 19:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787407125000,"timestamp_ms":1787407125000,"timestamp_seconds":1787407125,"priority":1,"record_length":96,"hex_timestamp":"000001a029c44a08"} 
[2026-08-22 19:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 19:30:06] 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-22 19:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:30:06] 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-22 19:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576224000001,"66":2220,"109":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576224000001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:30:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576224000001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":160230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:30:06] local.INFO: GPS data processed {"connection_id":160230,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:30:06] local.INFO: Acknowledgment sent {"connection_id":160230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:30:25] local.INFO: TCP Data received {"connection_id":161179,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:30:25] local.INFO: Processing buffer {"connection_id":161179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:30:25] local.INFO: Packet analysis {"connection_id":161179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:30:25] local.INFO: Extracted packet for processing {"connection_id":161179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576109056001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:30: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-22 19:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787406977000,"timestamp_ms":1787406977000,"timestamp_seconds":1787406977,"priority":1,"record_length":96,"hex_timestamp":"000001a029c207e8"} 
[2026-08-22 19: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-22 19: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-22 19: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 19:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:30: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-22 19:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576109056001,"66":25778,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576109056001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:30:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576109056001,"power":25778,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":161179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:30:25] local.INFO: GPS data processed {"connection_id":161179,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:30:25] local.INFO: Acknowledgment sent {"connection_id":161179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:30:37] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:30:37] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:30:37] local.INFO: Packet analysis {"connection_id":160230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c4"} 
[2026-08-22 19:30:37] local.INFO: Extracted packet for processing {"connection_id":160230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c4"} 
[2026-08-22 19:30:37] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:30:37] 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-22 19:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576224000001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:30:37] 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-22 19:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787407125000,"timestamp_ms":1787407125000,"timestamp_seconds":1787407125,"priority":1,"record_length":96,"hex_timestamp":"000001a029c44a08"} 
[2026-08-22 19:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 19:30:37] 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-22 19:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:30:37] 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-22 19:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576224000001,"66":2220,"109":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 19:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576224000001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:30:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:30:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576224000001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":160230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:30:37] local.INFO: GPS data processed {"connection_id":160230,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:30:37] local.INFO: Acknowledgment sent {"connection_id":160230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:30:48] local.INFO: TCP Data received {"connection_id":162604,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:30:48] local.INFO: Processing buffer {"connection_id":162604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:30:48] local.INFO: IMEI packet received {"connection_id":162604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":162604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:30:53] local.INFO: TCP Data received {"connection_id":162604,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:30:53] local.INFO: Processing buffer {"connection_id":162604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:30:53] local.INFO: IMEI packet received {"connection_id":162604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":162604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:30:54] local.INFO: TCP Data received {"connection_id":162604,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:30:54] local.INFO: Processing buffer {"connection_id":162604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:30:54] local.INFO: Packet analysis {"connection_id":162604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:30:54] local.INFO: Extracted packet for processing {"connection_id":162604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576109056001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:30:54] 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-22 19:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787406977000,"timestamp_ms":1787406977000,"timestamp_seconds":1787406977,"priority":1,"record_length":96,"hex_timestamp":"000001a029c207e8"} 
[2026-08-22 19:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 19:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:30:54] 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-22 19:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576109056001,"66":25778,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576109056001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:30:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:30:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576109056001,"power":25778,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":162604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:30:54] local.INFO: GPS data processed {"connection_id":162604,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:30:54] local.INFO: Acknowledgment sent {"connection_id":162604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:31:05] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:31:05] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:31:05] local.INFO: IMEI packet received {"connection_id":160005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":160005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:31:10] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:31:10] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:31:10] local.INFO: IMEI packet received {"connection_id":160005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":160005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:31:13] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:31:13] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:31:13] local.INFO: Packet analysis {"connection_id":160005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c4"} 
[2026-08-22 19:31:13] local.INFO: Extracted packet for processing {"connection_id":160005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c4"} 
[2026-08-22 19:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:31: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-22 19:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576224000001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19: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-22 19:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787407125000,"timestamp_ms":1787407125000,"timestamp_seconds":1787407125,"priority":1,"record_length":96,"hex_timestamp":"000001a029c44a08"} 
[2026-08-22 19: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-22 19:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 19:31:13] 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-22 19:31: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-22 19: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-22 19:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:31:13] 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-22 19:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576224000001,"66":2220,"109":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"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-22 19:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576224000001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:31:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576224000001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":160005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:31:13] local.INFO: GPS data processed {"connection_id":160005,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:31:13] local.INFO: Acknowledgment sent {"connection_id":160005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:31:18] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:31:18] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:31:18] local.INFO: Packet analysis {"connection_id":160005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c4"} 
[2026-08-22 19:31:18] local.INFO: Extracted packet for processing {"connection_id":160005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c4"} 
[2026-08-22 19:31:18] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:31:18] 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-22 19:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576224000001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:31: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-22 19:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787407125000,"timestamp_ms":1787407125000,"timestamp_seconds":1787407125,"priority":1,"record_length":96,"hex_timestamp":"000001a029c44a08"} 
[2026-08-22 19: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-22 19:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 19:31:18] 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-22 19: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-22 19: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-22 19:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:31:18] 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-22 19:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576224000001,"66":2220,"109":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"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-22 19:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576224000001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:31:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:31:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576224000001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":160005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:31:18] local.INFO: GPS data processed {"connection_id":160005,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:31:18] local.INFO: Acknowledgment sent {"connection_id":160005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:31:25] local.INFO: TCP Data received {"connection_id":162604,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:31:25] local.INFO: Processing buffer {"connection_id":162604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:31:25] local.INFO: Packet analysis {"connection_id":162604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:31:25] local.INFO: Extracted packet for processing {"connection_id":162604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 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-22 19:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576109056001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:31: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-22 19:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787406977000,"timestamp_ms":1787406977000,"timestamp_seconds":1787406977,"priority":1,"record_length":96,"hex_timestamp":"000001a029c207e8"} 
[2026-08-22 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-22 19: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-22 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 19:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 19:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19: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-22 19:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576109056001,"66":25778,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576109056001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:31:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576109056001,"power":25778,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":162604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:31:25] local.INFO: GPS data processed {"connection_id":162604,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:31:25] local.INFO: Acknowledgment sent {"connection_id":162604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:31:48] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:31:48] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:31:48] local.INFO: IMEI packet received {"connection_id":160006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":160006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:31:53] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:31:53] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:31:53] local.INFO: IMEI packet received {"connection_id":160006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":160006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:31:54] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:31:54] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c207e8012d7fe9c005c58f80000800cf2c..."} 
[2026-08-22 19:31:54] local.INFO: Packet analysis {"connection_id":160006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:31:54] local.INFO: Extracted packet for processing {"connection_id":160006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c2"} 
[2026-08-22 19:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576109056001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:31:54] 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-22 19:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787406977000,"timestamp_ms":1787406977000,"timestamp_seconds":1787406977,"priority":1,"record_length":96,"hex_timestamp":"000001a029c207e8"} 
[2026-08-22 19:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-22 19:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:31:54] 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-22 19:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576109056001,"66":25778,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576109056001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:31:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:31:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576109056001,"power":25778,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":160006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:31:54] local.INFO: GPS data processed {"connection_id":160006,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:31:54] local.INFO: Acknowledgment sent {"connection_id":160006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:32:25] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:32:25] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:32:25] local.INFO: Packet analysis {"connection_id":160006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:32:25] local.INFO: Extracted packet for processing {"connection_id":160006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:32:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576186112001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:32: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-22 19:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787407278000,"timestamp_ms":1787407278000,"timestamp_seconds":1787407278,"priority":1,"record_length":96,"hex_timestamp":"000001a029c69fb0"} 
[2026-08-22 19: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-22 19:32: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-22 19: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 19:32: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-22 19: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-22 19: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-22 19:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19: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-22 19:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576186112001,"66":25897,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576186112001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:32:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:32:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576186112001,"power":25897,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":160006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:32:25] local.INFO: GPS data processed {"connection_id":160006,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:32:25] local.INFO: Acknowledgment sent {"connection_id":160006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:32:38] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:32:38] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:32:38] local.INFO: IMEI packet received {"connection_id":160007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":160007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:32:38] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:32:38] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:32:38] local.INFO: IMEI packet received {"connection_id":160007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":160007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:32:40] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:32:40] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c44a08012d7e3a8005d35830000700572b..."} 
[2026-08-22 19:32:40] local.INFO: Packet analysis {"connection_id":160007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c4"} 
[2026-08-22 19:32:40] local.INFO: Extracted packet for processing {"connection_id":160007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c4"} 
[2026-08-22 19:32:40] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:32:40] 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-22 19:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576224000001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:32: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-22 19:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787407125000,"timestamp_ms":1787407125000,"timestamp_seconds":1787407125,"priority":1,"record_length":96,"hex_timestamp":"000001a029c44a08"} 
[2026-08-22 19:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 19:32:40] 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-22 19:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:32: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-22 19:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576224000001,"66":2220,"109":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"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-22 19:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576224000001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:32:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 19:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576224000001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":160007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:32:40] local.INFO: GPS data processed {"connection_id":160007,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:32:40] local.INFO: Acknowledgment sent {"connection_id":160007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:32:56] local.INFO: TCP Data received {"connection_id":162606,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:32:56] local.INFO: Processing buffer {"connection_id":162606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:32:56] local.INFO: IMEI packet received {"connection_id":162606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":162606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:32:58] local.INFO: TCP Data received {"connection_id":162606,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:32:58] local.INFO: Processing buffer {"connection_id":162606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:32:58] local.INFO: IMEI packet received {"connection_id":162606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":162606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:32:59] local.INFO: TCP Data received {"connection_id":162606,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:32:59] local.INFO: Processing buffer {"connection_id":162606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:32:59] local.INFO: Packet analysis {"connection_id":162606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:32:59] local.INFO: Extracted packet for processing {"connection_id":162606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:32:59] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576186112001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:32:59] 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-22 19:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787407278000,"timestamp_ms":1787407278000,"timestamp_seconds":1787407278,"priority":1,"record_length":96,"hex_timestamp":"000001a029c69fb0"} 
[2026-08-22 19: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-22 19:32: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-22 19: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":178,"data_length":795,"current_offset":136} 
[2026-08-22 19:32: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-22 19: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-22 19: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-22 19:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:32: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-22 19:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576186112001,"66":25897,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576186112001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:32:59] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:32:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576186112001,"power":25897,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":162606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:32:59] local.INFO: GPS data processed {"connection_id":162606,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:32:59] local.INFO: Acknowledgment sent {"connection_id":162606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:33:04] local.INFO: TCP Data received {"connection_id":162606,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:33:04] local.INFO: Processing buffer {"connection_id":162606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:33:04] local.INFO: Packet analysis {"connection_id":162606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:33:04] local.INFO: Extracted packet for processing {"connection_id":162606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576186112001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:33:04] 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-22 19:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787407278000,"timestamp_ms":1787407278000,"timestamp_seconds":1787407278,"priority":1,"record_length":96,"hex_timestamp":"000001a029c69fb0"} 
[2026-08-22 19: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-22 19: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-22 19: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":178,"data_length":795,"current_offset":136} 
[2026-08-22 19:33:04] 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-22 19: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-22 19: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-22 19:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:33: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-22 19:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576186112001,"66":25897,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576186112001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:33:04] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576186112001,"power":25897,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":162606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:33:04] local.INFO: GPS data processed {"connection_id":162606,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:33:04] local.INFO: Acknowledgment sent {"connection_id":162606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:33:48] local.INFO: TCP Data received {"connection_id":161181,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:33:48] local.INFO: Processing buffer {"connection_id":161181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:33:48] local.INFO: IMEI packet received {"connection_id":161181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":161181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:33:53] local.INFO: TCP Data received {"connection_id":161181,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:33:53] local.INFO: Processing buffer {"connection_id":161181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:33:53] local.INFO: IMEI packet received {"connection_id":161181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":161181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:33:54] local.INFO: TCP Data received {"connection_id":161181,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:33:54] local.INFO: Processing buffer {"connection_id":161181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:33:54] local.INFO: Packet analysis {"connection_id":161181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:33:54] local.INFO: Extracted packet for processing {"connection_id":161181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576186112001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:33:54] 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-22 19:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787407278000,"timestamp_ms":1787407278000,"timestamp_seconds":1787407278,"priority":1,"record_length":96,"hex_timestamp":"000001a029c69fb0"} 
[2026-08-22 19:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 19:33:54] 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-22 19:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:33:54] 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-22 19:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576186112001,"66":25897,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576186112001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:33:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:33:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576186112001,"power":25897,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":161181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:33:54] local.INFO: GPS data processed {"connection_id":161181,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:33:54] local.INFO: Acknowledgment sent {"connection_id":161181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:33:59] local.INFO: TCP Data received {"connection_id":161182,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:33:59] local.INFO: Processing buffer {"connection_id":161182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:33:59] local.INFO: IMEI packet received {"connection_id":161182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":161182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:34:00] local.INFO: TCP Data received {"connection_id":161182,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029c860e8012d0936c0072469400018008f27..."} 
[2026-08-22 19:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c860e8012d0936c0072469400018008f27..."} 
[2026-08-22 19:34:00] local.INFO: Processing buffer {"connection_id":161182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c860e8012d0936c0072469400018008f27..."} 
[2026-08-22 19:34:00] local.INFO: Packet analysis {"connection_id":161182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c8"} 
[2026-08-22 19:34:00] local.INFO: Extracted packet for processing {"connection_id":161182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c8"} 
[2026-08-22 19:34:00] local.INFO: GPS Element Parsed {"raw_longitude":755578560,"raw_latitude":119826752,"longitude_deg":75.557856,"latitude_deg":11.9826752,"altitude":24,"angle":143,"satellites":39,"speed":38,"hex_longitude":"2d0936c0","hex_latitude":"07246940","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576291328001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14891772601696256,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":660410694783944704,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787407393000,"timestamp_ms":1787407393000,"timestamp_seconds":1787407393,"priority":1,"record_length":96,"hex_timestamp":"000001a029c860e8"} 
[2026-08-22 19: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-22 19:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-22 19:34:00] 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-22 19: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-22 19: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-22 19:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:34:00] 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-22 19:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576291328001,"66":13450,"232":206,"83":44288,"24":38,"16":14891772601696256,"45":660410694783944704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-08-22 19:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576291328001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:34:00] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-22 19:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14891772601696256,"km_value":14891772601696.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":660410694783944704,"description":"Unknown IO ID 45"} 
[2026-08-22 19:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576291328001,"power":13450,"unknown_232":206,"unknown_83":44288,"ignition":38,"odometer":null,"unknown_45":660410694783944704}} 
[2026-08-22 19:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":161182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:34:00] local.INFO: GPS data processed {"connection_id":161182,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:34:00] local.INFO: Acknowledgment sent {"connection_id":161182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:34:25] local.INFO: TCP Data received {"connection_id":161181,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:34:25] local.INFO: Processing buffer {"connection_id":161181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:34:25] local.INFO: Packet analysis {"connection_id":161181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:34:25] local.INFO: Extracted packet for processing {"connection_id":161181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:34:25] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576186112001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34: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-22 19:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787407278000,"timestamp_ms":1787407278000,"timestamp_seconds":1787407278,"priority":1,"record_length":96,"hex_timestamp":"000001a029c69fb0"} 
[2026-08-22 19: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-22 19: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-22 19: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 19:34: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-22 19: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-22 19: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-22 19:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:34: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-22 19:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576186112001,"66":25897,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576186112001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:34:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:34:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576186112001,"power":25897,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":161181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:34:25] local.INFO: GPS data processed {"connection_id":161181,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:34:25] local.INFO: Acknowledgment sent {"connection_id":161181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:34:31] local.INFO: TCP Data received {"connection_id":161182,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029c8d230012d09860007245e780013005422..."} 
[2026-08-22 19:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c8d230012d09860007245e780013005422..."} 
[2026-08-22 19:34:31] local.INFO: Processing buffer {"connection_id":161182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c8d230012d09860007245e780013005422..."} 
[2026-08-22 19:34:31] local.INFO: Packet analysis {"connection_id":161182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c8"} 
[2026-08-22 19:34:31] local.INFO: Extracted packet for processing {"connection_id":161182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c8"} 
[2026-08-22 19:34:31] local.INFO: GPS Element Parsed {"raw_longitude":755598848,"raw_latitude":119823992,"longitude_deg":75.5598848,"latitude_deg":11.9823992,"altitude":19,"angle":84,"satellites":34,"speed":33,"hex_longitude":"2d098600","hex_latitude":"07245e78","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576299776001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14893026732146688,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":685180492732841984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787407422000,"timestamp_ms":1787407422000,"timestamp_seconds":1787407422,"priority":1,"record_length":96,"hex_timestamp":"000001a029c8d230"} 
[2026-08-22 19: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-22 19:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 19:34:31] 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-22 19: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-22 19: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-22 19:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:34:31] 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-22 19:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576299776001,"66":13493,"232":206,"83":44288,"24":33,"16":14893026732146688,"45":685180492732841984},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-08-22 19:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576299776001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:34:31] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-22 19:34:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 19:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14893026732146688,"km_value":14893026732146.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":685180492732841984,"description":"Unknown IO ID 45"} 
[2026-08-22 19:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576299776001,"power":13493,"unknown_232":206,"unknown_83":44288,"ignition":33,"odometer":null,"unknown_45":685180492732841984}} 
[2026-08-22 19:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":161182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:34:31] local.INFO: GPS data processed {"connection_id":161182,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:34:31] local.INFO: Acknowledgment sent {"connection_id":161182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:34:50] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:34:50] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:34:50] local.INFO: IMEI packet received {"connection_id":160008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":160008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:34:52] local.INFO: TCP Data received {"connection_id":162608,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:34:52] local.INFO: Processing buffer {"connection_id":162608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:34:52] local.INFO: IMEI packet received {"connection_id":162608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":162608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:34:52] local.INFO: TCP Data received {"connection_id":162608,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:34:52] local.INFO: Processing buffer {"connection_id":162608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:34:52] local.INFO: IMEI packet received {"connection_id":162608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":162608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:34:54] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:34:54] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:34:54] local.INFO: IMEI packet received {"connection_id":160008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":160008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:34:54] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:34:54] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:34:54] local.INFO: Packet analysis {"connection_id":160008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:34:54] local.INFO: Extracted packet for processing {"connection_id":160008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576186112001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:54] 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-22 19:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787407278000,"timestamp_ms":1787407278000,"timestamp_seconds":1787407278,"priority":1,"record_length":96,"hex_timestamp":"000001a029c69fb0"} 
[2026-08-22 19:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 19:34:54] 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-22 19:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:34:54] 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-22 19:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576186112001,"66":25897,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576186112001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:34:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:34:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576186112001,"power":25897,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":160008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:34:54] local.INFO: GPS data processed {"connection_id":160008,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:34:54] local.INFO: Acknowledgment sent {"connection_id":160008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:34:57] local.INFO: TCP Data received {"connection_id":162608,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:34:57] local.INFO: Processing buffer {"connection_id":162608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:34:57] local.INFO: IMEI packet received {"connection_id":162608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":162608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:34:58] local.INFO: TCP Data received {"connection_id":162608,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029c8da00012d098c8007245ff00015004424..."} 
[2026-08-22 19:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c8da00012d098c8007245ff00015004424..."} 
[2026-08-22 19:34:58] local.INFO: Processing buffer {"connection_id":162608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c8da00012d098c8007245ff00015004424..."} 
[2026-08-22 19:34:58] local.INFO: Packet analysis {"connection_id":162608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c8"} 
[2026-08-22 19:34:58] local.INFO: Extracted packet for processing {"connection_id":162608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c8"} 
[2026-08-22 19:34:58] local.INFO: GPS Element Parsed {"raw_longitude":755600512,"raw_latitude":119824368,"longitude_deg":75.5600512,"latitude_deg":11.9824368,"altitude":21,"angle":68,"satellites":36,"speed":34,"hex_longitude":"2d098c80","hex_latitude":"07245ff0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576300032001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14893108336525312,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":686236023895521280,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:58] 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-22 19:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787407424000,"timestamp_ms":1787407424000,"timestamp_seconds":1787407424,"priority":1,"record_length":96,"hex_timestamp":"000001a029c8da00"} 
[2026-08-22 19:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 19:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:34:58] 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-22 19:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576300032001,"66":13515,"117":206,"83":41984,"24":34,"16":14893108336525312,"45":686236023895521280},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 19:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576300032001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:34:58] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 19:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 19:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14893108336525312,"km_value":14893108336525.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":686236023895521280,"description":"Unknown IO ID 45"} 
[2026-08-22 19:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576300032001,"power":13515,"unknown_117":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":686236023895521280}} 
[2026-08-22 19:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":162608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:34:58] local.INFO: GPS data processed {"connection_id":162608,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:34:58] local.INFO: Acknowledgment sent {"connection_id":162608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:34:59] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:34:59] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:34:59] local.INFO: Packet analysis {"connection_id":160008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:34:59] local.INFO: Extracted packet for processing {"connection_id":160008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:34:59] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576186112001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:34:59] 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-22 19:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787407278000,"timestamp_ms":1787407278000,"timestamp_seconds":1787407278,"priority":1,"record_length":96,"hex_timestamp":"000001a029c69fb0"} 
[2026-08-22 19: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-22 19: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-22 19: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":178,"data_length":795,"current_offset":136} 
[2026-08-22 19:34: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-22 19: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-22 19: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-22 19:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:34: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-22 19:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576186112001,"66":25897,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576186112001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:34:59] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:34:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576186112001,"power":25897,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":160008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:34:59] local.INFO: GPS data processed {"connection_id":160008,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:34:59] local.INFO: Acknowledgment sent {"connection_id":160008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:35:29] local.INFO: TCP Data received {"connection_id":162608,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029c8e9a0012d0997c0072465200016003823..."} 
[2026-08-22 19:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c8e9a0012d0997c0072465200016003823..."} 
[2026-08-22 19:35:29] local.INFO: Processing buffer {"connection_id":162608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c8e9a0012d0997c0072465200016003823..."} 
[2026-08-22 19:35:29] local.INFO: Packet analysis {"connection_id":162608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c8"} 
[2026-08-22 19:35:29] local.INFO: Extracted packet for processing {"connection_id":162608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c8"} 
[2026-08-22 19:35:29] local.INFO: GPS Element Parsed {"raw_longitude":755603392,"raw_latitude":119825696,"longitude_deg":75.5603392,"latitude_deg":11.9825696,"altitude":22,"angle":56,"satellites":35,"speed":35,"hex_longitude":"2d0997c0","hex_latitude":"07246520","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576300544001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14893258660380672,"note":"Value kept but may cause issues"} 
[2026-08-22 19:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":688065611244236800,"note":"Value kept but may cause issues"} 
[2026-08-22 19:35:29] 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-22 19:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787407428000,"timestamp_ms":1787407428000,"timestamp_seconds":1787407428,"priority":1,"record_length":96,"hex_timestamp":"000001a029c8e9a0"} 
[2026-08-22 19:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:35: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-22 19:35:29] 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-22 19:35: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-22 19:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:35:29] 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-22 19:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576300544001,"66":13493,"117":206,"83":41984,"24":35,"16":14893258660380672,"45":688065611244236800},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 19:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576300544001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:35:29] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 19:35:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 19:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14893258660380672,"km_value":14893258660380.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":688065611244236800,"description":"Unknown IO ID 45"} 
[2026-08-22 19:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576300544001,"power":13493,"unknown_117":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":688065611244236800}} 
[2026-08-22 19:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":162608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:35:29] local.INFO: GPS data processed {"connection_id":162608,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:35:29] local.INFO: Acknowledgment sent {"connection_id":162608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:35:30] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:35:30] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:35:30] local.INFO: Packet analysis {"connection_id":160008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:35:30] local.INFO: Extracted packet for processing {"connection_id":160008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:35:30] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576186112001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:35:30] 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-22 19:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787407278000,"timestamp_ms":1787407278000,"timestamp_seconds":1787407278,"priority":1,"record_length":96,"hex_timestamp":"000001a029c69fb0"} 
[2026-08-22 19: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-22 19: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-22 19: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":178,"data_length":795,"current_offset":136} 
[2026-08-22 19:35: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-22 19: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-22 19: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-22 19:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:35: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-22 19:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576186112001,"66":25897,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576186112001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:35:30] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:35:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576186112001,"power":25897,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":160008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:35:30] local.INFO: GPS data processed {"connection_id":160008,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:35:30] local.INFO: Acknowledgment sent {"connection_id":160008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:35:48] local.INFO: TCP Data received {"connection_id":161183,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:35:48] local.INFO: Processing buffer {"connection_id":161183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:35:48] local.INFO: IMEI packet received {"connection_id":161183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":161183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:35:51] local.INFO: TCP Data received {"connection_id":160231,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:35:51] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:35:51] local.INFO: IMEI packet received {"connection_id":160231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":160231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:35:52] local.INFO: TCP Data received {"connection_id":160231,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:35:52] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:35:52] local.INFO: IMEI packet received {"connection_id":160231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":160231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:35:54] local.INFO: TCP Data received {"connection_id":161183,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:35:54] local.INFO: Processing buffer {"connection_id":161183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:35:54] local.INFO: IMEI packet received {"connection_id":161183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":161183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:35:55] local.INFO: TCP Data received {"connection_id":161183,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:35:55] local.INFO: Processing buffer {"connection_id":161183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:35:55] local.INFO: Packet analysis {"connection_id":161183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:35:55] local.INFO: Extracted packet for processing {"connection_id":161183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 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-22 19:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576186112001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:35:55] 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-22 19:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787407278000,"timestamp_ms":1787407278000,"timestamp_seconds":1787407278,"priority":1,"record_length":96,"hex_timestamp":"000001a029c69fb0"} 
[2026-08-22 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-22 19:35: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-22 19:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 19:35: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-22 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-22 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-22 19:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:35: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-22 19:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576186112001,"66":25897,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576186112001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:35:55] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:35:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576186112001,"power":25897,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":161183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:35:55] local.INFO: GPS data processed {"connection_id":161183,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:35:55] local.INFO: Acknowledgment sent {"connection_id":161183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:35:57] local.INFO: TCP Data received {"connection_id":160231,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:35:57] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:35:57] local.INFO: IMEI packet received {"connection_id":160231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":160231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:35:58] local.INFO: TCP Data received {"connection_id":160231,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029c9d400012d0a79c00724bd880015006c28..."} 
[2026-08-22 19:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c9d400012d0a79c00724bd880015006c28..."} 
[2026-08-22 19:35:58] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c9d400012d0a79c00724bd880015006c28..."} 
[2026-08-22 19:35:58] local.INFO: Packet analysis {"connection_id":160231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c9"} 
[2026-08-22 19:35:58] local.INFO: Extracted packet for processing {"connection_id":160231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c9"} 
[2026-08-22 19:35:58] local.INFO: GPS Element Parsed {"raw_longitude":755661248,"raw_latitude":119848328,"longitude_deg":75.5661248,"latitude_deg":11.9848328,"altitude":21,"angle":108,"satellites":40,"speed":45,"hex_longitude":"2d0a79c0","hex_latitude":"0724bd88","is_valid_coordinates":true} 
[2026-08-22 19:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576314880001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14896557195264000,"note":"Value kept but may cause issues"} 
[2026-08-22 19:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":745345769011828736,"note":"Value kept but may cause issues"} 
[2026-08-22 19:35:58] 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-22 19:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787407488000,"timestamp_ms":1787407488000,"timestamp_seconds":1787407488,"priority":1,"record_length":96,"hex_timestamp":"000001a029c9d400"} 
[2026-08-22 19:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-22 19:35:58] 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-22 19:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:35:58] 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-22 19:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576314880001,"66":13559,"117":206,"83":41984,"24":45,"16":14896557195264000,"45":745345769011828736},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 19:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576314880001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:35:58] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 19:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 19:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14896557195264000,"km_value":14896557195264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":745345769011828736,"description":"Unknown IO ID 45"} 
[2026-08-22 19:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576314880001,"power":13559,"unknown_117":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":745345769011828736}} 
[2026-08-22 19:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":160231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:35:58] local.INFO: GPS data processed {"connection_id":160231,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:35:58] local.INFO: Acknowledgment sent {"connection_id":160231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:36:26] local.INFO: TCP Data received {"connection_id":161183,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:36:26] local.INFO: Processing buffer {"connection_id":161183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:36:26] local.INFO: Packet analysis {"connection_id":161183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:36:26] local.INFO: Extracted packet for processing {"connection_id":161183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576186112001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:36: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-22 19:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787407278000,"timestamp_ms":1787407278000,"timestamp_seconds":1787407278,"priority":1,"record_length":96,"hex_timestamp":"000001a029c69fb0"} 
[2026-08-22 19: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-22 19: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-22 19: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 19:36:26] 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-22 19: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-22 19: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-22 19:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:36: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-22 19:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576186112001,"66":25897,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"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-22 19:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576186112001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:36:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576186112001,"power":25897,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":161183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:36:26] local.INFO: GPS data processed {"connection_id":161183,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:36:26] local.INFO: Acknowledgment sent {"connection_id":161183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:36:29] local.INFO: TCP Data received {"connection_id":160231,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029c9f340012d0a9d000724b0c80015006c22..."} 
[2026-08-22 19:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c9f340012d0a9d000724b0c80015006c22..."} 
[2026-08-22 19:36:29] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c9f340012d0a9d000724b0c80015006c22..."} 
[2026-08-22 19:36:29] local.INFO: Packet analysis {"connection_id":160231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c9"} 
[2026-08-22 19:36:29] local.INFO: Extracted packet for processing {"connection_id":160231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c9"} 
[2026-08-22 19:36:29] local.INFO: GPS Element Parsed {"raw_longitude":755670272,"raw_latitude":119845064,"longitude_deg":75.5670272,"latitude_deg":11.9845064,"altitude":21,"angle":108,"satellites":34,"speed":46,"hex_longitude":"2d0a9d00","hex_latitude":"0724b0c8","is_valid_coordinates":true} 
[2026-08-22 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-22 19:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576316928001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14897012461797376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754845549474973696,"note":"Value kept but may cause issues"} 
[2026-08-22 19:36:29] 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-22 19:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787407496000,"timestamp_ms":1787407496000,"timestamp_seconds":1787407496,"priority":1,"record_length":96,"hex_timestamp":"000001a029c9f340"} 
[2026-08-22 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-22 19:36:29] 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-22 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 19:36:29] 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-22 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-22 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-22 19:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:36:29] 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-22 19:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576316928001,"66":13537,"117":206,"83":41984,"24":46,"16":14897012461797376,"45":754845549474973696},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 19:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576316928001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:36:29] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 19:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 19:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14897012461797376,"km_value":14897012461797.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":754845549474973696,"description":"Unknown IO ID 45"} 
[2026-08-22 19:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576316928001,"power":13537,"unknown_117":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":754845549474973696}} 
[2026-08-22 19:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":160231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:36:29] local.INFO: GPS data processed {"connection_id":160231,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:36:29] local.INFO: Acknowledgment sent {"connection_id":160231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:36:48] local.INFO: TCP Data received {"connection_id":161184,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:36:48] local.INFO: Processing buffer {"connection_id":161184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:36:48] local.INFO: IMEI packet received {"connection_id":161184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":161184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:36:52] local.INFO: TCP Data received {"connection_id":162609,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:36:52] local.INFO: Processing buffer {"connection_id":162609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:36:52] local.INFO: IMEI packet received {"connection_id":162609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":162609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:36:53] local.INFO: TCP Data received {"connection_id":162609,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:36:53] local.INFO: Processing buffer {"connection_id":162609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:36:53] local.INFO: IMEI packet received {"connection_id":162609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":162609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:36:53] local.INFO: TCP Data received {"connection_id":161184,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:36:53] local.INFO: Processing buffer {"connection_id":161184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:36:53] local.INFO: IMEI packet received {"connection_id":161184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":161184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:36:56] local.INFO: TCP Data received {"connection_id":161184,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:36:56] local.INFO: Processing buffer {"connection_id":161184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c69fb0012d7fe9c005c58f80000800cf2e..."} 
[2026-08-22 19:36:56] local.INFO: Packet analysis {"connection_id":161184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:36:56] local.INFO: Extracted packet for processing {"connection_id":161184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c6"} 
[2026-08-22 19:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576186112001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:36: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-22 19:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787407278000,"timestamp_ms":1787407278000,"timestamp_seconds":1787407278,"priority":1,"record_length":96,"hex_timestamp":"000001a029c69fb0"} 
[2026-08-22 19: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-22 19: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-22 19: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":178,"data_length":795,"current_offset":136} 
[2026-08-22 19:36: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-22 19: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-22 19: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-22 19:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:36: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-22 19:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576186112001,"66":25897,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576186112001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:36:56] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576186112001,"power":25897,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":161184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:36:56] local.INFO: GPS data processed {"connection_id":161184,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:36:56] local.INFO: Acknowledgment sent {"connection_id":161184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:36:57] local.INFO: TCP Data received {"connection_id":162609,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:36:57] local.INFO: Processing buffer {"connection_id":162609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:36:57] local.INFO: IMEI packet received {"connection_id":162609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":162609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:36:58] local.INFO: TCP Data received {"connection_id":162609,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029cadda0012d0b85c00724aac80025005421..."} 
[2026-08-22 19:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cadda0012d0b85c00724aac80025005421..."} 
[2026-08-22 19:36:58] local.INFO: Processing buffer {"connection_id":162609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cadda0012d0b85c00724aac80025005421..."} 
[2026-08-22 19:36:58] local.INFO: Packet analysis {"connection_id":162609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ca"} 
[2026-08-22 19:36:58] local.INFO: Extracted packet for processing {"connection_id":162609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ca"} 
[2026-08-22 19:36:58] local.INFO: GPS Element Parsed {"raw_longitude":755729856,"raw_latitude":119843528,"longitude_deg":75.5729856,"latitude_deg":11.9843528,"altitude":37,"angle":84,"satellites":33,"speed":31,"hex_longitude":"2d0b85c0","hex_latitude":"0724aac8","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576333824001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14899907269754880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828521624627769344,"note":"Value kept but may cause issues"} 
[2026-08-22 19:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787407556000,"timestamp_ms":1787407556000,"timestamp_seconds":1787407556,"priority":1,"record_length":96,"hex_timestamp":"000001a029cadda0"} 
[2026-08-22 19: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-22 19:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 19:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:36:58] 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-22 19:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576333824001,"66":12526,"115":206,"83":41984,"24":31,"16":14899907269754880,"45":828521624627769344},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 19:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576333824001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:36:58] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 19:36:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 19:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14899907269754880,"km_value":14899907269754.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":828521624627769344,"description":"Unknown IO ID 45"} 
[2026-08-22 19:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576333824001,"power":12526,"unknown_115":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":828521624627769344}} 
[2026-08-22 19:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":162609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:36:58] local.INFO: GPS data processed {"connection_id":162609,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:36:58] local.INFO: Acknowledgment sent {"connection_id":162609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:37:29] local.INFO: TCP Data received {"connection_id":162609,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029cae570012d0b8b800724ad500025004124..."} 
[2026-08-22 19:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cae570012d0b8b800724ad500025004124..."} 
[2026-08-22 19:37:29] local.INFO: Processing buffer {"connection_id":162609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cae570012d0b8b800724ad500025004124..."} 
[2026-08-22 19:37:29] local.INFO: Packet analysis {"connection_id":162609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ca"} 
[2026-08-22 19:37:29] local.INFO: Extracted packet for processing {"connection_id":162609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ca"} 
[2026-08-22 19:37:29] local.INFO: GPS Element Parsed {"raw_longitude":755731328,"raw_latitude":119844176,"longitude_deg":75.5731328,"latitude_deg":11.9844176,"altitude":37,"angle":65,"satellites":36,"speed":33,"hex_longitude":"2d0b8b80","hex_latitude":"0724ad50","is_valid_coordinates":true} 
[2026-08-22 19:37: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-22 19:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576334336001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14899984579166208,"note":"Value kept but may cause issues"} 
[2026-08-22 19:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830280843232200704,"note":"Value kept but may cause issues"} 
[2026-08-22 19:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787407558000,"timestamp_ms":1787407558000,"timestamp_seconds":1787407558,"priority":1,"record_length":96,"hex_timestamp":"000001a029cae570"} 
[2026-08-22 19:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 19:37:29] 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-22 19:37: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-22 19:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:37:29] 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-22 19:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576334336001,"66":12526,"115":206,"83":41984,"24":33,"16":14899984579166208,"45":830280843232200704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 19:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576334336001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:37:29] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 19:37:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 19:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14899984579166208,"km_value":14899984579166.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":830280843232200704,"description":"Unknown IO ID 45"} 
[2026-08-22 19:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576334336001,"power":12526,"unknown_115":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":830280843232200704}} 
[2026-08-22 19:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":162609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:37:29] local.INFO: GPS data processed {"connection_id":162609,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:37:29] local.INFO: Acknowledgment sent {"connection_id":162609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:37:34] local.INFO: TCP Data received {"connection_id":161184,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a029cb3778012d7fe9c005c58f80000800cf27..."} 
[2026-08-22 19:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cb3778012d7fe9c005c58f80000800cf27..."} 
[2026-08-22 19:37:34] local.INFO: Processing buffer {"connection_id":161184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cb3778012d7fe9c005c58f80000800cf27..."} 
[2026-08-22 19:37:34] local.INFO: Packet analysis {"connection_id":161184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cb"} 
[2026-08-22 19:37:34] local.INFO: Extracted packet for processing {"connection_id":161184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cb"} 
[2026-08-22 19:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576263168001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:37:34] 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-22 19:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787407579000,"timestamp_ms":1787407579000,"timestamp_seconds":1787407579,"priority":1,"record_length":96,"hex_timestamp":"000001a029cb3778"} 
[2026-08-22 19: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-22 19:37: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-22 19: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 19:37: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-22 19: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-22 19: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-22 19:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:37: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-22 19:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576263168001,"66":25832,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576263168001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:37:34] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576263168001,"power":25832,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":161184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:37:34] local.INFO: GPS data processed {"connection_id":161184,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:37:34] local.INFO: Acknowledgment sent {"connection_id":161184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:37:48] local.INFO: TCP Data received {"connection_id":161185,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:37:48] local.INFO: Processing buffer {"connection_id":161185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:37:48] local.INFO: IMEI packet received {"connection_id":161185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":161185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:37:53] local.INFO: TCP Data received {"connection_id":162610,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:37:53] local.INFO: Processing buffer {"connection_id":162610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:37:53] local.INFO: IMEI packet received {"connection_id":162610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":162610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:37:53] local.INFO: TCP Data received {"connection_id":161185,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:37:53] local.INFO: Processing buffer {"connection_id":161185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:37:53] local.INFO: IMEI packet received {"connection_id":161185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":161185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:37:54] local.INFO: TCP Data received {"connection_id":161185,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a029cb3778012d7fe9c005c58f80000800cf27..."} 
[2026-08-22 19:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cb3778012d7fe9c005c58f80000800cf27..."} 
[2026-08-22 19:37:54] local.INFO: Processing buffer {"connection_id":161185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cb3778012d7fe9c005c58f80000800cf27..."} 
[2026-08-22 19:37:54] local.INFO: Packet analysis {"connection_id":161185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cb"} 
[2026-08-22 19:37:54] local.INFO: Extracted packet for processing {"connection_id":161185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cb"} 
[2026-08-22 19:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576263168001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:37:54] 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-22 19:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787407579000,"timestamp_ms":1787407579000,"timestamp_seconds":1787407579,"priority":1,"record_length":96,"hex_timestamp":"000001a029cb3778"} 
[2026-08-22 19: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-22 19:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 19:37:54] 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-22 19: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-22 19: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-22 19:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:37:54] 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-22 19:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576263168001,"66":25832,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576263168001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:37:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:37:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576263168001,"power":25832,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":161185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:37:54] local.INFO: GPS data processed {"connection_id":161185,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:37:54] local.INFO: Acknowledgment sent {"connection_id":161185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:37:57] local.INFO: TCP Data received {"connection_id":162610,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:37:57] local.INFO: Processing buffer {"connection_id":162610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:37:57] local.INFO: IMEI packet received {"connection_id":162610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":162610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:38:02] local.INFO: TCP Data received {"connection_id":162610,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:38:02] local.INFO: Processing buffer {"connection_id":162610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:38:02] local.INFO: IMEI packet received {"connection_id":162610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":162610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:38:03] local.INFO: TCP Data received {"connection_id":162610,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029cba8c0012d0c3ec00724a1100013005127..."} 
[2026-08-22 19:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cba8c0012d0c3ec00724a1100013005127..."} 
[2026-08-22 19:38:03] local.INFO: Processing buffer {"connection_id":162610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cba8c0012d0c3ec00724a1100013005127..."} 
[2026-08-22 19:38:03] local.INFO: Packet analysis {"connection_id":162610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cb"} 
[2026-08-22 19:38:03] local.INFO: Extracted packet for processing {"connection_id":162610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cb"} 
[2026-08-22 19:38:03] local.INFO: GPS Element Parsed {"raw_longitude":755777216,"raw_latitude":119841040,"longitude_deg":75.5777216,"latitude_deg":11.984104,"altitude":19,"angle":81,"satellites":39,"speed":44,"hex_longitude":"2d0c3ec0","hex_latitude":"0724a110","is_valid_coordinates":true} 
[2026-08-22 19:38: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-22 19:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576347136001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14902398350786560,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879820439132581888,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787407608000,"timestamp_ms":1787407608000,"timestamp_seconds":1787407608,"priority":1,"record_length":96,"hex_timestamp":"000001a029cba8c0"} 
[2026-08-22 19:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:38: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":181,"data_length":795,"current_offset":136} 
[2026-08-22 19:38:03] 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-22 19:38: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-22 19:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:38:03] 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-22 19:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576347136001,"66":13515,"115":206,"83":41984,"24":44,"16":14902398350786560,"45":879820439132581888},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 19:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576347136001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:38:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 19:38:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 19:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14902398350786560,"km_value":14902398350786.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":879820439132581888,"description":"Unknown IO ID 45"} 
[2026-08-22 19:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576347136001,"power":13515,"unknown_115":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":879820439132581888}} 
[2026-08-22 19:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":162610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:38:03] local.INFO: GPS data processed {"connection_id":162610,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:38:03] local.INFO: Acknowledgment sent {"connection_id":162610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:38:04] local.INFO: TCP Data received {"connection_id":162610,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029cbcbe8012d0c64400724a7500016005226..."} 
[2026-08-22 19:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cbcbe8012d0c64400724a7500016005226..."} 
[2026-08-22 19:38:04] local.INFO: Processing buffer {"connection_id":162610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cbcbe8012d0c64400724a7500016005226..."} 
[2026-08-22 19:38:04] local.INFO: Packet analysis {"connection_id":162610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cb"} 
[2026-08-22 19:38:04] local.INFO: Extracted packet for processing {"connection_id":162610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cb"} 
[2026-08-22 19:38:04] local.INFO: GPS Element Parsed {"raw_longitude":755786816,"raw_latitude":119842640,"longitude_deg":75.5786816,"latitude_deg":11.984264,"altitude":22,"angle":82,"satellites":38,"speed":41,"hex_longitude":"2d0c6440","hex_latitude":"0724a750","is_valid_coordinates":true} 
[2026-08-22 19:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576347648001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14902857912287232,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882353713923035136,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787407617000,"timestamp_ms":1787407617000,"timestamp_seconds":1787407617,"priority":1,"record_length":96,"hex_timestamp":"000001a029cbcbe8"} 
[2026-08-22 19:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-22 19:38:04] 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-22 19:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:38:04] 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-22 19:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576347648001,"66":13472,"115":206,"83":41984,"24":41,"16":14902857912287232,"45":882353713923035136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 19:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576347648001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:38:04] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 19:38:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 19:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14902857912287232,"km_value":14902857912287.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":882353713923035136,"description":"Unknown IO ID 45"} 
[2026-08-22 19:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576347648001,"power":13472,"unknown_115":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":882353713923035136}} 
[2026-08-22 19:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":162610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:38:04] local.INFO: GPS data processed {"connection_id":162610,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:38:04] local.INFO: Acknowledgment sent {"connection_id":162610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:38:26] local.INFO: TCP Data received {"connection_id":161185,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a029cb3778012d7fe9c005c58f80000800cf27..."} 
[2026-08-22 19:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cb3778012d7fe9c005c58f80000800cf27..."} 
[2026-08-22 19:38:26] local.INFO: Processing buffer {"connection_id":161185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cb3778012d7fe9c005c58f80000800cf27..."} 
[2026-08-22 19:38:26] local.INFO: Packet analysis {"connection_id":161185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cb"} 
[2026-08-22 19:38:26] local.INFO: Extracted packet for processing {"connection_id":161185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cb"} 
[2026-08-22 19:38:26] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576263168001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38: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-22 19:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787407579000,"timestamp_ms":1787407579000,"timestamp_seconds":1787407579,"priority":1,"record_length":96,"hex_timestamp":"000001a029cb3778"} 
[2026-08-22 19: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-22 19: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-22 19: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":41,"data_length":795,"current_offset":136} 
[2026-08-22 19:38:26] 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-22 19: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-22 19: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-22 19:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:38: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-22 19:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576263168001,"66":25832,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576263168001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:38:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576263168001,"power":25832,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":161185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:38:26] local.INFO: GPS data processed {"connection_id":161185,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:38:26] local.INFO: Acknowledgment sent {"connection_id":161185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:38:35] local.INFO: TCP Data received {"connection_id":162610,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029cbef10012d0c89400724ac980015005227..."} 
[2026-08-22 19:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cbef10012d0c89400724ac980015005227..."} 
[2026-08-22 19:38:35] local.INFO: Processing buffer {"connection_id":162610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cbef10012d0c89400724ac980015005227..."} 
[2026-08-22 19:38:35] local.INFO: Packet analysis {"connection_id":162610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cb"} 
[2026-08-22 19:38:35] local.INFO: Extracted packet for processing {"connection_id":162610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cb"} 
[2026-08-22 19:38:35] local.INFO: GPS Element Parsed {"raw_longitude":755796288,"raw_latitude":119843992,"longitude_deg":75.5796288,"latitude_deg":11.9843992,"altitude":21,"angle":82,"satellites":39,"speed":40,"hex_longitude":"2d0c8940","hex_latitude":"0724ac98","is_valid_coordinates":true} 
[2026-08-22 19:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576349952001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14903313178820608,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892909025550094336,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787407626000,"timestamp_ms":1787407626000,"timestamp_seconds":1787407626,"priority":1,"record_length":96,"hex_timestamp":"000001a029cbef10"} 
[2026-08-22 19:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:38: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-22 19:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 19:38:35] 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-22 19:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":162610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":162610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":162610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:38:35] 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-22 19:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576349952001,"66":13526,"115":206,"83":41984,"24":40,"16":14903313178820608,"45":892909025550094336},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 19:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576349952001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:38:35] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 19:38:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 19:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14903313178820608,"km_value":14903313178820.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":892909025550094336,"description":"Unknown IO ID 45"} 
[2026-08-22 19:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576349952001,"power":13526,"unknown_115":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":892909025550094336}} 
[2026-08-22 19:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":162610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:38:35] local.INFO: GPS data processed {"connection_id":162610,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:38:35] local.INFO: Acknowledgment sent {"connection_id":162610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:38:52] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:38:52] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:38:52] local.INFO: IMEI packet received {"connection_id":160009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":160009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:38:53] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:38:53] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:38:53] local.INFO: IMEI packet received {"connection_id":160232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":160232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:38:54] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:38:54] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:38:54] local.INFO: IMEI packet received {"connection_id":160009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":160009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:38:56] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:38:56] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:38:56] local.INFO: IMEI packet received {"connection_id":160009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":160009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:38:57] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029cc1238012d0cafc00724b3680012004b28..."} 
[2026-08-22 19:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cc1238012d0cafc00724b3680012004b28..."} 
[2026-08-22 19:38:57] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cc1238012d0cafc00724b3680012004b28..."} 
[2026-08-22 19:38:57] local.INFO: Packet analysis {"connection_id":160009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cc"} 
[2026-08-22 19:38:57] local.INFO: Extracted packet for processing {"connection_id":160009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cc"} 
[2026-08-22 19:38:57] local.INFO: GPS Element Parsed {"raw_longitude":755806144,"raw_latitude":119845736,"longitude_deg":75.5806144,"latitude_deg":11.9845736,"altitude":18,"angle":75,"satellites":40,"speed":39,"hex_longitude":"2d0cafc0","hex_latitude":"0724b368","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576352256001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14903785625223168,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":903323599688734720,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787407635000,"timestamp_ms":1787407635000,"timestamp_seconds":1787407635,"priority":1,"record_length":96,"hex_timestamp":"000001a029cc1238"} 
[2026-08-22 19: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-22 19:38:57] 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-22 19: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-22 19:38:57] 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-22 19: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-22 19: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-22 19:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:38:57] 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-22 19:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576352256001,"66":13493,"115":206,"83":41984,"24":39,"16":14903785625223168,"45":903323599688734720},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 19:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576352256001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:38:57] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 19:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 19:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14903785625223168,"km_value":14903785625223.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":903323599688734720,"description":"Unknown IO ID 45"} 
[2026-08-22 19:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576352256001,"power":13493,"unknown_115":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":903323599688734720}} 
[2026-08-22 19:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":160009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:38:57] local.INFO: GPS data processed {"connection_id":160009,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:38:57] local.INFO: Acknowledgment sent {"connection_id":160009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:38:57] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029cc3560012d0cd7000724bcf00011004c27..."} 
[2026-08-22 19:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cc3560012d0cd7000724bcf00011004c27..."} 
[2026-08-22 19:38:57] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cc3560012d0cd7000724bcf00011004c27..."} 
[2026-08-22 19:38:57] local.INFO: Packet analysis {"connection_id":160009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cc"} 
[2026-08-22 19:38:57] local.INFO: Extracted packet for processing {"connection_id":160009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cc"} 
[2026-08-22 19:38:57] local.INFO: GPS Element Parsed {"raw_longitude":755816192,"raw_latitude":119848176,"longitude_deg":75.5816192,"latitude_deg":11.9848176,"altitude":17,"angle":76,"satellites":39,"speed":49,"hex_longitude":"2d0cd700","hex_latitude":"0724bcf0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576354560001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14904279546462208,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914160386292541440,"note":"Value kept but may cause issues"} 
[2026-08-22 19:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787407644000,"timestamp_ms":1787407644000,"timestamp_seconds":1787407644,"priority":1,"record_length":96,"hex_timestamp":"000001a029cc3560"} 
[2026-08-22 19: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-22 19:38:57] 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-22 19: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 19:38:57] 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-22 19: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-22 19: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-22 19:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:38:57] 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-22 19:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576354560001,"66":13559,"115":206,"83":41984,"24":49,"16":14904279546462208,"45":914160386292541440},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 19:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576354560001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:38:57] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 19:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 19:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14904279546462208,"km_value":14904279546462.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":914160386292541440,"description":"Unknown IO ID 45"} 
[2026-08-22 19:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576354560001,"power":13559,"unknown_115":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":914160386292541440}} 
[2026-08-22 19:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":160009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:38:57] local.INFO: GPS data processed {"connection_id":160009,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:38:57] local.INFO: Acknowledgment sent {"connection_id":160009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:39:01] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:39:01] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:39:01] local.INFO: IMEI packet received {"connection_id":160232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":160232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:39:23] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029cb3778012d7fe9c005c58f80000800cf27..."} 
[2026-08-22 19:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cb3778012d7fe9c005c58f80000800cf27..."} 
[2026-08-22 19:39:23] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cb3778012d7fe9c005c58f80000800cf27..."} 
[2026-08-22 19:39:23] local.INFO: Packet analysis {"connection_id":160232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cb"} 
[2026-08-22 19:39:23] local.INFO: Extracted packet for processing {"connection_id":160232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cb"} 
[2026-08-22 19:39:23] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576263168001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:39:23] 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-22 19:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787407579000,"timestamp_ms":1787407579000,"timestamp_seconds":1787407579,"priority":1,"record_length":96,"hex_timestamp":"000001a029cb3778"} 
[2026-08-22 19: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-22 19:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 19:39:23] 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-22 19: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-22 19: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-22 19:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576263168001,"66":25832,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576263168001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:39:23] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:39:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576263168001,"power":25832,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":160232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:39:23] local.INFO: GPS data processed {"connection_id":160232,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:39:23] local.INFO: Acknowledgment sent {"connection_id":160232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:39:24] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029cb3778012d7fe9c005c58f80000800cf27..."} 
[2026-08-22 19:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cb3778012d7fe9c005c58f80000800cf27..."} 
[2026-08-22 19:39:24] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cb3778012d7fe9c005c58f80000800cf27..."} 
[2026-08-22 19:39:24] local.INFO: Packet analysis {"connection_id":160232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cb"} 
[2026-08-22 19:39:24] local.INFO: Extracted packet for processing {"connection_id":160232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cb"} 
[2026-08-22 19:39:24] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576263168001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:39:24] 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-22 19:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787407579000,"timestamp_ms":1787407579000,"timestamp_seconds":1787407579,"priority":1,"record_length":96,"hex_timestamp":"000001a029cb3778"} 
[2026-08-22 19: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-22 19:39: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-22 19: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 19:39:24] 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-22 19: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-22 19: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-22 19:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:39: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-22 19:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576263168001,"66":25832,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576263168001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:39:24] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:39:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576263168001,"power":25832,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":160232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:39:24] local.INFO: GPS data processed {"connection_id":160232,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:39:24] local.INFO: Acknowledgment sent {"connection_id":160232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:39:41] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029cd5288012d0dc30007255e40003d006f24..."} 
[2026-08-22 19:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cd5288012d0dc30007255e40003d006f24..."} 
[2026-08-22 19:39:41] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cd5288012d0dc30007255e40003d006f24..."} 
[2026-08-22 19:39:41] local.INFO: Packet analysis {"connection_id":160009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cd"} 
[2026-08-22 19:39:41] local.INFO: Extracted packet for processing {"connection_id":160009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cd"} 
[2026-08-22 19:39:41] local.INFO: GPS Element Parsed {"raw_longitude":755876608,"raw_latitude":119889472,"longitude_deg":75.5876608,"latitude_deg":11.9889472,"altitude":61,"angle":111,"satellites":36,"speed":34,"hex_longitude":"2d0dc300","hex_latitude":"07255e40","is_valid_coordinates":true} 
[2026-08-22 19:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576375040001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14908020462977024,"note":"Value kept but may cause issues"} 
[2026-08-22 19:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":989877155039162368,"note":"Value kept but may cause issues"} 
[2026-08-22 19:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787407717000,"timestamp_ms":1787407717000,"timestamp_seconds":1787407717,"priority":1,"record_length":96,"hex_timestamp":"000001a029cd5288"} 
[2026-08-22 19:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:39:41] 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-22 19:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 19:39:41] 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-22 19:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:39:41] 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-22 19:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576375040001,"66":13243,"115":206,"83":41984,"24":34,"16":14908020462977024,"45":989877155039162368},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 19:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576375040001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:39:41] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 19:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 19:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14908020462977024,"km_value":14908020462977.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":989877155039162368,"description":"Unknown IO ID 45"} 
[2026-08-22 19:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576375040001,"power":13243,"unknown_115":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":989877155039162368}} 
[2026-08-22 19:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":160009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:39:42] local.INFO: GPS data processed {"connection_id":160009,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:39:42] local.INFO: Acknowledgment sent {"connection_id":160009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:39:48] local.INFO: TCP Data received {"connection_id":160233,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:39:48] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:39:48] local.INFO: IMEI packet received {"connection_id":160233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":160233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:39:50] local.INFO: TCP Data received {"connection_id":160234,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:39:50] local.INFO: Processing buffer {"connection_id":160234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:39:50] local.INFO: IMEI packet received {"connection_id":160234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":160234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:39:50] local.INFO: TCP Data received {"connection_id":160233,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:39:50] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:39:50] local.INFO: IMEI packet received {"connection_id":160233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":160233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:39:52] local.INFO: TCP Data received {"connection_id":160234,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:39:52] local.INFO: Processing buffer {"connection_id":160234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:39:52] local.INFO: IMEI packet received {"connection_id":160234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":160234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:39:53] local.INFO: TCP Data received {"connection_id":160233,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:39:53] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:39:53] local.INFO: IMEI packet received {"connection_id":160233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":160233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:39:54] local.INFO: TCP Data received {"connection_id":160233,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029cd2790012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cd2790012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:39:54] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cd2790012d7fe9c005c58f80000800cf2b..."} 
[2026-08-22 19:39:54] local.INFO: Packet analysis {"connection_id":160233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cd"} 
[2026-08-22 19:39:54] local.INFO: Extracted packet for processing {"connection_id":160233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cd"} 
[2026-08-22 19:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833408,"longitude_deg":76.3357632,"latitude_deg":9.6833408,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58f80","is_valid_coordinates":true} 
[2026-08-22 19:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576340224001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:39:54] 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-22 19:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787407706000,"timestamp_ms":1787407706000,"timestamp_seconds":1787407706,"priority":1,"record_length":96,"hex_timestamp":"000001a029cd2790"} 
[2026-08-22 19: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-22 19:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 19: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 19:39:54] 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-22 19: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-22 19: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-22 19:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:39:54] 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-22 19:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576340224001,"66":25843,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576340224001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:39:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:39:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576340224001,"power":25843,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":160233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:39:54] local.INFO: GPS data processed {"connection_id":160233,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:39:54] local.INFO: Acknowledgment sent {"connection_id":160233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:39:56] local.INFO: TCP Data received {"connection_id":160233,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029cd8938012d7feb0005c58f50000800cf2b..."} 
[2026-08-22 19:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cd8938012d7feb0005c58f50000800cf2b..."} 
[2026-08-22 19:39:56] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cd8938012d7feb0005c58f50000800cf2b..."} 
[2026-08-22 19:39:56] local.INFO: Packet analysis {"connection_id":160233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cd"} 
[2026-08-22 19:39:56] local.INFO: Extracted packet for processing {"connection_id":160233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cd"} 
[2026-08-22 19:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763357952,"raw_latitude":96833360,"longitude_deg":76.3357952,"latitude_deg":9.683336,"altitude":8,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d7feb00","hex_latitude":"05c58f50","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576372736001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412316160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:39: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-22 19:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787407731000,"timestamp_ms":1787407731000,"timestamp_seconds":1787407731,"priority":1,"record_length":96,"hex_timestamp":"000001a029cd8938"} 
[2026-08-22 19: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-22 19: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-22 19: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":243,"data_length":795,"current_offset":136} 
[2026-08-22 19:39:56] 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-22 19: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-22 19: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-22 19:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:39: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-22 19:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576372736001,"66":27289,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217109243412316160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576372736001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:39:56] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412316160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576372736001,"power":27289,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217109243412316160}} 
[2026-08-22 19:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":160233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:39:56] local.INFO: GPS data processed {"connection_id":160233,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:39:56] local.INFO: Acknowledgment sent {"connection_id":160233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:40:11] local.INFO: TCP Data received {"connection_id":160234,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:40:11] local.INFO: Processing buffer {"connection_id":160234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:40:11] local.INFO: IMEI packet received {"connection_id":160234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":160234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:40:12] local.INFO: TCP Data received {"connection_id":160234,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029cd6610012d0dd440072553e0003e007c28..."} 
[2026-08-22 19:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cd6610012d0dd440072553e0003e007c28..."} 
[2026-08-22 19:40:12] local.INFO: Processing buffer {"connection_id":160234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cd6610012d0dd440072553e0003e007c28..."} 
[2026-08-22 19:40:12] local.INFO: Packet analysis {"connection_id":160234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cd"} 
[2026-08-22 19:40:12] local.INFO: Extracted packet for processing {"connection_id":160234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cd"} 
[2026-08-22 19:40:12] local.INFO: GPS Element Parsed {"raw_longitude":755881024,"raw_latitude":119886816,"longitude_deg":75.5881024,"latitude_deg":11.9886816,"altitude":62,"angle":124,"satellites":40,"speed":40,"hex_longitude":"2d0dd440","hex_latitude":"072553e0","is_valid_coordinates":true} 
[2026-08-22 19:40: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-22 19:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576375552001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14908265276112896,"note":"Value kept but may cause issues"} 
[2026-08-22 19:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":991636373643345920,"note":"Value kept but may cause issues"} 
[2026-08-22 19:40:12] 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-22 19:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787407722000,"timestamp_ms":1787407722000,"timestamp_seconds":1787407722,"priority":1,"record_length":96,"hex_timestamp":"000001a029cd6610"} 
[2026-08-22 19:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:40: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-22 19:40: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-22 19:40: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-22 19:40: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-22 19:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:40:12] 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-22 19:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576375552001,"66":13537,"127":206,"83":41984,"24":40,"16":14908265276112896,"45":991636373643345920},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,45]} 
[2026-08-22 19:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576375552001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:40:12] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-22 19:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 19:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14908265276112896,"km_value":14908265276112.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":991636373643345920,"description":"Unknown IO ID 45"} 
[2026-08-22 19:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576375552001,"power":13537,"unknown_127":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":991636373643345920}} 
[2026-08-22 19:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":160234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:40:12] local.INFO: GPS data processed {"connection_id":160234,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:40:12] local.INFO: Acknowledgment sent {"connection_id":160234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:40:27] local.INFO: TCP Data received {"connection_id":160233,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029cddb40012d7feb0005c58f50000800cf2d..."} 
[2026-08-22 19:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cddb40012d7feb0005c58f50000800cf2d..."} 
[2026-08-22 19:40:27] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cddb40012d7feb0005c58f50000800cf2d..."} 
[2026-08-22 19:40:27] local.INFO: Packet analysis {"connection_id":160233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cd"} 
[2026-08-22 19:40:27] local.INFO: Extracted packet for processing {"connection_id":160233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cd"} 
[2026-08-22 19:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763357952,"raw_latitude":96833360,"longitude_deg":76.3357952,"latitude_deg":9.683336,"altitude":8,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d7feb00","hex_latitude":"05c58f50","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576379136001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006311964016640,"note":"Value kept but may cause issues"} 
[2026-08-22 19:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217461087133192192,"note":"Value kept but may cause issues"} 
[2026-08-22 19:40:27] 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-22 19:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787407752000,"timestamp_ms":1787407752000,"timestamp_seconds":1787407752,"priority":1,"record_length":96,"hex_timestamp":"000001a029cddb40"} 
[2026-08-22 19: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-22 19:40: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-22 19: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-22 19:40:27] 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-22 19: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-22 19: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-22 19:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:40:27] 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-22 19:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576379136001,"66":27267,"98":206,"85":12288,"24":0,"16":389006311964016640,"45":9217461087133192192},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576379136001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:40:27] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:40:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006311964016640,"km_value":389006311964016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217461087133192192,"description":"Unknown IO ID 45"} 
[2026-08-22 19:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576379136001,"power":27267,"unknown_98":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9217461087133192192}} 
[2026-08-22 19:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":160233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:40:27] local.INFO: GPS data processed {"connection_id":160233,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:40:27] local.INFO: Acknowledgment sent {"connection_id":160233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:40:48] local.INFO: TCP Data received {"connection_id":160010,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:40:48] local.INFO: Processing buffer {"connection_id":160010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:40:48] local.INFO: IMEI packet received {"connection_id":160010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":160010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:40:53] local.INFO: TCP Data received {"connection_id":160010,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:40:53] local.INFO: Processing buffer {"connection_id":160010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:40:53] local.INFO: IMEI packet received {"connection_id":160010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":160010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:40:54] local.INFO: TCP Data received {"connection_id":160010,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029cdeec8012d7fe9c005c58df0000500bc2d..."} 
[2026-08-22 19:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cdeec8012d7fe9c005c58df0000500bc2d..."} 
[2026-08-22 19:40:54] local.INFO: Processing buffer {"connection_id":160010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cdeec8012d7fe9c005c58df0000500bc2d..."} 
[2026-08-22 19:40:54] local.INFO: Packet analysis {"connection_id":160010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cd"} 
[2026-08-22 19:40:54] local.INFO: Extracted packet for processing {"connection_id":160010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cd"} 
[2026-08-22 19:40:54] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96833008,"longitude_deg":76.3357632,"latitude_deg":9.6833008,"altitude":5,"angle":188,"satellites":45,"speed":8,"hex_longitude":"2d7fe9c0","hex_latitude":"05c58df0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576384512001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006337733820416,"note":"Value kept but may cause issues"} 
[2026-08-22 19:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217461087133192192,"note":"Value kept but may cause issues"} 
[2026-08-22 19:40:54] 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-22 19:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787407757000,"timestamp_ms":1787407757000,"timestamp_seconds":1787407757,"priority":1,"record_length":96,"hex_timestamp":"000001a029cdeec8"} 
[2026-08-22 19: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-22 19: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-22 19: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":131,"data_length":795,"current_offset":136} 
[2026-08-22 19:40: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-22 19: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-22 19: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-22 19:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:40:54] 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-22 19:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576384512001,"66":27310,"98":206,"85":12288,"24":8,"16":389006337733820416,"45":9217461087133192192},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576384512001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:40:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:40:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006337733820416,"km_value":389006337733820.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217461087133192192,"description":"Unknown IO ID 45"} 
[2026-08-22 19:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576384512001,"power":27310,"unknown_98":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9217461087133192192}} 
[2026-08-22 19:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":160010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:40:54] local.INFO: GPS data processed {"connection_id":160010,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:40:54] local.INFO: Acknowledgment sent {"connection_id":160010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:41:26] local.INFO: TCP Data received {"connection_id":160235,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:26] local.INFO: Processing buffer {"connection_id":160235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:26] local.INFO: IMEI packet received {"connection_id":160235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":160235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:41:26] local.INFO: TCP Data received {"connection_id":160010,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ce40d0012d7fe38005c574f0000300c32e..."} 
[2026-08-22 19:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ce40d0012d7fe38005c574f0000300c32e..."} 
[2026-08-22 19:41:26] local.INFO: Processing buffer {"connection_id":160010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ce40d0012d7fe38005c574f0000300c32e..."} 
[2026-08-22 19:41:26] local.INFO: Packet analysis {"connection_id":160010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ce"} 
[2026-08-22 19:41:26] local.INFO: Extracted packet for processing {"connection_id":160010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ce"} 
[2026-08-22 19:41:26] local.INFO: GPS Element Parsed {"raw_longitude":763356032,"raw_latitude":96826608,"longitude_deg":76.3356032,"latitude_deg":9.6826608,"altitude":3,"angle":195,"satellites":46,"speed":2,"hex_longitude":"2d7fe380","hex_latitude":"05c574f0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576385792001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006659856367616,"note":"Value kept but may cause issues"} 
[2026-08-22 19:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243412213760,"note":"Value kept but may cause issues"} 
[2026-08-22 19:41: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-22 19:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787407778000,"timestamp_ms":1787407778000,"timestamp_seconds":1787407778,"priority":1,"record_length":96,"hex_timestamp":"000001a029ce40d0"} 
[2026-08-22 19: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-22 19:41: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-22 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-22 19:41:26] 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-22 19: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-22 19: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-22 19:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19: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-22 19:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576385792001,"66":27463,"98":206,"85":12288,"24":2,"16":389006659856367616,"45":9217109243412213760},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576385792001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:41:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006659856367616,"km_value":389006659856367.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243412213760,"description":"Unknown IO ID 45"} 
[2026-08-22 19:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576385792001,"power":27463,"unknown_98":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":9217109243412213760}} 
[2026-08-22 19:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":160010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:41:26] local.INFO: GPS data processed {"connection_id":160010,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:41:26] local.INFO: Acknowledgment sent {"connection_id":160010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:41:27] local.INFO: TCP Data received {"connection_id":160235,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:27] local.INFO: Processing buffer {"connection_id":160235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:27] local.INFO: IMEI packet received {"connection_id":160235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":160235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:41:28] local.INFO: TCP Data received {"connection_id":160235,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:28] local.INFO: Processing buffer {"connection_id":160235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:28] local.INFO: IMEI packet received {"connection_id":160235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":160235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:41:30] local.INFO: TCP Data received {"connection_id":160235,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029cf1b90012d0f8b8007252a48001f00a427..."} 
[2026-08-22 19:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cf1b90012d0f8b8007252a48001f00a427..."} 
[2026-08-22 19:41:30] local.INFO: Processing buffer {"connection_id":160235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cf1b90012d0f8b8007252a48001f00a427..."} 
[2026-08-22 19:41:30] local.INFO: Packet analysis {"connection_id":160235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cf"} 
[2026-08-22 19:41:30] local.INFO: Extracted packet for processing {"connection_id":160235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cf"} 
[2026-08-22 19:41:30] local.INFO: GPS Element Parsed {"raw_longitude":755993472,"raw_latitude":119876168,"longitude_deg":75.5993472,"latitude_deg":11.9876168,"altitude":31,"angle":164,"satellites":39,"speed":34,"hex_longitude":"2d0f8b80","hex_latitude":"07252a48","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576404480001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14914084956798976,"note":"Value kept but may cause issues"} 
[2026-08-22 19:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1119144538090784768,"note":"Value kept but may cause issues"} 
[2026-08-22 19:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787407834000,"timestamp_ms":1787407834000,"timestamp_seconds":1787407834,"priority":1,"record_length":96,"hex_timestamp":"000001a029cf1b90"} 
[2026-08-22 19: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-22 19:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-22 19:41:30] 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-22 19: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-22 19: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-22 19:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:41:30] 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-22 19:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576404480001,"66":13428,"220":206,"83":42752,"24":34,"16":14914084956798976,"45":1119144538090784768},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,83,24,16,45]} 
[2026-08-22 19:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576404480001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:41:30] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-22 19:41:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14914084956798976,"km_value":14914084956798.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1119144538090784768,"description":"Unknown IO ID 45"} 
[2026-08-22 19:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576404480001,"power":13428,"unknown_220":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1119144538090784768}} 
[2026-08-22 19:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":160235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:41:30] local.INFO: GPS data processed {"connection_id":160235,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:41:30] local.INFO: Acknowledgment sent {"connection_id":160235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:41:48] local.INFO: TCP Data received {"connection_id":160011,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:41:48] local.INFO: Processing buffer {"connection_id":160011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:41:48] local.INFO: IMEI packet received {"connection_id":160011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":160011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:41:53] local.INFO: TCP Data received {"connection_id":160011,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:41:53] local.INFO: Processing buffer {"connection_id":160011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:41:53] local.INFO: IMEI packet received {"connection_id":160011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":160011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:41:54] local.INFO: TCP Data received {"connection_id":160012,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:54] local.INFO: Processing buffer {"connection_id":160012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:54] local.INFO: IMEI packet received {"connection_id":160012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":160012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:41:54] local.INFO: TCP Data received {"connection_id":160011,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ce5458012d7fe2c005c57338000300dd2d..."} 
[2026-08-22 19:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ce5458012d7fe2c005c57338000300dd2d..."} 
[2026-08-22 19:41:54] local.INFO: Processing buffer {"connection_id":160011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ce5458012d7fe2c005c57338000300dd2d..."} 
[2026-08-22 19:41:54] local.INFO: Packet analysis {"connection_id":160011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ce"} 
[2026-08-22 19:41:54] local.INFO: Extracted packet for processing {"connection_id":160011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ce"} 
[2026-08-22 19:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763355840,"raw_latitude":96826168,"longitude_deg":76.335584,"latitude_deg":9.6826168,"altitude":3,"angle":221,"satellites":45,"speed":6,"hex_longitude":"2d7fe2c0","hex_latitude":"05c57338","is_valid_coordinates":true} 
[2026-08-22 19:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576391168001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389006685626171392,"note":"Value kept but may cause issues"} 
[2026-08-22 19:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9215350024806133760,"note":"Value kept but may cause issues"} 
[2026-08-22 19:41:54] 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-22 19:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787407783000,"timestamp_ms":1787407783000,"timestamp_seconds":1787407783,"priority":1,"record_length":96,"hex_timestamp":"000001a029ce5458"} 
[2026-08-22 19:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:41: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-22 19:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 19:41:54] 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-22 19:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:41:54] 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-22 19:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576391168001,"66":27376,"98":206,"85":12288,"24":6,"16":389006685626171392,"45":9215350024806133760},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576391168001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:41:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:41:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389006685626171392,"km_value":389006685626171.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9215350024806133760,"description":"Unknown IO ID 45"} 
[2026-08-22 19:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576391168001,"power":27376,"unknown_98":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9215350024806133760}} 
[2026-08-22 19:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":160011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:41:54] local.INFO: GPS data processed {"connection_id":160011,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:41:54] local.INFO: Acknowledgment sent {"connection_id":160011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:41:56] local.INFO: TCP Data received {"connection_id":160012,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:56] local.INFO: Processing buffer {"connection_id":160012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:56] local.INFO: IMEI packet received {"connection_id":160012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":160012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:41:57] local.INFO: TCP Data received {"connection_id":160012,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:57] local.INFO: Processing buffer {"connection_id":160012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:57] local.INFO: IMEI packet received {"connection_id":160012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":160012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:41:57] local.INFO: TCP Data received {"connection_id":160012,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:57] local.INFO: Processing buffer {"connection_id":160012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:41:57] local.INFO: IMEI packet received {"connection_id":160012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":160012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:42:25] local.INFO: TCP Data received {"connection_id":160011,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029cffa38012d8016c005c4dfe8000801312e..."} 
[2026-08-22 19:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029cffa38012d8016c005c4dfe8000801312e..."} 
[2026-08-22 19:42:25] local.INFO: Processing buffer {"connection_id":160011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029cffa38012d8016c005c4dfe8000801312e..."} 
[2026-08-22 19:42:25] local.INFO: Packet analysis {"connection_id":160011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029cf"} 
[2026-08-22 19:42:25] local.INFO: Extracted packet for processing {"connection_id":160011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029cf"} 
[2026-08-22 19:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763369152,"raw_latitude":96788456,"longitude_deg":76.3369152,"latitude_deg":9.6788456,"altitude":8,"angle":305,"satellites":46,"speed":17,"hex_longitude":"2d8016c0","hex_latitude":"05c4dfe8","is_valid_coordinates":true} 
[2026-08-22 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-22 19:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576419840001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389009039268249600,"note":"Value kept but may cause issues"} 
[2026-08-22 19:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9216546243891748864,"note":"Value kept but may cause issues"} 
[2026-08-22 19:42: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-22 19:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787407891000,"timestamp_ms":1787407891000,"timestamp_seconds":1787407891,"priority":1,"record_length":96,"hex_timestamp":"000001a029cffa38"} 
[2026-08-22 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-22 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-22 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-22 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-22 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-22 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-22 19:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:42: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-22 19:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576419840001,"66":27213,"98":206,"85":12288,"24":17,"16":389009039268249600,"45":-9216546243891748864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576419840001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:42:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389009039268249600,"km_value":389009039268249.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9216546243891748864,"description":"Unknown IO ID 45"} 
[2026-08-22 19:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576419840001,"power":27213,"unknown_98":206,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":-9216546243891748864}} 
[2026-08-22 19:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":160011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:42:25] local.INFO: GPS data processed {"connection_id":160011,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:42:25] local.INFO: Acknowledgment sent {"connection_id":160011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:42:48] local.INFO: TCP Data received {"connection_id":160236,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:42:48] local.INFO: Processing buffer {"connection_id":160236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:42:48] local.INFO: IMEI packet received {"connection_id":160236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":160236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:42:49] local.INFO: TCP Data received {"connection_id":160236,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:42:49] local.INFO: Processing buffer {"connection_id":160236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:42:49] local.INFO: IMEI packet received {"connection_id":160236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":160236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:42:53] local.INFO: TCP Data received {"connection_id":160236,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:42:53] local.INFO: Processing buffer {"connection_id":160236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:42:53] local.INFO: IMEI packet received {"connection_id":160236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":160236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:42:55] local.INFO: TCP Data received {"connection_id":160236,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d011a8012d800f0005c4e7b80007013f2a..."} 
[2026-08-22 19:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d011a8012d800f0005c4e7b80007013f2a..."} 
[2026-08-22 19:42:55] local.INFO: Processing buffer {"connection_id":160236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d011a8012d800f0005c4e7b80007013f2a..."} 
[2026-08-22 19:42:55] local.INFO: Packet analysis {"connection_id":160236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d0"} 
[2026-08-22 19:42:55] local.INFO: Extracted packet for processing {"connection_id":160236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d0"} 
[2026-08-22 19:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763367168,"raw_latitude":96790456,"longitude_deg":76.3367168,"latitude_deg":9.6790456,"altitude":7,"angle":319,"satellites":42,"speed":16,"hex_longitude":"2d800f00","hex_latitude":"05c4e7b8","is_valid_coordinates":true} 
[2026-08-22 19:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576420096001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389009172412235776,"note":"Value kept but may cause issues"} 
[2026-08-22 19:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9216968456356763648,"note":"Value kept but may cause issues"} 
[2026-08-22 19:42:55] 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-22 19:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787407897000,"timestamp_ms":1787407897000,"timestamp_seconds":1787407897,"priority":1,"record_length":96,"hex_timestamp":"000001a029d011a8"} 
[2026-08-22 19:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:42: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-22 19:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 19:42:55] 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-22 19:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:42: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-22 19:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576420096001,"66":27376,"98":206,"85":12288,"24":16,"16":389009172412235776,"45":-9216968456356763648},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576420096001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:42:55] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:42:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389009172412235776,"km_value":389009172412235.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9216968456356763648,"description":"Unknown IO ID 45"} 
[2026-08-22 19:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576420096001,"power":27376,"unknown_98":206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":-9216968456356763648}} 
[2026-08-22 19:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":160236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:42:55] local.INFO: GPS data processed {"connection_id":160236,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:42:55] local.INFO: Acknowledgment sent {"connection_id":160236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:43:26] local.INFO: TCP Data received {"connection_id":160236,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d01d60012d800c4005c4eba00007014c2c..."} 
[2026-08-22 19:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d01d60012d800c4005c4eba00007014c2c..."} 
[2026-08-22 19:43:26] local.INFO: Processing buffer {"connection_id":160236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d01d60012d800c4005c4eba00007014c2c..."} 
[2026-08-22 19:43:26] local.INFO: Packet analysis {"connection_id":160236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d0"} 
[2026-08-22 19:43:26] local.INFO: Extracted packet for processing {"connection_id":160236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d0"} 
[2026-08-22 19:43:26] local.INFO: GPS Element Parsed {"raw_longitude":763366464,"raw_latitude":96791456,"longitude_deg":76.3366464,"latitude_deg":9.6791456,"altitude":7,"angle":332,"satellites":44,"speed":17,"hex_longitude":"2d800c40","hex_latitude":"05c4eba0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576421632001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389009232541777920,"note":"Value kept but may cause issues"} 
[2026-08-22 19:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219149887425759232,"note":"Value kept but may cause issues"} 
[2026-08-22 19:43: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-22 19:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787407900000,"timestamp_ms":1787407900000,"timestamp_seconds":1787407900,"priority":1,"record_length":96,"hex_timestamp":"000001a029d01d60"} 
[2026-08-22 19: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-22 19: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-22 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 19:43:26] 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-22 19: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-22 19: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-22 19:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:43: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-22 19:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576421632001,"66":27376,"98":206,"85":12288,"24":17,"16":389009232541777920,"45":-9219149887425759232},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576421632001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:43:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:43:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389009232541777920,"km_value":389009232541777.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219149887425759232,"description":"Unknown IO ID 45"} 
[2026-08-22 19:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576421632001,"power":27376,"unknown_98":206,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":-9219149887425759232}} 
[2026-08-22 19:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":160236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:43:26] local.INFO: GPS data processed {"connection_id":160236,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:43:26] local.INFO: Acknowledgment sent {"connection_id":160236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:43:53] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:43:53] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:43:53] local.INFO: IMEI packet received {"connection_id":160013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":160013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:43:55] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:43:55] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:43:55] local.INFO: IMEI packet received {"connection_id":160013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":160013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:43:56] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d05be0012d7ffc8005c504f00007014127..."} 
[2026-08-22 19:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d05be0012d7ffc8005c504f00007014127..."} 
[2026-08-22 19:43:56] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d05be0012d7ffc8005c504f00007014127..."} 
[2026-08-22 19:43:56] local.INFO: Packet analysis {"connection_id":160013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d0"} 
[2026-08-22 19:43:56] local.INFO: Extracted packet for processing {"connection_id":160013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d0"} 
[2026-08-22 19:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763362432,"raw_latitude":96797936,"longitude_deg":76.3362432,"latitude_deg":9.6797936,"altitude":7,"angle":321,"satellites":39,"speed":22,"hex_longitude":"2d7ffc80","hex_latitude":"05c504f0","is_valid_coordinates":true} 
[2026-08-22 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-22 19:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576422400001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389009601908965376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219923943611457536,"note":"Value kept but may cause issues"} 
[2026-08-22 19:43: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-22 19:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787407916000,"timestamp_ms":1787407916000,"timestamp_seconds":1787407916,"priority":1,"record_length":96,"hex_timestamp":"000001a029d05be0"} 
[2026-08-22 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-22 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-22 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":240,"data_length":795,"current_offset":136} 
[2026-08-22 19:43:56] 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-22 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-22 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-22 19:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:43: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-22 19:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576422400001,"66":27397,"98":206,"85":12288,"24":22,"16":389009601908965376,"45":-9219923943611457536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576422400001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:43:56] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389009601908965376,"km_value":389009601908965.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219923943611457536,"description":"Unknown IO ID 45"} 
[2026-08-22 19:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576422400001,"power":27397,"unknown_98":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":-9219923943611457536}} 
[2026-08-22 19:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":160013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:43:56] local.INFO: GPS data processed {"connection_id":160013,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:43:56] local.INFO: Acknowledgment sent {"connection_id":160013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:43:59] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d09678012d7fe5c005c522a80005014127..."} 
[2026-08-22 19:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d09678012d7fe5c005c522a80005014127..."} 
[2026-08-22 19:43:59] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d09678012d7fe5c005c522a80005014127..."} 
[2026-08-22 19:43:59] local.INFO: Packet analysis {"connection_id":160013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d0"} 
[2026-08-22 19:43:59] local.INFO: Extracted packet for processing {"connection_id":160013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d0"} 
[2026-08-22 19:43:59] local.INFO: GPS Element Parsed {"raw_longitude":763356608,"raw_latitude":96805544,"longitude_deg":76.3356608,"latitude_deg":9.6805544,"altitude":5,"angle":321,"satellites":39,"speed":26,"hex_longitude":"2d7fe5c0","hex_latitude":"05c522a8","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576426496001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389010065765433344,"note":"Value kept but may cause issues"} 
[2026-08-22 19:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9222386899216560128,"note":"Value kept but may cause issues"} 
[2026-08-22 19:43:59] 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-22 19:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787407931000,"timestamp_ms":1787407931000,"timestamp_seconds":1787407931,"priority":1,"record_length":96,"hex_timestamp":"000001a029d09678"} 
[2026-08-22 19: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-22 19:43: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-22 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 19:43:59] 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-22 19: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-22 19: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-22 19:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:43: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-22 19:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576426496001,"66":27376,"98":206,"85":12288,"24":26,"16":389010065765433344,"45":9222386899216560128},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-22 19:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576426496001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:43:59] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-22 19:43:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389010065765433344,"km_value":389010065765433.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9222386899216560128,"description":"Unknown IO ID 45"} 
[2026-08-22 19:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576426496001,"power":27376,"unknown_98":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9222386899216560128}} 
[2026-08-22 19:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":160013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:43:59] local.INFO: GPS data processed {"connection_id":160013,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:43:59] local.INFO: Acknowledgment sent {"connection_id":160013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:44:30] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d0d4f8012d7fcfc005c53fb0000801442b..."} 
[2026-08-22 19:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d0d4f8012d7fcfc005c53fb0000801442b..."} 
[2026-08-22 19:44:30] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d0d4f8012d7fcfc005c53fb0000801442b..."} 
[2026-08-22 19:44:30] local.INFO: Packet analysis {"connection_id":160013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d0"} 
[2026-08-22 19:44:30] local.INFO: Extracted packet for processing {"connection_id":160013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d0"} 
[2026-08-22 19:44:30] local.INFO: GPS Element Parsed {"raw_longitude":763350976,"raw_latitude":96812976,"longitude_deg":76.3350976,"latitude_deg":9.6812976,"altitude":8,"angle":324,"satellites":43,"speed":20,"hex_longitude":"2d7fcfc0","hex_latitude":"05c53fb0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576430336001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389010516736999424,"note":"Value kept but may cause issues"} 
[2026-08-22 19:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9215983343498340352,"note":"Value kept but may cause issues"} 
[2026-08-22 19:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787407947000,"timestamp_ms":1787407947000,"timestamp_seconds":1787407947,"priority":1,"record_length":96,"hex_timestamp":"000001a029d0d4f8"} 
[2026-08-22 19: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-22 19: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-22 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 19:44: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-22 19: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-22 19: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-22 19:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:44: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-22 19:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576430336001,"66":27343,"89":206,"85":12288,"24":20,"16":389010516736999424,"45":9215983343498340352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-22 19:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576430336001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:44:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-22 19:44:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389010516736999424,"km_value":389010516736999.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9215983343498340352,"description":"Unknown IO ID 45"} 
[2026-08-22 19:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576430336001,"power":27343,"unknown_89":206,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":9215983343498340352}} 
[2026-08-22 19:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":160013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:44:30] local.INFO: GPS data processed {"connection_id":160013,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:44:30] local.INFO: Acknowledgment sent {"connection_id":160013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:44:48] local.INFO: TCP Data received {"connection_id":161187,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:44:48] local.INFO: Processing buffer {"connection_id":161187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:44:48] local.INFO: IMEI packet received {"connection_id":161187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":161187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:44:53] local.INFO: TCP Data received {"connection_id":161187,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:44:53] local.INFO: Processing buffer {"connection_id":161187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:44:53] local.INFO: IMEI packet received {"connection_id":161187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":161187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:44:54] local.INFO: TCP Data received {"connection_id":161187,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d11f30012d7fbb4005c55bc0000701432b..."} 
[2026-08-22 19:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d11f30012d7fbb4005c55bc0000701432b..."} 
[2026-08-22 19:44:54] local.INFO: Processing buffer {"connection_id":161187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d11f30012d7fbb4005c55bc0000701432b..."} 
[2026-08-22 19:44:54] local.INFO: Packet analysis {"connection_id":161187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d1"} 
[2026-08-22 19:44:54] local.INFO: Extracted packet for processing {"connection_id":161187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d1"} 
[2026-08-22 19:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763345728,"raw_latitude":96820160,"longitude_deg":76.3345728,"latitude_deg":9.682016,"altitude":7,"angle":323,"satellites":43,"speed":15,"hex_longitude":"2d7fbb40","hex_latitude":"05c55bc0","is_valid_coordinates":true} 
[2026-08-22 19:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576434432001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389010946233729024,"note":"Value kept but may cause issues"} 
[2026-08-22 19:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9209790894012608512,"note":"Value kept but may cause issues"} 
[2026-08-22 19:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787407966000,"timestamp_ms":1787407966000,"timestamp_seconds":1787407966,"priority":1,"record_length":96,"hex_timestamp":"000001a029d11f30"} 
[2026-08-22 19:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:44: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-22 19:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 19:44: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-22 19:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:44:54] 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-22 19:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576434432001,"66":27267,"89":206,"85":12288,"24":15,"16":389010946233729024,"45":9209790894012608512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-22 19:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576434432001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:44:54] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-22 19:44:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389010946233729024,"km_value":389010946233729.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9209790894012608512,"description":"Unknown IO ID 45"} 
[2026-08-22 19:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576434432001,"power":27267,"unknown_89":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":9209790894012608512}} 
[2026-08-22 19:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":161187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:44:54] local.INFO: GPS data processed {"connection_id":161187,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:44:54] local.INFO: Acknowledgment sent {"connection_id":161187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:45:25] local.INFO: TCP Data received {"connection_id":161187,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d16580012d7fa54005c579580007014229..."} 
[2026-08-22 19:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d16580012d7fa54005c579580007014229..."} 
[2026-08-22 19:45:25] local.INFO: Processing buffer {"connection_id":161187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d16580012d7fa54005c579580007014229..."} 
[2026-08-22 19:45:25] local.INFO: Packet analysis {"connection_id":161187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d1"} 
[2026-08-22 19:45:25] local.INFO: Extracted packet for processing {"connection_id":161187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d1"} 
[2026-08-22 19:45:25] local.INFO: GPS Element Parsed {"raw_longitude":763340096,"raw_latitude":96827736,"longitude_deg":76.3340096,"latitude_deg":9.6827736,"altitude":7,"angle":322,"satellites":41,"speed":25,"hex_longitude":"2d7fa540","hex_latitude":"05c57958","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576439296001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389011401500262400,"note":"Value kept but may cause issues"} 
[2026-08-22 19:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9204020656991879168,"note":"Value kept but may cause issues"} 
[2026-08-22 19:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787407984000,"timestamp_ms":1787407984000,"timestamp_seconds":1787407984,"priority":1,"record_length":96,"hex_timestamp":"000001a029d16580"} 
[2026-08-22 19: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-22 19: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-22 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 19:45:25] 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-22 19: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-22 19: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-22 19:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:45: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-22 19:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576439296001,"66":27332,"89":206,"85":12288,"24":25,"16":389011401500262400,"45":9204020656991879168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-22 19:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576439296001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:45:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-22 19:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389011401500262400,"km_value":389011401500262.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9204020656991879168,"description":"Unknown IO ID 45"} 
[2026-08-22 19:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576439296001,"power":27332,"unknown_89":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9204020656991879168}} 
[2026-08-22 19:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":161187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:45:25] local.INFO: GPS data processed {"connection_id":161187,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:45:25] local.INFO: Acknowledgment sent {"connection_id":161187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:45:46] local.INFO: TCP Data received {"connection_id":161189,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:45:46] local.INFO: Processing buffer {"connection_id":161189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:45:46] local.INFO: IMEI packet received {"connection_id":161189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":161189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:45:48] local.INFO: TCP Data received {"connection_id":161189,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:45:48] local.INFO: Processing buffer {"connection_id":161189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:45:48] local.INFO: IMEI packet received {"connection_id":161189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":161189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:45:53] local.INFO: TCP Data received {"connection_id":161189,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:45:53] local.INFO: Processing buffer {"connection_id":161189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:45:53] local.INFO: IMEI packet received {"connection_id":161189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":161189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:45:53] local.INFO: TCP Data received {"connection_id":161189,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d19848012d7f908005c59578000801432a..."} 
[2026-08-22 19:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d19848012d7f908005c59578000801432a..."} 
[2026-08-22 19:45:53] local.INFO: Processing buffer {"connection_id":161189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d19848012d7f908005c59578000801432a..."} 
[2026-08-22 19:45:53] local.INFO: Packet analysis {"connection_id":161189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d1"} 
[2026-08-22 19:45:53] local.INFO: Extracted packet for processing {"connection_id":161189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d1"} 
[2026-08-22 19:45:53] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":96834936,"longitude_deg":76.3334784,"latitude_deg":9.6834936,"altitude":8,"angle":323,"satellites":42,"speed":26,"hex_longitude":"2d7f9080","hex_latitude":"05c59578","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576443904001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389011835291959296,"note":"Value kept but may cause issues"} 
[2026-08-22 19:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207506184192,"note":"Value kept but may cause issues"} 
[2026-08-22 19:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787407997000,"timestamp_ms":1787407997000,"timestamp_seconds":1787407997,"priority":1,"record_length":96,"hex_timestamp":"000001a029d19848"} 
[2026-08-22 19: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-22 19:45: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-22 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 19:45:53] 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-22 19: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-22 19: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-22 19:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:45:53] 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-22 19:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576443904001,"66":27300,"89":206,"85":12288,"24":26,"16":389011835291959296,"45":9197828207506184192},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-22 19:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576443904001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:45:53] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-22 19:45:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389011835291959296,"km_value":389011835291959.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207506184192,"description":"Unknown IO ID 45"} 
[2026-08-22 19:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576443904001,"power":27300,"unknown_89":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9197828207506184192}} 
[2026-08-22 19:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":161189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:45:54] local.INFO: GPS data processed {"connection_id":161189,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:45:54] local.INFO: Acknowledgment sent {"connection_id":161189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:46:25] local.INFO: TCP Data received {"connection_id":161189,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d1d2e0012d7f7a8005c5b378000801442d..."} 
[2026-08-22 19:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d1d2e0012d7f7a8005c5b378000801442d..."} 
[2026-08-22 19:46:25] local.INFO: Processing buffer {"connection_id":161189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d1d2e0012d7f7a8005c5b378000801442d..."} 
[2026-08-22 19:46:25] local.INFO: Packet analysis {"connection_id":161189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d1"} 
[2026-08-22 19:46:25] local.INFO: Extracted packet for processing {"connection_id":161189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d1"} 
[2026-08-22 19:46:25] local.INFO: GPS Element Parsed {"raw_longitude":763329152,"raw_latitude":96842616,"longitude_deg":76.3329152,"latitude_deg":9.6842616,"altitude":8,"angle":324,"satellites":45,"speed":25,"hex_longitude":"2d7f7a80","hex_latitude":"05c5b378","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576447232001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389012294853459968,"note":"Value kept but may cause issues"} 
[2026-08-22 19:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601741281280,"note":"Value kept but may cause issues"} 
[2026-08-22 19:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787408012000,"timestamp_ms":1787408012000,"timestamp_seconds":1787408012,"priority":1,"record_length":96,"hex_timestamp":"000001a029d1d2e0"} 
[2026-08-22 19: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-22 19: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-22 19: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":164,"data_length":795,"current_offset":136} 
[2026-08-22 19:46:25] 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-22 19: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-22 19: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-22 19:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:46: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-22 19:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576447232001,"66":27343,"89":206,"85":12288,"24":25,"16":389012294853459968,"45":9191987601741281280},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-22 19:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576447232001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:46:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-22 19:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389012294853459968,"km_value":389012294853459.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601741281280,"description":"Unknown IO ID 45"} 
[2026-08-22 19:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576447232001,"power":27343,"unknown_89":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9191987601741281280}} 
[2026-08-22 19:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":161189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:46:25] local.INFO: GPS data processed {"connection_id":161189,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:46:25] local.INFO: Acknowledgment sent {"connection_id":161189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:46:48] local.INFO: TCP Data received {"connection_id":160014,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:46:48] local.INFO: Processing buffer {"connection_id":160014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:46:48] local.INFO: IMEI packet received {"connection_id":160014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":160014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:46:51] local.INFO: TCP Data received {"connection_id":160014,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:46:51] local.INFO: Processing buffer {"connection_id":160014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:46:51] local.INFO: IMEI packet received {"connection_id":160014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":160014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:46:53] local.INFO: TCP Data received {"connection_id":160014,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:46:53] local.INFO: Processing buffer {"connection_id":160014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:46:53] local.INFO: IMEI packet received {"connection_id":160014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":160014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:46:54] local.INFO: TCP Data received {"connection_id":160014,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d20d78012d7f650005c5d028000901432c..."} 
[2026-08-22 19:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d20d78012d7f650005c5d028000901432c..."} 
[2026-08-22 19:46:54] local.INFO: Processing buffer {"connection_id":160014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d20d78012d7f650005c5d028000901432c..."} 
[2026-08-22 19:46:54] local.INFO: Packet analysis {"connection_id":160014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d2"} 
[2026-08-22 19:46:54] local.INFO: Extracted packet for processing {"connection_id":160014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d2"} 
[2026-08-22 19:46:54] local.INFO: GPS Element Parsed {"raw_longitude":763323648,"raw_latitude":96849960,"longitude_deg":76.3323648,"latitude_deg":9.684996,"altitude":9,"angle":323,"satellites":44,"speed":29,"hex_longitude":"2d7f6500","hex_latitude":"05c5d028","is_valid_coordinates":true} 
[2026-08-22 19:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576451072001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389012737235091456,"note":"Value kept but may cause issues"} 
[2026-08-22 19:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9185795152255612928,"note":"Value kept but may cause issues"} 
[2026-08-22 19:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787408027000,"timestamp_ms":1787408027000,"timestamp_seconds":1787408027,"priority":1,"record_length":96,"hex_timestamp":"000001a029d20d78"} 
[2026-08-22 19:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:46: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-22 19:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 19:46: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-22 19:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:46:54] 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-22 19:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576451072001,"66":27343,"89":206,"85":12288,"24":29,"16":389012737235091456,"45":9185795152255612928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-22 19:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576451072001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:46:54] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-22 19:46:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389012737235091456,"km_value":389012737235091.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9185795152255612928,"description":"Unknown IO ID 45"} 
[2026-08-22 19:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576451072001,"power":27343,"unknown_89":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9185795152255612928}} 
[2026-08-22 19:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":160014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:46:55] local.INFO: GPS data processed {"connection_id":160014,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:46:55] local.INFO: Acknowledgment sent {"connection_id":160014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:46:59] local.INFO: TCP Data received {"connection_id":160014,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d24040012d7f4fc005c5ed78000801462a..."} 
[2026-08-22 19:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d24040012d7f4fc005c5ed78000801462a..."} 
[2026-08-22 19:46:59] local.INFO: Processing buffer {"connection_id":160014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d24040012d7f4fc005c5ed78000801462a..."} 
[2026-08-22 19:46:59] local.INFO: Packet analysis {"connection_id":160014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d2"} 
[2026-08-22 19:46:59] local.INFO: Extracted packet for processing {"connection_id":160014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d2"} 
[2026-08-22 19:46:59] local.INFO: GPS Element Parsed {"raw_longitude":763318208,"raw_latitude":96857464,"longitude_deg":76.3318208,"latitude_deg":9.6857464,"altitude":8,"angle":326,"satellites":42,"speed":23,"hex_longitude":"2d7f4fc0","hex_latitude":"05c5ed78","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576454912001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389013183911690240,"note":"Value kept but may cause issues"} 
[2026-08-22 19:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179743440258213888,"note":"Value kept but may cause issues"} 
[2026-08-22 19:46:59] 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-22 19:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787408040000,"timestamp_ms":1787408040000,"timestamp_seconds":1787408040,"priority":1,"record_length":96,"hex_timestamp":"000001a029d24040"} 
[2026-08-22 19: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-22 19:46: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-22 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 19:46: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-22 19: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-22 19: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-22 19:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:46: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-22 19:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576454912001,"66":27376,"100":206,"85":12288,"24":23,"16":389013183911690240,"45":9179743440258213888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-22 19:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576454912001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:46:59] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-22 19:46:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389013183911690240,"km_value":389013183911690.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179743440258213888,"description":"Unknown IO ID 45"} 
[2026-08-22 19:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576454912001,"power":27376,"unknown_100":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":9179743440258213888}} 
[2026-08-22 19:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":160014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:46:59] local.INFO: GPS data processed {"connection_id":160014,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:46:59] local.INFO: Acknowledgment sent {"connection_id":160014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:47:02] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:47:02] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:47:02] local.INFO: IMEI packet received {"connection_id":160237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":160237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:47:04] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029d3d298012d123d0007260800002a000a29..."} 
[2026-08-22 19:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d3d298012d123d0007260800002a000a29..."} 
[2026-08-22 19:47:04] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d3d298012d123d0007260800002a000a29..."} 
[2026-08-22 19:47:04] local.INFO: Packet analysis {"connection_id":160237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d3"} 
[2026-08-22 19:47:04] local.INFO: Extracted packet for processing {"connection_id":160237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d3"} 
[2026-08-22 19:47:04] local.INFO: GPS Element Parsed {"raw_longitude":756169984,"raw_latitude":119932928,"longitude_deg":75.6169984,"latitude_deg":11.9932928,"altitude":42,"angle":10,"satellites":41,"speed":31,"hex_longitude":"2d123d00","hex_latitude":"07260800","is_valid_coordinates":true} 
[2026-08-22 19:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576484352001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14927158837248000,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1313995590732146688,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:04] 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-22 19:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787408143000,"timestamp_ms":1787408143000,"timestamp_seconds":1787408143,"priority":1,"record_length":96,"hex_timestamp":"000001a029d3d298"} 
[2026-08-22 19:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-22 19:47:04] 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-22 19:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:47:04] 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-22 19:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576484352001,"66":13472,"106":206,"83":42752,"24":31,"16":14927158837248000,"45":1313995590732146688},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 19:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576484352001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:47:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 19:47:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14927158837248000,"km_value":14927158837248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1313995590732146688,"description":"Unknown IO ID 45"} 
[2026-08-22 19:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576484352001,"power":13472,"unknown_106":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1313995590732146688}} 
[2026-08-22 19:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":160237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:47:04] local.INFO: GPS data processed {"connection_id":160237,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:47:04] local.INFO: Acknowledgment sent {"connection_id":160237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:47:30] local.INFO: TCP Data received {"connection_id":160014,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d27ad8012d7f3a4005c60bc00006014529..."} 
[2026-08-22 19:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d27ad8012d7f3a4005c60bc00006014529..."} 
[2026-08-22 19:47:30] local.INFO: Processing buffer {"connection_id":160014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d27ad8012d7f3a4005c60bc00006014529..."} 
[2026-08-22 19:47:30] local.INFO: Packet analysis {"connection_id":160014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d2"} 
[2026-08-22 19:47:30] local.INFO: Extracted packet for processing {"connection_id":160014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d2"} 
[2026-08-22 19:47:30] local.INFO: GPS Element Parsed {"raw_longitude":763312704,"raw_latitude":96865216,"longitude_deg":76.3312704,"latitude_deg":9.6865216,"altitude":6,"angle":325,"satellites":41,"speed":27,"hex_longitude":"2d7f3a40","hex_latitude":"05c60bc0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576458240001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389013643473190912,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9173762097005033472,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787408055000,"timestamp_ms":1787408055000,"timestamp_seconds":1787408055,"priority":1,"record_length":96,"hex_timestamp":"000001a029d27ad8"} 
[2026-08-22 19: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-22 19:47: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-22 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 19:47: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-22 19: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-22 19: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-22 19:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:47: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-22 19:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576458240001,"66":27343,"89":206,"85":12288,"24":27,"16":389013643473190912,"45":9173762097005033472},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-22 19:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576458240001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:47:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-22 19:47:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389013643473190912,"km_value":389013643473190.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9173762097005033472,"description":"Unknown IO ID 45"} 
[2026-08-22 19:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576458240001,"power":27343,"unknown_89":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9173762097005033472}} 
[2026-08-22 19:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":160014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:47:30] local.INFO: GPS data processed {"connection_id":160014,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:47:30] local.INFO: Acknowledgment sent {"connection_id":160014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:47:36] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029d3d680012d123e8007260ae8002b00182a..."} 
[2026-08-22 19:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d3d680012d123e8007260ae8002b00182a..."} 
[2026-08-22 19:47:36] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d3d680012d123e8007260ae8002b00182a..."} 
[2026-08-22 19:47:36] local.INFO: Packet analysis {"connection_id":160237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d3"} 
[2026-08-22 19:47:36] local.INFO: Extracted packet for processing {"connection_id":160237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d3"} 
[2026-08-22 19:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756170368,"raw_latitude":119933672,"longitude_deg":75.6170368,"latitude_deg":11.9933672,"altitude":43,"angle":24,"satellites":42,"speed":31,"hex_longitude":"2d123e80","hex_latitude":"07260ae8","is_valid_coordinates":true} 
[2026-08-22 19:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576484608001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14927197491953664,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1314206696964882432,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:36] 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-22 19:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787408144000,"timestamp_ms":1787408144000,"timestamp_seconds":1787408144,"priority":1,"record_length":96,"hex_timestamp":"000001a029d3d680"} 
[2026-08-22 19:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:47:36] 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-22 19:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 19:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:47:36] 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-22 19:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576484608001,"66":13472,"106":206,"83":42752,"24":31,"16":14927197491953664,"45":1314206696964882432},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 19:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576484608001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:47:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 19:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14927197491953664,"km_value":14927197491953.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1314206696964882432,"description":"Unknown IO ID 45"} 
[2026-08-22 19:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576484608001,"power":13472,"unknown_106":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1314206696964882432}} 
[2026-08-22 19:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":160237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:47:36] local.INFO: GPS data processed {"connection_id":160237,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:47:36] local.INFO: Acknowledgment sent {"connection_id":160237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:47:48] local.INFO: TCP Data received {"connection_id":162613,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:47:48] local.INFO: Processing buffer {"connection_id":162613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:47:48] local.INFO: IMEI packet received {"connection_id":162613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":162613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:47:51] local.INFO: TCP Data received {"connection_id":160238,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:47:51] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:47:51] local.INFO: IMEI packet received {"connection_id":160238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":160238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:47:52] local.INFO: TCP Data received {"connection_id":160238,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:47:52] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:47:52] local.INFO: IMEI packet received {"connection_id":160238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":160238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:47:53] local.INFO: TCP Data received {"connection_id":162613,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:47:53] local.INFO: Processing buffer {"connection_id":162613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:47:53] local.INFO: IMEI packet received {"connection_id":162613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":162613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:47:54] local.INFO: TCP Data received {"connection_id":162613,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d2c128012d7f248005c628c80009014d2d..."} 
[2026-08-22 19:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d2c128012d7f248005c628c80009014d2d..."} 
[2026-08-22 19:47:54] local.INFO: Processing buffer {"connection_id":162613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d2c128012d7f248005c628c80009014d2d..."} 
[2026-08-22 19:47:54] local.INFO: Packet analysis {"connection_id":162613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d2"} 
[2026-08-22 19:47:54] local.INFO: Extracted packet for processing {"connection_id":162613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d2"} 
[2026-08-22 19:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763307136,"raw_latitude":96872648,"longitude_deg":76.3307136,"latitude_deg":9.6872648,"altitude":9,"angle":333,"satellites":45,"speed":19,"hex_longitude":"2d7f2480","hex_latitude":"05c628c8","is_valid_coordinates":true} 
[2026-08-22 19:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576462080001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389014094444756992,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167710385007738880,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787408073000,"timestamp_ms":1787408073000,"timestamp_seconds":1787408073,"priority":1,"record_length":96,"hex_timestamp":"000001a029d2c128"} 
[2026-08-22 19:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:47: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-22 19:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 19:47: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-22 19:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:47:54] 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-22 19:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576462080001,"66":27463,"89":206,"85":12288,"24":19,"16":389014094444756992,"45":9167710385007738880},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-22 19:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576462080001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:47:54] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-22 19:47:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389014094444756992,"km_value":389014094444757.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167710385007738880,"description":"Unknown IO ID 45"} 
[2026-08-22 19:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576462080001,"power":27463,"unknown_89":206,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":9167710385007738880}} 
[2026-08-22 19:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":162613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:47:54] local.INFO: GPS data processed {"connection_id":162613,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:47:54] local.INFO: Acknowledgment sent {"connection_id":162613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:47:57] local.INFO: TCP Data received {"connection_id":160238,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:47:57] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:47:57] local.INFO: IMEI packet received {"connection_id":160238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":160238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:47:58] local.INFO: TCP Data received {"connection_id":160238,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029d50730012d1338400726bd600030004c2a..."} 
[2026-08-22 19:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d50730012d1338400726bd600030004c2a..."} 
[2026-08-22 19:47:58] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d50730012d1338400726bd600030004c2a..."} 
[2026-08-22 19:47:58] local.INFO: Packet analysis {"connection_id":160238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d5"} 
[2026-08-22 19:47:58] local.INFO: Extracted packet for processing {"connection_id":160238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d5"} 
[2026-08-22 19:47:58] local.INFO: GPS Element Parsed {"raw_longitude":756234304,"raw_latitude":119979360,"longitude_deg":75.6234304,"latitude_deg":11.997936,"altitude":48,"angle":76,"satellites":42,"speed":44,"hex_longitude":"2d133840","hex_latitude":"0726bd60","is_valid_coordinates":true} 
[2026-08-22 19:47: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-22 19:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576503808001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14931028602781696,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1379931104038295552,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787408222000,"timestamp_ms":1787408222000,"timestamp_seconds":1787408222,"priority":1,"record_length":96,"hex_timestamp":"000001a029d50730"} 
[2026-08-22 19:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:47: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":12,"data_length":795,"current_offset":136} 
[2026-08-22 19:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751527176,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:58] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4467796665805360723,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634926807934314,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1701445838,"corrected_to":0} 
[2026-08-22 19:47:58] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3221694041,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:58] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:58] local.WARNING: Large IO value detected {"io_id":18,"raw_value":6539234519645945904,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:58] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755575534846193,"note":"Value kept but may cause issues"} 
[2026-08-22 19:47:58] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,52,83,24,241,157,16,11,160,216,45,164,48,41,10,66,106,185,147,38,153,128,1,240,116,227,4,113,205,42,87,134,8,239,2,53,7,17,18,167],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1701445838,"validated":0}]} 
[2026-08-22 19:47:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458833963444797440,"timestamp_seconds":3458833963444797.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 19:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:47:58] 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-22 19:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576503808001,"66":13472,"52":206,"83":42752,"24":44,"16":14931028602781696,"45":1379931104038295552},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-22 19:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576503808001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:47:58] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-22 19:47:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14931028602781696,"km_value":14931028602781.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1379931104038295552,"description":"Unknown IO ID 45"} 
[2026-08-22 19:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576503808001,"power":13472,"unknown_52":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1379931104038295552}} 
[2026-08-22 19:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":160238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:47:58] local.INFO: GPS data processed {"connection_id":160238,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:47:58] local.INFO: Acknowledgment sent {"connection_id":160238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:48:25] local.INFO: TCP Data received {"connection_id":162613,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d2f7d8012d7f10c005c646b8000801442d..."} 
[2026-08-22 19:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d2f7d8012d7f10c005c646b8000801442d..."} 
[2026-08-22 19:48:25] local.INFO: Processing buffer {"connection_id":162613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d2f7d8012d7f10c005c646b8000801442d..."} 
[2026-08-22 19:48:25] local.INFO: Packet analysis {"connection_id":162613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d2"} 
[2026-08-22 19:48:25] local.INFO: Extracted packet for processing {"connection_id":162613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d2"} 
[2026-08-22 19:48:25] local.INFO: GPS Element Parsed {"raw_longitude":763302080,"raw_latitude":96880312,"longitude_deg":76.330208,"latitude_deg":9.6880312,"altitude":8,"angle":324,"satellites":45,"speed":29,"hex_longitude":"2d7f10c0","hex_latitude":"05c646b8","is_valid_coordinates":true} 
[2026-08-22 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-22 19:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576466688001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389014536826388480,"note":"Value kept but may cause issues"} 
[2026-08-22 19:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161588304266184704,"note":"Value kept but may cause issues"} 
[2026-08-22 19:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787408087000,"timestamp_ms":1787408087000,"timestamp_seconds":1787408087,"priority":1,"record_length":96,"hex_timestamp":"000001a029d2f7d8"} 
[2026-08-22 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-22 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-22 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 19:48: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-22 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-22 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-22 19:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:48: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-22 19:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576466688001,"66":27463,"89":206,"85":12288,"24":29,"16":389014536826388480,"45":9161588304266184704},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-22 19:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576466688001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:48:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-22 19:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389014536826388480,"km_value":389014536826388.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161588304266184704,"description":"Unknown IO ID 45"} 
[2026-08-22 19:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576466688001,"power":27463,"unknown_89":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9161588304266184704}} 
[2026-08-22 19:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":162613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:48:25] local.INFO: GPS data processed {"connection_id":162613,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:48:25] local.INFO: Acknowledgment sent {"connection_id":162613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:48:30] local.INFO: TCP Data received {"connection_id":160238,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029d51ea0012d1352000726c0180030005a29..."} 
[2026-08-22 19:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d51ea0012d1352000726c0180030005a29..."} 
[2026-08-22 19:48:30] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d51ea0012d1352000726c0180030005a29..."} 
[2026-08-22 19:48:30] local.INFO: Packet analysis {"connection_id":160238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d5"} 
[2026-08-22 19:48:30] local.INFO: Extracted packet for processing {"connection_id":160238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d5"} 
[2026-08-22 19:48:30] local.INFO: GPS Element Parsed {"raw_longitude":756240896,"raw_latitude":119980056,"longitude_deg":75.6240896,"latitude_deg":11.9980056,"altitude":48,"angle":90,"satellites":41,"speed":43,"hex_longitude":"2d135200","hex_latitude":"0726c018","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576504832001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14931346430361600,"note":"Value kept but may cause issues"} 
[2026-08-22 19:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1384927284875321344,"note":"Value kept but may cause issues"} 
[2026-08-22 19:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787408228000,"timestamp_ms":1787408228000,"timestamp_seconds":1787408228,"priority":1,"record_length":96,"hex_timestamp":"000001a029d51ea0"} 
[2026-08-22 19: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-22 19:48: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-22 19: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 19:48:30] 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-22 19: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-22 19: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-22 19:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:48:30] 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-22 19:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576504832001,"66":12613,"52":206,"83":42752,"24":43,"16":14931346430361600,"45":1384927284875321344},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-22 19:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576504832001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:48:30] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-22 19:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14931346430361600,"km_value":14931346430361.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1384927284875321344,"description":"Unknown IO ID 45"} 
[2026-08-22 19:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576504832001,"power":12613,"unknown_52":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1384927284875321344}} 
[2026-08-22 19:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":160238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:48:31] local.INFO: GPS data processed {"connection_id":160238,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:48:31] local.INFO: Acknowledgment sent {"connection_id":160238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:48:48] local.INFO: TCP Data received {"connection_id":162614,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:48:48] local.INFO: Processing buffer {"connection_id":162614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:48:48] local.INFO: IMEI packet received {"connection_id":162614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":162614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:48:50] local.INFO: TCP Data received {"connection_id":162614,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:48:50] local.INFO: Processing buffer {"connection_id":162614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:48:50] local.INFO: IMEI packet received {"connection_id":162614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":162614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:48:52] local.INFO: TCP Data received {"connection_id":161190,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:48:52] local.INFO: Processing buffer {"connection_id":161190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:48:52] local.INFO: IMEI packet received {"connection_id":161190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":161190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:48:53] local.INFO: TCP Data received {"connection_id":162614,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:48:53] local.INFO: Processing buffer {"connection_id":162614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:48:53] local.INFO: IMEI packet received {"connection_id":162614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":162614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:48:54] local.INFO: TCP Data received {"connection_id":162614,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d5a370012d7e0d4005c71138000801302d..."} 
[2026-08-22 19:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d5a370012d7e0d4005c71138000801302d..."} 
[2026-08-22 19:48:54] local.INFO: Processing buffer {"connection_id":162614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d5a370012d7e0d4005c71138000801302d..."} 
[2026-08-22 19:48:54] local.INFO: Packet analysis {"connection_id":162614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d5"} 
[2026-08-22 19:48:54] local.INFO: Extracted packet for processing {"connection_id":162614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d5"} 
[2026-08-22 19:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763235648,"raw_latitude":96932152,"longitude_deg":76.3235648,"latitude_deg":9.6932152,"altitude":8,"angle":304,"satellites":45,"speed":36,"hex_longitude":"2d7e0d40","hex_latitude":"05c71138","is_valid_coordinates":true} 
[2026-08-22 19:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576512256001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:48:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-22 19:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389018621340286976,"note":"Value kept but may cause issues"} 
[2026-08-22 19:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091712141311612928,"note":"Value kept but may cause issues"} 
[2026-08-22 19:48:54] 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-22 19:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787408262000,"timestamp_ms":1787408262000,"timestamp_seconds":1787408262,"priority":1,"record_length":96,"hex_timestamp":"000001a029d5a370"} 
[2026-08-22 19:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:48: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-22 19:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 19:48:54] 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-22 19:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:48:54] 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-22 19:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576512256001,"66":27213,"200":0,"85":12288,"24":36,"16":389018621340286976,"45":9091712141311612928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-22 19:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576512256001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:48:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389018621340286976,"km_value":389018621340287.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091712141311612928,"description":"Unknown IO ID 45"} 
[2026-08-22 19:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576512256001,"power":27213,"gsm_signal":0,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9091712141311612928}} 
[2026-08-22 19:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":162614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:48:54] local.INFO: GPS data processed {"connection_id":162614,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:48:54] local.INFO: Acknowledgment sent {"connection_id":162614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:48:57] local.INFO: TCP Data received {"connection_id":161190,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:48:57] local.INFO: Processing buffer {"connection_id":161190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:48:57] local.INFO: IMEI packet received {"connection_id":161190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":161190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:48:58] local.INFO: TCP Data received {"connection_id":161190,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029d53228012d1367c00726bde00030006829..."} 
[2026-08-22 19:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d53228012d1367c00726bde00030006829..."} 
[2026-08-22 19:48:58] local.INFO: Processing buffer {"connection_id":161190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d53228012d1367c00726bde00030006829..."} 
[2026-08-22 19:48:58] local.INFO: Packet analysis {"connection_id":161190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d5"} 
[2026-08-22 19:48:58] local.INFO: Extracted packet for processing {"connection_id":161190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d5"} 
[2026-08-22 19:48:58] local.INFO: GPS Element Parsed {"raw_longitude":756246464,"raw_latitude":119979488,"longitude_deg":75.6246464,"latitude_deg":11.9979488,"altitude":48,"angle":104,"satellites":41,"speed":43,"hex_longitude":"2d1367c0","hex_latitude":"0726bde0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576506368001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14931612718333952,"note":"Value kept but may cause issues"} 
[2026-08-22 19:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1392175265525798912,"note":"Value kept but may cause issues"} 
[2026-08-22 19:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787408233000,"timestamp_ms":1787408233000,"timestamp_seconds":1787408233,"priority":1,"record_length":96,"hex_timestamp":"000001a029d53228"} 
[2026-08-22 19: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-22 19:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-22 19:48:58] 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-22 19: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-22 19: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-22 19:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:48:58] 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-22 19:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576506368001,"66":13417,"52":206,"83":42752,"24":43,"16":14931612718333952,"45":1392175265525798912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-22 19:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576506368001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:48:58] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-22 19:48:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14931612718333952,"km_value":14931612718333.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1392175265525798912,"description":"Unknown IO ID 45"} 
[2026-08-22 19:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576506368001,"power":13417,"unknown_52":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1392175265525798912}} 
[2026-08-22 19:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":161190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:48:58] local.INFO: GPS data processed {"connection_id":161190,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:48:58] local.INFO: Acknowledgment sent {"connection_id":161190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:49:24] local.INFO: TCP Data received {"connection_id":162614,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d5ca80012d7df00005c726c8000701332e..."} 
[2026-08-22 19:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d5ca80012d7df00005c726c8000701332e..."} 
[2026-08-22 19:49:24] local.INFO: Processing buffer {"connection_id":162614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d5ca80012d7df00005c726c8000701332e..."} 
[2026-08-22 19:49:24] local.INFO: Packet analysis {"connection_id":162614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d5"} 
[2026-08-22 19:49:24] local.INFO: Extracted packet for processing {"connection_id":162614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d5"} 
[2026-08-22 19:49:24] local.INFO: GPS Element Parsed {"raw_longitude":763228160,"raw_latitude":96937672,"longitude_deg":76.322816,"latitude_deg":9.6937672,"altitude":7,"angle":307,"satellites":46,"speed":37,"hex_longitude":"2d7df000","hex_latitude":"05c726c8","is_valid_coordinates":true} 
[2026-08-22 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-22 19:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576515072001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-22 19:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389019068016885760,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9082986417034967040,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:25] 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-22 19:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787408272000,"timestamp_ms":1787408272000,"timestamp_seconds":1787408272,"priority":1,"record_length":96,"hex_timestamp":"000001a029d5ca80"} 
[2026-08-22 19: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-22 19: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-22 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 19:49: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-22 19: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-22 19: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-22 19:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:49: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-22 19:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576515072001,"66":27365,"200":0,"85":12288,"24":37,"16":389019068016885760,"45":9082986417034967040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-22 19:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576515072001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389019068016885760,"km_value":389019068016885.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9082986417034967040,"description":"Unknown IO ID 45"} 
[2026-08-22 19:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576515072001,"power":27365,"gsm_signal":0,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9082986417034967040}} 
[2026-08-22 19:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":162614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:49:25] local.INFO: GPS data processed {"connection_id":162614,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:49:25] local.INFO: Acknowledgment sent {"connection_id":162614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:49:29] local.INFO: TCP Data received {"connection_id":161190,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029d689e8012d145300072694100029004e26..."} 
[2026-08-22 19:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d689e8012d145300072694100029004e26..."} 
[2026-08-22 19:49:29] local.INFO: Processing buffer {"connection_id":161190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d689e8012d145300072694100029004e26..."} 
[2026-08-22 19:49:29] local.INFO: Packet analysis {"connection_id":161190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d6"} 
[2026-08-22 19:49:29] local.INFO: Extracted packet for processing {"connection_id":161190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d6"} 
[2026-08-22 19:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756306688,"raw_latitude":119968784,"longitude_deg":75.6306688,"latitude_deg":11.9968784,"altitude":41,"angle":78,"satellites":38,"speed":45,"hex_longitude":"2d145300","hex_latitude":"07269410","is_valid_coordinates":true} 
[2026-08-22 19:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576528128001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14934692209885184,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1454521972863823872,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787408321000,"timestamp_ms":1787408321000,"timestamp_seconds":1787408321,"priority":1,"record_length":96,"hex_timestamp":"000001a029d689e8"} 
[2026-08-22 19:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-22 19:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:29] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728677,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3248176426262116704,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:29] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3589634049,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1701445838,"corrected_to":0} 
[2026-08-22 19:49:29] local.WARNING: Large IO value detected {"io_id":237,"raw_value":2818649363,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:29] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:29] local.WARNING: Large IO value detected {"io_id":101,"raw_value":7638331826699769856,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:29] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:29] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729339092994,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:29] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,52,83,24,241,157,16,14,160,94,45,192,140,38,42,10,66,87,142,55,1,240,138,227,41,4,113,205,12,237,230,56,239,106,2,53,7,36,13,101,88,206],"length":575,"final_offset":705,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1701445838,"validated":0}]} 
[2026-08-22 19:49:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738277797094752256,"timestamp_seconds":2738277797094752.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 19:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:49:29] 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-22 19:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576528128001,"66":12504,"52":206,"83":42752,"24":45,"16":14934692209885184,"45":1454521972863823872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-22 19:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576528128001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:49:29] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-22 19:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14934692209885184,"km_value":14934692209885.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1454521972863823872,"description":"Unknown IO ID 45"} 
[2026-08-22 19:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576528128001,"power":12504,"unknown_52":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1454521972863823872}} 
[2026-08-22 19:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":161190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:49:29] local.INFO: GPS data processed {"connection_id":161190,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:49:29] local.INFO: Acknowledgment sent {"connection_id":161190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:49:48] local.INFO: TCP Data received {"connection_id":160239,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:49:48] local.INFO: Processing buffer {"connection_id":160239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:49:48] local.INFO: IMEI packet received {"connection_id":160239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":160239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:49:52] local.INFO: TCP Data received {"connection_id":161191,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:49:52] local.INFO: Processing buffer {"connection_id":161191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:49:52] local.INFO: IMEI packet received {"connection_id":161191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":161191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:49:52] local.INFO: TCP Data received {"connection_id":161191,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:49:52] local.INFO: Processing buffer {"connection_id":161191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:49:52] local.INFO: IMEI packet received {"connection_id":161191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":161191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:49:53] local.INFO: TCP Data received {"connection_id":160239,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:49:53] local.INFO: Processing buffer {"connection_id":160239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:49:53] local.INFO: IMEI packet received {"connection_id":160239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":160239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:49:55] local.INFO: TCP Data received {"connection_id":160239,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d5fd48012d7dd30005c73b480008012e2d..."} 
[2026-08-22 19:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d5fd48012d7dd30005c73b480008012e2d..."} 
[2026-08-22 19:49:55] local.INFO: Processing buffer {"connection_id":160239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d5fd48012d7dd30005c73b480008012e2d..."} 
[2026-08-22 19:49:55] local.INFO: Packet analysis {"connection_id":160239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d5"} 
[2026-08-22 19:49:55] local.INFO: Extracted packet for processing {"connection_id":160239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d5"} 
[2026-08-22 19:49:55] local.INFO: GPS Element Parsed {"raw_longitude":763220736,"raw_latitude":96942920,"longitude_deg":76.3220736,"latitude_deg":9.694292,"altitude":8,"angle":302,"satellites":45,"speed":27,"hex_longitude":"2d7dd300","hex_latitude":"05c73b48","is_valid_coordinates":true} 
[2026-08-22 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-22 19:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576517632001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-22 19:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389019501808582656,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9074753273967593472,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49: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-22 19:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787408285000,"timestamp_ms":1787408285000,"timestamp_seconds":1787408285,"priority":1,"record_length":96,"hex_timestamp":"000001a029d5fd48"} 
[2026-08-22 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-22 19:49: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-22 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":229,"data_length":795,"current_offset":136} 
[2026-08-22 19:49: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-22 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-22 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-22 19:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:49: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-22 19:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576517632001,"66":27234,"200":0,"85":12288,"24":27,"16":389019501808582656,"45":9074753273967593472},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-22 19:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576517632001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:49:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389019501808582656,"km_value":389019501808582.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9074753273967593472,"description":"Unknown IO ID 45"} 
[2026-08-22 19:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576517632001,"power":27234,"gsm_signal":0,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9074753273967593472}} 
[2026-08-22 19:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":160239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:49:55] local.INFO: GPS data processed {"connection_id":160239,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:49:55] local.INFO: Acknowledgment sent {"connection_id":160239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:49:55] local.INFO: TCP Data received {"connection_id":161191,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:49:55] local.INFO: Processing buffer {"connection_id":161191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:49:55] local.INFO: IMEI packet received {"connection_id":161191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":161191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:49:57] local.INFO: TCP Data received {"connection_id":161191,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:49:57] local.INFO: Processing buffer {"connection_id":161191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:49:57] local.INFO: IMEI packet received {"connection_id":161191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":161191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:49:57] local.INFO: TCP Data received {"connection_id":161191,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029d69988012d14650007269600002a005d29..."} 
[2026-08-22 19:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d69988012d14650007269600002a005d29..."} 
[2026-08-22 19:49:57] local.INFO: Processing buffer {"connection_id":161191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d69988012d14650007269600002a005d29..."} 
[2026-08-22 19:49:57] local.INFO: Packet analysis {"connection_id":161191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d6"} 
[2026-08-22 19:49:57] local.INFO: Extracted packet for processing {"connection_id":161191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d6"} 
[2026-08-22 19:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756311296,"raw_latitude":119969280,"longitude_deg":75.6311296,"latitude_deg":11.996928,"altitude":42,"angle":93,"satellites":41,"speed":46,"hex_longitude":"2d146500","hex_latitude":"07269600","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576530176001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14934911253217280,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1464514334537551872,"note":"Value kept but may cause issues"} 
[2026-08-22 19:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787408325000,"timestamp_ms":1787408325000,"timestamp_seconds":1787408325,"priority":1,"record_length":96,"hex_timestamp":"000001a029d69988"} 
[2026-08-22 19: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-22 19:49:57] 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-22 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 19:49:57] 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-22 19: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-22 19: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-22 19:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:49:57] 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-22 19:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576530176001,"66":11830,"52":206,"83":42752,"24":46,"16":14934911253217280,"45":1464514334537551872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-22 19:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576530176001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:49:57] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-22 19:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14934911253217280,"km_value":14934911253217.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1464514334537551872,"description":"Unknown IO ID 45"} 
[2026-08-22 19:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576530176001,"power":11830,"unknown_52":206,"unknown_83":42752,"ignition":46,"odometer":null,"unknown_45":1464514334537551872}} 
[2026-08-22 19:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":161191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:49:57] local.INFO: GPS data processed {"connection_id":161191,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:49:57] local.INFO: Acknowledgment sent {"connection_id":161191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:50:00] local.INFO: TCP Data received {"connection_id":161191,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029d6a158012d146dc007269428002a006a2a..."} 
[2026-08-22 19:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d6a158012d146dc007269428002a006a2a..."} 
[2026-08-22 19:50:00] local.INFO: Processing buffer {"connection_id":161191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d6a158012d146dc007269428002a006a2a..."} 
[2026-08-22 19:50:00] local.INFO: Packet analysis {"connection_id":161191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d6"} 
[2026-08-22 19:50:00] local.INFO: Extracted packet for processing {"connection_id":161191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d6"} 
[2026-08-22 19:50:00] local.INFO: GPS Element Parsed {"raw_longitude":756313536,"raw_latitude":119968808,"longitude_deg":75.6313536,"latitude_deg":11.9968808,"altitude":42,"angle":106,"satellites":42,"speed":45,"hex_longitude":"2d146dc0","hex_latitude":"07269428","is_valid_coordinates":true} 
[2026-08-22 19:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576531200001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14935022922366976,"note":"Value kept but may cause issues"} 
[2026-08-22 19:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1469580884118470656,"note":"Value kept but may cause issues"} 
[2026-08-22 19:50:00] 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-22 19:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787408327000,"timestamp_ms":1787408327000,"timestamp_seconds":1787408327,"priority":1,"record_length":96,"hex_timestamp":"000001a029d6a158"} 
[2026-08-22 19:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:50:00] 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-22 19:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-22 19:50:00] 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-22 19:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:50:00] 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-22 19:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576531200001,"66":12504,"137":206,"83":42752,"24":45,"16":14935022922366976,"45":1469580884118470656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 19:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576531200001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:50:00] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 19:50:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14935022922366976,"km_value":14935022922366.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1469580884118470656,"description":"Unknown IO ID 45"} 
[2026-08-22 19:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576531200001,"power":12504,"unknown_137":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1469580884118470656}} 
[2026-08-22 19:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":161191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:50:00] local.INFO: GPS data processed {"connection_id":161191,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:50:00] local.INFO: Acknowledgment sent {"connection_id":161191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:50:30] local.INFO: TCP Data received {"connection_id":160239,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d618a0012d7dc64005c742a8000801202c..."} 
[2026-08-22 19:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d618a0012d7dc64005c742a8000801202c..."} 
[2026-08-22 19:50:30] local.INFO: Processing buffer {"connection_id":160239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d618a0012d7dc64005c742a8000801202c..."} 
[2026-08-22 19:50:30] local.INFO: Packet analysis {"connection_id":160239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d6"} 
[2026-08-22 19:50:30] local.INFO: Extracted packet for processing {"connection_id":160239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d6"} 
[2026-08-22 19:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763217472,"raw_latitude":96944808,"longitude_deg":76.3217472,"latitude_deg":9.6944808,"altitude":8,"angle":288,"satellites":44,"speed":17,"hex_longitude":"2d7dc640","hex_latitude":"05c742a8","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576520960001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:50:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-22 19:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389019686492176384,"note":"Value kept but may cause issues"} 
[2026-08-22 19:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9066590499644327936,"note":"Value kept but may cause issues"} 
[2026-08-22 19:50:30] 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-22 19:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787408292000,"timestamp_ms":1787408292000,"timestamp_seconds":1787408292,"priority":1,"record_length":96,"hex_timestamp":"000001a029d618a0"} 
[2026-08-22 19: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-22 19:50: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-22 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-22 19:50: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-22 19: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-22 19: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-22 19:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:50: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-22 19:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576520960001,"66":27321,"200":0,"85":12288,"24":17,"16":389019686492176384,"45":9066590499644327936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-22 19:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576520960001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389019686492176384,"km_value":389019686492176.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9066590499644327936,"description":"Unknown IO ID 45"} 
[2026-08-22 19:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576520960001,"power":27321,"gsm_signal":0,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":9066590499644327936}} 
[2026-08-22 19:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":160239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:50:30] local.INFO: GPS data processed {"connection_id":160239,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:50:30] local.INFO: Acknowledgment sent {"connection_id":160239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:50:31] local.INFO: TCP Data received {"connection_id":161191,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029d6b8c8012d14868007268ac0002e007528..."} 
[2026-08-22 19:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d6b8c8012d14868007268ac0002e007528..."} 
[2026-08-22 19:50:31] local.INFO: Processing buffer {"connection_id":161191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d6b8c8012d14868007268ac0002e007528..."} 
[2026-08-22 19:50:31] local.INFO: Packet analysis {"connection_id":161191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d6"} 
[2026-08-22 19:50:31] local.INFO: Extracted packet for processing {"connection_id":161191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d6"} 
[2026-08-22 19:50:31] local.INFO: GPS Element Parsed {"raw_longitude":756319872,"raw_latitude":119966400,"longitude_deg":75.6319872,"latitude_deg":11.99664,"altitude":46,"angle":117,"satellites":40,"speed":43,"hex_longitude":"2d148680","hex_latitude":"07268ac0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576531712001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14935345044914176,"note":"Value kept but may cause issues"} 
[2026-08-22 19:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1472043790164568064,"note":"Value kept but may cause issues"} 
[2026-08-22 19:50:31] 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-22 19:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787408333000,"timestamp_ms":1787408333000,"timestamp_seconds":1787408333,"priority":1,"record_length":96,"hex_timestamp":"000001a029d6b8c8"} 
[2026-08-22 19: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-22 19:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 19:50:31] 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-22 19: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-22 19: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-22 19:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:50:31] 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-22 19:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576531712001,"66":13135,"137":206,"83":42752,"24":43,"16":14935345044914176,"45":1472043790164568064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 19:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576531712001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:50:31] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 19:50:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14935345044914176,"km_value":14935345044914.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1472043790164568064,"description":"Unknown IO ID 45"} 
[2026-08-22 19:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576531712001,"power":13135,"unknown_137":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1472043790164568064}} 
[2026-08-22 19:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":161191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:50:31] local.INFO: GPS data processed {"connection_id":161191,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:50:31] local.INFO: Acknowledgment sent {"connection_id":161191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:50:48] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:50:48] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:50:48] local.INFO: IMEI packet received {"connection_id":160015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":160015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:50:49] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:50:49] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:50:49] local.INFO: IMEI packet received {"connection_id":160015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":160015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:50:53] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:50:53] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:50:53] local.INFO: IMEI packet received {"connection_id":160015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":160015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:50:54] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d79f40012d7d198005c86ed0000b01612e..."} 
[2026-08-22 19:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d79f40012d7d198005c86ed0000b01612e..."} 
[2026-08-22 19:50:54] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d79f40012d7d198005c86ed0000b01612e..."} 
[2026-08-22 19:50:54] local.INFO: Packet analysis {"connection_id":160015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:50:54] local.INFO: Extracted packet for processing {"connection_id":160015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:50:54] local.INFO: GPS Element Parsed {"raw_longitude":763173248,"raw_latitude":97021648,"longitude_deg":76.3173248,"latitude_deg":9.7021648,"altitude":11,"angle":353,"satellites":46,"speed":39,"hex_longitude":"2d7d1980","hex_latitude":"05c86ed0","is_valid_coordinates":true} 
[2026-08-22 19:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576546048001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389024200502804480,"note":"Value kept but may cause issues"} 
[2026-08-22 19:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791389159424,"note":"Value kept but may cause issues"} 
[2026-08-22 19:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787408392000,"timestamp_ms":1787408392000,"timestamp_seconds":1787408392,"priority":1,"record_length":96,"hex_timestamp":"000001a029d79f40"} 
[2026-08-22 19:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:50: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-22 19:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 19:50: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-22 19:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:50:54] 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-22 19:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576546048001,"66":27234,"199":206,"85":12288,"24":39,"16":389024200502804480,"45":9015502791389159424},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-22 19:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576546048001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:50:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 19:50:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-22 19:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389024200502804480,"km_value":389024200502804.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791389159424,"description":"Unknown IO ID 45"} 
[2026-08-22 19:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576546048001,"power":27234,"trip_odometer":0.206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9015502791389159424}} 
[2026-08-22 19:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":160015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:50:54] local.INFO: GPS data processed {"connection_id":160015,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:50:54] local.INFO: Acknowledgment sent {"connection_id":160015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:50:57] local.INFO: TCP Data received {"connection_id":162615,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:50:57] local.INFO: Processing buffer {"connection_id":162615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:50:57] local.INFO: IMEI packet received {"connection_id":162615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":162615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:51:02] local.INFO: TCP Data received {"connection_id":162615,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:51:02] local.INFO: Processing buffer {"connection_id":162615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:51:02] local.INFO: IMEI packet received {"connection_id":162615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":162615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:51:03] local.INFO: TCP Data received {"connection_id":162615,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029d7aaf8012d15880007263b600027007427..."} 
[2026-08-22 19:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d7aaf8012d15880007263b600027007427..."} 
[2026-08-22 19:51:03] local.INFO: Processing buffer {"connection_id":162615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d7aaf8012d15880007263b600027007427..."} 
[2026-08-22 19:51:03] local.INFO: Packet analysis {"connection_id":162615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:51:03] local.INFO: Extracted packet for processing {"connection_id":162615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756385792,"raw_latitude":119946080,"longitude_deg":75.6385792,"latitude_deg":11.994608,"altitude":39,"angle":116,"satellites":39,"speed":46,"hex_longitude":"2d158800","hex_latitude":"07263b60","is_valid_coordinates":true} 
[2026-08-22 19:51: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-22 19:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576547072001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14938836853325824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1542553271825922048,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787408395000,"timestamp_ms":1787408395000,"timestamp_seconds":1787408395,"priority":1,"record_length":96,"hex_timestamp":"000001a029d7aaf8"} 
[2026-08-22 19:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:51: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-22 19:51: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":247,"data_length":795,"current_offset":136} 
[2026-08-22 19:51:03] 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-22 19:51: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-22 19:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:51:03] 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-22 19:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576547072001,"66":13472,"137":206,"83":42752,"24":46,"16":14938836853325824,"45":1542553271825922048},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 19:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576547072001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:51:03] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 19:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14938836853325824,"km_value":14938836853325.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1542553271825922048,"description":"Unknown IO ID 45"} 
[2026-08-22 19:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576547072001,"power":13472,"unknown_137":206,"unknown_83":42752,"ignition":46,"odometer":null,"unknown_45":1542553271825922048}} 
[2026-08-22 19:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":162615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:51:03] local.INFO: GPS data processed {"connection_id":162615,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:51:03] local.INFO: Acknowledgment sent {"connection_id":162615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:51:15] local.INFO: TCP Data received {"connection_id":162616,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:51:15] local.INFO: Processing buffer {"connection_id":162616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:51:15] local.INFO: IMEI packet received {"connection_id":162616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":162616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:51:20] local.INFO: TCP Data received {"connection_id":162616,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:51:20] local.INFO: Processing buffer {"connection_id":162616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:51:20] local.INFO: IMEI packet received {"connection_id":162616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":162616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:51:21] local.INFO: TCP Data received {"connection_id":162616,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029c7efa0012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c7efa0012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:51:21] local.INFO: Processing buffer {"connection_id":162616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c7efa0012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:51:21] local.INFO: Packet analysis {"connection_id":162616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c7"} 
[2026-08-22 19:51:21] local.INFO: Extracted packet for processing {"connection_id":162616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c7"} 
[2026-08-22 19:51:21] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:51:21] 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-22 19:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576224000001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787407364000,"timestamp_ms":1787407364000,"timestamp_seconds":1787407364,"priority":1,"record_length":96,"hex_timestamp":"000001a029c7efa0"} 
[2026-08-22 19: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-22 19:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 19:51:21] 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-22 19: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-22 19: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-22 19:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576224000001,"66":12189,"110":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-22 19:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576224000001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:51:21] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-22 19:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576224000001,"power":12189,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":162616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:51:21] local.INFO: GPS data processed {"connection_id":162616,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:51:21] local.INFO: Acknowledgment sent {"connection_id":162616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:51:25] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d7c268012d7d148005c89180000e01602e..."} 
[2026-08-22 19:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d7c268012d7d148005c89180000e01602e..."} 
[2026-08-22 19:51:25] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d7c268012d7d148005c89180000e01602e..."} 
[2026-08-22 19:51:25] local.INFO: Packet analysis {"connection_id":160015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:51:25] local.INFO: Extracted packet for processing {"connection_id":160015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:51:25] local.INFO: GPS Element Parsed {"raw_longitude":763171968,"raw_latitude":97030528,"longitude_deg":76.3171968,"latitude_deg":9.7030528,"altitude":14,"angle":352,"satellites":46,"speed":38,"hex_longitude":"2d7d1480","hex_latitude":"05c89180","is_valid_coordinates":true} 
[2026-08-22 19:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576548352001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389024634294501376,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014376891484655616,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51: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-22 19:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787408401000,"timestamp_ms":1787408401000,"timestamp_seconds":1787408401,"priority":1,"record_length":96,"hex_timestamp":"000001a029d7c268"} 
[2026-08-22 19:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19: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-22 19:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-22 19:51: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-22 19:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19: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-22 19:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576548352001,"66":27343,"131":206,"85":15104,"24":38,"16":389024634294501376,"45":9014376891484655616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-22 19:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576548352001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:51:25] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 19:51:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389024634294501376,"km_value":389024634294501.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014376891484655616,"description":"Unknown IO ID 45"} 
[2026-08-22 19:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576548352001,"power":27343,"unknown_131":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9014376891484655616}} 
[2026-08-22 19:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":160015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:51:25] local.INFO: GPS data processed {"connection_id":160015,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:51:25] local.INFO: Acknowledgment sent {"connection_id":160015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:51:25] local.INFO: TCP Data received {"connection_id":162616,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029c7f388012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c7f388012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:51:25] local.INFO: Processing buffer {"connection_id":162616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c7f388012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:51:25] local.INFO: Packet analysis {"connection_id":162616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c7"} 
[2026-08-22 19:51:25] local.INFO: Extracted packet for processing {"connection_id":162616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c7"} 
[2026-08-22 19:51:25] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:51:25] 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-22 19:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576285184001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787407365000,"timestamp_ms":1787407365000,"timestamp_seconds":1787407365,"priority":1,"record_length":96,"hex_timestamp":"000001a029c7f388"} 
[2026-08-22 19:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:51:25] 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-22 19:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-22 19:51:25] 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-22 19:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576285184001,"66":4873,"110":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-22 19:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576285184001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:51:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-22 19:51:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576285184001,"power":4873,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":162616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:51:25] local.INFO: GPS data processed {"connection_id":162616,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:51:25] local.INFO: Acknowledgment sent {"connection_id":162616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:51:33] local.INFO: TCP Data received {"connection_id":162615,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029d7ca38012d15a9c007262ba80029007327..."} 
[2026-08-22 19:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d7ca38012d15a9c007262ba80029007327..."} 
[2026-08-22 19:51:33] local.INFO: Processing buffer {"connection_id":162615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d7ca38012d15a9c007262ba80029007327..."} 
[2026-08-22 19:51:33] local.INFO: Packet analysis {"connection_id":162615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:51:33] local.INFO: Extracted packet for processing {"connection_id":162615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:51:33] local.INFO: GPS Element Parsed {"raw_longitude":756394432,"raw_latitude":119942056,"longitude_deg":75.6394432,"latitude_deg":11.9942056,"altitude":41,"angle":115,"satellites":39,"speed":46,"hex_longitude":"2d15a9c0","hex_latitude":"07262ba8","is_valid_coordinates":true} 
[2026-08-22 19:51: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-22 19:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576549120001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14939292119859200,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1551490102335332352,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787408403000,"timestamp_ms":1787408403000,"timestamp_seconds":1787408403,"priority":1,"record_length":96,"hex_timestamp":"000001a029d7ca38"} 
[2026-08-22 19:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:51: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-22 19:51: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 19:51:33] 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-22 19:51: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-22 19:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:51:33] 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-22 19:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576549120001,"66":13417,"21":206,"83":41984,"24":46,"16":14939292119859200,"45":1551490102335332352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,45]} 
[2026-08-22 19:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576549120001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:51:33] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-22 19:51:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 19:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14939292119859200,"km_value":14939292119859.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1551490102335332352,"description":"Unknown IO ID 45"} 
[2026-08-22 19:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576549120001,"power":13417,"unknown_21":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1551490102335332352}} 
[2026-08-22 19:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":162615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:51:34] local.INFO: GPS data processed {"connection_id":162615,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:51:34] local.INFO: Acknowledgment sent {"connection_id":162615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:51:53] local.INFO: TCP Data received {"connection_id":162617,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:51:53] local.INFO: Processing buffer {"connection_id":162617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:51:53] local.INFO: IMEI packet received {"connection_id":162617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":162617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:51:54] local.INFO: TCP Data received {"connection_id":162617,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:51:54] local.INFO: Processing buffer {"connection_id":162617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:51:54] local.INFO: IMEI packet received {"connection_id":162617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":162617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:51:58] local.INFO: TCP Data received {"connection_id":162617,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:51:58] local.INFO: Processing buffer {"connection_id":162617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:51:58] local.INFO: IMEI packet received {"connection_id":162617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":162617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:51:59] local.INFO: TCP Data received {"connection_id":162617,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d7e978012d7d10c005c8b3e0000e01622e..."} 
[2026-08-22 19:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d7e978012d7d10c005c8b3e0000e01622e..."} 
[2026-08-22 19:51:59] local.INFO: Processing buffer {"connection_id":162617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d7e978012d7d10c005c8b3e0000e01622e..."} 
[2026-08-22 19:51:59] local.INFO: Packet analysis {"connection_id":162617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:51:59] local.INFO: Extracted packet for processing {"connection_id":162617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763171008,"raw_latitude":97039328,"longitude_deg":76.3171008,"latitude_deg":9.7039328,"altitude":14,"angle":354,"satellites":46,"speed":30,"hex_longitude":"2d7d10c0","hex_latitude":"05c8b3e0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576550656001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389025063791230976,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012969516603375616,"note":"Value kept but may cause issues"} 
[2026-08-22 19:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787408411000,"timestamp_ms":1787408411000,"timestamp_seconds":1787408411,"priority":1,"record_length":96,"hex_timestamp":"000001a029d7e978"} 
[2026-08-22 19: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-22 19:51: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-22 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 19:51: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-22 19: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-22 19: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-22 19:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:51: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-22 19:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576550656001,"66":27321,"131":206,"85":15104,"24":30,"16":389025063791230976,"45":9012969516603375616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-22 19:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576550656001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:51:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 19:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389025063791230976,"km_value":389025063791231.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012969516603375616,"description":"Unknown IO ID 45"} 
[2026-08-22 19:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576550656001,"power":27321,"unknown_131":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9012969516603375616}} 
[2026-08-22 19:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":162617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:51:59] local.INFO: GPS data processed {"connection_id":162617,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:51:59] local.INFO: Acknowledgment sent {"connection_id":162617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:52:00] local.INFO: TCP Data received {"connection_id":161192,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:52:00] local.INFO: Processing buffer {"connection_id":161192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:52:00] local.INFO: IMEI packet received {"connection_id":161192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":161192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:52:02] local.INFO: TCP Data received {"connection_id":160016,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:02] local.INFO: Processing buffer {"connection_id":160016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:02] local.INFO: IMEI packet received {"connection_id":160016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":160016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:52:02] local.INFO: TCP Data received {"connection_id":162617,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d81088012d7d0f4005c8d730000d01652c..."} 
[2026-08-22 19:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d81088012d7d0f4005c8d730000d01652c..."} 
[2026-08-22 19:52:02] local.INFO: Processing buffer {"connection_id":162617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d81088012d7d0f4005c8d730000d01652c..."} 
[2026-08-22 19:52:02] local.INFO: Packet analysis {"connection_id":162617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d8"} 
[2026-08-22 19:52:02] local.INFO: Extracted packet for processing {"connection_id":162617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d8"} 
[2026-08-22 19:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763170624,"raw_latitude":97048368,"longitude_deg":76.3170624,"latitude_deg":9.7048368,"altitude":13,"angle":357,"satellites":44,"speed":42,"hex_longitude":"2d7d0f40","hex_latitude":"05c8d730","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576553216001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389025501877895168,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011913985442963456,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:02] 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-22 19:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787408421000,"timestamp_ms":1787408421000,"timestamp_seconds":1787408421,"priority":1,"record_length":96,"hex_timestamp":"000001a029d81088"} 
[2026-08-22 19: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-22 19:52: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-22 19: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":185,"data_length":795,"current_offset":136} 
[2026-08-22 19:52:02] 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-22 19: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-22 19: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-22 19:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576553216001,"66":27234,"131":206,"85":15104,"24":42,"16":389025501877895168,"45":9011913985442963456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-22 19:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576553216001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:52:02] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 19:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389025501877895168,"km_value":389025501877895.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011913985442963456,"description":"Unknown IO ID 45"} 
[2026-08-22 19:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576553216001,"power":27234,"unknown_131":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9011913985442963456}} 
[2026-08-22 19:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":162617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:52:02] local.INFO: GPS data processed {"connection_id":162617,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:52:02] local.INFO: Acknowledgment sent {"connection_id":162617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:52:02] local.INFO: TCP Data received {"connection_id":160016,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:02] local.INFO: Processing buffer {"connection_id":160016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:02] local.INFO: IMEI packet received {"connection_id":160016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":160016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:52:05] local.INFO: TCP Data received {"connection_id":161192,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:52:05] local.INFO: TCP Data received {"connection_id":160016,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:52:05] local.INFO: Processing buffer {"connection_id":161192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:52:05] local.INFO: IMEI packet received {"connection_id":161192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":161192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:05] local.INFO: Processing buffer {"connection_id":160016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:05] local.INFO: IMEI packet received {"connection_id":160016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":160016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:52:05] local.INFO: TCP Data received {"connection_id":161192,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029c83dc0012d7e3a8005d35830000700572e..."} 
[2026-08-22 19:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029c83dc0012d7e3a8005d35830000700572e..."} 
[2026-08-22 19:52:05] local.INFO: Processing buffer {"connection_id":161192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029c83dc0012d7e3a8005d35830000700572e..."} 
[2026-08-22 19:52:05] local.INFO: Packet analysis {"connection_id":161192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029c8"} 
[2026-08-22 19:52:05] local.INFO: Extracted packet for processing {"connection_id":161192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029c8"} 
[2026-08-22 19:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":46,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576285440001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787407384000,"timestamp_ms":1787407384000,"timestamp_seconds":1787407384,"priority":1,"record_length":96,"hex_timestamp":"000001a029c83dc0"} 
[2026-08-22 19:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:52:05] 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-22 19:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-22 19:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":18577391412838639,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:05] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3154116608,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:05] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3282434049,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:05] local.WARNING: Large IO value detected {"io_id":211,"raw_value":6334312905967085312,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521333407984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:05] local.WARNING: Large IO value detected {"io_id":161,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:05] local.WARNING: Large IO value detected {"io_id":191,"raw_value":1022318410316103685,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:05] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,110,85,24,241,157,16,207,160,239,45,128,88,7,10,66,74,43,109,240,172,227,41,211,4,161,191],"length":380,"final_offset":510,"validated_count":27,"validation_warnings":[]} 
[2026-08-22 19:52:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504499009050640450,"timestamp_seconds":504499009050640.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 19:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576285440001,"66":2231,"110":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-22 19:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576285440001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:52:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-22 19:52:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576285440001,"power":2231,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":161192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:52:05] local.INFO: GPS data processed {"connection_id":161192,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:52:05] local.INFO: Acknowledgment sent {"connection_id":161192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:52:07] local.INFO: TCP Data received {"connection_id":160016,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:07] local.INFO: Processing buffer {"connection_id":160016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:07] local.INFO: IMEI packet received {"connection_id":160016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":160016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:52:07] local.INFO: TCP Data received {"connection_id":160016,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029d8b498012d1692000725a6400024009d2a..."} 
[2026-08-22 19:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d8b498012d1692000725a6400024009d2a..."} 
[2026-08-22 19:52:08] local.INFO: Processing buffer {"connection_id":160016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d8b498012d1692000725a6400024009d2a..."} 
[2026-08-22 19:52:08] local.INFO: Packet analysis {"connection_id":160016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d8"} 
[2026-08-22 19:52:08] local.INFO: Extracted packet for processing {"connection_id":160016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d8"} 
[2026-08-22 19:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756453888,"raw_latitude":119907904,"longitude_deg":75.6453888,"latitude_deg":11.9907904,"altitude":36,"angle":157,"satellites":42,"speed":48,"hex_longitude":"2d169200","hex_latitude":"0725a640","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576564480001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14942775338336256,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1622140321482174464,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787408463000,"timestamp_ms":1787408463000,"timestamp_seconds":1787408463,"priority":1,"record_length":96,"hex_timestamp":"000001a029d8b498"} 
[2026-08-22 19: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-22 19:52: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-22 19: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 19:52:08] 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-22 19:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19: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-22 19:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:52:08] 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-22 19:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576564480001,"66":13417,"135":206,"83":42752,"24":48,"16":14942775338336256,"45":1622140321482174464},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-22 19:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576564480001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:52:08] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-22 19:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14942775338336256,"km_value":14942775338336.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1622140321482174464,"description":"Unknown IO ID 45"} 
[2026-08-22 19:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576564480001,"power":13417,"unknown_135":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1622140321482174464}} 
[2026-08-22 19:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":160016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:52:08] local.INFO: GPS data processed {"connection_id":160016,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:52:08] local.INFO: Acknowledgment sent {"connection_id":160016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:52:08] local.INFO: TCP Data received {"connection_id":160016,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029d8d3d8012d169ec007258228002500a429..."} 
[2026-08-22 19:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d8d3d8012d169ec007258228002500a429..."} 
[2026-08-22 19:52:08] local.INFO: Processing buffer {"connection_id":160016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d8d3d8012d169ec007258228002500a429..."} 
[2026-08-22 19:52:08] local.INFO: Packet analysis {"connection_id":160016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d8"} 
[2026-08-22 19:52:08] local.INFO: Extracted packet for processing {"connection_id":160016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d8"} 
[2026-08-22 19:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756457152,"raw_latitude":119898664,"longitude_deg":75.6457152,"latitude_deg":11.9898664,"altitude":37,"angle":164,"satellites":41,"speed":48,"hex_longitude":"2d169ec0","hex_latitude":"07258228","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576566528001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14943247784738816,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1626362446130593792,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787408471000,"timestamp_ms":1787408471000,"timestamp_seconds":1787408471,"priority":1,"record_length":96,"hex_timestamp":"000001a029d8d3d8"} 
[2026-08-22 19: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-22 19:52: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-22 19: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-22 19:52:08] 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-22 19:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19: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-22 19:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:52:08] 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-22 19:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576566528001,"66":13352,"135":206,"83":42752,"24":48,"16":14943247784738816,"45":1626362446130593792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-22 19:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576566528001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:52:08] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-22 19:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14943247784738816,"km_value":14943247784738.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1626362446130593792,"description":"Unknown IO ID 45"} 
[2026-08-22 19:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576566528001,"power":13352,"unknown_135":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1626362446130593792}} 
[2026-08-22 19:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":160016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:52:08] local.INFO: GPS data processed {"connection_id":160016,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:52:08] local.INFO: Acknowledgment sent {"connection_id":160016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:52:33] local.INFO: TCP Data received {"connection_id":162617,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d82fc8012d7d0cc005c8f9e0000b01632b..."} 
[2026-08-22 19:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d82fc8012d7d0cc005c8f9e0000b01632b..."} 
[2026-08-22 19:52:33] local.INFO: Processing buffer {"connection_id":162617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d82fc8012d7d0cc005c8f9e0000b01632b..."} 
[2026-08-22 19:52:33] local.INFO: Packet analysis {"connection_id":162617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d8"} 
[2026-08-22 19:52:33] local.INFO: Extracted packet for processing {"connection_id":162617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d8"} 
[2026-08-22 19:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763169984,"raw_latitude":97057248,"longitude_deg":76.3169984,"latitude_deg":9.7057248,"altitude":11,"angle":355,"satellites":43,"speed":46,"hex_longitude":"2d7d0cc0","hex_latitude":"05c8f9e0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576555776001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389025935669592064,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011491772980211712,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:33] 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-22 19:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787408429000,"timestamp_ms":1787408429000,"timestamp_seconds":1787408429,"priority":1,"record_length":96,"hex_timestamp":"000001a029d82fc8"} 
[2026-08-22 19: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-22 19: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-22 19: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":98,"data_length":795,"current_offset":136} 
[2026-08-22 19:52:33] 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-22 19: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-22 19: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-22 19:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:52:33] 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-22 19:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576555776001,"66":27300,"131":206,"85":15104,"24":46,"16":389025935669592064,"45":9011491772980211712},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-22 19:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576555776001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:52:33] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 19:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389025935669592064,"km_value":389025935669592.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011491772980211712,"description":"Unknown IO ID 45"} 
[2026-08-22 19:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576555776001,"power":27300,"unknown_131":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9011491772980211712}} 
[2026-08-22 19:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":162617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:52:33] local.INFO: GPS data processed {"connection_id":162617,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:52:33] local.INFO: Acknowledgment sent {"connection_id":162617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:52:37] local.INFO: TCP Data received {"connection_id":161192,"ip":"42.109.136.1","data_length":93,"data_hex":"00000000000000518e01000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161192,"packet_length":93,"packet_hex":"00000000000000518e01000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:52:37] local.INFO: Processing buffer {"connection_id":161192,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:52:37] local.INFO: Packet analysis {"connection_id":161192,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a029d7"} 
[2026-08-22 19:52:37] local.INFO: Extracted packet for processing {"connection_id":161192,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a029d7"} 
[2026-08-22 19:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:52:37] 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":93,"current_offset":40} 
[2026-08-22 19:52: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-22 19:52: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-22 19:52:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:52:37] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 19:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161192,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-22 19:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161192,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-22 19:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161192,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-22 19:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 19:52:37] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 19:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":161192,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 19:52:37] local.ERROR: GPS data processing failed {"connection_id":161192,"error":"No valid data to process"} 
[2026-08-22 19:52:37] local.INFO: Acknowledgment sent {"connection_id":161192,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 19:52:48] local.INFO: TCP Data received {"connection_id":160240,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:52:48] local.INFO: Processing buffer {"connection_id":160240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:52:48] local.INFO: IMEI packet received {"connection_id":160240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":160240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:52:51] local.INFO: TCP Data received {"connection_id":160240,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:52:51] local.INFO: Processing buffer {"connection_id":160240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:52:51] local.INFO: IMEI packet received {"connection_id":160240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":160240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:52:51] local.INFO: TCP Data received {"connection_id":160240,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d852f0012d7d098005c91d90000a01632c..."} 
[2026-08-22 19:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d852f0012d7d098005c91d90000a01632c..."} 
[2026-08-22 19:52:51] local.INFO: Processing buffer {"connection_id":160240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d852f0012d7d098005c91d90000a01632c..."} 
[2026-08-22 19:52:51] local.INFO: Packet analysis {"connection_id":160240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d8"} 
[2026-08-22 19:52:51] local.INFO: Extracted packet for processing {"connection_id":160240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d8"} 
[2026-08-22 19:52:51] local.INFO: GPS Element Parsed {"raw_longitude":763169152,"raw_latitude":97066384,"longitude_deg":76.3169152,"latitude_deg":9.7066384,"altitude":10,"angle":355,"satellites":44,"speed":31,"hex_longitude":"2d7d0980","hex_latitude":"05c91d90","is_valid_coordinates":true} 
[2026-08-22 19:52: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-22 19:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576557824001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389026378051223552,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010788085540708352,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:51] 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-22 19:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787408438000,"timestamp_ms":1787408438000,"timestamp_seconds":1787408438,"priority":1,"record_length":96,"hex_timestamp":"000001a029d852f0"} 
[2026-08-22 19:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:52: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 19:52:51] 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-22 19:52: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-22 19:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:52:51] 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-22 19:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576557824001,"66":27332,"131":206,"85":15104,"24":31,"16":389026378051223552,"45":9010788085540708352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-22 19:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576557824001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:52:51] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 19:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389026378051223552,"km_value":389026378051223.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010788085540708352,"description":"Unknown IO ID 45"} 
[2026-08-22 19:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576557824001,"power":27332,"unknown_131":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9010788085540708352}} 
[2026-08-22 19:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":160240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:52:51] local.INFO: GPS data processed {"connection_id":160240,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:52:51] local.INFO: Acknowledgment sent {"connection_id":160240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:52:52] local.INFO: TCP Data received {"connection_id":162618,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:52] local.INFO: Processing buffer {"connection_id":162618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:52] local.INFO: IMEI packet received {"connection_id":162618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":162618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:52:54] local.INFO: TCP Data received {"connection_id":160240,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d87de8012d7d080005c94218000a01662d..."} 
[2026-08-22 19:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d87de8012d7d080005c94218000a01662d..."} 
[2026-08-22 19:52:54] local.INFO: Processing buffer {"connection_id":160240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d87de8012d7d080005c94218000a01662d..."} 
[2026-08-22 19:52:54] local.INFO: Packet analysis {"connection_id":160240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d8"} 
[2026-08-22 19:52:54] local.INFO: Extracted packet for processing {"connection_id":160240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d8"} 
[2026-08-22 19:52:54] local.INFO: GPS Element Parsed {"raw_longitude":763168768,"raw_latitude":97075736,"longitude_deg":76.3168768,"latitude_deg":9.7075736,"altitude":10,"angle":358,"satellites":45,"speed":36,"hex_longitude":"2d7d0800","hex_latitude":"05c94218","is_valid_coordinates":true} 
[2026-08-22 19:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576560128001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389026833317756928,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009873291868737536,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:54] 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-22 19:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787408449000,"timestamp_ms":1787408449000,"timestamp_seconds":1787408449,"priority":1,"record_length":96,"hex_timestamp":"000001a029d87de8"} 
[2026-08-22 19:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:52: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-22 19:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 19:52:54] 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-22 19:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:52:54] 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-22 19:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576560128001,"66":27267,"131":206,"85":15104,"24":36,"16":389026833317756928,"45":9009873291868737536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-22 19:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576560128001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:52:54] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 19:52:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389026833317756928,"km_value":389026833317756.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009873291868737536,"description":"Unknown IO ID 45"} 
[2026-08-22 19:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576560128001,"power":27267,"unknown_131":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9009873291868737536}} 
[2026-08-22 19:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":160240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:52:54] local.INFO: GPS data processed {"connection_id":160240,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:52:54] local.INFO: Acknowledgment sent {"connection_id":160240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:52:56] local.INFO: TCP Data received {"connection_id":162618,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:56] local.INFO: Processing buffer {"connection_id":162618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:56] local.INFO: IMEI packet received {"connection_id":162618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":162618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:52:57] local.INFO: TCP Data received {"connection_id":162618,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:57] local.INFO: Processing buffer {"connection_id":162618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:52:57] local.INFO: IMEI packet received {"connection_id":162618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":162618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:52:57] local.INFO: TCP Data received {"connection_id":162618,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029d99728012d173cc0072524700020004523..."} 
[2026-08-22 19:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d99728012d173cc0072524700020004523..."} 
[2026-08-22 19:52:57] local.INFO: Processing buffer {"connection_id":162618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d99728012d173cc0072524700020004523..."} 
[2026-08-22 19:52:57] local.INFO: Packet analysis {"connection_id":162618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d9"} 
[2026-08-22 19:52:57] local.INFO: Extracted packet for processing {"connection_id":162618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d9"} 
[2026-08-22 19:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756497600,"raw_latitude":119874672,"longitude_deg":75.64976,"latitude_deg":11.9874672,"altitude":32,"angle":69,"satellites":35,"speed":49,"hex_longitude":"2d173cc0","hex_latitude":"07252470","is_valid_coordinates":true} 
[2026-08-22 19:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576579328001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14946065283284992,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1664220830488772608,"note":"Value kept but may cause issues"} 
[2026-08-22 19:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787408521000,"timestamp_ms":1787408521000,"timestamp_seconds":1787408521,"priority":1,"record_length":96,"hex_timestamp":"000001a029d99728"} 
[2026-08-22 19:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:52:57] 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-22 19:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 19:52:57] 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-22 19:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:52:57] 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-22 19:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576579328001,"66":13450,"187":206,"83":42752,"24":49,"16":14946065283284992,"45":1664220830488772608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 19:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576579328001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:52:57] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 19:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14946065283284992,"km_value":14946065283284.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1664220830488772608,"description":"Unknown IO ID 45"} 
[2026-08-22 19:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576579328001,"power":13450,"unknown_187":206,"unknown_83":42752,"ignition":49,"odometer":null,"unknown_45":1664220830488772608}} 
[2026-08-22 19:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":162618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:52:58] local.INFO: GPS data processed {"connection_id":162618,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:52:58] local.INFO: Acknowledgment sent {"connection_id":162618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:53:00] local.INFO: TCP Data received {"connection_id":160241,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:53:00] local.INFO: Processing buffer {"connection_id":160241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:53:00] local.INFO: IMEI packet received {"connection_id":160241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":160241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:53:02] local.INFO: TCP Data received {"connection_id":162618,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029d9b668012d17610007253228002200421f..."} 
[2026-08-22 19:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d9b668012d17610007253228002200421f..."} 
[2026-08-22 19:53:02] local.INFO: Processing buffer {"connection_id":162618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d9b668012d17610007253228002200421f..."} 
[2026-08-22 19:53:02] local.INFO: Packet analysis {"connection_id":162618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d9"} 
[2026-08-22 19:53:02] local.INFO: Extracted packet for processing {"connection_id":162618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d9"} 
[2026-08-22 19:53:02] local.INFO: GPS Element Parsed {"raw_longitude":756506880,"raw_latitude":119878184,"longitude_deg":75.650688,"latitude_deg":11.9878184,"altitude":34,"angle":66,"satellites":31,"speed":46,"hex_longitude":"2d176100","hex_latitude":"07253228","is_valid_coordinates":true} 
[2026-08-22 19:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576581376001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14946542024654848,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1674424298395430912,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787408529000,"timestamp_ms":1787408529000,"timestamp_seconds":1787408529,"priority":1,"record_length":96,"hex_timestamp":"000001a029d9b668"} 
[2026-08-22 19:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:53:02] 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-22 19:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-22 19:53:02] 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-22 19:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:53:02] 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-22 19:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576581376001,"66":13493,"187":206,"83":42752,"24":46,"16":14946542024654848,"45":1674424298395430912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 19:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576581376001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:53:02] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 19:53:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14946542024654848,"km_value":14946542024654.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1674424298395430912,"description":"Unknown IO ID 45"} 
[2026-08-22 19:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576581376001,"power":13493,"unknown_187":206,"unknown_83":42752,"ignition":46,"odometer":null,"unknown_45":1674424298395430912}} 
[2026-08-22 19:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":162618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:53:02] local.INFO: GPS data processed {"connection_id":162618,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:53:02] local.INFO: Acknowledgment sent {"connection_id":162618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:53:05] local.INFO: TCP Data received {"connection_id":160241,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:53:05] local.INFO: Processing buffer {"connection_id":160241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:53:05] local.INFO: IMEI packet received {"connection_id":160241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":160241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:53:06] local.INFO: TCP Data received {"connection_id":160241,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:53:06] local.INFO: Processing buffer {"connection_id":160241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:53:06] local.INFO: Packet analysis {"connection_id":160241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:53:06] local.INFO: Extracted packet for processing {"connection_id":160241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:53:06] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:53:06] 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-22 19:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576539904001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:06] 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-22 19:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787408359000,"timestamp_ms":1787408359000,"timestamp_seconds":1787408359,"priority":1,"record_length":96,"hex_timestamp":"000001a029d71e58"} 
[2026-08-22 19: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-22 19:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576539904001,"66":2198,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-22 19:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576539904001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:53:06] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457576539904001,"power":2198,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":160241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:53:06] local.INFO: GPS data processed {"connection_id":160241,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:53:06] local.INFO: Acknowledgment sent {"connection_id":160241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:53:26] local.INFO: TCP Data received {"connection_id":160240,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029d9e930012d7d270005cadb30000900042d..."} 
[2026-08-22 19:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d9e930012d7d270005cadb30000900042d..."} 
[2026-08-22 19:53:26] local.INFO: Processing buffer {"connection_id":160240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d9e930012d7d270005cadb30000900042d..."} 
[2026-08-22 19:53:26] local.INFO: Packet analysis {"connection_id":160240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d9"} 
[2026-08-22 19:53:26] local.INFO: Extracted packet for processing {"connection_id":160240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d9"} 
[2026-08-22 19:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763176704,"raw_latitude":97180464,"longitude_deg":76.3176704,"latitude_deg":9.7180464,"altitude":9,"angle":4,"satellites":45,"speed":37,"hex_longitude":"2d7d2700","hex_latitude":"05cadb30","is_valid_coordinates":true} 
[2026-08-22 19:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576584192001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389031931443937280,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017613853755072512,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787408542000,"timestamp_ms":1787408542000,"timestamp_seconds":1787408542,"priority":1,"record_length":96,"hex_timestamp":"000001a029d9e930"} 
[2026-08-22 19:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19: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-22 19:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-08-22 19:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:53: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-22 19:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576584192001,"66":27332,"131":206,"85":15104,"24":37,"16":389031931443937280,"45":9017613853755072512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-22 19:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576584192001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:53:26] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 19:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389031931443937280,"km_value":389031931443937.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017613853755072512,"description":"Unknown IO ID 45"} 
[2026-08-22 19:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576584192001,"power":27332,"unknown_131":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9017613853755072512}} 
[2026-08-22 19:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":160240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:53:26] local.INFO: GPS data processed {"connection_id":160240,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:53:26] local.INFO: Acknowledgment sent {"connection_id":160240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:53:34] local.INFO: TCP Data received {"connection_id":162618,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029d9d5a8012d1782c0072543600024004024..."} 
[2026-08-22 19:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d9d5a8012d1782c0072543600024004024..."} 
[2026-08-22 19:53:34] local.INFO: Processing buffer {"connection_id":162618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d9d5a8012d1782c0072543600024004024..."} 
[2026-08-22 19:53:34] local.INFO: Packet analysis {"connection_id":162618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d9"} 
[2026-08-22 19:53:34] local.INFO: Extracted packet for processing {"connection_id":162618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d9"} 
[2026-08-22 19:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756515520,"raw_latitude":119882592,"longitude_deg":75.651552,"latitude_deg":11.9882592,"altitude":36,"angle":64,"satellites":36,"speed":47,"hex_longitude":"2d1782c0","hex_latitude":"07254360","is_valid_coordinates":true} 
[2026-08-22 19:53: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-22 19:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576583424001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14947001586155520,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684627766302091264,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787408537000,"timestamp_ms":1787408537000,"timestamp_seconds":1787408537,"priority":1,"record_length":96,"hex_timestamp":"000001a029d9d5a8"} 
[2026-08-22 19:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:53:34] 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-22 19:53: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":181,"data_length":795,"current_offset":136} 
[2026-08-22 19:53:34] 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-22 19:53: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-22 19:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:53:34] 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-22 19:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576583424001,"66":13559,"187":206,"83":42752,"24":47,"16":14947001586155520,"45":1684627766302091264},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 19:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576583424001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:53:34] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 19:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14947001586155520,"km_value":14947001586155.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684627766302091264,"description":"Unknown IO ID 45"} 
[2026-08-22 19:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576583424001,"power":13559,"unknown_187":206,"unknown_83":42752,"ignition":47,"odometer":null,"unknown_45":1684627766302091264}} 
[2026-08-22 19:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":162618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:53:34] local.INFO: GPS data processed {"connection_id":162618,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:53:34] local.INFO: Acknowledgment sent {"connection_id":162618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:53:39] local.INFO: TCP Data received {"connection_id":160241,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:53:39] local.INFO: Processing buffer {"connection_id":160241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:53:39] local.INFO: Packet analysis {"connection_id":160241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:53:39] local.INFO: Extracted packet for processing {"connection_id":160241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:53:39] 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-22 19:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576539904001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:39] 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-22 19:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787408359000,"timestamp_ms":1787408359000,"timestamp_seconds":1787408359,"priority":1,"record_length":96,"hex_timestamp":"000001a029d71e58"} 
[2026-08-22 19: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-22 19:53:39] 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-22 19: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":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576539904001,"66":2198,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-22 19:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576539904001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:53:39] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457576539904001,"power":2198,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":160241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:53:39] local.INFO: GPS data processed {"connection_id":160241,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:53:39] local.INFO: Acknowledgment sent {"connection_id":160241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:53:48] local.INFO: TCP Data received {"connection_id":162619,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:53:48] local.INFO: Processing buffer {"connection_id":162619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:53:48] local.INFO: IMEI packet received {"connection_id":162619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":162619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:53:52] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:53:52] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:53:52] local.INFO: IMEI packet received {"connection_id":160017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":160017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:53:52] local.INFO: TCP Data received {"connection_id":162619,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:53:52] local.INFO: Processing buffer {"connection_id":162619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:53:52] local.INFO: IMEI packet received {"connection_id":162619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":162619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:53:53] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:53:53] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:53:53] local.INFO: IMEI packet received {"connection_id":160017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":160017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:53:53] local.INFO: TCP Data received {"connection_id":162619,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029da0c58012d7d29c005cafef0000900032e..."} 
[2026-08-22 19:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029da0c58012d7d29c005cafef0000900032e..."} 
[2026-08-22 19:53:53] local.INFO: Processing buffer {"connection_id":162619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029da0c58012d7d29c005cafef0000900032e..."} 
[2026-08-22 19:53:53] local.INFO: Packet analysis {"connection_id":162619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029da"} 
[2026-08-22 19:53:53] local.INFO: Extracted packet for processing {"connection_id":162619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029da"} 
[2026-08-22 19:53:53] local.INFO: GPS Element Parsed {"raw_longitude":763177408,"raw_latitude":97189616,"longitude_deg":76.3177408,"latitude_deg":9.7189616,"altitude":9,"angle":3,"satellites":46,"speed":43,"hex_longitude":"2d7d29c0","hex_latitude":"05cafef0","is_valid_coordinates":true} 
[2026-08-22 19:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576586752001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389032373825568768,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018176803710906368,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:53] 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-22 19:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787408551000,"timestamp_ms":1787408551000,"timestamp_seconds":1787408551,"priority":1,"record_length":96,"hex_timestamp":"000001a029da0c58"} 
[2026-08-22 19:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:53: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-22 19:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 19:53:53] 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-22 19:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:53:53] 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-22 19:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576586752001,"66":27213,"131":206,"85":15104,"24":43,"16":389032373825568768,"45":9018176803710906368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-22 19:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576586752001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:53:53] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 19:53:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389032373825568768,"km_value":389032373825568.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018176803710906368,"description":"Unknown IO ID 45"} 
[2026-08-22 19:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576586752001,"power":27213,"unknown_131":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9018176803710906368}} 
[2026-08-22 19:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":162619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:53:53] local.INFO: GPS data processed {"connection_id":162619,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:53:53] local.INFO: Acknowledgment sent {"connection_id":162619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:53:56] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:53:56] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:53:56] local.INFO: IMEI packet received {"connection_id":160017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":160017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:53:57] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:53:57] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:53:57] local.INFO: IMEI packet received {"connection_id":160017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":160017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:53:57] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029da6e00012d18230007257ed00024001428..."} 
[2026-08-22 19:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029da6e00012d18230007257ed00024001428..."} 
[2026-08-22 19:53:57] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029da6e00012d18230007257ed00024001428..."} 
[2026-08-22 19:53:57] local.INFO: Packet analysis {"connection_id":160017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029da"} 
[2026-08-22 19:53:57] local.INFO: Extracted packet for processing {"connection_id":160017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029da"} 
[2026-08-22 19:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119897808,"longitude_deg":75.6556544,"latitude_deg":11.9897808,"altitude":36,"angle":20,"satellites":40,"speed":45,"hex_longitude":"2d182300","hex_latitude":"07257ed0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576594432001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14949217789280256,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849462620160,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787408576000,"timestamp_ms":1787408576000,"timestamp_seconds":1787408576,"priority":1,"record_length":96,"hex_timestamp":"000001a029da6e00"} 
[2026-08-22 19: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-22 19:53:57] 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-22 19: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-22 19:53:57] 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-22 19: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-22 19: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-22 19:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:53:57] 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-22 19:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576594432001,"66":13439,"187":206,"83":42752,"24":45,"16":14949217789280256,"45":1737122849462620160},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 19:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576594432001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:53:57] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 19:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14949217789280256,"km_value":14949217789280.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849462620160,"description":"Unknown IO ID 45"} 
[2026-08-22 19:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576594432001,"power":13439,"unknown_187":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1737122849462620160}} 
[2026-08-22 19:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":160017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:53:57] local.INFO: GPS data processed {"connection_id":160017,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:53:57] local.INFO: Acknowledgment sent {"connection_id":160017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:53:59] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029da79b8012d1825c007258bc00024000728..."} 
[2026-08-22 19:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029da79b8012d1825c007258bc00024000728..."} 
[2026-08-22 19:53:59] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029da79b8012d1825c007258bc00024000728..."} 
[2026-08-22 19:53:59] local.INFO: Packet analysis {"connection_id":160017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029da"} 
[2026-08-22 19:53:59] local.INFO: Extracted packet for processing {"connection_id":160017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029da"} 
[2026-08-22 19:53:59] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119901120,"longitude_deg":75.6557248,"latitude_deg":11.990112,"altitude":36,"angle":7,"satellites":40,"speed":43,"hex_longitude":"2d1825c0","hex_latitude":"07258bc0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576595456001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14949380998037504,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911788982272,"note":"Value kept but may cause issues"} 
[2026-08-22 19:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787408579000,"timestamp_ms":1787408579000,"timestamp_seconds":1787408579,"priority":1,"record_length":96,"hex_timestamp":"000001a029da79b8"} 
[2026-08-22 19: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-22 19:53: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-22 19: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-22 19:53:59] 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-22 19: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-22 19: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-22 19:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:53:59] 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-22 19:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576595456001,"66":13526,"187":206,"83":42752,"24":43,"16":14949380998037504,"45":1739233911788982272},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 19:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576595456001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:53:59] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 19:53:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14949380998037504,"km_value":14949380998037.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911788982272,"description":"Unknown IO ID 45"} 
[2026-08-22 19:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576595456001,"power":13526,"unknown_187":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1739233911788982272}} 
[2026-08-22 19:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":160017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:53:59] local.INFO: GPS data processed {"connection_id":160017,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:53:59] local.INFO: Acknowledgment sent {"connection_id":160017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:54:00] local.INFO: TCP Data received {"connection_id":161193,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:54:00] local.INFO: Processing buffer {"connection_id":161193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:54:00] local.INFO: IMEI packet received {"connection_id":161193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":161193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:54:05] local.INFO: TCP Data received {"connection_id":161193,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:54:05] local.INFO: Processing buffer {"connection_id":161193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:54:05] local.INFO: IMEI packet received {"connection_id":161193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":161193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:54:06] local.INFO: TCP Data received {"connection_id":161193,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:54:06] local.INFO: Processing buffer {"connection_id":161193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:54:06] local.INFO: Packet analysis {"connection_id":161193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:54:06] local.INFO: Extracted packet for processing {"connection_id":161193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:54:06] 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-22 19:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576539904001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:54:06] 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-22 19:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787408359000,"timestamp_ms":1787408359000,"timestamp_seconds":1787408359,"priority":1,"record_length":96,"hex_timestamp":"000001a029d71e58"} 
[2026-08-22 19:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576539904001,"66":2198,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-22 19:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576539904001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:54:06] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457576539904001,"power":2198,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":161193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:54:06] local.INFO: GPS data processed {"connection_id":161193,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:54:06] local.INFO: Acknowledgment sent {"connection_id":161193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:54:24] local.INFO: TCP Data received {"connection_id":162619,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029da2f80012d7d2c4005cb24f0000900022c..."} 
[2026-08-22 19:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029da2f80012d7d2c4005cb24f0000900022c..."} 
[2026-08-22 19:54:24] local.INFO: Processing buffer {"connection_id":162619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029da2f80012d7d2c4005cb24f0000900022c..."} 
[2026-08-22 19:54:24] local.INFO: Packet analysis {"connection_id":162619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029da"} 
[2026-08-22 19:54:24] local.INFO: Extracted packet for processing {"connection_id":162619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029da"} 
[2026-08-22 19:54:24] local.INFO: GPS Element Parsed {"raw_longitude":763178048,"raw_latitude":97199344,"longitude_deg":76.3178048,"latitude_deg":9.7199344,"altitude":9,"angle":2,"satellites":44,"speed":36,"hex_longitude":"2d7d2c40","hex_latitude":"05cb24f0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576589056001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389032846271971328,"note":"Value kept but may cause issues"} 
[2026-08-22 19:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018950859899203584,"note":"Value kept but may cause issues"} 
[2026-08-22 19:54: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-22 19:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787408560000,"timestamp_ms":1787408560000,"timestamp_seconds":1787408560,"priority":1,"record_length":96,"hex_timestamp":"000001a029da2f80"} 
[2026-08-22 19: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-22 19:54: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-22 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 19:54: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-22 19: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-22 19: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-22 19:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:54: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-22 19:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576589056001,"66":27343,"131":206,"85":15104,"24":36,"16":389032846271971328,"45":9018950859899203584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-22 19:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576589056001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:54:24] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 19:54:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389032846271971328,"km_value":389032846271971.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018950859899203584,"description":"Unknown IO ID 45"} 
[2026-08-22 19:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576589056001,"power":27343,"unknown_131":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9018950859899203584}} 
[2026-08-22 19:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":162619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:54:24] local.INFO: GPS data processed {"connection_id":162619,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:54:24] local.INFO: Acknowledgment sent {"connection_id":162619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:54:30] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029db2980012d18a9400725b1b0002e002122..."} 
[2026-08-22 19:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029db2980012d18a9400725b1b0002e002122..."} 
[2026-08-22 19:54:30] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029db2980012d18a9400725b1b0002e002122..."} 
[2026-08-22 19:54:30] local.INFO: Packet analysis {"connection_id":160017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029db"} 
[2026-08-22 19:54:30] local.INFO: Extracted packet for processing {"connection_id":160017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029db"} 
[2026-08-22 19:54:30] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119910832,"longitude_deg":75.6590912,"latitude_deg":11.9910832,"altitude":46,"angle":33,"satellites":34,"speed":26,"hex_longitude":"2d18a940","hex_latitude":"0725b1b0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576607488001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14951257898745856,"note":"Value kept but may cause issues"} 
[2026-08-22 19:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776670083694639104,"note":"Value kept but may cause issues"} 
[2026-08-22 19:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787408624000,"timestamp_ms":1787408624000,"timestamp_seconds":1787408624,"priority":1,"record_length":96,"hex_timestamp":"000001a029db2980"} 
[2026-08-22 19: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-22 19:54: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-22 19: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-22 19:54:30] 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-22 19: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-22 19: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-22 19:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:54:30] 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-22 19:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576607488001,"66":13537,"187":206,"83":42752,"24":26,"16":14951257898745856,"45":1776670083694639104},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 19:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576607488001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:54:30] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 19:54:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14951257898745856,"km_value":14951257898745.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776670083694639104,"description":"Unknown IO ID 45"} 
[2026-08-22 19:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576607488001,"power":13537,"unknown_187":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1776670083694639104}} 
[2026-08-22 19:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":160017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:54:30] local.INFO: GPS data processed {"connection_id":160017,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:54:30] local.INFO: Acknowledgment sent {"connection_id":160017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:54:37] local.INFO: TCP Data received {"connection_id":161193,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:54:37] local.INFO: Processing buffer {"connection_id":161193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:54:37] local.INFO: Packet analysis {"connection_id":161193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:54:37] local.INFO: Extracted packet for processing {"connection_id":161193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:54:37] 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-22 19:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576539904001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:54:37] 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-22 19:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787408359000,"timestamp_ms":1787408359000,"timestamp_seconds":1787408359,"priority":1,"record_length":96,"hex_timestamp":"000001a029d71e58"} 
[2026-08-22 19: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-22 19:54:37] 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-22 19: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576539904001,"66":2198,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-22 19:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576539904001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:54:37] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457576539904001,"power":2198,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":161193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:54:37] local.INFO: GPS data processed {"connection_id":161193,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:54:37] local.INFO: Acknowledgment sent {"connection_id":161193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:54:46] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:54:46] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:54:46] local.INFO: IMEI packet received {"connection_id":160018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":160018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:54:48] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:54:48] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:54:48] local.INFO: IMEI packet received {"connection_id":160018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":160018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:54:53] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:54:53] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:54:53] local.INFO: IMEI packet received {"connection_id":160018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":160018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:54:54] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029da5e60012d7d2dc005cb4980000900022c..."} 
[2026-08-22 19:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029da5e60012d7d2dc005cb4980000900022c..."} 
[2026-08-22 19:54:54] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029da5e60012d7d2dc005cb4980000900022c..."} 
[2026-08-22 19:54:54] local.INFO: Packet analysis {"connection_id":160018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029da"} 
[2026-08-22 19:54:54] local.INFO: Extracted packet for processing {"connection_id":160018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029da"} 
[2026-08-22 19:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763178432,"raw_latitude":97208704,"longitude_deg":76.3178432,"latitude_deg":9.7208704,"altitude":9,"angle":2,"satellites":44,"speed":35,"hex_longitude":"2d7d2dc0","hex_latitude":"05cb4980","is_valid_coordinates":true} 
[2026-08-22 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-22 19:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576591360001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389033301538504704,"note":"Value kept but may cause issues"} 
[2026-08-22 19:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019654547343470592,"note":"Value kept but may cause issues"} 
[2026-08-22 19:54:54] 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-22 19:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787408572000,"timestamp_ms":1787408572000,"timestamp_seconds":1787408572,"priority":1,"record_length":96,"hex_timestamp":"000001a029da5e60"} 
[2026-08-22 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-22 19:54: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-22 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":207,"data_length":795,"current_offset":136} 
[2026-08-22 19:54: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-22 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-22 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-22 19:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:54:54] 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-22 19:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576591360001,"66":27376,"129":206,"85":15104,"24":35,"16":389033301538504704,"45":9019654547343470592},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-22 19:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576591360001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:54:54] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-22 19:54:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389033301538504704,"km_value":389033301538504.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019654547343470592,"description":"Unknown IO ID 45"} 
[2026-08-22 19:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576591360001,"power":27376,"unknown_129":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9019654547343470592}} 
[2026-08-22 19:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":160018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:54:54] local.INFO: GPS data processed {"connection_id":160018,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:54:54] local.INFO: Acknowledgment sent {"connection_id":160018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:54:57] local.INFO: TCP Data received {"connection_id":160242,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:54:57] local.INFO: Processing buffer {"connection_id":160242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:54:57] local.INFO: IMEI packet received {"connection_id":160242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":160242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:54:57] local.INFO: TCP Data received {"connection_id":160242,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:54:57] local.INFO: Processing buffer {"connection_id":160242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:54:57] local.INFO: IMEI packet received {"connection_id":160242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":160242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:55:00] local.INFO: TCP Data received {"connection_id":160243,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:55:00] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:55:00] local.INFO: IMEI packet received {"connection_id":160243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":160243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:55:05] local.INFO: TCP Data received {"connection_id":160243,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:55:05] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:55:05] local.INFO: IMEI packet received {"connection_id":160243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":160243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:55:06] local.INFO: TCP Data received {"connection_id":160243,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:55:06] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029d71e58012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:55:06] local.INFO: Packet analysis {"connection_id":160243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:55:06] local.INFO: Extracted packet for processing {"connection_id":160243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029d7"} 
[2026-08-22 19:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:55:06] 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-22 19:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576539904001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:06] 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-22 19:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787408359000,"timestamp_ms":1787408359000,"timestamp_seconds":1787408359,"priority":1,"record_length":96,"hex_timestamp":"000001a029d71e58"} 
[2026-08-22 19:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576539904001,"66":2198,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-22 19:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576539904001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:55:06] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457576539904001,"power":2198,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":160243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:55:06] local.INFO: GPS data processed {"connection_id":160243,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:55:06] local.INFO: Acknowledgment sent {"connection_id":160243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:55:08] local.INFO: TCP Data received {"connection_id":160242,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:55:08] local.INFO: Processing buffer {"connection_id":160242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:55:08] local.INFO: IMEI packet received {"connection_id":160242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":160242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:55:09] local.INFO: TCP Data received {"connection_id":160242,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029db2d68012d18a9c00725b538002e001121..."} 
[2026-08-22 19:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029db2d68012d18a9c00725b538002e001121..."} 
[2026-08-22 19:55:09] local.INFO: Processing buffer {"connection_id":160242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029db2d68012d18a9c00725b538002e001121..."} 
[2026-08-22 19:55:09] local.INFO: Packet analysis {"connection_id":160242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029db"} 
[2026-08-22 19:55:09] local.INFO: Extracted packet for processing {"connection_id":160242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029db"} 
[2026-08-22 19:55:09] local.INFO: GPS Element Parsed {"raw_longitude":756591040,"raw_latitude":119911736,"longitude_deg":75.659104,"latitude_deg":11.9911736,"altitude":46,"angle":17,"satellites":33,"speed":28,"hex_longitude":"2d18a9c0","hex_latitude":"0725b538","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576607744001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14951300848418816,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777021927415721984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787408625000,"timestamp_ms":1787408625000,"timestamp_seconds":1787408625,"priority":1,"record_length":96,"hex_timestamp":"000001a029db2d68"} 
[2026-08-22 19: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-22 19:55: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-22 19: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-22 19:55:09] 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-22 19: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-22 19: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-22 19:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:55:09] 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-22 19:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576607744001,"66":13515,"187":206,"83":42752,"24":28,"16":14951300848418816,"45":1777021927415721984},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 19:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576607744001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:55:09] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 19:55:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14951300848418816,"km_value":14951300848418.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777021927415721984,"description":"Unknown IO ID 45"} 
[2026-08-22 19:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576607744001,"power":13515,"unknown_187":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1777021927415721984}} 
[2026-08-22 19:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":160242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:55:09] local.INFO: GPS data processed {"connection_id":160242,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:55:09] local.INFO: Acknowledgment sent {"connection_id":160242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:55:25] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029da8570012d7d2fc005cb6ef0000a00042d..."} 
[2026-08-22 19:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029da8570012d7d2fc005cb6ef0000a00042d..."} 
[2026-08-22 19:55:25] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029da8570012d7d2fc005cb6ef0000a00042d..."} 
[2026-08-22 19:55:25] local.INFO: Packet analysis {"connection_id":160018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029da"} 
[2026-08-22 19:55:25] local.INFO: Extracted packet for processing {"connection_id":160018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029da"} 
[2026-08-22 19:55:25] local.INFO: GPS Element Parsed {"raw_longitude":763178944,"raw_latitude":97218288,"longitude_deg":76.3178944,"latitude_deg":9.7218288,"altitude":10,"angle":4,"satellites":45,"speed":39,"hex_longitude":"2d7d2fc0","hex_latitude":"05cb6ef0","is_valid_coordinates":true} 
[2026-08-22 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-22 19:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576594432001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389033769689939968,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020076759810932736,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:25] 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-22 19:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787408582000,"timestamp_ms":1787408582000,"timestamp_seconds":1787408582,"priority":1,"record_length":96,"hex_timestamp":"000001a029da8570"} 
[2026-08-22 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-22 19: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-22 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-22 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-22 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-22 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-22 19:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:55: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-22 19:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576594432001,"66":27300,"129":206,"85":15104,"24":39,"16":389033769689939968,"45":9020076759810932736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-22 19:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576594432001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:55:25] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-22 19:55:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389033769689939968,"km_value":389033769689939.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020076759810932736,"description":"Unknown IO ID 45"} 
[2026-08-22 19:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576594432001,"power":27300,"unknown_129":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9020076759810932736}} 
[2026-08-22 19:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":160018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:55:25] local.INFO: GPS data processed {"connection_id":160018,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:55:25] local.INFO: Acknowledgment sent {"connection_id":160018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:55:38] local.INFO: TCP Data received {"connection_id":160243,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:55:38] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:55:38] local.INFO: Packet analysis {"connection_id":160243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:55:38] local.INFO: Extracted packet for processing {"connection_id":160243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576539904001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:38] 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-22 19:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787408713000,"timestamp_ms":1787408713000,"timestamp_seconds":1787408713,"priority":1,"record_length":96,"hex_timestamp":"000001a029dc8528"} 
[2026-08-22 19:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:55:38] 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-22 19:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576539904001,"66":12069,"81":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-22 19:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576539904001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-22 19:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576539904001,"power":12069,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":160243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:55:38] local.INFO: GPS data processed {"connection_id":160243,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:55:38] local.INFO: Acknowledgment sent {"connection_id":160243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:55:46] local.INFO: TCP Data received {"connection_id":162620,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:55:46] local.INFO: Processing buffer {"connection_id":162620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:55:46] local.INFO: IMEI packet received {"connection_id":162620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":162620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:55:48] local.INFO: TCP Data received {"connection_id":162620,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:55:48] local.INFO: Processing buffer {"connection_id":162620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:55:48] local.INFO: IMEI packet received {"connection_id":162620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":162620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:55:51] local.INFO: TCP Data received {"connection_id":161194,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:55:51] local.INFO: Processing buffer {"connection_id":161194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:55:51] local.INFO: IMEI packet received {"connection_id":161194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":161194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:55:52] local.INFO: TCP Data received {"connection_id":161194,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:55:52] local.INFO: Processing buffer {"connection_id":161194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:55:52] local.INFO: IMEI packet received {"connection_id":161194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":161194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:55:53] local.INFO: TCP Data received {"connection_id":162620,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:55:53] local.INFO: Processing buffer {"connection_id":162620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:55:53] local.INFO: IMEI packet received {"connection_id":162620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":162620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:55:54] local.INFO: TCP Data received {"connection_id":162620,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029dc2b50012d7d50c005cd0588000c01662c..."} 
[2026-08-22 19:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dc2b50012d7d50c005cd0588000c01662c..."} 
[2026-08-22 19:55:54] local.INFO: Processing buffer {"connection_id":162620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dc2b50012d7d50c005cd0588000c01662c..."} 
[2026-08-22 19:55:54] local.INFO: Packet analysis {"connection_id":162620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:55:54] local.INFO: Extracted packet for processing {"connection_id":162620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:55:54] local.INFO: GPS Element Parsed {"raw_longitude":763187392,"raw_latitude":97322376,"longitude_deg":76.3187392,"latitude_deg":9.7322376,"altitude":12,"angle":358,"satellites":44,"speed":41,"hex_longitude":"2d7d50c0","hex_latitude":"05cd0588","is_valid_coordinates":true} 
[2026-08-22 19:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576622336001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389038850636251136,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965231673344,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:54] 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-22 19:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787408690000,"timestamp_ms":1787408690000,"timestamp_seconds":1787408690,"priority":1,"record_length":96,"hex_timestamp":"000001a029dc2b50"} 
[2026-08-22 19:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:55: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-22 19:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-22 19:55:54] 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-22 19:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:55:54] 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-22 19:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576622336001,"66":27376,"235":206,"85":15104,"24":41,"16":389038850636251136,"45":9030420965231673344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-22 19:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576622336001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:55:54] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-22 19:55:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389038850636251136,"km_value":389038850636251.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965231673344,"description":"Unknown IO ID 45"} 
[2026-08-22 19:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576622336001,"power":27376,"unknown_235":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9030420965231673344}} 
[2026-08-22 19:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":162620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:55:54] local.INFO: GPS data processed {"connection_id":162620,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:55:54] local.INFO: Acknowledgment sent {"connection_id":162620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:55:57] local.INFO: TCP Data received {"connection_id":161194,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:55:57] local.INFO: Processing buffer {"connection_id":161194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:55:57] local.INFO: IMEI packet received {"connection_id":161194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":161194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:55:58] local.INFO: TCP Data received {"connection_id":161194,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029dc5648012d19ce80072647e00022005828..."} 
[2026-08-22 19:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dc5648012d19ce80072647e00022005828..."} 
[2026-08-22 19:55:58] local.INFO: Processing buffer {"connection_id":161194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dc5648012d19ce80072647e00022005828..."} 
[2026-08-22 19:55:58] local.INFO: Packet analysis {"connection_id":161194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:55:58] local.INFO: Extracted packet for processing {"connection_id":161194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:55:58] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119949280,"longitude_deg":75.6665984,"latitude_deg":11.994928,"altitude":34,"angle":88,"satellites":40,"speed":40,"hex_longitude":"2d19ce80","hex_latitude":"072647e0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576626432001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14955411132121088,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855271970950948864,"note":"Value kept but may cause issues"} 
[2026-08-22 19:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787408701000,"timestamp_ms":1787408701000,"timestamp_seconds":1787408701,"priority":1,"record_length":96,"hex_timestamp":"000001a029dc5648"} 
[2026-08-22 19: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-22 19:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-22 19:55:58] 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-22 19: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-22 19: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-22 19:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:55:58] 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-22 19:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576626432001,"66":13493,"175":206,"83":42752,"24":40,"16":14955411132121088,"45":1855271970950948864},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-22 19:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576626432001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:55:58] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-22 19:55:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14955411132121088,"km_value":14955411132121.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855271970950948864,"description":"Unknown IO ID 45"} 
[2026-08-22 19:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576626432001,"power":13493,"unknown_175":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1855271970950948864}} 
[2026-08-22 19:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":161194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:55:58] local.INFO: GPS data processed {"connection_id":161194,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:55:58] local.INFO: Acknowledgment sent {"connection_id":161194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:56:00] local.INFO: TCP Data received {"connection_id":160019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:56:00] local.INFO: Processing buffer {"connection_id":160019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:56:00] local.INFO: IMEI packet received {"connection_id":160019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":160019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:56:05] local.INFO: TCP Data received {"connection_id":160019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:56:05] local.INFO: Processing buffer {"connection_id":160019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:56:05] local.INFO: IMEI packet received {"connection_id":160019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":160019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:56:07] local.INFO: TCP Data received {"connection_id":160019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:56:07] local.INFO: Processing buffer {"connection_id":160019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:56:07] local.INFO: Packet analysis {"connection_id":160019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:56:07] local.INFO: Extracted packet for processing {"connection_id":160019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576539904001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56:07] 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-22 19:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787408713000,"timestamp_ms":1787408713000,"timestamp_seconds":1787408713,"priority":1,"record_length":96,"hex_timestamp":"000001a029dc8528"} 
[2026-08-22 19: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-22 19:56:07] 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-22 19: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576539904001,"66":12069,"81":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-22 19:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576539904001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:56:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-22 19:56:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576539904001,"power":12069,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":160019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:56:07] local.INFO: GPS data processed {"connection_id":160019,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:56:07] local.INFO: Acknowledgment sent {"connection_id":160019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:56:25] local.INFO: TCP Data received {"connection_id":162620,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029dc4e78012d7d4dc005cd28c8000c01642b..."} 
[2026-08-22 19:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dc4e78012d7d4dc005cd28c8000c01642b..."} 
[2026-08-22 19:56:25] local.INFO: Processing buffer {"connection_id":162620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dc4e78012d7d4dc005cd28c8000c01642b..."} 
[2026-08-22 19:56:25] local.INFO: Packet analysis {"connection_id":162620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:56:25] local.INFO: Extracted packet for processing {"connection_id":162620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:56:25] local.INFO: GPS Element Parsed {"raw_longitude":763186624,"raw_latitude":97331400,"longitude_deg":76.3186624,"latitude_deg":9.73314,"altitude":12,"angle":356,"satellites":43,"speed":38,"hex_longitude":"2d7d4dc0","hex_latitude":"05cd28c8","is_valid_coordinates":true} 
[2026-08-22 19:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576624640001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389039288722915328,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029928384024905728,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56: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-22 19:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787408699000,"timestamp_ms":1787408699000,"timestamp_seconds":1787408699,"priority":1,"record_length":96,"hex_timestamp":"000001a029dc4e78"} 
[2026-08-22 19:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:56: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-22 19:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 19:56: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-22 19:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:56: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-22 19:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576624640001,"66":27300,"235":206,"85":15104,"24":38,"16":389039288722915328,"45":9029928384024905728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-22 19:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576624640001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:56:25] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-22 19:56:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389039288722915328,"km_value":389039288722915.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029928384024905728,"description":"Unknown IO ID 45"} 
[2026-08-22 19:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576624640001,"power":27300,"unknown_235":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9029928384024905728}} 
[2026-08-22 19:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":162620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:56:25] local.INFO: GPS data processed {"connection_id":162620,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:56:25] local.INFO: Acknowledgment sent {"connection_id":162620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:56:29] local.INFO: TCP Data received {"connection_id":161194,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029dc6200012d19da80072646980022006629..."} 
[2026-08-22 19:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dc6200012d19da80072646980022006629..."} 
[2026-08-22 19:56:29] local.INFO: Processing buffer {"connection_id":161194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dc6200012d19da80072646980022006629..."} 
[2026-08-22 19:56:29] local.INFO: Packet analysis {"connection_id":161194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:56:29] local.INFO: Extracted packet for processing {"connection_id":161194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:56:29] local.INFO: GPS Element Parsed {"raw_longitude":756669056,"raw_latitude":119948952,"longitude_deg":75.6669056,"latitude_deg":11.9948952,"altitude":34,"angle":102,"satellites":41,"speed":41,"hex_longitude":"2d19da80","hex_latitude":"07264698","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576627456001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14955561455976448,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464345964544,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787408704000,"timestamp_ms":1787408704000,"timestamp_seconds":1787408704,"priority":1,"record_length":96,"hex_timestamp":"000001a029dc6200"} 
[2026-08-22 19: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-22 19:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 19: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 19:56:29] 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-22 19: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-22 19: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-22 19:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:56:29] 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-22 19:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576627456001,"66":13820,"175":206,"83":42752,"24":41,"16":14955561455976448,"45":1859564464345964544},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-22 19:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576627456001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:56:29] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-22 19:56:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14955561455976448,"km_value":14955561455976.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464345964544,"description":"Unknown IO ID 45"} 
[2026-08-22 19:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576627456001,"power":13820,"unknown_175":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1859564464345964544}} 
[2026-08-22 19:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":161194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:56:29] local.INFO: GPS data processed {"connection_id":161194,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:56:29] local.INFO: Acknowledgment sent {"connection_id":161194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:56:39] local.INFO: TCP Data received {"connection_id":160019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:56:39] local.INFO: Processing buffer {"connection_id":160019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:56:39] local.INFO: Packet analysis {"connection_id":160019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:56:39] local.INFO: Extracted packet for processing {"connection_id":160019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576539904001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56:39] 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-22 19:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787408713000,"timestamp_ms":1787408713000,"timestamp_seconds":1787408713,"priority":1,"record_length":96,"hex_timestamp":"000001a029dc8528"} 
[2026-08-22 19: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-22 19:56:39] 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-22 19: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576539904001,"66":12069,"81":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-22 19:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576539904001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:56:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-22 19:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576539904001,"power":12069,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":160019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:56:39] local.INFO: GPS data processed {"connection_id":160019,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:56:39] local.INFO: Acknowledgment sent {"connection_id":160019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:56:48] local.INFO: TCP Data received {"connection_id":160244,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:56:48] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:56:48] local.INFO: IMEI packet received {"connection_id":160244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":160244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:56:51] local.INFO: TCP Data received {"connection_id":160244,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:56:51] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:56:51] local.INFO: IMEI packet received {"connection_id":160244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":160244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:56:52] local.INFO: TCP Data received {"connection_id":162621,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:56:52] local.INFO: Processing buffer {"connection_id":162621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:56:52] local.INFO: IMEI packet received {"connection_id":162621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":162621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:56:52] local.INFO: TCP Data received {"connection_id":162621,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:56:52] local.INFO: Processing buffer {"connection_id":162621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:56:52] local.INFO: IMEI packet received {"connection_id":162621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":162621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:56:53] local.INFO: TCP Data received {"connection_id":160244,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:56:53] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:56:53] local.INFO: IMEI packet received {"connection_id":160244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":160244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:56:54] local.INFO: TCP Data received {"connection_id":160244,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029dc71a0012d7d4a4005cd4be0000d01612c..."} 
[2026-08-22 19:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dc71a0012d7d4a4005cd4be0000d01612c..."} 
[2026-08-22 19:56:54] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dc71a0012d7d4a4005cd4be0000d01612c..."} 
[2026-08-22 19:56:54] local.INFO: Packet analysis {"connection_id":160244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:56:54] local.INFO: Extracted packet for processing {"connection_id":160244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:56:54] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":97340384,"longitude_deg":76.3185728,"latitude_deg":9.7340384,"altitude":13,"angle":353,"satellites":44,"speed":41,"hex_longitude":"2d7d4a40","hex_latitude":"05cd4be0","is_valid_coordinates":true} 
[2026-08-22 19:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576626944001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389039726809579520,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029083959097083904,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56:54] 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-22 19:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787408708000,"timestamp_ms":1787408708000,"timestamp_seconds":1787408708,"priority":1,"record_length":96,"hex_timestamp":"000001a029dc71a0"} 
[2026-08-22 19:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:56: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-22 19:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 19:56: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-22 19:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:56:54] 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-22 19:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576626944001,"66":27332,"235":206,"85":15104,"24":41,"16":389039726809579520,"45":9029083959097083904},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-22 19:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576626944001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:56:54] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-22 19:56:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389039726809579520,"km_value":389039726809579.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029083959097083904,"description":"Unknown IO ID 45"} 
[2026-08-22 19:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576626944001,"power":27332,"unknown_235":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9029083959097083904}} 
[2026-08-22 19:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":160244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:56:54] local.INFO: GPS data processed {"connection_id":160244,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:56:54] local.INFO: Acknowledgment sent {"connection_id":160244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:56:58] local.INFO: TCP Data received {"connection_id":160244,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029dc94c8012d7d468005cd71b0000d01622c..."} 
[2026-08-22 19:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dc94c8012d7d468005cd71b0000d01622c..."} 
[2026-08-22 19:56:58] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dc94c8012d7d468005cd71b0000d01622c..."} 
[2026-08-22 19:56:58] local.INFO: Packet analysis {"connection_id":160244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:56:58] local.INFO: Extracted packet for processing {"connection_id":160244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763184768,"raw_latitude":97350064,"longitude_deg":76.3184768,"latitude_deg":9.7350064,"altitude":13,"angle":354,"satellites":44,"speed":44,"hex_longitude":"2d7d4680","hex_latitude":"05cd71b0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576629248001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389040199255982080,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796680896512,"note":"Value kept but may cause issues"} 
[2026-08-22 19:56: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-22 19:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787408717000,"timestamp_ms":1787408717000,"timestamp_seconds":1787408717,"priority":1,"record_length":96,"hex_timestamp":"000001a029dc94c8"} 
[2026-08-22 19: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-22 19:56: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-22 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 19:56:58] 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-22 19: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-22 19: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-22 19:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:56:58] 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-22 19:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576629248001,"66":27365,"235":206,"85":15104,"24":44,"16":389040199255982080,"45":9028098796680896512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-22 19:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576629248001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:56:58] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-22 19:56:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389040199255982080,"km_value":389040199255982.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796680896512,"description":"Unknown IO ID 45"} 
[2026-08-22 19:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576629248001,"power":27365,"unknown_235":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9028098796680896512}} 
[2026-08-22 19:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":160244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:56:58] local.INFO: GPS data processed {"connection_id":160244,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:56:58] local.INFO: Acknowledgment sent {"connection_id":160244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:57:00] local.INFO: TCP Data received {"connection_id":160245,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:57:00] local.INFO: Processing buffer {"connection_id":160245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:57:00] local.INFO: IMEI packet received {"connection_id":160245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":160245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:57:00] local.INFO: TCP Data received {"connection_id":162621,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:57:00] local.INFO: Processing buffer {"connection_id":162621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:57:00] local.INFO: IMEI packet received {"connection_id":162621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":162621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:57:02] local.INFO: TCP Data received {"connection_id":162621,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029dd3108012d1a9300072620f8002100522b..."} 
[2026-08-22 19:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dd3108012d1a9300072620f8002100522b..."} 
[2026-08-22 19:57:02] local.INFO: Processing buffer {"connection_id":162621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dd3108012d1a9300072620f8002100522b..."} 
[2026-08-22 19:57:02] local.INFO: Packet analysis {"connection_id":162621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dd"} 
[2026-08-22 19:57:02] local.INFO: Extracted packet for processing {"connection_id":162621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dd"} 
[2026-08-22 19:57:02] local.INFO: GPS Element Parsed {"raw_longitude":756716288,"raw_latitude":119939320,"longitude_deg":75.6716288,"latitude_deg":11.993932,"altitude":33,"angle":82,"satellites":43,"speed":43,"hex_longitude":"2d1a9300","hex_latitude":"072620f8","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576640512001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14957975227596800,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908752216523646976,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787408757000,"timestamp_ms":1787408757000,"timestamp_seconds":1787408757,"priority":1,"record_length":96,"hex_timestamp":"000001a029dd3108"} 
[2026-08-22 19: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-22 19:57:02] 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-22 19: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-22 19:57:02] 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-22 19: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-22 19: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-22 19:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:57:02] 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-22 19:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576640512001,"66":13276,"175":206,"83":42752,"24":43,"16":14957975227596800,"45":1908752216523646976},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-22 19:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576640512001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:57:02] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-22 19:57:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14957975227596800,"km_value":14957975227596.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908752216523646976,"description":"Unknown IO ID 45"} 
[2026-08-22 19:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576640512001,"power":13276,"unknown_175":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1908752216523646976}} 
[2026-08-22 19:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":162621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:57:02] local.INFO: GPS data processed {"connection_id":162621,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:57:02] local.INFO: Acknowledgment sent {"connection_id":162621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:57:05] local.INFO: TCP Data received {"connection_id":160245,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:57:05] local.INFO: Processing buffer {"connection_id":160245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:57:05] local.INFO: IMEI packet received {"connection_id":160245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":160245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:57:06] local.INFO: TCP Data received {"connection_id":160245,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:57:06] local.INFO: Processing buffer {"connection_id":160245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:57:06] local.INFO: Packet analysis {"connection_id":160245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:57:06] local.INFO: Extracted packet for processing {"connection_id":160245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 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-22 19:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576539904001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57:06] 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-22 19:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787408713000,"timestamp_ms":1787408713000,"timestamp_seconds":1787408713,"priority":1,"record_length":96,"hex_timestamp":"000001a029dc8528"} 
[2026-08-22 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-22 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 19:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576539904001,"66":12069,"81":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-22 19:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576539904001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-22 19:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576539904001,"power":12069,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":160245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:57:06] local.INFO: GPS data processed {"connection_id":160245,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:57:06] local.INFO: Acknowledgment sent {"connection_id":160245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:57:29] local.INFO: TCP Data received {"connection_id":160244,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029dcb408012d7d428005cd9560000d01622d..."} 
[2026-08-22 19:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dcb408012d7d428005cd9560000d01622d..."} 
[2026-08-22 19:57:29] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dcb408012d7d428005cd9560000d01622d..."} 
[2026-08-22 19:57:29] local.INFO: Packet analysis {"connection_id":160244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:57:29] local.INFO: Extracted packet for processing {"connection_id":160244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:57:29] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":97359200,"longitude_deg":76.3183744,"latitude_deg":9.73592,"altitude":13,"angle":354,"satellites":45,"speed":46,"hex_longitude":"2d7d4280","hex_latitude":"05cd9560","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576631552001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389040641637613568,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027043265520709632,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57: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-22 19:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787408725000,"timestamp_ms":1787408725000,"timestamp_seconds":1787408725,"priority":1,"record_length":96,"hex_timestamp":"000001a029dcb408"} 
[2026-08-22 19: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-22 19:57: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-22 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 19:57: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-22 19: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-22 19: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-22 19:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:57:29] 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-22 19:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576631552001,"66":27376,"235":206,"85":15104,"24":46,"16":389040641637613568,"45":9027043265520709632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-22 19:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576631552001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:57:29] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-22 19:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389040641637613568,"km_value":389040641637613.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027043265520709632,"description":"Unknown IO ID 45"} 
[2026-08-22 19:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576631552001,"power":27376,"unknown_235":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9027043265520709632}} 
[2026-08-22 19:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":160244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:57:29] local.INFO: GPS data processed {"connection_id":160244,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:57:29] local.INFO: Acknowledgment sent {"connection_id":160244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:57:34] local.INFO: TCP Data received {"connection_id":162621,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029dd4490012d1aa74007262620002100442b..."} 
[2026-08-22 19:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dd4490012d1aa74007262620002100442b..."} 
[2026-08-22 19:57:34] local.INFO: Processing buffer {"connection_id":162621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dd4490012d1aa74007262620002100442b..."} 
[2026-08-22 19:57:34] local.INFO: Packet analysis {"connection_id":162621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dd"} 
[2026-08-22 19:57:34] local.INFO: Extracted packet for processing {"connection_id":162621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dd"} 
[2026-08-22 19:57:34] local.INFO: GPS Element Parsed {"raw_longitude":756721472,"raw_latitude":119940640,"longitude_deg":75.6721472,"latitude_deg":11.994064,"altitude":33,"angle":68,"satellites":43,"speed":41,"hex_longitude":"2d1aa740","hex_latitude":"07262620","is_valid_coordinates":true} 
[2026-08-22 19:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576641792001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14958232925634560,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1914874297267058688,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787408762000,"timestamp_ms":1787408762000,"timestamp_seconds":1787408762,"priority":1,"record_length":96,"hex_timestamp":"000001a029dd4490"} 
[2026-08-22 19:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:57:34] 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-22 19:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 19:57:34] 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-22 19:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:57:34] 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-22 19:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576641792001,"66":13580,"175":206,"83":42752,"24":41,"16":14958232925634560,"45":1914874297267058688},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-22 19:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576641792001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:57:34] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-22 19:57:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14958232925634560,"km_value":14958232925634.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1914874297267058688,"description":"Unknown IO ID 45"} 
[2026-08-22 19:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576641792001,"power":13580,"unknown_175":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1914874297267058688}} 
[2026-08-22 19:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":162621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:57:34] local.INFO: GPS data processed {"connection_id":162621,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:57:34] local.INFO: Acknowledgment sent {"connection_id":162621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:57:37] local.INFO: TCP Data received {"connection_id":160245,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:57:37] local.INFO: Processing buffer {"connection_id":160245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:57:37] local.INFO: Packet analysis {"connection_id":160245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:57:37] local.INFO: Extracted packet for processing {"connection_id":160245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:57:37] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576539904001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57:37] 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-22 19:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787408713000,"timestamp_ms":1787408713000,"timestamp_seconds":1787408713,"priority":1,"record_length":96,"hex_timestamp":"000001a029dc8528"} 
[2026-08-22 19: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-22 19:57:37] 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-22 19: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576539904001,"66":12069,"81":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-22 19:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576539904001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-22 19:57:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576539904001,"power":12069,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":160245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:57:37] local.INFO: GPS data processed {"connection_id":160245,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:57:37] local.INFO: Acknowledgment sent {"connection_id":160245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:57:53] local.INFO: TCP Data received {"connection_id":160246,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:57:53] local.INFO: Processing buffer {"connection_id":160246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:57:53] local.INFO: IMEI packet received {"connection_id":160246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":160246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:57:57] local.INFO: TCP Data received {"connection_id":161195,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:57:57] local.INFO: Processing buffer {"connection_id":161195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:57:57] local.INFO: IMEI packet received {"connection_id":161195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":161195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:57:58] local.INFO: TCP Data received {"connection_id":160246,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:57:58] local.INFO: Processing buffer {"connection_id":160246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:57:58] local.INFO: IMEI packet received {"connection_id":160246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":160246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:57:58] local.INFO: TCP Data received {"connection_id":160246,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029dcd348012d7d400005cdb940000d01652c..."} 
[2026-08-22 19:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dcd348012d7d400005cdb940000d01652c..."} 
[2026-08-22 19:57:58] local.INFO: Processing buffer {"connection_id":160246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dcd348012d7d400005cdb940000d01652c..."} 
[2026-08-22 19:57:58] local.INFO: Packet analysis {"connection_id":160246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:57:58] local.INFO: Extracted packet for processing {"connection_id":160246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":97368384,"longitude_deg":76.3183104,"latitude_deg":9.7368384,"altitude":13,"angle":357,"satellites":44,"speed":45,"hex_longitude":"2d7d4000","hex_latitude":"05cdb940","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576633600001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389041088314212352,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917365616205824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:57: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-22 19:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787408733000,"timestamp_ms":1787408733000,"timestamp_seconds":1787408733,"priority":1,"record_length":96,"hex_timestamp":"000001a029dcd348"} 
[2026-08-22 19: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-22 19: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-22 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 19:57:58] 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-22 19: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-22 19: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-22 19:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:57:58] 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-22 19:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576633600001,"66":27310,"235":206,"85":15104,"24":45,"16":389041088314212352,"45":9025917365616205824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-22 19:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576633600001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:57:58] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-22 19:57:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389041088314212352,"km_value":389041088314212.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917365616205824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576633600001,"power":27310,"unknown_235":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9025917365616205824}} 
[2026-08-22 19:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":160246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:57:58] local.INFO: GPS data processed {"connection_id":160246,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:57:58] local.INFO: Acknowledgment sent {"connection_id":160246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:58:00] local.INFO: TCP Data received {"connection_id":162622,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:58:00] local.INFO: Processing buffer {"connection_id":162622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:58:00] local.INFO: IMEI packet received {"connection_id":162622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":162622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:58:02] local.INFO: TCP Data received {"connection_id":161195,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:58:02] local.INFO: Processing buffer {"connection_id":161195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:58:02] local.INFO: IMEI packet received {"connection_id":161195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":161195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:58:03] local.INFO: TCP Data received {"connection_id":161195,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029de1398012d1b4040072625b00028004f27..."} 
[2026-08-22 19:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029de1398012d1b4040072625b00028004f27..."} 
[2026-08-22 19:58:03] local.INFO: Processing buffer {"connection_id":161195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029de1398012d1b4040072625b00028004f27..."} 
[2026-08-22 19:58:03] local.INFO: Packet analysis {"connection_id":161195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029de"} 
[2026-08-22 19:58:03] local.INFO: Extracted packet for processing {"connection_id":161195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029de"} 
[2026-08-22 19:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756760640,"raw_latitude":119940528,"longitude_deg":75.676064,"latitude_deg":11.9940528,"altitude":40,"angle":79,"satellites":39,"speed":31,"hex_longitude":"2d1b4040","hex_latitude":"072625b0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576656128001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14960230085427200,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961950987122100224,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787408815000,"timestamp_ms":1787408815000,"timestamp_seconds":1787408815,"priority":1,"record_length":96,"hex_timestamp":"000001a029de1398"} 
[2026-08-22 19: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-22 19:58: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-22 19: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 19:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751527205,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3723266049,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435115695,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789853902,"corrected_to":0} 
[2026-08-22 19:58:03] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2147952173,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.WARNING: Large IO value detected {"io_id":26,"raw_value":-1297028831957745627,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.WARNING: Large IO value detected {"io_id":54,"raw_value":432571422313860691,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755584124780785,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,135,83,24,241,157,16,38,160,3,45,33,40,10,66,252,64,43,175,244,128,1,240,110,227,37,41,4,113,205,27,209,23,96,239,53,2,7,35,26,54,167],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1789853902,"validated":0}]} 
[2026-08-22 19:58:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810318907047411712,"timestamp_seconds":2810318907047411.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 19: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-22 19:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:58:03] 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-22 19:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576656128001,"66":13678,"135":206,"83":42752,"24":31,"16":14960230085427200,"45":1961950987122100224},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-22 19:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576656128001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:58:03] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-22 19:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14960230085427200,"km_value":14960230085427.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961950987122100224,"description":"Unknown IO ID 45"} 
[2026-08-22 19:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576656128001,"power":13678,"unknown_135":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1961950987122100224}} 
[2026-08-22 19:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":161195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:58:03] local.INFO: GPS data processed {"connection_id":161195,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:58:03] local.INFO: Acknowledgment sent {"connection_id":161195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:58:03] local.INFO: TCP Data received {"connection_id":161195,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029de1b68012d1b4680072625d80029006027..."} 
[2026-08-22 19:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029de1b68012d1b4680072625d80029006027..."} 
[2026-08-22 19:58:03] local.INFO: Processing buffer {"connection_id":161195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029de1b68012d1b4680072625d80029006027..."} 
[2026-08-22 19:58:03] local.INFO: Packet analysis {"connection_id":161195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029de"} 
[2026-08-22 19:58:03] local.INFO: Extracted packet for processing {"connection_id":161195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029de"} 
[2026-08-22 19:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756762240,"raw_latitude":119940568,"longitude_deg":75.676224,"latitude_deg":11.9940568,"altitude":41,"angle":96,"satellites":39,"speed":29,"hex_longitude":"2d1b4680","hex_latitude":"072625d8","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576656640001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14960307394838528,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963639836982489088,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787408817000,"timestamp_ms":1787408817000,"timestamp_seconds":1787408817,"priority":1,"record_length":96,"hex_timestamp":"000001a029de1b68"} 
[2026-08-22 19: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-22 19:58: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-22 19: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-22 19:58:03] 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-22 19: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-22 19: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-22 19:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:58:03] 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-22 19:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576656640001,"66":13689,"135":206,"83":42752,"24":29,"16":14960307394838528,"45":1963639836982489088},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-22 19:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576656640001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:58:03] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-22 19:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14960307394838528,"km_value":14960307394838.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963639836982489088,"description":"Unknown IO ID 45"} 
[2026-08-22 19:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576656640001,"power":13689,"unknown_135":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1963639836982489088}} 
[2026-08-22 19:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":161195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:58:04] local.INFO: GPS data processed {"connection_id":161195,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:58:04] local.INFO: Acknowledgment sent {"connection_id":161195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:58:05] local.INFO: TCP Data received {"connection_id":162622,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:58:05] local.INFO: Processing buffer {"connection_id":162622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:58:05] local.INFO: IMEI packet received {"connection_id":162622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":162622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:58:06] local.INFO: TCP Data received {"connection_id":162622,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:58:06] local.INFO: Processing buffer {"connection_id":162622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:58:06] local.INFO: Packet analysis {"connection_id":162622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:58:06] local.INFO: Extracted packet for processing {"connection_id":162622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576539904001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:06] 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-22 19:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787408713000,"timestamp_ms":1787408713000,"timestamp_seconds":1787408713,"priority":1,"record_length":96,"hex_timestamp":"000001a029dc8528"} 
[2026-08-22 19:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 19:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576539904001,"66":12069,"81":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-22 19:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576539904001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-22 19:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576539904001,"power":12069,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":162622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:58:06] local.INFO: GPS data processed {"connection_id":162622,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:58:06] local.INFO: Acknowledgment sent {"connection_id":162622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:58:30] local.INFO: TCP Data received {"connection_id":160246,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029de9868012d7d4a4005cf9840000a01672c..."} 
[2026-08-22 19:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029de9868012d7d4a4005cf9840000a01672c..."} 
[2026-08-22 19:58:30] local.INFO: Processing buffer {"connection_id":160246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029de9868012d7d4a4005cf9840000a01672c..."} 
[2026-08-22 19:58:30] local.INFO: Packet analysis {"connection_id":160246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029de"} 
[2026-08-22 19:58:30] local.INFO: Extracted packet for processing {"connection_id":160246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029de"} 
[2026-08-22 19:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":97491008,"longitude_deg":76.3185728,"latitude_deg":9.7491008,"altitude":10,"angle":359,"satellites":44,"speed":47,"hex_longitude":"2d7d4a40","hex_latitude":"05cf9840","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576663296001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389047041138884608,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427972708352,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58: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-22 19:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787408849000,"timestamp_ms":1787408849000,"timestamp_seconds":1787408849,"priority":1,"record_length":96,"hex_timestamp":"000001a029de9868"} 
[2026-08-22 19: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-22 19: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-22 19: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-08-22 19:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:58: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-22 19:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576663296001,"66":27300,"198":206,"85":15104,"24":47,"16":389047041138884608,"45":9028028427972708352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-22 19:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576663296001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:58:30] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-22 19:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389047041138884608,"km_value":389047041138884.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427972708352,"description":"Unknown IO ID 45"} 
[2026-08-22 19:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576663296001,"power":27300,"unknown_198":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9028028427972708352}} 
[2026-08-22 19:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":160246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:58:30] local.INFO: GPS data processed {"connection_id":160246,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:58:30] local.INFO: Acknowledgment sent {"connection_id":160246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:58:36] local.INFO: TCP Data received {"connection_id":161195,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029ded300012d1b38800725b0e0002d00af2a..."} 
[2026-08-22 19:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ded300012d1b38800725b0e0002d00af2a..."} 
[2026-08-22 19:58:36] local.INFO: Processing buffer {"connection_id":161195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ded300012d1b38800725b0e0002d00af2a..."} 
[2026-08-22 19:58:36] local.INFO: Packet analysis {"connection_id":161195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029de"} 
[2026-08-22 19:58:36] local.INFO: Extracted packet for processing {"connection_id":161195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029de"} 
[2026-08-22 19:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756758656,"raw_latitude":119910624,"longitude_deg":75.6758656,"latitude_deg":11.9910624,"altitude":45,"angle":175,"satellites":42,"speed":24,"hex_longitude":"2d1b3880","hex_latitude":"0725b0e0","is_valid_coordinates":true} 
[2026-08-22 19:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576668672001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14961952367312896,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961458405905661952,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787408864000,"timestamp_ms":1787408864000,"timestamp_seconds":1787408864,"priority":1,"record_length":96,"hex_timestamp":"000001a029ded300"} 
[2026-08-22 19:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:58: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-22 19:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 19:58:36] 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-22 19:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:58:36] 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-22 19:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576668672001,"66":13646,"217":206,"83":42752,"24":24,"16":14961952367312896,"45":1961458405905661952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 19:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576668672001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:58:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 19:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14961952367312896,"km_value":14961952367312.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961458405905661952,"description":"Unknown IO ID 45"} 
[2026-08-22 19:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576668672001,"power":13646,"unknown_217":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1961458405905661952}} 
[2026-08-22 19:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":161195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:58:36] local.INFO: GPS data processed {"connection_id":161195,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:58:36] local.INFO: Acknowledgment sent {"connection_id":161195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:58:38] local.INFO: TCP Data received {"connection_id":162622,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:58:38] local.INFO: Processing buffer {"connection_id":162622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:58:38] local.INFO: Packet analysis {"connection_id":162622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:58:38] local.INFO: Extracted packet for processing {"connection_id":162622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576539904001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:38] 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-22 19:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787408713000,"timestamp_ms":1787408713000,"timestamp_seconds":1787408713,"priority":1,"record_length":96,"hex_timestamp":"000001a029dc8528"} 
[2026-08-22 19:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:58:38] 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-22 19:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":162622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":162622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":162622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576539904001,"66":12069,"81":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-22 19:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576539904001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-22 19:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576539904001,"power":12069,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":162622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:58:38] local.INFO: GPS data processed {"connection_id":162622,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:58:38] local.INFO: Acknowledgment sent {"connection_id":162622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:58:51] local.INFO: TCP Data received {"connection_id":160248,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:58:51] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:58:51] local.INFO: IMEI packet received {"connection_id":160248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":160248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:58:52] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:58:52] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:58:52] local.INFO: IMEI packet received {"connection_id":160247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":160247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:58:53] local.INFO: TCP Data received {"connection_id":160248,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:58:53] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:58:53] local.INFO: IMEI packet received {"connection_id":160248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":160248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:58:54] local.INFO: TCP Data received {"connection_id":160248,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:58:54] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:58:54] local.INFO: IMEI packet received {"connection_id":160248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":160248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:58:55] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:58:55] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:58:55] local.INFO: IMEI packet received {"connection_id":160247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":160247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:58:56] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029dee688012d1b3b400725a4d8002d00a32b..."} 
[2026-08-22 19:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dee688012d1b3b400725a4d8002d00a32b..."} 
[2026-08-22 19:58:56] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dee688012d1b3b400725a4d8002d00a32b..."} 
[2026-08-22 19:58:56] local.INFO: Packet analysis {"connection_id":160247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029de"} 
[2026-08-22 19:58:56] local.INFO: Extracted packet for processing {"connection_id":160247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029de"} 
[2026-08-22 19:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756759360,"raw_latitude":119907544,"longitude_deg":75.675936,"latitude_deg":11.9907544,"altitude":45,"angle":163,"satellites":43,"speed":27,"hex_longitude":"2d1b3b40","hex_latitude":"0725a4d8","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576669184001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14962102691168256,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961458405905326080,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 19:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787408869000,"timestamp_ms":1787408869000,"timestamp_seconds":1787408869,"priority":1,"record_length":96,"hex_timestamp":"000001a029dee688"} 
[2026-08-22 19: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-22 19:58:56] 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-22 19: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-22 19:58:56] 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-22 19: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-22 19: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-22 19:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:58:56] 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-22 19:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576669184001,"66":13580,"217":206,"83":42752,"24":27,"16":14962102691168256,"45":1961458405905326080},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 19:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576669184001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:58:56] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 19:58:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 19:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14962102691168256,"km_value":14962102691168.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961458405905326080,"description":"Unknown IO ID 45"} 
[2026-08-22 19:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576669184001,"power":13580,"unknown_217":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1961458405905326080}} 
[2026-08-22 19:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":160247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:58:56] local.INFO: GPS data processed {"connection_id":160247,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:58:56] local.INFO: Acknowledgment sent {"connection_id":160247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:58:56] local.INFO: TCP Data received {"connection_id":160248,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029deb7a8012d7d4a4005cfbed0000901672d..."} 
[2026-08-22 19:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029deb7a8012d7d4a4005cfbed0000901672d..."} 
[2026-08-22 19:58:56] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029deb7a8012d7d4a4005cfbed0000901672d..."} 
[2026-08-22 19:58:56] local.INFO: Packet analysis {"connection_id":160248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029de"} 
[2026-08-22 19:58:56] local.INFO: Extracted packet for processing {"connection_id":160248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029de"} 
[2026-08-22 19:58:56] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":97500880,"longitude_deg":76.3185728,"latitude_deg":9.750088,"altitude":9,"angle":359,"satellites":45,"speed":48,"hex_longitude":"2d7d4a40","hex_latitude":"05cfbed0","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576665344001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389047517880254464,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796719456256,"note":"Value kept but may cause issues"} 
[2026-08-22 19:58: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-22 19:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787408857000,"timestamp_ms":1787408857000,"timestamp_seconds":1787408857,"priority":1,"record_length":96,"hex_timestamp":"000001a029deb7a8"} 
[2026-08-22 19: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-22 19: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-22 19: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":164,"data_length":795,"current_offset":136} 
[2026-08-22 19:58: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-22 19: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-22 19: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-22 19:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:58: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-22 19:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576665344001,"66":27484,"198":206,"85":15104,"24":48,"16":389047517880254464,"45":9028098796719456256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-22 19:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576665344001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:58:56] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-22 19:58:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389047517880254464,"km_value":389047517880254.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796719456256,"description":"Unknown IO ID 45"} 
[2026-08-22 19:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576665344001,"power":27484,"unknown_198":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9028098796719456256}} 
[2026-08-22 19:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":160248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:58:56] local.INFO: GPS data processed {"connection_id":160248,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:58:56] local.INFO: Acknowledgment sent {"connection_id":160248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:59:05] local.INFO: TCP Data received {"connection_id":160020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:59:05] local.INFO: Processing buffer {"connection_id":160020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:59:05] local.INFO: IMEI packet received {"connection_id":160020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 19:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":160020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:59:10] local.INFO: TCP Data received {"connection_id":160020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:59:10] local.INFO: Processing buffer {"connection_id":160020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 19:59:10] local.INFO: IMEI packet received {"connection_id":160020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 19:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":160020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:59:12] local.INFO: TCP Data received {"connection_id":160020,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:59:12] local.INFO: Processing buffer {"connection_id":160020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:59:12] local.INFO: Packet analysis {"connection_id":160020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:59:12] local.INFO: Extracted packet for processing {"connection_id":160020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576539904001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:12] 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-22 19:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787408713000,"timestamp_ms":1787408713000,"timestamp_seconds":1787408713,"priority":1,"record_length":96,"hex_timestamp":"000001a029dc8528"} 
[2026-08-22 19: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-22 19:59:12] 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-22 19: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576539904001,"66":12069,"81":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-22 19:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576539904001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:59:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-22 19:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576539904001,"power":12069,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":160020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:59:12] local.INFO: GPS data processed {"connection_id":160020,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:59:12] local.INFO: Acknowledgment sent {"connection_id":160020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:59:15] local.INFO: TCP Data received {"connection_id":160020,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:59:15] local.INFO: Processing buffer {"connection_id":160020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029dc8528012d7e3a8005d35830000700572d..."} 
[2026-08-22 19:59:15] local.INFO: Packet analysis {"connection_id":160020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:59:15] local.INFO: Extracted packet for processing {"connection_id":160020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029dc"} 
[2026-08-22 19:59:15] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736752,"longitude_deg":76.3247232,"latitude_deg":9.7736752,"altitude":7,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-22 19: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-22 19:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576539904001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388546253225984,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937101824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:15] 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-22 19:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787408713000,"timestamp_ms":1787408713000,"timestamp_seconds":1787408713,"priority":1,"record_length":96,"hex_timestamp":"000001a029dc8528"} 
[2026-08-22 19: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-22 19:59:15] 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-22 19: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":150,"data_length":795,"current_offset":136} 
[2026-08-22 19:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 19: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-22 19: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-22 19:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 19:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 19:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 19:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 19:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576539904001,"66":12069,"81":206,"85":15104,"24":0,"16":122388546253225984,"45":9095723159937101824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-22 19:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 19:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 19:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576539904001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:59:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-22 19:59:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388546253225984,"km_value":122388546253225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937101824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576539904001,"power":12069,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937101824}} 
[2026-08-22 19:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":160020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:59:15] local.INFO: GPS data processed {"connection_id":160020,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:59:15] local.INFO: Acknowledgment sent {"connection_id":160020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:59:27] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029df01e0012d1b430007259128002c00972a..."} 
[2026-08-22 19:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029df01e0012d1b430007259128002c00972a..."} 
[2026-08-22 19:59:27] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029df01e0012d1b430007259128002c00972a..."} 
[2026-08-22 19:59:27] local.INFO: Packet analysis {"connection_id":160247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029df"} 
[2026-08-22 19:59:27] local.INFO: Extracted packet for processing {"connection_id":160247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029df"} 
[2026-08-22 19:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756761344,"raw_latitude":119902504,"longitude_deg":75.6761344,"latitude_deg":11.9902504,"altitude":44,"angle":151,"satellites":42,"speed":38,"hex_longitude":"2d1b4300","hex_latitude":"07259128","is_valid_coordinates":true} 
[2026-08-22 19:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576670464001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14962364684173312,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962232462090491904,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] 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-22 19:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787408876000,"timestamp_ms":1787408876000,"timestamp_seconds":1787408876,"priority":1,"record_length":96,"hex_timestamp":"000001a029df01e0"} 
[2026-08-22 19:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:59: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-22 19:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751527206,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2818572288,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":12289,"corrected_to":0} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3735554049,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3453485101,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636284017601241,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648733077713325,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":27,"raw_value":5998802563607035949,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755532585173233,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,217,83,24,241,157,16,39,160,211,45,128,176,42,10,66,203,182,46,43,191,192,1,240,88,227,41,37,4,113,205,30,156,73,80,239,53,2,7,32,27,167],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":203,"original":12289,"validated":0},{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-08-22 19:59:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242771136787447808,"timestamp_seconds":3242771136787448.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 19:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 19:59:27] 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-22 19:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 19:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 19:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576670464001,"66":13722,"43":206,"83":41984,"24":38,"16":14962364684173312,"45":1962232462090491904},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 19:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 19:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 19:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576670464001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:59:27] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 19:59:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 19:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14962364684173312,"km_value":14962364684173.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962232462090491904,"description":"Unknown IO ID 45"} 
[2026-08-22 19:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576670464001,"power":13722,"unknown_43":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1962232462090491904}} 
[2026-08-22 19:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":160247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:59:27] local.INFO: GPS data processed {"connection_id":160247,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:59:27] local.INFO: Acknowledgment sent {"connection_id":160247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:59:27] local.INFO: TCP Data received {"connection_id":160248,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ded6e8012d7d4a8005cfe650000801662d..."} 
[2026-08-22 19:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ded6e8012d7d4a8005cfe650000801662d..."} 
[2026-08-22 19:59:27] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ded6e8012d7d4a8005cfe650000801662d..."} 
[2026-08-22 19:59:27] local.INFO: Packet analysis {"connection_id":160248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029de"} 
[2026-08-22 19:59:27] local.INFO: Extracted packet for processing {"connection_id":160248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029de"} 
[2026-08-22 19:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763185792,"raw_latitude":97510992,"longitude_deg":76.3185792,"latitude_deg":9.7510992,"altitude":8,"angle":358,"satellites":45,"speed":50,"hex_longitude":"2d7d4a80","hex_latitude":"05cfe650","is_valid_coordinates":true} 
[2026-08-22 19:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576667392001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389048007506526208,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796721983488,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:27] 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-22 19:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787408865000,"timestamp_ms":1787408865000,"timestamp_seconds":1787408865,"priority":1,"record_length":96,"hex_timestamp":"000001a029ded6e8"} 
[2026-08-22 19:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:59: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-22 19:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 19:59: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-22 19:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:59:27] 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-22 19:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576667392001,"66":27397,"198":206,"85":15104,"24":50,"16":389048007506526208,"45":9028098796721983488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-22 19:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576667392001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:59:27] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-22 19:59:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389048007506526208,"km_value":389048007506526.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796721983488,"description":"Unknown IO ID 45"} 
[2026-08-22 19:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576667392001,"power":27397,"unknown_198":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9028098796721983488}} 
[2026-08-22 19:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":160248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:59:27] local.INFO: GPS data processed {"connection_id":160248,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:59:27] local.INFO: Acknowledgment sent {"connection_id":160248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:59:48] local.INFO: TCP Data received {"connection_id":161196,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:59:48] local.INFO: Processing buffer {"connection_id":161196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:59:48] local.INFO: IMEI packet received {"connection_id":161196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 19:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":161196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:59:50] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:59:50] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:59:50] local.INFO: IMEI packet received {"connection_id":160021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 19:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":160021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 19:59:52] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:59:52] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:59:52] local.INFO: IMEI packet received {"connection_id":160021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":160021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:59:53] local.INFO: TCP Data received {"connection_id":161196,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:59:53] local.INFO: Processing buffer {"connection_id":161196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 19:59:53] local.INFO: IMEI packet received {"connection_id":161196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 19:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":161196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 19:59:54] local.INFO: TCP Data received {"connection_id":161196,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029def240012d7d49c005d00900000801652d..."} 
[2026-08-22 19:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029def240012d7d49c005d00900000801652d..."} 
[2026-08-22 19:59:54] local.INFO: Processing buffer {"connection_id":161196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029def240012d7d49c005d00900000801652d..."} 
[2026-08-22 19:59:54] local.INFO: Packet analysis {"connection_id":161196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029de"} 
[2026-08-22 19:59:54] local.INFO: Extracted packet for processing {"connection_id":161196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029de"} 
[2026-08-22 19:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763185600,"raw_latitude":97519872,"longitude_deg":76.31856,"latitude_deg":9.7519872,"altitude":8,"angle":357,"satellites":45,"speed":48,"hex_longitude":"2d7d49c0","hex_latitude":"05d00900","is_valid_coordinates":true} 
[2026-08-22 19:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 19:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576669440001,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389048441298223104,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169165468749824,"note":"Value kept but may cause issues"} 
[2026-08-22 19:59:54] 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-22 19:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787408872000,"timestamp_ms":1787408872000,"timestamp_seconds":1787408872,"priority":1,"record_length":96,"hex_timestamp":"000001a029def240"} 
[2026-08-22 19:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 19:59: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-22 19:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 19:59:54] 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-22 19:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 19:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 19:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 19:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 19:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 19:59:54] 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-22 19:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 19:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 19:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576669440001,"66":27332,"198":206,"85":15104,"24":48,"16":389048441298223104,"45":9028169165468749824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-22 19:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 19:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 19:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576669440001,"description":"Unknown IO ID 0"} 
[2026-08-22 19:59:54] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-22 19:59:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 19:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389048441298223104,"km_value":389048441298223.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 19:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169165468749824,"description":"Unknown IO ID 45"} 
[2026-08-22 19:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576669440001,"power":27332,"unknown_198":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9028169165468749824}} 
[2026-08-22 19:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":161196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 19:59:54] local.INFO: GPS data processed {"connection_id":161196,"processed":1,"errors":0,"total":1} 
[2026-08-22 19:59:54] local.INFO: Acknowledgment sent {"connection_id":161196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 19:59:57] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:59:57] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 19:59:57] local.INFO: IMEI packet received {"connection_id":160021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 19:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":160021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:00:11] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029df1d38012d1b4e8007257ec00028008a2a..."} 
[2026-08-22 20:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029df1d38012d1b4e8007257ec00028008a2a..."} 
[2026-08-22 20:00:11] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029df1d38012d1b4e8007257ec00028008a2a..."} 
[2026-08-22 20:00:11] local.INFO: Packet analysis {"connection_id":160021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029df"} 
[2026-08-22 20:00:11] local.INFO: Extracted packet for processing {"connection_id":160021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029df"} 
[2026-08-22 20:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756764288,"raw_latitude":119897792,"longitude_deg":75.6764288,"latitude_deg":11.9897792,"altitude":40,"angle":138,"satellites":42,"speed":23,"hex_longitude":"2d1b4e80","hex_latitude":"07257ec0","is_valid_coordinates":true} 
[2026-08-22 20:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576672256001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14962635267112960,"note":"Value kept but may cause issues"} 
[2026-08-22 20:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964413893158709248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:00:11] 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-22 20:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787408883000,"timestamp_ms":1787408883000,"timestamp_seconds":1787408883,"priority":1,"record_length":96,"hex_timestamp":"000001a029df1d38"} 
[2026-08-22 20:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:00: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-22 20:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-22 20:00:11] 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-22 20:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:00:11] 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-22 20:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576672256001,"66":13493,"43":206,"83":41984,"24":23,"16":14962635267112960,"45":1964413893158709248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 20:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576672256001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:00:11] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 20:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14962635267112960,"km_value":14962635267112.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964413893158709248,"description":"Unknown IO ID 45"} 
[2026-08-22 20:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576672256001,"power":13493,"unknown_43":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1964413893158709248}} 
[2026-08-22 20:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":160021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:00:12] local.INFO: GPS data processed {"connection_id":160021,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:00:12] local.INFO: Acknowledgment sent {"connection_id":160021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:00:25] local.INFO: TCP Data received {"connection_id":161196,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e059a0012d7d390005d11040000901652c..."} 
[2026-08-22 20:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e059a0012d7d390005d11040000901652c..."} 
[2026-08-22 20:00:25] local.INFO: Processing buffer {"connection_id":161196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e059a0012d7d390005d11040000901652c..."} 
[2026-08-22 20:00:25] local.INFO: Packet analysis {"connection_id":161196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e0"} 
[2026-08-22 20:00:25] local.INFO: Extracted packet for processing {"connection_id":161196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e0"} 
[2026-08-22 20:00:25] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97587264,"longitude_deg":76.3181312,"latitude_deg":9.7587264,"altitude":9,"angle":357,"satellites":44,"speed":43,"hex_longitude":"2d7d3900","hex_latitude":"05d11040","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576692480001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389051722653237248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409579329536,"note":"Value kept but may cause issues"} 
[2026-08-22 20:00:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-22 20:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787408964000,"timestamp_ms":1787408964000,"timestamp_seconds":1787408964,"priority":1,"record_length":96,"hex_timestamp":"000001a029e059a0"} 
[2026-08-22 20: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-22 20: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-22 20: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 20:00: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-22 20: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-22 20: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-22 20:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:00: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-22 20:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576692480001,"66":27267,"24":43,"85":15104,"16":389051722653237248,"45":9024017409579329536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-08-22 20:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576692480001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:00:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389051722653237248,"km_value":389051722653237.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409579329536,"description":"Unknown IO ID 45"} 
[2026-08-22 20:00:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457576692480001,"power":27267,"ignition":43,"unknown_85":15104,"odometer":null,"unknown_45":9024017409579329536}} 
[2026-08-22 20:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":161196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:00:25] local.INFO: GPS data processed {"connection_id":161196,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:00:25] local.INFO: Acknowledgment sent {"connection_id":161196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:00:52] local.INFO: TCP Data received {"connection_id":160249,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:00:52] local.INFO: Processing buffer {"connection_id":160249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:00:52] local.INFO: IMEI packet received {"connection_id":160249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":160249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:00:53] local.INFO: TCP Data received {"connection_id":160249,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:00:53] local.INFO: Processing buffer {"connection_id":160249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:00:53] local.INFO: IMEI packet received {"connection_id":160249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":160249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:00:57] local.INFO: TCP Data received {"connection_id":160249,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:00:57] local.INFO: Processing buffer {"connection_id":160249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:00:57] local.INFO: IMEI packet received {"connection_id":160249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":160249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:00:58] local.INFO: TCP Data received {"connection_id":160249,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029df53e8012d1b650007256538002600952b..."} 
[2026-08-22 20:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029df53e8012d1b650007256538002600952b..."} 
[2026-08-22 20:00:58] local.INFO: Processing buffer {"connection_id":160249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029df53e8012d1b650007256538002600952b..."} 
[2026-08-22 20:00:58] local.INFO: Packet analysis {"connection_id":160249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029df"} 
[2026-08-22 20:00:58] local.INFO: Extracted packet for processing {"connection_id":160249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029df"} 
[2026-08-22 20:00:58] local.INFO: GPS Element Parsed {"raw_longitude":756770048,"raw_latitude":119891256,"longitude_deg":75.6770048,"latitude_deg":11.9891256,"altitude":38,"angle":149,"satellites":43,"speed":24,"hex_longitude":"2d1b6500","hex_latitude":"07256538","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576674048001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14963056173907968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967650855389675520,"note":"Value kept but may cause issues"} 
[2026-08-22 20:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787408897000,"timestamp_ms":1787408897000,"timestamp_seconds":1787408897,"priority":1,"record_length":96,"hex_timestamp":"000001a029df53e8"} 
[2026-08-22 20: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-22 20:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 20: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 20:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:00:58] 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-22 20:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576674048001,"66":13656,"43":206,"83":41984,"24":24,"16":14963056173907968,"45":1967650855389675520},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 20:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576674048001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:00:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 20:00:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14963056173907968,"km_value":14963056173907.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967650855389675520,"description":"Unknown IO ID 45"} 
[2026-08-22 20:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576674048001,"power":13656,"unknown_43":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1967650855389675520}} 
[2026-08-22 20:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":160249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:00:58] local.INFO: GPS data processed {"connection_id":160249,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:00:58] local.INFO: Acknowledgment sent {"connection_id":160249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:00:58] local.INFO: TCP Data received {"connection_id":160250,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:00:58] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:00:58] local.INFO: IMEI packet received {"connection_id":160250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":160250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:00:59] local.INFO: TCP Data received {"connection_id":160250,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:00:59] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:00:59] local.INFO: IMEI packet received {"connection_id":160250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":160250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:01:00] local.INFO: TCP Data received {"connection_id":160250,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e078e0012d7d370005d13480000801652d..."} 
[2026-08-22 20:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e078e0012d7d370005d13480000801652d..."} 
[2026-08-22 20:01:00] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e078e0012d7d370005d13480000801652d..."} 
[2026-08-22 20:01:00] local.INFO: Packet analysis {"connection_id":160250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e0"} 
[2026-08-22 20:01:00] local.INFO: Extracted packet for processing {"connection_id":160250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e0"} 
[2026-08-22 20:01:00] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":97596544,"longitude_deg":76.31808,"latitude_deg":9.7596544,"altitude":8,"angle":357,"satellites":45,"speed":47,"hex_longitude":"2d7d3700","hex_latitude":"05d13480","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576694784001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389052173624803328,"note":"Value kept but may cause issues"} 
[2026-08-22 20:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353395838976,"note":"Value kept but may cause issues"} 
[2026-08-22 20:01:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-22 20:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787408972000,"timestamp_ms":1787408972000,"timestamp_seconds":1787408972,"priority":1,"record_length":96,"hex_timestamp":"000001a029e078e0"} 
[2026-08-22 20: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-22 20:01: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-22 20: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":131,"data_length":795,"current_offset":136} 
[2026-08-22 20:01: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-22 20: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-22 20: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-22 20:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:01: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-22 20:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576694784001,"66":27484,"24":47,"85":15104,"16":389052173624803328,"45":9023243353395838976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-08-22 20:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576694784001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:01:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389052173624803328,"km_value":389052173624803.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353395838976,"description":"Unknown IO ID 45"} 
[2026-08-22 20:01:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457576694784001,"power":27484,"ignition":47,"unknown_85":15104,"odometer":null,"unknown_45":9023243353395838976}} 
[2026-08-22 20:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":160250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:01:00] local.INFO: GPS data processed {"connection_id":160250,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:01:00] local.INFO: Acknowledgment sent {"connection_id":160250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:01:04] local.INFO: TCP Data received {"connection_id":160250,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e09820012d7d358005d15878000701652d..."} 
[2026-08-22 20:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e09820012d7d358005d15878000701652d..."} 
[2026-08-22 20:01:04] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e09820012d7d358005d15878000701652d..."} 
[2026-08-22 20:01:04] local.INFO: Packet analysis {"connection_id":160250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e0"} 
[2026-08-22 20:01:04] local.INFO: Extracted packet for processing {"connection_id":160250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e0"} 
[2026-08-22 20:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":97605752,"longitude_deg":76.3180416,"latitude_deg":9.7605752,"altitude":7,"angle":357,"satellites":45,"speed":43,"hex_longitude":"2d7d3580","hex_latitude":"05d15878","is_valid_coordinates":true} 
[2026-08-22 20:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576696832001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389052620301402112,"note":"Value kept but may cause issues"} 
[2026-08-22 20:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403444793344,"note":"Value kept but may cause issues"} 
[2026-08-22 20:01:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-22 20:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787408980000,"timestamp_ms":1787408980000,"timestamp_seconds":1787408980,"priority":1,"record_length":96,"hex_timestamp":"000001a029e09820"} 
[2026-08-22 20:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:01: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-22 20:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 20:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:01: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-22 20:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576696832001,"66":27397,"24":43,"85":15104,"16":389052620301402112,"45":9022680403444793344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-08-22 20:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576696832001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389052620301402112,"km_value":389052620301402.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403444793344,"description":"Unknown IO ID 45"} 
[2026-08-22 20:01:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457576696832001,"power":27397,"ignition":43,"unknown_85":15104,"odometer":null,"unknown_45":9022680403444793344}} 
[2026-08-22 20:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":160250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:01:04] local.INFO: GPS data processed {"connection_id":160250,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:01:04] local.INFO: Acknowledgment sent {"connection_id":160250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:01:29] local.INFO: TCP Data received {"connection_id":160249,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a029df5bb8012d1b6700072560c8002600a22c..."} 
[2026-08-22 20:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029df5bb8012d1b6700072560c8002600a22c..."} 
[2026-08-22 20:01:29] local.INFO: Processing buffer {"connection_id":160249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029df5bb8012d1b6700072560c8002600a22c..."} 
[2026-08-22 20:01:29] local.INFO: Packet analysis {"connection_id":160249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029df"} 
[2026-08-22 20:01:29] local.INFO: Extracted packet for processing {"connection_id":160249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029df"} 
[2026-08-22 20:01:29] local.INFO: GPS Element Parsed {"raw_longitude":756770560,"raw_latitude":119890120,"longitude_deg":75.677056,"latitude_deg":11.989012,"altitude":38,"angle":162,"satellites":44,"speed":24,"hex_longitude":"2d1b6700","hex_latitude":"072560c8","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576677632001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14963116303450112,"note":"Value kept but may cause issues"} 
[2026-08-22 20:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973984042363992064,"note":"Value kept but may cause issues"} 
[2026-08-22 20:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787408899000,"timestamp_ms":1787408899000,"timestamp_seconds":1787408899,"priority":1,"record_length":96,"hex_timestamp":"000001a029df5bb8"} 
[2026-08-22 20: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-22 20:01:29] 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-22 20: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-22 20:01:29] 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-22 20: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-22 20: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-22 20:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:01:29] 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-22 20:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576677632001,"66":13624,"43":206,"83":41984,"24":24,"16":14963116303450112,"45":1973984042363992064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-22 20:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576677632001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:01:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-22 20:01:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14963116303450112,"km_value":14963116303450.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973984042363992064,"description":"Unknown IO ID 45"} 
[2026-08-22 20:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576677632001,"power":13624,"unknown_43":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1973984042363992064}} 
[2026-08-22 20:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":160249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:01:29] local.INFO: GPS data processed {"connection_id":160249,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:01:29] local.INFO: Acknowledgment sent {"connection_id":160249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:01:48] local.INFO: TCP Data received {"connection_id":161197,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:01:48] local.INFO: Processing buffer {"connection_id":161197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:01:48] local.INFO: IMEI packet received {"connection_id":161197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":161197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:01:52] local.INFO: TCP Data received {"connection_id":161198,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:01:52] local.INFO: Processing buffer {"connection_id":161198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:01:52] local.INFO: IMEI packet received {"connection_id":161198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":161198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:01:53] local.INFO: TCP Data received {"connection_id":161197,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:01:53] local.INFO: Processing buffer {"connection_id":161197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:01:53] local.INFO: IMEI packet received {"connection_id":161197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":161197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:01:54] local.INFO: TCP Data received {"connection_id":161197,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e0bf30012d7d330005d17db8000801642d..."} 
[2026-08-22 20:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e0bf30012d7d330005d17db8000801642d..."} 
[2026-08-22 20:01:54] local.INFO: Processing buffer {"connection_id":161197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e0bf30012d7d330005d17db8000801642d..."} 
[2026-08-22 20:01:54] local.INFO: Packet analysis {"connection_id":161197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e0"} 
[2026-08-22 20:01:54] local.INFO: Extracted packet for processing {"connection_id":161197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e0"} 
[2026-08-22 20:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":97615288,"longitude_deg":76.3179776,"latitude_deg":9.7615288,"altitude":8,"angle":356,"satellites":45,"speed":36,"hex_longitude":"2d7d3300","hex_latitude":"05d17db8","is_valid_coordinates":true} 
[2026-08-22 20:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576698880001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389053084157870080,"note":"Value kept but may cause issues"} 
[2026-08-22 20:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258190982084608,"note":"Value kept but may cause issues"} 
[2026-08-22 20:01:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-22 20:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787408990000,"timestamp_ms":1787408990000,"timestamp_seconds":1787408990,"priority":1,"record_length":96,"hex_timestamp":"000001a029e0bf30"} 
[2026-08-22 20:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:01: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-22 20:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 20:01:54] 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-22 20:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:01:54] 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-22 20:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576698880001,"66":27397,"24":36,"85":15104,"16":389053084157870080,"45":9022258190982084608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-08-22 20:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576698880001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:01:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389053084157870080,"km_value":389053084157870.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258190982084608,"description":"Unknown IO ID 45"} 
[2026-08-22 20:01:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457576698880001,"power":27397,"ignition":36,"unknown_85":15104,"odometer":null,"unknown_45":9022258190982084608}} 
[2026-08-22 20:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":161197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:01:54] local.INFO: GPS data processed {"connection_id":161197,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:01:54] local.INFO: Acknowledgment sent {"connection_id":161197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:01:57] local.INFO: TCP Data received {"connection_id":161198,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:01:57] local.INFO: Processing buffer {"connection_id":161198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:01:57] local.INFO: IMEI packet received {"connection_id":161198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":161198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:01:58] local.INFO: TCP Data received {"connection_id":161198,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:01:58] local.INFO: Processing buffer {"connection_id":161198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:01:58] local.INFO: Packet analysis {"connection_id":161198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:01:58] local.INFO: Extracted packet for processing {"connection_id":161198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:01:58] local.INFO: GPS Element Parsed {"raw_longitude":756767040,"raw_latitude":119864904,"longitude_deg":75.676704,"latitude_deg":11.9864904,"altitude":48,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5940","hex_latitude":"0724fe48","is_valid_coordinates":true} 
[2026-08-22 20:01: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-22 20:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576713216001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:01:58] 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-22 20:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787409053000,"timestamp_ms":1787409053000,"timestamp_seconds":1787409053,"priority":1,"record_length":96,"hex_timestamp":"000001a029e1b548"} 
[2026-08-22 20: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-22 20:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 20: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 20:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:01:58] 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-22 20:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576713216001,"66":12722,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576713216001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:01:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:01:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576713216001,"power":12722,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":161198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:01:58] local.INFO: GPS data processed {"connection_id":161198,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:01:58] local.INFO: Acknowledgment sent {"connection_id":161198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:02:25] local.INFO: TCP Data received {"connection_id":161197,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e0e640012d7d2f4005d19bf8000701562d..."} 
[2026-08-22 20:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e0e640012d7d2f4005d19bf8000701562d..."} 
[2026-08-22 20:02:25] local.INFO: Processing buffer {"connection_id":161197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e0e640012d7d2f4005d19bf8000701562d..."} 
[2026-08-22 20:02:25] local.INFO: Packet analysis {"connection_id":161197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e0"} 
[2026-08-22 20:02:25] local.INFO: Extracted packet for processing {"connection_id":161197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e0"} 
[2026-08-22 20:02:25] local.INFO: GPS Element Parsed {"raw_longitude":763178816,"raw_latitude":97623032,"longitude_deg":76.3178816,"latitude_deg":9.7623032,"altitude":7,"angle":342,"satellites":45,"speed":22,"hex_longitude":"2d7d2f40","hex_latitude":"05d19bf8","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576701440001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389053466409959424,"note":"Value kept but may cause issues"} 
[2026-08-22 20:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503542749184,"note":"Value kept but may cause issues"} 
[2026-08-22 20:02:25] 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-22 20:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787409000000,"timestamp_ms":1787409000000,"timestamp_seconds":1787409000,"priority":1,"record_length":96,"hex_timestamp":"000001a029e0e640"} 
[2026-08-22 20: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-22 20:02: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-22 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 20:02:25] 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-22 20: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-22 20: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-22 20:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:02: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-22 20:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576701440001,"66":27321,"23":206,"85":15104,"24":22,"16":389053466409959424,"45":9021554503542749184},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-22 20:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576701440001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:02:25] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-22 20:02:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389053466409959424,"km_value":389053466409959.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503542749184,"description":"Unknown IO ID 45"} 
[2026-08-22 20:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576701440001,"power":27321,"unknown_23":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9021554503542749184}} 
[2026-08-22 20:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":161197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:02:25] local.INFO: GPS data processed {"connection_id":161197,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:02:25] local.INFO: Acknowledgment sent {"connection_id":161197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:02:29] local.INFO: TCP Data received {"connection_id":161198,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:02:29] local.INFO: Processing buffer {"connection_id":161198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:02:29] local.INFO: Packet analysis {"connection_id":161198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:02:29] local.INFO: Extracted packet for processing {"connection_id":161198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:02:29] local.INFO: GPS Element Parsed {"raw_longitude":756767040,"raw_latitude":119864904,"longitude_deg":75.676704,"latitude_deg":11.9864904,"altitude":48,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5940","hex_latitude":"0724fe48","is_valid_coordinates":true} 
[2026-08-22 20:02:29] 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-22 20:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:02:29] 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-22 20:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787409053000,"timestamp_ms":1787409053000,"timestamp_seconds":1787409053,"priority":1,"record_length":96,"hex_timestamp":"000001a029e1b548"} 
[2026-08-22 20: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-22 20:02: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-22 20: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:02:29] 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-22 20: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-22 20: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-22 20:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:02:29] 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-22 20:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":12722,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:02:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":12722,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":161198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:02:29] local.INFO: GPS data processed {"connection_id":161198,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:02:29] local.INFO: Acknowledgment sent {"connection_id":161198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:02:48] local.INFO: TCP Data received {"connection_id":160022,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:02:48] local.INFO: Processing buffer {"connection_id":160022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:02:48] local.INFO: IMEI packet received {"connection_id":160022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":160022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:02:53] local.INFO: TCP Data received {"connection_id":160022,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:02:53] local.INFO: Processing buffer {"connection_id":160022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:02:53] local.INFO: IMEI packet received {"connection_id":160022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":160022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:02:54] local.INFO: TCP Data received {"connection_id":160022,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e13848012d7d280005d1ae80000901612c..."} 
[2026-08-22 20:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e13848012d7d280005d1ae80000901612c..."} 
[2026-08-22 20:02:54] local.INFO: Processing buffer {"connection_id":160022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e13848012d7d280005d1ae80000901612c..."} 
[2026-08-22 20:02:54] local.INFO: Packet analysis {"connection_id":160022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:02:54] local.INFO: Extracted packet for processing {"connection_id":160022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:02:54] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97627776,"longitude_deg":76.317696,"latitude_deg":9.7627776,"altitude":9,"angle":353,"satellites":44,"speed":12,"hex_longitude":"2d7d2800","hex_latitude":"05d1ae80","is_valid_coordinates":true} 
[2026-08-22 20:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576704000001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389053715518062592,"note":"Value kept but may cause issues"} 
[2026-08-22 20:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020498972382066688,"note":"Value kept but may cause issues"} 
[2026-08-22 20:02: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-22 20:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787409021000,"timestamp_ms":1787409021000,"timestamp_seconds":1787409021,"priority":1,"record_length":96,"hex_timestamp":"000001a029e13848"} 
[2026-08-22 20:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:02: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-22 20:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 20:02: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-22 20:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:02:54] 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-22 20:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576704000001,"66":27267,"23":206,"85":15104,"24":12,"16":389053715518062592,"45":9020498972382066688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-22 20:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576704000001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:02:54] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-22 20:02:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389053715518062592,"km_value":389053715518062.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020498972382066688,"description":"Unknown IO ID 45"} 
[2026-08-22 20:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576704000001,"power":27267,"unknown_23":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9020498972382066688}} 
[2026-08-22 20:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":160022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:02:54] local.INFO: GPS data processed {"connection_id":160022,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:02:54] local.INFO: Acknowledgment sent {"connection_id":160022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:02:57] local.INFO: TCP Data received {"connection_id":160023,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:02:57] local.INFO: Processing buffer {"connection_id":160023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:02:57] local.INFO: IMEI packet received {"connection_id":160023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":160023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:03:02] local.INFO: TCP Data received {"connection_id":160023,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:03:02] local.INFO: Processing buffer {"connection_id":160023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:03:02] local.INFO: IMEI packet received {"connection_id":160023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":160023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:03:03] local.INFO: TCP Data received {"connection_id":160023,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:03:03] local.INFO: Processing buffer {"connection_id":160023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:03:03] local.INFO: Packet analysis {"connection_id":160023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:03:03] local.INFO: Extracted packet for processing {"connection_id":160023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756767040,"raw_latitude":119864904,"longitude_deg":75.676704,"latitude_deg":11.9864904,"altitude":48,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5940","hex_latitude":"0724fe48","is_valid_coordinates":true} 
[2026-08-22 20:03:03] 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-22 20:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:03:03] 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-22 20:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787409053000,"timestamp_ms":1787409053000,"timestamp_seconds":1787409053,"priority":1,"record_length":96,"hex_timestamp":"000001a029e1b548"} 
[2026-08-22 20: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-22 20:03:03] 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-22 20: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:03:03] 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-22 20:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":12722,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:03:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":12722,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":160023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:03:03] local.INFO: GPS data processed {"connection_id":160023,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:03:03] local.INFO: Acknowledgment sent {"connection_id":160023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:03:25] local.INFO: TCP Data received {"connection_id":160022,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e18a50012d7d260005d1cc48000a01652d..."} 
[2026-08-22 20:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e18a50012d7d260005d1cc48000a01652d..."} 
[2026-08-22 20:03:25] local.INFO: Processing buffer {"connection_id":160022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e18a50012d7d260005d1cc48000a01652d..."} 
[2026-08-22 20:03:25] local.INFO: Packet analysis {"connection_id":160022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:03:25] local.INFO: Extracted packet for processing {"connection_id":160022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:03:25] local.INFO: GPS Element Parsed {"raw_longitude":763176448,"raw_latitude":97635400,"longitude_deg":76.3176448,"latitude_deg":9.76354,"altitude":10,"angle":357,"satellites":45,"speed":14,"hex_longitude":"2d7d2600","hex_latitude":"05d1cc48","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576709376001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389054084885250048,"note":"Value kept but may cause issues"} 
[2026-08-22 20:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458278802128896,"note":"Value kept but may cause issues"} 
[2026-08-22 20:03:25] 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-22 20:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787409042000,"timestamp_ms":1787409042000,"timestamp_seconds":1787409042,"priority":1,"record_length":96,"hex_timestamp":"000001a029e18a50"} 
[2026-08-22 20: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-22 20:03: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-22 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 20:03:25] 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-22 20: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-22 20: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-22 20:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:03: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-22 20:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576709376001,"66":27365,"197":206,"85":15104,"24":14,"16":389054084885250048,"45":9018458278802128896},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-22 20:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576709376001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:03:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-22 20:03:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389054084885250048,"km_value":389054084885250.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458278802128896,"description":"Unknown IO ID 45"} 
[2026-08-22 20:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576709376001,"power":27365,"unknown_197":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9018458278802128896}} 
[2026-08-22 20:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":160022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:03:25] local.INFO: GPS data processed {"connection_id":160022,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:03:25] local.INFO: Acknowledgment sent {"connection_id":160022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:03:34] local.INFO: TCP Data received {"connection_id":160023,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:03:34] local.INFO: Processing buffer {"connection_id":160023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:03:34] local.INFO: Packet analysis {"connection_id":160023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:03:34] local.INFO: Extracted packet for processing {"connection_id":160023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:03:34] local.INFO: GPS Element Parsed {"raw_longitude":756767040,"raw_latitude":119864904,"longitude_deg":75.676704,"latitude_deg":11.9864904,"altitude":48,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5940","hex_latitude":"0724fe48","is_valid_coordinates":true} 
[2026-08-22 20:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:03:34] 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-22 20:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787409053000,"timestamp_ms":1787409053000,"timestamp_seconds":1787409053,"priority":1,"record_length":96,"hex_timestamp":"000001a029e1b548"} 
[2026-08-22 20: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-22 20:03:34] 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-22 20: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:03:34] 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-22 20: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-22 20: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-22 20:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:03:34] 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-22 20:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":12722,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:03:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":12722,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":160023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:03:34] local.INFO: GPS data processed {"connection_id":160023,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:03:34] local.INFO: Acknowledgment sent {"connection_id":160023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:03:48] local.INFO: TCP Data received {"connection_id":160251,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:03:48] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:03:48] local.INFO: IMEI packet received {"connection_id":160251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":160251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:03:52] local.INFO: TCP Data received {"connection_id":162623,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:03:52] local.INFO: Processing buffer {"connection_id":162623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:03:52] local.INFO: IMEI packet received {"connection_id":162623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":162623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:03:53] local.INFO: TCP Data received {"connection_id":160251,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:03:53] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:03:53] local.INFO: IMEI packet received {"connection_id":160251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":160251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:03:55] local.INFO: TCP Data received {"connection_id":160251,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e1dc58012d7d254005d1d720000a01642d..."} 
[2026-08-22 20:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e1dc58012d7d254005d1d720000a01642d..."} 
[2026-08-22 20:03:55] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e1dc58012d7d254005d1d720000a01642d..."} 
[2026-08-22 20:03:55] local.INFO: Packet analysis {"connection_id":160251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:03:55] local.INFO: Extracted packet for processing {"connection_id":160251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763176256,"raw_latitude":97638176,"longitude_deg":76.3176256,"latitude_deg":9.7638176,"altitude":10,"angle":356,"satellites":45,"speed":0,"hex_longitude":"2d7d2540","hex_latitude":"05d1d720","is_valid_coordinates":true} 
[2026-08-22 20:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576714752001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389054222324203520,"note":"Value kept but may cause issues"} 
[2026-08-22 20:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017895328850659328,"note":"Value kept but may cause issues"} 
[2026-08-22 20:03:55] 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-22 20:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787409063000,"timestamp_ms":1787409063000,"timestamp_seconds":1787409063,"priority":1,"record_length":96,"hex_timestamp":"000001a029e1dc58"} 
[2026-08-22 20:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:03: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-22 20:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 20:03: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-22 20:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:03: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-22 20:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576714752001,"66":27267,"23":206,"85":15104,"24":0,"16":389054222324203520,"45":9017895328850659328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-22 20:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576714752001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:03:55] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-22 20:03:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389054222324203520,"km_value":389054222324203.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017895328850659328,"description":"Unknown IO ID 45"} 
[2026-08-22 20:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576714752001,"power":27267,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9017895328850659328}} 
[2026-08-22 20:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":160251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:03:55] local.INFO: GPS data processed {"connection_id":160251,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:03:55] local.INFO: Acknowledgment sent {"connection_id":160251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:03:57] local.INFO: TCP Data received {"connection_id":162623,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:03:57] local.INFO: Processing buffer {"connection_id":162623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:03:57] local.INFO: IMEI packet received {"connection_id":162623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":162623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:03:58] local.INFO: TCP Data received {"connection_id":162623,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:03:58] local.INFO: Processing buffer {"connection_id":162623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:03:58] local.INFO: Packet analysis {"connection_id":162623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:03:58] local.INFO: Extracted packet for processing {"connection_id":162623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:03:58] local.INFO: GPS Element Parsed {"raw_longitude":756767040,"raw_latitude":119864904,"longitude_deg":75.676704,"latitude_deg":11.9864904,"altitude":48,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5940","hex_latitude":"0724fe48","is_valid_coordinates":true} 
[2026-08-22 20:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:03:58] 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-22 20:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787409053000,"timestamp_ms":1787409053000,"timestamp_seconds":1787409053,"priority":1,"record_length":96,"hex_timestamp":"000001a029e1b548"} 
[2026-08-22 20: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-22 20:03: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-22 20: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:03:58] 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-22 20: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-22 20: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-22 20:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:03:58] 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-22 20:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":12722,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:03:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":12722,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":162623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:03:58] local.INFO: GPS data processed {"connection_id":162623,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:03:58] local.INFO: Acknowledgment sent {"connection_id":162623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:04:29] local.INFO: TCP Data received {"connection_id":162623,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:04:29] local.INFO: Processing buffer {"connection_id":162623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:04:29] local.INFO: Packet analysis {"connection_id":162623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:04:29] local.INFO: Extracted packet for processing {"connection_id":162623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:04:29] local.INFO: GPS Element Parsed {"raw_longitude":756767040,"raw_latitude":119864904,"longitude_deg":75.676704,"latitude_deg":11.9864904,"altitude":48,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5940","hex_latitude":"0724fe48","is_valid_coordinates":true} 
[2026-08-22 20:04:29] 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-22 20:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:04:29] 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-22 20:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787409053000,"timestamp_ms":1787409053000,"timestamp_seconds":1787409053,"priority":1,"record_length":96,"hex_timestamp":"000001a029e1b548"} 
[2026-08-22 20:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:04: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-22 20:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:04:29] 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-22 20:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:04:29] 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-22 20:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":12722,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:04:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:04:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":12722,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":162623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:04:29] local.INFO: GPS data processed {"connection_id":162623,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:04:29] local.INFO: Acknowledgment sent {"connection_id":162623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:04:31] local.INFO: TCP Data received {"connection_id":160251,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e22e60012d7d248005d1e560000b01672d..."} 
[2026-08-22 20:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e22e60012d7d248005d1e560000b01672d..."} 
[2026-08-22 20:04:31] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e22e60012d7d248005d1e560000b01672d..."} 
[2026-08-22 20:04:31] local.INFO: Packet analysis {"connection_id":160251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e2"} 
[2026-08-22 20:04:31] local.INFO: Extracted packet for processing {"connection_id":160251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e2"} 
[2026-08-22 20:04:31] local.INFO: GPS Element Parsed {"raw_longitude":763176064,"raw_latitude":97641824,"longitude_deg":76.3176064,"latitude_deg":9.7641824,"altitude":11,"angle":359,"satellites":45,"speed":6,"hex_longitude":"2d7d2480","hex_latitude":"05d1e560","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576720128001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389054398417862656,"note":"Value kept but may cause issues"} 
[2026-08-22 20:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017684222618836992,"note":"Value kept but may cause issues"} 
[2026-08-22 20:04:31] 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-22 20:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787409084000,"timestamp_ms":1787409084000,"timestamp_seconds":1787409084,"priority":1,"record_length":96,"hex_timestamp":"000001a029e22e60"} 
[2026-08-22 20: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-22 20:04: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-22 20: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":131,"data_length":795,"current_offset":136} 
[2026-08-22 20:04: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-22 20: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-22 20: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-22 20:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:04: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-22 20:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576720128001,"66":27321,"23":206,"85":15104,"24":6,"16":389054398417862656,"45":9017684222618836992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-22 20:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576720128001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:04:31] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-22 20:04:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389054398417862656,"km_value":389054398417862.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017684222618836992,"description":"Unknown IO ID 45"} 
[2026-08-22 20:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576720128001,"power":27321,"unknown_23":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9017684222618836992}} 
[2026-08-22 20:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":160251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:04:31] local.INFO: GPS data processed {"connection_id":160251,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:04:31] local.INFO: Acknowledgment sent {"connection_id":160251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:04:48] local.INFO: TCP Data received {"connection_id":160024,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:04:48] local.INFO: Processing buffer {"connection_id":160024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:04:48] local.INFO: IMEI packet received {"connection_id":160024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":160024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:04:52] local.INFO: TCP Data received {"connection_id":161199,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:04:52] local.INFO: Processing buffer {"connection_id":161199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:04:52] local.INFO: IMEI packet received {"connection_id":161199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":161199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:04:53] local.INFO: TCP Data received {"connection_id":160024,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:04:53] local.INFO: Processing buffer {"connection_id":160024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:04:53] local.INFO: IMEI packet received {"connection_id":160024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":160024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:04:54] local.INFO: TCP Data received {"connection_id":160024,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e28068012d7d240005d1eda8000a01672b..."} 
[2026-08-22 20:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e28068012d7d240005d1eda8000a01672b..."} 
[2026-08-22 20:04:54] local.INFO: Processing buffer {"connection_id":160024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e28068012d7d240005d1eda8000a01672b..."} 
[2026-08-22 20:04:54] local.INFO: Packet analysis {"connection_id":160024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e2"} 
[2026-08-22 20:04:54] local.INFO: Extracted packet for processing {"connection_id":160024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e2"} 
[2026-08-22 20:04:54] local.INFO: GPS Element Parsed {"raw_longitude":763175936,"raw_latitude":97643944,"longitude_deg":76.3175936,"latitude_deg":9.7643944,"altitude":10,"angle":359,"satellites":43,"speed":0,"hex_longitude":"2d7d2400","hex_latitude":"05d1eda8","is_valid_coordinates":true} 
[2026-08-22 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-22 20:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576725504001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389054505792045056,"note":"Value kept but may cause issues"} 
[2026-08-22 20:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017473116387237888,"note":"Value kept but may cause issues"} 
[2026-08-22 20:04: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-22 20:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787409105000,"timestamp_ms":1787409105000,"timestamp_seconds":1787409105,"priority":1,"record_length":96,"hex_timestamp":"000001a029e28068"} 
[2026-08-22 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-22 20:04: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-22 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 20:04: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-22 20:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 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-22 20:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:04:54] 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-22 20:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576725504001,"66":27365,"23":206,"85":15104,"24":0,"16":389054505792045056,"45":9017473116387237888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-22 20:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576725504001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:04:54] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-22 20:04:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389054505792045056,"km_value":389054505792045.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017473116387237888,"description":"Unknown IO ID 45"} 
[2026-08-22 20:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576725504001,"power":27365,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9017473116387237888}} 
[2026-08-22 20:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":160024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:04:54] local.INFO: GPS data processed {"connection_id":160024,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:04:54] local.INFO: Acknowledgment sent {"connection_id":160024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:04:57] local.INFO: TCP Data received {"connection_id":161199,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:04:57] local.INFO: Processing buffer {"connection_id":161199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:04:57] local.INFO: IMEI packet received {"connection_id":161199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":161199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:04:58] local.INFO: TCP Data received {"connection_id":161199,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:04:58] local.INFO: Processing buffer {"connection_id":161199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:04:58] local.INFO: Packet analysis {"connection_id":161199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:04:58] local.INFO: Extracted packet for processing {"connection_id":161199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:04:58] local.INFO: GPS Element Parsed {"raw_longitude":756767040,"raw_latitude":119864904,"longitude_deg":75.676704,"latitude_deg":11.9864904,"altitude":48,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5940","hex_latitude":"0724fe48","is_valid_coordinates":true} 
[2026-08-22 20:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:04:58] 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-22 20:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787409053000,"timestamp_ms":1787409053000,"timestamp_seconds":1787409053,"priority":1,"record_length":96,"hex_timestamp":"000001a029e1b548"} 
[2026-08-22 20: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-22 20:04: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-22 20: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:04:58] 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-22 20: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-22 20: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-22 20:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:04:58] 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-22 20:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":12722,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:04:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":12722,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":161199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:04:58] local.INFO: GPS data processed {"connection_id":161199,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:04:58] local.INFO: Acknowledgment sent {"connection_id":161199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:05:25] local.INFO: TCP Data received {"connection_id":160024,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e2d270012d7d238005d1f6e8000a01672a..."} 
[2026-08-22 20:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e2d270012d7d238005d1f6e8000a01672a..."} 
[2026-08-22 20:05:25] local.INFO: Processing buffer {"connection_id":160024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e2d270012d7d238005d1f6e8000a01672a..."} 
[2026-08-22 20:05:25] local.INFO: Packet analysis {"connection_id":160024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e2"} 
[2026-08-22 20:05:25] local.INFO: Extracted packet for processing {"connection_id":160024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e2"} 
[2026-08-22 20:05:25] local.INFO: GPS Element Parsed {"raw_longitude":763175808,"raw_latitude":97646312,"longitude_deg":76.3175808,"latitude_deg":9.7646312,"altitude":10,"angle":359,"satellites":42,"speed":5,"hex_longitude":"2d7d2380","hex_latitude":"05d1f6e8","is_valid_coordinates":true} 
[2026-08-22 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-22 20:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576730880001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389054617461194752,"note":"Value kept but may cause issues"} 
[2026-08-22 20:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017332378899425280,"note":"Value kept but may cause issues"} 
[2026-08-22 20:05:25] 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-22 20:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787409126000,"timestamp_ms":1787409126000,"timestamp_seconds":1787409126,"priority":1,"record_length":96,"hex_timestamp":"000001a029e2d270"} 
[2026-08-22 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-22 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-22 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-22 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-22 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-22 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-22 20:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:05: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-22 20:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576730880001,"66":27300,"23":206,"85":15104,"24":5,"16":389054617461194752,"45":9017332378899425280},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-22 20:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576730880001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:05:25] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-22 20:05:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389054617461194752,"km_value":389054617461194.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017332378899425280,"description":"Unknown IO ID 45"} 
[2026-08-22 20:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576730880001,"power":27300,"unknown_23":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9017332378899425280}} 
[2026-08-22 20:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":160024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:05:25] local.INFO: GPS data processed {"connection_id":160024,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:05:25] local.INFO: Acknowledgment sent {"connection_id":160024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:05:29] local.INFO: TCP Data received {"connection_id":161199,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:05:29] local.INFO: Processing buffer {"connection_id":161199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:05:29] local.INFO: Packet analysis {"connection_id":161199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:05:29] local.INFO: Extracted packet for processing {"connection_id":161199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:05:29] local.INFO: GPS Element Parsed {"raw_longitude":756767040,"raw_latitude":119864904,"longitude_deg":75.676704,"latitude_deg":11.9864904,"altitude":48,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5940","hex_latitude":"0724fe48","is_valid_coordinates":true} 
[2026-08-22 20:05:29] 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-22 20:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:05:29] 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-22 20:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787409053000,"timestamp_ms":1787409053000,"timestamp_seconds":1787409053,"priority":1,"record_length":96,"hex_timestamp":"000001a029e1b548"} 
[2026-08-22 20: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-22 20:05: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-22 20: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:05:29] 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-22 20: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-22 20: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-22 20:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:05:29] 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-22 20:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":12722,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:05:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:05:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":12722,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":161199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:05:29] local.INFO: GPS data processed {"connection_id":161199,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:05:29] local.INFO: Acknowledgment sent {"connection_id":161199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:05:48] local.INFO: TCP Data received {"connection_id":162624,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:05:48] local.INFO: Processing buffer {"connection_id":162624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:05:48] local.INFO: IMEI packet received {"connection_id":162624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":162624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:05:50] local.INFO: TCP Data received {"connection_id":162624,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:05:50] local.INFO: Processing buffer {"connection_id":162624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:05:50] local.INFO: IMEI packet received {"connection_id":162624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":162624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:05:52] local.INFO: TCP Data received {"connection_id":161200,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:05:52] local.INFO: Processing buffer {"connection_id":161200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:05:52] local.INFO: IMEI packet received {"connection_id":161200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":161200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:05:53] local.INFO: TCP Data received {"connection_id":162624,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:05:53] local.INFO: Processing buffer {"connection_id":162624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:05:53] local.INFO: IMEI packet received {"connection_id":162624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":162624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:05:54] local.INFO: TCP Data received {"connection_id":162624,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e32478012d7d23c005d202f0000f016529..."} 
[2026-08-22 20:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e32478012d7d23c005d202f0000f016529..."} 
[2026-08-22 20:05:54] local.INFO: Processing buffer {"connection_id":162624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e32478012d7d23c005d202f0000f016529..."} 
[2026-08-22 20:05:54] local.INFO: Packet analysis {"connection_id":162624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e3"} 
[2026-08-22 20:05:54] local.INFO: Extracted packet for processing {"connection_id":162624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e3"} 
[2026-08-22 20:05:54] local.INFO: GPS Element Parsed {"raw_longitude":763175872,"raw_latitude":97649392,"longitude_deg":76.3175872,"latitude_deg":9.7649392,"altitude":15,"angle":357,"satellites":41,"speed":0,"hex_longitude":"2d7d23c0","hex_latitude":"05d202f0","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576736256001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389054772080017408,"note":"Value kept but may cause issues"} 
[2026-08-22 20:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017191641411676160,"note":"Value kept but may cause issues"} 
[2026-08-22 20:05: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-22 20:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787409147000,"timestamp_ms":1787409147000,"timestamp_seconds":1787409147,"priority":1,"record_length":96,"hex_timestamp":"000001a029e32478"} 
[2026-08-22 20: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-22 20:05: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-22 20: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":164,"data_length":795,"current_offset":136} 
[2026-08-22 20:05: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-22 20: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-22 20: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-22 20:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:05:54] 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-22 20:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576736256001,"66":27245,"23":206,"85":15104,"24":0,"16":389054772080017408,"45":9017191641411676160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-22 20:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576736256001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:05:54] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-22 20:05:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389054772080017408,"km_value":389054772080017.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017191641411676160,"description":"Unknown IO ID 45"} 
[2026-08-22 20:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576736256001,"power":27245,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9017191641411676160}} 
[2026-08-22 20:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":162624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:05:54] local.INFO: GPS data processed {"connection_id":162624,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:05:54] local.INFO: Acknowledgment sent {"connection_id":162624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:06:25] local.INFO: TCP Data received {"connection_id":162624,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e36ac8012d7d248005d20c78001100082b..."} 
[2026-08-22 20:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e36ac8012d7d248005d20c78001100082b..."} 
[2026-08-22 20:06:25] local.INFO: Processing buffer {"connection_id":162624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e36ac8012d7d248005d20c78001100082b..."} 
[2026-08-22 20:06:25] local.INFO: Packet analysis {"connection_id":162624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e3"} 
[2026-08-22 20:06:25] local.INFO: Extracted packet for processing {"connection_id":162624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e3"} 
[2026-08-22 20:06:25] local.INFO: GPS Element Parsed {"raw_longitude":763176064,"raw_latitude":97651832,"longitude_deg":76.3176064,"latitude_deg":9.7651832,"altitude":17,"angle":8,"satellites":43,"speed":9,"hex_longitude":"2d7d2480","hex_latitude":"05d20c78","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576741632001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389054896634068992,"note":"Value kept but may cause issues"} 
[2026-08-22 20:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017262010156642304,"note":"Value kept but may cause issues"} 
[2026-08-22 20:06:25] 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-22 20:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787409165000,"timestamp_ms":1787409165000,"timestamp_seconds":1787409165,"priority":1,"record_length":96,"hex_timestamp":"000001a029e36ac8"} 
[2026-08-22 20: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-22 20: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-22 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 20:06: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-22 20: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-22 20: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-22 20:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:06: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-22 20:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576741632001,"66":27463,"23":206,"85":15104,"24":9,"16":389054896634068992,"45":9017262010156642304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-22 20:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576741632001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:06:25] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-22 20:06:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389054896634068992,"km_value":389054896634069.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017262010156642304,"description":"Unknown IO ID 45"} 
[2026-08-22 20:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576741632001,"power":27463,"unknown_23":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9017262010156642304}} 
[2026-08-22 20:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":162624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:06:25] local.INFO: GPS data processed {"connection_id":162624,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:06:25] local.INFO: Acknowledgment sent {"connection_id":162624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:06:27] local.INFO: TCP Data received {"connection_id":160025,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:06:27] local.INFO: Processing buffer {"connection_id":160025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:06:27] local.INFO: IMEI packet received {"connection_id":160025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":160025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:06:32] local.INFO: TCP Data received {"connection_id":160025,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:06:32] local.INFO: Processing buffer {"connection_id":160025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:06:32] local.INFO: IMEI packet received {"connection_id":160025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":160025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:06:33] local.INFO: TCP Data received {"connection_id":160025,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:06:33] local.INFO: Processing buffer {"connection_id":160025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e1b548012d1b59400724fe48003000bb27..."} 
[2026-08-22 20:06:33] local.INFO: Packet analysis {"connection_id":160025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:06:33] local.INFO: Extracted packet for processing {"connection_id":160025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e1"} 
[2026-08-22 20:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756767040,"raw_latitude":119864904,"longitude_deg":75.676704,"latitude_deg":11.9864904,"altitude":48,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5940","hex_latitude":"0724fe48","is_valid_coordinates":true} 
[2026-08-22 20:06:33] 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-22 20:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:06:33] 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-22 20:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787409053000,"timestamp_ms":1787409053000,"timestamp_seconds":1787409053,"priority":1,"record_length":96,"hex_timestamp":"000001a029e1b548"} 
[2026-08-22 20: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-22 20:06: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-22 20: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:06:33] 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-22 20: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-22 20: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-22 20:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":12722,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:06:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:06:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":12722,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":160025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:06:33] local.INFO: GPS data processed {"connection_id":160025,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:06:33] local.INFO: Acknowledgment sent {"connection_id":160025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:06:57] local.INFO: TCP Data received {"connection_id":162625,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:06:57] local.INFO: Processing buffer {"connection_id":162625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:06:57] local.INFO: IMEI packet received {"connection_id":162625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":162625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:06:58] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:06:58] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:06:58] local.INFO: IMEI packet received {"connection_id":160252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":160252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:07:02] local.INFO: TCP Data received {"connection_id":162625,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:07:02] local.INFO: Processing buffer {"connection_id":162625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:07:02] local.INFO: IMEI packet received {"connection_id":162625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":162625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:07:03] local.INFO: TCP Data received {"connection_id":162625,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:07:03] local.INFO: Processing buffer {"connection_id":162625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:07:03] local.INFO: Packet analysis {"connection_id":162625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:07:03] local.INFO: Extracted packet for processing {"connection_id":162625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:07:03] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 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-22 20:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:07:03] 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-22 20:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787409355000,"timestamp_ms":1787409355000,"timestamp_seconds":1787409355,"priority":1,"record_length":96,"hex_timestamp":"000001a029e650f8"} 
[2026-08-22 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-22 20:07:03] 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-22 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 20:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:07:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":162625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:07:03] local.INFO: GPS data processed {"connection_id":162625,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:07:03] local.INFO: Acknowledgment sent {"connection_id":162625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:07:03] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:07:03] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:07:03] local.INFO: IMEI packet received {"connection_id":160252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":160252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:07:05] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e60aa8012d7d3bc005d29670000a01642d..."} 
[2026-08-22 20:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e60aa8012d7d3bc005d29670000a01642d..."} 
[2026-08-22 20:07:05] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e60aa8012d7d3bc005d29670000a01642d..."} 
[2026-08-22 20:07:05] local.INFO: Packet analysis {"connection_id":160252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:07:05] local.INFO: Extracted packet for processing {"connection_id":160252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97687152,"longitude_deg":76.3182016,"latitude_deg":9.7687152,"altitude":10,"angle":356,"satellites":45,"speed":12,"hex_longitude":"2d7d3bc0","hex_latitude":"05d29670","is_valid_coordinates":true} 
[2026-08-22 20:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576789504001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389056657570660352,"note":"Value kept but may cause issues"} 
[2026-08-22 20:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023876672118786048,"note":"Value kept but may cause issues"} 
[2026-08-22 20:07:05] 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-22 20:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787409337000,"timestamp_ms":1787409337000,"timestamp_seconds":1787409337,"priority":1,"record_length":96,"hex_timestamp":"000001a029e60aa8"} 
[2026-08-22 20:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:07: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-22 20:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 20:07: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-22 20:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576789504001,"66":27300,"117":206,"85":15104,"24":12,"16":389056657570660352,"45":9023876672118786048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-22 20:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576789504001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:07:05] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 20:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389056657570660352,"km_value":389056657570660.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023876672118786048,"description":"Unknown IO ID 45"} 
[2026-08-22 20:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576789504001,"power":27300,"unknown_117":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9023876672118786048}} 
[2026-08-22 20:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":160252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:07:05] local.INFO: GPS data processed {"connection_id":160252,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:07:05] local.INFO: Acknowledgment sent {"connection_id":160252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:07:34] local.INFO: TCP Data received {"connection_id":162625,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:07:34] local.INFO: Processing buffer {"connection_id":162625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:07:34] local.INFO: Packet analysis {"connection_id":162625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:07:34] local.INFO: Extracted packet for processing {"connection_id":162625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:07:34] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:07:34] 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-22 20:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787409355000,"timestamp_ms":1787409355000,"timestamp_seconds":1787409355,"priority":1,"record_length":96,"hex_timestamp":"000001a029e650f8"} 
[2026-08-22 20: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-22 20:07:34] 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-22 20: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:07:34] 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-22 20: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-22 20: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-22 20:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:07:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:07:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":162625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:07:34] local.INFO: GPS data processed {"connection_id":162625,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:07:34] local.INFO: Acknowledgment sent {"connection_id":162625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:07:48] local.INFO: TCP Data received {"connection_id":161201,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:07:48] local.INFO: Processing buffer {"connection_id":161201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:07:48] local.INFO: IMEI packet received {"connection_id":161201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":161201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:07:52] local.INFO: TCP Data received {"connection_id":161202,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:07:52] local.INFO: Processing buffer {"connection_id":161202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:07:52] local.INFO: IMEI packet received {"connection_id":161202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":161202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:07:52] local.INFO: TCP Data received {"connection_id":161201,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:07:52] local.INFO: Processing buffer {"connection_id":161201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:07:52] local.INFO: IMEI packet received {"connection_id":161201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":161201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:07:57] local.INFO: TCP Data received {"connection_id":161201,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e654e0012d7d3c0005d2ba90000b016728..."} 
[2026-08-22 20:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e654e0012d7d3c0005d2ba90000b016728..."} 
[2026-08-22 20:07:57] local.INFO: Processing buffer {"connection_id":161201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e654e0012d7d3c0005d2ba90000b016728..."} 
[2026-08-22 20:07:57] local.INFO: Packet analysis {"connection_id":161201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:07:57] local.INFO: Extracted packet for processing {"connection_id":161201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:07:57] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":97696400,"longitude_deg":76.318208,"latitude_deg":9.76964,"altitude":11,"angle":359,"satellites":40,"speed":25,"hex_longitude":"2d7d3c00","hex_latitude":"05d2ba90","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576790272001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389057104247259136,"note":"Value kept but may cause issues"} 
[2026-08-22 20:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409607364608,"note":"Value kept but may cause issues"} 
[2026-08-22 20:07:57] 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-22 20:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787409356000,"timestamp_ms":1787409356000,"timestamp_seconds":1787409356,"priority":1,"record_length":96,"hex_timestamp":"000001a029e654e0"} 
[2026-08-22 20: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-22 20:07: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-22 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 20:07:57] 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-22 20: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-22 20: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-22 20:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:07: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-22 20:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576790272001,"66":27321,"117":206,"85":15104,"24":25,"16":389057104247259136,"45":9024017409607364608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-22 20:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576790272001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:07:57] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 20:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389057104247259136,"km_value":389057104247259.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409607364608,"description":"Unknown IO ID 45"} 
[2026-08-22 20:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576790272001,"power":27321,"unknown_117":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9024017409607364608}} 
[2026-08-22 20:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":161201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:07:57] local.INFO: GPS data processed {"connection_id":161201,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:07:57] local.INFO: Acknowledgment sent {"connection_id":161201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:07:57] local.INFO: TCP Data received {"connection_id":161202,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:07:57] local.INFO: Processing buffer {"connection_id":161202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:07:57] local.INFO: IMEI packet received {"connection_id":161202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":161202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:07:58] local.INFO: TCP Data received {"connection_id":161202,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:07:58] local.INFO: Processing buffer {"connection_id":161202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:07:58] local.INFO: Packet analysis {"connection_id":161202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:07:58] local.INFO: Extracted packet for processing {"connection_id":161202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:07:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 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-22 20:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:07:58] 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-22 20:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787409355000,"timestamp_ms":1787409355000,"timestamp_seconds":1787409355,"priority":1,"record_length":96,"hex_timestamp":"000001a029e650f8"} 
[2026-08-22 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-22 20:07: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-22 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:07:58] 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-22 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-22 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-22 20:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:07:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":161202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:07:58] local.INFO: GPS data processed {"connection_id":161202,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:07:58] local.INFO: Acknowledgment sent {"connection_id":161202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:08:15] local.INFO: TCP Data received {"connection_id":162626,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:08:15] local.INFO: Processing buffer {"connection_id":162626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:08:15] local.INFO: IMEI packet received {"connection_id":162626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 20:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":162626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:08:16] local.INFO: TCP Data received {"connection_id":162626,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:08:16] local.INFO: Processing buffer {"connection_id":162626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:08:16] local.INFO: IMEI packet received {"connection_id":162626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 20:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":162626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:08:16] local.INFO: TCP Data received {"connection_id":162626,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:08:16] local.INFO: Processing buffer {"connection_id":162626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:08:16] local.INFO: IMEI packet received {"connection_id":162626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 20:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":162626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:08:17] local.INFO: TCP Data received {"connection_id":162626,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:08:17] local.INFO: Processing buffer {"connection_id":162626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:08:17] local.INFO: IMEI packet received {"connection_id":162626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 20:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":162626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:08:18] local.INFO: TCP Data received {"connection_id":162626,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029e7f6d8012d7e32c005d358a0000501112e..."} 
[2026-08-22 20:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e7f6d8012d7e32c005d358a0000501112e..."} 
[2026-08-22 20:08:18] local.INFO: Processing buffer {"connection_id":162626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e7f6d8012d7e32c005d358a0000501112e..."} 
[2026-08-22 20:08:18] local.INFO: Packet analysis {"connection_id":162626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e7"} 
[2026-08-22 20:08:18] local.INFO: Extracted packet for processing {"connection_id":162626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e7"} 
[2026-08-22 20:08:18] local.INFO: GPS Element Parsed {"raw_longitude":763245248,"raw_latitude":97736864,"longitude_deg":76.3245248,"latitude_deg":9.7736864,"altitude":5,"angle":273,"satellites":46,"speed":4,"hex_longitude":"2d7e32c0","hex_latitude":"05d358a0","is_valid_coordinates":true} 
[2026-08-22 20:08: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-22 20:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576821504001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388816836165632,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094034310076887040,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08: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-22 20:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787409463000,"timestamp_ms":1787409463000,"timestamp_seconds":1787409463,"priority":1,"record_length":96,"hex_timestamp":"000001a029e7f6d8"} 
[2026-08-22 20:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:08:18] 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-22 20:08: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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-22 20:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:08: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-22 20:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 20:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 20:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576821504001,"66":11634,"109":206,"85":15104,"24":4,"16":122388816836165632,"45":9094034310076887040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 20:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 20:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 20:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576821504001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:08:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 20:08:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388816836165632,"km_value":122388816836165.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094034310076887040,"description":"Unknown IO ID 45"} 
[2026-08-22 20:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576821504001,"power":11634,"unknown_109":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9094034310076887040}} 
[2026-08-22 20:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":162626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:08:18] local.INFO: GPS data processed {"connection_id":162626,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:08:18] local.INFO: Acknowledgment sent {"connection_id":162626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:08:19] local.INFO: TCP Data received {"connection_id":162626,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029e80290012d7e31c005d35898000501012d..."} 
[2026-08-22 20:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e80290012d7e31c005d35898000501012d..."} 
[2026-08-22 20:08:19] local.INFO: Processing buffer {"connection_id":162626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e80290012d7e31c005d35898000501012d..."} 
[2026-08-22 20:08:19] local.INFO: Packet analysis {"connection_id":162626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e8"} 
[2026-08-22 20:08:19] local.INFO: Extracted packet for processing {"connection_id":162626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e8"} 
[2026-08-22 20:08:19] local.INFO: GPS Element Parsed {"raw_longitude":763244992,"raw_latitude":97736856,"longitude_deg":76.3244992,"latitude_deg":9.7736856,"altitude":5,"angle":257,"satellites":45,"speed":3,"hex_longitude":"2d7e31c0","hex_latitude":"05d35898","is_valid_coordinates":true} 
[2026-08-22 20:08: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-22 20:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576822528001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122388829721067520,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093541728867622912,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08: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-22 20:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787409466000,"timestamp_ms":1787409466000,"timestamp_seconds":1787409466,"priority":1,"record_length":96,"hex_timestamp":"000001a029e80290"} 
[2026-08-22 20:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:08:19] 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-22 20:08: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":114,"data_length":795,"current_offset":136} 
[2026-08-22 20:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:08: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-22 20:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 20:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 20:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576822528001,"66":11461,"109":206,"85":15104,"24":3,"16":122388829721067520,"45":9093541728867622912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 20:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 20:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 20:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576822528001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:08:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 20:08:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122388829721067520,"km_value":122388829721067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093541728867622912,"description":"Unknown IO ID 45"} 
[2026-08-22 20:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576822528001,"power":11461,"unknown_109":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9093541728867622912}} 
[2026-08-22 20:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":162626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:08:19] local.INFO: GPS data processed {"connection_id":162626,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:08:19] local.INFO: Acknowledgment sent {"connection_id":162626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:08:28] local.INFO: TCP Data received {"connection_id":161201,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e7c410012d7d3f8005d44bc8000d01641f..."} 
[2026-08-22 20:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e7c410012d7d3f8005d44bc8000d01641f..."} 
[2026-08-22 20:08:28] local.INFO: Processing buffer {"connection_id":161201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e7c410012d7d3f8005d44bc8000d01641f..."} 
[2026-08-22 20:08:28] local.INFO: Packet analysis {"connection_id":161201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e7"} 
[2026-08-22 20:08:28] local.INFO: Extracted packet for processing {"connection_id":161201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e7"} 
[2026-08-22 20:08:28] local.INFO: GPS Element Parsed {"raw_longitude":763182976,"raw_latitude":97799112,"longitude_deg":76.3182976,"latitude_deg":9.7799112,"altitude":13,"angle":356,"satellites":31,"speed":49,"hex_longitude":"2d7d3f80","hex_latitude":"05d44bc8","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576817152001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389062094999257088,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025213678284580864,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787409450000,"timestamp_ms":1787409450000,"timestamp_seconds":1787409450,"priority":1,"record_length":96,"hex_timestamp":"000001a029e7c410"} 
[2026-08-22 20: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-22 20:08: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-22 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 20:08:28] 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-22 20: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-22 20: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-22 20:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:08: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-22 20:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576817152001,"66":27376,"254":206,"85":15104,"24":49,"16":389062094999257088,"45":9025213678284580864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-22 20:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576817152001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:08:28] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-22 20:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389062094999257088,"km_value":389062094999257.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025213678284580864,"description":"Unknown IO ID 45"} 
[2026-08-22 20:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576817152001,"power":27376,"unknown_254":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9025213678284580864}} 
[2026-08-22 20:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":161201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:08:28] local.INFO: GPS data processed {"connection_id":161201,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:08:28] local.INFO: Acknowledgment sent {"connection_id":161201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:08:29] local.INFO: TCP Data received {"connection_id":161202,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:08:29] local.INFO: Processing buffer {"connection_id":161202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:08:29] local.INFO: Packet analysis {"connection_id":161202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:08:29] local.INFO: Extracted packet for processing {"connection_id":161202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:08:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08:29] 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-22 20:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787409355000,"timestamp_ms":1787409355000,"timestamp_seconds":1787409355,"priority":1,"record_length":96,"hex_timestamp":"000001a029e650f8"} 
[2026-08-22 20: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-22 20:08: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-22 20: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:08:29] 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-22 20: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-22 20: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-22 20:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:08:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:08:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":161202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:08:29] local.INFO: GPS data processed {"connection_id":161202,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:08:29] local.INFO: Acknowledgment sent {"connection_id":161202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:08:48] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:08:48] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:08:48] local.INFO: IMEI packet received {"connection_id":160253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":160253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:08:49] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:08:49] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:08:49] local.INFO: IMEI packet received {"connection_id":160253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":160253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:08:52] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:08:52] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:08:52] local.INFO: IMEI packet received {"connection_id":160254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":160254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:08:53] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:08:53] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:08:53] local.INFO: IMEI packet received {"connection_id":160253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":160253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:08:54] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e7df68012d7d3bc005d46ef0000e015f21..."} 
[2026-08-22 20:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e7df68012d7d3bc005d46ef0000e015f21..."} 
[2026-08-22 20:08:54] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e7df68012d7d3bc005d46ef0000e015f21..."} 
[2026-08-22 20:08:54] local.INFO: Packet analysis {"connection_id":160253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e7"} 
[2026-08-22 20:08:54] local.INFO: Extracted packet for processing {"connection_id":160253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e7"} 
[2026-08-22 20:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97808112,"longitude_deg":76.3182016,"latitude_deg":9.7808112,"altitude":14,"angle":351,"satellites":33,"speed":53,"hex_longitude":"2d7d3bc0","hex_latitude":"05d46ef0","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576819200001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389062533085921280,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025072940798691328,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787409457000,"timestamp_ms":1787409457000,"timestamp_seconds":1787409457,"priority":1,"record_length":96,"hex_timestamp":"000001a029e7df68"} 
[2026-08-22 20: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-22 20:08: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-22 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 20:08:54] 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-22 20: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-22 20: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-22 20:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:08:54] 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-22 20:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576819200001,"66":27397,"254":206,"85":15104,"24":53,"16":389062533085921280,"45":9025072940798691328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-22 20:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576819200001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:08:54] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-22 20:08:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389062533085921280,"km_value":389062533085921.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025072940798691328,"description":"Unknown IO ID 45"} 
[2026-08-22 20:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576819200001,"power":27397,"unknown_254":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9025072940798691328}} 
[2026-08-22 20:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":160253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:08:54] local.INFO: GPS data processed {"connection_id":160253,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:08:54] local.INFO: Acknowledgment sent {"connection_id":160253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:08:57] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:08:57] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:08:57] local.INFO: IMEI packet received {"connection_id":160254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":160254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:08:58] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:08:58] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:08:58] local.INFO: Packet analysis {"connection_id":160254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:08:58] local.INFO: Extracted packet for processing {"connection_id":160254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:08:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:08:58] 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-22 20:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787409355000,"timestamp_ms":1787409355000,"timestamp_seconds":1787409355,"priority":1,"record_length":96,"hex_timestamp":"000001a029e650f8"} 
[2026-08-22 20: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-22 20:08: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-22 20: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:08:58] 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-22 20: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-22 20: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-22 20:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:08:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":160254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:08:58] local.INFO: GPS data processed {"connection_id":160254,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:08:58] local.INFO: Acknowledgment sent {"connection_id":160254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:08:59] local.INFO: TCP Data received {"connection_id":160255,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:08:59] local.INFO: Processing buffer {"connection_id":160255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:08:59] local.INFO: IMEI packet received {"connection_id":160255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 20:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":160255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:09:00] local.INFO: TCP Data received {"connection_id":160255,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:09:00] local.INFO: Processing buffer {"connection_id":160255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:09:00] local.INFO: IMEI packet received {"connection_id":160255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 20:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":160255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:09:02] local.INFO: TCP Data received {"connection_id":160255,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:09:02] local.INFO: Processing buffer {"connection_id":160255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:09:02] local.INFO: IMEI packet received {"connection_id":160255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 20:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":160255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:09:05] local.INFO: TCP Data received {"connection_id":160255,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:09:05] local.INFO: Processing buffer {"connection_id":160255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:09:05] local.INFO: IMEI packet received {"connection_id":160255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 20:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":160255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:09:07] local.INFO: TCP Data received {"connection_id":160255,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029e8c9c8012d7e370005d34e80000500f52e..."} 
[2026-08-22 20:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e8c9c8012d7e370005d34e80000500f52e..."} 
[2026-08-22 20:09:07] local.INFO: Processing buffer {"connection_id":160255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e8c9c8012d7e370005d34e80000500f52e..."} 
[2026-08-22 20:09:07] local.INFO: Packet analysis {"connection_id":160255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e8"} 
[2026-08-22 20:09:07] local.INFO: Extracted packet for processing {"connection_id":160255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e8"} 
[2026-08-22 20:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97734272,"longitude_deg":76.3246336,"latitude_deg":9.7734272,"altitude":5,"angle":245,"satellites":46,"speed":2,"hex_longitude":"2d7e3700","hex_latitude":"05d34e80","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576831488001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122389057354334208,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029605888,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:07] 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-22 20:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787409517000,"timestamp_ms":1787409517000,"timestamp_seconds":1787409517,"priority":1,"record_length":96,"hex_timestamp":"000001a029e8c9c8"} 
[2026-08-22 20: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-22 20:09:07] 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-22 20: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":40,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-22 20:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1109,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 20:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 20:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576831488001,"66":10558,"109":206,"85":15104,"24":2,"16":122389057354334208,"45":9094597260029605888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 20:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 20:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 20:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576831488001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:09:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 20:09:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122389057354334208,"km_value":122389057354334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029605888,"description":"Unknown IO ID 45"} 
[2026-08-22 20:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576831488001,"power":10558,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9094597260029605888}} 
[2026-08-22 20:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":160255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:09:07] local.INFO: GPS data processed {"connection_id":160255,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:09:07] local.INFO: Acknowledgment sent {"connection_id":160255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:09:10] local.INFO: TCP Data received {"connection_id":160255,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029e8d580012d7e35c005d34e18000500e72e..."} 
[2026-08-22 20:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e8d580012d7e35c005d34e18000500e72e..."} 
[2026-08-22 20:09:10] local.INFO: Processing buffer {"connection_id":160255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e8d580012d7e35c005d34e18000500e72e..."} 
[2026-08-22 20:09:10] local.INFO: Packet analysis {"connection_id":160255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e8"} 
[2026-08-22 20:09:10] local.INFO: Extracted packet for processing {"connection_id":160255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e8"} 
[2026-08-22 20:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734168,"longitude_deg":76.3246016,"latitude_deg":9.7734168,"altitude":5,"angle":231,"satellites":46,"speed":4,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576836352001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122389074534203392,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517979648,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:10] 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-22 20:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787409520000,"timestamp_ms":1787409520000,"timestamp_seconds":1787409520,"priority":1,"record_length":96,"hex_timestamp":"000001a029e8d580"} 
[2026-08-22 20: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-22 20:09:10] 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-22 20: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":41,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 20:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":961,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 20:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 20:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576836352001,"66":9699,"109":206,"85":15104,"24":4,"16":122389074534203392,"45":9094737997517979648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 20:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 20:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 20:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576836352001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:09:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 20:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122389074534203392,"km_value":122389074534203.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517979648,"description":"Unknown IO ID 45"} 
[2026-08-22 20:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576836352001,"power":9699,"unknown_109":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9094737997517979648}} 
[2026-08-22 20:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":160255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:09:10] local.INFO: GPS data processed {"connection_id":160255,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:09:10] local.INFO: Acknowledgment sent {"connection_id":160255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:09:25] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e7fac0012d7d360005d493200011015e22..."} 
[2026-08-22 20:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e7fac0012d7d360005d493200011015e22..."} 
[2026-08-22 20:09:25] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e7fac0012d7d360005d493200011015e22..."} 
[2026-08-22 20:09:25] local.INFO: Packet analysis {"connection_id":160253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e7"} 
[2026-08-22 20:09:25] local.INFO: Extracted packet for processing {"connection_id":160253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e7"} 
[2026-08-22 20:09:25] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":97817376,"longitude_deg":76.3180544,"latitude_deg":9.7817376,"altitude":17,"angle":350,"satellites":34,"speed":52,"hex_longitude":"2d7d3600","hex_latitude":"05d49320","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576820992001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389062988352454656,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409638330368,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787409464000,"timestamp_ms":1787409464000,"timestamp_seconds":1787409464,"priority":1,"record_length":96,"hex_timestamp":"000001a029e7fac0"} 
[2026-08-22 20: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-22 20:09: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-22 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 20:09:25] 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-22 20: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-22 20: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-22 20:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:09: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-22 20:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576820992001,"66":27267,"254":206,"85":15104,"24":52,"16":389062988352454656,"45":9024017409638330368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-22 20:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576820992001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:09:25] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-22 20:09:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389062988352454656,"km_value":389062988352454.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409638330368,"description":"Unknown IO ID 45"} 
[2026-08-22 20:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576820992001,"power":27267,"unknown_254":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9024017409638330368}} 
[2026-08-22 20:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":160253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:09:25] local.INFO: GPS data processed {"connection_id":160253,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:09:25] local.INFO: Acknowledgment sent {"connection_id":160253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:09:29] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:09:29] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:09:29] local.INFO: Packet analysis {"connection_id":160254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:09:29] local.INFO: Extracted packet for processing {"connection_id":160254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:09:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:09: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-22 20:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:29] 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-22 20:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787409355000,"timestamp_ms":1787409355000,"timestamp_seconds":1787409355,"priority":1,"record_length":96,"hex_timestamp":"000001a029e650f8"} 
[2026-08-22 20:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:09: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-22 20:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:09:29] 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-22 20:09: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-22 20:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:09:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:09:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":160254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:09:29] local.INFO: GPS data processed {"connection_id":160254,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:09:29] local.INFO: Acknowledgment sent {"connection_id":160254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:09:41] local.INFO: TCP Data received {"connection_id":160255,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029e8d968012d7e358005d34dd8000400dc2e..."} 
[2026-08-22 20:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e8d968012d7e358005d34dd8000400dc2e..."} 
[2026-08-22 20:09:41] local.INFO: Processing buffer {"connection_id":160255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e8d968012d7e358005d34dd8000400dc2e..."} 
[2026-08-22 20:09:41] local.INFO: Packet analysis {"connection_id":160255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e8"} 
[2026-08-22 20:09:41] local.INFO: Extracted packet for processing {"connection_id":160255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e8"} 
[2026-08-22 20:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734104,"longitude_deg":76.3245952,"latitude_deg":9.7734104,"altitude":4,"angle":220,"satellites":46,"speed":3,"hex_longitude":"2d7e3580","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-22 20:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576837120001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122389078829170688,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797064704,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09: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-22 20:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787409521000,"timestamp_ms":1787409521000,"timestamp_seconds":1787409521,"priority":1,"record_length":96,"hex_timestamp":"000001a029e8d968"} 
[2026-08-22 20:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:09:41] 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-22 20:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-22 20:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2426,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 20:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 20:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576837120001,"66":9699,"109":206,"85":15104,"24":3,"16":122389078829170688,"45":9094386153797064704},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 20:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 20:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 20:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576837120001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:09:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 20:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122389078829170688,"km_value":122389078829170.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797064704,"description":"Unknown IO ID 45"} 
[2026-08-22 20:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576837120001,"power":9699,"unknown_109":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9094386153797064704}} 
[2026-08-22 20:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":160255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:09:41] local.INFO: GPS data processed {"connection_id":160255,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:09:41] local.INFO: Acknowledgment sent {"connection_id":160255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:09:49] local.INFO: TCP Data received {"connection_id":162627,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:09:49] local.INFO: Processing buffer {"connection_id":162627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:09:49] local.INFO: IMEI packet received {"connection_id":162627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":162627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:09:50] local.INFO: TCP Data received {"connection_id":162627,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:09:50] local.INFO: Processing buffer {"connection_id":162627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:09:50] local.INFO: IMEI packet received {"connection_id":162627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":162627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:09:56] local.INFO: TCP Data received {"connection_id":162627,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:09:56] local.INFO: Processing buffer {"connection_id":162627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:09:56] local.INFO: IMEI packet received {"connection_id":162627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":162627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:09:57] local.INFO: TCP Data received {"connection_id":160026,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:09:57] local.INFO: Processing buffer {"connection_id":160026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:09:57] local.INFO: IMEI packet received {"connection_id":160026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":160026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:09:57] local.INFO: TCP Data received {"connection_id":162627,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e81618012d7d30c005d4b5a80013016023..."} 
[2026-08-22 20:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e81618012d7d30c005d4b5a80013016023..."} 
[2026-08-22 20:09:57] local.INFO: Processing buffer {"connection_id":162627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e81618012d7d30c005d4b5a80013016023..."} 
[2026-08-22 20:09:57] local.INFO: Packet analysis {"connection_id":162627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e8"} 
[2026-08-22 20:09:57] local.INFO: Extracted packet for processing {"connection_id":162627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e8"} 
[2026-08-22 20:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":97826216,"longitude_deg":76.31792,"latitude_deg":9.7826216,"altitude":19,"angle":352,"satellites":35,"speed":50,"hex_longitude":"2d7d30c0","hex_latitude":"05d4b5a8","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576822784001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389063422144151552,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928524615680,"note":"Value kept but may cause issues"} 
[2026-08-22 20:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787409471000,"timestamp_ms":1787409471000,"timestamp_seconds":1787409471,"priority":1,"record_length":96,"hex_timestamp":"000001a029e81618"} 
[2026-08-22 20: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-22 20:09: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-22 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 20:09:57] 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-22 20: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-22 20: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-22 20:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:09: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-22 20:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576822784001,"66":27321,"254":206,"85":15104,"24":50,"16":389063422144151552,"45":9022398928524615680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-22 20:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576822784001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:09:57] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-22 20:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389063422144151552,"km_value":389063422144151.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928524615680,"description":"Unknown IO ID 45"} 
[2026-08-22 20:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576822784001,"power":27321,"unknown_254":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9022398928524615680}} 
[2026-08-22 20:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":162627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:09:57] local.INFO: GPS data processed {"connection_id":162627,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:09:57] local.INFO: Acknowledgment sent {"connection_id":162627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:10:00] local.INFO: TCP Data received {"connection_id":161203,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:10:00] local.INFO: Processing buffer {"connection_id":161203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:10:00] local.INFO: IMEI packet received {"connection_id":161203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 20:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":161203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:10:02] local.INFO: TCP Data received {"connection_id":160026,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:10:02] local.INFO: Processing buffer {"connection_id":160026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:10:02] local.INFO: IMEI packet received {"connection_id":160026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":160026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:10:03] local.INFO: TCP Data received {"connection_id":160026,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:10:03] local.INFO: Processing buffer {"connection_id":160026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:10:03] local.INFO: Packet analysis {"connection_id":160026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:10:03] local.INFO: Extracted packet for processing {"connection_id":160026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:10: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-22 20:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:03] 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-22 20:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787409355000,"timestamp_ms":1787409355000,"timestamp_seconds":1787409355,"priority":1,"record_length":96,"hex_timestamp":"000001a029e650f8"} 
[2026-08-22 20:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:10:03] 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-22 20:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:10: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-22 20:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:10:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:10:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":160026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:10:03] local.INFO: GPS data processed {"connection_id":160026,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:10:03] local.INFO: Acknowledgment sent {"connection_id":160026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:10:07] local.INFO: TCP Data received {"connection_id":160026,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:10:07] local.INFO: Processing buffer {"connection_id":160026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:10:07] local.INFO: Packet analysis {"connection_id":160026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:10:07] local.INFO: Extracted packet for processing {"connection_id":160026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:07] 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-22 20:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787409355000,"timestamp_ms":1787409355000,"timestamp_seconds":1787409355,"priority":1,"record_length":96,"hex_timestamp":"000001a029e650f8"} 
[2026-08-22 20: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-22 20:10:07] 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-22 20: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:10:07] 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-22 20: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-22 20: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-22 20:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:10:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":160026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:10:07] local.INFO: GPS data processed {"connection_id":160026,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:10:07] local.INFO: Acknowledgment sent {"connection_id":160026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:10:07] local.INFO: TCP Data received {"connection_id":161203,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:10:07] local.INFO: Processing buffer {"connection_id":161203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:10:07] local.INFO: IMEI packet received {"connection_id":161203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 20:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":161203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:10:08] local.INFO: TCP Data received {"connection_id":161203,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:10:08] local.INFO: Processing buffer {"connection_id":161203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:10:08] local.INFO: IMEI packet received {"connection_id":161203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 20:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":161203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:10:09] local.INFO: TCP Data received {"connection_id":161203,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029e8fc90012d7e350005d34e20000401622f..."} 
[2026-08-22 20:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e8fc90012d7e350005d34e20000401622f..."} 
[2026-08-22 20:10:09] local.INFO: Processing buffer {"connection_id":161203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e8fc90012d7e350005d34e20000401622f..."} 
[2026-08-22 20:10:09] local.INFO: Packet analysis {"connection_id":161203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e8"} 
[2026-08-22 20:10:09] local.INFO: Extracted packet for processing {"connection_id":161203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e8"} 
[2026-08-22 20:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97734176,"longitude_deg":76.3245824,"latitude_deg":9.7734176,"altitude":4,"angle":354,"satellites":47,"speed":4,"hex_longitude":"2d7e3500","hex_latitude":"05d34e20","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576837376001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122389091714072576,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052870656,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10: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-22 20:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787409530000,"timestamp_ms":1787409530000,"timestamp_seconds":1787409530,"priority":1,"record_length":96,"hex_timestamp":"000001a029e8fc90"} 
[2026-08-22 20: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-22 20:10:09] 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-22 20: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":37,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-22 20:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2426,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 20:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 20:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576837376001,"66":10178,"109":206,"85":15104,"24":4,"16":122389091714072576,"45":9094315785052870656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 20:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 20:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 20:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576837376001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:10:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 20:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122389091714072576,"km_value":122389091714072.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052870656,"description":"Unknown IO ID 45"} 
[2026-08-22 20:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576837376001,"power":10178,"unknown_109":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9094315785052870656}} 
[2026-08-22 20:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":161203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:10:09] local.INFO: GPS data processed {"connection_id":161203,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:10:09] local.INFO: Acknowledgment sent {"connection_id":161203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:10:10] local.INFO: TCP Data received {"connection_id":161203,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029e90078012d7e34c005d34e88000401522f..."} 
[2026-08-22 20:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e90078012d7e34c005d34e88000401522f..."} 
[2026-08-22 20:10:10] local.INFO: Processing buffer {"connection_id":161203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e90078012d7e34c005d34e88000401522f..."} 
[2026-08-22 20:10:10] local.INFO: Packet analysis {"connection_id":161203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e9"} 
[2026-08-22 20:10:10] local.INFO: Extracted packet for processing {"connection_id":161203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e9"} 
[2026-08-22 20:10:10] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97734280,"longitude_deg":76.324576,"latitude_deg":9.773428,"altitude":4,"angle":338,"satellites":47,"speed":4,"hex_longitude":"2d7e34c0","hex_latitude":"05d34e88","is_valid_coordinates":true} 
[2026-08-22 20:10: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-22 20:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576839680001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122389096009039872,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564533760,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:10] 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-22 20:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787409531000,"timestamp_ms":1787409531000,"timestamp_seconds":1787409531,"priority":1,"record_length":96,"hex_timestamp":"000001a029e90078"} 
[2026-08-22 20:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:10:10] 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-22 20:10: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":39,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 20:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2139,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:10: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-22 20:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 20:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 20:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576839680001,"66":10178,"109":206,"85":15104,"24":4,"16":122389096009039872,"45":9094175047564533760},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 20:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 20:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 20:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576839680001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:10:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 20:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122389096009039872,"km_value":122389096009039.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564533760,"description":"Unknown IO ID 45"} 
[2026-08-22 20:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576839680001,"power":10178,"unknown_109":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9094175047564533760}} 
[2026-08-22 20:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":161203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:10:10] local.INFO: GPS data processed {"connection_id":161203,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:10:10] local.INFO: Acknowledgment sent {"connection_id":161203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:10:41] local.INFO: TCP Data received {"connection_id":161203,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a029e917e8012d7e34c005d34df8000500ad2e..."} 
[2026-08-22 20:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e917e8012d7e34c005d34df8000500ad2e..."} 
[2026-08-22 20:10:41] local.INFO: Processing buffer {"connection_id":161203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e917e8012d7e34c005d34df8000500ad2e..."} 
[2026-08-22 20:10:41] local.INFO: Packet analysis {"connection_id":161203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e9"} 
[2026-08-22 20:10:41] local.INFO: Extracted packet for processing {"connection_id":161203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e9"} 
[2026-08-22 20:10:41] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97734136,"longitude_deg":76.324576,"latitude_deg":9.7734136,"altitude":5,"angle":173,"satellites":46,"speed":2,"hex_longitude":"2d7e34c0","hex_latitude":"05d34df8","is_valid_coordinates":true} 
[2026-08-22 20:10: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-22 20:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576839936001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122389108893941760,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820382720,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10: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-22 20:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787409537000,"timestamp_ms":1787409537000,"timestamp_seconds":1787409537,"priority":1,"record_length":96,"hex_timestamp":"000001a029e917e8"} 
[2026-08-22 20:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:10:41] 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-22 20:10: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":39,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-22 20:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2139,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:10: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-22 20:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 20:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 20:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576839936001,"66":10406,"109":206,"85":15104,"24":2,"16":122389108893941760,"45":9094104678820382720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 20:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 20:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 20:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576839936001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:10:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 20:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122389108893941760,"km_value":122389108893941.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820382720,"description":"Unknown IO ID 45"} 
[2026-08-22 20:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576839936001,"power":10406,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9094104678820382720}} 
[2026-08-22 20:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":161203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:10:41] local.INFO: GPS data processed {"connection_id":161203,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:10:41] local.INFO: Acknowledgment sent {"connection_id":161203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:10:48] local.INFO: TCP Data received {"connection_id":162628,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:10:48] local.INFO: Processing buffer {"connection_id":162628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:10:48] local.INFO: IMEI packet received {"connection_id":162628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":162628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:10:51] local.INFO: TCP Data received {"connection_id":162628,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:10:51] local.INFO: Processing buffer {"connection_id":162628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:10:51] local.INFO: IMEI packet received {"connection_id":162628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":162628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:10:52] local.INFO: TCP Data received {"connection_id":162629,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:10:52] local.INFO: Processing buffer {"connection_id":162629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:10:52] local.INFO: IMEI packet received {"connection_id":162629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":162629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:10:53] local.INFO: TCP Data received {"connection_id":162628,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:10:53] local.INFO: Processing buffer {"connection_id":162628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:10:53] local.INFO: IMEI packet received {"connection_id":162628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":162628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:10:54] local.INFO: TCP Data received {"connection_id":162628,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e9bfe0012d7d10c005d5c2e00008015028..."} 
[2026-08-22 20:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e9bfe0012d7d10c005d5c2e00008015028..."} 
[2026-08-22 20:10:54] local.INFO: Processing buffer {"connection_id":162628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e9bfe0012d7d10c005d5c2e00008015028..."} 
[2026-08-22 20:10:54] local.INFO: Packet analysis {"connection_id":162628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e9"} 
[2026-08-22 20:10:54] local.INFO: Extracted packet for processing {"connection_id":162628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e9"} 
[2026-08-22 20:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763171008,"raw_latitude":97895136,"longitude_deg":76.3171008,"latitude_deg":9.7895136,"altitude":8,"angle":336,"satellites":40,"speed":10,"hex_longitude":"2d7d10c0","hex_latitude":"05d5c2e0","is_valid_coordinates":true} 
[2026-08-22 20:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576850432001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389066828053217280,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012688041847437312,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:54] 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-22 20:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787409580000,"timestamp_ms":1787409580000,"timestamp_seconds":1787409580,"priority":1,"record_length":96,"hex_timestamp":"000001a029e9bfe0"} 
[2026-08-22 20:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:10: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-22 20:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 20:10:54] 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-22 20:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:10:54] 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-22 20:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576850432001,"66":27365,"253":206,"85":15104,"24":10,"16":389066828053217280,"45":9012688041847437312},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-22 20:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576850432001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:10:54] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-22 20:10:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389066828053217280,"km_value":389066828053217.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012688041847437312,"description":"Unknown IO ID 45"} 
[2026-08-22 20:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576850432001,"power":27365,"unknown_253":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9012688041847437312}} 
[2026-08-22 20:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":162628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:10:54] local.INFO: GPS data processed {"connection_id":162628,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:10:54] local.INFO: Acknowledgment sent {"connection_id":162628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:10:56] local.INFO: TCP Data received {"connection_id":162627,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e83558012d7d2c8005d4da680016016321..."} 
[2026-08-22 20:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e83558012d7d2c8005d4da680016016321..."} 
[2026-08-22 20:10:56] local.INFO: Processing buffer {"connection_id":162627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e83558012d7d2c8005d4da680016016321..."} 
[2026-08-22 20:10:56] local.INFO: Packet analysis {"connection_id":162627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e8"} 
[2026-08-22 20:10:56] local.INFO: Extracted packet for processing {"connection_id":162627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e8"} 
[2026-08-22 20:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763178112,"raw_latitude":97835624,"longitude_deg":76.3178112,"latitude_deg":9.7835624,"altitude":22,"angle":355,"satellites":33,"speed":42,"hex_longitude":"2d7d2c80","hex_latitude":"05d4da68","is_valid_coordinates":true} 
[2026-08-22 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-22 20:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576824576001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389063881705652224,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921184899147776,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787409479000,"timestamp_ms":1787409479000,"timestamp_seconds":1787409479,"priority":1,"record_length":96,"hex_timestamp":"000001a029e83558"} 
[2026-08-22 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-22 20: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-22 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":185,"data_length":795,"current_offset":136} 
[2026-08-22 20:10: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-22 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-22 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-22 20:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:10: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-22 20:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576824576001,"66":27321,"254":206,"85":15104,"24":42,"16":389063881705652224,"45":9020921184899147776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-22 20:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576824576001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:10:56] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-22 20:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389063881705652224,"km_value":389063881705652.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921184899147776,"description":"Unknown IO ID 45"} 
[2026-08-22 20:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576824576001,"power":27321,"unknown_254":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9020921184899147776}} 
[2026-08-22 20:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":162627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:10:56] local.INFO: GPS data processed {"connection_id":162627,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:10:56] local.INFO: Acknowledgment sent {"connection_id":162627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:10:57] local.INFO: TCP Data received {"connection_id":162629,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:10:57] local.INFO: Processing buffer {"connection_id":162629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:10:57] local.INFO: IMEI packet received {"connection_id":162629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":162629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:10:58] local.INFO: TCP Data received {"connection_id":162629,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:10:58] local.INFO: Processing buffer {"connection_id":162629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:10:58] local.INFO: Packet analysis {"connection_id":162629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:10:58] local.INFO: Extracted packet for processing {"connection_id":162629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:10:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:58] 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-22 20:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787409355000,"timestamp_ms":1787409355000,"timestamp_seconds":1787409355,"priority":1,"record_length":96,"hex_timestamp":"000001a029e650f8"} 
[2026-08-22 20: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-22 20:10: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-22 20: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:10:58] 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-22 20: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-22 20: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-22 20:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:10:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:10:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":162629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:10:58] local.INFO: GPS data processed {"connection_id":162629,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:10:58] local.INFO: Acknowledgment sent {"connection_id":162629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:10:58] local.INFO: TCP Data received {"connection_id":162628,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e9eec0012d7d0cc005d5ca18000601442a..."} 
[2026-08-22 20:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e9eec0012d7d0cc005d5ca18000601442a..."} 
[2026-08-22 20:10:58] local.INFO: Processing buffer {"connection_id":162628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e9eec0012d7d0cc005d5ca18000601442a..."} 
[2026-08-22 20:10:58] local.INFO: Packet analysis {"connection_id":162628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e9"} 
[2026-08-22 20:10:58] local.INFO: Extracted packet for processing {"connection_id":162628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e9"} 
[2026-08-22 20:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763169984,"raw_latitude":97896984,"longitude_deg":76.3169984,"latitude_deg":9.7896984,"altitude":6,"angle":324,"satellites":42,"speed":12,"hex_longitude":"2d7d0cc0","hex_latitude":"05d5ca18","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576852480001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389066931132432384,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011913985662050304,"note":"Value kept but may cause issues"} 
[2026-08-22 20:10:58] 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-22 20:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787409592000,"timestamp_ms":1787409592000,"timestamp_seconds":1787409592,"priority":1,"record_length":96,"hex_timestamp":"000001a029e9eec0"} 
[2026-08-22 20: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-22 20:10: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-22 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 20:10: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-22 20: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-22 20: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-22 20:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:10:58] 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-22 20:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576852480001,"66":27180,"29":206,"85":15104,"24":12,"16":389066931132432384,"45":9011913985662050304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-22 20:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576852480001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:10:58] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-22 20:10:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389066931132432384,"km_value":389066931132432.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011913985662050304,"description":"Unknown IO ID 45"} 
[2026-08-22 20:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576852480001,"power":27180,"unknown_29":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9011913985662050304}} 
[2026-08-22 20:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":162628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:10:58] local.INFO: GPS data processed {"connection_id":162628,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:10:58] local.INFO: Acknowledgment sent {"connection_id":162628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:11:00] local.INFO: TCP Data received {"connection_id":160027,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:11:00] local.INFO: Processing buffer {"connection_id":160027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:11:00] local.INFO: IMEI packet received {"connection_id":160027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-22 20:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":160027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:11:05] local.INFO: TCP Data received {"connection_id":160027,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:11:05] local.INFO: Processing buffer {"connection_id":160027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-22 20:11:05] local.INFO: IMEI packet received {"connection_id":160027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-22 20:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":160027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:11:06] local.INFO: TCP Data received {"connection_id":160027,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029e923a0012d7e350005d34d10000500a22e..."} 
[2026-08-22 20:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e923a0012d7e350005d34d10000500a22e..."} 
[2026-08-22 20:11:06] local.INFO: Processing buffer {"connection_id":160027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e923a0012d7e350005d34d10000500a22e..."} 
[2026-08-22 20:11:06] local.INFO: Packet analysis {"connection_id":160027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e9"} 
[2026-08-22 20:11:06] local.INFO: Extracted packet for processing {"connection_id":160027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e9"} 
[2026-08-22 20:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733904,"longitude_deg":76.3245824,"latitude_deg":9.7733904,"altitude":5,"angle":162,"satellites":46,"speed":2,"hex_longitude":"2d7e3500","hex_latitude":"05d34d10","is_valid_coordinates":true} 
[2026-08-22 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576841472001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122389121778843648,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820345856,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:06] 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-22 20:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787409540000,"timestamp_ms":1787409540000,"timestamp_seconds":1787409540,"priority":1,"record_length":96,"hex_timestamp":"000001a029e923a0"} 
[2026-08-22 20:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:11:06] 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-22 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-22 20:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1892,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 20:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 20:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576841472001,"66":10265,"109":206,"85":15104,"24":2,"16":122389121778843648,"45":9094104678820345856},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 20:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 20:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 20:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576841472001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:11:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 20:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122389121778843648,"km_value":122389121778843.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820345856,"description":"Unknown IO ID 45"} 
[2026-08-22 20:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576841472001,"power":10265,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9094104678820345856}} 
[2026-08-22 20:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":160027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:11:06] local.INFO: GPS data processed {"connection_id":160027,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:11:06] local.INFO: Acknowledgment sent {"connection_id":160027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:11:29] local.INFO: TCP Data received {"connection_id":162629,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:11:29] local.INFO: Processing buffer {"connection_id":162629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e650f8012d1b5ac00724fe70003000bb23..."} 
[2026-08-22 20:11:29] local.INFO: Packet analysis {"connection_id":162629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:11:29] local.INFO: Extracted packet for processing {"connection_id":162629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e6"} 
[2026-08-22 20:11:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:11: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-22 20:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576717568001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380895744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:29] 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-22 20:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787409355000,"timestamp_ms":1787409355000,"timestamp_seconds":1787409355,"priority":1,"record_length":96,"hex_timestamp":"000001a029e650f8"} 
[2026-08-22 20:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:11: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-22 20:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 20:11:29] 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-22 20:11: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-22 20:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576717568001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1970676711380895744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576717568001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:11:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:11:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380895744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576717568001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970676711380895744}} 
[2026-08-22 20:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":162629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:11:29] local.INFO: GPS data processed {"connection_id":162629,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:11:29] local.INFO: Acknowledgment sent {"connection_id":162629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:11:30] local.INFO: TCP Data received {"connection_id":162628,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029e9f690012d7d0b4005d5cc000006013629..."} 
[2026-08-22 20:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e9f690012d7d0b4005d5cc000006013629..."} 
[2026-08-22 20:11:30] local.INFO: Processing buffer {"connection_id":162628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e9f690012d7d0b4005d5cc000006013629..."} 
[2026-08-22 20:11:30] local.INFO: Packet analysis {"connection_id":162628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e9"} 
[2026-08-22 20:11:30] local.INFO: Extracted packet for processing {"connection_id":162628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e9"} 
[2026-08-22 20:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763169600,"raw_latitude":97897472,"longitude_deg":76.31696,"latitude_deg":9.7897472,"altitude":6,"angle":310,"satellites":41,"speed":11,"hex_longitude":"2d7d0b40","hex_latitude":"05d5cc00","is_valid_coordinates":true} 
[2026-08-22 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-22 20:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576855552001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389066961197203456,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010788085755680768,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:30] 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-22 20:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787409594000,"timestamp_ms":1787409594000,"timestamp_seconds":1787409594,"priority":1,"record_length":96,"hex_timestamp":"000001a029e9f690"} 
[2026-08-22 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-22 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-22 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":44,"data_length":795,"current_offset":136} 
[2026-08-22 20:11:30] 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-22 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-22 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-22 20:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:11: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-22 20:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576855552001,"66":27321,"29":206,"85":15104,"24":11,"16":389066961197203456,"45":9010788085755680768},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-22 20:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576855552001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:11:30] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-22 20:11:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389066961197203456,"km_value":389066961197203.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010788085755680768,"description":"Unknown IO ID 45"} 
[2026-08-22 20:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576855552001,"power":27321,"unknown_29":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9010788085755680768}} 
[2026-08-22 20:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":162628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:11:30] local.INFO: GPS data processed {"connection_id":162628,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:11:30] local.INFO: Acknowledgment sent {"connection_id":162628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:11:37] local.INFO: TCP Data received {"connection_id":160027,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029e971c0012d7e350005d34cd0000500a22d..."} 
[2026-08-22 20:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029e971c0012d7e350005d34cd0000500a22d..."} 
[2026-08-22 20:11:37] local.INFO: Processing buffer {"connection_id":160027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029e971c0012d7e350005d34cd0000500a22d..."} 
[2026-08-22 20:11:37] local.INFO: Packet analysis {"connection_id":160027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029e9"} 
[2026-08-22 20:11:37] local.INFO: Extracted packet for processing {"connection_id":160027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029e9"} 
[2026-08-22 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733840,"longitude_deg":76.3245824,"latitude_deg":9.773384,"altitude":5,"angle":162,"satellites":45,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34cd0","is_valid_coordinates":true} 
[2026-08-22 20:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576842240001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122389126073810944,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564464128,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] 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-22 20:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787409560000,"timestamp_ms":1787409560000,"timestamp_seconds":1787409560,"priority":1,"record_length":96,"hex_timestamp":"000001a029e971c0"} 
[2026-08-22 20:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:11:37] 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-22 20:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3386713516852382208,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845232368,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788841,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3906562049,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":211,"raw_value":5656521153468247552,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2147560830,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3221607246,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3808480589,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":232,"raw_value":-3906871381841215483,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929411586,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-3445816664891850752,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.WARNING: Large IO value detected {"io_id":54,"raw_value":1639706844464640,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,85,24,241,157,16,208,160,23,45,192,77,5,46,10,66,78,4,47,252,1,240,194,227,41,211,113,205,3,213,53,239,37,232,2,60,206,178,54],"length":629,"final_offset":759,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-22 20:11:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360466288641966080,"timestamp_seconds":360466288641966.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 20:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-22 20:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-22 20:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-22 20:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576842240001,"66":10308,"109":206,"85":15104,"24":0,"16":122389126073810944,"45":9094175047564464128},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-22 20:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-22 20:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-22 20:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576842240001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:11:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-22 20:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122389126073810944,"km_value":122389126073810.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564464128,"description":"Unknown IO ID 45"} 
[2026-08-22 20:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576842240001,"power":10308,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564464128}} 
[2026-08-22 20:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":160027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:11:37] local.INFO: GPS data processed {"connection_id":160027,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:11:37] local.INFO: Acknowledgment sent {"connection_id":160027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:11:52] local.INFO: TCP Data received {"connection_id":160256,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:11:52] local.INFO: Processing buffer {"connection_id":160256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:11:52] local.INFO: IMEI packet received {"connection_id":160256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":160256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:11:53] local.INFO: TCP Data received {"connection_id":161204,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:11:53] local.INFO: Processing buffer {"connection_id":161204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:11:53] local.INFO: IMEI packet received {"connection_id":161204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":161204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:11:56] local.INFO: TCP Data received {"connection_id":161204,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:11:56] local.INFO: Processing buffer {"connection_id":161204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:11:56] local.INFO: IMEI packet received {"connection_id":161204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":161204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:11:56] local.INFO: TCP Data received {"connection_id":161204,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ea0630012d7d074005d5cfc00006014428..."} 
[2026-08-22 20:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ea0630012d7d074005d5cfc00006014428..."} 
[2026-08-22 20:11:56] local.INFO: Processing buffer {"connection_id":161204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ea0630012d7d074005d5cfc00006014428..."} 
[2026-08-22 20:11:56] local.INFO: Packet analysis {"connection_id":161204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:11:56] local.INFO: Extracted packet for processing {"connection_id":161204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763168576,"raw_latitude":97898432,"longitude_deg":76.3168576,"latitude_deg":9.7898432,"altitude":6,"angle":324,"satellites":40,"speed":14,"hex_longitude":"2d7d0740","hex_latitude":"05d5cfc0","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576856064001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389067029916680192,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010365873290739712,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11: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-22 20:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787409598000,"timestamp_ms":1787409598000,"timestamp_seconds":1787409598,"priority":1,"record_length":96,"hex_timestamp":"000001a029ea0630"} 
[2026-08-22 20: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-22 20: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-22 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 20:11: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-22 20: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-22 20: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-22 20:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:11: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-22 20:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576856064001,"66":27332,"29":206,"85":15104,"24":14,"16":389067029916680192,"45":9010365873290739712},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-22 20:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576856064001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:11:56] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-22 20:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389067029916680192,"km_value":389067029916680.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010365873290739712,"description":"Unknown IO ID 45"} 
[2026-08-22 20:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576856064001,"power":27332,"unknown_29":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9010365873290739712}} 
[2026-08-22 20:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":161204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:11:56] local.INFO: GPS data processed {"connection_id":161204,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:11:56] local.INFO: Acknowledgment sent {"connection_id":161204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:11:57] local.INFO: TCP Data received {"connection_id":160256,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:11:57] local.INFO: Processing buffer {"connection_id":160256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:11:57] local.INFO: IMEI packet received {"connection_id":160256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":160256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:11:58] local.INFO: TCP Data received {"connection_id":160256,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:11:58] local.INFO: Processing buffer {"connection_id":160256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:11:58] local.INFO: Packet analysis {"connection_id":160256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:11:58] local.INFO: Extracted packet for processing {"connection_id":160256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:11:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":41,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576794880001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:58] 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-22 20:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787409656000,"timestamp_ms":1787409656000,"timestamp_seconds":1787409656,"priority":1,"record_length":96,"hex_timestamp":"000001a029eae8c0"} 
[2026-08-22 20: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-22 20:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576794880001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576794880001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:11:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576794880001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":160256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:11:58] local.INFO: GPS data processed {"connection_id":160256,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:11:58] local.INFO: Acknowledgment sent {"connection_id":160256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:11:58] local.INFO: TCP Data received {"connection_id":161204,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ea0e00012d7d058005d5d2a0000701592a..."} 
[2026-08-22 20:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ea0e00012d7d058005d5d2a0000701592a..."} 
[2026-08-22 20:11:58] local.INFO: Processing buffer {"connection_id":161204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ea0e00012d7d058005d5d2a0000701592a..."} 
[2026-08-22 20:11:58] local.INFO: Packet analysis {"connection_id":161204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:11:58] local.INFO: Extracted packet for processing {"connection_id":161204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:11:58] local.INFO: GPS Element Parsed {"raw_longitude":763168128,"raw_latitude":97899168,"longitude_deg":76.3168128,"latitude_deg":9.7899168,"altitude":7,"angle":345,"satellites":42,"speed":18,"hex_longitude":"2d7d0580","hex_latitude":"05d5d2a0","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576857088001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389067072866353152,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009239973384142848,"note":"Value kept but may cause issues"} 
[2026-08-22 20:11:58] 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-22 20:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787409600000,"timestamp_ms":1787409600000,"timestamp_seconds":1787409600,"priority":1,"record_length":96,"hex_timestamp":"000001a029ea0e00"} 
[2026-08-22 20: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-22 20:11: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-22 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 20:11:58] 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-22 20: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-22 20: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-22 20:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:11:58] 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-22 20:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576857088001,"66":27321,"29":206,"85":15104,"24":18,"16":389067072866353152,"45":9009239973384142848},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-22 20:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576857088001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:11:58] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-22 20:11:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389067072866353152,"km_value":389067072866353.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009239973384142848,"description":"Unknown IO ID 45"} 
[2026-08-22 20:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576857088001,"power":27321,"unknown_29":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9009239973384142848}} 
[2026-08-22 20:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":161204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:11:58] local.INFO: GPS data processed {"connection_id":161204,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:11:58] local.INFO: Acknowledgment sent {"connection_id":161204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:12:29] local.INFO: TCP Data received {"connection_id":160256,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:12:29] local.INFO: Processing buffer {"connection_id":160256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:12:29] local.INFO: Packet analysis {"connection_id":160256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:12:29] local.INFO: Extracted packet for processing {"connection_id":160256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":41,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576794880001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:12:29] 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-22 20:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787409656000,"timestamp_ms":1787409656000,"timestamp_seconds":1787409656,"priority":1,"record_length":96,"hex_timestamp":"000001a029eae8c0"} 
[2026-08-22 20: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-22 20:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576794880001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576794880001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:12:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:12:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576794880001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":160256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:12:29] local.INFO: GPS data processed {"connection_id":160256,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:12:29] local.INFO: Acknowledgment sent {"connection_id":160256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:12:29] local.INFO: TCP Data received {"connection_id":161204,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029eb7178012d7cb24005d76028000701591e..."} 
[2026-08-22 20:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029eb7178012d7cb24005d76028000701591e..."} 
[2026-08-22 20:12:29] local.INFO: Processing buffer {"connection_id":161204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029eb7178012d7cb24005d76028000701591e..."} 
[2026-08-22 20:12:29] local.INFO: Packet analysis {"connection_id":161204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029eb"} 
[2026-08-22 20:12:29] local.INFO: Extracted packet for processing {"connection_id":161204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029eb"} 
[2026-08-22 20:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763146816,"raw_latitude":98000936,"longitude_deg":76.3146816,"latitude_deg":9.8000936,"altitude":7,"angle":345,"satellites":30,"speed":53,"hex_longitude":"2d7cb240","hex_latitude":"05d76028","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576879104001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389072128042860544,"note":"Value kept but may cause issues"} 
[2026-08-22 20:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987988612666417152,"note":"Value kept but may cause issues"} 
[2026-08-22 20:12:29] 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-22 20:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787409691000,"timestamp_ms":1787409691000,"timestamp_seconds":1787409691,"priority":1,"record_length":96,"hex_timestamp":"000001a029eb7178"} 
[2026-08-22 20: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-22 20:12: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-22 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 20:12: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-22 20: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-22 20: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-22 20:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:12:29] 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-22 20:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576879104001,"66":27310,"195":206,"85":15104,"24":53,"16":389072128042860544,"45":8987988612666417152},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-22 20:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576879104001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:12:29] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-22 20:12:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389072128042860544,"km_value":389072128042860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987988612666417152,"description":"Unknown IO ID 45"} 
[2026-08-22 20:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576879104001,"power":27310,"unknown_195":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8987988612666417152}} 
[2026-08-22 20:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":161204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:12:29] local.INFO: GPS data processed {"connection_id":161204,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:12:29] local.INFO: Acknowledgment sent {"connection_id":161204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:12:47] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:12:47] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:12:47] local.INFO: IMEI packet received {"connection_id":160028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":160028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:12:48] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:12:48] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:12:48] local.INFO: IMEI packet received {"connection_id":160028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":160028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:12:52] local.INFO: TCP Data received {"connection_id":160029,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:12:52] local.INFO: Processing buffer {"connection_id":160029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:12:52] local.INFO: IMEI packet received {"connection_id":160029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":160029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:12:53] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:12:53] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:12:53] local.INFO: IMEI packet received {"connection_id":160028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":160028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:12:54] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029eb8cd0012d7caa4005d782f00004015b1e..."} 
[2026-08-22 20:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029eb8cd0012d7caa4005d782f00004015b1e..."} 
[2026-08-22 20:12:54] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029eb8cd0012d7caa4005d782f00004015b1e..."} 
[2026-08-22 20:12:54] local.INFO: Packet analysis {"connection_id":160028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029eb"} 
[2026-08-22 20:12:54] local.INFO: Extracted packet for processing {"connection_id":160028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029eb"} 
[2026-08-22 20:12:54] local.INFO: GPS Element Parsed {"raw_longitude":763144768,"raw_latitude":98009840,"longitude_deg":76.3144768,"latitude_deg":9.800984,"altitude":4,"angle":347,"satellites":30,"speed":51,"hex_longitude":"2d7caa40","hex_latitude":"05d782f0","is_valid_coordinates":true} 
[2026-08-22 20:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576880896001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389072574719459328,"note":"Value kept but may cause issues"} 
[2026-08-22 20:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985314600389978112,"note":"Value kept but may cause issues"} 
[2026-08-22 20:12:54] 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-22 20:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787409698000,"timestamp_ms":1787409698000,"timestamp_seconds":1787409698,"priority":1,"record_length":96,"hex_timestamp":"000001a029eb8cd0"} 
[2026-08-22 20:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:12: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-22 20:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-22 20:12: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-22 20:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:12:54] 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-22 20:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576880896001,"66":27376,"195":206,"85":15104,"24":51,"16":389072574719459328,"45":8985314600389978112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-22 20:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576880896001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:12:54] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-22 20:12:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389072574719459328,"km_value":389072574719459.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985314600389978112,"description":"Unknown IO ID 45"} 
[2026-08-22 20:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576880896001,"power":27376,"unknown_195":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8985314600389978112}} 
[2026-08-22 20:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":160028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:12:54] local.INFO: GPS data processed {"connection_id":160028,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:12:54] local.INFO: Acknowledgment sent {"connection_id":160028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:12:57] local.INFO: TCP Data received {"connection_id":160029,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:12:57] local.INFO: Processing buffer {"connection_id":160029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:12:57] local.INFO: IMEI packet received {"connection_id":160029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":160029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:12:58] local.INFO: TCP Data received {"connection_id":160029,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:12:58] local.INFO: Processing buffer {"connection_id":160029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:12:58] local.INFO: Packet analysis {"connection_id":160029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:12:58] local.INFO: Extracted packet for processing {"connection_id":160029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:12:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":41,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576794880001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:12:58] 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-22 20:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787409656000,"timestamp_ms":1787409656000,"timestamp_seconds":1787409656,"priority":1,"record_length":96,"hex_timestamp":"000001a029eae8c0"} 
[2026-08-22 20:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576794880001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576794880001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:12:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:12:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576794880001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":160029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:12:58] local.INFO: GPS data processed {"connection_id":160029,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:12:58] local.INFO: Acknowledgment sent {"connection_id":160029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:13:25] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029eba828012d7ca40005d7a6300004016023..."} 
[2026-08-22 20:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029eba828012d7ca40005d7a6300004016023..."} 
[2026-08-22 20:13:25] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029eba828012d7ca40005d7a6300004016023..."} 
[2026-08-22 20:13:25] local.INFO: Packet analysis {"connection_id":160028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029eb"} 
[2026-08-22 20:13:25] local.INFO: Extracted packet for processing {"connection_id":160028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029eb"} 
[2026-08-22 20:13:25] local.INFO: GPS Element Parsed {"raw_longitude":763143168,"raw_latitude":98018864,"longitude_deg":76.3143168,"latitude_deg":9.8018864,"altitude":4,"angle":352,"satellites":35,"speed":51,"hex_longitude":"2d7ca400","hex_latitude":"05d7a630","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576882688001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389073017101090816,"note":"Value kept but may cause issues"} 
[2026-08-22 20:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983062800578572288,"note":"Value kept but may cause issues"} 
[2026-08-22 20:13:25] 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-22 20:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787409705000,"timestamp_ms":1787409705000,"timestamp_seconds":1787409705,"priority":1,"record_length":96,"hex_timestamp":"000001a029eba828"} 
[2026-08-22 20: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-22 20:13: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-22 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 20:13: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-22 20: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-22 20: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-22 20:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:13: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-22 20:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576882688001,"66":27300,"195":206,"85":15104,"24":51,"16":389073017101090816,"45":8983062800578572288},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-22 20:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576882688001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:13:25] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-22 20:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389073017101090816,"km_value":389073017101090.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983062800578572288,"description":"Unknown IO ID 45"} 
[2026-08-22 20:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576882688001,"power":27300,"unknown_195":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8983062800578572288}} 
[2026-08-22 20:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":160028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:13:25] local.INFO: GPS data processed {"connection_id":160028,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:13:25] local.INFO: Acknowledgment sent {"connection_id":160028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:13:29] local.INFO: TCP Data received {"connection_id":160029,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:13:29] local.INFO: Processing buffer {"connection_id":160029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:13:29] local.INFO: Packet analysis {"connection_id":160029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:13:29] local.INFO: Extracted packet for processing {"connection_id":160029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:13:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":41,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576794880001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:13:29] 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-22 20:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787409656000,"timestamp_ms":1787409656000,"timestamp_seconds":1787409656,"priority":1,"record_length":96,"hex_timestamp":"000001a029eae8c0"} 
[2026-08-22 20:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576794880001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576794880001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:13:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576794880001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":160029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:13:29] local.INFO: GPS data processed {"connection_id":160029,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:13:29] local.INFO: Acknowledgment sent {"connection_id":160029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:13:47] local.INFO: TCP Data received {"connection_id":161205,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:13:47] local.INFO: Processing buffer {"connection_id":161205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:13:47] local.INFO: IMEI packet received {"connection_id":161205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":161205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:13:48] local.INFO: TCP Data received {"connection_id":161205,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:13:48] local.INFO: Processing buffer {"connection_id":161205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:13:48] local.INFO: IMEI packet received {"connection_id":161205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":161205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:13:52] local.INFO: TCP Data received {"connection_id":160257,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:13:52] local.INFO: Processing buffer {"connection_id":160257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:13:52] local.INFO: IMEI packet received {"connection_id":160257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":160257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:13:53] local.INFO: TCP Data received {"connection_id":161205,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:13:53] local.INFO: Processing buffer {"connection_id":161205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:13:53] local.INFO: IMEI packet received {"connection_id":161205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":161205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:13:57] local.INFO: TCP Data received {"connection_id":160257,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:13:57] local.INFO: Processing buffer {"connection_id":160257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:13:57] local.INFO: IMEI packet received {"connection_id":160257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":160257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:13:58] local.INFO: TCP Data received {"connection_id":160257,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:13:58] local.INFO: Processing buffer {"connection_id":160257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:13:58] local.INFO: Packet analysis {"connection_id":160257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:13:58] local.INFO: Extracted packet for processing {"connection_id":160257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:13:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":41,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576794880001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:13:58] 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-22 20:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787409656000,"timestamp_ms":1787409656000,"timestamp_seconds":1787409656,"priority":1,"record_length":96,"hex_timestamp":"000001a029eae8c0"} 
[2026-08-22 20: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-22 20:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576794880001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576794880001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:13:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:13:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576794880001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":160257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:13:58] local.INFO: GPS data processed {"connection_id":160257,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:13:58] local.INFO: Acknowledgment sent {"connection_id":160257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:13:59] local.INFO: TCP Data received {"connection_id":161205,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ebcf38012d7c9fc005d7c9b80005016326..."} 
[2026-08-22 20:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ebcf38012d7c9fc005d7c9b80005016326..."} 
[2026-08-22 20:13:59] local.INFO: Processing buffer {"connection_id":161205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ebcf38012d7c9fc005d7c9b80005016326..."} 
[2026-08-22 20:13:59] local.INFO: Packet analysis {"connection_id":161205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029eb"} 
[2026-08-22 20:13:59] local.INFO: Extracted packet for processing {"connection_id":161205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029eb"} 
[2026-08-22 20:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763142080,"raw_latitude":98027960,"longitude_deg":76.314208,"latitude_deg":9.802796,"altitude":5,"angle":355,"satellites":38,"speed":26,"hex_longitude":"2d7c9fc0","hex_latitude":"05d7c9b8","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576884480001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389073459482722304,"note":"Value kept but may cause issues"} 
[2026-08-22 20:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981303581976440832,"note":"Value kept but may cause issues"} 
[2026-08-22 20:13:59] 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-22 20:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787409715000,"timestamp_ms":1787409715000,"timestamp_seconds":1787409715,"priority":1,"record_length":96,"hex_timestamp":"000001a029ebcf38"} 
[2026-08-22 20: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-22 20:13: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-22 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 20:13: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-22 20: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-22 20: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-22 20:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:13: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-22 20:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576884480001,"66":27321,"195":206,"85":15104,"24":26,"16":389073459482722304,"45":8981303581976440832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-22 20:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576884480001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:13:59] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-22 20:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389073459482722304,"km_value":389073459482722.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981303581976440832,"description":"Unknown IO ID 45"} 
[2026-08-22 20:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576884480001,"power":27321,"unknown_195":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8981303581976440832}} 
[2026-08-22 20:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":161205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:13:59] local.INFO: GPS data processed {"connection_id":161205,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:13:59] local.INFO: Acknowledgment sent {"connection_id":161205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:14:29] local.INFO: TCP Data received {"connection_id":160257,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:14:29] local.INFO: Processing buffer {"connection_id":160257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:14:29] local.INFO: Packet analysis {"connection_id":160257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:14:29] local.INFO: Extracted packet for processing {"connection_id":160257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:14:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":41,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576794880001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:14:29] 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-22 20:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787409656000,"timestamp_ms":1787409656000,"timestamp_seconds":1787409656,"priority":1,"record_length":96,"hex_timestamp":"000001a029eae8c0"} 
[2026-08-22 20: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-22 20:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576794880001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576794880001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:14:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:14:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576794880001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":160257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:14:29] local.INFO: GPS data processed {"connection_id":160257,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:14:29] local.INFO: Acknowledgment sent {"connection_id":160257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:14:30] local.INFO: TCP Data received {"connection_id":161205,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ed4e08012d7c830005d95c800003016223..."} 
[2026-08-22 20:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ed4e08012d7c830005d95c800003016223..."} 
[2026-08-22 20:14:30] local.INFO: Processing buffer {"connection_id":161205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ed4e08012d7c830005d95c800003016223..."} 
[2026-08-22 20:14:30] local.INFO: Packet analysis {"connection_id":161205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ed"} 
[2026-08-22 20:14:30] local.INFO: Extracted packet for processing {"connection_id":161205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ed"} 
[2026-08-22 20:14:30] local.INFO: GPS Element Parsed {"raw_longitude":763134720,"raw_latitude":98131072,"longitude_deg":76.313472,"latitude_deg":9.8131072,"altitude":3,"angle":354,"satellites":35,"speed":47,"hex_longitude":"2d7c8300","hex_latitude":"05d95c80","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576910080001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389078476004524032,"note":"Value kept but may cause issues"} 
[2026-08-22 20:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973070438933899264,"note":"Value kept but may cause issues"} 
[2026-08-22 20:14:30] 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-22 20:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787409813000,"timestamp_ms":1787409813000,"timestamp_seconds":1787409813,"priority":1,"record_length":96,"hex_timestamp":"000001a029ed4e08"} 
[2026-08-22 20: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-22 20:14: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-22 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 20:14:30] 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-22 20: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-22 20: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-22 20:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:14: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-22 20:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576910080001,"66":27180,"245":206,"85":15104,"24":47,"16":389078476004524032,"45":8973070438933899264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-22 20:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576910080001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:14:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389078476004524032,"km_value":389078476004524.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973070438933899264,"description":"Unknown IO ID 45"} 
[2026-08-22 20:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576910080001,"power":27180,"geofence_id":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8973070438933899264}} 
[2026-08-22 20:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":161205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:14:30] local.INFO: GPS data processed {"connection_id":161205,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:14:30] local.INFO: Acknowledgment sent {"connection_id":161205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:14:48] local.INFO: TCP Data received {"connection_id":161206,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:14:48] local.INFO: Processing buffer {"connection_id":161206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:14:48] local.INFO: IMEI packet received {"connection_id":161206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":161206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:14:53] local.INFO: TCP Data received {"connection_id":161206,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:14:53] local.INFO: Processing buffer {"connection_id":161206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:14:53] local.INFO: IMEI packet received {"connection_id":161206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":161206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:14:54] local.INFO: TCP Data received {"connection_id":161206,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ed7130012d7c7ec005d981d00000016124..."} 
[2026-08-22 20:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ed7130012d7c7ec005d981d00000016124..."} 
[2026-08-22 20:14:54] local.INFO: Processing buffer {"connection_id":161206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ed7130012d7c7ec005d981d00000016124..."} 
[2026-08-22 20:14:54] local.INFO: Packet analysis {"connection_id":161206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ed"} 
[2026-08-22 20:14:54] local.INFO: Extracted packet for processing {"connection_id":161206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ed"} 
[2026-08-22 20:14:54] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":98140624,"longitude_deg":76.3133632,"latitude_deg":9.8140624,"altitude":0,"angle":353,"satellites":36,"speed":39,"hex_longitude":"2d7c7ec0","hex_latitude":"05d981d0","is_valid_coordinates":true} 
[2026-08-22 20:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576912128001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389078939860992000,"note":"Value kept but may cause issues"} 
[2026-08-22 20:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972014907773714432,"note":"Value kept but may cause issues"} 
[2026-08-22 20:14:54] 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-22 20:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787409822000,"timestamp_ms":1787409822000,"timestamp_seconds":1787409822,"priority":1,"record_length":96,"hex_timestamp":"000001a029ed7130"} 
[2026-08-22 20:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:14: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-22 20:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-22 20:14:54] 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-22 20:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:14:54] 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-22 20:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576912128001,"66":27365,"245":206,"85":15104,"24":39,"16":389078939860992000,"45":8972014907773714432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-22 20:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576912128001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:14:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389078939860992000,"km_value":389078939860992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972014907773714432,"description":"Unknown IO ID 45"} 
[2026-08-22 20:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576912128001,"power":27365,"geofence_id":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8972014907773714432}} 
[2026-08-22 20:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":161206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:14:54] local.INFO: GPS data processed {"connection_id":161206,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:14:54] local.INFO: Acknowledgment sent {"connection_id":161206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:14:57] local.INFO: TCP Data received {"connection_id":160030,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:14:57] local.INFO: Processing buffer {"connection_id":160030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:14:57] local.INFO: IMEI packet received {"connection_id":160030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":160030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:15:02] local.INFO: TCP Data received {"connection_id":160030,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:15:02] local.INFO: Processing buffer {"connection_id":160030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:15:02] local.INFO: IMEI packet received {"connection_id":160030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":160030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:15:03] local.INFO: TCP Data received {"connection_id":160030,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:15:03] local.INFO: Processing buffer {"connection_id":160030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:15:03] local.INFO: Packet analysis {"connection_id":160030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:15:03] local.INFO: Extracted packet for processing {"connection_id":160030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":41,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576794880001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:15:03] 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-22 20:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787409656000,"timestamp_ms":1787409656000,"timestamp_seconds":1787409656,"priority":1,"record_length":96,"hex_timestamp":"000001a029eae8c0"} 
[2026-08-22 20:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576794880001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576794880001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:15:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576794880001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":160030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:15:03] local.INFO: GPS data processed {"connection_id":160030,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:15:03] local.INFO: Acknowledgment sent {"connection_id":160030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:15:07] local.INFO: TCP Data received {"connection_id":160030,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:15:07] local.INFO: Processing buffer {"connection_id":160030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:15:07] local.INFO: Packet analysis {"connection_id":160030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:15:07] local.INFO: Extracted packet for processing {"connection_id":160030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":41,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576794880001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:15:07] 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-22 20:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787409656000,"timestamp_ms":1787409656000,"timestamp_seconds":1787409656,"priority":1,"record_length":96,"hex_timestamp":"000001a029eae8c0"} 
[2026-08-22 20: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-22 20:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576794880001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576794880001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:15:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576794880001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":160030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:15:07] local.INFO: GPS data processed {"connection_id":160030,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:15:07] local.INFO: Acknowledgment sent {"connection_id":160030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:15:25] local.INFO: TCP Data received {"connection_id":161206,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ed9458012d7c7b4005d9a6c80000016121..."} 
[2026-08-22 20:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ed9458012d7c7b4005d9a6c80000016121..."} 
[2026-08-22 20:15:25] local.INFO: Processing buffer {"connection_id":161206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ed9458012d7c7b4005d9a6c80000016121..."} 
[2026-08-22 20:15:25] local.INFO: Packet analysis {"connection_id":161206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ed"} 
[2026-08-22 20:15:25] local.INFO: Extracted packet for processing {"connection_id":161206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ed"} 
[2026-08-22 20:15:25] local.INFO: GPS Element Parsed {"raw_longitude":763132736,"raw_latitude":98150088,"longitude_deg":76.3132736,"latitude_deg":9.8150088,"altitude":0,"angle":353,"satellites":33,"speed":44,"hex_longitude":"2d7c7b40","hex_latitude":"05d9a6c8","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576914432001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389079403717459968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818639125139456,"note":"Value kept but may cause issues"} 
[2026-08-22 20:15:25] 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-22 20:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787409831000,"timestamp_ms":1787409831000,"timestamp_seconds":1787409831,"priority":1,"record_length":96,"hex_timestamp":"000001a029ed9458"} 
[2026-08-22 20: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-22 20: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-22 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 20:15: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-22 20: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-22 20: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-22 20:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:15: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-22 20:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576914432001,"66":27332,"187":206,"85":15104,"24":44,"16":389079403717459968,"45":8970818639125139456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-22 20:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576914432001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:15:25] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 20:15:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389079403717459968,"km_value":389079403717459.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818639125139456,"description":"Unknown IO ID 45"} 
[2026-08-22 20:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576914432001,"power":27332,"unknown_187":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8970818639125139456}} 
[2026-08-22 20:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":161206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:15:25] local.INFO: GPS data processed {"connection_id":161206,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:15:25] local.INFO: Acknowledgment sent {"connection_id":161206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:15:52] local.INFO: TCP Data received {"connection_id":162630,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:15:52] local.INFO: Processing buffer {"connection_id":162630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:15:52] local.INFO: IMEI packet received {"connection_id":162630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":162630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:15:53] local.INFO: TCP Data received {"connection_id":162631,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:15:53] local.INFO: Processing buffer {"connection_id":162631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:15:53] local.INFO: IMEI packet received {"connection_id":162631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":162631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:15:54] local.INFO: TCP Data received {"connection_id":162631,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:15:54] local.INFO: Processing buffer {"connection_id":162631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:15:54] local.INFO: IMEI packet received {"connection_id":162631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":162631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:15:57] local.INFO: TCP Data received {"connection_id":162630,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:15:57] local.INFO: Processing buffer {"connection_id":162630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:15:57] local.INFO: IMEI packet received {"connection_id":162630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":162630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:15:58] local.INFO: TCP Data received {"connection_id":162630,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:15:58] local.INFO: Processing buffer {"connection_id":162630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:15:58] local.INFO: Packet analysis {"connection_id":162630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:15:58] local.INFO: Extracted packet for processing {"connection_id":162630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:15:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":41,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576794880001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:15:58] 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-22 20:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787409656000,"timestamp_ms":1787409656000,"timestamp_seconds":1787409656,"priority":1,"record_length":96,"hex_timestamp":"000001a029eae8c0"} 
[2026-08-22 20:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576794880001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576794880001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:15:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:15:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576794880001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":162630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:15:58] local.INFO: GPS data processed {"connection_id":162630,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:15:58] local.INFO: Acknowledgment sent {"connection_id":162630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:15:58] local.INFO: TCP Data received {"connection_id":162631,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:15:58] local.INFO: Processing buffer {"connection_id":162631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:15:58] local.INFO: IMEI packet received {"connection_id":162631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":162631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:15:59] local.INFO: TCP Data received {"connection_id":162631,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029edb398012d7c774005d9cb08000001611b..."} 
[2026-08-22 20:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029edb398012d7c774005d9cb08000001611b..."} 
[2026-08-22 20:15:59] local.INFO: Processing buffer {"connection_id":162631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029edb398012d7c774005d9cb08000001611b..."} 
[2026-08-22 20:15:59] local.INFO: Packet analysis {"connection_id":162631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ed"} 
[2026-08-22 20:15:59] local.INFO: Extracted packet for processing {"connection_id":162631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ed"} 
[2026-08-22 20:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763131712,"raw_latitude":98159368,"longitude_deg":76.3131712,"latitude_deg":9.8159368,"altitude":0,"angle":353,"satellites":27,"speed":48,"hex_longitude":"2d7c7740","hex_latitude":"05d9cb08","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576916736001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389079854689026048,"note":"Value kept but may cause issues"} 
[2026-08-22 20:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969833476709074944,"note":"Value kept but may cause issues"} 
[2026-08-22 20:15:59] 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-22 20:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787409839000,"timestamp_ms":1787409839000,"timestamp_seconds":1787409839,"priority":1,"record_length":96,"hex_timestamp":"000001a029edb398"} 
[2026-08-22 20: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-22 20: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-22 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 20:15: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-22 20: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-22 20: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-22 20:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:15: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-22 20:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576916736001,"66":27213,"187":206,"85":15104,"24":48,"16":389079854689026048,"45":8969833476709074944},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-22 20:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576916736001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:15:59] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 20:15:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389079854689026048,"km_value":389079854689026.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969833476709074944,"description":"Unknown IO ID 45"} 
[2026-08-22 20:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576916736001,"power":27213,"unknown_187":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8969833476709074944}} 
[2026-08-22 20:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":162631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:15:59] local.INFO: GPS data processed {"connection_id":162631,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:15:59] local.INFO: Acknowledgment sent {"connection_id":162631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:16:30] local.INFO: TCP Data received {"connection_id":162630,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:16:30] local.INFO: Processing buffer {"connection_id":162630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029eae8c0012d1b5ac00724fe70003000bb29..."} 
[2026-08-22 20:16:30] local.INFO: Packet analysis {"connection_id":162630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:16:30] local.INFO: Extracted packet for processing {"connection_id":162630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ea"} 
[2026-08-22 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":48,"angle":187,"satellites":41,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576794880001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:16:30] 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-22 20:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787409656000,"timestamp_ms":1787409656000,"timestamp_seconds":1787409656,"priority":1,"record_length":96,"hex_timestamp":"000001a029eae8c0"} 
[2026-08-22 20:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576794880001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576794880001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:16:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:16:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576794880001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":162630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:16:30] local.INFO: GPS data processed {"connection_id":162630,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:16:30] local.INFO: Acknowledgment sent {"connection_id":162630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:16:31] local.INFO: TCP Data received {"connection_id":162631,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029edd2d8012d7c718005d9f1880000015c1e..."} 
[2026-08-22 20:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029edd2d8012d7c718005d9f1880000015c1e..."} 
[2026-08-22 20:16:31] local.INFO: Processing buffer {"connection_id":162631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029edd2d8012d7c718005d9f1880000015c1e..."} 
[2026-08-22 20:16:31] local.INFO: Packet analysis {"connection_id":162631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ed"} 
[2026-08-22 20:16:31] local.INFO: Extracted packet for processing {"connection_id":162631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ed"} 
[2026-08-22 20:16:31] local.INFO: GPS Element Parsed {"raw_longitude":763130240,"raw_latitude":98169224,"longitude_deg":76.313024,"latitude_deg":9.8169224,"altitude":0,"angle":348,"satellites":30,"speed":48,"hex_longitude":"2d7c7180","hex_latitude":"05d9f188","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576918784001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389080340020330496,"note":"Value kept but may cause issues"} 
[2026-08-22 20:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968707576804608000,"note":"Value kept but may cause issues"} 
[2026-08-22 20:16:31] 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-22 20:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787409847000,"timestamp_ms":1787409847000,"timestamp_seconds":1787409847,"priority":1,"record_length":96,"hex_timestamp":"000001a029edd2d8"} 
[2026-08-22 20: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-22 20:16: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-22 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 20:16:31] 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-22 20: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-22 20: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-22 20:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:16: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-22 20:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576918784001,"66":27213,"187":206,"85":15104,"24":48,"16":389080340020330496,"45":8968707576804608000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-22 20:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576918784001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:16:31] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 20:16:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389080340020330496,"km_value":389080340020330.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968707576804608000,"description":"Unknown IO ID 45"} 
[2026-08-22 20:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576918784001,"power":27213,"unknown_187":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8968707576804608000}} 
[2026-08-22 20:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":162631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:16:31] local.INFO: GPS data processed {"connection_id":162631,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:16:31] local.INFO: Acknowledgment sent {"connection_id":162631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:16:48] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:16:48] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:16:48] local.INFO: IMEI packet received {"connection_id":160031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":160031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:16:52] local.INFO: TCP Data received {"connection_id":160032,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:16:52] local.INFO: Processing buffer {"connection_id":160032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:16:52] local.INFO: IMEI packet received {"connection_id":160032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":160032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:16:53] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:16:53] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:16:53] local.INFO: IMEI packet received {"connection_id":160031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":160031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:16:54] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029edf218012d7c694005da1800000001591e..."} 
[2026-08-22 20:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029edf218012d7c694005da1800000001591e..."} 
[2026-08-22 20:16:54] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029edf218012d7c694005da1800000001591e..."} 
[2026-08-22 20:16:54] local.INFO: Packet analysis {"connection_id":160031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ed"} 
[2026-08-22 20:16:54] local.INFO: Extracted packet for processing {"connection_id":160031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ed"} 
[2026-08-22 20:16:54] local.INFO: GPS Element Parsed {"raw_longitude":763128128,"raw_latitude":98179072,"longitude_deg":76.3128128,"latitude_deg":9.8179072,"altitude":0,"angle":345,"satellites":30,"speed":48,"hex_longitude":"2d7c6940","hex_latitude":"05da1800","is_valid_coordinates":true} 
[2026-08-22 20:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576920832001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389080825351634944,"note":"Value kept but may cause issues"} 
[2026-08-22 20:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967089095691044864,"note":"Value kept but may cause issues"} 
[2026-08-22 20:16:54] 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-22 20:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787409855000,"timestamp_ms":1787409855000,"timestamp_seconds":1787409855,"priority":1,"record_length":96,"hex_timestamp":"000001a029edf218"} 
[2026-08-22 20:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:16: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-22 20:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 20:16:54] 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-22 20:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:16:54] 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-22 20:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576920832001,"66":27300,"187":206,"85":15104,"24":48,"16":389080825351634944,"45":8967089095691044864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-22 20:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576920832001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:16:54] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 20:16:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389080825351634944,"km_value":389080825351634.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967089095691044864,"description":"Unknown IO ID 45"} 
[2026-08-22 20:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576920832001,"power":27300,"unknown_187":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8967089095691044864}} 
[2026-08-22 20:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":160031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:16:54] local.INFO: GPS data processed {"connection_id":160031,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:16:54] local.INFO: Acknowledgment sent {"connection_id":160031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:16:57] local.INFO: TCP Data received {"connection_id":160032,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:16:57] local.INFO: Processing buffer {"connection_id":160032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:16:57] local.INFO: IMEI packet received {"connection_id":160032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":160032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:16:58] local.INFO: TCP Data received {"connection_id":160032,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:16:58] local.INFO: Processing buffer {"connection_id":160032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:16:58] local.INFO: Packet analysis {"connection_id":160032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:16:58] local.INFO: Extracted packet for processing {"connection_id":160032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:16:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":52,"angle":187,"satellites":40,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576871936001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:16:58] 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-22 20:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787409957000,"timestamp_ms":1787409957000,"timestamp_seconds":1787409957,"priority":1,"record_length":96,"hex_timestamp":"000001a029ef8088"} 
[2026-08-22 20: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-22 20:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576871936001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576871936001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:16:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:16:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576871936001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":160032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:16:58] local.INFO: GPS data processed {"connection_id":160032,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:16:58] local.INFO: Acknowledgment sent {"connection_id":160032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:17:25] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029efe618012d7bfd4005db95980005015a21..."} 
[2026-08-22 20:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029efe618012d7bfd4005db95980005015a21..."} 
[2026-08-22 20:17:25] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029efe618012d7bfd4005db95980005015a21..."} 
[2026-08-22 20:17:25] local.INFO: Packet analysis {"connection_id":160031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:17:25] local.INFO: Extracted packet for processing {"connection_id":160031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:17:25] local.INFO: GPS Element Parsed {"raw_longitude":763100480,"raw_latitude":98276760,"longitude_deg":76.310048,"latitude_deg":9.827676,"altitude":5,"angle":346,"satellites":33,"speed":37,"hex_longitude":"2d7bfd40","hex_latitude":"05db9598","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576951808001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389085751679123456,"note":"Value kept but may cause issues"} 
[2026-08-22 20:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936549060743069696,"note":"Value kept but may cause issues"} 
[2026-08-22 20:17:25] 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-22 20:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787409983000,"timestamp_ms":1787409983000,"timestamp_seconds":1787409983,"priority":1,"record_length":96,"hex_timestamp":"000001a029efe618"} 
[2026-08-22 20: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-22 20:17: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-22 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 20:17:25] 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-22 20: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-22 20: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-22 20:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:17: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-22 20:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576951808001,"66":27234,"168":206,"85":15104,"24":37,"16":389085751679123456,"45":8936549060743069696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-22 20:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576951808001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:17:25] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-22 20:17:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389085751679123456,"km_value":389085751679123.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936549060743069696,"description":"Unknown IO ID 45"} 
[2026-08-22 20:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576951808001,"power":27234,"unknown_168":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8936549060743069696}} 
[2026-08-22 20:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":160031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:17:25] local.INFO: GPS data processed {"connection_id":160031,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:17:25] local.INFO: Acknowledgment sent {"connection_id":160031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:17:29] local.INFO: TCP Data received {"connection_id":160032,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:17:29] local.INFO: Processing buffer {"connection_id":160032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:17:29] local.INFO: Packet analysis {"connection_id":160032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:17:29] local.INFO: Extracted packet for processing {"connection_id":160032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:17:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":52,"angle":187,"satellites":40,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576871936001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:17:29] 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-22 20:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787409957000,"timestamp_ms":1787409957000,"timestamp_seconds":1787409957,"priority":1,"record_length":96,"hex_timestamp":"000001a029ef8088"} 
[2026-08-22 20: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-22 20:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576871936001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576871936001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:17:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:17:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576871936001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":160032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:17:29] local.INFO: GPS data processed {"connection_id":160032,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:17:29] local.INFO: Acknowledgment sent {"connection_id":160032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:17:48] local.INFO: TCP Data received {"connection_id":161207,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:17:48] local.INFO: Processing buffer {"connection_id":161207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:17:48] local.INFO: IMEI packet received {"connection_id":161207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":161207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:17:49] local.INFO: TCP Data received {"connection_id":161207,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:17:49] local.INFO: Processing buffer {"connection_id":161207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:17:49] local.INFO: IMEI packet received {"connection_id":161207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":161207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:17:52] local.INFO: TCP Data received {"connection_id":161208,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:17:52] local.INFO: Processing buffer {"connection_id":161208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:17:52] local.INFO: IMEI packet received {"connection_id":161208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":161208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:17:53] local.INFO: TCP Data received {"connection_id":161207,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:17:53] local.INFO: Processing buffer {"connection_id":161207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:17:53] local.INFO: IMEI packet received {"connection_id":161207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":161207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:17:54] local.INFO: TCP Data received {"connection_id":161207,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029f00d28012d7bf54005dbba800005015c26..."} 
[2026-08-22 20:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f00d28012d7bf54005dbba800005015c26..."} 
[2026-08-22 20:17:54] local.INFO: Processing buffer {"connection_id":161207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f00d28012d7bf54005dbba800005015c26..."} 
[2026-08-22 20:17:54] local.INFO: Packet analysis {"connection_id":161207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f0"} 
[2026-08-22 20:17:54] local.INFO: Extracted packet for processing {"connection_id":161207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f0"} 
[2026-08-22 20:17:54] local.INFO: GPS Element Parsed {"raw_longitude":763098432,"raw_latitude":98286208,"longitude_deg":76.3098432,"latitude_deg":9.8286208,"altitude":5,"angle":348,"satellites":38,"speed":31,"hex_longitude":"2d7bf540","hex_latitude":"05dbba80","is_valid_coordinates":true} 
[2026-08-22 20:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576955648001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389086219830558720,"note":"Value kept but may cause issues"} 
[2026-08-22 20:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934367629675960320,"note":"Value kept but may cause issues"} 
[2026-08-22 20:17:54] 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-22 20:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787409993000,"timestamp_ms":1787409993000,"timestamp_seconds":1787409993,"priority":1,"record_length":96,"hex_timestamp":"000001a029f00d28"} 
[2026-08-22 20:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:17: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-22 20:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-22 20:17:54] 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-22 20:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:17:54] 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-22 20:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576955648001,"66":27332,"168":206,"85":15104,"24":31,"16":389086219830558720,"45":8934367629675960320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-22 20:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576955648001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:17:54] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-22 20:17:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389086219830558720,"km_value":389086219830558.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934367629675960320,"description":"Unknown IO ID 45"} 
[2026-08-22 20:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576955648001,"power":27332,"unknown_168":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8934367629675960320}} 
[2026-08-22 20:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":161207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:17:54] local.INFO: GPS data processed {"connection_id":161207,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:17:54] local.INFO: Acknowledgment sent {"connection_id":161207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:17:57] local.INFO: TCP Data received {"connection_id":161208,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:17:57] local.INFO: Processing buffer {"connection_id":161208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:17:57] local.INFO: IMEI packet received {"connection_id":161208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":161208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:17:58] local.INFO: TCP Data received {"connection_id":161208,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:17:58] local.INFO: Processing buffer {"connection_id":161208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:17:58] local.INFO: Packet analysis {"connection_id":161208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:17:58] local.INFO: Extracted packet for processing {"connection_id":161208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:17:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":52,"angle":187,"satellites":40,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:17: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-22 20:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576871936001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:17:58] 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-22 20:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787409957000,"timestamp_ms":1787409957000,"timestamp_seconds":1787409957,"priority":1,"record_length":96,"hex_timestamp":"000001a029ef8088"} 
[2026-08-22 20: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-22 20:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:17: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-22 20: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-22 20:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576871936001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576871936001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:17:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:17:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576871936001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":161208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:17:58] local.INFO: GPS data processed {"connection_id":161208,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:17:58] local.INFO: Acknowledgment sent {"connection_id":161208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:18:25] local.INFO: TCP Data received {"connection_id":161207,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029f03820012d7bee8005dbdd980004015e20..."} 
[2026-08-22 20:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f03820012d7bee8005dbdd980004015e20..."} 
[2026-08-22 20:18:25] local.INFO: Processing buffer {"connection_id":161207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f03820012d7bee8005dbdd980004015e20..."} 
[2026-08-22 20:18:25] local.INFO: Packet analysis {"connection_id":161207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f0"} 
[2026-08-22 20:18:25] local.INFO: Extracted packet for processing {"connection_id":161207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f0"} 
[2026-08-22 20:18:25] local.INFO: GPS Element Parsed {"raw_longitude":763096704,"raw_latitude":98295192,"longitude_deg":76.3096704,"latitude_deg":9.8295192,"altitude":4,"angle":350,"satellites":32,"speed":39,"hex_longitude":"2d7bee80","hex_latitude":"05dbdd98","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576958208001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389086666507157504,"note":"Value kept but may cause issues"} 
[2026-08-22 20:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932115829864693760,"note":"Value kept but may cause issues"} 
[2026-08-22 20:18:25] 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-22 20:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787410004000,"timestamp_ms":1787410004000,"timestamp_seconds":1787410004,"priority":1,"record_length":96,"hex_timestamp":"000001a029f03820"} 
[2026-08-22 20: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-22 20:18: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-22 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 20:18: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-22 20: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-22 20: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-22 20:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20: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-22 20:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576958208001,"66":27321,"168":206,"85":15104,"24":39,"16":389086666507157504,"45":8932115829864693760},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-22 20:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576958208001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:18:25] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-22 20:18:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389086666507157504,"km_value":389086666507157.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932115829864693760,"description":"Unknown IO ID 45"} 
[2026-08-22 20:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576958208001,"power":27321,"unknown_168":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8932115829864693760}} 
[2026-08-22 20:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":161207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:18:25] local.INFO: GPS data processed {"connection_id":161207,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:18:25] local.INFO: Acknowledgment sent {"connection_id":161207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:18:29] local.INFO: TCP Data received {"connection_id":161208,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:18:29] local.INFO: Processing buffer {"connection_id":161208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:18:29] local.INFO: Packet analysis {"connection_id":161208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:18:29] local.INFO: Extracted packet for processing {"connection_id":161208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:18:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":52,"angle":187,"satellites":40,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576871936001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:18:29] 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-22 20:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787409957000,"timestamp_ms":1787409957000,"timestamp_seconds":1787409957,"priority":1,"record_length":96,"hex_timestamp":"000001a029ef8088"} 
[2026-08-22 20: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-22 20:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576871936001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576871936001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:18:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:18:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576871936001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":161208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:18:29] local.INFO: GPS data processed {"connection_id":161208,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:18:29] local.INFO: Acknowledgment sent {"connection_id":161208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:18:52] local.INFO: TCP Data received {"connection_id":160034,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:18:52] local.INFO: Processing buffer {"connection_id":160034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:18:52] local.INFO: IMEI packet received {"connection_id":160034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":160034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:18:55] local.INFO: TCP Data received {"connection_id":160033,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:18:55] local.INFO: Processing buffer {"connection_id":160033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:18:55] local.INFO: IMEI packet received {"connection_id":160033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":160033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:18:57] local.INFO: TCP Data received {"connection_id":160034,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:18:57] local.INFO: Processing buffer {"connection_id":160034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:18:57] local.INFO: IMEI packet received {"connection_id":160034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":160034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:18:58] local.INFO: TCP Data received {"connection_id":160034,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:18:58] local.INFO: Processing buffer {"connection_id":160034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:18:58] local.INFO: Packet analysis {"connection_id":160034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:18:58] local.INFO: Extracted packet for processing {"connection_id":160034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":52,"angle":187,"satellites":40,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576871936001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:18:58] 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-22 20:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787409957000,"timestamp_ms":1787409957000,"timestamp_seconds":1787409957,"priority":1,"record_length":96,"hex_timestamp":"000001a029ef8088"} 
[2026-08-22 20:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576871936001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576871936001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:18:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576871936001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":160034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:18:58] local.INFO: GPS data processed {"connection_id":160034,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:18:58] local.INFO: Acknowledgment sent {"connection_id":160034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:18:59] local.INFO: TCP Data received {"connection_id":160033,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:18:59] local.INFO: Processing buffer {"connection_id":160033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:18:59] local.INFO: IMEI packet received {"connection_id":160033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":160033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:19:00] local.INFO: TCP Data received {"connection_id":160033,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:19:00] local.INFO: Processing buffer {"connection_id":160033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:19:00] local.INFO: IMEI packet received {"connection_id":160033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":160033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:19:03] local.INFO: TCP Data received {"connection_id":160033,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:19:03] local.INFO: Processing buffer {"connection_id":160033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:19:03] local.INFO: IMEI packet received {"connection_id":160033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":160033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:19:29] local.INFO: TCP Data received {"connection_id":160034,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:19:29] local.INFO: Processing buffer {"connection_id":160034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:19:29] local.INFO: Packet analysis {"connection_id":160034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:19:29] local.INFO: Extracted packet for processing {"connection_id":160034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:19:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":52,"angle":187,"satellites":40,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576871936001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:19:29] 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-22 20:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787409957000,"timestamp_ms":1787409957000,"timestamp_seconds":1787409957,"priority":1,"record_length":96,"hex_timestamp":"000001a029ef8088"} 
[2026-08-22 20:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 20:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576871936001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576871936001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:19:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:19:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576871936001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":160034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:19:29] local.INFO: GPS data processed {"connection_id":160034,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:19:29] local.INFO: Acknowledgment sent {"connection_id":160034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:19:57] local.INFO: TCP Data received {"connection_id":160258,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:19:57] local.INFO: Processing buffer {"connection_id":160258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:19:57] local.INFO: IMEI packet received {"connection_id":160258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":160258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:20:02] local.INFO: TCP Data received {"connection_id":160258,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:20:02] local.INFO: Processing buffer {"connection_id":160258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:20:02] local.INFO: IMEI packet received {"connection_id":160258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":160258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:20:03] local.INFO: TCP Data received {"connection_id":160258,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:20:03] local.INFO: Processing buffer {"connection_id":160258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:20:03] local.INFO: Packet analysis {"connection_id":160258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:20:03] local.INFO: Extracted packet for processing {"connection_id":160258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":52,"angle":187,"satellites":40,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576871936001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:20:03] 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-22 20:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787409957000,"timestamp_ms":1787409957000,"timestamp_seconds":1787409957,"priority":1,"record_length":96,"hex_timestamp":"000001a029ef8088"} 
[2026-08-22 20:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576871936001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576871936001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:20:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576871936001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":160258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:20:03] local.INFO: GPS data processed {"connection_id":160258,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:20:03] local.INFO: Acknowledgment sent {"connection_id":160258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:20:07] local.INFO: TCP Data received {"connection_id":160258,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:20:07] local.INFO: Processing buffer {"connection_id":160258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:20:07] local.INFO: Packet analysis {"connection_id":160258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:20:07] local.INFO: Extracted packet for processing {"connection_id":160258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":52,"angle":187,"satellites":40,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576871936001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:20:07] 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-22 20:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787409957000,"timestamp_ms":1787409957000,"timestamp_seconds":1787409957,"priority":1,"record_length":96,"hex_timestamp":"000001a029ef8088"} 
[2026-08-22 20: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-22 20:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576871936001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576871936001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:20:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576871936001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":160258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:20:07] local.INFO: GPS data processed {"connection_id":160258,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:20:07] local.INFO: Acknowledgment sent {"connection_id":160258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:20:52] local.INFO: TCP Data received {"connection_id":160037,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:20:52] local.INFO: Processing buffer {"connection_id":160037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:20:52] local.INFO: IMEI packet received {"connection_id":160037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":160037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:20:57] local.INFO: TCP Data received {"connection_id":160037,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:20:57] local.INFO: Processing buffer {"connection_id":160037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:20:57] local.INFO: IMEI packet received {"connection_id":160037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":160037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:20:58] local.INFO: TCP Data received {"connection_id":160037,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:20:58] local.INFO: Processing buffer {"connection_id":160037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:20:58] local.INFO: Packet analysis {"connection_id":160037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:20:58] local.INFO: Extracted packet for processing {"connection_id":160037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:20:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":52,"angle":187,"satellites":40,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576871936001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:20:58] 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-22 20:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787409957000,"timestamp_ms":1787409957000,"timestamp_seconds":1787409957,"priority":1,"record_length":96,"hex_timestamp":"000001a029ef8088"} 
[2026-08-22 20: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-22 20:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576871936001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576871936001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:20:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:20:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576871936001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":160037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:20:58] local.INFO: GPS data processed {"connection_id":160037,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:20:58] local.INFO: Acknowledgment sent {"connection_id":160037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:21:29] local.INFO: TCP Data received {"connection_id":160037,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:21:29] local.INFO: Processing buffer {"connection_id":160037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ef8088012d1b5ac00724fe70003400bb28..."} 
[2026-08-22 20:21:29] local.INFO: Packet analysis {"connection_id":160037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:21:29] local.INFO: Extracted packet for processing {"connection_id":160037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ef"} 
[2026-08-22 20:21:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":52,"angle":187,"satellites":40,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:21: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-22 20:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576871936001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:21:29] 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-22 20:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787409957000,"timestamp_ms":1787409957000,"timestamp_seconds":1787409957,"priority":1,"record_length":96,"hex_timestamp":"000001a029ef8088"} 
[2026-08-22 20:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 20:21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20:21: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-22 20:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576871936001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576871936001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:21:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:21:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576871936001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":160037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:21:29] local.INFO: GPS data processed {"connection_id":160037,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:21:29] local.INFO: Acknowledgment sent {"connection_id":160037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:21:52] local.INFO: TCP Data received {"connection_id":160259,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:21:52] local.INFO: Processing buffer {"connection_id":160259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:21:52] local.INFO: IMEI packet received {"connection_id":160259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":160259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:21:57] local.INFO: TCP Data received {"connection_id":160259,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:21:57] local.INFO: Processing buffer {"connection_id":160259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:21:57] local.INFO: IMEI packet received {"connection_id":160259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":160259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:21:58] local.INFO: TCP Data received {"connection_id":160259,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:21:58] local.INFO: Processing buffer {"connection_id":160259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:21:58] local.INFO: Packet analysis {"connection_id":160259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:21:58] local.INFO: Extracted packet for processing {"connection_id":160259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":47,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576948992001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:21:58] 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-22 20:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787410258000,"timestamp_ms":1787410258000,"timestamp_seconds":1787410258,"priority":1,"record_length":96,"hex_timestamp":"000001a029f41850"} 
[2026-08-22 20: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-22 20:21:58] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576948992001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576948992001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:21:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:21:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576948992001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":160259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:21:58] local.INFO: GPS data processed {"connection_id":160259,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:21:58] local.INFO: Acknowledgment sent {"connection_id":160259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:22:29] local.INFO: TCP Data received {"connection_id":160259,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:22:29] local.INFO: Processing buffer {"connection_id":160259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:22:29] local.INFO: Packet analysis {"connection_id":160259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:22:29] local.INFO: Extracted packet for processing {"connection_id":160259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":47,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576948992001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:22:29] 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-22 20:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787410258000,"timestamp_ms":1787410258000,"timestamp_seconds":1787410258,"priority":1,"record_length":96,"hex_timestamp":"000001a029f41850"} 
[2026-08-22 20:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:22: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-22 20:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:22:29] 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-22 20:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576948992001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576948992001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:22:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:22:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576948992001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":160259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:22:29] local.INFO: GPS data processed {"connection_id":160259,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:22:29] local.INFO: Acknowledgment sent {"connection_id":160259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:22:52] local.INFO: TCP Data received {"connection_id":162634,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:22:52] local.INFO: Processing buffer {"connection_id":162634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:22:52] local.INFO: IMEI packet received {"connection_id":162634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":162634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:22:57] local.INFO: TCP Data received {"connection_id":162634,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:22:57] local.INFO: Processing buffer {"connection_id":162634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:22:57] local.INFO: IMEI packet received {"connection_id":162634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":162634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:22:58] local.INFO: TCP Data received {"connection_id":162634,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:22:58] local.INFO: Processing buffer {"connection_id":162634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:22:58] local.INFO: Packet analysis {"connection_id":162634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:22:58] local.INFO: Extracted packet for processing {"connection_id":162634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:22:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":47,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576948992001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:22:58] 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-22 20:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787410258000,"timestamp_ms":1787410258000,"timestamp_seconds":1787410258,"priority":1,"record_length":96,"hex_timestamp":"000001a029f41850"} 
[2026-08-22 20: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-22 20:22:58] 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-22 20:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576948992001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576948992001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:22:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:22:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576948992001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":162634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:22:58] local.INFO: GPS data processed {"connection_id":162634,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:22:58] local.INFO: Acknowledgment sent {"connection_id":162634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:23:29] local.INFO: TCP Data received {"connection_id":162634,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:23:29] local.INFO: Processing buffer {"connection_id":162634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:23:29] local.INFO: Packet analysis {"connection_id":162634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:23:29] local.INFO: Extracted packet for processing {"connection_id":162634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:23:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":47,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576948992001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:23:29] 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-22 20:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787410258000,"timestamp_ms":1787410258000,"timestamp_seconds":1787410258,"priority":1,"record_length":96,"hex_timestamp":"000001a029f41850"} 
[2026-08-22 20: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-22 20:23: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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:23:29] 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-22 20: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-22 20: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-22 20:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576948992001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576948992001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:23:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:23:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576948992001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":162634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:23:29] local.INFO: GPS data processed {"connection_id":162634,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:23:29] local.INFO: Acknowledgment sent {"connection_id":162634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:23:57] local.INFO: TCP Data received {"connection_id":161209,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:23:57] local.INFO: Processing buffer {"connection_id":161209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:23:57] local.INFO: IMEI packet received {"connection_id":161209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":161209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:24:02] local.INFO: TCP Data received {"connection_id":161209,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:24:02] local.INFO: Processing buffer {"connection_id":161209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:24:02] local.INFO: IMEI packet received {"connection_id":161209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":161209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:24:03] local.INFO: TCP Data received {"connection_id":161209,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:24:03] local.INFO: Processing buffer {"connection_id":161209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:24:03] local.INFO: Packet analysis {"connection_id":161209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:24:03] local.INFO: Extracted packet for processing {"connection_id":161209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:24:03] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":47,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576948992001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:24:03] 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-22 20:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787410258000,"timestamp_ms":1787410258000,"timestamp_seconds":1787410258,"priority":1,"record_length":96,"hex_timestamp":"000001a029f41850"} 
[2026-08-22 20:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576948992001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576948992001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:24:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:24:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576948992001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":161209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:24:03] local.INFO: GPS data processed {"connection_id":161209,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:24:03] local.INFO: Acknowledgment sent {"connection_id":161209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:24:07] local.INFO: TCP Data received {"connection_id":161209,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:24:07] local.INFO: Processing buffer {"connection_id":161209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:24:07] local.INFO: Packet analysis {"connection_id":161209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:24:07] local.INFO: Extracted packet for processing {"connection_id":161209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":47,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576948992001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:24:07] 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-22 20:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787410258000,"timestamp_ms":1787410258000,"timestamp_seconds":1787410258,"priority":1,"record_length":96,"hex_timestamp":"000001a029f41850"} 
[2026-08-22 20: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-22 20:24:07] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:24:07] 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-22 20: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-22 20: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-22 20:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576948992001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576948992001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:24:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576948992001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":161209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:24:07] local.INFO: GPS data processed {"connection_id":161209,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:24:07] local.INFO: Acknowledgment sent {"connection_id":161209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:24:08] local.INFO: TCP Data received {"connection_id":160260,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:24:08] local.INFO: Processing buffer {"connection_id":160260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:24:08] local.INFO: IMEI packet received {"connection_id":160260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":160260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:24:11] local.INFO: TCP Data received {"connection_id":160260,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029f5c9e8012d7b3ac005e1aab80008016420..."} 
[2026-08-22 20:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f5c9e8012d7b3ac005e1aab80008016420..."} 
[2026-08-22 20:24:11] local.INFO: Processing buffer {"connection_id":160260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f5c9e8012d7b3ac005e1aab80008016420..."} 
[2026-08-22 20:24:11] local.INFO: Packet analysis {"connection_id":160260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f5"} 
[2026-08-22 20:24:11] local.INFO: Extracted packet for processing {"connection_id":160260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f5"} 
[2026-08-22 20:24:11] local.INFO: GPS Element Parsed {"raw_longitude":763050688,"raw_latitude":98675384,"longitude_deg":76.3050688,"latitude_deg":9.8675384,"altitude":8,"angle":356,"satellites":32,"speed":26,"hex_longitude":"2d7b3ac0","hex_latitude":"05e1aab8","is_valid_coordinates":true} 
[2026-08-22 20:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577050624001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646712209408,"note":"Value kept but may cause issues"} 
[2026-08-22 20:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389105259420581888,"note":"Value kept but may cause issues"} 
[2026-08-22 20:24:11] 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-22 20:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787410369000,"timestamp_ms":1787410369000,"timestamp_seconds":1787410369,"priority":1,"record_length":96,"hex_timestamp":"000001a029f5c9e8"} 
[2026-08-22 20:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:24: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-22 20:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 20:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577050624001,"66":27343,"45":8880746646712209408,"85":15104,"24":26,"16":389105259420581888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 20:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577050624001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646712209408,"description":"Unknown IO ID 45"} 
[2026-08-22 20:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389105259420581888,"km_value":389105259420581.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:24:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457577050624001,"power":27343,"unknown_45":8880746646712209408,"unknown_85":15104,"ignition":26,"odometer":null}} 
[2026-08-22 20:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":160260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:24:11] local.INFO: GPS data processed {"connection_id":160260,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:24:11] local.INFO: Acknowledgment sent {"connection_id":160260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:24:52] local.INFO: TCP Data received {"connection_id":160261,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:24:52] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:24:52] local.INFO: IMEI packet received {"connection_id":160261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":160261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:24:52] local.INFO: TCP Data received {"connection_id":160262,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:24:52] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:24:52] local.INFO: IMEI packet received {"connection_id":160262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":160262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:24:53] local.INFO: TCP Data received {"connection_id":160262,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:24:53] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:24:53] local.INFO: IMEI packet received {"connection_id":160262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":160262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:24:57] local.INFO: TCP Data received {"connection_id":160261,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:24:57] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:24:57] local.INFO: IMEI packet received {"connection_id":160261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":160261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:24:58] local.INFO: TCP Data received {"connection_id":160261,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:24:58] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:24:58] local.INFO: Packet analysis {"connection_id":160261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:24:58] local.INFO: Extracted packet for processing {"connection_id":160261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:24:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":47,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576948992001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:24:58] 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-22 20:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787410258000,"timestamp_ms":1787410258000,"timestamp_seconds":1787410258,"priority":1,"record_length":96,"hex_timestamp":"000001a029f41850"} 
[2026-08-22 20:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:24:58] 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-22 20:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576948992001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576948992001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:24:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576948992001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":160261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:24:58] local.INFO: GPS data processed {"connection_id":160261,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:24:58] local.INFO: Acknowledgment sent {"connection_id":160261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:24:58] local.INFO: TCP Data received {"connection_id":160262,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:24:58] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:24:58] local.INFO: IMEI packet received {"connection_id":160262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":160262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:25:00] local.INFO: TCP Data received {"connection_id":160262,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029f5f4e0012d7b380005e1cfd0000a016322..."} 
[2026-08-22 20:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f5f4e0012d7b380005e1cfd0000a016322..."} 
[2026-08-22 20:25:00] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f5f4e0012d7b380005e1cfd0000a016322..."} 
[2026-08-22 20:25:00] local.INFO: Packet analysis {"connection_id":160262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f5"} 
[2026-08-22 20:25:00] local.INFO: Extracted packet for processing {"connection_id":160262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f5"} 
[2026-08-22 20:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763049984,"raw_latitude":98684880,"longitude_deg":76.3049984,"latitude_deg":9.868488,"altitude":10,"angle":355,"satellites":34,"speed":39,"hex_longitude":"2d7b3800","hex_latitude":"05e1cfd0","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577054464001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879620746807785472,"note":"Value kept but may cause issues"} 
[2026-08-22 20:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389105723277049856,"note":"Value kept but may cause issues"} 
[2026-08-22 20:25:00] 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-22 20:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787410380000,"timestamp_ms":1787410380000,"timestamp_seconds":1787410380,"priority":1,"record_length":96,"hex_timestamp":"000001a029f5f4e0"} 
[2026-08-22 20: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-22 20:25: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-22 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 20:25: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-22 20: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-22 20: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-22 20:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:25: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-22 20:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577054464001,"66":27267,"45":8879620746807785472,"85":15104,"24":39,"16":389105723277049856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 20:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577054464001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879620746807785472,"description":"Unknown IO ID 45"} 
[2026-08-22 20:25:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389105723277049856,"km_value":389105723277049.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:25:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457577054464001,"power":27267,"unknown_45":8879620746807785472,"unknown_85":15104,"ignition":39,"odometer":null}} 
[2026-08-22 20:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":160262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:25:00] local.INFO: GPS data processed {"connection_id":160262,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:25:00] local.INFO: Acknowledgment sent {"connection_id":160262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:25:29] local.INFO: TCP Data received {"connection_id":160261,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:25:29] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:25:29] local.INFO: Packet analysis {"connection_id":160261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:25:29] local.INFO: Extracted packet for processing {"connection_id":160261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:25:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":47,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 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-22 20:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576948992001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:25:29] 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-22 20:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787410258000,"timestamp_ms":1787410258000,"timestamp_seconds":1787410258,"priority":1,"record_length":96,"hex_timestamp":"000001a029f41850"} 
[2026-08-22 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-22 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-22 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:25:29] 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-22 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-22 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-22 20:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576948992001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576948992001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:25:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576948992001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":160261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:25:29] local.INFO: GPS data processed {"connection_id":160261,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:25:29] local.INFO: Acknowledgment sent {"connection_id":160261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:25:32] local.INFO: TCP Data received {"connection_id":160262,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029f627a8012d7b344005e1f3100007015923..."} 
[2026-08-22 20:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f627a8012d7b344005e1f3100007015923..."} 
[2026-08-22 20:25:32] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f627a8012d7b344005e1f3100007015923..."} 
[2026-08-22 20:25:32] local.INFO: Packet analysis {"connection_id":160262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f6"} 
[2026-08-22 20:25:32] local.INFO: Extracted packet for processing {"connection_id":160262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f6"} 
[2026-08-22 20:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763049024,"raw_latitude":98693904,"longitude_deg":76.3049024,"latitude_deg":9.8693904,"altitude":7,"angle":345,"satellites":35,"speed":12,"hex_longitude":"2d7b3440","hex_latitude":"05e1f310","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577057280001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878846690624262144,"note":"Value kept but may cause issues"} 
[2026-08-22 20:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389106161363714048,"note":"Value kept but may cause issues"} 
[2026-08-22 20:25:32] 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-22 20:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787410393000,"timestamp_ms":1787410393000,"timestamp_seconds":1787410393,"priority":1,"record_length":96,"hex_timestamp":"000001a029f627a8"} 
[2026-08-22 20: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-22 20: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-22 20: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":131,"data_length":795,"current_offset":136} 
[2026-08-22 20:25: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-22 20: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-22 20: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-22 20:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:25: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-22 20:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577057280001,"66":27213,"45":8878846690624262144,"85":15104,"24":12,"16":389106161363714048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 20:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577057280001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878846690624262144,"description":"Unknown IO ID 45"} 
[2026-08-22 20:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389106161363714048,"km_value":389106161363714.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:25:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457577057280001,"power":27213,"unknown_45":8878846690624262144,"unknown_85":15104,"ignition":12,"odometer":null}} 
[2026-08-22 20:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":160262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:25:32] local.INFO: GPS data processed {"connection_id":160262,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:25:32] local.INFO: Acknowledgment sent {"connection_id":160262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:25:48] local.INFO: TCP Data received {"connection_id":160038,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:25:48] local.INFO: Processing buffer {"connection_id":160038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:25:48] local.INFO: IMEI packet received {"connection_id":160038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":160038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:25:52] local.INFO: TCP Data received {"connection_id":160039,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:25:52] local.INFO: Processing buffer {"connection_id":160039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:25:52] local.INFO: IMEI packet received {"connection_id":160039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":160039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:25:54] local.INFO: TCP Data received {"connection_id":160038,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:25:54] local.INFO: Processing buffer {"connection_id":160038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:25:54] local.INFO: IMEI packet received {"connection_id":160038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":160038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:25:57] local.INFO: TCP Data received {"connection_id":160039,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:25:57] local.INFO: Processing buffer {"connection_id":160039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:25:57] local.INFO: IMEI packet received {"connection_id":160039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":160039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:25:57] local.INFO: TCP Data received {"connection_id":160038,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029f679b0012d7b2ec005e214400003016124..."} 
[2026-08-22 20:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f679b0012d7b2ec005e214400003016124..."} 
[2026-08-22 20:25:57] local.INFO: Processing buffer {"connection_id":160038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f679b0012d7b2ec005e214400003016124..."} 
[2026-08-22 20:25:57] local.INFO: Packet analysis {"connection_id":160038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f6"} 
[2026-08-22 20:25:57] local.INFO: Extracted packet for processing {"connection_id":160038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f6"} 
[2026-08-22 20:25:57] local.INFO: GPS Element Parsed {"raw_longitude":763047616,"raw_latitude":98702400,"longitude_deg":76.3047616,"latitude_deg":9.87024,"altitude":3,"angle":353,"satellites":36,"speed":18,"hex_longitude":"2d7b2ec0","hex_latitude":"05e21440","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577060608001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877791159463907328,"note":"Value kept but may cause issues"} 
[2026-08-22 20:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389106582270509056,"note":"Value kept but may cause issues"} 
[2026-08-22 20:25:57] 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-22 20:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787410414000,"timestamp_ms":1787410414000,"timestamp_seconds":1787410414,"priority":1,"record_length":96,"hex_timestamp":"000001a029f679b0"} 
[2026-08-22 20: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-22 20:25: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-22 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 20:25: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-22 20: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-22 20: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-22 20:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20: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-22 20:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577060608001,"66":27213,"45":8877791159463907328,"85":15104,"24":18,"16":389106582270509056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-22 20:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577060608001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877791159463907328,"description":"Unknown IO ID 45"} 
[2026-08-22 20:25:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389106582270509056,"km_value":389106582270509.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:25:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457577060608001,"power":27213,"unknown_45":8877791159463907328,"unknown_85":15104,"ignition":18,"odometer":null}} 
[2026-08-22 20:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":160038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:25:57] local.INFO: GPS data processed {"connection_id":160038,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:25:57] local.INFO: Acknowledgment sent {"connection_id":160038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:25:58] local.INFO: TCP Data received {"connection_id":160039,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:25:58] local.INFO: Processing buffer {"connection_id":160039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:25:58] local.INFO: Packet analysis {"connection_id":160039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:25:58] local.INFO: Extracted packet for processing {"connection_id":160039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:25:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":47,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576948992001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:25:58] 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-22 20:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787410258000,"timestamp_ms":1787410258000,"timestamp_seconds":1787410258,"priority":1,"record_length":96,"hex_timestamp":"000001a029f41850"} 
[2026-08-22 20: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-22 20:25:58] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576948992001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576948992001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:25:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:25:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576948992001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":160039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:25:58] local.INFO: GPS data processed {"connection_id":160039,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:25:58] local.INFO: Acknowledgment sent {"connection_id":160039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:26:29] local.INFO: TCP Data received {"connection_id":160039,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:26:29] local.INFO: Processing buffer {"connection_id":160039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f41850012d1b5ac00724fe70002f00bb25..."} 
[2026-08-22 20:26:29] local.INFO: Packet analysis {"connection_id":160039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:26:29] local.INFO: Extracted packet for processing {"connection_id":160039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f4"} 
[2026-08-22 20:26:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":47,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457576948992001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:26:29] 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-22 20:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787410258000,"timestamp_ms":1787410258000,"timestamp_seconds":1787410258,"priority":1,"record_length":96,"hex_timestamp":"000001a029f41850"} 
[2026-08-22 20: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-22 20:26: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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:26:29] 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-22 20: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-22 20: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-22 20:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457576948992001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457576948992001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:26:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:26:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457576948992001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":160039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:26:29] local.INFO: GPS data processed {"connection_id":160039,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:26:29] local.INFO: Acknowledgment sent {"connection_id":160039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:26:29] local.INFO: TCP Data received {"connection_id":160038,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029f83ed0012d7b088005e34bf80006000a22..."} 
[2026-08-22 20:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f83ed0012d7b088005e34bf80006000a22..."} 
[2026-08-22 20:26:29] local.INFO: Processing buffer {"connection_id":160038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f83ed0012d7b088005e34bf80006000a22..."} 
[2026-08-22 20:26:29] local.INFO: Packet analysis {"connection_id":160038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:26:29] local.INFO: Extracted packet for processing {"connection_id":160038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:26:29] local.INFO: GPS Element Parsed {"raw_longitude":763037824,"raw_latitude":98782200,"longitude_deg":76.3037824,"latitude_deg":9.87822,"altitude":6,"angle":10,"satellites":34,"speed":16,"hex_longitude":"2d7b0880","hex_latitude":"05e34bf8","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577093888001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389110490690748416,"note":"Value kept but may cause issues"} 
[2026-08-22 20:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865476629254920192,"note":"Value kept but may cause issues"} 
[2026-08-22 20:26:29] 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-22 20:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787410530000,"timestamp_ms":1787410530000,"timestamp_seconds":1787410530,"priority":1,"record_length":96,"hex_timestamp":"000001a029f83ed0"} 
[2026-08-22 20: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-22 20:26: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-22 20: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":77,"data_length":795,"current_offset":136} 
[2026-08-22 20:26:29] 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-22 20: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-22 20: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-22 20:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:26:29] 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-22 20:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577093888001,"66":27213,"208":206,"85":15104,"24":16,"16":389110490690748416,"45":8865476629254920192},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 20:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577093888001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:26:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 20:26:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389110490690748416,"km_value":389110490690748.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865476629254920192,"description":"Unknown IO ID 45"} 
[2026-08-22 20:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577093888001,"power":27213,"unknown_208":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8865476629254920192}} 
[2026-08-22 20:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":160038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:26:29] local.INFO: GPS data processed {"connection_id":160038,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:26:29] local.INFO: Acknowledgment sent {"connection_id":160038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:26:48] local.INFO: TCP Data received {"connection_id":161210,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:26:48] local.INFO: Processing buffer {"connection_id":161210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:26:48] local.INFO: IMEI packet received {"connection_id":161210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":161210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:26:52] local.INFO: TCP Data received {"connection_id":160263,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:26:52] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:26:52] local.INFO: IMEI packet received {"connection_id":160263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":160263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:26:53] local.INFO: TCP Data received {"connection_id":161210,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:26:53] local.INFO: Processing buffer {"connection_id":161210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:26:53] local.INFO: IMEI packet received {"connection_id":161210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":161210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:26:57] local.INFO: TCP Data received {"connection_id":160263,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:26:57] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:26:57] local.INFO: IMEI packet received {"connection_id":160263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":160263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:26:58] local.INFO: TCP Data received {"connection_id":160263,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:26:58] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:26:58] local.INFO: Packet analysis {"connection_id":160263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:26:58] local.INFO: Extracted packet for processing {"connection_id":160263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:26:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":43,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577026048001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:26:58] 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-22 20:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787410559000,"timestamp_ms":1787410559000,"timestamp_seconds":1787410559,"priority":1,"record_length":96,"hex_timestamp":"000001a029f8b018"} 
[2026-08-22 20: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-22 20:26:58] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577026048001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577026048001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:26:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577026048001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":160263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:26:58] local.INFO: GPS data processed {"connection_id":160263,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:26:58] local.INFO: Acknowledgment sent {"connection_id":160263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:26:59] local.INFO: TCP Data received {"connection_id":161210,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029f84a88012d7b0a4005e350c00008001523..."} 
[2026-08-22 20:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f84a88012d7b0a4005e350c00008001523..."} 
[2026-08-22 20:26:59] local.INFO: Processing buffer {"connection_id":161210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f84a88012d7b0a4005e350c00008001523..."} 
[2026-08-22 20:26:59] local.INFO: Packet analysis {"connection_id":161210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:26:59] local.INFO: Extracted packet for processing {"connection_id":161210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763038272,"raw_latitude":98783424,"longitude_deg":76.3038272,"latitude_deg":9.8783424,"altitude":8,"angle":21,"satellites":35,"speed":19,"hex_longitude":"2d7b0a40","hex_latitude":"05e350c0","is_valid_coordinates":true} 
[2026-08-22 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-22 20:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577095680001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389110555115257856,"note":"Value kept but may cause issues"} 
[2026-08-22 20:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865476629255419904,"note":"Value kept but may cause issues"} 
[2026-08-22 20:26:59] 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-22 20:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787410533000,"timestamp_ms":1787410533000,"timestamp_seconds":1787410533,"priority":1,"record_length":96,"hex_timestamp":"000001a029f84a88"} 
[2026-08-22 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-22 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-22 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":77,"data_length":795,"current_offset":136} 
[2026-08-22 20:26: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-22 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-22 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-22 20:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:26: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-22 20:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577095680001,"66":27180,"208":206,"85":15104,"24":19,"16":389110555115257856,"45":8865476629255419904},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 20:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577095680001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:26:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 20:26:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389110555115257856,"km_value":389110555115257.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865476629255419904,"description":"Unknown IO ID 45"} 
[2026-08-22 20:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577095680001,"power":27180,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8865476629255419904}} 
[2026-08-22 20:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":161210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:26:59] local.INFO: GPS data processed {"connection_id":161210,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:26:59] local.INFO: Acknowledgment sent {"connection_id":161210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:27:29] local.INFO: TCP Data received {"connection_id":160263,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:27:29] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:27:29] local.INFO: Packet analysis {"connection_id":160263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:27:29] local.INFO: Extracted packet for processing {"connection_id":160263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:27:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":43,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577026048001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:27:29] 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-22 20:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787410559000,"timestamp_ms":1787410559000,"timestamp_seconds":1787410559,"priority":1,"record_length":96,"hex_timestamp":"000001a029f8b018"} 
[2026-08-22 20: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-22 20:27:29] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577026048001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577026048001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:27:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:27:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577026048001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":160263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:27:29] local.INFO: GPS data processed {"connection_id":160263,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:27:29] local.INFO: Acknowledgment sent {"connection_id":160263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:27:48] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:27:48] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:27:48] local.INFO: IMEI packet received {"connection_id":160040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":160040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:27:49] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:27:49] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:27:49] local.INFO: IMEI packet received {"connection_id":160040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":160040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:27:52] local.INFO: TCP Data received {"connection_id":161211,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:27:52] local.INFO: Processing buffer {"connection_id":161211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:27:52] local.INFO: IMEI packet received {"connection_id":161211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":161211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:27:53] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:27:53] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:27:53] local.INFO: IMEI packet received {"connection_id":160040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":160040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:27:57] local.INFO: TCP Data received {"connection_id":161211,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:27:57] local.INFO: Processing buffer {"connection_id":161211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:27:57] local.INFO: IMEI packet received {"connection_id":161211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":161211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:27:57] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029f865e0012d7b0d8005e35888000a002223..."} 
[2026-08-22 20:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f865e0012d7b0d8005e35888000a002223..."} 
[2026-08-22 20:27:57] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f865e0012d7b0d8005e35888000a002223..."} 
[2026-08-22 20:27:57] local.INFO: Packet analysis {"connection_id":160040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:27:57] local.INFO: Extracted packet for processing {"connection_id":160040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:27:57] local.INFO: GPS Element Parsed {"raw_longitude":763039104,"raw_latitude":98785416,"longitude_deg":76.3039104,"latitude_deg":9.8785416,"altitude":10,"angle":34,"satellites":35,"speed":9,"hex_longitude":"2d7b0d80","hex_latitude":"05e35888","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577096448001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389110658194472960,"note":"Value kept but may cause issues"} 
[2026-08-22 20:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865969210464976896,"note":"Value kept but may cause issues"} 
[2026-08-22 20:27:57] 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-22 20:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787410540000,"timestamp_ms":1787410540000,"timestamp_seconds":1787410540,"priority":1,"record_length":96,"hex_timestamp":"000001a029f865e0"} 
[2026-08-22 20: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-22 20: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-22 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-22 20:27:57] 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-22 20: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-22 20: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-22 20:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:27: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-22 20:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577096448001,"66":27213,"208":206,"85":15104,"24":9,"16":389110658194472960,"45":8865969210464976896},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 20:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577096448001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:27:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 20:27:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389110658194472960,"km_value":389110658194472.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865969210464976896,"description":"Unknown IO ID 45"} 
[2026-08-22 20:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577096448001,"power":27213,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8865969210464976896}} 
[2026-08-22 20:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":160040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:27:57] local.INFO: GPS data processed {"connection_id":160040,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:27:57] local.INFO: Acknowledgment sent {"connection_id":160040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:27:58] local.INFO: TCP Data received {"connection_id":161211,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:27:58] local.INFO: Processing buffer {"connection_id":161211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:27:58] local.INFO: Packet analysis {"connection_id":161211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:27:58] local.INFO: Extracted packet for processing {"connection_id":161211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:27:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":43,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577026048001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:27:58] 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-22 20:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787410559000,"timestamp_ms":1787410559000,"timestamp_seconds":1787410559,"priority":1,"record_length":96,"hex_timestamp":"000001a029f8b018"} 
[2026-08-22 20:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:27:58] 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-22 20:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577026048001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577026048001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:27:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:27:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577026048001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":161211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:27:58] local.INFO: GPS data processed {"connection_id":161211,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:27:58] local.INFO: Acknowledgment sent {"connection_id":161211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:28:29] local.INFO: TCP Data received {"connection_id":161211,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:28:29] local.INFO: Processing buffer {"connection_id":161211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:28:29] local.INFO: Packet analysis {"connection_id":161211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:28:29] local.INFO: Extracted packet for processing {"connection_id":161211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:28:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":43,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 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-22 20:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577026048001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:28:29] 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-22 20:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787410559000,"timestamp_ms":1787410559000,"timestamp_seconds":1787410559,"priority":1,"record_length":96,"hex_timestamp":"000001a029f8b018"} 
[2026-08-22 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-22 20:28:29] 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-22 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 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-22 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-22 20:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577026048001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577026048001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:28:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:28:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577026048001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":161211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:28:29] local.INFO: GPS data processed {"connection_id":161211,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:28:29] local.INFO: Acknowledgment sent {"connection_id":161211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:28:30] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029f8b7e8012d7b178005e36448001000222a..."} 
[2026-08-22 20:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f8b7e8012d7b178005e36448001000222a..."} 
[2026-08-22 20:28:30] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f8b7e8012d7b178005e36448001000222a..."} 
[2026-08-22 20:28:30] local.INFO: Packet analysis {"connection_id":160040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:28:30] local.INFO: Extracted packet for processing {"connection_id":160040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:28:30] local.INFO: GPS Element Parsed {"raw_longitude":763041664,"raw_latitude":98788424,"longitude_deg":76.3041664,"latitude_deg":9.8788424,"altitude":16,"angle":34,"satellites":42,"speed":12,"hex_longitude":"2d7b1780","hex_latitude":"05e36448","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577098240001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389110855762968576,"note":"Value kept but may cause issues"} 
[2026-08-22 20:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866884004139796480,"note":"Value kept but may cause issues"} 
[2026-08-22 20:28:30] 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-22 20:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787410561000,"timestamp_ms":1787410561000,"timestamp_seconds":1787410561,"priority":1,"record_length":96,"hex_timestamp":"000001a029f8b7e8"} 
[2026-08-22 20: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-22 20:28: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-22 20: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":77,"data_length":795,"current_offset":136} 
[2026-08-22 20:28: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-22 20: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-22 20: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-22 20:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:28: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-22 20:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577098240001,"66":27213,"208":206,"85":15104,"24":12,"16":389110855762968576,"45":8866884004139796480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-22 20:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577098240001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:28:30] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-22 20:28:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-22 20:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389110855762968576,"km_value":389110855762968.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866884004139796480,"description":"Unknown IO ID 45"} 
[2026-08-22 20:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577098240001,"power":27213,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8866884004139796480}} 
[2026-08-22 20:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":160040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:28:30] local.INFO: GPS data processed {"connection_id":160040,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:28:30] local.INFO: Acknowledgment sent {"connection_id":160040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:28:49] local.INFO: TCP Data received {"connection_id":161212,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:28:49] local.INFO: Processing buffer {"connection_id":161212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:28:49] local.INFO: IMEI packet received {"connection_id":161212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":161212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:28:50] local.INFO: TCP Data received {"connection_id":161212,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:28:50] local.INFO: Processing buffer {"connection_id":161212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:28:50] local.INFO: IMEI packet received {"connection_id":161212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":161212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:28:53] local.INFO: TCP Data received {"connection_id":161212,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:28:53] local.INFO: Processing buffer {"connection_id":161212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:28:53] local.INFO: IMEI packet received {"connection_id":161212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":161212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:28:55] local.INFO: TCP Data received {"connection_id":161212,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029fa4e28012d7bd80005e47ea0000f00202d..."} 
[2026-08-22 20:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fa4e28012d7bd80005e47ea0000f00202d..."} 
[2026-08-22 20:28:55] local.INFO: Processing buffer {"connection_id":161212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fa4e28012d7bd80005e47ea0000f00202d..."} 
[2026-08-22 20:28:55] local.INFO: Packet analysis {"connection_id":161212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fa"} 
[2026-08-22 20:28:55] local.INFO: Extracted packet for processing {"connection_id":161212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fa"} 
[2026-08-22 20:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763090944,"raw_latitude":98860704,"longitude_deg":76.3090944,"latitude_deg":9.8860704,"altitude":15,"angle":32,"satellites":45,"speed":46,"hex_longitude":"2d7bd800","hex_latitude":"05e47ea0","is_valid_coordinates":true} 
[2026-08-22 20:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577128192001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389115086305755136,"note":"Value kept but may cause issues"} 
[2026-08-22 20:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918182818662559744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:28:55] 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-22 20:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787410665000,"timestamp_ms":1787410665000,"timestamp_seconds":1787410665,"priority":1,"record_length":96,"hex_timestamp":"000001a029fa4e28"} 
[2026-08-22 20:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:28:55] 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-22 20:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 20:28: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-22 20:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:28: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-22 20:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577128192001,"66":27245,"39":206,"87":13824,"24":46,"16":389115086305755136,"45":8918182818662559744},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-22 20:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577128192001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:28:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-22 20:28:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389115086305755136,"km_value":389115086305755.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918182818662559744,"description":"Unknown IO ID 45"} 
[2026-08-22 20:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577128192001,"power":27245,"unknown_39":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8918182818662559744}} 
[2026-08-22 20:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":161212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:28:55] local.INFO: GPS data processed {"connection_id":161212,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:28:55] local.INFO: Acknowledgment sent {"connection_id":161212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:28:57] local.INFO: TCP Data received {"connection_id":161213,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:28:57] local.INFO: Processing buffer {"connection_id":161213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:28:57] local.INFO: IMEI packet received {"connection_id":161213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":161213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:29:02] local.INFO: TCP Data received {"connection_id":161213,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:29:02] local.INFO: Processing buffer {"connection_id":161213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:29:02] local.INFO: IMEI packet received {"connection_id":161213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":161213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:29:03] local.INFO: TCP Data received {"connection_id":161213,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:29:03] local.INFO: Processing buffer {"connection_id":161213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:29:03] local.INFO: Packet analysis {"connection_id":161213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:29:03] local.INFO: Extracted packet for processing {"connection_id":161213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":43,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577026048001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:29:03] 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-22 20:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787410559000,"timestamp_ms":1787410559000,"timestamp_seconds":1787410559,"priority":1,"record_length":96,"hex_timestamp":"000001a029f8b018"} 
[2026-08-22 20:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:29:03] 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-22 20:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577026048001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577026048001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:29:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577026048001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":161213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:29:03] local.INFO: GPS data processed {"connection_id":161213,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:29:03] local.INFO: Acknowledgment sent {"connection_id":161213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:29:07] local.INFO: TCP Data received {"connection_id":161213,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:29:07] local.INFO: Processing buffer {"connection_id":161213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:29:07] local.INFO: Packet analysis {"connection_id":161213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:29:07] local.INFO: Extracted packet for processing {"connection_id":161213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":43,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577026048001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:29:07] 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-22 20:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787410559000,"timestamp_ms":1787410559000,"timestamp_seconds":1787410559,"priority":1,"record_length":96,"hex_timestamp":"000001a029f8b018"} 
[2026-08-22 20:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:29:07] 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-22 20:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577026048001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577026048001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:29:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577026048001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":161213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:29:07] local.INFO: GPS data processed {"connection_id":161213,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:29:07] local.INFO: Acknowledgment sent {"connection_id":161213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:29:28] local.INFO: TCP Data received {"connection_id":161212,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029fa6d68012d7bec8005e49d90000d00212d..."} 
[2026-08-22 20:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fa6d68012d7bec8005e49d90000d00212d..."} 
[2026-08-22 20:29:28] local.INFO: Processing buffer {"connection_id":161212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fa6d68012d7bec8005e49d90000d00212d..."} 
[2026-08-22 20:29:28] local.INFO: Packet analysis {"connection_id":161212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fa"} 
[2026-08-22 20:29:28] local.INFO: Extracted packet for processing {"connection_id":161212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fa"} 
[2026-08-22 20:29:28] local.INFO: GPS Element Parsed {"raw_longitude":763096192,"raw_latitude":98868624,"longitude_deg":76.3096192,"latitude_deg":9.8868624,"altitude":13,"angle":33,"satellites":45,"speed":47,"hex_longitude":"2d7bec80","hex_latitude":"05e49d90","is_valid_coordinates":true} 
[2026-08-22 20:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577130240001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389115545867255808,"note":"Value kept but may cause issues"} 
[2026-08-22 20:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923882686942978048,"note":"Value kept but may cause issues"} 
[2026-08-22 20:29:28] 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-22 20:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787410673000,"timestamp_ms":1787410673000,"timestamp_seconds":1787410673,"priority":1,"record_length":96,"hex_timestamp":"000001a029fa6d68"} 
[2026-08-22 20:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:29:28] 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-22 20:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 20:29: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-22 20:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:29: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-22 20:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577130240001,"66":27245,"39":206,"87":13824,"24":47,"16":389115545867255808,"45":8923882686942978048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-22 20:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577130240001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:29:28] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-22 20:29:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389115545867255808,"km_value":389115545867255.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923882686942978048,"description":"Unknown IO ID 45"} 
[2026-08-22 20:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577130240001,"power":27245,"unknown_39":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":8923882686942978048}} 
[2026-08-22 20:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":161212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:29:28] local.INFO: GPS data processed {"connection_id":161212,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:29:28] local.INFO: Acknowledgment sent {"connection_id":161212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:29:48] local.INFO: TCP Data received {"connection_id":160264,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:29:48] local.INFO: Processing buffer {"connection_id":160264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:29:48] local.INFO: IMEI packet received {"connection_id":160264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":160264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:29:52] local.INFO: TCP Data received {"connection_id":160041,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:29:52] local.INFO: Processing buffer {"connection_id":160041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:29:52] local.INFO: IMEI packet received {"connection_id":160041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":160041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:29:53] local.INFO: TCP Data received {"connection_id":160264,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:29:53] local.INFO: Processing buffer {"connection_id":160264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:29:53] local.INFO: IMEI packet received {"connection_id":160264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":160264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:29:54] local.INFO: TCP Data received {"connection_id":160264,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029fa8ca8012d7c014005e4bd70000c00202e..."} 
[2026-08-22 20:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fa8ca8012d7c014005e4bd70000c00202e..."} 
[2026-08-22 20:29:54] local.INFO: Processing buffer {"connection_id":160264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fa8ca8012d7c014005e4bd70000c00202e..."} 
[2026-08-22 20:29:54] local.INFO: Packet analysis {"connection_id":160264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fa"} 
[2026-08-22 20:29:54] local.INFO: Extracted packet for processing {"connection_id":160264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fa"} 
[2026-08-22 20:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763101504,"raw_latitude":98876784,"longitude_deg":76.3101504,"latitude_deg":9.8876784,"altitude":12,"angle":32,"satellites":46,"speed":49,"hex_longitude":"2d7c0140","hex_latitude":"05e4bd70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577132288001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389116014018691072,"note":"Value kept but may cause issues"} 
[2026-08-22 20:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929652923967574016,"note":"Value kept but may cause issues"} 
[2026-08-22 20:29:54] 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-22 20:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787410681000,"timestamp_ms":1787410681000,"timestamp_seconds":1787410681,"priority":1,"record_length":96,"hex_timestamp":"000001a029fa8ca8"} 
[2026-08-22 20: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-22 20:29: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-22 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 20:29:54] 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-22 20: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-22 20: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-22 20:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:29:54] 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-22 20:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577132288001,"66":27321,"39":206,"87":13824,"24":49,"16":389116014018691072,"45":8929652923967574016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-22 20:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577132288001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:29:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-22 20:29:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389116014018691072,"km_value":389116014018691.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929652923967574016,"description":"Unknown IO ID 45"} 
[2026-08-22 20:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577132288001,"power":27321,"unknown_39":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":8929652923967574016}} 
[2026-08-22 20:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":160264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:29:54] local.INFO: GPS data processed {"connection_id":160264,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:29:54] local.INFO: Acknowledgment sent {"connection_id":160264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:29:57] local.INFO: TCP Data received {"connection_id":160041,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:29:57] local.INFO: Processing buffer {"connection_id":160041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:29:57] local.INFO: IMEI packet received {"connection_id":160041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":160041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:29:58] local.INFO: TCP Data received {"connection_id":160041,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:29:58] local.INFO: Processing buffer {"connection_id":160041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:29:58] local.INFO: Packet analysis {"connection_id":160041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:29:58] local.INFO: Extracted packet for processing {"connection_id":160041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":43,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577026048001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:29:58] 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-22 20:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787410559000,"timestamp_ms":1787410559000,"timestamp_seconds":1787410559,"priority":1,"record_length":96,"hex_timestamp":"000001a029f8b018"} 
[2026-08-22 20: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-22 20:29:58] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577026048001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577026048001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:29:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577026048001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":160041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:29:58] local.INFO: GPS data processed {"connection_id":160041,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:29:58] local.INFO: Acknowledgment sent {"connection_id":160041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:30:25] local.INFO: TCP Data received {"connection_id":160264,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029faafd0012d7c148005e4dab8000b00222e..."} 
[2026-08-22 20:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029faafd0012d7c148005e4dab8000b00222e..."} 
[2026-08-22 20:30:25] local.INFO: Processing buffer {"connection_id":160264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029faafd0012d7c148005e4dab8000b00222e..."} 
[2026-08-22 20:30:25] local.INFO: Packet analysis {"connection_id":160264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fa"} 
[2026-08-22 20:30:25] local.INFO: Extracted packet for processing {"connection_id":160264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fa"} 
[2026-08-22 20:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763106432,"raw_latitude":98884280,"longitude_deg":76.3106432,"latitude_deg":9.888428,"altitude":11,"angle":34,"satellites":46,"speed":24,"hex_longitude":"2d7c1480","hex_latitude":"05e4dab8","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577134336001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389116447810387968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935493529736409088,"note":"Value kept but may cause issues"} 
[2026-08-22 20:30:25] 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-22 20:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787410690000,"timestamp_ms":1787410690000,"timestamp_seconds":1787410690,"priority":1,"record_length":96,"hex_timestamp":"000001a029faafd0"} 
[2026-08-22 20: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-22 20: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-22 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 20:30: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-22 20: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-22 20: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-22 20:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20: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-22 20:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577134336001,"66":27267,"39":206,"87":13824,"24":24,"16":389116447810387968,"45":8935493529736409088},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-22 20:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577134336001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:30:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-22 20:30:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389116447810387968,"km_value":389116447810387.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935493529736409088,"description":"Unknown IO ID 45"} 
[2026-08-22 20:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577134336001,"power":27267,"unknown_39":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8935493529736409088}} 
[2026-08-22 20:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":160264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:30:26] local.INFO: GPS data processed {"connection_id":160264,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:30:26] local.INFO: Acknowledgment sent {"connection_id":160264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:30:29] local.INFO: TCP Data received {"connection_id":160041,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:30:29] local.INFO: Processing buffer {"connection_id":160041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:30:29] local.INFO: Packet analysis {"connection_id":160041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:30:29] local.INFO: Extracted packet for processing {"connection_id":160041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:30:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":43,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577026048001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:30:29] 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-22 20:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787410559000,"timestamp_ms":1787410559000,"timestamp_seconds":1787410559,"priority":1,"record_length":96,"hex_timestamp":"000001a029f8b018"} 
[2026-08-22 20:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:30:29] 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-22 20:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577026048001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577026048001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:30:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:30:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577026048001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":160041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:30:29] local.INFO: GPS data processed {"connection_id":160041,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:30:29] local.INFO: Acknowledgment sent {"connection_id":160041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:30:48] local.INFO: TCP Data received {"connection_id":160042,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:30:48] local.INFO: Processing buffer {"connection_id":160042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:30:48] local.INFO: IMEI packet received {"connection_id":160042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":160042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:30:52] local.INFO: TCP Data received {"connection_id":160265,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:30:52] local.INFO: Processing buffer {"connection_id":160265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:30:52] local.INFO: IMEI packet received {"connection_id":160265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":160265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:30:53] local.INFO: TCP Data received {"connection_id":160042,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:30:53] local.INFO: Processing buffer {"connection_id":160042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:30:53] local.INFO: IMEI packet received {"connection_id":160042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":160042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:30:54] local.INFO: TCP Data received {"connection_id":160042,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029fadeb0012d7c29c005e4faf0000a001f2d..."} 
[2026-08-22 20:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fadeb0012d7c29c005e4faf0000a001f2d..."} 
[2026-08-22 20:30:54] local.INFO: Processing buffer {"connection_id":160042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fadeb0012d7c29c005e4faf0000a001f2d..."} 
[2026-08-22 20:30:54] local.INFO: Packet analysis {"connection_id":160042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fa"} 
[2026-08-22 20:30:54] local.INFO: Extracted packet for processing {"connection_id":160042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fa"} 
[2026-08-22 20:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763111872,"raw_latitude":98892528,"longitude_deg":76.3111872,"latitude_deg":9.8892528,"altitude":10,"angle":31,"satellites":45,"speed":40,"hex_longitude":"2d7c29c0","hex_latitude":"05e4faf0","is_valid_coordinates":true} 
[2026-08-22 20:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577136640001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389116924551757824,"note":"Value kept but may cause issues"} 
[2026-08-22 20:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940911923040008192,"note":"Value kept but may cause issues"} 
[2026-08-22 20:30:54] 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-22 20:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787410702000,"timestamp_ms":1787410702000,"timestamp_seconds":1787410702,"priority":1,"record_length":96,"hex_timestamp":"000001a029fadeb0"} 
[2026-08-22 20:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:30: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-22 20:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 20:30: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-22 20:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:30:54] 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-22 20:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577136640001,"66":27267,"39":206,"87":13824,"24":40,"16":389116924551757824,"45":8940911923040008192},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-22 20:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577136640001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:30:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-22 20:30:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389116924551757824,"km_value":389116924551757.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940911923040008192,"description":"Unknown IO ID 45"} 
[2026-08-22 20:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577136640001,"power":27267,"unknown_39":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8940911923040008192}} 
[2026-08-22 20:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":160042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:30:54] local.INFO: GPS data processed {"connection_id":160042,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:30:54] local.INFO: Acknowledgment sent {"connection_id":160042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:30:57] local.INFO: TCP Data received {"connection_id":160265,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:30:57] local.INFO: Processing buffer {"connection_id":160265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:30:57] local.INFO: IMEI packet received {"connection_id":160265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":160265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:30:58] local.INFO: TCP Data received {"connection_id":160265,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:30:58] local.INFO: Processing buffer {"connection_id":160265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:30:58] local.INFO: Packet analysis {"connection_id":160265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:30:58] local.INFO: Extracted packet for processing {"connection_id":160265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:30:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":43,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577026048001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:30:58] 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-22 20:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787410559000,"timestamp_ms":1787410559000,"timestamp_seconds":1787410559,"priority":1,"record_length":96,"hex_timestamp":"000001a029f8b018"} 
[2026-08-22 20:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:30:58] 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-22 20:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577026048001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577026048001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:30:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:30:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577026048001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":160265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:30:58] local.INFO: GPS data processed {"connection_id":160265,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:30:58] local.INFO: Acknowledgment sent {"connection_id":160265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:31:25] local.INFO: TCP Data received {"connection_id":160042,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029fb05c0012d7c3d4005e51b300008001e2e..."} 
[2026-08-22 20:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fb05c0012d7c3d4005e51b300008001e2e..."} 
[2026-08-22 20:31:25] local.INFO: Processing buffer {"connection_id":160042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fb05c0012d7c3d4005e51b300008001e2e..."} 
[2026-08-22 20:31:25] local.INFO: Packet analysis {"connection_id":160042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fb"} 
[2026-08-22 20:31:25] local.INFO: Extracted packet for processing {"connection_id":160042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fb"} 
[2026-08-22 20:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763116864,"raw_latitude":98900784,"longitude_deg":76.3116864,"latitude_deg":9.8900784,"altitude":8,"angle":30,"satellites":46,"speed":34,"hex_longitude":"2d7c3d40","hex_latitude":"05e51b30","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577139712001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389117392703193088,"note":"Value kept but may cause issues"} 
[2026-08-22 20:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946893266297221120,"note":"Value kept but may cause issues"} 
[2026-08-22 20:31:25] 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-22 20:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787410712000,"timestamp_ms":1787410712000,"timestamp_seconds":1787410712,"priority":1,"record_length":96,"hex_timestamp":"000001a029fb05c0"} 
[2026-08-22 20: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-22 20:31: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-22 20: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":131,"data_length":795,"current_offset":136} 
[2026-08-22 20:31:25] 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-22 20: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-22 20: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-22 20:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:31: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-22 20:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577139712001,"66":27289,"39":206,"87":13824,"24":34,"16":389117392703193088,"45":8946893266297221120},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-22 20:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577139712001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:31:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-22 20:31:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389117392703193088,"km_value":389117392703193.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946893266297221120,"description":"Unknown IO ID 45"} 
[2026-08-22 20:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577139712001,"power":27289,"unknown_39":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8946893266297221120}} 
[2026-08-22 20:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":160042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:31:25] local.INFO: GPS data processed {"connection_id":160042,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:31:25] local.INFO: Acknowledgment sent {"connection_id":160042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:31:29] local.INFO: TCP Data received {"connection_id":160265,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:31:29] local.INFO: Processing buffer {"connection_id":160265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029f8b018012d1b5ac00724fe70002900bb2b..."} 
[2026-08-22 20:31:29] local.INFO: Packet analysis {"connection_id":160265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:31:29] local.INFO: Extracted packet for processing {"connection_id":160265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029f8"} 
[2026-08-22 20:31:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":43,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 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-22 20:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577026048001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:31:29] 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-22 20:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787410559000,"timestamp_ms":1787410559000,"timestamp_seconds":1787410559,"priority":1,"record_length":96,"hex_timestamp":"000001a029f8b018"} 
[2026-08-22 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-22 20:31:29] 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-22 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 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-22 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-22 20:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577026048001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577026048001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:31:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:31:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577026048001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":160265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:31:29] local.INFO: GPS data processed {"connection_id":160265,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:31:29] local.INFO: Acknowledgment sent {"connection_id":160265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:31:50] local.INFO: TCP Data received {"connection_id":160266,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:31:50] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:31:50] local.INFO: IMEI packet received {"connection_id":160266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":160266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:31:52] local.INFO: TCP Data received {"connection_id":160267,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:31:52] local.INFO: Processing buffer {"connection_id":160267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:31:52] local.INFO: IMEI packet received {"connection_id":160267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":160267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:31:53] local.INFO: TCP Data received {"connection_id":160266,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:31:53] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:31:53] local.INFO: IMEI packet received {"connection_id":160266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":160266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:31:57] local.INFO: TCP Data received {"connection_id":160267,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:31:57] local.INFO: Processing buffer {"connection_id":160267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:31:57] local.INFO: IMEI packet received {"connection_id":160267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":160267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:31:57] local.INFO: TCP Data received {"connection_id":160267,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:31:57] local.INFO: Processing buffer {"connection_id":160267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:31:57] local.INFO: Packet analysis {"connection_id":160267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:31:57] local.INFO: Extracted packet for processing {"connection_id":160267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:31:57] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577103104001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:31:57] 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-22 20:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787410860000,"timestamp_ms":1787410860000,"timestamp_seconds":1787410860,"priority":1,"record_length":96,"hex_timestamp":"000001a029fd47e0"} 
[2026-08-22 20: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-22 20:31:57] 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-22 20:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577103104001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577103104001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:31:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:31:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577103104001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":160267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:31:57] local.INFO: GPS data processed {"connection_id":160267,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:31:57] local.INFO: Acknowledgment sent {"connection_id":160267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:31:58] local.INFO: TCP Data received {"connection_id":160266,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:31:58] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:31:58] local.INFO: IMEI packet received {"connection_id":160266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":160266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:31:59] local.INFO: TCP Data received {"connection_id":160266,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029fb2cd0012d7c508005e53c200006001b2d..."} 
[2026-08-22 20:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fb2cd0012d7c508005e53c200006001b2d..."} 
[2026-08-22 20:31:59] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fb2cd0012d7c508005e53c200006001b2d..."} 
[2026-08-22 20:31:59] local.INFO: Packet analysis {"connection_id":160266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fb"} 
[2026-08-22 20:31:59] local.INFO: Extracted packet for processing {"connection_id":160266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fb"} 
[2026-08-22 20:31:59] local.INFO: GPS Element Parsed {"raw_longitude":763121792,"raw_latitude":98909216,"longitude_deg":76.3121792,"latitude_deg":9.8909216,"altitude":6,"angle":27,"satellites":45,"speed":42,"hex_longitude":"2d7c5080","hex_latitude":"05e53c20","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577142272001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389117865149595648,"note":"Value kept but may cause issues"} 
[2026-08-22 20:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952382028345192448,"note":"Value kept but may cause issues"} 
[2026-08-22 20:31:59] 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-22 20:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787410722000,"timestamp_ms":1787410722000,"timestamp_seconds":1787410722,"priority":1,"record_length":96,"hex_timestamp":"000001a029fb2cd0"} 
[2026-08-22 20: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-22 20:31: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-22 20: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":153,"data_length":795,"current_offset":136} 
[2026-08-22 20:31: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-22 20: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-22 20: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-22 20:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:31: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-22 20:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577142272001,"66":27300,"39":206,"87":13824,"24":42,"16":389117865149595648,"45":8952382028345192448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-22 20:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577142272001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:31:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-22 20:31:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389117865149595648,"km_value":389117865149595.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952382028345192448,"description":"Unknown IO ID 45"} 
[2026-08-22 20:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577142272001,"power":27300,"unknown_39":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8952382028345192448}} 
[2026-08-22 20:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":160266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:31:59] local.INFO: GPS data processed {"connection_id":160266,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:31:59] local.INFO: Acknowledgment sent {"connection_id":160266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:32:03] local.INFO: TCP Data received {"connection_id":160266,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029fb4c10012d7c5f8005e55c80000800162e..."} 
[2026-08-22 20:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fb4c10012d7c5f8005e55c80000800162e..."} 
[2026-08-22 20:32:03] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fb4c10012d7c5f8005e55c80000800162e..."} 
[2026-08-22 20:32:03] local.INFO: Packet analysis {"connection_id":160266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fb"} 
[2026-08-22 20:32:03] local.INFO: Extracted packet for processing {"connection_id":160266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fb"} 
[2026-08-22 20:32:03] local.INFO: GPS Element Parsed {"raw_longitude":763125632,"raw_latitude":98917504,"longitude_deg":76.3125632,"latitude_deg":9.8917504,"altitude":8,"angle":22,"satellites":46,"speed":47,"hex_longitude":"2d7c5f80","hex_latitude":"05e55c80","is_valid_coordinates":true} 
[2026-08-22 20:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577144832001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389118303236259840,"note":"Value kept but may cause issues"} 
[2026-08-22 20:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957800421649031168,"note":"Value kept but may cause issues"} 
[2026-08-22 20:32:03] 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-22 20:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787410730000,"timestamp_ms":1787410730000,"timestamp_seconds":1787410730,"priority":1,"record_length":96,"hex_timestamp":"000001a029fb4c10"} 
[2026-08-22 20:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:32: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-22 20:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 20:32:03] 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-22 20:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:32:03] 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-22 20:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577144832001,"66":26691,"39":206,"87":13824,"24":47,"16":389118303236259840,"45":8957800421649031168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-22 20:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577144832001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:32:03] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-22 20:32:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389118303236259840,"km_value":389118303236259.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957800421649031168,"description":"Unknown IO ID 45"} 
[2026-08-22 20:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577144832001,"power":26691,"unknown_39":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":8957800421649031168}} 
[2026-08-22 20:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":160266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:32:03] local.INFO: GPS data processed {"connection_id":160266,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:32:03] local.INFO: Acknowledgment sent {"connection_id":160266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:32:28] local.INFO: TCP Data received {"connection_id":160267,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:32:28] local.INFO: Processing buffer {"connection_id":160267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:32:28] local.INFO: Packet analysis {"connection_id":160267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:32:28] local.INFO: Extracted packet for processing {"connection_id":160267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577103104001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:32:28] 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-22 20:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787410860000,"timestamp_ms":1787410860000,"timestamp_seconds":1787410860,"priority":1,"record_length":96,"hex_timestamp":"000001a029fd47e0"} 
[2026-08-22 20: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-22 20:32:28] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577103104001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577103104001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:32:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577103104001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":160267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:32:28] local.INFO: GPS data processed {"connection_id":160267,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:32:28] local.INFO: Acknowledgment sent {"connection_id":160267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:32:48] local.INFO: TCP Data received {"connection_id":162635,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:32:48] local.INFO: Processing buffer {"connection_id":162635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:32:48] local.INFO: IMEI packet received {"connection_id":162635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":162635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:32:52] local.INFO: TCP Data received {"connection_id":162636,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:32:52] local.INFO: Processing buffer {"connection_id":162636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:32:52] local.INFO: IMEI packet received {"connection_id":162636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":162636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:32:53] local.INFO: TCP Data received {"connection_id":162635,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:32:53] local.INFO: Processing buffer {"connection_id":162635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:32:53] local.INFO: IMEI packet received {"connection_id":162635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":162635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:32:54] local.INFO: TCP Data received {"connection_id":162635,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029fb6b50012d7c6c4005e57db8000700122c..."} 
[2026-08-22 20:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fb6b50012d7c6c4005e57db8000700122c..."} 
[2026-08-22 20:32:54] local.INFO: Processing buffer {"connection_id":162635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fb6b50012d7c6c4005e57db8000700122c..."} 
[2026-08-22 20:32:54] local.INFO: Packet analysis {"connection_id":162635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fb"} 
[2026-08-22 20:32:54] local.INFO: Extracted packet for processing {"connection_id":162635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fb"} 
[2026-08-22 20:32:54] local.INFO: GPS Element Parsed {"raw_longitude":763128896,"raw_latitude":98926008,"longitude_deg":76.3128896,"latitude_deg":9.8926008,"altitude":7,"angle":18,"satellites":44,"speed":39,"hex_longitude":"2d7c6c40","hex_latitude":"05e57db8","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577146880001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389118745617891328,"note":"Value kept but may cause issues"} 
[2026-08-22 20:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962022546301812736,"note":"Value kept but may cause issues"} 
[2026-08-22 20:32:54] 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-22 20:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787410738000,"timestamp_ms":1787410738000,"timestamp_seconds":1787410738,"priority":1,"record_length":96,"hex_timestamp":"000001a029fb6b50"} 
[2026-08-22 20: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-22 20:32: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-22 20: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-08-22 20:32:54] 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-22 20: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-22 20: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-22 20:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:32:54] 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-22 20:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577146880001,"66":27158,"38":206,"87":13824,"24":39,"16":389118745617891328,"45":8962022546301812736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-22 20:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577146880001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:32:54] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-22 20:32:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389118745617891328,"km_value":389118745617891.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962022546301812736,"description":"Unknown IO ID 45"} 
[2026-08-22 20:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577146880001,"power":27158,"unknown_38":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8962022546301812736}} 
[2026-08-22 20:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":162635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:32:54] local.INFO: GPS data processed {"connection_id":162635,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:32:54] local.INFO: Acknowledgment sent {"connection_id":162635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:32:57] local.INFO: TCP Data received {"connection_id":162636,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:32:57] local.INFO: Processing buffer {"connection_id":162636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:32:57] local.INFO: IMEI packet received {"connection_id":162636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":162636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:32:58] local.INFO: TCP Data received {"connection_id":162636,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:32:58] local.INFO: Processing buffer {"connection_id":162636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:32:58] local.INFO: Packet analysis {"connection_id":162636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:32:58] local.INFO: Extracted packet for processing {"connection_id":162636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:32:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577103104001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:32:58] 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-22 20:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787410860000,"timestamp_ms":1787410860000,"timestamp_seconds":1787410860,"priority":1,"record_length":96,"hex_timestamp":"000001a029fd47e0"} 
[2026-08-22 20: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-22 20:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577103104001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577103104001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:32:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:32:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577103104001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":162636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:32:58] local.INFO: GPS data processed {"connection_id":162636,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:32:58] local.INFO: Acknowledgment sent {"connection_id":162636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:33:25] local.INFO: TCP Data received {"connection_id":162635,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029fb9260012d7c75c005e5a0200007000b2c..."} 
[2026-08-22 20:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fb9260012d7c75c005e5a0200007000b2c..."} 
[2026-08-22 20:33:25] local.INFO: Processing buffer {"connection_id":162635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fb9260012d7c75c005e5a0200007000b2c..."} 
[2026-08-22 20:33:25] local.INFO: Packet analysis {"connection_id":162635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fb"} 
[2026-08-22 20:33:25] local.INFO: Extracted packet for processing {"connection_id":162635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fb"} 
[2026-08-22 20:33:25] local.INFO: GPS Element Parsed {"raw_longitude":763131328,"raw_latitude":98934816,"longitude_deg":76.3131328,"latitude_deg":9.8934816,"altitude":7,"angle":11,"satellites":44,"speed":31,"hex_longitude":"2d7c75c0","hex_latitude":"05e5a020","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577148928001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389119187999522816,"note":"Value kept but may cause issues"} 
[2026-08-22 20:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965611352257050624,"note":"Value kept but may cause issues"} 
[2026-08-22 20:33: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-22 20:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787410748000,"timestamp_ms":1787410748000,"timestamp_seconds":1787410748,"priority":1,"record_length":96,"hex_timestamp":"000001a029fb9260"} 
[2026-08-22 20: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-22 20:33: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-22 20: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":22,"data_length":795,"current_offset":136} 
[2026-08-22 20:33: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-22 20: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-22 20: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-22 20:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:33: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-22 20:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577148928001,"66":27463,"38":206,"87":13824,"24":31,"16":389119187999522816,"45":8965611352257050624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-22 20:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577148928001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:33:25] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-22 20:33:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389119187999522816,"km_value":389119187999522.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965611352257050624,"description":"Unknown IO ID 45"} 
[2026-08-22 20:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577148928001,"power":27463,"unknown_38":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8965611352257050624}} 
[2026-08-22 20:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":162635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:33:25] local.INFO: GPS data processed {"connection_id":162635,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:33:25] local.INFO: Acknowledgment sent {"connection_id":162635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:33:29] local.INFO: TCP Data received {"connection_id":162636,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:33:29] local.INFO: Processing buffer {"connection_id":162636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:33:29] local.INFO: Packet analysis {"connection_id":162636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:33:29] local.INFO: Extracted packet for processing {"connection_id":162636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:33:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:33: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-22 20:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577103104001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:33:29] 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-22 20:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787410860000,"timestamp_ms":1787410860000,"timestamp_seconds":1787410860,"priority":1,"record_length":96,"hex_timestamp":"000001a029fd47e0"} 
[2026-08-22 20:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:33:29] 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-22 20:33: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20:33: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-22 20:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577103104001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577103104001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:33:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:33:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577103104001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":162636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:33:29] local.INFO: GPS data processed {"connection_id":162636,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:33:29] local.INFO: Acknowledgment sent {"connection_id":162636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:33:50] local.INFO: TCP Data received {"connection_id":160043,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:33:50] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:33:50] local.INFO: IMEI packet received {"connection_id":160043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":160043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:33:52] local.INFO: TCP Data received {"connection_id":160268,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:33:52] local.INFO: Processing buffer {"connection_id":160268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:33:52] local.INFO: IMEI packet received {"connection_id":160268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":160268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:33:57] local.INFO: TCP Data received {"connection_id":160043,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:33:57] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:33:57] local.INFO: IMEI packet received {"connection_id":160043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":160043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:33:57] local.INFO: TCP Data received {"connection_id":160268,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:33:57] local.INFO: Processing buffer {"connection_id":160268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:33:57] local.INFO: IMEI packet received {"connection_id":160268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":160268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:33:58] local.INFO: TCP Data received {"connection_id":160268,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:33:58] local.INFO: Processing buffer {"connection_id":160268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:33:58] local.INFO: Packet analysis {"connection_id":160268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:33:58] local.INFO: Extracted packet for processing {"connection_id":160268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:33:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577103104001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:33:58] 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-22 20:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787410860000,"timestamp_ms":1787410860000,"timestamp_seconds":1787410860,"priority":1,"record_length":96,"hex_timestamp":"000001a029fd47e0"} 
[2026-08-22 20: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-22 20:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577103104001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577103104001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:33:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:33:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577103104001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":160268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:33:58] local.INFO: GPS data processed {"connection_id":160268,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:33:58] local.INFO: Acknowledgment sent {"connection_id":160268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:33:58] local.INFO: TCP Data received {"connection_id":160043,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029fbdc98012d7c7bc005e5c250000500002e..."} 
[2026-08-22 20:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fbdc98012d7c7bc005e5c250000500002e..."} 
[2026-08-22 20:33:58] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fbdc98012d7c7bc005e5c250000500002e..."} 
[2026-08-22 20:33:58] local.INFO: Packet analysis {"connection_id":160043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fb"} 
[2026-08-22 20:33:58] local.INFO: Extracted packet for processing {"connection_id":160043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fb"} 
[2026-08-22 20:33:58] local.INFO: GPS Element Parsed {"raw_longitude":763132864,"raw_latitude":98943568,"longitude_deg":76.3132864,"latitude_deg":9.8943568,"altitude":5,"angle":0,"satellites":46,"speed":12,"hex_longitude":"2d7c7bc0","hex_latitude":"05e5c250","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577151488001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389119621791219712,"note":"Value kept but may cause issues"} 
[2026-08-22 20:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968285364538056704,"note":"Value kept but may cause issues"} 
[2026-08-22 20:33:58] 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-22 20:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787410767000,"timestamp_ms":1787410767000,"timestamp_seconds":1787410767,"priority":1,"record_length":96,"hex_timestamp":"000001a029fbdc98"} 
[2026-08-22 20: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-22 20:33: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-22 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 20:33: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-22 20: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-22 20: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-22 20:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:33:58] 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-22 20:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577151488001,"66":27213,"38":206,"87":13824,"24":12,"16":389119621791219712,"45":8968285364538056704},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-22 20:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577151488001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:33:58] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-22 20:33:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389119621791219712,"km_value":389119621791219.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968285364538056704,"description":"Unknown IO ID 45"} 
[2026-08-22 20:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577151488001,"power":27213,"unknown_38":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8968285364538056704}} 
[2026-08-22 20:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":160043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:33:58] local.INFO: GPS data processed {"connection_id":160043,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:33:58] local.INFO: Acknowledgment sent {"connection_id":160043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:33:59] local.INFO: TCP Data received {"connection_id":160043,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029fbdc98012d7c7bc005e5c250000500002e..."} 
[2026-08-22 20:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fbdc98012d7c7bc005e5c250000500002e..."} 
[2026-08-22 20:33:59] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fbdc98012d7c7bc005e5c250000500002e..."} 
[2026-08-22 20:33:59] local.INFO: Packet analysis {"connection_id":160043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fb"} 
[2026-08-22 20:33:59] local.INFO: Extracted packet for processing {"connection_id":160043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fb"} 
[2026-08-22 20:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763132864,"raw_latitude":98943568,"longitude_deg":76.3132864,"latitude_deg":9.8943568,"altitude":5,"angle":0,"satellites":46,"speed":12,"hex_longitude":"2d7c7bc0","hex_latitude":"05e5c250","is_valid_coordinates":true} 
[2026-08-22 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-22 20:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577156352001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389119621791219712,"note":"Value kept but may cause issues"} 
[2026-08-22 20:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969974214400561152,"note":"Value kept but may cause issues"} 
[2026-08-22 20:33:59] 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-22 20:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787410767000,"timestamp_ms":1787410767000,"timestamp_seconds":1787410767,"priority":1,"record_length":96,"hex_timestamp":"000001a029fbdc98"} 
[2026-08-22 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-22 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-22 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 20:33: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-22 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-22 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-22 20:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20: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-22 20:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577156352001,"66":27213,"38":206,"87":13824,"24":12,"16":389119621791219712,"45":8969974214400561152},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-22 20:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577156352001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:33:59] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-22 20:33:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389119621791219712,"km_value":389119621791219.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969974214400561152,"description":"Unknown IO ID 45"} 
[2026-08-22 20:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577156352001,"power":27213,"unknown_38":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8969974214400561152}} 
[2026-08-22 20:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":160043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:33:59] local.INFO: GPS data processed {"connection_id":160043,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:33:59] local.INFO: Acknowledgment sent {"connection_id":160043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:34:29] local.INFO: TCP Data received {"connection_id":160268,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:34:29] local.INFO: Processing buffer {"connection_id":160268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:34:29] local.INFO: Packet analysis {"connection_id":160268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:34:29] local.INFO: Extracted packet for processing {"connection_id":160268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:34:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577103104001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:34:29] 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-22 20:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787410860000,"timestamp_ms":1787410860000,"timestamp_seconds":1787410860,"priority":1,"record_length":96,"hex_timestamp":"000001a029fd47e0"} 
[2026-08-22 20: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-22 20:34:29] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577103104001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577103104001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:34:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:34:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577103104001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":160268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:34:29] local.INFO: GPS data processed {"connection_id":160268,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:34:29] local.INFO: Acknowledgment sent {"connection_id":160268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:34:30] local.INFO: TCP Data received {"connection_id":160043,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029fc2ea0012d7c7c8005e5d798000600002a..."} 
[2026-08-22 20:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fc2ea0012d7c7c8005e5d798000600002a..."} 
[2026-08-22 20:34:30] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fc2ea0012d7c7c8005e5d798000600002a..."} 
[2026-08-22 20:34:30] local.INFO: Packet analysis {"connection_id":160043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fc"} 
[2026-08-22 20:34:30] local.INFO: Extracted packet for processing {"connection_id":160043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fc"} 
[2026-08-22 20:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763133056,"raw_latitude":98949016,"longitude_deg":76.3133056,"latitude_deg":9.8949016,"altitude":6,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d7c7c80","hex_latitude":"05e5d798","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577156352001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389119888079192064,"note":"Value kept but may cause issues"} 
[2026-08-22 20:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969974214400561152,"note":"Value kept but may cause issues"} 
[2026-08-22 20:34:30] 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-22 20:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787410788000,"timestamp_ms":1787410788000,"timestamp_seconds":1787410788,"priority":1,"record_length":96,"hex_timestamp":"000001a029fc2ea0"} 
[2026-08-22 20: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-22 20: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-22 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 20:34: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-22 20: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-22 20: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-22 20:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:34: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-22 20:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577156352001,"66":27397,"31":206,"87":13824,"24":0,"16":389119888079192064,"45":8969974214400561152},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-22 20:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577156352001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:34:30] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-22 20:34:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389119888079192064,"km_value":389119888079192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969974214400561152,"description":"Unknown IO ID 45"} 
[2026-08-22 20:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577156352001,"power":27397,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8969974214400561152}} 
[2026-08-22 20:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":160043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:34:30] local.INFO: GPS data processed {"connection_id":160043,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:34:30] local.INFO: Acknowledgment sent {"connection_id":160043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:34:47] local.INFO: TCP Data received {"connection_id":161214,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:34:47] local.INFO: Processing buffer {"connection_id":161214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:34:47] local.INFO: IMEI packet received {"connection_id":161214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":161214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:34:48] local.INFO: TCP Data received {"connection_id":161214,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:34:48] local.INFO: Processing buffer {"connection_id":161214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:34:48] local.INFO: IMEI packet received {"connection_id":161214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":161214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:34:52] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:34:52] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:34:52] local.INFO: IMEI packet received {"connection_id":160044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":160044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:34:53] local.INFO: TCP Data received {"connection_id":161214,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:34:53] local.INFO: Processing buffer {"connection_id":161214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:34:53] local.INFO: IMEI packet received {"connection_id":161214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":161214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:34:53] local.INFO: TCP Data received {"connection_id":161214,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ffb4f8012d7c7f4005e5e3b8000a00072d..."} 
[2026-08-22 20:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ffb4f8012d7c7f4005e5e3b8000a00072d..."} 
[2026-08-22 20:34:53] local.INFO: Processing buffer {"connection_id":161214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ffb4f8012d7c7f4005e5e3b8000a00072d..."} 
[2026-08-22 20:34:53] local.INFO: Packet analysis {"connection_id":161214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ff"} 
[2026-08-22 20:34:53] local.INFO: Extracted packet for processing {"connection_id":161214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ff"} 
[2026-08-22 20:34:53] local.INFO: GPS Element Parsed {"raw_longitude":763133760,"raw_latitude":98952120,"longitude_deg":76.313376,"latitude_deg":9.895212,"altitude":10,"angle":7,"satellites":45,"speed":0,"hex_longitude":"2d7c7f40","hex_latitude":"05e5e3b8","is_valid_coordinates":true} 
[2026-08-22 20:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577215488001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389120051287949312,"note":"Value kept but may cause issues"} 
[2026-08-22 20:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970748270588547072,"note":"Value kept but may cause issues"} 
[2026-08-22 20:34:53] 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-22 20:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787411019000,"timestamp_ms":1787411019000,"timestamp_seconds":1787411019,"priority":1,"record_length":96,"hex_timestamp":"000001a029ffb4f8"} 
[2026-08-22 20:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:34: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-22 20:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 20:34:53] 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-22 20:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:34:53] 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-22 20:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577215488001,"66":27332,"31":206,"87":13824,"24":0,"16":389120051287949312,"45":8970748270588547072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-22 20:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577215488001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:34:53] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-22 20:34:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389120051287949312,"km_value":389120051287949.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970748270588547072,"description":"Unknown IO ID 45"} 
[2026-08-22 20:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577215488001,"power":27332,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8970748270588547072}} 
[2026-08-22 20:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":161214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:34:53] local.INFO: GPS data processed {"connection_id":161214,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:34:53] local.INFO: Acknowledgment sent {"connection_id":161214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:34:57] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:34:57] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:34:57] local.INFO: IMEI packet received {"connection_id":160044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":160044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:34:58] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:34:58] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:34:58] local.INFO: Packet analysis {"connection_id":160044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:34:58] local.INFO: Extracted packet for processing {"connection_id":160044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:34:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577103104001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:34:58] 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-22 20:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787410860000,"timestamp_ms":1787410860000,"timestamp_seconds":1787410860,"priority":1,"record_length":96,"hex_timestamp":"000001a029fd47e0"} 
[2026-08-22 20:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577103104001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577103104001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:34:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577103104001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":160044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:34:58] local.INFO: GPS data processed {"connection_id":160044,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:34:58] local.INFO: Acknowledgment sent {"connection_id":160044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:35:24] local.INFO: TCP Data received {"connection_id":161214,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ffe7c0012d7c7f8005e5e4b80009001c2e..."} 
[2026-08-22 20:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ffe7c0012d7c7f8005e5e4b80009001c2e..."} 
[2026-08-22 20:35:24] local.INFO: Processing buffer {"connection_id":161214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ffe7c0012d7c7f8005e5e4b80009001c2e..."} 
[2026-08-22 20:35:24] local.INFO: Packet analysis {"connection_id":161214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ff"} 
[2026-08-22 20:35:24] local.INFO: Extracted packet for processing {"connection_id":161214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ff"} 
[2026-08-22 20:35:24] local.INFO: GPS Element Parsed {"raw_longitude":763133824,"raw_latitude":98952376,"longitude_deg":76.3133824,"latitude_deg":9.8952376,"altitude":9,"angle":28,"satellites":46,"speed":2,"hex_longitude":"2d7c7f80","hex_latitude":"05e5e4b8","is_valid_coordinates":true} 
[2026-08-22 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-22 20:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577220864001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389120068467818496,"note":"Value kept but may cause issues"} 
[2026-08-22 20:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970959376821237760,"note":"Value kept but may cause issues"} 
[2026-08-22 20:35:24] 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-22 20:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787411032000,"timestamp_ms":1787411032000,"timestamp_seconds":1787411032,"priority":1,"record_length":96,"hex_timestamp":"000001a029ffe7c0"} 
[2026-08-22 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-22 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-22 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":196,"data_length":795,"current_offset":136} 
[2026-08-22 20:35: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-22 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-22 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-22 20:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:35: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-22 20:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577220864001,"66":27365,"31":206,"87":13824,"24":2,"16":389120068467818496,"45":8970959376821237760},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-22 20:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577220864001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:35:24] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-22 20:35:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389120068467818496,"km_value":389120068467818.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970959376821237760,"description":"Unknown IO ID 45"} 
[2026-08-22 20:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577220864001,"power":27365,"unknown_31":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8970959376821237760}} 
[2026-08-22 20:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":161214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:35:24] local.INFO: GPS data processed {"connection_id":161214,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:35:24] local.INFO: Acknowledgment sent {"connection_id":161214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:35:29] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:35:29] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:35:29] local.INFO: Packet analysis {"connection_id":160044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:35:29] local.INFO: Extracted packet for processing {"connection_id":160044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:35:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577103104001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:35:29] 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-22 20:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787410860000,"timestamp_ms":1787410860000,"timestamp_seconds":1787410860,"priority":1,"record_length":96,"hex_timestamp":"000001a029fd47e0"} 
[2026-08-22 20:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:35:29] 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-22 20:35: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20:35: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-22 20:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577103104001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577103104001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:35:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:35:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577103104001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":160044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:35:29] local.INFO: GPS data processed {"connection_id":160044,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:35:29] local.INFO: Acknowledgment sent {"connection_id":160044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:35:48] local.INFO: TCP Data received {"connection_id":161215,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:35:48] local.INFO: Processing buffer {"connection_id":161215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:35:48] local.INFO: IMEI packet received {"connection_id":161215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":161215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:35:48] local.INFO: TCP Data received {"connection_id":161215,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:35:48] local.INFO: Processing buffer {"connection_id":161215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:35:48] local.INFO: IMEI packet received {"connection_id":161215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":161215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:35:52] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:35:52] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:35:52] local.INFO: IMEI packet received {"connection_id":160269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":160269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:35:53] local.INFO: TCP Data received {"connection_id":161215,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:35:53] local.INFO: Processing buffer {"connection_id":161215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:35:53] local.INFO: IMEI packet received {"connection_id":161215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":161215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:35:53] local.INFO: TCP Data received {"connection_id":161215,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a029ffef90012d7c7f8005e5e578000900102d..."} 
[2026-08-22 20:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029ffef90012d7c7f8005e5e578000900102d..."} 
[2026-08-22 20:35:53] local.INFO: Processing buffer {"connection_id":161215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029ffef90012d7c7f8005e5e578000900102d..."} 
[2026-08-22 20:35:53] local.INFO: Packet analysis {"connection_id":161215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029ff"} 
[2026-08-22 20:35:53] local.INFO: Extracted packet for processing {"connection_id":161215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029ff"} 
[2026-08-22 20:35:53] local.INFO: GPS Element Parsed {"raw_longitude":763133824,"raw_latitude":98952568,"longitude_deg":76.3133824,"latitude_deg":9.8952568,"altitude":9,"angle":16,"satellites":45,"speed":4,"hex_longitude":"2d7c7f80","hex_latitude":"05e5e578","is_valid_coordinates":true} 
[2026-08-22 20:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577224192001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389120077057753088,"note":"Value kept but may cause issues"} 
[2026-08-22 20:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971029745565480960,"note":"Value kept but may cause issues"} 
[2026-08-22 20:35:53] 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-22 20:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787411034000,"timestamp_ms":1787411034000,"timestamp_seconds":1787411034,"priority":1,"record_length":96,"hex_timestamp":"000001a029ffef90"} 
[2026-08-22 20:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:35: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-22 20:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 20:35: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-22 20:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:35:53] 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-22 20:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577224192001,"66":27267,"31":206,"87":13824,"24":4,"16":389120077057753088,"45":8971029745565480960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-22 20:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577224192001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:35:53] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-22 20:35:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389120077057753088,"km_value":389120077057753.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971029745565480960,"description":"Unknown IO ID 45"} 
[2026-08-22 20:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577224192001,"power":27267,"unknown_31":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8971029745565480960}} 
[2026-08-22 20:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":161215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:35:53] local.INFO: GPS data processed {"connection_id":161215,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:35:53] local.INFO: Acknowledgment sent {"connection_id":161215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:35:57] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:35:57] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:35:57] local.INFO: IMEI packet received {"connection_id":160269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":160269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:35:58] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:35:58] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:35:58] local.INFO: Packet analysis {"connection_id":160269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:35:58] local.INFO: Extracted packet for processing {"connection_id":160269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:35:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577103104001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:35:58] 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-22 20:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787410860000,"timestamp_ms":1787410860000,"timestamp_seconds":1787410860,"priority":1,"record_length":96,"hex_timestamp":"000001a029fd47e0"} 
[2026-08-22 20:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 20:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577103104001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577103104001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:35:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577103104001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":160269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:35:58] local.INFO: GPS data processed {"connection_id":160269,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:35:58] local.INFO: Acknowledgment sent {"connection_id":160269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:36:24] local.INFO: TCP Data received {"connection_id":161215,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a014f20012d7ccb0005e730c8000f000c2c..."} 
[2026-08-22 20:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a014f20012d7ccb0005e730c8000f000c2c..."} 
[2026-08-22 20:36:24] local.INFO: Processing buffer {"connection_id":161215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a014f20012d7ccb0005e730c8000f000c2c..."} 
[2026-08-22 20:36:24] local.INFO: Packet analysis {"connection_id":161215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:36:24] local.INFO: Extracted packet for processing {"connection_id":161215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:36:24] local.INFO: GPS Element Parsed {"raw_longitude":763153152,"raw_latitude":99037384,"longitude_deg":76.3153152,"latitude_deg":9.9037384,"altitude":15,"angle":12,"satellites":44,"speed":44,"hex_longitude":"2d7ccb00","hex_latitude":"05e730c8","is_valid_coordinates":true} 
[2026-08-22 20:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577245952001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389124299010605056,"note":"Value kept but may cause issues"} 
[2026-08-22 20:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990029306512941056,"note":"Value kept but may cause issues"} 
[2026-08-22 20:36:24] 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-22 20:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787411124000,"timestamp_ms":1787411124000,"timestamp_seconds":1787411124,"priority":1,"record_length":96,"hex_timestamp":"000001a02a014f20"} 
[2026-08-22 20:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20: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-22 20:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 20:36: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-22 20:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:36: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-22 20:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577245952001,"66":27332,"31":206,"87":13824,"24":44,"16":389124299010605056,"45":8990029306512941056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-22 20:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577245952001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:36:24] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-22 20:36:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389124299010605056,"km_value":389124299010605.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990029306512941056,"description":"Unknown IO ID 45"} 
[2026-08-22 20:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577245952001,"power":27332,"unknown_31":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8990029306512941056}} 
[2026-08-22 20:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":161215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:36:24] local.INFO: GPS data processed {"connection_id":161215,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:36:24] local.INFO: Acknowledgment sent {"connection_id":161215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:36:29] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:36:29] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a029fd47e0012d1b5ac00724fe70002900bb23..."} 
[2026-08-22 20:36:29] local.INFO: Packet analysis {"connection_id":160269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:36:29] local.INFO: Extracted packet for processing {"connection_id":160269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a029fd"} 
[2026-08-22 20:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 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-22 20:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577103104001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:36:29] 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-22 20:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787410860000,"timestamp_ms":1787410860000,"timestamp_seconds":1787410860,"priority":1,"record_length":96,"hex_timestamp":"000001a029fd47e0"} 
[2026-08-22 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-22 20:36:29] 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-22 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 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-22 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-22 20:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577103104001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577103104001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:36:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577103104001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":160269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:36:29] local.INFO: GPS data processed {"connection_id":160269,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:36:29] local.INFO: Acknowledgment sent {"connection_id":160269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:36:48] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:36:48] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:36:48] local.INFO: IMEI packet received {"connection_id":160045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":160045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:36:52] local.INFO: TCP Data received {"connection_id":160270,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:36:52] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:36:52] local.INFO: IMEI packet received {"connection_id":160270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":160270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:36:53] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:36:53] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:36:53] local.INFO: IMEI packet received {"connection_id":160045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":160045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:36:54] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a016e60012d7cd30005e753c0000f000c2d..."} 
[2026-08-22 20:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a016e60012d7cd30005e753c0000f000c2d..."} 
[2026-08-22 20:36:54] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a016e60012d7cd30005e753c0000f000c2d..."} 
[2026-08-22 20:36:54] local.INFO: Packet analysis {"connection_id":160045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:36:54] local.INFO: Extracted packet for processing {"connection_id":160045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:36:54] local.INFO: GPS Element Parsed {"raw_longitude":763155200,"raw_latitude":99046336,"longitude_deg":76.31552,"latitude_deg":9.9046336,"altitude":15,"angle":12,"satellites":45,"speed":47,"hex_longitude":"2d7cd300","hex_latitude":"05e753c0","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577247744001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389124745687203840,"note":"Value kept but may cause issues"} 
[2026-08-22 20:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992281106328897536,"note":"Value kept but may cause issues"} 
[2026-08-22 20:36: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-22 20:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787411132000,"timestamp_ms":1787411132000,"timestamp_seconds":1787411132,"priority":1,"record_length":96,"hex_timestamp":"000001a02a016e60"} 
[2026-08-22 20: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-22 20:36: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-22 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 20:36:54] 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-22 20: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-22 20: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-22 20:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:36:54] 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-22 20:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577247744001,"66":27300,"31":206,"87":13824,"24":47,"16":389124745687203840,"45":8992281106328897536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-22 20:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577247744001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:36:54] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-22 20:36:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389124745687203840,"km_value":389124745687203.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992281106328897536,"description":"Unknown IO ID 45"} 
[2026-08-22 20:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577247744001,"power":27300,"unknown_31":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":8992281106328897536}} 
[2026-08-22 20:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":160045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:36:54] local.INFO: GPS data processed {"connection_id":160045,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:36:54] local.INFO: Acknowledgment sent {"connection_id":160045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:36:57] local.INFO: TCP Data received {"connection_id":160270,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:36:57] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:36:57] local.INFO: IMEI packet received {"connection_id":160270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":160270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:36:57] local.INFO: TCP Data received {"connection_id":160270,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:36:57] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:36:57] local.INFO: Packet analysis {"connection_id":160270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:36:57] local.INFO: Extracted packet for processing {"connection_id":160270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:36:57] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577180160001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:36:57] 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-22 20:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787411161000,"timestamp_ms":1787411161000,"timestamp_seconds":1787411161,"priority":1,"record_length":96,"hex_timestamp":"000001a02a01dfa8"} 
[2026-08-22 20: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-22 20:36:57] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:36: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-22 20: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-22 20: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-22 20:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577180160001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577180160001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:36:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:36:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577180160001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":160270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:36:57] local.INFO: GPS data processed {"connection_id":160270,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:36:57] local.INFO: Acknowledgment sent {"connection_id":160270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:37:29] local.INFO: TCP Data received {"connection_id":160270,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:37:29] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:37:29] local.INFO: Packet analysis {"connection_id":160270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:37:29] local.INFO: Extracted packet for processing {"connection_id":160270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:37:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:37: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-22 20:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577180160001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:37:29] 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-22 20:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787411161000,"timestamp_ms":1787411161000,"timestamp_seconds":1787411161,"priority":1,"record_length":96,"hex_timestamp":"000001a02a01dfa8"} 
[2026-08-22 20:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:37:29] 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-22 20:37: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20:37: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-22 20:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577180160001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577180160001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:37:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:37:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577180160001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":160270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:37:29] local.INFO: GPS data processed {"connection_id":160270,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:37:29] local.INFO: Acknowledgment sent {"connection_id":160270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:37:30] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a018da0012d7cdb8005e778c00010000d2f..."} 
[2026-08-22 20:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a018da0012d7cdb8005e778c00010000d2f..."} 
[2026-08-22 20:37:30] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a018da0012d7cdb8005e778c00010000d2f..."} 
[2026-08-22 20:37:30] local.INFO: Packet analysis {"connection_id":160045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:37:30] local.INFO: Extracted packet for processing {"connection_id":160045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763157376,"raw_latitude":99055808,"longitude_deg":76.3157376,"latitude_deg":9.9055808,"altitude":16,"angle":13,"satellites":47,"speed":40,"hex_longitude":"2d7cdb80","hex_latitude":"05e778c0","is_valid_coordinates":true} 
[2026-08-22 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-22 20:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577249792001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389125218133606400,"note":"Value kept but may cause issues"} 
[2026-08-22 20:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994532906144874496,"note":"Value kept but may cause issues"} 
[2026-08-22 20:37:30] 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-22 20:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787411140000,"timestamp_ms":1787411140000,"timestamp_seconds":1787411140,"priority":1,"record_length":96,"hex_timestamp":"000001a02a018da0"} 
[2026-08-22 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-22 20:37: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-22 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 20:37: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-22 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-22 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-22 20:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:37: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-22 20:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577249792001,"66":27213,"31":206,"87":13824,"24":40,"16":389125218133606400,"45":8994532906144874496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-22 20:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577249792001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:37:30] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-22 20:37:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389125218133606400,"km_value":389125218133606.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994532906144874496,"description":"Unknown IO ID 45"} 
[2026-08-22 20:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577249792001,"power":27213,"unknown_31":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8994532906144874496}} 
[2026-08-22 20:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":160045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:37:30] local.INFO: GPS data processed {"connection_id":160045,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:37:30] local.INFO: Acknowledgment sent {"connection_id":160045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:37:52] local.INFO: TCP Data received {"connection_id":161216,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:37:52] local.INFO: Processing buffer {"connection_id":161216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:37:52] local.INFO: IMEI packet received {"connection_id":161216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":161216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:37:53] local.INFO: TCP Data received {"connection_id":162637,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:37:53] local.INFO: Processing buffer {"connection_id":162637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:37:53] local.INFO: IMEI packet received {"connection_id":162637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":162637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:37:53] local.INFO: TCP Data received {"connection_id":162637,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:37:53] local.INFO: Processing buffer {"connection_id":162637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:37:53] local.INFO: IMEI packet received {"connection_id":162637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":162637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:37:57] local.INFO: TCP Data received {"connection_id":161216,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:37:57] local.INFO: Processing buffer {"connection_id":161216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:37:57] local.INFO: IMEI packet received {"connection_id":161216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":161216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:37:58] local.INFO: TCP Data received {"connection_id":161216,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:37:58] local.INFO: Processing buffer {"connection_id":161216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:37:58] local.INFO: Packet analysis {"connection_id":161216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:37:58] local.INFO: Extracted packet for processing {"connection_id":161216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:37:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577180160001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:37:58] 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-22 20:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787411161000,"timestamp_ms":1787411161000,"timestamp_seconds":1787411161,"priority":1,"record_length":96,"hex_timestamp":"000001a02a01dfa8"} 
[2026-08-22 20: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-22 20:37:58] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577180160001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577180160001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:37:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:37:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577180160001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":161216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:37:58] local.INFO: GPS data processed {"connection_id":161216,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:37:58] local.INFO: Acknowledgment sent {"connection_id":161216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:37:58] local.INFO: TCP Data received {"connection_id":162637,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:37:58] local.INFO: Processing buffer {"connection_id":162637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:37:58] local.INFO: IMEI packet received {"connection_id":162637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":162637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:38:00] local.INFO: TCP Data received {"connection_id":162637,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a01b0c8012d7ce3c005e79e48000b000b2e..."} 
[2026-08-22 20:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a01b0c8012d7ce3c005e79e48000b000b2e..."} 
[2026-08-22 20:38:00] local.INFO: Processing buffer {"connection_id":162637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a01b0c8012d7ce3c005e79e48000b000b2e..."} 
[2026-08-22 20:38:00] local.INFO: Packet analysis {"connection_id":162637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:38:00] local.INFO: Extracted packet for processing {"connection_id":162637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763159488,"raw_latitude":99065416,"longitude_deg":76.3159488,"latitude_deg":9.9065416,"altitude":11,"angle":11,"satellites":46,"speed":48,"hex_longitude":"2d7ce3c0","hex_latitude":"05e79e48","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577251840001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389125694874976256,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996925443449339904,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:00] 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-22 20:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787411149000,"timestamp_ms":1787411149000,"timestamp_seconds":1787411149,"priority":1,"record_length":96,"hex_timestamp":"000001a02a01b0c8"} 
[2026-08-22 20: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-22 20: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-22 20: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":77,"data_length":795,"current_offset":136} 
[2026-08-22 20:38: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-22 20: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-22 20: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-22 20:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:38: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-22 20:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577251840001,"66":27343,"31":206,"87":13824,"24":48,"16":389125694874976256,"45":8996925443449339904},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-22 20:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577251840001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:38:00] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-22 20:38:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389125694874976256,"km_value":389125694874976.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996925443449339904,"description":"Unknown IO ID 45"} 
[2026-08-22 20:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577251840001,"power":27343,"unknown_31":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":8996925443449339904}} 
[2026-08-22 20:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":162637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:38:00] local.INFO: GPS data processed {"connection_id":162637,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:38:00] local.INFO: Acknowledgment sent {"connection_id":162637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:38:02] local.INFO: TCP Data received {"connection_id":162637,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a01cc20012d7ceb0005e7c1300009000a2e..."} 
[2026-08-22 20:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a01cc20012d7ceb0005e7c1300009000a2e..."} 
[2026-08-22 20:38:02] local.INFO: Processing buffer {"connection_id":162637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a01cc20012d7ceb0005e7c1300009000a2e..."} 
[2026-08-22 20:38:02] local.INFO: Packet analysis {"connection_id":162637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:38:02] local.INFO: Extracted packet for processing {"connection_id":162637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99074352,"longitude_deg":76.3161344,"latitude_deg":9.9074352,"altitude":9,"angle":10,"satellites":46,"speed":54,"hex_longitude":"2d7ceb00","hex_latitude":"05e7c130","is_valid_coordinates":true} 
[2026-08-22 20:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577254144001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389126137256607744,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999247612009662464,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787411156000,"timestamp_ms":1787411156000,"timestamp_seconds":1787411156,"priority":1,"record_length":96,"hex_timestamp":"000001a02a01cc20"} 
[2026-08-22 20:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:38: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-22 20:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 20:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577254144001,"66":27234,"155":206,"87":13824,"24":54,"16":389126137256607744,"45":8999247612009662464},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-08-22 20:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577254144001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:38:02] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-22 20:38:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389126137256607744,"km_value":389126137256607.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999247612009662464,"description":"Unknown IO ID 45"} 
[2026-08-22 20:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577254144001,"power":27234,"unknown_155":206,"unknown_87":13824,"ignition":54,"odometer":null,"unknown_45":8999247612009662464}} 
[2026-08-22 20:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":162637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:38:02] local.INFO: GPS data processed {"connection_id":162637,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:38:02] local.INFO: Acknowledgment sent {"connection_id":162637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:38:29] local.INFO: TCP Data received {"connection_id":161216,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:38:29] local.INFO: Processing buffer {"connection_id":161216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:38:29] local.INFO: Packet analysis {"connection_id":161216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:38:29] local.INFO: Extracted packet for processing {"connection_id":161216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:38:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 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-22 20:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577180160001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:29] 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-22 20:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787411161000,"timestamp_ms":1787411161000,"timestamp_seconds":1787411161,"priority":1,"record_length":96,"hex_timestamp":"000001a02a01dfa8"} 
[2026-08-22 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-22 20:38:29] 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-22 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 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-22 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-22 20:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577180160001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577180160001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:38:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:38:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577180160001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":161216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:38:29] local.INFO: GPS data processed {"connection_id":161216,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:38:29] local.INFO: Acknowledgment sent {"connection_id":161216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:38:49] local.INFO: TCP Data received {"connection_id":160046,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:38:49] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:38:49] local.INFO: IMEI packet received {"connection_id":160046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":160046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:38:52] local.INFO: TCP Data received {"connection_id":162638,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:38:52] local.INFO: Processing buffer {"connection_id":162638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:38:52] local.INFO: IMEI packet received {"connection_id":162638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":162638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:38:53] local.INFO: TCP Data received {"connection_id":160046,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:38:53] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:38:53] local.INFO: IMEI packet received {"connection_id":160046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":160046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:38:54] local.INFO: TCP Data received {"connection_id":160046,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a038588012d7d0e0005e93600000b000430..."} 
[2026-08-22 20:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a038588012d7d0e0005e93600000b000430..."} 
[2026-08-22 20:38:54] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a038588012d7d0e0005e93600000b000430..."} 
[2026-08-22 20:38:54] local.INFO: Packet analysis {"connection_id":160046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a03"} 
[2026-08-22 20:38:54] local.INFO: Extracted packet for processing {"connection_id":160046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a03"} 
[2026-08-22 20:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763170304,"raw_latitude":99169792,"longitude_deg":76.3170304,"latitude_deg":9.9169792,"altitude":11,"angle":4,"satellites":48,"speed":47,"hex_longitude":"2d7d0e00","hex_latitude":"05e93600","is_valid_coordinates":true} 
[2026-08-22 20:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577282816001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389130797296123904,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010576979846623232,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:54] 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-22 20:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787411269000,"timestamp_ms":1787411269000,"timestamp_seconds":1787411269,"priority":1,"record_length":96,"hex_timestamp":"000001a02a038588"} 
[2026-08-22 20:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:38: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-22 20:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 20:38: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-22 20:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:38:54] 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-22 20:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577282816001,"66":27267,"154":206,"87":13824,"24":47,"16":389130797296123904,"45":9010576979846623232},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-22 20:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577282816001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:38:54] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-22 20:38:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389130797296123904,"km_value":389130797296123.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010576979846623232,"description":"Unknown IO ID 45"} 
[2026-08-22 20:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577282816001,"power":27267,"unknown_154":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":9010576979846623232}} 
[2026-08-22 20:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":160046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:38:54] local.INFO: GPS data processed {"connection_id":160046,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:38:54] local.INFO: Acknowledgment sent {"connection_id":160046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:38:55] local.INFO: TCP Data received {"connection_id":160046,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a03a4c8012d7d110005e95ba0000c00042e..."} 
[2026-08-22 20:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a03a4c8012d7d110005e95ba0000c00042e..."} 
[2026-08-22 20:38:55] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a03a4c8012d7d110005e95ba0000c00042e..."} 
[2026-08-22 20:38:55] local.INFO: Packet analysis {"connection_id":160046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a03"} 
[2026-08-22 20:38:55] local.INFO: Extracted packet for processing {"connection_id":160046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a03"} 
[2026-08-22 20:38:55] local.INFO: GPS Element Parsed {"raw_longitude":763171072,"raw_latitude":99179424,"longitude_deg":76.3171072,"latitude_deg":9.9179424,"altitude":12,"angle":4,"satellites":46,"speed":48,"hex_longitude":"2d7d1100","hex_latitude":"05e95ba0","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577284864001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389131265447559168,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011139929802407936,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:55] 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-22 20:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787411277000,"timestamp_ms":1787411277000,"timestamp_seconds":1787411277,"priority":1,"record_length":96,"hex_timestamp":"000001a02a03a4c8"} 
[2026-08-22 20: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-22 20:38: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-22 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 20:38: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-22 20: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-22 20: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-22 20:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:38: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-22 20:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577284864001,"66":27300,"154":206,"87":13824,"24":48,"16":389131265447559168,"45":9011139929802407936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-22 20:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577284864001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:38:55] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-22 20:38:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389131265447559168,"km_value":389131265447559.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011139929802407936,"description":"Unknown IO ID 45"} 
[2026-08-22 20:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577284864001,"power":27300,"unknown_154":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":9011139929802407936}} 
[2026-08-22 20:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":160046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:38:55] local.INFO: GPS data processed {"connection_id":160046,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:38:55] local.INFO: Acknowledgment sent {"connection_id":160046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:38:57] local.INFO: TCP Data received {"connection_id":162638,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:38:57] local.INFO: Processing buffer {"connection_id":162638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:38:57] local.INFO: IMEI packet received {"connection_id":162638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":162638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:38:58] local.INFO: TCP Data received {"connection_id":162638,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:38:58] local.INFO: Processing buffer {"connection_id":162638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:38:58] local.INFO: Packet analysis {"connection_id":162638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:38:58] local.INFO: Extracted packet for processing {"connection_id":162638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:38:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577180160001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:38:58] 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-22 20:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787411161000,"timestamp_ms":1787411161000,"timestamp_seconds":1787411161,"priority":1,"record_length":96,"hex_timestamp":"000001a02a01dfa8"} 
[2026-08-22 20: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-22 20:38:58] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577180160001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577180160001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:38:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:38:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577180160001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":162638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:38:58] local.INFO: GPS data processed {"connection_id":162638,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:38:58] local.INFO: Acknowledgment sent {"connection_id":162638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:39:27] local.INFO: TCP Data received {"connection_id":160046,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a03c408012d7d138005e98180000e00022d..."} 
[2026-08-22 20:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a03c408012d7d138005e98180000e00022d..."} 
[2026-08-22 20:39:27] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a03c408012d7d138005e98180000e00022d..."} 
[2026-08-22 20:39:27] local.INFO: Packet analysis {"connection_id":160046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a03"} 
[2026-08-22 20:39:27] local.INFO: Extracted packet for processing {"connection_id":160046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a03"} 
[2026-08-22 20:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763171712,"raw_latitude":99189120,"longitude_deg":76.3171712,"latitude_deg":9.918912,"altitude":14,"angle":2,"satellites":45,"speed":44,"hex_longitude":"2d7d1380","hex_latitude":"05e98180","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577286912001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389131733598994432,"note":"Value kept but may cause issues"} 
[2026-08-22 20:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011984354735005696,"note":"Value kept but may cause issues"} 
[2026-08-22 20:39:27] 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-22 20:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787411285000,"timestamp_ms":1787411285000,"timestamp_seconds":1787411285,"priority":1,"record_length":96,"hex_timestamp":"000001a02a03c408"} 
[2026-08-22 20: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-22 20:39: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-22 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 20:39:27] 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-22 20: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-22 20: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-22 20:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:39:27] 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-22 20:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577286912001,"66":27376,"154":206,"87":13824,"24":44,"16":389131733598994432,"45":9011984354735005696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-22 20:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577286912001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:39:27] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-22 20:39:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389131733598994432,"km_value":389131733598994.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011984354735005696,"description":"Unknown IO ID 45"} 
[2026-08-22 20:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577286912001,"power":27376,"unknown_154":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":9011984354735005696}} 
[2026-08-22 20:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":160046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:39:27] local.INFO: GPS data processed {"connection_id":160046,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:39:27] local.INFO: Acknowledgment sent {"connection_id":160046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:39:29] local.INFO: TCP Data received {"connection_id":162638,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:39:29] local.INFO: Processing buffer {"connection_id":162638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:39:29] local.INFO: Packet analysis {"connection_id":162638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:39:29] local.INFO: Extracted packet for processing {"connection_id":162638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:39:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577180160001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:39:29] 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-22 20:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787411161000,"timestamp_ms":1787411161000,"timestamp_seconds":1787411161,"priority":1,"record_length":96,"hex_timestamp":"000001a02a01dfa8"} 
[2026-08-22 20:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:39:29] 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-22 20:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577180160001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577180160001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:39:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:39:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577180160001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":162638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:39:29] local.INFO: GPS data processed {"connection_id":162638,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:39:29] local.INFO: Acknowledgment sent {"connection_id":162638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:39:48] local.INFO: TCP Data received {"connection_id":161217,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:39:48] local.INFO: Processing buffer {"connection_id":161217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:39:48] local.INFO: IMEI packet received {"connection_id":161217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":161217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:39:51] local.INFO: TCP Data received {"connection_id":161217,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:39:51] local.INFO: Processing buffer {"connection_id":161217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:39:51] local.INFO: IMEI packet received {"connection_id":161217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":161217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:39:51] local.INFO: TCP Data received {"connection_id":162639,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:39:52] local.INFO: Processing buffer {"connection_id":162639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:39:52] local.INFO: IMEI packet received {"connection_id":162639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":162639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:39:54] local.INFO: TCP Data received {"connection_id":161217,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a03eb18012d7d168005e9a438000d00042d..."} 
[2026-08-22 20:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a03eb18012d7d168005e9a438000d00042d..."} 
[2026-08-22 20:39:54] local.INFO: Processing buffer {"connection_id":161217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a03eb18012d7d168005e9a438000d00042d..."} 
[2026-08-22 20:39:54] local.INFO: Packet analysis {"connection_id":161217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a03"} 
[2026-08-22 20:39:54] local.INFO: Extracted packet for processing {"connection_id":161217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a03"} 
[2026-08-22 20:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763172480,"raw_latitude":99198008,"longitude_deg":76.317248,"latitude_deg":9.9198008,"altitude":13,"angle":4,"satellites":45,"speed":35,"hex_longitude":"2d7d1680","hex_latitude":"05e9a438","is_valid_coordinates":true} 
[2026-08-22 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-22 20:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577288960001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389132167390691328,"note":"Value kept but may cause issues"} 
[2026-08-22 20:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012688042179264512,"note":"Value kept but may cause issues"} 
[2026-08-22 20:39:54] 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-22 20:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787411295000,"timestamp_ms":1787411295000,"timestamp_seconds":1787411295,"priority":1,"record_length":96,"hex_timestamp":"000001a02a03eb18"} 
[2026-08-22 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-22 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-22 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":240,"data_length":795,"current_offset":136} 
[2026-08-22 20:39:54] 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-22 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-22 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-22 20:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:39:54] 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-22 20:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577288960001,"66":27332,"154":206,"87":13824,"24":35,"16":389132167390691328,"45":9012688042179264512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-22 20:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577288960001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:39:54] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-22 20:39:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389132167390691328,"km_value":389132167390691.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012688042179264512,"description":"Unknown IO ID 45"} 
[2026-08-22 20:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577288960001,"power":27332,"unknown_154":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":9012688042179264512}} 
[2026-08-22 20:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":161217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:39:54] local.INFO: GPS data processed {"connection_id":161217,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:39:54] local.INFO: Acknowledgment sent {"connection_id":161217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:39:57] local.INFO: TCP Data received {"connection_id":162639,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:39:57] local.INFO: Processing buffer {"connection_id":162639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:39:57] local.INFO: IMEI packet received {"connection_id":162639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":162639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:39:58] local.INFO: TCP Data received {"connection_id":162639,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:39:58] local.INFO: Processing buffer {"connection_id":162639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:39:58] local.INFO: Packet analysis {"connection_id":162639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:39:58] local.INFO: Extracted packet for processing {"connection_id":162639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:39:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577180160001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:39:58] 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-22 20:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787411161000,"timestamp_ms":1787411161000,"timestamp_seconds":1787411161,"priority":1,"record_length":96,"hex_timestamp":"000001a02a01dfa8"} 
[2026-08-22 20: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-22 20:39:58] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577180160001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577180160001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:39:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:39:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577180160001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":162639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:39:58] local.INFO: GPS data processed {"connection_id":162639,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:39:58] local.INFO: Acknowledgment sent {"connection_id":162639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:40:25] local.INFO: TCP Data received {"connection_id":161217,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a040e40012d7d184005e9c740000d00022e..."} 
[2026-08-22 20:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a040e40012d7d184005e9c740000d00022e..."} 
[2026-08-22 20:40:25] local.INFO: Processing buffer {"connection_id":161217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a040e40012d7d184005e9c740000d00022e..."} 
[2026-08-22 20:40:25] local.INFO: Packet analysis {"connection_id":161217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a04"} 
[2026-08-22 20:40:25] local.INFO: Extracted packet for processing {"connection_id":161217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a04"} 
[2026-08-22 20:40:25] local.INFO: GPS Element Parsed {"raw_longitude":763172928,"raw_latitude":99206976,"longitude_deg":76.3172928,"latitude_deg":9.9206976,"altitude":13,"angle":2,"satellites":46,"speed":41,"hex_longitude":"2d7d1840","hex_latitude":"05e9c740","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577291520001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389132601182388224,"note":"Value kept but may cause issues"} 
[2026-08-22 20:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013532467111671808,"note":"Value kept but may cause issues"} 
[2026-08-22 20:40:25] 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-22 20:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787411304000,"timestamp_ms":1787411304000,"timestamp_seconds":1787411304,"priority":1,"record_length":96,"hex_timestamp":"000001a02a040e40"} 
[2026-08-22 20: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-22 20: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-22 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 20:40: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-22 20: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-22 20: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-22 20:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:40: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-22 20:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577291520001,"66":27484,"154":206,"87":13824,"24":41,"16":389132601182388224,"45":9013532467111671808},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-22 20:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577291520001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:40:25] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-22 20:40:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389132601182388224,"km_value":389132601182388.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013532467111671808,"description":"Unknown IO ID 45"} 
[2026-08-22 20:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577291520001,"power":27484,"unknown_154":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":9013532467111671808}} 
[2026-08-22 20:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":161217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:40:25] local.INFO: GPS data processed {"connection_id":161217,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:40:25] local.INFO: Acknowledgment sent {"connection_id":161217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:40:29] local.INFO: TCP Data received {"connection_id":162639,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:40:29] local.INFO: Processing buffer {"connection_id":162639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:40:29] local.INFO: Packet analysis {"connection_id":162639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:40:29] local.INFO: Extracted packet for processing {"connection_id":162639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:40:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577180160001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:40:29] 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-22 20:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787411161000,"timestamp_ms":1787411161000,"timestamp_seconds":1787411161,"priority":1,"record_length":96,"hex_timestamp":"000001a02a01dfa8"} 
[2026-08-22 20: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-22 20:40:29] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577180160001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577180160001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:40:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577180160001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":162639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:40:29] local.INFO: GPS data processed {"connection_id":162639,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:40:29] local.INFO: Acknowledgment sent {"connection_id":162639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:40:48] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:40:48] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:40:48] local.INFO: IMEI packet received {"connection_id":160047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":160047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:40:48] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:40:48] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:40:48] local.INFO: IMEI packet received {"connection_id":160047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":160047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:40:52] local.INFO: TCP Data received {"connection_id":160048,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:40:52] local.INFO: Processing buffer {"connection_id":160048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:40:52] local.INFO: IMEI packet received {"connection_id":160048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":160048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:40:53] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:40:53] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:40:53] local.INFO: IMEI packet received {"connection_id":160047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":160047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:40:54] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a043168012d7d1a4005e9eac8000c00032e..."} 
[2026-08-22 20:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a043168012d7d1a4005e9eac8000c00032e..."} 
[2026-08-22 20:40:54] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a043168012d7d1a4005e9eac8000c00032e..."} 
[2026-08-22 20:40:54] local.INFO: Packet analysis {"connection_id":160047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a04"} 
[2026-08-22 20:40:54] local.INFO: Extracted packet for processing {"connection_id":160047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a04"} 
[2026-08-22 20:40:54] local.INFO: GPS Element Parsed {"raw_longitude":763173440,"raw_latitude":99216072,"longitude_deg":76.317344,"latitude_deg":9.9216072,"altitude":12,"angle":3,"satellites":46,"speed":40,"hex_longitude":"2d7d1a40","hex_latitude":"05e9eac8","is_valid_coordinates":true} 
[2026-08-22 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-22 20:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577293824001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389133043564019712,"note":"Value kept but may cause issues"} 
[2026-08-22 20:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014025048323211264,"note":"Value kept but may cause issues"} 
[2026-08-22 20:40:54] 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-22 20:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787411313000,"timestamp_ms":1787411313000,"timestamp_seconds":1787411313,"priority":1,"record_length":96,"hex_timestamp":"000001a02a043168"} 
[2026-08-22 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-22 20:40: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-22 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 20:40:54] 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-22 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-22 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-22 20:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:40:54] 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-22 20:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577293824001,"66":27343,"154":206,"87":13824,"24":40,"16":389133043564019712,"45":9014025048323211264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-22 20:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577293824001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:40:54] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-22 20:40:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389133043564019712,"km_value":389133043564019.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014025048323211264,"description":"Unknown IO ID 45"} 
[2026-08-22 20:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577293824001,"power":27343,"unknown_154":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":9014025048323211264}} 
[2026-08-22 20:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":160047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:40:54] local.INFO: GPS data processed {"connection_id":160047,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:40:54] local.INFO: Acknowledgment sent {"connection_id":160047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:40:57] local.INFO: TCP Data received {"connection_id":160048,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:40:57] local.INFO: Processing buffer {"connection_id":160048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:40:57] local.INFO: IMEI packet received {"connection_id":160048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":160048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:40:58] local.INFO: TCP Data received {"connection_id":160048,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:40:58] local.INFO: Processing buffer {"connection_id":160048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:40:58] local.INFO: Packet analysis {"connection_id":160048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:40:58] local.INFO: Extracted packet for processing {"connection_id":160048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:40:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577180160001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:40:58] 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-22 20:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787411161000,"timestamp_ms":1787411161000,"timestamp_seconds":1787411161,"priority":1,"record_length":96,"hex_timestamp":"000001a02a01dfa8"} 
[2026-08-22 20:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:40:58] 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-22 20:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577180160001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577180160001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:40:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:40:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577180160001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":160048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:40:58] local.INFO: GPS data processed {"connection_id":160048,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:40:58] local.INFO: Acknowledgment sent {"connection_id":160048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:41:28] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a05db30012d7d304005eb9e88000f00022d..."} 
[2026-08-22 20:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a05db30012d7d304005eb9e88000f00022d..."} 
[2026-08-22 20:41:28] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a05db30012d7d304005eb9e88000f00022d..."} 
[2026-08-22 20:41:28] local.INFO: Packet analysis {"connection_id":160047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a05"} 
[2026-08-22 20:41:28] local.INFO: Extracted packet for processing {"connection_id":160047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a05"} 
[2026-08-22 20:41:28] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99327624,"longitude_deg":76.3179072,"latitude_deg":9.9327624,"altitude":15,"angle":2,"satellites":45,"speed":29,"hex_longitude":"2d7d3040","hex_latitude":"05eb9e88","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577320960001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389138463812747264,"note":"Value kept but may cause issues"} 
[2026-08-22 20:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235327653888,"note":"Value kept but may cause issues"} 
[2026-08-22 20:41:28] 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-22 20:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787411422000,"timestamp_ms":1787411422000,"timestamp_seconds":1787411422,"priority":1,"record_length":96,"hex_timestamp":"000001a02a05db30"} 
[2026-08-22 20: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-22 20:41: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-22 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 20:41:28] 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-22 20: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-22 20: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-22 20:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:41: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-22 20:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577320960001,"66":27300,"110":206,"87":13824,"24":29,"16":389138463812747264,"45":9020358235327653888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-22 20:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577320960001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:41:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-22 20:41:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389138463812747264,"km_value":389138463812747.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235327653888,"description":"Unknown IO ID 45"} 
[2026-08-22 20:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577320960001,"power":27300,"unknown_110":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":9020358235327653888}} 
[2026-08-22 20:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":160047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:41:28] local.INFO: GPS data processed {"connection_id":160047,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:41:28] local.INFO: Acknowledgment sent {"connection_id":160047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:41:29] local.INFO: TCP Data received {"connection_id":160048,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:41:29] local.INFO: Processing buffer {"connection_id":160048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a01dfa8012d1b5ac00724fe70002900bb22..."} 
[2026-08-22 20:41:29] local.INFO: Packet analysis {"connection_id":160048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:41:29] local.INFO: Extracted packet for processing {"connection_id":160048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a01"} 
[2026-08-22 20:41:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":41,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577180160001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:41:29] 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-22 20:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787411161000,"timestamp_ms":1787411161000,"timestamp_seconds":1787411161,"priority":1,"record_length":96,"hex_timestamp":"000001a02a01dfa8"} 
[2026-08-22 20: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-22 20:41:29] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577180160001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577180160001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:41:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:41:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577180160001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":160048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:41:29] local.INFO: GPS data processed {"connection_id":160048,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:41:29] local.INFO: Acknowledgment sent {"connection_id":160048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:41:48] local.INFO: TCP Data received {"connection_id":161218,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:41:48] local.INFO: Processing buffer {"connection_id":161218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:41:48] local.INFO: IMEI packet received {"connection_id":161218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":161218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:41:49] local.INFO: TCP Data received {"connection_id":161218,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:41:49] local.INFO: Processing buffer {"connection_id":161218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:41:49] local.INFO: IMEI packet received {"connection_id":161218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":161218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:41:53] local.INFO: TCP Data received {"connection_id":161218,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:41:53] local.INFO: Processing buffer {"connection_id":161218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:41:53] local.INFO: IMEI packet received {"connection_id":161218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":161218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:41:54] local.INFO: TCP Data received {"connection_id":161218,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a060628012d7d314005ebc4a8000e00012d..."} 
[2026-08-22 20:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a060628012d7d314005ebc4a8000e00012d..."} 
[2026-08-22 20:41:54] local.INFO: Processing buffer {"connection_id":161218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a060628012d7d314005ebc4a8000e00012d..."} 
[2026-08-22 20:41:54] local.INFO: Packet analysis {"connection_id":161218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:41:54] local.INFO: Extracted packet for processing {"connection_id":161218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763179328,"raw_latitude":99337384,"longitude_deg":76.3179328,"latitude_deg":9.9337384,"altitude":14,"angle":1,"satellites":45,"speed":42,"hex_longitude":"2d7d3140","hex_latitude":"05ebc4a8","is_valid_coordinates":true} 
[2026-08-22 20:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577324032001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389138936259149824,"note":"Value kept but may cause issues"} 
[2026-08-22 20:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447795152896,"note":"Value kept but may cause issues"} 
[2026-08-22 20:41:54] 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-22 20:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787411433000,"timestamp_ms":1787411433000,"timestamp_seconds":1787411433,"priority":1,"record_length":96,"hex_timestamp":"000001a02a060628"} 
[2026-08-22 20:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:41: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-22 20:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 20:41: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-22 20:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:41:54] 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-22 20:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577324032001,"66":27213,"110":206,"87":13824,"24":42,"16":389138936259149824,"45":9020780447795152896},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-22 20:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577324032001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:41:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-22 20:41:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389138936259149824,"km_value":389138936259149.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447795152896,"description":"Unknown IO ID 45"} 
[2026-08-22 20:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577324032001,"power":27213,"unknown_110":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":9020780447795152896}} 
[2026-08-22 20:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":161218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:41:54] local.INFO: GPS data processed {"connection_id":161218,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:41:54] local.INFO: Acknowledgment sent {"connection_id":161218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:41:57] local.INFO: TCP Data received {"connection_id":162640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:41:57] local.INFO: Processing buffer {"connection_id":162640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:41:57] local.INFO: IMEI packet received {"connection_id":162640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":162640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:42:02] local.INFO: TCP Data received {"connection_id":162640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:42:02] local.INFO: Processing buffer {"connection_id":162640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:42:02] local.INFO: IMEI packet received {"connection_id":162640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":162640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:42:03] local.INFO: TCP Data received {"connection_id":162640,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:42:03] local.INFO: Processing buffer {"connection_id":162640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:42:03] local.INFO: Packet analysis {"connection_id":162640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:42:03] local.INFO: Extracted packet for processing {"connection_id":162640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577257216001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:42:03] 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-22 20:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787411462000,"timestamp_ms":1787411462000,"timestamp_seconds":1787411462,"priority":1,"record_length":96,"hex_timestamp":"000001a02a067770"} 
[2026-08-22 20: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-22 20:42:03] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577257216001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577257216001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:42:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:42:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577257216001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":162640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:42:03] local.INFO: GPS data processed {"connection_id":162640,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:42:03] local.INFO: Acknowledgment sent {"connection_id":162640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:42:07] local.INFO: TCP Data received {"connection_id":162640,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:42:07] local.INFO: Processing buffer {"connection_id":162640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:42:07] local.INFO: Packet analysis {"connection_id":162640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:42:07] local.INFO: Extracted packet for processing {"connection_id":162640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577257216001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:42:07] 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-22 20:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787411462000,"timestamp_ms":1787411462000,"timestamp_seconds":1787411462,"priority":1,"record_length":96,"hex_timestamp":"000001a02a067770"} 
[2026-08-22 20: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-22 20:42:07] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:42:07] 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-22 20: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-22 20: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-22 20:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577257216001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577257216001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:42:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:42:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577257216001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":162640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:42:07] local.INFO: GPS data processed {"connection_id":162640,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:42:07] local.INFO: Acknowledgment sent {"connection_id":162640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:42:26] local.INFO: TCP Data received {"connection_id":161218,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a062950012d7d328005ebea10000d00002b..."} 
[2026-08-22 20:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a062950012d7d328005ebea10000d00002b..."} 
[2026-08-22 20:42:26] local.INFO: Processing buffer {"connection_id":161218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a062950012d7d328005ebea10000d00002b..."} 
[2026-08-22 20:42:26] local.INFO: Packet analysis {"connection_id":161218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:42:26] local.INFO: Extracted packet for processing {"connection_id":161218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:42:26] local.INFO: GPS Element Parsed {"raw_longitude":763179648,"raw_latitude":99346960,"longitude_deg":76.3179648,"latitude_deg":9.934696,"altitude":13,"angle":0,"satellites":43,"speed":35,"hex_longitude":"2d7d3280","hex_latitude":"05ebea10","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577326848001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389139400115617792,"note":"Value kept but may cause issues"} 
[2026-08-22 20:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021061922774362112,"note":"Value kept but may cause issues"} 
[2026-08-22 20:42:26] 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-22 20:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787411442000,"timestamp_ms":1787411442000,"timestamp_seconds":1787411442,"priority":1,"record_length":96,"hex_timestamp":"000001a02a062950"} 
[2026-08-22 20: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-22 20:42: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-22 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 20:42:26] 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-22 20: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-22 20: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-22 20:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:42: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-22 20:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577326848001,"66":27267,"110":206,"87":13824,"24":35,"16":389139400115617792,"45":9021061922774362112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-22 20:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577326848001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:42:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-22 20:42:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389139400115617792,"km_value":389139400115617.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021061922774362112,"description":"Unknown IO ID 45"} 
[2026-08-22 20:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577326848001,"power":27267,"unknown_110":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":9021061922774362112}} 
[2026-08-22 20:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":161218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:42:26] local.INFO: GPS data processed {"connection_id":161218,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:42:26] local.INFO: Acknowledgment sent {"connection_id":161218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:42:48] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:42:48] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:42:48] local.INFO: IMEI packet received {"connection_id":160271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":160271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:42:48] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:42:48] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:42:48] local.INFO: IMEI packet received {"connection_id":160271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":160271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:42:52] local.INFO: TCP Data received {"connection_id":162641,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:42:52] local.INFO: Processing buffer {"connection_id":162641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:42:52] local.INFO: IMEI packet received {"connection_id":162641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":162641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:42:53] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:42:53] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:42:53] local.INFO: IMEI packet received {"connection_id":160271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":160271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:42:57] local.INFO: TCP Data received {"connection_id":162641,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:42:57] local.INFO: Processing buffer {"connection_id":162641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:42:57] local.INFO: IMEI packet received {"connection_id":162641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":162641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:42:58] local.INFO: TCP Data received {"connection_id":162641,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:42:58] local.INFO: Processing buffer {"connection_id":162641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:42:58] local.INFO: Packet analysis {"connection_id":162641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:42:58] local.INFO: Extracted packet for processing {"connection_id":162641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:42:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:42: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-22 20:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577257216001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:42:58] 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-22 20:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787411462000,"timestamp_ms":1787411462000,"timestamp_seconds":1787411462,"priority":1,"record_length":96,"hex_timestamp":"000001a02a067770"} 
[2026-08-22 20:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:42:58] 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-22 20:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:42: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-22 20:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577257216001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577257216001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:42:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:42:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577257216001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":162641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:42:58] local.INFO: GPS data processed {"connection_id":162641,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:42:58] local.INFO: Acknowledgment sent {"connection_id":162641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:43:00] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a065060012d7d334005ec0da0000f000028..."} 
[2026-08-22 20:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a065060012d7d334005ec0da0000f000028..."} 
[2026-08-22 20:43:00] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a065060012d7d334005ec0da0000f000028..."} 
[2026-08-22 20:43:00] local.INFO: Packet analysis {"connection_id":160271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:43:00] local.INFO: Extracted packet for processing {"connection_id":160271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763179840,"raw_latitude":99356064,"longitude_deg":76.317984,"latitude_deg":9.9356064,"altitude":15,"angle":0,"satellites":40,"speed":37,"hex_longitude":"2d7d3340","hex_latitude":"05ec0da0","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577329152001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389139842497249280,"note":"Value kept but may cause issues"} 
[2026-08-22 20:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021413766497701888,"note":"Value kept but may cause issues"} 
[2026-08-22 20:43:00] 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-22 20:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787411452000,"timestamp_ms":1787411452000,"timestamp_seconds":1787411452,"priority":1,"record_length":96,"hex_timestamp":"000001a02a065060"} 
[2026-08-22 20: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-22 20:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 20: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":131,"data_length":795,"current_offset":136} 
[2026-08-22 20:43: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-22 20: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-22 20: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-22 20:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:43: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-22 20:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577329152001,"66":27321,"110":206,"87":13824,"24":37,"16":389139842497249280,"45":9021413766497701888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-22 20:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577329152001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:43:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-22 20:43:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-22 20:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389139842497249280,"km_value":389139842497249.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021413766497701888,"description":"Unknown IO ID 45"} 
[2026-08-22 20:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577329152001,"power":27321,"unknown_110":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":9021413766497701888}} 
[2026-08-22 20:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":160271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:43:00] local.INFO: GPS data processed {"connection_id":160271,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:43:00] local.INFO: Acknowledgment sent {"connection_id":160271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:43:29] local.INFO: TCP Data received {"connection_id":162641,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:43:29] local.INFO: Processing buffer {"connection_id":162641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:43:29] local.INFO: Packet analysis {"connection_id":162641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:43:29] local.INFO: Extracted packet for processing {"connection_id":162641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:43:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577257216001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:43:29] 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-22 20:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787411462000,"timestamp_ms":1787411462000,"timestamp_seconds":1787411462,"priority":1,"record_length":96,"hex_timestamp":"000001a02a067770"} 
[2026-08-22 20: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-22 20:43:29] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:43:29] 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-22 20: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-22 20: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-22 20:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577257216001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577257216001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:43:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:43:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577257216001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":162641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:43:29] local.INFO: GPS data processed {"connection_id":162641,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:43:29] local.INFO: Acknowledgment sent {"connection_id":162641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:43:32] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a07e6a0012d7d3fc005ee13e0000b00012d..."} 
[2026-08-22 20:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a07e6a0012d7d3fc005ee13e0000b00012d..."} 
[2026-08-22 20:43:32] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a07e6a0012d7d3fc005ee13e0000b00012d..."} 
[2026-08-22 20:43:32] local.INFO: Packet analysis {"connection_id":160271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a07"} 
[2026-08-22 20:43:32] local.INFO: Extracted packet for processing {"connection_id":160271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a07"} 
[2026-08-22 20:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99488736,"longitude_deg":76.318304,"latitude_deg":9.9488736,"altitude":11,"angle":1,"satellites":45,"speed":54,"hex_longitude":"2d7d3fc0","hex_latitude":"05ee13e0","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577356544001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389146276358258688,"note":"Value kept but may cause issues"} 
[2026-08-22 20:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203740514304,"note":"Value kept but may cause issues"} 
[2026-08-22 20:43:32] 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-22 20:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787411556000,"timestamp_ms":1787411556000,"timestamp_seconds":1787411556,"priority":1,"record_length":96,"hex_timestamp":"000001a02a07e6a0"} 
[2026-08-22 20: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-22 20:43: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-22 20: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":196,"data_length":795,"current_offset":136} 
[2026-08-22 20:43: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-22 20: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-22 20: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-22 20:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:43: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-22 20:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577356544001,"66":27245,"157":206,"87":11264,"24":54,"16":389146276358258688,"45":9024932203740514304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-22 20:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577356544001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:43:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 20:43:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-22 20:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389146276358258688,"km_value":389146276358258.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203740514304,"description":"Unknown IO ID 45"} 
[2026-08-22 20:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577356544001,"power":27245,"unknown_157":206,"unknown_87":11264,"ignition":54,"odometer":null,"unknown_45":9024932203740514304}} 
[2026-08-22 20:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":160271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:43:32] local.INFO: GPS data processed {"connection_id":160271,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:43:32] local.INFO: Acknowledgment sent {"connection_id":160271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:43:49] local.INFO: TCP Data received {"connection_id":162642,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:43:49] local.INFO: Processing buffer {"connection_id":162642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:43:49] local.INFO: IMEI packet received {"connection_id":162642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":162642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:43:52] local.INFO: TCP Data received {"connection_id":160049,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:43:52] local.INFO: Processing buffer {"connection_id":160049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:43:52] local.INFO: IMEI packet received {"connection_id":160049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":160049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:43:57] local.INFO: TCP Data received {"connection_id":160049,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:43:57] local.INFO: Processing buffer {"connection_id":160049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:43:57] local.INFO: IMEI packet received {"connection_id":160049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":160049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:43:58] local.INFO: TCP Data received {"connection_id":160049,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:43:58] local.INFO: Processing buffer {"connection_id":160049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:43:58] local.INFO: Packet analysis {"connection_id":160049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:43:58] local.INFO: Extracted packet for processing {"connection_id":160049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:43:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577257216001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:43:58] 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-22 20:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787411462000,"timestamp_ms":1787411462000,"timestamp_seconds":1787411462,"priority":1,"record_length":96,"hex_timestamp":"000001a02a067770"} 
[2026-08-22 20: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-22 20:43:58] 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-22 20:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577257216001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577257216001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:43:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:43:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577257216001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":160049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:43:58] local.INFO: GPS data processed {"connection_id":160049,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:43:58] local.INFO: Acknowledgment sent {"connection_id":160049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:44:07] local.INFO: TCP Data received {"connection_id":162642,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:44:07] local.INFO: Processing buffer {"connection_id":162642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:44:07] local.INFO: IMEI packet received {"connection_id":162642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":162642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:44:09] local.INFO: TCP Data received {"connection_id":162642,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:44:09] local.INFO: Processing buffer {"connection_id":162642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:44:09] local.INFO: IMEI packet received {"connection_id":162642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":162642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:44:10] local.INFO: TCP Data received {"connection_id":162642,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0801f8012d7d408005ee39d8000b00012d..."} 
[2026-08-22 20:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0801f8012d7d408005ee39d8000b00012d..."} 
[2026-08-22 20:44:10] local.INFO: Processing buffer {"connection_id":162642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0801f8012d7d408005ee39d8000b00012d..."} 
[2026-08-22 20:44:10] local.INFO: Packet analysis {"connection_id":162642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a08"} 
[2026-08-22 20:44:10] local.INFO: Extracted packet for processing {"connection_id":162642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a08"} 
[2026-08-22 20:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":99498456,"longitude_deg":76.3183232,"latitude_deg":9.9498456,"altitude":11,"angle":1,"satellites":45,"speed":56,"hex_longitude":"2d7d4080","hex_latitude":"05ee39d8","is_valid_coordinates":true} 
[2026-08-22 20:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577358336001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389146748804661248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309975412736,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:10] 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-22 20:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787411563000,"timestamp_ms":1787411563000,"timestamp_seconds":1787411563,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0801f8"} 
[2026-08-22 20:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:44: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-22 20:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 20:44: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-22 20:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":162642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":162642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":162642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577358336001,"66":27397,"157":206,"87":11264,"24":56,"16":389146748804661248,"45":9025143309975412736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-22 20:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577358336001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:44:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 20:44:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-22 20:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389146748804661248,"km_value":389146748804661.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309975412736,"description":"Unknown IO ID 45"} 
[2026-08-22 20:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577358336001,"power":27397,"unknown_157":206,"unknown_87":11264,"ignition":56,"odometer":null,"unknown_45":9025143309975412736}} 
[2026-08-22 20:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":162642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:44:10] local.INFO: GPS data processed {"connection_id":162642,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:44:10] local.INFO: Acknowledgment sent {"connection_id":162642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:44:11] local.INFO: TCP Data received {"connection_id":162642,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a081d50012d7d410005ee5e28000c01672d..."} 
[2026-08-22 20:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a081d50012d7d410005ee5e28000c01672d..."} 
[2026-08-22 20:44:11] local.INFO: Processing buffer {"connection_id":162642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a081d50012d7d410005ee5e28000c01672d..."} 
[2026-08-22 20:44:11] local.INFO: Packet analysis {"connection_id":162642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a08"} 
[2026-08-22 20:44:11] local.INFO: Extracted packet for processing {"connection_id":162642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a08"} 
[2026-08-22 20:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":99507752,"longitude_deg":76.318336,"latitude_deg":9.9507752,"altitude":12,"angle":359,"satellites":45,"speed":51,"hex_longitude":"2d7d4100","hex_latitude":"05ee5e28","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577360128001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389147199776227328,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025354416210434048,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:11] 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-22 20:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787411570000,"timestamp_ms":1787411570000,"timestamp_seconds":1787411570,"priority":1,"record_length":96,"hex_timestamp":"000001a02a081d50"} 
[2026-08-22 20: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-22 20:44: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-22 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 20:44:11] 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-22 20: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-22 20: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-22 20:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":162642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":162642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":162642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577360128001,"66":27343,"157":206,"87":11264,"24":51,"16":389147199776227328,"45":9025354416210434048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-22 20:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577360128001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:44:11] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 20:44:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-22 20:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389147199776227328,"km_value":389147199776227.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025354416210434048,"description":"Unknown IO ID 45"} 
[2026-08-22 20:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577360128001,"power":27343,"unknown_157":206,"unknown_87":11264,"ignition":51,"odometer":null,"unknown_45":9025354416210434048}} 
[2026-08-22 20:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":162642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:44:11] local.INFO: GPS data processed {"connection_id":162642,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:44:11] local.INFO: Acknowledgment sent {"connection_id":162642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:44:29] local.INFO: TCP Data received {"connection_id":160049,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:44:29] local.INFO: Processing buffer {"connection_id":160049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:44:29] local.INFO: Packet analysis {"connection_id":160049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:44:29] local.INFO: Extracted packet for processing {"connection_id":160049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:44:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577257216001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:29] 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-22 20:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787411462000,"timestamp_ms":1787411462000,"timestamp_seconds":1787411462,"priority":1,"record_length":96,"hex_timestamp":"000001a02a067770"} 
[2026-08-22 20: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-22 20:44:29] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:44:29] 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-22 20: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-22 20: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-22 20:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577257216001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577257216001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:44:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:44:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577257216001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":160049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:44:29] local.INFO: GPS data processed {"connection_id":160049,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:44:29] local.INFO: Acknowledgment sent {"connection_id":160049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:44:48] local.INFO: TCP Data received {"connection_id":161219,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:44:48] local.INFO: Processing buffer {"connection_id":161219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:44:48] local.INFO: IMEI packet received {"connection_id":161219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":161219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:44:49] local.INFO: TCP Data received {"connection_id":161219,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:44:49] local.INFO: Processing buffer {"connection_id":161219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:44:49] local.INFO: IMEI packet received {"connection_id":161219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":161219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:44:51] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:44:51] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:44:51] local.INFO: IMEI packet received {"connection_id":160272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":160272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:44:53] local.INFO: TCP Data received {"connection_id":161219,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:44:53] local.INFO: Processing buffer {"connection_id":161219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:44:53] local.INFO: IMEI packet received {"connection_id":161219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":161219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:44:54] local.INFO: TCP Data received {"connection_id":161219,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0838a8012d7d410005ee8188000d00002e..."} 
[2026-08-22 20:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0838a8012d7d410005ee8188000d00002e..."} 
[2026-08-22 20:44:54] local.INFO: Processing buffer {"connection_id":161219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0838a8012d7d410005ee8188000d00002e..."} 
[2026-08-22 20:44:54] local.INFO: Packet analysis {"connection_id":161219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a08"} 
[2026-08-22 20:44:54] local.INFO: Extracted packet for processing {"connection_id":161219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a08"} 
[2026-08-22 20:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":99516808,"longitude_deg":76.318336,"latitude_deg":9.9516808,"altitude":13,"angle":0,"satellites":46,"speed":50,"hex_longitude":"2d7d4100","hex_latitude":"05ee8188","is_valid_coordinates":true} 
[2026-08-22 20:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577361920001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389147637862891520,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495153701169152,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:54] 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-22 20:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787411577000,"timestamp_ms":1787411577000,"timestamp_seconds":1787411577,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0838a8"} 
[2026-08-22 20:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:44: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-22 20:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 20:44: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-22 20:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:44:54] 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-22 20:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577361920001,"66":27321,"157":206,"87":11264,"24":50,"16":389147637862891520,"45":9025495153701169152},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-22 20:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577361920001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:44:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 20:44:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-22 20:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389147637862891520,"km_value":389147637862891.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495153701169152,"description":"Unknown IO ID 45"} 
[2026-08-22 20:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577361920001,"power":27321,"unknown_157":206,"unknown_87":11264,"ignition":50,"odometer":null,"unknown_45":9025495153701169152}} 
[2026-08-22 20:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":161219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:44:54] local.INFO: GPS data processed {"connection_id":161219,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:44:54] local.INFO: Acknowledgment sent {"connection_id":161219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:44:57] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:44:57] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:44:57] local.INFO: IMEI packet received {"connection_id":160272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":160272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:44:58] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:44:58] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:44:58] local.INFO: Packet analysis {"connection_id":160272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:44:58] local.INFO: Extracted packet for processing {"connection_id":160272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:44:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577257216001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:58] 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-22 20:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787411462000,"timestamp_ms":1787411462000,"timestamp_seconds":1787411462,"priority":1,"record_length":96,"hex_timestamp":"000001a02a067770"} 
[2026-08-22 20: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-22 20:44:58] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577257216001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577257216001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:44:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:44:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577257216001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":160272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:44:58] local.INFO: GPS data processed {"connection_id":160272,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:44:58] local.INFO: Acknowledgment sent {"connection_id":160272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:44:58] local.INFO: TCP Data received {"connection_id":161219,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a085400012d7d418005eea4f8000e00002f..."} 
[2026-08-22 20:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a085400012d7d418005eea4f8000e00002f..."} 
[2026-08-22 20:44:58] local.INFO: Processing buffer {"connection_id":161219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a085400012d7d418005eea4f8000e00002f..."} 
[2026-08-22 20:44:58] local.INFO: Packet analysis {"connection_id":161219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a08"} 
[2026-08-22 20:44:58] local.INFO: Extracted packet for processing {"connection_id":161219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a08"} 
[2026-08-22 20:44:58] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":99525880,"longitude_deg":76.3183488,"latitude_deg":9.952588,"altitude":14,"angle":0,"satellites":47,"speed":51,"hex_longitude":"2d7d4180","hex_latitude":"05eea4f8","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577363712001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389148080244523008,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495153703487488,"note":"Value kept but may cause issues"} 
[2026-08-22 20:44:58] 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-22 20:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787411584000,"timestamp_ms":1787411584000,"timestamp_seconds":1787411584,"priority":1,"record_length":96,"hex_timestamp":"000001a02a085400"} 
[2026-08-22 20: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-22 20:44: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-22 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 20:44: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-22 20: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-22 20: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-22 20:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:44:58] 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-22 20:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577363712001,"66":27300,"157":206,"87":11264,"24":51,"16":389148080244523008,"45":9025495153703487488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-22 20:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577363712001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:44:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 20:44:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-22 20:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389148080244523008,"km_value":389148080244523.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495153703487488,"description":"Unknown IO ID 45"} 
[2026-08-22 20:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577363712001,"power":27300,"unknown_157":206,"unknown_87":11264,"ignition":51,"odometer":null,"unknown_45":9025495153703487488}} 
[2026-08-22 20:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":161219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:44:58] local.INFO: GPS data processed {"connection_id":161219,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:44:58] local.INFO: Acknowledgment sent {"connection_id":161219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:45:29] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:45:29] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:45:29] local.INFO: Packet analysis {"connection_id":160272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:45:29] local.INFO: Extracted packet for processing {"connection_id":160272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:45:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577257216001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:45:29] 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-22 20:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787411462000,"timestamp_ms":1787411462000,"timestamp_seconds":1787411462,"priority":1,"record_length":96,"hex_timestamp":"000001a02a067770"} 
[2026-08-22 20: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-22 20:45:29] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:45:29] 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-22 20: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-22 20: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-22 20:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577257216001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577257216001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:45:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577257216001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":160272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:45:29] local.INFO: GPS data processed {"connection_id":160272,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:45:29] local.INFO: Acknowledgment sent {"connection_id":160272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:45:32] local.INFO: TCP Data received {"connection_id":161219,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a086f58012d7d424005eec8b0001000012f..."} 
[2026-08-22 20:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a086f58012d7d424005eec8b0001000012f..."} 
[2026-08-22 20:45:32] local.INFO: Processing buffer {"connection_id":161219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a086f58012d7d424005eec8b0001000012f..."} 
[2026-08-22 20:45:32] local.INFO: Packet analysis {"connection_id":161219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a08"} 
[2026-08-22 20:45:32] local.INFO: Extracted packet for processing {"connection_id":161219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a08"} 
[2026-08-22 20:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763183680,"raw_latitude":99535024,"longitude_deg":76.318368,"latitude_deg":9.9535024,"altitude":16,"angle":1,"satellites":47,"speed":52,"hex_longitude":"2d7d4240","hex_latitude":"05eec8b0","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577365504001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389148522626154496,"note":"Value kept but may cause issues"} 
[2026-08-22 20:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635891194165248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:45:32] 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-22 20:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787411591000,"timestamp_ms":1787411591000,"timestamp_seconds":1787411591,"priority":1,"record_length":96,"hex_timestamp":"000001a02a086f58"} 
[2026-08-22 20: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-22 20: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-22 20: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":164,"data_length":795,"current_offset":136} 
[2026-08-22 20:45: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-22 20: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-22 20: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-22 20:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:45: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-22 20:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577365504001,"66":27267,"157":206,"87":11264,"24":52,"16":389148522626154496,"45":9025635891194165248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-22 20:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577365504001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:45:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 20:45:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-22 20:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389148522626154496,"km_value":389148522626154.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635891194165248,"description":"Unknown IO ID 45"} 
[2026-08-22 20:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577365504001,"power":27267,"unknown_157":206,"unknown_87":11264,"ignition":52,"odometer":null,"unknown_45":9025635891194165248}} 
[2026-08-22 20:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":161219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:45:32] local.INFO: GPS data processed {"connection_id":161219,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:45:32] local.INFO: Acknowledgment sent {"connection_id":161219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:45:47] local.INFO: TCP Data received {"connection_id":161220,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:45:47] local.INFO: Processing buffer {"connection_id":161220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:45:47] local.INFO: IMEI packet received {"connection_id":161220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":161220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:45:48] local.INFO: TCP Data received {"connection_id":161220,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:45:48] local.INFO: Processing buffer {"connection_id":161220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:45:48] local.INFO: IMEI packet received {"connection_id":161220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":161220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:45:51] local.INFO: TCP Data received {"connection_id":160273,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:45:51] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:45:51] local.INFO: IMEI packet received {"connection_id":160273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":160273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:45:53] local.INFO: TCP Data received {"connection_id":161220,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:45:53] local.INFO: Processing buffer {"connection_id":161220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:45:53] local.INFO: IMEI packet received {"connection_id":161220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":161220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:45:54] local.INFO: TCP Data received {"connection_id":161220,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a089280012d7d430005eeee38001000022e..."} 
[2026-08-22 20:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a089280012d7d430005eeee38001000022e..."} 
[2026-08-22 20:45:54] local.INFO: Processing buffer {"connection_id":161220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a089280012d7d430005eeee38001000022e..."} 
[2026-08-22 20:45:54] local.INFO: Packet analysis {"connection_id":161220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a08"} 
[2026-08-22 20:45:54] local.INFO: Extracted packet for processing {"connection_id":161220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a08"} 
[2026-08-22 20:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":99544632,"longitude_deg":76.3183872,"latitude_deg":9.9544632,"altitude":16,"angle":2,"satellites":46,"speed":29,"hex_longitude":"2d7d4300","hex_latitude":"05eeee38","is_valid_coordinates":true} 
[2026-08-22 20:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577367296001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389148986482622464,"note":"Value kept but may cause issues"} 
[2026-08-22 20:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846997429039104,"note":"Value kept but may cause issues"} 
[2026-08-22 20:45:54] 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-22 20:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787411600000,"timestamp_ms":1787411600000,"timestamp_seconds":1787411600,"priority":1,"record_length":96,"hex_timestamp":"000001a02a089280"} 
[2026-08-22 20:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:45: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-22 20:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 20:45: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-22 20:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:45:54] 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-22 20:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577367296001,"66":27267,"157":206,"87":11264,"24":29,"16":389148986482622464,"45":9025846997429039104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-22 20:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577367296001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:45:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-22 20:45:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-22 20:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389148986482622464,"km_value":389148986482622.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846997429039104,"description":"Unknown IO ID 45"} 
[2026-08-22 20:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577367296001,"power":27267,"unknown_157":206,"unknown_87":11264,"ignition":29,"odometer":null,"unknown_45":9025846997429039104}} 
[2026-08-22 20:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":161220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:45:54] local.INFO: GPS data processed {"connection_id":161220,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:45:54] local.INFO: Acknowledgment sent {"connection_id":161220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:45:57] local.INFO: TCP Data received {"connection_id":160273,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:45:57] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:45:57] local.INFO: IMEI packet received {"connection_id":160273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":160273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:45:58] local.INFO: TCP Data received {"connection_id":160273,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:45:58] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:45:58] local.INFO: Packet analysis {"connection_id":160273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:45:58] local.INFO: Extracted packet for processing {"connection_id":160273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:45:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577257216001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:45:58] 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-22 20:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787411462000,"timestamp_ms":1787411462000,"timestamp_seconds":1787411462,"priority":1,"record_length":96,"hex_timestamp":"000001a02a067770"} 
[2026-08-22 20:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:45:58] 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-22 20:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577257216001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577257216001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:45:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:45:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577257216001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":160273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:45:58] local.INFO: GPS data processed {"connection_id":160273,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:45:58] local.INFO: Acknowledgment sent {"connection_id":160273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:46:25] local.INFO: TCP Data received {"connection_id":161220,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0a76e0012d7d3e4005f0cc88001101662e..."} 
[2026-08-22 20:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0a76e0012d7d3e4005f0cc88001101662e..."} 
[2026-08-22 20:46:25] local.INFO: Processing buffer {"connection_id":161220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0a76e0012d7d3e4005f0cc88001101662e..."} 
[2026-08-22 20:46:25] local.INFO: Packet analysis {"connection_id":161220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0a"} 
[2026-08-22 20:46:25] local.INFO: Extracted packet for processing {"connection_id":161220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0a"} 
[2026-08-22 20:46:25] local.INFO: GPS Element Parsed {"raw_longitude":763182656,"raw_latitude":99667080,"longitude_deg":76.3182656,"latitude_deg":9.966708,"altitude":17,"angle":358,"satellites":46,"speed":42,"hex_longitude":"2d7d3e40","hex_latitude":"05f0cc88","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577399296001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389154930717360128,"note":"Value kept but may cause issues"} 
[2026-08-22 20:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203785994240,"note":"Value kept but may cause issues"} 
[2026-08-22 20:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787411724000,"timestamp_ms":1787411724000,"timestamp_seconds":1787411724,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0a76e0"} 
[2026-08-22 20: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-22 20: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-22 20: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-22 20:46:25] 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-22 20: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-22 20: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-22 20:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:46: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-22 20:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577399296001,"66":27343,"116":206,"87":11264,"24":42,"16":389154930717360128,"45":9024932203785994240},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-08-22 20:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577399296001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:46:25] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-22 20:46:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-22 20:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389154930717360128,"km_value":389154930717360.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203785994240,"description":"Unknown IO ID 45"} 
[2026-08-22 20:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577399296001,"power":27343,"unknown_116":206,"unknown_87":11264,"ignition":42,"odometer":null,"unknown_45":9024932203785994240}} 
[2026-08-22 20:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":161220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:46:25] local.INFO: GPS data processed {"connection_id":161220,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:46:25] local.INFO: Acknowledgment sent {"connection_id":161220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:46:29] local.INFO: TCP Data received {"connection_id":160273,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:46:29] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a067770012d1b5ac00724fe70002600bb22..."} 
[2026-08-22 20:46:29] local.INFO: Packet analysis {"connection_id":160273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:46:29] local.INFO: Extracted packet for processing {"connection_id":160273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a06"} 
[2026-08-22 20:46:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577257216001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:46:29] 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-22 20:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787411462000,"timestamp_ms":1787411462000,"timestamp_seconds":1787411462,"priority":1,"record_length":96,"hex_timestamp":"000001a02a067770"} 
[2026-08-22 20: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-22 20:46:29] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:46:29] 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-22 20: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-22 20: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-22 20:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577257216001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577257216001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:46:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:46:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577257216001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":160273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:46:29] local.INFO: GPS data processed {"connection_id":160273,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:46:29] local.INFO: Acknowledgment sent {"connection_id":160273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:46:47] local.INFO: TCP Data received {"connection_id":161221,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:46:47] local.INFO: Processing buffer {"connection_id":161221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:46:47] local.INFO: IMEI packet received {"connection_id":161221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":161221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:46:48] local.INFO: TCP Data received {"connection_id":161221,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:46:48] local.INFO: Processing buffer {"connection_id":161221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:46:48] local.INFO: IMEI packet received {"connection_id":161221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":161221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:46:53] local.INFO: TCP Data received {"connection_id":161221,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:46:53] local.INFO: Processing buffer {"connection_id":161221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:46:53] local.INFO: IMEI packet received {"connection_id":161221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":161221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:46:53] local.INFO: TCP Data received {"connection_id":161221,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0a9a08012d7d3cc005f0f0100014016431..."} 
[2026-08-22 20:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0a9a08012d7d3cc005f0f0100014016431..."} 
[2026-08-22 20:46:53] local.INFO: Processing buffer {"connection_id":161221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0a9a08012d7d3cc005f0f0100014016431..."} 
[2026-08-22 20:46:53] local.INFO: Packet analysis {"connection_id":161221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0a"} 
[2026-08-22 20:46:53] local.INFO: Extracted packet for processing {"connection_id":161221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0a"} 
[2026-08-22 20:46:53] local.INFO: GPS Element Parsed {"raw_longitude":763182272,"raw_latitude":99676176,"longitude_deg":76.3182272,"latitude_deg":9.9676176,"altitude":20,"angle":356,"satellites":49,"speed":39,"hex_longitude":"2d7d3cc0","hex_latitude":"05f0f010","is_valid_coordinates":true} 
[2026-08-22 20:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577401344001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389155373098991616,"note":"Value kept but may cause issues"} 
[2026-08-22 20:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024721097556002816,"note":"Value kept but may cause issues"} 
[2026-08-22 20:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787411733000,"timestamp_ms":1787411733000,"timestamp_seconds":1787411733,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0a9a08"} 
[2026-08-22 20:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:46: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-22 20:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 20:46:53] 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-22 20:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:46:53] 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-22 20:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577401344001,"66":27300,"138":206,"87":13056,"24":39,"16":389155373098991616,"45":9024721097556002816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,87,24,16,45]} 
[2026-08-22 20:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577401344001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:46:53] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-22 20:46:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389155373098991616,"km_value":389155373098991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024721097556002816,"description":"Unknown IO ID 45"} 
[2026-08-22 20:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577401344001,"power":27300,"unknown_138":206,"unknown_87":13056,"ignition":39,"odometer":null,"unknown_45":9024721097556002816}} 
[2026-08-22 20:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":161221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:46:54] local.INFO: GPS data processed {"connection_id":161221,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:46:54] local.INFO: Acknowledgment sent {"connection_id":161221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:46:57] local.INFO: TCP Data received {"connection_id":160274,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:46:57] local.INFO: Processing buffer {"connection_id":160274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:46:57] local.INFO: IMEI packet received {"connection_id":160274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":160274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:47:02] local.INFO: TCP Data received {"connection_id":160274,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:47:02] local.INFO: Processing buffer {"connection_id":160274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:47:02] local.INFO: IMEI packet received {"connection_id":160274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":160274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:47:03] local.INFO: TCP Data received {"connection_id":160274,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:47:03] local.INFO: Processing buffer {"connection_id":160274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:47:03] local.INFO: Packet analysis {"connection_id":160274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:47:03] local.INFO: Extracted packet for processing {"connection_id":160274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:47:03] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577334272001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:03] 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-22 20:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787411763000,"timestamp_ms":1787411763000,"timestamp_seconds":1787411763,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0b0f38"} 
[2026-08-22 20:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:47:03] 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-22 20:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577334272001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577334272001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:47:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577334272001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":160274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:47:03] local.INFO: GPS data processed {"connection_id":160274,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:47:03] local.INFO: Acknowledgment sent {"connection_id":160274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:47:07] local.INFO: TCP Data received {"connection_id":160274,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:47:07] local.INFO: Processing buffer {"connection_id":160274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:47:07] local.INFO: Packet analysis {"connection_id":160274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:47:07] local.INFO: Extracted packet for processing {"connection_id":160274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577334272001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:07] 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-22 20:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787411763000,"timestamp_ms":1787411763000,"timestamp_seconds":1787411763,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0b0f38"} 
[2026-08-22 20: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-22 20:47:07] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577334272001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577334272001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:47:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577334272001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":160274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:47:07] local.INFO: GPS data processed {"connection_id":160274,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:47:07] local.INFO: Acknowledgment sent {"connection_id":160274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:47:25] local.INFO: TCP Data received {"connection_id":161221,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0abd30012d7d3a8005f112c00016016531..."} 
[2026-08-22 20:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0abd30012d7d3a8005f112c00016016531..."} 
[2026-08-22 20:47:25] local.INFO: Processing buffer {"connection_id":161221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0abd30012d7d3a8005f112c00016016531..."} 
[2026-08-22 20:47:25] local.INFO: Packet analysis {"connection_id":161221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0a"} 
[2026-08-22 20:47:25] local.INFO: Extracted packet for processing {"connection_id":161221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0a"} 
[2026-08-22 20:47:25] local.INFO: GPS Element Parsed {"raw_longitude":763181696,"raw_latitude":99685056,"longitude_deg":76.3181696,"latitude_deg":9.9685056,"altitude":22,"angle":357,"satellites":49,"speed":40,"hex_longitude":"2d7d3a80","hex_latitude":"05f112c0","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577403648001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389155806890688512,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024298885093265408,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787411742000,"timestamp_ms":1787411742000,"timestamp_seconds":1787411742,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0abd30"} 
[2026-08-22 20: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-22 20:47: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-22 20: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":164,"data_length":795,"current_offset":136} 
[2026-08-22 20:47:25] 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-22 20: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-22 20: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-22 20:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:47: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-22 20:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577403648001,"66":27343,"138":206,"87":13056,"24":40,"16":389155806890688512,"45":9024298885093265408},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,87,24,16,45]} 
[2026-08-22 20:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577403648001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:47:25] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-22 20:47:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389155806890688512,"km_value":389155806890688.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024298885093265408,"description":"Unknown IO ID 45"} 
[2026-08-22 20:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577403648001,"power":27343,"unknown_138":206,"unknown_87":13056,"ignition":40,"odometer":null,"unknown_45":9024298885093265408}} 
[2026-08-22 20:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":161221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:47:25] local.INFO: GPS data processed {"connection_id":161221,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:47:25] local.INFO: Acknowledgment sent {"connection_id":161221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:47:49] local.INFO: TCP Data received {"connection_id":161222,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:47:49] local.INFO: Processing buffer {"connection_id":161222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:47:49] local.INFO: IMEI packet received {"connection_id":161222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":161222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:47:50] local.INFO: TCP Data received {"connection_id":161222,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:47:50] local.INFO: Processing buffer {"connection_id":161222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:47:50] local.INFO: IMEI packet received {"connection_id":161222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":161222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:47:52] local.INFO: TCP Data received {"connection_id":161223,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:47:52] local.INFO: Processing buffer {"connection_id":161223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:47:52] local.INFO: IMEI packet received {"connection_id":161223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":161223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:47:53] local.INFO: TCP Data received {"connection_id":161222,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:47:53] local.INFO: Processing buffer {"connection_id":161222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:47:53] local.INFO: IMEI packet received {"connection_id":161222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":161222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:47:54] local.INFO: TCP Data received {"connection_id":161222,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0ae058012d7d390005f136600015016431..."} 
[2026-08-22 20:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0ae058012d7d390005f136600015016431..."} 
[2026-08-22 20:47:54] local.INFO: Processing buffer {"connection_id":161222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0ae058012d7d390005f136600015016431..."} 
[2026-08-22 20:47:54] local.INFO: Packet analysis {"connection_id":161222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0a"} 
[2026-08-22 20:47:54] local.INFO: Extracted packet for processing {"connection_id":161222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0a"} 
[2026-08-22 20:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":99694176,"longitude_deg":76.3181312,"latitude_deg":9.9694176,"altitude":21,"angle":356,"satellites":49,"speed":32,"hex_longitude":"2d7d3900","hex_latitude":"05f13660","is_valid_coordinates":true} 
[2026-08-22 20:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577405952001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389156249272320000,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665566397939712,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787411751000,"timestamp_ms":1787411751000,"timestamp_seconds":1787411751,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0ae058"} 
[2026-08-22 20:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:47: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-22 20:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 20:47: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-22 20:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:47:54] 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-22 20:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577405952001,"66":27267,"138":206,"87":13056,"24":32,"16":389156249272320000,"45":9023665566397939712},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,87,24,16,45]} 
[2026-08-22 20:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577405952001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:47:54] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-22 20:47:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389156249272320000,"km_value":389156249272320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665566397939712,"description":"Unknown IO ID 45"} 
[2026-08-22 20:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577405952001,"power":27267,"unknown_138":206,"unknown_87":13056,"ignition":32,"odometer":null,"unknown_45":9023665566397939712}} 
[2026-08-22 20:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":161222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:47:54] local.INFO: GPS data processed {"connection_id":161222,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:47:54] local.INFO: Acknowledgment sent {"connection_id":161222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:47:57] local.INFO: TCP Data received {"connection_id":161223,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:47:57] local.INFO: Processing buffer {"connection_id":161223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:47:57] local.INFO: IMEI packet received {"connection_id":161223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":161223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:47:58] local.INFO: TCP Data received {"connection_id":161223,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:47:58] local.INFO: Processing buffer {"connection_id":161223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:47:58] local.INFO: Packet analysis {"connection_id":161223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:47:58] local.INFO: Extracted packet for processing {"connection_id":161223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:47:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:47: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-22 20:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577334272001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:58] 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-22 20:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787411763000,"timestamp_ms":1787411763000,"timestamp_seconds":1787411763,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0b0f38"} 
[2026-08-22 20:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:47:58] 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-22 20:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:47: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-22 20:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577334272001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577334272001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:47:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:47:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577334272001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":161223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:47:58] local.INFO: GPS data processed {"connection_id":161223,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:47:58] local.INFO: Acknowledgment sent {"connection_id":161223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:47:59] local.INFO: TCP Data received {"connection_id":161222,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0b1320012d7d37c005f14b48001301582f..."} 
[2026-08-22 20:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0b1320012d7d37c005f14b48001301582f..."} 
[2026-08-22 20:47:59] local.INFO: Processing buffer {"connection_id":161222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0b1320012d7d37c005f14b48001301582f..."} 
[2026-08-22 20:47:59] local.INFO: Packet analysis {"connection_id":161222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:47:59] local.INFO: Extracted packet for processing {"connection_id":161222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":99699528,"longitude_deg":76.3180992,"latitude_deg":9.9699528,"altitude":19,"angle":344,"satellites":47,"speed":7,"hex_longitude":"2d7d37c0","hex_latitude":"05f14b48","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577408256001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389156511265325056,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353935208448,"note":"Value kept but may cause issues"} 
[2026-08-22 20:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787411764000,"timestamp_ms":1787411764000,"timestamp_seconds":1787411764,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0b1320"} 
[2026-08-22 20: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-22 20:47: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-22 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 20:47: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-22 20: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-22 20: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-22 20:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20: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-22 20:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577408256001,"66":27343,"138":206,"87":13056,"24":7,"16":389156511265325056,"45":9023243353935208448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,87,24,16,45]} 
[2026-08-22 20:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577408256001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:47:59] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-22 20:47:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389156511265325056,"km_value":389156511265325.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353935208448,"description":"Unknown IO ID 45"} 
[2026-08-22 20:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577408256001,"power":27343,"unknown_138":206,"unknown_87":13056,"ignition":7,"odometer":null,"unknown_45":9023243353935208448}} 
[2026-08-22 20:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":161222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:47:59] local.INFO: GPS data processed {"connection_id":161222,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:47:59] local.INFO: Acknowledgment sent {"connection_id":161222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:48:29] local.INFO: TCP Data received {"connection_id":161223,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:48:29] local.INFO: Processing buffer {"connection_id":161223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:48:29] local.INFO: Packet analysis {"connection_id":161223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:48:29] local.INFO: Extracted packet for processing {"connection_id":161223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:48:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577334272001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:48:29] 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-22 20:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787411763000,"timestamp_ms":1787411763000,"timestamp_seconds":1787411763,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0b0f38"} 
[2026-08-22 20: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-22 20:48:29] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577334272001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577334272001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:48:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:48:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577334272001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":161223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:48:29] local.INFO: GPS data processed {"connection_id":161223,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:48:29] local.INFO: Acknowledgment sent {"connection_id":161223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:48:31] local.INFO: TCP Data received {"connection_id":161222,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0b26a8012d7d370005f14e78001201642e..."} 
[2026-08-22 20:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0b26a8012d7d370005f14e78001201642e..."} 
[2026-08-22 20:48:31] local.INFO: Processing buffer {"connection_id":161222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0b26a8012d7d370005f14e78001201642e..."} 
[2026-08-22 20:48:31] local.INFO: Packet analysis {"connection_id":161222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:48:31] local.INFO: Extracted packet for processing {"connection_id":161222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:48:31] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99700344,"longitude_deg":76.31808,"latitude_deg":9.9700344,"altitude":18,"angle":356,"satellites":46,"speed":5,"hex_longitude":"2d7d3700","hex_latitude":"05f14e78","is_valid_coordinates":true} 
[2026-08-22 20:48: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-22 20:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577411584001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389156549920030720,"note":"Value kept but may cause issues"} 
[2026-08-22 20:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022891510215690240,"note":"Value kept but may cause issues"} 
[2026-08-22 20:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787411769000,"timestamp_ms":1787411769000,"timestamp_seconds":1787411769,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0b26a8"} 
[2026-08-22 20:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:48: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-22 20:48: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-22 20:48: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-22 20:48: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-22 20:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:48: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-22 20:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577411584001,"66":27376,"138":206,"87":13056,"24":5,"16":389156549920030720,"45":9022891510215690240},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,87,24,16,45]} 
[2026-08-22 20:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577411584001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:48:31] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-22 20:48:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389156549920030720,"km_value":389156549920030.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022891510215690240,"description":"Unknown IO ID 45"} 
[2026-08-22 20:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577411584001,"power":27376,"unknown_138":206,"unknown_87":13056,"ignition":5,"odometer":null,"unknown_45":9022891510215690240}} 
[2026-08-22 20:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":161222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:48:31] local.INFO: GPS data processed {"connection_id":161222,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:48:31] local.INFO: Acknowledgment sent {"connection_id":161222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:48:48] local.INFO: TCP Data received {"connection_id":162643,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:48:48] local.INFO: Processing buffer {"connection_id":162643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:48:48] local.INFO: IMEI packet received {"connection_id":162643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":162643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:48:52] local.INFO: TCP Data received {"connection_id":160275,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:48:52] local.INFO: Processing buffer {"connection_id":160275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:48:52] local.INFO: IMEI packet received {"connection_id":160275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":160275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:48:53] local.INFO: TCP Data received {"connection_id":162643,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:48:53] local.INFO: Processing buffer {"connection_id":162643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:48:53] local.INFO: IMEI packet received {"connection_id":162643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":162643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:48:55] local.INFO: TCP Data received {"connection_id":162643,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0b78b0012d7d360005f15588001201632f..."} 
[2026-08-22 20:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0b78b0012d7d360005f15588001201632f..."} 
[2026-08-22 20:48:55] local.INFO: Processing buffer {"connection_id":162643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0b78b0012d7d360005f15588001201632f..."} 
[2026-08-22 20:48:55] local.INFO: Packet analysis {"connection_id":162643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:48:55] local.INFO: Extracted packet for processing {"connection_id":162643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:48:55] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99702152,"longitude_deg":76.3180544,"latitude_deg":9.9702152,"altitude":18,"angle":355,"satellites":47,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05f15588","is_valid_coordinates":true} 
[2026-08-22 20:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577412864001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389156644409311232,"note":"Value kept but may cause issues"} 
[2026-08-22 20:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403983366144,"note":"Value kept but may cause issues"} 
[2026-08-22 20:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787411790000,"timestamp_ms":1787411790000,"timestamp_seconds":1787411790,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0b78b0"} 
[2026-08-22 20:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20: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-22 20:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 20:48: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-22 20:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:48: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-22 20:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577412864001,"66":27169,"138":206,"87":13056,"24":0,"16":389156644409311232,"45":9022680403983366144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,87,24,16,45]} 
[2026-08-22 20:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577412864001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:48:55] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-22 20:48:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389156644409311232,"km_value":389156644409311.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403983366144,"description":"Unknown IO ID 45"} 
[2026-08-22 20:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577412864001,"power":27169,"unknown_138":206,"unknown_87":13056,"ignition":0,"odometer":null,"unknown_45":9022680403983366144}} 
[2026-08-22 20:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":162643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:48:56] local.INFO: GPS data processed {"connection_id":162643,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:48:56] local.INFO: Acknowledgment sent {"connection_id":162643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:48:57] local.INFO: TCP Data received {"connection_id":160275,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:48:57] local.INFO: Processing buffer {"connection_id":160275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:48:57] local.INFO: IMEI packet received {"connection_id":160275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":160275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:48:58] local.INFO: TCP Data received {"connection_id":160275,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:48:58] local.INFO: Processing buffer {"connection_id":160275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:48:58] local.INFO: Packet analysis {"connection_id":160275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:48:58] local.INFO: Extracted packet for processing {"connection_id":160275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:48:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577334272001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:48:58] 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-22 20:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787411763000,"timestamp_ms":1787411763000,"timestamp_seconds":1787411763,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0b0f38"} 
[2026-08-22 20:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:48:58] 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-22 20:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577334272001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577334272001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:48:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:48:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577334272001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":160275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:48:58] local.INFO: GPS data processed {"connection_id":160275,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:48:58] local.INFO: Acknowledgment sent {"connection_id":160275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:49:27] local.INFO: TCP Data received {"connection_id":162643,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0bcab8012d7d360005f15a78001101632e..."} 
[2026-08-22 20:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0bcab8012d7d360005f15a78001101632e..."} 
[2026-08-22 20:49:27] local.INFO: Processing buffer {"connection_id":162643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0bcab8012d7d360005f15a78001101632e..."} 
[2026-08-22 20:49:27] local.INFO: Packet analysis {"connection_id":162643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:49:27] local.INFO: Extracted packet for processing {"connection_id":162643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99703416,"longitude_deg":76.3180544,"latitude_deg":9.9703416,"altitude":17,"angle":355,"satellites":46,"speed":4,"hex_longitude":"2d7d3600","hex_latitude":"05f15a78","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577418240001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389156704538853376,"note":"Value kept but may cause issues"} 
[2026-08-22 20:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398929007118336,"note":"Value kept but may cause issues"} 
[2026-08-22 20:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787411811000,"timestamp_ms":1787411811000,"timestamp_seconds":1787411811,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0bcab8"} 
[2026-08-22 20: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-22 20:49: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-22 20: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-22 20:49:27] 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-22 20: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-22 20: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-22 20:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:49:27] 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-22 20:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577418240001,"66":27343,"138":206,"87":13056,"24":4,"16":389156704538853376,"45":9022398929007118336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,87,24,16,45]} 
[2026-08-22 20:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577418240001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:49:27] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-22 20:49:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389156704538853376,"km_value":389156704538853.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398929007118336,"description":"Unknown IO ID 45"} 
[2026-08-22 20:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577418240001,"power":27343,"unknown_138":206,"unknown_87":13056,"ignition":4,"odometer":null,"unknown_45":9022398929007118336}} 
[2026-08-22 20:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":162643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:49:27] local.INFO: GPS data processed {"connection_id":162643,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:49:27] local.INFO: Acknowledgment sent {"connection_id":162643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:49:29] local.INFO: TCP Data received {"connection_id":160275,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:49:29] local.INFO: Processing buffer {"connection_id":160275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:49:29] local.INFO: Packet analysis {"connection_id":160275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:49:29] local.INFO: Extracted packet for processing {"connection_id":160275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577334272001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:49:29] 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-22 20:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787411763000,"timestamp_ms":1787411763000,"timestamp_seconds":1787411763,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0b0f38"} 
[2026-08-22 20:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:49:29] 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-22 20:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577334272001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577334272001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:49:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577334272001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":160275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:49:29] local.INFO: GPS data processed {"connection_id":160275,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:49:29] local.INFO: Acknowledgment sent {"connection_id":160275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:49:48] local.INFO: TCP Data received {"connection_id":161224,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:49:48] local.INFO: Processing buffer {"connection_id":161224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:49:48] local.INFO: IMEI packet received {"connection_id":161224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":161224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:49:48] local.INFO: TCP Data received {"connection_id":161224,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:49:48] local.INFO: Processing buffer {"connection_id":161224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:49:48] local.INFO: IMEI packet received {"connection_id":161224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":161224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:49:51] local.INFO: TCP Data received {"connection_id":160276,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:49:51] local.INFO: Processing buffer {"connection_id":160276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:49:51] local.INFO: IMEI packet received {"connection_id":160276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":160276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:49:53] local.INFO: TCP Data received {"connection_id":161224,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:49:53] local.INFO: Processing buffer {"connection_id":161224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:49:53] local.INFO: IMEI packet received {"connection_id":161224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":161224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:49:54] local.INFO: TCP Data received {"connection_id":161224,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0c1cc0012d7d350005f163c8001101612f..."} 
[2026-08-22 20:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0c1cc0012d7d350005f163c8001101612f..."} 
[2026-08-22 20:49:54] local.INFO: Processing buffer {"connection_id":161224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0c1cc0012d7d350005f163c8001101612f..."} 
[2026-08-22 20:49:54] local.INFO: Packet analysis {"connection_id":161224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0c"} 
[2026-08-22 20:49:54] local.INFO: Extracted packet for processing {"connection_id":161224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0c"} 
[2026-08-22 20:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99705800,"longitude_deg":76.3180288,"latitude_deg":9.97058,"altitude":17,"angle":353,"satellites":47,"speed":6,"hex_longitude":"2d7d3500","hex_latitude":"05f163c8","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577423616001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389156824797937664,"note":"Value kept but may cause issues"} 
[2026-08-22 20:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398929007441920,"note":"Value kept but may cause issues"} 
[2026-08-22 20:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787411832000,"timestamp_ms":1787411832000,"timestamp_seconds":1787411832,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0c1cc0"} 
[2026-08-22 20: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-22 20: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-22 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 20:49: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-22 20: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-22 20: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-22 20:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:49:54] 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-22 20:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577423616001,"66":27071,"138":206,"87":13056,"24":6,"16":389156824797937664,"45":9022398929007441920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,87,24,16,45]} 
[2026-08-22 20:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577423616001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:49:54] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-22 20:49:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389156824797937664,"km_value":389156824797937.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398929007441920,"description":"Unknown IO ID 45"} 
[2026-08-22 20:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577423616001,"power":27071,"unknown_138":206,"unknown_87":13056,"ignition":6,"odometer":null,"unknown_45":9022398929007441920}} 
[2026-08-22 20:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":161224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:49:54] local.INFO: GPS data processed {"connection_id":161224,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:49:54] local.INFO: Acknowledgment sent {"connection_id":161224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:49:57] local.INFO: TCP Data received {"connection_id":160276,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:49:57] local.INFO: Processing buffer {"connection_id":160276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:49:57] local.INFO: IMEI packet received {"connection_id":160276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":160276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:49:58] local.INFO: TCP Data received {"connection_id":160276,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:49:58] local.INFO: Processing buffer {"connection_id":160276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:49:58] local.INFO: Packet analysis {"connection_id":160276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:49:58] local.INFO: Extracted packet for processing {"connection_id":160276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:49:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577334272001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:49:58] 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-22 20:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787411763000,"timestamp_ms":1787411763000,"timestamp_seconds":1787411763,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0b0f38"} 
[2026-08-22 20: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-22 20:49:58] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577334272001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577334272001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:49:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:49:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577334272001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":160276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:49:58] local.INFO: GPS data processed {"connection_id":160276,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:49:58] local.INFO: Acknowledgment sent {"connection_id":160276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:50:25] local.INFO: TCP Data received {"connection_id":161224,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0c6ec8012d7d34c005f168a8001101622f..."} 
[2026-08-22 20:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0c6ec8012d7d34c005f168a8001101622f..."} 
[2026-08-22 20:50:25] local.INFO: Processing buffer {"connection_id":161224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0c6ec8012d7d34c005f168a8001101622f..."} 
[2026-08-22 20:50:25] local.INFO: Packet analysis {"connection_id":161224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0c"} 
[2026-08-22 20:50:25] local.INFO: Extracted packet for processing {"connection_id":161224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0c"} 
[2026-08-22 20:50:25] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":99707048,"longitude_deg":76.3180224,"latitude_deg":9.9707048,"altitude":17,"angle":354,"satellites":47,"speed":5,"hex_longitude":"2d7d34c0","hex_latitude":"05f168a8","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577428992001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389156889222447104,"note":"Value kept but may cause issues"} 
[2026-08-22 20:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117454031341568,"note":"Value kept but may cause issues"} 
[2026-08-22 20:50:25] 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-22 20:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787411853000,"timestamp_ms":1787411853000,"timestamp_seconds":1787411853,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0c6ec8"} 
[2026-08-22 20: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-22 20:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 20: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-22 20:50:25] 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-22 20: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-22 20: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-22 20:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:50: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-22 20:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577428992001,"66":27321,"137":206,"87":13056,"24":5,"16":389156889222447104,"45":9022117454031341568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-08-22 20:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577428992001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:50:25] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 20:50:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389156889222447104,"km_value":389156889222447.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117454031341568,"description":"Unknown IO ID 45"} 
[2026-08-22 20:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577428992001,"power":27321,"unknown_137":206,"unknown_87":13056,"ignition":5,"odometer":null,"unknown_45":9022117454031341568}} 
[2026-08-22 20:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":161224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:50:25] local.INFO: GPS data processed {"connection_id":161224,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:50:25] local.INFO: Acknowledgment sent {"connection_id":161224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:50:29] local.INFO: TCP Data received {"connection_id":160276,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:50:29] local.INFO: Processing buffer {"connection_id":160276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:50:29] local.INFO: Packet analysis {"connection_id":160276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:50:29] local.INFO: Extracted packet for processing {"connection_id":160276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:50:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:50: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-22 20:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577334272001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:50:29] 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-22 20:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787411763000,"timestamp_ms":1787411763000,"timestamp_seconds":1787411763,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0b0f38"} 
[2026-08-22 20:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:50:29] 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-22 20:50: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20:50: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-22 20:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577334272001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577334272001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577334272001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":160276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:50:29] local.INFO: GPS data processed {"connection_id":160276,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:50:29] local.INFO: Acknowledgment sent {"connection_id":160276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:50:55] local.INFO: TCP Data received {"connection_id":162644,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:50:55] local.INFO: Processing buffer {"connection_id":162644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:50:55] local.INFO: IMEI packet received {"connection_id":162644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":162644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:50:57] local.INFO: TCP Data received {"connection_id":161225,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:50:57] local.INFO: Processing buffer {"connection_id":161225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:50:57] local.INFO: IMEI packet received {"connection_id":161225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":161225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:50:58] local.INFO: TCP Data received {"connection_id":162644,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:50:58] local.INFO: Processing buffer {"connection_id":162644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:50:58] local.INFO: IMEI packet received {"connection_id":162644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":162644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:51:02] local.INFO: TCP Data received {"connection_id":161225,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:51:02] local.INFO: Processing buffer {"connection_id":161225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:51:02] local.INFO: IMEI packet received {"connection_id":161225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":161225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:51:03] local.INFO: TCP Data received {"connection_id":161225,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:51:03] local.INFO: Processing buffer {"connection_id":161225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:51:03] local.INFO: Packet analysis {"connection_id":161225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:51:03] local.INFO: Extracted packet for processing {"connection_id":161225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:51: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-22 20:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577334272001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:03] 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-22 20:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787411763000,"timestamp_ms":1787411763000,"timestamp_seconds":1787411763,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0b0f38"} 
[2026-08-22 20:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:51:03] 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-22 20:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:51: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-22 20:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577334272001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577334272001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:51:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577334272001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":161225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:51:03] local.INFO: GPS data processed {"connection_id":161225,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:51:03] local.INFO: Acknowledgment sent {"connection_id":161225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:51:03] local.INFO: TCP Data received {"connection_id":162644,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:51:03] local.INFO: Processing buffer {"connection_id":162644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:51:03] local.INFO: IMEI packet received {"connection_id":162644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":162644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:51:04] local.INFO: TCP Data received {"connection_id":162644,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0cc0d0012d7d344005f16ec8001001622f..."} 
[2026-08-22 20:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0cc0d0012d7d344005f16ec8001001622f..."} 
[2026-08-22 20:51:04] local.INFO: Processing buffer {"connection_id":162644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0cc0d0012d7d344005f16ec8001001622f..."} 
[2026-08-22 20:51:04] local.INFO: Packet analysis {"connection_id":162644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0c"} 
[2026-08-22 20:51:04] local.INFO: Extracted packet for processing {"connection_id":162644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0c"} 
[2026-08-22 20:51:04] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99708616,"longitude_deg":76.3180096,"latitude_deg":9.9708616,"altitude":16,"angle":354,"satellites":47,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05f16ec8","is_valid_coordinates":true} 
[2026-08-22 20:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577434368001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389156966531858432,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047085287483392,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:04] 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-22 20:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787411874000,"timestamp_ms":1787411874000,"timestamp_seconds":1787411874,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0cc0d0"} 
[2026-08-22 20:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:51: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-22 20:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 20:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:51: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-22 20:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577434368001,"66":27104,"137":206,"87":13056,"24":0,"16":389156966531858432,"45":9022047085287483392},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-08-22 20:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577434368001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:51:04] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 20:51:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389156966531858432,"km_value":389156966531858.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047085287483392,"description":"Unknown IO ID 45"} 
[2026-08-22 20:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577434368001,"power":27104,"unknown_137":206,"unknown_87":13056,"ignition":0,"odometer":null,"unknown_45":9022047085287483392}} 
[2026-08-22 20:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":162644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:51:04] local.INFO: GPS data processed {"connection_id":162644,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:51:04] local.INFO: Acknowledgment sent {"connection_id":162644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:51:06] local.INFO: TCP Data received {"connection_id":162644,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0d12d8012d7d338005f175d0001001642f..."} 
[2026-08-22 20:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0d12d8012d7d338005f175d0001001642f..."} 
[2026-08-22 20:51:06] local.INFO: Processing buffer {"connection_id":162644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0d12d8012d7d338005f175d0001001642f..."} 
[2026-08-22 20:51:06] local.INFO: Packet analysis {"connection_id":162644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0d"} 
[2026-08-22 20:51:06] local.INFO: Extracted packet for processing {"connection_id":162644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0d"} 
[2026-08-22 20:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763179904,"raw_latitude":99710416,"longitude_deg":76.3179904,"latitude_deg":9.9710416,"altitude":16,"angle":356,"satellites":47,"speed":2,"hex_longitude":"2d7d3380","hex_latitude":"05f175d0","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577439744001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389157056726171648,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347799529472,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:06] 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-22 20:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787411895000,"timestamp_ms":1787411895000,"timestamp_seconds":1787411895,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0d12d8"} 
[2026-08-22 20: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-22 20:51: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-22 20: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 20:51:06] 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-22 20: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-22 20: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-22 20:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577439744001,"66":27332,"137":206,"87":13056,"24":2,"16":389157056726171648,"45":9021906347799529472},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-08-22 20:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577439744001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:51:06] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 20:51:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389157056726171648,"km_value":389157056726171.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347799529472,"description":"Unknown IO ID 45"} 
[2026-08-22 20:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577439744001,"power":27332,"unknown_137":206,"unknown_87":13056,"ignition":2,"odometer":null,"unknown_45":9021906347799529472}} 
[2026-08-22 20:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":162644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:51:06] local.INFO: GPS data processed {"connection_id":162644,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:51:06] local.INFO: Acknowledgment sent {"connection_id":162644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:51:07] local.INFO: TCP Data received {"connection_id":161225,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:51:07] local.INFO: Processing buffer {"connection_id":161225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0b0f38012d1b5ac00724fe70002600bb23..."} 
[2026-08-22 20:51:07] local.INFO: Packet analysis {"connection_id":161225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:51:07] local.INFO: Extracted packet for processing {"connection_id":161225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0b"} 
[2026-08-22 20:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":38,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577334272001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:07] 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-22 20:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787411763000,"timestamp_ms":1787411763000,"timestamp_seconds":1787411763,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0b0f38"} 
[2026-08-22 20:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:51:07] 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-22 20:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577334272001,"66":2155,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577334272001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:51:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577334272001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":161225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:51:07] local.INFO: GPS data processed {"connection_id":161225,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:51:07] local.INFO: Acknowledgment sent {"connection_id":161225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:51:48] local.INFO: TCP Data received {"connection_id":162645,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:51:48] local.INFO: Processing buffer {"connection_id":162645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:51:48] local.INFO: IMEI packet received {"connection_id":162645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":162645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:51:52] local.INFO: TCP Data received {"connection_id":160277,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:51:52] local.INFO: Processing buffer {"connection_id":160277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:51:52] local.INFO: IMEI packet received {"connection_id":160277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":160277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:51:53] local.INFO: TCP Data received {"connection_id":162645,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:51:53] local.INFO: Processing buffer {"connection_id":162645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:51:53] local.INFO: IMEI packet received {"connection_id":162645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":162645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:51:54] local.INFO: TCP Data received {"connection_id":162645,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0f1a60012d7d264005f1e950001301632c..."} 
[2026-08-22 20:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0f1a60012d7d264005f1e950001301632c..."} 
[2026-08-22 20:51:54] local.INFO: Processing buffer {"connection_id":162645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0f1a60012d7d264005f1e950001301632c..."} 
[2026-08-22 20:51:54] local.INFO: Packet analysis {"connection_id":162645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:51:54] local.INFO: Extracted packet for processing {"connection_id":162645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:51:54] local.INFO: GPS Element Parsed {"raw_longitude":763176512,"raw_latitude":99739984,"longitude_deg":76.3176512,"latitude_deg":9.9739984,"altitude":19,"angle":355,"satellites":44,"speed":36,"hex_longitude":"2d7d2640","hex_latitude":"05f1e950","is_valid_coordinates":true} 
[2026-08-22 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-22 20:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577476352001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389158512720084992,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018950860549797888,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787412028000,"timestamp_ms":1787412028000,"timestamp_seconds":1787412028,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0f1a60"} 
[2026-08-22 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-22 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-22 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":77,"data_length":795,"current_offset":136} 
[2026-08-22 20:51:54] 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-22 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-22 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-22 20:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:51:54] 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-22 20:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577476352001,"66":27169,"28":206,"87":13056,"24":36,"16":389158512720084992,"45":9018950860549797888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-08-22 20:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577476352001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:51:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 20:51:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389158512720084992,"km_value":389158512720085.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018950860549797888,"description":"Unknown IO ID 45"} 
[2026-08-22 20:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577476352001,"power":27169,"unknown_28":206,"unknown_87":13056,"ignition":36,"odometer":null,"unknown_45":9018950860549797888}} 
[2026-08-22 20:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":162645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:51:54] local.INFO: GPS data processed {"connection_id":162645,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:51:54] local.INFO: Acknowledgment sent {"connection_id":162645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:51:57] local.INFO: TCP Data received {"connection_id":160277,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:51:57] local.INFO: Processing buffer {"connection_id":160277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:51:57] local.INFO: IMEI packet received {"connection_id":160277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":160277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:51:58] local.INFO: TCP Data received {"connection_id":160277,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:51:58] local.INFO: Processing buffer {"connection_id":160277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:51:58] local.INFO: Packet analysis {"connection_id":160277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:51:58] local.INFO: Extracted packet for processing {"connection_id":160277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:51:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577411328001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:51:58] 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-22 20:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787412064000,"timestamp_ms":1787412064000,"timestamp_seconds":1787412064,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0fa700"} 
[2026-08-22 20: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-22 20:51:58] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577411328001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577411328001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:51:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:51:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577411328001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":160277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:51:58] local.INFO: GPS data processed {"connection_id":160277,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:51:58] local.INFO: Acknowledgment sent {"connection_id":160277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:52:29] local.INFO: TCP Data received {"connection_id":160277,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:52:29] local.INFO: Processing buffer {"connection_id":160277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:52:29] local.INFO: Packet analysis {"connection_id":160277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:52:29] local.INFO: Extracted packet for processing {"connection_id":160277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:52:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 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-22 20:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577411328001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:52:29] 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-22 20:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787412064000,"timestamp_ms":1787412064000,"timestamp_seconds":1787412064,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0fa700"} 
[2026-08-22 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-22 20:52:29] 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-22 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:52:29] 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-22 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-22 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-22 20:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577411328001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577411328001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:52:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:52:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577411328001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":160277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:52:29] local.INFO: GPS data processed {"connection_id":160277,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:52:29] local.INFO: Acknowledgment sent {"connection_id":160277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:52:30] local.INFO: TCP Data received {"connection_id":162645,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0f3d88012d7d228005f20c28001101622c..."} 
[2026-08-22 20:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0f3d88012d7d228005f20c28001101622c..."} 
[2026-08-22 20:52:30] local.INFO: Processing buffer {"connection_id":162645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0f3d88012d7d228005f20c28001101622c..."} 
[2026-08-22 20:52:30] local.INFO: Packet analysis {"connection_id":162645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:52:30] local.INFO: Extracted packet for processing {"connection_id":162645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763175552,"raw_latitude":99748904,"longitude_deg":76.3175552,"latitude_deg":9.9748904,"altitude":17,"angle":354,"satellites":44,"speed":38,"hex_longitude":"2d7d2280","hex_latitude":"05f20c28","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577479168001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389158950806749184,"note":"Value kept but may cause issues"} 
[2026-08-22 20:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017965698133610496,"note":"Value kept but may cause issues"} 
[2026-08-22 20:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787412037000,"timestamp_ms":1787412037000,"timestamp_seconds":1787412037,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0f3d88"} 
[2026-08-22 20: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-22 20:52: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-22 20: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-22 20:52:30] 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-22 20: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-22 20: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-22 20:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:52: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-22 20:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577479168001,"66":27267,"28":206,"87":13056,"24":38,"16":389158950806749184,"45":9017965698133610496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-08-22 20:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577479168001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:52:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 20:52:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389158950806749184,"km_value":389158950806749.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017965698133610496,"description":"Unknown IO ID 45"} 
[2026-08-22 20:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577479168001,"power":27267,"unknown_28":206,"unknown_87":13056,"ignition":38,"odometer":null,"unknown_45":9017965698133610496}} 
[2026-08-22 20:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":162645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:52:30] local.INFO: GPS data processed {"connection_id":162645,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:52:30] local.INFO: Acknowledgment sent {"connection_id":162645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:52:46] local.INFO: TCP Data received {"connection_id":160050,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:52:46] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:52:46] local.INFO: IMEI packet received {"connection_id":160050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":160050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:52:48] local.INFO: TCP Data received {"connection_id":160050,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:52:48] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:52:48] local.INFO: IMEI packet received {"connection_id":160050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":160050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:52:52] local.INFO: TCP Data received {"connection_id":160278,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:52:52] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:52:52] local.INFO: IMEI packet received {"connection_id":160278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":160278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:52:54] local.INFO: TCP Data received {"connection_id":160050,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:52:54] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:52:54] local.INFO: IMEI packet received {"connection_id":160050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":160050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:52:55] local.INFO: TCP Data received {"connection_id":160050,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0f6498012d7d1f0005f22ea0000f01612b..."} 
[2026-08-22 20:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0f6498012d7d1f0005f22ea0000f01612b..."} 
[2026-08-22 20:52:55] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0f6498012d7d1f0005f22ea0000f01612b..."} 
[2026-08-22 20:52:55] local.INFO: Packet analysis {"connection_id":160050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:52:55] local.INFO: Extracted packet for processing {"connection_id":160050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:52:55] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":99757728,"longitude_deg":76.3174656,"latitude_deg":9.9757728,"altitude":15,"angle":353,"satellites":43,"speed":32,"hex_longitude":"2d7d1f00","hex_latitude":"05f22ea0","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577481472001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389159380303478784,"note":"Value kept but may cause issues"} 
[2026-08-22 20:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016910166973229056,"note":"Value kept but may cause issues"} 
[2026-08-22 20:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787412047000,"timestamp_ms":1787412047000,"timestamp_seconds":1787412047,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0f6498"} 
[2026-08-22 20: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-22 20:52:55] 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-22 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 20:52: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-22 20: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-22 20: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-22 20:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:52: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-22 20:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577481472001,"66":27213,"28":206,"87":13056,"24":32,"16":389159380303478784,"45":9016910166973229056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-08-22 20:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577481472001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:52:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 20:52:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389159380303478784,"km_value":389159380303478.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016910166973229056,"description":"Unknown IO ID 45"} 
[2026-08-22 20:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577481472001,"power":27213,"unknown_28":206,"unknown_87":13056,"ignition":32,"odometer":null,"unknown_45":9016910166973229056}} 
[2026-08-22 20:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":160050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:52:55] local.INFO: GPS data processed {"connection_id":160050,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:52:55] local.INFO: Acknowledgment sent {"connection_id":160050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:52:57] local.INFO: TCP Data received {"connection_id":160278,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:52:57] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:52:57] local.INFO: IMEI packet received {"connection_id":160278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":160278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:52:58] local.INFO: TCP Data received {"connection_id":160278,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:52:58] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:52:58] local.INFO: Packet analysis {"connection_id":160278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:52:58] local.INFO: Extracted packet for processing {"connection_id":160278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577411328001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:52:58] 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-22 20:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787412064000,"timestamp_ms":1787412064000,"timestamp_seconds":1787412064,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0fa700"} 
[2026-08-22 20:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:52:58] 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-22 20:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577411328001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577411328001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:52:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:52:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577411328001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":160278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:52:58] local.INFO: GPS data processed {"connection_id":160278,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:52:58] local.INFO: Acknowledgment sent {"connection_id":160278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:53:27] local.INFO: TCP Data received {"connection_id":160050,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0f9f30012d7d1ac005f25168000a01612c..."} 
[2026-08-22 20:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0f9f30012d7d1ac005f25168000a01612c..."} 
[2026-08-22 20:53:27] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0f9f30012d7d1ac005f25168000a01612c..."} 
[2026-08-22 20:53:27] local.INFO: Packet analysis {"connection_id":160050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:53:27] local.INFO: Extracted packet for processing {"connection_id":160050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763173568,"raw_latitude":99766632,"longitude_deg":76.3173568,"latitude_deg":9.9766632,"altitude":10,"angle":353,"satellites":44,"speed":20,"hex_longitude":"2d7d1ac0","hex_latitude":"05f25168","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577484032001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389159814095175680,"note":"Value kept but may cause issues"} 
[2026-08-22 20:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015925004557000704,"note":"Value kept but may cause issues"} 
[2026-08-22 20:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787412062000,"timestamp_ms":1787412062000,"timestamp_seconds":1787412062,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0f9f30"} 
[2026-08-22 20: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-22 20: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-22 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 20:53:27] 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-22 20: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-22 20: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-22 20:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:53:27] 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-22 20:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577484032001,"66":27300,"28":206,"87":13056,"24":20,"16":389159814095175680,"45":9015925004557000704},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-08-22 20:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577484032001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:53:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-22 20:53:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389159814095175680,"km_value":389159814095175.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015925004557000704,"description":"Unknown IO ID 45"} 
[2026-08-22 20:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577484032001,"power":27300,"unknown_28":206,"unknown_87":13056,"ignition":20,"odometer":null,"unknown_45":9015925004557000704}} 
[2026-08-22 20:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":160050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:53:27] local.INFO: GPS data processed {"connection_id":160050,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:53:27] local.INFO: Acknowledgment sent {"connection_id":160050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:53:29] local.INFO: TCP Data received {"connection_id":160278,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:53:29] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:53:29] local.INFO: Packet analysis {"connection_id":160278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:53:29] local.INFO: Extracted packet for processing {"connection_id":160278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:53:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577411328001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:53:29] 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-22 20:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787412064000,"timestamp_ms":1787412064000,"timestamp_seconds":1787412064,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0fa700"} 
[2026-08-22 20: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-22 20:53:29] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:53:29] 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-22 20: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-22 20: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-22 20:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577411328001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577411328001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:53:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:53:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577411328001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":160278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:53:29] local.INFO: GPS data processed {"connection_id":160278,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:53:29] local.INFO: Acknowledgment sent {"connection_id":160278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:53:51] local.INFO: TCP Data received {"connection_id":160279,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:53:51] local.INFO: Processing buffer {"connection_id":160279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:53:51] local.INFO: IMEI packet received {"connection_id":160279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":160279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:53:53] local.INFO: TCP Data received {"connection_id":162646,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:53:53] local.INFO: Processing buffer {"connection_id":162646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:53:53] local.INFO: IMEI packet received {"connection_id":162646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":162646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:53:57] local.INFO: TCP Data received {"connection_id":160279,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:53:57] local.INFO: Processing buffer {"connection_id":160279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:53:57] local.INFO: IMEI packet received {"connection_id":160279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":160279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:53:58] local.INFO: TCP Data received {"connection_id":160279,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:53:58] local.INFO: Processing buffer {"connection_id":160279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:53:58] local.INFO: Packet analysis {"connection_id":160279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:53:58] local.INFO: Extracted packet for processing {"connection_id":160279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:53:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577411328001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:53:58] 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-22 20:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787412064000,"timestamp_ms":1787412064000,"timestamp_seconds":1787412064,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0fa700"} 
[2026-08-22 20: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-22 20:53:58] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577411328001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577411328001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:53:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:53:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577411328001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":160279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:53:58] local.INFO: GPS data processed {"connection_id":160279,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:53:58] local.INFO: Acknowledgment sent {"connection_id":160279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:53:58] local.INFO: TCP Data received {"connection_id":162646,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:53:58] local.INFO: Processing buffer {"connection_id":162646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:53:58] local.INFO: IMEI packet received {"connection_id":162646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":162646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:54:02] local.INFO: TCP Data received {"connection_id":162646,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1177d8012d7ce44005f3d9d00009015e25..."} 
[2026-08-22 20:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1177d8012d7ce44005f3d9d00009015e25..."} 
[2026-08-22 20:54:02] local.INFO: Processing buffer {"connection_id":162646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1177d8012d7ce44005f3d9d00009015e25..."} 
[2026-08-22 20:54:02] local.INFO: Packet analysis {"connection_id":162646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a11"} 
[2026-08-22 20:54:02] local.INFO: Extracted packet for processing {"connection_id":162646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a11"} 
[2026-08-22 20:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763159616,"raw_latitude":99867088,"longitude_deg":76.3159616,"latitude_deg":9.9867088,"altitude":9,"angle":350,"satellites":37,"speed":39,"hex_longitude":"2d7ce440","hex_latitude":"05f3d9d0","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577516288001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389164736127696896,"note":"Value kept but may cause issues"} 
[2026-08-22 20:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001006830817093632,"note":"Value kept but may cause issues"} 
[2026-08-22 20:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787412183000,"timestamp_ms":1787412183000,"timestamp_seconds":1787412183,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1177d8"} 
[2026-08-22 20: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-22 20:54: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-22 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 20:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577516288001,"66":27343,"250":206,"87":13056,"24":39,"16":389164736127696896,"45":9001006830817093632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-08-22 20:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577516288001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:54:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 20:54:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389164736127696896,"km_value":389164736127696.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001006830817093632,"description":"Unknown IO ID 45"} 
[2026-08-22 20:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577516288001,"power":27343,"unknown_250":206,"unknown_87":13056,"ignition":39,"odometer":null,"unknown_45":9001006830817093632}} 
[2026-08-22 20:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":162646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:54:02] local.INFO: GPS data processed {"connection_id":162646,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:54:02] local.INFO: Acknowledgment sent {"connection_id":162646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:54:29] local.INFO: TCP Data received {"connection_id":160279,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:54:29] local.INFO: Processing buffer {"connection_id":160279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:54:29] local.INFO: Packet analysis {"connection_id":160279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:54:29] local.INFO: Extracted packet for processing {"connection_id":160279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:54:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577411328001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:54:29] 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-22 20:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787412064000,"timestamp_ms":1787412064000,"timestamp_seconds":1787412064,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0fa700"} 
[2026-08-22 20: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-22 20:54:29] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:54:29] 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-22 20: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-22 20: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-22 20:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577411328001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577411328001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:54:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:54:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577411328001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":160279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:54:29] local.INFO: GPS data processed {"connection_id":160279,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:54:29] local.INFO: Acknowledgment sent {"connection_id":160279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:54:33] local.INFO: TCP Data received {"connection_id":162646,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a119ee8012d7cde4005f3fd600009015e2b..."} 
[2026-08-22 20:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a119ee8012d7cde4005f3fd600009015e2b..."} 
[2026-08-22 20:54:33] local.INFO: Processing buffer {"connection_id":162646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a119ee8012d7cde4005f3fd600009015e2b..."} 
[2026-08-22 20:54:33] local.INFO: Packet analysis {"connection_id":162646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a11"} 
[2026-08-22 20:54:33] local.INFO: Extracted packet for processing {"connection_id":162646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a11"} 
[2026-08-22 20:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763158080,"raw_latitude":99876192,"longitude_deg":76.315808,"latitude_deg":9.9876192,"altitude":9,"angle":350,"satellites":43,"speed":36,"hex_longitude":"2d7cde40","hex_latitude":"05f3fd60","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577518848001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389165182804295680,"note":"Value kept but may cause issues"} 
[2026-08-22 20:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999388349703245824,"note":"Value kept but may cause issues"} 
[2026-08-22 20:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787412193000,"timestamp_ms":1787412193000,"timestamp_seconds":1787412193,"priority":1,"record_length":96,"hex_timestamp":"000001a02a119ee8"} 
[2026-08-22 20: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-22 20:54: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-22 20: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-22 20: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-22 20: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-22 20: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-22 20:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:54:33] 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-22 20:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577518848001,"66":27245,"250":206,"87":13056,"24":36,"16":389165182804295680,"45":8999388349703245824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-08-22 20:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577518848001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:54:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-22 20:54:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-22 20:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389165182804295680,"km_value":389165182804295.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999388349703245824,"description":"Unknown IO ID 45"} 
[2026-08-22 20:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577518848001,"power":27245,"unknown_250":206,"unknown_87":13056,"ignition":36,"odometer":null,"unknown_45":8999388349703245824}} 
[2026-08-22 20:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":162646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:54:33] local.INFO: GPS data processed {"connection_id":162646,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:54:33] local.INFO: Acknowledgment sent {"connection_id":162646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:54:51] local.INFO: TCP Data received {"connection_id":160051,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:54:51] local.INFO: Processing buffer {"connection_id":160051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:54:51] local.INFO: IMEI packet received {"connection_id":160051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":160051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:54:57] local.INFO: TCP Data received {"connection_id":160051,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:54:57] local.INFO: Processing buffer {"connection_id":160051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:54:57] local.INFO: IMEI packet received {"connection_id":160051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":160051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:54:58] local.INFO: TCP Data received {"connection_id":160051,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:54:58] local.INFO: Processing buffer {"connection_id":160051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:54:58] local.INFO: Packet analysis {"connection_id":160051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:54:58] local.INFO: Extracted packet for processing {"connection_id":160051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:54:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577411328001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:54:58] 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-22 20:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787412064000,"timestamp_ms":1787412064000,"timestamp_seconds":1787412064,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0fa700"} 
[2026-08-22 20:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:54:58] 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-22 20:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577411328001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577411328001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:54:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:54:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577411328001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":160051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:54:58] local.INFO: GPS data processed {"connection_id":160051,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:54:58] local.INFO: Acknowledgment sent {"connection_id":160051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:55:23] local.INFO: TCP Data received {"connection_id":160280,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:55:23] local.INFO: Processing buffer {"connection_id":160280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:55:23] local.INFO: IMEI packet received {"connection_id":160280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":160280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:55:29] local.INFO: TCP Data received {"connection_id":160051,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:55:29] local.INFO: Processing buffer {"connection_id":160051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:55:29] local.INFO: Packet analysis {"connection_id":160051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:55:29] local.INFO: Extracted packet for processing {"connection_id":160051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:55:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:55: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-22 20:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577411328001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:55:29] 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-22 20:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787412064000,"timestamp_ms":1787412064000,"timestamp_seconds":1787412064,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0fa700"} 
[2026-08-22 20: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-22 20:55:29] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:55:29] 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-22 20: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-22 20: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-22 20:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577411328001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577411328001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:55:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:55:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577411328001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":160051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:55:29] local.INFO: GPS data processed {"connection_id":160051,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:55:29] local.INFO: Acknowledgment sent {"connection_id":160051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:55:30] local.INFO: TCP Data received {"connection_id":160280,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:55:30] local.INFO: Processing buffer {"connection_id":160280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:55:30] local.INFO: IMEI packet received {"connection_id":160280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":160280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:55:32] local.INFO: TCP Data received {"connection_id":160280,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a11c5f8012d7cd88005f42008000c015e2d..."} 
[2026-08-22 20:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a11c5f8012d7cd88005f42008000c015e2d..."} 
[2026-08-22 20:55:32] local.INFO: Processing buffer {"connection_id":160280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a11c5f8012d7cd88005f42008000c015e2d..."} 
[2026-08-22 20:55:32] local.INFO: Packet analysis {"connection_id":160280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a11"} 
[2026-08-22 20:55:32] local.INFO: Extracted packet for processing {"connection_id":160280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a11"} 
[2026-08-22 20:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763156608,"raw_latitude":99885064,"longitude_deg":76.3156608,"latitude_deg":9.9885064,"altitude":12,"angle":350,"satellites":45,"speed":33,"hex_longitude":"2d7cd880","hex_latitude":"05f42008","is_valid_coordinates":true} 
[2026-08-22 20:55: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-22 20:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577521408001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389165616595992576,"note":"Value kept but may cause issues"} 
[2026-08-22 20:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997699499845312512,"note":"Value kept but may cause issues"} 
[2026-08-22 20:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787412203000,"timestamp_ms":1787412203000,"timestamp_seconds":1787412203,"priority":1,"record_length":96,"hex_timestamp":"000001a02a11c5f8"} 
[2026-08-22 20:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:55: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-22 20:55: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-22 20:55: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-22 20:55: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-22 20:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:55: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-22 20:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577521408001,"66":27245,"179":206,"87":12800,"24":33,"16":389165616595992576,"45":8997699499845312512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,87,24,16,45]} 
[2026-08-22 20:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577521408001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:55:32] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-22 20:55:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 20:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389165616595992576,"km_value":389165616595992.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997699499845312512,"description":"Unknown IO ID 45"} 
[2026-08-22 20:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577521408001,"power":27245,"unknown_179":206,"unknown_87":12800,"ignition":33,"odometer":null,"unknown_45":8997699499845312512}} 
[2026-08-22 20:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":160280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:55:32] local.INFO: GPS data processed {"connection_id":160280,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:55:32] local.INFO: Acknowledgment sent {"connection_id":160280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:55:57] local.INFO: TCP Data received {"connection_id":161226,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:55:57] local.INFO: Processing buffer {"connection_id":161226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:55:57] local.INFO: IMEI packet received {"connection_id":161226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":161226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:55:58] local.INFO: TCP Data received {"connection_id":162647,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:55:58] local.INFO: Processing buffer {"connection_id":162647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:55:58] local.INFO: IMEI packet received {"connection_id":162647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":162647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:56:02] local.INFO: TCP Data received {"connection_id":161226,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:56:02] local.INFO: Processing buffer {"connection_id":161226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:56:02] local.INFO: IMEI packet received {"connection_id":161226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":161226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:56:03] local.INFO: TCP Data received {"connection_id":161226,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:56:03] local.INFO: Processing buffer {"connection_id":161226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:56:03] local.INFO: Packet analysis {"connection_id":161226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:56:03] local.INFO: Extracted packet for processing {"connection_id":161226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:56:03] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577411328001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:56:03] 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-22 20:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787412064000,"timestamp_ms":1787412064000,"timestamp_seconds":1787412064,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0fa700"} 
[2026-08-22 20:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:56:03] 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-22 20:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577411328001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577411328001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:56:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:56:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577411328001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":161226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:56:03] local.INFO: GPS data processed {"connection_id":161226,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:56:03] local.INFO: Acknowledgment sent {"connection_id":161226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:56:03] local.INFO: TCP Data received {"connection_id":162647,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:56:03] local.INFO: Processing buffer {"connection_id":162647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:56:03] local.INFO: IMEI packet received {"connection_id":162647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":162647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:56:04] local.INFO: TCP Data received {"connection_id":162647,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a11f0f0012d7cd28005f44448000e015e2b..."} 
[2026-08-22 20:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a11f0f0012d7cd28005f44448000e015e2b..."} 
[2026-08-22 20:56:04] local.INFO: Processing buffer {"connection_id":162647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a11f0f0012d7cd28005f44448000e015e2b..."} 
[2026-08-22 20:56:04] local.INFO: Packet analysis {"connection_id":162647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a11"} 
[2026-08-22 20:56:04] local.INFO: Extracted packet for processing {"connection_id":162647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a11"} 
[2026-08-22 20:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763155072,"raw_latitude":99894344,"longitude_deg":76.3155072,"latitude_deg":9.9894344,"altitude":14,"angle":350,"satellites":43,"speed":28,"hex_longitude":"2d7cd280","hex_latitude":"05f44448","is_valid_coordinates":true} 
[2026-08-22 20:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577523968001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389166076157493248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996081018731497472,"note":"Value kept but may cause issues"} 
[2026-08-22 20:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787412214000,"timestamp_ms":1787412214000,"timestamp_seconds":1787412214,"priority":1,"record_length":96,"hex_timestamp":"000001a02a11f0f0"} 
[2026-08-22 20:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:56: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-22 20:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 20:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:56: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-22 20:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577523968001,"66":27245,"179":206,"87":12800,"24":28,"16":389166076157493248,"45":8996081018731497472},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,87,24,16,45]} 
[2026-08-22 20:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577523968001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:56:04] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-22 20:56:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 20:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389166076157493248,"km_value":389166076157493.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996081018731497472,"description":"Unknown IO ID 45"} 
[2026-08-22 20:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577523968001,"power":27245,"unknown_179":206,"unknown_87":12800,"ignition":28,"odometer":null,"unknown_45":8996081018731497472}} 
[2026-08-22 20:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":162647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:56:04] local.INFO: GPS data processed {"connection_id":162647,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:56:04] local.INFO: Acknowledgment sent {"connection_id":162647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:56:07] local.INFO: TCP Data received {"connection_id":161226,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:56:07] local.INFO: Processing buffer {"connection_id":161226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a0fa700012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 20:56:07] local.INFO: Packet analysis {"connection_id":161226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:56:07] local.INFO: Extracted packet for processing {"connection_id":161226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a0f"} 
[2026-08-22 20:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577411328001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:56:07] 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-22 20:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787412064000,"timestamp_ms":1787412064000,"timestamp_seconds":1787412064,"priority":1,"record_length":96,"hex_timestamp":"000001a02a0fa700"} 
[2026-08-22 20: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-22 20:56:07] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 20:56:07] 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-22 20: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-22 20: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-22 20:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577411328001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577411328001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:56:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577411328001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":161226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:56:07] local.INFO: GPS data processed {"connection_id":161226,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:56:07] local.INFO: Acknowledgment sent {"connection_id":161226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:56:48] local.INFO: TCP Data received {"connection_id":160052,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:56:48] local.INFO: Processing buffer {"connection_id":160052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:56:48] local.INFO: IMEI packet received {"connection_id":160052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":160052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:56:51] local.INFO: TCP Data received {"connection_id":160052,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:56:51] local.INFO: Processing buffer {"connection_id":160052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:56:51] local.INFO: IMEI packet received {"connection_id":160052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":160052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:56:52] local.INFO: TCP Data received {"connection_id":160281,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:56:52] local.INFO: Processing buffer {"connection_id":160281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:56:52] local.INFO: IMEI packet received {"connection_id":160281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":160281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:56:53] local.INFO: TCP Data received {"connection_id":160052,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:56:53] local.INFO: Processing buffer {"connection_id":160052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:56:53] local.INFO: IMEI packet received {"connection_id":160052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":160052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:56:54] local.INFO: TCP Data received {"connection_id":160052,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a140818012d7c930005f5c9a8000d015f2d..."} 
[2026-08-22 20:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a140818012d7c930005f5c9a8000d015f2d..."} 
[2026-08-22 20:56:54] local.INFO: Processing buffer {"connection_id":160052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a140818012d7c930005f5c9a8000d015f2d..."} 
[2026-08-22 20:56:54] local.INFO: Packet analysis {"connection_id":160052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:56:54] local.INFO: Extracted packet for processing {"connection_id":160052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:56:54] local.INFO: GPS Element Parsed {"raw_longitude":763138816,"raw_latitude":99994024,"longitude_deg":76.3138816,"latitude_deg":9.9994024,"altitude":13,"angle":351,"satellites":45,"speed":26,"hex_longitude":"2d7c9300","hex_latitude":"05f5c9a8","is_valid_coordinates":true} 
[2026-08-22 20:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577558272001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389170976715177984,"note":"Value kept but may cause issues"} 
[2026-08-22 20:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978136988991827968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787412351000,"timestamp_ms":1787412351000,"timestamp_seconds":1787412351,"priority":1,"record_length":96,"hex_timestamp":"000001a02a140818"} 
[2026-08-22 20:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:56: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-22 20:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-22 20:56:54] 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-22 20:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:56:54] 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-22 20:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577558272001,"66":27245,"164":206,"87":12800,"24":26,"16":389170976715177984,"45":8978136988991827968},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-08-22 20:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577558272001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:56:54] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-22 20:56:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 20:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389170976715177984,"km_value":389170976715178.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978136988991827968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577558272001,"power":27245,"unknown_164":206,"unknown_87":12800,"ignition":26,"odometer":null,"unknown_45":8978136988991827968}} 
[2026-08-22 20:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":160052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:56:54] local.INFO: GPS data processed {"connection_id":160052,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:56:54] local.INFO: Acknowledgment sent {"connection_id":160052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:56:57] local.INFO: TCP Data received {"connection_id":160281,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:56:57] local.INFO: Processing buffer {"connection_id":160281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:56:57] local.INFO: IMEI packet received {"connection_id":160281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":160281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:56:58] local.INFO: TCP Data received {"connection_id":160281,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:56:58] local.INFO: Processing buffer {"connection_id":160281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:56:58] local.INFO: Packet analysis {"connection_id":160281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:56:58] local.INFO: Extracted packet for processing {"connection_id":160281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:56:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577488384001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:56:58] 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-22 20:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787412365000,"timestamp_ms":1787412365000,"timestamp_seconds":1787412365,"priority":1,"record_length":96,"hex_timestamp":"000001a02a143ec8"} 
[2026-08-22 20: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-22 20:56:58] 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-22 20:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577488384001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577488384001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:56:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:56:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577488384001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":160281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:56:58] local.INFO: GPS data processed {"connection_id":160281,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:56:58] local.INFO: Acknowledgment sent {"connection_id":160281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:57:25] local.INFO: TCP Data received {"connection_id":160052,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1436f8012d7c8c8005f5ee70000e015e29..."} 
[2026-08-22 20:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1436f8012d7c8c8005f5ee70000e015e29..."} 
[2026-08-22 20:57:25] local.INFO: Processing buffer {"connection_id":160052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1436f8012d7c8c8005f5ee70000e015e29..."} 
[2026-08-22 20:57:25] local.INFO: Packet analysis {"connection_id":160052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:57:25] local.INFO: Extracted packet for processing {"connection_id":160052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:57:25] local.INFO: GPS Element Parsed {"raw_longitude":763137152,"raw_latitude":100003440,"longitude_deg":76.3137152,"latitude_deg":10.000344,"altitude":14,"angle":350,"satellites":41,"speed":38,"hex_longitude":"2d7c8c80","hex_latitude":"05f5ee70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577561856001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389171440571645952,"note":"Value kept but may cause issues"} 
[2026-08-22 20:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976518507878000640,"note":"Value kept but may cause issues"} 
[2026-08-22 20:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787412363000,"timestamp_ms":1787412363000,"timestamp_seconds":1787412363,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1436f8"} 
[2026-08-22 20: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-22 20: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-22 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 20:57: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-22 20: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-22 20: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-22 20:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:57: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-22 20:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577561856001,"66":27310,"164":206,"87":12800,"24":38,"16":389171440571645952,"45":8976518507878000640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-08-22 20:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577561856001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:57:25] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-22 20:57:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 20:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389171440571645952,"km_value":389171440571645.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976518507878000640,"description":"Unknown IO ID 45"} 
[2026-08-22 20:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577561856001,"power":27310,"unknown_164":206,"unknown_87":12800,"ignition":38,"odometer":null,"unknown_45":8976518507878000640}} 
[2026-08-22 20:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":160052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:57:25] local.INFO: GPS data processed {"connection_id":160052,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:57:25] local.INFO: Acknowledgment sent {"connection_id":160052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:57:29] local.INFO: TCP Data received {"connection_id":160281,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:57:29] local.INFO: Processing buffer {"connection_id":160281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:57:29] local.INFO: Packet analysis {"connection_id":160281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:57:29] local.INFO: Extracted packet for processing {"connection_id":160281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:57:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577488384001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:57:29] 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-22 20:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787412365000,"timestamp_ms":1787412365000,"timestamp_seconds":1787412365,"priority":1,"record_length":96,"hex_timestamp":"000001a02a143ec8"} 
[2026-08-22 20: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-22 20:57:29] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577488384001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577488384001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:57:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577488384001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":160281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:57:29] local.INFO: GPS data processed {"connection_id":160281,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:57:29] local.INFO: Acknowledgment sent {"connection_id":160281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:57:48] local.INFO: TCP Data received {"connection_id":162648,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:57:48] local.INFO: Processing buffer {"connection_id":162648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:57:48] local.INFO: IMEI packet received {"connection_id":162648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":162648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:57:52] local.INFO: TCP Data received {"connection_id":161227,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:57:52] local.INFO: Processing buffer {"connection_id":161227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:57:52] local.INFO: IMEI packet received {"connection_id":161227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":161227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:57:57] local.INFO: TCP Data received {"connection_id":161227,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:57:57] local.INFO: Processing buffer {"connection_id":161227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:57:57] local.INFO: IMEI packet received {"connection_id":161227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":161227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:57:58] local.INFO: TCP Data received {"connection_id":161227,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:57:58] local.INFO: Processing buffer {"connection_id":161227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:57:58] local.INFO: Packet analysis {"connection_id":161227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:57:58] local.INFO: Extracted packet for processing {"connection_id":161227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:57:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577488384001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:57:58] 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-22 20:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787412365000,"timestamp_ms":1787412365000,"timestamp_seconds":1787412365,"priority":1,"record_length":96,"hex_timestamp":"000001a02a143ec8"} 
[2026-08-22 20: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-22 20:57:58] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577488384001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577488384001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:57:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:57:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577488384001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":161227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:57:58] local.INFO: GPS data processed {"connection_id":161227,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:57:58] local.INFO: Acknowledgment sent {"connection_id":161227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:57:59] local.INFO: TCP Data received {"connection_id":162648,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:57:59] local.INFO: Processing buffer {"connection_id":162648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:57:59] local.INFO: IMEI packet received {"connection_id":162648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":162648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:58:01] local.INFO: TCP Data received {"connection_id":162648,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a145e08012d7c868005f61140000e015f2b..."} 
[2026-08-22 20:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a145e08012d7c868005f61140000e015f2b..."} 
[2026-08-22 20:58:01] local.INFO: Processing buffer {"connection_id":162648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a145e08012d7c868005f61140000e015f2b..."} 
[2026-08-22 20:58:01] local.INFO: Packet analysis {"connection_id":162648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:58:01] local.INFO: Extracted packet for processing {"connection_id":162648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763135616,"raw_latitude":100012352,"longitude_deg":76.3135616,"latitude_deg":10.0012352,"altitude":14,"angle":351,"satellites":43,"speed":30,"hex_longitude":"2d7c8680","hex_latitude":"05f61140","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577564928001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389171878658310144,"note":"Value kept but may cause issues"} 
[2026-08-22 20:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974688920531791872,"note":"Value kept but may cause issues"} 
[2026-08-22 20:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787412373000,"timestamp_ms":1787412373000,"timestamp_seconds":1787412373,"priority":1,"record_length":96,"hex_timestamp":"000001a02a145e08"} 
[2026-08-22 20: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-22 20:58: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-22 20: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-22 20:58: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-22 20: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-22 20: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-22 20:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:58: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-22 20:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577564928001,"66":27289,"164":206,"87":12800,"24":30,"16":389171878658310144,"45":8974688920531791872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-08-22 20:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577564928001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:58:01] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-22 20:58:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 20:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389171878658310144,"km_value":389171878658310.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974688920531791872,"description":"Unknown IO ID 45"} 
[2026-08-22 20:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577564928001,"power":27289,"unknown_164":206,"unknown_87":12800,"ignition":30,"odometer":null,"unknown_45":8974688920531791872}} 
[2026-08-22 20:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":162648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:58:01] local.INFO: GPS data processed {"connection_id":162648,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:58:01] local.INFO: Acknowledgment sent {"connection_id":162648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:58:29] local.INFO: TCP Data received {"connection_id":161227,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:58:29] local.INFO: Processing buffer {"connection_id":161227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:58:29] local.INFO: Packet analysis {"connection_id":161227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:58:29] local.INFO: Extracted packet for processing {"connection_id":161227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:58:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577488384001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:58:29] 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-22 20:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787412365000,"timestamp_ms":1787412365000,"timestamp_seconds":1787412365,"priority":1,"record_length":96,"hex_timestamp":"000001a02a143ec8"} 
[2026-08-22 20: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-22 20:58:29] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577488384001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577488384001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:58:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577488384001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":161227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:58:29] local.INFO: GPS data processed {"connection_id":161227,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:58:29] local.INFO: Acknowledgment sent {"connection_id":161227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:58:32] local.INFO: TCP Data received {"connection_id":162648,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a157360012d7c400005f699f8000f010026..."} 
[2026-08-22 20:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a157360012d7c400005f699f8000f010026..."} 
[2026-08-22 20:58:32] local.INFO: Processing buffer {"connection_id":162648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a157360012d7c400005f699f8000f010026..."} 
[2026-08-22 20:58:32] local.INFO: Packet analysis {"connection_id":162648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a15"} 
[2026-08-22 20:58:32] local.INFO: Extracted packet for processing {"connection_id":162648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a15"} 
[2026-08-22 20:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763117568,"raw_latitude":100047352,"longitude_deg":76.3117568,"latitude_deg":10.0047352,"altitude":15,"angle":256,"satellites":38,"speed":12,"hex_longitude":"2d7c4000","hex_latitude":"05f699f8","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577581056001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389174240890322944,"note":"Value kept but may cause issues"} 
[2026-08-22 20:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963078077754234880,"note":"Value kept but may cause issues"} 
[2026-08-22 20:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787412444000,"timestamp_ms":1787412444000,"timestamp_seconds":1787412444,"priority":1,"record_length":96,"hex_timestamp":"000001a02a157360"} 
[2026-08-22 20: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-22 20: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-22 20: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":98,"data_length":795,"current_offset":136} 
[2026-08-22 20:58:32] 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-22 20: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-22 20: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-22 20:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:58: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-22 20:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577581056001,"66":27267,"32":206,"87":12800,"24":12,"16":389174240890322944,"45":8963078077754234880},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,87,24,16,45]} 
[2026-08-22 20:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577581056001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:58:32] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-22 20:58:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 20:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389174240890322944,"km_value":389174240890322.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963078077754234880,"description":"Unknown IO ID 45"} 
[2026-08-22 20:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577581056001,"power":27267,"unknown_32":206,"unknown_87":12800,"ignition":12,"odometer":null,"unknown_45":8963078077754234880}} 
[2026-08-22 20:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":162648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:58:32] local.INFO: GPS data processed {"connection_id":162648,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:58:32] local.INFO: Acknowledgment sent {"connection_id":162648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:58:48] local.INFO: TCP Data received {"connection_id":160282,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:58:48] local.INFO: Processing buffer {"connection_id":160282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:58:48] local.INFO: IMEI packet received {"connection_id":160282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":160282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:58:51] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:58:51] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:58:51] local.INFO: IMEI packet received {"connection_id":160283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":160283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:58:53] local.INFO: TCP Data received {"connection_id":160282,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:58:53] local.INFO: Processing buffer {"connection_id":160282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:58:53] local.INFO: IMEI packet received {"connection_id":160282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":160282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:58:54] local.INFO: TCP Data received {"connection_id":160282,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a15c568012d7c1d8005f691b0000e00ff26..."} 
[2026-08-22 20:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a15c568012d7c1d8005f691b0000e00ff26..."} 
[2026-08-22 20:58:54] local.INFO: Processing buffer {"connection_id":160282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a15c568012d7c1d8005f691b0000e00ff26..."} 
[2026-08-22 20:58:54] local.INFO: Packet analysis {"connection_id":160282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a15"} 
[2026-08-22 20:58:54] local.INFO: Extracted packet for processing {"connection_id":160282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a15"} 
[2026-08-22 20:58:54] local.INFO: GPS Element Parsed {"raw_longitude":763108736,"raw_latitude":100045232,"longitude_deg":76.3108736,"latitude_deg":10.0045232,"altitude":14,"angle":255,"satellites":38,"speed":29,"hex_longitude":"2d7c1d80","hex_latitude":"05f691b0","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577585664001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389174678976987136,"note":"Value kept but may cause issues"} 
[2026-08-22 20:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953156084824668160,"note":"Value kept but may cause issues"} 
[2026-08-22 20:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787412465000,"timestamp_ms":1787412465000,"timestamp_seconds":1787412465,"priority":1,"record_length":96,"hex_timestamp":"000001a02a15c568"} 
[2026-08-22 20: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-22 20:58: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-22 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 20:58: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-22 20: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-22 20: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-22 20:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:58:54] 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-22 20:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577585664001,"66":27332,"152":206,"87":12800,"24":29,"16":389174678976987136,"45":8953156084824668160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,87,24,16,45]} 
[2026-08-22 20:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577585664001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:58:54] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-22 20:58:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 20:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389174678976987136,"km_value":389174678976987.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953156084824668160,"description":"Unknown IO ID 45"} 
[2026-08-22 20:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577585664001,"power":27332,"unknown_152":206,"unknown_87":12800,"ignition":29,"odometer":null,"unknown_45":8953156084824668160}} 
[2026-08-22 20:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":160282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:58:54] local.INFO: GPS data processed {"connection_id":160282,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:58:54] local.INFO: Acknowledgment sent {"connection_id":160282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:58:57] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:58:57] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:58:57] local.INFO: IMEI packet received {"connection_id":160283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":160283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:58:58] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:58:58] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:58:58] local.INFO: Packet analysis {"connection_id":160283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:58:58] local.INFO: Extracted packet for processing {"connection_id":160283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577488384001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:58:58] 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-22 20:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787412365000,"timestamp_ms":1787412365000,"timestamp_seconds":1787412365,"priority":1,"record_length":96,"hex_timestamp":"000001a02a143ec8"} 
[2026-08-22 20: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-22 20:58:58] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20: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-22 20: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-22 20:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577488384001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577488384001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:58:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577488384001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":160283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:58:58] local.INFO: GPS data processed {"connection_id":160283,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:58:58] local.INFO: Acknowledgment sent {"connection_id":160283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:59:25] local.INFO: TCP Data received {"connection_id":160282,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a15c568012d7c1d8005f691b0000e00ff26..."} 
[2026-08-22 20:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a15c568012d7c1d8005f691b0000e00ff26..."} 
[2026-08-22 20:59:25] local.INFO: Processing buffer {"connection_id":160282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a15c568012d7c1d8005f691b0000e00ff26..."} 
[2026-08-22 20:59:25] local.INFO: Packet analysis {"connection_id":160282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a15"} 
[2026-08-22 20:59:25] local.INFO: Extracted packet for processing {"connection_id":160282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a15"} 
[2026-08-22 20:59:25] local.INFO: GPS Element Parsed {"raw_longitude":763108736,"raw_latitude":100045232,"longitude_deg":76.3108736,"latitude_deg":10.0045232,"altitude":14,"angle":255,"satellites":38,"speed":29,"hex_longitude":"2d7c1d80","hex_latitude":"05f691b0","is_valid_coordinates":true} 
[2026-08-22 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-22 20:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577591040001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389174678976987136,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943445198127607808,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787412465000,"timestamp_ms":1787412465000,"timestamp_seconds":1787412465,"priority":1,"record_length":96,"hex_timestamp":"000001a02a15c568"} 
[2026-08-22 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-22 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-22 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":196,"data_length":795,"current_offset":136} 
[2026-08-22 20:59: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-22 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-22 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-22 20:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:59: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-22 20:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577591040001,"66":27332,"152":206,"87":12800,"24":29,"16":389174678976987136,"45":8943445198127607808},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,87,24,16,45]} 
[2026-08-22 20:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577591040001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:59:25] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-22 20:59:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 20:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389174678976987136,"km_value":389174678976987.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943445198127607808,"description":"Unknown IO ID 45"} 
[2026-08-22 20:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577591040001,"power":27332,"unknown_152":206,"unknown_87":12800,"ignition":29,"odometer":null,"unknown_45":8943445198127607808}} 
[2026-08-22 20:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":160282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:59:25] local.INFO: GPS data processed {"connection_id":160282,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:59:25] local.INFO: Acknowledgment sent {"connection_id":160282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:59:29] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:59:29] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:59:29] local.INFO: Packet analysis {"connection_id":160283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:59:29] local.INFO: Extracted packet for processing {"connection_id":160283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:59:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20: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-22 20:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577488384001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:29] 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-22 20:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787412365000,"timestamp_ms":1787412365000,"timestamp_seconds":1787412365,"priority":1,"record_length":96,"hex_timestamp":"000001a02a143ec8"} 
[2026-08-22 20: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-22 20:59:29] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577488384001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577488384001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:59:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:59:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577488384001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":160283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:59:29] local.INFO: GPS data processed {"connection_id":160283,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:59:29] local.INFO: Acknowledgment sent {"connection_id":160283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:59:48] local.INFO: TCP Data received {"connection_id":161228,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:59:48] local.INFO: Processing buffer {"connection_id":161228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:59:48] local.INFO: IMEI packet received {"connection_id":161228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 20:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":161228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:59:51] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:59:51] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:59:51] local.INFO: IMEI packet received {"connection_id":160053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 20:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":160053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 20:59:52] local.INFO: TCP Data received {"connection_id":161228,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:59:52] local.INFO: Processing buffer {"connection_id":161228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:59:52] local.INFO: IMEI packet received {"connection_id":161228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":161228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:59:52] local.INFO: TCP Data received {"connection_id":161228,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:59:52] local.INFO: Processing buffer {"connection_id":161228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:59:52] local.INFO: IMEI packet received {"connection_id":161228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":161228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:59:53] local.INFO: TCP Data received {"connection_id":161228,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:59:53] local.INFO: Processing buffer {"connection_id":161228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 20:59:53] local.INFO: IMEI packet received {"connection_id":161228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 20:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":161228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:59:54] local.INFO: TCP Data received {"connection_id":161228,"ip":"42.106.6.22","data_length":1348,"data_hex":"000000000000030f8e0a000001a02a1603e8012d7bfc0005f68770000e00fa2a..."} 
[2026-08-22 20:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161228,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a02a1603e8012d7bfc0005f68770000e00fa2a..."} 
[2026-08-22 20:59:54] local.INFO: Processing buffer {"connection_id":161228,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a02a1603e8012d7bfc0005f68770000e00fa2a..."} 
[2026-08-22 20:59:54] local.INFO: Packet analysis {"connection_id":161228,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a02a16"} 
[2026-08-22 20:59:54] local.INFO: Extracted packet for processing {"connection_id":161228,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a02a16"} 
[2026-08-22 20:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763100160,"raw_latitude":100042608,"longitude_deg":76.310016,"latitude_deg":10.0042608,"altitude":14,"angle":250,"satellites":42,"speed":18,"hex_longitude":"2d7bfc00","hex_latitude":"05f68770","is_valid_coordinates":true} 
[2026-08-22 20:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577591040001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389175108473716736,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943445198127607808,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787412481000,"timestamp_ms":1787412481000,"timestamp_seconds":1787412481,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1603e8"} 
[2026-08-22 20:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:59: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-22 20:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 20:59:54] 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-22 20:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:59:54] 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-22 20:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577591040001,"66":27267,"152":206,"87":12800,"24":18,"16":389175108473716736,"45":8943445198127607808},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,87,24,16,45]} 
[2026-08-22 20:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577591040001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:59:54] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-22 20:59:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 20:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389175108473716736,"km_value":389175108473716.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943445198127607808,"description":"Unknown IO ID 45"} 
[2026-08-22 20:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577591040001,"power":27267,"unknown_152":206,"unknown_87":12800,"ignition":18,"odometer":null,"unknown_45":8943445198127607808}} 
[2026-08-22 20:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":161228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:59:54] local.INFO: GPS data processed {"connection_id":161228,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:59:54] local.INFO: Acknowledgment sent {"connection_id":161228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:59:54] local.INFO: Packet analysis {"connection_id":161228,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a02a16"} 
[2026-08-22 20:59:54] local.INFO: Incomplete packet, waiting for more data {"connection_id":161228,"needed":795,"available":553} 
[2026-08-22 20:59:54] local.INFO: TCP Data received {"connection_id":161228,"ip":"42.106.6.22","data_length":242,"data_hex":"000000000001a02a152158012d7c68c005f6a218000d011c28000f0000000a00..."} 
[2026-08-22 20:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161228,"packet_length":242,"packet_hex":"000000000001a02a152158012d7c68c005f6a218000d011c28000f0000000a00..."} 
[2026-08-22 20:59:54] local.INFO: Processing buffer {"connection_id":161228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a163e80012d7bd90005f67940001200f526..."} 
[2026-08-22 20:59:54] local.INFO: Packet analysis {"connection_id":161228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a16"} 
[2026-08-22 20:59:54] local.INFO: Extracted packet for processing {"connection_id":161228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a16"} 
[2026-08-22 20:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763091200,"raw_latitude":100038976,"longitude_deg":76.30912,"latitude_deg":10.0038976,"altitude":18,"angle":245,"satellites":38,"speed":27,"hex_longitude":"2d7bd900","hex_latitude":"05f67940","is_valid_coordinates":true} 
[2026-08-22 20:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577595136001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389175568035217408,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934015786407129088,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787412496000,"timestamp_ms":1787412496000,"timestamp_seconds":1787412496,"priority":1,"record_length":96,"hex_timestamp":"000001a02a163e80"} 
[2026-08-22 20:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:59: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-22 20:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 20:59: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-22 20:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:59:54] 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-22 20:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577595136001,"66":27213,"152":206,"87":12800,"24":27,"16":389175568035217408,"45":8934015786407129088},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,87,24,16,45]} 
[2026-08-22 20:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577595136001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:59:54] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-22 20:59:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 20:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389175568035217408,"km_value":389175568035217.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934015786407129088,"description":"Unknown IO ID 45"} 
[2026-08-22 20:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577595136001,"power":27213,"unknown_152":206,"unknown_87":12800,"ignition":27,"odometer":null,"unknown_45":8934015786407129088}} 
[2026-08-22 20:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":161228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:59:54] local.INFO: GPS data processed {"connection_id":161228,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:59:54] local.INFO: Acknowledgment sent {"connection_id":161228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:59:57] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:59:57] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 20:59:57] local.INFO: IMEI packet received {"connection_id":160053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 20:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":160053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 20:59:58] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:59:58] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 20:59:58] local.INFO: Packet analysis {"connection_id":160053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:59:58] local.INFO: Extracted packet for processing {"connection_id":160053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 20:59:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 20:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577488384001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:58] 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-22 20:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787412365000,"timestamp_ms":1787412365000,"timestamp_seconds":1787412365,"priority":1,"record_length":96,"hex_timestamp":"000001a02a143ec8"} 
[2026-08-22 20:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:59:58] 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-22 20:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 20:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 20:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 20:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 20:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 20:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 20:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577488384001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 20:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 20:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 20:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577488384001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:59:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 20:59:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 20:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 20:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577488384001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 20:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":160053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:59:58] local.INFO: GPS data processed {"connection_id":160053,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:59:58] local.INFO: Acknowledgment sent {"connection_id":160053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 20:59:58] local.INFO: TCP Data received {"connection_id":161228,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a167918012d7bb7c005f66bd0001100fa1e..."} 
[2026-08-22 20:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a167918012d7bb7c005f66bd0001100fa1e..."} 
[2026-08-22 20:59:58] local.INFO: Processing buffer {"connection_id":161228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a167918012d7bb7c005f66bd0001100fa1e..."} 
[2026-08-22 20:59:58] local.INFO: Packet analysis {"connection_id":161228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a16"} 
[2026-08-22 20:59:58] local.INFO: Extracted packet for processing {"connection_id":161228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a16"} 
[2026-08-22 20:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763082688,"raw_latitude":100035536,"longitude_deg":76.3082688,"latitude_deg":10.0035536,"altitude":17,"angle":250,"satellites":30,"speed":16,"hex_longitude":"2d7bb7c0","hex_latitude":"05f66bd0","is_valid_coordinates":true} 
[2026-08-22 20:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 20:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577598976001,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389176010416848896,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924164162221326336,"note":"Value kept but may cause issues"} 
[2026-08-22 20:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 20:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787412511000,"timestamp_ms":1787412511000,"timestamp_seconds":1787412511,"priority":1,"record_length":96,"hex_timestamp":"000001a02a167918"} 
[2026-08-22 20:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 20:59: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-22 20:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 20:59:58] 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-22 20:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 20:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 20:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 20:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 20:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 20:59:58] 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-22 20:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 20:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 20:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577598976001,"66":27463,"152":206,"87":12800,"24":16,"16":389176010416848896,"45":8924164162221326336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,87,24,16,45]} 
[2026-08-22 20:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 20:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 20:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577598976001,"description":"Unknown IO ID 0"} 
[2026-08-22 20:59:58] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-22 20:59:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 20:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389176010416848896,"km_value":389176010416848.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 20:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924164162221326336,"description":"Unknown IO ID 45"} 
[2026-08-22 20:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577598976001,"power":27463,"unknown_152":206,"unknown_87":12800,"ignition":16,"odometer":null,"unknown_45":8924164162221326336}} 
[2026-08-22 20:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":161228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 20:59:58] local.INFO: GPS data processed {"connection_id":161228,"processed":1,"errors":0,"total":1} 
[2026-08-22 20:59:58] local.INFO: Acknowledgment sent {"connection_id":161228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:00:29] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 21:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 21:00:29] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 21:00:29] local.INFO: Packet analysis {"connection_id":160053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 21:00:29] local.INFO: Extracted packet for processing {"connection_id":160053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 21:00:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577488384001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:00:29] 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-22 21:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787412365000,"timestamp_ms":1787412365000,"timestamp_seconds":1787412365,"priority":1,"record_length":96,"hex_timestamp":"000001a02a143ec8"} 
[2026-08-22 21: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-22 21:00:29] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577488384001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577488384001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:00:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:00:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577488384001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":160053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:00:29] local.INFO: GPS data processed {"connection_id":160053,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:00:29] local.INFO: Acknowledgment sent {"connection_id":160053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:00:30] local.INFO: TCP Data received {"connection_id":161228,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a16cb20012d7b9d0005f660c0001800f52a..."} 
[2026-08-22 21:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a16cb20012d7b9d0005f660c0001800f52a..."} 
[2026-08-22 21:00:30] local.INFO: Processing buffer {"connection_id":161228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a16cb20012d7b9d0005f660c0001800f52a..."} 
[2026-08-22 21:00:30] local.INFO: Packet analysis {"connection_id":161228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a16"} 
[2026-08-22 21:00:30] local.INFO: Extracted packet for processing {"connection_id":161228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a16"} 
[2026-08-22 21:00:30] local.INFO: GPS Element Parsed {"raw_longitude":763075840,"raw_latitude":100032704,"longitude_deg":76.307584,"latitude_deg":10.0032704,"altitude":24,"angle":245,"satellites":42,"speed":12,"hex_longitude":"2d7b9d00","hex_latitude":"05f660c0","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577602816001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389176362604167168,"note":"Value kept but may cause issues"} 
[2026-08-22 21:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914805119244816384,"note":"Value kept but may cause issues"} 
[2026-08-22 21:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787412532000,"timestamp_ms":1787412532000,"timestamp_seconds":1787412532,"priority":1,"record_length":96,"hex_timestamp":"000001a02a16cb20"} 
[2026-08-22 21: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-22 21: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-22 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-22 21:00:30] 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-22 21: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-22 21: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-22 21:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:00: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-22 21:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577602816001,"66":27343,"152":206,"87":12800,"24":12,"16":389176362604167168,"45":8914805119244816384},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,87,24,16,45]} 
[2026-08-22 21:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577602816001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:00:30] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-22 21:00:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389176362604167168,"km_value":389176362604167.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914805119244816384,"description":"Unknown IO ID 45"} 
[2026-08-22 21:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577602816001,"power":27343,"unknown_152":206,"unknown_87":12800,"ignition":12,"odometer":null,"unknown_45":8914805119244816384}} 
[2026-08-22 21:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":161228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:00:30] local.INFO: GPS data processed {"connection_id":161228,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:00:30] local.INFO: Acknowledgment sent {"connection_id":161228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:00:48] local.INFO: TCP Data received {"connection_id":160284,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:00:48] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:00:48] local.INFO: IMEI packet received {"connection_id":160284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":160284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:00:50] local.INFO: TCP Data received {"connection_id":160284,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:00:50] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:00:50] local.INFO: IMEI packet received {"connection_id":160284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":160284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:00:53] local.INFO: TCP Data received {"connection_id":160284,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:00:53] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:00:53] local.INFO: IMEI packet received {"connection_id":160284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":160284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:00:54] local.INFO: TCP Data received {"connection_id":160284,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a171d28012d7b960005f65c78001e00e42c..."} 
[2026-08-22 21:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a171d28012d7b960005f65c78001e00e42c..."} 
[2026-08-22 21:00:54] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a171d28012d7b960005f65c78001e00e42c..."} 
[2026-08-22 21:00:54] local.INFO: Packet analysis {"connection_id":160284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a17"} 
[2026-08-22 21:00:54] local.INFO: Extracted packet for processing {"connection_id":160284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a17"} 
[2026-08-22 21:00:54] local.INFO: GPS Element Parsed {"raw_longitude":763074048,"raw_latitude":100031608,"longitude_deg":76.3074048,"latitude_deg":10.0031608,"altitude":30,"angle":228,"satellites":44,"speed":5,"hex_longitude":"2d7b9600","hex_latitude":"05f65c78","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577608192001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389176469978349568,"note":"Value kept but may cause issues"} 
[2026-08-22 21:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907275663617081344,"note":"Value kept but may cause issues"} 
[2026-08-22 21:00:54] 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-22 21:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787412553000,"timestamp_ms":1787412553000,"timestamp_seconds":1787412553,"priority":1,"record_length":96,"hex_timestamp":"000001a02a171d28"} 
[2026-08-22 21: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-22 21:00: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-22 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 21:00: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-22 21: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-22 21: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-22 21:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:00:54] 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-22 21:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577608192001,"66":27343,"162":206,"87":12800,"24":5,"16":389176469978349568,"45":8907275663617081344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,87,24,16,45]} 
[2026-08-22 21:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577608192001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:00:54] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-22 21:00:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389176469978349568,"km_value":389176469978349.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907275663617081344,"description":"Unknown IO ID 45"} 
[2026-08-22 21:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577608192001,"power":27343,"unknown_162":206,"unknown_87":12800,"ignition":5,"odometer":null,"unknown_45":8907275663617081344}} 
[2026-08-22 21:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":160284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:00:54] local.INFO: GPS data processed {"connection_id":160284,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:00:54] local.INFO: Acknowledgment sent {"connection_id":160284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:00:57] local.INFO: TCP Data received {"connection_id":161229,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:00:57] local.INFO: Processing buffer {"connection_id":161229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:00:57] local.INFO: IMEI packet received {"connection_id":161229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":161229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:01:02] local.INFO: TCP Data received {"connection_id":161229,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:01:02] local.INFO: Processing buffer {"connection_id":161229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:01:02] local.INFO: IMEI packet received {"connection_id":161229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":161229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:01:03] local.INFO: TCP Data received {"connection_id":161229,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 21:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 21:01:03] local.INFO: Processing buffer {"connection_id":161229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 21:01:03] local.INFO: Packet analysis {"connection_id":161229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 21:01:03] local.INFO: Extracted packet for processing {"connection_id":161229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 21:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21:01: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-22 21:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577488384001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:01:03] 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-22 21:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787412365000,"timestamp_ms":1787412365000,"timestamp_seconds":1787412365,"priority":1,"record_length":96,"hex_timestamp":"000001a02a143ec8"} 
[2026-08-22 21:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:01:03] 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-22 21:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21:01: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-22 21:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577488384001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577488384001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:01:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577488384001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":161229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:01:03] local.INFO: GPS data processed {"connection_id":161229,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:01:03] local.INFO: Acknowledgment sent {"connection_id":161229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:01:07] local.INFO: TCP Data received {"connection_id":161229,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 21:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 21:01:07] local.INFO: Processing buffer {"connection_id":161229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a143ec8012d1b5ac00724fe70002a00bb27..."} 
[2026-08-22 21:01:07] local.INFO: Packet analysis {"connection_id":161229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 21:01:07] local.INFO: Extracted packet for processing {"connection_id":161229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a14"} 
[2026-08-22 21:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21:01: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-22 21:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577488384001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:01:07] 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-22 21:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787412365000,"timestamp_ms":1787412365000,"timestamp_seconds":1787412365,"priority":1,"record_length":96,"hex_timestamp":"000001a02a143ec8"} 
[2026-08-22 21:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:01:07] 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-22 21:01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21:01: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-22 21:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577488384001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577488384001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:01:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577488384001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":161229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:01:07] local.INFO: GPS data processed {"connection_id":161229,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:01:07] local.INFO: Acknowledgment sent {"connection_id":161229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:01:25] local.INFO: TCP Data received {"connection_id":160284,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a171d28012d7b960005f65c78001e00e42c..."} 
[2026-08-22 21:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a171d28012d7b960005f65c78001e00e42c..."} 
[2026-08-22 21:01:25] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a171d28012d7b960005f65c78001e00e42c..."} 
[2026-08-22 21:01:25] local.INFO: Packet analysis {"connection_id":160284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a17"} 
[2026-08-22 21:01:25] local.INFO: Extracted packet for processing {"connection_id":160284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a17"} 
[2026-08-22 21:01:25] local.INFO: GPS Element Parsed {"raw_longitude":763074048,"raw_latitude":100031608,"longitude_deg":76.3074048,"latitude_deg":10.0031608,"altitude":30,"angle":228,"satellites":44,"speed":5,"hex_longitude":"2d7b9600","hex_latitude":"05f65c78","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577613568001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389176469978349568,"note":"Value kept but may cause issues"} 
[2026-08-22 21:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905305338779826176,"note":"Value kept but may cause issues"} 
[2026-08-22 21:01:25] 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-22 21:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787412553000,"timestamp_ms":1787412553000,"timestamp_seconds":1787412553,"priority":1,"record_length":96,"hex_timestamp":"000001a02a171d28"} 
[2026-08-22 21: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-22 21:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 21:01:25] 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-22 21: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-22 21: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-22 21:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:01: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-22 21:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577613568001,"66":27343,"162":206,"87":12800,"24":5,"16":389176469978349568,"45":8905305338779826176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,87,24,16,45]} 
[2026-08-22 21:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577613568001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:01:25] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-22 21:01:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389176469978349568,"km_value":389176469978349.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905305338779826176,"description":"Unknown IO ID 45"} 
[2026-08-22 21:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577613568001,"power":27343,"unknown_162":206,"unknown_87":12800,"ignition":5,"odometer":null,"unknown_45":8905305338779826176}} 
[2026-08-22 21:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":160284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:01:25] local.INFO: GPS data processed {"connection_id":160284,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:01:25] local.INFO: Acknowledgment sent {"connection_id":160284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:01:48] local.INFO: TCP Data received {"connection_id":162649,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:01:48] local.INFO: Processing buffer {"connection_id":162649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:01:48] local.INFO: IMEI packet received {"connection_id":162649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":162649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:01:48] local.INFO: TCP Data received {"connection_id":162649,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:01:48] local.INFO: Processing buffer {"connection_id":162649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:01:48] local.INFO: IMEI packet received {"connection_id":162649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":162649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:01:52] local.INFO: TCP Data received {"connection_id":162650,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:01:52] local.INFO: Processing buffer {"connection_id":162650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:01:52] local.INFO: IMEI packet received {"connection_id":162650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":162650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:01:53] local.INFO: TCP Data received {"connection_id":162649,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:01:53] local.INFO: Processing buffer {"connection_id":162649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:01:53] local.INFO: IMEI packet received {"connection_id":162649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":162649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:01:54] local.INFO: TCP Data received {"connection_id":162649,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a187cb8012d7b828005f5f128000d00942b..."} 
[2026-08-22 21:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a187cb8012d7b828005f5f128000d00942b..."} 
[2026-08-22 21:01:54] local.INFO: Processing buffer {"connection_id":162649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a187cb8012d7b828005f5f128000d00942b..."} 
[2026-08-22 21:01:54] local.INFO: Packet analysis {"connection_id":162649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:01:54] local.INFO: Extracted packet for processing {"connection_id":162649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":100004136,"longitude_deg":76.3069056,"latitude_deg":10.0004136,"altitude":13,"angle":148,"satellites":43,"speed":12,"hex_longitude":"2d7b8280","hex_latitude":"05f5f128","is_valid_coordinates":true} 
[2026-08-22 21:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577633024001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178136425660416,"note":"Value kept but may cause issues"} 
[2026-08-22 21:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897635145659002880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787412643000,"timestamp_ms":1787412643000,"timestamp_seconds":1787412643,"priority":1,"record_length":96,"hex_timestamp":"000001a02a187cb8"} 
[2026-08-22 21:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:01: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-22 21:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 21:01:54] 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-22 21:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:01:54] 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-22 21:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577633024001,"66":27376,"160":206,"87":12800,"24":12,"16":389178136425660416,"45":8897635145659002880},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577633024001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:01:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:01:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178136425660416,"km_value":389178136425660.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897635145659002880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577633024001,"power":27376,"unknown_160":206,"unknown_87":12800,"ignition":12,"odometer":null,"unknown_45":8897635145659002880}} 
[2026-08-22 21:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":162649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:01:54] local.INFO: GPS data processed {"connection_id":162649,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:01:54] local.INFO: Acknowledgment sent {"connection_id":162649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:01:57] local.INFO: TCP Data received {"connection_id":162650,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:01:57] local.INFO: Processing buffer {"connection_id":162650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:01:57] local.INFO: IMEI packet received {"connection_id":162650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":162650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:01:58] local.INFO: TCP Data received {"connection_id":162650,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:01:58] local.INFO: Processing buffer {"connection_id":162650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:01:58] local.INFO: Packet analysis {"connection_id":162650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:01:58] local.INFO: Extracted packet for processing {"connection_id":162650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:01:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577565440001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:01:58] 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-22 21:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787412666000,"timestamp_ms":1787412666000,"timestamp_seconds":1787412666,"priority":1,"record_length":96,"hex_timestamp":"000001a02a18d690"} 
[2026-08-22 21: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-22 21:01:58] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577565440001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577565440001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:01:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:01:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577565440001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":162650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:01:58] local.INFO: GPS data processed {"connection_id":162650,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:01:58] local.INFO: Acknowledgment sent {"connection_id":162650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:02:25] local.INFO: TCP Data received {"connection_id":162649,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a189428012d7b858005f5ec90000d00a12b..."} 
[2026-08-22 21:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a189428012d7b858005f5ec90000d00a12b..."} 
[2026-08-22 21:02:25] local.INFO: Processing buffer {"connection_id":162649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a189428012d7b858005f5ec90000d00a12b..."} 
[2026-08-22 21:02:25] local.INFO: Packet analysis {"connection_id":162649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:02:25] local.INFO: Extracted packet for processing {"connection_id":162649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:02:25] local.INFO: GPS Element Parsed {"raw_longitude":763069824,"raw_latitude":100002960,"longitude_deg":76.3069824,"latitude_deg":10.000296,"altitude":13,"angle":161,"satellites":43,"speed":8,"hex_longitude":"2d7b8580","hex_latitude":"05f5ec90","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577636608001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178205145137152,"note":"Value kept but may cause issues"} 
[2026-08-22 21:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726935552,"note":"Value kept but may cause issues"} 
[2026-08-22 21:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787412649000,"timestamp_ms":1787412649000,"timestamp_seconds":1787412649,"priority":1,"record_length":96,"hex_timestamp":"000001a02a189428"} 
[2026-08-22 21: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-22 21:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 21:02: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-22 21: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-22 21: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-22 21:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:02: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-22 21:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577636608001,"66":27234,"160":206,"87":12800,"24":8,"16":389178205145137152,"45":8899816576726935552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577636608001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:02:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:02:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178205145137152,"km_value":389178205145137.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726935552,"description":"Unknown IO ID 45"} 
[2026-08-22 21:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577636608001,"power":27234,"unknown_160":206,"unknown_87":12800,"ignition":8,"odometer":null,"unknown_45":8899816576726935552}} 
[2026-08-22 21:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":162649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:02:25] local.INFO: GPS data processed {"connection_id":162649,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:02:25] local.INFO: Acknowledgment sent {"connection_id":162649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:02:29] local.INFO: TCP Data received {"connection_id":162650,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:02:29] local.INFO: Processing buffer {"connection_id":162650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:02:29] local.INFO: Packet analysis {"connection_id":162650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:02:29] local.INFO: Extracted packet for processing {"connection_id":162650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:02:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577565440001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:02:29] 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-22 21:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787412666000,"timestamp_ms":1787412666000,"timestamp_seconds":1787412666,"priority":1,"record_length":96,"hex_timestamp":"000001a02a18d690"} 
[2026-08-22 21: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-22 21:02:29] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577565440001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577565440001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:02:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577565440001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":162650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:02:29] local.INFO: GPS data processed {"connection_id":162650,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:02:29] local.INFO: Acknowledgment sent {"connection_id":162650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:02:52] local.INFO: TCP Data received {"connection_id":160285,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:02:52] local.INFO: Processing buffer {"connection_id":160285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:02:52] local.INFO: IMEI packet received {"connection_id":160285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":160285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:02:53] local.INFO: TCP Data received {"connection_id":160054,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:02:53] local.INFO: Processing buffer {"connection_id":160054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:02:53] local.INFO: IMEI packet received {"connection_id":160054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":160054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:02:57] local.INFO: TCP Data received {"connection_id":160285,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:02:57] local.INFO: Processing buffer {"connection_id":160285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:02:57] local.INFO: IMEI packet received {"connection_id":160285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":160285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:02:58] local.INFO: TCP Data received {"connection_id":160285,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:02:58] local.INFO: Processing buffer {"connection_id":160285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:02:58] local.INFO: Packet analysis {"connection_id":160285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:02:58] local.INFO: Extracted packet for processing {"connection_id":160285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:02:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577565440001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:02:58] 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-22 21:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787412666000,"timestamp_ms":1787412666000,"timestamp_seconds":1787412666,"priority":1,"record_length":96,"hex_timestamp":"000001a02a18d690"} 
[2026-08-22 21:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:02:58] 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-22 21:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577565440001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577565440001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:02:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577565440001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":160285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:02:58] local.INFO: GPS data processed {"connection_id":160285,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:02:58] local.INFO: Acknowledgment sent {"connection_id":160285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:02:58] local.INFO: TCP Data received {"connection_id":160054,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:02:58] local.INFO: Processing buffer {"connection_id":160054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:02:58] local.INFO: IMEI packet received {"connection_id":160054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":160054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:02:59] local.INFO: TCP Data received {"connection_id":160054,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02a18e630012d7b840005f5eae0000f00a12b..."} 
[2026-08-22 21:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a18e630012d7b840005f5eae0000f00a12b..."} 
[2026-08-22 21:02:59] local.INFO: Processing buffer {"connection_id":160054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a18e630012d7b840005f5eae0000f00a12b..."} 
[2026-08-22 21:02:59] local.INFO: Packet analysis {"connection_id":160054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:02:59] local.INFO: Extracted packet for processing {"connection_id":160054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100002528,"longitude_deg":76.306944,"latitude_deg":10.0002528,"altitude":15,"angle":161,"satellites":43,"speed":4,"hex_longitude":"2d7b8400","hex_latitude":"05f5eae0","is_valid_coordinates":true} 
[2026-08-22 21:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577638144001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178295339450368,"note":"Value kept but may cause issues"} 
[2026-08-22 21:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001656766464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787412670000,"timestamp_ms":1787412670000,"timestamp_seconds":1787412670,"priority":1,"record_length":96,"hex_timestamp":"000001a02a18e630"} 
[2026-08-22 21:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:02: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-22 21:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-22 21:02: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-22 21:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:02: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-22 21:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577638144001,"66":27517,"160":206,"87":12800,"24":4,"16":389178295339450368,"45":8900661001656766464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577638144001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:02:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:02:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178295339450368,"km_value":389178295339450.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001656766464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577638144001,"power":27517,"unknown_160":206,"unknown_87":12800,"ignition":4,"odometer":null,"unknown_45":8900661001656766464}} 
[2026-08-22 21:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":160054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:02:59] local.INFO: GPS data processed {"connection_id":160054,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:02:59] local.INFO: Acknowledgment sent {"connection_id":160054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:03:04] local.INFO: TCP Data received {"connection_id":160054,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02a193838012d7b828005f5ecb0001200a12b..."} 
[2026-08-22 21:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a193838012d7b828005f5ecb0001200a12b..."} 
[2026-08-22 21:03:04] local.INFO: Processing buffer {"connection_id":160054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a193838012d7b828005f5ecb0001200a12b..."} 
[2026-08-22 21:03:04] local.INFO: Packet analysis {"connection_id":160054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:03:04] local.INFO: Extracted packet for processing {"connection_id":160054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":100002992,"longitude_deg":76.3069056,"latitude_deg":10.0002992,"altitude":18,"angle":161,"satellites":43,"speed":0,"hex_longitude":"2d7b8280","hex_latitude":"05f5ecb0","is_valid_coordinates":true} 
[2026-08-22 21:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577643520001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178329699188736,"note":"Value kept but may cause issues"} 
[2026-08-22 21:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191589888,"note":"Value kept but may cause issues"} 
[2026-08-22 21:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787412691000,"timestamp_ms":1787412691000,"timestamp_seconds":1787412691,"priority":1,"record_length":96,"hex_timestamp":"000001a02a193838"} 
[2026-08-22 21:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:03:04] 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-22 21:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-22 21:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:03: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-22 21:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577643520001,"66":27300,"160":206,"87":12800,"24":0,"16":389178329699188736,"45":8900238789191589888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577643520001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:03:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:03:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178329699188736,"km_value":389178329699188.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191589888,"description":"Unknown IO ID 45"} 
[2026-08-22 21:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577643520001,"power":27300,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191589888}} 
[2026-08-22 21:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":160054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:03:04] local.INFO: GPS data processed {"connection_id":160054,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:03:04] local.INFO: Acknowledgment sent {"connection_id":160054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:03:29] local.INFO: TCP Data received {"connection_id":160285,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:03:29] local.INFO: Processing buffer {"connection_id":160285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:03:29] local.INFO: Packet analysis {"connection_id":160285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:03:29] local.INFO: Extracted packet for processing {"connection_id":160285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577565440001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:03:29] 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-22 21:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787412666000,"timestamp_ms":1787412666000,"timestamp_seconds":1787412666,"priority":1,"record_length":96,"hex_timestamp":"000001a02a18d690"} 
[2026-08-22 21: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-22 21:03:29] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577565440001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577565440001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:03:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577565440001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":160285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:03:29] local.INFO: GPS data processed {"connection_id":160285,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:03:29] local.INFO: Acknowledgment sent {"connection_id":160285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:03:48] local.INFO: TCP Data received {"connection_id":160055,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:03:48] local.INFO: Processing buffer {"connection_id":160055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:03:48] local.INFO: IMEI packet received {"connection_id":160055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":160055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:03:51] local.INFO: TCP Data received {"connection_id":162651,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:03:51] local.INFO: Processing buffer {"connection_id":162651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:03:51] local.INFO: IMEI packet received {"connection_id":162651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":162651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:03:53] local.INFO: TCP Data received {"connection_id":160055,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:03:53] local.INFO: Processing buffer {"connection_id":160055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:03:53] local.INFO: IMEI packet received {"connection_id":160055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":160055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:03:54] local.INFO: TCP Data received {"connection_id":160055,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:03:54] local.INFO: Processing buffer {"connection_id":160055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:03:54] local.INFO: Packet analysis {"connection_id":160055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:03:54] local.INFO: Extracted packet for processing {"connection_id":160055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763068864,"raw_latitude":100004024,"longitude_deg":76.3068864,"latitude_deg":10.0004024,"altitude":21,"angle":161,"satellites":44,"speed":0,"hex_longitude":"2d7b81c0","hex_latitude":"05f5f0b8","is_valid_coordinates":true} 
[2026-08-22 21:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577648896001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726642688,"note":"Value kept but may cause issues"} 
[2026-08-22 21:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787412704000,"timestamp_ms":1787412704000,"timestamp_seconds":1787412704,"priority":1,"record_length":96,"hex_timestamp":"000001a02a196b00"} 
[2026-08-22 21:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:03: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-22 21:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 21:03: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-22 21:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:03: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-22 21:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577648896001,"66":27821,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899816576726642688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577648896001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:03:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:03:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726642688,"description":"Unknown IO ID 45"} 
[2026-08-22 21:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577648896001,"power":27821,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726642688}} 
[2026-08-22 21:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":160055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:03:54] local.INFO: GPS data processed {"connection_id":160055,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:03:54] local.INFO: Acknowledgment sent {"connection_id":160055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:03:57] local.INFO: TCP Data received {"connection_id":162651,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:03:57] local.INFO: Processing buffer {"connection_id":162651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:03:57] local.INFO: IMEI packet received {"connection_id":162651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":162651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:03:58] local.INFO: TCP Data received {"connection_id":162651,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:03:58] local.INFO: Processing buffer {"connection_id":162651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:03:58] local.INFO: Packet analysis {"connection_id":162651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:03:58] local.INFO: Extracted packet for processing {"connection_id":162651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:03:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577565440001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:03:58] 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-22 21:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787412666000,"timestamp_ms":1787412666000,"timestamp_seconds":1787412666,"priority":1,"record_length":96,"hex_timestamp":"000001a02a18d690"} 
[2026-08-22 21: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-22 21:03:58] 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-22 21:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577565440001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577565440001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:03:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577565440001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":162651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:03:58] local.INFO: GPS data processed {"connection_id":162651,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:03:58] local.INFO: Acknowledgment sent {"connection_id":162651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:04:25] local.INFO: TCP Data received {"connection_id":160055,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:04:25] local.INFO: Processing buffer {"connection_id":160055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:04:25] local.INFO: Packet analysis {"connection_id":160055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:04:25] local.INFO: Extracted packet for processing {"connection_id":160055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:04:25] local.INFO: GPS Element Parsed {"raw_longitude":763068864,"raw_latitude":100004024,"longitude_deg":76.3068864,"latitude_deg":10.0004024,"altitude":21,"angle":161,"satellites":44,"speed":0,"hex_longitude":"2d7b81c0","hex_latitude":"05f5f0b8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577648896001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726642688,"note":"Value kept but may cause issues"} 
[2026-08-22 21:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787412704000,"timestamp_ms":1787412704000,"timestamp_seconds":1787412704,"priority":1,"record_length":96,"hex_timestamp":"000001a02a196b00"} 
[2026-08-22 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-22 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-22 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":164,"data_length":795,"current_offset":136} 
[2026-08-22 21:04:25] 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-22 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-22 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-22 21:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:04: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-22 21:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577648896001,"66":27821,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899816576726642688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577648896001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:04:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:04:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726642688,"description":"Unknown IO ID 45"} 
[2026-08-22 21:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577648896001,"power":27821,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726642688}} 
[2026-08-22 21:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":160055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:04:25] local.INFO: GPS data processed {"connection_id":160055,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:04:25] local.INFO: Acknowledgment sent {"connection_id":160055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:04:29] local.INFO: TCP Data received {"connection_id":162651,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:04:29] local.INFO: Processing buffer {"connection_id":162651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:04:29] local.INFO: Packet analysis {"connection_id":162651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:04:29] local.INFO: Extracted packet for processing {"connection_id":162651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:04:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577565440001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:04:29] 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-22 21:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787412666000,"timestamp_ms":1787412666000,"timestamp_seconds":1787412666,"priority":1,"record_length":96,"hex_timestamp":"000001a02a18d690"} 
[2026-08-22 21:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:04:29] 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-22 21:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577565440001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577565440001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:04:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:04:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577565440001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":162651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:04:29] local.INFO: GPS data processed {"connection_id":162651,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:04:29] local.INFO: Acknowledgment sent {"connection_id":162651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:04:48] local.INFO: TCP Data received {"connection_id":160056,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:04:48] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:04:48] local.INFO: IMEI packet received {"connection_id":160056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":160056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:04:51] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:04:51] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:04:51] local.INFO: IMEI packet received {"connection_id":160286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":160286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:04:53] local.INFO: TCP Data received {"connection_id":160056,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:04:53] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:04:53] local.INFO: IMEI packet received {"connection_id":160056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":160056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:04:54] local.INFO: TCP Data received {"connection_id":160056,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:04:54] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:04:54] local.INFO: Packet analysis {"connection_id":160056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:04:54] local.INFO: Extracted packet for processing {"connection_id":160056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:04:54] local.INFO: GPS Element Parsed {"raw_longitude":763068864,"raw_latitude":100004024,"longitude_deg":76.3068864,"latitude_deg":10.0004024,"altitude":21,"angle":161,"satellites":44,"speed":0,"hex_longitude":"2d7b81c0","hex_latitude":"05f5f0b8","is_valid_coordinates":true} 
[2026-08-22 21:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577648896001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726642688,"note":"Value kept but may cause issues"} 
[2026-08-22 21:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787412704000,"timestamp_ms":1787412704000,"timestamp_seconds":1787412704,"priority":1,"record_length":96,"hex_timestamp":"000001a02a196b00"} 
[2026-08-22 21: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-22 21:04: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-22 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 21:04: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-22 21:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21: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-22 21:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:04: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-22 21:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577648896001,"66":27821,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899816576726642688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577648896001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:04:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:04:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726642688,"description":"Unknown IO ID 45"} 
[2026-08-22 21:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577648896001,"power":27821,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726642688}} 
[2026-08-22 21:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":160056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:04:54] local.INFO: GPS data processed {"connection_id":160056,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:04:54] local.INFO: Acknowledgment sent {"connection_id":160056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:04:57] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:04:57] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:04:57] local.INFO: IMEI packet received {"connection_id":160286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":160286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:04:58] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:04:58] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:04:58] local.INFO: Packet analysis {"connection_id":160286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:04:58] local.INFO: Extracted packet for processing {"connection_id":160286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:04:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577565440001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:04:58] 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-22 21:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787412666000,"timestamp_ms":1787412666000,"timestamp_seconds":1787412666,"priority":1,"record_length":96,"hex_timestamp":"000001a02a18d690"} 
[2026-08-22 21: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-22 21:04:58] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577565440001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577565440001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:04:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577565440001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":160286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:04:58] local.INFO: GPS data processed {"connection_id":160286,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:04:58] local.INFO: Acknowledgment sent {"connection_id":160286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:05:25] local.INFO: TCP Data received {"connection_id":160056,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:05:25] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:05:25] local.INFO: Packet analysis {"connection_id":160056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:05:25] local.INFO: Extracted packet for processing {"connection_id":160056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:05:25] local.INFO: GPS Element Parsed {"raw_longitude":763068864,"raw_latitude":100004024,"longitude_deg":76.3068864,"latitude_deg":10.0004024,"altitude":21,"angle":161,"satellites":44,"speed":0,"hex_longitude":"2d7b81c0","hex_latitude":"05f5f0b8","is_valid_coordinates":true} 
[2026-08-22 21:05: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-22 21:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577648896001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726642688,"note":"Value kept but may cause issues"} 
[2026-08-22 21:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787412704000,"timestamp_ms":1787412704000,"timestamp_seconds":1787412704,"priority":1,"record_length":96,"hex_timestamp":"000001a02a196b00"} 
[2026-08-22 21: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-22 21: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-22 21: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":164,"data_length":795,"current_offset":136} 
[2026-08-22 21:05:25] 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-22 21: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-22 21: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-22 21:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21: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-22 21:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577648896001,"66":27821,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899816576726642688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577648896001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:05:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:05:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726642688,"description":"Unknown IO ID 45"} 
[2026-08-22 21:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577648896001,"power":27821,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726642688}} 
[2026-08-22 21:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":160056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:05:25] local.INFO: GPS data processed {"connection_id":160056,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:05:25] local.INFO: Acknowledgment sent {"connection_id":160056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:05:29] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:05:29] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:05:29] local.INFO: Packet analysis {"connection_id":160286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:05:29] local.INFO: Extracted packet for processing {"connection_id":160286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:05:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577565440001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:05:29] 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-22 21:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787412666000,"timestamp_ms":1787412666000,"timestamp_seconds":1787412666,"priority":1,"record_length":96,"hex_timestamp":"000001a02a18d690"} 
[2026-08-22 21: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-22 21:05:29] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577565440001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577565440001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:05:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:05:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577565440001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":160286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:05:29] local.INFO: GPS data processed {"connection_id":160286,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:05:29] local.INFO: Acknowledgment sent {"connection_id":160286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:05:50] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:05:50] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:05:50] local.INFO: IMEI packet received {"connection_id":160057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":160057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:05:53] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:05:53] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:05:53] local.INFO: IMEI packet received {"connection_id":160057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":160057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:05:56] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:05:56] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:05:56] local.INFO: Packet analysis {"connection_id":160057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:05:56] local.INFO: Extracted packet for processing {"connection_id":160057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763068864,"raw_latitude":100004024,"longitude_deg":76.3068864,"latitude_deg":10.0004024,"altitude":21,"angle":161,"satellites":44,"speed":0,"hex_longitude":"2d7b81c0","hex_latitude":"05f5f0b8","is_valid_coordinates":true} 
[2026-08-22 21:05: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-22 21:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577648896001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726642688,"note":"Value kept but may cause issues"} 
[2026-08-22 21:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787412704000,"timestamp_ms":1787412704000,"timestamp_seconds":1787412704,"priority":1,"record_length":96,"hex_timestamp":"000001a02a196b00"} 
[2026-08-22 21: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-22 21: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-22 21: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":164,"data_length":795,"current_offset":136} 
[2026-08-22 21:05: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-22 21: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-22 21: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-22 21:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:05: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-22 21:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577648896001,"66":27821,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899816576726642688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577648896001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:05:56] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:05:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726642688,"description":"Unknown IO ID 45"} 
[2026-08-22 21:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577648896001,"power":27821,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726642688}} 
[2026-08-22 21:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":160057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:05:56] local.INFO: GPS data processed {"connection_id":160057,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:05:56] local.INFO: Acknowledgment sent {"connection_id":160057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:05:57] local.INFO: TCP Data received {"connection_id":162652,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:05:57] local.INFO: Processing buffer {"connection_id":162652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:05:57] local.INFO: IMEI packet received {"connection_id":162652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":162652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:06:01] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:06:01] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:06:01] local.INFO: Packet analysis {"connection_id":160057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:06:01] local.INFO: Extracted packet for processing {"connection_id":160057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763068864,"raw_latitude":100004024,"longitude_deg":76.3068864,"latitude_deg":10.0004024,"altitude":21,"angle":161,"satellites":44,"speed":0,"hex_longitude":"2d7b81c0","hex_latitude":"05f5f0b8","is_valid_coordinates":true} 
[2026-08-22 21:06: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-22 21:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577648896001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726642688,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787412704000,"timestamp_ms":1787412704000,"timestamp_seconds":1787412704,"priority":1,"record_length":96,"hex_timestamp":"000001a02a196b00"} 
[2026-08-22 21:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:06: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-22 21:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 21:06: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-22 21:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:06:01] 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-22 21:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577648896001,"66":27821,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899816576726642688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577648896001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:06:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:06:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726642688,"description":"Unknown IO ID 45"} 
[2026-08-22 21:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577648896001,"power":27821,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726642688}} 
[2026-08-22 21:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":160057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:06:01] local.INFO: GPS data processed {"connection_id":160057,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:06:01] local.INFO: Acknowledgment sent {"connection_id":160057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:06:02] local.INFO: TCP Data received {"connection_id":162652,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:06:02] local.INFO: Processing buffer {"connection_id":162652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:06:02] local.INFO: IMEI packet received {"connection_id":162652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":162652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:06:03] local.INFO: TCP Data received {"connection_id":162652,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:06:03] local.INFO: Processing buffer {"connection_id":162652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:06:03] local.INFO: Packet analysis {"connection_id":162652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:06:03] local.INFO: Extracted packet for processing {"connection_id":162652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577565440001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:03] 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-22 21:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787412666000,"timestamp_ms":1787412666000,"timestamp_seconds":1787412666,"priority":1,"record_length":96,"hex_timestamp":"000001a02a18d690"} 
[2026-08-22 21: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-22 21:06:03] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577565440001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577565440001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:06:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577565440001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":162652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:06:03] local.INFO: GPS data processed {"connection_id":162652,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:06:03] local.INFO: Acknowledgment sent {"connection_id":162652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:06:07] local.INFO: TCP Data received {"connection_id":162652,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:06:07] local.INFO: Processing buffer {"connection_id":162652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a18d690012d1b5ac00724fe70002a00bb25..."} 
[2026-08-22 21:06:07] local.INFO: Packet analysis {"connection_id":162652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:06:07] local.INFO: Extracted packet for processing {"connection_id":162652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a18"} 
[2026-08-22 21:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":42,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577565440001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:07] 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-22 21:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787412666000,"timestamp_ms":1787412666000,"timestamp_seconds":1787412666,"priority":1,"record_length":96,"hex_timestamp":"000001a02a18d690"} 
[2026-08-22 21: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-22 21:06:07] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21: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-22 21:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577565440001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577565440001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:06:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577565440001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":162652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:06:07] local.INFO: GPS data processed {"connection_id":162652,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:06:07] local.INFO: Acknowledgment sent {"connection_id":162652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:06:35] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:06:35] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:06:35] local.INFO: Packet analysis {"connection_id":160057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:06:35] local.INFO: Extracted packet for processing {"connection_id":160057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:06:35] local.INFO: GPS Element Parsed {"raw_longitude":763068864,"raw_latitude":100004024,"longitude_deg":76.3068864,"latitude_deg":10.0004024,"altitude":21,"angle":161,"satellites":44,"speed":0,"hex_longitude":"2d7b81c0","hex_latitude":"05f5f0b8","is_valid_coordinates":true} 
[2026-08-22 21:06: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-22 21:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577648896001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726642688,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787412704000,"timestamp_ms":1787412704000,"timestamp_seconds":1787412704,"priority":1,"record_length":96,"hex_timestamp":"000001a02a196b00"} 
[2026-08-22 21:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:06: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-22 21:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 21:06: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-22 21:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:06: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-22 21:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577648896001,"66":27821,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899816576726642688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577648896001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:06:35] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:06:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726642688,"description":"Unknown IO ID 45"} 
[2026-08-22 21:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577648896001,"power":27821,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726642688}} 
[2026-08-22 21:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":160057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:06:35] local.INFO: GPS data processed {"connection_id":160057,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:06:35] local.INFO: Acknowledgment sent {"connection_id":160057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:06:48] local.INFO: TCP Data received {"connection_id":162653,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:06:48] local.INFO: Processing buffer {"connection_id":162653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:06:48] local.INFO: IMEI packet received {"connection_id":162653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":162653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:06:52] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:06:52] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:06:52] local.INFO: IMEI packet received {"connection_id":160287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":160287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:06:53] local.INFO: TCP Data received {"connection_id":162653,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:06:53] local.INFO: Processing buffer {"connection_id":162653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:06:53] local.INFO: IMEI packet received {"connection_id":162653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":162653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:06:54] local.INFO: TCP Data received {"connection_id":162653,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:06:54] local.INFO: Processing buffer {"connection_id":162653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a196b00012d7b81c005f5f0b8001500a12c..."} 
[2026-08-22 21:06:54] local.INFO: Packet analysis {"connection_id":162653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:06:54] local.INFO: Extracted packet for processing {"connection_id":162653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a19"} 
[2026-08-22 21:06:54] local.INFO: GPS Element Parsed {"raw_longitude":763068864,"raw_latitude":100004024,"longitude_deg":76.3068864,"latitude_deg":10.0004024,"altitude":21,"angle":161,"satellites":44,"speed":0,"hex_longitude":"2d7b81c0","hex_latitude":"05f5f0b8","is_valid_coordinates":true} 
[2026-08-22 21:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577648896001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726642688,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787412704000,"timestamp_ms":1787412704000,"timestamp_seconds":1787412704,"priority":1,"record_length":96,"hex_timestamp":"000001a02a196b00"} 
[2026-08-22 21: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-22 21:06: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-22 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 21:06: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-22 21: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-22 21: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-22 21:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:06:54] 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-22 21:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577648896001,"66":27821,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899816576726642688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577648896001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:06:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:06:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726642688,"description":"Unknown IO ID 45"} 
[2026-08-22 21:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577648896001,"power":27821,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726642688}} 
[2026-08-22 21:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":162653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:06:54] local.INFO: GPS data processed {"connection_id":162653,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:06:54] local.INFO: Acknowledgment sent {"connection_id":162653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:06:57] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:06:57] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:06:57] local.INFO: IMEI packet received {"connection_id":160287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":160287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:06:58] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1d6e58012d1b5ac00724fe70002800bb25..."} 
[2026-08-22 21:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1d6e58012d1b5ac00724fe70002800bb25..."} 
[2026-08-22 21:06:58] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1d6e58012d1b5ac00724fe70002800bb25..."} 
[2026-08-22 21:06:58] local.INFO: Packet analysis {"connection_id":160287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1d"} 
[2026-08-22 21:06:58] local.INFO: Extracted packet for processing {"connection_id":160287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1d"} 
[2026-08-22 21:06:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":40,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577642496001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:06:58] 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-22 21:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787412967000,"timestamp_ms":1787412967000,"timestamp_seconds":1787412967,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1d6e58"} 
[2026-08-22 21: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-22 21:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577642496001,"66":2144,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577642496001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:06:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:06:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577642496001,"power":2144,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":160287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:06:58] local.INFO: GPS data processed {"connection_id":160287,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:06:58] local.INFO: Acknowledgment sent {"connection_id":160287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:07:25] local.INFO: TCP Data received {"connection_id":162653,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:07:25] local.INFO: Processing buffer {"connection_id":162653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:07:25] local.INFO: Packet analysis {"connection_id":162653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:07:25] local.INFO: Extracted packet for processing {"connection_id":162653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:07:25] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 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-22 21:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577652224001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899605470494373888,"note":"Value kept but may cause issues"} 
[2026-08-22 21:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787413006000,"timestamp_ms":1787413006000,"timestamp_seconds":1787413006,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1e06b0"} 
[2026-08-22 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-22 21:07: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-22 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 21:07: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-22 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-22 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-22 21:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:07:25] 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-22 21:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577652224001,"66":26430,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899605470494373888},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577652224001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:07:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:07:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899605470494373888,"description":"Unknown IO ID 45"} 
[2026-08-22 21:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577652224001,"power":26430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899605470494373888}} 
[2026-08-22 21:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":162653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:07:25] local.INFO: GPS data processed {"connection_id":162653,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:07:25] local.INFO: Acknowledgment sent {"connection_id":162653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:07:29] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1d6e58012d1b5ac00724fe70002800bb25..."} 
[2026-08-22 21:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1d6e58012d1b5ac00724fe70002800bb25..."} 
[2026-08-22 21:07:29] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1d6e58012d1b5ac00724fe70002800bb25..."} 
[2026-08-22 21:07:29] local.INFO: Packet analysis {"connection_id":160287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1d"} 
[2026-08-22 21:07:29] local.INFO: Extracted packet for processing {"connection_id":160287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1d"} 
[2026-08-22 21:07:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":40,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577642496001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:07:29] 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-22 21:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787412967000,"timestamp_ms":1787412967000,"timestamp_seconds":1787412967,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1d6e58"} 
[2026-08-22 21: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-22 21:07:29] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577642496001,"66":2144,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577642496001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:07:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:07:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577642496001,"power":2144,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":160287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:07:29] local.INFO: GPS data processed {"connection_id":160287,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:07:29] local.INFO: Acknowledgment sent {"connection_id":160287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:07:48] local.INFO: TCP Data received {"connection_id":162654,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:07:48] local.INFO: Processing buffer {"connection_id":162654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:07:48] local.INFO: IMEI packet received {"connection_id":162654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":162654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:07:52] local.INFO: TCP Data received {"connection_id":161230,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:07:52] local.INFO: Processing buffer {"connection_id":161230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:07:52] local.INFO: IMEI packet received {"connection_id":161230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":161230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:07:53] local.INFO: TCP Data received {"connection_id":162654,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:07:53] local.INFO: Processing buffer {"connection_id":162654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:07:53] local.INFO: IMEI packet received {"connection_id":162654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":162654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:07:54] local.INFO: TCP Data received {"connection_id":162654,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:07:54] local.INFO: Processing buffer {"connection_id":162654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:07:54] local.INFO: Packet analysis {"connection_id":162654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:07:54] local.INFO: Extracted packet for processing {"connection_id":162654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:07:54] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577652224001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899605470494373888,"note":"Value kept but may cause issues"} 
[2026-08-22 21:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787413006000,"timestamp_ms":1787413006000,"timestamp_seconds":1787413006,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1e06b0"} 
[2026-08-22 21:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 21:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 21:07:54] 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-22 21:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:07:54] 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-22 21:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577652224001,"66":26430,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899605470494373888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577652224001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:07:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:07:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899605470494373888,"description":"Unknown IO ID 45"} 
[2026-08-22 21:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577652224001,"power":26430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899605470494373888}} 
[2026-08-22 21:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":162654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:07:54] local.INFO: GPS data processed {"connection_id":162654,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:07:54] local.INFO: Acknowledgment sent {"connection_id":162654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:07:57] local.INFO: TCP Data received {"connection_id":161230,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:07:57] local.INFO: Processing buffer {"connection_id":161230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:07:57] local.INFO: IMEI packet received {"connection_id":161230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":161230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:07:58] local.INFO: TCP Data received {"connection_id":161230,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1d6e58012d1b5ac00724fe70002800bb25..."} 
[2026-08-22 21:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1d6e58012d1b5ac00724fe70002800bb25..."} 
[2026-08-22 21:07:58] local.INFO: Processing buffer {"connection_id":161230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1d6e58012d1b5ac00724fe70002800bb25..."} 
[2026-08-22 21:07:58] local.INFO: Packet analysis {"connection_id":161230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1d"} 
[2026-08-22 21:07:58] local.INFO: Extracted packet for processing {"connection_id":161230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1d"} 
[2026-08-22 21:07:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":40,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577642496001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:07:58] 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-22 21:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787412967000,"timestamp_ms":1787412967000,"timestamp_seconds":1787412967,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1d6e58"} 
[2026-08-22 21: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-22 21:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577642496001,"66":2144,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577642496001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:07:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577642496001,"power":2144,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":161230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:07:58] local.INFO: GPS data processed {"connection_id":161230,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:07:58] local.INFO: Acknowledgment sent {"connection_id":161230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:08:25] local.INFO: TCP Data received {"connection_id":162654,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:08:25] local.INFO: Processing buffer {"connection_id":162654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:08:25] local.INFO: Packet analysis {"connection_id":162654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:08:25] local.INFO: Extracted packet for processing {"connection_id":162654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:08:25] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577652224001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899605470494373888,"note":"Value kept but may cause issues"} 
[2026-08-22 21:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787413006000,"timestamp_ms":1787413006000,"timestamp_seconds":1787413006,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1e06b0"} 
[2026-08-22 21: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-22 21:08: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-22 21: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":173,"data_length":795,"current_offset":136} 
[2026-08-22 21:08: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-22 21: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-22 21: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-22 21:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:08: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-22 21:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577652224001,"66":26430,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899605470494373888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577652224001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:08:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:08:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899605470494373888,"description":"Unknown IO ID 45"} 
[2026-08-22 21:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577652224001,"power":26430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899605470494373888}} 
[2026-08-22 21:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":162654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:08:25] local.INFO: GPS data processed {"connection_id":162654,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:08:25] local.INFO: Acknowledgment sent {"connection_id":162654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:08:29] local.INFO: TCP Data received {"connection_id":161230,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1d6e58012d1b5ac00724fe70002800bb25..."} 
[2026-08-22 21:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1d6e58012d1b5ac00724fe70002800bb25..."} 
[2026-08-22 21:08:29] local.INFO: Processing buffer {"connection_id":161230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1d6e58012d1b5ac00724fe70002800bb25..."} 
[2026-08-22 21:08:29] local.INFO: Packet analysis {"connection_id":161230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1d"} 
[2026-08-22 21:08:29] local.INFO: Extracted packet for processing {"connection_id":161230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1d"} 
[2026-08-22 21:08:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":40,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577642496001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:08:29] 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-22 21:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787412967000,"timestamp_ms":1787412967000,"timestamp_seconds":1787412967,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1d6e58"} 
[2026-08-22 21: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-22 21:08:29] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577642496001,"66":2144,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577642496001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:08:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:08:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577642496001,"power":2144,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":161230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:08:29] local.INFO: GPS data processed {"connection_id":161230,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:08:29] local.INFO: Acknowledgment sent {"connection_id":161230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:08:51] local.INFO: TCP Data received {"connection_id":160288,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:08:51] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:08:51] local.INFO: IMEI packet received {"connection_id":160288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":160288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:08:53] local.INFO: TCP Data received {"connection_id":161231,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:08:53] local.INFO: Processing buffer {"connection_id":161231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:08:53] local.INFO: IMEI packet received {"connection_id":161231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":161231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:08:57] local.INFO: TCP Data received {"connection_id":160288,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:08:57] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:08:57] local.INFO: IMEI packet received {"connection_id":160288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":160288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:08:58] local.INFO: TCP Data received {"connection_id":160288,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1f4700012d1b5ac00724fe70002f00bb23..."} 
[2026-08-22 21:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1f4700012d1b5ac00724fe70002f00bb23..."} 
[2026-08-22 21:08:58] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1f4700012d1b5ac00724fe70002f00bb23..."} 
[2026-08-22 21:08:58] local.INFO: Packet analysis {"connection_id":160288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1f"} 
[2026-08-22 21:08:58] local.INFO: Extracted packet for processing {"connection_id":160288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1f"} 
[2026-08-22 21:08:58] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":47,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21:08: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-22 21:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577719552001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:08:58] 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-22 21:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787413088000,"timestamp_ms":1787413088000,"timestamp_seconds":1787413088,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1f4700"} 
[2026-08-22 21: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-22 21:08:58] 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-22 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 21:08:58] 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-22 21: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-22 21: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-22 21:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577719552001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577719552001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:08:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577719552001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":160288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:08:58] local.INFO: GPS data processed {"connection_id":160288,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:08:58] local.INFO: Acknowledgment sent {"connection_id":160288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:08:58] local.INFO: TCP Data received {"connection_id":161231,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:08:58] local.INFO: Processing buffer {"connection_id":161231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:08:58] local.INFO: IMEI packet received {"connection_id":161231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":161231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:08:59] local.INFO: TCP Data received {"connection_id":161231,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:08:59] local.INFO: Processing buffer {"connection_id":161231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:08:59] local.INFO: Packet analysis {"connection_id":161231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:08:59] local.INFO: Extracted packet for processing {"connection_id":161231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577652224001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899605470494373888,"note":"Value kept but may cause issues"} 
[2026-08-22 21:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787413006000,"timestamp_ms":1787413006000,"timestamp_seconds":1787413006,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1e06b0"} 
[2026-08-22 21: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-22 21: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-22 21: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":173,"data_length":795,"current_offset":136} 
[2026-08-22 21:08: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-22 21: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-22 21: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-22 21:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:08: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-22 21:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577652224001,"66":26430,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899605470494373888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577652224001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:08:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:08:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899605470494373888,"description":"Unknown IO ID 45"} 
[2026-08-22 21:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577652224001,"power":26430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899605470494373888}} 
[2026-08-22 21:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":161231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:08:59] local.INFO: GPS data processed {"connection_id":161231,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:08:59] local.INFO: Acknowledgment sent {"connection_id":161231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:09:03] local.INFO: TCP Data received {"connection_id":161231,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:09:03] local.INFO: Processing buffer {"connection_id":161231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:09:03] local.INFO: Packet analysis {"connection_id":161231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:09:03] local.INFO: Extracted packet for processing {"connection_id":161231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577652224001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899605470494373888,"note":"Value kept but may cause issues"} 
[2026-08-22 21:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787413006000,"timestamp_ms":1787413006000,"timestamp_seconds":1787413006,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1e06b0"} 
[2026-08-22 21: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-22 21:09: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-22 21: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 21:09: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-22 21: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-22 21: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-22 21:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:09: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-22 21:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577652224001,"66":26430,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899605470494373888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577652224001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:09:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:09:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899605470494373888,"description":"Unknown IO ID 45"} 
[2026-08-22 21:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577652224001,"power":26430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899605470494373888}} 
[2026-08-22 21:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":161231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:09:03] local.INFO: GPS data processed {"connection_id":161231,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:09:03] local.INFO: Acknowledgment sent {"connection_id":161231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:09:29] local.INFO: TCP Data received {"connection_id":160288,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1f4700012d1b5ac00724fe70002f00bb23..."} 
[2026-08-22 21:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1f4700012d1b5ac00724fe70002f00bb23..."} 
[2026-08-22 21:09:29] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1f4700012d1b5ac00724fe70002f00bb23..."} 
[2026-08-22 21:09:29] local.INFO: Packet analysis {"connection_id":160288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1f"} 
[2026-08-22 21:09:29] local.INFO: Extracted packet for processing {"connection_id":160288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1f"} 
[2026-08-22 21:09:29] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":47,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21:09:29] 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-22 21:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577750528001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:09:29] 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-22 21:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787413088000,"timestamp_ms":1787413088000,"timestamp_seconds":1787413088,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1f4700"} 
[2026-08-22 21:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:09: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-22 21:09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21:09: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-22 21:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577750528001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577750528001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:09:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:09:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577750528001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":160288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:09:29] local.INFO: GPS data processed {"connection_id":160288,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:09:29] local.INFO: Acknowledgment sent {"connection_id":160288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:09:48] local.INFO: TCP Data received {"connection_id":161232,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:09:48] local.INFO: Processing buffer {"connection_id":161232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:09:48] local.INFO: IMEI packet received {"connection_id":161232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":161232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:09:53] local.INFO: TCP Data received {"connection_id":161232,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:09:53] local.INFO: Processing buffer {"connection_id":161232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:09:53] local.INFO: IMEI packet received {"connection_id":161232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":161232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:09:54] local.INFO: TCP Data received {"connection_id":161232,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:09:54] local.INFO: Processing buffer {"connection_id":161232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:09:54] local.INFO: Packet analysis {"connection_id":161232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:09:54] local.INFO: Extracted packet for processing {"connection_id":161232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:09:54] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577652224001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899605470494373888,"note":"Value kept but may cause issues"} 
[2026-08-22 21:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787413006000,"timestamp_ms":1787413006000,"timestamp_seconds":1787413006,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1e06b0"} 
[2026-08-22 21:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 21:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 21:09:54] 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-22 21:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:09:54] 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-22 21:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577652224001,"66":26430,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899605470494373888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577652224001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:09:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:09:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899605470494373888,"description":"Unknown IO ID 45"} 
[2026-08-22 21:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577652224001,"power":26430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899605470494373888}} 
[2026-08-22 21:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":161232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:09:54] local.INFO: GPS data processed {"connection_id":161232,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:09:54] local.INFO: Acknowledgment sent {"connection_id":161232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:09:55] local.INFO: TCP Data received {"connection_id":161233,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:09:55] local.INFO: Processing buffer {"connection_id":161233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:09:55] local.INFO: IMEI packet received {"connection_id":161233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":161233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:09:56] local.INFO: TCP Data received {"connection_id":161233,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:09:56] local.INFO: Processing buffer {"connection_id":161233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:09:56] local.INFO: IMEI packet received {"connection_id":161233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":161233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:09:57] local.INFO: TCP Data received {"connection_id":161233,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:09:57] local.INFO: Processing buffer {"connection_id":161233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:09:57] local.INFO: IMEI packet received {"connection_id":161233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":161233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:10:03] local.INFO: TCP Data received {"connection_id":161233,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:10:03] local.INFO: Processing buffer {"connection_id":161233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:10:03] local.INFO: IMEI packet received {"connection_id":161233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":161233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:10:04] local.INFO: TCP Data received {"connection_id":161233,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1f4700012d1b5ac00724fe70002f00bb23..."} 
[2026-08-22 21:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1f4700012d1b5ac00724fe70002f00bb23..."} 
[2026-08-22 21:10:04] local.INFO: Processing buffer {"connection_id":161233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1f4700012d1b5ac00724fe70002f00bb23..."} 
[2026-08-22 21:10:04] local.INFO: Packet analysis {"connection_id":161233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1f"} 
[2026-08-22 21:10:04] local.INFO: Extracted packet for processing {"connection_id":161233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1f"} 
[2026-08-22 21:10:04] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119864944,"longitude_deg":75.6767424,"latitude_deg":11.9864944,"altitude":47,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724fe70","is_valid_coordinates":true} 
[2026-08-22 21:10: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-22 21:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577750528001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:04] 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-22 21:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787413088000,"timestamp_ms":1787413088000,"timestamp_seconds":1787413088,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1f4700"} 
[2026-08-22 21:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:10:04] 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-22 21:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577750528001,"66":2166,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577750528001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:10:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:10:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577750528001,"power":2166,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":161233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:10:04] local.INFO: GPS data processed {"connection_id":161233,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:10:04] local.INFO: Acknowledgment sent {"connection_id":161233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:10:05] local.INFO: TCP Data received {"connection_id":161233,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1f4ed0012d1b56800724fd20002f005225..."} 
[2026-08-22 21:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1f4ed0012d1b56800724fd20002f005225..."} 
[2026-08-22 21:10:05] local.INFO: Processing buffer {"connection_id":161233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1f4ed0012d1b56800724fd20002f005225..."} 
[2026-08-22 21:10:05] local.INFO: Packet analysis {"connection_id":161233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1f"} 
[2026-08-22 21:10:05] local.INFO: Extracted packet for processing {"connection_id":161233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1f"} 
[2026-08-22 21:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756766336,"raw_latitude":119864608,"longitude_deg":75.6766336,"latitude_deg":11.9864608,"altitude":47,"angle":82,"satellites":37,"speed":0,"hex_longitude":"2d1b5680","hex_latitude":"0724fd20","is_valid_coordinates":true} 
[2026-08-22 21:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577750528001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923845971968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:05] 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-22 21:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787413090000,"timestamp_ms":1787413090000,"timestamp_seconds":1787413090,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1f4ed0"} 
[2026-08-22 21:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577750528001,"66":12211,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1971098923845971968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577750528001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:10:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923845971968,"description":"Unknown IO ID 45"} 
[2026-08-22 21:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577750528001,"power":12211,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923845971968}} 
[2026-08-22 21:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":161233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:10:05] local.INFO: GPS data processed {"connection_id":161233,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:10:05] local.INFO: Acknowledgment sent {"connection_id":161233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:10:25] local.INFO: TCP Data received {"connection_id":161232,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:10:25] local.INFO: Processing buffer {"connection_id":161232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:10:25] local.INFO: Packet analysis {"connection_id":161232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:10:25] local.INFO: Extracted packet for processing {"connection_id":161232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:10:25] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577652224001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899605470494373888,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787413006000,"timestamp_ms":1787413006000,"timestamp_seconds":1787413006,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1e06b0"} 
[2026-08-22 21: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-22 21: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-22 21: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":173,"data_length":795,"current_offset":136} 
[2026-08-22 21:10: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-22 21: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-22 21: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-22 21:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21: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-22 21:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577652224001,"66":26430,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899605470494373888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577652224001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:10:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:10:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899605470494373888,"description":"Unknown IO ID 45"} 
[2026-08-22 21:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577652224001,"power":26430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899605470494373888}} 
[2026-08-22 21:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":161232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:10:25] local.INFO: GPS data processed {"connection_id":161232,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:10:25] local.INFO: Acknowledgment sent {"connection_id":161232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:10:36] local.INFO: TCP Data received {"connection_id":161233,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1fa0d8012d1b56800724fd20002f005222..."} 
[2026-08-22 21:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1fa0d8012d1b56800724fd20002f005222..."} 
[2026-08-22 21:10:36] local.INFO: Processing buffer {"connection_id":161233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1fa0d8012d1b56800724fd20002f005222..."} 
[2026-08-22 21:10:36] local.INFO: Packet analysis {"connection_id":161233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1f"} 
[2026-08-22 21:10:36] local.INFO: Extracted packet for processing {"connection_id":161233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1f"} 
[2026-08-22 21:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756766336,"raw_latitude":119864608,"longitude_deg":75.6766336,"latitude_deg":11.9864608,"altitude":47,"angle":82,"satellites":34,"speed":0,"hex_longitude":"2d1b5680","hex_latitude":"0724fd20","is_valid_coordinates":true} 
[2026-08-22 21:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577751040001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969902655194865664,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:36] 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-22 21:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787413111000,"timestamp_ms":1787413111000,"timestamp_seconds":1787413111,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1fa0d8"} 
[2026-08-22 21:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:10:36] 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-22 21:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 21:10:36] 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-22 21:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577751040001,"66":13678,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1969902655194865664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577751040001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:10:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969902655194865664,"description":"Unknown IO ID 45"} 
[2026-08-22 21:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577751040001,"power":13678,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1969902655194865664}} 
[2026-08-22 21:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":161233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:10:36] local.INFO: GPS data processed {"connection_id":161233,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:10:36] local.INFO: Acknowledgment sent {"connection_id":161233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:10:48] local.INFO: TCP Data received {"connection_id":160289,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:10:48] local.INFO: Processing buffer {"connection_id":160289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:10:48] local.INFO: IMEI packet received {"connection_id":160289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":160289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:10:50] local.INFO: TCP Data received {"connection_id":162655,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:10:50] local.INFO: Processing buffer {"connection_id":162655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:10:50] local.INFO: IMEI packet received {"connection_id":162655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":162655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:10:51] local.INFO: TCP Data received {"connection_id":162655,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:10:51] local.INFO: Processing buffer {"connection_id":162655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:10:51] local.INFO: IMEI packet received {"connection_id":162655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":162655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:10:53] local.INFO: TCP Data received {"connection_id":160289,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:10:53] local.INFO: Processing buffer {"connection_id":160289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:10:53] local.INFO: IMEI packet received {"connection_id":160289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":160289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:10:54] local.INFO: TCP Data received {"connection_id":160289,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:10:54] local.INFO: Processing buffer {"connection_id":160289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:10:54] local.INFO: Packet analysis {"connection_id":160289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:10:54] local.INFO: Extracted packet for processing {"connection_id":160289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577652224001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899605470494373888,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787413006000,"timestamp_ms":1787413006000,"timestamp_seconds":1787413006,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1e06b0"} 
[2026-08-22 21:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 21:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 21:10:54] 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-22 21:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:10:54] 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-22 21:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577652224001,"66":26430,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899605470494373888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577652224001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:10:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:10:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899605470494373888,"description":"Unknown IO ID 45"} 
[2026-08-22 21:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577652224001,"power":26430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899605470494373888}} 
[2026-08-22 21:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":160289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:10:54] local.INFO: GPS data processed {"connection_id":160289,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:10:54] local.INFO: Acknowledgment sent {"connection_id":160289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:10:56] local.INFO: TCP Data received {"connection_id":162655,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:10:56] local.INFO: Processing buffer {"connection_id":162655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:10:56] local.INFO: IMEI packet received {"connection_id":162655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":162655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:10:57] local.INFO: TCP Data received {"connection_id":162655,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1ff2e0012d1b56800724fd20002f005221..."} 
[2026-08-22 21:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1ff2e0012d1b56800724fd20002f005221..."} 
[2026-08-22 21:10:57] local.INFO: Processing buffer {"connection_id":162655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1ff2e0012d1b56800724fd20002f005221..."} 
[2026-08-22 21:10:57] local.INFO: Packet analysis {"connection_id":162655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1f"} 
[2026-08-22 21:10:57] local.INFO: Extracted packet for processing {"connection_id":162655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1f"} 
[2026-08-22 21:10:57] local.INFO: GPS Element Parsed {"raw_longitude":756766336,"raw_latitude":119864608,"longitude_deg":75.6766336,"latitude_deg":11.9864608,"altitude":47,"angle":82,"satellites":33,"speed":0,"hex_longitude":"2d1b5680","hex_latitude":"0724fd20","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577756416001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14964366138933248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969902655194865664,"note":"Value kept but may cause issues"} 
[2026-08-22 21:10:57] 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-22 21:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787413132000,"timestamp_ms":1787413132000,"timestamp_seconds":1787413132,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1ff2e0"} 
[2026-08-22 21: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-22 21:10:57] 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-22 21: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-22 21:10:57] 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-22 21: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-22 21: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-22 21:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577756416001,"66":13537,"44":206,"83":41984,"24":0,"16":14964366138933248,"45":1969902655194865664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-22 21:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577756416001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:10:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-22 21:10:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14964366138933248,"km_value":14964366138933.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969902655194865664,"description":"Unknown IO ID 45"} 
[2026-08-22 21:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577756416001,"power":13537,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1969902655194865664}} 
[2026-08-22 21:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":162655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:10:57] local.INFO: GPS data processed {"connection_id":162655,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:10:57] local.INFO: Acknowledgment sent {"connection_id":162655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:11:25] local.INFO: TCP Data received {"connection_id":160289,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:11:25] local.INFO: Processing buffer {"connection_id":160289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:11:25] local.INFO: Packet analysis {"connection_id":160289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:11:25] local.INFO: Extracted packet for processing {"connection_id":160289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:11:25] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577652224001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899605470494373888,"note":"Value kept but may cause issues"} 
[2026-08-22 21:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787413006000,"timestamp_ms":1787413006000,"timestamp_seconds":1787413006,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1e06b0"} 
[2026-08-22 21: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-22 21:11: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-22 21: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":173,"data_length":795,"current_offset":136} 
[2026-08-22 21:11: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-22 21: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-22 21: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-22 21:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:11: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-22 21:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577652224001,"66":26430,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899605470494373888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577652224001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:11:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:11:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899605470494373888,"description":"Unknown IO ID 45"} 
[2026-08-22 21:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577652224001,"power":26430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899605470494373888}} 
[2026-08-22 21:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":160289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:11:25] local.INFO: GPS data processed {"connection_id":160289,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:11:25] local.INFO: Acknowledgment sent {"connection_id":160289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:11:29] local.INFO: TCP Data received {"connection_id":162655,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a215658012d1b48c0072581d0002b014727..."} 
[2026-08-22 21:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a215658012d1b48c0072581d0002b014727..."} 
[2026-08-22 21:11:29] local.INFO: Processing buffer {"connection_id":162655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a215658012d1b48c0072581d0002b014727..."} 
[2026-08-22 21:11:29] local.INFO: Packet analysis {"connection_id":162655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a21"} 
[2026-08-22 21:11:29] local.INFO: Extracted packet for processing {"connection_id":162655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a21"} 
[2026-08-22 21:11:29] local.INFO: GPS Element Parsed {"raw_longitude":756762816,"raw_latitude":119898576,"longitude_deg":75.6762816,"latitude_deg":11.9898576,"altitude":43,"angle":327,"satellites":39,"speed":27,"hex_longitude":"2d1b48c0","hex_latitude":"072581d0","is_valid_coordinates":true} 
[2026-08-22 21:11: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-22 21:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577783808001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14966152845328384,"note":"Value kept but may cause issues"} 
[2026-08-22 21:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124040144896,"note":"Value kept but may cause issues"} 
[2026-08-22 21:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787413223000,"timestamp_ms":1787413223000,"timestamp_seconds":1787413223,"priority":1,"record_length":96,"hex_timestamp":"000001a02a215658"} 
[2026-08-22 21:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:11:29] 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-22 21:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 21:11:29] 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-22 21:11: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-22 21:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577783808001,"66":12461,"217":206,"83":42752,"24":27,"16":14966152845328384,"45":1968847124040144896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 21:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577783808001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:11:29] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 21:11:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14966152845328384,"km_value":14966152845328.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124040144896,"description":"Unknown IO ID 45"} 
[2026-08-22 21:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577783808001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1968847124040144896}} 
[2026-08-22 21:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":162655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:11:29] local.INFO: GPS data processed {"connection_id":162655,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:11:29] local.INFO: Acknowledgment sent {"connection_id":162655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:11:48] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:11:48] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:11:48] local.INFO: IMEI packet received {"connection_id":160058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":160058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:11:52] local.INFO: TCP Data received {"connection_id":162656,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:11:52] local.INFO: Processing buffer {"connection_id":162656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:11:52] local.INFO: IMEI packet received {"connection_id":162656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":162656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:11:53] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:11:53] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:11:53] local.INFO: IMEI packet received {"connection_id":160058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":160058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:11:54] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:11:54] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:11:54] local.INFO: Packet analysis {"connection_id":160058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:11:54] local.INFO: Extracted packet for processing {"connection_id":160058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:11:54] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577652224001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899605470494373888,"note":"Value kept but may cause issues"} 
[2026-08-22 21:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787413006000,"timestamp_ms":1787413006000,"timestamp_seconds":1787413006,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1e06b0"} 
[2026-08-22 21:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 21:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 21:11:54] 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-22 21:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:11:54] 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-22 21:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577652224001,"66":26430,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899605470494373888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577652224001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:11:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:11:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899605470494373888,"description":"Unknown IO ID 45"} 
[2026-08-22 21:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577652224001,"power":26430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899605470494373888}} 
[2026-08-22 21:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":160058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:11:54] local.INFO: GPS data processed {"connection_id":160058,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:11:54] local.INFO: Acknowledgment sent {"connection_id":160058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:12:02] local.INFO: TCP Data received {"connection_id":162656,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 21:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162656,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 21:12:02] local.INFO: Processing buffer {"connection_id":162656,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 21:12:02] local.INFO: IMEI packet received {"connection_id":162656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":162656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:12:03] local.INFO: TCP Data received {"connection_id":162656,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a218150012d1b3ec007259608002c015327..."} 
[2026-08-22 21:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a218150012d1b3ec007259608002c015327..."} 
[2026-08-22 21:12:03] local.INFO: Processing buffer {"connection_id":162656,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a02a..."} 
[2026-08-22 21:12:03] local.INFO: IMEI packet received {"connection_id":162656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":162656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:12:07] local.INFO: TCP Data received {"connection_id":162656,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a21bbe8012d1b34800725ae30002e016327..."} 
[2026-08-22 21:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a21bbe8012d1b34800725ae30002e016327..."} 
[2026-08-22 21:12:07] local.INFO: Processing buffer {"connection_id":162656,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02a218150012d1b3ec007259608002c015327..."} 
[2026-08-22 21:12:07] local.INFO: Packet analysis {"connection_id":162656,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02a21"} 
[2026-08-22 21:12:07] local.INFO: Extracted packet for processing {"connection_id":162656,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a21"} 
[2026-08-22 21:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756760256,"raw_latitude":119903752,"longitude_deg":75.6760256,"latitude_deg":11.9903752,"altitude":44,"angle":339,"satellites":39,"speed":22,"hex_longitude":"2d1b3ec0","hex_latitude":"07259608","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577785088001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14966436313169920,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966032374273789952,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787413234000,"timestamp_ms":1787413234000,"timestamp_seconds":1787413234,"priority":1,"record_length":96,"hex_timestamp":"000001a02a218150"} 
[2026-08-22 21: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-22 21:12:07] 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-22 21: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 21:12:07] 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-22 21: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-22 21: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-22 21:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577785088001,"66":12885,"217":206,"83":42752,"24":22,"16":14966436313169920,"45":1966032374273789952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 21:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577785088001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:12:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 21:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14966436313169920,"km_value":14966436313169.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966032374273789952,"description":"Unknown IO ID 45"} 
[2026-08-22 21:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577785088001,"power":12885,"unknown_217":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1966032374273789952}} 
[2026-08-22 21:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":162656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:12:07] local.INFO: GPS data processed {"connection_id":162656,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:12:07] local.INFO: Acknowledgment sent {"connection_id":162656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:12:07] local.INFO: Packet analysis {"connection_id":162656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a21"} 
[2026-08-22 21:12:07] local.INFO: Extracted packet for processing {"connection_id":162656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a21"} 
[2026-08-22 21:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756757632,"raw_latitude":119909936,"longitude_deg":75.6757632,"latitude_deg":11.9909936,"altitude":46,"angle":355,"satellites":39,"speed":20,"hex_longitude":"2d1b3480","hex_latitude":"0725ae30","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577787904001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14966762730684416,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963217624508008448,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787413249000,"timestamp_ms":1787413249000,"timestamp_seconds":1787413249,"priority":1,"record_length":96,"hex_timestamp":"000001a02a21bbe8"} 
[2026-08-22 21: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-22 21:12:07] 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-22 21: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 21:12:07] 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-22 21: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-22 21: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-22 21:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577787904001,"66":13580,"217":206,"83":42752,"24":20,"16":14966762730684416,"45":1963217624508008448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 21:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577787904001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:12:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 21:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14966762730684416,"km_value":14966762730684.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963217624508008448,"description":"Unknown IO ID 45"} 
[2026-08-22 21:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577787904001,"power":13580,"unknown_217":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1963217624508008448}} 
[2026-08-22 21:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":162656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:12:07] local.INFO: GPS data processed {"connection_id":162656,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:12:07] local.INFO: Acknowledgment sent {"connection_id":162656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:12:08] local.INFO: TCP Data received {"connection_id":162656,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a21df10012d1b33c00725b8b0002c000627..."} 
[2026-08-22 21:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a21df10012d1b33c00725b8b0002c000627..."} 
[2026-08-22 21:12:08] local.INFO: Processing buffer {"connection_id":162656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a21df10012d1b33c00725b8b0002c000627..."} 
[2026-08-22 21:12:08] local.INFO: Packet analysis {"connection_id":162656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a21"} 
[2026-08-22 21:12:08] local.INFO: Extracted packet for processing {"connection_id":162656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a21"} 
[2026-08-22 21:12:08] local.INFO: GPS Element Parsed {"raw_longitude":756757440,"raw_latitude":119912624,"longitude_deg":75.675744,"latitude_deg":11.9912624,"altitude":44,"angle":6,"satellites":39,"speed":6,"hex_longitude":"2d1b33c0","hex_latitude":"0725b8b0","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577791744001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14966891579703296,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960332505998307328,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787413258000,"timestamp_ms":1787413258000,"timestamp_seconds":1787413258,"priority":1,"record_length":96,"hex_timestamp":"000001a02a21df10"} 
[2026-08-22 21: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-22 21:12:08] 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-22 21: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 21:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751527211,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13462233,"corrected_to":0} 
[2026-08-22 21:12:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636704924396248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-08-22 21:12:08] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3221693790,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:08] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510954,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:08] local.WARNING: Large IO value detected {"io_id":27,"raw_value":7187752862244929574,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:08] local.WARNING: Large IO value detected {"io_id":54,"raw_value":7494215638718664275,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:08] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:08] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,217,83,24,241,157,16,44,160,129,45,192,150,39,10,66,43,86,1,240,200,227,42,37,4,113,205,20,99,80,40,239,48,216,2,53,7,13,27,54,167],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":200,"original":13462233,"validated":0},{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-08-22 21:12:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3315039819877580800,"timestamp_seconds":3315039819877581.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 21: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-22 21:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577791744001,"66":13493,"217":206,"83":42752,"24":6,"16":14966891579703296,"45":1960332505998307328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 21:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577791744001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:12:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 21:12:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14966891579703296,"km_value":14966891579703.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960332505998307328,"description":"Unknown IO ID 45"} 
[2026-08-22 21:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577791744001,"power":13493,"unknown_217":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1960332505998307328}} 
[2026-08-22 21:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":162656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:12:08] local.INFO: GPS data processed {"connection_id":162656,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:12:08] local.INFO: Acknowledgment sent {"connection_id":162656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:12:25] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:12:25] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a1e06b0012d7b83c005f5f2d8001700a130..."} 
[2026-08-22 21:12:25] local.INFO: Packet analysis {"connection_id":160058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:12:25] local.INFO: Extracted packet for processing {"connection_id":160058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a1e"} 
[2026-08-22 21:12:25] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577652224001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899605470494373888,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787413006000,"timestamp_ms":1787413006000,"timestamp_seconds":1787413006,"priority":1,"record_length":96,"hex_timestamp":"000001a02a1e06b0"} 
[2026-08-22 21: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-22 21:12: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-22 21: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":173,"data_length":795,"current_offset":136} 
[2026-08-22 21:12: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-22 21: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-22 21: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-22 21:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:12: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-22 21:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577652224001,"66":26430,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8899605470494373888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577652224001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:12:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:12:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899605470494373888,"description":"Unknown IO ID 45"} 
[2026-08-22 21:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577652224001,"power":26430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899605470494373888}} 
[2026-08-22 21:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":160058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:12:25] local.INFO: GPS data processed {"connection_id":160058,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:12:25] local.INFO: Acknowledgment sent {"connection_id":160058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:12:48] local.INFO: TCP Data received {"connection_id":162657,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:12:48] local.INFO: Processing buffer {"connection_id":162657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:12:48] local.INFO: IMEI packet received {"connection_id":162657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":162657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:12:53] local.INFO: TCP Data received {"connection_id":162657,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:12:53] local.INFO: Processing buffer {"connection_id":162657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:12:53] local.INFO: IMEI packet received {"connection_id":162657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":162657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:12:54] local.INFO: TCP Data received {"connection_id":162657,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:12:54] local.INFO: Processing buffer {"connection_id":162657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:12:54] local.INFO: Packet analysis {"connection_id":162657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:12:54] local.INFO: Extracted packet for processing {"connection_id":162657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:12:54] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":49,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577729536001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787413307000,"timestamp_ms":1787413307000,"timestamp_seconds":1787413307,"priority":1,"record_length":96,"hex_timestamp":"000001a02a229e78"} 
[2026-08-22 21:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 21:12:54] 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-22 21:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:12:54] 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-22 21:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577729536001,"66":26158,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577729536001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:12:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:12:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577729536001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":162657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:12:54] local.INFO: GPS data processed {"connection_id":162657,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:12:54] local.INFO: Acknowledgment sent {"connection_id":162657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:13:25] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:13:25] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:13:25] local.INFO: IMEI packet received {"connection_id":160290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":160290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:13:26] local.INFO: TCP Data received {"connection_id":162657,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:13:26] local.INFO: Processing buffer {"connection_id":162657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:13:26] local.INFO: Packet analysis {"connection_id":162657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:13:26] local.INFO: Extracted packet for processing {"connection_id":162657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":49,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577729536001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787413307000,"timestamp_ms":1787413307000,"timestamp_seconds":1787413307,"priority":1,"record_length":96,"hex_timestamp":"000001a02a229e78"} 
[2026-08-22 21: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-22 21: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-22 21: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 21:13:26] 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-22 21: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-22 21: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-22 21:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:13:26] 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-22 21:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577729536001,"66":26158,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577729536001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:13:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:13:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577729536001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":162657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:13:26] local.INFO: GPS data processed {"connection_id":162657,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:13:26] local.INFO: Acknowledgment sent {"connection_id":162657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:13:27] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:13:27] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:13:27] local.INFO: IMEI packet received {"connection_id":160290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":160290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:13:32] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:13:32] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:13:32] local.INFO: IMEI packet received {"connection_id":160290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":160290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:13:33] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a22f850012d1b3fc007262338002a010026..."} 
[2026-08-22 21:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a22f850012d1b3fc007262338002a010026..."} 
[2026-08-22 21:13:33] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a22f850012d1b3fc007262338002a010026..."} 
[2026-08-22 21:13:33] local.INFO: Packet analysis {"connection_id":160290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:13:33] local.INFO: Extracted packet for processing {"connection_id":160290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756760512,"raw_latitude":119939896,"longitude_deg":75.6760512,"latitude_deg":11.9939896,"altitude":42,"angle":256,"satellites":38,"speed":26,"hex_longitude":"2d1b3fc0","hex_latitude":"07262338","is_valid_coordinates":true} 
[2026-08-22 21:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577812224001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14968442062897152,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964202786935773184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787413330000,"timestamp_ms":1787413330000,"timestamp_seconds":1787413330,"priority":1,"record_length":96,"hex_timestamp":"000001a02a22f850"} 
[2026-08-22 21:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 21:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751527213,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13462233,"corrected_to":0} 
[2026-08-22 21:13:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635489448651481,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-08-22 21:13:33] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3489738011,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-2233559556384829869,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:33] local.WARNING: Large IO value detected {"io_id":27,"raw_value":5422341811074498604,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:33] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755558354977009,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,217,83,24,241,157,16,45,160,236,128,35,43,39,10,66,64,32,209,1,240,203,227,42,38,4,113,205,7,185,81,112,239,52,2,53,11,27,167],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":203,"original":13462233,"validated":0},{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-08-22 21:13:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026712682407919616,"timestamp_seconds":3026712682407919.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 21:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577812224001,"66":13580,"217":206,"83":42752,"24":26,"16":14968442062897152,"45":1964202786935773184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-22 21:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577812224001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:13:33] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-22 21:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14968442062897152,"km_value":14968442062897.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964202786935773184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577812224001,"power":13580,"unknown_217":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1964202786935773184}} 
[2026-08-22 21:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":160290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:13:33] local.INFO: GPS data processed {"connection_id":160290,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:13:33] local.INFO: Acknowledgment sent {"connection_id":160290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:13:51] local.INFO: TCP Data received {"connection_id":161234,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:13:51] local.INFO: Processing buffer {"connection_id":161234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:13:51] local.INFO: IMEI packet received {"connection_id":161234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":161234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:13:53] local.INFO: TCP Data received {"connection_id":161234,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:13:53] local.INFO: Processing buffer {"connection_id":161234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:13:53] local.INFO: IMEI packet received {"connection_id":161234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":161234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:13:53] local.INFO: TCP Data received {"connection_id":161234,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:13:53] local.INFO: Processing buffer {"connection_id":161234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:13:53] local.INFO: Packet analysis {"connection_id":161234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:13:53] local.INFO: Extracted packet for processing {"connection_id":161234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:13:53] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":49,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577729536001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787413307000,"timestamp_ms":1787413307000,"timestamp_seconds":1787413307,"priority":1,"record_length":96,"hex_timestamp":"000001a02a229e78"} 
[2026-08-22 21:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 21:13:53] 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-22 21:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:13:53] 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-22 21:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577729536001,"66":26158,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577729536001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:13:53] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:13:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577729536001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":161234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:13:53] local.INFO: GPS data processed {"connection_id":161234,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:13:53] local.INFO: Acknowledgment sent {"connection_id":161234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:14:13] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:13] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:13] local.INFO: IMEI packet received {"connection_id":160291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":160291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:14:17] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:17] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:17] local.INFO: IMEI packet received {"connection_id":160291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":160291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:14:19] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:19] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:19] local.INFO: IMEI packet received {"connection_id":160291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":160291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:14:23] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:23] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:23] local.INFO: IMEI packet received {"connection_id":160291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":160291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:14:24] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.109.136.1","data_length":1348,"data_hex":"000000000000030f8e0a000001a02a23ac00012d1a9a40072621c80021010125..."} 
[2026-08-22 21:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a02a23ac00012d1a9a40072621c80021010125..."} 
[2026-08-22 21:14:24] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a02a23ac00012d1a9a40072621c80021010125..."} 
[2026-08-22 21:14:24] local.INFO: Packet analysis {"connection_id":160291,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a02a23"} 
[2026-08-22 21:14:24] local.INFO: Extracted packet for processing {"connection_id":160291,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a02a23"} 
[2026-08-22 21:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756718144,"raw_latitude":119939528,"longitude_deg":75.6718144,"latitude_deg":11.9939528,"altitude":33,"angle":257,"satellites":37,"speed":48,"hex_longitude":"2d1a9a40","hex_latitude":"072621c8","is_valid_coordinates":true} 
[2026-08-22 21:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577821952001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14970576661643264,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927329564987508736,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787413376000,"timestamp_ms":1787413376000,"timestamp_seconds":1787413376,"priority":1,"record_length":96,"hex_timestamp":"000001a02a23ac00"} 
[2026-08-22 21:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:14: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-22 21:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2161727821305611264,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2852126720,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2529747562145719168,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3087084827,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2747574005350344996,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093694053659053,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755528290205937,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,135,83,24,241,157,16,47,160,125,45,128,51,34,39,10,66,89,1,240,214,227,46,42,38,4,113,205,36,58,32,239,53,217,2,7,30,52,167,27],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-08-22 21:14:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378172341540028416,"timestamp_seconds":2378172341540028.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 21:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577821952001,"66":13580,"135":206,"83":42752,"24":48,"16":14970576661643264,"45":1927329564987508736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-22 21:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577821952001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:14:24] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-22 21:14:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14970576661643264,"km_value":14970576661643.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927329564987508736,"description":"Unknown IO ID 45"} 
[2026-08-22 21:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577821952001,"power":13580,"unknown_135":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1927329564987508736}} 
[2026-08-22 21:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":160291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:14:24] local.INFO: GPS data processed {"connection_id":160291,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:14:24] local.INFO: Acknowledgment sent {"connection_id":160291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:14:24] local.INFO: Packet analysis {"connection_id":160291,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a02a23"} 
[2026-08-22 21:14:24] local.INFO: Incomplete packet, waiting for more data {"connection_id":160291,"needed":795,"available":553} 
[2026-08-22 21:14:24] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.109.136.1","data_length":242,"data_hex":"000000000001a02a233ab8012d1b100007263020002301262400200000000a00..."} 
[2026-08-22 21:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":242,"packet_hex":"000000000001a02a233ab8012d1b100007263020002301262400200000000a00..."} 
[2026-08-22 21:14:24] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a23bba0012d1a884007261f38001f010e25..."} 
[2026-08-22 21:14:24] local.INFO: Packet analysis {"connection_id":160291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a23"} 
[2026-08-22 21:14:24] local.INFO: Extracted packet for processing {"connection_id":160291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a23"} 
[2026-08-22 21:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756713536,"raw_latitude":119938872,"longitude_deg":75.6713536,"latitude_deg":11.9938872,"altitude":31,"angle":270,"satellites":37,"speed":44,"hex_longitude":"2d1a8840","hex_latitude":"07261f38","is_valid_coordinates":true} 
[2026-08-22 21:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577824256001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14970799999942656,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916914990848264192,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787413380000,"timestamp_ms":1787413380000,"timestamp_seconds":1787413380,"priority":1,"record_length":96,"hex_timestamp":"000001a02a23bba0"} 
[2026-08-22 21:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 21:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751527214,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2281778459,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3901243306058711050,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132245209,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535574222,"corrected_to":0} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2147952178,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093694053659053,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2215778877073522726,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755528290205937,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:24] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,135,83,24,241,157,16,47,160,136,45,64,48,33,37,10,66,125,128,51,34,39,1,240,127,227,42,38,4,113,205,43,9,36,239,52,217,2,53,7,35,32,27,167],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1535574222,"validated":0}]} 
[2026-08-22 21:14:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378183336656896000,"timestamp_seconds":2378183336656896,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 21:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577824256001,"66":13515,"135":206,"83":42752,"24":44,"16":14970799999942656,"45":1916914990848264192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-22 21:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577824256001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:14:24] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-22 21:14:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14970799999942656,"km_value":14970799999942.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916914990848264192,"description":"Unknown IO ID 45"} 
[2026-08-22 21:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577824256001,"power":13515,"unknown_135":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1916914990848264192}} 
[2026-08-22 21:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":160291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:14:25] local.INFO: GPS data processed {"connection_id":160291,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:14:25] local.INFO: Acknowledgment sent {"connection_id":160291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:14:26] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a23d310012d1a6f0007261eb8001e00fd27..."} 
[2026-08-22 21:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a23d310012d1a6f0007261eb8001e00fd27..."} 
[2026-08-22 21:14:26] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a23d310012d1a6f0007261eb8001e00fd27..."} 
[2026-08-22 21:14:26] local.INFO: Packet analysis {"connection_id":160291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a23"} 
[2026-08-22 21:14:26] local.INFO: Extracted packet for processing {"connection_id":160291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a23"} 
[2026-08-22 21:14:26] local.INFO: GPS Element Parsed {"raw_longitude":756707072,"raw_latitude":119938744,"longitude_deg":75.6707072,"latitude_deg":11.9938744,"altitude":30,"angle":253,"satellites":39,"speed":41,"hex_longitude":"2d1a6f00","hex_latitude":"07261eb8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577825280001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14971109237587968,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911848441267304448,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787413386000,"timestamp_ms":1787413386000,"timestamp_seconds":1787413386,"priority":1,"record_length":96,"hex_timestamp":"000001a02a23d310"} 
[2026-08-22 21: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-22 21:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-22 21:14:26] 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-22 21: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-22 21: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-22 21:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577825280001,"66":13559,"135":206,"83":42752,"24":41,"16":14971109237587968,"45":1911848441267304448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-22 21:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577825280001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:14:26] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-22 21:14:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14971109237587968,"km_value":14971109237587.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911848441267304448,"description":"Unknown IO ID 45"} 
[2026-08-22 21:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577825280001,"power":13559,"unknown_135":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1911848441267304448}} 
[2026-08-22 21:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":160291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:14:26] local.INFO: GPS data processed {"connection_id":160291,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:14:26] local.INFO: Acknowledgment sent {"connection_id":160291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:14:27] local.INFO: TCP Data received {"connection_id":161234,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:14:27] local.INFO: Processing buffer {"connection_id":161234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:14:27] local.INFO: Packet analysis {"connection_id":161234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:14:27] local.INFO: Extracted packet for processing {"connection_id":161234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":49,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577729536001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787413307000,"timestamp_ms":1787413307000,"timestamp_seconds":1787413307,"priority":1,"record_length":96,"hex_timestamp":"000001a02a229e78"} 
[2026-08-22 21: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-22 21:14: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-22 21: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 21:14:27] 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-22 21: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-22 21: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-22 21:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:14: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-22 21:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577729536001,"66":26158,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577729536001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:14:27] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:14:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577729536001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":161234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:14:27] local.INFO: GPS data processed {"connection_id":161234,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:14:27] local.INFO: Acknowledgment sent {"connection_id":161234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:14:53] local.INFO: TCP Data received {"connection_id":161235,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:14:53] local.INFO: Processing buffer {"connection_id":161235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:14:53] local.INFO: IMEI packet received {"connection_id":161235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":161235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:14:55] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:55] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:55] local.INFO: IMEI packet received {"connection_id":160059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":160059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:14:56] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:56] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:14:56] local.INFO: IMEI packet received {"connection_id":160059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":160059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:14:58] local.INFO: TCP Data received {"connection_id":161235,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:14:58] local.INFO: Processing buffer {"connection_id":161235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:14:58] local.INFO: IMEI packet received {"connection_id":161235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":161235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:14:59] local.INFO: TCP Data received {"connection_id":161235,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:14:59] local.INFO: Processing buffer {"connection_id":161235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:14:59] local.INFO: Packet analysis {"connection_id":161235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:14:59] local.INFO: Extracted packet for processing {"connection_id":161235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":49,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577729536001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787413307000,"timestamp_ms":1787413307000,"timestamp_seconds":1787413307,"priority":1,"record_length":96,"hex_timestamp":"000001a02a229e78"} 
[2026-08-22 21: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-22 21:14: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-22 21: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 21:14: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-22 21: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-22 21: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-22 21:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21: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-22 21:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577729536001,"66":26158,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577729536001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:14:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:14:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577729536001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":161235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:14:59] local.INFO: GPS data processed {"connection_id":161235,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:14:59] local.INFO: Acknowledgment sent {"connection_id":161235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:15:02] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:15:02] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:15:02] local.INFO: IMEI packet received {"connection_id":160059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":160059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:15:03] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a248aa8012d19bb4007264330001e00fd26..."} 
[2026-08-22 21:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a248aa8012d19bb4007264330001e00fd26..."} 
[2026-08-22 21:15:03] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a248aa8012d19bb4007264330001e00fd26..."} 
[2026-08-22 21:15:03] local.INFO: Packet analysis {"connection_id":160059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a24"} 
[2026-08-22 21:15:03] local.INFO: Extracted packet for processing {"connection_id":160059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a24"} 
[2026-08-22 21:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119948080,"longitude_deg":75.6661056,"latitude_deg":11.994808,"altitude":30,"angle":253,"satellites":38,"speed":49,"hex_longitude":"2d19bb40","hex_latitude":"07264330","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577838080001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14973467174633472,"note":"Value kept but may cause issues"} 
[2026-08-22 21:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858157089462308864,"note":"Value kept but may cause issues"} 
[2026-08-22 21:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787413433000,"timestamp_ms":1787413433000,"timestamp_seconds":1787413433,"priority":1,"record_length":96,"hex_timestamp":"000001a02a248aa8"} 
[2026-08-22 21: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-22 21:15:03] 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-22 21:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-22 21:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577838080001,"66":13537,"175":206,"83":42752,"24":49,"16":14973467174633472,"45":1858157089462308864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-22 21:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577838080001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:15:03] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-22 21:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14973467174633472,"km_value":14973467174633.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858157089462308864,"description":"Unknown IO ID 45"} 
[2026-08-22 21:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577838080001,"power":13537,"unknown_175":206,"unknown_83":42752,"ignition":49,"odometer":null,"unknown_45":1858157089462308864}} 
[2026-08-22 21:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":160059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:15:03] local.INFO: GPS data processed {"connection_id":160059,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:15:03] local.INFO: Acknowledgment sent {"connection_id":160059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:15:03] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a24a9e8012d19954007263a08002000ff23..."} 
[2026-08-22 21:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a24a9e8012d19954007263a08002000ff23..."} 
[2026-08-22 21:15:03] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a24a9e8012d19954007263a08002000ff23..."} 
[2026-08-22 21:15:03] local.INFO: Packet analysis {"connection_id":160059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a24"} 
[2026-08-22 21:15:03] local.INFO: Extracted packet for processing {"connection_id":160059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a24"} 
[2026-08-22 21:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756651328,"raw_latitude":119945736,"longitude_deg":75.6651328,"latitude_deg":11.9945736,"altitude":32,"angle":255,"satellites":35,"speed":49,"hex_longitude":"2d199540","hex_latitude":"07263a08","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577838848001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14973943916003328,"note":"Value kept but may cause issues"} 
[2026-08-22 21:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146071043977216,"note":"Value kept but may cause issues"} 
[2026-08-22 21:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787413441000,"timestamp_ms":1787413441000,"timestamp_seconds":1787413441,"priority":1,"record_length":96,"hex_timestamp":"000001a02a24a9e8"} 
[2026-08-22 21: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-22 21:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-22 21:15:03] 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-22 21: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-22 21: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-22 21:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577838848001,"66":13537,"175":206,"83":42752,"24":49,"16":14973943916003328,"45":1854146071043977216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-22 21:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577838848001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:15:03] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-22 21:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14973943916003328,"km_value":14973943916003.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146071043977216,"description":"Unknown IO ID 45"} 
[2026-08-22 21:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577838848001,"power":13537,"unknown_175":206,"unknown_83":42752,"ignition":49,"odometer":null,"unknown_45":1854146071043977216}} 
[2026-08-22 21:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":160059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:15:03] local.INFO: GPS data processed {"connection_id":160059,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:15:03] local.INFO: Acknowledgment sent {"connection_id":160059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:15:03] local.INFO: TCP Data received {"connection_id":161235,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:15:03] local.INFO: Processing buffer {"connection_id":161235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:15:03] local.INFO: Packet analysis {"connection_id":161235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:15:03] local.INFO: Extracted packet for processing {"connection_id":161235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":49,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577729536001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787413307000,"timestamp_ms":1787413307000,"timestamp_seconds":1787413307,"priority":1,"record_length":96,"hex_timestamp":"000001a02a229e78"} 
[2026-08-22 21: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-22 21:15: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-22 21: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 21:15:03] 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-22 21: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-22 21: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-22 21:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577729536001,"66":26158,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577729536001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:15:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:15:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577729536001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":161235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:15:04] local.INFO: GPS data processed {"connection_id":161235,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:15:04] local.INFO: Acknowledgment sent {"connection_id":161235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:15:35] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a24c928012d19704007262ce0002100f524..."} 
[2026-08-22 21:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a24c928012d19704007262ce0002100f524..."} 
[2026-08-22 21:15:35] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a24c928012d19704007262ce0002100f524..."} 
[2026-08-22 21:15:35] local.INFO: Packet analysis {"connection_id":160059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a24"} 
[2026-08-22 21:15:35] local.INFO: Extracted packet for processing {"connection_id":160059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a24"} 
[2026-08-22 21:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756641856,"raw_latitude":119942368,"longitude_deg":75.6641856,"latitude_deg":11.9942368,"altitude":33,"angle":245,"satellites":36,"speed":48,"hex_longitude":"2d197040","hex_latitude":"07262ce0","is_valid_coordinates":true} 
[2026-08-22 21:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577840896001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14974420657373184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843450021928372224,"note":"Value kept but may cause issues"} 
[2026-08-22 21:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787413449000,"timestamp_ms":1787413449000,"timestamp_seconds":1787413449,"priority":1,"record_length":96,"hex_timestamp":"000001a02a24c928"} 
[2026-08-22 21:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:15:35] 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-22 21:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-22 21:15:35] 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-22 21:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577840896001,"66":13515,"175":206,"83":42752,"24":48,"16":14974420657373184,"45":1843450021928372224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-22 21:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577840896001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:15:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-22 21:15:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14974420657373184,"km_value":14974420657373.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843450021928372224,"description":"Unknown IO ID 45"} 
[2026-08-22 21:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577840896001,"power":13515,"unknown_175":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1843450021928372224}} 
[2026-08-22 21:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":160059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:15:35] local.INFO: GPS data processed {"connection_id":160059,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:15:35] local.INFO: Acknowledgment sent {"connection_id":160059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:15:48] local.INFO: TCP Data received {"connection_id":160061,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:15:48] local.INFO: Processing buffer {"connection_id":160061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:15:48] local.INFO: IMEI packet received {"connection_id":160061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":160061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:15:48] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:15:48] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:15:48] local.INFO: IMEI packet received {"connection_id":160060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":160060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:15:49] local.INFO: TCP Data received {"connection_id":160061,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:15:49] local.INFO: Processing buffer {"connection_id":160061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:15:49] local.INFO: IMEI packet received {"connection_id":160061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":160061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:15:50] local.INFO: TCP Data received {"connection_id":160061,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:15:50] local.INFO: Processing buffer {"connection_id":160061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:15:50] local.INFO: IMEI packet received {"connection_id":160061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":160061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:15:52] local.INFO: TCP Data received {"connection_id":160061,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:15:52] local.INFO: Processing buffer {"connection_id":160061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:15:52] local.INFO: IMEI packet received {"connection_id":160061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":160061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:15:53] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:15:53] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:15:53] local.INFO: IMEI packet received {"connection_id":160060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":160060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:15:54] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:15:54] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:15:54] local.INFO: Packet analysis {"connection_id":160060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:15:54] local.INFO: Extracted packet for processing {"connection_id":160060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:15:54] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":49,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577729536001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787413307000,"timestamp_ms":1787413307000,"timestamp_seconds":1787413307,"priority":1,"record_length":96,"hex_timestamp":"000001a02a229e78"} 
[2026-08-22 21:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 21:15:54] 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-22 21:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:15:54] 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-22 21:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577729536001,"66":26158,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577729536001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:15:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:15:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577729536001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":160060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:15:54] local.INFO: GPS data processed {"connection_id":160060,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:15:54] local.INFO: Acknowledgment sent {"connection_id":160060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:16:25] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:16:25] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:16:25] local.INFO: Packet analysis {"connection_id":160060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:16:25] local.INFO: Extracted packet for processing {"connection_id":160060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:16:25] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":49,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 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-22 21:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577729536001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787413307000,"timestamp_ms":1787413307000,"timestamp_seconds":1787413307,"priority":1,"record_length":96,"hex_timestamp":"000001a02a229e78"} 
[2026-08-22 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-22 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-22 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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 21:16: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-22 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-22 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-22 21:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:16:25] 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-22 21:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577729536001,"66":26158,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577729536001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:16:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:16:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577729536001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":160060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:16:25] local.INFO: GPS data processed {"connection_id":160060,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:16:25] local.INFO: Acknowledgment sent {"connection_id":160060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:16:48] local.INFO: TCP Data received {"connection_id":161236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:16:48] local.INFO: Processing buffer {"connection_id":161236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:16:48] local.INFO: IMEI packet received {"connection_id":161236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":161236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:16:53] local.INFO: TCP Data received {"connection_id":161236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:16:53] local.INFO: Processing buffer {"connection_id":161236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:16:53] local.INFO: IMEI packet received {"connection_id":161236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":161236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:16:54] local.INFO: TCP Data received {"connection_id":161236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:16:54] local.INFO: Processing buffer {"connection_id":161236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:16:54] local.INFO: Packet analysis {"connection_id":161236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:16:54] local.INFO: Extracted packet for processing {"connection_id":161236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:16:54] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":49,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577729536001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787413307000,"timestamp_ms":1787413307000,"timestamp_seconds":1787413307,"priority":1,"record_length":96,"hex_timestamp":"000001a02a229e78"} 
[2026-08-22 21:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 21:16:54] 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-22 21:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:16:54] local.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-22 21:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577729536001,"66":26158,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577729536001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:16:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:16:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577729536001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":161236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:16:54] local.INFO: GPS data processed {"connection_id":161236,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:16:54] local.INFO: Acknowledgment sent {"connection_id":161236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:17:25] local.INFO: TCP Data received {"connection_id":161236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:17:25] local.INFO: Processing buffer {"connection_id":161236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a229e78012d7b83c005f5f2d8001700a131..."} 
[2026-08-22 21:17:25] local.INFO: Packet analysis {"connection_id":161236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:17:25] local.INFO: Extracted packet for processing {"connection_id":161236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a22"} 
[2026-08-22 21:17:25] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":49,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577729536001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787413307000,"timestamp_ms":1787413307000,"timestamp_seconds":1787413307,"priority":1,"record_length":96,"hex_timestamp":"000001a02a229e78"} 
[2026-08-22 21: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-22 21: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-22 21: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 21:17: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-22 21: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-22 21: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-22 21:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:17: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-22 21:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577729536001,"66":26158,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577729536001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:17:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:17:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577729536001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":161236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:17:25] local.INFO: GPS data processed {"connection_id":161236,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:17:25] local.INFO: Acknowledgment sent {"connection_id":161236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:17:48] local.INFO: TCP Data received {"connection_id":162659,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:17:48] local.INFO: Processing buffer {"connection_id":162659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:17:48] local.INFO: IMEI packet received {"connection_id":162659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":162659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:17:53] local.INFO: TCP Data received {"connection_id":162659,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:17:53] local.INFO: Processing buffer {"connection_id":162659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:17:53] local.INFO: IMEI packet received {"connection_id":162659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":162659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:17:54] local.INFO: TCP Data received {"connection_id":162659,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:17:54] local.INFO: Processing buffer {"connection_id":162659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:17:54] local.INFO: Packet analysis {"connection_id":162659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:17:54] local.INFO: Extracted packet for processing {"connection_id":162659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:17:54] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":47,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577806592001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787413608000,"timestamp_ms":1787413608000,"timestamp_seconds":1787413608,"priority":1,"record_length":96,"hex_timestamp":"000001a02a273640"} 
[2026-08-22 21:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 21:17:54] 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-22 21:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:17:54] 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-22 21:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577806592001,"66":26082,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577806592001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:17:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:17:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577806592001,"power":26082,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":162659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:17:54] local.INFO: GPS data processed {"connection_id":162659,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:17:54] local.INFO: Acknowledgment sent {"connection_id":162659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:18:25] local.INFO: TCP Data received {"connection_id":162659,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:18:25] local.INFO: Processing buffer {"connection_id":162659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:18:25] local.INFO: Packet analysis {"connection_id":162659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:18:25] local.INFO: Extracted packet for processing {"connection_id":162659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:18:25] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":47,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 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-22 21:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577806592001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787413608000,"timestamp_ms":1787413608000,"timestamp_seconds":1787413608,"priority":1,"record_length":96,"hex_timestamp":"000001a02a273640"} 
[2026-08-22 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-22 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-22 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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 21:18: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-22 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-22 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-22 21:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:18: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-22 21:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577806592001,"66":26082,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577806592001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:18:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:18:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577806592001,"power":26082,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":162659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:18:25] local.INFO: GPS data processed {"connection_id":162659,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:18:25] local.INFO: Acknowledgment sent {"connection_id":162659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:18:48] local.INFO: TCP Data received {"connection_id":160293,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:18:48] local.INFO: Processing buffer {"connection_id":160293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:18:48] local.INFO: IMEI packet received {"connection_id":160293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":160293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:18:53] local.INFO: TCP Data received {"connection_id":160293,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:18:53] local.INFO: Processing buffer {"connection_id":160293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:18:53] local.INFO: IMEI packet received {"connection_id":160293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":160293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:18:54] local.INFO: TCP Data received {"connection_id":160293,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:18:54] local.INFO: Processing buffer {"connection_id":160293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:18:54] local.INFO: Packet analysis {"connection_id":160293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:18:54] local.INFO: Extracted packet for processing {"connection_id":160293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:18:54] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":47,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577806592001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787413608000,"timestamp_ms":1787413608000,"timestamp_seconds":1787413608,"priority":1,"record_length":96,"hex_timestamp":"000001a02a273640"} 
[2026-08-22 21:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 21:18:54] 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-22 21:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:18:54] 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-22 21:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577806592001,"66":26082,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577806592001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:18:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:18:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577806592001,"power":26082,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":160293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:18:54] local.INFO: GPS data processed {"connection_id":160293,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:18:54] local.INFO: Acknowledgment sent {"connection_id":160293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:19:27] local.INFO: TCP Data received {"connection_id":160293,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:19:27] local.INFO: Processing buffer {"connection_id":160293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:19:27] local.INFO: Packet analysis {"connection_id":160293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:19:27] local.INFO: Extracted packet for processing {"connection_id":160293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":47,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577806592001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787413608000,"timestamp_ms":1787413608000,"timestamp_seconds":1787413608,"priority":1,"record_length":96,"hex_timestamp":"000001a02a273640"} 
[2026-08-22 21: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-22 21: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-22 21: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":46,"data_length":795,"current_offset":136} 
[2026-08-22 21:19:27] 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-22 21: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-22 21: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-22 21:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:19: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-22 21:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577806592001,"66":26082,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577806592001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:19:27] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:19:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577806592001,"power":26082,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":160293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:19:27] local.INFO: GPS data processed {"connection_id":160293,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:19:27] local.INFO: Acknowledgment sent {"connection_id":160293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:19:53] local.INFO: TCP Data received {"connection_id":162660,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:19:53] local.INFO: Processing buffer {"connection_id":162660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:19:53] local.INFO: IMEI packet received {"connection_id":162660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":162660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:19:58] local.INFO: TCP Data received {"connection_id":162660,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:19:58] local.INFO: Processing buffer {"connection_id":162660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:19:58] local.INFO: IMEI packet received {"connection_id":162660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":162660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:20:23] local.INFO: TCP Data received {"connection_id":162660,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:20:23] local.INFO: Processing buffer {"connection_id":162660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:20:23] local.INFO: Packet analysis {"connection_id":162660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:20:23] local.INFO: Extracted packet for processing {"connection_id":162660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:20:23] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":47,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577806592001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787413608000,"timestamp_ms":1787413608000,"timestamp_seconds":1787413608,"priority":1,"record_length":96,"hex_timestamp":"000001a02a273640"} 
[2026-08-22 21:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 21:20:23] 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-22 21:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:20: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-22 21:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577806592001,"66":26082,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577806592001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:20:23] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:20:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577806592001,"power":26082,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":162660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:20:23] local.INFO: GPS data processed {"connection_id":162660,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:20:23] local.INFO: Acknowledgment sent {"connection_id":162660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:20:24] local.INFO: TCP Data received {"connection_id":162660,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:20:24] local.INFO: Processing buffer {"connection_id":162660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:20:24] local.INFO: Packet analysis {"connection_id":162660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:20:24] local.INFO: Extracted packet for processing {"connection_id":162660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:20:24] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":47,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 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-22 21:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577806592001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787413608000,"timestamp_ms":1787413608000,"timestamp_seconds":1787413608,"priority":1,"record_length":96,"hex_timestamp":"000001a02a273640"} 
[2026-08-22 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-22 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-22 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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 21:20: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-22 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-22 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-22 21:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:20: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-22 21:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577806592001,"66":26082,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577806592001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:20:24] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:20:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577806592001,"power":26082,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":162660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:20:24] local.INFO: GPS data processed {"connection_id":162660,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:20:24] local.INFO: Acknowledgment sent {"connection_id":162660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:20:48] local.INFO: TCP Data received {"connection_id":161238,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:20:48] local.INFO: Processing buffer {"connection_id":161238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:20:48] local.INFO: IMEI packet received {"connection_id":161238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":161238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:20:53] local.INFO: TCP Data received {"connection_id":161238,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:20:53] local.INFO: Processing buffer {"connection_id":161238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:20:53] local.INFO: IMEI packet received {"connection_id":161238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":161238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:20:55] local.INFO: TCP Data received {"connection_id":161238,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:20:55] local.INFO: Processing buffer {"connection_id":161238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:20:55] local.INFO: Packet analysis {"connection_id":161238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:20:55] local.INFO: Extracted packet for processing {"connection_id":161238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:20:55] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":47,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 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-22 21:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577806592001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787413608000,"timestamp_ms":1787413608000,"timestamp_seconds":1787413608,"priority":1,"record_length":96,"hex_timestamp":"000001a02a273640"} 
[2026-08-22 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-22 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-22 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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 21:20:55] 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-22 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-22 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-22 21:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:20:55] 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-22 21:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577806592001,"66":26082,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577806592001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:20:55] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:20:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577806592001,"power":26082,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":161238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:20:55] local.INFO: GPS data processed {"connection_id":161238,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:20:55] local.INFO: Acknowledgment sent {"connection_id":161238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:20:56] local.INFO: TCP Data received {"connection_id":160294,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:20:56] local.INFO: Processing buffer {"connection_id":160294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:20:56] local.INFO: IMEI packet received {"connection_id":160294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":160294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:20:56] local.INFO: TCP Data received {"connection_id":160294,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2a2c10012d148340072689b0002f012922..."} 
[2026-08-22 21:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2a2c10012d148340072689b0002f012922..."} 
[2026-08-22 21:20:56] local.INFO: Processing buffer {"connection_id":160294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2a2c10012d148340072689b0002f012922..."} 
[2026-08-22 21:20:56] local.INFO: Packet analysis {"connection_id":160294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2a"} 
[2026-08-22 21:20:56] local.INFO: Extracted packet for processing {"connection_id":160294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2a"} 
[2026-08-22 21:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756319040,"raw_latitude":119966128,"longitude_deg":75.631904,"latitude_deg":11.9966128,"altitude":47,"angle":297,"satellites":34,"speed":50,"hex_longitude":"2d148340","hex_latitude":"072689b0","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577932288001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14993357168181248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1483162051743451136,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787413802000,"timestamp_ms":1787413802000,"timestamp_seconds":1787413802,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2a2c10"} 
[2026-08-22 21: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-22 21:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 21: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":3,"data_length":795,"current_offset":136} 
[2026-08-22 21:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303170663271775,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:56] local.WARNING: Large IO value detected {"io_id":52,"raw_value":58075821928611885,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:56] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":26625,"corrected_to":0} 
[2026-08-22 21:20:56] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2347237415,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1597243598,"corrected_to":0} 
[2026-08-22 21:20:56] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221694083,"note":"Value kept but may cause issues"} 
[2026-08-22 21:20:56] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,52,83,24,241,157,16,68,160,8,45,64,126,48,31,10,66,67,233,130,44,30,202,1,240,227,42,38,4,113,205,159,32,176,35,239,2,53,7,33],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":202,"original":26625,"validated":0},{"io_id":205,"original":1597243598,"validated":0}]} 
[2026-08-22 21:20:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531135601819320320,"timestamp_seconds":3531135601819320.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 21: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-22 21:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577932288001,"66":12982,"52":206,"83":42752,"24":50,"16":14993357168181248,"45":1483162051743451136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-22 21:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577932288001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:20:56] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-22 21:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14993357168181248,"km_value":14993357168181.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1483162051743451136,"description":"Unknown IO ID 45"} 
[2026-08-22 21:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577932288001,"power":12982,"unknown_52":206,"unknown_83":42752,"ignition":50,"odometer":null,"unknown_45":1483162051743451136}} 
[2026-08-22 21:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":160294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:20:56] local.INFO: GPS data processed {"connection_id":160294,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:20:56] local.INFO: Acknowledgment sent {"connection_id":160294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:21:26] local.INFO: TCP Data received {"connection_id":161238,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:21:26] local.INFO: Processing buffer {"connection_id":161238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:21:26] local.INFO: Packet analysis {"connection_id":161238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:21:26] local.INFO: Extracted packet for processing {"connection_id":161238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:21:26] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":47,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577806592001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787413608000,"timestamp_ms":1787413608000,"timestamp_seconds":1787413608,"priority":1,"record_length":96,"hex_timestamp":"000001a02a273640"} 
[2026-08-22 21:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21: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-22 21:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 21:21:26] 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-22 21:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:21: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-22 21:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577806592001,"66":26082,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577806592001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:21:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:21:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577806592001,"power":26082,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":161238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:21:26] local.INFO: GPS data processed {"connection_id":161238,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:21:26] local.INFO: Acknowledgment sent {"connection_id":161238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:21:28] local.INFO: TCP Data received {"connection_id":160294,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2a3f98012d146b8007269288002c011c21..."} 
[2026-08-22 21:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2a3f98012d146b8007269288002c011c21..."} 
[2026-08-22 21:21:28] local.INFO: Processing buffer {"connection_id":160294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2a3f98012d146b8007269288002c011c21..."} 
[2026-08-22 21:21:28] local.INFO: Packet analysis {"connection_id":160294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2a"} 
[2026-08-22 21:21:28] local.INFO: Extracted packet for processing {"connection_id":160294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2a"} 
[2026-08-22 21:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756312960,"raw_latitude":119968392,"longitude_deg":75.631296,"latitude_deg":11.9968392,"altitude":44,"angle":284,"satellites":33,"speed":51,"hex_longitude":"2d146b80","hex_latitude":"07269288","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577933312001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14993666405826560,"note":"Value kept but may cause issues"} 
[2026-08-22 21:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1478095502163161088,"note":"Value kept but may cause issues"} 
[2026-08-22 21:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787413807000,"timestamp_ms":1787413807000,"timestamp_seconds":1787413807,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2a3f98"} 
[2026-08-22 21: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-22 21:21: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-22 21: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-22 21:21:28] 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-22 21: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-22 21: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-22 21:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577933312001,"66":13580,"52":206,"83":42752,"24":51,"16":14993666405826560,"45":1478095502163161088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-22 21:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577933312001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:21:28] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-22 21:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14993666405826560,"km_value":14993666405826.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1478095502163161088,"description":"Unknown IO ID 45"} 
[2026-08-22 21:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577933312001,"power":13580,"unknown_52":206,"unknown_83":42752,"ignition":51,"odometer":null,"unknown_45":1478095502163161088}} 
[2026-08-22 21:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":160294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:21:28] local.INFO: GPS data processed {"connection_id":160294,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:21:28] local.INFO: Acknowledgment sent {"connection_id":160294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:21:48] local.INFO: TCP Data received {"connection_id":161239,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:21:48] local.INFO: Processing buffer {"connection_id":161239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:21:48] local.INFO: IMEI packet received {"connection_id":161239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":161239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:21:51] local.INFO: TCP Data received {"connection_id":162661,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:21:51] local.INFO: Processing buffer {"connection_id":162661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:21:51] local.INFO: IMEI packet received {"connection_id":162661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":162661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:21:53] local.INFO: TCP Data received {"connection_id":161239,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:21:53] local.INFO: Processing buffer {"connection_id":161239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:21:53] local.INFO: IMEI packet received {"connection_id":161239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":161239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:21:54] local.INFO: TCP Data received {"connection_id":161239,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:21:54] local.INFO: Processing buffer {"connection_id":161239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:21:54] local.INFO: Packet analysis {"connection_id":161239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:21:54] local.INFO: Extracted packet for processing {"connection_id":161239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":47,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577806592001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787413608000,"timestamp_ms":1787413608000,"timestamp_seconds":1787413608,"priority":1,"record_length":96,"hex_timestamp":"000001a02a273640"} 
[2026-08-22 21:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 21:21:54] 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-22 21:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:21:54] 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-22 21:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577806592001,"66":26082,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577806592001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:21:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:21:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577806592001,"power":26082,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":161239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:21:54] local.INFO: GPS data processed {"connection_id":161239,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:21:54] local.INFO: Acknowledgment sent {"connection_id":161239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:21:57] local.INFO: TCP Data received {"connection_id":162661,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:21:57] local.INFO: Processing buffer {"connection_id":162661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:21:57] local.INFO: IMEI packet received {"connection_id":162661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":162661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:21:58] local.INFO: TCP Data received {"connection_id":162661,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2af348012d13b5000726b6e80022010825..."} 
[2026-08-22 21:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2af348012d13b5000726b6e80022010825..."} 
[2026-08-22 21:21:58] local.INFO: Processing buffer {"connection_id":162661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2af348012d13b5000726b6e80022010825..."} 
[2026-08-22 21:21:58] local.INFO: Packet analysis {"connection_id":162661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2a"} 
[2026-08-22 21:21:58] local.INFO: Extracted packet for processing {"connection_id":162661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2a"} 
[2026-08-22 21:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756266240,"raw_latitude":119977704,"longitude_deg":75.626624,"latitude_deg":11.9977704,"altitude":34,"angle":264,"satellites":37,"speed":39,"hex_longitude":"2d13b500","hex_latitude":"0726b6e8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577944064001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14996101652283392,"note":"Value kept but may cause issues"} 
[2026-08-22 21:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1430104018637135872,"note":"Value kept but may cause issues"} 
[2026-08-22 21:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787413853000,"timestamp_ms":1787413853000,"timestamp_seconds":1787413853,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2af348"} 
[2026-08-22 21: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-22 21:21: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-22 21:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-22 21:21:58] 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-22 21: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-22 21: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-22 21:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577944064001,"66":13461,"106":206,"83":42752,"24":39,"16":14996101652283392,"45":1430104018637135872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 21:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577944064001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:21:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 21:21:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14996101652283392,"km_value":14996101652283.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1430104018637135872,"description":"Unknown IO ID 45"} 
[2026-08-22 21:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577944064001,"power":13461,"unknown_106":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1430104018637135872}} 
[2026-08-22 21:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":162661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:21:58] local.INFO: GPS data processed {"connection_id":162661,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:21:58] local.INFO: Acknowledgment sent {"connection_id":162661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:22:25] local.INFO: TCP Data received {"connection_id":161239,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:22:25] local.INFO: Processing buffer {"connection_id":161239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a273640012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:22:25] local.INFO: Packet analysis {"connection_id":161239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:22:25] local.INFO: Extracted packet for processing {"connection_id":161239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a27"} 
[2026-08-22 21:22:25] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":47,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 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-22 21:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577806592001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787413608000,"timestamp_ms":1787413608000,"timestamp_seconds":1787413608,"priority":1,"record_length":96,"hex_timestamp":"000001a02a273640"} 
[2026-08-22 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-22 21: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-22 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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-22 21:22: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-22 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-22 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-22 21:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:22: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-22 21:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577806592001,"66":26082,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577806592001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:22:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:22:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577806592001,"power":26082,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":161239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:22:25] local.INFO: GPS data processed {"connection_id":161239,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:22:25] local.INFO: Acknowledgment sent {"connection_id":161239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:22:30] local.INFO: TCP Data received {"connection_id":162661,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2b1e40012d1391400726b4b80028010d23..."} 
[2026-08-22 21:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2b1e40012d1391400726b4b80028010d23..."} 
[2026-08-22 21:22:30] local.INFO: Processing buffer {"connection_id":162661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2b1e40012d1391400726b4b80028010d23..."} 
[2026-08-22 21:22:30] local.INFO: Packet analysis {"connection_id":162661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2b"} 
[2026-08-22 21:22:30] local.INFO: Extracted packet for processing {"connection_id":162661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2b"} 
[2026-08-22 21:22:30] local.INFO: GPS Element Parsed {"raw_longitude":756257088,"raw_latitude":119977144,"longitude_deg":75.6257088,"latitude_deg":11.9977144,"altitude":40,"angle":269,"satellites":35,"speed":30,"hex_longitude":"2d139140","hex_latitude":"0726b4b8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577946368001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14996535443980288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1420041288219551744,"note":"Value kept but may cause issues"} 
[2026-08-22 21:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787413864000,"timestamp_ms":1787413864000,"timestamp_seconds":1787413864,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2b1e40"} 
[2026-08-22 21: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-22 21:22: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-22 21: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-22 21:22:30] 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-22 21: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-22 21: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-22 21:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577946368001,"66":13537,"106":206,"83":42752,"24":30,"16":14996535443980288,"45":1420041288219551744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 21:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577946368001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:22:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 21:22:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14996535443980288,"km_value":14996535443980.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1420041288219551744,"description":"Unknown IO ID 45"} 
[2026-08-22 21:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577946368001,"power":13537,"unknown_106":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1420041288219551744}} 
[2026-08-22 21:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":162661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:22:30] local.INFO: GPS data processed {"connection_id":162661,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:22:30] local.INFO: Acknowledgment sent {"connection_id":162661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:22:48] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:22:48] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:22:48] local.INFO: IMEI packet received {"connection_id":160063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":160063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:22:53] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:22:53] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:22:53] local.INFO: IMEI packet received {"connection_id":160063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":160063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:22:54] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2bce08012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2bce08012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:22:54] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2bce08012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:22:54] local.INFO: Packet analysis {"connection_id":160063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2b"} 
[2026-08-22 21:22:54] local.INFO: Extracted packet for processing {"connection_id":160063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2b"} 
[2026-08-22 21:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":47,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577883648001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787413909000,"timestamp_ms":1787413909000,"timestamp_seconds":1787413909,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2bce08"} 
[2026-08-22 21:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-22 21:22:54] 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-22 21:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:22:54] 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-22 21:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577883648001,"66":25995,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577883648001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:22:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:22:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577883648001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":160063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:22:54] local.INFO: GPS data processed {"connection_id":160063,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:22:54] local.INFO: Acknowledgment sent {"connection_id":160063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:23:07] local.INFO: TCP Data received {"connection_id":162662,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:07] local.INFO: Processing buffer {"connection_id":162662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:07] local.INFO: IMEI packet received {"connection_id":162662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":162662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:23:08] local.INFO: TCP Data received {"connection_id":162662,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:08] local.INFO: Processing buffer {"connection_id":162662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:08] local.INFO: IMEI packet received {"connection_id":162662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":162662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:23:09] local.INFO: TCP Data received {"connection_id":162662,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2b4168012d1375000726b810002a011a23..."} 
[2026-08-22 21:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2b4168012d1375000726b810002a011a23..."} 
[2026-08-22 21:23:09] local.INFO: Processing buffer {"connection_id":162662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2b4168012d1375000726b810002a011a23..."} 
[2026-08-22 21:23:09] local.INFO: Packet analysis {"connection_id":162662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2b"} 
[2026-08-22 21:23:09] local.INFO: Extracted packet for processing {"connection_id":162662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2b"} 
[2026-08-22 21:23:09] local.INFO: GPS Element Parsed {"raw_longitude":756249856,"raw_latitude":119978000,"longitude_deg":75.6249856,"latitude_deg":11.9978,"altitude":42,"angle":282,"satellites":35,"speed":35,"hex_longitude":"2d137500","hex_latitude":"0726b810","is_valid_coordinates":true} 
[2026-08-22 21:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577949184001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14996883336331264,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1409978557802002432,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:09] 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-22 21:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787413873000,"timestamp_ms":1787413873000,"timestamp_seconds":1787413873,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2b4168"} 
[2026-08-22 21:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-22 21:23:09] 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-22 21:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577949184001,"66":13515,"106":206,"83":42752,"24":35,"16":14996883336331264,"45":1409978557802002432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 21:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577949184001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:23:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 21:23:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14996883336331264,"km_value":14996883336331.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1409978557802002432,"description":"Unknown IO ID 45"} 
[2026-08-22 21:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577949184001,"power":13515,"unknown_106":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1409978557802002432}} 
[2026-08-22 21:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":162662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:23:10] local.INFO: GPS data processed {"connection_id":162662,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:23:10] local.INFO: Acknowledgment sent {"connection_id":162662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:23:10] local.INFO: TCP Data received {"connection_id":162662,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2b60a8012d1354c00726be10002b010e23..."} 
[2026-08-22 21:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2b60a8012d1354c00726be10002b010e23..."} 
[2026-08-22 21:23:10] local.INFO: Processing buffer {"connection_id":162662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2b60a8012d1354c00726be10002b010e23..."} 
[2026-08-22 21:23:10] local.INFO: Packet analysis {"connection_id":162662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2b"} 
[2026-08-22 21:23:10] local.INFO: Extracted packet for processing {"connection_id":162662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2b"} 
[2026-08-22 21:23:10] local.INFO: GPS Element Parsed {"raw_longitude":756241600,"raw_latitude":119979536,"longitude_deg":75.62416,"latitude_deg":11.9979536,"altitude":43,"angle":270,"satellites":35,"speed":43,"hex_longitude":"2d1354c0","hex_latitude":"0726be10","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577951488001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14997282768289792,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1402026889710145536,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:10] 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-22 21:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787413881000,"timestamp_ms":1787413881000,"timestamp_seconds":1787413881,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2b60a8"} 
[2026-08-22 21: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-22 21:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-22 21:23:10] 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-22 21: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-22 21: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-22 21:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":162662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":162662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":162662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577951488001,"66":13417,"106":206,"83":42752,"24":43,"16":14997282768289792,"45":1402026889710145536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 21:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577951488001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:23:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 21:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14997282768289792,"km_value":14997282768289.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1402026889710145536,"description":"Unknown IO ID 45"} 
[2026-08-22 21:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577951488001,"power":13417,"unknown_106":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1402026889710145536}} 
[2026-08-22 21:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":162662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:23:10] local.INFO: GPS data processed {"connection_id":162662,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:23:10] local.INFO: Acknowledgment sent {"connection_id":162662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:23:25] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2c6e30012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2c6e30012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:23:25] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2c6e30012d7b83c005f5f2d8001700a12f..."} 
[2026-08-22 21:23:25] local.INFO: Packet analysis {"connection_id":160063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:23:25] local.INFO: Extracted packet for processing {"connection_id":160063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100004568,"longitude_deg":76.3069376,"latitude_deg":10.0004568,"altitude":23,"angle":161,"satellites":47,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f2d8","is_valid_coordinates":true} 
[2026-08-22 21:23: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-22 21:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577960704001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178381238796288,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787413950000,"timestamp_ms":1787413950000,"timestamp_seconds":1787413950,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2c6e30"} 
[2026-08-22 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-22 21: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-22 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 21:23: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-22 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-22 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-22 21:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:23: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-22 21:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577960704001,"66":26006,"160":206,"87":12800,"24":0,"16":389178381238796288,"45":8900168420447934464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577960704001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:23:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:23:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178381238796288,"km_value":389178381238796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577960704001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":160063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:23:25] local.INFO: GPS data processed {"connection_id":160063,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:23:25] local.INFO: Acknowledgment sent {"connection_id":160063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:23:49] local.INFO: TCP Data received {"connection_id":161240,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:49] local.INFO: Processing buffer {"connection_id":161240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:49] local.INFO: IMEI packet received {"connection_id":161240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":161240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:23:52] local.INFO: TCP Data received {"connection_id":161240,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:52] local.INFO: Processing buffer {"connection_id":161240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:52] local.INFO: IMEI packet received {"connection_id":161240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":161240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:23:52] local.INFO: TCP Data received {"connection_id":161240,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:52] local.INFO: Processing buffer {"connection_id":161240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:52] local.INFO: IMEI packet received {"connection_id":161240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":161240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:23:53] local.INFO: TCP Data received {"connection_id":161241,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:23:53] local.INFO: Processing buffer {"connection_id":161241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:23:53] local.INFO: IMEI packet received {"connection_id":161241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":161241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:23:57] local.INFO: TCP Data received {"connection_id":161240,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:57] local.INFO: Processing buffer {"connection_id":161240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:23:57] local.INFO: IMEI packet received {"connection_id":161240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":161240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:23:58] local.INFO: TCP Data received {"connection_id":161240,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2ccfd8012d1252c00725e9e00021009024..."} 
[2026-08-22 21:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2ccfd8012d1252c00725e9e00021009024..."} 
[2026-08-22 21:23:58] local.INFO: Processing buffer {"connection_id":161240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2ccfd8012d1252c00725e9e00021009024..."} 
[2026-08-22 21:23:58] local.INFO: Packet analysis {"connection_id":161240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:23:58] local.INFO: Extracted packet for processing {"connection_id":161240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756175552,"raw_latitude":119925216,"longitude_deg":75.6175552,"latitude_deg":11.9925216,"altitude":33,"angle":144,"satellites":36,"speed":48,"hex_longitude":"2d1252c0","hex_latitude":"0725e9e0","is_valid_coordinates":true} 
[2026-08-22 21:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577976832001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15001951397740544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1317232552963141632,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787413975000,"timestamp_ms":1787413975000,"timestamp_seconds":1787413975,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2ccfd8"} 
[2026-08-22 21:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:23: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-22 21:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 21:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751527242,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:58] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3607101440,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633900310750741,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712652494,"corrected_to":0} 
[2026-08-22 21:23:58] local.WARNING: Large IO value detected {"io_id":137,"raw_value":2281778450,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:58] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:58] local.WARNING: Large IO value detected {"io_id":18,"raw_value":8376703167919816751,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:58] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-143889352622027181,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:58] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755592714715377,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:58] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,21,83,24,241,157,16,76,160,192,45,245,35,37,10,66,75,184,252,180,1,240,227,42,38,4,113,205,40,137,82,64,239,53,2,7,46,27,18,49,167],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1712652494,"validated":0}]} 
[2026-08-22 21:23:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522155588220878848,"timestamp_seconds":2522155588220879.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 21:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577976832001,"66":13559,"21":206,"83":41984,"24":48,"16":15001951397740544,"45":1317232552963141632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,45]} 
[2026-08-22 21:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577976832001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:23:58] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-22 21:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15001951397740544,"km_value":15001951397740.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1317232552963141632,"description":"Unknown IO ID 45"} 
[2026-08-22 21:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577976832001,"power":13559,"unknown_21":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1317232552963141632}} 
[2026-08-22 21:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":161240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:23:58] local.INFO: GPS data processed {"connection_id":161240,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:23:58] local.INFO: Acknowledgment sent {"connection_id":161240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:23:58] local.INFO: TCP Data received {"connection_id":161241,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:23:58] local.INFO: Processing buffer {"connection_id":161241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:23:58] local.INFO: IMEI packet received {"connection_id":161241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":161241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:23:59] local.INFO: TCP Data received {"connection_id":161240,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2cd7a8012d1257800725e198002000a025..."} 
[2026-08-22 21:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2cd7a8012d1257800725e198002000a025..."} 
[2026-08-22 21:23:59] local.INFO: Processing buffer {"connection_id":161240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2cd7a8012d1257800725e198002000a025..."} 
[2026-08-22 21:23:59] local.INFO: Packet analysis {"connection_id":161240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:23:59] local.INFO: Extracted packet for processing {"connection_id":161240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756176768,"raw_latitude":119923096,"longitude_deg":75.6176768,"latitude_deg":11.9923096,"altitude":32,"angle":160,"satellites":37,"speed":48,"hex_longitude":"2d125780","hex_latitude":"0725e198","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577977600001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15002067361857536,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1320328777706364928,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787413977000,"timestamp_ms":1787413977000,"timestamp_seconds":1787413977,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2cd7a8"} 
[2026-08-22 21: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-22 21:23: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-22 21: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 21:23:59] 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-22 21: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-22 21: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-22 21:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577977600001,"66":13580,"21":206,"83":41984,"24":48,"16":15002067361857536,"45":1320328777706364928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,45]} 
[2026-08-22 21:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577977600001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:23:59] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-22 21:23:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15002067361857536,"km_value":15002067361857.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1320328777706364928,"description":"Unknown IO ID 45"} 
[2026-08-22 21:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577977600001,"power":13580,"unknown_21":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1320328777706364928}} 
[2026-08-22 21:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":161240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:23:59] local.INFO: GPS data processed {"connection_id":161240,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:23:59] local.INFO: Acknowledgment sent {"connection_id":161240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:23:59] local.INFO: TCP Data received {"connection_id":161241,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2c85a0012d7b8b4005f5f4780013001b2f..."} 
[2026-08-22 21:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2c85a0012d7b8b4005f5f4780013001b2f..."} 
[2026-08-22 21:23:59] local.INFO: Processing buffer {"connection_id":161241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2c85a0012d7b8b4005f5f4780013001b2f..."} 
[2026-08-22 21:23:59] local.INFO: Packet analysis {"connection_id":161241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:23:59] local.INFO: Extracted packet for processing {"connection_id":161241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:23:59] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004984,"longitude_deg":76.3071296,"latitude_deg":10.0004984,"altitude":19,"angle":27,"satellites":47,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f478","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577971200001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447934464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787413956000,"timestamp_ms":1787413956000,"timestamp_seconds":1787413956,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2c85a0"} 
[2026-08-22 21: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-22 21:23: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-22 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 21:23: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-22 21: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-22 21: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-22 21:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:23: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-22 21:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577971200001,"66":27571,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8900168420447934464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577971200001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:23:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:23:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447934464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577971200001,"power":27571,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447934464}} 
[2026-08-22 21:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":161241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:23:59] local.INFO: GPS data processed {"connection_id":161241,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:23:59] local.INFO: Acknowledgment sent {"connection_id":161241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:24:30] local.INFO: TCP Data received {"connection_id":161241,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2cd7a8012d7b8b4005f5f4780013001b2f..."} 
[2026-08-22 21:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2cd7a8012d7b8b4005f5f4780013001b2f..."} 
[2026-08-22 21:24:30] local.INFO: Processing buffer {"connection_id":161241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2cd7a8012d7b8b4005f5f4780013001b2f..."} 
[2026-08-22 21:24:30] local.INFO: Packet analysis {"connection_id":161241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:24:30] local.INFO: Extracted packet for processing {"connection_id":161241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:24:30] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004984,"longitude_deg":76.3071296,"latitude_deg":10.0004984,"altitude":19,"angle":27,"satellites":47,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f478","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577972736001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787413977000,"timestamp_ms":1787413977000,"timestamp_seconds":1787413977,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2cd7a8"} 
[2026-08-22 21: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-22 21:24: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-22 21: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-22 21:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:24: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-22 21:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577972736001,"66":27767,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577972736001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:24:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:24:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577972736001,"power":27767,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":161241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:24:30] local.INFO: GPS data processed {"connection_id":161241,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:24:30] local.INFO: Acknowledgment sent {"connection_id":161241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:24:31] local.INFO: TCP Data received {"connection_id":161240,"ip":"42.109.136.1","data_length":93,"data_hex":"00000000000000518e01000001a02a2d9710012d122b0007252ca8003100e423..."} 
[2026-08-22 21:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161240,"packet_length":93,"packet_hex":"00000000000000518e01000001a02a2d9710012d122b0007252ca8003100e423..."} 
[2026-08-22 21:24:31] local.INFO: Processing buffer {"connection_id":161240,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a02a2d9710012d122b0007252ca8003100e423..."} 
[2026-08-22 21:24:31] local.INFO: Packet analysis {"connection_id":161240,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a02a2d"} 
[2026-08-22 21:24:31] local.INFO: Extracted packet for processing {"connection_id":161240,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a02a2d"} 
[2026-08-22 21:24:31] local.INFO: GPS Element Parsed {"raw_longitude":756165376,"raw_latitude":119876776,"longitude_deg":75.6165376,"latitude_deg":11.9876776,"altitude":49,"angle":228,"satellites":35,"speed":38,"hex_longitude":"2d122b00","hex_latitude":"07252ca8","is_valid_coordinates":true} 
[2026-08-22 21: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":93,"current_offset":40} 
[2026-08-22 21:24: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-22 21:24: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-22 21:24:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:24:31] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-22 21:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161240,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-22 21:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161240,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-22 21:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161240,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-22 21:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-22 21:24:31] local.WARNING: DEBUG: No valid data to process  
[2026-08-22 21:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":161240,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-22 21:24:31] local.ERROR: GPS data processing failed {"connection_id":161240,"error":"No valid data to process"} 
[2026-08-22 21:24:31] local.INFO: Acknowledgment sent {"connection_id":161240,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-22 21:24:48] local.INFO: TCP Data received {"connection_id":160064,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:24:48] local.INFO: Processing buffer {"connection_id":160064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:24:48] local.INFO: IMEI packet received {"connection_id":160064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":160064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:24:51] local.INFO: TCP Data received {"connection_id":162663,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:24:51] local.INFO: Processing buffer {"connection_id":162663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:24:51] local.INFO: IMEI packet received {"connection_id":162663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":162663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:24:52] local.INFO: TCP Data received {"connection_id":162663,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:24:52] local.INFO: Processing buffer {"connection_id":162663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:24:52] local.INFO: IMEI packet received {"connection_id":162663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":162663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:24:53] local.INFO: TCP Data received {"connection_id":162663,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:24:53] local.INFO: Processing buffer {"connection_id":162663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:24:53] local.INFO: IMEI packet received {"connection_id":162663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":162663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:24:53] local.INFO: TCP Data received {"connection_id":160064,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:24:53] local.INFO: Processing buffer {"connection_id":160064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:24:53] local.INFO: IMEI packet received {"connection_id":160064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":160064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:24:54] local.INFO: TCP Data received {"connection_id":160064,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:24:54] local.INFO: Processing buffer {"connection_id":160064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:24:54] local.INFO: Packet analysis {"connection_id":160064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:24:54] local.INFO: Extracted packet for processing {"connection_id":160064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004984,"longitude_deg":76.3071296,"latitude_deg":10.0004984,"altitude":19,"angle":27,"satellites":46,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f478","is_valid_coordinates":true} 
[2026-08-22 21:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577978112001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787413987000,"timestamp_ms":1787413987000,"timestamp_seconds":1787413987,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2cfeb8"} 
[2026-08-22 21:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:24: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-22 21:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 21:24:54] 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-22 21:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577978112001,"66":27865,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577978112001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:24:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:24:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577978112001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":160064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:24:54] local.INFO: GPS data processed {"connection_id":160064,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:24:54] local.INFO: Acknowledgment sent {"connection_id":160064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:24:55] local.INFO: TCP Data received {"connection_id":162663,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:24:55] local.INFO: Processing buffer {"connection_id":162663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:24:55] local.INFO: IMEI packet received {"connection_id":162663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":162663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:24:56] local.INFO: TCP Data received {"connection_id":162663,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2da2c8012d12220007252600003200f124..."} 
[2026-08-22 21:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2da2c8012d12220007252600003200f124..."} 
[2026-08-22 21:24:56] local.INFO: Processing buffer {"connection_id":162663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2da2c8012d12220007252600003200f124..."} 
[2026-08-22 21:24:56] local.INFO: Packet analysis {"connection_id":162663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2d"} 
[2026-08-22 21:24:56] local.INFO: Extracted packet for processing {"connection_id":162663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2d"} 
[2026-08-22 21:24:56] local.INFO: GPS Element Parsed {"raw_longitude":756163072,"raw_latitude":119875072,"longitude_deg":75.6163072,"latitude_deg":11.9875072,"altitude":50,"angle":241,"satellites":36,"speed":36,"hex_longitude":"2d122200","hex_latitude":"07252600","is_valid_coordinates":true} 
[2026-08-22 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-22 21:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577990656001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15004730241581056,"note":"Value kept but may cause issues"} 
[2026-08-22 21:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1309140147369715712,"note":"Value kept but may cause issues"} 
[2026-08-22 21:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787414029000,"timestamp_ms":1787414029000,"timestamp_seconds":1787414029,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2da2c8"} 
[2026-08-22 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-22 21:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-22 21:24:56] 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-22 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-22 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-22 21:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577990656001,"66":12667,"21":206,"83":41984,"24":36,"16":15004730241581056,"45":1309140147369715712},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,45]} 
[2026-08-22 21:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577990656001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:24:56] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-22 21:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15004730241581056,"km_value":15004730241581.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1309140147369715712,"description":"Unknown IO ID 45"} 
[2026-08-22 21:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577990656001,"power":12667,"unknown_21":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1309140147369715712}} 
[2026-08-22 21:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":162663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:24:56] local.INFO: GPS data processed {"connection_id":162663,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:24:56] local.INFO: Acknowledgment sent {"connection_id":162663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:25:25] local.INFO: TCP Data received {"connection_id":160064,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:25:25] local.INFO: Processing buffer {"connection_id":160064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:25:25] local.INFO: Packet analysis {"connection_id":160064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:25:25] local.INFO: Extracted packet for processing {"connection_id":160064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:25:25] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004984,"longitude_deg":76.3071296,"latitude_deg":10.0004984,"altitude":19,"angle":27,"satellites":46,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f478","is_valid_coordinates":true} 
[2026-08-22 21:25: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-22 21:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577978112001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787413987000,"timestamp_ms":1787413987000,"timestamp_seconds":1787413987,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2cfeb8"} 
[2026-08-22 21: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-22 21:25: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-22 21: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 21:25: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-22 21: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-22 21: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-22 21:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577978112001,"66":27865,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577978112001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:25:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:25:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577978112001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":160064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:25:25] local.INFO: GPS data processed {"connection_id":160064,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:25:25] local.INFO: Acknowledgment sent {"connection_id":160064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:25:33] local.INFO: TCP Data received {"connection_id":162663,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2e79a0012d117640072565a0003f011e21..."} 
[2026-08-22 21:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2e79a0012d117640072565a0003f011e21..."} 
[2026-08-22 21:25:33] local.INFO: Processing buffer {"connection_id":162663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2e79a0012d117640072565a0003f011e21..."} 
[2026-08-22 21:25:33] local.INFO: Packet analysis {"connection_id":162663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2e"} 
[2026-08-22 21:25:33] local.INFO: Extracted packet for processing {"connection_id":162663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2e"} 
[2026-08-22 21:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756119104,"raw_latitude":119891360,"longitude_deg":75.6119104,"latitude_deg":11.989136,"altitude":63,"angle":286,"satellites":33,"speed":35,"hex_longitude":"2d117640","hex_latitude":"072565a0","is_valid_coordinates":true} 
[2026-08-22 21:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578004736001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15007277157187584,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261148663844014080,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:33] 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-22 21:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787414084000,"timestamp_ms":1787414084000,"timestamp_seconds":1787414084,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2e79a0"} 
[2026-08-22 21:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 21:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751527247,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4765934447398748170,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:33] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13452521,"corrected_to":0} 
[2026-08-22 21:25:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634883858261525,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1156120782,"corrected_to":0} 
[2026-08-22 21:25:33] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2147951922,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093714521862573,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:33] local.WARNING: Large IO value detected {"io_id":17,"raw_value":-2828252709747425216,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:33] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:33] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,233,83,24,241,157,16,80,160,86,45,192,78,67,36,10,66,74,69,35,55,64,1,240,247,227,42,37,4,113,205,208,239,52,21,2,53,7,65,33,17,164],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":247,"original":13452521,"validated":0},{"io_id":205,"original":1156120782,"validated":0}]} 
[2026-08-22 21:25:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612018229855453184,"timestamp_seconds":4612018229855453.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 21:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578004736001,"66":12917,"233":206,"83":41984,"24":35,"16":15007277157187584,"45":1261148663844014080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-08-22 21:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578004736001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:25:33] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-22 21:25:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15007277157187584,"km_value":15007277157187.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261148663844014080,"description":"Unknown IO ID 45"} 
[2026-08-22 21:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578004736001,"power":12917,"unknown_233":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1261148663844014080}} 
[2026-08-22 21:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":162663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:25:33] local.INFO: GPS data processed {"connection_id":162663,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:25:33] local.INFO: Acknowledgment sent {"connection_id":162663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:25:48] local.INFO: TCP Data received {"connection_id":162664,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:25:48] local.INFO: Processing buffer {"connection_id":162664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:25:48] local.INFO: IMEI packet received {"connection_id":162664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":162664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:25:50] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:25:50] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:25:50] local.INFO: IMEI packet received {"connection_id":160065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":160065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:25:51] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:25:51] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:25:51] local.INFO: IMEI packet received {"connection_id":160065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":160065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:25:52] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:25:52] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:25:52] local.INFO: IMEI packet received {"connection_id":160065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":160065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:25:54] local.INFO: TCP Data received {"connection_id":162664,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:25:54] local.INFO: Processing buffer {"connection_id":162664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:25:54] local.INFO: IMEI packet received {"connection_id":162664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":162664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:25:55] local.INFO: TCP Data received {"connection_id":162664,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:25:55] local.INFO: Processing buffer {"connection_id":162664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:25:55] local.INFO: Packet analysis {"connection_id":162664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:25:55] local.INFO: Extracted packet for processing {"connection_id":162664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:25:55] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004984,"longitude_deg":76.3071296,"latitude_deg":10.0004984,"altitude":19,"angle":27,"satellites":46,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f478","is_valid_coordinates":true} 
[2026-08-22 21:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577978112001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787413987000,"timestamp_ms":1787413987000,"timestamp_seconds":1787413987,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2cfeb8"} 
[2026-08-22 21: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-22 21:25: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-22 21: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 21:25: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-22 21: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-22 21: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-22 21:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:25:55] 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-22 21:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577978112001,"66":27865,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577978112001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:25:55] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:25:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577978112001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":162664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:25:55] local.INFO: GPS data processed {"connection_id":162664,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:25:55] local.INFO: Acknowledgment sent {"connection_id":162664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:25:56] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:25:56] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:25:56] local.INFO: IMEI packet received {"connection_id":160065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":160065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:25:57] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2ee700012d112900072555a80041011a25..."} 
[2026-08-22 21:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2ee700012d112900072555a80041011a25..."} 
[2026-08-22 21:25:57] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2ee700012d112900072555a80041011a25..."} 
[2026-08-22 21:25:57] local.INFO: Packet analysis {"connection_id":160065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2e"} 
[2026-08-22 21:25:57] local.INFO: Extracted packet for processing {"connection_id":160065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2e"} 
[2026-08-22 21:25:57] local.INFO: GPS Element Parsed {"raw_longitude":756099328,"raw_latitude":119887272,"longitude_deg":75.6099328,"latitude_deg":11.9887272,"altitude":65,"angle":282,"satellites":37,"speed":35,"hex_longitude":"2d112900","hex_latitude":"072555a8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578012160001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15008363783913472,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1238349190729621504,"note":"Value kept but may cause issues"} 
[2026-08-22 21:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787414112000,"timestamp_ms":1787414112000,"timestamp_seconds":1787414112,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2ee700"} 
[2026-08-22 21: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-22 21:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 21:25:57] 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-22 21: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-22 21: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-22 21:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578012160001,"66":13493,"21":206,"83":41984,"24":35,"16":15008363783913472,"45":1238349190729621504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,45]} 
[2026-08-22 21:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578012160001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:25:57] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-22 21:25:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15008363783913472,"km_value":15008363783913.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1238349190729621504,"description":"Unknown IO ID 45"} 
[2026-08-22 21:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578012160001,"power":13493,"unknown_21":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1238349190729621504}} 
[2026-08-22 21:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":160065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:25:57] local.INFO: GPS data processed {"connection_id":160065,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:25:57] local.INFO: Acknowledgment sent {"connection_id":160065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:26:26] local.INFO: TCP Data received {"connection_id":162664,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:26:26] local.INFO: Processing buffer {"connection_id":162664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:26:26] local.INFO: Packet analysis {"connection_id":162664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:26:26] local.INFO: Extracted packet for processing {"connection_id":162664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:26:26] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004984,"longitude_deg":76.3071296,"latitude_deg":10.0004984,"altitude":19,"angle":27,"satellites":46,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f478","is_valid_coordinates":true} 
[2026-08-22 21:26: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-22 21:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577978112001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787413987000,"timestamp_ms":1787413987000,"timestamp_seconds":1787413987,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2cfeb8"} 
[2026-08-22 21: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-22 21:26: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-22 21: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-22 21: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-22 21: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-22 21: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-22 21:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:26:26] 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-22 21:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577978112001,"66":27865,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577978112001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:26:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:26:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577978112001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":162664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:26:26] local.INFO: GPS data processed {"connection_id":162664,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:26:26] local.INFO: Acknowledgment sent {"connection_id":162664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:26:28] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2eeed0012d112380072558100041012622..."} 
[2026-08-22 21:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2eeed0012d112380072558100041012622..."} 
[2026-08-22 21:26:28] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2eeed0012d112380072558100041012622..."} 
[2026-08-22 21:26:28] local.INFO: Packet analysis {"connection_id":160065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2e"} 
[2026-08-22 21:26:28] local.INFO: Extracted packet for processing {"connection_id":160065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2e"} 
[2026-08-22 21:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756097920,"raw_latitude":119887888,"longitude_deg":75.609792,"latitude_deg":11.9887888,"altitude":65,"angle":294,"satellites":34,"speed":32,"hex_longitude":"2d112380","hex_latitude":"07255810","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578012672001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15008432503390208,"note":"Value kept but may cause issues"} 
[2026-08-22 21:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1236519603381053440,"note":"Value kept but may cause issues"} 
[2026-08-22 21:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787414114000,"timestamp_ms":1787414114000,"timestamp_seconds":1787414114,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2eeed0"} 
[2026-08-22 21: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-22 21:26: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-22 21: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 21:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578012672001,"66":13374,"21":206,"83":41984,"24":32,"16":15008432503390208,"45":1236519603381053440},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,45]} 
[2026-08-22 21:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578012672001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:26:28] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-22 21:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15008432503390208,"km_value":15008432503390.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1236519603381053440,"description":"Unknown IO ID 45"} 
[2026-08-22 21:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578012672001,"power":13374,"unknown_21":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1236519603381053440}} 
[2026-08-22 21:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":160065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:26:28] local.INFO: GPS data processed {"connection_id":160065,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:26:28] local.INFO: Acknowledgment sent {"connection_id":160065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:26:48] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:26:48] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:26:48] local.INFO: IMEI packet received {"connection_id":160066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":160066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:26:51] local.INFO: TCP Data received {"connection_id":161242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:26:51] local.INFO: Processing buffer {"connection_id":161242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:26:51] local.INFO: IMEI packet received {"connection_id":161242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":161242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:26:51] local.INFO: TCP Data received {"connection_id":161242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:26:51] local.INFO: Processing buffer {"connection_id":161242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:26:51] local.INFO: IMEI packet received {"connection_id":161242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":161242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:26:53] local.INFO: TCP Data received {"connection_id":161242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:26:53] local.INFO: Processing buffer {"connection_id":161242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:26:53] local.INFO: IMEI packet received {"connection_id":161242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":161242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:26:53] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:26:53] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:26:53] local.INFO: IMEI packet received {"connection_id":160066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":160066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:26:54] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:26:54] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:26:54] local.INFO: Packet analysis {"connection_id":160066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:26:54] local.INFO: Extracted packet for processing {"connection_id":160066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:26:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004984,"longitude_deg":76.3071296,"latitude_deg":10.0004984,"altitude":19,"angle":27,"satellites":46,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f478","is_valid_coordinates":true} 
[2026-08-22 21:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577978112001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787413987000,"timestamp_ms":1787413987000,"timestamp_seconds":1787413987,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2cfeb8"} 
[2026-08-22 21:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:26: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-22 21:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 21:26:54] 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-22 21:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:26:54] 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-22 21:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577978112001,"66":27865,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577978112001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:26:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:26:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577978112001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":160066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:26:54] local.INFO: GPS data processed {"connection_id":160066,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:26:54] local.INFO: Acknowledgment sent {"connection_id":160066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:26:57] local.INFO: TCP Data received {"connection_id":161242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:26:57] local.INFO: Processing buffer {"connection_id":161242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:26:57] local.INFO: IMEI packet received {"connection_id":161242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":161242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:26:58] local.INFO: TCP Data received {"connection_id":161242,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2f9e98012d1095c007254b48005d011522..."} 
[2026-08-22 21:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2f9e98012d1095c007254b48005d011522..."} 
[2026-08-22 21:26:58] local.INFO: Processing buffer {"connection_id":161242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2f9e98012d1095c007254b48005d011522..."} 
[2026-08-22 21:26:58] local.INFO: Packet analysis {"connection_id":161242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2f"} 
[2026-08-22 21:26:58] local.INFO: Extracted packet for processing {"connection_id":161242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2f"} 
[2026-08-22 21:26:58] local.INFO: GPS Element Parsed {"raw_longitude":756061632,"raw_latitude":119884616,"longitude_deg":75.6061632,"latitude_deg":11.9884616,"altitude":93,"angle":277,"satellites":34,"speed":42,"hex_longitude":"2d1095c0","hex_latitude":"07254b48","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578022144001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15010270749392896,"note":"Value kept but may cause issues"} 
[2026-08-22 21:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1205135143477035008,"note":"Value kept but may cause issues"} 
[2026-08-22 21:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787414159000,"timestamp_ms":1787414159000,"timestamp_seconds":1787414159,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2f9e98"} 
[2026-08-22 21: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-22 21:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-22 21:26:58] 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-22 21: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-22 21: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-22 21:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578022144001,"66":13352,"220":206,"83":42752,"24":42,"16":15010270749392896,"45":1205135143477035008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,83,24,16,45]} 
[2026-08-22 21:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578022144001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:26:58] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-22 21:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15010270749392896,"km_value":15010270749392.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1205135143477035008,"description":"Unknown IO ID 45"} 
[2026-08-22 21:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578022144001,"power":13352,"unknown_220":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1205135143477035008}} 
[2026-08-22 21:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":161242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:26:58] local.INFO: GPS data processed {"connection_id":161242,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:26:58] local.INFO: Acknowledgment sent {"connection_id":161242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:27:25] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:27:25] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:27:25] local.INFO: Packet analysis {"connection_id":160066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:27:25] local.INFO: Extracted packet for processing {"connection_id":160066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:27:25] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004984,"longitude_deg":76.3071296,"latitude_deg":10.0004984,"altitude":19,"angle":27,"satellites":46,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f478","is_valid_coordinates":true} 
[2026-08-22 21:27: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-22 21:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577978112001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787413987000,"timestamp_ms":1787413987000,"timestamp_seconds":1787413987,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2cfeb8"} 
[2026-08-22 21: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-22 21:27: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-22 21: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":119,"data_length":795,"current_offset":136} 
[2026-08-22 21:27: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-22 21: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-22 21: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-22 21:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:27: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-22 21:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577978112001,"66":27865,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577978112001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:27:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:27:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577978112001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":160066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:27:25] local.INFO: GPS data processed {"connection_id":160066,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:27:25] local.INFO: Acknowledgment sent {"connection_id":160066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:27:30] local.INFO: TCP Data received {"connection_id":161242,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a305248012d0fff4007250c80004c012721..."} 
[2026-08-22 21:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a305248012d0fff4007250c80004c012721..."} 
[2026-08-22 21:27:30] local.INFO: Processing buffer {"connection_id":161242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a305248012d0fff4007250c80004c012721..."} 
[2026-08-22 21:27:30] local.INFO: Packet analysis {"connection_id":161242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a30"} 
[2026-08-22 21:27:30] local.INFO: Extracted packet for processing {"connection_id":161242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a30"} 
[2026-08-22 21:27:30] local.INFO: GPS Element Parsed {"raw_longitude":756023104,"raw_latitude":119868544,"longitude_deg":75.6023104,"latitude_deg":11.9868544,"altitude":76,"angle":295,"satellites":33,"speed":32,"hex_longitude":"2d0fff40","hex_latitude":"07250c80","is_valid_coordinates":true} 
[2026-08-22 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-22 21:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578036224001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15012435412910080,"note":"Value kept but may cause issues"} 
[2026-08-22 21:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1153554853990684672,"note":"Value kept but may cause issues"} 
[2026-08-22 21:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787414205000,"timestamp_ms":1787414205000,"timestamp_seconds":1787414205,"priority":1,"record_length":96,"hex_timestamp":"000001a02a305248"} 
[2026-08-22 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-22 21:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-22 21:27:30] 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-22 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-22 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-22 21:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578036224001,"66":13396,"220":206,"83":42752,"24":32,"16":15012435412910080,"45":1153554853990684672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,83,24,16,45]} 
[2026-08-22 21:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578036224001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:27:30] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-22 21:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 21:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15012435412910080,"km_value":15012435412910.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1153554853990684672,"description":"Unknown IO ID 45"} 
[2026-08-22 21:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578036224001,"power":13396,"unknown_220":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1153554853990684672}} 
[2026-08-22 21:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":161242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:27:30] local.INFO: GPS data processed {"connection_id":161242,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:27:30] local.INFO: Acknowledgment sent {"connection_id":161242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:27:48] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:27:48] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:27:48] local.INFO: IMEI packet received {"connection_id":160295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":160295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:27:51] local.INFO: TCP Data received {"connection_id":161243,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:27:51] local.INFO: Processing buffer {"connection_id":161243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:27:51] local.INFO: IMEI packet received {"connection_id":161243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":161243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:27:51] local.INFO: TCP Data received {"connection_id":161243,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:27:51] local.INFO: Processing buffer {"connection_id":161243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:27:51] local.INFO: IMEI packet received {"connection_id":161243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":161243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:27:53] local.INFO: TCP Data received {"connection_id":161243,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:27:53] local.INFO: Processing buffer {"connection_id":161243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:27:53] local.INFO: IMEI packet received {"connection_id":161243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":161243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:27:53] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:27:53] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:27:53] local.INFO: IMEI packet received {"connection_id":160295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":160295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:27:54] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:27:54] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:27:54] local.INFO: Packet analysis {"connection_id":160295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:27:54] local.INFO: Extracted packet for processing {"connection_id":160295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004984,"longitude_deg":76.3071296,"latitude_deg":10.0004984,"altitude":19,"angle":27,"satellites":46,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f478","is_valid_coordinates":true} 
[2026-08-22 21:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577978112001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787413987000,"timestamp_ms":1787413987000,"timestamp_seconds":1787413987,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2cfeb8"} 
[2026-08-22 21:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:27: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-22 21:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 21:27:54] 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-22 21:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:27:54] 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-22 21:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577978112001,"66":27865,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577978112001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:27:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:27:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577978112001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":160295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:27:54] local.INFO: GPS data processed {"connection_id":160295,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:27:54] local.INFO: Acknowledgment sent {"connection_id":160295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:27:55] local.INFO: TCP Data received {"connection_id":161243,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:27:55] local.INFO: Processing buffer {"connection_id":161243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:27:55] local.INFO: IMEI packet received {"connection_id":161243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":161243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:28:25] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:28:25] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a2cfeb8012d7b8b4005f5f4780013001b2e..."} 
[2026-08-22 21:28:25] local.INFO: Packet analysis {"connection_id":160295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:28:25] local.INFO: Extracted packet for processing {"connection_id":160295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a2c"} 
[2026-08-22 21:28:25] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004984,"longitude_deg":76.3071296,"latitude_deg":10.0004984,"altitude":19,"angle":27,"satellites":46,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f478","is_valid_coordinates":true} 
[2026-08-22 21:28: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-22 21:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577978112001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787413987000,"timestamp_ms":1787413987000,"timestamp_seconds":1787413987,"priority":1,"record_length":96,"hex_timestamp":"000001a02a2cfeb8"} 
[2026-08-22 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-22 21:28: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-22 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 21:28: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-22 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-22 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-22 21:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:28: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-22 21:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577978112001,"66":27865,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577978112001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:28:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:28:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577978112001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":160295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:28:25] local.INFO: GPS data processed {"connection_id":160295,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:28:25] local.INFO: Acknowledgment sent {"connection_id":160295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:28:48] local.INFO: TCP Data received {"connection_id":161244,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:28:48] local.INFO: Processing buffer {"connection_id":161244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:28:48] local.INFO: IMEI packet received {"connection_id":161244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":161244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:28:49] local.INFO: TCP Data received {"connection_id":161244,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:28:49] local.INFO: Processing buffer {"connection_id":161244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:28:49] local.INFO: IMEI packet received {"connection_id":161244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":161244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:28:53] local.INFO: TCP Data received {"connection_id":161244,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:28:53] local.INFO: Processing buffer {"connection_id":161244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:28:53] local.INFO: IMEI packet received {"connection_id":161244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":161244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:28:54] local.INFO: TCP Data received {"connection_id":161244,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:28:54] local.INFO: Processing buffer {"connection_id":161244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:28:54] local.INFO: Packet analysis {"connection_id":161244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:28:54] local.INFO: Extracted packet for processing {"connection_id":161244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":45,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577980672001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787414291000,"timestamp_ms":1787414291000,"timestamp_seconds":1787414291,"priority":1,"record_length":96,"hex_timestamp":"000001a02a31a238"} 
[2026-08-22 21:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 21:28: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-22 21:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:28:54] 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-22 21:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577980672001,"66":26136,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577980672001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:28:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:28:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577980672001,"power":26136,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":161244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:28:54] local.INFO: GPS data processed {"connection_id":161244,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:28:54] local.INFO: Acknowledgment sent {"connection_id":161244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:29:25] local.INFO: TCP Data received {"connection_id":161244,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:29:25] local.INFO: Processing buffer {"connection_id":161244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:29:25] local.INFO: Packet analysis {"connection_id":161244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:29:25] local.INFO: Extracted packet for processing {"connection_id":161244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:29:25] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":45,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577980672001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787414291000,"timestamp_ms":1787414291000,"timestamp_seconds":1787414291,"priority":1,"record_length":96,"hex_timestamp":"000001a02a31a238"} 
[2026-08-22 21: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-22 21: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-22 21: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":217,"data_length":795,"current_offset":136} 
[2026-08-22 21:29: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-22 21: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-22 21: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-22 21:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21: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-22 21:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577980672001,"66":26136,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577980672001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:29:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:29:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577980672001,"power":26136,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":161244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:29:25] local.INFO: GPS data processed {"connection_id":161244,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:29:25] local.INFO: Acknowledgment sent {"connection_id":161244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:29:48] local.INFO: TCP Data received {"connection_id":160297,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:29:48] local.INFO: Processing buffer {"connection_id":160297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:29:48] local.INFO: IMEI packet received {"connection_id":160297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":160297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:29:53] local.INFO: TCP Data received {"connection_id":160297,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:29:53] local.INFO: Processing buffer {"connection_id":160297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:29:53] local.INFO: IMEI packet received {"connection_id":160297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":160297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:29:54] local.INFO: TCP Data received {"connection_id":160297,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:29:54] local.INFO: Processing buffer {"connection_id":160297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:29:54] local.INFO: Packet analysis {"connection_id":160297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:29:54] local.INFO: Extracted packet for processing {"connection_id":160297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":45,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577980672001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787414291000,"timestamp_ms":1787414291000,"timestamp_seconds":1787414291,"priority":1,"record_length":96,"hex_timestamp":"000001a02a31a238"} 
[2026-08-22 21: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-22 21:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21: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-22 21: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-22 21: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-22 21:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:29:54] 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-22 21:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577980672001,"66":26136,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577980672001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:29:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:29:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577980672001,"power":26136,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":160297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:29:54] local.INFO: GPS data processed {"connection_id":160297,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:29:54] local.INFO: Acknowledgment sent {"connection_id":160297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:30:24] local.INFO: TCP Data received {"connection_id":160297,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:30:24] local.INFO: Processing buffer {"connection_id":160297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:30:24] local.INFO: Packet analysis {"connection_id":160297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:30:24] local.INFO: Extracted packet for processing {"connection_id":160297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:30:24] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":45,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 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-22 21:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577980672001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787414291000,"timestamp_ms":1787414291000,"timestamp_seconds":1787414291,"priority":1,"record_length":96,"hex_timestamp":"000001a02a31a238"} 
[2026-08-22 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-22 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-22 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 21:30: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-22 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-22 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-22 21:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:30:24] 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-22 21:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577980672001,"66":26136,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577980672001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:30:24] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:30:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577980672001,"power":26136,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":160297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:30:25] local.INFO: GPS data processed {"connection_id":160297,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:30:25] local.INFO: Acknowledgment sent {"connection_id":160297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:30:53] local.INFO: TCP Data received {"connection_id":160068,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:30:53] local.INFO: Processing buffer {"connection_id":160068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:30:53] local.INFO: IMEI packet received {"connection_id":160068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":160068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:30:58] local.INFO: TCP Data received {"connection_id":160068,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:30:58] local.INFO: Processing buffer {"connection_id":160068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:30:58] local.INFO: IMEI packet received {"connection_id":160068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":160068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:30:59] local.INFO: TCP Data received {"connection_id":160068,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:30:59] local.INFO: Processing buffer {"connection_id":160068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:30:59] local.INFO: Packet analysis {"connection_id":160068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:30:59] local.INFO: Extracted packet for processing {"connection_id":160068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":45,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577980672001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787414291000,"timestamp_ms":1787414291000,"timestamp_seconds":1787414291,"priority":1,"record_length":96,"hex_timestamp":"000001a02a31a238"} 
[2026-08-22 21: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-22 21: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-22 21: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":217,"data_length":795,"current_offset":136} 
[2026-08-22 21:30: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-22 21: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-22 21: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-22 21:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21: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-22 21:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577980672001,"66":26136,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577980672001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:30:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:30:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577980672001,"power":26136,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":160068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:30:59] local.INFO: GPS data processed {"connection_id":160068,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:30:59] local.INFO: Acknowledgment sent {"connection_id":160068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:31:03] local.INFO: TCP Data received {"connection_id":160068,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:31:03] local.INFO: Processing buffer {"connection_id":160068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:31:03] local.INFO: Packet analysis {"connection_id":160068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:31:03] local.INFO: Extracted packet for processing {"connection_id":160068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":45,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577980672001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787414291000,"timestamp_ms":1787414291000,"timestamp_seconds":1787414291,"priority":1,"record_length":96,"hex_timestamp":"000001a02a31a238"} 
[2026-08-22 21: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-22 21:31: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-22 21: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 21:31: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-22 21: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-22 21: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-22 21:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:31:03] 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-22 21:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577980672001,"66":26136,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577980672001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:31:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:31:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577980672001,"power":26136,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":160068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:31:03] local.INFO: GPS data processed {"connection_id":160068,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:31:03] local.INFO: Acknowledgment sent {"connection_id":160068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:31:48] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:31:48] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:31:48] local.INFO: IMEI packet received {"connection_id":160069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":160069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:31:53] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:31:53] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:31:53] local.INFO: IMEI packet received {"connection_id":160069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":160069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:31:54] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:31:54] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:31:54] local.INFO: Packet analysis {"connection_id":160069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:31:54] local.INFO: Extracted packet for processing {"connection_id":160069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":45,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577980672001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787414291000,"timestamp_ms":1787414291000,"timestamp_seconds":1787414291,"priority":1,"record_length":96,"hex_timestamp":"000001a02a31a238"} 
[2026-08-22 21:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 21:31: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-22 21:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:31:54] 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-22 21:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577980672001,"66":26136,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577980672001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:31:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:31:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577980672001,"power":26136,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":160069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:31:54] local.INFO: GPS data processed {"connection_id":160069,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:31:54] local.INFO: Acknowledgment sent {"connection_id":160069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:32:25] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:32:25] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:32:25] local.INFO: Packet analysis {"connection_id":160069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:32:25] local.INFO: Extracted packet for processing {"connection_id":160069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:32:25] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":45,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 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-22 21:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577980672001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787414291000,"timestamp_ms":1787414291000,"timestamp_seconds":1787414291,"priority":1,"record_length":96,"hex_timestamp":"000001a02a31a238"} 
[2026-08-22 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-22 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-22 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 21:32: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-22 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-22 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-22 21:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:32: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-22 21:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577980672001,"66":26136,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577980672001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:32:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:32:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577980672001,"power":26136,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":160069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:32:25] local.INFO: GPS data processed {"connection_id":160069,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:32:25] local.INFO: Acknowledgment sent {"connection_id":160069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:32:48] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:32:48] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:32:48] local.INFO: IMEI packet received {"connection_id":160298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":160298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:32:53] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:32:53] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:32:53] local.INFO: IMEI packet received {"connection_id":160298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":160298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:32:54] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:32:54] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:32:54] local.INFO: Packet analysis {"connection_id":160298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:32:54] local.INFO: Extracted packet for processing {"connection_id":160298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:32:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":45,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577980672001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787414291000,"timestamp_ms":1787414291000,"timestamp_seconds":1787414291,"priority":1,"record_length":96,"hex_timestamp":"000001a02a31a238"} 
[2026-08-22 21: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-22 21:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 21:32: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-22 21: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-22 21: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-22 21:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:32:54] 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-22 21:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577980672001,"66":26136,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577980672001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:32:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:32:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577980672001,"power":26136,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":160298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:32:54] local.INFO: GPS data processed {"connection_id":160298,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:32:54] local.INFO: Acknowledgment sent {"connection_id":160298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:32:57] local.INFO: TCP Data received {"connection_id":161246,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:32:57] local.INFO: Processing buffer {"connection_id":161246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:32:57] local.INFO: IMEI packet received {"connection_id":161246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":161246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:32:58] local.INFO: TCP Data received {"connection_id":161246,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a320bb0012d0e7e0007255958000c010e22..."} 
[2026-08-22 21:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a320bb0012d0e7e0007255958000c010e22..."} 
[2026-08-22 21:32:58] local.INFO: Processing buffer {"connection_id":161246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a320bb0012d0e7e0007255958000c010e22..."} 
[2026-08-22 21:32:58] local.INFO: Packet analysis {"connection_id":161246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a32"} 
[2026-08-22 21:32:58] local.INFO: Extracted packet for processing {"connection_id":161246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a32"} 
[2026-08-22 21:32:58] local.INFO: GPS Element Parsed {"raw_longitude":755924480,"raw_latitude":119888216,"longitude_deg":75.592448,"latitude_deg":11.9888216,"altitude":12,"angle":270,"satellites":34,"speed":43,"hex_longitude":"2d0e7e00","hex_latitude":"07255958","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578064896001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15018237913726976,"note":"Value kept but may cause issues"} 
[2026-08-22 21:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046523994101626880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787414318000,"timestamp_ms":1787414318000,"timestamp_seconds":1787414318,"priority":1,"record_length":96,"hex_timestamp":"000001a02a320bb0"} 
[2026-08-22 21: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-22 21:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 21:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578064896001,"66":13450,"115":206,"83":41984,"24":43,"16":15018237913726976,"45":1046523994101626880},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 21:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578064896001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:32:58] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 21:32:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15018237913726976,"km_value":15018237913726.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046523994101626880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578064896001,"power":13450,"unknown_115":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1046523994101626880}} 
[2026-08-22 21:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":161246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:32:58] local.INFO: GPS data processed {"connection_id":161246,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:32:58] local.INFO: Acknowledgment sent {"connection_id":161246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:33:25] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:33:25] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a31a238012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:33:25] local.INFO: Packet analysis {"connection_id":160298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:33:25] local.INFO: Extracted packet for processing {"connection_id":160298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a31"} 
[2026-08-22 21:33:25] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":45,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457577980672001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787414291000,"timestamp_ms":1787414291000,"timestamp_seconds":1787414291,"priority":1,"record_length":96,"hex_timestamp":"000001a02a31a238"} 
[2026-08-22 21: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-22 21:33: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-22 21: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 21:33: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-22 21: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-22 21: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-22 21:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:33: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-22 21:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457577980672001,"66":26136,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457577980672001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:33:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:33:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457577980672001,"power":26136,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":160298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:33:25] local.INFO: GPS data processed {"connection_id":160298,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:33:25] local.INFO: Acknowledgment sent {"connection_id":160298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:33:29] local.INFO: TCP Data received {"connection_id":161246,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a35b148012d0dd200072551c8003a010b25..."} 
[2026-08-22 21:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a35b148012d0dd200072551c8003a010b25..."} 
[2026-08-22 21:33:29] local.INFO: Processing buffer {"connection_id":161246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a35b148012d0dd200072551c8003a010b25..."} 
[2026-08-22 21:33:29] local.INFO: Packet analysis {"connection_id":161246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a35"} 
[2026-08-22 21:33:29] local.INFO: Extracted packet for processing {"connection_id":161246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a35"} 
[2026-08-22 21:33:29] local.INFO: GPS Element Parsed {"raw_longitude":755880448,"raw_latitude":119886280,"longitude_deg":75.5880448,"latitude_deg":11.988628,"altitude":58,"angle":267,"satellites":37,"speed":0,"hex_longitude":"2d0dd200","hex_latitude":"072551c8","is_valid_coordinates":true} 
[2026-08-22 21:33:29] 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-22 21:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578126592001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15019530698883072,"note":"Value kept but may cause issues"} 
[2026-08-22 21:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995858498293188608,"note":"Value kept but may cause issues"} 
[2026-08-22 21:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787414557000,"timestamp_ms":1787414557000,"timestamp_seconds":1787414557,"priority":1,"record_length":96,"hex_timestamp":"000001a02a35b148"} 
[2026-08-22 21:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:33:29] 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-22 21:33: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21:33: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-22 21:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578126592001,"66":2166,"115":206,"83":41984,"24":0,"16":15019530698883072,"45":995858498293188608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 21:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578126592001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:33:29] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 21:33:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15019530698883072,"km_value":15019530698883.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":995858498293188608,"description":"Unknown IO ID 45"} 
[2026-08-22 21:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578126592001,"power":2166,"unknown_115":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":995858498293188608}} 
[2026-08-22 21:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":161246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:33:29] local.INFO: GPS data processed {"connection_id":161246,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:33:29] local.INFO: Acknowledgment sent {"connection_id":161246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:33:48] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:33:48] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:33:48] local.INFO: IMEI packet received {"connection_id":160070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":160070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:33:50] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:33:50] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:33:50] local.INFO: IMEI packet received {"connection_id":160070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":160070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:33:52] local.INFO: TCP Data received {"connection_id":160071,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:33:52] local.INFO: Processing buffer {"connection_id":160071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:33:52] local.INFO: IMEI packet received {"connection_id":160071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":160071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:33:53] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:33:53] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:33:53] local.INFO: IMEI packet received {"connection_id":160070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":160070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:33:54] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:33:54] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:33:54] local.INFO: Packet analysis {"connection_id":160070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:33:54] local.INFO: Extracted packet for processing {"connection_id":160070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":43,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578058496001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787414592000,"timestamp_ms":1787414592000,"timestamp_seconds":1787414592,"priority":1,"record_length":96,"hex_timestamp":"000001a02a363a00"} 
[2026-08-22 21:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 21:33:54] 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-22 21:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:33:54] 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-22 21:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578058496001,"66":26006,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578058496001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:33:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:33:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578058496001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":160070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:33:54] local.INFO: GPS data processed {"connection_id":160070,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:33:54] local.INFO: Acknowledgment sent {"connection_id":160070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:33:57] local.INFO: TCP Data received {"connection_id":160071,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:33:57] local.INFO: Processing buffer {"connection_id":160071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:33:57] local.INFO: IMEI packet received {"connection_id":160071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":160071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:33:58] local.INFO: TCP Data received {"connection_id":160071,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a35b148012d0dd200072551c8003a010b25..."} 
[2026-08-22 21:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a35b148012d0dd200072551c8003a010b25..."} 
[2026-08-22 21:33:58] local.INFO: Processing buffer {"connection_id":160071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a35b148012d0dd200072551c8003a010b25..."} 
[2026-08-22 21:33:58] local.INFO: Packet analysis {"connection_id":160071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a35"} 
[2026-08-22 21:33:58] local.INFO: Extracted packet for processing {"connection_id":160071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a35"} 
[2026-08-22 21:33:58] local.INFO: GPS Element Parsed {"raw_longitude":755880448,"raw_latitude":119886280,"longitude_deg":75.5880448,"latitude_deg":11.988628,"altitude":58,"angle":267,"satellites":37,"speed":0,"hex_longitude":"2d0dd200","hex_latitude":"072551c8","is_valid_coordinates":true} 
[2026-08-22 21:33: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-22 21:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578126592001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15019530698883072,"note":"Value kept but may cause issues"} 
[2026-08-22 21:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995858498293188608,"note":"Value kept but may cause issues"} 
[2026-08-22 21:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787414557000,"timestamp_ms":1787414557000,"timestamp_seconds":1787414557,"priority":1,"record_length":96,"hex_timestamp":"000001a02a35b148"} 
[2026-08-22 21: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-22 21: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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 21:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578126592001,"66":2166,"115":206,"83":41984,"24":0,"16":15019530698883072,"45":995858498293188608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 21:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578126592001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:33:58] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 21:33:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15019530698883072,"km_value":15019530698883.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":995858498293188608,"description":"Unknown IO ID 45"} 
[2026-08-22 21:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578126592001,"power":2166,"unknown_115":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":995858498293188608}} 
[2026-08-22 21:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":160071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:33:58] local.INFO: GPS data processed {"connection_id":160071,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:33:58] local.INFO: Acknowledgment sent {"connection_id":160071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:33:59] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:33:59] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:33:59] local.INFO: Packet analysis {"connection_id":160070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:33:59] local.INFO: Extracted packet for processing {"connection_id":160070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":43,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578058496001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787414592000,"timestamp_ms":1787414592000,"timestamp_seconds":1787414592,"priority":1,"record_length":96,"hex_timestamp":"000001a02a363a00"} 
[2026-08-22 21:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21: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-22 21:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 21:33:59] 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-22 21:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:33: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-22 21:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578058496001,"66":26006,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578058496001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:33:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:33:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578058496001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":160070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:33:59] local.INFO: GPS data processed {"connection_id":160070,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:33:59] local.INFO: Acknowledgment sent {"connection_id":160070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:34:29] local.INFO: TCP Data received {"connection_id":160071,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a36b700012d0db180072561d80038010c26..."} 
[2026-08-22 21:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a36b700012d0db180072561d80038010c26..."} 
[2026-08-22 21:34:29] local.INFO: Processing buffer {"connection_id":160071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a36b700012d0db180072561d80038010c26..."} 
[2026-08-22 21:34:29] local.INFO: Packet analysis {"connection_id":160071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:34:29] local.INFO: Extracted packet for processing {"connection_id":160071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:34:29] local.INFO: GPS Element Parsed {"raw_longitude":755872128,"raw_latitude":119890392,"longitude_deg":75.5872128,"latitude_deg":11.9890392,"altitude":56,"angle":268,"satellites":38,"speed":23,"hex_longitude":"2d0db180","hex_latitude":"072561d8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578143232001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15019801281822720,"note":"Value kept but may cause issues"} 
[2026-08-22 21:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":987977198946328576,"note":"Value kept but may cause issues"} 
[2026-08-22 21:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787414624000,"timestamp_ms":1787414624000,"timestamp_seconds":1787414624,"priority":1,"record_length":96,"hex_timestamp":"000001a02a36b700"} 
[2026-08-22 21: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-22 21:34: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-22 21: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-22 21:34:29] 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-22 21: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-22 21: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-22 21:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578143232001,"66":12526,"115":206,"83":41984,"24":23,"16":15019801281822720,"45":987977198946328576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 21:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578143232001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:34:29] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 21:34:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15019801281822720,"km_value":15019801281822.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":987977198946328576,"description":"Unknown IO ID 45"} 
[2026-08-22 21:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578143232001,"power":12526,"unknown_115":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":987977198946328576}} 
[2026-08-22 21:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":160071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:34:29] local.INFO: GPS data processed {"connection_id":160071,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:34:29] local.INFO: Acknowledgment sent {"connection_id":160071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:34:30] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:34:30] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:34:30] local.INFO: Packet analysis {"connection_id":160070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:34:30] local.INFO: Extracted packet for processing {"connection_id":160070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":43,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 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-22 21:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578058496001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787414592000,"timestamp_ms":1787414592000,"timestamp_seconds":1787414592,"priority":1,"record_length":96,"hex_timestamp":"000001a02a363a00"} 
[2026-08-22 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-22 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-22 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 21:34:30] 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-22 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-22 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-22 21:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:34: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-22 21:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578058496001,"66":26006,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578058496001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:34:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:34:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578058496001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":160070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:34:30] local.INFO: GPS data processed {"connection_id":160070,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:34:30] local.INFO: Acknowledgment sent {"connection_id":160070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:34:48] local.INFO: TCP Data received {"connection_id":162667,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:34:48] local.INFO: Processing buffer {"connection_id":162667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:34:48] local.INFO: IMEI packet received {"connection_id":162667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":162667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:34:51] local.INFO: TCP Data received {"connection_id":160072,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:34:51] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:34:51] local.INFO: IMEI packet received {"connection_id":160072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":160072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:34:53] local.INFO: TCP Data received {"connection_id":162667,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:34:53] local.INFO: Processing buffer {"connection_id":162667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:34:53] local.INFO: IMEI packet received {"connection_id":162667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":162667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:34:54] local.INFO: TCP Data received {"connection_id":162667,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:34:54] local.INFO: Processing buffer {"connection_id":162667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:34:54] local.INFO: Packet analysis {"connection_id":162667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:34:54] local.INFO: Extracted packet for processing {"connection_id":162667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":43,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578058496001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787414592000,"timestamp_ms":1787414592000,"timestamp_seconds":1787414592,"priority":1,"record_length":96,"hex_timestamp":"000001a02a363a00"} 
[2026-08-22 21:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 21:34:54] 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-22 21:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:34:54] 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-22 21:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578058496001,"66":26006,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578058496001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:34:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:34:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578058496001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":162667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:34:54] local.INFO: GPS data processed {"connection_id":162667,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:34:54] local.INFO: Acknowledgment sent {"connection_id":162667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:34:55] local.INFO: TCP Data received {"connection_id":160072,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:34:55] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:34:55] local.INFO: IMEI packet received {"connection_id":160072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":160072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:34:56] local.INFO: TCP Data received {"connection_id":160072,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:34:56] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:34:56] local.INFO: IMEI packet received {"connection_id":160072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":160072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:34:57] local.INFO: TCP Data received {"connection_id":160072,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a36bae8012d0daf0007256148003900fe26..."} 
[2026-08-22 21:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a36bae8012d0daf0007256148003900fe26..."} 
[2026-08-22 21:34:57] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a36bae8012d0daf0007256148003900fe26..."} 
[2026-08-22 21:34:57] local.INFO: Packet analysis {"connection_id":160072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:34:57] local.INFO: Extracted packet for processing {"connection_id":160072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:34:57] local.INFO: GPS Element Parsed {"raw_longitude":755871488,"raw_latitude":119890248,"longitude_deg":75.5871488,"latitude_deg":11.9890248,"altitude":57,"angle":254,"satellites":38,"speed":22,"hex_longitude":"2d0daf00","hex_latitude":"07256148","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578143744001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15019831346593792,"note":"Value kept but may cause issues"} 
[2026-08-22 21:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":986710561551144960,"note":"Value kept but may cause issues"} 
[2026-08-22 21:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787414625000,"timestamp_ms":1787414625000,"timestamp_seconds":1787414625,"priority":1,"record_length":96,"hex_timestamp":"000001a02a36bae8"} 
[2026-08-22 21: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-22 21:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 21:34:57] 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-22 21: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-22 21: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-22 21:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578143744001,"66":12689,"115":206,"83":41984,"24":22,"16":15019831346593792,"45":986710561551144960},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 21:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578143744001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:34:57] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 21:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15019831346593792,"km_value":15019831346593.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":986710561551144960,"description":"Unknown IO ID 45"} 
[2026-08-22 21:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578143744001,"power":12689,"unknown_115":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":986710561551144960}} 
[2026-08-22 21:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":160072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:34:57] local.INFO: GPS data processed {"connection_id":160072,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:34:57] local.INFO: Acknowledgment sent {"connection_id":160072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:35:25] local.INFO: TCP Data received {"connection_id":162667,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:35:25] local.INFO: Processing buffer {"connection_id":162667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:35:25] local.INFO: Packet analysis {"connection_id":162667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:35:25] local.INFO: Extracted packet for processing {"connection_id":162667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:35:25] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":43,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 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-22 21:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578058496001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787414592000,"timestamp_ms":1787414592000,"timestamp_seconds":1787414592,"priority":1,"record_length":96,"hex_timestamp":"000001a02a363a00"} 
[2026-08-22 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-22 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-22 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 21:35: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-22 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-22 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-22 21:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:35: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-22 21:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578058496001,"66":26006,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578058496001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:35:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:35:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578058496001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":162667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:35:26] local.INFO: GPS data processed {"connection_id":162667,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:35:26] local.INFO: Acknowledgment sent {"connection_id":162667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:35:29] local.INFO: TCP Data received {"connection_id":160072,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a36c2b8012d0dab0007255ed8003900e826..."} 
[2026-08-22 21:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a36c2b8012d0dab0007255ed8003900e826..."} 
[2026-08-22 21:35:29] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a36c2b8012d0dab0007255ed8003900e826..."} 
[2026-08-22 21:35:29] local.INFO: Packet analysis {"connection_id":160072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:35:29] local.INFO: Extracted packet for processing {"connection_id":160072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:35:29] local.INFO: GPS Element Parsed {"raw_longitude":755870464,"raw_latitude":119889624,"longitude_deg":75.5870464,"latitude_deg":11.9889624,"altitude":57,"angle":232,"satellites":38,"speed":23,"hex_longitude":"2d0dab00","hex_latitude":"07255ed8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578144000001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15019887181168640,"note":"Value kept but may cause issues"} 
[2026-08-22 21:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":986006874109331456,"note":"Value kept but may cause issues"} 
[2026-08-22 21:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787414627000,"timestamp_ms":1787414627000,"timestamp_seconds":1787414627,"priority":1,"record_length":96,"hex_timestamp":"000001a02a36c2b8"} 
[2026-08-22 21:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:35: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-22 21:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 21:35:29] 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-22 21:35: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-22 21:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578144000001,"66":12776,"115":206,"83":41984,"24":23,"16":15019887181168640,"45":986006874109331456},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 21:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578144000001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:35:29] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 21:35:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15019887181168640,"km_value":15019887181168.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":986006874109331456,"description":"Unknown IO ID 45"} 
[2026-08-22 21:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578144000001,"power":12776,"unknown_115":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":986006874109331456}} 
[2026-08-22 21:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":160072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:35:29] local.INFO: GPS data processed {"connection_id":160072,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:35:29] local.INFO: Acknowledgment sent {"connection_id":160072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:35:48] local.INFO: TCP Data received {"connection_id":160299,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:35:48] local.INFO: Processing buffer {"connection_id":160299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:35:48] local.INFO: IMEI packet received {"connection_id":160299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":160299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:35:51] local.INFO: TCP Data received {"connection_id":160073,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:35:51] local.INFO: Processing buffer {"connection_id":160073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:35:51] local.INFO: IMEI packet received {"connection_id":160073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":160073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:35:53] local.INFO: TCP Data received {"connection_id":160299,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:35:53] local.INFO: Processing buffer {"connection_id":160299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:35:53] local.INFO: IMEI packet received {"connection_id":160299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":160299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:35:54] local.INFO: TCP Data received {"connection_id":160299,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:35:54] local.INFO: Processing buffer {"connection_id":160299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:35:54] local.INFO: Packet analysis {"connection_id":160299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:35:54] local.INFO: Extracted packet for processing {"connection_id":160299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":43,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578058496001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787414592000,"timestamp_ms":1787414592000,"timestamp_seconds":1787414592,"priority":1,"record_length":96,"hex_timestamp":"000001a02a363a00"} 
[2026-08-22 21:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 21:35:54] 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-22 21:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:35:54] 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-22 21:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578058496001,"66":26006,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578058496001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:35:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:35:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578058496001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":160299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:35:54] local.INFO: GPS data processed {"connection_id":160299,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:35:54] local.INFO: Acknowledgment sent {"connection_id":160299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:35:57] local.INFO: TCP Data received {"connection_id":160073,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:35:57] local.INFO: Processing buffer {"connection_id":160073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:35:57] local.INFO: IMEI packet received {"connection_id":160073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":160073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:35:58] local.INFO: TCP Data received {"connection_id":160073,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a36edb0012d0d8c8007254888003600e920..."} 
[2026-08-22 21:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a36edb0012d0d8c8007254888003600e920..."} 
[2026-08-22 21:35:58] local.INFO: Processing buffer {"connection_id":160073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a36edb0012d0d8c8007254888003600e920..."} 
[2026-08-22 21:35:58] local.INFO: Packet analysis {"connection_id":160073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:35:58] local.INFO: Extracted packet for processing {"connection_id":160073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:35:58] local.INFO: GPS Element Parsed {"raw_longitude":755862656,"raw_latitude":119883912,"longitude_deg":75.5862656,"latitude_deg":11.9883912,"altitude":54,"angle":233,"satellites":32,"speed":39,"hex_longitude":"2d0d8c80","hex_latitude":"07254888","is_valid_coordinates":true} 
[2026-08-22 21:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578144512001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15020351037636608,"note":"Value kept but may cause issues"} 
[2026-08-22 21:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984880974202329088,"note":"Value kept but may cause issues"} 
[2026-08-22 21:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787414638000,"timestamp_ms":1787414638000,"timestamp_seconds":1787414638,"priority":1,"record_length":96,"hex_timestamp":"000001a02a36edb0"} 
[2026-08-22 21:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:35: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-22 21:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-22 21:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578144512001,"66":12841,"115":206,"83":41984,"24":39,"16":15020351037636608,"45":984880974202329088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 21:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578144512001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:35:58] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 21:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15020351037636608,"km_value":15020351037636.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":984880974202329088,"description":"Unknown IO ID 45"} 
[2026-08-22 21:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578144512001,"power":12841,"unknown_115":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":984880974202329088}} 
[2026-08-22 21:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":160073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:35:58] local.INFO: GPS data processed {"connection_id":160073,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:35:58] local.INFO: Acknowledgment sent {"connection_id":160073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:36:25] local.INFO: TCP Data received {"connection_id":160299,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:36:25] local.INFO: Processing buffer {"connection_id":160299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:36:25] local.INFO: Packet analysis {"connection_id":160299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:36:25] local.INFO: Extracted packet for processing {"connection_id":160299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:36:25] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":43,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 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-22 21:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578058496001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787414592000,"timestamp_ms":1787414592000,"timestamp_seconds":1787414592,"priority":1,"record_length":96,"hex_timestamp":"000001a02a363a00"} 
[2026-08-22 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-22 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-22 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 21:36: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-22 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-22 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-22 21:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:36: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-22 21:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578058496001,"66":26006,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578058496001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:36:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:36:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578058496001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":160299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:36:25] local.INFO: GPS data processed {"connection_id":160299,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:36:25] local.INFO: Acknowledgment sent {"connection_id":160299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:36:29] local.INFO: TCP Data received {"connection_id":160073,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a387c20012d0c18000724ad48001b014225..."} 
[2026-08-22 21:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a387c20012d0c18000724ad48001b014225..."} 
[2026-08-22 21:36:29] local.INFO: Processing buffer {"connection_id":160073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a387c20012d0c18000724ad48001b014225..."} 
[2026-08-22 21:36:29] local.INFO: Packet analysis {"connection_id":160073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a38"} 
[2026-08-22 21:36:29] local.INFO: Extracted packet for processing {"connection_id":160073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a38"} 
[2026-08-22 21:36:29] local.INFO: GPS Element Parsed {"raw_longitude":755767296,"raw_latitude":119844168,"longitude_deg":75.5767296,"latitude_deg":11.9844168,"altitude":27,"angle":322,"satellites":37,"speed":42,"hex_longitude":"2d0c1800","hex_latitude":"0724ad48","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578172928001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15025706861854720,"note":"Value kept but may cause issues"} 
[2026-08-22 21:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872924302203607040,"note":"Value kept but may cause issues"} 
[2026-08-22 21:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787414740000,"timestamp_ms":1787414740000,"timestamp_seconds":1787414740,"priority":1,"record_length":96,"hex_timestamp":"000001a02a387c20"} 
[2026-08-22 21: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-22 21:36: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-22 21: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-22 21:36:29] 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-22 21: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-22 21: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-22 21:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578172928001,"66":12874,"115":206,"83":41984,"24":42,"16":15025706861854720,"45":872924302203607040},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 21:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578172928001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:36:29] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 21:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15025706861854720,"km_value":15025706861854.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":872924302203607040,"description":"Unknown IO ID 45"} 
[2026-08-22 21:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578172928001,"power":12874,"unknown_115":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":872924302203607040}} 
[2026-08-22 21:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":160073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:36:29] local.INFO: GPS data processed {"connection_id":160073,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:36:29] local.INFO: Acknowledgment sent {"connection_id":160073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:36:53] local.INFO: TCP Data received {"connection_id":162668,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:36:53] local.INFO: Processing buffer {"connection_id":162668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:36:53] local.INFO: IMEI packet received {"connection_id":162668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":162668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:36:54] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:36:55] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:36:55] local.INFO: IMEI packet received {"connection_id":160074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":160074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:36:55] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:36:55] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:36:55] local.INFO: IMEI packet received {"connection_id":160074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":160074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:36:56] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:36:56] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:36:56] local.INFO: IMEI packet received {"connection_id":160074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":160074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:36:58] local.INFO: TCP Data received {"connection_id":162668,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:36:58] local.INFO: Processing buffer {"connection_id":162668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:36:58] local.INFO: IMEI packet received {"connection_id":162668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":162668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:36:59] local.INFO: TCP Data received {"connection_id":162668,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:36:59] local.INFO: Processing buffer {"connection_id":162668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:36:59] local.INFO: Packet analysis {"connection_id":162668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:36:59] local.INFO: Extracted packet for processing {"connection_id":162668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":43,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578058496001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787414592000,"timestamp_ms":1787414592000,"timestamp_seconds":1787414592,"priority":1,"record_length":96,"hex_timestamp":"000001a02a363a00"} 
[2026-08-22 21: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-22 21: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-22 21:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 21:36:59] 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-22 21: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-22 21: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-22 21:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:36: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-22 21:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578058496001,"66":26006,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578058496001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:36:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:36:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578058496001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":162668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:36:59] local.INFO: GPS data processed {"connection_id":162668,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:36:59] local.INFO: Acknowledgment sent {"connection_id":162668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:37:02] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:37:02] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:37:02] local.INFO: IMEI packet received {"connection_id":160074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":160074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:37:03] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a388bc0012d0c0e400724b978001b013425..."} 
[2026-08-22 21:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a388bc0012d0c0e400724b978001b013425..."} 
[2026-08-22 21:37:03] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a388bc0012d0c0e400724b978001b013425..."} 
[2026-08-22 21:37:03] local.INFO: Packet analysis {"connection_id":160074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a38"} 
[2026-08-22 21:37:03] local.INFO: Extracted packet for processing {"connection_id":160074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a38"} 
[2026-08-22 21:37:03] local.INFO: GPS Element Parsed {"raw_longitude":755764800,"raw_latitude":119847288,"longitude_deg":75.57648,"latitude_deg":11.9847288,"altitude":27,"angle":308,"satellites":37,"speed":37,"hex_longitude":"2d0c0e40","hex_latitude":"0724b978","is_valid_coordinates":true} 
[2026-08-22 21:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578173440001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15025900135383040,"note":"Value kept but may cause issues"} 
[2026-08-22 21:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871446558576297984,"note":"Value kept but may cause issues"} 
[2026-08-22 21:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787414744000,"timestamp_ms":1787414744000,"timestamp_seconds":1787414744,"priority":1,"record_length":96,"hex_timestamp":"000001a02a388bc0"} 
[2026-08-22 21:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:37: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-22 21:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-22 21:37:03] 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-22 21:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578173440001,"66":12819,"115":206,"83":41984,"24":37,"16":15025900135383040,"45":871446558576297984},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-22 21:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578173440001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:37:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-22 21:37:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15025900135383040,"km_value":15025900135383.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":871446558576297984,"description":"Unknown IO ID 45"} 
[2026-08-22 21:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578173440001,"power":12819,"unknown_115":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":871446558576297984}} 
[2026-08-22 21:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":160074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:37:03] local.INFO: GPS data processed {"connection_id":160074,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:37:03] local.INFO: Acknowledgment sent {"connection_id":160074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:37:03] local.INFO: TCP Data received {"connection_id":162668,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:37:03] local.INFO: Processing buffer {"connection_id":162668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:37:03] local.INFO: Packet analysis {"connection_id":162668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:37:03] local.INFO: Extracted packet for processing {"connection_id":162668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":43,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578058496001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787414592000,"timestamp_ms":1787414592000,"timestamp_seconds":1787414592,"priority":1,"record_length":96,"hex_timestamp":"000001a02a363a00"} 
[2026-08-22 21:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:37: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-22 21:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 21:37:03] 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-22 21:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:37: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-22 21:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578058496001,"66":26006,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578058496001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:37:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:37:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578058496001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":162668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:37:03] local.INFO: GPS data processed {"connection_id":162668,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:37:03] local.INFO: Acknowledgment sent {"connection_id":162668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:37:34] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a396298012d0b42800724a1e00018010b22..."} 
[2026-08-22 21:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a396298012d0b42800724a1e00018010b22..."} 
[2026-08-22 21:37:34] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a396298012d0b42800724a1e00018010b22..."} 
[2026-08-22 21:37:34] local.INFO: Packet analysis {"connection_id":160074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a39"} 
[2026-08-22 21:37:34] local.INFO: Extracted packet for processing {"connection_id":160074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a39"} 
[2026-08-22 21:37:34] local.INFO: GPS Element Parsed {"raw_longitude":755712640,"raw_latitude":119841248,"longitude_deg":75.571264,"latitude_deg":11.9841248,"altitude":24,"angle":267,"satellites":34,"speed":49,"hex_longitude":"2d0b4280","hex_latitude":"0724a1e0","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578188544001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15028532950335488,"note":"Value kept but may cause issues"} 
[2026-08-22 21:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811351651047825408,"note":"Value kept but may cause issues"} 
[2026-08-22 21:37:34] 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-22 21:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787414799000,"timestamp_ms":1787414799000,"timestamp_seconds":1787414799,"priority":1,"record_length":96,"hex_timestamp":"000001a02a396298"} 
[2026-08-22 21: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-22 21:37: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-22 21: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-22 21:37:34] 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-22 21: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-22 21: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-22 21:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578188544001,"66":13417,"117":206,"83":41984,"24":49,"16":15028532950335488,"45":811351651047825408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 21:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578188544001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:37:34] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 21:37:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15028532950335488,"km_value":15028532950335.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":811351651047825408,"description":"Unknown IO ID 45"} 
[2026-08-22 21:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578188544001,"power":13417,"unknown_117":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":811351651047825408}} 
[2026-08-22 21:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":160074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:37:35] local.INFO: GPS data processed {"connection_id":160074,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:37:35] local.INFO: Acknowledgment sent {"connection_id":160074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:37:48] local.INFO: TCP Data received {"connection_id":160300,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:37:48] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:37:48] local.INFO: IMEI packet received {"connection_id":160300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":160300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:37:52] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:37:52] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:37:52] local.INFO: IMEI packet received {"connection_id":160075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":160075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:37:53] local.INFO: TCP Data received {"connection_id":160300,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:37:53] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:37:53] local.INFO: IMEI packet received {"connection_id":160300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":160300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:37:54] local.INFO: TCP Data received {"connection_id":160300,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:37:54] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:37:54] local.INFO: Packet analysis {"connection_id":160300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:37:54] local.INFO: Extracted packet for processing {"connection_id":160300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":43,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578058496001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787414592000,"timestamp_ms":1787414592000,"timestamp_seconds":1787414592,"priority":1,"record_length":96,"hex_timestamp":"000001a02a363a00"} 
[2026-08-22 21:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 21:37:54] 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-22 21:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:37:54] 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-22 21:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578058496001,"66":26006,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578058496001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:37:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:37:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578058496001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":160300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:37:54] local.INFO: GPS data processed {"connection_id":160300,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:37:54] local.INFO: Acknowledgment sent {"connection_id":160300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:37:56] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:37:56] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:37:56] local.INFO: IMEI packet received {"connection_id":160075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":160075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:37:57] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a397df0012d0b1ec00724a1180014010d24..."} 
[2026-08-22 21:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a397df0012d0b1ec00724a1180014010d24..."} 
[2026-08-22 21:37:57] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a397df0012d0b1ec00724a1180014010d24..."} 
[2026-08-22 21:37:57] local.INFO: Packet analysis {"connection_id":160075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a39"} 
[2026-08-22 21:37:57] local.INFO: Extracted packet for processing {"connection_id":160075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a39"} 
[2026-08-22 21:37:57] local.INFO: GPS Element Parsed {"raw_longitude":755703488,"raw_latitude":119841048,"longitude_deg":75.5703488,"latitude_deg":11.9841048,"altitude":20,"angle":269,"satellites":36,"speed":51,"hex_longitude":"2d0b1ec0","hex_latitude":"0724a118","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578188544001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15028966742032384,"note":"Value kept but may cause issues"} 
[2026-08-22 21:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811351651047825408,"note":"Value kept but may cause issues"} 
[2026-08-22 21:37:57] 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-22 21:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787414806000,"timestamp_ms":1787414806000,"timestamp_seconds":1787414806,"priority":1,"record_length":96,"hex_timestamp":"000001a02a397df0"} 
[2026-08-22 21: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-22 21:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-22 21:37:57] 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-22 21: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-22 21: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-22 21:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578188544001,"66":13515,"117":206,"83":41984,"24":51,"16":15028966742032384,"45":811351651047825408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 21:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578188544001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:37:57] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 21:37:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15028966742032384,"km_value":15028966742032.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":811351651047825408,"description":"Unknown IO ID 45"} 
[2026-08-22 21:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578188544001,"power":13515,"unknown_117":206,"unknown_83":41984,"ignition":51,"odometer":null,"unknown_45":811351651047825408}} 
[2026-08-22 21:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":160075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:37:57] local.INFO: GPS data processed {"connection_id":160075,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:37:57] local.INFO: Acknowledgment sent {"connection_id":160075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:38:25] local.INFO: TCP Data received {"connection_id":160300,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:38:25] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a363a00012d7b8b4005f5f4400013001b2b..."} 
[2026-08-22 21:38:25] local.INFO: Packet analysis {"connection_id":160300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:38:25] local.INFO: Extracted packet for processing {"connection_id":160300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a36"} 
[2026-08-22 21:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":43,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 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-22 21:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578058496001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787414592000,"timestamp_ms":1787414592000,"timestamp_seconds":1787414592,"priority":1,"record_length":96,"hex_timestamp":"000001a02a363a00"} 
[2026-08-22 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-22 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-22 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-22 21:38: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-22 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-22 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-22 21:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:38: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-22 21:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578058496001,"66":26006,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578058496001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:38:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:38:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578058496001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":160300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:38:25] local.INFO: GPS data processed {"connection_id":160300,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:38:25] local.INFO: Acknowledgment sent {"connection_id":160300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:38:27] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a399d30012d0af7c00724a2c80012011124..."} 
[2026-08-22 21:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a399d30012d0af7c00724a2c80012011124..."} 
[2026-08-22 21:38:27] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a399d30012d0af7c00724a2c80012011124..."} 
[2026-08-22 21:38:27] local.INFO: Packet analysis {"connection_id":160075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a39"} 
[2026-08-22 21:38:27] local.INFO: Extracted packet for processing {"connection_id":160075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a39"} 
[2026-08-22 21:38:27] local.INFO: GPS Element Parsed {"raw_longitude":755693504,"raw_latitude":119841480,"longitude_deg":75.5693504,"latitude_deg":11.984148,"altitude":18,"angle":273,"satellites":36,"speed":45,"hex_longitude":"2d0af7c0","hex_latitude":"0724a2c8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578190336001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15029443483402240,"note":"Value kept but may cause issues"} 
[2026-08-22 21:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801288920630368256,"note":"Value kept but may cause issues"} 
[2026-08-22 21:38:27] 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-22 21:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787414814000,"timestamp_ms":1787414814000,"timestamp_seconds":1787414814,"priority":1,"record_length":96,"hex_timestamp":"000001a02a399d30"} 
[2026-08-22 21: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-22 21:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-22 21:38: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-22 21: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-22 21: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-22 21:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578190336001,"66":13504,"117":206,"83":41984,"24":45,"16":15029443483402240,"45":801288920630368256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 21:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578190336001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:38:27] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 21:38:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15029443483402240,"km_value":15029443483402.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":801288920630368256,"description":"Unknown IO ID 45"} 
[2026-08-22 21:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578190336001,"power":13504,"unknown_117":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":801288920630368256}} 
[2026-08-22 21:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":160075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:38:28] local.INFO: GPS data processed {"connection_id":160075,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:38:28] local.INFO: Acknowledgment sent {"connection_id":160075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:38:48] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:38:48] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:38:48] local.INFO: IMEI packet received {"connection_id":160076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":160076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:38:51] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:38:51] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:38:51] local.INFO: IMEI packet received {"connection_id":160076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":160076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:38:51] local.INFO: TCP Data received {"connection_id":162669,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:38:51] local.INFO: Processing buffer {"connection_id":162669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:38:51] local.INFO: IMEI packet received {"connection_id":162669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":162669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:38:52] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:38:52] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:38:52] local.INFO: Packet analysis {"connection_id":160076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:38:52] local.INFO: Extracted packet for processing {"connection_id":160076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:38:52] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578135552001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787414893000,"timestamp_ms":1787414893000,"timestamp_seconds":1787414893,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3ad1c8"} 
[2026-08-22 21: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-22 21:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 21:38:52] 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-22 21: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-22 21: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-22 21:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:38:52] 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-22 21:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578135552001,"66":25908,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578135552001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:38:52] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:38:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578135552001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":160076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:38:52] local.INFO: GPS data processed {"connection_id":160076,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:38:52] local.INFO: Acknowledgment sent {"connection_id":160076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:38:54] local.INFO: TCP Data received {"connection_id":162669,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:38:54] local.INFO: Processing buffer {"connection_id":162669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:38:54] local.INFO: IMEI packet received {"connection_id":162669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":162669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:38:54] local.INFO: TCP Data received {"connection_id":162669,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:38:54] local.INFO: Processing buffer {"connection_id":162669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:38:54] local.INFO: IMEI packet received {"connection_id":162669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":162669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:38:57] local.INFO: TCP Data received {"connection_id":162669,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:38:57] local.INFO: Processing buffer {"connection_id":162669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:38:57] local.INFO: IMEI packet received {"connection_id":162669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":162669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:38:58] local.INFO: TCP Data received {"connection_id":162669,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3aba58012d09d24007248d60001200e422..."} 
[2026-08-22 21:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3aba58012d09d24007248d60001200e422..."} 
[2026-08-22 21:38:58] local.INFO: Processing buffer {"connection_id":162669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3aba58012d09d24007248d60001200e422..."} 
[2026-08-22 21:38:58] local.INFO: Packet analysis {"connection_id":162669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:38:58] local.INFO: Extracted packet for processing {"connection_id":162669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:38:58] local.INFO: GPS Element Parsed {"raw_longitude":755618368,"raw_latitude":119836000,"longitude_deg":75.5618368,"latitude_deg":11.9836,"altitude":18,"angle":228,"satellites":34,"speed":41,"hex_longitude":"2d09d240","hex_latitude":"07248d60","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578208768001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15033446392922112,"note":"Value kept but may cause issues"} 
[2026-08-22 21:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714313152827326464,"note":"Value kept but may cause issues"} 
[2026-08-22 21:38:58] 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-22 21:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787414887000,"timestamp_ms":1787414887000,"timestamp_seconds":1787414887,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3aba58"} 
[2026-08-22 21: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-22 21:38: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-22 21: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-22 21:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578208768001,"66":13493,"117":206,"83":41984,"24":41,"16":15033446392922112,"45":714313152827326464},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 21:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578208768001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:38:58] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 21:38:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 21:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15033446392922112,"km_value":15033446392922.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":714313152827326464,"description":"Unknown IO ID 45"} 
[2026-08-22 21:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578208768001,"power":13493,"unknown_117":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":714313152827326464}} 
[2026-08-22 21:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":162669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:38:58] local.INFO: GPS data processed {"connection_id":162669,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:38:58] local.INFO: Acknowledgment sent {"connection_id":162669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:39:23] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:39:24] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:39:24] local.INFO: Packet analysis {"connection_id":160076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:39:24] local.INFO: Extracted packet for processing {"connection_id":160076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:39:24] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578135552001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787414893000,"timestamp_ms":1787414893000,"timestamp_seconds":1787414893,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3ad1c8"} 
[2026-08-22 21:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:39: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-22 21:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 21:39: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-22 21:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:39: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-22 21:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578135552001,"66":25908,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578135552001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:39:24] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:39:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578135552001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":160076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:39:24] local.INFO: GPS data processed {"connection_id":160076,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:39:24] local.INFO: Acknowledgment sent {"connection_id":160076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:39:29] local.INFO: TCP Data received {"connection_id":162669,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3b52b0012d095b4007245b60001000e724..."} 
[2026-08-22 21:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3b52b0012d095b4007245b60001000e724..."} 
[2026-08-22 21:39:29] local.INFO: Processing buffer {"connection_id":162669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3b52b0012d095b4007245b60001000e724..."} 
[2026-08-22 21:39:29] local.INFO: Packet analysis {"connection_id":162669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3b"} 
[2026-08-22 21:39:29] local.INFO: Extracted packet for processing {"connection_id":162669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3b"} 
[2026-08-22 21:39:29] local.INFO: GPS Element Parsed {"raw_longitude":755587904,"raw_latitude":119823200,"longitude_deg":75.5587904,"latitude_deg":11.98232,"altitude":16,"angle":231,"satellites":36,"speed":32,"hex_longitude":"2d095b40","hex_latitude":"07245b60","is_valid_coordinates":true} 
[2026-08-22 21:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578220544001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15035198739578880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":675328868548114432,"note":"Value kept but may cause issues"} 
[2026-08-22 21:39:29] 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-22 21:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787414926000,"timestamp_ms":1787414926000,"timestamp_seconds":1787414926,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3b52b0"} 
[2026-08-22 21:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 21:39:29] 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-22 21:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578220544001,"66":13417,"231":206,"83":44288,"24":32,"16":15035198739578880,"45":675328868548114432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-08-22 21:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578220544001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:39:29] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-22 21:39:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15035198739578880,"km_value":15035198739578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":675328868548114432,"description":"Unknown IO ID 45"} 
[2026-08-22 21:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578220544001,"power":13417,"unknown_231":206,"unknown_83":44288,"ignition":32,"odometer":null,"unknown_45":675328868548114432}} 
[2026-08-22 21:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":162669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:39:29] local.INFO: GPS data processed {"connection_id":162669,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:39:29] local.INFO: Acknowledgment sent {"connection_id":162669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:39:48] local.INFO: TCP Data received {"connection_id":162670,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:39:48] local.INFO: Processing buffer {"connection_id":162670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:39:48] local.INFO: IMEI packet received {"connection_id":162670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":162670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:39:51] local.INFO: TCP Data received {"connection_id":160301,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:39:51] local.INFO: Processing buffer {"connection_id":160301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:39:51] local.INFO: IMEI packet received {"connection_id":160301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":160301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:39:53] local.INFO: TCP Data received {"connection_id":162670,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:39:53] local.INFO: Processing buffer {"connection_id":162670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:39:53] local.INFO: IMEI packet received {"connection_id":162670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":162670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:39:54] local.INFO: TCP Data received {"connection_id":162670,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:39:54] local.INFO: Processing buffer {"connection_id":162670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:39:54] local.INFO: Packet analysis {"connection_id":162670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:39:54] local.INFO: Extracted packet for processing {"connection_id":162670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578135552001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787414893000,"timestamp_ms":1787414893000,"timestamp_seconds":1787414893,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3ad1c8"} 
[2026-08-22 21:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 21:39:54] 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-22 21:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:39:54] 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-22 21:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578135552001,"66":25908,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578135552001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:39:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:39:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578135552001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":162670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:39:54] local.INFO: GPS data processed {"connection_id":162670,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:39:54] local.INFO: Acknowledgment sent {"connection_id":162670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:39:57] local.INFO: TCP Data received {"connection_id":160301,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:39:57] local.INFO: Processing buffer {"connection_id":160301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:39:57] local.INFO: IMEI packet received {"connection_id":160301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":160301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:39:58] local.INFO: TCP Data received {"connection_id":160301,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3b5a80012d09560007245788001000f524..."} 
[2026-08-22 21:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3b5a80012d09560007245788001000f524..."} 
[2026-08-22 21:39:58] local.INFO: Processing buffer {"connection_id":160301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3b5a80012d09560007245788001000f524..."} 
[2026-08-22 21:39:58] local.INFO: Packet analysis {"connection_id":160301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3b"} 
[2026-08-22 21:39:58] local.INFO: Extracted packet for processing {"connection_id":160301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3b"} 
[2026-08-22 21:39:58] local.INFO: GPS Element Parsed {"raw_longitude":755586560,"raw_latitude":119822216,"longitude_deg":75.558656,"latitude_deg":11.9822216,"altitude":16,"angle":245,"satellites":36,"speed":35,"hex_longitude":"2d095600","hex_latitude":"07245788","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578221056001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15035280343957504,"note":"Value kept but may cause issues"} 
[2026-08-22 21:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":674202968640937984,"note":"Value kept but may cause issues"} 
[2026-08-22 21:39:58] 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-22 21:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787414928000,"timestamp_ms":1787414928000,"timestamp_seconds":1787414928,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3b5a80"} 
[2026-08-22 21: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-22 21:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-22 21:39:58] 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-22 21: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-22 21: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-22 21:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578221056001,"66":13374,"233":206,"83":44288,"24":35,"16":15035280343957504,"45":674202968640937984},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-08-22 21:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578221056001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:39:58] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-22 21:39:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15035280343957504,"km_value":15035280343957.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":674202968640937984,"description":"Unknown IO ID 45"} 
[2026-08-22 21:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578221056001,"power":13374,"unknown_233":206,"unknown_83":44288,"ignition":35,"odometer":null,"unknown_45":674202968640937984}} 
[2026-08-22 21:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":160301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:39:58] local.INFO: GPS data processed {"connection_id":160301,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:39:58] local.INFO: Acknowledgment sent {"connection_id":160301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:40:25] local.INFO: TCP Data received {"connection_id":162670,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:40:25] local.INFO: Processing buffer {"connection_id":162670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:40:25] local.INFO: Packet analysis {"connection_id":162670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:40:25] local.INFO: Extracted packet for processing {"connection_id":162670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:40:25] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578135552001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787414893000,"timestamp_ms":1787414893000,"timestamp_seconds":1787414893,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3ad1c8"} 
[2026-08-22 21: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-22 21:40: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-22 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 21:40: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-22 21: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-22 21: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-22 21:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:40: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-22 21:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578135552001,"66":25908,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578135552001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:40:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:40:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578135552001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":162670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:40:25] local.INFO: GPS data processed {"connection_id":162670,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:40:25] local.INFO: Acknowledgment sent {"connection_id":162670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:40:29] local.INFO: TCP Data received {"connection_id":160301,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3c1600012d08bd4007247cd80020012621..."} 
[2026-08-22 21:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3c1600012d08bd4007247cd80020012621..."} 
[2026-08-22 21:40:29] local.INFO: Processing buffer {"connection_id":160301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3c1600012d08bd4007247cd80020012621..."} 
[2026-08-22 21:40:29] local.INFO: Packet analysis {"connection_id":160301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3c"} 
[2026-08-22 21:40:29] local.INFO: Extracted packet for processing {"connection_id":160301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3c"} 
[2026-08-22 21:40:29] local.INFO: GPS Element Parsed {"raw_longitude":755547456,"raw_latitude":119831768,"longitude_deg":75.5547456,"latitude_deg":11.9831768,"altitude":32,"angle":294,"satellites":33,"speed":39,"hex_longitude":"2d08bd40","hex_latitude":"07247cd8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578233088001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15037402057801728,"note":"Value kept but may cause issues"} 
[2026-08-22 21:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":633037253298946048,"note":"Value kept but may cause issues"} 
[2026-08-22 21:40:29] 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-22 21:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787414976000,"timestamp_ms":1787414976000,"timestamp_seconds":1787414976,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3c1600"} 
[2026-08-22 21: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-22 21:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-22 21:40:29] 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-22 21: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-22 21: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-22 21:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578233088001,"66":13417,"128":206,"83":44288,"24":39,"16":15037402057801728,"45":633037253298946048},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-08-22 21:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578233088001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:40:29] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-22 21:40:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15037402057801728,"km_value":15037402057801.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":633037253298946048,"description":"Unknown IO ID 45"} 
[2026-08-22 21:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578233088001,"power":13417,"unknown_128":206,"unknown_83":44288,"ignition":39,"odometer":null,"unknown_45":633037253298946048}} 
[2026-08-22 21:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":160301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:40:29] local.INFO: GPS data processed {"connection_id":160301,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:40:29] local.INFO: Acknowledgment sent {"connection_id":160301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:40:53] local.INFO: TCP Data received {"connection_id":160077,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:40:53] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:40:53] local.INFO: IMEI packet received {"connection_id":160077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":160077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:40:53] local.INFO: TCP Data received {"connection_id":160078,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:40:53] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:40:53] local.INFO: IMEI packet received {"connection_id":160078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":160078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:40:58] local.INFO: TCP Data received {"connection_id":160078,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:40:58] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:40:58] local.INFO: IMEI packet received {"connection_id":160078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":160078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:40:58] local.INFO: TCP Data received {"connection_id":160077,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:40:58] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:40:58] local.INFO: IMEI packet received {"connection_id":160077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":160077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:40:58] local.INFO: TCP Data received {"connection_id":160078,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:40:58] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:40:58] local.INFO: IMEI packet received {"connection_id":160078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":160078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:41:00] local.INFO: TCP Data received {"connection_id":160077,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:41:00] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:41:00] local.INFO: Packet analysis {"connection_id":160077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:41:00] local.INFO: Extracted packet for processing {"connection_id":160077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578135552001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787414893000,"timestamp_ms":1787414893000,"timestamp_seconds":1787414893,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3ad1c8"} 
[2026-08-22 21: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-22 21:41: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-22 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 21:41:00] 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-22 21: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-22 21: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-22 21:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:41: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-22 21:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578135552001,"66":25908,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578135552001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:41:00] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:41:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578135552001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":160077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:41:00] local.INFO: GPS data processed {"connection_id":160077,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:41:00] local.INFO: Acknowledgment sent {"connection_id":160077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:41:02] local.INFO: TCP Data received {"connection_id":160078,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:41:02] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:41:02] local.INFO: IMEI packet received {"connection_id":160078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":160078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:41:03] local.INFO: TCP Data received {"connection_id":160077,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:41:03] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:41:03] local.INFO: Packet analysis {"connection_id":160077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:41:03] local.INFO: Extracted packet for processing {"connection_id":160077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578135552001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787414893000,"timestamp_ms":1787414893000,"timestamp_seconds":1787414893,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3ad1c8"} 
[2026-08-22 21:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:41: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-22 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 21:41:03] 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-22 21:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:41:03] 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-22 21:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578135552001,"66":25908,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578135552001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:41:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:41:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578135552001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":160077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:41:03] local.INFO: GPS data processed {"connection_id":160077,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:41:03] local.INFO: Acknowledgment sent {"connection_id":160077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:41:03] local.INFO: TCP Data received {"connection_id":160078,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3c25a0012d08afc007248588001f01311f..."} 
[2026-08-22 21:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3c25a0012d08afc007248588001f01311f..."} 
[2026-08-22 21:41:03] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3c25a0012d08afc007248588001f01311f..."} 
[2026-08-22 21:41:03] local.INFO: Packet analysis {"connection_id":160078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3c"} 
[2026-08-22 21:41:03] local.INFO: Extracted packet for processing {"connection_id":160078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3c"} 
[2026-08-22 21:41:03] local.INFO: GPS Element Parsed {"raw_longitude":755544000,"raw_latitude":119833992,"longitude_deg":75.5544,"latitude_deg":11.9833992,"altitude":31,"angle":305,"satellites":31,"speed":41,"hex_longitude":"2d08afc0","hex_latitude":"07248588","is_valid_coordinates":true} 
[2026-08-22 21:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578233856001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15037599626297344,"note":"Value kept but may cause issues"} 
[2026-08-22 21:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":629729922322847744,"note":"Value kept but may cause issues"} 
[2026-08-22 21:41: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-22 21:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787414980000,"timestamp_ms":1787414980000,"timestamp_seconds":1787414980,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3c25a0"} 
[2026-08-22 21:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:41: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-22 21: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-22 21:41:03] 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-22 21:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578233856001,"66":13450,"128":206,"83":44288,"24":41,"16":15037599626297344,"45":629729922322847744},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-08-22 21:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578233856001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:41:03] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-22 21:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15037599626297344,"km_value":15037599626297.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":629729922322847744,"description":"Unknown IO ID 45"} 
[2026-08-22 21:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578233856001,"power":13450,"unknown_128":206,"unknown_83":44288,"ignition":41,"odometer":null,"unknown_45":629729922322847744}} 
[2026-08-22 21:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":160078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:41:04] local.INFO: GPS data processed {"connection_id":160078,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:41:04] local.INFO: Acknowledgment sent {"connection_id":160078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:41:06] local.INFO: TCP Data received {"connection_id":160078,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3c48c8012d08900007249bf0001b012d23..."} 
[2026-08-22 21:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3c48c8012d08900007249bf0001b012d23..."} 
[2026-08-22 21:41:06] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3c48c8012d08900007249bf0001b012d23..."} 
[2026-08-22 21:41:06] local.INFO: Packet analysis {"connection_id":160078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3c"} 
[2026-08-22 21:41:06] local.INFO: Extracted packet for processing {"connection_id":160078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3c"} 
[2026-08-22 21:41:06] local.INFO: GPS Element Parsed {"raw_longitude":755535872,"raw_latitude":119839728,"longitude_deg":75.5535872,"latitude_deg":11.9839728,"altitude":27,"angle":301,"satellites":35,"speed":39,"hex_longitude":"2d089000","hex_latitude":"07249bf0","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578234880001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15038076367667200,"note":"Value kept but may cause issues"} 
[2026-08-22 21:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":625930010137823232,"note":"Value kept but may cause issues"} 
[2026-08-22 21:41:06] 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-22 21:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787414989000,"timestamp_ms":1787414989000,"timestamp_seconds":1787414989,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3c48c8"} 
[2026-08-22 21: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-22 21:41: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-22 21: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-22 21:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578234880001,"66":13515,"128":206,"83":44288,"24":39,"16":15038076367667200,"45":625930010137823232},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-08-22 21:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578234880001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:41:06] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-22 21:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15038076367667200,"km_value":15038076367667.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":625930010137823232,"description":"Unknown IO ID 45"} 
[2026-08-22 21:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578234880001,"power":13515,"unknown_128":206,"unknown_83":44288,"ignition":39,"odometer":null,"unknown_45":625930010137823232}} 
[2026-08-22 21:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":160078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:41:06] local.INFO: GPS data processed {"connection_id":160078,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:41:06] local.INFO: Acknowledgment sent {"connection_id":160078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:41:48] local.INFO: TCP Data received {"connection_id":161248,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:41:48] local.INFO: Processing buffer {"connection_id":161248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:41:48] local.INFO: IMEI packet received {"connection_id":161248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":161248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:41:48] local.INFO: TCP Data received {"connection_id":161247,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:41:48] local.INFO: Processing buffer {"connection_id":161247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:41:48] local.INFO: IMEI packet received {"connection_id":161247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":161247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:41:51] local.INFO: TCP Data received {"connection_id":161248,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:41:51] local.INFO: Processing buffer {"connection_id":161248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:41:51] local.INFO: IMEI packet received {"connection_id":161248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":161248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:41:52] local.INFO: TCP Data received {"connection_id":161248,"ip":"42.109.136.6","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 21:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161248,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 21:41:52] local.INFO: Processing buffer {"connection_id":161248,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 21:41:52] local.INFO: IMEI packet received {"connection_id":161248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":161248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:41:53] local.INFO: TCP Data received {"connection_id":161247,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:41:53] local.INFO: Processing buffer {"connection_id":161247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:41:53] local.INFO: IMEI packet received {"connection_id":161247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":161247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:41:54] local.INFO: TCP Data received {"connection_id":161247,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:41:54] local.INFO: Processing buffer {"connection_id":161247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:41:54] local.INFO: Packet analysis {"connection_id":161247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:41:54] local.INFO: Extracted packet for processing {"connection_id":161247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578135552001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787414893000,"timestamp_ms":1787414893000,"timestamp_seconds":1787414893,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3ad1c8"} 
[2026-08-22 21:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 21:41:54] 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-22 21:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:41:54] 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-22 21:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578135552001,"66":25908,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578135552001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:41:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:41:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578135552001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":161247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:41:54] local.INFO: GPS data processed {"connection_id":161247,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:41:54] local.INFO: Acknowledgment sent {"connection_id":161247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:42:25] local.INFO: TCP Data received {"connection_id":161247,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:42:25] local.INFO: Processing buffer {"connection_id":161247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:42:25] local.INFO: Packet analysis {"connection_id":161247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:42:25] local.INFO: Extracted packet for processing {"connection_id":161247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 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-22 21:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578135552001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787414893000,"timestamp_ms":1787414893000,"timestamp_seconds":1787414893,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3ad1c8"} 
[2026-08-22 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-22 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-22 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":150,"data_length":795,"current_offset":136} 
[2026-08-22 21:42: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-22 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-22 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-22 21:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21: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-22 21:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578135552001,"66":25908,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578135552001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:42:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:42:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578135552001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":161247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:42:25] local.INFO: GPS data processed {"connection_id":161247,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:42:25] local.INFO: Acknowledgment sent {"connection_id":161247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:42:48] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:42:48] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:42:48] local.INFO: IMEI packet received {"connection_id":160079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":160079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:42:53] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:42:53] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:42:53] local.INFO: IMEI packet received {"connection_id":160079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":160079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:42:54] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:42:54] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:42:54] local.INFO: Packet analysis {"connection_id":160079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:42:54] local.INFO: Extracted packet for processing {"connection_id":160079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578135552001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787414893000,"timestamp_ms":1787414893000,"timestamp_seconds":1787414893,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3ad1c8"} 
[2026-08-22 21:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 21:42:54] 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-22 21:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:42:54] 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-22 21:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578135552001,"66":25908,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578135552001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:42:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:42:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578135552001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":160079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:42:54] local.INFO: GPS data processed {"connection_id":160079,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:42:54] local.INFO: Acknowledgment sent {"connection_id":160079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:43:25] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:43:25] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3ad1c8012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:43:25] local.INFO: Packet analysis {"connection_id":160079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:43:25] local.INFO: Extracted packet for processing {"connection_id":160079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3a"} 
[2026-08-22 21:43:25] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578135552001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787414893000,"timestamp_ms":1787414893000,"timestamp_seconds":1787414893,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3ad1c8"} 
[2026-08-22 21: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-22 21:43: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-22 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 21:43: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-22 21: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-22 21: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-22 21:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:43: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-22 21:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578135552001,"66":25908,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578135552001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:43:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:43:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578135552001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":160079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:43:25] local.INFO: GPS data processed {"connection_id":160079,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:43:25] local.INFO: Acknowledgment sent {"connection_id":160079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:43:48] local.INFO: TCP Data received {"connection_id":161249,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:43:48] local.INFO: Processing buffer {"connection_id":161249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:43:48] local.INFO: IMEI packet received {"connection_id":161249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":161249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:43:52] local.INFO: TCP Data received {"connection_id":161249,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:43:52] local.INFO: Processing buffer {"connection_id":161249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:43:52] local.INFO: IMEI packet received {"connection_id":161249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":161249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:43:53] local.INFO: TCP Data received {"connection_id":161249,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:43:53] local.INFO: Processing buffer {"connection_id":161249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:43:53] local.INFO: Packet analysis {"connection_id":161249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:43:53] local.INFO: Extracted packet for processing {"connection_id":161249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:43:53] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 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-22 21:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578212608001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787415194000,"timestamp_ms":1787415194000,"timestamp_seconds":1787415194,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3f6990"} 
[2026-08-22 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-22 21:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 21:43:53] 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-22 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-22 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-22 21:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:43: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-22 21:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578212608001,"66":25941,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578212608001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:43:53] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:43:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578212608001,"power":25941,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":161249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:43:53] local.INFO: GPS data processed {"connection_id":161249,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:43:53] local.INFO: Acknowledgment sent {"connection_id":161249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:44:24] local.INFO: TCP Data received {"connection_id":161249,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:44:24] local.INFO: Processing buffer {"connection_id":161249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:44:24] local.INFO: Packet analysis {"connection_id":161249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:44:24] local.INFO: Extracted packet for processing {"connection_id":161249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:44:24] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 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-22 21:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578212608001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787415194000,"timestamp_ms":1787415194000,"timestamp_seconds":1787415194,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3f6990"} 
[2026-08-22 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-22 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-22 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":52,"data_length":795,"current_offset":136} 
[2026-08-22 21:44:24] 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-22 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-22 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-22 21:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21: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-22 21:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578212608001,"66":25941,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578212608001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:44:24] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:44:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578212608001,"power":25941,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":161249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:44:24] local.INFO: GPS data processed {"connection_id":161249,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:44:24] local.INFO: Acknowledgment sent {"connection_id":161249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:44:48] local.INFO: TCP Data received {"connection_id":162671,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:44:48] local.INFO: Processing buffer {"connection_id":162671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:44:48] local.INFO: IMEI packet received {"connection_id":162671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":162671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:44:53] local.INFO: TCP Data received {"connection_id":162671,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:44:53] local.INFO: Processing buffer {"connection_id":162671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:44:53] local.INFO: IMEI packet received {"connection_id":162671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":162671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:45:05] local.INFO: TCP Data received {"connection_id":162671,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:45:05] local.INFO: Processing buffer {"connection_id":162671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:45:05] local.INFO: Packet analysis {"connection_id":162671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:45:05] local.INFO: Extracted packet for processing {"connection_id":162671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578212608001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787415194000,"timestamp_ms":1787415194000,"timestamp_seconds":1787415194,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3f6990"} 
[2026-08-22 21:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:45: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-22 21:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 21:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:45: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-22 21:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578212608001,"66":25941,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578212608001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:45:05] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:45:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578212608001,"power":25941,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":162671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:45:05] local.INFO: GPS data processed {"connection_id":162671,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:45:05] local.INFO: Acknowledgment sent {"connection_id":162671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:45:48] local.INFO: TCP Data received {"connection_id":161250,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:45:48] local.INFO: Processing buffer {"connection_id":161250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:45:48] local.INFO: IMEI packet received {"connection_id":161250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":161250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:45:53] local.INFO: TCP Data received {"connection_id":161250,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:45:53] local.INFO: Processing buffer {"connection_id":161250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:45:53] local.INFO: IMEI packet received {"connection_id":161250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":161250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:45:54] local.INFO: TCP Data received {"connection_id":161250,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:45:54] local.INFO: Processing buffer {"connection_id":161250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:45:54] local.INFO: Packet analysis {"connection_id":161250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:45:54] local.INFO: Extracted packet for processing {"connection_id":161250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578212608001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787415194000,"timestamp_ms":1787415194000,"timestamp_seconds":1787415194,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3f6990"} 
[2026-08-22 21:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 21:45:54] 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-22 21:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:45:54] 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-22 21:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578212608001,"66":25941,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578212608001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:45:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:45:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578212608001,"power":25941,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":161250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:45:54] local.INFO: GPS data processed {"connection_id":161250,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:45:54] local.INFO: Acknowledgment sent {"connection_id":161250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:46:25] local.INFO: TCP Data received {"connection_id":161250,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:46:25] local.INFO: Processing buffer {"connection_id":161250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:46:25] local.INFO: Packet analysis {"connection_id":161250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:46:25] local.INFO: Extracted packet for processing {"connection_id":161250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:46:25] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 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-22 21:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578212608001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787415194000,"timestamp_ms":1787415194000,"timestamp_seconds":1787415194,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3f6990"} 
[2026-08-22 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-22 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-22 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":52,"data_length":795,"current_offset":136} 
[2026-08-22 21:46:25] 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-22 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-22 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-22 21:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21: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-22 21:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578212608001,"66":25941,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578212608001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:46:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:46:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578212608001,"power":25941,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":161250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:46:25] local.INFO: GPS data processed {"connection_id":161250,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:46:25] local.INFO: Acknowledgment sent {"connection_id":161250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:46:53] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:46:53] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:46:53] local.INFO: IMEI packet received {"connection_id":160304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":160304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:46:57] local.INFO: TCP Data received {"connection_id":160305,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:46:57] local.INFO: Processing buffer {"connection_id":160305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:46:57] local.INFO: IMEI packet received {"connection_id":160305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":160305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:46:58] local.INFO: TCP Data received {"connection_id":160305,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a419440012d088ec00726a5b80024003125..."} 
[2026-08-22 21:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a419440012d088ec00726a5b80024003125..."} 
[2026-08-22 21:46:58] local.INFO: Processing buffer {"connection_id":160305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a419440012d088ec00726a5b80024003125..."} 
[2026-08-22 21:46:58] local.INFO: Packet analysis {"connection_id":160305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a41"} 
[2026-08-22 21:46:58] local.INFO: Extracted packet for processing {"connection_id":160305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a41"} 
[2026-08-22 21:46:58] local.INFO: GPS Element Parsed {"raw_longitude":755535552,"raw_latitude":119973304,"longitude_deg":75.5535552,"latitude_deg":11.9973304,"altitude":36,"angle":49,"satellites":37,"speed":18,"hex_longitude":"2d088ec0","hex_latitude":"0726a5b8","is_valid_coordinates":true} 
[2026-08-22 21:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578324480001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15047482346045440,"note":"Value kept but may cause issues"} 
[2026-08-22 21:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":613122898732834816,"note":"Value kept but may cause issues"} 
[2026-08-22 21:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787415336000,"timestamp_ms":1787415336000,"timestamp_seconds":1787415336,"priority":1,"record_length":96,"hex_timestamp":"000001a02a419440"} 
[2026-08-22 21:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-22 21:46:58] 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-22 21:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578324480001,"66":13624,"237":206,"83":44288,"24":18,"16":15047482346045440,"45":613122898732834816},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578324480001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:46:58] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:46:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15047482346045440,"km_value":15047482346045.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":613122898732834816,"description":"Unknown IO ID 45"} 
[2026-08-22 21:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578324480001,"power":13624,"unknown_237":206,"unknown_83":44288,"ignition":18,"odometer":null,"unknown_45":613122898732834816}} 
[2026-08-22 21:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":160305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:46:58] local.INFO: GPS data processed {"connection_id":160305,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:46:58] local.INFO: Acknowledgment sent {"connection_id":160305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:46:58] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:46:58] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:46:58] local.INFO: IMEI packet received {"connection_id":160304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":160304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:46:59] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:46:59] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:46:59] local.INFO: Packet analysis {"connection_id":160304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:46:59] local.INFO: Extracted packet for processing {"connection_id":160304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:46:59] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578212608001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787415194000,"timestamp_ms":1787415194000,"timestamp_seconds":1787415194,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3f6990"} 
[2026-08-22 21: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-22 21:46: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-22 21: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 21:46: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-22 21: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-22 21: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-22 21:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21: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-22 21:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578212608001,"66":25941,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578212608001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:46:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:46:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578212608001,"power":25941,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":160304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:46:59] local.INFO: GPS data processed {"connection_id":160304,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:46:59] local.INFO: Acknowledgment sent {"connection_id":160304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:47:03] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:47:03] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:47:03] local.INFO: Packet analysis {"connection_id":160304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:47:03] local.INFO: Extracted packet for processing {"connection_id":160304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:47:03] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578212608001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787415194000,"timestamp_ms":1787415194000,"timestamp_seconds":1787415194,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3f6990"} 
[2026-08-22 21:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:47: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-22 21:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 21:47:03] 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-22 21:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578212608001,"66":25941,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578212608001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:47:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:47:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578212608001,"power":25941,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":160304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:47:03] local.INFO: GPS data processed {"connection_id":160304,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:47:03] local.INFO: Acknowledgment sent {"connection_id":160304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:47:28] local.INFO: TCP Data received {"connection_id":160305,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a429228012d08bf400726e5b80012002e24..."} 
[2026-08-22 21:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a429228012d08bf400726e5b80012002e24..."} 
[2026-08-22 21:47:28] local.INFO: Processing buffer {"connection_id":160305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a429228012d08bf400726e5b80012002e24..."} 
[2026-08-22 21:47:28] local.INFO: Packet analysis {"connection_id":160305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a42"} 
[2026-08-22 21:47:28] local.INFO: Extracted packet for processing {"connection_id":160305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a42"} 
[2026-08-22 21:47:28] local.INFO: GPS Element Parsed {"raw_longitude":755547968,"raw_latitude":119989688,"longitude_deg":75.5547968,"latitude_deg":11.9989688,"altitude":18,"angle":46,"satellites":36,"speed":5,"hex_longitude":"2d08bf40","hex_latitude":"0726e5b8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578340096001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15048530318065664,"note":"Value kept but may cause issues"} 
[2026-08-22 21:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":629026234921050112,"note":"Value kept but may cause issues"} 
[2026-08-22 21:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787415401000,"timestamp_ms":1787415401000,"timestamp_seconds":1787415401,"priority":1,"record_length":96,"hex_timestamp":"000001a02a429228"} 
[2026-08-22 21: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-22 21:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-22 21:47:28] 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-22 21: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-22 21: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-22 21:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578340096001,"66":13559,"237":206,"83":44288,"24":5,"16":15048530318065664,"45":629026234921050112},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578340096001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:47:28] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:47:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15048530318065664,"km_value":15048530318065.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":629026234921050112,"description":"Unknown IO ID 45"} 
[2026-08-22 21:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578340096001,"power":13559,"unknown_237":206,"unknown_83":44288,"ignition":5,"odometer":null,"unknown_45":629026234921050112}} 
[2026-08-22 21:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":160305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:47:29] local.INFO: GPS data processed {"connection_id":160305,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:47:29] local.INFO: Acknowledgment sent {"connection_id":160305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:47:48] local.INFO: TCP Data received {"connection_id":162672,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:47:48] local.INFO: Processing buffer {"connection_id":162672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:47:48] local.INFO: IMEI packet received {"connection_id":162672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":162672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:47:51] local.INFO: TCP Data received {"connection_id":160082,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:47:51] local.INFO: Processing buffer {"connection_id":160082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:47:51] local.INFO: IMEI packet received {"connection_id":160082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":160082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:47:53] local.INFO: TCP Data received {"connection_id":162672,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:47:53] local.INFO: Processing buffer {"connection_id":162672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:47:53] local.INFO: IMEI packet received {"connection_id":162672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":162672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:47:54] local.INFO: TCP Data received {"connection_id":162672,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:47:54] local.INFO: Processing buffer {"connection_id":162672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:47:54] local.INFO: Packet analysis {"connection_id":162672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:47:54] local.INFO: Extracted packet for processing {"connection_id":162672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578212608001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787415194000,"timestamp_ms":1787415194000,"timestamp_seconds":1787415194,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3f6990"} 
[2026-08-22 21:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 21:47:54] 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-22 21:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:47:54] 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-22 21:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578212608001,"66":25941,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578212608001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:47:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:47:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578212608001,"power":25941,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":162672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:47:54] local.INFO: GPS data processed {"connection_id":162672,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:47:54] local.INFO: Acknowledgment sent {"connection_id":162672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:47:57] local.INFO: TCP Data received {"connection_id":160082,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:47:57] local.INFO: Processing buffer {"connection_id":160082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:47:57] local.INFO: IMEI packet received {"connection_id":160082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":160082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:47:57] local.INFO: TCP Data received {"connection_id":160082,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a42a1c8012d08c0400726e7080012002324..."} 
[2026-08-22 21:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a42a1c8012d08c0400726e7080012002324..."} 
[2026-08-22 21:47:57] local.INFO: Processing buffer {"connection_id":160082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a42a1c8012d08c0400726e7080012002324..."} 
[2026-08-22 21:47:57] local.INFO: Packet analysis {"connection_id":160082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a42"} 
[2026-08-22 21:47:57] local.INFO: Extracted packet for processing {"connection_id":160082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a42"} 
[2026-08-22 21:47:57] local.INFO: GPS Element Parsed {"raw_longitude":755548224,"raw_latitude":119990024,"longitude_deg":75.5548224,"latitude_deg":11.9990024,"altitude":18,"angle":35,"satellites":36,"speed":2,"hex_longitude":"2d08c040","hex_latitude":"0726e708","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578342656001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15048551792902144,"note":"Value kept but may cause issues"} 
[2026-08-22 21:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":630292872316696576,"note":"Value kept but may cause issues"} 
[2026-08-22 21:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787415405000,"timestamp_ms":1787415405000,"timestamp_seconds":1787415405,"priority":1,"record_length":96,"hex_timestamp":"000001a02a42a1c8"} 
[2026-08-22 21: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-22 21:47:57] 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-22 21: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 21:47:57] 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-22 21: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-22 21: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-22 21:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578342656001,"66":13722,"237":206,"83":44288,"24":2,"16":15048551792902144,"45":630292872316696576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578342656001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:47:57] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15048551792902144,"km_value":15048551792902.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":630292872316696576,"description":"Unknown IO ID 45"} 
[2026-08-22 21:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578342656001,"power":13722,"unknown_237":206,"unknown_83":44288,"ignition":2,"odometer":null,"unknown_45":630292872316696576}} 
[2026-08-22 21:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":160082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:47:58] local.INFO: GPS data processed {"connection_id":160082,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:47:58] local.INFO: Acknowledgment sent {"connection_id":160082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:48:25] local.INFO: TCP Data received {"connection_id":162672,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:48:25] local.INFO: Processing buffer {"connection_id":162672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a3f6990012d7b8b4005f5f4400013001b2c..."} 
[2026-08-22 21:48:25] local.INFO: Packet analysis {"connection_id":162672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:48:25] local.INFO: Extracted packet for processing {"connection_id":162672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a3f"} 
[2026-08-22 21:48:25] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578212608001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787415194000,"timestamp_ms":1787415194000,"timestamp_seconds":1787415194,"priority":1,"record_length":96,"hex_timestamp":"000001a02a3f6990"} 
[2026-08-22 21: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-22 21: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-22 21: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 21:48:25] 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-22 21: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-22 21: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-22 21:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:48: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-22 21:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578212608001,"66":25941,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578212608001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:48:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:48:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578212608001,"power":25941,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":162672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:48:25] local.INFO: GPS data processed {"connection_id":162672,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:48:25] local.INFO: Acknowledgment sent {"connection_id":162672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:48:29] local.INFO: TCP Data received {"connection_id":160082,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a42b550012d08c1800726e8300012003224..."} 
[2026-08-22 21:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a42b550012d08c1800726e8300012003224..."} 
[2026-08-22 21:48:29] local.INFO: Processing buffer {"connection_id":160082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a42b550012d08c1800726e8300012003224..."} 
[2026-08-22 21:48:29] local.INFO: Packet analysis {"connection_id":160082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a42"} 
[2026-08-22 21:48:29] local.INFO: Extracted packet for processing {"connection_id":160082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a42"} 
[2026-08-22 21:48:29] local.INFO: GPS Element Parsed {"raw_longitude":755548544,"raw_latitude":119990320,"longitude_deg":75.5548544,"latitude_deg":11.999032,"altitude":18,"angle":50,"satellites":36,"speed":3,"hex_longitude":"2d08c180","hex_latitude":"0726e830","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578343680001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15048573267738624,"note":"Value kept but may cause issues"} 
[2026-08-22 21:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":630574347293493248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787415410000,"timestamp_ms":1787415410000,"timestamp_seconds":1787415410,"priority":1,"record_length":96,"hex_timestamp":"000001a02a42b550"} 
[2026-08-22 21: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-22 21:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-22 21:48:29] 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-22 21: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-22 21: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-22 21:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578343680001,"66":13787,"237":206,"83":44288,"24":3,"16":15048573267738624,"45":630574347293493248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578343680001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:48:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:48:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15048573267738624,"km_value":15048573267738.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":630574347293493248,"description":"Unknown IO ID 45"} 
[2026-08-22 21:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578343680001,"power":13787,"unknown_237":206,"unknown_83":44288,"ignition":3,"odometer":null,"unknown_45":630574347293493248}} 
[2026-08-22 21:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":160082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:48:29] local.INFO: GPS data processed {"connection_id":160082,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:48:29] local.INFO: Acknowledgment sent {"connection_id":160082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:48:48] local.INFO: TCP Data received {"connection_id":160083,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:48:48] local.INFO: Processing buffer {"connection_id":160083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:48:48] local.INFO: IMEI packet received {"connection_id":160083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":160083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:48:51] local.INFO: TCP Data received {"connection_id":162673,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:48:51] local.INFO: Processing buffer {"connection_id":162673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:48:51] local.INFO: IMEI packet received {"connection_id":162673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":162673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:48:52] local.INFO: TCP Data received {"connection_id":162673,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:48:52] local.INFO: Processing buffer {"connection_id":162673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:48:52] local.INFO: IMEI packet received {"connection_id":162673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":162673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:48:53] local.INFO: TCP Data received {"connection_id":160083,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:48:53] local.INFO: Processing buffer {"connection_id":160083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:48:53] local.INFO: IMEI packet received {"connection_id":160083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":160083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:48:54] local.INFO: TCP Data received {"connection_id":160083,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a440158012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a440158012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:48:54] local.INFO: Processing buffer {"connection_id":160083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a440158012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:48:54] local.INFO: Packet analysis {"connection_id":160083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a44"} 
[2026-08-22 21:48:54] local.INFO: Extracted packet for processing {"connection_id":160083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a44"} 
[2026-08-22 21:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":45,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578289664001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787415495000,"timestamp_ms":1787415495000,"timestamp_seconds":1787415495,"priority":1,"record_length":96,"hex_timestamp":"000001a02a440158"} 
[2026-08-22 21:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 21:48:54] 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-22 21:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:48:54] 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-22 21:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578289664001,"66":25832,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578289664001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:48:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:48:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578289664001,"power":25832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":160083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:48:54] local.INFO: GPS data processed {"connection_id":160083,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:48:54] local.INFO: Acknowledgment sent {"connection_id":160083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:48:57] local.INFO: TCP Data received {"connection_id":162673,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:48:57] local.INFO: Processing buffer {"connection_id":162673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:48:57] local.INFO: IMEI packet received {"connection_id":162673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":162673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:48:58] local.INFO: TCP Data received {"connection_id":162673,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a42ff88012d08c5c00726eb880011003d24..."} 
[2026-08-22 21:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a42ff88012d08c5c00726eb880011003d24..."} 
[2026-08-22 21:48:58] local.INFO: Processing buffer {"connection_id":162673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a42ff88012d08c5c00726eb880011003d24..."} 
[2026-08-22 21:48:58] local.INFO: Packet analysis {"connection_id":162673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a42"} 
[2026-08-22 21:48:58] local.INFO: Extracted packet for processing {"connection_id":162673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a42"} 
[2026-08-22 21:48:58] local.INFO: GPS Element Parsed {"raw_longitude":755549632,"raw_latitude":119991176,"longitude_deg":75.5549632,"latitude_deg":11.9991176,"altitude":17,"angle":61,"satellites":36,"speed":5,"hex_longitude":"2d08c5c0","hex_latitude":"0726eb88","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578344960001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15048646282182656,"note":"Value kept but may cause issues"} 
[2026-08-22 21:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":630926191014457344,"note":"Value kept but may cause issues"} 
[2026-08-22 21:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787415429000,"timestamp_ms":1787415429000,"timestamp_seconds":1787415429,"priority":1,"record_length":96,"hex_timestamp":"000001a02a42ff88"} 
[2026-08-22 21: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-22 21:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-22 21:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578344960001,"66":12939,"237":206,"83":44288,"24":5,"16":15048646282182656,"45":630926191014457344},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578344960001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:48:58] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:48:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15048646282182656,"km_value":15048646282182.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":630926191014457344,"description":"Unknown IO ID 45"} 
[2026-08-22 21:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578344960001,"power":12939,"unknown_237":206,"unknown_83":44288,"ignition":5,"odometer":null,"unknown_45":630926191014457344}} 
[2026-08-22 21:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":162673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:48:58] local.INFO: GPS data processed {"connection_id":162673,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:48:58] local.INFO: Acknowledgment sent {"connection_id":162673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:49:26] local.INFO: TCP Data received {"connection_id":160083,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a440158012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a440158012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:49:26] local.INFO: Processing buffer {"connection_id":160083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a440158012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:49:26] local.INFO: Packet analysis {"connection_id":160083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a44"} 
[2026-08-22 21:49:26] local.INFO: Extracted packet for processing {"connection_id":160083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a44"} 
[2026-08-22 21:49:26] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":45,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578289664001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787415495000,"timestamp_ms":1787415495000,"timestamp_seconds":1787415495,"priority":1,"record_length":96,"hex_timestamp":"000001a02a440158"} 
[2026-08-22 21:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:49: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-22 21:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 21:49:26] 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-22 21:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:49: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-22 21:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578289664001,"66":25832,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578289664001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:49:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:49:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578289664001,"power":25832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":160083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:49:26] local.INFO: GPS data processed {"connection_id":160083,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:49:26] local.INFO: Acknowledgment sent {"connection_id":160083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:49:29] local.INFO: TCP Data received {"connection_id":162673,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a435190012d08d2400726f2380011004124..."} 
[2026-08-22 21:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a435190012d08d2400726f2380011004124..."} 
[2026-08-22 21:49:29] local.INFO: Processing buffer {"connection_id":162673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a435190012d08d2400726f2380011004124..."} 
[2026-08-22 21:49:29] local.INFO: Packet analysis {"connection_id":162673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a43"} 
[2026-08-22 21:49:29] local.INFO: Extracted packet for processing {"connection_id":162673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a43"} 
[2026-08-22 21:49:29] local.INFO: GPS Element Parsed {"raw_longitude":755552832,"raw_latitude":119992888,"longitude_deg":75.5552832,"latitude_deg":11.9992888,"altitude":17,"angle":65,"satellites":36,"speed":10,"hex_longitude":"2d08d240","hex_latitude":"0726f238","is_valid_coordinates":true} 
[2026-08-22 21:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578349824001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15048818080874496,"note":"Value kept but may cause issues"} 
[2026-08-22 21:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":632122459665696768,"note":"Value kept but may cause issues"} 
[2026-08-22 21:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787415450000,"timestamp_ms":1787415450000,"timestamp_seconds":1787415450,"priority":1,"record_length":96,"hex_timestamp":"000001a02a435190"} 
[2026-08-22 21:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 21:49:29] 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-22 21:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578349824001,"66":13722,"237":206,"83":44288,"24":10,"16":15048818080874496,"45":632122459665696768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578349824001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:49:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15048818080874496,"km_value":15048818080874.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":632122459665696768,"description":"Unknown IO ID 45"} 
[2026-08-22 21:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578349824001,"power":13722,"unknown_237":206,"unknown_83":44288,"ignition":10,"odometer":null,"unknown_45":632122459665696768}} 
[2026-08-22 21:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":162673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:49:29] local.INFO: GPS data processed {"connection_id":162673,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:49:29] local.INFO: Acknowledgment sent {"connection_id":162673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:49:48] local.INFO: TCP Data received {"connection_id":162674,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:49:48] local.INFO: Processing buffer {"connection_id":162674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:49:48] local.INFO: IMEI packet received {"connection_id":162674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":162674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:49:53] local.INFO: TCP Data received {"connection_id":162674,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:49:53] local.INFO: Processing buffer {"connection_id":162674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:49:53] local.INFO: IMEI packet received {"connection_id":162674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":162674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:49:54] local.INFO: TCP Data received {"connection_id":162674,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02a440158012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a440158012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:49:54] local.INFO: Processing buffer {"connection_id":162674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a440158012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:49:54] local.INFO: Packet analysis {"connection_id":162674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a44"} 
[2026-08-22 21:49:54] local.INFO: Extracted packet for processing {"connection_id":162674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a44"} 
[2026-08-22 21:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":45,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578289664001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787415495000,"timestamp_ms":1787415495000,"timestamp_seconds":1787415495,"priority":1,"record_length":96,"hex_timestamp":"000001a02a440158"} 
[2026-08-22 21: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-22 21:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 21:49:54] 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-22 21: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-22 21: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-22 21:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:49:54] 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-22 21:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578289664001,"66":25832,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578289664001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:49:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:49:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578289664001,"power":25832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":162674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:49:54] local.INFO: GPS data processed {"connection_id":162674,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:49:54] local.INFO: Acknowledgment sent {"connection_id":162674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:49:56] local.INFO: TCP Data received {"connection_id":162675,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:49:56] local.INFO: Processing buffer {"connection_id":162675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:49:56] local.INFO: IMEI packet received {"connection_id":162675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":162675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:49:56] local.INFO: TCP Data received {"connection_id":162675,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:49:56] local.INFO: Processing buffer {"connection_id":162675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:49:56] local.INFO: IMEI packet received {"connection_id":162675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":162675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:50:01] local.INFO: TCP Data received {"connection_id":162675,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:50:01] local.INFO: Processing buffer {"connection_id":162675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:50:01] local.INFO: IMEI packet received {"connection_id":162675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":162675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:50:02] local.INFO: TCP Data received {"connection_id":162675,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a43a398012d08df000726f9380012004725..."} 
[2026-08-22 21:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a43a398012d08df000726f9380012004725..."} 
[2026-08-22 21:50:02] local.INFO: Processing buffer {"connection_id":162675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a43a398012d08df000726f9380012004725..."} 
[2026-08-22 21:50:02] local.INFO: Packet analysis {"connection_id":162675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a43"} 
[2026-08-22 21:50:02] local.INFO: Extracted packet for processing {"connection_id":162675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a43"} 
[2026-08-22 21:50:02] local.INFO: GPS Element Parsed {"raw_longitude":755556096,"raw_latitude":119994680,"longitude_deg":75.5556096,"latitude_deg":11.999468,"altitude":18,"angle":71,"satellites":37,"speed":0,"hex_longitude":"2d08df00","hex_latitude":"0726f938","is_valid_coordinates":true} 
[2026-08-22 21:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578355200001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15048998469500928,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":635640896875018240,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787415471000,"timestamp_ms":1787415471000,"timestamp_seconds":1787415471,"priority":1,"record_length":96,"hex_timestamp":"000001a02a43a398"} 
[2026-08-22 21:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-22 21:50:02] 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-22 21:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578355200001,"66":13580,"237":206,"83":44288,"24":0,"16":15048998469500928,"45":635640896875018240},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578355200001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:50:02] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:50:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15048998469500928,"km_value":15048998469500.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":635640896875018240,"description":"Unknown IO ID 45"} 
[2026-08-22 21:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578355200001,"power":13580,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":635640896875018240}} 
[2026-08-22 21:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":162675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:50:02] local.INFO: GPS data processed {"connection_id":162675,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:50:02] local.INFO: Acknowledgment sent {"connection_id":162675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:50:02] local.INFO: TCP Data received {"connection_id":162675,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a43f5a0012d08edc00726fe700014003e24..."} 
[2026-08-22 21:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a43f5a0012d08edc00726fe700014003e24..."} 
[2026-08-22 21:50:02] local.INFO: Processing buffer {"connection_id":162675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a43f5a0012d08edc00726fe700014003e24..."} 
[2026-08-22 21:50:02] local.INFO: Packet analysis {"connection_id":162675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a43"} 
[2026-08-22 21:50:02] local.INFO: Extracted packet for processing {"connection_id":162675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a43"} 
[2026-08-22 21:50:02] local.INFO: GPS Element Parsed {"raw_longitude":755559872,"raw_latitude":119996016,"longitude_deg":75.5559872,"latitude_deg":11.9996016,"altitude":20,"angle":62,"satellites":36,"speed":8,"hex_longitude":"2d08edc0","hex_latitude":"0726fe70","is_valid_coordinates":true} 
[2026-08-22 21:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578360576001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049191743029248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":639229702828537856,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787415492000,"timestamp_ms":1787415492000,"timestamp_seconds":1787415492,"priority":1,"record_length":96,"hex_timestamp":"000001a02a43f5a0"} 
[2026-08-22 21:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 21:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751527286,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3876061202,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636704924389869,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1374486734,"corrected_to":0} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024913,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-288004624399413677,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":8,"raw_value":-5152110110217601006,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.WARNING: Large IO value detected {"io_id":173,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:02] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,237,83,24,241,157,16,118,160,81,45,64,242,17,36,10,66,255,192,235,181,128,1,240,219,227,42,38,4,113,205,2,146,191,184,239,52,53,7,18,11,8,173],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1374486734,"validated":0}]} 
[2026-08-22 21:50:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297114916922064896,"timestamp_seconds":1297114916922065.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 21:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578360576001,"66":13722,"237":206,"83":44288,"24":8,"16":15049191743029248,"45":639229702828537856},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578360576001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:50:02] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:50:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049191743029248,"km_value":15049191743029.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":639229702828537856,"description":"Unknown IO ID 45"} 
[2026-08-22 21:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578360576001,"power":13722,"unknown_237":206,"unknown_83":44288,"ignition":8,"odometer":null,"unknown_45":639229702828537856}} 
[2026-08-22 21:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":162675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:50:02] local.INFO: GPS data processed {"connection_id":162675,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:50:02] local.INFO: Acknowledgment sent {"connection_id":162675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:50:25] local.INFO: TCP Data received {"connection_id":162674,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02a454d60012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a454d60012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:50:25] local.INFO: Processing buffer {"connection_id":162674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a454d60012d7b8b4005f5f4400013001b2d..."} 
[2026-08-22 21:50:25] local.INFO: Packet analysis {"connection_id":162674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a45"} 
[2026-08-22 21:50:25] local.INFO: Extracted packet for processing {"connection_id":162674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a45"} 
[2026-08-22 21:50:25] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004928,"longitude_deg":76.3071296,"latitude_deg":10.0004928,"altitude":19,"angle":27,"satellites":45,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f440","is_valid_coordinates":true} 
[2026-08-22 21:50: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-22 21:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578366720001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787415580000,"timestamp_ms":1787415580000,"timestamp_seconds":1787415580,"priority":1,"record_length":96,"hex_timestamp":"000001a02a454d60"} 
[2026-08-22 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-22 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-22 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":232,"data_length":795,"current_offset":136} 
[2026-08-22 21:50:25] 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-22 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-22 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-22 21:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:50: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-22 21:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578366720001,"66":25778,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578366720001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:50:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:50:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578366720001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":162674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:50:25] local.INFO: GPS data processed {"connection_id":162674,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:50:25] local.INFO: Acknowledgment sent {"connection_id":162674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:50:34] local.INFO: TCP Data received {"connection_id":162675,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a455148012d08f180072700f8001600f621..."} 
[2026-08-22 21:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a455148012d08f180072700f8001600f621..."} 
[2026-08-22 21:50:34] local.INFO: Processing buffer {"connection_id":162675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a455148012d08f180072700f8001600f621..."} 
[2026-08-22 21:50:34] local.INFO: Packet analysis {"connection_id":162675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a45"} 
[2026-08-22 21:50:34] local.INFO: Extracted packet for processing {"connection_id":162675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a45"} 
[2026-08-22 21:50:34] local.INFO: GPS Element Parsed {"raw_longitude":755560832,"raw_latitude":119996664,"longitude_deg":75.5560832,"latitude_deg":11.9996664,"altitude":22,"angle":246,"satellites":33,"speed":1,"hex_longitude":"2d08f180","hex_latitude":"072700f8","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578387200001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049299117211648,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644577727386540032,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787415581000,"timestamp_ms":1787415581000,"timestamp_seconds":1787415581,"priority":1,"record_length":96,"hex_timestamp":"000001a02a455148"} 
[2026-08-22 21:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:50:34] 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-22 21:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-22 21:50:34] 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-22 21:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578387200001,"66":12809,"237":206,"83":44288,"24":1,"16":15049299117211648,"45":644577727386540032},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578387200001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:50:34] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049299117211648,"km_value":15049299117211.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":644577727386540032,"description":"Unknown IO ID 45"} 
[2026-08-22 21:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578387200001,"power":12809,"unknown_237":206,"unknown_83":44288,"ignition":1,"odometer":null,"unknown_45":644577727386540032}} 
[2026-08-22 21:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":162675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:50:34] local.INFO: GPS data processed {"connection_id":162675,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:50:34] local.INFO: Acknowledgment sent {"connection_id":162675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:50:48] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:50:48] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:50:48] local.INFO: IMEI packet received {"connection_id":160084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":160084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:50:52] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:50:52] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:50:52] local.INFO: IMEI packet received {"connection_id":160084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":160084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:50:53] local.INFO: TCP Data received {"connection_id":162676,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:50:53] local.INFO: Processing buffer {"connection_id":162676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:50:53] local.INFO: IMEI packet received {"connection_id":162676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":162676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:50:57] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:50:57] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:50:57] local.INFO: IMEI packet received {"connection_id":160084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":160084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:50:57] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4564d0012d08f080072700780016010621..."} 
[2026-08-22 21:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4564d0012d08f080072700780016010621..."} 
[2026-08-22 21:50:57] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4564d0012d08f080072700780016010621..."} 
[2026-08-22 21:50:57] local.INFO: Packet analysis {"connection_id":160084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a45"} 
[2026-08-22 21:50:57] local.INFO: Extracted packet for processing {"connection_id":160084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a45"} 
[2026-08-22 21:50:57] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996536,"longitude_deg":75.5560576,"latitude_deg":11.9996536,"altitude":22,"angle":262,"satellites":33,"speed":1,"hex_longitude":"2d08f080","hex_latitude":"07270078","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578388736001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049312002113536,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644436989898192896,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787415586000,"timestamp_ms":1787415586000,"timestamp_seconds":1787415586,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4564d0"} 
[2026-08-22 21: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-22 21:50:57] 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-22 21: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-22 21:50:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":2147952384,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:57] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13455853,"corrected_to":0} 
[2026-08-22 21:50:57] local.WARNING: Large IO value detected {"io_id":42,"raw_value":4947573631623950592,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1374486734,"corrected_to":0} 
[2026-08-22 21:50:57] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-3746769138219954605,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:57] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2810210983459436578,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:57] local.WARNING: Large IO value detected {"io_id":173,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,237,83,24,241,157,16,119,160,57,45,22,33,10,66,18,128,192,1,240,204,227,42,39,4,113,205,2,181,40,239,50,53,7,21,173,54],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":204,"original":13455853,"validated":0},{"io_id":205,"original":1374486734,"validated":0}]} 
[2026-08-22 21:50:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585537690428833792,"timestamp_seconds":1585537690428833.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 21: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-22 21:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578388736001,"66":12852,"237":206,"83":44288,"24":1,"16":15049312002113536,"45":644436989898192896},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578388736001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:50:57] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:50:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049312002113536,"km_value":15049312002113.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":644436989898192896,"description":"Unknown IO ID 45"} 
[2026-08-22 21:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578388736001,"power":12852,"unknown_237":206,"unknown_83":44288,"ignition":1,"odometer":null,"unknown_45":644436989898192896}} 
[2026-08-22 21:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":160084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:50:58] local.INFO: GPS data processed {"connection_id":160084,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:50:58] local.INFO: Acknowledgment sent {"connection_id":160084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:50:58] local.INFO: TCP Data received {"connection_id":162676,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:50:58] local.INFO: Processing buffer {"connection_id":162676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:50:58] local.INFO: IMEI packet received {"connection_id":162676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":162676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:50:59] local.INFO: TCP Data received {"connection_id":162676,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02a45b2f0012d7b8b4005f5f4780013001b2c..."} 
[2026-08-22 21:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a45b2f0012d7b8b4005f5f4780013001b2c..."} 
[2026-08-22 21:50:59] local.INFO: Processing buffer {"connection_id":162676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a45b2f0012d7b8b4005f5f4780013001b2c..."} 
[2026-08-22 21:50:59] local.INFO: Packet analysis {"connection_id":162676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a45"} 
[2026-08-22 21:50:59] local.INFO: Extracted packet for processing {"connection_id":162676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a45"} 
[2026-08-22 21:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004984,"longitude_deg":76.3071296,"latitude_deg":10.0004984,"altitude":19,"angle":27,"satellites":44,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f478","is_valid_coordinates":true} 
[2026-08-22 21:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578388480001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773356544,"note":"Value kept but may cause issues"} 
[2026-08-22 21:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787415606000,"timestamp_ms":1787415606000,"timestamp_seconds":1787415606,"priority":1,"record_length":96,"hex_timestamp":"000001a02a45b2f0"} 
[2026-08-22 21:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:50: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-22 21:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 21:50: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-22 21:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:50: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-22 21:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578388480001,"66":27397,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773356544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578388480001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:50:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:50:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773356544,"description":"Unknown IO ID 45"} 
[2026-08-22 21:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578388480001,"power":27397,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773356544}} 
[2026-08-22 21:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":162676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:50:59] local.INFO: GPS data processed {"connection_id":162676,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:50:59] local.INFO: Acknowledgment sent {"connection_id":162676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:51:02] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a457088012d08f08007270048001600f221..."} 
[2026-08-22 21:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a457088012d08f08007270048001600f221..."} 
[2026-08-22 21:51:02] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a457088012d08f08007270048001600f221..."} 
[2026-08-22 21:51:02] local.INFO: Packet analysis {"connection_id":160084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a45"} 
[2026-08-22 21:51:02] local.INFO: Extracted packet for processing {"connection_id":160084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a45"} 
[2026-08-22 21:51:02] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":33,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578390016001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921449472,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787415589000,"timestamp_ms":1787415589000,"timestamp_seconds":1787415589,"priority":1,"record_length":96,"hex_timestamp":"000001a02a457088"} 
[2026-08-22 21: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-22 21:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 21:51:02] 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-22 21: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-22 21: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-22 21:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578390016001,"66":12885,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921449472},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578390016001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:51:02] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:51:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921449472,"description":"Unknown IO ID 45"} 
[2026-08-22 21:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578390016001,"power":12885,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921449472}} 
[2026-08-22 21:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":160084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:51:02] local.INFO: GPS data processed {"connection_id":160084,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:51:02] local.INFO: Acknowledgment sent {"connection_id":160084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:51:30] local.INFO: TCP Data received {"connection_id":162676,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4604f8012d7b8b4005f5f4780013001b2d..."} 
[2026-08-22 21:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4604f8012d7b8b4005f5f4780013001b2d..."} 
[2026-08-22 21:51:30] local.INFO: Processing buffer {"connection_id":162676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4604f8012d7b8b4005f5f4780013001b2d..."} 
[2026-08-22 21:51:30] local.INFO: Packet analysis {"connection_id":162676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:51:30] local.INFO: Extracted packet for processing {"connection_id":162676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004984,"longitude_deg":76.3071296,"latitude_deg":10.0004984,"altitude":19,"angle":27,"satellites":45,"speed":0,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f478","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578395136001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178424188469248,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787415627000,"timestamp_ms":1787415627000,"timestamp_seconds":1787415627,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4604f8"} 
[2026-08-22 21: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-22 21:51: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-22 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 21:51: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-22 21: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-22 21: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-22 21:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:51: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-22 21:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578395136001,"66":27995,"160":206,"87":12800,"24":0,"16":389178424188469248,"45":8902279482773370880},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578395136001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:51:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:51:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178424188469248,"km_value":389178424188469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578395136001,"power":27995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":162676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:51:30] local.INFO: GPS data processed {"connection_id":162676,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:51:30] local.INFO: Acknowledgment sent {"connection_id":162676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:51:33] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a45c290012d08f08007270048001600f21f..."} 
[2026-08-22 21:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a45c290012d08f08007270048001600f21f..."} 
[2026-08-22 21:51:33] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a45c290012d08f08007270048001600f21f..."} 
[2026-08-22 21:51:33] local.INFO: Packet analysis {"connection_id":160084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a45"} 
[2026-08-22 21:51:33] local.INFO: Extracted packet for processing {"connection_id":160084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a45"} 
[2026-08-22 21:51:33] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":31,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21:51: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-22 21:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578390784001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787415610000,"timestamp_ms":1787415610000,"timestamp_seconds":1787415610,"priority":1,"record_length":96,"hex_timestamp":"000001a02a45c290"} 
[2026-08-22 21:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21:51: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":85,"data_length":795,"current_offset":136} 
[2026-08-22 21:51:33] 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-22 21:51: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-22 21:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578390784001,"66":12809,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578390784001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:51:33] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:51:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578390784001,"power":12809,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":160084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:51:33] local.INFO: GPS data processed {"connection_id":160084,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:51:33] local.INFO: Acknowledgment sent {"connection_id":160084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:51:48] local.INFO: TCP Data received {"connection_id":161251,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:51:48] local.INFO: Processing buffer {"connection_id":161251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:51:48] local.INFO: IMEI packet received {"connection_id":161251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":161251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:51:51] local.INFO: TCP Data received {"connection_id":161252,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:51:51] local.INFO: Processing buffer {"connection_id":161252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:51:51] local.INFO: IMEI packet received {"connection_id":161252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":161252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:51:51] local.INFO: TCP Data received {"connection_id":161252,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:51:51] local.INFO: Processing buffer {"connection_id":161252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:51:51] local.INFO: IMEI packet received {"connection_id":161252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":161252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:51:53] local.INFO: TCP Data received {"connection_id":161251,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:51:53] local.INFO: Processing buffer {"connection_id":161251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:51:53] local.INFO: IMEI packet received {"connection_id":161251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":161251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:51:54] local.INFO: TCP Data received {"connection_id":161251,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02a461c68012d7b8b0005f5f2f8001000ef2d..."} 
[2026-08-22 21:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a461c68012d7b8b0005f5f2f8001000ef2d..."} 
[2026-08-22 21:51:54] local.INFO: Processing buffer {"connection_id":161251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a461c68012d7b8b0005f5f2f8001000ef2d..."} 
[2026-08-22 21:51:54] local.INFO: Packet analysis {"connection_id":161251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:51:54] local.INFO: Extracted packet for processing {"connection_id":161251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:51:54] local.INFO: GPS Element Parsed {"raw_longitude":763071232,"raw_latitude":100004600,"longitude_deg":76.3071232,"latitude_deg":10.00046,"altitude":16,"angle":239,"satellites":45,"speed":1,"hex_longitude":"2d7b8b00","hex_latitude":"05f5f2f8","is_valid_coordinates":true} 
[2026-08-22 21:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578400512001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178445663305728,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773370880,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787415633000,"timestamp_ms":1787415633000,"timestamp_seconds":1787415633,"priority":1,"record_length":96,"hex_timestamp":"000001a02a461c68"} 
[2026-08-22 21:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21: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-22 21:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-22 21:51:54] 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-22 21:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:51:54] 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-22 21:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578400512001,"66":27713,"160":206,"87":12800,"24":1,"16":389178445663305728,"45":8902279482773370880},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578400512001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:51:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:51:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178445663305728,"km_value":389178445663305.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773370880,"description":"Unknown IO ID 45"} 
[2026-08-22 21:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578400512001,"power":27713,"unknown_160":206,"unknown_87":12800,"ignition":1,"odometer":null,"unknown_45":8902279482773370880}} 
[2026-08-22 21:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":161251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:51:54] local.INFO: GPS data processed {"connection_id":161251,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:51:54] local.INFO: Acknowledgment sent {"connection_id":161251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:51:57] local.INFO: TCP Data received {"connection_id":161252,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:51:57] local.INFO: Processing buffer {"connection_id":161252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:51:57] local.INFO: IMEI packet received {"connection_id":161252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":161252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:51:57] local.INFO: TCP Data received {"connection_id":161252,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a461498012d08f08007270048001600f21e..."} 
[2026-08-22 21:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a461498012d08f08007270048001600f21e..."} 
[2026-08-22 21:51:57] local.INFO: Processing buffer {"connection_id":161252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a461498012d08f08007270048001600f21e..."} 
[2026-08-22 21:51:57] local.INFO: Packet analysis {"connection_id":161252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:51:57] local.INFO: Extracted packet for processing {"connection_id":161252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:51:57] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":30,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578396160001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787415631000,"timestamp_ms":1787415631000,"timestamp_seconds":1787415631,"priority":1,"record_length":96,"hex_timestamp":"000001a02a461498"} 
[2026-08-22 21: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-22 21:51:57] 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-22 21: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-22 21:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144115188243629056,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":2147952384,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:57] local.WARNING: Large IO value detected {"io_id":42,"raw_value":4969563864179470976,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1374486734,"corrected_to":0} 
[2026-08-22 21:51:57] local.WARNING: Large IO value detected {"io_id":18,"raw_value":3355520264,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:57] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-3746769138219954605,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:57] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2810430885801770017,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:57] local.WARNING: Large IO value detected {"io_id":173,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-08-22 21:51:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,237,83,24,241,157,16,119,160,112,45,128,22,33,10,66,100,81,1,240,9,227,42,39,4,113,205,3,18,48,239,50,2,53,7,173,59],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1374486734,"validated":0}]} 
[2026-08-22 21:51:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585533283792322560,"timestamp_seconds":1585533283792322.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 21: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-22 21:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578396160001,"66":12711,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578396160001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:51:57] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:51:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578396160001,"power":12711,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":161252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:51:58] local.INFO: GPS data processed {"connection_id":161252,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:51:58] local.INFO: Acknowledgment sent {"connection_id":161252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:52:25] local.INFO: TCP Data received {"connection_id":161251,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02a462c08012d7b898005f5f218001000d92d..."} 
[2026-08-22 21:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a462c08012d7b898005f5f218001000d92d..."} 
[2026-08-22 21:52:25] local.INFO: Processing buffer {"connection_id":161251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a462c08012d7b898005f5f218001000d92d..."} 
[2026-08-22 21:52:25] local.INFO: Packet analysis {"connection_id":161251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:52:25] local.INFO: Extracted packet for processing {"connection_id":161251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:52:25] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100004376,"longitude_deg":76.3070848,"latitude_deg":10.0004376,"altitude":16,"angle":217,"satellites":45,"speed":5,"hex_longitude":"2d7b8980","hex_latitude":"05f5f218","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578402048001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178467138142208,"note":"Value kept but may cause issues"} 
[2026-08-22 21:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902209114029094912,"note":"Value kept but may cause issues"} 
[2026-08-22 21:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787415637000,"timestamp_ms":1787415637000,"timestamp_seconds":1787415637,"priority":1,"record_length":96,"hex_timestamp":"000001a02a462c08"} 
[2026-08-22 21: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-22 21: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-22 21: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":65,"data_length":795,"current_offset":136} 
[2026-08-22 21:52: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-22 21: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-22 21: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-22 21:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:52: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-22 21:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578402048001,"66":27908,"160":206,"87":12800,"24":5,"16":389178467138142208,"45":8902209114029094912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578402048001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:52:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:52:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178467138142208,"km_value":389178467138142.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902209114029094912,"description":"Unknown IO ID 45"} 
[2026-08-22 21:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578402048001,"power":27908,"unknown_160":206,"unknown_87":12800,"ignition":5,"odometer":null,"unknown_45":8902209114029094912}} 
[2026-08-22 21:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":161251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:52:25] local.INFO: GPS data processed {"connection_id":161251,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:52:25] local.INFO: Acknowledgment sent {"connection_id":161251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:52:28] local.INFO: TCP Data received {"connection_id":161252,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4666a0012d08f08007270048001600f21d..."} 
[2026-08-22 21:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4666a0012d08f08007270048001600f21d..."} 
[2026-08-22 21:52:28] local.INFO: Processing buffer {"connection_id":161252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4666a0012d08f08007270048001600f21d..."} 
[2026-08-22 21:52:28] local.INFO: Packet analysis {"connection_id":161252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:52:28] local.INFO: Extracted packet for processing {"connection_id":161252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:52:28] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":29,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578401536001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787415652000,"timestamp_ms":1787415652000,"timestamp_seconds":1787415652,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4666a0"} 
[2026-08-22 21:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-22 21:52:28] 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-22 21:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578401536001,"66":12613,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578401536001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:52:28] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578401536001,"power":12613,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":161252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:52:28] local.INFO: GPS data processed {"connection_id":161252,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:52:28] local.INFO: Acknowledgment sent {"connection_id":161252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:52:48] local.INFO: TCP Data received {"connection_id":160085,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:52:48] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:52:48] local.INFO: IMEI packet received {"connection_id":160085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":160085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:52:52] local.INFO: TCP Data received {"connection_id":162677,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:52:52] local.INFO: Processing buffer {"connection_id":162677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:52:52] local.INFO: IMEI packet received {"connection_id":162677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":162677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:52:53] local.INFO: TCP Data received {"connection_id":160085,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:52:53] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:52:53] local.INFO: IMEI packet received {"connection_id":160085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":160085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:52:53] local.INFO: TCP Data received {"connection_id":162677,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:52:53] local.INFO: Processing buffer {"connection_id":162677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:52:53] local.INFO: IMEI packet received {"connection_id":162677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":162677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:52:54] local.INFO: TCP Data received {"connection_id":160085,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4633d8012d7b88c005f5f180001000e52c..."} 
[2026-08-22 21:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4633d8012d7b88c005f5f180001000e52c..."} 
[2026-08-22 21:52:54] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4633d8012d7b88c005f5f180001000e52c..."} 
[2026-08-22 21:52:54] local.INFO: Packet analysis {"connection_id":160085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:52:54] local.INFO: Extracted packet for processing {"connection_id":160085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:52:54] local.INFO: GPS Element Parsed {"raw_longitude":763070656,"raw_latitude":100004224,"longitude_deg":76.3070656,"latitude_deg":10.0004224,"altitude":16,"angle":229,"satellites":44,"speed":2,"hex_longitude":"2d7b88c0","hex_latitude":"05f5f180","is_valid_coordinates":true} 
[2026-08-22 21:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578403072001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178475728076800,"note":"Value kept but may cause issues"} 
[2026-08-22 21:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901563971584,"note":"Value kept but may cause issues"} 
[2026-08-22 21:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787415639000,"timestamp_ms":1787415639000,"timestamp_seconds":1787415639,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4633d8"} 
[2026-08-22 21:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:52: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-22 21:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 21:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:52:54] 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-22 21:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578403072001,"66":27767,"160":206,"87":12800,"24":2,"16":389178475728076800,"45":8901786901563971584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578403072001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:52:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:52:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178475728076800,"km_value":389178475728076.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901563971584,"description":"Unknown IO ID 45"} 
[2026-08-22 21:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578403072001,"power":27767,"unknown_160":206,"unknown_87":12800,"ignition":2,"odometer":null,"unknown_45":8901786901563971584}} 
[2026-08-22 21:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":160085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:52:54] local.INFO: GPS data processed {"connection_id":160085,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:52:54] local.INFO: Acknowledgment sent {"connection_id":160085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:52:54] local.INFO: TCP Data received {"connection_id":162677,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a46b8a8012d08f08007270048001600f222..."} 
[2026-08-22 21:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a46b8a8012d08f08007270048001600f222..."} 
[2026-08-22 21:52:54] local.INFO: Processing buffer {"connection_id":162677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a46b8a8012d08f08007270048001600f222..."} 
[2026-08-22 21:52:54] local.INFO: Packet analysis {"connection_id":162677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:52:54] local.INFO: Extracted packet for processing {"connection_id":162677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:52:54] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":34,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578406912001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787415673000,"timestamp_ms":1787415673000,"timestamp_seconds":1787415673,"priority":1,"record_length":96,"hex_timestamp":"000001a02a46b8a8"} 
[2026-08-22 21:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-22 21:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578406912001,"66":12558,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578406912001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:52:54] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:52:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578406912001,"power":12558,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":162677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:52:54] local.INFO: GPS data processed {"connection_id":162677,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:52:54] local.INFO: Acknowledgment sent {"connection_id":162677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:53:25] local.INFO: TCP Data received {"connection_id":160085,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02a463f90012d7b888005f5f108000f00d62a..."} 
[2026-08-22 21:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a463f90012d7b888005f5f108000f00d62a..."} 
[2026-08-22 21:53:25] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a463f90012d7b888005f5f108000f00d62a..."} 
[2026-08-22 21:53:25] local.INFO: Packet analysis {"connection_id":160085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:53:25] local.INFO: Extracted packet for processing {"connection_id":160085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:53:25] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004104,"longitude_deg":76.3070592,"latitude_deg":10.0004104,"altitude":15,"angle":214,"satellites":42,"speed":2,"hex_longitude":"2d7b8880","hex_latitude":"05f5f108","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578403584001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178484318011392,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901575795331399680,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787415642000,"timestamp_ms":1787415642000,"timestamp_seconds":1787415642,"priority":1,"record_length":96,"hex_timestamp":"000001a02a463f90"} 
[2026-08-22 21: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-22 21: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-22 21: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-22 21:53: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-22 21: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-22 21: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-22 21:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:53: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-22 21:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578403584001,"66":27713,"160":206,"87":12800,"24":2,"16":389178484318011392,"45":8901575795331399680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578403584001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:53:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:53:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178484318011392,"km_value":389178484318011.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901575795331399680,"description":"Unknown IO ID 45"} 
[2026-08-22 21:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578403584001,"power":27713,"unknown_160":206,"unknown_87":12800,"ignition":2,"odometer":null,"unknown_45":8901575795331399680}} 
[2026-08-22 21:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":160085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:53:25] local.INFO: GPS data processed {"connection_id":160085,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:53:25] local.INFO: Acknowledgment sent {"connection_id":160085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:53:25] local.INFO: TCP Data received {"connection_id":162677,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a470ab0012d08f08007270048001600f224..."} 
[2026-08-22 21:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a470ab0012d08f08007270048001600f224..."} 
[2026-08-22 21:53:25] local.INFO: Processing buffer {"connection_id":162677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a470ab0012d08f08007270048001600f224..."} 
[2026-08-22 21:53:25] local.INFO: Packet analysis {"connection_id":162677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a47"} 
[2026-08-22 21:53:25] local.INFO: Extracted packet for processing {"connection_id":162677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a47"} 
[2026-08-22 21:53:25] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578412288001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787415694000,"timestamp_ms":1787415694000,"timestamp_seconds":1787415694,"priority":1,"record_length":96,"hex_timestamp":"000001a02a470ab0"} 
[2026-08-22 21: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-22 21:53: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-22 21: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-22 21:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245109613454360792,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2147952384,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1374486734,"corrected_to":0} 
[2026-08-22 21:53:25] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3489737992,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:25] local.WARNING: Large IO value detected {"io_id":81,"raw_value":-1368867427940558848,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:25] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:25] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6029475579198373890,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:25] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,237,83,24,241,157,16,119,160,102,45,128,22,29,10,66,20,30,194,1,240,9,227,42,39,4,113,205,100,120,33,239,50,2,53,7,81,82,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1374486734,"validated":0}]} 
[2026-08-22 21:53:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585533296677224448,"timestamp_seconds":1585533296677224.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 21: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-22 21:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578412288001,"66":12602,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578412288001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:53:25] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:53:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578412288001,"power":12602,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":162677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:53:25] local.INFO: GPS data processed {"connection_id":162677,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:53:25] local.INFO: Acknowledgment sent {"connection_id":162677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:53:48] local.INFO: TCP Data received {"connection_id":160086,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:53:48] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:53:48] local.INFO: IMEI packet received {"connection_id":160086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":160086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:53:53] local.INFO: TCP Data received {"connection_id":160086,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:53:53] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:53:53] local.INFO: IMEI packet received {"connection_id":160086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":160086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:53:54] local.INFO: TCP Data received {"connection_id":160086,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a464760012d7b884005f5f098000f00c52b..."} 
[2026-08-22 21:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a464760012d7b884005f5f098000f00c52b..."} 
[2026-08-22 21:53:54] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a464760012d7b884005f5f098000f00c52b..."} 
[2026-08-22 21:53:54] local.INFO: Packet analysis {"connection_id":160086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:53:54] local.INFO: Extracted packet for processing {"connection_id":160086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763070528,"raw_latitude":100003992,"longitude_deg":76.3070528,"latitude_deg":10.0003992,"altitude":15,"angle":197,"satellites":43,"speed":2,"hex_longitude":"2d7b8840","hex_latitude":"05f5f098","is_valid_coordinates":true} 
[2026-08-22 21:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578404352001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178492907945984,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587191296,"note":"Value kept but may cause issues"} 
[2026-08-22 21:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787415644000,"timestamp_ms":1787415644000,"timestamp_seconds":1787415644,"priority":1,"record_length":96,"hex_timestamp":"000001a02a464760"} 
[2026-08-22 21:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:53: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-22 21:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-22 21:53:54] 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-22 21:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:53:54] 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-22 21:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578404352001,"66":27745,"160":206,"87":12800,"24":2,"16":389178492907945984,"45":8901505426587191296},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578404352001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:53:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:53:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178492907945984,"km_value":389178492907946.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587191296,"description":"Unknown IO ID 45"} 
[2026-08-22 21:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578404352001,"power":27745,"unknown_160":206,"unknown_87":12800,"ignition":2,"odometer":null,"unknown_45":8901505426587191296}} 
[2026-08-22 21:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":160086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:53:54] local.INFO: GPS data processed {"connection_id":160086,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:53:54] local.INFO: Acknowledgment sent {"connection_id":160086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:53:56] local.INFO: TCP Data received {"connection_id":161253,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:53:56] local.INFO: Processing buffer {"connection_id":161253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:53:56] local.INFO: IMEI packet received {"connection_id":161253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":161253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:53:57] local.INFO: TCP Data received {"connection_id":161253,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:53:57] local.INFO: Processing buffer {"connection_id":161253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:53:57] local.INFO: IMEI packet received {"connection_id":161253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":161253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:54:02] local.INFO: TCP Data received {"connection_id":161253,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:54:02] local.INFO: Processing buffer {"connection_id":161253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:54:02] local.INFO: IMEI packet received {"connection_id":161253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":161253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:54:02] local.INFO: TCP Data received {"connection_id":161253,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a475cb8012d08f08007270048001600f226..."} 
[2026-08-22 21:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a475cb8012d08f08007270048001600f226..."} 
[2026-08-22 21:54:02] local.INFO: Processing buffer {"connection_id":161253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a475cb8012d08f08007270048001600f226..."} 
[2026-08-22 21:54:02] local.INFO: Packet analysis {"connection_id":161253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a47"} 
[2026-08-22 21:54:02] local.INFO: Extracted packet for processing {"connection_id":161253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a47"} 
[2026-08-22 21:54:02] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":38,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578417664001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787415715000,"timestamp_ms":1787415715000,"timestamp_seconds":1787415715,"priority":1,"record_length":96,"hex_timestamp":"000001a02a475cb8"} 
[2026-08-22 21: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-22 21:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-22 21:54:02] 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-22 21: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-22 21: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-22 21:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578417664001,"66":12591,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578417664001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:54:02] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:54:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578417664001,"power":12591,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":161253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:54:03] local.INFO: GPS data processed {"connection_id":161253,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:54:03] local.INFO: Acknowledgment sent {"connection_id":161253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:54:25] local.INFO: TCP Data received {"connection_id":160086,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a464f30012d7b884005f5f018000f00b22b..."} 
[2026-08-22 21:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a464f30012d7b884005f5f018000f00b22b..."} 
[2026-08-22 21:54:25] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a464f30012d7b884005f5f018000f00b22b..."} 
[2026-08-22 21:54:25] local.INFO: Packet analysis {"connection_id":160086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:54:25] local.INFO: Extracted packet for processing {"connection_id":160086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:54:25] local.INFO: GPS Element Parsed {"raw_longitude":763070528,"raw_latitude":100003864,"longitude_deg":76.3070528,"latitude_deg":10.0003864,"altitude":15,"angle":178,"satellites":43,"speed":2,"hex_longitude":"2d7b8840","hex_latitude":"05f5f018","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578404864001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178497202913280,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842984960,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787415646000,"timestamp_ms":1787415646000,"timestamp_seconds":1787415646,"priority":1,"record_length":96,"hex_timestamp":"000001a02a464f30"} 
[2026-08-22 21: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-22 21: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-22 21: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":97,"data_length":795,"current_offset":136} 
[2026-08-22 21:54: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-22 21: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-22 21: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-22 21:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:54: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-22 21:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578404864001,"66":27713,"160":206,"87":12800,"24":2,"16":389178497202913280,"45":8901435057842984960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578404864001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:54:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:54:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178497202913280,"km_value":389178497202913.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842984960,"description":"Unknown IO ID 45"} 
[2026-08-22 21:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578404864001,"power":27713,"unknown_160":206,"unknown_87":12800,"ignition":2,"odometer":null,"unknown_45":8901435057842984960}} 
[2026-08-22 21:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":160086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:54:25] local.INFO: GPS data processed {"connection_id":160086,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:54:25] local.INFO: Acknowledgment sent {"connection_id":160086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:54:34] local.INFO: TCP Data received {"connection_id":161253,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a47aec0012d08f08007270048001600f226..."} 
[2026-08-22 21:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a47aec0012d08f08007270048001600f226..."} 
[2026-08-22 21:54:34] local.INFO: Processing buffer {"connection_id":161253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a47aec0012d08f08007270048001600f226..."} 
[2026-08-22 21:54:34] local.INFO: Packet analysis {"connection_id":161253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a47"} 
[2026-08-22 21:54:34] local.INFO: Extracted packet for processing {"connection_id":161253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a47"} 
[2026-08-22 21:54:34] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":38,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578423040001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787415736000,"timestamp_ms":1787415736000,"timestamp_seconds":1787415736,"priority":1,"record_length":96,"hex_timestamp":"000001a02a47aec0"} 
[2026-08-22 21: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-22 21:54:34] 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-22 21: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 21:54:34] 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-22 21: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-22 21: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-22 21:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578423040001,"66":12548,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578423040001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:54:34] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:54:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578423040001,"power":12548,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":161253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:54:34] local.INFO: GPS data processed {"connection_id":161253,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:54:34] local.INFO: Acknowledgment sent {"connection_id":161253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:54:48] local.INFO: TCP Data received {"connection_id":162678,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:54:48] local.INFO: Processing buffer {"connection_id":162678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:54:48] local.INFO: IMEI packet received {"connection_id":162678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":162678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:54:51] local.INFO: TCP Data received {"connection_id":161254,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:54:51] local.INFO: Processing buffer {"connection_id":161254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:54:51] local.INFO: IMEI packet received {"connection_id":161254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":161254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:54:53] local.INFO: TCP Data received {"connection_id":162678,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:54:53] local.INFO: Processing buffer {"connection_id":162678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:54:53] local.INFO: IMEI packet received {"connection_id":162678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":162678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:54:54] local.INFO: TCP Data received {"connection_id":162678,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02a465700012d7b884005f5ef78000f00bc2b..."} 
[2026-08-22 21:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a465700012d7b884005f5ef78000f00bc2b..."} 
[2026-08-22 21:54:54] local.INFO: Processing buffer {"connection_id":162678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a465700012d7b884005f5ef78000f00bc2b..."} 
[2026-08-22 21:54:54] local.INFO: Packet analysis {"connection_id":162678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:54:54] local.INFO: Extracted packet for processing {"connection_id":162678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763070528,"raw_latitude":100003704,"longitude_deg":76.3070528,"latitude_deg":10.0003704,"altitude":15,"angle":188,"satellites":43,"speed":3,"hex_longitude":"2d7b8840","hex_latitude":"05f5ef78","is_valid_coordinates":true} 
[2026-08-22 21:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578405376001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842952192,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787415648000,"timestamp_ms":1787415648000,"timestamp_seconds":1787415648,"priority":1,"record_length":96,"hex_timestamp":"000001a02a465700"} 
[2026-08-22 21: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-22 21:54: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-22 21: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-22 21:54:54] 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-22 21: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-22 21: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-22 21:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:54:54] 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-22 21:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578405376001,"66":27843,"160":206,"87":12800,"24":3,"16":389178505792847872,"45":8901435057842952192},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578405376001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:54:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:54:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842952192,"description":"Unknown IO ID 45"} 
[2026-08-22 21:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578405376001,"power":27843,"unknown_160":206,"unknown_87":12800,"ignition":3,"odometer":null,"unknown_45":8901435057842952192}} 
[2026-08-22 21:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":162678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:54:54] local.INFO: GPS data processed {"connection_id":162678,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:54:54] local.INFO: Acknowledgment sent {"connection_id":162678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:54:57] local.INFO: TCP Data received {"connection_id":161254,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:54:57] local.INFO: Processing buffer {"connection_id":161254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:54:57] local.INFO: IMEI packet received {"connection_id":161254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":161254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:54:57] local.INFO: TCP Data received {"connection_id":161254,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4800c8012d08f08007270048001600f226..."} 
[2026-08-22 21:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4800c8012d08f08007270048001600f226..."} 
[2026-08-22 21:54:57] local.INFO: Processing buffer {"connection_id":161254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4800c8012d08f08007270048001600f226..."} 
[2026-08-22 21:54:57] local.INFO: Packet analysis {"connection_id":161254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a48"} 
[2026-08-22 21:54:57] local.INFO: Extracted packet for processing {"connection_id":161254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a48"} 
[2026-08-22 21:54:57] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":38,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578428416001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787415757000,"timestamp_ms":1787415757000,"timestamp_seconds":1787415757,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4800c8"} 
[2026-08-22 21: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-22 21:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 21:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184214134989,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2147952384,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1374486734,"corrected_to":0} 
[2026-08-22 21:54:57] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2550213896,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:57] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847633,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:57] local.WARNING: Large IO value detected {"io_id":81,"raw_value":-1368867427940558848,"note":"Value kept but may cause issues"} 
[2026-08-22 21:54:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,237,83,24,241,157,16,119,160,92,45,128,22,38,10,66,36,184,1,240,14,227,42,39,4,113,205,20,72,30,239,49,2,53,7,81],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1374486734,"validated":0}]} 
[2026-08-22 21:54:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585533313857093632,"timestamp_seconds":1585533313857093.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 21: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-22 21:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578428416001,"66":12580,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578428416001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:54:57] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578428416001,"power":12580,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":161254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:54:58] local.INFO: GPS data processed {"connection_id":161254,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:54:58] local.INFO: Acknowledgment sent {"connection_id":161254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:55:25] local.INFO: TCP Data received {"connection_id":162678,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02a465700012d7b884005f5ef78000f00bc2b..."} 
[2026-08-22 21:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a465700012d7b884005f5ef78000f00bc2b..."} 
[2026-08-22 21:55:25] local.INFO: Processing buffer {"connection_id":162678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a465700012d7b884005f5ef78000f00bc2b..."} 
[2026-08-22 21:55:25] local.INFO: Packet analysis {"connection_id":162678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:55:25] local.INFO: Extracted packet for processing {"connection_id":162678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:55:25] local.INFO: GPS Element Parsed {"raw_longitude":763070528,"raw_latitude":100003704,"longitude_deg":76.3070528,"latitude_deg":10.0003704,"altitude":15,"angle":188,"satellites":43,"speed":3,"hex_longitude":"2d7b8840","hex_latitude":"05f5ef78","is_valid_coordinates":true} 
[2026-08-22 21:55: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-22 21:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578405376001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 21:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842952192,"note":"Value kept but may cause issues"} 
[2026-08-22 21:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787415648000,"timestamp_ms":1787415648000,"timestamp_seconds":1787415648,"priority":1,"record_length":96,"hex_timestamp":"000001a02a465700"} 
[2026-08-22 21: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-22 21: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-22 21: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-22 21:55: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-22 21: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-22 21: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-22 21:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:55: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-22 21:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578405376001,"66":27843,"160":206,"87":12800,"24":3,"16":389178505792847872,"45":8901435057842952192},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578405376001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:55:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:55:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842952192,"description":"Unknown IO ID 45"} 
[2026-08-22 21:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578405376001,"power":27843,"unknown_160":206,"unknown_87":12800,"ignition":3,"odometer":null,"unknown_45":8901435057842952192}} 
[2026-08-22 21:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":162678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:55:25] local.INFO: GPS data processed {"connection_id":162678,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:55:25] local.INFO: Acknowledgment sent {"connection_id":162678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:55:28] local.INFO: TCP Data received {"connection_id":161254,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4852d0012d08f08007270048001600f222..."} 
[2026-08-22 21:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4852d0012d08f08007270048001600f222..."} 
[2026-08-22 21:55:28] local.INFO: Processing buffer {"connection_id":161254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4852d0012d08f08007270048001600f222..."} 
[2026-08-22 21:55:28] local.INFO: Packet analysis {"connection_id":161254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a48"} 
[2026-08-22 21:55:28] local.INFO: Extracted packet for processing {"connection_id":161254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a48"} 
[2026-08-22 21:55:28] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":34,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578433792001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787415778000,"timestamp_ms":1787415778000,"timestamp_seconds":1787415778,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4852d0"} 
[2026-08-22 21: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-22 21:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-22 21:55:28] 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-22 21: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-22 21: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-22 21:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578433792001,"66":12591,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578433792001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:55:28] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:55:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578433792001,"power":12591,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":161254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:55:28] local.INFO: GPS data processed {"connection_id":161254,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:55:28] local.INFO: Acknowledgment sent {"connection_id":161254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:55:48] local.INFO: TCP Data received {"connection_id":162679,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:55:48] local.INFO: Processing buffer {"connection_id":162679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:55:48] local.INFO: IMEI packet received {"connection_id":162679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":162679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:55:51] local.INFO: TCP Data received {"connection_id":160306,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:55:51] local.INFO: Processing buffer {"connection_id":160306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:55:51] local.INFO: IMEI packet received {"connection_id":160306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":160306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:55:53] local.INFO: TCP Data received {"connection_id":162679,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:55:53] local.INFO: Processing buffer {"connection_id":162679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:55:53] local.INFO: IMEI packet received {"connection_id":162679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":162679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:55:56] local.INFO: TCP Data received {"connection_id":162679,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02a465700012d7b884005f5ef78000f00bc2b..."} 
[2026-08-22 21:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a465700012d7b884005f5ef78000f00bc2b..."} 
[2026-08-22 21:55:56] local.INFO: Processing buffer {"connection_id":162679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a465700012d7b884005f5ef78000f00bc2b..."} 
[2026-08-22 21:55:56] local.INFO: Packet analysis {"connection_id":162679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:55:56] local.INFO: Extracted packet for processing {"connection_id":162679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763070528,"raw_latitude":100003704,"longitude_deg":76.3070528,"latitude_deg":10.0003704,"altitude":15,"angle":188,"satellites":43,"speed":3,"hex_longitude":"2d7b8840","hex_latitude":"05f5ef78","is_valid_coordinates":true} 
[2026-08-22 21:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578405376001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 21:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842952192,"note":"Value kept but may cause issues"} 
[2026-08-22 21:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787415648000,"timestamp_ms":1787415648000,"timestamp_seconds":1787415648,"priority":1,"record_length":96,"hex_timestamp":"000001a02a465700"} 
[2026-08-22 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-22 21: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-22 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-22 21:55:56] 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-22 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-22 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-22 21:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:55: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-22 21:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578405376001,"66":27843,"160":206,"87":12800,"24":3,"16":389178505792847872,"45":8901435057842952192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578405376001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:55:56] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:55:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842952192,"description":"Unknown IO ID 45"} 
[2026-08-22 21:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578405376001,"power":27843,"unknown_160":206,"unknown_87":12800,"ignition":3,"odometer":null,"unknown_45":8901435057842952192}} 
[2026-08-22 21:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":162679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:55:56] local.INFO: GPS data processed {"connection_id":162679,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:55:56] local.INFO: Acknowledgment sent {"connection_id":162679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:55:57] local.INFO: TCP Data received {"connection_id":160306,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:55:57] local.INFO: Processing buffer {"connection_id":160306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:55:57] local.INFO: IMEI packet received {"connection_id":160306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":160306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:55:57] local.INFO: TCP Data received {"connection_id":160306,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a48a4d8012d08f08007270048001600f226..."} 
[2026-08-22 21:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a48a4d8012d08f08007270048001600f226..."} 
[2026-08-22 21:55:57] local.INFO: Processing buffer {"connection_id":160306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a48a4d8012d08f08007270048001600f226..."} 
[2026-08-22 21:55:57] local.INFO: Packet analysis {"connection_id":160306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a48"} 
[2026-08-22 21:55:57] local.INFO: Extracted packet for processing {"connection_id":160306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a48"} 
[2026-08-22 21:55:57] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":38,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578439168001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787415799000,"timestamp_ms":1787415799000,"timestamp_seconds":1787415799,"priority":1,"record_length":96,"hex_timestamp":"000001a02a48a4d8"} 
[2026-08-22 21: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-22 21:55:57] 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-22 21:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 21:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578439168001,"66":12526,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578439168001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:55:57] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578439168001,"power":12526,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":160306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:55:58] local.INFO: GPS data processed {"connection_id":160306,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:55:58] local.INFO: Acknowledgment sent {"connection_id":160306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:56:28] local.INFO: TCP Data received {"connection_id":162679,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02a465700012d7b884005f5ef78000f00bc2b..."} 
[2026-08-22 21:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a465700012d7b884005f5ef78000f00bc2b..."} 
[2026-08-22 21:56:28] local.INFO: Processing buffer {"connection_id":162679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a465700012d7b884005f5ef78000f00bc2b..."} 
[2026-08-22 21:56:28] local.INFO: Packet analysis {"connection_id":162679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:56:28] local.INFO: Extracted packet for processing {"connection_id":162679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a46"} 
[2026-08-22 21:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763070528,"raw_latitude":100003704,"longitude_deg":76.3070528,"latitude_deg":10.0003704,"altitude":15,"angle":188,"satellites":43,"speed":3,"hex_longitude":"2d7b8840","hex_latitude":"05f5ef78","is_valid_coordinates":true} 
[2026-08-22 21:56: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-22 21:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578405376001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 21:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842952192,"note":"Value kept but may cause issues"} 
[2026-08-22 21:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787415648000,"timestamp_ms":1787415648000,"timestamp_seconds":1787415648,"priority":1,"record_length":96,"hex_timestamp":"000001a02a465700"} 
[2026-08-22 21: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-22 21: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-22 21: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":65,"data_length":795,"current_offset":136} 
[2026-08-22 21:56: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-22 21: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-22 21: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-22 21:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:56:28] 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-22 21:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578405376001,"66":27843,"160":206,"87":12800,"24":3,"16":389178505792847872,"45":8901435057842952192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578405376001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:56:28] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:56:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842952192,"description":"Unknown IO ID 45"} 
[2026-08-22 21:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578405376001,"power":27843,"unknown_160":206,"unknown_87":12800,"ignition":3,"odometer":null,"unknown_45":8901435057842952192}} 
[2026-08-22 21:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":162679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:56:28] local.INFO: GPS data processed {"connection_id":162679,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:56:28] local.INFO: Acknowledgment sent {"connection_id":162679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:56:28] local.INFO: TCP Data received {"connection_id":160306,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a48f6e0012d08f08007270048001600f224..."} 
[2026-08-22 21:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a48f6e0012d08f08007270048001600f224..."} 
[2026-08-22 21:56:28] local.INFO: Processing buffer {"connection_id":160306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a48f6e0012d08f08007270048001600f224..."} 
[2026-08-22 21:56:28] local.INFO: Packet analysis {"connection_id":160306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a48"} 
[2026-08-22 21:56:28] local.INFO: Extracted packet for processing {"connection_id":160306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a48"} 
[2026-08-22 21:56:28] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578444544001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787415820000,"timestamp_ms":1787415820000,"timestamp_seconds":1787415820,"priority":1,"record_length":96,"hex_timestamp":"000001a02a48f6e0"} 
[2026-08-22 21: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-22 21:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 21: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 21:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578444544001,"66":12558,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578444544001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:56:28] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578444544001,"power":12558,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":160306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:56:28] local.INFO: GPS data processed {"connection_id":160306,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:56:28] local.INFO: Acknowledgment sent {"connection_id":160306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:56:53] local.INFO: TCP Data received {"connection_id":161255,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:56:53] local.INFO: Processing buffer {"connection_id":161255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:56:53] local.INFO: IMEI packet received {"connection_id":161255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":161255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:56:57] local.INFO: TCP Data received {"connection_id":161256,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:56:57] local.INFO: Processing buffer {"connection_id":161256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:56:57] local.INFO: IMEI packet received {"connection_id":161256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":161256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:56:58] local.INFO: TCP Data received {"connection_id":161255,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:56:58] local.INFO: Processing buffer {"connection_id":161255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:56:58] local.INFO: IMEI packet received {"connection_id":161255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":161255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:56:59] local.INFO: TCP Data received {"connection_id":161255,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:56:59] local.INFO: Processing buffer {"connection_id":161255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:56:59] local.INFO: Packet analysis {"connection_id":161255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:56:59] local.INFO: Extracted packet for processing {"connection_id":161255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":15,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578405888001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 21:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842911232,"note":"Value kept but may cause issues"} 
[2026-08-22 21:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787415951000,"timestamp_ms":1787415951000,"timestamp_seconds":1787415951,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4af698"} 
[2026-08-22 21: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-22 21: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-22 21: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":195,"data_length":795,"current_offset":136} 
[2026-08-22 21:56: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-22 21: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-22 21: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-22 21:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:56: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-22 21:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578405888001,"66":26115,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8901435057842911232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578405888001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:56:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:56:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842911232,"description":"Unknown IO ID 45"} 
[2026-08-22 21:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578405888001,"power":26115,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901435057842911232}} 
[2026-08-22 21:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":161255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:56:59] local.INFO: GPS data processed {"connection_id":161255,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:56:59] local.INFO: Acknowledgment sent {"connection_id":161255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:57:02] local.INFO: TCP Data received {"connection_id":161256,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:57:02] local.INFO: Processing buffer {"connection_id":161256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:57:02] local.INFO: IMEI packet received {"connection_id":161256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":161256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:57:03] local.INFO: TCP Data received {"connection_id":161256,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4948e8012d08f08007270048001600f223..."} 
[2026-08-22 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4948e8012d08f08007270048001600f223..."} 
[2026-08-22 21:57:03] local.INFO: Processing buffer {"connection_id":161256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4948e8012d08f08007270048001600f223..."} 
[2026-08-22 21:57:03] local.INFO: Packet analysis {"connection_id":161256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a49"} 
[2026-08-22 21:57:03] local.INFO: Extracted packet for processing {"connection_id":161256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a49"} 
[2026-08-22 21:57:03] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":35,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578449920001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787415841000,"timestamp_ms":1787415841000,"timestamp_seconds":1787415841,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4948e8"} 
[2026-08-22 21:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-22 21:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:03] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245107964186918984,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2147952384,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1374486734,"corrected_to":0} 
[2026-08-22 21:57:03] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3087084808,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:03] local.WARNING: Large IO value detected {"io_id":81,"raw_value":-1368867427940558848,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6029475579198177282,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,237,83,24,241,157,16,119,160,164,45,128,22,38,10,66,82,34,1,240,36,227,42,39,4,113,205,92,72,239,49,2,53,7,81,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1374486734,"validated":0}]} 
[2026-08-22 21:57:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585533305267159040,"timestamp_seconds":1585533305267159.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 21:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578449920001,"66":12504,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578449920001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:57:03] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578449920001,"power":12504,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":161256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:57:03] local.INFO: GPS data processed {"connection_id":161256,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:57:03] local.INFO: Acknowledgment sent {"connection_id":161256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:57:03] local.INFO: TCP Data received {"connection_id":161255,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:57:03] local.INFO: Processing buffer {"connection_id":161255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:57:03] local.INFO: Packet analysis {"connection_id":161255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:57:03] local.INFO: Extracted packet for processing {"connection_id":161255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:57:03] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":15,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 21:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578405888001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842911232,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787415951000,"timestamp_ms":1787415951000,"timestamp_seconds":1787415951,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4af698"} 
[2026-08-22 21:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:57: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-22 21:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 21:57: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-22 21:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:57: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-22 21:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578405888001,"66":26115,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8901435057842911232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578405888001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:57:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:57:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842911232,"description":"Unknown IO ID 45"} 
[2026-08-22 21:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578405888001,"power":26115,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901435057842911232}} 
[2026-08-22 21:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":161255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:57:03] local.INFO: GPS data processed {"connection_id":161255,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:57:03] local.INFO: Acknowledgment sent {"connection_id":161255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:57:06] local.INFO: TCP Data received {"connection_id":161256,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a499af0012d08f08007270048001600f224..."} 
[2026-08-22 21:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a499af0012d08f08007270048001600f224..."} 
[2026-08-22 21:57:06] local.INFO: Processing buffer {"connection_id":161256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a499af0012d08f08007270048001600f224..."} 
[2026-08-22 21:57:06] local.INFO: Packet analysis {"connection_id":161256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a49"} 
[2026-08-22 21:57:06] local.INFO: Extracted packet for processing {"connection_id":161256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a49"} 
[2026-08-22 21:57:06] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578455296001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787415862000,"timestamp_ms":1787415862000,"timestamp_seconds":1787415862,"priority":1,"record_length":96,"hex_timestamp":"000001a02a499af0"} 
[2026-08-22 21: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-22 21:57:06] 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-22 21: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 21:57:06] 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-22 21: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-22 21: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-22 21:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578455296001,"66":12526,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578455296001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:57:06] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578455296001,"power":12526,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":161256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:57:06] local.INFO: GPS data processed {"connection_id":161256,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:57:06] local.INFO: Acknowledgment sent {"connection_id":161256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:57:47] local.INFO: TCP Data received {"connection_id":160088,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:57:47] local.INFO: Processing buffer {"connection_id":160088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:57:47] local.INFO: IMEI packet received {"connection_id":160088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":160088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:57:48] local.INFO: TCP Data received {"connection_id":160087,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:57:48] local.INFO: Processing buffer {"connection_id":160087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:57:48] local.INFO: IMEI packet received {"connection_id":160087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":160087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:57:52] local.INFO: TCP Data received {"connection_id":160088,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:57:52] local.INFO: Processing buffer {"connection_id":160088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:57:52] local.INFO: IMEI packet received {"connection_id":160088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":160088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:57:53] local.INFO: TCP Data received {"connection_id":160087,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:57:53] local.INFO: Processing buffer {"connection_id":160087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:57:53] local.INFO: IMEI packet received {"connection_id":160087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":160087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:57:55] local.INFO: TCP Data received {"connection_id":160087,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:57:55] local.INFO: Processing buffer {"connection_id":160087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:57:55] local.INFO: Packet analysis {"connection_id":160087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:57:55] local.INFO: Extracted packet for processing {"connection_id":160087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":15,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578405888001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842911232,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787415951000,"timestamp_ms":1787415951000,"timestamp_seconds":1787415951,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4af698"} 
[2026-08-22 21: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-22 21:57: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-22 21: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 21:57:55] 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-22 21: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-22 21: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-22 21:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:57:55] 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-22 21:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578405888001,"66":26115,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8901435057842911232},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578405888001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:57:55] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:57:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842911232,"description":"Unknown IO ID 45"} 
[2026-08-22 21:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578405888001,"power":26115,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901435057842911232}} 
[2026-08-22 21:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":160087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:57:55] local.INFO: GPS data processed {"connection_id":160087,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:57:55] local.INFO: Acknowledgment sent {"connection_id":160087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:57:57] local.INFO: TCP Data received {"connection_id":160088,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:57:57] local.INFO: Processing buffer {"connection_id":160088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:57:57] local.INFO: IMEI packet received {"connection_id":160088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":160088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:57:57] local.INFO: TCP Data received {"connection_id":160088,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a49ecf8012d08f08007270048001600f225..."} 
[2026-08-22 21:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a49ecf8012d08f08007270048001600f225..."} 
[2026-08-22 21:57:57] local.INFO: Processing buffer {"connection_id":160088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a49ecf8012d08f08007270048001600f225..."} 
[2026-08-22 21:57:57] local.INFO: Packet analysis {"connection_id":160088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a49"} 
[2026-08-22 21:57:57] local.INFO: Extracted packet for processing {"connection_id":160088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a49"} 
[2026-08-22 21:57:57] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578460672001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787415883000,"timestamp_ms":1787415883000,"timestamp_seconds":1787415883,"priority":1,"record_length":96,"hex_timestamp":"000001a02a49ecf8"} 
[2026-08-22 21: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-22 21:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 21:57:57] 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-22 21: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-22 21: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-22 21:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578460672001,"66":12526,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578460672001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:57:57] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:57:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578460672001,"power":12526,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":160088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:57:58] local.INFO: GPS data processed {"connection_id":160088,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:57:58] local.INFO: Acknowledgment sent {"connection_id":160088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:58:27] local.INFO: TCP Data received {"connection_id":160087,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:58:27] local.INFO: Processing buffer {"connection_id":160087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:58:27] local.INFO: Packet analysis {"connection_id":160087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:58:27] local.INFO: Extracted packet for processing {"connection_id":160087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":15,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578405888001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 21:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842911232,"note":"Value kept but may cause issues"} 
[2026-08-22 21:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787415951000,"timestamp_ms":1787415951000,"timestamp_seconds":1787415951,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4af698"} 
[2026-08-22 21: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-22 21:58: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-22 21: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 21:58: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-22 21: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-22 21: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-22 21:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:58:27] 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-22 21:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578405888001,"66":26115,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8901435057842911232},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578405888001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:58:27] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:58:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842911232,"description":"Unknown IO ID 45"} 
[2026-08-22 21:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578405888001,"power":26115,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901435057842911232}} 
[2026-08-22 21:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":160087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:58:27] local.INFO: GPS data processed {"connection_id":160087,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:58:27] local.INFO: Acknowledgment sent {"connection_id":160087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:58:28] local.INFO: TCP Data received {"connection_id":160088,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4a3f00012d08f08007270048001600f223..."} 
[2026-08-22 21:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4a3f00012d08f08007270048001600f223..."} 
[2026-08-22 21:58:28] local.INFO: Processing buffer {"connection_id":160088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4a3f00012d08f08007270048001600f223..."} 
[2026-08-22 21:58:28] local.INFO: Packet analysis {"connection_id":160088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:58:28] local.INFO: Extracted packet for processing {"connection_id":160088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:58:28] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":35,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578466048001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787415904000,"timestamp_ms":1787415904000,"timestamp_seconds":1787415904,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4a3f00"} 
[2026-08-22 21: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-22 21:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 21: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 21:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21: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-22 21: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-22 21:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578466048001,"66":12526,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578466048001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:58:28] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578466048001,"power":12526,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":160088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:58:28] local.INFO: GPS data processed {"connection_id":160088,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:58:28] local.INFO: Acknowledgment sent {"connection_id":160088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:58:49] local.INFO: TCP Data received {"connection_id":160307,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:58:49] local.INFO: Processing buffer {"connection_id":160307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:58:49] local.INFO: IMEI packet received {"connection_id":160307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":160307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:58:50] local.INFO: TCP Data received {"connection_id":160308,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:58:50] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:58:50] local.INFO: IMEI packet received {"connection_id":160308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":160308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:58:51] local.INFO: TCP Data received {"connection_id":160308,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:58:51] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:58:51] local.INFO: IMEI packet received {"connection_id":160308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":160308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:58:53] local.INFO: TCP Data received {"connection_id":160307,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:58:53] local.INFO: Processing buffer {"connection_id":160307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:58:53] local.INFO: IMEI packet received {"connection_id":160307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":160307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:58:54] local.INFO: TCP Data received {"connection_id":160307,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:58:54] local.INFO: Processing buffer {"connection_id":160307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:58:54] local.INFO: Packet analysis {"connection_id":160307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:58:54] local.INFO: Extracted packet for processing {"connection_id":160307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:58:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":15,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 21:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578405888001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 21:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842911232,"note":"Value kept but may cause issues"} 
[2026-08-22 21:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787415951000,"timestamp_ms":1787415951000,"timestamp_seconds":1787415951,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4af698"} 
[2026-08-22 21:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 21:58:54] 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-22 21:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:58:54] 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-22 21:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578405888001,"66":26115,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8901435057842911232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578405888001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:58:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:58:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842911232,"description":"Unknown IO ID 45"} 
[2026-08-22 21:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578405888001,"power":26115,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901435057842911232}} 
[2026-08-22 21:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":160307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:58:54] local.INFO: GPS data processed {"connection_id":160307,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:58:54] local.INFO: Acknowledgment sent {"connection_id":160307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:58:57] local.INFO: TCP Data received {"connection_id":160308,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:58:57] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:58:57] local.INFO: IMEI packet received {"connection_id":160308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":160308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:58:57] local.INFO: TCP Data received {"connection_id":160308,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4a9108012d08f08007270048001600f225..."} 
[2026-08-22 21:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4a9108012d08f08007270048001600f225..."} 
[2026-08-22 21:58:57] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4a9108012d08f08007270048001600f225..."} 
[2026-08-22 21:58:57] local.INFO: Packet analysis {"connection_id":160308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:58:57] local.INFO: Extracted packet for processing {"connection_id":160308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:58:57] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578471424001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787415925000,"timestamp_ms":1787415925000,"timestamp_seconds":1787415925,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4a9108"} 
[2026-08-22 21: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-22 21:58:57] 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-22 21: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-22 21:58:57] 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-22 21: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-22 21: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-22 21:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578471424001,"66":12504,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578471424001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:58:57] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:58:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578471424001,"power":12504,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":160308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:58:58] local.INFO: GPS data processed {"connection_id":160308,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:58:58] local.INFO: Acknowledgment sent {"connection_id":160308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:59:26] local.INFO: TCP Data received {"connection_id":160307,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:59:26] local.INFO: Processing buffer {"connection_id":160307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:59:26] local.INFO: Packet analysis {"connection_id":160307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:59:26] local.INFO: Extracted packet for processing {"connection_id":160307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":15,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 21:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578405888001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 21:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842911232,"note":"Value kept but may cause issues"} 
[2026-08-22 21:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787415951000,"timestamp_ms":1787415951000,"timestamp_seconds":1787415951,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4af698"} 
[2026-08-22 21:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:59: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-22 21:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 21:59: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-22 21:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:59: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-22 21:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578405888001,"66":26115,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8901435057842911232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578405888001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:59:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:59:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842911232,"description":"Unknown IO ID 45"} 
[2026-08-22 21:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578405888001,"power":26115,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901435057842911232}} 
[2026-08-22 21:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":160307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:59:26] local.INFO: GPS data processed {"connection_id":160307,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:59:26] local.INFO: Acknowledgment sent {"connection_id":160307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:59:28] local.INFO: TCP Data received {"connection_id":160308,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4ae310012d08f08007270048001600f225..."} 
[2026-08-22 21:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4ae310012d08f08007270048001600f225..."} 
[2026-08-22 21:59:28] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4ae310012d08f08007270048001600f225..."} 
[2026-08-22 21:59:28] local.INFO: Packet analysis {"connection_id":160308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:59:28] local.INFO: Extracted packet for processing {"connection_id":160308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:59:28] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21: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-22 21:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578476800001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787415946000,"timestamp_ms":1787415946000,"timestamp_seconds":1787415946,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4ae310"} 
[2026-08-22 21: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-22 21:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 21:59:28] 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-22 21: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-22 21: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-22 21:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578476800001,"66":12504,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578476800001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:59:28] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:59:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578476800001,"power":12504,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":160308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:59:28] local.INFO: GPS data processed {"connection_id":160308,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:59:28] local.INFO: Acknowledgment sent {"connection_id":160308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:59:48] local.INFO: TCP Data received {"connection_id":162680,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:59:48] local.INFO: Processing buffer {"connection_id":162680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:59:48] local.INFO: IMEI packet received {"connection_id":162680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 21:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":162680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:59:51] local.INFO: TCP Data received {"connection_id":161257,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:59:51] local.INFO: Processing buffer {"connection_id":161257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:59:51] local.INFO: IMEI packet received {"connection_id":161257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 21:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":161257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 21:59:53] local.INFO: TCP Data received {"connection_id":162680,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:59:53] local.INFO: Processing buffer {"connection_id":162680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 21:59:53] local.INFO: IMEI packet received {"connection_id":162680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 21:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":162680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:59:53] local.INFO: TCP Data received {"connection_id":161257,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:59:53] local.INFO: Processing buffer {"connection_id":161257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 21:59:53] local.INFO: IMEI packet received {"connection_id":161257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 21:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":161257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 21:59:54] local.INFO: TCP Data received {"connection_id":162680,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:59:54] local.INFO: Processing buffer {"connection_id":162680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 21:59:54] local.INFO: Packet analysis {"connection_id":162680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:59:54] local.INFO: Extracted packet for processing {"connection_id":162680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 21:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":15,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 21:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578405888001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 21:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842911232,"note":"Value kept but may cause issues"} 
[2026-08-22 21:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787415951000,"timestamp_ms":1787415951000,"timestamp_seconds":1787415951,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4af698"} 
[2026-08-22 21:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 21:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 21:59:54] 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-22 21:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 21:59:54] 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-22 21:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 21:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 21:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578405888001,"66":26115,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8901435057842911232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 21:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 21:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 21:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578405888001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:59:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 21:59:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 21:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842911232,"description":"Unknown IO ID 45"} 
[2026-08-22 21:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578405888001,"power":26115,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901435057842911232}} 
[2026-08-22 21:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":162680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:59:54] local.INFO: GPS data processed {"connection_id":162680,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:59:54] local.INFO: Acknowledgment sent {"connection_id":162680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 21:59:54] local.INFO: TCP Data received {"connection_id":161257,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4b3518012d08f08007270048001600f224..."} 
[2026-08-22 21:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4b3518012d08f08007270048001600f224..."} 
[2026-08-22 21:59:54] local.INFO: Processing buffer {"connection_id":161257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4b3518012d08f08007270048001600f224..."} 
[2026-08-22 21:59:54] local.INFO: Packet analysis {"connection_id":161257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4b"} 
[2026-08-22 21:59:54] local.INFO: Extracted packet for processing {"connection_id":161257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4b"} 
[2026-08-22 21:59:54] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 21:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 21:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578482176001,"note":"Value kept but may cause issues"} 
[2026-08-22 21:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 21:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 21:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 21:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787415967000,"timestamp_ms":1787415967000,"timestamp_seconds":1787415967,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4b3518"} 
[2026-08-22 21:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 21:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 21:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 21:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 21:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 21:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 21:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 21:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 21:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 21:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 21:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 21:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 21:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578482176001,"66":12504,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 21:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 21:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 21:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578482176001,"description":"Unknown IO ID 0"} 
[2026-08-22 21:59:54] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 21:59:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 21:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 21:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 21:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578482176001,"power":12504,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 21:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":161257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 21:59:54] local.INFO: GPS data processed {"connection_id":161257,"processed":1,"errors":0,"total":1} 
[2026-08-22 21:59:54] local.INFO: Acknowledgment sent {"connection_id":161257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:00:25] local.INFO: TCP Data received {"connection_id":161257,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4b8720012d08f08007270048001600f223..."} 
[2026-08-22 22:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4b8720012d08f08007270048001600f223..."} 
[2026-08-22 22:00:25] local.INFO: Processing buffer {"connection_id":161257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4b8720012d08f08007270048001600f223..."} 
[2026-08-22 22:00:25] local.INFO: Packet analysis {"connection_id":161257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4b"} 
[2026-08-22 22:00:25] local.INFO: Extracted packet for processing {"connection_id":161257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4b"} 
[2026-08-22 22:00:25] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":35,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578487552001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 22:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 22:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787415988000,"timestamp_ms":1787415988000,"timestamp_seconds":1787415988,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4b8720"} 
[2026-08-22 22: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-22 22:00: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-22 22: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 22:00: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-22 22: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-22 22: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-22 22:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578487552001,"66":12461,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 22:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578487552001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:00:25] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 22:00:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 22:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578487552001,"power":12461,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 22:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":161257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:00:26] local.INFO: GPS data processed {"connection_id":161257,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:00:26] local.INFO: Acknowledgment sent {"connection_id":161257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:00:26] local.INFO: TCP Data received {"connection_id":162680,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 22:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 22:00:26] local.INFO: Processing buffer {"connection_id":162680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 22:00:26] local.INFO: Packet analysis {"connection_id":162680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 22:00:26] local.INFO: Extracted packet for processing {"connection_id":162680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 22:00:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":15,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578405888001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842911232,"note":"Value kept but may cause issues"} 
[2026-08-22 22:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787415951000,"timestamp_ms":1787415951000,"timestamp_seconds":1787415951,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4af698"} 
[2026-08-22 22: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-22 22:00: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-22 22: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 22:00: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-22 22: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-22 22: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-22 22:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:00: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-22 22:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578405888001,"66":26115,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8901435057842911232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578405888001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:00:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:00:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842911232,"description":"Unknown IO ID 45"} 
[2026-08-22 22:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578405888001,"power":26115,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901435057842911232}} 
[2026-08-22 22:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":162680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:00:26] local.INFO: GPS data processed {"connection_id":162680,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:00:26] local.INFO: Acknowledgment sent {"connection_id":162680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:00:48] local.INFO: TCP Data received {"connection_id":160089,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:00:48] local.INFO: Processing buffer {"connection_id":160089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:00:48] local.INFO: IMEI packet received {"connection_id":160089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":160089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:00:52] local.INFO: TCP Data received {"connection_id":160090,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:00:52] local.INFO: Processing buffer {"connection_id":160090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:00:52] local.INFO: IMEI packet received {"connection_id":160090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":160090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:00:53] local.INFO: TCP Data received {"connection_id":160089,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:00:53] local.INFO: Processing buffer {"connection_id":160089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:00:53] local.INFO: IMEI packet received {"connection_id":160089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":160089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:00:54] local.INFO: TCP Data received {"connection_id":160089,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 22:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 22:00:54] local.INFO: Processing buffer {"connection_id":160089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 22:00:54] local.INFO: Packet analysis {"connection_id":160089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 22:00:54] local.INFO: Extracted packet for processing {"connection_id":160089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 22:00:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":15,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578405888001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842911232,"note":"Value kept but may cause issues"} 
[2026-08-22 22:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787415951000,"timestamp_ms":1787415951000,"timestamp_seconds":1787415951,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4af698"} 
[2026-08-22 22:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-22 22:00:54] 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-22 22:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:00:54] 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-22 22:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578405888001,"66":26115,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8901435057842911232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578405888001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:00:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:00:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842911232,"description":"Unknown IO ID 45"} 
[2026-08-22 22:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578405888001,"power":26115,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901435057842911232}} 
[2026-08-22 22:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":160089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:00:54] local.INFO: GPS data processed {"connection_id":160089,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:00:54] local.INFO: Acknowledgment sent {"connection_id":160089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:00:57] local.INFO: TCP Data received {"connection_id":160090,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:00:57] local.INFO: Processing buffer {"connection_id":160090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:00:57] local.INFO: IMEI packet received {"connection_id":160090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":160090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:00:57] local.INFO: TCP Data received {"connection_id":160090,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4bd928012d08f08007270048001600f225..."} 
[2026-08-22 22:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4bd928012d08f08007270048001600f225..."} 
[2026-08-22 22:00:57] local.INFO: Processing buffer {"connection_id":160090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4bd928012d08f08007270048001600f225..."} 
[2026-08-22 22:00:57] local.INFO: Packet analysis {"connection_id":160090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4b"} 
[2026-08-22 22:00:57] local.INFO: Extracted packet for processing {"connection_id":160090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4b"} 
[2026-08-22 22:00:57] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578492928001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 22:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 22:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787416009000,"timestamp_ms":1787416009000,"timestamp_seconds":1787416009,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4bd928"} 
[2026-08-22 22: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-22 22:00:57] 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-22 22: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 22:00:57] 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-22 22: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-22 22: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-22 22:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578492928001,"66":12504,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 22:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578492928001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:00:57] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 22:00:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 22:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578492928001,"power":12504,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 22:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":160090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:00:58] local.INFO: GPS data processed {"connection_id":160090,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:00:58] local.INFO: Acknowledgment sent {"connection_id":160090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:01:25] local.INFO: TCP Data received {"connection_id":160089,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 22:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 22:01:25] local.INFO: Processing buffer {"connection_id":160089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4af698012d7b84c005f5ee00000f00b32c..."} 
[2026-08-22 22:01:25] local.INFO: Packet analysis {"connection_id":160089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 22:01:25] local.INFO: Extracted packet for processing {"connection_id":160089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4a"} 
[2026-08-22 22:01:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":15,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578405888001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842911232,"note":"Value kept but may cause issues"} 
[2026-08-22 22:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787415951000,"timestamp_ms":1787415951000,"timestamp_seconds":1787415951,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4af698"} 
[2026-08-22 22: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-22 22: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-22 22: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-22 22: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-22 22: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-22 22: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-22 22:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:01:25] 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-22 22:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578405888001,"66":26115,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8901435057842911232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578405888001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:01:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:01:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842911232,"description":"Unknown IO ID 45"} 
[2026-08-22 22:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578405888001,"power":26115,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901435057842911232}} 
[2026-08-22 22:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":160089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:01:26] local.INFO: GPS data processed {"connection_id":160089,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:01:26] local.INFO: Acknowledgment sent {"connection_id":160089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:01:28] local.INFO: TCP Data received {"connection_id":160090,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4c2b30012d08f08007270048001600f223..."} 
[2026-08-22 22:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4c2b30012d08f08007270048001600f223..."} 
[2026-08-22 22:01:28] local.INFO: Processing buffer {"connection_id":160090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4c2b30012d08f08007270048001600f223..."} 
[2026-08-22 22:01:28] local.INFO: Packet analysis {"connection_id":160090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4c"} 
[2026-08-22 22:01:28] local.INFO: Extracted packet for processing {"connection_id":160090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4c"} 
[2026-08-22 22:01:28] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":35,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578498304001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 22:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 22:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787416030000,"timestamp_ms":1787416030000,"timestamp_seconds":1787416030,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4c2b30"} 
[2026-08-22 22: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-22 22:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 22: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-22 22:01:28] 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-22 22: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-22 22: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-22 22:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578498304001,"66":12493,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 22:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578498304001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:01:28] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 22:01:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 22:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578498304001,"power":12493,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 22:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":160090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:01:28] local.INFO: GPS data processed {"connection_id":160090,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:01:28] local.INFO: Acknowledgment sent {"connection_id":160090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:01:48] local.INFO: TCP Data received {"connection_id":161258,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:01:48] local.INFO: Processing buffer {"connection_id":161258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:01:48] local.INFO: IMEI packet received {"connection_id":161258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":161258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:01:51] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:01:51] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:01:51] local.INFO: IMEI packet received {"connection_id":160309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":160309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:01:53] local.INFO: TCP Data received {"connection_id":161258,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:01:53] local.INFO: Processing buffer {"connection_id":161258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:01:53] local.INFO: IMEI packet received {"connection_id":161258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":161258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:01:54] local.INFO: TCP Data received {"connection_id":161258,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:01:54] local.INFO: Processing buffer {"connection_id":161258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:01:54] local.INFO: Packet analysis {"connection_id":161258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:01:54] local.INFO: Extracted packet for processing {"connection_id":161258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578483456001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787416252000,"timestamp_ms":1787416252000,"timestamp_seconds":1787416252,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4f8e60"} 
[2026-08-22 22:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-22 22:01:54] 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-22 22:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:01:54] 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-22 22:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578483456001,"66":26060,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578483456001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:01:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:01:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578483456001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":161258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:01:54] local.INFO: GPS data processed {"connection_id":161258,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:01:54] local.INFO: Acknowledgment sent {"connection_id":161258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:01:57] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:01:57] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:01:57] local.INFO: IMEI packet received {"connection_id":160309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":160309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:01:58] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4c7d38012d08f08007270048001600f222..."} 
[2026-08-22 22:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4c7d38012d08f08007270048001600f222..."} 
[2026-08-22 22:01:58] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4c7d38012d08f08007270048001600f222..."} 
[2026-08-22 22:01:58] local.INFO: Packet analysis {"connection_id":160309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4c"} 
[2026-08-22 22:01:58] local.INFO: Extracted packet for processing {"connection_id":160309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4c"} 
[2026-08-22 22:01:58] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":34,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578503680001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 22:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 22:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787416051000,"timestamp_ms":1787416051000,"timestamp_seconds":1787416051,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4c7d38"} 
[2026-08-22 22: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-22 22:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-22 22:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22: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-22 22: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-22 22:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578503680001,"66":12428,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 22:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578503680001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:01:58] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 22:01:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 22:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578503680001,"power":12428,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 22:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":160309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:01:58] local.INFO: GPS data processed {"connection_id":160309,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:01:58] local.INFO: Acknowledgment sent {"connection_id":160309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:01:58] local.INFO: TCP Data received {"connection_id":161258,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:01:58] local.INFO: Processing buffer {"connection_id":161258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:01:58] local.INFO: Packet analysis {"connection_id":161258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:01:58] local.INFO: Extracted packet for processing {"connection_id":161258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578483456001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787416252000,"timestamp_ms":1787416252000,"timestamp_seconds":1787416252,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4f8e60"} 
[2026-08-22 22: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-22 22:01: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-22 22: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-22 22:01:58] 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-22 22: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-22 22: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-22 22:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:01: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-22 22:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578483456001,"66":26060,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578483456001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:01:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:01:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578483456001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":161258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:01:58] local.INFO: GPS data processed {"connection_id":161258,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:01:58] local.INFO: Acknowledgment sent {"connection_id":161258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:02:28] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4ccf40012d08f08007270048001600f224..."} 
[2026-08-22 22:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4ccf40012d08f08007270048001600f224..."} 
[2026-08-22 22:02:28] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4ccf40012d08f08007270048001600f224..."} 
[2026-08-22 22:02:28] local.INFO: Packet analysis {"connection_id":160309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4c"} 
[2026-08-22 22:02:28] local.INFO: Extracted packet for processing {"connection_id":160309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4c"} 
[2026-08-22 22:02:28] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 22:02: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-22 22:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578509056001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 22:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 22:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787416072000,"timestamp_ms":1787416072000,"timestamp_seconds":1787416072,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4ccf40"} 
[2026-08-22 22:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:02: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":140,"data_length":795,"current_offset":136} 
[2026-08-22 22:02:28] 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-22 22:02: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-22 22:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578509056001,"66":12406,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 22:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578509056001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:02:28] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 22:02:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 22:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578509056001,"power":12406,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 22:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":160309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:02:28] local.INFO: GPS data processed {"connection_id":160309,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:02:28] local.INFO: Acknowledgment sent {"connection_id":160309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:02:30] local.INFO: TCP Data received {"connection_id":161258,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:02:30] local.INFO: Processing buffer {"connection_id":161258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:02:30] local.INFO: Packet analysis {"connection_id":161258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:02:30] local.INFO: Extracted packet for processing {"connection_id":161258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578483456001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787416252000,"timestamp_ms":1787416252000,"timestamp_seconds":1787416252,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4f8e60"} 
[2026-08-22 22: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-22 22:02: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-22 22: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-22 22:02: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-22 22: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-22 22: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-22 22:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:02: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-22 22:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578483456001,"66":26060,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578483456001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:02:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:02:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578483456001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":161258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:02:30] local.INFO: GPS data processed {"connection_id":161258,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:02:30] local.INFO: Acknowledgment sent {"connection_id":161258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:02:48] local.INFO: TCP Data received {"connection_id":160091,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:02:48] local.INFO: Processing buffer {"connection_id":160091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:02:48] local.INFO: IMEI packet received {"connection_id":160091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":160091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:02:51] local.INFO: TCP Data received {"connection_id":162681,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:02:51] local.INFO: Processing buffer {"connection_id":162681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:02:51] local.INFO: IMEI packet received {"connection_id":162681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":162681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:02:53] local.INFO: TCP Data received {"connection_id":160091,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:02:53] local.INFO: Processing buffer {"connection_id":160091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:02:53] local.INFO: IMEI packet received {"connection_id":160091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":160091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:02:54] local.INFO: TCP Data received {"connection_id":160091,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:02:54] local.INFO: Processing buffer {"connection_id":160091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:02:54] local.INFO: Packet analysis {"connection_id":160091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:02:54] local.INFO: Extracted packet for processing {"connection_id":160091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:02:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578483456001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787416252000,"timestamp_ms":1787416252000,"timestamp_seconds":1787416252,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4f8e60"} 
[2026-08-22 22:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-22 22:02:54] 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-22 22:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:02:54] 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-22 22:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578483456001,"66":26060,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578483456001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:02:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:02:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578483456001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":160091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:02:54] local.INFO: GPS data processed {"connection_id":160091,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:02:54] local.INFO: Acknowledgment sent {"connection_id":160091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:02:57] local.INFO: TCP Data received {"connection_id":162681,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:02:57] local.INFO: Processing buffer {"connection_id":162681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:02:57] local.INFO: IMEI packet received {"connection_id":162681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":162681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:02:57] local.INFO: TCP Data received {"connection_id":162681,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4d2148012d08f08007270048001600f224..."} 
[2026-08-22 22:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4d2148012d08f08007270048001600f224..."} 
[2026-08-22 22:02:57] local.INFO: Processing buffer {"connection_id":162681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4d2148012d08f08007270048001600f224..."} 
[2026-08-22 22:02:57] local.INFO: Packet analysis {"connection_id":162681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4d"} 
[2026-08-22 22:02:57] local.INFO: Extracted packet for processing {"connection_id":162681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4d"} 
[2026-08-22 22:02:57] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578514432001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 22:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 22:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787416093000,"timestamp_ms":1787416093000,"timestamp_seconds":1787416093,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4d2148"} 
[2026-08-22 22: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-22 22:02:57] 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-22 22: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 22:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22: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-22 22: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-22 22:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578514432001,"66":12428,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 22:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578514432001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:02:57] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 22:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 22:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578514432001,"power":12428,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 22:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":162681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:02:58] local.INFO: GPS data processed {"connection_id":162681,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:02:58] local.INFO: Acknowledgment sent {"connection_id":162681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:03:25] local.INFO: TCP Data received {"connection_id":160091,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:03:25] local.INFO: Processing buffer {"connection_id":160091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:03:25] local.INFO: Packet analysis {"connection_id":160091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:03:25] local.INFO: Extracted packet for processing {"connection_id":160091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:03:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578483456001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787416252000,"timestamp_ms":1787416252000,"timestamp_seconds":1787416252,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4f8e60"} 
[2026-08-22 22: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-22 22: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-22 22: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":3,"data_length":795,"current_offset":136} 
[2026-08-22 22:03: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-22 22: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-22 22: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-22 22:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:03:25] 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-22 22:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578483456001,"66":26060,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578483456001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:03:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:03:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578483456001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":160091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:03:25] local.INFO: GPS data processed {"connection_id":160091,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:03:25] local.INFO: Acknowledgment sent {"connection_id":160091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:03:28] local.INFO: TCP Data received {"connection_id":162681,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a50a7a0012d08f08007270048001600f225..."} 
[2026-08-22 22:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a50a7a0012d08f08007270048001600f225..."} 
[2026-08-22 22:03:28] local.INFO: Processing buffer {"connection_id":162681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a50a7a0012d08f08007270048001600f225..."} 
[2026-08-22 22:03:28] local.INFO: Packet analysis {"connection_id":162681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a50"} 
[2026-08-22 22:03:28] local.INFO: Extracted packet for processing {"connection_id":162681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a50"} 
[2026-08-22 22:03:28] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 22:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578573568001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 22:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 22:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787416324000,"timestamp_ms":1787416324000,"timestamp_seconds":1787416324,"priority":1,"record_length":96,"hex_timestamp":"000001a02a50a7a0"} 
[2026-08-22 22:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-22 22:03:28] 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-22 22:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578573568001,"66":12232,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 22:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578573568001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:03:28] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 22:03:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 22:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578573568001,"power":12232,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 22:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":162681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:03:28] local.INFO: GPS data processed {"connection_id":162681,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:03:28] local.INFO: Acknowledgment sent {"connection_id":162681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:03:49] local.INFO: TCP Data received {"connection_id":161259,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:03:49] local.INFO: Processing buffer {"connection_id":161259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:03:49] local.INFO: IMEI packet received {"connection_id":161259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":161259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:03:51] local.INFO: TCP Data received {"connection_id":160310,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:03:51] local.INFO: Processing buffer {"connection_id":160310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:03:51] local.INFO: IMEI packet received {"connection_id":160310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":160310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:03:53] local.INFO: TCP Data received {"connection_id":161259,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:03:53] local.INFO: Processing buffer {"connection_id":161259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:03:53] local.INFO: IMEI packet received {"connection_id":161259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":161259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:03:54] local.INFO: TCP Data received {"connection_id":161259,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:03:54] local.INFO: Processing buffer {"connection_id":161259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:03:54] local.INFO: Packet analysis {"connection_id":161259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:03:54] local.INFO: Extracted packet for processing {"connection_id":161259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578483456001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787416252000,"timestamp_ms":1787416252000,"timestamp_seconds":1787416252,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4f8e60"} 
[2026-08-22 22:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-22 22:03:54] 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-22 22:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:03:54] 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-22 22:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578483456001,"66":26060,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578483456001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:03:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:03:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578483456001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":161259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:03:54] local.INFO: GPS data processed {"connection_id":161259,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:03:54] local.INFO: Acknowledgment sent {"connection_id":161259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:03:57] local.INFO: TCP Data received {"connection_id":160310,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:03:57] local.INFO: Processing buffer {"connection_id":160310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:03:57] local.INFO: IMEI packet received {"connection_id":160310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":160310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:03:57] local.INFO: TCP Data received {"connection_id":160310,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a50f9a8012d08f08007270048001600f223..."} 
[2026-08-22 22:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a50f9a8012d08f08007270048001600f223..."} 
[2026-08-22 22:03:57] local.INFO: Processing buffer {"connection_id":160310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a50f9a8012d08f08007270048001600f223..."} 
[2026-08-22 22:03:57] local.INFO: Packet analysis {"connection_id":160310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a50"} 
[2026-08-22 22:03:57] local.INFO: Extracted packet for processing {"connection_id":160310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a50"} 
[2026-08-22 22:03:57] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":35,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578578944001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 22:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 22:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787416345000,"timestamp_ms":1787416345000,"timestamp_seconds":1787416345,"priority":1,"record_length":96,"hex_timestamp":"000001a02a50f9a8"} 
[2026-08-22 22: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-22 22:03:57] 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-22 22: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-22 22:03:57] 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-22 22: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-22 22: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-22 22:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578578944001,"66":12461,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 22:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578578944001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:03:57] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 22:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 22:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578578944001,"power":12461,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 22:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":160310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:03:58] local.INFO: GPS data processed {"connection_id":160310,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:03:58] local.INFO: Acknowledgment sent {"connection_id":160310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:04:25] local.INFO: TCP Data received {"connection_id":161259,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:04:25] local.INFO: Processing buffer {"connection_id":161259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:04:25] local.INFO: Packet analysis {"connection_id":161259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:04:25] local.INFO: Extracted packet for processing {"connection_id":161259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:04:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578483456001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787416252000,"timestamp_ms":1787416252000,"timestamp_seconds":1787416252,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4f8e60"} 
[2026-08-22 22: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-22 22: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-22 22: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":3,"data_length":795,"current_offset":136} 
[2026-08-22 22:04: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-22 22: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-22 22: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-22 22:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:04:25] 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-22 22:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578483456001,"66":26060,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578483456001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:04:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:04:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578483456001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":161259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:04:25] local.INFO: GPS data processed {"connection_id":161259,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:04:25] local.INFO: Acknowledgment sent {"connection_id":161259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:04:29] local.INFO: TCP Data received {"connection_id":160310,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a514bb0012d08f08007270048001600f222..."} 
[2026-08-22 22:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a514bb0012d08f08007270048001600f222..."} 
[2026-08-22 22:04:29] local.INFO: Processing buffer {"connection_id":160310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a514bb0012d08f08007270048001600f222..."} 
[2026-08-22 22:04:29] local.INFO: Packet analysis {"connection_id":160310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a51"} 
[2026-08-22 22:04:29] local.INFO: Extracted packet for processing {"connection_id":160310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a51"} 
[2026-08-22 22:04:29] local.INFO: GPS Element Parsed {"raw_longitude":755560576,"raw_latitude":119996488,"longitude_deg":75.5560576,"latitude_deg":11.9996488,"altitude":22,"angle":242,"satellites":34,"speed":0,"hex_longitude":"2d08f080","hex_latitude":"07270048","is_valid_coordinates":true} 
[2026-08-22 22:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578584320001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049316297080832,"note":"Value kept but may cause issues"} 
[2026-08-22 22:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 22:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787416366000,"timestamp_ms":1787416366000,"timestamp_seconds":1787416366,"priority":1,"record_length":96,"hex_timestamp":"000001a02a514bb0"} 
[2026-08-22 22:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-22 22:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578584320001,"66":12950,"237":206,"83":44288,"24":0,"16":15049316297080832,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 22:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578584320001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:04:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 22:04:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049316297080832,"km_value":15049316297080.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 22:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578584320001,"power":12950,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 22:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":160310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:04:29] local.INFO: GPS data processed {"connection_id":160310,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:04:29] local.INFO: Acknowledgment sent {"connection_id":160310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:04:48] local.INFO: TCP Data received {"connection_id":160092,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:04:48] local.INFO: Processing buffer {"connection_id":160092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:04:48] local.INFO: IMEI packet received {"connection_id":160092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":160092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:04:51] local.INFO: TCP Data received {"connection_id":161260,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:04:51] local.INFO: Processing buffer {"connection_id":161260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:04:51] local.INFO: IMEI packet received {"connection_id":161260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":161260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:04:53] local.INFO: TCP Data received {"connection_id":160092,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:04:53] local.INFO: Processing buffer {"connection_id":160092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:04:53] local.INFO: IMEI packet received {"connection_id":160092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":160092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:04:54] local.INFO: TCP Data received {"connection_id":160092,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:04:54] local.INFO: Processing buffer {"connection_id":160092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:04:54] local.INFO: Packet analysis {"connection_id":160092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:04:54] local.INFO: Extracted packet for processing {"connection_id":160092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:04:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578483456001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787416252000,"timestamp_ms":1787416252000,"timestamp_seconds":1787416252,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4f8e60"} 
[2026-08-22 22:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-22 22:04:54] 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-22 22:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:04:54] 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-22 22:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578483456001,"66":26060,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578483456001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:04:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:04:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578483456001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":160092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:04:54] local.INFO: GPS data processed {"connection_id":160092,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:04:54] local.INFO: Acknowledgment sent {"connection_id":160092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:04:57] local.INFO: TCP Data received {"connection_id":161260,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:04:57] local.INFO: Processing buffer {"connection_id":161260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:04:57] local.INFO: IMEI packet received {"connection_id":161260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":161260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:04:58] local.INFO: TCP Data received {"connection_id":161260,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a517e78012d08eb000726fd58001e00ff25..."} 
[2026-08-22 22:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a517e78012d08eb000726fd58001e00ff25..."} 
[2026-08-22 22:04:58] local.INFO: Processing buffer {"connection_id":161260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a517e78012d08eb000726fd58001e00ff25..."} 
[2026-08-22 22:04:58] local.INFO: Packet analysis {"connection_id":161260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a51"} 
[2026-08-22 22:04:58] local.INFO: Extracted packet for processing {"connection_id":161260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a51"} 
[2026-08-22 22:04:58] local.INFO: GPS Element Parsed {"raw_longitude":755559168,"raw_latitude":119995736,"longitude_deg":75.5559168,"latitude_deg":11.9995736,"altitude":30,"angle":255,"satellites":37,"speed":14,"hex_longitude":"2d08eb00","hex_latitude":"0726fd58","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578589696001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049393606492160,"note":"Value kept but may cause issues"} 
[2026-08-22 22:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644155514921437184,"note":"Value kept but may cause issues"} 
[2026-08-22 22:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787416379000,"timestamp_ms":1787416379000,"timestamp_seconds":1787416379,"priority":1,"record_length":96,"hex_timestamp":"000001a02a517e78"} 
[2026-08-22 22: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-22 22:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 22:04:58] 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-22 22: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-22 22: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-22 22:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578589696001,"66":12689,"237":206,"83":44288,"24":14,"16":15049393606492160,"45":644155514921437184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 22:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578589696001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:04:58] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 22:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049393606492160,"km_value":15049393606492.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":644155514921437184,"description":"Unknown IO ID 45"} 
[2026-08-22 22:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578589696001,"power":12689,"unknown_237":206,"unknown_83":44288,"ignition":14,"odometer":null,"unknown_45":644155514921437184}} 
[2026-08-22 22:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":161260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:04:58] local.INFO: GPS data processed {"connection_id":161260,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:04:58] local.INFO: Acknowledgment sent {"connection_id":161260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:05:26] local.INFO: TCP Data received {"connection_id":160092,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:05:26] local.INFO: Processing buffer {"connection_id":160092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:05:26] local.INFO: Packet analysis {"connection_id":160092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:05:26] local.INFO: Extracted packet for processing {"connection_id":160092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:05:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578483456001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787416252000,"timestamp_ms":1787416252000,"timestamp_seconds":1787416252,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4f8e60"} 
[2026-08-22 22:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:05: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-22 22:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-22 22:05: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-22 22:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:05:26] 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-22 22:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578483456001,"66":26060,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578483456001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:05:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:05:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578483456001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":160092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:05:26] local.INFO: GPS data processed {"connection_id":160092,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:05:26] local.INFO: Acknowledgment sent {"connection_id":160092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:05:29] local.INFO: TCP Data received {"connection_id":161260,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a519200012d08e4000726fb90001d00f122..."} 
[2026-08-22 22:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a519200012d08e4000726fb90001d00f122..."} 
[2026-08-22 22:05:29] local.INFO: Processing buffer {"connection_id":161260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a519200012d08e4000726fb90001d00f122..."} 
[2026-08-22 22:05:29] local.INFO: Packet analysis {"connection_id":161260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a51"} 
[2026-08-22 22:05:29] local.INFO: Extracted packet for processing {"connection_id":161260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a51"} 
[2026-08-22 22:05:29] local.INFO: GPS Element Parsed {"raw_longitude":755557376,"raw_latitude":119995280,"longitude_deg":75.5557376,"latitude_deg":11.999528,"altitude":29,"angle":241,"satellites":34,"speed":10,"hex_longitude":"2d08e400","hex_latitude":"0726fb90","is_valid_coordinates":true} 
[2026-08-22 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-22 22:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578593024001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15049479505838080,"note":"Value kept but may cause issues"} 
[2026-08-22 22:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":642607402549336064,"note":"Value kept but may cause issues"} 
[2026-08-22 22:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787416384000,"timestamp_ms":1787416384000,"timestamp_seconds":1787416384,"priority":1,"record_length":96,"hex_timestamp":"000001a02a519200"} 
[2026-08-22 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-22 22:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-22 22:05:29] 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-22 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-22 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-22 22:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578593024001,"66":13135,"237":206,"83":44288,"24":10,"16":15049479505838080,"45":642607402549336064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 22:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578593024001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:05:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 22:05:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15049479505838080,"km_value":15049479505838.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":642607402549336064,"description":"Unknown IO ID 45"} 
[2026-08-22 22:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578593024001,"power":13135,"unknown_237":206,"unknown_83":44288,"ignition":10,"odometer":null,"unknown_45":642607402549336064}} 
[2026-08-22 22:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":161260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:05:29] local.INFO: GPS data processed {"connection_id":161260,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:05:29] local.INFO: Acknowledgment sent {"connection_id":161260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:05:51] local.INFO: TCP Data received {"connection_id":162682,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:05:51] local.INFO: Processing buffer {"connection_id":162682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:05:51] local.INFO: IMEI packet received {"connection_id":162682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":162682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:05:53] local.INFO: TCP Data received {"connection_id":160093,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:05:53] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:05:53] local.INFO: IMEI packet received {"connection_id":160093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":160093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:05:57] local.INFO: TCP Data received {"connection_id":162682,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:05:57] local.INFO: Processing buffer {"connection_id":162682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:05:57] local.INFO: IMEI packet received {"connection_id":162682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":162682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:05:57] local.INFO: TCP Data received {"connection_id":162682,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a533010012d0896400726bc88002000c924..."} 
[2026-08-22 22:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a533010012d0896400726bc88002000c924..."} 
[2026-08-22 22:05:57] local.INFO: Processing buffer {"connection_id":162682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a533010012d0896400726bc88002000c924..."} 
[2026-08-22 22:05:57] local.INFO: Packet analysis {"connection_id":162682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a53"} 
[2026-08-22 22:05:57] local.INFO: Extracted packet for processing {"connection_id":162682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a53"} 
[2026-08-22 22:05:57] local.INFO: GPS Element Parsed {"raw_longitude":755537472,"raw_latitude":119979144,"longitude_deg":75.5537472,"latitude_deg":11.9979144,"altitude":32,"angle":201,"satellites":36,"speed":16,"hex_longitude":"2d089640","hex_latitude":"0726bc88","is_valid_coordinates":true} 
[2026-08-22 22:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578618112001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15050742226223104,"note":"Value kept but may cause issues"} 
[2026-08-22 22:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":622200466734594048,"note":"Value kept but may cause issues"} 
[2026-08-22 22:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787416490000,"timestamp_ms":1787416490000,"timestamp_seconds":1787416490,"priority":1,"record_length":96,"hex_timestamp":"000001a02a533010"} 
[2026-08-22 22: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-22 22:05:57] 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-22 22: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-22 22:05:57] 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-22 22: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-22 22: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-22 22:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578618112001,"66":13396,"237":206,"83":44288,"24":16,"16":15050742226223104,"45":622200466734594048},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 22:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578618112001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:05:57] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 22:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15050742226223104,"km_value":15050742226223.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":622200466734594048,"description":"Unknown IO ID 45"} 
[2026-08-22 22:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578618112001,"power":13396,"unknown_237":206,"unknown_83":44288,"ignition":16,"odometer":null,"unknown_45":622200466734594048}} 
[2026-08-22 22:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":162682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:05:58] local.INFO: GPS data processed {"connection_id":162682,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:05:58] local.INFO: Acknowledgment sent {"connection_id":162682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:05:58] local.INFO: TCP Data received {"connection_id":160093,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:05:58] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:05:58] local.INFO: IMEI packet received {"connection_id":160093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":160093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:06:02] local.INFO: TCP Data received {"connection_id":160093,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:06:02] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:06:02] local.INFO: Packet analysis {"connection_id":160093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:06:02] local.INFO: Extracted packet for processing {"connection_id":160093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578483456001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787416252000,"timestamp_ms":1787416252000,"timestamp_seconds":1787416252,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4f8e60"} 
[2026-08-22 22: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-22 22:06: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-22 22: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-22 22:06:02] 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-22 22: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-22 22: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-22 22:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:06:02] 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-22 22:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578483456001,"66":26060,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578483456001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:06:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:06:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578483456001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":160093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:06:02] local.INFO: GPS data processed {"connection_id":160093,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:06:02] local.INFO: Acknowledgment sent {"connection_id":160093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:06:03] local.INFO: TCP Data received {"connection_id":160093,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:06:03] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a4f8e60012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:06:03] local.INFO: Packet analysis {"connection_id":160093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:06:03] local.INFO: Extracted packet for processing {"connection_id":160093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a4f"} 
[2026-08-22 22:06:03] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578483456001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787416252000,"timestamp_ms":1787416252000,"timestamp_seconds":1787416252,"priority":1,"record_length":96,"hex_timestamp":"000001a02a4f8e60"} 
[2026-08-22 22: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-22 22:06: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-22 22: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-22 22:06: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-22 22: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-22 22: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-22 22:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:06:03] 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-22 22:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578483456001,"66":26060,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578483456001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:06:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:06:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578483456001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":160093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:06:03] local.INFO: GPS data processed {"connection_id":160093,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:06:03] local.INFO: Acknowledgment sent {"connection_id":160093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:06:29] local.INFO: TCP Data received {"connection_id":162682,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a533bc8012d0895400726b728002100b823..."} 
[2026-08-22 22:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a533bc8012d0895400726b728002100b823..."} 
[2026-08-22 22:06:29] local.INFO: Processing buffer {"connection_id":162682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a533bc8012d0895400726b728002100b823..."} 
[2026-08-22 22:06:29] local.INFO: Packet analysis {"connection_id":162682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a53"} 
[2026-08-22 22:06:29] local.INFO: Extracted packet for processing {"connection_id":162682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a53"} 
[2026-08-22 22:06:29] local.INFO: GPS Element Parsed {"raw_longitude":755537216,"raw_latitude":119977768,"longitude_deg":75.5537216,"latitude_deg":11.9977768,"altitude":33,"angle":184,"satellites":35,"speed":20,"hex_longitude":"2d089540","hex_latitude":"0726b728","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578621440001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15050810945699840,"note":"Value kept but may cause issues"} 
[2026-08-22 22:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":618752398268860416,"note":"Value kept but may cause issues"} 
[2026-08-22 22:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787416493000,"timestamp_ms":1787416493000,"timestamp_seconds":1787416493,"priority":1,"record_length":96,"hex_timestamp":"000001a02a533bc8"} 
[2026-08-22 22: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-22 22:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-22 22:06:29] 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-22 22: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-22 22: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-22 22:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578621440001,"66":13450,"237":206,"83":44288,"24":20,"16":15050810945699840,"45":618752398268860416},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 22:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578621440001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:06:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 22:06:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15050810945699840,"km_value":15050810945699.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":618752398268860416,"description":"Unknown IO ID 45"} 
[2026-08-22 22:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578621440001,"power":13450,"unknown_237":206,"unknown_83":44288,"ignition":20,"odometer":null,"unknown_45":618752398268860416}} 
[2026-08-22 22:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":162682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:06:29] local.INFO: GPS data processed {"connection_id":162682,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:06:29] local.INFO: Acknowledgment sent {"connection_id":162682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:06:48] local.INFO: TCP Data received {"connection_id":160311,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:06:48] local.INFO: Processing buffer {"connection_id":160311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:06:48] local.INFO: IMEI packet received {"connection_id":160311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":160311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:06:53] local.INFO: TCP Data received {"connection_id":160311,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:06:53] local.INFO: Processing buffer {"connection_id":160311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:06:53] local.INFO: IMEI packet received {"connection_id":160311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":160311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:06:54] local.INFO: TCP Data received {"connection_id":160311,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:06:54] local.INFO: Processing buffer {"connection_id":160311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:06:54] local.INFO: Packet analysis {"connection_id":160311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:06:54] local.INFO: Extracted packet for processing {"connection_id":160311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:06:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578560512001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787416553000,"timestamp_ms":1787416553000,"timestamp_seconds":1787416553,"priority":1,"record_length":96,"hex_timestamp":"000001a02a542628"} 
[2026-08-22 22: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-22 22:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 22:06:54] 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-22 22: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-22 22: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-22 22:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:06:54] 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-22 22:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578560512001,"66":25995,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578560512001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:06:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:06:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578560512001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":160311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:06:54] local.INFO: GPS data processed {"connection_id":160311,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:06:54] local.INFO: Acknowledgment sent {"connection_id":160311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:06:58] local.INFO: TCP Data received {"connection_id":160311,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:06:58] local.INFO: Processing buffer {"connection_id":160311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:06:58] local.INFO: Packet analysis {"connection_id":160311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:06:58] local.INFO: Extracted packet for processing {"connection_id":160311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578560512001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787416553000,"timestamp_ms":1787416553000,"timestamp_seconds":1787416553,"priority":1,"record_length":96,"hex_timestamp":"000001a02a542628"} 
[2026-08-22 22: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-22 22:06: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-22 22: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 22:06: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-22 22: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-22 22: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-22 22:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:06:58] 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-22 22:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578560512001,"66":25995,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578560512001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:06:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:06:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578560512001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":160311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:06:59] local.INFO: GPS data processed {"connection_id":160311,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:06:59] local.INFO: Acknowledgment sent {"connection_id":160311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:07:02] local.INFO: TCP Data received {"connection_id":160312,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:02] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:02] local.INFO: IMEI packet received {"connection_id":160312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":160312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:07:02] local.INFO: TCP Data received {"connection_id":160312,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:02] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:02] local.INFO: IMEI packet received {"connection_id":160312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":160312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:07:04] local.INFO: TCP Data received {"connection_id":160312,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a535720012d0893400726a948002200c923..."} 
[2026-08-22 22:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a535720012d0893400726a948002200c923..."} 
[2026-08-22 22:07:04] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a535720012d0893400726a948002200c923..."} 
[2026-08-22 22:07:04] local.INFO: Packet analysis {"connection_id":160312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a53"} 
[2026-08-22 22:07:04] local.INFO: Extracted packet for processing {"connection_id":160312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a53"} 
[2026-08-22 22:07:04] local.INFO: GPS Element Parsed {"raw_longitude":755536704,"raw_latitude":119974216,"longitude_deg":75.5536704,"latitude_deg":11.9974216,"altitude":34,"angle":201,"satellites":35,"speed":22,"hex_longitude":"2d089340","hex_latitude":"0726a948","is_valid_coordinates":true} 
[2026-08-22 22:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578622208001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15050987039358976,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":618470923291797504,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787416500000,"timestamp_ms":1787416500000,"timestamp_seconds":1787416500,"priority":1,"record_length":96,"hex_timestamp":"000001a02a535720"} 
[2026-08-22 22:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-22 22:07:04] 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-22 22:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578622208001,"66":13852,"237":206,"83":44288,"24":22,"16":15050987039358976,"45":618470923291797504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 22:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578622208001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:07:04] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 22:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15050987039358976,"km_value":15050987039358.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":618470923291797504,"description":"Unknown IO ID 45"} 
[2026-08-22 22:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578622208001,"power":13852,"unknown_237":206,"unknown_83":44288,"ignition":22,"odometer":null,"unknown_45":618470923291797504}} 
[2026-08-22 22:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":160312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:07:04] local.INFO: GPS data processed {"connection_id":160312,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:07:04] local.INFO: Acknowledgment sent {"connection_id":160312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:07:05] local.INFO: TCP Data received {"connection_id":160312,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a535ef0012d0890400726a568002300dc22..."} 
[2026-08-22 22:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a535ef0012d0890400726a568002300dc22..."} 
[2026-08-22 22:07:05] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a535ef0012d0890400726a568002300dc22..."} 
[2026-08-22 22:07:05] local.INFO: Packet analysis {"connection_id":160312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a53"} 
[2026-08-22 22:07:05] local.INFO: Extracted packet for processing {"connection_id":160312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a53"} 
[2026-08-22 22:07:05] local.INFO: GPS Element Parsed {"raw_longitude":755535936,"raw_latitude":119973224,"longitude_deg":75.5535936,"latitude_deg":11.9973224,"altitude":35,"angle":220,"satellites":34,"speed":25,"hex_longitude":"2d089040","hex_latitude":"0726a568","is_valid_coordinates":true} 
[2026-08-22 22:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578624000001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15051047168901120,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":617907973337466880,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787416502000,"timestamp_ms":1787416502000,"timestamp_seconds":1787416502,"priority":1,"record_length":96,"hex_timestamp":"000001a02a535ef0"} 
[2026-08-22 22:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:07:05] 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-22 22:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-22 22:07:05] 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-22 22:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578624000001,"66":13852,"237":206,"83":44288,"24":25,"16":15051047168901120,"45":617907973337466880},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-22 22:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578624000001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:07:05] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-22 22:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15051047168901120,"km_value":15051047168901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":617907973337466880,"description":"Unknown IO ID 45"} 
[2026-08-22 22:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578624000001,"power":13852,"unknown_237":206,"unknown_83":44288,"ignition":25,"odometer":null,"unknown_45":617907973337466880}} 
[2026-08-22 22:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":160312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:07:05] local.INFO: GPS data processed {"connection_id":160312,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:07:05] local.INFO: Acknowledgment sent {"connection_id":160312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:07:30] local.INFO: TCP Data received {"connection_id":160311,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:07:30] local.INFO: Processing buffer {"connection_id":160311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:07:30] local.INFO: Packet analysis {"connection_id":160311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:07:30] local.INFO: Extracted packet for processing {"connection_id":160311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578560512001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787416553000,"timestamp_ms":1787416553000,"timestamp_seconds":1787416553,"priority":1,"record_length":96,"hex_timestamp":"000001a02a542628"} 
[2026-08-22 22: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-22 22: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-22 22: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":204,"data_length":795,"current_offset":136} 
[2026-08-22 22:07: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-22 22: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-22 22: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-22 22:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:07: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-22 22:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578560512001,"66":25995,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578560512001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:07:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:07:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578560512001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":160311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:07:30] local.INFO: GPS data processed {"connection_id":160311,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:07:30] local.INFO: Acknowledgment sent {"connection_id":160311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:07:36] local.INFO: TCP Data received {"connection_id":160312,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a54ed60012d08284007262fa0001e00f622..."} 
[2026-08-22 22:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a54ed60012d08284007262fa0001e00f622..."} 
[2026-08-22 22:07:36] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a54ed60012d08284007262fa0001e00f622..."} 
[2026-08-22 22:07:36] local.INFO: Packet analysis {"connection_id":160312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:07:36] local.INFO: Extracted packet for processing {"connection_id":160312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:07:36] local.INFO: GPS Element Parsed {"raw_longitude":755509312,"raw_latitude":119943072,"longitude_deg":75.5509312,"latitude_deg":11.9943072,"altitude":30,"angle":246,"satellites":34,"speed":13,"hex_longitude":"2d082840","hex_latitude":"07262fa0","is_valid_coordinates":true} 
[2026-08-22 22:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578650112001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15053237602222080,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":588634575751647232,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787416604000,"timestamp_ms":1787416604000,"timestamp_seconds":1787416604,"priority":1,"record_length":96,"hex_timestamp":"000001a02a54ed60"} 
[2026-08-22 22:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-22 22:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578650112001,"66":12374,"253":206,"83":44288,"24":13,"16":15053237602222080,"45":588634575751647232},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,83,24,16,45]} 
[2026-08-22 22:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578650112001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:07:36] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-22 22:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15053237602222080,"km_value":15053237602222.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":588634575751647232,"description":"Unknown IO ID 45"} 
[2026-08-22 22:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578650112001,"power":12374,"unknown_253":206,"unknown_83":44288,"ignition":13,"odometer":null,"unknown_45":588634575751647232}} 
[2026-08-22 22:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":160312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:07:36] local.INFO: GPS data processed {"connection_id":160312,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:07:36] local.INFO: Acknowledgment sent {"connection_id":160312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:07:48] local.INFO: TCP Data received {"connection_id":162683,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:07:48] local.INFO: Processing buffer {"connection_id":162683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:07:48] local.INFO: IMEI packet received {"connection_id":162683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":162683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:07:50] local.INFO: TCP Data received {"connection_id":160094,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:50] local.INFO: Processing buffer {"connection_id":160094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:50] local.INFO: IMEI packet received {"connection_id":160094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":160094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:07:51] local.INFO: TCP Data received {"connection_id":160094,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:51] local.INFO: Processing buffer {"connection_id":160094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:51] local.INFO: IMEI packet received {"connection_id":160094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":160094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:07:52] local.INFO: TCP Data received {"connection_id":160094,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:52] local.INFO: Processing buffer {"connection_id":160094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:52] local.INFO: IMEI packet received {"connection_id":160094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":160094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:07:53] local.INFO: TCP Data received {"connection_id":162683,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:07:53] local.INFO: Processing buffer {"connection_id":162683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:07:53] local.INFO: IMEI packet received {"connection_id":162683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":162683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:07:53] local.INFO: TCP Data received {"connection_id":160094,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:53] local.INFO: Processing buffer {"connection_id":160094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:07:53] local.INFO: IMEI packet received {"connection_id":160094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":160094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:07:54] local.INFO: TCP Data received {"connection_id":162683,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:07:54] local.INFO: Processing buffer {"connection_id":162683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:07:54] local.INFO: Packet analysis {"connection_id":162683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:07:54] local.INFO: Extracted packet for processing {"connection_id":162683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:07:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578560512001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787416553000,"timestamp_ms":1787416553000,"timestamp_seconds":1787416553,"priority":1,"record_length":96,"hex_timestamp":"000001a02a542628"} 
[2026-08-22 22:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 22:07:54] 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-22 22:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:07:54] 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-22 22:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578560512001,"66":25995,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578560512001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:07:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:07:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578560512001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":162683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:07:54] local.INFO: GPS data processed {"connection_id":162683,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:07:54] local.INFO: Acknowledgment sent {"connection_id":162683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:07:54] local.INFO: TCP Data received {"connection_id":160094,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a54f530012d08260007262df8001e00ea22..."} 
[2026-08-22 22:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a54f530012d08260007262df8001e00ea22..."} 
[2026-08-22 22:07:54] local.INFO: Processing buffer {"connection_id":160094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a54f530012d08260007262df8001e00ea22..."} 
[2026-08-22 22:07:54] local.INFO: Packet analysis {"connection_id":160094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:07:54] local.INFO: Extracted packet for processing {"connection_id":160094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:07:54] local.INFO: GPS Element Parsed {"raw_longitude":755508736,"raw_latitude":119942648,"longitude_deg":75.5508736,"latitude_deg":11.9942648,"altitude":30,"angle":234,"satellites":34,"speed":16,"hex_longitude":"2d082600","hex_latitude":"07262df8","is_valid_coordinates":true} 
[2026-08-22 22:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578650624001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15053271961960448,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":587790150821453824,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787416606000,"timestamp_ms":1787416606000,"timestamp_seconds":1787416606,"priority":1,"record_length":96,"hex_timestamp":"000001a02a54f530"} 
[2026-08-22 22:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-22 22:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578650624001,"66":13276,"253":206,"83":44288,"24":16,"16":15053271961960448,"45":587790150821453824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,83,24,16,45]} 
[2026-08-22 22:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578650624001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:07:54] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-22 22:07:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15053271961960448,"km_value":15053271961960.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":587790150821453824,"description":"Unknown IO ID 45"} 
[2026-08-22 22:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578650624001,"power":13276,"unknown_253":206,"unknown_83":44288,"ignition":16,"odometer":null,"unknown_45":587790150821453824}} 
[2026-08-22 22:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":160094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:07:54] local.INFO: GPS data processed {"connection_id":160094,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:07:54] local.INFO: Acknowledgment sent {"connection_id":160094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:07:56] local.INFO: TCP Data received {"connection_id":160094,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a5500e8012d08220007262ab0001f00dc22..."} 
[2026-08-22 22:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a5500e8012d08220007262ab0001f00dc22..."} 
[2026-08-22 22:07:56] local.INFO: Processing buffer {"connection_id":160094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a5500e8012d08220007262ab0001f00dc22..."} 
[2026-08-22 22:07:56] local.INFO: Packet analysis {"connection_id":160094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a55"} 
[2026-08-22 22:07:56] local.INFO: Extracted packet for processing {"connection_id":160094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a55"} 
[2026-08-22 22:07:56] local.INFO: GPS Element Parsed {"raw_longitude":755507712,"raw_latitude":119941808,"longitude_deg":75.5507712,"latitude_deg":11.9941808,"altitude":31,"angle":220,"satellites":34,"speed":16,"hex_longitude":"2d082200","hex_latitude":"07262ab0","is_valid_coordinates":true} 
[2026-08-22 22:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578651136001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15053336386469888,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":587156832123746304,"note":"Value kept but may cause issues"} 
[2026-08-22 22:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787416609000,"timestamp_ms":1787416609000,"timestamp_seconds":1787416609,"priority":1,"record_length":96,"hex_timestamp":"000001a02a5500e8"} 
[2026-08-22 22:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 22:07:56] 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-22 22:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578651136001,"66":12809,"253":206,"83":44288,"24":16,"16":15053336386469888,"45":587156832123746304},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,83,24,16,45]} 
[2026-08-22 22:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578651136001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:07:56] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-22 22:07:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15053336386469888,"km_value":15053336386469.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":587156832123746304,"description":"Unknown IO ID 45"} 
[2026-08-22 22:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578651136001,"power":12809,"unknown_253":206,"unknown_83":44288,"ignition":16,"odometer":null,"unknown_45":587156832123746304}} 
[2026-08-22 22:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":160094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:07:56] local.INFO: GPS data processed {"connection_id":160094,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:07:56] local.INFO: Acknowledgment sent {"connection_id":160094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:08:26] local.INFO: TCP Data received {"connection_id":162683,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:08:26] local.INFO: Processing buffer {"connection_id":162683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:08:26] local.INFO: Packet analysis {"connection_id":162683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:08:26] local.INFO: Extracted packet for processing {"connection_id":162683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:08:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578560512001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787416553000,"timestamp_ms":1787416553000,"timestamp_seconds":1787416553,"priority":1,"record_length":96,"hex_timestamp":"000001a02a542628"} 
[2026-08-22 22:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:08: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-22 22:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 22:08: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-22 22:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:08:26] 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-22 22:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578560512001,"66":25995,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578560512001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:08:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:08:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578560512001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":162683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:08:26] local.INFO: GPS data processed {"connection_id":162683,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:08:26] local.INFO: Acknowledgment sent {"connection_id":162683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:08:27] local.INFO: TCP Data received {"connection_id":160094,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a55d7c0012d07f4c00725da58000f00c021..."} 
[2026-08-22 22:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a55d7c0012d07f4c00725da58000f00c021..."} 
[2026-08-22 22:08:27] local.INFO: Processing buffer {"connection_id":160094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a55d7c0012d07f4c00725da58000f00c021..."} 
[2026-08-22 22:08:27] local.INFO: Packet analysis {"connection_id":160094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a55"} 
[2026-08-22 22:08:27] local.INFO: Extracted packet for processing {"connection_id":160094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a55"} 
[2026-08-22 22:08:27] local.INFO: GPS Element Parsed {"raw_longitude":755496128,"raw_latitude":119921240,"longitude_deg":75.5496128,"latitude_deg":11.992124,"altitude":15,"angle":192,"satellites":33,"speed":31,"hex_longitude":"2d07f4c0","hex_latitude":"0725da58","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578665728001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15054749430710272,"note":"Value kept but may cause issues"} 
[2026-08-22 22:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":573505295747999744,"note":"Value kept but may cause issues"} 
[2026-08-22 22:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787416664000,"timestamp_ms":1787416664000,"timestamp_seconds":1787416664,"priority":1,"record_length":96,"hex_timestamp":"000001a02a55d7c0"} 
[2026-08-22 22: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-22 22:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 22:08:27] 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-22 22: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-22 22: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-22 22:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578665728001,"66":13559,"251":206,"83":44288,"24":31,"16":15054749430710272,"45":573505295747999744},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-08-22 22:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578665728001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:08:27] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-22 22:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15054749430710272,"km_value":15054749430710.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":573505295747999744,"description":"Unknown IO ID 45"} 
[2026-08-22 22:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578665728001,"power":13559,"unknown_251":206,"unknown_83":44288,"ignition":31,"odometer":null,"unknown_45":573505295747999744}} 
[2026-08-22 22:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":160094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:08:27] local.INFO: GPS data processed {"connection_id":160094,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:08:27] local.INFO: Acknowledgment sent {"connection_id":160094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:08:48] local.INFO: TCP Data received {"connection_id":160095,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:08:48] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:08:48] local.INFO: IMEI packet received {"connection_id":160095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":160095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:08:52] local.INFO: TCP Data received {"connection_id":160096,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:08:52] local.INFO: Processing buffer {"connection_id":160096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:08:52] local.INFO: IMEI packet received {"connection_id":160096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":160096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:08:53] local.INFO: TCP Data received {"connection_id":160096,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:08:53] local.INFO: Processing buffer {"connection_id":160096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:08:53] local.INFO: IMEI packet received {"connection_id":160096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":160096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:08:53] local.INFO: TCP Data received {"connection_id":160095,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:08:53] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:08:53] local.INFO: IMEI packet received {"connection_id":160095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":160095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:08:54] local.INFO: TCP Data received {"connection_id":160095,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:08:54] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:08:54] local.INFO: Packet analysis {"connection_id":160095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:08:54] local.INFO: Extracted packet for processing {"connection_id":160095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578560512001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787416553000,"timestamp_ms":1787416553000,"timestamp_seconds":1787416553,"priority":1,"record_length":96,"hex_timestamp":"000001a02a542628"} 
[2026-08-22 22: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-22 22:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 22:08:54] 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-22 22: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-22 22: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-22 22:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:08:54] 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-22 22:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578560512001,"66":25995,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578560512001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:08:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:08:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578560512001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":160095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:08:54] local.INFO: GPS data processed {"connection_id":160095,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:08:54] local.INFO: Acknowledgment sent {"connection_id":160095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:08:57] local.INFO: TCP Data received {"connection_id":160096,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:08:57] local.INFO: Processing buffer {"connection_id":160096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:08:57] local.INFO: IMEI packet received {"connection_id":160096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":160096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:08:58] local.INFO: TCP Data received {"connection_id":160096,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a55df90012d07f1c00725d4a8000f00d320..."} 
[2026-08-22 22:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a55df90012d07f1c00725d4a8000f00d320..."} 
[2026-08-22 22:08:58] local.INFO: Processing buffer {"connection_id":160096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a55df90012d07f1c00725d4a8000f00d320..."} 
[2026-08-22 22:08:58] local.INFO: Packet analysis {"connection_id":160096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a55"} 
[2026-08-22 22:08:58] local.INFO: Extracted packet for processing {"connection_id":160096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a55"} 
[2026-08-22 22:08:58] local.INFO: GPS Element Parsed {"raw_longitude":755495360,"raw_latitude":119919784,"longitude_deg":75.549536,"latitude_deg":11.9919784,"altitude":15,"angle":211,"satellites":32,"speed":33,"hex_longitude":"2d07f1c0","hex_latitude":"0725d4a8","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578665984001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15054826740121600,"note":"Value kept but may cause issues"} 
[2026-08-22 22:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":573294189515266048,"note":"Value kept but may cause issues"} 
[2026-08-22 22:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787416666000,"timestamp_ms":1787416666000,"timestamp_seconds":1787416666,"priority":1,"record_length":96,"hex_timestamp":"000001a02a55df90"} 
[2026-08-22 22: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-22 22:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 22:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22: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-22 22: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-22 22:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578665984001,"66":13559,"251":206,"83":44288,"24":33,"16":15054826740121600,"45":573294189515266048},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-08-22 22:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578665984001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:08:58] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-22 22:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15054826740121600,"km_value":15054826740121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":573294189515266048,"description":"Unknown IO ID 45"} 
[2026-08-22 22:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578665984001,"power":13559,"unknown_251":206,"unknown_83":44288,"ignition":33,"odometer":null,"unknown_45":573294189515266048}} 
[2026-08-22 22:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":160096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:08:58] local.INFO: GPS data processed {"connection_id":160096,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:08:58] local.INFO: Acknowledgment sent {"connection_id":160096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:09:26] local.INFO: TCP Data received {"connection_id":160095,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:09:26] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:09:26] local.INFO: Packet analysis {"connection_id":160095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:09:26] local.INFO: Extracted packet for processing {"connection_id":160095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578560512001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787416553000,"timestamp_ms":1787416553000,"timestamp_seconds":1787416553,"priority":1,"record_length":96,"hex_timestamp":"000001a02a542628"} 
[2026-08-22 22:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:09: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-22 22:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 22:09: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-22 22:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:09:26] 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-22 22:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578560512001,"66":25995,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578560512001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:09:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:09:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578560512001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":160095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:09:26] local.INFO: GPS data processed {"connection_id":160095,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:09:26] local.INFO: Acknowledgment sent {"connection_id":160095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:09:29] local.INFO: TCP Data received {"connection_id":160096,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a56ba50012d07ccc0072540a80012009221..."} 
[2026-08-22 22:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a56ba50012d07ccc0072540a80012009221..."} 
[2026-08-22 22:09:29] local.INFO: Processing buffer {"connection_id":160096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a56ba50012d07ccc0072540a80012009221..."} 
[2026-08-22 22:09:29] local.INFO: Packet analysis {"connection_id":160096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a56"} 
[2026-08-22 22:09:29] local.INFO: Extracted packet for processing {"connection_id":160096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a56"} 
[2026-08-22 22:09:29] local.INFO: GPS Element Parsed {"raw_longitude":755485888,"raw_latitude":119881896,"longitude_deg":75.5485888,"latitude_deg":11.9881896,"altitude":18,"angle":146,"satellites":33,"speed":19,"hex_longitude":"2d07ccc0","hex_latitude":"072540a8","is_valid_coordinates":true} 
[2026-08-22 22:09: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-22 22:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578680064001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15057034353311744,"note":"Value kept but may cause issues"} 
[2026-08-22 22:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":560838921786034176,"note":"Value kept but may cause issues"} 
[2026-08-22 22:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787416722000,"timestamp_ms":1787416722000,"timestamp_seconds":1787416722,"priority":1,"record_length":96,"hex_timestamp":"000001a02a56ba50"} 
[2026-08-22 22:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 22:09: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-22 22:09:29] 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-22 22:09: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-22 22:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578680064001,"66":13439,"251":206,"83":44288,"24":19,"16":15057034353311744,"45":560838921786034176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-08-22 22:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578680064001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:09:29] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-22 22:09:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15057034353311744,"km_value":15057034353311.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":560838921786034176,"description":"Unknown IO ID 45"} 
[2026-08-22 22:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578680064001,"power":13439,"unknown_251":206,"unknown_83":44288,"ignition":19,"odometer":null,"unknown_45":560838921786034176}} 
[2026-08-22 22:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":160096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:09:29] local.INFO: GPS data processed {"connection_id":160096,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:09:29] local.INFO: Acknowledgment sent {"connection_id":160096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:09:48] local.INFO: TCP Data received {"connection_id":160097,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:09:48] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:09:48] local.INFO: IMEI packet received {"connection_id":160097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":160097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:09:52] local.INFO: TCP Data received {"connection_id":161261,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:09:52] local.INFO: Processing buffer {"connection_id":161261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:09:52] local.INFO: IMEI packet received {"connection_id":161261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":161261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:09:53] local.INFO: TCP Data received {"connection_id":160097,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:09:53] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:09:53] local.INFO: IMEI packet received {"connection_id":160097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":160097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:09:53] local.INFO: TCP Data received {"connection_id":161261,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:09:53] local.INFO: Processing buffer {"connection_id":161261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:09:53] local.INFO: IMEI packet received {"connection_id":161261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":161261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:09:54] local.INFO: TCP Data received {"connection_id":160097,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:09:54] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:09:54] local.INFO: Packet analysis {"connection_id":160097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:09:54] local.INFO: Extracted packet for processing {"connection_id":160097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:09:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578560512001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787416553000,"timestamp_ms":1787416553000,"timestamp_seconds":1787416553,"priority":1,"record_length":96,"hex_timestamp":"000001a02a542628"} 
[2026-08-22 22:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 22:09:54] 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-22 22:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:09:54] 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-22 22:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578560512001,"66":25995,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578560512001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:09:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:09:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578560512001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":160097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:09:54] local.INFO: GPS data processed {"connection_id":160097,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:09:54] local.INFO: Acknowledgment sent {"connection_id":160097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:09:57] local.INFO: TCP Data received {"connection_id":161261,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:09:57] local.INFO: Processing buffer {"connection_id":161261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:09:57] local.INFO: IMEI packet received {"connection_id":161261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":161261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:09:59] local.INFO: TCP Data received {"connection_id":161261,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a56be38012d07cd8007253f080012009f20..."} 
[2026-08-22 22:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a56be38012d07cd8007253f080012009f20..."} 
[2026-08-22 22:09:59] local.INFO: Processing buffer {"connection_id":161261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a56be38012d07cd8007253f080012009f20..."} 
[2026-08-22 22:09:59] local.INFO: Packet analysis {"connection_id":161261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a56"} 
[2026-08-22 22:09:59] local.INFO: Extracted packet for processing {"connection_id":161261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a56"} 
[2026-08-22 22:09:59] local.INFO: GPS Element Parsed {"raw_longitude":755486080,"raw_latitude":119881480,"longitude_deg":75.548608,"latitude_deg":11.988148,"altitude":18,"angle":159,"satellites":32,"speed":19,"hex_longitude":"2d07cd80","hex_latitude":"07253f08","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578680832001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15057055828148224,"note":"Value kept but may cause issues"} 
[2026-08-22 22:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":562035190436767744,"note":"Value kept but may cause issues"} 
[2026-08-22 22:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787416723000,"timestamp_ms":1787416723000,"timestamp_seconds":1787416723,"priority":1,"record_length":96,"hex_timestamp":"000001a02a56be38"} 
[2026-08-22 22: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-22 22:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-22 22:09:59] 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-22 22: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-22 22: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-22 22:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578680832001,"66":13526,"251":206,"83":44288,"24":19,"16":15057055828148224,"45":562035190436767744},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-08-22 22:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578680832001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:09:59] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-22 22:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15057055828148224,"km_value":15057055828148.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":562035190436767744,"description":"Unknown IO ID 45"} 
[2026-08-22 22:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578680832001,"power":13526,"unknown_251":206,"unknown_83":44288,"ignition":19,"odometer":null,"unknown_45":562035190436767744}} 
[2026-08-22 22:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":161261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:09:59] local.INFO: GPS data processed {"connection_id":161261,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:09:59] local.INFO: Acknowledgment sent {"connection_id":161261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:10:25] local.INFO: TCP Data received {"connection_id":160097,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:10:25] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:10:25] local.INFO: Packet analysis {"connection_id":160097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:10:25] local.INFO: Extracted packet for processing {"connection_id":160097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:10:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578560512001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787416553000,"timestamp_ms":1787416553000,"timestamp_seconds":1787416553,"priority":1,"record_length":96,"hex_timestamp":"000001a02a542628"} 
[2026-08-22 22: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-22 22:10: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-22 22: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 22:10: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-22 22: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-22 22: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-22 22:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:10: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-22 22:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578560512001,"66":25995,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578560512001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:10:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:10:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578560512001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":160097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:10:25] local.INFO: GPS data processed {"connection_id":160097,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:10:25] local.INFO: Acknowledgment sent {"connection_id":160097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:10:30] local.INFO: TCP Data received {"connection_id":161261,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a579128012d082c800724f9580016009425..."} 
[2026-08-22 22:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a579128012d082c800724f9580016009425..."} 
[2026-08-22 22:10:30] local.INFO: Processing buffer {"connection_id":161261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a579128012d082c800724f9580016009425..."} 
[2026-08-22 22:10:30] local.INFO: Packet analysis {"connection_id":161261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a57"} 
[2026-08-22 22:10:30] local.INFO: Extracted packet for processing {"connection_id":161261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a57"} 
[2026-08-22 22:10:30] local.INFO: GPS Element Parsed {"raw_longitude":755510400,"raw_latitude":119863640,"longitude_deg":75.55104,"latitude_deg":11.986364,"altitude":22,"angle":148,"satellites":37,"speed":22,"hex_longitude":"2d082c80","hex_latitude":"0724f958","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578694144001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15058700800622592,"note":"Value kept but may cause issues"} 
[2026-08-22 22:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":587930888289763328,"note":"Value kept but may cause issues"} 
[2026-08-22 22:10:30] 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-22 22:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787416777000,"timestamp_ms":1787416777000,"timestamp_seconds":1787416777,"priority":1,"record_length":96,"hex_timestamp":"000001a02a579128"} 
[2026-08-22 22: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-22 22:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-22 22:10:30] 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-22 22: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-22 22: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-22 22:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578694144001,"66":13374,"129":206,"83":44288,"24":22,"16":15058700800622592,"45":587930888289763328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-08-22 22:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578694144001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:10:30] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-22 22:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15058700800622592,"km_value":15058700800622.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":587930888289763328,"description":"Unknown IO ID 45"} 
[2026-08-22 22:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578694144001,"power":13374,"unknown_129":206,"unknown_83":44288,"ignition":22,"odometer":null,"unknown_45":587930888289763328}} 
[2026-08-22 22:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":161261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:10:30] local.INFO: GPS data processed {"connection_id":161261,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:10:30] local.INFO: Acknowledgment sent {"connection_id":161261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:10:48] local.INFO: TCP Data received {"connection_id":160098,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:10:48] local.INFO: Processing buffer {"connection_id":160098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:10:48] local.INFO: IMEI packet received {"connection_id":160098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":160098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:10:51] local.INFO: TCP Data received {"connection_id":161262,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:10:51] local.INFO: Processing buffer {"connection_id":161262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:10:51] local.INFO: IMEI packet received {"connection_id":161262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":161262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:10:52] local.INFO: TCP Data received {"connection_id":161262,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:10:52] local.INFO: Processing buffer {"connection_id":161262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:10:52] local.INFO: IMEI packet received {"connection_id":161262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":161262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:10:53] local.INFO: TCP Data received {"connection_id":160098,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:10:53] local.INFO: Processing buffer {"connection_id":160098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:10:53] local.INFO: IMEI packet received {"connection_id":160098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":160098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:10:54] local.INFO: TCP Data received {"connection_id":160098,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:10:54] local.INFO: Processing buffer {"connection_id":160098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:10:54] local.INFO: Packet analysis {"connection_id":160098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:10:54] local.INFO: Extracted packet for processing {"connection_id":160098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578560512001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787416553000,"timestamp_ms":1787416553000,"timestamp_seconds":1787416553,"priority":1,"record_length":96,"hex_timestamp":"000001a02a542628"} 
[2026-08-22 22:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 22:10:54] 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-22 22:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:10:54] 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-22 22:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578560512001,"66":25995,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578560512001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:10:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:10:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578560512001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":160098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:10:54] local.INFO: GPS data processed {"connection_id":160098,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:10:54] local.INFO: Acknowledgment sent {"connection_id":160098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:10:57] local.INFO: TCP Data received {"connection_id":161262,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:10:57] local.INFO: Processing buffer {"connection_id":161262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:10:57] local.INFO: IMEI packet received {"connection_id":161262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":161262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:10:58] local.INFO: TCP Data received {"connection_id":161262,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a57a0c8012d0832800724f1180016008724..."} 
[2026-08-22 22:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a57a0c8012d0832800724f1180016008724..."} 
[2026-08-22 22:10:58] local.INFO: Processing buffer {"connection_id":161262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a57a0c8012d0832800724f1180016008724..."} 
[2026-08-22 22:10:58] local.INFO: Packet analysis {"connection_id":161262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a57"} 
[2026-08-22 22:10:58] local.INFO: Extracted packet for processing {"connection_id":161262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a57"} 
[2026-08-22 22:10:58] local.INFO: GPS Element Parsed {"raw_longitude":755511936,"raw_latitude":119861528,"longitude_deg":75.5511936,"latitude_deg":11.9861528,"altitude":22,"angle":135,"satellites":36,"speed":30,"hex_longitude":"2d083280","hex_latitude":"0724f118","is_valid_coordinates":true} 
[2026-08-22 22:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578694912001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15058829649641472,"note":"Value kept but may cause issues"} 
[2026-08-22 22:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":588986419452139520,"note":"Value kept but may cause issues"} 
[2026-08-22 22:10:58] 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-22 22:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787416781000,"timestamp_ms":1787416781000,"timestamp_seconds":1787416781,"priority":1,"record_length":96,"hex_timestamp":"000001a02a57a0c8"} 
[2026-08-22 22:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 22:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578694912001,"66":13515,"129":206,"83":44288,"24":30,"16":15058829649641472,"45":588986419452139520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-08-22 22:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578694912001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:10:58] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-22 22:10:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15058829649641472,"km_value":15058829649641.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":588986419452139520,"description":"Unknown IO ID 45"} 
[2026-08-22 22:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578694912001,"power":13515,"unknown_129":206,"unknown_83":44288,"ignition":30,"odometer":null,"unknown_45":588986419452139520}} 
[2026-08-22 22:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":161262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:10:58] local.INFO: GPS data processed {"connection_id":161262,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:10:58] local.INFO: Acknowledgment sent {"connection_id":161262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:11:25] local.INFO: TCP Data received {"connection_id":160098,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:11:25] local.INFO: Processing buffer {"connection_id":160098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a542628012d7b84c005f5ee00001600b330..."} 
[2026-08-22 22:11:25] local.INFO: Packet analysis {"connection_id":160098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:11:25] local.INFO: Extracted packet for processing {"connection_id":160098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a54"} 
[2026-08-22 22:11:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578560512001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787416553000,"timestamp_ms":1787416553000,"timestamp_seconds":1787416553,"priority":1,"record_length":96,"hex_timestamp":"000001a02a542628"} 
[2026-08-22 22: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-22 22: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-22 22: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-22 22:11: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-22 22: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-22 22: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-22 22:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:11: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-22 22:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578560512001,"66":25995,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578560512001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:11:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:11:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578560512001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":160098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:11:25] local.INFO: GPS data processed {"connection_id":160098,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:11:25] local.INFO: Acknowledgment sent {"connection_id":160098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:11:28] local.INFO: TCP Data received {"connection_id":161262,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a57ac80012d083a800724eb200016007b24..."} 
[2026-08-22 22:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a57ac80012d083a800724eb200016007b24..."} 
[2026-08-22 22:11:28] local.INFO: Processing buffer {"connection_id":161262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a57ac80012d083a800724eb200016007b24..."} 
[2026-08-22 22:11:28] local.INFO: Packet analysis {"connection_id":161262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a57"} 
[2026-08-22 22:11:28] local.INFO: Extracted packet for processing {"connection_id":161262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a57"} 
[2026-08-22 22:11:28] local.INFO: GPS Element Parsed {"raw_longitude":755513984,"raw_latitude":119860000,"longitude_deg":75.5513984,"latitude_deg":11.986,"altitude":22,"angle":123,"satellites":36,"speed":34,"hex_longitude":"2d083a80","hex_latitude":"0724eb20","is_valid_coordinates":true} 
[2026-08-22 22:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578695936001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15058949908725760,"note":"Value kept but may cause issues"} 
[2026-08-22 22:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":590675269311862784,"note":"Value kept but may cause issues"} 
[2026-08-22 22:11:28] 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-22 22:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787416784000,"timestamp_ms":1787416784000,"timestamp_seconds":1787416784,"priority":1,"record_length":96,"hex_timestamp":"000001a02a57ac80"} 
[2026-08-22 22:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 22:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-22 22:11: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-22 22:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578695936001,"66":13493,"129":206,"83":44288,"24":34,"16":15058949908725760,"45":590675269311862784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-08-22 22:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578695936001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:11:28] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-22 22:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15058949908725760,"km_value":15058949908725.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":590675269311862784,"description":"Unknown IO ID 45"} 
[2026-08-22 22:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578695936001,"power":13493,"unknown_129":206,"unknown_83":44288,"ignition":34,"odometer":null,"unknown_45":590675269311862784}} 
[2026-08-22 22:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":161262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:11:28] local.INFO: GPS data processed {"connection_id":161262,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:11:28] local.INFO: Acknowledgment sent {"connection_id":161262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:11:48] local.INFO: TCP Data received {"connection_id":161263,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:11:48] local.INFO: Processing buffer {"connection_id":161263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:11:48] local.INFO: IMEI packet received {"connection_id":161263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":161263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:11:51] local.INFO: TCP Data received {"connection_id":160313,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:11:51] local.INFO: Processing buffer {"connection_id":160313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:11:51] local.INFO: IMEI packet received {"connection_id":160313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":160313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:11:52] local.INFO: TCP Data received {"connection_id":160313,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:11:52] local.INFO: Processing buffer {"connection_id":160313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:11:52] local.INFO: IMEI packet received {"connection_id":160313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":160313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:11:53] local.INFO: TCP Data received {"connection_id":161263,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:11:53] local.INFO: Processing buffer {"connection_id":161263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:11:53] local.INFO: IMEI packet received {"connection_id":161263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":161263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:11:54] local.INFO: TCP Data received {"connection_id":161263,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:11:54] local.INFO: Processing buffer {"connection_id":161263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:11:54] local.INFO: Packet analysis {"connection_id":161263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:11:54] local.INFO: Extracted packet for processing {"connection_id":161263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:11:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578637568001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787416854000,"timestamp_ms":1787416854000,"timestamp_seconds":1787416854,"priority":1,"record_length":96,"hex_timestamp":"000001a02a58bdf0"} 
[2026-08-22 22:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 22:11:54] 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-22 22:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:11:54] 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-22 22:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578637568001,"66":25908,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578637568001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:11:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:11:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578637568001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":161263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:11:54] local.INFO: GPS data processed {"connection_id":161263,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:11:54] local.INFO: Acknowledgment sent {"connection_id":161263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:11:57] local.INFO: TCP Data received {"connection_id":160313,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:11:57] local.INFO: Processing buffer {"connection_id":160313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:11:57] local.INFO: IMEI packet received {"connection_id":160313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":160313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:11:57] local.INFO: TCP Data received {"connection_id":160313,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a58cd90012d08f380072482c0001f005324..."} 
[2026-08-22 22:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a58cd90012d08f380072482c0001f005324..."} 
[2026-08-22 22:11:57] local.INFO: Processing buffer {"connection_id":160313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a58cd90012d08f380072482c0001f005324..."} 
[2026-08-22 22:11:57] local.INFO: Packet analysis {"connection_id":160313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:11:57] local.INFO: Extracted packet for processing {"connection_id":160313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:11:57] local.INFO: GPS Element Parsed {"raw_longitude":755561344,"raw_latitude":119833280,"longitude_deg":75.5561344,"latitude_deg":11.983328,"altitude":31,"angle":83,"satellites":36,"speed":41,"hex_longitude":"2d08f380","hex_latitude":"072482c0","is_valid_coordinates":true} 
[2026-08-22 22:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578714112001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15061758817337344,"note":"Value kept but may cause issues"} 
[2026-08-22 22:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":638877859065997312,"note":"Value kept but may cause issues"} 
[2026-08-22 22:11:57] 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-22 22:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787416858000,"timestamp_ms":1787416858000,"timestamp_seconds":1787416858,"priority":1,"record_length":96,"hex_timestamp":"000001a02a58cd90"} 
[2026-08-22 22:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-22 22:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578714112001,"66":13450,"233":206,"83":44288,"24":41,"16":15061758817337344,"45":638877859065997312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-08-22 22:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578714112001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:11:57] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-22 22:11:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15061758817337344,"km_value":15061758817337.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":638877859065997312,"description":"Unknown IO ID 45"} 
[2026-08-22 22:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578714112001,"power":13450,"unknown_233":206,"unknown_83":44288,"ignition":41,"odometer":null,"unknown_45":638877859065997312}} 
[2026-08-22 22:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":160313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:11:57] local.INFO: GPS data processed {"connection_id":160313,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:11:57] local.INFO: Acknowledgment sent {"connection_id":160313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:12:25] local.INFO: TCP Data received {"connection_id":161263,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:12:25] local.INFO: Processing buffer {"connection_id":161263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:12:25] local.INFO: Packet analysis {"connection_id":161263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:12:25] local.INFO: Extracted packet for processing {"connection_id":161263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:12:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578637568001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787416854000,"timestamp_ms":1787416854000,"timestamp_seconds":1787416854,"priority":1,"record_length":96,"hex_timestamp":"000001a02a58bdf0"} 
[2026-08-22 22: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-22 22:12: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-22 22: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 22:12: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-22 22: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-22 22: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-22 22:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:12: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-22 22:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578637568001,"66":25908,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578637568001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:12:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:12:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578637568001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":161263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:12:25] local.INFO: GPS data processed {"connection_id":161263,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:12:25] local.INFO: Acknowledgment sent {"connection_id":161263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:12:38] local.INFO: TCP Data received {"connection_id":160313,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a598cf8012d09850007245e280014005b26..."} 
[2026-08-22 22:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a598cf8012d09850007245e280014005b26..."} 
[2026-08-22 22:12:38] local.INFO: Processing buffer {"connection_id":160313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a598cf8012d09850007245e280014005b26..."} 
[2026-08-22 22:12:38] local.INFO: Packet analysis {"connection_id":160313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a59"} 
[2026-08-22 22:12:38] local.INFO: Extracted packet for processing {"connection_id":160313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a59"} 
[2026-08-22 22:12:38] local.INFO: GPS Element Parsed {"raw_longitude":755598592,"raw_latitude":119823912,"longitude_deg":75.5598592,"latitude_deg":11.9823912,"altitude":20,"angle":91,"satellites":38,"speed":27,"hex_longitude":"2d098500","hex_latitude":"07245e28","is_valid_coordinates":true} 
[2026-08-22 22:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578727936001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15063936365756416,"note":"Value kept but may cause issues"} 
[2026-08-22 22:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":685180492732833792,"note":"Value kept but may cause issues"} 
[2026-08-22 22:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787416907000,"timestamp_ms":1787416907000,"timestamp_seconds":1787416907,"priority":1,"record_length":96,"hex_timestamp":"000001a02a598cf8"} 
[2026-08-22 22:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-22 22:12:38] 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-22 22:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578727936001,"66":13504,"232":206,"83":44288,"24":27,"16":15063936365756416,"45":685180492732833792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-08-22 22:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578727936001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:12:38] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-22 22:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-22 22:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15063936365756416,"km_value":15063936365756.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":685180492732833792,"description":"Unknown IO ID 45"} 
[2026-08-22 22:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578727936001,"power":13504,"unknown_232":206,"unknown_83":44288,"ignition":27,"odometer":null,"unknown_45":685180492732833792}} 
[2026-08-22 22:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":160313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:12:39] local.INFO: GPS data processed {"connection_id":160313,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:12:39] local.INFO: Acknowledgment sent {"connection_id":160313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:12:53] local.INFO: TCP Data received {"connection_id":162684,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:12:53] local.INFO: Processing buffer {"connection_id":162684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:12:53] local.INFO: IMEI packet received {"connection_id":162684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":162684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:12:55] local.INFO: TCP Data received {"connection_id":161264,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:12:55] local.INFO: Processing buffer {"connection_id":161264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:12:55] local.INFO: IMEI packet received {"connection_id":161264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":161264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:12:56] local.INFO: TCP Data received {"connection_id":161264,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:12:56] local.INFO: Processing buffer {"connection_id":161264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:12:56] local.INFO: IMEI packet received {"connection_id":161264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":161264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:12:56] local.INFO: TCP Data received {"connection_id":161264,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:12:56] local.INFO: Processing buffer {"connection_id":161264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:12:56] local.INFO: IMEI packet received {"connection_id":161264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":161264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:12:58] local.INFO: TCP Data received {"connection_id":162684,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:12:58] local.INFO: Processing buffer {"connection_id":162684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:12:58] local.INFO: IMEI packet received {"connection_id":162684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":162684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:12:59] local.INFO: TCP Data received {"connection_id":162684,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:12:59] local.INFO: Processing buffer {"connection_id":162684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:12:59] local.INFO: Packet analysis {"connection_id":162684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:12:59] local.INFO: Extracted packet for processing {"connection_id":162684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578637568001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787416854000,"timestamp_ms":1787416854000,"timestamp_seconds":1787416854,"priority":1,"record_length":96,"hex_timestamp":"000001a02a58bdf0"} 
[2026-08-22 22: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-22 22:12: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-22 22: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":139,"data_length":795,"current_offset":136} 
[2026-08-22 22:12:59] 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-22 22: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-22 22: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-22 22:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:12: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-22 22:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578637568001,"66":25908,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578637568001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:12:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:12:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578637568001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":162684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:12:59] local.INFO: GPS data processed {"connection_id":162684,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:12:59] local.INFO: Acknowledgment sent {"connection_id":162684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:13:00] local.INFO: TCP Data received {"connection_id":161264,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:13:00] local.INFO: Processing buffer {"connection_id":161264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:13:00] local.INFO: IMEI packet received {"connection_id":161264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":161264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:13:01] local.INFO: TCP Data received {"connection_id":161264,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a5990e0012d0987c007245ec80014004d27..."} 
[2026-08-22 22:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a5990e0012d0987c007245ec80014004d27..."} 
[2026-08-22 22:13:01] local.INFO: Processing buffer {"connection_id":161264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a5990e0012d0987c007245ec80014004d27..."} 
[2026-08-22 22:13:01] local.INFO: Packet analysis {"connection_id":161264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a59"} 
[2026-08-22 22:13:01] local.INFO: Extracted packet for processing {"connection_id":161264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a59"} 
[2026-08-22 22:13:01] local.INFO: GPS Element Parsed {"raw_longitude":755599296,"raw_latitude":119824072,"longitude_deg":75.5599296,"latitude_deg":11.9824072,"altitude":20,"angle":77,"satellites":39,"speed":28,"hex_longitude":"2d0987c0","hex_latitude":"07245ec8","is_valid_coordinates":true} 
[2026-08-22 22:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578728192001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15063966430527488,"note":"Value kept but may cause issues"} 
[2026-08-22 22:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":685954548918790144,"note":"Value kept but may cause issues"} 
[2026-08-22 22:13:01] 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-22 22:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787416908000,"timestamp_ms":1787416908000,"timestamp_seconds":1787416908,"priority":1,"record_length":96,"hex_timestamp":"000001a02a5990e0"} 
[2026-08-22 22:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 22:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-22 22:13:01] 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-22 22:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578728192001,"66":13504,"117":206,"83":41984,"24":28,"16":15063966430527488,"45":685954548918790144},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 22:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578728192001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:13:01] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 22:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15063966430527488,"km_value":15063966430527.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":685954548918790144,"description":"Unknown IO ID 45"} 
[2026-08-22 22:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578728192001,"power":13504,"unknown_117":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":685954548918790144}} 
[2026-08-22 22:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":161264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:13:01] local.INFO: GPS data processed {"connection_id":161264,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:13:01] local.INFO: Acknowledgment sent {"connection_id":161264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:13:02] local.INFO: TCP Data received {"connection_id":161264,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a5998b0012d098c80072460a00014003e28..."} 
[2026-08-22 22:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a5998b0012d098c80072460a00014003e28..."} 
[2026-08-22 22:13:02] local.INFO: Processing buffer {"connection_id":161264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a5998b0012d098c80072460a00014003e28..."} 
[2026-08-22 22:13:02] local.INFO: Packet analysis {"connection_id":161264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a59"} 
[2026-08-22 22:13:02] local.INFO: Extracted packet for processing {"connection_id":161264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a59"} 
[2026-08-22 22:13:02] local.INFO: GPS Element Parsed {"raw_longitude":755600512,"raw_latitude":119824544,"longitude_deg":75.5600512,"latitude_deg":11.9824544,"altitude":20,"angle":62,"satellites":40,"speed":25,"hex_longitude":"2d098c80","hex_latitude":"072460a0","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578728448001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15064030855036928,"note":"Value kept but may cause issues"} 
[2026-08-22 22:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":686728605104785408,"note":"Value kept but may cause issues"} 
[2026-08-22 22:13: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-22 22:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787416910000,"timestamp_ms":1787416910000,"timestamp_seconds":1787416910,"priority":1,"record_length":96,"hex_timestamp":"000001a02a5998b0"} 
[2026-08-22 22: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-22 22:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 22: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-22 22:13:02] 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-22 22: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-22 22: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-22 22:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578728448001,"66":13472,"117":206,"83":41984,"24":25,"16":15064030855036928,"45":686728605104785408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 22:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578728448001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:13:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 22:13:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15064030855036928,"km_value":15064030855036.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":686728605104785408,"description":"Unknown IO ID 45"} 
[2026-08-22 22:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578728448001,"power":13472,"unknown_117":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":686728605104785408}} 
[2026-08-22 22:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":161264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:13:02] local.INFO: GPS data processed {"connection_id":161264,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:13:02] local.INFO: Acknowledgment sent {"connection_id":161264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:13:03] local.INFO: TCP Data received {"connection_id":162684,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:13:03] local.INFO: Processing buffer {"connection_id":162684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:13:03] local.INFO: Packet analysis {"connection_id":162684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:13:03] local.INFO: Extracted packet for processing {"connection_id":162684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:13:03] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:13: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-22 22:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578637568001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787416854000,"timestamp_ms":1787416854000,"timestamp_seconds":1787416854,"priority":1,"record_length":96,"hex_timestamp":"000001a02a58bdf0"} 
[2026-08-22 22:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:13: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-22 22:13: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":139,"data_length":795,"current_offset":136} 
[2026-08-22 22:13:03] 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-22 22:13: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-22 22:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:13:03] 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-22 22:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578637568001,"66":25908,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578637568001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:13:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:13:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578637568001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":162684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:13:03] local.INFO: GPS data processed {"connection_id":162684,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:13:03] local.INFO: Acknowledgment sent {"connection_id":162684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:13:32] local.INFO: TCP Data received {"connection_id":161264,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a59c3a8012d09ac00072471780014003a27..."} 
[2026-08-22 22:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a59c3a8012d09ac00072471780014003a27..."} 
[2026-08-22 22:13:32] local.INFO: Processing buffer {"connection_id":161264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a59c3a8012d09ac00072471780014003a27..."} 
[2026-08-22 22:13:32] local.INFO: Packet analysis {"connection_id":161264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a59"} 
[2026-08-22 22:13:32] local.INFO: Extracted packet for processing {"connection_id":161264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a59"} 
[2026-08-22 22:13:32] local.INFO: GPS Element Parsed {"raw_longitude":755608576,"raw_latitude":119828856,"longitude_deg":75.5608576,"latitude_deg":11.9828856,"altitude":20,"angle":58,"satellites":39,"speed":40,"hex_longitude":"2d09ac00","hex_latitude":"07247178","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578728960001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15064468941701120,"note":"Value kept but may cause issues"} 
[2026-08-22 22:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":688065611244281856,"note":"Value kept but may cause issues"} 
[2026-08-22 22:13:32] 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-22 22:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787416921000,"timestamp_ms":1787416921000,"timestamp_seconds":1787416921,"priority":1,"record_length":96,"hex_timestamp":"000001a02a59c3a8"} 
[2026-08-22 22: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-22 22:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 22:13:32] 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-22 22: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-22 22: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-22 22:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578728960001,"66":13439,"117":206,"83":41984,"24":40,"16":15064468941701120,"45":688065611244281856},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 22:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578728960001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:13:32] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 22:13:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15064468941701120,"km_value":15064468941701.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":688065611244281856,"description":"Unknown IO ID 45"} 
[2026-08-22 22:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578728960001,"power":13439,"unknown_117":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":688065611244281856}} 
[2026-08-22 22:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":161264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:13:33] local.INFO: GPS data processed {"connection_id":161264,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:13:33] local.INFO: Acknowledgment sent {"connection_id":161264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:13:48] local.INFO: TCP Data received {"connection_id":161265,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:13:48] local.INFO: Processing buffer {"connection_id":161265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:13:48] local.INFO: IMEI packet received {"connection_id":161265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":161265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:13:48] local.INFO: TCP Data received {"connection_id":160099,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:13:48] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:13:48] local.INFO: IMEI packet received {"connection_id":160099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":160099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:13:52] local.INFO: TCP Data received {"connection_id":160099,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:13:52] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:13:52] local.INFO: IMEI packet received {"connection_id":160099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":160099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:13:53] local.INFO: TCP Data received {"connection_id":161265,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:13:53] local.INFO: Processing buffer {"connection_id":161265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:13:53] local.INFO: IMEI packet received {"connection_id":161265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":161265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:13:56] local.INFO: TCP Data received {"connection_id":160099,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:13:56] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:13:56] local.INFO: IMEI packet received {"connection_id":160099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":160099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:13:56] local.INFO: TCP Data received {"connection_id":160099,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a5ab5d8012d0a92c00724b4480014006e24..."} 
[2026-08-22 22:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a5ab5d8012d0a92c00724b4480014006e24..."} 
[2026-08-22 22:13:56] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a5ab5d8012d0a92c00724b4480014006e24..."} 
[2026-08-22 22:13:56] local.INFO: Packet analysis {"connection_id":160099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a5a"} 
[2026-08-22 22:13:56] local.INFO: Extracted packet for processing {"connection_id":160099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a5a"} 
[2026-08-22 22:13:56] local.INFO: GPS Element Parsed {"raw_longitude":755667648,"raw_latitude":119845960,"longitude_deg":75.5667648,"latitude_deg":11.984596,"altitude":20,"angle":110,"satellites":36,"speed":45,"hex_longitude":"2d0a92c0","hex_latitude":"0724b448","is_valid_coordinates":true} 
[2026-08-22 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-22 22:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578745344001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15067810426257408,"note":"Value kept but may cause issues"} 
[2026-08-22 22:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":751467849754699776,"note":"Value kept but may cause issues"} 
[2026-08-22 22:13:56] 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-22 22:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787416983000,"timestamp_ms":1787416983000,"timestamp_seconds":1787416983,"priority":1,"record_length":96,"hex_timestamp":"000001a02a5ab5d8"} 
[2026-08-22 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-22 22:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 22:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 22:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578745344001,"66":13559,"117":206,"83":41984,"24":45,"16":15067810426257408,"45":751467849754699776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 22:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578745344001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:13:56] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 22:13:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15067810426257408,"km_value":15067810426257.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":751467849754699776,"description":"Unknown IO ID 45"} 
[2026-08-22 22:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578745344001,"power":13559,"unknown_117":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":751467849754699776}} 
[2026-08-22 22:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":160099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:13:57] local.INFO: GPS data processed {"connection_id":160099,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:13:57] local.INFO: Acknowledgment sent {"connection_id":160099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:14:01] local.INFO: TCP Data received {"connection_id":161265,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:14:01] local.INFO: Processing buffer {"connection_id":161265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:14:01] local.INFO: Packet analysis {"connection_id":161265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:14:01] local.INFO: Extracted packet for processing {"connection_id":161265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578637568001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787416854000,"timestamp_ms":1787416854000,"timestamp_seconds":1787416854,"priority":1,"record_length":96,"hex_timestamp":"000001a02a58bdf0"} 
[2026-08-22 22:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:14: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-22 22:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 22:14: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-22 22:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:14:01] 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-22 22:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578637568001,"66":25908,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578637568001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:14:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:14:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578637568001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":161265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:14:01] local.INFO: GPS data processed {"connection_id":161265,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:14:01] local.INFO: Acknowledgment sent {"connection_id":161265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:14:27] local.INFO: TCP Data received {"connection_id":160099,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a5ad518012d0ab5400724a9100015006724..."} 
[2026-08-22 22:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a5ad518012d0ab5400724a9100015006724..."} 
[2026-08-22 22:14:27] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a5ad518012d0ab5400724a9100015006724..."} 
[2026-08-22 22:14:27] local.INFO: Packet analysis {"connection_id":160099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a5a"} 
[2026-08-22 22:14:27] local.INFO: Extracted packet for processing {"connection_id":160099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a5a"} 
[2026-08-22 22:14:27] local.INFO: GPS Element Parsed {"raw_longitude":755676480,"raw_latitude":119843088,"longitude_deg":75.567648,"latitude_deg":11.9843088,"altitude":21,"angle":103,"satellites":36,"speed":44,"hex_longitude":"2d0ab540","hex_latitude":"0724a910","is_valid_coordinates":true} 
[2026-08-22 22:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578747648001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15068252807888896,"note":"Value kept but may cause issues"} 
[2026-08-22 22:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":761882423892133888,"note":"Value kept but may cause issues"} 
[2026-08-22 22:14:27] 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-22 22:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787416991000,"timestamp_ms":1787416991000,"timestamp_seconds":1787416991,"priority":1,"record_length":96,"hex_timestamp":"000001a02a5ad518"} 
[2026-08-22 22:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 22:14:27] 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-22 22:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578747648001,"66":13493,"117":206,"83":41984,"24":44,"16":15068252807888896,"45":761882423892133888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-22 22:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578747648001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:14:27] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-22 22:14:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15068252807888896,"km_value":15068252807888.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":761882423892133888,"description":"Unknown IO ID 45"} 
[2026-08-22 22:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578747648001,"power":13493,"unknown_117":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":761882423892133888}} 
[2026-08-22 22:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":160099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:14:27] local.INFO: GPS data processed {"connection_id":160099,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:14:27] local.INFO: Acknowledgment sent {"connection_id":160099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:14:35] local.INFO: TCP Data received {"connection_id":161265,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:14:35] local.INFO: Processing buffer {"connection_id":161265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:14:35] local.INFO: Packet analysis {"connection_id":161265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:14:35] local.INFO: Extracted packet for processing {"connection_id":161265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:14:35] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578637568001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787416854000,"timestamp_ms":1787416854000,"timestamp_seconds":1787416854,"priority":1,"record_length":96,"hex_timestamp":"000001a02a58bdf0"} 
[2026-08-22 22: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-22 22:14: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-22 22: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":139,"data_length":795,"current_offset":136} 
[2026-08-22 22:14:35] 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-22 22: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-22 22: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-22 22:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:14:35] 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-22 22:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578637568001,"66":25908,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578637568001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:14:35] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:14:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578637568001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":161265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:14:35] local.INFO: GPS data processed {"connection_id":161265,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:14:35] local.INFO: Acknowledgment sent {"connection_id":161265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:14:48] local.INFO: TCP Data received {"connection_id":161266,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:14:48] local.INFO: Processing buffer {"connection_id":161266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:14:48] local.INFO: IMEI packet received {"connection_id":161266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":161266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:14:49] local.INFO: TCP Data received {"connection_id":160314,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:14:49] local.INFO: Processing buffer {"connection_id":160314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:14:49] local.INFO: IMEI packet received {"connection_id":160314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":160314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:14:49] local.INFO: TCP Data received {"connection_id":160314,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:14:49] local.INFO: Processing buffer {"connection_id":160314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:14:49] local.INFO: IMEI packet received {"connection_id":160314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":160314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:14:51] local.INFO: TCP Data received {"connection_id":160314,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:14:51] local.INFO: Processing buffer {"connection_id":160314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:14:51] local.INFO: IMEI packet received {"connection_id":160314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":160314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:14:52] local.INFO: TCP Data received {"connection_id":160314,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:14:52] local.INFO: Processing buffer {"connection_id":160314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:14:52] local.INFO: IMEI packet received {"connection_id":160314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":160314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:14:53] local.INFO: TCP Data received {"connection_id":161266,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:14:53] local.INFO: Processing buffer {"connection_id":161266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:14:53] local.INFO: IMEI packet received {"connection_id":161266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":161266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:14:54] local.INFO: TCP Data received {"connection_id":161266,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:14:54] local.INFO: Processing buffer {"connection_id":161266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:14:54] local.INFO: Packet analysis {"connection_id":161266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:14:54] local.INFO: Extracted packet for processing {"connection_id":161266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:14:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578637568001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787416854000,"timestamp_ms":1787416854000,"timestamp_seconds":1787416854,"priority":1,"record_length":96,"hex_timestamp":"000001a02a58bdf0"} 
[2026-08-22 22:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 22:14:54] 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-22 22:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:14:54] 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-22 22:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578637568001,"66":25908,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578637568001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:14:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:14:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578637568001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":161266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:14:54] local.INFO: GPS data processed {"connection_id":161266,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:14:54] local.INFO: Acknowledgment sent {"connection_id":161266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:15:25] local.INFO: TCP Data received {"connection_id":161266,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:15:25] local.INFO: Processing buffer {"connection_id":161266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:15:25] local.INFO: Packet analysis {"connection_id":161266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:15:25] local.INFO: Extracted packet for processing {"connection_id":161266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:15:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578637568001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787416854000,"timestamp_ms":1787416854000,"timestamp_seconds":1787416854,"priority":1,"record_length":96,"hex_timestamp":"000001a02a58bdf0"} 
[2026-08-22 22: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-22 22: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-22 22: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 22:15: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-22 22: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-22 22: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-22 22:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:15: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-22 22:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578637568001,"66":25908,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578637568001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:15:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:15:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578637568001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":161266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:15:25] local.INFO: GPS data processed {"connection_id":161266,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:15:25] local.INFO: Acknowledgment sent {"connection_id":161266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:15:48] local.INFO: TCP Data received {"connection_id":161267,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:15:48] local.INFO: Processing buffer {"connection_id":161267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:15:48] local.INFO: IMEI packet received {"connection_id":161267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":161267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:15:53] local.INFO: TCP Data received {"connection_id":161267,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:15:53] local.INFO: Processing buffer {"connection_id":161267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:15:53] local.INFO: IMEI packet received {"connection_id":161267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":161267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:15:54] local.INFO: TCP Data received {"connection_id":161267,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:15:54] local.INFO: Processing buffer {"connection_id":161267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:15:54] local.INFO: Packet analysis {"connection_id":161267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:15:54] local.INFO: Extracted packet for processing {"connection_id":161267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:15:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578637568001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787416854000,"timestamp_ms":1787416854000,"timestamp_seconds":1787416854,"priority":1,"record_length":96,"hex_timestamp":"000001a02a58bdf0"} 
[2026-08-22 22:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 22:15:54] 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-22 22:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:15:54] 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-22 22:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578637568001,"66":25908,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578637568001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:15:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:15:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578637568001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":161267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:15:54] local.INFO: GPS data processed {"connection_id":161267,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:15:54] local.INFO: Acknowledgment sent {"connection_id":161267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:16:25] local.INFO: TCP Data received {"connection_id":161267,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:16:25] local.INFO: Processing buffer {"connection_id":161267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a58bdf0012d7b84c005f5ee00001600b32f..."} 
[2026-08-22 22:16:25] local.INFO: Packet analysis {"connection_id":161267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:16:25] local.INFO: Extracted packet for processing {"connection_id":161267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a58"} 
[2026-08-22 22:16:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":22,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578637568001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787416854000,"timestamp_ms":1787416854000,"timestamp_seconds":1787416854,"priority":1,"record_length":96,"hex_timestamp":"000001a02a58bdf0"} 
[2026-08-22 22: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-22 22: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-22 22: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 22:16: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-22 22: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-22 22: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-22 22:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:16: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-22 22:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578637568001,"66":25908,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578637568001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:16:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:16:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578637568001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":161267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:16:25] local.INFO: GPS data processed {"connection_id":161267,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:16:25] local.INFO: Acknowledgment sent {"connection_id":161267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:16:48] local.INFO: TCP Data received {"connection_id":160316,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:16:48] local.INFO: Processing buffer {"connection_id":160316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:16:48] local.INFO: IMEI packet received {"connection_id":160316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":160316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:16:53] local.INFO: TCP Data received {"connection_id":160316,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:16:53] local.INFO: Processing buffer {"connection_id":160316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:16:53] local.INFO: IMEI packet received {"connection_id":160316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":160316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:16:54] local.INFO: TCP Data received {"connection_id":160316,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:16:54] local.INFO: Processing buffer {"connection_id":160316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:16:54] local.INFO: Packet analysis {"connection_id":160316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:16:54] local.INFO: Extracted packet for processing {"connection_id":160316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:16:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578714624001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787417155000,"timestamp_ms":1787417155000,"timestamp_seconds":1787417155,"priority":1,"record_length":96,"hex_timestamp":"000001a02a5d55b8"} 
[2026-08-22 22:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 22:16:54] 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-22 22:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:16:54] 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-22 22:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578714624001,"66":25875,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578714624001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:16:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:16:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578714624001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":160316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:16:54] local.INFO: GPS data processed {"connection_id":160316,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:16:54] local.INFO: Acknowledgment sent {"connection_id":160316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:17:25] local.INFO: TCP Data received {"connection_id":160316,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:17:25] local.INFO: Processing buffer {"connection_id":160316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:17:25] local.INFO: Packet analysis {"connection_id":160316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:17:25] local.INFO: Extracted packet for processing {"connection_id":160316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:17:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578714624001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787417155000,"timestamp_ms":1787417155000,"timestamp_seconds":1787417155,"priority":1,"record_length":96,"hex_timestamp":"000001a02a5d55b8"} 
[2026-08-22 22: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-22 22:17: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-22 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 22:17:25] 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-22 22: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-22 22: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-22 22:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:17: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-22 22:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578714624001,"66":25875,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578714624001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:17:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:17:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578714624001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":160316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:17:25] local.INFO: GPS data processed {"connection_id":160316,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:17:25] local.INFO: Acknowledgment sent {"connection_id":160316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:17:48] local.INFO: TCP Data received {"connection_id":160101,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:17:48] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:17:48] local.INFO: IMEI packet received {"connection_id":160101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":160101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:17:53] local.INFO: TCP Data received {"connection_id":160101,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:17:53] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:17:53] local.INFO: IMEI packet received {"connection_id":160101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":160101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:17:54] local.INFO: TCP Data received {"connection_id":160101,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:17:54] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:17:54] local.INFO: Packet analysis {"connection_id":160101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:17:54] local.INFO: Extracted packet for processing {"connection_id":160101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:17:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578714624001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787417155000,"timestamp_ms":1787417155000,"timestamp_seconds":1787417155,"priority":1,"record_length":96,"hex_timestamp":"000001a02a5d55b8"} 
[2026-08-22 22:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 22:17:54] 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-22 22:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:17:54] 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-22 22:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578714624001,"66":25875,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578714624001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:17:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:17:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578714624001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":160101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:17:54] local.INFO: GPS data processed {"connection_id":160101,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:17:54] local.INFO: Acknowledgment sent {"connection_id":160101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:18:35] local.INFO: TCP Data received {"connection_id":160101,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:18:36] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:18:36] local.INFO: Packet analysis {"connection_id":160101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:18:36] local.INFO: Extracted packet for processing {"connection_id":160101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:18:36] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578714624001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787417155000,"timestamp_ms":1787417155000,"timestamp_seconds":1787417155,"priority":1,"record_length":96,"hex_timestamp":"000001a02a5d55b8"} 
[2026-08-22 22: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-22 22:18: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-22 22: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":52,"data_length":795,"current_offset":136} 
[2026-08-22 22:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22: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-22 22: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-22 22:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:18:36] 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-22 22:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578714624001,"66":25875,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578714624001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:18:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:18:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578714624001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":160101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:18:36] local.INFO: GPS data processed {"connection_id":160101,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:18:36] local.INFO: Acknowledgment sent {"connection_id":160101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:18:48] local.INFO: TCP Data received {"connection_id":161269,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:18:48] local.INFO: Processing buffer {"connection_id":161269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:18:48] local.INFO: IMEI packet received {"connection_id":161269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":161269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:18:53] local.INFO: TCP Data received {"connection_id":161269,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:18:53] local.INFO: Processing buffer {"connection_id":161269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:18:53] local.INFO: IMEI packet received {"connection_id":161269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":161269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:18:54] local.INFO: TCP Data received {"connection_id":161269,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:18:54] local.INFO: Processing buffer {"connection_id":161269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:18:54] local.INFO: Packet analysis {"connection_id":161269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:18:54] local.INFO: Extracted packet for processing {"connection_id":161269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:18:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578714624001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787417155000,"timestamp_ms":1787417155000,"timestamp_seconds":1787417155,"priority":1,"record_length":96,"hex_timestamp":"000001a02a5d55b8"} 
[2026-08-22 22:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 22:18:54] 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-22 22:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:18:54] 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-22 22:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578714624001,"66":25875,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578714624001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:18:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:18:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578714624001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":161269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:18:54] local.INFO: GPS data processed {"connection_id":161269,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:18:54] local.INFO: Acknowledgment sent {"connection_id":161269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:19:25] local.INFO: TCP Data received {"connection_id":161269,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:19:25] local.INFO: Processing buffer {"connection_id":161269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:19:25] local.INFO: Packet analysis {"connection_id":161269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:19:25] local.INFO: Extracted packet for processing {"connection_id":161269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:19:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578714624001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787417155000,"timestamp_ms":1787417155000,"timestamp_seconds":1787417155,"priority":1,"record_length":96,"hex_timestamp":"000001a02a5d55b8"} 
[2026-08-22 22: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-22 22:19: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-22 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 22:19:25] 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-22 22: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-22 22: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-22 22:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:19: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-22 22:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578714624001,"66":25875,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578714624001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:19:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:19:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578714624001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":161269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:19:25] local.INFO: GPS data processed {"connection_id":161269,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:19:25] local.INFO: Acknowledgment sent {"connection_id":161269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:19:48] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:19:48] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:19:48] local.INFO: IMEI packet received {"connection_id":160317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":160317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:19:53] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:19:53] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:19:53] local.INFO: IMEI packet received {"connection_id":160317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":160317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:19:54] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:19:54] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:19:54] local.INFO: Packet analysis {"connection_id":160317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:19:54] local.INFO: Extracted packet for processing {"connection_id":160317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578714624001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787417155000,"timestamp_ms":1787417155000,"timestamp_seconds":1787417155,"priority":1,"record_length":96,"hex_timestamp":"000001a02a5d55b8"} 
[2026-08-22 22:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 22:19:54] 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-22 22:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:19:54] 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-22 22:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578714624001,"66":25875,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578714624001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:19:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:19:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578714624001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":160317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:19:54] local.INFO: GPS data processed {"connection_id":160317,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:19:54] local.INFO: Acknowledgment sent {"connection_id":160317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:20:05] local.INFO: TCP Data received {"connection_id":161270,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:20:05] local.INFO: Processing buffer {"connection_id":161270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:20:05] local.INFO: IMEI packet received {"connection_id":161270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":161270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:20:06] local.INFO: TCP Data received {"connection_id":161270,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:20:06] local.INFO: Processing buffer {"connection_id":161270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:20:06] local.INFO: IMEI packet received {"connection_id":161270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":161270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:20:07] local.INFO: TCP Data received {"connection_id":161270,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:20:07] local.INFO: Processing buffer {"connection_id":161270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:20:07] local.INFO: IMEI packet received {"connection_id":161270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":161270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:20:09] local.INFO: TCP Data received {"connection_id":161270,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:20:09] local.INFO: Processing buffer {"connection_id":161270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:20:09] local.INFO: IMEI packet received {"connection_id":161270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":161270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:20:26] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:20:26] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:20:26] local.INFO: Packet analysis {"connection_id":160317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:20:26] local.INFO: Extracted packet for processing {"connection_id":160317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:20:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578714624001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787417155000,"timestamp_ms":1787417155000,"timestamp_seconds":1787417155,"priority":1,"record_length":96,"hex_timestamp":"000001a02a5d55b8"} 
[2026-08-22 22:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:20: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-22 22:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 22:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:20:26] 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-22 22:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578714624001,"66":25875,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578714624001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:20:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:20:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578714624001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":160317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:20:26] local.INFO: GPS data processed {"connection_id":160317,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:20:26] local.INFO: Acknowledgment sent {"connection_id":160317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:20:48] local.INFO: TCP Data received {"connection_id":160103,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:20:48] local.INFO: Processing buffer {"connection_id":160103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:20:48] local.INFO: IMEI packet received {"connection_id":160103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":160103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:20:53] local.INFO: TCP Data received {"connection_id":160103,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:20:53] local.INFO: Processing buffer {"connection_id":160103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:20:53] local.INFO: IMEI packet received {"connection_id":160103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":160103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:20:54] local.INFO: TCP Data received {"connection_id":160103,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:20:54] local.INFO: Processing buffer {"connection_id":160103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:20:54] local.INFO: Packet analysis {"connection_id":160103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:20:54] local.INFO: Extracted packet for processing {"connection_id":160103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:20:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578714624001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787417155000,"timestamp_ms":1787417155000,"timestamp_seconds":1787417155,"priority":1,"record_length":96,"hex_timestamp":"000001a02a5d55b8"} 
[2026-08-22 22:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 22:20:54] 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-22 22:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:20:54] 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-22 22:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578714624001,"66":25875,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578714624001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:20:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:20:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578714624001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":160103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:20:54] local.INFO: GPS data processed {"connection_id":160103,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:20:54] local.INFO: Acknowledgment sent {"connection_id":160103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:21:26] local.INFO: TCP Data received {"connection_id":160103,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:21:26] local.INFO: Processing buffer {"connection_id":160103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a5d55b8012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:21:26] local.INFO: Packet analysis {"connection_id":160103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:21:26] local.INFO: Extracted packet for processing {"connection_id":160103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a5d"} 
[2026-08-22 22:21:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578714624001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787417155000,"timestamp_ms":1787417155000,"timestamp_seconds":1787417155,"priority":1,"record_length":96,"hex_timestamp":"000001a02a5d55b8"} 
[2026-08-22 22:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22: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-22 22:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 22:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:21:26] 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-22 22:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578714624001,"66":25875,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578714624001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:21:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:21:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578714624001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":160103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:21:26] local.INFO: GPS data processed {"connection_id":160103,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:21:26] local.INFO: Acknowledgment sent {"connection_id":160103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:21:48] local.INFO: TCP Data received {"connection_id":162685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:21:48] local.INFO: Processing buffer {"connection_id":162685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:21:48] local.INFO: IMEI packet received {"connection_id":162685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":162685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:21:53] local.INFO: TCP Data received {"connection_id":162685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:21:53] local.INFO: Processing buffer {"connection_id":162685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:21:53] local.INFO: IMEI packet received {"connection_id":162685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":162685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:21:54] local.INFO: TCP Data received {"connection_id":162685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:21:54] local.INFO: Processing buffer {"connection_id":162685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:21:54] local.INFO: Packet analysis {"connection_id":162685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:21:54] local.INFO: Extracted packet for processing {"connection_id":162685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578791680001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787417456000,"timestamp_ms":1787417456000,"timestamp_seconds":1787417456,"priority":1,"record_length":96,"hex_timestamp":"000001a02a61ed80"} 
[2026-08-22 22: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-22 22:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 22:21:54] 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-22 22: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-22 22: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-22 22:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:21:54] 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-22 22:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578791680001,"66":25843,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578791680001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:21:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:21:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578791680001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":162685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:21:54] local.INFO: GPS data processed {"connection_id":162685,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:21:54] local.INFO: Acknowledgment sent {"connection_id":162685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:22:25] local.INFO: TCP Data received {"connection_id":162685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:22:25] local.INFO: Processing buffer {"connection_id":162685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:22:25] local.INFO: Packet analysis {"connection_id":162685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:22:25] local.INFO: Extracted packet for processing {"connection_id":162685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:22:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578791680001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787417456000,"timestamp_ms":1787417456000,"timestamp_seconds":1787417456,"priority":1,"record_length":96,"hex_timestamp":"000001a02a61ed80"} 
[2026-08-22 22: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-22 22: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-22 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 22:22: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-22 22: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-22 22: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-22 22:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:22: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-22 22:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578791680001,"66":25843,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578791680001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:22:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:22:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578791680001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":162685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:22:25] local.INFO: GPS data processed {"connection_id":162685,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:22:25] local.INFO: Acknowledgment sent {"connection_id":162685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:22:48] local.INFO: TCP Data received {"connection_id":160318,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:22:48] local.INFO: Processing buffer {"connection_id":160318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:22:48] local.INFO: IMEI packet received {"connection_id":160318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":160318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:22:53] local.INFO: TCP Data received {"connection_id":160318,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:22:53] local.INFO: Processing buffer {"connection_id":160318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:22:53] local.INFO: IMEI packet received {"connection_id":160318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":160318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:22:54] local.INFO: TCP Data received {"connection_id":160318,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:22:54] local.INFO: Processing buffer {"connection_id":160318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:22:54] local.INFO: Packet analysis {"connection_id":160318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:22:54] local.INFO: Extracted packet for processing {"connection_id":160318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578791680001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787417456000,"timestamp_ms":1787417456000,"timestamp_seconds":1787417456,"priority":1,"record_length":96,"hex_timestamp":"000001a02a61ed80"} 
[2026-08-22 22:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 22:22:54] 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-22 22:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:22:54] 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-22 22:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578791680001,"66":25843,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578791680001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:22:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:22:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578791680001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":160318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:22:54] local.INFO: GPS data processed {"connection_id":160318,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:22:54] local.INFO: Acknowledgment sent {"connection_id":160318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:23:25] local.INFO: TCP Data received {"connection_id":160318,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:23:25] local.INFO: Processing buffer {"connection_id":160318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:23:25] local.INFO: Packet analysis {"connection_id":160318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:23:25] local.INFO: Extracted packet for processing {"connection_id":160318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578791680001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787417456000,"timestamp_ms":1787417456000,"timestamp_seconds":1787417456,"priority":1,"record_length":96,"hex_timestamp":"000001a02a61ed80"} 
[2026-08-22 22: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-22 22: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-22 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 22:23: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-22 22: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-22 22: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-22 22:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:23: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-22 22:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578791680001,"66":25843,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578791680001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:23:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:23:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578791680001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":160318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:23:25] local.INFO: GPS data processed {"connection_id":160318,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:23:25] local.INFO: Acknowledgment sent {"connection_id":160318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:23:48] local.INFO: TCP Data received {"connection_id":161273,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:23:48] local.INFO: Processing buffer {"connection_id":161273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:23:48] local.INFO: IMEI packet received {"connection_id":161273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":161273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:23:53] local.INFO: TCP Data received {"connection_id":161273,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:23:53] local.INFO: Processing buffer {"connection_id":161273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:23:53] local.INFO: IMEI packet received {"connection_id":161273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":161273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:23:55] local.INFO: TCP Data received {"connection_id":161273,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:23:55] local.INFO: Processing buffer {"connection_id":161273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:23:55] local.INFO: Packet analysis {"connection_id":161273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:23:55] local.INFO: Extracted packet for processing {"connection_id":161273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:23:55] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578791680001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787417456000,"timestamp_ms":1787417456000,"timestamp_seconds":1787417456,"priority":1,"record_length":96,"hex_timestamp":"000001a02a61ed80"} 
[2026-08-22 22: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-22 22:23: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-22 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 22:23: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-22 22: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-22 22: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-22 22:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:23:55] 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-22 22:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578791680001,"66":25843,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578791680001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:23:55] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:23:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578791680001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":161273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:23:55] local.INFO: GPS data processed {"connection_id":161273,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:23:55] local.INFO: Acknowledgment sent {"connection_id":161273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:24:26] local.INFO: TCP Data received {"connection_id":161273,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:24:26] local.INFO: Processing buffer {"connection_id":161273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:24:26] local.INFO: Packet analysis {"connection_id":161273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:24:26] local.INFO: Extracted packet for processing {"connection_id":161273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:24:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578791680001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787417456000,"timestamp_ms":1787417456000,"timestamp_seconds":1787417456,"priority":1,"record_length":96,"hex_timestamp":"000001a02a61ed80"} 
[2026-08-22 22:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:24: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-22 22:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 22:24: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-22 22:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:24: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-22 22:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578791680001,"66":25843,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578791680001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:24:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:24:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578791680001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":161273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:24:26] local.INFO: GPS data processed {"connection_id":161273,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:24:26] local.INFO: Acknowledgment sent {"connection_id":161273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:24:48] local.INFO: TCP Data received {"connection_id":160320,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:24:48] local.INFO: Processing buffer {"connection_id":160320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:24:48] local.INFO: IMEI packet received {"connection_id":160320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":160320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:24:53] local.INFO: TCP Data received {"connection_id":160320,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:24:53] local.INFO: Processing buffer {"connection_id":160320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:24:53] local.INFO: IMEI packet received {"connection_id":160320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":160320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:24:54] local.INFO: TCP Data received {"connection_id":160320,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:24:54] local.INFO: Processing buffer {"connection_id":160320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:24:54] local.INFO: Packet analysis {"connection_id":160320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:24:54] local.INFO: Extracted packet for processing {"connection_id":160320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578791680001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787417456000,"timestamp_ms":1787417456000,"timestamp_seconds":1787417456,"priority":1,"record_length":96,"hex_timestamp":"000001a02a61ed80"} 
[2026-08-22 22:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 22:24:54] 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-22 22:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:24: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-22 22:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578791680001,"66":25843,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578791680001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:24:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:24:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578791680001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":160320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:24:54] local.INFO: GPS data processed {"connection_id":160320,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:24:54] local.INFO: Acknowledgment sent {"connection_id":160320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:25:11] local.INFO: TCP Data received {"connection_id":161275,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:25:11] local.INFO: Processing buffer {"connection_id":161275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:25:11] local.INFO: IMEI packet received {"connection_id":161275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":161275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:25:13] local.INFO: TCP Data received {"connection_id":161275,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a64b470012d12574007257c70001b001a21..."} 
[2026-08-22 22:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a64b470012d12574007257c70001b001a21..."} 
[2026-08-22 22:25:13] local.INFO: Processing buffer {"connection_id":161275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a64b470012d12574007257c70001b001a21..."} 
[2026-08-22 22:25:13] local.INFO: Packet analysis {"connection_id":161275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a64"} 
[2026-08-22 22:25:13] local.INFO: Extracted packet for processing {"connection_id":161275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a64"} 
[2026-08-22 22:25:13] local.INFO: GPS Element Parsed {"raw_longitude":756176704,"raw_latitude":119897200,"longitude_deg":75.6176704,"latitude_deg":11.98972,"altitude":27,"angle":26,"satellites":33,"speed":28,"hex_longitude":"2d125740","hex_latitude":"07257c70","is_valid_coordinates":true} 
[2026-08-22 22:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578914304001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15096135735574528,"note":"Value kept but may cause issues"} 
[2026-08-22 22:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1319413984024272896,"note":"Value kept but may cause issues"} 
[2026-08-22 22:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787417638000,"timestamp_ms":1787417638000,"timestamp_seconds":1787417638,"priority":1,"record_length":96,"hex_timestamp":"000001a02a64b470"} 
[2026-08-22 22:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:25: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-22 22:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 22:25:13] 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-22 22:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578914304001,"66":13559,"21":206,"83":41984,"24":28,"16":15096135735574528,"45":1319413984024272896},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,45]} 
[2026-08-22 22:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578914304001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:25:13] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-22 22:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15096135735574528,"km_value":15096135735574.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1319413984024272896,"description":"Unknown IO ID 45"} 
[2026-08-22 22:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578914304001,"power":13559,"unknown_21":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1319413984024272896}} 
[2026-08-22 22:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":161275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:25:13] local.INFO: GPS data processed {"connection_id":161275,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:25:13] local.INFO: Acknowledgment sent {"connection_id":161275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:25:26] local.INFO: TCP Data received {"connection_id":160320,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:25:26] local.INFO: Processing buffer {"connection_id":160320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:25:26] local.INFO: Packet analysis {"connection_id":160320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:25:26] local.INFO: Extracted packet for processing {"connection_id":160320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578791680001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787417456000,"timestamp_ms":1787417456000,"timestamp_seconds":1787417456,"priority":1,"record_length":96,"hex_timestamp":"000001a02a61ed80"} 
[2026-08-22 22: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-22 22:25: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-22 22: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":19,"data_length":795,"current_offset":136} 
[2026-08-22 22:25: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-22 22: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-22 22: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-22 22:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:25: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-22 22:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578791680001,"66":25843,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578791680001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:25:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:25:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578791680001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":160320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:25:26] local.INFO: GPS data processed {"connection_id":160320,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:25:26] local.INFO: Acknowledgment sent {"connection_id":160320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:25:48] local.INFO: TCP Data received {"connection_id":162686,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:25:48] local.INFO: Processing buffer {"connection_id":162686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:25:48] local.INFO: IMEI packet received {"connection_id":162686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":162686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:25:52] local.INFO: TCP Data received {"connection_id":162687,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:25:52] local.INFO: Processing buffer {"connection_id":162687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:25:52] local.INFO: IMEI packet received {"connection_id":162687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":162687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:25:53] local.INFO: TCP Data received {"connection_id":162686,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:25:53] local.INFO: Processing buffer {"connection_id":162686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:25:53] local.INFO: IMEI packet received {"connection_id":162686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":162686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:25:54] local.INFO: TCP Data received {"connection_id":162686,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:25:54] local.INFO: Processing buffer {"connection_id":162686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:25:54] local.INFO: Packet analysis {"connection_id":162686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:25:54] local.INFO: Extracted packet for processing {"connection_id":162686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578791680001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787417456000,"timestamp_ms":1787417456000,"timestamp_seconds":1787417456,"priority":1,"record_length":96,"hex_timestamp":"000001a02a61ed80"} 
[2026-08-22 22: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-22 22:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 22:25:54] 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-22 22: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-22 22: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-22 22:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:25:54] 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-22 22:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578791680001,"66":25843,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578791680001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:25:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:25:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578791680001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":162686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:25:54] local.INFO: GPS data processed {"connection_id":162686,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:25:54] local.INFO: Acknowledgment sent {"connection_id":162686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:25:55] local.INFO: TCP Data received {"connection_id":162687,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:25:55] local.INFO: Processing buffer {"connection_id":162687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:25:55] local.INFO: IMEI packet received {"connection_id":162687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":162687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:25:55] local.INFO: TCP Data received {"connection_id":162687,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a656050012d123f0007260a800025001823..."} 
[2026-08-22 22:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a656050012d123f0007260a800025001823..."} 
[2026-08-22 22:25:55] local.INFO: Processing buffer {"connection_id":162687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a656050012d123f0007260a800025001823..."} 
[2026-08-22 22:25:55] local.INFO: Packet analysis {"connection_id":162687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a65"} 
[2026-08-22 22:25:55] local.INFO: Extracted packet for processing {"connection_id":162687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a65"} 
[2026-08-22 22:25:55] local.INFO: GPS Element Parsed {"raw_longitude":756170496,"raw_latitude":119933568,"longitude_deg":75.6170496,"latitude_deg":11.9933568,"altitude":37,"angle":24,"satellites":35,"speed":28,"hex_longitude":"2d123f00","hex_latitude":"07260a80","is_valid_coordinates":true} 
[2026-08-22 22:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578926336001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15098064175890432,"note":"Value kept but may cause issues"} 
[2026-08-22 22:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1314347434453229568,"note":"Value kept but may cause issues"} 
[2026-08-22 22:25:55] 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-22 22:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787417682000,"timestamp_ms":1787417682000,"timestamp_seconds":1787417682,"priority":1,"record_length":96,"hex_timestamp":"000001a02a656050"} 
[2026-08-22 22:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-22 22:25:55] 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-22 22:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578926336001,"66":13439,"106":206,"83":42752,"24":28,"16":15098064175890432,"45":1314347434453229568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 22:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578926336001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:25:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 22:25:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15098064175890432,"km_value":15098064175890.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1314347434453229568,"description":"Unknown IO ID 45"} 
[2026-08-22 22:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578926336001,"power":13439,"unknown_106":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1314347434453229568}} 
[2026-08-22 22:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":162687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:25:56] local.INFO: GPS data processed {"connection_id":162687,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:25:56] local.INFO: Acknowledgment sent {"connection_id":162687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:26:25] local.INFO: TCP Data received {"connection_id":162686,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:26:25] local.INFO: Processing buffer {"connection_id":162686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a61ed80012d7b84c005f5ee00001200b330..."} 
[2026-08-22 22:26:25] local.INFO: Packet analysis {"connection_id":162686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:26:25] local.INFO: Extracted packet for processing {"connection_id":162686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a61"} 
[2026-08-22 22:26:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 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-22 22:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578791680001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787417456000,"timestamp_ms":1787417456000,"timestamp_seconds":1787417456,"priority":1,"record_length":96,"hex_timestamp":"000001a02a61ed80"} 
[2026-08-22 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-22 22: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-22 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-22 22:26: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-22 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-22 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-22 22:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:26: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-22 22:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578791680001,"66":25843,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578791680001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:26:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:26:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578791680001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":162686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:26:25] local.INFO: GPS data processed {"connection_id":162686,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:26:25] local.INFO: Acknowledgment sent {"connection_id":162686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:26:27] local.INFO: TCP Data received {"connection_id":162687,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a656438012d12408007260ce80025002320..."} 
[2026-08-22 22:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a656438012d12408007260ce80025002320..."} 
[2026-08-22 22:26:27] local.INFO: Processing buffer {"connection_id":162687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a656438012d12408007260ce80025002320..."} 
[2026-08-22 22:26:27] local.INFO: Packet analysis {"connection_id":162687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a65"} 
[2026-08-22 22:26:27] local.INFO: Extracted packet for processing {"connection_id":162687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a65"} 
[2026-08-22 22:26:27] local.INFO: GPS Element Parsed {"raw_longitude":756170880,"raw_latitude":119934184,"longitude_deg":75.617088,"latitude_deg":11.9934184,"altitude":37,"angle":35,"satellites":32,"speed":28,"hex_longitude":"2d124080","hex_latitude":"07260ce8","is_valid_coordinates":true} 
[2026-08-22 22:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578926592001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15098098535628800,"note":"Value kept but may cause issues"} 
[2026-08-22 22:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1314769646918467584,"note":"Value kept but may cause issues"} 
[2026-08-22 22:26:27] 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-22 22:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787417683000,"timestamp_ms":1787417683000,"timestamp_seconds":1787417683,"priority":1,"record_length":96,"hex_timestamp":"000001a02a656438"} 
[2026-08-22 22:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-22 22:26:27] 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-22 22:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578926592001,"66":13439,"106":206,"83":42752,"24":28,"16":15098098535628800,"45":1314769646918467584},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 22:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578926592001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:26:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 22:26:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15098098535628800,"km_value":15098098535628.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1314769646918467584,"description":"Unknown IO ID 45"} 
[2026-08-22 22:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578926592001,"power":13439,"unknown_106":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1314769646918467584}} 
[2026-08-22 22:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":162687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:26:27] local.INFO: GPS data processed {"connection_id":162687,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:26:27] local.INFO: Acknowledgment sent {"connection_id":162687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:26:48] local.INFO: TCP Data received {"connection_id":160104,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:26:48] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:26:48] local.INFO: IMEI packet received {"connection_id":160104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":160104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:26:51] local.INFO: TCP Data received {"connection_id":160105,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:26:51] local.INFO: Processing buffer {"connection_id":160105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:26:51] local.INFO: IMEI packet received {"connection_id":160105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":160105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:26:53] local.INFO: TCP Data received {"connection_id":160104,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:26:53] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:26:53] local.INFO: IMEI packet received {"connection_id":160104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":160104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:26:54] local.INFO: TCP Data received {"connection_id":160104,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:26:54] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:26:54] local.INFO: Packet analysis {"connection_id":160104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:26:54] local.INFO: Extracted packet for processing {"connection_id":160104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:26:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578868736001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787417757000,"timestamp_ms":1787417757000,"timestamp_seconds":1787417757,"priority":1,"record_length":96,"hex_timestamp":"000001a02a668548"} 
[2026-08-22 22:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 22:26:54] 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-22 22:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:26:54] 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-22 22:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578868736001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578868736001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:26:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:26:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578868736001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":160104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:26:54] local.INFO: GPS data processed {"connection_id":160104,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:26:54] local.INFO: Acknowledgment sent {"connection_id":160104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:26:57] local.INFO: TCP Data received {"connection_id":160105,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:26:57] local.INFO: Processing buffer {"connection_id":160105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:26:57] local.INFO: IMEI packet received {"connection_id":160105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":160105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:26:57] local.INFO: TCP Data received {"connection_id":160105,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a659700012d1254c007262c98002a002022..."} 
[2026-08-22 22:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a659700012d1254c007262c98002a002022..."} 
[2026-08-22 22:26:57] local.INFO: Processing buffer {"connection_id":160105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a659700012d1254c007262c98002a002022..."} 
[2026-08-22 22:26:57] local.INFO: Packet analysis {"connection_id":160105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a65"} 
[2026-08-22 22:26:57] local.INFO: Extracted packet for processing {"connection_id":160105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a65"} 
[2026-08-22 22:26:57] local.INFO: GPS Element Parsed {"raw_longitude":756176064,"raw_latitude":119942296,"longitude_deg":75.6176064,"latitude_deg":11.9942296,"altitude":42,"angle":32,"satellites":34,"speed":31,"hex_longitude":"2d1254c0","hex_latitude":"07262c98","is_valid_coordinates":true} 
[2026-08-22 22:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578926848001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15098562392096768,"note":"Value kept but may cause issues"} 
[2026-08-22 22:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1315191859383691264,"note":"Value kept but may cause issues"} 
[2026-08-22 22:26:57] 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-22 22:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787417696000,"timestamp_ms":1787417696000,"timestamp_seconds":1787417696,"priority":1,"record_length":96,"hex_timestamp":"000001a02a659700"} 
[2026-08-22 22:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-22 22:26:57] 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-22 22:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578926848001,"66":13352,"106":206,"83":42752,"24":31,"16":15098562392096768,"45":1315191859383691264},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 22:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578926848001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:26:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 22:26:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15098562392096768,"km_value":15098562392096.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1315191859383691264,"description":"Unknown IO ID 45"} 
[2026-08-22 22:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578926848001,"power":13352,"unknown_106":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1315191859383691264}} 
[2026-08-22 22:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":160105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:26:57] local.INFO: GPS data processed {"connection_id":160105,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:26:57] local.INFO: Acknowledgment sent {"connection_id":160105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:27:26] local.INFO: TCP Data received {"connection_id":160104,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:27:26] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:27:26] local.INFO: Packet analysis {"connection_id":160104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:27:26] local.INFO: Extracted packet for processing {"connection_id":160104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:27:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578868736001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787417757000,"timestamp_ms":1787417757000,"timestamp_seconds":1787417757,"priority":1,"record_length":96,"hex_timestamp":"000001a02a668548"} 
[2026-08-22 22: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-22 22:27: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-22 22: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 22:27:26] 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-22 22: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-22 22: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-22 22:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:27:26] 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-22 22:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578868736001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578868736001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:27:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:27:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578868736001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":160104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:27:26] local.INFO: GPS data processed {"connection_id":160104,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:27:26] local.INFO: Acknowledgment sent {"connection_id":160104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:27:28] local.INFO: TCP Data received {"connection_id":160105,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a672958012d13c9400726b938003000591e..."} 
[2026-08-22 22:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a672958012d13c9400726b938003000591e..."} 
[2026-08-22 22:27:28] local.INFO: Processing buffer {"connection_id":160105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a672958012d13c9400726b938003000591e..."} 
[2026-08-22 22:27:28] local.INFO: Packet analysis {"connection_id":160105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a67"} 
[2026-08-22 22:27:28] local.INFO: Extracted packet for processing {"connection_id":160105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a67"} 
[2026-08-22 22:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756271424,"raw_latitude":119978296,"longitude_deg":75.6271424,"latitude_deg":11.9978296,"altitude":48,"angle":89,"satellites":30,"speed":52,"hex_longitude":"2d13c940","hex_latitude":"0726b938","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578954752001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15103660518277120,"note":"Value kept but may cause issues"} 
[2026-08-22 22:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1415326582359633920,"note":"Value kept but may cause issues"} 
[2026-08-22 22:27:28] 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-22 22:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787417799000,"timestamp_ms":1787417799000,"timestamp_seconds":1787417799,"priority":1,"record_length":96,"hex_timestamp":"000001a02a672958"} 
[2026-08-22 22: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-22 22:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 22: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-22 22:27:28] 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-22 22: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-22 22: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-22 22:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578954752001,"66":13439,"106":206,"83":42752,"24":52,"16":15103660518277120,"45":1415326582359633920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 22:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578954752001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:27:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 22:27:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15103660518277120,"km_value":15103660518277.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1415326582359633920,"description":"Unknown IO ID 45"} 
[2026-08-22 22:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578954752001,"power":13439,"unknown_106":206,"unknown_83":42752,"ignition":52,"odometer":null,"unknown_45":1415326582359633920}} 
[2026-08-22 22:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":160105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:27:28] local.INFO: GPS data processed {"connection_id":160105,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:27:28] local.INFO: Acknowledgment sent {"connection_id":160105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:27:48] local.INFO: TCP Data received {"connection_id":162688,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:27:48] local.INFO: Processing buffer {"connection_id":162688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:27:48] local.INFO: IMEI packet received {"connection_id":162688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":162688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:27:50] local.INFO: TCP Data received {"connection_id":161276,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:27:50] local.INFO: Processing buffer {"connection_id":161276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:27:50] local.INFO: IMEI packet received {"connection_id":161276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":161276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:27:51] local.INFO: TCP Data received {"connection_id":161276,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:27:51] local.INFO: Processing buffer {"connection_id":161276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:27:51] local.INFO: IMEI packet received {"connection_id":161276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":161276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:27:53] local.INFO: TCP Data received {"connection_id":162688,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:27:53] local.INFO: Processing buffer {"connection_id":162688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:27:53] local.INFO: IMEI packet received {"connection_id":162688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":162688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:27:54] local.INFO: TCP Data received {"connection_id":162688,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:27:54] local.INFO: Processing buffer {"connection_id":162688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:27:54] local.INFO: Packet analysis {"connection_id":162688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:27:54] local.INFO: Extracted packet for processing {"connection_id":162688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578868736001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787417757000,"timestamp_ms":1787417757000,"timestamp_seconds":1787417757,"priority":1,"record_length":96,"hex_timestamp":"000001a02a668548"} 
[2026-08-22 22:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 22:27:54] 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-22 22:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:27:54] 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-22 22:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578868736001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578868736001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:27:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:27:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578868736001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":162688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:27:54] local.INFO: GPS data processed {"connection_id":162688,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:27:54] local.INFO: Acknowledgment sent {"connection_id":162688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:27:57] local.INFO: TCP Data received {"connection_id":161276,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:27:57] local.INFO: Processing buffer {"connection_id":161276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:27:57] local.INFO: IMEI packet received {"connection_id":161276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":161276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:27:58] local.INFO: TCP Data received {"connection_id":161276,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6744b0012d13e6400726b878002f006922..."} 
[2026-08-22 22:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6744b0012d13e6400726b878002f006922..."} 
[2026-08-22 22:27:58] local.INFO: Processing buffer {"connection_id":161276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6744b0012d13e6400726b878002f006922..."} 
[2026-08-22 22:27:58] local.INFO: Packet analysis {"connection_id":161276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a67"} 
[2026-08-22 22:27:58] local.INFO: Extracted packet for processing {"connection_id":161276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a67"} 
[2026-08-22 22:27:58] local.INFO: GPS Element Parsed {"raw_longitude":756278848,"raw_latitude":119978104,"longitude_deg":75.6278848,"latitude_deg":11.9978104,"altitude":47,"angle":105,"satellites":34,"speed":34,"hex_longitude":"2d13e640","hex_latitude":"0726b878","is_valid_coordinates":true} 
[2026-08-22 22:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578956544001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15104012705595392,"note":"Value kept but may cause issues"} 
[2026-08-22 22:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1425741156498094080,"note":"Value kept but may cause issues"} 
[2026-08-22 22:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787417806000,"timestamp_ms":1787417806000,"timestamp_seconds":1787417806,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6744b0"} 
[2026-08-22 22:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-22 22:27:58] 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-22 22:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578956544001,"66":13406,"106":206,"83":42752,"24":34,"16":15104012705595392,"45":1425741156498094080},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 22:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578956544001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:27:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 22:27:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15104012705595392,"km_value":15104012705595.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1425741156498094080,"description":"Unknown IO ID 45"} 
[2026-08-22 22:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578956544001,"power":13406,"unknown_106":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1425741156498094080}} 
[2026-08-22 22:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":161276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:27:58] local.INFO: GPS data processed {"connection_id":161276,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:27:58] local.INFO: Acknowledgment sent {"connection_id":161276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:28:25] local.INFO: TCP Data received {"connection_id":162688,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:28:25] local.INFO: Processing buffer {"connection_id":162688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:28:25] local.INFO: Packet analysis {"connection_id":162688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:28:25] local.INFO: Extracted packet for processing {"connection_id":162688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:28:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578868736001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787417757000,"timestamp_ms":1787417757000,"timestamp_seconds":1787417757,"priority":1,"record_length":96,"hex_timestamp":"000001a02a668548"} 
[2026-08-22 22: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-22 22: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-22 22: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 22:28:25] 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-22 22: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-22 22: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-22 22:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:28: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-22 22:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578868736001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578868736001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:28:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:28:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578868736001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":162688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:28:25] local.INFO: GPS data processed {"connection_id":162688,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:28:25] local.INFO: Acknowledgment sent {"connection_id":162688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:28:29] local.INFO: TCP Data received {"connection_id":161276,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a674c80012d13ec000726b5b00030007c22..."} 
[2026-08-22 22:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a674c80012d13ec000726b5b00030007c22..."} 
[2026-08-22 22:28:29] local.INFO: Processing buffer {"connection_id":161276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a674c80012d13ec000726b5b00030007c22..."} 
[2026-08-22 22:28:29] local.INFO: Packet analysis {"connection_id":161276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a67"} 
[2026-08-22 22:28:29] local.INFO: Extracted packet for processing {"connection_id":161276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a67"} 
[2026-08-22 22:28:29] local.INFO: GPS Element Parsed {"raw_longitude":756280320,"raw_latitude":119977392,"longitude_deg":75.628032,"latitude_deg":11.9977392,"altitude":48,"angle":124,"satellites":34,"speed":31,"hex_longitude":"2d13ec00","hex_latitude":"0726b5b0","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578958336001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15104090015006720,"note":"Value kept but may cause issues"} 
[2026-08-22 22:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1433903930822653952,"note":"Value kept but may cause issues"} 
[2026-08-22 22:28:29] 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-22 22:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787417808000,"timestamp_ms":1787417808000,"timestamp_seconds":1787417808,"priority":1,"record_length":96,"hex_timestamp":"000001a02a674c80"} 
[2026-08-22 22: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-22 22:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 22: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-22 22:28:29] 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-22 22: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-22 22: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-22 22:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578958336001,"66":13406,"106":206,"83":42752,"24":31,"16":15104090015006720,"45":1433903930822653952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 22:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578958336001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:28:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 22:28:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15104090015006720,"km_value":15104090015006.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1433903930822653952,"description":"Unknown IO ID 45"} 
[2026-08-22 22:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578958336001,"power":13406,"unknown_106":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1433903930822653952}} 
[2026-08-22 22:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":161276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:28:29] local.INFO: GPS data processed {"connection_id":161276,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:28:29] local.INFO: Acknowledgment sent {"connection_id":161276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:28:48] local.INFO: TCP Data received {"connection_id":160321,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:28:48] local.INFO: Processing buffer {"connection_id":160321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:28:48] local.INFO: IMEI packet received {"connection_id":160321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":160321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:28:51] local.INFO: TCP Data received {"connection_id":160106,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:28:51] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:28:51] local.INFO: IMEI packet received {"connection_id":160106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":160106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:28:52] local.INFO: TCP Data received {"connection_id":160106,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:28:52] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:28:52] local.INFO: IMEI packet received {"connection_id":160106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":160106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:28:53] local.INFO: TCP Data received {"connection_id":160321,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:28:53] local.INFO: Processing buffer {"connection_id":160321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:28:53] local.INFO: IMEI packet received {"connection_id":160321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":160321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:28:54] local.INFO: TCP Data received {"connection_id":160321,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:28:54] local.INFO: Processing buffer {"connection_id":160321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:28:54] local.INFO: Packet analysis {"connection_id":160321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:28:54] local.INFO: Extracted packet for processing {"connection_id":160321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578868736001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787417757000,"timestamp_ms":1787417757000,"timestamp_seconds":1787417757,"priority":1,"record_length":96,"hex_timestamp":"000001a02a668548"} 
[2026-08-22 22:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 22:28:54] 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-22 22:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:28:54] 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-22 22:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578868736001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578868736001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:28:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:28:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578868736001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":160321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:28:54] local.INFO: GPS data processed {"connection_id":160321,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:28:54] local.INFO: Acknowledgment sent {"connection_id":160321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:28:56] local.INFO: TCP Data received {"connection_id":160106,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:28:56] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:28:56] local.INFO: IMEI packet received {"connection_id":160106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":160106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:28:56] local.INFO: TCP Data received {"connection_id":160106,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a677778012d14070007269d68003100801f..."} 
[2026-08-22 22:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a677778012d14070007269d68003100801f..."} 
[2026-08-22 22:28:56] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a677778012d14070007269d68003100801f..."} 
[2026-08-22 22:28:56] local.INFO: Packet analysis {"connection_id":160106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a67"} 
[2026-08-22 22:28:56] local.INFO: Extracted packet for processing {"connection_id":160106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a67"} 
[2026-08-22 22:28:56] local.INFO: GPS Element Parsed {"raw_longitude":756287232,"raw_latitude":119971176,"longitude_deg":75.6287232,"latitude_deg":11.9971176,"altitude":49,"angle":128,"satellites":31,"speed":34,"hex_longitude":"2d140700","hex_latitude":"07269d68","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578958848001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15104536691605504,"note":"Value kept but may cause issues"} 
[2026-08-22 22:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1435522411938557952,"note":"Value kept but may cause issues"} 
[2026-08-22 22:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787417819000,"timestamp_ms":1787417819000,"timestamp_seconds":1787417819,"priority":1,"record_length":96,"hex_timestamp":"000001a02a677778"} 
[2026-08-22 22: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-22 22:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-22 22:28:56] 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-22 22: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-22 22: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-22 22:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578958848001,"66":13417,"52":206,"83":42752,"24":34,"16":15104536691605504,"45":1435522411938557952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-22 22:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578958848001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:28:56] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-22 22:28:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15104536691605504,"km_value":15104536691605.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1435522411938557952,"description":"Unknown IO ID 45"} 
[2026-08-22 22:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578958848001,"power":13417,"unknown_52":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1435522411938557952}} 
[2026-08-22 22:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":160106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:28:57] local.INFO: GPS data processed {"connection_id":160106,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:28:57] local.INFO: Acknowledgment sent {"connection_id":160106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:29:25] local.INFO: TCP Data received {"connection_id":160321,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:29:25] local.INFO: Processing buffer {"connection_id":160321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:29:25] local.INFO: Packet analysis {"connection_id":160321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:29:25] local.INFO: Extracted packet for processing {"connection_id":160321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:29:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578868736001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787417757000,"timestamp_ms":1787417757000,"timestamp_seconds":1787417757,"priority":1,"record_length":96,"hex_timestamp":"000001a02a668548"} 
[2026-08-22 22: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-22 22: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-22 22: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 22:29:25] 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-22 22: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-22 22: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-22 22:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:29: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-22 22:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578868736001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578868736001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:29:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:29:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578868736001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":160321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:29:25] local.INFO: GPS data processed {"connection_id":160321,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:29:25] local.INFO: Acknowledgment sent {"connection_id":160321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:29:28] local.INFO: TCP Data received {"connection_id":160106,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a68ded8012d15280007268208002900701f..."} 
[2026-08-22 22:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a68ded8012d15280007268208002900701f..."} 
[2026-08-22 22:29:28] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a68ded8012d15280007268208002900701f..."} 
[2026-08-22 22:29:28] local.INFO: Packet analysis {"connection_id":160106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a68"} 
[2026-08-22 22:29:28] local.INFO: Extracted packet for processing {"connection_id":160106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a68"} 
[2026-08-22 22:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756361216,"raw_latitude":119964168,"longitude_deg":75.6361216,"latitude_deg":11.9964168,"altitude":41,"angle":112,"satellites":31,"speed":43,"hex_longitude":"2d152800","hex_latitude":"07268208","is_valid_coordinates":true} 
[2026-08-22 22:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578985216001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15108217478578176,"note":"Value kept but may cause issues"} 
[2026-08-22 22:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1524468504575739904,"note":"Value kept but may cause issues"} 
[2026-08-22 22:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787417911000,"timestamp_ms":1787417911000,"timestamp_seconds":1787417911,"priority":1,"record_length":96,"hex_timestamp":"000001a02a68ded8"} 
[2026-08-22 22:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:29: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-22 22:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 22:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578985216001,"66":13493,"137":206,"83":42752,"24":43,"16":15108217478578176,"45":1524468504575739904},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 22:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578985216001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:29:28] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 22:29:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15108217478578176,"km_value":15108217478578.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1524468504575739904,"description":"Unknown IO ID 45"} 
[2026-08-22 22:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578985216001,"power":13493,"unknown_137":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1524468504575739904}} 
[2026-08-22 22:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":160106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:29:28] local.INFO: GPS data processed {"connection_id":160106,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:29:28] local.INFO: Acknowledgment sent {"connection_id":160106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:29:48] local.INFO: TCP Data received {"connection_id":161277,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:29:48] local.INFO: Processing buffer {"connection_id":161277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:29:48] local.INFO: IMEI packet received {"connection_id":161277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":161277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:29:51] local.INFO: TCP Data received {"connection_id":162689,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:29:51] local.INFO: Processing buffer {"connection_id":162689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:29:51] local.INFO: IMEI packet received {"connection_id":162689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":162689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:29:53] local.INFO: TCP Data received {"connection_id":161277,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:29:53] local.INFO: Processing buffer {"connection_id":161277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:29:53] local.INFO: IMEI packet received {"connection_id":161277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":161277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:29:54] local.INFO: TCP Data received {"connection_id":161277,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:29:54] local.INFO: Processing buffer {"connection_id":161277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:29:54] local.INFO: Packet analysis {"connection_id":161277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:29:54] local.INFO: Extracted packet for processing {"connection_id":161277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578868736001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787417757000,"timestamp_ms":1787417757000,"timestamp_seconds":1787417757,"priority":1,"record_length":96,"hex_timestamp":"000001a02a668548"} 
[2026-08-22 22: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-22 22:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 22:29:54] 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-22 22: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-22 22: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-22 22:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:29:54] 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-22 22:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578868736001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578868736001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:29:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:29:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578868736001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":161277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:29:54] local.INFO: GPS data processed {"connection_id":161277,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:29:54] local.INFO: Acknowledgment sent {"connection_id":161277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:29:57] local.INFO: TCP Data received {"connection_id":162689,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:29:57] local.INFO: Processing buffer {"connection_id":162689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:29:57] local.INFO: IMEI packet received {"connection_id":162689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":162689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:29:57] local.INFO: TCP Data received {"connection_id":162689,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a68ee78012d153700072679500029007e1f..."} 
[2026-08-22 22:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a68ee78012d153700072679500029007e1f..."} 
[2026-08-22 22:29:57] local.INFO: Processing buffer {"connection_id":162689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a68ee78012d153700072679500029007e1f..."} 
[2026-08-22 22:29:57] local.INFO: Packet analysis {"connection_id":162689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a68"} 
[2026-08-22 22:29:57] local.INFO: Extracted packet for processing {"connection_id":162689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a68"} 
[2026-08-22 22:29:57] local.INFO: GPS Element Parsed {"raw_longitude":756365056,"raw_latitude":119961936,"longitude_deg":75.6365056,"latitude_deg":11.9961936,"altitude":41,"angle":126,"satellites":31,"speed":42,"hex_longitude":"2d153700","hex_latitude":"07267950","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578985216001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15108427931975680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1524468504575739904,"note":"Value kept but may cause issues"} 
[2026-08-22 22:29:57] 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-22 22:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787417915000,"timestamp_ms":1787417915000,"timestamp_seconds":1787417915,"priority":1,"record_length":96,"hex_timestamp":"000001a02a68ee78"} 
[2026-08-22 22: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-22 22:29:57] 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-22 22: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 22:29:57] 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-22 22: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-22 22: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-22 22:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578985216001,"66":13396,"137":206,"83":42752,"24":42,"16":15108427931975680,"45":1524468504575739904},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 22:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578985216001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:29:57] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 22:29:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15108427931975680,"km_value":15108427931975.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1524468504575739904,"description":"Unknown IO ID 45"} 
[2026-08-22 22:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578985216001,"power":13396,"unknown_137":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1524468504575739904}} 
[2026-08-22 22:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":162689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:29:58] local.INFO: GPS data processed {"connection_id":162689,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:29:58] local.INFO: Acknowledgment sent {"connection_id":162689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:30:26] local.INFO: TCP Data received {"connection_id":161277,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:30:26] local.INFO: Processing buffer {"connection_id":161277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:30:26] local.INFO: Packet analysis {"connection_id":161277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:30:26] local.INFO: Extracted packet for processing {"connection_id":161277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:30:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578868736001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787417757000,"timestamp_ms":1787417757000,"timestamp_seconds":1787417757,"priority":1,"record_length":96,"hex_timestamp":"000001a02a668548"} 
[2026-08-22 22: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-22 22: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-22 22: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 22:30:26] 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-22 22: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-22 22: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-22 22:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:30:26] 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-22 22:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578868736001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578868736001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:30:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:30:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578868736001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":161277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:30:26] local.INFO: GPS data processed {"connection_id":161277,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:30:26] local.INFO: Acknowledgment sent {"connection_id":161277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:30:29] local.INFO: TCP Data received {"connection_id":162689,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6911a0012d1552c007266070002c00861d..."} 
[2026-08-22 22:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6911a0012d1552c007266070002c00861d..."} 
[2026-08-22 22:30:29] local.INFO: Processing buffer {"connection_id":162689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6911a0012d1552c007266070002c00861d..."} 
[2026-08-22 22:30:29] local.INFO: Packet analysis {"connection_id":162689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a69"} 
[2026-08-22 22:30:29] local.INFO: Extracted packet for processing {"connection_id":162689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a69"} 
[2026-08-22 22:30:29] local.INFO: GPS Element Parsed {"raw_longitude":756372160,"raw_latitude":119955568,"longitude_deg":75.637216,"latitude_deg":11.9955568,"altitude":44,"angle":134,"satellites":29,"speed":38,"hex_longitude":"2d1552c0","hex_latitude":"07266070","is_valid_coordinates":true} 
[2026-08-22 22:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578986240001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15108883198509056,"note":"Value kept but may cause issues"} 
[2026-08-22 22:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1528690629225828352,"note":"Value kept but may cause issues"} 
[2026-08-22 22:30:29] 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-22 22:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787417924000,"timestamp_ms":1787417924000,"timestamp_seconds":1787417924,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6911a0"} 
[2026-08-22 22:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-22 22:30:29] 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-22 22:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578986240001,"66":13472,"137":206,"83":42752,"24":38,"16":15108883198509056,"45":1528690629225828352},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-22 22:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578986240001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:30:29] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-22 22:30:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15108883198509056,"km_value":15108883198509.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1528690629225828352,"description":"Unknown IO ID 45"} 
[2026-08-22 22:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578986240001,"power":13472,"unknown_137":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1528690629225828352}} 
[2026-08-22 22:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":162689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:30:29] local.INFO: GPS data processed {"connection_id":162689,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:30:29] local.INFO: Acknowledgment sent {"connection_id":162689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:30:48] local.INFO: TCP Data received {"connection_id":161278,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:30:48] local.INFO: Processing buffer {"connection_id":161278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:30:48] local.INFO: IMEI packet received {"connection_id":161278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":161278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:30:51] local.INFO: TCP Data received {"connection_id":161279,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:30:51] local.INFO: Processing buffer {"connection_id":161279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:30:51] local.INFO: IMEI packet received {"connection_id":161279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":161279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:30:53] local.INFO: TCP Data received {"connection_id":161278,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:30:53] local.INFO: Processing buffer {"connection_id":161278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:30:53] local.INFO: IMEI packet received {"connection_id":161278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":161278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:30:54] local.INFO: TCP Data received {"connection_id":161278,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:30:54] local.INFO: Processing buffer {"connection_id":161278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:30:54] local.INFO: Packet analysis {"connection_id":161278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:30:54] local.INFO: Extracted packet for processing {"connection_id":161278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578868736001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787417757000,"timestamp_ms":1787417757000,"timestamp_seconds":1787417757,"priority":1,"record_length":96,"hex_timestamp":"000001a02a668548"} 
[2026-08-22 22:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 22:30:54] 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-22 22:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:30:54] 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-22 22:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578868736001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578868736001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:30:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:30:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578868736001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":161278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:30:54] local.INFO: GPS data processed {"connection_id":161278,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:30:54] local.INFO: Acknowledgment sent {"connection_id":161278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:30:57] local.INFO: TCP Data received {"connection_id":161279,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:30:57] local.INFO: Processing buffer {"connection_id":161279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:30:57] local.INFO: IMEI packet received {"connection_id":161279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":161279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:30:57] local.INFO: TCP Data received {"connection_id":161279,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6a4250012d1672800725e0700027008b1f..."} 
[2026-08-22 22:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6a4250012d1672800725e0700027008b1f..."} 
[2026-08-22 22:30:57] local.INFO: Processing buffer {"connection_id":161279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6a4250012d1672800725e0700027008b1f..."} 
[2026-08-22 22:30:57] local.INFO: Packet analysis {"connection_id":161279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6a"} 
[2026-08-22 22:30:57] local.INFO: Extracted packet for processing {"connection_id":161279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6a"} 
[2026-08-22 22:30:57] local.INFO: GPS Element Parsed {"raw_longitude":756445824,"raw_latitude":119922800,"longitude_deg":75.6445824,"latitude_deg":11.99228,"altitude":39,"angle":139,"satellites":31,"speed":43,"hex_longitude":"2d167280","hex_latitude":"0725e070","is_valid_coordinates":true} 
[2026-08-22 22:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579007744001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15112804503650304,"note":"Value kept but may cause issues"} 
[2026-08-22 22:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1615033078322434048,"note":"Value kept but may cause issues"} 
[2026-08-22 22:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787418002000,"timestamp_ms":1787418002000,"timestamp_seconds":1787418002,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6a4250"} 
[2026-08-22 22:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:30:57] 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-22 22:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 22:30:57] 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-22 22:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579007744001,"66":13472,"135":206,"83":42752,"24":43,"16":15112804503650304,"45":1615033078322434048},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-22 22:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579007744001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:30:57] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-22 22:30:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15112804503650304,"km_value":15112804503650.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1615033078322434048,"description":"Unknown IO ID 45"} 
[2026-08-22 22:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579007744001,"power":13472,"unknown_135":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1615033078322434048}} 
[2026-08-22 22:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":161279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:30:57] local.INFO: GPS data processed {"connection_id":161279,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:30:57] local.INFO: Acknowledgment sent {"connection_id":161279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:31:26] local.INFO: TCP Data received {"connection_id":161278,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:31:26] local.INFO: Processing buffer {"connection_id":161278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a668548012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:31:26] local.INFO: Packet analysis {"connection_id":161278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:31:26] local.INFO: Extracted packet for processing {"connection_id":161278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a66"} 
[2026-08-22 22:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578868736001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787417757000,"timestamp_ms":1787417757000,"timestamp_seconds":1787417757,"priority":1,"record_length":96,"hex_timestamp":"000001a02a668548"} 
[2026-08-22 22:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22: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-22 22:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-22 22:31:26] 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-22 22:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:31:26] 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-22 22:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578868736001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578868736001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:31:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:31:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578868736001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":161278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:31:26] local.INFO: GPS data processed {"connection_id":161278,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:31:26] local.INFO: Acknowledgment sent {"connection_id":161278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:31:38] local.INFO: TCP Data received {"connection_id":161279,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6a6578012d1687800725c1c80026009a20..."} 
[2026-08-22 22:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6a6578012d1687800725c1c80026009a20..."} 
[2026-08-22 22:31:38] local.INFO: Processing buffer {"connection_id":161279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6a6578012d1687800725c1c80026009a20..."} 
[2026-08-22 22:31:38] local.INFO: Packet analysis {"connection_id":161279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6a"} 
[2026-08-22 22:31:38] local.INFO: Extracted packet for processing {"connection_id":161279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6a"} 
[2026-08-22 22:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119914952,"longitude_deg":75.64512,"latitude_deg":11.9914952,"altitude":38,"angle":154,"satellites":32,"speed":35,"hex_longitude":"2d168780","hex_latitude":"0725c1c8","is_valid_coordinates":true} 
[2026-08-22 22:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579008512001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15113264065150976,"note":"Value kept but may cause issues"} 
[2026-08-22 22:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1617495984368021504,"note":"Value kept but may cause issues"} 
[2026-08-22 22:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787418011000,"timestamp_ms":1787418011000,"timestamp_seconds":1787418011,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6a6578"} 
[2026-08-22 22:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:31:38] 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-22 22:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 22:31: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-22 22:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579008512001,"66":13537,"135":206,"83":42752,"24":35,"16":15113264065150976,"45":1617495984368021504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-22 22:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579008512001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:31:38] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-22 22:31:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15113264065150976,"km_value":15113264065150.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1617495984368021504,"description":"Unknown IO ID 45"} 
[2026-08-22 22:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579008512001,"power":13537,"unknown_135":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1617495984368021504}} 
[2026-08-22 22:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":161279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:31:38] local.INFO: GPS data processed {"connection_id":161279,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:31:38] local.INFO: Acknowledgment sent {"connection_id":161279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:31:48] local.INFO: TCP Data received {"connection_id":162690,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:31:48] local.INFO: Processing buffer {"connection_id":162690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:31:48] local.INFO: IMEI packet received {"connection_id":162690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":162690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:31:51] local.INFO: TCP Data received {"connection_id":160322,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:31:51] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:31:51] local.INFO: IMEI packet received {"connection_id":160322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":160322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:31:52] local.INFO: TCP Data received {"connection_id":160322,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:31:52] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:31:52] local.INFO: IMEI packet received {"connection_id":160322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":160322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:31:53] local.INFO: TCP Data received {"connection_id":162690,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:31:53] local.INFO: Processing buffer {"connection_id":162690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:31:53] local.INFO: IMEI packet received {"connection_id":162690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":162690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:31:54] local.INFO: TCP Data received {"connection_id":162690,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:31:54] local.INFO: Processing buffer {"connection_id":162690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:31:54] local.INFO: Packet analysis {"connection_id":162690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:31:54] local.INFO: Extracted packet for processing {"connection_id":162690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578945792001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787418058000,"timestamp_ms":1787418058000,"timestamp_seconds":1787418058,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6b1d10"} 
[2026-08-22 22:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:31:54] 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-22 22:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:31:54] 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-22 22:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578945792001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578945792001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:31:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:31:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578945792001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":162690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:31:54] local.INFO: GPS data processed {"connection_id":162690,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:31:54] local.INFO: Acknowledgment sent {"connection_id":162690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:31:57] local.INFO: TCP Data received {"connection_id":160322,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:31:57] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:31:57] local.INFO: IMEI packet received {"connection_id":160322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":160322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:31:57] local.INFO: TCP Data received {"connection_id":160322,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6a6578012d1687800725c1c80026009a20..."} 
[2026-08-22 22:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6a6578012d1687800725c1c80026009a20..."} 
[2026-08-22 22:31:57] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6a6578012d1687800725c1c80026009a20..."} 
[2026-08-22 22:31:57] local.INFO: Packet analysis {"connection_id":160322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6a"} 
[2026-08-22 22:31:57] local.INFO: Extracted packet for processing {"connection_id":160322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6a"} 
[2026-08-22 22:31:57] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119914952,"longitude_deg":75.64512,"latitude_deg":11.9914952,"altitude":38,"angle":154,"satellites":32,"speed":35,"hex_longitude":"2d168780","hex_latitude":"0725c1c8","is_valid_coordinates":true} 
[2026-08-22 22:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579010816001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15113264065150976,"note":"Value kept but may cause issues"} 
[2026-08-22 22:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958876936192,"note":"Value kept but may cause issues"} 
[2026-08-22 22:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787418011000,"timestamp_ms":1787418011000,"timestamp_seconds":1787418011,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6a6578"} 
[2026-08-22 22:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:31:57] 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-22 22:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-22 22:31:57] 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-22 22:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579010816001,"66":13537,"135":206,"83":42752,"24":35,"16":15113264065150976,"45":1623406958876936192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-22 22:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579010816001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:31:57] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-22 22:31:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15113264065150976,"km_value":15113264065150.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958876936192,"description":"Unknown IO ID 45"} 
[2026-08-22 22:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579010816001,"power":13537,"unknown_135":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1623406958876936192}} 
[2026-08-22 22:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":160322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:31:58] local.INFO: GPS data processed {"connection_id":160322,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:31:58] local.INFO: Acknowledgment sent {"connection_id":160322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:32:25] local.INFO: TCP Data received {"connection_id":162690,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:32:25] local.INFO: Processing buffer {"connection_id":162690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:32:25] local.INFO: Packet analysis {"connection_id":162690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:32:25] local.INFO: Extracted packet for processing {"connection_id":162690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:32:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578945792001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787418058000,"timestamp_ms":1787418058000,"timestamp_seconds":1787418058,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6b1d10"} 
[2026-08-22 22: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-22 22:32: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-22 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:32: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-22 22: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-22 22: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-22 22:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:32: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-22 22:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578945792001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578945792001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:32:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:32:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578945792001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":162690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:32:25] local.INFO: GPS data processed {"connection_id":162690,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:32:25] local.INFO: Acknowledgment sent {"connection_id":162690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:32:29] local.INFO: TCP Data received {"connection_id":160322,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6b9240012d171b40072518b8003000441b..."} 
[2026-08-22 22:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6b9240012d171b40072518b8003000441b..."} 
[2026-08-22 22:32:29] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6b9240012d171b40072518b8003000441b..."} 
[2026-08-22 22:32:29] local.INFO: Packet analysis {"connection_id":160322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:32:29] local.INFO: Extracted packet for processing {"connection_id":160322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:32:29] local.INFO: GPS Element Parsed {"raw_longitude":756489024,"raw_latitude":119871672,"longitude_deg":75.6489024,"latitude_deg":11.9871672,"altitude":48,"angle":68,"satellites":27,"speed":37,"hex_longitude":"2d171b40","hex_latitude":"072518b8","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579029760001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15116459520819200,"note":"Value kept but may cause issues"} 
[2026-08-22 22:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661898661930829824,"note":"Value kept but may cause issues"} 
[2026-08-22 22:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787418088000,"timestamp_ms":1787418088000,"timestamp_seconds":1787418088,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6b9240"} 
[2026-08-22 22: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-22 22:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-22 22:32:29] 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-22 22: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-22 22: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-22 22:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579029760001,"66":13559,"187":206,"83":42752,"24":37,"16":15116459520819200,"45":1661898661930829824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 22:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579029760001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:32:29] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 22:32:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15116459520819200,"km_value":15116459520819.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661898661930829824,"description":"Unknown IO ID 45"} 
[2026-08-22 22:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579029760001,"power":13559,"unknown_187":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1661898661930829824}} 
[2026-08-22 22:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":160322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:32:29] local.INFO: GPS data processed {"connection_id":160322,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:32:29] local.INFO: Acknowledgment sent {"connection_id":160322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:32:48] local.INFO: TCP Data received {"connection_id":162691,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:32:48] local.INFO: Processing buffer {"connection_id":162691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:32:48] local.INFO: IMEI packet received {"connection_id":162691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":162691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:32:53] local.INFO: TCP Data received {"connection_id":162691,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:32:53] local.INFO: Processing buffer {"connection_id":162691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:32:53] local.INFO: IMEI packet received {"connection_id":162691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":162691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:32:54] local.INFO: TCP Data received {"connection_id":162691,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:32:54] local.INFO: Processing buffer {"connection_id":162691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:32:54] local.INFO: Packet analysis {"connection_id":162691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:32:54] local.INFO: Extracted packet for processing {"connection_id":162691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:32:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578945792001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787418058000,"timestamp_ms":1787418058000,"timestamp_seconds":1787418058,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6b1d10"} 
[2026-08-22 22: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-22 22:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:32:54] 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-22 22: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-22 22: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-22 22:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:32:54] 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-22 22:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578945792001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578945792001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:32:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:32:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578945792001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":162691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:32:54] local.INFO: GPS data processed {"connection_id":162691,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:32:54] local.INFO: Acknowledgment sent {"connection_id":162691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:32:55] local.INFO: TCP Data received {"connection_id":162692,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:32:55] local.INFO: Processing buffer {"connection_id":162692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:32:55] local.INFO: IMEI packet received {"connection_id":162692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":162692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:32:56] local.INFO: TCP Data received {"connection_id":162692,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:32:56] local.INFO: Processing buffer {"connection_id":162692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:32:56] local.INFO: IMEI packet received {"connection_id":162692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":162692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:32:57] local.INFO: TCP Data received {"connection_id":162692,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:32:57] local.INFO: Processing buffer {"connection_id":162692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:32:57] local.INFO: IMEI packet received {"connection_id":162692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":162692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:32:58] local.INFO: TCP Data received {"connection_id":162692,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:32:58] local.INFO: Processing buffer {"connection_id":162692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:32:58] local.INFO: IMEI packet received {"connection_id":162692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":162692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:32:59] local.INFO: TCP Data received {"connection_id":162692,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6bb950012d173dc0072524a8002c00441d..."} 
[2026-08-22 22:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6bb950012d173dc0072524a8002c00441d..."} 
[2026-08-22 22:32:59] local.INFO: Processing buffer {"connection_id":162692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6bb950012d173dc0072524a8002c00441d..."} 
[2026-08-22 22:32:59] local.INFO: Packet analysis {"connection_id":162692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:32:59] local.INFO: Extracted packet for processing {"connection_id":162692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756497856,"raw_latitude":119874728,"longitude_deg":75.6497856,"latitude_deg":11.9874728,"altitude":44,"angle":68,"satellites":29,"speed":40,"hex_longitude":"2d173dc0","hex_latitude":"072524a8","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579030528001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15116906197417984,"note":"Value kept but may cause issues"} 
[2026-08-22 22:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1664994886674855936,"note":"Value kept but may cause issues"} 
[2026-08-22 22:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787418098000,"timestamp_ms":1787418098000,"timestamp_seconds":1787418098,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6bb950"} 
[2026-08-22 22: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-22 22:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 22:32:59] 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-22 22: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-22 22: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-22 22:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579030528001,"66":13472,"187":206,"83":42752,"24":40,"16":15116906197417984,"45":1664994886674855936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 22:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579030528001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:32:59] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 22:32:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15116906197417984,"km_value":15116906197417.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1664994886674855936,"description":"Unknown IO ID 45"} 
[2026-08-22 22:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579030528001,"power":13472,"unknown_187":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1664994886674855936}} 
[2026-08-22 22:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":162692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:32:59] local.INFO: GPS data processed {"connection_id":162692,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:32:59] local.INFO: Acknowledgment sent {"connection_id":162692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:33:02] local.INFO: TCP Data received {"connection_id":162692,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6bdc78012d17608007253310002700411b..."} 
[2026-08-22 22:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6bdc78012d17608007253310002700411b..."} 
[2026-08-22 22:33:02] local.INFO: Processing buffer {"connection_id":162692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6bdc78012d17608007253310002700411b..."} 
[2026-08-22 22:33:02] local.INFO: Packet analysis {"connection_id":162692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:33:02] local.INFO: Extracted packet for processing {"connection_id":162692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:33:02] local.INFO: GPS Element Parsed {"raw_longitude":756506752,"raw_latitude":119878416,"longitude_deg":75.6506752,"latitude_deg":11.9878416,"altitude":39,"angle":65,"satellites":27,"speed":41,"hex_longitude":"2d176080","hex_latitude":"07253310","is_valid_coordinates":true} 
[2026-08-22 22:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579033088001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15117361463951360,"note":"Value kept but may cause issues"} 
[2026-08-22 22:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1674705773372155904,"note":"Value kept but may cause issues"} 
[2026-08-22 22:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787418107000,"timestamp_ms":1787418107000,"timestamp_seconds":1787418107,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6bdc78"} 
[2026-08-22 22:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:33:02] 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-22 22:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 22:33:02] 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-22 22:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579033088001,"66":13580,"187":206,"83":42752,"24":41,"16":15117361463951360,"45":1674705773372155904},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 22:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579033088001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:33:02] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 22:33:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15117361463951360,"km_value":15117361463951.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1674705773372155904,"description":"Unknown IO ID 45"} 
[2026-08-22 22:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579033088001,"power":13580,"unknown_187":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1674705773372155904}} 
[2026-08-22 22:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":162692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:33:02] local.INFO: GPS data processed {"connection_id":162692,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:33:02] local.INFO: Acknowledgment sent {"connection_id":162692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:33:26] local.INFO: TCP Data received {"connection_id":162691,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:33:26] local.INFO: Processing buffer {"connection_id":162691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:33:26] local.INFO: Packet analysis {"connection_id":162691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:33:26] local.INFO: Extracted packet for processing {"connection_id":162691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:33:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578945792001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787418058000,"timestamp_ms":1787418058000,"timestamp_seconds":1787418058,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6b1d10"} 
[2026-08-22 22: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-22 22:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:33:26] 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-22 22: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-22 22: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-22 22:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:33: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-22 22:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578945792001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578945792001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:33:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:33:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578945792001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":162691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:33:26] local.INFO: GPS data processed {"connection_id":162691,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:33:26] local.INFO: Acknowledgment sent {"connection_id":162691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:33:33] local.INFO: TCP Data received {"connection_id":162692,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6cc2f0012d18248007258068002300131e..."} 
[2026-08-22 22:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6cc2f0012d18248007258068002300131e..."} 
[2026-08-22 22:33:33] local.INFO: Processing buffer {"connection_id":162692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6cc2f0012d18248007258068002300131e..."} 
[2026-08-22 22:33:33] local.INFO: Packet analysis {"connection_id":162692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6c"} 
[2026-08-22 22:33:33] local.INFO: Extracted packet for processing {"connection_id":162692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6c"} 
[2026-08-22 22:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119898216,"longitude_deg":75.6556928,"latitude_deg":11.9898216,"altitude":35,"angle":19,"satellites":30,"speed":41,"hex_longitude":"2d182480","hex_latitude":"07258068","is_valid_coordinates":true} 
[2026-08-22 22:33: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-22 22:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579049472001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15120071588315136,"note":"Value kept but may cause issues"} 
[2026-08-22 22:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168160415744,"note":"Value kept but may cause issues"} 
[2026-08-22 22:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787418166000,"timestamp_ms":1787418166000,"timestamp_seconds":1787418166,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6cc2f0"} 
[2026-08-22 22:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:33: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-22 22:33: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 22:33:33] 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-22 22:33: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-22 22:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579049472001,"66":13472,"187":206,"83":42752,"24":41,"16":15120071588315136,"45":1737756168160415744},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 22:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579049472001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:33:33] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 22:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15120071588315136,"km_value":15120071588315.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168160415744,"description":"Unknown IO ID 45"} 
[2026-08-22 22:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579049472001,"power":13472,"unknown_187":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1737756168160415744}} 
[2026-08-22 22:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":162692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:33:33] local.INFO: GPS data processed {"connection_id":162692,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:33:33] local.INFO: Acknowledgment sent {"connection_id":162692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:33:48] local.INFO: TCP Data received {"connection_id":162693,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:33:48] local.INFO: Processing buffer {"connection_id":162693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:33:48] local.INFO: IMEI packet received {"connection_id":162693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":162693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:33:52] local.INFO: TCP Data received {"connection_id":162694,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:33:52] local.INFO: Processing buffer {"connection_id":162694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:33:52] local.INFO: IMEI packet received {"connection_id":162694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":162694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:33:52] local.INFO: TCP Data received {"connection_id":162694,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:33:52] local.INFO: Processing buffer {"connection_id":162694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:33:52] local.INFO: IMEI packet received {"connection_id":162694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":162694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:33:53] local.INFO: TCP Data received {"connection_id":162693,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:33:53] local.INFO: Processing buffer {"connection_id":162693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:33:53] local.INFO: IMEI packet received {"connection_id":162693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":162693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:33:54] local.INFO: TCP Data received {"connection_id":162693,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:33:54] local.INFO: Processing buffer {"connection_id":162693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:33:54] local.INFO: Packet analysis {"connection_id":162693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:33:54] local.INFO: Extracted packet for processing {"connection_id":162693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578945792001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787418058000,"timestamp_ms":1787418058000,"timestamp_seconds":1787418058,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6b1d10"} 
[2026-08-22 22:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:33:54] 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-22 22:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:33:54] 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-22 22:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578945792001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578945792001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:33:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:33:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578945792001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":162693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:33:54] local.INFO: GPS data processed {"connection_id":162693,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:33:54] local.INFO: Acknowledgment sent {"connection_id":162693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:33:57] local.INFO: TCP Data received {"connection_id":162694,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:33:57] local.INFO: Processing buffer {"connection_id":162694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:33:57] local.INFO: IMEI packet received {"connection_id":162694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":162694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:33:57] local.INFO: TCP Data received {"connection_id":162694,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6ccea8012d18274007258b80002600061c..."} 
[2026-08-22 22:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6ccea8012d18274007258b80002600061c..."} 
[2026-08-22 22:33:57] local.INFO: Processing buffer {"connection_id":162694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6ccea8012d18274007258b80002600061c..."} 
[2026-08-22 22:33:57] local.INFO: Packet analysis {"connection_id":162694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6c"} 
[2026-08-22 22:33:57] local.INFO: Extracted packet for processing {"connection_id":162694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6c"} 
[2026-08-22 22:33:57] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119901056,"longitude_deg":75.6557632,"latitude_deg":11.9901056,"altitude":38,"angle":6,"satellites":28,"speed":36,"hex_longitude":"2d182740","hex_latitude":"07258b80","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579050496001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15120213322235904,"note":"Value kept but may cause issues"} 
[2026-08-22 22:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124254152704,"note":"Value kept but may cause issues"} 
[2026-08-22 22:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787418169000,"timestamp_ms":1787418169000,"timestamp_seconds":1787418169,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6ccea8"} 
[2026-08-22 22: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-22 22:33:57] 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-22 22: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 22:33:57] 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-22 22: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-22 22: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-22 22:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579050496001,"66":13450,"187":206,"83":42752,"24":36,"16":15120213322235904,"45":1739656124254152704},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 22:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579050496001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:33:57] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 22:33:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15120213322235904,"km_value":15120213322235.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124254152704,"description":"Unknown IO ID 45"} 
[2026-08-22 22:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579050496001,"power":13450,"unknown_187":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1739656124254152704}} 
[2026-08-22 22:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":162694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:33:58] local.INFO: GPS data processed {"connection_id":162694,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:33:58] local.INFO: Acknowledgment sent {"connection_id":162694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:34:26] local.INFO: TCP Data received {"connection_id":162693,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:34:26] local.INFO: Processing buffer {"connection_id":162693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:34:26] local.INFO: Packet analysis {"connection_id":162693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:34:26] local.INFO: Extracted packet for processing {"connection_id":162693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578945792001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787418058000,"timestamp_ms":1787418058000,"timestamp_seconds":1787418058,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6b1d10"} 
[2026-08-22 22: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-22 22:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:34:26] 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-22 22: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-22 22: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-22 22:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:34: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-22 22:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578945792001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578945792001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:34:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:34:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578945792001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":162693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:34:26] local.INFO: GPS data processed {"connection_id":162693,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:34:26] local.INFO: Acknowledgment sent {"connection_id":162693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:34:28] local.INFO: TCP Data received {"connection_id":162694,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6dad50012d18aa000725b0180030003421..."} 
[2026-08-22 22:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6dad50012d18aa000725b0180030003421..."} 
[2026-08-22 22:34:28] local.INFO: Processing buffer {"connection_id":162694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6dad50012d18aa000725b0180030003421..."} 
[2026-08-22 22:34:28] local.INFO: Packet analysis {"connection_id":162694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6d"} 
[2026-08-22 22:34:28] local.INFO: Extracted packet for processing {"connection_id":162694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6d"} 
[2026-08-22 22:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119910424,"longitude_deg":75.6591104,"latitude_deg":11.9910424,"altitude":48,"angle":52,"satellites":33,"speed":32,"hex_longitude":"2d18aa00","hex_latitude":"0725b018","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579065344001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15122064453140480,"note":"Value kept but may cause issues"} 
[2026-08-22 22:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775896027508490240,"note":"Value kept but may cause issues"} 
[2026-08-22 22:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787418226000,"timestamp_ms":1787418226000,"timestamp_seconds":1787418226,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6dad50"} 
[2026-08-22 22: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-22 22: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-22 22: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-22 22:34:28] 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-22 22:34: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-22 22: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-22 22:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579065344001,"66":12874,"187":206,"83":42752,"24":32,"16":15122064453140480,"45":1775896027508490240},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 22:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579065344001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:34:28] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 22:34:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15122064453140480,"km_value":15122064453140.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775896027508490240,"description":"Unknown IO ID 45"} 
[2026-08-22 22:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579065344001,"power":12874,"unknown_187":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1775896027508490240}} 
[2026-08-22 22:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":162694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:34:29] local.INFO: GPS data processed {"connection_id":162694,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:34:29] local.INFO: Acknowledgment sent {"connection_id":162694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:34:48] local.INFO: TCP Data received {"connection_id":161280,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:34:48] local.INFO: Processing buffer {"connection_id":161280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:34:48] local.INFO: IMEI packet received {"connection_id":161280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":161280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:34:52] local.INFO: TCP Data received {"connection_id":160323,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:34:52] local.INFO: Processing buffer {"connection_id":160323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:34:52] local.INFO: IMEI packet received {"connection_id":160323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":160323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:34:53] local.INFO: TCP Data received {"connection_id":161280,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:34:53] local.INFO: Processing buffer {"connection_id":161280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:34:53] local.INFO: IMEI packet received {"connection_id":161280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":161280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:34:56] local.INFO: TCP Data received {"connection_id":161280,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:34:56] local.INFO: Processing buffer {"connection_id":161280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:34:56] local.INFO: Packet analysis {"connection_id":161280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:34:56] local.INFO: Extracted packet for processing {"connection_id":161280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578945792001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787418058000,"timestamp_ms":1787418058000,"timestamp_seconds":1787418058,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6b1d10"} 
[2026-08-22 22: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-22 22:34: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-22 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:34: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-22 22: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-22 22: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-22 22:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:34: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-22 22:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578945792001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578945792001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:34:56] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:34:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578945792001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":161280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:34:56] local.INFO: GPS data processed {"connection_id":161280,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:34:56] local.INFO: Acknowledgment sent {"connection_id":161280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:34:57] local.INFO: TCP Data received {"connection_id":160323,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:34:57] local.INFO: Processing buffer {"connection_id":160323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:34:57] local.INFO: IMEI packet received {"connection_id":160323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":160323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:34:57] local.INFO: TCP Data received {"connection_id":160323,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6db520012d18ad000725b5f00031001f21..."} 
[2026-08-22 22:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6db520012d18ad000725b5f00031001f21..."} 
[2026-08-22 22:34:57] local.INFO: Processing buffer {"connection_id":160323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6db520012d18ad000725b5f00031001f21..."} 
[2026-08-22 22:34:57] local.INFO: Packet analysis {"connection_id":160323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6d"} 
[2026-08-22 22:34:57] local.INFO: Extracted packet for processing {"connection_id":160323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6d"} 
[2026-08-22 22:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756591872,"raw_latitude":119911920,"longitude_deg":75.6591872,"latitude_deg":11.991192,"altitude":49,"angle":31,"satellites":33,"speed":29,"hex_longitude":"2d18ad00","hex_latitude":"0725b5f0","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579065856001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15122146057519104,"note":"Value kept but may cause issues"} 
[2026-08-22 22:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033648150528,"note":"Value kept but may cause issues"} 
[2026-08-22 22:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787418228000,"timestamp_ms":1787418228000,"timestamp_seconds":1787418228,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6db520"} 
[2026-08-22 22: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-22 22:34:57] 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-22 22: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-22 22:34:57] 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-22 22: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-22 22: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-22 22:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579065856001,"66":12950,"187":206,"83":42752,"24":29,"16":15122146057519104,"45":1777233033648150528},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 22:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579065856001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:34:57] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 22:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15122146057519104,"km_value":15122146057519.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033648150528,"description":"Unknown IO ID 45"} 
[2026-08-22 22:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579065856001,"power":12950,"unknown_187":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1777233033648150528}} 
[2026-08-22 22:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":160323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:34:57] local.INFO: GPS data processed {"connection_id":160323,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:34:57] local.INFO: Acknowledgment sent {"connection_id":160323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:35:27] local.INFO: TCP Data received {"connection_id":161280,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:35:27] local.INFO: Processing buffer {"connection_id":161280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:35:27] local.INFO: Packet analysis {"connection_id":161280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:35:27] local.INFO: Extracted packet for processing {"connection_id":161280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578945792001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787418058000,"timestamp_ms":1787418058000,"timestamp_seconds":1787418058,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6b1d10"} 
[2026-08-22 22:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:35:27] 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-22 22:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:35:27] 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-22 22:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578945792001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578945792001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:35:27] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:35:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578945792001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":161280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:35:27] local.INFO: GPS data processed {"connection_id":161280,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:35:27] local.INFO: Acknowledgment sent {"connection_id":161280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:35:28] local.INFO: TCP Data received {"connection_id":160323,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6db908012d18ad000725b9d0003100121f..."} 
[2026-08-22 22:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6db908012d18ad000725b9d0003100121f..."} 
[2026-08-22 22:35:28] local.INFO: Processing buffer {"connection_id":160323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6db908012d18ad000725b9d0003100121f..."} 
[2026-08-22 22:35:28] local.INFO: Packet analysis {"connection_id":160323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6d"} 
[2026-08-22 22:35:28] local.INFO: Extracted packet for processing {"connection_id":160323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6d"} 
[2026-08-22 22:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756591872,"raw_latitude":119912912,"longitude_deg":75.6591872,"latitude_deg":11.9912912,"altitude":49,"angle":18,"satellites":31,"speed":32,"hex_longitude":"2d18ad00","hex_latitude":"0725b9d0","is_valid_coordinates":true} 
[2026-08-22 22:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579066368001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15122193302159360,"note":"Value kept but may cause issues"} 
[2026-08-22 22:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778077458578665472,"note":"Value kept but may cause issues"} 
[2026-08-22 22:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787418229000,"timestamp_ms":1787418229000,"timestamp_seconds":1787418229,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6db908"} 
[2026-08-22 22: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-22 22:35: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-22 22: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 22:35:28] 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-22 22: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-22 22: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-22 22:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579066368001,"66":12950,"187":206,"83":42752,"24":32,"16":15122193302159360,"45":1778077458578665472},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 22:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579066368001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:35:28] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 22:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15122193302159360,"km_value":15122193302159.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778077458578665472,"description":"Unknown IO ID 45"} 
[2026-08-22 22:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579066368001,"power":12950,"unknown_187":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1778077458578665472}} 
[2026-08-22 22:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":160323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:35:28] local.INFO: GPS data processed {"connection_id":160323,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:35:28] local.INFO: Acknowledgment sent {"connection_id":160323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:35:51] local.INFO: TCP Data received {"connection_id":162695,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:35:51] local.INFO: Processing buffer {"connection_id":162695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:35:51] local.INFO: IMEI packet received {"connection_id":162695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":162695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:35:55] local.INFO: TCP Data received {"connection_id":162695,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:35:55] local.INFO: Processing buffer {"connection_id":162695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:35:55] local.INFO: IMEI packet received {"connection_id":162695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":162695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:35:57] local.INFO: TCP Data received {"connection_id":162695,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:35:57] local.INFO: Processing buffer {"connection_id":162695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:35:57] local.INFO: IMEI packet received {"connection_id":162695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":162695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:35:58] local.INFO: TCP Data received {"connection_id":162695,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6dc4c0012d18afc00725c3e8003200201f..."} 
[2026-08-22 22:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6dc4c0012d18afc00725c3e8003200201f..."} 
[2026-08-22 22:35:58] local.INFO: Processing buffer {"connection_id":162695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6dc4c0012d18afc00725c3e8003200201f..."} 
[2026-08-22 22:35:58] local.INFO: Packet analysis {"connection_id":162695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6d"} 
[2026-08-22 22:35:58] local.INFO: Extracted packet for processing {"connection_id":162695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6d"} 
[2026-08-22 22:35:58] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119915496,"longitude_deg":75.6592576,"latitude_deg":11.9915496,"altitude":50,"angle":32,"satellites":31,"speed":33,"hex_longitude":"2d18afc0","hex_latitude":"0725c3e8","is_valid_coordinates":true} 
[2026-08-22 22:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579066624001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15122326446145536,"note":"Value kept but may cause issues"} 
[2026-08-22 22:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778077458578919424,"note":"Value kept but may cause issues"} 
[2026-08-22 22:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787418232000,"timestamp_ms":1787418232000,"timestamp_seconds":1787418232,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6dc4c0"} 
[2026-08-22 22:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 22:35:58] 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-22 22:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579066624001,"66":13167,"187":206,"83":42752,"24":33,"16":15122326446145536,"45":1778077458578919424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 22:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579066624001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:35:58] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 22:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15122326446145536,"km_value":15122326446145.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778077458578919424,"description":"Unknown IO ID 45"} 
[2026-08-22 22:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579066624001,"power":13167,"unknown_187":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1778077458578919424}} 
[2026-08-22 22:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":162695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:35:58] local.INFO: GPS data processed {"connection_id":162695,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:35:58] local.INFO: Acknowledgment sent {"connection_id":162695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:36:01] local.INFO: TCP Data received {"connection_id":162695,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6dcc90012d18b3400725c9800033002b1e..."} 
[2026-08-22 22:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6dcc90012d18b3400725c9800033002b1e..."} 
[2026-08-22 22:36:01] local.INFO: Processing buffer {"connection_id":162695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6dcc90012d18b3400725c9800033002b1e..."} 
[2026-08-22 22:36:01] local.INFO: Packet analysis {"connection_id":162695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6d"} 
[2026-08-22 22:36:01] local.INFO: Extracted packet for processing {"connection_id":162695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6d"} 
[2026-08-22 22:36:01] local.INFO: GPS Element Parsed {"raw_longitude":756593472,"raw_latitude":119916928,"longitude_deg":75.6593472,"latitude_deg":11.9916928,"altitude":51,"angle":43,"satellites":30,"speed":33,"hex_longitude":"2d18b340","hex_latitude":"0725c980","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579067392001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15122408050524160,"note":"Value kept but may cause issues"} 
[2026-08-22 22:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514765535232,"note":"Value kept but may cause issues"} 
[2026-08-22 22:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787418234000,"timestamp_ms":1787418234000,"timestamp_seconds":1787418234,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6dcc90"} 
[2026-08-22 22: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-22 22:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-22 22:36:01] 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-22 22: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-22 22: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-22 22:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579067392001,"66":13396,"187":206,"83":42752,"24":33,"16":15122408050524160,"45":1778851514765535232},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-22 22:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579067392001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:36:01] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 22:36:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15122408050524160,"km_value":15122408050524.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514765535232,"description":"Unknown IO ID 45"} 
[2026-08-22 22:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579067392001,"power":13396,"unknown_187":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1778851514765535232}} 
[2026-08-22 22:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":162695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:36:02] local.INFO: GPS data processed {"connection_id":162695,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:36:02] local.INFO: Acknowledgment sent {"connection_id":162695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:36:18] local.INFO: TCP Data received {"connection_id":161281,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:36:18] local.INFO: Processing buffer {"connection_id":161281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:36:18] local.INFO: IMEI packet received {"connection_id":161281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":161281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:36:23] local.INFO: TCP Data received {"connection_id":161281,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:36:23] local.INFO: Processing buffer {"connection_id":161281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:36:23] local.INFO: IMEI packet received {"connection_id":161281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":161281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:36:24] local.INFO: TCP Data received {"connection_id":161281,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:36:24] local.INFO: Processing buffer {"connection_id":161281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6b1d10012d7b84c005f5ee00001200b32c..."} 
[2026-08-22 22:36:24] local.INFO: Packet analysis {"connection_id":161281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:36:24] local.INFO: Extracted packet for processing {"connection_id":161281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6b"} 
[2026-08-22 22:36:24] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 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-22 22:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457578945792001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787418058000,"timestamp_ms":1787418058000,"timestamp_seconds":1787418058,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6b1d10"} 
[2026-08-22 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-22 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-22 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":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:36: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-22 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-22 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-22 22:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457578945792001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457578945792001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:36:24] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:36:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457578945792001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":161281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:36:24] local.INFO: GPS data processed {"connection_id":161281,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:36:24] local.INFO: Acknowledgment sent {"connection_id":161281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:36:34] local.INFO: TCP Data received {"connection_id":162695,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6f5330012d1949c007261bf0002b003e23..."} 
[2026-08-22 22:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6f5330012d1949c007261bf0002b003e23..."} 
[2026-08-22 22:36:34] local.INFO: Processing buffer {"connection_id":162695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6f5330012d1949c007261bf0002b003e23..."} 
[2026-08-22 22:36:34] local.INFO: Packet analysis {"connection_id":162695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:36:34] local.INFO: Extracted packet for processing {"connection_id":162695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:36:34] local.INFO: GPS Element Parsed {"raw_longitude":756632000,"raw_latitude":119938032,"longitude_deg":75.6632,"latitude_deg":11.9938032,"altitude":43,"angle":62,"satellites":35,"speed":50,"hex_longitude":"2d1949c0","hex_latitude":"07261bf0","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579091456001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15124521174433792,"note":"Value kept but may cause issues"} 
[2026-08-22 22:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812276668254566400,"note":"Value kept but may cause issues"} 
[2026-08-22 22:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787418334000,"timestamp_ms":1787418334000,"timestamp_seconds":1787418334,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6f5330"} 
[2026-08-22 22: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-22 22:36:34] 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-22 22: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-22 22:36:34] 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-22 22: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-22 22: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-22 22:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579091456001,"66":13439,"232":206,"83":42752,"24":50,"16":15124521174433792,"45":1812276668254566400},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-08-22 22:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579091456001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:36:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-22 22:36:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15124521174433792,"km_value":15124521174433.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812276668254566400,"description":"Unknown IO ID 45"} 
[2026-08-22 22:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579091456001,"power":13439,"unknown_232":206,"unknown_83":42752,"ignition":50,"odometer":null,"unknown_45":1812276668254566400}} 
[2026-08-22 22:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":162695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:36:34] local.INFO: GPS data processed {"connection_id":162695,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:36:34] local.INFO: Acknowledgment sent {"connection_id":162695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:36:48] local.INFO: TCP Data received {"connection_id":160107,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:36:48] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:36:48] local.INFO: IMEI packet received {"connection_id":160107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":160107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:36:51] local.INFO: TCP Data received {"connection_id":162696,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:36:51] local.INFO: Processing buffer {"connection_id":162696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:36:51] local.INFO: IMEI packet received {"connection_id":162696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":162696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:36:52] local.INFO: TCP Data received {"connection_id":162696,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:36:52] local.INFO: Processing buffer {"connection_id":162696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:36:52] local.INFO: IMEI packet received {"connection_id":162696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":162696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:36:53] local.INFO: TCP Data received {"connection_id":160107,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:36:53] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:36:53] local.INFO: IMEI packet received {"connection_id":160107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":160107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:36:57] local.INFO: TCP Data received {"connection_id":162696,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:36:57] local.INFO: Processing buffer {"connection_id":162696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:36:57] local.INFO: IMEI packet received {"connection_id":162696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":162696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:36:57] local.INFO: TCP Data received {"connection_id":162696,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6f7270012d196dc007262ce80026004223..."} 
[2026-08-22 22:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6f7270012d196dc007262ce80026004223..."} 
[2026-08-22 22:36:57] local.INFO: Processing buffer {"connection_id":162696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6f7270012d196dc007262ce80026004223..."} 
[2026-08-22 22:36:57] local.INFO: Packet analysis {"connection_id":162696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:36:57] local.INFO: Extracted packet for processing {"connection_id":162696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:36:57] local.INFO: GPS Element Parsed {"raw_longitude":756641216,"raw_latitude":119942376,"longitude_deg":75.6641216,"latitude_deg":11.9942376,"altitude":38,"angle":66,"satellites":35,"speed":49,"hex_longitude":"2d196dc0","hex_latitude":"07262ce8","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579093504001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15125006505738240,"note":"Value kept but may cause issues"} 
[2026-08-22 22:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822198661184745472,"note":"Value kept but may cause issues"} 
[2026-08-22 22:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787418342000,"timestamp_ms":1787418342000,"timestamp_seconds":1787418342,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6f7270"} 
[2026-08-22 22: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-22 22:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-22 22:36:57] 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-22 22: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-22 22: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-22 22:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579093504001,"66":13493,"232":206,"83":42752,"24":49,"16":15125006505738240,"45":1822198661184745472},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-08-22 22:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579093504001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:36:57] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-22 22:36:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15125006505738240,"km_value":15125006505738.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822198661184745472,"description":"Unknown IO ID 45"} 
[2026-08-22 22:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579093504001,"power":13493,"unknown_232":206,"unknown_83":42752,"ignition":49,"odometer":null,"unknown_45":1822198661184745472}} 
[2026-08-22 22:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":162696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:36:57] local.INFO: GPS data processed {"connection_id":162696,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:36:57] local.INFO: Acknowledgment sent {"connection_id":162696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:36:58] local.INFO: TCP Data received {"connection_id":160107,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:36:58] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:36:58] local.INFO: IMEI packet received {"connection_id":160107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":160107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:36:59] local.INFO: TCP Data received {"connection_id":160107,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:36:59] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:36:59] local.INFO: Packet analysis {"connection_id":160107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:36:59] local.INFO: Extracted packet for processing {"connection_id":160107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579022848001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787418359000,"timestamp_ms":1787418359000,"timestamp_seconds":1787418359,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6fb4d8"} 
[2026-08-22 22: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-22 22: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-22 22: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-22 22: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-22 22: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-22 22: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-22 22:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579022848001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579022848001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:36:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:36:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579022848001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":160107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:36:59] local.INFO: GPS data processed {"connection_id":160107,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:36:59] local.INFO: Acknowledgment sent {"connection_id":160107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:37:29] local.INFO: TCP Data received {"connection_id":162696,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6f91b0012d199280072639780023004a20..."} 
[2026-08-22 22:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6f91b0012d199280072639780023004a20..."} 
[2026-08-22 22:37:29] local.INFO: Processing buffer {"connection_id":162696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6f91b0012d199280072639780023004a20..."} 
[2026-08-22 22:37:29] local.INFO: Packet analysis {"connection_id":162696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:37:29] local.INFO: Extracted packet for processing {"connection_id":162696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:37:29] local.INFO: GPS Element Parsed {"raw_longitude":756650624,"raw_latitude":119945592,"longitude_deg":75.6650624,"latitude_deg":11.9945592,"altitude":35,"angle":74,"satellites":32,"speed":47,"hex_longitude":"2d199280","hex_latitude":"07263978","is_valid_coordinates":true} 
[2026-08-22 22:37: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-22 22:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579095552001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15125478952140800,"note":"Value kept but may cause issues"} 
[2026-08-22 22:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832331760347441152,"note":"Value kept but may cause issues"} 
[2026-08-22 22:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787418350000,"timestamp_ms":1787418350000,"timestamp_seconds":1787418350,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6f91b0"} 
[2026-08-22 22:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:37: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-22 22:37: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 22:37:29] 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-22 22:37: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-22 22:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579095552001,"66":13559,"232":206,"83":42752,"24":47,"16":15125478952140800,"45":1832331760347441152},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-08-22 22:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579095552001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:37:29] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-22 22:37:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15125478952140800,"km_value":15125478952140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832331760347441152,"description":"Unknown IO ID 45"} 
[2026-08-22 22:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579095552001,"power":13559,"unknown_232":206,"unknown_83":42752,"ignition":47,"odometer":null,"unknown_45":1832331760347441152}} 
[2026-08-22 22:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":162696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:37:29] local.INFO: GPS data processed {"connection_id":162696,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:37:29] local.INFO: Acknowledgment sent {"connection_id":162696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:37:30] local.INFO: TCP Data received {"connection_id":160107,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:37:30] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:37:30] local.INFO: Packet analysis {"connection_id":160107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:37:30] local.INFO: Extracted packet for processing {"connection_id":160107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 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-22 22:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579022848001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787418359000,"timestamp_ms":1787418359000,"timestamp_seconds":1787418359,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6fb4d8"} 
[2026-08-22 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-22 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-22 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":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:37: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-22 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-22 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-22 22:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579022848001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579022848001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:37:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:37:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579022848001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":160107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:37:30] local.INFO: GPS data processed {"connection_id":160107,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:37:30] local.INFO: Acknowledgment sent {"connection_id":160107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:37:48] local.INFO: TCP Data received {"connection_id":160324,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:37:48] local.INFO: Processing buffer {"connection_id":160324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:37:48] local.INFO: IMEI packet received {"connection_id":160324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":160324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:37:51] local.INFO: TCP Data received {"connection_id":161282,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:37:51] local.INFO: Processing buffer {"connection_id":161282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:37:51] local.INFO: IMEI packet received {"connection_id":161282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":161282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:37:53] local.INFO: TCP Data received {"connection_id":160324,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:37:53] local.INFO: Processing buffer {"connection_id":160324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:37:53] local.INFO: IMEI packet received {"connection_id":160324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":160324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:37:54] local.INFO: TCP Data received {"connection_id":160324,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:37:54] local.INFO: Processing buffer {"connection_id":160324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:37:54] local.INFO: Packet analysis {"connection_id":160324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:37:54] local.INFO: Extracted packet for processing {"connection_id":160324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579022848001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787418359000,"timestamp_ms":1787418359000,"timestamp_seconds":1787418359,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6fb4d8"} 
[2026-08-22 22: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-22 22:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22: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-22 22: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-22 22:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579022848001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579022848001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:37:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:37:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579022848001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":160324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:37:54] local.INFO: GPS data processed {"connection_id":160324,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:37:54] local.INFO: Acknowledgment sent {"connection_id":160324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:37:58] local.INFO: TCP Data received {"connection_id":161282,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:37:58] local.INFO: Processing buffer {"connection_id":161282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:37:58] local.INFO: IMEI packet received {"connection_id":161282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":161282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:37:59] local.INFO: TCP Data received {"connection_id":161282,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:37:59] local.INFO: Processing buffer {"connection_id":161282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:37:59] local.INFO: IMEI packet received {"connection_id":161282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":161282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:38:00] local.INFO: TCP Data received {"connection_id":161282,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a709b50012d1a76c0072621300019005424..."} 
[2026-08-22 22:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a709b50012d1a76c0072621300019005424..."} 
[2026-08-22 22:38:00] local.INFO: Processing buffer {"connection_id":161282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a709b50012d1a76c0072621300019005424..."} 
[2026-08-22 22:38:00] local.INFO: Packet analysis {"connection_id":161282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a70"} 
[2026-08-22 22:38:00] local.INFO: Extracted packet for processing {"connection_id":161282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a70"} 
[2026-08-22 22:38:00] local.INFO: GPS Element Parsed {"raw_longitude":756709056,"raw_latitude":119939376,"longitude_deg":75.6709056,"latitude_deg":11.9939376,"altitude":25,"angle":84,"satellites":36,"speed":32,"hex_longitude":"2d1a76c0","hex_latitude":"07262130","is_valid_coordinates":true} 
[2026-08-22 22:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579113728001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15128455364476928,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902841242012358656,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787418418000,"timestamp_ms":1787418418000,"timestamp_seconds":1787418418,"priority":1,"record_length":96,"hex_timestamp":"000001a02a709b50"} 
[2026-08-22 22:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-22 22:38:00] 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-22 22:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579113728001,"66":13450,"175":206,"83":42752,"24":32,"16":15128455364476928,"45":1902841242012358656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-22 22:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579113728001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:38:00] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-22 22:38:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15128455364476928,"km_value":15128455364476.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902841242012358656,"description":"Unknown IO ID 45"} 
[2026-08-22 22:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579113728001,"power":13450,"unknown_175":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1902841242012358656}} 
[2026-08-22 22:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":161282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:38:00] local.INFO: GPS data processed {"connection_id":161282,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:38:00] local.INFO: Acknowledgment sent {"connection_id":161282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:38:02] local.INFO: TCP Data received {"connection_id":161282,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a70c260012d1a9c00072622b8001a004b22..."} 
[2026-08-22 22:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a70c260012d1a9c00072622b8001a004b22..."} 
[2026-08-22 22:38:02] local.INFO: Processing buffer {"connection_id":161282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a70c260012d1a9c00072622b8001a004b22..."} 
[2026-08-22 22:38:02] local.INFO: Packet analysis {"connection_id":161282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a70"} 
[2026-08-22 22:38:02] local.INFO: Extracted packet for processing {"connection_id":161282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a70"} 
[2026-08-22 22:38:02] local.INFO: GPS Element Parsed {"raw_longitude":756718592,"raw_latitude":119939768,"longitude_deg":75.6718592,"latitude_deg":11.9939768,"altitude":26,"angle":75,"satellites":34,"speed":39,"hex_longitude":"2d1a9c00","hex_latitude":"072622b8","is_valid_coordinates":true} 
[2026-08-22 22:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579115008001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15128910631010304,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906922629174996992,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787418428000,"timestamp_ms":1787418428000,"timestamp_seconds":1787418428,"priority":1,"record_length":96,"hex_timestamp":"000001a02a70c260"} 
[2026-08-22 22:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:38:02] 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-22 22:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-22 22:38:02] 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-22 22:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579115008001,"66":12591,"175":206,"83":42752,"24":39,"16":15128910631010304,"45":1906922629174996992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-22 22:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579115008001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:38:02] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-22 22:38:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15128910631010304,"km_value":15128910631010.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906922629174996992,"description":"Unknown IO ID 45"} 
[2026-08-22 22:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579115008001,"power":12591,"unknown_175":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1906922629174996992}} 
[2026-08-22 22:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":161282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:38:02] local.INFO: GPS data processed {"connection_id":161282,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:38:02] local.INFO: Acknowledgment sent {"connection_id":161282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:38:25] local.INFO: TCP Data received {"connection_id":160324,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:38:25] local.INFO: Processing buffer {"connection_id":160324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:38:25] local.INFO: Packet analysis {"connection_id":160324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:38:25] local.INFO: Extracted packet for processing {"connection_id":160324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579022848001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787418359000,"timestamp_ms":1787418359000,"timestamp_seconds":1787418359,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6fb4d8"} 
[2026-08-22 22: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-22 22: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-22 22: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:38:25] 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-22 22: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-22 22: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-22 22:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579022848001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579022848001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:38:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:38:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579022848001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":160324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:38:25] local.INFO: GPS data processed {"connection_id":160324,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:38:25] local.INFO: Acknowledgment sent {"connection_id":160324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:38:35] local.INFO: TCP Data received {"connection_id":161282,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a70d9d0012d1ab18007262b18001d003f20..."} 
[2026-08-22 22:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a70d9d0012d1ab18007262b18001d003f20..."} 
[2026-08-22 22:38:35] local.INFO: Processing buffer {"connection_id":161282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a70d9d0012d1ab18007262b18001d003f20..."} 
[2026-08-22 22:38:35] local.INFO: Packet analysis {"connection_id":161282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a70"} 
[2026-08-22 22:38:35] local.INFO: Extracted packet for processing {"connection_id":161282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a70"} 
[2026-08-22 22:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756724096,"raw_latitude":119941912,"longitude_deg":75.6724096,"latitude_deg":11.9941912,"altitude":29,"angle":63,"satellites":32,"speed":39,"hex_longitude":"2d1ab180","hex_latitude":"07262b18","is_valid_coordinates":true} 
[2026-08-22 22:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579117568001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15129189803884544,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917407572057569280,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787418434000,"timestamp_ms":1787418434000,"timestamp_seconds":1787418434,"priority":1,"record_length":96,"hex_timestamp":"000001a02a70d9d0"} 
[2026-08-22 22:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-22 22:38:35] 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-22 22:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579117568001,"66":12711,"175":206,"83":42752,"24":39,"16":15129189803884544,"45":1917407572057569280},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-22 22:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579117568001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:38:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-22 22:38:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15129189803884544,"km_value":15129189803884.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917407572057569280,"description":"Unknown IO ID 45"} 
[2026-08-22 22:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579117568001,"power":12711,"unknown_175":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1917407572057569280}} 
[2026-08-22 22:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":161282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:38:35] local.INFO: GPS data processed {"connection_id":161282,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:38:35] local.INFO: Acknowledgment sent {"connection_id":161282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:38:48] local.INFO: TCP Data received {"connection_id":162697,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:38:48] local.INFO: Processing buffer {"connection_id":162697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:38:48] local.INFO: IMEI packet received {"connection_id":162697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":162697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:38:51] local.INFO: TCP Data received {"connection_id":161283,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:38:51] local.INFO: Processing buffer {"connection_id":161283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:38:51] local.INFO: IMEI packet received {"connection_id":161283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":161283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:38:52] local.INFO: TCP Data received {"connection_id":161283,"ip":"42.109.136.6","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 22:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161283,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 22:38:52] local.INFO: Processing buffer {"connection_id":161283,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 22:38:52] local.INFO: IMEI packet received {"connection_id":161283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":161283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:38:53] local.INFO: TCP Data received {"connection_id":162697,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:38:53] local.INFO: Processing buffer {"connection_id":162697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:38:53] local.INFO: IMEI packet received {"connection_id":162697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":162697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:38:54] local.INFO: TCP Data received {"connection_id":162697,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:38:54] local.INFO: Processing buffer {"connection_id":162697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:38:54] local.INFO: Packet analysis {"connection_id":162697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:38:54] local.INFO: Extracted packet for processing {"connection_id":162697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579022848001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787418359000,"timestamp_ms":1787418359000,"timestamp_seconds":1787418359,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6fb4d8"} 
[2026-08-22 22:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579022848001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579022848001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:38:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:38:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579022848001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":162697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:38:54] local.INFO: GPS data processed {"connection_id":162697,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:38:54] local.INFO: Acknowledgment sent {"connection_id":162697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:38:54] local.INFO: TCP Data received {"connection_id":161283,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:38:54] local.INFO: Processing buffer {"connection_id":161283,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 22:38:54] local.INFO: IMEI packet received {"connection_id":161283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":161283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:38:55] local.INFO: TCP Data received {"connection_id":161283,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a718d80012d1b43c0072625e80022005f21..."} 
[2026-08-22 22:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a718d80012d1b43c0072625e80022005f21..."} 
[2026-08-22 22:38:55] local.INFO: Processing buffer {"connection_id":161283,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a02a..."} 
[2026-08-22 22:38:55] local.INFO: IMEI packet received {"connection_id":161283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":161283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:38:56] local.INFO: TCP Data received {"connection_id":161283,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a719d20012d1b4a00072625080022006a21..."} 
[2026-08-22 22:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a719d20012d1b4a00072625080022006a21..."} 
[2026-08-22 22:38:56] local.INFO: Processing buffer {"connection_id":161283,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02a718d80012d1b43c0072625e80022005f21..."} 
[2026-08-22 22:38:56] local.INFO: Packet analysis {"connection_id":161283,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02a71"} 
[2026-08-22 22:38:56] local.INFO: Extracted packet for processing {"connection_id":161283,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a71"} 
[2026-08-22 22:38:56] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119940584,"longitude_deg":75.6761536,"latitude_deg":11.9940584,"altitude":34,"angle":95,"satellites":33,"speed":16,"hex_longitude":"2d1b43c0","hex_latitude":"072625e8","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579130368001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15131079589494784,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963639836982482944,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787418480000,"timestamp_ms":1787418480000,"timestamp_seconds":1787418480,"priority":1,"record_length":96,"hex_timestamp":"000001a02a718d80"} 
[2026-08-22 22: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-22 22:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 22:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22: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-22 22: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-22 22:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579130368001,"66":13526,"175":206,"83":42752,"24":16,"16":15131079589494784,"45":1963639836982482944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-22 22:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579130368001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:38:56] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-22 22:38:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15131079589494784,"km_value":15131079589494.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963639836982482944,"description":"Unknown IO ID 45"} 
[2026-08-22 22:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579130368001,"power":13526,"unknown_175":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1963639836982482944}} 
[2026-08-22 22:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":161283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:38:56] local.INFO: GPS data processed {"connection_id":161283,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:38:56] local.INFO: Acknowledgment sent {"connection_id":161283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:38:56] local.INFO: Packet analysis {"connection_id":161283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a71"} 
[2026-08-22 22:38:56] local.INFO: Extracted packet for processing {"connection_id":161283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a71"} 
[2026-08-22 22:38:56] local.INFO: GPS Element Parsed {"raw_longitude":756763136,"raw_latitude":119940360,"longitude_deg":75.6763136,"latitude_deg":11.994036,"altitude":34,"angle":106,"satellites":33,"speed":16,"hex_longitude":"2d1b4a00","hex_latitude":"07262508","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579130880001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15131156898906112,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999400990720,"note":"Value kept but may cause issues"} 
[2026-08-22 22:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787418484000,"timestamp_ms":1787418484000,"timestamp_seconds":1787418484,"priority":1,"record_length":96,"hex_timestamp":"000001a02a719d20"} 
[2026-08-22 22: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-22 22:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-22 22:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22: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-22 22: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-22 22:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579130880001,"66":13515,"175":206,"83":42752,"24":16,"16":15131156898906112,"45":1964624999400990720},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-22 22:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579130880001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:38:56] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-22 22:38:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15131156898906112,"km_value":15131156898906.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999400990720,"description":"Unknown IO ID 45"} 
[2026-08-22 22:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579130880001,"power":13515,"unknown_175":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1964624999400990720}} 
[2026-08-22 22:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":161283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:38:56] local.INFO: GPS data processed {"connection_id":161283,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:38:56] local.INFO: Acknowledgment sent {"connection_id":161283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:39:10] local.INFO: TCP Data received {"connection_id":161283,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a71a8d8012d1b4e40072623780023007721..."} 
[2026-08-22 22:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a71a8d8012d1b4e40072623780023007721..."} 
[2026-08-22 22:39:10] local.INFO: Processing buffer {"connection_id":161283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a71a8d8012d1b4e40072623780023007721..."} 
[2026-08-22 22:39:10] local.INFO: Packet analysis {"connection_id":161283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a71"} 
[2026-08-22 22:39:10] local.INFO: Extracted packet for processing {"connection_id":161283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a71"} 
[2026-08-22 22:39:10] local.INFO: GPS Element Parsed {"raw_longitude":756764224,"raw_latitude":119939960,"longitude_deg":75.6764224,"latitude_deg":11.993996,"altitude":35,"angle":119,"satellites":33,"speed":17,"hex_longitude":"2d1b4e40","hex_latitude":"07262378","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579131904001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15131212733480960,"note":"Value kept but may cause issues"} 
[2026-08-22 22:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966384218005374976,"note":"Value kept but may cause issues"} 
[2026-08-22 22:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787418487000,"timestamp_ms":1787418487000,"timestamp_seconds":1787418487,"priority":1,"record_length":96,"hex_timestamp":"000001a02a71a8d8"} 
[2026-08-22 22: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-22 22:39:10] 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-22 22: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-22 22:39:10] 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-22 22: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-22 22: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-22 22:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579131904001,"66":13493,"175":206,"83":42752,"24":17,"16":15131212733480960,"45":1966384218005374976},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-22 22:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579131904001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:39:10] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-22 22:39:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15131212733480960,"km_value":15131212733480.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966384218005374976,"description":"Unknown IO ID 45"} 
[2026-08-22 22:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579131904001,"power":13493,"unknown_175":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1966384218005374976}} 
[2026-08-22 22:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":161283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:39:11] local.INFO: GPS data processed {"connection_id":161283,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:39:11] local.INFO: Acknowledgment sent {"connection_id":161283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:39:25] local.INFO: TCP Data received {"connection_id":162697,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:39:25] local.INFO: Processing buffer {"connection_id":162697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:39:25] local.INFO: Packet analysis {"connection_id":162697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:39:25] local.INFO: Extracted packet for processing {"connection_id":162697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:39:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579022848001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787418359000,"timestamp_ms":1787418359000,"timestamp_seconds":1787418359,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6fb4d8"} 
[2026-08-22 22: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-22 22: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-22 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:39:25] 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-22 22: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-22 22: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-22 22:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579022848001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579022848001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:39:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:39:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579022848001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":162697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:39:25] local.INFO: GPS data processed {"connection_id":162697,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:39:25] local.INFO: Acknowledgment sent {"connection_id":162697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:39:48] local.INFO: TCP Data received {"connection_id":160325,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:39:48] local.INFO: Processing buffer {"connection_id":160325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:39:48] local.INFO: IMEI packet received {"connection_id":160325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":160325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:39:51] local.INFO: TCP Data received {"connection_id":160326,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:39:51] local.INFO: Processing buffer {"connection_id":160326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:39:51] local.INFO: IMEI packet received {"connection_id":160326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":160326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:39:53] local.INFO: TCP Data received {"connection_id":160325,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:39:53] local.INFO: Processing buffer {"connection_id":160325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:39:53] local.INFO: IMEI packet received {"connection_id":160325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":160325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:39:54] local.INFO: TCP Data received {"connection_id":160325,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:39:54] local.INFO: Processing buffer {"connection_id":160325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:39:54] local.INFO: Packet analysis {"connection_id":160325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:39:54] local.INFO: Extracted packet for processing {"connection_id":160325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579022848001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787418359000,"timestamp_ms":1787418359000,"timestamp_seconds":1787418359,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6fb4d8"} 
[2026-08-22 22: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-22 22:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22: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-22 22: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-22 22:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579022848001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579022848001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:39:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:39:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579022848001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":160325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:39:54] local.INFO: GPS data processed {"connection_id":160325,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:39:54] local.INFO: Acknowledgment sent {"connection_id":160325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:40:02] local.INFO: TCP Data received {"connection_id":160326,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:40:02] local.INFO: Processing buffer {"connection_id":160326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:40:02] local.INFO: IMEI packet received {"connection_id":160326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":160326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:40:02] local.INFO: TCP Data received {"connection_id":160326,"ip":"42.109.136.6","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 22:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160326,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 22:40:02] local.INFO: Processing buffer {"connection_id":160326,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 22:40:02] local.INFO: IMEI packet received {"connection_id":160326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":160326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:40:25] local.INFO: TCP Data received {"connection_id":160325,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:40:25] local.INFO: Processing buffer {"connection_id":160325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:40:25] local.INFO: Packet analysis {"connection_id":160325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:40:25] local.INFO: Extracted packet for processing {"connection_id":160325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:40:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579022848001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787418359000,"timestamp_ms":1787418359000,"timestamp_seconds":1787418359,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6fb4d8"} 
[2026-08-22 22: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-22 22:40: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-22 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:40:25] 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-22 22: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-22 22: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-22 22:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579022848001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579022848001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:40:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:40:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579022848001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":160325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:40:25] local.INFO: GPS data processed {"connection_id":160325,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:40:25] local.INFO: Acknowledgment sent {"connection_id":160325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:40:48] local.INFO: TCP Data received {"connection_id":160327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:40:48] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:40:48] local.INFO: IMEI packet received {"connection_id":160327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":160327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:40:53] local.INFO: TCP Data received {"connection_id":160327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:40:53] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:40:53] local.INFO: IMEI packet received {"connection_id":160327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":160327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:40:54] local.INFO: TCP Data received {"connection_id":160327,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:40:54] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:40:54] local.INFO: Packet analysis {"connection_id":160327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:40:54] local.INFO: Extracted packet for processing {"connection_id":160327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:40:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579022848001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787418359000,"timestamp_ms":1787418359000,"timestamp_seconds":1787418359,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6fb4d8"} 
[2026-08-22 22: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-22 22:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22: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-22 22: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-22 22:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579022848001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579022848001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:40:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:40:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579022848001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":160327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:40:54] local.INFO: GPS data processed {"connection_id":160327,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:40:54] local.INFO: Acknowledgment sent {"connection_id":160327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:41:26] local.INFO: TCP Data received {"connection_id":160327,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:41:26] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a6fb4d8012d7b84c005f5ee00001200b32d..."} 
[2026-08-22 22:41:26] local.INFO: Packet analysis {"connection_id":160327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:41:26] local.INFO: Extracted packet for processing {"connection_id":160327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a6f"} 
[2026-08-22 22:41:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579022848001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787418359000,"timestamp_ms":1787418359000,"timestamp_seconds":1787418359,"priority":1,"record_length":96,"hex_timestamp":"000001a02a6fb4d8"} 
[2026-08-22 22:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:41: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-22 22:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579022848001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579022848001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:41:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:41:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579022848001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":160327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:41:26] local.INFO: GPS data processed {"connection_id":160327,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:41:26] local.INFO: Acknowledgment sent {"connection_id":160327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:41:48] local.INFO: TCP Data received {"connection_id":162699,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:41:48] local.INFO: Processing buffer {"connection_id":162699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:41:48] local.INFO: IMEI packet received {"connection_id":162699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":162699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:41:53] local.INFO: TCP Data received {"connection_id":162699,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:41:53] local.INFO: Processing buffer {"connection_id":162699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:41:53] local.INFO: IMEI packet received {"connection_id":162699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":162699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:41:54] local.INFO: TCP Data received {"connection_id":162699,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:41:54] local.INFO: Processing buffer {"connection_id":162699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:41:54] local.INFO: Packet analysis {"connection_id":162699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:41:54] local.INFO: Extracted packet for processing {"connection_id":162699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579099904001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787418660000,"timestamp_ms":1787418660000,"timestamp_seconds":1787418660,"priority":1,"record_length":96,"hex_timestamp":"000001a02a744ca0"} 
[2026-08-22 22:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579099904001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579099904001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:41:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:41:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579099904001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":162699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:41:54] local.INFO: GPS data processed {"connection_id":162699,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:41:54] local.INFO: Acknowledgment sent {"connection_id":162699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:42:25] local.INFO: TCP Data received {"connection_id":162699,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:42:25] local.INFO: Processing buffer {"connection_id":162699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:42:25] local.INFO: Packet analysis {"connection_id":162699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:42:25] local.INFO: Extracted packet for processing {"connection_id":162699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579099904001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787418660000,"timestamp_ms":1787418660000,"timestamp_seconds":1787418660,"priority":1,"record_length":96,"hex_timestamp":"000001a02a744ca0"} 
[2026-08-22 22: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-22 22:42: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-22 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:42:25] 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-22 22: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-22 22: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-22 22:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579099904001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579099904001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:42:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:42:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579099904001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":162699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:42:25] local.INFO: GPS data processed {"connection_id":162699,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:42:25] local.INFO: Acknowledgment sent {"connection_id":162699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:42:48] local.INFO: TCP Data received {"connection_id":160109,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:42:48] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:42:48] local.INFO: IMEI packet received {"connection_id":160109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":160109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:42:53] local.INFO: TCP Data received {"connection_id":160109,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:42:53] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:42:53] local.INFO: IMEI packet received {"connection_id":160109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":160109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:42:54] local.INFO: TCP Data received {"connection_id":160109,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:42:54] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:42:54] local.INFO: Packet analysis {"connection_id":160109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:42:54] local.INFO: Extracted packet for processing {"connection_id":160109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579099904001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787418660000,"timestamp_ms":1787418660000,"timestamp_seconds":1787418660,"priority":1,"record_length":96,"hex_timestamp":"000001a02a744ca0"} 
[2026-08-22 22:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579099904001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579099904001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:42:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:42:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579099904001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":160109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:42:54] local.INFO: GPS data processed {"connection_id":160109,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:42:54] local.INFO: Acknowledgment sent {"connection_id":160109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:43:25] local.INFO: TCP Data received {"connection_id":160109,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:43:25] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:43:25] local.INFO: Packet analysis {"connection_id":160109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:43:25] local.INFO: Extracted packet for processing {"connection_id":160109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:43:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579099904001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787418660000,"timestamp_ms":1787418660000,"timestamp_seconds":1787418660,"priority":1,"record_length":96,"hex_timestamp":"000001a02a744ca0"} 
[2026-08-22 22: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-22 22:43: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-22 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:43:25] 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-22 22: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-22 22: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-22 22:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579099904001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579099904001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:43:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:43:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579099904001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":160109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:43:25] local.INFO: GPS data processed {"connection_id":160109,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:43:25] local.INFO: Acknowledgment sent {"connection_id":160109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:43:48] local.INFO: TCP Data received {"connection_id":161285,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:43:48] local.INFO: Processing buffer {"connection_id":161285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:43:48] local.INFO: IMEI packet received {"connection_id":161285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":161285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:43:53] local.INFO: TCP Data received {"connection_id":161285,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:43:53] local.INFO: Processing buffer {"connection_id":161285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:43:53] local.INFO: IMEI packet received {"connection_id":161285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":161285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:43:54] local.INFO: TCP Data received {"connection_id":161285,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:43:54] local.INFO: Processing buffer {"connection_id":161285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:43:54] local.INFO: Packet analysis {"connection_id":161285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:43:54] local.INFO: Extracted packet for processing {"connection_id":161285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579099904001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787418660000,"timestamp_ms":1787418660000,"timestamp_seconds":1787418660,"priority":1,"record_length":96,"hex_timestamp":"000001a02a744ca0"} 
[2026-08-22 22:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579099904001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579099904001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:43:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:43:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579099904001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":161285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:43:54] local.INFO: GPS data processed {"connection_id":161285,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:43:54] local.INFO: Acknowledgment sent {"connection_id":161285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:44:27] local.INFO: TCP Data received {"connection_id":161285,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:44:27] local.INFO: Processing buffer {"connection_id":161285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:44:27] local.INFO: Packet analysis {"connection_id":161285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:44:27] local.INFO: Extracted packet for processing {"connection_id":161285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579099904001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787418660000,"timestamp_ms":1787418660000,"timestamp_seconds":1787418660,"priority":1,"record_length":96,"hex_timestamp":"000001a02a744ca0"} 
[2026-08-22 22: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-22 22:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22: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-22 22: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-22 22:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579099904001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579099904001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:44:27] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:44:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579099904001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":161285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:44:27] local.INFO: GPS data processed {"connection_id":161285,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:44:27] local.INFO: Acknowledgment sent {"connection_id":161285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:44:48] local.INFO: TCP Data received {"connection_id":160329,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:44:48] local.INFO: Processing buffer {"connection_id":160329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:44:48] local.INFO: IMEI packet received {"connection_id":160329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":160329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:44:53] local.INFO: TCP Data received {"connection_id":160329,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:44:53] local.INFO: Processing buffer {"connection_id":160329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:44:53] local.INFO: IMEI packet received {"connection_id":160329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":160329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:44:54] local.INFO: TCP Data received {"connection_id":160329,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:44:54] local.INFO: Processing buffer {"connection_id":160329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:44:54] local.INFO: Packet analysis {"connection_id":160329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:44:54] local.INFO: Extracted packet for processing {"connection_id":160329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579099904001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787418660000,"timestamp_ms":1787418660000,"timestamp_seconds":1787418660,"priority":1,"record_length":96,"hex_timestamp":"000001a02a744ca0"} 
[2026-08-22 22:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579099904001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579099904001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:44:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:44:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579099904001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":160329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:44:54] local.INFO: GPS data processed {"connection_id":160329,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:44:54] local.INFO: Acknowledgment sent {"connection_id":160329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:45:07] local.INFO: TCP Data received {"connection_id":162700,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:45:07] local.INFO: Processing buffer {"connection_id":162700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:45:07] local.INFO: IMEI packet received {"connection_id":162700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":162700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:45:07] local.INFO: TCP Data received {"connection_id":162700,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a75e2e0012d1b55c00724bb60002800cd23..."} 
[2026-08-22 22:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a75e2e0012d1b55c00724bb60002800cd23..."} 
[2026-08-22 22:45:07] local.INFO: Processing buffer {"connection_id":162700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a75e2e0012d1b55c00724bb60002800cd23..."} 
[2026-08-22 22:45:07] local.INFO: Packet analysis {"connection_id":162700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a75"} 
[2026-08-22 22:45:07] local.INFO: Extracted packet for processing {"connection_id":162700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a75"} 
[2026-08-22 22:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756766144,"raw_latitude":119847776,"longitude_deg":75.6766144,"latitude_deg":11.9847776,"altitude":40,"angle":205,"satellites":35,"speed":37,"hex_longitude":"2d1b55c0","hex_latitude":"0724bb60","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579203072001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15136057456590848,"note":"Value kept but may cause issues"} 
[2026-08-22 22:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973888593920,"note":"Value kept but may cause issues"} 
[2026-08-22 22:45:07] 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-22 22:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787418764000,"timestamp_ms":1787418764000,"timestamp_seconds":1787418764,"priority":1,"record_length":96,"hex_timestamp":"000001a02a75e2e0"} 
[2026-08-22 22: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-22 22:45: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-22 22: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 22:45:07] 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-22 22: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-22 22: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-22 22:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579203072001,"66":12950,"136":206,"83":42752,"24":37,"16":15136057456590848,"45":1970535973888593920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 22:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579203072001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:45:07] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 22:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15136057456590848,"km_value":15136057456590.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973888593920,"description":"Unknown IO ID 45"} 
[2026-08-22 22:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579203072001,"power":12950,"unknown_136":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1970535973888593920}} 
[2026-08-22 22:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":162700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:45:08] local.INFO: GPS data processed {"connection_id":162700,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:45:08] local.INFO: Acknowledgment sent {"connection_id":162700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:45:25] local.INFO: TCP Data received {"connection_id":160329,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:45:25] local.INFO: Processing buffer {"connection_id":160329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:45:25] local.INFO: Packet analysis {"connection_id":160329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:45:25] local.INFO: Extracted packet for processing {"connection_id":160329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:45:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579099904001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787418660000,"timestamp_ms":1787418660000,"timestamp_seconds":1787418660,"priority":1,"record_length":96,"hex_timestamp":"000001a02a744ca0"} 
[2026-08-22 22: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-22 22:45: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-22 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:45:25] 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-22 22: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-22 22: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-22 22:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579099904001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579099904001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:45:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:45:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579099904001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":160329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:45:25] local.INFO: GPS data processed {"connection_id":160329,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:45:25] local.INFO: Acknowledgment sent {"connection_id":160329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:45:48] local.INFO: TCP Data received {"connection_id":161286,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:45:48] local.INFO: Processing buffer {"connection_id":161286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:45:48] local.INFO: IMEI packet received {"connection_id":161286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":161286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:45:51] local.INFO: TCP Data received {"connection_id":161287,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:45:51] local.INFO: Processing buffer {"connection_id":161287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:45:51] local.INFO: IMEI packet received {"connection_id":161287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":161287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:45:53] local.INFO: TCP Data received {"connection_id":161286,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:45:53] local.INFO: Processing buffer {"connection_id":161286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:45:53] local.INFO: IMEI packet received {"connection_id":161286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":161286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:45:54] local.INFO: TCP Data received {"connection_id":161286,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:45:54] local.INFO: Processing buffer {"connection_id":161286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:45:54] local.INFO: Packet analysis {"connection_id":161286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:45:54] local.INFO: Extracted packet for processing {"connection_id":161286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579099904001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787418660000,"timestamp_ms":1787418660000,"timestamp_seconds":1787418660,"priority":1,"record_length":96,"hex_timestamp":"000001a02a744ca0"} 
[2026-08-22 22:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579099904001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579099904001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:45:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:45:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579099904001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":161286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:45:54] local.INFO: GPS data processed {"connection_id":161286,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:45:54] local.INFO: Acknowledgment sent {"connection_id":161286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:45:57] local.INFO: TCP Data received {"connection_id":161287,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:45:57] local.INFO: Processing buffer {"connection_id":161287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:45:57] local.INFO: IMEI packet received {"connection_id":161287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":161287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:45:58] local.INFO: TCP Data received {"connection_id":161287,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a75ee98012d1b4fc00724b398002800e125..."} 
[2026-08-22 22:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a75ee98012d1b4fc00724b398002800e125..."} 
[2026-08-22 22:45:58] local.INFO: Processing buffer {"connection_id":161287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a75ee98012d1b4fc00724b398002800e125..."} 
[2026-08-22 22:45:58] local.INFO: Packet analysis {"connection_id":161287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a75"} 
[2026-08-22 22:45:58] local.INFO: Extracted packet for processing {"connection_id":161287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a75"} 
[2026-08-22 22:45:58] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119845784,"longitude_deg":75.6764608,"latitude_deg":11.9845784,"altitude":40,"angle":225,"satellites":37,"speed":29,"hex_longitude":"2d1b4fc0","hex_latitude":"0724b398","is_valid_coordinates":true} 
[2026-08-22 22:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579203584001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15136177715675136,"note":"Value kept but may cause issues"} 
[2026-08-22 22:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969691548958023680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:45:58] 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-22 22:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787418767000,"timestamp_ms":1787418767000,"timestamp_seconds":1787418767,"priority":1,"record_length":96,"hex_timestamp":"000001a02a75ee98"} 
[2026-08-22 22:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-22 22:45:58] 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-22 22:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579203584001,"66":12939,"136":206,"83":42752,"24":29,"16":15136177715675136,"45":1969691548958023680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 22:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579203584001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:45:58] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 22:45:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15136177715675136,"km_value":15136177715675.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969691548958023680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579203584001,"power":12939,"unknown_136":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1969691548958023680}} 
[2026-08-22 22:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":161287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:45:58] local.INFO: GPS data processed {"connection_id":161287,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:45:58] local.INFO: Acknowledgment sent {"connection_id":161287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:46:25] local.INFO: TCP Data received {"connection_id":161286,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:46:25] local.INFO: Processing buffer {"connection_id":161286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a744ca0012d7b84c005f5ee00001200b32f..."} 
[2026-08-22 22:46:25] local.INFO: Packet analysis {"connection_id":161286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:46:25] local.INFO: Extracted packet for processing {"connection_id":161286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a74"} 
[2026-08-22 22:46:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":18,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579099904001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787418660000,"timestamp_ms":1787418660000,"timestamp_seconds":1787418660,"priority":1,"record_length":96,"hex_timestamp":"000001a02a744ca0"} 
[2026-08-22 22: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-22 22:46: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-22 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:46:25] 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-22 22: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-22 22: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-22 22:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579099904001,"66":25778,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579099904001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:46:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:46:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579099904001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":161286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:46:25] local.INFO: GPS data processed {"connection_id":161286,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:46:25] local.INFO: Acknowledgment sent {"connection_id":161286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:46:29] local.INFO: TCP Data received {"connection_id":161287,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a75fe38012d1b49c00724af60002800ed26..."} 
[2026-08-22 22:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a75fe38012d1b49c00724af60002800ed26..."} 
[2026-08-22 22:46:29] local.INFO: Processing buffer {"connection_id":161287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a75fe38012d1b49c00724af60002800ed26..."} 
[2026-08-22 22:46:29] local.INFO: Packet analysis {"connection_id":161287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a75"} 
[2026-08-22 22:46:29] local.INFO: Extracted packet for processing {"connection_id":161287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a75"} 
[2026-08-22 22:46:29] local.INFO: GPS Element Parsed {"raw_longitude":756763072,"raw_latitude":119844704,"longitude_deg":75.6763072,"latitude_deg":11.9844704,"altitude":40,"angle":237,"satellites":38,"speed":9,"hex_longitude":"2d1b49c0","hex_latitude":"0724af60","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579204352001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15136267909988352,"note":"Value kept but may cause issues"} 
[2026-08-22 22:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699097249792,"note":"Value kept but may cause issues"} 
[2026-08-22 22:46:29] 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-22 22:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787418771000,"timestamp_ms":1787418771000,"timestamp_seconds":1787418771,"priority":1,"record_length":96,"hex_timestamp":"000001a02a75fe38"} 
[2026-08-22 22: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-22 22:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 22:46:29] 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-22 22: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-22 22: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-22 22:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579204352001,"66":12972,"136":206,"83":42752,"24":9,"16":15136267909988352,"45":1968002699097249792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 22:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579204352001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:46:29] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 22:46:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15136267909988352,"km_value":15136267909988.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699097249792,"description":"Unknown IO ID 45"} 
[2026-08-22 22:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579204352001,"power":12972,"unknown_136":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1968002699097249792}} 
[2026-08-22 22:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":161287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:46:29] local.INFO: GPS data processed {"connection_id":161287,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:46:29] local.INFO: Acknowledgment sent {"connection_id":161287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:46:48] local.INFO: TCP Data received {"connection_id":162701,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:46:48] local.INFO: Processing buffer {"connection_id":162701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:46:48] local.INFO: IMEI packet received {"connection_id":162701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":162701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:46:56] local.INFO: TCP Data received {"connection_id":162701,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:46:56] local.INFO: Processing buffer {"connection_id":162701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:46:56] local.INFO: IMEI packet received {"connection_id":162701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":162701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:46:56] local.INFO: TCP Data received {"connection_id":161288,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:46:56] local.INFO: Processing buffer {"connection_id":161288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:46:56] local.INFO: IMEI packet received {"connection_id":161288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":161288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:46:57] local.INFO: TCP Data received {"connection_id":162701,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:46:57] local.INFO: Processing buffer {"connection_id":162701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:46:57] local.INFO: Packet analysis {"connection_id":162701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:46:57] local.INFO: Extracted packet for processing {"connection_id":162701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579176960001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787418961000,"timestamp_ms":1787418961000,"timestamp_seconds":1787418961,"priority":1,"record_length":96,"hex_timestamp":"000001a02a78e468"} 
[2026-08-22 22: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-22 22:46: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-22 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:46:57] 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-22 22: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-22 22: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-22 22:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579176960001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579176960001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:46:57] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:46:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579176960001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":162701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:46:57] local.INFO: GPS data processed {"connection_id":162701,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:46:57] local.INFO: Acknowledgment sent {"connection_id":162701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:47:02] local.INFO: TCP Data received {"connection_id":161288,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:47:02] local.INFO: Processing buffer {"connection_id":161288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:47:02] local.INFO: IMEI packet received {"connection_id":161288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":161288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:47:03] local.INFO: TCP Data received {"connection_id":161288,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7615a8012d1b45000724ac10002600e226..."} 
[2026-08-22 22:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7615a8012d1b45000724ac10002600e226..."} 
[2026-08-22 22:47:03] local.INFO: Processing buffer {"connection_id":161288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7615a8012d1b45000724ac10002600e226..."} 
[2026-08-22 22:47:03] local.INFO: Packet analysis {"connection_id":161288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a76"} 
[2026-08-22 22:47:03] local.INFO: Extracted packet for processing {"connection_id":161288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a76"} 
[2026-08-22 22:47:03] local.INFO: GPS Element Parsed {"raw_longitude":756761856,"raw_latitude":119843856,"longitude_deg":75.6761856,"latitude_deg":11.9843856,"altitude":38,"angle":226,"satellites":38,"speed":11,"hex_longitude":"2d1b4500","hex_latitude":"0724ac10","is_valid_coordinates":true} 
[2026-08-22 22:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579205376001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15136340924432384,"note":"Value kept but may cause issues"} 
[2026-08-22 22:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966313849236709376,"note":"Value kept but may cause issues"} 
[2026-08-22 22:47:03] 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-22 22:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787418777000,"timestamp_ms":1787418777000,"timestamp_seconds":1787418777,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7615a8"} 
[2026-08-22 22:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:47: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-22 22:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-22 22:47:03] 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-22 22:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579205376001,"66":12993,"136":206,"83":42752,"24":11,"16":15136340924432384,"45":1966313849236709376},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-22 22:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579205376001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:47:03] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 22:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15136340924432384,"km_value":15136340924432.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966313849236709376,"description":"Unknown IO ID 45"} 
[2026-08-22 22:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579205376001,"power":12993,"unknown_136":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1966313849236709376}} 
[2026-08-22 22:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":161288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:47:03] local.INFO: GPS data processed {"connection_id":161288,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:47:03] local.INFO: Acknowledgment sent {"connection_id":161288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:47:28] local.INFO: TCP Data received {"connection_id":162701,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:47:28] local.INFO: Processing buffer {"connection_id":162701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:47:28] local.INFO: Packet analysis {"connection_id":162701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:47:28] local.INFO: Extracted packet for processing {"connection_id":162701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:47:28] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579176960001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787418961000,"timestamp_ms":1787418961000,"timestamp_seconds":1787418961,"priority":1,"record_length":96,"hex_timestamp":"000001a02a78e468"} 
[2026-08-22 22: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-22 22:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:47:28] 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-22 22: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-22 22: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-22 22:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579176960001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579176960001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:47:28] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:47:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579176960001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":162701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:47:28] local.INFO: GPS data processed {"connection_id":162701,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:47:28] local.INFO: Acknowledgment sent {"connection_id":162701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:47:34] local.INFO: TCP Data received {"connection_id":161288,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a794610012d1b35c00724a0f8002600e727..."} 
[2026-08-22 22:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a794610012d1b35c00724a0f8002600e727..."} 
[2026-08-22 22:47:34] local.INFO: Processing buffer {"connection_id":161288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a794610012d1b35c00724a0f8002600e727..."} 
[2026-08-22 22:47:34] local.INFO: Packet analysis {"connection_id":161288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a79"} 
[2026-08-22 22:47:34] local.INFO: Extracted packet for processing {"connection_id":161288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a79"} 
[2026-08-22 22:47:34] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119841016,"longitude_deg":75.6757952,"latitude_deg":11.9841016,"altitude":38,"angle":231,"satellites":39,"speed":22,"hex_longitude":"2d1b35c0","hex_latitude":"0724a0f8","is_valid_coordinates":true} 
[2026-08-22 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-22 22:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579257600001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15136585737568256,"note":"Value kept but may cause issues"} 
[2026-08-22 22:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963991680678354944,"note":"Value kept but may cause issues"} 
[2026-08-22 22:47:34] 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-22 22:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787418986000,"timestamp_ms":1787418986000,"timestamp_seconds":1787418986,"priority":1,"record_length":96,"hex_timestamp":"000001a02a794610"} 
[2026-08-22 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-22 22:47:34] 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-22 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-22 22:47:34] 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-22 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-22 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-22 22:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579257600001,"66":13450,"176":206,"83":42752,"24":22,"16":15136585737568256,"45":1963991680678354944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 22:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579257600001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:47:34] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 22:47:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15136585737568256,"km_value":15136585737568.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963991680678354944,"description":"Unknown IO ID 45"} 
[2026-08-22 22:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579257600001,"power":13450,"unknown_176":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1963991680678354944}} 
[2026-08-22 22:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":161288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:47:34] local.INFO: GPS data processed {"connection_id":161288,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:47:34] local.INFO: Acknowledgment sent {"connection_id":161288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:47:48] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:47:48] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:47:48] local.INFO: IMEI packet received {"connection_id":160330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":160330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:47:52] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:47:52] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:47:52] local.INFO: IMEI packet received {"connection_id":160331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":160331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:47:52] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:47:52] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:47:52] local.INFO: IMEI packet received {"connection_id":160331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":160331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:47:53] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:47:53] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:47:53] local.INFO: IMEI packet received {"connection_id":160330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":160330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:47:54] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:47:54] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:47:54] local.INFO: Packet analysis {"connection_id":160330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:47:54] local.INFO: Extracted packet for processing {"connection_id":160330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579176960001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787418961000,"timestamp_ms":1787418961000,"timestamp_seconds":1787418961,"priority":1,"record_length":96,"hex_timestamp":"000001a02a78e468"} 
[2026-08-22 22:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:47:54] 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-22 22:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579176960001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579176960001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:47:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:47:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579176960001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":160330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:47:54] local.INFO: GPS data processed {"connection_id":160330,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:47:54] local.INFO: Acknowledgment sent {"connection_id":160330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:47:56] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:47:56] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:47:56] local.INFO: IMEI packet received {"connection_id":160331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":160331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:47:58] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a797cc0012d1b17c007248a20002500e825..."} 
[2026-08-22 22:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a797cc0012d1b17c007248a20002500e825..."} 
[2026-08-22 22:47:58] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a797cc0012d1b17c007248a20002500e825..."} 
[2026-08-22 22:47:58] local.INFO: Packet analysis {"connection_id":160331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a79"} 
[2026-08-22 22:47:58] local.INFO: Extracted packet for processing {"connection_id":160331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a79"} 
[2026-08-22 22:47:58] local.INFO: GPS Element Parsed {"raw_longitude":756750272,"raw_latitude":119835168,"longitude_deg":75.6750272,"latitude_deg":11.9835168,"altitude":37,"angle":232,"satellites":37,"speed":33,"hex_longitude":"2d1b17c0","hex_latitude":"07248a20","is_valid_coordinates":true} 
[2026-08-22 22:47: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-22 22:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579260416001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15137049594036224,"note":"Value kept but may cause issues"} 
[2026-08-22 22:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349701552128,"note":"Value kept but may cause issues"} 
[2026-08-22 22:47:58] 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-22 22:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787419000000,"timestamp_ms":1787419000000,"timestamp_seconds":1787419000,"priority":1,"record_length":96,"hex_timestamp":"000001a02a797cc0"} 
[2026-08-22 22:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-22 22:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:47: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-22 22:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579260416001,"66":13515,"176":206,"83":42752,"24":33,"16":15137049594036224,"45":1960684349701552128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 22:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579260416001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:47:58] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 22:47:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15137049594036224,"km_value":15137049594036.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349701552128,"description":"Unknown IO ID 45"} 
[2026-08-22 22:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579260416001,"power":13515,"unknown_176":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1960684349701552128}} 
[2026-08-22 22:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":160331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:47:58] local.INFO: GPS data processed {"connection_id":160331,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:47:58] local.INFO: Acknowledgment sent {"connection_id":160331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:48:02] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a79a7b8012d1afd40072470e8002700df24..."} 
[2026-08-22 22:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a79a7b8012d1afd40072470e8002700df24..."} 
[2026-08-22 22:48:02] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a79a7b8012d1afd40072470e8002700df24..."} 
[2026-08-22 22:48:02] local.INFO: Packet analysis {"connection_id":160331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a79"} 
[2026-08-22 22:48:02] local.INFO: Extracted packet for processing {"connection_id":160331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a79"} 
[2026-08-22 22:48:02] local.INFO: GPS Element Parsed {"raw_longitude":756743488,"raw_latitude":119828712,"longitude_deg":75.6743488,"latitude_deg":11.9828712,"altitude":39,"angle":223,"satellites":36,"speed":32,"hex_longitude":"2d1afd40","hex_latitude":"072470e8","is_valid_coordinates":true} 
[2026-08-22 22:48: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-22 22:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579264000001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15137500565602304,"note":"Value kept but may cause issues"} 
[2026-08-22 22:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1952240100398735360,"note":"Value kept but may cause issues"} 
[2026-08-22 22:48:02] 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-22 22:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787419011000,"timestamp_ms":1787419011000,"timestamp_seconds":1787419011,"priority":1,"record_length":96,"hex_timestamp":"000001a02a79a7b8"} 
[2026-08-22 22:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:48:02] 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-22 22:48: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-22 22:48:02] 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-22 22:48: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-22 22:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579264000001,"66":13472,"176":206,"83":42752,"24":32,"16":15137500565602304,"45":1952240100398735360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 22:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579264000001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:48:02] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 22:48:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15137500565602304,"km_value":15137500565602.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1952240100398735360,"description":"Unknown IO ID 45"} 
[2026-08-22 22:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579264000001,"power":13472,"unknown_176":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1952240100398735360}} 
[2026-08-22 22:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":160331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:48:02] local.INFO: GPS data processed {"connection_id":160331,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:48:02] local.INFO: Acknowledgment sent {"connection_id":160331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:48:25] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:48:25] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:48:25] local.INFO: Packet analysis {"connection_id":160330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:48:25] local.INFO: Extracted packet for processing {"connection_id":160330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:48:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579176960001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787418961000,"timestamp_ms":1787418961000,"timestamp_seconds":1787418961,"priority":1,"record_length":96,"hex_timestamp":"000001a02a78e468"} 
[2026-08-22 22: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-22 22:48: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-22 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:48: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-22 22: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-22 22: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-22 22:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579176960001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579176960001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:48:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:48:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579176960001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":160330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:48:25] local.INFO: GPS data processed {"connection_id":160330,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:48:25] local.INFO: Acknowledgment sent {"connection_id":160330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:48:33] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a79c310012d1aefc007246128002b00d424..."} 
[2026-08-22 22:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a79c310012d1aefc007246128002b00d424..."} 
[2026-08-22 22:48:33] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a79c310012d1aefc007246128002b00d424..."} 
[2026-08-22 22:48:33] local.INFO: Packet analysis {"connection_id":160331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a79"} 
[2026-08-22 22:48:33] local.INFO: Extracted packet for processing {"connection_id":160331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a79"} 
[2026-08-22 22:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756740032,"raw_latitude":119824680,"longitude_deg":75.6740032,"latitude_deg":11.982468,"altitude":43,"angle":212,"satellites":36,"speed":30,"hex_longitude":"2d1aefc0","hex_latitude":"07246128","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579266816001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15137753968672768,"note":"Value kept but may cause issues"} 
[2026-08-22 22:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944781013514250240,"note":"Value kept but may cause issues"} 
[2026-08-22 22:48:33] 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-22 22:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787419018000,"timestamp_ms":1787419018000,"timestamp_seconds":1787419018,"priority":1,"record_length":96,"hex_timestamp":"000001a02a79c310"} 
[2026-08-22 22: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-22 22:48:33] 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-22 22: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 22:48:33] 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-22 22: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-22 22: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-22 22:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579266816001,"66":13472,"176":206,"83":42752,"24":30,"16":15137753968672768,"45":1944781013514250240},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-22 22:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579266816001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:48:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-22 22:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15137753968672768,"km_value":15137753968672.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944781013514250240,"description":"Unknown IO ID 45"} 
[2026-08-22 22:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579266816001,"power":13472,"unknown_176":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1944781013514250240}} 
[2026-08-22 22:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":160331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:48:33] local.INFO: GPS data processed {"connection_id":160331,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:48:33] local.INFO: Acknowledgment sent {"connection_id":160331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:48:48] local.INFO: TCP Data received {"connection_id":161289,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:48:48] local.INFO: Processing buffer {"connection_id":161289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:48:48] local.INFO: IMEI packet received {"connection_id":161289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":161289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:48:53] local.INFO: TCP Data received {"connection_id":161289,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:48:53] local.INFO: Processing buffer {"connection_id":161289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:48:53] local.INFO: IMEI packet received {"connection_id":161289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":161289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:48:54] local.INFO: TCP Data received {"connection_id":161289,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:48:54] local.INFO: Processing buffer {"connection_id":161289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:48:54] local.INFO: Packet analysis {"connection_id":161289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:48:54] local.INFO: Extracted packet for processing {"connection_id":161289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579176960001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787418961000,"timestamp_ms":1787418961000,"timestamp_seconds":1787418961,"priority":1,"record_length":96,"hex_timestamp":"000001a02a78e468"} 
[2026-08-22 22:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:48:54] 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-22 22:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579176960001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579176960001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:48:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:48:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579176960001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":161289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:48:54] local.INFO: GPS data processed {"connection_id":161289,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:48:54] local.INFO: Acknowledgment sent {"connection_id":161289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:49:03] local.INFO: TCP Data received {"connection_id":160110,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:49:03] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:49:03] local.INFO: IMEI packet received {"connection_id":160110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":160110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:49:25] local.INFO: TCP Data received {"connection_id":161289,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:49:25] local.INFO: Processing buffer {"connection_id":161289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:49:25] local.INFO: Packet analysis {"connection_id":161289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:49:25] local.INFO: Extracted packet for processing {"connection_id":161289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:49:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579176960001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787418961000,"timestamp_ms":1787418961000,"timestamp_seconds":1787418961,"priority":1,"record_length":96,"hex_timestamp":"000001a02a78e468"} 
[2026-08-22 22: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-22 22:49: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-22 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:49: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-22 22: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-22 22: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-22 22:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579176960001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579176960001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:49:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:49:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579176960001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":161289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:49:25] local.INFO: GPS data processed {"connection_id":161289,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:49:25] local.INFO: Acknowledgment sent {"connection_id":161289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:49:29] local.INFO: TCP Data received {"connection_id":160110,"ip":"42.109.136.6","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 22:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 22:49:29] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-22 22:49:29] local.INFO: IMEI packet received {"connection_id":160110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":160110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:49:30] local.INFO: TCP Data received {"connection_id":160110,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7ad480012d1a26000723b420003000ef26..."} 
[2026-08-22 22:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7ad480012d1a26000723b420003000ef26..."} 
[2026-08-22 22:49:30] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a02a..."} 
[2026-08-22 22:49:30] local.INFO: IMEI packet received {"connection_id":160110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":160110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:49:31] local.INFO: TCP Data received {"connection_id":160110,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7ae420012d1a16400723ad08003000fb26..."} 
[2026-08-22 22:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7ae420012d1a16400723ad08003000fb26..."} 
[2026-08-22 22:49:31] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02a7ad480012d1a26000723b420003000ef26..."} 
[2026-08-22 22:49:31] local.INFO: Packet analysis {"connection_id":160110,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02a7a"} 
[2026-08-22 22:49:31] local.INFO: Extracted packet for processing {"connection_id":160110,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7a"} 
[2026-08-22 22:49:31] local.INFO: GPS Element Parsed {"raw_longitude":756688384,"raw_latitude":119780384,"longitude_deg":75.6688384,"latitude_deg":11.9780384,"altitude":48,"angle":239,"satellites":38,"speed":43,"hex_longitude":"2d1a2600","hex_latitude":"0723b420","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579285248001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15141112633098240,"note":"Value kept but may cause issues"} 
[2026-08-22 22:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888697124393086976,"note":"Value kept but may cause issues"} 
[2026-08-22 22:49:31] 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-22 22:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787419088000,"timestamp_ms":1787419088000,"timestamp_seconds":1787419088,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7ad480"} 
[2026-08-22 22: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-22 22:49:31] 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-22 22: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-22 22:49:31] 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-22 22: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-22 22: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-22 22:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579285248001,"66":13559,"42":206,"83":42752,"24":43,"16":15141112633098240,"45":1888697124393086976},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-22 22:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579285248001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:49:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-22 22:49:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15141112633098240,"km_value":15141112633098.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888697124393086976,"description":"Unknown IO ID 45"} 
[2026-08-22 22:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579285248001,"power":13559,"unknown_42":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1888697124393086976}} 
[2026-08-22 22:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":160110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:49:32] local.INFO: GPS data processed {"connection_id":160110,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:49:32] local.INFO: Acknowledgment sent {"connection_id":160110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:49:32] local.INFO: Packet analysis {"connection_id":160110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7a"} 
[2026-08-22 22:49:32] local.INFO: Extracted packet for processing {"connection_id":160110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7a"} 
[2026-08-22 22:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756684352,"raw_latitude":119778568,"longitude_deg":75.6684352,"latitude_deg":11.9778568,"altitude":48,"angle":251,"satellites":38,"speed":42,"hex_longitude":"2d1a1640","hex_latitude":"0723ad08","is_valid_coordinates":true} 
[2026-08-22 22:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579286528001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15141327381463040,"note":"Value kept but may cause issues"} 
[2026-08-22 22:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884193524764909568,"note":"Value kept but may cause issues"} 
[2026-08-22 22:49:32] 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-22 22:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787419092000,"timestamp_ms":1787419092000,"timestamp_seconds":1787419092,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7ae420"} 
[2026-08-22 22:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:49:32] 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-22 22:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-22 22:49:32] 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-22 22:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579286528001,"66":13504,"42":206,"83":42752,"24":42,"16":15141327381463040,"45":1884193524764909568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-22 22:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579286528001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:49:32] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-22 22:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15141327381463040,"km_value":15141327381463.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884193524764909568,"description":"Unknown IO ID 45"} 
[2026-08-22 22:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579286528001,"power":13504,"unknown_42":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1884193524764909568}} 
[2026-08-22 22:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":160110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:49:32] local.INFO: GPS data processed {"connection_id":160110,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:49:32] local.INFO: Acknowledgment sent {"connection_id":160110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:49:33] local.INFO: TCP Data received {"connection_id":160110,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7afb90012d19fd800723a8300033010623..."} 
[2026-08-22 22:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7afb90012d19fd800723a8300033010623..."} 
[2026-08-22 22:49:33] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7afb90012d19fd800723a8300033010623..."} 
[2026-08-22 22:49:33] local.INFO: Packet analysis {"connection_id":160110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7a"} 
[2026-08-22 22:49:33] local.INFO: Extracted packet for processing {"connection_id":160110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7a"} 
[2026-08-22 22:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756678016,"raw_latitude":119777328,"longitude_deg":75.6678016,"latitude_deg":11.9777328,"altitude":51,"angle":262,"satellites":35,"speed":41,"hex_longitude":"2d19fd80","hex_latitude":"0723a830","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579287552001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15141632324141056,"note":"Value kept but may cause issues"} 
[2026-08-22 22:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879760293881251840,"note":"Value kept but may cause issues"} 
[2026-08-22 22:49:33] 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-22 22:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787419098000,"timestamp_ms":1787419098000,"timestamp_seconds":1787419098,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7afb90"} 
[2026-08-22 22: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-22 22:49:33] 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-22 22: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-22 22:49:33] 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-22 22: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-22 22: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-22 22:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579287552001,"66":13559,"42":206,"83":42752,"24":41,"16":15141632324141056,"45":1879760293881251840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-22 22:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579287552001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:49:33] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-22 22:49:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15141632324141056,"km_value":15141632324141.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879760293881251840,"description":"Unknown IO ID 45"} 
[2026-08-22 22:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579287552001,"power":13559,"unknown_42":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1879760293881251840}} 
[2026-08-22 22:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":160110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:49:33] local.INFO: GPS data processed {"connection_id":160110,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:49:33] local.INFO: Acknowledgment sent {"connection_id":160110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:49:48] local.INFO: TCP Data received {"connection_id":160332,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:49:48] local.INFO: Processing buffer {"connection_id":160332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:49:48] local.INFO: IMEI packet received {"connection_id":160332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":160332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:49:53] local.INFO: TCP Data received {"connection_id":160332,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:49:53] local.INFO: Processing buffer {"connection_id":160332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:49:53] local.INFO: IMEI packet received {"connection_id":160332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":160332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:49:54] local.INFO: TCP Data received {"connection_id":160332,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:49:54] local.INFO: Processing buffer {"connection_id":160332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:49:54] local.INFO: Packet analysis {"connection_id":160332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:49:54] local.INFO: Extracted packet for processing {"connection_id":160332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579176960001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787418961000,"timestamp_ms":1787418961000,"timestamp_seconds":1787418961,"priority":1,"record_length":96,"hex_timestamp":"000001a02a78e468"} 
[2026-08-22 22: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-22 22:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:49:54] 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-22 22: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-22 22: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-22 22:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579176960001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579176960001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:49:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:49:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579176960001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":160332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:49:54] local.INFO: GPS data processed {"connection_id":160332,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:49:54] local.INFO: Acknowledgment sent {"connection_id":160332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:50:26] local.INFO: TCP Data received {"connection_id":160332,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:50:26] local.INFO: Processing buffer {"connection_id":160332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:50:26] local.INFO: Packet analysis {"connection_id":160332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:50:26] local.INFO: Extracted packet for processing {"connection_id":160332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:50:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579176960001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787418961000,"timestamp_ms":1787418961000,"timestamp_seconds":1787418961,"priority":1,"record_length":96,"hex_timestamp":"000001a02a78e468"} 
[2026-08-22 22: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-22 22:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:50:26] 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-22 22: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-22 22: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-22 22:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579176960001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579176960001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:50:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:50:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579176960001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":160332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:50:26] local.INFO: GPS data processed {"connection_id":160332,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:50:26] local.INFO: Acknowledgment sent {"connection_id":160332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:50:47] local.INFO: TCP Data received {"connection_id":161290,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:50:47] local.INFO: Processing buffer {"connection_id":161290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:50:47] local.INFO: IMEI packet received {"connection_id":161290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":161290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:50:53] local.INFO: TCP Data received {"connection_id":161290,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:50:53] local.INFO: Processing buffer {"connection_id":161290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:50:53] local.INFO: IMEI packet received {"connection_id":161290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":161290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:50:54] local.INFO: TCP Data received {"connection_id":161290,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:50:54] local.INFO: Processing buffer {"connection_id":161290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:50:54] local.INFO: Packet analysis {"connection_id":161290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:50:54] local.INFO: Extracted packet for processing {"connection_id":161290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:50:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579176960001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787418961000,"timestamp_ms":1787418961000,"timestamp_seconds":1787418961,"priority":1,"record_length":96,"hex_timestamp":"000001a02a78e468"} 
[2026-08-22 22:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:50:54] 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-22 22:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579176960001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579176960001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:50:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:50:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579176960001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":161290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:50:54] local.INFO: GPS data processed {"connection_id":161290,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:50:54] local.INFO: Acknowledgment sent {"connection_id":161290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:51:07] local.INFO: TCP Data received {"connection_id":160333,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:51:07] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:51:07] local.INFO: IMEI packet received {"connection_id":160333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":160333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:51:11] local.INFO: TCP Data received {"connection_id":160333,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:51:11] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:51:11] local.INFO: IMEI packet received {"connection_id":160333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":160333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:51:14] local.INFO: TCP Data received {"connection_id":160333,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:51:14] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:51:14] local.INFO: IMEI packet received {"connection_id":160333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":160333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:51:15] local.INFO: TCP Data received {"connection_id":160333,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7c7e48012d1909c007230c70005900d523..."} 
[2026-08-22 22:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7c7e48012d1909c007230c70005900d523..."} 
[2026-08-22 22:51:15] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7c7e48012d1909c007230c70005900d523..."} 
[2026-08-22 22:51:15] local.INFO: Packet analysis {"connection_id":160333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7c"} 
[2026-08-22 22:51:15] local.INFO: Extracted packet for processing {"connection_id":160333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7c"} 
[2026-08-22 22:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756615616,"raw_latitude":119737456,"longitude_deg":75.6615616,"latitude_deg":11.9737456,"altitude":89,"angle":213,"satellites":35,"speed":30,"hex_longitude":"2d1909c0","hex_latitude":"07230c70","is_valid_coordinates":true} 
[2026-08-22 22:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579311616001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15145446255099904,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809884130903812096,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:15] 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-22 22:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787419197000,"timestamp_ms":1787419197000,"timestamp_seconds":1787419197,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7c7e48"} 
[2026-08-22 22:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:51: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-22 22:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 22:51: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-22 22:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579311616001,"66":13472,"177":206,"83":42752,"24":30,"16":15145446255099904,"45":1809884130903812096},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-08-22 22:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579311616001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:51:15] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-22 22:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-22 22:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15145446255099904,"km_value":15145446255099.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809884130903812096,"description":"Unknown IO ID 45"} 
[2026-08-22 22:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579311616001,"power":13472,"unknown_177":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1809884130903812096}} 
[2026-08-22 22:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":160333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:51:15] local.INFO: GPS data processed {"connection_id":160333,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:51:15] local.INFO: Acknowledgment sent {"connection_id":160333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:51:26] local.INFO: TCP Data received {"connection_id":161290,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:51:26] local.INFO: Processing buffer {"connection_id":161290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a78e468012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:51:26] local.INFO: Packet analysis {"connection_id":161290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:51:26] local.INFO: Extracted packet for processing {"connection_id":161290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a78"} 
[2026-08-22 22:51:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579176960001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787418961000,"timestamp_ms":1787418961000,"timestamp_seconds":1787418961,"priority":1,"record_length":96,"hex_timestamp":"000001a02a78e468"} 
[2026-08-22 22: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-22 22:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:51:26] 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-22 22: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-22 22: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-22 22:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579176960001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579176960001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:51:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:51:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579176960001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":161290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:51:26] local.INFO: GPS data processed {"connection_id":161290,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:51:26] local.INFO: Acknowledgment sent {"connection_id":161290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:51:47] local.INFO: TCP Data received {"connection_id":160111,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:51:47] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:51:47] local.INFO: IMEI packet received {"connection_id":160111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":160111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:51:52] local.INFO: TCP Data received {"connection_id":160112,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:51:52] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:51:52] local.INFO: IMEI packet received {"connection_id":160112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":160112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:51:53] local.INFO: TCP Data received {"connection_id":160111,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:51:53] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:51:53] local.INFO: IMEI packet received {"connection_id":160111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":160111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:51:54] local.INFO: TCP Data received {"connection_id":160112,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:51:54] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:51:54] local.INFO: IMEI packet received {"connection_id":160112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":160112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:51:55] local.INFO: TCP Data received {"connection_id":160111,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:51:55] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:51:55] local.INFO: Packet analysis {"connection_id":160111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:51:55] local.INFO: Extracted packet for processing {"connection_id":160111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579254016001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787419262000,"timestamp_ms":1787419262000,"timestamp_seconds":1787419262,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7d7c30"} 
[2026-08-22 22:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:51: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-22 22:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:51: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-22 22:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579254016001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579254016001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:51:55] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:51:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579254016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":160111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:51:55] local.INFO: GPS data processed {"connection_id":160111,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:51:55] local.INFO: Acknowledgment sent {"connection_id":160111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:51:55] local.INFO: TCP Data received {"connection_id":160112,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7d35e0012d18a2800722c2f0006a00b529..."} 
[2026-08-22 22:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7d35e0012d18a2800722c2f0006a00b529..."} 
[2026-08-22 22:51:55] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7d35e0012d18a2800722c2f0006a00b529..."} 
[2026-08-22 22:51:55] local.INFO: Packet analysis {"connection_id":160112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:51:55] local.INFO: Extracted packet for processing {"connection_id":160112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:51:55] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119718640,"longitude_deg":75.6589184,"latitude_deg":11.971864,"altitude":106,"angle":181,"satellites":41,"speed":35,"hex_longitude":"2d18a280","hex_latitude":"0722c2f0","is_valid_coordinates":true} 
[2026-08-22 22:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579325952001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15147374695415808,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775403446250881024,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787419244000,"timestamp_ms":1787419244000,"timestamp_seconds":1787419244,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7d35e0"} 
[2026-08-22 22:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:51: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-22 22:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249602492843096256,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":35,"raw_value":326511398203302912,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":231,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":191,"raw_value":2147951362,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3484024832,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":34,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":40,"raw_value":57803014207853479,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-2310345315640295417,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":91,"raw_value":-8574626831834015744,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-22 22:51:55] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,105,83,24,241,157,16,208,160,26,45,192,217,104,41,10,66,255,64,239,101,37,207,243,1,240,181,227,42,35,4,113,205,33,231,191,36,52,137,2,53,7,99,34,40,124,91,85],"length":626,"final_offset":756,"validated_count":48,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-08-22 22:51:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7638320644100390912,"timestamp_seconds":7638320644100391.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 22:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579325952001,"66":12580,"105":206,"83":41984,"24":35,"16":15147374695415808,"45":1775403446250881024},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 22:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579325952001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:51:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 22:51:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15147374695415808,"km_value":15147374695415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775403446250881024,"description":"Unknown IO ID 45"} 
[2026-08-22 22:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579325952001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1775403446250881024}} 
[2026-08-22 22:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":160112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:51:55] local.INFO: GPS data processed {"connection_id":160112,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:51:55] local.INFO: Acknowledgment sent {"connection_id":160112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:52:26] local.INFO: TCP Data received {"connection_id":160112,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7d3db0012d18a3400722bc08006a00aa27..."} 
[2026-08-22 22:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7d3db0012d18a3400722bc08006a00aa27..."} 
[2026-08-22 22:52:26] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7d3db0012d18a3400722bc08006a00aa27..."} 
[2026-08-22 22:52:26] local.INFO: Packet analysis {"connection_id":160112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:52:26] local.INFO: Extracted packet for processing {"connection_id":160112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:52:26] local.INFO: GPS Element Parsed {"raw_longitude":756589376,"raw_latitude":119716872,"longitude_deg":75.6589376,"latitude_deg":11.9716872,"altitude":106,"angle":170,"satellites":39,"speed":34,"hex_longitude":"2d18a340","hex_latitude":"0722bc08","is_valid_coordinates":true} 
[2026-08-22 22:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579326464001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15147460594761728,"note":"Value kept but may cause issues"} 
[2026-08-22 22:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775121971273723904,"note":"Value kept but may cause issues"} 
[2026-08-22 22:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787419246000,"timestamp_ms":1787419246000,"timestamp_seconds":1787419246,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7d3db0"} 
[2026-08-22 22:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:52: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-22 22:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-22 22:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579326464001,"66":12548,"105":206,"83":41984,"24":34,"16":15147460594761728,"45":1775121971273723904},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 22:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579326464001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:52:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 22:52:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15147460594761728,"km_value":15147460594761.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775121971273723904,"description":"Unknown IO ID 45"} 
[2026-08-22 22:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579326464001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1775121971273723904}} 
[2026-08-22 22:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":160112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:52:26] local.INFO: GPS data processed {"connection_id":160112,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:52:26] local.INFO: Acknowledgment sent {"connection_id":160112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:52:26] local.INFO: TCP Data received {"connection_id":160111,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:52:26] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:52:26] local.INFO: Packet analysis {"connection_id":160111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:52:26] local.INFO: Extracted packet for processing {"connection_id":160111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:52:26] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579254016001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787419262000,"timestamp_ms":1787419262000,"timestamp_seconds":1787419262,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7d7c30"} 
[2026-08-22 22:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:52: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-22 22:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579254016001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579254016001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:52:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:52:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579254016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":160111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:52:26] local.INFO: GPS data processed {"connection_id":160111,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:52:26] local.INFO: Acknowledgment sent {"connection_id":160111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:52:52] local.INFO: TCP Data received {"connection_id":162702,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:52:52] local.INFO: Processing buffer {"connection_id":162702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:52:52] local.INFO: IMEI packet received {"connection_id":162702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":162702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:52:53] local.INFO: TCP Data received {"connection_id":160334,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:52:53] local.INFO: Processing buffer {"connection_id":160334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:52:53] local.INFO: IMEI packet received {"connection_id":160334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":160334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:52:57] local.INFO: TCP Data received {"connection_id":162702,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:52:57] local.INFO: Processing buffer {"connection_id":162702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:52:57] local.INFO: IMEI packet received {"connection_id":162702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":162702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:52:58] local.INFO: TCP Data received {"connection_id":160334,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:52:58] local.INFO: Processing buffer {"connection_id":160334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:52:58] local.INFO: IMEI packet received {"connection_id":160334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":160334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:52:59] local.INFO: TCP Data received {"connection_id":160334,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:52:59] local.INFO: Processing buffer {"connection_id":160334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:52:59] local.INFO: Packet analysis {"connection_id":160334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:52:59] local.INFO: Extracted packet for processing {"connection_id":160334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579254016001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787419262000,"timestamp_ms":1787419262000,"timestamp_seconds":1787419262,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7d7c30"} 
[2026-08-22 22: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-22 22:52: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-22 22: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-22 22: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-22 22: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-22 22: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-22 22:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579254016001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579254016001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:52:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:52:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579254016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":160334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:52:59] local.INFO: GPS data processed {"connection_id":160334,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:52:59] local.INFO: Acknowledgment sent {"connection_id":160334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:53:00] local.INFO: TCP Data received {"connection_id":162702,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7e6e60012d181e800721a850004700ac28..."} 
[2026-08-22 22:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7e6e60012d181e800721a850004700ac28..."} 
[2026-08-22 22:53:00] local.INFO: Processing buffer {"connection_id":162702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7e6e60012d181e800721a850004700ac28..."} 
[2026-08-22 22:53:00] local.INFO: Packet analysis {"connection_id":162702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7e"} 
[2026-08-22 22:53:00] local.INFO: Extracted packet for processing {"connection_id":162702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7e"} 
[2026-08-22 22:53:00] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646288,"longitude_deg":75.6555392,"latitude_deg":11.9646288,"altitude":71,"angle":172,"satellites":40,"speed":11,"hex_longitude":"2d181e80","hex_latitude":"0721a850","is_valid_coordinates":true} 
[2026-08-22 22:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579346688001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15151369015001088,"note":"Value kept but may cause issues"} 
[2026-08-22 22:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329470976,"note":"Value kept but may cause issues"} 
[2026-08-22 22:53:00] local.INFO: IO Element Parsed {"io_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-22 22:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787419324000,"timestamp_ms":1787419324000,"timestamp_seconds":1787419324,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7e6e60"} 
[2026-08-22 22:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 22:53:00] 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-22 22:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579346688001,"66":13526,"105":206,"83":41984,"24":11,"16":15151369015001088,"45":1737967274329470976},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 22:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579346688001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:53:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 22:53:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15151369015001088,"km_value":15151369015001.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329470976,"description":"Unknown IO ID 45"} 
[2026-08-22 22:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579346688001,"power":13526,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737967274329470976}} 
[2026-08-22 22:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":162702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:53:01] local.INFO: GPS data processed {"connection_id":162702,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:53:01] local.INFO: Acknowledgment sent {"connection_id":162702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:53:03] local.INFO: TCP Data received {"connection_id":160334,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:53:03] local.INFO: Processing buffer {"connection_id":160334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:53:03] local.INFO: Packet analysis {"connection_id":160334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:53:03] local.INFO: Extracted packet for processing {"connection_id":160334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:53:03] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:53: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-22 22:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579254016001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787419262000,"timestamp_ms":1787419262000,"timestamp_seconds":1787419262,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7d7c30"} 
[2026-08-22 22:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:53: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-22 22:53: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:53:03] 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-22 22:53: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-22 22:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579254016001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579254016001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:53:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:53:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579254016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":160334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:53:03] local.INFO: GPS data processed {"connection_id":160334,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:53:03] local.INFO: Acknowledgment sent {"connection_id":160334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:53:32] local.INFO: TCP Data received {"connection_id":162702,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7e7248012d181ec00721a7680046009528..."} 
[2026-08-22 22:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7e7248012d181ec00721a7680046009528..."} 
[2026-08-22 22:53:32] local.INFO: Processing buffer {"connection_id":162702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7e7248012d181ec00721a7680046009528..."} 
[2026-08-22 22:53:32] local.INFO: Packet analysis {"connection_id":162702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7e"} 
[2026-08-22 22:53:32] local.INFO: Extracted packet for processing {"connection_id":162702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7e"} 
[2026-08-22 22:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646056,"longitude_deg":75.6555456,"latitude_deg":11.9646056,"altitude":70,"angle":149,"satellites":40,"speed":10,"hex_longitude":"2d181ec0","hex_latitude":"0721a768","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579346944001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15151381899902976,"note":"Value kept but may cause issues"} 
[2026-08-22 22:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329395200,"note":"Value kept but may cause issues"} 
[2026-08-22 22:53:32] local.INFO: IO Element Parsed {"io_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-22 22:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787419325000,"timestamp_ms":1787419325000,"timestamp_seconds":1787419325,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7e7248"} 
[2026-08-22 22: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-22 22:53:32] 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-22 22: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-22 22:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22: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-22 22: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-22 22:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579346944001,"66":13526,"105":206,"83":41984,"24":10,"16":15151381899902976,"45":1737967274329395200},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-22 22:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579346944001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:53:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-22 22:53:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15151381899902976,"km_value":15151381899902.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329395200,"description":"Unknown IO ID 45"} 
[2026-08-22 22:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579346944001,"power":13526,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737967274329395200}} 
[2026-08-22 22:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":162702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:53:32] local.INFO: GPS data processed {"connection_id":162702,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:53:32] local.INFO: Acknowledgment sent {"connection_id":162702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:53:48] local.INFO: TCP Data received {"connection_id":161291,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:53:48] local.INFO: Processing buffer {"connection_id":161291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:53:48] local.INFO: IMEI packet received {"connection_id":161291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":161291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:53:50] local.INFO: TCP Data received {"connection_id":162703,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:53:50] local.INFO: Processing buffer {"connection_id":162703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:53:50] local.INFO: IMEI packet received {"connection_id":162703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":162703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:53:51] local.INFO: TCP Data received {"connection_id":162703,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:53:51] local.INFO: Processing buffer {"connection_id":162703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:53:51] local.INFO: IMEI packet received {"connection_id":162703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":162703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:53:52] local.INFO: TCP Data received {"connection_id":162703,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:53:52] local.INFO: Processing buffer {"connection_id":162703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:53:52] local.INFO: IMEI packet received {"connection_id":162703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":162703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:53:55] local.INFO: TCP Data received {"connection_id":161291,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:53:55] local.INFO: Processing buffer {"connection_id":161291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:53:55] local.INFO: IMEI packet received {"connection_id":161291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":161291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:53:56] local.INFO: TCP Data received {"connection_id":161291,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:53:56] local.INFO: Processing buffer {"connection_id":161291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:53:56] local.INFO: Packet analysis {"connection_id":161291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:53:56] local.INFO: Extracted packet for processing {"connection_id":161291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579254016001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787419262000,"timestamp_ms":1787419262000,"timestamp_seconds":1787419262,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7d7c30"} 
[2026-08-22 22: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-22 22: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-22 22: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-22 22: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-22 22: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-22 22: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-22 22:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579254016001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579254016001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:53:56] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:53:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579254016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":161291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:53:56] local.INFO: GPS data processed {"connection_id":161291,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:53:56] local.INFO: Acknowledgment sent {"connection_id":161291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:53:57] local.INFO: TCP Data received {"connection_id":162703,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:53:57] local.INFO: Processing buffer {"connection_id":162703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:53:57] local.INFO: IMEI packet received {"connection_id":162703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":162703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:53:57] local.INFO: TCP Data received {"connection_id":162703,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7f7418012d18c4c0072153d8004b007924..."} 
[2026-08-22 22:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7f7418012d18c4c0072153d8004b007924..."} 
[2026-08-22 22:53:57] local.INFO: Processing buffer {"connection_id":162703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7f7418012d18c4c0072153d8004b007924..."} 
[2026-08-22 22:53:57] local.INFO: Packet analysis {"connection_id":162703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7f"} 
[2026-08-22 22:53:57] local.INFO: Extracted packet for processing {"connection_id":162703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7f"} 
[2026-08-22 22:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119624664,"longitude_deg":75.6597952,"latitude_deg":11.9624664,"altitude":75,"angle":121,"satellites":36,"speed":14,"hex_longitude":"2d18c4c0","hex_latitude":"072153d8","is_valid_coordinates":true} 
[2026-08-22 22:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579361280001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15153752721850368,"note":"Value kept but may cause issues"} 
[2026-08-22 22:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252181280768,"note":"Value kept but may cause issues"} 
[2026-08-22 22:53:57] 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-22 22:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787419391000,"timestamp_ms":1787419391000,"timestamp_seconds":1787419391,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7f7418"} 
[2026-08-22 22:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:53:57] 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-22 22:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-22 22:53:57] 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-22 22:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579361280001,"66":13450,"106":206,"83":41984,"24":14,"16":15153752721850368,"45":1778992252181280768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 22:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579361280001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:53:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 22:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15153752721850368,"km_value":15153752721850.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252181280768,"description":"Unknown IO ID 45"} 
[2026-08-22 22:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579361280001,"power":13450,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1778992252181280768}} 
[2026-08-22 22:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":162703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:53:58] local.INFO: GPS data processed {"connection_id":162703,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:53:58] local.INFO: Acknowledgment sent {"connection_id":162703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:54:28] local.INFO: TCP Data received {"connection_id":161291,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:54:28] local.INFO: Processing buffer {"connection_id":161291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:54:28] local.INFO: Packet analysis {"connection_id":161291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:54:28] local.INFO: Extracted packet for processing {"connection_id":161291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:54:28] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579254016001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787419262000,"timestamp_ms":1787419262000,"timestamp_seconds":1787419262,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7d7c30"} 
[2026-08-22 22:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:54: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-22 22:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579254016001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579254016001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:54:28] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:54:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579254016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":161291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:54:28] local.INFO: GPS data processed {"connection_id":161291,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:54:28] local.INFO: Acknowledgment sent {"connection_id":161291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:54:29] local.INFO: TCP Data received {"connection_id":162703,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7f7418012d18c4c0072153d8004b007924..."} 
[2026-08-22 22:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7f7418012d18c4c0072153d8004b007924..."} 
[2026-08-22 22:54:29] local.INFO: Processing buffer {"connection_id":162703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7f7418012d18c4c0072153d8004b007924..."} 
[2026-08-22 22:54:29] local.INFO: Packet analysis {"connection_id":162703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7f"} 
[2026-08-22 22:54:29] local.INFO: Extracted packet for processing {"connection_id":162703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7f"} 
[2026-08-22 22:54:29] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119624664,"longitude_deg":75.6597952,"latitude_deg":11.9624664,"altitude":75,"angle":121,"satellites":36,"speed":14,"hex_longitude":"2d18c4c0","hex_latitude":"072153d8","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579364096001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15153752721850368,"note":"Value kept but may cause issues"} 
[2026-08-22 22:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489202006016,"note":"Value kept but may cause issues"} 
[2026-08-22 22:54:29] 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-22 22:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787419391000,"timestamp_ms":1787419391000,"timestamp_seconds":1787419391,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7f7418"} 
[2026-08-22 22: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-22 22:54: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-22 22: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-22 22:54:29] 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-22 22: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-22 22: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-22 22:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579364096001,"66":13450,"106":206,"83":41984,"24":14,"16":15153752721850368,"45":1784762489202006016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 22:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579364096001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:54:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 22:54:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15153752721850368,"km_value":15153752721850.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489202006016,"description":"Unknown IO ID 45"} 
[2026-08-22 22:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579364096001,"power":13450,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1784762489202006016}} 
[2026-08-22 22:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":162703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:54:29] local.INFO: GPS data processed {"connection_id":162703,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:54:29] local.INFO: Acknowledgment sent {"connection_id":162703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:54:48] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:54:48] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:54:48] local.INFO: IMEI packet received {"connection_id":160335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":160335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:54:50] local.INFO: TCP Data received {"connection_id":162704,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:54:50] local.INFO: Processing buffer {"connection_id":162704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:54:50] local.INFO: IMEI packet received {"connection_id":162704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":162704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:54:51] local.INFO: TCP Data received {"connection_id":162704,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:54:51] local.INFO: Processing buffer {"connection_id":162704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:54:51] local.INFO: IMEI packet received {"connection_id":162704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":162704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:54:52] local.INFO: TCP Data received {"connection_id":162704,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:54:52] local.INFO: Processing buffer {"connection_id":162704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:54:52] local.INFO: IMEI packet received {"connection_id":162704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":162704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:54:53] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:54:53] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:54:53] local.INFO: IMEI packet received {"connection_id":160335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":160335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:54:54] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:54:54] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:54:54] local.INFO: Packet analysis {"connection_id":160335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:54:54] local.INFO: Extracted packet for processing {"connection_id":160335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579254016001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787419262000,"timestamp_ms":1787419262000,"timestamp_seconds":1787419262,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7d7c30"} 
[2026-08-22 22:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579254016001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579254016001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:54:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:54:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579254016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":160335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:54:54] local.INFO: GPS data processed {"connection_id":160335,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:54:54] local.INFO: Acknowledgment sent {"connection_id":160335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:54:57] local.INFO: TCP Data received {"connection_id":162704,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:54:57] local.INFO: Processing buffer {"connection_id":162704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:54:57] local.INFO: IMEI packet received {"connection_id":162704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":162704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:54:57] local.INFO: TCP Data received {"connection_id":162704,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8023e0012d18f18007214c50004f006423..."} 
[2026-08-22 22:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8023e0012d18f18007214c50004f006423..."} 
[2026-08-22 22:54:57] local.INFO: Processing buffer {"connection_id":162704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8023e0012d18f18007214c50004f006423..."} 
[2026-08-22 22:54:57] local.INFO: Packet analysis {"connection_id":162704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a80"} 
[2026-08-22 22:54:57] local.INFO: Extracted packet for processing {"connection_id":162704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a80"} 
[2026-08-22 22:54:57] local.INFO: GPS Element Parsed {"raw_longitude":756609408,"raw_latitude":119622736,"longitude_deg":75.6609408,"latitude_deg":11.9622736,"altitude":79,"angle":100,"satellites":35,"speed":11,"hex_longitude":"2d18f180","hex_latitude":"07214c50","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579372288001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15154341132369920,"note":"Value kept but may cause issues"} 
[2026-08-22 22:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793066001014503424,"note":"Value kept but may cause issues"} 
[2026-08-22 22:54:57] 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-22 22:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787419436000,"timestamp_ms":1787419436000,"timestamp_seconds":1787419436,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8023e0"} 
[2026-08-22 22: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-22 22:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 22:54:57] 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-22 22: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-22 22: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-22 22:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579372288001,"66":12722,"106":206,"83":41984,"24":11,"16":15154341132369920,"45":1793066001014503424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 22:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579372288001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:54:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 22:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15154341132369920,"km_value":15154341132369.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793066001014503424,"description":"Unknown IO ID 45"} 
[2026-08-22 22:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579372288001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1793066001014503424}} 
[2026-08-22 22:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":162704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:54:58] local.INFO: GPS data processed {"connection_id":162704,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:54:58] local.INFO: Acknowledgment sent {"connection_id":162704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:55:25] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:55:25] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:55:25] local.INFO: Packet analysis {"connection_id":160335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:55:25] local.INFO: Extracted packet for processing {"connection_id":160335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:55:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579254016001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787419262000,"timestamp_ms":1787419262000,"timestamp_seconds":1787419262,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7d7c30"} 
[2026-08-22 22: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-22 22:55: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-22 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:55:25] 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-22 22: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-22 22: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-22 22:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579254016001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579254016001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:55:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:55:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579254016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":160335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:55:25] local.INFO: GPS data processed {"connection_id":160335,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:55:25] local.INFO: Acknowledgment sent {"connection_id":160335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:55:29] local.INFO: TCP Data received {"connection_id":162704,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a805e78012d18ff0007214ac0004d007627..."} 
[2026-08-22 22:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a805e78012d18ff0007214ac0004d007627..."} 
[2026-08-22 22:55:29] local.INFO: Processing buffer {"connection_id":162704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a805e78012d18ff0007214ac0004d007627..."} 
[2026-08-22 22:55:29] local.INFO: Packet analysis {"connection_id":162704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a80"} 
[2026-08-22 22:55:29] local.INFO: Extracted packet for processing {"connection_id":162704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a80"} 
[2026-08-22 22:55:29] local.INFO: GPS Element Parsed {"raw_longitude":756612864,"raw_latitude":119622336,"longitude_deg":75.6612864,"latitude_deg":11.9622336,"altitude":77,"angle":118,"satellites":39,"speed":9,"hex_longitude":"2d18ff00","hex_latitude":"07214ac0","is_valid_coordinates":true} 
[2026-08-22 22:55: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-22 22:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579375616001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15154504341127168,"note":"Value kept but may cause issues"} 
[2026-08-22 22:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797358494409314304,"note":"Value kept but may cause issues"} 
[2026-08-22 22:55:29] 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-22 22:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787419451000,"timestamp_ms":1787419451000,"timestamp_seconds":1787419451,"priority":1,"record_length":96,"hex_timestamp":"000001a02a805e78"} 
[2026-08-22 22: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-22 22:55: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-22 22: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-22 22:55:29] 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-22 22: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-22 22: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-22 22:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579375616001,"66":12776,"106":206,"83":41984,"24":9,"16":15154504341127168,"45":1797358494409314304},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 22:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579375616001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:55:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 22:55:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15154504341127168,"km_value":15154504341127.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797358494409314304,"description":"Unknown IO ID 45"} 
[2026-08-22 22:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579375616001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1797358494409314304}} 
[2026-08-22 22:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":162704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:55:29] local.INFO: GPS data processed {"connection_id":162704,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:55:29] local.INFO: Acknowledgment sent {"connection_id":162704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:55:47] local.INFO: TCP Data received {"connection_id":160336,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:55:47] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:55:47] local.INFO: IMEI packet received {"connection_id":160336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":160336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:55:51] local.INFO: TCP Data received {"connection_id":160113,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:55:51] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:55:51] local.INFO: IMEI packet received {"connection_id":160113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":160113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:55:53] local.INFO: TCP Data received {"connection_id":160336,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:55:53] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:55:53] local.INFO: IMEI packet received {"connection_id":160336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":160336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:55:54] local.INFO: TCP Data received {"connection_id":160336,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:55:54] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:55:54] local.INFO: Packet analysis {"connection_id":160336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:55:54] local.INFO: Extracted packet for processing {"connection_id":160336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:55:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579254016001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787419262000,"timestamp_ms":1787419262000,"timestamp_seconds":1787419262,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7d7c30"} 
[2026-08-22 22:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 22:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579254016001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579254016001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:55:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:55:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579254016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":160336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:55:54] local.INFO: GPS data processed {"connection_id":160336,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:55:54] local.INFO: Acknowledgment sent {"connection_id":160336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:55:57] local.INFO: TCP Data received {"connection_id":160113,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:55:57] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:55:57] local.INFO: IMEI packet received {"connection_id":160113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":160113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:55:57] local.INFO: TCP Data received {"connection_id":160113,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a80eb18012d19120007213e900041014124..."} 
[2026-08-22 22:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a80eb18012d19120007213e900041014124..."} 
[2026-08-22 22:55:57] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a80eb18012d19120007213e900041014124..."} 
[2026-08-22 22:55:57] local.INFO: Packet analysis {"connection_id":160113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a80"} 
[2026-08-22 22:55:57] local.INFO: Extracted packet for processing {"connection_id":160113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a80"} 
[2026-08-22 22:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756617728,"raw_latitude":119619216,"longitude_deg":75.6617728,"latitude_deg":11.9619216,"altitude":65,"angle":321,"satellites":36,"speed":2,"hex_longitude":"2d191200","hex_latitude":"07213e90","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579388416001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15154860823412736,"note":"Value kept but may cause issues"} 
[2026-08-22 22:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806576799895670784,"note":"Value kept but may cause issues"} 
[2026-08-22 22:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787419487000,"timestamp_ms":1787419487000,"timestamp_seconds":1787419487,"priority":1,"record_length":96,"hex_timestamp":"000001a02a80eb18"} 
[2026-08-22 22: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-22 22:55:57] 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-22 22: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-22 22:55:57] 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-22 22: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-22 22: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-22 22:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579388416001,"66":13961,"103":206,"83":41984,"24":2,"16":15154860823412736,"45":1806576799895670784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 22:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579388416001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:55:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 22:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15154860823412736,"km_value":15154860823412.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806576799895670784,"description":"Unknown IO ID 45"} 
[2026-08-22 22:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579388416001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1806576799895670784}} 
[2026-08-22 22:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":160113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:55:57] local.INFO: GPS data processed {"connection_id":160113,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:55:57] local.INFO: Acknowledgment sent {"connection_id":160113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:56:25] local.INFO: TCP Data received {"connection_id":160336,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:56:25] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a7d7c30012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 22:56:25] local.INFO: Packet analysis {"connection_id":160336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:56:25] local.INFO: Extracted packet for processing {"connection_id":160336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a7d"} 
[2026-08-22 22:56:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579254016001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787419262000,"timestamp_ms":1787419262000,"timestamp_seconds":1787419262,"priority":1,"record_length":96,"hex_timestamp":"000001a02a7d7c30"} 
[2026-08-22 22: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-22 22:56: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-22 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:56:25] 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-22 22: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-22 22: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-22 22:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579254016001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579254016001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:56:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:56:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579254016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":160336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:56:25] local.INFO: GPS data processed {"connection_id":160336,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:56:25] local.INFO: Acknowledgment sent {"connection_id":160336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:56:28] local.INFO: TCP Data received {"connection_id":160113,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a80fab8012d19120007213f180040015423..."} 
[2026-08-22 22:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a80fab8012d19120007213f180040015423..."} 
[2026-08-22 22:56:28] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a80fab8012d19120007213f180040015423..."} 
[2026-08-22 22:56:28] local.INFO: Packet analysis {"connection_id":160113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a80"} 
[2026-08-22 22:56:28] local.INFO: Extracted packet for processing {"connection_id":160113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a80"} 
[2026-08-22 22:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756617728,"raw_latitude":119619352,"longitude_deg":75.6617728,"latitude_deg":11.9619352,"altitude":64,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2d191200","hex_latitude":"07213f18","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579388672001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15154873708314624,"note":"Value kept but may cause issues"} 
[2026-08-22 22:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806506431151509504,"note":"Value kept but may cause issues"} 
[2026-08-22 22:56:28] 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-22 22:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787419491000,"timestamp_ms":1787419491000,"timestamp_seconds":1787419491,"priority":1,"record_length":96,"hex_timestamp":"000001a02a80fab8"} 
[2026-08-22 22: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-22 22:56: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-22 22: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-22 22:56:28] 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-22 22: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-22 22: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-22 22:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579388672001,"66":13961,"103":206,"83":41984,"24":0,"16":15154873708314624,"45":1806506431151509504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 22:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579388672001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:56:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 22:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15154873708314624,"km_value":15154873708314.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806506431151509504,"description":"Unknown IO ID 45"} 
[2026-08-22 22:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579388672001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1806506431151509504}} 
[2026-08-22 22:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":160113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:56:28] local.INFO: GPS data processed {"connection_id":160113,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:56:28] local.INFO: Acknowledgment sent {"connection_id":160113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:56:48] local.INFO: TCP Data received {"connection_id":160114,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:56:48] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:56:48] local.INFO: IMEI packet received {"connection_id":160114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":160114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:56:51] local.INFO: TCP Data received {"connection_id":161292,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:56:51] local.INFO: Processing buffer {"connection_id":161292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:56:51] local.INFO: IMEI packet received {"connection_id":161292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":161292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:56:53] local.INFO: TCP Data received {"connection_id":160114,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:56:53] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:56:53] local.INFO: IMEI packet received {"connection_id":160114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":160114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:56:54] local.INFO: TCP Data received {"connection_id":160114,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:56:54] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:56:54] local.INFO: Packet analysis {"connection_id":160114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:56:54] local.INFO: Extracted packet for processing {"connection_id":160114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:56:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579331072001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787419563000,"timestamp_ms":1787419563000,"timestamp_seconds":1787419563,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8213f8"} 
[2026-08-22 22:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579331072001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579331072001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:56:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:56:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579331072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":160114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:56:54] local.INFO: GPS data processed {"connection_id":160114,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:56:54] local.INFO: Acknowledgment sent {"connection_id":160114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:56:55] local.INFO: TCP Data received {"connection_id":161292,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:56:55] local.INFO: Processing buffer {"connection_id":161292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:56:55] local.INFO: IMEI packet received {"connection_id":161292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":161292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:56:56] local.INFO: TCP Data received {"connection_id":161292,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:56:56] local.INFO: Processing buffer {"connection_id":161292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:56:56] local.INFO: IMEI packet received {"connection_id":161292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":161292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:56:56] local.INFO: TCP Data received {"connection_id":161292,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:56:56] local.INFO: Processing buffer {"connection_id":161292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:56:56] local.INFO: IMEI packet received {"connection_id":161292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":161292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:56:57] local.INFO: TCP Data received {"connection_id":161292,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8213f8012d19104007213c60003b010528..."} 
[2026-08-22 22:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8213f8012d19104007213c60003b010528..."} 
[2026-08-22 22:56:57] local.INFO: Processing buffer {"connection_id":161292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8213f8012d19104007213c60003b010528..."} 
[2026-08-22 22:56:57] local.INFO: Packet analysis {"connection_id":161292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:56:57] local.INFO: Extracted packet for processing {"connection_id":161292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756617280,"raw_latitude":119618656,"longitude_deg":75.661728,"latitude_deg":11.9618656,"altitude":59,"angle":261,"satellites":40,"speed":9,"hex_longitude":"2d191040","hex_latitude":"07213c60","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579407872001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15154942427791360,"note":"Value kept but may cause issues"} 
[2026-08-22 22:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806295324918837248,"note":"Value kept but may cause issues"} 
[2026-08-22 22:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787419563000,"timestamp_ms":1787419563000,"timestamp_seconds":1787419563,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8213f8"} 
[2026-08-22 22: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-22 22:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 22:56:57] 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-22 22: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-22 22: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-22 22:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579407872001,"66":13493,"103":206,"83":41984,"24":9,"16":15154942427791360,"45":1806295324918837248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 22:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579407872001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:56:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 22:56:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15154942427791360,"km_value":15154942427791.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806295324918837248,"description":"Unknown IO ID 45"} 
[2026-08-22 22:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579407872001,"power":13493,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1806295324918837248}} 
[2026-08-22 22:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":161292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:56:57] local.INFO: GPS data processed {"connection_id":161292,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:56:57] local.INFO: Acknowledgment sent {"connection_id":161292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:57:00] local.INFO: TCP Data received {"connection_id":161292,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a822f50012d19088007213c10003a011724..."} 
[2026-08-22 22:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a822f50012d19088007213c10003a011724..."} 
[2026-08-22 22:57:00] local.INFO: Processing buffer {"connection_id":161292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a822f50012d19088007213c10003a011724..."} 
[2026-08-22 22:57:00] local.INFO: Packet analysis {"connection_id":161292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:57:00] local.INFO: Extracted packet for processing {"connection_id":161292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:57:00] local.INFO: GPS Element Parsed {"raw_longitude":756615296,"raw_latitude":119618576,"longitude_deg":75.6615296,"latitude_deg":11.9618576,"altitude":58,"angle":279,"satellites":36,"speed":14,"hex_longitude":"2d190880","hex_latitude":"07213c10","is_valid_coordinates":true} 
[2026-08-22 22:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579408128001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15155036917071872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806013849942122496,"note":"Value kept but may cause issues"} 
[2026-08-22 22:57:00] 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-22 22:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787419570000,"timestamp_ms":1787419570000,"timestamp_seconds":1787419570,"priority":1,"record_length":96,"hex_timestamp":"000001a02a822f50"} 
[2026-08-22 22:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 22:57:00] 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-22 22:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579408128001,"66":13493,"103":206,"83":41984,"24":14,"16":15155036917071872,"45":1806013849942122496},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 22:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579408128001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:57:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 22:57:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15155036917071872,"km_value":15155036917071.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806013849942122496,"description":"Unknown IO ID 45"} 
[2026-08-22 22:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579408128001,"power":13493,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1806013849942122496}} 
[2026-08-22 22:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":161292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:57:00] local.INFO: GPS data processed {"connection_id":161292,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:57:00] local.INFO: Acknowledgment sent {"connection_id":161292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:57:25] local.INFO: TCP Data received {"connection_id":160114,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:57:25] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:57:25] local.INFO: Packet analysis {"connection_id":160114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:57:25] local.INFO: Extracted packet for processing {"connection_id":160114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:57:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579331072001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787419563000,"timestamp_ms":1787419563000,"timestamp_seconds":1787419563,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8213f8"} 
[2026-08-22 22: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-22 22:57: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-22 22: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:57:25] 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-22 22: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-22 22: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-22 22:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579331072001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579331072001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:57:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:57:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579331072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":160114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:57:25] local.INFO: GPS data processed {"connection_id":160114,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:57:25] local.INFO: Acknowledgment sent {"connection_id":160114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:57:31] local.INFO: TCP Data received {"connection_id":161292,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a823720012d19060007213d280039012d24..."} 
[2026-08-22 22:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a823720012d19060007213d280039012d24..."} 
[2026-08-22 22:57:31] local.INFO: Processing buffer {"connection_id":161292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a823720012d19060007213d280039012d24..."} 
[2026-08-22 22:57:31] local.INFO: Packet analysis {"connection_id":161292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:57:31] local.INFO: Extracted packet for processing {"connection_id":161292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:57:31] local.INFO: GPS Element Parsed {"raw_longitude":756614656,"raw_latitude":119618856,"longitude_deg":75.6614656,"latitude_deg":11.9618856,"altitude":57,"angle":301,"satellites":36,"speed":13,"hex_longitude":"2d190600","hex_latitude":"07213d28","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579409920001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15155066981842944,"note":"Value kept but may cause issues"} 
[2026-08-22 22:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803832418872594432,"note":"Value kept but may cause issues"} 
[2026-08-22 22:57:31] 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-22 22:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787419572000,"timestamp_ms":1787419572000,"timestamp_seconds":1787419572,"priority":1,"record_length":96,"hex_timestamp":"000001a02a823720"} 
[2026-08-22 22: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-22 22:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-22 22:57:31] 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-22 22: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-22 22: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-22 22:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579409920001,"66":13102,"103":206,"83":41984,"24":13,"16":15155066981842944,"45":1803832418872594432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 22:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579409920001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:57:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 22:57:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15155066981842944,"km_value":15155066981842.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803832418872594432,"description":"Unknown IO ID 45"} 
[2026-08-22 22:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579409920001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1803832418872594432}} 
[2026-08-22 22:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":161292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:57:31] local.INFO: GPS data processed {"connection_id":161292,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:57:31] local.INFO: Acknowledgment sent {"connection_id":161292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:57:53] local.INFO: TCP Data received {"connection_id":160337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:57:53] local.INFO: Processing buffer {"connection_id":160337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:57:53] local.INFO: IMEI packet received {"connection_id":160337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":160337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:57:57] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:57:57] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:57:57] local.INFO: IMEI packet received {"connection_id":160115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":160115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:57:57] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:57:57] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:57:57] local.INFO: IMEI packet received {"connection_id":160115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":160115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:57:58] local.INFO: TCP Data received {"connection_id":160337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:57:58] local.INFO: Processing buffer {"connection_id":160337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:57:58] local.INFO: IMEI packet received {"connection_id":160337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":160337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:57:59] local.INFO: TCP Data received {"connection_id":160337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:57:59] local.INFO: Processing buffer {"connection_id":160337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:57:59] local.INFO: Packet analysis {"connection_id":160337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:57:59] local.INFO: Extracted packet for processing {"connection_id":160337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579331072001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787419563000,"timestamp_ms":1787419563000,"timestamp_seconds":1787419563,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8213f8"} 
[2026-08-22 22: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-22 22:57: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-22 22: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:57: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-22 22: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-22 22: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-22 22:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579331072001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579331072001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:57:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:57:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579331072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":160337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:57:59] local.INFO: GPS data processed {"connection_id":160337,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:57:59] local.INFO: Acknowledgment sent {"connection_id":160337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:58:02] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:58:02] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:58:02] local.INFO: IMEI packet received {"connection_id":160115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":160115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:58:03] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.109.136.6","data_length":1348,"data_hex":"000000000000030f8e0a000001a02a82db30012d18d98007215260003f011229..."} 
[2026-08-22 22:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a02a82db30012d18d98007215260003f011229..."} 
[2026-08-22 22:58:03] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a02a82db30012d18d98007215260003f011229..."} 
[2026-08-22 22:58:03] local.INFO: Packet analysis {"connection_id":160115,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:58:03] local.INFO: Extracted packet for processing {"connection_id":160115,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756603264,"raw_latitude":119624288,"longitude_deg":75.6603264,"latitude_deg":11.9624288,"altitude":63,"angle":274,"satellites":41,"speed":14,"hex_longitude":"2d18d980","hex_latitude":"07215260","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579420416001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15155741291708416,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791306782410328064,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:03] 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-22 22:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787419614000,"timestamp_ms":1787419614000,"timestamp_seconds":1787419614,"priority":1,"record_length":96,"hex_timestamp":"000001a02a82db30"} 
[2026-08-22 22: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-22 22:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-22 22:58:03] 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-22 22: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-22 22: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-22 22:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579420416001,"66":13504,"106":206,"83":41984,"24":14,"16":15155741291708416,"45":1791306782410328064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 22:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579420416001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:58:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 22:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15155741291708416,"km_value":15155741291708.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791306782410328064,"description":"Unknown IO ID 45"} 
[2026-08-22 22:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579420416001,"power":13504,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1791306782410328064}} 
[2026-08-22 22:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":160115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:58:03] local.INFO: GPS data processed {"connection_id":160115,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:58:03] local.INFO: Acknowledgment sent {"connection_id":160115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:58:03] local.INFO: Packet analysis {"connection_id":160115,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 22:58:03] local.INFO: Incomplete packet, waiting for more data {"connection_id":160115,"needed":795,"available":553} 
[2026-08-22 22:58:03] local.INFO: TCP Data received {"connection_id":160337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:58:03] local.INFO: Processing buffer {"connection_id":160337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:58:03] local.INFO: Packet analysis {"connection_id":160337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:58:03] local.INFO: Extracted packet for processing {"connection_id":160337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:58:03] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579331072001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787419563000,"timestamp_ms":1787419563000,"timestamp_seconds":1787419563,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8213f8"} 
[2026-08-22 22: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-22 22:58: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-22 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:58:03] 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-22 22: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-22 22: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-22 22:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579331072001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579331072001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:58:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:58:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579331072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":160337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:58:03] local.INFO: GPS data processed {"connection_id":160337,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:58:03] local.INFO: Acknowledgment sent {"connection_id":160337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:58:04] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.109.136.6","data_length":242,"data_hex":"000000000001a02a826218012d18fd8007214ad0003801392800090000000a00..."} 
[2026-08-22 22:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":242,"packet_hex":"000000000001a02a826218012d18fd8007214ad0003801392800090000000a00..."} 
[2026-08-22 22:58:04] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a830a10012d18c54007215370004101012a..."} 
[2026-08-22 22:58:04] local.INFO: Packet analysis {"connection_id":160115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 22:58:04] local.INFO: Extracted packet for processing {"connection_id":160115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 22:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119624560,"longitude_deg":75.659808,"latitude_deg":11.962456,"altitude":65,"angle":257,"satellites":42,"speed":10,"hex_longitude":"2d18c540","hex_latitude":"07215370","is_valid_coordinates":true} 
[2026-08-22 22:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579421184001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15155986104844288,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790603094968655872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:04] 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-22 22:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787419626000,"timestamp_ms":1787419626000,"timestamp_seconds":1787419626,"priority":1,"record_length":96,"hex_timestamp":"000001a02a830a10"} 
[2026-08-22 22:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-22 22:58:04] 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-22 22:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579421184001,"66":13472,"106":206,"83":41984,"24":10,"16":15155986104844288,"45":1790603094968655872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 22:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579421184001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:58:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 22:58:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15155986104844288,"km_value":15155986104844.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790603094968655872,"description":"Unknown IO ID 45"} 
[2026-08-22 22:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579421184001,"power":13472,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1790603094968655872}} 
[2026-08-22 22:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":160115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:58:04] local.INFO: GPS data processed {"connection_id":160115,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:58:04] local.INFO: Acknowledgment sent {"connection_id":160115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:58:05] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a830df8012d18c48007215308004100e829..."} 
[2026-08-22 22:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a830df8012d18c48007215308004100e829..."} 
[2026-08-22 22:58:05] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a830df8012d18c48007215308004100e829..."} 
[2026-08-22 22:58:05] local.INFO: Packet analysis {"connection_id":160115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 22:58:05] local.INFO: Extracted packet for processing {"connection_id":160115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 22:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119624456,"longitude_deg":75.6597888,"latitude_deg":11.9624456,"altitude":65,"angle":232,"satellites":41,"speed":9,"hex_longitude":"2d18c480","hex_latitude":"07215308","is_valid_coordinates":true} 
[2026-08-22 22:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579424256001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15155994694778880,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226690334720,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:05] 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-22 22:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787419627000,"timestamp_ms":1787419627000,"timestamp_seconds":1787419627,"priority":1,"record_length":96,"hex_timestamp":"000001a02a830df8"} 
[2026-08-22 22:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 22:58:05] 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-22 22:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579424256001,"66":13472,"106":206,"83":41984,"24":9,"16":15155994694778880,"45":1784903226690334720},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-22 22:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579424256001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:58:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-22 22:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15155994694778880,"km_value":15155994694778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226690334720,"description":"Unknown IO ID 45"} 
[2026-08-22 22:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579424256001,"power":13472,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1784903226690334720}} 
[2026-08-22 22:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":160115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:58:05] local.INFO: GPS data processed {"connection_id":160115,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:58:05] local.INFO: Acknowledgment sent {"connection_id":160115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:58:09] local.INFO: TCP Data received {"connection_id":160337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:58:09] local.INFO: Processing buffer {"connection_id":160337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:58:09] local.INFO: Packet analysis {"connection_id":160337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:58:09] local.INFO: Extracted packet for processing {"connection_id":160337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:58:09] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579331072001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787419563000,"timestamp_ms":1787419563000,"timestamp_seconds":1787419563,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8213f8"} 
[2026-08-22 22: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-22 22: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-22 22: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":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:58: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-22 22: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-22 22: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-22 22:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579331072001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579331072001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:58:09] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:58:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579331072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":160337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:58:09] local.INFO: GPS data processed {"connection_id":160337,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:58:09] local.INFO: Acknowledgment sent {"connection_id":160337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:58:35] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a839e80012d18f6400720d7f8003a008625..."} 
[2026-08-22 22:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a839e80012d18f6400720d7f8003a008625..."} 
[2026-08-22 22:58:35] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a839e80012d18f6400720d7f8003a008625..."} 
[2026-08-22 22:58:35] local.INFO: Packet analysis {"connection_id":160115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 22:58:35] local.INFO: Extracted packet for processing {"connection_id":160115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 22:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756610624,"raw_latitude":119592952,"longitude_deg":75.6610624,"latitude_deg":11.9592952,"altitude":58,"angle":134,"satellites":37,"speed":45,"hex_longitude":"2d18f640","hex_latitude":"0720d7f8","is_valid_coordinates":true} 
[2026-08-22 22:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579432448001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15157699796795392,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794543744636006400,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:35] 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-22 22:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787419664000,"timestamp_ms":1787419664000,"timestamp_seconds":1787419664,"priority":1,"record_length":96,"hex_timestamp":"000001a02a839e80"} 
[2026-08-22 22:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:58: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-22 22:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-22 22:58:35] 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-22 22:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579432448001,"66":13504,"103":206,"83":41984,"24":45,"16":15157699796795392,"45":1794543744636006400},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 22:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579432448001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:58:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 22:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15157699796795392,"km_value":15157699796795.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794543744636006400,"description":"Unknown IO ID 45"} 
[2026-08-22 22:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579432448001,"power":13504,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1794543744636006400}} 
[2026-08-22 22:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":160115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:58:36] local.INFO: GPS data processed {"connection_id":160115,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:58:36] local.INFO: Acknowledgment sent {"connection_id":160115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:58:48] local.INFO: TCP Data received {"connection_id":160338,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:58:48] local.INFO: Processing buffer {"connection_id":160338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:58:48] local.INFO: IMEI packet received {"connection_id":160338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":160338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:58:48] local.INFO: TCP Data received {"connection_id":162705,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:58:48] local.INFO: Processing buffer {"connection_id":162705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:58:48] local.INFO: IMEI packet received {"connection_id":162705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":162705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:58:51] local.INFO: TCP Data received {"connection_id":162705,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:58:51] local.INFO: Processing buffer {"connection_id":162705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:58:51] local.INFO: IMEI packet received {"connection_id":162705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":162705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:58:52] local.INFO: TCP Data received {"connection_id":162705,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:58:52] local.INFO: Processing buffer {"connection_id":162705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:58:52] local.INFO: IMEI packet received {"connection_id":162705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":162705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:58:53] local.INFO: TCP Data received {"connection_id":160338,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:58:53] local.INFO: Processing buffer {"connection_id":160338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:58:53] local.INFO: IMEI packet received {"connection_id":160338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":160338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:58:54] local.INFO: TCP Data received {"connection_id":160338,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:58:54] local.INFO: Processing buffer {"connection_id":160338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:58:54] local.INFO: Packet analysis {"connection_id":160338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:58:54] local.INFO: Extracted packet for processing {"connection_id":160338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:58:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579331072001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787419563000,"timestamp_ms":1787419563000,"timestamp_seconds":1787419563,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8213f8"} 
[2026-08-22 22:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579331072001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579331072001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:58:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:58:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579331072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":160338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:58:54] local.INFO: GPS data processed {"connection_id":160338,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:58:54] local.INFO: Acknowledgment sent {"connection_id":160338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:58:57] local.INFO: TCP Data received {"connection_id":162705,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:58:57] local.INFO: Processing buffer {"connection_id":162705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:58:57] local.INFO: IMEI packet received {"connection_id":162705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":162705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:58:57] local.INFO: TCP Data received {"connection_id":162705,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a83b208012d1908800720cb080039007927..."} 
[2026-08-22 22:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a83b208012d1908800720cb080039007927..."} 
[2026-08-22 22:58:57] local.INFO: Processing buffer {"connection_id":162705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a83b208012d1908800720cb080039007927..."} 
[2026-08-22 22:58:57] local.INFO: Packet analysis {"connection_id":162705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 22:58:57] local.INFO: Extracted packet for processing {"connection_id":162705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 22:58:57] local.INFO: GPS Element Parsed {"raw_longitude":756615296,"raw_latitude":119589640,"longitude_deg":75.6615296,"latitude_deg":11.958964,"altitude":57,"angle":121,"satellites":39,"speed":47,"hex_longitude":"2d190880","hex_latitude":"0720cb08","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579433984001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15157974674702336,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798695500541065216,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787419669000,"timestamp_ms":1787419669000,"timestamp_seconds":1787419669,"priority":1,"record_length":96,"hex_timestamp":"000001a02a83b208"} 
[2026-08-22 22: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-22 22:58:57] 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-22 22: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-22 22:58:57] 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-22 22: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-22 22: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-22 22:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579433984001,"66":12841,"103":206,"83":41984,"24":47,"16":15157974674702336,"45":1798695500541065216},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 22:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579433984001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:58:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 22:58:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15157974674702336,"km_value":15157974674702.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798695500541065216,"description":"Unknown IO ID 45"} 
[2026-08-22 22:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579433984001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1798695500541065216}} 
[2026-08-22 22:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":162705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:58:58] local.INFO: GPS data processed {"connection_id":162705,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:58:58] local.INFO: Acknowledgment sent {"connection_id":162705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:58:58] local.INFO: TCP Data received {"connection_id":162705,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a83cd60012d192ac00720bbd00035006f28..."} 
[2026-08-22 22:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a83cd60012d192ac00720bbd00035006f28..."} 
[2026-08-22 22:58:58] local.INFO: Processing buffer {"connection_id":162705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a83cd60012d192ac00720bbd00035006f28..."} 
[2026-08-22 22:58:58] local.INFO: Packet analysis {"connection_id":162705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 22:58:58] local.INFO: Extracted packet for processing {"connection_id":162705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 22:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756624064,"raw_latitude":119585744,"longitude_deg":75.6624064,"latitude_deg":11.9585744,"altitude":53,"angle":111,"satellites":40,"speed":57,"hex_longitude":"2d192ac0","hex_latitude":"0720bbd0","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579435264001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15158434236203008,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803832418865186816,"note":"Value kept but may cause issues"} 
[2026-08-22 22:58: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-22 22:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787419676000,"timestamp_ms":1787419676000,"timestamp_seconds":1787419676,"priority":1,"record_length":96,"hex_timestamp":"000001a02a83cd60"} 
[2026-08-22 22: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-22 22:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 22: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 22:58:58] 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-22 22: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-22 22: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-22 22:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579435264001,"66":13526,"103":206,"83":41984,"24":57,"16":15158434236203008,"45":1803832418865186816},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 22:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579435264001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:58:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 22:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15158434236203008,"km_value":15158434236203.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803832418865186816,"description":"Unknown IO ID 45"} 
[2026-08-22 22:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579435264001,"power":13526,"unknown_103":206,"unknown_83":41984,"ignition":57,"odometer":null,"unknown_45":1803832418865186816}} 
[2026-08-22 22:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":162705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:58:58] local.INFO: GPS data processed {"connection_id":162705,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:58:58] local.INFO: Acknowledgment sent {"connection_id":162705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:59:25] local.INFO: TCP Data received {"connection_id":160338,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:59:25] local.INFO: Processing buffer {"connection_id":160338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:59:25] local.INFO: Packet analysis {"connection_id":160338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:59:25] local.INFO: Extracted packet for processing {"connection_id":160338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:59:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579331072001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787419563000,"timestamp_ms":1787419563000,"timestamp_seconds":1787419563,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8213f8"} 
[2026-08-22 22: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-22 22:59: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-22 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:59:25] 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-22 22: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-22 22: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-22 22:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579331072001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579331072001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:59:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:59:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579331072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":160338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:59:25] local.INFO: GPS data processed {"connection_id":160338,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:59:25] local.INFO: Acknowledgment sent {"connection_id":160338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:59:29] local.INFO: TCP Data received {"connection_id":162705,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a83d918012d1939400720b4680035007c28..."} 
[2026-08-22 22:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a83d918012d1939400720b4680035007c28..."} 
[2026-08-22 22:59:29] local.INFO: Processing buffer {"connection_id":162705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a83d918012d1939400720b4680035007c28..."} 
[2026-08-22 22:59:29] local.INFO: Packet analysis {"connection_id":162705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 22:59:29] local.INFO: Extracted packet for processing {"connection_id":162705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 22:59:29] local.INFO: GPS Element Parsed {"raw_longitude":756627776,"raw_latitude":119583848,"longitude_deg":75.6627776,"latitude_deg":11.9583848,"altitude":53,"angle":124,"satellites":40,"speed":52,"hex_longitude":"2d193940","hex_latitude":"0720b468","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579437056001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15158631804698624,"note":"Value kept but may cause issues"} 
[2026-08-22 22:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1813472936816529408,"note":"Value kept but may cause issues"} 
[2026-08-22 22:59:29] 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-22 22:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787419679000,"timestamp_ms":1787419679000,"timestamp_seconds":1787419679,"priority":1,"record_length":96,"hex_timestamp":"000001a02a83d918"} 
[2026-08-22 22: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-22 22:59:29] 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-22 22: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-22 22:59:29] 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-22 22: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-22 22: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-22 22:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579437056001,"66":13428,"103":206,"83":41984,"24":52,"16":15158631804698624,"45":1813472936816529408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 22:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579437056001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:59:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 22:59:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15158631804698624,"km_value":15158631804698.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1813472936816529408,"description":"Unknown IO ID 45"} 
[2026-08-22 22:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579437056001,"power":13428,"unknown_103":206,"unknown_83":41984,"ignition":52,"odometer":null,"unknown_45":1813472936816529408}} 
[2026-08-22 22:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":162705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:59:29] local.INFO: GPS data processed {"connection_id":162705,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:59:29] local.INFO: Acknowledgment sent {"connection_id":162705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:59:48] local.INFO: TCP Data received {"connection_id":160116,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:59:48] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:59:48] local.INFO: IMEI packet received {"connection_id":160116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 22:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":160116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:59:48] local.INFO: TCP Data received {"connection_id":161293,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:59:48] local.INFO: Processing buffer {"connection_id":161293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:59:48] local.INFO: IMEI packet received {"connection_id":161293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 22:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":161293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 22:59:52] local.INFO: TCP Data received {"connection_id":161293,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:59:52] local.INFO: Processing buffer {"connection_id":161293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:59:52] local.INFO: IMEI packet received {"connection_id":161293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":161293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:59:53] local.INFO: TCP Data received {"connection_id":160116,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:59:53] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 22:59:53] local.INFO: IMEI packet received {"connection_id":160116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 22:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":160116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:59:54] local.INFO: TCP Data received {"connection_id":160116,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:59:54] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 22:59:54] local.INFO: Packet analysis {"connection_id":160116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:59:54] local.INFO: Extracted packet for processing {"connection_id":160116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 22:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 22:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 22:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579331072001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 22:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 22:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787419563000,"timestamp_ms":1787419563000,"timestamp_seconds":1787419563,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8213f8"} 
[2026-08-22 22:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 22:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 22:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 22:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 22:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 22:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 22:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 22:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 22:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579331072001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 22:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 22:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 22:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579331072001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:59:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 22:59:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 22:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 22:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579331072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 22:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":160116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:59:54] local.INFO: GPS data processed {"connection_id":160116,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:59:54] local.INFO: Acknowledgment sent {"connection_id":160116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 22:59:57] local.INFO: TCP Data received {"connection_id":161293,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:59:57] local.INFO: Processing buffer {"connection_id":161293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 22:59:57] local.INFO: IMEI packet received {"connection_id":161293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 22:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":161293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 22:59:57] local.INFO: TCP Data received {"connection_id":161293,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a83e0e8012d1942400720af800034007127..."} 
[2026-08-22 22:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a83e0e8012d1942400720af800034007127..."} 
[2026-08-22 22:59:57] local.INFO: Processing buffer {"connection_id":161293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a83e0e8012d1942400720af800034007127..."} 
[2026-08-22 22:59:57] local.INFO: Packet analysis {"connection_id":161293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 22:59:57] local.INFO: Extracted packet for processing {"connection_id":161293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 22:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756630080,"raw_latitude":119582592,"longitude_deg":75.663008,"latitude_deg":11.9582592,"altitude":52,"angle":113,"satellites":39,"speed":48,"hex_longitude":"2d194240","hex_latitude":"0720af80","is_valid_coordinates":true} 
[2026-08-22 22: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-22 22:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579437824001,"note":"Value kept but may cause issues"} 
[2026-08-22 22:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15158756358750208,"note":"Value kept but may cause issues"} 
[2026-08-22 22:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817554323978348544,"note":"Value kept but may cause issues"} 
[2026-08-22 22:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 22:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787419681000,"timestamp_ms":1787419681000,"timestamp_seconds":1787419681,"priority":1,"record_length":96,"hex_timestamp":"000001a02a83e0e8"} 
[2026-08-22 22: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-22 22:59:57] 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-22 22: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-22 22:59:57] 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-22 22: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-22 22: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-22 22:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 22:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 22:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 22:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 22:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 22:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 22:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579437824001,"66":13406,"103":206,"83":41984,"24":48,"16":15158756358750208,"45":1817554323978348544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 22:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 22:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 22:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579437824001,"description":"Unknown IO ID 0"} 
[2026-08-22 22:59:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 22:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 22:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15158756358750208,"km_value":15158756358750.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 22:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817554323978348544,"description":"Unknown IO ID 45"} 
[2026-08-22 22:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579437824001,"power":13406,"unknown_103":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1817554323978348544}} 
[2026-08-22 22:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":161293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 22:59:57] local.INFO: GPS data processed {"connection_id":161293,"processed":1,"errors":0,"total":1} 
[2026-08-22 22:59:57] local.INFO: Acknowledgment sent {"connection_id":161293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:00:25] local.INFO: TCP Data received {"connection_id":160116,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 23:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 23:00:25] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 23:00:25] local.INFO: Packet analysis {"connection_id":160116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 23:00:25] local.INFO: Extracted packet for processing {"connection_id":160116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 23:00:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579331072001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787419563000,"timestamp_ms":1787419563000,"timestamp_seconds":1787419563,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8213f8"} 
[2026-08-22 23: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-22 23:00: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-22 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 23:00:25] 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-22 23: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-22 23: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-22 23:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579331072001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579331072001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:00:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:00:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 23:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579331072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 23:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":160116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:00:25] local.INFO: GPS data processed {"connection_id":160116,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:00:25] local.INFO: Acknowledgment sent {"connection_id":160116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:00:28] local.INFO: TCP Data received {"connection_id":161293,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a83f088012d1953400720ab080035006026..."} 
[2026-08-22 23:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a83f088012d1953400720ab080035006026..."} 
[2026-08-22 23:00:28] local.INFO: Processing buffer {"connection_id":161293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a83f088012d1953400720ab080035006026..."} 
[2026-08-22 23:00:28] local.INFO: Packet analysis {"connection_id":161293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 23:00:28] local.INFO: Extracted packet for processing {"connection_id":161293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a83"} 
[2026-08-22 23:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756634432,"raw_latitude":119581448,"longitude_deg":75.6634432,"latitude_deg":11.9581448,"altitude":53,"angle":96,"satellites":38,"speed":39,"hex_longitude":"2d195340","hex_latitude":"0720ab08","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579438336001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15158971107115008,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820087598768422912,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:28] 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-22 23:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787419685000,"timestamp_ms":1787419685000,"timestamp_seconds":1787419685,"priority":1,"record_length":96,"hex_timestamp":"000001a02a83f088"} 
[2026-08-22 23: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-22 23:00: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-22 23: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-22 23:00:28] 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-22 23: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-22 23: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-22 23:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579438336001,"66":13830,"103":206,"83":41984,"24":39,"16":15158971107115008,"45":1820087598768422912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 23:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579438336001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:00:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 23:00:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15158971107115008,"km_value":15158971107115.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820087598768422912,"description":"Unknown IO ID 45"} 
[2026-08-22 23:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579438336001,"power":13830,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1820087598768422912}} 
[2026-08-22 23:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":161293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:00:28] local.INFO: GPS data processed {"connection_id":161293,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:00:28] local.INFO: Acknowledgment sent {"connection_id":161293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:00:48] local.INFO: TCP Data received {"connection_id":160339,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:00:48] local.INFO: Processing buffer {"connection_id":160339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:00:48] local.INFO: IMEI packet received {"connection_id":160339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":160339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:00:52] local.INFO: TCP Data received {"connection_id":160117,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:00:52] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:00:52] local.INFO: IMEI packet received {"connection_id":160117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":160117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:00:52] local.INFO: TCP Data received {"connection_id":160117,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:00:52] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:00:52] local.INFO: IMEI packet received {"connection_id":160117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":160117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:00:53] local.INFO: TCP Data received {"connection_id":160339,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:00:53] local.INFO: Processing buffer {"connection_id":160339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:00:53] local.INFO: IMEI packet received {"connection_id":160339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":160339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:00:54] local.INFO: TCP Data received {"connection_id":160339,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 23:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 23:00:54] local.INFO: Processing buffer {"connection_id":160339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 23:00:54] local.INFO: Packet analysis {"connection_id":160339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 23:00:54] local.INFO: Extracted packet for processing {"connection_id":160339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 23:00:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579331072001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787419563000,"timestamp_ms":1787419563000,"timestamp_seconds":1787419563,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8213f8"} 
[2026-08-22 23: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-22 23:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 23:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579331072001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579331072001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:00:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:00:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 23:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579331072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 23:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":160339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:00:54] local.INFO: GPS data processed {"connection_id":160339,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:00:54] local.INFO: Acknowledgment sent {"connection_id":160339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:00:57] local.INFO: TCP Data received {"connection_id":160117,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:00:57] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:00:57] local.INFO: IMEI packet received {"connection_id":160117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":160117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:00:58] local.INFO: TCP Data received {"connection_id":160117,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a840410012d1967000720abc00036005526..."} 
[2026-08-22 23:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a840410012d1967000720abc00036005526..."} 
[2026-08-22 23:00:58] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a840410012d1967000720abc00036005526..."} 
[2026-08-22 23:00:58] local.INFO: Packet analysis {"connection_id":160117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a84"} 
[2026-08-22 23:00:58] local.INFO: Extracted packet for processing {"connection_id":160117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a84"} 
[2026-08-22 23:00:58] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119581632,"longitude_deg":75.6639488,"latitude_deg":11.9581632,"altitude":54,"angle":85,"satellites":38,"speed":41,"hex_longitude":"2d196700","hex_latitude":"0720abc0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579439360001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15159211625283584,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824872673372211200,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00: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-22 23:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787419690000,"timestamp_ms":1787419690000,"timestamp_seconds":1787419690,"priority":1,"record_length":96,"hex_timestamp":"000001a02a840410"} 
[2026-08-22 23: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-22 23:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 23:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-08-22 23:00:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:58] local.WARNING: Large IO value detected {"io_id":24,"raw_value":12384907580997632,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652634010415872,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:58] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3221278072,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:58] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:58] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3654877184,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-22 23:00:58] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2209482753,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:58] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3406299193,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:58] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1074208983,"corrected_to":0} 
[2026-08-22 23:00:58] local.WARNING: Large IO value detected {"io_id":119,"raw_value":8070781592013899552,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:58] local.WARNING: Large IO value detected {"io_id":250,"raw_value":-1729316283911634899,"note":"Value kept but may cause issues"} 
[2026-08-22 23:00:58] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,219,160,224,45,64,175,52,39,10,66,218,217,180,53,40,205,192,1,240,214,227,42,32,4,113,47,158,246,248,37,239,2,7,60,44,119,250],"length":528,"final_offset":658,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":246,"original":1074208983,"validated":0}]} 
[2026-08-22 23:00:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819158200337760256,"timestamp_seconds":3819158200337760.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-22 23: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-22 23:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579439360001,"66":12667,"103":206,"83":41984,"24":41,"16":15159211625283584,"45":1824872673372211200},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 23:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579439360001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:00:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 23:00:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15159211625283584,"km_value":15159211625283.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824872673372211200,"description":"Unknown IO ID 45"} 
[2026-08-22 23:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579439360001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1824872673372211200}} 
[2026-08-22 23:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":160117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:00:58] local.INFO: GPS data processed {"connection_id":160117,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:00:58] local.INFO: Acknowledgment sent {"connection_id":160117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:01:25] local.INFO: TCP Data received {"connection_id":160339,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 23:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 23:01:25] local.INFO: Processing buffer {"connection_id":160339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8213f8012d7b84c005f5ee00000800b32e..."} 
[2026-08-22 23:01:25] local.INFO: Packet analysis {"connection_id":160339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 23:01:25] local.INFO: Extracted packet for processing {"connection_id":160339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a82"} 
[2026-08-22 23:01:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579331072001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 23:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 23:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787419563000,"timestamp_ms":1787419563000,"timestamp_seconds":1787419563,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8213f8"} 
[2026-08-22 23: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-22 23:01: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-22 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 23:01:25] 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-22 23: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-22 23: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-22 23:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579331072001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579331072001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:01:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:01:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 23:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579331072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 23:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":160339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:01:25] local.INFO: GPS data processed {"connection_id":160339,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:01:25] local.INFO: Acknowledgment sent {"connection_id":160339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:01:29] local.INFO: TCP Data received {"connection_id":160117,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8659b8012d19bc000720a650003500aa25..."} 
[2026-08-22 23:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8659b8012d19bc000720a650003500aa25..."} 
[2026-08-22 23:01:29] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8659b8012d19bc000720a650003500aa25..."} 
[2026-08-22 23:01:29] local.INFO: Packet analysis {"connection_id":160117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a86"} 
[2026-08-22 23:01:29] local.INFO: Extracted packet for processing {"connection_id":160117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a86"} 
[2026-08-22 23:01:29] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119580240,"longitude_deg":75.6661248,"latitude_deg":11.958024,"altitude":53,"angle":170,"satellites":37,"speed":23,"hex_longitude":"2d19bc00","hex_latitude":"0720a650","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579479552001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15160981151809536,"note":"Value kept but may cause issues"} 
[2026-08-22 23:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070949959680,"note":"Value kept but may cause issues"} 
[2026-08-22 23:01:29] 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-22 23:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787419843000,"timestamp_ms":1787419843000,"timestamp_seconds":1787419843,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8659b8"} 
[2026-08-22 23: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-22 23:01:29] 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-22 23: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 23:01:29] 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-22 23: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-22 23: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-22 23:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579479552001,"66":12841,"103":206,"83":41984,"24":23,"16":15160981151809536,"45":1854146070949959680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 23:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579479552001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:01:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 23:01:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15160981151809536,"km_value":15160981151809.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070949959680,"description":"Unknown IO ID 45"} 
[2026-08-22 23:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579479552001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1854146070949959680}} 
[2026-08-22 23:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":160117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:01:29] local.INFO: GPS data processed {"connection_id":160117,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:01:29] local.INFO: Acknowledgment sent {"connection_id":160117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:01:48] local.INFO: TCP Data received {"connection_id":162706,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:01:48] local.INFO: Processing buffer {"connection_id":162706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:01:48] local.INFO: IMEI packet received {"connection_id":162706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":162706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:01:52] local.INFO: TCP Data received {"connection_id":160118,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:01:52] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:01:52] local.INFO: IMEI packet received {"connection_id":160118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":160118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:01:52] local.INFO: TCP Data received {"connection_id":160118,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:01:52] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:01:52] local.INFO: IMEI packet received {"connection_id":160118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":160118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:01:53] local.INFO: TCP Data received {"connection_id":162706,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:01:53] local.INFO: Processing buffer {"connection_id":162706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:01:53] local.INFO: IMEI packet received {"connection_id":162706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":162706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:01:54] local.INFO: TCP Data received {"connection_id":162706,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a86abc0012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 23:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a86abc0012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 23:01:54] local.INFO: Processing buffer {"connection_id":162706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a86abc0012d7b84c005f5ee00000800b32f..."} 
[2026-08-22 23:01:54] local.INFO: Packet analysis {"connection_id":162706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a86"} 
[2026-08-22 23:01:54] local.INFO: Extracted packet for processing {"connection_id":162706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a86"} 
[2026-08-22 23:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 23:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579408128001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 23:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 23:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787419864000,"timestamp_ms":1787419864000,"timestamp_seconds":1787419864,"priority":1,"record_length":96,"hex_timestamp":"000001a02a86abc0"} 
[2026-08-22 23:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 23:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 23:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579408128001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579408128001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:01:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:01:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 23:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579408128001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 23:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":162706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:01:54] local.INFO: GPS data processed {"connection_id":162706,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:01:54] local.INFO: Acknowledgment sent {"connection_id":162706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:01:57] local.INFO: TCP Data received {"connection_id":160118,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:01:57] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:01:57] local.INFO: IMEI packet received {"connection_id":160118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":160118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:01:57] local.INFO: TCP Data received {"connection_id":160118,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a865da0012d19bb400720a418003400c425..."} 
[2026-08-22 23:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a865da0012d19bb400720a418003400c425..."} 
[2026-08-22 23:01:57] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a865da0012d19bb400720a418003400c425..."} 
[2026-08-22 23:01:57] local.INFO: Packet analysis {"connection_id":160118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a86"} 
[2026-08-22 23:01:57] local.INFO: Extracted packet for processing {"connection_id":160118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a86"} 
[2026-08-22 23:01:57] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119579672,"longitude_deg":75.6661056,"latitude_deg":11.9579672,"altitude":52,"angle":196,"satellites":37,"speed":23,"hex_longitude":"2d19bb40","hex_latitude":"0720a418","is_valid_coordinates":true} 
[2026-08-22 23:01: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-22 23:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579479808001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15161011216580608,"note":"Value kept but may cause issues"} 
[2026-08-22 23:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177182343168,"note":"Value kept but may cause issues"} 
[2026-08-22 23:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787419844000,"timestamp_ms":1787419844000,"timestamp_seconds":1787419844,"priority":1,"record_length":96,"hex_timestamp":"000001a02a865da0"} 
[2026-08-22 23:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:01:57] 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-22 23:01: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-22 23:01:57] 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-22 23:01: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-22 23:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579479808001,"66":13493,"103":206,"83":41984,"24":23,"16":15161011216580608,"45":1854357177182343168},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-22 23:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579479808001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:01:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-22 23:01:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15161011216580608,"km_value":15161011216580.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177182343168,"description":"Unknown IO ID 45"} 
[2026-08-22 23:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579479808001,"power":13493,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1854357177182343168}} 
[2026-08-22 23:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":160118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:01:57] local.INFO: GPS data processed {"connection_id":160118,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:01:57] local.INFO: Acknowledgment sent {"connection_id":160118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:02:25] local.INFO: TCP Data received {"connection_id":162706,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a874030012d7b84c005f5ee00000800b32c..."} 
[2026-08-22 23:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a874030012d7b84c005f5ee00000800b32c..."} 
[2026-08-22 23:02:25] local.INFO: Processing buffer {"connection_id":162706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a874030012d7b84c005f5ee00000800b32c..."} 
[2026-08-22 23:02:25] local.INFO: Packet analysis {"connection_id":162706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a87"} 
[2026-08-22 23:02:25] local.INFO: Extracted packet for processing {"connection_id":162706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a87"} 
[2026-08-22 23:02:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003328,"longitude_deg":76.3069632,"latitude_deg":10.0003328,"altitude":8,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee00","is_valid_coordinates":true} 
[2026-08-22 23:02: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-22 23:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579485184001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 23:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 23:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787419902000,"timestamp_ms":1787419902000,"timestamp_seconds":1787419902,"priority":1,"record_length":96,"hex_timestamp":"000001a02a874030"} 
[2026-08-22 23: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-22 23:02: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-22 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-22 23:02:25] 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-22 23: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-22 23: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-22 23:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579485184001,"66":25756,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579485184001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:02:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:02:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 23:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579485184001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 23:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":162706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:02:25] local.INFO: GPS data processed {"connection_id":162706,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:02:25] local.INFO: Acknowledgment sent {"connection_id":162706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:02:28] local.INFO: TCP Data received {"connection_id":160118,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a874fd0012d19cd40071ff798002f00c828..."} 
[2026-08-22 23:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a874fd0012d19cd40071ff798002f00c828..."} 
[2026-08-22 23:02:28] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a874fd0012d19cd40071ff798002f00c828..."} 
[2026-08-22 23:02:28] local.INFO: Packet analysis {"connection_id":160118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a87"} 
[2026-08-22 23:02:28] local.INFO: Extracted packet for processing {"connection_id":160118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a87"} 
[2026-08-22 23:02:28] local.INFO: GPS Element Parsed {"raw_longitude":756665664,"raw_latitude":119535512,"longitude_deg":75.6665664,"latitude_deg":11.9535512,"altitude":47,"angle":200,"satellites":40,"speed":20,"hex_longitude":"2d19cd40","hex_latitude":"071ff798","is_valid_coordinates":true} 
[2026-08-22 23:02: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-22 23:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579495680001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15163459347939328,"note":"Value kept but may cause issues"} 
[2026-08-22 23:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464240154624,"note":"Value kept but may cause issues"} 
[2026-08-22 23:02:28] 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-22 23:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787419906000,"timestamp_ms":1787419906000,"timestamp_seconds":1787419906,"priority":1,"record_length":96,"hex_timestamp":"000001a02a874fd0"} 
[2026-08-22 23:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:02: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-22 23:02: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":116,"data_length":795,"current_offset":136} 
[2026-08-22 23:02:28] 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-22 23:02: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-22 23:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579495680001,"66":13439,"101":206,"83":41984,"24":20,"16":15163459347939328,"45":1859564464240154624},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 23:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579495680001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:02:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 23:02:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15163459347939328,"km_value":15163459347939.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464240154624,"description":"Unknown IO ID 45"} 
[2026-08-22 23:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579495680001,"power":13439,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1859564464240154624}} 
[2026-08-22 23:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":160118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:02:28] local.INFO: GPS data processed {"connection_id":160118,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:02:28] local.INFO: Acknowledgment sent {"connection_id":160118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:02:50] local.INFO: TCP Data received {"connection_id":161295,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:02:50] local.INFO: Processing buffer {"connection_id":161295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:02:50] local.INFO: IMEI packet received {"connection_id":161295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":161295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:02:52] local.INFO: TCP Data received {"connection_id":161295,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:02:52] local.INFO: Processing buffer {"connection_id":161295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:02:52] local.INFO: IMEI packet received {"connection_id":161295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":161295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:02:53] local.INFO: TCP Data received {"connection_id":161295,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:02:53] local.INFO: Processing buffer {"connection_id":161295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:02:53] local.INFO: IMEI packet received {"connection_id":161295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":161295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:02:53] local.INFO: TCP Data received {"connection_id":161294,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:02:53] local.INFO: Processing buffer {"connection_id":161294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:02:53] local.INFO: IMEI packet received {"connection_id":161294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":161294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:02:57] local.INFO: TCP Data received {"connection_id":161295,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:02:57] local.INFO: Processing buffer {"connection_id":161295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:02:57] local.INFO: IMEI packet received {"connection_id":161295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":161295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:02:57] local.INFO: TCP Data received {"connection_id":161295,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8757a0012d19cbc0071ff418002f00d428..."} 
[2026-08-22 23:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8757a0012d19cbc0071ff418002f00d428..."} 
[2026-08-22 23:02:57] local.INFO: Processing buffer {"connection_id":161295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8757a0012d19cbc0071ff418002f00d428..."} 
[2026-08-22 23:02:57] local.INFO: Packet analysis {"connection_id":161295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a87"} 
[2026-08-22 23:02:57] local.INFO: Extracted packet for processing {"connection_id":161295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a87"} 
[2026-08-22 23:02:57] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119534616,"longitude_deg":75.666528,"latitude_deg":11.9534616,"altitude":47,"angle":212,"satellites":40,"speed":16,"hex_longitude":"2d19cbc0","hex_latitude":"071ff418","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579495936001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15163506592579584,"note":"Value kept but may cause issues"} 
[2026-08-22 23:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859212620519151616,"note":"Value kept but may cause issues"} 
[2026-08-22 23:02:57] 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-22 23:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787419908000,"timestamp_ms":1787419908000,"timestamp_seconds":1787419908,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8757a0"} 
[2026-08-22 23: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-22 23:02:57] 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-22 23: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-22 23:02:57] 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-22 23: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-22 23: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-22 23:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579495936001,"66":13450,"101":206,"83":41984,"24":16,"16":15163506592579584,"45":1859212620519151616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-22 23:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579495936001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:02:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-22 23:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15163506592579584,"km_value":15163506592579.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859212620519151616,"description":"Unknown IO ID 45"} 
[2026-08-22 23:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579495936001,"power":13450,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1859212620519151616}} 
[2026-08-22 23:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":161295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:02:58] local.INFO: GPS data processed {"connection_id":161295,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:02:58] local.INFO: Acknowledgment sent {"connection_id":161295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:02:58] local.INFO: TCP Data received {"connection_id":161294,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:02:58] local.INFO: Processing buffer {"connection_id":161294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:02:58] local.INFO: IMEI packet received {"connection_id":161294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":161294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:02:59] local.INFO: TCP Data received {"connection_id":161294,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a874fd0012d7b868005f5eef8000801382b..."} 
[2026-08-22 23:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a874fd0012d7b868005f5eef8000801382b..."} 
[2026-08-22 23:02:59] local.INFO: Processing buffer {"connection_id":161294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a874fd0012d7b868005f5eef8000801382b..."} 
[2026-08-22 23:02:59] local.INFO: Packet analysis {"connection_id":161294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a87"} 
[2026-08-22 23:02:59] local.INFO: Extracted packet for processing {"connection_id":161294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a87"} 
[2026-08-22 23:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763070080,"raw_latitude":100003576,"longitude_deg":76.307008,"latitude_deg":10.0003576,"altitude":8,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d7b8680","hex_latitude":"05f5eef8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579494912001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 23:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424327680,"note":"Value kept but may cause issues"} 
[2026-08-22 23:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787419906000,"timestamp_ms":1787419906000,"timestamp_seconds":1787419906,"priority":1,"record_length":96,"hex_timestamp":"000001a02a874fd0"} 
[2026-08-22 23: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-22 23:02: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-22 23: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-22 23: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-22 23: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-22 23: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-22 23:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579494912001,"66":23364,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900449895424327680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579494912001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:02:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:02:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424327680,"description":"Unknown IO ID 45"} 
[2026-08-22 23:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579494912001,"power":23364,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895424327680}} 
[2026-08-22 23:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":161294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:02:59] local.INFO: GPS data processed {"connection_id":161294,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:02:59] local.INFO: Acknowledgment sent {"connection_id":161294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:03:03] local.INFO: TCP Data received {"connection_id":161294,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a87a1d8012d7b868005f5eef8000801382e..."} 
[2026-08-22 23:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a87a1d8012d7b868005f5eef8000801382e..."} 
[2026-08-22 23:03:03] local.INFO: Processing buffer {"connection_id":161294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a87a1d8012d7b868005f5eef8000801382e..."} 
[2026-08-22 23:03:03] local.INFO: Packet analysis {"connection_id":161294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a87"} 
[2026-08-22 23:03:03] local.INFO: Extracted packet for processing {"connection_id":161294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a87"} 
[2026-08-22 23:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763070080,"raw_latitude":100003576,"longitude_deg":76.307008,"latitude_deg":10.0003576,"altitude":8,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d7b8680","hex_latitude":"05f5eef8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579495936001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 23:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633634816,"note":"Value kept but may cause issues"} 
[2026-08-22 23:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787419927000,"timestamp_ms":1787419927000,"timestamp_seconds":1787419927,"priority":1,"record_length":96,"hex_timestamp":"000001a02a87a1d8"} 
[2026-08-22 23: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-22 23:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 23: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":91,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-22 23:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1265,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579495936001,"66":27865,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900942476633634816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579495936001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:03:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:03:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633634816,"description":"Unknown IO ID 45"} 
[2026-08-22 23:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579495936001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633634816}} 
[2026-08-22 23:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":161294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:03:03] local.INFO: GPS data processed {"connection_id":161294,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:03:03] local.INFO: Acknowledgment sent {"connection_id":161294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:03:29] local.INFO: TCP Data received {"connection_id":161295,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a883a30012d196a00071fec60003a011727..."} 
[2026-08-22 23:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a883a30012d196a00071fec60003a011727..."} 
[2026-08-22 23:03:29] local.INFO: Processing buffer {"connection_id":161295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a883a30012d196a00071fec60003a011727..."} 
[2026-08-22 23:03:29] local.INFO: Packet analysis {"connection_id":161295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:03:29] local.INFO: Extracted packet for processing {"connection_id":161295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532640,"longitude_deg":75.6640256,"latitude_deg":11.953264,"altitude":58,"angle":279,"satellites":39,"speed":8,"hex_longitude":"2d196a00","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579511040001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164734953226240,"note":"Value kept but may cause issues"} 
[2026-08-22 23:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-08-22 23:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787419966000,"timestamp_ms":1787419966000,"timestamp_seconds":1787419966,"priority":1,"record_length":96,"hex_timestamp":"000001a02a883a30"} 
[2026-08-22 23: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-22 23:03:29] 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-22 23: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-22 23:03:29] 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-22 23: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-22 23: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-22 23:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579511040001,"66":13374,"102":206,"83":41984,"24":8,"16":15164734953226240,"45":1831487335312412672},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579511040001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:03:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:03:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164734953226240,"km_value":15164734953226.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-08-22 23:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579511040001,"power":13374,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-08-22 23:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":161295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:03:29] local.INFO: GPS data processed {"connection_id":161295,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:03:29] local.INFO: Acknowledgment sent {"connection_id":161295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:03:48] local.INFO: TCP Data received {"connection_id":160119,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:03:48] local.INFO: Processing buffer {"connection_id":160119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:03:48] local.INFO: IMEI packet received {"connection_id":160119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":160119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:03:49] local.INFO: TCP Data received {"connection_id":160119,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:03:49] local.INFO: Processing buffer {"connection_id":160119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:03:49] local.INFO: IMEI packet received {"connection_id":160119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":160119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:03:53] local.INFO: TCP Data received {"connection_id":160119,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:03:53] local.INFO: Processing buffer {"connection_id":160119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:03:53] local.INFO: IMEI packet received {"connection_id":160119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":160119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:03:54] local.INFO: TCP Data received {"connection_id":160119,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a87f3e0012d7b868005f5eef8000801382e..."} 
[2026-08-22 23:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a87f3e0012d7b868005f5eef8000801382e..."} 
[2026-08-22 23:03:54] local.INFO: Processing buffer {"connection_id":160119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a87f3e0012d7b868005f5eef8000801382e..."} 
[2026-08-22 23:03:54] local.INFO: Packet analysis {"connection_id":160119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a87"} 
[2026-08-22 23:03:54] local.INFO: Extracted packet for processing {"connection_id":160119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a87"} 
[2026-08-22 23:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763070080,"raw_latitude":100003576,"longitude_deg":76.307008,"latitude_deg":10.0003576,"altitude":8,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d7b8680","hex_latitude":"05f5eef8","is_valid_coordinates":true} 
[2026-08-22 23:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579501312001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 23:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633634816,"note":"Value kept but may cause issues"} 
[2026-08-22 23:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787419948000,"timestamp_ms":1787419948000,"timestamp_seconds":1787419948,"priority":1,"record_length":96,"hex_timestamp":"000001a02a87f3e0"} 
[2026-08-22 23:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 23:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 23:03: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-22 23:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579501312001,"66":27930,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900942476633634816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579501312001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:03:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:03:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633634816,"description":"Unknown IO ID 45"} 
[2026-08-22 23:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579501312001,"power":27930,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633634816}} 
[2026-08-22 23:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":160119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:03:54] local.INFO: GPS data processed {"connection_id":160119,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:03:54] local.INFO: Acknowledgment sent {"connection_id":160119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:03:58] local.INFO: TCP Data received {"connection_id":160119,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8845e8012d7b868005f5eef8000801382a..."} 
[2026-08-22 23:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8845e8012d7b868005f5eef8000801382a..."} 
[2026-08-22 23:03:58] local.INFO: Processing buffer {"connection_id":160119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8845e8012d7b868005f5eef8000801382a..."} 
[2026-08-22 23:03:58] local.INFO: Packet analysis {"connection_id":160119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:03:58] local.INFO: Extracted packet for processing {"connection_id":160119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763070080,"raw_latitude":100003576,"longitude_deg":76.307008,"latitude_deg":10.0003576,"altitude":8,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d7b8680","hex_latitude":"05f5eef8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579506688001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 23:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633634816,"note":"Value kept but may cause issues"} 
[2026-08-22 23:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787419969000,"timestamp_ms":1787419969000,"timestamp_seconds":1787419969,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8845e8"} 
[2026-08-22 23: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-22 23:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 23: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-22 23:03: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-22 23: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-22 23: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-22 23:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579506688001,"66":28028,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900942476633634816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579506688001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:03:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:03:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633634816,"description":"Unknown IO ID 45"} 
[2026-08-22 23:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579506688001,"power":28028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633634816}} 
[2026-08-22 23:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":160119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:03:58] local.INFO: GPS data processed {"connection_id":160119,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:03:58] local.INFO: Acknowledgment sent {"connection_id":160119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:04:29] local.INFO: TCP Data received {"connection_id":160119,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8897f0012d7b868005f5eef8000801382a..."} 
[2026-08-22 23:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8897f0012d7b868005f5eef8000801382a..."} 
[2026-08-22 23:04:29] local.INFO: Processing buffer {"connection_id":160119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8897f0012d7b868005f5eef8000801382a..."} 
[2026-08-22 23:04:29] local.INFO: Packet analysis {"connection_id":160119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:04:29] local.INFO: Extracted packet for processing {"connection_id":160119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:04:29] local.INFO: GPS Element Parsed {"raw_longitude":763070080,"raw_latitude":100003576,"longitude_deg":76.307008,"latitude_deg":10.0003576,"altitude":8,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d7b8680","hex_latitude":"05f5eef8","is_valid_coordinates":true} 
[2026-08-22 23:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579512064001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 23:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633634816,"note":"Value kept but may cause issues"} 
[2026-08-22 23:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787419990000,"timestamp_ms":1787419990000,"timestamp_seconds":1787419990,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8897f0"} 
[2026-08-22 23:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:04: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-22 23:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-22 23:04:29] 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-22 23:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579512064001,"66":27376,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900942476633634816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579512064001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:04:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:04:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633634816,"description":"Unknown IO ID 45"} 
[2026-08-22 23:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579512064001,"power":27376,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633634816}} 
[2026-08-22 23:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":160119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:04:29] local.INFO: GPS data processed {"connection_id":160119,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:04:29] local.INFO: Acknowledgment sent {"connection_id":160119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:04:47] local.INFO: TCP Data received {"connection_id":162707,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:04:47] local.INFO: Processing buffer {"connection_id":162707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:04:47] local.INFO: IMEI packet received {"connection_id":162707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":162707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:04:52] local.INFO: TCP Data received {"connection_id":162707,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:04:52] local.INFO: Processing buffer {"connection_id":162707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:04:52] local.INFO: IMEI packet received {"connection_id":162707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":162707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:04:54] local.INFO: TCP Data received {"connection_id":162707,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a88e9f8012d7b868005f5eef8000801382d..."} 
[2026-08-22 23:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a88e9f8012d7b868005f5eef8000801382d..."} 
[2026-08-22 23:04:54] local.INFO: Processing buffer {"connection_id":162707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a88e9f8012d7b868005f5eef8000801382d..."} 
[2026-08-22 23:04:54] local.INFO: Packet analysis {"connection_id":162707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:04:54] local.INFO: Extracted packet for processing {"connection_id":162707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:04:54] local.INFO: GPS Element Parsed {"raw_longitude":763070080,"raw_latitude":100003576,"longitude_deg":76.307008,"latitude_deg":10.0003576,"altitude":8,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d7b8680","hex_latitude":"05f5eef8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178505792847872,"note":"Value kept but may cause issues"} 
[2026-08-22 23:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633634816,"note":"Value kept but may cause issues"} 
[2026-08-22 23:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787420011000,"timestamp_ms":1787420011000,"timestamp_seconds":1787420011,"priority":1,"record_length":96,"hex_timestamp":"000001a02a88e9f8"} 
[2026-08-22 23: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-22 23:04: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-22 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 23:04:54] 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-22 23:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23: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-22 23:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":27843,"160":206,"87":12800,"24":0,"16":389178505792847872,"45":8900942476633634816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:04:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:04:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178505792847872,"km_value":389178505792847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633634816,"description":"Unknown IO ID 45"} 
[2026-08-22 23:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":27843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633634816}} 
[2026-08-22 23:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":162707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:04:54] local.INFO: GPS data processed {"connection_id":162707,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:04:54] local.INFO: Acknowledgment sent {"connection_id":162707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:05:25] local.INFO: TCP Data received {"connection_id":162707,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a893c00012d7b844005f5ef68000c01362f..."} 
[2026-08-22 23:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a893c00012d7b844005f5ef68000c01362f..."} 
[2026-08-22 23:05:25] local.INFO: Processing buffer {"connection_id":162707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a893c00012d7b844005f5ef68000c01362f..."} 
[2026-08-22 23:05:25] local.INFO: Packet analysis {"connection_id":162707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a89"} 
[2026-08-22 23:05:25] local.INFO: Extracted packet for processing {"connection_id":162707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a89"} 
[2026-08-22 23:05:25] local.INFO: GPS Element Parsed {"raw_longitude":763069504,"raw_latitude":100003688,"longitude_deg":76.3069504,"latitude_deg":10.0003688,"altitude":12,"angle":310,"satellites":47,"speed":0,"hex_longitude":"2d7b8440","hex_latitude":"05f5ef68","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579522816001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178535857618944,"note":"Value kept but may cause issues"} 
[2026-08-22 23:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633634816,"note":"Value kept but may cause issues"} 
[2026-08-22 23:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787420032000,"timestamp_ms":1787420032000,"timestamp_seconds":1787420032,"priority":1,"record_length":96,"hex_timestamp":"000001a02a893c00"} 
[2026-08-22 23: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-22 23: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-22 23: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":195,"data_length":795,"current_offset":136} 
[2026-08-22 23:05: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-22 23: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-22 23: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-22 23:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579522816001,"66":27800,"160":206,"87":12800,"24":0,"16":389178535857618944,"45":8900942476633634816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579522816001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:05:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:05:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178535857618944,"km_value":389178535857618.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633634816,"description":"Unknown IO ID 45"} 
[2026-08-22 23:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579522816001,"power":27800,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633634816}} 
[2026-08-22 23:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":162707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:05:25] local.INFO: GPS data processed {"connection_id":162707,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:05:25] local.INFO: Acknowledgment sent {"connection_id":162707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:05:48] local.INFO: TCP Data received {"connection_id":160340,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:05:48] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:05:48] local.INFO: IMEI packet received {"connection_id":160340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":160340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:05:53] local.INFO: TCP Data received {"connection_id":160340,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:05:53] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:05:53] local.INFO: IMEI packet received {"connection_id":160340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":160340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:05:54] local.INFO: TCP Data received {"connection_id":160340,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a893fe8012d7b844005f5ef88000c01452f..."} 
[2026-08-22 23:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a893fe8012d7b844005f5ef88000c01452f..."} 
[2026-08-22 23:05:54] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a893fe8012d7b844005f5ef88000c01452f..."} 
[2026-08-22 23:05:54] local.INFO: Packet analysis {"connection_id":160340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a89"} 
[2026-08-22 23:05:54] local.INFO: Extracted packet for processing {"connection_id":160340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a89"} 
[2026-08-22 23:05:54] local.INFO: GPS Element Parsed {"raw_longitude":763069504,"raw_latitude":100003720,"longitude_deg":76.3069504,"latitude_deg":10.000372,"altitude":12,"angle":325,"satellites":47,"speed":0,"hex_longitude":"2d7b8440","hex_latitude":"05f5ef88","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579528192001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178540152586240,"note":"Value kept but may cause issues"} 
[2026-08-22 23:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157936064512,"note":"Value kept but may cause issues"} 
[2026-08-22 23:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787420033000,"timestamp_ms":1787420033000,"timestamp_seconds":1787420033,"priority":1,"record_length":96,"hex_timestamp":"000001a02a893fe8"} 
[2026-08-22 23: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-22 23:05: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-22 23: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 23:05: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-22 23: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-22 23: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-22 23:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579528192001,"66":27767,"160":206,"87":12800,"24":0,"16":389178540152586240,"45":8900309157936064512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579528192001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:05:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:05:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178540152586240,"km_value":389178540152586.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157936064512,"description":"Unknown IO ID 45"} 
[2026-08-22 23:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579528192001,"power":27767,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900309157936064512}} 
[2026-08-22 23:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":160340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:05:54] local.INFO: GPS data processed {"connection_id":160340,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:05:54] local.INFO: Acknowledgment sent {"connection_id":160340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:06:25] local.INFO: TCP Data received {"connection_id":160340,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8991f0012d7b840005f5f040000c013c2e..."} 
[2026-08-22 23:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8991f0012d7b840005f5f040000c013c2e..."} 
[2026-08-22 23:06:25] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8991f0012d7b840005f5f040000c013c2e..."} 
[2026-08-22 23:06:25] local.INFO: Packet analysis {"connection_id":160340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a89"} 
[2026-08-22 23:06:25] local.INFO: Extracted packet for processing {"connection_id":160340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a89"} 
[2026-08-22 23:06:25] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100003904,"longitude_deg":76.306944,"latitude_deg":10.0003904,"altitude":12,"angle":316,"satellites":46,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5f040","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579528448001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178557332455424,"note":"Value kept but may cause issues"} 
[2026-08-22 23:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157936072704,"note":"Value kept but may cause issues"} 
[2026-08-22 23:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787420054000,"timestamp_ms":1787420054000,"timestamp_seconds":1787420054,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8991f0"} 
[2026-08-22 23: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-22 23: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-22 23: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":119,"data_length":795,"current_offset":136} 
[2026-08-22 23:06: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-22 23: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-22 23: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-22 23:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579528448001,"66":27484,"160":206,"87":12800,"24":0,"16":389178557332455424,"45":8900309157936072704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579528448001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:06:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:06:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178557332455424,"km_value":389178557332455.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157936072704,"description":"Unknown IO ID 45"} 
[2026-08-22 23:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579528448001,"power":27484,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900309157936072704}} 
[2026-08-22 23:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":160340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:06:25] local.INFO: GPS data processed {"connection_id":160340,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:06:25] local.INFO: Acknowledgment sent {"connection_id":160340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:06:48] local.INFO: TCP Data received {"connection_id":162708,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:06:48] local.INFO: Processing buffer {"connection_id":162708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:06:48] local.INFO: IMEI packet received {"connection_id":162708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":162708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:06:53] local.INFO: TCP Data received {"connection_id":162708,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:06:53] local.INFO: Processing buffer {"connection_id":162708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:06:53] local.INFO: IMEI packet received {"connection_id":162708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":162708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:06:54] local.INFO: TCP Data received {"connection_id":162708,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a89e3f8012d7b840005f5f040000c013c2c..."} 
[2026-08-22 23:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a89e3f8012d7b840005f5f040000c013c2c..."} 
[2026-08-22 23:06:54] local.INFO: Processing buffer {"connection_id":162708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a89e3f8012d7b840005f5f040000c013c2c..."} 
[2026-08-22 23:06:54] local.INFO: Packet analysis {"connection_id":162708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a89"} 
[2026-08-22 23:06:54] local.INFO: Extracted packet for processing {"connection_id":162708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a89"} 
[2026-08-22 23:06:54] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100003904,"longitude_deg":76.306944,"latitude_deg":10.0003904,"altitude":12,"angle":316,"satellites":44,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5f040","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579533824001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178557332455424,"note":"Value kept but may cause issues"} 
[2026-08-22 23:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191942144,"note":"Value kept but may cause issues"} 
[2026-08-22 23:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787420075000,"timestamp_ms":1787420075000,"timestamp_seconds":1787420075,"priority":1,"record_length":96,"hex_timestamp":"000001a02a89e3f8"} 
[2026-08-22 23: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-22 23: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-22 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 23:06:54] 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-22 23: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-22 23: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-22 23:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579533824001,"66":27919,"160":206,"87":12800,"24":0,"16":389178557332455424,"45":8900238789191942144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579533824001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:06:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:06:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178557332455424,"km_value":389178557332455.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191942144,"description":"Unknown IO ID 45"} 
[2026-08-22 23:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579533824001,"power":27919,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191942144}} 
[2026-08-22 23:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":162708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:06:54] local.INFO: GPS data processed {"connection_id":162708,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:06:54] local.INFO: Acknowledgment sent {"connection_id":162708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:07:25] local.INFO: TCP Data received {"connection_id":162708,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8a3600012d7b840005f5f040000c013c2b..."} 
[2026-08-22 23:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8a3600012d7b840005f5f040000c013c2b..."} 
[2026-08-22 23:07:25] local.INFO: Processing buffer {"connection_id":162708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8a3600012d7b840005f5f040000c013c2b..."} 
[2026-08-22 23:07:25] local.INFO: Packet analysis {"connection_id":162708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a8a"} 
[2026-08-22 23:07:25] local.INFO: Extracted packet for processing {"connection_id":162708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a8a"} 
[2026-08-22 23:07:25] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100003904,"longitude_deg":76.306944,"latitude_deg":10.0003904,"altitude":12,"angle":316,"satellites":43,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5f040","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579539200001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178557332455424,"note":"Value kept but may cause issues"} 
[2026-08-22 23:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191942144,"note":"Value kept but may cause issues"} 
[2026-08-22 23:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787420096000,"timestamp_ms":1787420096000,"timestamp_seconds":1787420096,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8a3600"} 
[2026-08-22 23: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-22 23:07: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-22 23: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 23:07: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-22 23: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-22 23: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-22 23:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579539200001,"66":27593,"160":206,"87":12800,"24":0,"16":389178557332455424,"45":8900238789191942144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579539200001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:07:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:07:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178557332455424,"km_value":389178557332455.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191942144,"description":"Unknown IO ID 45"} 
[2026-08-22 23:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579539200001,"power":27593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191942144}} 
[2026-08-22 23:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":162708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:07:25] local.INFO: GPS data processed {"connection_id":162708,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:07:25] local.INFO: Acknowledgment sent {"connection_id":162708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:07:47] local.INFO: TCP Data received {"connection_id":161296,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:07:47] local.INFO: Processing buffer {"connection_id":161296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:07:47] local.INFO: IMEI packet received {"connection_id":161296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":161296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:07:50] local.INFO: TCP Data received {"connection_id":161296,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:07:50] local.INFO: Processing buffer {"connection_id":161296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:07:50] local.INFO: IMEI packet received {"connection_id":161296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":161296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:07:53] local.INFO: TCP Data received {"connection_id":161296,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:07:53] local.INFO: Processing buffer {"connection_id":161296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:07:53] local.INFO: IMEI packet received {"connection_id":161296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":161296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:07:53] local.INFO: TCP Data received {"connection_id":161296,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8a8808012d7b840005f5f040000c013c2c..."} 
[2026-08-22 23:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8a8808012d7b840005f5f040000c013c2c..."} 
[2026-08-22 23:07:53] local.INFO: Processing buffer {"connection_id":161296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8a8808012d7b840005f5f040000c013c2c..."} 
[2026-08-22 23:07:53] local.INFO: Packet analysis {"connection_id":161296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a8a"} 
[2026-08-22 23:07:53] local.INFO: Extracted packet for processing {"connection_id":161296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a8a"} 
[2026-08-22 23:07:53] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100003904,"longitude_deg":76.306944,"latitude_deg":10.0003904,"altitude":12,"angle":316,"satellites":44,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5f040","is_valid_coordinates":true} 
[2026-08-22 23:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579544576001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178557332455424,"note":"Value kept but may cause issues"} 
[2026-08-22 23:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191942144,"note":"Value kept but may cause issues"} 
[2026-08-22 23:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787420117000,"timestamp_ms":1787420117000,"timestamp_seconds":1787420117,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8a8808"} 
[2026-08-22 23:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:07: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-22 23:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-22 23:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579544576001,"66":27691,"160":206,"87":12800,"24":0,"16":389178557332455424,"45":8900238789191942144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579544576001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:07:53] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:07:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178557332455424,"km_value":389178557332455.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191942144,"description":"Unknown IO ID 45"} 
[2026-08-22 23:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579544576001,"power":27691,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191942144}} 
[2026-08-22 23:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":161296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:07:53] local.INFO: GPS data processed {"connection_id":161296,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:07:53] local.INFO: Acknowledgment sent {"connection_id":161296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:08:25] local.INFO: TCP Data received {"connection_id":161296,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8ada10012d7b840005f5f040000c013c2e..."} 
[2026-08-22 23:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8ada10012d7b840005f5f040000c013c2e..."} 
[2026-08-22 23:08:25] local.INFO: Processing buffer {"connection_id":161296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8ada10012d7b840005f5f040000c013c2e..."} 
[2026-08-22 23:08:25] local.INFO: Packet analysis {"connection_id":161296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a8a"} 
[2026-08-22 23:08:25] local.INFO: Extracted packet for processing {"connection_id":161296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a8a"} 
[2026-08-22 23:08:25] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100003904,"longitude_deg":76.306944,"latitude_deg":10.0003904,"altitude":12,"angle":316,"satellites":46,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5f040","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579549952001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178557332455424,"note":"Value kept but may cause issues"} 
[2026-08-22 23:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191942144,"note":"Value kept but may cause issues"} 
[2026-08-22 23:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787420138000,"timestamp_ms":1787420138000,"timestamp_seconds":1787420138,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8ada10"} 
[2026-08-22 23: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-22 23: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-22 23: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":43,"data_length":795,"current_offset":136} 
[2026-08-22 23:08: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-22 23: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-22 23: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-22 23:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579549952001,"66":27789,"160":206,"87":12800,"24":0,"16":389178557332455424,"45":8900238789191942144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579549952001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:08:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:08:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178557332455424,"km_value":389178557332455.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191942144,"description":"Unknown IO ID 45"} 
[2026-08-22 23:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579549952001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191942144}} 
[2026-08-22 23:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":161296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:08:25] local.INFO: GPS data processed {"connection_id":161296,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:08:25] local.INFO: Acknowledgment sent {"connection_id":161296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:08:47] local.INFO: TCP Data received {"connection_id":161297,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:08:47] local.INFO: Processing buffer {"connection_id":161297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:08:47] local.INFO: IMEI packet received {"connection_id":161297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":161297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:08:47] local.INFO: TCP Data received {"connection_id":161298,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:08:47] local.INFO: Processing buffer {"connection_id":161298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:08:47] local.INFO: IMEI packet received {"connection_id":161298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":161298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:08:52] local.INFO: TCP Data received {"connection_id":161297,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:08:52] local.INFO: Processing buffer {"connection_id":161297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:08:52] local.INFO: IMEI packet received {"connection_id":161297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":161297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:08:53] local.INFO: TCP Data received {"connection_id":161298,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:08:53] local.INFO: Processing buffer {"connection_id":161298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:08:53] local.INFO: IMEI packet received {"connection_id":161298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":161298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:08:53] local.INFO: TCP Data received {"connection_id":161297,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a883e18012d196940071feca8003a012927..."} 
[2026-08-22 23:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a883e18012d196940071feca8003a012927..."} 
[2026-08-22 23:08:53] local.INFO: Processing buffer {"connection_id":161297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a883e18012d196940071feca8003a012927..."} 
[2026-08-22 23:08:53] local.INFO: Packet analysis {"connection_id":161297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:08:53] local.INFO: Extracted packet for processing {"connection_id":161297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532712,"longitude_deg":75.6640064,"latitude_deg":11.9532712,"altitude":58,"angle":297,"satellites":39,"speed":7,"hex_longitude":"2d196940","hex_latitude":"071feca8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579511296001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164743543160832,"note":"Value kept but may cause issues"} 
[2026-08-22 23:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079883776,"note":"Value kept but may cause issues"} 
[2026-08-22 23: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-22 23:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787419967000,"timestamp_ms":1787419967000,"timestamp_seconds":1787419967,"priority":1,"record_length":96,"hex_timestamp":"000001a02a883e18"} 
[2026-08-22 23: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-22 23:08: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-22 23: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 23:08:53] 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-22 23: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-22 23: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-22 23:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579511296001,"66":13374,"102":206,"83":41984,"24":7,"16":15164743543160832,"45":1831276229079883776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579511296001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:08:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:08:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164743543160832,"km_value":15164743543160.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079883776,"description":"Unknown IO ID 45"} 
[2026-08-22 23:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579511296001,"power":13374,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1831276229079883776}} 
[2026-08-22 23:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":161297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:08:53] local.INFO: GPS data processed {"connection_id":161297,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:08:53] local.INFO: Acknowledgment sent {"connection_id":161297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:08:54] local.INFO: TCP Data received {"connection_id":161298,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8c9b48012d7b820005f5ec680014005c29..."} 
[2026-08-22 23:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8c9b48012d7b820005f5ec680014005c29..."} 
[2026-08-22 23:08:54] local.INFO: Processing buffer {"connection_id":161298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8c9b48012d7b820005f5ec680014005c29..."} 
[2026-08-22 23:08:54] local.INFO: Packet analysis {"connection_id":161298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a8c"} 
[2026-08-22 23:08:54] local.INFO: Extracted packet for processing {"connection_id":161298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a8c"} 
[2026-08-22 23:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763068928,"raw_latitude":100002920,"longitude_deg":76.3068928,"latitude_deg":10.000292,"altitude":20,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d7b8200","hex_latitude":"05f5ec68","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579579392001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178647526768640,"note":"Value kept but may cause issues"} 
[2026-08-22 23:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899746207982452736,"note":"Value kept but may cause issues"} 
[2026-08-22 23:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787420253000,"timestamp_ms":1787420253000,"timestamp_seconds":1787420253,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8c9b48"} 
[2026-08-22 23: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-22 23:08: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-22 23: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-22 23:08: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-22 23: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-22 23: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-22 23:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579579392001,"66":27865,"160":206,"87":12800,"24":0,"16":389178647526768640,"45":8899746207982452736},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579579392001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:08:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:08:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178647526768640,"km_value":389178647526768.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899746207982452736,"description":"Unknown IO ID 45"} 
[2026-08-22 23:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579579392001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899746207982452736}} 
[2026-08-22 23:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":161298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:08:54] local.INFO: GPS data processed {"connection_id":161298,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:08:54] local.INFO: Acknowledgment sent {"connection_id":161298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:09:24] local.INFO: TCP Data received {"connection_id":161297,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a884200012d196880071fed10003a013727..."} 
[2026-08-22 23:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a884200012d196880071fed10003a013727..."} 
[2026-08-22 23:09:24] local.INFO: Processing buffer {"connection_id":161297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a884200012d196880071fed10003a013727..."} 
[2026-08-22 23:09:24] local.INFO: Packet analysis {"connection_id":161297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:09:24] local.INFO: Extracted packet for processing {"connection_id":161297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":58,"angle":311,"satellites":39,"speed":6,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579511552001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164756428062720,"note":"Value kept but may cause issues"} 
[2026-08-22 23:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847369216,"note":"Value kept but may cause issues"} 
[2026-08-22 23:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787419968000,"timestamp_ms":1787419968000,"timestamp_seconds":1787419968,"priority":1,"record_length":96,"hex_timestamp":"000001a02a884200"} 
[2026-08-22 23: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-22 23:09: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-22 23: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-22 23:09: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-22 23: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-22 23: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-22 23:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579511552001,"66":13135,"102":206,"83":41984,"24":6,"16":15164756428062720,"45":1831065122847369216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579511552001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:09:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:09:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164756428062720,"km_value":15164756428062.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847369216,"description":"Unknown IO ID 45"} 
[2026-08-22 23:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579511552001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1831065122847369216}} 
[2026-08-22 23:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":161297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:09:25] local.INFO: GPS data processed {"connection_id":161297,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:09:25] local.INFO: Acknowledgment sent {"connection_id":161297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:09:25] local.INFO: TCP Data received {"connection_id":161298,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8ced50012d7b820005f5ec680014005c29..."} 
[2026-08-22 23:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8ced50012d7b820005f5ec680014005c29..."} 
[2026-08-22 23:09:25] local.INFO: Processing buffer {"connection_id":161298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8ced50012d7b820005f5ec680014005c29..."} 
[2026-08-22 23:09:25] local.INFO: Packet analysis {"connection_id":161298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a8c"} 
[2026-08-22 23:09:25] local.INFO: Extracted packet for processing {"connection_id":161298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a8c"} 
[2026-08-22 23:09:25] local.INFO: GPS Element Parsed {"raw_longitude":763068928,"raw_latitude":100002920,"longitude_deg":76.3068928,"latitude_deg":10.000292,"altitude":20,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d7b8200","hex_latitude":"05f5ec68","is_valid_coordinates":true} 
[2026-08-22 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-22 23:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579584768001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178647526768640,"note":"Value kept but may cause issues"} 
[2026-08-22 23:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899675839238268928,"note":"Value kept but may cause issues"} 
[2026-08-22 23:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787420274000,"timestamp_ms":1787420274000,"timestamp_seconds":1787420274,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8ced50"} 
[2026-08-22 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-22 23: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-22 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 23:09: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-22 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-22 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-22 23:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579584768001,"66":27876,"160":206,"87":12800,"24":0,"16":389178647526768640,"45":8899675839238268928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579584768001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:09:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:09:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178647526768640,"km_value":389178647526768.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899675839238268928,"description":"Unknown IO ID 45"} 
[2026-08-22 23:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579584768001,"power":27876,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899675839238268928}} 
[2026-08-22 23:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":161298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:09:25] local.INFO: GPS data processed {"connection_id":161298,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:09:25] local.INFO: Acknowledgment sent {"connection_id":161298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:09:52] local.INFO: TCP Data received {"connection_id":160120,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:09:52] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:09:52] local.INFO: IMEI packet received {"connection_id":160120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":160120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:09:53] local.INFO: TCP Data received {"connection_id":161299,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:09:53] local.INFO: Processing buffer {"connection_id":161299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:09:53] local.INFO: IMEI packet received {"connection_id":161299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":161299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:09:56] local.INFO: TCP Data received {"connection_id":161299,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:09:56] local.INFO: Processing buffer {"connection_id":161299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:09:56] local.INFO: IMEI packet received {"connection_id":161299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":161299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:09:56] local.INFO: TCP Data received {"connection_id":160120,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:09:57] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:09:57] local.INFO: IMEI packet received {"connection_id":160120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":160120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:09:57] local.INFO: TCP Data received {"connection_id":161299,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8d3f58012d7b820005f5ec680014005c29..."} 
[2026-08-22 23:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8d3f58012d7b820005f5ec680014005c29..."} 
[2026-08-22 23:09:57] local.INFO: Processing buffer {"connection_id":161299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8d3f58012d7b820005f5ec680014005c29..."} 
[2026-08-22 23:09:57] local.INFO: Packet analysis {"connection_id":161299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a8d"} 
[2026-08-22 23:09:57] local.INFO: Extracted packet for processing {"connection_id":161299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a8d"} 
[2026-08-22 23:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763068928,"raw_latitude":100002920,"longitude_deg":76.3068928,"latitude_deg":10.000292,"altitude":20,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d7b8200","hex_latitude":"05f5ec68","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579590144001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178647526768640,"note":"Value kept but may cause issues"} 
[2026-08-22 23:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899675839238268928,"note":"Value kept but may cause issues"} 
[2026-08-22 23:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787420295000,"timestamp_ms":1787420295000,"timestamp_seconds":1787420295,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8d3f58"} 
[2026-08-22 23: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-22 23: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-22 23: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":228,"data_length":795,"current_offset":136} 
[2026-08-22 23:09: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-22 23: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-22 23: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-22 23:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579590144001,"66":27865,"160":206,"87":12800,"24":0,"16":389178647526768640,"45":8899675839238268928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579590144001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:09:57] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:09:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178647526768640,"km_value":389178647526768.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899675839238268928,"description":"Unknown IO ID 45"} 
[2026-08-22 23:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579590144001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899675839238268928}} 
[2026-08-22 23:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":161299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:09:57] local.INFO: GPS data processed {"connection_id":161299,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:09:57] local.INFO: Acknowledgment sent {"connection_id":161299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:09:57] local.INFO: TCP Data received {"connection_id":160120,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02a889408012d1967c0071fee00003b013725..."} 
[2026-08-22 23:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a889408012d1967c0071fee00003b013725..."} 
[2026-08-22 23:09:57] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a889408012d1967c0071fee00003b013725..."} 
[2026-08-22 23:09:57] local.INFO: Packet analysis {"connection_id":160120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:09:57] local.INFO: Extracted packet for processing {"connection_id":160120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533056,"longitude_deg":75.663968,"latitude_deg":11.9533056,"altitude":59,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579511808001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-08-22 23:09: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-22 23:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787419989000,"timestamp_ms":1787419989000,"timestamp_seconds":1787419989,"priority":1,"record_length":96,"hex_timestamp":"000001a02a889408"} 
[2026-08-22 23: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-22 23:09:57] 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-22 23: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-22 23:09:57] 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-22 23: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-22 23: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-22 23:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579511808001,"66":12939,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830854016614862848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579511808001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:09:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:09:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-08-22 23:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579511808001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-08-22 23:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":160120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:09:57] local.INFO: GPS data processed {"connection_id":160120,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:09:57] local.INFO: Acknowledgment sent {"connection_id":160120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:09:58] local.INFO: TCP Data received {"connection_id":161299,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8d9160012d7b820005f5ec680014005c28..."} 
[2026-08-22 23:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8d9160012d7b820005f5ec680014005c28..."} 
[2026-08-22 23:09:58] local.INFO: Processing buffer {"connection_id":161299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8d9160012d7b820005f5ec680014005c28..."} 
[2026-08-22 23:09:58] local.INFO: Packet analysis {"connection_id":161299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a8d"} 
[2026-08-22 23:09:58] local.INFO: Extracted packet for processing {"connection_id":161299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a8d"} 
[2026-08-22 23:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763068928,"raw_latitude":100002920,"longitude_deg":76.3068928,"latitude_deg":10.000292,"altitude":20,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d7b8200","hex_latitude":"05f5ec68","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579595520001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178647526768640,"note":"Value kept but may cause issues"} 
[2026-08-22 23:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899675839238268928,"note":"Value kept but may cause issues"} 
[2026-08-22 23:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787420316000,"timestamp_ms":1787420316000,"timestamp_seconds":1787420316,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8d9160"} 
[2026-08-22 23: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-22 23: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-22 23: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":217,"data_length":795,"current_offset":136} 
[2026-08-22 23:09: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-22 23: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-22 23: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-22 23:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579595520001,"66":27745,"160":206,"87":12800,"24":0,"16":389178647526768640,"45":8899675839238268928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579595520001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:09:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:09:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178647526768640,"km_value":389178647526768.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899675839238268928,"description":"Unknown IO ID 45"} 
[2026-08-22 23:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579595520001,"power":27745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899675839238268928}} 
[2026-08-22 23:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":161299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:09:58] local.INFO: GPS data processed {"connection_id":161299,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:09:58] local.INFO: Acknowledgment sent {"connection_id":161299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:10:28] local.INFO: TCP Data received {"connection_id":160120,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:10:28] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:10:28] local.INFO: Packet analysis {"connection_id":160120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:10:28] local.INFO: Extracted packet for processing {"connection_id":160120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533056,"longitude_deg":75.663968,"latitude_deg":11.9533056,"altitude":59,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-22 23:10: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-22 23:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517184001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787419990000,"timestamp_ms":1787419990000,"timestamp_seconds":1787419990,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8897f0"} 
[2026-08-22 23:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:10: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-22 23:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-22 23:10:28] 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-22 23:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517184001,"66":12537,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517184001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:10:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517184001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":160120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:10:29] local.INFO: GPS data processed {"connection_id":160120,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:10:29] local.INFO: Acknowledgment sent {"connection_id":160120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:10:29] local.INFO: TCP Data received {"connection_id":161299,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8de368012d7b820005f5ec680014005c29..."} 
[2026-08-22 23:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8de368012d7b820005f5ec680014005c29..."} 
[2026-08-22 23:10:29] local.INFO: Processing buffer {"connection_id":161299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8de368012d7b820005f5ec680014005c29..."} 
[2026-08-22 23:10:29] local.INFO: Packet analysis {"connection_id":161299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a8d"} 
[2026-08-22 23:10:29] local.INFO: Extracted packet for processing {"connection_id":161299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a8d"} 
[2026-08-22 23:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763068928,"raw_latitude":100002920,"longitude_deg":76.3068928,"latitude_deg":10.000292,"altitude":20,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d7b8200","hex_latitude":"05f5ec68","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579600896001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178647526768640,"note":"Value kept but may cause issues"} 
[2026-08-22 23:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899675839238268928,"note":"Value kept but may cause issues"} 
[2026-08-22 23:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787420337000,"timestamp_ms":1787420337000,"timestamp_seconds":1787420337,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8de368"} 
[2026-08-22 23: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-22 23: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-22 23: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":97,"data_length":795,"current_offset":136} 
[2026-08-22 23:10: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-22 23: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-22 23: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-22 23:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579600896001,"66":27865,"160":206,"87":12800,"24":0,"16":389178647526768640,"45":8899675839238268928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579600896001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:10:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:10:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178647526768640,"km_value":389178647526768.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899675839238268928,"description":"Unknown IO ID 45"} 
[2026-08-22 23:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579600896001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899675839238268928}} 
[2026-08-22 23:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":161299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:10:29] local.INFO: GPS data processed {"connection_id":161299,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:10:29] local.INFO: Acknowledgment sent {"connection_id":161299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:10:48] local.INFO: TCP Data received {"connection_id":161300,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:10:48] local.INFO: Processing buffer {"connection_id":161300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:10:48] local.INFO: IMEI packet received {"connection_id":161300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":161300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:10:52] local.INFO: TCP Data received {"connection_id":160341,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:10:52] local.INFO: Processing buffer {"connection_id":160341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:10:52] local.INFO: IMEI packet received {"connection_id":160341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":160341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:10:53] local.INFO: TCP Data received {"connection_id":161300,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:10:53] local.INFO: Processing buffer {"connection_id":161300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:10:53] local.INFO: IMEI packet received {"connection_id":161300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":161300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:10:54] local.INFO: TCP Data received {"connection_id":161300,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8e3570012d7b820005f5ec680014005c2a..."} 
[2026-08-22 23:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8e3570012d7b820005f5ec680014005c2a..."} 
[2026-08-22 23:10:54] local.INFO: Processing buffer {"connection_id":161300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8e3570012d7b820005f5ec680014005c2a..."} 
[2026-08-22 23:10:54] local.INFO: Packet analysis {"connection_id":161300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a8e"} 
[2026-08-22 23:10:54] local.INFO: Extracted packet for processing {"connection_id":161300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a8e"} 
[2026-08-22 23:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763068928,"raw_latitude":100002920,"longitude_deg":76.3068928,"latitude_deg":10.000292,"altitude":20,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d7b8200","hex_latitude":"05f5ec68","is_valid_coordinates":true} 
[2026-08-22 23:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579606272001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178647526768640,"note":"Value kept but may cause issues"} 
[2026-08-22 23:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899675839238268928,"note":"Value kept but may cause issues"} 
[2026-08-22 23:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787420358000,"timestamp_ms":1787420358000,"timestamp_seconds":1787420358,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8e3570"} 
[2026-08-22 23:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:10: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-22 23:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-22 23:10: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-22 23:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579606272001,"66":27876,"160":206,"87":12800,"24":0,"16":389178647526768640,"45":8899675839238268928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579606272001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:10:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:10:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178647526768640,"km_value":389178647526768.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899675839238268928,"description":"Unknown IO ID 45"} 
[2026-08-22 23:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579606272001,"power":27876,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899675839238268928}} 
[2026-08-22 23:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":161300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:10:54] local.INFO: GPS data processed {"connection_id":161300,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:10:54] local.INFO: Acknowledgment sent {"connection_id":161300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:10:57] local.INFO: TCP Data received {"connection_id":160341,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:10:57] local.INFO: Processing buffer {"connection_id":160341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:10:57] local.INFO: IMEI packet received {"connection_id":160341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":160341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:10:57] local.INFO: TCP Data received {"connection_id":160341,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:10:57] local.INFO: Processing buffer {"connection_id":160341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:10:57] local.INFO: Packet analysis {"connection_id":160341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:10:57] local.INFO: Extracted packet for processing {"connection_id":160341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:10:57] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533056,"longitude_deg":75.663968,"latitude_deg":11.9533056,"altitude":59,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-22 23:10:57] 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-22 23:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:10: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-22 23:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787419990000,"timestamp_ms":1787419990000,"timestamp_seconds":1787419990,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8897f0"} 
[2026-08-22 23: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-22 23:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 23:10:57] 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-22 23: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-22 23: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-22 23:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":12537,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:10:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:10:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":160341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:10:58] local.INFO: GPS data processed {"connection_id":160341,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:10:58] local.INFO: Acknowledgment sent {"connection_id":160341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:11:25] local.INFO: TCP Data received {"connection_id":161300,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8e8778012d7b820005f5ec680014005c2a..."} 
[2026-08-22 23:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8e8778012d7b820005f5ec680014005c2a..."} 
[2026-08-22 23:11:25] local.INFO: Processing buffer {"connection_id":161300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8e8778012d7b820005f5ec680014005c2a..."} 
[2026-08-22 23:11:25] local.INFO: Packet analysis {"connection_id":161300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a8e"} 
[2026-08-22 23:11:25] local.INFO: Extracted packet for processing {"connection_id":161300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a8e"} 
[2026-08-22 23:11:25] local.INFO: GPS Element Parsed {"raw_longitude":763068928,"raw_latitude":100002920,"longitude_deg":76.3068928,"latitude_deg":10.000292,"altitude":20,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d7b8200","hex_latitude":"05f5ec68","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579611648001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178647526768640,"note":"Value kept but may cause issues"} 
[2026-08-22 23:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899675839238268928,"note":"Value kept but may cause issues"} 
[2026-08-22 23:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787420379000,"timestamp_ms":1787420379000,"timestamp_seconds":1787420379,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8e8778"} 
[2026-08-22 23: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-22 23: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-22 23: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":228,"data_length":795,"current_offset":136} 
[2026-08-22 23:11: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-22 23: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-22 23: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-22 23:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579611648001,"66":27908,"160":206,"87":12800,"24":0,"16":389178647526768640,"45":8899675839238268928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579611648001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:11:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:11:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178647526768640,"km_value":389178647526768.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899675839238268928,"description":"Unknown IO ID 45"} 
[2026-08-22 23:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579611648001,"power":27908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899675839238268928}} 
[2026-08-22 23:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":161300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:11:25] local.INFO: GPS data processed {"connection_id":161300,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:11:25] local.INFO: Acknowledgment sent {"connection_id":161300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:11:29] local.INFO: TCP Data received {"connection_id":160341,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:11:29] local.INFO: Processing buffer {"connection_id":160341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:11:29] local.INFO: Packet analysis {"connection_id":160341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:11:29] local.INFO: Extracted packet for processing {"connection_id":160341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:11:29] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533056,"longitude_deg":75.663968,"latitude_deg":11.9533056,"altitude":59,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-22 23:11:29] 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-22 23:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787419990000,"timestamp_ms":1787419990000,"timestamp_seconds":1787419990,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8897f0"} 
[2026-08-22 23:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 23:11:29] 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-22 23:11: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-22 23:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":12537,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:11:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:11:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":160341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:11:29] local.INFO: GPS data processed {"connection_id":160341,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:11:29] local.INFO: Acknowledgment sent {"connection_id":160341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:11:48] local.INFO: TCP Data received {"connection_id":161301,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:11:48] local.INFO: Processing buffer {"connection_id":161301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:11:48] local.INFO: IMEI packet received {"connection_id":161301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":161301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:11:51] local.INFO: TCP Data received {"connection_id":160121,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:11:51] local.INFO: Processing buffer {"connection_id":160121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:11:51] local.INFO: IMEI packet received {"connection_id":160121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":160121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:11:53] local.INFO: TCP Data received {"connection_id":161301,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:11:53] local.INFO: Processing buffer {"connection_id":161301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:11:53] local.INFO: IMEI packet received {"connection_id":161301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":161301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:11:54] local.INFO: TCP Data received {"connection_id":161301,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8ed980012d7b850005f5ee98000c005c2a..."} 
[2026-08-22 23:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8ed980012d7b850005f5ee98000c005c2a..."} 
[2026-08-22 23:11:54] local.INFO: Processing buffer {"connection_id":161301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8ed980012d7b850005f5ee98000c005c2a..."} 
[2026-08-22 23:11:54] local.INFO: Packet analysis {"connection_id":161301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a8e"} 
[2026-08-22 23:11:54] local.INFO: Extracted packet for processing {"connection_id":161301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a8e"} 
[2026-08-22 23:11:54] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100003480,"longitude_deg":76.3069696,"latitude_deg":10.000348,"altitude":12,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5ee98","is_valid_coordinates":true} 
[2026-08-22 23:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579617024001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178694771408896,"note":"Value kept but may cause issues"} 
[2026-08-22 23:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899675839238268928,"note":"Value kept but may cause issues"} 
[2026-08-22 23:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787420400000,"timestamp_ms":1787420400000,"timestamp_seconds":1787420400,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8ed980"} 
[2026-08-22 23:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:11: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-22 23:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 23:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579617024001,"66":27876,"160":206,"87":12800,"24":0,"16":389178694771408896,"45":8899675839238268928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579617024001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:11:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:11:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178694771408896,"km_value":389178694771408.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899675839238268928,"description":"Unknown IO ID 45"} 
[2026-08-22 23:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579617024001,"power":27876,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899675839238268928}} 
[2026-08-22 23:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":161301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:11:54] local.INFO: GPS data processed {"connection_id":161301,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:11:54] local.INFO: Acknowledgment sent {"connection_id":161301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:11:57] local.INFO: TCP Data received {"connection_id":160121,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:11:57] local.INFO: Processing buffer {"connection_id":160121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:11:57] local.INFO: IMEI packet received {"connection_id":160121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":160121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:11:57] local.INFO: TCP Data received {"connection_id":160121,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:11:57] local.INFO: Processing buffer {"connection_id":160121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:11:57] local.INFO: Packet analysis {"connection_id":160121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:11:57] local.INFO: Extracted packet for processing {"connection_id":160121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:11:57] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533056,"longitude_deg":75.663968,"latitude_deg":11.9533056,"altitude":59,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-22 23:11:57] 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-22 23:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:11: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-22 23:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787419990000,"timestamp_ms":1787419990000,"timestamp_seconds":1787419990,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8897f0"} 
[2026-08-22 23:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 23:11:57] 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-22 23:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":12537,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:11:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:11:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":160121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:11:57] local.INFO: GPS data processed {"connection_id":160121,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:11:57] local.INFO: Acknowledgment sent {"connection_id":160121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:12:25] local.INFO: TCP Data received {"connection_id":161301,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8f2b88012d7b850005f5ee98000c005c29..."} 
[2026-08-22 23:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8f2b88012d7b850005f5ee98000c005c29..."} 
[2026-08-22 23:12:25] local.INFO: Processing buffer {"connection_id":161301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8f2b88012d7b850005f5ee98000c005c29..."} 
[2026-08-22 23:12:25] local.INFO: Packet analysis {"connection_id":161301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a8f"} 
[2026-08-22 23:12:25] local.INFO: Extracted packet for processing {"connection_id":161301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a8f"} 
[2026-08-22 23:12:25] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100003480,"longitude_deg":76.3069696,"latitude_deg":10.000348,"altitude":12,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5ee98","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579622400001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178694771408896,"note":"Value kept but may cause issues"} 
[2026-08-22 23:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168544256,"note":"Value kept but may cause issues"} 
[2026-08-22 23:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787420421000,"timestamp_ms":1787420421000,"timestamp_seconds":1787420421,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8f2b88"} 
[2026-08-22 23: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-22 23: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-22 23: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":228,"data_length":795,"current_offset":136} 
[2026-08-22 23:12: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-22 23: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-22 23: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-22 23:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579622400001,"66":27919,"160":206,"87":12800,"24":0,"16":389178694771408896,"45":8900520264168544256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579622400001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:12:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:12:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178694771408896,"km_value":389178694771408.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168544256,"description":"Unknown IO ID 45"} 
[2026-08-22 23:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579622400001,"power":27919,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168544256}} 
[2026-08-22 23:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":161301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:12:25] local.INFO: GPS data processed {"connection_id":161301,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:12:25] local.INFO: Acknowledgment sent {"connection_id":161301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:12:29] local.INFO: TCP Data received {"connection_id":160121,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:12:29] local.INFO: Processing buffer {"connection_id":160121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:12:29] local.INFO: Packet analysis {"connection_id":160121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:12:29] local.INFO: Extracted packet for processing {"connection_id":160121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533056,"longitude_deg":75.663968,"latitude_deg":11.9533056,"altitude":59,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-22 23:12:29] 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-22 23:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787419990000,"timestamp_ms":1787419990000,"timestamp_seconds":1787419990,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8897f0"} 
[2026-08-22 23: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-22 23:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 23:12:29] 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-22 23: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-22 23: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-22 23:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":12537,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:12:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:12:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":160121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:12:29] local.INFO: GPS data processed {"connection_id":160121,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:12:29] local.INFO: Acknowledgment sent {"connection_id":160121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:12:48] local.INFO: TCP Data received {"connection_id":161302,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:12:48] local.INFO: Processing buffer {"connection_id":161302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:12:48] local.INFO: IMEI packet received {"connection_id":161302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":161302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:12:53] local.INFO: TCP Data received {"connection_id":161302,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:12:53] local.INFO: Processing buffer {"connection_id":161302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:12:53] local.INFO: IMEI packet received {"connection_id":161302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":161302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:12:54] local.INFO: TCP Data received {"connection_id":161302,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8f7d90012d7b850005f5ee98000c005c2b..."} 
[2026-08-22 23:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8f7d90012d7b850005f5ee98000c005c2b..."} 
[2026-08-22 23:12:54] local.INFO: Processing buffer {"connection_id":161302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8f7d90012d7b850005f5ee98000c005c2b..."} 
[2026-08-22 23:12:54] local.INFO: Packet analysis {"connection_id":161302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a8f"} 
[2026-08-22 23:12:54] local.INFO: Extracted packet for processing {"connection_id":161302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a8f"} 
[2026-08-22 23:12:54] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100003480,"longitude_deg":76.3069696,"latitude_deg":10.000348,"altitude":12,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5ee98","is_valid_coordinates":true} 
[2026-08-22 23:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579627776001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178694771408896,"note":"Value kept but may cause issues"} 
[2026-08-22 23:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168544256,"note":"Value kept but may cause issues"} 
[2026-08-22 23:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787420442000,"timestamp_ms":1787420442000,"timestamp_seconds":1787420442,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8f7d90"} 
[2026-08-22 23:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:12: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-22 23:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 23:12: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-22 23:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579627776001,"66":27876,"160":206,"87":12800,"24":0,"16":389178694771408896,"45":8900520264168544256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579627776001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:12:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:12:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178694771408896,"km_value":389178694771408.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168544256,"description":"Unknown IO ID 45"} 
[2026-08-22 23:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579627776001,"power":27876,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168544256}} 
[2026-08-22 23:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":161302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:12:54] local.INFO: GPS data processed {"connection_id":161302,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:12:54] local.INFO: Acknowledgment sent {"connection_id":161302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:12:57] local.INFO: TCP Data received {"connection_id":160342,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:12:57] local.INFO: Processing buffer {"connection_id":160342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:12:57] local.INFO: IMEI packet received {"connection_id":160342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":160342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:13:02] local.INFO: TCP Data received {"connection_id":160342,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:13:02] local.INFO: Processing buffer {"connection_id":160342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:13:02] local.INFO: IMEI packet received {"connection_id":160342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":160342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:13:02] local.INFO: TCP Data received {"connection_id":160342,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:13:02] local.INFO: Processing buffer {"connection_id":160342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:13:02] local.INFO: Packet analysis {"connection_id":160342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:13:02] local.INFO: Extracted packet for processing {"connection_id":160342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:13:02] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533056,"longitude_deg":75.663968,"latitude_deg":11.9533056,"altitude":59,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-22 23:13:02] 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-22 23:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787419990000,"timestamp_ms":1787419990000,"timestamp_seconds":1787419990,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8897f0"} 
[2026-08-22 23: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-22 23:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 23:13:02] 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-22 23: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-22 23: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-22 23:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":12537,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:13:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:13:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":160342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:13:03] local.INFO: GPS data processed {"connection_id":160342,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:13:03] local.INFO: Acknowledgment sent {"connection_id":160342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:13:07] local.INFO: TCP Data received {"connection_id":160342,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:13:07] local.INFO: Processing buffer {"connection_id":160342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8897f0012d1967c0071fee00003b013724..."} 
[2026-08-22 23:13:07] local.INFO: Packet analysis {"connection_id":160342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:13:07] local.INFO: Extracted packet for processing {"connection_id":160342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a88"} 
[2026-08-22 23:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533056,"longitude_deg":75.663968,"latitude_deg":11.9533056,"altitude":59,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-22 23:13:07] 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-22 23:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787419990000,"timestamp_ms":1787419990000,"timestamp_seconds":1787419990,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8897f0"} 
[2026-08-22 23: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-22 23:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 23:13:07] 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-22 23: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-22 23: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-22 23:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":12537,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:13:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":160342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:13:07] local.INFO: GPS data processed {"connection_id":160342,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:13:07] local.INFO: Acknowledgment sent {"connection_id":160342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:13:25] local.INFO: TCP Data received {"connection_id":161302,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a8fcf98012d7b850005f5ee98000c005c2a..."} 
[2026-08-22 23:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a8fcf98012d7b850005f5ee98000c005c2a..."} 
[2026-08-22 23:13:25] local.INFO: Processing buffer {"connection_id":161302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a8fcf98012d7b850005f5ee98000c005c2a..."} 
[2026-08-22 23:13:25] local.INFO: Packet analysis {"connection_id":161302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a8f"} 
[2026-08-22 23:13:25] local.INFO: Extracted packet for processing {"connection_id":161302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a8f"} 
[2026-08-22 23:13:25] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100003480,"longitude_deg":76.3069696,"latitude_deg":10.000348,"altitude":12,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5ee98","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579633152001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178694771408896,"note":"Value kept but may cause issues"} 
[2026-08-22 23:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168544256,"note":"Value kept but may cause issues"} 
[2026-08-22 23:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787420463000,"timestamp_ms":1787420463000,"timestamp_seconds":1787420463,"priority":1,"record_length":96,"hex_timestamp":"000001a02a8fcf98"} 
[2026-08-22 23: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-22 23: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-22 23: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":228,"data_length":795,"current_offset":136} 
[2026-08-22 23:13: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-22 23: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-22 23: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-22 23:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579633152001,"66":27876,"160":206,"87":12800,"24":0,"16":389178694771408896,"45":8900520264168544256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579633152001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:13:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:13:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178694771408896,"km_value":389178694771408.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168544256,"description":"Unknown IO ID 45"} 
[2026-08-22 23:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579633152001,"power":27876,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168544256}} 
[2026-08-22 23:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":161302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:13:25] local.INFO: GPS data processed {"connection_id":161302,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:13:25] local.INFO: Acknowledgment sent {"connection_id":161302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:13:47] local.INFO: TCP Data received {"connection_id":160343,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:13:47] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:13:47] local.INFO: IMEI packet received {"connection_id":160343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":160343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:13:48] local.INFO: TCP Data received {"connection_id":160343,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:13:48] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:13:48] local.INFO: IMEI packet received {"connection_id":160343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":160343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:13:52] local.INFO: TCP Data received {"connection_id":162709,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:13:52] local.INFO: Processing buffer {"connection_id":162709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:13:52] local.INFO: IMEI packet received {"connection_id":162709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":162709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:13:54] local.INFO: TCP Data received {"connection_id":160343,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:13:54] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:13:54] local.INFO: IMEI packet received {"connection_id":160343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":160343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:13:54] local.INFO: TCP Data received {"connection_id":160343,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9021a0012d7b850005f5ee98000c005c28..."} 
[2026-08-22 23:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9021a0012d7b850005f5ee98000c005c28..."} 
[2026-08-22 23:13:54] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9021a0012d7b850005f5ee98000c005c28..."} 
[2026-08-22 23:13:54] local.INFO: Packet analysis {"connection_id":160343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a90"} 
[2026-08-22 23:13:54] local.INFO: Extracted packet for processing {"connection_id":160343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a90"} 
[2026-08-22 23:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100003480,"longitude_deg":76.3069696,"latitude_deg":10.000348,"altitude":12,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5ee98","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579638528001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178694771408896,"note":"Value kept but may cause issues"} 
[2026-08-22 23:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168544256,"note":"Value kept but may cause issues"} 
[2026-08-22 23:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787420484000,"timestamp_ms":1787420484000,"timestamp_seconds":1787420484,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9021a0"} 
[2026-08-22 23: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-22 23:13: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-22 23: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-22 23:13:54] 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-22 23: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-22 23: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-22 23:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579638528001,"66":27876,"160":206,"87":12800,"24":0,"16":389178694771408896,"45":8900520264168544256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579638528001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:13:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:13:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178694771408896,"km_value":389178694771408.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168544256,"description":"Unknown IO ID 45"} 
[2026-08-22 23:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579638528001,"power":27876,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168544256}} 
[2026-08-22 23:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":160343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:13:54] local.INFO: GPS data processed {"connection_id":160343,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:13:54] local.INFO: Acknowledgment sent {"connection_id":160343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:13:57] local.INFO: TCP Data received {"connection_id":162709,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:13:57] local.INFO: Processing buffer {"connection_id":162709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:13:57] local.INFO: IMEI packet received {"connection_id":162709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":162709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:13:57] local.INFO: TCP Data received {"connection_id":162709,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:13:57] local.INFO: Processing buffer {"connection_id":162709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:13:57] local.INFO: Packet analysis {"connection_id":162709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:13:57] local.INFO: Extracted packet for processing {"connection_id":162709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:13:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:13: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-22 23:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787420569000,"timestamp_ms":1787420569000,"timestamp_seconds":1787420569,"priority":1,"record_length":96,"hex_timestamp":"000001a02a916da8"} 
[2026-08-22 23: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-22 23:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 23:13:57] 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-22 23: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-22 23: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-22 23:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:13:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:13:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":162709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:13:57] local.INFO: GPS data processed {"connection_id":162709,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:13:57] local.INFO: Acknowledgment sent {"connection_id":162709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:14:26] local.INFO: TCP Data received {"connection_id":160343,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9073a8012d7b850005f5ee98000c005c27..."} 
[2026-08-22 23:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9073a8012d7b850005f5ee98000c005c27..."} 
[2026-08-22 23:14:26] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9073a8012d7b850005f5ee98000c005c27..."} 
[2026-08-22 23:14:26] local.INFO: Packet analysis {"connection_id":160343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a90"} 
[2026-08-22 23:14:26] local.INFO: Extracted packet for processing {"connection_id":160343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a90"} 
[2026-08-22 23:14:26] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100003480,"longitude_deg":76.3069696,"latitude_deg":10.000348,"altitude":12,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5ee98","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579643904001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178694771408896,"note":"Value kept but may cause issues"} 
[2026-08-22 23:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168544256,"note":"Value kept but may cause issues"} 
[2026-08-22 23:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787420505000,"timestamp_ms":1787420505000,"timestamp_seconds":1787420505,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9073a8"} 
[2026-08-22 23: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-22 23: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-22 23: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":228,"data_length":795,"current_offset":136} 
[2026-08-22 23:14: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-22 23: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-22 23: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-22 23:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579643904001,"66":27919,"160":206,"87":12800,"24":0,"16":389178694771408896,"45":8900520264168544256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579643904001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:14:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:14:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178694771408896,"km_value":389178694771408.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168544256,"description":"Unknown IO ID 45"} 
[2026-08-22 23:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579643904001,"power":27919,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168544256}} 
[2026-08-22 23:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":160343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:14:26] local.INFO: GPS data processed {"connection_id":160343,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:14:26] local.INFO: Acknowledgment sent {"connection_id":160343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:14:28] local.INFO: TCP Data received {"connection_id":162709,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:14:28] local.INFO: Processing buffer {"connection_id":162709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:14:28] local.INFO: Packet analysis {"connection_id":162709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:14:28] local.INFO: Extracted packet for processing {"connection_id":162709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787420569000,"timestamp_ms":1787420569000,"timestamp_seconds":1787420569,"priority":1,"record_length":96,"hex_timestamp":"000001a02a916da8"} 
[2026-08-22 23: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-22 23:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 23:14:28] 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-22 23: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-22 23: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-22 23:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:14:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":162709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:14:29] local.INFO: GPS data processed {"connection_id":162709,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:14:29] local.INFO: Acknowledgment sent {"connection_id":162709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:14:48] local.INFO: TCP Data received {"connection_id":160344,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:14:48] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:14:48] local.INFO: IMEI packet received {"connection_id":160344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":160344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:14:50] local.INFO: TCP Data received {"connection_id":160344,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:14:50] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:14:50] local.INFO: IMEI packet received {"connection_id":160344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":160344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:14:52] local.INFO: TCP Data received {"connection_id":161303,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:14:52] local.INFO: Processing buffer {"connection_id":161303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:14:52] local.INFO: IMEI packet received {"connection_id":161303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":161303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:14:52] local.INFO: TCP Data received {"connection_id":160344,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:14:52] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:14:52] local.INFO: IMEI packet received {"connection_id":160344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":160344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:14:53] local.INFO: TCP Data received {"connection_id":160344,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a90c5b0012d7b850005f5ee98000c005c29..."} 
[2026-08-22 23:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a90c5b0012d7b850005f5ee98000c005c29..."} 
[2026-08-22 23:14:53] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a90c5b0012d7b850005f5ee98000c005c29..."} 
[2026-08-22 23:14:53] local.INFO: Packet analysis {"connection_id":160344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a90"} 
[2026-08-22 23:14:53] local.INFO: Extracted packet for processing {"connection_id":160344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a90"} 
[2026-08-22 23:14:53] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100003480,"longitude_deg":76.3069696,"latitude_deg":10.000348,"altitude":12,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5ee98","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579649280001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178694771408896,"note":"Value kept but may cause issues"} 
[2026-08-22 23:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168544256,"note":"Value kept but may cause issues"} 
[2026-08-22 23:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787420526000,"timestamp_ms":1787420526000,"timestamp_seconds":1787420526,"priority":1,"record_length":96,"hex_timestamp":"000001a02a90c5b0"} 
[2026-08-22 23: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-22 23:14: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-22 23: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 23:14:53] 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-22 23: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-22 23: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-22 23:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579649280001,"66":27930,"160":206,"87":12800,"24":0,"16":389178694771408896,"45":8900520264168544256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579649280001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:14:53] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:14:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178694771408896,"km_value":389178694771408.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168544256,"description":"Unknown IO ID 45"} 
[2026-08-22 23:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579649280001,"power":27930,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168544256}} 
[2026-08-22 23:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":160344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:14:53] local.INFO: GPS data processed {"connection_id":160344,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:14:53] local.INFO: Acknowledgment sent {"connection_id":160344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:14:57] local.INFO: TCP Data received {"connection_id":161303,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:14:57] local.INFO: Processing buffer {"connection_id":161303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:14:57] local.INFO: IMEI packet received {"connection_id":161303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":161303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:14:57] local.INFO: TCP Data received {"connection_id":161303,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:14:57] local.INFO: Processing buffer {"connection_id":161303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:14:57] local.INFO: Packet analysis {"connection_id":161303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:14:57] local.INFO: Extracted packet for processing {"connection_id":161303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:14:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:14: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-22 23:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787420569000,"timestamp_ms":1787420569000,"timestamp_seconds":1787420569,"priority":1,"record_length":96,"hex_timestamp":"000001a02a916da8"} 
[2026-08-22 23: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-22 23:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 23:14:57] 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-22 23: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-22 23: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-22 23:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:14:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:14:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":161303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:14:57] local.INFO: GPS data processed {"connection_id":161303,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:14:57] local.INFO: Acknowledgment sent {"connection_id":161303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:15:25] local.INFO: TCP Data received {"connection_id":160344,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9117b8012d7b850005f5ee98000c005c2a..."} 
[2026-08-22 23:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9117b8012d7b850005f5ee98000c005c2a..."} 
[2026-08-22 23:15:25] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9117b8012d7b850005f5ee98000c005c2a..."} 
[2026-08-22 23:15:25] local.INFO: Packet analysis {"connection_id":160344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:15:25] local.INFO: Extracted packet for processing {"connection_id":160344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:15:25] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100003480,"longitude_deg":76.3069696,"latitude_deg":10.000348,"altitude":12,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5ee98","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579654656001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178694771408896,"note":"Value kept but may cause issues"} 
[2026-08-22 23:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168544256,"note":"Value kept but may cause issues"} 
[2026-08-22 23:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787420547000,"timestamp_ms":1787420547000,"timestamp_seconds":1787420547,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9117b8"} 
[2026-08-22 23: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-22 23: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-22 23: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-22 23:15: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-22 23: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-22 23: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-22 23:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579654656001,"66":27919,"160":206,"87":12800,"24":0,"16":389178694771408896,"45":8900520264168544256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579654656001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:15:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:15:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178694771408896,"km_value":389178694771408.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168544256,"description":"Unknown IO ID 45"} 
[2026-08-22 23:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579654656001,"power":27919,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168544256}} 
[2026-08-22 23:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":160344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:15:25] local.INFO: GPS data processed {"connection_id":160344,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:15:25] local.INFO: Acknowledgment sent {"connection_id":160344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:15:29] local.INFO: TCP Data received {"connection_id":161303,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:15:29] local.INFO: Processing buffer {"connection_id":161303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:15:29] local.INFO: Packet analysis {"connection_id":161303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:15:29] local.INFO: Extracted packet for processing {"connection_id":161303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:15:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 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-22 23:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787420569000,"timestamp_ms":1787420569000,"timestamp_seconds":1787420569,"priority":1,"record_length":96,"hex_timestamp":"000001a02a916da8"} 
[2026-08-22 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-22 23:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 23:15:29] 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-22 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-22 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-22 23:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:15:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:15:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":161303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:15:29] local.INFO: GPS data processed {"connection_id":161303,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:15:29] local.INFO: Acknowledgment sent {"connection_id":161303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:15:47] local.INFO: TCP Data received {"connection_id":160345,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:15:47] local.INFO: Processing buffer {"connection_id":160345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:15:47] local.INFO: IMEI packet received {"connection_id":160345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":160345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:15:52] local.INFO: TCP Data received {"connection_id":161304,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:15:52] local.INFO: Processing buffer {"connection_id":161304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:15:52] local.INFO: IMEI packet received {"connection_id":161304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":161304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:15:54] local.INFO: TCP Data received {"connection_id":160345,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:15:54] local.INFO: Processing buffer {"connection_id":160345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:15:54] local.INFO: IMEI packet received {"connection_id":160345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":160345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:15:55] local.INFO: TCP Data received {"connection_id":160345,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9169c0012d7b850005f5ee98000c005c2c..."} 
[2026-08-22 23:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9169c0012d7b850005f5ee98000c005c2c..."} 
[2026-08-22 23:15:55] local.INFO: Processing buffer {"connection_id":160345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9169c0012d7b850005f5ee98000c005c2c..."} 
[2026-08-22 23:15:55] local.INFO: Packet analysis {"connection_id":160345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:15:55] local.INFO: Extracted packet for processing {"connection_id":160345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100003480,"longitude_deg":76.3069696,"latitude_deg":10.000348,"altitude":12,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5ee98","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579660032001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178694771408896,"note":"Value kept but may cause issues"} 
[2026-08-22 23:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168544256,"note":"Value kept but may cause issues"} 
[2026-08-22 23:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787420568000,"timestamp_ms":1787420568000,"timestamp_seconds":1787420568,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9169c0"} 
[2026-08-22 23: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-22 23:15: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-22 23: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-22 23:15:55] 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-22 23: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-22 23: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-22 23:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579660032001,"66":27952,"160":206,"87":12800,"24":0,"16":389178694771408896,"45":8900520264168544256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579660032001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:15:55] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:15:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178694771408896,"km_value":389178694771408.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168544256,"description":"Unknown IO ID 45"} 
[2026-08-22 23:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579660032001,"power":27952,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168544256}} 
[2026-08-22 23:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":160345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:15:55] local.INFO: GPS data processed {"connection_id":160345,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:15:55] local.INFO: Acknowledgment sent {"connection_id":160345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:15:57] local.INFO: TCP Data received {"connection_id":161304,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:15:57] local.INFO: Processing buffer {"connection_id":161304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:15:57] local.INFO: IMEI packet received {"connection_id":161304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":161304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:15:57] local.INFO: TCP Data received {"connection_id":161304,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:15:57] local.INFO: Processing buffer {"connection_id":161304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:15:57] local.INFO: Packet analysis {"connection_id":161304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:15:57] local.INFO: Extracted packet for processing {"connection_id":161304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:15:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:15: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-22 23:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787420569000,"timestamp_ms":1787420569000,"timestamp_seconds":1787420569,"priority":1,"record_length":96,"hex_timestamp":"000001a02a916da8"} 
[2026-08-22 23: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-22 23:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 23:15:57] 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-22 23: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-22 23: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-22 23:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:15:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":161304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:15:57] local.INFO: GPS data processed {"connection_id":161304,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:15:57] local.INFO: Acknowledgment sent {"connection_id":161304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:16:26] local.INFO: TCP Data received {"connection_id":160345,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a91bbc8012d7b850005f5ee98000c005c29..."} 
[2026-08-22 23:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a91bbc8012d7b850005f5ee98000c005c29..."} 
[2026-08-22 23:16:26] local.INFO: Processing buffer {"connection_id":160345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a91bbc8012d7b850005f5ee98000c005c29..."} 
[2026-08-22 23:16:26] local.INFO: Packet analysis {"connection_id":160345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:16:26] local.INFO: Extracted packet for processing {"connection_id":160345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:16:26] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100003480,"longitude_deg":76.3069696,"latitude_deg":10.000348,"altitude":12,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5ee98","is_valid_coordinates":true} 
[2026-08-22 23:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579665408001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178694771408896,"note":"Value kept but may cause issues"} 
[2026-08-22 23:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168544256,"note":"Value kept but may cause issues"} 
[2026-08-22 23:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787420589000,"timestamp_ms":1787420589000,"timestamp_seconds":1787420589,"priority":1,"record_length":96,"hex_timestamp":"000001a02a91bbc8"} 
[2026-08-22 23:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23: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-22 23:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-08-22 23:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579665408001,"66":27930,"160":206,"87":12800,"24":0,"16":389178694771408896,"45":8900520264168544256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579665408001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:16:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:16:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178694771408896,"km_value":389178694771408.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168544256,"description":"Unknown IO ID 45"} 
[2026-08-22 23:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579665408001,"power":27930,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168544256}} 
[2026-08-22 23:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":160345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:16:26] local.INFO: GPS data processed {"connection_id":160345,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:16:26] local.INFO: Acknowledgment sent {"connection_id":160345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:16:29] local.INFO: TCP Data received {"connection_id":161304,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:16:29] local.INFO: Processing buffer {"connection_id":161304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:16:29] local.INFO: Packet analysis {"connection_id":161304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:16:29] local.INFO: Extracted packet for processing {"connection_id":161304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:16:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787420569000,"timestamp_ms":1787420569000,"timestamp_seconds":1787420569,"priority":1,"record_length":96,"hex_timestamp":"000001a02a916da8"} 
[2026-08-22 23: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-22 23:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 23:16:29] 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-22 23: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-22 23: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-22 23:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:16:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:16:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":161304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:16:29] local.INFO: GPS data processed {"connection_id":161304,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:16:29] local.INFO: Acknowledgment sent {"connection_id":161304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:16:51] local.INFO: TCP Data received {"connection_id":160122,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:16:51] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:16:51] local.INFO: IMEI packet received {"connection_id":160122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":160122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:16:53] local.INFO: TCP Data received {"connection_id":161305,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:16:53] local.INFO: Processing buffer {"connection_id":161305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:16:53] local.INFO: IMEI packet received {"connection_id":161305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":161305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:16:56] local.INFO: TCP Data received {"connection_id":161305,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:16:56] local.INFO: Processing buffer {"connection_id":161305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:16:56] local.INFO: IMEI packet received {"connection_id":161305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":161305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:16:57] local.INFO: TCP Data received {"connection_id":160122,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:16:57] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:16:57] local.INFO: IMEI packet received {"connection_id":160122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":160122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:16:57] local.INFO: TCP Data received {"connection_id":160122,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:16:57] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:16:57] local.INFO: Packet analysis {"connection_id":160122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:16:57] local.INFO: Extracted packet for processing {"connection_id":160122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:16:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:16: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-22 23:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787420569000,"timestamp_ms":1787420569000,"timestamp_seconds":1787420569,"priority":1,"record_length":96,"hex_timestamp":"000001a02a916da8"} 
[2026-08-22 23: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-22 23:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 23:16:57] 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-22 23: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-22 23: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-22 23:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:16:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:16:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:16:57] local.INFO: TCP Data received {"connection_id":161305,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a920dd0012d7b850005f5ee98000c005c2b..."} 
[2026-08-22 23:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a920dd0012d7b850005f5ee98000c005c2b..."} 
[2026-08-22 23:16:57] local.INFO: Processing buffer {"connection_id":161305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a920dd0012d7b850005f5ee98000c005c2b..."} 
[2026-08-22 23:16:57] local.INFO: Packet analysis {"connection_id":161305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a92"} 
[2026-08-22 23:16:57] local.INFO: Extracted packet for processing {"connection_id":161305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a92"} 
[2026-08-22 23:16:57] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100003480,"longitude_deg":76.3069696,"latitude_deg":10.000348,"altitude":12,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5ee98","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579670784001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178694771408896,"note":"Value kept but may cause issues"} 
[2026-08-22 23:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168544256,"note":"Value kept but may cause issues"} 
[2026-08-22 23:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787420610000,"timestamp_ms":1787420610000,"timestamp_seconds":1787420610,"priority":1,"record_length":96,"hex_timestamp":"000001a02a920dd0"} 
[2026-08-22 23: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-22 23: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-22 23: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-22 23:16: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-22 23: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-22 23: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-22 23:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579670784001,"66":27908,"160":206,"87":12800,"24":0,"16":389178694771408896,"45":8900520264168544256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579670784001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:16:57] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:16:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178694771408896,"km_value":389178694771408.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168544256,"description":"Unknown IO ID 45"} 
[2026-08-22 23:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579670784001,"power":27908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168544256}} 
[2026-08-22 23:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":161305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:16:57] local.INFO: GPS data processed {"connection_id":161305,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:16:57] local.INFO: Acknowledgment sent {"connection_id":161305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":160122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:16:57] local.INFO: GPS data processed {"connection_id":160122,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:16:57] local.INFO: Acknowledgment sent {"connection_id":160122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:16:59] local.INFO: TCP Data received {"connection_id":161305,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a925fd8012d7b850005f5ee98000c005c28..."} 
[2026-08-22 23:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a925fd8012d7b850005f5ee98000c005c28..."} 
[2026-08-22 23:16:59] local.INFO: Processing buffer {"connection_id":161305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a925fd8012d7b850005f5ee98000c005c28..."} 
[2026-08-22 23:16:59] local.INFO: Packet analysis {"connection_id":161305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a92"} 
[2026-08-22 23:16:59] local.INFO: Extracted packet for processing {"connection_id":161305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a92"} 
[2026-08-22 23:16:59] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100003480,"longitude_deg":76.3069696,"latitude_deg":10.000348,"altitude":12,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5ee98","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579676160001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178694771408896,"note":"Value kept but may cause issues"} 
[2026-08-22 23:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168544256,"note":"Value kept but may cause issues"} 
[2026-08-22 23:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787420631000,"timestamp_ms":1787420631000,"timestamp_seconds":1787420631,"priority":1,"record_length":96,"hex_timestamp":"000001a02a925fd8"} 
[2026-08-22 23: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-22 23:16: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-22 23: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-22 23:16: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-22 23: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-22 23: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-22 23:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579676160001,"66":27865,"160":206,"87":12800,"24":0,"16":389178694771408896,"45":8900520264168544256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579676160001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:16:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:16:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178694771408896,"km_value":389178694771408.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168544256,"description":"Unknown IO ID 45"} 
[2026-08-22 23:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579676160001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168544256}} 
[2026-08-22 23:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":161305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:16:59] local.INFO: GPS data processed {"connection_id":161305,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:16:59] local.INFO: Acknowledgment sent {"connection_id":161305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:17:28] local.INFO: TCP Data received {"connection_id":160122,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:17:28] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:17:28] local.INFO: Packet analysis {"connection_id":160122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:17:28] local.INFO: Extracted packet for processing {"connection_id":160122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:17: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-22 23:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787420569000,"timestamp_ms":1787420569000,"timestamp_seconds":1787420569,"priority":1,"record_length":96,"hex_timestamp":"000001a02a916da8"} 
[2026-08-22 23:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23:17: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":249,"data_length":795,"current_offset":136} 
[2026-08-22 23:17:28] 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-22 23:17: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-22 23:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:17:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:17:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":160122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:17:29] local.INFO: GPS data processed {"connection_id":160122,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:17:29] local.INFO: Acknowledgment sent {"connection_id":160122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:17:30] local.INFO: TCP Data received {"connection_id":161305,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a92b1e0012d7b850005f5ee98000c005c2a..."} 
[2026-08-22 23:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a92b1e0012d7b850005f5ee98000c005c2a..."} 
[2026-08-22 23:17:30] local.INFO: Processing buffer {"connection_id":161305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a92b1e0012d7b850005f5ee98000c005c2a..."} 
[2026-08-22 23:17:30] local.INFO: Packet analysis {"connection_id":161305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a92"} 
[2026-08-22 23:17:30] local.INFO: Extracted packet for processing {"connection_id":161305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a92"} 
[2026-08-22 23:17:30] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100003480,"longitude_deg":76.3069696,"latitude_deg":10.000348,"altitude":12,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5ee98","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579681536001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389178694771408896,"note":"Value kept but may cause issues"} 
[2026-08-22 23:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168544256,"note":"Value kept but may cause issues"} 
[2026-08-22 23:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787420652000,"timestamp_ms":1787420652000,"timestamp_seconds":1787420652,"priority":1,"record_length":96,"hex_timestamp":"000001a02a92b1e0"} 
[2026-08-22 23: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-22 23: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-22 23: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-22 23: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-22 23: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-22 23: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-22 23:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579681536001,"66":27908,"160":206,"87":12800,"24":0,"16":389178694771408896,"45":8900520264168544256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-22 23:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579681536001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:17:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-22 23:17:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389178694771408896,"km_value":389178694771408.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168544256,"description":"Unknown IO ID 45"} 
[2026-08-22 23:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579681536001,"power":27908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168544256}} 
[2026-08-22 23:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":161305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:17:30] local.INFO: GPS data processed {"connection_id":161305,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:17:30] local.INFO: Acknowledgment sent {"connection_id":161305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:17:46] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:17:46] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:17:46] local.INFO: IMEI packet received {"connection_id":160346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":160346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:17:47] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:17:47] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:17:47] local.INFO: IMEI packet received {"connection_id":160346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":160346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:17:50] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:17:50] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:17:50] local.INFO: IMEI packet received {"connection_id":160346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":160346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:17:52] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a953280012d7b728005f63070000d014c26..."} 
[2026-08-22 23:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a953280012d7b728005f63070000d014c26..."} 
[2026-08-22 23:17:52] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a953280012d7b728005f63070000d014c26..."} 
[2026-08-22 23:17:52] local.INFO: Packet analysis {"connection_id":160346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a95"} 
[2026-08-22 23:17:52] local.INFO: Extracted packet for processing {"connection_id":160346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a95"} 
[2026-08-22 23:17:52] local.INFO: GPS Element Parsed {"raw_longitude":763064960,"raw_latitude":100020336,"longitude_deg":76.306496,"latitude_deg":10.0020336,"altitude":13,"angle":332,"satellites":38,"speed":16,"hex_longitude":"2d7b7280","hex_latitude":"05f63070","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579724544001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389179558059835392,"note":"Value kept but may cause issues"} 
[2026-08-22 23:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897142564450330624,"note":"Value kept but may cause issues"} 
[2026-08-22 23:17:52] 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-22 23:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787420816000,"timestamp_ms":1787420816000,"timestamp_seconds":1787420816,"priority":1,"record_length":96,"hex_timestamp":"000001a02a953280"} 
[2026-08-22 23: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-22 23:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-22 23:17:52] 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-22 23: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-22 23: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-22 23:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579724544001,"66":27376,"162":206,"87":12800,"24":16,"16":389179558059835392,"45":8897142564450330624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,87,24,16,45]} 
[2026-08-22 23:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579724544001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:17:52] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-22 23:17:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389179558059835392,"km_value":389179558059835.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897142564450330624,"description":"Unknown IO ID 45"} 
[2026-08-22 23:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579724544001,"power":27376,"unknown_162":206,"unknown_87":12800,"ignition":16,"odometer":null,"unknown_45":8897142564450330624}} 
[2026-08-22 23:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":160346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:17:52] local.INFO: GPS data processed {"connection_id":160346,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:17:52] local.INFO: Acknowledgment sent {"connection_id":160346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:17:56] local.INFO: TCP Data received {"connection_id":160347,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:17:56] local.INFO: Processing buffer {"connection_id":160347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:17:56] local.INFO: IMEI packet received {"connection_id":160347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":160347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:18:01] local.INFO: TCP Data received {"connection_id":160347,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:18:01] local.INFO: Processing buffer {"connection_id":160347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:18:01] local.INFO: IMEI packet received {"connection_id":160347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":160347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:18:02] local.INFO: TCP Data received {"connection_id":160347,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:18:02] local.INFO: Processing buffer {"connection_id":160347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:18:02] local.INFO: Packet analysis {"connection_id":160347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:18:02] local.INFO: Extracted packet for processing {"connection_id":160347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:18:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787420569000,"timestamp_ms":1787420569000,"timestamp_seconds":1787420569,"priority":1,"record_length":96,"hex_timestamp":"000001a02a916da8"} 
[2026-08-22 23: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-22 23:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 23:18:02] 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-22 23: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-22 23: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-22 23:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:18:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:18:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":160347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:18:02] local.INFO: GPS data processed {"connection_id":160347,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:18:02] local.INFO: Acknowledgment sent {"connection_id":160347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:18:07] local.INFO: TCP Data received {"connection_id":160347,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:18:07] local.INFO: Processing buffer {"connection_id":160347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a916da8012d196540071ff1b00040013729..."} 
[2026-08-22 23:18:07] local.INFO: Packet analysis {"connection_id":160347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:18:07] local.INFO: Extracted packet for processing {"connection_id":160347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a91"} 
[2026-08-22 23:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579517440001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382391296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787420569000,"timestamp_ms":1787420569000,"timestamp_seconds":1787420569,"priority":1,"record_length":96,"hex_timestamp":"000001a02a916da8"} 
[2026-08-22 23:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-22 23:18:07] 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-22 23:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579517440001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1830642910382391296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579517440001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:18:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382391296,"description":"Unknown IO ID 45"} 
[2026-08-22 23:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579517440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382391296}} 
[2026-08-22 23:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":160347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:18:07] local.INFO: GPS data processed {"connection_id":160347,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:18:07] local.INFO: Acknowledgment sent {"connection_id":160347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:18:23] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a954608012d7b6e0005f63788000e013e2a..."} 
[2026-08-22 23:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a954608012d7b6e0005f63788000e013e2a..."} 
[2026-08-22 23:18:23] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a954608012d7b6e0005f63788000e013e2a..."} 
[2026-08-22 23:18:23] local.INFO: Packet analysis {"connection_id":160346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a95"} 
[2026-08-22 23:18:23] local.INFO: Extracted packet for processing {"connection_id":160346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a95"} 
[2026-08-22 23:18:23] local.INFO: GPS Element Parsed {"raw_longitude":763063808,"raw_latitude":100022152,"longitude_deg":76.3063808,"latitude_deg":10.0022152,"altitude":14,"angle":318,"satellites":42,"speed":14,"hex_longitude":"2d7b6e00","hex_latitude":"05f63788","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579728896001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389179661139050496,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895312977103712256,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:23] 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-22 23:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787420821000,"timestamp_ms":1787420821000,"timestamp_seconds":1787420821,"priority":1,"record_length":96,"hex_timestamp":"000001a02a954608"} 
[2026-08-22 23: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-22 23:18: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-22 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 23:18:23] 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-22 23: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-22 23: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-22 23:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579728896001,"66":27332,"162":206,"87":12800,"24":14,"16":389179661139050496,"45":8895312977103712256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,87,24,16,45]} 
[2026-08-22 23:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579728896001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:18:23] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-22 23:18:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389179661139050496,"km_value":389179661139050.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895312977103712256,"description":"Unknown IO ID 45"} 
[2026-08-22 23:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579728896001,"power":27332,"unknown_162":206,"unknown_87":12800,"ignition":14,"odometer":null,"unknown_45":8895312977103712256}} 
[2026-08-22 23:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":160346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:18:23] local.INFO: GPS data processed {"connection_id":160346,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:18:23] local.INFO: Acknowledgment sent {"connection_id":160346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:18:48] local.INFO: TCP Data received {"connection_id":160123,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:18:48] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:18:48] local.INFO: IMEI packet received {"connection_id":160123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":160123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:18:49] local.INFO: TCP Data received {"connection_id":160123,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:18:49] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:18:49] local.INFO: IMEI packet received {"connection_id":160123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":160123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:18:51] local.INFO: TCP Data received {"connection_id":160124,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:18:51] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:18:51] local.INFO: IMEI packet received {"connection_id":160124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":160124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:18:54] local.INFO: TCP Data received {"connection_id":160123,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:18:54] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:18:54] local.INFO: IMEI packet received {"connection_id":160123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":160123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:18:55] local.INFO: TCP Data received {"connection_id":160123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a956160012d7b680005f63df0000e01332b..."} 
[2026-08-22 23:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a956160012d7b680005f63df0000e01332b..."} 
[2026-08-22 23:18:55] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a956160012d7b680005f63df0000e01332b..."} 
[2026-08-22 23:18:55] local.INFO: Packet analysis {"connection_id":160123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a95"} 
[2026-08-22 23:18:55] local.INFO: Extracted packet for processing {"connection_id":160123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a95"} 
[2026-08-22 23:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763062272,"raw_latitude":100023792,"longitude_deg":76.3062272,"latitude_deg":10.0023792,"altitude":14,"angle":307,"satellites":43,"speed":8,"hex_longitude":"2d7b6800","hex_latitude":"05f63df0","is_valid_coordinates":true} 
[2026-08-22 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-22 23:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579730176001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389179768513232896,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894046339708979200,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:55] 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-22 23:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787420828000,"timestamp_ms":1787420828000,"timestamp_seconds":1787420828,"priority":1,"record_length":96,"hex_timestamp":"000001a02a956160"} 
[2026-08-22 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-22 23:18: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-22 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 23:18: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-22 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-22 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-22 23:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579730176001,"66":27213,"163":206,"87":12800,"24":8,"16":389179768513232896,"45":8894046339708979200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-22 23:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579730176001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:18:55] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-22 23:18:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389179768513232896,"km_value":389179768513232.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894046339708979200,"description":"Unknown IO ID 45"} 
[2026-08-22 23:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579730176001,"power":27213,"unknown_163":206,"unknown_87":12800,"ignition":8,"odometer":null,"unknown_45":8894046339708979200}} 
[2026-08-22 23:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":160123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:18:55] local.INFO: GPS data processed {"connection_id":160123,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:18:55] local.INFO: Acknowledgment sent {"connection_id":160123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:18:56] local.INFO: TCP Data received {"connection_id":160123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a957100012d7b654005f64078000e013f2c..."} 
[2026-08-22 23:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a957100012d7b654005f64078000e013f2c..."} 
[2026-08-22 23:18:56] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a957100012d7b654005f64078000e013f2c..."} 
[2026-08-22 23:18:56] local.INFO: Packet analysis {"connection_id":160123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a95"} 
[2026-08-22 23:18:56] local.INFO: Extracted packet for processing {"connection_id":160123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a95"} 
[2026-08-22 23:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763061568,"raw_latitude":100024440,"longitude_deg":76.3061568,"latitude_deg":10.002444,"altitude":14,"angle":319,"satellites":44,"speed":7,"hex_longitude":"2d7b6540","hex_latitude":"05f64078","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579731968001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389179811462905856,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892357489849135104,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:56] 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-22 23:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787420832000,"timestamp_ms":1787420832000,"timestamp_seconds":1787420832,"priority":1,"record_length":96,"hex_timestamp":"000001a02a957100"} 
[2026-08-22 23: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-22 23: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-22 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 23:18: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-22 23: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-22 23: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-22 23:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579731968001,"66":27343,"163":206,"87":12800,"24":7,"16":389179811462905856,"45":8892357489849135104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-22 23:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579731968001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:18:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-22 23:18:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389179811462905856,"km_value":389179811462905.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892357489849135104,"description":"Unknown IO ID 45"} 
[2026-08-22 23:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579731968001,"power":27343,"unknown_163":206,"unknown_87":12800,"ignition":7,"odometer":null,"unknown_45":8892357489849135104}} 
[2026-08-22 23:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":160123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:18:56] local.INFO: GPS data processed {"connection_id":160123,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:18:56] local.INFO: Acknowledgment sent {"connection_id":160123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:18:56] local.INFO: TCP Data received {"connection_id":160124,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:18:56] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:18:56] local.INFO: IMEI packet received {"connection_id":160124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":160124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:18:57] local.INFO: TCP Data received {"connection_id":160124,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:18:57] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:18:57] local.INFO: Packet analysis {"connection_id":160124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:18:57] local.INFO: Extracted packet for processing {"connection_id":160124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579665664001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:18: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-22 23:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787420870000,"timestamp_ms":1787420870000,"timestamp_seconds":1787420870,"priority":1,"record_length":96,"hex_timestamp":"000001a02a960570"} 
[2026-08-22 23: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-22 23:18:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:18: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-22 23: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-22 23: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-22 23:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579665664001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579665664001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:18:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:18:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579665664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":160124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:18:57] local.INFO: GPS data processed {"connection_id":160124,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:18:57] local.INFO: Acknowledgment sent {"connection_id":160124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:19:27] local.INFO: TCP Data received {"connection_id":160123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a968270012d7b3cc005f69b68001200022a..."} 
[2026-08-22 23:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a968270012d7b3cc005f69b68001200022a..."} 
[2026-08-22 23:19:27] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a968270012d7b3cc005f69b68001200022a..."} 
[2026-08-22 23:19:27] local.INFO: Packet analysis {"connection_id":160123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:19:27] local.INFO: Extracted packet for processing {"connection_id":160123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763051200,"raw_latitude":100047720,"longitude_deg":76.30512,"latitude_deg":10.004772,"altitude":18,"angle":2,"satellites":42,"speed":12,"hex_longitude":"2d7b3cc0","hex_latitude":"05f69b68","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579750656001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389181087068192768,"note":"Value kept but may cause issues"} 
[2026-08-22 23:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880183697112442880,"note":"Value kept but may cause issues"} 
[2026-08-22 23:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787420902000,"timestamp_ms":1787420902000,"timestamp_seconds":1787420902,"priority":1,"record_length":96,"hex_timestamp":"000001a02a968270"} 
[2026-08-22 23: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-22 23:19: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-22 23: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 23:19:27] 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-22 23: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-22 23: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-22 23:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579750656001,"66":27104,"134":206,"87":12800,"24":12,"16":389181087068192768,"45":8880183697112442880},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-08-22 23:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579750656001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:19:27] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-08-22 23:19:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389181087068192768,"km_value":389181087068192.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880183697112442880,"description":"Unknown IO ID 45"} 
[2026-08-22 23:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579750656001,"power":27104,"unknown_134":206,"unknown_87":12800,"ignition":12,"odometer":null,"unknown_45":8880183697112442880}} 
[2026-08-22 23:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":160123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:19:27] local.INFO: GPS data processed {"connection_id":160123,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:19:27] local.INFO: Acknowledgment sent {"connection_id":160123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:19:28] local.INFO: TCP Data received {"connection_id":160124,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:19:28] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:19:28] local.INFO: Packet analysis {"connection_id":160124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:19:28] local.INFO: Extracted packet for processing {"connection_id":160124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579665664001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787420870000,"timestamp_ms":1787420870000,"timestamp_seconds":1787420870,"priority":1,"record_length":96,"hex_timestamp":"000001a02a960570"} 
[2026-08-22 23: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-22 23:19:28] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579665664001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579665664001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:19:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579665664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":160124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:19:29] local.INFO: GPS data processed {"connection_id":160124,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:19:29] local.INFO: Acknowledgment sent {"connection_id":160124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:19:47] local.INFO: TCP Data received {"connection_id":160125,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:19:47] local.INFO: Processing buffer {"connection_id":160125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:19:47] local.INFO: IMEI packet received {"connection_id":160125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":160125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:19:49] local.INFO: TCP Data received {"connection_id":160125,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:19:49] local.INFO: Processing buffer {"connection_id":160125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:19:49] local.INFO: IMEI packet received {"connection_id":160125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":160125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:19:51] local.INFO: TCP Data received {"connection_id":160348,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:19:51] local.INFO: Processing buffer {"connection_id":160348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:19:51] local.INFO: IMEI packet received {"connection_id":160348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":160348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:19:52] local.INFO: TCP Data received {"connection_id":160125,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:19:52] local.INFO: Processing buffer {"connection_id":160125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:19:52] local.INFO: IMEI packet received {"connection_id":160125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":160125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:19:53] local.INFO: TCP Data received {"connection_id":160125,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a969dc8012d7b3c4005f6a960001301602a..."} 
[2026-08-22 23:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a969dc8012d7b3c4005f6a960001301602a..."} 
[2026-08-22 23:19:53] local.INFO: Processing buffer {"connection_id":160125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a969dc8012d7b3c4005f6a960001301602a..."} 
[2026-08-22 23:19:53] local.INFO: Packet analysis {"connection_id":160125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:19:53] local.INFO: Extracted packet for processing {"connection_id":160125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:19:53] local.INFO: GPS Element Parsed {"raw_longitude":763051072,"raw_latitude":100051296,"longitude_deg":76.3051072,"latitude_deg":10.0051296,"altitude":19,"angle":352,"satellites":42,"speed":25,"hex_longitude":"2d7b3c40","hex_latitude":"05f6a960","is_valid_coordinates":true} 
[2026-08-22 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-22 23:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579750912001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389181263161851904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880183697112524800,"note":"Value kept but may cause issues"} 
[2026-08-22 23:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787420909000,"timestamp_ms":1787420909000,"timestamp_seconds":1787420909,"priority":1,"record_length":96,"hex_timestamp":"000001a02a969dc8"} 
[2026-08-22 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-22 23:19: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-22 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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-22 23:19:53] 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-22 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-22 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-22 23:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579750912001,"66":27376,"134":206,"87":12800,"24":25,"16":389181263161851904,"45":8880183697112524800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-08-22 23:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579750912001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:19:53] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-08-22 23:19:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389181263161851904,"km_value":389181263161851.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880183697112524800,"description":"Unknown IO ID 45"} 
[2026-08-22 23:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579750912001,"power":27376,"unknown_134":206,"unknown_87":12800,"ignition":25,"odometer":null,"unknown_45":8880183697112524800}} 
[2026-08-22 23:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":160125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:19:53] local.INFO: GPS data processed {"connection_id":160125,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:19:53] local.INFO: Acknowledgment sent {"connection_id":160125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:19:56] local.INFO: TCP Data received {"connection_id":160348,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:19:56] local.INFO: Processing buffer {"connection_id":160348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:19:56] local.INFO: IMEI packet received {"connection_id":160348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":160348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:19:57] local.INFO: TCP Data received {"connection_id":160348,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:19:57] local.INFO: Processing buffer {"connection_id":160348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:19:57] local.INFO: Packet analysis {"connection_id":160348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:19:57] local.INFO: Extracted packet for processing {"connection_id":160348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579665664001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:19: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-22 23:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787420870000,"timestamp_ms":1787420870000,"timestamp_seconds":1787420870,"priority":1,"record_length":96,"hex_timestamp":"000001a02a960570"} 
[2026-08-22 23: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-22 23:19:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:19: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-22 23: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-22 23: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-22 23:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579665664001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579665664001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:19:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579665664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":160348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:19:57] local.INFO: GPS data processed {"connection_id":160348,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:19:57] local.INFO: Acknowledgment sent {"connection_id":160348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:20:25] local.INFO: TCP Data received {"connection_id":160125,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a96cca8012d7b32c005f6cb380011015625..."} 
[2026-08-22 23:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a96cca8012d7b32c005f6cb380011015625..."} 
[2026-08-22 23:20:25] local.INFO: Processing buffer {"connection_id":160125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a96cca8012d7b32c005f6cb380011015625..."} 
[2026-08-22 23:20:25] local.INFO: Packet analysis {"connection_id":160125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:20:25] local.INFO: Extracted packet for processing {"connection_id":160125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763048640,"raw_latitude":100059960,"longitude_deg":76.304864,"latitude_deg":10.005996,"altitude":17,"angle":342,"satellites":37,"speed":29,"hex_longitude":"2d7b32c0","hex_latitude":"05f6cb38","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579752704001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389181696953548800,"note":"Value kept but may cause issues"} 
[2026-08-22 23:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880042959625084928,"note":"Value kept but may cause issues"} 
[2026-08-22 23:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787420921000,"timestamp_ms":1787420921000,"timestamp_seconds":1787420921,"priority":1,"record_length":96,"hex_timestamp":"000001a02a96cca8"} 
[2026-08-22 23: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-22 23: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-22 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 23:20: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-22 23: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-22 23: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-22 23:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579752704001,"66":27343,"134":206,"87":12800,"24":29,"16":389181696953548800,"45":8880042959625084928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-08-22 23:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579752704001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:20:25] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-08-22 23:20:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389181696953548800,"km_value":389181696953548.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880042959625084928,"description":"Unknown IO ID 45"} 
[2026-08-22 23:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579752704001,"power":27343,"unknown_134":206,"unknown_87":12800,"ignition":29,"odometer":null,"unknown_45":8880042959625084928}} 
[2026-08-22 23:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":160125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:20:25] local.INFO: GPS data processed {"connection_id":160125,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:20:25] local.INFO: Acknowledgment sent {"connection_id":160125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:20:29] local.INFO: TCP Data received {"connection_id":160348,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:20:29] local.INFO: Processing buffer {"connection_id":160348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:20:29] local.INFO: Packet analysis {"connection_id":160348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:20:29] local.INFO: Extracted packet for processing {"connection_id":160348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:20:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 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-22 23:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579665664001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787420870000,"timestamp_ms":1787420870000,"timestamp_seconds":1787420870,"priority":1,"record_length":96,"hex_timestamp":"000001a02a960570"} 
[2026-08-22 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-22 23:20:29] 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-22 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 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-22 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-22 23:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579665664001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579665664001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:20:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579665664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":160348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:20:29] local.INFO: GPS data processed {"connection_id":160348,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:20:29] local.INFO: Acknowledgment sent {"connection_id":160348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:20:48] local.INFO: TCP Data received {"connection_id":162710,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:20:48] local.INFO: Processing buffer {"connection_id":162710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:20:48] local.INFO: IMEI packet received {"connection_id":162710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":162710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:20:51] local.INFO: TCP Data received {"connection_id":162711,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:20:51] local.INFO: Processing buffer {"connection_id":162711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:20:51] local.INFO: IMEI packet received {"connection_id":162711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":162711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:20:52] local.INFO: TCP Data received {"connection_id":162710,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:20:52] local.INFO: Processing buffer {"connection_id":162710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:20:52] local.INFO: IMEI packet received {"connection_id":162710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":162710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:20:54] local.INFO: TCP Data received {"connection_id":162710,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a96fb88012d7b264005f6ef08000f015421..."} 
[2026-08-22 23:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a96fb88012d7b264005f6ef08000f015421..."} 
[2026-08-22 23:20:54] local.INFO: Processing buffer {"connection_id":162710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a96fb88012d7b264005f6ef08000f015421..."} 
[2026-08-22 23:20:54] local.INFO: Packet analysis {"connection_id":162710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:20:54] local.INFO: Extracted packet for processing {"connection_id":162710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:20:54] local.INFO: GPS Element Parsed {"raw_longitude":763045440,"raw_latitude":100069128,"longitude_deg":76.304544,"latitude_deg":10.0069128,"altitude":15,"angle":340,"satellites":33,"speed":35,"hex_longitude":"2d7b2640","hex_latitude":"05f6ef08","is_valid_coordinates":true} 
[2026-08-22 23:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579755776001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389182169399951360,"note":"Value kept but may cause issues"} 
[2026-08-22 23:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877368947348551680,"note":"Value kept but may cause issues"} 
[2026-08-22 23:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787420933000,"timestamp_ms":1787420933000,"timestamp_seconds":1787420933,"priority":1,"record_length":96,"hex_timestamp":"000001a02a96fb88"} 
[2026-08-22 23:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:20: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-22 23:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 23:20: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-22 23:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579755776001,"66":27365,"134":206,"87":12800,"24":35,"16":389182169399951360,"45":8877368947348551680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-08-22 23:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579755776001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:20:54] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-08-22 23:20:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389182169399951360,"km_value":389182169399951.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877368947348551680,"description":"Unknown IO ID 45"} 
[2026-08-22 23:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579755776001,"power":27365,"unknown_134":206,"unknown_87":12800,"ignition":35,"odometer":null,"unknown_45":8877368947348551680}} 
[2026-08-22 23:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":162710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:20:54] local.INFO: GPS data processed {"connection_id":162710,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:20:54] local.INFO: Acknowledgment sent {"connection_id":162710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:20:56] local.INFO: TCP Data received {"connection_id":162711,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:20:56] local.INFO: Processing buffer {"connection_id":162711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:20:56] local.INFO: IMEI packet received {"connection_id":162711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":162711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:20:57] local.INFO: TCP Data received {"connection_id":162711,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:20:57] local.INFO: Processing buffer {"connection_id":162711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:20:57] local.INFO: Packet analysis {"connection_id":162711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:20:57] local.INFO: Extracted packet for processing {"connection_id":162711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:20:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579665664001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:20: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-22 23:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787420870000,"timestamp_ms":1787420870000,"timestamp_seconds":1787420870,"priority":1,"record_length":96,"hex_timestamp":"000001a02a960570"} 
[2026-08-22 23: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-22 23:20:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:20: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-22 23: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-22 23: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-22 23:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579665664001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579665664001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:20:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:20:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579665664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":162711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:20:57] local.INFO: GPS data processed {"connection_id":162711,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:20:57] local.INFO: Acknowledgment sent {"connection_id":162711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:21:26] local.INFO: TCP Data received {"connection_id":162710,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a971eb0012d7b1a0005f710e8000e015525..."} 
[2026-08-22 23:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a971eb0012d7b1a0005f710e8000e015525..."} 
[2026-08-22 23:21:26] local.INFO: Processing buffer {"connection_id":162710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a971eb0012d7b1a0005f710e8000e015525..."} 
[2026-08-22 23:21:26] local.INFO: Packet analysis {"connection_id":162710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a97"} 
[2026-08-22 23:21:26] local.INFO: Extracted packet for processing {"connection_id":162710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a97"} 
[2026-08-22 23:21:26] local.INFO: GPS Element Parsed {"raw_longitude":763042304,"raw_latitude":100077800,"longitude_deg":76.3042304,"latitude_deg":10.00778,"altitude":14,"angle":341,"satellites":37,"speed":40,"hex_longitude":"2d7b1a00","hex_latitude":"05f710e8","is_valid_coordinates":true} 
[2026-08-22 23:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579758848001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389182616076550144,"note":"Value kept but may cause issues"} 
[2026-08-22 23:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873850510142015488,"note":"Value kept but may cause issues"} 
[2026-08-22 23:21:26] 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-22 23:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787420942000,"timestamp_ms":1787420942000,"timestamp_seconds":1787420942,"priority":1,"record_length":96,"hex_timestamp":"000001a02a971eb0"} 
[2026-08-22 23:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:21: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-22 23:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 23:21: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-22 23:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579758848001,"66":27365,"136":206,"87":12800,"24":40,"16":389182616076550144,"45":8873850510142015488},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,87,24,16,45]} 
[2026-08-22 23:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579758848001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:21:26] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-22 23:21:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389182616076550144,"km_value":389182616076550.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873850510142015488,"description":"Unknown IO ID 45"} 
[2026-08-22 23:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579758848001,"power":27365,"unknown_136":206,"unknown_87":12800,"ignition":40,"odometer":null,"unknown_45":8873850510142015488}} 
[2026-08-22 23:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":162710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:21:26] local.INFO: GPS data processed {"connection_id":162710,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:21:26] local.INFO: Acknowledgment sent {"connection_id":162710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:21:28] local.INFO: TCP Data received {"connection_id":162711,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:21:28] local.INFO: Processing buffer {"connection_id":162711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:21:28] local.INFO: Packet analysis {"connection_id":162711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:21:28] local.INFO: Extracted packet for processing {"connection_id":162711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579665664001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787420870000,"timestamp_ms":1787420870000,"timestamp_seconds":1787420870,"priority":1,"record_length":96,"hex_timestamp":"000001a02a960570"} 
[2026-08-22 23: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-22 23:21:28] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579665664001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579665664001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:21:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579665664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":162711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:21:28] local.INFO: GPS data processed {"connection_id":162711,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:21:28] local.INFO: Acknowledgment sent {"connection_id":162711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:21:52] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:21:52] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:21:52] local.INFO: IMEI packet received {"connection_id":160349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":160349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:21:55] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:21:55] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:21:55] local.INFO: IMEI packet received {"connection_id":160349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":160349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:21:56] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a988de0012d7ad64005f865a00009001b27..."} 
[2026-08-22 23:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a988de0012d7ad64005f865a00009001b27..."} 
[2026-08-22 23:21:56] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a988de0012d7ad64005f865a00009001b27..."} 
[2026-08-22 23:21:56] local.INFO: Packet analysis {"connection_id":160349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a98"} 
[2026-08-22 23:21:56] local.INFO: Extracted packet for processing {"connection_id":160349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a98"} 
[2026-08-22 23:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763024960,"raw_latitude":100165024,"longitude_deg":76.302496,"latitude_deg":10.0165024,"altitude":9,"angle":27,"satellites":39,"speed":23,"hex_longitude":"2d7ad640","hex_latitude":"05f865a0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579783936001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389187009828093952,"note":"Value kept but may cause issues"} 
[2026-08-22 23:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849995505889560576,"note":"Value kept but may cause issues"} 
[2026-08-22 23:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787421036000,"timestamp_ms":1787421036000,"timestamp_seconds":1787421036,"priority":1,"record_length":96,"hex_timestamp":"000001a02a988de0"} 
[2026-08-22 23: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-22 23:21: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-22 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 23:21:56] 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-22 23: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-22 23: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-22 23:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579783936001,"66":27343,"5":206,"87":12800,"24":23,"16":389187009828093952,"45":8849995505889560576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-08-22 23:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579783936001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:21:56] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-22 23:21:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389187009828093952,"km_value":389187009828093.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849995505889560576,"description":"Unknown IO ID 45"} 
[2026-08-22 23:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579783936001,"power":27343,"unknown_5":206,"unknown_87":12800,"ignition":23,"odometer":null,"unknown_45":8849995505889560576}} 
[2026-08-22 23:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":160349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:21:56] local.INFO: GPS data processed {"connection_id":160349,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:21:56] local.INFO: Acknowledgment sent {"connection_id":160349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:21:57] local.INFO: TCP Data received {"connection_id":160126,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:21:57] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:21:57] local.INFO: IMEI packet received {"connection_id":160126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":160126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:21:58] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a98bcc0012d7ae84005f883b80005002225..."} 
[2026-08-22 23:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a98bcc0012d7ae84005f883b80005002225..."} 
[2026-08-22 23:21:58] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a98bcc0012d7ae84005f883b80005002225..."} 
[2026-08-22 23:21:58] local.INFO: Packet analysis {"connection_id":160349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a98"} 
[2026-08-22 23:21:58] local.INFO: Extracted packet for processing {"connection_id":160349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a98"} 
[2026-08-22 23:21:58] local.INFO: GPS Element Parsed {"raw_longitude":763029568,"raw_latitude":100172728,"longitude_deg":76.3029568,"latitude_deg":10.0172728,"altitude":5,"angle":34,"satellites":37,"speed":34,"hex_longitude":"2d7ae840","hex_latitude":"05f883b8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579785216001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389187439324823552,"note":"Value kept but may cause issues"} 
[2026-08-22 23:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851332512029712384,"note":"Value kept but may cause issues"} 
[2026-08-22 23:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787421048000,"timestamp_ms":1787421048000,"timestamp_seconds":1787421048,"priority":1,"record_length":96,"hex_timestamp":"000001a02a98bcc0"} 
[2026-08-22 23: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-22 23:21: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-22 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 23:21:58] 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-22 23: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-22 23: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-22 23:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579785216001,"66":27332,"5":206,"87":12800,"24":34,"16":389187439324823552,"45":8851332512029712384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-08-22 23:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579785216001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:21:58] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-22 23:21:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389187439324823552,"km_value":389187439324823.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851332512029712384,"description":"Unknown IO ID 45"} 
[2026-08-22 23:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579785216001,"power":27332,"unknown_5":206,"unknown_87":12800,"ignition":34,"odometer":null,"unknown_45":8851332512029712384}} 
[2026-08-22 23:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":160349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:21:58] local.INFO: GPS data processed {"connection_id":160349,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:21:58] local.INFO: Acknowledgment sent {"connection_id":160349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:22:02] local.INFO: TCP Data received {"connection_id":160126,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:22:02] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:22:02] local.INFO: IMEI packet received {"connection_id":160126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":160126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:22:02] local.INFO: TCP Data received {"connection_id":160126,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:22:02] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:22:02] local.INFO: Packet analysis {"connection_id":160126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:22:02] local.INFO: Extracted packet for processing {"connection_id":160126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:22:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:22: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-22 23:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579665664001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787420870000,"timestamp_ms":1787420870000,"timestamp_seconds":1787420870,"priority":1,"record_length":96,"hex_timestamp":"000001a02a960570"} 
[2026-08-22 23:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:22:02] 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-22 23:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:22: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-22 23:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579665664001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579665664001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:22:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:22:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579665664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":160126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:22:03] local.INFO: GPS data processed {"connection_id":160126,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:22:03] local.INFO: Acknowledgment sent {"connection_id":160126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:22:29] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a98ef88012d7afe8005f89ed00005002b27..."} 
[2026-08-22 23:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a98ef88012d7afe8005f89ed00005002b27..."} 
[2026-08-22 23:22:29] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a98ef88012d7afe8005f89ed00005002b27..."} 
[2026-08-22 23:22:29] local.INFO: Packet analysis {"connection_id":160349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a98"} 
[2026-08-22 23:22:29] local.INFO: Extracted packet for processing {"connection_id":160349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a98"} 
[2026-08-22 23:22:29] local.INFO: GPS Element Parsed {"raw_longitude":763035264,"raw_latitude":100179664,"longitude_deg":76.3035264,"latitude_deg":10.0179664,"altitude":5,"angle":43,"satellites":39,"speed":18,"hex_longitude":"2d7afe80","hex_latitude":"05f89ed0","is_valid_coordinates":true} 
[2026-08-22 23:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579788288001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389187877411487744,"note":"Value kept but may cause issues"} 
[2026-08-22 23:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856399061612476416,"note":"Value kept but may cause issues"} 
[2026-08-22 23:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787421061000,"timestamp_ms":1787421061000,"timestamp_seconds":1787421061,"priority":1,"record_length":96,"hex_timestamp":"000001a02a98ef88"} 
[2026-08-22 23:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:22: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-22 23:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 23:22: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-22 23:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579788288001,"66":27213,"5":206,"87":12800,"24":18,"16":389187877411487744,"45":8856399061612476416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-08-22 23:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579788288001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:22:29] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-22 23:22:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389187877411487744,"km_value":389187877411487.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856399061612476416,"description":"Unknown IO ID 45"} 
[2026-08-22 23:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579788288001,"power":27213,"unknown_5":206,"unknown_87":12800,"ignition":18,"odometer":null,"unknown_45":8856399061612476416}} 
[2026-08-22 23:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":160349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:22:29] local.INFO: GPS data processed {"connection_id":160349,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:22:29] local.INFO: Acknowledgment sent {"connection_id":160349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:22:34] local.INFO: TCP Data received {"connection_id":160126,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:22:34] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:22:34] local.INFO: Packet analysis {"connection_id":160126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:22:34] local.INFO: Extracted packet for processing {"connection_id":160126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:22:34] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579665664001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787420870000,"timestamp_ms":1787420870000,"timestamp_seconds":1787420870,"priority":1,"record_length":96,"hex_timestamp":"000001a02a960570"} 
[2026-08-22 23: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-22 23:22:34] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579665664001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579665664001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:22:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:22:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579665664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":160126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:22:34] local.INFO: GPS data processed {"connection_id":160126,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:22:34] local.INFO: Acknowledgment sent {"connection_id":160126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:22:46] local.INFO: TCP Data received {"connection_id":160127,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:22:46] local.INFO: Processing buffer {"connection_id":160127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:22:46] local.INFO: IMEI packet received {"connection_id":160127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":160127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:22:47] local.INFO: TCP Data received {"connection_id":160127,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:22:47] local.INFO: Processing buffer {"connection_id":160127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:22:47] local.INFO: IMEI packet received {"connection_id":160127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":160127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:22:48] local.INFO: TCP Data received {"connection_id":160127,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:22:48] local.INFO: Processing buffer {"connection_id":160127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:22:48] local.INFO: IMEI packet received {"connection_id":160127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":160127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:22:52] local.INFO: TCP Data received {"connection_id":160350,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:22:52] local.INFO: Processing buffer {"connection_id":160350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:22:52] local.INFO: IMEI packet received {"connection_id":160350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":160350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:22:57] local.INFO: TCP Data received {"connection_id":160350,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:22:57] local.INFO: Processing buffer {"connection_id":160350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:22:57] local.INFO: IMEI packet received {"connection_id":160350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":160350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:22:58] local.INFO: TCP Data received {"connection_id":160350,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:22:58] local.INFO: Processing buffer {"connection_id":160350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:22:58] local.INFO: Packet analysis {"connection_id":160350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:22:58] local.INFO: Extracted packet for processing {"connection_id":160350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:22:58] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579665664001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787420870000,"timestamp_ms":1787420870000,"timestamp_seconds":1787420870,"priority":1,"record_length":96,"hex_timestamp":"000001a02a960570"} 
[2026-08-22 23: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-22 23:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579665664001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579665664001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:22:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:22:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579665664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":160350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:22:58] local.INFO: GPS data processed {"connection_id":160350,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:22:58] local.INFO: Acknowledgment sent {"connection_id":160350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:23:03] local.INFO: TCP Data received {"connection_id":160127,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:23:03] local.INFO: Processing buffer {"connection_id":160127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:23:03] local.INFO: IMEI packet received {"connection_id":160127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":160127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:23:04] local.INFO: TCP Data received {"connection_id":160127,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a992e08012d7b19c005f8b8700009002f28..."} 
[2026-08-22 23:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a992e08012d7b19c005f8b8700009002f28..."} 
[2026-08-22 23:23:04] local.INFO: Processing buffer {"connection_id":160127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a992e08012d7b19c005f8b8700009002f28..."} 
[2026-08-22 23:23:04] local.INFO: Packet analysis {"connection_id":160127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a99"} 
[2026-08-22 23:23:04] local.INFO: Extracted packet for processing {"connection_id":160127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a99"} 
[2026-08-22 23:23:04] local.INFO: GPS Element Parsed {"raw_longitude":763042240,"raw_latitude":100186224,"longitude_deg":76.304224,"latitude_deg":10.0186224,"altitude":9,"angle":47,"satellites":40,"speed":26,"hex_longitude":"2d7b19c0","hex_latitude":"05f8b870","is_valid_coordinates":true} 
[2026-08-22 23:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579791616001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389188336972988416,"note":"Value kept but may cause issues"} 
[2026-08-22 23:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862661879846064128,"note":"Value kept but may cause issues"} 
[2026-08-22 23:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787421077000,"timestamp_ms":1787421077000,"timestamp_seconds":1787421077,"priority":1,"record_length":96,"hex_timestamp":"000001a02a992e08"} 
[2026-08-22 23:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:23: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-22 23:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 23:23: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-22 23:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579791616001,"66":27213,"5":206,"87":12800,"24":26,"16":389188336972988416,"45":8862661879846064128},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-08-22 23:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579791616001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:23:04] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-22 23:23:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389188336972988416,"km_value":389188336972988.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862661879846064128,"description":"Unknown IO ID 45"} 
[2026-08-22 23:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579791616001,"power":27213,"unknown_5":206,"unknown_87":12800,"ignition":26,"odometer":null,"unknown_45":8862661879846064128}} 
[2026-08-22 23:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":160127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:23:04] local.INFO: GPS data processed {"connection_id":160127,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:23:04] local.INFO: Acknowledgment sent {"connection_id":160127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:23:29] local.INFO: TCP Data received {"connection_id":160350,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:23:29] local.INFO: Processing buffer {"connection_id":160350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a960570012d196540071ff1b00040013728..."} 
[2026-08-22 23:23:29] local.INFO: Packet analysis {"connection_id":160350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:23:29] local.INFO: Extracted packet for processing {"connection_id":160350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a96"} 
[2026-08-22 23:23:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579665664001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787420870000,"timestamp_ms":1787420870000,"timestamp_seconds":1787420870,"priority":1,"record_length":96,"hex_timestamp":"000001a02a960570"} 
[2026-08-22 23: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-22 23:23:29] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579665664001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579665664001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:23:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:23:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579665664001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":160350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:23:29] local.INFO: GPS data processed {"connection_id":160350,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:23:29] local.INFO: Acknowledgment sent {"connection_id":160350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:23:47] local.INFO: TCP Data received {"connection_id":162712,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:23:47] local.INFO: Processing buffer {"connection_id":162712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:23:47] local.INFO: IMEI packet received {"connection_id":162712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":162712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:23:51] local.INFO: TCP Data received {"connection_id":160128,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:23:51] local.INFO: Processing buffer {"connection_id":160128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:23:51] local.INFO: IMEI packet received {"connection_id":160128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":160128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:23:53] local.INFO: TCP Data received {"connection_id":162712,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:23:53] local.INFO: Processing buffer {"connection_id":162712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:23:53] local.INFO: IMEI packet received {"connection_id":162712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":162712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:23:54] local.INFO: TCP Data received {"connection_id":162712,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9960d0012d7b318005f8d2b0000c002927..."} 
[2026-08-22 23:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9960d0012d7b318005f8d2b0000c002927..."} 
[2026-08-22 23:23:54] local.INFO: Processing buffer {"connection_id":162712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9960d0012d7b318005f8d2b0000c002927..."} 
[2026-08-22 23:23:54] local.INFO: Packet analysis {"connection_id":162712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a99"} 
[2026-08-22 23:23:54] local.INFO: Extracted packet for processing {"connection_id":162712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a99"} 
[2026-08-22 23:23:54] local.INFO: GPS Element Parsed {"raw_longitude":763048320,"raw_latitude":100192944,"longitude_deg":76.304832,"latitude_deg":10.0192944,"altitude":12,"angle":41,"satellites":39,"speed":23,"hex_longitude":"2d7b3180","hex_latitude":"05f8d2b0","is_valid_coordinates":true} 
[2026-08-22 23:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579795712001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389188775059652608,"note":"Value kept but may cause issues"} 
[2026-08-22 23:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870332072963108864,"note":"Value kept but may cause issues"} 
[2026-08-22 23:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787421090000,"timestamp_ms":1787421090000,"timestamp_seconds":1787421090,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9960d0"} 
[2026-08-22 23:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:23: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-22 23:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 23:23:54] 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-22 23:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579795712001,"66":27376,"5":206,"87":12800,"24":23,"16":389188775059652608,"45":8870332072963108864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-08-22 23:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579795712001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:23:54] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-22 23:23:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389188775059652608,"km_value":389188775059652.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870332072963108864,"description":"Unknown IO ID 45"} 
[2026-08-22 23:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579795712001,"power":27376,"unknown_5":206,"unknown_87":12800,"ignition":23,"odometer":null,"unknown_45":8870332072963108864}} 
[2026-08-22 23:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":162712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:23:54] local.INFO: GPS data processed {"connection_id":162712,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:23:54] local.INFO: Acknowledgment sent {"connection_id":162712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:23:57] local.INFO: TCP Data received {"connection_id":160128,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:23:57] local.INFO: Processing buffer {"connection_id":160128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:23:57] local.INFO: IMEI packet received {"connection_id":160128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":160128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:23:57] local.INFO: TCP Data received {"connection_id":160128,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:23:57] local.INFO: Processing buffer {"connection_id":160128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:23:57] local.INFO: Packet analysis {"connection_id":160128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:23:57] local.INFO: Extracted packet for processing {"connection_id":160128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:23:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 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-22 23:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579742720001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 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-22 23:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787421171000,"timestamp_ms":1787421171000,"timestamp_seconds":1787421171,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9a9d38"} 
[2026-08-22 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-22 23:23:57] 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-22 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":96,"data_length":795,"current_offset":136} 
[2026-08-22 23:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 23:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579742720001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579742720001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:23:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:23:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579742720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":160128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:23:57] local.INFO: GPS data processed {"connection_id":160128,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:23:57] local.INFO: Acknowledgment sent {"connection_id":160128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:24:25] local.INFO: TCP Data received {"connection_id":162712,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a996c88012d7b358005f8d850000c001c27..."} 
[2026-08-22 23:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a996c88012d7b358005f8d850000c001c27..."} 
[2026-08-22 23:24:25] local.INFO: Processing buffer {"connection_id":162712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a996c88012d7b358005f8d850000c001c27..."} 
[2026-08-22 23:24:25] local.INFO: Packet analysis {"connection_id":162712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a99"} 
[2026-08-22 23:24:25] local.INFO: Extracted packet for processing {"connection_id":162712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a99"} 
[2026-08-22 23:24:25] local.INFO: GPS Element Parsed {"raw_longitude":763049344,"raw_latitude":100194384,"longitude_deg":76.3049344,"latitude_deg":10.0194384,"altitude":12,"angle":28,"satellites":39,"speed":23,"hex_longitude":"2d7b3580","hex_latitude":"05f8d850","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579799040001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389188856664031232,"note":"Value kept but may cause issues"} 
[2026-08-22 23:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877017103661707264,"note":"Value kept but may cause issues"} 
[2026-08-22 23:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787421093000,"timestamp_ms":1787421093000,"timestamp_seconds":1787421093,"priority":1,"record_length":96,"hex_timestamp":"000001a02a996c88"} 
[2026-08-22 23: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-22 23: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-22 23: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":240,"data_length":795,"current_offset":136} 
[2026-08-22 23:24: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-22 23: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-22 23: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-22 23:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579799040001,"66":27169,"5":206,"87":12800,"24":23,"16":389188856664031232,"45":8877017103661707264},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-08-22 23:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579799040001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:24:25] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-22 23:24:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389188856664031232,"km_value":389188856664031.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877017103661707264,"description":"Unknown IO ID 45"} 
[2026-08-22 23:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579799040001,"power":27169,"unknown_5":206,"unknown_87":12800,"ignition":23,"odometer":null,"unknown_45":8877017103661707264}} 
[2026-08-22 23:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":162712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:24:25] local.INFO: GPS data processed {"connection_id":162712,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:24:25] local.INFO: Acknowledgment sent {"connection_id":162712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:24:29] local.INFO: TCP Data received {"connection_id":160128,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:24:29] local.INFO: Processing buffer {"connection_id":160128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:24:29] local.INFO: Packet analysis {"connection_id":160128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:24:29] local.INFO: Extracted packet for processing {"connection_id":160128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:24:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 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-22 23:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579742720001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787421171000,"timestamp_ms":1787421171000,"timestamp_seconds":1787421171,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9a9d38"} 
[2026-08-22 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-22 23:24:29] 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-22 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 23:24:29] 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-22 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-22 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-22 23:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579742720001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579742720001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:24:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:24:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579742720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":160128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:24:29] local.INFO: GPS data processed {"connection_id":160128,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:24:29] local.INFO: Acknowledgment sent {"connection_id":160128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:24:48] local.INFO: TCP Data received {"connection_id":160351,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:24:48] local.INFO: Processing buffer {"connection_id":160351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:24:48] local.INFO: IMEI packet received {"connection_id":160351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":160351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:24:53] local.INFO: TCP Data received {"connection_id":160351,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:24:53] local.INFO: Processing buffer {"connection_id":160351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:24:53] local.INFO: IMEI packet received {"connection_id":160351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":160351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:24:54] local.INFO: TCP Data received {"connection_id":160351,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a99a338012d7b488005f8f848000f002126..."} 
[2026-08-22 23:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a99a338012d7b488005f8f848000f002126..."} 
[2026-08-22 23:24:54] local.INFO: Processing buffer {"connection_id":160351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a99a338012d7b488005f8f848000f002126..."} 
[2026-08-22 23:24:54] local.INFO: Packet analysis {"connection_id":160351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a99"} 
[2026-08-22 23:24:54] local.INFO: Extracted packet for processing {"connection_id":160351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a99"} 
[2026-08-22 23:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763054208,"raw_latitude":100202568,"longitude_deg":76.3054208,"latitude_deg":10.0202568,"altitude":15,"angle":33,"satellites":38,"speed":28,"hex_longitude":"2d7b4880","hex_latitude":"05f8f848","is_valid_coordinates":true} 
[2026-08-22 23:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579799808001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389189320520499200,"note":"Value kept but may cause issues"} 
[2026-08-22 23:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878143003568918528,"note":"Value kept but may cause issues"} 
[2026-08-22 23:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787421107000,"timestamp_ms":1787421107000,"timestamp_seconds":1787421107,"priority":1,"record_length":96,"hex_timestamp":"000001a02a99a338"} 
[2026-08-22 23:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:24: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-22 23:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-22 23:24:54] 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-22 23:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579799808001,"66":27267,"4":206,"87":12800,"24":28,"16":389189320520499200,"45":8878143003568918528},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,87,24,16,45]} 
[2026-08-22 23:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579799808001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:24:54] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-08-22 23:24:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-22 23:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389189320520499200,"km_value":389189320520499.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878143003568918528,"description":"Unknown IO ID 45"} 
[2026-08-22 23:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579799808001,"power":27267,"unknown_4":206,"unknown_87":12800,"ignition":28,"odometer":null,"unknown_45":8878143003568918528}} 
[2026-08-22 23:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":160351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:24:54] local.INFO: GPS data processed {"connection_id":160351,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:24:54] local.INFO: Acknowledgment sent {"connection_id":160351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:24:56] local.INFO: TCP Data received {"connection_id":161306,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:24:57] local.INFO: Processing buffer {"connection_id":161306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:24:57] local.INFO: IMEI packet received {"connection_id":161306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":161306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:25:02] local.INFO: TCP Data received {"connection_id":161306,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:25:02] local.INFO: Processing buffer {"connection_id":161306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:25:02] local.INFO: IMEI packet received {"connection_id":161306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":161306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:25:02] local.INFO: TCP Data received {"connection_id":161306,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:25:02] local.INFO: Processing buffer {"connection_id":161306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:25:02] local.INFO: Packet analysis {"connection_id":161306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:25:02] local.INFO: Extracted packet for processing {"connection_id":161306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:25:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:25: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-22 23:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579742720001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787421171000,"timestamp_ms":1787421171000,"timestamp_seconds":1787421171,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9a9d38"} 
[2026-08-22 23:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:25:02] 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-22 23:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 23:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:25: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-22 23:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579742720001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579742720001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:25:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:25:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579742720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":161306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:25:02] local.INFO: GPS data processed {"connection_id":161306,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:25:02] local.INFO: Acknowledgment sent {"connection_id":161306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:25:07] local.INFO: TCP Data received {"connection_id":161306,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:25:07] local.INFO: Processing buffer {"connection_id":161306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:25:07] local.INFO: Packet analysis {"connection_id":161306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:25:07] local.INFO: Extracted packet for processing {"connection_id":161306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579742720001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787421171000,"timestamp_ms":1787421171000,"timestamp_seconds":1787421171,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9a9d38"} 
[2026-08-22 23:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:25:07] 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-22 23:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 23:25:07] 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-22 23:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579742720001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579742720001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:25:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579742720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":161306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:25:07] local.INFO: GPS data processed {"connection_id":161306,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:25:07] local.INFO: Acknowledgment sent {"connection_id":161306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:25:26] local.INFO: TCP Data received {"connection_id":160351,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9c4318012d7b534005fa20e8000c01562b..."} 
[2026-08-22 23:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9c4318012d7b534005fa20e8000c01562b..."} 
[2026-08-22 23:25:26] local.INFO: Processing buffer {"connection_id":160351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9c4318012d7b534005fa20e8000c01562b..."} 
[2026-08-22 23:25:26] local.INFO: Packet analysis {"connection_id":160351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9c"} 
[2026-08-22 23:25:26] local.INFO: Extracted packet for processing {"connection_id":160351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9c"} 
[2026-08-22 23:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763056960,"raw_latitude":100278504,"longitude_deg":76.305696,"latitude_deg":10.0278504,"altitude":12,"angle":342,"satellites":43,"speed":23,"hex_longitude":"2d7b5340","hex_latitude":"05fa20e8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579842816001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389192077889503232,"note":"Value kept but may cause issues"} 
[2026-08-22 23:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890035321354297344,"note":"Value kept but may cause issues"} 
[2026-08-22 23:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787421279000,"timestamp_ms":1787421279000,"timestamp_seconds":1787421279,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9c4318"} 
[2026-08-22 23:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23: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-22 23:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 23:25:26] 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-22 23:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579842816001,"66":27321,"14":206,"87":10752,"24":23,"16":389192077889503232,"45":8890035321354297344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-08-22 23:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579842816001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:25:26] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-22 23:25:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389192077889503232,"km_value":389192077889503.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890035321354297344,"description":"Unknown IO ID 45"} 
[2026-08-22 23:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579842816001,"power":27321,"unknown_14":206,"unknown_87":10752,"ignition":23,"odometer":null,"unknown_45":8890035321354297344}} 
[2026-08-22 23:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":160351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:25:26] local.INFO: GPS data processed {"connection_id":160351,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:25:26] local.INFO: Acknowledgment sent {"connection_id":160351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:25:51] local.INFO: TCP Data received {"connection_id":162714,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:25:51] local.INFO: Processing buffer {"connection_id":162714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:25:51] local.INFO: IMEI packet received {"connection_id":162714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":162714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:25:51] local.INFO: TCP Data received {"connection_id":162713,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:25:51] local.INFO: Processing buffer {"connection_id":162713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:25:51] local.INFO: IMEI packet received {"connection_id":162713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":162713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:25:56] local.INFO: TCP Data received {"connection_id":162713,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:25:56] local.INFO: Processing buffer {"connection_id":162713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:25:56] local.INFO: IMEI packet received {"connection_id":162713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":162713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:25:57] local.INFO: TCP Data received {"connection_id":162713,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:25:57] local.INFO: Processing buffer {"connection_id":162713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:25:57] local.INFO: Packet analysis {"connection_id":162713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:25:57] local.INFO: Extracted packet for processing {"connection_id":162713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:25:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579742720001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:25: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-22 23:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787421171000,"timestamp_ms":1787421171000,"timestamp_seconds":1787421171,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9a9d38"} 
[2026-08-22 23: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-22 23:25:57] 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-22 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 23:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579742720001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579742720001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:25:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:25:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579742720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":162713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:25:57] local.INFO: GPS data processed {"connection_id":162713,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:25:57] local.INFO: Acknowledgment sent {"connection_id":162713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:26:07] local.INFO: TCP Data received {"connection_id":162714,"ip":"42.109.136.3","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-22 23:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162714,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-22 23:26:07] local.INFO: Processing buffer {"connection_id":162714,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-22 23:26:07] local.INFO: IMEI packet received {"connection_id":162714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":162714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:26:08] local.INFO: TCP Data received {"connection_id":162714,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9c4318012d7b534005fa20e8000c01562b..."} 
[2026-08-22 23:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9c4318012d7b534005fa20e8000c01562b..."} 
[2026-08-22 23:26:08] local.INFO: Processing buffer {"connection_id":162714,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a02a..."} 
[2026-08-22 23:26:08] local.INFO: IMEI packet received {"connection_id":162714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":162714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:26:09] local.INFO: TCP Data received {"connection_id":162714,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9c8580012d7b490005fa3ff0000b014a2d..."} 
[2026-08-22 23:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9c8580012d7b490005fa3ff0000b014a2d..."} 
[2026-08-22 23:26:09] local.INFO: Processing buffer {"connection_id":162714,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02a9c4318012d7b534005fa20e8000c01562b..."} 
[2026-08-22 23:26:09] local.INFO: Packet analysis {"connection_id":162714,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02a9c"} 
[2026-08-22 23:26:09] local.INFO: Extracted packet for processing {"connection_id":162714,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9c"} 
[2026-08-22 23:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763056960,"raw_latitude":100278504,"longitude_deg":76.305696,"latitude_deg":10.0278504,"altitude":12,"angle":342,"satellites":43,"speed":23,"hex_longitude":"2d7b5340","hex_latitude":"05fa20e8","is_valid_coordinates":true} 
[2026-08-22 23:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579847424001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389192077889503232,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886516884147595264,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787421279000,"timestamp_ms":1787421279000,"timestamp_seconds":1787421279,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9c4318"} 
[2026-08-22 23:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:26: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-22 23:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 23:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579847424001,"66":27321,"14":206,"87":10752,"24":23,"16":389192077889503232,"45":8886516884147595264},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-08-22 23:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579847424001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:26:09] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-22 23:26:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389192077889503232,"km_value":389192077889503.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886516884147595264,"description":"Unknown IO ID 45"} 
[2026-08-22 23:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579847424001,"power":27321,"unknown_14":206,"unknown_87":10752,"ignition":23,"odometer":null,"unknown_45":8886516884147595264}} 
[2026-08-22 23:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":162714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:26:09] local.INFO: GPS data processed {"connection_id":162714,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:26:09] local.INFO: Acknowledgment sent {"connection_id":162714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:26:09] local.INFO: Packet analysis {"connection_id":162714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9c"} 
[2026-08-22 23:26:09] local.INFO: Extracted packet for processing {"connection_id":162714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9c"} 
[2026-08-22 23:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763054336,"raw_latitude":100286448,"longitude_deg":76.3054336,"latitude_deg":10.0286448,"altitude":11,"angle":330,"satellites":45,"speed":13,"hex_longitude":"2d7b4900","hex_latitude":"05fa3ff0","is_valid_coordinates":true} 
[2026-08-22 23:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579847424001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389192481616429056,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886516884147595264,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787421296000,"timestamp_ms":1787421296000,"timestamp_seconds":1787421296,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9c8580"} 
[2026-08-22 23:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:26: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-22 23:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 23:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579847424001,"66":27267,"14":206,"87":10752,"24":13,"16":389192481616429056,"45":8886516884147595264},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-08-22 23:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579847424001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:26:09] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-22 23:26:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389192481616429056,"km_value":389192481616429.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886516884147595264,"description":"Unknown IO ID 45"} 
[2026-08-22 23:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579847424001,"power":27267,"unknown_14":206,"unknown_87":10752,"ignition":13,"odometer":null,"unknown_45":8886516884147595264}} 
[2026-08-22 23:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":162714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:26:09] local.INFO: GPS data processed {"connection_id":162714,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:26:09] local.INFO: Acknowledgment sent {"connection_id":162714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:26:10] local.INFO: TCP Data received {"connection_id":162714,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9ca8a8012d7b430005fa49e8000a01582d..."} 
[2026-08-22 23:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9ca8a8012d7b430005fa49e8000a01582d..."} 
[2026-08-22 23:26:10] local.INFO: Processing buffer {"connection_id":162714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9ca8a8012d7b430005fa49e8000a01582d..."} 
[2026-08-22 23:26:10] local.INFO: Packet analysis {"connection_id":162714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9c"} 
[2026-08-22 23:26:10] local.INFO: Extracted packet for processing {"connection_id":162714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9c"} 
[2026-08-22 23:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763052800,"raw_latitude":100289000,"longitude_deg":76.30528,"latitude_deg":10.0289,"altitude":10,"angle":344,"satellites":45,"speed":16,"hex_longitude":"2d7b4300","hex_latitude":"05fa49e8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579851776001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389192627645317120,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883631765638344704,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787421305000,"timestamp_ms":1787421305000,"timestamp_seconds":1787421305,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9ca8a8"} 
[2026-08-22 23: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-22 23: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-22 23: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":131,"data_length":795,"current_offset":136} 
[2026-08-22 23:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":162714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":162714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":162714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579851776001,"66":27180,"14":206,"87":10752,"24":16,"16":389192627645317120,"45":8883631765638344704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-08-22 23:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579851776001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:26:10] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-22 23:26:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389192627645317120,"km_value":389192627645317.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883631765638344704,"description":"Unknown IO ID 45"} 
[2026-08-22 23:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579851776001,"power":27180,"unknown_14":206,"unknown_87":10752,"ignition":16,"odometer":null,"unknown_45":8883631765638344704}} 
[2026-08-22 23:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":162714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:26:10] local.INFO: GPS data processed {"connection_id":162714,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:26:10] local.INFO: Acknowledgment sent {"connection_id":162714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:26:28] local.INFO: TCP Data received {"connection_id":162713,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:26:28] local.INFO: Processing buffer {"connection_id":162713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:26:28] local.INFO: Packet analysis {"connection_id":162713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:26:28] local.INFO: Extracted packet for processing {"connection_id":162713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579742720001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787421171000,"timestamp_ms":1787421171000,"timestamp_seconds":1787421171,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9a9d38"} 
[2026-08-22 23: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-22 23:26:28] 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-22 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 23:26:28] 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-22 23: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-22 23: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-22 23:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579742720001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579742720001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:26:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579742720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":162713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:26:28] local.INFO: GPS data processed {"connection_id":162713,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:26:28] local.INFO: Acknowledgment sent {"connection_id":162713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:26:48] local.INFO: TCP Data received {"connection_id":160352,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:26:48] local.INFO: Processing buffer {"connection_id":160352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:26:48] local.INFO: IMEI packet received {"connection_id":160352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":160352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:26:51] local.INFO: TCP Data received {"connection_id":160129,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:26:51] local.INFO: Processing buffer {"connection_id":160129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:26:51] local.INFO: IMEI packet received {"connection_id":160129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":160129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:26:53] local.INFO: TCP Data received {"connection_id":160352,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:26:53] local.INFO: Processing buffer {"connection_id":160352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:26:53] local.INFO: IMEI packet received {"connection_id":160352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":160352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:26:54] local.INFO: TCP Data received {"connection_id":160352,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9ceef8012d7b3b4005fa67e0000b015a2b..."} 
[2026-08-22 23:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9ceef8012d7b3b4005fa67e0000b015a2b..."} 
[2026-08-22 23:26:54] local.INFO: Processing buffer {"connection_id":160352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9ceef8012d7b3b4005fa67e0000b015a2b..."} 
[2026-08-22 23:26:54] local.INFO: Packet analysis {"connection_id":160352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9c"} 
[2026-08-22 23:26:54] local.INFO: Extracted packet for processing {"connection_id":160352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9c"} 
[2026-08-22 23:26:54] local.INFO: GPS Element Parsed {"raw_longitude":763050816,"raw_latitude":100296672,"longitude_deg":76.3050816,"latitude_deg":10.0296672,"altitude":11,"angle":346,"satellites":43,"speed":19,"hex_longitude":"2d7b3b40","hex_latitude":"05fa67e0","is_valid_coordinates":true} 
[2026-08-22 23:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579854080001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881942915778734080,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389193014192373760,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-22 23:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787421323000,"timestamp_ms":1787421323000,"timestamp_seconds":1787421323,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9ceef8"} 
[2026-08-22 23:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:26: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-22 23:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-22 23:26:54] 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-22 23:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579854080001,"66":27267,"45":8881942915778734080,"87":10752,"24":19,"16":389193014192373760},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,87,24,16]} 
[2026-08-22 23:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579854080001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881942915778734080,"description":"Unknown IO ID 45"} 
[2026-08-22 23:26:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389193014192373760,"km_value":389193014192373.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:26:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457579854080001,"power":27267,"unknown_45":8881942915778734080,"unknown_87":10752,"ignition":19,"odometer":null}} 
[2026-08-22 23:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":160352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:26:54] local.INFO: GPS data processed {"connection_id":160352,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:26:54] local.INFO: Acknowledgment sent {"connection_id":160352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:26:56] local.INFO: TCP Data received {"connection_id":160129,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:26:56] local.INFO: Processing buffer {"connection_id":160129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:26:56] local.INFO: IMEI packet received {"connection_id":160129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":160129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:26:57] local.INFO: TCP Data received {"connection_id":160129,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:26:57] local.INFO: Processing buffer {"connection_id":160129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:26:57] local.INFO: Packet analysis {"connection_id":160129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:26:57] local.INFO: Extracted packet for processing {"connection_id":160129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:26:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579742720001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:26: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-22 23:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787421171000,"timestamp_ms":1787421171000,"timestamp_seconds":1787421171,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9a9d38"} 
[2026-08-22 23:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:26:57] 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-22 23:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 23:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579742720001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579742720001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:26:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:26:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579742720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":160129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:26:57] local.INFO: GPS data processed {"connection_id":160129,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:26:57] local.INFO: Acknowledgment sent {"connection_id":160129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:27:27] local.INFO: TCP Data received {"connection_id":160352,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9d3548012d7b348005fa87c8000e01672b..."} 
[2026-08-22 23:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9d3548012d7b348005fa87c8000e01672b..."} 
[2026-08-22 23:27:27] local.INFO: Processing buffer {"connection_id":160352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9d3548012d7b348005fa87c8000e01672b..."} 
[2026-08-22 23:27:27] local.INFO: Packet analysis {"connection_id":160352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9d"} 
[2026-08-22 23:27:27] local.INFO: Extracted packet for processing {"connection_id":160352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9d"} 
[2026-08-22 23:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763049088,"raw_latitude":100304840,"longitude_deg":76.3049088,"latitude_deg":10.030484,"altitude":14,"angle":359,"satellites":43,"speed":15,"hex_longitude":"2d7b3480","hex_latitude":"05fa87c8","is_valid_coordinates":true} 
[2026-08-22 23:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579858688001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389193417919299584,"note":"Value kept but may cause issues"} 
[2026-08-22 23:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879761484711190528,"note":"Value kept but may cause issues"} 
[2026-08-22 23:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787421341000,"timestamp_ms":1787421341000,"timestamp_seconds":1787421341,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9d3548"} 
[2026-08-22 23:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:27: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-22 23:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 23:27: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-22 23:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579858688001,"66":27321,"14":206,"87":10752,"24":15,"16":389193417919299584,"45":8879761484711190528},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-08-22 23:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579858688001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:27:27] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-22 23:27:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389193417919299584,"km_value":389193417919299.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879761484711190528,"description":"Unknown IO ID 45"} 
[2026-08-22 23:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579858688001,"power":27321,"unknown_14":206,"unknown_87":10752,"ignition":15,"odometer":null,"unknown_45":8879761484711190528}} 
[2026-08-22 23:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":160352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:27:27] local.INFO: GPS data processed {"connection_id":160352,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:27:27] local.INFO: Acknowledgment sent {"connection_id":160352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:27:28] local.INFO: TCP Data received {"connection_id":160129,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:27:28] local.INFO: Processing buffer {"connection_id":160129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:27:28] local.INFO: Packet analysis {"connection_id":160129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:27:28] local.INFO: Extracted packet for processing {"connection_id":160129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579742720001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787421171000,"timestamp_ms":1787421171000,"timestamp_seconds":1787421171,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9a9d38"} 
[2026-08-22 23: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-22 23:27:28] 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-22 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 23:27:28] 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-22 23: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-22 23: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-22 23:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579742720001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579742720001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:27:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:27:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579742720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":160129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:27:29] local.INFO: GPS data processed {"connection_id":160129,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:27:29] local.INFO: Acknowledgment sent {"connection_id":160129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:27:48] local.INFO: TCP Data received {"connection_id":161307,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:27:48] local.INFO: Processing buffer {"connection_id":161307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:27:48] local.INFO: IMEI packet received {"connection_id":161307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":161307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:27:52] local.INFO: TCP Data received {"connection_id":161308,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:27:52] local.INFO: Processing buffer {"connection_id":161308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:27:52] local.INFO: IMEI packet received {"connection_id":161308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":161308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:27:53] local.INFO: TCP Data received {"connection_id":161307,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:27:53] local.INFO: Processing buffer {"connection_id":161307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:27:53] local.INFO: IMEI packet received {"connection_id":161307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":161307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:27:54] local.INFO: TCP Data received {"connection_id":161307,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9d4100012d7b350005fa8ca0000d000e2b..."} 
[2026-08-22 23:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9d4100012d7b350005fa8ca0000d000e2b..."} 
[2026-08-22 23:27:54] local.INFO: Processing buffer {"connection_id":161307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9d4100012d7b350005fa8ca0000d000e2b..."} 
[2026-08-22 23:27:54] local.INFO: Packet analysis {"connection_id":161307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9d"} 
[2026-08-22 23:27:54] local.INFO: Extracted packet for processing {"connection_id":161307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9d"} 
[2026-08-22 23:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763049216,"raw_latitude":100306080,"longitude_deg":76.3049216,"latitude_deg":10.030608,"altitude":13,"angle":14,"satellites":43,"speed":16,"hex_longitude":"2d7b3500","hex_latitude":"05fa8ca0","is_valid_coordinates":true} 
[2026-08-22 23:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579863296001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389193478048841728,"note":"Value kept but may cause issues"} 
[2026-08-22 23:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877861528620484608,"note":"Value kept but may cause issues"} 
[2026-08-22 23:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787421344000,"timestamp_ms":1787421344000,"timestamp_seconds":1787421344,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9d4100"} 
[2026-08-22 23:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:27: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-22 23:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 23:27: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-22 23:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579863296001,"66":27267,"14":206,"87":10752,"24":16,"16":389193478048841728,"45":8877861528620484608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-08-22 23:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579863296001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:27:54] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-22 23:27:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389193478048841728,"km_value":389193478048841.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877861528620484608,"description":"Unknown IO ID 45"} 
[2026-08-22 23:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579863296001,"power":27267,"unknown_14":206,"unknown_87":10752,"ignition":16,"odometer":null,"unknown_45":8877861528620484608}} 
[2026-08-22 23:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":161307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:27:54] local.INFO: GPS data processed {"connection_id":161307,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:27:54] local.INFO: Acknowledgment sent {"connection_id":161307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:27:56] local.INFO: TCP Data received {"connection_id":161308,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:27:56] local.INFO: Processing buffer {"connection_id":161308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:27:56] local.INFO: IMEI packet received {"connection_id":161308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":161308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:27:57] local.INFO: TCP Data received {"connection_id":161308,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:27:57] local.INFO: Processing buffer {"connection_id":161308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:27:57] local.INFO: Packet analysis {"connection_id":161308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:27:57] local.INFO: Extracted packet for processing {"connection_id":161308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:27:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579742720001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:27: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-22 23:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787421171000,"timestamp_ms":1787421171000,"timestamp_seconds":1787421171,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9a9d38"} 
[2026-08-22 23: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-22 23:27:57] 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-22 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 23:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579742720001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579742720001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:27:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:27:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579742720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":161308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:27:58] local.INFO: GPS data processed {"connection_id":161308,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:27:58] local.INFO: Acknowledgment sent {"connection_id":161308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:28:25] local.INFO: TCP Data received {"connection_id":161307,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9d4cb8012d7b364005fa91a8000d00022b..."} 
[2026-08-22 23:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9d4cb8012d7b364005fa91a8000d00022b..."} 
[2026-08-22 23:28:25] local.INFO: Processing buffer {"connection_id":161307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9d4cb8012d7b364005fa91a8000d00022b..."} 
[2026-08-22 23:28:25] local.INFO: Packet analysis {"connection_id":161307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9d"} 
[2026-08-22 23:28:25] local.INFO: Extracted packet for processing {"connection_id":161307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9d"} 
[2026-08-22 23:28:25] local.INFO: GPS Element Parsed {"raw_longitude":763049536,"raw_latitude":100307368,"longitude_deg":76.3049536,"latitude_deg":10.0307368,"altitude":13,"angle":2,"satellites":43,"speed":18,"hex_longitude":"2d7b3640","hex_latitude":"05fa91a8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579864064001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389193542473351168,"note":"Value kept but may cause issues"} 
[2026-08-22 23:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878002266109157376,"note":"Value kept but may cause issues"} 
[2026-08-22 23:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787421347000,"timestamp_ms":1787421347000,"timestamp_seconds":1787421347,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9d4cb8"} 
[2026-08-22 23: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-22 23:28: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-22 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 23:28:25] 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-22 23: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-22 23: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-22 23:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579864064001,"66":27310,"14":206,"87":10752,"24":18,"16":389193542473351168,"45":8878002266109157376},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-08-22 23:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579864064001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:28:25] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-22 23:28:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389193542473351168,"km_value":389193542473351.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878002266109157376,"description":"Unknown IO ID 45"} 
[2026-08-22 23:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579864064001,"power":27310,"unknown_14":206,"unknown_87":10752,"ignition":18,"odometer":null,"unknown_45":8878002266109157376}} 
[2026-08-22 23:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":161307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:28:25] local.INFO: GPS data processed {"connection_id":161307,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:28:25] local.INFO: Acknowledgment sent {"connection_id":161307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:28:29] local.INFO: TCP Data received {"connection_id":161308,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:28:29] local.INFO: Processing buffer {"connection_id":161308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9a9d38012d196540071ff1b00040013729..."} 
[2026-08-22 23:28:29] local.INFO: Packet analysis {"connection_id":161308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:28:29] local.INFO: Extracted packet for processing {"connection_id":161308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9a"} 
[2026-08-22 23:28:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 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-22 23:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579742720001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787421171000,"timestamp_ms":1787421171000,"timestamp_seconds":1787421171,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9a9d38"} 
[2026-08-22 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-22 23:28:29] 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-22 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-22 23:28:29] 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-22 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-22 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-22 23:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579742720001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579742720001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:28:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:28:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579742720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":161308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:28:29] local.INFO: GPS data processed {"connection_id":161308,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:28:29] local.INFO: Acknowledgment sent {"connection_id":161308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:28:47] local.INFO: TCP Data received {"connection_id":160130,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:28:47] local.INFO: Processing buffer {"connection_id":160130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:28:47] local.INFO: IMEI packet received {"connection_id":160130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":160130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:28:51] local.INFO: TCP Data received {"connection_id":160131,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:28:51] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:28:51] local.INFO: IMEI packet received {"connection_id":160131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":160131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:28:57] local.INFO: TCP Data received {"connection_id":160131,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:28:57] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:28:57] local.INFO: IMEI packet received {"connection_id":160131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":160131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:28:57] local.INFO: TCP Data received {"connection_id":160131,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:28:57] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:28:57] local.INFO: Packet analysis {"connection_id":160131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:28:57] local.INFO: Extracted packet for processing {"connection_id":160131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:28:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579819776001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:28: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-22 23:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787421472000,"timestamp_ms":1787421472000,"timestamp_seconds":1787421472,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9f3500"} 
[2026-08-22 23: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-22 23:28:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:28: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-22 23: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-22 23: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-22 23:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579819776001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579819776001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:28:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:28:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579819776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":160131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:28:58] local.INFO: GPS data processed {"connection_id":160131,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:28:58] local.INFO: Acknowledgment sent {"connection_id":160131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:29:00] local.INFO: TCP Data received {"connection_id":160130,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:29:00] local.INFO: Processing buffer {"connection_id":160130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:29:00] local.INFO: IMEI packet received {"connection_id":160130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":160130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:29:02] local.INFO: TCP Data received {"connection_id":160130,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9d5488012d7b364005fa9548000f015a2b..."} 
[2026-08-22 23:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9d5488012d7b364005fa9548000f015a2b..."} 
[2026-08-22 23:29:02] local.INFO: Processing buffer {"connection_id":160130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9d5488012d7b364005fa9548000f015a2b..."} 
[2026-08-22 23:29:02] local.INFO: Packet analysis {"connection_id":160130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9d"} 
[2026-08-22 23:29:02] local.INFO: Extracted packet for processing {"connection_id":160130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9d"} 
[2026-08-22 23:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763049536,"raw_latitude":100308296,"longitude_deg":76.3049536,"latitude_deg":10.0308296,"altitude":15,"angle":346,"satellites":43,"speed":17,"hex_longitude":"2d7b3640","hex_latitude":"05fa9548","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579864832001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389193589717991424,"note":"Value kept but may cause issues"} 
[2026-08-22 23:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878354109830375424,"note":"Value kept but may cause issues"} 
[2026-08-22 23:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787421349000,"timestamp_ms":1787421349000,"timestamp_seconds":1787421349,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9d5488"} 
[2026-08-22 23: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-22 23:29: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-22 23: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-22 23:29:02] 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-22 23: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-22 23: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-22 23:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579864832001,"66":27267,"14":206,"87":10752,"24":17,"16":389193589717991424,"45":8878354109830375424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-08-22 23:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579864832001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:29:02] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-22 23:29:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389193589717991424,"km_value":389193589717991.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878354109830375424,"description":"Unknown IO ID 45"} 
[2026-08-22 23:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579864832001,"power":27267,"unknown_14":206,"unknown_87":10752,"ignition":17,"odometer":null,"unknown_45":8878354109830375424}} 
[2026-08-22 23:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":160130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:29:02] local.INFO: GPS data processed {"connection_id":160130,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:29:02] local.INFO: Acknowledgment sent {"connection_id":160130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:29:29] local.INFO: TCP Data received {"connection_id":160131,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:29:29] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:29:29] local.INFO: Packet analysis {"connection_id":160131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:29:29] local.INFO: Extracted packet for processing {"connection_id":160131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:29:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579819776001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787421472000,"timestamp_ms":1787421472000,"timestamp_seconds":1787421472,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9f3500"} 
[2026-08-22 23: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-22 23:29:29] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579819776001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579819776001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:29:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579819776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":160131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:29:29] local.INFO: GPS data processed {"connection_id":160131,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:29:29] local.INFO: Acknowledgment sent {"connection_id":160131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:29:53] local.INFO: TCP Data received {"connection_id":161309,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:29:53] local.INFO: Processing buffer {"connection_id":161309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:29:53] local.INFO: IMEI packet received {"connection_id":161309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":161309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:29:56] local.INFO: TCP Data received {"connection_id":160353,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:29:57] local.INFO: Processing buffer {"connection_id":160353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:29:57] local.INFO: IMEI packet received {"connection_id":160353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":160353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:29:57] local.INFO: TCP Data received {"connection_id":161309,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:29:57] local.INFO: Processing buffer {"connection_id":161309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:29:57] local.INFO: IMEI packet received {"connection_id":161309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":161309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:29:59] local.INFO: TCP Data received {"connection_id":161309,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9fcd58012d7aa90005fbcb48000e014d2e..."} 
[2026-08-22 23:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9fcd58012d7aa90005fbcb48000e014d2e..."} 
[2026-08-22 23:29:59] local.INFO: Processing buffer {"connection_id":161309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9fcd58012d7aa90005fbcb48000e014d2e..."} 
[2026-08-22 23:29:59] local.INFO: Packet analysis {"connection_id":161309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:29:59] local.INFO: Extracted packet for processing {"connection_id":161309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763013376,"raw_latitude":100387656,"longitude_deg":76.3013376,"latitude_deg":10.0387656,"altitude":14,"angle":333,"satellites":46,"speed":32,"hex_longitude":"2d7aa900","hex_latitude":"05fbcb48","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579903744001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389197824555745280,"note":"Value kept but may cause issues"} 
[2026-08-22 23:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8842958631527514112,"note":"Value kept but may cause issues"} 
[2026-08-22 23:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787421511000,"timestamp_ms":1787421511000,"timestamp_seconds":1787421511,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9fcd58"} 
[2026-08-22 23: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-22 23:29: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-22 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 23:29: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-22 23: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-22 23: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-22 23:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579903744001,"66":27365,"14":206,"87":10752,"24":32,"16":389197824555745280,"45":8842958631527514112},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-08-22 23:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579903744001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:29:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-22 23:29:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389197824555745280,"km_value":389197824555745.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8842958631527514112,"description":"Unknown IO ID 45"} 
[2026-08-22 23:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579903744001,"power":27365,"unknown_14":206,"unknown_87":10752,"ignition":32,"odometer":null,"unknown_45":8842958631527514112}} 
[2026-08-22 23:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":161309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:29:59] local.INFO: GPS data processed {"connection_id":161309,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:29:59] local.INFO: Acknowledgment sent {"connection_id":161309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:30:01] local.INFO: TCP Data received {"connection_id":160353,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:30:01] local.INFO: Processing buffer {"connection_id":160353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:30:01] local.INFO: IMEI packet received {"connection_id":160353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":160353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:30:02] local.INFO: TCP Data received {"connection_id":161309,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa00408012d7a984005fbebb8000c015330..."} 
[2026-08-22 23:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa00408012d7a984005fbebb8000c015330..."} 
[2026-08-22 23:30:02] local.INFO: Processing buffer {"connection_id":161309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa00408012d7a984005fbebb8000c015330..."} 
[2026-08-22 23:30:02] local.INFO: Packet analysis {"connection_id":161309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa0"} 
[2026-08-22 23:30:02] local.INFO: Extracted packet for processing {"connection_id":161309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa0"} 
[2026-08-22 23:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763009088,"raw_latitude":100395960,"longitude_deg":76.3009088,"latitude_deg":10.039596,"altitude":12,"angle":339,"satellites":48,"speed":20,"hex_longitude":"2d7a9840","hex_latitude":"05fbebb8","is_valid_coordinates":true} 
[2026-08-22 23:30: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-22 23:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579906816001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389198275527311360,"note":"Value kept but may cause issues"} 
[2026-08-22 23:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8838595769390548992,"note":"Value kept but may cause issues"} 
[2026-08-22 23:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787421525000,"timestamp_ms":1787421525000,"timestamp_seconds":1787421525,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa00408"} 
[2026-08-22 23:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:30: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-22 23:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 23:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:30: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-22 23:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579906816001,"66":27213,"14":206,"87":10752,"24":20,"16":389198275527311360,"45":8838595769390548992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-08-22 23:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579906816001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:30:02] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-22 23:30:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389198275527311360,"km_value":389198275527311.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8838595769390548992,"description":"Unknown IO ID 45"} 
[2026-08-22 23:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579906816001,"power":27213,"unknown_14":206,"unknown_87":10752,"ignition":20,"odometer":null,"unknown_45":8838595769390548992}} 
[2026-08-22 23:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":161309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:30:02] local.INFO: GPS data processed {"connection_id":161309,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:30:02] local.INFO: Acknowledgment sent {"connection_id":161309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:30:02] local.INFO: TCP Data received {"connection_id":160353,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:30:02] local.INFO: Processing buffer {"connection_id":160353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:30:02] local.INFO: Packet analysis {"connection_id":160353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:30:02] local.INFO: Extracted packet for processing {"connection_id":160353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:30:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:30: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-22 23:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579819776001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787421472000,"timestamp_ms":1787421472000,"timestamp_seconds":1787421472,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9f3500"} 
[2026-08-22 23:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:30:02] 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-22 23:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:30: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-22 23:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579819776001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579819776001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:30:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:30:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579819776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":160353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:30:02] local.INFO: GPS data processed {"connection_id":160353,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:30:02] local.INFO: Acknowledgment sent {"connection_id":160353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:30:07] local.INFO: TCP Data received {"connection_id":160353,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:30:07] local.INFO: Processing buffer {"connection_id":160353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:30:07] local.INFO: Packet analysis {"connection_id":160353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:30:07] local.INFO: Extracted packet for processing {"connection_id":160353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579819776001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787421472000,"timestamp_ms":1787421472000,"timestamp_seconds":1787421472,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9f3500"} 
[2026-08-22 23: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-22 23:30:07] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579819776001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579819776001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:30:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579819776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":160353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:30:07] local.INFO: GPS data processed {"connection_id":160353,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:30:07] local.INFO: Acknowledgment sent {"connection_id":160353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:30:48] local.INFO: TCP Data received {"connection_id":162715,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:30:48] local.INFO: Processing buffer {"connection_id":162715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:30:48] local.INFO: IMEI packet received {"connection_id":162715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":162715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:30:51] local.INFO: TCP Data received {"connection_id":162716,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:30:51] local.INFO: Processing buffer {"connection_id":162716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:30:51] local.INFO: IMEI packet received {"connection_id":162716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":162716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:30:53] local.INFO: TCP Data received {"connection_id":162715,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:30:53] local.INFO: Processing buffer {"connection_id":162715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:30:53] local.INFO: IMEI packet received {"connection_id":162715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":162715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:30:54] local.INFO: TCP Data received {"connection_id":162715,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa036d0012d7a88c005fc0c900009014b2d..."} 
[2026-08-22 23:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa036d0012d7a88c005fc0c900009014b2d..."} 
[2026-08-22 23:30:54] local.INFO: Processing buffer {"connection_id":162715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa036d0012d7a88c005fc0c900009014b2d..."} 
[2026-08-22 23:30:54] local.INFO: Packet analysis {"connection_id":162715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa0"} 
[2026-08-22 23:30:54] local.INFO: Extracted packet for processing {"connection_id":162715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa0"} 
[2026-08-22 23:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763005120,"raw_latitude":100404368,"longitude_deg":76.300512,"latitude_deg":10.0404368,"altitude":9,"angle":331,"satellites":45,"speed":35,"hex_longitude":"2d7a88c0","hex_latitude":"05fc0c90","is_valid_coordinates":true} 
[2026-08-22 23:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579910400001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389198726498877440,"note":"Value kept but may cause issues"} 
[2026-08-22 23:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833881063532771328,"note":"Value kept but may cause issues"} 
[2026-08-22 23:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787421538000,"timestamp_ms":1787421538000,"timestamp_seconds":1787421538,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa036d0"} 
[2026-08-22 23:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:30: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-22 23:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 23:30:54] 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-22 23:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579910400001,"66":27245,"14":206,"87":10752,"24":35,"16":389198726498877440,"45":8833881063532771328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-08-22 23:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579910400001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:30:54] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-22 23:30:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389198726498877440,"km_value":389198726498877.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833881063532771328,"description":"Unknown IO ID 45"} 
[2026-08-22 23:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579910400001,"power":27245,"unknown_14":206,"unknown_87":10752,"ignition":35,"odometer":null,"unknown_45":8833881063532771328}} 
[2026-08-22 23:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":162715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:30:54] local.INFO: GPS data processed {"connection_id":162715,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:30:54] local.INFO: Acknowledgment sent {"connection_id":162715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:30:56] local.INFO: TCP Data received {"connection_id":162716,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:30:56] local.INFO: Processing buffer {"connection_id":162716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:30:56] local.INFO: IMEI packet received {"connection_id":162716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":162716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:30:57] local.INFO: TCP Data received {"connection_id":162716,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:30:57] local.INFO: Processing buffer {"connection_id":162716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:30:57] local.INFO: Packet analysis {"connection_id":162716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:30:57] local.INFO: Extracted packet for processing {"connection_id":162716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:30:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579819776001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787421472000,"timestamp_ms":1787421472000,"timestamp_seconds":1787421472,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9f3500"} 
[2026-08-22 23: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-22 23:30:57] 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-22 23:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579819776001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579819776001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:30:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:30:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579819776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":162716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:30:57] local.INFO: GPS data processed {"connection_id":162716,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:30:57] local.INFO: Acknowledgment sent {"connection_id":162716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:31:25] local.INFO: TCP Data received {"connection_id":162715,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa065b0012d7a770005fc2cf0000801482e..."} 
[2026-08-22 23:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa065b0012d7a770005fc2cf0000801482e..."} 
[2026-08-22 23:31:25] local.INFO: Processing buffer {"connection_id":162715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa065b0012d7a770005fc2cf0000801482e..."} 
[2026-08-22 23:31:25] local.INFO: Packet analysis {"connection_id":162715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa0"} 
[2026-08-22 23:31:25] local.INFO: Extracted packet for processing {"connection_id":162715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa0"} 
[2026-08-22 23:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763000576,"raw_latitude":100412656,"longitude_deg":76.3000576,"latitude_deg":10.0412656,"altitude":8,"angle":328,"satellites":46,"speed":35,"hex_longitude":"2d7a7700","hex_latitude":"05fc2cf0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579913728001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389199181765410816,"note":"Value kept but may cause issues"} 
[2026-08-22 23:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8829518201395908608,"note":"Value kept but may cause issues"} 
[2026-08-22 23:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787421550000,"timestamp_ms":1787421550000,"timestamp_seconds":1787421550,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa065b0"} 
[2026-08-22 23: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-22 23:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 23: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":109,"data_length":795,"current_offset":136} 
[2026-08-22 23:31: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-22 23: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-22 23: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-22 23:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579913728001,"66":27267,"14":206,"87":10752,"24":35,"16":389199181765410816,"45":8829518201395908608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-08-22 23:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579913728001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:31:25] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-22 23:31:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389199181765410816,"km_value":389199181765410.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8829518201395908608,"description":"Unknown IO ID 45"} 
[2026-08-22 23:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579913728001,"power":27267,"unknown_14":206,"unknown_87":10752,"ignition":35,"odometer":null,"unknown_45":8829518201395908608}} 
[2026-08-22 23:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":162715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:31:25] local.INFO: GPS data processed {"connection_id":162715,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:31:25] local.INFO: Acknowledgment sent {"connection_id":162715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:31:28] local.INFO: TCP Data received {"connection_id":162716,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:31:28] local.INFO: Processing buffer {"connection_id":162716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:31:28] local.INFO: Packet analysis {"connection_id":162716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:31:28] local.INFO: Extracted packet for processing {"connection_id":162716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579819776001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787421472000,"timestamp_ms":1787421472000,"timestamp_seconds":1787421472,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9f3500"} 
[2026-08-22 23: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-22 23:31:28] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579819776001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579819776001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:31:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:31:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579819776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":162716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:31:29] local.INFO: GPS data processed {"connection_id":162716,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:31:29] local.INFO: Acknowledgment sent {"connection_id":162716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:31:47] local.INFO: TCP Data received {"connection_id":162717,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:31:47] local.INFO: Processing buffer {"connection_id":162717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:31:47] local.INFO: IMEI packet received {"connection_id":162717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":162717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:31:51] local.INFO: TCP Data received {"connection_id":160132,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:31:51] local.INFO: Processing buffer {"connection_id":160132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:31:51] local.INFO: IMEI packet received {"connection_id":160132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":160132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:31:56] local.INFO: TCP Data received {"connection_id":160132,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:31:56] local.INFO: Processing buffer {"connection_id":160132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:31:56] local.INFO: IMEI packet received {"connection_id":160132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":160132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:31:57] local.INFO: TCP Data received {"connection_id":160132,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:31:57] local.INFO: Processing buffer {"connection_id":160132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:31:57] local.INFO: Packet analysis {"connection_id":160132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:31:57] local.INFO: Extracted packet for processing {"connection_id":160132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:31:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579819776001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787421472000,"timestamp_ms":1787421472000,"timestamp_seconds":1787421472,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9f3500"} 
[2026-08-22 23: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-22 23:31:57] 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-22 23:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579819776001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579819776001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:31:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:31:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579819776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":160132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:31:57] local.INFO: GPS data processed {"connection_id":160132,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:31:57] local.INFO: Acknowledgment sent {"connection_id":160132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:31:59] local.INFO: TCP Data received {"connection_id":162717,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:31:59] local.INFO: Processing buffer {"connection_id":162717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:31:59] local.INFO: IMEI packet received {"connection_id":162717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":162717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:32:00] local.INFO: TCP Data received {"connection_id":162717,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa21748012d79d80005fd1c280008015a2c..."} 
[2026-08-22 23:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa21748012d79d80005fd1c280008015a2c..."} 
[2026-08-22 23:32:00] local.INFO: Processing buffer {"connection_id":162717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa21748012d79d80005fd1c280008015a2c..."} 
[2026-08-22 23:32:00] local.INFO: Packet analysis {"connection_id":162717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa2"} 
[2026-08-22 23:32:00] local.INFO: Extracted packet for processing {"connection_id":162717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa2"} 
[2026-08-22 23:32:00] local.INFO: GPS Element Parsed {"raw_longitude":762959872,"raw_latitude":100473896,"longitude_deg":76.2959872,"latitude_deg":10.0473896,"altitude":8,"angle":346,"satellites":44,"speed":19,"hex_longitude":"2d79d800","hex_latitude":"05fd1c28","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579944704001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389202742293299200,"note":"Value kept but may cause issues"} 
[2026-08-22 23:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780119343000774656,"note":"Value kept but may cause issues"} 
[2026-08-22 23:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787421661000,"timestamp_ms":1787421661000,"timestamp_seconds":1787421661,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa21748"} 
[2026-08-22 23: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-22 23:32: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-22 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 23:32: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-22 23: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-22 23: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-22 23:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579944704001,"66":27169,"216":206,"87":10752,"24":19,"16":389202742293299200,"45":8780119343000774656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-08-22 23:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579944704001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:32:00] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 23:32:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389202742293299200,"km_value":389202742293299.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780119343000774656,"description":"Unknown IO ID 45"} 
[2026-08-22 23:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579944704001,"power":27169,"unknown_216":206,"unknown_87":10752,"ignition":19,"odometer":null,"unknown_45":8780119343000774656}} 
[2026-08-22 23:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":162717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:32:00] local.INFO: GPS data processed {"connection_id":162717,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:32:00] local.INFO: Acknowledgment sent {"connection_id":162717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:32:29] local.INFO: TCP Data received {"connection_id":160132,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:32:29] local.INFO: Processing buffer {"connection_id":160132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:32:29] local.INFO: Packet analysis {"connection_id":160132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:32:29] local.INFO: Extracted packet for processing {"connection_id":160132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:32:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579819776001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787421472000,"timestamp_ms":1787421472000,"timestamp_seconds":1787421472,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9f3500"} 
[2026-08-22 23: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-22 23:32:29] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579819776001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579819776001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:32:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:32:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579819776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":160132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:32:29] local.INFO: GPS data processed {"connection_id":160132,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:32:29] local.INFO: Acknowledgment sent {"connection_id":160132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:32:32] local.INFO: TCP Data received {"connection_id":162717,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa22300012d79d64005fd21480009014d2c..."} 
[2026-08-22 23:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa22300012d79d64005fd21480009014d2c..."} 
[2026-08-22 23:32:32] local.INFO: Processing buffer {"connection_id":162717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa22300012d79d64005fd21480009014d2c..."} 
[2026-08-22 23:32:32] local.INFO: Packet analysis {"connection_id":162717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa2"} 
[2026-08-22 23:32:32] local.INFO: Extracted packet for processing {"connection_id":162717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa2"} 
[2026-08-22 23:32:32] local.INFO: GPS Element Parsed {"raw_longitude":762959424,"raw_latitude":100475208,"longitude_deg":76.2959424,"latitude_deg":10.0475208,"altitude":9,"angle":333,"satellites":44,"speed":18,"hex_longitude":"2d79d640","hex_latitude":"05fd2148","is_valid_coordinates":true} 
[2026-08-22 23:32: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-22 23:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579945216001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389202811012775936,"note":"Value kept but may cause issues"} 
[2026-08-22 23:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779767499280099328,"note":"Value kept but may cause issues"} 
[2026-08-22 23:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787421664000,"timestamp_ms":1787421664000,"timestamp_seconds":1787421664,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa22300"} 
[2026-08-22 23:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:32: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-22 23:32: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":33,"data_length":795,"current_offset":136} 
[2026-08-22 23:32:32] 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-22 23:32: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-22 23:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579945216001,"66":27213,"216":206,"87":10752,"24":18,"16":389202811012775936,"45":8779767499280099328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-08-22 23:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579945216001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:32:32] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 23:32:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389202811012775936,"km_value":389202811012775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779767499280099328,"description":"Unknown IO ID 45"} 
[2026-08-22 23:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579945216001,"power":27213,"unknown_216":206,"unknown_87":10752,"ignition":18,"odometer":null,"unknown_45":8779767499280099328}} 
[2026-08-22 23:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":162717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:32:32] local.INFO: GPS data processed {"connection_id":162717,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:32:32] local.INFO: Acknowledgment sent {"connection_id":162717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:32:48] local.INFO: TCP Data received {"connection_id":160354,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:32:48] local.INFO: Processing buffer {"connection_id":160354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:32:48] local.INFO: IMEI packet received {"connection_id":160354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":160354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:32:48] local.INFO: TCP Data received {"connection_id":160354,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:32:48] local.INFO: Processing buffer {"connection_id":160354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:32:48] local.INFO: IMEI packet received {"connection_id":160354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":160354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:32:52] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:32:52] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:32:52] local.INFO: IMEI packet received {"connection_id":160355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":160355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:32:53] local.INFO: TCP Data received {"connection_id":160354,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:32:53] local.INFO: Processing buffer {"connection_id":160354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:32:53] local.INFO: IMEI packet received {"connection_id":160354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":160354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:32:55] local.INFO: TCP Data received {"connection_id":160354,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa22ad0012d79d44005fd2458000901402d..."} 
[2026-08-22 23:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa22ad0012d79d44005fd2458000901402d..."} 
[2026-08-22 23:32:55] local.INFO: Processing buffer {"connection_id":160354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa22ad0012d79d44005fd2458000901402d..."} 
[2026-08-22 23:32:55] local.INFO: Packet analysis {"connection_id":160354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa2"} 
[2026-08-22 23:32:55] local.INFO: Extracted packet for processing {"connection_id":160354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa2"} 
[2026-08-22 23:32:55] local.INFO: GPS Element Parsed {"raw_longitude":762958912,"raw_latitude":100475992,"longitude_deg":76.2958912,"latitude_deg":10.0475992,"altitude":9,"angle":320,"satellites":45,"speed":20,"hex_longitude":"2d79d440","hex_latitude":"05fd2458","is_valid_coordinates":true} 
[2026-08-22 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-22 23:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579945984001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389202858257416192,"note":"Value kept but may cause issues"} 
[2026-08-22 23:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779274918071191552,"note":"Value kept but may cause issues"} 
[2026-08-22 23:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787421666000,"timestamp_ms":1787421666000,"timestamp_seconds":1787421666,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa22ad0"} 
[2026-08-22 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-22 23:32: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-22 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 23:32:55] 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-22 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-22 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-22 23:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579945984001,"66":27126,"216":206,"87":10752,"24":20,"16":389202858257416192,"45":8779274918071191552},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-08-22 23:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579945984001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:32:55] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 23:32:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389202858257416192,"km_value":389202858257416.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779274918071191552,"description":"Unknown IO ID 45"} 
[2026-08-22 23:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579945984001,"power":27126,"unknown_216":206,"unknown_87":10752,"ignition":20,"odometer":null,"unknown_45":8779274918071191552}} 
[2026-08-22 23:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":160354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:32:55] local.INFO: GPS data processed {"connection_id":160354,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:32:55] local.INFO: Acknowledgment sent {"connection_id":160354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:32:56] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:32:56] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:32:56] local.INFO: IMEI packet received {"connection_id":160355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":160355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:32:57] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:32:57] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:32:57] local.INFO: Packet analysis {"connection_id":160355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:32:57] local.INFO: Extracted packet for processing {"connection_id":160355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:32:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579819776001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:32: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-22 23:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787421472000,"timestamp_ms":1787421472000,"timestamp_seconds":1787421472,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9f3500"} 
[2026-08-22 23: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-22 23:32:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:32: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-22 23: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-22 23: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-22 23:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579819776001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579819776001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:32:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:32:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579819776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":160355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:32:57] local.INFO: GPS data processed {"connection_id":160355,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:32:57] local.INFO: Acknowledgment sent {"connection_id":160355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:33:27] local.INFO: TCP Data received {"connection_id":160354,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa26180012d79bd8005fd41c0000801412e..."} 
[2026-08-22 23:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa26180012d79bd8005fd41c0000801412e..."} 
[2026-08-22 23:33:27] local.INFO: Processing buffer {"connection_id":160354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa26180012d79bd8005fd41c0000801412e..."} 
[2026-08-22 23:33:27] local.INFO: Packet analysis {"connection_id":160354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa2"} 
[2026-08-22 23:33:27] local.INFO: Extracted packet for processing {"connection_id":160354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa2"} 
[2026-08-22 23:33:27] local.INFO: GPS Element Parsed {"raw_longitude":762953088,"raw_latitude":100483520,"longitude_deg":76.2953088,"latitude_deg":10.048352,"altitude":8,"angle":321,"satellites":46,"speed":32,"hex_longitude":"2d79bd80","hex_latitude":"05fd41c0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579946496001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389203317818916864,"note":"Value kept but may cause issues"} 
[2026-08-22 23:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778711968117970944,"note":"Value kept but may cause issues"} 
[2026-08-22 23:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787421680000,"timestamp_ms":1787421680000,"timestamp_seconds":1787421680,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa26180"} 
[2026-08-22 23: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-22 23: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-22 23: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":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-22 23:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579946496001,"66":27234,"216":206,"87":10752,"24":32,"16":389203317818916864,"45":8778711968117970944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-08-22 23:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579946496001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:33:27] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-22 23:33:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389203317818916864,"km_value":389203317818916.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778711968117970944,"description":"Unknown IO ID 45"} 
[2026-08-22 23:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579946496001,"power":27234,"unknown_216":206,"unknown_87":10752,"ignition":32,"odometer":null,"unknown_45":8778711968117970944}} 
[2026-08-22 23:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":160354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:33:27] local.INFO: GPS data processed {"connection_id":160354,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:33:27] local.INFO: Acknowledgment sent {"connection_id":160354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:33:29] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:33:29] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02a9f3500012d196540071ff1b00040013726..."} 
[2026-08-22 23:33:29] local.INFO: Packet analysis {"connection_id":160355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:33:29] local.INFO: Extracted packet for processing {"connection_id":160355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02a9f"} 
[2026-08-22 23:33:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:33: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-22 23:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579819776001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787421472000,"timestamp_ms":1787421472000,"timestamp_seconds":1787421472,"priority":1,"record_length":96,"hex_timestamp":"000001a02a9f3500"} 
[2026-08-22 23:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:33:29] 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-22 23:33: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23:33: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-22 23:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579819776001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579819776001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:33:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:33:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579819776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":160355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:33:29] local.INFO: GPS data processed {"connection_id":160355,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:33:29] local.INFO: Acknowledgment sent {"connection_id":160355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:33:47] local.INFO: TCP Data received {"connection_id":162718,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:33:47] local.INFO: Processing buffer {"connection_id":162718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:33:47] local.INFO: IMEI packet received {"connection_id":162718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":162718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:33:47] local.INFO: TCP Data received {"connection_id":162718,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:33:47] local.INFO: Processing buffer {"connection_id":162718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:33:47] local.INFO: IMEI packet received {"connection_id":162718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":162718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:33:53] local.INFO: TCP Data received {"connection_id":162718,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:33:53] local.INFO: Processing buffer {"connection_id":162718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:33:53] local.INFO: IMEI packet received {"connection_id":162718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":162718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:33:54] local.INFO: TCP Data received {"connection_id":162718,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa3e438012d792f4005fe7858000801422e..."} 
[2026-08-22 23:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa3e438012d792f4005fe7858000801422e..."} 
[2026-08-22 23:33:54] local.INFO: Processing buffer {"connection_id":162718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa3e438012d792f4005fe7858000801422e..."} 
[2026-08-22 23:33:54] local.INFO: Packet analysis {"connection_id":162718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:33:54] local.INFO: Extracted packet for processing {"connection_id":162718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:33:54] local.INFO: GPS Element Parsed {"raw_longitude":762916672,"raw_latitude":100563032,"longitude_deg":76.2916672,"latitude_deg":10.0563032,"altitude":8,"angle":322,"satellites":46,"speed":30,"hex_longitude":"2d792f40","hex_latitude":"05fe7858","is_valid_coordinates":true} 
[2026-08-22 23:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579975424001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389207569836539904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8732268596982994944,"note":"Value kept but may cause issues"} 
[2026-08-22 23:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787421779000,"timestamp_ms":1787421779000,"timestamp_seconds":1787421779,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa3e438"} 
[2026-08-22 23:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:33: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-22 23:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 23:33: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-22 23:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579975424001,"66":27343,"178":206,"87":10752,"24":30,"16":389207569836539904,"45":8732268596982994944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-08-22 23:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579975424001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:33:54] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-22 23:33:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389207569836539904,"km_value":389207569836539.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8732268596982994944,"description":"Unknown IO ID 45"} 
[2026-08-22 23:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579975424001,"power":27343,"unknown_178":206,"unknown_87":10752,"ignition":30,"odometer":null,"unknown_45":8732268596982994944}} 
[2026-08-22 23:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":162718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:33:54] local.INFO: GPS data processed {"connection_id":162718,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:33:54] local.INFO: Acknowledgment sent {"connection_id":162718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:33:56] local.INFO: TCP Data received {"connection_id":162719,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:33:56] local.INFO: Processing buffer {"connection_id":162719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:33:56] local.INFO: IMEI packet received {"connection_id":162719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":162719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:33:57] local.INFO: TCP Data received {"connection_id":162719,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:33:57] local.INFO: Processing buffer {"connection_id":162719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:33:57] local.INFO: Packet analysis {"connection_id":162719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:33:57] local.INFO: Extracted packet for processing {"connection_id":162719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:33:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579896832001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:33: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-22 23:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787421773000,"timestamp_ms":1787421773000,"timestamp_seconds":1787421773,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa3ccc8"} 
[2026-08-22 23: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-22 23:33:57] 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-22 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 23:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579896832001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579896832001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:33:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:33:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579896832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":162719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:33:57] local.INFO: GPS data processed {"connection_id":162719,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:33:57] local.INFO: Acknowledgment sent {"connection_id":162719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:34:25] local.INFO: TCP Data received {"connection_id":162718,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa3eff0012d79294005fe7e58000801372e..."} 
[2026-08-22 23:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa3eff0012d79294005fe7e58000801372e..."} 
[2026-08-22 23:34:25] local.INFO: Processing buffer {"connection_id":162718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa3eff0012d79294005fe7e58000801372e..."} 
[2026-08-22 23:34:25] local.INFO: Packet analysis {"connection_id":162718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:34:25] local.INFO: Extracted packet for processing {"connection_id":162718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:34:25] local.INFO: GPS Element Parsed {"raw_longitude":762915136,"raw_latitude":100564568,"longitude_deg":76.2915136,"latitude_deg":10.0564568,"altitude":8,"angle":311,"satellites":46,"speed":27,"hex_longitude":"2d792940","hex_latitude":"05fe7e58","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579975424001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389207672915755008,"note":"Value kept but may cause issues"} 
[2026-08-22 23:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8732268596982994944,"note":"Value kept but may cause issues"} 
[2026-08-22 23:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787421782000,"timestamp_ms":1787421782000,"timestamp_seconds":1787421782,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa3eff0"} 
[2026-08-22 23: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-22 23: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-22 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 23:34:25] 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-22 23: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-22 23: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-22 23:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579975424001,"66":27234,"178":206,"87":10752,"24":27,"16":389207672915755008,"45":8732268596982994944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-08-22 23:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579975424001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:34:25] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-22 23:34:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389207672915755008,"km_value":389207672915755.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8732268596982994944,"description":"Unknown IO ID 45"} 
[2026-08-22 23:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579975424001,"power":27234,"unknown_178":206,"unknown_87":10752,"ignition":27,"odometer":null,"unknown_45":8732268596982994944}} 
[2026-08-22 23:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":162718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:34:25] local.INFO: GPS data processed {"connection_id":162718,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:34:25] local.INFO: Acknowledgment sent {"connection_id":162718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:34:29] local.INFO: TCP Data received {"connection_id":162719,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:34:29] local.INFO: Processing buffer {"connection_id":162719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:34:29] local.INFO: Packet analysis {"connection_id":162719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:34:29] local.INFO: Extracted packet for processing {"connection_id":162719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:34:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579896832001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787421773000,"timestamp_ms":1787421773000,"timestamp_seconds":1787421773,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa3ccc8"} 
[2026-08-22 23: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-22 23:34:29] 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-22 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 23:34:29] 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-22 23: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-22 23: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-22 23:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579896832001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579896832001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:34:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:34:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579896832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":162719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:34:29] local.INFO: GPS data processed {"connection_id":162719,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:34:29] local.INFO: Acknowledgment sent {"connection_id":162719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:34:47] local.INFO: TCP Data received {"connection_id":160133,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:34:48] local.INFO: Processing buffer {"connection_id":160133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:34:48] local.INFO: IMEI packet received {"connection_id":160133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":160133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:34:51] local.INFO: TCP Data received {"connection_id":160134,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:34:51] local.INFO: Processing buffer {"connection_id":160134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:34:51] local.INFO: IMEI packet received {"connection_id":160134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":160134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:34:53] local.INFO: TCP Data received {"connection_id":160133,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:34:53] local.INFO: Processing buffer {"connection_id":160133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:34:53] local.INFO: IMEI packet received {"connection_id":160133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":160133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:34:54] local.INFO: TCP Data received {"connection_id":160133,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa40378012d79210005fe85b0000801482f..."} 
[2026-08-22 23:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa40378012d79210005fe85b0000801482f..."} 
[2026-08-22 23:34:54] local.INFO: Processing buffer {"connection_id":160133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa40378012d79210005fe85b0000801482f..."} 
[2026-08-22 23:34:54] local.INFO: Packet analysis {"connection_id":160133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa4"} 
[2026-08-22 23:34:54] local.INFO: Extracted packet for processing {"connection_id":160133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa4"} 
[2026-08-22 23:34:54] local.INFO: GPS Element Parsed {"raw_longitude":762913024,"raw_latitude":100566448,"longitude_deg":76.2913024,"latitude_deg":10.0566448,"altitude":8,"angle":328,"satellites":47,"speed":18,"hex_longitude":"2d792100","hex_latitude":"05fe85b0","is_valid_coordinates":true} 
[2026-08-22 23:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579976192001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389207810354708480,"note":"Value kept but may cause issues"} 
[2026-08-22 23:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8730579747123124224,"note":"Value kept but may cause issues"} 
[2026-08-22 23:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787421787000,"timestamp_ms":1787421787000,"timestamp_seconds":1787421787,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa40378"} 
[2026-08-22 23:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:34: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-22 23:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-22 23:34:54] 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-22 23:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579976192001,"66":27234,"178":206,"87":10752,"24":18,"16":389207810354708480,"45":8730579747123124224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-08-22 23:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579976192001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:34:54] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-22 23:34:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389207810354708480,"km_value":389207810354708.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8730579747123124224,"description":"Unknown IO ID 45"} 
[2026-08-22 23:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579976192001,"power":27234,"unknown_178":206,"unknown_87":10752,"ignition":18,"odometer":null,"unknown_45":8730579747123124224}} 
[2026-08-22 23:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":160133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:34:54] local.INFO: GPS data processed {"connection_id":160133,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:34:54] local.INFO: Acknowledgment sent {"connection_id":160133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:34:56] local.INFO: TCP Data received {"connection_id":160134,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:34:56] local.INFO: Processing buffer {"connection_id":160134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:34:56] local.INFO: IMEI packet received {"connection_id":160134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":160134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:34:57] local.INFO: TCP Data received {"connection_id":160134,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:34:57] local.INFO: Processing buffer {"connection_id":160134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:34:57] local.INFO: Packet analysis {"connection_id":160134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:34:57] local.INFO: Extracted packet for processing {"connection_id":160134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579896832001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:34: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-22 23:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787421773000,"timestamp_ms":1787421773000,"timestamp_seconds":1787421773,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa3ccc8"} 
[2026-08-22 23: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-22 23:34:57] 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-22 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 23:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579896832001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579896832001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:34:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579896832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":160134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:34:58] local.INFO: GPS data processed {"connection_id":160134,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:34:58] local.INFO: Acknowledgment sent {"connection_id":160134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:35:02] local.INFO: TCP Data received {"connection_id":160134,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:35:02] local.INFO: Processing buffer {"connection_id":160134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:35:02] local.INFO: Packet analysis {"connection_id":160134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:35:02] local.INFO: Extracted packet for processing {"connection_id":160134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:35:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579896832001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787421773000,"timestamp_ms":1787421773000,"timestamp_seconds":1787421773,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa3ccc8"} 
[2026-08-22 23: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-22 23:35:02] 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-22 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 23:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579896832001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579896832001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:35:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:35:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579896832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":160134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:35:02] local.INFO: GPS data processed {"connection_id":160134,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:35:02] local.INFO: Acknowledgment sent {"connection_id":160134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:35:25] local.INFO: TCP Data received {"connection_id":160133,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa53fe0012d78a84005ff41e8000900092d..."} 
[2026-08-22 23:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa53fe0012d78a84005ff41e8000900092d..."} 
[2026-08-22 23:35:25] local.INFO: Processing buffer {"connection_id":160133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa53fe0012d78a84005ff41e8000900092d..."} 
[2026-08-22 23:35:25] local.INFO: Packet analysis {"connection_id":160133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa5"} 
[2026-08-22 23:35:25] local.INFO: Extracted packet for processing {"connection_id":160133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa5"} 
[2026-08-22 23:35:25] local.INFO: GPS Element Parsed {"raw_longitude":762882112,"raw_latitude":100614632,"longitude_deg":76.2882112,"latitude_deg":10.0614632,"altitude":9,"angle":9,"satellites":45,"speed":14,"hex_longitude":"2d78a840","hex_latitude":"05ff41e8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579997952001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389210623558287360,"note":"Value kept but may cause issues"} 
[2026-08-22 23:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694269475140175872,"note":"Value kept but may cause issues"} 
[2026-08-22 23:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787421868000,"timestamp_ms":1787421868000,"timestamp_seconds":1787421868,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa53fe0"} 
[2026-08-22 23: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-22 23: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-22 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 23:35: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-22 23: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-22 23: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-22 23:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579997952001,"66":27213,"178":206,"87":10752,"24":14,"16":389210623558287360,"45":8694269475140175872},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-08-22 23:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579997952001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:35:25] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-22 23:35:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389210623558287360,"km_value":389210623558287.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694269475140175872,"description":"Unknown IO ID 45"} 
[2026-08-22 23:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579997952001,"power":27213,"unknown_178":206,"unknown_87":10752,"ignition":14,"odometer":null,"unknown_45":8694269475140175872}} 
[2026-08-22 23:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":160133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:35:25] local.INFO: GPS data processed {"connection_id":160133,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:35:25] local.INFO: Acknowledgment sent {"connection_id":160133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:35:33] local.INFO: TCP Data received {"connection_id":160134,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:35:33] local.INFO: Processing buffer {"connection_id":160134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:35:33] local.INFO: Packet analysis {"connection_id":160134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:35:33] local.INFO: Extracted packet for processing {"connection_id":160134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579896832001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:35: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-22 23:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787421773000,"timestamp_ms":1787421773000,"timestamp_seconds":1787421773,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa3ccc8"} 
[2026-08-22 23: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-22 23:35:33] 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-22 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 23:35:33] 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-22 23: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-22 23: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-22 23:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579896832001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579896832001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:35:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579896832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":160134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:35:33] local.INFO: GPS data processed {"connection_id":160134,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:35:33] local.INFO: Acknowledgment sent {"connection_id":160134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:35:47] local.INFO: TCP Data received {"connection_id":162720,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:35:48] local.INFO: Processing buffer {"connection_id":162720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:35:48] local.INFO: IMEI packet received {"connection_id":162720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":162720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:35:51] local.INFO: TCP Data received {"connection_id":162721,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:35:51] local.INFO: Processing buffer {"connection_id":162721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:35:51] local.INFO: IMEI packet received {"connection_id":162721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":162721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:35:53] local.INFO: TCP Data received {"connection_id":162720,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:35:53] local.INFO: Processing buffer {"connection_id":162720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:35:53] local.INFO: IMEI packet received {"connection_id":162720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":162720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:35:54] local.INFO: TCP Data received {"connection_id":162720,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa55750012d78aa8005ff4c50000801662f..."} 
[2026-08-22 23:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa55750012d78aa8005ff4c50000801662f..."} 
[2026-08-22 23:35:54] local.INFO: Processing buffer {"connection_id":162720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa55750012d78aa8005ff4c50000801662f..."} 
[2026-08-22 23:35:54] local.INFO: Packet analysis {"connection_id":162720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa5"} 
[2026-08-22 23:35:54] local.INFO: Extracted packet for processing {"connection_id":162720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa5"} 
[2026-08-22 23:35:54] local.INFO: GPS Element Parsed {"raw_longitude":762882688,"raw_latitude":100617296,"longitude_deg":76.2882688,"latitude_deg":10.0617296,"altitude":8,"angle":358,"satellites":47,"speed":18,"hex_longitude":"2d78aa80","hex_latitude":"05ff4c50","is_valid_coordinates":true} 
[2026-08-22 23:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579998208001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389210756702273536,"note":"Value kept but may cause issues"} 
[2026-08-22 23:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694269475140265984,"note":"Value kept but may cause issues"} 
[2026-08-22 23:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787421874000,"timestamp_ms":1787421874000,"timestamp_seconds":1787421874,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa55750"} 
[2026-08-22 23:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:35: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-22 23:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 23:35:54] 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-22 23:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579998208001,"66":27267,"140":206,"87":10752,"24":18,"16":389210756702273536,"45":8694269475140265984},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-08-22 23:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579998208001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:35:54] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-22 23:35:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389210756702273536,"km_value":389210756702273.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694269475140265984,"description":"Unknown IO ID 45"} 
[2026-08-22 23:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579998208001,"power":27267,"unknown_140":206,"unknown_87":10752,"ignition":18,"odometer":null,"unknown_45":8694269475140265984}} 
[2026-08-22 23:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":162720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:35:54] local.INFO: GPS data processed {"connection_id":162720,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:35:54] local.INFO: Acknowledgment sent {"connection_id":162720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:35:56] local.INFO: TCP Data received {"connection_id":162721,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:35:56] local.INFO: Processing buffer {"connection_id":162721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:35:56] local.INFO: IMEI packet received {"connection_id":162721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":162721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:35:57] local.INFO: TCP Data received {"connection_id":162721,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:35:57] local.INFO: Processing buffer {"connection_id":162721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:35:57] local.INFO: Packet analysis {"connection_id":162721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:35:57] local.INFO: Extracted packet for processing {"connection_id":162721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579896832001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:35: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-22 23:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787421773000,"timestamp_ms":1787421773000,"timestamp_seconds":1787421773,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa3ccc8"} 
[2026-08-22 23: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-22 23:35:57] 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-22 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 23:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579896832001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579896832001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:35:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:35:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579896832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":162721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:35:57] local.INFO: GPS data processed {"connection_id":162721,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:35:57] local.INFO: Acknowledgment sent {"connection_id":162721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:36:25] local.INFO: TCP Data received {"connection_id":162720,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa56308012d78a98005ff51980008015a2e..."} 
[2026-08-22 23:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa56308012d78a98005ff51980008015a2e..."} 
[2026-08-22 23:36:25] local.INFO: Processing buffer {"connection_id":162720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa56308012d78a98005ff51980008015a2e..."} 
[2026-08-22 23:36:25] local.INFO: Packet analysis {"connection_id":162720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa5"} 
[2026-08-22 23:36:25] local.INFO: Extracted packet for processing {"connection_id":162720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa5"} 
[2026-08-22 23:36:25] local.INFO: GPS Element Parsed {"raw_longitude":762882432,"raw_latitude":100618648,"longitude_deg":76.2882432,"latitude_deg":10.0618648,"altitude":8,"angle":346,"satellites":46,"speed":19,"hex_longitude":"2d78a980","hex_latitude":"05ff5198","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579999744001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389210821126782976,"note":"Value kept but may cause issues"} 
[2026-08-22 23:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694902793838546944,"note":"Value kept but may cause issues"} 
[2026-08-22 23:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787421877000,"timestamp_ms":1787421877000,"timestamp_seconds":1787421877,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa56308"} 
[2026-08-22 23: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-22 23:36: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-22 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 23:36:25] 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-22 23: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-22 23: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-22 23:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579999744001,"66":27343,"140":206,"87":10752,"24":19,"16":389210821126782976,"45":8694902793838546944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-08-22 23:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579999744001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:36:25] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-22 23:36:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389210821126782976,"km_value":389210821126783.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694902793838546944,"description":"Unknown IO ID 45"} 
[2026-08-22 23:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579999744001,"power":27343,"unknown_140":206,"unknown_87":10752,"ignition":19,"odometer":null,"unknown_45":8694902793838546944}} 
[2026-08-22 23:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":162720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:36:25] local.INFO: GPS data processed {"connection_id":162720,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:36:25] local.INFO: Acknowledgment sent {"connection_id":162720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:36:28] local.INFO: TCP Data received {"connection_id":162721,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:36:28] local.INFO: Processing buffer {"connection_id":162721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:36:28] local.INFO: Packet analysis {"connection_id":162721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:36:28] local.INFO: Extracted packet for processing {"connection_id":162721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579896832001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787421773000,"timestamp_ms":1787421773000,"timestamp_seconds":1787421773,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa3ccc8"} 
[2026-08-22 23:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:36:28] 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-22 23:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 23:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579896832001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579896832001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:36:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:36:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579896832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":162721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:36:29] local.INFO: GPS data processed {"connection_id":162721,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:36:29] local.INFO: Acknowledgment sent {"connection_id":162721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:36:52] local.INFO: TCP Data received {"connection_id":160135,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:36:52] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:36:52] local.INFO: IMEI packet received {"connection_id":160135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":160135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:36:53] local.INFO: TCP Data received {"connection_id":161310,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:36:53] local.INFO: Processing buffer {"connection_id":161310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:36:53] local.INFO: IMEI packet received {"connection_id":161310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":161310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:36:53] local.INFO: TCP Data received {"connection_id":161310,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:36:54] local.INFO: Processing buffer {"connection_id":161310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:36:54] local.INFO: IMEI packet received {"connection_id":161310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":161310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:36:54] local.INFO: TCP Data received {"connection_id":161310,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa5a570012d789f8005ff7328000801552e..."} 
[2026-08-22 23:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa5a570012d789f8005ff7328000801552e..."} 
[2026-08-22 23:36:54] local.INFO: Processing buffer {"connection_id":161310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa5a570012d789f8005ff7328000801552e..."} 
[2026-08-22 23:36:54] local.INFO: Packet analysis {"connection_id":161310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa5"} 
[2026-08-22 23:36:54] local.INFO: Extracted packet for processing {"connection_id":161310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa5"} 
[2026-08-22 23:36:54] local.INFO: GPS Element Parsed {"raw_longitude":762879872,"raw_latitude":100627240,"longitude_deg":76.2879872,"latitude_deg":10.062724,"altitude":8,"angle":341,"satellites":46,"speed":23,"hex_longitude":"2d789f80","hex_latitude":"05ff7328","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580000512001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389211259213447168,"note":"Value kept but may cause issues"} 
[2026-08-22 23:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694621318862182400,"note":"Value kept but may cause issues"} 
[2026-08-22 23:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787421894000,"timestamp_ms":1787421894000,"timestamp_seconds":1787421894,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa5a570"} 
[2026-08-22 23: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-22 23:36: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-22 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 23:36: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-22 23: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-22 23: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-22 23:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580000512001,"66":27397,"140":206,"87":10752,"24":23,"16":389211259213447168,"45":8694621318862182400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-08-22 23:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580000512001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:36:54] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-22 23:36:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389211259213447168,"km_value":389211259213447.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694621318862182400,"description":"Unknown IO ID 45"} 
[2026-08-22 23:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580000512001,"power":27397,"unknown_140":206,"unknown_87":10752,"ignition":23,"odometer":null,"unknown_45":8694621318862182400}} 
[2026-08-22 23:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":161310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:36:54] local.INFO: GPS data processed {"connection_id":161310,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:36:54] local.INFO: Acknowledgment sent {"connection_id":161310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:36:56] local.INFO: TCP Data received {"connection_id":160135,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:36:56] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:36:56] local.INFO: IMEI packet received {"connection_id":160135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":160135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:36:57] local.INFO: TCP Data received {"connection_id":160135,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:36:57] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:36:57] local.INFO: Packet analysis {"connection_id":160135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:36:57] local.INFO: Extracted packet for processing {"connection_id":160135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:36:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579896832001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:36: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-22 23:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787421773000,"timestamp_ms":1787421773000,"timestamp_seconds":1787421773,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa3ccc8"} 
[2026-08-22 23: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-22 23:36:57] 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-22 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 23:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579896832001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579896832001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:36:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:36:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579896832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":160135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:36:57] local.INFO: GPS data processed {"connection_id":160135,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:36:57] local.INFO: Acknowledgment sent {"connection_id":160135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:36:58] local.INFO: TCP Data received {"connection_id":161310,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa5d838012d78948005ff9538000701582d..."} 
[2026-08-22 23:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa5d838012d78948005ff9538000701582d..."} 
[2026-08-22 23:36:58] local.INFO: Processing buffer {"connection_id":161310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa5d838012d78948005ff9538000701582d..."} 
[2026-08-22 23:36:58] local.INFO: Packet analysis {"connection_id":161310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa5"} 
[2026-08-22 23:36:58] local.INFO: Extracted packet for processing {"connection_id":161310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa5"} 
[2026-08-22 23:36:58] local.INFO: GPS Element Parsed {"raw_longitude":762877056,"raw_latitude":100635960,"longitude_deg":76.2877056,"latitude_deg":10.063596,"altitude":7,"angle":344,"satellites":45,"speed":31,"hex_longitude":"2d789480","hex_latitude":"05ff9538","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580004864001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389211701595078656,"note":"Value kept but may cause issues"} 
[2026-08-22 23:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8691806569097275392,"note":"Value kept but may cause issues"} 
[2026-08-22 23:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787421907000,"timestamp_ms":1787421907000,"timestamp_seconds":1787421907,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa5d838"} 
[2026-08-22 23: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-22 23:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 23:36: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-22 23: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-22 23: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-22 23:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580004864001,"66":27169,"140":206,"87":10752,"24":31,"16":389211701595078656,"45":8691806569097275392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-08-22 23:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580004864001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:36:58] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-22 23:36:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389211701595078656,"km_value":389211701595078.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8691806569097275392,"description":"Unknown IO ID 45"} 
[2026-08-22 23:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580004864001,"power":27169,"unknown_140":206,"unknown_87":10752,"ignition":31,"odometer":null,"unknown_45":8691806569097275392}} 
[2026-08-22 23:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":161310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:36:58] local.INFO: GPS data processed {"connection_id":161310,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:36:58] local.INFO: Acknowledgment sent {"connection_id":161310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:37:28] local.INFO: TCP Data received {"connection_id":160135,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:37:28] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:37:28] local.INFO: Packet analysis {"connection_id":160135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:37:28] local.INFO: Extracted packet for processing {"connection_id":160135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579896832001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787421773000,"timestamp_ms":1787421773000,"timestamp_seconds":1787421773,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa3ccc8"} 
[2026-08-22 23: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-22 23:37:28] 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-22 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 23:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579896832001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579896832001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:37:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:37:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579896832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":160135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:37:28] local.INFO: GPS data processed {"connection_id":160135,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:37:28] local.INFO: Acknowledgment sent {"connection_id":160135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:37:29] local.INFO: TCP Data received {"connection_id":161310,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa60330012d788d0005ffb928000701602d..."} 
[2026-08-22 23:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa60330012d788d0005ffb928000701602d..."} 
[2026-08-22 23:37:29] local.INFO: Processing buffer {"connection_id":161310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa60330012d788d0005ffb928000701602d..."} 
[2026-08-22 23:37:29] local.INFO: Packet analysis {"connection_id":161310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa6"} 
[2026-08-22 23:37:29] local.INFO: Extracted packet for processing {"connection_id":161310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa6"} 
[2026-08-22 23:37:29] local.INFO: GPS Element Parsed {"raw_longitude":762875136,"raw_latitude":100645160,"longitude_deg":76.2875136,"latitude_deg":10.064516,"altitude":7,"angle":352,"satellites":45,"speed":35,"hex_longitude":"2d788d00","hex_latitude":"05ffb928","is_valid_coordinates":true} 
[2026-08-22 23:37: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-22 23:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580008192001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389212156861612032,"note":"Value kept but may cause issues"} 
[2026-08-22 23:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8688710344355690496,"note":"Value kept but may cause issues"} 
[2026-08-22 23:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787421918000,"timestamp_ms":1787421918000,"timestamp_seconds":1787421918,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa60330"} 
[2026-08-22 23:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:37: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-22 23:37: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":33,"data_length":795,"current_offset":136} 
[2026-08-22 23:37:29] 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-22 23:37: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-22 23:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580008192001,"66":27321,"140":206,"87":10752,"24":35,"16":389212156861612032,"45":8688710344355690496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-08-22 23:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580008192001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:37:29] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-22 23:37:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389212156861612032,"km_value":389212156861612.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8688710344355690496,"description":"Unknown IO ID 45"} 
[2026-08-22 23:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580008192001,"power":27321,"unknown_140":206,"unknown_87":10752,"ignition":35,"odometer":null,"unknown_45":8688710344355690496}} 
[2026-08-22 23:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":161310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:37:29] local.INFO: GPS data processed {"connection_id":161310,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:37:29] local.INFO: Acknowledgment sent {"connection_id":161310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:37:48] local.INFO: TCP Data received {"connection_id":160136,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:37:48] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:37:48] local.INFO: IMEI packet received {"connection_id":160136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":160136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:37:48] local.INFO: TCP Data received {"connection_id":160136,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:37:48] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:37:48] local.INFO: IMEI packet received {"connection_id":160136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":160136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:37:52] local.INFO: TCP Data received {"connection_id":162722,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:37:52] local.INFO: Processing buffer {"connection_id":162722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:37:52] local.INFO: IMEI packet received {"connection_id":162722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":162722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:37:53] local.INFO: TCP Data received {"connection_id":160136,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:37:53] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:37:53] local.INFO: IMEI packet received {"connection_id":160136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":160136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:37:54] local.INFO: TCP Data received {"connection_id":160136,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa62a40012d78880005ffdd980008015d2d..."} 
[2026-08-22 23:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa62a40012d78880005ffdd980008015d2d..."} 
[2026-08-22 23:37:54] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa62a40012d78880005ffdd980008015d2d..."} 
[2026-08-22 23:37:54] local.INFO: Packet analysis {"connection_id":160136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa6"} 
[2026-08-22 23:37:54] local.INFO: Extracted packet for processing {"connection_id":160136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa6"} 
[2026-08-22 23:37:54] local.INFO: GPS Element Parsed {"raw_longitude":762873856,"raw_latitude":100654488,"longitude_deg":76.2873856,"latitude_deg":10.0654488,"altitude":8,"angle":349,"satellites":45,"speed":39,"hex_longitude":"2d788800","hex_latitude":"05ffdd98","is_valid_coordinates":true} 
[2026-08-22 23:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580011008001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389212616423112704,"note":"Value kept but may cause issues"} 
[2026-08-22 23:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8686599282032715776,"note":"Value kept but may cause issues"} 
[2026-08-22 23:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787421928000,"timestamp_ms":1787421928000,"timestamp_seconds":1787421928,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa62a40"} 
[2026-08-22 23:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:37: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-22 23:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 23:37: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-22 23:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580011008001,"66":27300,"140":206,"87":10752,"24":39,"16":389212616423112704,"45":8686599282032715776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-08-22 23:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580011008001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:37:54] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-22 23:37:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389212616423112704,"km_value":389212616423112.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8686599282032715776,"description":"Unknown IO ID 45"} 
[2026-08-22 23:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580011008001,"power":27300,"unknown_140":206,"unknown_87":10752,"ignition":39,"odometer":null,"unknown_45":8686599282032715776}} 
[2026-08-22 23:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":160136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:37:54] local.INFO: GPS data processed {"connection_id":160136,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:37:54] local.INFO: Acknowledgment sent {"connection_id":160136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:37:56] local.INFO: TCP Data received {"connection_id":162722,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:37:56] local.INFO: Processing buffer {"connection_id":162722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:37:56] local.INFO: IMEI packet received {"connection_id":162722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":162722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:37:57] local.INFO: TCP Data received {"connection_id":160136,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa65150012d7882c0060002c80008015f2d..."} 
[2026-08-22 23:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa65150012d7882c0060002c80008015f2d..."} 
[2026-08-22 23:37:57] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa65150012d7882c0060002c80008015f2d..."} 
[2026-08-22 23:37:57] local.INFO: Packet analysis {"connection_id":160136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa6"} 
[2026-08-22 23:37:57] local.INFO: Extracted packet for processing {"connection_id":160136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa6"} 
[2026-08-22 23:37:57] local.INFO: GPS Element Parsed {"raw_longitude":762872512,"raw_latitude":100664008,"longitude_deg":76.2872512,"latitude_deg":10.0664008,"altitude":8,"angle":351,"satellites":45,"speed":35,"hex_longitude":"2d7882c0","hex_latitude":"060002c8","is_valid_coordinates":true} 
[2026-08-22 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-22 23:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580013568001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389213080279580672,"note":"Value kept but may cause issues"} 
[2026-08-22 23:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8685191907151550464,"note":"Value kept but may cause issues"} 
[2026-08-22 23:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787421938000,"timestamp_ms":1787421938000,"timestamp_seconds":1787421938,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa65150"} 
[2026-08-22 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-22 23:37: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-22 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 23:37:57] 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-22 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-22 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-22 23:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580013568001,"66":27300,"140":206,"87":10752,"24":35,"16":389213080279580672,"45":8685191907151550464},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-08-22 23:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580013568001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:37:57] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-22 23:37:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-22 23:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389213080279580672,"km_value":389213080279580.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8685191907151550464,"description":"Unknown IO ID 45"} 
[2026-08-22 23:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580013568001,"power":27300,"unknown_140":206,"unknown_87":10752,"ignition":35,"odometer":null,"unknown_45":8685191907151550464}} 
[2026-08-22 23:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":160136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:37:57] local.INFO: GPS data processed {"connection_id":160136,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:37:57] local.INFO: Acknowledgment sent {"connection_id":160136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:37:57] local.INFO: TCP Data received {"connection_id":162722,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:37:57] local.INFO: Processing buffer {"connection_id":162722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:37:57] local.INFO: Packet analysis {"connection_id":162722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:37:57] local.INFO: Extracted packet for processing {"connection_id":162722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:37:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 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-22 23:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579896832001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:37: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-22 23:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787421773000,"timestamp_ms":1787421773000,"timestamp_seconds":1787421773,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa3ccc8"} 
[2026-08-22 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-22 23:37:57] 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-22 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 23:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 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-22 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-22 23:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579896832001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579896832001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:37:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:37:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579896832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":162722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:37:57] local.INFO: GPS data processed {"connection_id":162722,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:37:57] local.INFO: Acknowledgment sent {"connection_id":162722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:38:28] local.INFO: TCP Data received {"connection_id":160136,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa7ff00012d77a5400600f5b0001001372d..."} 
[2026-08-22 23:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa7ff00012d77a5400600f5b0001001372d..."} 
[2026-08-22 23:38:28] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa7ff00012d77a5400600f5b0001001372d..."} 
[2026-08-22 23:38:28] local.INFO: Packet analysis {"connection_id":160136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa7"} 
[2026-08-22 23:38:28] local.INFO: Extracted packet for processing {"connection_id":160136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa7"} 
[2026-08-22 23:38:28] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":100726192,"longitude_deg":76.2815808,"latitude_deg":10.0726192,"altitude":16,"angle":311,"satellites":45,"speed":43,"hex_longitude":"2d77a540","hex_latitude":"0600f5b0","is_valid_coordinates":true} 
[2026-08-22 23:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580041984001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389217207743152128,"note":"Value kept but may cause issues"} 
[2026-08-22 23:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8629248755547019264,"note":"Value kept but may cause issues"} 
[2026-08-22 23:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787422048000,"timestamp_ms":1787422048000,"timestamp_seconds":1787422048,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa7ff00"} 
[2026-08-22 23:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:38: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-22 23:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-22 23:38:28] 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-22 23:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580041984001,"66":27071,"226":206,"79":47616,"24":43,"16":389217207743152128,"45":8629248755547019264},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,79,24,16,45]} 
[2026-08-22 23:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580041984001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:38:28] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-22 23:38:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389217207743152128,"km_value":389217207743152.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8629248755547019264,"description":"Unknown IO ID 45"} 
[2026-08-22 23:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580041984001,"power":27071,"unknown_226":206,"unknown_79":47616,"ignition":43,"odometer":null,"unknown_45":8629248755547019264}} 
[2026-08-22 23:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":160136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:38:28] local.INFO: GPS data processed {"connection_id":160136,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:38:28] local.INFO: Acknowledgment sent {"connection_id":160136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:38:28] local.INFO: TCP Data received {"connection_id":162722,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:38:28] local.INFO: Processing buffer {"connection_id":162722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa3ccc8012d196540071ff1b00040013725..."} 
[2026-08-22 23:38:28] local.INFO: Packet analysis {"connection_id":162722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:38:28] local.INFO: Extracted packet for processing {"connection_id":162722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa3"} 
[2026-08-22 23:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579896832001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787421773000,"timestamp_ms":1787421773000,"timestamp_seconds":1787421773,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa3ccc8"} 
[2026-08-22 23:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:38:28] 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-22 23:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-22 23:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579896832001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579896832001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:38:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:38:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579896832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":162722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:38:29] local.INFO: GPS data processed {"connection_id":162722,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:38:29] local.INFO: Acknowledgment sent {"connection_id":162722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:38:48] local.INFO: TCP Data received {"connection_id":161311,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:38:48] local.INFO: Processing buffer {"connection_id":161311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:38:48] local.INFO: IMEI packet received {"connection_id":161311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":161311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:38:48] local.INFO: TCP Data received {"connection_id":161311,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:38:48] local.INFO: Processing buffer {"connection_id":161311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:38:48] local.INFO: IMEI packet received {"connection_id":161311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":161311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:38:53] local.INFO: TCP Data received {"connection_id":161311,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:38:53] local.INFO: Processing buffer {"connection_id":161311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:38:53] local.INFO: IMEI packet received {"connection_id":161311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":161311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:38:54] local.INFO: TCP Data received {"connection_id":161311,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa82228012d77884006010ee0001001372d..."} 
[2026-08-22 23:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa82228012d77884006010ee0001001372d..."} 
[2026-08-22 23:38:54] local.INFO: Processing buffer {"connection_id":161311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa82228012d77884006010ee0001001372d..."} 
[2026-08-22 23:38:54] local.INFO: Packet analysis {"connection_id":161311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:38:54] local.INFO: Extracted packet for processing {"connection_id":161311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:38:54] local.INFO: GPS Element Parsed {"raw_longitude":762808384,"raw_latitude":100732640,"longitude_deg":76.2808384,"latitude_deg":10.073264,"altitude":16,"angle":311,"satellites":45,"speed":43,"hex_longitude":"2d778840","hex_latitude":"06010ee0","is_valid_coordinates":true} 
[2026-08-22 23:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580044288001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389217680189554688,"note":"Value kept but may cause issues"} 
[2026-08-22 23:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367456200765440,"note":"Value kept but may cause issues"} 
[2026-08-22 23:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787422057000,"timestamp_ms":1787422057000,"timestamp_seconds":1787422057,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa82228"} 
[2026-08-22 23:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:38: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-22 23:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-22 23:38:54] 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-22 23:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580044288001,"66":27245,"226":206,"79":47616,"24":43,"16":389217680189554688,"45":8621367456200765440},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,79,24,16,45]} 
[2026-08-22 23:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580044288001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:38:54] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-22 23:38:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389217680189554688,"km_value":389217680189554.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367456200765440,"description":"Unknown IO ID 45"} 
[2026-08-22 23:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580044288001,"power":27245,"unknown_226":206,"unknown_79":47616,"ignition":43,"odometer":null,"unknown_45":8621367456200765440}} 
[2026-08-22 23:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":161311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:38:54] local.INFO: GPS data processed {"connection_id":161311,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:38:54] local.INFO: Acknowledgment sent {"connection_id":161311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:38:57] local.INFO: TCP Data received {"connection_id":160137,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:38:57] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:38:57] local.INFO: IMEI packet received {"connection_id":160137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":160137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:38:57] local.INFO: TCP Data received {"connection_id":161311,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa84550012d776b00060128c8001101372e..."} 
[2026-08-22 23:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa84550012d776b00060128c8001101372e..."} 
[2026-08-22 23:38:57] local.INFO: Processing buffer {"connection_id":161311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa84550012d776b00060128c8001101372e..."} 
[2026-08-22 23:38:57] local.INFO: Packet analysis {"connection_id":161311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:38:57] local.INFO: Extracted packet for processing {"connection_id":161311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:38:57] local.INFO: GPS Element Parsed {"raw_longitude":762800896,"raw_latitude":100739272,"longitude_deg":76.2800896,"latitude_deg":10.0739272,"altitude":17,"angle":311,"satellites":46,"speed":45,"hex_longitude":"2d776b00","hex_latitude":"060128c8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580046592001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389218161225891840,"note":"Value kept but may cause issues"} 
[2026-08-22 23:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8613204681877807104,"note":"Value kept but may cause issues"} 
[2026-08-22 23:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422066000,"timestamp_ms":1787422066000,"timestamp_seconds":1787422066,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa84550"} 
[2026-08-22 23: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-22 23:38:57] 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-22 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 23:38:57] 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-22 23: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-22 23: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-22 23:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580046592001,"66":27234,"226":206,"79":47616,"24":45,"16":389218161225891840,"45":8613204681877807104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,79,24,16,45]} 
[2026-08-22 23:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580046592001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:38:57] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-22 23:38:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389218161225891840,"km_value":389218161225891.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8613204681877807104,"description":"Unknown IO ID 45"} 
[2026-08-22 23:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580046592001,"power":27234,"unknown_226":206,"unknown_79":47616,"ignition":45,"odometer":null,"unknown_45":8613204681877807104}} 
[2026-08-22 23:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":161311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:38:57] local.INFO: GPS data processed {"connection_id":161311,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:38:57] local.INFO: Acknowledgment sent {"connection_id":161311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:39:01] local.INFO: TCP Data received {"connection_id":160137,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:39:01] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:39:01] local.INFO: IMEI packet received {"connection_id":160137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":160137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:39:02] local.INFO: TCP Data received {"connection_id":160137,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:39:02] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:39:02] local.INFO: Packet analysis {"connection_id":160137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:39:02] local.INFO: Extracted packet for processing {"connection_id":160137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:39:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579973888001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787422074000,"timestamp_ms":1787422074000,"timestamp_seconds":1787422074,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa86490"} 
[2026-08-22 23: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-22 23:39:02] 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-22 23:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579973888001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579973888001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:39:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:39:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579973888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":160137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:39:02] local.INFO: GPS data processed {"connection_id":160137,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:39:02] local.INFO: Acknowledgment sent {"connection_id":160137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:39:07] local.INFO: TCP Data received {"connection_id":160137,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:39:07] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:39:07] local.INFO: Packet analysis {"connection_id":160137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:39:07] local.INFO: Extracted packet for processing {"connection_id":160137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579973888001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787422074000,"timestamp_ms":1787422074000,"timestamp_seconds":1787422074,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa86490"} 
[2026-08-22 23:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:39:07] 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-22 23:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579973888001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579973888001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:39:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579973888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":160137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:39:07] local.INFO: GPS data processed {"connection_id":160137,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:39:07] local.INFO: Acknowledgment sent {"connection_id":160137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:39:28] local.INFO: TCP Data received {"connection_id":161311,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa86490012d77500006014118001001372f..."} 
[2026-08-22 23:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa86490012d77500006014118001001372f..."} 
[2026-08-22 23:39:28] local.INFO: Processing buffer {"connection_id":161311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa86490012d77500006014118001001372f..."} 
[2026-08-22 23:39:28] local.INFO: Packet analysis {"connection_id":161311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:39:28] local.INFO: Extracted packet for processing {"connection_id":161311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:39:28] local.INFO: GPS Element Parsed {"raw_longitude":762793984,"raw_latitude":100745496,"longitude_deg":76.2793984,"latitude_deg":10.0745496,"altitude":16,"angle":311,"satellites":47,"speed":47,"hex_longitude":"2d775000","hex_latitude":"06014118","is_valid_coordinates":true} 
[2026-08-22 23:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580048896001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389218607902490624,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8604971538810718208,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787422074000,"timestamp_ms":1787422074000,"timestamp_seconds":1787422074,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa86490"} 
[2026-08-22 23:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:39: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-22 23:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-22 23:39:28] 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-22 23:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580048896001,"66":27343,"226":206,"79":47616,"24":47,"16":389218607902490624,"45":8604971538810718208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,79,24,16,45]} 
[2026-08-22 23:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580048896001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:39:28] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-22 23:39:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389218607902490624,"km_value":389218607902490.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8604971538810718208,"description":"Unknown IO ID 45"} 
[2026-08-22 23:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580048896001,"power":27343,"unknown_226":206,"unknown_79":47616,"ignition":47,"odometer":null,"unknown_45":8604971538810718208}} 
[2026-08-22 23:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":161311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:39:28] local.INFO: GPS data processed {"connection_id":161311,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:39:28] local.INFO: Acknowledgment sent {"connection_id":161311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:39:48] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:39:48] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:39:48] local.INFO: IMEI packet received {"connection_id":160356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":160356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:39:49] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:39:49] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:39:49] local.INFO: IMEI packet received {"connection_id":160356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":160356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:39:51] local.INFO: TCP Data received {"connection_id":160357,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:39:51] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:39:51] local.INFO: IMEI packet received {"connection_id":160357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":160357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:39:53] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:39:53] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:39:53] local.INFO: IMEI packet received {"connection_id":160356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":160356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:39:53] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa883d0012d773400060159e8000f01372d..."} 
[2026-08-22 23:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa883d0012d773400060159e8000f01372d..."} 
[2026-08-22 23:39:53] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa883d0012d773400060159e8000f01372d..."} 
[2026-08-22 23:39:53] local.INFO: Packet analysis {"connection_id":160356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:39:53] local.INFO: Extracted packet for processing {"connection_id":160356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:39:53] local.INFO: GPS Element Parsed {"raw_longitude":762786816,"raw_latitude":100751848,"longitude_deg":76.2786816,"latitude_deg":10.0751848,"altitude":15,"angle":311,"satellites":45,"speed":48,"hex_longitude":"2d773400","hex_latitude":"060159e8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580050944001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389219067463991296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8597371714441123840,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787422082000,"timestamp_ms":1787422082000,"timestamp_seconds":1787422082,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa883d0"} 
[2026-08-22 23: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-22 23:39: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-22 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 23:39:53] 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-22 23: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-22 23: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-22 23:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580050944001,"66":27343,"226":206,"79":47616,"24":48,"16":389219067463991296,"45":8597371714441123840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,79,24,16,45]} 
[2026-08-22 23:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580050944001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:39:53] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-22 23:39:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389219067463991296,"km_value":389219067463991.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8597371714441123840,"description":"Unknown IO ID 45"} 
[2026-08-22 23:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580050944001,"power":27343,"unknown_226":206,"unknown_79":47616,"ignition":48,"odometer":null,"unknown_45":8597371714441123840}} 
[2026-08-22 23:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":160356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:39:54] local.INFO: GPS data processed {"connection_id":160356,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:39:54] local.INFO: Acknowledgment sent {"connection_id":160356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:39:56] local.INFO: TCP Data received {"connection_id":160357,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:39:56] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:39:56] local.INFO: IMEI packet received {"connection_id":160357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":160357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:39:57] local.INFO: TCP Data received {"connection_id":160357,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:39:57] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:39:57] local.INFO: Packet analysis {"connection_id":160357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:39:57] local.INFO: Extracted packet for processing {"connection_id":160357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579973888001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39: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-22 23:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422074000,"timestamp_ms":1787422074000,"timestamp_seconds":1787422074,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa86490"} 
[2026-08-22 23: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-22 23:39:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:39: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-22 23: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-22 23: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-22 23:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579973888001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579973888001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:39:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:39:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579973888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":160357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:39:57] local.INFO: GPS data processed {"connection_id":160357,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:39:57] local.INFO: Acknowledgment sent {"connection_id":160357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:39:58] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa8a310012d7716c006017358000c01372f..."} 
[2026-08-22 23:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa8a310012d7716c006017358000c01372f..."} 
[2026-08-22 23:39:58] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa8a310012d7716c006017358000c01372f..."} 
[2026-08-22 23:39:58] local.INFO: Packet analysis {"connection_id":160356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:39:58] local.INFO: Extracted packet for processing {"connection_id":160356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:39:58] local.INFO: GPS Element Parsed {"raw_longitude":762779328,"raw_latitude":100758360,"longitude_deg":76.2779328,"latitude_deg":10.075836,"altitude":12,"angle":311,"satellites":47,"speed":45,"hex_longitude":"2d7716c0","hex_latitude":"06017358","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580052992001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389219544205361152,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8589490415094851584,"note":"Value kept but may cause issues"} 
[2026-08-22 23:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787422090000,"timestamp_ms":1787422090000,"timestamp_seconds":1787422090,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa8a310"} 
[2026-08-22 23: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-22 23:39: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-22 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 23:39:58] 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-22 23: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-22 23: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-22 23:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580052992001,"66":27213,"188":206,"79":47616,"24":45,"16":389219544205361152,"45":8589490415094851584},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-08-22 23:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580052992001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:39:58] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-22 23:39:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389219544205361152,"km_value":389219544205361.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8589490415094851584,"description":"Unknown IO ID 45"} 
[2026-08-22 23:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580052992001,"power":27213,"unknown_188":206,"unknown_79":47616,"ignition":45,"odometer":null,"unknown_45":8589490415094851584}} 
[2026-08-22 23:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":160356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:39:58] local.INFO: GPS data processed {"connection_id":160356,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:39:58] local.INFO: Acknowledgment sent {"connection_id":160356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:40:28] local.INFO: TCP Data received {"connection_id":160357,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:40:28] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:40:28] local.INFO: Packet analysis {"connection_id":160357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:40:28] local.INFO: Extracted packet for processing {"connection_id":160357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579973888001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787422074000,"timestamp_ms":1787422074000,"timestamp_seconds":1787422074,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa86490"} 
[2026-08-22 23:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:40:28] 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-22 23:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579973888001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579973888001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:40:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579973888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":160357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:40:29] local.INFO: GPS data processed {"connection_id":160357,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:40:29] local.INFO: Acknowledgment sent {"connection_id":160357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:40:30] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa9f300012d764a8006022080000801212f..."} 
[2026-08-22 23:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa9f300012d764a8006022080000801212f..."} 
[2026-08-22 23:40:30] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa9f300012d764a8006022080000801212f..."} 
[2026-08-22 23:40:30] local.INFO: Packet analysis {"connection_id":160356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa9"} 
[2026-08-22 23:40:30] local.INFO: Extracted packet for processing {"connection_id":160356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa9"} 
[2026-08-22 23:40:30] local.INFO: GPS Element Parsed {"raw_longitude":762727040,"raw_latitude":100802688,"longitude_deg":76.272704,"latitude_deg":10.0802688,"altitude":8,"angle":289,"satellites":47,"speed":17,"hex_longitude":"2d764a80","hex_latitude":"06022080","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580075008001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389222877099982848,"note":"Value kept but may cause issues"} 
[2026-08-22 23:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8527495551487244288,"note":"Value kept but may cause issues"} 
[2026-08-22 23:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787422176000,"timestamp_ms":1787422176000,"timestamp_seconds":1787422176,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa9f300"} 
[2026-08-22 23: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-22 23:40: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-22 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-22 23:40: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-22 23: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-22 23: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-22 23:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580075008001,"66":27376,"188":206,"79":47616,"24":17,"16":389222877099982848,"45":8527495551487244288},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-08-22 23:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580075008001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:40:30] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-22 23:40:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389222877099982848,"km_value":389222877099982.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8527495551487244288,"description":"Unknown IO ID 45"} 
[2026-08-22 23:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580075008001,"power":27376,"unknown_188":206,"unknown_79":47616,"ignition":17,"odometer":null,"unknown_45":8527495551487244288}} 
[2026-08-22 23:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":160356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:40:30] local.INFO: GPS data processed {"connection_id":160356,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:40:30] local.INFO: Acknowledgment sent {"connection_id":160356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:40:47] local.INFO: TCP Data received {"connection_id":160138,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:40:47] local.INFO: Processing buffer {"connection_id":160138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:40:47] local.INFO: IMEI packet received {"connection_id":160138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":160138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:40:51] local.INFO: TCP Data received {"connection_id":160358,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:40:51] local.INFO: Processing buffer {"connection_id":160358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:40:51] local.INFO: IMEI packet received {"connection_id":160358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":160358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:40:52] local.INFO: TCP Data received {"connection_id":160138,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:40:52] local.INFO: Processing buffer {"connection_id":160138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:40:52] local.INFO: IMEI packet received {"connection_id":160138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":160138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:40:53] local.INFO: TCP Data received {"connection_id":160138,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa9fad0012d764700060222280008012d2d..."} 
[2026-08-22 23:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa9fad0012d764700060222280008012d2d..."} 
[2026-08-22 23:40:53] local.INFO: Processing buffer {"connection_id":160138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa9fad0012d764700060222280008012d2d..."} 
[2026-08-22 23:40:53] local.INFO: Packet analysis {"connection_id":160138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa9"} 
[2026-08-22 23:40:53] local.INFO: Extracted packet for processing {"connection_id":160138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa9"} 
[2026-08-22 23:40:53] local.INFO: GPS Element Parsed {"raw_longitude":762726144,"raw_latitude":100803112,"longitude_deg":76.2726144,"latitude_deg":10.0803112,"altitude":8,"angle":301,"satellites":45,"speed":20,"hex_longitude":"2d764700","hex_latitude":"06022228","is_valid_coordinates":true} 
[2026-08-22 23:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580077056001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389222924344623104,"note":"Value kept but may cause issues"} 
[2026-08-22 23:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8523766008045928448,"note":"Value kept but may cause issues"} 
[2026-08-22 23:40:53] 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-22 23:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787422178000,"timestamp_ms":1787422178000,"timestamp_seconds":1787422178,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa9fad0"} 
[2026-08-22 23:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:40: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-22 23:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 23:40:53] 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-22 23:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580077056001,"66":27376,"187":206,"79":47616,"24":20,"16":389222924344623104,"45":8523766008045928448},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-08-22 23:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580077056001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:40:53] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 23:40:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389222924344623104,"km_value":389222924344623.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8523766008045928448,"description":"Unknown IO ID 45"} 
[2026-08-22 23:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580077056001,"power":27376,"unknown_187":206,"unknown_79":47616,"ignition":20,"odometer":null,"unknown_45":8523766008045928448}} 
[2026-08-22 23:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":160138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:40:54] local.INFO: GPS data processed {"connection_id":160138,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:40:54] local.INFO: Acknowledgment sent {"connection_id":160138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:40:56] local.INFO: TCP Data received {"connection_id":160358,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:40:56] local.INFO: Processing buffer {"connection_id":160358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:40:56] local.INFO: IMEI packet received {"connection_id":160358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":160358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:40:57] local.INFO: TCP Data received {"connection_id":160358,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:40:57] local.INFO: Processing buffer {"connection_id":160358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:40:57] local.INFO: Packet analysis {"connection_id":160358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:40:57] local.INFO: Extracted packet for processing {"connection_id":160358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:40:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579973888001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:40: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-22 23:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422074000,"timestamp_ms":1787422074000,"timestamp_seconds":1787422074,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa86490"} 
[2026-08-22 23: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-22 23:40:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:40: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-22 23: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-22 23: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-22 23:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579973888001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579973888001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:40:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:40:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579973888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":160358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:40:57] local.INFO: GPS data processed {"connection_id":160358,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:40:57] local.INFO: Acknowledgment sent {"connection_id":160358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:41:25] local.INFO: TCP Data received {"connection_id":160138,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aaa25c8012d76378006022eb0000701382d..."} 
[2026-08-22 23:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aaa25c8012d76378006022eb0000701382d..."} 
[2026-08-22 23:41:25] local.INFO: Processing buffer {"connection_id":160138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aaa25c8012d76378006022eb0000701382d..."} 
[2026-08-22 23:41:25] local.INFO: Packet analysis {"connection_id":160138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aaa"} 
[2026-08-22 23:41:25] local.INFO: Extracted packet for processing {"connection_id":160138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aaa"} 
[2026-08-22 23:41:25] local.INFO: GPS Element Parsed {"raw_longitude":762722176,"raw_latitude":100806320,"longitude_deg":76.2722176,"latitude_deg":10.080632,"altitude":7,"angle":312,"satellites":45,"speed":17,"hex_longitude":"2d763780","hex_latitude":"06022eb0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580077568001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389223173452726272,"note":"Value kept but may cause issues"} 
[2026-08-22 23:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8522780845627549696,"note":"Value kept but may cause issues"} 
[2026-08-22 23:41:25] 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-22 23:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787422189000,"timestamp_ms":1787422189000,"timestamp_seconds":1787422189,"priority":1,"record_length":96,"hex_timestamp":"000001a02aaa25c8"} 
[2026-08-22 23: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-22 23: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-22 23: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":240,"data_length":795,"current_offset":136} 
[2026-08-22 23:41: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-22 23: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-22 23: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-22 23:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580077568001,"66":27365,"187":206,"79":47616,"24":17,"16":389223173452726272,"45":8522780845627549696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-08-22 23:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580077568001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:41:25] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 23:41:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389223173452726272,"km_value":389223173452726.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8522780845627549696,"description":"Unknown IO ID 45"} 
[2026-08-22 23:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580077568001,"power":27365,"unknown_187":206,"unknown_79":47616,"ignition":17,"odometer":null,"unknown_45":8522780845627549696}} 
[2026-08-22 23:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":160138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:41:25] local.INFO: GPS data processed {"connection_id":160138,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:41:25] local.INFO: Acknowledgment sent {"connection_id":160138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:41:28] local.INFO: TCP Data received {"connection_id":160358,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:41:28] local.INFO: Processing buffer {"connection_id":160358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:41:28] local.INFO: Packet analysis {"connection_id":160358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:41:28] local.INFO: Extracted packet for processing {"connection_id":160358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579973888001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787422074000,"timestamp_ms":1787422074000,"timestamp_seconds":1787422074,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa86490"} 
[2026-08-22 23: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-22 23:41:28] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579973888001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579973888001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:41:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:41:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579973888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":160358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:41:29] local.INFO: GPS data processed {"connection_id":160358,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:41:29] local.INFO: Acknowledgment sent {"connection_id":160358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:41:51] local.INFO: TCP Data received {"connection_id":162723,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:41:51] local.INFO: Processing buffer {"connection_id":162723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:41:51] local.INFO: IMEI packet received {"connection_id":162723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":162723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:41:56] local.INFO: TCP Data received {"connection_id":162723,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:41:56] local.INFO: Processing buffer {"connection_id":162723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:41:56] local.INFO: IMEI packet received {"connection_id":162723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":162723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:41:57] local.INFO: TCP Data received {"connection_id":162723,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:41:57] local.INFO: Processing buffer {"connection_id":162723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:41:57] local.INFO: Packet analysis {"connection_id":162723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:41:57] local.INFO: Extracted packet for processing {"connection_id":162723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:41:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579973888001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:41: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-22 23:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422074000,"timestamp_ms":1787422074000,"timestamp_seconds":1787422074,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa86490"} 
[2026-08-22 23: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-22 23:41:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:41: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-22 23: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-22 23: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-22 23:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579973888001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579973888001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:41:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:41:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579973888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":162723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:41:57] local.INFO: GPS data processed {"connection_id":162723,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:41:57] local.INFO: Acknowledgment sent {"connection_id":162723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:41:58] local.INFO: TCP Data received {"connection_id":161312,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:41:58] local.INFO: Processing buffer {"connection_id":161312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:41:58] local.INFO: IMEI packet received {"connection_id":161312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":161312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:42:03] local.INFO: TCP Data received {"connection_id":161312,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:42:03] local.INFO: Processing buffer {"connection_id":161312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:42:03] local.INFO: IMEI packet received {"connection_id":161312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":161312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:42:04] local.INFO: TCP Data received {"connection_id":161312,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aaa6c18012d761b40060246a8000701362f..."} 
[2026-08-22 23:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aaa6c18012d761b40060246a8000701362f..."} 
[2026-08-22 23:42:04] local.INFO: Processing buffer {"connection_id":161312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aaa6c18012d761b40060246a8000701362f..."} 
[2026-08-22 23:42:04] local.INFO: Packet analysis {"connection_id":161312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aaa"} 
[2026-08-22 23:42:04] local.INFO: Extracted packet for processing {"connection_id":161312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aaa"} 
[2026-08-22 23:42:04] local.INFO: GPS Element Parsed {"raw_longitude":762714944,"raw_latitude":100812456,"longitude_deg":76.2714944,"latitude_deg":10.0812456,"altitude":7,"angle":310,"satellites":47,"speed":30,"hex_longitude":"2d761b40","hex_latitude":"060246a8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580080384001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389223628719259648,"note":"Value kept but may cause issues"} 
[2026-08-22 23:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8518417983489355776,"note":"Value kept but may cause issues"} 
[2026-08-22 23:42:04] 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-22 23:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787422207000,"timestamp_ms":1787422207000,"timestamp_seconds":1787422207,"priority":1,"record_length":96,"hex_timestamp":"000001a02aaa6c18"} 
[2026-08-22 23: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-22 23: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-22 23:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 23:42: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-22 23: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-22 23: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-22 23:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580080384001,"66":27332,"187":206,"79":47616,"24":30,"16":389223628719259648,"45":8518417983489355776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-08-22 23:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580080384001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:42:04] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 23:42:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389223628719259648,"km_value":389223628719259.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8518417983489355776,"description":"Unknown IO ID 45"} 
[2026-08-22 23:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580080384001,"power":27332,"unknown_187":206,"unknown_79":47616,"ignition":30,"odometer":null,"unknown_45":8518417983489355776}} 
[2026-08-22 23:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":161312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:42:04] local.INFO: GPS data processed {"connection_id":161312,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:42:04] local.INFO: Acknowledgment sent {"connection_id":161312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:42:28] local.INFO: TCP Data received {"connection_id":162723,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:42:28] local.INFO: Processing buffer {"connection_id":162723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:42:28] local.INFO: Packet analysis {"connection_id":162723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:42:28] local.INFO: Extracted packet for processing {"connection_id":162723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579973888001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787422074000,"timestamp_ms":1787422074000,"timestamp_seconds":1787422074,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa86490"} 
[2026-08-22 23: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-22 23:42:28] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23: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-22 23:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579973888001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579973888001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:42:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:42:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579973888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":162723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:42:29] local.INFO: GPS data processed {"connection_id":162723,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:42:29] local.INFO: Acknowledgment sent {"connection_id":162723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:42:51] local.INFO: TCP Data received {"connection_id":161313,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:42:51] local.INFO: Processing buffer {"connection_id":161313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:42:51] local.INFO: IMEI packet received {"connection_id":161313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":161313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:42:51] local.INFO: TCP Data received {"connection_id":160139,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:42:51] local.INFO: Processing buffer {"connection_id":160139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:42:51] local.INFO: IMEI packet received {"connection_id":160139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":160139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:42:52] local.INFO: TCP Data received {"connection_id":161313,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:42:52] local.INFO: Processing buffer {"connection_id":161313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:42:52] local.INFO: IMEI packet received {"connection_id":161313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":161313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:42:56] local.INFO: TCP Data received {"connection_id":160139,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:42:56] local.INFO: Processing buffer {"connection_id":160139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:42:56] local.INFO: IMEI packet received {"connection_id":160139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":160139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:42:57] local.INFO: TCP Data received {"connection_id":160139,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:42:57] local.INFO: Processing buffer {"connection_id":160139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:42:57] local.INFO: Packet analysis {"connection_id":160139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:42:57] local.INFO: Extracted packet for processing {"connection_id":160139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:42:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579973888001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:42: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-22 23:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422074000,"timestamp_ms":1787422074000,"timestamp_seconds":1787422074,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa86490"} 
[2026-08-22 23: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-22 23:42:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:42: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-22 23: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-22 23: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-22 23:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579973888001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579973888001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:42:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:42:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579973888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":160139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:42:57] local.INFO: GPS data processed {"connection_id":160139,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:42:57] local.INFO: Acknowledgment sent {"connection_id":160139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:42:58] local.INFO: TCP Data received {"connection_id":161313,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:42:58] local.INFO: Processing buffer {"connection_id":161313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:42:58] local.INFO: IMEI packet received {"connection_id":161313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":161313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:42:59] local.INFO: TCP Data received {"connection_id":161313,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aaa9710012d75ff8006025e500005013a2e..."} 
[2026-08-22 23:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aaa9710012d75ff8006025e500005013a2e..."} 
[2026-08-22 23:42:59] local.INFO: Processing buffer {"connection_id":161313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aaa9710012d75ff8006025e500005013a2e..."} 
[2026-08-22 23:42:59] local.INFO: Packet analysis {"connection_id":161313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aaa"} 
[2026-08-22 23:42:59] local.INFO: Extracted packet for processing {"connection_id":161313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aaa"} 
[2026-08-22 23:42:59] local.INFO: GPS Element Parsed {"raw_longitude":762707840,"raw_latitude":100818512,"longitude_deg":76.270784,"latitude_deg":10.0818512,"altitude":5,"angle":314,"satellites":46,"speed":34,"hex_longitude":"2d75ff80","hex_latitude":"06025e50","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580084992001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389224075395858432,"note":"Value kept but may cause issues"} 
[2026-08-22 23:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8510466315398850560,"note":"Value kept but may cause issues"} 
[2026-08-22 23:42:59] 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-22 23:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787422218000,"timestamp_ms":1787422218000,"timestamp_seconds":1787422218,"priority":1,"record_length":96,"hex_timestamp":"000001a02aaa9710"} 
[2026-08-22 23: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-22 23:42: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-22 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 23:42: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-22 23: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-22 23: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-22 23:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580084992001,"66":27300,"187":206,"79":47616,"24":34,"16":389224075395858432,"45":8510466315398850560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-08-22 23:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580084992001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:42:59] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 23:42:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389224075395858432,"km_value":389224075395858.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8510466315398850560,"description":"Unknown IO ID 45"} 
[2026-08-22 23:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580084992001,"power":27300,"unknown_187":206,"unknown_79":47616,"ignition":34,"odometer":null,"unknown_45":8510466315398850560}} 
[2026-08-22 23:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":161313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:42:59] local.INFO: GPS data processed {"connection_id":161313,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:42:59] local.INFO: Acknowledgment sent {"connection_id":161313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:43:00] local.INFO: TCP Data received {"connection_id":161313,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aaac9d8012d75e60006027978000601412c..."} 
[2026-08-22 23:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aaac9d8012d75e60006027978000601412c..."} 
[2026-08-22 23:43:00] local.INFO: Processing buffer {"connection_id":161313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aaac9d8012d75e60006027978000601412c..."} 
[2026-08-22 23:43:00] local.INFO: Packet analysis {"connection_id":161313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aaa"} 
[2026-08-22 23:43:00] local.INFO: Extracted packet for processing {"connection_id":161313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aaa"} 
[2026-08-22 23:43:00] local.INFO: GPS Element Parsed {"raw_longitude":762701312,"raw_latitude":100825464,"longitude_deg":76.2701312,"latitude_deg":10.0825464,"altitude":6,"angle":321,"satellites":44,"speed":24,"hex_longitude":"2d75e600","hex_latitude":"06027978","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580087808001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389224534957359104,"note":"Value kept but may cause issues"} 
[2026-08-22 23:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8502655384796680192,"note":"Value kept but may cause issues"} 
[2026-08-22 23:43:00] 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-22 23:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787422231000,"timestamp_ms":1787422231000,"timestamp_seconds":1787422231,"priority":1,"record_length":96,"hex_timestamp":"000001a02aaac9d8"} 
[2026-08-22 23: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-22 23: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-22 23: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-22 23: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-22 23: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-22 23: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-22 23:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580087808001,"66":27213,"187":206,"79":47616,"24":24,"16":389224534957359104,"45":8502655384796680192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-08-22 23:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580087808001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:43:00] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-22 23:43:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389224534957359104,"km_value":389224534957359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8502655384796680192,"description":"Unknown IO ID 45"} 
[2026-08-22 23:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580087808001,"power":27213,"unknown_187":206,"unknown_79":47616,"ignition":24,"odometer":null,"unknown_45":8502655384796680192}} 
[2026-08-22 23:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":161313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:43:00] local.INFO: GPS data processed {"connection_id":161313,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:43:00] local.INFO: Acknowledgment sent {"connection_id":161313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:43:28] local.INFO: TCP Data received {"connection_id":160139,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:43:28] local.INFO: Processing buffer {"connection_id":160139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aa86490012d196540071ff1b00040013725..."} 
[2026-08-22 23:43:28] local.INFO: Packet analysis {"connection_id":160139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:43:28] local.INFO: Extracted packet for processing {"connection_id":160139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aa8"} 
[2026-08-22 23:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457579973888001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787422074000,"timestamp_ms":1787422074000,"timestamp_seconds":1787422074,"priority":1,"record_length":96,"hex_timestamp":"000001a02aa86490"} 
[2026-08-22 23: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-22 23:43:28] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457579973888001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457579973888001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:43:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457579973888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":160139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:43:28] local.INFO: GPS data processed {"connection_id":160139,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:43:28] local.INFO: Acknowledgment sent {"connection_id":160139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:43:31] local.INFO: TCP Data received {"connection_id":161313,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aac9e98012d756b800603b8d8000a015931..."} 
[2026-08-22 23:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aac9e98012d756b800603b8d8000a015931..."} 
[2026-08-22 23:43:31] local.INFO: Processing buffer {"connection_id":161313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aac9e98012d756b800603b8d8000a015931..."} 
[2026-08-22 23:43:31] local.INFO: Packet analysis {"connection_id":161313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:43:31] local.INFO: Extracted packet for processing {"connection_id":161313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:43:31] local.INFO: GPS Element Parsed {"raw_longitude":762669952,"raw_latitude":100907224,"longitude_deg":76.2669952,"latitude_deg":10.0907224,"altitude":10,"angle":345,"satellites":49,"speed":39,"hex_longitude":"2d756b80","hex_latitude":"0603b8d8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580119552001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389228804154851328,"note":"Value kept but may cause issues"} 
[2026-08-22 23:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8463952575519506432,"note":"Value kept but may cause issues"} 
[2026-08-22 23:43: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-22 23:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787422351000,"timestamp_ms":1787422351000,"timestamp_seconds":1787422351,"priority":1,"record_length":96,"hex_timestamp":"000001a02aac9e98"} 
[2026-08-22 23: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-22 23:43:31] 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-22 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-22 23:43: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-22 23: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-22 23: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-22 23:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580119552001,"66":27234,"196":206,"79":47616,"24":39,"16":389228804154851328,"45":8463952575519506432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-22 23:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580119552001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:43:31] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-22 23:43:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389228804154851328,"km_value":389228804154851.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8463952575519506432,"description":"Unknown IO ID 45"} 
[2026-08-22 23:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580119552001,"power":27234,"unknown_196":206,"unknown_79":47616,"ignition":39,"odometer":null,"unknown_45":8463952575519506432}} 
[2026-08-22 23:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":161313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:43:31] local.INFO: GPS data processed {"connection_id":161313,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:43:31] local.INFO: Acknowledgment sent {"connection_id":161313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:43:48] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:43:48] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:43:48] local.INFO: IMEI packet received {"connection_id":160359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":160359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:43:48] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:43:48] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:43:48] local.INFO: IMEI packet received {"connection_id":160359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":160359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:43:49] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aacc1c0012d7563c00603dc38000b015e31..."} 
[2026-08-22 23:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aacc1c0012d7563c00603dc38000b015e31..."} 
[2026-08-22 23:43:49] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aacc1c0012d7563c00603dc38000b015e31..."} 
[2026-08-22 23:43:49] local.INFO: Packet analysis {"connection_id":160359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:43:49] local.INFO: Extracted packet for processing {"connection_id":160359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:43:49] local.INFO: GPS Element Parsed {"raw_longitude":762667968,"raw_latitude":100916280,"longitude_deg":76.2667968,"latitude_deg":10.091628,"altitude":11,"angle":350,"satellites":49,"speed":42,"hex_longitude":"2d7563c0","hex_latitude":"0603dc38","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580121856001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389229250831450112,"note":"Value kept but may cause issues"} 
[2026-08-22 23:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8460997088266213376,"note":"Value kept but may cause issues"} 
[2026-08-22 23:43: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-22 23:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787422360000,"timestamp_ms":1787422360000,"timestamp_seconds":1787422360,"priority":1,"record_length":96,"hex_timestamp":"000001a02aacc1c0"} 
[2026-08-22 23: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-22 23:43: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-22 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-22 23:43:49] 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-22 23: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-22 23: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-22 23:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580121856001,"66":27397,"196":206,"79":47616,"24":42,"16":389229250831450112,"45":8460997088266213376},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-22 23:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580121856001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:43:49] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-22 23:43:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389229250831450112,"km_value":389229250831450.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8460997088266213376,"description":"Unknown IO ID 45"} 
[2026-08-22 23:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580121856001,"power":27397,"unknown_196":206,"unknown_79":47616,"ignition":42,"odometer":null,"unknown_45":8460997088266213376}} 
[2026-08-22 23:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":160359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:43:49] local.INFO: GPS data processed {"connection_id":160359,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:43:49] local.INFO: Acknowledgment sent {"connection_id":160359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:43:56] local.INFO: TCP Data received {"connection_id":162724,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:43:56] local.INFO: Processing buffer {"connection_id":162724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:43:56] local.INFO: IMEI packet received {"connection_id":162724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":162724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:44:01] local.INFO: TCP Data received {"connection_id":162724,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:44:01] local.INFO: Processing buffer {"connection_id":162724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:44:01] local.INFO: IMEI packet received {"connection_id":162724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":162724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:44:02] local.INFO: TCP Data received {"connection_id":162724,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:44:02] local.INFO: Processing buffer {"connection_id":162724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:44:02] local.INFO: Packet analysis {"connection_id":162724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:44:02] local.INFO: Extracted packet for processing {"connection_id":162724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:44:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580050944001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787422375000,"timestamp_ms":1787422375000,"timestamp_seconds":1787422375,"priority":1,"record_length":96,"hex_timestamp":"000001a02aacfc58"} 
[2026-08-22 23: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-22 23:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-22 23:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580050944001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580050944001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:44:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:44:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580050944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":162724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:44:02] local.INFO: GPS data processed {"connection_id":162724,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:44:02] local.INFO: Acknowledgment sent {"connection_id":162724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:44:20] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aace100012d755d400603fe38000b015e31..."} 
[2026-08-22 23:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aace100012d755d400603fe38000b015e31..."} 
[2026-08-22 23:44:20] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aace100012d755d400603fe38000b015e31..."} 
[2026-08-22 23:44:20] local.INFO: Packet analysis {"connection_id":160359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:44:20] local.INFO: Extracted packet for processing {"connection_id":160359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:44:20] local.INFO: GPS Element Parsed {"raw_longitude":762666304,"raw_latitude":100924984,"longitude_deg":76.2666304,"latitude_deg":10.0924984,"altitude":11,"angle":350,"satellites":49,"speed":45,"hex_longitude":"2d755d40","hex_latitude":"0603fe38","is_valid_coordinates":true} 
[2026-08-22 23:44: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-22 23:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580124160001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389229680328179712,"note":"Value kept but may cause issues"} 
[2026-08-22 23:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8458815657199024128,"note":"Value kept but may cause issues"} 
[2026-08-22 23:44:20] 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-22 23:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787422368000,"timestamp_ms":1787422368000,"timestamp_seconds":1787422368,"priority":1,"record_length":96,"hex_timestamp":"000001a02aace100"} 
[2026-08-22 23:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:44:20] 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-22 23:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 23:44:20] 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-22 23:44: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-22 23:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580124160001,"66":27267,"196":206,"79":47616,"24":45,"16":389229680328179712,"45":8458815657199024128},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-22 23:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580124160001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:44:20] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-22 23:44:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389229680328179712,"km_value":389229680328179.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8458815657199024128,"description":"Unknown IO ID 45"} 
[2026-08-22 23:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580124160001,"power":27267,"unknown_196":206,"unknown_79":47616,"ignition":45,"odometer":null,"unknown_45":8458815657199024128}} 
[2026-08-22 23:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":160359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:44:20] local.INFO: GPS data processed {"connection_id":160359,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:44:20] local.INFO: Acknowledgment sent {"connection_id":160359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:44:33] local.INFO: TCP Data received {"connection_id":162724,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:44:33] local.INFO: Processing buffer {"connection_id":162724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:44:33] local.INFO: Packet analysis {"connection_id":162724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:44:33] local.INFO: Extracted packet for processing {"connection_id":162724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580050944001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:44: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-22 23:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787422375000,"timestamp_ms":1787422375000,"timestamp_seconds":1787422375,"priority":1,"record_length":96,"hex_timestamp":"000001a02aacfc58"} 
[2026-08-22 23: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-22 23:44:33] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580050944001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580050944001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:44:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:44:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580050944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":162724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:44:33] local.INFO: GPS data processed {"connection_id":162724,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:44:33] local.INFO: Acknowledgment sent {"connection_id":162724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:44:47] local.INFO: TCP Data received {"connection_id":160140,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:44:47] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:44:47] local.INFO: IMEI packet received {"connection_id":160140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":160140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:44:47] local.INFO: TCP Data received {"connection_id":160140,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:44:47] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:44:47] local.INFO: IMEI packet received {"connection_id":160140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":160140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:44:51] local.INFO: TCP Data received {"connection_id":162725,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:44:51] local.INFO: Processing buffer {"connection_id":162725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:44:51] local.INFO: IMEI packet received {"connection_id":162725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":162725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:44:53] local.INFO: TCP Data received {"connection_id":160140,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:44:53] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:44:53] local.INFO: IMEI packet received {"connection_id":160140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":160140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:44:53] local.INFO: TCP Data received {"connection_id":160140,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aad0040012d75554006042228000b01582e..."} 
[2026-08-22 23:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aad0040012d75554006042228000b01582e..."} 
[2026-08-22 23:44:53] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aad0040012d75554006042228000b01582e..."} 
[2026-08-22 23:44:53] local.INFO: Packet analysis {"connection_id":160140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aad"} 
[2026-08-22 23:44:53] local.INFO: Extracted packet for processing {"connection_id":160140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aad"} 
[2026-08-22 23:44:53] local.INFO: GPS Element Parsed {"raw_longitude":762664256,"raw_latitude":100934184,"longitude_deg":76.2664256,"latitude_deg":10.0934184,"altitude":11,"angle":344,"satellites":46,"speed":48,"hex_longitude":"2d755540","hex_latitude":"06042228","is_valid_coordinates":true} 
[2026-08-22 23:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580126208001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389230139889680384,"note":"Value kept but may cause issues"} 
[2026-08-22 23:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8456986069852633088,"note":"Value kept but may cause issues"} 
[2026-08-22 23:44:53] 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-22 23:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787422376000,"timestamp_ms":1787422376000,"timestamp_seconds":1787422376,"priority":1,"record_length":96,"hex_timestamp":"000001a02aad0040"} 
[2026-08-22 23:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 23:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-22 23:44:53] 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-22 23:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580126208001,"66":27300,"196":206,"79":47616,"24":48,"16":389230139889680384,"45":8456986069852633088},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-22 23:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580126208001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:44:53] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-22 23:44:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389230139889680384,"km_value":389230139889680.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8456986069852633088,"description":"Unknown IO ID 45"} 
[2026-08-22 23:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580126208001,"power":27300,"unknown_196":206,"unknown_79":47616,"ignition":48,"odometer":null,"unknown_45":8456986069852633088}} 
[2026-08-22 23:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":160140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:44:53] local.INFO: GPS data processed {"connection_id":160140,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:44:53] local.INFO: Acknowledgment sent {"connection_id":160140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:44:56] local.INFO: TCP Data received {"connection_id":162725,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:44:56] local.INFO: Processing buffer {"connection_id":162725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:44:56] local.INFO: IMEI packet received {"connection_id":162725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":162725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:44:57] local.INFO: TCP Data received {"connection_id":162725,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:44:57] local.INFO: Processing buffer {"connection_id":162725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:44:57] local.INFO: Packet analysis {"connection_id":162725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:44:57] local.INFO: Extracted packet for processing {"connection_id":162725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:44:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580050944001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:44: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-22 23:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422375000,"timestamp_ms":1787422375000,"timestamp_seconds":1787422375,"priority":1,"record_length":96,"hex_timestamp":"000001a02aacfc58"} 
[2026-08-22 23: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-22 23:44:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:44: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-22 23: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-22 23: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-22 23:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580050944001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580050944001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:44:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:44:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580050944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":162725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:44:57] local.INFO: GPS data processed {"connection_id":162725,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:44:57] local.INFO: Acknowledgment sent {"connection_id":162725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:45:25] local.INFO: TCP Data received {"connection_id":160140,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aad1f80012d754a80060445c8000a01552f..."} 
[2026-08-22 23:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aad1f80012d754a80060445c8000a01552f..."} 
[2026-08-22 23:45:25] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aad1f80012d754a80060445c8000a01552f..."} 
[2026-08-22 23:45:25] local.INFO: Packet analysis {"connection_id":160140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aad"} 
[2026-08-22 23:45:25] local.INFO: Extracted packet for processing {"connection_id":160140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aad"} 
[2026-08-22 23:45:25] local.INFO: GPS Element Parsed {"raw_longitude":762661504,"raw_latitude":100943304,"longitude_deg":76.2661504,"latitude_deg":10.0943304,"altitude":10,"angle":341,"satellites":47,"speed":42,"hex_longitude":"2d754a80","hex_latitude":"060445c8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580128256001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389230599451181056,"note":"Value kept but may cause issues"} 
[2026-08-22 23:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8454734270041303040,"note":"Value kept but may cause issues"} 
[2026-08-22 23:45: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-22 23:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787422384000,"timestamp_ms":1787422384000,"timestamp_seconds":1787422384,"priority":1,"record_length":96,"hex_timestamp":"000001a02aad1f80"} 
[2026-08-22 23: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-22 23:45: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-22 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-22 23:45:25] 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-22 23: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-22 23: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-22 23:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580128256001,"66":27332,"196":206,"79":47616,"24":42,"16":389230599451181056,"45":8454734270041303040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-22 23:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580128256001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:45:25] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-22 23:45:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389230599451181056,"km_value":389230599451181.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8454734270041303040,"description":"Unknown IO ID 45"} 
[2026-08-22 23:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580128256001,"power":27332,"unknown_196":206,"unknown_79":47616,"ignition":42,"odometer":null,"unknown_45":8454734270041303040}} 
[2026-08-22 23:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":160140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:45:25] local.INFO: GPS data processed {"connection_id":160140,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:45:25] local.INFO: Acknowledgment sent {"connection_id":160140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:45:29] local.INFO: TCP Data received {"connection_id":162725,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:45:29] local.INFO: Processing buffer {"connection_id":162725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:45:29] local.INFO: Packet analysis {"connection_id":162725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:45:29] local.INFO: Extracted packet for processing {"connection_id":162725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:45:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580050944001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787422375000,"timestamp_ms":1787422375000,"timestamp_seconds":1787422375,"priority":1,"record_length":96,"hex_timestamp":"000001a02aacfc58"} 
[2026-08-22 23: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-22 23:45:29] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580050944001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580050944001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:45:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:45:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580050944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":162725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:45:29] local.INFO: GPS data processed {"connection_id":162725,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:45:29] local.INFO: Acknowledgment sent {"connection_id":162725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:45:48] local.INFO: TCP Data received {"connection_id":161314,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:45:48] local.INFO: Processing buffer {"connection_id":161314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:45:48] local.INFO: IMEI packet received {"connection_id":161314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":161314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:45:52] local.INFO: TCP Data received {"connection_id":160360,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:45:52] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:45:52] local.INFO: IMEI packet received {"connection_id":160360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":160360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:45:53] local.INFO: TCP Data received {"connection_id":161314,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:45:53] local.INFO: Processing buffer {"connection_id":161314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:45:53] local.INFO: IMEI packet received {"connection_id":161314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":161314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:45:54] local.INFO: TCP Data received {"connection_id":161314,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aad3ad8012d75444006045a480009016030..."} 
[2026-08-22 23:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aad3ad8012d75444006045a480009016030..."} 
[2026-08-22 23:45:54] local.INFO: Processing buffer {"connection_id":161314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aad3ad8012d75444006045a480009016030..."} 
[2026-08-22 23:45:54] local.INFO: Packet analysis {"connection_id":161314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aad"} 
[2026-08-22 23:45:54] local.INFO: Extracted packet for processing {"connection_id":161314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aad"} 
[2026-08-22 23:45:54] local.INFO: GPS Element Parsed {"raw_longitude":762659904,"raw_latitude":100948552,"longitude_deg":76.2659904,"latitude_deg":10.0948552,"altitude":9,"angle":352,"satellites":48,"speed":22,"hex_longitude":"2d754440","hex_latitude":"06045a48","is_valid_coordinates":true} 
[2026-08-22 23:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580130304001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389230865739153408,"note":"Value kept but may cause issues"} 
[2026-08-22 23:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8451708414043998208,"note":"Value kept but may cause issues"} 
[2026-08-22 23:45:54] 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-22 23:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787422391000,"timestamp_ms":1787422391000,"timestamp_seconds":1787422391,"priority":1,"record_length":96,"hex_timestamp":"000001a02aad3ad8"} 
[2026-08-22 23:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:45: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-22 23:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 23:45:54] 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-22 23:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580130304001,"66":27234,"196":206,"79":47616,"24":22,"16":389230865739153408,"45":8451708414043998208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-22 23:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580130304001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:45:54] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-22 23:45:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389230865739153408,"km_value":389230865739153.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8451708414043998208,"description":"Unknown IO ID 45"} 
[2026-08-22 23:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580130304001,"power":27234,"unknown_196":206,"unknown_79":47616,"ignition":22,"odometer":null,"unknown_45":8451708414043998208}} 
[2026-08-22 23:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":161314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:45:54] local.INFO: GPS data processed {"connection_id":161314,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:45:54] local.INFO: Acknowledgment sent {"connection_id":161314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:45:56] local.INFO: TCP Data received {"connection_id":160360,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:45:56] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:45:56] local.INFO: IMEI packet received {"connection_id":160360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":160360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:45:57] local.INFO: TCP Data received {"connection_id":160360,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:45:57] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:45:57] local.INFO: Packet analysis {"connection_id":160360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:45:57] local.INFO: Extracted packet for processing {"connection_id":160360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580050944001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:45: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-22 23:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422375000,"timestamp_ms":1787422375000,"timestamp_seconds":1787422375,"priority":1,"record_length":96,"hex_timestamp":"000001a02aacfc58"} 
[2026-08-22 23: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-22 23:45:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:45: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-22 23: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-22 23: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-22 23:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580050944001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580050944001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:45:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580050944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":160360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:45:57] local.INFO: GPS data processed {"connection_id":160360,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:45:57] local.INFO: Acknowledgment sent {"connection_id":160360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:46:24] local.INFO: TCP Data received {"connection_id":161314,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aaf2ed8012d74ee4006055818000801662f..."} 
[2026-08-22 23:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aaf2ed8012d74ee4006055818000801662f..."} 
[2026-08-22 23:46:24] local.INFO: Processing buffer {"connection_id":161314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aaf2ed8012d74ee4006055818000801662f..."} 
[2026-08-22 23:46:24] local.INFO: Packet analysis {"connection_id":161314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aaf"} 
[2026-08-22 23:46:24] local.INFO: Extracted packet for processing {"connection_id":161314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aaf"} 
[2026-08-22 23:46:24] local.INFO: GPS Element Parsed {"raw_longitude":762637888,"raw_latitude":101013528,"longitude_deg":76.2637888,"latitude_deg":10.1013528,"altitude":8,"angle":358,"satellites":47,"speed":6,"hex_longitude":"2d74ee40","hex_latitude":"06055818","is_valid_coordinates":true} 
[2026-08-22 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-22 23:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580164096001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389234202928742400,"note":"Value kept but may cause issues"} 
[2026-08-22 23:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8425883084948574208,"note":"Value kept but may cause issues"} 
[2026-08-22 23:46:24] 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-22 23:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787422519000,"timestamp_ms":1787422519000,"timestamp_seconds":1787422519,"priority":1,"record_length":96,"hex_timestamp":"000001a02aaf2ed8"} 
[2026-08-22 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-22 23:46: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-22 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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-22 23:46:24] 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-22 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-22 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-22 23:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580164096001,"66":27365,"197":206,"79":47616,"24":6,"16":389234202928742400,"45":8425883084948574208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-22 23:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580164096001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:46:24] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-22 23:46:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389234202928742400,"km_value":389234202928742.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8425883084948574208,"description":"Unknown IO ID 45"} 
[2026-08-22 23:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580164096001,"power":27365,"unknown_197":206,"unknown_79":47616,"ignition":6,"odometer":null,"unknown_45":8425883084948574208}} 
[2026-08-22 23:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":161314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:46:24] local.INFO: GPS data processed {"connection_id":161314,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:46:24] local.INFO: Acknowledgment sent {"connection_id":161314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:46:28] local.INFO: TCP Data received {"connection_id":160360,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:46:28] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:46:28] local.INFO: Packet analysis {"connection_id":160360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:46:28] local.INFO: Extracted packet for processing {"connection_id":160360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580050944001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787422375000,"timestamp_ms":1787422375000,"timestamp_seconds":1787422375,"priority":1,"record_length":96,"hex_timestamp":"000001a02aacfc58"} 
[2026-08-22 23: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-22 23:46:28] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580050944001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580050944001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:46:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580050944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":160360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:46:29] local.INFO: GPS data processed {"connection_id":160360,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:46:29] local.INFO: Acknowledgment sent {"connection_id":160360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:46:47] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:46:47] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:46:47] local.INFO: IMEI packet received {"connection_id":160361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":160361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:46:51] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:46:51] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:46:51] local.INFO: IMEI packet received {"connection_id":160362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":160362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:46:53] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:46:53] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:46:53] local.INFO: IMEI packet received {"connection_id":160361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":160361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:46:53] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aaf4648012d74ed4006055df0000801592f..."} 
[2026-08-22 23:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aaf4648012d74ed4006055df0000801592f..."} 
[2026-08-22 23:46:53] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aaf4648012d74ed4006055df0000801592f..."} 
[2026-08-22 23:46:53] local.INFO: Packet analysis {"connection_id":160361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aaf"} 
[2026-08-22 23:46:53] local.INFO: Extracted packet for processing {"connection_id":160361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aaf"} 
[2026-08-22 23:46:53] local.INFO: GPS Element Parsed {"raw_longitude":762637632,"raw_latitude":101015024,"longitude_deg":76.2637632,"latitude_deg":10.1015024,"altitude":8,"angle":345,"satellites":47,"speed":12,"hex_longitude":"2d74ed40","hex_latitude":"06055df0","is_valid_coordinates":true} 
[2026-08-22 23:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580164864001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389234275943186432,"note":"Value kept but may cause issues"} 
[2026-08-22 23:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8425742347460417536,"note":"Value kept but may cause issues"} 
[2026-08-22 23:46: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-22 23:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787422525000,"timestamp_ms":1787422525000,"timestamp_seconds":1787422525,"priority":1,"record_length":96,"hex_timestamp":"000001a02aaf4648"} 
[2026-08-22 23:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:46: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-22 23:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 23:46: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-22 23:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580164864001,"66":27300,"197":206,"79":47616,"24":12,"16":389234275943186432,"45":8425742347460417536},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-22 23:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580164864001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:46:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-22 23:46:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389234275943186432,"km_value":389234275943186.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8425742347460417536,"description":"Unknown IO ID 45"} 
[2026-08-22 23:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580164864001,"power":27300,"unknown_197":206,"unknown_79":47616,"ignition":12,"odometer":null,"unknown_45":8425742347460417536}} 
[2026-08-22 23:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":160361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:46:53] local.INFO: GPS data processed {"connection_id":160361,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:46:53] local.INFO: Acknowledgment sent {"connection_id":160361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:46:56] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:46:56] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:46:56] local.INFO: IMEI packet received {"connection_id":160362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":160362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:46:57] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:46:57] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:46:57] local.INFO: Packet analysis {"connection_id":160362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:46:57] local.INFO: Extracted packet for processing {"connection_id":160362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:46:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580050944001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:46: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-22 23:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422375000,"timestamp_ms":1787422375000,"timestamp_seconds":1787422375,"priority":1,"record_length":96,"hex_timestamp":"000001a02aacfc58"} 
[2026-08-22 23: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-22 23:46:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:46: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-22 23: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-22 23: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-22 23:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580050944001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580050944001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:46:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:46:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580050944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":160362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:46:57] local.INFO: GPS data processed {"connection_id":160362,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:46:57] local.INFO: Acknowledgment sent {"connection_id":160362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:47:25] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aaf9850012d74e48006057968000c01592e..."} 
[2026-08-22 23:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aaf9850012d74e48006057968000c01592e..."} 
[2026-08-22 23:47:25] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aaf9850012d74e48006057968000c01592e..."} 
[2026-08-22 23:47:25] local.INFO: Packet analysis {"connection_id":160361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aaf"} 
[2026-08-22 23:47:25] local.INFO: Extracted packet for processing {"connection_id":160361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aaf"} 
[2026-08-22 23:47:25] local.INFO: GPS Element Parsed {"raw_longitude":762635392,"raw_latitude":101022056,"longitude_deg":76.2635392,"latitude_deg":10.1022056,"altitude":12,"angle":345,"satellites":46,"speed":17,"hex_longitude":"2d74e480","hex_latitude":"06057968","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580166400001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389234636720439296,"note":"Value kept but may cause issues"} 
[2026-08-22 23:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8425460872484089856,"note":"Value kept but may cause issues"} 
[2026-08-22 23:47:25] 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-22 23:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787422546000,"timestamp_ms":1787422546000,"timestamp_seconds":1787422546,"priority":1,"record_length":96,"hex_timestamp":"000001a02aaf9850"} 
[2026-08-22 23: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-22 23:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 23: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":164,"data_length":795,"current_offset":136} 
[2026-08-22 23:47:25] 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-22 23: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-22 23: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-22 23:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580166400001,"66":27300,"197":206,"79":47616,"24":17,"16":389234636720439296,"45":8425460872484089856},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-22 23:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580166400001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:47:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-22 23:47:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389234636720439296,"km_value":389234636720439.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8425460872484089856,"description":"Unknown IO ID 45"} 
[2026-08-22 23:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580166400001,"power":27300,"unknown_197":206,"unknown_79":47616,"ignition":17,"odometer":null,"unknown_45":8425460872484089856}} 
[2026-08-22 23:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":160361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:47:25] local.INFO: GPS data processed {"connection_id":160361,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:47:25] local.INFO: Acknowledgment sent {"connection_id":160361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:47:29] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:47:29] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:47:29] local.INFO: Packet analysis {"connection_id":160362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:47:29] local.INFO: Extracted packet for processing {"connection_id":160362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:47:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580050944001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787422375000,"timestamp_ms":1787422375000,"timestamp_seconds":1787422375,"priority":1,"record_length":96,"hex_timestamp":"000001a02aacfc58"} 
[2026-08-22 23: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-22 23:47:29] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580050944001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580050944001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:47:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580050944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":160362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:47:29] local.INFO: GPS data processed {"connection_id":160362,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:47:29] local.INFO: Acknowledgment sent {"connection_id":160362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:47:51] local.INFO: TCP Data received {"connection_id":161315,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:47:51] local.INFO: Processing buffer {"connection_id":161315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:47:51] local.INFO: IMEI packet received {"connection_id":161315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":161315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:47:52] local.INFO: TCP Data received {"connection_id":160141,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:47:52] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:47:52] local.INFO: IMEI packet received {"connection_id":160141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":160141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:47:56] local.INFO: TCP Data received {"connection_id":160141,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:47:56] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:47:56] local.INFO: IMEI packet received {"connection_id":160141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":160141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:47:56] local.INFO: TCP Data received {"connection_id":161315,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:47:56] local.INFO: Processing buffer {"connection_id":161315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:47:56] local.INFO: IMEI packet received {"connection_id":161315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":161315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:47:57] local.INFO: TCP Data received {"connection_id":161315,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:47:57] local.INFO: Processing buffer {"connection_id":161315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:47:57] local.INFO: Packet analysis {"connection_id":161315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:47:57] local.INFO: Extracted packet for processing {"connection_id":161315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:47:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580050944001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:47: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-22 23:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422375000,"timestamp_ms":1787422375000,"timestamp_seconds":1787422375,"priority":1,"record_length":96,"hex_timestamp":"000001a02aacfc58"} 
[2026-08-22 23: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-22 23:47:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:47: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-22 23: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-22 23: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-22 23:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580050944001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580050944001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:47:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580050944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":161315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:47:57] local.INFO: GPS data processed {"connection_id":161315,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:47:57] local.INFO: Acknowledgment sent {"connection_id":161315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:47:57] local.INFO: TCP Data received {"connection_id":160141,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:47:57] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:47:57] local.INFO: IMEI packet received {"connection_id":160141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":160141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:47:58] local.INFO: TCP Data received {"connection_id":160141,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aafbb78012d74e0c006058ca8000c01662f..."} 
[2026-08-22 23:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aafbb78012d74e0c006058ca8000c01662f..."} 
[2026-08-22 23:47:58] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aafbb78012d74e0c006058ca8000c01662f..."} 
[2026-08-22 23:47:58] local.INFO: Packet analysis {"connection_id":160141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aaf"} 
[2026-08-22 23:47:58] local.INFO: Extracted packet for processing {"connection_id":160141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aaf"} 
[2026-08-22 23:47:58] local.INFO: GPS Element Parsed {"raw_longitude":762634432,"raw_latitude":101026984,"longitude_deg":76.2634432,"latitude_deg":10.1026984,"altitude":12,"angle":358,"satellites":47,"speed":23,"hex_longitude":"2d74e0c0","hex_latitude":"06058ca8","is_valid_coordinates":true} 
[2026-08-22 23:47: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-22 23:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580171776001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389234881533575168,"note":"Value kept but may cause issues"} 
[2026-08-22 23:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8422997966439671808,"note":"Value kept but may cause issues"} 
[2026-08-22 23:47: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-22 23:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787422555000,"timestamp_ms":1787422555000,"timestamp_seconds":1787422555,"priority":1,"record_length":96,"hex_timestamp":"000001a02aafbb78"} 
[2026-08-22 23:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 23:47: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-22 23:47: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-22 23:47: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-22 23:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580171776001,"66":27343,"197":206,"79":47616,"24":23,"16":389234881533575168,"45":8422997966439671808},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-22 23:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580171776001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:47:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-22 23:47:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389234881533575168,"km_value":389234881533575.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8422997966439671808,"description":"Unknown IO ID 45"} 
[2026-08-22 23:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580171776001,"power":27343,"unknown_197":206,"unknown_79":47616,"ignition":23,"odometer":null,"unknown_45":8422997966439671808}} 
[2026-08-22 23:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":160141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:47:58] local.INFO: GPS data processed {"connection_id":160141,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:47:58] local.INFO: Acknowledgment sent {"connection_id":160141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:48:28] local.INFO: TCP Data received {"connection_id":161315,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:48:28] local.INFO: Processing buffer {"connection_id":161315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aacfc58012d196540071ff1b00040013726..."} 
[2026-08-22 23:48:28] local.INFO: Packet analysis {"connection_id":161315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:48:28] local.INFO: Extracted packet for processing {"connection_id":161315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aac"} 
[2026-08-22 23:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580050944001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787422375000,"timestamp_ms":1787422375000,"timestamp_seconds":1787422375,"priority":1,"record_length":96,"hex_timestamp":"000001a02aacfc58"} 
[2026-08-22 23:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:48:28] 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-22 23:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580050944001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580050944001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:48:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580050944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":161315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:48:28] local.INFO: GPS data processed {"connection_id":161315,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:48:28] local.INFO: Acknowledgment sent {"connection_id":161315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:48:31] local.INFO: TCP Data received {"connection_id":160141,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aafcf00012d74e14006059748000c000a2e..."} 
[2026-08-22 23:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aafcf00012d74e14006059748000c000a2e..."} 
[2026-08-22 23:48:31] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aafcf00012d74e14006059748000c000a2e..."} 
[2026-08-22 23:48:31] local.INFO: Packet analysis {"connection_id":160141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aaf"} 
[2026-08-22 23:48:31] local.INFO: Extracted packet for processing {"connection_id":160141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aaf"} 
[2026-08-22 23:48:31] local.INFO: GPS Element Parsed {"raw_longitude":762634560,"raw_latitude":101029704,"longitude_deg":76.263456,"latitude_deg":10.1029704,"altitude":12,"angle":10,"satellites":46,"speed":21,"hex_longitude":"2d74e140","hex_latitude":"06059748","is_valid_coordinates":true} 
[2026-08-22 23:48: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-22 23:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580174080001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389235014677561344,"note":"Value kept but may cause issues"} 
[2026-08-22 23:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8421942435278268416,"note":"Value kept but may cause issues"} 
[2026-08-22 23:48: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-22 23:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787422560000,"timestamp_ms":1787422560000,"timestamp_seconds":1787422560,"priority":1,"record_length":96,"hex_timestamp":"000001a02aafcf00"} 
[2026-08-22 23:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:48: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-22 23:48: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-22 23:48: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-22 23:48: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-22 23:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580174080001,"66":27397,"197":206,"79":47616,"24":21,"16":389235014677561344,"45":8421942435278268416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-22 23:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580174080001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:48:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-22 23:48:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389235014677561344,"km_value":389235014677561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8421942435278268416,"description":"Unknown IO ID 45"} 
[2026-08-22 23:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580174080001,"power":27397,"unknown_197":206,"unknown_79":47616,"ignition":21,"odometer":null,"unknown_45":8421942435278268416}} 
[2026-08-22 23:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":160141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:48:31] local.INFO: GPS data processed {"connection_id":160141,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:48:31] local.INFO: Acknowledgment sent {"connection_id":160141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:48:51] local.INFO: TCP Data received {"connection_id":162727,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:48:51] local.INFO: Processing buffer {"connection_id":162727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:48:51] local.INFO: IMEI packet received {"connection_id":162727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":162727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:48:52] local.INFO: TCP Data received {"connection_id":162726,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:48:52] local.INFO: Processing buffer {"connection_id":162726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:48:52] local.INFO: IMEI packet received {"connection_id":162726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":162726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:48:52] local.INFO: TCP Data received {"connection_id":162726,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:48:52] local.INFO: Processing buffer {"connection_id":162726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:48:52] local.INFO: IMEI packet received {"connection_id":162726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":162726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:48:56] local.INFO: TCP Data received {"connection_id":162727,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:48:56] local.INFO: Processing buffer {"connection_id":162727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:48:56] local.INFO: IMEI packet received {"connection_id":162727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":162727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:48:57] local.INFO: TCP Data received {"connection_id":162727,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:48:57] local.INFO: Processing buffer {"connection_id":162727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:48:57] local.INFO: Packet analysis {"connection_id":162727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:48:57] local.INFO: Extracted packet for processing {"connection_id":162727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:48:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580128000001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:48: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-22 23:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422676000,"timestamp_ms":1787422676000,"timestamp_seconds":1787422676,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab19420"} 
[2026-08-22 23: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-22 23:48:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:48: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-22 23: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-22 23: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-22 23:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580128000001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580128000001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:48:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:48:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580128000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":162727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:48:57] local.INFO: GPS data processed {"connection_id":162727,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:48:57] local.INFO: Acknowledgment sent {"connection_id":162727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:48:57] local.INFO: TCP Data received {"connection_id":162726,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:48:57] local.INFO: Processing buffer {"connection_id":162726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:48:57] local.INFO: IMEI packet received {"connection_id":162726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":162726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:48:58] local.INFO: TCP Data received {"connection_id":162726,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab178c8012d748e4006067f68000b015931..."} 
[2026-08-22 23:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab178c8012d748e4006067f68000b015931..."} 
[2026-08-22 23:48:58] local.INFO: Processing buffer {"connection_id":162726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab178c8012d748e4006067f68000b015931..."} 
[2026-08-22 23:48:58] local.INFO: Packet analysis {"connection_id":162726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:48:58] local.INFO: Extracted packet for processing {"connection_id":162726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:48:58] local.INFO: GPS Element Parsed {"raw_longitude":762613312,"raw_latitude":101089128,"longitude_deg":76.2613312,"latitude_deg":10.1089128,"altitude":11,"angle":345,"satellites":49,"speed":42,"hex_longitude":"2d748e40","hex_latitude":"06067f68","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580200960001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389238188658393088,"note":"Value kept but may cause issues"} 
[2026-08-22 23:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8401535499480260608,"note":"Value kept but may cause issues"} 
[2026-08-22 23:48:58] 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-22 23:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787422669000,"timestamp_ms":1787422669000,"timestamp_seconds":1787422669,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab178c8"} 
[2026-08-22 23: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-22 23:48: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-22 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 23:48: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-22 23: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-22 23: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-22 23:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580200960001,"66":27245,"199":206,"79":47616,"24":42,"16":389238188658393088,"45":8401535499480260608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-08-22 23:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580200960001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:48:58] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 23:48:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389238188658393088,"km_value":389238188658393.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8401535499480260608,"description":"Unknown IO ID 45"} 
[2026-08-22 23:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580200960001,"power":27245,"trip_odometer":0.206,"unknown_79":47616,"ignition":42,"odometer":null,"unknown_45":8401535499480260608}} 
[2026-08-22 23:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":162726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:48:58] local.INFO: GPS data processed {"connection_id":162726,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:48:58] local.INFO: Acknowledgment sent {"connection_id":162726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:49:06] local.INFO: TCP Data received {"connection_id":162726,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab19bf0012d7484400606a480000d015830..."} 
[2026-08-22 23:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab19bf0012d7484400606a480000d015830..."} 
[2026-08-22 23:49:06] local.INFO: Processing buffer {"connection_id":162726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab19bf0012d7484400606a480000d015830..."} 
[2026-08-22 23:49:06] local.INFO: Packet analysis {"connection_id":162726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:49:06] local.INFO: Extracted packet for processing {"connection_id":162726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:49:06] local.INFO: GPS Element Parsed {"raw_longitude":762610752,"raw_latitude":101098624,"longitude_deg":76.2610752,"latitude_deg":10.1098624,"altitude":13,"angle":344,"satellites":48,"speed":44,"hex_longitude":"2d748440","hex_latitude":"0606a480","is_valid_coordinates":true} 
[2026-08-22 23:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580203264001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389238665399762944,"note":"Value kept but may cause issues"} 
[2026-08-22 23:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8398720749715548160,"note":"Value kept but may cause issues"} 
[2026-08-22 23:49:06] 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-22 23:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787422678000,"timestamp_ms":1787422678000,"timestamp_seconds":1787422678,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab19bf0"} 
[2026-08-22 23:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:49: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-22 23:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 23:49:06] 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-22 23:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580203264001,"66":27365,"199":206,"79":47616,"24":44,"16":389238665399762944,"45":8398720749715548160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-08-22 23:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580203264001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:49:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 23:49:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389238665399762944,"km_value":389238665399762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8398720749715548160,"description":"Unknown IO ID 45"} 
[2026-08-22 23:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580203264001,"power":27365,"trip_odometer":0.206,"unknown_79":47616,"ignition":44,"odometer":null,"unknown_45":8398720749715548160}} 
[2026-08-22 23:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":162726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:49:06] local.INFO: GPS data processed {"connection_id":162726,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:49:06] local.INFO: Acknowledgment sent {"connection_id":162726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:49:28] local.INFO: TCP Data received {"connection_id":162727,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:49:28] local.INFO: Processing buffer {"connection_id":162727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:49:28] local.INFO: Packet analysis {"connection_id":162727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:49:28] local.INFO: Extracted packet for processing {"connection_id":162727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580128000001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787422676000,"timestamp_ms":1787422676000,"timestamp_seconds":1787422676,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab19420"} 
[2026-08-22 23:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:49:28] 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-22 23:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580128000001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580128000001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:49:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:49:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580128000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":162727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:49:28] local.INFO: GPS data processed {"connection_id":162727,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:49:28] local.INFO: Acknowledgment sent {"connection_id":162727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:49:47] local.INFO: TCP Data received {"connection_id":161316,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:49:47] local.INFO: Processing buffer {"connection_id":161316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:49:47] local.INFO: IMEI packet received {"connection_id":161316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":161316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:49:47] local.INFO: TCP Data received {"connection_id":161316,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:49:47] local.INFO: Processing buffer {"connection_id":161316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:49:47] local.INFO: IMEI packet received {"connection_id":161316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":161316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:49:50] local.INFO: TCP Data received {"connection_id":161316,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:49:50] local.INFO: Processing buffer {"connection_id":161316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:49:50] local.INFO: IMEI packet received {"connection_id":161316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":161316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:49:51] local.INFO: TCP Data received {"connection_id":161316,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab1bb30012d747b800606c778000d015a30..."} 
[2026-08-22 23:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab1bb30012d747b800606c778000d015a30..."} 
[2026-08-22 23:49:51] local.INFO: Processing buffer {"connection_id":161316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab1bb30012d747b800606c778000d015a30..."} 
[2026-08-22 23:49:51] local.INFO: Packet analysis {"connection_id":161316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:49:51] local.INFO: Extracted packet for processing {"connection_id":161316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:49:51] local.INFO: GPS Element Parsed {"raw_longitude":762608512,"raw_latitude":101107576,"longitude_deg":76.2608512,"latitude_deg":10.1107576,"altitude":13,"angle":346,"satellites":48,"speed":47,"hex_longitude":"2d747b80","hex_latitude":"0606c778","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580205568001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389239112076361728,"note":"Value kept but may cause issues"} 
[2026-08-22 23:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8395905999950872576,"note":"Value kept but may cause issues"} 
[2026-08-22 23:49:51] 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-22 23:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787422686000,"timestamp_ms":1787422686000,"timestamp_seconds":1787422686,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab1bb30"} 
[2026-08-22 23: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-22 23:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 23:49:51] 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-22 23: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-22 23: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-22 23:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580205568001,"66":27310,"199":206,"79":47616,"24":47,"16":389239112076361728,"45":8395905999950872576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-08-22 23:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580205568001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:49:51] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-22 23:49:51] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389239112076361728,"km_value":389239112076361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8395905999950872576,"description":"Unknown IO ID 45"} 
[2026-08-22 23:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580205568001,"power":27310,"trip_odometer":0.206,"unknown_79":47616,"ignition":47,"odometer":null,"unknown_45":8395905999950872576}} 
[2026-08-22 23:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":161316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:49:51] local.INFO: GPS data processed {"connection_id":161316,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:49:51] local.INFO: Acknowledgment sent {"connection_id":161316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:49:51] local.INFO: TCP Data received {"connection_id":160142,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:49:51] local.INFO: Processing buffer {"connection_id":160142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:49:51] local.INFO: IMEI packet received {"connection_id":160142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":160142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:49:56] local.INFO: TCP Data received {"connection_id":160142,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:49:56] local.INFO: Processing buffer {"connection_id":160142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:49:56] local.INFO: IMEI packet received {"connection_id":160142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":160142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:49:57] local.INFO: TCP Data received {"connection_id":160142,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:49:57] local.INFO: Processing buffer {"connection_id":160142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:49:57] local.INFO: Packet analysis {"connection_id":160142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:49:57] local.INFO: Extracted packet for processing {"connection_id":160142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580128000001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:49: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-22 23:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422676000,"timestamp_ms":1787422676000,"timestamp_seconds":1787422676,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab19420"} 
[2026-08-22 23: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-22 23:49:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:49: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-22 23: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-22 23: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-22 23:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580128000001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580128000001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:49:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580128000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":160142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:49:57] local.INFO: GPS data processed {"connection_id":160142,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:49:57] local.INFO: Acknowledgment sent {"connection_id":160142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:50:22] local.INFO: TCP Data received {"connection_id":161316,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab316d8012d73da000607c5780005013729..."} 
[2026-08-22 23:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab316d8012d73da000607c5780005013729..."} 
[2026-08-22 23:50:22] local.INFO: Processing buffer {"connection_id":161316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab316d8012d73da000607c5780005013729..."} 
[2026-08-22 23:50:22] local.INFO: Packet analysis {"connection_id":161316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab3"} 
[2026-08-22 23:50:22] local.INFO: Extracted packet for processing {"connection_id":161316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab3"} 
[2026-08-22 23:50:22] local.INFO: GPS Element Parsed {"raw_longitude":762567168,"raw_latitude":101172600,"longitude_deg":76.2567168,"latitude_deg":10.11726,"altitude":5,"angle":311,"satellites":41,"speed":29,"hex_longitude":"2d73da00","hex_latitude":"0607c578","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580229120001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389243033381502976,"note":"Value kept but may cause issues"} 
[2026-08-22 23:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8351714428625784832,"note":"Value kept but may cause issues"} 
[2026-08-22 23:50:22] 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-22 23:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787422775000,"timestamp_ms":1787422775000,"timestamp_seconds":1787422775,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab316d8"} 
[2026-08-22 23: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-22 23:50: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-22 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-22 23:50:22] 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-22 23: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-22 23: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-22 23:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580229120001,"66":27071,"129":206,"79":47616,"24":29,"16":389243033381502976,"45":8351714428625784832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,79,24,16,45]} 
[2026-08-22 23:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580229120001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:50:22] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-22 23:50:22] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389243033381502976,"km_value":389243033381503.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8351714428625784832,"description":"Unknown IO ID 45"} 
[2026-08-22 23:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580229120001,"power":27071,"unknown_129":206,"unknown_79":47616,"ignition":29,"odometer":null,"unknown_45":8351714428625784832}} 
[2026-08-22 23:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":161316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:50:22] local.INFO: GPS data processed {"connection_id":161316,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:50:22] local.INFO: Acknowledgment sent {"connection_id":161316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:50:29] local.INFO: TCP Data received {"connection_id":160142,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:50:29] local.INFO: Processing buffer {"connection_id":160142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:50:29] local.INFO: Packet analysis {"connection_id":160142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:50:29] local.INFO: Extracted packet for processing {"connection_id":160142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:50:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:50: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-22 23:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580128000001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787422676000,"timestamp_ms":1787422676000,"timestamp_seconds":1787422676,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab19420"} 
[2026-08-22 23:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:50:29] 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-22 23:50: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23:50: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-22 23:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580128000001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580128000001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:50:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580128000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":160142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:50:29] local.INFO: GPS data processed {"connection_id":160142,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:50:29] local.INFO: Acknowledgment sent {"connection_id":160142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:50:46] local.INFO: TCP Data received {"connection_id":160363,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:50:46] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:50:46] local.INFO: IMEI packet received {"connection_id":160363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":160363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:50:47] local.INFO: TCP Data received {"connection_id":160363,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:50:47] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:50:47] local.INFO: IMEI packet received {"connection_id":160363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":160363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:50:49] local.INFO: TCP Data received {"connection_id":160363,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:50:49] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:50:49] local.INFO: IMEI packet received {"connection_id":160363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":160363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:50:51] local.INFO: TCP Data received {"connection_id":160363,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:50:51] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:50:51] local.INFO: IMEI packet received {"connection_id":160363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":160363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:50:51] local.INFO: TCP Data received {"connection_id":160143,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:50:51] local.INFO: Processing buffer {"connection_id":160143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:50:51] local.INFO: IMEI packet received {"connection_id":160143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":160143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:50:51] local.INFO: TCP Data received {"connection_id":160363,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab31ac0012d73d7c00607c7a00005014329..."} 
[2026-08-22 23:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab31ac0012d73d7c00607c7a00005014329..."} 
[2026-08-22 23:50:51] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab31ac0012d73d7c00607c7a00005014329..."} 
[2026-08-22 23:50:51] local.INFO: Packet analysis {"connection_id":160363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab3"} 
[2026-08-22 23:50:51] local.INFO: Extracted packet for processing {"connection_id":160363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab3"} 
[2026-08-22 23:50:51] local.INFO: GPS Element Parsed {"raw_longitude":762566592,"raw_latitude":101173152,"longitude_deg":76.2566592,"latitude_deg":10.1173152,"altitude":5,"angle":323,"satellites":41,"speed":31,"hex_longitude":"2d73d7c0","hex_latitude":"0607c7a0","is_valid_coordinates":true} 
[2026-08-22 23:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580230400001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389243072036208640,"note":"Value kept but may cause issues"} 
[2026-08-22 23:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8347984885184821248,"note":"Value kept but may cause issues"} 
[2026-08-22 23:50:51] 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-22 23:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787422776000,"timestamp_ms":1787422776000,"timestamp_seconds":1787422776,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab31ac0"} 
[2026-08-22 23:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 23:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-22 23:50:51] 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-22 23:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580230400001,"66":27071,"129":206,"79":47616,"24":31,"16":389243072036208640,"45":8347984885184821248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,79,24,16,45]} 
[2026-08-22 23:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580230400001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:50:51] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-22 23:50:51] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389243072036208640,"km_value":389243072036208.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8347984885184821248,"description":"Unknown IO ID 45"} 
[2026-08-22 23:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580230400001,"power":27071,"unknown_129":206,"unknown_79":47616,"ignition":31,"odometer":null,"unknown_45":8347984885184821248}} 
[2026-08-22 23:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":160363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:50:51] local.INFO: GPS data processed {"connection_id":160363,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:50:51] local.INFO: Acknowledgment sent {"connection_id":160363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:50:56] local.INFO: TCP Data received {"connection_id":160143,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:50:56] local.INFO: Processing buffer {"connection_id":160143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:50:56] local.INFO: IMEI packet received {"connection_id":160143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":160143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:50:57] local.INFO: TCP Data received {"connection_id":160143,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:50:57] local.INFO: Processing buffer {"connection_id":160143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:50:57] local.INFO: Packet analysis {"connection_id":160143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:50:57] local.INFO: Extracted packet for processing {"connection_id":160143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:50:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580128000001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:50: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-22 23:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422676000,"timestamp_ms":1787422676000,"timestamp_seconds":1787422676,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab19420"} 
[2026-08-22 23: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-22 23:50:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:50: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-22 23: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-22 23: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-22 23:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580128000001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580128000001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:50:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:50:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580128000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":160143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:50:57] local.INFO: GPS data processed {"connection_id":160143,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:50:57] local.INFO: Acknowledgment sent {"connection_id":160143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:51:25] local.INFO: TCP Data received {"connection_id":160363,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab32678012d73d3c00607cf880005014f2a..."} 
[2026-08-22 23:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab32678012d73d3c00607cf880005014f2a..."} 
[2026-08-22 23:51:25] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab32678012d73d3c00607cf880005014f2a..."} 
[2026-08-22 23:51:25] local.INFO: Packet analysis {"connection_id":160363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab3"} 
[2026-08-22 23:51:25] local.INFO: Extracted packet for processing {"connection_id":160363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab3"} 
[2026-08-22 23:51:25] local.INFO: GPS Element Parsed {"raw_longitude":762565568,"raw_latitude":101175176,"longitude_deg":76.2565568,"latitude_deg":10.1175176,"altitude":5,"angle":335,"satellites":42,"speed":33,"hex_longitude":"2d73d3c0","hex_latitude":"0607cf88","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580230656001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389243179410391040,"note":"Value kept but may cause issues"} 
[2026-08-22 23:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8347351566487363584,"note":"Value kept but may cause issues"} 
[2026-08-22 23:51:25] 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-22 23:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787422779000,"timestamp_ms":1787422779000,"timestamp_seconds":1787422779,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab32678"} 
[2026-08-22 23: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-22 23: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-22 23: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-22 23:51:25] 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-22 23: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-22 23: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-22 23:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580230656001,"66":27343,"129":206,"79":47616,"24":33,"16":389243179410391040,"45":8347351566487363584},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,79,24,16,45]} 
[2026-08-22 23:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580230656001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:51:25] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-22 23:51:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389243179410391040,"km_value":389243179410391.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8347351566487363584,"description":"Unknown IO ID 45"} 
[2026-08-22 23:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580230656001,"power":27343,"unknown_129":206,"unknown_79":47616,"ignition":33,"odometer":null,"unknown_45":8347351566487363584}} 
[2026-08-22 23:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":160363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:51:25] local.INFO: GPS data processed {"connection_id":160363,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:51:25] local.INFO: Acknowledgment sent {"connection_id":160363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:51:29] local.INFO: TCP Data received {"connection_id":160143,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:51:29] local.INFO: Processing buffer {"connection_id":160143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:51:29] local.INFO: Packet analysis {"connection_id":160143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:51:29] local.INFO: Extracted packet for processing {"connection_id":160143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:51:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580128000001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787422676000,"timestamp_ms":1787422676000,"timestamp_seconds":1787422676,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab19420"} 
[2026-08-22 23: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-22 23:51:29] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580128000001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580128000001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:51:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:51:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580128000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":160143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:51:29] local.INFO: GPS data processed {"connection_id":160143,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:51:29] local.INFO: Acknowledgment sent {"connection_id":160143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:51:48] local.INFO: TCP Data received {"connection_id":162728,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:51:48] local.INFO: Processing buffer {"connection_id":162728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:51:48] local.INFO: IMEI packet received {"connection_id":162728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":162728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:51:52] local.INFO: TCP Data received {"connection_id":162728,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:51:52] local.INFO: Processing buffer {"connection_id":162728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:51:52] local.INFO: IMEI packet received {"connection_id":162728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":162728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:51:53] local.INFO: TCP Data received {"connection_id":162728,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab443a0012d735cc00608bd700006012d30..."} 
[2026-08-22 23:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab443a0012d735cc00608bd700006012d30..."} 
[2026-08-22 23:51:53] local.INFO: Processing buffer {"connection_id":162728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab443a0012d735cc00608bd700006012d30..."} 
[2026-08-22 23:51:53] local.INFO: Packet analysis {"connection_id":162728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab4"} 
[2026-08-22 23:51:53] local.INFO: Extracted packet for processing {"connection_id":162728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab4"} 
[2026-08-22 23:51:53] local.INFO: GPS Element Parsed {"raw_longitude":762535104,"raw_latitude":101236080,"longitude_deg":76.2535104,"latitude_deg":10.123608,"altitude":6,"angle":301,"satellites":48,"speed":35,"hex_longitude":"2d735cc0","hex_latitude":"0608bd70","is_valid_coordinates":true} 
[2026-08-22 23:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580249088001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389246542369783808,"note":"Value kept but may cause issues"} 
[2026-08-22 23:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8315544894134546432,"note":"Value kept but may cause issues"} 
[2026-08-22 23:51:53] 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-22 23:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787422852000,"timestamp_ms":1787422852000,"timestamp_seconds":1787422852,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab443a0"} 
[2026-08-22 23:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:51: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-22 23:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 23:51: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-22 23:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580249088001,"66":27397,"131":206,"79":47616,"24":35,"16":389246542369783808,"45":8315544894134546432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-08-22 23:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580249088001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:51:53] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 23:51:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389246542369783808,"km_value":389246542369783.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8315544894134546432,"description":"Unknown IO ID 45"} 
[2026-08-22 23:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580249088001,"power":27397,"unknown_131":206,"unknown_79":47616,"ignition":35,"odometer":null,"unknown_45":8315544894134546432}} 
[2026-08-22 23:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":162728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:51:53] local.INFO: GPS data processed {"connection_id":162728,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:51:53] local.INFO: Acknowledgment sent {"connection_id":162728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:51:56] local.INFO: TCP Data received {"connection_id":160144,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:51:56] local.INFO: Processing buffer {"connection_id":160144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:51:56] local.INFO: IMEI packet received {"connection_id":160144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":160144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:52:01] local.INFO: TCP Data received {"connection_id":160144,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:52:01] local.INFO: Processing buffer {"connection_id":160144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:52:01] local.INFO: IMEI packet received {"connection_id":160144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":160144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:52:02] local.INFO: TCP Data received {"connection_id":160144,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:52:02] local.INFO: Processing buffer {"connection_id":160144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:52:02] local.INFO: Packet analysis {"connection_id":160144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:52:02] local.INFO: Extracted packet for processing {"connection_id":160144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:52:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580128000001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787422676000,"timestamp_ms":1787422676000,"timestamp_seconds":1787422676,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab19420"} 
[2026-08-22 23: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-22 23:52:02] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580128000001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580128000001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:52:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:52:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580128000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":160144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:52:02] local.INFO: GPS data processed {"connection_id":160144,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:52:02] local.INFO: Acknowledgment sent {"connection_id":160144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:52:07] local.INFO: TCP Data received {"connection_id":160144,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:52:07] local.INFO: Processing buffer {"connection_id":160144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:52:07] local.INFO: Packet analysis {"connection_id":160144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:52:07] local.INFO: Extracted packet for processing {"connection_id":160144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580128000001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787422676000,"timestamp_ms":1787422676000,"timestamp_seconds":1787422676,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab19420"} 
[2026-08-22 23:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:52:07] 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-22 23:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580128000001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580128000001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:52:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580128000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":160144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:52:07] local.INFO: GPS data processed {"connection_id":160144,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:52:07] local.INFO: Acknowledgment sent {"connection_id":160144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:52:23] local.INFO: TCP Data received {"connection_id":162728,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab44788012d7359c00608bee00006012030..."} 
[2026-08-22 23:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab44788012d7359c00608bee00006012030..."} 
[2026-08-22 23:52:23] local.INFO: Processing buffer {"connection_id":162728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab44788012d7359c00608bee00006012030..."} 
[2026-08-22 23:52:23] local.INFO: Packet analysis {"connection_id":162728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab4"} 
[2026-08-22 23:52:23] local.INFO: Extracted packet for processing {"connection_id":162728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab4"} 
[2026-08-22 23:52:23] local.INFO: GPS Element Parsed {"raw_longitude":762534336,"raw_latitude":101236448,"longitude_deg":76.2534336,"latitude_deg":10.1236448,"altitude":6,"angle":288,"satellites":48,"speed":34,"hex_longitude":"2d7359c0","hex_latitude":"0608bee0","is_valid_coordinates":true} 
[2026-08-22 23:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580250112001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389246581024489472,"note":"Value kept but may cause issues"} 
[2026-08-22 23:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8312730144368062464,"note":"Value kept but may cause issues"} 
[2026-08-22 23:52:23] 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-22 23:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787422853000,"timestamp_ms":1787422853000,"timestamp_seconds":1787422853,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab44788"} 
[2026-08-22 23:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:52: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-22 23:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 23:52: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-22 23:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580250112001,"66":27310,"131":206,"79":47616,"24":34,"16":389246581024489472,"45":8312730144368062464},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-08-22 23:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580250112001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:52:23] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 23:52:23] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389246581024489472,"km_value":389246581024489.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8312730144368062464,"description":"Unknown IO ID 45"} 
[2026-08-22 23:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580250112001,"power":27310,"unknown_131":206,"unknown_79":47616,"ignition":34,"odometer":null,"unknown_45":8312730144368062464}} 
[2026-08-22 23:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":162728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:52:23] local.INFO: GPS data processed {"connection_id":162728,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:52:23] local.INFO: Acknowledgment sent {"connection_id":162728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:52:48] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:52:48] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:52:48] local.INFO: IMEI packet received {"connection_id":160364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":160364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:52:51] local.INFO: TCP Data received {"connection_id":162729,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:52:51] local.INFO: Processing buffer {"connection_id":162729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:52:51] local.INFO: IMEI packet received {"connection_id":162729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":162729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:52:53] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:52:53] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:52:53] local.INFO: IMEI packet received {"connection_id":160364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":160364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:52:54] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab44f58012d7353000608c0000006011331..."} 
[2026-08-22 23:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab44f58012d7353000608c0000006011331..."} 
[2026-08-22 23:52:54] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab44f58012d7353000608c0000006011331..."} 
[2026-08-22 23:52:54] local.INFO: Packet analysis {"connection_id":160364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab4"} 
[2026-08-22 23:52:54] local.INFO: Extracted packet for processing {"connection_id":160364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab4"} 
[2026-08-22 23:52:54] local.INFO: GPS Element Parsed {"raw_longitude":762532608,"raw_latitude":101236736,"longitude_deg":76.2532608,"latitude_deg":10.1236736,"altitude":6,"angle":275,"satellites":49,"speed":34,"hex_longitude":"2d735300","hex_latitude":"0608c000","is_valid_coordinates":true} 
[2026-08-22 23:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580250368001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389246666923835392,"note":"Value kept but may cause issues"} 
[2026-08-22 23:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8311885719438024704,"note":"Value kept but may cause issues"} 
[2026-08-22 23:52:54] 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-22 23:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787422855000,"timestamp_ms":1787422855000,"timestamp_seconds":1787422855,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab44f58"} 
[2026-08-22 23:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:52: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-22 23:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-22 23:52: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-22 23:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580250368001,"66":26560,"131":206,"79":47616,"24":34,"16":389246666923835392,"45":8311885719438024704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-08-22 23:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580250368001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:52:54] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-22 23:52:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389246666923835392,"km_value":389246666923835.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8311885719438024704,"description":"Unknown IO ID 45"} 
[2026-08-22 23:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580250368001,"power":26560,"unknown_131":206,"unknown_79":47616,"ignition":34,"odometer":null,"unknown_45":8311885719438024704}} 
[2026-08-22 23:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":160364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:52:54] local.INFO: GPS data processed {"connection_id":160364,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:52:54] local.INFO: Acknowledgment sent {"connection_id":160364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:52:56] local.INFO: TCP Data received {"connection_id":162729,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:52:56] local.INFO: Processing buffer {"connection_id":162729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:52:56] local.INFO: IMEI packet received {"connection_id":162729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":162729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:52:57] local.INFO: TCP Data received {"connection_id":162729,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:52:57] local.INFO: Processing buffer {"connection_id":162729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:52:57] local.INFO: Packet analysis {"connection_id":162729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:52:57] local.INFO: Extracted packet for processing {"connection_id":162729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580128000001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422676000,"timestamp_ms":1787422676000,"timestamp_seconds":1787422676,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab19420"} 
[2026-08-22 23:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:52:57] 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-22 23:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:52: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-22 23:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580128000001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580128000001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:52:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580128000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":162729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:52:57] local.INFO: GPS data processed {"connection_id":162729,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:52:57] local.INFO: Acknowledgment sent {"connection_id":162729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:53:25] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab5d9e0012d721d800608a810000b012630..."} 
[2026-08-22 23:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab5d9e0012d721d800608a810000b012630..."} 
[2026-08-22 23:53:25] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab5d9e0012d721d800608a810000b012630..."} 
[2026-08-22 23:53:25] local.INFO: Packet analysis {"connection_id":160364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab5"} 
[2026-08-22 23:53:25] local.INFO: Extracted packet for processing {"connection_id":160364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab5"} 
[2026-08-22 23:53:25] local.INFO: GPS Element Parsed {"raw_longitude":762453376,"raw_latitude":101230608,"longitude_deg":76.2453376,"latitude_deg":10.1230608,"altitude":11,"angle":294,"satellites":48,"speed":14,"hex_longitude":"2d721d80","hex_latitude":"0608a810","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580276480001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389250613998780416,"note":"Value kept but may cause issues"} 
[2026-08-22 23:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8223291470516828160,"note":"Value kept but may cause issues"} 
[2026-08-22 23:53: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-22 23:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787422956000,"timestamp_ms":1787422956000,"timestamp_seconds":1787422956,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab5d9e0"} 
[2026-08-22 23: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-22 23:53: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-22 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 23:53: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-22 23: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-22 23: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-22 23:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580276480001,"66":27245,"147":206,"79":47616,"24":14,"16":389250613998780416,"45":8223291470516828160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-08-22 23:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580276480001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:53:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-22 23:53:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389250613998780416,"km_value":389250613998780.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8223291470516828160,"description":"Unknown IO ID 45"} 
[2026-08-22 23:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580276480001,"power":27245,"unknown_147":206,"unknown_79":47616,"ignition":14,"odometer":null,"unknown_45":8223291470516828160}} 
[2026-08-22 23:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":160364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:53:25] local.INFO: GPS data processed {"connection_id":160364,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:53:25] local.INFO: Acknowledgment sent {"connection_id":160364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:53:28] local.INFO: TCP Data received {"connection_id":162729,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:53:28] local.INFO: Processing buffer {"connection_id":162729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab19420012d196540071ff1b00040013728..."} 
[2026-08-22 23:53:28] local.INFO: Packet analysis {"connection_id":162729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:53:28] local.INFO: Extracted packet for processing {"connection_id":162729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab1"} 
[2026-08-22 23:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580128000001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787422676000,"timestamp_ms":1787422676000,"timestamp_seconds":1787422676,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab19420"} 
[2026-08-22 23:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:53:28] 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-22 23:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580128000001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580128000001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:53:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580128000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":162729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:53:28] local.INFO: GPS data processed {"connection_id":162729,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:53:28] local.INFO: Acknowledgment sent {"connection_id":162729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:53:47] local.INFO: TCP Data received {"connection_id":160145,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:53:47] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:53:47] local.INFO: IMEI packet received {"connection_id":160145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":160145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:53:51] local.INFO: TCP Data received {"connection_id":162730,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:53:51] local.INFO: Processing buffer {"connection_id":162730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:53:51] local.INFO: IMEI packet received {"connection_id":162730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":162730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:53:53] local.INFO: TCP Data received {"connection_id":160145,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:53:53] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:53:53] local.INFO: IMEI packet received {"connection_id":160145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":160145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:53:54] local.INFO: TCP Data received {"connection_id":160145,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab5ddc8012d721c400608a8d0000a013430..."} 
[2026-08-22 23:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab5ddc8012d721c400608a8d0000a013430..."} 
[2026-08-22 23:53:54] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab5ddc8012d721c400608a8d0000a013430..."} 
[2026-08-22 23:53:54] local.INFO: Packet analysis {"connection_id":160145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab5"} 
[2026-08-22 23:53:54] local.INFO: Extracted packet for processing {"connection_id":160145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab5"} 
[2026-08-22 23:53:54] local.INFO: GPS Element Parsed {"raw_longitude":762453056,"raw_latitude":101230800,"longitude_deg":76.2453056,"latitude_deg":10.12308,"altitude":10,"angle":308,"satellites":48,"speed":15,"hex_longitude":"2d721c40","hex_latitude":"0608a8d0","is_valid_coordinates":true} 
[2026-08-22 23:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580276736001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389250631178649600,"note":"Value kept but may cause issues"} 
[2026-08-22 23:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8222869258051784704,"note":"Value kept but may cause issues"} 
[2026-08-22 23:53:54] 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-22 23:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787422957000,"timestamp_ms":1787422957000,"timestamp_seconds":1787422957,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab5ddc8"} 
[2026-08-22 23:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:53: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-22 23:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-22 23:53:54] 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-22 23:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580276736001,"66":27365,"147":206,"79":47616,"24":15,"16":389250631178649600,"45":8222869258051784704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-08-22 23:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580276736001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:53:54] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-22 23:53:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389250631178649600,"km_value":389250631178649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8222869258051784704,"description":"Unknown IO ID 45"} 
[2026-08-22 23:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580276736001,"power":27365,"unknown_147":206,"unknown_79":47616,"ignition":15,"odometer":null,"unknown_45":8222869258051784704}} 
[2026-08-22 23:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":160145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:53:54] local.INFO: GPS data processed {"connection_id":160145,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:53:54] local.INFO: Acknowledgment sent {"connection_id":160145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:53:56] local.INFO: TCP Data received {"connection_id":162730,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:53:56] local.INFO: Processing buffer {"connection_id":162730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:53:56] local.INFO: IMEI packet received {"connection_id":162730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":162730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:53:57] local.INFO: TCP Data received {"connection_id":162730,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:53:57] local.INFO: Processing buffer {"connection_id":162730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:53:57] local.INFO: Packet analysis {"connection_id":162730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:53:57] local.INFO: Extracted packet for processing {"connection_id":162730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580205056001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422977000,"timestamp_ms":1787422977000,"timestamp_seconds":1787422977,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab62be8"} 
[2026-08-22 23: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-22 23:53:57] 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-22 23:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:53: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-22 23: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-22 23: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-22 23:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580205056001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580205056001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:53:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580205056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":162730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:53:57] local.INFO: GPS data processed {"connection_id":162730,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:53:57] local.INFO: Acknowledgment sent {"connection_id":162730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:54:25] local.INFO: TCP Data received {"connection_id":160145,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab5e598012d721a400608ab50000b014630..."} 
[2026-08-22 23:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab5e598012d721a400608ab50000b014630..."} 
[2026-08-22 23:54:25] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab5e598012d721a400608ab50000b014630..."} 
[2026-08-22 23:54:25] local.INFO: Packet analysis {"connection_id":160145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab5"} 
[2026-08-22 23:54:25] local.INFO: Extracted packet for processing {"connection_id":160145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab5"} 
[2026-08-22 23:54:25] local.INFO: GPS Element Parsed {"raw_longitude":762452544,"raw_latitude":101231440,"longitude_deg":76.2452544,"latitude_deg":10.123144,"altitude":11,"angle":326,"satellites":48,"speed":18,"hex_longitude":"2d721a40","hex_latitude":"0608ab50","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580276992001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389250674128322560,"note":"Value kept but may cause issues"} 
[2026-08-22 23:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8222517414330945536,"note":"Value kept but may cause issues"} 
[2026-08-22 23:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787422959000,"timestamp_ms":1787422959000,"timestamp_seconds":1787422959,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab5e598"} 
[2026-08-22 23: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-22 23:54: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-22 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-22 23:54: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-22 23: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-22 23: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-22 23:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580276992001,"66":27213,"149":206,"79":47616,"24":18,"16":389250674128322560,"45":8222517414330945536},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,79,24,16,45]} 
[2026-08-22 23:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580276992001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:54:25] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-22 23:54:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389250674128322560,"km_value":389250674128322.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8222517414330945536,"description":"Unknown IO ID 45"} 
[2026-08-22 23:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580276992001,"power":27213,"unknown_149":206,"unknown_79":47616,"ignition":18,"odometer":null,"unknown_45":8222517414330945536}} 
[2026-08-22 23:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":160145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:54:25] local.INFO: GPS data processed {"connection_id":160145,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:54:25] local.INFO: Acknowledgment sent {"connection_id":160145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:54:28] local.INFO: TCP Data received {"connection_id":162730,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:54:28] local.INFO: Processing buffer {"connection_id":162730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:54:28] local.INFO: Packet analysis {"connection_id":162730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:54:28] local.INFO: Extracted packet for processing {"connection_id":162730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580205056001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787422977000,"timestamp_ms":1787422977000,"timestamp_seconds":1787422977,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab62be8"} 
[2026-08-22 23:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:54:28] 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-22 23:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580205056001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580205056001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:54:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580205056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":162730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:54:28] local.INFO: GPS data processed {"connection_id":162730,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:54:28] local.INFO: Acknowledgment sent {"connection_id":162730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:54:47] local.INFO: TCP Data received {"connection_id":161317,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:54:47] local.INFO: Processing buffer {"connection_id":161317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:54:47] local.INFO: IMEI packet received {"connection_id":161317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":161317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:54:48] local.INFO: TCP Data received {"connection_id":161317,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:54:48] local.INFO: Processing buffer {"connection_id":161317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:54:48] local.INFO: IMEI packet received {"connection_id":161317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":161317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:54:51] local.INFO: TCP Data received {"connection_id":161317,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:54:51] local.INFO: Processing buffer {"connection_id":161317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:54:51] local.INFO: IMEI packet received {"connection_id":161317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":161317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:54:51] local.INFO: TCP Data received {"connection_id":160146,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:54:51] local.INFO: Processing buffer {"connection_id":160146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:54:51] local.INFO: IMEI packet received {"connection_id":160146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":160146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:54:52] local.INFO: TCP Data received {"connection_id":161317,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:54:52] local.INFO: Processing buffer {"connection_id":161317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:54:52] local.INFO: IMEI packet received {"connection_id":161317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":161317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:54:53] local.INFO: TCP Data received {"connection_id":161317,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab62030012d7209400608cab0000b01492c..."} 
[2026-08-22 23:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab62030012d7209400608cab0000b01492c..."} 
[2026-08-22 23:54:53] local.INFO: Processing buffer {"connection_id":161317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab62030012d7209400608cab0000b01492c..."} 
[2026-08-22 23:54:53] local.INFO: Packet analysis {"connection_id":161317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:54:53] local.INFO: Extracted packet for processing {"connection_id":161317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:54:53] local.INFO: GPS Element Parsed {"raw_longitude":762448192,"raw_latitude":101239472,"longitude_deg":76.2448192,"latitude_deg":10.1239472,"altitude":11,"angle":329,"satellites":44,"speed":29,"hex_longitude":"2d720940","hex_latitude":"0608cab0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580277504001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389251116509954048,"note":"Value kept but may cause issues"} 
[2026-08-22 23:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8221954464377688064,"note":"Value kept but may cause issues"} 
[2026-08-22 23:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787422974000,"timestamp_ms":1787422974000,"timestamp_seconds":1787422974,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab62030"} 
[2026-08-22 23: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-22 23:54: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-22 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-22 23:54:53] 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-22 23: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-22 23: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-22 23:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580277504001,"66":27397,"149":206,"79":47616,"24":29,"16":389251116509954048,"45":8221954464377688064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,79,24,16,45]} 
[2026-08-22 23:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580277504001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:54:53] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-22 23:54:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389251116509954048,"km_value":389251116509954.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8221954464377688064,"description":"Unknown IO ID 45"} 
[2026-08-22 23:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580277504001,"power":27397,"unknown_149":206,"unknown_79":47616,"ignition":29,"odometer":null,"unknown_45":8221954464377688064}} 
[2026-08-22 23:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":161317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:54:53] local.INFO: GPS data processed {"connection_id":161317,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:54:53] local.INFO: Acknowledgment sent {"connection_id":161317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:54:54] local.INFO: TCP Data received {"connection_id":161317,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab652f8012d71f8000608e3c8000c01562e..."} 
[2026-08-22 23:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab652f8012d71f8000608e3c8000c01562e..."} 
[2026-08-22 23:54:54] local.INFO: Processing buffer {"connection_id":161317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab652f8012d71f8000608e3c8000c01562e..."} 
[2026-08-22 23:54:54] local.INFO: Packet analysis {"connection_id":161317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:54:54] local.INFO: Extracted packet for processing {"connection_id":161317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:54:54] local.INFO: GPS Element Parsed {"raw_longitude":762443776,"raw_latitude":101245896,"longitude_deg":76.2443776,"latitude_deg":10.1245896,"altitude":12,"angle":342,"satellites":46,"speed":11,"hex_longitude":"2d71f800","hex_latitude":"0608e3c8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580281344001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389251494467076096,"note":"Value kept but may cause issues"} 
[2026-08-22 23:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8217169389775663104,"note":"Value kept but may cause issues"} 
[2026-08-22 23:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787422987000,"timestamp_ms":1787422987000,"timestamp_seconds":1787422987,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab652f8"} 
[2026-08-22 23: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-22 23:54: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-22 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 23:54:54] 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-22 23: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-22 23: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-22 23:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580281344001,"66":27267,"149":206,"79":47616,"24":11,"16":389251494467076096,"45":8217169389775663104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,79,24,16,45]} 
[2026-08-22 23:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580281344001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:54:54] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-22 23:54:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389251494467076096,"km_value":389251494467076.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8217169389775663104,"description":"Unknown IO ID 45"} 
[2026-08-22 23:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580281344001,"power":27267,"unknown_149":206,"unknown_79":47616,"ignition":11,"odometer":null,"unknown_45":8217169389775663104}} 
[2026-08-22 23:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":161317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:54:54] local.INFO: GPS data processed {"connection_id":161317,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:54:54] local.INFO: Acknowledgment sent {"connection_id":161317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:54:56] local.INFO: TCP Data received {"connection_id":160146,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:54:56] local.INFO: Processing buffer {"connection_id":160146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:54:56] local.INFO: IMEI packet received {"connection_id":160146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":160146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:54:57] local.INFO: TCP Data received {"connection_id":160146,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:54:57] local.INFO: Processing buffer {"connection_id":160146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:54:57] local.INFO: Packet analysis {"connection_id":160146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:54:57] local.INFO: Extracted packet for processing {"connection_id":160146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:54:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580205056001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:54: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-22 23:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422977000,"timestamp_ms":1787422977000,"timestamp_seconds":1787422977,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab62be8"} 
[2026-08-22 23: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-22 23:54:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:54: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-22 23: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-22 23: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-22 23:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580205056001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580205056001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:54:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580205056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":160146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:54:57] local.INFO: GPS data processed {"connection_id":160146,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:54:57] local.INFO: Acknowledgment sent {"connection_id":160146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:55:25] local.INFO: TCP Data received {"connection_id":161317,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab6a500012d71ebc0060904e80006015330..."} 
[2026-08-22 23:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab6a500012d71ebc0060904e80006015330..."} 
[2026-08-22 23:55:25] local.INFO: Processing buffer {"connection_id":161317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab6a500012d71ebc0060904e80006015330..."} 
[2026-08-22 23:55:25] local.INFO: Packet analysis {"connection_id":161317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:55:25] local.INFO: Extracted packet for processing {"connection_id":161317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:55:25] local.INFO: GPS Element Parsed {"raw_longitude":762440640,"raw_latitude":101254376,"longitude_deg":76.244064,"latitude_deg":10.1254376,"altitude":6,"angle":339,"satellites":48,"speed":15,"hex_longitude":"2d71ebc0","hex_latitude":"060904e8","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580284672001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389251932553740288,"note":"Value kept but may cause issues"} 
[2026-08-22 23:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8212313946429048832,"note":"Value kept but may cause issues"} 
[2026-08-22 23:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787423008000,"timestamp_ms":1787423008000,"timestamp_seconds":1787423008,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab6a500"} 
[2026-08-22 23: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-22 23: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-22 23: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":131,"data_length":795,"current_offset":136} 
[2026-08-22 23:55:25] 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-22 23: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-22 23: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-22 23:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580284672001,"66":27300,"149":206,"79":47616,"24":15,"16":389251932553740288,"45":8212313946429048832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,79,24,16,45]} 
[2026-08-22 23:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580284672001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:55:25] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-22 23:55:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389251932553740288,"km_value":389251932553740.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8212313946429048832,"description":"Unknown IO ID 45"} 
[2026-08-22 23:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580284672001,"power":27300,"unknown_149":206,"unknown_79":47616,"ignition":15,"odometer":null,"unknown_45":8212313946429048832}} 
[2026-08-22 23:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":161317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:55:25] local.INFO: GPS data processed {"connection_id":161317,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:55:25] local.INFO: Acknowledgment sent {"connection_id":161317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:55:28] local.INFO: TCP Data received {"connection_id":160146,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:55:29] local.INFO: Processing buffer {"connection_id":160146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:55:29] local.INFO: Packet analysis {"connection_id":160146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:55:29] local.INFO: Extracted packet for processing {"connection_id":160146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:55:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23:55: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-22 23:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580205056001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787422977000,"timestamp_ms":1787422977000,"timestamp_seconds":1787422977,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab62be8"} 
[2026-08-22 23: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-22 23:55:29] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580205056001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580205056001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:55:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:55:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580205056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":160146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:55:29] local.INFO: GPS data processed {"connection_id":160146,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:55:29] local.INFO: Acknowledgment sent {"connection_id":160146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:55:47] local.INFO: TCP Data received {"connection_id":160147,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:55:47] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:55:47] local.INFO: IMEI packet received {"connection_id":160147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":160147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:55:50] local.INFO: TCP Data received {"connection_id":160147,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:55:50] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:55:50] local.INFO: IMEI packet received {"connection_id":160147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":160147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:55:51] local.INFO: TCP Data received {"connection_id":160148,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:55:51] local.INFO: Processing buffer {"connection_id":160148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:55:51] local.INFO: IMEI packet received {"connection_id":160148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":160148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:55:53] local.INFO: TCP Data received {"connection_id":160147,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:55:53] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:55:53] local.INFO: IMEI packet received {"connection_id":160147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":160147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:55:54] local.INFO: TCP Data received {"connection_id":160147,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab7e168012d71afc00609a1c00006016430..."} 
[2026-08-22 23:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab7e168012d71afc00609a1c00006016430..."} 
[2026-08-22 23:55:54] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab7e168012d71afc00609a1c00006016430..."} 
[2026-08-22 23:55:54] local.INFO: Packet analysis {"connection_id":160147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab7"} 
[2026-08-22 23:55:54] local.INFO: Extracted packet for processing {"connection_id":160147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab7"} 
[2026-08-22 23:55:54] local.INFO: GPS Element Parsed {"raw_longitude":762425280,"raw_latitude":101294528,"longitude_deg":76.242528,"latitude_deg":10.1294528,"altitude":6,"angle":356,"satellites":48,"speed":20,"hex_longitude":"2d71afc0","hex_latitude":"0609a1c0","is_valid_coordinates":true} 
[2026-08-22 23:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580309760001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389254032792748032,"note":"Value kept but may cause issues"} 
[2026-08-22 23:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8192540329326979072,"note":"Value kept but may cause issues"} 
[2026-08-22 23:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787423089000,"timestamp_ms":1787423089000,"timestamp_seconds":1787423089,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab7e168"} 
[2026-08-22 23:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:55: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-22 23:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 23:55:54] 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-22 23:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580309760001,"66":27289,"92":206,"79":47616,"24":20,"16":389254032792748032,"45":8192540329326979072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-08-22 23:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580309760001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:55:54] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-22 23:55:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389254032792748032,"km_value":389254032792748.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8192540329326979072,"description":"Unknown IO ID 45"} 
[2026-08-22 23:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580309760001,"power":27289,"unknown_92":206,"unknown_79":47616,"ignition":20,"odometer":null,"unknown_45":8192540329326979072}} 
[2026-08-22 23:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":160147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:55:54] local.INFO: GPS data processed {"connection_id":160147,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:55:54] local.INFO: Acknowledgment sent {"connection_id":160147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:55:56] local.INFO: TCP Data received {"connection_id":160148,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:55:56] local.INFO: Processing buffer {"connection_id":160148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:55:56] local.INFO: IMEI packet received {"connection_id":160148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":160148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:55:57] local.INFO: TCP Data received {"connection_id":160148,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:55:57] local.INFO: Processing buffer {"connection_id":160148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:55:57] local.INFO: Packet analysis {"connection_id":160148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:55:57] local.INFO: Extracted packet for processing {"connection_id":160148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580205056001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:55: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-22 23:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422977000,"timestamp_ms":1787422977000,"timestamp_seconds":1787422977,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab62be8"} 
[2026-08-22 23: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-22 23:55:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:55: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-22 23: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-22 23: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-22 23:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580205056001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580205056001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:55:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580205056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":160148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:55:57] local.INFO: GPS data processed {"connection_id":160148,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:55:57] local.INFO: Acknowledgment sent {"connection_id":160148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:56:25] local.INFO: TCP Data received {"connection_id":160147,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab7f4f0012d71af800609a9e0000601572f..."} 
[2026-08-22 23:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab7f4f0012d71af800609a9e0000601572f..."} 
[2026-08-22 23:56:25] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab7f4f0012d71af800609a9e0000601572f..."} 
[2026-08-22 23:56:25] local.INFO: Packet analysis {"connection_id":160147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab7"} 
[2026-08-22 23:56:25] local.INFO: Extracted packet for processing {"connection_id":160147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab7"} 
[2026-08-22 23:56:25] local.INFO: GPS Element Parsed {"raw_longitude":762425216,"raw_latitude":101296608,"longitude_deg":76.2425216,"latitude_deg":10.1296608,"altitude":6,"angle":343,"satellites":47,"speed":15,"hex_longitude":"2d71af80","hex_latitude":"0609a9e0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580310784001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389254135871963136,"note":"Value kept but may cause issues"} 
[2026-08-22 23:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8191977379374153728,"note":"Value kept but may cause issues"} 
[2026-08-22 23:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787423094000,"timestamp_ms":1787423094000,"timestamp_seconds":1787423094,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab7f4f0"} 
[2026-08-22 23: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-22 23:56: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-22 23: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-22 23:56:25] 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-22 23: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-22 23: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-22 23:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580310784001,"66":27397,"72":206,"79":47616,"24":15,"16":389254135871963136,"45":8191977379374153728},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,79,24,16,45]} 
[2026-08-22 23:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580310784001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:56:25] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-22 23:56:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389254135871963136,"km_value":389254135871963.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8191977379374153728,"description":"Unknown IO ID 45"} 
[2026-08-22 23:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580310784001,"power":27397,"unknown_72":206,"unknown_79":47616,"ignition":15,"odometer":null,"unknown_45":8191977379374153728}} 
[2026-08-22 23:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":160147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:56:25] local.INFO: GPS data processed {"connection_id":160147,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:56:25] local.INFO: Acknowledgment sent {"connection_id":160147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:56:28] local.INFO: TCP Data received {"connection_id":160148,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:56:28] local.INFO: Processing buffer {"connection_id":160148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:56:28] local.INFO: Packet analysis {"connection_id":160148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:56:28] local.INFO: Extracted packet for processing {"connection_id":160148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580205056001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787422977000,"timestamp_ms":1787422977000,"timestamp_seconds":1787422977,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab62be8"} 
[2026-08-22 23: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-22 23:56:28] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580205056001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580205056001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:56:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580205056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":160148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:56:28] local.INFO: GPS data processed {"connection_id":160148,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:56:28] local.INFO: Acknowledgment sent {"connection_id":160148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:56:53] local.INFO: TCP Data received {"connection_id":161318,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:56:53] local.INFO: Processing buffer {"connection_id":161318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:56:53] local.INFO: IMEI packet received {"connection_id":161318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":161318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:56:56] local.INFO: TCP Data received {"connection_id":161318,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:56:56] local.INFO: Processing buffer {"connection_id":161318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:56:56] local.INFO: IMEI packet received {"connection_id":161318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":161318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:56:56] local.INFO: TCP Data received {"connection_id":161319,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:56:56] local.INFO: Processing buffer {"connection_id":161319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:56:56] local.INFO: IMEI packet received {"connection_id":161319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":161319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:56:57] local.INFO: TCP Data received {"connection_id":161318,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab83b40012d71a1000609ca100005014d31..."} 
[2026-08-22 23:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab83b40012d71a1000609ca100005014d31..."} 
[2026-08-22 23:56:57] local.INFO: Processing buffer {"connection_id":161318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab83b40012d71a1000609ca100005014d31..."} 
[2026-08-22 23:56:57] local.INFO: Packet analysis {"connection_id":161318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab8"} 
[2026-08-22 23:56:57] local.INFO: Extracted packet for processing {"connection_id":161318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab8"} 
[2026-08-22 23:56:57] local.INFO: GPS Element Parsed {"raw_longitude":762421504,"raw_latitude":101304848,"longitude_deg":76.2421504,"latitude_deg":10.1304848,"altitude":5,"angle":333,"satellites":49,"speed":23,"hex_longitude":"2d71a100","hex_latitude":"0609ca10","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580312064001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389254573958627328,"note":"Value kept but may cause issues"} 
[2026-08-22 23:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8191907010630508544,"note":"Value kept but may cause issues"} 
[2026-08-22 23:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787423112000,"timestamp_ms":1787423112000,"timestamp_seconds":1787423112,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab83b40"} 
[2026-08-22 23: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-22 23:56: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-22 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-22 23:56: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-22 23: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-22 23: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-22 23:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580312064001,"66":27376,"72":206,"79":47616,"24":23,"16":389254573958627328,"45":8191907010630508544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,79,24,16,45]} 
[2026-08-22 23:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580312064001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:56:57] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-22 23:56:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389254573958627328,"km_value":389254573958627.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8191907010630508544,"description":"Unknown IO ID 45"} 
[2026-08-22 23:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580312064001,"power":27376,"unknown_72":206,"unknown_79":47616,"ignition":23,"odometer":null,"unknown_45":8191907010630508544}} 
[2026-08-22 23:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":161318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:56:57] local.INFO: GPS data processed {"connection_id":161318,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:56:57] local.INFO: Acknowledgment sent {"connection_id":161318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:56:58] local.INFO: TCP Data received {"connection_id":161318,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab88190012d7190800609e958000701462e..."} 
[2026-08-22 23:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab88190012d7190800609e958000701462e..."} 
[2026-08-22 23:56:58] local.INFO: Processing buffer {"connection_id":161318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab88190012d7190800609e958000701462e..."} 
[2026-08-22 23:56:58] local.INFO: Packet analysis {"connection_id":161318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab8"} 
[2026-08-22 23:56:58] local.INFO: Extracted packet for processing {"connection_id":161318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab8"} 
[2026-08-22 23:56:58] local.INFO: GPS Element Parsed {"raw_longitude":762417280,"raw_latitude":101312856,"longitude_deg":76.241728,"latitude_deg":10.1312856,"altitude":7,"angle":326,"satellites":46,"speed":17,"hex_longitude":"2d719080","hex_latitude":"0609e958","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580316672001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389255012045291520,"note":"Value kept but may cause issues"} 
[2026-08-22 23:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8187825623470313472,"note":"Value kept but may cause issues"} 
[2026-08-22 23:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787423130000,"timestamp_ms":1787423130000,"timestamp_seconds":1787423130,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab88190"} 
[2026-08-22 23: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-22 23:56: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-22 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 23:56:58] 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-22 23: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-22 23: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-22 23:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580316672001,"66":27321,"72":206,"79":47616,"24":17,"16":389255012045291520,"45":8187825623470313472},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,79,24,16,45]} 
[2026-08-22 23:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580316672001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:56:58] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-22 23:56:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389255012045291520,"km_value":389255012045291.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8187825623470313472,"description":"Unknown IO ID 45"} 
[2026-08-22 23:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580316672001,"power":27321,"unknown_72":206,"unknown_79":47616,"ignition":17,"odometer":null,"unknown_45":8187825623470313472}} 
[2026-08-22 23:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":161318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:56:58] local.INFO: GPS data processed {"connection_id":161318,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:56:58] local.INFO: Acknowledgment sent {"connection_id":161318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:57:01] local.INFO: TCP Data received {"connection_id":161319,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:57:01] local.INFO: Processing buffer {"connection_id":161319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:57:01] local.INFO: IMEI packet received {"connection_id":161319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":161319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:57:02] local.INFO: TCP Data received {"connection_id":161319,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:57:02] local.INFO: Processing buffer {"connection_id":161319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:57:02] local.INFO: Packet analysis {"connection_id":161319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:57:02] local.INFO: Extracted packet for processing {"connection_id":161319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:57:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580205056001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787422977000,"timestamp_ms":1787422977000,"timestamp_seconds":1787422977,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab62be8"} 
[2026-08-22 23: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-22 23:57:02] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580205056001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580205056001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:57:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:57:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580205056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":161319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:57:02] local.INFO: GPS data processed {"connection_id":161319,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:57:02] local.INFO: Acknowledgment sent {"connection_id":161319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:57:07] local.INFO: TCP Data received {"connection_id":161319,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:57:07] local.INFO: Processing buffer {"connection_id":161319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:57:07] local.INFO: Packet analysis {"connection_id":161319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:57:07] local.INFO: Extracted packet for processing {"connection_id":161319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580205056001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787422977000,"timestamp_ms":1787422977000,"timestamp_seconds":1787422977,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab62be8"} 
[2026-08-22 23: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-22 23:57:07] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580205056001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580205056001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:57:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:57:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580205056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":161319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:57:07] local.INFO: GPS data processed {"connection_id":161319,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:57:07] local.INFO: Acknowledgment sent {"connection_id":161319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:57:29] local.INFO: TCP Data received {"connection_id":161318,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab8c7e0012d717f00060a07a8000701492e..."} 
[2026-08-22 23:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab8c7e0012d717f00060a07a8000701492e..."} 
[2026-08-22 23:57:29] local.INFO: Processing buffer {"connection_id":161318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab8c7e0012d717f00060a07a8000701492e..."} 
[2026-08-22 23:57:29] local.INFO: Packet analysis {"connection_id":161318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab8"} 
[2026-08-22 23:57:29] local.INFO: Extracted packet for processing {"connection_id":161318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab8"} 
[2026-08-22 23:57:29] local.INFO: GPS Element Parsed {"raw_longitude":762412800,"raw_latitude":101320616,"longitude_deg":76.24128,"latitude_deg":10.1320616,"altitude":7,"angle":329,"satellites":46,"speed":20,"hex_longitude":"2d717f00","hex_latitude":"060a07a8","is_valid_coordinates":true} 
[2026-08-22 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-22 23:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580321280001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389255445836988416,"note":"Value kept but may cause issues"} 
[2026-08-22 23:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8183181286356637696,"note":"Value kept but may cause issues"} 
[2026-08-22 23:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787423148000,"timestamp_ms":1787423148000,"timestamp_seconds":1787423148,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab8c7e0"} 
[2026-08-22 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-22 23:57: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-22 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-22 23:57: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-22 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-22 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-22 23:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580321280001,"66":27267,"93":206,"79":47616,"24":20,"16":389255445836988416,"45":8183181286356637696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-08-22 23:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580321280001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:57:29] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-22 23:57:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389255445836988416,"km_value":389255445836988.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8183181286356637696,"description":"Unknown IO ID 45"} 
[2026-08-22 23:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580321280001,"power":27267,"unknown_93":206,"unknown_79":47616,"ignition":20,"odometer":null,"unknown_45":8183181286356637696}} 
[2026-08-22 23:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":161318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:57:29] local.INFO: GPS data processed {"connection_id":161318,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:57:29] local.INFO: Acknowledgment sent {"connection_id":161318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:57:48] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:57:48] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:57:48] local.INFO: IMEI packet received {"connection_id":160365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":160365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:57:51] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:57:51] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:57:51] local.INFO: IMEI packet received {"connection_id":160365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":160365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:57:51] local.INFO: TCP Data received {"connection_id":160366,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:57:51] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:57:51] local.INFO: IMEI packet received {"connection_id":160366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":160366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:57:52] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab90a48012d716b80060a27700007014830..."} 
[2026-08-22 23:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab90a48012d716b80060a27700007014830..."} 
[2026-08-22 23:57:52] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab90a48012d716b80060a27700007014830..."} 
[2026-08-22 23:57:52] local.INFO: Packet analysis {"connection_id":160365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab9"} 
[2026-08-22 23:57:52] local.INFO: Extracted packet for processing {"connection_id":160365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab9"} 
[2026-08-22 23:57:52] local.INFO: GPS Element Parsed {"raw_longitude":762407808,"raw_latitude":101328752,"longitude_deg":76.2407808,"latitude_deg":10.1328752,"altitude":7,"angle":328,"satellites":48,"speed":27,"hex_longitude":"2d716b80","hex_latitude":"060a2770","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580325888001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389255905398489088,"note":"Value kept but may cause issues"} 
[2026-08-22 23:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8178255474266187776,"note":"Value kept but may cause issues"} 
[2026-08-22 23:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787423165000,"timestamp_ms":1787423165000,"timestamp_seconds":1787423165,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab90a48"} 
[2026-08-22 23: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-22 23:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-22 23: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":131,"data_length":795,"current_offset":136} 
[2026-08-22 23:57:52] 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-22 23: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-22 23: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-22 23:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580325888001,"66":27245,"93":206,"79":47616,"24":27,"16":389255905398489088,"45":8178255474266187776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-08-22 23:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580325888001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:57:52] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-22 23:57:52] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389255905398489088,"km_value":389255905398489.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8178255474266187776,"description":"Unknown IO ID 45"} 
[2026-08-22 23:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580325888001,"power":27245,"unknown_93":206,"unknown_79":47616,"ignition":27,"odometer":null,"unknown_45":8178255474266187776}} 
[2026-08-22 23:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":160365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:57:52] local.INFO: GPS data processed {"connection_id":160365,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:57:52] local.INFO: Acknowledgment sent {"connection_id":160365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:57:56] local.INFO: TCP Data received {"connection_id":160366,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:57:56] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:57:56] local.INFO: IMEI packet received {"connection_id":160366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":160366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:57:57] local.INFO: TCP Data received {"connection_id":160366,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:57:57] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:57:57] local.INFO: Packet analysis {"connection_id":160366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:57:57] local.INFO: Extracted packet for processing {"connection_id":160366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:57:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580205056001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:57: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-22 23:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787422977000,"timestamp_ms":1787422977000,"timestamp_seconds":1787422977,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab62be8"} 
[2026-08-22 23: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-22 23:57:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:57: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-22 23: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-22 23: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-22 23:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580205056001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580205056001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:57:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:57:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580205056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":160366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:57:57] local.INFO: GPS data processed {"connection_id":160366,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:57:57] local.INFO: Acknowledgment sent {"connection_id":160366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:58:22] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab93d10012d715a00060a46700007014d2d..."} 
[2026-08-22 23:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab93d10012d715a00060a46700007014d2d..."} 
[2026-08-22 23:58:22] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab93d10012d715a00060a46700007014d2d..."} 
[2026-08-22 23:58:22] local.INFO: Packet analysis {"connection_id":160365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab9"} 
[2026-08-22 23:58:22] local.INFO: Extracted packet for processing {"connection_id":160365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab9"} 
[2026-08-22 23:58:22] local.INFO: GPS Element Parsed {"raw_longitude":762403328,"raw_latitude":101336688,"longitude_deg":76.2403328,"latitude_deg":10.1336688,"altitude":7,"angle":333,"satellites":45,"speed":26,"hex_longitude":"2d715a00","hex_latitude":"060a4670","is_valid_coordinates":true} 
[2026-08-22 23:58: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-22 23:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580330240001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389256347780120576,"note":"Value kept but may cause issues"} 
[2026-08-22 23:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8172766712222412800,"note":"Value kept but may cause issues"} 
[2026-08-22 23:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787423178000,"timestamp_ms":1787423178000,"timestamp_seconds":1787423178,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab93d10"} 
[2026-08-22 23:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:58: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-22 23:58: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":109,"data_length":795,"current_offset":136} 
[2026-08-22 23:58:22] 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-22 23:58: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-22 23:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580330240001,"66":27321,"72":206,"79":47616,"24":26,"16":389256347780120576,"45":8172766712222412800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,79,24,16,45]} 
[2026-08-22 23:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580330240001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:58:22] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-22 23:58:22] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389256347780120576,"km_value":389256347780120.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8172766712222412800,"description":"Unknown IO ID 45"} 
[2026-08-22 23:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580330240001,"power":27321,"unknown_72":206,"unknown_79":47616,"ignition":26,"odometer":null,"unknown_45":8172766712222412800}} 
[2026-08-22 23:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":160365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:58:22] local.INFO: GPS data processed {"connection_id":160365,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:58:22] local.INFO: Acknowledgment sent {"connection_id":160365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:58:28] local.INFO: TCP Data received {"connection_id":160366,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:58:28] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ab62be8012d196540071ff1b00040013724..."} 
[2026-08-22 23:58:28] local.INFO: Packet analysis {"connection_id":160366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:58:28] local.INFO: Extracted packet for processing {"connection_id":160366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ab6"} 
[2026-08-22 23:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580205056001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787422977000,"timestamp_ms":1787422977000,"timestamp_seconds":1787422977,"priority":1,"record_length":96,"hex_timestamp":"000001a02ab62be8"} 
[2026-08-22 23: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-22 23:58:28] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-22 23: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-22 23: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-22 23:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580205056001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580205056001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:58:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580205056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":160366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:58:28] local.INFO: GPS data processed {"connection_id":160366,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:58:28] local.INFO: Acknowledgment sent {"connection_id":160366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:58:48] local.INFO: TCP Data received {"connection_id":162731,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:58:48] local.INFO: Processing buffer {"connection_id":162731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:58:48] local.INFO: IMEI packet received {"connection_id":162731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":162731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:58:51] local.INFO: TCP Data received {"connection_id":162731,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:58:51] local.INFO: Processing buffer {"connection_id":162731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:58:51] local.INFO: IMEI packet received {"connection_id":162731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":162731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:58:52] local.INFO: TCP Data received {"connection_id":162731,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ababfc8012d70d1c0060b74f00008014b2e..."} 
[2026-08-22 23:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ababfc8012d70d1c0060b74f00008014b2e..."} 
[2026-08-22 23:58:52] local.INFO: Processing buffer {"connection_id":162731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ababfc8012d70d1c0060b74f00008014b2e..."} 
[2026-08-22 23:58:52] local.INFO: Packet analysis {"connection_id":162731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-22 23:58:52] local.INFO: Extracted packet for processing {"connection_id":162731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-22 23:58:52] local.INFO: GPS Element Parsed {"raw_longitude":762368448,"raw_latitude":101414128,"longitude_deg":76.2368448,"latitude_deg":10.1414128,"altitude":8,"angle":331,"satellites":46,"speed":24,"hex_longitude":"2d70d1c0","hex_latitude":"060b74f0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580355584001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389260483833626624,"note":"Value kept but may cause issues"} 
[2026-08-22 23:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8133852796711835648,"note":"Value kept but may cause issues"} 
[2026-08-22 23:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787423277000,"timestamp_ms":1787423277000,"timestamp_seconds":1787423277,"priority":1,"record_length":96,"hex_timestamp":"000001a02ababfc8"} 
[2026-08-22 23: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-22 23:58: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-22 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-22 23:58: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-22 23: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-22 23: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-22 23:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580355584001,"66":27332,"71":206,"79":47616,"24":24,"16":389260483833626624,"45":8133852796711835648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,79,24,16,45]} 
[2026-08-22 23:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580355584001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:58:52] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-22 23:58:52] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389260483833626624,"km_value":389260483833626.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8133852796711835648,"description":"Unknown IO ID 45"} 
[2026-08-22 23:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580355584001,"power":27332,"unknown_71":206,"unknown_79":47616,"ignition":24,"odometer":null,"unknown_45":8133852796711835648}} 
[2026-08-22 23:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":162731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:58:52] local.INFO: GPS data processed {"connection_id":162731,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:58:52] local.INFO: Acknowledgment sent {"connection_id":162731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:58:52] local.INFO: TCP Data received {"connection_id":160149,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:58:52] local.INFO: Processing buffer {"connection_id":160149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:58:52] local.INFO: IMEI packet received {"connection_id":160149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":160149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:58:56] local.INFO: TCP Data received {"connection_id":160149,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:58:56] local.INFO: Processing buffer {"connection_id":160149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:58:56] local.INFO: IMEI packet received {"connection_id":160149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":160149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:58:57] local.INFO: TCP Data received {"connection_id":160149,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-22 23:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-22 23:58:57] local.INFO: Processing buffer {"connection_id":160149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-22 23:58:57] local.INFO: Packet analysis {"connection_id":160149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-22 23:58:57] local.INFO: Extracted packet for processing {"connection_id":160149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-22 23:58:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580282112001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:58: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-22 23:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787423278000,"timestamp_ms":1787423278000,"timestamp_seconds":1787423278,"priority":1,"record_length":96,"hex_timestamp":"000001a02abac3b0"} 
[2026-08-22 23: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-22 23:58:57] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:58: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-22 23: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-22 23: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-22 23:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580282112001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580282112001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:58:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:58:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580282112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":160149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:58:57] local.INFO: GPS data processed {"connection_id":160149,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:58:57] local.INFO: Acknowledgment sent {"connection_id":160149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:59:22] local.INFO: TCP Data received {"connection_id":162731,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02abac798012d70cf40060b79080008013b2d..."} 
[2026-08-22 23:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abac798012d70cf40060b79080008013b2d..."} 
[2026-08-22 23:59:22] local.INFO: Processing buffer {"connection_id":162731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abac798012d70cf40060b79080008013b2d..."} 
[2026-08-22 23:59:22] local.INFO: Packet analysis {"connection_id":162731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-22 23:59:22] local.INFO: Extracted packet for processing {"connection_id":162731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-22 23:59:22] local.INFO: GPS Element Parsed {"raw_longitude":762367808,"raw_latitude":101415176,"longitude_deg":76.2367808,"latitude_deg":10.1415176,"altitude":8,"angle":315,"satellites":45,"speed":24,"hex_longitude":"2d70cf40","hex_latitude":"060b7908","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580358912001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389260548258136064,"note":"Value kept but may cause issues"} 
[2026-08-22 23:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8129489934575005696,"note":"Value kept but may cause issues"} 
[2026-08-22 23:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787423279000,"timestamp_ms":1787423279000,"timestamp_seconds":1787423279,"priority":1,"record_length":96,"hex_timestamp":"000001a02abac798"} 
[2026-08-22 23: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-22 23:59:22] 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-22 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-22 23:59:22] 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-22 23: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-22 23: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-22 23:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580358912001,"66":27343,"73":206,"79":47616,"24":24,"16":389260548258136064,"45":8129489934575005696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,79,24,16,45]} 
[2026-08-22 23:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580358912001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:59:22] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-22 23:59:22] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389260548258136064,"km_value":389260548258136.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8129489934575005696,"description":"Unknown IO ID 45"} 
[2026-08-22 23:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580358912001,"power":27343,"unknown_73":206,"unknown_79":47616,"ignition":24,"odometer":null,"unknown_45":8129489934575005696}} 
[2026-08-22 23:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":162731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:59:22] local.INFO: GPS data processed {"connection_id":162731,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:59:22] local.INFO: Acknowledgment sent {"connection_id":162731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:59:29] local.INFO: TCP Data received {"connection_id":160149,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-22 23:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-22 23:59:29] local.INFO: Processing buffer {"connection_id":160149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-22 23:59:29] local.INFO: Packet analysis {"connection_id":160149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-22 23:59:29] local.INFO: Extracted packet for processing {"connection_id":160149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-22 23:59:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580282112001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787423278000,"timestamp_ms":1787423278000,"timestamp_seconds":1787423278,"priority":1,"record_length":96,"hex_timestamp":"000001a02abac3b0"} 
[2026-08-22 23: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-22 23:59:29] 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-22 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-22 23:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580282112001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580282112001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:59:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:59:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580282112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":160149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:59:29] local.INFO: GPS data processed {"connection_id":160149,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:59:29] local.INFO: Acknowledgment sent {"connection_id":160149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:59:48] local.INFO: TCP Data received {"connection_id":161320,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:59:48] local.INFO: Processing buffer {"connection_id":161320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:59:48] local.INFO: IMEI packet received {"connection_id":161320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-22 23:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":161320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:59:51] local.INFO: TCP Data received {"connection_id":161321,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:59:51] local.INFO: Processing buffer {"connection_id":161321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:59:51] local.INFO: IMEI packet received {"connection_id":161321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-22 23:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":161321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-22 23:59:53] local.INFO: TCP Data received {"connection_id":161320,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:59:53] local.INFO: Processing buffer {"connection_id":161320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-22 23:59:53] local.INFO: IMEI packet received {"connection_id":161320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-22 23:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":161320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:59:54] local.INFO: TCP Data received {"connection_id":161320,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02abacb80012d70cd40060b7a88000801302f..."} 
[2026-08-22 23:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abacb80012d70cd40060b7a88000801302f..."} 
[2026-08-22 23:59:54] local.INFO: Processing buffer {"connection_id":161320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abacb80012d70cd40060b7a88000801302f..."} 
[2026-08-22 23:59:54] local.INFO: Packet analysis {"connection_id":161320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-22 23:59:54] local.INFO: Extracted packet for processing {"connection_id":161320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-22 23:59:54] local.INFO: GPS Element Parsed {"raw_longitude":762367296,"raw_latitude":101415560,"longitude_deg":76.2367296,"latitude_deg":10.141556,"altitude":8,"angle":304,"satellites":47,"speed":23,"hex_longitude":"2d70cd40","hex_latitude":"060b7a88","is_valid_coordinates":true} 
[2026-08-22 23:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-22 23:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580359424001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389260574027939840,"note":"Value kept but may cause issues"} 
[2026-08-22 23:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8128786247133497344,"note":"Value kept but may cause issues"} 
[2026-08-22 23:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-22 23:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787423280000,"timestamp_ms":1787423280000,"timestamp_seconds":1787423280,"priority":1,"record_length":96,"hex_timestamp":"000001a02abacb80"} 
[2026-08-22 23:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-22 23:59: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-22 23:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-22 23:59: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-22 23:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-22 23:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-22 23:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-22 23:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-22 23:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-22 23:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580359424001,"66":27343,"73":206,"79":47616,"24":23,"16":389260574027939840,"45":8128786247133497344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,79,24,16,45]} 
[2026-08-22 23:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-22 23:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-22 23:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580359424001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:59:54] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-22 23:59:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-22 23:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389260574027939840,"km_value":389260574027939.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8128786247133497344,"description":"Unknown IO ID 45"} 
[2026-08-22 23:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580359424001,"power":27343,"unknown_73":206,"unknown_79":47616,"ignition":23,"odometer":null,"unknown_45":8128786247133497344}} 
[2026-08-22 23:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":161320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:59:54] local.INFO: GPS data processed {"connection_id":161320,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:59:54] local.INFO: Acknowledgment sent {"connection_id":161320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-22 23:59:56] local.INFO: TCP Data received {"connection_id":161321,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:59:56] local.INFO: Processing buffer {"connection_id":161321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-22 23:59:56] local.INFO: IMEI packet received {"connection_id":161321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-22 23:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":161321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-22 23:59:57] local.INFO: TCP Data received {"connection_id":161321,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-22 23:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-22 23:59:57] local.INFO: Processing buffer {"connection_id":161321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-22 23:59:57] local.INFO: Packet analysis {"connection_id":161321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-22 23:59:57] local.INFO: Extracted packet for processing {"connection_id":161321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-22 23:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-22 23: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-22 23:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580282112001,"note":"Value kept but may cause issues"} 
[2026-08-22 23:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-22 23:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-22 23: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-22 23:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787423278000,"timestamp_ms":1787423278000,"timestamp_seconds":1787423278,"priority":1,"record_length":96,"hex_timestamp":"000001a02abac3b0"} 
[2026-08-22 23: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-22 23:59:57] 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-22 23: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-22 23: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-22 23: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-22 23: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-22 23:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-22 23:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-22 23:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-22 23:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-22 23:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-22 23:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-22 23:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580282112001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-22 23:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-22 23:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-22 23:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580282112001,"description":"Unknown IO ID 0"} 
[2026-08-22 23:59:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-22 23:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-22 23:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-22 23:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-22 23:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580282112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-22 23:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":161321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-22 23:59:57] local.INFO: GPS data processed {"connection_id":161321,"processed":1,"errors":0,"total":1} 
[2026-08-22 23:59:57] local.INFO: Acknowledgment sent {"connection_id":161321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
